@stashfin/grpc 1.2.404 → 1.2.406
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/getmessengermode.d.ts +34 -0
- package/ts/customers/getmessengermode.js +104 -0
- package/ts/customers.d.ts +11 -11
- package/ts/customers.js +7 -7
package/package.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getmessengermode";
|
|
3
|
+
export interface getMessengerModeRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getMessengerModeResponse {
|
|
6
|
+
mode: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const getMessengerModeRequest: {
|
|
9
|
+
encode(_: getMessengerModeRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getMessengerModeRequest;
|
|
11
|
+
fromJSON(_: any): getMessengerModeRequest;
|
|
12
|
+
toJSON(_: getMessengerModeRequest): unknown;
|
|
13
|
+
create<I extends Exact<DeepPartial<getMessengerModeRequest>, I>>(base?: I): getMessengerModeRequest;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<getMessengerModeRequest>, I>>(_: I): getMessengerModeRequest;
|
|
15
|
+
};
|
|
16
|
+
export declare const getMessengerModeResponse: {
|
|
17
|
+
encode(message: getMessengerModeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getMessengerModeResponse;
|
|
19
|
+
fromJSON(object: any): getMessengerModeResponse;
|
|
20
|
+
toJSON(message: getMessengerModeResponse): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<getMessengerModeResponse>, I>>(base?: I): getMessengerModeResponse;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<getMessengerModeResponse>, I>>(object: I): getMessengerModeResponse;
|
|
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.3
|
|
6
|
+
// source: customers/getmessengermode.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.getMessengerModeResponse = exports.getMessengerModeRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.getmessengermode";
|
|
15
|
+
function createBasegetMessengerModeRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getMessengerModeRequest = {
|
|
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 = createBasegetMessengerModeRequest();
|
|
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.getMessengerModeRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetMessengerModeRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetMessengerModeResponse() {
|
|
53
|
+
return { mode: "" };
|
|
54
|
+
}
|
|
55
|
+
exports.getMessengerModeResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.mode !== "") {
|
|
58
|
+
writer.uint32(10).string(message.mode);
|
|
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 = createBasegetMessengerModeResponse();
|
|
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.mode = 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 { mode: isSet(object.mode) ? globalThis.String(object.mode) : "" };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.mode !== "") {
|
|
89
|
+
obj.mode = message.mode;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.getMessengerModeResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBasegetMessengerModeResponse();
|
|
98
|
+
message.mode = object.mode ?? "";
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
package/ts/customers.d.ts
CHANGED
|
@@ -61,11 +61,11 @@ import { getDocumentsRequest, getDocumentsResponse } from "./customers/getdocume
|
|
|
61
61
|
import { getGlobalPopupsRequest, getGlobalPopupsResponse } from "./customers/getglobalpopups";
|
|
62
62
|
import { getLimitRequest, getLimitResponse } from "./customers/getlimit";
|
|
63
63
|
import { getLocLimitRequest, getLocLimitResponse } from "./customers/getloclimit";
|
|
64
|
+
import { getMessengerModeRequest, getMessengerModeResponse } from "./customers/getmessengermode";
|
|
64
65
|
import { getOccupationListRequest, getOccupationListResponse } from "./customers/getoccupationlist";
|
|
65
66
|
import { paymentOptionRequest, paymentOptionResponse } from "./customers/getpaymentoptions";
|
|
66
67
|
import { getProfessionalInfoRequest, getProfessionalInfoResponse } from "./customers/getprofessionalinfo";
|
|
67
68
|
import { getCustomerProfileRequest, getCustomerProfileResponse } from "./customers/getprofile";
|
|
68
|
-
import { getRecommendedTagRequest, getRecommendedTagResponse } from "./customers/getrecommendedtag";
|
|
69
69
|
import { getSelfieeTxnIdRequest, getSelfieeTxnIdResponse } from "./customers/getselfieetxnid";
|
|
70
70
|
import { getAllStatesRequest, getAllStatesResponse } from "./customers/getstates";
|
|
71
71
|
import { getstepRequest, getstepResponse } from "./customers/getstep";
|
|
@@ -1170,14 +1170,14 @@ export declare const customersService: {
|
|
|
1170
1170
|
readonly responseSerialize: (value: updateSanctionAmountResponse) => Buffer;
|
|
1171
1171
|
readonly responseDeserialize: (value: Buffer) => updateSanctionAmountResponse;
|
|
1172
1172
|
};
|
|
1173
|
-
readonly
|
|
1174
|
-
readonly path: "/service.customers/
|
|
1173
|
+
readonly getMessengerMode: {
|
|
1174
|
+
readonly path: "/service.customers/getMessengerMode";
|
|
1175
1175
|
readonly requestStream: false;
|
|
1176
1176
|
readonly responseStream: false;
|
|
1177
|
-
readonly requestSerialize: (value:
|
|
1178
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
1179
|
-
readonly responseSerialize: (value:
|
|
1180
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
1177
|
+
readonly requestSerialize: (value: getMessengerModeRequest) => Buffer;
|
|
1178
|
+
readonly requestDeserialize: (value: Buffer) => getMessengerModeRequest;
|
|
1179
|
+
readonly responseSerialize: (value: getMessengerModeResponse) => Buffer;
|
|
1180
|
+
readonly responseDeserialize: (value: Buffer) => getMessengerModeResponse;
|
|
1181
1181
|
};
|
|
1182
1182
|
};
|
|
1183
1183
|
export interface customersServer extends UntypedServiceImplementation {
|
|
@@ -1298,7 +1298,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
1298
1298
|
verifyLamfPledgeOtp: handleUnaryCall<verifyLamfPledgeOtpRequest, verifyLamfPledgeOtpResponse>;
|
|
1299
1299
|
updateLamfJourney: handleUnaryCall<updateLamfJourneyRequest, updateLamfJourneyResponse>;
|
|
1300
1300
|
updateSanctionAmount: handleUnaryCall<updateSanctionAmountRequest, updateSanctionAmountResponse>;
|
|
1301
|
-
|
|
1301
|
+
getMessengerMode: handleUnaryCall<getMessengerModeRequest, getMessengerModeResponse>;
|
|
1302
1302
|
}
|
|
1303
1303
|
export interface customersClient extends Client {
|
|
1304
1304
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1652,9 +1652,9 @@ export interface customersClient extends Client {
|
|
|
1652
1652
|
updateSanctionAmount(request: updateSanctionAmountRequest, callback: (error: ServiceError | null, response: updateSanctionAmountResponse) => void): ClientUnaryCall;
|
|
1653
1653
|
updateSanctionAmount(request: updateSanctionAmountRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateSanctionAmountResponse) => void): ClientUnaryCall;
|
|
1654
1654
|
updateSanctionAmount(request: updateSanctionAmountRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateSanctionAmountResponse) => void): ClientUnaryCall;
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1655
|
+
getMessengerMode(request: getMessengerModeRequest, callback: (error: ServiceError | null, response: getMessengerModeResponse) => void): ClientUnaryCall;
|
|
1656
|
+
getMessengerMode(request: getMessengerModeRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getMessengerModeResponse) => void): ClientUnaryCall;
|
|
1657
|
+
getMessengerMode(request: getMessengerModeRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getMessengerModeResponse) => void): ClientUnaryCall;
|
|
1658
1658
|
}
|
|
1659
1659
|
export declare const customersClient: {
|
|
1660
1660
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.js
CHANGED
|
@@ -70,11 +70,11 @@ const getdocuments_1 = require("./customers/getdocuments");
|
|
|
70
70
|
const getglobalpopups_1 = require("./customers/getglobalpopups");
|
|
71
71
|
const getlimit_1 = require("./customers/getlimit");
|
|
72
72
|
const getloclimit_1 = require("./customers/getloclimit");
|
|
73
|
+
const getmessengermode_1 = require("./customers/getmessengermode");
|
|
73
74
|
const getoccupationlist_1 = require("./customers/getoccupationlist");
|
|
74
75
|
const getpaymentoptions_1 = require("./customers/getpaymentoptions");
|
|
75
76
|
const getprofessionalinfo_1 = require("./customers/getprofessionalinfo");
|
|
76
77
|
const getprofile_1 = require("./customers/getprofile");
|
|
77
|
-
const getrecommendedtag_1 = require("./customers/getrecommendedtag");
|
|
78
78
|
const getselfieetxnid_1 = require("./customers/getselfieetxnid");
|
|
79
79
|
const getstates_1 = require("./customers/getstates");
|
|
80
80
|
const getstep_1 = require("./customers/getstep");
|
|
@@ -1178,14 +1178,14 @@ exports.customersService = {
|
|
|
1178
1178
|
responseSerialize: (value) => Buffer.from(updatesanctionamount_1.updateSanctionAmountResponse.encode(value).finish()),
|
|
1179
1179
|
responseDeserialize: (value) => updatesanctionamount_1.updateSanctionAmountResponse.decode(value),
|
|
1180
1180
|
},
|
|
1181
|
-
|
|
1182
|
-
path: "/service.customers/
|
|
1181
|
+
getMessengerMode: {
|
|
1182
|
+
path: "/service.customers/getMessengerMode",
|
|
1183
1183
|
requestStream: false,
|
|
1184
1184
|
responseStream: false,
|
|
1185
|
-
requestSerialize: (value) => Buffer.from(
|
|
1186
|
-
requestDeserialize: (value) =>
|
|
1187
|
-
responseSerialize: (value) => Buffer.from(
|
|
1188
|
-
responseDeserialize: (value) =>
|
|
1185
|
+
requestSerialize: (value) => Buffer.from(getmessengermode_1.getMessengerModeRequest.encode(value).finish()),
|
|
1186
|
+
requestDeserialize: (value) => getmessengermode_1.getMessengerModeRequest.decode(value),
|
|
1187
|
+
responseSerialize: (value) => Buffer.from(getmessengermode_1.getMessengerModeResponse.encode(value).finish()),
|
|
1188
|
+
responseDeserialize: (value) => getmessengermode_1.getMessengerModeResponse.decode(value),
|
|
1189
1189
|
},
|
|
1190
1190
|
};
|
|
1191
1191
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|