@stashfin/grpc 1.2.658 → 1.2.659

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.658",
3
+ "version": "1.2.659",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -6,6 +6,7 @@ import { getDashboardMainCardRequest, getDashboardMainCardResponse } from "./eqx
6
6
  import { getNotificationsRequest, getNotificationsResponse } from "./eqxcustomers/getnotifications";
7
7
  import { getTokensRequest, getTokensResponse } from "./eqxcustomers/gettokens";
8
8
  import { sendOtpRequest, sendOtpResponse } from "./eqxcustomers/sendotp";
9
+ import { updateCustomerRequest, updateCustomerResponse } from "./eqxcustomers/updatecustomer";
9
10
  import { updateNotificationRequest, updateNotificationResponse } from "./eqxcustomers/updatenotification";
10
11
  import { updatePushIdRequest, updatePushIdResponse } from "./eqxcustomers/updatepushid";
11
12
  import { verifyOtpReqeust, verifyOtpResponse } from "./eqxcustomers/verifyotp";
@@ -112,6 +113,15 @@ export declare const deveqxcustomersService: {
112
113
  readonly responseSerialize: (value: getCustomerByMobileResponse) => Buffer;
113
114
  readonly responseDeserialize: (value: Buffer) => getCustomerByMobileResponse;
114
115
  };
116
+ readonly updateCustomer: {
117
+ readonly path: "/service.deveqxcustomers/updateCustomer";
118
+ readonly requestStream: false;
119
+ readonly responseStream: false;
120
+ readonly requestSerialize: (value: updateCustomerRequest) => Buffer;
121
+ readonly requestDeserialize: (value: Buffer) => updateCustomerRequest;
122
+ readonly responseSerialize: (value: updateCustomerResponse) => Buffer;
123
+ readonly responseDeserialize: (value: Buffer) => updateCustomerResponse;
124
+ };
115
125
  };
116
126
  export interface deveqxcustomersServer extends UntypedServiceImplementation {
117
127
  sendOtp: handleUnaryCall<sendOtpRequest, sendOtpResponse>;
@@ -125,6 +135,7 @@ export interface deveqxcustomersServer extends UntypedServiceImplementation {
125
135
  verifyToken: handleUnaryCall<VerifyTokenRequest, VerifyTokenResponse>;
126
136
  getTokens: handleUnaryCall<getTokensRequest, getTokensResponse>;
127
137
  getCustomerByMobile: handleUnaryCall<getCustomerByMobileRequest, getCustomerByMobileResponse>;
138
+ updateCustomer: handleUnaryCall<updateCustomerRequest, updateCustomerResponse>;
128
139
  }
129
140
  export interface deveqxcustomersClient extends Client {
130
141
  sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpResponse) => void): ClientUnaryCall;
@@ -160,6 +171,9 @@ export interface deveqxcustomersClient extends Client {
160
171
  getCustomerByMobile(request: getCustomerByMobileRequest, callback: (error: ServiceError | null, response: getCustomerByMobileResponse) => void): ClientUnaryCall;
161
172
  getCustomerByMobile(request: getCustomerByMobileRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerByMobileResponse) => void): ClientUnaryCall;
162
173
  getCustomerByMobile(request: getCustomerByMobileRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCustomerByMobileResponse) => void): ClientUnaryCall;
174
+ updateCustomer(request: updateCustomerRequest, callback: (error: ServiceError | null, response: updateCustomerResponse) => void): ClientUnaryCall;
175
+ updateCustomer(request: updateCustomerRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCustomerResponse) => void): ClientUnaryCall;
176
+ updateCustomer(request: updateCustomerRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCustomerResponse) => void): ClientUnaryCall;
163
177
  }
164
178
  export declare const deveqxcustomersClient: {
165
179
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): deveqxcustomersClient;
@@ -15,6 +15,7 @@ const getdashboardmaincard_1 = require("./eqxcustomers/getdashboardmaincard");
15
15
  const getnotifications_1 = require("./eqxcustomers/getnotifications");
16
16
  const gettokens_1 = require("./eqxcustomers/gettokens");
17
17
  const sendotp_1 = require("./eqxcustomers/sendotp");
18
+ const updatecustomer_1 = require("./eqxcustomers/updatecustomer");
18
19
  const updatenotification_1 = require("./eqxcustomers/updatenotification");
19
20
  const updatepushid_1 = require("./eqxcustomers/updatepushid");
20
21
  const verifyotp_1 = require("./eqxcustomers/verifyotp");
@@ -120,5 +121,14 @@ exports.deveqxcustomersService = {
120
121
  responseSerialize: (value) => Buffer.from(getcustomerbymobile_1.getCustomerByMobileResponse.encode(value).finish()),
121
122
  responseDeserialize: (value) => getcustomerbymobile_1.getCustomerByMobileResponse.decode(value),
122
123
  },
124
+ updateCustomer: {
125
+ path: "/service.deveqxcustomers/updateCustomer",
126
+ requestStream: false,
127
+ responseStream: false,
128
+ requestSerialize: (value) => Buffer.from(updatecustomer_1.updateCustomerRequest.encode(value).finish()),
129
+ requestDeserialize: (value) => updatecustomer_1.updateCustomerRequest.decode(value),
130
+ responseSerialize: (value) => Buffer.from(updatecustomer_1.updateCustomerResponse.encode(value).finish()),
131
+ responseDeserialize: (value) => updatecustomer_1.updateCustomerResponse.decode(value),
132
+ },
123
133
  };
124
134
  exports.deveqxcustomersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.deveqxcustomersService, "service.deveqxcustomers");