jr-common-micro 1.1.30 → 1.1.32
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/dist/proto/micro/v1/education/education_messages_nest.d.ts +34 -0
- package/dist/proto/micro/v1/education/education_messages_pb.d.ts +90 -0
- package/dist/proto/micro/v1/education/education_messages_pb.js +202 -1
- package/dist/proto/micro/v1/education/services_connect.d.ts +42 -1
- package/dist/proto/micro/v1/education/services_connect.js +42 -1
- package/dist/proto/micro/v1/education/services_nest.d.ts +19 -1
- package/dist/proto/micro/v1/education/services_nest.js +17 -1
- package/package.json +1 -1
- package/proto/micro/v1/education/education_messages.proto +43 -0
- package/proto/micro/v1/education/services.proto +10 -1
|
@@ -556,4 +556,38 @@ export interface ExcelDataListResponse {
|
|
|
556
556
|
data: ExcelDataDto[];
|
|
557
557
|
total: number;
|
|
558
558
|
}
|
|
559
|
+
export interface StoreOkxRequest {
|
|
560
|
+
email: string;
|
|
561
|
+
telegram: string;
|
|
562
|
+
okx_uid: string;
|
|
563
|
+
}
|
|
564
|
+
export interface UpdateOkxRequest {
|
|
565
|
+
email: string;
|
|
566
|
+
telegram: string;
|
|
567
|
+
okx_uid: string;
|
|
568
|
+
}
|
|
569
|
+
export interface GetOkxResponse {
|
|
570
|
+
status: ResponseStatus | undefined;
|
|
571
|
+
data: OkxDto | undefined;
|
|
572
|
+
}
|
|
573
|
+
export interface OkxDto {
|
|
574
|
+
email: string;
|
|
575
|
+
telegram: string;
|
|
576
|
+
okx_uid: string;
|
|
577
|
+
uid_status: string;
|
|
578
|
+
exchange_name: string;
|
|
579
|
+
}
|
|
580
|
+
export interface GetOkxIsRequestedResponse {
|
|
581
|
+
status: ResponseStatus | undefined;
|
|
582
|
+
data: boolean;
|
|
583
|
+
}
|
|
584
|
+
export interface GetOkxStatusDto {
|
|
585
|
+
uid: string;
|
|
586
|
+
exchange_name: string;
|
|
587
|
+
status: string;
|
|
588
|
+
}
|
|
589
|
+
export interface GetOkxStatusResponse {
|
|
590
|
+
status: ResponseStatus | undefined;
|
|
591
|
+
data: GetOkxStatusDto | undefined;
|
|
592
|
+
}
|
|
559
593
|
export declare const MICRO_V1_EDUCATION_PACKAGE_NAME = "micro.v1.education";
|
|
@@ -1029,3 +1029,93 @@ export declare class ExcelDataListResponse extends Message<ExcelDataListResponse
|
|
|
1029
1029
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExcelDataListResponse;
|
|
1030
1030
|
static equals(a: ExcelDataListResponse | PlainMessage<ExcelDataListResponse> | undefined, b: ExcelDataListResponse | PlainMessage<ExcelDataListResponse> | undefined): boolean;
|
|
1031
1031
|
}
|
|
1032
|
+
export declare class StoreOkxRequest extends Message<StoreOkxRequest> {
|
|
1033
|
+
email: string;
|
|
1034
|
+
telegram: string;
|
|
1035
|
+
okxUid: string;
|
|
1036
|
+
constructor(data?: PartialMessage<StoreOkxRequest>);
|
|
1037
|
+
static readonly runtime: typeof proto3;
|
|
1038
|
+
static readonly typeName = "micro.v1.education.StoreOkxRequest";
|
|
1039
|
+
static readonly fields: FieldList;
|
|
1040
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StoreOkxRequest;
|
|
1041
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StoreOkxRequest;
|
|
1042
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StoreOkxRequest;
|
|
1043
|
+
static equals(a: StoreOkxRequest | PlainMessage<StoreOkxRequest> | undefined, b: StoreOkxRequest | PlainMessage<StoreOkxRequest> | undefined): boolean;
|
|
1044
|
+
}
|
|
1045
|
+
export declare class UpdateOkxRequest extends Message<UpdateOkxRequest> {
|
|
1046
|
+
email: string;
|
|
1047
|
+
telegram: string;
|
|
1048
|
+
okxUid: string;
|
|
1049
|
+
constructor(data?: PartialMessage<UpdateOkxRequest>);
|
|
1050
|
+
static readonly runtime: typeof proto3;
|
|
1051
|
+
static readonly typeName = "micro.v1.education.UpdateOkxRequest";
|
|
1052
|
+
static readonly fields: FieldList;
|
|
1053
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOkxRequest;
|
|
1054
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOkxRequest;
|
|
1055
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOkxRequest;
|
|
1056
|
+
static equals(a: UpdateOkxRequest | PlainMessage<UpdateOkxRequest> | undefined, b: UpdateOkxRequest | PlainMessage<UpdateOkxRequest> | undefined): boolean;
|
|
1057
|
+
}
|
|
1058
|
+
export declare class GetOkxResponse extends Message<GetOkxResponse> {
|
|
1059
|
+
status?: ResponseStatus;
|
|
1060
|
+
data?: OkxDto;
|
|
1061
|
+
constructor(data?: PartialMessage<GetOkxResponse>);
|
|
1062
|
+
static readonly runtime: typeof proto3;
|
|
1063
|
+
static readonly typeName = "micro.v1.education.GetOkxResponse";
|
|
1064
|
+
static readonly fields: FieldList;
|
|
1065
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOkxResponse;
|
|
1066
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOkxResponse;
|
|
1067
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOkxResponse;
|
|
1068
|
+
static equals(a: GetOkxResponse | PlainMessage<GetOkxResponse> | undefined, b: GetOkxResponse | PlainMessage<GetOkxResponse> | undefined): boolean;
|
|
1069
|
+
}
|
|
1070
|
+
export declare class OkxDto extends Message<OkxDto> {
|
|
1071
|
+
email: string;
|
|
1072
|
+
telegram: string;
|
|
1073
|
+
okxUid: string;
|
|
1074
|
+
uidStatus: string;
|
|
1075
|
+
exchangeName: string;
|
|
1076
|
+
constructor(data?: PartialMessage<OkxDto>);
|
|
1077
|
+
static readonly runtime: typeof proto3;
|
|
1078
|
+
static readonly typeName = "micro.v1.education.OkxDto";
|
|
1079
|
+
static readonly fields: FieldList;
|
|
1080
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OkxDto;
|
|
1081
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OkxDto;
|
|
1082
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OkxDto;
|
|
1083
|
+
static equals(a: OkxDto | PlainMessage<OkxDto> | undefined, b: OkxDto | PlainMessage<OkxDto> | undefined): boolean;
|
|
1084
|
+
}
|
|
1085
|
+
export declare class GetOkxIsRequestedResponse extends Message<GetOkxIsRequestedResponse> {
|
|
1086
|
+
status?: ResponseStatus;
|
|
1087
|
+
data: boolean;
|
|
1088
|
+
constructor(data?: PartialMessage<GetOkxIsRequestedResponse>);
|
|
1089
|
+
static readonly runtime: typeof proto3;
|
|
1090
|
+
static readonly typeName = "micro.v1.education.GetOkxIsRequestedResponse";
|
|
1091
|
+
static readonly fields: FieldList;
|
|
1092
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOkxIsRequestedResponse;
|
|
1093
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOkxIsRequestedResponse;
|
|
1094
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOkxIsRequestedResponse;
|
|
1095
|
+
static equals(a: GetOkxIsRequestedResponse | PlainMessage<GetOkxIsRequestedResponse> | undefined, b: GetOkxIsRequestedResponse | PlainMessage<GetOkxIsRequestedResponse> | undefined): boolean;
|
|
1096
|
+
}
|
|
1097
|
+
export declare class GetOkxStatusDto extends Message<GetOkxStatusDto> {
|
|
1098
|
+
uid: string;
|
|
1099
|
+
exchangeName: string;
|
|
1100
|
+
status: string;
|
|
1101
|
+
constructor(data?: PartialMessage<GetOkxStatusDto>);
|
|
1102
|
+
static readonly runtime: typeof proto3;
|
|
1103
|
+
static readonly typeName = "micro.v1.education.GetOkxStatusDto";
|
|
1104
|
+
static readonly fields: FieldList;
|
|
1105
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOkxStatusDto;
|
|
1106
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOkxStatusDto;
|
|
1107
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOkxStatusDto;
|
|
1108
|
+
static equals(a: GetOkxStatusDto | PlainMessage<GetOkxStatusDto> | undefined, b: GetOkxStatusDto | PlainMessage<GetOkxStatusDto> | undefined): boolean;
|
|
1109
|
+
}
|
|
1110
|
+
export declare class GetOkxStatusResponse extends Message<GetOkxStatusResponse> {
|
|
1111
|
+
status?: ResponseStatus;
|
|
1112
|
+
data?: GetOkxStatusDto;
|
|
1113
|
+
constructor(data?: PartialMessage<GetOkxStatusResponse>);
|
|
1114
|
+
static readonly runtime: typeof proto3;
|
|
1115
|
+
static readonly typeName = "micro.v1.education.GetOkxStatusResponse";
|
|
1116
|
+
static readonly fields: FieldList;
|
|
1117
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOkxStatusResponse;
|
|
1118
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOkxStatusResponse;
|
|
1119
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOkxStatusResponse;
|
|
1120
|
+
static equals(a: GetOkxStatusResponse | PlainMessage<GetOkxStatusResponse> | undefined, b: GetOkxStatusResponse | PlainMessage<GetOkxStatusResponse> | undefined): boolean;
|
|
1121
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VipUserAdminUpdateRequest = exports.VipUserAdminSingleResponse = exports.VipUserAdminListResponse = exports.VipUserAdminListRequest = exports.VipUserAdminDto = exports.UserVipFormRequest = exports.UserVipFormDto = exports.VipPageStatusResponse = exports.UserVipFormResponse = exports.LastWatchedVideoResponse = exports.StoreLastWatchedVideoRequest = exports.ReferralDetails = exports.ReferralDetailsDto = exports.ReferralDetailsResponse = exports.ReferralUidResponse = exports.ReferralUidRequest = exports.ContentOrderUpdate = exports.BulkUpdateContentOrderRequest = exports.ContentListResponse = exports.ContentSingleResponse = exports.ContentListRequest = exports.ContentUpdateRequest = exports.ContentCreateRequest = exports.ContentDto = exports.LessonOrderUpdate = exports.BulkUpdateLessonOrderRequest = exports.LessonListResponse = exports.LessonSingleResponse = exports.LessonListRequest = exports.LessonUpdateRequest = exports.LessonCreateRequest = exports.CourseOrderUpdate = exports.BulkUpdateCourseOrderRequest = exports.CourseTreeResponse = exports.CourseListResponse = exports.CourseSingleResponse = exports.CourseTreeRequest = exports.CourseListRequest = exports.CourseUpdateRequest = exports.CourseCreateRequest = exports.EducationArchiveRequest = exports.EducationPublishRequest = exports.EducationListResponse = exports.EducationSingleResponse = exports.EducationListRequest = exports.EducationUpdateRequest = exports.EducationCreateRequest = exports.LessonDto = exports.CourseDto = exports.EducationDto = void 0;
|
|
4
|
-
exports.ExcelDataListResponse = exports.ExcelDataByUidRequest = exports.ExcelDataDto = exports.ExchangeDataItemDto = exports.ExcelDataComparisonDto = exports.ExcelDataEntryDto = exports.UserRefAdminDeleteRequest = exports.UserRefAdminUpdateRequest = exports.UserRefAdminCreateRequest = exports.UserRefAdminSingleResponse = exports.UserRefAdminListResponse = exports.UserRefAdminListRequest = exports.UserRefAdminDto = exports.UserRefUpdateByUserIdResponse = exports.UserRefUpdateByUserIdRequest = exports.UserRefsByUserIdResponse = exports.UserRefsByUserIdRequest = void 0;
|
|
4
|
+
exports.GetOkxStatusResponse = exports.GetOkxStatusDto = exports.GetOkxIsRequestedResponse = exports.OkxDto = exports.GetOkxResponse = exports.UpdateOkxRequest = exports.StoreOkxRequest = exports.ExcelDataListResponse = exports.ExcelDataByUidRequest = exports.ExcelDataDto = exports.ExchangeDataItemDto = exports.ExcelDataComparisonDto = exports.ExcelDataEntryDto = exports.UserRefAdminDeleteRequest = exports.UserRefAdminUpdateRequest = exports.UserRefAdminCreateRequest = exports.UserRefAdminSingleResponse = exports.UserRefAdminListResponse = exports.UserRefAdminListRequest = exports.UserRefAdminDto = exports.UserRefUpdateByUserIdResponse = exports.UserRefUpdateByUserIdRequest = exports.UserRefsByUserIdResponse = exports.UserRefsByUserIdRequest = void 0;
|
|
5
5
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
6
6
|
const general_pb_js_1 = require("../general_pb.js");
|
|
7
7
|
class EducationDto extends protobuf_1.Message {
|
|
@@ -2172,3 +2172,204 @@ class ExcelDataListResponse extends protobuf_1.Message {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
}
|
|
2174
2174
|
exports.ExcelDataListResponse = ExcelDataListResponse;
|
|
2175
|
+
class StoreOkxRequest extends protobuf_1.Message {
|
|
2176
|
+
email = "";
|
|
2177
|
+
telegram = "";
|
|
2178
|
+
okxUid = "";
|
|
2179
|
+
constructor(data) {
|
|
2180
|
+
super();
|
|
2181
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2182
|
+
}
|
|
2183
|
+
static runtime = protobuf_1.proto3;
|
|
2184
|
+
static typeName = "micro.v1.education.StoreOkxRequest";
|
|
2185
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2186
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 },
|
|
2187
|
+
{ no: 2, name: "telegram", kind: "scalar", T: 9 },
|
|
2188
|
+
{ no: 3, name: "okx_uid", kind: "scalar", T: 9 },
|
|
2189
|
+
]);
|
|
2190
|
+
static fromBinary(bytes, options) {
|
|
2191
|
+
return new StoreOkxRequest().fromBinary(bytes, options);
|
|
2192
|
+
}
|
|
2193
|
+
static fromJson(jsonValue, options) {
|
|
2194
|
+
return new StoreOkxRequest().fromJson(jsonValue, options);
|
|
2195
|
+
}
|
|
2196
|
+
static fromJsonString(jsonString, options) {
|
|
2197
|
+
return new StoreOkxRequest().fromJsonString(jsonString, options);
|
|
2198
|
+
}
|
|
2199
|
+
static equals(a, b) {
|
|
2200
|
+
return protobuf_1.proto3.util.equals(StoreOkxRequest, a, b);
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
exports.StoreOkxRequest = StoreOkxRequest;
|
|
2204
|
+
class UpdateOkxRequest extends protobuf_1.Message {
|
|
2205
|
+
email = "";
|
|
2206
|
+
telegram = "";
|
|
2207
|
+
okxUid = "";
|
|
2208
|
+
constructor(data) {
|
|
2209
|
+
super();
|
|
2210
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2211
|
+
}
|
|
2212
|
+
static runtime = protobuf_1.proto3;
|
|
2213
|
+
static typeName = "micro.v1.education.UpdateOkxRequest";
|
|
2214
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2215
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 },
|
|
2216
|
+
{ no: 2, name: "telegram", kind: "scalar", T: 9 },
|
|
2217
|
+
{ no: 3, name: "okx_uid", kind: "scalar", T: 9 },
|
|
2218
|
+
]);
|
|
2219
|
+
static fromBinary(bytes, options) {
|
|
2220
|
+
return new UpdateOkxRequest().fromBinary(bytes, options);
|
|
2221
|
+
}
|
|
2222
|
+
static fromJson(jsonValue, options) {
|
|
2223
|
+
return new UpdateOkxRequest().fromJson(jsonValue, options);
|
|
2224
|
+
}
|
|
2225
|
+
static fromJsonString(jsonString, options) {
|
|
2226
|
+
return new UpdateOkxRequest().fromJsonString(jsonString, options);
|
|
2227
|
+
}
|
|
2228
|
+
static equals(a, b) {
|
|
2229
|
+
return protobuf_1.proto3.util.equals(UpdateOkxRequest, a, b);
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
exports.UpdateOkxRequest = UpdateOkxRequest;
|
|
2233
|
+
class GetOkxResponse extends protobuf_1.Message {
|
|
2234
|
+
status;
|
|
2235
|
+
data;
|
|
2236
|
+
constructor(data) {
|
|
2237
|
+
super();
|
|
2238
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2239
|
+
}
|
|
2240
|
+
static runtime = protobuf_1.proto3;
|
|
2241
|
+
static typeName = "micro.v1.education.GetOkxResponse";
|
|
2242
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2243
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
2244
|
+
{ no: 2, name: "data", kind: "message", T: OkxDto },
|
|
2245
|
+
]);
|
|
2246
|
+
static fromBinary(bytes, options) {
|
|
2247
|
+
return new GetOkxResponse().fromBinary(bytes, options);
|
|
2248
|
+
}
|
|
2249
|
+
static fromJson(jsonValue, options) {
|
|
2250
|
+
return new GetOkxResponse().fromJson(jsonValue, options);
|
|
2251
|
+
}
|
|
2252
|
+
static fromJsonString(jsonString, options) {
|
|
2253
|
+
return new GetOkxResponse().fromJsonString(jsonString, options);
|
|
2254
|
+
}
|
|
2255
|
+
static equals(a, b) {
|
|
2256
|
+
return protobuf_1.proto3.util.equals(GetOkxResponse, a, b);
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
exports.GetOkxResponse = GetOkxResponse;
|
|
2260
|
+
class OkxDto extends protobuf_1.Message {
|
|
2261
|
+
email = "";
|
|
2262
|
+
telegram = "";
|
|
2263
|
+
okxUid = "";
|
|
2264
|
+
uidStatus = "";
|
|
2265
|
+
exchangeName = "";
|
|
2266
|
+
constructor(data) {
|
|
2267
|
+
super();
|
|
2268
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2269
|
+
}
|
|
2270
|
+
static runtime = protobuf_1.proto3;
|
|
2271
|
+
static typeName = "micro.v1.education.OkxDto";
|
|
2272
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2273
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 },
|
|
2274
|
+
{ no: 2, name: "telegram", kind: "scalar", T: 9 },
|
|
2275
|
+
{ no: 3, name: "okx_uid", kind: "scalar", T: 9 },
|
|
2276
|
+
{ no: 4, name: "uid_status", kind: "scalar", T: 9 },
|
|
2277
|
+
{ no: 5, name: "exchange_name", kind: "scalar", T: 9 },
|
|
2278
|
+
]);
|
|
2279
|
+
static fromBinary(bytes, options) {
|
|
2280
|
+
return new OkxDto().fromBinary(bytes, options);
|
|
2281
|
+
}
|
|
2282
|
+
static fromJson(jsonValue, options) {
|
|
2283
|
+
return new OkxDto().fromJson(jsonValue, options);
|
|
2284
|
+
}
|
|
2285
|
+
static fromJsonString(jsonString, options) {
|
|
2286
|
+
return new OkxDto().fromJsonString(jsonString, options);
|
|
2287
|
+
}
|
|
2288
|
+
static equals(a, b) {
|
|
2289
|
+
return protobuf_1.proto3.util.equals(OkxDto, a, b);
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
exports.OkxDto = OkxDto;
|
|
2293
|
+
class GetOkxIsRequestedResponse extends protobuf_1.Message {
|
|
2294
|
+
status;
|
|
2295
|
+
data = false;
|
|
2296
|
+
constructor(data) {
|
|
2297
|
+
super();
|
|
2298
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2299
|
+
}
|
|
2300
|
+
static runtime = protobuf_1.proto3;
|
|
2301
|
+
static typeName = "micro.v1.education.GetOkxIsRequestedResponse";
|
|
2302
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2303
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
2304
|
+
{ no: 2, name: "data", kind: "scalar", T: 8 },
|
|
2305
|
+
]);
|
|
2306
|
+
static fromBinary(bytes, options) {
|
|
2307
|
+
return new GetOkxIsRequestedResponse().fromBinary(bytes, options);
|
|
2308
|
+
}
|
|
2309
|
+
static fromJson(jsonValue, options) {
|
|
2310
|
+
return new GetOkxIsRequestedResponse().fromJson(jsonValue, options);
|
|
2311
|
+
}
|
|
2312
|
+
static fromJsonString(jsonString, options) {
|
|
2313
|
+
return new GetOkxIsRequestedResponse().fromJsonString(jsonString, options);
|
|
2314
|
+
}
|
|
2315
|
+
static equals(a, b) {
|
|
2316
|
+
return protobuf_1.proto3.util.equals(GetOkxIsRequestedResponse, a, b);
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2319
|
+
exports.GetOkxIsRequestedResponse = GetOkxIsRequestedResponse;
|
|
2320
|
+
class GetOkxStatusDto extends protobuf_1.Message {
|
|
2321
|
+
uid = "";
|
|
2322
|
+
exchangeName = "";
|
|
2323
|
+
status = "";
|
|
2324
|
+
constructor(data) {
|
|
2325
|
+
super();
|
|
2326
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2327
|
+
}
|
|
2328
|
+
static runtime = protobuf_1.proto3;
|
|
2329
|
+
static typeName = "micro.v1.education.GetOkxStatusDto";
|
|
2330
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2331
|
+
{ no: 1, name: "uid", kind: "scalar", T: 9 },
|
|
2332
|
+
{ no: 2, name: "exchange_name", kind: "scalar", T: 9 },
|
|
2333
|
+
{ no: 3, name: "status", kind: "scalar", T: 9 },
|
|
2334
|
+
]);
|
|
2335
|
+
static fromBinary(bytes, options) {
|
|
2336
|
+
return new GetOkxStatusDto().fromBinary(bytes, options);
|
|
2337
|
+
}
|
|
2338
|
+
static fromJson(jsonValue, options) {
|
|
2339
|
+
return new GetOkxStatusDto().fromJson(jsonValue, options);
|
|
2340
|
+
}
|
|
2341
|
+
static fromJsonString(jsonString, options) {
|
|
2342
|
+
return new GetOkxStatusDto().fromJsonString(jsonString, options);
|
|
2343
|
+
}
|
|
2344
|
+
static equals(a, b) {
|
|
2345
|
+
return protobuf_1.proto3.util.equals(GetOkxStatusDto, a, b);
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
exports.GetOkxStatusDto = GetOkxStatusDto;
|
|
2349
|
+
class GetOkxStatusResponse extends protobuf_1.Message {
|
|
2350
|
+
status;
|
|
2351
|
+
data;
|
|
2352
|
+
constructor(data) {
|
|
2353
|
+
super();
|
|
2354
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2355
|
+
}
|
|
2356
|
+
static runtime = protobuf_1.proto3;
|
|
2357
|
+
static typeName = "micro.v1.education.GetOkxStatusResponse";
|
|
2358
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2359
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
2360
|
+
{ no: 2, name: "data", kind: "message", T: GetOkxStatusDto },
|
|
2361
|
+
]);
|
|
2362
|
+
static fromBinary(bytes, options) {
|
|
2363
|
+
return new GetOkxStatusResponse().fromBinary(bytes, options);
|
|
2364
|
+
}
|
|
2365
|
+
static fromJson(jsonValue, options) {
|
|
2366
|
+
return new GetOkxStatusResponse().fromJson(jsonValue, options);
|
|
2367
|
+
}
|
|
2368
|
+
static fromJsonString(jsonString, options) {
|
|
2369
|
+
return new GetOkxStatusResponse().fromJsonString(jsonString, options);
|
|
2370
|
+
}
|
|
2371
|
+
static equals(a, b) {
|
|
2372
|
+
return protobuf_1.proto3.util.equals(GetOkxStatusResponse, a, b);
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
exports.GetOkxStatusResponse = GetOkxStatusResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BulkUpdateContentOrderRequest, BulkUpdateCourseOrderRequest, BulkUpdateLessonOrderRequest, ContentCreateRequest, ContentListRequest, ContentListResponse, ContentSingleResponse, ContentUpdateRequest, CourseCreateRequest, CourseListRequest, CourseListResponse, CourseSingleResponse, CourseTreeRequest, CourseTreeResponse, CourseUpdateRequest, EducationArchiveRequest, EducationCreateRequest, EducationListRequest, EducationListResponse, EducationPublishRequest, EducationSingleResponse, EducationUpdateRequest, ExcelDataByUidRequest, ExcelDataListResponse, LastWatchedVideoResponse, LessonCreateRequest, LessonListRequest, LessonListResponse, LessonSingleResponse, LessonUpdateRequest, ReferralDetailsResponse, ReferralUidRequest, ReferralUidResponse, StoreLastWatchedVideoRequest, UserRefAdminCreateRequest, UserRefAdminListRequest, UserRefAdminListResponse, UserRefAdminSingleResponse, UserRefAdminUpdateRequest, UserRefsByUserIdRequest, UserRefsByUserIdResponse, UserRefUpdateByUserIdRequest, UserRefUpdateByUserIdResponse, UserVipFormRequest, UserVipFormResponse, VipPageStatusResponse, VipUserAdminListRequest, VipUserAdminListResponse, VipUserAdminSingleResponse, VipUserAdminUpdateRequest } from "./education_messages_pb.js";
|
|
1
|
+
import { BulkUpdateContentOrderRequest, BulkUpdateCourseOrderRequest, BulkUpdateLessonOrderRequest, ContentCreateRequest, ContentListRequest, ContentListResponse, ContentSingleResponse, ContentUpdateRequest, CourseCreateRequest, CourseListRequest, CourseListResponse, CourseSingleResponse, CourseTreeRequest, CourseTreeResponse, CourseUpdateRequest, EducationArchiveRequest, EducationCreateRequest, EducationListRequest, EducationListResponse, EducationPublishRequest, EducationSingleResponse, EducationUpdateRequest, ExcelDataByUidRequest, ExcelDataListResponse, GetOkxIsRequestedResponse, GetOkxResponse, GetOkxStatusResponse, LastWatchedVideoResponse, LessonCreateRequest, LessonListRequest, LessonListResponse, LessonSingleResponse, LessonUpdateRequest, ReferralDetailsResponse, ReferralUidRequest, ReferralUidResponse, StoreLastWatchedVideoRequest, StoreOkxRequest, UpdateOkxRequest, UserRefAdminCreateRequest, UserRefAdminListRequest, UserRefAdminListResponse, UserRefAdminSingleResponse, UserRefAdminUpdateRequest, UserRefsByUserIdRequest, UserRefsByUserIdResponse, UserRefUpdateByUserIdRequest, UserRefUpdateByUserIdResponse, UserVipFormRequest, UserVipFormResponse, VipPageStatusResponse, VipUserAdminListRequest, VipUserAdminListResponse, VipUserAdminSingleResponse, VipUserAdminUpdateRequest } from "./education_messages_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
import { ByIdRequest, EmptyRequest, EmptyResponse } from "../general_pb.js";
|
|
4
4
|
export declare const PEducationService: {
|
|
@@ -512,3 +512,44 @@ export declare const PExcelDataAdminService: {
|
|
|
512
512
|
};
|
|
513
513
|
};
|
|
514
514
|
};
|
|
515
|
+
export declare const POkxService: {
|
|
516
|
+
readonly typeName: "micro.v1.education.POkxService";
|
|
517
|
+
readonly methods: {
|
|
518
|
+
readonly store: {
|
|
519
|
+
readonly name: "store";
|
|
520
|
+
readonly I: typeof StoreOkxRequest;
|
|
521
|
+
readonly O: typeof GetOkxResponse;
|
|
522
|
+
readonly kind: MethodKind.Unary;
|
|
523
|
+
};
|
|
524
|
+
readonly update: {
|
|
525
|
+
readonly name: "update";
|
|
526
|
+
readonly I: typeof UpdateOkxRequest;
|
|
527
|
+
readonly O: typeof GetOkxResponse;
|
|
528
|
+
readonly kind: MethodKind.Unary;
|
|
529
|
+
};
|
|
530
|
+
readonly get: {
|
|
531
|
+
readonly name: "get";
|
|
532
|
+
readonly I: typeof EmptyRequest;
|
|
533
|
+
readonly O: typeof GetOkxResponse;
|
|
534
|
+
readonly kind: MethodKind.Unary;
|
|
535
|
+
};
|
|
536
|
+
readonly getIsRequested: {
|
|
537
|
+
readonly name: "getIsRequested";
|
|
538
|
+
readonly I: typeof EmptyRequest;
|
|
539
|
+
readonly O: typeof GetOkxIsRequestedResponse;
|
|
540
|
+
readonly kind: MethodKind.Unary;
|
|
541
|
+
};
|
|
542
|
+
readonly getStatus: {
|
|
543
|
+
readonly name: "getStatus";
|
|
544
|
+
readonly I: typeof EmptyRequest;
|
|
545
|
+
readonly O: typeof GetOkxStatusResponse;
|
|
546
|
+
readonly kind: MethodKind.Unary;
|
|
547
|
+
};
|
|
548
|
+
readonly patchUid: {
|
|
549
|
+
readonly name: "patchUid";
|
|
550
|
+
readonly I: typeof ByIdRequest;
|
|
551
|
+
readonly O: typeof GetOkxResponse;
|
|
552
|
+
readonly kind: MethodKind.Unary;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PExcelDataAdminService = exports.PEducationUserDataService = exports.PUserRefsAdminService = exports.PVipAdminService = exports.PUserVipService = exports.PMediaEducationService = exports.PReferralUidService = exports.PContentAdminService = exports.PContentService = exports.PLessonService = exports.PCourseInstructorService = exports.PEducationInstructorService = exports.PLessonAdminService = exports.PCourseAdminService = exports.PEducationAdminService = exports.PCourseService = exports.PEducationService = void 0;
|
|
3
|
+
exports.POkxService = exports.PExcelDataAdminService = exports.PEducationUserDataService = exports.PUserRefsAdminService = exports.PVipAdminService = exports.PUserVipService = exports.PMediaEducationService = exports.PReferralUidService = exports.PContentAdminService = exports.PContentService = exports.PLessonService = exports.PCourseInstructorService = exports.PEducationInstructorService = exports.PLessonAdminService = exports.PCourseAdminService = exports.PEducationAdminService = exports.PCourseService = exports.PEducationService = void 0;
|
|
4
4
|
const education_messages_pb_js_1 = require("./education_messages_pb.js");
|
|
5
5
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
6
6
|
const general_pb_js_1 = require("../general_pb.js");
|
|
@@ -515,3 +515,44 @@ exports.PExcelDataAdminService = {
|
|
|
515
515
|
},
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
+
exports.POkxService = {
|
|
519
|
+
typeName: "micro.v1.education.POkxService",
|
|
520
|
+
methods: {
|
|
521
|
+
store: {
|
|
522
|
+
name: "store",
|
|
523
|
+
I: education_messages_pb_js_1.StoreOkxRequest,
|
|
524
|
+
O: education_messages_pb_js_1.GetOkxResponse,
|
|
525
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
526
|
+
},
|
|
527
|
+
update: {
|
|
528
|
+
name: "update",
|
|
529
|
+
I: education_messages_pb_js_1.UpdateOkxRequest,
|
|
530
|
+
O: education_messages_pb_js_1.GetOkxResponse,
|
|
531
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
532
|
+
},
|
|
533
|
+
get: {
|
|
534
|
+
name: "get",
|
|
535
|
+
I: general_pb_js_1.EmptyRequest,
|
|
536
|
+
O: education_messages_pb_js_1.GetOkxResponse,
|
|
537
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
538
|
+
},
|
|
539
|
+
getIsRequested: {
|
|
540
|
+
name: "getIsRequested",
|
|
541
|
+
I: general_pb_js_1.EmptyRequest,
|
|
542
|
+
O: education_messages_pb_js_1.GetOkxIsRequestedResponse,
|
|
543
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
544
|
+
},
|
|
545
|
+
getStatus: {
|
|
546
|
+
name: "getStatus",
|
|
547
|
+
I: general_pb_js_1.EmptyRequest,
|
|
548
|
+
O: education_messages_pb_js_1.GetOkxStatusResponse,
|
|
549
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
550
|
+
},
|
|
551
|
+
patchUid: {
|
|
552
|
+
name: "patchUid",
|
|
553
|
+
I: general_pb_js_1.ByIdRequest,
|
|
554
|
+
O: education_messages_pb_js_1.GetOkxResponse,
|
|
555
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
556
|
+
},
|
|
557
|
+
}
|
|
558
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Metadata } from "@grpc/grpc-js";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { ByIdRequest, EmptyRequest, EmptyResponse } from "../general_nest";
|
|
4
|
-
import { BulkUpdateContentOrderRequest, BulkUpdateCourseOrderRequest, BulkUpdateLessonOrderRequest, ContentCreateRequest, ContentListRequest, ContentListResponse, ContentSingleResponse, ContentUpdateRequest, CourseCreateRequest, CourseListRequest, CourseListResponse, CourseSingleResponse, CourseTreeRequest, CourseTreeResponse, CourseUpdateRequest, EducationArchiveRequest, EducationCreateRequest, EducationListRequest, EducationListResponse, EducationPublishRequest, EducationSingleResponse, EducationUpdateRequest, ExcelDataByUidRequest, ExcelDataListResponse, LastWatchedVideoResponse, LessonCreateRequest, LessonListRequest, LessonListResponse, LessonSingleResponse, LessonUpdateRequest, ReferralDetailsResponse, ReferralUidRequest, ReferralUidResponse, StoreLastWatchedVideoRequest, UserRefAdminCreateRequest, UserRefAdminListRequest, UserRefAdminListResponse, UserRefAdminSingleResponse, UserRefAdminUpdateRequest, UserRefsByUserIdRequest, UserRefsByUserIdResponse, UserRefUpdateByUserIdRequest, UserRefUpdateByUserIdResponse, UserVipFormRequest, UserVipFormResponse, VipPageStatusResponse, VipUserAdminListRequest, VipUserAdminListResponse, VipUserAdminSingleResponse, VipUserAdminUpdateRequest } from "./education_messages_nest";
|
|
4
|
+
import { BulkUpdateContentOrderRequest, BulkUpdateCourseOrderRequest, BulkUpdateLessonOrderRequest, ContentCreateRequest, ContentListRequest, ContentListResponse, ContentSingleResponse, ContentUpdateRequest, CourseCreateRequest, CourseListRequest, CourseListResponse, CourseSingleResponse, CourseTreeRequest, CourseTreeResponse, CourseUpdateRequest, EducationArchiveRequest, EducationCreateRequest, EducationListRequest, EducationListResponse, EducationPublishRequest, EducationSingleResponse, EducationUpdateRequest, ExcelDataByUidRequest, ExcelDataListResponse, GetOkxIsRequestedResponse, GetOkxResponse, GetOkxStatusResponse, LastWatchedVideoResponse, LessonCreateRequest, LessonListRequest, LessonListResponse, LessonSingleResponse, LessonUpdateRequest, ReferralDetailsResponse, ReferralUidRequest, ReferralUidResponse, StoreLastWatchedVideoRequest, StoreOkxRequest, UpdateOkxRequest, UserRefAdminCreateRequest, UserRefAdminListRequest, UserRefAdminListResponse, UserRefAdminSingleResponse, UserRefAdminUpdateRequest, UserRefsByUserIdRequest, UserRefsByUserIdResponse, UserRefUpdateByUserIdRequest, UserRefUpdateByUserIdResponse, UserVipFormRequest, UserVipFormResponse, VipPageStatusResponse, VipUserAdminListRequest, VipUserAdminListResponse, VipUserAdminSingleResponse, VipUserAdminUpdateRequest } from "./education_messages_nest";
|
|
5
5
|
export declare const protobufPackage = "micro.v1.education";
|
|
6
6
|
export declare const MICRO_V1_EDUCATION_PACKAGE_NAME = "micro.v1.education";
|
|
7
7
|
export interface PEducationServiceClient {
|
|
@@ -248,3 +248,21 @@ export interface PExcelDataAdminServiceController {
|
|
|
248
248
|
}
|
|
249
249
|
export declare function PExcelDataAdminServiceControllerMethods(): (constructor: Function) => void;
|
|
250
250
|
export declare const P_EXCEL_DATA_ADMIN_SERVICE_NAME = "PExcelDataAdminService";
|
|
251
|
+
export interface POkxServiceClient {
|
|
252
|
+
store(request: StoreOkxRequest, metadata?: Metadata): Observable<GetOkxResponse>;
|
|
253
|
+
update(request: UpdateOkxRequest, metadata?: Metadata): Observable<GetOkxResponse>;
|
|
254
|
+
get(request: EmptyRequest, metadata?: Metadata): Observable<GetOkxResponse>;
|
|
255
|
+
getIsRequested(request: EmptyRequest, metadata?: Metadata): Observable<GetOkxIsRequestedResponse>;
|
|
256
|
+
getStatus(request: EmptyRequest, metadata?: Metadata): Observable<GetOkxStatusResponse>;
|
|
257
|
+
patchUid(request: ByIdRequest, metadata?: Metadata): Observable<GetOkxResponse>;
|
|
258
|
+
}
|
|
259
|
+
export interface POkxServiceController {
|
|
260
|
+
store(request: StoreOkxRequest, metadata?: Metadata): Promise<GetOkxResponse> | Observable<GetOkxResponse> | GetOkxResponse;
|
|
261
|
+
update(request: UpdateOkxRequest, metadata?: Metadata): Promise<GetOkxResponse> | Observable<GetOkxResponse> | GetOkxResponse;
|
|
262
|
+
get(request: EmptyRequest, metadata?: Metadata): Promise<GetOkxResponse> | Observable<GetOkxResponse> | GetOkxResponse;
|
|
263
|
+
getIsRequested(request: EmptyRequest, metadata?: Metadata): Promise<GetOkxIsRequestedResponse> | Observable<GetOkxIsRequestedResponse> | GetOkxIsRequestedResponse;
|
|
264
|
+
getStatus(request: EmptyRequest, metadata?: Metadata): Promise<GetOkxStatusResponse> | Observable<GetOkxStatusResponse> | GetOkxStatusResponse;
|
|
265
|
+
patchUid(request: ByIdRequest, metadata?: Metadata): Promise<GetOkxResponse> | Observable<GetOkxResponse> | GetOkxResponse;
|
|
266
|
+
}
|
|
267
|
+
export declare function POkxServiceControllerMethods(): (constructor: Function) => void;
|
|
268
|
+
export declare const P_OKX_SERVICE_NAME = "POkxService";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.P_EXCEL_DATA_ADMIN_SERVICE_NAME = exports.P_EDUCATION_USER_DATA_SERVICE_NAME = exports.P_USER_REFS_ADMIN_SERVICE_NAME = exports.P_VIP_ADMIN_SERVICE_NAME = exports.P_USER_VIP_SERVICE_NAME = exports.P_MEDIA_EDUCATION_SERVICE_NAME = exports.P_REFERRAL_UID_SERVICE_NAME = exports.P_CONTENT_ADMIN_SERVICE_NAME = exports.P_CONTENT_SERVICE_NAME = exports.P_LESSON_SERVICE_NAME = exports.P_COURSE_INSTRUCTOR_SERVICE_NAME = exports.P_EDUCATION_INSTRUCTOR_SERVICE_NAME = exports.P_LESSON_ADMIN_SERVICE_NAME = exports.P_COURSE_ADMIN_SERVICE_NAME = exports.P_EDUCATION_ADMIN_SERVICE_NAME = exports.P_COURSE_SERVICE_NAME = exports.P_EDUCATION_SERVICE_NAME = exports.MICRO_V1_EDUCATION_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
3
|
+
exports.P_OKX_SERVICE_NAME = exports.P_EXCEL_DATA_ADMIN_SERVICE_NAME = exports.P_EDUCATION_USER_DATA_SERVICE_NAME = exports.P_USER_REFS_ADMIN_SERVICE_NAME = exports.P_VIP_ADMIN_SERVICE_NAME = exports.P_USER_VIP_SERVICE_NAME = exports.P_MEDIA_EDUCATION_SERVICE_NAME = exports.P_REFERRAL_UID_SERVICE_NAME = exports.P_CONTENT_ADMIN_SERVICE_NAME = exports.P_CONTENT_SERVICE_NAME = exports.P_LESSON_SERVICE_NAME = exports.P_COURSE_INSTRUCTOR_SERVICE_NAME = exports.P_EDUCATION_INSTRUCTOR_SERVICE_NAME = exports.P_LESSON_ADMIN_SERVICE_NAME = exports.P_COURSE_ADMIN_SERVICE_NAME = exports.P_EDUCATION_ADMIN_SERVICE_NAME = exports.P_COURSE_SERVICE_NAME = exports.P_EDUCATION_SERVICE_NAME = exports.MICRO_V1_EDUCATION_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
4
4
|
exports.PEducationServiceControllerMethods = PEducationServiceControllerMethods;
|
|
5
5
|
exports.PCourseServiceControllerMethods = PCourseServiceControllerMethods;
|
|
6
6
|
exports.PEducationAdminServiceControllerMethods = PEducationAdminServiceControllerMethods;
|
|
@@ -18,6 +18,7 @@ exports.PVipAdminServiceControllerMethods = PVipAdminServiceControllerMethods;
|
|
|
18
18
|
exports.PUserRefsAdminServiceControllerMethods = PUserRefsAdminServiceControllerMethods;
|
|
19
19
|
exports.PEducationUserDataServiceControllerMethods = PEducationUserDataServiceControllerMethods;
|
|
20
20
|
exports.PExcelDataAdminServiceControllerMethods = PExcelDataAdminServiceControllerMethods;
|
|
21
|
+
exports.POkxServiceControllerMethods = POkxServiceControllerMethods;
|
|
21
22
|
const microservices_1 = require("@nestjs/microservices");
|
|
22
23
|
exports.protobufPackage = "micro.v1.education";
|
|
23
24
|
exports.MICRO_V1_EDUCATION_PACKAGE_NAME = "micro.v1.education";
|
|
@@ -284,3 +285,18 @@ function PExcelDataAdminServiceControllerMethods() {
|
|
|
284
285
|
};
|
|
285
286
|
}
|
|
286
287
|
exports.P_EXCEL_DATA_ADMIN_SERVICE_NAME = "PExcelDataAdminService";
|
|
288
|
+
function POkxServiceControllerMethods() {
|
|
289
|
+
return function (constructor) {
|
|
290
|
+
const grpcMethods = ["store", "update", "get", "getIsRequested", "getStatus", "patchUid"];
|
|
291
|
+
for (const method of grpcMethods) {
|
|
292
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
293
|
+
(0, microservices_1.GrpcMethod)("POkxService", method)(constructor.prototype[method], method, descriptor);
|
|
294
|
+
}
|
|
295
|
+
const grpcStreamMethods = [];
|
|
296
|
+
for (const method of grpcStreamMethods) {
|
|
297
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
298
|
+
(0, microservices_1.GrpcStreamMethod)("POkxService", method)(constructor.prototype[method], method, descriptor);
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
exports.P_OKX_SERVICE_NAME = "POkxService";
|
package/package.json
CHANGED
|
@@ -519,4 +519,47 @@ message ExcelDataListResponse {
|
|
|
519
519
|
ResponseStatus status = 1;
|
|
520
520
|
repeated ExcelDataDto data = 2;
|
|
521
521
|
int32 total = 3;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
message StoreOkxRequest {
|
|
526
|
+
string email = 1;
|
|
527
|
+
string telegram = 2;
|
|
528
|
+
string okx_uid = 3;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
message UpdateOkxRequest {
|
|
532
|
+
string email = 1;
|
|
533
|
+
string telegram = 2;
|
|
534
|
+
string okx_uid = 3;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
message GetOkxResponse {
|
|
538
|
+
ResponseStatus status = 1;
|
|
539
|
+
OkxDto data = 2;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
message OkxDto {
|
|
543
|
+
string email = 1;
|
|
544
|
+
string telegram = 2;
|
|
545
|
+
string okx_uid = 3;
|
|
546
|
+
string uid_status = 4;
|
|
547
|
+
string exchange_name = 5;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
message GetOkxIsRequestedResponse {
|
|
551
|
+
ResponseStatus status = 1;
|
|
552
|
+
bool data = 2;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
message GetOkxStatusDto {
|
|
556
|
+
string uid = 1;
|
|
557
|
+
string exchange_name = 2;
|
|
558
|
+
string status = 3;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
message GetOkxStatusResponse {
|
|
563
|
+
ResponseStatus status = 1;
|
|
564
|
+
GetOkxStatusDto data = 2;
|
|
522
565
|
}
|
|
@@ -126,4 +126,13 @@ service PEducationUserDataService {
|
|
|
126
126
|
|
|
127
127
|
service PExcelDataAdminService {
|
|
128
128
|
rpc getByUid(ExcelDataByUidRequest) returns (ExcelDataListResponse);
|
|
129
|
-
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
service POkxService {
|
|
132
|
+
rpc store(StoreOkxRequest) returns (GetOkxResponse);
|
|
133
|
+
rpc update(UpdateOkxRequest) returns (GetOkxResponse);
|
|
134
|
+
rpc get(EmptyRequest) returns (GetOkxResponse);
|
|
135
|
+
rpc getIsRequested(EmptyRequest) returns (GetOkxIsRequestedResponse);
|
|
136
|
+
rpc getStatus(EmptyRequest) returns (GetOkxStatusResponse);
|
|
137
|
+
rpc patchUid(ByIdRequest) returns (GetOkxResponse);
|
|
138
|
+
}
|