@ignos/api-client 20241105.0.10652 → 20241105.0.10660

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[]>;
@@ -9638,6 +9638,7 @@ export declare class StartOperationDto implements IStartOperationDto {
9638
9638
  operationNumber: number;
9639
9639
  startedQuantity?: number | null;
9640
9640
  resource: string;
9641
+ workType?: WorkTypeDto;
9641
9642
  constructor(data?: IStartOperationDto);
9642
9643
  init(_data?: any): void;
9643
9644
  static fromJS(data: any): StartOperationDto;
@@ -9648,6 +9649,7 @@ export interface IStartOperationDto {
9648
9649
  operationNumber: number;
9649
9650
  startedQuantity?: number | null;
9650
9651
  resource: string;
9652
+ workType?: WorkTypeDto;
9651
9653
  }
9652
9654
  export declare class ReportOperationProgress implements IReportOperationProgress {
9653
9655
  operations: ReportOperationProgressDto[];
@@ -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) {
@@ -34574,6 +34572,7 @@ export class StartOperationDto {
34574
34572
  this.operationNumber = _data["operationNumber"];
34575
34573
  this.startedQuantity = _data["startedQuantity"];
34576
34574
  this.resource = _data["resource"];
34575
+ this.workType = _data["workType"];
34577
34576
  }
34578
34577
  }
34579
34578
  static fromJS(data) {
@@ -34588,6 +34587,7 @@ export class StartOperationDto {
34588
34587
  data["operationNumber"] = this.operationNumber;
34589
34588
  data["startedQuantity"] = this.startedQuantity;
34590
34589
  data["resource"] = this.resource;
34590
+ data["workType"] = this.workType;
34591
34591
  return data;
34592
34592
  }
34593
34593
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20241105.0.10652",
3
+ "version": "20241105.0.10660",
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) {
@@ -43170,6 +43168,7 @@ export class StartOperationDto implements IStartOperationDto {
43170
43168
  operationNumber!: number;
43171
43169
  startedQuantity?: number | null;
43172
43170
  resource!: string;
43171
+ workType?: WorkTypeDto;
43173
43172
 
43174
43173
  constructor(data?: IStartOperationDto) {
43175
43174
  if (data) {
@@ -43186,6 +43185,7 @@ export class StartOperationDto implements IStartOperationDto {
43186
43185
  this.operationNumber = _data["operationNumber"];
43187
43186
  this.startedQuantity = _data["startedQuantity"];
43188
43187
  this.resource = _data["resource"];
43188
+ this.workType = _data["workType"];
43189
43189
  }
43190
43190
  }
43191
43191
 
@@ -43202,6 +43202,7 @@ export class StartOperationDto implements IStartOperationDto {
43202
43202
  data["operationNumber"] = this.operationNumber;
43203
43203
  data["startedQuantity"] = this.startedQuantity;
43204
43204
  data["resource"] = this.resource;
43205
+ data["workType"] = this.workType;
43205
43206
  return data;
43206
43207
  }
43207
43208
  }
@@ -43211,6 +43212,7 @@ export interface IStartOperationDto {
43211
43212
  operationNumber: number;
43212
43213
  startedQuantity?: number | null;
43213
43214
  resource: string;
43215
+ workType?: WorkTypeDto;
43214
43216
  }
43215
43217
 
43216
43218
  export class ReportOperationProgress implements IReportOperationProgress {