@stashfin/grpc 1.2.150 → 1.2.151
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.d.ts +57 -0
- package/ts/bureau/getbasicdetails.js +341 -0
- package/ts/bureau/getdemogs.d.ts +113 -0
- package/ts/bureau/getdemogs.js +611 -0
- package/ts/bureau/getreport.d.ts +188 -0
- package/ts/bureau/getreport.js +1640 -0
- package/ts/bureau.d.ts +56 -0
- package/ts/bureau.js +44 -0
- package/ts/colender/disburseLoan.d.ts +44 -0
- package/ts/colender/disburseLoan.js +256 -0
- package/ts/colender/forecloseLoan.d.ts +41 -0
- package/ts/colender/forecloseLoan.js +205 -0
- package/ts/colender/repayLoan.d.ts +48 -0
- package/ts/colender/repayLoan.js +313 -0
- package/ts/colender.d.ts +56 -0
- package/ts/colender.js +44 -0
- package/ts/customers/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/aa/initiate.d.ts +40 -0
- package/ts/customers/aa/initiate.js +209 -0
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +60 -0
- package/ts/customers/addmoredetails.js +314 -0
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/adduserapps.d.ts +74 -0
- package/ts/customers/adduserapps.js +210 -0
- package/ts/customers/changempin.d.ts +36 -0
- package/ts/customers/changempin.js +133 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/deleteprofile.d.ts +35 -0
- package/ts/customers/deleteprofile.js +120 -0
- package/ts/customers/disablempin.d.ts +34 -0
- package/ts/customers/disablempin.js +104 -0
- package/ts/customers/fetchrcprofile.d.ts +45 -0
- package/ts/customers/fetchrcprofile.js +271 -0
- package/ts/customers/forgotmpin.d.ts +35 -0
- package/ts/customers/forgotmpin.js +117 -0
- package/ts/customers/forgotmpinverify.d.ts +36 -0
- package/ts/customers/forgotmpinverify.js +133 -0
- package/ts/customers/getbankaccountdetails.d.ts +36 -0
- package/ts/customers/getbankaccountdetails.js +134 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcustomerbyid.d.ts +140 -0
- package/ts/customers/getcustomerbyid.js +1478 -0
- package/ts/customers/getdashboard.d.ts +88 -0
- package/ts/customers/getdashboard.js +574 -0
- package/ts/customers/getdashboardmaincard.d.ts +70 -0
- package/ts/customers/getdashboardmaincard.js +534 -0
- package/ts/customers/getdocuments.d.ts +36 -0
- package/ts/customers/getdocuments.js +134 -0
- package/ts/customers/getlimit.d.ts +37 -0
- package/ts/customers/getlimit.js +148 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +54 -0
- package/ts/customers/getprofile.js +296 -0
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +69 -0
- package/ts/customers/getstep.js +406 -0
- package/ts/customers/profilebasic.d.ts +38 -0
- package/ts/customers/profilebasic.js +161 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/sendotptoemail.js +117 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/updatedlnumber.d.ts +35 -0
- package/ts/customers/updatedlnumber.js +119 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatelocstatus.d.ts +36 -0
- package/ts/customers/updatelocstatus.js +133 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +36 -0
- package/ts/customers/updatemobileverifyotp.js +133 -0
- package/ts/customers/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers/updatevehiclenumber.d.ts +35 -0
- package/ts/customers/updatevehiclenumber.js +117 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifympin.d.ts +37 -0
- package/ts/customers/verifympin.js +149 -0
- package/ts/customers/verifyotp.d.ts +41 -0
- package/ts/customers/verifyotp.js +205 -0
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +698 -0
- package/ts/customers.js +502 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/loans/approveloan.d.ts +68 -0
- package/ts/loans/approveloan.js +621 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +57 -0
- package/ts/loans/calculateemi.js +340 -0
- package/ts/loans/creditlimit.d.ts +51 -0
- package/ts/loans/creditlimit.js +381 -0
- package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
- package/ts/loans/futurepaymentmoredetails.js +230 -0
- package/ts/loans/getbilldetails.d.ts +38 -0
- package/ts/loans/getbilldetails.js +161 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getloanbyid.d.ts +48 -0
- package/ts/loans/getloanbyid.js +318 -0
- package/ts/loans/getpendingemiamount.d.ts +34 -0
- package/ts/loans/getpendingemiamount.js +104 -0
- package/ts/loans/getsummarystaticfields.d.ts +80 -0
- package/ts/loans/getsummarystaticfields.js +700 -0
- package/ts/loans/loansummary.d.ts +66 -0
- package/ts/loans/loansummary.js +593 -0
- package/ts/loans/paymentallocation.d.ts +37 -0
- package/ts/loans/paymentallocation.js +147 -0
- package/ts/loans/paymenthistory.d.ts +47 -0
- package/ts/loans/paymenthistory.js +188 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +52 -0
- package/ts/loans/transactionlist.js +257 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +39 -0
- package/ts/loans/updateloan.js +175 -0
- package/ts/loans.d.ts +280 -0
- package/ts/loans.js +204 -0
- package/ts/payments.d.ts +239 -0
- package/ts/payments.js +1117 -0
- package/ts/stashcash/creditsc.d.ts +54 -0
- package/ts/stashcash/creditsc.js +301 -0
- package/ts/stashcash/debitsc.d.ts +59 -0
- package/ts/stashcash/debitsc.js +380 -0
- package/ts/stashcash/getscbalance.d.ts +53 -0
- package/ts/stashcash/getscbalance.js +293 -0
- package/ts/stashcash/getschistory.d.ts +73 -0
- package/ts/stashcash/getschistory.js +479 -0
- package/ts/stashcash/reversesc.d.ts +52 -0
- package/ts/stashcash/reversesc.js +273 -0
- package/ts/stashcash.d.ts +84 -0
- package/ts/stashcash.js +64 -0
|
@@ -0,0 +1,133 @@
|
|
|
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.27.3
|
|
6
|
+
// source: customers/updatelocstatus.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.locStatusResponse = exports.locStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updatelocstatus";
|
|
15
|
+
function createBaselocStatusRequest() {
|
|
16
|
+
return { loc_disabled: false };
|
|
17
|
+
}
|
|
18
|
+
exports.locStatusRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.loc_disabled !== false) {
|
|
21
|
+
writer.uint32(8).bool(message.loc_disabled);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaselocStatusRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.loc_disabled = reader.bool();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { loc_disabled: isSet(object.loc_disabled) ? globalThis.Boolean(object.loc_disabled) : false };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.loc_disabled !== false) {
|
|
52
|
+
obj.loc_disabled = message.loc_disabled;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.locStatusRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaselocStatusRequest();
|
|
61
|
+
message.loc_disabled = object.loc_disabled ?? false;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaselocStatusResponse() {
|
|
66
|
+
return { status: "", pending_loan_amount: 0 };
|
|
67
|
+
}
|
|
68
|
+
exports.locStatusResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.status !== "") {
|
|
71
|
+
writer.uint32(10).string(message.status);
|
|
72
|
+
}
|
|
73
|
+
if (message.pending_loan_amount !== 0) {
|
|
74
|
+
writer.uint32(21).float(message.pending_loan_amount);
|
|
75
|
+
}
|
|
76
|
+
return writer;
|
|
77
|
+
},
|
|
78
|
+
decode(input, length) {
|
|
79
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
80
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
+
const message = createBaselocStatusResponse();
|
|
82
|
+
while (reader.pos < end) {
|
|
83
|
+
const tag = reader.uint32();
|
|
84
|
+
switch (tag >>> 3) {
|
|
85
|
+
case 1:
|
|
86
|
+
if (tag !== 10) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
message.status = reader.string();
|
|
90
|
+
continue;
|
|
91
|
+
case 2:
|
|
92
|
+
if (tag !== 21) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
message.pending_loan_amount = reader.float();
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
reader.skipType(tag & 7);
|
|
102
|
+
}
|
|
103
|
+
return message;
|
|
104
|
+
},
|
|
105
|
+
fromJSON(object) {
|
|
106
|
+
return {
|
|
107
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
108
|
+
pending_loan_amount: isSet(object.pending_loan_amount) ? globalThis.Number(object.pending_loan_amount) : 0,
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
toJSON(message) {
|
|
112
|
+
const obj = {};
|
|
113
|
+
if (message.status !== "") {
|
|
114
|
+
obj.status = message.status;
|
|
115
|
+
}
|
|
116
|
+
if (message.pending_loan_amount !== 0) {
|
|
117
|
+
obj.pending_loan_amount = message.pending_loan_amount;
|
|
118
|
+
}
|
|
119
|
+
return obj;
|
|
120
|
+
},
|
|
121
|
+
create(base) {
|
|
122
|
+
return exports.locStatusResponse.fromPartial(base ?? {});
|
|
123
|
+
},
|
|
124
|
+
fromPartial(object) {
|
|
125
|
+
const message = createBaselocStatusResponse();
|
|
126
|
+
message.status = object.status ?? "";
|
|
127
|
+
message.pending_loan_amount = object.pending_loan_amount ?? 0;
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function isSet(value) {
|
|
132
|
+
return value !== null && value !== undefined;
|
|
133
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updatemobilesendotp";
|
|
3
|
+
export interface updateMobileSendOtpRequest {
|
|
4
|
+
new_mobile: string;
|
|
5
|
+
}
|
|
6
|
+
export interface updateMobileSendOtpResponse {
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const updateMobileSendOtpRequest: {
|
|
10
|
+
encode(message: updateMobileSendOtpRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateMobileSendOtpRequest;
|
|
12
|
+
fromJSON(object: any): updateMobileSendOtpRequest;
|
|
13
|
+
toJSON(message: updateMobileSendOtpRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<updateMobileSendOtpRequest>, I>>(base?: I): updateMobileSendOtpRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<updateMobileSendOtpRequest>, I>>(object: I): updateMobileSendOtpRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const updateMobileSendOtpResponse: {
|
|
18
|
+
encode(message: updateMobileSendOtpResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateMobileSendOtpResponse;
|
|
20
|
+
fromJSON(object: any): updateMobileSendOtpResponse;
|
|
21
|
+
toJSON(message: updateMobileSendOtpResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<updateMobileSendOtpResponse>, I>>(base?: I): updateMobileSendOtpResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<updateMobileSendOtpResponse>, I>>(object: I): updateMobileSendOtpResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.27.3
|
|
6
|
+
// source: customers/updatemobilesendotp.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.updateMobileSendOtpResponse = exports.updateMobileSendOtpRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updatemobilesendotp";
|
|
15
|
+
function createBaseupdateMobileSendOtpRequest() {
|
|
16
|
+
return { new_mobile: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateMobileSendOtpRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.new_mobile !== "") {
|
|
21
|
+
writer.uint32(10).string(message.new_mobile);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseupdateMobileSendOtpRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.new_mobile = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { new_mobile: isSet(object.new_mobile) ? globalThis.String(object.new_mobile) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.new_mobile !== "") {
|
|
52
|
+
obj.new_mobile = message.new_mobile;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.updateMobileSendOtpRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseupdateMobileSendOtpRequest();
|
|
61
|
+
message.new_mobile = object.new_mobile ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseupdateMobileSendOtpResponse() {
|
|
66
|
+
return { status: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.updateMobileSendOtpResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.status !== "") {
|
|
71
|
+
writer.uint32(10).string(message.status);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBaseupdateMobileSendOtpResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.status = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.status !== "") {
|
|
102
|
+
obj.status = message.status;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.updateMobileSendOtpResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBaseupdateMobileSendOtpResponse();
|
|
111
|
+
message.status = object.status ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updatemobileverifyotp";
|
|
3
|
+
export interface updateMobileVerifyOtpRequest {
|
|
4
|
+
new_mobile: string;
|
|
5
|
+
new_mobile_otp: string;
|
|
6
|
+
}
|
|
7
|
+
export interface updateMobileVerifyOtpResponse {
|
|
8
|
+
status: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const updateMobileVerifyOtpRequest: {
|
|
11
|
+
encode(message: updateMobileVerifyOtpRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateMobileVerifyOtpRequest;
|
|
13
|
+
fromJSON(object: any): updateMobileVerifyOtpRequest;
|
|
14
|
+
toJSON(message: updateMobileVerifyOtpRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<updateMobileVerifyOtpRequest>, I>>(base?: I): updateMobileVerifyOtpRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<updateMobileVerifyOtpRequest>, I>>(object: I): updateMobileVerifyOtpRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const updateMobileVerifyOtpResponse: {
|
|
19
|
+
encode(message: updateMobileVerifyOtpResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateMobileVerifyOtpResponse;
|
|
21
|
+
fromJSON(object: any): updateMobileVerifyOtpResponse;
|
|
22
|
+
toJSON(message: updateMobileVerifyOtpResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<updateMobileVerifyOtpResponse>, I>>(base?: I): updateMobileVerifyOtpResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<updateMobileVerifyOtpResponse>, I>>(object: I): updateMobileVerifyOtpResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,133 @@
|
|
|
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.27.3
|
|
6
|
+
// source: customers/updatemobileverifyotp.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.updateMobileVerifyOtpResponse = exports.updateMobileVerifyOtpRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updatemobileverifyotp";
|
|
15
|
+
function createBaseupdateMobileVerifyOtpRequest() {
|
|
16
|
+
return { new_mobile: "", new_mobile_otp: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateMobileVerifyOtpRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.new_mobile !== "") {
|
|
21
|
+
writer.uint32(10).string(message.new_mobile);
|
|
22
|
+
}
|
|
23
|
+
if (message.new_mobile_otp !== "") {
|
|
24
|
+
writer.uint32(18).string(message.new_mobile_otp);
|
|
25
|
+
}
|
|
26
|
+
return writer;
|
|
27
|
+
},
|
|
28
|
+
decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseupdateMobileVerifyOtpRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.new_mobile = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.new_mobile_otp = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
reader.skipType(tag & 7);
|
|
52
|
+
}
|
|
53
|
+
return message;
|
|
54
|
+
},
|
|
55
|
+
fromJSON(object) {
|
|
56
|
+
return {
|
|
57
|
+
new_mobile: isSet(object.new_mobile) ? globalThis.String(object.new_mobile) : "",
|
|
58
|
+
new_mobile_otp: isSet(object.new_mobile_otp) ? globalThis.String(object.new_mobile_otp) : "",
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.new_mobile !== "") {
|
|
64
|
+
obj.new_mobile = message.new_mobile;
|
|
65
|
+
}
|
|
66
|
+
if (message.new_mobile_otp !== "") {
|
|
67
|
+
obj.new_mobile_otp = message.new_mobile_otp;
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.updateMobileVerifyOtpRequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBaseupdateMobileVerifyOtpRequest();
|
|
76
|
+
message.new_mobile = object.new_mobile ?? "";
|
|
77
|
+
message.new_mobile_otp = object.new_mobile_otp ?? "";
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBaseupdateMobileVerifyOtpResponse() {
|
|
82
|
+
return { status: "" };
|
|
83
|
+
}
|
|
84
|
+
exports.updateMobileVerifyOtpResponse = {
|
|
85
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
+
if (message.status !== "") {
|
|
87
|
+
writer.uint32(10).string(message.status);
|
|
88
|
+
}
|
|
89
|
+
return writer;
|
|
90
|
+
},
|
|
91
|
+
decode(input, length) {
|
|
92
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
93
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
94
|
+
const message = createBaseupdateMobileVerifyOtpResponse();
|
|
95
|
+
while (reader.pos < end) {
|
|
96
|
+
const tag = reader.uint32();
|
|
97
|
+
switch (tag >>> 3) {
|
|
98
|
+
case 1:
|
|
99
|
+
if (tag !== 10) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.status = reader.string();
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
reader.skipType(tag & 7);
|
|
109
|
+
}
|
|
110
|
+
return message;
|
|
111
|
+
},
|
|
112
|
+
fromJSON(object) {
|
|
113
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
114
|
+
},
|
|
115
|
+
toJSON(message) {
|
|
116
|
+
const obj = {};
|
|
117
|
+
if (message.status !== "") {
|
|
118
|
+
obj.status = message.status;
|
|
119
|
+
}
|
|
120
|
+
return obj;
|
|
121
|
+
},
|
|
122
|
+
create(base) {
|
|
123
|
+
return exports.updateMobileVerifyOtpResponse.fromPartial(base ?? {});
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBaseupdateMobileVerifyOtpResponse();
|
|
127
|
+
message.status = object.status ?? "";
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function isSet(value) {
|
|
132
|
+
return value !== null && value !== undefined;
|
|
133
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updateokyctxn";
|
|
3
|
+
export interface updateOkycTxnRequest {
|
|
4
|
+
transactionId?: string | undefined;
|
|
5
|
+
status?: string | undefined;
|
|
6
|
+
type: string;
|
|
7
|
+
}
|
|
8
|
+
export interface updateOkycTxnResponse {
|
|
9
|
+
status: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const updateOkycTxnRequest: {
|
|
12
|
+
encode(message: updateOkycTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateOkycTxnRequest;
|
|
14
|
+
fromJSON(object: any): updateOkycTxnRequest;
|
|
15
|
+
toJSON(message: updateOkycTxnRequest): unknown;
|
|
16
|
+
create<I extends Exact<DeepPartial<updateOkycTxnRequest>, I>>(base?: I): updateOkycTxnRequest;
|
|
17
|
+
fromPartial<I extends Exact<DeepPartial<updateOkycTxnRequest>, I>>(object: I): updateOkycTxnRequest;
|
|
18
|
+
};
|
|
19
|
+
export declare const updateOkycTxnResponse: {
|
|
20
|
+
encode(message: updateOkycTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateOkycTxnResponse;
|
|
22
|
+
fromJSON(object: any): updateOkycTxnResponse;
|
|
23
|
+
toJSON(message: updateOkycTxnResponse): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<updateOkycTxnResponse>, I>>(base?: I): updateOkycTxnResponse;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<updateOkycTxnResponse>, I>>(object: I): updateOkycTxnResponse;
|
|
26
|
+
};
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
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 {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,147 @@
|
|
|
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.27.3
|
|
6
|
+
// source: customers/updateokyctxn.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.updateOkycTxnResponse = exports.updateOkycTxnRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updateokyctxn";
|
|
15
|
+
function createBaseupdateOkycTxnRequest() {
|
|
16
|
+
return { transactionId: undefined, status: undefined, type: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateOkycTxnRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.transactionId !== undefined) {
|
|
21
|
+
writer.uint32(10).string(message.transactionId);
|
|
22
|
+
}
|
|
23
|
+
if (message.status !== undefined) {
|
|
24
|
+
writer.uint32(18).string(message.status);
|
|
25
|
+
}
|
|
26
|
+
if (message.type !== "") {
|
|
27
|
+
writer.uint32(26).string(message.type);
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseupdateOkycTxnRequest();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
if (tag !== 10) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.transactionId = reader.string();
|
|
43
|
+
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.status = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.type = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
reader.skipType(tag & 7);
|
|
61
|
+
}
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
fromJSON(object) {
|
|
65
|
+
return {
|
|
66
|
+
transactionId: isSet(object.transactionId) ? globalThis.String(object.transactionId) : undefined,
|
|
67
|
+
status: isSet(object.status) ? globalThis.String(object.status) : undefined,
|
|
68
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
toJSON(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
if (message.transactionId !== undefined) {
|
|
74
|
+
obj.transactionId = message.transactionId;
|
|
75
|
+
}
|
|
76
|
+
if (message.status !== undefined) {
|
|
77
|
+
obj.status = message.status;
|
|
78
|
+
}
|
|
79
|
+
if (message.type !== "") {
|
|
80
|
+
obj.type = message.type;
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
},
|
|
84
|
+
create(base) {
|
|
85
|
+
return exports.updateOkycTxnRequest.fromPartial(base ?? {});
|
|
86
|
+
},
|
|
87
|
+
fromPartial(object) {
|
|
88
|
+
const message = createBaseupdateOkycTxnRequest();
|
|
89
|
+
message.transactionId = object.transactionId ?? undefined;
|
|
90
|
+
message.status = object.status ?? undefined;
|
|
91
|
+
message.type = object.type ?? "";
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
function createBaseupdateOkycTxnResponse() {
|
|
96
|
+
return { status: false };
|
|
97
|
+
}
|
|
98
|
+
exports.updateOkycTxnResponse = {
|
|
99
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
100
|
+
if (message.status !== false) {
|
|
101
|
+
writer.uint32(8).bool(message.status);
|
|
102
|
+
}
|
|
103
|
+
return writer;
|
|
104
|
+
},
|
|
105
|
+
decode(input, length) {
|
|
106
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
107
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
108
|
+
const message = createBaseupdateOkycTxnResponse();
|
|
109
|
+
while (reader.pos < end) {
|
|
110
|
+
const tag = reader.uint32();
|
|
111
|
+
switch (tag >>> 3) {
|
|
112
|
+
case 1:
|
|
113
|
+
if (tag !== 8) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
message.status = reader.bool();
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
reader.skipType(tag & 7);
|
|
123
|
+
}
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
fromJSON(object) {
|
|
127
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
128
|
+
},
|
|
129
|
+
toJSON(message) {
|
|
130
|
+
const obj = {};
|
|
131
|
+
if (message.status !== false) {
|
|
132
|
+
obj.status = message.status;
|
|
133
|
+
}
|
|
134
|
+
return obj;
|
|
135
|
+
},
|
|
136
|
+
create(base) {
|
|
137
|
+
return exports.updateOkycTxnResponse.fromPartial(base ?? {});
|
|
138
|
+
},
|
|
139
|
+
fromPartial(object) {
|
|
140
|
+
const message = createBaseupdateOkycTxnResponse();
|
|
141
|
+
message.status = object.status ?? false;
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updateselfieetxn";
|
|
3
|
+
export interface updateSelfieeTxnRequest {
|
|
4
|
+
transactionId?: string | undefined;
|
|
5
|
+
status?: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface updateSelfieeTxnResponse {
|
|
8
|
+
status: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const updateSelfieeTxnRequest: {
|
|
11
|
+
encode(message: updateSelfieeTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateSelfieeTxnRequest;
|
|
13
|
+
fromJSON(object: any): updateSelfieeTxnRequest;
|
|
14
|
+
toJSON(message: updateSelfieeTxnRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<updateSelfieeTxnRequest>, I>>(base?: I): updateSelfieeTxnRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<updateSelfieeTxnRequest>, I>>(object: I): updateSelfieeTxnRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const updateSelfieeTxnResponse: {
|
|
19
|
+
encode(message: updateSelfieeTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateSelfieeTxnResponse;
|
|
21
|
+
fromJSON(object: any): updateSelfieeTxnResponse;
|
|
22
|
+
toJSON(message: updateSelfieeTxnResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<updateSelfieeTxnResponse>, I>>(base?: I): updateSelfieeTxnResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<updateSelfieeTxnResponse>, I>>(object: I): updateSelfieeTxnResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|