@ignos/api-client 20251104.0.13119 → 20251106.0.13140
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 +99 -92
- package/lib/ignosportal-api.js +232 -283
- package/package.json +1 -1
- package/src/ignosportal-api.ts +325 -370
package/src/ignosportal-api.ts
CHANGED
|
@@ -19092,22 +19092,16 @@ export class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
|
|
|
19092
19092
|
}
|
|
19093
19093
|
}
|
|
19094
19094
|
|
|
19095
|
-
export interface
|
|
19095
|
+
export interface IMeasurementFormSchemasAdminClient {
|
|
19096
19096
|
|
|
19097
|
-
|
|
19097
|
+
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
19098
19098
|
|
|
19099
19099
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
19100
19100
|
|
|
19101
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
19102
|
-
|
|
19103
|
-
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
19104
|
-
|
|
19105
19101
|
updateMeasurementFormSchema(id: string, request: UpdateMeasurementFormSchemaRequest): Promise<MeasurementFormSchemaDto>;
|
|
19106
19102
|
|
|
19107
19103
|
deleteMeasurementForm(id: string): Promise<void>;
|
|
19108
19104
|
|
|
19109
|
-
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
19110
|
-
|
|
19111
19105
|
copyMeasurementFormSchema(id: string, request: CopyMeasurementFormSchema): Promise<MeasurementFormDto>;
|
|
19112
19106
|
|
|
19113
19107
|
updateSchemaGroupedElements(id: string, request: UpdateSchemaGroupedElementsRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -19220,7 +19214,7 @@ export interface IMeasurementFormSchemasClient {
|
|
|
19220
19214
|
postListMeasurementFormSchemasWithHistory(request: ListMeasurementFormSchemasWithHistoryRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
19221
19215
|
}
|
|
19222
19216
|
|
|
19223
|
-
export class
|
|
19217
|
+
export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase implements IMeasurementFormSchemasAdminClient {
|
|
19224
19218
|
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
19225
19219
|
private baseUrl: string;
|
|
19226
19220
|
protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
|
|
@@ -19231,30 +19225,11 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19231
19225
|
this.baseUrl = baseUrl ?? "";
|
|
19232
19226
|
}
|
|
19233
19227
|
|
|
19234
|
-
|
|
19235
|
-
let url_ = this.baseUrl + "/measurementforms/schemas
|
|
19236
|
-
if (
|
|
19237
|
-
throw new globalThis.Error("The parameter '
|
|
19238
|
-
|
|
19239
|
-
url_ += "pageSize=" + encodeURIComponent("" + pageSize) + "&";
|
|
19240
|
-
if (customerId !== undefined && customerId !== null)
|
|
19241
|
-
url_ += "customerId=" + encodeURIComponent("" + customerId) + "&";
|
|
19242
|
-
if (customerName !== undefined && customerName !== null)
|
|
19243
|
-
url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
|
|
19244
|
-
if (partNumber !== undefined && partNumber !== null)
|
|
19245
|
-
url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
|
|
19246
|
-
if (partName !== undefined && partName !== null)
|
|
19247
|
-
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
19248
|
-
if (partRevision !== undefined && partRevision !== null)
|
|
19249
|
-
url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
|
|
19250
|
-
if (drawing !== undefined && drawing !== null)
|
|
19251
|
-
url_ += "drawing=" + encodeURIComponent("" + drawing) + "&";
|
|
19252
|
-
if (drawingRevision !== undefined && drawingRevision !== null)
|
|
19253
|
-
url_ += "drawingRevision=" + encodeURIComponent("" + drawingRevision) + "&";
|
|
19254
|
-
if (filter !== undefined && filter !== null)
|
|
19255
|
-
url_ += "filter=" + encodeURIComponent("" + filter) + "&";
|
|
19256
|
-
if (continuationToken !== undefined && continuationToken !== null)
|
|
19257
|
-
url_ += "continuationToken=" + encodeURIComponent("" + continuationToken) + "&";
|
|
19228
|
+
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto> {
|
|
19229
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/archived/{id}";
|
|
19230
|
+
if (id === undefined || id === null)
|
|
19231
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
19232
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19258
19233
|
url_ = url_.replace(/[?&]$/, "");
|
|
19259
19234
|
|
|
19260
19235
|
let options_: RequestInit = {
|
|
@@ -19267,18 +19242,18 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19267
19242
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19268
19243
|
return this.http.fetch(url_, transformedOptions_);
|
|
19269
19244
|
}).then((_response: Response) => {
|
|
19270
|
-
return this.
|
|
19245
|
+
return this.processGetArchivedMeasurementFormSchema(_response);
|
|
19271
19246
|
});
|
|
19272
19247
|
}
|
|
19273
19248
|
|
|
19274
|
-
protected
|
|
19249
|
+
protected processGetArchivedMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
19275
19250
|
const status = response.status;
|
|
19276
19251
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19277
19252
|
if (status === 200) {
|
|
19278
19253
|
return response.text().then((_responseText) => {
|
|
19279
19254
|
let result200: any = null;
|
|
19280
19255
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19281
|
-
result200 =
|
|
19256
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
19282
19257
|
return result200;
|
|
19283
19258
|
});
|
|
19284
19259
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -19286,7 +19261,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19286
19261
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19287
19262
|
});
|
|
19288
19263
|
}
|
|
19289
|
-
return Promise.resolve<
|
|
19264
|
+
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
19290
19265
|
}
|
|
19291
19266
|
|
|
19292
19267
|
createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto> {
|
|
@@ -19329,85 +19304,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19329
19304
|
return Promise.resolve<MeasurementFormDto>(null as any);
|
|
19330
19305
|
}
|
|
19331
19306
|
|
|
19332
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto> {
|
|
19333
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/list";
|
|
19334
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19335
|
-
|
|
19336
|
-
const content_ = JSON.stringify(request);
|
|
19337
|
-
|
|
19338
|
-
let options_: RequestInit = {
|
|
19339
|
-
body: content_,
|
|
19340
|
-
method: "POST",
|
|
19341
|
-
headers: {
|
|
19342
|
-
"Content-Type": "application/json",
|
|
19343
|
-
"Accept": "application/json"
|
|
19344
|
-
}
|
|
19345
|
-
};
|
|
19346
|
-
|
|
19347
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19348
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19349
|
-
}).then((_response: Response) => {
|
|
19350
|
-
return this.processPostListMeasurementFormSchemas(_response);
|
|
19351
|
-
});
|
|
19352
|
-
}
|
|
19353
|
-
|
|
19354
|
-
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormListDto> {
|
|
19355
|
-
const status = response.status;
|
|
19356
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19357
|
-
if (status === 200) {
|
|
19358
|
-
return response.text().then((_responseText) => {
|
|
19359
|
-
let result200: any = null;
|
|
19360
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19361
|
-
result200 = PagedResultOfMeasurementFormListDto.fromJS(resultData200);
|
|
19362
|
-
return result200;
|
|
19363
|
-
});
|
|
19364
|
-
} else if (status !== 200 && status !== 204) {
|
|
19365
|
-
return response.text().then((_responseText) => {
|
|
19366
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19367
|
-
});
|
|
19368
|
-
}
|
|
19369
|
-
return Promise.resolve<PagedResultOfMeasurementFormListDto>(null as any);
|
|
19370
|
-
}
|
|
19371
|
-
|
|
19372
|
-
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto> {
|
|
19373
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
19374
|
-
if (id === undefined || id === null)
|
|
19375
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
19376
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19377
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19378
|
-
|
|
19379
|
-
let options_: RequestInit = {
|
|
19380
|
-
method: "GET",
|
|
19381
|
-
headers: {
|
|
19382
|
-
"Accept": "application/json"
|
|
19383
|
-
}
|
|
19384
|
-
};
|
|
19385
|
-
|
|
19386
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19387
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19388
|
-
}).then((_response: Response) => {
|
|
19389
|
-
return this.processGetMeasurementFormSchema(_response);
|
|
19390
|
-
});
|
|
19391
|
-
}
|
|
19392
|
-
|
|
19393
|
-
protected processGetMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
19394
|
-
const status = response.status;
|
|
19395
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19396
|
-
if (status === 200) {
|
|
19397
|
-
return response.text().then((_responseText) => {
|
|
19398
|
-
let result200: any = null;
|
|
19399
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19400
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
19401
|
-
return result200;
|
|
19402
|
-
});
|
|
19403
|
-
} else if (status !== 200 && status !== 204) {
|
|
19404
|
-
return response.text().then((_responseText) => {
|
|
19405
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19406
|
-
});
|
|
19407
|
-
}
|
|
19408
|
-
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
19409
|
-
}
|
|
19410
|
-
|
|
19411
19307
|
updateMeasurementFormSchema(id: string, request: UpdateMeasurementFormSchemaRequest): Promise<MeasurementFormSchemaDto> {
|
|
19412
19308
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
19413
19309
|
if (id === undefined || id === null)
|
|
@@ -19486,45 +19382,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19486
19382
|
return Promise.resolve<void>(null as any);
|
|
19487
19383
|
}
|
|
19488
19384
|
|
|
19489
|
-
getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto> {
|
|
19490
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/archived/{id}";
|
|
19491
|
-
if (id === undefined || id === null)
|
|
19492
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
19493
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19494
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19495
|
-
|
|
19496
|
-
let options_: RequestInit = {
|
|
19497
|
-
method: "GET",
|
|
19498
|
-
headers: {
|
|
19499
|
-
"Accept": "application/json"
|
|
19500
|
-
}
|
|
19501
|
-
};
|
|
19502
|
-
|
|
19503
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19504
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19505
|
-
}).then((_response: Response) => {
|
|
19506
|
-
return this.processGetArchivedMeasurementFormSchema(_response);
|
|
19507
|
-
});
|
|
19508
|
-
}
|
|
19509
|
-
|
|
19510
|
-
protected processGetArchivedMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
19511
|
-
const status = response.status;
|
|
19512
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19513
|
-
if (status === 200) {
|
|
19514
|
-
return response.text().then((_responseText) => {
|
|
19515
|
-
let result200: any = null;
|
|
19516
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19517
|
-
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
19518
|
-
return result200;
|
|
19519
|
-
});
|
|
19520
|
-
} else if (status !== 200 && status !== 204) {
|
|
19521
|
-
return response.text().then((_responseText) => {
|
|
19522
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19523
|
-
});
|
|
19524
|
-
}
|
|
19525
|
-
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
19526
|
-
}
|
|
19527
|
-
|
|
19528
19385
|
copyMeasurementFormSchema(id: string, request: CopyMeasurementFormSchema): Promise<MeasurementFormDto> {
|
|
19529
19386
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/copy";
|
|
19530
19387
|
if (id === undefined || id === null)
|
|
@@ -21543,6 +21400,104 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
21543
21400
|
}
|
|
21544
21401
|
}
|
|
21545
21402
|
|
|
21403
|
+
export interface IMeasurementFormSchemasClient {
|
|
21404
|
+
|
|
21405
|
+
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
21406
|
+
|
|
21407
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
21408
|
+
}
|
|
21409
|
+
|
|
21410
|
+
export class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
|
|
21411
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
21412
|
+
private baseUrl: string;
|
|
21413
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
|
|
21414
|
+
|
|
21415
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
21416
|
+
super(configuration);
|
|
21417
|
+
this.http = http ? http : window as any;
|
|
21418
|
+
this.baseUrl = baseUrl ?? "";
|
|
21419
|
+
}
|
|
21420
|
+
|
|
21421
|
+
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto> {
|
|
21422
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}";
|
|
21423
|
+
if (id === undefined || id === null)
|
|
21424
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
21425
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
21426
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
21427
|
+
|
|
21428
|
+
let options_: RequestInit = {
|
|
21429
|
+
method: "GET",
|
|
21430
|
+
headers: {
|
|
21431
|
+
"Accept": "application/json"
|
|
21432
|
+
}
|
|
21433
|
+
};
|
|
21434
|
+
|
|
21435
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21436
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
21437
|
+
}).then((_response: Response) => {
|
|
21438
|
+
return this.processGetMeasurementFormSchema(_response);
|
|
21439
|
+
});
|
|
21440
|
+
}
|
|
21441
|
+
|
|
21442
|
+
protected processGetMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
21443
|
+
const status = response.status;
|
|
21444
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
21445
|
+
if (status === 200) {
|
|
21446
|
+
return response.text().then((_responseText) => {
|
|
21447
|
+
let result200: any = null;
|
|
21448
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
21449
|
+
result200 = MeasurementFormSchemaDto.fromJS(resultData200);
|
|
21450
|
+
return result200;
|
|
21451
|
+
});
|
|
21452
|
+
} else if (status !== 200 && status !== 204) {
|
|
21453
|
+
return response.text().then((_responseText) => {
|
|
21454
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
21455
|
+
});
|
|
21456
|
+
}
|
|
21457
|
+
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
21458
|
+
}
|
|
21459
|
+
|
|
21460
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto> {
|
|
21461
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/list";
|
|
21462
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
21463
|
+
|
|
21464
|
+
const content_ = JSON.stringify(request);
|
|
21465
|
+
|
|
21466
|
+
let options_: RequestInit = {
|
|
21467
|
+
body: content_,
|
|
21468
|
+
method: "POST",
|
|
21469
|
+
headers: {
|
|
21470
|
+
"Content-Type": "application/json",
|
|
21471
|
+
"Accept": "application/json"
|
|
21472
|
+
}
|
|
21473
|
+
};
|
|
21474
|
+
|
|
21475
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21476
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
21477
|
+
}).then((_response: Response) => {
|
|
21478
|
+
return this.processPostListMeasurementFormSchemas(_response);
|
|
21479
|
+
});
|
|
21480
|
+
}
|
|
21481
|
+
|
|
21482
|
+
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormListDto> {
|
|
21483
|
+
const status = response.status;
|
|
21484
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
21485
|
+
if (status === 200) {
|
|
21486
|
+
return response.text().then((_responseText) => {
|
|
21487
|
+
let result200: any = null;
|
|
21488
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
21489
|
+
result200 = PagedResultOfMeasurementFormListDto.fromJS(resultData200);
|
|
21490
|
+
return result200;
|
|
21491
|
+
});
|
|
21492
|
+
} else if (status !== 200 && status !== 204) {
|
|
21493
|
+
return response.text().then((_responseText) => {
|
|
21494
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
21495
|
+
});
|
|
21496
|
+
}
|
|
21497
|
+
return Promise.resolve<PagedResultOfMeasurementFormListDto>(null as any);
|
|
21498
|
+
}
|
|
21499
|
+
}
|
|
21500
|
+
|
|
21546
21501
|
export interface IMeasurementFormSettingsClient {
|
|
21547
21502
|
|
|
21548
21503
|
getMeasurementFormSettings(): Promise<InspectCompanySettingsDto>;
|
|
@@ -53670,221 +53625,6 @@ export class CreateWeldingIotConfig implements ICreateWeldingIotConfig {
|
|
|
53670
53625
|
export interface ICreateWeldingIotConfig {
|
|
53671
53626
|
}
|
|
53672
53627
|
|
|
53673
|
-
export class PagedResultOfMeasurementFormListDto implements IPagedResultOfMeasurementFormListDto {
|
|
53674
|
-
results!: MeasurementFormListDto[];
|
|
53675
|
-
continuationToken?: string | null;
|
|
53676
|
-
|
|
53677
|
-
constructor(data?: IPagedResultOfMeasurementFormListDto) {
|
|
53678
|
-
if (data) {
|
|
53679
|
-
for (var property in data) {
|
|
53680
|
-
if (data.hasOwnProperty(property))
|
|
53681
|
-
(this as any)[property] = (data as any)[property];
|
|
53682
|
-
}
|
|
53683
|
-
}
|
|
53684
|
-
if (!data) {
|
|
53685
|
-
this.results = [];
|
|
53686
|
-
}
|
|
53687
|
-
}
|
|
53688
|
-
|
|
53689
|
-
init(_data?: any) {
|
|
53690
|
-
if (_data) {
|
|
53691
|
-
if (Array.isArray(_data["results"])) {
|
|
53692
|
-
this.results = [] as any;
|
|
53693
|
-
for (let item of _data["results"])
|
|
53694
|
-
this.results!.push(MeasurementFormListDto.fromJS(item));
|
|
53695
|
-
}
|
|
53696
|
-
this.continuationToken = _data["continuationToken"];
|
|
53697
|
-
}
|
|
53698
|
-
}
|
|
53699
|
-
|
|
53700
|
-
static fromJS(data: any): PagedResultOfMeasurementFormListDto {
|
|
53701
|
-
data = typeof data === 'object' ? data : {};
|
|
53702
|
-
let result = new PagedResultOfMeasurementFormListDto();
|
|
53703
|
-
result.init(data);
|
|
53704
|
-
return result;
|
|
53705
|
-
}
|
|
53706
|
-
|
|
53707
|
-
toJSON(data?: any) {
|
|
53708
|
-
data = typeof data === 'object' ? data : {};
|
|
53709
|
-
if (Array.isArray(this.results)) {
|
|
53710
|
-
data["results"] = [];
|
|
53711
|
-
for (let item of this.results)
|
|
53712
|
-
data["results"].push(item ? item.toJSON() : undefined as any);
|
|
53713
|
-
}
|
|
53714
|
-
data["continuationToken"] = this.continuationToken;
|
|
53715
|
-
return data;
|
|
53716
|
-
}
|
|
53717
|
-
}
|
|
53718
|
-
|
|
53719
|
-
export interface IPagedResultOfMeasurementFormListDto {
|
|
53720
|
-
results: MeasurementFormListDto[];
|
|
53721
|
-
continuationToken?: string | null;
|
|
53722
|
-
}
|
|
53723
|
-
|
|
53724
|
-
export class MeasurementFormListDto implements IMeasurementFormListDto {
|
|
53725
|
-
id!: string;
|
|
53726
|
-
schemaId!: string;
|
|
53727
|
-
versionId!: number;
|
|
53728
|
-
customerId?: string | null;
|
|
53729
|
-
customerName?: string | null;
|
|
53730
|
-
partNumber?: string | null;
|
|
53731
|
-
partRevision?: string | null;
|
|
53732
|
-
partName?: string | null;
|
|
53733
|
-
drawing!: string;
|
|
53734
|
-
drawingRevision?: string | null;
|
|
53735
|
-
createdBy!: string;
|
|
53736
|
-
created!: Date;
|
|
53737
|
-
status!: MeasurementFormStatus;
|
|
53738
|
-
source!: MeasurementFormSource;
|
|
53739
|
-
|
|
53740
|
-
constructor(data?: IMeasurementFormListDto) {
|
|
53741
|
-
if (data) {
|
|
53742
|
-
for (var property in data) {
|
|
53743
|
-
if (data.hasOwnProperty(property))
|
|
53744
|
-
(this as any)[property] = (data as any)[property];
|
|
53745
|
-
}
|
|
53746
|
-
}
|
|
53747
|
-
}
|
|
53748
|
-
|
|
53749
|
-
init(_data?: any) {
|
|
53750
|
-
if (_data) {
|
|
53751
|
-
this.id = _data["id"];
|
|
53752
|
-
this.schemaId = _data["schemaId"];
|
|
53753
|
-
this.versionId = _data["versionId"];
|
|
53754
|
-
this.customerId = _data["customerId"];
|
|
53755
|
-
this.customerName = _data["customerName"];
|
|
53756
|
-
this.partNumber = _data["partNumber"];
|
|
53757
|
-
this.partRevision = _data["partRevision"];
|
|
53758
|
-
this.partName = _data["partName"];
|
|
53759
|
-
this.drawing = _data["drawing"];
|
|
53760
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
53761
|
-
this.createdBy = _data["createdBy"];
|
|
53762
|
-
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined as any;
|
|
53763
|
-
this.status = _data["status"];
|
|
53764
|
-
this.source = _data["source"];
|
|
53765
|
-
}
|
|
53766
|
-
}
|
|
53767
|
-
|
|
53768
|
-
static fromJS(data: any): MeasurementFormListDto {
|
|
53769
|
-
data = typeof data === 'object' ? data : {};
|
|
53770
|
-
let result = new MeasurementFormListDto();
|
|
53771
|
-
result.init(data);
|
|
53772
|
-
return result;
|
|
53773
|
-
}
|
|
53774
|
-
|
|
53775
|
-
toJSON(data?: any) {
|
|
53776
|
-
data = typeof data === 'object' ? data : {};
|
|
53777
|
-
data["id"] = this.id;
|
|
53778
|
-
data["schemaId"] = this.schemaId;
|
|
53779
|
-
data["versionId"] = this.versionId;
|
|
53780
|
-
data["customerId"] = this.customerId;
|
|
53781
|
-
data["customerName"] = this.customerName;
|
|
53782
|
-
data["partNumber"] = this.partNumber;
|
|
53783
|
-
data["partRevision"] = this.partRevision;
|
|
53784
|
-
data["partName"] = this.partName;
|
|
53785
|
-
data["drawing"] = this.drawing;
|
|
53786
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
53787
|
-
data["createdBy"] = this.createdBy;
|
|
53788
|
-
data["created"] = this.created ? this.created.toISOString() : undefined as any;
|
|
53789
|
-
data["status"] = this.status;
|
|
53790
|
-
data["source"] = this.source;
|
|
53791
|
-
return data;
|
|
53792
|
-
}
|
|
53793
|
-
}
|
|
53794
|
-
|
|
53795
|
-
export interface IMeasurementFormListDto {
|
|
53796
|
-
id: string;
|
|
53797
|
-
schemaId: string;
|
|
53798
|
-
versionId: number;
|
|
53799
|
-
customerId?: string | null;
|
|
53800
|
-
customerName?: string | null;
|
|
53801
|
-
partNumber?: string | null;
|
|
53802
|
-
partRevision?: string | null;
|
|
53803
|
-
partName?: string | null;
|
|
53804
|
-
drawing: string;
|
|
53805
|
-
drawingRevision?: string | null;
|
|
53806
|
-
createdBy: string;
|
|
53807
|
-
created: Date;
|
|
53808
|
-
status: MeasurementFormStatus;
|
|
53809
|
-
source: MeasurementFormSource;
|
|
53810
|
-
}
|
|
53811
|
-
|
|
53812
|
-
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
53813
|
-
|
|
53814
|
-
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
53815
|
-
|
|
53816
|
-
export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSchemasRequest {
|
|
53817
|
-
pageSize?: number | null;
|
|
53818
|
-
customerId?: string | null;
|
|
53819
|
-
customerName?: string | null;
|
|
53820
|
-
partName?: string | null;
|
|
53821
|
-
partNumber?: string | null;
|
|
53822
|
-
partRevision?: string | null;
|
|
53823
|
-
drawing?: string | null;
|
|
53824
|
-
drawingRevision?: string | null;
|
|
53825
|
-
filter?: string | null;
|
|
53826
|
-
continuationToken?: string | null;
|
|
53827
|
-
|
|
53828
|
-
constructor(data?: IListMeasurementFormSchemasRequest) {
|
|
53829
|
-
if (data) {
|
|
53830
|
-
for (var property in data) {
|
|
53831
|
-
if (data.hasOwnProperty(property))
|
|
53832
|
-
(this as any)[property] = (data as any)[property];
|
|
53833
|
-
}
|
|
53834
|
-
}
|
|
53835
|
-
}
|
|
53836
|
-
|
|
53837
|
-
init(_data?: any) {
|
|
53838
|
-
if (_data) {
|
|
53839
|
-
this.pageSize = _data["pageSize"];
|
|
53840
|
-
this.customerId = _data["customerId"];
|
|
53841
|
-
this.customerName = _data["customerName"];
|
|
53842
|
-
this.partName = _data["partName"];
|
|
53843
|
-
this.partNumber = _data["partNumber"];
|
|
53844
|
-
this.partRevision = _data["partRevision"];
|
|
53845
|
-
this.drawing = _data["drawing"];
|
|
53846
|
-
this.drawingRevision = _data["drawingRevision"];
|
|
53847
|
-
this.filter = _data["filter"];
|
|
53848
|
-
this.continuationToken = _data["continuationToken"];
|
|
53849
|
-
}
|
|
53850
|
-
}
|
|
53851
|
-
|
|
53852
|
-
static fromJS(data: any): ListMeasurementFormSchemasRequest {
|
|
53853
|
-
data = typeof data === 'object' ? data : {};
|
|
53854
|
-
let result = new ListMeasurementFormSchemasRequest();
|
|
53855
|
-
result.init(data);
|
|
53856
|
-
return result;
|
|
53857
|
-
}
|
|
53858
|
-
|
|
53859
|
-
toJSON(data?: any) {
|
|
53860
|
-
data = typeof data === 'object' ? data : {};
|
|
53861
|
-
data["pageSize"] = this.pageSize;
|
|
53862
|
-
data["customerId"] = this.customerId;
|
|
53863
|
-
data["customerName"] = this.customerName;
|
|
53864
|
-
data["partName"] = this.partName;
|
|
53865
|
-
data["partNumber"] = this.partNumber;
|
|
53866
|
-
data["partRevision"] = this.partRevision;
|
|
53867
|
-
data["drawing"] = this.drawing;
|
|
53868
|
-
data["drawingRevision"] = this.drawingRevision;
|
|
53869
|
-
data["filter"] = this.filter;
|
|
53870
|
-
data["continuationToken"] = this.continuationToken;
|
|
53871
|
-
return data;
|
|
53872
|
-
}
|
|
53873
|
-
}
|
|
53874
|
-
|
|
53875
|
-
export interface IListMeasurementFormSchemasRequest {
|
|
53876
|
-
pageSize?: number | null;
|
|
53877
|
-
customerId?: string | null;
|
|
53878
|
-
customerName?: string | null;
|
|
53879
|
-
partName?: string | null;
|
|
53880
|
-
partNumber?: string | null;
|
|
53881
|
-
partRevision?: string | null;
|
|
53882
|
-
drawing?: string | null;
|
|
53883
|
-
drawingRevision?: string | null;
|
|
53884
|
-
filter?: string | null;
|
|
53885
|
-
continuationToken?: string | null;
|
|
53886
|
-
}
|
|
53887
|
-
|
|
53888
53628
|
export class MeasurementFormSchemaDto implements IMeasurementFormSchemaDto {
|
|
53889
53629
|
id!: string;
|
|
53890
53630
|
versionId!: number;
|
|
@@ -54050,6 +53790,10 @@ export interface IMeasurementFormSchemaDto {
|
|
|
54050
53790
|
extraSchemas: MeasurementFormLinkedSchemaDto[];
|
|
54051
53791
|
}
|
|
54052
53792
|
|
|
53793
|
+
export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
53794
|
+
|
|
53795
|
+
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
53796
|
+
|
|
54053
53797
|
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
54054
53798
|
|
|
54055
53799
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
@@ -55140,6 +54884,145 @@ export interface IMeasurementFormImportStatusDto {
|
|
|
55140
54884
|
timestamp: Date;
|
|
55141
54885
|
}
|
|
55142
54886
|
|
|
54887
|
+
export class PagedResultOfMeasurementFormListDto implements IPagedResultOfMeasurementFormListDto {
|
|
54888
|
+
results!: MeasurementFormListDto[];
|
|
54889
|
+
continuationToken?: string | null;
|
|
54890
|
+
|
|
54891
|
+
constructor(data?: IPagedResultOfMeasurementFormListDto) {
|
|
54892
|
+
if (data) {
|
|
54893
|
+
for (var property in data) {
|
|
54894
|
+
if (data.hasOwnProperty(property))
|
|
54895
|
+
(this as any)[property] = (data as any)[property];
|
|
54896
|
+
}
|
|
54897
|
+
}
|
|
54898
|
+
if (!data) {
|
|
54899
|
+
this.results = [];
|
|
54900
|
+
}
|
|
54901
|
+
}
|
|
54902
|
+
|
|
54903
|
+
init(_data?: any) {
|
|
54904
|
+
if (_data) {
|
|
54905
|
+
if (Array.isArray(_data["results"])) {
|
|
54906
|
+
this.results = [] as any;
|
|
54907
|
+
for (let item of _data["results"])
|
|
54908
|
+
this.results!.push(MeasurementFormListDto.fromJS(item));
|
|
54909
|
+
}
|
|
54910
|
+
this.continuationToken = _data["continuationToken"];
|
|
54911
|
+
}
|
|
54912
|
+
}
|
|
54913
|
+
|
|
54914
|
+
static fromJS(data: any): PagedResultOfMeasurementFormListDto {
|
|
54915
|
+
data = typeof data === 'object' ? data : {};
|
|
54916
|
+
let result = new PagedResultOfMeasurementFormListDto();
|
|
54917
|
+
result.init(data);
|
|
54918
|
+
return result;
|
|
54919
|
+
}
|
|
54920
|
+
|
|
54921
|
+
toJSON(data?: any) {
|
|
54922
|
+
data = typeof data === 'object' ? data : {};
|
|
54923
|
+
if (Array.isArray(this.results)) {
|
|
54924
|
+
data["results"] = [];
|
|
54925
|
+
for (let item of this.results)
|
|
54926
|
+
data["results"].push(item ? item.toJSON() : undefined as any);
|
|
54927
|
+
}
|
|
54928
|
+
data["continuationToken"] = this.continuationToken;
|
|
54929
|
+
return data;
|
|
54930
|
+
}
|
|
54931
|
+
}
|
|
54932
|
+
|
|
54933
|
+
export interface IPagedResultOfMeasurementFormListDto {
|
|
54934
|
+
results: MeasurementFormListDto[];
|
|
54935
|
+
continuationToken?: string | null;
|
|
54936
|
+
}
|
|
54937
|
+
|
|
54938
|
+
export class MeasurementFormListDto implements IMeasurementFormListDto {
|
|
54939
|
+
id!: string;
|
|
54940
|
+
schemaId!: string;
|
|
54941
|
+
versionId!: number;
|
|
54942
|
+
customerId?: string | null;
|
|
54943
|
+
customerName?: string | null;
|
|
54944
|
+
partNumber?: string | null;
|
|
54945
|
+
partRevision?: string | null;
|
|
54946
|
+
partName?: string | null;
|
|
54947
|
+
drawing!: string;
|
|
54948
|
+
drawingRevision?: string | null;
|
|
54949
|
+
createdBy!: string;
|
|
54950
|
+
created!: Date;
|
|
54951
|
+
status!: MeasurementFormStatus;
|
|
54952
|
+
source!: MeasurementFormSource;
|
|
54953
|
+
|
|
54954
|
+
constructor(data?: IMeasurementFormListDto) {
|
|
54955
|
+
if (data) {
|
|
54956
|
+
for (var property in data) {
|
|
54957
|
+
if (data.hasOwnProperty(property))
|
|
54958
|
+
(this as any)[property] = (data as any)[property];
|
|
54959
|
+
}
|
|
54960
|
+
}
|
|
54961
|
+
}
|
|
54962
|
+
|
|
54963
|
+
init(_data?: any) {
|
|
54964
|
+
if (_data) {
|
|
54965
|
+
this.id = _data["id"];
|
|
54966
|
+
this.schemaId = _data["schemaId"];
|
|
54967
|
+
this.versionId = _data["versionId"];
|
|
54968
|
+
this.customerId = _data["customerId"];
|
|
54969
|
+
this.customerName = _data["customerName"];
|
|
54970
|
+
this.partNumber = _data["partNumber"];
|
|
54971
|
+
this.partRevision = _data["partRevision"];
|
|
54972
|
+
this.partName = _data["partName"];
|
|
54973
|
+
this.drawing = _data["drawing"];
|
|
54974
|
+
this.drawingRevision = _data["drawingRevision"];
|
|
54975
|
+
this.createdBy = _data["createdBy"];
|
|
54976
|
+
this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined as any;
|
|
54977
|
+
this.status = _data["status"];
|
|
54978
|
+
this.source = _data["source"];
|
|
54979
|
+
}
|
|
54980
|
+
}
|
|
54981
|
+
|
|
54982
|
+
static fromJS(data: any): MeasurementFormListDto {
|
|
54983
|
+
data = typeof data === 'object' ? data : {};
|
|
54984
|
+
let result = new MeasurementFormListDto();
|
|
54985
|
+
result.init(data);
|
|
54986
|
+
return result;
|
|
54987
|
+
}
|
|
54988
|
+
|
|
54989
|
+
toJSON(data?: any) {
|
|
54990
|
+
data = typeof data === 'object' ? data : {};
|
|
54991
|
+
data["id"] = this.id;
|
|
54992
|
+
data["schemaId"] = this.schemaId;
|
|
54993
|
+
data["versionId"] = this.versionId;
|
|
54994
|
+
data["customerId"] = this.customerId;
|
|
54995
|
+
data["customerName"] = this.customerName;
|
|
54996
|
+
data["partNumber"] = this.partNumber;
|
|
54997
|
+
data["partRevision"] = this.partRevision;
|
|
54998
|
+
data["partName"] = this.partName;
|
|
54999
|
+
data["drawing"] = this.drawing;
|
|
55000
|
+
data["drawingRevision"] = this.drawingRevision;
|
|
55001
|
+
data["createdBy"] = this.createdBy;
|
|
55002
|
+
data["created"] = this.created ? this.created.toISOString() : undefined as any;
|
|
55003
|
+
data["status"] = this.status;
|
|
55004
|
+
data["source"] = this.source;
|
|
55005
|
+
return data;
|
|
55006
|
+
}
|
|
55007
|
+
}
|
|
55008
|
+
|
|
55009
|
+
export interface IMeasurementFormListDto {
|
|
55010
|
+
id: string;
|
|
55011
|
+
schemaId: string;
|
|
55012
|
+
versionId: number;
|
|
55013
|
+
customerId?: string | null;
|
|
55014
|
+
customerName?: string | null;
|
|
55015
|
+
partNumber?: string | null;
|
|
55016
|
+
partRevision?: string | null;
|
|
55017
|
+
partName?: string | null;
|
|
55018
|
+
drawing: string;
|
|
55019
|
+
drawingRevision?: string | null;
|
|
55020
|
+
createdBy: string;
|
|
55021
|
+
created: Date;
|
|
55022
|
+
status: MeasurementFormStatus;
|
|
55023
|
+
source: MeasurementFormSource;
|
|
55024
|
+
}
|
|
55025
|
+
|
|
55143
55026
|
export class ListLinkableMeasurementFormSchemasRequest implements IListLinkableMeasurementFormSchemasRequest {
|
|
55144
55027
|
schemaId!: string;
|
|
55145
55028
|
pageSize?: number | null;
|
|
@@ -56808,6 +56691,78 @@ export interface IListMeasurementFormSchemasWithHistoryRequest {
|
|
|
56808
56691
|
continuationToken?: string | null;
|
|
56809
56692
|
}
|
|
56810
56693
|
|
|
56694
|
+
export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSchemasRequest {
|
|
56695
|
+
pageSize?: number | null;
|
|
56696
|
+
customerId?: string | null;
|
|
56697
|
+
customerName?: string | null;
|
|
56698
|
+
partName?: string | null;
|
|
56699
|
+
partNumber?: string | null;
|
|
56700
|
+
partRevision?: string | null;
|
|
56701
|
+
drawing?: string | null;
|
|
56702
|
+
drawingRevision?: string | null;
|
|
56703
|
+
filter?: string | null;
|
|
56704
|
+
continuationToken?: string | null;
|
|
56705
|
+
|
|
56706
|
+
constructor(data?: IListMeasurementFormSchemasRequest) {
|
|
56707
|
+
if (data) {
|
|
56708
|
+
for (var property in data) {
|
|
56709
|
+
if (data.hasOwnProperty(property))
|
|
56710
|
+
(this as any)[property] = (data as any)[property];
|
|
56711
|
+
}
|
|
56712
|
+
}
|
|
56713
|
+
}
|
|
56714
|
+
|
|
56715
|
+
init(_data?: any) {
|
|
56716
|
+
if (_data) {
|
|
56717
|
+
this.pageSize = _data["pageSize"];
|
|
56718
|
+
this.customerId = _data["customerId"];
|
|
56719
|
+
this.customerName = _data["customerName"];
|
|
56720
|
+
this.partName = _data["partName"];
|
|
56721
|
+
this.partNumber = _data["partNumber"];
|
|
56722
|
+
this.partRevision = _data["partRevision"];
|
|
56723
|
+
this.drawing = _data["drawing"];
|
|
56724
|
+
this.drawingRevision = _data["drawingRevision"];
|
|
56725
|
+
this.filter = _data["filter"];
|
|
56726
|
+
this.continuationToken = _data["continuationToken"];
|
|
56727
|
+
}
|
|
56728
|
+
}
|
|
56729
|
+
|
|
56730
|
+
static fromJS(data: any): ListMeasurementFormSchemasRequest {
|
|
56731
|
+
data = typeof data === 'object' ? data : {};
|
|
56732
|
+
let result = new ListMeasurementFormSchemasRequest();
|
|
56733
|
+
result.init(data);
|
|
56734
|
+
return result;
|
|
56735
|
+
}
|
|
56736
|
+
|
|
56737
|
+
toJSON(data?: any) {
|
|
56738
|
+
data = typeof data === 'object' ? data : {};
|
|
56739
|
+
data["pageSize"] = this.pageSize;
|
|
56740
|
+
data["customerId"] = this.customerId;
|
|
56741
|
+
data["customerName"] = this.customerName;
|
|
56742
|
+
data["partName"] = this.partName;
|
|
56743
|
+
data["partNumber"] = this.partNumber;
|
|
56744
|
+
data["partRevision"] = this.partRevision;
|
|
56745
|
+
data["drawing"] = this.drawing;
|
|
56746
|
+
data["drawingRevision"] = this.drawingRevision;
|
|
56747
|
+
data["filter"] = this.filter;
|
|
56748
|
+
data["continuationToken"] = this.continuationToken;
|
|
56749
|
+
return data;
|
|
56750
|
+
}
|
|
56751
|
+
}
|
|
56752
|
+
|
|
56753
|
+
export interface IListMeasurementFormSchemasRequest {
|
|
56754
|
+
pageSize?: number | null;
|
|
56755
|
+
customerId?: string | null;
|
|
56756
|
+
customerName?: string | null;
|
|
56757
|
+
partName?: string | null;
|
|
56758
|
+
partNumber?: string | null;
|
|
56759
|
+
partRevision?: string | null;
|
|
56760
|
+
drawing?: string | null;
|
|
56761
|
+
drawingRevision?: string | null;
|
|
56762
|
+
filter?: string | null;
|
|
56763
|
+
continuationToken?: string | null;
|
|
56764
|
+
}
|
|
56765
|
+
|
|
56811
56766
|
export class PagedResultOfMeasurementFormInstanceOverviewDto implements IPagedResultOfMeasurementFormInstanceOverviewDto {
|
|
56812
56767
|
results!: MeasurementFormInstanceOverviewDto[];
|
|
56813
56768
|
continuationToken?: string | null;
|