@stashfin/grpc 1.2.227 → 1.2.229
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/bureau/getdbrcolending.d.ts +36 -0
- package/ts/bureau/getdbrcolending.js +147 -0
- package/ts/bureau.d.ts +11 -11
- package/ts/bureau.js +7 -7
- package/ts/customers/cb/getcbtxnstatus.d.ts +35 -0
- package/ts/customers/cb/getcbtxnstatus.js +117 -0
- package/ts/customers/cb/getcreditbuilder.d.ts +4 -5
- package/ts/customers/cb/getcreditbuilder.js +6 -19
- package/ts/customers/cb/paynow.d.ts +1 -1
- package/ts/customers/cb/paynow.js +9 -23
- package/ts/customers/cb/updatecbtxnstatus.d.ts +37 -0
- package/ts/customers/cb/updatecbtxnstatus.js +147 -0
- package/ts/customers/getcustomerbyid.d.ts +1 -1
- package/ts/customers/getcustomerbyid.js +5 -5
- package/ts/customers.d.ts +28 -0
- package/ts/customers.js +20 -0
- package/ts/growth/getchrplans.d.ts +1 -1
- package/ts/growth/getchrplans.js +7 -7
- package/ts/payments/nachpresentation.d.ts +0 -1
- package/ts/payments/nachpresentation.js +8 -22
- package/ts/payments/nachregistration.d.ts +0 -1
- package/ts/payments/nachregistration.js +15 -30
package/package.json
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "bureau.getdbrcolending";
|
|
3
|
+
export interface dbrRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
}
|
|
6
|
+
export interface dbrResponse {
|
|
7
|
+
status: string;
|
|
8
|
+
dbr: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const dbrRequest: {
|
|
11
|
+
encode(message: dbrRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): dbrRequest;
|
|
13
|
+
fromJSON(object: any): dbrRequest;
|
|
14
|
+
toJSON(message: dbrRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<dbrRequest>, I>>(base?: I): dbrRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<dbrRequest>, I>>(object: I): dbrRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const dbrResponse: {
|
|
19
|
+
encode(message: dbrResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): dbrResponse;
|
|
21
|
+
fromJSON(object: any): dbrResponse;
|
|
22
|
+
toJSON(message: dbrResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<dbrResponse>, I>>(base?: I): dbrResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<dbrResponse>, I>>(object: I): dbrResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,147 @@
|
|
|
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.1
|
|
6
|
+
// source: bureau/getdbrcolending.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.dbrResponse = exports.dbrRequest = 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 = "bureau.getdbrcolending";
|
|
16
|
+
function createBasedbrRequest() {
|
|
17
|
+
return { customer_id: 0 };
|
|
18
|
+
}
|
|
19
|
+
exports.dbrRequest = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.customer_id !== 0) {
|
|
22
|
+
writer.uint32(8).int64(message.customer_id);
|
|
23
|
+
}
|
|
24
|
+
return writer;
|
|
25
|
+
},
|
|
26
|
+
decode(input, length) {
|
|
27
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
28
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
+
const message = createBasedbrRequest();
|
|
30
|
+
while (reader.pos < end) {
|
|
31
|
+
const tag = reader.uint32();
|
|
32
|
+
switch (tag >>> 3) {
|
|
33
|
+
case 1:
|
|
34
|
+
if (tag !== 8) {
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
message.customer_id = longToNumber(reader.int64());
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
reader.skipType(tag & 7);
|
|
44
|
+
}
|
|
45
|
+
return message;
|
|
46
|
+
},
|
|
47
|
+
fromJSON(object) {
|
|
48
|
+
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
49
|
+
},
|
|
50
|
+
toJSON(message) {
|
|
51
|
+
const obj = {};
|
|
52
|
+
if (message.customer_id !== 0) {
|
|
53
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
54
|
+
}
|
|
55
|
+
return obj;
|
|
56
|
+
},
|
|
57
|
+
create(base) {
|
|
58
|
+
return exports.dbrRequest.fromPartial(base ?? {});
|
|
59
|
+
},
|
|
60
|
+
fromPartial(object) {
|
|
61
|
+
const message = createBasedbrRequest();
|
|
62
|
+
message.customer_id = object.customer_id ?? 0;
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
function createBasedbrResponse() {
|
|
67
|
+
return { status: "", dbr: 0 };
|
|
68
|
+
}
|
|
69
|
+
exports.dbrResponse = {
|
|
70
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
71
|
+
if (message.status !== "") {
|
|
72
|
+
writer.uint32(10).string(message.status);
|
|
73
|
+
}
|
|
74
|
+
if (message.dbr !== 0) {
|
|
75
|
+
writer.uint32(16).int64(message.dbr);
|
|
76
|
+
}
|
|
77
|
+
return writer;
|
|
78
|
+
},
|
|
79
|
+
decode(input, length) {
|
|
80
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
81
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
|
+
const message = createBasedbrResponse();
|
|
83
|
+
while (reader.pos < end) {
|
|
84
|
+
const tag = reader.uint32();
|
|
85
|
+
switch (tag >>> 3) {
|
|
86
|
+
case 1:
|
|
87
|
+
if (tag !== 10) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.status = reader.string();
|
|
91
|
+
continue;
|
|
92
|
+
case 2:
|
|
93
|
+
if (tag !== 16) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.dbr = longToNumber(reader.int64());
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
reader.skipType(tag & 7);
|
|
103
|
+
}
|
|
104
|
+
return message;
|
|
105
|
+
},
|
|
106
|
+
fromJSON(object) {
|
|
107
|
+
return {
|
|
108
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
109
|
+
dbr: isSet(object.dbr) ? globalThis.Number(object.dbr) : 0,
|
|
110
|
+
};
|
|
111
|
+
},
|
|
112
|
+
toJSON(message) {
|
|
113
|
+
const obj = {};
|
|
114
|
+
if (message.status !== "") {
|
|
115
|
+
obj.status = message.status;
|
|
116
|
+
}
|
|
117
|
+
if (message.dbr !== 0) {
|
|
118
|
+
obj.dbr = Math.round(message.dbr);
|
|
119
|
+
}
|
|
120
|
+
return obj;
|
|
121
|
+
},
|
|
122
|
+
create(base) {
|
|
123
|
+
return exports.dbrResponse.fromPartial(base ?? {});
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBasedbrResponse();
|
|
127
|
+
message.status = object.status ?? "";
|
|
128
|
+
message.dbr = object.dbr ?? 0;
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
function longToNumber(long) {
|
|
133
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
134
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
135
|
+
}
|
|
136
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
137
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
138
|
+
}
|
|
139
|
+
return long.toNumber();
|
|
140
|
+
}
|
|
141
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
142
|
+
minimal_1.default.util.Long = long_1.default;
|
|
143
|
+
minimal_1.default.configure();
|
|
144
|
+
}
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
package/ts/bureau.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
2
|
import { detailsRequest, detailsResponse } from "./bureau/getbasicdetails";
|
|
3
|
-
import {
|
|
3
|
+
import { dbrRequest, dbrResponse } from "./bureau/getdbrcolending";
|
|
4
4
|
import { demogsRequest, demogsResponse } from "./bureau/getdemogs";
|
|
5
5
|
import { obligationRequest, obligationResponse } from "./bureau/getobligation";
|
|
6
6
|
import { bureauRequest, bureauResponse } from "./bureau/getreport";
|
|
@@ -43,14 +43,14 @@ export declare const bureauService: {
|
|
|
43
43
|
readonly responseSerialize: (value: obligationResponse) => Buffer;
|
|
44
44
|
readonly responseDeserialize: (value: Buffer) => obligationResponse;
|
|
45
45
|
};
|
|
46
|
-
readonly
|
|
47
|
-
readonly path: "/service.bureau/
|
|
46
|
+
readonly getColendingDbr: {
|
|
47
|
+
readonly path: "/service.bureau/getColendingDBR";
|
|
48
48
|
readonly requestStream: false;
|
|
49
49
|
readonly responseStream: false;
|
|
50
|
-
readonly requestSerialize: (value:
|
|
51
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
52
|
-
readonly responseSerialize: (value:
|
|
53
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
50
|
+
readonly requestSerialize: (value: dbrRequest) => Buffer;
|
|
51
|
+
readonly requestDeserialize: (value: Buffer) => dbrRequest;
|
|
52
|
+
readonly responseSerialize: (value: dbrResponse) => Buffer;
|
|
53
|
+
readonly responseDeserialize: (value: Buffer) => dbrResponse;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
export interface bureauServer extends UntypedServiceImplementation {
|
|
@@ -58,7 +58,7 @@ export interface bureauServer extends UntypedServiceImplementation {
|
|
|
58
58
|
getReport: handleUnaryCall<bureauRequest, bureauResponse>;
|
|
59
59
|
getDemogs: handleUnaryCall<demogsRequest, demogsResponse>;
|
|
60
60
|
getObligationData: handleUnaryCall<obligationRequest, obligationResponse>;
|
|
61
|
-
|
|
61
|
+
getColendingDbr: handleUnaryCall<dbrRequest, dbrResponse>;
|
|
62
62
|
}
|
|
63
63
|
export interface bureauClient extends Client {
|
|
64
64
|
getBasicDetails(request: detailsRequest, callback: (error: ServiceError | null, response: detailsResponse) => void): ClientUnaryCall;
|
|
@@ -73,9 +73,9 @@ export interface bureauClient extends Client {
|
|
|
73
73
|
getObligationData(request: obligationRequest, callback: (error: ServiceError | null, response: obligationResponse) => void): ClientUnaryCall;
|
|
74
74
|
getObligationData(request: obligationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: obligationResponse) => void): ClientUnaryCall;
|
|
75
75
|
getObligationData(request: obligationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: obligationResponse) => void): ClientUnaryCall;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
getColendingDbr(request: dbrRequest, callback: (error: ServiceError | null, response: dbrResponse) => void): ClientUnaryCall;
|
|
77
|
+
getColendingDbr(request: dbrRequest, metadata: Metadata, callback: (error: ServiceError | null, response: dbrResponse) => void): ClientUnaryCall;
|
|
78
|
+
getColendingDbr(request: dbrRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: dbrResponse) => void): ClientUnaryCall;
|
|
79
79
|
}
|
|
80
80
|
export declare const bureauClient: {
|
|
81
81
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): bureauClient;
|
package/ts/bureau.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.bureauClient = exports.bureauService = exports.protobufPackage = void 0;
|
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
11
|
const getbasicdetails_1 = require("./bureau/getbasicdetails");
|
|
12
|
-
const
|
|
12
|
+
const getdbrcolending_1 = require("./bureau/getdbrcolending");
|
|
13
13
|
const getdemogs_1 = require("./bureau/getdemogs");
|
|
14
14
|
const getobligation_1 = require("./bureau/getobligation");
|
|
15
15
|
const getreport_1 = require("./bureau/getreport");
|
|
@@ -51,14 +51,14 @@ exports.bureauService = {
|
|
|
51
51
|
responseSerialize: (value) => Buffer.from(getobligation_1.obligationResponse.encode(value).finish()),
|
|
52
52
|
responseDeserialize: (value) => getobligation_1.obligationResponse.decode(value),
|
|
53
53
|
},
|
|
54
|
-
|
|
55
|
-
path: "/service.bureau/
|
|
54
|
+
getColendingDbr: {
|
|
55
|
+
path: "/service.bureau/getColendingDBR",
|
|
56
56
|
requestStream: false,
|
|
57
57
|
responseStream: false,
|
|
58
|
-
requestSerialize: (value) => Buffer.from(
|
|
59
|
-
requestDeserialize: (value) =>
|
|
60
|
-
responseSerialize: (value) => Buffer.from(
|
|
61
|
-
responseDeserialize: (value) =>
|
|
58
|
+
requestSerialize: (value) => Buffer.from(getdbrcolending_1.dbrRequest.encode(value).finish()),
|
|
59
|
+
requestDeserialize: (value) => getdbrcolending_1.dbrRequest.decode(value),
|
|
60
|
+
responseSerialize: (value) => Buffer.from(getdbrcolending_1.dbrResponse.encode(value).finish()),
|
|
61
|
+
responseDeserialize: (value) => getdbrcolending_1.dbrResponse.decode(value),
|
|
62
62
|
},
|
|
63
63
|
};
|
|
64
64
|
exports.bureauClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.bureauService, "service.bureau");
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.cb.getcbtxnstatus";
|
|
3
|
+
export interface getCBTxnStatusRequest {
|
|
4
|
+
order_id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface getCBTxnStatusResponse {
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const getCBTxnStatusRequest: {
|
|
10
|
+
encode(message: getCBTxnStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCBTxnStatusRequest;
|
|
12
|
+
fromJSON(object: any): getCBTxnStatusRequest;
|
|
13
|
+
toJSON(message: getCBTxnStatusRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<getCBTxnStatusRequest>, I>>(base?: I): getCBTxnStatusRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<getCBTxnStatusRequest>, I>>(object: I): getCBTxnStatusRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const getCBTxnStatusResponse: {
|
|
18
|
+
encode(message: getCBTxnStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCBTxnStatusResponse;
|
|
20
|
+
fromJSON(object: any): getCBTxnStatusResponse;
|
|
21
|
+
toJSON(message: getCBTxnStatusResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<getCBTxnStatusResponse>, I>>(base?: I): getCBTxnStatusResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<getCBTxnStatusResponse>, I>>(object: I): getCBTxnStatusResponse;
|
|
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 v5.28.1
|
|
6
|
+
// source: customers/cb/getcbtxnstatus.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.getCBTxnStatusResponse = exports.getCBTxnStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.cb.getcbtxnstatus";
|
|
15
|
+
function createBasegetCBTxnStatusRequest() {
|
|
16
|
+
return { order_id: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.getCBTxnStatusRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.order_id !== "") {
|
|
21
|
+
writer.uint32(10).string(message.order_id);
|
|
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 = createBasegetCBTxnStatusRequest();
|
|
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.order_id = 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 { order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.order_id !== "") {
|
|
52
|
+
obj.order_id = message.order_id;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.getCBTxnStatusRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasegetCBTxnStatusRequest();
|
|
61
|
+
message.order_id = object.order_id ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasegetCBTxnStatusResponse() {
|
|
66
|
+
return { status: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.getCBTxnStatusResponse = {
|
|
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 = createBasegetCBTxnStatusResponse();
|
|
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.getCBTxnStatusResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasegetCBTxnStatusResponse();
|
|
111
|
+
message.status = object.status ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "customers.cb.getcreditbuilder";
|
|
3
3
|
export interface getCreditBuilderRequest {
|
|
4
|
-
cb_id: number;
|
|
5
4
|
}
|
|
6
5
|
export interface getCreditBuilderResponse {
|
|
7
6
|
builder_fee: number;
|
|
@@ -12,12 +11,12 @@ export interface getCreditBuilderResponse {
|
|
|
12
11
|
total_amount: number;
|
|
13
12
|
}
|
|
14
13
|
export declare const getCreditBuilderRequest: {
|
|
15
|
-
encode(
|
|
14
|
+
encode(_: getCreditBuilderRequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
15
|
decode(input: _m0.Reader | Uint8Array, length?: number): getCreditBuilderRequest;
|
|
17
|
-
fromJSON(
|
|
18
|
-
toJSON(
|
|
16
|
+
fromJSON(_: any): getCreditBuilderRequest;
|
|
17
|
+
toJSON(_: getCreditBuilderRequest): unknown;
|
|
19
18
|
create<I extends Exact<DeepPartial<getCreditBuilderRequest>, I>>(base?: I): getCreditBuilderRequest;
|
|
20
|
-
fromPartial<I extends Exact<DeepPartial<getCreditBuilderRequest>, I>>(
|
|
19
|
+
fromPartial<I extends Exact<DeepPartial<getCreditBuilderRequest>, I>>(_: I): getCreditBuilderRequest;
|
|
21
20
|
};
|
|
22
21
|
export declare const getCreditBuilderResponse: {
|
|
23
22
|
encode(message: getCreditBuilderResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,13 +13,10 @@ exports.getCreditBuilderResponse = exports.getCreditBuilderRequest = exports.pro
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "customers.cb.getcreditbuilder";
|
|
15
15
|
function createBasegetCreditBuilderRequest() {
|
|
16
|
-
return {
|
|
16
|
+
return {};
|
|
17
17
|
}
|
|
18
18
|
exports.getCreditBuilderRequest = {
|
|
19
|
-
encode(
|
|
20
|
-
if (message.cb_id !== 0) {
|
|
21
|
-
writer.uint32(8).int32(message.cb_id);
|
|
22
|
-
}
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
23
20
|
return writer;
|
|
24
21
|
},
|
|
25
22
|
decode(input, length) {
|
|
@@ -29,12 +26,6 @@ exports.getCreditBuilderRequest = {
|
|
|
29
26
|
while (reader.pos < end) {
|
|
30
27
|
const tag = reader.uint32();
|
|
31
28
|
switch (tag >>> 3) {
|
|
32
|
-
case 1:
|
|
33
|
-
if (tag !== 8) {
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
message.cb_id = reader.int32();
|
|
37
|
-
continue;
|
|
38
29
|
}
|
|
39
30
|
if ((tag & 7) === 4 || tag === 0) {
|
|
40
31
|
break;
|
|
@@ -43,22 +34,18 @@ exports.getCreditBuilderRequest = {
|
|
|
43
34
|
}
|
|
44
35
|
return message;
|
|
45
36
|
},
|
|
46
|
-
fromJSON(
|
|
47
|
-
return {
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
48
39
|
},
|
|
49
|
-
toJSON(
|
|
40
|
+
toJSON(_) {
|
|
50
41
|
const obj = {};
|
|
51
|
-
if (message.cb_id !== 0) {
|
|
52
|
-
obj.cb_id = Math.round(message.cb_id);
|
|
53
|
-
}
|
|
54
42
|
return obj;
|
|
55
43
|
},
|
|
56
44
|
create(base) {
|
|
57
45
|
return exports.getCreditBuilderRequest.fromPartial(base ?? {});
|
|
58
46
|
},
|
|
59
|
-
fromPartial(
|
|
47
|
+
fromPartial(_) {
|
|
60
48
|
const message = createBasegetCreditBuilderRequest();
|
|
61
|
-
message.cb_id = object.cb_id ?? 0;
|
|
62
49
|
return message;
|
|
63
50
|
},
|
|
64
51
|
};
|
|
@@ -10,19 +10,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.payNowResponse = exports.payNowRequest = 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.cb.paynow";
|
|
16
15
|
function createBasepayNowRequest() {
|
|
17
|
-
return { mode: "",
|
|
16
|
+
return { mode: "", order_id: "" };
|
|
18
17
|
}
|
|
19
18
|
exports.payNowRequest = {
|
|
20
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
20
|
if (message.mode !== "") {
|
|
22
21
|
writer.uint32(10).string(message.mode);
|
|
23
22
|
}
|
|
24
|
-
if (message.
|
|
25
|
-
writer.uint32(
|
|
23
|
+
if (message.order_id !== "") {
|
|
24
|
+
writer.uint32(18).string(message.order_id);
|
|
26
25
|
}
|
|
27
26
|
return writer;
|
|
28
27
|
},
|
|
@@ -40,10 +39,10 @@ exports.payNowRequest = {
|
|
|
40
39
|
message.mode = reader.string();
|
|
41
40
|
continue;
|
|
42
41
|
case 2:
|
|
43
|
-
if (tag !==
|
|
42
|
+
if (tag !== 18) {
|
|
44
43
|
break;
|
|
45
44
|
}
|
|
46
|
-
message.
|
|
45
|
+
message.order_id = reader.string();
|
|
47
46
|
continue;
|
|
48
47
|
}
|
|
49
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -56,7 +55,7 @@ exports.payNowRequest = {
|
|
|
56
55
|
fromJSON(object) {
|
|
57
56
|
return {
|
|
58
57
|
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
59
|
-
|
|
58
|
+
order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
|
|
60
59
|
};
|
|
61
60
|
},
|
|
62
61
|
toJSON(message) {
|
|
@@ -64,8 +63,8 @@ exports.payNowRequest = {
|
|
|
64
63
|
if (message.mode !== "") {
|
|
65
64
|
obj.mode = message.mode;
|
|
66
65
|
}
|
|
67
|
-
if (message.
|
|
68
|
-
obj.
|
|
66
|
+
if (message.order_id !== "") {
|
|
67
|
+
obj.order_id = message.order_id;
|
|
69
68
|
}
|
|
70
69
|
return obj;
|
|
71
70
|
},
|
|
@@ -75,7 +74,7 @@ exports.payNowRequest = {
|
|
|
75
74
|
fromPartial(object) {
|
|
76
75
|
const message = createBasepayNowRequest();
|
|
77
76
|
message.mode = object.mode ?? "";
|
|
78
|
-
message.
|
|
77
|
+
message.order_id = object.order_id ?? "";
|
|
79
78
|
return message;
|
|
80
79
|
},
|
|
81
80
|
};
|
|
@@ -129,19 +128,6 @@ exports.payNowResponse = {
|
|
|
129
128
|
return message;
|
|
130
129
|
},
|
|
131
130
|
};
|
|
132
|
-
function longToNumber(long) {
|
|
133
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
134
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
135
|
-
}
|
|
136
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
137
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
138
|
-
}
|
|
139
|
-
return long.toNumber();
|
|
140
|
-
}
|
|
141
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
142
|
-
minimal_1.default.util.Long = long_1.default;
|
|
143
|
-
minimal_1.default.configure();
|
|
144
|
-
}
|
|
145
131
|
function isSet(value) {
|
|
146
132
|
return value !== null && value !== undefined;
|
|
147
133
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.cb.updatecbtxnstatus";
|
|
3
|
+
export interface updateCBTxnStatusRequest {
|
|
4
|
+
client_id: string;
|
|
5
|
+
order_id: string;
|
|
6
|
+
status: string;
|
|
7
|
+
}
|
|
8
|
+
export interface updateCBTxnStatusResponse {
|
|
9
|
+
message: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const updateCBTxnStatusRequest: {
|
|
12
|
+
encode(message: updateCBTxnStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateCBTxnStatusRequest;
|
|
14
|
+
fromJSON(object: any): updateCBTxnStatusRequest;
|
|
15
|
+
toJSON(message: updateCBTxnStatusRequest): unknown;
|
|
16
|
+
create<I extends Exact<DeepPartial<updateCBTxnStatusRequest>, I>>(base?: I): updateCBTxnStatusRequest;
|
|
17
|
+
fromPartial<I extends Exact<DeepPartial<updateCBTxnStatusRequest>, I>>(object: I): updateCBTxnStatusRequest;
|
|
18
|
+
};
|
|
19
|
+
export declare const updateCBTxnStatusResponse: {
|
|
20
|
+
encode(message: updateCBTxnStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateCBTxnStatusResponse;
|
|
22
|
+
fromJSON(object: any): updateCBTxnStatusResponse;
|
|
23
|
+
toJSON(message: updateCBTxnStatusResponse): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<updateCBTxnStatusResponse>, I>>(base?: I): updateCBTxnStatusResponse;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<updateCBTxnStatusResponse>, I>>(object: I): updateCBTxnStatusResponse;
|
|
26
|
+
};
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
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 {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,147 @@
|
|
|
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.1
|
|
6
|
+
// source: customers/cb/updatecbtxnstatus.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.updateCBTxnStatusResponse = exports.updateCBTxnStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.cb.updatecbtxnstatus";
|
|
15
|
+
function createBaseupdateCBTxnStatusRequest() {
|
|
16
|
+
return { client_id: "", order_id: "", status: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateCBTxnStatusRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.client_id !== "") {
|
|
21
|
+
writer.uint32(10).string(message.client_id);
|
|
22
|
+
}
|
|
23
|
+
if (message.order_id !== "") {
|
|
24
|
+
writer.uint32(18).string(message.order_id);
|
|
25
|
+
}
|
|
26
|
+
if (message.status !== "") {
|
|
27
|
+
writer.uint32(26).string(message.status);
|
|
28
|
+
}
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input, length) {
|
|
32
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseupdateCBTxnStatusRequest();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
if (tag !== 10) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.client_id = reader.string();
|
|
43
|
+
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.order_id = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.status = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
reader.skipType(tag & 7);
|
|
61
|
+
}
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
fromJSON(object) {
|
|
65
|
+
return {
|
|
66
|
+
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
67
|
+
order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
|
|
68
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
toJSON(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
if (message.client_id !== "") {
|
|
74
|
+
obj.client_id = message.client_id;
|
|
75
|
+
}
|
|
76
|
+
if (message.order_id !== "") {
|
|
77
|
+
obj.order_id = message.order_id;
|
|
78
|
+
}
|
|
79
|
+
if (message.status !== "") {
|
|
80
|
+
obj.status = message.status;
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
},
|
|
84
|
+
create(base) {
|
|
85
|
+
return exports.updateCBTxnStatusRequest.fromPartial(base ?? {});
|
|
86
|
+
},
|
|
87
|
+
fromPartial(object) {
|
|
88
|
+
const message = createBaseupdateCBTxnStatusRequest();
|
|
89
|
+
message.client_id = object.client_id ?? "";
|
|
90
|
+
message.order_id = object.order_id ?? "";
|
|
91
|
+
message.status = object.status ?? "";
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
function createBaseupdateCBTxnStatusResponse() {
|
|
96
|
+
return { message: "" };
|
|
97
|
+
}
|
|
98
|
+
exports.updateCBTxnStatusResponse = {
|
|
99
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
100
|
+
if (message.message !== "") {
|
|
101
|
+
writer.uint32(10).string(message.message);
|
|
102
|
+
}
|
|
103
|
+
return writer;
|
|
104
|
+
},
|
|
105
|
+
decode(input, length) {
|
|
106
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
107
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
108
|
+
const message = createBaseupdateCBTxnStatusResponse();
|
|
109
|
+
while (reader.pos < end) {
|
|
110
|
+
const tag = reader.uint32();
|
|
111
|
+
switch (tag >>> 3) {
|
|
112
|
+
case 1:
|
|
113
|
+
if (tag !== 10) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
message.message = reader.string();
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
reader.skipType(tag & 7);
|
|
123
|
+
}
|
|
124
|
+
return message;
|
|
125
|
+
},
|
|
126
|
+
fromJSON(object) {
|
|
127
|
+
return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
|
|
128
|
+
},
|
|
129
|
+
toJSON(message) {
|
|
130
|
+
const obj = {};
|
|
131
|
+
if (message.message !== "") {
|
|
132
|
+
obj.message = message.message;
|
|
133
|
+
}
|
|
134
|
+
return obj;
|
|
135
|
+
},
|
|
136
|
+
create(base) {
|
|
137
|
+
return exports.updateCBTxnStatusResponse.fromPartial(base ?? {});
|
|
138
|
+
},
|
|
139
|
+
fromPartial(object) {
|
|
140
|
+
const message = createBaseupdateCBTxnStatusResponse();
|
|
141
|
+
message.message = object.message ?? "";
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
|
@@ -69,7 +69,7 @@ export interface getCustomerByIdResponse {
|
|
|
69
69
|
salary_mode?: string | undefined;
|
|
70
70
|
selfie_url?: string | undefined;
|
|
71
71
|
kyc_type?: string | undefined;
|
|
72
|
-
emi_date?:
|
|
72
|
+
emi_date?: number | undefined;
|
|
73
73
|
phone_matched?: number | undefined;
|
|
74
74
|
dob_matched?: number | undefined;
|
|
75
75
|
nsdl_dob_matched?: number | undefined;
|
|
@@ -343,7 +343,7 @@ exports.getCustomerByIdResponse = {
|
|
|
343
343
|
writer.uint32(522).string(message.kyc_type);
|
|
344
344
|
}
|
|
345
345
|
if (message.emi_date !== undefined) {
|
|
346
|
-
writer.uint32(
|
|
346
|
+
writer.uint32(528).int32(message.emi_date);
|
|
347
347
|
}
|
|
348
348
|
if (message.phone_matched !== undefined) {
|
|
349
349
|
writer.uint32(536).int32(message.phone_matched);
|
|
@@ -781,10 +781,10 @@ exports.getCustomerByIdResponse = {
|
|
|
781
781
|
message.kyc_type = reader.string();
|
|
782
782
|
continue;
|
|
783
783
|
case 66:
|
|
784
|
-
if (tag !==
|
|
784
|
+
if (tag !== 528) {
|
|
785
785
|
break;
|
|
786
786
|
}
|
|
787
|
-
message.emi_date = reader.
|
|
787
|
+
message.emi_date = reader.int32();
|
|
788
788
|
continue;
|
|
789
789
|
case 67:
|
|
790
790
|
if (tag !== 536) {
|
|
@@ -933,7 +933,7 @@ exports.getCustomerByIdResponse = {
|
|
|
933
933
|
salary_mode: isSet(object.salary_mode) ? globalThis.String(object.salary_mode) : undefined,
|
|
934
934
|
selfie_url: isSet(object.selfie_url) ? globalThis.String(object.selfie_url) : undefined,
|
|
935
935
|
kyc_type: isSet(object.kyc_type) ? globalThis.String(object.kyc_type) : undefined,
|
|
936
|
-
emi_date: isSet(object.emi_date) ? globalThis.
|
|
936
|
+
emi_date: isSet(object.emi_date) ? globalThis.Number(object.emi_date) : undefined,
|
|
937
937
|
phone_matched: isSet(object.phone_matched) ? globalThis.Number(object.phone_matched) : undefined,
|
|
938
938
|
dob_matched: isSet(object.dob_matched) ? globalThis.Number(object.dob_matched) : undefined,
|
|
939
939
|
nsdl_dob_matched: isSet(object.nsdl_dob_matched) ? globalThis.Number(object.nsdl_dob_matched) : undefined,
|
|
@@ -1146,7 +1146,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1146
1146
|
obj.kyc_type = message.kyc_type;
|
|
1147
1147
|
}
|
|
1148
1148
|
if (message.emi_date !== undefined) {
|
|
1149
|
-
obj.emi_date = message.emi_date;
|
|
1149
|
+
obj.emi_date = Math.round(message.emi_date);
|
|
1150
1150
|
}
|
|
1151
1151
|
if (message.phone_matched !== undefined) {
|
|
1152
1152
|
obj.phone_matched = Math.round(message.phone_matched);
|
package/ts/customers.d.ts
CHANGED
|
@@ -10,9 +10,11 @@ import { addSuspendedCustomerRequest, addSuspendedCustomerResponse } from "./cus
|
|
|
10
10
|
import { AddUserAppsRequest, AddUserAppsResponse } from "./customers/adduserapps";
|
|
11
11
|
import { bulkSMSRequest, bulkSMSResponse } from "./customers/bulksms";
|
|
12
12
|
import { cBSignupRequest, cBSignupResponse } from "./customers/cb/cbsignup";
|
|
13
|
+
import { getCBTxnStatusRequest, getCBTxnStatusResponse } from "./customers/cb/getcbtxnstatus";
|
|
13
14
|
import { getCreditBuilderRequest, getCreditBuilderResponse } from "./customers/cb/getcreditbuilder";
|
|
14
15
|
import { payNowRequest, payNowResponse } from "./customers/cb/paynow";
|
|
15
16
|
import { saveCreditBuilderRequest, saveCreditBuilderResponse } from "./customers/cb/savecreditbuilder";
|
|
17
|
+
import { updateCBTxnStatusRequest, updateCBTxnStatusResponse } from "./customers/cb/updatecbtxnstatus";
|
|
16
18
|
import { changeMpinRequest, changeMpinResponse } from "./customers/changempin";
|
|
17
19
|
import { createCustomerReferenceRequest, createCustomerReferenceResponse } from "./customers/createcustomerreference";
|
|
18
20
|
import { deleteProfileRequest, deleteProfileResponse } from "./customers/deleteprofile";
|
|
@@ -730,6 +732,24 @@ export declare const customersService: {
|
|
|
730
732
|
readonly responseSerialize: (value: getRpdTransactionStatusResponse) => Buffer;
|
|
731
733
|
readonly responseDeserialize: (value: Buffer) => getRpdTransactionStatusResponse;
|
|
732
734
|
};
|
|
735
|
+
readonly getCbTxnStatus: {
|
|
736
|
+
readonly path: "/service.customers/getCbTxnStatus";
|
|
737
|
+
readonly requestStream: false;
|
|
738
|
+
readonly responseStream: false;
|
|
739
|
+
readonly requestSerialize: (value: getCBTxnStatusRequest) => Buffer;
|
|
740
|
+
readonly requestDeserialize: (value: Buffer) => getCBTxnStatusRequest;
|
|
741
|
+
readonly responseSerialize: (value: getCBTxnStatusResponse) => Buffer;
|
|
742
|
+
readonly responseDeserialize: (value: Buffer) => getCBTxnStatusResponse;
|
|
743
|
+
};
|
|
744
|
+
readonly updateCbTxnStatus: {
|
|
745
|
+
readonly path: "/service.customers/updateCbTxnStatus";
|
|
746
|
+
readonly requestStream: false;
|
|
747
|
+
readonly responseStream: false;
|
|
748
|
+
readonly requestSerialize: (value: updateCBTxnStatusRequest) => Buffer;
|
|
749
|
+
readonly requestDeserialize: (value: Buffer) => updateCBTxnStatusRequest;
|
|
750
|
+
readonly responseSerialize: (value: updateCBTxnStatusResponse) => Buffer;
|
|
751
|
+
readonly responseDeserialize: (value: Buffer) => updateCBTxnStatusResponse;
|
|
752
|
+
};
|
|
733
753
|
};
|
|
734
754
|
export interface customersServer extends UntypedServiceImplementation {
|
|
735
755
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -805,6 +825,8 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
805
825
|
getPdBankList: handleUnaryCall<getPdBankListRequest, getPdBankListResponse>;
|
|
806
826
|
validateBankDetails: handleUnaryCall<validateBankAccountRequest, validateBankAccountResponse>;
|
|
807
827
|
getRpdTransactionStatus: handleUnaryCall<getRpdTransactionStatusRequest, getRpdTransactionStatusResponse>;
|
|
828
|
+
getCbTxnStatus: handleUnaryCall<getCBTxnStatusRequest, getCBTxnStatusResponse>;
|
|
829
|
+
updateCbTxnStatus: handleUnaryCall<updateCBTxnStatusRequest, updateCBTxnStatusResponse>;
|
|
808
830
|
}
|
|
809
831
|
export interface customersClient extends Client {
|
|
810
832
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1026,6 +1048,12 @@ export interface customersClient extends Client {
|
|
|
1026
1048
|
getRpdTransactionStatus(request: getRpdTransactionStatusRequest, callback: (error: ServiceError | null, response: getRpdTransactionStatusResponse) => void): ClientUnaryCall;
|
|
1027
1049
|
getRpdTransactionStatus(request: getRpdTransactionStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getRpdTransactionStatusResponse) => void): ClientUnaryCall;
|
|
1028
1050
|
getRpdTransactionStatus(request: getRpdTransactionStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getRpdTransactionStatusResponse) => void): ClientUnaryCall;
|
|
1051
|
+
getCbTxnStatus(request: getCBTxnStatusRequest, callback: (error: ServiceError | null, response: getCBTxnStatusResponse) => void): ClientUnaryCall;
|
|
1052
|
+
getCbTxnStatus(request: getCBTxnStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCBTxnStatusResponse) => void): ClientUnaryCall;
|
|
1053
|
+
getCbTxnStatus(request: getCBTxnStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCBTxnStatusResponse) => void): ClientUnaryCall;
|
|
1054
|
+
updateCbTxnStatus(request: updateCBTxnStatusRequest, callback: (error: ServiceError | null, response: updateCBTxnStatusResponse) => void): ClientUnaryCall;
|
|
1055
|
+
updateCbTxnStatus(request: updateCBTxnStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCBTxnStatusResponse) => void): ClientUnaryCall;
|
|
1056
|
+
updateCbTxnStatus(request: updateCBTxnStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCBTxnStatusResponse) => void): ClientUnaryCall;
|
|
1029
1057
|
}
|
|
1030
1058
|
export declare const customersClient: {
|
|
1031
1059
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -19,9 +19,11 @@ const addsuspendedcustomer_1 = require("./customers/addsuspendedcustomer");
|
|
|
19
19
|
const adduserapps_1 = require("./customers/adduserapps");
|
|
20
20
|
const bulksms_1 = require("./customers/bulksms");
|
|
21
21
|
const cbsignup_1 = require("./customers/cb/cbsignup");
|
|
22
|
+
const getcbtxnstatus_1 = require("./customers/cb/getcbtxnstatus");
|
|
22
23
|
const getcreditbuilder_1 = require("./customers/cb/getcreditbuilder");
|
|
23
24
|
const paynow_1 = require("./customers/cb/paynow");
|
|
24
25
|
const savecreditbuilder_1 = require("./customers/cb/savecreditbuilder");
|
|
26
|
+
const updatecbtxnstatus_1 = require("./customers/cb/updatecbtxnstatus");
|
|
25
27
|
const changempin_1 = require("./customers/changempin");
|
|
26
28
|
const createcustomerreference_1 = require("./customers/createcustomerreference");
|
|
27
29
|
const deleteprofile_1 = require("./customers/deleteprofile");
|
|
@@ -738,5 +740,23 @@ exports.customersService = {
|
|
|
738
740
|
responseSerialize: (value) => Buffer.from(getrpdtransactionstatus_1.getRpdTransactionStatusResponse.encode(value).finish()),
|
|
739
741
|
responseDeserialize: (value) => getrpdtransactionstatus_1.getRpdTransactionStatusResponse.decode(value),
|
|
740
742
|
},
|
|
743
|
+
getCbTxnStatus: {
|
|
744
|
+
path: "/service.customers/getCbTxnStatus",
|
|
745
|
+
requestStream: false,
|
|
746
|
+
responseStream: false,
|
|
747
|
+
requestSerialize: (value) => Buffer.from(getcbtxnstatus_1.getCBTxnStatusRequest.encode(value).finish()),
|
|
748
|
+
requestDeserialize: (value) => getcbtxnstatus_1.getCBTxnStatusRequest.decode(value),
|
|
749
|
+
responseSerialize: (value) => Buffer.from(getcbtxnstatus_1.getCBTxnStatusResponse.encode(value).finish()),
|
|
750
|
+
responseDeserialize: (value) => getcbtxnstatus_1.getCBTxnStatusResponse.decode(value),
|
|
751
|
+
},
|
|
752
|
+
updateCbTxnStatus: {
|
|
753
|
+
path: "/service.customers/updateCbTxnStatus",
|
|
754
|
+
requestStream: false,
|
|
755
|
+
responseStream: false,
|
|
756
|
+
requestSerialize: (value) => Buffer.from(updatecbtxnstatus_1.updateCBTxnStatusRequest.encode(value).finish()),
|
|
757
|
+
requestDeserialize: (value) => updatecbtxnstatus_1.updateCBTxnStatusRequest.decode(value),
|
|
758
|
+
responseSerialize: (value) => Buffer.from(updatecbtxnstatus_1.updateCBTxnStatusResponse.encode(value).finish()),
|
|
759
|
+
responseDeserialize: (value) => updatecbtxnstatus_1.updateCBTxnStatusResponse.decode(value),
|
|
760
|
+
},
|
|
741
761
|
};
|
|
742
762
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|
package/ts/growth/getchrplans.js
CHANGED
|
@@ -356,7 +356,7 @@ exports.feature = {
|
|
|
356
356
|
},
|
|
357
357
|
};
|
|
358
358
|
function createBaseplandetailsdata() {
|
|
359
|
-
return { header: "", message: "", bureau_logo: "", plans: [],
|
|
359
|
+
return { header: "", message: "", bureau_logo: "", plans: [], products: [], features: [] };
|
|
360
360
|
}
|
|
361
361
|
exports.plandetailsdata = {
|
|
362
362
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -372,7 +372,7 @@ exports.plandetailsdata = {
|
|
|
372
372
|
for (const v of message.plans) {
|
|
373
373
|
exports.plan.encode(v, writer.uint32(34).fork()).ldelim();
|
|
374
374
|
}
|
|
375
|
-
for (const v of message.
|
|
375
|
+
for (const v of message.products) {
|
|
376
376
|
exports.product.encode(v, writer.uint32(42).fork()).ldelim();
|
|
377
377
|
}
|
|
378
378
|
for (const v of message.features) {
|
|
@@ -415,7 +415,7 @@ exports.plandetailsdata = {
|
|
|
415
415
|
if (tag !== 42) {
|
|
416
416
|
break;
|
|
417
417
|
}
|
|
418
|
-
message.
|
|
418
|
+
message.products.push(exports.product.decode(reader, reader.uint32()));
|
|
419
419
|
continue;
|
|
420
420
|
case 6:
|
|
421
421
|
if (tag !== 50) {
|
|
@@ -437,7 +437,7 @@ exports.plandetailsdata = {
|
|
|
437
437
|
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
438
438
|
bureau_logo: isSet(object.bureau_logo) ? globalThis.String(object.bureau_logo) : "",
|
|
439
439
|
plans: globalThis.Array.isArray(object?.plans) ? object.plans.map((e) => exports.plan.fromJSON(e)) : [],
|
|
440
|
-
|
|
440
|
+
products: globalThis.Array.isArray(object?.products) ? object.products.map((e) => exports.product.fromJSON(e)) : [],
|
|
441
441
|
features: globalThis.Array.isArray(object?.features) ? object.features.map((e) => exports.feature.fromJSON(e)) : [],
|
|
442
442
|
};
|
|
443
443
|
},
|
|
@@ -455,8 +455,8 @@ exports.plandetailsdata = {
|
|
|
455
455
|
if (message.plans?.length) {
|
|
456
456
|
obj.plans = message.plans.map((e) => exports.plan.toJSON(e));
|
|
457
457
|
}
|
|
458
|
-
if (message.
|
|
459
|
-
obj.
|
|
458
|
+
if (message.products?.length) {
|
|
459
|
+
obj.products = message.products.map((e) => exports.product.toJSON(e));
|
|
460
460
|
}
|
|
461
461
|
if (message.features?.length) {
|
|
462
462
|
obj.features = message.features.map((e) => exports.feature.toJSON(e));
|
|
@@ -472,7 +472,7 @@ exports.plandetailsdata = {
|
|
|
472
472
|
message.message = object.message ?? "";
|
|
473
473
|
message.bureau_logo = object.bureau_logo ?? "";
|
|
474
474
|
message.plans = object.plans?.map((e) => exports.plan.fromPartial(e)) || [];
|
|
475
|
-
message.
|
|
475
|
+
message.products = object.products?.map((e) => exports.product.fromPartial(e)) || [];
|
|
476
476
|
message.features = object.features?.map((e) => exports.feature.fromPartial(e)) || [];
|
|
477
477
|
return message;
|
|
478
478
|
},
|
|
@@ -14,24 +14,21 @@ const long_1 = __importDefault(require("long"));
|
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
15
|
exports.protobufPackage = "payments.nachpresentation";
|
|
16
16
|
function createBaserequest() {
|
|
17
|
-
return { customer_id: 0,
|
|
17
|
+
return { customer_id: 0, amount: 0, client_id: "", external_order_id: "" };
|
|
18
18
|
}
|
|
19
19
|
exports.request = {
|
|
20
20
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
21
|
if (message.customer_id !== 0) {
|
|
22
22
|
writer.uint32(8).int64(message.customer_id);
|
|
23
23
|
}
|
|
24
|
-
if (message.mode !== "") {
|
|
25
|
-
writer.uint32(18).string(message.mode);
|
|
26
|
-
}
|
|
27
24
|
if (message.amount !== 0) {
|
|
28
|
-
writer.uint32(
|
|
25
|
+
writer.uint32(21).float(message.amount);
|
|
29
26
|
}
|
|
30
27
|
if (message.client_id !== "") {
|
|
31
|
-
writer.uint32(
|
|
28
|
+
writer.uint32(26).string(message.client_id);
|
|
32
29
|
}
|
|
33
30
|
if (message.external_order_id !== "") {
|
|
34
|
-
writer.uint32(
|
|
31
|
+
writer.uint32(34).string(message.external_order_id);
|
|
35
32
|
}
|
|
36
33
|
return writer;
|
|
37
34
|
},
|
|
@@ -49,27 +46,21 @@ exports.request = {
|
|
|
49
46
|
message.customer_id = longToNumber(reader.int64());
|
|
50
47
|
continue;
|
|
51
48
|
case 2:
|
|
52
|
-
if (tag !==
|
|
49
|
+
if (tag !== 21) {
|
|
53
50
|
break;
|
|
54
51
|
}
|
|
55
|
-
message.
|
|
52
|
+
message.amount = reader.float();
|
|
56
53
|
continue;
|
|
57
54
|
case 3:
|
|
58
|
-
if (tag !==
|
|
55
|
+
if (tag !== 26) {
|
|
59
56
|
break;
|
|
60
57
|
}
|
|
61
|
-
message.
|
|
58
|
+
message.client_id = reader.string();
|
|
62
59
|
continue;
|
|
63
60
|
case 4:
|
|
64
61
|
if (tag !== 34) {
|
|
65
62
|
break;
|
|
66
63
|
}
|
|
67
|
-
message.client_id = reader.string();
|
|
68
|
-
continue;
|
|
69
|
-
case 5:
|
|
70
|
-
if (tag !== 42) {
|
|
71
|
-
break;
|
|
72
|
-
}
|
|
73
64
|
message.external_order_id = reader.string();
|
|
74
65
|
continue;
|
|
75
66
|
}
|
|
@@ -83,7 +74,6 @@ exports.request = {
|
|
|
83
74
|
fromJSON(object) {
|
|
84
75
|
return {
|
|
85
76
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
86
|
-
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
87
77
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
88
78
|
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
89
79
|
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
@@ -94,9 +84,6 @@ exports.request = {
|
|
|
94
84
|
if (message.customer_id !== 0) {
|
|
95
85
|
obj.customer_id = Math.round(message.customer_id);
|
|
96
86
|
}
|
|
97
|
-
if (message.mode !== "") {
|
|
98
|
-
obj.mode = message.mode;
|
|
99
|
-
}
|
|
100
87
|
if (message.amount !== 0) {
|
|
101
88
|
obj.amount = message.amount;
|
|
102
89
|
}
|
|
@@ -114,7 +101,6 @@ exports.request = {
|
|
|
114
101
|
fromPartial(object) {
|
|
115
102
|
const message = createBaserequest();
|
|
116
103
|
message.customer_id = object.customer_id ?? 0;
|
|
117
|
-
message.mode = object.mode ?? "";
|
|
118
104
|
message.amount = object.amount ?? 0;
|
|
119
105
|
message.client_id = object.client_id ?? "";
|
|
120
106
|
message.external_order_id = object.external_order_id ?? "";
|
|
@@ -16,7 +16,6 @@ exports.protobufPackage = "payments.nachregistration";
|
|
|
16
16
|
function createBaserequest() {
|
|
17
17
|
return {
|
|
18
18
|
customer_id: 0,
|
|
19
|
-
mode: "",
|
|
20
19
|
client_id: "",
|
|
21
20
|
mandate_type: "",
|
|
22
21
|
bank_name: undefined,
|
|
@@ -31,29 +30,26 @@ exports.request = {
|
|
|
31
30
|
if (message.customer_id !== 0) {
|
|
32
31
|
writer.uint32(8).int64(message.customer_id);
|
|
33
32
|
}
|
|
34
|
-
if (message.mode !== "") {
|
|
35
|
-
writer.uint32(18).string(message.mode);
|
|
36
|
-
}
|
|
37
33
|
if (message.client_id !== "") {
|
|
38
|
-
writer.uint32(
|
|
34
|
+
writer.uint32(18).string(message.client_id);
|
|
39
35
|
}
|
|
40
36
|
if (message.mandate_type !== "") {
|
|
41
|
-
writer.uint32(
|
|
37
|
+
writer.uint32(26).string(message.mandate_type);
|
|
42
38
|
}
|
|
43
39
|
if (message.bank_name !== undefined) {
|
|
44
|
-
writer.uint32(
|
|
40
|
+
writer.uint32(34).string(message.bank_name);
|
|
45
41
|
}
|
|
46
42
|
if (message.bank_account_number !== undefined) {
|
|
47
|
-
writer.uint32(
|
|
43
|
+
writer.uint32(42).string(message.bank_account_number);
|
|
48
44
|
}
|
|
49
45
|
if (message.bank_ifsc !== undefined) {
|
|
50
|
-
writer.uint32(
|
|
46
|
+
writer.uint32(50).string(message.bank_ifsc);
|
|
51
47
|
}
|
|
52
48
|
if (message.maximum_amount !== 0) {
|
|
53
|
-
writer.uint32(
|
|
49
|
+
writer.uint32(61).float(message.maximum_amount);
|
|
54
50
|
}
|
|
55
51
|
if (message.external_order_id !== "") {
|
|
56
|
-
writer.uint32(
|
|
52
|
+
writer.uint32(66).string(message.external_order_id);
|
|
57
53
|
}
|
|
58
54
|
return writer;
|
|
59
55
|
},
|
|
@@ -74,46 +70,40 @@ exports.request = {
|
|
|
74
70
|
if (tag !== 18) {
|
|
75
71
|
break;
|
|
76
72
|
}
|
|
77
|
-
message.
|
|
73
|
+
message.client_id = reader.string();
|
|
78
74
|
continue;
|
|
79
75
|
case 3:
|
|
80
76
|
if (tag !== 26) {
|
|
81
77
|
break;
|
|
82
78
|
}
|
|
83
|
-
message.
|
|
79
|
+
message.mandate_type = reader.string();
|
|
84
80
|
continue;
|
|
85
81
|
case 4:
|
|
86
82
|
if (tag !== 34) {
|
|
87
83
|
break;
|
|
88
84
|
}
|
|
89
|
-
message.
|
|
85
|
+
message.bank_name = reader.string();
|
|
90
86
|
continue;
|
|
91
87
|
case 5:
|
|
92
88
|
if (tag !== 42) {
|
|
93
89
|
break;
|
|
94
90
|
}
|
|
95
|
-
message.
|
|
91
|
+
message.bank_account_number = reader.string();
|
|
96
92
|
continue;
|
|
97
93
|
case 6:
|
|
98
94
|
if (tag !== 50) {
|
|
99
95
|
break;
|
|
100
96
|
}
|
|
101
|
-
message.bank_account_number = reader.string();
|
|
102
|
-
continue;
|
|
103
|
-
case 7:
|
|
104
|
-
if (tag !== 58) {
|
|
105
|
-
break;
|
|
106
|
-
}
|
|
107
97
|
message.bank_ifsc = reader.string();
|
|
108
98
|
continue;
|
|
109
|
-
case
|
|
110
|
-
if (tag !==
|
|
99
|
+
case 7:
|
|
100
|
+
if (tag !== 61) {
|
|
111
101
|
break;
|
|
112
102
|
}
|
|
113
103
|
message.maximum_amount = reader.float();
|
|
114
104
|
continue;
|
|
115
|
-
case
|
|
116
|
-
if (tag !==
|
|
105
|
+
case 8:
|
|
106
|
+
if (tag !== 66) {
|
|
117
107
|
break;
|
|
118
108
|
}
|
|
119
109
|
message.external_order_id = reader.string();
|
|
@@ -129,7 +119,6 @@ exports.request = {
|
|
|
129
119
|
fromJSON(object) {
|
|
130
120
|
return {
|
|
131
121
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
132
|
-
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
133
122
|
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
134
123
|
mandate_type: isSet(object.mandate_type) ? globalThis.String(object.mandate_type) : "",
|
|
135
124
|
bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : undefined,
|
|
@@ -146,9 +135,6 @@ exports.request = {
|
|
|
146
135
|
if (message.customer_id !== 0) {
|
|
147
136
|
obj.customer_id = Math.round(message.customer_id);
|
|
148
137
|
}
|
|
149
|
-
if (message.mode !== "") {
|
|
150
|
-
obj.mode = message.mode;
|
|
151
|
-
}
|
|
152
138
|
if (message.client_id !== "") {
|
|
153
139
|
obj.client_id = message.client_id;
|
|
154
140
|
}
|
|
@@ -178,7 +164,6 @@ exports.request = {
|
|
|
178
164
|
fromPartial(object) {
|
|
179
165
|
const message = createBaserequest();
|
|
180
166
|
message.customer_id = object.customer_id ?? 0;
|
|
181
|
-
message.mode = object.mode ?? "";
|
|
182
167
|
message.client_id = object.client_id ?? "";
|
|
183
168
|
message.mandate_type = object.mandate_type ?? "";
|
|
184
169
|
message.bank_name = object.bank_name ?? undefined;
|