@ignos/api-client 20250502.0.11629 → 20250506.0.11660
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 +27 -6
- package/lib/ignosportal-api.js +88 -2
- package/package.json +1 -1
- package/src/ignosportal-api.ts +113 -8
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -1326,6 +1326,7 @@ export interface ICncSetupFixturesClient {
|
|
|
1326
1326
|
getFixture(fixtureId: string): Promise<FixtureDto>;
|
|
1327
1327
|
updateFixture(fixtureId: string, update: FixtureUpdateDto): Promise<FixtureDto>;
|
|
1328
1328
|
createFixture(update: FixtureUpdateDto): Promise<FixtureDto>;
|
|
1329
|
+
operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto>;
|
|
1329
1330
|
}
|
|
1330
1331
|
export declare class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSetupFixturesClient {
|
|
1331
1332
|
private http;
|
|
@@ -1342,6 +1343,8 @@ export declare class CncSetupFixturesClient extends AuthorizedApiBase implements
|
|
|
1342
1343
|
protected processUpdateFixture(response: Response): Promise<FixtureDto>;
|
|
1343
1344
|
createFixture(update: FixtureUpdateDto): Promise<FixtureDto>;
|
|
1344
1345
|
protected processCreateFixture(response: Response): Promise<FixtureDto>;
|
|
1346
|
+
operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto>;
|
|
1347
|
+
protected processOperationAddFixture(response: Response): Promise<CncMachineOperationDto>;
|
|
1345
1348
|
}
|
|
1346
1349
|
export interface IOperatorCalculatorsClient {
|
|
1347
1350
|
/**
|
|
@@ -7389,6 +7392,7 @@ export declare class CncMachineOperationDto implements ICncMachineOperationDto {
|
|
|
7389
7392
|
tailstock?: string | null;
|
|
7390
7393
|
tailstockPressure?: string | null;
|
|
7391
7394
|
fixture?: string | null;
|
|
7395
|
+
fixtures: FixtureLiteDto[];
|
|
7392
7396
|
status: CncOperationStatus;
|
|
7393
7397
|
deleted: boolean;
|
|
7394
7398
|
auditInfo: CncSetupAuditDto;
|
|
@@ -7410,10 +7414,27 @@ export interface ICncMachineOperationDto {
|
|
|
7410
7414
|
tailstock?: string | null;
|
|
7411
7415
|
tailstockPressure?: string | null;
|
|
7412
7416
|
fixture?: string | null;
|
|
7417
|
+
fixtures: FixtureLiteDto[];
|
|
7413
7418
|
status: CncOperationStatus;
|
|
7414
7419
|
deleted: boolean;
|
|
7415
7420
|
auditInfo: CncSetupAuditDto;
|
|
7416
7421
|
}
|
|
7422
|
+
export declare class FixtureLiteDto implements IFixtureLiteDto {
|
|
7423
|
+
id: string;
|
|
7424
|
+
name: string;
|
|
7425
|
+
instance: number;
|
|
7426
|
+
fixtureGroupId: string;
|
|
7427
|
+
constructor(data?: IFixtureLiteDto);
|
|
7428
|
+
init(_data?: any): void;
|
|
7429
|
+
static fromJS(data: any): FixtureLiteDto;
|
|
7430
|
+
toJSON(data?: any): any;
|
|
7431
|
+
}
|
|
7432
|
+
export interface IFixtureLiteDto {
|
|
7433
|
+
id: string;
|
|
7434
|
+
name: string;
|
|
7435
|
+
instance: number;
|
|
7436
|
+
fixtureGroupId: string;
|
|
7437
|
+
}
|
|
7417
7438
|
export type CncOperationStatus = "Draft" | "Ready" | "Verified" | "Archived";
|
|
7418
7439
|
export declare class CncSetupAuditDto implements ICncSetupAuditDto {
|
|
7419
7440
|
created: Date;
|
|
@@ -8138,8 +8159,8 @@ export declare class FixtureDto implements IFixtureDto {
|
|
|
8138
8159
|
deleted?: boolean;
|
|
8139
8160
|
approved?: boolean;
|
|
8140
8161
|
name: string;
|
|
8141
|
-
instance
|
|
8142
|
-
fixtureGroupId
|
|
8162
|
+
instance: number;
|
|
8163
|
+
fixtureGroupId: string;
|
|
8143
8164
|
drawing?: string | null;
|
|
8144
8165
|
drawingRev?: string | null;
|
|
8145
8166
|
sourceMachine?: string | null;
|
|
@@ -8166,8 +8187,8 @@ export interface IFixtureDto {
|
|
|
8166
8187
|
deleted?: boolean;
|
|
8167
8188
|
approved?: boolean;
|
|
8168
8189
|
name: string;
|
|
8169
|
-
instance
|
|
8170
|
-
fixtureGroupId
|
|
8190
|
+
instance: number;
|
|
8191
|
+
fixtureGroupId: string;
|
|
8171
8192
|
drawing?: string | null;
|
|
8172
8193
|
drawingRev?: string | null;
|
|
8173
8194
|
sourceMachine?: string | null;
|
|
@@ -8187,7 +8208,7 @@ export interface IFixtureDto {
|
|
|
8187
8208
|
}
|
|
8188
8209
|
export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
|
|
8189
8210
|
export declare class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
|
|
8190
|
-
|
|
8211
|
+
operationId: string;
|
|
8191
8212
|
lastUsedBy?: string | null;
|
|
8192
8213
|
lastUsedById?: string | null;
|
|
8193
8214
|
lastUsed?: Date | null;
|
|
@@ -8197,7 +8218,7 @@ export declare class FixtureLastUsedOperationDto implements IFixtureLastUsedOper
|
|
|
8197
8218
|
toJSON(data?: any): any;
|
|
8198
8219
|
}
|
|
8199
8220
|
export interface IFixtureLastUsedOperationDto {
|
|
8200
|
-
|
|
8221
|
+
operationId: string;
|
|
8201
8222
|
lastUsedBy?: string | null;
|
|
8202
8223
|
lastUsedById?: string | null;
|
|
8203
8224
|
lastUsed?: Date | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -11364,6 +11364,49 @@ export class CncSetupFixturesClient extends AuthorizedApiBase {
|
|
|
11364
11364
|
}
|
|
11365
11365
|
return Promise.resolve(null);
|
|
11366
11366
|
}
|
|
11367
|
+
operationAddFixture(fixtureId, operationId) {
|
|
11368
|
+
let url_ = this.baseUrl + "/fixtures/{fixtureId}/operation/{operationId}";
|
|
11369
|
+
if (fixtureId === undefined || fixtureId === null)
|
|
11370
|
+
throw new Error("The parameter 'fixtureId' must be defined.");
|
|
11371
|
+
url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
|
|
11372
|
+
if (operationId === undefined || operationId === null)
|
|
11373
|
+
throw new Error("The parameter 'operationId' must be defined.");
|
|
11374
|
+
url_ = url_.replace("{operationId}", encodeURIComponent("" + operationId));
|
|
11375
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
11376
|
+
let options_ = {
|
|
11377
|
+
method: "PUT",
|
|
11378
|
+
headers: {
|
|
11379
|
+
"Accept": "application/json"
|
|
11380
|
+
}
|
|
11381
|
+
};
|
|
11382
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
11383
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
11384
|
+
}).then((_response) => {
|
|
11385
|
+
return this.processOperationAddFixture(_response);
|
|
11386
|
+
});
|
|
11387
|
+
}
|
|
11388
|
+
processOperationAddFixture(response) {
|
|
11389
|
+
const status = response.status;
|
|
11390
|
+
let _headers = {};
|
|
11391
|
+
if (response.headers && response.headers.forEach) {
|
|
11392
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
11393
|
+
}
|
|
11394
|
+
;
|
|
11395
|
+
if (status === 200) {
|
|
11396
|
+
return response.text().then((_responseText) => {
|
|
11397
|
+
let result200 = null;
|
|
11398
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
11399
|
+
result200 = CncMachineOperationDto.fromJS(resultData200);
|
|
11400
|
+
return result200;
|
|
11401
|
+
});
|
|
11402
|
+
}
|
|
11403
|
+
else if (status !== 200 && status !== 204) {
|
|
11404
|
+
return response.text().then((_responseText) => {
|
|
11405
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
11406
|
+
});
|
|
11407
|
+
}
|
|
11408
|
+
return Promise.resolve(null);
|
|
11409
|
+
}
|
|
11367
11410
|
}
|
|
11368
11411
|
export class OperatorCalculatorsClient extends AuthorizedApiBase {
|
|
11369
11412
|
constructor(configuration, baseUrl, http) {
|
|
@@ -31524,6 +31567,7 @@ export class CncMachineOperationDto {
|
|
|
31524
31567
|
}
|
|
31525
31568
|
}
|
|
31526
31569
|
if (!data) {
|
|
31570
|
+
this.fixtures = [];
|
|
31527
31571
|
this.auditInfo = new CncSetupAuditDto();
|
|
31528
31572
|
}
|
|
31529
31573
|
}
|
|
@@ -31541,6 +31585,11 @@ export class CncMachineOperationDto {
|
|
|
31541
31585
|
this.tailstock = _data["tailstock"];
|
|
31542
31586
|
this.tailstockPressure = _data["tailstockPressure"];
|
|
31543
31587
|
this.fixture = _data["fixture"];
|
|
31588
|
+
if (Array.isArray(_data["fixtures"])) {
|
|
31589
|
+
this.fixtures = [];
|
|
31590
|
+
for (let item of _data["fixtures"])
|
|
31591
|
+
this.fixtures.push(FixtureLiteDto.fromJS(item));
|
|
31592
|
+
}
|
|
31544
31593
|
this.status = _data["status"];
|
|
31545
31594
|
this.deleted = _data["deleted"];
|
|
31546
31595
|
this.auditInfo = _data["auditInfo"] ? CncSetupAuditDto.fromJS(_data["auditInfo"]) : new CncSetupAuditDto();
|
|
@@ -31566,12 +31615,49 @@ export class CncMachineOperationDto {
|
|
|
31566
31615
|
data["tailstock"] = this.tailstock;
|
|
31567
31616
|
data["tailstockPressure"] = this.tailstockPressure;
|
|
31568
31617
|
data["fixture"] = this.fixture;
|
|
31618
|
+
if (Array.isArray(this.fixtures)) {
|
|
31619
|
+
data["fixtures"] = [];
|
|
31620
|
+
for (let item of this.fixtures)
|
|
31621
|
+
data["fixtures"].push(item.toJSON());
|
|
31622
|
+
}
|
|
31569
31623
|
data["status"] = this.status;
|
|
31570
31624
|
data["deleted"] = this.deleted;
|
|
31571
31625
|
data["auditInfo"] = this.auditInfo ? this.auditInfo.toJSON() : undefined;
|
|
31572
31626
|
return data;
|
|
31573
31627
|
}
|
|
31574
31628
|
}
|
|
31629
|
+
export class FixtureLiteDto {
|
|
31630
|
+
constructor(data) {
|
|
31631
|
+
if (data) {
|
|
31632
|
+
for (var property in data) {
|
|
31633
|
+
if (data.hasOwnProperty(property))
|
|
31634
|
+
this[property] = data[property];
|
|
31635
|
+
}
|
|
31636
|
+
}
|
|
31637
|
+
}
|
|
31638
|
+
init(_data) {
|
|
31639
|
+
if (_data) {
|
|
31640
|
+
this.id = _data["id"];
|
|
31641
|
+
this.name = _data["name"];
|
|
31642
|
+
this.instance = _data["instance"];
|
|
31643
|
+
this.fixtureGroupId = _data["fixtureGroupId"];
|
|
31644
|
+
}
|
|
31645
|
+
}
|
|
31646
|
+
static fromJS(data) {
|
|
31647
|
+
data = typeof data === 'object' ? data : {};
|
|
31648
|
+
let result = new FixtureLiteDto();
|
|
31649
|
+
result.init(data);
|
|
31650
|
+
return result;
|
|
31651
|
+
}
|
|
31652
|
+
toJSON(data) {
|
|
31653
|
+
data = typeof data === 'object' ? data : {};
|
|
31654
|
+
data["id"] = this.id;
|
|
31655
|
+
data["name"] = this.name;
|
|
31656
|
+
data["instance"] = this.instance;
|
|
31657
|
+
data["fixtureGroupId"] = this.fixtureGroupId;
|
|
31658
|
+
return data;
|
|
31659
|
+
}
|
|
31660
|
+
}
|
|
31575
31661
|
export class CncSetupAuditDto {
|
|
31576
31662
|
constructor(data) {
|
|
31577
31663
|
if (data) {
|
|
@@ -32855,7 +32941,7 @@ export class FixtureLastUsedOperationDto {
|
|
|
32855
32941
|
}
|
|
32856
32942
|
init(_data) {
|
|
32857
32943
|
if (_data) {
|
|
32858
|
-
this.
|
|
32944
|
+
this.operationId = _data["operationId"];
|
|
32859
32945
|
this.lastUsedBy = _data["lastUsedBy"];
|
|
32860
32946
|
this.lastUsedById = _data["lastUsedById"];
|
|
32861
32947
|
this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : undefined;
|
|
@@ -32869,7 +32955,7 @@ export class FixtureLastUsedOperationDto {
|
|
|
32869
32955
|
}
|
|
32870
32956
|
toJSON(data) {
|
|
32871
32957
|
data = typeof data === 'object' ? data : {};
|
|
32872
|
-
data["
|
|
32958
|
+
data["operationId"] = this.operationId;
|
|
32873
32959
|
data["lastUsedBy"] = this.lastUsedBy;
|
|
32874
32960
|
data["lastUsedById"] = this.lastUsedById;
|
|
32875
32961
|
data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : undefined;
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -11940,6 +11940,8 @@ export interface ICncSetupFixturesClient {
|
|
|
11940
11940
|
updateFixture(fixtureId: string, update: FixtureUpdateDto): Promise<FixtureDto>;
|
|
11941
11941
|
|
|
11942
11942
|
createFixture(update: FixtureUpdateDto): Promise<FixtureDto>;
|
|
11943
|
+
|
|
11944
|
+
operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto>;
|
|
11943
11945
|
}
|
|
11944
11946
|
|
|
11945
11947
|
export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSetupFixturesClient {
|
|
@@ -12114,6 +12116,48 @@ export class CncSetupFixturesClient extends AuthorizedApiBase implements ICncSet
|
|
|
12114
12116
|
}
|
|
12115
12117
|
return Promise.resolve<FixtureDto>(null as any);
|
|
12116
12118
|
}
|
|
12119
|
+
|
|
12120
|
+
operationAddFixture(fixtureId: string, operationId: string): Promise<CncMachineOperationDto> {
|
|
12121
|
+
let url_ = this.baseUrl + "/fixtures/{fixtureId}/operation/{operationId}";
|
|
12122
|
+
if (fixtureId === undefined || fixtureId === null)
|
|
12123
|
+
throw new Error("The parameter 'fixtureId' must be defined.");
|
|
12124
|
+
url_ = url_.replace("{fixtureId}", encodeURIComponent("" + fixtureId));
|
|
12125
|
+
if (operationId === undefined || operationId === null)
|
|
12126
|
+
throw new Error("The parameter 'operationId' must be defined.");
|
|
12127
|
+
url_ = url_.replace("{operationId}", encodeURIComponent("" + operationId));
|
|
12128
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
12129
|
+
|
|
12130
|
+
let options_: RequestInit = {
|
|
12131
|
+
method: "PUT",
|
|
12132
|
+
headers: {
|
|
12133
|
+
"Accept": "application/json"
|
|
12134
|
+
}
|
|
12135
|
+
};
|
|
12136
|
+
|
|
12137
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
12138
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
12139
|
+
}).then((_response: Response) => {
|
|
12140
|
+
return this.processOperationAddFixture(_response);
|
|
12141
|
+
});
|
|
12142
|
+
}
|
|
12143
|
+
|
|
12144
|
+
protected processOperationAddFixture(response: Response): Promise<CncMachineOperationDto> {
|
|
12145
|
+
const status = response.status;
|
|
12146
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
12147
|
+
if (status === 200) {
|
|
12148
|
+
return response.text().then((_responseText) => {
|
|
12149
|
+
let result200: any = null;
|
|
12150
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
12151
|
+
result200 = CncMachineOperationDto.fromJS(resultData200);
|
|
12152
|
+
return result200;
|
|
12153
|
+
});
|
|
12154
|
+
} else if (status !== 200 && status !== 204) {
|
|
12155
|
+
return response.text().then((_responseText) => {
|
|
12156
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
12157
|
+
});
|
|
12158
|
+
}
|
|
12159
|
+
return Promise.resolve<CncMachineOperationDto>(null as any);
|
|
12160
|
+
}
|
|
12117
12161
|
}
|
|
12118
12162
|
|
|
12119
12163
|
export interface IOperatorCalculatorsClient {
|
|
@@ -37799,6 +37843,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
|
|
|
37799
37843
|
tailstock?: string | null;
|
|
37800
37844
|
tailstockPressure?: string | null;
|
|
37801
37845
|
fixture?: string | null;
|
|
37846
|
+
fixtures!: FixtureLiteDto[];
|
|
37802
37847
|
status!: CncOperationStatus;
|
|
37803
37848
|
deleted!: boolean;
|
|
37804
37849
|
auditInfo!: CncSetupAuditDto;
|
|
@@ -37811,6 +37856,7 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
|
|
|
37811
37856
|
}
|
|
37812
37857
|
}
|
|
37813
37858
|
if (!data) {
|
|
37859
|
+
this.fixtures = [];
|
|
37814
37860
|
this.auditInfo = new CncSetupAuditDto();
|
|
37815
37861
|
}
|
|
37816
37862
|
}
|
|
@@ -37829,6 +37875,11 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
|
|
|
37829
37875
|
this.tailstock = _data["tailstock"];
|
|
37830
37876
|
this.tailstockPressure = _data["tailstockPressure"];
|
|
37831
37877
|
this.fixture = _data["fixture"];
|
|
37878
|
+
if (Array.isArray(_data["fixtures"])) {
|
|
37879
|
+
this.fixtures = [] as any;
|
|
37880
|
+
for (let item of _data["fixtures"])
|
|
37881
|
+
this.fixtures!.push(FixtureLiteDto.fromJS(item));
|
|
37882
|
+
}
|
|
37832
37883
|
this.status = _data["status"];
|
|
37833
37884
|
this.deleted = _data["deleted"];
|
|
37834
37885
|
this.auditInfo = _data["auditInfo"] ? CncSetupAuditDto.fromJS(_data["auditInfo"]) : new CncSetupAuditDto();
|
|
@@ -37856,6 +37907,11 @@ export class CncMachineOperationDto implements ICncMachineOperationDto {
|
|
|
37856
37907
|
data["tailstock"] = this.tailstock;
|
|
37857
37908
|
data["tailstockPressure"] = this.tailstockPressure;
|
|
37858
37909
|
data["fixture"] = this.fixture;
|
|
37910
|
+
if (Array.isArray(this.fixtures)) {
|
|
37911
|
+
data["fixtures"] = [];
|
|
37912
|
+
for (let item of this.fixtures)
|
|
37913
|
+
data["fixtures"].push(item.toJSON());
|
|
37914
|
+
}
|
|
37859
37915
|
data["status"] = this.status;
|
|
37860
37916
|
data["deleted"] = this.deleted;
|
|
37861
37917
|
data["auditInfo"] = this.auditInfo ? this.auditInfo.toJSON() : <any>undefined;
|
|
@@ -37876,11 +37932,60 @@ export interface ICncMachineOperationDto {
|
|
|
37876
37932
|
tailstock?: string | null;
|
|
37877
37933
|
tailstockPressure?: string | null;
|
|
37878
37934
|
fixture?: string | null;
|
|
37935
|
+
fixtures: FixtureLiteDto[];
|
|
37879
37936
|
status: CncOperationStatus;
|
|
37880
37937
|
deleted: boolean;
|
|
37881
37938
|
auditInfo: CncSetupAuditDto;
|
|
37882
37939
|
}
|
|
37883
37940
|
|
|
37941
|
+
export class FixtureLiteDto implements IFixtureLiteDto {
|
|
37942
|
+
id!: string;
|
|
37943
|
+
name!: string;
|
|
37944
|
+
instance!: number;
|
|
37945
|
+
fixtureGroupId!: string;
|
|
37946
|
+
|
|
37947
|
+
constructor(data?: IFixtureLiteDto) {
|
|
37948
|
+
if (data) {
|
|
37949
|
+
for (var property in data) {
|
|
37950
|
+
if (data.hasOwnProperty(property))
|
|
37951
|
+
(<any>this)[property] = (<any>data)[property];
|
|
37952
|
+
}
|
|
37953
|
+
}
|
|
37954
|
+
}
|
|
37955
|
+
|
|
37956
|
+
init(_data?: any) {
|
|
37957
|
+
if (_data) {
|
|
37958
|
+
this.id = _data["id"];
|
|
37959
|
+
this.name = _data["name"];
|
|
37960
|
+
this.instance = _data["instance"];
|
|
37961
|
+
this.fixtureGroupId = _data["fixtureGroupId"];
|
|
37962
|
+
}
|
|
37963
|
+
}
|
|
37964
|
+
|
|
37965
|
+
static fromJS(data: any): FixtureLiteDto {
|
|
37966
|
+
data = typeof data === 'object' ? data : {};
|
|
37967
|
+
let result = new FixtureLiteDto();
|
|
37968
|
+
result.init(data);
|
|
37969
|
+
return result;
|
|
37970
|
+
}
|
|
37971
|
+
|
|
37972
|
+
toJSON(data?: any) {
|
|
37973
|
+
data = typeof data === 'object' ? data : {};
|
|
37974
|
+
data["id"] = this.id;
|
|
37975
|
+
data["name"] = this.name;
|
|
37976
|
+
data["instance"] = this.instance;
|
|
37977
|
+
data["fixtureGroupId"] = this.fixtureGroupId;
|
|
37978
|
+
return data;
|
|
37979
|
+
}
|
|
37980
|
+
}
|
|
37981
|
+
|
|
37982
|
+
export interface IFixtureLiteDto {
|
|
37983
|
+
id: string;
|
|
37984
|
+
name: string;
|
|
37985
|
+
instance: number;
|
|
37986
|
+
fixtureGroupId: string;
|
|
37987
|
+
}
|
|
37988
|
+
|
|
37884
37989
|
export type CncOperationStatus = "Draft" | "Ready" | "Verified" | "Archived";
|
|
37885
37990
|
|
|
37886
37991
|
export class CncSetupAuditDto implements ICncSetupAuditDto {
|
|
@@ -39801,8 +39906,8 @@ export class FixtureDto implements IFixtureDto {
|
|
|
39801
39906
|
deleted?: boolean;
|
|
39802
39907
|
approved?: boolean;
|
|
39803
39908
|
name!: string;
|
|
39804
|
-
instance
|
|
39805
|
-
fixtureGroupId
|
|
39909
|
+
instance!: number;
|
|
39910
|
+
fixtureGroupId!: string;
|
|
39806
39911
|
drawing?: string | null;
|
|
39807
39912
|
drawingRev?: string | null;
|
|
39808
39913
|
sourceMachine?: string | null;
|
|
@@ -39907,8 +40012,8 @@ export interface IFixtureDto {
|
|
|
39907
40012
|
deleted?: boolean;
|
|
39908
40013
|
approved?: boolean;
|
|
39909
40014
|
name: string;
|
|
39910
|
-
instance
|
|
39911
|
-
fixtureGroupId
|
|
40015
|
+
instance: number;
|
|
40016
|
+
fixtureGroupId: string;
|
|
39912
40017
|
drawing?: string | null;
|
|
39913
40018
|
drawingRev?: string | null;
|
|
39914
40019
|
sourceMachine?: string | null;
|
|
@@ -39930,7 +40035,7 @@ export interface IFixtureDto {
|
|
|
39930
40035
|
export type FixtureTypeDto = "Bungs" | "Jaws" | "Jigs" | "Centers";
|
|
39931
40036
|
|
|
39932
40037
|
export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto {
|
|
39933
|
-
|
|
40038
|
+
operationId!: string;
|
|
39934
40039
|
lastUsedBy?: string | null;
|
|
39935
40040
|
lastUsedById?: string | null;
|
|
39936
40041
|
lastUsed?: Date | null;
|
|
@@ -39946,7 +40051,7 @@ export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto
|
|
|
39946
40051
|
|
|
39947
40052
|
init(_data?: any) {
|
|
39948
40053
|
if (_data) {
|
|
39949
|
-
this.
|
|
40054
|
+
this.operationId = _data["operationId"];
|
|
39950
40055
|
this.lastUsedBy = _data["lastUsedBy"];
|
|
39951
40056
|
this.lastUsedById = _data["lastUsedById"];
|
|
39952
40057
|
this.lastUsed = _data["lastUsed"] ? new Date(_data["lastUsed"].toString()) : <any>undefined;
|
|
@@ -39962,7 +40067,7 @@ export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto
|
|
|
39962
40067
|
|
|
39963
40068
|
toJSON(data?: any) {
|
|
39964
40069
|
data = typeof data === 'object' ? data : {};
|
|
39965
|
-
data["
|
|
40070
|
+
data["operationId"] = this.operationId;
|
|
39966
40071
|
data["lastUsedBy"] = this.lastUsedBy;
|
|
39967
40072
|
data["lastUsedById"] = this.lastUsedById;
|
|
39968
40073
|
data["lastUsed"] = this.lastUsed ? this.lastUsed.toISOString() : <any>undefined;
|
|
@@ -39971,7 +40076,7 @@ export class FixtureLastUsedOperationDto implements IFixtureLastUsedOperationDto
|
|
|
39971
40076
|
}
|
|
39972
40077
|
|
|
39973
40078
|
export interface IFixtureLastUsedOperationDto {
|
|
39974
|
-
|
|
40079
|
+
operationId: string;
|
|
39975
40080
|
lastUsedBy?: string | null;
|
|
39976
40081
|
lastUsedById?: string | null;
|
|
39977
40082
|
lastUsed?: Date | null;
|