@in-human-resources/backend-proto 0.1.0
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 +63 -0
- package/buf.gen.yaml +17 -0
- package/buf.yaml +10 -0
- package/gen/ts/api/v1/auth_connect.ts +195 -0
- package/gen/ts/api/v1/auth_pb.ts +1282 -0
- package/gen/ts/api/v1/candidate_connect.ts +172 -0
- package/gen/ts/api/v1/candidate_pb.ts +1192 -0
- package/gen/ts/api/v1/common_pb.ts +441 -0
- package/gen/ts/api/v1/company_connect.ts +170 -0
- package/gen/ts/api/v1/company_pb.ts +1078 -0
- package/gen/ts/auth/v1/service_connect.ts +567 -0
- package/gen/ts/auth/v1/service_pb.ts +5373 -0
- package/gen/ts/common/v1/common_pb.ts +51 -0
- package/package.json +38 -0
|
@@ -0,0 +1,1078 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file api/v1/company.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message api.v1.GetCompanyRequest
|
|
11
|
+
*/
|
|
12
|
+
export class GetCompanyRequest extends Message<GetCompanyRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string company_id = 1;
|
|
15
|
+
*/
|
|
16
|
+
companyId = "";
|
|
17
|
+
|
|
18
|
+
constructor(data?: PartialMessage<GetCompanyRequest>) {
|
|
19
|
+
super();
|
|
20
|
+
proto3.util.initPartial(data, this);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
24
|
+
static readonly typeName = "api.v1.GetCompanyRequest";
|
|
25
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
26
|
+
{ no: 1, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
27
|
+
]);
|
|
28
|
+
|
|
29
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCompanyRequest {
|
|
30
|
+
return new GetCompanyRequest().fromBinary(bytes, options);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCompanyRequest {
|
|
34
|
+
return new GetCompanyRequest().fromJson(jsonValue, options);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCompanyRequest {
|
|
38
|
+
return new GetCompanyRequest().fromJsonString(jsonString, options);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static equals(a: GetCompanyRequest | PlainMessage<GetCompanyRequest> | undefined, b: GetCompanyRequest | PlainMessage<GetCompanyRequest> | undefined): boolean {
|
|
42
|
+
return proto3.util.equals(GetCompanyRequest, a, b);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* User ID extracted from auth token
|
|
48
|
+
*
|
|
49
|
+
* @generated from message api.v1.GetMyCompanyRequest
|
|
50
|
+
*/
|
|
51
|
+
export class GetMyCompanyRequest extends Message<GetMyCompanyRequest> {
|
|
52
|
+
constructor(data?: PartialMessage<GetMyCompanyRequest>) {
|
|
53
|
+
super();
|
|
54
|
+
proto3.util.initPartial(data, this);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
58
|
+
static readonly typeName = "api.v1.GetMyCompanyRequest";
|
|
59
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
60
|
+
]);
|
|
61
|
+
|
|
62
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMyCompanyRequest {
|
|
63
|
+
return new GetMyCompanyRequest().fromBinary(bytes, options);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMyCompanyRequest {
|
|
67
|
+
return new GetMyCompanyRequest().fromJson(jsonValue, options);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMyCompanyRequest {
|
|
71
|
+
return new GetMyCompanyRequest().fromJsonString(jsonString, options);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static equals(a: GetMyCompanyRequest | PlainMessage<GetMyCompanyRequest> | undefined, b: GetMyCompanyRequest | PlainMessage<GetMyCompanyRequest> | undefined): boolean {
|
|
75
|
+
return proto3.util.equals(GetMyCompanyRequest, a, b);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message api.v1.GetCompanyResponse
|
|
81
|
+
*/
|
|
82
|
+
export class GetCompanyResponse extends Message<GetCompanyResponse> {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: string company_id = 1;
|
|
85
|
+
*/
|
|
86
|
+
companyId = "";
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: string name = 2;
|
|
90
|
+
*/
|
|
91
|
+
name = "";
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: string slug = 3;
|
|
95
|
+
*/
|
|
96
|
+
slug = "";
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string website = 4;
|
|
100
|
+
*/
|
|
101
|
+
website = "";
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: string status = 5;
|
|
105
|
+
*/
|
|
106
|
+
status = "";
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: string created_at = 6;
|
|
110
|
+
*/
|
|
111
|
+
createdAt = "";
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string onboarding_status = 7;
|
|
115
|
+
*/
|
|
116
|
+
onboardingStatus = "";
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string logo_url = 8;
|
|
120
|
+
*/
|
|
121
|
+
logoUrl = "";
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string industry = 9;
|
|
125
|
+
*/
|
|
126
|
+
industry = "";
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string company_size = 10;
|
|
130
|
+
*/
|
|
131
|
+
companySize = "";
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: string description = 11;
|
|
135
|
+
*/
|
|
136
|
+
description = "";
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string city = 12;
|
|
140
|
+
*/
|
|
141
|
+
city = "";
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: string country = 13;
|
|
145
|
+
*/
|
|
146
|
+
country = "";
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: int32 founded_year = 14;
|
|
150
|
+
*/
|
|
151
|
+
foundedYear = 0;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: string linkedin_url = 15;
|
|
155
|
+
*/
|
|
156
|
+
linkedinUrl = "";
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: string twitter_url = 16;
|
|
160
|
+
*/
|
|
161
|
+
twitterUrl = "";
|
|
162
|
+
|
|
163
|
+
constructor(data?: PartialMessage<GetCompanyResponse>) {
|
|
164
|
+
super();
|
|
165
|
+
proto3.util.initPartial(data, this);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
169
|
+
static readonly typeName = "api.v1.GetCompanyResponse";
|
|
170
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
171
|
+
{ no: 1, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
172
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
173
|
+
{ no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
174
|
+
{ no: 4, name: "website", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
175
|
+
{ no: 5, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
176
|
+
{ no: 6, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
177
|
+
{ no: 7, name: "onboarding_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
178
|
+
{ no: 8, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
179
|
+
{ no: 9, name: "industry", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
180
|
+
{ no: 10, name: "company_size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
181
|
+
{ no: 11, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
182
|
+
{ no: 12, name: "city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
183
|
+
{ no: 13, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
184
|
+
{ no: 14, name: "founded_year", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
185
|
+
{ no: 15, name: "linkedin_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
|
+
{ no: 16, name: "twitter_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
187
|
+
]);
|
|
188
|
+
|
|
189
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCompanyResponse {
|
|
190
|
+
return new GetCompanyResponse().fromBinary(bytes, options);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCompanyResponse {
|
|
194
|
+
return new GetCompanyResponse().fromJson(jsonValue, options);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCompanyResponse {
|
|
198
|
+
return new GetCompanyResponse().fromJsonString(jsonString, options);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
static equals(a: GetCompanyResponse | PlainMessage<GetCompanyResponse> | undefined, b: GetCompanyResponse | PlainMessage<GetCompanyResponse> | undefined): boolean {
|
|
202
|
+
return proto3.util.equals(GetCompanyResponse, a, b);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from message api.v1.CompanyProfileResponse
|
|
208
|
+
*/
|
|
209
|
+
export class CompanyProfileResponse extends Message<CompanyProfileResponse> {
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string id = 1;
|
|
212
|
+
*/
|
|
213
|
+
id = "";
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string name = 2;
|
|
217
|
+
*/
|
|
218
|
+
name = "";
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string slug = 3;
|
|
222
|
+
*/
|
|
223
|
+
slug = "";
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: string industry = 4;
|
|
227
|
+
*/
|
|
228
|
+
industry = "";
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: string company_size = 5;
|
|
232
|
+
*/
|
|
233
|
+
companySize = "";
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: string description = 6;
|
|
237
|
+
*/
|
|
238
|
+
description = "";
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: string city = 7;
|
|
242
|
+
*/
|
|
243
|
+
city = "";
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: string country = 8;
|
|
247
|
+
*/
|
|
248
|
+
country = "";
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: string website = 9;
|
|
252
|
+
*/
|
|
253
|
+
website = "";
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: string logo_url = 10;
|
|
257
|
+
*/
|
|
258
|
+
logoUrl = "";
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @generated from field: string linkedin_url = 11;
|
|
262
|
+
*/
|
|
263
|
+
linkedinUrl = "";
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: string twitter_url = 12;
|
|
267
|
+
*/
|
|
268
|
+
twitterUrl = "";
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: int32 founded_year = 13;
|
|
272
|
+
*/
|
|
273
|
+
foundedYear = 0;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: int32 profile_completion_percentage = 14;
|
|
277
|
+
*/
|
|
278
|
+
profileCompletionPercentage = 0;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: string status = 15;
|
|
282
|
+
*/
|
|
283
|
+
status = "";
|
|
284
|
+
|
|
285
|
+
constructor(data?: PartialMessage<CompanyProfileResponse>) {
|
|
286
|
+
super();
|
|
287
|
+
proto3.util.initPartial(data, this);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
291
|
+
static readonly typeName = "api.v1.CompanyProfileResponse";
|
|
292
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
293
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
294
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
295
|
+
{ no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
296
|
+
{ no: 4, name: "industry", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
297
|
+
{ no: 5, name: "company_size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
298
|
+
{ no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
299
|
+
{ no: 7, name: "city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
300
|
+
{ no: 8, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
301
|
+
{ no: 9, name: "website", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
302
|
+
{ no: 10, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
303
|
+
{ no: 11, name: "linkedin_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
304
|
+
{ no: 12, name: "twitter_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
305
|
+
{ no: 13, name: "founded_year", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
306
|
+
{ no: 14, name: "profile_completion_percentage", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
307
|
+
{ no: 15, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
308
|
+
]);
|
|
309
|
+
|
|
310
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CompanyProfileResponse {
|
|
311
|
+
return new CompanyProfileResponse().fromBinary(bytes, options);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CompanyProfileResponse {
|
|
315
|
+
return new CompanyProfileResponse().fromJson(jsonValue, options);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CompanyProfileResponse {
|
|
319
|
+
return new CompanyProfileResponse().fromJsonString(jsonString, options);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
static equals(a: CompanyProfileResponse | PlainMessage<CompanyProfileResponse> | undefined, b: CompanyProfileResponse | PlainMessage<CompanyProfileResponse> | undefined): boolean {
|
|
323
|
+
return proto3.util.equals(CompanyProfileResponse, a, b);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @generated from message api.v1.UpdateCompanyProfileRequest
|
|
329
|
+
*/
|
|
330
|
+
export class UpdateCompanyProfileRequest extends Message<UpdateCompanyProfileRequest> {
|
|
331
|
+
/**
|
|
332
|
+
* @generated from field: string name = 1;
|
|
333
|
+
*/
|
|
334
|
+
name = "";
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: string industry = 2;
|
|
338
|
+
*/
|
|
339
|
+
industry = "";
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: string company_size = 3;
|
|
343
|
+
*/
|
|
344
|
+
companySize = "";
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: string description = 4;
|
|
348
|
+
*/
|
|
349
|
+
description = "";
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: string city = 5;
|
|
353
|
+
*/
|
|
354
|
+
city = "";
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @generated from field: string country = 6;
|
|
358
|
+
*/
|
|
359
|
+
country = "";
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @generated from field: string website = 7;
|
|
363
|
+
*/
|
|
364
|
+
website = "";
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: string logo_url = 8;
|
|
368
|
+
*/
|
|
369
|
+
logoUrl = "";
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: string linkedin_url = 9;
|
|
373
|
+
*/
|
|
374
|
+
linkedinUrl = "";
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @generated from field: string twitter_url = 10;
|
|
378
|
+
*/
|
|
379
|
+
twitterUrl = "";
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* User ID extracted from auth token
|
|
383
|
+
*
|
|
384
|
+
* @generated from field: int32 founded_year = 11;
|
|
385
|
+
*/
|
|
386
|
+
foundedYear = 0;
|
|
387
|
+
|
|
388
|
+
constructor(data?: PartialMessage<UpdateCompanyProfileRequest>) {
|
|
389
|
+
super();
|
|
390
|
+
proto3.util.initPartial(data, this);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
394
|
+
static readonly typeName = "api.v1.UpdateCompanyProfileRequest";
|
|
395
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
396
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
397
|
+
{ no: 2, name: "industry", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
398
|
+
{ no: 3, name: "company_size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
399
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
400
|
+
{ no: 5, name: "city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
401
|
+
{ no: 6, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
402
|
+
{ no: 7, name: "website", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
403
|
+
{ no: 8, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
404
|
+
{ no: 9, name: "linkedin_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
405
|
+
{ no: 10, name: "twitter_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
406
|
+
{ no: 11, name: "founded_year", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
407
|
+
]);
|
|
408
|
+
|
|
409
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCompanyProfileRequest {
|
|
410
|
+
return new UpdateCompanyProfileRequest().fromBinary(bytes, options);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCompanyProfileRequest {
|
|
414
|
+
return new UpdateCompanyProfileRequest().fromJson(jsonValue, options);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCompanyProfileRequest {
|
|
418
|
+
return new UpdateCompanyProfileRequest().fromJsonString(jsonString, options);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
static equals(a: UpdateCompanyProfileRequest | PlainMessage<UpdateCompanyProfileRequest> | undefined, b: UpdateCompanyProfileRequest | PlainMessage<UpdateCompanyProfileRequest> | undefined): boolean {
|
|
422
|
+
return proto3.util.equals(UpdateCompanyProfileRequest, a, b);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* User ID extracted from auth token
|
|
428
|
+
*
|
|
429
|
+
* @generated from message api.v1.GetMyCompanyMembershipRequest
|
|
430
|
+
*/
|
|
431
|
+
export class GetMyCompanyMembershipRequest extends Message<GetMyCompanyMembershipRequest> {
|
|
432
|
+
constructor(data?: PartialMessage<GetMyCompanyMembershipRequest>) {
|
|
433
|
+
super();
|
|
434
|
+
proto3.util.initPartial(data, this);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
438
|
+
static readonly typeName = "api.v1.GetMyCompanyMembershipRequest";
|
|
439
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
440
|
+
]);
|
|
441
|
+
|
|
442
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMyCompanyMembershipRequest {
|
|
443
|
+
return new GetMyCompanyMembershipRequest().fromBinary(bytes, options);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMyCompanyMembershipRequest {
|
|
447
|
+
return new GetMyCompanyMembershipRequest().fromJson(jsonValue, options);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMyCompanyMembershipRequest {
|
|
451
|
+
return new GetMyCompanyMembershipRequest().fromJsonString(jsonString, options);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
static equals(a: GetMyCompanyMembershipRequest | PlainMessage<GetMyCompanyMembershipRequest> | undefined, b: GetMyCompanyMembershipRequest | PlainMessage<GetMyCompanyMembershipRequest> | undefined): boolean {
|
|
455
|
+
return proto3.util.equals(GetMyCompanyMembershipRequest, a, b);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @generated from message api.v1.CompanyMemberInfo
|
|
461
|
+
*/
|
|
462
|
+
export class CompanyMemberInfo extends Message<CompanyMemberInfo> {
|
|
463
|
+
/**
|
|
464
|
+
* @generated from field: string member_id = 1;
|
|
465
|
+
*/
|
|
466
|
+
memberId = "";
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: string user_id = 2;
|
|
470
|
+
*/
|
|
471
|
+
userId = "";
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: string user_name = 3;
|
|
475
|
+
*/
|
|
476
|
+
userName = "";
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: string user_email = 4;
|
|
480
|
+
*/
|
|
481
|
+
userEmail = "";
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: string company_id = 5;
|
|
485
|
+
*/
|
|
486
|
+
companyId = "";
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @generated from field: string company_name = 6;
|
|
490
|
+
*/
|
|
491
|
+
companyName = "";
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: string hierarchy_level = 7;
|
|
495
|
+
*/
|
|
496
|
+
hierarchyLevel = "";
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @generated from field: string department = 8;
|
|
500
|
+
*/
|
|
501
|
+
department = "";
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @generated from field: string joined_at = 9;
|
|
505
|
+
*/
|
|
506
|
+
joinedAt = "";
|
|
507
|
+
|
|
508
|
+
constructor(data?: PartialMessage<CompanyMemberInfo>) {
|
|
509
|
+
super();
|
|
510
|
+
proto3.util.initPartial(data, this);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
514
|
+
static readonly typeName = "api.v1.CompanyMemberInfo";
|
|
515
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
516
|
+
{ no: 1, name: "member_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
517
|
+
{ no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
518
|
+
{ no: 3, name: "user_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
519
|
+
{ no: 4, name: "user_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
520
|
+
{ no: 5, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
521
|
+
{ no: 6, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
522
|
+
{ no: 7, name: "hierarchy_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
523
|
+
{ no: 8, name: "department", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
524
|
+
{ no: 9, name: "joined_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
525
|
+
]);
|
|
526
|
+
|
|
527
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CompanyMemberInfo {
|
|
528
|
+
return new CompanyMemberInfo().fromBinary(bytes, options);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CompanyMemberInfo {
|
|
532
|
+
return new CompanyMemberInfo().fromJson(jsonValue, options);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CompanyMemberInfo {
|
|
536
|
+
return new CompanyMemberInfo().fromJsonString(jsonString, options);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
static equals(a: CompanyMemberInfo | PlainMessage<CompanyMemberInfo> | undefined, b: CompanyMemberInfo | PlainMessage<CompanyMemberInfo> | undefined): boolean {
|
|
540
|
+
return proto3.util.equals(CompanyMemberInfo, a, b);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* @generated from message api.v1.ListCompanyMembersRequest
|
|
546
|
+
*/
|
|
547
|
+
export class ListCompanyMembersRequest extends Message<ListCompanyMembersRequest> {
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: string company_id = 1;
|
|
550
|
+
*/
|
|
551
|
+
companyId = "";
|
|
552
|
+
|
|
553
|
+
constructor(data?: PartialMessage<ListCompanyMembersRequest>) {
|
|
554
|
+
super();
|
|
555
|
+
proto3.util.initPartial(data, this);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
559
|
+
static readonly typeName = "api.v1.ListCompanyMembersRequest";
|
|
560
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
561
|
+
{ no: 1, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
562
|
+
]);
|
|
563
|
+
|
|
564
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCompanyMembersRequest {
|
|
565
|
+
return new ListCompanyMembersRequest().fromBinary(bytes, options);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCompanyMembersRequest {
|
|
569
|
+
return new ListCompanyMembersRequest().fromJson(jsonValue, options);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCompanyMembersRequest {
|
|
573
|
+
return new ListCompanyMembersRequest().fromJsonString(jsonString, options);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
static equals(a: ListCompanyMembersRequest | PlainMessage<ListCompanyMembersRequest> | undefined, b: ListCompanyMembersRequest | PlainMessage<ListCompanyMembersRequest> | undefined): boolean {
|
|
577
|
+
return proto3.util.equals(ListCompanyMembersRequest, a, b);
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @generated from message api.v1.ListCompanyMembersResponse
|
|
583
|
+
*/
|
|
584
|
+
export class ListCompanyMembersResponse extends Message<ListCompanyMembersResponse> {
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: repeated api.v1.CompanyMemberInfo members = 1;
|
|
587
|
+
*/
|
|
588
|
+
members: CompanyMemberInfo[] = [];
|
|
589
|
+
|
|
590
|
+
constructor(data?: PartialMessage<ListCompanyMembersResponse>) {
|
|
591
|
+
super();
|
|
592
|
+
proto3.util.initPartial(data, this);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
596
|
+
static readonly typeName = "api.v1.ListCompanyMembersResponse";
|
|
597
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
598
|
+
{ no: 1, name: "members", kind: "message", T: CompanyMemberInfo, repeated: true },
|
|
599
|
+
]);
|
|
600
|
+
|
|
601
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListCompanyMembersResponse {
|
|
602
|
+
return new ListCompanyMembersResponse().fromBinary(bytes, options);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListCompanyMembersResponse {
|
|
606
|
+
return new ListCompanyMembersResponse().fromJson(jsonValue, options);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListCompanyMembersResponse {
|
|
610
|
+
return new ListCompanyMembersResponse().fromJsonString(jsonString, options);
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
static equals(a: ListCompanyMembersResponse | PlainMessage<ListCompanyMembersResponse> | undefined, b: ListCompanyMembersResponse | PlainMessage<ListCompanyMembersResponse> | undefined): boolean {
|
|
614
|
+
return proto3.util.equals(ListCompanyMembersResponse, a, b);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* @generated from message api.v1.InviteCompanyMemberRequest
|
|
620
|
+
*/
|
|
621
|
+
export class InviteCompanyMemberRequest extends Message<InviteCompanyMemberRequest> {
|
|
622
|
+
/**
|
|
623
|
+
* @generated from field: string company_id = 1;
|
|
624
|
+
*/
|
|
625
|
+
companyId = "";
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* @generated from field: string email = 2;
|
|
629
|
+
*/
|
|
630
|
+
email = "";
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* @generated from field: string hierarchy_level = 3;
|
|
634
|
+
*/
|
|
635
|
+
hierarchyLevel = "";
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Inviter user ID extracted from auth token
|
|
639
|
+
*
|
|
640
|
+
* @generated from field: string department = 4;
|
|
641
|
+
*/
|
|
642
|
+
department = "";
|
|
643
|
+
|
|
644
|
+
constructor(data?: PartialMessage<InviteCompanyMemberRequest>) {
|
|
645
|
+
super();
|
|
646
|
+
proto3.util.initPartial(data, this);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
650
|
+
static readonly typeName = "api.v1.InviteCompanyMemberRequest";
|
|
651
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
652
|
+
{ no: 1, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
653
|
+
{ no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
654
|
+
{ no: 3, name: "hierarchy_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
655
|
+
{ no: 4, name: "department", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
656
|
+
]);
|
|
657
|
+
|
|
658
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InviteCompanyMemberRequest {
|
|
659
|
+
return new InviteCompanyMemberRequest().fromBinary(bytes, options);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InviteCompanyMemberRequest {
|
|
663
|
+
return new InviteCompanyMemberRequest().fromJson(jsonValue, options);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InviteCompanyMemberRequest {
|
|
667
|
+
return new InviteCompanyMemberRequest().fromJsonString(jsonString, options);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
static equals(a: InviteCompanyMemberRequest | PlainMessage<InviteCompanyMemberRequest> | undefined, b: InviteCompanyMemberRequest | PlainMessage<InviteCompanyMemberRequest> | undefined): boolean {
|
|
671
|
+
return proto3.util.equals(InviteCompanyMemberRequest, a, b);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* @generated from message api.v1.RemoveCompanyMemberRequest
|
|
677
|
+
*/
|
|
678
|
+
export class RemoveCompanyMemberRequest extends Message<RemoveCompanyMemberRequest> {
|
|
679
|
+
/**
|
|
680
|
+
* @generated from field: string company_id = 1;
|
|
681
|
+
*/
|
|
682
|
+
companyId = "";
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Remover user ID extracted from auth token
|
|
686
|
+
*
|
|
687
|
+
* @generated from field: string target_user_id = 2;
|
|
688
|
+
*/
|
|
689
|
+
targetUserId = "";
|
|
690
|
+
|
|
691
|
+
constructor(data?: PartialMessage<RemoveCompanyMemberRequest>) {
|
|
692
|
+
super();
|
|
693
|
+
proto3.util.initPartial(data, this);
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
697
|
+
static readonly typeName = "api.v1.RemoveCompanyMemberRequest";
|
|
698
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
699
|
+
{ no: 1, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
700
|
+
{ no: 2, name: "target_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
701
|
+
]);
|
|
702
|
+
|
|
703
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveCompanyMemberRequest {
|
|
704
|
+
return new RemoveCompanyMemberRequest().fromBinary(bytes, options);
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveCompanyMemberRequest {
|
|
708
|
+
return new RemoveCompanyMemberRequest().fromJson(jsonValue, options);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveCompanyMemberRequest {
|
|
712
|
+
return new RemoveCompanyMemberRequest().fromJsonString(jsonString, options);
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
static equals(a: RemoveCompanyMemberRequest | PlainMessage<RemoveCompanyMemberRequest> | undefined, b: RemoveCompanyMemberRequest | PlainMessage<RemoveCompanyMemberRequest> | undefined): boolean {
|
|
716
|
+
return proto3.util.equals(RemoveCompanyMemberRequest, a, b);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* @generated from message api.v1.UpdateCompanyMemberRoleRequest
|
|
722
|
+
*/
|
|
723
|
+
export class UpdateCompanyMemberRoleRequest extends Message<UpdateCompanyMemberRoleRequest> {
|
|
724
|
+
/**
|
|
725
|
+
* @generated from field: string company_id = 1;
|
|
726
|
+
*/
|
|
727
|
+
companyId = "";
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @generated from field: string target_user_id = 2;
|
|
731
|
+
*/
|
|
732
|
+
targetUserId = "";
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* @generated from field: string hierarchy_level = 3;
|
|
736
|
+
*/
|
|
737
|
+
hierarchyLevel = "";
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Updater user ID extracted from auth token
|
|
741
|
+
*
|
|
742
|
+
* @generated from field: string department = 4;
|
|
743
|
+
*/
|
|
744
|
+
department = "";
|
|
745
|
+
|
|
746
|
+
constructor(data?: PartialMessage<UpdateCompanyMemberRoleRequest>) {
|
|
747
|
+
super();
|
|
748
|
+
proto3.util.initPartial(data, this);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
752
|
+
static readonly typeName = "api.v1.UpdateCompanyMemberRoleRequest";
|
|
753
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
754
|
+
{ no: 1, name: "company_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
755
|
+
{ no: 2, name: "target_user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
756
|
+
{ no: 3, name: "hierarchy_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
757
|
+
{ no: 4, name: "department", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
758
|
+
]);
|
|
759
|
+
|
|
760
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCompanyMemberRoleRequest {
|
|
761
|
+
return new UpdateCompanyMemberRoleRequest().fromBinary(bytes, options);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCompanyMemberRoleRequest {
|
|
765
|
+
return new UpdateCompanyMemberRoleRequest().fromJson(jsonValue, options);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCompanyMemberRoleRequest {
|
|
769
|
+
return new UpdateCompanyMemberRoleRequest().fromJsonString(jsonString, options);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
static equals(a: UpdateCompanyMemberRoleRequest | PlainMessage<UpdateCompanyMemberRoleRequest> | undefined, b: UpdateCompanyMemberRoleRequest | PlainMessage<UpdateCompanyMemberRoleRequest> | undefined): boolean {
|
|
773
|
+
return proto3.util.equals(UpdateCompanyMemberRoleRequest, a, b);
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* User ID extracted from auth token
|
|
779
|
+
*
|
|
780
|
+
* @generated from message api.v1.GetCompanyOnboardingStatusRequest
|
|
781
|
+
*/
|
|
782
|
+
export class GetCompanyOnboardingStatusRequest extends Message<GetCompanyOnboardingStatusRequest> {
|
|
783
|
+
constructor(data?: PartialMessage<GetCompanyOnboardingStatusRequest>) {
|
|
784
|
+
super();
|
|
785
|
+
proto3.util.initPartial(data, this);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
789
|
+
static readonly typeName = "api.v1.GetCompanyOnboardingStatusRequest";
|
|
790
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
791
|
+
]);
|
|
792
|
+
|
|
793
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCompanyOnboardingStatusRequest {
|
|
794
|
+
return new GetCompanyOnboardingStatusRequest().fromBinary(bytes, options);
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCompanyOnboardingStatusRequest {
|
|
798
|
+
return new GetCompanyOnboardingStatusRequest().fromJson(jsonValue, options);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCompanyOnboardingStatusRequest {
|
|
802
|
+
return new GetCompanyOnboardingStatusRequest().fromJsonString(jsonString, options);
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
static equals(a: GetCompanyOnboardingStatusRequest | PlainMessage<GetCompanyOnboardingStatusRequest> | undefined, b: GetCompanyOnboardingStatusRequest | PlainMessage<GetCompanyOnboardingStatusRequest> | undefined): boolean {
|
|
806
|
+
return proto3.util.equals(GetCompanyOnboardingStatusRequest, a, b);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @generated from message api.v1.SubmitAccountSetupRequest
|
|
812
|
+
*/
|
|
813
|
+
export class SubmitAccountSetupRequest extends Message<SubmitAccountSetupRequest> {
|
|
814
|
+
/**
|
|
815
|
+
* @generated from field: string company_name = 1;
|
|
816
|
+
*/
|
|
817
|
+
companyName = "";
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* @generated from field: string company_slug = 2;
|
|
821
|
+
*/
|
|
822
|
+
companySlug = "";
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* "hr" or "tech_lead"
|
|
826
|
+
*
|
|
827
|
+
* @generated from field: string department = 3;
|
|
828
|
+
*/
|
|
829
|
+
department = "";
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* "hr", "founder", "tech_lead"
|
|
833
|
+
*
|
|
834
|
+
* @generated from field: string role = 4;
|
|
835
|
+
*/
|
|
836
|
+
role = "";
|
|
837
|
+
|
|
838
|
+
constructor(data?: PartialMessage<SubmitAccountSetupRequest>) {
|
|
839
|
+
super();
|
|
840
|
+
proto3.util.initPartial(data, this);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
844
|
+
static readonly typeName = "api.v1.SubmitAccountSetupRequest";
|
|
845
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
846
|
+
{ no: 1, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
847
|
+
{ no: 2, name: "company_slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
848
|
+
{ no: 3, name: "department", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
849
|
+
{ no: 4, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
850
|
+
]);
|
|
851
|
+
|
|
852
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitAccountSetupRequest {
|
|
853
|
+
return new SubmitAccountSetupRequest().fromBinary(bytes, options);
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitAccountSetupRequest {
|
|
857
|
+
return new SubmitAccountSetupRequest().fromJson(jsonValue, options);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitAccountSetupRequest {
|
|
861
|
+
return new SubmitAccountSetupRequest().fromJsonString(jsonString, options);
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
static equals(a: SubmitAccountSetupRequest | PlainMessage<SubmitAccountSetupRequest> | undefined, b: SubmitAccountSetupRequest | PlainMessage<SubmitAccountSetupRequest> | undefined): boolean {
|
|
865
|
+
return proto3.util.equals(SubmitAccountSetupRequest, a, b);
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* @generated from message api.v1.SubmitCompanyInfoRequest
|
|
871
|
+
*/
|
|
872
|
+
export class SubmitCompanyInfoRequest extends Message<SubmitCompanyInfoRequest> {
|
|
873
|
+
/**
|
|
874
|
+
* @generated from field: string industry = 1;
|
|
875
|
+
*/
|
|
876
|
+
industry = "";
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* @generated from field: string company_size = 2;
|
|
880
|
+
*/
|
|
881
|
+
companySize = "";
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* User ID extracted from auth token
|
|
885
|
+
*
|
|
886
|
+
* @generated from field: string description = 3;
|
|
887
|
+
*/
|
|
888
|
+
description = "";
|
|
889
|
+
|
|
890
|
+
constructor(data?: PartialMessage<SubmitCompanyInfoRequest>) {
|
|
891
|
+
super();
|
|
892
|
+
proto3.util.initPartial(data, this);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
896
|
+
static readonly typeName = "api.v1.SubmitCompanyInfoRequest";
|
|
897
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
898
|
+
{ no: 1, name: "industry", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
899
|
+
{ no: 2, name: "company_size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
900
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
901
|
+
]);
|
|
902
|
+
|
|
903
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCompanyInfoRequest {
|
|
904
|
+
return new SubmitCompanyInfoRequest().fromBinary(bytes, options);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCompanyInfoRequest {
|
|
908
|
+
return new SubmitCompanyInfoRequest().fromJson(jsonValue, options);
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCompanyInfoRequest {
|
|
912
|
+
return new SubmitCompanyInfoRequest().fromJsonString(jsonString, options);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
static equals(a: SubmitCompanyInfoRequest | PlainMessage<SubmitCompanyInfoRequest> | undefined, b: SubmitCompanyInfoRequest | PlainMessage<SubmitCompanyInfoRequest> | undefined): boolean {
|
|
916
|
+
return proto3.util.equals(SubmitCompanyInfoRequest, a, b);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @generated from message api.v1.SubmitCompanyDetailsRequest
|
|
922
|
+
*/
|
|
923
|
+
export class SubmitCompanyDetailsRequest extends Message<SubmitCompanyDetailsRequest> {
|
|
924
|
+
/**
|
|
925
|
+
* @generated from field: string city = 1;
|
|
926
|
+
*/
|
|
927
|
+
city = "";
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @generated from field: string country = 2;
|
|
931
|
+
*/
|
|
932
|
+
country = "";
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* @generated from field: string website = 3;
|
|
936
|
+
*/
|
|
937
|
+
website = "";
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* User ID extracted from auth token
|
|
941
|
+
*
|
|
942
|
+
* @generated from field: int32 founded_year = 4;
|
|
943
|
+
*/
|
|
944
|
+
foundedYear = 0;
|
|
945
|
+
|
|
946
|
+
constructor(data?: PartialMessage<SubmitCompanyDetailsRequest>) {
|
|
947
|
+
super();
|
|
948
|
+
proto3.util.initPartial(data, this);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
952
|
+
static readonly typeName = "api.v1.SubmitCompanyDetailsRequest";
|
|
953
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
954
|
+
{ no: 1, name: "city", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
955
|
+
{ no: 2, name: "country", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
956
|
+
{ no: 3, name: "website", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
957
|
+
{ no: 4, name: "founded_year", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
958
|
+
]);
|
|
959
|
+
|
|
960
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCompanyDetailsRequest {
|
|
961
|
+
return new SubmitCompanyDetailsRequest().fromBinary(bytes, options);
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCompanyDetailsRequest {
|
|
965
|
+
return new SubmitCompanyDetailsRequest().fromJson(jsonValue, options);
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCompanyDetailsRequest {
|
|
969
|
+
return new SubmitCompanyDetailsRequest().fromJsonString(jsonString, options);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
static equals(a: SubmitCompanyDetailsRequest | PlainMessage<SubmitCompanyDetailsRequest> | undefined, b: SubmitCompanyDetailsRequest | PlainMessage<SubmitCompanyDetailsRequest> | undefined): boolean {
|
|
973
|
+
return proto3.util.equals(SubmitCompanyDetailsRequest, a, b);
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* @generated from message api.v1.SubmitCompanyBrandingRequest
|
|
979
|
+
*/
|
|
980
|
+
export class SubmitCompanyBrandingRequest extends Message<SubmitCompanyBrandingRequest> {
|
|
981
|
+
/**
|
|
982
|
+
* @generated from field: string logo_url = 1;
|
|
983
|
+
*/
|
|
984
|
+
logoUrl = "";
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* @generated from field: string linkedin_url = 2;
|
|
988
|
+
*/
|
|
989
|
+
linkedinUrl = "";
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* User ID extracted from auth token
|
|
993
|
+
*
|
|
994
|
+
* @generated from field: string twitter_url = 3;
|
|
995
|
+
*/
|
|
996
|
+
twitterUrl = "";
|
|
997
|
+
|
|
998
|
+
constructor(data?: PartialMessage<SubmitCompanyBrandingRequest>) {
|
|
999
|
+
super();
|
|
1000
|
+
proto3.util.initPartial(data, this);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1004
|
+
static readonly typeName = "api.v1.SubmitCompanyBrandingRequest";
|
|
1005
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1006
|
+
{ no: 1, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1007
|
+
{ no: 2, name: "linkedin_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1008
|
+
{ no: 3, name: "twitter_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1009
|
+
]);
|
|
1010
|
+
|
|
1011
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCompanyBrandingRequest {
|
|
1012
|
+
return new SubmitCompanyBrandingRequest().fromBinary(bytes, options);
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCompanyBrandingRequest {
|
|
1016
|
+
return new SubmitCompanyBrandingRequest().fromJson(jsonValue, options);
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCompanyBrandingRequest {
|
|
1020
|
+
return new SubmitCompanyBrandingRequest().fromJsonString(jsonString, options);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
static equals(a: SubmitCompanyBrandingRequest | PlainMessage<SubmitCompanyBrandingRequest> | undefined, b: SubmitCompanyBrandingRequest | PlainMessage<SubmitCompanyBrandingRequest> | undefined): boolean {
|
|
1024
|
+
return proto3.util.equals(SubmitCompanyBrandingRequest, a, b);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* @generated from message api.v1.SubmitCompanyInviteTeamRequest
|
|
1030
|
+
*/
|
|
1031
|
+
export class SubmitCompanyInviteTeamRequest extends Message<SubmitCompanyInviteTeamRequest> {
|
|
1032
|
+
/**
|
|
1033
|
+
* @generated from field: repeated string emails = 1;
|
|
1034
|
+
*/
|
|
1035
|
+
emails: string[] = [];
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* @generated from field: string hierarchy_level = 2;
|
|
1039
|
+
*/
|
|
1040
|
+
hierarchyLevel = "";
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* User ID extracted from auth token
|
|
1044
|
+
*
|
|
1045
|
+
* @generated from field: string department = 3;
|
|
1046
|
+
*/
|
|
1047
|
+
department = "";
|
|
1048
|
+
|
|
1049
|
+
constructor(data?: PartialMessage<SubmitCompanyInviteTeamRequest>) {
|
|
1050
|
+
super();
|
|
1051
|
+
proto3.util.initPartial(data, this);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1055
|
+
static readonly typeName = "api.v1.SubmitCompanyInviteTeamRequest";
|
|
1056
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1057
|
+
{ no: 1, name: "emails", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1058
|
+
{ no: 2, name: "hierarchy_level", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1059
|
+
{ no: 3, name: "department", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1060
|
+
]);
|
|
1061
|
+
|
|
1062
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubmitCompanyInviteTeamRequest {
|
|
1063
|
+
return new SubmitCompanyInviteTeamRequest().fromBinary(bytes, options);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubmitCompanyInviteTeamRequest {
|
|
1067
|
+
return new SubmitCompanyInviteTeamRequest().fromJson(jsonValue, options);
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubmitCompanyInviteTeamRequest {
|
|
1071
|
+
return new SubmitCompanyInviteTeamRequest().fromJsonString(jsonString, options);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
static equals(a: SubmitCompanyInviteTeamRequest | PlainMessage<SubmitCompanyInviteTeamRequest> | undefined, b: SubmitCompanyInviteTeamRequest | PlainMessage<SubmitCompanyInviteTeamRequest> | undefined): boolean {
|
|
1075
|
+
return proto3.util.equals(SubmitCompanyInviteTeamRequest, a, b);
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
|