@stashfin/grpc 1.2.67 → 1.2.71
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/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinotp.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbanklist.d.ts +48 -0
- package/ts/customers/getbanklist.js +198 -0
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getcustomerbyid.d.ts +1 -0
- package/ts/customers/getcustomerbyid.js +16 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getkycweburl.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.d.ts +1 -0
- package/ts/customers/getprofile.js +17 -2
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendemailtoken.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step1.d.ts +71 -0
- package/ts/customers/step1.js +423 -0
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step2.d.ts +67 -0
- package/ts/customers/step2.js +366 -0
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/updatedigilockertxn.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatehypervergetxn.js +1 -1
- package/ts/customers/updatelocdisabled.d.ts +35 -0
- package/ts/customers/updatelocdisabled.js +117 -0
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifyemail.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers.d.ts +42 -0
- package/ts/customers.js +31 -1
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +2 -0
- package/ts/loans/transactionlist.js +30 -2
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.d.ts +42 -0
- package/ts/loans.js +31 -1
- package/ts/payments.d.ts +214 -31
- package/ts/payments.js +1095 -22
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/payments/checkpaymentstatus.d.ts +0 -51
- package/ts/payments/checkpaymentstatus.js +0 -259
- package/ts/payments/getpaymentoptions.d.ts +0 -50
- package/ts/payments/getpaymentoptions.js +0 -233
- package/ts/payments/initiatepayment.d.ts +0 -52
- package/ts/payments/initiatepayment.js +0 -271
package/ts/customers.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
+
import { getBankListRequest, getBankListResponse } from "./customers/aa/getbanklist";
|
|
2
3
|
import { addAddressRequest, addAddressResponse } from "./customers/addaddress";
|
|
3
4
|
import { addBankAccountDetailsRequest, addBankAccountDetailsResponse } from "./customers/addbankaccountdetails";
|
|
5
|
+
import { addSuspendedCustomerRequest, addSuspendedCustomerResponse } from "./customers/addsuspendedcustomer";
|
|
4
6
|
import { createCustomerReferenceRequest, createCustomerReferenceResponse } from "./customers/createcustomerreference";
|
|
5
7
|
import { deleteProfileRequest, deleteProfileResponse } from "./customers/deleteprofile";
|
|
6
8
|
import { forgotMpinRequest, forgotMpinResponse } from "./customers/forgotmpin";
|
|
@@ -32,6 +34,7 @@ import { stepstaticRequest, stepstaticResponse } from "./customers/stepstatic";
|
|
|
32
34
|
import { updateDigiLockerTxnRequest, updateDigiLockerTxnResponse } from "./customers/updatedigilockertxn";
|
|
33
35
|
import { updateDOBRequest, updateDOBResponse } from "./customers/updatedob";
|
|
34
36
|
import { updateHypervergeTxnRequest, updateHypervergeTxnResponse } from "./customers/updatehypervergetxn";
|
|
37
|
+
import { locDisabledRequest, locDisabledResponse } from "./customers/updatelocdisabled";
|
|
35
38
|
import { validatePanRequest, validatePanResponse } from "./customers/validatepan";
|
|
36
39
|
import { verifyEmailRequest, verifyEmailResponse } from "./customers/verifyemail";
|
|
37
40
|
import { verifyMpinRequest, verifyMpinResponse } from "./customers/verifympin";
|
|
@@ -426,6 +429,33 @@ export declare const customersService: {
|
|
|
426
429
|
readonly responseSerialize: (value: deleteProfileResponse) => Buffer;
|
|
427
430
|
readonly responseDeserialize: (value: Buffer) => deleteProfileResponse;
|
|
428
431
|
};
|
|
432
|
+
readonly getBankList: {
|
|
433
|
+
readonly path: "/service.customers/getBankList";
|
|
434
|
+
readonly requestStream: false;
|
|
435
|
+
readonly responseStream: false;
|
|
436
|
+
readonly requestSerialize: (value: getBankListRequest) => Buffer;
|
|
437
|
+
readonly requestDeserialize: (value: Buffer) => getBankListRequest;
|
|
438
|
+
readonly responseSerialize: (value: getBankListResponse) => Buffer;
|
|
439
|
+
readonly responseDeserialize: (value: Buffer) => getBankListResponse;
|
|
440
|
+
};
|
|
441
|
+
readonly addSuspendedCustomer: {
|
|
442
|
+
readonly path: "/service.customers/addSuspendedCustomer";
|
|
443
|
+
readonly requestStream: false;
|
|
444
|
+
readonly responseStream: false;
|
|
445
|
+
readonly requestSerialize: (value: addSuspendedCustomerRequest) => Buffer;
|
|
446
|
+
readonly requestDeserialize: (value: Buffer) => addSuspendedCustomerRequest;
|
|
447
|
+
readonly responseSerialize: (value: addSuspendedCustomerResponse) => Buffer;
|
|
448
|
+
readonly responseDeserialize: (value: Buffer) => addSuspendedCustomerResponse;
|
|
449
|
+
};
|
|
450
|
+
readonly updatelocdisabled: {
|
|
451
|
+
readonly path: "/service.customers/updatelocdisabled";
|
|
452
|
+
readonly requestStream: false;
|
|
453
|
+
readonly responseStream: false;
|
|
454
|
+
readonly requestSerialize: (value: locDisabledRequest) => Buffer;
|
|
455
|
+
readonly requestDeserialize: (value: Buffer) => locDisabledRequest;
|
|
456
|
+
readonly responseSerialize: (value: locDisabledResponse) => Buffer;
|
|
457
|
+
readonly responseDeserialize: (value: Buffer) => locDisabledResponse;
|
|
458
|
+
};
|
|
429
459
|
};
|
|
430
460
|
export interface customersServer extends UntypedServiceImplementation {
|
|
431
461
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -471,6 +501,9 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
471
501
|
updateDob: handleUnaryCall<updateDOBRequest, updateDOBResponse>;
|
|
472
502
|
validatePan: handleUnaryCall<validatePanRequest, validatePanResponse>;
|
|
473
503
|
deleteProfile: handleUnaryCall<deleteProfileRequest, deleteProfileResponse>;
|
|
504
|
+
getBankList: handleUnaryCall<getBankListRequest, getBankListResponse>;
|
|
505
|
+
addSuspendedCustomer: handleUnaryCall<addSuspendedCustomerRequest, addSuspendedCustomerResponse>;
|
|
506
|
+
updatelocdisabled: handleUnaryCall<locDisabledRequest, locDisabledResponse>;
|
|
474
507
|
}
|
|
475
508
|
export interface customersClient extends Client {
|
|
476
509
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -602,6 +635,15 @@ export interface customersClient extends Client {
|
|
|
602
635
|
deleteProfile(request: deleteProfileRequest, callback: (error: ServiceError | null, response: deleteProfileResponse) => void): ClientUnaryCall;
|
|
603
636
|
deleteProfile(request: deleteProfileRequest, metadata: Metadata, callback: (error: ServiceError | null, response: deleteProfileResponse) => void): ClientUnaryCall;
|
|
604
637
|
deleteProfile(request: deleteProfileRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: deleteProfileResponse) => void): ClientUnaryCall;
|
|
638
|
+
getBankList(request: getBankListRequest, callback: (error: ServiceError | null, response: getBankListResponse) => void): ClientUnaryCall;
|
|
639
|
+
getBankList(request: getBankListRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getBankListResponse) => void): ClientUnaryCall;
|
|
640
|
+
getBankList(request: getBankListRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getBankListResponse) => void): ClientUnaryCall;
|
|
641
|
+
addSuspendedCustomer(request: addSuspendedCustomerRequest, callback: (error: ServiceError | null, response: addSuspendedCustomerResponse) => void): ClientUnaryCall;
|
|
642
|
+
addSuspendedCustomer(request: addSuspendedCustomerRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addSuspendedCustomerResponse) => void): ClientUnaryCall;
|
|
643
|
+
addSuspendedCustomer(request: addSuspendedCustomerRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addSuspendedCustomerResponse) => void): ClientUnaryCall;
|
|
644
|
+
updatelocdisabled(request: locDisabledRequest, callback: (error: ServiceError | null, response: locDisabledResponse) => void): ClientUnaryCall;
|
|
645
|
+
updatelocdisabled(request: locDisabledRequest, metadata: Metadata, callback: (error: ServiceError | null, response: locDisabledResponse) => void): ClientUnaryCall;
|
|
646
|
+
updatelocdisabled(request: locDisabledRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: locDisabledResponse) => void): ClientUnaryCall;
|
|
605
647
|
}
|
|
606
648
|
export declare const customersClient: {
|
|
607
649
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.customersClient = exports.customersService = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
|
+
const getbanklist_1 = require("./customers/aa/getbanklist");
|
|
11
12
|
const addaddress_1 = require("./customers/addaddress");
|
|
12
13
|
const addbankaccountdetails_1 = require("./customers/addbankaccountdetails");
|
|
14
|
+
const addsuspendedcustomer_1 = require("./customers/addsuspendedcustomer");
|
|
13
15
|
const createcustomerreference_1 = require("./customers/createcustomerreference");
|
|
14
16
|
const deleteprofile_1 = require("./customers/deleteprofile");
|
|
15
17
|
const forgotmpin_1 = require("./customers/forgotmpin");
|
|
@@ -41,6 +43,7 @@ const stepstatic_1 = require("./customers/stepstatic");
|
|
|
41
43
|
const updatedigilockertxn_1 = require("./customers/updatedigilockertxn");
|
|
42
44
|
const updatedob_1 = require("./customers/updatedob");
|
|
43
45
|
const updatehypervergetxn_1 = require("./customers/updatehypervergetxn");
|
|
46
|
+
const updatelocdisabled_1 = require("./customers/updatelocdisabled");
|
|
44
47
|
const validatepan_1 = require("./customers/validatepan");
|
|
45
48
|
const verifyemail_1 = require("./customers/verifyemail");
|
|
46
49
|
const verifympin_1 = require("./customers/verifympin");
|
|
@@ -434,5 +437,32 @@ exports.customersService = {
|
|
|
434
437
|
responseSerialize: (value) => Buffer.from(deleteprofile_1.deleteProfileResponse.encode(value).finish()),
|
|
435
438
|
responseDeserialize: (value) => deleteprofile_1.deleteProfileResponse.decode(value),
|
|
436
439
|
},
|
|
440
|
+
getBankList: {
|
|
441
|
+
path: "/service.customers/getBankList",
|
|
442
|
+
requestStream: false,
|
|
443
|
+
responseStream: false,
|
|
444
|
+
requestSerialize: (value) => Buffer.from(getbanklist_1.getBankListRequest.encode(value).finish()),
|
|
445
|
+
requestDeserialize: (value) => getbanklist_1.getBankListRequest.decode(value),
|
|
446
|
+
responseSerialize: (value) => Buffer.from(getbanklist_1.getBankListResponse.encode(value).finish()),
|
|
447
|
+
responseDeserialize: (value) => getbanklist_1.getBankListResponse.decode(value),
|
|
448
|
+
},
|
|
449
|
+
addSuspendedCustomer: {
|
|
450
|
+
path: "/service.customers/addSuspendedCustomer",
|
|
451
|
+
requestStream: false,
|
|
452
|
+
responseStream: false,
|
|
453
|
+
requestSerialize: (value) => Buffer.from(addsuspendedcustomer_1.addSuspendedCustomerRequest.encode(value).finish()),
|
|
454
|
+
requestDeserialize: (value) => addsuspendedcustomer_1.addSuspendedCustomerRequest.decode(value),
|
|
455
|
+
responseSerialize: (value) => Buffer.from(addsuspendedcustomer_1.addSuspendedCustomerResponse.encode(value).finish()),
|
|
456
|
+
responseDeserialize: (value) => addsuspendedcustomer_1.addSuspendedCustomerResponse.decode(value),
|
|
457
|
+
},
|
|
458
|
+
updatelocdisabled: {
|
|
459
|
+
path: "/service.customers/updatelocdisabled",
|
|
460
|
+
requestStream: false,
|
|
461
|
+
responseStream: false,
|
|
462
|
+
requestSerialize: (value) => Buffer.from(updatelocdisabled_1.locDisabledRequest.encode(value).finish()),
|
|
463
|
+
requestDeserialize: (value) => updatelocdisabled_1.locDisabledRequest.decode(value),
|
|
464
|
+
responseSerialize: (value) => Buffer.from(updatelocdisabled_1.locDisabledResponse.encode(value).finish()),
|
|
465
|
+
responseDeserialize: (value) => updatelocdisabled_1.locDisabledResponse.decode(value),
|
|
466
|
+
},
|
|
437
467
|
};
|
|
438
468
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|
package/ts/example.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: example.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: google/protobuf/timestamp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/approveloan.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/approveloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/banklist.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/banklist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/calculateemi.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/calculateemi.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/creditlimit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/creditlimit.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.getcustomerloanstatus";
|
|
3
|
+
export interface getCustomerLoanStatusRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getCustomerLoanStatusResponse {
|
|
6
|
+
is_loc: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const getCustomerLoanStatusRequest: {
|
|
9
|
+
encode(_: getCustomerLoanStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerLoanStatusRequest;
|
|
11
|
+
fromJSON(_: any): getCustomerLoanStatusRequest;
|
|
12
|
+
toJSON(_: getCustomerLoanStatusRequest): unknown;
|
|
13
|
+
create<I extends Exact<DeepPartial<getCustomerLoanStatusRequest>, I>>(base?: I): getCustomerLoanStatusRequest;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<getCustomerLoanStatusRequest>, I>>(_: I): getCustomerLoanStatusRequest;
|
|
15
|
+
};
|
|
16
|
+
export declare const getCustomerLoanStatusResponse: {
|
|
17
|
+
encode(message: getCustomerLoanStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerLoanStatusResponse;
|
|
19
|
+
fromJSON(object: any): getCustomerLoanStatusResponse;
|
|
20
|
+
toJSON(message: getCustomerLoanStatusResponse): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<getCustomerLoanStatusResponse>, I>>(base?: I): getCustomerLoanStatusResponse;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<getCustomerLoanStatusResponse>, I>>(object: I): getCustomerLoanStatusResponse;
|
|
23
|
+
};
|
|
24
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
25
|
+
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 {} ? {
|
|
26
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
27
|
+
} : Partial<T>;
|
|
28
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
29
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
30
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
31
|
+
} & {
|
|
32
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v3.20.3
|
|
6
|
+
// source: loans/getcustomerloanstatus.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.getCustomerLoanStatusResponse = exports.getCustomerLoanStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.getcustomerloanstatus";
|
|
15
|
+
function createBasegetCustomerLoanStatusRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getCustomerLoanStatusRequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasegetCustomerLoanStatusRequest();
|
|
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.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.getCustomerLoanStatusRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetCustomerLoanStatusRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetCustomerLoanStatusResponse() {
|
|
53
|
+
return { is_loc: false };
|
|
54
|
+
}
|
|
55
|
+
exports.getCustomerLoanStatusResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.is_loc !== false) {
|
|
58
|
+
writer.uint32(8).bool(message.is_loc);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBasegetCustomerLoanStatusResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 8) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.is_loc = reader.bool();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { is_loc: isSet(object.is_loc) ? globalThis.Boolean(object.is_loc) : false };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.is_loc !== false) {
|
|
89
|
+
obj.is_loc = message.is_loc;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.getCustomerLoanStatusResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBasegetCustomerLoanStatusResponse();
|
|
98
|
+
message.is_loc = object.is_loc ?? false;
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
package/ts/loans/loansummary.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/loansummary.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/paymentallocation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: loans/restructureloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.sendemail";
|
|
3
|
+
export interface sendEmailRequest {
|
|
4
|
+
loan_id: number;
|
|
5
|
+
}
|
|
6
|
+
export interface sendEmailResponse {
|
|
7
|
+
agreement_email: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const sendEmailRequest: {
|
|
10
|
+
encode(message: sendEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendEmailRequest;
|
|
12
|
+
fromJSON(object: any): sendEmailRequest;
|
|
13
|
+
toJSON(message: sendEmailRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<sendEmailRequest>, I>>(base?: I): sendEmailRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<sendEmailRequest>, I>>(object: I): sendEmailRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const sendEmailResponse: {
|
|
18
|
+
encode(message: sendEmailResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendEmailResponse;
|
|
20
|
+
fromJSON(object: any): sendEmailResponse;
|
|
21
|
+
toJSON(message: sendEmailResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<sendEmailResponse>, I>>(base?: I): sendEmailResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<sendEmailResponse>, I>>(object: I): sendEmailResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v3.20.3
|
|
6
|
+
// source: loans/sendemail.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.sendEmailResponse = exports.sendEmailRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.sendemail";
|
|
15
|
+
function createBasesendEmailRequest() {
|
|
16
|
+
return { loan_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.sendEmailRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.loan_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.loan_id);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasesendEmailRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.loan_id = reader.int32();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.loan_id !== 0) {
|
|
52
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.sendEmailRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasesendEmailRequest();
|
|
61
|
+
message.loan_id = object.loan_id ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasesendEmailResponse() {
|
|
66
|
+
return { agreement_email: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.sendEmailResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.agreement_email !== "") {
|
|
71
|
+
writer.uint32(10).string(message.agreement_email);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBasesendEmailResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.agreement_email = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { agreement_email: isSet(object.agreement_email) ? globalThis.String(object.agreement_email) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.agreement_email !== "") {
|
|
102
|
+
obj.agreement_email = message.agreement_email;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.sendEmailResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasesendEmailResponse();
|
|
111
|
+
message.agreement_email = object.agreement_email ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.sendnocemail";
|
|
3
|
+
export interface sendNocEmailRequest {
|
|
4
|
+
loan_id: number;
|
|
5
|
+
}
|
|
6
|
+
export interface sendNocEmailResponse {
|
|
7
|
+
noc_email: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const sendNocEmailRequest: {
|
|
10
|
+
encode(message: sendNocEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendNocEmailRequest;
|
|
12
|
+
fromJSON(object: any): sendNocEmailRequest;
|
|
13
|
+
toJSON(message: sendNocEmailRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<sendNocEmailRequest>, I>>(base?: I): sendNocEmailRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<sendNocEmailRequest>, I>>(object: I): sendNocEmailRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const sendNocEmailResponse: {
|
|
18
|
+
encode(message: sendNocEmailResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): sendNocEmailResponse;
|
|
20
|
+
fromJSON(object: any): sendNocEmailResponse;
|
|
21
|
+
toJSON(message: sendNocEmailResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<sendNocEmailResponse>, I>>(base?: I): sendNocEmailResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<sendNocEmailResponse>, I>>(object: I): sendNocEmailResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|