@g2gs/contracts 1.0.34 → 1.0.36
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/admin/staff/v1/service_connect.d.ts +19 -1
- package/admin/staff/v1/service_connect.js +19 -1
- package/admin/staff/v1/service_pb.d.ts +103 -0
- package/admin/staff/v1/service_pb.js +29 -1
- package/identity/v1/auth_connect.d.ts +10 -1
- package/identity/v1/auth_connect.js +10 -1
- package/identity/v1/auth_pb.d.ts +32 -0
- package/identity/v1/auth_pb.js +15 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CreateStaffRequest, CreateStaffResponse, GetMeRequest, GetMeResponse, GetStaffRequest, GetStaffResponse, ListStaffRequest, ListStaffResponse, SetStaffActiveRequest, SetStaffActiveResponse, UpdateMeRequest, UpdateMeResponse, UpdateStaffRequest, UpdateStaffResponse } from "./service_pb.js";
|
|
6
|
+
import { CreateStaffRequest, CreateStaffResponse, GetMeRequest, GetMeResponse, GetStaffRequest, GetStaffResponse, ListStaffRequest, ListStaffResponse, SetStaffActiveRequest, SetStaffActiveResponse, UpdateMeRequest, UpdateMeResponse, UpdateMyCredentialsRequest, UpdateMyCredentialsResponse, UpdateStaffCredentialsRequest, UpdateStaffCredentialsResponse, UpdateStaffRequest, UpdateStaffResponse } from "./service_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -66,6 +66,24 @@ export declare const StaffAdminService: {
|
|
|
66
66
|
readonly O: typeof GetMeResponse,
|
|
67
67
|
readonly kind: MethodKind.Unary,
|
|
68
68
|
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateMyCredentials
|
|
71
|
+
*/
|
|
72
|
+
readonly updateMyCredentials: {
|
|
73
|
+
readonly name: "UpdateMyCredentials",
|
|
74
|
+
readonly I: typeof UpdateMyCredentialsRequest,
|
|
75
|
+
readonly O: typeof UpdateMyCredentialsResponse,
|
|
76
|
+
readonly kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateStaffCredentials
|
|
80
|
+
*/
|
|
81
|
+
readonly updateStaffCredentials: {
|
|
82
|
+
readonly name: "UpdateStaffCredentials",
|
|
83
|
+
readonly I: typeof UpdateStaffCredentialsRequest,
|
|
84
|
+
readonly O: typeof UpdateStaffCredentialsResponse,
|
|
85
|
+
readonly kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
69
87
|
/**
|
|
70
88
|
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateMe
|
|
71
89
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CreateStaffRequest, CreateStaffResponse, GetMeRequest, GetMeResponse, GetStaffRequest, GetStaffResponse, ListStaffRequest, ListStaffResponse, SetStaffActiveRequest, SetStaffActiveResponse, UpdateMeRequest, UpdateMeResponse, UpdateStaffRequest, UpdateStaffResponse } from "./service_pb.js";
|
|
6
|
+
import { CreateStaffRequest, CreateStaffResponse, GetMeRequest, GetMeResponse, GetStaffRequest, GetStaffResponse, ListStaffRequest, ListStaffResponse, SetStaffActiveRequest, SetStaffActiveResponse, UpdateMeRequest, UpdateMeResponse, UpdateMyCredentialsRequest, UpdateMyCredentialsResponse, UpdateStaffCredentialsRequest, UpdateStaffCredentialsResponse, UpdateStaffRequest, UpdateStaffResponse } from "./service_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -66,6 +66,24 @@ export const StaffAdminService = {
|
|
|
66
66
|
O: GetMeResponse,
|
|
67
67
|
kind: MethodKind.Unary,
|
|
68
68
|
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateMyCredentials
|
|
71
|
+
*/
|
|
72
|
+
updateMyCredentials: {
|
|
73
|
+
name: "UpdateMyCredentials",
|
|
74
|
+
I: UpdateMyCredentialsRequest,
|
|
75
|
+
O: UpdateMyCredentialsResponse,
|
|
76
|
+
kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateStaffCredentials
|
|
80
|
+
*/
|
|
81
|
+
updateStaffCredentials: {
|
|
82
|
+
name: "UpdateStaffCredentials",
|
|
83
|
+
I: UpdateStaffCredentialsRequest,
|
|
84
|
+
O: UpdateStaffCredentialsResponse,
|
|
85
|
+
kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
69
87
|
/**
|
|
70
88
|
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateMe
|
|
71
89
|
*/
|
|
@@ -359,6 +359,93 @@ export declare type UpdateMeResponse = Message<"admin.staff.v1.UpdateMeResponse"
|
|
|
359
359
|
*/
|
|
360
360
|
export declare const UpdateMeResponseSchema: GenMessage<UpdateMeResponse>;
|
|
361
361
|
|
|
362
|
+
/**
|
|
363
|
+
* @generated from message admin.staff.v1.UpdateMyCredentialsRequest
|
|
364
|
+
*/
|
|
365
|
+
export declare type UpdateMyCredentialsRequest = Message<"admin.staff.v1.UpdateMyCredentialsRequest"> & {
|
|
366
|
+
/**
|
|
367
|
+
* требуется если меняется пароль
|
|
368
|
+
*
|
|
369
|
+
* @generated from field: optional string old_password = 1;
|
|
370
|
+
*/
|
|
371
|
+
oldPassword?: string;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* optional изменения
|
|
375
|
+
*
|
|
376
|
+
* @generated from field: optional string new_password = 2;
|
|
377
|
+
*/
|
|
378
|
+
newPassword?: string;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: optional string new_username = 3;
|
|
382
|
+
*/
|
|
383
|
+
newUsername?: string;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Describes the message admin.staff.v1.UpdateMyCredentialsRequest.
|
|
388
|
+
* Use `create(UpdateMyCredentialsRequestSchema)` to create a new message.
|
|
389
|
+
*/
|
|
390
|
+
export declare const UpdateMyCredentialsRequestSchema: GenMessage<UpdateMyCredentialsRequest>;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @generated from message admin.staff.v1.UpdateMyCredentialsResponse
|
|
394
|
+
*/
|
|
395
|
+
export declare type UpdateMyCredentialsResponse = Message<"admin.staff.v1.UpdateMyCredentialsResponse"> & {
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Describes the message admin.staff.v1.UpdateMyCredentialsResponse.
|
|
400
|
+
* Use `create(UpdateMyCredentialsResponseSchema)` to create a new message.
|
|
401
|
+
*/
|
|
402
|
+
export declare const UpdateMyCredentialsResponseSchema: GenMessage<UpdateMyCredentialsResponse>;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @generated from message admin.staff.v1.UpdateStaffCredentialsRequest
|
|
406
|
+
*/
|
|
407
|
+
export declare type UpdateStaffCredentialsRequest = Message<"admin.staff.v1.UpdateStaffCredentialsRequest"> & {
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: uint64 staff_id = 1;
|
|
410
|
+
*/
|
|
411
|
+
staffId: bigint;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: optional string new_username = 2;
|
|
415
|
+
*/
|
|
416
|
+
newUsername?: string;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: optional string new_password = 3;
|
|
420
|
+
*/
|
|
421
|
+
newPassword?: string;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* audit причина (очень желательно в проде)
|
|
425
|
+
*
|
|
426
|
+
* @generated from field: optional string reason = 4;
|
|
427
|
+
*/
|
|
428
|
+
reason?: string;
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Describes the message admin.staff.v1.UpdateStaffCredentialsRequest.
|
|
433
|
+
* Use `create(UpdateStaffCredentialsRequestSchema)` to create a new message.
|
|
434
|
+
*/
|
|
435
|
+
export declare const UpdateStaffCredentialsRequestSchema: GenMessage<UpdateStaffCredentialsRequest>;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @generated from message admin.staff.v1.UpdateStaffCredentialsResponse
|
|
439
|
+
*/
|
|
440
|
+
export declare type UpdateStaffCredentialsResponse = Message<"admin.staff.v1.UpdateStaffCredentialsResponse"> & {
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Describes the message admin.staff.v1.UpdateStaffCredentialsResponse.
|
|
445
|
+
* Use `create(UpdateStaffCredentialsResponseSchema)` to create a new message.
|
|
446
|
+
*/
|
|
447
|
+
export declare const UpdateStaffCredentialsResponseSchema: GenMessage<UpdateStaffCredentialsResponse>;
|
|
448
|
+
|
|
362
449
|
/**
|
|
363
450
|
* @generated from service admin.staff.v1.StaffAdminService
|
|
364
451
|
*/
|
|
@@ -411,6 +498,22 @@ export declare const StaffAdminService: GenService<{
|
|
|
411
498
|
input: typeof GetMeRequestSchema;
|
|
412
499
|
output: typeof GetMeResponseSchema;
|
|
413
500
|
},
|
|
501
|
+
/**
|
|
502
|
+
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateMyCredentials
|
|
503
|
+
*/
|
|
504
|
+
updateMyCredentials: {
|
|
505
|
+
methodKind: "unary";
|
|
506
|
+
input: typeof UpdateMyCredentialsRequestSchema;
|
|
507
|
+
output: typeof UpdateMyCredentialsResponseSchema;
|
|
508
|
+
},
|
|
509
|
+
/**
|
|
510
|
+
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateStaffCredentials
|
|
511
|
+
*/
|
|
512
|
+
updateStaffCredentials: {
|
|
513
|
+
methodKind: "unary";
|
|
514
|
+
input: typeof UpdateStaffCredentialsRequestSchema;
|
|
515
|
+
output: typeof UpdateStaffCredentialsResponseSchema;
|
|
516
|
+
},
|
|
414
517
|
/**
|
|
415
518
|
* @generated from rpc admin.staff.v1.StaffAdminService.UpdateMe
|
|
416
519
|
*/
|
|
@@ -9,7 +9,7 @@ import { file_google_api_annotations } from "../../../google/api/annotations_pb"
|
|
|
9
9
|
* Describes the file admin/staff/v1/service.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_admin_staff_v1_service = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("ChxhZG1pbi9zdGFmZi92MS9zZXJ2aWNlLnByb3RvEg5hZG1pbi5zdGFmZi52MSIVChNEZWxldGVTdGFmZlJlc3BvbnNlIqMBCgVTdGFmZhIQCghzdGFmZl9pZBgBIAEoBBISCgphY2NvdW50X2lkGAIgASgEEhIKCmZpcnN0X25hbWUYAyABKAkSEQoJbGFzdF9uYW1lGAQgASgJEhgKC3RlbGVncmFtX2lkGAUgASgDSACIAQESEQoJaXNfYWN0aXZlGAYgASgIEhAKCHVzZXJuYW1lGAcgASgJQg4KDF90ZWxlZ3JhbV9pZCKJAQoSQ3JlYXRlU3RhZmZSZXF1ZXN0EhIKCmZpcnN0X25hbWUYASABKAkSEQoJbGFzdF9uYW1lGAIgASgJEhgKC3RlbGVncmFtX2lkGAMgASgDSACIAQESEAoIdXNlcm5hbWUYBCABKAkSEAoIcGFzc3dvcmQYBSABKAlCDgoMX3RlbGVncmFtX2lkIjsKE0NyZWF0ZVN0YWZmUmVzcG9uc2USJAoFc3RhZmYYASABKAsyFS5hZG1pbi5zdGFmZi52MS5TdGFmZiKeAQoSVXBkYXRlU3RhZmZSZXF1ZXN0EhAKCHN0YWZmX2lkGAEgASgEEhcKCmZpcnN0X25hbWUYAiABKAlIAIgBARIWCglsYXN0X25hbWUYAyABKAlIAYgBARIYCgt0ZWxlZ3JhbV9pZBgEIAEoA0gCiAEBQg0KC19maXJzdF9uY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
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message admin.staff.v1.DeleteStaffResponse.
|
|
@@ -123,6 +123,34 @@ export const UpdateMeRequestSchema = /*@__PURE__*/
|
|
|
123
123
|
export const UpdateMeResponseSchema = /*@__PURE__*/
|
|
124
124
|
messageDesc(file_admin_staff_v1_service, 15);
|
|
125
125
|
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message admin.staff.v1.UpdateMyCredentialsRequest.
|
|
128
|
+
* Use `create(UpdateMyCredentialsRequestSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export const UpdateMyCredentialsRequestSchema = /*@__PURE__*/
|
|
131
|
+
messageDesc(file_admin_staff_v1_service, 16);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Describes the message admin.staff.v1.UpdateMyCredentialsResponse.
|
|
135
|
+
* Use `create(UpdateMyCredentialsResponseSchema)` to create a new message.
|
|
136
|
+
*/
|
|
137
|
+
export const UpdateMyCredentialsResponseSchema = /*@__PURE__*/
|
|
138
|
+
messageDesc(file_admin_staff_v1_service, 17);
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Describes the message admin.staff.v1.UpdateStaffCredentialsRequest.
|
|
142
|
+
* Use `create(UpdateStaffCredentialsRequestSchema)` to create a new message.
|
|
143
|
+
*/
|
|
144
|
+
export const UpdateStaffCredentialsRequestSchema = /*@__PURE__*/
|
|
145
|
+
messageDesc(file_admin_staff_v1_service, 18);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message admin.staff.v1.UpdateStaffCredentialsResponse.
|
|
149
|
+
* Use `create(UpdateStaffCredentialsResponseSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export const UpdateStaffCredentialsResponseSchema = /*@__PURE__*/
|
|
152
|
+
messageDesc(file_admin_staff_v1_service, 19);
|
|
153
|
+
|
|
126
154
|
/**
|
|
127
155
|
* @generated from service admin.staff.v1.StaffAdminService
|
|
128
156
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
|
|
6
|
+
import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, LogoutRequest, LogoutResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -39,6 +39,15 @@ export declare const AuthService: {
|
|
|
39
39
|
readonly O: typeof LoginTelegramResponse,
|
|
40
40
|
readonly kind: MethodKind.Unary,
|
|
41
41
|
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc identity.v1.AuthService.Logout
|
|
44
|
+
*/
|
|
45
|
+
readonly logout: {
|
|
46
|
+
readonly name: "Logout",
|
|
47
|
+
readonly I: typeof LogoutRequest,
|
|
48
|
+
readonly O: typeof LogoutResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
42
51
|
}
|
|
43
52
|
};
|
|
44
53
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
|
|
6
|
+
import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, LogoutRequest, LogoutResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -39,6 +39,15 @@ export const AuthService = {
|
|
|
39
39
|
O: LoginTelegramResponse,
|
|
40
40
|
kind: MethodKind.Unary,
|
|
41
41
|
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc identity.v1.AuthService.Logout
|
|
44
|
+
*/
|
|
45
|
+
logout: {
|
|
46
|
+
name: "Logout",
|
|
47
|
+
I: LogoutRequest,
|
|
48
|
+
O: LogoutResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
42
51
|
}
|
|
43
52
|
};
|
|
44
53
|
|
package/identity/v1/auth_pb.d.ts
CHANGED
|
@@ -132,6 +132,30 @@ export declare type LoginTelegramResponse = Message<"identity.v1.LoginTelegramRe
|
|
|
132
132
|
*/
|
|
133
133
|
export declare const LoginTelegramResponseSchema: GenMessage<LoginTelegramResponse>;
|
|
134
134
|
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message identity.v1.LogoutRequest
|
|
137
|
+
*/
|
|
138
|
+
export declare type LogoutRequest = Message<"identity.v1.LogoutRequest"> & {
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message identity.v1.LogoutRequest.
|
|
143
|
+
* Use `create(LogoutRequestSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export declare const LogoutRequestSchema: GenMessage<LogoutRequest>;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from message identity.v1.LogoutResponse
|
|
149
|
+
*/
|
|
150
|
+
export declare type LogoutResponse = Message<"identity.v1.LogoutResponse"> & {
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message identity.v1.LogoutResponse.
|
|
155
|
+
* Use `create(LogoutResponseSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const LogoutResponseSchema: GenMessage<LogoutResponse>;
|
|
158
|
+
|
|
135
159
|
/**
|
|
136
160
|
* @generated from service identity.v1.AuthService
|
|
137
161
|
*/
|
|
@@ -160,5 +184,13 @@ export declare const AuthService: GenService<{
|
|
|
160
184
|
input: typeof LoginTelegramRequestSchema;
|
|
161
185
|
output: typeof LoginTelegramResponseSchema;
|
|
162
186
|
},
|
|
187
|
+
/**
|
|
188
|
+
* @generated from rpc identity.v1.AuthService.Logout
|
|
189
|
+
*/
|
|
190
|
+
logout: {
|
|
191
|
+
methodKind: "unary";
|
|
192
|
+
input: typeof LogoutRequestSchema;
|
|
193
|
+
output: typeof LogoutResponseSchema;
|
|
194
|
+
},
|
|
163
195
|
}>;
|
|
164
196
|
|
package/identity/v1/auth_pb.js
CHANGED
|
@@ -9,7 +9,7 @@ import { file_google_api_annotations } from "../../google/api/annotations_pb";
|
|
|
9
9
|
* Describes the file identity/v1/auth.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_identity_v1_auth = /*@__PURE__*/
|
|
12
|
-
fileDesc("ChZpZGVudGl0eS92MS9hdXRoLnByb3RvEgtpZGVudGl0eS52MSI4CglUb2tlblBhaXISFAoMYWNjZXNzX3Rva2VuGAEgASgJEhUKDXJlZnJlc2hfdG9rZW4YAiABKAkiNwoRTG9naW5TdGFmZlJlcXVlc3QSEAoIdXNlcm5hbWUYASABKAkSEAoIcGFzc3dvcmQYAiABKAkiPAoSTG9naW5TdGFmZlJlc3BvbnNlEiYKBnRva2VucxgBIAEoCzIWLmlkZW50aXR5LnYxLlRva2VuUGFpciIsChNSZWZyZXNoVG9rZW5SZXF1ZXN0EhUKDXJlZnJlc2hfdG9rZW4YASABKAkiPgoUUmVmcmVzaFRva2VuUmVzcG9uc2USJgoGdG9rZW5zGAEgASgLMhYuaWRlbnRpdHkudjEuVG9rZW5QYWlyIikKFExvZ2luVGVsZWdyYW1SZXF1ZXN0EhEKCWluaXRfZGF0YRgBIAEoCSI/
|
|
12
|
+
fileDesc("ChZpZGVudGl0eS92MS9hdXRoLnByb3RvEgtpZGVudGl0eS52MSI4CglUb2tlblBhaXISFAoMYWNjZXNzX3Rva2VuGAEgASgJEhUKDXJlZnJlc2hfdG9rZW4YAiABKAkiNwoRTG9naW5TdGFmZlJlc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Y29tL0cyR3MvYXBpLWNvbnRyYWN0cy1nby9pZGVudGl0eS92MTtpZGVudGl0eXYxYgZwcm90bzM", [file_google_api_annotations]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message identity.v1.TokenPair.
|
|
@@ -60,6 +60,20 @@ export const LoginTelegramRequestSchema = /*@__PURE__*/
|
|
|
60
60
|
export const LoginTelegramResponseSchema = /*@__PURE__*/
|
|
61
61
|
messageDesc(file_identity_v1_auth, 6);
|
|
62
62
|
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message identity.v1.LogoutRequest.
|
|
65
|
+
* Use `create(LogoutRequestSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const LogoutRequestSchema = /*@__PURE__*/
|
|
68
|
+
messageDesc(file_identity_v1_auth, 7);
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message identity.v1.LogoutResponse.
|
|
72
|
+
* Use `create(LogoutResponseSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const LogoutResponseSchema = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_identity_v1_auth, 8);
|
|
76
|
+
|
|
63
77
|
/**
|
|
64
78
|
* @generated from service identity.v1.AuthService
|
|
65
79
|
*/
|