@stashfin/grpc 1.2.387 → 1.2.389
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/enach/updatetxnstatus.d.ts +1 -4
- package/ts/customers/enach/updatetxnstatus.js +8 -64
- package/ts/customers/getcustomerbyid.d.ts +1 -0
- package/ts/customers/getcustomerbyid.js +15 -0
- package/ts/customers/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/step1.d.ts +69 -0
- package/ts/customers/step1.js +395 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +68 -0
- package/ts/customers/step2.js +381 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/verifyemail.d.ts +35 -0
- package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/payments/fundtransfer.d.ts +1 -0
- package/ts/payments/fundtransfer.js +17 -0
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "customers.enach.updatetxnstatus";
|
|
3
3
|
export interface updateTxnStatusRequest {
|
|
4
|
-
|
|
4
|
+
txn_id: string;
|
|
5
5
|
status: string;
|
|
6
|
-
mode?: string | undefined;
|
|
7
|
-
customer_id?: number | undefined;
|
|
8
|
-
clint_id?: string | undefined;
|
|
9
6
|
}
|
|
10
7
|
export interface updateTxnStatusResponse {
|
|
11
8
|
status: string;
|
|
@@ -10,29 +10,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.updateTxnStatusResponse = exports.updateTxnStatusRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
|
-
const long_1 = __importDefault(require("long"));
|
|
14
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
14
|
exports.protobufPackage = "customers.enach.updatetxnstatus";
|
|
16
15
|
function createBaseupdateTxnStatusRequest() {
|
|
17
|
-
return {
|
|
16
|
+
return { txn_id: "", status: "" };
|
|
18
17
|
}
|
|
19
18
|
exports.updateTxnStatusRequest = {
|
|
20
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
-
if (message.
|
|
22
|
-
writer.uint32(10).string(message.
|
|
20
|
+
if (message.txn_id !== "") {
|
|
21
|
+
writer.uint32(10).string(message.txn_id);
|
|
23
22
|
}
|
|
24
23
|
if (message.status !== "") {
|
|
25
24
|
writer.uint32(18).string(message.status);
|
|
26
25
|
}
|
|
27
|
-
if (message.mode !== undefined) {
|
|
28
|
-
writer.uint32(26).string(message.mode);
|
|
29
|
-
}
|
|
30
|
-
if (message.customer_id !== undefined) {
|
|
31
|
-
writer.uint32(32).int64(message.customer_id);
|
|
32
|
-
}
|
|
33
|
-
if (message.clint_id !== undefined) {
|
|
34
|
-
writer.uint32(42).string(message.clint_id);
|
|
35
|
-
}
|
|
36
26
|
return writer;
|
|
37
27
|
},
|
|
38
28
|
decode(input, length) {
|
|
@@ -46,7 +36,7 @@ exports.updateTxnStatusRequest = {
|
|
|
46
36
|
if (tag !== 10) {
|
|
47
37
|
break;
|
|
48
38
|
}
|
|
49
|
-
message.
|
|
39
|
+
message.txn_id = reader.string();
|
|
50
40
|
continue;
|
|
51
41
|
case 2:
|
|
52
42
|
if (tag !== 18) {
|
|
@@ -54,24 +44,6 @@ exports.updateTxnStatusRequest = {
|
|
|
54
44
|
}
|
|
55
45
|
message.status = reader.string();
|
|
56
46
|
continue;
|
|
57
|
-
case 3:
|
|
58
|
-
if (tag !== 26) {
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
message.mode = reader.string();
|
|
62
|
-
continue;
|
|
63
|
-
case 4:
|
|
64
|
-
if (tag !== 32) {
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
message.customer_id = longToNumber(reader.int64());
|
|
68
|
-
continue;
|
|
69
|
-
case 5:
|
|
70
|
-
if (tag !== 42) {
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
|
-
message.clint_id = reader.string();
|
|
74
|
-
continue;
|
|
75
47
|
}
|
|
76
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
77
49
|
break;
|
|
@@ -82,30 +54,18 @@ exports.updateTxnStatusRequest = {
|
|
|
82
54
|
},
|
|
83
55
|
fromJSON(object) {
|
|
84
56
|
return {
|
|
85
|
-
|
|
57
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
86
58
|
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
87
|
-
mode: isSet(object.mode) ? globalThis.String(object.mode) : undefined,
|
|
88
|
-
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
|
|
89
|
-
clint_id: isSet(object.clint_id) ? globalThis.String(object.clint_id) : undefined,
|
|
90
59
|
};
|
|
91
60
|
},
|
|
92
61
|
toJSON(message) {
|
|
93
62
|
const obj = {};
|
|
94
|
-
if (message.
|
|
95
|
-
obj.
|
|
63
|
+
if (message.txn_id !== "") {
|
|
64
|
+
obj.txn_id = message.txn_id;
|
|
96
65
|
}
|
|
97
66
|
if (message.status !== "") {
|
|
98
67
|
obj.status = message.status;
|
|
99
68
|
}
|
|
100
|
-
if (message.mode !== undefined) {
|
|
101
|
-
obj.mode = message.mode;
|
|
102
|
-
}
|
|
103
|
-
if (message.customer_id !== undefined) {
|
|
104
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
105
|
-
}
|
|
106
|
-
if (message.clint_id !== undefined) {
|
|
107
|
-
obj.clint_id = message.clint_id;
|
|
108
|
-
}
|
|
109
69
|
return obj;
|
|
110
70
|
},
|
|
111
71
|
create(base) {
|
|
@@ -113,11 +73,8 @@ exports.updateTxnStatusRequest = {
|
|
|
113
73
|
},
|
|
114
74
|
fromPartial(object) {
|
|
115
75
|
const message = createBaseupdateTxnStatusRequest();
|
|
116
|
-
message.
|
|
76
|
+
message.txn_id = object.txn_id ?? "";
|
|
117
77
|
message.status = object.status ?? "";
|
|
118
|
-
message.mode = object.mode ?? undefined;
|
|
119
|
-
message.customer_id = object.customer_id ?? undefined;
|
|
120
|
-
message.clint_id = object.clint_id ?? undefined;
|
|
121
78
|
return message;
|
|
122
79
|
},
|
|
123
80
|
};
|
|
@@ -171,19 +128,6 @@ exports.updateTxnStatusResponse = {
|
|
|
171
128
|
return message;
|
|
172
129
|
},
|
|
173
130
|
};
|
|
174
|
-
function longToNumber(long) {
|
|
175
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
176
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
177
|
-
}
|
|
178
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
179
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
180
|
-
}
|
|
181
|
-
return long.toNumber();
|
|
182
|
-
}
|
|
183
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
184
|
-
minimal_1.default.util.Long = long_1.default;
|
|
185
|
-
minimal_1.default.configure();
|
|
186
|
-
}
|
|
187
131
|
function isSet(value) {
|
|
188
132
|
return value !== null && value !== undefined;
|
|
189
133
|
}
|
|
@@ -152,6 +152,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
152
152
|
limit_option: "",
|
|
153
153
|
max_loc_limit: undefined,
|
|
154
154
|
enach_amount: 0,
|
|
155
|
+
new_sanctioned_limit: 0,
|
|
155
156
|
};
|
|
156
157
|
}
|
|
157
158
|
exports.getCustomerByIdResponse = {
|
|
@@ -417,6 +418,9 @@ exports.getCustomerByIdResponse = {
|
|
|
417
418
|
if (message.enach_amount !== 0) {
|
|
418
419
|
writer.uint32(709).float(message.enach_amount);
|
|
419
420
|
}
|
|
421
|
+
if (message.new_sanctioned_limit !== 0) {
|
|
422
|
+
writer.uint32(717).float(message.new_sanctioned_limit);
|
|
423
|
+
}
|
|
420
424
|
return writer;
|
|
421
425
|
},
|
|
422
426
|
decode(input, length) {
|
|
@@ -948,6 +952,12 @@ exports.getCustomerByIdResponse = {
|
|
|
948
952
|
}
|
|
949
953
|
message.enach_amount = reader.float();
|
|
950
954
|
continue;
|
|
955
|
+
case 89:
|
|
956
|
+
if (tag !== 717) {
|
|
957
|
+
break;
|
|
958
|
+
}
|
|
959
|
+
message.new_sanctioned_limit = reader.float();
|
|
960
|
+
continue;
|
|
951
961
|
}
|
|
952
962
|
if ((tag & 7) === 4 || tag === 0) {
|
|
953
963
|
break;
|
|
@@ -1045,6 +1055,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1045
1055
|
limit_option: isSet(object.limit_option) ? globalThis.String(object.limit_option) : "",
|
|
1046
1056
|
max_loc_limit: isSet(object.max_loc_limit) ? globalThis.Number(object.max_loc_limit) : undefined,
|
|
1047
1057
|
enach_amount: isSet(object.enach_amount) ? globalThis.Number(object.enach_amount) : 0,
|
|
1058
|
+
new_sanctioned_limit: isSet(object.new_sanctioned_limit) ? globalThis.Number(object.new_sanctioned_limit) : 0,
|
|
1048
1059
|
};
|
|
1049
1060
|
},
|
|
1050
1061
|
toJSON(message) {
|
|
@@ -1310,6 +1321,9 @@ exports.getCustomerByIdResponse = {
|
|
|
1310
1321
|
if (message.enach_amount !== 0) {
|
|
1311
1322
|
obj.enach_amount = message.enach_amount;
|
|
1312
1323
|
}
|
|
1324
|
+
if (message.new_sanctioned_limit !== 0) {
|
|
1325
|
+
obj.new_sanctioned_limit = message.new_sanctioned_limit;
|
|
1326
|
+
}
|
|
1313
1327
|
return obj;
|
|
1314
1328
|
},
|
|
1315
1329
|
create(base) {
|
|
@@ -1412,6 +1426,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1412
1426
|
message.limit_option = object.limit_option ?? "";
|
|
1413
1427
|
message.max_loc_limit = object.max_loc_limit ?? undefined;
|
|
1414
1428
|
message.enach_amount = object.enach_amount ?? 0;
|
|
1429
|
+
message.new_sanctioned_limit = object.new_sanctioned_limit ?? 0;
|
|
1415
1430
|
return message;
|
|
1416
1431
|
},
|
|
1417
1432
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getrpdlink";
|
|
3
|
+
export interface createRpdLinkRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface createRpdLinkResponse {
|
|
6
|
+
id: string;
|
|
7
|
+
shortUrl: string;
|
|
8
|
+
status: string;
|
|
9
|
+
traceId: string;
|
|
10
|
+
upiBillId: string;
|
|
11
|
+
upiLink: string;
|
|
12
|
+
validUpto: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createRpdLinkRequest: {
|
|
15
|
+
encode(_: createRpdLinkRequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkRequest;
|
|
17
|
+
fromJSON(_: any): createRpdLinkRequest;
|
|
18
|
+
toJSON(_: createRpdLinkRequest): unknown;
|
|
19
|
+
create<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(base?: I): createRpdLinkRequest;
|
|
20
|
+
fromPartial<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(_: I): createRpdLinkRequest;
|
|
21
|
+
};
|
|
22
|
+
export declare const createRpdLinkResponse: {
|
|
23
|
+
encode(message: createRpdLinkResponse, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkResponse;
|
|
25
|
+
fromJSON(object: any): createRpdLinkResponse;
|
|
26
|
+
toJSON(message: createRpdLinkResponse): unknown;
|
|
27
|
+
create<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(base?: I): createRpdLinkResponse;
|
|
28
|
+
fromPartial<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(object: I): createRpdLinkResponse;
|
|
29
|
+
};
|
|
30
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
31
|
+
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 {} ? {
|
|
32
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
33
|
+
} : Partial<T>;
|
|
34
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
35
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
36
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
37
|
+
} & {
|
|
38
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
39
|
+
};
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,190 @@
|
|
|
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.0
|
|
6
|
+
// source: customers/getrpdlink.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.createRpdLinkResponse = exports.createRpdLinkRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.getrpdlink";
|
|
15
|
+
function createBasecreateRpdLinkRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.createRpdLinkRequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasecreateRpdLinkRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.createRpdLinkRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasecreateRpdLinkRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasecreateRpdLinkResponse() {
|
|
53
|
+
return { id: "", shortUrl: "", status: "", traceId: "", upiBillId: "", upiLink: "", validUpto: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.createRpdLinkResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.id !== "") {
|
|
58
|
+
writer.uint32(10).string(message.id);
|
|
59
|
+
}
|
|
60
|
+
if (message.shortUrl !== "") {
|
|
61
|
+
writer.uint32(18).string(message.shortUrl);
|
|
62
|
+
}
|
|
63
|
+
if (message.status !== "") {
|
|
64
|
+
writer.uint32(26).string(message.status);
|
|
65
|
+
}
|
|
66
|
+
if (message.traceId !== "") {
|
|
67
|
+
writer.uint32(34).string(message.traceId);
|
|
68
|
+
}
|
|
69
|
+
if (message.upiBillId !== "") {
|
|
70
|
+
writer.uint32(42).string(message.upiBillId);
|
|
71
|
+
}
|
|
72
|
+
if (message.upiLink !== "") {
|
|
73
|
+
writer.uint32(50).string(message.upiLink);
|
|
74
|
+
}
|
|
75
|
+
if (message.validUpto !== "") {
|
|
76
|
+
writer.uint32(58).string(message.validUpto);
|
|
77
|
+
}
|
|
78
|
+
return writer;
|
|
79
|
+
},
|
|
80
|
+
decode(input, length) {
|
|
81
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
82
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
83
|
+
const message = createBasecreateRpdLinkResponse();
|
|
84
|
+
while (reader.pos < end) {
|
|
85
|
+
const tag = reader.uint32();
|
|
86
|
+
switch (tag >>> 3) {
|
|
87
|
+
case 1:
|
|
88
|
+
if (tag !== 10) {
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
message.id = reader.string();
|
|
92
|
+
continue;
|
|
93
|
+
case 2:
|
|
94
|
+
if (tag !== 18) {
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
message.shortUrl = reader.string();
|
|
98
|
+
continue;
|
|
99
|
+
case 3:
|
|
100
|
+
if (tag !== 26) {
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
message.status = reader.string();
|
|
104
|
+
continue;
|
|
105
|
+
case 4:
|
|
106
|
+
if (tag !== 34) {
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
message.traceId = reader.string();
|
|
110
|
+
continue;
|
|
111
|
+
case 5:
|
|
112
|
+
if (tag !== 42) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
message.upiBillId = reader.string();
|
|
116
|
+
continue;
|
|
117
|
+
case 6:
|
|
118
|
+
if (tag !== 50) {
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
message.upiLink = reader.string();
|
|
122
|
+
continue;
|
|
123
|
+
case 7:
|
|
124
|
+
if (tag !== 58) {
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
message.validUpto = reader.string();
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
reader.skipType(tag & 7);
|
|
134
|
+
}
|
|
135
|
+
return message;
|
|
136
|
+
},
|
|
137
|
+
fromJSON(object) {
|
|
138
|
+
return {
|
|
139
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
140
|
+
shortUrl: isSet(object.shortUrl) ? globalThis.String(object.shortUrl) : "",
|
|
141
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
142
|
+
traceId: isSet(object.traceId) ? globalThis.String(object.traceId) : "",
|
|
143
|
+
upiBillId: isSet(object.upiBillId) ? globalThis.String(object.upiBillId) : "",
|
|
144
|
+
upiLink: isSet(object.upiLink) ? globalThis.String(object.upiLink) : "",
|
|
145
|
+
validUpto: isSet(object.validUpto) ? globalThis.String(object.validUpto) : "",
|
|
146
|
+
};
|
|
147
|
+
},
|
|
148
|
+
toJSON(message) {
|
|
149
|
+
const obj = {};
|
|
150
|
+
if (message.id !== "") {
|
|
151
|
+
obj.id = message.id;
|
|
152
|
+
}
|
|
153
|
+
if (message.shortUrl !== "") {
|
|
154
|
+
obj.shortUrl = message.shortUrl;
|
|
155
|
+
}
|
|
156
|
+
if (message.status !== "") {
|
|
157
|
+
obj.status = message.status;
|
|
158
|
+
}
|
|
159
|
+
if (message.traceId !== "") {
|
|
160
|
+
obj.traceId = message.traceId;
|
|
161
|
+
}
|
|
162
|
+
if (message.upiBillId !== "") {
|
|
163
|
+
obj.upiBillId = message.upiBillId;
|
|
164
|
+
}
|
|
165
|
+
if (message.upiLink !== "") {
|
|
166
|
+
obj.upiLink = message.upiLink;
|
|
167
|
+
}
|
|
168
|
+
if (message.validUpto !== "") {
|
|
169
|
+
obj.validUpto = message.validUpto;
|
|
170
|
+
}
|
|
171
|
+
return obj;
|
|
172
|
+
},
|
|
173
|
+
create(base) {
|
|
174
|
+
return exports.createRpdLinkResponse.fromPartial(base ?? {});
|
|
175
|
+
},
|
|
176
|
+
fromPartial(object) {
|
|
177
|
+
const message = createBasecreateRpdLinkResponse();
|
|
178
|
+
message.id = object.id ?? "";
|
|
179
|
+
message.shortUrl = object.shortUrl ?? "";
|
|
180
|
+
message.status = object.status ?? "";
|
|
181
|
+
message.traceId = object.traceId ?? "";
|
|
182
|
+
message.upiBillId = object.upiBillId ?? "";
|
|
183
|
+
message.upiLink = object.upiLink ?? "";
|
|
184
|
+
message.validUpto = object.validUpto ?? "";
|
|
185
|
+
return message;
|
|
186
|
+
},
|
|
187
|
+
};
|
|
188
|
+
function isSet(value) {
|
|
189
|
+
return value !== null && value !== undefined;
|
|
190
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v3.20.3
|
|
6
|
+
// source: customers/sendemailtoken.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.sendEmailTokenResponse = exports.sendEmailTokenRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.sendemailtoken";
|
|
15
|
+
function createBasesendEmailTokenRequest() {
|
|
16
|
+
return { email: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.sendEmailTokenRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.email !== "") {
|
|
21
|
+
writer.uint32(10).string(message.email);
|
|
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 = createBasesendEmailTokenRequest();
|
|
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.email = 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 { email: isSet(object.email) ? globalThis.String(object.email) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.email !== "") {
|
|
52
|
+
obj.email = message.email;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.sendEmailTokenRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasesendEmailTokenRequest();
|
|
61
|
+
message.email = object.email ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasesendEmailTokenResponse() {
|
|
66
|
+
return { token: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.sendEmailTokenResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.token !== "") {
|
|
71
|
+
writer.uint32(10).string(message.token);
|
|
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 = createBasesendEmailTokenResponse();
|
|
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.token = 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 { token: isSet(object.token) ? globalThis.String(object.token) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.token !== "") {
|
|
102
|
+
obj.token = message.token;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.sendEmailTokenResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasesendEmailTokenResponse();
|
|
111
|
+
message.token = object.token ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 {};
|