@stashfin/grpc 1.2.571 → 1.2.572

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.571",
3
+ "version": "1.2.572",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
package/ts/customers.d.ts CHANGED
@@ -53,6 +53,7 @@ import { getBasicInfoRequest, getBasicInfoResponse } from "./customers/getbasici
53
53
  import { getCitiesRequest, getCitiesResponse } from "./customers/getcities";
54
54
  import { getCliStatusRequest, getCliStatusResponse } from "./customers/getclistatus";
55
55
  import { getCompanyAccDetailsRequest, getCompanyAccDetailsResponse } from "./customers/getcompanyaccdetails";
56
+ import { getCustomerRequest as getCustomerRequest1, getCustomerResponse as getCustomerResponse2 } from "./customers/getcustomer";
56
57
  import { getCustomerByIdRequest, getCustomerByIdResponse } from "./customers/getcustomerbyid";
57
58
  import { getCustomerDetailsRequest, getCustomerDetailsResponse } from "./customers/getcustomerdetailsbymobile";
58
59
  import { getDashboardRequest, getDashboardResponse } from "./customers/getdashboard";
@@ -1179,6 +1180,15 @@ export declare const customersService: {
1179
1180
  readonly responseSerialize: (value: getMessengerModeResponse) => Buffer;
1180
1181
  readonly responseDeserialize: (value: Buffer) => getMessengerModeResponse;
1181
1182
  };
1183
+ readonly getCustomer: {
1184
+ readonly path: "/service.customers/getCustomer";
1185
+ readonly requestStream: false;
1186
+ readonly responseStream: false;
1187
+ readonly requestSerialize: (value: getCustomerRequest1) => Buffer;
1188
+ readonly requestDeserialize: (value: Buffer) => getCustomerRequest1;
1189
+ readonly responseSerialize: (value: getCustomerResponse2) => Buffer;
1190
+ readonly responseDeserialize: (value: Buffer) => getCustomerResponse2;
1191
+ };
1182
1192
  };
1183
1193
  export interface customersServer extends UntypedServiceImplementation {
1184
1194
  sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
@@ -1299,6 +1309,7 @@ export interface customersServer extends UntypedServiceImplementation {
1299
1309
  applyLamf: handleUnaryCall<applyLamfRequest, applyLamfResponse>;
1300
1310
  updateSanctionAmount: handleUnaryCall<updateSanctionAmountRequest, updateSanctionAmountResponse>;
1301
1311
  getMessengerMode: handleUnaryCall<getMessengerModeRequest, getMessengerModeResponse>;
1312
+ getCustomer: handleUnaryCall<getCustomerRequest1, getCustomerResponse2>;
1302
1313
  }
1303
1314
  export interface customersClient extends Client {
1304
1315
  sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
@@ -1655,6 +1666,9 @@ export interface customersClient extends Client {
1655
1666
  getMessengerMode(request: getMessengerModeRequest, callback: (error: ServiceError | null, response: getMessengerModeResponse) => void): ClientUnaryCall;
1656
1667
  getMessengerMode(request: getMessengerModeRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getMessengerModeResponse) => void): ClientUnaryCall;
1657
1668
  getMessengerMode(request: getMessengerModeRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getMessengerModeResponse) => void): ClientUnaryCall;
1669
+ getCustomer(request: getCustomerRequest1, callback: (error: ServiceError | null, response: getCustomerResponse2) => void): ClientUnaryCall;
1670
+ getCustomer(request: getCustomerRequest1, metadata: Metadata, callback: (error: ServiceError | null, response: getCustomerResponse2) => void): ClientUnaryCall;
1671
+ getCustomer(request: getCustomerRequest1, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getCustomerResponse2) => void): ClientUnaryCall;
1658
1672
  }
1659
1673
  export declare const customersClient: {
1660
1674
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
package/ts/customers.js CHANGED
@@ -62,6 +62,7 @@ const getbasicinfo_1 = require("./customers/getbasicinfo");
62
62
  const getcities_1 = require("./customers/getcities");
63
63
  const getclistatus_1 = require("./customers/getclistatus");
64
64
  const getcompanyaccdetails_1 = require("./customers/getcompanyaccdetails");
65
+ const getcustomer_1 = require("./customers/getcustomer");
65
66
  const getcustomerbyid_1 = require("./customers/getcustomerbyid");
66
67
  const getcustomerdetailsbymobile_1 = require("./customers/getcustomerdetailsbymobile");
67
68
  const getdashboard_1 = require("./customers/getdashboard");
@@ -1187,5 +1188,14 @@ exports.customersService = {
1187
1188
  responseSerialize: (value) => Buffer.from(getmessengermode_1.getMessengerModeResponse.encode(value).finish()),
1188
1189
  responseDeserialize: (value) => getmessengermode_1.getMessengerModeResponse.decode(value),
1189
1190
  },
1191
+ getCustomer: {
1192
+ path: "/service.customers/getCustomer",
1193
+ requestStream: false,
1194
+ responseStream: false,
1195
+ requestSerialize: (value) => Buffer.from(getcustomer_1.getCustomerRequest.encode(value).finish()),
1196
+ requestDeserialize: (value) => getcustomer_1.getCustomerRequest.decode(value),
1197
+ responseSerialize: (value) => Buffer.from(getcustomer_1.getCustomerResponse.encode(value).finish()),
1198
+ responseDeserialize: (value) => getcustomer_1.getCustomerResponse.decode(value),
1199
+ },
1190
1200
  };
1191
1201
  exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");