@stashfin/grpc 1.2.633 → 1.2.634
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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "loans.getlocdetails";
|
|
3
3
|
export interface GetLocDetailsRequest {
|
|
4
|
+
customer_id: number;
|
|
4
5
|
}
|
|
5
6
|
export interface GetLocDetailsResponse {
|
|
6
7
|
matched: boolean;
|
|
@@ -74,12 +75,12 @@ export interface GetLocDetailsResponse {
|
|
|
74
75
|
financing_documents: string;
|
|
75
76
|
}
|
|
76
77
|
export declare const GetLocDetailsRequest: {
|
|
77
|
-
encode(
|
|
78
|
+
encode(message: GetLocDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
78
79
|
decode(input: _m0.Reader | Uint8Array, length?: number): GetLocDetailsRequest;
|
|
79
|
-
fromJSON(
|
|
80
|
-
toJSON(
|
|
80
|
+
fromJSON(object: any): GetLocDetailsRequest;
|
|
81
|
+
toJSON(message: GetLocDetailsRequest): unknown;
|
|
81
82
|
create<I extends Exact<DeepPartial<GetLocDetailsRequest>, I>>(base?: I): GetLocDetailsRequest;
|
|
82
|
-
fromPartial<I extends Exact<DeepPartial<GetLocDetailsRequest>, I>>(
|
|
83
|
+
fromPartial<I extends Exact<DeepPartial<GetLocDetailsRequest>, I>>(object: I): GetLocDetailsRequest;
|
|
83
84
|
};
|
|
84
85
|
export declare const GetLocDetailsResponse: {
|
|
85
86
|
encode(message: GetLocDetailsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,10 +13,13 @@ exports.GetLocDetailsResponse = exports.GetLocDetailsRequest = exports.protobufP
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.getlocdetails";
|
|
15
15
|
function createBaseGetLocDetailsRequest() {
|
|
16
|
-
return {};
|
|
16
|
+
return { customer_id: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.GetLocDetailsRequest = {
|
|
19
|
-
encode(
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customer_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customer_id);
|
|
22
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
},
|
|
22
25
|
decode(input, length) {
|
|
@@ -26,6 +29,12 @@ exports.GetLocDetailsRequest = {
|
|
|
26
29
|
while (reader.pos < end) {
|
|
27
30
|
const tag = reader.uint32();
|
|
28
31
|
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.customer_id = reader.int32();
|
|
37
|
+
continue;
|
|
29
38
|
}
|
|
30
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31
40
|
break;
|
|
@@ -34,18 +43,22 @@ exports.GetLocDetailsRequest = {
|
|
|
34
43
|
}
|
|
35
44
|
return message;
|
|
36
45
|
},
|
|
37
|
-
fromJSON(
|
|
38
|
-
return {};
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
39
48
|
},
|
|
40
|
-
toJSON(
|
|
49
|
+
toJSON(message) {
|
|
41
50
|
const obj = {};
|
|
51
|
+
if (message.customer_id !== 0) {
|
|
52
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
53
|
+
}
|
|
42
54
|
return obj;
|
|
43
55
|
},
|
|
44
56
|
create(base) {
|
|
45
57
|
return exports.GetLocDetailsRequest.fromPartial(base ?? {});
|
|
46
58
|
},
|
|
47
|
-
fromPartial(
|
|
59
|
+
fromPartial(object) {
|
|
48
60
|
const message = createBaseGetLocDetailsRequest();
|
|
61
|
+
message.customer_id = object.customer_id ?? 0;
|
|
49
62
|
return message;
|
|
50
63
|
},
|
|
51
64
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "loans.getlocdisburse";
|
|
3
3
|
export interface GetLocDisburseRequest {
|
|
4
|
+
customer_id: number;
|
|
4
5
|
}
|
|
5
6
|
export interface GetLocDisburseResponse {
|
|
6
7
|
msg: string;
|
|
7
8
|
status: string;
|
|
8
9
|
}
|
|
9
10
|
export declare const GetLocDisburseRequest: {
|
|
10
|
-
encode(
|
|
11
|
+
encode(message: GetLocDisburseRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
12
|
decode(input: _m0.Reader | Uint8Array, length?: number): GetLocDisburseRequest;
|
|
12
|
-
fromJSON(
|
|
13
|
-
toJSON(
|
|
13
|
+
fromJSON(object: any): GetLocDisburseRequest;
|
|
14
|
+
toJSON(message: GetLocDisburseRequest): unknown;
|
|
14
15
|
create<I extends Exact<DeepPartial<GetLocDisburseRequest>, I>>(base?: I): GetLocDisburseRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<GetLocDisburseRequest>, I>>(
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<GetLocDisburseRequest>, I>>(object: I): GetLocDisburseRequest;
|
|
16
17
|
};
|
|
17
18
|
export declare const GetLocDisburseResponse: {
|
|
18
19
|
encode(message: GetLocDisburseResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,10 +13,13 @@ exports.GetLocDisburseResponse = exports.GetLocDisburseRequest = exports.protobu
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.getlocdisburse";
|
|
15
15
|
function createBaseGetLocDisburseRequest() {
|
|
16
|
-
return {};
|
|
16
|
+
return { customer_id: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.GetLocDisburseRequest = {
|
|
19
|
-
encode(
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customer_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customer_id);
|
|
22
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
},
|
|
22
25
|
decode(input, length) {
|
|
@@ -26,6 +29,12 @@ exports.GetLocDisburseRequest = {
|
|
|
26
29
|
while (reader.pos < end) {
|
|
27
30
|
const tag = reader.uint32();
|
|
28
31
|
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.customer_id = reader.int32();
|
|
37
|
+
continue;
|
|
29
38
|
}
|
|
30
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31
40
|
break;
|
|
@@ -34,18 +43,22 @@ exports.GetLocDisburseRequest = {
|
|
|
34
43
|
}
|
|
35
44
|
return message;
|
|
36
45
|
},
|
|
37
|
-
fromJSON(
|
|
38
|
-
return {};
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
39
48
|
},
|
|
40
|
-
toJSON(
|
|
49
|
+
toJSON(message) {
|
|
41
50
|
const obj = {};
|
|
51
|
+
if (message.customer_id !== 0) {
|
|
52
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
53
|
+
}
|
|
42
54
|
return obj;
|
|
43
55
|
},
|
|
44
56
|
create(base) {
|
|
45
57
|
return exports.GetLocDisburseRequest.fromPartial(base ?? {});
|
|
46
58
|
},
|
|
47
|
-
fromPartial(
|
|
59
|
+
fromPartial(object) {
|
|
48
60
|
const message = createBaseGetLocDisburseRequest();
|
|
61
|
+
message.customer_id = object.customer_id ?? 0;
|
|
49
62
|
return message;
|
|
50
63
|
},
|
|
51
64
|
};
|