@stashfin/grpc 1.2.48 → 1.2.50
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/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.d.ts +20 -3
- package/ts/customers/getbasicinfo.js +171 -24
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcustomerbyid.d.ts +5 -0
- package/ts/customers/getcustomerbyid.js +76 -1
- package/ts/customers/getdashboard.d.ts +1 -0
- package/ts/customers/getdashboard.js +49 -34
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getkycweburl.d.ts +34 -0
- package/ts/customers/getkycweburl.js +104 -0
- package/ts/customers/getprofessionalinfo.d.ts +18 -1
- package/ts/customers/getprofessionalinfo.js +148 -10
- package/ts/customers/getprofile.d.ts +17 -2
- package/ts/customers/getprofile.js +146 -26
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +19 -28
- package/ts/customers/getstep.js +159 -173
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.d.ts +36 -0
- package/ts/{customer/sendotp.js → customers/resetmpin.js} +47 -47
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/{customer/profileupdatetnc.js → customers/saveunlocklimit.js} +20 -33
- 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 +2 -0
- package/ts/customers/step1.js +32 -4
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step2.d.ts +5 -6
- package/ts/customers/step2.js +22 -37
- 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.d.ts +37 -0
- package/ts/{customer/verifympin.js → customers/updatedigilockertxn.js} +46 -48
- package/ts/customers/updatehypervergetxn.d.ts +36 -0
- package/ts/{customer/setmpin.js → customers/updatehypervergetxn.js} +30 -30
- 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 +180 -28
- package/ts/customers.js +125 -17
- 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.d.ts +0 -11
- package/ts/loans/banklist.js +6 -60
- package/ts/loans/calculateemi.d.ts +16 -2
- package/ts/loans/calculateemi.js +115 -19
- package/ts/loans/creditlimit.d.ts +8 -0
- package/ts/loans/creditlimit.js +129 -2
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/transactionlist.d.ts +50 -0
- package/ts/loans/transactionlist.js +229 -0
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.d.ts +14 -0
- package/ts/loans.js +11 -1
- 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/customer/getprofile.d.ts +0 -38
- package/ts/customer/getprofile.js +0 -162
- package/ts/customer/getstep.d.ts +0 -78
- package/ts/customer/getstep.js +0 -420
- package/ts/customer/profileupdatetnc.d.ts +0 -35
- package/ts/customer/sendotp.d.ts +0 -36
- package/ts/customer/setmpin.d.ts +0 -36
- package/ts/customer/step1.d.ts +0 -69
- package/ts/customer/step1.js +0 -395
- package/ts/customer/step10.d.ts +0 -73
- package/ts/customer/step10.js +0 -459
- package/ts/customer/step2.d.ts +0 -68
- package/ts/customer/step2.js +0 -381
- package/ts/customer/step7.d.ts +0 -68
- package/ts/customer/step7.js +0 -381
- package/ts/customer/step8.d.ts +0 -69
- package/ts/customer/step8.js +0 -395
- package/ts/customer/step9.d.ts +0 -75
- package/ts/customer/step9.js +0 -489
- package/ts/customer/stepstatic.d.ts +0 -66
- package/ts/customer/stepstatic.js +0 -352
- package/ts/customer/verifympin.d.ts +0 -37
- package/ts/customer/verifyotp.d.ts +0 -39
- package/ts/customer/verifyotp.js +0 -177
- package/ts/customer.d.ts +0 -262
- package/ts/customer.js +0 -190
- package/ts/google/protobuf/any.d.ts +0 -138
- package/ts/google/protobuf/any.js +0 -108
- package/ts/payments/checkpaymentstatus.d.ts +0 -41
- package/ts/payments/checkpaymentstatus.js +0 -206
- package/ts/payments/createorder.d.ts +0 -39
- package/ts/payments/createorder.js +0 -191
- package/ts/payments/getpaymentdetails.d.ts +0 -39
- package/ts/payments/getpaymentdetails.js +0 -164
- package/ts/payments/getpaymentoptions.d.ts +0 -39
- package/ts/payments/getpaymentoptions.js +0 -164
- package/ts/payments/initiatepayment.d.ts +0 -43
- package/ts/payments/initiatepayment.js +0 -255
- package/ts/payments.d.ts +0 -70
- package/ts/payments.js +0 -54
package/ts/payments.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
-
import { request as request3, response as response4 } from "./payments/checkpaymentstatus";
|
|
3
|
-
import { request as request5, response as response6 } from "./payments/getpaymentdetails";
|
|
4
|
-
import { request, response } from "./payments/getpaymentoptions";
|
|
5
|
-
import { request as request1, response as response2 } from "./payments/initiatepayment";
|
|
6
|
-
export declare const protobufPackage = "service";
|
|
7
|
-
export type paymentsService = typeof paymentsService;
|
|
8
|
-
export declare const paymentsService: {
|
|
9
|
-
readonly getpaymentoptions: {
|
|
10
|
-
readonly path: "/service.payments/getpaymentoptions";
|
|
11
|
-
readonly requestStream: false;
|
|
12
|
-
readonly responseStream: false;
|
|
13
|
-
readonly requestSerialize: (value: request) => Buffer;
|
|
14
|
-
readonly requestDeserialize: (value: Buffer) => request;
|
|
15
|
-
readonly responseSerialize: (value: response) => Buffer;
|
|
16
|
-
readonly responseDeserialize: (value: Buffer) => response;
|
|
17
|
-
};
|
|
18
|
-
readonly initiatepayment: {
|
|
19
|
-
readonly path: "/service.payments/initiatepayment";
|
|
20
|
-
readonly requestStream: false;
|
|
21
|
-
readonly responseStream: false;
|
|
22
|
-
readonly requestSerialize: (value: request1) => Buffer;
|
|
23
|
-
readonly requestDeserialize: (value: Buffer) => request1;
|
|
24
|
-
readonly responseSerialize: (value: response2) => Buffer;
|
|
25
|
-
readonly responseDeserialize: (value: Buffer) => response2;
|
|
26
|
-
};
|
|
27
|
-
readonly checkpaymentstatus: {
|
|
28
|
-
readonly path: "/service.payments/checkpaymentstatus";
|
|
29
|
-
readonly requestStream: false;
|
|
30
|
-
readonly responseStream: false;
|
|
31
|
-
readonly requestSerialize: (value: request3) => Buffer;
|
|
32
|
-
readonly requestDeserialize: (value: Buffer) => request3;
|
|
33
|
-
readonly responseSerialize: (value: response4) => Buffer;
|
|
34
|
-
readonly responseDeserialize: (value: Buffer) => response4;
|
|
35
|
-
};
|
|
36
|
-
readonly getpaymentdetails: {
|
|
37
|
-
readonly path: "/service.payments/getpaymentdetails";
|
|
38
|
-
readonly requestStream: false;
|
|
39
|
-
readonly responseStream: false;
|
|
40
|
-
readonly requestSerialize: (value: request5) => Buffer;
|
|
41
|
-
readonly requestDeserialize: (value: Buffer) => request5;
|
|
42
|
-
readonly responseSerialize: (value: response6) => Buffer;
|
|
43
|
-
readonly responseDeserialize: (value: Buffer) => response6;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export interface paymentsServer extends UntypedServiceImplementation {
|
|
47
|
-
getpaymentoptions: handleUnaryCall<request, response>;
|
|
48
|
-
initiatepayment: handleUnaryCall<request1, response2>;
|
|
49
|
-
checkpaymentstatus: handleUnaryCall<request3, response4>;
|
|
50
|
-
getpaymentdetails: handleUnaryCall<request5, response6>;
|
|
51
|
-
}
|
|
52
|
-
export interface paymentsClient extends Client {
|
|
53
|
-
getpaymentoptions(request: request, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
54
|
-
getpaymentoptions(request: request, metadata: Metadata, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
55
|
-
getpaymentoptions(request: request, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
56
|
-
initiatepayment(request: request1, callback: (error: ServiceError | null, response: response2) => void): ClientUnaryCall;
|
|
57
|
-
initiatepayment(request: request1, metadata: Metadata, callback: (error: ServiceError | null, response: response2) => void): ClientUnaryCall;
|
|
58
|
-
initiatepayment(request: request1, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response2) => void): ClientUnaryCall;
|
|
59
|
-
checkpaymentstatus(request: request3, callback: (error: ServiceError | null, response: response4) => void): ClientUnaryCall;
|
|
60
|
-
checkpaymentstatus(request: request3, metadata: Metadata, callback: (error: ServiceError | null, response: response4) => void): ClientUnaryCall;
|
|
61
|
-
checkpaymentstatus(request: request3, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response4) => void): ClientUnaryCall;
|
|
62
|
-
getpaymentdetails(request: request5, callback: (error: ServiceError | null, response: response6) => void): ClientUnaryCall;
|
|
63
|
-
getpaymentdetails(request: request5, metadata: Metadata, callback: (error: ServiceError | null, response: response6) => void): ClientUnaryCall;
|
|
64
|
-
getpaymentdetails(request: request5, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response6) => void): ClientUnaryCall;
|
|
65
|
-
}
|
|
66
|
-
export declare const paymentsClient: {
|
|
67
|
-
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): paymentsClient;
|
|
68
|
-
service: typeof paymentsService;
|
|
69
|
-
serviceName: string;
|
|
70
|
-
};
|
package/ts/payments.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.180.0
|
|
5
|
-
// protoc v3.20.3
|
|
6
|
-
// source: payments.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.paymentsClient = exports.paymentsService = exports.protobufPackage = void 0;
|
|
9
|
-
/* eslint-disable */
|
|
10
|
-
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
|
-
const checkpaymentstatus_1 = require("./payments/checkpaymentstatus");
|
|
12
|
-
const getpaymentdetails_1 = require("./payments/getpaymentdetails");
|
|
13
|
-
const getpaymentoptions_1 = require("./payments/getpaymentoptions");
|
|
14
|
-
const initiatepayment_1 = require("./payments/initiatepayment");
|
|
15
|
-
exports.protobufPackage = "service";
|
|
16
|
-
exports.paymentsService = {
|
|
17
|
-
getpaymentoptions: {
|
|
18
|
-
path: "/service.payments/getpaymentoptions",
|
|
19
|
-
requestStream: false,
|
|
20
|
-
responseStream: false,
|
|
21
|
-
requestSerialize: (value) => Buffer.from(getpaymentoptions_1.request.encode(value).finish()),
|
|
22
|
-
requestDeserialize: (value) => getpaymentoptions_1.request.decode(value),
|
|
23
|
-
responseSerialize: (value) => Buffer.from(getpaymentoptions_1.response.encode(value).finish()),
|
|
24
|
-
responseDeserialize: (value) => getpaymentoptions_1.response.decode(value),
|
|
25
|
-
},
|
|
26
|
-
initiatepayment: {
|
|
27
|
-
path: "/service.payments/initiatepayment",
|
|
28
|
-
requestStream: false,
|
|
29
|
-
responseStream: false,
|
|
30
|
-
requestSerialize: (value) => Buffer.from(initiatepayment_1.request.encode(value).finish()),
|
|
31
|
-
requestDeserialize: (value) => initiatepayment_1.request.decode(value),
|
|
32
|
-
responseSerialize: (value) => Buffer.from(initiatepayment_1.response.encode(value).finish()),
|
|
33
|
-
responseDeserialize: (value) => initiatepayment_1.response.decode(value),
|
|
34
|
-
},
|
|
35
|
-
checkpaymentstatus: {
|
|
36
|
-
path: "/service.payments/checkpaymentstatus",
|
|
37
|
-
requestStream: false,
|
|
38
|
-
responseStream: false,
|
|
39
|
-
requestSerialize: (value) => Buffer.from(checkpaymentstatus_1.request.encode(value).finish()),
|
|
40
|
-
requestDeserialize: (value) => checkpaymentstatus_1.request.decode(value),
|
|
41
|
-
responseSerialize: (value) => Buffer.from(checkpaymentstatus_1.response.encode(value).finish()),
|
|
42
|
-
responseDeserialize: (value) => checkpaymentstatus_1.response.decode(value),
|
|
43
|
-
},
|
|
44
|
-
getpaymentdetails: {
|
|
45
|
-
path: "/service.payments/getpaymentdetails",
|
|
46
|
-
requestStream: false,
|
|
47
|
-
responseStream: false,
|
|
48
|
-
requestSerialize: (value) => Buffer.from(getpaymentdetails_1.request.encode(value).finish()),
|
|
49
|
-
requestDeserialize: (value) => getpaymentdetails_1.request.decode(value),
|
|
50
|
-
responseSerialize: (value) => Buffer.from(getpaymentdetails_1.response.encode(value).finish()),
|
|
51
|
-
responseDeserialize: (value) => getpaymentdetails_1.response.decode(value),
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
exports.paymentsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.paymentsService, "service.payments");
|