@ignos/api-client 20251023.0.12956-alpha → 20251023.0.12963
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 +12 -12
- package/lib/ignosportal-api.js +30 -22
- package/package.json +1 -1
- package/src/ignosportal-api.ts +44 -36
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1692,7 +1692,7 @@ export interface IMoveBookingClient {
|
|
|
1692
1692
|
createBookingGeneral(bookingRequest: BookingGeneralRequestDto): Promise<BookingDto[]>;
|
|
1693
1693
|
preBookGeneral(req: PreBookingGeneralRequestDto): Promise<PreBookingResultItemDto[]>;
|
|
1694
1694
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
1695
|
-
exportBookings(includeTracking: boolean | undefined): Promise<
|
|
1695
|
+
exportBookings(includeTracking: boolean | undefined): Promise<FileResponse>;
|
|
1696
1696
|
}
|
|
1697
1697
|
export declare class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
|
|
1698
1698
|
private http;
|
|
@@ -1719,8 +1719,8 @@ export declare class MoveBookingClient extends AuthorizedApiBase implements IMov
|
|
|
1719
1719
|
protected processPreBookGeneral(response: Response): Promise<PreBookingResultItemDto[]>;
|
|
1720
1720
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
1721
1721
|
protected processUpdateBookingStatus(response: Response): Promise<BookingDto>;
|
|
1722
|
-
exportBookings(includeTracking: boolean | undefined): Promise<
|
|
1723
|
-
protected processExportBookings(response: Response): Promise<
|
|
1722
|
+
exportBookings(includeTracking: boolean | undefined): Promise<FileResponse>;
|
|
1723
|
+
protected processExportBookings(response: Response): Promise<FileResponse>;
|
|
1724
1724
|
}
|
|
1725
1725
|
export interface IMoveLocationsClient {
|
|
1726
1726
|
listLocations(): Promise<LocationZoneGroupDto[]>;
|
|
@@ -1813,7 +1813,7 @@ export interface IMoveTrackingClient {
|
|
|
1813
1813
|
createTrackingEvents(trackingUpdates: TrackingUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1814
1814
|
createTrackingHistory(trackingUpdates: TrackingHistoryUpdateDto[]): Promise<TrackingHistoryDto[]>;
|
|
1815
1815
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
1816
|
-
exportParcels(): Promise<
|
|
1816
|
+
exportParcels(): Promise<FileResponse>;
|
|
1817
1817
|
}
|
|
1818
1818
|
export declare class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
1819
1819
|
private http;
|
|
@@ -1838,8 +1838,8 @@ export declare class MoveTrackingClient extends AuthorizedApiBase implements IMo
|
|
|
1838
1838
|
protected processCreateTrackingHistory(response: Response): Promise<TrackingHistoryDto[]>;
|
|
1839
1839
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
1840
1840
|
protected processDeleteTrackingHistory(response: Response): Promise<void>;
|
|
1841
|
-
exportParcels(): Promise<
|
|
1842
|
-
protected processExportParcels(response: Response): Promise<
|
|
1841
|
+
exportParcels(): Promise<FileResponse>;
|
|
1842
|
+
protected processExportParcels(response: Response): Promise<FileResponse>;
|
|
1843
1843
|
}
|
|
1844
1844
|
export interface IParcelCategoryClient {
|
|
1845
1845
|
getSettings(): Promise<ParcelCategorySettingsDto>;
|
|
@@ -8840,6 +8840,8 @@ export declare class ListFixtures implements IListFixtures {
|
|
|
8840
8840
|
partNameFilter?: FixtureStringFilterDto | null;
|
|
8841
8841
|
partNumberFilter?: FixtureStringFilterDto | null;
|
|
8842
8842
|
customerFilter?: FixtureStringFilterDto | null;
|
|
8843
|
+
sortColumn?: FixtureSortColumn | null;
|
|
8844
|
+
sortOrder?: FixtureSortOrder | null;
|
|
8843
8845
|
continuationToken?: string | null;
|
|
8844
8846
|
constructor(data?: IListFixtures);
|
|
8845
8847
|
init(_data?: any): void;
|
|
@@ -8873,6 +8875,8 @@ export interface IListFixtures {
|
|
|
8873
8875
|
partNameFilter?: FixtureStringFilterDto | null;
|
|
8874
8876
|
partNumberFilter?: FixtureStringFilterDto | null;
|
|
8875
8877
|
customerFilter?: FixtureStringFilterDto | null;
|
|
8878
|
+
sortColumn?: FixtureSortColumn | null;
|
|
8879
|
+
sortOrder?: FixtureSortOrder | null;
|
|
8876
8880
|
continuationToken?: string | null;
|
|
8877
8881
|
}
|
|
8878
8882
|
export type FixtureDeletedDto = "NotDeleted" | "Deleted";
|
|
@@ -8917,6 +8921,8 @@ export interface IFixtureDecimalFilterDto {
|
|
|
8917
8921
|
term2?: number | null;
|
|
8918
8922
|
}
|
|
8919
8923
|
export type FixtureDecimalFilterCriteriaDto = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanEquals" | "LessThan" | "LessThanEquals" | "Empty" | "Between";
|
|
8924
|
+
export type FixtureSortColumn = "Name" | "Diameter" | "OuterDiameter" | "InnerDiameter" | "Depth" | "GripSide" | "Location" | "Interface" | "TotalLength" | "SourceMachine" | "LastUsed" | "Created";
|
|
8925
|
+
export type FixtureSortOrder = "Ascending" | "Descending";
|
|
8920
8926
|
export declare class FixtureCreateDto implements IFixtureCreateDto {
|
|
8921
8927
|
name?: string | null;
|
|
8922
8928
|
fixtureGroupId?: string | null;
|
|
@@ -10759,7 +10765,6 @@ export declare class ProductionOrderOperationDto implements IProductionOrderOper
|
|
|
10759
10765
|
quantity: number;
|
|
10760
10766
|
startedQuantity?: number | null;
|
|
10761
10767
|
ongoingQuantity?: number | null;
|
|
10762
|
-
earlierOperationsScrappedQuantity: number;
|
|
10763
10768
|
availableToStartQuantity: number;
|
|
10764
10769
|
workInstructions?: string | null;
|
|
10765
10770
|
note?: string | null;
|
|
@@ -10797,7 +10802,6 @@ export interface IProductionOrderOperationDto {
|
|
|
10797
10802
|
quantity: number;
|
|
10798
10803
|
startedQuantity?: number | null;
|
|
10799
10804
|
ongoingQuantity?: number | null;
|
|
10800
|
-
earlierOperationsScrappedQuantity: number;
|
|
10801
10805
|
availableToStartQuantity: number;
|
|
10802
10806
|
workInstructions?: string | null;
|
|
10803
10807
|
note?: string | null;
|
|
@@ -11221,7 +11225,6 @@ export declare class ProductionScheduleOperationDto implements IProductionSchedu
|
|
|
11221
11225
|
producedQuantity: number;
|
|
11222
11226
|
scrappedQuantity: number;
|
|
11223
11227
|
availableToStartQuantity: number;
|
|
11224
|
-
earlierOperationsScrappedQuantity: number;
|
|
11225
11228
|
startedQuantity?: number | null;
|
|
11226
11229
|
ongoingQuantity?: number | null;
|
|
11227
11230
|
project?: WorkOrderProjectDto | null;
|
|
@@ -11276,7 +11279,6 @@ export interface IProductionScheduleOperationDto {
|
|
|
11276
11279
|
producedQuantity: number;
|
|
11277
11280
|
scrappedQuantity: number;
|
|
11278
11281
|
availableToStartQuantity: number;
|
|
11279
|
-
earlierOperationsScrappedQuantity: number;
|
|
11280
11282
|
startedQuantity?: number | null;
|
|
11281
11283
|
ongoingQuantity?: number | null;
|
|
11282
11284
|
project?: WorkOrderProjectDto | null;
|
|
@@ -11323,7 +11325,6 @@ export declare class SurroundingOperationDto implements ISurroundingOperationDto
|
|
|
11323
11325
|
resourceDepartmentName?: string | null;
|
|
11324
11326
|
producedQuantity: number;
|
|
11325
11327
|
scrappedQuantity: number;
|
|
11326
|
-
earlierOperationsScrappedQuantity: number;
|
|
11327
11328
|
startedQuantity?: number | null;
|
|
11328
11329
|
constructor(data?: ISurroundingOperationDto);
|
|
11329
11330
|
init(_data?: any): void;
|
|
@@ -11346,7 +11347,6 @@ export interface ISurroundingOperationDto {
|
|
|
11346
11347
|
resourceDepartmentName?: string | null;
|
|
11347
11348
|
producedQuantity: number;
|
|
11348
11349
|
scrappedQuantity: number;
|
|
11349
|
-
earlierOperationsScrappedQuantity: number;
|
|
11350
11350
|
startedQuantity?: number | null;
|
|
11351
11351
|
}
|
|
11352
11352
|
export declare class OperationPrerequisitesDto implements IOperationPrerequisitesDto {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -14613,7 +14613,7 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
14613
14613
|
let options_ = {
|
|
14614
14614
|
method: "POST",
|
|
14615
14615
|
headers: {
|
|
14616
|
-
"Accept": "application/
|
|
14616
|
+
"Accept": "application/octet-stream"
|
|
14617
14617
|
}
|
|
14618
14618
|
};
|
|
14619
14619
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
@@ -14629,13 +14629,18 @@ export class MoveBookingClient extends AuthorizedApiBase {
|
|
|
14629
14629
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
14630
14630
|
}
|
|
14631
14631
|
;
|
|
14632
|
-
if (status === 200) {
|
|
14633
|
-
|
|
14634
|
-
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
}
|
|
14632
|
+
if (status === 200 || status === 206) {
|
|
14633
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
14634
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
14635
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
14636
|
+
if (fileName) {
|
|
14637
|
+
fileName = decodeURIComponent(fileName);
|
|
14638
|
+
}
|
|
14639
|
+
else {
|
|
14640
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
14641
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
14642
|
+
}
|
|
14643
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
14639
14644
|
}
|
|
14640
14645
|
else if (status !== 200 && status !== 204) {
|
|
14641
14646
|
return response.text().then((_responseText) => {
|
|
@@ -15606,7 +15611,7 @@ export class MoveTrackingClient extends AuthorizedApiBase {
|
|
|
15606
15611
|
let options_ = {
|
|
15607
15612
|
method: "POST",
|
|
15608
15613
|
headers: {
|
|
15609
|
-
"Accept": "application/
|
|
15614
|
+
"Accept": "application/octet-stream"
|
|
15610
15615
|
}
|
|
15611
15616
|
};
|
|
15612
15617
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
@@ -15622,13 +15627,18 @@ export class MoveTrackingClient extends AuthorizedApiBase {
|
|
|
15622
15627
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
15623
15628
|
}
|
|
15624
15629
|
;
|
|
15625
|
-
if (status === 200) {
|
|
15626
|
-
|
|
15627
|
-
|
|
15628
|
-
|
|
15629
|
-
|
|
15630
|
-
|
|
15631
|
-
}
|
|
15630
|
+
if (status === 200 || status === 206) {
|
|
15631
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
15632
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
15633
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
15634
|
+
if (fileName) {
|
|
15635
|
+
fileName = decodeURIComponent(fileName);
|
|
15636
|
+
}
|
|
15637
|
+
else {
|
|
15638
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
15639
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
15640
|
+
}
|
|
15641
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
15632
15642
|
}
|
|
15633
15643
|
else if (status !== 200 && status !== 204) {
|
|
15634
15644
|
return response.text().then((_responseText) => {
|
|
@@ -35890,6 +35900,8 @@ export class ListFixtures {
|
|
|
35890
35900
|
this.partNameFilter = _data["partNameFilter"] ? FixtureStringFilterDto.fromJS(_data["partNameFilter"]) : undefined;
|
|
35891
35901
|
this.partNumberFilter = _data["partNumberFilter"] ? FixtureStringFilterDto.fromJS(_data["partNumberFilter"]) : undefined;
|
|
35892
35902
|
this.customerFilter = _data["customerFilter"] ? FixtureStringFilterDto.fromJS(_data["customerFilter"]) : undefined;
|
|
35903
|
+
this.sortColumn = _data["sortColumn"];
|
|
35904
|
+
this.sortOrder = _data["sortOrder"];
|
|
35893
35905
|
this.continuationToken = _data["continuationToken"];
|
|
35894
35906
|
}
|
|
35895
35907
|
}
|
|
@@ -35939,6 +35951,8 @@ export class ListFixtures {
|
|
|
35939
35951
|
data["partNameFilter"] = this.partNameFilter ? this.partNameFilter.toJSON() : undefined;
|
|
35940
35952
|
data["partNumberFilter"] = this.partNumberFilter ? this.partNumberFilter.toJSON() : undefined;
|
|
35941
35953
|
data["customerFilter"] = this.customerFilter ? this.customerFilter.toJSON() : undefined;
|
|
35954
|
+
data["sortColumn"] = this.sortColumn;
|
|
35955
|
+
data["sortOrder"] = this.sortOrder;
|
|
35942
35956
|
data["continuationToken"] = this.continuationToken;
|
|
35943
35957
|
return data;
|
|
35944
35958
|
}
|
|
@@ -40051,7 +40065,6 @@ export class ProductionOrderOperationDto {
|
|
|
40051
40065
|
this.quantity = _data["quantity"];
|
|
40052
40066
|
this.startedQuantity = _data["startedQuantity"];
|
|
40053
40067
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
40054
|
-
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
40055
40068
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
40056
40069
|
this.workInstructions = _data["workInstructions"];
|
|
40057
40070
|
this.note = _data["note"];
|
|
@@ -40093,7 +40106,6 @@ export class ProductionOrderOperationDto {
|
|
|
40093
40106
|
data["quantity"] = this.quantity;
|
|
40094
40107
|
data["startedQuantity"] = this.startedQuantity;
|
|
40095
40108
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
40096
|
-
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
40097
40109
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
40098
40110
|
data["workInstructions"] = this.workInstructions;
|
|
40099
40111
|
data["note"] = this.note;
|
|
@@ -40897,7 +40909,6 @@ export class ProductionScheduleOperationDto {
|
|
|
40897
40909
|
this.producedQuantity = _data["producedQuantity"];
|
|
40898
40910
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
40899
40911
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
40900
|
-
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
40901
40912
|
this.startedQuantity = _data["startedQuantity"];
|
|
40902
40913
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
40903
40914
|
this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined;
|
|
@@ -40956,7 +40967,6 @@ export class ProductionScheduleOperationDto {
|
|
|
40956
40967
|
data["producedQuantity"] = this.producedQuantity;
|
|
40957
40968
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
40958
40969
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
40959
|
-
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
40960
40970
|
data["startedQuantity"] = this.startedQuantity;
|
|
40961
40971
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
40962
40972
|
data["project"] = this.project ? this.project.toJSON() : undefined;
|
|
@@ -41015,7 +41025,6 @@ export class SurroundingOperationDto {
|
|
|
41015
41025
|
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
41016
41026
|
this.producedQuantity = _data["producedQuantity"];
|
|
41017
41027
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
41018
|
-
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
41019
41028
|
this.startedQuantity = _data["startedQuantity"];
|
|
41020
41029
|
}
|
|
41021
41030
|
}
|
|
@@ -41042,7 +41051,6 @@ export class SurroundingOperationDto {
|
|
|
41042
41051
|
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
41043
41052
|
data["producedQuantity"] = this.producedQuantity;
|
|
41044
41053
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
41045
|
-
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
41046
41054
|
data["startedQuantity"] = this.startedQuantity;
|
|
41047
41055
|
return data;
|
|
41048
41056
|
}
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -15180,7 +15180,7 @@ export interface IMoveBookingClient {
|
|
|
15180
15180
|
|
|
15181
15181
|
updateBookingStatus(bookingUpdate: BookingStatusUpdateDto): Promise<BookingDto>;
|
|
15182
15182
|
|
|
15183
|
-
exportBookings(includeTracking: boolean | undefined): Promise<
|
|
15183
|
+
exportBookings(includeTracking: boolean | undefined): Promise<FileResponse>;
|
|
15184
15184
|
}
|
|
15185
15185
|
|
|
15186
15186
|
export class MoveBookingClient extends AuthorizedApiBase implements IMoveBookingClient {
|
|
@@ -15568,7 +15568,7 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
15568
15568
|
return Promise.resolve<BookingDto>(null as any);
|
|
15569
15569
|
}
|
|
15570
15570
|
|
|
15571
|
-
exportBookings(includeTracking: boolean | undefined): Promise<
|
|
15571
|
+
exportBookings(includeTracking: boolean | undefined): Promise<FileResponse> {
|
|
15572
15572
|
let url_ = this.baseUrl + "/move/booking/export?";
|
|
15573
15573
|
if (includeTracking === null)
|
|
15574
15574
|
throw new globalThis.Error("The parameter 'includeTracking' cannot be null.");
|
|
@@ -15579,7 +15579,7 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
15579
15579
|
let options_: RequestInit = {
|
|
15580
15580
|
method: "POST",
|
|
15581
15581
|
headers: {
|
|
15582
|
-
"Accept": "application/
|
|
15582
|
+
"Accept": "application/octet-stream"
|
|
15583
15583
|
}
|
|
15584
15584
|
};
|
|
15585
15585
|
|
|
@@ -15590,22 +15590,26 @@ export class MoveBookingClient extends AuthorizedApiBase implements IMoveBooking
|
|
|
15590
15590
|
});
|
|
15591
15591
|
}
|
|
15592
15592
|
|
|
15593
|
-
protected processExportBookings(response: Response): Promise<
|
|
15593
|
+
protected processExportBookings(response: Response): Promise<FileResponse> {
|
|
15594
15594
|
const status = response.status;
|
|
15595
15595
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
15596
|
-
if (status === 200) {
|
|
15597
|
-
|
|
15598
|
-
let
|
|
15599
|
-
let
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
}
|
|
15596
|
+
if (status === 200 || status === 206) {
|
|
15597
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
15598
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
15599
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
15600
|
+
if (fileName) {
|
|
15601
|
+
fileName = decodeURIComponent(fileName);
|
|
15602
|
+
} else {
|
|
15603
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
15604
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
15605
|
+
}
|
|
15606
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
15603
15607
|
} else if (status !== 200 && status !== 204) {
|
|
15604
15608
|
return response.text().then((_responseText) => {
|
|
15605
15609
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
15606
15610
|
});
|
|
15607
15611
|
}
|
|
15608
|
-
return Promise.resolve<
|
|
15612
|
+
return Promise.resolve<FileResponse>(null as any);
|
|
15609
15613
|
}
|
|
15610
15614
|
}
|
|
15611
15615
|
|
|
@@ -16288,7 +16292,7 @@ export interface IMoveTrackingClient {
|
|
|
16288
16292
|
|
|
16289
16293
|
deleteTrackingHistory(trackingId: string): Promise<void>;
|
|
16290
16294
|
|
|
16291
|
-
exportParcels(): Promise<
|
|
16295
|
+
exportParcels(): Promise<FileResponse>;
|
|
16292
16296
|
}
|
|
16293
16297
|
|
|
16294
16298
|
export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTrackingClient {
|
|
@@ -16635,14 +16639,14 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
|
|
|
16635
16639
|
return Promise.resolve<void>(null as any);
|
|
16636
16640
|
}
|
|
16637
16641
|
|
|
16638
|
-
exportParcels(): Promise<
|
|
16642
|
+
exportParcels(): Promise<FileResponse> {
|
|
16639
16643
|
let url_ = this.baseUrl + "/move/tracking/export";
|
|
16640
16644
|
url_ = url_.replace(/[?&]$/, "");
|
|
16641
16645
|
|
|
16642
16646
|
let options_: RequestInit = {
|
|
16643
16647
|
method: "POST",
|
|
16644
16648
|
headers: {
|
|
16645
|
-
"Accept": "application/
|
|
16649
|
+
"Accept": "application/octet-stream"
|
|
16646
16650
|
}
|
|
16647
16651
|
};
|
|
16648
16652
|
|
|
@@ -16653,22 +16657,26 @@ export class MoveTrackingClient extends AuthorizedApiBase implements IMoveTracki
|
|
|
16653
16657
|
});
|
|
16654
16658
|
}
|
|
16655
16659
|
|
|
16656
|
-
protected processExportParcels(response: Response): Promise<
|
|
16660
|
+
protected processExportParcels(response: Response): Promise<FileResponse> {
|
|
16657
16661
|
const status = response.status;
|
|
16658
16662
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
16659
|
-
if (status === 200) {
|
|
16660
|
-
|
|
16661
|
-
let
|
|
16662
|
-
let
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
}
|
|
16663
|
+
if (status === 200 || status === 206) {
|
|
16664
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
16665
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
16666
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
16667
|
+
if (fileName) {
|
|
16668
|
+
fileName = decodeURIComponent(fileName);
|
|
16669
|
+
} else {
|
|
16670
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
16671
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
16672
|
+
}
|
|
16673
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
16666
16674
|
} else if (status !== 200 && status !== 204) {
|
|
16667
16675
|
return response.text().then((_responseText) => {
|
|
16668
16676
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
16669
16677
|
});
|
|
16670
16678
|
}
|
|
16671
|
-
return Promise.resolve<
|
|
16679
|
+
return Promise.resolve<FileResponse>(null as any);
|
|
16672
16680
|
}
|
|
16673
16681
|
}
|
|
16674
16682
|
|
|
@@ -43459,6 +43467,8 @@ export class ListFixtures implements IListFixtures {
|
|
|
43459
43467
|
partNameFilter?: FixtureStringFilterDto | null;
|
|
43460
43468
|
partNumberFilter?: FixtureStringFilterDto | null;
|
|
43461
43469
|
customerFilter?: FixtureStringFilterDto | null;
|
|
43470
|
+
sortColumn?: FixtureSortColumn | null;
|
|
43471
|
+
sortOrder?: FixtureSortOrder | null;
|
|
43462
43472
|
continuationToken?: string | null;
|
|
43463
43473
|
|
|
43464
43474
|
constructor(data?: IListFixtures) {
|
|
@@ -43510,6 +43520,8 @@ export class ListFixtures implements IListFixtures {
|
|
|
43510
43520
|
this.partNameFilter = _data["partNameFilter"] ? FixtureStringFilterDto.fromJS(_data["partNameFilter"]) : undefined as any;
|
|
43511
43521
|
this.partNumberFilter = _data["partNumberFilter"] ? FixtureStringFilterDto.fromJS(_data["partNumberFilter"]) : undefined as any;
|
|
43512
43522
|
this.customerFilter = _data["customerFilter"] ? FixtureStringFilterDto.fromJS(_data["customerFilter"]) : undefined as any;
|
|
43523
|
+
this.sortColumn = _data["sortColumn"];
|
|
43524
|
+
this.sortOrder = _data["sortOrder"];
|
|
43513
43525
|
this.continuationToken = _data["continuationToken"];
|
|
43514
43526
|
}
|
|
43515
43527
|
}
|
|
@@ -43561,6 +43573,8 @@ export class ListFixtures implements IListFixtures {
|
|
|
43561
43573
|
data["partNameFilter"] = this.partNameFilter ? this.partNameFilter.toJSON() : undefined as any;
|
|
43562
43574
|
data["partNumberFilter"] = this.partNumberFilter ? this.partNumberFilter.toJSON() : undefined as any;
|
|
43563
43575
|
data["customerFilter"] = this.customerFilter ? this.customerFilter.toJSON() : undefined as any;
|
|
43576
|
+
data["sortColumn"] = this.sortColumn;
|
|
43577
|
+
data["sortOrder"] = this.sortOrder;
|
|
43564
43578
|
data["continuationToken"] = this.continuationToken;
|
|
43565
43579
|
return data;
|
|
43566
43580
|
}
|
|
@@ -43593,6 +43607,8 @@ export interface IListFixtures {
|
|
|
43593
43607
|
partNameFilter?: FixtureStringFilterDto | null;
|
|
43594
43608
|
partNumberFilter?: FixtureStringFilterDto | null;
|
|
43595
43609
|
customerFilter?: FixtureStringFilterDto | null;
|
|
43610
|
+
sortColumn?: FixtureSortColumn | null;
|
|
43611
|
+
sortOrder?: FixtureSortOrder | null;
|
|
43596
43612
|
continuationToken?: string | null;
|
|
43597
43613
|
}
|
|
43598
43614
|
|
|
@@ -43728,6 +43744,10 @@ export interface IFixtureDecimalFilterDto {
|
|
|
43728
43744
|
|
|
43729
43745
|
export type FixtureDecimalFilterCriteriaDto = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanEquals" | "LessThan" | "LessThanEquals" | "Empty" | "Between";
|
|
43730
43746
|
|
|
43747
|
+
export type FixtureSortColumn = "Name" | "Diameter" | "OuterDiameter" | "InnerDiameter" | "Depth" | "GripSide" | "Location" | "Interface" | "TotalLength" | "SourceMachine" | "LastUsed" | "Created";
|
|
43748
|
+
|
|
43749
|
+
export type FixtureSortOrder = "Ascending" | "Descending";
|
|
43750
|
+
|
|
43731
43751
|
export class FixtureCreateDto implements IFixtureCreateDto {
|
|
43732
43752
|
name?: string | null;
|
|
43733
43753
|
fixtureGroupId?: string | null;
|
|
@@ -49552,7 +49572,6 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
49552
49572
|
quantity!: number;
|
|
49553
49573
|
startedQuantity?: number | null;
|
|
49554
49574
|
ongoingQuantity?: number | null;
|
|
49555
|
-
earlierOperationsScrappedQuantity!: number;
|
|
49556
49575
|
availableToStartQuantity!: number;
|
|
49557
49576
|
workInstructions?: string | null;
|
|
49558
49577
|
note?: string | null;
|
|
@@ -49596,7 +49615,6 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
49596
49615
|
this.quantity = _data["quantity"];
|
|
49597
49616
|
this.startedQuantity = _data["startedQuantity"];
|
|
49598
49617
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
49599
|
-
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
49600
49618
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
49601
49619
|
this.workInstructions = _data["workInstructions"];
|
|
49602
49620
|
this.note = _data["note"];
|
|
@@ -49640,7 +49658,6 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
|
|
|
49640
49658
|
data["quantity"] = this.quantity;
|
|
49641
49659
|
data["startedQuantity"] = this.startedQuantity;
|
|
49642
49660
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
49643
|
-
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
49644
49661
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
49645
49662
|
data["workInstructions"] = this.workInstructions;
|
|
49646
49663
|
data["note"] = this.note;
|
|
@@ -49677,7 +49694,6 @@ export interface IProductionOrderOperationDto {
|
|
|
49677
49694
|
quantity: number;
|
|
49678
49695
|
startedQuantity?: number | null;
|
|
49679
49696
|
ongoingQuantity?: number | null;
|
|
49680
|
-
earlierOperationsScrappedQuantity: number;
|
|
49681
49697
|
availableToStartQuantity: number;
|
|
49682
49698
|
workInstructions?: string | null;
|
|
49683
49699
|
note?: string | null;
|
|
@@ -50863,7 +50879,6 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
50863
50879
|
producedQuantity!: number;
|
|
50864
50880
|
scrappedQuantity!: number;
|
|
50865
50881
|
availableToStartQuantity!: number;
|
|
50866
|
-
earlierOperationsScrappedQuantity!: number;
|
|
50867
50882
|
startedQuantity?: number | null;
|
|
50868
50883
|
ongoingQuantity?: number | null;
|
|
50869
50884
|
project?: WorkOrderProjectDto | null;
|
|
@@ -50927,7 +50942,6 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
50927
50942
|
this.producedQuantity = _data["producedQuantity"];
|
|
50928
50943
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
50929
50944
|
this.availableToStartQuantity = _data["availableToStartQuantity"];
|
|
50930
|
-
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
50931
50945
|
this.startedQuantity = _data["startedQuantity"];
|
|
50932
50946
|
this.ongoingQuantity = _data["ongoingQuantity"];
|
|
50933
50947
|
this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined as any;
|
|
@@ -50988,7 +51002,6 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
|
|
|
50988
51002
|
data["producedQuantity"] = this.producedQuantity;
|
|
50989
51003
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
50990
51004
|
data["availableToStartQuantity"] = this.availableToStartQuantity;
|
|
50991
|
-
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
50992
51005
|
data["startedQuantity"] = this.startedQuantity;
|
|
50993
51006
|
data["ongoingQuantity"] = this.ongoingQuantity;
|
|
50994
51007
|
data["project"] = this.project ? this.project.toJSON() : undefined as any;
|
|
@@ -51042,7 +51055,6 @@ export interface IProductionScheduleOperationDto {
|
|
|
51042
51055
|
producedQuantity: number;
|
|
51043
51056
|
scrappedQuantity: number;
|
|
51044
51057
|
availableToStartQuantity: number;
|
|
51045
|
-
earlierOperationsScrappedQuantity: number;
|
|
51046
51058
|
startedQuantity?: number | null;
|
|
51047
51059
|
ongoingQuantity?: number | null;
|
|
51048
51060
|
project?: WorkOrderProjectDto | null;
|
|
@@ -51090,7 +51102,6 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
51090
51102
|
resourceDepartmentName?: string | null;
|
|
51091
51103
|
producedQuantity!: number;
|
|
51092
51104
|
scrappedQuantity!: number;
|
|
51093
|
-
earlierOperationsScrappedQuantity!: number;
|
|
51094
51105
|
startedQuantity?: number | null;
|
|
51095
51106
|
|
|
51096
51107
|
constructor(data?: ISurroundingOperationDto) {
|
|
@@ -51119,7 +51130,6 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
51119
51130
|
this.resourceDepartmentName = _data["resourceDepartmentName"];
|
|
51120
51131
|
this.producedQuantity = _data["producedQuantity"];
|
|
51121
51132
|
this.scrappedQuantity = _data["scrappedQuantity"];
|
|
51122
|
-
this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
|
|
51123
51133
|
this.startedQuantity = _data["startedQuantity"];
|
|
51124
51134
|
}
|
|
51125
51135
|
}
|
|
@@ -51148,7 +51158,6 @@ export class SurroundingOperationDto implements ISurroundingOperationDto {
|
|
|
51148
51158
|
data["resourceDepartmentName"] = this.resourceDepartmentName;
|
|
51149
51159
|
data["producedQuantity"] = this.producedQuantity;
|
|
51150
51160
|
data["scrappedQuantity"] = this.scrappedQuantity;
|
|
51151
|
-
data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
|
|
51152
51161
|
data["startedQuantity"] = this.startedQuantity;
|
|
51153
51162
|
return data;
|
|
51154
51163
|
}
|
|
@@ -51170,7 +51179,6 @@ export interface ISurroundingOperationDto {
|
|
|
51170
51179
|
resourceDepartmentName?: string | null;
|
|
51171
51180
|
producedQuantity: number;
|
|
51172
51181
|
scrappedQuantity: number;
|
|
51173
|
-
earlierOperationsScrappedQuantity: number;
|
|
51174
51182
|
startedQuantity?: number | null;
|
|
51175
51183
|
}
|
|
51176
51184
|
|