@stashfin/grpc 1.2.663 → 1.2.664

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.663",
3
+ "version": "1.2.664",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -1,9 +1,11 @@
1
1
  import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
2
+ import { authenticatUserRequest, authenticatUserResponse } from "./eqxcustomers/authenticateuser";
2
3
  import { getCustomerByIdRequest, getCustomerByIdResponse } from "./eqxcustomers/getcustomerbyid";
3
4
  import { getCustomerByMobileRequest, getCustomerByMobileResponse } from "./eqxcustomers/getcustomerbymobile";
4
5
  import { getDashboardRequest, getDashboardResponse } from "./eqxcustomers/getdashboard";
5
6
  import { getDashboardMainCardRequest, getDashboardMainCardResponse } from "./eqxcustomers/getdashboardmaincard";
6
7
  import { getNotificationsRequest, getNotificationsResponse } from "./eqxcustomers/getnotifications";
8
+ import { getStashScoreProfileByIdRequest, getStashScoreProfileByIdResponse } from "./eqxcustomers/getstashscorecustomerprofile";
7
9
  import { getTokensRequest, getTokensResponse } from "./eqxcustomers/gettokens";
8
10
  import { sendOtpRequest, sendOtpResponse } from "./eqxcustomers/sendotp";
9
11
  import { updateCustomerRequest, updateCustomerResponse } from "./eqxcustomers/updatecustomer";
@@ -122,6 +124,24 @@ export declare const deveqxcustomersService: {
122
124
  readonly responseSerialize: (value: updateCustomerResponse) => Buffer;
123
125
  readonly responseDeserialize: (value: Buffer) => updateCustomerResponse;
124
126
  };
127
+ readonly getStashScoreProfileById: {
128
+ readonly path: "/service.deveqxcustomers/getStashScoreProfileById";
129
+ readonly requestStream: false;
130
+ readonly responseStream: false;
131
+ readonly requestSerialize: (value: getStashScoreProfileByIdRequest) => Buffer;
132
+ readonly requestDeserialize: (value: Buffer) => getStashScoreProfileByIdRequest;
133
+ readonly responseSerialize: (value: getStashScoreProfileByIdResponse) => Buffer;
134
+ readonly responseDeserialize: (value: Buffer) => getStashScoreProfileByIdResponse;
135
+ };
136
+ readonly authenticateUser: {
137
+ readonly path: "/service.deveqxcustomers/authenticateUser";
138
+ readonly requestStream: false;
139
+ readonly responseStream: false;
140
+ readonly requestSerialize: (value: authenticatUserRequest) => Buffer;
141
+ readonly requestDeserialize: (value: Buffer) => authenticatUserRequest;
142
+ readonly responseSerialize: (value: authenticatUserResponse) => Buffer;
143
+ readonly responseDeserialize: (value: Buffer) => authenticatUserResponse;
144
+ };
125
145
  };
126
146
  export interface deveqxcustomersServer extends UntypedServiceImplementation {
127
147
  sendOtp: handleUnaryCall<sendOtpRequest, sendOtpResponse>;
@@ -136,6 +156,8 @@ export interface deveqxcustomersServer extends UntypedServiceImplementation {
136
156
  getTokens: handleUnaryCall<getTokensRequest, getTokensResponse>;
137
157
  getCustomerByMobile: handleUnaryCall<getCustomerByMobileRequest, getCustomerByMobileResponse>;
138
158
  updateCustomer: handleUnaryCall<updateCustomerRequest, updateCustomerResponse>;
159
+ getStashScoreProfileById: handleUnaryCall<getStashScoreProfileByIdRequest, getStashScoreProfileByIdResponse>;
160
+ authenticateUser: handleUnaryCall<authenticatUserRequest, authenticatUserResponse>;
139
161
  }
140
162
  export interface deveqxcustomersClient extends Client {
141
163
  sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpResponse) => void): ClientUnaryCall;
@@ -174,6 +196,12 @@ export interface deveqxcustomersClient extends Client {
174
196
  updateCustomer(request: updateCustomerRequest, callback: (error: ServiceError | null, response: updateCustomerResponse) => void): ClientUnaryCall;
175
197
  updateCustomer(request: updateCustomerRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCustomerResponse) => void): ClientUnaryCall;
