@stashfin/grpc 1.2.468 → 1.2.470
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/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getcibilwebtoken.js +1 -1
- package/ts/bureau/getdbrcolending.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getobligation.js +1 -1
- package/ts/bureau/getreport.js +1 -1
- package/ts/bureau.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.js +1 -1
- package/ts/colender/repayLoan.js +1 -1
- package/ts/colender.js +1 -1
- package/ts/customers/aa/getaatxnstatus.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/accidentprotectionplan.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addfathersname.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addmoredetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/applyclijourney.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
- package/ts/customers/cb/cbpaynow.js +1 -1
- package/ts/customers/cb/cbsignup.js +1 -1
- package/ts/customers/cb/getcbtxnstatus.js +1 -1
- package/ts/customers/cb/getcreditbuilder.js +1 -1
- package/ts/customers/cb/getpaymentsummary.js +1 -1
- package/ts/customers/cb/insurancedetails.js +1 -1
- package/ts/customers/cb/lesscsimprove.js +1 -1
- package/ts/customers/cb/morecsimprove.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
- package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
- package/ts/customers/cb/updatecbtxnstatus.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/createvanumber.js +1 -1
- package/ts/customers/customerinfo.js +1 -1
- package/ts/customers/deletedocument.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/enach/gettxnstatus.js +1 -1
- package/ts/customers/enach/getweburl.js +1 -1
- package/ts/customers/enach/updateenachtxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.js +1 -1
- package/ts/customers/forceupdate.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/freedom/addressconfirmation.js +1 -1
- package/ts/customers/freedom/freedompaynow.js +1 -1
- package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
- package/ts/customers/freedom/updateadditionalverification.js +1 -1
- package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
- package/ts/customers/getaddresslist.js +1 -1
- package/ts/customers/getappsubmittedscreen.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getclistatus.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getcustomerdetailsbymobile.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getglobalpopups.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getloclimit.js +1 -1
- package/ts/customers/getmessengermode.js +1 -1
- package/ts/customers/getoccupationlist.js +1 -1
- package/ts/customers/getpaymentoptions.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/getsyncstatus.js +1 -1
- package/ts/customers/getvanumber.js +1 -1
- package/ts/customers/lamf/applylamf.js +1 -1
- package/ts/customers/lamf/sendlamfotp.js +1 -1
- package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
- package/ts/customers/lamf/verifylamfotp.js +1 -1
- package/ts/customers/lamf/verifylamfpledgeotp.js +1 -1
- package/ts/customers/logout.js +1 -1
- package/ts/customers/pd/getbanklist.js +1 -1
- package/ts/customers/pd/validatebankaccount.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetbanner.js +1 -1
- package/ts/customers/restoreaccount.js +1 -1
- package/ts/customers/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.js +1 -1
- package/ts/customers/saveappslist.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/savelimit.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/submituploadeddocuments.js +1 -1
- package/ts/customers/syncdecisionengine.js +1 -1
- package/ts/customers/updatecategory.js +1 -1
- package/ts/customers/updatecongratulationstep.js +1 -1
- package/ts/customers/updatecustomerbyid.js +1 -1
- package/ts/customers/updatedlnumber.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/updatesanctionamount.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatesyncstatus.js +1 -1
- package/ts/customers/updatevehiclenumber.js +1 -1
- package/ts/customers/uploaddocuments.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.js +1 -1
- package/ts/decisionengine/decisionenginetrigger.js +1 -1
- package/ts/decisionengine/locdisbursalapproval.js +1 -1
- package/ts/decisionengine/saveconsent.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents/getfinancialdoc.js +1 -1
- package/ts/documents.js +1 -1
- package/ts/eqxcustomer.js +1 -1
- package/ts/eqxcustomers/getcustomerbyid.js +1 -1
- package/ts/eqxcustomers/getdashboard.js +1 -1
- package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
- package/ts/eqxcustomers/sendotp.js +1 -1
- package/ts/eqxcustomers/verifyotp.js +1 -1
- package/ts/example.js +1 -1
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.js +1 -1
- package/ts/growth/getchrpaymentstatus.js +1 -1
- package/ts/growth/getchrplans.js +1 -1
- package/ts/growth/getcredithealthreport.js +1 -1
- package/ts/growth/initiatepayment.js +1 -1
- package/ts/growth/notifychrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/lamf/getloandetails.js +1 -1
- package/ts/lamf/submitotp.js +1 -1
- package/ts/lamf/validateuser.js +1 -1
- package/ts/lamf.js +1 -1
- package/ts/loans/amortization.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/cbloan.js +1 -1
- package/ts/loans/createlamfloan.js +1 -1
- package/ts/loans/createpenalty.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/emimoredetails.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/getaddonslist.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcbloandetails.js +1 -1
- package/ts/loans/getchrdetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getforecloseamount.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpaymentoptions.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsetubilldetails.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.js +1 -1
- package/ts/loans/getusedlimit.js +1 -1
- package/ts/loans/getvirtualbankinfo.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/manualpaymentallocation.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/paynow.js +1 -1
- package/ts/loans/refund.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/rollback.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updatecollectionview.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans/updatetransactionstatus.js +1 -1
- package/ts/loans.js +1 -1
- package/ts/payments/checkpaymentstatus.js +1 -1
- package/ts/payments/fundtransfer.js +1 -1
- package/ts/payments/getpaymentoptions.js +1 -1
- package/ts/payments/initiatepayment.js +1 -1
- package/ts/payments/nachpresentation.js +1 -1
- package/ts/payments/nachregistration.js +1 -1
- package/ts/payments.js +1 -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/upi/addaccount.js +1 -1
- package/ts/upi/blockvpa.d.ts +40 -0
- package/ts/upi/blockvpa.js +191 -0
- package/ts/upi/checktransactionstatus.d.ts +5 -0
- package/ts/upi/checktransactionstatus.js +82 -1
- package/ts/upi/getaccountsbyprovider.js +1 -1
- package/ts/upi/getavailablevpa.js +1 -1
- package/ts/upi/getlistedaccountproviders.js +1 -1
- package/ts/upi/getprofile.js +1 -1
- package/ts/upi/initiatetransaction.d.ts +4 -0
- package/ts/upi/initiatetransaction.js +63 -1
- package/ts/upi/listblockedvpa.d.ts +63 -0
- package/ts/upi/listblockedvpa.js +311 -0
- package/ts/upi/unblockvpa.d.ts +40 -0
- package/ts/upi/unblockvpa.js +191 -0
- package/ts/upi/updatedevicebinding.js +1 -1
- package/ts/upi/validatevpa.js +1 -1
- package/ts/upi.d.ts +42 -0
- package/ts/upi.js +31 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.unblockVPA";
|
|
3
|
+
export interface unblockVPARequest {
|
|
4
|
+
reason: string;
|
|
5
|
+
block_type: string;
|
|
6
|
+
block_value: string;
|
|
7
|
+
profile_id: string;
|
|
8
|
+
device_id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface unblockVPAResponse {
|
|
11
|
+
status: string;
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const unblockVPARequest: {
|
|
15
|
+
encode(message: unblockVPARequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): unblockVPARequest;
|
|
17
|
+
fromJSON(object: any): unblockVPARequest;
|
|
18
|
+
toJSON(message: unblockVPARequest): unknown;
|
|
19
|
+
create<I extends Exact<DeepPartial<unblockVPARequest>, I>>(base?: I): unblockVPARequest;
|
|
20
|
+
fromPartial<I extends Exact<DeepPartial<unblockVPARequest>, I>>(object: I): unblockVPARequest;
|
|
21
|
+
};
|
|
22
|
+
export declare const unblockVPAResponse: {
|
|
23
|
+
encode(message: unblockVPAResponse, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): unblockVPAResponse;
|
|
25
|
+
fromJSON(object: any): unblockVPAResponse;
|
|
26
|
+
toJSON(message: unblockVPAResponse): unknown;
|
|
27
|
+
create<I extends Exact<DeepPartial<unblockVPAResponse>, I>>(base?: I): unblockVPAResponse;
|
|
28
|
+
fromPartial<I extends Exact<DeepPartial<unblockVPAResponse>, I>>(object: I): unblockVPAResponse;
|
|
29
|
+
};
|
|
30
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
31
|
+
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 {} ? {
|
|
32
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
33
|
+
} : Partial<T>;
|
|
34
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
35
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
36
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
37
|
+
} & {
|
|
38
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
39
|
+
};
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,191 @@
|
|
|
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 v5.29.1
|
|
6
|
+
// source: upi/unblockvpa.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.unblockVPAResponse = exports.unblockVPARequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.unblockVPA";
|
|
15
|
+
function createBaseunblockVPARequest() {
|
|
16
|
+
return { reason: "", block_type: "", block_value: "", profile_id: "", device_id: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.unblockVPARequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.reason !== "") {
|
|
21
|
+
writer.uint32(10).string(message.reason);
|
|
22
|
+
}
|
|
23
|
+
if (message.block_type !== "") {
|
|
24
|
+
writer.uint32(18).string(message.block_type);
|
|
25
|
+
}
|
|
26
|
+
if (message.block_value !== "") {
|
|
27
|
+
writer.uint32(26).string(message.block_value);
|
|
28
|
+
}
|
|
29
|
+
if (message.profile_id !== "") {
|
|
30
|
+
writer.uint32(34).string(message.profile_id);
|
|
31
|
+
}
|
|
32
|
+
if (message.device_id !== "") {
|
|
33
|
+
writer.uint32(42).string(message.device_id);
|
|
34
|
+
}
|
|
35
|
+
return writer;
|
|
36
|
+
},
|
|
37
|
+
decode(input, length) {
|
|
38
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
39
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
40
|
+
const message = createBaseunblockVPARequest();
|
|
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.reason = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 2:
|
|
51
|
+
if (tag !== 18) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.block_type = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
case 3:
|
|
57
|
+
if (tag !== 26) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
message.block_value = reader.string();
|
|
61
|
+
continue;
|
|
62
|
+
case 4:
|
|
63
|
+
if (tag !== 34) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.profile_id = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
case 5:
|
|
69
|
+
if (tag !== 42) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.device_id = reader.string();
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
reader.skipType(tag & 7);
|
|
79
|
+
}
|
|
80
|
+
return message;
|
|
81
|
+
},
|
|
82
|
+
fromJSON(object) {
|
|
83
|
+
return {
|
|
84
|
+
reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
|
|
85
|
+
block_type: isSet(object.block_type) ? globalThis.String(object.block_type) : "",
|
|
86
|
+
block_value: isSet(object.block_value) ? globalThis.String(object.block_value) : "",
|
|
87
|
+
profile_id: isSet(object.profile_id) ? globalThis.String(object.profile_id) : "",
|
|
88
|
+
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
89
|
+
};
|
|
90
|
+
},
|
|
91
|
+
toJSON(message) {
|
|
92
|
+
const obj = {};
|
|
93
|
+
if (message.reason !== "") {
|
|
94
|
+
obj.reason = message.reason;
|
|
95
|
+
}
|
|
96
|
+
if (message.block_type !== "") {
|
|
97
|
+
obj.block_type = message.block_type;
|
|
98
|
+
}
|
|
99
|
+
if (message.block_value !== "") {
|
|
100
|
+
obj.block_value = message.block_value;
|
|
101
|
+
}
|
|
102
|
+
if (message.profile_id !== "") {
|
|
103
|
+
obj.profile_id = message.profile_id;
|
|
104
|
+
}
|
|
105
|
+
if (message.device_id !== "") {
|
|
106
|
+
obj.device_id = message.device_id;
|
|
107
|
+
}
|
|
108
|
+
return obj;
|
|
109
|
+
},
|
|
110
|
+
create(base) {
|
|
111
|
+
return exports.unblockVPARequest.fromPartial(base ?? {});
|
|
112
|
+
},
|
|
113
|
+
fromPartial(object) {
|
|
114
|
+
const message = createBaseunblockVPARequest();
|
|
115
|
+
message.reason = object.reason ?? "";
|
|
116
|
+
message.block_type = object.block_type ?? "";
|
|
117
|
+
message.block_value = object.block_value ?? "";
|
|
118
|
+
message.profile_id = object.profile_id ?? "";
|
|
119
|
+
message.device_id = object.device_id ?? "";
|
|
120
|
+
return message;
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
function createBaseunblockVPAResponse() {
|
|
124
|
+
return { status: "", message: "" };
|
|
125
|
+
}
|
|
126
|
+
exports.unblockVPAResponse = {
|
|
127
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
128
|
+
if (message.status !== "") {
|
|
129
|
+
writer.uint32(10).string(message.status);
|
|
130
|
+
}
|
|
131
|
+
if (message.message !== "") {
|
|
132
|
+
writer.uint32(18).string(message.message);
|
|
133
|
+
}
|
|
134
|
+
return writer;
|
|
135
|
+
},
|
|
136
|
+
decode(input, length) {
|
|
137
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
138
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
139
|
+
const message = createBaseunblockVPAResponse();
|
|
140
|
+
while (reader.pos < end) {
|
|
141
|
+
const tag = reader.uint32();
|
|
142
|
+
switch (tag >>> 3) {
|
|
143
|
+
case 1:
|
|
144
|
+
if (tag !== 10) {
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
message.status = reader.string();
|
|
148
|
+
continue;
|
|
149
|
+
case 2:
|
|
150
|
+
if (tag !== 18) {
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
message.message = reader.string();
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
reader.skipType(tag & 7);
|
|
160
|
+
}
|
|
161
|
+
return message;
|
|
162
|
+
},
|
|
163
|
+
fromJSON(object) {
|
|
164
|
+
return {
|
|
165
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
166
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
toJSON(message) {
|
|
170
|
+
const obj = {};
|
|
171
|
+
if (message.status !== "") {
|
|
172
|
+
obj.status = message.status;
|
|
173
|
+
}
|
|
174
|
+
if (message.message !== "") {
|
|
175
|
+
obj.message = message.message;
|
|
176
|
+
}
|
|
177
|
+
return obj;
|
|
178
|
+
},
|
|
179
|
+
create(base) {
|
|
180
|
+
return exports.unblockVPAResponse.fromPartial(base ?? {});
|
|
181
|
+
},
|
|
182
|
+
fromPartial(object) {
|
|
183
|
+
const message = createBaseunblockVPAResponse();
|
|
184
|
+
message.status = object.status ?? "";
|
|
185
|
+
message.message = object.message ?? "";
|
|
186
|
+
return message;
|
|
187
|
+
},
|
|
188
|
+
};
|
|
189
|
+
function isSet(value) {
|
|
190
|
+
return value !== null && value !== undefined;
|
|
191
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/updatedevicebinding.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/upi/validatevpa.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi/validatevpa.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/upi.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
2
|
import { addAccountRequest, addAccountResponse } from "./upi/addaccount";
|
|
3
|
+
import { blockVPARequest, blockVPAResponse } from "./upi/blockvpa";
|
|
3
4
|
import { checkTransactionStatusRequest, checkTransactionStatusResponse } from "./upi/checktransactionstatus";
|
|
4
5
|
import { getAccountsByProviderRequest, getAccountsByProviderResponse } from "./upi/getaccountsbyprovider";
|
|
5
6
|
import { getAvailableVPARequest, getAvailableVPAResponse } from "./upi/getavailablevpa";
|
|
6
7
|
import { getListedAccountProvidersRequest, getListedAccountProvidersResponse } from "./upi/getlistedaccountproviders";
|
|
7
8
|
import { getProfileRequest, getProfileResponse } from "./upi/getprofile";
|
|
8
9
|
import { initiateTransactionRequest, initiateTransactionResponse } from "./upi/initiatetransaction";
|
|
10
|
+
import { listBlockedVPARequest, listBlockedVPAResponse } from "./upi/listblockedvpa";
|
|
11
|
+
import { unblockVPARequest, unblockVPAResponse } from "./upi/unblockvpa";
|
|
9
12
|
import { updateDeviceBindingRequest, updateDeviceBindingResponse } from "./upi/updatedevicebinding";
|
|
10
13
|
import { validateVPARequest, validateVPAResponse } from "./upi/validatevpa";
|
|
11
14
|
export declare const protobufPackage = "service";
|
|
@@ -92,6 +95,33 @@ export declare const upiService: {
|
|
|
92
95
|
readonly responseSerialize: (value: checkTransactionStatusResponse) => Buffer;
|
|
93
96
|
readonly responseDeserialize: (value: Buffer) => checkTransactionStatusResponse;
|
|
94
97
|
};
|
|
98
|
+
readonly blockVpa: {
|
|
99
|
+
readonly path: "/service.upi/blockVPA";
|
|
100
|
+
readonly requestStream: false;
|
|
101
|
+
readonly responseStream: false;
|
|
102
|
+
readonly requestSerialize: (value: blockVPARequest) => Buffer;
|
|
103
|
+
readonly requestDeserialize: (value: Buffer) => blockVPARequest;
|
|
104
|
+
readonly responseSerialize: (value: blockVPAResponse) => Buffer;
|
|
105
|
+
readonly responseDeserialize: (value: Buffer) => blockVPAResponse;
|
|
106
|
+
};
|
|
107
|
+
readonly unblockVpa: {
|
|
108
|
+
readonly path: "/service.upi/unblockVPA";
|
|
109
|
+
readonly requestStream: false;
|
|
110
|
+
readonly responseStream: false;
|
|
111
|
+
readonly requestSerialize: (value: unblockVPARequest) => Buffer;
|
|
112
|
+
readonly requestDeserialize: (value: Buffer) => unblockVPARequest;
|
|
113
|
+
readonly responseSerialize: (value: unblockVPAResponse) => Buffer;
|
|
114
|
+
readonly responseDeserialize: (value: Buffer) => unblockVPAResponse;
|
|
115
|
+
};
|
|
116
|
+
readonly listBlockedVpa: {
|
|
117
|
+
readonly path: "/service.upi/listBlockedVPA";
|
|
118
|
+
readonly requestStream: false;
|
|
119
|
+
readonly responseStream: false;
|
|
120
|
+
readonly requestSerialize: (value: listBlockedVPARequest) => Buffer;
|
|
121
|
+
readonly requestDeserialize: (value: Buffer) => listBlockedVPARequest;
|
|
122
|
+
readonly responseSerialize: (value: listBlockedVPAResponse) => Buffer;
|
|
123
|
+
readonly responseDeserialize: (value: Buffer) => listBlockedVPAResponse;
|
|
124
|
+
};
|
|
95
125
|
};
|
|
96
126
|
export interface upiServer extends UntypedServiceImplementation {
|
|
97
127
|
getListedAccountProviders: handleUnaryCall<getListedAccountProvidersRequest, getListedAccountProvidersResponse>;
|
|
@@ -103,6 +133,9 @@ export interface upiServer extends UntypedServiceImplementation {
|
|
|
103
133
|
validateVpa: handleUnaryCall<validateVPARequest, validateVPAResponse>;
|
|
104
134
|
getAccountsByProvider: handleUnaryCall<getAccountsByProviderRequest, getAccountsByProviderResponse>;
|
|
105
135
|
checkTransactionStatus: handleUnaryCall<checkTransactionStatusRequest, checkTransactionStatusResponse>;
|
|
136
|
+
blockVpa: handleUnaryCall<blockVPARequest, blockVPAResponse>;
|
|
137
|
+
unblockVpa: handleUnaryCall<unblockVPARequest, unblockVPAResponse>;
|
|
138
|
+
listBlockedVpa: handleUnaryCall<listBlockedVPARequest, listBlockedVPAResponse>;
|
|
106
139
|
}
|
|
107
140
|
export interface upiClient extends Client {
|
|
108
141
|
getListedAccountProviders(request: getListedAccountProvidersRequest, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
|
|
@@ -132,6 +165,15 @@ export interface upiClient extends Client {
|
|
|
132
165
|
checkTransactionStatus(request: checkTransactionStatusRequest, callback: (error: ServiceError | null, response: checkTransactionStatusResponse) => void): ClientUnaryCall;
|
|
133
166
|
checkTransactionStatus(request: checkTransactionStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: checkTransactionStatusResponse) => void): ClientUnaryCall;
|
|
134
167
|
checkTransactionStatus(request: checkTransactionStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: checkTransactionStatusResponse) => void): ClientUnaryCall;
|
|
168
|
+
blockVpa(request: blockVPARequest, callback: (error: ServiceError | null, response: blockVPAResponse) => void): ClientUnaryCall;
|
|
169
|
+
blockVpa(request: blockVPARequest, metadata: Metadata, callback: (error: ServiceError | null, response: blockVPAResponse) => void): ClientUnaryCall;
|
|
170
|
+
blockVpa(request: blockVPARequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: blockVPAResponse) => void): ClientUnaryCall;
|
|
171
|
+
unblockVpa(request: unblockVPARequest, callback: (error: ServiceError | null, response: unblockVPAResponse) => void): ClientUnaryCall;
|
|
172
|
+
unblockVpa(request: unblockVPARequest, metadata: Metadata, callback: (error: ServiceError | null, response: unblockVPAResponse) => void): ClientUnaryCall;
|
|
173
|
+
unblockVpa(request: unblockVPARequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: unblockVPAResponse) => void): ClientUnaryCall;
|
|
174
|
+
listBlockedVpa(request: listBlockedVPARequest, callback: (error: ServiceError | null, response: listBlockedVPAResponse) => void): ClientUnaryCall;
|
|
175
|
+
listBlockedVpa(request: listBlockedVPARequest, metadata: Metadata, callback: (error: ServiceError | null, response: listBlockedVPAResponse) => void): ClientUnaryCall;
|
|
176
|
+
listBlockedVpa(request: listBlockedVPARequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: listBlockedVPAResponse) => void): ClientUnaryCall;
|
|
135
177
|
}
|
|
136
178
|
export declare const upiClient: {
|
|
137
179
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): upiClient;
|
package/ts/upi.js
CHANGED
|
@@ -2,19 +2,22 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.
|
|
5
|
+
// protoc v5.29.1
|
|
6
6
|
// source: upi.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.upiClient = exports.upiService = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
11
|
const addaccount_1 = require("./upi/addaccount");
|
|
12
|
+
const blockvpa_1 = require("./upi/blockvpa");
|
|
12
13
|
const checktransactionstatus_1 = require("./upi/checktransactionstatus");
|
|
13
14
|
const getaccountsbyprovider_1 = require("./upi/getaccountsbyprovider");
|
|
14
15
|
const getavailablevpa_1 = require("./upi/getavailablevpa");
|
|
15
16
|
const getlistedaccountproviders_1 = require("./upi/getlistedaccountproviders");
|
|
16
17
|
const getprofile_1 = require("./upi/getprofile");
|
|
17
18
|
const initiatetransaction_1 = require("./upi/initiatetransaction");
|
|
19
|
+
const listblockedvpa_1 = require("./upi/listblockedvpa");
|
|
20
|
+
const unblockvpa_1 = require("./upi/unblockvpa");
|
|
18
21
|
const updatedevicebinding_1 = require("./upi/updatedevicebinding");
|
|
19
22
|
const validatevpa_1 = require("./upi/validatevpa");
|
|
20
23
|
exports.protobufPackage = "service";
|
|
@@ -100,5 +103,32 @@ exports.upiService = {
|
|
|
100
103
|
responseSerialize: (value) => Buffer.from(checktransactionstatus_1.checkTransactionStatusResponse.encode(value).finish()),
|
|
101
104
|
responseDeserialize: (value) => checktransactionstatus_1.checkTransactionStatusResponse.decode(value),
|
|
102
105
|
},
|
|
106
|
+
blockVpa: {
|
|
107
|
+
path: "/service.upi/blockVPA",
|
|
108
|
+
requestStream: false,
|
|
109
|
+
responseStream: false,
|
|
110
|
+
requestSerialize: (value) => Buffer.from(blockvpa_1.blockVPARequest.encode(value).finish()),
|
|
111
|
+
requestDeserialize: (value) => blockvpa_1.blockVPARequest.decode(value),
|
|
112
|
+
responseSerialize: (value) => Buffer.from(blockvpa_1.blockVPAResponse.encode(value).finish()),
|
|
113
|
+
responseDeserialize: (value) => blockvpa_1.blockVPAResponse.decode(value),
|
|
114
|
+
},
|
|
115
|
+
unblockVpa: {
|
|
116
|
+
path: "/service.upi/unblockVPA",
|
|
117
|
+
requestStream: false,
|
|
118
|
+
responseStream: false,
|
|
119
|
+
requestSerialize: (value) => Buffer.from(unblockvpa_1.unblockVPARequest.encode(value).finish()),
|
|
120
|
+
requestDeserialize: (value) => unblockvpa_1.unblockVPARequest.decode(value),
|
|
121
|
+
responseSerialize: (value) => Buffer.from(unblockvpa_1.unblockVPAResponse.encode(value).finish()),
|
|
122
|
+
responseDeserialize: (value) => unblockvpa_1.unblockVPAResponse.decode(value),
|
|
123
|
+
},
|
|
124
|
+
listBlockedVpa: {
|
|
125
|
+
path: "/service.upi/listBlockedVPA",
|
|
126
|
+
requestStream: false,
|
|
127
|
+
responseStream: false,
|
|
128
|
+
requestSerialize: (value) => Buffer.from(listblockedvpa_1.listBlockedVPARequest.encode(value).finish()),
|
|
129
|
+
requestDeserialize: (value) => listblockedvpa_1.listBlockedVPARequest.decode(value),
|
|
130
|
+
responseSerialize: (value) => Buffer.from(listblockedvpa_1.listBlockedVPAResponse.encode(value).finish()),
|
|
131
|
+
responseDeserialize: (value) => listblockedvpa_1.listBlockedVPAResponse.decode(value),
|
|
132
|
+
},
|
|
103
133
|
};
|
|
104
134
|
exports.upiClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.upiService, "service.upi");
|