@stashfin/grpc 1.2.85 → 1.2.87
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
|
@@ -3,7 +3,8 @@ export declare const protobufPackage = "customers.deleteprofile";
|
|
|
3
3
|
export interface deleteProfileRequest {
|
|
4
4
|
}
|
|
5
5
|
export interface deleteProfileResponse {
|
|
6
|
-
status:
|
|
6
|
+
status: string;
|
|
7
|
+
pending_loan_amount: number;
|
|
7
8
|
}
|
|
8
9
|
export declare const deleteProfileRequest: {
|
|
9
10
|
encode(_: deleteProfileRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -50,12 +50,15 @@ exports.deleteProfileRequest = {
|
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
52
|
function createBasedeleteProfileResponse() {
|
|
53
|
-
return { status:
|
|
53
|
+
return { status: "", pending_loan_amount: 0 };
|
|
54
54
|
}
|
|
55
55
|
exports.deleteProfileResponse = {
|
|
56
56
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.status !==
|
|
58
|
-
writer.uint32(
|
|
57
|
+
if (message.status !== "") {
|
|
58
|
+
writer.uint32(10).string(message.status);
|
|
59
|
+
}
|
|
60
|
+
if (message.pending_loan_amount !== 0) {
|
|
61
|
+
writer.uint32(21).float(message.pending_loan_amount);
|
|
59
62
|
}
|
|
60
63
|
return writer;
|
|
61
64
|
},
|
|
@@ -67,10 +70,16 @@ exports.deleteProfileResponse = {
|
|
|
67
70
|
const tag = reader.uint32();
|
|
68
71
|
switch (tag >>> 3) {
|
|
69
72
|
case 1:
|
|
70
|
-
if (tag !==
|
|
73
|
+
if (tag !== 10) {
|
|
71
74
|
break;
|
|
72
75
|
}
|
|
73
|
-
message.status = reader.
|
|
76
|
+
message.status = reader.string();
|
|
77
|
+
continue;
|
|
78
|
+
case 2:
|
|
79
|
+
if (tag !== 21) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
message.pending_loan_amount = reader.float();
|
|
74
83
|
continue;
|
|
75
84
|
}
|
|
76
85
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -81,13 +90,19 @@ exports.deleteProfileResponse = {
|
|
|
81
90
|
return message;
|
|
82
91
|
},
|
|
83
92
|
fromJSON(object) {
|
|
84
|
-
return {
|
|
93
|
+
return {
|
|
94
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
95
|
+
pending_loan_amount: isSet(object.pending_loan_amount) ? globalThis.Number(object.pending_loan_amount) : 0,
|
|
96
|
+
};
|
|
85
97
|
},
|
|
86
98
|
toJSON(message) {
|
|
87
99
|
const obj = {};
|
|
88
|
-
if (message.status !==
|
|
100
|
+
if (message.status !== "") {
|
|
89
101
|
obj.status = message.status;
|
|
90
102
|
}
|
|
103
|
+
if (message.pending_loan_amount !== 0) {
|
|
104
|
+
obj.pending_loan_amount = message.pending_loan_amount;
|
|
105
|
+
}
|
|
91
106
|
return obj;
|
|
92
107
|
},
|
|
93
108
|
create(base) {
|
|
@@ -95,7 +110,8 @@ exports.deleteProfileResponse = {
|
|
|
95
110
|
},
|
|
96
111
|
fromPartial(object) {
|
|
97
112
|
const message = createBasedeleteProfileResponse();
|
|
98
|
-
message.status = object.status ??
|
|
113
|
+
message.status = object.status ?? "";
|
|
114
|
+
message.pending_loan_amount = object.pending_loan_amount ?? 0;
|
|
99
115
|
return message;
|
|
100
116
|
},
|
|
101
117
|
};
|
|
@@ -18,7 +18,7 @@ function createBasefetchRCProfileRequest() {
|
|
|
18
18
|
exports.fetchRCProfileRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.rcNumber !== "") {
|
|
21
|
-
writer.uint32(
|
|
21
|
+
writer.uint32(10).string(message.rcNumber);
|
|
22
22
|
}
|
|
23
23
|
return writer;
|
|
24
24
|
},
|
|
@@ -29,8 +29,8 @@ exports.fetchRCProfileRequest = {
|
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
31
31
|
switch (tag >>> 3) {
|
|
32
|
-
case
|
|
33
|
-
if (tag !==
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
36
|
message.rcNumber = reader.string();
|
|
@@ -4,7 +4,8 @@ export interface locStatusRequest {
|
|
|
4
4
|
loc_disabled: boolean;
|
|
5
5
|
}
|
|
6
6
|
export interface locStatusResponse {
|
|
7
|
-
status:
|
|
7
|
+
status: string;
|
|
8
|
+
pending_loan_amount: number;
|
|
8
9
|
}
|
|
9
10
|
export declare const locStatusRequest: {
|
|
10
11
|
encode(message: locStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -63,12 +63,15 @@ exports.locStatusRequest = {
|
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
65
|
function createBaselocStatusResponse() {
|
|
66
|
-
return { status:
|
|
66
|
+
return { status: "", pending_loan_amount: 0 };
|
|
67
67
|
}
|
|
68
68
|
exports.locStatusResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
if (message.status !==
|
|
71
|
-
writer.uint32(
|
|
70
|
+
if (message.status !== "") {
|
|
71
|
+
writer.uint32(10).string(message.status);
|
|
72
|
+
}
|
|
73
|
+
if (message.pending_loan_amount !== 0) {
|
|
74
|
+
writer.uint32(21).float(message.pending_loan_amount);
|
|
72
75
|
}
|
|
73
76
|
return writer;
|
|
74
77
|
},
|
|
@@ -80,10 +83,16 @@ exports.locStatusResponse = {
|
|
|
80
83
|
const tag = reader.uint32();
|
|
81
84
|
switch (tag >>> 3) {
|
|
82
85
|
case 1:
|
|
83
|
-
if (tag !==
|
|
86
|
+
if (tag !== 10) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
message.status = reader.string();
|
|
90
|
+
continue;
|
|
91
|
+
case 2:
|
|
92
|
+
if (tag !== 21) {
|
|
84
93
|
break;
|
|
85
94
|
}
|
|
86
|
-
message.
|
|
95
|
+
message.pending_loan_amount = reader.float();
|
|
87
96
|
continue;
|
|
88
97
|
}
|
|
89
98
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -94,13 +103,19 @@ exports.locStatusResponse = {
|
|
|
94
103
|
return message;
|
|
95
104
|
},
|
|
96
105
|
fromJSON(object) {
|
|
97
|
-
return {
|
|
106
|
+
return {
|
|
107
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
108
|
+
pending_loan_amount: isSet(object.pending_loan_amount) ? globalThis.Number(object.pending_loan_amount) : 0,
|
|
109
|
+
};
|
|
98
110
|
},
|
|
99
111
|
toJSON(message) {
|
|
100
112
|
const obj = {};
|
|
101
|
-
if (message.status !==
|
|
113
|
+
if (message.status !== "") {
|
|
102
114
|
obj.status = message.status;
|
|
103
115
|
}
|
|
116
|
+
if (message.pending_loan_amount !== 0) {
|
|
117
|
+
obj.pending_loan_amount = message.pending_loan_amount;
|
|
118
|
+
}
|
|
104
119
|
return obj;
|
|
105
120
|
},
|
|
106
121
|
create(base) {
|
|
@@ -108,7 +123,8 @@ exports.locStatusResponse = {
|
|
|
108
123
|
},
|
|
109
124
|
fromPartial(object) {
|
|
110
125
|
const message = createBaselocStatusResponse();
|
|
111
|
-
message.status = object.status ??
|
|
126
|
+
message.status = object.status ?? "";
|
|
127
|
+
message.pending_loan_amount = object.pending_loan_amount ?? 0;
|
|
112
128
|
return message;
|
|
113
129
|
},
|
|
114
130
|
};
|