@stashfin/grpc 1.2.350 → 1.2.351
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
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getclistatus";
|
|
3
|
+
export interface getCliStatusRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getCliStatusResponse {
|
|
6
|
+
status: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const getCliStatusRequest: {
|
|
9
|
+
encode(_: getCliStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCliStatusRequest;
|
|
11
|
+
fromJSON(_: any): getCliStatusRequest;
|
|
12
|
+
toJSON(_: getCliStatusRequest): unknown;
|
|
13
|
+
create<I extends Exact<DeepPartial<getCliStatusRequest>, I>>(base?: I): getCliStatusRequest;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<getCliStatusRequest>, I>>(_: I): getCliStatusRequest;
|
|
15
|
+
};
|
|
16
|
+
export declare const getCliStatusResponse: {
|
|
17
|
+
encode(message: getCliStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCliStatusResponse;
|
|
19
|
+
fromJSON(object: any): getCliStatusResponse;
|
|
20
|
+
toJSON(message: getCliStatusResponse): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<getCliStatusResponse>, I>>(base?: I): getCliStatusResponse;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<getCliStatusResponse>, I>>(object: I): getCliStatusResponse;
|
|
23
|
+
};
|
|
24
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
25
|
+
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 {} ? {
|
|
26
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
27
|
+
} : Partial<T>;
|
|
28
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
29
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
30
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
31
|
+
} & {
|
|
32
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
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.2
|
|
6
|
+
// source: customers/getclistatus.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.getCliStatusResponse = exports.getCliStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.getclistatus";
|
|
15
|
+
function createBasegetCliStatusRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getCliStatusRequest = {
|
|
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 = createBasegetCliStatusRequest();
|
|
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.getCliStatusRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetCliStatusRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetCliStatusResponse() {
|
|
53
|
+
return { status: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.getCliStatusResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.status !== "") {
|
|
58
|
+
writer.uint32(10).string(message.status);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBasegetCliStatusResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 10) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.status = reader.string();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.status !== "") {
|
|
89
|
+
obj.status = message.status;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.getCliStatusResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBasegetCliStatusResponse();
|
|
98
|
+
message.status = object.status ?? "";
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
|
@@ -74,7 +74,7 @@ export interface getCustomerByIdResponse {
|
|
|
74
74
|
nsdl_dob_matched?: number | undefined;
|
|
75
75
|
okyc_dob?: string | undefined;
|
|
76
76
|
dob_attempts?: number | undefined;
|
|
77
|
-
|
|
77
|
+
cli_enabled?: number | undefined;
|
|
78
78
|
has_imps?: number | undefined;
|
|
79
79
|
journey_inactive?: number | undefined;
|
|
80
80
|
repeat_journey?: number | undefined;
|
|
@@ -135,7 +135,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
135
135
|
nsdl_dob_matched: undefined,
|
|
136
136
|
okyc_dob: undefined,
|
|
137
137
|
dob_attempts: undefined,
|
|
138
|
-
|
|
138
|
+
cli_enabled: undefined,
|
|
139
139
|
has_imps: undefined,
|
|
140
140
|
journey_inactive: undefined,
|
|
141
141
|
repeat_journey: undefined,
|
|
@@ -363,8 +363,8 @@ exports.getCustomerByIdResponse = {
|
|
|
363
363
|
if (message.dob_attempts !== undefined) {
|
|
364
364
|
writer.uint32(568).int32(message.dob_attempts);
|
|
365
365
|
}
|
|
366
|
-
if (message.
|
|
367
|
-
writer.uint32(576).int32(message.
|
|
366
|
+
if (message.cli_enabled !== undefined) {
|
|
367
|
+
writer.uint32(576).int32(message.cli_enabled);
|
|
368
368
|
}
|
|
369
369
|
if (message.has_imps !== undefined) {
|
|
370
370
|
writer.uint32(584).int32(message.has_imps);
|
|
@@ -838,7 +838,7 @@ exports.getCustomerByIdResponse = {
|
|
|
838
838
|
if (tag !== 576) {
|
|
839
839
|
break;
|
|
840
840
|
}
|
|
841
|
-
message.
|
|
841
|
+
message.cli_enabled = reader.int32();
|
|
842
842
|
continue;
|
|
843
843
|
case 73:
|
|
844
844
|
if (tag !== 584) {
|
|
@@ -998,7 +998,7 @@ exports.getCustomerByIdResponse = {
|
|
|
998
998
|
nsdl_dob_matched: isSet(object.nsdl_dob_matched) ? globalThis.Number(object.nsdl_dob_matched) : undefined,
|
|
999
999
|
okyc_dob: isSet(object.okyc_dob) ? globalThis.String(object.okyc_dob) : undefined,
|
|
1000
1000
|
dob_attempts: isSet(object.dob_attempts) ? globalThis.Number(object.dob_attempts) : undefined,
|
|
1001
|
-
|
|
1001
|
+
cli_enabled: isSet(object.cli_enabled) ? globalThis.Number(object.cli_enabled) : undefined,
|
|
1002
1002
|
has_imps: isSet(object.has_imps) ? globalThis.Number(object.has_imps) : undefined,
|
|
1003
1003
|
journey_inactive: isSet(object.journey_inactive) ? globalThis.Number(object.journey_inactive) : undefined,
|
|
1004
1004
|
repeat_journey: isSet(object.repeat_journey) ? globalThis.Number(object.repeat_journey) : undefined,
|
|
@@ -1226,8 +1226,8 @@ exports.getCustomerByIdResponse = {
|
|
|
1226
1226
|
if (message.dob_attempts !== undefined) {
|
|
1227
1227
|
obj.dob_attempts = Math.round(message.dob_attempts);
|
|
1228
1228
|
}
|
|
1229
|
-
if (message.
|
|
1230
|
-
obj.
|
|
1229
|
+
if (message.cli_enabled !== undefined) {
|
|
1230
|
+
obj.cli_enabled = Math.round(message.cli_enabled);
|
|
1231
1231
|
}
|
|
1232
1232
|
if (message.has_imps !== undefined) {
|
|
1233
1233
|
obj.has_imps = Math.round(message.has_imps);
|
|
@@ -1353,7 +1353,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1353
1353
|
message.nsdl_dob_matched = object.nsdl_dob_matched ?? undefined;
|
|
1354
1354
|
message.okyc_dob = object.okyc_dob ?? undefined;
|
|
1355
1355
|
message.dob_attempts = object.dob_attempts ?? undefined;
|
|
1356
|
-
message.
|
|
1356
|
+
message.cli_enabled = object.cli_enabled ?? undefined;
|
|
1357
1357
|
message.has_imps = object.has_imps ?? undefined;
|
|
1358
1358
|
message.journey_inactive = object.journey_inactive ?? undefined;
|
|
1359
1359
|
message.repeat_journey = object.repeat_journey ?? undefined;
|
package/ts/customers.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ import { getAppSubmittedRequest, getAppSubmittedResponse } from "./customers/get
|
|
|
45
45
|
import { getBankAccountDetailsRequest, getBankAccountDetailsResponse } from "./customers/getbankaccountdetails";
|
|
46
46
|
import { getBasicInfoRequest, getBasicInfoResponse } from "./customers/getbasicinfo";
|
|
47
47
|
import { getCitiesRequest, getCitiesResponse } from "./customers/getcities";
|
|
48
|
+
import { getCliStatusRequest, getCliStatusResponse } from "./customers/getclistatus";
|
|
48
49
|
import { getCompanyAccDetailsRequest, getCompanyAccDetailsResponse } from "./customers/getcompanyaccdetails";
|
|
49
50
|
import { getCustomerByIdRequest, getCustomerByIdResponse } from "./customers/getcustomerbyid";
|
|
50
51
|
import { getCustomerDetailsRequest, getCustomerDetailsResponse } from "./customers/getcustomerdetailsbymobile";
|
|
@@ -1009,6 +1010,15 @@ export declare const customersService: {
|
|
|
1009
1010
|
readonly responseSerialize: (value: updateAdditionalVerificationResponse) => Buffer;
|
|
1010
1011
|
readonly responseDeserialize: (value: Buffer) => updateAdditionalVerificationResponse;
|
|
1011
1012
|
};
|
|
1013
|
+
readonly getCliStatus: {
|
|
1014
|
+
readonly path: "/service.customers/getCliStatus";
|
|
1015
|
+
readonly requestStream: false;
|
|
1016
|
+
readonly responseStream: false;
|
|
1017
|
+
readonly requestSerialize: (value: getCliStatusRequest) => Buffer;
|
|
1018
|
+
readonly requestDeserialize: (value: Buffer) => getCliStatusRequest;
|
|
1019
|
+
readonly responseSerialize: (value: getCliStatusResponse) => Buffer;
|
|
1020
|
+
readonly responseDeserialize: (value: Buffer) => getCliStatusResponse;
|
|
1021
|
+
};
|
|
1012
1022
|
};
|
|
1013
1023
|
export interface customersServer extends UntypedServiceImplementation {
|
|
1014
1024
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -1112,6 +1122,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
1112
1122
|
getCustomerDetailsbyMobile: handleUnaryCall<getCustomerDetailsRequest, getCustomerDetailsResponse>;
|
|
1113
1123
|
getLocLimit: handleUnaryCall<getLocLimitRequest, getLocLimitResponse>;
|
|
1114
1124
|
updateAdditionalVerification: handleUnaryCall<updateAdditionalVerificationRequest, updateAdditionalVerificationResponse>;
|
|
1125
|
+
getCliStatus: handleUnaryCall<getCliStatusRequest, getCliStatusResponse>;
|
|
1115
1126
|
}
|
|
1116
1127
|
export interface customersClient extends Client {
|
|
1117
1128
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1417,6 +1428,9 @@ export interface customersClient extends Client {
|
|
|
1417
1428
|
updateAdditionalVerification(request: updateAdditionalVerificationRequest, callback: (error: ServiceError | null, response: updateAdditionalVerificationResponse) => void): ClientUnaryCall;
|
|
1418
1429
|
updateAdditionalVerification(request: updateAdditionalVerificationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateAdditionalVerificationResponse) => void): ClientUnaryCall;
|
|
1419
1430
|
updateAdditionalVerification(request: updateAdditionalVerificationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateAdditionalVerificationResponse) => void): ClientUnaryCall;
|
|
1431
|
+
getCliStatus(request: getCliStatusRequest, callback: (error: ServiceError | null, response: getCliStatusResponse) => void): ClientUnaryCall;
|
|
1432
|
+
getCliStatus(request: getCliStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCliStatusResponse) => void): ClientUnaryCall;
|
|
1433
|
+
getCliStatus(request: getCliStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCliStatusResponse) => void): ClientUnaryCall;
|
|
1420
1434
|
}
|
|
1421
1435
|
export declare const customersClient: {
|
|
1422
1436
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -54,6 +54,7 @@ const getappsubmittedscreen_1 = require("./customers/getappsubmittedscreen");
|
|
|
54
54
|
const getbankaccountdetails_1 = require("./customers/getbankaccountdetails");
|
|
55
55
|
const getbasicinfo_1 = require("./customers/getbasicinfo");
|
|
56
56
|
const getcities_1 = require("./customers/getcities");
|
|
57
|
+
const getclistatus_1 = require("./customers/getclistatus");
|
|
57
58
|
const getcompanyaccdetails_1 = require("./customers/getcompanyaccdetails");
|
|
58
59
|
const getcustomerbyid_1 = require("./customers/getcustomerbyid");
|
|
59
60
|
const getcustomerdetailsbymobile_1 = require("./customers/getcustomerdetailsbymobile");
|
|
@@ -1017,5 +1018,14 @@ exports.customersService = {
|
|
|
1017
1018
|
responseSerialize: (value) => Buffer.from(updateadditionalverification_1.updateAdditionalVerificationResponse.encode(value).finish()),
|
|
1018
1019
|
responseDeserialize: (value) => updateadditionalverification_1.updateAdditionalVerificationResponse.decode(value),
|
|
1019
1020
|
},
|
|
1021
|
+
getCliStatus: {
|
|
1022
|
+
path: "/service.customers/getCliStatus",
|
|
1023
|
+
requestStream: false,
|
|
1024
|
+
responseStream: false,
|
|
1025
|
+
requestSerialize: (value) => Buffer.from(getclistatus_1.getCliStatusRequest.encode(value).finish()),
|
|
1026
|
+
requestDeserialize: (value) => getclistatus_1.getCliStatusRequest.decode(value),
|
|
1027
|
+
responseSerialize: (value) => Buffer.from(getclistatus_1.getCliStatusResponse.encode(value).finish()),
|
|
1028
|
+
responseDeserialize: (value) => getclistatus_1.getCliStatusResponse.decode(value),
|
|
1029
|
+
},
|
|
1020
1030
|
};
|
|
1021
1031
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|