@stashfin/grpc 1.2.284 → 1.2.286
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/customers/getcustomerbyid.d.ts +2 -0
- package/ts/customers/getcustomerbyid.js +30 -0
- package/ts/customers/saveappslist.d.ts +48 -0
- package/ts/customers/saveappslist.js +199 -0
- package/ts/customers.d.ts +14 -0
- package/ts/customers.js +10 -0
- package/ts/payments/fundtransfer.d.ts +62 -0
- package/ts/payments/fundtransfer.js +410 -0
- package/ts/payments.d.ts +14 -0
- package/ts/payments.js +10 -0
- package/ts/customers/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
- package/ts/customers/sendemailtoken.d.ts +0 -35
- package/ts/customers/sendemailtoken.js +0 -117
- package/ts/customers/skipdlrcscreen.d.ts +0 -35
- package/ts/customers/skipdlrcscreen.js +0 -117
- package/ts/customers/step1.d.ts +0 -69
- package/ts/customers/step1.js +0 -395
- package/ts/customers/step10.d.ts +0 -73
- package/ts/customers/step10.js +0 -459
- package/ts/customers/step2.d.ts +0 -68
- package/ts/customers/step2.js +0 -381
- 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/verifyemail.d.ts +0 -35
- package/ts/customers/verifyemail.js +0 -117
- package/ts/google/protobuf/timestamp.d.ts +0 -127
- package/ts/google/protobuf/timestamp.js +0 -97
package/package.json
CHANGED
|
@@ -142,6 +142,8 @@ function createBasegetCustomerByIdResponse() {
|
|
|
142
142
|
txn_rate: undefined,
|
|
143
143
|
customer_id: 0,
|
|
144
144
|
is_fcp_enabled: false,
|
|
145
|
+
lead_status: "",
|
|
146
|
+
product_code: "",
|
|
145
147
|
};
|
|
146
148
|
}
|
|
147
149
|
exports.getCustomerByIdResponse = {
|
|
@@ -377,6 +379,12 @@ exports.getCustomerByIdResponse = {
|
|
|
377
379
|
if (message.is_fcp_enabled !== false) {
|
|
378
380
|
writer.uint32(624).bool(message.is_fcp_enabled);
|
|
379
381
|
}
|
|
382
|
+
if (message.lead_status !== "") {
|
|
383
|
+
writer.uint32(634).string(message.lead_status);
|
|
384
|
+
}
|
|
385
|
+
if (message.product_code !== "") {
|
|
386
|
+
writer.uint32(642).string(message.product_code);
|
|
387
|
+
}
|
|
380
388
|
return writer;
|
|
381
389
|
},
|
|
382
390
|
decode(input, length) {
|
|
@@ -848,6 +856,18 @@ exports.getCustomerByIdResponse = {
|
|
|
848
856
|
}
|
|
849
857
|
message.is_fcp_enabled = reader.bool();
|
|
850
858
|
continue;
|
|
859
|
+
case 79:
|
|
860
|
+
if (tag !== 634) {
|
|
861
|
+
break;
|
|
862
|
+
}
|
|
863
|
+
message.lead_status = reader.string();
|
|
864
|
+
continue;
|
|
865
|
+
case 80:
|
|
866
|
+
if (tag !== 642) {
|
|
867
|
+
break;
|
|
868
|
+
}
|
|
869
|
+
message.product_code = reader.string();
|
|
870
|
+
continue;
|
|
851
871
|
}
|
|
852
872
|
if ((tag & 7) === 4 || tag === 0) {
|
|
853
873
|
break;
|
|
@@ -935,6 +955,8 @@ exports.getCustomerByIdResponse = {
|
|
|
935
955
|
txn_rate: isSet(object.txn_rate) ? globalThis.Number(object.txn_rate) : undefined,
|
|
936
956
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
937
957
|
is_fcp_enabled: isSet(object.is_fcp_enabled) ? globalThis.Boolean(object.is_fcp_enabled) : false,
|
|
958
|
+
lead_status: isSet(object.lead_status) ? globalThis.String(object.lead_status) : "",
|
|
959
|
+
product_code: isSet(object.product_code) ? globalThis.String(object.product_code) : "",
|
|
938
960
|
};
|
|
939
961
|
},
|
|
940
962
|
toJSON(message) {
|
|
@@ -1170,6 +1192,12 @@ exports.getCustomerByIdResponse = {
|
|
|
1170
1192
|
if (message.is_fcp_enabled !== false) {
|
|
1171
1193
|
obj.is_fcp_enabled = message.is_fcp_enabled;
|
|
1172
1194
|
}
|
|
1195
|
+
if (message.lead_status !== "") {
|
|
1196
|
+
obj.lead_status = message.lead_status;
|
|
1197
|
+
}
|
|
1198
|
+
if (message.product_code !== "") {
|
|
1199
|
+
obj.product_code = message.product_code;
|
|
1200
|
+
}
|
|
1173
1201
|
return obj;
|
|
1174
1202
|
},
|
|
1175
1203
|
create(base) {
|
|
@@ -1262,6 +1290,8 @@ exports.getCustomerByIdResponse = {
|
|
|
1262
1290
|
message.txn_rate = object.txn_rate ?? undefined;
|
|
1263
1291
|
message.customer_id = object.customer_id ?? 0;
|
|
1264
1292
|
message.is_fcp_enabled = object.is_fcp_enabled ?? false;
|
|
1293
|
+
message.lead_status = object.lead_status ?? "";
|
|
1294
|
+
message.product_code = object.product_code ?? "";
|
|
1265
1295
|
return message;
|
|
1266
1296
|
},
|
|
1267
1297
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.saveappslist";
|
|
3
|
+
export interface App {
|
|
4
|
+
name: string;
|
|
5
|
+
code: string;
|
|
6
|
+
}
|
|
7
|
+
export interface saveCustomerAppsRequest {
|
|
8
|
+
device_id: string;
|
|
9
|
+
apps: App[];
|
|
10
|
+
}
|
|
11
|
+
export interface saveCustomerAppsResponse {
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const App: {
|
|
15
|
+
encode(message: App, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): App;
|
|
17
|
+
fromJSON(object: any): App;
|
|
18
|
+
toJSON(message: App): unknown;
|
|
19
|
+
create<I extends Exact<DeepPartial<App>, I>>(base?: I): App;
|
|
20
|
+
fromPartial<I extends Exact<DeepPartial<App>, I>>(object: I): App;
|
|
21
|
+
};
|
|
22
|
+
export declare const saveCustomerAppsRequest: {
|
|
23
|
+
encode(message: saveCustomerAppsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): saveCustomerAppsRequest;
|
|
25
|
+
fromJSON(object: any): saveCustomerAppsRequest;
|
|
26
|
+
toJSON(message: saveCustomerAppsRequest): unknown;
|
|
27
|
+
create<I extends Exact<DeepPartial<saveCustomerAppsRequest>, I>>(base?: I): saveCustomerAppsRequest;
|
|
28
|
+
fromPartial<I extends Exact<DeepPartial<saveCustomerAppsRequest>, I>>(object: I): saveCustomerAppsRequest;
|
|
29
|
+
};
|
|
30
|
+
export declare const saveCustomerAppsResponse: {
|
|
31
|
+
encode(message: saveCustomerAppsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): saveCustomerAppsResponse;
|
|
33
|
+
fromJSON(object: any): saveCustomerAppsResponse;
|
|
34
|
+
toJSON(message: saveCustomerAppsResponse): unknown;
|
|
35
|
+
create<I extends Exact<DeepPartial<saveCustomerAppsResponse>, I>>(base?: I): saveCustomerAppsResponse;
|
|
36
|
+
fromPartial<I extends Exact<DeepPartial<saveCustomerAppsResponse>, I>>(object: I): saveCustomerAppsResponse;
|
|
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,199 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.2
|
|
6
|
+
// source: customers/saveappslist.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.saveCustomerAppsResponse = exports.saveCustomerAppsRequest = exports.App = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.saveappslist";
|
|
15
|
+
function createBaseApp() {
|
|
16
|
+
return { name: "", code: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.App = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.name !== "") {
|
|
21
|
+
writer.uint32(10).string(message.name);
|
|
22
|
+
}
|
|
23
|
+
if (message.code !== "") {
|
|
24
|
+
writer.uint32(18).string(message.code);
|
|
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 = createBaseApp();
|
|
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.name = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.code = 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
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
58
|
+
code: isSet(object.code) ? globalThis.String(object.code) : "",
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.name !== "") {
|
|
64
|
+
obj.name = message.name;
|
|
65
|
+
}
|
|
66
|
+
if (message.code !== "") {
|
|
67
|
+
obj.code = message.code;
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.App.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBaseApp();
|
|
76
|
+
message.name = object.name ?? "";
|
|
77
|
+
message.code = object.code ?? "";
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBasesaveCustomerAppsRequest() {
|
|
82
|
+
return { device_id: "", apps: [] };
|
|
83
|
+
}
|
|
84
|
+
exports.saveCustomerAppsRequest = {
|
|
85
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
+
if (message.device_id !== "") {
|
|
87
|
+
writer.uint32(10).string(message.device_id);
|
|
88
|
+
}
|
|
89
|
+
for (const v of message.apps) {
|
|
90
|
+
exports.App.encode(v, writer.uint32(18).fork()).ldelim();
|
|
91
|
+
}
|
|
92
|
+
return writer;
|
|
93
|
+
},
|
|
94
|
+
decode(input, length) {
|
|
95
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
96
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
97
|
+
const message = createBasesaveCustomerAppsRequest();
|
|
98
|
+
while (reader.pos < end) {
|
|
99
|
+
const tag = reader.uint32();
|
|
100
|
+
switch (tag >>> 3) {
|
|
101
|
+
case 1:
|
|
102
|
+
if (tag !== 10) {
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
message.device_id = reader.string();
|
|
106
|
+
continue;
|
|
107
|
+
case 2:
|
|
108
|
+
if (tag !== 18) {
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
message.apps.push(exports.App.decode(reader, reader.uint32()));
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
reader.skipType(tag & 7);
|
|
118
|
+
}
|
|
119
|
+
return message;
|
|
120
|
+
},
|
|
121
|
+
fromJSON(object) {
|
|
122
|
+
return {
|
|
123
|
+
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
124
|
+
apps: globalThis.Array.isArray(object?.apps) ? object.apps.map((e) => exports.App.fromJSON(e)) : [],
|
|
125
|
+
};
|
|
126
|
+
},
|
|
127
|
+
toJSON(message) {
|
|
128
|
+
const obj = {};
|
|
129
|
+
if (message.device_id !== "") {
|
|
130
|
+
obj.device_id = message.device_id;
|
|
131
|
+
}
|
|
132
|
+
if (message.apps?.length) {
|
|
133
|
+
obj.apps = message.apps.map((e) => exports.App.toJSON(e));
|
|
134
|
+
}
|
|
135
|
+
return obj;
|
|
136
|
+
},
|
|
137
|
+
create(base) {
|
|
138
|
+
return exports.saveCustomerAppsRequest.fromPartial(base ?? {});
|
|
139
|
+
},
|
|
140
|
+
fromPartial(object) {
|
|
141
|
+
const message = createBasesaveCustomerAppsRequest();
|
|
142
|
+
message.device_id = object.device_id ?? "";
|
|
143
|
+
message.apps = object.apps?.map((e) => exports.App.fromPartial(e)) || [];
|
|
144
|
+
return message;
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
function createBasesaveCustomerAppsResponse() {
|
|
148
|
+
return { message: "" };
|
|
149
|
+
}
|
|
150
|
+
exports.saveCustomerAppsResponse = {
|
|
151
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
152
|
+
if (message.message !== "") {
|
|
153
|
+
writer.uint32(10).string(message.message);
|
|
154
|
+
}
|
|
155
|
+
return writer;
|
|
156
|
+
},
|
|
157
|
+
decode(input, length) {
|
|
158
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
159
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
160
|
+
const message = createBasesaveCustomerAppsResponse();
|
|
161
|
+
while (reader.pos < end) {
|
|
162
|
+
const tag = reader.uint32();
|
|
163
|
+
switch (tag >>> 3) {
|
|
164
|
+
case 1:
|
|
165
|
+
if (tag !== 10) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.message = reader.string();
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
reader.skipType(tag & 7);
|
|
175
|
+
}
|
|
176
|
+
return message;
|
|
177
|
+
},
|
|
178
|
+
fromJSON(object) {
|
|
179
|
+
return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
|
|
180
|
+
},
|
|
181
|
+
toJSON(message) {
|
|
182
|
+
const obj = {};
|
|
183
|
+
if (message.message !== "") {
|
|
184
|
+
obj.message = message.message;
|
|
185
|
+
}
|
|
186
|
+
return obj;
|
|
187
|
+
},
|
|
188
|
+
create(base) {
|
|
189
|
+
return exports.saveCustomerAppsResponse.fromPartial(base ?? {});
|
|
190
|
+
},
|
|
191
|
+
fromPartial(object) {
|
|
192
|
+
const message = createBasesaveCustomerAppsResponse();
|
|
193
|
+
message.message = object.message ?? "";
|
|
194
|
+
return message;
|
|
195
|
+
},
|
|
196
|
+
};
|
|
197
|
+
function isSet(value) {
|
|
198
|
+
return value !== null && value !== undefined;
|
|
199
|
+
}
|
package/ts/customers.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ import { updateTncRequest, updateTncResponse } from "./customers/profileupdatetn
|
|
|
62
62
|
import { createRpdLinkRequest, createRpdLinkResponse } from "./customers/rpd/getrpdlink";
|
|
63
63
|
import { getRpdTransactionStatusRequest, getRpdTransactionStatusResponse } from "./customers/rpd/getrpdtransactionstatus";
|
|
64
64
|
import { mockPaymentRequest, mockPaymentResponse } from "./customers/rpd/mockpayment";
|
|
65
|
+
import { saveCustomerAppsRequest, saveCustomerAppsResponse } from "./customers/saveappslist";
|
|
65
66
|
import { saveBasicDetailsRequest, saveBasicDetailsResponse } from "./customers/savebasicdetails";
|
|
66
67
|
import { saveLimitRequest, saveLimitResponse } from "./customers/savelimit";
|
|
67
68
|
import { saveUnlockLimitRequest, saveUnlockLimitResponse } from "./customers/saveunlocklimit";
|
|
@@ -870,6 +871,15 @@ export declare const customersService: {
|
|
|
870
871
|
readonly responseSerialize: (value: forceUpdateResponse) => Buffer;
|
|
871
872
|
readonly responseDeserialize: (value: Buffer) => forceUpdateResponse;
|
|
872
873
|
};
|
|
874
|
+
readonly saveCustomerAppsList: {
|
|
875
|
+
readonly path: "/service.customers/saveCustomerAppsList";
|
|
876
|
+
readonly requestStream: false;
|
|
877
|
+
readonly responseStream: false;
|
|
878
|
+
readonly requestSerialize: (value: saveCustomerAppsRequest) => Buffer;
|
|
879
|
+
readonly requestDeserialize: (value: Buffer) => saveCustomerAppsRequest;
|
|
880
|
+
readonly responseSerialize: (value: saveCustomerAppsResponse) => Buffer;
|
|
881
|
+
readonly responseDeserialize: (value: Buffer) => saveCustomerAppsResponse;
|
|
882
|
+
};
|
|
873
883
|
};
|
|
874
884
|
export interface customersServer extends UntypedServiceImplementation {
|
|
875
885
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -959,6 +969,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
959
969
|
moreCsImprove: handleUnaryCall<moreCsImproveRequest, moreCsImproveResponse>;
|
|
960
970
|
getCbRejectedData: handleUnaryCall<getCbRejectedDataRequest, getCbRejectedDataResponse>;
|
|
961
971
|
forceUpdate: handleUnaryCall<forceUpdateRequest, forceUpdateResponse>;
|
|
972
|
+
saveCustomerAppsList: handleUnaryCall<saveCustomerAppsRequest, saveCustomerAppsResponse>;
|
|
962
973
|
}
|
|
963
974
|
export interface customersClient extends Client {
|
|
964
975
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1222,6 +1233,9 @@ export interface customersClient extends Client {
|
|
|
1222
1233
|
forceUpdate(request: forceUpdateRequest, callback: (error: ServiceError | null, response: forceUpdateResponse) => void): ClientUnaryCall;
|
|
1223
1234
|
forceUpdate(request: forceUpdateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: forceUpdateResponse) => void): ClientUnaryCall;
|
|
1224
1235
|
forceUpdate(request: forceUpdateRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: forceUpdateResponse) => void): ClientUnaryCall;
|
|
1236
|
+
saveCustomerAppsList(request: saveCustomerAppsRequest, callback: (error: ServiceError | null, response: saveCustomerAppsResponse) => void): ClientUnaryCall;
|
|
1237
|
+
saveCustomerAppsList(request: saveCustomerAppsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: saveCustomerAppsResponse) => void): ClientUnaryCall;
|
|
1238
|
+
saveCustomerAppsList(request: saveCustomerAppsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: saveCustomerAppsResponse) => void): ClientUnaryCall;
|
|
1225
1239
|
}
|
|
1226
1240
|
export declare const customersClient: {
|
|
1227
1241
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -71,6 +71,7 @@ const profileupdatetnc_1 = require("./customers/profileupdatetnc");
|
|
|
71
71
|
const getrpdlink_1 = require("./customers/rpd/getrpdlink");
|
|
72
72
|
const getrpdtransactionstatus_1 = require("./customers/rpd/getrpdtransactionstatus");
|
|
73
73
|
const mockpayment_1 = require("./customers/rpd/mockpayment");
|
|
74
|
+
const saveappslist_1 = require("./customers/saveappslist");
|
|
74
75
|
const savebasicdetails_1 = require("./customers/savebasicdetails");
|
|
75
76
|
const savelimit_1 = require("./customers/savelimit");
|
|
76
77
|
const saveunlocklimit_1 = require("./customers/saveunlocklimit");
|
|
@@ -878,5 +879,14 @@ exports.customersService = {
|
|
|
878
879
|
responseSerialize: (value) => Buffer.from(forceupdate_1.forceUpdateResponse.encode(value).finish()),
|
|
879
880
|
responseDeserialize: (value) => forceupdate_1.forceUpdateResponse.decode(value),
|
|
880
881
|
},
|
|
882
|
+
saveCustomerAppsList: {
|
|
883
|
+
path: "/service.customers/saveCustomerAppsList",
|
|
884
|
+
requestStream: false,
|
|
885
|
+
responseStream: false,
|
|
886
|
+
requestSerialize: (value) => Buffer.from(saveappslist_1.saveCustomerAppsRequest.encode(value).finish()),
|
|
887
|
+
requestDeserialize: (value) => saveappslist_1.saveCustomerAppsRequest.decode(value),
|
|
888
|
+
responseSerialize: (value) => Buffer.from(saveappslist_1.saveCustomerAppsResponse.encode(value).finish()),
|
|
889
|
+
responseDeserialize: (value) => saveappslist_1.saveCustomerAppsResponse.decode(value),
|
|
890
|
+
},
|
|
881
891
|
};
|
|
882
892
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "payments.fundtransfer";
|
|
3
|
+
export interface request {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
client_id: string;
|
|
6
|
+
external_order_id: string;
|
|
7
|
+
amount: number;
|
|
8
|
+
source: request_bank_details[];
|
|
9
|
+
destination: request_bank_details[];
|
|
10
|
+
loan_id?: string | undefined;
|
|
11
|
+
mode: string;
|
|
12
|
+
}
|
|
13
|
+
export interface request_bank_details {
|
|
14
|
+
account_no: string;
|
|
15
|
+
ifsc: string;
|
|
16
|
+
name: string;
|
|
17
|
+
email: string;
|
|
18
|
+
phone: string;
|
|
19
|
+
}
|
|
20
|
+
export interface response {
|
|
21
|
+
status: string;
|
|
22
|
+
status_code: number;
|
|
23
|
+
customer_id: number;
|
|
24
|
+
external_order_id: string;
|
|
25
|
+
amount: number;
|
|
26
|
+
message?: string | undefined;
|
|
27
|
+
}
|
|
28
|
+
export declare const request: {
|
|
29
|
+
encode(message: request, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): request;
|
|
31
|
+
fromJSON(object: any): request;
|
|
32
|
+
toJSON(message: request): unknown;
|
|
33
|
+
create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
|
|
34
|
+
fromPartial<I extends Exact<DeepPartial<request>, I>>(object: I): request;
|
|
35
|
+
};
|
|
36
|
+
export declare const request_bank_details: {
|
|
37
|
+
encode(message: request_bank_details, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): request_bank_details;
|
|
39
|
+
fromJSON(object: any): request_bank_details;
|
|
40
|
+
toJSON(message: request_bank_details): unknown;
|
|
41
|
+
create<I extends Exact<DeepPartial<request_bank_details>, I>>(base?: I): request_bank_details;
|
|
42
|
+
fromPartial<I extends Exact<DeepPartial<request_bank_details>, I>>(object: I): request_bank_details;
|
|
43
|
+
};
|
|
44
|
+
export declare const response: {
|
|
45
|
+
encode(message: response, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): response;
|
|
47
|
+
fromJSON(object: any): response;
|
|
48
|
+
toJSON(message: response): unknown;
|
|
49
|
+
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
50
|
+
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
51
|
+
};
|
|
52
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
53
|
+
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 {} ? {
|
|
54
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
55
|
+
} : Partial<T>;
|
|
56
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
57
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
58
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
59
|
+
} & {
|
|
60
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
61
|
+
};
|
|
62
|
+
export {};
|