@stashfin/grpc 1.2.283 → 1.2.284
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/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/customers/verifyemail.js +117 -0
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/payments/nachregistration.d.ts +1 -0
- package/ts/payments/nachregistration.js +15 -0
|
@@ -0,0 +1,97 @@
|
|
|
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: google/protobuf/timestamp.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.Timestamp = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const long_1 = __importDefault(require("long"));
|
|
14
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
+
exports.protobufPackage = "google.protobuf";
|
|
16
|
+
function createBaseTimestamp() {
|
|
17
|
+
return { seconds: 0, nanos: 0 };
|
|
18
|
+
}
|
|
19
|
+
exports.Timestamp = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.seconds !== 0) {
|
|
22
|
+
writer.uint32(8).int64(message.seconds);
|
|
23
|
+
}
|
|
24
|
+
if (message.nanos !== 0) {
|
|
25
|
+
writer.uint32(16).int32(message.nanos);
|
|
26
|
+
}
|
|
27
|
+
return writer;
|
|
28
|
+
},
|
|
29
|
+
decode(input, length) {
|
|
30
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
31
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
+
const message = createBaseTimestamp();
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1:
|
|
37
|
+
if (tag !== 8) {
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
message.seconds = longToNumber(reader.int64());
|
|
41
|
+
continue;
|
|
42
|
+
case 2:
|
|
43
|
+
if (tag !== 16) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
message.nanos = reader.int32();
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
reader.skipType(tag & 7);
|
|
53
|
+
}
|
|
54
|
+
return message;
|
|
55
|
+
},
|
|
56
|
+
fromJSON(object) {
|
|
57
|
+
return {
|
|
58
|
+
seconds: isSet(object.seconds) ? globalThis.Number(object.seconds) : 0,
|
|
59
|
+
nanos: isSet(object.nanos) ? globalThis.Number(object.nanos) : 0,
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
toJSON(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
if (message.seconds !== 0) {
|
|
65
|
+
obj.seconds = Math.round(message.seconds);
|
|
66
|
+
}
|
|
67
|
+
if (message.nanos !== 0) {
|
|
68
|
+
obj.nanos = Math.round(message.nanos);
|
|
69
|
+
}
|
|
70
|
+
return obj;
|
|
71
|
+
},
|
|
72
|
+
create(base) {
|
|
73
|
+
return exports.Timestamp.fromPartial(base ?? {});
|
|
74
|
+
},
|
|
75
|
+
fromPartial(object) {
|
|
76
|
+
const message = createBaseTimestamp();
|
|
77
|
+
message.seconds = object.seconds ?? 0;
|
|
78
|
+
message.nanos = object.nanos ?? 0;
|
|
79
|
+
return message;
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
function longToNumber(long) {
|
|
83
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
84
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
85
|
+
}
|
|
86
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
87
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
88
|
+
}
|
|
89
|
+
return long.toNumber();
|
|
90
|
+
}
|
|
91
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
92
|
+
minimal_1.default.util.Long = long_1.default;
|
|
93
|
+
minimal_1.default.configure();
|
|
94
|
+
}
|
|
95
|
+
function isSet(value) {
|
|
96
|
+
return value !== null && value !== undefined;
|
|
97
|
+
}
|
|
@@ -23,6 +23,7 @@ function createBaserequest() {
|
|
|
23
23
|
bank_ifsc: undefined,
|
|
24
24
|
maximum_amount: 0,
|
|
25
25
|
external_order_id: "",
|
|
26
|
+
vpa_id: undefined,
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
exports.request = {
|
|
@@ -51,6 +52,9 @@ exports.request = {
|
|
|
51
52
|
if (message.external_order_id !== "") {
|
|
52
53
|
writer.uint32(66).string(message.external_order_id);
|
|
53
54
|
}
|
|
55
|
+
if (message.vpa_id !== undefined) {
|
|
56
|
+
writer.uint32(74).string(message.vpa_id);
|
|
57
|
+
}
|
|
54
58
|
return writer;
|
|
55
59
|
},
|
|
56
60
|
decode(input, length) {
|
|
@@ -108,6 +112,12 @@ exports.request = {
|
|
|
108
112
|
}
|
|
109
113
|
message.external_order_id = reader.string();
|
|
110
114
|
continue;
|
|
115
|
+
case 9:
|
|
116
|
+
if (tag !== 74) {
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
message.vpa_id = reader.string();
|
|
120
|
+
continue;
|
|
111
121
|
}
|
|
112
122
|
if ((tag & 7) === 4 || tag === 0) {
|
|
113
123
|
break;
|
|
@@ -128,6 +138,7 @@ exports.request = {
|
|
|
128
138
|
bank_ifsc: isSet(object.bank_ifsc) ? globalThis.String(object.bank_ifsc) : undefined,
|
|
129
139
|
maximum_amount: isSet(object.maximum_amount) ? globalThis.Number(object.maximum_amount) : 0,
|
|
130
140
|
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
141
|
+
vpa_id: isSet(object.vpa_id) ? globalThis.String(object.vpa_id) : undefined,
|
|
131
142
|
};
|
|
132
143
|
},
|
|
133
144
|
toJSON(message) {
|
|
@@ -156,6 +167,9 @@ exports.request = {
|
|
|
156
167
|
if (message.external_order_id !== "") {
|
|
157
168
|
obj.external_order_id = message.external_order_id;
|
|
158
169
|
}
|
|
170
|
+
if (message.vpa_id !== undefined) {
|
|
171
|
+
obj.vpa_id = message.vpa_id;
|
|
172
|
+
}
|
|
159
173
|
return obj;
|
|
160
174
|
},
|
|
161
175
|
create(base) {
|
|
@@ -171,6 +185,7 @@ exports.request = {
|
|
|
171
185
|
message.bank_ifsc = object.bank_ifsc ?? undefined;
|
|
172
186
|
message.maximum_amount = object.maximum_amount ?? 0;
|
|
173
187
|
message.external_order_id = object.external_order_id ?? "";
|
|
188
|
+
message.vpa_id = object.vpa_id ?? undefined;
|
|
174
189
|
return message;
|
|
175
190
|
},
|
|
176
191
|
};
|