@ignos/api-client 20260910.271.1-alpha → 20260911.272.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +27 -265
- package/lib/ignosportal-api.js +42 -538
- package/package.json +1 -1
- package/src/ignosportal-api.ts +78 -780
package/src/ignosportal-api.ts
CHANGED
|
@@ -23848,6 +23848,8 @@ export interface IMesProductionScheduleClient {
|
|
|
23848
23848
|
|
|
23849
23849
|
postListProductionScheduleOperations(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedResultOfProductionScheduleOperationDto>;
|
|
23850
23850
|
|
|
23851
|
+
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto>;
|
|
23852
|
+
|
|
23851
23853
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto>;
|
|
23852
23854
|
|
|
23853
23855
|
listMyCurrentWorkActivities(): Promise<CurrentWorkActivityDto>;
|
|
@@ -23969,6 +23971,45 @@ export class MesProductionScheduleClient extends AuthorizedApiBase implements IM
|
|
|
23969
23971
|
return Promise.resolve<PagedResultOfProductionScheduleOperationDto>(null as any);
|
|
23970
23972
|
}
|
|
23971
23973
|
|
|
23974
|
+
postListProductionScheduleOperationsFromPlanner(request: ListProductionScheduleOperationsRequest | undefined): Promise<PagedProductionScheduleDto> {
|
|
23975
|
+
let url_ = this.baseUrl + "/mes/listproductionschedulefromplanner";
|
|
23976
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23977
|
+
|
|
23978
|
+
const content_ = JSON.stringify(request);
|
|
23979
|
+
|
|
23980
|
+
let options_: RequestInit = {
|
|
23981
|
+
body: content_,
|
|
23982
|
+
method: "POST",
|
|
23983
|
+
headers: {
|
|
23984
|
+
"Content-Type": "application/json",
|
|
23985
|
+
"Accept": "application/json"
|
|
23986
|
+
}
|
|
23987
|
+
};
|
|
23988
|
+
|
|
23989
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23990
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23991
|
+
}).then((_response: Response) => {
|
|
23992
|
+
return this.processPostListProductionScheduleOperationsFromPlanner(_response);
|
|
23993
|
+
});
|
|
23994
|
+
}
|
|
23995
|
+
|
|
23996
|
+
protected processPostListProductionScheduleOperationsFromPlanner(response: Response): Promise<PagedProductionScheduleDto> {
|
|
23997
|
+
const status = response.status;
|
|
23998
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
23999
|
+
if (status === 200) {
|
|
24000
|
+
return response.text().then((_responseText) => {
|
|
24001
|
+
let result200: any = null;
|
|
24002
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedProductionScheduleDto;
|
|
24003
|
+
return result200;
|
|
24004
|
+
});
|
|
24005
|
+
} else if (status !== 200 && status !== 204) {
|
|
24006
|
+
return response.text().then((_responseText) => {
|
|
24007
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
24008
|
+
});
|
|
24009
|
+
}
|
|
24010
|
+
return Promise.resolve<PagedProductionScheduleDto>(null as any);
|
|
24011
|
+
}
|
|
24012
|
+
|
|
23972
24013
|
getAvailableProductionScheduleFilters(request: GetAvailableProductionScheduleFiltersRequest | undefined): Promise<ProductionScheduleFiltersDto> {
|
|
23973
24014
|
let url_ = this.baseUrl + "/mes/productionschedulefilters";
|
|
23974
24015
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -26141,451 +26182,34 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
|
|
|
26141
26182
|
url_ = url_.replace(/[?&]$/, "");
|
|
26142
26183
|
|
|
26143
26184
|
let options_: RequestInit = {
|
|
26144
|
-
method: "GET",
|
|
26145
|
-
headers: {
|
|
26146
|
-
"Accept": "application/json"
|
|
26147
|
-
}
|
|
26148
|
-
};
|
|
26149
|
-
|
|
26150
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26151
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26152
|
-
}).then((_response: Response) => {
|
|
26153
|
-
return this.processListSpecifications(_response);
|
|
26154
|
-
});
|
|
26155
|
-
}
|
|
26156
|
-
|
|
26157
|
-
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
|
|
26158
|
-
const status = response.status;
|
|
26159
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26160
|
-
if (status === 200) {
|
|
26161
|
-
return response.text().then((_responseText) => {
|
|
26162
|
-
let result200: any = null;
|
|
26163
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationLiteDto[];
|
|
26164
|
-
return result200;
|
|
26165
|
-
});
|
|
26166
|
-
} else if (status !== 200 && status !== 204) {
|
|
26167
|
-
return response.text().then((_responseText) => {
|
|
26168
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26169
|
-
});
|
|
26170
|
-
}
|
|
26171
|
-
return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
|
|
26172
|
-
}
|
|
26173
|
-
}
|
|
26174
|
-
|
|
26175
|
-
export interface IInspectSchemaCreatorClient {
|
|
26176
|
-
|
|
26177
|
-
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26178
|
-
|
|
26179
|
-
/**
|
|
26180
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26181
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
26182
|
-
*/
|
|
26183
|
-
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26184
|
-
|
|
26185
|
-
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26186
|
-
|
|
26187
|
-
/**
|
|
26188
|
-
* Geometry only (no values), derived from the schema's retained
|
|
26189
|
-
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26190
|
-
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26191
|
-
drawing to derive it from.
|
|
26192
|
-
*/
|
|
26193
|
-
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
26194
|
-
|
|
26195
|
-
/**
|
|
26196
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
26197
|
-
schema for every viewer until it completes. If one is already in
|
|
26198
|
-
progress, returns that instead of starting a second one.
|
|
26199
|
-
*/
|
|
26200
|
-
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26201
|
-
|
|
26202
|
-
/**
|
|
26203
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26204
|
-
returns a temporary download link.
|
|
26205
|
-
*/
|
|
26206
|
-
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
26207
|
-
|
|
26208
|
-
/**
|
|
26209
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
26210
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
26211
|
-
* @param image (optional)
|
|
26212
|
-
*/
|
|
26213
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
26214
|
-
|
|
26215
|
-
/**
|
|
26216
|
-
* Renders the legacy-format image for one element's current snip.
|
|
26217
|
-
Fire-and-forget from the client on every snip commit - the resulting
|
|
26218
|
-
image isn't returned here, it's only ever read back once the schema
|
|
26219
|
-
is released (SchemaCreatorLegacyMapper).
|
|
26220
|
-
*/
|
|
26221
|
-
renderSchemaCreatorElementSnipImage(schemaVersionId: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void>;
|
|
26222
|
-
}
|
|
26223
|
-
|
|
26224
|
-
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
26225
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
26226
|
-
private baseUrl: string;
|
|
26227
|
-
|
|
26228
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
26229
|
-
super(configuration);
|
|
26230
|
-
this.http = http ? http : window as any;
|
|
26231
|
-
this.baseUrl = baseUrl ?? "";
|
|
26232
|
-
}
|
|
26233
|
-
|
|
26234
|
-
getSchemaCreatorState(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26235
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26236
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26237
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26238
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26239
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26240
|
-
|
|
26241
|
-
let options_: RequestInit = {
|
|
26242
|
-
method: "GET",
|
|
26243
|
-
headers: {
|
|
26244
|
-
"Accept": "application/json"
|
|
26245
|
-
}
|
|
26246
|
-
};
|
|
26247
|
-
|
|
26248
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26249
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26250
|
-
}).then((_response: Response) => {
|
|
26251
|
-
return this.processGetSchemaCreatorState(_response);
|
|
26252
|
-
});
|
|
26253
|
-
}
|
|
26254
|
-
|
|
26255
|
-
protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26256
|
-
const status = response.status;
|
|
26257
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26258
|
-
if (status === 200) {
|
|
26259
|
-
return response.text().then((_responseText) => {
|
|
26260
|
-
let result200: any = null;
|
|
26261
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26262
|
-
return result200;
|
|
26263
|
-
});
|
|
26264
|
-
} else if (status !== 200 && status !== 204) {
|
|
26265
|
-
return response.text().then((_responseText) => {
|
|
26266
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26267
|
-
});
|
|
26268
|
-
}
|
|
26269
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26270
|
-
}
|
|
26271
|
-
|
|
26272
|
-
/**
|
|
26273
|
-
* Creates the initial creator state for a schema version. Returns 409 if
|
|
26274
|
-
state already exists; the caller should re-fetch it instead of writing.
|
|
26275
|
-
*/
|
|
26276
|
-
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26277
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26278
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26279
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26280
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26281
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26282
|
-
|
|
26283
|
-
const content_ = JSON.stringify(state);
|
|
26284
|
-
|
|
26285
|
-
let options_: RequestInit = {
|
|
26286
|
-
body: content_,
|
|
26287
|
-
method: "POST",
|
|
26288
|
-
headers: {
|
|
26289
|
-
"Content-Type": "application/json",
|
|
26290
|
-
"Accept": "application/json"
|
|
26291
|
-
}
|
|
26292
|
-
};
|
|
26293
|
-
|
|
26294
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26295
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26296
|
-
}).then((_response: Response) => {
|
|
26297
|
-
return this.processCreateSchemaCreatorState(_response);
|
|
26298
|
-
});
|
|
26299
|
-
}
|
|
26300
|
-
|
|
26301
|
-
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26302
|
-
const status = response.status;
|
|
26303
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26304
|
-
if (status === 201) {
|
|
26305
|
-
return response.text().then((_responseText) => {
|
|
26306
|
-
let result201: any = null;
|
|
26307
|
-
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26308
|
-
return result201;
|
|
26309
|
-
});
|
|
26310
|
-
} else if (status === 409) {
|
|
26311
|
-
return response.text().then((_responseText) => {
|
|
26312
|
-
let result409: any = null;
|
|
26313
|
-
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
|
|
26314
|
-
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
26315
|
-
});
|
|
26316
|
-
} else if (status !== 200 && status !== 204) {
|
|
26317
|
-
return response.text().then((_responseText) => {
|
|
26318
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26319
|
-
});
|
|
26320
|
-
}
|
|
26321
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26322
|
-
}
|
|
26323
|
-
|
|
26324
|
-
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
|
|
26325
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26326
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26327
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26328
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26329
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26330
|
-
|
|
26331
|
-
const content_ = JSON.stringify(state);
|
|
26332
|
-
|
|
26333
|
-
let options_: RequestInit = {
|
|
26334
|
-
body: content_,
|
|
26335
|
-
method: "PUT",
|
|
26336
|
-
headers: {
|
|
26337
|
-
"Content-Type": "application/json",
|
|
26338
|
-
"Accept": "application/json"
|
|
26339
|
-
}
|
|
26340
|
-
};
|
|
26341
|
-
|
|
26342
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26343
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26344
|
-
}).then((_response: Response) => {
|
|
26345
|
-
return this.processUpdateSchemaCreatorState(_response);
|
|
26346
|
-
});
|
|
26347
|
-
}
|
|
26348
|
-
|
|
26349
|
-
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26350
|
-
const status = response.status;
|
|
26351
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26352
|
-
if (status === 200) {
|
|
26353
|
-
return response.text().then((_responseText) => {
|
|
26354
|
-
let result200: any = null;
|
|
26355
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26356
|
-
return result200;
|
|
26357
|
-
});
|
|
26358
|
-
} else if (status !== 200 && status !== 204) {
|
|
26359
|
-
return response.text().then((_responseText) => {
|
|
26360
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26361
|
-
});
|
|
26362
|
-
}
|
|
26363
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26364
|
-
}
|
|
26365
|
-
|
|
26366
|
-
/**
|
|
26367
|
-
* Geometry only (no values), derived from the schema's retained
|
|
26368
|
-
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
26369
|
-
drawing positions. Throws BadRequest if the schema has no such XML +
|
|
26370
|
-
drawing to derive it from.
|
|
26371
|
-
*/
|
|
26372
|
-
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26373
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/xml-geometry";
|
|
26374
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26375
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26376
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26377
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26378
|
-
|
|
26379
|
-
let options_: RequestInit = {
|
|
26380
|
-
method: "GET",
|
|
26381
|
-
headers: {
|
|
26382
|
-
"Accept": "application/json"
|
|
26383
|
-
}
|
|
26384
|
-
};
|
|
26385
|
-
|
|
26386
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26387
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26388
|
-
}).then((_response: Response) => {
|
|
26389
|
-
return this.processGetSchemaCreatorXmlGeometry(_response);
|
|
26390
|
-
});
|
|
26391
|
-
}
|
|
26392
|
-
|
|
26393
|
-
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]> {
|
|
26394
|
-
const status = response.status;
|
|
26395
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26396
|
-
if (status === 200) {
|
|
26397
|
-
return response.text().then((_responseText) => {
|
|
26398
|
-
let result200: any = null;
|
|
26399
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorXmlGeometryDto[];
|
|
26400
|
-
return result200;
|
|
26401
|
-
});
|
|
26402
|
-
} else if (status !== 200 && status !== 204) {
|
|
26403
|
-
return response.text().then((_responseText) => {
|
|
26404
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26405
|
-
});
|
|
26406
|
-
}
|
|
26407
|
-
return Promise.resolve<SchemaCreatorXmlGeometryDto[]>(null as any);
|
|
26408
|
-
}
|
|
26409
|
-
|
|
26410
|
-
/**
|
|
26411
|
-
* Starts a full drawing AI parse: clears every element and locks the
|
|
26412
|
-
schema for every viewer until it completes. If one is already in
|
|
26413
|
-
progress, returns that instead of starting a second one.
|
|
26414
|
-
*/
|
|
26415
|
-
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto> {
|
|
26416
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/parse-document";
|
|
26417
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26418
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26419
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26420
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26421
|
-
|
|
26422
|
-
let options_: RequestInit = {
|
|
26423
|
-
method: "POST",
|
|
26424
|
-
headers: {
|
|
26425
|
-
"Accept": "application/json"
|
|
26426
|
-
}
|
|
26427
|
-
};
|
|
26428
|
-
|
|
26429
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26430
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26431
|
-
}).then((_response: Response) => {
|
|
26432
|
-
return this.processRequestSchemaCreatorDocumentParse(_response);
|
|
26433
|
-
});
|
|
26434
|
-
}
|
|
26435
|
-
|
|
26436
|
-
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26437
|
-
const status = response.status;
|
|
26438
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26439
|
-
if (status === 200) {
|
|
26440
|
-
return response.text().then((_responseText) => {
|
|
26441
|
-
let result200: any = null;
|
|
26442
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26443
|
-
return result200;
|
|
26444
|
-
});
|
|
26445
|
-
} else if (status !== 200 && status !== 204) {
|
|
26446
|
-
return response.text().then((_responseText) => {
|
|
26447
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26448
|
-
});
|
|
26449
|
-
}
|
|
26450
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26451
|
-
}
|
|
26452
|
-
|
|
26453
|
-
/**
|
|
26454
|
-
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26455
|
-
returns a temporary download link.
|
|
26456
|
-
*/
|
|
26457
|
-
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto> {
|
|
26458
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/download";
|
|
26459
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26460
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26461
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26462
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26463
|
-
|
|
26464
|
-
let options_: RequestInit = {
|
|
26465
|
-
method: "POST",
|
|
26466
|
-
headers: {
|
|
26467
|
-
"Accept": "application/json"
|
|
26468
|
-
}
|
|
26469
|
-
};
|
|
26470
|
-
|
|
26471
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26472
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26473
|
-
}).then((_response: Response) => {
|
|
26474
|
-
return this.processExportSchemaCreatorDrawing(_response);
|
|
26475
|
-
});
|
|
26476
|
-
}
|
|
26477
|
-
|
|
26478
|
-
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
|
|
26479
|
-
const status = response.status;
|
|
26480
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26481
|
-
if (status === 200) {
|
|
26482
|
-
return response.text().then((_responseText) => {
|
|
26483
|
-
let result200: any = null;
|
|
26484
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
|
|
26485
|
-
return result200;
|
|
26486
|
-
});
|
|
26487
|
-
} else if (status !== 200 && status !== 204) {
|
|
26488
|
-
return response.text().then((_responseText) => {
|
|
26489
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26490
|
-
});
|
|
26491
|
-
}
|
|
26492
|
-
return Promise.resolve<DownloadDto>(null as any);
|
|
26493
|
-
}
|
|
26494
|
-
|
|
26495
|
-
/**
|
|
26496
|
-
* Starts an async snip resolve; the result is delivered through the
|
|
26497
|
-
SchemaCreatorSnipResolved SignalR notification.
|
|
26498
|
-
* @param image (optional)
|
|
26499
|
-
*/
|
|
26500
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
26501
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
26502
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26503
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26504
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26505
|
-
if (elementId === undefined || elementId === null)
|
|
26506
|
-
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26507
|
-
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26508
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26509
|
-
|
|
26510
|
-
const content_ = new FormData();
|
|
26511
|
-
if (image !== null && image !== undefined)
|
|
26512
|
-
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
26513
|
-
|
|
26514
|
-
let options_: RequestInit = {
|
|
26515
|
-
body: content_,
|
|
26516
|
-
method: "POST",
|
|
26517
|
-
headers: {
|
|
26518
|
-
}
|
|
26519
|
-
};
|
|
26520
|
-
|
|
26521
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26522
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26523
|
-
}).then((_response: Response) => {
|
|
26524
|
-
return this.processRequestSchemaCreatorSnipParse(_response);
|
|
26525
|
-
});
|
|
26526
|
-
}
|
|
26527
|
-
|
|
26528
|
-
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
|
|
26529
|
-
const status = response.status;
|
|
26530
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26531
|
-
if (status === 200) {
|
|
26532
|
-
return response.text().then((_responseText) => {
|
|
26533
|
-
return;
|
|
26534
|
-
});
|
|
26535
|
-
} else if (status !== 200 && status !== 204) {
|
|
26536
|
-
return response.text().then((_responseText) => {
|
|
26537
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26538
|
-
});
|
|
26539
|
-
}
|
|
26540
|
-
return Promise.resolve<void>(null as any);
|
|
26541
|
-
}
|
|
26542
|
-
|
|
26543
|
-
/**
|
|
26544
|
-
* Renders the legacy-format image for one element's current snip.
|
|
26545
|
-
Fire-and-forget from the client on every snip commit - the resulting
|
|
26546
|
-
image isn't returned here, it's only ever read back once the schema
|
|
26547
|
-
is released (SchemaCreatorLegacyMapper).
|
|
26548
|
-
*/
|
|
26549
|
-
renderSchemaCreatorElementSnipImage(schemaVersionId: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void> {
|
|
26550
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/snip-image";
|
|
26551
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26552
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26553
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26554
|
-
if (elementId === undefined || elementId === null)
|
|
26555
|
-
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
26556
|
-
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
26557
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26558
|
-
|
|
26559
|
-
const content_ = JSON.stringify(request);
|
|
26560
|
-
|
|
26561
|
-
let options_: RequestInit = {
|
|
26562
|
-
body: content_,
|
|
26563
|
-
method: "POST",
|
|
26185
|
+
method: "GET",
|
|
26564
26186
|
headers: {
|
|
26565
|
-
"
|
|
26187
|
+
"Accept": "application/json"
|
|
26566
26188
|
}
|
|
26567
26189
|
};
|
|
26568
26190
|
|
|
26569
26191
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26570
26192
|
return this.http.fetch(url_, transformedOptions_);
|
|
26571
26193
|
}).then((_response: Response) => {
|
|
26572
|
-
return this.
|
|
26194
|
+
return this.processListSpecifications(_response);
|
|
26573
26195
|
});
|
|
26574
26196
|
}
|
|
26575
26197
|
|
|
26576
|
-
protected
|
|
26198
|
+
protected processListSpecifications(response: Response): Promise<ImaSpecificationLiteDto[]> {
|
|
26577
26199
|
const status = response.status;
|
|
26578
26200
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26579
26201
|
if (status === 200) {
|
|
26580
26202
|
return response.text().then((_responseText) => {
|
|
26581
|
-
|
|
26203
|
+
let result200: any = null;
|
|
26204
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ImaSpecificationLiteDto[];
|
|
26205
|
+
return result200;
|
|
26582
26206
|
});
|
|
26583
26207
|
} else if (status !== 200 && status !== 204) {
|
|
26584
26208
|
return response.text().then((_responseText) => {
|
|
26585
26209
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26586
26210
|
});
|
|
26587
26211
|
}
|
|
26588
|
-
return Promise.resolve<
|
|
26212
|
+
return Promise.resolve<ImaSpecificationLiteDto[]>(null as any);
|
|
26589
26213
|
}
|
|
26590
26214
|
}
|
|
26591
26215
|
|
|
@@ -26611,11 +26235,6 @@ export interface IMeasurementFormSchemasAdminClient {
|
|
|
26611
26235
|
|
|
26612
26236
|
updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
|
|
26613
26237
|
|
|
26614
|
-
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26615
|
-
|
|
26616
|
-
/**
|
|
26617
|
-
* @deprecated
|
|
26618
|
-
*/
|
|
26619
26238
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
|
|
26620
26239
|
|
|
26621
26240
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
@@ -27130,51 +26749,6 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
|
|
|
27130
26749
|
return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
|
|
27131
26750
|
}
|
|
27132
26751
|
|
|
27133
|
-
uploadSchemaMarkedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
27134
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmarkeddrawing";
|
|
27135
|
-
if (id === undefined || id === null)
|
|
27136
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
27137
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
27138
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
27139
|
-
|
|
27140
|
-
const content_ = JSON.stringify(request);
|
|
27141
|
-
|
|
27142
|
-
let options_: RequestInit = {
|
|
27143
|
-
body: content_,
|
|
27144
|
-
method: "POST",
|
|
27145
|
-
headers: {
|
|
27146
|
-
"Content-Type": "application/json",
|
|
27147
|
-
"Accept": "application/json"
|
|
27148
|
-
}
|
|
27149
|
-
};
|
|
27150
|
-
|
|
27151
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
27152
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
27153
|
-
}).then((_response: Response) => {
|
|
27154
|
-
return this.processUploadSchemaMarkedDrawing(_response);
|
|
27155
|
-
});
|
|
27156
|
-
}
|
|
27157
|
-
|
|
27158
|
-
protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
|
|
27159
|
-
const status = response.status;
|
|
27160
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
27161
|
-
if (status === 200) {
|
|
27162
|
-
return response.text().then((_responseText) => {
|
|
27163
|
-
let result200: any = null;
|
|
27164
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormSchemaDto;
|
|
27165
|
-
return result200;
|
|
27166
|
-
});
|
|
27167
|
-
} else if (status !== 200 && status !== 204) {
|
|
27168
|
-
return response.text().then((_responseText) => {
|
|
27169
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27170
|
-
});
|
|
27171
|
-
}
|
|
27172
|
-
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
27173
|
-
}
|
|
27174
|
-
|
|
27175
|
-
/**
|
|
27176
|
-
* @deprecated
|
|
27177
|
-
*/
|
|
27178
26752
|
uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
|
|
27179
26753
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
|
|
27180
26754
|
if (id === undefined || id === null)
|
|
@@ -29305,8 +28879,6 @@ export interface IMeasurementFormsInstancesClient {
|
|
|
29305
28879
|
|
|
29306
28880
|
getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
|
|
29307
28881
|
|
|
29308
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
|
|
29309
|
-
|
|
29310
28882
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
|
|
29311
28883
|
|
|
29312
28884
|
getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
|
|
@@ -29640,49 +29212,6 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
29640
29212
|
return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
|
|
29641
29213
|
}
|
|
29642
29214
|
|
|
29643
|
-
getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto> {
|
|
29644
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/creatorstate?";
|
|
29645
|
-
if (id === undefined || id === null)
|
|
29646
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
29647
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
29648
|
-
if (schemaId === undefined || schemaId === null)
|
|
29649
|
-
throw new globalThis.Error("The parameter 'schemaId' must be defined.");
|
|
29650
|
-
url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
|
|
29651
|
-
if (tenantId !== undefined && tenantId !== null)
|
|
29652
|
-
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
29653
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
29654
|
-
|
|
29655
|
-
let options_: RequestInit = {
|
|
29656
|
-
method: "GET",
|
|
29657
|
-
headers: {
|
|
29658
|
-
"Accept": "application/json"
|
|
29659
|
-
}
|
|
29660
|
-
};
|
|
29661
|
-
|
|
29662
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29663
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
29664
|
-
}).then((_response: Response) => {
|
|
29665
|
-
return this.processGetMeasurementFormInstanceSchemaCreatorState(_response);
|
|
29666
|
-
});
|
|
29667
|
-
}
|
|
29668
|
-
|
|
29669
|
-
protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
|
|
29670
|
-
const status = response.status;
|
|
29671
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29672
|
-
if (status === 200) {
|
|
29673
|
-
return response.text().then((_responseText) => {
|
|
29674
|
-
let result200: any = null;
|
|
29675
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
29676
|
-
return result200;
|
|
29677
|
-
});
|
|
29678
|
-
} else if (status !== 200 && status !== 204) {
|
|
29679
|
-
return response.text().then((_responseText) => {
|
|
29680
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29681
|
-
});
|
|
29682
|
-
}
|
|
29683
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
29684
|
-
}
|
|
29685
|
-
|
|
29686
29215
|
getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
|
|
29687
29216
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
|
|
29688
29217
|
if (id === undefined || id === null)
|
|
@@ -30278,7 +29807,7 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
30278
29807
|
|
|
30279
29808
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
30280
29809
|
|
|
30281
|
-
|
|
29810
|
+
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
30282
29811
|
|
|
30283
29812
|
listMeasurementFormsByStatus(status: MeasurementFormInstanceStatus | undefined, statusChangedSince: Date | null | undefined, onlyWithReports: boolean | null | undefined, pageSize: number | undefined, search: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
30284
29813
|
|
|
@@ -30286,12 +29815,8 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
30286
29815
|
|
|
30287
29816
|
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
30288
29817
|
|
|
30289
|
-
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
30290
|
-
|
|
30291
29818
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
30292
29819
|
|
|
30293
|
-
getSerialNumberValueCounts(id: string): Promise<SerialNumberValueCountDto[]>;
|
|
30294
|
-
|
|
30295
29820
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
30296
29821
|
|
|
30297
29822
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
@@ -30347,7 +29872,7 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
30347
29872
|
return Promise.resolve<MeasurementFormInstanceDto>(null as any);
|
|
30348
29873
|
}
|
|
30349
29874
|
|
|
30350
|
-
|
|
29875
|
+
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto> {
|
|
30351
29876
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}";
|
|
30352
29877
|
if (id === undefined || id === null)
|
|
30353
29878
|
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
@@ -30368,11 +29893,11 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
30368
29893
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
30369
29894
|
return this.http.fetch(url_, transformedOptions_);
|
|
30370
29895
|
}).then((_response: Response) => {
|
|
30371
|
-
return this.
|
|
29896
|
+
return this.processUpdateMeasurementFormInstance(_response);
|
|
30372
29897
|
});
|
|
30373
29898
|
}
|
|
30374
29899
|
|
|
30375
|
-
protected
|
|
29900
|
+
protected processUpdateMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto> {
|
|
30376
29901
|
const status = response.status;
|
|
30377
29902
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
30378
29903
|
if (status === 200) {
|
|
@@ -30515,45 +30040,6 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
30515
30040
|
return Promise.resolve<void>(null as any);
|
|
30516
30041
|
}
|
|
30517
30042
|
|
|
30518
|
-
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto> {
|
|
30519
|
-
let url_ = this.baseUrl + "/measurementforms/instances/bystatus/v2";
|
|
30520
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
30521
|
-
|
|
30522
|
-
const content_ = JSON.stringify(request);
|
|
30523
|
-
|
|
30524
|
-
let options_: RequestInit = {
|
|
30525
|
-
body: content_,
|
|
30526
|
-
method: "POST",
|
|
30527
|
-
headers: {
|
|
30528
|
-
"Content-Type": "application/json",
|
|
30529
|
-
"Accept": "application/json"
|
|
30530
|
-
}
|
|
30531
|
-
};
|
|
30532
|
-
|
|
30533
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
30534
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
30535
|
-
}).then((_response: Response) => {
|
|
30536
|
-
return this.processPostListMeasurementFormsByStatusV2(_response);
|
|
30537
|
-
});
|
|
30538
|
-
}
|
|
30539
|
-
|
|
30540
|
-
protected processPostListMeasurementFormsByStatusV2(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto> {
|
|
30541
|
-
const status = response.status;
|
|
30542
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
30543
|
-
if (status === 200) {
|
|
30544
|
-
return response.text().then((_responseText) => {
|
|
30545
|
-
let result200: any = null;
|
|
30546
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedResultOfMeasurementFormInstanceDto;
|
|
30547
|
-
return result200;
|
|
30548
|
-
});
|
|
30549
|
-
} else if (status !== 200 && status !== 204) {
|
|
30550
|
-
return response.text().then((_responseText) => {
|
|
30551
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
30552
|
-
});
|
|
30553
|
-
}
|
|
30554
|
-
return Promise.resolve<PagedResultOfMeasurementFormInstanceDto>(null as any);
|
|
30555
|
-
}
|
|
30556
|
-
|
|
30557
30043
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto> {
|
|
30558
30044
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/createinstance";
|
|
30559
30045
|
if (id === undefined || id === null)
|
|
@@ -30596,44 +30082,6 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
30596
30082
|
return Promise.resolve<MeasurementFormInstanceDto>(null as any);
|
|
30597
30083
|
}
|
|
30598
30084
|
|
|
30599
|
-
getSerialNumberValueCounts(id: string): Promise<SerialNumberValueCountDto[]> {
|
|
30600
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/serial-number-value-counts";
|
|
30601
|
-
if (id === undefined || id === null)
|
|
30602
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
30603
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
30604
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
30605
|
-
|
|
30606
|
-
let options_: RequestInit = {
|
|
30607
|
-
method: "GET",
|
|
30608
|
-
headers: {
|
|
30609
|
-
"Accept": "application/json"
|
|
30610
|
-
}
|
|
30611
|
-
};
|
|
30612
|
-
|
|
30613
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
30614
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
30615
|
-
}).then((_response: Response) => {
|
|
30616
|
-
return this.processGetSerialNumberValueCounts(_response);
|
|
30617
|
-
});
|
|
30618
|
-
}
|
|
30619
|
-
|
|
30620
|
-
protected processGetSerialNumberValueCounts(response: Response): Promise<SerialNumberValueCountDto[]> {
|
|
30621
|
-
const status = response.status;
|
|
30622
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
30623
|
-
if (status === 200) {
|
|
30624
|
-
return response.text().then((_responseText) => {
|
|
30625
|
-
let result200: any = null;
|
|
30626
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SerialNumberValueCountDto[];
|
|
30627
|
-
return result200;
|
|
30628
|
-
});
|
|
30629
|
-
} else if (status !== 200 && status !== 204) {
|
|
30630
|
-
return response.text().then((_responseText) => {
|
|
30631
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
30632
|
-
});
|
|
30633
|
-
}
|
|
30634
|
-
return Promise.resolve<SerialNumberValueCountDto[]>(null as any);
|
|
30635
|
-
}
|
|
30636
|
-
|
|
30637
30085
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto> {
|
|
30638
30086
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/reactivate";
|
|
30639
30087
|
if (id === undefined || id === null)
|
|
@@ -34080,7 +33528,6 @@ export interface PulseJournalEventDto {
|
|
|
34080
33528
|
eventType: PulseJournalEventTypeDto;
|
|
34081
33529
|
oldValue?: string | null;
|
|
34082
33530
|
newValue?: string | null;
|
|
34083
|
-
lineText?: string | null;
|
|
34084
33531
|
created: Date;
|
|
34085
33532
|
createdBy?: string | null;
|
|
34086
33533
|
}
|
|
@@ -37254,6 +36701,7 @@ export interface PlannerPlanDto {
|
|
|
37254
36701
|
isDraft: boolean;
|
|
37255
36702
|
publishedETag?: string | null;
|
|
37256
36703
|
weeklyCapacities: WeekCapacityDto[];
|
|
36704
|
+
continuationToken?: string | null;
|
|
37257
36705
|
}
|
|
37258
36706
|
|
|
37259
36707
|
export interface PlannerOperationDto {
|
|
@@ -37701,6 +37149,8 @@ export interface ProductionScheduleOperationDto {
|
|
|
37701
37149
|
programStatus?: ProgramStatus | null;
|
|
37702
37150
|
hasNotes: boolean;
|
|
37703
37151
|
notesUnread: boolean;
|
|
37152
|
+
sequenceNumber?: number | null;
|
|
37153
|
+
weekGroup?: string | null;
|
|
37704
37154
|
}
|
|
37705
37155
|
|
|
37706
37156
|
export interface SurroundingOperationDto {
|
|
@@ -37758,6 +37208,12 @@ export interface ListProductionScheduleOperationsRequest {
|
|
|
37758
37208
|
includeDiscussionSummary?: boolean;
|
|
37759
37209
|
}
|
|
37760
37210
|
|
|
37211
|
+
export interface PagedProductionScheduleDto {
|
|
37212
|
+
results: ProductionScheduleOperationDto[];
|
|
37213
|
+
weeklyCapacities: WeekCapacityDto[];
|
|
37214
|
+
continuationToken?: string | null;
|
|
37215
|
+
}
|
|
37216
|
+
|
|
37761
37217
|
export interface ProductionScheduleFiltersDto {
|
|
37762
37218
|
partNumbers?: FilterValueWithQuantity[];
|
|
37763
37219
|
bomPositions?: FilterValueWithQuantity[];
|
|
@@ -38244,7 +37700,7 @@ export interface ImaMaterialCheckDto {
|
|
|
38244
37700
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38245
37701
|
purchaseOrder?: string | null;
|
|
38246
37702
|
purchaseOrderLine?: number | null;
|
|
38247
|
-
|
|
37703
|
+
purchaseOrderVendorBatches?: string[] | null;
|
|
38248
37704
|
purchaseOrderPartName?: string | null;
|
|
38249
37705
|
purchaseOrderPartNumber?: string | null;
|
|
38250
37706
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38266,12 +37722,6 @@ export interface ImaMaterialCheckDto {
|
|
|
38266
37722
|
|
|
38267
37723
|
export type ImaSpecificationStatusDto = "Draft" | "Released" | "Expired" | "Rejected" | "NotSet";
|
|
38268
37724
|
|
|
38269
|
-
export interface PurchaseOrderMaterialBatchDto {
|
|
38270
|
-
batchNumber: string;
|
|
38271
|
-
itemNumber?: string | null;
|
|
38272
|
-
vendorBatch?: string | null;
|
|
38273
|
-
}
|
|
38274
|
-
|
|
38275
37725
|
export type ImaMaterialCheckStatusDto = "Processing" | "Draft" | "Approved" | "Rejected" | "Failed" | "NotSet";
|
|
38276
37726
|
|
|
38277
37727
|
export interface ImaCertificateTypeResultsDto {
|
|
@@ -38419,7 +37869,6 @@ export interface ImaChemicalAnalysisCompositeResultDto {
|
|
|
38419
37869
|
prenW?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38420
37870
|
v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38421
37871
|
ce?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38422
|
-
nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
|
|
38423
37872
|
}
|
|
38424
37873
|
|
|
38425
37874
|
export interface ImaSpecificationCalculatedResultLineDto {
|
|
@@ -38561,7 +38010,7 @@ export interface ImaHeatTreatmentCoolingResultLineDto {
|
|
|
38561
38010
|
override?: ImaResultLineOverrideDto | null;
|
|
38562
38011
|
}
|
|
38563
38012
|
|
|
38564
|
-
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "
|
|
38013
|
+
export type ImaHeatTreatmentCoolingMethodDto = "NoCoolingMethod" | "AirCooling" | "FurnaceCooling" | "OilQuenching" | "PolymerQuenching" | "WaterQuenching" | "NotSet";
|
|
38565
38014
|
|
|
38566
38015
|
export interface ImaDocumentTypesResultsDto {
|
|
38567
38016
|
ultrasonicControlCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38569,7 +38018,7 @@ export interface ImaDocumentTypesResultsDto {
|
|
|
38569
38018
|
liquidPenetrantCertificate?: ImaSupplementaryCheckResultDto | null;
|
|
38570
38019
|
magneticParticle?: ImaSupplementaryCheckResultDto | null;
|
|
38571
38020
|
pmi?: ImaSupplementaryCheckResultDto | null;
|
|
38572
|
-
|
|
38021
|
+
hydrostatic?: ImaSupplementaryCheckResultDto | null;
|
|
38573
38022
|
visualReport?: ImaSupplementaryCheckResultDto | null;
|
|
38574
38023
|
dimensionalReport?: ImaSupplementaryCheckResultDto | null;
|
|
38575
38024
|
microExaminationReport?: ImaSupplementaryCheckResultDto | null;
|
|
@@ -38703,7 +38152,6 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
|
|
|
38703
38152
|
prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38704
38153
|
v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38705
38154
|
ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38706
|
-
nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38707
38155
|
}
|
|
38708
38156
|
|
|
38709
38157
|
export interface ImaOverrideTensileTestResultsDto {
|
|
@@ -38794,7 +38242,7 @@ export interface ImaOverrideDocumentTypesResultsDto {
|
|
|
38794
38242
|
liquidPenetrantCertificate?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38795
38243
|
magneticParticle?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38796
38244
|
pmi?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38797
|
-
|
|
38245
|
+
hydrostatic?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38798
38246
|
visualReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38799
38247
|
dimensionalReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
38800
38248
|
microExaminationReport?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
|
|
@@ -38830,7 +38278,7 @@ export interface ImaMaterialCheckLiteDto {
|
|
|
38830
38278
|
specificationStatus: ImaSpecificationStatusDto;
|
|
38831
38279
|
purchaseOrder?: string | null;
|
|
38832
38280
|
purchaseOrderLine?: number | null;
|
|
38833
|
-
|
|
38281
|
+
purchaseOrderVendorBatches?: string[] | null;
|
|
38834
38282
|
purchaseOrderPartName?: string | null;
|
|
38835
38283
|
purchaseOrderPartNumber?: string | null;
|
|
38836
38284
|
purchaseOrderPartRevision?: string | null;
|
|
@@ -38862,7 +38310,7 @@ export interface ImaMaterialChecksPageRequestDto {
|
|
|
38862
38310
|
certificateTypeFilter?: string | null;
|
|
38863
38311
|
purchaseOrderLineFilter?: number | null;
|
|
38864
38312
|
heatFilter?: string | null;
|
|
38865
|
-
vendorBatchesFilter?: string | null;
|
|
38313
|
+
vendorBatchesFilter?: string[] | null;
|
|
38866
38314
|
purchaseOrderPartNameFilter?: string | null;
|
|
38867
38315
|
purchaseOrderPartNumberFilter?: string | null;
|
|
38868
38316
|
purchaseOrderDrawingFilter?: string | null;
|
|
@@ -38901,7 +38349,6 @@ export interface ImaMaterialCheckReportDto {
|
|
|
38901
38349
|
includesAllHeats: boolean;
|
|
38902
38350
|
status: ImaMaterialCheckStatusDto;
|
|
38903
38351
|
audit: ImaMaterialCheckReportAuditInfo;
|
|
38904
|
-
isOutdated: boolean;
|
|
38905
38352
|
}
|
|
38906
38353
|
|
|
38907
38354
|
export interface ImaMaterialCheckReportAuditInfo {
|
|
@@ -38932,7 +38379,7 @@ export interface PurchaseOrderMaterialLineDetailsDto {
|
|
|
38932
38379
|
purchaseOrder: string;
|
|
38933
38380
|
lineNumber?: number | null;
|
|
38934
38381
|
dimension?: string | null;
|
|
38935
|
-
|
|
38382
|
+
vendorBatches: string[];
|
|
38936
38383
|
mdsCodeFl?: string | null;
|
|
38937
38384
|
typeOfCertificate?: string | null;
|
|
38938
38385
|
}
|
|
@@ -39081,7 +38528,6 @@ export interface ImaChemistryCompositeSpecificationDto {
|
|
|
39081
38528
|
prenW?: ImaSpecificationLineDto | null;
|
|
39082
38529
|
v_Nb_Ti?: boolean | null;
|
|
39083
38530
|
ce?: boolean | null;
|
|
39084
|
-
nb_Ta?: ImaSpecificationLineDto | null;
|
|
39085
38531
|
}
|
|
39086
38532
|
|
|
39087
38533
|
export interface ImaMechanicalSpecificationDto {
|
|
@@ -39119,7 +38565,7 @@ export interface ImaDocumentTypesSpecificationDto {
|
|
|
39119
38565
|
liquidPenetrantCertificate?: boolean;
|
|
39120
38566
|
magneticParticle?: boolean;
|
|
39121
38567
|
pmi?: boolean;
|
|
39122
|
-
|
|
38568
|
+
hydrostatic?: boolean;
|
|
39123
38569
|
visualReport?: boolean;
|
|
39124
38570
|
dimensionalReport?: boolean;
|
|
39125
38571
|
microExaminationReport?: boolean;
|
|
@@ -39194,136 +38640,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
39194
38640
|
isDeleted: boolean;
|
|
39195
38641
|
}
|
|
39196
38642
|
|
|
39197
|
-
export interface SchemaCreatorStateDto {
|
|
39198
|
-
settings: SchemaCreatorSettingsDto;
|
|
39199
|
-
elements: SchemaCreatorElementDto[];
|
|
39200
|
-
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
39201
|
-
isAutoGenerated?: boolean;
|
|
39202
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39203
|
-
createdAt?: Date | null;
|
|
39204
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39205
|
-
updatedAt?: Date | null;
|
|
39206
|
-
}
|
|
39207
|
-
|
|
39208
|
-
export interface SchemaCreatorSettingsDto {
|
|
39209
|
-
unit?: SchemaCreatorUnitOfMeasureDto;
|
|
39210
|
-
tolerance?: GeneralToleranceDto;
|
|
39211
|
-
balloonSize?: number;
|
|
39212
|
-
transparentBalloons?: boolean;
|
|
39213
|
-
}
|
|
39214
|
-
|
|
39215
|
-
export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
|
|
39216
|
-
|
|
39217
|
-
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
39218
|
-
|
|
39219
|
-
export interface SchemaCreatorElementDto {
|
|
39220
|
-
id: string;
|
|
39221
|
-
kind: SchemaCreatorElementKindDto;
|
|
39222
|
-
drawings: SchemaCreatorElementDrawingsDto;
|
|
39223
|
-
isDirty?: boolean | null;
|
|
39224
|
-
values?: SchemaCreatorElementValuesDto | null;
|
|
39225
|
-
parseResult?: SchemaCreatorSnipResultDto | null;
|
|
39226
|
-
resolveAttempt?: SchemaCreatorParseAttemptDto | null;
|
|
39227
|
-
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
39228
|
-
createdAt?: Date | null;
|
|
39229
|
-
updatedBy?: SchemaCreatorAuditInfoDto | null;
|
|
39230
|
-
updatedAt?: Date | null;
|
|
39231
|
-
}
|
|
39232
|
-
|
|
39233
|
-
export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
|
|
39234
|
-
|
|
39235
|
-
export interface SchemaCreatorElementDrawingsDto {
|
|
39236
|
-
snip: SchemaCreatorSnipDto;
|
|
39237
|
-
balloon: SchemaCreatorPointDto;
|
|
39238
|
-
pageIndex: number;
|
|
39239
|
-
}
|
|
39240
|
-
|
|
39241
|
-
export interface SchemaCreatorSnipDto {
|
|
39242
|
-
rect: SchemaCreatorRectDto;
|
|
39243
|
-
rotation?: number | null;
|
|
39244
|
-
unrotatedRect?: SchemaCreatorRectDto | null;
|
|
39245
|
-
}
|
|
39246
|
-
|
|
39247
|
-
export interface SchemaCreatorRectDto {
|
|
39248
|
-
origin: SchemaCreatorPointDto;
|
|
39249
|
-
size: SchemaCreatorSizeDto;
|
|
39250
|
-
}
|
|
39251
|
-
|
|
39252
|
-
export interface SchemaCreatorPointDto {
|
|
39253
|
-
x: number;
|
|
39254
|
-
y: number;
|
|
39255
|
-
}
|
|
39256
|
-
|
|
39257
|
-
export interface SchemaCreatorSizeDto {
|
|
39258
|
-
width: number;
|
|
39259
|
-
height: number;
|
|
39260
|
-
}
|
|
39261
|
-
|
|
39262
|
-
export interface SchemaCreatorElementValuesDto {
|
|
39263
|
-
reference: number;
|
|
39264
|
-
unit?: UnitOfMeasureDto | null;
|
|
39265
|
-
nominal?: number | null;
|
|
39266
|
-
nominalText?: string | null;
|
|
39267
|
-
upperLimit?: number | null;
|
|
39268
|
-
lowerLimit?: number | null;
|
|
39269
|
-
plusTolerance?: number | null;
|
|
39270
|
-
minusTolerance?: number | null;
|
|
39271
|
-
coatingThickness?: number | null;
|
|
39272
|
-
measurementFrequency: MeasurementFrequency;
|
|
39273
|
-
measurementFrequencyParameter?: number | null;
|
|
39274
|
-
type?: string | null;
|
|
39275
|
-
count?: number | null;
|
|
39276
|
-
comment?: string | null;
|
|
39277
|
-
canCopy: boolean;
|
|
39278
|
-
visibleToCustomer: boolean;
|
|
39279
|
-
isDocumentedExternally: boolean;
|
|
39280
|
-
}
|
|
39281
|
-
|
|
39282
|
-
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
39283
|
-
|
|
39284
|
-
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
39285
|
-
|
|
39286
|
-
export interface SchemaCreatorSnipResultDto {
|
|
39287
|
-
nominal?: number | null;
|
|
39288
|
-
nominalText?: string | null;
|
|
39289
|
-
upperLimit?: number | null;
|
|
39290
|
-
lowerLimit?: number | null;
|
|
39291
|
-
plusTolerance?: number | null;
|
|
39292
|
-
minusTolerance?: number | null;
|
|
39293
|
-
count?: number | null;
|
|
39294
|
-
}
|
|
39295
|
-
|
|
39296
|
-
export interface SchemaCreatorParseAttemptDto {
|
|
39297
|
-
startedAt: Date;
|
|
39298
|
-
errorType?: SchemaCreatorParseErrorTypeDto | null;
|
|
39299
|
-
errorMessage?: string | null;
|
|
39300
|
-
}
|
|
39301
|
-
|
|
39302
|
-
export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
|
|
39303
|
-
|
|
39304
|
-
export interface SchemaCreatorAuditInfoDto {
|
|
39305
|
-
objectId: string;
|
|
39306
|
-
userId: string;
|
|
39307
|
-
userFullName?: string | null;
|
|
39308
|
-
}
|
|
39309
|
-
|
|
39310
|
-
export interface SchemaCreatorDocumentParseStatusDto {
|
|
39311
|
-
inProgress: boolean;
|
|
39312
|
-
attempt?: SchemaCreatorParseAttemptDto | null;
|
|
39313
|
-
}
|
|
39314
|
-
|
|
39315
|
-
export interface SchemaCreatorXmlGeometryDto {
|
|
39316
|
-
xmlAttributeId: number;
|
|
39317
|
-
snipRect: SchemaCreatorRectDto;
|
|
39318
|
-
balloon: SchemaCreatorPointDto;
|
|
39319
|
-
pageIndex: number;
|
|
39320
|
-
}
|
|
39321
|
-
|
|
39322
|
-
export interface RenderSchemaCreatorElementSnipImageRequest {
|
|
39323
|
-
pageIndex: number;
|
|
39324
|
-
snip: SchemaCreatorSnipDto;
|
|
39325
|
-
}
|
|
39326
|
-
|
|
39327
38643
|
export interface MeasurementFormSchemaDto {
|
|
39328
38644
|
id: string;
|
|
39329
38645
|
versionId: number;
|
|
@@ -39358,8 +38674,12 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
|
|
|
39358
38674
|
|
|
39359
38675
|
export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
|
|
39360
38676
|
|
|
38677
|
+
export type UnitOfMeasureDto = "Millimeter" | "Inch";
|
|
38678
|
+
|
|
39361
38679
|
export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
|
|
39362
38680
|
|
|
38681
|
+
export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
|
|
38682
|
+
|
|
39363
38683
|
export interface MeasurementFormSchemaAttachmentDto {
|
|
39364
38684
|
url: string;
|
|
39365
38685
|
title: string;
|
|
@@ -39369,7 +38689,6 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
39369
38689
|
id: string;
|
|
39370
38690
|
balloonId?: string | null;
|
|
39371
38691
|
reference: number;
|
|
39372
|
-
originalXmlId?: number | null;
|
|
39373
38692
|
imageUrl?: string | null;
|
|
39374
38693
|
thumbnailUrl?: string | null;
|
|
39375
38694
|
section?: string | null;
|
|
@@ -39411,6 +38730,8 @@ export interface MeasurementFormGroupedElementDto {
|
|
|
39411
38730
|
validationErrorMessage?: string | null;
|
|
39412
38731
|
}
|
|
39413
38732
|
|
|
38733
|
+
export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
|
|
38734
|
+
|
|
39414
38735
|
export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
|
|
39415
38736
|
|
|
39416
38737
|
export type BonusType = "None" | "Positive" | "PositiveAndNegative";
|
|
@@ -39537,7 +38858,6 @@ export interface UploadDrawingRequest {
|
|
|
39537
38858
|
export interface UploadRequest {
|
|
39538
38859
|
uploadKey: string;
|
|
39539
38860
|
filename: string;
|
|
39540
|
-
isMarkedDrawing?: boolean | null;
|
|
39541
38861
|
}
|
|
39542
38862
|
|
|
39543
38863
|
export interface MeasurementFormImportStatusDto {
|
|
@@ -39621,8 +38941,6 @@ export interface MeasurementFormCustomerSettingsDto {
|
|
|
39621
38941
|
validationRuleId?: string | null;
|
|
39622
38942
|
requireCalibratedTools: boolean;
|
|
39623
38943
|
allowEmptyToolListInValue: boolean;
|
|
39624
|
-
disableAiParseDocument: boolean;
|
|
39625
|
-
disableAiParseSnip: boolean;
|
|
39626
38944
|
}
|
|
39627
38945
|
|
|
39628
38946
|
export interface UpdateMeasurementFormCustomerSettings {
|
|
@@ -39632,8 +38950,6 @@ export interface UpdateMeasurementFormCustomerSettings {
|
|
|
39632
38950
|
validationRuleId?: string | null;
|
|
39633
38951
|
requireCalibratedTools: boolean;
|
|
39634
38952
|
allowEmptyToolListInValue: boolean;
|
|
39635
|
-
disableAiParseDocument: boolean;
|
|
39636
|
-
disableAiParseSnip: boolean;
|
|
39637
38953
|
}
|
|
39638
38954
|
|
|
39639
38955
|
export interface MeasurementFormMappingDto {
|
|
@@ -39842,7 +39158,6 @@ export interface MeasurementFormInstanceDto {
|
|
|
39842
39158
|
drawingRevision?: string | null;
|
|
39843
39159
|
customerId?: string | null;
|
|
39844
39160
|
customerName?: string | null;
|
|
39845
|
-
purchaseOrder?: string | null;
|
|
39846
39161
|
quantity: number;
|
|
39847
39162
|
status: MeasurementFormInstanceStatus;
|
|
39848
39163
|
statusChangedDate?: Date | null;
|
|
@@ -40190,15 +39505,6 @@ export interface ListMeasurementFormsByStatusRequest {
|
|
|
40190
39505
|
continuationToken?: string | null;
|
|
40191
39506
|
}
|
|
40192
39507
|
|
|
40193
|
-
export interface ListMeasurementFormsByStatusesRequest {
|
|
40194
|
-
statuses?: MeasurementFormInstanceStatus[];
|
|
40195
|
-
statusChangedSince?: Date | null;
|
|
40196
|
-
onlyWithReports?: boolean | null;
|
|
40197
|
-
pageSize?: number | null;
|
|
40198
|
-
search?: string | null;
|
|
40199
|
-
continuationToken?: string | null;
|
|
40200
|
-
}
|
|
40201
|
-
|
|
40202
39508
|
export interface CreateMeasurementFormInstanceRequest {
|
|
40203
39509
|
schemaId: string;
|
|
40204
39510
|
customerId?: string | null;
|
|
@@ -40218,18 +39524,10 @@ export interface CreateMeasurementFormInstanceRequestSerialNumber {
|
|
|
40218
39524
|
customerSerialNumber?: string | null;
|
|
40219
39525
|
}
|
|
40220
39526
|
|
|
40221
|
-
export interface
|
|
40222
|
-
|
|
40223
|
-
customerName: string;
|
|
40224
|
-
purchaseOrder?: string | null;
|
|
39527
|
+
export interface UpdateMeasurementFormInstanceRequest {
|
|
39528
|
+
sequences?: MeasurementFormWorkorderSequenceDto[] | null;
|
|
40225
39529
|
serialNumbers: MeasurementFormWorkorderSerialNumberDto[];
|
|
40226
39530
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
40227
|
-
discardValuesForSerialNumbers?: string[] | null;
|
|
40228
|
-
}
|
|
40229
|
-
|
|
40230
|
-
export interface SerialNumberValueCountDto {
|
|
40231
|
-
serialNumber?: string | null;
|
|
40232
|
-
count?: number;
|
|
40233
39531
|
}
|
|
40234
39532
|
|
|
40235
39533
|
export interface ProductionCompanyDto {
|