176
198
  updateCustomer(request: updateCustomerRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCustomerResponse) => void): ClientUnaryCall;
199
+ getStashScoreProfileById(request: getStashScoreProfileByIdRequest, callback: (error: ServiceError | null, response: getStashScoreProfileByIdResponse) => void): ClientUnaryCall;
200
+ getStashScoreProfileById(request: getStashScoreProfileByIdRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getStashScoreProfileByIdResponse) => void): ClientUnaryCall;
201
+ getStashScoreProfileById(request: getStashScoreProfileByIdRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getStashScoreProfileByIdResponse) => void): ClientUnaryCall;
202
+ authenticateUser(request: authenticatUserRequest, callback: (error: ServiceError | null, response: authenticatUserResponse) => void): ClientUnaryCall;
203
+ authenticateUser(request: authenticatUserRequest, metadata: Metadata, callback: (error: ServiceError | null, response: authenticatUserResponse) => void): ClientUnaryCall;
204
+ authenticateUser(request: authenticatUserRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: authenticatUserResponse) => void): ClientUnaryCall;
177
205
  }
178
206
  export declare const deveqxcustomersClient: {
179
207
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): deveqxcustomersClient;
@@ -8,11 +8,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.deveqxcustomersClient = exports.deveqxcustomersService = exports.protobufPackage = void 0;
9
9
  /* eslint-disable */
10
10
  const grpc_js_1 = require("@grpc/grpc-js");
11
+ const authenticateuser_1 = require("./eqxcustomers/authenticateuser");
11
12
  const getcustomerbyid_1 = require("./eqxcustomers/getcustomerbyid");
12
13
  const getcustomerbymobile_1 = require("./eqxcustomers/getcustomerbymobile");
13
14
  const getdashboard_1 = require("./eqxcustomers/getdashboard");
14
15
  const getdashboardmaincard_1 = require("./eqxcustomers/getdashboardmaincard");
15
16
  const getnotifications_1 = require("./eqxcustomers/getnotifications");
17
+ const getstashscorecustomerprofile_1 = require("./eqxcustomers/getstashscorecustomerprofile");
16
18
  const gettokens_1 = require("./eqxcustomers/gettokens");
17
19
  const sendotp_1 = require("./eqxcustomers/sendotp");
18
20
  const updatecustomer_1 = require("./eqxcustomers/updatecustomer");
@@ -130,5 +132,23 @@ exports.deveqxcustomersService = {
130
132
  responseSerialize: (value) => Buffer.from(updatecustomer_1.updateCustomerResponse.encode(value).finish()),
131
133
  responseDeserialize: (value) => updatecustomer_1.updateCustomerResponse.decode(value),
132
134
  },
135
+ getStashScoreProfileById: {
136
+ path: "/service.deveqxcustomers/getStashScoreProfileById",
137
+ requestStream: false,
138
+ responseStream: false,
139
+ requestSerialize: (value) => Buffer.from(getstashscorecustomerprofile_1.getStashScoreProfileByIdRequest.encode(value).finish()),
140
+ requestDeserialize: (value) => getstashscorecustomerprofile_1.getStashScoreProfileByIdRequest.decode(value),
141
+ responseSerialize: (value) => Buffer.from(getstashscorecustomerprofile_1.getStashScoreProfileByIdResponse.encode(value).finish()),
142
+ responseDeserialize: (value) => getstashscorecustomerprofile_1.getStashScoreProfileByIdResponse.decode(value),
143
+ },
144
+ authenticateUser: {
145
+ path: "/service.deveqxcustomers/authenticateUser",
146
+ requestStream: false,
147
+ responseStream: false,
148
+ requestSerialize: (value) => Buffer.from(authenticateuser_1.authenticatUserRequest.encode(value).finish()),
149
+ requestDeserialize: (value) => authenticateuser_1.authenticatUserRequest.decode(value),
150
+ responseSerialize: (value) => Buffer.from(authenticateuser_1.authenticatUserResponse.encode(value).finish()),
151
+ responseDeserialize: (value) => authenticateuser_1.authenticatUserResponse.decode(value),
152
+ },
133
153
  };
134
154
  exports.deveqxcustomersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.deveqxcustomersService, "service.deveqxcustomers");