@stashfin/grpc 1.2.241 → 1.2.242
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/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/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.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/bulksms.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/paynow.js +1 -1
- package/ts/customers/cb/savecreditbuilder.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/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/updatetxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.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/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/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.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/getlimit.js +1 -1
- package/ts/customers/getoccupationlist.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/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/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.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/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/updateselfieetxn.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/example.js +1 -1
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.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/processchrpayment.js +1 -1
- package/ts/growth.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/creditlimit.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/forecloseamount.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/futurepaymentmoredetails.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.js +1 -1
- package/ts/loans/getvirtualbankinfo.js +1 -1
- package/ts/loans/loansummary.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/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/getpaymentoptions.d.ts +33 -3
- package/ts/payments/getpaymentoptions.js +243 -25
- 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/bureau/getbureaulist.d.ts +0 -52
- package/ts/bureau/getbureaulist.js +0 -276
- package/ts/customers/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
package/ts/loans/sendnocemail.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: loans/sendnocemail.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: loans/transactionlist.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: loans/updateinstallments.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/updateloan.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: loans/updateloan.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: loans/updatetransactionstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/checkpaymentstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -3,15 +3,29 @@ export declare const protobufPackage = "payments.getpaymentoptions";
|
|
|
3
3
|
export interface request {
|
|
4
4
|
customer_id: string;
|
|
5
5
|
client_id: string;
|
|
6
|
+
amount?: number | undefined;
|
|
6
7
|
}
|
|
7
8
|
export interface response {
|
|
8
9
|
status: string;
|
|
9
10
|
status_code: number;
|
|
10
|
-
|
|
11
|
+
client_id: string;
|
|
12
|
+
customer_id: string;
|
|
13
|
+
data?: response_Data | undefined;
|
|
14
|
+
message?: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface response_Fees {
|
|
17
|
+
type: string;
|
|
18
|
+
value: number;
|
|
19
|
+
}
|
|
20
|
+
export interface response_Fee_data {
|
|
21
|
+
gateway: string;
|
|
22
|
+
fees: response_Fees | undefined;
|
|
23
|
+
amount: number;
|
|
24
|
+
other_fees: number;
|
|
25
|
+
total_amount: number;
|
|
11
26
|
}
|
|
12
27
|
export interface response_Data {
|
|
13
|
-
|
|
14
|
-
payment_modes: string[];
|
|
28
|
+
fee_data: response_Fee_data[];
|
|
15
29
|
}
|
|
16
30
|
export declare const request: {
|
|
17
31
|
encode(message: request, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -29,6 +43,22 @@ export declare const response: {
|
|
|
29
43
|
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
30
44
|
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
31
45
|
};
|
|
46
|
+
export declare const response_Fees: {
|
|
47
|
+
encode(message: response_Fees, writer?: _m0.Writer): _m0.Writer;
|
|
48
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): response_Fees;
|
|
49
|
+
fromJSON(object: any): response_Fees;
|
|
50
|
+
toJSON(message: response_Fees): unknown;
|
|
51
|
+
create<I extends Exact<DeepPartial<response_Fees>, I>>(base?: I): response_Fees;
|
|
52
|
+
fromPartial<I extends Exact<DeepPartial<response_Fees>, I>>(object: I): response_Fees;
|
|
53
|
+
};
|
|
54
|
+
export declare const response_Fee_data: {
|
|
55
|
+
encode(message: response_Fee_data, writer?: _m0.Writer): _m0.Writer;
|
|
56
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): response_Fee_data;
|
|
57
|
+
fromJSON(object: any): response_Fee_data;
|
|
58
|
+
toJSON(message: response_Fee_data): unknown;
|
|
59
|
+
create<I extends Exact<DeepPartial<response_Fee_data>, I>>(base?: I): response_Fee_data;
|
|
60
|
+
fromPartial<I extends Exact<DeepPartial<response_Fee_data>, I>>(object: I): response_Fee_data;
|
|
61
|
+
};
|
|
32
62
|
export declare const response_Data: {
|
|
33
63
|
encode(message: response_Data, writer?: _m0.Writer): _m0.Writer;
|
|
34
64
|
decode(input: _m0.Reader | Uint8Array, length?: number): response_Data;
|
|
@@ -1,19 +1,19 @@
|
|
|
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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/getpaymentoptions.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.response_Data = exports.response = exports.request = exports.protobufPackage = void 0;
|
|
11
|
+
exports.response_Data = exports.response_Fee_data = exports.response_Fees = exports.response = exports.request = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "payments.getpaymentoptions";
|
|
15
15
|
function createBaserequest() {
|
|
16
|
-
return { customer_id: "", client_id: "" };
|
|
16
|
+
return { customer_id: "", client_id: "", amount: undefined };
|
|
17
17
|
}
|
|
18
18
|
exports.request = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -23,6 +23,9 @@ exports.request = {
|
|
|
23
23
|
if (message.client_id !== "") {
|
|
24
24
|
writer.uint32(18).string(message.client_id);
|
|
25
25
|
}
|
|
26
|
+
if (message.amount !== undefined) {
|
|
27
|
+
writer.uint32(25).double(message.amount);
|
|
28
|
+
}
|
|
26
29
|
return writer;
|
|
27
30
|
},
|
|
28
31
|
decode(input, length) {
|
|
@@ -44,6 +47,12 @@ exports.request = {
|
|
|
44
47
|
}
|
|
45
48
|
message.client_id = reader.string();
|
|
46
49
|
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 25) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.amount = reader.double();
|
|
55
|
+
continue;
|
|
47
56
|
}
|
|
48
57
|
if ((tag & 7) === 4 || tag === 0) {
|
|
49
58
|
break;
|
|
@@ -56,6 +65,7 @@ exports.request = {
|
|
|
56
65
|
return {
|
|
57
66
|
customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : "",
|
|
58
67
|
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
68
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : undefined,
|
|
59
69
|
};
|
|
60
70
|
},
|
|
61
71
|
toJSON(message) {
|
|
@@ -66,6 +76,9 @@ exports.request = {
|
|
|
66
76
|
if (message.client_id !== "") {
|
|
67
77
|
obj.client_id = message.client_id;
|
|
68
78
|
}
|
|
79
|
+
if (message.amount !== undefined) {
|
|
80
|
+
obj.amount = message.amount;
|
|
81
|
+
}
|
|
69
82
|
return obj;
|
|
70
83
|
},
|
|
71
84
|
create(base) {
|
|
@@ -75,11 +88,12 @@ exports.request = {
|
|
|
75
88
|
const message = createBaserequest();
|
|
76
89
|
message.customer_id = object.customer_id ?? "";
|
|
77
90
|
message.client_id = object.client_id ?? "";
|
|
91
|
+
message.amount = object.amount ?? undefined;
|
|
78
92
|
return message;
|
|
79
93
|
},
|
|
80
94
|
};
|
|
81
95
|
function createBaseresponse() {
|
|
82
|
-
return { status: "", status_code: 0, data: undefined };
|
|
96
|
+
return { status: "", status_code: 0, client_id: "", customer_id: "", data: undefined, message: undefined };
|
|
83
97
|
}
|
|
84
98
|
exports.response = {
|
|
85
99
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -89,8 +103,17 @@ exports.response = {
|
|
|
89
103
|
if (message.status_code !== 0) {
|
|
90
104
|
writer.uint32(16).int32(message.status_code);
|
|
91
105
|
}
|
|
106
|
+
if (message.client_id !== "") {
|
|
107
|
+
writer.uint32(26).string(message.client_id);
|
|
108
|
+
}
|
|
109
|
+
if (message.customer_id !== "") {
|
|
110
|
+
writer.uint32(34).string(message.customer_id);
|
|
111
|
+
}
|
|
92
112
|
if (message.data !== undefined) {
|
|
93
|
-
exports.response_Data.encode(message.data, writer.uint32(
|
|
113
|
+
exports.response_Data.encode(message.data, writer.uint32(42).fork()).ldelim();
|
|
114
|
+
}
|
|
115
|
+
if (message.message !== undefined) {
|
|
116
|
+
writer.uint32(50).string(message.message);
|
|
94
117
|
}
|
|
95
118
|
return writer;
|
|
96
119
|
},
|
|
@@ -117,8 +140,26 @@ exports.response = {
|
|
|
117
140
|
if (tag !== 26) {
|
|
118
141
|
break;
|
|
119
142
|
}
|
|
143
|
+
message.client_id = reader.string();
|
|
144
|
+
continue;
|
|
145
|
+
case 4:
|
|
146
|
+
if (tag !== 34) {
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
message.customer_id = reader.string();
|
|
150
|
+
continue;
|
|
151
|
+
case 5:
|
|
152
|
+
if (tag !== 42) {
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
120
155
|
message.data = exports.response_Data.decode(reader, reader.uint32());
|
|
121
156
|
continue;
|
|
157
|
+
case 6:
|
|
158
|
+
if (tag !== 50) {
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
message.message = reader.string();
|
|
162
|
+
continue;
|
|
122
163
|
}
|
|
123
164
|
if ((tag & 7) === 4 || tag === 0) {
|
|
124
165
|
break;
|
|
@@ -131,7 +172,10 @@ exports.response = {
|
|
|
131
172
|
return {
|
|
132
173
|
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
133
174
|
status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
|
|
175
|
+
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
176
|
+
customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : "",
|
|
134
177
|
data: isSet(object.data) ? exports.response_Data.fromJSON(object.data) : undefined,
|
|
178
|
+
message: isSet(object.message) ? globalThis.String(object.message) : undefined,
|
|
135
179
|
};
|
|
136
180
|
},
|
|
137
181
|
toJSON(message) {
|
|
@@ -142,9 +186,18 @@ exports.response = {
|
|
|
142
186
|
if (message.status_code !== 0) {
|
|
143
187
|
obj.status_code = Math.round(message.status_code);
|
|
144
188
|
}
|
|
189
|
+
if (message.client_id !== "") {
|
|
190
|
+
obj.client_id = message.client_id;
|
|
191
|
+
}
|
|
192
|
+
if (message.customer_id !== "") {
|
|
193
|
+
obj.customer_id = message.customer_id;
|
|
194
|
+
}
|
|
145
195
|
if (message.data !== undefined) {
|
|
146
196
|
obj.data = exports.response_Data.toJSON(message.data);
|
|
147
197
|
}
|
|
198
|
+
if (message.message !== undefined) {
|
|
199
|
+
obj.message = message.message;
|
|
200
|
+
}
|
|
148
201
|
return obj;
|
|
149
202
|
},
|
|
150
203
|
create(base) {
|
|
@@ -154,29 +207,32 @@ exports.response = {
|
|
|
154
207
|
const message = createBaseresponse();
|
|
155
208
|
message.status = object.status ?? "";
|
|
156
209
|
message.status_code = object.status_code ?? 0;
|
|
210
|
+
message.client_id = object.client_id ?? "";
|
|
211
|
+
message.customer_id = object.customer_id ?? "";
|
|
157
212
|
message.data = (object.data !== undefined && object.data !== null)
|
|
158
213
|
? exports.response_Data.fromPartial(object.data)
|
|
159
214
|
: undefined;
|
|
215
|
+
message.message = object.message ?? undefined;
|
|
160
216
|
return message;
|
|
161
217
|
},
|
|
162
218
|
};
|
|
163
|
-
function
|
|
164
|
-
return {
|
|
219
|
+
function createBaseresponse_Fees() {
|
|
220
|
+
return { type: "", value: 0 };
|
|
165
221
|
}
|
|
166
|
-
exports.
|
|
222
|
+
exports.response_Fees = {
|
|
167
223
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
168
|
-
if (message.
|
|
169
|
-
writer.uint32(10).string(message.
|
|
224
|
+
if (message.type !== "") {
|
|
225
|
+
writer.uint32(10).string(message.type);
|
|
170
226
|
}
|
|
171
|
-
|
|
172
|
-
writer.uint32(
|
|
227
|
+
if (message.value !== 0) {
|
|
228
|
+
writer.uint32(17).double(message.value);
|
|
173
229
|
}
|
|
174
230
|
return writer;
|
|
175
231
|
},
|
|
176
232
|
decode(input, length) {
|
|
177
233
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
178
234
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
179
|
-
const message =
|
|
235
|
+
const message = createBaseresponse_Fees();
|
|
180
236
|
while (reader.pos < end) {
|
|
181
237
|
const tag = reader.uint32();
|
|
182
238
|
switch (tag >>> 3) {
|
|
@@ -184,13 +240,106 @@ exports.response_Data = {
|
|
|
184
240
|
if (tag !== 10) {
|
|
185
241
|
break;
|
|
186
242
|
}
|
|
187
|
-
message.
|
|
243
|
+
message.type = reader.string();
|
|
244
|
+
continue;
|
|
245
|
+
case 2:
|
|
246
|
+
if (tag !== 17) {
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
message.value = reader.double();
|
|
250
|
+
continue;
|
|
251
|
+
}
|
|
252
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
reader.skipType(tag & 7);
|
|
256
|
+
}
|
|
257
|
+
return message;
|
|
258
|
+
},
|
|
259
|
+
fromJSON(object) {
|
|
260
|
+
return {
|
|
261
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
262
|
+
value: isSet(object.value) ? globalThis.Number(object.value) : 0,
|
|
263
|
+
};
|
|
264
|
+
},
|
|
265
|
+
toJSON(message) {
|
|
266
|
+
const obj = {};
|
|
267
|
+
if (message.type !== "") {
|
|
268
|
+
obj.type = message.type;
|
|
269
|
+
}
|
|
270
|
+
if (message.value !== 0) {
|
|
271
|
+
obj.value = message.value;
|
|
272
|
+
}
|
|
273
|
+
return obj;
|
|
274
|
+
},
|
|
275
|
+
create(base) {
|
|
276
|
+
return exports.response_Fees.fromPartial(base ?? {});
|
|
277
|
+
},
|
|
278
|
+
fromPartial(object) {
|
|
279
|
+
const message = createBaseresponse_Fees();
|
|
280
|
+
message.type = object.type ?? "";
|
|
281
|
+
message.value = object.value ?? 0;
|
|
282
|
+
return message;
|
|
283
|
+
},
|
|
284
|
+
};
|
|
285
|
+
function createBaseresponse_Fee_data() {
|
|
286
|
+
return { gateway: "", fees: undefined, amount: 0, other_fees: 0, total_amount: 0 };
|
|
287
|
+
}
|
|
288
|
+
exports.response_Fee_data = {
|
|
289
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
290
|
+
if (message.gateway !== "") {
|
|
291
|
+
writer.uint32(10).string(message.gateway);
|
|
292
|
+
}
|
|
293
|
+
if (message.fees !== undefined) {
|
|
294
|
+
exports.response_Fees.encode(message.fees, writer.uint32(18).fork()).ldelim();
|
|
295
|
+
}
|
|
296
|
+
if (message.amount !== 0) {
|
|
297
|
+
writer.uint32(25).double(message.amount);
|
|
298
|
+
}
|
|
299
|
+
if (message.other_fees !== 0) {
|
|
300
|
+
writer.uint32(33).double(message.other_fees);
|
|
301
|
+
}
|
|
302
|
+
if (message.total_amount !== 0) {
|
|
303
|
+
writer.uint32(41).double(message.total_amount);
|
|
304
|
+
}
|
|
305
|
+
return writer;
|
|
306
|
+
},
|
|
307
|
+
decode(input, length) {
|
|
308
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
309
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
310
|
+
const message = createBaseresponse_Fee_data();
|
|
311
|
+
while (reader.pos < end) {
|
|
312
|
+
const tag = reader.uint32();
|
|
313
|
+
switch (tag >>> 3) {
|
|
314
|
+
case 1:
|
|
315
|
+
if (tag !== 10) {
|
|
316
|
+
break;
|
|
317
|
+
}
|
|
318
|
+
message.gateway = reader.string();
|
|
188
319
|
continue;
|
|
189
320
|
case 2:
|
|
190
321
|
if (tag !== 18) {
|
|
191
322
|
break;
|
|
192
323
|
}
|
|
193
|
-
message.
|
|
324
|
+
message.fees = exports.response_Fees.decode(reader, reader.uint32());
|
|
325
|
+
continue;
|
|
326
|
+
case 3:
|
|
327
|
+
if (tag !== 25) {
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
message.amount = reader.double();
|
|
331
|
+
continue;
|
|
332
|
+
case 4:
|
|
333
|
+
if (tag !== 33) {
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
message.other_fees = reader.double();
|
|
337
|
+
continue;
|
|
338
|
+
case 5:
|
|
339
|
+
if (tag !== 41) {
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
message.total_amount = reader.double();
|
|
194
343
|
continue;
|
|
195
344
|
}
|
|
196
345
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -202,19 +351,89 @@ exports.response_Data = {
|
|
|
202
351
|
},
|
|
203
352
|
fromJSON(object) {
|
|
204
353
|
return {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
354
|
+
gateway: isSet(object.gateway) ? globalThis.String(object.gateway) : "",
|
|
355
|
+
fees: isSet(object.fees) ? exports.response_Fees.fromJSON(object.fees) : undefined,
|
|
356
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
357
|
+
other_fees: isSet(object.other_fees) ? globalThis.Number(object.other_fees) : 0,
|
|
358
|
+
total_amount: isSet(object.total_amount) ? globalThis.Number(object.total_amount) : 0,
|
|
209
359
|
};
|
|
210
360
|
},
|
|
211
361
|
toJSON(message) {
|
|
212
362
|
const obj = {};
|
|
213
|
-
if (message.
|
|
214
|
-
obj.
|
|
363
|
+
if (message.gateway !== "") {
|
|
364
|
+
obj.gateway = message.gateway;
|
|
365
|
+
}
|
|
366
|
+
if (message.fees !== undefined) {
|
|
367
|
+
obj.fees = exports.response_Fees.toJSON(message.fees);
|
|
368
|
+
}
|
|
369
|
+
if (message.amount !== 0) {
|
|
370
|
+
obj.amount = message.amount;
|
|
371
|
+
}
|
|
372
|
+
if (message.other_fees !== 0) {
|
|
373
|
+
obj.other_fees = message.other_fees;
|
|
374
|
+
}
|
|
375
|
+
if (message.total_amount !== 0) {
|
|
376
|
+
obj.total_amount = message.total_amount;
|
|
377
|
+
}
|
|
378
|
+
return obj;
|
|
379
|
+
},
|
|
380
|
+
create(base) {
|
|
381
|
+
return exports.response_Fee_data.fromPartial(base ?? {});
|
|
382
|
+
},
|
|
383
|
+
fromPartial(object) {
|
|
384
|
+
const message = createBaseresponse_Fee_data();
|
|
385
|
+
message.gateway = object.gateway ?? "";
|
|
386
|
+
message.fees = (object.fees !== undefined && object.fees !== null)
|
|
387
|
+
? exports.response_Fees.fromPartial(object.fees)
|
|
388
|
+
: undefined;
|
|
389
|
+
message.amount = object.amount ?? 0;
|
|
390
|
+
message.other_fees = object.other_fees ?? 0;
|
|
391
|
+
message.total_amount = object.total_amount ?? 0;
|
|
392
|
+
return message;
|
|
393
|
+
},
|
|
394
|
+
};
|
|
395
|
+
function createBaseresponse_Data() {
|
|
396
|
+
return { fee_data: [] };
|
|
397
|
+
}
|
|
398
|
+
exports.response_Data = {
|
|
399
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
400
|
+
for (const v of message.fee_data) {
|
|
401
|
+
exports.response_Fee_data.encode(v, writer.uint32(18).fork()).ldelim();
|
|
215
402
|
}
|
|
216
|
-
|
|
217
|
-
|
|
403
|
+
return writer;
|
|
404
|
+
},
|
|
405
|
+
decode(input, length) {
|
|
406
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
407
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
408
|
+
const message = createBaseresponse_Data();
|
|
409
|
+
while (reader.pos < end) {
|
|
410
|
+
const tag = reader.uint32();
|
|
411
|
+
switch (tag >>> 3) {
|
|
412
|
+
case 2:
|
|
413
|
+
if (tag !== 18) {
|
|
414
|
+
break;
|
|
415
|
+
}
|
|
416
|
+
message.fee_data.push(exports.response_Fee_data.decode(reader, reader.uint32()));
|
|
417
|
+
continue;
|
|
418
|
+
}
|
|
419
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
420
|
+
break;
|
|
421
|
+
}
|
|
422
|
+
reader.skipType(tag & 7);
|
|
423
|
+
}
|
|
424
|
+
return message;
|
|
425
|
+
},
|
|
426
|
+
fromJSON(object) {
|
|
427
|
+
return {
|
|
428
|
+
fee_data: globalThis.Array.isArray(object?.fee_data)
|
|
429
|
+
? object.fee_data.map((e) => exports.response_Fee_data.fromJSON(e))
|
|
430
|
+
: [],
|
|
431
|
+
};
|
|
432
|
+
},
|
|
433
|
+
toJSON(message) {
|
|
434
|
+
const obj = {};
|
|
435
|
+
if (message.fee_data?.length) {
|
|
436
|
+
obj.fee_data = message.fee_data.map((e) => exports.response_Fee_data.toJSON(e));
|
|
218
437
|
}
|
|
219
438
|
return obj;
|
|
220
439
|
},
|
|
@@ -223,8 +442,7 @@ exports.response_Data = {
|
|
|
223
442
|
},
|
|
224
443
|
fromPartial(object) {
|
|
225
444
|
const message = createBaseresponse_Data();
|
|
226
|
-
message.
|
|
227
|
-
message.payment_modes = object.payment_modes?.map((e) => e) || [];
|
|
445
|
+
message.fee_data = object.fee_data?.map((e) => exports.response_Fee_data.fromPartial(e)) || [];
|
|
228
446
|
return message;
|
|
229
447
|
},
|
|
230
448
|
};
|
|
@@ -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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/initiatepayment.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/nachpresentation.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/nachregistration.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/payments.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/ts/stashcash/creditsc.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/creditsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/stashcash/debitsc.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/debitsc.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/getscbalance.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/getschistory.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/reversesc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/stashcash.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.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|