@ignos/api-client 20241105.0.10657 → 20241106.0.10663

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.
@@ -1506,7 +1506,7 @@ export declare class MoveBookingClient extends AuthorizedApiBase implements IMov
1506
1506
  export interface IMoveLocationsClient {
1507
1507
  searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined, locationProfiles: LocationProfileDto[] | null | undefined): Promise<LocationDto[]>;
1508
1508
  suggestionsLocations(locationProfiles: LocationProfileDto[] | null | undefined, count: number | undefined): Promise<LocationDto[]>;
1509
- suggestionsLocations2(locationProfiles: LocationProfileDto[] | null | undefined, parcelId: string | undefined): Promise<SuggestionsResponseDto>;
1509
+ suggestionsParcel(parcelId: string | undefined): Promise<SuggestionsResponseDto>;
1510
1510
  }
1511
1511
  export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
1512
1512
  private http;
@@ -1519,8 +1519,8 @@ export declare class MoveLocationsClient extends AuthorizedApiBase implements IM
1519
1519
  protected processSearchLocations(response: Response): Promise<LocationDto[]>;
1520
1520
  suggestionsLocations(locationProfiles: LocationProfileDto[] | null | undefined, count: number | undefined): Promise<LocationDto[]>;
1521
1521
  protected processSuggestionsLocations(response: Response): Promise<LocationDto[]>;
1522
- suggestionsLocations2(locationProfiles: LocationProfileDto[] | null | undefined, parcelId: string | undefined): Promise<SuggestionsResponseDto>;
1523
- protected processSuggestionsLocations2(response: Response): Promise<SuggestionsResponseDto>;
1522
+ suggestionsParcel(parcelId: string | undefined): Promise<SuggestionsResponseDto>;
1523
+ protected processSuggestionsParcel(response: Response): Promise<SuggestionsResponseDto>;
1524
1524
  }
1525
1525
  export interface IMoveMaterialsClient {
1526
1526
  listMaterials(): Promise<MaterialDesciptionDto[]>;
@@ -12374,10 +12374,8 @@ export class MoveLocationsClient extends AuthorizedApiBase {
12374
12374
  }
12375
12375
  return Promise.resolve(null);
12376
12376
  }
12377
- suggestionsLocations2(locationProfiles, parcelId) {
12378
- let url_ = this.baseUrl + "/move/locations/suggestions2?";
12379
- if (locationProfiles !== undefined && locationProfiles !== null)
12380
- locationProfiles && locationProfiles.forEach(item => { url_ += "locationProfiles=" + encodeURIComponent("" + item) + "&"; });
12377
+ suggestionsParcel(parcelId) {
12378
+ let url_ = this.baseUrl + "/move/locations/suggestionsparcel?";
12381
12379
  if (parcelId === null)
12382
12380
  throw new Error("The parameter 'parcelId' cannot be null.");
12383
12381
  else if (parcelId !== undefined)
@@ -12392,10 +12390,10 @@ export class MoveLocationsClient extends AuthorizedApiBase {
12392
12390
  return this.transformOptions(options_).then(transformedOptions_ => {
12393
12391
  return this.http.fetch(url_, transformedOptions_);
12394
12392
  }).then((_response) => {
12395
- return this.processSuggestionsLocations2(_response);
12393
+ return this.processSuggestionsParcel(_response);
12396
12394
  });
12397
12395
  }
12398
- processSuggestionsLocations2(response) {
12396
+ processSuggestionsParcel(response) {
12399
12397
  const status = response.status;
12400
12398
  let _headers = {};
12401
12399
  if (response.headers && response.headers.forEach) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20241105.0.10657",
3
+ "version": "20241106.0.10663",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -13123,7 +13123,7 @@ export interface IMoveLocationsClient {
13123
13123
 
13124
13124
  suggestionsLocations(locationProfiles: LocationProfileDto[] | null | undefined, count: number | undefined): Promise<LocationDto[]>;
13125
13125
 
13126
- suggestionsLocations2(locationProfiles: LocationProfileDto[] | null | undefined, parcelId: string | undefined): Promise<SuggestionsResponseDto>;
13126
+ suggestionsParcel(parcelId: string | undefined): Promise<SuggestionsResponseDto>;
13127
13127
  }
13128
13128
 
13129
13129
  export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
@@ -13229,10 +13229,8 @@ export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocat
13229
13229
  return Promise.resolve<LocationDto[]>(null as any);
13230
13230
  }
13231
13231
 
13232
- suggestionsLocations2(locationProfiles: LocationProfileDto[] | null | undefined, parcelId: string | undefined): Promise<SuggestionsResponseDto> {
13233
- let url_ = this.baseUrl + "/move/locations/suggestions2?";
13234
- if (locationProfiles !== undefined && locationProfiles !== null)
13235
- locationProfiles && locationProfiles.forEach(item => { url_ += "locationProfiles=" + encodeURIComponent("" + item) + "&"; });
13232
+ suggestionsParcel(parcelId: string | undefined): Promise<SuggestionsResponseDto> {
13233
+ let url_ = this.baseUrl + "/move/locations/suggestionsparcel?";
13236
13234
  if (parcelId === null)
13237
13235
  throw new Error("The parameter 'parcelId' cannot be null.");
13238
13236
  else if (parcelId !== undefined)
@@ -13249,11 +13247,11 @@ export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocat
13249
13247
  return this.transformOptions(options_).then(transformedOptions_ => {
13250
13248
  return this.http.fetch(url_, transformedOptions_);
13251
13249
  }).then((_response: Response) => {
13252
- return this.processSuggestionsLocations2(_response);
13250
+ return this.processSuggestionsParcel(_response);
13253
13251
  });
13254
13252
  }
13255
13253
 
13256
- protected processSuggestionsLocations2(response: Response): Promise<SuggestionsResponseDto> {
13254
+ protected processSuggestionsParcel(response: Response): Promise<SuggestionsResponseDto> {
13257
13255
  const status = response.status;
13258
13256
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
13259
13257
  if (status === 200) {