@stashfin/grpc 1.2.652 → 1.2.654

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,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.652",
3
+ "version": "1.2.654",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -0,0 +1,168 @@
1
+ import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
2
+ import { getCustomerByIdRequest, getCustomerByIdResponse } from "./eqxcustomers/getcustomerbyid";
3
+ import { getCustomerByMobileRequest, getCustomerByMobileResponse } from "./eqxcustomers/getcustomerbymobile";
4
+ import { getDashboardRequest, getDashboardResponse } from "./eqxcustomers/getdashboard";
5
+ import { getDashboardMainCardRequest, getDashboardMainCardResponse } from "./eqxcustomers/getdashboardmaincard";
6
+ import { getNotificationsRequest, getNotificationsResponse } from "./eqxcustomers/getnotifications";
7
+ import { getTokensRequest, getTokensResponse } from "./eqxcustomers/gettokens";
8
+ import { sendOtpRequest, sendOtpResponse } from "./eqxcustomers/sendotp";
9
+ import { updateNotificationRequest, updateNotificationResponse } from "./eqxcustomers/updatenotification";
10
+ import { updatePushIdRequest, updatePushIdResponse } from "./eqxcustomers/updatepushid";
11
+ import { verifyOtpReqeust, verifyOtpResponse } from "./eqxcustomers/verifyotp";
12
+ import { VerifyTokenRequest, VerifyTokenResponse } from "./eqxcustomers/verifytoken";
13
+ export declare const protobufPackage = "service";
14
+ export type deveqxcustomersService = typeof deveqxcustomersService;
15
+ export declare const deveqxcustomersService: {
16
+ readonly sendOtp: {
17
+ readonly path: "/service.deveqxcustomers/sendOtp";
18
+ readonly requestStream: false;
19
+ readonly responseStream: false;
20
+ readonly requestSerialize: (value: sendOtpRequest) => Buffer;
21
+ readonly requestDeserialize: (value: Buffer) => sendOtpRequest;
22
+ readonly responseSerialize: (value: sendOtpResponse) => Buffer;
23
+ readonly responseDeserialize: (value: Buffer) => sendOtpResponse;
24
+ };
25
+ readonly verifyOtp: {
26
+ readonly path: "/service.deveqxcustomers/verifyOtp";
27
+ readonly requestStream: false;
28
+ readonly responseStream: false;
29
+ readonly requestSerialize: (value: verifyOtpReqeust) => Buffer;
30
+ readonly requestDeserialize: (value: Buffer) => verifyOtpReqeust;
31
+ readonly responseSerialize: (value: verifyOtpResponse) => Buffer;
32
+ readonly responseDeserialize: (value: Buffer) => verifyOtpResponse;
33
+ };
34
+ readonly getUserById: {
35
+ readonly path: "/service.deveqxcustomers/getUserById";
36
+ readonly requestStream: false;
37
+ readonly responseStream: false;
38
+ readonly requestSerialize: (value: getCustomerByIdRequest) => Buffer;
39
+ readonly requestDeserialize: (value: Buffer) => getCustomerByIdRequest;
40
+ readonly responseSerialize: (value: getCustomerByIdResponse) => Buffer;
41
+ readonly responseDeserialize: (value: Buffer) => getCustomerByIdResponse;
42
+ };
43
+ readonly getDashboard: {
44
+ readonly path: "/service.deveqxcustomers/getDashboard";
45
+ readonly requestStream: false;
46
+ readonly responseStream: false;
47
+ readonly requestSerialize: (value: getDashboardRequest) => Buffer;
48
+ readonly requestDeserialize: (value: Buffer) => getDashboardRequest;
49
+ readonly responseSerialize: (value: getDashboardResponse) => Buffer;
50
+ readonly responseDeserialize: (value: Buffer) => getDashboardResponse;
51
+ };
52
+ readonly getDashboardMainCard: {
53
+ readonly path: "/service.deveqxcustomers/getDashboardMainCard";
54
+ readonly requestStream: false;
55
+ readonly responseStream: false;
56
+ readonly requestSerialize: (value: getDashboardMainCardRequest) => Buffer;
57
+ readonly requestDeserialize: (value: Buffer) => getDashboardMainCardRequest;
58
+ readonly responseSerialize: (value: getDashboardMainCardResponse) => Buffer;
59
+ readonly responseDeserialize: (value: Buffer) => getDashboardMainCardResponse;
60
+ };
61
+ readonly updatePushId: {
62
+ readonly path: "/service.deveqxcustomers/updatePushId";
63
+ readonly requestStream: false;
64
+ readonly responseStream: false;
65
+ readonly requestSerialize: (value: updatePushIdRequest) => Buffer;
66
+ readonly requestDeserialize: (value: Buffer) => updatePushIdRequest;
67
+ readonly responseSerialize: (value: updatePushIdResponse) => Buffer;
68
+ readonly responseDeserialize: (value: Buffer) => updatePushIdResponse;
69
+ };
70
+ readonly getnotifications: {
71
+ readonly path: "/service.deveqxcustomers/getnotifications";
72
+ readonly requestStream: false;
73
+ readonly responseStream: false;
74
+ readonly requestSerialize: (value: getNotificationsRequest) => Buffer;
75
+ readonly requestDeserialize: (value: Buffer) => getNotificationsRequest;
76
+ readonly responseSerialize: (value: getNotificationsResponse) => Buffer;
77
+ readonly responseDeserialize: (value: Buffer) => getNotificationsResponse;
78
+ };
79
+ readonly updateNotifications: {
80
+ readonly path: "/service.deveqxcustomers/updateNotifications";
81
+ readonly requestStream: false;
82
+ readonly responseStream: false;
83
+ readonly requestSerialize: (value: updateNotificationRequest) => Buffer;
84
+ readonly requestDeserialize: (value: Buffer) => updateNotificationRequest;
85
+ readonly responseSerialize: (value: updateNotificationResponse) => Buffer;
86
+ readonly responseDeserialize: (value: Buffer) => updateNotificationResponse;
87
+ };
88
+ readonly verifyToken: {
89
+ readonly path: "/service.deveqxcustomers/VerifyToken";
90
+ readonly requestStream: false;
91
+ readonly responseStream: false;
92
+ readonly requestSerialize: (value: VerifyTokenRequest) => Buffer;
93
+ readonly requestDeserialize: (value: Buffer) => VerifyTokenRequest;
94
+ readonly responseSerialize: (value: VerifyTokenResponse) => Buffer;
95
+ readonly responseDeserialize: (value: Buffer) => VerifyTokenResponse;
96
+ };
97
+ readonly getTokens: {
98
+ readonly path: "/service.deveqxcustomers/getTokens";
99
+ readonly requestStream: false;
100
+ readonly responseStream: false;
101
+ readonly requestSerialize: (value: getTokensRequest) => Buffer;
102
+ readonly requestDeserialize: (value: Buffer) => getTokensRequest;
103
+ readonly responseSerialize: (value: getTokensResponse) => Buffer;
104
+ readonly responseDeserialize: (value: Buffer) => getTokensResponse;
105
+ };
106
+ readonly getCustomerByMobile: {
107
+ readonly path: "/service.deveqxcustomers/getCustomerByMobile";
108
+ readonly requestStream: false;
109
+ readonly responseStream: false;
110
+ readonly requestSerialize: (value: getCustomerByMobileRequest) => Buffer;
111
+ readonly requestDeserialize: (value: Buffer) => getCustomerByMobileRequest;
112
+ readonly responseSerialize: (value: getCustomerByMobileResponse) => Buffer;
113
+ readonly responseDeserialize: (value: Buffer) => getCustomerByMobileResponse;
114
+ };
115
+ };
116
+ export interface deveqxcustomersServer extends UntypedServiceImplementation {
117
+ sendOtp: handleUnaryCall<sendOtpRequest, sendOtpResponse>;
118
+ verifyOtp: handleUnaryCall<verifyOtpReqeust, verifyOtpResponse>;
119
+ getUserById: handleUnaryCall<getCustomerByIdRequest, getCustomerByIdResponse>;
120
+ getDashboard: handleUnaryCall<getDashboardRequest, getDashboardResponse>;
121
+ getDashboardMainCard: handleUnaryCall<getDashboardMainCardRequest, getDashboardMainCardResponse>;
122
+ updatePushId: handleUnaryCall<updatePushIdRequest, updatePushIdResponse>;
123
+ getnotifications: handleUnaryCall<getNotificationsRequest, getNotificationsResponse>;
124
+ updateNotifications: handleUnaryCall<updateNotificationRequest, updateNotificationResponse>;
125
+ verifyToken: handleUnaryCall<VerifyTokenRequest, VerifyTokenResponse>;
126
+ getTokens: handleUnaryCall<getTokensRequest, getTokensResponse>;
127
+ getCustomerByMobile: handleUnaryCall<getCustomerByMobileRequest, getCustomerByMobileResponse>;
128
+ }
129
+ export interface deveqxcustomersClient extends Client {
130
+ sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpResponse) => void): ClientUnaryCall;
131
+ sendOtp(request: sendOtpRequest, metadata: Metadata, callback: (error: ServiceError | null, response: sendOtpResponse) => void): ClientUnaryCall;
132
+ sendOtp(request: sendOtpRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: sendOtpResponse) => void): ClientUnaryCall;
133
+ verifyOtp(request: verifyOtpReqeust, callback: (error: ServiceError | null, response: verifyOtpResponse) => void): ClientUnaryCall;
134
+ verifyOtp(request: verifyOtpReqeust, metadata: Metadata, callback: (error: ServiceError | null, response: verifyOtpResponse) => void): ClientUnaryCall;
135
+ verifyOtp(request: verifyOtpReqeust, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: verifyOtpResponse) => void): ClientUnaryCall;
136
+ getUserById(request: getCustomerByIdRequest, callback: (error: ServiceError | null, response: getCustomerByIdResponse) => void): ClientUnaryCall;
137
+ getUserById(request: getCustomerByIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerByIdResponse) => void): ClientUnaryCall;
138
+ getUserById(request: getCustomerByIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCustomerByIdResponse) => void): ClientUnaryCall;
139
+ getDashboard(request: getDashboardRequest, callback: (error: ServiceError | null, response: getDashboardResponse) => void): ClientUnaryCall;
140
+ getDashboard(request: getDashboardRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getDashboardResponse) => void): ClientUnaryCall;
141
+ getDashboard(request: getDashboardRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getDashboardResponse) => void): ClientUnaryCall;
142
+ getDashboardMainCard(request: getDashboardMainCardRequest, callback: (error: ServiceError | null, response: getDashboardMainCardResponse) => void): ClientUnaryCall;
143
+ getDashboardMainCard(request: getDashboardMainCardRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getDashboardMainCardResponse) => void): ClientUnaryCall;
144
+ getDashboardMainCard(request: getDashboardMainCardRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getDashboardMainCardResponse) => void): ClientUnaryCall;
145
+ updatePushId(request: updatePushIdRequest, callback: (error: ServiceError | null, response: updatePushIdResponse) => void): ClientUnaryCall;
146
+ updatePushId(request: updatePushIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updatePushIdResponse) => void): ClientUnaryCall;
147
+ updatePushId(request: updatePushIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updatePushIdResponse) => void): ClientUnaryCall;
148
+ getnotifications(request: getNotificationsRequest, callback: (error: ServiceError | null, response: getNotificationsResponse) => void): ClientUnaryCall;
149
+ getnotifications(request: getNotificationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getNotificationsResponse) => void): ClientUnaryCall;
150
+ getnotifications(request: getNotificationsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getNotificationsResponse) => void): ClientUnaryCall;
151
+ updateNotifications(request: updateNotificationRequest, callback: (error: ServiceError | null, response: updateNotificationResponse) => void): ClientUnaryCall;
152
+ updateNotifications(request: updateNotificationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateNotificationResponse) => void): ClientUnaryCall;
153
+ updateNotifications(request: updateNotificationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateNotificationResponse) => void): ClientUnaryCall;
154
+ verifyToken(request: VerifyTokenRequest, callback: (error: ServiceError | null, response: VerifyTokenResponse) => void): ClientUnaryCall;
155
+ verifyToken(request: VerifyTokenRequest, metadata: Metadata, callback: (error: ServiceError | null, response: VerifyTokenResponse) => void): ClientUnaryCall;
156
+ verifyToken(request: VerifyTokenRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: VerifyTokenResponse) => void): ClientUnaryCall;
157
+ getTokens(request: getTokensRequest, callback: (error: ServiceError | null, response: getTokensResponse) => void): ClientUnaryCall;
158
+ getTokens(request: getTokensRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getTokensResponse) => void): ClientUnaryCall;
159
+ getTokens(request: getTokensRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getTokensResponse) => void): ClientUnaryCall;
160
+ getCustomerByMobile(request: getCustomerByMobileRequest, callback: (error: ServiceError | null, response: getCustomerByMobileResponse) => void): ClientUnaryCall;
161
+ getCustomerByMobile(request: getCustomerByMobileRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerByMobileResponse) => void): ClientUnaryCall;
162
+ getCustomerByMobile(request: getCustomerByMobileRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCustomerByMobileResponse) => void): ClientUnaryCall;
163
+ }
164
+ export declare const deveqxcustomersClient: {
165
+ new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): deveqxcustomersClient;
166
+ service: typeof deveqxcustomersService;
167
+ serviceName: string;
168
+ };
@@ -0,0 +1,124 @@
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.29.3
6
+ // source: deveqxcustomers.proto
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.deveqxcustomersClient = exports.deveqxcustomersService = exports.protobufPackage = void 0;
9
+ /* eslint-disable */
10
+ const grpc_js_1 = require("@grpc/grpc-js");
11
+ const getcustomerbyid_1 = require("./eqxcustomers/getcustomerbyid");
12
+ const getcustomerbymobile_1 = require("./eqxcustomers/getcustomerbymobile");
13
+ const getdashboard_1 = require("./eqxcustomers/getdashboard");
14
+ const getdashboardmaincard_1 = require("./eqxcustomers/getdashboardmaincard");
15
+ const getnotifications_1 = require("./eqxcustomers/getnotifications");
16
+ const gettokens_1 = require("./eqxcustomers/gettokens");
17
+ const sendotp_1 = require("./eqxcustomers/sendotp");
18
+ const updatenotification_1 = require("./eqxcustomers/updatenotification");
19
+ const updatepushid_1 = require("./eqxcustomers/updatepushid");
20
+ const verifyotp_1 = require("./eqxcustomers/verifyotp");
21
+ const verifytoken_1 = require("./eqxcustomers/verifytoken");
22
+ exports.protobufPackage = "service";
23
+ exports.deveqxcustomersService = {
24
+ sendOtp: {
25
+ path: "/service.deveqxcustomers/sendOtp",
26
+ requestStream: false,
27
+ responseStream: false,
28
+ requestSerialize: (value) => Buffer.from(sendotp_1.sendOtpRequest.encode(value).finish()),
29
+ requestDeserialize: (value) => sendotp_1.sendOtpRequest.decode(value),
30
+ responseSerialize: (value) => Buffer.from(sendotp_1.sendOtpResponse.encode(value).finish()),
31
+ responseDeserialize: (value) => sendotp_1.sendOtpResponse.decode(value),
32
+ },
33
+ verifyOtp: {
34
+ path: "/service.deveqxcustomers/verifyOtp",
35
+ requestStream: false,
36
+ responseStream: false,
37
+ requestSerialize: (value) => Buffer.from(verifyotp_1.verifyOtpReqeust.encode(value).finish()),
38
+ requestDeserialize: (value) => verifyotp_1.verifyOtpReqeust.decode(value),
39
+ responseSerialize: (value) => Buffer.from(verifyotp_1.verifyOtpResponse.encode(value).finish()),
40
+ responseDeserialize: (value) => verifyotp_1.verifyOtpResponse.decode(value),
41
+ },
42
+ getUserById: {
43
+ path: "/service.deveqxcustomers/getUserById",
44
+ requestStream: false,
45
+ responseStream: false,
46
+ requestSerialize: (value) => Buffer.from(getcustomerbyid_1.getCustomerByIdRequest.encode(value).finish()),
47
+ requestDeserialize: (value) => getcustomerbyid_1.getCustomerByIdRequest.decode(value),
48
+ responseSerialize: (value) => Buffer.from(getcustomerbyid_1.getCustomerByIdResponse.encode(value).finish()),
49
+ responseDeserialize: (value) => getcustomerbyid_1.getCustomerByIdResponse.decode(value),
50
+ },
51
+ getDashboard: {
52
+ path: "/service.deveqxcustomers/getDashboard",
53
+ requestStream: false,
54
+ responseStream: false,
55
+ requestSerialize: (value) => Buffer.from(getdashboard_1.getDashboardRequest.encode(value).finish()),
56
+ requestDeserialize: (value) => getdashboard_1.getDashboardRequest.decode(value),
57
+ responseSerialize: (value) => Buffer.from(getdashboard_1.getDashboardResponse.encode(value).finish()),
58
+ responseDeserialize: (value) => getdashboard_1.getDashboardResponse.decode(value),
59
+ },
60
+ getDashboardMainCard: {
61
+ path: "/service.deveqxcustomers/getDashboardMainCard",
62
+ requestStream: false,
63
+ responseStream: false,
64
+ requestSerialize: (value) => Buffer.from(getdashboardmaincard_1.getDashboardMainCardRequest.encode(value).finish()),
65
+ requestDeserialize: (value) => getdashboardmaincard_1.getDashboardMainCardRequest.decode(value),
66
+ responseSerialize: (value) => Buffer.from(getdashboardmaincard_1.getDashboardMainCardResponse.encode(value).finish()),
67
+ responseDeserialize: (value) => getdashboardmaincard_1.getDashboardMainCardResponse.decode(value),
68
+ },
69
+ updatePushId: {
70
+ path: "/service.deveqxcustomers/updatePushId",
71
+ requestStream: false,
72
+ responseStream: false,
73
+ requestSerialize: (value) => Buffer.from(updatepushid_1.updatePushIdRequest.encode(value).finish()),
74
+ requestDeserialize: (value) => updatepushid_1.updatePushIdRequest.decode(value),
75
+ responseSerialize: (value) => Buffer.from(updatepushid_1.updatePushIdResponse.encode(value).finish()),
76
+ responseDeserialize: (value) => updatepushid_1.updatePushIdResponse.decode(value),
77
+ },
78
+ getnotifications: {
79
+ path: "/service.deveqxcustomers/getnotifications",
80
+ requestStream: false,
81
+ responseStream: false,
82
+ requestSerialize: (value) => Buffer.from(getnotifications_1.getNotificationsRequest.encode(value).finish()),
83
+ requestDeserialize: (value) => getnotifications_1.getNotificationsRequest.decode(value),
84
+ responseSerialize: (value) => Buffer.from(getnotifications_1.getNotificationsResponse.encode(value).finish()),
85
+ responseDeserialize: (value) => getnotifications_1.getNotificationsResponse.decode(value),
86
+ },
87
+ updateNotifications: {
88
+ path: "/service.deveqxcustomers/updateNotifications",
89
+ requestStream: false,
90
+ responseStream: false,
91
+ requestSerialize: (value) => Buffer.from(updatenotification_1.updateNotificationRequest.encode(value).finish()),
92
+ requestDeserialize: (value) => updatenotification_1.updateNotificationRequest.decode(value),
93
+ responseSerialize: (value) => Buffer.from(updatenotification_1.updateNotificationResponse.encode(value).finish()),
94
+ responseDeserialize: (value) => updatenotification_1.updateNotificationResponse.decode(value),
95
+ },
96
+ verifyToken: {
97
+ path: "/service.deveqxcustomers/VerifyToken",
98
+ requestStream: false,
99
+ responseStream: false,
100
+ requestSerialize: (value) => Buffer.from(verifytoken_1.VerifyTokenRequest.encode(value).finish()),
101
+ requestDeserialize: (value) => verifytoken_1.VerifyTokenRequest.decode(value),
102
+ responseSerialize: (value) => Buffer.from(verifytoken_1.VerifyTokenResponse.encode(value).finish()),
103
+ responseDeserialize: (value) => verifytoken_1.VerifyTokenResponse.decode(value),
104
+ },
105
+ getTokens: {
106
+ path: "/service.deveqxcustomers/getTokens",
107
+ requestStream: false,
108
+ responseStream: false,
109
+ requestSerialize: (value) => Buffer.from(gettokens_1.getTokensRequest.encode(value).finish()),
110
+ requestDeserialize: (value) => gettokens_1.getTokensRequest.decode(value),
111
+ responseSerialize: (value) => Buffer.from(gettokens_1.getTokensResponse.encode(value).finish()),
112
+ responseDeserialize: (value) => gettokens_1.getTokensResponse.decode(value),
113
+ },
114
+ getCustomerByMobile: {
115
+ path: "/service.deveqxcustomers/getCustomerByMobile",
116
+ requestStream: false,
117
+ responseStream: false,
118
+ requestSerialize: (value) => Buffer.from(getcustomerbymobile_1.getCustomerByMobileRequest.encode(value).finish()),
119
+ requestDeserialize: (value) => getcustomerbymobile_1.getCustomerByMobileRequest.decode(value),
120
+ responseSerialize: (value) => Buffer.from(getcustomerbymobile_1.getCustomerByMobileResponse.encode(value).finish()),
121
+ responseDeserialize: (value) => getcustomerbymobile_1.getCustomerByMobileResponse.decode(value),
122
+ },
123
+ };
124
+ exports.deveqxcustomersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.deveqxcustomersService, "service.deveqxcustomers");
@@ -4,9 +4,9 @@ export interface getDashboardRequest {
4
4
  product_page: string;
5
5
  }
