@scalekit-sdk/node 2.1.2 → 2.1.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/README.md +47 -11
- package/buf.gen.yaml +3 -0
- package/lib/core.js +1 -1
- package/lib/permission.d.ts +68 -0
- package/lib/permission.js +131 -0
- package/lib/permission.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.d.ts +19 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js +27 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.d.ts +154 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js +226 -0
- package/lib/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +2 -2
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +1 -1
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +16 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +4 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +0 -8
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +0 -6
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.d.ts +250 -0
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js +258 -0
- package/lib/pkg/grpc/scalekit/v1/roles/roles_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.d.ts +1157 -0
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js +1799 -0
- package/lib/pkg/grpc/scalekit/v1/roles/roles_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.d.ts +46 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js +54 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.d.ts +377 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js +513 -0
- package/lib/pkg/grpc/scalekit/v1/sessions/sessions_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +2 -2
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/role.d.ts +104 -0
- package/lib/role.js +205 -0
- package/lib/role.js.map +1 -0
- package/lib/scalekit.d.ts +6 -0
- package/lib/scalekit.js +6 -0
- package/lib/scalekit.js.map +1 -1
- package/lib/session.d.ts +48 -0
- package/lib/session.js +101 -0
- package/lib/session.js.map +1 -0
- package/package.json +1 -1
- package/src/core.ts +1 -1
- package/src/permission.ts +164 -0
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_connect.ts +26 -0
- package/src/pkg/grpc/scalekit/v1/auditlogs/auditlogs_pb.ts +282 -0
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +3 -3
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +24 -0
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +0 -12
- package/src/pkg/grpc/scalekit/v1/roles/roles_connect.ts +257 -0
- package/src/pkg/grpc/scalekit/v1/roles/roles_pb.ts +2357 -0
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_connect.ts +53 -0
- package/src/pkg/grpc/scalekit/v1/sessions/sessions_pb.ts +697 -0
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +3 -3
- package/src/role.ts +261 -0
- package/src/scalekit.ts +18 -0
- package/src/session.ts +134 -0
- package/tests/permission.test.ts +399 -0
- package/tests/role.test.ts +323 -0
- package/tests/utils/test-data.ts +168 -1
|
@@ -0,0 +1,1799 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file scalekit/v1/roles/roles.proto (package scalekit.v1.roles, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.ListEffectiveRolePermissionsResponse = exports.ListEffectiveRolePermissionsRequest = exports.RemovePermissionFromRoleRequest = exports.AddPermissionsToRoleResponse = exports.AddPermissionsToRoleRequest = exports.ListRolePermissionsResponse = exports.ListRolePermissionsRequest = exports.DeletePermissionRequest = exports.ListPermissionsResponse = exports.ListPermissionsRequest = exports.UpdatePermissionResponse = exports.UpdatePermissionRequest = exports.GetPermissionResponse = exports.GetPermissionRequest = exports.CreatePermissionResponse = exports.CreatePermissionRequest = exports.CreatePermission = exports.RolePermission = exports.Permission = exports.UpdateDefaultRole = exports.UpdateDefaultOrganizationRolesResponse = exports.UpdateDefaultRolesResponse = exports.UpdateDefaultOrganizationRolesRequest = exports.UpdateDefaultRolesRequest = exports.GetOrganizationRoleUsersCountResponse = exports.GetOrganizationRoleUsersCountRequest = exports.GetRoleUsersCountResponse = exports.GetRoleUsersCountRequest = exports.DeleteOrganizationRoleRequest = exports.UpdateOrganizationRoleResponse = exports.UpdateOrganizationRoleRequest = exports.ListOrganizationRolesResponse = exports.ListOrganizationRolesRequest = exports.GetOrganizationRoleResponse = exports.GetOrganizationRoleRequest = exports.CreateOrganizationRoleResponse = exports.CreateOrganizationRoleRequest = exports.DeleteRoleRequest = exports.UpdateRoleResponse = exports.UpdateRoleRequest = exports.UpdateRole = exports.ListRolesResponse = exports.ListRolesRequest = exports.GetRoleResponse = exports.GetRoleRequest = exports.CreateRoleResponse = exports.CreateRoleRequest = exports.CreateOrganizationRole = exports.CreateRole = exports.Role = void 0;
|
|
8
|
+
exports.DeleteOrganizationRoleBaseRequest = exports.DeleteRoleBaseRequest = exports.ListDependentRolesResponse = exports.ListDependentRolesRequest = void 0;
|
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message scalekit.v1.roles.Role
|
|
12
|
+
*/
|
|
13
|
+
class Role extends protobuf_1.Message {
|
|
14
|
+
constructor(data) {
|
|
15
|
+
super();
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string id = 1;
|
|
18
|
+
*/
|
|
19
|
+
this.id = "";
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string name = 2;
|
|
22
|
+
*/
|
|
23
|
+
this.name = "";
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string display_name = 3;
|
|
26
|
+
*/
|
|
27
|
+
this.displayName = "";
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string description = 4;
|
|
30
|
+
*/
|
|
31
|
+
this.description = "";
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: bool default_creator = 6;
|
|
34
|
+
*/
|
|
35
|
+
this.defaultCreator = false;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: bool default_member = 7;
|
|
38
|
+
*/
|
|
39
|
+
this.defaultMember = false;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: repeated scalekit.v1.roles.RolePermission permissions = 9;
|
|
42
|
+
*/
|
|
43
|
+
this.permissions = [];
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: int32 dependent_roles_count = 10;
|
|
46
|
+
*/
|
|
47
|
+
this.dependentRolesCount = 0;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: bool is_org_role = 11;
|
|
50
|
+
*/
|
|
51
|
+
this.isOrgRole = false;
|
|
52
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
53
|
+
}
|
|
54
|
+
static fromBinary(bytes, options) {
|
|
55
|
+
return new Role().fromBinary(bytes, options);
|
|
56
|
+
}
|
|
57
|
+
static fromJson(jsonValue, options) {
|
|
58
|
+
return new Role().fromJson(jsonValue, options);
|
|
59
|
+
}
|
|
60
|
+
static fromJsonString(jsonString, options) {
|
|
61
|
+
return new Role().fromJsonString(jsonString, options);
|
|
62
|
+
}
|
|
63
|
+
static equals(a, b) {
|
|
64
|
+
return protobuf_1.proto3.util.equals(Role, a, b);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.Role = Role;
|
|
68
|
+
Role.runtime = protobuf_1.proto3;
|
|
69
|
+
Role.typeName = "scalekit.v1.roles.Role";
|
|
70
|
+
Role.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
71
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
|
+
{ no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
74
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
75
|
+
{ no: 6, name: "default_creator", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
76
|
+
{ no: 7, name: "default_member", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
77
|
+
{ no: 8, name: "extends", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
78
|
+
{ no: 9, name: "permissions", kind: "message", T: RolePermission, repeated: true },
|
|
79
|
+
{ no: 10, name: "dependent_roles_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
80
|
+
{ no: 11, name: "is_org_role", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
81
|
+
]);
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message scalekit.v1.roles.CreateRole
|
|
84
|
+
*/
|
|
85
|
+
class CreateRole extends protobuf_1.Message {
|
|
86
|
+
constructor(data) {
|
|
87
|
+
super();
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: string name = 2;
|
|
90
|
+
*/
|
|
91
|
+
this.name = "";
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: string display_name = 3;
|
|
94
|
+
*/
|
|
95
|
+
this.displayName = "";
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: repeated string permissions = 9;
|
|
98
|
+
*/
|
|
99
|
+
this.permissions = [];
|
|
100
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
101
|
+
}
|
|
102
|
+
static fromBinary(bytes, options) {
|
|
103
|
+
return new CreateRole().fromBinary(bytes, options);
|
|
104
|
+
}
|
|
105
|
+
static fromJson(jsonValue, options) {
|
|
106
|
+
return new CreateRole().fromJson(jsonValue, options);
|
|
107
|
+
}
|
|
108
|
+
static fromJsonString(jsonString, options) {
|
|
109
|
+
return new CreateRole().fromJsonString(jsonString, options);
|
|
110
|
+
}
|
|
111
|
+
static equals(a, b) {
|
|
112
|
+
return protobuf_1.proto3.util.equals(CreateRole, a, b);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.CreateRole = CreateRole;
|
|
116
|
+
CreateRole.runtime = protobuf_1.proto3;
|
|
117
|
+
CreateRole.typeName = "scalekit.v1.roles.CreateRole";
|
|
118
|
+
CreateRole.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
119
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
120
|
+
{ no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
121
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
122
|
+
{ no: 8, name: "extends", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
123
|
+
{ no: 9, name: "permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
124
|
+
]);
|
|
125
|
+
/**
|
|
126
|
+
* @generated from message scalekit.v1.roles.CreateOrganizationRole
|
|
127
|
+
*/
|
|
128
|
+
class CreateOrganizationRole extends protobuf_1.Message {
|
|
129
|
+
constructor(data) {
|
|
130
|
+
super();
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: string name = 2;
|
|
133
|
+
*/
|
|
134
|
+
this.name = "";
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string display_name = 3;
|
|
137
|
+
*/
|
|
138
|
+
this.displayName = "";
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: repeated string permissions = 9;
|
|
141
|
+
*/
|
|
142
|
+
this.permissions = [];
|
|
143
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
144
|
+
}
|
|
145
|
+
static fromBinary(bytes, options) {
|
|
146
|
+
return new CreateOrganizationRole().fromBinary(bytes, options);
|
|
147
|
+
}
|
|
148
|
+
static fromJson(jsonValue, options) {
|
|
149
|
+
return new CreateOrganizationRole().fromJson(jsonValue, options);
|
|
150
|
+
}
|
|
151
|
+
static fromJsonString(jsonString, options) {
|
|
152
|
+
return new CreateOrganizationRole().fromJsonString(jsonString, options);
|
|
153
|
+
}
|
|
154
|
+
static equals(a, b) {
|
|
155
|
+
return protobuf_1.proto3.util.equals(CreateOrganizationRole, a, b);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
exports.CreateOrganizationRole = CreateOrganizationRole;
|
|
159
|
+
CreateOrganizationRole.runtime = protobuf_1.proto3;
|
|
160
|
+
CreateOrganizationRole.typeName = "scalekit.v1.roles.CreateOrganizationRole";
|
|
161
|
+
CreateOrganizationRole.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
162
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
|
+
{ no: 3, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
164
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
165
|
+
{ no: 8, name: "extends", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
166
|
+
{ no: 9, name: "permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
167
|
+
]);
|
|
168
|
+
/**
|
|
169
|
+
* @generated from message scalekit.v1.roles.CreateRoleRequest
|
|
170
|
+
*/
|
|
171
|
+
class CreateRoleRequest extends protobuf_1.Message {
|
|
172
|
+
constructor(data) {
|
|
173
|
+
super();
|
|
174
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
175
|
+
}
|
|
176
|
+
static fromBinary(bytes, options) {
|
|
177
|
+
return new CreateRoleRequest().fromBinary(bytes, options);
|
|
178
|
+
}
|
|
179
|
+
static fromJson(jsonValue, options) {
|
|
180
|
+
return new CreateRoleRequest().fromJson(jsonValue, options);
|
|
181
|
+
}
|
|
182
|
+
static fromJsonString(jsonString, options) {
|
|
183
|
+
return new CreateRoleRequest().fromJsonString(jsonString, options);
|
|
184
|
+
}
|
|
185
|
+
static equals(a, b) {
|
|
186
|
+
return protobuf_1.proto3.util.equals(CreateRoleRequest, a, b);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
exports.CreateRoleRequest = CreateRoleRequest;
|
|
190
|
+
CreateRoleRequest.runtime = protobuf_1.proto3;
|
|
191
|
+
CreateRoleRequest.typeName = "scalekit.v1.roles.CreateRoleRequest";
|
|
192
|
+
CreateRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
193
|
+
{ no: 2, name: "role", kind: "message", T: CreateRole },
|
|
194
|
+
]);
|
|
195
|
+
/**
|
|
196
|
+
* @generated from message scalekit.v1.roles.CreateRoleResponse
|
|
197
|
+
*/
|
|
198
|
+
class CreateRoleResponse extends protobuf_1.Message {
|
|
199
|
+
constructor(data) {
|
|
200
|
+
super();
|
|
201
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
202
|
+
}
|
|
203
|
+
static fromBinary(bytes, options) {
|
|
204
|
+
return new CreateRoleResponse().fromBinary(bytes, options);
|
|
205
|
+
}
|
|
206
|
+
static fromJson(jsonValue, options) {
|
|
207
|
+
return new CreateRoleResponse().fromJson(jsonValue, options);
|
|
208
|
+
}
|
|
209
|
+
static fromJsonString(jsonString, options) {
|
|
210
|
+
return new CreateRoleResponse().fromJsonString(jsonString, options);
|
|
211
|
+
}
|
|
212
|
+
static equals(a, b) {
|
|
213
|
+
return protobuf_1.proto3.util.equals(CreateRoleResponse, a, b);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
exports.CreateRoleResponse = CreateRoleResponse;
|
|
217
|
+
CreateRoleResponse.runtime = protobuf_1.proto3;
|
|
218
|
+
CreateRoleResponse.typeName = "scalekit.v1.roles.CreateRoleResponse";
|
|
219
|
+
CreateRoleResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
220
|
+
{ no: 1, name: "role", kind: "message", T: Role },
|
|
221
|
+
]);
|
|
222
|
+
/**
|
|
223
|
+
* @generated from message scalekit.v1.roles.GetRoleRequest
|
|
224
|
+
*/
|
|
225
|
+
class GetRoleRequest extends protobuf_1.Message {
|
|
226
|
+
constructor(data) {
|
|
227
|
+
super();
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string role_name = 2;
|
|
230
|
+
*/
|
|
231
|
+
this.roleName = "";
|
|
232
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
233
|
+
}
|
|
234
|
+
static fromBinary(bytes, options) {
|
|
235
|
+
return new GetRoleRequest().fromBinary(bytes, options);
|
|
236
|
+
}
|
|
237
|
+
static fromJson(jsonValue, options) {
|
|
238
|
+
return new GetRoleRequest().fromJson(jsonValue, options);
|
|
239
|
+
}
|
|
240
|
+
static fromJsonString(jsonString, options) {
|
|
241
|
+
return new GetRoleRequest().fromJsonString(jsonString, options);
|
|
242
|
+
}
|
|
243
|
+
static equals(a, b) {
|
|
244
|
+
return protobuf_1.proto3.util.equals(GetRoleRequest, a, b);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
exports.GetRoleRequest = GetRoleRequest;
|
|
248
|
+
GetRoleRequest.runtime = protobuf_1.proto3;
|
|
249
|
+
GetRoleRequest.typeName = "scalekit.v1.roles.GetRoleRequest";
|
|
250
|
+
GetRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
251
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
252
|
+
{ no: 3, name: "include", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
253
|
+
]);
|
|
254
|
+
/**
|
|
255
|
+
* @generated from message scalekit.v1.roles.GetRoleResponse
|
|
256
|
+
*/
|
|
257
|
+
class GetRoleResponse extends protobuf_1.Message {
|
|
258
|
+
constructor(data) {
|
|
259
|
+
super();
|
|
260
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
261
|
+
}
|
|
262
|
+
static fromBinary(bytes, options) {
|
|
263
|
+
return new GetRoleResponse().fromBinary(bytes, options);
|
|
264
|
+
}
|
|
265
|
+
static fromJson(jsonValue, options) {
|
|
266
|
+
return new GetRoleResponse().fromJson(jsonValue, options);
|
|
267
|
+
}
|
|
268
|
+
static fromJsonString(jsonString, options) {
|
|
269
|
+
return new GetRoleResponse().fromJsonString(jsonString, options);
|
|
270
|
+
}
|
|
271
|
+
static equals(a, b) {
|
|
272
|
+
return protobuf_1.proto3.util.equals(GetRoleResponse, a, b);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
exports.GetRoleResponse = GetRoleResponse;
|
|
276
|
+
GetRoleResponse.runtime = protobuf_1.proto3;
|
|
277
|
+
GetRoleResponse.typeName = "scalekit.v1.roles.GetRoleResponse";
|
|
278
|
+
GetRoleResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
279
|
+
{ no: 1, name: "role", kind: "message", T: Role },
|
|
280
|
+
]);
|
|
281
|
+
/**
|
|
282
|
+
* @generated from message scalekit.v1.roles.ListRolesRequest
|
|
283
|
+
*/
|
|
284
|
+
class ListRolesRequest extends protobuf_1.Message {
|
|
285
|
+
constructor(data) {
|
|
286
|
+
super();
|
|
287
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
288
|
+
}
|
|
289
|
+
static fromBinary(bytes, options) {
|
|
290
|
+
return new ListRolesRequest().fromBinary(bytes, options);
|
|
291
|
+
}
|
|
292
|
+
static fromJson(jsonValue, options) {
|
|
293
|
+
return new ListRolesRequest().fromJson(jsonValue, options);
|
|
294
|
+
}
|
|
295
|
+
static fromJsonString(jsonString, options) {
|
|
296
|
+
return new ListRolesRequest().fromJsonString(jsonString, options);
|
|
297
|
+
}
|
|
298
|
+
static equals(a, b) {
|
|
299
|
+
return protobuf_1.proto3.util.equals(ListRolesRequest, a, b);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
exports.ListRolesRequest = ListRolesRequest;
|
|
303
|
+
ListRolesRequest.runtime = protobuf_1.proto3;
|
|
304
|
+
ListRolesRequest.typeName = "scalekit.v1.roles.ListRolesRequest";
|
|
305
|
+
ListRolesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
306
|
+
{ no: 2, name: "include", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
307
|
+
]);
|
|
308
|
+
/**
|
|
309
|
+
* @generated from message scalekit.v1.roles.ListRolesResponse
|
|
310
|
+
*/
|
|
311
|
+
class ListRolesResponse extends protobuf_1.Message {
|
|
312
|
+
constructor(data) {
|
|
313
|
+
super();
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: repeated scalekit.v1.roles.Role roles = 1;
|
|
316
|
+
*/
|
|
317
|
+
this.roles = [];
|
|
318
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
319
|
+
}
|
|
320
|
+
static fromBinary(bytes, options) {
|
|
321
|
+
return new ListRolesResponse().fromBinary(bytes, options);
|
|
322
|
+
}
|
|
323
|
+
static fromJson(jsonValue, options) {
|
|
324
|
+
return new ListRolesResponse().fromJson(jsonValue, options);
|
|
325
|
+
}
|
|
326
|
+
static fromJsonString(jsonString, options) {
|
|
327
|
+
return new ListRolesResponse().fromJsonString(jsonString, options);
|
|
328
|
+
}
|
|
329
|
+
static equals(a, b) {
|
|
330
|
+
return protobuf_1.proto3.util.equals(ListRolesResponse, a, b);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
exports.ListRolesResponse = ListRolesResponse;
|
|
334
|
+
ListRolesResponse.runtime = protobuf_1.proto3;
|
|
335
|
+
ListRolesResponse.typeName = "scalekit.v1.roles.ListRolesResponse";
|
|
336
|
+
ListRolesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
337
|
+
{ no: 1, name: "roles", kind: "message", T: Role, repeated: true },
|
|
338
|
+
]);
|
|
339
|
+
/**
|
|
340
|
+
* @generated from message scalekit.v1.roles.UpdateRole
|
|
341
|
+
*/
|
|
342
|
+
class UpdateRole extends protobuf_1.Message {
|
|
343
|
+
constructor(data) {
|
|
344
|
+
super();
|
|
345
|
+
/**
|
|
346
|
+
* @generated from field: repeated string permissions = 7;
|
|
347
|
+
*/
|
|
348
|
+
this.permissions = [];
|
|
349
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
350
|
+
}
|
|
351
|
+
static fromBinary(bytes, options) {
|
|
352
|
+
return new UpdateRole().fromBinary(bytes, options);
|
|
353
|
+
}
|
|
354
|
+
static fromJson(jsonValue, options) {
|
|
355
|
+
return new UpdateRole().fromJson(jsonValue, options);
|
|
356
|
+
}
|
|
357
|
+
static fromJsonString(jsonString, options) {
|
|
358
|
+
return new UpdateRole().fromJsonString(jsonString, options);
|
|
359
|
+
}
|
|
360
|
+
static equals(a, b) {
|
|
361
|
+
return protobuf_1.proto3.util.equals(UpdateRole, a, b);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
exports.UpdateRole = UpdateRole;
|
|
365
|
+
UpdateRole.runtime = protobuf_1.proto3;
|
|
366
|
+
UpdateRole.typeName = "scalekit.v1.roles.UpdateRole";
|
|
367
|
+
UpdateRole.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
368
|
+
{ no: 1, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
369
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
370
|
+
{ no: 6, name: "extends", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
371
|
+
{ no: 7, name: "permissions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
372
|
+
]);
|
|
373
|
+
/**
|
|
374
|
+
* @generated from message scalekit.v1.roles.UpdateRoleRequest
|
|
375
|
+
*/
|
|
376
|
+
class UpdateRoleRequest extends protobuf_1.Message {
|
|
377
|
+
constructor(data) {
|
|
378
|
+
super();
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string role_name = 2;
|
|
381
|
+
*/
|
|
382
|
+
this.roleName = "";
|
|
383
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
384
|
+
}
|
|
385
|
+
static fromBinary(bytes, options) {
|
|
386
|
+
return new UpdateRoleRequest().fromBinary(bytes, options);
|
|
387
|
+
}
|
|
388
|
+
static fromJson(jsonValue, options) {
|
|
389
|
+
return new UpdateRoleRequest().fromJson(jsonValue, options);
|
|
390
|
+
}
|
|
391
|
+
static fromJsonString(jsonString, options) {
|
|
392
|
+
return new UpdateRoleRequest().fromJsonString(jsonString, options);
|
|
393
|
+
}
|
|
394
|
+
static equals(a, b) {
|
|
395
|
+
return protobuf_1.proto3.util.equals(UpdateRoleRequest, a, b);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
exports.UpdateRoleRequest = UpdateRoleRequest;
|
|
399
|
+
UpdateRoleRequest.runtime = protobuf_1.proto3;
|
|
400
|
+
UpdateRoleRequest.typeName = "scalekit.v1.roles.UpdateRoleRequest";
|
|
401
|
+
UpdateRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
402
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
|
+
{ no: 3, name: "role", kind: "message", T: UpdateRole },
|
|
404
|
+
]);
|
|
405
|
+
/**
|
|
406
|
+
* @generated from message scalekit.v1.roles.UpdateRoleResponse
|
|
407
|
+
*/
|
|
408
|
+
class UpdateRoleResponse extends protobuf_1.Message {
|
|
409
|
+
constructor(data) {
|
|
410
|
+
super();
|
|
411
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
412
|
+
}
|
|
413
|
+
static fromBinary(bytes, options) {
|
|
414
|
+
return new UpdateRoleResponse().fromBinary(bytes, options);
|
|
415
|
+
}
|
|
416
|
+
static fromJson(jsonValue, options) {
|
|
417
|
+
return new UpdateRoleResponse().fromJson(jsonValue, options);
|
|
418
|
+
}
|
|
419
|
+
static fromJsonString(jsonString, options) {
|
|
420
|
+
return new UpdateRoleResponse().fromJsonString(jsonString, options);
|
|
421
|
+
}
|
|
422
|
+
static equals(a, b) {
|
|
423
|
+
return protobuf_1.proto3.util.equals(UpdateRoleResponse, a, b);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
exports.UpdateRoleResponse = UpdateRoleResponse;
|
|
427
|
+
UpdateRoleResponse.runtime = protobuf_1.proto3;
|
|
428
|
+
UpdateRoleResponse.typeName = "scalekit.v1.roles.UpdateRoleResponse";
|
|
429
|
+
UpdateRoleResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
430
|
+
{ no: 1, name: "role", kind: "message", T: Role },
|
|
431
|
+
]);
|
|
432
|
+
/**
|
|
433
|
+
* @generated from message scalekit.v1.roles.DeleteRoleRequest
|
|
434
|
+
*/
|
|
435
|
+
class DeleteRoleRequest extends protobuf_1.Message {
|
|
436
|
+
constructor(data) {
|
|
437
|
+
super();
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: string role_name = 2;
|
|
440
|
+
*/
|
|
441
|
+
this.roleName = "";
|
|
442
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
443
|
+
}
|
|
444
|
+
static fromBinary(bytes, options) {
|
|
445
|
+
return new DeleteRoleRequest().fromBinary(bytes, options);
|
|
446
|
+
}
|
|
447
|
+
static fromJson(jsonValue, options) {
|
|
448
|
+
return new DeleteRoleRequest().fromJson(jsonValue, options);
|
|
449
|
+
}
|
|
450
|
+
static fromJsonString(jsonString, options) {
|
|
451
|
+
return new DeleteRoleRequest().fromJsonString(jsonString, options);
|
|
452
|
+
}
|
|
453
|
+
static equals(a, b) {
|
|
454
|
+
return protobuf_1.proto3.util.equals(DeleteRoleRequest, a, b);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
exports.DeleteRoleRequest = DeleteRoleRequest;
|
|
458
|
+
DeleteRoleRequest.runtime = protobuf_1.proto3;
|
|
459
|
+
DeleteRoleRequest.typeName = "scalekit.v1.roles.DeleteRoleRequest";
|
|
460
|
+
DeleteRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
461
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
462
|
+
{ no: 3, name: "reassign_role_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
463
|
+
{ no: 4, name: "reassign_role_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
464
|
+
]);
|
|
465
|
+
/**
|
|
466
|
+
* @generated from message scalekit.v1.roles.CreateOrganizationRoleRequest
|
|
467
|
+
*/
|
|
468
|
+
class CreateOrganizationRoleRequest extends protobuf_1.Message {
|
|
469
|
+
constructor(data) {
|
|
470
|
+
super();
|
|
471
|
+
/**
|
|
472
|
+
* @generated from field: string org_id = 1;
|
|
473
|
+
*/
|
|
474
|
+
this.orgId = "";
|
|
475
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
476
|
+
}
|
|
477
|
+
static fromBinary(bytes, options) {
|
|
478
|
+
return new CreateOrganizationRoleRequest().fromBinary(bytes, options);
|
|
479
|
+
}
|
|
480
|
+
static fromJson(jsonValue, options) {
|
|
481
|
+
return new CreateOrganizationRoleRequest().fromJson(jsonValue, options);
|
|
482
|
+
}
|
|
483
|
+
static fromJsonString(jsonString, options) {
|
|
484
|
+
return new CreateOrganizationRoleRequest().fromJsonString(jsonString, options);
|
|
485
|
+
}
|
|
486
|
+
static equals(a, b) {
|
|
487
|
+
return protobuf_1.proto3.util.equals(CreateOrganizationRoleRequest, a, b);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
exports.CreateOrganizationRoleRequest = CreateOrganizationRoleRequest;
|
|
491
|
+
CreateOrganizationRoleRequest.runtime = protobuf_1.proto3;
|
|
492
|
+
CreateOrganizationRoleRequest.typeName = "scalekit.v1.roles.CreateOrganizationRoleRequest";
|
|
493
|
+
CreateOrganizationRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
494
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
495
|
+
{ no: 2, name: "role", kind: "message", T: CreateOrganizationRole },
|
|
496
|
+
]);
|
|
497
|
+
/**
|
|
498
|
+
* @generated from message scalekit.v1.roles.CreateOrganizationRoleResponse
|
|
499
|
+
*/
|
|
500
|
+
class CreateOrganizationRoleResponse extends protobuf_1.Message {
|
|
501
|
+
constructor(data) {
|
|
502
|
+
super();
|
|
503
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
504
|
+
}
|
|
505
|
+
static fromBinary(bytes, options) {
|
|
506
|
+
return new CreateOrganizationRoleResponse().fromBinary(bytes, options);
|
|
507
|
+
}
|
|
508
|
+
static fromJson(jsonValue, options) {
|
|
509
|
+
return new CreateOrganizationRoleResponse().fromJson(jsonValue, options);
|
|
510
|
+
}
|
|
511
|
+
static fromJsonString(jsonString, options) {
|
|
512
|
+
return new CreateOrganizationRoleResponse().fromJsonString(jsonString, options);
|
|
513
|
+
}
|
|
514
|
+
static equals(a, b) {
|
|
515
|
+
return protobuf_1.proto3.util.equals(CreateOrganizationRoleResponse, a, b);
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
exports.CreateOrganizationRoleResponse = CreateOrganizationRoleResponse;
|
|
519
|
+
CreateOrganizationRoleResponse.runtime = protobuf_1.proto3;
|
|
520
|
+
CreateOrganizationRoleResponse.typeName = "scalekit.v1.roles.CreateOrganizationRoleResponse";
|
|
521
|
+
CreateOrganizationRoleResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
522
|
+
{ no: 1, name: "role", kind: "message", T: Role },
|
|
523
|
+
]);
|
|
524
|
+
/**
|
|
525
|
+
* @generated from message scalekit.v1.roles.GetOrganizationRoleRequest
|
|
526
|
+
*/
|
|
527
|
+
class GetOrganizationRoleRequest extends protobuf_1.Message {
|
|
528
|
+
constructor(data) {
|
|
529
|
+
super();
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: string org_id = 1;
|
|
532
|
+
*/
|
|
533
|
+
this.orgId = "";
|
|
534
|
+
/**
|
|
535
|
+
* @generated from field: string role_name = 2;
|
|
536
|
+
*/
|
|
537
|
+
this.roleName = "";
|
|
538
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
539
|
+
}
|
|
540
|
+
static fromBinary(bytes, options) {
|
|
541
|
+
return new GetOrganizationRoleRequest().fromBinary(bytes, options);
|
|
542
|
+
}
|
|
543
|
+
static fromJson(jsonValue, options) {
|
|
544
|
+
return new GetOrganizationRoleRequest().fromJson(jsonValue, options);
|
|
545
|
+
}
|
|
546
|
+
static fromJsonString(jsonString, options) {
|
|
547
|
+
return new GetOrganizationRoleRequest().fromJsonString(jsonString, options);
|
|
548
|
+
}
|
|
549
|
+
static equals(a, b) {
|
|
550
|
+
return protobuf_1.proto3.util.equals(GetOrganizationRoleRequest, a, b);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
exports.GetOrganizationRoleRequest = GetOrganizationRoleRequest;
|
|
554
|
+
GetOrganizationRoleRequest.runtime = protobuf_1.proto3;
|
|
555
|
+
GetOrganizationRoleRequest.typeName = "scalekit.v1.roles.GetOrganizationRoleRequest";
|
|
556
|
+
GetOrganizationRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
557
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
558
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
559
|
+
{ no: 3, name: "include", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
560
|
+
]);
|
|
561
|
+
/**
|
|
562
|
+
* @generated from message scalekit.v1.roles.GetOrganizationRoleResponse
|
|
563
|
+
*/
|
|
564
|
+
class GetOrganizationRoleResponse extends protobuf_1.Message {
|
|
565
|
+
constructor(data) {
|
|
566
|
+
super();
|
|
567
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
568
|
+
}
|
|
569
|
+
static fromBinary(bytes, options) {
|
|
570
|
+
return new GetOrganizationRoleResponse().fromBinary(bytes, options);
|
|
571
|
+
}
|
|
572
|
+
static fromJson(jsonValue, options) {
|
|
573
|
+
return new GetOrganizationRoleResponse().fromJson(jsonValue, options);
|
|
574
|
+
}
|
|
575
|
+
static fromJsonString(jsonString, options) {
|
|
576
|
+
return new GetOrganizationRoleResponse().fromJsonString(jsonString, options);
|
|
577
|
+
}
|
|
578
|
+
static equals(a, b) {
|
|
579
|
+
return protobuf_1.proto3.util.equals(GetOrganizationRoleResponse, a, b);
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
exports.GetOrganizationRoleResponse = GetOrganizationRoleResponse;
|
|
583
|
+
GetOrganizationRoleResponse.runtime = protobuf_1.proto3;
|
|
584
|
+
GetOrganizationRoleResponse.typeName = "scalekit.v1.roles.GetOrganizationRoleResponse";
|
|
585
|
+
GetOrganizationRoleResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
586
|
+
{ no: 1, name: "role", kind: "message", T: Role },
|
|
587
|
+
]);
|
|
588
|
+
/**
|
|
589
|
+
* @generated from message scalekit.v1.roles.ListOrganizationRolesRequest
|
|
590
|
+
*/
|
|
591
|
+
class ListOrganizationRolesRequest extends protobuf_1.Message {
|
|
592
|
+
constructor(data) {
|
|
593
|
+
super();
|
|
594
|
+
/**
|
|
595
|
+
* @generated from field: string org_id = 1;
|
|
596
|
+
*/
|
|
597
|
+
this.orgId = "";
|
|
598
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
599
|
+
}
|
|
600
|
+
static fromBinary(bytes, options) {
|
|
601
|
+
return new ListOrganizationRolesRequest().fromBinary(bytes, options);
|
|
602
|
+
}
|
|
603
|
+
static fromJson(jsonValue, options) {
|
|
604
|
+
return new ListOrganizationRolesRequest().fromJson(jsonValue, options);
|
|
605
|
+
}
|
|
606
|
+
static fromJsonString(jsonString, options) {
|
|
607
|
+
return new ListOrganizationRolesRequest().fromJsonString(jsonString, options);
|
|
608
|
+
}
|
|
609
|
+
static equals(a, b) {
|
|
610
|
+
return protobuf_1.proto3.util.equals(ListOrganizationRolesRequest, a, b);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
exports.ListOrganizationRolesRequest = ListOrganizationRolesRequest;
|
|
614
|
+
ListOrganizationRolesRequest.runtime = protobuf_1.proto3;
|
|
615
|
+
ListOrganizationRolesRequest.typeName = "scalekit.v1.roles.ListOrganizationRolesRequest";
|
|
616
|
+
ListOrganizationRolesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
617
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
618
|
+
{ no: 2, name: "include", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
619
|
+
]);
|
|
620
|
+
/**
|
|
621
|
+
* @generated from message scalekit.v1.roles.ListOrganizationRolesResponse
|
|
622
|
+
*/
|
|
623
|
+
class ListOrganizationRolesResponse extends protobuf_1.Message {
|
|
624
|
+
constructor(data) {
|
|
625
|
+
super();
|
|
626
|
+
/**
|
|
627
|
+
* @generated from field: repeated scalekit.v1.roles.Role roles = 1;
|
|
628
|
+
*/
|
|
629
|
+
this.roles = [];
|
|
630
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
631
|
+
}
|
|
632
|
+
static fromBinary(bytes, options) {
|
|
633
|
+
return new ListOrganizationRolesResponse().fromBinary(bytes, options);
|
|
634
|
+
}
|
|
635
|
+
static fromJson(jsonValue, options) {
|
|
636
|
+
return new ListOrganizationRolesResponse().fromJson(jsonValue, options);
|
|
637
|
+
}
|
|
638
|
+
static fromJsonString(jsonString, options) {
|
|
639
|
+
return new ListOrganizationRolesResponse().fromJsonString(jsonString, options);
|
|
640
|
+
}
|
|
641
|
+
static equals(a, b) {
|
|
642
|
+
return protobuf_1.proto3.util.equals(ListOrganizationRolesResponse, a, b);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
exports.ListOrganizationRolesResponse = ListOrganizationRolesResponse;
|
|
646
|
+
ListOrganizationRolesResponse.runtime = protobuf_1.proto3;
|
|
647
|
+
ListOrganizationRolesResponse.typeName = "scalekit.v1.roles.ListOrganizationRolesResponse";
|
|
648
|
+
ListOrganizationRolesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
649
|
+
{ no: 1, name: "roles", kind: "message", T: Role, repeated: true },
|
|
650
|
+
]);
|
|
651
|
+
/**
|
|
652
|
+
* @generated from message scalekit.v1.roles.UpdateOrganizationRoleRequest
|
|
653
|
+
*/
|
|
654
|
+
class UpdateOrganizationRoleRequest extends protobuf_1.Message {
|
|
655
|
+
constructor(data) {
|
|
656
|
+
super();
|
|
657
|
+
/**
|
|
658
|
+
* @generated from field: string org_id = 1;
|
|
659
|
+
*/
|
|
660
|
+
this.orgId = "";
|
|
661
|
+
/**
|
|
662
|
+
* @generated from field: string role_name = 2;
|
|
663
|
+
*/
|
|
664
|
+
this.roleName = "";
|
|
665
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
666
|
+
}
|
|
667
|
+
static fromBinary(bytes, options) {
|
|
668
|
+
return new UpdateOrganizationRoleRequest().fromBinary(bytes, options);
|
|
669
|
+
}
|
|
670
|
+
static fromJson(jsonValue, options) {
|
|
671
|
+
return new UpdateOrganizationRoleRequest().fromJson(jsonValue, options);
|
|
672
|
+
}
|
|
673
|
+
static fromJsonString(jsonString, options) {
|
|
674
|
+
return new UpdateOrganizationRoleRequest().fromJsonString(jsonString, options);
|
|
675
|
+
}
|
|
676
|
+
static equals(a, b) {
|
|
677
|
+
return protobuf_1.proto3.util.equals(UpdateOrganizationRoleRequest, a, b);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
exports.UpdateOrganizationRoleRequest = UpdateOrganizationRoleRequest;
|
|
681
|
+
UpdateOrganizationRoleRequest.runtime = protobuf_1.proto3;
|
|
682
|
+
UpdateOrganizationRoleRequest.typeName = "scalekit.v1.roles.UpdateOrganizationRoleRequest";
|
|
683
|
+
UpdateOrganizationRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
684
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
685
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
686
|
+
{ no: 3, name: "role", kind: "message", T: UpdateRole },
|
|
687
|
+
]);
|
|
688
|
+
/**
|
|
689
|
+
* @generated from message scalekit.v1.roles.UpdateOrganizationRoleResponse
|
|
690
|
+
*/
|
|
691
|
+
class UpdateOrganizationRoleResponse extends protobuf_1.Message {
|
|
692
|
+
constructor(data) {
|
|
693
|
+
super();
|
|
694
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
695
|
+
}
|
|
696
|
+
static fromBinary(bytes, options) {
|
|
697
|
+
return new UpdateOrganizationRoleResponse().fromBinary(bytes, options);
|
|
698
|
+
}
|
|
699
|
+
static fromJson(jsonValue, options) {
|
|
700
|
+
return new UpdateOrganizationRoleResponse().fromJson(jsonValue, options);
|
|
701
|
+
}
|
|
702
|
+
static fromJsonString(jsonString, options) {
|
|
703
|
+
return new UpdateOrganizationRoleResponse().fromJsonString(jsonString, options);
|
|
704
|
+
}
|
|
705
|
+
static equals(a, b) {
|
|
706
|
+
return protobuf_1.proto3.util.equals(UpdateOrganizationRoleResponse, a, b);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
exports.UpdateOrganizationRoleResponse = UpdateOrganizationRoleResponse;
|
|
710
|
+
UpdateOrganizationRoleResponse.runtime = protobuf_1.proto3;
|
|
711
|
+
UpdateOrganizationRoleResponse.typeName = "scalekit.v1.roles.UpdateOrganizationRoleResponse";
|
|
712
|
+
UpdateOrganizationRoleResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
713
|
+
{ no: 1, name: "role", kind: "message", T: Role },
|
|
714
|
+
]);
|
|
715
|
+
/**
|
|
716
|
+
* @generated from message scalekit.v1.roles.DeleteOrganizationRoleRequest
|
|
717
|
+
*/
|
|
718
|
+
class DeleteOrganizationRoleRequest extends protobuf_1.Message {
|
|
719
|
+
constructor(data) {
|
|
720
|
+
super();
|
|
721
|
+
/**
|
|
722
|
+
* @generated from field: string org_id = 1;
|
|
723
|
+
*/
|
|
724
|
+
this.orgId = "";
|
|
725
|
+
/**
|
|
726
|
+
* @generated from field: string role_name = 2;
|
|
727
|
+
*/
|
|
728
|
+
this.roleName = "";
|
|
729
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
730
|
+
}
|
|
731
|
+
static fromBinary(bytes, options) {
|
|
732
|
+
return new DeleteOrganizationRoleRequest().fromBinary(bytes, options);
|
|
733
|
+
}
|
|
734
|
+
static fromJson(jsonValue, options) {
|
|
735
|
+
return new DeleteOrganizationRoleRequest().fromJson(jsonValue, options);
|
|
736
|
+
}
|
|
737
|
+
static fromJsonString(jsonString, options) {
|
|
738
|
+
return new DeleteOrganizationRoleRequest().fromJsonString(jsonString, options);
|
|
739
|
+
}
|
|
740
|
+
static equals(a, b) {
|
|
741
|
+
return protobuf_1.proto3.util.equals(DeleteOrganizationRoleRequest, a, b);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
exports.DeleteOrganizationRoleRequest = DeleteOrganizationRoleRequest;
|
|
745
|
+
DeleteOrganizationRoleRequest.runtime = protobuf_1.proto3;
|
|
746
|
+
DeleteOrganizationRoleRequest.typeName = "scalekit.v1.roles.DeleteOrganizationRoleRequest";
|
|
747
|
+
DeleteOrganizationRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
748
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
749
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
750
|
+
{ no: 3, name: "reassign_role_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
751
|
+
]);
|
|
752
|
+
/**
|
|
753
|
+
* @generated from message scalekit.v1.roles.GetRoleUsersCountRequest
|
|
754
|
+
*/
|
|
755
|
+
class GetRoleUsersCountRequest extends protobuf_1.Message {
|
|
756
|
+
constructor(data) {
|
|
757
|
+
super();
|
|
758
|
+
/**
|
|
759
|
+
* @generated from field: string role_name = 2;
|
|
760
|
+
*/
|
|
761
|
+
this.roleName = "";
|
|
762
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
763
|
+
}
|
|
764
|
+
static fromBinary(bytes, options) {
|
|
765
|
+
return new GetRoleUsersCountRequest().fromBinary(bytes, options);
|
|
766
|
+
}
|
|
767
|
+
static fromJson(jsonValue, options) {
|
|
768
|
+
return new GetRoleUsersCountRequest().fromJson(jsonValue, options);
|
|
769
|
+
}
|
|
770
|
+
static fromJsonString(jsonString, options) {
|
|
771
|
+
return new GetRoleUsersCountRequest().fromJsonString(jsonString, options);
|
|
772
|
+
}
|
|
773
|
+
static equals(a, b) {
|
|
774
|
+
return protobuf_1.proto3.util.equals(GetRoleUsersCountRequest, a, b);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
exports.GetRoleUsersCountRequest = GetRoleUsersCountRequest;
|
|
778
|
+
GetRoleUsersCountRequest.runtime = protobuf_1.proto3;
|
|
779
|
+
GetRoleUsersCountRequest.typeName = "scalekit.v1.roles.GetRoleUsersCountRequest";
|
|
780
|
+
GetRoleUsersCountRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
781
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
782
|
+
]);
|
|
783
|
+
/**
|
|
784
|
+
* @generated from message scalekit.v1.roles.GetRoleUsersCountResponse
|
|
785
|
+
*/
|
|
786
|
+
class GetRoleUsersCountResponse extends protobuf_1.Message {
|
|
787
|
+
constructor(data) {
|
|
788
|
+
super();
|
|
789
|
+
/**
|
|
790
|
+
* @generated from field: int64 count = 1;
|
|
791
|
+
*/
|
|
792
|
+
this.count = protobuf_1.protoInt64.zero;
|
|
793
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
794
|
+
}
|
|
795
|
+
static fromBinary(bytes, options) {
|
|
796
|
+
return new GetRoleUsersCountResponse().fromBinary(bytes, options);
|
|
797
|
+
}
|
|
798
|
+
static fromJson(jsonValue, options) {
|
|
799
|
+
return new GetRoleUsersCountResponse().fromJson(jsonValue, options);
|
|
800
|
+
}
|
|
801
|
+
static fromJsonString(jsonString, options) {
|
|
802
|
+
return new GetRoleUsersCountResponse().fromJsonString(jsonString, options);
|
|
803
|
+
}
|
|
804
|
+
static equals(a, b) {
|
|
805
|
+
return protobuf_1.proto3.util.equals(GetRoleUsersCountResponse, a, b);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
exports.GetRoleUsersCountResponse = GetRoleUsersCountResponse;
|
|
809
|
+
GetRoleUsersCountResponse.runtime = protobuf_1.proto3;
|
|
810
|
+
GetRoleUsersCountResponse.typeName = "scalekit.v1.roles.GetRoleUsersCountResponse";
|
|
811
|
+
GetRoleUsersCountResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
812
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
813
|
+
]);
|
|
814
|
+
/**
|
|
815
|
+
* @generated from message scalekit.v1.roles.GetOrganizationRoleUsersCountRequest
|
|
816
|
+
*/
|
|
817
|
+
class GetOrganizationRoleUsersCountRequest extends protobuf_1.Message {
|
|
818
|
+
constructor(data) {
|
|
819
|
+
super();
|
|
820
|
+
/**
|
|
821
|
+
* @generated from field: string org_id = 1;
|
|
822
|
+
*/
|
|
823
|
+
this.orgId = "";
|
|
824
|
+
/**
|
|
825
|
+
* @generated from field: string role_name = 2;
|
|
826
|
+
*/
|
|
827
|
+
this.roleName = "";
|
|
828
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
829
|
+
}
|
|
830
|
+
static fromBinary(bytes, options) {
|
|
831
|
+
return new GetOrganizationRoleUsersCountRequest().fromBinary(bytes, options);
|
|
832
|
+
}
|
|
833
|
+
static fromJson(jsonValue, options) {
|
|
834
|
+
return new GetOrganizationRoleUsersCountRequest().fromJson(jsonValue, options);
|
|
835
|
+
}
|
|
836
|
+
static fromJsonString(jsonString, options) {
|
|
837
|
+
return new GetOrganizationRoleUsersCountRequest().fromJsonString(jsonString, options);
|
|
838
|
+
}
|
|
839
|
+
static equals(a, b) {
|
|
840
|
+
return protobuf_1.proto3.util.equals(GetOrganizationRoleUsersCountRequest, a, b);
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
exports.GetOrganizationRoleUsersCountRequest = GetOrganizationRoleUsersCountRequest;
|
|
844
|
+
GetOrganizationRoleUsersCountRequest.runtime = protobuf_1.proto3;
|
|
845
|
+
GetOrganizationRoleUsersCountRequest.typeName = "scalekit.v1.roles.GetOrganizationRoleUsersCountRequest";
|
|
846
|
+
GetOrganizationRoleUsersCountRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
847
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
848
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
849
|
+
]);
|
|
850
|
+
/**
|
|
851
|
+
* @generated from message scalekit.v1.roles.GetOrganizationRoleUsersCountResponse
|
|
852
|
+
*/
|
|
853
|
+
class GetOrganizationRoleUsersCountResponse extends protobuf_1.Message {
|
|
854
|
+
constructor(data) {
|
|
855
|
+
super();
|
|
856
|
+
/**
|
|
857
|
+
* @generated from field: int64 count = 1;
|
|
858
|
+
*/
|
|
859
|
+
this.count = protobuf_1.protoInt64.zero;
|
|
860
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
861
|
+
}
|
|
862
|
+
static fromBinary(bytes, options) {
|
|
863
|
+
return new GetOrganizationRoleUsersCountResponse().fromBinary(bytes, options);
|
|
864
|
+
}
|
|
865
|
+
static fromJson(jsonValue, options) {
|
|
866
|
+
return new GetOrganizationRoleUsersCountResponse().fromJson(jsonValue, options);
|
|
867
|
+
}
|
|
868
|
+
static fromJsonString(jsonString, options) {
|
|
869
|
+
return new GetOrganizationRoleUsersCountResponse().fromJsonString(jsonString, options);
|
|
870
|
+
}
|
|
871
|
+
static equals(a, b) {
|
|
872
|
+
return protobuf_1.proto3.util.equals(GetOrganizationRoleUsersCountResponse, a, b);
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
exports.GetOrganizationRoleUsersCountResponse = GetOrganizationRoleUsersCountResponse;
|
|
876
|
+
GetOrganizationRoleUsersCountResponse.runtime = protobuf_1.proto3;
|
|
877
|
+
GetOrganizationRoleUsersCountResponse.typeName = "scalekit.v1.roles.GetOrganizationRoleUsersCountResponse";
|
|
878
|
+
GetOrganizationRoleUsersCountResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
879
|
+
{ no: 1, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
880
|
+
]);
|
|
881
|
+
/**
|
|
882
|
+
* @generated from message scalekit.v1.roles.UpdateDefaultRolesRequest
|
|
883
|
+
*/
|
|
884
|
+
class UpdateDefaultRolesRequest extends protobuf_1.Message {
|
|
885
|
+
constructor(data) {
|
|
886
|
+
super();
|
|
887
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
888
|
+
}
|
|
889
|
+
static fromBinary(bytes, options) {
|
|
890
|
+
return new UpdateDefaultRolesRequest().fromBinary(bytes, options);
|
|
891
|
+
}
|
|
892
|
+
static fromJson(jsonValue, options) {
|
|
893
|
+
return new UpdateDefaultRolesRequest().fromJson(jsonValue, options);
|
|
894
|
+
}
|
|
895
|
+
static fromJsonString(jsonString, options) {
|
|
896
|
+
return new UpdateDefaultRolesRequest().fromJsonString(jsonString, options);
|
|
897
|
+
}
|
|
898
|
+
static equals(a, b) {
|
|
899
|
+
return protobuf_1.proto3.util.equals(UpdateDefaultRolesRequest, a, b);
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
exports.UpdateDefaultRolesRequest = UpdateDefaultRolesRequest;
|
|
903
|
+
UpdateDefaultRolesRequest.runtime = protobuf_1.proto3;
|
|
904
|
+
UpdateDefaultRolesRequest.typeName = "scalekit.v1.roles.UpdateDefaultRolesRequest";
|
|
905
|
+
UpdateDefaultRolesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
906
|
+
{ no: 2, name: "default_creator", kind: "message", T: UpdateDefaultRole },
|
|
907
|
+
{ no: 3, name: "default_member", kind: "message", T: UpdateDefaultRole },
|
|
908
|
+
{ no: 4, name: "default_creator_role", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
909
|
+
{ no: 5, name: "default_member_role", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
910
|
+
]);
|
|
911
|
+
/**
|
|
912
|
+
* @generated from message scalekit.v1.roles.UpdateDefaultOrganizationRolesRequest
|
|
913
|
+
*/
|
|
914
|
+
class UpdateDefaultOrganizationRolesRequest extends protobuf_1.Message {
|
|
915
|
+
constructor(data) {
|
|
916
|
+
super();
|
|
917
|
+
/**
|
|
918
|
+
* @generated from field: string org_id = 1;
|
|
919
|
+
*/
|
|
920
|
+
this.orgId = "";
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: string default_member_role = 2;
|
|
923
|
+
*/
|
|
924
|
+
this.defaultMemberRole = "";
|
|
925
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
926
|
+
}
|
|
927
|
+
static fromBinary(bytes, options) {
|
|
928
|
+
return new UpdateDefaultOrganizationRolesRequest().fromBinary(bytes, options);
|
|
929
|
+
}
|
|
930
|
+
static fromJson(jsonValue, options) {
|
|
931
|
+
return new UpdateDefaultOrganizationRolesRequest().fromJson(jsonValue, options);
|
|
932
|
+
}
|
|
933
|
+
static fromJsonString(jsonString, options) {
|
|
934
|
+
return new UpdateDefaultOrganizationRolesRequest().fromJsonString(jsonString, options);
|
|
935
|
+
}
|
|
936
|
+
static equals(a, b) {
|
|
937
|
+
return protobuf_1.proto3.util.equals(UpdateDefaultOrganizationRolesRequest, a, b);
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
exports.UpdateDefaultOrganizationRolesRequest = UpdateDefaultOrganizationRolesRequest;
|
|
941
|
+
UpdateDefaultOrganizationRolesRequest.runtime = protobuf_1.proto3;
|
|
942
|
+
UpdateDefaultOrganizationRolesRequest.typeName = "scalekit.v1.roles.UpdateDefaultOrganizationRolesRequest";
|
|
943
|
+
UpdateDefaultOrganizationRolesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
944
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
945
|
+
{ no: 2, name: "default_member_role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
946
|
+
]);
|
|
947
|
+
/**
|
|
948
|
+
* @generated from message scalekit.v1.roles.UpdateDefaultRolesResponse
|
|
949
|
+
*/
|
|
950
|
+
class UpdateDefaultRolesResponse extends protobuf_1.Message {
|
|
951
|
+
constructor(data) {
|
|
952
|
+
super();
|
|
953
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
954
|
+
}
|
|
955
|
+
static fromBinary(bytes, options) {
|
|
956
|
+
return new UpdateDefaultRolesResponse().fromBinary(bytes, options);
|
|
957
|
+
}
|
|
958
|
+
static fromJson(jsonValue, options) {
|
|
959
|
+
return new UpdateDefaultRolesResponse().fromJson(jsonValue, options);
|
|
960
|
+
}
|
|
961
|
+
static fromJsonString(jsonString, options) {
|
|
962
|
+
return new UpdateDefaultRolesResponse().fromJsonString(jsonString, options);
|
|
963
|
+
}
|
|
964
|
+
static equals(a, b) {
|
|
965
|
+
return protobuf_1.proto3.util.equals(UpdateDefaultRolesResponse, a, b);
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
exports.UpdateDefaultRolesResponse = UpdateDefaultRolesResponse;
|
|
969
|
+
UpdateDefaultRolesResponse.runtime = protobuf_1.proto3;
|
|
970
|
+
UpdateDefaultRolesResponse.typeName = "scalekit.v1.roles.UpdateDefaultRolesResponse";
|
|
971
|
+
UpdateDefaultRolesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
972
|
+
{ no: 1, name: "default_creator", kind: "message", T: Role },
|
|
973
|
+
{ no: 2, name: "default_member", kind: "message", T: Role },
|
|
974
|
+
]);
|
|
975
|
+
/**
|
|
976
|
+
* @generated from message scalekit.v1.roles.UpdateDefaultOrganizationRolesResponse
|
|
977
|
+
*/
|
|
978
|
+
class UpdateDefaultOrganizationRolesResponse extends protobuf_1.Message {
|
|
979
|
+
constructor(data) {
|
|
980
|
+
super();
|
|
981
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
982
|
+
}
|
|
983
|
+
static fromBinary(bytes, options) {
|
|
984
|
+
return new UpdateDefaultOrganizationRolesResponse().fromBinary(bytes, options);
|
|
985
|
+
}
|
|
986
|
+
static fromJson(jsonValue, options) {
|
|
987
|
+
return new UpdateDefaultOrganizationRolesResponse().fromJson(jsonValue, options);
|
|
988
|
+
}
|
|
989
|
+
static fromJsonString(jsonString, options) {
|
|
990
|
+
return new UpdateDefaultOrganizationRolesResponse().fromJsonString(jsonString, options);
|
|
991
|
+
}
|
|
992
|
+
static equals(a, b) {
|
|
993
|
+
return protobuf_1.proto3.util.equals(UpdateDefaultOrganizationRolesResponse, a, b);
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
exports.UpdateDefaultOrganizationRolesResponse = UpdateDefaultOrganizationRolesResponse;
|
|
997
|
+
UpdateDefaultOrganizationRolesResponse.runtime = protobuf_1.proto3;
|
|
998
|
+
UpdateDefaultOrganizationRolesResponse.typeName = "scalekit.v1.roles.UpdateDefaultOrganizationRolesResponse";
|
|
999
|
+
UpdateDefaultOrganizationRolesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1000
|
+
{ no: 2, name: "default_member", kind: "message", T: Role },
|
|
1001
|
+
]);
|
|
1002
|
+
/**
|
|
1003
|
+
* @generated from message scalekit.v1.roles.UpdateDefaultRole
|
|
1004
|
+
*/
|
|
1005
|
+
class UpdateDefaultRole extends protobuf_1.Message {
|
|
1006
|
+
constructor(data) {
|
|
1007
|
+
super();
|
|
1008
|
+
/**
|
|
1009
|
+
* @generated from field: string id = 1;
|
|
1010
|
+
*/
|
|
1011
|
+
this.id = "";
|
|
1012
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1013
|
+
}
|
|
1014
|
+
static fromBinary(bytes, options) {
|
|
1015
|
+
return new UpdateDefaultRole().fromBinary(bytes, options);
|
|
1016
|
+
}
|
|
1017
|
+
static fromJson(jsonValue, options) {
|
|
1018
|
+
return new UpdateDefaultRole().fromJson(jsonValue, options);
|
|
1019
|
+
}
|
|
1020
|
+
static fromJsonString(jsonString, options) {
|
|
1021
|
+
return new UpdateDefaultRole().fromJsonString(jsonString, options);
|
|
1022
|
+
}
|
|
1023
|
+
static equals(a, b) {
|
|
1024
|
+
return protobuf_1.proto3.util.equals(UpdateDefaultRole, a, b);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
exports.UpdateDefaultRole = UpdateDefaultRole;
|
|
1028
|
+
UpdateDefaultRole.runtime = protobuf_1.proto3;
|
|
1029
|
+
UpdateDefaultRole.typeName = "scalekit.v1.roles.UpdateDefaultRole";
|
|
1030
|
+
UpdateDefaultRole.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1031
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1032
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1033
|
+
]);
|
|
1034
|
+
/**
|
|
1035
|
+
* Permission Entity
|
|
1036
|
+
*
|
|
1037
|
+
* @generated from message scalekit.v1.roles.Permission
|
|
1038
|
+
*/
|
|
1039
|
+
class Permission extends protobuf_1.Message {
|
|
1040
|
+
constructor(data) {
|
|
1041
|
+
super();
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from field: string id = 1;
|
|
1044
|
+
*/
|
|
1045
|
+
this.id = "";
|
|
1046
|
+
/**
|
|
1047
|
+
* @generated from field: string name = 2;
|
|
1048
|
+
*/
|
|
1049
|
+
this.name = "";
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated from field: string description = 3;
|
|
1052
|
+
*/
|
|
1053
|
+
this.description = "";
|
|
1054
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1055
|
+
}
|
|
1056
|
+
static fromBinary(bytes, options) {
|
|
1057
|
+
return new Permission().fromBinary(bytes, options);
|
|
1058
|
+
}
|
|
1059
|
+
static fromJson(jsonValue, options) {
|
|
1060
|
+
return new Permission().fromJson(jsonValue, options);
|
|
1061
|
+
}
|
|
1062
|
+
static fromJsonString(jsonString, options) {
|
|
1063
|
+
return new Permission().fromJsonString(jsonString, options);
|
|
1064
|
+
}
|
|
1065
|
+
static equals(a, b) {
|
|
1066
|
+
return protobuf_1.proto3.util.equals(Permission, a, b);
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
exports.Permission = Permission;
|
|
1070
|
+
Permission.runtime = protobuf_1.proto3;
|
|
1071
|
+
Permission.typeName = "scalekit.v1.roles.Permission";
|
|
1072
|
+
Permission.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1073
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1074
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1075
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1076
|
+
{ no: 4, name: "create_time", kind: "message", T: protobuf_1.Timestamp },
|
|
1077
|
+
{ no: 5, name: "update_time", kind: "message", T: protobuf_1.Timestamp },
|
|
1078
|
+
]);
|
|
1079
|
+
/**
|
|
1080
|
+
* RolePermissions represents a permission with role source information
|
|
1081
|
+
*
|
|
1082
|
+
* @generated from message scalekit.v1.roles.RolePermission
|
|
1083
|
+
*/
|
|
1084
|
+
class RolePermission extends protobuf_1.Message {
|
|
1085
|
+
constructor(data) {
|
|
1086
|
+
super();
|
|
1087
|
+
/**
|
|
1088
|
+
* @generated from field: string id = 1;
|
|
1089
|
+
*/
|
|
1090
|
+
this.id = "";
|
|
1091
|
+
/**
|
|
1092
|
+
* @generated from field: string name = 2;
|
|
1093
|
+
*/
|
|
1094
|
+
this.name = "";
|
|
1095
|
+
/**
|
|
1096
|
+
* @generated from field: string description = 3;
|
|
1097
|
+
*/
|
|
1098
|
+
this.description = "";
|
|
1099
|
+
/**
|
|
1100
|
+
* @generated from field: string role_name = 6;
|
|
1101
|
+
*/
|
|
1102
|
+
this.roleName = "";
|
|
1103
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1104
|
+
}
|
|
1105
|
+
static fromBinary(bytes, options) {
|
|
1106
|
+
return new RolePermission().fromBinary(bytes, options);
|
|
1107
|
+
}
|
|
1108
|
+
static fromJson(jsonValue, options) {
|
|
1109
|
+
return new RolePermission().fromJson(jsonValue, options);
|
|
1110
|
+
}
|
|
1111
|
+
static fromJsonString(jsonString, options) {
|
|
1112
|
+
return new RolePermission().fromJsonString(jsonString, options);
|
|
1113
|
+
}
|
|
1114
|
+
static equals(a, b) {
|
|
1115
|
+
return protobuf_1.proto3.util.equals(RolePermission, a, b);
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
exports.RolePermission = RolePermission;
|
|
1119
|
+
RolePermission.runtime = protobuf_1.proto3;
|
|
1120
|
+
RolePermission.typeName = "scalekit.v1.roles.RolePermission";
|
|
1121
|
+
RolePermission.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1122
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1123
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1124
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1125
|
+
{ no: 4, name: "create_time", kind: "message", T: protobuf_1.Timestamp },
|
|
1126
|
+
{ no: 5, name: "update_time", kind: "message", T: protobuf_1.Timestamp },
|
|
1127
|
+
{ no: 6, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1128
|
+
]);
|
|
1129
|
+
/**
|
|
1130
|
+
* @generated from message scalekit.v1.roles.CreatePermission
|
|
1131
|
+
*/
|
|
1132
|
+
class CreatePermission extends protobuf_1.Message {
|
|
1133
|
+
constructor(data) {
|
|
1134
|
+
super();
|
|
1135
|
+
/**
|
|
1136
|
+
* @generated from field: string name = 1;
|
|
1137
|
+
*/
|
|
1138
|
+
this.name = "";
|
|
1139
|
+
/**
|
|
1140
|
+
* @generated from field: string description = 2;
|
|
1141
|
+
*/
|
|
1142
|
+
this.description = "";
|
|
1143
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1144
|
+
}
|
|
1145
|
+
static fromBinary(bytes, options) {
|
|
1146
|
+
return new CreatePermission().fromBinary(bytes, options);
|
|
1147
|
+
}
|
|
1148
|
+
static fromJson(jsonValue, options) {
|
|
1149
|
+
return new CreatePermission().fromJson(jsonValue, options);
|
|
1150
|
+
}
|
|
1151
|
+
static fromJsonString(jsonString, options) {
|
|
1152
|
+
return new CreatePermission().fromJsonString(jsonString, options);
|
|
1153
|
+
}
|
|
1154
|
+
static equals(a, b) {
|
|
1155
|
+
return protobuf_1.proto3.util.equals(CreatePermission, a, b);
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
exports.CreatePermission = CreatePermission;
|
|
1159
|
+
CreatePermission.runtime = protobuf_1.proto3;
|
|
1160
|
+
CreatePermission.typeName = "scalekit.v1.roles.CreatePermission";
|
|
1161
|
+
CreatePermission.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1162
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1163
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1164
|
+
]);
|
|
1165
|
+
/**
|
|
1166
|
+
* Permission Request/Response Messages
|
|
1167
|
+
*
|
|
1168
|
+
* @generated from message scalekit.v1.roles.CreatePermissionRequest
|
|
1169
|
+
*/
|
|
1170
|
+
class CreatePermissionRequest extends protobuf_1.Message {
|
|
1171
|
+
constructor(data) {
|
|
1172
|
+
super();
|
|
1173
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1174
|
+
}
|
|
1175
|
+
static fromBinary(bytes, options) {
|
|
1176
|
+
return new CreatePermissionRequest().fromBinary(bytes, options);
|
|
1177
|
+
}
|
|
1178
|
+
static fromJson(jsonValue, options) {
|
|
1179
|
+
return new CreatePermissionRequest().fromJson(jsonValue, options);
|
|
1180
|
+
}
|
|
1181
|
+
static fromJsonString(jsonString, options) {
|
|
1182
|
+
return new CreatePermissionRequest().fromJsonString(jsonString, options);
|
|
1183
|
+
}
|
|
1184
|
+
static equals(a, b) {
|
|
1185
|
+
return protobuf_1.proto3.util.equals(CreatePermissionRequest, a, b);
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
exports.CreatePermissionRequest = CreatePermissionRequest;
|
|
1189
|
+
CreatePermissionRequest.runtime = protobuf_1.proto3;
|
|
1190
|
+
CreatePermissionRequest.typeName = "scalekit.v1.roles.CreatePermissionRequest";
|
|
1191
|
+
CreatePermissionRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1192
|
+
{ no: 1, name: "permission", kind: "message", T: CreatePermission },
|
|
1193
|
+
]);
|
|
1194
|
+
/**
|
|
1195
|
+
* @generated from message scalekit.v1.roles.CreatePermissionResponse
|
|
1196
|
+
*/
|
|
1197
|
+
class CreatePermissionResponse extends protobuf_1.Message {
|
|
1198
|
+
constructor(data) {
|
|
1199
|
+
super();
|
|
1200
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1201
|
+
}
|
|
1202
|
+
static fromBinary(bytes, options) {
|
|
1203
|
+
return new CreatePermissionResponse().fromBinary(bytes, options);
|
|
1204
|
+
}
|
|
1205
|
+
static fromJson(jsonValue, options) {
|
|
1206
|
+
return new CreatePermissionResponse().fromJson(jsonValue, options);
|
|
1207
|
+
}
|
|
1208
|
+
static fromJsonString(jsonString, options) {
|
|
1209
|
+
return new CreatePermissionResponse().fromJsonString(jsonString, options);
|
|
1210
|
+
}
|
|
1211
|
+
static equals(a, b) {
|
|
1212
|
+
return protobuf_1.proto3.util.equals(CreatePermissionResponse, a, b);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
exports.CreatePermissionResponse = CreatePermissionResponse;
|
|
1216
|
+
CreatePermissionResponse.runtime = protobuf_1.proto3;
|
|
1217
|
+
CreatePermissionResponse.typeName = "scalekit.v1.roles.CreatePermissionResponse";
|
|
1218
|
+
CreatePermissionResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1219
|
+
{ no: 1, name: "permission", kind: "message", T: Permission },
|
|
1220
|
+
]);
|
|
1221
|
+
/**
|
|
1222
|
+
* @generated from message scalekit.v1.roles.GetPermissionRequest
|
|
1223
|
+
*/
|
|
1224
|
+
class GetPermissionRequest extends protobuf_1.Message {
|
|
1225
|
+
constructor(data) {
|
|
1226
|
+
super();
|
|
1227
|
+
/**
|
|
1228
|
+
* @generated from field: string permission_name = 1;
|
|
1229
|
+
*/
|
|
1230
|
+
this.permissionName = "";
|
|
1231
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1232
|
+
}
|
|
1233
|
+
static fromBinary(bytes, options) {
|
|
1234
|
+
return new GetPermissionRequest().fromBinary(bytes, options);
|
|
1235
|
+
}
|
|
1236
|
+
static fromJson(jsonValue, options) {
|
|
1237
|
+
return new GetPermissionRequest().fromJson(jsonValue, options);
|
|
1238
|
+
}
|
|
1239
|
+
static fromJsonString(jsonString, options) {
|
|
1240
|
+
return new GetPermissionRequest().fromJsonString(jsonString, options);
|
|
1241
|
+
}
|
|
1242
|
+
static equals(a, b) {
|
|
1243
|
+
return protobuf_1.proto3.util.equals(GetPermissionRequest, a, b);
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
exports.GetPermissionRequest = GetPermissionRequest;
|
|
1247
|
+
GetPermissionRequest.runtime = protobuf_1.proto3;
|
|
1248
|
+
GetPermissionRequest.typeName = "scalekit.v1.roles.GetPermissionRequest";
|
|
1249
|
+
GetPermissionRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1250
|
+
{ no: 1, name: "permission_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1251
|
+
]);
|
|
1252
|
+
/**
|
|
1253
|
+
* @generated from message scalekit.v1.roles.GetPermissionResponse
|
|
1254
|
+
*/
|
|
1255
|
+
class GetPermissionResponse extends protobuf_1.Message {
|
|
1256
|
+
constructor(data) {
|
|
1257
|
+
super();
|
|
1258
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1259
|
+
}
|
|
1260
|
+
static fromBinary(bytes, options) {
|
|
1261
|
+
return new GetPermissionResponse().fromBinary(bytes, options);
|
|
1262
|
+
}
|
|
1263
|
+
static fromJson(jsonValue, options) {
|
|
1264
|
+
return new GetPermissionResponse().fromJson(jsonValue, options);
|
|
1265
|
+
}
|
|
1266
|
+
static fromJsonString(jsonString, options) {
|
|
1267
|
+
return new GetPermissionResponse().fromJsonString(jsonString, options);
|
|
1268
|
+
}
|
|
1269
|
+
static equals(a, b) {
|
|
1270
|
+
return protobuf_1.proto3.util.equals(GetPermissionResponse, a, b);
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
exports.GetPermissionResponse = GetPermissionResponse;
|
|
1274
|
+
GetPermissionResponse.runtime = protobuf_1.proto3;
|
|
1275
|
+
GetPermissionResponse.typeName = "scalekit.v1.roles.GetPermissionResponse";
|
|
1276
|
+
GetPermissionResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1277
|
+
{ no: 1, name: "permission", kind: "message", T: Permission },
|
|
1278
|
+
]);
|
|
1279
|
+
/**
|
|
1280
|
+
* @generated from message scalekit.v1.roles.UpdatePermissionRequest
|
|
1281
|
+
*/
|
|
1282
|
+
class UpdatePermissionRequest extends protobuf_1.Message {
|
|
1283
|
+
constructor(data) {
|
|
1284
|
+
super();
|
|
1285
|
+
/**
|
|
1286
|
+
* @generated from field: string permission_name = 1;
|
|
1287
|
+
*/
|
|
1288
|
+
this.permissionName = "";
|
|
1289
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1290
|
+
}
|
|
1291
|
+
static fromBinary(bytes, options) {
|
|
1292
|
+
return new UpdatePermissionRequest().fromBinary(bytes, options);
|
|
1293
|
+
}
|
|
1294
|
+
static fromJson(jsonValue, options) {
|
|
1295
|
+
return new UpdatePermissionRequest().fromJson(jsonValue, options);
|
|
1296
|
+
}
|
|
1297
|
+
static fromJsonString(jsonString, options) {
|
|
1298
|
+
return new UpdatePermissionRequest().fromJsonString(jsonString, options);
|
|
1299
|
+
}
|
|
1300
|
+
static equals(a, b) {
|
|
1301
|
+
return protobuf_1.proto3.util.equals(UpdatePermissionRequest, a, b);
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
exports.UpdatePermissionRequest = UpdatePermissionRequest;
|
|
1305
|
+
UpdatePermissionRequest.runtime = protobuf_1.proto3;
|
|
1306
|
+
UpdatePermissionRequest.typeName = "scalekit.v1.roles.UpdatePermissionRequest";
|
|
1307
|
+
UpdatePermissionRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1308
|
+
{ no: 1, name: "permission_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1309
|
+
{ no: 3, name: "permission", kind: "message", T: CreatePermission },
|
|
1310
|
+
]);
|
|
1311
|
+
/**
|
|
1312
|
+
* @generated from message scalekit.v1.roles.UpdatePermissionResponse
|
|
1313
|
+
*/
|
|
1314
|
+
class UpdatePermissionResponse extends protobuf_1.Message {
|
|
1315
|
+
constructor(data) {
|
|
1316
|
+
super();
|
|
1317
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1318
|
+
}
|
|
1319
|
+
static fromBinary(bytes, options) {
|
|
1320
|
+
return new UpdatePermissionResponse().fromBinary(bytes, options);
|
|
1321
|
+
}
|
|
1322
|
+
static fromJson(jsonValue, options) {
|
|
1323
|
+
return new UpdatePermissionResponse().fromJson(jsonValue, options);
|
|
1324
|
+
}
|
|
1325
|
+
static fromJsonString(jsonString, options) {
|
|
1326
|
+
return new UpdatePermissionResponse().fromJsonString(jsonString, options);
|
|
1327
|
+
}
|
|
1328
|
+
static equals(a, b) {
|
|
1329
|
+
return protobuf_1.proto3.util.equals(UpdatePermissionResponse, a, b);
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
exports.UpdatePermissionResponse = UpdatePermissionResponse;
|
|
1333
|
+
UpdatePermissionResponse.runtime = protobuf_1.proto3;
|
|
1334
|
+
UpdatePermissionResponse.typeName = "scalekit.v1.roles.UpdatePermissionResponse";
|
|
1335
|
+
UpdatePermissionResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1336
|
+
{ no: 1, name: "permission", kind: "message", T: Permission },
|
|
1337
|
+
]);
|
|
1338
|
+
/**
|
|
1339
|
+
* @generated from message scalekit.v1.roles.ListPermissionsRequest
|
|
1340
|
+
*/
|
|
1341
|
+
class ListPermissionsRequest extends protobuf_1.Message {
|
|
1342
|
+
constructor(data) {
|
|
1343
|
+
super();
|
|
1344
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1345
|
+
}
|
|
1346
|
+
static fromBinary(bytes, options) {
|
|
1347
|
+
return new ListPermissionsRequest().fromBinary(bytes, options);
|
|
1348
|
+
}
|
|
1349
|
+
static fromJson(jsonValue, options) {
|
|
1350
|
+
return new ListPermissionsRequest().fromJson(jsonValue, options);
|
|
1351
|
+
}
|
|
1352
|
+
static fromJsonString(jsonString, options) {
|
|
1353
|
+
return new ListPermissionsRequest().fromJsonString(jsonString, options);
|
|
1354
|
+
}
|
|
1355
|
+
static equals(a, b) {
|
|
1356
|
+
return protobuf_1.proto3.util.equals(ListPermissionsRequest, a, b);
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
exports.ListPermissionsRequest = ListPermissionsRequest;
|
|
1360
|
+
ListPermissionsRequest.runtime = protobuf_1.proto3;
|
|
1361
|
+
ListPermissionsRequest.typeName = "scalekit.v1.roles.ListPermissionsRequest";
|
|
1362
|
+
ListPermissionsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1363
|
+
{ no: 1, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1364
|
+
{ no: 2, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
1365
|
+
]);
|
|
1366
|
+
/**
|
|
1367
|
+
* @generated from message scalekit.v1.roles.ListPermissionsResponse
|
|
1368
|
+
*/
|
|
1369
|
+
class ListPermissionsResponse extends protobuf_1.Message {
|
|
1370
|
+
constructor(data) {
|
|
1371
|
+
super();
|
|
1372
|
+
/**
|
|
1373
|
+
* @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
|
|
1374
|
+
*/
|
|
1375
|
+
this.permissions = [];
|
|
1376
|
+
/**
|
|
1377
|
+
* @generated from field: string prev_page_token = 2;
|
|
1378
|
+
*/
|
|
1379
|
+
this.prevPageToken = "";
|
|
1380
|
+
/**
|
|
1381
|
+
* @generated from field: string next_page_token = 3;
|
|
1382
|
+
*/
|
|
1383
|
+
this.nextPageToken = "";
|
|
1384
|
+
/**
|
|
1385
|
+
* @generated from field: uint32 total_size = 4;
|
|
1386
|
+
*/
|
|
1387
|
+
this.totalSize = 0;
|
|
1388
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1389
|
+
}
|
|
1390
|
+
static fromBinary(bytes, options) {
|
|
1391
|
+
return new ListPermissionsResponse().fromBinary(bytes, options);
|
|
1392
|
+
}
|
|
1393
|
+
static fromJson(jsonValue, options) {
|
|
1394
|
+
return new ListPermissionsResponse().fromJson(jsonValue, options);
|
|
1395
|
+
}
|
|
1396
|
+
static fromJsonString(jsonString, options) {
|
|
1397
|
+
return new ListPermissionsResponse().fromJsonString(jsonString, options);
|
|
1398
|
+
}
|
|
1399
|
+
static equals(a, b) {
|
|
1400
|
+
return protobuf_1.proto3.util.equals(ListPermissionsResponse, a, b);
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
exports.ListPermissionsResponse = ListPermissionsResponse;
|
|
1404
|
+
ListPermissionsResponse.runtime = protobuf_1.proto3;
|
|
1405
|
+
ListPermissionsResponse.typeName = "scalekit.v1.roles.ListPermissionsResponse";
|
|
1406
|
+
ListPermissionsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1407
|
+
{ no: 1, name: "permissions", kind: "message", T: Permission, repeated: true },
|
|
1408
|
+
{ no: 2, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1409
|
+
{ no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1410
|
+
{ no: 4, name: "total_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
1411
|
+
]);
|
|
1412
|
+
/**
|
|
1413
|
+
* @generated from message scalekit.v1.roles.DeletePermissionRequest
|
|
1414
|
+
*/
|
|
1415
|
+
class DeletePermissionRequest extends protobuf_1.Message {
|
|
1416
|
+
constructor(data) {
|
|
1417
|
+
super();
|
|
1418
|
+
/**
|
|
1419
|
+
* @generated from field: string permission_name = 1;
|
|
1420
|
+
*/
|
|
1421
|
+
this.permissionName = "";
|
|
1422
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1423
|
+
}
|
|
1424
|
+
static fromBinary(bytes, options) {
|
|
1425
|
+
return new DeletePermissionRequest().fromBinary(bytes, options);
|
|
1426
|
+
}
|
|
1427
|
+
static fromJson(jsonValue, options) {
|
|
1428
|
+
return new DeletePermissionRequest().fromJson(jsonValue, options);
|
|
1429
|
+
}
|
|
1430
|
+
static fromJsonString(jsonString, options) {
|
|
1431
|
+
return new DeletePermissionRequest().fromJsonString(jsonString, options);
|
|
1432
|
+
}
|
|
1433
|
+
static equals(a, b) {
|
|
1434
|
+
return protobuf_1.proto3.util.equals(DeletePermissionRequest, a, b);
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
exports.DeletePermissionRequest = DeletePermissionRequest;
|
|
1438
|
+
DeletePermissionRequest.runtime = protobuf_1.proto3;
|
|
1439
|
+
DeletePermissionRequest.typeName = "scalekit.v1.roles.DeletePermissionRequest";
|
|
1440
|
+
DeletePermissionRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1441
|
+
{ no: 1, name: "permission_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1442
|
+
]);
|
|
1443
|
+
/**
|
|
1444
|
+
* @generated from message scalekit.v1.roles.ListRolePermissionsRequest
|
|
1445
|
+
*/
|
|
1446
|
+
class ListRolePermissionsRequest extends protobuf_1.Message {
|
|
1447
|
+
constructor(data) {
|
|
1448
|
+
super();
|
|
1449
|
+
/**
|
|
1450
|
+
* @generated from field: string role_name = 1;
|
|
1451
|
+
*/
|
|
1452
|
+
this.roleName = "";
|
|
1453
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1454
|
+
}
|
|
1455
|
+
static fromBinary(bytes, options) {
|
|
1456
|
+
return new ListRolePermissionsRequest().fromBinary(bytes, options);
|
|
1457
|
+
}
|
|
1458
|
+
static fromJson(jsonValue, options) {
|
|
1459
|
+
return new ListRolePermissionsRequest().fromJson(jsonValue, options);
|
|
1460
|
+
}
|
|
1461
|
+
static fromJsonString(jsonString, options) {
|
|
1462
|
+
return new ListRolePermissionsRequest().fromJsonString(jsonString, options);
|
|
1463
|
+
}
|
|
1464
|
+
static equals(a, b) {
|
|
1465
|
+
return protobuf_1.proto3.util.equals(ListRolePermissionsRequest, a, b);
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
exports.ListRolePermissionsRequest = ListRolePermissionsRequest;
|
|
1469
|
+
ListRolePermissionsRequest.runtime = protobuf_1.proto3;
|
|
1470
|
+
ListRolePermissionsRequest.typeName = "scalekit.v1.roles.ListRolePermissionsRequest";
|
|
1471
|
+
ListRolePermissionsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1472
|
+
{ no: 1, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1473
|
+
]);
|
|
1474
|
+
/**
|
|
1475
|
+
* @generated from message scalekit.v1.roles.ListRolePermissionsResponse
|
|
1476
|
+
*/
|
|
1477
|
+
class ListRolePermissionsResponse extends protobuf_1.Message {
|
|
1478
|
+
constructor(data) {
|
|
1479
|
+
super();
|
|
1480
|
+
/**
|
|
1481
|
+
* @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
|
|
1482
|
+
*/
|
|
1483
|
+
this.permissions = [];
|
|
1484
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1485
|
+
}
|
|
1486
|
+
static fromBinary(bytes, options) {
|
|
1487
|
+
return new ListRolePermissionsResponse().fromBinary(bytes, options);
|
|
1488
|
+
}
|
|
1489
|
+
static fromJson(jsonValue, options) {
|
|
1490
|
+
return new ListRolePermissionsResponse().fromJson(jsonValue, options);
|
|
1491
|
+
}
|
|
1492
|
+
static fromJsonString(jsonString, options) {
|
|
1493
|
+
return new ListRolePermissionsResponse().fromJsonString(jsonString, options);
|
|
1494
|
+
}
|
|
1495
|
+
static equals(a, b) {
|
|
1496
|
+
return protobuf_1.proto3.util.equals(ListRolePermissionsResponse, a, b);
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
exports.ListRolePermissionsResponse = ListRolePermissionsResponse;
|
|
1500
|
+
ListRolePermissionsResponse.runtime = protobuf_1.proto3;
|
|
1501
|
+
ListRolePermissionsResponse.typeName = "scalekit.v1.roles.ListRolePermissionsResponse";
|
|
1502
|
+
ListRolePermissionsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1503
|
+
{ no: 1, name: "permissions", kind: "message", T: Permission, repeated: true },
|
|
1504
|
+
]);
|
|
1505
|
+
/**
|
|
1506
|
+
* @generated from message scalekit.v1.roles.AddPermissionsToRoleRequest
|
|
1507
|
+
*/
|
|
1508
|
+
class AddPermissionsToRoleRequest extends protobuf_1.Message {
|
|
1509
|
+
constructor(data) {
|
|
1510
|
+
super();
|
|
1511
|
+
/**
|
|
1512
|
+
* @generated from field: string role_name = 1;
|
|
1513
|
+
*/
|
|
1514
|
+
this.roleName = "";
|
|
1515
|
+
/**
|
|
1516
|
+
* @generated from field: repeated string permission_names = 2;
|
|
1517
|
+
*/
|
|
1518
|
+
this.permissionNames = [];
|
|
1519
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1520
|
+
}
|
|
1521
|
+
static fromBinary(bytes, options) {
|
|
1522
|
+
return new AddPermissionsToRoleRequest().fromBinary(bytes, options);
|
|
1523
|
+
}
|
|
1524
|
+
static fromJson(jsonValue, options) {
|
|
1525
|
+
return new AddPermissionsToRoleRequest().fromJson(jsonValue, options);
|
|
1526
|
+
}
|
|
1527
|
+
static fromJsonString(jsonString, options) {
|
|
1528
|
+
return new AddPermissionsToRoleRequest().fromJsonString(jsonString, options);
|
|
1529
|
+
}
|
|
1530
|
+
static equals(a, b) {
|
|
1531
|
+
return protobuf_1.proto3.util.equals(AddPermissionsToRoleRequest, a, b);
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
exports.AddPermissionsToRoleRequest = AddPermissionsToRoleRequest;
|
|
1535
|
+
AddPermissionsToRoleRequest.runtime = protobuf_1.proto3;
|
|
1536
|
+
AddPermissionsToRoleRequest.typeName = "scalekit.v1.roles.AddPermissionsToRoleRequest";
|
|
1537
|
+
AddPermissionsToRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1538
|
+
{ no: 1, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1539
|
+
{ no: 2, name: "permission_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1540
|
+
]);
|
|
1541
|
+
/**
|
|
1542
|
+
* @generated from message scalekit.v1.roles.AddPermissionsToRoleResponse
|
|
1543
|
+
*/
|
|
1544
|
+
class AddPermissionsToRoleResponse extends protobuf_1.Message {
|
|
1545
|
+
constructor(data) {
|
|
1546
|
+
super();
|
|
1547
|
+
/**
|
|
1548
|
+
* @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
|
|
1549
|
+
*/
|
|
1550
|
+
this.permissions = [];
|
|
1551
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1552
|
+
}
|
|
1553
|
+
static fromBinary(bytes, options) {
|
|
1554
|
+
return new AddPermissionsToRoleResponse().fromBinary(bytes, options);
|
|
1555
|
+
}
|
|
1556
|
+
static fromJson(jsonValue, options) {
|
|
1557
|
+
return new AddPermissionsToRoleResponse().fromJson(jsonValue, options);
|
|
1558
|
+
}
|
|
1559
|
+
static fromJsonString(jsonString, options) {
|
|
1560
|
+
return new AddPermissionsToRoleResponse().fromJsonString(jsonString, options);
|
|
1561
|
+
}
|
|
1562
|
+
static equals(a, b) {
|
|
1563
|
+
return protobuf_1.proto3.util.equals(AddPermissionsToRoleResponse, a, b);
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
exports.AddPermissionsToRoleResponse = AddPermissionsToRoleResponse;
|
|
1567
|
+
AddPermissionsToRoleResponse.runtime = protobuf_1.proto3;
|
|
1568
|
+
AddPermissionsToRoleResponse.typeName = "scalekit.v1.roles.AddPermissionsToRoleResponse";
|
|
1569
|
+
AddPermissionsToRoleResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1570
|
+
{ no: 1, name: "permissions", kind: "message", T: Permission, repeated: true },
|
|
1571
|
+
]);
|
|
1572
|
+
/**
|
|
1573
|
+
* @generated from message scalekit.v1.roles.RemovePermissionFromRoleRequest
|
|
1574
|
+
*/
|
|
1575
|
+
class RemovePermissionFromRoleRequest extends protobuf_1.Message {
|
|
1576
|
+
constructor(data) {
|
|
1577
|
+
super();
|
|
1578
|
+
/**
|
|
1579
|
+
* @generated from field: string role_name = 1;
|
|
1580
|
+
*/
|
|
1581
|
+
this.roleName = "";
|
|
1582
|
+
/**
|
|
1583
|
+
* @generated from field: string permission_name = 2;
|
|
1584
|
+
*/
|
|
1585
|
+
this.permissionName = "";
|
|
1586
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1587
|
+
}
|
|
1588
|
+
static fromBinary(bytes, options) {
|
|
1589
|
+
return new RemovePermissionFromRoleRequest().fromBinary(bytes, options);
|
|
1590
|
+
}
|
|
1591
|
+
static fromJson(jsonValue, options) {
|
|
1592
|
+
return new RemovePermissionFromRoleRequest().fromJson(jsonValue, options);
|
|
1593
|
+
}
|
|
1594
|
+
static fromJsonString(jsonString, options) {
|
|
1595
|
+
return new RemovePermissionFromRoleRequest().fromJsonString(jsonString, options);
|
|
1596
|
+
}
|
|
1597
|
+
static equals(a, b) {
|
|
1598
|
+
return protobuf_1.proto3.util.equals(RemovePermissionFromRoleRequest, a, b);
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
exports.RemovePermissionFromRoleRequest = RemovePermissionFromRoleRequest;
|
|
1602
|
+
RemovePermissionFromRoleRequest.runtime = protobuf_1.proto3;
|
|
1603
|
+
RemovePermissionFromRoleRequest.typeName = "scalekit.v1.roles.RemovePermissionFromRoleRequest";
|
|
1604
|
+
RemovePermissionFromRoleRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1605
|
+
{ no: 1, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1606
|
+
{ no: 2, name: "permission_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1607
|
+
]);
|
|
1608
|
+
/**
|
|
1609
|
+
* @generated from message scalekit.v1.roles.ListEffectiveRolePermissionsRequest
|
|
1610
|
+
*/
|
|
1611
|
+
class ListEffectiveRolePermissionsRequest extends protobuf_1.Message {
|
|
1612
|
+
constructor(data) {
|
|
1613
|
+
super();
|
|
1614
|
+
/**
|
|
1615
|
+
* @generated from field: string role_name = 1;
|
|
1616
|
+
*/
|
|
1617
|
+
this.roleName = "";
|
|
1618
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1619
|
+
}
|
|
1620
|
+
static fromBinary(bytes, options) {
|
|
1621
|
+
return new ListEffectiveRolePermissionsRequest().fromBinary(bytes, options);
|
|
1622
|
+
}
|
|
1623
|
+
static fromJson(jsonValue, options) {
|
|
1624
|
+
return new ListEffectiveRolePermissionsRequest().fromJson(jsonValue, options);
|
|
1625
|
+
}
|
|
1626
|
+
static fromJsonString(jsonString, options) {
|
|
1627
|
+
return new ListEffectiveRolePermissionsRequest().fromJsonString(jsonString, options);
|
|
1628
|
+
}
|
|
1629
|
+
static equals(a, b) {
|
|
1630
|
+
return protobuf_1.proto3.util.equals(ListEffectiveRolePermissionsRequest, a, b);
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
exports.ListEffectiveRolePermissionsRequest = ListEffectiveRolePermissionsRequest;
|
|
1634
|
+
ListEffectiveRolePermissionsRequest.runtime = protobuf_1.proto3;
|
|
1635
|
+
ListEffectiveRolePermissionsRequest.typeName = "scalekit.v1.roles.ListEffectiveRolePermissionsRequest";
|
|
1636
|
+
ListEffectiveRolePermissionsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1637
|
+
{ no: 1, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1638
|
+
]);
|
|
1639
|
+
/**
|
|
1640
|
+
* @generated from message scalekit.v1.roles.ListEffectiveRolePermissionsResponse
|
|
1641
|
+
*/
|
|
1642
|
+
class ListEffectiveRolePermissionsResponse extends protobuf_1.Message {
|
|
1643
|
+
constructor(data) {
|
|
1644
|
+
super();
|
|
1645
|
+
/**
|
|
1646
|
+
* @generated from field: repeated scalekit.v1.roles.Permission permissions = 1;
|
|
1647
|
+
*/
|
|
1648
|
+
this.permissions = [];
|
|
1649
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1650
|
+
}
|
|
1651
|
+
static fromBinary(bytes, options) {
|
|
1652
|
+
return new ListEffectiveRolePermissionsResponse().fromBinary(bytes, options);
|
|
1653
|
+
}
|
|
1654
|
+
static fromJson(jsonValue, options) {
|
|
1655
|
+
return new ListEffectiveRolePermissionsResponse().fromJson(jsonValue, options);
|
|
1656
|
+
}
|
|
1657
|
+
static fromJsonString(jsonString, options) {
|
|
1658
|
+
return new ListEffectiveRolePermissionsResponse().fromJsonString(jsonString, options);
|
|
1659
|
+
}
|
|
1660
|
+
static equals(a, b) {
|
|
1661
|
+
return protobuf_1.proto3.util.equals(ListEffectiveRolePermissionsResponse, a, b);
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
exports.ListEffectiveRolePermissionsResponse = ListEffectiveRolePermissionsResponse;
|
|
1665
|
+
ListEffectiveRolePermissionsResponse.runtime = protobuf_1.proto3;
|
|
1666
|
+
ListEffectiveRolePermissionsResponse.typeName = "scalekit.v1.roles.ListEffectiveRolePermissionsResponse";
|
|
1667
|
+
ListEffectiveRolePermissionsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1668
|
+
{ no: 1, name: "permissions", kind: "message", T: Permission, repeated: true },
|
|
1669
|
+
]);
|
|
1670
|
+
/**
|
|
1671
|
+
* @generated from message scalekit.v1.roles.ListDependentRolesRequest
|
|
1672
|
+
*/
|
|
1673
|
+
class ListDependentRolesRequest extends protobuf_1.Message {
|
|
1674
|
+
constructor(data) {
|
|
1675
|
+
super();
|
|
1676
|
+
/**
|
|
1677
|
+
* @generated from field: string role_name = 1;
|
|
1678
|
+
*/
|
|
1679
|
+
this.roleName = "";
|
|
1680
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1681
|
+
}
|
|
1682
|
+
static fromBinary(bytes, options) {
|
|
1683
|
+
return new ListDependentRolesRequest().fromBinary(bytes, options);
|
|
1684
|
+
}
|
|
1685
|
+
static fromJson(jsonValue, options) {
|
|
1686
|
+
return new ListDependentRolesRequest().fromJson(jsonValue, options);
|
|
1687
|
+
}
|
|
1688
|
+
static fromJsonString(jsonString, options) {
|
|
1689
|
+
return new ListDependentRolesRequest().fromJsonString(jsonString, options);
|
|
1690
|
+
}
|
|
1691
|
+
static equals(a, b) {
|
|
1692
|
+
return protobuf_1.proto3.util.equals(ListDependentRolesRequest, a, b);
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
exports.ListDependentRolesRequest = ListDependentRolesRequest;
|
|
1696
|
+
ListDependentRolesRequest.runtime = protobuf_1.proto3;
|
|
1697
|
+
ListDependentRolesRequest.typeName = "scalekit.v1.roles.ListDependentRolesRequest";
|
|
1698
|
+
ListDependentRolesRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1699
|
+
{ no: 1, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1700
|
+
]);
|
|
1701
|
+
/**
|
|
1702
|
+
* @generated from message scalekit.v1.roles.ListDependentRolesResponse
|
|
1703
|
+
*/
|
|
1704
|
+
class ListDependentRolesResponse extends protobuf_1.Message {
|
|
1705
|
+
constructor(data) {
|
|
1706
|
+
super();
|
|
1707
|
+
/**
|
|
1708
|
+
* @generated from field: repeated scalekit.v1.roles.Role roles = 1;
|
|
1709
|
+
*/
|
|
1710
|
+
this.roles = [];
|
|
1711
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1712
|
+
}
|
|
1713
|
+
static fromBinary(bytes, options) {
|
|
1714
|
+
return new ListDependentRolesResponse().fromBinary(bytes, options);
|
|
1715
|
+
}
|
|
1716
|
+
static fromJson(jsonValue, options) {
|
|
1717
|
+
return new ListDependentRolesResponse().fromJson(jsonValue, options);
|
|
1718
|
+
}
|
|
1719
|
+
static fromJsonString(jsonString, options) {
|
|
1720
|
+
return new ListDependentRolesResponse().fromJsonString(jsonString, options);
|
|
1721
|
+
}
|
|
1722
|
+
static equals(a, b) {
|
|
1723
|
+
return protobuf_1.proto3.util.equals(ListDependentRolesResponse, a, b);
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
exports.ListDependentRolesResponse = ListDependentRolesResponse;
|
|
1727
|
+
ListDependentRolesResponse.runtime = protobuf_1.proto3;
|
|
1728
|
+
ListDependentRolesResponse.typeName = "scalekit.v1.roles.ListDependentRolesResponse";
|
|
1729
|
+
ListDependentRolesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1730
|
+
{ no: 1, name: "roles", kind: "message", T: Role, repeated: true },
|
|
1731
|
+
]);
|
|
1732
|
+
/**
|
|
1733
|
+
* @generated from message scalekit.v1.roles.DeleteRoleBaseRequest
|
|
1734
|
+
*/
|
|
1735
|
+
class DeleteRoleBaseRequest extends protobuf_1.Message {
|
|
1736
|
+
constructor(data) {
|
|
1737
|
+
super();
|
|
1738
|
+
/**
|
|
1739
|
+
* @generated from field: string role_name = 1;
|
|
1740
|
+
*/
|
|
1741
|
+
this.roleName = "";
|
|
1742
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1743
|
+
}
|
|
1744
|
+
static fromBinary(bytes, options) {
|
|
1745
|
+
return new DeleteRoleBaseRequest().fromBinary(bytes, options);
|
|
1746
|
+
}
|
|
1747
|
+
static fromJson(jsonValue, options) {
|
|
1748
|
+
return new DeleteRoleBaseRequest().fromJson(jsonValue, options);
|
|
1749
|
+
}
|
|
1750
|
+
static fromJsonString(jsonString, options) {
|
|
1751
|
+
return new DeleteRoleBaseRequest().fromJsonString(jsonString, options);
|
|
1752
|
+
}
|
|
1753
|
+
static equals(a, b) {
|
|
1754
|
+
return protobuf_1.proto3.util.equals(DeleteRoleBaseRequest, a, b);
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
exports.DeleteRoleBaseRequest = DeleteRoleBaseRequest;
|
|
1758
|
+
DeleteRoleBaseRequest.runtime = protobuf_1.proto3;
|
|
1759
|
+
DeleteRoleBaseRequest.typeName = "scalekit.v1.roles.DeleteRoleBaseRequest";
|
|
1760
|
+
DeleteRoleBaseRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1761
|
+
{ no: 1, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1762
|
+
]);
|
|
1763
|
+
/**
|
|
1764
|
+
* @generated from message scalekit.v1.roles.DeleteOrganizationRoleBaseRequest
|
|
1765
|
+
*/
|
|
1766
|
+
class DeleteOrganizationRoleBaseRequest extends protobuf_1.Message {
|
|
1767
|
+
constructor(data) {
|
|
1768
|
+
super();
|
|
1769
|
+
/**
|
|
1770
|
+
* @generated from field: string org_id = 1;
|
|
1771
|
+
*/
|
|
1772
|
+
this.orgId = "";
|
|
1773
|
+
/**
|
|
1774
|
+
* @generated from field: string role_name = 2;
|
|
1775
|
+
*/
|
|
1776
|
+
this.roleName = "";
|
|
1777
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1778
|
+
}
|
|
1779
|
+
static fromBinary(bytes, options) {
|
|
1780
|
+
return new DeleteOrganizationRoleBaseRequest().fromBinary(bytes, options);
|
|
1781
|
+
}
|
|
1782
|
+
static fromJson(jsonValue, options) {
|
|
1783
|
+
return new DeleteOrganizationRoleBaseRequest().fromJson(jsonValue, options);
|
|
1784
|
+
}
|
|
1785
|
+
static fromJsonString(jsonString, options) {
|
|
1786
|
+
return new DeleteOrganizationRoleBaseRequest().fromJsonString(jsonString, options);
|
|
1787
|
+
}
|
|
1788
|
+
static equals(a, b) {
|
|
1789
|
+
return protobuf_1.proto3.util.equals(DeleteOrganizationRoleBaseRequest, a, b);
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
exports.DeleteOrganizationRoleBaseRequest = DeleteOrganizationRoleBaseRequest;
|
|
1793
|
+
DeleteOrganizationRoleBaseRequest.runtime = protobuf_1.proto3;
|
|
1794
|
+
DeleteOrganizationRoleBaseRequest.typeName = "scalekit.v1.roles.DeleteOrganizationRoleBaseRequest";
|
|
1795
|
+
DeleteOrganizationRoleBaseRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1796
|
+
{ no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1797
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1798
|
+
]);
|
|
1799
|
+
//# sourceMappingURL=roles_pb.js.map
|