@indigina/wms-api 0.0.197 → 0.0.198

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/wms-api@0.0.197
1
+ # @indigina/wms-api@0.0.198
2
2
 
3
3
  WMS API Client for Angular applications
4
4
 
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
24
24
  _published:_
25
25
 
26
26
  ```console
27
- npm install @indigina/wms-api@0.0.197 --save
27
+ npm install @indigina/wms-api@0.0.198 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2239,7 +2239,13 @@ class CompaniesService extends BaseService {
2239
2239
  super(basePath, configuration);
2240
2240
  this.httpClient = httpClient;
2241
2241
  }
2242
- getClientShipToCompanies(observe = 'body', reportProgress = false, options) {
2242
+ getClients($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2243
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2244
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2245
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2246
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
2247
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
2248
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
2243
2249
  let localVarHeaders = this.defaultHeaders;
2244
2250
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2245
2251
  'application/json'
@@ -2261,10 +2267,11 @@ class CompaniesService extends BaseService {
2261
2267
  responseType_ = 'blob';
2262
2268
  }
2263
2269
  }
2264
- let localVarPath = `/companies/clients/ship-to`;
2270
+ let localVarPath = `/companies/clients`;
2265
2271
  const { basePath, withCredentials } = this.configuration;
2266
2272
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2267
2273
  context: localVarHttpContext,
2274
+ params: localVarQueryParameters.toHttpParams(),
2268
2275
  responseType: responseType_,
2269
2276
  ...(withCredentials ? { withCredentials } : {}),
2270
2277
  headers: localVarHeaders,
@@ -2273,13 +2280,15 @@ class CompaniesService extends BaseService {
2273
2280
  reportProgress: reportProgress
2274
2281
  });
2275
2282
  }
2276
- getClients($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2283
+ getCompaniesByCompanyType(companyType, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
2284
+ if (companyType === null || companyType === undefined) {
2285
+ throw new Error('Required parameter companyType was null or undefined when calling getCompaniesByCompanyType.');
2286
+ }
2277
2287
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2278
2288
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2279
2289
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2280
2290
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
2281
2291
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
2282
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
2283
2292
  let localVarHeaders = this.defaultHeaders;
2284
2293
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2285
2294
  'application/json'
@@ -2301,7 +2310,7 @@ class CompaniesService extends BaseService {
2301
2310
  responseType_ = 'blob';
2302
2311
  }
2303
2312
  }
2304
- let localVarPath = `/companies/clients`;
2313
+ let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyType", value: companyType, in: "path", style: "simple", explode: false, dataType: "CompanyType", dataFormat: undefined })}`;
2305
2314
  const { basePath, withCredentials } = this.configuration;
2306
2315
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2307
2316
  context: localVarHttpContext,
@@ -2314,10 +2323,7 @@ class CompaniesService extends BaseService {
2314
2323
  reportProgress: reportProgress
2315
2324
  });
2316
2325
  }
2317
- getCompaniesByCompanyType(companyType, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
2318
- if (companyType === null || companyType === undefined) {
2319
- throw new Error('Required parameter companyType was null or undefined when calling getCompaniesByCompanyType.');
2320
- }
2326
+ getShipToCompanies($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
2321
2327
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2322
2328
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2323
2329
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
@@ -2344,7 +2350,7 @@ class CompaniesService extends BaseService {
2344
2350
  responseType_ = 'blob';
2345
2351
  }
2346
2352
  }
2347
- let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyType", value: companyType, in: "path", style: "simple", explode: false, dataType: "CompanyType", dataFormat: undefined })}`;
2353
+ let localVarPath = `/companies/ship-to`;
2348
2354
  const { basePath, withCredentials } = this.configuration;
2349
2355
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2350
2356
  context: localVarHttpContext,
@@ -2357,12 +2363,9 @@ class CompaniesService extends BaseService {
2357
2363
  reportProgress: reportProgress
2358
2364
  });
2359
2365
  }
2360
- getShipToCompanies($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
2366
+ getShipToCompanyLookup(searchTerm, observe = 'body', reportProgress = false, options) {
2361
2367
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2362
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2363
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2364
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
2365
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
2368
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
2366
2369
  let localVarHeaders = this.defaultHeaders;
2367
2370
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2368
2371
  'application/json'
@@ -2384,7 +2387,7 @@ class CompaniesService extends BaseService {
2384
2387
  responseType_ = 'blob';
2385
2388
  }
2386
2389
  }
2387
- let localVarPath = `/companies/ship-to`;
2390
+ let localVarPath = `/companies/ship-to/lookup`;
2388
2391
  const { basePath, withCredentials } = this.configuration;
2389
2392
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2390
2393
  context: localVarHttpContext,