@stashfin/grpc 1.2.169 → 1.2.171
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/addfathersname.d.ts +35 -0
- package/ts/customers/addfathersname.js +117 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +47 -0
- package/ts/customers/addmoredetails.js +185 -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/bulksms.d.ts +48 -0
- package/ts/customers/bulksms.js +201 -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 +37 -0
- package/ts/customers/getbankaccountdetails.js +148 -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/getcompanyaccdetails.d.ts +37 -0
- package/ts/customers/getcompanyaccdetails.js +148 -0
- package/ts/customers/getcustomerbyid.d.ts +142 -0
- package/ts/customers/getcustomerbyid.js +1521 -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 +46 -0
- package/ts/customers/getdocuments.js +174 -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/logout.d.ts +34 -0
- package/ts/customers/logout.js +104 -0
- package/ts/customers/profilebasic.d.ts +40 -0
- package/ts/customers/profilebasic.js +189 -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/skipscreen.d.ts +44 -0
- package/ts/customers/skipscreen.js +162 -0
- package/ts/customers/updatecustomerbyid.d.ts +48 -0
- package/ts/customers/updatecustomerbyid.js +201 -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/uploaddocuments.d.ts +37 -0
- package/ts/customers/uploaddocuments.js +172 -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 +796 -0
- package/ts/customers.js +572 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/growth/processchrpayment.d.ts +40 -0
- package/ts/growth/processchrpayment.js +205 -0
- package/ts/growth.d.ts +28 -0
- package/ts/growth.js +24 -0
- package/ts/loans/approveloan.d.ts +81 -0
- package/ts/loans/approveloan.js +703 -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/getnextdueamount.d.ts +34 -0
- package/ts/loans/getnextdueamount.js +104 -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 +38 -0
- package/ts/loans/paymentallocation.js +161 -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 +37 -0
- package/ts/loans/updateloan.js +147 -0
- package/ts/loans.d.ts +294 -0
- package/ts/loans.js +214 -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,210 @@
|
|
|
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.4
|
|
6
|
+
// source: customers/adduserapps.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.UserAppsServiceClient = exports.UserAppsServiceService = exports.AddUserAppsResponse = exports.AddUserAppsRequest = exports.UserApp = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const grpc_js_1 = require("@grpc/grpc-js");
|
|
14
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
+
exports.protobufPackage = "customers.adduserapps";
|
|
16
|
+
function createBaseUserApp() {
|
|
17
|
+
return { app_name: "", app_id: "", app_category: "" };
|
|
18
|
+
}
|
|
19
|
+
exports.UserApp = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.app_name !== "") {
|
|
22
|
+
writer.uint32(10).string(message.app_name);
|
|
23
|
+
}
|
|
24
|
+
if (message.app_id !== "") {
|
|
25
|
+
writer.uint32(18).string(message.app_id);
|
|
26
|
+
}
|
|
27
|
+
if (message.app_category !== "") {
|
|
28
|
+
writer.uint32(26).string(message.app_category);
|
|
29
|
+
}
|
|
30
|
+
return writer;
|
|
31
|
+
},
|
|
32
|
+
decode(input, length) {
|
|
33
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
34
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
35
|
+
const message = createBaseUserApp();
|
|
36
|
+
while (reader.pos < end) {
|
|
37
|
+
const tag = reader.uint32();
|
|
38
|
+
switch (tag >>> 3) {
|
|
39
|
+
case 1:
|
|
40
|
+
if (tag !== 10) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
message.app_name = reader.string();
|
|
44
|
+
continue;
|
|
45
|
+
case 2:
|
|
46
|
+
if (tag !== 18) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
message.app_id = reader.string();
|
|
50
|
+
continue;
|
|
51
|
+
case 3:
|
|
52
|
+
if (tag !== 26) {
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
message.app_category = reader.string();
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
reader.skipType(tag & 7);
|
|
62
|
+
}
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
fromJSON(object) {
|
|
66
|
+
return {
|
|
67
|
+
app_name: isSet(object.app_name) ? globalThis.String(object.app_name) : "",
|
|
68
|
+
app_id: isSet(object.app_id) ? globalThis.String(object.app_id) : "",
|
|
69
|
+
app_category: isSet(object.app_category) ? globalThis.String(object.app_category) : "",
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
toJSON(message) {
|
|
73
|
+
const obj = {};
|
|
74
|
+
if (message.app_name !== "") {
|
|
75
|
+
obj.app_name = message.app_name;
|
|
76
|
+
}
|
|
77
|
+
if (message.app_id !== "") {
|
|
78
|
+
obj.app_id = message.app_id;
|
|
79
|
+
}
|
|
80
|
+
if (message.app_category !== "") {
|
|
81
|
+
obj.app_category = message.app_category;
|
|
82
|
+
}
|
|
83
|
+
return obj;
|
|
84
|
+
},
|
|
85
|
+
create(base) {
|
|
86
|
+
return exports.UserApp.fromPartial(base ?? {});
|
|
87
|
+
},
|
|
88
|
+
fromPartial(object) {
|
|
89
|
+
const message = createBaseUserApp();
|
|
90
|
+
message.app_name = object.app_name ?? "";
|
|
91
|
+
message.app_id = object.app_id ?? "";
|
|
92
|
+
message.app_category = object.app_category ?? "";
|
|
93
|
+
return message;
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
function createBaseAddUserAppsRequest() {
|
|
97
|
+
return { apps: [] };
|
|
98
|
+
}
|
|
99
|
+
exports.AddUserAppsRequest = {
|
|
100
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
101
|
+
for (const v of message.apps) {
|
|
102
|
+
exports.UserApp.encode(v, writer.uint32(10).fork()).ldelim();
|
|
103
|
+
}
|
|
104
|
+
return writer;
|
|
105
|
+
},
|
|
106
|
+
decode(input, length) {
|
|
107
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
108
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
109
|
+
const message = createBaseAddUserAppsRequest();
|
|
110
|
+
while (reader.pos < end) {
|
|
111
|
+
const tag = reader.uint32();
|
|
112
|
+
switch (tag >>> 3) {
|
|
113
|
+
case 1:
|
|
114
|
+
if (tag !== 10) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
message.apps.push(exports.UserApp.decode(reader, reader.uint32()));
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
reader.skipType(tag & 7);
|
|
124
|
+
}
|
|
125
|
+
return message;
|
|
126
|
+
},
|
|
127
|
+
fromJSON(object) {
|
|
128
|
+
return { apps: globalThis.Array.isArray(object?.apps) ? object.apps.map((e) => exports.UserApp.fromJSON(e)) : [] };
|
|
129
|
+
},
|
|
130
|
+
toJSON(message) {
|
|
131
|
+
const obj = {};
|
|
132
|
+
if (message.apps?.length) {
|
|
133
|
+
obj.apps = message.apps.map((e) => exports.UserApp.toJSON(e));
|
|
134
|
+
}
|
|
135
|
+
return obj;
|
|
136
|
+
},
|
|
137
|
+
create(base) {
|
|
138
|
+
return exports.AddUserAppsRequest.fromPartial(base ?? {});
|
|
139
|
+
},
|
|
140
|
+
fromPartial(object) {
|
|
141
|
+
const message = createBaseAddUserAppsRequest();
|
|
142
|
+
message.apps = object.apps?.map((e) => exports.UserApp.fromPartial(e)) || [];
|
|
143
|
+
return message;
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
function createBaseAddUserAppsResponse() {
|
|
147
|
+
return { status: false };
|
|
148
|
+
}
|
|
149
|
+
exports.AddUserAppsResponse = {
|
|
150
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
151
|
+
if (message.status !== false) {
|
|
152
|
+
writer.uint32(8).bool(message.status);
|
|
153
|
+
}
|
|
154
|
+
return writer;
|
|
155
|
+
},
|
|
156
|
+
decode(input, length) {
|
|
157
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
158
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
159
|
+
const message = createBaseAddUserAppsResponse();
|
|
160
|
+
while (reader.pos < end) {
|
|
161
|
+
const tag = reader.uint32();
|
|
162
|
+
switch (tag >>> 3) {
|
|
163
|
+
case 1:
|
|
164
|
+
if (tag !== 8) {
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
message.status = reader.bool();
|
|
168
|
+
continue;
|
|
169
|
+
}
|
|
170
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
reader.skipType(tag & 7);
|
|
174
|
+
}
|
|
175
|
+
return message;
|
|
176
|
+
},
|
|
177
|
+
fromJSON(object) {
|
|
178
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
179
|
+
},
|
|
180
|
+
toJSON(message) {
|
|
181
|
+
const obj = {};
|
|
182
|
+
if (message.status !== false) {
|
|
183
|
+
obj.status = message.status;
|
|
184
|
+
}
|
|
185
|
+
return obj;
|
|
186
|
+
},
|
|
187
|
+
create(base) {
|
|
188
|
+
return exports.AddUserAppsResponse.fromPartial(base ?? {});
|
|
189
|
+
},
|
|
190
|
+
fromPartial(object) {
|
|
191
|
+
const message = createBaseAddUserAppsResponse();
|
|
192
|
+
message.status = object.status ?? false;
|
|
193
|
+
return message;
|
|
194
|
+
},
|
|
195
|
+
};
|
|
196
|
+
exports.UserAppsServiceService = {
|
|
197
|
+
addUserApps: {
|
|
198
|
+
path: "/customers.adduserapps.UserAppsService/AddUserApps",
|
|
199
|
+
requestStream: false,
|
|
200
|
+
responseStream: false,
|
|
201
|
+
requestSerialize: (value) => Buffer.from(exports.AddUserAppsRequest.encode(value).finish()),
|
|
202
|
+
requestDeserialize: (value) => exports.AddUserAppsRequest.decode(value),
|
|
203
|
+
responseSerialize: (value) => Buffer.from(exports.AddUserAppsResponse.encode(value).finish()),
|
|
204
|
+
responseDeserialize: (value) => exports.AddUserAppsResponse.decode(value),
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
exports.UserAppsServiceClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.UserAppsServiceService, "customers.adduserapps.UserAppsService");
|
|
208
|
+
function isSet(value) {
|
|
209
|
+
return value !== null && value !== undefined;
|
|
210
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.bulksms";
|
|
3
|
+
export interface SMSRecord {
|
|
4
|
+
contact: string;
|
|
5
|
+
message: string;
|
|
6
|
+
received_at: string;
|
|
7
|
+
}
|
|
8
|
+
export interface bulkSMSRequest {
|
|
9
|
+
sms_records: SMSRecord[];
|
|
10
|
+
}
|
|
11
|
+
export interface bulkSMSResponse {
|
|
12
|
+
status: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const SMSRecord: {
|
|
15
|
+
encode(message: SMSRecord, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SMSRecord;
|
|
17
|
+
fromJSON(object: any): SMSRecord;
|
|
18
|
+
toJSON(message: SMSRecord): unknown;
|
|
19
|
+
create<I extends Exact<DeepPartial<SMSRecord>, I>>(base?: I): SMSRecord;
|
|
20
|
+
fromPartial<I extends Exact<DeepPartial<SMSRecord>, I>>(object: I): SMSRecord;
|
|
21
|
+
};
|
|
22
|
+
export declare const bulkSMSRequest: {
|
|
23
|
+
encode(message: bulkSMSRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): bulkSMSRequest;
|
|
25
|
+
fromJSON(object: any): bulkSMSRequest;
|
|
26
|
+
toJSON(message: bulkSMSRequest): unknown;
|
|
27
|
+
create<I extends Exact<DeepPartial<bulkSMSRequest>, I>>(base?: I): bulkSMSRequest;
|
|
28
|
+
fromPartial<I extends Exact<DeepPartial<bulkSMSRequest>, I>>(object: I): bulkSMSRequest;
|
|
29
|
+
};
|
|
30
|
+
export declare const bulkSMSResponse: {
|
|
31
|
+
encode(message: bulkSMSResponse, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): bulkSMSResponse;
|
|
33
|
+
fromJSON(object: any): bulkSMSResponse;
|
|
34
|
+
toJSON(message: bulkSMSResponse): unknown;
|
|
35
|
+
create<I extends Exact<DeepPartial<bulkSMSResponse>, I>>(base?: I): bulkSMSResponse;
|
|
36
|
+
fromPartial<I extends Exact<DeepPartial<bulkSMSResponse>, I>>(object: I): bulkSMSResponse;
|
|
37
|
+
};
|
|
38
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
39
|
+
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 {} ? {
|
|
40
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
41
|
+
} : Partial<T>;
|
|
42
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
43
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
44
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
45
|
+
} & {
|
|
46
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,201 @@
|
|
|
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.4
|
|
6
|
+
// source: customers/bulksms.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.bulkSMSResponse = exports.bulkSMSRequest = exports.SMSRecord = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.bulksms";
|
|
15
|
+
function createBaseSMSRecord() {
|
|
16
|
+
return { contact: "", message: "", received_at: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.SMSRecord = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.contact !== "") {
|
|
21
|
+
writer.uint32(10).string(message.contact);
|
|
22
|
+
}
|
|
23
|
+
if (message.message !== "") {
|
|
24
|
+
writer.uint32(18).string(message.message);
|
|
25
|
+
}
|
|
26
|
+
if (message.received_at !== "") {
|
|
27
|
+
writer.uint32(26).string(message.received_at);
|
|
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 = createBaseSMSRecord();
|
|
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.contact = reader.string();
|
|
43
|
+
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.message = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.received_at = 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
|
+
contact: isSet(object.contact) ? globalThis.String(object.contact) : "",
|
|
67
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
68
|
+
received_at: isSet(object.received_at) ? globalThis.String(object.received_at) : "",
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
toJSON(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
if (message.contact !== "") {
|
|
74
|
+
obj.contact = message.contact;
|
|
75
|
+
}
|
|
76
|
+
if (message.message !== "") {
|
|
77
|
+
obj.message = message.message;
|
|
78
|
+
}
|
|
79
|
+
if (message.received_at !== "") {
|
|
80
|
+
obj.received_at = message.received_at;
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
},
|
|
84
|
+
create(base) {
|
|
85
|
+
return exports.SMSRecord.fromPartial(base ?? {});
|
|
86
|
+
},
|
|
87
|
+
fromPartial(object) {
|
|
88
|
+
const message = createBaseSMSRecord();
|
|
89
|
+
message.contact = object.contact ?? "";
|
|
90
|
+
message.message = object.message ?? "";
|
|
91
|
+
message.received_at = object.received_at ?? "";
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
function createBasebulkSMSRequest() {
|
|
96
|
+
return { sms_records: [] };
|
|
97
|
+
}
|
|
98
|
+
exports.bulkSMSRequest = {
|
|
99
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
100
|
+
for (const v of message.sms_records) {
|
|
101
|
+
exports.SMSRecord.encode(v, writer.uint32(10).fork()).ldelim();
|
|
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 = createBasebulkSMSRequest();
|
|
109
|
+
while (reader.pos < end) {
|
|
110
|
+
const tag = reader.uint32();
|
|
111
|
+
switch (tag >>> 3) {
|
|
112
|
+
case 1:
|
|
113
|
+
if (tag !== 10) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
message.sms_records.push(exports.SMSRecord.decode(reader, reader.uint32()));
|
|
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 {
|
|
128
|
+
sms_records: globalThis.Array.isArray(object?.sms_records)
|
|
129
|
+
? object.sms_records.map((e) => exports.SMSRecord.fromJSON(e))
|
|
130
|
+
: [],
|
|
131
|
+
};
|
|
132
|
+
},
|
|
133
|
+
toJSON(message) {
|
|
134
|
+
const obj = {};
|
|
135
|
+
if (message.sms_records?.length) {
|
|
136
|
+
obj.sms_records = message.sms_records.map((e) => exports.SMSRecord.toJSON(e));
|
|
137
|
+
}
|
|
138
|
+
return obj;
|
|
139
|
+
},
|
|
140
|
+
create(base) {
|
|
141
|
+
return exports.bulkSMSRequest.fromPartial(base ?? {});
|
|
142
|
+
},
|
|
143
|
+
fromPartial(object) {
|
|
144
|
+
const message = createBasebulkSMSRequest();
|
|
145
|
+
message.sms_records = object.sms_records?.map((e) => exports.SMSRecord.fromPartial(e)) || [];
|
|
146
|
+
return message;
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
function createBasebulkSMSResponse() {
|
|
150
|
+
return { status: "" };
|
|
151
|
+
}
|
|
152
|
+
exports.bulkSMSResponse = {
|
|
153
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
154
|
+
if (message.status !== "") {
|
|
155
|
+
writer.uint32(10).string(message.status);
|
|
156
|
+
}
|
|
157
|
+
return writer;
|
|
158
|
+
},
|
|
159
|
+
decode(input, length) {
|
|
160
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
161
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
162
|
+
const message = createBasebulkSMSResponse();
|
|
163
|
+
while (reader.pos < end) {
|
|
164
|
+
const tag = reader.uint32();
|
|
165
|
+
switch (tag >>> 3) {
|
|
166
|
+
case 1:
|
|
167
|
+
if (tag !== 10) {
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
message.status = reader.string();
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
reader.skipType(tag & 7);
|
|
177
|
+
}
|
|
178
|
+
return message;
|
|
179
|
+
},
|
|
180
|
+
fromJSON(object) {
|
|
181
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
182
|
+
},
|
|
183
|
+
toJSON(message) {
|
|
184
|
+
const obj = {};
|
|
185
|
+
if (message.status !== "") {
|
|
186
|
+
obj.status = message.status;
|
|
187
|
+
}
|
|
188
|
+
return obj;
|
|
189
|
+
},
|
|
190
|
+
create(base) {
|
|
191
|
+
return exports.bulkSMSResponse.fromPartial(base ?? {});
|
|
192
|
+
},
|
|
193
|
+
fromPartial(object) {
|
|
194
|
+
const message = createBasebulkSMSResponse();
|
|
195
|
+
message.status = object.status ?? "";
|
|
196
|
+
return message;
|
|
197
|
+
},
|
|
198
|
+
};
|
|
199
|
+
function isSet(value) {
|
|
200
|
+
return value !== null && value !== undefined;
|
|
201
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.changempin";
|
|
3
|
+
export interface changeMpinRequest {
|
|
4
|
+
old_mpin: number;
|
|
5
|
+
new_mpin: number;
|
|
6
|
+
}
|
|
7
|
+
export interface changeMpinResponse {
|
|
8
|
+
status: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const changeMpinRequest: {
|
|
11
|
+
encode(message: changeMpinRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): changeMpinRequest;
|
|
13
|
+
fromJSON(object: any): changeMpinRequest;
|
|
14
|
+
toJSON(message: changeMpinRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<changeMpinRequest>, I>>(base?: I): changeMpinRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<changeMpinRequest>, I>>(object: I): changeMpinRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const changeMpinResponse: {
|
|
19
|
+
encode(message: changeMpinResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): changeMpinResponse;
|
|
21
|
+
fromJSON(object: any): changeMpinResponse;
|
|
22
|
+
toJSON(message: changeMpinResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<changeMpinResponse>, I>>(base?: I): changeMpinResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<changeMpinResponse>, I>>(object: I): changeMpinResponse;
|
|
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.4
|
|
6
|
+
// source: customers/changempin.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.changeMpinResponse = exports.changeMpinRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.changempin";
|
|
15
|
+
function createBasechangeMpinRequest() {
|
|
16
|
+
return { old_mpin: 0, new_mpin: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.changeMpinRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.old_mpin !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.old_mpin);
|
|
22
|
+
}
|
|
23
|
+
if (message.new_mpin !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.new_mpin);
|
|
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 = createBasechangeMpinRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 8) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.old_mpin = reader.int32();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 16) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.new_mpin = reader.int32();
|
|
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
|
+
old_mpin: isSet(object.old_mpin) ? globalThis.Number(object.old_mpin) : 0,
|
|
58
|
+
new_mpin: isSet(object.new_mpin) ? globalThis.Number(object.new_mpin) : 0,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.old_mpin !== 0) {
|
|
64
|
+
obj.old_mpin = Math.round(message.old_mpin);
|
|
65
|
+
}
|
|
66
|
+
if (message.new_mpin !== 0) {
|
|
67
|
+
obj.new_mpin = Math.round(message.new_mpin);
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.changeMpinRequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBasechangeMpinRequest();
|
|
76
|
+
message.old_mpin = object.old_mpin ?? 0;
|
|
77
|
+
message.new_mpin = object.new_mpin ?? 0;
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBasechangeMpinResponse() {
|
|
82
|
+
return { status: "" };
|
|
83
|
+
}
|
|
84
|
+
exports.changeMpinResponse = {
|
|
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 = createBasechangeMpinResponse();
|
|
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.changeMpinResponse.fromPartial(base ?? {});
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBasechangeMpinResponse();
|
|
127
|
+
message.status = object.status ?? "";
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function isSet(value) {
|
|
132
|
+
return value !== null && value !== undefined;
|
|
133
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.createcustomerreference";
|
|
3
|
+
export interface createCustomerReferenceRequest {
|
|
4
|
+
reference_name: string;
|
|
5
|
+
relationship: string;
|
|
6
|
+
mobile_number: string;
|
|
7
|
+
/** optional */
|
|
8
|
+
email: string;
|
|
9
|
+
address: string;
|
|
10
|
+
pincode: string;
|
|
11
|
+
state_id: number;
|
|
12
|
+
city_id: number;
|
|
13
|
+
}
|
|
14
|
+
export interface createCustomerReferenceResponse {
|
|
15
|
+
reference_id: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const createCustomerReferenceRequest: {
|
|
18
|
+
encode(message: createCustomerReferenceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): createCustomerReferenceRequest;
|
|
20
|
+
fromJSON(object: any): createCustomerReferenceRequest;
|
|
21
|
+
toJSON(message: createCustomerReferenceRequest): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<createCustomerReferenceRequest>, I>>(base?: I): createCustomerReferenceRequest;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<createCustomerReferenceRequest>, I>>(object: I): createCustomerReferenceRequest;
|
|
24
|
+
};
|
|
25
|
+
export declare const createCustomerReferenceResponse: {
|
|
26
|
+
encode(message: createCustomerReferenceResponse, writer?: _m0.Writer): _m0.Writer;
|
|
27
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): createCustomerReferenceResponse;
|
|
28
|
+
fromJSON(object: any): createCustomerReferenceResponse;
|
|
29
|
+
toJSON(message: createCustomerReferenceResponse): unknown;
|
|
30
|
+
create<I extends Exact<DeepPartial<createCustomerReferenceResponse>, I>>(base?: I): createCustomerReferenceResponse;
|
|
31
|
+
fromPartial<I extends Exact<DeepPartial<createCustomerReferenceResponse>, I>>(object: I): createCustomerReferenceResponse;
|
|
32
|
+
};
|
|
33
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
34
|
+
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 {} ? {
|
|
35
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
36
|
+
} : Partial<T>;
|
|
37
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
38
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
39
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
40
|
+
} & {
|
|
41
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
42
|
+
};
|
|
43
|
+
export {};
|