@alexochihua/protos 1.0.18 → 1.0.19
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/catalogs/v1/catalogs.d.ts +49 -0
- package/dist/generated/kapital/catalogs/v1/catalogs.js +111 -0
- package/dist/generated/kapital/catalogs/v1/catalogs.js.map +1 -0
- package/dist/generated/kapital/catalogs/v1/catalogs_types.d.ts +22 -0
- package/dist/generated/kapital/catalogs/v1/catalogs_types.js +108 -0
- package/dist/generated/kapital/catalogs/v1/catalogs_types.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +15 -1
- package/proto/kapital/catalogs/v1/catalogs.proto +19 -0
- package/proto/kapital/catalogs/v1/catalogs_types.proto +14 -0
|
@@ -0,0 +1,49 @@
|
|
|
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 { CatBin } from "./catalogs_types";
|
|
5
|
+
export declare const protobufPackage = "kapital.catalogs.v1";
|
|
6
|
+
export interface GetCatBinsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetCatBinsResponse {
|
|
9
|
+
meta: ResponseMeta | undefined;
|
|
10
|
+
bins: CatBin[];
|
|
11
|
+
}
|
|
12
|
+
export declare const GetCatBinsRequest: MessageFns<GetCatBinsRequest>;
|
|
13
|
+
export declare const GetCatBinsResponse: MessageFns<GetCatBinsResponse>;
|
|
14
|
+
export type CatalogsServiceService = typeof CatalogsServiceService;
|
|
15
|
+
export declare const CatalogsServiceService: {
|
|
16
|
+
readonly getCatBins: {
|
|
17
|
+
readonly path: "/kapital.catalogs.v1.CatalogsService/GetCatBins";
|
|
18
|
+
readonly requestStream: false;
|
|
19
|
+
readonly responseStream: false;
|
|
20
|
+
readonly requestSerialize: (value: GetCatBinsRequest) => Buffer;
|
|
21
|
+
readonly requestDeserialize: (value: Buffer) => GetCatBinsRequest;
|
|
22
|
+
readonly responseSerialize: (value: GetCatBinsResponse) => Buffer;
|
|
23
|
+
readonly responseDeserialize: (value: Buffer) => GetCatBinsResponse;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export interface CatalogsServiceServer extends UntypedServiceImplementation {
|
|
27
|
+
getCatBins: handleUnaryCall<GetCatBinsRequest, GetCatBinsResponse>;
|
|
28
|
+
}
|
|
29
|
+
export interface CatalogsServiceClient extends Client {
|
|
30
|
+
getCatBins(request: GetCatBinsRequest, callback: (error: ServiceError | null, response: GetCatBinsResponse) => void): ClientUnaryCall;
|
|
31
|
+
getCatBins(request: GetCatBinsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatBinsResponse) => void): ClientUnaryCall;
|
|
32
|
+
getCatBins(request: GetCatBinsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatBinsResponse) => void): ClientUnaryCall;
|
|
33
|
+
}
|
|
34
|
+
export declare const CatalogsServiceClient: {
|
|
35
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): CatalogsServiceClient;
|
|
36
|
+
service: typeof CatalogsServiceService;
|
|
37
|
+
serviceName: string;
|
|
38
|
+
};
|
|
39
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
40
|
+
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 {} ? {
|
|
41
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
42
|
+
} : Partial<T>;
|
|
43
|
+
export interface MessageFns<T> {
|
|
44
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
45
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
46
|
+
create(base?: DeepPartial<T>): T;
|
|
47
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,111 @@
|
|
|
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/catalogs/v1/catalogs.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.CatalogsServiceClient = exports.CatalogsServiceService = exports.GetCatBinsResponse = exports.GetCatBinsRequest = 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_types_1 = require("./catalogs_types");
|
|
14
|
+
exports.protobufPackage = "kapital.catalogs.v1";
|
|
15
|
+
function createBaseGetCatBinsRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.GetCatBinsRequest = {
|
|
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 = createBaseGetCatBinsRequest();
|
|
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.GetCatBinsRequest.fromPartial(base ?? {});
|
|
39
|
+
},
|
|
40
|
+
fromPartial(_) {
|
|
41
|
+
const message = createBaseGetCatBinsRequest();
|
|
42
|
+
return message;
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
function createBaseGetCatBinsResponse() {
|
|
46
|
+
return { meta: undefined, bins: [] };
|
|
47
|
+
}
|
|
48
|
+
exports.GetCatBinsResponse = {
|
|
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.bins) {
|
|
54
|
+
catalogs_types_1.CatBin.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 = createBaseGetCatBinsResponse();
|
|
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.bins.push(catalogs_types_1.CatBin.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.GetCatBinsResponse.fromPartial(base ?? {});
|
|
89
|
+
},
|
|
90
|
+
fromPartial(object) {
|
|
91
|
+
const message = createBaseGetCatBinsResponse();
|
|
92
|
+
message.meta = (object.meta !== undefined && object.meta !== null)
|
|
93
|
+
? meta_1.ResponseMeta.fromPartial(object.meta)
|
|
94
|
+
: undefined;
|
|
95
|
+
message.bins = object.bins?.map((e) => catalogs_types_1.CatBin.fromPartial(e)) || [];
|
|
96
|
+
return message;
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
exports.CatalogsServiceService = {
|
|
100
|
+
getCatBins: {
|
|
101
|
+
path: "/kapital.catalogs.v1.CatalogsService/GetCatBins",
|
|
102
|
+
requestStream: false,
|
|
103
|
+
responseStream: false,
|
|
104
|
+
requestSerialize: (value) => Buffer.from(exports.GetCatBinsRequest.encode(value).finish()),
|
|
105
|
+
requestDeserialize: (value) => exports.GetCatBinsRequest.decode(value),
|
|
106
|
+
responseSerialize: (value) => Buffer.from(exports.GetCatBinsResponse.encode(value).finish()),
|
|
107
|
+
responseDeserialize: (value) => exports.GetCatBinsResponse.decode(value),
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
exports.CatalogsServiceClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.CatalogsServiceService, "kapital.catalogs.v1.CatalogsService");
|
|
111
|
+
//# sourceMappingURL=catalogs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogs.js","sourceRoot":"","sources":["../../../../../src/generated/kapital/catalogs/v1/catalogs.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,6CAA6C;;;AAE7C,oBAAoB;AACpB,kDAAqE;AACrE,2CAWuB;A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,EAAE,KAAc;QAC7B,cAAc,EAAE,KAAc;QAC9B,gBAAgB,EAAE,CAAC,KAAwB,EAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;QAC7G,kBAAkB,EAAE,CAAC,KAAa,EAAqB,EAAE,CAAC,yBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC;QACzF,iBAAiB,EAAE,CAAC,KAAyB,EAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,0BAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;QAChH,mBAAmB,EAAE,CAAC,KAAa,EAAsB,EAAE,CAAC,0BAAkB,CAAC,MAAM,CAAC,KAAK,CAAC;KAC7F;CACO,CAAC;AAwBE,QAAA,qBAAqB,GAAG,IAAA,sCAA4B,EAC/D,8BAAsB,EACtB,qCAAqC,CAKtC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "kapital.catalogs.v1";
|
|
3
|
+
export interface CatBin {
|
|
4
|
+
cardholder_currency: string;
|
|
5
|
+
currency: string;
|
|
6
|
+
label: string;
|
|
7
|
+
max_subbin_digits: number;
|
|
8
|
+
settlement_currency: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const CatBin: MessageFns<CatBin>;
|
|
12
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
13
|
+
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 {} ? {
|
|
14
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
15
|
+
} : Partial<T>;
|
|
16
|
+
export interface MessageFns<T> {
|
|
17
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
18
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
19
|
+
create(base?: DeepPartial<T>): T;
|
|
20
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
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/catalogs/v1/catalogs_types.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.CatBin = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "kapital.catalogs.v1";
|
|
12
|
+
function createBaseCatBin() {
|
|
13
|
+
return { cardholder_currency: "", currency: "", label: "", max_subbin_digits: 0, settlement_currency: "", value: "" };
|
|
14
|
+
}
|
|
15
|
+
exports.CatBin = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17
|
+
if (message.cardholder_currency !== "") {
|
|
18
|
+
writer.uint32(10).string(message.cardholder_currency);
|
|
19
|
+
}
|
|
20
|
+
if (message.currency !== "") {
|
|
21
|
+
writer.uint32(18).string(message.currency);
|
|
22
|
+
}
|
|
23
|
+
if (message.label !== "") {
|
|
24
|
+
writer.uint32(26).string(message.label);
|
|
25
|
+
}
|
|
26
|
+
if (message.max_subbin_digits !== 0) {
|
|
27
|
+
writer.uint32(32).int32(message.max_subbin_digits);
|
|
28
|
+
}
|
|
29
|
+
if (message.settlement_currency !== "") {
|
|
30
|
+
writer.uint32(42).string(message.settlement_currency);
|
|
31
|
+
}
|
|
32
|
+
if (message.value !== "") {
|
|
33
|
+
writer.uint32(50).string(message.value);
|
|
34
|
+
}
|
|
35
|
+
return writer;
|
|
36
|
+
},
|
|
37
|
+
decode(input, length) {
|
|
38
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
39
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
40
|
+
const message = createBaseCatBin();
|
|
41
|
+
while (reader.pos < end) {
|
|
42
|
+
const tag = reader.uint32();
|
|
43
|
+
switch (tag >>> 3) {
|
|
44
|
+
case 1: {
|
|
45
|
+
if (tag !== 10) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.cardholder_currency = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
}
|
|
51
|
+
case 2: {
|
|
52
|
+
if (tag !== 18) {
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
message.currency = reader.string();
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
case 3: {
|
|
59
|
+
if (tag !== 26) {
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
message.label = reader.string();
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
case 4: {
|
|
66
|
+
if (tag !== 32) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
message.max_subbin_digits = reader.int32();
|
|
70
|
+
continue;
|
|
71
|
+
}
|
|
72
|
+
case 5: {
|
|
73
|
+
if (tag !== 42) {
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
message.settlement_currency = reader.string();
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
case 6: {
|
|
80
|
+
if (tag !== 50) {
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
message.value = reader.string();
|
|
84
|
+
continue;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
reader.skip(tag & 7);
|
|
91
|
+
}
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
create(base) {
|
|
95
|
+
return exports.CatBin.fromPartial(base ?? {});
|
|
96
|
+
},
|
|
97
|
+
fromPartial(object) {
|
|
98
|
+
const message = createBaseCatBin();
|
|
99
|
+
message.cardholder_currency = object.cardholder_currency ?? "";
|
|
100
|
+
message.currency = object.currency ?? "";
|
|
101
|
+
message.label = object.label ?? "";
|
|
102
|
+
message.max_subbin_digits = object.max_subbin_digits ?? 0;
|
|
103
|
+
message.settlement_currency = object.settlement_currency ?? "";
|
|
104
|
+
message.value = object.value ?? "";
|
|
105
|
+
return message;
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=catalogs_types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogs_types.js","sourceRoot":"","sources":["../../../../../src/generated/kapital/catalogs/v1/catalogs_types.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,mDAAmD;;;AAEnD,oBAAoB;AACpB,kDAAqE;AAExD,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAWrD,SAAS,gBAAgB;IACvB,OAAO,EAAE,mBAAmB,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,CAAC,EAAE,mBAAmB,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AACxH,CAAC;AAEY,QAAA,MAAM,GAAuB;IACxC,MAAM,CAAC,OAAe,EAAE,SAAuB,IAAI,mBAAY,EAAE;QAC/D,IAAI,OAAO,CAAC,mBAAmB,KAAK,EAAE,EAAE,CAAC;YACvC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QACxD,CAAC;QACD,IAAI,OAAO,CAAC,QAAQ,KAAK,EAAE,EAAE,CAAC;YAC5B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CA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MAAM;YACR,CAAC;YACD,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;QACvB,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,IAA0B;QAC/B,OAAO,cAAM,CAAC,WAAW,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IACxC,CAAC;IACD,WAAW,CAAC,MAA2B;QACrC,MAAM,OAAO,GAAG,gBAAgB,EAAE,CAAC;QACnC,OAAO,CAAC,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,IAAI,EAAE,CAAC;QAC/D,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,EAAE,CAAC;QACzC,OAAO,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;QACnC,OAAO,CAAC,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,IAAI,CAAC,CAAC;QAC1D,OAAO,CAAC,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,IAAI,EAAE,CAAC;QAC/D,OAAO,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;QACnC,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * as accumulatesV1 from './generated/kapital/accumulates/v1/accumulates_s
|
|
|
4
4
|
export * as accumulatesTypesV1 from './generated/kapital/accumulates/v1/accumulates_types';
|
|
5
5
|
export * as cardsV1 from './generated/kapital/cards/v1/cards';
|
|
6
6
|
export * as cardsTypesV1 from './generated/kapital/cards/v1/cards_types';
|
|
7
|
+
export * as catalogsV1 from './generated/kapital/catalogs/v1/catalogs';
|
|
8
|
+
export * as catalogsTypesV1 from './generated/kapital/catalogs/v1/catalogs_types';
|
|
7
9
|
export * as collectionsRecoveryV1 from './generated/kapital/collections_recovery/v1/collections_recovery';
|
|
8
10
|
export * as collectionsRecoveryTypesV1 from './generated/kapital/collections_recovery/v1/collections_recovery_types';
|
|
9
11
|
export * as commissionsV1 from './generated/kapital/commissions/v1/commissions';
|
package/dist/index.js
CHANGED
|
@@ -33,13 +33,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.grpcRuntime = exports.disputesTypesV1 = exports.disputesV1 = exports.transactionsTypesV1 = exports.transactionsV1 = 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.cardsTypesV1 = exports.cardsV1 = exports.accumulatesTypesV1 = exports.accumulatesV1 = exports.accountsTypesV1 = exports.accountsV1 = void 0;
|
|
36
|
+
exports.grpcRuntime = exports.disputesTypesV1 = exports.disputesV1 = exports.transactionsTypesV1 = exports.transactionsV1 = 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
37
|
exports.accountsV1 = __importStar(require("./generated/kapital/accounts/v1/accounts"));
|
|
38
38
|
exports.accountsTypesV1 = __importStar(require("./generated/kapital/accounts/v1/accounts_types"));
|
|
39
39
|
exports.accumulatesV1 = __importStar(require("./generated/kapital/accumulates/v1/accumulates_service"));
|
|
40
40
|
exports.accumulatesTypesV1 = __importStar(require("./generated/kapital/accumulates/v1/accumulates_types"));
|
|
41
41
|
exports.cardsV1 = __importStar(require("./generated/kapital/cards/v1/cards"));
|
|
42
42
|
exports.cardsTypesV1 = __importStar(require("./generated/kapital/cards/v1/cards_types"));
|
|
43
|
+
exports.catalogsV1 = __importStar(require("./generated/kapital/catalogs/v1/catalogs"));
|
|
44
|
+
exports.catalogsTypesV1 = __importStar(require("./generated/kapital/catalogs/v1/catalogs_types"));
|
|
43
45
|
exports.collectionsRecoveryV1 = __importStar(require("./generated/kapital/collections_recovery/v1/collections_recovery"));
|
|
44
46
|
exports.collectionsRecoveryTypesV1 = __importStar(require("./generated/kapital/collections_recovery/v1/collections_recovery_types"));
|
|
45
47
|
exports.commissionsV1 = __importStar(require("./generated/kapital/commissions/v1/commissions"));
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,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,mGAAmF;AACnF,8GAA8F;AAC9F,uFAAuE;AACvE,kGAAkF;AAClF,8DAA8C"}
|
|
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,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.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared gRPC contracts and generated clients for Kapital services.",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -63,6 +63,12 @@
|
|
|
63
63
|
"kapital/cards/v1/cards_types": [
|
|
64
64
|
"dist/generated/kapital/cards/v1/cards_types.d.ts"
|
|
65
65
|
],
|
|
66
|
+
"kapital/catalogs/v1/catalogs": [
|
|
67
|
+
"dist/generated/kapital/catalogs/v1/catalogs.d.ts"
|
|
68
|
+
],
|
|
69
|
+
"kapital/catalogs/v1/catalogs_types": [
|
|
70
|
+
"dist/generated/kapital/catalogs/v1/catalogs_types.d.ts"
|
|
71
|
+
],
|
|
66
72
|
"kapital/transactions/v1/transactions": [
|
|
67
73
|
"dist/generated/kapital/transactions/v1/transactions.d.ts"
|
|
68
74
|
],
|
|
@@ -231,6 +237,14 @@
|
|
|
231
237
|
"types": "./dist/generated/kapital/cards/v1/cards_types.d.ts",
|
|
232
238
|
"default": "./dist/generated/kapital/cards/v1/cards_types.js"
|
|
233
239
|
},
|
|
240
|
+
"./kapital/catalogs/v1/catalogs": {
|
|
241
|
+
"types": "./dist/generated/kapital/catalogs/v1/catalogs.d.ts",
|
|
242
|
+
"default": "./dist/generated/kapital/catalogs/v1/catalogs.js"
|
|
243
|
+
},
|
|
244
|
+
"./kapital/catalogs/v1/catalogs_types": {
|
|
245
|
+
"types": "./dist/generated/kapital/catalogs/v1/catalogs_types.d.ts",
|
|
246
|
+
"default": "./dist/generated/kapital/catalogs/v1/catalogs_types.js"
|
|
247
|
+
},
|
|
234
248
|
"./kapital/transactions/v1/transactions": {
|
|
235
249
|
"types": "./dist/generated/kapital/transactions/v1/transactions.d.ts",
|
|
236
250
|
"default": "./dist/generated/kapital/transactions/v1/transactions.js"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package kapital.catalogs.v1;
|
|
4
|
+
|
|
5
|
+
option go_package = "kapital/catalogs/v1;catalogsv1";
|
|
6
|
+
|
|
7
|
+
import "kapital/common/v1/meta.proto";
|
|
8
|
+
import "kapital/catalogs/v1/catalogs_types.proto";
|
|
9
|
+
|
|
10
|
+
service CatalogsService {
|
|
11
|
+
rpc GetCatBins(GetCatBinsRequest) returns (GetCatBinsResponse);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message GetCatBinsRequest {}
|
|
15
|
+
|
|
16
|
+
message GetCatBinsResponse {
|
|
17
|
+
kapital.common.v1.ResponseMeta meta = 1;
|
|
18
|
+
repeated CatBin bins = 2;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package kapital.catalogs.v1;
|
|
4
|
+
|
|
5
|
+
option go_package = "kapital/catalogs/v1;catalogsv1";
|
|
6
|
+
|
|
7
|
+
message CatBin {
|
|
8
|
+
string cardholder_currency = 1;
|
|
9
|
+
string currency = 2;
|
|
10
|
+
string label = 3;
|
|
11
|
+
int32 max_subbin_digits = 4;
|
|
12
|
+
string settlement_currency = 5;
|
|
13
|
+
string value = 6;
|
|
14
|
+
}
|