@alexochihua/protos 1.0.21 → 1.0.23
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 +26 -0
- package/dist/generated/kapital/catalogs/v1/catalogs.js +127 -1
- package/dist/generated/kapital/catalogs/v1/catalogs.js.map +1 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.d.ts +7 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js +90 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js.map +1 -1
- package/package.json +1 -1
- package/proto/kapital/catalogs/v1/catalogs.proto +14 -0
- package/proto/kapital/payments_methods/v1/payments_methods.proto +518 -511
|
@@ -3,14 +3,27 @@ import { type CallOptions, type ChannelCredentials, Client, type ClientOptions,
|
|
|
3
3
|
import { ResponseMeta } from "../../common/v1/meta";
|
|
4
4
|
import { CatBin } from "./catalogs_types";
|
|
5
5
|
export declare const protobufPackage = "kapital.catalogs.v1";
|
|
6
|
+
/** ================== CreateContract ================== */
|
|
6
7
|
export interface GetCatBinsRequest {
|
|
7
8
|
}
|
|
8
9
|
export interface GetCatBinsResponse {
|
|
9
10
|
meta: ResponseMeta | undefined;
|
|
10
11
|
bins: CatBin[];
|
|
11
12
|
}
|
|
13
|
+
/** ================== GetCatGeoLocsByN ================== */
|
|
14
|
+
export interface GetCatGeoLocsByNRequest {
|
|
15
|
+
n: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetCatGeoLocsByNResponse {
|
|
18
|
+
meta: ResponseMeta | undefined;
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
n?: string | undefined;
|
|
21
|
+
value?: string | undefined;
|
|
22
|
+
}
|
|
12
23
|
export declare const GetCatBinsRequest: MessageFns<GetCatBinsRequest>;
|
|
13
24
|
export declare const GetCatBinsResponse: MessageFns<GetCatBinsResponse>;
|
|
25
|
+
export declare const GetCatGeoLocsByNRequest: MessageFns<GetCatGeoLocsByNRequest>;
|
|
26
|
+
export declare const GetCatGeoLocsByNResponse: MessageFns<GetCatGeoLocsByNResponse>;
|
|
14
27
|
export type CatalogsServiceService = typeof CatalogsServiceService;
|
|
15
28
|
export declare const CatalogsServiceService: {
|
|
16
29
|
readonly getCatBins: {
|
|
@@ -22,14 +35,27 @@ export declare const CatalogsServiceService: {
|
|
|
22
35
|
readonly responseSerialize: (value: GetCatBinsResponse) => Buffer;
|
|
23
36
|
readonly responseDeserialize: (value: Buffer) => GetCatBinsResponse;
|
|
24
37
|
};
|
|
38
|
+
readonly getCatGeoLocsByN: {
|
|
39
|
+
readonly path: "/kapital.catalogs.v1.CatalogsService/GetCatGeoLocsByN";
|
|
40
|
+
readonly requestStream: false;
|
|
41
|
+
readonly responseStream: false;
|
|
42
|
+
readonly requestSerialize: (value: GetCatGeoLocsByNRequest) => Buffer;
|
|
43
|
+
readonly requestDeserialize: (value: Buffer) => GetCatGeoLocsByNRequest;
|
|
44
|
+
readonly responseSerialize: (value: GetCatGeoLocsByNResponse) => Buffer;
|
|
45
|
+
readonly responseDeserialize: (value: Buffer) => GetCatGeoLocsByNResponse;
|
|
46
|
+
};
|
|
25
47
|
};
|
|
26
48
|
export interface CatalogsServiceServer extends UntypedServiceImplementation {
|
|
27
49
|
getCatBins: handleUnaryCall<GetCatBinsRequest, GetCatBinsResponse>;
|
|
50
|
+
getCatGeoLocsByN: handleUnaryCall<GetCatGeoLocsByNRequest, GetCatGeoLocsByNResponse>;
|
|
28
51
|
}
|
|
29
52
|
export interface CatalogsServiceClient extends Client {
|
|
30
53
|
getCatBins(request: GetCatBinsRequest, callback: (error: ServiceError | null, response: GetCatBinsResponse) => void): ClientUnaryCall;
|
|
31
54
|
getCatBins(request: GetCatBinsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatBinsResponse) => void): ClientUnaryCall;
|
|
32
55
|
getCatBins(request: GetCatBinsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatBinsResponse) => void): ClientUnaryCall;
|
|
56
|
+
getCatGeoLocsByN(request: GetCatGeoLocsByNRequest, callback: (error: ServiceError | null, response: GetCatGeoLocsByNResponse) => void): ClientUnaryCall;
|
|
57
|
+
getCatGeoLocsByN(request: GetCatGeoLocsByNRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetCatGeoLocsByNResponse) => void): ClientUnaryCall;
|
|
58
|
+
getCatGeoLocsByN(request: GetCatGeoLocsByNRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetCatGeoLocsByNResponse) => void): ClientUnaryCall;
|
|
33
59
|
}
|
|
34
60
|
export declare const CatalogsServiceClient: {
|
|
35
61
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): CatalogsServiceClient;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: kapital/catalogs/v1/catalogs.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.CatalogsServiceClient = exports.CatalogsServiceService = exports.GetCatBinsResponse = exports.GetCatBinsRequest = exports.protobufPackage = void 0;
|
|
8
|
+
exports.CatalogsServiceClient = exports.CatalogsServiceService = exports.GetCatGeoLocsByNResponse = exports.GetCatGeoLocsByNRequest = exports.GetCatBinsResponse = exports.GetCatBinsRequest = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
@@ -96,6 +96,123 @@ exports.GetCatBinsResponse = {
|
|
|
96
96
|
return message;
|
|
97
97
|
},
|
|
98
98
|
};
|
|
99
|
+
function createBaseGetCatGeoLocsByNRequest() {
|
|
100
|
+
return { n: "" };
|
|
101
|
+
}
|
|
102
|
+
exports.GetCatGeoLocsByNRequest = {
|
|
103
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
104
|
+
if (message.n !== "") {
|
|
105
|
+
writer.uint32(10).string(message.n);
|
|
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 = createBaseGetCatGeoLocsByNRequest();
|
|
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.n = 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.GetCatGeoLocsByNRequest.fromPartial(base ?? {});
|
|
133
|
+
},
|
|
134
|
+
fromPartial(object) {
|
|
135
|
+
const message = createBaseGetCatGeoLocsByNRequest();
|
|
136
|
+
message.n = object.n ?? "";
|
|
137
|
+
return message;
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
function createBaseGetCatGeoLocsByNResponse() {
|
|
141
|
+
return { meta: undefined, id: undefined, n: undefined, value: undefined };
|
|
142
|
+
}
|
|
143
|
+
exports.GetCatGeoLocsByNResponse = {
|
|
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
|
+
if (message.id !== undefined) {
|
|
149
|
+
writer.uint32(18).string(message.id);
|
|
150
|
+
}
|
|
151
|
+
if (message.n !== undefined) {
|
|
152
|
+
writer.uint32(26).string(message.n);
|
|
153
|
+
}
|
|
154
|
+
if (message.value !== undefined) {
|
|
155
|
+
writer.uint32(34).string(message.value);
|
|
156
|
+
}
|
|
157
|
+
return writer;
|
|
158
|
+
},
|
|
159
|
+
decode(input, length) {
|
|
160
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
161
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
162
|
+
const message = createBaseGetCatGeoLocsByNResponse();
|
|
163
|
+
while (reader.pos < end) {
|
|
164
|
+
const tag = reader.uint32();
|
|
165
|
+
switch (tag >>> 3) {
|
|
166
|
+
case 1: {
|
|
167
|
+
if (tag !== 10) {
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
message.meta = meta_1.ResponseMeta.decode(reader, reader.uint32());
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
case 2: {
|
|
174
|
+
if (tag !== 18) {
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
message.id = reader.string();
|
|
178
|
+
continue;
|
|
179
|
+
}
|
|
180
|
+
case 3: {
|
|
181
|
+
if (tag !== 26) {
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
message.n = reader.string();
|
|
185
|
+
continue;
|
|
186
|
+
}
|
|
187
|
+
case 4: {
|
|
188
|
+
if (tag !== 34) {
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
message.value = reader.string();
|
|
192
|
+
continue;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
reader.skip(tag & 7);
|
|
199
|
+
}
|
|
200
|
+
return message;
|
|
201
|
+
},
|
|
202
|
+
create(base) {
|
|
203
|
+
return exports.GetCatGeoLocsByNResponse.fromPartial(base ?? {});
|
|
204
|
+
},
|
|
205
|
+
fromPartial(object) {
|
|
206
|
+
const message = createBaseGetCatGeoLocsByNResponse();
|
|
207
|
+
message.meta = (object.meta !== undefined && object.meta !== null)
|
|
208
|
+
? meta_1.ResponseMeta.fromPartial(object.meta)
|
|
209
|
+
: undefined;
|
|
210
|
+
message.id = object.id ?? undefined;
|
|
211
|
+
message.n = object.n ?? undefined;
|
|
212
|
+
message.value = object.value ?? undefined;
|
|
213
|
+
return message;
|
|
214
|
+
},
|
|
215
|
+
};
|
|
99
216
|
exports.CatalogsServiceService = {
|
|
100
217
|
getCatBins: {
|
|
101
218
|
path: "/kapital.catalogs.v1.CatalogsService/GetCatBins",
|
|
@@ -106,6 +223,15 @@ exports.CatalogsServiceService = {
|
|
|
106
223
|
responseSerialize: (value) => Buffer.from(exports.GetCatBinsResponse.encode(value).finish()),
|
|
107
224
|
responseDeserialize: (value) => exports.GetCatBinsResponse.decode(value),
|
|
108
225
|
},
|
|
226
|
+
getCatGeoLocsByN: {
|
|
227
|
+
path: "/kapital.catalogs.v1.CatalogsService/GetCatGeoLocsByN",
|
|
228
|
+
requestStream: false,
|
|
229
|
+
responseStream: false,
|
|
230
|
+
requestSerialize: (value) => Buffer.from(exports.GetCatGeoLocsByNRequest.encode(value).finish()),
|
|
231
|
+
requestDeserialize: (value) => exports.GetCatGeoLocsByNRequest.decode(value),
|
|
232
|
+
responseSerialize: (value) => Buffer.from(exports.GetCatGeoLocsByNResponse.encode(value).finish()),
|
|
233
|
+
responseDeserialize: (value) => exports.GetCatGeoLocsByNResponse.decode(value),
|
|
234
|
+
},
|
|
109
235
|
};
|
|
110
236
|
exports.CatalogsServiceClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.CatalogsServiceService, "kapital.catalogs.v1.CatalogsService");
|
|
111
237
|
//# sourceMappingURL=catalogs.js.map
|
|
@@ -1 +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;A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AAC"}
|
|
@@ -65,6 +65,13 @@ export interface GetManufacturingBatchesRequest {
|
|
|
65
65
|
q: string;
|
|
66
66
|
status: string;
|
|
67
67
|
brand: string;
|
|
68
|
+
bin: string;
|
|
69
|
+
product_type: string;
|
|
70
|
+
destination_branch: string;
|
|
71
|
+
priority: string;
|
|
72
|
+
client: string;
|
|
73
|
+
generation_date: string;
|
|
74
|
+
id_batch: string;
|
|
68
75
|
}
|
|
69
76
|
export interface GetManufacturingBatchesResponse {
|
|
70
77
|
meta: ResponseMeta | undefined;
|
|
@@ -751,7 +751,19 @@ exports.SyncCardStatusResponse = {
|
|
|
751
751
|
},
|
|
752
752
|
};
|
|
753
753
|
function createBaseGetManufacturingBatchesRequest() {
|
|
754
|
-
return {
|
|
754
|
+
return {
|
|
755
|
+
page_request: undefined,
|
|
756
|
+
q: "",
|
|
757
|
+
status: "",
|
|
758
|
+
brand: "",
|
|
759
|
+
bin: "",
|
|
760
|
+
product_type: "",
|
|
761
|
+
destination_branch: "",
|
|
762
|
+
priority: "",
|
|
763
|
+
client: "",
|
|
764
|
+
generation_date: "",
|
|
765
|
+
id_batch: "",
|
|
766
|
+
};
|
|
755
767
|
}
|
|
756
768
|
exports.GetManufacturingBatchesRequest = {
|
|
757
769
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -767,6 +779,27 @@ exports.GetManufacturingBatchesRequest = {
|
|
|
767
779
|
if (message.brand !== "") {
|
|
768
780
|
writer.uint32(34).string(message.brand);
|
|
769
781
|
}
|
|
782
|
+
if (message.bin !== "") {
|
|
783
|
+
writer.uint32(42).string(message.bin);
|
|
784
|
+
}
|
|
785
|
+
if (message.product_type !== "") {
|
|
786
|
+
writer.uint32(50).string(message.product_type);
|
|
787
|
+
}
|
|
788
|
+
if (message.destination_branch !== "") {
|
|
789
|
+
writer.uint32(58).string(message.destination_branch);
|
|
790
|
+
}
|
|
791
|
+
if (message.priority !== "") {
|
|
792
|
+
writer.uint32(66).string(message.priority);
|
|
793
|
+
}
|
|
794
|
+
if (message.client !== "") {
|
|
795
|
+
writer.uint32(74).string(message.client);
|
|
796
|
+
}
|
|
797
|
+
if (message.generation_date !== "") {
|
|
798
|
+
writer.uint32(82).string(message.generation_date);
|
|
799
|
+
}
|
|
800
|
+
if (message.id_batch !== "") {
|
|
801
|
+
writer.uint32(90).string(message.id_batch);
|
|
802
|
+
}
|
|
770
803
|
return writer;
|
|
771
804
|
},
|
|
772
805
|
decode(input, length) {
|
|
@@ -804,6 +837,55 @@ exports.GetManufacturingBatchesRequest = {
|
|
|
804
837
|
message.brand = reader.string();
|
|
805
838
|
continue;
|
|
806
839
|
}
|
|
840
|
+
case 5: {
|
|
841
|
+
if (tag !== 42) {
|
|
842
|
+
break;
|
|
843
|
+
}
|
|
844
|
+
message.bin = reader.string();
|
|
845
|
+
continue;
|
|
846
|
+
}
|
|
847
|
+
case 6: {
|
|
848
|
+
if (tag !== 50) {
|
|
849
|
+
break;
|
|
850
|
+
}
|
|
851
|
+
message.product_type = reader.string();
|
|
852
|
+
continue;
|
|
853
|
+
}
|
|
854
|
+
case 7: {
|
|
855
|
+
if (tag !== 58) {
|
|
856
|
+
break;
|
|
857
|
+
}
|
|
858
|
+
message.destination_branch = reader.string();
|
|
859
|
+
continue;
|
|
860
|
+
}
|
|
861
|
+
case 8: {
|
|
862
|
+
if (tag !== 66) {
|
|
863
|
+
break;
|
|
864
|
+
}
|
|
865
|
+
message.priority = reader.string();
|
|
866
|
+
continue;
|
|
867
|
+
}
|
|
868
|
+
case 9: {
|
|
869
|
+
if (tag !== 74) {
|
|
870
|
+
break;
|
|
871
|
+
}
|
|
872
|
+
message.client = reader.string();
|
|
873
|
+
continue;
|
|
874
|
+
}
|
|
875
|
+
case 10: {
|
|
876
|
+
if (tag !== 82) {
|
|
877
|
+
break;
|
|
878
|
+
}
|
|
879
|
+
message.generation_date = reader.string();
|
|
880
|
+
continue;
|
|
881
|
+
}
|
|
882
|
+
case 11: {
|
|
883
|
+
if (tag !== 90) {
|
|
884
|
+
break;
|
|
885
|
+
}
|
|
886
|
+
message.id_batch = reader.string();
|
|
887
|
+
continue;
|
|
888
|
+
}
|
|
807
889
|
}
|
|
808
890
|
if ((tag & 7) === 4 || tag === 0) {
|
|
809
891
|
break;
|
|
@@ -823,6 +905,13 @@ exports.GetManufacturingBatchesRequest = {
|
|
|
823
905
|
message.q = object.q ?? "";
|
|
824
906
|
message.status = object.status ?? "";
|
|
825
907
|
message.brand = object.brand ?? "";
|
|
908
|
+
message.bin = object.bin ?? "";
|
|
909
|
+
message.product_type = object.product_type ?? "";
|
|
910
|
+
message.destination_branch = object.destination_branch ?? "";
|
|
911
|
+
message.priority = object.priority ?? "";
|
|
912
|
+
message.client = object.client ?? "";
|
|
913
|
+
message.generation_date = object.generation_date ?? "";
|
|
914
|
+
message.id_batch = object.id_batch ?? "";
|
|
826
915
|
return message;
|
|
827
916
|
},
|
|
828
917
|
};
|