@ignos/api-client 20241022.0.10597 → 20241105.0.10652

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,6 +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
1510
  }
1510
1511
  export declare class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
1511
1512
  private http;
@@ -1518,6 +1519,8 @@ export declare class MoveLocationsClient extends AuthorizedApiBase implements IM
1518
1519
  protected processSearchLocations(response: Response): Promise<LocationDto[]>;
1519
1520
  suggestionsLocations(locationProfiles: LocationProfileDto[] | null | undefined, count: number | undefined): Promise<LocationDto[]>;
1520
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>;
1521
1524
  }
1522
1525
  export interface IMoveMaterialsClient {
1523
1526
  listMaterials(): Promise<MaterialDesciptionDto[]>;
@@ -8266,6 +8269,46 @@ export interface IBookingStatusUpdateDto {
8266
8269
  deliveryExceptionComment?: string | null;
8267
8270
  }
8268
8271
  export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Environmental" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack";
8272
+ export declare class SuggestionsResponseDto implements ISuggestionsResponseDto {
8273
+ parcels: SuggestionsParcelDto[];
8274
+ constructor(data?: ISuggestionsResponseDto);
8275
+ init(_data?: any): void;
8276
+ static fromJS(data: any): SuggestionsResponseDto;
8277
+ toJSON(data?: any): any;
8278
+ }
8279
+ export interface ISuggestionsResponseDto {
8280
+ parcels: SuggestionsParcelDto[];
8281
+ }
8282
+ export declare class SuggestionsParcelDto implements ISuggestionsParcelDto {
8283
+ parcelId: string;
8284
+ items: SuggestionsItemDto[];
8285
+ constructor(data?: ISuggestionsParcelDto);
8286
+ init(_data?: any): void;
8287
+ static fromJS(data: any): SuggestionsParcelDto;
8288
+ toJSON(data?: any): any;
8289
+ }
8290
+ export interface ISuggestionsParcelDto {
8291
+ parcelId: string;
8292
+ items: SuggestionsItemDto[];
8293
+ }
8294
+ export declare class SuggestionsItemDto implements ISuggestionsItemDto {
8295
+ trackingId: string;
8296
+ fromAutoFill?: LocationDto | null;
8297
+ toAutoFill?: LocationDto | null;
8298
+ fromSuggestions: LocationDto[];
8299
+ toSuggestions: LocationDto[];
8300
+ constructor(data?: ISuggestionsItemDto);
8301
+ init(_data?: any): void;
8302
+ static fromJS(data: any): SuggestionsItemDto;
8303
+ toJSON(data?: any): any;
8304
+ }
8305
+ export interface ISuggestionsItemDto {
8306
+ trackingId: string;
8307
+ fromAutoFill?: LocationDto | null;
8308
+ toAutoFill?: LocationDto | null;
8309
+ fromSuggestions: LocationDto[];
8310
+ toSuggestions: LocationDto[];
8311
+ }
8269
8312
  export declare class MaterialDesciptionDto implements IMaterialDesciptionDto {
8270
8313
  materialId: string;
8271
8314
  materialName: string;
@@ -8367,6 +8410,7 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
8367
8410
  activeBooking?: boolean | null;
8368
8411
  currentTracking?: TrackingEventDto | null;
8369
8412
  trackingEvents: TrackingEventDto[];
8413
+ suggestions?: SuggestionsItemDto | null;
8370
8414
  constructor(data?: ITrackingHistoryDto);
8371
8415
  init(_data?: any): void;
8372
8416
  static fromJS(data: any): TrackingHistoryDto;
@@ -8378,6 +8422,7 @@ export interface ITrackingHistoryDto {
8378
8422
  activeBooking?: boolean | null;
8379
8423
  currentTracking?: TrackingEventDto | null;
8380
8424
  trackingEvents: TrackingEventDto[];
8425
+ suggestions?: SuggestionsItemDto | null;
8381
8426
  }
8382
8427
  export declare class TrackingEventDto implements ITrackingEventDto {
8383
8428
  id: number;
@@ -8475,6 +8520,7 @@ export interface ITrackingHistoryFlattenedDto {
8475
8520
  export declare class TrackingParcelRequestListDto implements ITrackingParcelRequestListDto {
8476
8521
  parcelIds: string[];
8477
8522
  includeActiveBookings: boolean;
8523
+ includeSuggestions?: boolean | null;
8478
8524
  constructor(data?: ITrackingParcelRequestListDto);
8479
8525
  init(_data?: any): void;
8480
8526
  static fromJS(data: any): TrackingParcelRequestListDto;
@@ -8483,6 +8529,7 @@ export declare class TrackingParcelRequestListDto implements ITrackingParcelRequ
8483
8529
  export interface ITrackingParcelRequestListDto {
8484
8530
  parcelIds: string[];
8485
8531
  includeActiveBookings: boolean;
8532
+ includeSuggestions?: boolean | null;
8486
8533
  }
8487
8534
  export declare class TrackingUpdateDto implements ITrackingUpdateDto {
8488
8535
  trackingId: string;
@@ -9108,6 +9155,7 @@ export declare class ProductionOrderOperationActivityDto implements IProductionO
9108
9155
  startedQuantity?: number | null;
9109
9156
  producedQuantity?: number | null;
9110
9157
  scrappedQuantity?: number | null;
9158
+ workType: WorkTypeDto;
9111
9159
  constructor(data?: IProductionOrderOperationActivityDto);
9112
9160
  init(_data?: any): void;
9113
9161
  static fromJS(data: any): ProductionOrderOperationActivityDto;
@@ -9126,7 +9174,9 @@ export interface IProductionOrderOperationActivityDto {
9126
9174
  startedQuantity?: number | null;
9127
9175
  producedQuantity?: number | null;
9128
9176
  scrappedQuantity?: number | null;
9177
+ workType: WorkTypeDto;
9129
9178
  }
9179
+ export type WorkTypeDto = "None" | "Production" | "Setup";
9130
9180
  export declare class GeneratePrintableLabel implements IGeneratePrintableLabel {
9131
9181
  labelIds: LabelId[];
9132
9182
  constructor(data?: IGeneratePrintableLabel);
@@ -9559,7 +9609,6 @@ export interface ICurrentWorkDto {
9559
9609
  startedQuantity?: number | null;
9560
9610
  workType: WorkTypeDto;
9561
9611
  }
9562
- export type WorkTypeDto = "None" | "Production" | "Setup";
9563
9612
  export declare class StoppedWorkDto implements IStoppedWorkDto {
9564
9613
  operation: ProductionScheduleOperationDto;
9565
9614
  lastWorkActivity: CurrentWorkDto;
@@ -9815,10 +9864,12 @@ export declare class PurchaseOrderDetailsDto implements IPurchaseOrderDetailsDto
9815
9864
  deliveryDate?: Date | null;
9816
9865
  confirmedDeliveryDate?: Date | null;
9817
9866
  status?: PurchaseOrderStatusDto | null;
9867
+ approvalStatus?: PurchaseOrderApprovalStatusDto | null;
9818
9868
  orderer?: ErpUserDto | null;
9819
9869
  requester?: ErpUserDto | null;
9820
9870
  purchasedQuantity: number;
9821
9871
  unit?: string | null;
9872
+ vendorName?: string | null;
9822
9873
  constructor(data?: IPurchaseOrderDetailsDto);
9823
9874
  init(_data?: any): void;
9824
9875
  static fromJS(data: any): PurchaseOrderDetailsDto;
@@ -9831,12 +9882,15 @@ export interface IPurchaseOrderDetailsDto {
9831
9882
  deliveryDate?: Date | null;
9832
9883
  confirmedDeliveryDate?: Date | null;
9833
9884
  status?: PurchaseOrderStatusDto | null;
9885
+ approvalStatus?: PurchaseOrderApprovalStatusDto | null;
9834
9886
  orderer?: ErpUserDto | null;
9835
9887
  requester?: ErpUserDto | null;
9836
9888
  purchasedQuantity: number;
9837
9889
  unit?: string | null;
9890
+ vendorName?: string | null;
9838
9891
  }
9839
9892
  export type PurchaseOrderStatusDto = "None" | "Backorder" | "Received" | "Invoiced" | "Canceled";
9893
+ export type PurchaseOrderApprovalStatusDto = "Draft" | "InReview" | "Rejected" | "Approved" | "InExternalReview" | "Confirmed" | "Finalized";
9840
9894
  export declare class ErpUserDto implements IErpUserDto {
9841
9895
  azureAdObjectId?: string | null;
9842
9896
  name?: string | null;
@@ -10455,6 +10509,7 @@ export declare class MeasurementFormSettingsDto implements IMeasurementFormSetti
10455
10509
  generateSchemaRequirements: boolean;
10456
10510
  generateSchemaInstances: boolean;
10457
10511
  autoCompleteSchemaInstances: boolean;
10512
+ autoApproveSchemaInstances: boolean;
10458
10513
  generateReportForApprovedInstances: boolean;
10459
10514
  includeMeasuringToolsInReportAsDefault: boolean;
10460
10515
  requireCustomerOnWorkOrders: boolean;
@@ -10471,6 +10526,7 @@ export interface IMeasurementFormSettingsDto {
10471
10526
  generateSchemaRequirements: boolean;
10472
10527
  generateSchemaInstances: boolean;
10473
10528
  autoCompleteSchemaInstances: boolean;
10529
+ autoApproveSchemaInstances: boolean;
10474
10530
  generateReportForApprovedInstances: boolean;
10475
10531
  includeMeasuringToolsInReportAsDefault: boolean;
10476
10532
  requireCustomerOnWorkOrders: boolean;
@@ -10483,6 +10539,7 @@ export declare class UpdateMeasurementFormSettings implements IUpdateMeasurement
10483
10539
  generateSchemaRequirements: boolean;
10484
10540
  generateSchemaInstances: boolean;
10485
10541
  autoCompleteSchemaInstances: boolean;
10542
+ autoApproveSchemaInstances: boolean;
10486
10543
  generateReportForApprovedInstances: boolean;
10487
10544
  includeMeasuringToolsInReportAsDefault: boolean;
10488
10545
  requireCustomerOnWorkOrders: boolean;
@@ -10499,6 +10556,7 @@ export interface IUpdateMeasurementFormSettings {
10499
10556
  generateSchemaRequirements: boolean;
10500
10557
  generateSchemaInstances: boolean;
10501
10558
  autoCompleteSchemaInstances: boolean;
10559
+ autoApproveSchemaInstances: boolean;
10502
10560
  generateReportForApprovedInstances: boolean;
10503
10561
  includeMeasuringToolsInReportAsDefault: boolean;
10504
10562
  requireCustomerOnWorkOrders: boolean;
@@ -12374,6 +12374,49 @@ 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) + "&"; });
12381
+ if (parcelId === null)
12382
+ throw new Error("The parameter 'parcelId' cannot be null.");
12383
+ else if (parcelId !== undefined)
12384
+ url_ += "parcelId=" + encodeURIComponent("" + parcelId) + "&";
12385
+ url_ = url_.replace(/[?&]$/, "");
12386
+ let options_ = {
12387
+ method: "GET",
12388
+ headers: {
12389
+ "Accept": "application/json"
12390
+ }
12391
+ };
12392
+ return this.transformOptions(options_).then(transformedOptions_ => {
12393
+ return this.http.fetch(url_, transformedOptions_);
12394
+ }).then((_response) => {
12395
+ return this.processSuggestionsLocations2(_response);
12396
+ });
12397
+ }
12398
+ processSuggestionsLocations2(response) {
12399
+ const status = response.status;
12400
+ let _headers = {};
12401
+ if (response.headers && response.headers.forEach) {
12402
+ response.headers.forEach((v, k) => _headers[k] = v);
12403
+ }
12404
+ ;
12405
+ if (status === 200) {
12406
+ return response.text().then((_responseText) => {
12407
+ let result200 = null;
12408
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
12409
+ result200 = SuggestionsResponseDto.fromJS(resultData200);
12410
+ return result200;
12411
+ });
12412
+ }
12413
+ else if (status !== 200 && status !== 204) {
12414
+ return response.text().then((_responseText) => {
12415
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
12416
+ });
12417
+ }
12418
+ return Promise.resolve(null);
12419
+ }
12377
12420
  }
12378
12421
  export class MoveMaterialsClient extends AuthorizedApiBase {
12379
12422
  constructor(configuration, baseUrl, http) {
@@ -31581,6 +31624,136 @@ export class BookingStatusUpdateDto {
31581
31624
  return data;
31582
31625
  }
31583
31626
  }
31627
+ export class SuggestionsResponseDto {
31628
+ constructor(data) {
31629
+ if (data) {
31630
+ for (var property in data) {
31631
+ if (data.hasOwnProperty(property))
31632
+ this[property] = data[property];
31633
+ }
31634
+ }
31635
+ if (!data) {
31636
+ this.parcels = [];
31637
+ }
31638
+ }
31639
+ init(_data) {
31640
+ if (_data) {
31641
+ if (Array.isArray(_data["parcels"])) {
31642
+ this.parcels = [];
31643
+ for (let item of _data["parcels"])
31644
+ this.parcels.push(SuggestionsParcelDto.fromJS(item));
31645
+ }
31646
+ }
31647
+ }
31648
+ static fromJS(data) {
31649
+ data = typeof data === 'object' ? data : {};
31650
+ let result = new SuggestionsResponseDto();
31651
+ result.init(data);
31652
+ return result;
31653
+ }
31654
+ toJSON(data) {
31655
+ data = typeof data === 'object' ? data : {};
31656
+ if (Array.isArray(this.parcels)) {
31657
+ data["parcels"] = [];
31658
+ for (let item of this.parcels)
31659
+ data["parcels"].push(item.toJSON());
31660
+ }
31661
+ return data;
31662
+ }
31663
+ }
31664
+ export class SuggestionsParcelDto {
31665
+ constructor(data) {
31666
+ if (data) {
31667
+ for (var property in data) {
31668
+ if (data.hasOwnProperty(property))
31669
+ this[property] = data[property];
31670
+ }
31671
+ }
31672
+ if (!data) {
31673
+ this.items = [];
31674
+ }
31675
+ }
31676
+ init(_data) {
31677
+ if (_data) {
31678
+ this.parcelId = _data["parcelId"];
31679
+ if (Array.isArray(_data["items"])) {
31680
+ this.items = [];
31681
+ for (let item of _data["items"])
31682
+ this.items.push(SuggestionsItemDto.fromJS(item));
31683
+ }
31684
+ }
31685
+ }
31686
+ static fromJS(data) {
31687
+ data = typeof data === 'object' ? data : {};
31688
+ let result = new SuggestionsParcelDto();
31689
+ result.init(data);
31690
+ return result;
31691
+ }
31692
+ toJSON(data) {
31693
+ data = typeof data === 'object' ? data : {};
31694
+ data["parcelId"] = this.parcelId;
31695
+ if (Array.isArray(this.items)) {
31696
+ data["items"] = [];
31697
+ for (let item of this.items)
31698
+ data["items"].push(item.toJSON());
31699
+ }
31700
+ return data;
31701
+ }
31702
+ }
31703
+ export class SuggestionsItemDto {
31704
+ constructor(data) {
31705
+ if (data) {
31706
+ for (var property in data) {
31707
+ if (data.hasOwnProperty(property))
31708
+ this[property] = data[property];
31709
+ }
31710
+ }
31711
+ if (!data) {
31712
+ this.fromSuggestions = [];
31713
+ this.toSuggestions = [];
31714
+ }
31715
+ }
31716
+ init(_data) {
31717
+ if (_data) {
31718
+ this.trackingId = _data["trackingId"];
31719
+ this.fromAutoFill = _data["fromAutoFill"] ? LocationDto.fromJS(_data["fromAutoFill"]) : undefined;
31720
+ this.toAutoFill = _data["toAutoFill"] ? LocationDto.fromJS(_data["toAutoFill"]) : undefined;
31721
+ if (Array.isArray(_data["fromSuggestions"])) {
31722
+ this.fromSuggestions = [];
31723
+ for (let item of _data["fromSuggestions"])
31724
+ this.fromSuggestions.push(LocationDto.fromJS(item));
31725
+ }
31726
+ if (Array.isArray(_data["toSuggestions"])) {
31727
+ this.toSuggestions = [];
31728
+ for (let item of _data["toSuggestions"])
31729
+ this.toSuggestions.push(LocationDto.fromJS(item));
31730
+ }
31731
+ }
31732
+ }
31733
+ static fromJS(data) {
31734
+ data = typeof data === 'object' ? data : {};
31735
+ let result = new SuggestionsItemDto();
31736
+ result.init(data);
31737
+ return result;
31738
+ }
31739
+ toJSON(data) {
31740
+ data = typeof data === 'object' ? data : {};
31741
+ data["trackingId"] = this.trackingId;
31742
+ data["fromAutoFill"] = this.fromAutoFill ? this.fromAutoFill.toJSON() : undefined;
31743
+ data["toAutoFill"] = this.toAutoFill ? this.toAutoFill.toJSON() : undefined;
31744
+ if (Array.isArray(this.fromSuggestions)) {
31745
+ data["fromSuggestions"] = [];
31746
+ for (let item of this.fromSuggestions)
31747
+ data["fromSuggestions"].push(item.toJSON());
31748
+ }
31749
+ if (Array.isArray(this.toSuggestions)) {
31750
+ data["toSuggestions"] = [];
31751
+ for (let item of this.toSuggestions)
31752
+ data["toSuggestions"].push(item.toJSON());
31753
+ }
31754
+ return data;
31755
+ }
31756
+ }
31584
31757
  export class MaterialDesciptionDto {
31585
31758
  constructor(data) {
31586
31759
  if (data) {
@@ -31827,6 +32000,7 @@ export class TrackingHistoryDto {
31827
32000
  for (let item of _data["trackingEvents"])
31828
32001
  this.trackingEvents.push(TrackingEventDto.fromJS(item));
31829
32002
  }
32003
+ this.suggestions = _data["suggestions"] ? SuggestionsItemDto.fromJS(_data["suggestions"]) : undefined;
31830
32004
  }
31831
32005
  }
31832
32006
  static fromJS(data) {
@@ -31846,6 +32020,7 @@ export class TrackingHistoryDto {
31846
32020
  for (let item of this.trackingEvents)
31847
32021
  data["trackingEvents"].push(item.toJSON());
31848
32022
  }
32023
+ data["suggestions"] = this.suggestions ? this.suggestions.toJSON() : undefined;
31849
32024
  return data;
31850
32025
  }
31851
32026
  }
@@ -32087,6 +32262,7 @@ export class TrackingParcelRequestListDto {
32087
32262
  this.parcelIds.push(item);
32088
32263
  }
32089
32264
  this.includeActiveBookings = _data["includeActiveBookings"];
32265
+ this.includeSuggestions = _data["includeSuggestions"];
32090
32266
  }
32091
32267
  }
32092
32268
  static fromJS(data) {
@@ -32103,6 +32279,7 @@ export class TrackingParcelRequestListDto {
32103
32279
  data["parcelIds"].push(item);
32104
32280
  }
32105
32281
  data["includeActiveBookings"] = this.includeActiveBookings;
32282
+ data["includeSuggestions"] = this.includeSuggestions;
32106
32283
  return data;
32107
32284
  }
32108
32285
  }
@@ -33301,6 +33478,7 @@ export class ProductionOrderOperationActivityDto {
33301
33478
  this.startedQuantity = _data["startedQuantity"];
33302
33479
  this.producedQuantity = _data["producedQuantity"];
33303
33480
  this.scrappedQuantity = _data["scrappedQuantity"];
33481
+ this.workType = _data["workType"];
33304
33482
  }
33305
33483
  }
33306
33484
  static fromJS(data) {
@@ -33323,6 +33501,7 @@ export class ProductionOrderOperationActivityDto {
33323
33501
  data["startedQuantity"] = this.startedQuantity;
33324
33502
  data["producedQuantity"] = this.producedQuantity;
33325
33503
  data["scrappedQuantity"] = this.scrappedQuantity;
33504
+ data["workType"] = this.workType;
33326
33505
  return data;
33327
33506
  }
33328
33507
  }
@@ -34855,10 +35034,12 @@ export class PurchaseOrderDetailsDto {
34855
35034
  this.deliveryDate = _data["deliveryDate"] ? new Date(_data["deliveryDate"].toString()) : undefined;
34856
35035
  this.confirmedDeliveryDate = _data["confirmedDeliveryDate"] ? new Date(_data["confirmedDeliveryDate"].toString()) : undefined;
34857
35036
  this.status = _data["status"];
35037
+ this.approvalStatus = _data["approvalStatus"];
34858
35038
  this.orderer = _data["orderer"] ? ErpUserDto.fromJS(_data["orderer"]) : undefined;
34859
35039
  this.requester = _data["requester"] ? ErpUserDto.fromJS(_data["requester"]) : undefined;
34860
35040
  this.purchasedQuantity = _data["purchasedQuantity"];
34861
35041
  this.unit = _data["unit"];
35042
+ this.vendorName = _data["vendorName"];
34862
35043
  }
34863
35044
  }
34864
35045
  static fromJS(data) {
@@ -34875,10 +35056,12 @@ export class PurchaseOrderDetailsDto {
34875
35056
  data["deliveryDate"] = this.deliveryDate ? this.deliveryDate.toISOString() : undefined;
34876
35057
  data["confirmedDeliveryDate"] = this.confirmedDeliveryDate ? this.confirmedDeliveryDate.toISOString() : undefined;
34877
35058
  data["status"] = this.status;
35059
+ data["approvalStatus"] = this.approvalStatus;
34878
35060
  data["orderer"] = this.orderer ? this.orderer.toJSON() : undefined;
34879
35061
  data["requester"] = this.requester ? this.requester.toJSON() : undefined;
34880
35062
  data["purchasedQuantity"] = this.purchasedQuantity;
34881
35063
  data["unit"] = this.unit;
35064
+ data["vendorName"] = this.vendorName;
34882
35065
  return data;
34883
35066
  }
34884
35067
  }
@@ -35930,6 +36113,7 @@ export class MeasurementFormSettingsDto {
35930
36113
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
35931
36114
  this.generateSchemaInstances = _data["generateSchemaInstances"];
35932
36115
  this.autoCompleteSchemaInstances = _data["autoCompleteSchemaInstances"];
36116
+ this.autoApproveSchemaInstances = _data["autoApproveSchemaInstances"];
35933
36117
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
35934
36118
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
35935
36119
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
@@ -35954,6 +36138,7 @@ export class MeasurementFormSettingsDto {
35954
36138
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
35955
36139
  data["generateSchemaInstances"] = this.generateSchemaInstances;
35956
36140
  data["autoCompleteSchemaInstances"] = this.autoCompleteSchemaInstances;
36141
+ data["autoApproveSchemaInstances"] = this.autoApproveSchemaInstances;
35957
36142
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
35958
36143
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
35959
36144
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
@@ -35982,6 +36167,7 @@ export class UpdateMeasurementFormSettings {
35982
36167
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
35983
36168
  this.generateSchemaInstances = _data["generateSchemaInstances"];
35984
36169
  this.autoCompleteSchemaInstances = _data["autoCompleteSchemaInstances"];
36170
+ this.autoApproveSchemaInstances = _data["autoApproveSchemaInstances"];
35985
36171
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
35986
36172
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
35987
36173
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
@@ -36006,6 +36192,7 @@ export class UpdateMeasurementFormSettings {
36006
36192
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
36007
36193
  data["generateSchemaInstances"] = this.generateSchemaInstances;
36008
36194
  data["autoCompleteSchemaInstances"] = this.autoCompleteSchemaInstances;
36195
+ data["autoApproveSchemaInstances"] = this.autoApproveSchemaInstances;
36009
36196
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
36010
36197
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
36011
36198
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20241022.0.10597",
3
+ "version": "20241105.0.10652",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -13122,6 +13122,8 @@ export interface IMoveLocationsClient {
13122
13122
  searchLocations(input: string | null | undefined, locationKinds: LocationKindDto[] | null | undefined, locationProfiles: LocationProfileDto[] | null | undefined): Promise<LocationDto[]>;
13123
13123
 
13124
13124
  suggestionsLocations(locationProfiles: LocationProfileDto[] | null | undefined, count: number | undefined): Promise<LocationDto[]>;
13125
+
13126
+ suggestionsLocations2(locationProfiles: LocationProfileDto[] | null | undefined, parcelId: string | undefined): Promise<SuggestionsResponseDto>;
13125
13127
  }
13126
13128
 
13127
13129
  export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocationsClient {
@@ -13226,6 +13228,48 @@ export class MoveLocationsClient extends AuthorizedApiBase implements IMoveLocat
13226
13228
  }
13227
13229
  return Promise.resolve<LocationDto[]>(null as any);
13228
13230
  }
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) + "&"; });
13236
+ if (parcelId === null)
13237
+ throw new Error("The parameter 'parcelId' cannot be null.");
13238
+ else if (parcelId !== undefined)
13239
+ url_ += "parcelId=" + encodeURIComponent("" + parcelId) + "&";
13240
+ url_ = url_.replace(/[?&]$/, "");
13241
+
13242
+ let options_: RequestInit = {
13243
+ method: "GET",
13244
+ headers: {
13245
+ "Accept": "application/json"
13246
+ }
13247
+ };
13248
+
13249
+ return this.transformOptions(options_).then(transformedOptions_ => {
13250
+ return this.http.fetch(url_, transformedOptions_);
13251
+ }).then((_response: Response) => {
13252
+ return this.processSuggestionsLocations2(_response);
13253
+ });
13254
+ }
13255
+
13256
+ protected processSuggestionsLocations2(response: Response): Promise<SuggestionsResponseDto> {
13257
+ const status = response.status;
13258
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
13259
+ if (status === 200) {
13260
+ return response.text().then((_responseText) => {
13261
+ let result200: any = null;
13262
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
13263
+ result200 = SuggestionsResponseDto.fromJS(resultData200);
13264
+ return result200;
13265
+ });
13266
+ } else if (status !== 200 && status !== 204) {
13267
+ return response.text().then((_responseText) => {
13268
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
13269
+ });
13270
+ }
13271
+ return Promise.resolve<SuggestionsResponseDto>(null as any);
13272
+ }
13229
13273
  }