6
6
  export interface getDashboardResponse {
7
- groups: Block_groups[];
7
+ groups: BlockGroups[];
8
8
  }
9
- export interface Block_groups {
9
+ export interface BlockGroups {
10
10
  group_name: string;
11
11
  seq_no?: number | undefined;
12
12
  blocks: Block[];
@@ -48,13 +48,13 @@ export declare const getDashboardResponse: {
48
48
  create<I extends Exact<DeepPartial<getDashboardResponse>, I>>(base?: I): getDashboardResponse;
49
49
  fromPartial<I extends Exact<DeepPartial<getDashboardResponse>, I>>(object: I): getDashboardResponse;
50
50
  };
51
- export declare const Block_groups: {
52
- encode(message: Block_groups, writer?: _m0.Writer): _m0.Writer;
53
- decode(input: _m0.Reader | Uint8Array, length?: number): Block_groups;
54
- fromJSON(object: any): Block_groups;
55
- toJSON(message: Block_groups): unknown;
56
- create<I extends Exact<DeepPartial<Block_groups>, I>>(base?: I): Block_groups;
57
- fromPartial<I extends Exact<DeepPartial<Block_groups>, I>>(object: I): Block_groups;
51
+ export declare const BlockGroups: {
52
+ encode(message: BlockGroups, writer?: _m0.Writer): _m0.Writer;
53
+ decode(input: _m0.Reader | Uint8Array, length?: number): BlockGroups;
54
+ fromJSON(object: any): BlockGroups;
55
+ toJSON(message: BlockGroups): unknown;
56
+ create<I extends Exact<DeepPartial<BlockGroups>, I>>(base?: I): BlockGroups;
57
+ fromPartial<I extends Exact<DeepPartial<BlockGroups>, I>>(object: I): BlockGroups;
58
58
  };
59
59
  export declare const Block: {
60
60
  encode(message: Block, writer?: _m0.Writer): _m0.Writer;
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.Items = exports.Block = exports.Block_groups = exports.getDashboardResponse = exports.getDashboardRequest = exports.protobufPackage = void 0;
11
+ exports.Items = exports.Block = exports.BlockGroups = exports.getDashboardResponse = exports.getDashboardRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "eqxcustomers.getdashboard";
@@ -68,7 +68,7 @@ function createBasegetDashboardResponse() {
68
68
  exports.getDashboardResponse = {
69
69
  encode(message, writer = minimal_1.default.Writer.create()) {
70
70
  for (const v of message.groups) {
71
- exports.Block_groups.encode(v, writer.uint32(10).fork()).ldelim();
71
+ exports.BlockGroups.encode(v, writer.uint32(10).fork()).ldelim();
72
72
  }
73
73
  return writer;
74
74
  },
@@ -83,7 +83,7 @@ exports.getDashboardResponse = {
83
83
  if (tag !== 10) {
84
84
  break;
85
85
  }
86
- message.groups.push(exports.Block_groups.decode(reader, reader.uint32()));
86
+ message.groups.push(exports.BlockGroups.decode(reader, reader.uint32()));
87
87
  continue;
88
88
  }
89
89
  if ((tag & 7) === 4 || tag === 0) {
@@ -95,13 +95,13 @@ exports.getDashboardResponse = {
95
95
  },
96
96
  fromJSON(object) {
97
97
  return {
98
- groups: globalThis.Array.isArray(object?.groups) ? object.groups.map((e) => exports.Block_groups.fromJSON(e)) : [],
98
+ groups: globalThis.Array.isArray(object?.groups) ? object.groups.map((e) => exports.BlockGroups.fromJSON(e)) : [],
99
99
  };
100
100
  },
101
101
  toJSON(message) {
102
102
  const obj = {};
103
103
  if (message.groups?.length) {
104
- obj.groups = message.groups.map((e) => exports.Block_groups.toJSON(e));
104
+ obj.groups = message.groups.map((e) => exports.BlockGroups.toJSON(e));
105
105
  }
106
106
  return obj;
107
107
  },
@@ -110,14 +110,14 @@ exports.getDashboardResponse = {
110
110
  },
111
111
  fromPartial(object) {
112
112
  const message = createBasegetDashboardResponse();
113
- message.groups = object.groups?.map((e) => exports.Block_groups.fromPartial(e)) || [];
113
+ message.groups = object.groups?.map((e) => exports.BlockGroups.fromPartial(e)) || [];
114
114
  return message;
115
115
  },
116
116
  };
117
- function createBaseBlock_groups() {
117
+ function createBaseBlockGroups() {
118
118
  return { group_name: "", seq_no: undefined, blocks: [] };
119
119
  }
120
- exports.Block_groups = {
120
+ exports.BlockGroups = {
121
121
  encode(message, writer = minimal_1.default.Writer.create()) {
122
122
  if (message.group_name !== "") {
123
123
  writer.uint32(10).string(message.group_name);
@@ -133,7 +133,7 @@ exports.Block_groups = {
133
133
  decode(input, length) {
134
134
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
135
135
  let end = length === undefined ? reader.len : reader.pos + length;
136
- const message = createBaseBlock_groups();
136
+ const message = createBaseBlockGroups();
137
137
  while (reader.pos < end) {
138
138
  const tag = reader.uint32();
139
139
  switch (tag >>> 3) {
@@ -184,10 +184,10 @@ exports.Block_groups = {
184
184
  return obj;
185
185
  },
186
186
  create(base) {
187
- return exports.Block_groups.fromPartial(base ?? {});
187
+ return exports.BlockGroups.fromPartial(base ?? {});
188
188
  },
189
189
  fromPartial(object) {
190
- const message = createBaseBlock_groups();
190
+ const message = createBaseBlockGroups();
191
191
  message.group_name = object.group_name ?? "";
192
192
  message.seq_no = object.seq_no ?? undefined;
193
193
  message.blocks = object.blocks?.map((e) => exports.Block.fromPartial(e)) || [];