@stashfin/grpc 1.2.222 → 1.2.224
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/package.json +1 -1
- package/ts/customers/getcustomerbyid.d.ts +1 -0
- package/ts/customers/getcustomerbyid.js +15 -0
- package/ts/loans/futurepaymentmoredetails.d.ts +5 -4
- package/ts/loans/futurepaymentmoredetails.js +19 -6
- package/ts/loans/getpendingemiamount.d.ts +5 -4
- package/ts/loans/getpendingemiamount.js +19 -6
package/package.json
CHANGED
|
@@ -142,6 +142,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
142
142
|
repeat_journey: undefined,
|
|
143
143
|
txn_rate: undefined,
|
|
144
144
|
customer_id: 0,
|
|
145
|
+
is_fcp_enabled: false,
|
|
145
146
|
};
|
|
146
147
|
}
|
|
147
148
|
exports.getCustomerByIdResponse = {
|
|
@@ -377,6 +378,9 @@ exports.getCustomerByIdResponse = {
|
|
|
377
378
|
if (message.customer_id !== 0) {
|
|
378
379
|
writer.uint32(616).int64(message.customer_id);
|
|
379
380
|
}
|
|
381
|
+
if (message.is_fcp_enabled !== false) {
|
|
382
|
+
writer.uint32(624).bool(message.is_fcp_enabled);
|
|
383
|
+
}
|
|
380
384
|
return writer;
|
|
381
385
|
},
|
|
382
386
|
decode(input, length) {
|
|
@@ -848,6 +852,12 @@ exports.getCustomerByIdResponse = {
|
|
|
848
852
|
}
|
|
849
853
|
message.customer_id = longToNumber(reader.int64());
|
|
850
854
|
continue;
|
|
855
|
+
case 78:
|
|
856
|
+
if (tag !== 624) {
|
|
857
|
+
break;
|
|
858
|
+
}
|
|
859
|
+
message.is_fcp_enabled = reader.bool();
|
|
860
|
+
continue;
|
|
851
861
|
}
|
|
852
862
|
if ((tag & 7) === 4 || tag === 0) {
|
|
853
863
|
break;
|
|
@@ -935,6 +945,7 @@ exports.getCustomerByIdResponse = {
|
|
|
935
945
|
repeat_journey: isSet(object.repeat_journey) ? globalThis.Number(object.repeat_journey) : undefined,
|
|
936
946
|
txn_rate: isSet(object.txn_rate) ? globalThis.Number(object.txn_rate) : undefined,
|
|
937
947
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
948
|
+
is_fcp_enabled: isSet(object.is_fcp_enabled) ? globalThis.Boolean(object.is_fcp_enabled) : false,
|
|
938
949
|
};
|
|
939
950
|
},
|
|
940
951
|
toJSON(message) {
|
|
@@ -1170,6 +1181,9 @@ exports.getCustomerByIdResponse = {
|
|
|
1170
1181
|
if (message.customer_id !== 0) {
|
|
1171
1182
|
obj.customer_id = Math.round(message.customer_id);
|
|
1172
1183
|
}
|
|
1184
|
+
if (message.is_fcp_enabled !== false) {
|
|
1185
|
+
obj.is_fcp_enabled = message.is_fcp_enabled;
|
|
1186
|
+
}
|
|
1173
1187
|
return obj;
|
|
1174
1188
|
},
|
|
1175
1189
|
create(base) {
|
|
@@ -1262,6 +1276,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1262
1276
|
message.repeat_journey = object.repeat_journey ?? undefined;
|
|
1263
1277
|
message.txn_rate = object.txn_rate ?? undefined;
|
|
1264
1278
|
message.customer_id = object.customer_id ?? 0;
|
|
1279
|
+
message.is_fcp_enabled = object.is_fcp_enabled ?? false;
|
|
1265
1280
|
return message;
|
|
1266
1281
|
},
|
|
1267
1282
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "loans.futurepaymentmoredetails";
|
|
3
3
|
export interface futurePaymentMoreDetailsRequest {
|
|
4
|
+
date: string;
|
|
4
5
|
}
|
|
5
6
|
export interface futurePaymentMoreDetailsResponse {
|
|
6
7
|
data: futurePaymentMoreDetailsResponse_Field[];
|
|
@@ -14,12 +15,12 @@ export interface futurePaymentMoreDetailsResponse_Field {
|
|
|
14
15
|
loan_id: number;
|
|
15
16
|
}
|
|
16
17
|
export declare const futurePaymentMoreDetailsRequest: {
|
|
17
|
-
encode(
|
|
18
|
+
encode(message: futurePaymentMoreDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
18
19
|
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsRequest;
|
|
19
|
-
fromJSON(
|
|
20
|
-
toJSON(
|
|
20
|
+
fromJSON(object: any): futurePaymentMoreDetailsRequest;
|
|
21
|
+
toJSON(message: futurePaymentMoreDetailsRequest): unknown;
|
|
21
22
|
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(base?: I): futurePaymentMoreDetailsRequest;
|
|
22
|
-
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(object: I): futurePaymentMoreDetailsRequest;
|
|
23
24
|
};
|
|
24
25
|
export declare const futurePaymentMoreDetailsResponse: {
|
|
25
26
|
encode(message: futurePaymentMoreDetailsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,10 +13,13 @@ exports.futurePaymentMoreDetailsResponse_Field = exports.futurePaymentMoreDetail
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.futurepaymentmoredetails";
|
|
15
15
|
function createBasefuturePaymentMoreDetailsRequest() {
|
|
16
|
-
return {};
|
|
16
|
+
return { date: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.futurePaymentMoreDetailsRequest = {
|
|
19
|
-
encode(
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.date !== "") {
|
|
21
|
+
writer.uint32(10).string(message.date);
|
|
22
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
},
|
|
22
25
|
decode(input, length) {
|
|
@@ -26,6 +29,12 @@ exports.futurePaymentMoreDetailsRequest = {
|
|
|
26
29
|
while (reader.pos < end) {
|
|
27
30
|
const tag = reader.uint32();
|
|
28
31
|
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.date = reader.string();
|
|
37
|
+
continue;
|
|
29
38
|
}
|
|
30
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31
40
|
break;
|
|
@@ -34,18 +43,22 @@ exports.futurePaymentMoreDetailsRequest = {
|
|
|
34
43
|
}
|
|
35
44
|
return message;
|
|
36
45
|
},
|
|
37
|
-
fromJSON(
|
|
38
|
-
return {};
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { date: isSet(object.date) ? globalThis.String(object.date) : "" };
|
|
39
48
|
},
|
|
40
|
-
toJSON(
|
|
49
|
+
toJSON(message) {
|
|
41
50
|
const obj = {};
|
|
51
|
+
if (message.date !== "") {
|
|
52
|
+
obj.date = message.date;
|
|
53
|
+
}
|
|
42
54
|
return obj;
|
|
43
55
|
},
|
|
44
56
|
create(base) {
|
|
45
57
|
return exports.futurePaymentMoreDetailsRequest.fromPartial(base ?? {});
|
|
46
58
|
},
|
|
47
|
-
fromPartial(
|
|
59
|
+
fromPartial(object) {
|
|
48
60
|
const message = createBasefuturePaymentMoreDetailsRequest();
|
|
61
|
+
message.date = object.date ?? "";
|
|
49
62
|
return message;
|
|
50
63
|
},
|
|
51
64
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "loans.getpendingemiamount";
|
|
3
3
|
export interface getPendingEmiAmountRequest {
|
|
4
|
+
customerid: number;
|
|
4
5
|
}
|
|
5
6
|
export interface getPendingEmiAmountResponse {
|
|
6
7
|
pending_amount: number;
|
|
7
8
|
}
|
|
8
9
|
export declare const getPendingEmiAmountRequest: {
|
|
9
|
-
encode(
|
|
10
|
+
encode(message: getPendingEmiAmountRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
11
|
decode(input: _m0.Reader | Uint8Array, length?: number): getPendingEmiAmountRequest;
|
|
11
|
-
fromJSON(
|
|
12
|
-
toJSON(
|
|
12
|
+
fromJSON(object: any): getPendingEmiAmountRequest;
|
|
13
|
+
toJSON(message: getPendingEmiAmountRequest): unknown;
|
|
13
14
|
create<I extends Exact<DeepPartial<getPendingEmiAmountRequest>, I>>(base?: I): getPendingEmiAmountRequest;
|
|
14
|
-
fromPartial<I extends Exact<DeepPartial<getPendingEmiAmountRequest>, I>>(
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<getPendingEmiAmountRequest>, I>>(object: I): getPendingEmiAmountRequest;
|
|
15
16
|
};
|
|
16
17
|
export declare const getPendingEmiAmountResponse: {
|
|
17
18
|
encode(message: getPendingEmiAmountResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,10 +13,13 @@ exports.getPendingEmiAmountResponse = exports.getPendingEmiAmountRequest = expor
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.getpendingemiamount";
|
|
15
15
|
function createBasegetPendingEmiAmountRequest() {
|
|
16
|
-
return {};
|
|
16
|
+
return { customerid: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.getPendingEmiAmountRequest = {
|
|
19
|
-
encode(
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customerid !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customerid);
|
|
22
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
},
|
|
22
25
|
decode(input, length) {
|
|
@@ -26,6 +29,12 @@ exports.getPendingEmiAmountRequest = {
|
|
|
26
29
|
while (reader.pos < end) {
|
|
27
30
|
const tag = reader.uint32();
|
|
28
31
|
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.customerid = reader.int32();
|
|
37
|
+
continue;
|
|
29
38
|
}
|
|
30
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31
40
|
break;
|
|
@@ -34,18 +43,22 @@ exports.getPendingEmiAmountRequest = {
|
|
|
34
43
|
}
|
|
35
44
|
return message;
|
|
36
45
|
},
|
|
37
|
-
fromJSON(
|
|
38
|
-
return {};
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0 };
|
|
39
48
|
},
|
|
40
|
-
toJSON(
|
|
49
|
+
toJSON(message) {
|
|
41
50
|
const obj = {};
|
|
51
|
+
if (message.customerid !== 0) {
|
|
52
|
+
obj.customerid = Math.round(message.customerid);
|
|
53
|
+
}
|
|
42
54
|
return obj;
|
|
43
55
|
},
|
|
44
56
|
create(base) {
|
|
45
57
|
return exports.getPendingEmiAmountRequest.fromPartial(base ?? {});
|
|
46
58
|
},
|
|
47
|
-
fromPartial(
|
|
59
|
+
fromPartial(object) {
|
|
48
60
|
const message = createBasegetPendingEmiAmountRequest();
|
|
61
|
+
message.customerid = object.customerid ?? 0;
|
|
49
62
|
return message;
|
|
50
63
|
},
|
|
51
64
|
};
|