13230
13274
 
13231
13275
  export interface IMoveMaterialsClient {
@@ -38814,6 +38858,176 @@ export interface IBookingStatusUpdateDto {
38814
38858
 
38815
38859
  export type LocationProfileDto = "Cage" | "CantileverRack" | "Deviation" | "Environmental" | "Gate" | "Ground" | "Inbound" | "Logia" | "LogiaTransit" | "Outbound" | "Pack" | "PalletRack" | "Pick" | "Quality" | "Quarantine" | "Resource" | "ShelvingRack";
38816
38860
 
38861
+ export class SuggestionsResponseDto implements ISuggestionsResponseDto {
38862
+ parcels!: SuggestionsParcelDto[];
38863
+
38864
+ constructor(data?: ISuggestionsResponseDto) {
38865
+ if (data) {
38866
+ for (var property in data) {
38867
+ if (data.hasOwnProperty(property))
38868
+ (<any>this)[property] = (<any>data)[property];
38869
+ }
38870
+ }
38871
+ if (!data) {
38872
+ this.parcels = [];
38873
+ }
38874
+ }
38875
+
38876
+ init(_data?: any) {
38877
+ if (_data) {
38878
+ if (Array.isArray(_data["parcels"])) {
38879
+ this.parcels = [] as any;
38880
+ for (let item of _data["parcels"])
38881
+ this.parcels!.push(SuggestionsParcelDto.fromJS(item));
38882
+ }
38883
+ }
38884
+ }
38885
+
38886
+ static fromJS(data: any): SuggestionsResponseDto {
38887
+ data = typeof data === 'object' ? data : {};
38888
+ let result = new SuggestionsResponseDto();
38889
+ result.init(data);
38890
+ return result;
38891
+ }
38892
+
38893
+ toJSON(data?: any) {
38894
+ data = typeof data === 'object' ? data : {};
38895
+ if (Array.isArray(this.parcels)) {
38896
+ data["parcels"] = [];
38897
+ for (let item of this.parcels)
38898
+ data["parcels"].push(item.toJSON());
38899
+ }
38900
+ return data;
38901
+ }
38902
+ }
38903
+
38904
+ export interface ISuggestionsResponseDto {
38905
+ parcels: SuggestionsParcelDto[];
38906
+ }
38907
+
38908
+ export class SuggestionsParcelDto implements ISuggestionsParcelDto {
38909
+ parcelId!: string;
38910
+ items!: SuggestionsItemDto[];
38911
+
38912
+ constructor(data?: ISuggestionsParcelDto) {
38913
+ if (data) {
38914
+ for (var property in data) {
38915
+ if (data.hasOwnProperty(property))
38916
+ (<any>this)[property] = (<any>data)[property];
38917
+ }
38918
+ }
38919
+ if (!data) {
38920
+ this.items = [];
38921
+ }
38922
+ }
38923
+
38924
+ init(_data?: any) {
38925
+ if (_data) {
38926
+ this.parcelId = _data["parcelId"];
38927
+ if (Array.isArray(_data["items"])) {
38928
+ this.items = [] as any;
38929
+ for (let item of _data["items"])
38930
+ this.items!.push(SuggestionsItemDto.fromJS(item));
38931
+ }
38932
+ }
38933
+ }
38934
+
38935
+ static fromJS(data: any): SuggestionsParcelDto {
38936
+ data = typeof data === 'object' ? data : {};
38937
+ let result = new SuggestionsParcelDto();
38938
+ result.init(data);
38939
+ return result;
38940
+ }
38941
+
38942
+ toJSON(data?: any) {
38943
+ data = typeof data === 'object' ? data : {};
38944
+ data["parcelId"] = this.parcelId;
38945
+ if (Array.isArray(this.items)) {
38946
+ data["items"] = [];
38947
+ for (let item of this.items)
38948
+ data["items"].push(item.toJSON());
38949
+ }
38950
+ return data;
38951
+ }
38952
+ }
38953
+
38954
+ export interface ISuggestionsParcelDto {
38955
+ parcelId: string;
38956
+ items: SuggestionsItemDto[];
38957
+ }
38958
+
38959
+ export class SuggestionsItemDto implements ISuggestionsItemDto {
38960
+ trackingId!: string;
38961
+ fromAutoFill?: LocationDto | null;
38962
+ toAutoFill?: LocationDto | null;
38963
+ fromSuggestions!: LocationDto[];
38964
+ toSuggestions!: LocationDto[];
38965
+
38966
+ constructor(data?: ISuggestionsItemDto) {
38967
+ if (data) {
38968
+ for (var property in data) {
38969
+ if (data.hasOwnProperty(property))
38970
+ (<any>this)[property] = (<any>data)[property];
38971
+ }
38972
+ }
38973
+ if (!data) {
38974
+ this.fromSuggestions = [];
38975
+ this.toSuggestions = [];
38976
+ }
38977
+ }
38978
+
38979
+ init(_data?: any) {
38980
+ if (_data) {
38981
+ this.trackingId = _data["trackingId"];
38982
+ this.fromAutoFill = _data["fromAutoFill"] ? LocationDto.fromJS(_data["fromAutoFill"]) : <any>undefined;
38983
+ this.toAutoFill = _data["toAutoFill"] ? LocationDto.fromJS(_data["toAutoFill"]) : <any>undefined;
38984
+ if (Array.isArray(_data["fromSuggestions"])) {
38985
+ this.fromSuggestions = [] as any;
38986
+ for (let item of _data["fromSuggestions"])
38987
+ this.fromSuggestions!.push(LocationDto.fromJS(item));
38988
+ }
38989
+ if (Array.isArray(_data["toSuggestions"])) {
38990
+ this.toSuggestions = [] as any;
38991
+ for (let item of _data["toSuggestions"])
38992
+ this.toSuggestions!.push(LocationDto.fromJS(item));
38993
+ }
38994
+ }
38995
+ }
38996
+
38997
+ static fromJS(data: any): SuggestionsItemDto {
38998
+ data = typeof data === 'object' ? data : {};
38999
+ let result = new SuggestionsItemDto();
39000
+ result.init(data);
39001
+ return result;
39002
+ }
39003
+
39004
+ toJSON(data?: any) {
39005
+ data = typeof data === 'object' ? data : {};
39006
+ data["trackingId"] = this.trackingId;
39007
+ data["fromAutoFill"] = this.fromAutoFill ? this.fromAutoFill.toJSON() : <any>undefined;
39008
+ data["toAutoFill"] = this.toAutoFill ? this.toAutoFill.toJSON() : <any>undefined;
39009
+ if (Array.isArray(this.fromSuggestions)) {
39010
+ data["fromSuggestions"] = [];
39011
+ for (let item of this.fromSuggestions)
39012
+ data["fromSuggestions"].push(item.toJSON());
39013
+ }
39014
+ if (Array.isArray(this.toSuggestions)) {
39015
+ data["toSuggestions"] = [];
39016
+ for (let item of this.toSuggestions)
39017
+ data["toSuggestions"].push(item.toJSON());
39018
+ }
39019
+ return data;
39020
+ }
39021
+ }
39022
+
39023
+ export interface ISuggestionsItemDto {
39024
+ trackingId: string;
39025
+ fromAutoFill?: LocationDto | null;
39026
+ toAutoFill?: LocationDto | null;
39027
+ fromSuggestions: LocationDto[];
39028
+ toSuggestions: LocationDto[];
39029
+ }
39030
+
38817
39031
  export class MaterialDesciptionDto implements IMaterialDesciptionDto {
38818
39032
  materialId!: string;
38819
39033
  materialName!: string;
@@ -39139,6 +39353,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
39139
39353
  activeBooking?: boolean | null;
39140
39354
  currentTracking?: TrackingEventDto | null;
39141
39355
  trackingEvents!: TrackingEventDto[];
39356
+ suggestions?: SuggestionsItemDto | null;
39142
39357
 
39143
39358
  constructor(data?: ITrackingHistoryDto) {
39144
39359
  if (data) {
@@ -39163,6 +39378,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
39163
39378
  for (let item of _data["trackingEvents"])
39164
39379
  this.trackingEvents!.push(TrackingEventDto.fromJS(item));
39165
39380
  }
39381
+ this.suggestions = _data["suggestions"] ? SuggestionsItemDto.fromJS(_data["suggestions"]) : <any>undefined;
39166
39382
  }
39167
39383
  }
39168
39384
 
@@ -39184,6 +39400,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
39184
39400
  for (let item of this.trackingEvents)
39185
39401
  data["trackingEvents"].push(item.toJSON());
39186
39402
  }
39403
+ data["suggestions"] = this.suggestions ? this.suggestions.toJSON() : <any>undefined;
39187
39404
  return data;
39188
39405
  }
