@stashfin/grpc 1.2.113 → 1.2.114
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/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers.d.ts +11 -11
- package/ts/customers.js +7 -7
package/package.json
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updateokyctxn";
|
|
3
|
+
export interface updateOkycTxnRequest {
|
|
4
|
+
transactionId?: string | undefined;
|
|
5
|
+
status?: string | undefined;
|
|
6
|
+
type: string;
|
|
7
|
+
}
|
|
8
|
+
export interface updateOkycTxnResponse {
|
|
9
|
+
status: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const updateOkycTxnRequest: {
|
|
12
|
+
encode(message: updateOkycTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateOkycTxnRequest;
|
|
14
|
+
fromJSON(object: any): updateOkycTxnRequest;
|
|
15
|
+
toJSON(message: updateOkycTxnRequest): unknown;
|
|
16
|
+
create<I extends Exact<DeepPartial<updateOkycTxnRequest>, I>>(base?: I): updateOkycTxnRequest;
|
|
17
|
+
fromPartial<I extends Exact<DeepPartial<updateOkycTxnRequest>, I>>(object: I): updateOkycTxnRequest;
|
|
18
|
+
};
|
|
19
|
+
export declare const updateOkycTxnResponse: {
|
|
20
|
+
encode(message: updateOkycTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateOkycTxnResponse;
|
|
22
|
+
fromJSON(object: any): updateOkycTxnResponse;
|
|
23
|
+
toJSON(message: updateOkycTxnResponse): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<updateOkycTxnResponse>, I>>(base?: I): updateOkycTxnResponse;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<updateOkycTxnResponse>, I>>(object: I): updateOkycTxnResponse;
|
|
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.27.3
|
|
6
|
+
// source: customers/updateokyctxn.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.updateOkycTxnResponse = exports.updateOkycTxnRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.updateokyctxn";
|
|
15
|
+
function createBaseupdateOkycTxnRequest() {
|
|
16
|
+
return { transactionId: undefined, status: undefined, type: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateOkycTxnRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.transactionId !== undefined) {
|
|
21
|
+
writer.uint32(10).string(message.transactionId);
|
|
22
|
+
}
|
|
23
|
+
if (message.status !== undefined) {
|
|
24
|
+
writer.uint32(18).string(message.status);
|
|
25
|
+
}
|
|
26
|
+
if (message.type !== "") {
|
|
27
|
+
writer.uint32(26).string(message.type);
|
|
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 = createBaseupdateOkycTxnRequest();
|
|
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.transactionId = reader.string();
|
|
43
|
+
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.status = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.type = 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
|
+
transactionId: isSet(object.transactionId) ? globalThis.String(object.transactionId) : undefined,
|
|
67
|
+
status: isSet(object.status) ? globalThis.String(object.status) : undefined,
|
|
68
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
69
|
+
};
|
|
70
|
+
},
|
|
71
|
+
toJSON(message) {
|
|
72
|
+
const obj = {};
|
|
73
|
+
if (message.transactionId !== undefined) {
|
|
74
|
+
obj.transactionId = message.transactionId;
|
|
75
|
+
}
|
|
76
|
+
if (message.status !== undefined) {
|
|
77
|
+
obj.status = message.status;
|
|
78
|
+
}
|
|
79
|
+
if (message.type !== "") {
|
|
80
|
+
obj.type = message.type;
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
},
|
|
84
|
+
create(base) {
|
|
85
|
+
return exports.updateOkycTxnRequest.fromPartial(base ?? {});
|
|
86
|
+
},
|
|
87
|
+
fromPartial(object) {
|
|
88
|
+
const message = createBaseupdateOkycTxnRequest();
|
|
89
|
+
message.transactionId = object.transactionId ?? undefined;
|
|
90
|
+
message.status = object.status ?? undefined;
|
|
91
|
+
message.type = object.type ?? "";
|
|
92
|
+
return message;
|
|
93
|
+
},
|
|
94
|
+
};
|
|
95
|
+
function createBaseupdateOkycTxnResponse() {
|
|
96
|
+
return { status: false };
|
|
97
|
+
}
|
|
98
|
+
exports.updateOkycTxnResponse = {
|
|
99
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
100
|
+
if (message.status !== false) {
|
|
101
|
+
writer.uint32(8).bool(message.status);
|
|
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 = createBaseupdateOkycTxnResponse();
|
|
109
|
+
while (reader.pos < end) {
|
|
110
|
+
const tag = reader.uint32();
|
|
111
|
+
switch (tag >>> 3) {
|
|
112
|
+
case 1:
|
|
113
|
+
if (tag !== 8) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
message.status = reader.bool();
|
|
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 { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
128
|
+
},
|
|
129
|
+
toJSON(message) {
|
|
130
|
+
const obj = {};
|
|
131
|
+
if (message.status !== false) {
|
|
132
|
+
obj.status = message.status;
|
|
133
|
+
}
|
|
134
|
+
return obj;
|
|
135
|
+
},
|
|
136
|
+
create(base) {
|
|
137
|
+
return exports.updateOkycTxnResponse.fromPartial(base ?? {});
|
|
138
|
+
},
|
|
139
|
+
fromPartial(object) {
|
|
140
|
+
const message = createBaseupdateOkycTxnResponse();
|
|
141
|
+
message.status = object.status ?? false;
|
|
142
|
+
return message;
|
|
143
|
+
},
|
|
144
|
+
};
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
package/ts/customers.d.ts
CHANGED
|
@@ -39,10 +39,10 @@ import { step9Request, step9Response } from "./customers/step9";
|
|
|
39
39
|
import { stepstaticRequest, stepstaticResponse } from "./customers/stepstatic";
|
|
40
40
|
import { updateDigiLockerTxnRequest, updateDigiLockerTxnResponse } from "./customers/updatedigilockertxn";
|
|
41
41
|
import { updateDOBRequest, updateDOBResponse } from "./customers/updatedob";
|
|
42
|
-
import { updateHypervergeTxnRequest, updateHypervergeTxnResponse } from "./customers/updatehypervergetxn";
|
|
43
42
|
import { locStatusRequest, locStatusResponse } from "./customers/updatelocstatus";
|
|
44
43
|
import { updateMobileSendOtpRequest, updateMobileSendOtpResponse } from "./customers/updatemobilesendotp";
|
|
45
44
|
import { updateMobileVerifyOtpRequest, updateMobileVerifyOtpResponse } from "./customers/updatemobileverifyotp";
|
|
45
|
+
import { updateOkycTxnRequest, updateOkycTxnResponse } from "./customers/updateokyctxn";
|
|
46
46
|
import { validatePanRequest, validatePanResponse } from "./customers/validatepan";
|
|
47
47
|
import { verifyMpinRequest, verifyMpinResponse } from "./customers/verifympin";
|
|
48
48
|
import { verifyOtpReqeust, verifyOtpResponse } from "./customers/verifyotp";
|
|
@@ -392,14 +392,14 @@ export declare const customersService: {
|
|
|
392
392
|
readonly responseSerialize: (value: updateDigiLockerTxnResponse) => Buffer;
|
|
393
393
|
readonly responseDeserialize: (value: Buffer) => updateDigiLockerTxnResponse;
|
|
394
394
|
};
|
|
395
|
-
readonly
|
|
396
|
-
readonly path: "/service.customers/
|
|
395
|
+
readonly updateOkycTxn: {
|
|
396
|
+
readonly path: "/service.customers/updateOkycTxn";
|
|
397
397
|
readonly requestStream: false;
|
|
398
398
|
readonly responseStream: false;
|
|
399
|
-
readonly requestSerialize: (value:
|
|
400
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
401
|
-
readonly responseSerialize: (value:
|
|
402
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
399
|
+
readonly requestSerialize: (value: updateOkycTxnRequest) => Buffer;
|
|
400
|
+
readonly requestDeserialize: (value: Buffer) => updateOkycTxnRequest;
|
|
401
|
+
readonly responseSerialize: (value: updateOkycTxnResponse) => Buffer;
|
|
402
|
+
readonly responseDeserialize: (value: Buffer) => updateOkycTxnResponse;
|
|
403
403
|
};
|
|
404
404
|
readonly addAddress: {
|
|
405
405
|
readonly path: "/service.customers/addAddress";
|
|
@@ -576,7 +576,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
576
576
|
getCitiesByStateId: handleUnaryCall<getCitiesRequest, getCitiesResponse>;
|
|
577
577
|
getDocumentList: handleUnaryCall<getDocumentsRequest, getDocumentsResponse>;
|
|
578
578
|
updateDigiLockerTxn: handleUnaryCall<updateDigiLockerTxnRequest, updateDigiLockerTxnResponse>;
|
|
579
|
-
|
|
579
|
+
updateOkycTxn: handleUnaryCall<updateOkycTxnRequest, updateOkycTxnResponse>;
|
|
580
580
|
addAddress: handleUnaryCall<addAddressRequest, addAddressResponse>;
|
|
581
581
|
getKycWebUrl: handleUnaryCall<getKycWebUrlRequest, getKycWebUrlResponse>;
|
|
582
582
|
updateDob: handleUnaryCall<updateDOBRequest, updateDOBResponse>;
|
|
@@ -708,9 +708,9 @@ export interface customersClient extends Client {
|
|
|
708
708
|
updateDigiLockerTxn(request: updateDigiLockerTxnRequest, callback: (error: ServiceError | null, response: updateDigiLockerTxnResponse) => void): ClientUnaryCall;
|
|
709
709
|
updateDigiLockerTxn(request: updateDigiLockerTxnRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateDigiLockerTxnResponse) => void): ClientUnaryCall;
|
|
710
710
|
updateDigiLockerTxn(request: updateDigiLockerTxnRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateDigiLockerTxnResponse) => void): ClientUnaryCall;
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
711
|
+
updateOkycTxn(request: updateOkycTxnRequest, callback: (error: ServiceError | null, response: updateOkycTxnResponse) => void): ClientUnaryCall;
|
|
712
|
+
updateOkycTxn(request: updateOkycTxnRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateOkycTxnResponse) => void): ClientUnaryCall;
|
|
713
|
+
updateOkycTxn(request: updateOkycTxnRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateOkycTxnResponse) => void): ClientUnaryCall;
|
|
714
714
|
addAddress(request: addAddressRequest, callback: (error: ServiceError | null, response: addAddressResponse) => void): ClientUnaryCall;
|
|
715
715
|
addAddress(request: addAddressRequest, metadata: Metadata, callback: (error: ServiceError | null, response: addAddressResponse) => void): ClientUnaryCall;
|
|
716
716
|
addAddress(request: addAddressRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: addAddressResponse) => void): ClientUnaryCall;
|
package/ts/customers.js
CHANGED
|
@@ -48,10 +48,10 @@ const step9_1 = require("./customers/step9");
|
|
|
48
48
|
const stepstatic_1 = require("./customers/stepstatic");
|
|
49
49
|
const updatedigilockertxn_1 = require("./customers/updatedigilockertxn");
|
|
50
50
|
const updatedob_1 = require("./customers/updatedob");
|
|
51
|
-
const updatehypervergetxn_1 = require("./customers/updatehypervergetxn");
|
|
52
51
|
const updatelocstatus_1 = require("./customers/updatelocstatus");
|
|
53
52
|
const updatemobilesendotp_1 = require("./customers/updatemobilesendotp");
|
|
54
53
|
const updatemobileverifyotp_1 = require("./customers/updatemobileverifyotp");
|
|
54
|
+
const updateokyctxn_1 = require("./customers/updateokyctxn");
|
|
55
55
|
const validatepan_1 = require("./customers/validatepan");
|
|
56
56
|
const verifympin_1 = require("./customers/verifympin");
|
|
57
57
|
const verifyotp_1 = require("./customers/verifyotp");
|
|
@@ -400,14 +400,14 @@ exports.customersService = {
|
|
|
400
400
|
responseSerialize: (value) => Buffer.from(updatedigilockertxn_1.updateDigiLockerTxnResponse.encode(value).finish()),
|
|
401
401
|
responseDeserialize: (value) => updatedigilockertxn_1.updateDigiLockerTxnResponse.decode(value),
|
|
402
402
|
},
|
|
403
|
-
|
|
404
|
-
path: "/service.customers/
|
|
403
|
+
updateOkycTxn: {
|
|
404
|
+
path: "/service.customers/updateOkycTxn",
|
|
405
405
|
requestStream: false,
|
|
406
406
|
responseStream: false,
|
|
407
|
-
requestSerialize: (value) => Buffer.from(
|
|
408
|
-
requestDeserialize: (value) =>
|
|
409
|
-
responseSerialize: (value) => Buffer.from(
|
|
410
|
-
responseDeserialize: (value) =>
|
|
407
|
+
requestSerialize: (value) => Buffer.from(updateokyctxn_1.updateOkycTxnRequest.encode(value).finish()),
|
|
408
|
+
requestDeserialize: (value) => updateokyctxn_1.updateOkycTxnRequest.decode(value),
|
|
409
|
+
responseSerialize: (value) => Buffer.from(updateokyctxn_1.updateOkycTxnResponse.encode(value).finish()),
|
|
410
|
+
responseDeserialize: (value) => updateokyctxn_1.updateOkycTxnResponse.decode(value),
|
|
411
411
|
},
|
|
412
412
|
addAddress: {
|
|
413
413
|
path: "/service.customers/addAddress",
|