@stashfin/grpc 1.2.184 → 1.2.187
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/aa/getbanklist.d.ts +1 -0
- package/ts/customers/aa/getbanklist.js +18 -2
- package/ts/customers/floatingvideos.d.ts +46 -0
- package/ts/customers/floatingvideos.js +172 -0
- package/ts/customers/getappsubmittedscreen.d.ts +50 -0
- package/ts/customers/getappsubmittedscreen.js +228 -0
- package/ts/customers/getlimit.d.ts +0 -2
- package/ts/customers/getlimit.js +1 -29
- package/ts/customers/savelimit.d.ts +35 -0
- package/ts/customers/{sendemailtoken.js → savelimit.js} +30 -30
- package/ts/customers.d.ts +42 -0
- package/ts/customers.js +30 -0
- package/ts/customers/sendemailtoken.d.ts +0 -35
- 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/ts/payments/nachpresentation.d.ts +0 -39
- package/ts/payments/nachpresentation.js +0 -191
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc
|
|
6
|
-
// source: customers/
|
|
5
|
+
// protoc v5.28.0
|
|
6
|
+
// source: customers/savelimit.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.saveLimitResponse = exports.saveLimitRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.
|
|
15
|
-
function
|
|
16
|
-
return {
|
|
14
|
+
exports.protobufPackage = "customers.savelimit";
|
|
15
|
+
function createBasesaveLimitRequest() {
|
|
16
|
+
return { option: "" };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.saveLimitRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(10).string(message.
|
|
20
|
+
if (message.option !== "") {
|
|
21
|
+
writer.uint32(10).string(message.option);
|
|
22
22
|
}
|
|
23
23
|
return writer;
|
|
24
24
|
},
|
|
25
25
|
decode(input, length) {
|
|
26
26
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
27
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message =
|
|
28
|
+
const message = createBasesaveLimitRequest();
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
31
31
|
switch (tag >>> 3) {
|
|
@@ -33,7 +33,7 @@ exports.sendEmailTokenRequest = {
|
|
|
33
33
|
if (tag !== 10) {
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
|
-
message.
|
|
36
|
+
message.option = reader.string();
|
|
37
37
|
continue;
|
|
38
38
|
}
|
|
39
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -44,38 +44,38 @@ exports.sendEmailTokenRequest = {
|
|
|
44
44
|
return message;
|
|
45
45
|
},
|
|
46
46
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
47
|
+
return { option: isSet(object.option) ? globalThis.String(object.option) : "" };
|
|
48
48
|
},
|
|
49
49
|
toJSON(message) {
|
|
50
50
|
const obj = {};
|
|
51
|
-
if (message.
|
|
52
|
-
obj.
|
|
51
|
+
if (message.option !== "") {
|
|
52
|
+
obj.option = message.option;
|
|
53
53
|
}
|
|
54
54
|
return obj;
|
|
55
55
|
},
|
|
56
56
|
create(base) {
|
|
57
|
-
return exports.
|
|
57
|
+
return exports.saveLimitRequest.fromPartial(base ?? {});
|
|
58
58
|
},
|
|
59
59
|
fromPartial(object) {
|
|
60
|
-
const message =
|
|
61
|
-
message.
|
|
60
|
+
const message = createBasesaveLimitRequest();
|
|
61
|
+
message.option = object.option ?? "";
|
|
62
62
|
return message;
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
return {
|
|
65
|
+
function createBasesaveLimitResponse() {
|
|
66
|
+
return { next_step: "" };
|
|
67
67
|
}
|
|
68
|
-
exports.
|
|
68
|
+
exports.saveLimitResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
if (message.
|
|
71
|
-
writer.uint32(10).string(message.
|
|
70
|
+
if (message.next_step !== "") {
|
|
71
|
+
writer.uint32(10).string(message.next_step);
|
|
72
72
|
}
|
|
73
73
|
return writer;
|
|
74
74
|
},
|
|
75
75
|
decode(input, length) {
|
|
76
76
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
77
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
-
const message =
|
|
78
|
+
const message = createBasesaveLimitResponse();
|
|
79
79
|
while (reader.pos < end) {
|
|
80
80
|
const tag = reader.uint32();
|
|
81
81
|
switch (tag >>> 3) {
|
|
@@ -83,7 +83,7 @@ exports.sendEmailTokenResponse = {
|
|
|
83
83
|
if (tag !== 10) {
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
86
|
-
message.
|
|
86
|
+
message.next_step = reader.string();
|
|
87
87
|
continue;
|
|
88
88
|
}
|
|
89
89
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -94,21 +94,21 @@ exports.sendEmailTokenResponse = {
|
|
|
94
94
|
return message;
|
|
95
95
|
},
|
|
96
96
|
fromJSON(object) {
|
|
97
|
-
return {
|
|
97
|
+
return { next_step: isSet(object.next_step) ? globalThis.String(object.next_step) : "" };
|
|
98
98
|
},
|
|
99
99
|
toJSON(message) {
|
|
100
100
|
const obj = {};
|
|
101
|
-
if (message.
|
|
102
|
-
obj.
|
|
101
|
+
if (message.next_step !== "") {
|
|
102
|
+
obj.next_step = message.next_step;
|
|
103
103
|
}
|
|
104
104
|
return obj;
|
|
105
105
|
},
|
|
106
106
|
create(base) {
|
|
107
|
-
return exports.
|
|
107
|
+
return exports.saveLimitResponse.fromPartial(base ?? {});
|
|
108
108
|
},
|
|
109
109
|
fromPartial(object) {
|
|
110
|
-
const message =
|
|
111
|
-
message.
|
|
110
|
+
const message = createBasesaveLimitResponse();
|
|
111
|
+
message.next_step = object.next_step ?? "";
|
|
112
112
|
return message;
|
|
113
113
|
},
|
|
114
114
|
};
|
package/ts/customers.d.ts
CHANGED
|
@@ -14,9 +14,11 @@ import { createCustomerReferenceRequest, createCustomerReferenceResponse } from
|
|
|
14
14
|
import { deleteProfileRequest, deleteProfileResponse } from "./customers/deleteprofile";
|
|
15
15
|
import { disableMpinRequest, disableMpinResponse } from "./customers/disablempin";
|
|
16
16
|
import { fetchRCProfileRequest, fetchRCProfileResponse } from "./customers/fetchrcprofile";
|
|
17
|
+
import { getFloatingVideosRequest, getFloatingVideosResponse } from "./customers/floatingvideos";
|
|
17
18
|
import { forgotMpinRequest, forgotMpinResponse } from "./customers/forgotmpin";
|
|
18
19
|
import { forgotMpinVerifyRequest, forgotMpinVerifyResponse } from "./customers/forgotmpinverify";
|
|
19
20
|
import { getAddressRequest, getAddressResponse } from "./customers/getaddresslist";
|
|
21
|
+
import { getAppSubmittedRequest, getAppSubmittedResponse } from "./customers/getappsubmittedscreen";
|
|
20
22
|
import { getBankAccountDetailsRequest, getBankAccountDetailsResponse } from "./customers/getbankaccountdetails";
|
|
21
23
|
import { getBasicInfoRequest, getBasicInfoResponse } from "./customers/getbasicinfo";
|
|
22
24
|
import { getCitiesRequest, getCitiesResponse } from "./customers/getcities";
|
|
@@ -36,6 +38,7 @@ import { logoutRequest, logoutResponse } from "./customers/logout";
|
|
|
36
38
|
import { updateProfileBasicRequest, updateProfileBasicResponse } from "./customers/profilebasic";
|
|
37
39
|
import { updateTncRequest, updateTncResponse } from "./customers/profileupdatetnc";
|
|
38
40
|
import { saveBasicDetailsRequest, saveBasicDetailsResponse } from "./customers/savebasicdetails";
|
|
41
|
+
import { saveLimitRequest, saveLimitResponse } from "./customers/savelimit";
|
|
39
42
|
import { saveUnlockLimitRequest, saveUnlockLimitResponse } from "./customers/saveunlocklimit";
|
|
40
43
|
import { sendOtpRequest, sendOtpRespone } from "./customers/sendotp";
|
|
41
44
|
import { sendEmailOtpRequest, sendEmailOtpResponse } from "./customers/sendotptoemail";
|
|
@@ -472,6 +475,15 @@ export declare const customersService: {
|
|
|
472
475
|
readonly responseSerialize: (value: getLimitResponse) => Buffer;
|
|
473
476
|
readonly responseDeserialize: (value: Buffer) => getLimitResponse;
|
|
474
477
|
};
|
|
478
|
+
readonly saveLimit: {
|
|
479
|
+
readonly path: "/service.customers/saveLimit";
|
|
480
|
+
readonly requestStream: false;
|
|
481
|
+
readonly responseStream: false;
|
|
482
|
+
readonly requestSerialize: (value: saveLimitRequest) => Buffer;
|
|
483
|
+
readonly requestDeserialize: (value: Buffer) => saveLimitRequest;
|
|
484
|
+
readonly responseSerialize: (value: saveLimitResponse) => Buffer;
|
|
485
|
+
readonly responseDeserialize: (value: Buffer) => saveLimitResponse;
|
|
486
|
+
};
|
|
475
487
|
readonly addMoreDetails: {
|
|
476
488
|
readonly path: "/service.customers/addMoreDetails";
|
|
477
489
|
readonly requestStream: false;
|
|
@@ -581,6 +593,24 @@ export declare const customersService: {
|
|
|
581
593
|
readonly responseSerialize: (value: getAddressResponse) => Buffer;
|
|
582
594
|
readonly responseDeserialize: (value: Buffer) => getAddressResponse;
|
|
583
595
|
};
|
|
596
|
+
readonly getAppSubmittedScreen: {
|
|
597
|
+
readonly path: "/service.customers/getAppSubmittedScreen";
|
|
598
|
+
readonly requestStream: false;
|
|
599
|
+
readonly responseStream: false;
|
|
600
|
+
readonly requestSerialize: (value: getAppSubmittedRequest) => Buffer;
|
|
601
|
+
readonly requestDeserialize: (value: Buffer) => getAppSubmittedRequest;
|
|
602
|
+
readonly responseSerialize: (value: getAppSubmittedResponse) => Buffer;
|
|
603
|
+
readonly responseDeserialize: (value: Buffer) => getAppSubmittedResponse;
|
|
604
|
+
};
|
|
605
|
+
readonly getFloatingVideos: {
|
|
606
|
+
readonly path: "/service.customers/getFloatingVideos";
|
|
607
|
+
readonly requestStream: false;
|
|
608
|
+
readonly responseStream: false;
|
|
609
|
+
readonly requestSerialize: (value: getFloatingVideosRequest) => Buffer;
|
|
610
|
+
readonly requestDeserialize: (value: Buffer) => getFloatingVideosRequest;
|
|
611
|
+
readonly responseSerialize: (value: getFloatingVideosResponse) => Buffer;
|
|
612
|
+
readonly responseDeserialize: (value: Buffer) => getFloatingVideosResponse;
|
|
613
|
+
};
|
|
584
614
|
};
|
|
585
615
|
export interface customersServer extends UntypedServiceImplementation {
|
|
586
616
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -629,6 +659,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
629
659
|
getSelfieeTxnId: handleUnaryCall<getSelfieeTxnIdRequest, getSelfieeTxnIdResponse>;
|
|
630
660
|
updateSelfieeTxn: handleUnaryCall<updateSelfieeTxnRequest, updateSelfieeTxnResponse>;
|
|
631
661
|
getLimit: handleUnaryCall<getLimitRequest, getLimitResponse>;
|
|
662
|
+
saveLimit: handleUnaryCall<saveLimitRequest, saveLimitResponse>;
|
|
632
663
|
addMoreDetails: handleUnaryCall<addMoreDetailsRequest, addMoreDetailsResponse>;
|
|
633
664
|
updateVehicleNumber: handleUnaryCall<updateVehicleNumberRequest, updateVehicleNumberResponse>;
|
|
634
665
|
updateDlNumber: handleUnaryCall<updateDlNumberRequest, updateDlNumberResponse>;
|
|
@@ -642,6 +673,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
642
673
|
getOccupationList: handleUnaryCall<getOccupationListRequest, getOccupationListResponse>;
|
|
643
674
|
/** rpc reversePennyDrop(.customers.reversepennydrop.reversePennyDropRequest) returns (.customers.reversepennydrop.reversePennyDropResponse) {} */
|
|
644
675
|
getAddressList: handleUnaryCall<getAddressRequest, getAddressResponse>;
|
|
676
|
+
getAppSubmittedScreen: handleUnaryCall<getAppSubmittedRequest, getAppSubmittedResponse>;
|
|
677
|
+
getFloatingVideos: handleUnaryCall<getFloatingVideosRequest, getFloatingVideosResponse>;
|
|
645
678
|
}
|
|
646
679
|
export interface customersClient extends Client {
|
|
647
680
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -782,6 +815,9 @@ export interface customersClient extends Client {
|
|
|
782
815
|
getLimit(request: getLimitRequest, callback: (error: ServiceError | null, response: getLimitResponse) => void): ClientUnaryCall;
|
|
783
816
|
getLimit(request: getLimitRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getLimitResponse) => void): ClientUnaryCall;
|
|
784
817
|
getLimit(request: getLimitRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getLimitResponse) => void): ClientUnaryCall;
|
|
818
|
+
saveLimit(request: saveLimitRequest, callback: (error: ServiceError | null, response: saveLimitResponse) => void): ClientUnaryCall;
|
|
819
|
+
saveLimit(request: saveLimitRequest, metadata: Metadata, callback: (error: ServiceError | null, response: saveLimitResponse) => void): ClientUnaryCall;
|
|
820
|
+
saveLimit(request: saveLimitRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: saveLimitResponse) => void): ClientUnaryCall;
|
|
785
821
|
addMoreDetails(request: addMoreDetailsRequest, callback: (error: ServiceError | null, response: addMoreDetailsResponse) => void): ClientUnaryCall;
|
|
786
822
|
addMoreDetails(request: addMoreDetailsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addMoreDetailsResponse) => void): ClientUnaryCall;
|
|
787
823
|
addMoreDetails(request: addMoreDetailsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addMoreDetailsResponse) => void): ClientUnaryCall;
|
|
@@ -819,6 +855,12 @@ export interface customersClient extends Client {
|
|
|
819
855
|
getAddressList(request: getAddressRequest, callback: (error: ServiceError | null, response: getAddressResponse) => void): ClientUnaryCall;
|
|
820
856
|
getAddressList(request: getAddressRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAddressResponse) => void): ClientUnaryCall;
|
|
821
857
|
getAddressList(request: getAddressRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAddressResponse) => void): ClientUnaryCall;
|
|
858
|
+
getAppSubmittedScreen(request: getAppSubmittedRequest, callback: (error: ServiceError | null, response: getAppSubmittedResponse) => void): ClientUnaryCall;
|
|
859
|
+
getAppSubmittedScreen(request: getAppSubmittedRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAppSubmittedResponse) => void): ClientUnaryCall;
|
|
860
|
+
getAppSubmittedScreen(request: getAppSubmittedRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAppSubmittedResponse) => void): ClientUnaryCall;
|
|
861
|
+
getFloatingVideos(request: getFloatingVideosRequest, callback: (error: ServiceError | null, response: getFloatingVideosResponse) => void): ClientUnaryCall;
|
|
862
|
+
getFloatingVideos(request: getFloatingVideosRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getFloatingVideosResponse) => void): ClientUnaryCall;
|
|
863
|
+
getFloatingVideos(request: getFloatingVideosRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getFloatingVideosResponse) => void): ClientUnaryCall;
|
|
822
864
|
}
|
|
823
865
|
export declare const customersClient: {
|
|
824
866
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -23,9 +23,11 @@ const createcustomerreference_1 = require("./customers/createcustomerreference")
|
|
|
23
23
|
const deleteprofile_1 = require("./customers/deleteprofile");
|
|
24
24
|
const disablempin_1 = require("./customers/disablempin");
|
|
25
25
|
const fetchrcprofile_1 = require("./customers/fetchrcprofile");
|
|
26
|
+
const floatingvideos_1 = require("./customers/floatingvideos");
|
|
26
27
|
const forgotmpin_1 = require("./customers/forgotmpin");
|
|
27
28
|
const forgotmpinverify_1 = require("./customers/forgotmpinverify");
|
|
28
29
|
const getaddresslist_1 = require("./customers/getaddresslist");
|
|
30
|
+
const getappsubmittedscreen_1 = require("./customers/getappsubmittedscreen");
|
|
29
31
|
const getbankaccountdetails_1 = require("./customers/getbankaccountdetails");
|
|
30
32
|
const getbasicinfo_1 = require("./customers/getbasicinfo");
|
|
31
33
|
const getcities_1 = require("./customers/getcities");
|
|
@@ -45,6 +47,7 @@ const logout_1 = require("./customers/logout");
|
|
|
45
47
|
const profilebasic_1 = require("./customers/profilebasic");
|
|
46
48
|
const profileupdatetnc_1 = require("./customers/profileupdatetnc");
|
|
47
49
|
const savebasicdetails_1 = require("./customers/savebasicdetails");
|
|
50
|
+
const savelimit_1 = require("./customers/savelimit");
|
|
48
51
|
const saveunlocklimit_1 = require("./customers/saveunlocklimit");
|
|
49
52
|
const sendotp_1 = require("./customers/sendotp");
|
|
50
53
|
const sendotptoemail_1 = require("./customers/sendotptoemail");
|
|
@@ -480,6 +483,15 @@ exports.customersService = {
|
|
|
480
483
|
responseSerialize: (value) => Buffer.from(getlimit_1.getLimitResponse.encode(value).finish()),
|
|
481
484
|
responseDeserialize: (value) => getlimit_1.getLimitResponse.decode(value),
|
|
482
485
|
},
|
|
486
|
+
saveLimit: {
|
|
487
|
+
path: "/service.customers/saveLimit",
|
|
488
|
+
requestStream: false,
|
|
489
|
+
responseStream: false,
|
|
490
|
+
requestSerialize: (value) => Buffer.from(savelimit_1.saveLimitRequest.encode(value).finish()),
|
|
491
|
+
requestDeserialize: (value) => savelimit_1.saveLimitRequest.decode(value),
|
|
492
|
+
responseSerialize: (value) => Buffer.from(savelimit_1.saveLimitResponse.encode(value).finish()),
|
|
493
|
+
responseDeserialize: (value) => savelimit_1.saveLimitResponse.decode(value),
|
|
494
|
+
},
|
|
483
495
|
addMoreDetails: {
|
|
484
496
|
path: "/service.customers/addMoreDetails",
|
|
485
497
|
requestStream: false,
|
|
@@ -589,5 +601,23 @@ exports.customersService = {
|
|
|
589
601
|
responseSerialize: (value) => Buffer.from(getaddresslist_1.getAddressResponse.encode(value).finish()),
|
|
590
602
|
responseDeserialize: (value) => getaddresslist_1.getAddressResponse.decode(value),
|
|
591
603
|
},
|
|
604
|
+
getAppSubmittedScreen: {
|
|
605
|
+
path: "/service.customers/getAppSubmittedScreen",
|
|
606
|
+
requestStream: false,
|
|
607
|
+
responseStream: false,
|
|
608
|
+
requestSerialize: (value) => Buffer.from(getappsubmittedscreen_1.getAppSubmittedRequest.encode(value).finish()),
|
|
609
|
+
requestDeserialize: (value) => getappsubmittedscreen_1.getAppSubmittedRequest.decode(value),
|
|
610
|
+
responseSerialize: (value) => Buffer.from(getappsubmittedscreen_1.getAppSubmittedResponse.encode(value).finish()),
|
|
611
|
+
responseDeserialize: (value) => getappsubmittedscreen_1.getAppSubmittedResponse.decode(value),
|
|
612
|
+
},
|
|
613
|
+
getFloatingVideos: {
|
|
614
|
+
path: "/service.customers/getFloatingVideos",
|
|
615
|
+
requestStream: false,
|
|
616
|
+
responseStream: false,
|
|
617
|
+
requestSerialize: (value) => Buffer.from(floatingvideos_1.getFloatingVideosRequest.encode(value).finish()),
|
|
618
|
+
requestDeserialize: (value) => floatingvideos_1.getFloatingVideosRequest.decode(value),
|
|
619
|
+
responseSerialize: (value) => Buffer.from(floatingvideos_1.getFloatingVideosResponse.encode(value).finish()),
|
|
620
|
+
responseDeserialize: (value) => floatingvideos_1.getFloatingVideosResponse.decode(value),
|
|
621
|
+
},
|
|
592
622
|
};
|
|
593
623
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.sendemailtoken";
|
|
3
|
-
export interface sendEmailTokenRequest {
|
|
4
|
-
email: string;
|
|
5
|
-
}
|
|
6
|
-
export interface sendEmailTokenResponse {
|
|
7
|
-
token: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const sendEmailTokenRequest: {
|
|
10
|
-
encode(message: sendEmailTokenRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): sendEmailTokenRequest;
|
|
12
|
-
fromJSON(object: any): sendEmailTokenRequest;
|
|
13
|
-
toJSON(message: sendEmailTokenRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<sendEmailTokenRequest>, I>>(base?: I): sendEmailTokenRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<sendEmailTokenRequest>, I>>(object: I): sendEmailTokenRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const sendEmailTokenResponse: {
|
|
18
|
-
encode(message: sendEmailTokenResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): sendEmailTokenResponse;
|
|
20
|
-
fromJSON(object: any): sendEmailTokenResponse;
|
|
21
|
-
toJSON(message: sendEmailTokenResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<sendEmailTokenResponse>, I>>(base?: I): sendEmailTokenResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<sendEmailTokenResponse>, I>>(object: I): sendEmailTokenResponse;
|
|
24
|
-
};
|
|
25
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
27
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
-
} : Partial<T>;
|
|
29
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
-
} & {
|
|
33
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.skipdlrcscreen";
|
|
3
|
-
export interface skipDlRcScreenRequest {
|
|
4
|
-
page: string;
|
|
5
|
-
}
|
|
6
|
-
export interface skipDlRcScreenResponse {
|
|
7
|
-
status: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const skipDlRcScreenRequest: {
|
|
10
|
-
encode(message: skipDlRcScreenRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): skipDlRcScreenRequest;
|
|
12
|
-
fromJSON(object: any): skipDlRcScreenRequest;
|
|
13
|
-
toJSON(message: skipDlRcScreenRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<skipDlRcScreenRequest>, I>>(base?: I): skipDlRcScreenRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<skipDlRcScreenRequest>, I>>(object: I): skipDlRcScreenRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const skipDlRcScreenResponse: {
|
|
18
|
-
encode(message: skipDlRcScreenResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): skipDlRcScreenResponse;
|
|
20
|
-
fromJSON(object: any): skipDlRcScreenResponse;
|
|
21
|
-
toJSON(message: skipDlRcScreenResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<skipDlRcScreenResponse>, I>>(base?: I): skipDlRcScreenResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<skipDlRcScreenResponse>, I>>(object: I): skipDlRcScreenResponse;
|
|
24
|
-
};
|
|
25
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
27
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
-
} : Partial<T>;
|
|
29
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
-
} & {
|
|
33
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
@@ -1,117 +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/skipdlrcscreen.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.skipDlRcScreenResponse = exports.skipDlRcScreenRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.skipdlrcscreen";
|
|
15
|
-
function createBaseskipDlRcScreenRequest() {
|
|
16
|
-
return { page: "" };
|
|
17
|
-
}
|
|
18
|
-
exports.skipDlRcScreenRequest = {
|
|
19
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.page !== "") {
|
|
21
|
-
writer.uint32(10).string(message.page);
|
|
22
|
-
}
|
|
23
|
-
return writer;
|
|
24
|
-
},
|
|
25
|
-
decode(input, length) {
|
|
26
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message = createBaseskipDlRcScreenRequest();
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
const tag = reader.uint32();
|
|
31
|
-
switch (tag >>> 3) {
|
|
32
|
-
case 1:
|
|
33
|
-
if (tag !== 10) {
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
message.page = reader.string();
|
|
37
|
-
continue;
|
|
38
|
-
}
|
|
39
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
reader.skipType(tag & 7);
|
|
43
|
-
}
|
|
44
|
-
return message;
|
|
45
|
-
},
|
|
46
|
-
fromJSON(object) {
|
|
47
|
-
return { page: isSet(object.page) ? globalThis.String(object.page) : "" };
|
|
48
|
-
},
|
|
49
|
-
toJSON(message) {
|
|
50
|
-
const obj = {};
|
|
51
|
-
if (message.page !== "") {
|
|
52
|
-
obj.page = message.page;
|
|
53
|
-
}
|
|
54
|
-
return obj;
|
|
55
|
-
},
|
|
56
|
-
create(base) {
|
|
57
|
-
return exports.skipDlRcScreenRequest.fromPartial(base ?? {});
|
|
58
|
-
},
|
|
59
|
-
fromPartial(object) {
|
|
60
|
-
const message = createBaseskipDlRcScreenRequest();
|
|
61
|
-
message.page = object.page ?? "";
|
|
62
|
-
return message;
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
function createBaseskipDlRcScreenResponse() {
|
|
66
|
-
return { status: "" };
|
|
67
|
-
}
|
|
68
|
-
exports.skipDlRcScreenResponse = {
|
|
69
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
if (message.status !== "") {
|
|
71
|
-
writer.uint32(10).string(message.status);
|
|
72
|
-
}
|
|
73
|
-
return writer;
|
|
74
|
-
},
|
|
75
|
-
decode(input, length) {
|
|
76
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
-
const message = createBaseskipDlRcScreenResponse();
|
|
79
|
-
while (reader.pos < end) {
|
|
80
|
-
const tag = reader.uint32();
|
|
81
|
-
switch (tag >>> 3) {
|
|
82
|
-
case 1:
|
|
83
|
-
if (tag !== 10) {
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
message.status = reader.string();
|
|
87
|
-
continue;
|
|
88
|
-
}
|
|
89
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
reader.skipType(tag & 7);
|
|
93
|
-
}
|
|
94
|
-
return message;
|
|
95
|
-
},
|
|
96
|
-
fromJSON(object) {
|
|
97
|
-
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
98
|
-
},
|
|
99
|
-
toJSON(message) {
|
|
100
|
-
const obj = {};
|
|
101
|
-
if (message.status !== "") {
|
|
102
|
-
obj.status = message.status;
|
|
103
|
-
}
|
|
104
|
-
return obj;
|
|
105
|
-
},
|
|
106
|
-
create(base) {
|
|
107
|
-
return exports.skipDlRcScreenResponse.fromPartial(base ?? {});
|
|
108
|
-
},
|
|
109
|
-
fromPartial(object) {
|
|
110
|
-
const message = createBaseskipDlRcScreenResponse();
|
|
111
|
-
message.status = object.status ?? "";
|
|
112
|
-
return message;
|
|
113
|
-
},
|
|
114
|
-
};
|
|
115
|
-
function isSet(value) {
|
|
116
|
-
return value !== null && value !== undefined;
|
|
117
|
-
}
|
package/ts/customers/step1.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.step1";
|
|
3
|
-
export interface step1Request {
|
|
4
|
-
full_name: string;
|
|
5
|
-
pan_number: string;
|
|
6
|
-
tnc: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface Validation {
|
|
9
|
-
key: string;
|
|
10
|
-
value: string;
|
|
11
|
-
message: string;
|
|
12
|
-
}
|
|
13
|
-
export interface step1Response {
|
|
14
|
-
page: string;
|
|
15
|
-
type: string;
|
|
16
|
-
button_text: string;
|
|
17
|
-
data: step1Response_Field[];
|
|
18
|
-
}
|
|
19
|
-
export interface step1Response_Field {
|
|
20
|
-
label: string;
|
|
21
|
-
key: string;
|
|
22
|
-
input_type: string;
|
|
23
|
-
data_type: string;
|
|
24
|
-
icon: string;
|
|
25
|
-
validations: Validation[];
|
|
26
|
-
}
|
|
27
|
-
export declare const step1Request: {
|
|
28
|
-
encode(message: step1Request, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): step1Request;
|
|
30
|
-
fromJSON(object: any): step1Request;
|
|
31
|
-
toJSON(message: step1Request): unknown;
|
|
32
|
-
create<I extends Exact<DeepPartial<step1Request>, I>>(base?: I): step1Request;
|
|
33
|
-
fromPartial<I extends Exact<DeepPartial<step1Request>, I>>(object: I): step1Request;
|
|
34
|
-
};
|
|
35
|
-
export declare const Validation: {
|
|
36
|
-
encode(message: Validation, writer?: _m0.Writer): _m0.Writer;
|
|
37
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Validation;
|
|
38
|
-
fromJSON(object: any): Validation;
|
|
39
|
-
toJSON(message: Validation): unknown;
|
|
40
|
-
create<I extends Exact<DeepPartial<Validation>, I>>(base?: I): Validation;
|
|
41
|
-
fromPartial<I extends Exact<DeepPartial<Validation>, I>>(object: I): Validation;
|
|
42
|
-
};
|
|
43
|
-
export declare const step1Response: {
|
|
44
|
-
encode(message: step1Response, writer?: _m0.Writer): _m0.Writer;
|
|
45
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): step1Response;
|
|
46
|
-
fromJSON(object: any): step1Response;
|
|
47
|
-
toJSON(message: step1Response): unknown;
|
|
48
|
-
create<I extends Exact<DeepPartial<step1Response>, I>>(base?: I): step1Response;
|
|
49
|
-
fromPartial<I extends Exact<DeepPartial<step1Response>, I>>(object: I): step1Response;
|
|
50
|
-
};
|
|
51
|
-
export declare const step1Response_Field: {
|
|
52
|
-
encode(message: step1Response_Field, writer?: _m0.Writer): _m0.Writer;
|
|
53
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): step1Response_Field;
|
|
54
|
-
fromJSON(object: any): step1Response_Field;
|
|
55
|
-
toJSON(message: step1Response_Field): unknown;
|
|
56
|
-
create<I extends Exact<DeepPartial<step1Response_Field>, I>>(base?: I): step1Response_Field;
|
|
57
|
-
fromPartial<I extends Exact<DeepPartial<step1Response_Field>, I>>(object: I): step1Response_Field;
|
|
58
|
-
};
|
|
59
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
60
|
-
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 {} ? {
|
|
61
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
62
|
-
} : Partial<T>;
|
|
63
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
64
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
65
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
66
|
-
} & {
|
|
67
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
68
|
-
};
|
|
69
|
-
export {};
|