39189
39406
  }
@@ -39194,6 +39411,7 @@ export interface ITrackingHistoryDto {
39194
39411
  activeBooking?: boolean | null;
39195
39412
  currentTracking?: TrackingEventDto | null;
39196
39413
  trackingEvents: TrackingEventDto[];
39414
+ suggestions?: SuggestionsItemDto | null;
39197
39415
  }
39198
39416
 
39199
39417
  export class TrackingEventDto implements ITrackingEventDto {
@@ -39511,6 +39729,7 @@ export interface ITrackingHistoryFlattenedDto {
39511
39729
  export class TrackingParcelRequestListDto implements ITrackingParcelRequestListDto {
39512
39730
  parcelIds!: string[];
39513
39731
  includeActiveBookings!: boolean;
39732
+ includeSuggestions?: boolean | null;
39514
39733
 
39515
39734
  constructor(data?: ITrackingParcelRequestListDto) {
39516
39735
  if (data) {
@@ -39532,6 +39751,7 @@ export class TrackingParcelRequestListDto implements ITrackingParcelRequestListD
39532
39751
  this.parcelIds!.push(item);
39533
39752
  }
39534
39753
  this.includeActiveBookings = _data["includeActiveBookings"];
39754
+ this.includeSuggestions = _data["includeSuggestions"];
39535
39755
  }
39536
39756
  }
39537
39757
 
@@ -39550,6 +39770,7 @@ export class TrackingParcelRequestListDto implements ITrackingParcelRequestListD
39550
39770
  data["parcelIds"].push(item);
39551
39771
  }
39552
39772
  data["includeActiveBookings"] = this.includeActiveBookings;
39773
+ data["includeSuggestions"] = this.includeSuggestions;
39553
39774
  return data;
39554
39775
  }
