@stashfin/grpc 1.2.492 → 1.2.494
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
CHANGED
|
@@ -6,7 +6,7 @@ export interface pendingCollectRequest {
|
|
|
6
6
|
profile_id: string;
|
|
7
7
|
}
|
|
8
8
|
export interface CollectRequest {
|
|
9
|
-
date?:
|
|
9
|
+
date?: number | undefined;
|
|
10
10
|
note?: string | undefined;
|
|
11
11
|
amount?: number | undefined;
|
|
12
12
|
seqNo?: string | undefined;
|
|
@@ -21,6 +21,7 @@ export interface CollectRequest {
|
|
|
21
21
|
direction?: string | undefined;
|
|
22
22
|
status?: string | undefined;
|
|
23
23
|
payeeVerifiedMerchant?: string | undefined;
|
|
24
|
+
payeeType?: string | undefined;
|
|
24
25
|
}
|
|
25
26
|
export interface Data {
|
|
26
27
|
requests: CollectRequest[];
|
|
@@ -110,12 +110,13 @@ function createBaseCollectRequest() {
|
|
|
110
110
|
direction: undefined,
|
|
111
111
|
status: undefined,
|
|
112
112
|
payeeVerifiedMerchant: undefined,
|
|
113
|
+
payeeType: undefined,
|
|
113
114
|
};
|
|
114
115
|
}
|
|
115
116
|
exports.CollectRequest = {
|
|
116
117
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
117
118
|
if (message.date !== undefined) {
|
|
118
|
-
writer.uint32(
|
|
119
|
+
writer.uint32(8).int64(message.date);
|
|
119
120
|
}
|
|
120
121
|
if (message.note !== undefined) {
|
|
121
122
|
writer.uint32(18).string(message.note);
|
|
@@ -159,6 +160,9 @@ exports.CollectRequest = {
|
|
|
159
160
|
if (message.payeeVerifiedMerchant !== undefined) {
|
|
160
161
|
writer.uint32(130).string(message.payeeVerifiedMerchant);
|
|
161
162
|
}
|
|
163
|
+
if (message.payeeType !== undefined) {
|
|
164
|
+
writer.uint32(138).string(message.payeeType);
|
|
165
|
+
}
|
|
162
166
|
return writer;
|
|
163
167
|
},
|
|
164
168
|
decode(input, length) {
|
|
@@ -169,10 +173,10 @@ exports.CollectRequest = {
|
|
|
169
173
|
const tag = reader.uint32();
|
|
170
174
|
switch (tag >>> 3) {
|
|
171
175
|
case 1:
|
|
172
|
-
if (tag !==
|
|
176
|
+
if (tag !== 8) {
|
|
173
177
|
break;
|
|
174
178
|
}
|
|
175
|
-
message.date = reader.
|
|
179
|
+
message.date = longToNumber(reader.int64());
|
|
176
180
|
continue;
|
|
177
181
|
case 2:
|
|
178
182
|
if (tag !== 18) {
|
|
@@ -258,6 +262,12 @@ exports.CollectRequest = {
|
|
|
258
262
|
}
|
|
259
263
|
message.payeeVerifiedMerchant = reader.string();
|
|
260
264
|
continue;
|
|
265
|
+
case 17:
|
|
266
|
+
if (tag !== 138) {
|
|
267
|
+
break;
|
|
268
|
+
}
|
|
269
|
+
message.payeeType = reader.string();
|
|
270
|
+
continue;
|
|
261
271
|
}
|
|
262
272
|
if ((tag & 7) === 4 || tag === 0) {
|
|
263
273
|
break;
|
|
@@ -268,7 +278,7 @@ exports.CollectRequest = {
|
|
|
268
278
|
},
|
|
269
279
|
fromJSON(object) {
|
|
270
280
|
return {
|
|
271
|
-
date: isSet(object.date) ? globalThis.
|
|
281
|
+
date: isSet(object.date) ? globalThis.Number(object.date) : undefined,
|
|
272
282
|
note: isSet(object.note) ? globalThis.String(object.note) : undefined,
|
|
273
283
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : undefined,
|
|
274
284
|
seqNo: isSet(object.seqNo) ? globalThis.String(object.seqNo) : undefined,
|
|
@@ -285,12 +295,13 @@ exports.CollectRequest = {
|
|
|
285
295
|
payeeVerifiedMerchant: isSet(object.payeeVerifiedMerchant)
|
|
286
296
|
? globalThis.String(object.payeeVerifiedMerchant)
|
|
287
297
|
: undefined,
|
|
298
|
+
payeeType: isSet(object.payeeType) ? globalThis.String(object.payeeType) : undefined,
|
|
288
299
|
};
|
|
289
300
|
},
|
|
290
301
|
toJSON(message) {
|
|
291
302
|
const obj = {};
|
|
292
303
|
if (message.date !== undefined) {
|
|
293
|
-
obj.date = message.date;
|
|
304
|
+
obj.date = Math.round(message.date);
|
|
294
305
|
}
|
|
295
306
|
if (message.note !== undefined) {
|
|
296
307
|
obj.note = message.note;
|
|
@@ -334,6 +345,9 @@ exports.CollectRequest = {
|
|
|
334
345
|
if (message.payeeVerifiedMerchant !== undefined) {
|
|
335
346
|
obj.payeeVerifiedMerchant = message.payeeVerifiedMerchant;
|
|
336
347
|
}
|
|
348
|
+
if (message.payeeType !== undefined) {
|
|
349
|
+
obj.payeeType = message.payeeType;
|
|
350
|
+
}
|
|
337
351
|
return obj;
|
|
338
352
|
},
|
|
339
353
|
create(base) {
|
|
@@ -356,6 +370,7 @@ exports.CollectRequest = {
|
|
|
356
370
|
message.direction = object.direction ?? undefined;
|
|
357
371
|
message.status = object.status ?? undefined;
|
|
358
372
|
message.payeeVerifiedMerchant = object.payeeVerifiedMerchant ?? undefined;
|
|
373
|
+
message.payeeType = object.payeeType ?? undefined;
|
|
359
374
|
return message;
|
|
360
375
|
},
|
|
361
376
|
};
|
package/ts/upi/getprofile.d.ts
CHANGED
|
@@ -52,10 +52,10 @@ export interface Account {
|
|
|
52
52
|
CredsAllowed?: CredsAllowedList | undefined;
|
|
53
53
|
ifsc?: string | undefined;
|
|
54
54
|
accType?: string | undefined;
|
|
55
|
-
|
|
55
|
+
default_credit?: string | undefined;
|
|
56
56
|
account?: string | undefined;
|
|
57
57
|
status?: string | undefined;
|
|
58
|
-
|
|
58
|
+
onboarding_type?: string | undefined;
|
|
59
59
|
}
|
|
60
60
|
/** CredsAllowed nested message */
|
|
61
61
|
export interface CredsAllowedList {
|
package/ts/upi/getprofile.js
CHANGED
|
@@ -545,10 +545,10 @@ function createBaseAccount() {
|
|
|
545
545
|
CredsAllowed: undefined,
|
|
546
546
|
ifsc: undefined,
|
|
547
547
|
accType: undefined,
|
|
548
|
-
|
|
548
|
+
default_credit: undefined,
|
|
549
549
|
account: undefined,
|
|
550
550
|
status: undefined,
|
|
551
|
-
|
|
551
|
+
onboarding_type: undefined,
|
|
552
552
|
};
|
|
553
553
|
}
|
|
554
554
|
exports.Account = {
|
|
@@ -604,8 +604,8 @@ exports.Account = {
|
|
|
604
604
|
if (message.accType !== undefined) {
|
|
605
605
|
writer.uint32(138).string(message.accType);
|
|
606
606
|
}
|
|
607
|
-
if (message.
|
|
608
|
-
writer.uint32(146).string(message.
|
|
607
|
+
if (message.default_credit !== undefined) {
|
|
608
|
+
writer.uint32(146).string(message.default_credit);
|
|
609
609
|
}
|
|
610
610
|
if (message.account !== undefined) {
|
|
611
611
|
writer.uint32(154).string(message.account);
|
|
@@ -613,8 +613,8 @@ exports.Account = {
|
|
|
613
613
|
if (message.status !== undefined) {
|
|
614
614
|
writer.uint32(162).string(message.status);
|
|
615
615
|
}
|
|
616
|
-
if (message.
|
|
617
|
-
writer.uint32(170).string(message.
|
|
616
|
+
if (message.onboarding_type !== undefined) {
|
|
617
|
+
writer.uint32(170).string(message.onboarding_type);
|
|
618
618
|
}
|
|
619
619
|
return writer;
|
|
620
620
|
},
|
|
@@ -731,7 +731,7 @@ exports.Account = {
|
|
|
731
731
|
if (tag !== 146) {
|
|
732
732
|
break;
|
|
733
733
|
}
|
|
734
|
-
message.
|
|
734
|
+
message.default_credit = reader.string();
|
|
735
735
|
continue;
|
|
736
736
|
case 19:
|
|
737
737
|
if (tag !== 154) {
|
|
@@ -749,7 +749,7 @@ exports.Account = {
|
|
|
749
749
|
if (tag !== 170) {
|
|
750
750
|
break;
|
|
751
751
|
}
|
|
752
|
-
message.
|
|
752
|
+
message.onboarding_type = reader.string();
|
|
753
753
|
continue;
|
|
754
754
|
}
|
|
755
755
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -778,10 +778,10 @@ exports.Account = {
|
|
|
778
778
|
CredsAllowed: isSet(object.CredsAllowed) ? exports.CredsAllowedList.fromJSON(object.CredsAllowed) : undefined,
|
|
779
779
|
ifsc: isSet(object.ifsc) ? globalThis.String(object.ifsc) : undefined,
|
|
780
780
|
accType: isSet(object.accType) ? globalThis.String(object.accType) : undefined,
|
|
781
|
-
|
|
781
|
+
default_credit: isSet(object.default_credit) ? globalThis.String(object.default_credit) : undefined,
|
|
782
782
|
account: isSet(object.account) ? globalThis.String(object.account) : undefined,
|
|
783
783
|
status: isSet(object.status) ? globalThis.String(object.status) : undefined,
|
|
784
|
-
|
|
784
|
+
onboarding_type: isSet(object.onboarding_type) ? globalThis.String(object.onboarding_type) : undefined,
|
|
785
785
|
};
|
|
786
786
|
},
|
|
787
787
|
toJSON(message) {
|
|
@@ -837,8 +837,8 @@ exports.Account = {
|
|
|
837
837
|
if (message.accType !== undefined) {
|
|
838
838
|
obj.accType = message.accType;
|
|
839
839
|
}
|
|
840
|
-
if (message.
|
|
841
|
-
obj.
|
|
840
|
+
if (message.default_credit !== undefined) {
|
|
841
|
+
obj.default_credit = message.default_credit;
|
|
842
842
|
}
|
|
843
843
|
if (message.account !== undefined) {
|
|
844
844
|
obj.account = message.account;
|
|
@@ -846,8 +846,8 @@ exports.Account = {
|
|
|
846
846
|
if (message.status !== undefined) {
|
|
847
847
|
obj.status = message.status;
|
|
848
848
|
}
|
|
849
|
-
if (message.
|
|
850
|
-
obj.
|
|
849
|
+
if (message.onboarding_type !== undefined) {
|
|
850
|
+
obj.onboarding_type = message.onboarding_type;
|
|
851
851
|
}
|
|
852
852
|
return obj;
|
|
853
853
|
},
|
|
@@ -875,10 +875,10 @@ exports.Account = {
|
|
|
875
875
|
: undefined;
|
|
876
876
|
message.ifsc = object.ifsc ?? undefined;
|
|
877
877
|
message.accType = object.accType ?? undefined;
|
|
878
|
-
message.
|
|
878
|
+
message.default_credit = object.default_credit ?? undefined;
|
|
879
879
|
message.account = object.account ?? undefined;
|
|
880
880
|
message.status = object.status ?? undefined;
|
|
881
|
-
message.
|
|
881
|
+
message.onboarding_type = object.onboarding_type ?? undefined;
|
|
882
882
|
return message;
|
|
883
883
|
},
|
|
884
884
|
};
|