@stashfin/grpc 1.2.86 → 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,7 @@ export declare const protobufPackage = "customers.deleteprofile";
|
|
|
3
3
|
export interface deleteProfileRequest {
|
|
4
4
|
}
|
|
5
5
|
export interface deleteProfileResponse {
|
|
6
|
-
status:
|
|
6
|
+
status: string;
|
|
7
7
|
pending_loan_amount: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const deleteProfileRequest: {
|
|
@@ -50,12 +50,12 @@ 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
59
|
}
|
|
60
60
|
if (message.pending_loan_amount !== 0) {
|
|
61
61
|
writer.uint32(21).float(message.pending_loan_amount);
|
|
@@ -70,10 +70,10 @@ exports.deleteProfileResponse = {
|
|
|
70
70
|
const tag = reader.uint32();
|
|
71
71
|
switch (tag >>> 3) {
|
|
72
72
|
case 1:
|
|
73
|
-
if (tag !==
|
|
73
|
+
if (tag !== 10) {
|
|
74
74
|
break;
|
|
75
75
|
}
|
|
76
|
-
message.status = reader.
|
|
76
|
+
message.status = reader.string();
|
|
77
77
|
continue;
|
|
78
78
|
case 2:
|
|
79
79
|
if (tag !== 21) {
|
|
@@ -91,13 +91,13 @@ exports.deleteProfileResponse = {
|
|
|
91
91
|
},
|
|
92
92
|
fromJSON(object) {
|
|
93
93
|
return {
|
|
94
|
-
status: isSet(object.status) ? globalThis.
|
|
94
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
95
95
|
pending_loan_amount: isSet(object.pending_loan_amount) ? globalThis.Number(object.pending_loan_amount) : 0,
|
|
96
96
|
};
|
|
97
97
|
},
|
|
98
98
|
toJSON(message) {
|
|
99
99
|
const obj = {};
|
|
100
|
-
if (message.status !==
|
|
100
|
+
if (message.status !== "") {
|
|
101
101
|
obj.status = message.status;
|
|
102
102
|
}
|
|
103
103
|
if (message.pending_loan_amount !== 0) {
|
|
@@ -110,7 +110,7 @@ exports.deleteProfileResponse = {
|
|
|
110
110
|
},
|
|
111
111
|
fromPartial(object) {
|
|
112
112
|
const message = createBasedeleteProfileResponse();
|
|
113
|
-
message.status = object.status ??
|
|
113
|
+
message.status = object.status ?? "";
|
|
114
114
|
message.pending_loan_amount = object.pending_loan_amount ?? 0;
|
|
115
115
|
return message;
|
|
116
116
|
},
|
|
@@ -63,12 +63,12 @@ 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
72
|
}
|
|
73
73
|
if (message.pending_loan_amount !== 0) {
|
|
74
74
|
writer.uint32(21).float(message.pending_loan_amount);
|
|
@@ -83,10 +83,10 @@ exports.locStatusResponse = {
|
|
|
83
83
|
const tag = reader.uint32();
|
|
84
84
|
switch (tag >>> 3) {
|
|
85
85
|
case 1:
|
|
86
|
-
if (tag !==
|
|
86
|
+
if (tag !== 10) {
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
|
-
message.status = reader.
|
|
89
|
+
message.status = reader.string();
|
|
90
90
|
continue;
|
|
91
91
|
case 2:
|
|
92
92
|
if (tag !== 21) {
|
|
@@ -104,13 +104,13 @@ exports.locStatusResponse = {
|
|
|
104
104
|
},
|
|
105
105
|
fromJSON(object) {
|
|
106
106
|
return {
|
|
107
|
-
status: isSet(object.status) ? globalThis.
|
|
107
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
108
108
|
pending_loan_amount: isSet(object.pending_loan_amount) ? globalThis.Number(object.pending_loan_amount) : 0,
|
|
109
109
|
};
|
|
110
110
|
},
|
|
111
111
|
toJSON(message) {
|
|
112
112
|
const obj = {};
|
|
113
|
-
if (message.status !==
|
|
113
|
+
if (message.status !== "") {
|
|
114
114
|
obj.status = message.status;
|
|
115
115
|
}
|
|
116
116
|
if (message.pending_loan_amount !== 0) {
|
|
@@ -123,7 +123,7 @@ exports.locStatusResponse = {
|
|
|
123
123
|
},
|
|
124
124
|
fromPartial(object) {
|
|
125
125
|
const message = createBaselocStatusResponse();
|
|
126
|
-
message.status = object.status ??
|
|
126
|
+
message.status = object.status ?? "";
|
|
127
127
|
message.pending_loan_amount = object.pending_loan_amount ?? 0;
|
|
128
128
|
return message;
|
|
129
129
|
},
|