@ignos/api-client 20240731.0.9883 → 20240801.0.9895-alpha

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.
@@ -208,7 +208,7 @@ export declare class MachineUtilizationClient extends AuthorizedApiBase implemen
208
208
  export interface IMeClient {
209
209
  getMyApps(): Promise<UserAppDto[]>;
210
210
  getCurrentUser(): Promise<UserDetailsDto>;
211
- setIsBetaTester(request: SetIsBetaTesterRequest): Promise<UserDto>;
211
+ setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto>;
212
212
  updateCurrentUserLastSeen(): Promise<void>;
213
213
  }
214
214
  export declare class MeClient extends AuthorizedApiBase implements IMeClient {
@@ -222,8 +222,8 @@ export declare class MeClient extends AuthorizedApiBase implements IMeClient {
222
222
  protected processGetMyApps(response: Response): Promise<UserAppDto[]>;
223
223
  getCurrentUser(): Promise<UserDetailsDto>;
224
224
  protected processGetCurrentUser(response: Response): Promise<UserDetailsDto>;
225
- setIsBetaTester(request: SetIsBetaTesterRequest): Promise<UserDto>;
226
- protected processSetIsBetaTester(response: Response): Promise<UserDto>;
225
+ setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto>;
226
+ protected processSetUserConfiguration(response: Response): Promise<UserDto>;
227
227
  updateCurrentUserLastSeen(): Promise<void>;
228
228
  protected processUpdateCurrentUserLastSeen(response: Response): Promise<void>;
229
229
  }
@@ -961,7 +961,7 @@ export interface ICncFileTransferClient {
961
961
  startCncMachineOperationTransferToMachine(id: string): Promise<CncMachineTransferDto>;
962
962
  getTransferStatus(id: string): Promise<CncMachineTransferDto>;
963
963
  createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
964
- getCamTransfer(path: string | null | undefined): Promise<CamTransferDto>;
964
+ getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
965
965
  startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
966
966
  startCamTransferToMachineFromTempUpload(request: StartCamTransferToMachineFromTempUpload): Promise<CncMachineTransferDto>;
967
967
  }
@@ -980,7 +980,7 @@ export declare class CncFileTransferClient extends AuthorizedApiBase implements
980
980
  protected processGetTransferStatus(response: Response): Promise<CncMachineTransferDto>;
981
981
  createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
982
982
  protected processCreateUploadCamTransferInfo(response: Response): Promise<UploadCamFileDto>;
983
- getCamTransfer(path: string | null | undefined): Promise<CamTransferDto>;
983
+ getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
984
984
  protected processGetCamTransfer(response: Response): Promise<CamTransferDto>;
985
985
  startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
986
986
  protected processStartCamTransferToMachine(response: Response): Promise<CncMachineTransferDto>;
@@ -1016,17 +1016,16 @@ export interface ICncSetupClient {
1016
1016
  updateCncMachineCommunicationSettings(id: string, request: UpdateCncMachineCommunicationSettingsRequest): Promise<CncMachineCommunicationSettingsDto>;
1017
1017
  deleteCncMachineCommunicationSettings(id: string): Promise<void>;
1018
1018
  createCncPart(request: CreateCncPart): Promise<CncPartDto>;
1019
- listCncParts(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncPartListDto>;
1020
1019
  updateCncPart(id: string, request: UpdateCncPartRequest): Promise<CncPartDto>;
1021
1020
  deleteCncPart(id: string): Promise<FileResponse>;
1022
1021
  getCncPart(id: string): Promise<CncPartDto>;
1023
1022
  postListCncParts(request: ListCncPartsRequest | undefined): Promise<PagedResultOfCncPartListDto>;
1023
+ listCncPartMaterials(filter: string | null | undefined): Promise<CncPartMaterialListDto>;
1024
1024
  copyCncPart(request: CopyCncPart): Promise<CncPartDto>;
1025
1025
  createUploadPartDrawingInfo(id: string, request: UploadPartDrawingRequest): Promise<UploadFileDto>;
1026
1026
  getCncPartDrawing(id: string): Promise<FileDto>;
1027
1027
  deleteCncPartDrawing(id: string, request: DeletePartDrawingRequest): Promise<void>;
1028
1028
  createCncMachineOperation(request: CreateCncMachineOperation): Promise<CncMachineOperationDto>;
1029
- listCncMachineOperations(pageSize: number | undefined, cncMachineId: string | null | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
1030
1029
  postListCncMachineOperations(request: ListCncMachineOperationsRequest | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
1031
1030
  updateCncMachineOperation(id: string, request: UpdateCncMachineOperationRequest): Promise<CncMachineOperationDto>;
1032
1031
  getCncMachineOperation(id: string): Promise<CncMachineOperationDto>;
@@ -1084,8 +1083,6 @@ export declare class CncSetupClient extends AuthorizedApiBase implements ICncSet
1084
1083
  protected processDeleteCncMachineCommunicationSettings(response: Response): Promise<void>;
1085
1084
  createCncPart(request: CreateCncPart): Promise<CncPartDto>;
1086
1085
  protected processCreateCncPart(response: Response): Promise<CncPartDto>;
1087
- listCncParts(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncPartListDto>;
1088
- protected processListCncParts(response: Response): Promise<PagedResultOfCncPartListDto>;
1089
1086
  updateCncPart(id: string, request: UpdateCncPartRequest): Promise<CncPartDto>;
1090
1087
  protected processUpdateCncPart(response: Response): Promise<CncPartDto>;
1091
1088
  deleteCncPart(id: string): Promise<FileResponse>;
@@ -1094,6 +1091,8 @@ export declare class CncSetupClient extends AuthorizedApiBase implements ICncSet
1094
1091
  protected processGetCncPart(response: Response): Promise<CncPartDto>;
1095
1092
  postListCncParts(request: ListCncPartsRequest | undefined): Promise<PagedResultOfCncPartListDto>;
1096
1093
  protected processPostListCncParts(response: Response): Promise<PagedResultOfCncPartListDto>;
1094
+ listCncPartMaterials(filter: string | null | undefined): Promise<CncPartMaterialListDto>;
1095
+ protected processListCncPartMaterials(response: Response): Promise<CncPartMaterialListDto>;
1097
1096
  copyCncPart(request: CopyCncPart): Promise<CncPartDto>;
1098
1097
  protected processCopyCncPart(response: Response): Promise<CncPartDto>;
1099
1098
  createUploadPartDrawingInfo(id: string, request: UploadPartDrawingRequest): Promise<UploadFileDto>;
@@ -1104,8 +1103,6 @@ export declare class CncSetupClient extends AuthorizedApiBase implements ICncSet
1104
1103
  protected processDeleteCncPartDrawing(response: Response): Promise<void>;
1105
1104
  createCncMachineOperation(request: CreateCncMachineOperation): Promise<CncMachineOperationDto>;
1106
1105
  protected processCreateCncMachineOperation(response: Response): Promise<CncMachineOperationDto>;
1107
- listCncMachineOperations(pageSize: number | undefined, cncMachineId: string | null | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
1108
- protected processListCncMachineOperations(response: Response): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
1109
1106
  postListCncMachineOperations(request: ListCncMachineOperationsRequest | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
1110
1107
  protected processPostListCncMachineOperations(response: Response): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
1111
1108
  updateCncMachineOperation(id: string, request: UpdateCncMachineOperationRequest): Promise<CncMachineOperationDto>;
@@ -2672,6 +2669,7 @@ export declare class UserDetailsDto implements IUserDetailsDto {
2672
2669
  customerId?: string | null;
2673
2670
  isExternalUser?: boolean;
2674
2671
  isBetaTester?: boolean | null;
2672
+ engageMoveAutoPrompt?: boolean | null;
2675
2673
  hasAccessToIgnos?: boolean;
2676
2674
  constructor(data?: IUserDetailsDto);
2677
2675
  init(_data?: any): void;
@@ -2689,6 +2687,7 @@ export interface IUserDetailsDto {
2689
2687
  customerId?: string | null;
2690
2688
  isExternalUser?: boolean;
2691
2689
  isBetaTester?: boolean | null;
2690
+ engageMoveAutoPrompt?: boolean | null;
2692
2691
  hasAccessToIgnos?: boolean;
2693
2692
  }
2694
2693
  export declare class UserDto implements IUserDto {
@@ -2697,6 +2696,7 @@ export declare class UserDto implements IUserDto {
2697
2696
  upn?: string | null;
2698
2697
  email?: string | null;
2699
2698
  isBetaTester?: boolean | null;
2699
+ engageMoveAutoPrompt?: boolean | null;
2700
2700
  constructor(data?: IUserDto);
2701
2701
  init(_data?: any): void;
2702
2702
  static fromJS(data: any): UserDto;
@@ -2708,16 +2708,19 @@ export interface IUserDto {
2708
2708
  upn?: string | null;
2709
2709
  email?: string | null;
2710
2710
  isBetaTester?: boolean | null;
2711
+ engageMoveAutoPrompt?: boolean | null;
2711
2712
  }
2712
- export declare class SetIsBetaTesterRequest implements ISetIsBetaTesterRequest {
2713
- isBetaTester: boolean;
2714
- constructor(data?: ISetIsBetaTesterRequest);
2713
+ export declare class SetUserConfigurationRequest implements ISetUserConfigurationRequest {
2714
+ isBetaTester?: boolean | null;
2715
+ engageMoveAutoPrompt?: boolean | null;
2716
+ constructor(data?: ISetUserConfigurationRequest);
2715
2717
  init(_data?: any): void;
2716
- static fromJS(data: any): SetIsBetaTesterRequest;
2718
+ static fromJS(data: any): SetUserConfigurationRequest;
2717
2719
  toJSON(data?: any): any;
2718
2720
  }
2719
- export interface ISetIsBetaTesterRequest {
2720
- isBetaTester: boolean;
2721
+ export interface ISetUserConfigurationRequest {
2722
+ isBetaTester?: boolean | null;
2723
+ engageMoveAutoPrompt?: boolean | null;
2721
2724
  }
2722
2725
  export declare class PagedResultOfUserDto implements IPagedResultOfUserDto {
2723
2726
  results: UserDto[];
@@ -6427,7 +6430,6 @@ export interface ICncPartListDto {
6427
6430
  deleted: boolean;
6428
6431
  description?: string | null;
6429
6432
  }
6430
- export type CncFilterDeletedDto = "NoneDeleted" | "OnlyDeleted" | "All";
6431
6433
  export declare class ListCncPartsRequest implements IListCncPartsRequest {
6432
6434
  pageSize?: number | null;
6433
6435
  customerId?: string | null;
@@ -6472,6 +6474,17 @@ export interface IListCncPartsRequest {
6472
6474
  operationMinUpdatedDate?: Date | null;
6473
6475
  operationMaxUpdatedDate?: Date | null;
6474
6476
  }
6477
+ export type CncFilterDeletedDto = "NoneDeleted" | "OnlyDeleted" | "All";
6478
+ export declare class CncPartMaterialListDto implements ICncPartMaterialListDto {
6479
+ materials: string[];
6480
+ constructor(data?: ICncPartMaterialListDto);
6481
+ init(_data?: any): void;
6482
+ static fromJS(data: any): CncPartMaterialListDto;
6483
+ toJSON(data?: any): any;
6484
+ }
6485
+ export interface ICncPartMaterialListDto {
6486
+ materials: string[];
6487
+ }
6475
6488
  export declare class CopyCncPart implements ICopyCncPart {
6476
6489
  sourcePartId: string;
6477
6490
  customerId?: string | null;
@@ -9274,6 +9287,7 @@ export declare class TrackingHistoryDto implements ITrackingHistoryDto {
9274
9287
  palletNumber: number;
9275
9288
  workOrderId: string;
9276
9289
  trackingEvents: TrackingEventDto[];
9290
+ material?: string | null;
9277
9291
  constructor(data?: ITrackingHistoryDto);
9278
9292
  init(_data?: any): void;
9279
9293
  static fromJS(data: any): TrackingHistoryDto;
@@ -9284,6 +9298,7 @@ export interface ITrackingHistoryDto {
9284
9298
  palletNumber: number;
9285
9299
  workOrderId: string;
9286
9300
  trackingEvents: TrackingEventDto[];
9301
+ material?: string | null;
9287
9302
  }
9288
9303
  export declare class TrackingEventDto implements ITrackingEventDto {
9289
9304
  id: number;
@@ -1007,7 +1007,7 @@ export class MeClient extends AuthorizedApiBase {
1007
1007
  }
1008
1008
  return Promise.resolve(null);
1009
1009
  }
1010
- setIsBetaTester(request) {
1010
+ setUserConfiguration(request) {
1011
1011
  let url_ = this.baseUrl + "/me";
1012
1012
  url_ = url_.replace(/[?&]$/, "");
1013
1013
  const content_ = JSON.stringify(request);
@@ -1022,10 +1022,10 @@ export class MeClient extends AuthorizedApiBase {
1022
1022
  return this.transformOptions(options_).then(transformedOptions_ => {
1023
1023
  return this.http.fetch(url_, transformedOptions_);
1024
1024
  }).then((_response) => {
1025
- return this.processSetIsBetaTester(_response);
1025
+ return this.processSetUserConfiguration(_response);
1026
1026
  });
1027
1027
  }
1028
- processSetIsBetaTester(response) {
1028
+ processSetUserConfiguration(response) {
1029
1029
  const status = response.status;
1030
1030
  let _headers = {};
1031
1031
  if (response.headers && response.headers.forEach) {
@@ -7552,7 +7552,9 @@ export class CncFileTransferClient extends AuthorizedApiBase {
7552
7552
  }
7553
7553
  getCamTransfer(path) {
7554
7554
  let url_ = this.baseUrl + "/cncfiletransfer/transfers/cam?";
7555
- if (path !== undefined && path !== null)
7555
+ if (path === null)
7556
+ throw new Error("The parameter 'path' cannot be null.");
7557
+ else if (path !== undefined)
7556
7558
  url_ += "path=" + encodeURIComponent("" + path) + "&";
7557
7559
  url_ = url_.replace(/[?&]$/, "");
7558
7560
  let options_ = {
@@ -8171,71 +8173,6 @@ export class CncSetupClient extends AuthorizedApiBase {
8171
8173
  }
8172
8174
  return Promise.resolve(null);
8173
8175
  }
8174
- listCncParts(pageSize, customerId, customerName, partNumber, partRevision, partName, drawing, drawingRevision, material, filterDeleted, filter, continuationToken) {
8175
- let url_ = this.baseUrl + "/cncsetup/parts?";
8176
- if (pageSize === null)
8177
- throw new Error("The parameter 'pageSize' cannot be null.");
8178
- else if (pageSize !== undefined)
8179
- url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
8180
- if (customerId !== undefined && customerId !== null)
8181
- url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
8182
- if (customerName !== undefined && customerName !== null)
8183
- url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
8184
- if (partNumber !== undefined && partNumber !== null)
8185
- url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
8186
- if (partRevision !== undefined && partRevision !== null)
8187
- url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
8188
- if (partName !== undefined && partName !== null)
8189
- url_ += "partName=" + encodeURIComponent("" + partName) + "&";
8190
- if (drawing !== undefined && drawing !== null)
8191
- url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
8192
- if (drawingRevision !== undefined && drawingRevision !== null)
8193
- url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
8194
- if (material !== undefined && material !== null)
8195
- url_ += "material=" + encodeURIComponent("" + material) + "&";
8196
- if (filterDeleted === null)
8197
- throw new Error("The parameter 'filterDeleted' cannot be null.");
8198
- else if (filterDeleted !== undefined)
8199
- url_ += "filterDeleted=" + encodeURIComponent("" + filterDeleted) + "&";
8200
- if (filter !== undefined && filter !== null)
8201
- url_ += "filter=" + encodeURIComponent("" + filter) + "&";
8202
- if (continuationToken !== undefined && continuationToken !== null)
8203
- url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
8204
- url_ = url_.replace(/[?&]$/, "");
8205
- let options_ = {
8206
- method: "GET",
8207
- headers: {
8208
- "Accept": "application/json"
8209
- }
8210
- };
8211
- return this.transformOptions(options_).then(transformedOptions_ => {
8212
- return this.http.fetch(url_, transformedOptions_);
8213
- }).then((_response) => {
8214
- return this.processListCncParts(_response);
8215
- });
8216
- }
8217
- processListCncParts(response) {
8218
- const status = response.status;
8219
- let _headers = {};
8220
- if (response.headers && response.headers.forEach) {
8221
- response.headers.forEach((v, k) => _headers[k] = v);
8222
- }
8223
- ;
8224
- if (status === 200) {
8225
- return response.text().then((_responseText) => {
8226
- let result200 = null;
8227
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8228
- result200 = PagedResultOfCncPartListDto.fromJS(resultData200);
8229
- return result200;
8230
- });
8231
- }
8232
- else if (status !== 200 && status !== 204) {
8233
- return response.text().then((_responseText) => {
8234
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8235
- });
8236
- }
8237
- return Promise.resolve(null);
8238
- }
8239
8176
  updateCncPart(id, request) {
8240
8177
  let url_ = this.baseUrl + "/cncsetup/parts/{id}";
8241
8178
  if (id === undefined || id === null)
@@ -8404,6 +8341,45 @@ export class CncSetupClient extends AuthorizedApiBase {
8404
8341
  }
8405
8342
  return Promise.resolve(null);
8406
8343
  }
8344
+ listCncPartMaterials(filter) {
8345
+ let url_ = this.baseUrl + "/cncsetup/parts/materials/list?";
8346
+ if (filter !== undefined && filter !== null)
8347
+ url_ += "filter=" + encodeURIComponent("" + filter) + "&";
8348
+ url_ = url_.replace(/[?&]$/, "");
8349
+ let options_ = {
8350
+ method: "POST",
8351
+ headers: {
8352
+ "Accept": "application/json"
8353
+ }
8354
+ };
8355
+ return this.transformOptions(options_).then(transformedOptions_ => {
8356
+ return this.http.fetch(url_, transformedOptions_);
8357
+ }).then((_response) => {
8358
+ return this.processListCncPartMaterials(_response);
8359
+ });
8360
+ }
8361
+ processListCncPartMaterials(response) {
8362
+ const status = response.status;
8363
+ let _headers = {};
8364
+ if (response.headers && response.headers.forEach) {
8365
+ response.headers.forEach((v, k) => _headers[k] = v);
8366
+ }
8367
+ ;
8368
+ if (status === 200) {
8369
+ return response.text().then((_responseText) => {
8370
+ let result200 = null;
8371
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8372
+ result200 = CncPartMaterialListDto.fromJS(resultData200);
8373
+ return result200;
8374
+ });
8375
+ }
8376
+ else if (status !== 200 && status !== 204) {
8377
+ return response.text().then((_responseText) => {
8378
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8379
+ });
8380
+ }
8381
+ return Promise.resolve(null);
8382
+ }
8407
8383
  copyCncPart(request) {
8408
8384
  let url_ = this.baseUrl + "/cncsetup/parts/copy";
8409
8385
  url_ = url_.replace(/[?&]$/, "");
@@ -8606,73 +8582,6 @@ export class CncSetupClient extends AuthorizedApiBase {
8606
8582
  }
8607
8583
  return Promise.resolve(null);
8608
8584
  }
8609
- listCncMachineOperations(pageSize, cncMachineId, customerId, customerName, partNumber, partRevision, partName, drawing, drawingRevision, material, filterDeleted, filter, continuationToken) {
8610
- let url_ = this.baseUrl + "/cncsetup/operations?";
8611
- if (pageSize === null)
8612
- throw new Error("The parameter 'pageSize' cannot be null.");
8613
- else if (pageSize !== undefined)
8614
- url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
8615
- if (cncMachineId !== undefined && cncMachineId !== null)
8616
- url_ += "cncMachineId=" + encodeURIComponent("" + cncMachineId) + "&";
8617
- if (customerId !== undefined && customerId !== null)
8618
- url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
8619
- if (customerName !== undefined && customerName !== null)
8620
- url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
8621
- if (partNumber !== undefined && partNumber !== null)
8622
- url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
8623
- if (partRevision !== undefined && partRevision !== null)
8624
- url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
8625
- if (partName !== undefined && partName !== null)
8626
- url_ += "partName=" + encodeURIComponent("" + partName) + "&";
8627
- if (drawing !== undefined && drawing !== null)
8628
- url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
8629
- if (drawingRevision !== undefined && drawingRevision !== null)
8630
- url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
8631
- if (material !== undefined && material !== null)
8632
- url_ += "material=" + encodeURIComponent("" + material) + "&";
8633
- if (filterDeleted === null)
8634
- throw new Error("The parameter 'filterDeleted' cannot be null.");
8635
- else if (filterDeleted !== undefined)
8636
- url_ += "filterDeleted=" + encodeURIComponent("" + filterDeleted) + "&";
8637
- if (filter !== undefined && filter !== null)
8638
- url_ += "filter=" + encodeURIComponent("" + filter) + "&";
8639
- if (continuationToken !== undefined && continuationToken !== null)
8640
- url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
8641
- url_ = url_.replace(/[?&]$/, "");
8642
- let options_ = {
8643
- method: "GET",
8644
- headers: {
8645
- "Accept": "application/json"
8646
- }
8647
- };
8648
- return this.transformOptions(options_).then(transformedOptions_ => {
8649
- return this.http.fetch(url_, transformedOptions_);
8650
- }).then((_response) => {
8651
- return this.processListCncMachineOperations(_response);
8652
- });
8653
- }
8654
- processListCncMachineOperations(response) {
8655
- const status = response.status;
8656
- let _headers = {};
8657
- if (response.headers && response.headers.forEach) {
8658
- response.headers.forEach((v, k) => _headers[k] = v);
8659
- }
8660
- ;
8661
- if (status === 200) {
8662
- return response.text().then((_responseText) => {
8663
- let result200 = null;
8664
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8665
- result200 = PagedResultOfCncMachineOperationSearchResultDto.fromJS(resultData200);
8666
- return result200;
8667
- });
8668
- }
8669
- else if (status !== 200 && status !== 204) {
8670
- return response.text().then((_responseText) => {
8671
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8672
- });
8673
- }
8674
- return Promise.resolve(null);
8675
- }
8676
8585
  postListCncMachineOperations(request) {
8677
8586
  let url_ = this.baseUrl + "/cncsetup/operations/list";
8678
8587
  url_ = url_.replace(/[?&]$/, "");
@@ -19986,6 +19895,7 @@ export class UserDetailsDto {
19986
19895
  this.customerId = _data["customerId"];
19987
19896
  this.isExternalUser = _data["isExternalUser"];
19988
19897
  this.isBetaTester = _data["isBetaTester"];
19898
+ this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
19989
19899
  this.hasAccessToIgnos = _data["hasAccessToIgnos"];
19990
19900
  }
19991
19901
  }
@@ -20011,6 +19921,7 @@ export class UserDetailsDto {
20011
19921
  data["customerId"] = this.customerId;
20012
19922
  data["isExternalUser"] = this.isExternalUser;
20013
19923
  data["isBetaTester"] = this.isBetaTester;
19924
+ data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
20014
19925
  data["hasAccessToIgnos"] = this.hasAccessToIgnos;
20015
19926
  return data;
20016
19927
  }
@@ -20031,6 +19942,7 @@ export class UserDto {
20031
19942
  this.upn = _data["upn"];
20032
19943
  this.email = _data["email"];
20033
19944
  this.isBetaTester = _data["isBetaTester"];
19945
+ this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
20034
19946
  }
20035
19947
  }
20036
19948
  static fromJS(data) {
@@ -20046,10 +19958,11 @@ export class UserDto {
20046
19958
  data["upn"] = this.upn;
20047
19959
  data["email"] = this.email;
20048
19960
  data["isBetaTester"] = this.isBetaTester;
19961
+ data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
20049
19962
  return data;
20050
19963
  }
20051
19964
  }
20052
- export class SetIsBetaTesterRequest {
19965
+ export class SetUserConfigurationRequest {
20053
19966
  constructor(data) {
20054
19967
  if (data) {
20055
19968
  for (var property in data) {
@@ -20061,17 +19974,19 @@ export class SetIsBetaTesterRequest {
20061
19974
  init(_data) {
20062
19975
  if (_data) {
20063
19976
  this.isBetaTester = _data["isBetaTester"];
19977
+ this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
20064
19978
  }
20065
19979
  }
20066
19980
  static fromJS(data) {
20067
19981
  data = typeof data === 'object' ? data : {};
20068
- let result = new SetIsBetaTesterRequest();
19982
+ let result = new SetUserConfigurationRequest();
20069
19983
  result.init(data);
20070
19984
  return result;
20071
19985
  }
20072
19986
  toJSON(data) {
20073
19987
  data = typeof data === 'object' ? data : {};
20074
19988
  data["isBetaTester"] = this.isBetaTester;
19989
+ data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
20075
19990
  return data;
20076
19991
  }
20077
19992
  }
@@ -27857,6 +27772,43 @@ export class ListCncPartsRequest {
27857
27772
  return data;
27858
27773
  }
27859
27774
  }
27775
+ export class CncPartMaterialListDto {
27776
+ constructor(data) {
27777
+ if (data) {
27778
+ for (var property in data) {
27779
+ if (data.hasOwnProperty(property))
27780
+ this[property] = data[property];
27781
+ }
27782
+ }
27783
+ if (!data) {
27784
+ this.materials = [];
27785
+ }
27786
+ }
27787
+ init(_data) {
27788
+ if (_data) {
27789
+ if (Array.isArray(_data["materials"])) {
27790
+ this.materials = [];
27791
+ for (let item of _data["materials"])
27792
+ this.materials.push(item);
27793
+ }
27794
+ }
27795
+ }
27796
+ static fromJS(data) {
27797
+ data = typeof data === 'object' ? data : {};
27798
+ let result = new CncPartMaterialListDto();
27799
+ result.init(data);
27800
+ return result;
27801
+ }
27802
+ toJSON(data) {
27803
+ data = typeof data === 'object' ? data : {};
27804
+ if (Array.isArray(this.materials)) {
27805
+ data["materials"] = [];
27806
+ for (let item of this.materials)
27807
+ data["materials"].push(item);
27808
+ }
27809
+ return data;
27810
+ }
27811
+ }
27860
27812
  export class CopyCncPart {
27861
27813
  constructor(data) {
27862
27814
  if (data) {
@@ -33384,6 +33336,7 @@ export class TrackingHistoryDto {
33384
33336
  for (let item of _data["trackingEvents"])
33385
33337
  this.trackingEvents.push(TrackingEventDto.fromJS(item));
33386
33338
  }
33339
+ this.material = _data["material"];
33387
33340
  }
33388
33341
  }
33389
33342
  static fromJS(data) {
@@ -33402,6 +33355,7 @@ export class TrackingHistoryDto {
33402
33355
  for (let item of this.trackingEvents)
33403
33356
  data["trackingEvents"].push(item.toJSON());
33404
33357
  }
33358
+ data["material"] = this.material;
33405
33359
  return data;
33406
33360
  }
33407
33361
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20240731.0.9883",
3
+ "version": "20240801.0.9895-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -1042,7 +1042,7 @@ export interface IMeClient {
1042
1042
 
1043
1043
  getCurrentUser(): Promise<UserDetailsDto>;
1044
1044
 
1045
- setIsBetaTester(request: SetIsBetaTesterRequest): Promise<UserDto>;
1045
+ setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto>;
1046
1046
 
1047
1047
  updateCurrentUserLastSeen(): Promise<void>;
1048
1048
  }
@@ -1134,7 +1134,7 @@ export class MeClient extends AuthorizedApiBase implements IMeClient {
1134
1134
  return Promise.resolve<UserDetailsDto>(null as any);
1135
1135
  }
1136
1136
 
1137
- setIsBetaTester(request: SetIsBetaTesterRequest): Promise<UserDto> {
1137
+ setUserConfiguration(request: SetUserConfigurationRequest): Promise<UserDto> {
1138
1138
  let url_ = this.baseUrl + "/me";
1139
1139
  url_ = url_.replace(/[?&]$/, "");
1140
1140
 
@@ -1152,11 +1152,11 @@ export class MeClient extends AuthorizedApiBase implements IMeClient {
1152
1152
  return this.transformOptions(options_).then(transformedOptions_ => {
1153
1153
  return this.http.fetch(url_, transformedOptions_);
1154
1154
  }).then((_response: Response) => {
1155
- return this.processSetIsBetaTester(_response);
1155
+ return this.processSetUserConfiguration(_response);
1156
1156
  });
1157
1157
  }
1158
1158
 
1159
- protected processSetIsBetaTester(response: Response): Promise<UserDto> {
1159
+ protected processSetUserConfiguration(response: Response): Promise<UserDto> {
1160
1160
  const status = response.status;
1161
1161
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
1162
1162
  if (status === 200) {
@@ -7924,7 +7924,7 @@ export interface ICncFileTransferClient {
7924
7924
 
7925
7925
  createUploadCamTransferInfo(request: UploadCamFileRequest): Promise<UploadCamFileDto>;
7926
7926
 
7927
- getCamTransfer(path: string | null | undefined): Promise<CamTransferDto>;
7927
+ getCamTransfer(path: string | undefined): Promise<CamTransferDto>;
7928
7928
 
7929
7929
  startCamTransferToMachine(request: StartCamTransferToMachine): Promise<CncMachineTransferDto>;
7930
7930
 
@@ -8099,9 +8099,11 @@ export class CncFileTransferClient extends AuthorizedApiBase implements ICncFile
8099
8099
  return Promise.resolve<UploadCamFileDto>(null as any);
8100
8100
  }
8101
8101
 
8102
- getCamTransfer(path: string | null | undefined): Promise<CamTransferDto> {
8102
+ getCamTransfer(path: string | undefined): Promise<CamTransferDto> {
8103
8103
  let url_ = this.baseUrl + "/cncfiletransfer/transfers/cam?";
8104
- if (path !== undefined && path !== null)
8104
+ if (path === null)
8105
+ throw new Error("The parameter 'path' cannot be null.");
8106
+ else if (path !== undefined)
8105
8107
  url_ += "path=" + encodeURIComponent("" + path) + "&";
8106
8108
  url_ = url_.replace(/[?&]$/, "");
8107
8109
 
@@ -8385,8 +8387,6 @@ export interface ICncSetupClient {
8385
8387
 
8386
8388
  createCncPart(request: CreateCncPart): Promise<CncPartDto>;
8387
8389
 
8388
- listCncParts(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncPartListDto>;
8389
-
8390
8390
  updateCncPart(id: string, request: UpdateCncPartRequest): Promise<CncPartDto>;
8391
8391
 
8392
8392
  deleteCncPart(id: string): Promise<FileResponse>;
@@ -8395,6 +8395,8 @@ export interface ICncSetupClient {
8395
8395
 
8396
8396
  postListCncParts(request: ListCncPartsRequest | undefined): Promise<PagedResultOfCncPartListDto>;
8397
8397
 
8398
+ listCncPartMaterials(filter: string | null | undefined): Promise<CncPartMaterialListDto>;
8399
+
8398
8400
  copyCncPart(request: CopyCncPart): Promise<CncPartDto>;
8399
8401
 
8400
8402
  createUploadPartDrawingInfo(id: string, request: UploadPartDrawingRequest): Promise<UploadFileDto>;
@@ -8405,8 +8407,6 @@ export interface ICncSetupClient {
8405
8407
 
8406
8408
  createCncMachineOperation(request: CreateCncMachineOperation): Promise<CncMachineOperationDto>;
8407
8409
 
8408
- listCncMachineOperations(pageSize: number | undefined, cncMachineId: string | null | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
8409
-
8410
8410
  postListCncMachineOperations(request: ListCncMachineOperationsRequest | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto>;
8411
8411
 
8412
8412
  updateCncMachineOperation(id: string, request: UpdateCncMachineOperationRequest): Promise<CncMachineOperationDto>;
@@ -8837,70 +8837,6 @@ export class CncSetupClient extends AuthorizedApiBase implements ICncSetupClient
8837
8837
  return Promise.resolve<CncPartDto>(null as any);
8838
8838
  }
8839
8839
 
8840
- listCncParts(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncPartListDto> {
8841
- let url_ = this.baseUrl + "/cncsetup/parts?";
8842
- if (pageSize === null)
8843
- throw new Error("The parameter 'pageSize' cannot be null.");
8844
- else if (pageSize !== undefined)
8845
- url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
8846
- if (customerId !== undefined && customerId !== null)
8847
- url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
8848
- if (customerName !== undefined && customerName !== null)
8849
- url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
8850
- if (partNumber !== undefined && partNumber !== null)
8851
- url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
8852
- if (partRevision !== undefined && partRevision !== null)
8853
- url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
8854
- if (partName !== undefined && partName !== null)
8855
- url_ += "partName=" + encodeURIComponent("" + partName) + "&";
8856
- if (drawing !== undefined && drawing !== null)
8857
- url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
8858
- if (drawingRevision !== undefined && drawingRevision !== null)
8859
- url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
8860
- if (material !== undefined && material !== null)
8861
- url_ += "material=" + encodeURIComponent("" + material) + "&";
8862
- if (filterDeleted === null)
8863
- throw new Error("The parameter 'filterDeleted' cannot be null.");
8864
- else if (filterDeleted !== undefined)
8865
- url_ += "filterDeleted=" + encodeURIComponent("" + filterDeleted) + "&";
8866
- if (filter !== undefined && filter !== null)
8867
- url_ += "filter=" + encodeURIComponent("" + filter) + "&";
8868
- if (continuationToken !== undefined && continuationToken !== null)
8869
- url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
8870
- url_ = url_.replace(/[?&]$/, "");
8871
-
8872
- let options_: RequestInit = {
8873
- method: "GET",
8874
- headers: {
8875
- "Accept": "application/json"
8876
- }
8877
- };
8878
-
8879
- return this.transformOptions(options_).then(transformedOptions_ => {
8880
- return this.http.fetch(url_, transformedOptions_);
8881
- }).then((_response: Response) => {
8882
- return this.processListCncParts(_response);
8883
- });
8884
- }
8885
-
8886
- protected processListCncParts(response: Response): Promise<PagedResultOfCncPartListDto> {
8887
- const status = response.status;
8888
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
8889
- if (status === 200) {
8890
- return response.text().then((_responseText) => {
8891
- let result200: any = null;
8892
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
8893
- result200 = PagedResultOfCncPartListDto.fromJS(resultData200);
8894
- return result200;
8895
- });
8896
- } else if (status !== 200 && status !== 204) {
8897
- return response.text().then((_responseText) => {
8898
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8899
- });
8900
- }
8901
- return Promise.resolve<PagedResultOfCncPartListDto>(null as any);
8902
- }
8903
-
8904
8840
  updateCncPart(id: string, request: UpdateCncPartRequest): Promise<CncPartDto> {
8905
8841
  let url_ = this.baseUrl + "/cncsetup/parts/{id}";
8906
8842
  if (id === undefined || id === null)
@@ -9066,6 +9002,44 @@ export class CncSetupClient extends AuthorizedApiBase implements ICncSetupClient
9066
9002
  return Promise.resolve<PagedResultOfCncPartListDto>(null as any);
9067
9003
  }
9068
9004
 
9005
+ listCncPartMaterials(filter: string | null | undefined): Promise<CncPartMaterialListDto> {
9006
+ let url_ = this.baseUrl + "/cncsetup/parts/materials/list?";
9007
+ if (filter !== undefined && filter !== null)
9008
+ url_ += "filter=" + encodeURIComponent("" + filter) + "&";
9009
+ url_ = url_.replace(/[?&]$/, "");
9010
+
9011
+ let options_: RequestInit = {
9012
+ method: "POST",
9013
+ headers: {
9014
+ "Accept": "application/json"
9015
+ }
9016
+ };
9017
+
9018
+ return this.transformOptions(options_).then(transformedOptions_ => {
9019
+ return this.http.fetch(url_, transformedOptions_);
9020
+ }).then((_response: Response) => {
9021
+ return this.processListCncPartMaterials(_response);
9022
+ });
9023
+ }
9024
+
9025
+ protected processListCncPartMaterials(response: Response): Promise<CncPartMaterialListDto> {
9026
+ const status = response.status;
9027
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
9028
+ if (status === 200) {
9029
+ return response.text().then((_responseText) => {
9030
+ let result200: any = null;
9031
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
9032
+ result200 = CncPartMaterialListDto.fromJS(resultData200);
9033
+ return result200;
9034
+ });
9035
+ } else if (status !== 200 && status !== 204) {
9036
+ return response.text().then((_responseText) => {
9037
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
9038
+ });
9039
+ }
9040
+ return Promise.resolve<CncPartMaterialListDto>(null as any);
9041
+ }
9042
+
9069
9043
  copyCncPart(request: CopyCncPart): Promise<CncPartDto> {
9070
9044
  let url_ = this.baseUrl + "/cncsetup/parts/copy";
9071
9045
  url_ = url_.replace(/[?&]$/, "");
@@ -9267,72 +9241,6 @@ export class CncSetupClient extends AuthorizedApiBase implements ICncSetupClient
9267
9241
  return Promise.resolve<CncMachineOperationDto>(null as any);
9268
9242
  }
9269
9243
 
9270
- listCncMachineOperations(pageSize: number | undefined, cncMachineId: string | null | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, partName: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, material: string | null | undefined, filterDeleted: CncFilterDeletedDto | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto> {
9271
- let url_ = this.baseUrl + "/cncsetup/operations?";
9272
- if (pageSize === null)
9273
- throw new Error("The parameter 'pageSize' cannot be null.");
9274
- else if (pageSize !== undefined)
9275
- url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
9276
- if (cncMachineId !== undefined && cncMachineId !== null)
9277
- url_ += "cncMachineId=" + encodeURIComponent("" + cncMachineId) + "&";
9278
- if (customerId !== undefined && customerId !== null)
9279
- url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
9280
- if (customerName !== undefined && customerName !== null)
9281
- url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
9282
- if (partNumber !== undefined && partNumber !== null)
9283
- url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
9284
- if (partRevision !== undefined && partRevision !== null)
9285
- url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
9286
- if (partName !== undefined && partName !== null)
9287
- url_ += "partName=" + encodeURIComponent("" + partName) + "&";
9288
- if (drawing !== undefined && drawing !== null)
9289
- url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
9290
- if (drawingRevision !== undefined && drawingRevision !== null)
9291
- url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
9292
- if (material !== undefined && material !== null)
9293
- url_ += "material=" + encodeURIComponent("" + material) + "&";
9294
- if (filterDeleted === null)
9295
- throw new Error("The parameter 'filterDeleted' cannot be null.");
9296
- else if (filterDeleted !== undefined)
9297
- url_ += "filterDeleted=" + encodeURIComponent("" + filterDeleted) + "&";
9298
- if (filter !== undefined && filter !== null)
9299
- url_ += "filter=" + encodeURIComponent("" + filter) + "&";
9300
- if (continuationToken !== undefined && continuationToken !== null)
9301
- url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
9302
- url_ = url_.replace(/[?&]$/, "");
9303
-
9304
- let options_: RequestInit = {
9305
- method: "GET",
9306
- headers: {
9307
- "Accept": "application/json"
9308
- }
9309
- };
9310
-
9311
- return this.transformOptions(options_).then(transformedOptions_ => {
9312
- return this.http.fetch(url_, transformedOptions_);
9313
- }).then((_response: Response) => {
9314
- return this.processListCncMachineOperations(_response);
9315
- });
9316
- }
9317
-
9318
- protected processListCncMachineOperations(response: Response): Promise<PagedResultOfCncMachineOperationSearchResultDto> {
9319
- const status = response.status;
9320
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
9321
- if (status === 200) {
9322
- return response.text().then((_responseText) => {
9323
- let result200: any = null;
9324
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
9325
- result200 = PagedResultOfCncMachineOperationSearchResultDto.fromJS(resultData200);
9326
- return result200;
9327
- });
9328
- } else if (status !== 200 && status !== 204) {
9329
- return response.text().then((_responseText) => {
9330
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
9331
- });
9332
- }
9333
- return Promise.resolve<PagedResultOfCncMachineOperationSearchResultDto>(null as any);
9334
- }
9335
-
9336
9244
  postListCncMachineOperations(request: ListCncMachineOperationsRequest | undefined): Promise<PagedResultOfCncMachineOperationSearchResultDto> {
9337
9245
  let url_ = this.baseUrl + "/cncsetup/operations/list";
9338
9246
  url_ = url_.replace(/[?&]$/, "");
@@ -21617,6 +21525,7 @@ export class UserDetailsDto implements IUserDetailsDto {
21617
21525
  customerId?: string | null;
21618
21526
  isExternalUser?: boolean;
21619
21527
  isBetaTester?: boolean | null;
21528
+ engageMoveAutoPrompt?: boolean | null;
21620
21529
  hasAccessToIgnos?: boolean;
21621
21530
 
21622
21531
  constructor(data?: IUserDetailsDto) {
@@ -21644,6 +21553,7 @@ export class UserDetailsDto implements IUserDetailsDto {
21644
21553
  this.customerId = _data["customerId"];
21645
21554
  this.isExternalUser = _data["isExternalUser"];
21646
21555
  this.isBetaTester = _data["isBetaTester"];
21556
+ this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
21647
21557
  this.hasAccessToIgnos = _data["hasAccessToIgnos"];
21648
21558
  }
21649
21559
  }
@@ -21671,6 +21581,7 @@ export class UserDetailsDto implements IUserDetailsDto {
21671
21581
  data["customerId"] = this.customerId;
21672
21582
  data["isExternalUser"] = this.isExternalUser;
21673
21583
  data["isBetaTester"] = this.isBetaTester;
21584
+ data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
21674
21585
  data["hasAccessToIgnos"] = this.hasAccessToIgnos;
21675
21586
  return data;
21676
21587
  }
@@ -21687,6 +21598,7 @@ export interface IUserDetailsDto {
21687
21598
  customerId?: string | null;
21688
21599
  isExternalUser?: boolean;
21689
21600
  isBetaTester?: boolean | null;
21601
+ engageMoveAutoPrompt?: boolean | null;
21690
21602
  hasAccessToIgnos?: boolean;
21691
21603
  }
21692
21604
 
@@ -21696,6 +21608,7 @@ export class UserDto implements IUserDto {
21696
21608
  upn?: string | null;
21697
21609
  email?: string | null;
21698
21610
  isBetaTester?: boolean | null;
21611
+ engageMoveAutoPrompt?: boolean | null;
21699
21612
 
21700
21613
  constructor(data?: IUserDto) {
21701
21614
  if (data) {
@@ -21713,6 +21626,7 @@ export class UserDto implements IUserDto {
21713
21626
  this.upn = _data["upn"];
21714
21627
  this.email = _data["email"];
21715
21628
  this.isBetaTester = _data["isBetaTester"];
21629
+ this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
21716
21630
  }
21717
21631
  }
21718
21632
 
@@ -21730,6 +21644,7 @@ export class UserDto implements IUserDto {
21730
21644
  data["upn"] = this.upn;
21731
21645
  data["email"] = this.email;
21732
21646
  data["isBetaTester"] = this.isBetaTester;
21647
+ data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
21733
21648
  return data;
21734
21649
  }
21735
21650
  }
@@ -21740,12 +21655,14 @@ export interface IUserDto {
21740
21655
  upn?: string | null;
21741
21656
  email?: string | null;
21742
21657
  isBetaTester?: boolean | null;
21658
+ engageMoveAutoPrompt?: boolean | null;
21743
21659
  }
21744
21660
 
21745
- export class SetIsBetaTesterRequest implements ISetIsBetaTesterRequest {
21746
- isBetaTester!: boolean;
21661
+ export class SetUserConfigurationRequest implements ISetUserConfigurationRequest {
21662
+ isBetaTester?: boolean | null;
21663
+ engageMoveAutoPrompt?: boolean | null;
21747
21664
 
21748
- constructor(data?: ISetIsBetaTesterRequest) {
21665
+ constructor(data?: ISetUserConfigurationRequest) {
21749
21666
  if (data) {
21750
21667
  for (var property in data) {
21751
21668
  if (data.hasOwnProperty(property))
@@ -21757,12 +21674,13 @@ export class SetIsBetaTesterRequest implements ISetIsBetaTesterRequest {
21757
21674
  init(_data?: any) {
21758
21675
  if (_data) {
21759
21676
  this.isBetaTester = _data["isBetaTester"];
21677
+ this.engageMoveAutoPrompt = _data["engageMoveAutoPrompt"];
21760
21678
  }
21761
21679
  }
21762
21680
 
21763
- static fromJS(data: any): SetIsBetaTesterRequest {
21681
+ static fromJS(data: any): SetUserConfigurationRequest {
21764
21682
  data = typeof data === 'object' ? data : {};
21765
- let result = new SetIsBetaTesterRequest();
21683
+ let result = new SetUserConfigurationRequest();
21766
21684
  result.init(data);
21767
21685
  return result;
21768
21686
  }
@@ -21770,12 +21688,14 @@ export class SetIsBetaTesterRequest implements ISetIsBetaTesterRequest {
21770
21688
  toJSON(data?: any) {
21771
21689
  data = typeof data === 'object' ? data : {};
21772
21690
  data["isBetaTester"] = this.isBetaTester;
21691
+ data["engageMoveAutoPrompt"] = this.engageMoveAutoPrompt;
21773
21692
  return data;
21774
21693
  }
21775
21694
  }
21776
21695
 
21777
- export interface ISetIsBetaTesterRequest {
21778
- isBetaTester: boolean;
21696
+ export interface ISetUserConfigurationRequest {
21697
+ isBetaTester?: boolean | null;
21698
+ engageMoveAutoPrompt?: boolean | null;
21779
21699
  }
21780
21700
 
21781
21701
  export class PagedResultOfUserDto implements IPagedResultOfUserDto {
@@ -33238,8 +33158,6 @@ export interface ICncPartListDto {
33238
33158
  description?: string | null;
33239
33159
  }
33240
33160
 
33241
- export type CncFilterDeletedDto = "NoneDeleted" | "OnlyDeleted" | "All";
33242
-
33243
33161
  export class ListCncPartsRequest implements IListCncPartsRequest {
33244
33162
  pageSize?: number | null;
33245
33163
  customerId?: string | null;
@@ -33344,6 +33262,55 @@ export interface IListCncPartsRequest {
33344
33262
  operationMaxUpdatedDate?: Date | null;
33345
33263
  }
33346
33264
 
33265
+ export type CncFilterDeletedDto = "NoneDeleted" | "OnlyDeleted" | "All";
33266
+
33267
+ export class CncPartMaterialListDto implements ICncPartMaterialListDto {
33268
+ materials!: string[];
33269
+
33270
+ constructor(data?: ICncPartMaterialListDto) {
33271
+ if (data) {
33272
+ for (var property in data) {
33273
+ if (data.hasOwnProperty(property))
33274
+ (<any>this)[property] = (<any>data)[property];
33275
+ }
33276
+ }
33277
+ if (!data) {
33278
+ this.materials = [];
33279
+ }
33280
+ }
33281
+
33282
+ init(_data?: any) {
33283
+ if (_data) {
33284
+ if (Array.isArray(_data["materials"])) {
33285
+ this.materials = [] as any;
33286
+ for (let item of _data["materials"])
33287
+ this.materials!.push(item);
33288
+ }
33289
+ }
33290
+ }
33291
+
33292
+ static fromJS(data: any): CncPartMaterialListDto {
33293
+ data = typeof data === 'object' ? data : {};
33294
+ let result = new CncPartMaterialListDto();
33295
+ result.init(data);
33296
+ return result;
33297
+ }
33298
+
33299
+ toJSON(data?: any) {
33300
+ data = typeof data === 'object' ? data : {};
33301
+ if (Array.isArray(this.materials)) {
33302
+ data["materials"] = [];
33303
+ for (let item of this.materials)
33304
+ data["materials"].push(item);
33305
+ }
33306
+ return data;
33307
+ }
33308
+ }
33309
+
33310
+ export interface ICncPartMaterialListDto {
33311
+ materials: string[];
33312
+ }
33313
+
33347
33314
  export class CopyCncPart implements ICopyCncPart {
33348
33315
  sourcePartId!: string;
33349
33316
  customerId?: string | null;
@@ -41654,6 +41621,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
41654
41621
  palletNumber!: number;
41655
41622
  workOrderId!: string;
41656
41623
  trackingEvents!: TrackingEventDto[];
41624
+ material?: string | null;
41657
41625
 
41658
41626
  constructor(data?: ITrackingHistoryDto) {
41659
41627
  if (data) {
@@ -41677,6 +41645,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
41677
41645
  for (let item of _data["trackingEvents"])
41678
41646
  this.trackingEvents!.push(TrackingEventDto.fromJS(item));
41679
41647
  }
41648
+ this.material = _data["material"];
41680
41649
  }
41681
41650
  }
41682
41651
 
@@ -41697,6 +41666,7 @@ export class TrackingHistoryDto implements ITrackingHistoryDto {
41697
41666
  for (let item of this.trackingEvents)
41698
41667
  data["trackingEvents"].push(item.toJSON());
41699
41668
  }
41669
+ data["material"] = this.material;
41700
41670
  return data;
41701
41671
  }
41702
41672
  }
@@ -41706,6 +41676,7 @@ export interface ITrackingHistoryDto {
41706
41676
  palletNumber: number;
41707
41677
  workOrderId: string;
41708
41678
  trackingEvents: TrackingEventDto[];
41679
+ material?: string | null;
41709
41680
  }
41710
41681
 
41711
41682
  export class TrackingEventDto implements ITrackingEventDto {