39555
39776
  }
@@ -39557,6 +39778,7 @@ export class TrackingParcelRequestListDto implements ITrackingParcelRequestListD
39557
39778
  export interface ITrackingParcelRequestListDto {
39558
39779
  parcelIds: string[];
39559
39780
  includeActiveBookings: boolean;
39781
+ includeSuggestions?: boolean | null;
39560
39782
  }
39561
39783
 
39562
39784
  export class TrackingUpdateDto implements ITrackingUpdateDto {
@@ -41358,6 +41580,7 @@ export class ProductionOrderOperationActivityDto implements IProductionOrderOper
41358
41580
  startedQuantity?: number | null;
41359
41581
  producedQuantity?: number | null;
41360
41582
  scrappedQuantity?: number | null;
41583
+ workType!: WorkTypeDto;
41361
41584
 
41362
41585
  constructor(data?: IProductionOrderOperationActivityDto) {
41363
41586
  if (data) {
@@ -41382,6 +41605,7 @@ export class ProductionOrderOperationActivityDto implements IProductionOrderOper
41382
41605
  this.startedQuantity = _data["startedQuantity"];
41383
41606
  this.producedQuantity = _data["producedQuantity"];
41384
41607
  this.scrappedQuantity = _data["scrappedQuantity"];
41608
+ this.workType = _data["workType"];
41385
41609
  }
41386
41610
  }
41387
41611
 
@@ -41406,6 +41630,7 @@ export class ProductionOrderOperationActivityDto implements IProductionOrderOper
41406
41630
  data["startedQuantity"] = this.startedQuantity;
41407
41631
  data["producedQuantity"] = this.producedQuantity;
41408
41632
  data["scrappedQuantity"] = this.scrappedQuantity;
41633
+ data["workType"] = this.workType;
41409
41634
  return data;
41410
41635
  }
