@alexochihua/protos 1.0.35 → 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/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.d.ts +65 -1
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.js +291 -1
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.js.map +1 -1
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.d.ts +5 -0
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.js +53 -1
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs_types.js.map +1 -1
- package/dist/generated/kapital/products/v1/catalogs_products.d.ts +92 -0
- package/dist/generated/kapital/products/v1/catalogs_products.js +308 -0
- package/dist/generated/kapital/products/v1/catalogs_products.js.map +1 -0
- package/dist/generated/kapital/products/v1/catalogs_products_types.d.ts +18 -0
- package/dist/generated/kapital/products/v1/catalogs_products_types.js +64 -0
- package/dist/generated/kapital/products/v1/catalogs_products_types.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +15 -1
- package/proto/kapital/fraud_catalogs/v1/fraud_catalogs.proto +26 -0
- package/proto/kapital/fraud_catalogs/v1/fraud_catalogs_types.proto +5 -0
- package/proto/kapital/products/v1/catalogs_products.proto +37 -0
- package/proto/kapital/products/v1/catalogs_products_types.proto +10 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
3
|
+
import { ResponseMeta } from "../../common/v1/meta";
|
|
4
|
+
import { CatalogItem } from "./catalogs_products_types";
|
|
5
|
+
export declare const protobufPackage = "kapital.products.v1";
|
|
6
|
+
export interface GetCatRuleParametersRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetCatRuleParametersResponse {
|
|
9
|
+
meta: ResponseMeta | undefined;
|
|
10
|
+
rule_parameters: CatalogItem[];
|
|
11
|
+
}
|
|
12
|
+
export interface GetCatRuleOperatorsRequest {
|
|
13
|
+
rule_parameter?: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
export interface GetCatRuleOperatorsResponse {
|
|
16
|
+
meta: ResponseMeta | undefined;
|
|
17
|
+
rule_operators: CatalogItem[];
|
|
18
|
+
}
|
|
19
|
+
export interface GetCatPeriodsRequest {
|
|
20
|
+
}
|
|
21
|
+
export interface GetCatPeriodsResponse {
|
|
22
|
+
meta: ResponseMeta | undefined;
|
|
23
|
+
periods: CatalogItem[];
|
|
24
|
+
}
|
|
25
|
+
export declare const GetCatRuleParametersRequest: MessageFns<GetCatRuleParametersRequest>;
|
|
26
|
+
export declare const GetCatRuleParametersResponse: MessageFns<GetCatRuleParametersResponse>;
|
|
27
|
+
export declare const GetCatRuleOperatorsRequest: MessageFns<GetCatRuleOperatorsRequest>;
|
|
28
|
+
export declare const GetCatRuleOperatorsResponse: MessageFns<GetCatRuleOperatorsResponse>;
|
|
29
|
+
export declare const GetCatPeriodsRequest: MessageFns<GetCatPeriodsRequest>;
|
|
30
|
+
export declare const GetCatPeriodsResponse: MessageFns<GetCatPeriodsResponse>;
|
|
31
|
+
export type CatalogsProductServiceService = typeof CatalogsProductServiceService;
|
|
32
|
+
export declare const CatalogsProductServiceService: {
|
|
33
|
+
readonly getCatRuleParameters: {
|
|
34
|
+
readonly path: "/kapital.products.v1.CatalogsProductService/GetCatRuleParameters";
|
|
35
|
+
readonly requestStream: false;
|
|
36
|
+
readonly responseStream: false;
|
|
37
|
+
readonly requestSerialize: (value: GetCatRuleParametersRequest) => Buffer;
|
|
38
|
+
readonly requestDeserialize: (value: Buffer) => GetCatRuleParametersRequest;
|
|
39
|
+
readonly responseSerialize: (value: GetCatRuleParametersResponse) => Buffer;
|
|
40
|
+
readonly responseDeserialize: (value: Buffer) => GetCatRuleParametersResponse;
|
|
41
|
+
};
|
|
42
|
+
readonly getCatRuleOperators: {
|
|
43
|
+
readonly path: "/kapital.products.v1.CatalogsProductService/GetCatRuleOperators";
|
|
44
|
+
readonly requestStream: false;
|
|
45
|
+
readonly responseStream: false;
|
|
46
|
+
readonly requestSerialize: (value: GetCatRuleOperatorsRequest) => Buffer;
|
|
47
|
+
readonly requestDeserialize: (value: Buffer) => GetCatRuleOperatorsRequest;
|
|
48
|
+
readonly responseSerialize: (value: GetCatRuleOperatorsResponse) => Buffer;
|
|
49
|
+
readonly responseDeserialize: (value: Buffer) => GetCatRuleOperatorsResponse;
|
|
50
|
+
};
|
|
51
|
+
readonly getCatPeriods: {
|
|
52
|
+
readonly path: "/kapital.products.v1.CatalogsProductService/GetCatPeriods";
|
|
53
|
+
readonly requestStream: false;
|
|
54
|
+
readonly responseStream: false;
|
|
55
|
+
readonly requestSerialize: (value: GetCatPeriodsRequest) => Buffer;
|
|
56
|
+
readonly requestDeserialize: (value: Buffer) => GetCatPeriodsRequest;
|
|
57
|
+
readonly responseSerialize: (value: GetCatPeriodsResponse) => Buffer;
|
|
58
|
+
readonly responseDeserialize: (value: Buffer) => GetCatPeriodsResponse;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export interface CatalogsProductServiceServer extends UntypedServiceImplementation {
|
|
62
|
+
getCatRuleParameters: handleUnaryCall<GetCatRuleParametersRequest, GetCatRuleParametersResponse>;
|
|
63
|
+
getCatRuleOperators: handleUnaryCall<GetCatRuleOperatorsRequest, GetCatRuleOperatorsResponse>;
|
|
64
|
+
getCatPeriods: handleUnaryCall<GetCatPeriodsRequest, GetCatPeriodsResponse>;
|
|
65
|
+
}
|
|
66
|
+
export interface CatalogsProductServiceClient extends Client {
|
|
67
|
+
getCatRuleParameters(request: GetCatRuleParametersRequest, callback: (error: ServiceError | null, response: GetCatRuleParametersResponse) => void): ClientUnaryCall;
|
|
68
|
+
getCatRuleParameters(request: GetCatRuleParametersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatRuleParametersResponse) => void): ClientUnaryCall;
|
|
69
|
+
getCatRuleParameters(request: GetCatRuleParametersRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatRuleParametersResponse) => void): ClientUnaryCall;
|
|
70
|
+
getCatRuleOperators(request: GetCatRuleOperatorsRequest, callback: (error: ServiceError | null, response: GetCatRuleOperatorsResponse) => void): ClientUnaryCall;
|
|
71
|
+
getCatRuleOperators(request: GetCatRuleOperatorsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatRuleOperatorsResponse) => void): ClientUnaryCall;
|
|
72
|
+
getCatRuleOperators(request: GetCatRuleOperatorsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatRuleOperatorsResponse) => void): ClientUnaryCall;
|
|
73
|
+
getCatPeriods(request: GetCatPeriodsRequest, callback: (error: ServiceError | null, response: GetCatPeriodsResponse) => void): ClientUnaryCall;
|
|
74
|
+
getCatPeriods(request: GetCatPeriodsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatPeriodsResponse) => void): ClientUnaryCall;
|
|
75
|
+
getCatPeriods(request: GetCatPeriodsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatPeriodsResponse) => void): ClientUnaryCall;
|
|
76
|
+
}
|
|
77
|
+
export declare const CatalogsProductServiceClient: {
|
|
78
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): CatalogsProductServiceClient;
|
|
79
|
+
service: typeof CatalogsProductServiceService;
|
|
80
|
+
serviceName: string;
|
|
81
|
+
};
|
|
82
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
83
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
84
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
85
|
+
} : Partial<T>;
|
|
86
|
+
export interface MessageFns<T> {
|
|
87
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
88
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
89
|
+
create(base?: DeepPartial<T>): T;
|
|
90
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
91
|
+
}
|
|
92
|
+
export {};
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.6
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: kapital/products/v1/catalogs_products.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.CatalogsProductServiceClient = exports.CatalogsProductServiceService = exports.GetCatPeriodsResponse = exports.GetCatPeriodsRequest = exports.GetCatRuleOperatorsResponse = exports.GetCatRuleOperatorsRequest = exports.GetCatRuleParametersResponse = exports.GetCatRuleParametersRequest = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
const grpc_js_1 = require("@grpc/grpc-js");
|
|
12
|
+
const meta_1 = require("../../common/v1/meta");
|
|
13
|
+
const catalogs_products_types_1 = require("./catalogs_products_types");
|
|
14
|
+
exports.protobufPackage = "kapital.products.v1";
|
|
15
|
+
function createBaseGetCatRuleParametersRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.GetCatRuleParametersRequest = {
|
|
19
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
24
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBaseGetCatRuleParametersRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skip(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
create(base) {
|
|
38
|
+
return exports.GetCatRuleParametersRequest.fromPartial(base ?? {});
|
|
39
|
+
},
|
|
40
|
+
fromPartial(_) {
|
|
41
|
+
const message = createBaseGetCatRuleParametersRequest();
|
|
42
|
+
return message;
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
function createBaseGetCatRuleParametersResponse() {
|
|
46
|
+
return { meta: undefined, rule_parameters: [] };
|
|
47
|
+
}
|
|
48
|
+
exports.GetCatRuleParametersResponse = {
|
|
49
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
50
|
+
if (message.meta !== undefined) {
|
|
51
|
+
meta_1.ResponseMeta.encode(message.meta, writer.uint32(10).fork()).join();
|
|
52
|
+
}
|
|
53
|
+
for (const v of message.rule_parameters) {
|
|
54
|
+
catalogs_products_types_1.CatalogItem.encode(v, writer.uint32(18).fork()).join();
|
|
55
|
+
}
|
|
56
|
+
return writer;
|
|
57
|
+
},
|
|
58
|
+
decode(input, length) {
|
|
59
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
60
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
61
|
+
const message = createBaseGetCatRuleParametersResponse();
|
|
62
|
+
while (reader.pos < end) {
|
|
63
|
+
const tag = reader.uint32();
|
|
64
|
+
switch (tag >>> 3) {
|
|
65
|
+
case 1: {
|
|
66
|
+
if (tag !== 10) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
message.meta = meta_1.ResponseMeta.decode(reader, reader.uint32());
|
|
70
|
+
continue;
|
|
71
|
+
}
|
|
72
|
+
case 2: {
|
|
73
|
+
if (tag !== 18) {
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
message.rule_parameters.push(catalogs_products_types_1.CatalogItem.decode(reader, reader.uint32()));
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
reader.skip(tag & 7);
|
|
84
|
+
}
|
|
85
|
+
return message;
|
|
86
|
+
},
|
|
87
|
+
create(base) {
|
|
88
|
+
return exports.GetCatRuleParametersResponse.fromPartial(base ?? {});
|
|
89
|
+
},
|
|
90
|
+
fromPartial(object) {
|
|
91
|
+
const message = createBaseGetCatRuleParametersResponse();
|
|
92
|
+
message.meta = (object.meta !== undefined && object.meta !== null)
|
|
93
|
+
? meta_1.ResponseMeta.fromPartial(object.meta)
|
|
94
|
+
: undefined;
|
|
95
|
+
message.rule_parameters = object.rule_parameters?.map((e) => catalogs_products_types_1.CatalogItem.fromPartial(e)) || [];
|
|
96
|
+
return message;
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
function createBaseGetCatRuleOperatorsRequest() {
|
|
100
|
+
return { rule_parameter: undefined };
|
|
101
|
+
}
|
|
102
|
+
exports.GetCatRuleOperatorsRequest = {
|
|
103
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
104
|
+
if (message.rule_parameter !== undefined) {
|
|
105
|
+
writer.uint32(10).string(message.rule_parameter);
|
|
106
|
+
}
|
|
107
|
+
return writer;
|
|
108
|
+
},
|
|
109
|
+
decode(input, length) {
|
|
110
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
111
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
112
|
+
const message = createBaseGetCatRuleOperatorsRequest();
|
|
113
|
+
while (reader.pos < end) {
|
|
114
|
+
const tag = reader.uint32();
|
|
115
|
+
switch (tag >>> 3) {
|
|
116
|
+
case 1: {
|
|
117
|
+
if (tag !== 10) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
message.rule_parameter = reader.string();
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
reader.skip(tag & 7);
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
create(base) {
|
|
132
|
+
return exports.GetCatRuleOperatorsRequest.fromPartial(base ?? {});
|
|
133
|
+
},
|
|
134
|
+
fromPartial(object) {
|
|
135
|
+
const message = createBaseGetCatRuleOperatorsRequest();
|
|
136
|
+
message.rule_parameter = object.rule_parameter ?? undefined;
|
|
137
|
+
return message;
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
function createBaseGetCatRuleOperatorsResponse() {
|
|
141
|
+
return { meta: undefined, rule_operators: [] };
|
|
142
|
+
}
|
|
143
|
+
exports.GetCatRuleOperatorsResponse = {
|
|
144
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
145
|
+
if (message.meta !== undefined) {
|
|
146
|
+
meta_1.ResponseMeta.encode(message.meta, writer.uint32(10).fork()).join();
|
|
147
|
+
}
|
|
148
|
+
for (const v of message.rule_operators) {
|
|
149
|
+
catalogs_products_types_1.CatalogItem.encode(v, writer.uint32(18).fork()).join();
|
|
150
|
+
}
|
|
151
|
+
return writer;
|
|
152
|
+
},
|
|
153
|
+
decode(input, length) {
|
|
154
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
155
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
156
|
+
const message = createBaseGetCatRuleOperatorsResponse();
|
|
157
|
+
while (reader.pos < end) {
|
|
158
|
+
const tag = reader.uint32();
|
|
159
|
+
switch (tag >>> 3) {
|
|
160
|
+
case 1: {
|
|
161
|
+
if (tag !== 10) {
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
message.meta = meta_1.ResponseMeta.decode(reader, reader.uint32());
|
|
165
|
+
continue;
|
|
166
|
+
}
|
|
167
|
+
case 2: {
|
|
168
|
+
if (tag !== 18) {
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
message.rule_operators.push(catalogs_products_types_1.CatalogItem.decode(reader, reader.uint32()));
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
reader.skip(tag & 7);
|
|
179
|
+
}
|
|
180
|
+
return message;
|
|
181
|
+
},
|
|
182
|
+
create(base) {
|
|
183
|
+
return exports.GetCatRuleOperatorsResponse.fromPartial(base ?? {});
|
|
184
|
+
},
|
|
185
|
+
fromPartial(object) {
|
|
186
|
+
const message = createBaseGetCatRuleOperatorsResponse();
|
|
187
|
+
message.meta = (object.meta !== undefined && object.meta !== null)
|
|
188
|
+
? meta_1.ResponseMeta.fromPartial(object.meta)
|
|
189
|
+
: undefined;
|
|
190
|
+
message.rule_operators = object.rule_operators?.map((e) => catalogs_products_types_1.CatalogItem.fromPartial(e)) || [];
|
|
191
|
+
return message;
|
|
192
|
+
},
|
|
193
|
+
};
|
|
194
|
+
function createBaseGetCatPeriodsRequest() {
|
|
195
|
+
return {};
|
|
196
|
+
}
|
|
197
|
+
exports.GetCatPeriodsRequest = {
|
|
198
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
199
|
+
return writer;
|
|
200
|
+
},
|
|
201
|
+
decode(input, length) {
|
|
202
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
203
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
204
|
+
const message = createBaseGetCatPeriodsRequest();
|
|
205
|
+
while (reader.pos < end) {
|
|
206
|
+
const tag = reader.uint32();
|
|
207
|
+
switch (tag >>> 3) {
|
|
208
|
+
}
|
|
209
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
reader.skip(tag & 7);
|
|
213
|
+
}
|
|
214
|
+
return message;
|
|
215
|
+
},
|
|
216
|
+
create(base) {
|
|
217
|
+
return exports.GetCatPeriodsRequest.fromPartial(base ?? {});
|
|
218
|
+
},
|
|
219
|
+
fromPartial(_) {
|
|
220
|
+
const message = createBaseGetCatPeriodsRequest();
|
|
221
|
+
return message;
|
|
222
|
+
},
|
|
223
|
+
};
|
|
224
|
+
function createBaseGetCatPeriodsResponse() {
|
|
225
|
+
return { meta: undefined, periods: [] };
|
|
226
|
+
}
|
|
227
|
+
exports.GetCatPeriodsResponse = {
|
|
228
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
229
|
+
if (message.meta !== undefined) {
|
|
230
|
+
meta_1.ResponseMeta.encode(message.meta, writer.uint32(10).fork()).join();
|
|
231
|
+
}
|
|
232
|
+
for (const v of message.periods) {
|
|
233
|
+
catalogs_products_types_1.CatalogItem.encode(v, writer.uint32(18).fork()).join();
|
|
234
|
+
}
|
|
235
|
+
return writer;
|
|
236
|
+
},
|
|
237
|
+
decode(input, length) {
|
|
238
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
239
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
240
|
+
const message = createBaseGetCatPeriodsResponse();
|
|
241
|
+
while (reader.pos < end) {
|
|
242
|
+
const tag = reader.uint32();
|
|
243
|
+
switch (tag >>> 3) {
|
|
244
|
+
case 1: {
|
|
245
|
+
if (tag !== 10) {
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
message.meta = meta_1.ResponseMeta.decode(reader, reader.uint32());
|
|
249
|
+
continue;
|
|
250
|
+
}
|
|
251
|
+
case 2: {
|
|
252
|
+
if (tag !== 18) {
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
message.periods.push(catalogs_products_types_1.CatalogItem.decode(reader, reader.uint32()));
|
|
256
|
+
continue;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
reader.skip(tag & 7);
|
|
263
|
+
}
|
|
264
|
+
return message;
|
|
265
|
+
},
|
|
266
|
+
create(base) {
|
|
267
|
+
return exports.GetCatPeriodsResponse.fromPartial(base ?? {});
|
|
268
|
+
},
|
|
269
|
+
fromPartial(object) {
|
|
270
|
+
const message = createBaseGetCatPeriodsResponse();
|
|
271
|
+
message.meta = (object.meta !== undefined && object.meta !== null)
|
|
272
|
+
? meta_1.ResponseMeta.fromPartial(object.meta)
|
|
273
|
+
: undefined;
|
|
274
|
+
message.periods = object.periods?.map((e) => catalogs_products_types_1.CatalogItem.fromPartial(e)) || [];
|
|
275
|
+
return message;
|
|
276
|
+
},
|
|
277
|
+
};
|
|
278
|
+
exports.CatalogsProductServiceService = {
|
|
279
|
+
getCatRuleParameters: {
|
|
280
|
+
path: "/kapital.products.v1.CatalogsProductService/GetCatRuleParameters",
|
|
281
|
+
requestStream: false,
|
|
282
|
+
responseStream: false,
|
|
283
|
+
requestSerialize: (value) => Buffer.from(exports.GetCatRuleParametersRequest.encode(value).finish()),
|
|
284
|
+
requestDeserialize: (value) => exports.GetCatRuleParametersRequest.decode(value),
|
|
285
|
+
responseSerialize: (value) => Buffer.from(exports.GetCatRuleParametersResponse.encode(value).finish()),
|
|
286
|
+
responseDeserialize: (value) => exports.GetCatRuleParametersResponse.decode(value),
|
|
287
|
+
},
|
|
288
|
+
getCatRuleOperators: {
|
|
289
|
+
path: "/kapital.products.v1.CatalogsProductService/GetCatRuleOperators",
|
|
290
|
+
requestStream: false,
|
|
291
|
+
responseStream: false,
|
|
292
|
+
requestSerialize: (value) => Buffer.from(exports.GetCatRuleOperatorsRequest.encode(value).finish()),
|
|
293
|
+
requestDeserialize: (value) => exports.GetCatRuleOperatorsRequest.decode(value),
|
|
294
|
+
responseSerialize: (value) => Buffer.from(exports.GetCatRuleOperatorsResponse.encode(value).finish()),
|
|
295
|
+
responseDeserialize: (value) => exports.GetCatRuleOperatorsResponse.decode(value),
|
|
296
|
+
},
|
|
297
|
+
getCatPeriods: {
|
|
298
|
+
path: "/kapital.products.v1.CatalogsProductService/GetCatPeriods",
|
|
299
|
+
requestStream: false,
|
|
300
|
+
responseStream: false,
|
|
301
|
+
requestSerialize: (value) => Buffer.from(exports.GetCatPeriodsRequest.encode(value).finish()),
|
|
302
|
+
requestDeserialize: (value) => exports.GetCatPeriodsRequest.decode(value),
|
|
303
|
+
responseSerialize: (value) => Buffer.from(exports.GetCatPeriodsResponse.encode(value).finish()),
|
|
304
|
+
responseDeserialize: (value) => exports.GetCatPeriodsResponse.decode(value),
|
|
305
|
+
},
|
|
306
|
+
};
|
|
307
|
+
exports.CatalogsProductServiceClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.CatalogsProductServiceService, "kapital.products.v1.CatalogsProductService");
|
|
308
|
+
//# sourceMappingURL=catalogs_products.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogs_products.js","sourceRoot":"","sources":["../../../../../src/generated/kapital/products/v1/catalogs_products.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,sDAAsD;;;AAEtD,oBAAoB;AACpB,kDAAqE;AACrE,2CAWuB;AACvB,+CAAoD;AACpD,uEAAwD;AAE3C,QAAA,eAAe,GAAG,qBAAqB,CAAC;AA2BrD,SAAS,qCAAqC;IAC5C,OAAO,EAAE,CAAC;AACZ,CAAC;AAEY,QAAA,2BAA2B,GAA4C;IAClF,MAAM,CAAC,CAA8B,EAAE,SAAuB,IAAI,mBAAY,EAAE;QAC9E,OAAO,M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Aa,EAAwB,EAAE,CAAC,4BAAoB,CAAC,MAAM,CAAC,KAAK,CAAC;QAC/F,iBAAiB,EAAE,CAAC,KAA4B,EAAU,EAAE,CAC1D,MAAM,CAAC,IAAI,CAAC,6BAAqB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;QAC3D,mBAAmB,EAAE,CAAC,KAAa,EAAyB,EAAE,CAAC,6BAAqB,CAAC,MAAM,CAAC,KAAK,CAAC;KACnG;CACO,CAAC;AAwDE,QAAA,4BAA4B,GAAG,IAAA,sCAA4B,EACtE,qCAA6B,EAC7B,4CAA4C,CAS7C,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "kapital.products.v1";
|
|
3
|
+
export interface CatalogItem {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const CatalogItem: MessageFns<CatalogItem>;
|
|
8
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
9
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
10
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
11
|
+
} : Partial<T>;
|
|
12
|
+
export interface MessageFns<T> {
|
|
13
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
14
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
15
|
+
create(base?: DeepPartial<T>): T;
|
|
16
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.11.6
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: kapital/products/v1/catalogs_products_types.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.CatalogItem = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "kapital.products.v1";
|
|
12
|
+
function createBaseCatalogItem() {
|
|
13
|
+
return { value: "", label: "" };
|
|
14
|
+
}
|
|
15
|
+
exports.CatalogItem = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17
|
+
if (message.value !== "") {
|
|
18
|
+
writer.uint32(10).string(message.value);
|
|
19
|
+
}
|
|
20
|
+
if (message.label !== "") {
|
|
21
|
+
writer.uint32(18).string(message.label);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
27
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseCatalogItem();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1: {
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.value = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
case 2: {
|
|
40
|
+
if (tag !== 18) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
message.label = reader.string();
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
reader.skip(tag & 7);
|
|
51
|
+
}
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
create(base) {
|
|
55
|
+
return exports.CatalogItem.fromPartial(base ?? {});
|
|
56
|
+
},
|
|
57
|
+
fromPartial(object) {
|
|
58
|
+
const message = createBaseCatalogItem();
|
|
59
|
+
message.value = object.value ?? "";
|
|
60
|
+
message.label = object.label ?? "";
|
|
61
|
+
return message;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=catalogs_products_types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogs_products_types.js","sourceRoot":"","sources":["../../../../../src/generated/kapital/products/v1/catalogs_products_types.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,4DAA4D;;;AAE5D,oBAAoB;AACpB,kDAAqE;AAExD,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAOrD,SAAS,qBAAqB;IAC5B,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAClC,CAAC;AAEY,QAAA,WAAW,GAA4B;IAClD,MAAM,CAAC,OAAoB,EAAE,SAAuB,IAAI,mBAAY,EAAE;QACpE,IAAI,OAAO,CAAC,KAAK,KAAK,EAAE,EAAE,CAAC;YACzB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC1C,CAAC;QACD,IAAI,OAAO,CAAC,KAAK,KAAK,EAAE,EAAE,CAAC;YACzB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC1C,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAAgC,EAAE,MAAe;QACtD,MAAM,MAAM,GAAG,KAAK,YAAY,mBAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,mBAAY,CAAC,KAA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C,KAAK,IAAI,EAAE,CAAC;QACnC,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ export * as productGroupsV1 from './generated/kapital/product_groups/v1/product_
|
|
|
43
43
|
export * as productGroupsTypesV1 from './generated/kapital/product_groups/v1/product_groups_types';
|
|
44
44
|
export * as productsV1 from './generated/kapital/products/v1/products';
|
|
45
45
|
export * as productsTypesV1 from './generated/kapital/products/v1/products_types';
|
|
46
|
+
export * as productsCatalogsV1 from './generated/kapital/products/v1/catalogs_products';
|
|
47
|
+
export * as productsCatalogsTypesV1 from './generated/kapital/products/v1/catalogs_products_types';
|
|
46
48
|
export * as transactionsV1 from './generated/kapital/transactions/v1/transactions';
|
|
47
49
|
export * as transactionsTypesV1 from './generated/kapital/transactions/v1/transactions_types';
|
|
48
50
|
export * as disputesV1 from './generated/kapital/disputes/v1/disputes';
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.disputesV1 = exports.transactionsTypesV1 = exports.transactionsV1 = exports.productsCatalogsTypesV1 = exports.productsCatalogsV1 = exports.productsTypesV1 = exports.productsV1 = exports.productGroupsTypesV1 = exports.productGroupsV1 = exports.paymentsMethodsTypesV1 = exports.paymentsMethodsV1 = exports.paymentsTypesV1 = exports.paymentsV1 = exports.offersTypesV1 = exports.offersV1 = exports.fraudsTypesV1 = exports.fraudsV1 = exports.fraudWhitelistsTypesV1 = exports.fraudWhitelistsV1 = exports.fraudRulesTypesV1 = exports.fraudRulesV1 = exports.fraudGroupsTypesV1 = exports.fraudGroupsV1 = exports.fraudCatalogsTypesV1 = exports.fraudCatalogsV1 = exports.customersTypesV1 = exports.customersV1 = exports.creditConfigurationsTypesV1 = exports.creditConfigurationsV1 = exports.creditCatalogsTypesV1 = exports.creditCatalogsV1 = exports.creditAccountsTypesV1 = exports.creditAccountsV1 = exports.contractsTypesV1 = exports.contractsV1 = exports.commonPaginationV1 = exports.commonMetaV1 = exports.commonErrorV1 = exports.commissionsTypesV1 = exports.commissionsV1 = exports.collectionsRecoveryTypesV1 = exports.collectionsRecoveryV1 = exports.catalogsTypesV1 = exports.catalogsV1 = exports.cardsTypesV1 = exports.cardsV1 = exports.accumulatesTypesV1 = exports.accumulatesV1 = exports.accountsTypesV1 = exports.accountsV1 = void 0;
|
|
37
|
+
exports.grpcRuntime = exports.disputesTypesV1 = void 0;
|
|
37
38
|
exports.accountsV1 = __importStar(require("./generated/kapital/accounts/v1/accounts"));
|
|
38
39
|
exports.accountsTypesV1 = __importStar(require("./generated/kapital/accounts/v1/accounts_types"));
|
|
39
40
|
exports.accumulatesV1 = __importStar(require("./generated/kapital/accumulates/v1/accumulates_service"));
|
|
@@ -79,6 +80,8 @@ exports.productGroupsV1 = __importStar(require("./generated/kapital/product_grou
|
|
|
79
80
|
exports.productGroupsTypesV1 = __importStar(require("./generated/kapital/product_groups/v1/product_groups_types"));
|
|
80
81
|
exports.productsV1 = __importStar(require("./generated/kapital/products/v1/products"));
|
|
81
82
|
exports.productsTypesV1 = __importStar(require("./generated/kapital/products/v1/products_types"));
|
|
83
|
+
exports.productsCatalogsV1 = __importStar(require("./generated/kapital/products/v1/catalogs_products"));
|
|
84
|
+
exports.productsCatalogsTypesV1 = __importStar(require("./generated/kapital/products/v1/catalogs_products_types"));
|
|
82
85
|
exports.transactionsV1 = __importStar(require("./generated/kapital/transactions/v1/transactions"));
|
|
83
86
|
exports.transactionsTypesV1 = __importStar(require("./generated/kapital/transactions/v1/transactions_types"));
|
|
84
87
|
exports.disputesV1 = __importStar(require("./generated/kapital/disputes/v1/disputes"));
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uFAAuE;AACvE,kGAAkF;AAClF,wGAAwF;AACxF,2GAA2F;AAC3F,8EAA8D;AAC9D,yFAAyE;AACzE,uFAAuE;AACvE,kGAAkF;AAClF,0HAA0G;AAC1G,qIAAqH;AACrH,gGAAgF;AAChF,2GAA2F;AAC3F,qFAAqE;AACrE,mFAAmE;AACnE,+FAA+E;AAC/E,0FAA0E;AAC1E,qGAAqF;AACrF,2GAA2F;AAC3F,sHAAsG;AACtG,2GAA2F;AAC3F,sHAAsG;AACtG,6HAA6G;AAC7G,wIAAwH;AACxH,0FAA0E;AAC1E,qGAAqF;AACrF,wGAAwF;AACxF,mHAAmG;AACnG,kGAAkF;AAClF,6GAA6F;AAC7F,+FAA+E;AAC/E,0GAA0F;AAC1F,8GAA8F;AAC9F,yHAAyG;AACzG,iFAAiE;AACjE,4FAA4E;AAC5E,iFAAiE;AACjE,4FAA4E;AAC5E,uFAAuE;AACvE,kGAAkF;AAClF,8GAA8F;AAC9F,yHAAyG;AACzG,wGAAwF;AACxF,mHAAmG;AACnG,uFAAuE;AACvE,kGAAkF;AAClF,wGAAwF;AACxF,mHAAmG;AACnG,mGAAmF;AACnF,8GAA8F;AAC9F,uFAAuE;AACvE,kGAAkF;AAClF,8DAA8C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexochihua/protos",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared gRPC contracts and generated clients for Kapital services.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -87,6 +87,12 @@
|
|
|
87
87
|
"kapital/products/v1/products_types": [
|
|
88
88
|
"dist/generated/kapital/products/v1/products_types.d.ts"
|
|
89
89
|
],
|
|
90
|
+
"kapital/products/v1/catalogs_products": [
|
|
91
|
+
"dist/generated/kapital/products/v1/catalogs_products.d.ts"
|
|
92
|
+
],
|
|
93
|
+
"kapital/products/v1/catalogs_products_types": [
|
|
94
|
+
"dist/generated/kapital/products/v1/catalogs_products_types.d.ts"
|
|
95
|
+
],
|
|
90
96
|
"kapital/customers/v1/customers": [
|
|
91
97
|
"dist/generated/kapital/customers/v1/customers.d.ts"
|
|
92
98
|
],
|
|
@@ -269,6 +275,14 @@
|
|
|
269
275
|
"types": "./dist/generated/kapital/products/v1/products_types.d.ts",
|
|
270
276
|
"default": "./dist/generated/kapital/products/v1/products_types.js"
|
|
271
277
|
},
|
|
278
|
+
"./kapital/products/v1/catalogs_products": {
|
|
279
|
+
"types": "./dist/generated/kapital/products/v1/catalogs_products.d.ts",
|
|
280
|
+
"default": "./dist/generated/kapital/products/v1/catalogs_products.js"
|
|
281
|
+
},
|
|
282
|
+
"./kapital/products/v1/catalogs_products_types": {
|
|
283
|
+
"types": "./dist/generated/kapital/products/v1/catalogs_products_types.d.ts",
|
|
284
|
+
"default": "./dist/generated/kapital/products/v1/catalogs_products_types.js"
|
|
285
|
+
},
|
|
272
286
|
"./kapital/customers/v1/customers": {
|
|
273
287
|
"types": "./dist/generated/kapital/customers/v1/customers.d.ts",
|
|
274
288
|
"default": "./dist/generated/kapital/customers/v1/customers.js"
|
|
@@ -24,6 +24,9 @@ service FraudCatalogsService {
|
|
|
24
24
|
rpc GetRuleActions(GetRuleActionsRequest) returns (GetRuleActionsResponse);
|
|
25
25
|
rpc GetFraudReasons(GetFraudReasonsRequest) returns (GetFraudReasonsResponse);
|
|
26
26
|
rpc ExportCatalog(ExportCatalogRequest) returns (ExportCatalogResponse);
|
|
27
|
+
rpc GetCatRuleParameters(GetCatRuleParametersRequest) returns (GetCatRuleParametersResponse);
|
|
28
|
+
rpc GetCatRuleOperators(GetCatRuleOperatorsRequest) returns (GetCatRuleOperatorsResponse);
|
|
29
|
+
rpc GetCatPeriods(GetCatPeriodsRequest) returns (GetCatPeriodsResponse);
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
message GetCatalogListRequest {
|
|
@@ -184,3 +187,26 @@ message ExportCatalogResponse {
|
|
|
184
187
|
bytes file_data = 2;
|
|
185
188
|
string file_name = 3;
|
|
186
189
|
}
|
|
190
|
+
|
|
191
|
+
message GetCatRuleParametersRequest {}
|
|
192
|
+
|
|
193
|
+
message GetCatRuleParametersResponse {
|
|
194
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
195
|
+
repeated CatCatalogItem rule_parameters = 2;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
message GetCatRuleOperatorsRequest {
|
|
199
|
+
optional string rule_parameter = 1;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
message GetCatRuleOperatorsResponse {
|
|
203
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
204
|
+
repeated CatCatalogItem rule_operators = 2;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
message GetCatPeriodsRequest {}
|
|
208
|
+
|
|
209
|
+
message GetCatPeriodsResponse {
|
|
210
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
211
|
+
repeated CatCatalogItem periods = 2;
|
|
212
|
+
}
|