@stashfin/grpc 1.2.241 → 1.2.243
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 +34 -4
- package/ts/payments/getpaymentoptions.js +251 -33
- 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
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "bureau.getbureaulist";
|
|
3
|
-
export interface bureauListRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface bureauListResponse {
|
|
7
|
-
status: string;
|
|
8
|
-
data: Report[];
|
|
9
|
-
}
|
|
10
|
-
export interface Report {
|
|
11
|
-
id?: number | undefined;
|
|
12
|
-
score?: number | undefined;
|
|
13
|
-
created_at?: string | undefined;
|
|
14
|
-
bureau_id?: number | undefined;
|
|
15
|
-
report_path?: string | undefined;
|
|
16
|
-
product_code?: string | undefined;
|
|
17
|
-
}
|
|
18
|
-
export declare const bureauListRequest: {
|
|
19
|
-
encode(message: bureauListRequest, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): bureauListRequest;
|
|
21
|
-
fromJSON(object: any): bureauListRequest;
|
|
22
|
-
toJSON(message: bureauListRequest): unknown;
|
|
23
|
-
create<I extends Exact<DeepPartial<bureauListRequest>, I>>(base?: I): bureauListRequest;
|
|
24
|
-
fromPartial<I extends Exact<DeepPartial<bureauListRequest>, I>>(object: I): bureauListRequest;
|
|
25
|
-
};
|
|
26
|
-
export declare const bureauListResponse: {
|
|
27
|
-
encode(message: bureauListResponse, writer?: _m0.Writer): _m0.Writer;
|
|
28
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): bureauListResponse;
|
|
29
|
-
fromJSON(object: any): bureauListResponse;
|
|
30
|
-
toJSON(message: bureauListResponse): unknown;
|
|
31
|
-
create<I extends Exact<DeepPartial<bureauListResponse>, I>>(base?: I): bureauListResponse;
|
|
32
|
-
fromPartial<I extends Exact<DeepPartial<bureauListResponse>, I>>(object: I): bureauListResponse;
|
|
33
|
-
};
|
|
34
|
-
export declare const Report: {
|
|
35
|
-
encode(message: Report, writer?: _m0.Writer): _m0.Writer;
|
|
36
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Report;
|
|
37
|
-
fromJSON(object: any): Report;
|
|
38
|
-
toJSON(message: Report): unknown;
|
|
39
|
-
create<I extends Exact<DeepPartial<Report>, I>>(base?: I): Report;
|
|
40
|
-
fromPartial<I extends Exact<DeepPartial<Report>, I>>(object: I): Report;
|
|
41
|
-
};
|
|
42
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
43
|
-
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 {} ? {
|
|
44
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
45
|
-
} : Partial<T>;
|
|
46
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
47
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
48
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
49
|
-
} & {
|
|
50
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
51
|
-
};
|
|
52
|
-
export {};
|
|
@@ -1,276 +0,0 @@
|
|
|
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.28.1
|
|
6
|
-
// source: bureau/getbureaulist.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.Report = exports.bureauListResponse = exports.bureauListRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const long_1 = __importDefault(require("long"));
|
|
14
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
-
exports.protobufPackage = "bureau.getbureaulist";
|
|
16
|
-
function createBasebureauListRequest() {
|
|
17
|
-
return { customer_id: 0 };
|
|
18
|
-
}
|
|
19
|
-
exports.bureauListRequest = {
|
|
20
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
-
if (message.customer_id !== 0) {
|
|
22
|
-
writer.uint32(8).int64(message.customer_id);
|
|
23
|
-
}
|
|
24
|
-
return writer;
|
|
25
|
-
},
|
|
26
|
-
decode(input, length) {
|
|
27
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
28
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
-
const message = createBasebureauListRequest();
|
|
30
|
-
while (reader.pos < end) {
|
|
31
|
-
const tag = reader.uint32();
|
|
32
|
-
switch (tag >>> 3) {
|
|
33
|
-
case 1:
|
|
34
|
-
if (tag !== 8) {
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
message.customer_id = longToNumber(reader.int64());
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
reader.skipType(tag & 7);
|
|
44
|
-
}
|
|
45
|
-
return message;
|
|
46
|
-
},
|
|
47
|
-
fromJSON(object) {
|
|
48
|
-
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
49
|
-
},
|
|
50
|
-
toJSON(message) {
|
|
51
|
-
const obj = {};
|
|
52
|
-
if (message.customer_id !== 0) {
|
|
53
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
54
|
-
}
|
|
55
|
-
return obj;
|
|
56
|
-
},
|
|
57
|
-
create(base) {
|
|
58
|
-
return exports.bureauListRequest.fromPartial(base ?? {});
|
|
59
|
-
},
|
|
60
|
-
fromPartial(object) {
|
|
61
|
-
const message = createBasebureauListRequest();
|
|
62
|
-
message.customer_id = object.customer_id ?? 0;
|
|
63
|
-
return message;
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
function createBasebureauListResponse() {
|
|
67
|
-
return { status: "", data: [] };
|
|
68
|
-
}
|
|
69
|
-
exports.bureauListResponse = {
|
|
70
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
71
|
-
if (message.status !== "") {
|
|
72
|
-
writer.uint32(10).string(message.status);
|
|
73
|
-
}
|
|
74
|
-
for (const v of message.data) {
|
|
75
|
-
exports.Report.encode(v, writer.uint32(18).fork()).ldelim();
|
|
76
|
-
}
|
|
77
|
-
return writer;
|
|
78
|
-
},
|
|
79
|
-
decode(input, length) {
|
|
80
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
81
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
|
-
const message = createBasebureauListResponse();
|
|
83
|
-
while (reader.pos < end) {
|
|
84
|
-
const tag = reader.uint32();
|
|
85
|
-
switch (tag >>> 3) {
|
|
86
|
-
case 1:
|
|
87
|
-
if (tag !== 10) {
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
message.status = reader.string();
|
|
91
|
-
continue;
|
|
92
|
-
case 2:
|
|
93
|
-
if (tag !== 18) {
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
message.data.push(exports.Report.decode(reader, reader.uint32()));
|
|
97
|
-
continue;
|
|
98
|
-
}
|
|
99
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
reader.skipType(tag & 7);
|
|
103
|
-
}
|
|
104
|
-
return message;
|
|
105
|
-
},
|
|
106
|
-
fromJSON(object) {
|
|
107
|
-
return {
|
|
108
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
109
|
-
data: globalThis.Array.isArray(object?.data) ? object.data.map((e) => exports.Report.fromJSON(e)) : [],
|
|
110
|
-
};
|
|
111
|
-
},
|
|
112
|
-
toJSON(message) {
|
|
113
|
-
const obj = {};
|
|
114
|
-
if (message.status !== "") {
|
|
115
|
-
obj.status = message.status;
|
|
116
|
-
}
|
|
117
|
-
if (message.data?.length) {
|
|
118
|
-
obj.data = message.data.map((e) => exports.Report.toJSON(e));
|
|
119
|
-
}
|
|
120
|
-
return obj;
|
|
121
|
-
},
|
|
122
|
-
create(base) {
|
|
123
|
-
return exports.bureauListResponse.fromPartial(base ?? {});
|
|
124
|
-
},
|
|
125
|
-
fromPartial(object) {
|
|
126
|
-
const message = createBasebureauListResponse();
|
|
127
|
-
message.status = object.status ?? "";
|
|
128
|
-
message.data = object.data?.map((e) => exports.Report.fromPartial(e)) || [];
|
|
129
|
-
return message;
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
function createBaseReport() {
|
|
133
|
-
return {
|
|
134
|
-
id: undefined,
|
|
135
|
-
score: undefined,
|
|
136
|
-
created_at: undefined,
|
|
137
|
-
bureau_id: undefined,
|
|
138
|
-
report_path: undefined,
|
|
139
|
-
product_code: undefined,
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
exports.Report = {
|
|
143
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
144
|
-
if (message.id !== undefined) {
|
|
145
|
-
writer.uint32(8).int64(message.id);
|
|
146
|
-
}
|
|
147
|
-
if (message.score !== undefined) {
|
|
148
|
-
writer.uint32(16).int32(message.score);
|
|
149
|
-
}
|
|
150
|
-
if (message.created_at !== undefined) {
|
|
151
|
-
writer.uint32(34).string(message.created_at);
|
|
152
|
-
}
|
|
153
|
-
if (message.bureau_id !== undefined) {
|
|
154
|
-
writer.uint32(40).int32(message.bureau_id);
|
|
155
|
-
}
|
|
156
|
-
if (message.report_path !== undefined) {
|
|
157
|
-
writer.uint32(50).string(message.report_path);
|
|
158
|
-
}
|
|
159
|
-
if (message.product_code !== undefined) {
|
|
160
|
-
writer.uint32(58).string(message.product_code);
|
|
161
|
-
}
|
|
162
|
-
return writer;
|
|
163
|
-
},
|
|
164
|
-
decode(input, length) {
|
|
165
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
166
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
167
|
-
const message = createBaseReport();
|
|
168
|
-
while (reader.pos < end) {
|
|
169
|
-
const tag = reader.uint32();
|
|
170
|
-
switch (tag >>> 3) {
|
|
171
|
-
case 1:
|
|
172
|
-
if (tag !== 8) {
|
|
173
|
-
break;
|
|
174
|
-
}
|
|
175
|
-
message.id = longToNumber(reader.int64());
|
|
176
|
-
continue;
|
|
177
|
-
case 2:
|
|
178
|
-
if (tag !== 16) {
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
message.score = reader.int32();
|
|
182
|
-
continue;
|
|
183
|
-
case 4:
|
|
184
|
-
if (tag !== 34) {
|
|
185
|
-
break;
|
|
186
|
-
}
|
|
187
|
-
message.created_at = reader.string();
|
|
188
|
-
continue;
|
|
189
|
-
case 5:
|
|
190
|
-
if (tag !== 40) {
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
message.bureau_id = reader.int32();
|
|
194
|
-
continue;
|
|
195
|
-
case 6:
|
|
196
|
-
if (tag !== 50) {
|
|
197
|
-
break;
|
|
198
|
-
}
|
|
199
|
-
message.report_path = reader.string();
|
|
200
|
-
continue;
|
|
201
|
-
case 7:
|
|
202
|
-
if (tag !== 58) {
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
message.product_code = reader.string();
|
|
206
|
-
continue;
|
|
207
|
-
}
|
|
208
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
reader.skipType(tag & 7);
|
|
212
|
-
}
|
|
213
|
-
return message;
|
|
214
|
-
},
|
|
215
|
-
fromJSON(object) {
|
|
216
|
-
return {
|
|
217
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : undefined,
|
|
218
|
-
score: isSet(object.score) ? globalThis.Number(object.score) : undefined,
|
|
219
|
-
created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : undefined,
|
|
220
|
-
bureau_id: isSet(object.bureau_id) ? globalThis.Number(object.bureau_id) : undefined,
|
|
221
|
-
report_path: isSet(object.report_path) ? globalThis.String(object.report_path) : undefined,
|
|
222
|
-
product_code: isSet(object.product_code) ? globalThis.String(object.product_code) : undefined,
|
|
223
|
-
};
|
|
224
|
-
},
|
|
225
|
-
toJSON(message) {
|
|
226
|
-
const obj = {};
|
|
227
|
-
if (message.id !== undefined) {
|
|
228
|
-
obj.id = Math.round(message.id);
|
|
229
|
-
}
|
|
230
|
-
if (message.score !== undefined) {
|
|
231
|
-
obj.score = Math.round(message.score);
|
|
232
|
-
}
|
|
233
|
-
if (message.created_at !== undefined) {
|
|
234
|
-
obj.created_at = message.created_at;
|
|
235
|
-
}
|
|
236
|
-
if (message.bureau_id !== undefined) {
|
|
237
|
-
obj.bureau_id = Math.round(message.bureau_id);
|
|
238
|
-
}
|
|
239
|
-
if (message.report_path !== undefined) {
|
|
240
|
-
obj.report_path = message.report_path;
|
|
241
|
-
}
|
|
242
|
-
if (message.product_code !== undefined) {
|
|
243
|
-
obj.product_code = message.product_code;
|
|
244
|
-
}
|
|
245
|
-
return obj;
|
|
246
|
-
},
|
|
247
|
-
create(base) {
|
|
248
|
-
return exports.Report.fromPartial(base ?? {});
|
|
249
|
-
},
|
|
250
|
-
fromPartial(object) {
|
|
251
|
-
const message = createBaseReport();
|
|
252
|
-
message.id = object.id ?? undefined;
|
|
253
|
-
message.score = object.score ?? undefined;
|
|
254
|
-
message.created_at = object.created_at ?? undefined;
|
|
255
|
-
message.bureau_id = object.bureau_id ?? undefined;
|
|
256
|
-
message.report_path = object.report_path ?? undefined;
|
|
257
|
-
message.product_code = object.product_code ?? undefined;
|
|
258
|
-
return message;
|
|
259
|
-
},
|
|
260
|
-
};
|
|
261
|
-
function longToNumber(long) {
|
|
262
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
263
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
264
|
-
}
|
|
265
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
266
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
267
|
-
}
|
|
268
|
-
return long.toNumber();
|
|
269
|
-
}
|
|
270
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
271
|
-
minimal_1.default.util.Long = long_1.default;
|
|
272
|
-
minimal_1.default.configure();
|
|
273
|
-
}
|
|
274
|
-
function isSet(value) {
|
|
275
|
-
return value !== null && value !== undefined;
|
|
276
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getrpdlink";
|
|
3
|
-
export interface createRpdLinkRequest {
|
|
4
|
-
}
|
|
5
|
-
export interface createRpdLinkResponse {
|
|
6
|
-
id: string;
|
|
7
|
-
shortUrl: string;
|
|
8
|
-
status: string;
|
|
9
|
-
traceId: string;
|
|
10
|
-
upiBillId: string;
|
|
11
|
-
upiLink: string;
|
|
12
|
-
validUpto: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const createRpdLinkRequest: {
|
|
15
|
-
encode(_: createRpdLinkRequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkRequest;
|
|
17
|
-
fromJSON(_: any): createRpdLinkRequest;
|
|
18
|
-
toJSON(_: createRpdLinkRequest): unknown;
|
|
19
|
-
create<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(base?: I): createRpdLinkRequest;
|
|
20
|
-
fromPartial<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(_: I): createRpdLinkRequest;
|
|
21
|
-
};
|
|
22
|
-
export declare const createRpdLinkResponse: {
|
|
23
|
-
encode(message: createRpdLinkResponse, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkResponse;
|
|
25
|
-
fromJSON(object: any): createRpdLinkResponse;
|
|
26
|
-
toJSON(message: createRpdLinkResponse): unknown;
|
|
27
|
-
create<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(base?: I): createRpdLinkResponse;
|
|
28
|
-
fromPartial<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(object: I): createRpdLinkResponse;
|
|
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 {};
|
|
@@ -1,190 +0,0 @@
|
|
|
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.28.0
|
|
6
|
-
// source: customers/getrpdlink.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.createRpdLinkResponse = exports.createRpdLinkRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getrpdlink";
|
|
15
|
-
function createBasecreateRpdLinkRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.createRpdLinkRequest = {
|
|
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 = createBasecreateRpdLinkRequest();
|
|
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.createRpdLinkRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasecreateRpdLinkRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBasecreateRpdLinkResponse() {
|
|
53
|
-
return { id: "", shortUrl: "", status: "", traceId: "", upiBillId: "", upiLink: "", validUpto: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.createRpdLinkResponse = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.id !== "") {
|
|
58
|
-
writer.uint32(10).string(message.id);
|
|
59
|
-
}
|
|
60
|
-
if (message.shortUrl !== "") {
|
|
61
|
-
writer.uint32(18).string(message.shortUrl);
|
|
62
|
-
}
|
|
63
|
-
if (message.status !== "") {
|
|
64
|
-
writer.uint32(26).string(message.status);
|
|
65
|
-
}
|
|
66
|
-
if (message.traceId !== "") {
|
|
67
|
-
writer.uint32(34).string(message.traceId);
|
|
68
|
-
}
|
|
69
|
-
if (message.upiBillId !== "") {
|
|
70
|
-
writer.uint32(42).string(message.upiBillId);
|
|
71
|
-
}
|
|
72
|
-
if (message.upiLink !== "") {
|
|
73
|
-
writer.uint32(50).string(message.upiLink);
|
|
74
|
-
}
|
|
75
|
-
if (message.validUpto !== "") {
|
|
76
|
-
writer.uint32(58).string(message.validUpto);
|
|
77
|
-
}
|
|
78
|
-
return writer;
|
|
79
|
-
},
|
|
80
|
-
decode(input, length) {
|
|
81
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
82
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
83
|
-
const message = createBasecreateRpdLinkResponse();
|
|
84
|
-
while (reader.pos < end) {
|
|
85
|
-
const tag = reader.uint32();
|
|
86
|
-
switch (tag >>> 3) {
|
|
87
|
-
case 1:
|
|
88
|
-
if (tag !== 10) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
message.id = reader.string();
|
|
92
|
-
continue;
|
|
93
|
-
case 2:
|
|
94
|
-
if (tag !== 18) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
message.shortUrl = reader.string();
|
|
98
|
-
continue;
|
|
99
|
-
case 3:
|
|
100
|
-
if (tag !== 26) {
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
|
-
message.status = reader.string();
|
|
104
|
-
continue;
|
|
105
|
-
case 4:
|
|
106
|
-
if (tag !== 34) {
|
|
107
|
-
break;
|
|
108
|
-
}
|
|
109
|
-
message.traceId = reader.string();
|
|
110
|
-
continue;
|
|
111
|
-
case 5:
|
|
112
|
-
if (tag !== 42) {
|
|
113
|
-
break;
|
|
114
|
-
}
|
|
115
|
-
message.upiBillId = reader.string();
|
|
116
|
-
continue;
|
|
117
|
-
case 6:
|
|
118
|
-
if (tag !== 50) {
|
|
119
|
-
break;
|
|
120
|
-
}
|
|
121
|
-
message.upiLink = reader.string();
|
|
122
|
-
continue;
|
|
123
|
-
case 7:
|
|
124
|
-
if (tag !== 58) {
|
|
125
|
-
break;
|
|
126
|
-
}
|
|
127
|
-
message.validUpto = reader.string();
|
|
128
|
-
continue;
|
|
129
|
-
}
|
|
130
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
131
|
-
break;
|
|
132
|
-
}
|
|
133
|
-
reader.skipType(tag & 7);
|
|
134
|
-
}
|
|
135
|
-
return message;
|
|
136
|
-
},
|
|
137
|
-
fromJSON(object) {
|
|
138
|
-
return {
|
|
139
|
-
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
140
|
-
shortUrl: isSet(object.shortUrl) ? globalThis.String(object.shortUrl) : "",
|
|
141
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
142
|
-
traceId: isSet(object.traceId) ? globalThis.String(object.traceId) : "",
|
|
143
|
-
upiBillId: isSet(object.upiBillId) ? globalThis.String(object.upiBillId) : "",
|
|
144
|
-
upiLink: isSet(object.upiLink) ? globalThis.String(object.upiLink) : "",
|
|
145
|
-
validUpto: isSet(object.validUpto) ? globalThis.String(object.validUpto) : "",
|
|
146
|
-
};
|
|
147
|
-
},
|
|
148
|
-
toJSON(message) {
|
|
149
|
-
const obj = {};
|
|
150
|
-
if (message.id !== "") {
|
|
151
|
-
obj.id = message.id;
|
|
152
|
-
}
|
|
153
|
-
if (message.shortUrl !== "") {
|
|
154
|
-
obj.shortUrl = message.shortUrl;
|
|
155
|
-
}
|
|
156
|
-
if (message.status !== "") {
|
|
157
|
-
obj.status = message.status;
|
|
158
|
-
}
|
|
159
|
-
if (message.traceId !== "") {
|
|
160
|
-
obj.traceId = message.traceId;
|
|
161
|
-
}
|
|
162
|
-
if (message.upiBillId !== "") {
|
|
163
|
-
obj.upiBillId = message.upiBillId;
|
|
164
|
-
}
|
|
165
|
-
if (message.upiLink !== "") {
|
|
166
|
-
obj.upiLink = message.upiLink;
|
|
167
|
-
}
|
|
168
|
-
if (message.validUpto !== "") {
|
|
169
|
-
obj.validUpto = message.validUpto;
|
|
170
|
-
}
|
|
171
|
-
return obj;
|
|
172
|
-
},
|
|
173
|
-
create(base) {
|
|
174
|
-
return exports.createRpdLinkResponse.fromPartial(base ?? {});
|
|
175
|
-
},
|
|
176
|
-
fromPartial(object) {
|
|
177
|
-
const message = createBasecreateRpdLinkResponse();
|
|
178
|
-
message.id = object.id ?? "";
|
|
179
|
-
message.shortUrl = object.shortUrl ?? "";
|
|
180
|
-
message.status = object.status ?? "";
|
|
181
|
-
message.traceId = object.traceId ?? "";
|
|
182
|
-
message.upiBillId = object.upiBillId ?? "";
|
|
183
|
-
message.upiLink = object.upiLink ?? "";
|
|
184
|
-
message.validUpto = object.validUpto ?? "";
|
|
185
|
-
return message;
|
|
186
|
-
},
|
|
187
|
-
};
|
|
188
|
-
function isSet(value) {
|
|
189
|
-
return value !== null && value !== undefined;
|
|
190
|
-
}
|