@stashfin/grpc 1.2.651 → 1.2.652
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 = "eqxcustomers.getdashboard";
|
|
3
3
|
export interface getDashboardRequest {
|
|
4
|
+
product_page: string;
|
|
4
5
|
}
|
|
5
6
|
export interface getDashboardResponse {
|
|
6
7
|
groups: Block_groups[];
|
|
@@ -32,12 +33,12 @@ export interface Items {
|
|
|
32
33
|
rules?: string | undefined;
|
|
33
34
|
}
|
|
34
35
|
export declare const getDashboardRequest: {
|
|
35
|
-
encode(
|
|
36
|
+
encode(message: getDashboardRequest, writer?: _m0.Writer): _m0.Writer;
|
|
36
37
|
decode(input: _m0.Reader | Uint8Array, length?: number): getDashboardRequest;
|
|
37
|
-
fromJSON(
|
|
38
|
-
toJSON(
|
|
38
|
+
fromJSON(object: any): getDashboardRequest;
|
|
39
|
+
toJSON(message: getDashboardRequest): unknown;
|
|
39
40
|
create<I extends Exact<DeepPartial<getDashboardRequest>, I>>(base?: I): getDashboardRequest;
|
|
40
|
-
fromPartial<I extends Exact<DeepPartial<getDashboardRequest>, I>>(
|
|
41
|
+
fromPartial<I extends Exact<DeepPartial<getDashboardRequest>, I>>(object: I): getDashboardRequest;
|
|
41
42
|
};
|
|
42
43
|
export declare const getDashboardResponse: {
|
|
43
44
|
encode(message: getDashboardResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,10 +13,13 @@ exports.Items = exports.Block = exports.Block_groups = exports.getDashboardRespo
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "eqxcustomers.getdashboard";
|
|
15
15
|
function createBasegetDashboardRequest() {
|
|
16
|
-
return {};
|
|
16
|
+
return { product_page: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.getDashboardRequest = {
|
|
19
|
-
encode(
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.product_page !== "") {
|
|
21
|
+
writer.uint32(10).string(message.product_page);
|
|
22
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
},
|
|
22
25
|
decode(input, length) {
|
|
@@ -26,6 +29,12 @@ exports.getDashboardRequest = {
|
|
|
26
29
|
while (reader.pos < end) {
|
|
27
30
|
const tag = reader.uint32();
|
|
28
31
|
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.product_page = reader.string();
|
|
37
|
+
continue;
|
|
29
38
|
}
|
|
30
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31
40
|
break;
|
|
@@ -34,18 +43,22 @@ exports.getDashboardRequest = {
|
|
|
34
43
|
}
|
|
35
44
|
return message;
|
|
36
45
|
},
|
|
37
|
-
fromJSON(
|
|
38
|
-
return {};
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { product_page: isSet(object.product_page) ? globalThis.String(object.product_page) : "" };
|
|
39
48
|
},
|
|
40
|
-
toJSON(
|
|
49
|
+
toJSON(message) {
|
|
41
50
|
const obj = {};
|
|
51
|
+
if (message.product_page !== "") {
|
|
52
|
+
obj.product_page = message.product_page;
|
|
53
|
+
}
|
|
42
54
|
return obj;
|
|
43
55
|
},
|
|
44
56
|
create(base) {
|
|
45
57
|
return exports.getDashboardRequest.fromPartial(base ?? {});
|
|
46
58
|
},
|
|
47
|
-
fromPartial(
|
|
59
|
+
fromPartial(object) {
|
|
48
60
|
const message = createBasegetDashboardRequest();
|
|
61
|
+
message.product_page = object.product_page ?? "";
|
|
49
62
|
return message;
|
|
50
63
|
},
|
|
51
64
|
};
|