@stashfin/grpc 1.2.132 → 1.2.134
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 +0 -57
- package/ts/bureau/getbasicdetails.js +0 -341
- package/ts/bureau/getbureau.d.ts +0 -157
- package/ts/bureau/getbureau.js +0 -1376
- package/ts/bureau/getdemogs.d.ts +0 -113
- package/ts/bureau/getdemogs.js +0 -611
- package/ts/bureau/getreport.d.ts +0 -184
- package/ts/bureau/getreport.js +0 -1581
- package/ts/bureau.d.ts +0 -56
- package/ts/bureau.js +0 -44
- package/ts/colender/disburseLoan.d.ts +0 -44
- package/ts/colender/disburseLoan.js +0 -256
- package/ts/colender/forecloseLoan.d.ts +0 -41
- package/ts/colender/forecloseLoan.js +0 -205
- package/ts/colender/repayLoan.d.ts +0 -48
- package/ts/colender/repayLoan.js +0 -313
- package/ts/colender.d.ts +0 -56
- package/ts/colender.js +0 -44
- package/ts/customers/aa/getbanklist.d.ts +0 -48
- package/ts/customers/aa/getbanklist.js +0 -198
- package/ts/customers/aa/initiate.d.ts +0 -40
- package/ts/customers/aa/initiate.js +0 -209
- package/ts/customers/addaddress.d.ts +0 -50
- package/ts/customers/addaddress.js +0 -265
- package/ts/customers/addbankaccountdetails.d.ts +0 -37
- package/ts/customers/addbankaccountdetails.js +0 -147
- package/ts/customers/addgstnumber.d.ts +0 -35
- package/ts/customers/addgstnumber.js +0 -117
- package/ts/customers/addsuspendedcustomer.d.ts +0 -36
- package/ts/customers/addsuspendedcustomer.js +0 -133
- package/ts/customers/adduserapps.d.ts +0 -74
- package/ts/customers/adduserapps.js +0 -210
- package/ts/customers/changempin.d.ts +0 -36
- package/ts/customers/changempin.js +0 -133
- package/ts/customers/createcustomerreference.d.ts +0 -43
- package/ts/customers/createcustomerreference.js +0 -226
- package/ts/customers/deleteprofile.d.ts +0 -35
- package/ts/customers/deleteprofile.js +0 -120
- package/ts/customers/disablempin.d.ts +0 -34
- package/ts/customers/disablempin.js +0 -104
- package/ts/customers/fetchrcprofile.d.ts +0 -45
- package/ts/customers/fetchrcprofile.js +0 -271
- package/ts/customers/forgotmpin.d.ts +0 -35
- package/ts/customers/forgotmpin.js +0 -117
- package/ts/customers/forgotmpinotp.d.ts +0 -34
- package/ts/customers/forgotmpinotp.js +0 -104
- package/ts/customers/forgotmpinverify.d.ts +0 -36
- package/ts/customers/forgotmpinverify.js +0 -133
- package/ts/customers/getbankaccountdetails.d.ts +0 -36
- package/ts/customers/getbankaccountdetails.js +0 -134
- package/ts/customers/getbanklist.d.ts +0 -48
- package/ts/customers/getbanklist.js +0 -198
- package/ts/customers/getbasicinfo.d.ts +0 -56
- package/ts/customers/getbasicinfo.js +0 -323
- package/ts/customers/getcities.d.ts +0 -47
- package/ts/customers/getcities.js +0 -183
- package/ts/customers/getcustomerbyid.d.ts +0 -128
- package/ts/customers/getcustomerbyid.js +0 -1411
- package/ts/customers/getdashboard.d.ts +0 -91
- package/ts/customers/getdashboard.js +0 -618
- package/ts/customers/getdashboardmaincard.d.ts +0 -69
- package/ts/customers/getdashboardmaincard.js +0 -520
- package/ts/customers/getdocuments.d.ts +0 -36
- package/ts/customers/getdocuments.js +0 -134
- package/ts/customers/getkycweburl.d.ts +0 -34
- package/ts/customers/getkycweburl.js +0 -104
- package/ts/customers/getprofessionalinfo.d.ts +0 -54
- package/ts/customers/getprofessionalinfo.js +0 -286
- package/ts/customers/getprofile.d.ts +0 -54
- package/ts/customers/getprofile.js +0 -296
- package/ts/customers/getselfieetxnid.d.ts +0 -34
- package/ts/customers/getselfieetxnid.js +0 -104
- package/ts/customers/getstates.d.ts +0 -46
- package/ts/customers/getstates.js +0 -170
- package/ts/customers/getstep.d.ts +0 -69
- package/ts/customers/getstep.js +0 -406
- package/ts/customers/profilebasic.d.ts +0 -38
- package/ts/customers/profilebasic.js +0 -161
- package/ts/customers/profileupdatetnc.d.ts +0 -35
- package/ts/customers/profileupdatetnc.js +0 -117
- package/ts/customers/resetmpin.d.ts +0 -36
- package/ts/customers/resetmpin.js +0 -133
- package/ts/customers/savebasicdetails.d.ts +0 -47
- package/ts/customers/savebasicdetails.js +0 -185
- package/ts/customers/saveunlocklimit.d.ts +0 -34
- package/ts/customers/saveunlocklimit.js +0 -104
- package/ts/customers/sendemailtoken.d.ts +0 -35
- package/ts/customers/sendemailtoken.js +0 -117
- package/ts/customers/sendotp.d.ts +0 -38
- package/ts/customers/sendotp.js +0 -165
- package/ts/customers/sendotptoemail.d.ts +0 -35
- package/ts/customers/sendotptoemail.js +0 -117
- package/ts/customers/setmpin.d.ts +0 -36
- package/ts/customers/setmpin.js +0 -133
- package/ts/customers/step1.d.ts +0 -71
- package/ts/customers/step1.js +0 -423
- package/ts/customers/step10.d.ts +0 -73
- package/ts/customers/step10.js +0 -459
- package/ts/customers/step2.d.ts +0 -67
- package/ts/customers/step2.js +0 -366
- package/ts/customers/step7.d.ts +0 -68
- package/ts/customers/step7.js +0 -381
- package/ts/customers/step8.d.ts +0 -69
- package/ts/customers/step8.js +0 -395
- package/ts/customers/step9.d.ts +0 -75
- package/ts/customers/step9.js +0 -489
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/updatedigilockertxn.d.ts +0 -37
- package/ts/customers/updatedigilockertxn.js +0 -147
- package/ts/customers/updatedob.d.ts +0 -35
- package/ts/customers/updatedob.js +0 -117
- package/ts/customers/updatehypervergetxn.d.ts +0 -36
- package/ts/customers/updatehypervergetxn.js +0 -133
- package/ts/customers/updatelocdisabled.d.ts +0 -35
- package/ts/customers/updatelocdisabled.js +0 -117
- package/ts/customers/updatelocstatus.d.ts +0 -36
- package/ts/customers/updatelocstatus.js +0 -133
- package/ts/customers/updatemobile.d.ts +0 -35
- package/ts/customers/updatemobile.js +0 -117
- package/ts/customers/updatemobilesendotp.d.ts +0 -35
- package/ts/customers/updatemobilesendotp.js +0 -117
- package/ts/customers/updatemobileverifyotp.d.ts +0 -36
- package/ts/customers/updatemobileverifyotp.js +0 -133
- package/ts/customers/updateokyctxn.d.ts +0 -37
- package/ts/customers/updateokyctxn.js +0 -147
- package/ts/customers/updateselfieetxn.d.ts +0 -36
- package/ts/customers/updateselfieetxn.js +0 -133
- package/ts/customers/validatepan.d.ts +0 -45
- package/ts/customers/validatepan.js +0 -274
- package/ts/customers/verifyemail.d.ts +0 -35
- package/ts/customers/verifyemail.js +0 -117
- package/ts/customers/verifympin.d.ts +0 -37
- package/ts/customers/verifympin.js +0 -149
- package/ts/customers/verifyotp.d.ts +0 -41
- package/ts/customers/verifyotp.js +0 -205
- package/ts/customers/verifyotptoemail.d.ts +0 -35
- package/ts/customers/verifyotptoemail.js +0 -117
- package/ts/customers.d.ts +0 -764
- package/ts/customers.js +0 -548
- package/ts/example.d.ts +0 -78
- package/ts/example.js +0 -199
- package/ts/google/protobuf/timestamp.d.ts +0 -127
- package/ts/google/protobuf/timestamp.js +0 -97
- package/ts/loans/approveloan.d.ts +0 -40
- package/ts/loans/approveloan.js +0 -189
- package/ts/loans/banklist.d.ts +0 -37
- package/ts/loans/banklist.js +0 -148
- package/ts/loans/calculateemi.d.ts +0 -57
- package/ts/loans/calculateemi.js +0 -340
- package/ts/loans/creditlimit.d.ts +0 -51
- package/ts/loans/creditlimit.js +0 -381
- package/ts/loans/futurepaymentmoredetails.d.ts +0 -50
- package/ts/loans/futurepaymentmoredetails.js +0 -230
- package/ts/loans/getcustomerloanstatus.d.ts +0 -34
- package/ts/loans/getcustomerloanstatus.js +0 -104
- package/ts/loans/getloanbyid.d.ts +0 -53
- package/ts/loans/getloanbyid.js +0 -393
- package/ts/loans/getpendingemiamount.d.ts +0 -34
- package/ts/loans/getpendingemiamount.js +0 -104
- package/ts/loans/getstaticfields.d.ts +0 -86
- package/ts/loans/getstaticfields.js +0 -801
- package/ts/loans/getsummarystaticfields.d.ts +0 -80
- package/ts/loans/getsummarystaticfields.js +0 -700
- package/ts/loans/loansummary.d.ts +0 -66
- package/ts/loans/loansummary.js +0 -593
- package/ts/loans/paymentallocation.d.ts +0 -37
- package/ts/loans/paymentallocation.js +0 -147
- package/ts/loans/paymenthistory.d.ts +0 -47
- package/ts/loans/paymenthistory.js +0 -188
- package/ts/loans/restructureloan.d.ts +0 -36
- package/ts/loans/restructureloan.js +0 -133
- package/ts/loans/sendemail.d.ts +0 -35
- package/ts/loans/sendemail.js +0 -117
- package/ts/loans/sendnocemail.d.ts +0 -35
- package/ts/loans/sendnocemail.js +0 -117
- package/ts/loans/transactionlist.d.ts +0 -52
- package/ts/loans/transactionlist.js +0 -257
- package/ts/loans/updateinstallments.d.ts +0 -42
- package/ts/loans/updateinstallments.js +0 -226
- package/ts/loans/updateloan.d.ts +0 -39
- package/ts/loans/updateloan.js +0 -175
- package/ts/loans.d.ts +0 -266
- package/ts/loans.js +0 -194
- package/ts/payments.d.ts +0 -239
- package/ts/payments.js +0 -1117
- package/ts/stashcash/creditsc.d.ts +0 -54
- package/ts/stashcash/creditsc.js +0 -301
- package/ts/stashcash/debitsc.d.ts +0 -59
- package/ts/stashcash/debitsc.js +0 -380
- package/ts/stashcash/getscbalance.d.ts +0 -53
- package/ts/stashcash/getscbalance.js +0 -293
- package/ts/stashcash/getschistory.d.ts +0 -73
- package/ts/stashcash/getschistory.js +0 -479
- package/ts/stashcash/reversesc.d.ts +0 -52
- package/ts/stashcash/reversesc.js +0 -273
- package/ts/stashcash.d.ts +0 -84
- package/ts/stashcash.js +0 -64
|
@@ -1,134 +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.27.3
|
|
6
|
-
// source: customers/getdocuments.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.getDocumentsResponse = exports.getDocumentsRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getdocuments";
|
|
15
|
-
function createBasegetDocumentsRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.getDocumentsRequest = {
|
|
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 = createBasegetDocumentsRequest();
|
|
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.getDocumentsRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasegetDocumentsRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBasegetDocumentsResponse() {
|
|
53
|
-
return { aadhaar_url: "", address_proof_url: "", pan_url: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.getDocumentsResponse = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.aadhaar_url !== "") {
|
|
58
|
-
writer.uint32(10).string(message.aadhaar_url);
|
|
59
|
-
}
|
|
60
|
-
if (message.address_proof_url !== "") {
|
|
61
|
-
writer.uint32(18).string(message.address_proof_url);
|
|
62
|
-
}
|
|
63
|
-
if (message.pan_url !== "") {
|
|
64
|
-
writer.uint32(26).string(message.pan_url);
|
|
65
|
-
}
|
|
66
|
-
return writer;
|
|
67
|
-
},
|
|
68
|
-
decode(input, length) {
|
|
69
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
70
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
71
|
-
const message = createBasegetDocumentsResponse();
|
|
72
|
-
while (reader.pos < end) {
|
|
73
|
-
const tag = reader.uint32();
|
|
74
|
-
switch (tag >>> 3) {
|
|
75
|
-
case 1:
|
|
76
|
-
if (tag !== 10) {
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
message.aadhaar_url = reader.string();
|
|
80
|
-
continue;
|
|
81
|
-
case 2:
|
|
82
|
-
if (tag !== 18) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
message.address_proof_url = reader.string();
|
|
86
|
-
continue;
|
|
87
|
-
case 3:
|
|
88
|
-
if (tag !== 26) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
message.pan_url = reader.string();
|
|
92
|
-
continue;
|
|
93
|
-
}
|
|
94
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
reader.skipType(tag & 7);
|
|
98
|
-
}
|
|
99
|
-
return message;
|
|
100
|
-
},
|
|
101
|
-
fromJSON(object) {
|
|
102
|
-
return {
|
|
103
|
-
aadhaar_url: isSet(object.aadhaar_url) ? globalThis.String(object.aadhaar_url) : "",
|
|
104
|
-
address_proof_url: isSet(object.address_proof_url) ? globalThis.String(object.address_proof_url) : "",
|
|
105
|
-
pan_url: isSet(object.pan_url) ? globalThis.String(object.pan_url) : "",
|
|
106
|
-
};
|
|
107
|
-
},
|
|
108
|
-
toJSON(message) {
|
|
109
|
-
const obj = {};
|
|
110
|
-
if (message.aadhaar_url !== "") {
|
|
111
|
-
obj.aadhaar_url = message.aadhaar_url;
|
|
112
|
-
}
|
|
113
|
-
if (message.address_proof_url !== "") {
|
|
114
|
-
obj.address_proof_url = message.address_proof_url;
|
|
115
|
-
}
|
|
116
|
-
if (message.pan_url !== "") {
|
|
117
|
-
obj.pan_url = message.pan_url;
|
|
118
|
-
}
|
|
119
|
-
return obj;
|
|
120
|
-
},
|
|
121
|
-
create(base) {
|
|
122
|
-
return exports.getDocumentsResponse.fromPartial(base ?? {});
|
|
123
|
-
},
|
|
124
|
-
fromPartial(object) {
|
|
125
|
-
const message = createBasegetDocumentsResponse();
|
|
126
|
-
message.aadhaar_url = object.aadhaar_url ?? "";
|
|
127
|
-
message.address_proof_url = object.address_proof_url ?? "";
|
|
128
|
-
message.pan_url = object.pan_url ?? "";
|
|
129
|
-
return message;
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
function isSet(value) {
|
|
133
|
-
return value !== null && value !== undefined;
|
|
134
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getkycweburl";
|
|
3
|
-
export interface getKycWebUrlRequest {
|
|
4
|
-
}
|
|
5
|
-
export interface getKycWebUrlResponse {
|
|
6
|
-
web_url: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const getKycWebUrlRequest: {
|
|
9
|
-
encode(_: getKycWebUrlRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getKycWebUrlRequest;
|
|
11
|
-
fromJSON(_: any): getKycWebUrlRequest;
|
|
12
|
-
toJSON(_: getKycWebUrlRequest): unknown;
|
|
13
|
-
create<I extends Exact<DeepPartial<getKycWebUrlRequest>, I>>(base?: I): getKycWebUrlRequest;
|
|
14
|
-
fromPartial<I extends Exact<DeepPartial<getKycWebUrlRequest>, I>>(_: I): getKycWebUrlRequest;
|
|
15
|
-
};
|
|
16
|
-
export declare const getKycWebUrlResponse: {
|
|
17
|
-
encode(message: getKycWebUrlResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getKycWebUrlResponse;
|
|
19
|
-
fromJSON(object: any): getKycWebUrlResponse;
|
|
20
|
-
toJSON(message: getKycWebUrlResponse): unknown;
|
|
21
|
-
create<I extends Exact<DeepPartial<getKycWebUrlResponse>, I>>(base?: I): getKycWebUrlResponse;
|
|
22
|
-
fromPartial<I extends Exact<DeepPartial<getKycWebUrlResponse>, I>>(object: I): getKycWebUrlResponse;
|
|
23
|
-
};
|
|
24
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
25
|
-
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 {} ? {
|
|
26
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
27
|
-
} : Partial<T>;
|
|
28
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
29
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
30
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
31
|
-
} & {
|
|
32
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
33
|
-
};
|
|
34
|
-
export {};
|
|
@@ -1,104 +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.27.3
|
|
6
|
-
// source: customers/getkycweburl.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.getKycWebUrlResponse = exports.getKycWebUrlRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getkycweburl";
|
|
15
|
-
function createBasegetKycWebUrlRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.getKycWebUrlRequest = {
|
|
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 = createBasegetKycWebUrlRequest();
|
|
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.getKycWebUrlRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasegetKycWebUrlRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBasegetKycWebUrlResponse() {
|
|
53
|
-
return { web_url: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.getKycWebUrlResponse = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.web_url !== "") {
|
|
58
|
-
writer.uint32(10).string(message.web_url);
|
|
59
|
-
}
|
|
60
|
-
return writer;
|
|
61
|
-
},
|
|
62
|
-
decode(input, length) {
|
|
63
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
-
const message = createBasegetKycWebUrlResponse();
|
|
66
|
-
while (reader.pos < end) {
|
|
67
|
-
const tag = reader.uint32();
|
|
68
|
-
switch (tag >>> 3) {
|
|
69
|
-
case 1:
|
|
70
|
-
if (tag !== 10) {
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
message.web_url = reader.string();
|
|
74
|
-
continue;
|
|
75
|
-
}
|
|
76
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
reader.skipType(tag & 7);
|
|
80
|
-
}
|
|
81
|
-
return message;
|
|
82
|
-
},
|
|
83
|
-
fromJSON(object) {
|
|
84
|
-
return { web_url: isSet(object.web_url) ? globalThis.String(object.web_url) : "" };
|
|
85
|
-
},
|
|
86
|
-
toJSON(message) {
|
|
87
|
-
const obj = {};
|
|
88
|
-
if (message.web_url !== "") {
|
|
89
|
-
obj.web_url = message.web_url;
|
|
90
|
-
}
|
|
91
|
-
return obj;
|
|
92
|
-
},
|
|
93
|
-
create(base) {
|
|
94
|
-
return exports.getKycWebUrlResponse.fromPartial(base ?? {});
|
|
95
|
-
},
|
|
96
|
-
fromPartial(object) {
|
|
97
|
-
const message = createBasegetKycWebUrlResponse();
|
|
98
|
-
message.web_url = object.web_url ?? "";
|
|
99
|
-
return message;
|
|
100
|
-
},
|
|
101
|
-
};
|
|
102
|
-
function isSet(value) {
|
|
103
|
-
return value !== null && value !== undefined;
|
|
104
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getprofessionalinfo";
|
|
3
|
-
export interface getProfessionalInfoRequest {
|
|
4
|
-
}
|
|
5
|
-
export interface getProfessionalInfoResponse {
|
|
6
|
-
company_name: string;
|
|
7
|
-
designation: string;
|
|
8
|
-
official_email: string;
|
|
9
|
-
office_addr: Address | undefined;
|
|
10
|
-
}
|
|
11
|
-
export interface Address {
|
|
12
|
-
house_flat_no: string;
|
|
13
|
-
address_line_1: string;
|
|
14
|
-
address_line_2: string;
|
|
15
|
-
landmark: string;
|
|
16
|
-
city: string;
|
|
17
|
-
state: string;
|
|
18
|
-
pin_code: string;
|
|
19
|
-
}
|
|
20
|
-
export declare const getProfessionalInfoRequest: {
|
|
21
|
-
encode(_: getProfessionalInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getProfessionalInfoRequest;
|
|
23
|
-
fromJSON(_: any): getProfessionalInfoRequest;
|
|
24
|
-
toJSON(_: getProfessionalInfoRequest): unknown;
|
|
25
|
-
create<I extends Exact<DeepPartial<getProfessionalInfoRequest>, I>>(base?: I): getProfessionalInfoRequest;
|
|
26
|
-
fromPartial<I extends Exact<DeepPartial<getProfessionalInfoRequest>, I>>(_: I): getProfessionalInfoRequest;
|
|
27
|
-
};
|
|
28
|
-
export declare const getProfessionalInfoResponse: {
|
|
29
|
-
encode(message: getProfessionalInfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getProfessionalInfoResponse;
|
|
31
|
-
fromJSON(object: any): getProfessionalInfoResponse;
|
|
32
|
-
toJSON(message: getProfessionalInfoResponse): unknown;
|
|
33
|
-
create<I extends Exact<DeepPartial<getProfessionalInfoResponse>, I>>(base?: I): getProfessionalInfoResponse;
|
|
34
|
-
fromPartial<I extends Exact<DeepPartial<getProfessionalInfoResponse>, I>>(object: I): getProfessionalInfoResponse;
|
|
35
|
-
};
|
|
36
|
-
export declare const Address: {
|
|
37
|
-
encode(message: Address, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Address;
|
|
39
|
-
fromJSON(object: any): Address;
|
|
40
|
-
toJSON(message: Address): unknown;
|
|
41
|
-
create<I extends Exact<DeepPartial<Address>, I>>(base?: I): Address;
|
|
42
|
-
fromPartial<I extends Exact<DeepPartial<Address>, I>>(object: I): Address;
|
|
43
|
-
};
|
|
44
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
45
|
-
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 {} ? {
|
|
46
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
47
|
-
} : Partial<T>;
|
|
48
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
49
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
50
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
51
|
-
} & {
|
|
52
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
53
|
-
};
|
|
54
|
-
export {};
|
|
@@ -1,286 +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.27.3
|
|
6
|
-
// source: customers/getprofessionalinfo.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.Address = exports.getProfessionalInfoResponse = exports.getProfessionalInfoRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.getprofessionalinfo";
|
|
15
|
-
function createBasegetProfessionalInfoRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.getProfessionalInfoRequest = {
|
|
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 = createBasegetProfessionalInfoRequest();
|
|
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.getProfessionalInfoRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasegetProfessionalInfoRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBasegetProfessionalInfoResponse() {
|
|
53
|
-
return { company_name: "", designation: "", official_email: "", office_addr: undefined };
|
|
54
|
-
}
|
|
55
|
-
exports.getProfessionalInfoResponse = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.company_name !== "") {
|
|
58
|
-
writer.uint32(10).string(message.company_name);
|
|
59
|
-
}
|
|
60
|
-
if (message.designation !== "") {
|
|
61
|
-
writer.uint32(18).string(message.designation);
|
|
62
|
-
}
|
|
63
|
-
if (message.official_email !== "") {
|
|
64
|
-
writer.uint32(26).string(message.official_email);
|
|
65
|
-
}
|
|
66
|
-
if (message.office_addr !== undefined) {
|
|
67
|
-
exports.Address.encode(message.office_addr, writer.uint32(34).fork()).ldelim();
|
|
68
|
-
}
|
|
69
|
-
return writer;
|
|
70
|
-
},
|
|
71
|
-
decode(input, length) {
|
|
72
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
73
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
74
|
-
const message = createBasegetProfessionalInfoResponse();
|
|
75
|
-
while (reader.pos < end) {
|
|
76
|
-
const tag = reader.uint32();
|
|
77
|
-
switch (tag >>> 3) {
|
|
78
|
-
case 1:
|
|
79
|
-
if (tag !== 10) {
|
|
80
|
-
break;
|
|
81
|
-
}
|
|
82
|
-
message.company_name = reader.string();
|
|
83
|
-
continue;
|
|
84
|
-
case 2:
|
|
85
|
-
if (tag !== 18) {
|
|
86
|
-
break;
|
|
87
|
-
}
|
|
88
|
-
message.designation = reader.string();
|
|
89
|
-
continue;
|
|
90
|
-
case 3:
|
|
91
|
-
if (tag !== 26) {
|
|
92
|
-
break;
|
|
93
|
-
}
|
|
94
|
-
message.official_email = reader.string();
|
|
95
|
-
continue;
|
|
96
|
-
case 4:
|
|
97
|
-
if (tag !== 34) {
|
|
98
|
-
break;
|
|
99
|
-
}
|
|
100
|
-
message.office_addr = exports.Address.decode(reader, reader.uint32());
|
|
101
|
-
continue;
|
|
102
|
-
}
|
|
103
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
106
|
-
reader.skipType(tag & 7);
|
|
107
|
-
}
|
|
108
|
-
return message;
|
|
109
|
-
},
|
|
110
|
-
fromJSON(object) {
|
|
111
|
-
return {
|
|
112
|
-
company_name: isSet(object.company_name) ? globalThis.String(object.company_name) : "",
|
|
113
|
-
designation: isSet(object.designation) ? globalThis.String(object.designation) : "",
|
|
114
|
-
official_email: isSet(object.official_email) ? globalThis.String(object.official_email) : "",
|
|
115
|
-
office_addr: isSet(object.office_addr) ? exports.Address.fromJSON(object.office_addr) : undefined,
|
|
116
|
-
};
|
|
117
|
-
},
|
|
118
|
-
toJSON(message) {
|
|
119
|
-
const obj = {};
|
|
120
|
-
if (message.company_name !== "") {
|
|
121
|
-
obj.company_name = message.company_name;
|
|
122
|
-
}
|
|
123
|
-
if (message.designation !== "") {
|
|
124
|
-
obj.designation = message.designation;
|
|
125
|
-
}
|
|
126
|
-
if (message.official_email !== "") {
|
|
127
|
-
obj.official_email = message.official_email;
|
|
128
|
-
}
|
|
129
|
-
if (message.office_addr !== undefined) {
|
|
130
|
-
obj.office_addr = exports.Address.toJSON(message.office_addr);
|
|
131
|
-
}
|
|
132
|
-
return obj;
|
|
133
|
-
},
|
|
134
|
-
create(base) {
|
|
135
|
-
return exports.getProfessionalInfoResponse.fromPartial(base ?? {});
|
|
136
|
-
},
|
|
137
|
-
fromPartial(object) {
|
|
138
|
-
const message = createBasegetProfessionalInfoResponse();
|
|
139
|
-
message.company_name = object.company_name ?? "";
|
|
140
|
-
message.designation = object.designation ?? "";
|
|
141
|
-
message.official_email = object.official_email ?? "";
|
|
142
|
-
message.office_addr = (object.office_addr !== undefined && object.office_addr !== null)
|
|
143
|
-
? exports.Address.fromPartial(object.office_addr)
|
|
144
|
-
: undefined;
|
|
145
|
-
return message;
|
|
146
|
-
},
|
|
147
|
-
};
|
|
148
|
-
function createBaseAddress() {
|
|
149
|
-
return { house_flat_no: "", address_line_1: "", address_line_2: "", landmark: "", city: "", state: "", pin_code: "" };
|
|
150
|
-
}
|
|
151
|
-
exports.Address = {
|
|
152
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
153
|
-
if (message.house_flat_no !== "") {
|
|
154
|
-
writer.uint32(10).string(message.house_flat_no);
|
|
155
|
-
}
|
|
156
|
-
if (message.address_line_1 !== "") {
|
|
157
|
-
writer.uint32(18).string(message.address_line_1);
|
|
158
|
-
}
|
|
159
|
-
if (message.address_line_2 !== "") {
|
|
160
|
-
writer.uint32(26).string(message.address_line_2);
|
|
161
|
-
}
|
|
162
|
-
if (message.landmark !== "") {
|
|
163
|
-
writer.uint32(34).string(message.landmark);
|
|
164
|
-
}
|
|
165
|
-
if (message.city !== "") {
|
|
166
|
-
writer.uint32(42).string(message.city);
|
|
167
|
-
}
|
|
168
|
-
if (message.state !== "") {
|
|
169
|
-
writer.uint32(50).string(message.state);
|
|
170
|
-
}
|
|
171
|
-
if (message.pin_code !== "") {
|
|
172
|
-
writer.uint32(58).string(message.pin_code);
|
|
173
|
-
}
|
|
174
|
-
return writer;
|
|
175
|
-
},
|
|
176
|
-
decode(input, length) {
|
|
177
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
178
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
179
|
-
const message = createBaseAddress();
|
|
180
|
-
while (reader.pos < end) {
|
|
181
|
-
const tag = reader.uint32();
|
|
182
|
-
switch (tag >>> 3) {
|
|
183
|
-
case 1:
|
|
184
|
-
if (tag !== 10) {
|
|
185
|
-
break;
|
|
186
|
-
}
|
|
187
|
-
message.house_flat_no = reader.string();
|
|
188
|
-
continue;
|
|
189
|
-
case 2:
|
|
190
|
-
if (tag !== 18) {
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
message.address_line_1 = reader.string();
|
|
194
|
-
continue;
|
|
195
|
-
case 3:
|
|
196
|
-
if (tag !== 26) {
|
|
197
|
-
break;
|
|
198
|
-
}
|
|
199
|
-
message.address_line_2 = reader.string();
|
|
200
|
-
continue;
|
|
201
|
-
case 4:
|
|
202
|
-
if (tag !== 34) {
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
message.landmark = reader.string();
|
|
206
|
-
continue;
|
|
207
|
-
case 5:
|
|
208
|
-
if (tag !== 42) {
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
message.city = reader.string();
|
|
212
|
-
continue;
|
|
213
|
-
case 6:
|
|
214
|
-
if (tag !== 50) {
|
|
215
|
-
break;
|
|
216
|
-
}
|
|
217
|
-
message.state = reader.string();
|
|
218
|
-
continue;
|
|
219
|
-
case 7:
|
|
220
|
-
if (tag !== 58) {
|
|
221
|
-
break;
|
|
222
|
-
}
|
|
223
|
-
message.pin_code = reader.string();
|
|
224
|
-
continue;
|
|
225
|
-
}
|
|
226
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
227
|
-
break;
|
|
228
|
-
}
|
|
229
|
-
reader.skipType(tag & 7);
|
|
230
|
-
}
|
|
231
|
-
return message;
|
|
232
|
-
},
|
|
233
|
-
fromJSON(object) {
|
|
234
|
-
return {
|
|
235
|
-
house_flat_no: isSet(object.house_flat_no) ? globalThis.String(object.house_flat_no) : "",
|
|
236
|
-
address_line_1: isSet(object.address_line_1) ? globalThis.String(object.address_line_1) : "",
|
|
237
|
-
address_line_2: isSet(object.address_line_2) ? globalThis.String(object.address_line_2) : "",
|
|
238
|
-
landmark: isSet(object.landmark) ? globalThis.String(object.landmark) : "",
|
|
239
|
-
city: isSet(object.city) ? globalThis.String(object.city) : "",
|
|
240
|
-
state: isSet(object.state) ? globalThis.String(object.state) : "",
|
|
241
|
-
pin_code: isSet(object.pin_code) ? globalThis.String(object.pin_code) : "",
|
|
242
|
-
};
|
|
243
|
-
},
|
|
244
|
-
toJSON(message) {
|
|
245
|
-
const obj = {};
|
|
246
|
-
if (message.house_flat_no !== "") {
|
|
247
|
-
obj.house_flat_no = message.house_flat_no;
|
|
248
|
-
}
|
|
249
|
-
if (message.address_line_1 !== "") {
|
|
250
|
-
obj.address_line_1 = message.address_line_1;
|
|
251
|
-
}
|
|
252
|
-
if (message.address_line_2 !== "") {
|
|
253
|
-
obj.address_line_2 = message.address_line_2;
|
|
254
|
-
}
|
|
255
|
-
if (message.landmark !== "") {
|
|
256
|
-
obj.landmark = message.landmark;
|
|
257
|
-
}
|
|
258
|
-
if (message.city !== "") {
|
|
259
|
-
obj.city = message.city;
|
|
260
|
-
}
|
|
261
|
-
if (message.state !== "") {
|
|
262
|
-
obj.state = message.state;
|
|
263
|
-
}
|
|
264
|
-
if (message.pin_code !== "") {
|
|
265
|
-
obj.pin_code = message.pin_code;
|
|
266
|
-
}
|
|
267
|
-
return obj;
|
|
268
|
-
},
|
|
269
|
-
create(base) {
|
|
270
|
-
return exports.Address.fromPartial(base ?? {});
|
|
271
|
-
},
|
|
272
|
-
fromPartial(object) {
|
|
273
|
-
const message = createBaseAddress();
|
|
274
|
-
message.house_flat_no = object.house_flat_no ?? "";
|
|
275
|
-
message.address_line_1 = object.address_line_1 ?? "";
|
|
276
|
-
message.address_line_2 = object.address_line_2 ?? "";
|
|
277
|
-
message.landmark = object.landmark ?? "";
|
|
278
|
-
message.city = object.city ?? "";
|
|
279
|
-
message.state = object.state ?? "";
|
|
280
|
-
message.pin_code = object.pin_code ?? "";
|
|
281
|
-
return message;
|
|
282
|
-
},
|
|
283
|
-
};
|
|
284
|
-
function isSet(value) {
|
|
285
|
-
return value !== null && value !== undefined;
|
|
286
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getprofile";
|
|
3
|
-
export interface getCustomerProfileRequest {
|
|
4
|
-
}
|
|
5
|
-
export interface getCustomerProfileResponse {
|
|
6
|
-
first_name: string;
|
|
7
|
-
middle_name: string;
|
|
8
|
-
last_name: string;
|
|
9
|
-
profile_image: string;
|
|
10
|
-
email: string;
|
|
11
|
-
profile_completion_status: number;
|
|
12
|
-
details: ProfileDetail[];
|
|
13
|
-
}
|
|
14
|
-
export interface ProfileDetail {
|
|
15
|
-
title: string;
|
|
16
|
-
status: boolean;
|
|
17
|
-
redirect_url: string;
|
|
18
|
-
action_type: string;
|
|
19
|
-
}
|
|
20
|
-
export declare const getCustomerProfileRequest: {
|
|
21
|
-
encode(_: getCustomerProfileRequest, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerProfileRequest;
|
|
23
|
-
fromJSON(_: any): getCustomerProfileRequest;
|
|
24
|
-
toJSON(_: getCustomerProfileRequest): unknown;
|
|
25
|
-
create<I extends Exact<DeepPartial<getCustomerProfileRequest>, I>>(base?: I): getCustomerProfileRequest;
|
|
26
|
-
fromPartial<I extends Exact<DeepPartial<getCustomerProfileRequest>, I>>(_: I): getCustomerProfileRequest;
|
|
27
|
-
};
|
|
28
|
-
export declare const getCustomerProfileResponse: {
|
|
29
|
-
encode(message: getCustomerProfileResponse, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerProfileResponse;
|
|
31
|
-
fromJSON(object: any): getCustomerProfileResponse;
|
|
32
|
-
toJSON(message: getCustomerProfileResponse): unknown;
|
|
33
|
-
create<I extends Exact<DeepPartial<getCustomerProfileResponse>, I>>(base?: I): getCustomerProfileResponse;
|
|
34
|
-
fromPartial<I extends Exact<DeepPartial<getCustomerProfileResponse>, I>>(object: I): getCustomerProfileResponse;
|
|
35
|
-
};
|
|
36
|
-
export declare const ProfileDetail: {
|
|
37
|
-
encode(message: ProfileDetail, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ProfileDetail;
|
|
39
|
-
fromJSON(object: any): ProfileDetail;
|
|
40
|
-
toJSON(message: ProfileDetail): unknown;
|
|
41
|
-
create<I extends Exact<DeepPartial<ProfileDetail>, I>>(base?: I): ProfileDetail;
|
|
42
|
-
fromPartial<I extends Exact<DeepPartial<ProfileDetail>, I>>(object: I): ProfileDetail;
|
|
43
|
-
};
|
|
44
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
45
|
-
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 {} ? {
|
|
46
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
47
|
-
} : Partial<T>;
|
|
48
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
49
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
50
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
51
|
-
} & {
|
|
52
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
53
|
-
};
|
|
54
|
-
export {};
|