@ignos/api-client 20251120.0.13297 → 20251209.0.13465-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.
- package/lib/ignosportal-api.d.ts +67 -0
- package/lib/ignosportal-api.js +120 -2
- package/package.json +1 -1
- package/src/ignosportal-api.ts +184 -2
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2669,6 +2669,10 @@ export interface IWorkordersClient {
|
|
|
2669
2669
|
* Register end work or setup on a workorder operation.
|
|
2670
2670
|
*/
|
|
2671
2671
|
stopWorkorderOperationV2(id: string, operation: number, request: StopWorkOperationRequest): Promise<WorkorderOperationEventDto>;
|
|
2672
|
+
/**
|
|
2673
|
+
* Sync work order operation
|
|
2674
|
+
*/
|
|
2675
|
+
syncWorkorderOperation(id: string, operation: number, request: SyncWorkorderOperationRequest): Promise<WorkorderOperationEventDto>;
|
|
2672
2676
|
listActiveWorkorderOperations(): Promise<WorkorderOperationEventDto[]>;
|
|
2673
2677
|
deleteWorkorderOperationEvent(id: string, operation: number, eventId: string): Promise<void>;
|
|
2674
2678
|
/**
|
|
@@ -2781,6 +2785,11 @@ export declare class WorkordersClient extends AuthorizedApiBase implements IWork
|
|
|
2781
2785
|
*/
|
|
2782
2786
|
stopWorkorderOperationV2(id: string, operation: number, request: StopWorkOperationRequest): Promise<WorkorderOperationEventDto>;
|
|
2783
2787
|
protected processStopWorkorderOperationV2(response: Response): Promise<WorkorderOperationEventDto>;
|
|
2788
|
+
/**
|
|
2789
|
+
* Sync work order operation
|
|
2790
|
+
*/
|
|
2791
|
+
syncWorkorderOperation(id: string, operation: number, request: SyncWorkorderOperationRequest): Promise<WorkorderOperationEventDto>;
|
|
2792
|
+
protected processSyncWorkorderOperation(response: Response): Promise<WorkorderOperationEventDto>;
|
|
2784
2793
|
listActiveWorkorderOperations(): Promise<WorkorderOperationEventDto[]>;
|
|
2785
2794
|
protected processListActiveWorkorderOperations(response: Response): Promise<WorkorderOperationEventDto[]>;
|
|
2786
2795
|
deleteWorkorderOperationEvent(id: string, operation: number, eventId: string): Promise<void>;
|
|
@@ -4541,6 +4550,8 @@ export declare class MrbTemplateDto implements IMrbTemplateDto {
|
|
|
4541
4550
|
sharedAccessUri?: string | null;
|
|
4542
4551
|
contentIndicator?: string | null;
|
|
4543
4552
|
noContentIndicator?: string | null;
|
|
4553
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
4554
|
+
showSerialNumbersOnCoC?: boolean;
|
|
4544
4555
|
elements: MrbTemplateElementDto[];
|
|
4545
4556
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
4546
4557
|
constructor(data?: IMrbTemplateDto);
|
|
@@ -4559,6 +4570,8 @@ export interface IMrbTemplateDto {
|
|
|
4559
4570
|
sharedAccessUri?: string | null;
|
|
4560
4571
|
contentIndicator?: string | null;
|
|
4561
4572
|
noContentIndicator?: string | null;
|
|
4573
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
4574
|
+
showSerialNumbersOnCoC?: boolean;
|
|
4562
4575
|
elements: MrbTemplateElementDto[];
|
|
4563
4576
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
4564
4577
|
}
|
|
@@ -4665,6 +4678,8 @@ export declare class UpdateMrbTemplate implements IUpdateMrbTemplate {
|
|
|
4665
4678
|
elements?: MrbTemplateUpdateElementDto[];
|
|
4666
4679
|
contentIndicator?: string | null;
|
|
4667
4680
|
noContentIndicator?: string | null;
|
|
4681
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
4682
|
+
showSerialNumbersOnCoC?: boolean;
|
|
4668
4683
|
constructor(data?: IUpdateMrbTemplate);
|
|
4669
4684
|
init(_data?: any): void;
|
|
4670
4685
|
static fromJS(data: any): UpdateMrbTemplate;
|
|
@@ -4677,6 +4692,8 @@ export interface IUpdateMrbTemplate {
|
|
|
4677
4692
|
elements?: MrbTemplateUpdateElementDto[];
|
|
4678
4693
|
contentIndicator?: string | null;
|
|
4679
4694
|
noContentIndicator?: string | null;
|
|
4695
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
4696
|
+
showSerialNumbersOnCoC?: boolean;
|
|
4680
4697
|
}
|
|
4681
4698
|
export declare class MrbTemplateUpdateElementDto implements IMrbTemplateUpdateElementDto {
|
|
4682
4699
|
id?: string | null;
|
|
@@ -4731,6 +4748,7 @@ export declare class MrbCompanySettingsDto implements IMrbCompanySettingsDto {
|
|
|
4731
4748
|
hideVendorBatchInfo: boolean;
|
|
4732
4749
|
lotLabel?: string | null;
|
|
4733
4750
|
vendorBatchLabel?: string | null;
|
|
4751
|
+
ownArticleLabel?: string | null;
|
|
4734
4752
|
coCStatement?: string | null;
|
|
4735
4753
|
addressLines: string[];
|
|
4736
4754
|
sequenceFormat?: string | null;
|
|
@@ -4751,6 +4769,7 @@ export interface IMrbCompanySettingsDto {
|
|
|
4751
4769
|
hideVendorBatchInfo: boolean;
|
|
4752
4770
|
lotLabel?: string | null;
|
|
4753
4771
|
vendorBatchLabel?: string | null;
|
|
4772
|
+
ownArticleLabel?: string | null;
|
|
4754
4773
|
coCStatement?: string | null;
|
|
4755
4774
|
addressLines: string[];
|
|
4756
4775
|
sequenceFormat?: string | null;
|
|
@@ -4767,6 +4786,7 @@ export declare class UpsertMrbCompanySettings implements IUpsertMrbCompanySettin
|
|
|
4767
4786
|
hideVendorBatchInfo: boolean;
|
|
4768
4787
|
lotLabel?: string | null;
|
|
4769
4788
|
vendorBatchLabel?: string | null;
|
|
4789
|
+
ownArticleLabel?: string | null;
|
|
4770
4790
|
coCStatement?: string | null;
|
|
4771
4791
|
addressLines: string[];
|
|
4772
4792
|
sequenceFormat?: string | null;
|
|
@@ -4787,6 +4807,7 @@ export interface IUpsertMrbCompanySettings {
|
|
|
4787
4807
|
hideVendorBatchInfo: boolean;
|
|
4788
4808
|
lotLabel?: string | null;
|
|
4789
4809
|
vendorBatchLabel?: string | null;
|
|
4810
|
+
ownArticleLabel?: string | null;
|
|
4790
4811
|
coCStatement?: string | null;
|
|
4791
4812
|
addressLines: string[];
|
|
4792
4813
|
sequenceFormat?: string | null;
|
|
@@ -4832,6 +4853,10 @@ export declare class PartDto implements IPartDto {
|
|
|
4832
4853
|
partNumber: string;
|
|
4833
4854
|
partRevision?: string | null;
|
|
4834
4855
|
partName?: string | null;
|
|
4856
|
+
customerPartNumber?: string | null;
|
|
4857
|
+
customerPartRevision?: string | null;
|
|
4858
|
+
customerPartName?: string | null;
|
|
4859
|
+
vendorPartNumber?: string | null;
|
|
4835
4860
|
drawing?: string | null;
|
|
4836
4861
|
drawingRevision?: string | null;
|
|
4837
4862
|
material?: string | null;
|
|
@@ -4845,6 +4870,10 @@ export interface IPartDto {
|
|
|
4845
4870
|
partNumber: string;
|
|
4846
4871
|
partRevision?: string | null;
|
|
4847
4872
|
partName?: string | null;
|
|
4873
|
+
customerPartNumber?: string | null;
|
|
4874
|
+
customerPartRevision?: string | null;
|
|
4875
|
+
customerPartName?: string | null;
|
|
4876
|
+
vendorPartNumber?: string | null;
|
|
4848
4877
|
drawing?: string | null;
|
|
4849
4878
|
drawingRevision?: string | null;
|
|
4850
4879
|
material?: string | null;
|
|
@@ -14471,6 +14500,44 @@ export interface IStopWorkOperationRequest {
|
|
|
14471
14500
|
companyId?: string | null;
|
|
14472
14501
|
ignoreNotFoundEvents?: boolean | null;
|
|
14473
14502
|
}
|
|
14503
|
+
export declare class SyncWorkorderOperationRequest implements ISyncWorkorderOperationRequest {
|
|
14504
|
+
workorderDescription?: string | null;
|
|
14505
|
+
operationDescription?: string | null;
|
|
14506
|
+
isSetup: boolean;
|
|
14507
|
+
employee?: EmployeeDto | null;
|
|
14508
|
+
resourceId: string;
|
|
14509
|
+
customerOrder?: CustomerOrderInfoDto | null;
|
|
14510
|
+
part?: PartDto | null;
|
|
14511
|
+
workorderQuantity?: number | null;
|
|
14512
|
+
startTime: Date;
|
|
14513
|
+
endTime?: Date | null;
|
|
14514
|
+
materialPartNumber?: string | null;
|
|
14515
|
+
materialPartName?: string | null;
|
|
14516
|
+
materialItemGroup?: string | null;
|
|
14517
|
+
externalId?: string | null;
|
|
14518
|
+
companyId?: string | null;
|
|
14519
|
+
constructor(data?: ISyncWorkorderOperationRequest);
|
|
14520
|
+
init(_data?: any): void;
|
|
14521
|
+
static fromJS(data: any): SyncWorkorderOperationRequest;
|
|
14522
|
+
toJSON(data?: any): any;
|
|
14523
|
+
}
|
|
14524
|
+
export interface ISyncWorkorderOperationRequest {
|
|
14525
|
+
workorderDescription?: string | null;
|
|
14526
|
+
operationDescription?: string | null;
|
|
14527
|
+
isSetup: boolean;
|
|
14528
|
+
employee?: EmployeeDto | null;
|
|
14529
|
+
resourceId: string;
|
|
14530
|
+
customerOrder?: CustomerOrderInfoDto | null;
|
|
14531
|
+
part?: PartDto | null;
|
|
14532
|
+
workorderQuantity?: number | null;
|
|
14533
|
+
startTime: Date;
|
|
14534
|
+
endTime?: Date | null;
|
|
14535
|
+
materialPartNumber?: string | null;
|
|
14536
|
+
materialPartName?: string | null;
|
|
14537
|
+
materialItemGroup?: string | null;
|
|
14538
|
+
externalId?: string | null;
|
|
14539
|
+
companyId?: string | null;
|
|
14540
|
+
}
|
|
14474
14541
|
export declare class PagedResultOfWorkorderListDto implements IPagedResultOfWorkorderListDto {
|
|
14475
14542
|
results: WorkorderListDto[];
|
|
14476
14543
|
continuationToken?: string | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -22832,9 +22832,53 @@ export class WorkordersClient extends AuthorizedApiBase {
|
|
|
22832
22832
|
return result200;
|
|
22833
22833
|
});
|
|
22834
22834
|
}
|
|
22835
|
-
else if (status
|
|
22835
|
+
else if (status !== 200 && status !== 204) {
|
|
22836
22836
|
return response.text().then((_responseText) => {
|
|
22837
|
-
return throwException("
|
|
22837
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22838
|
+
});
|
|
22839
|
+
}
|
|
22840
|
+
return Promise.resolve(null);
|
|
22841
|
+
}
|
|
22842
|
+
/**
|
|
22843
|
+
* Sync work order operation
|
|
22844
|
+
*/
|
|
22845
|
+
syncWorkorderOperation(id, operation, request) {
|
|
22846
|
+
let url_ = this.baseUrl + "/erp/workorders/{id}/operations/{operation}/sync";
|
|
22847
|
+
if (id === undefined || id === null)
|
|
22848
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
22849
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
22850
|
+
if (operation === undefined || operation === null)
|
|
22851
|
+
throw new globalThis.Error("The parameter 'operation' must be defined.");
|
|
22852
|
+
url_ = url_.replace("{operation}", encodeURIComponent("" + operation));
|
|
22853
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22854
|
+
const content_ = JSON.stringify(request);
|
|
22855
|
+
let options_ = {
|
|
22856
|
+
body: content_,
|
|
22857
|
+
method: "POST",
|
|
22858
|
+
headers: {
|
|
22859
|
+
"Content-Type": "application/json",
|
|
22860
|
+
"Accept": "application/json"
|
|
22861
|
+
}
|
|
22862
|
+
};
|
|
22863
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22864
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22865
|
+
}).then((_response) => {
|
|
22866
|
+
return this.processSyncWorkorderOperation(_response);
|
|
22867
|
+
});
|
|
22868
|
+
}
|
|
22869
|
+
processSyncWorkorderOperation(response) {
|
|
22870
|
+
const status = response.status;
|
|
22871
|
+
let _headers = {};
|
|
22872
|
+
if (response.headers && response.headers.forEach) {
|
|
22873
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
22874
|
+
}
|
|
22875
|
+
;
|
|
22876
|
+
if (status === 200) {
|
|
22877
|
+
return response.text().then((_responseText) => {
|
|
22878
|
+
let result200 = null;
|
|
22879
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22880
|
+
result200 = WorkorderOperationEventDto.fromJS(resultData200);
|
|
22881
|
+
return result200;
|
|
22838
22882
|
});
|
|
22839
22883
|
}
|
|
22840
22884
|
else if (status !== 200 && status !== 204) {
|
|
@@ -27403,6 +27447,8 @@ export class MrbTemplateDto {
|
|
|
27403
27447
|
this.sharedAccessUri = _data["sharedAccessUri"];
|
|
27404
27448
|
this.contentIndicator = _data["contentIndicator"];
|
|
27405
27449
|
this.noContentIndicator = _data["noContentIndicator"];
|
|
27450
|
+
this.showSerialNumbersOnFrontPage = _data["showSerialNumbersOnFrontPage"];
|
|
27451
|
+
this.showSerialNumbersOnCoC = _data["showSerialNumbersOnCoC"];
|
|
27406
27452
|
if (Array.isArray(_data["elements"])) {
|
|
27407
27453
|
this.elements = [];
|
|
27408
27454
|
for (let item of _data["elements"])
|
|
@@ -27429,6 +27475,8 @@ export class MrbTemplateDto {
|
|
|
27429
27475
|
data["sharedAccessUri"] = this.sharedAccessUri;
|
|
27430
27476
|
data["contentIndicator"] = this.contentIndicator;
|
|
27431
27477
|
data["noContentIndicator"] = this.noContentIndicator;
|
|
27478
|
+
data["showSerialNumbersOnFrontPage"] = this.showSerialNumbersOnFrontPage;
|
|
27479
|
+
data["showSerialNumbersOnCoC"] = this.showSerialNumbersOnCoC;
|
|
27432
27480
|
if (Array.isArray(this.elements)) {
|
|
27433
27481
|
data["elements"] = [];
|
|
27434
27482
|
for (let item of this.elements)
|
|
@@ -27646,6 +27694,8 @@ export class UpdateMrbTemplate {
|
|
|
27646
27694
|
}
|
|
27647
27695
|
this.contentIndicator = _data["contentIndicator"];
|
|
27648
27696
|
this.noContentIndicator = _data["noContentIndicator"];
|
|
27697
|
+
this.showSerialNumbersOnFrontPage = _data["showSerialNumbersOnFrontPage"];
|
|
27698
|
+
this.showSerialNumbersOnCoC = _data["showSerialNumbersOnCoC"];
|
|
27649
27699
|
}
|
|
27650
27700
|
}
|
|
27651
27701
|
static fromJS(data) {
|
|
@@ -27666,6 +27716,8 @@ export class UpdateMrbTemplate {
|
|
|
27666
27716
|
}
|
|
27667
27717
|
data["contentIndicator"] = this.contentIndicator;
|
|
27668
27718
|
data["noContentIndicator"] = this.noContentIndicator;
|
|
27719
|
+
data["showSerialNumbersOnFrontPage"] = this.showSerialNumbersOnFrontPage;
|
|
27720
|
+
data["showSerialNumbersOnCoC"] = this.showSerialNumbersOnCoC;
|
|
27669
27721
|
return data;
|
|
27670
27722
|
}
|
|
27671
27723
|
}
|
|
@@ -27797,6 +27849,7 @@ export class MrbCompanySettingsDto {
|
|
|
27797
27849
|
this.hideVendorBatchInfo = _data["hideVendorBatchInfo"];
|
|
27798
27850
|
this.lotLabel = _data["lotLabel"];
|
|
27799
27851
|
this.vendorBatchLabel = _data["vendorBatchLabel"];
|
|
27852
|
+
this.ownArticleLabel = _data["ownArticleLabel"];
|
|
27800
27853
|
this.coCStatement = _data["coCStatement"];
|
|
27801
27854
|
if (Array.isArray(_data["addressLines"])) {
|
|
27802
27855
|
this.addressLines = [];
|
|
@@ -27829,6 +27882,7 @@ export class MrbCompanySettingsDto {
|
|
|
27829
27882
|
data["hideVendorBatchInfo"] = this.hideVendorBatchInfo;
|
|
27830
27883
|
data["lotLabel"] = this.lotLabel;
|
|
27831
27884
|
data["vendorBatchLabel"] = this.vendorBatchLabel;
|
|
27885
|
+
data["ownArticleLabel"] = this.ownArticleLabel;
|
|
27832
27886
|
data["coCStatement"] = this.coCStatement;
|
|
27833
27887
|
if (Array.isArray(this.addressLines)) {
|
|
27834
27888
|
data["addressLines"] = [];
|
|
@@ -27869,6 +27923,7 @@ export class UpsertMrbCompanySettings {
|
|
|
27869
27923
|
this.hideVendorBatchInfo = _data["hideVendorBatchInfo"];
|
|
27870
27924
|
this.lotLabel = _data["lotLabel"];
|
|
27871
27925
|
this.vendorBatchLabel = _data["vendorBatchLabel"];
|
|
27926
|
+
this.ownArticleLabel = _data["ownArticleLabel"];
|
|
27872
27927
|
this.coCStatement = _data["coCStatement"];
|
|
27873
27928
|
if (Array.isArray(_data["addressLines"])) {
|
|
27874
27929
|
this.addressLines = [];
|
|
@@ -27901,6 +27956,7 @@ export class UpsertMrbCompanySettings {
|
|
|
27901
27956
|
data["hideVendorBatchInfo"] = this.hideVendorBatchInfo;
|
|
27902
27957
|
data["lotLabel"] = this.lotLabel;
|
|
27903
27958
|
data["vendorBatchLabel"] = this.vendorBatchLabel;
|
|
27959
|
+
data["ownArticleLabel"] = this.ownArticleLabel;
|
|
27904
27960
|
data["coCStatement"] = this.coCStatement;
|
|
27905
27961
|
if (Array.isArray(this.addressLines)) {
|
|
27906
27962
|
data["addressLines"] = [];
|
|
@@ -28022,6 +28078,10 @@ export class PartDto {
|
|
|
28022
28078
|
this.partNumber = _data["partNumber"];
|
|
28023
28079
|
this.partRevision = _data["partRevision"];
|
|
28024
28080
|
this.partName = _data["partName"];
|
|
28081
|
+
this.customerPartNumber = _data["customerPartNumber"];
|
|
28082
|
+
this.customerPartRevision = _data["customerPartRevision"];
|
|
28083
|
+
this.customerPartName = _data["customerPartName"];
|
|
28084
|
+
this.vendorPartNumber = _data["vendorPartNumber"];
|
|
28025
28085
|
this.drawing = _data["drawing"];
|
|
28026
28086
|
this.drawingRevision = _data["drawingRevision"];
|
|
28027
28087
|
this.material = _data["material"];
|
|
@@ -28039,6 +28099,10 @@ export class PartDto {
|
|
|
28039
28099
|
data["partNumber"] = this.partNumber;
|
|
28040
28100
|
data["partRevision"] = this.partRevision;
|
|
28041
28101
|
data["partName"] = this.partName;
|
|
28102
|
+
data["customerPartNumber"] = this.customerPartNumber;
|
|
28103
|
+
data["customerPartRevision"] = this.customerPartRevision;
|
|
28104
|
+
data["customerPartName"] = this.customerPartName;
|
|
28105
|
+
data["vendorPartNumber"] = this.vendorPartNumber;
|
|
28042
28106
|
data["drawing"] = this.drawing;
|
|
28043
28107
|
data["drawingRevision"] = this.drawingRevision;
|
|
28044
28108
|
data["material"] = this.material;
|
|
@@ -47572,6 +47636,60 @@ export class StopWorkOperationRequest {
|
|
|
47572
47636
|
return data;
|
|
47573
47637
|
}
|
|
47574
47638
|
}
|
|
47639
|
+
export class SyncWorkorderOperationRequest {
|
|
47640
|
+
constructor(data) {
|
|
47641
|
+
if (data) {
|
|
47642
|
+
for (var property in data) {
|
|
47643
|
+
if (data.hasOwnProperty(property))
|
|
47644
|
+
this[property] = data[property];
|
|
47645
|
+
}
|
|
47646
|
+
}
|
|
47647
|
+
}
|
|
47648
|
+
init(_data) {
|
|
47649
|
+
if (_data) {
|
|
47650
|
+
this.workorderDescription = _data["workorderDescription"];
|
|
47651
|
+
this.operationDescription = _data["operationDescription"];
|
|
47652
|
+
this.isSetup = _data["isSetup"];
|
|
47653
|
+
this.employee = _data["employee"] ? EmployeeDto.fromJS(_data["employee"]) : undefined;
|
|
47654
|
+
this.resourceId = _data["resourceId"];
|
|
47655
|
+
this.customerOrder = _data["customerOrder"] ? CustomerOrderInfoDto.fromJS(_data["customerOrder"]) : undefined;
|
|
47656
|
+
this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : undefined;
|
|
47657
|
+
this.workorderQuantity = _data["workorderQuantity"];
|
|
47658
|
+
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : undefined;
|
|
47659
|
+
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : undefined;
|
|
47660
|
+
this.materialPartNumber = _data["materialPartNumber"];
|
|
47661
|
+
this.materialPartName = _data["materialPartName"];
|
|
47662
|
+
this.materialItemGroup = _data["materialItemGroup"];
|
|
47663
|
+
this.externalId = _data["externalId"];
|
|
47664
|
+
this.companyId = _data["companyId"];
|
|
47665
|
+
}
|
|
47666
|
+
}
|
|
47667
|
+
static fromJS(data) {
|
|
47668
|
+
data = typeof data === 'object' ? data : {};
|
|
47669
|
+
let result = new SyncWorkorderOperationRequest();
|
|
47670
|
+
result.init(data);
|
|
47671
|
+
return result;
|
|
47672
|
+
}
|
|
47673
|
+
toJSON(data) {
|
|
47674
|
+
data = typeof data === 'object' ? data : {};
|
|
47675
|
+
data["workorderDescription"] = this.workorderDescription;
|
|
47676
|
+
data["operationDescription"] = this.operationDescription;
|
|
47677
|
+
data["isSetup"] = this.isSetup;
|
|
47678
|
+
data["employee"] = this.employee ? this.employee.toJSON() : undefined;
|
|
47679
|
+
data["resourceId"] = this.resourceId;
|
|
47680
|
+
data["customerOrder"] = this.customerOrder ? this.customerOrder.toJSON() : undefined;
|
|
47681
|
+
data["part"] = this.part ? this.part.toJSON() : undefined;
|
|
47682
|
+
data["workorderQuantity"] = this.workorderQuantity;
|
|
47683
|
+
data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined;
|
|
47684
|
+
data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined;
|
|
47685
|
+
data["materialPartNumber"] = this.materialPartNumber;
|
|
47686
|
+
data["materialPartName"] = this.materialPartName;
|
|
47687
|
+
data["materialItemGroup"] = this.materialItemGroup;
|
|
47688
|
+
data["externalId"] = this.externalId;
|
|
47689
|
+
data["companyId"] = this.companyId;
|
|
47690
|
+
return data;
|
|
47691
|
+
}
|
|
47692
|
+
}
|
|
47575
47693
|
export class PagedResultOfWorkorderListDto {
|
|
47576
47694
|
constructor(data) {
|
|
47577
47695
|
if (data) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -23871,6 +23871,11 @@ export interface IWorkordersClient {
|
|
|
23871
23871
|
*/
|
|
23872
23872
|
stopWorkorderOperationV2(id: string, operation: number, request: StopWorkOperationRequest): Promise<WorkorderOperationEventDto>;
|
|
23873
23873
|
|
|
23874
|
+
/**
|
|
23875
|
+
* Sync work order operation
|
|
23876
|
+
*/
|
|
23877
|
+
syncWorkorderOperation(id: string, operation: number, request: SyncWorkorderOperationRequest): Promise<WorkorderOperationEventDto>;
|
|
23878
|
+
|
|
23874
23879
|
listActiveWorkorderOperations(): Promise<WorkorderOperationEventDto[]>;
|
|
23875
23880
|
|
|
23876
23881
|
deleteWorkorderOperationEvent(id: string, operation: number, eventId: string): Promise<void>;
|
|
@@ -24433,9 +24438,54 @@ export class WorkordersClient extends AuthorizedApiBase implements IWorkordersCl
|
|
|
24433
24438
|
result200 = WorkorderOperationEventDto.fromJS(resultData200);
|
|
24434
24439
|
return result200;
|
|
24435
24440
|
});
|
|
24436
|
-
} else if (status
|
|
24441
|
+
} else if (status !== 200 && status !== 204) {
|
|
24442
|
+
return response.text().then((_responseText) => {
|
|
24443
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
24444
|
+
});
|
|
24445
|
+
}
|
|
24446
|
+
return Promise.resolve<WorkorderOperationEventDto>(null as any);
|
|
24447
|
+
}
|
|
24448
|
+
|
|
24449
|
+
/**
|
|
24450
|
+
* Sync work order operation
|
|
24451
|
+
*/
|
|
24452
|
+
syncWorkorderOperation(id: string, operation: number, request: SyncWorkorderOperationRequest): Promise<WorkorderOperationEventDto> {
|
|
24453
|
+
let url_ = this.baseUrl + "/erp/workorders/{id}/operations/{operation}/sync";
|
|
24454
|
+
if (id === undefined || id === null)
|
|
24455
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
24456
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24457
|
+
if (operation === undefined || operation === null)
|
|
24458
|
+
throw new globalThis.Error("The parameter 'operation' must be defined.");
|
|
24459
|
+
url_ = url_.replace("{operation}", encodeURIComponent("" + operation));
|
|
24460
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
24461
|
+
|
|
24462
|
+
const content_ = JSON.stringify(request);
|
|
24463
|
+
|
|
24464
|
+
let options_: RequestInit = {
|
|
24465
|
+
body: content_,
|
|
24466
|
+
method: "POST",
|
|
24467
|
+
headers: {
|
|
24468
|
+
"Content-Type": "application/json",
|
|
24469
|
+
"Accept": "application/json"
|
|
24470
|
+
}
|
|
24471
|
+
};
|
|
24472
|
+
|
|
24473
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
24474
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
24475
|
+
}).then((_response: Response) => {
|
|
24476
|
+
return this.processSyncWorkorderOperation(_response);
|
|
24477
|
+
});
|
|
24478
|
+
}
|
|
24479
|
+
|
|
24480
|
+
protected processSyncWorkorderOperation(response: Response): Promise<WorkorderOperationEventDto> {
|
|
24481
|
+
const status = response.status;
|
|
24482
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
24483
|
+
if (status === 200) {
|
|
24437
24484
|
return response.text().then((_responseText) => {
|
|
24438
|
-
|
|
24485
|
+
let result200: any = null;
|
|
24486
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
24487
|
+
result200 = WorkorderOperationEventDto.fromJS(resultData200);
|
|
24488
|
+
return result200;
|
|
24439
24489
|
});
|
|
24440
24490
|
} else if (status !== 200 && status !== 204) {
|
|
24441
24491
|
return response.text().then((_responseText) => {
|
|
@@ -30666,6 +30716,8 @@ export class MrbTemplateDto implements IMrbTemplateDto {
|
|
|
30666
30716
|
sharedAccessUri?: string | null;
|
|
30667
30717
|
contentIndicator?: string | null;
|
|
30668
30718
|
noContentIndicator?: string | null;
|
|
30719
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
30720
|
+
showSerialNumbersOnCoC?: boolean;
|
|
30669
30721
|
elements!: MrbTemplateElementDto[];
|
|
30670
30722
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
30671
30723
|
|
|
@@ -30693,6 +30745,8 @@ export class MrbTemplateDto implements IMrbTemplateDto {
|
|
|
30693
30745
|
this.sharedAccessUri = _data["sharedAccessUri"];
|
|
30694
30746
|
this.contentIndicator = _data["contentIndicator"];
|
|
30695
30747
|
this.noContentIndicator = _data["noContentIndicator"];
|
|
30748
|
+
this.showSerialNumbersOnFrontPage = _data["showSerialNumbersOnFrontPage"];
|
|
30749
|
+
this.showSerialNumbersOnCoC = _data["showSerialNumbersOnCoC"];
|
|
30696
30750
|
if (Array.isArray(_data["elements"])) {
|
|
30697
30751
|
this.elements = [] as any;
|
|
30698
30752
|
for (let item of _data["elements"])
|
|
@@ -30721,6 +30775,8 @@ export class MrbTemplateDto implements IMrbTemplateDto {
|
|
|
30721
30775
|
data["sharedAccessUri"] = this.sharedAccessUri;
|
|
30722
30776
|
data["contentIndicator"] = this.contentIndicator;
|
|
30723
30777
|
data["noContentIndicator"] = this.noContentIndicator;
|
|
30778
|
+
data["showSerialNumbersOnFrontPage"] = this.showSerialNumbersOnFrontPage;
|
|
30779
|
+
data["showSerialNumbersOnCoC"] = this.showSerialNumbersOnCoC;
|
|
30724
30780
|
if (Array.isArray(this.elements)) {
|
|
30725
30781
|
data["elements"] = [];
|
|
30726
30782
|
for (let item of this.elements)
|
|
@@ -30742,6 +30798,8 @@ export interface IMrbTemplateDto {
|
|
|
30742
30798
|
sharedAccessUri?: string | null;
|
|
30743
30799
|
contentIndicator?: string | null;
|
|
30744
30800
|
noContentIndicator?: string | null;
|
|
30801
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
30802
|
+
showSerialNumbersOnCoC?: boolean;
|
|
30745
30803
|
elements: MrbTemplateElementDto[];
|
|
30746
30804
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
30747
30805
|
}
|
|
@@ -31038,6 +31096,8 @@ export class UpdateMrbTemplate implements IUpdateMrbTemplate {
|
|
|
31038
31096
|
elements?: MrbTemplateUpdateElementDto[];
|
|
31039
31097
|
contentIndicator?: string | null;
|
|
31040
31098
|
noContentIndicator?: string | null;
|
|
31099
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
31100
|
+
showSerialNumbersOnCoC?: boolean;
|
|
31041
31101
|
|
|
31042
31102
|
constructor(data?: IUpdateMrbTemplate) {
|
|
31043
31103
|
if (data) {
|
|
@@ -31060,6 +31120,8 @@ export class UpdateMrbTemplate implements IUpdateMrbTemplate {
|
|
|
31060
31120
|
}
|
|
31061
31121
|
this.contentIndicator = _data["contentIndicator"];
|
|
31062
31122
|
this.noContentIndicator = _data["noContentIndicator"];
|
|
31123
|
+
this.showSerialNumbersOnFrontPage = _data["showSerialNumbersOnFrontPage"];
|
|
31124
|
+
this.showSerialNumbersOnCoC = _data["showSerialNumbersOnCoC"];
|
|
31063
31125
|
}
|
|
31064
31126
|
}
|
|
31065
31127
|
|
|
@@ -31082,6 +31144,8 @@ export class UpdateMrbTemplate implements IUpdateMrbTemplate {
|
|
|
31082
31144
|
}
|
|
31083
31145
|
data["contentIndicator"] = this.contentIndicator;
|
|
31084
31146
|
data["noContentIndicator"] = this.noContentIndicator;
|
|
31147
|
+
data["showSerialNumbersOnFrontPage"] = this.showSerialNumbersOnFrontPage;
|
|
31148
|
+
data["showSerialNumbersOnCoC"] = this.showSerialNumbersOnCoC;
|
|
31085
31149
|
return data;
|
|
31086
31150
|
}
|
|
31087
31151
|
}
|
|
@@ -31093,6 +31157,8 @@ export interface IUpdateMrbTemplate {
|
|
|
31093
31157
|
elements?: MrbTemplateUpdateElementDto[];
|
|
31094
31158
|
contentIndicator?: string | null;
|
|
31095
31159
|
noContentIndicator?: string | null;
|
|
31160
|
+
showSerialNumbersOnFrontPage?: boolean;
|
|
31161
|
+
showSerialNumbersOnCoC?: boolean;
|
|
31096
31162
|
}
|
|
31097
31163
|
|
|
31098
31164
|
export class MrbTemplateUpdateElementDto implements IMrbTemplateUpdateElementDto {
|
|
@@ -31255,6 +31321,7 @@ export class MrbCompanySettingsDto implements IMrbCompanySettingsDto {
|
|
|
31255
31321
|
hideVendorBatchInfo!: boolean;
|
|
31256
31322
|
lotLabel?: string | null;
|
|
31257
31323
|
vendorBatchLabel?: string | null;
|
|
31324
|
+
ownArticleLabel?: string | null;
|
|
31258
31325
|
coCStatement?: string | null;
|
|
31259
31326
|
addressLines!: string[];
|
|
31260
31327
|
sequenceFormat?: string | null;
|
|
@@ -31285,6 +31352,7 @@ export class MrbCompanySettingsDto implements IMrbCompanySettingsDto {
|
|
|
31285
31352
|
this.hideVendorBatchInfo = _data["hideVendorBatchInfo"];
|
|
31286
31353
|
this.lotLabel = _data["lotLabel"];
|
|
31287
31354
|
this.vendorBatchLabel = _data["vendorBatchLabel"];
|
|
31355
|
+
this.ownArticleLabel = _data["ownArticleLabel"];
|
|
31288
31356
|
this.coCStatement = _data["coCStatement"];
|
|
31289
31357
|
if (Array.isArray(_data["addressLines"])) {
|
|
31290
31358
|
this.addressLines = [] as any;
|
|
@@ -31319,6 +31387,7 @@ export class MrbCompanySettingsDto implements IMrbCompanySettingsDto {
|
|
|
31319
31387
|
data["hideVendorBatchInfo"] = this.hideVendorBatchInfo;
|
|
31320
31388
|
data["lotLabel"] = this.lotLabel;
|
|
31321
31389
|
data["vendorBatchLabel"] = this.vendorBatchLabel;
|
|
31390
|
+
data["ownArticleLabel"] = this.ownArticleLabel;
|
|
31322
31391
|
data["coCStatement"] = this.coCStatement;
|
|
31323
31392
|
if (Array.isArray(this.addressLines)) {
|
|
31324
31393
|
data["addressLines"] = [];
|
|
@@ -31346,6 +31415,7 @@ export interface IMrbCompanySettingsDto {
|
|
|
31346
31415
|
hideVendorBatchInfo: boolean;
|
|
31347
31416
|
lotLabel?: string | null;
|
|
31348
31417
|
vendorBatchLabel?: string | null;
|
|
31418
|
+
ownArticleLabel?: string | null;
|
|
31349
31419
|
coCStatement?: string | null;
|
|
31350
31420
|
addressLines: string[];
|
|
31351
31421
|
sequenceFormat?: string | null;
|
|
@@ -31363,6 +31433,7 @@ export class UpsertMrbCompanySettings implements IUpsertMrbCompanySettings {
|
|
|
31363
31433
|
hideVendorBatchInfo!: boolean;
|
|
31364
31434
|
lotLabel?: string | null;
|
|
31365
31435
|
vendorBatchLabel?: string | null;
|
|
31436
|
+
ownArticleLabel?: string | null;
|
|
31366
31437
|
coCStatement?: string | null;
|
|
31367
31438
|
addressLines!: string[];
|
|
31368
31439
|
sequenceFormat?: string | null;
|
|
@@ -31393,6 +31464,7 @@ export class UpsertMrbCompanySettings implements IUpsertMrbCompanySettings {
|
|
|
31393
31464
|
this.hideVendorBatchInfo = _data["hideVendorBatchInfo"];
|
|
31394
31465
|
this.lotLabel = _data["lotLabel"];
|
|
31395
31466
|
this.vendorBatchLabel = _data["vendorBatchLabel"];
|
|
31467
|
+
this.ownArticleLabel = _data["ownArticleLabel"];
|
|
31396
31468
|
this.coCStatement = _data["coCStatement"];
|
|
31397
31469
|
if (Array.isArray(_data["addressLines"])) {
|
|
31398
31470
|
this.addressLines = [] as any;
|
|
@@ -31427,6 +31499,7 @@ export class UpsertMrbCompanySettings implements IUpsertMrbCompanySettings {
|
|
|
31427
31499
|
data["hideVendorBatchInfo"] = this.hideVendorBatchInfo;
|
|
31428
31500
|
data["lotLabel"] = this.lotLabel;
|
|
31429
31501
|
data["vendorBatchLabel"] = this.vendorBatchLabel;
|
|
31502
|
+
data["ownArticleLabel"] = this.ownArticleLabel;
|
|
31430
31503
|
data["coCStatement"] = this.coCStatement;
|
|
31431
31504
|
if (Array.isArray(this.addressLines)) {
|
|
31432
31505
|
data["addressLines"] = [];
|
|
@@ -31454,6 +31527,7 @@ export interface IUpsertMrbCompanySettings {
|
|
|
31454
31527
|
hideVendorBatchInfo: boolean;
|
|
31455
31528
|
lotLabel?: string | null;
|
|
31456
31529
|
vendorBatchLabel?: string | null;
|
|
31530
|
+
ownArticleLabel?: string | null;
|
|
31457
31531
|
coCStatement?: string | null;
|
|
31458
31532
|
addressLines: string[];
|
|
31459
31533
|
sequenceFormat?: string | null;
|
|
@@ -31588,6 +31662,10 @@ export class PartDto implements IPartDto {
|
|
|
31588
31662
|
partNumber!: string;
|
|
31589
31663
|
partRevision?: string | null;
|
|
31590
31664
|
partName?: string | null;
|
|
31665
|
+
customerPartNumber?: string | null;
|
|
31666
|
+
customerPartRevision?: string | null;
|
|
31667
|
+
customerPartName?: string | null;
|
|
31668
|
+
vendorPartNumber?: string | null;
|
|
31591
31669
|
drawing?: string | null;
|
|
31592
31670
|
drawingRevision?: string | null;
|
|
31593
31671
|
material?: string | null;
|
|
@@ -31607,6 +31685,10 @@ export class PartDto implements IPartDto {
|
|
|
31607
31685
|
this.partNumber = _data["partNumber"];
|
|
31608
31686
|
this.partRevision = _data["partRevision"];
|
|
31609
31687
|
this.partName = _data["partName"];
|
|
31688
|
+
this.customerPartNumber = _data["customerPartNumber"];
|
|
31689
|
+
this.customerPartRevision = _data["customerPartRevision"];
|
|
31690
|
+
this.customerPartName = _data["customerPartName"];
|
|
31691
|
+
this.vendorPartNumber = _data["vendorPartNumber"];
|
|
31610
31692
|
this.drawing = _data["drawing"];
|
|
31611
31693
|
this.drawingRevision = _data["drawingRevision"];
|
|
31612
31694
|
this.material = _data["material"];
|
|
@@ -31626,6 +31708,10 @@ export class PartDto implements IPartDto {
|
|
|
31626
31708
|
data["partNumber"] = this.partNumber;
|
|
31627
31709
|
data["partRevision"] = this.partRevision;
|
|
31628
31710
|
data["partName"] = this.partName;
|
|
31711
|
+
data["customerPartNumber"] = this.customerPartNumber;
|
|
31712
|
+
data["customerPartRevision"] = this.customerPartRevision;
|
|
31713
|
+
data["customerPartName"] = this.customerPartName;
|
|
31714
|
+
data["vendorPartNumber"] = this.vendorPartNumber;
|
|
31629
31715
|
data["drawing"] = this.drawing;
|
|
31630
31716
|
data["drawingRevision"] = this.drawingRevision;
|
|
31631
31717
|
data["material"] = this.material;
|
|
@@ -31638,6 +31724,10 @@ export interface IPartDto {
|
|
|
31638
31724
|
partNumber: string;
|
|
31639
31725
|
partRevision?: string | null;
|
|
31640
31726
|
partName?: string | null;
|
|
31727
|
+
customerPartNumber?: string | null;
|
|
31728
|
+
customerPartRevision?: string | null;
|
|
31729
|
+
customerPartName?: string | null;
|
|
31730
|
+
vendorPartNumber?: string | null;
|
|
31641
31731
|
drawing?: string | null;
|
|
31642
31732
|
drawingRevision?: string | null;
|
|
31643
31733
|
material?: string | null;
|
|
@@ -60836,6 +60926,98 @@ export interface IStopWorkOperationRequest {
|
|
|
60836
60926
|
ignoreNotFoundEvents?: boolean | null;
|
|
60837
60927
|
}
|
|
60838
60928
|
|
|
60929
|
+
export class SyncWorkorderOperationRequest implements ISyncWorkorderOperationRequest {
|
|
60930
|
+
workorderDescription?: string | null;
|
|
60931
|
+
operationDescription?: string | null;
|
|
60932
|
+
isSetup!: boolean;
|
|
60933
|
+
employee?: EmployeeDto | null;
|
|
60934
|
+
resourceId!: string;
|
|
60935
|
+
customerOrder?: CustomerOrderInfoDto | null;
|
|
60936
|
+
part?: PartDto | null;
|
|
60937
|
+
workorderQuantity?: number | null;
|
|
60938
|
+
startTime!: Date;
|
|
60939
|
+
endTime?: Date | null;
|
|
60940
|
+
materialPartNumber?: string | null;
|
|
60941
|
+
materialPartName?: string | null;
|
|
60942
|
+
materialItemGroup?: string | null;
|
|
60943
|
+
externalId?: string | null;
|
|
60944
|
+
companyId?: string | null;
|
|
60945
|
+
|
|
60946
|
+
constructor(data?: ISyncWorkorderOperationRequest) {
|
|
60947
|
+
if (data) {
|
|
60948
|
+
for (var property in data) {
|
|
60949
|
+
if (data.hasOwnProperty(property))
|
|
60950
|
+
(this as any)[property] = (data as any)[property];
|
|
60951
|
+
}
|
|
60952
|
+
}
|
|
60953
|
+
}
|
|
60954
|
+
|
|
60955
|
+
init(_data?: any) {
|
|
60956
|
+
if (_data) {
|
|
60957
|
+
this.workorderDescription = _data["workorderDescription"];
|
|
60958
|
+
this.operationDescription = _data["operationDescription"];
|
|
60959
|
+
this.isSetup = _data["isSetup"];
|
|
60960
|
+
this.employee = _data["employee"] ? EmployeeDto.fromJS(_data["employee"]) : undefined as any;
|
|
60961
|
+
this.resourceId = _data["resourceId"];
|
|
60962
|
+
this.customerOrder = _data["customerOrder"] ? CustomerOrderInfoDto.fromJS(_data["customerOrder"]) : undefined as any;
|
|
60963
|
+
this.part = _data["part"] ? PartDto.fromJS(_data["part"]) : undefined as any;
|
|
60964
|
+
this.workorderQuantity = _data["workorderQuantity"];
|
|
60965
|
+
this.startTime = _data["startTime"] ? new Date(_data["startTime"].toString()) : undefined as any;
|
|
60966
|
+
this.endTime = _data["endTime"] ? new Date(_data["endTime"].toString()) : undefined as any;
|
|
60967
|
+
this.materialPartNumber = _data["materialPartNumber"];
|
|
60968
|
+
this.materialPartName = _data["materialPartName"];
|
|
60969
|
+
this.materialItemGroup = _data["materialItemGroup"];
|
|
60970
|
+
this.externalId = _data["externalId"];
|
|
60971
|
+
this.companyId = _data["companyId"];
|
|
60972
|
+
}
|
|
60973
|
+
}
|
|
60974
|
+
|
|
60975
|
+
static fromJS(data: any): SyncWorkorderOperationRequest {
|
|
60976
|
+
data = typeof data === 'object' ? data : {};
|
|
60977
|
+
let result = new SyncWorkorderOperationRequest();
|
|
60978
|
+
result.init(data);
|
|
60979
|
+
return result;
|
|
60980
|
+
}
|
|
60981
|
+
|
|
60982
|
+
toJSON(data?: any) {
|
|
60983
|
+
data = typeof data === 'object' ? data : {};
|
|
60984
|
+
data["workorderDescription"] = this.workorderDescription;
|
|
60985
|
+
data["operationDescription"] = this.operationDescription;
|
|
60986
|
+
data["isSetup"] = this.isSetup;
|
|
60987
|
+
data["employee"] = this.employee ? this.employee.toJSON() : undefined as any;
|
|
60988
|
+
data["resourceId"] = this.resourceId;
|
|
60989
|
+
data["customerOrder"] = this.customerOrder ? this.customerOrder.toJSON() : undefined as any;
|
|
60990
|
+
data["part"] = this.part ? this.part.toJSON() : undefined as any;
|
|
60991
|
+
data["workorderQuantity"] = this.workorderQuantity;
|
|
60992
|
+
data["startTime"] = this.startTime ? this.startTime.toISOString() : undefined as any;
|
|
60993
|
+
data["endTime"] = this.endTime ? this.endTime.toISOString() : undefined as any;
|
|
60994
|
+
data["materialPartNumber"] = this.materialPartNumber;
|
|
60995
|
+
data["materialPartName"] = this.materialPartName;
|
|
60996
|
+
data["materialItemGroup"] = this.materialItemGroup;
|
|
60997
|
+
data["externalId"] = this.externalId;
|
|
60998
|
+
data["companyId"] = this.companyId;
|
|
60999
|
+
return data;
|
|
61000
|
+
}
|
|
61001
|
+
}
|
|
61002
|
+
|
|
61003
|
+
export interface ISyncWorkorderOperationRequest {
|
|
61004
|
+
workorderDescription?: string | null;
|
|
61005
|
+
operationDescription?: string | null;
|
|
61006
|
+
isSetup: boolean;
|
|
61007
|
+
employee?: EmployeeDto | null;
|
|
61008
|
+
resourceId: string;
|
|
61009
|
+
customerOrder?: CustomerOrderInfoDto | null;
|
|
61010
|
+
part?: PartDto | null;
|
|
61011
|
+
workorderQuantity?: number | null;
|
|
61012
|
+
startTime: Date;
|
|
61013
|
+
endTime?: Date | null;
|
|
61014
|
+
materialPartNumber?: string | null;
|
|
61015
|
+
materialPartName?: string | null;
|
|
61016
|
+
materialItemGroup?: string | null;
|
|
61017
|
+
externalId?: string | null;
|
|
61018
|
+
companyId?: string | null;
|
|
61019
|
+
}
|
|
61020
|
+
|
|
60839
61021
|
export class PagedResultOfWorkorderListDto implements IPagedResultOfWorkorderListDto {
|
|
60840
61022
|
results!: WorkorderListDto[];
|
|
60841
61023
|
continuationToken?: string | null;
|