@indigina/wms-api 0.0.174 → 0.0.176

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.174
1
+ # @indigina/wms-api@0.0.176
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.174 --save
27
+ npm install @indigina/wms-api@0.0.176 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -421,7 +421,6 @@ class AddressesService extends BaseService {
421
421
  throw new Error('Required parameter addressType was null or undefined when calling getAddressesByCompany.');
422
422
  }
423
423
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
424
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'addressType', addressType, QueryParamStyle.Form, true);
425
424
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
426
425
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
427
426
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
@@ -448,7 +447,7 @@ class AddressesService extends BaseService {
448
447
  responseType_ = 'blob';
449
448
  }
450
449
  }
451
- let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/addresses`;
450
+ let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/addresses/${this.configuration.encodeParam({ name: "addressType", value: addressType, in: "path", style: "simple", explode: false, dataType: "AddressType", dataFormat: undefined })}`;
452
451
  const { basePath, withCredentials } = this.configuration;
453
452
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
454
453
  context: localVarHttpContext,
@@ -469,7 +468,6 @@ class AddressesService extends BaseService {
469
468
  throw new Error('Required parameter addressType was null or undefined when calling getAddressesByPerson.');
470
469
  }
471
470
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
472
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'addressType', addressType, QueryParamStyle.Form, true);
473
471
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
474
472
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
475
473
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
@@ -496,7 +494,7 @@ class AddressesService extends BaseService {
496
494
  responseType_ = 'blob';
497
495
  }
498
496
  }
499
- let localVarPath = `/people/${this.configuration.encodeParam({ name: "personId", value: personId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/addresses`;
497
+ let localVarPath = `/people/${this.configuration.encodeParam({ name: "personId", value: personId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/addresses/${this.configuration.encodeParam({ name: "addressType", value: addressType, in: "path", style: "simple", explode: false, dataType: "AddressType", dataFormat: undefined })}`;
500
498
  const { basePath, withCredentials } = this.configuration;
501
499
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
502
500
  context: localVarHttpContext,
@@ -2368,15 +2366,14 @@ class ContactsService extends BaseService {
2368
2366
  super(basePath, configuration);
2369
2367
  this.httpClient = httpClient;
2370
2368
  }
2371
- getContactsByCompany(companyId, peopleGroup, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2369
+ getContactsByCompany(companyId, contactType, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
2372
2370
  if (companyId === null || companyId === undefined) {
2373
2371
  throw new Error('Required parameter companyId was null or undefined when calling getContactsByCompany.');
2374
2372
  }
2375
- if (peopleGroup === null || peopleGroup === undefined) {
2376
- throw new Error('Required parameter peopleGroup was null or undefined when calling getContactsByCompany.');
2373
+ if (contactType === null || contactType === undefined) {
2374
+ throw new Error('Required parameter contactType was null or undefined when calling getContactsByCompany.');
2377
2375
  }
2378
2376
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2379
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'peopleGroup', peopleGroup, QueryParamStyle.Form, true);
2380
2377
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
2381
2378
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
2382
2379
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
@@ -2403,7 +2400,7 @@ class ContactsService extends BaseService {
2403
2400
  responseType_ = 'blob';
2404
2401
  }
2405
2402
  }
2406
- let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/contacts`;
2403
+ let localVarPath = `/companies/${this.configuration.encodeParam({ name: "companyId", value: companyId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/contacts/${this.configuration.encodeParam({ name: "contactType", value: contactType, in: "path", style: "simple", explode: false, dataType: "PeopleGroup", dataFormat: undefined })}`;
2407
2404
  const { basePath, withCredentials } = this.configuration;
2408
2405
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2409
2406
  context: localVarHttpContext,