41411
41636
  }
@@ -41423,8 +41648,11 @@ export interface IProductionOrderOperationActivityDto {
41423
41648
  startedQuantity?: number | null;
41424
41649
  producedQuantity?: number | null;
41425
41650
  scrappedQuantity?: number | null;
41651
+ workType: WorkTypeDto;
41426
41652
  }
41427
41653
 
41654
+ export type WorkTypeDto = "None" | "Production" | "Setup";
41655
+
41428
41656
  export class GeneratePrintableLabel implements IGeneratePrintableLabel {
41429
41657
  labelIds!: LabelId[];
41430
41658
 
@@ -42842,8 +43070,6 @@ export interface ICurrentWorkDto {
42842
43070
  workType: WorkTypeDto;
42843
43071
  }
42844
43072
 
42845
- export type WorkTypeDto = "None" | "Production" | "Setup";
42846
-
42847
43073
  export class StoppedWorkDto implements IStoppedWorkDto {
42848
43074
  operation!: ProductionScheduleOperationDto;
42849
43075
  lastWorkActivity!: CurrentWorkDto;
@@ -43630,10 +43856,12 @@ export class PurchaseOrderDetailsDto implements IPurchaseOrderDetailsDto {
43630
43856
  deliveryDate?: Date | null;
43631
43857
  confirmedDeliveryDate?: Date | null;
43632
43858
  status?: PurchaseOrderStatusDto | null;
43859
+ approvalStatus?: PurchaseOrderApprovalStatusDto | null;
43633
43860
  orderer?: ErpUserDto | null;
43634
43861
  requester?: ErpUserDto | null;
43635
43862
  purchasedQuantity!: number;
43636
43863
  unit?: string | null;
43864
+ vendorName?: string | null;
43637
43865
 
43638
43866
  constructor(data?: IPurchaseOrderDetailsDto) {
43639
43867
  if (data) {
@@ -43652,10 +43880,12 @@ export class PurchaseOrderDetailsDto implements IPurchaseOrderDetailsDto {
43652
43880
  this.deliveryDate = _data["deliveryDate"] ? new Date(_data["deliveryDate"].toString()) : <any>undefined;
43653
43881
  this.confirmedDeliveryDate = _data["confirmedDeliveryDate"] ? new Date(_data["confirmedDeliveryDate"].toString()) : <any>undefined;
43654
43882
  this.status = _data["status"];
43883
+ this.approvalStatus = _data["approvalStatus"];
43655
43884
  this.orderer = _data["orderer"] ? ErpUserDto.fromJS(_data["orderer"]) : <any>undefined;
43656
43885
  this.requester = _data["requester"] ? ErpUserDto.fromJS(_data["requester"]) : <any>undefined;
43657
43886
  this.purchasedQuantity = _data["purchasedQuantity"];
43658
43887
  this.unit = _data["unit"];
43888
+ this.vendorName = _data["vendorName"];
43659
43889
  }
43660
43890
  }
43661
43891
 
@@ -43674,10 +43904,12 @@ export class PurchaseOrderDetailsDto implements IPurchaseOrderDetailsDto {
43674
43904
  data["deliveryDate"] = this.deliveryDate ? this.deliveryDate.toISOString() : <any>undefined;
43675
43905
  data["confirmedDeliveryDate"] = this.confirmedDeliveryDate ? this.confirmedDeliveryDate.toISOString() : <any>undefined;
43676
43906
  data["status"] = this.status;
43907
+ data["approvalStatus"] = this.approvalStatus;
43677
43908
  data["orderer"] = this.orderer ? this.orderer.toJSON() : <any>undefined;
43678
43909
  data["requester"] = this.requester ? this.requester.toJSON() : <any>undefined;
43679
43910
  data["purchasedQuantity"] = this.purchasedQuantity;
43680
43911
  data["unit"] = this.unit;
43912
+ data["vendorName"] = this.vendorName;
43681
43913
  return data;
43682
43914
  }
43683
43915
  }
@@ -43689,14 +43921,18 @@ export interface IPurchaseOrderDetailsDto {
43689
43921
  deliveryDate?: Date | null;
43690
43922
  confirmedDeliveryDate?: Date | null;
43691
43923
  status?: PurchaseOrderStatusDto | null;
43924
+ approvalStatus?: PurchaseOrderApprovalStatusDto | null;
43692
43925
  orderer?: ErpUserDto | null;
43693
43926
  requester?: ErpUserDto | null;
43694
43927
  purchasedQuantity: number;
43695
43928
  unit?: string | null;
43929
+ vendorName?: string | null;
43696
43930
  }
43697
43931
 
43698
43932
  export type PurchaseOrderStatusDto = "None" | "Backorder" | "Received" | "Invoiced" | "Canceled";
43699
43933
 
43934
+ export type PurchaseOrderApprovalStatusDto = "Draft" | "InReview" | "Rejected" | "Approved" | "InExternalReview" | "Confirmed" | "Finalized";
43935
+
43700
43936
  export class ErpUserDto implements IErpUserDto {
43701
43937
  azureAdObjectId?: string | null;
43702
43938
  name?: string | null;
@@ -45351,6 +45587,7 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
45351
45587
  generateSchemaRequirements!: boolean;
45352
45588
  generateSchemaInstances!: boolean;
45353
45589
  autoCompleteSchemaInstances!: boolean;
45590
+ autoApproveSchemaInstances!: boolean;
45354
45591
  generateReportForApprovedInstances!: boolean;
45355
45592
  includeMeasuringToolsInReportAsDefault!: boolean;
45356
45593
  requireCustomerOnWorkOrders!: boolean;
@@ -45373,6 +45610,7 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
45373
45610
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
45374
45611
  this.generateSchemaInstances = _data["generateSchemaInstances"];
45375
45612
  this.autoCompleteSchemaInstances = _data["autoCompleteSchemaInstances"];
45613
+ this.autoApproveSchemaInstances = _data["autoApproveSchemaInstances"];
45376
45614
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
45377
45615
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
45378
45616
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
@@ -45399,6 +45637,7 @@ export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
45399
45637
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
45400
45638
  data["generateSchemaInstances"] = this.generateSchemaInstances;
45401
45639
  data["autoCompleteSchemaInstances"] = this.autoCompleteSchemaInstances;
45640
+ data["autoApproveSchemaInstances"] = this.autoApproveSchemaInstances;
45402
45641
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
45403
45642
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
45404
45643
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
@@ -45418,6 +45657,7 @@ export interface IMeasurementFormSettingsDto {
45418
45657
  generateSchemaRequirements: boolean;
45419
45658
  generateSchemaInstances: boolean;
45420
45659
  autoCompleteSchemaInstances: boolean;
45660
+ autoApproveSchemaInstances: boolean;
45421
45661
  generateReportForApprovedInstances: boolean;
45422
45662
  includeMeasuringToolsInReportAsDefault: boolean;
45423
45663
  requireCustomerOnWorkOrders: boolean;
@@ -45431,6 +45671,7 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
45431
45671
  generateSchemaRequirements!: boolean;
45432
45672
  generateSchemaInstances!: boolean;
45433
45673
  autoCompleteSchemaInstances!: boolean;
45674
+ autoApproveSchemaInstances!: boolean;
45434
45675
  generateReportForApprovedInstances!: boolean;
45435
45676
  includeMeasuringToolsInReportAsDefault!: boolean;
45436
45677
  requireCustomerOnWorkOrders!: boolean;
@@ -45453,6 +45694,7 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
45453
45694
  this.generateSchemaRequirements = _data["generateSchemaRequirements"];
45454
45695
  this.generateSchemaInstances = _data["generateSchemaInstances"];
45455
45696
  this.autoCompleteSchemaInstances = _data["autoCompleteSchemaInstances"];
45697
+ this.autoApproveSchemaInstances = _data["autoApproveSchemaInstances"];
45456
45698
  this.generateReportForApprovedInstances = _data["generateReportForApprovedInstances"];
45457
45699
  this.includeMeasuringToolsInReportAsDefault = _data["includeMeasuringToolsInReportAsDefault"];
45458
45700
  this.requireCustomerOnWorkOrders = _data["requireCustomerOnWorkOrders"];
@@ -45479,6 +45721,7 @@ export class UpdateMeasurementFormSettings implements IUpdateMeasurementFormSett
45479
45721
  data["generateSchemaRequirements"] = this.generateSchemaRequirements;
45480
45722
  data["generateSchemaInstances"] = this.generateSchemaInstances;
45481
45723
  data["autoCompleteSchemaInstances"] = this.autoCompleteSchemaInstances;
45724
+ data["autoApproveSchemaInstances"] = this.autoApproveSchemaInstances;
45482
45725
  data["generateReportForApprovedInstances"] = this.generateReportForApprovedInstances;
45483
45726
  data["includeMeasuringToolsInReportAsDefault"] = this.includeMeasuringToolsInReportAsDefault;
45484
45727
  data["requireCustomerOnWorkOrders"] = this.requireCustomerOnWorkOrders;
@@ -45498,6 +45741,7 @@ export interface IUpdateMeasurementFormSettings {
45498
45741
  generateSchemaRequirements: boolean;
45499
45742
  generateSchemaInstances: boolean;
45500
45743
  autoCompleteSchemaInstances: boolean;
45744
+ autoApproveSchemaInstances: boolean;
45501
45745
  generateReportForApprovedInstances: boolean;
45502
45746
  includeMeasuringToolsInReportAsDefault: boolean;
45503
45747
  requireCustomerOnWorkOrders: boolean;