@ignos/api-client 20260904.257.1 → 20260905.259.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.
@@ -26172,6 +26172,371 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase implemen
26172
26172
  }
26173
26173
  }
26174
26174
 
26175
+ export interface IInspectSchemaCreatorClient {
26176
+
26177
+ getSchemaCreatorState(id: 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(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
26184
+
26185
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
26186
+
26187
+ /**
26188
+ * Starts a full drawing AI parse: clears every element and locks the
26189
+ schema for every viewer until it completes. If one is already in
26190
+ progress, returns that instead of starting a second one.
26191
+ */
26192
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto>;
26193
+
26194
+ /**
26195
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
26196
+ returns a temporary download link.
26197
+ */
26198
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto>;
26199
+
26200
+ /**
26201
+ * Starts an async snip resolve; the result is delivered through the
26202
+ SchemaCreatorSnipResolved SignalR notification.
26203
+ * @param image (optional)
26204
+ */
26205
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
26206
+
26207
+ /**
26208
+ * Renders the legacy-format image for one element's current snip.
26209
+ Fire-and-forget from the client on every snip commit - the resulting
26210
+ image isn't returned here, it's only ever read back once the schema
26211
+ is released (SchemaCreatorLegacyMapper).
26212
+ */
26213
+ renderSchemaCreatorElementSnipImage(id: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void>;
26214
+ }
26215
+
26216
+ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
26217
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
26218
+ private baseUrl: string;
26219
+
26220
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
26221
+ super(configuration);
26222
+ this.http = http ? http : window as any;
26223
+ this.baseUrl = baseUrl ?? "";
26224
+ }
26225
+
26226
+ getSchemaCreatorState(id: string): Promise<SchemaCreatorStateDto> {
26227
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
26228
+ if (id === undefined || id === null)
26229
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26230
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26231
+ url_ = url_.replace(/[?&]$/, "");
26232
+
26233
+ let options_: RequestInit = {
26234
+ method: "GET",
26235
+ headers: {
26236
+ "Accept": "application/json"
26237
+ }
26238
+ };
26239
+
26240
+ return this.transformOptions(options_).then(transformedOptions_ => {
26241
+ return this.http.fetch(url_, transformedOptions_);
26242
+ }).then((_response: Response) => {
26243
+ return this.processGetSchemaCreatorState(_response);
26244
+ });
26245
+ }
26246
+
26247
+ protected processGetSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
26248
+ const status = response.status;
26249
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26250
+ if (status === 200) {
26251
+ return response.text().then((_responseText) => {
26252
+ let result200: any = null;
26253
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
26254
+ return result200;
26255
+ });
26256
+ } else if (status !== 200 && status !== 204) {
26257
+ return response.text().then((_responseText) => {
26258
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
26259
+ });
26260
+ }
26261
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
26262
+ }
26263
+
26264
+ /**
26265
+ * Creates the initial creator state for a schema version. Returns 409 if
26266
+ state already exists; the caller should re-fetch it instead of writing.
26267
+ */
26268
+ createSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
26269
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
26270
+ if (id === undefined || id === null)
26271
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26272
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26273
+ url_ = url_.replace(/[?&]$/, "");
26274
+
26275
+ const content_ = JSON.stringify(state);
26276
+
26277
+ let options_: RequestInit = {
26278
+ body: content_,
26279
+ method: "POST",
26280
+ headers: {
26281
+ "Content-Type": "application/json",
26282
+ "Accept": "application/json"
26283
+ }
26284
+ };
26285
+
26286
+ return this.transformOptions(options_).then(transformedOptions_ => {
26287
+ return this.http.fetch(url_, transformedOptions_);
26288
+ }).then((_response: Response) => {
26289
+ return this.processCreateSchemaCreatorState(_response);
26290
+ });
26291
+ }
26292
+
26293
+ protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
26294
+ const status = response.status;
26295
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26296
+ if (status === 201) {
26297
+ return response.text().then((_responseText) => {
26298
+ let result201: any = null;
26299
+ result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
26300
+ return result201;
26301
+ });
26302
+ } else if (status === 409) {
26303
+ return response.text().then((_responseText) => {
26304
+ let result409: any = null;
26305
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as ProblemDetails;
26306
+ return throwException("A server side error occurred.", status, _responseText, _headers, result409);
26307
+ });
26308
+ } else if (status !== 200 && status !== 204) {
26309
+ return response.text().then((_responseText) => {
26310
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
26311
+ });
26312
+ }
26313
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
26314
+ }
26315
+
26316
+ updateSchemaCreatorState(id: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto> {
26317
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
26318
+ if (id === undefined || id === null)
26319
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26320
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26321
+ url_ = url_.replace(/[?&]$/, "");
26322
+
26323
+ const content_ = JSON.stringify(state);
26324
+
26325
+ let options_: RequestInit = {
26326
+ body: content_,
26327
+ method: "PUT",
26328
+ headers: {
26329
+ "Content-Type": "application/json",
26330
+ "Accept": "application/json"
26331
+ }
26332
+ };
26333
+
26334
+ return this.transformOptions(options_).then(transformedOptions_ => {
26335
+ return this.http.fetch(url_, transformedOptions_);
26336
+ }).then((_response: Response) => {
26337
+ return this.processUpdateSchemaCreatorState(_response);
26338
+ });
26339
+ }
26340
+
26341
+ protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
26342
+ const status = response.status;
26343
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26344
+ if (status === 200) {
26345
+ return response.text().then((_responseText) => {
26346
+ let result200: any = null;
26347
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
26348
+ return result200;
26349
+ });
26350
+ } else if (status !== 200 && status !== 204) {
26351
+ return response.text().then((_responseText) => {
26352
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
26353
+ });
26354
+ }
26355
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
26356
+ }
26357
+
26358
+ /**
26359
+ * Starts a full drawing AI parse: clears every element and locks the
26360
+ schema for every viewer until it completes. If one is already in
26361
+ progress, returns that instead of starting a second one.
26362
+ */
26363
+ requestSchemaCreatorDocumentParse(id: string): Promise<SchemaCreatorStateDto> {
26364
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/parse-document";
26365
+ if (id === undefined || id === null)
26366
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26367
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26368
+ url_ = url_.replace(/[?&]$/, "");
26369
+
26370
+ let options_: RequestInit = {
26371
+ method: "POST",
26372
+ headers: {
26373
+ "Accept": "application/json"
26374
+ }
26375
+ };
26376
+
26377
+ return this.transformOptions(options_).then(transformedOptions_ => {
26378
+ return this.http.fetch(url_, transformedOptions_);
26379
+ }).then((_response: Response) => {
26380
+ return this.processRequestSchemaCreatorDocumentParse(_response);
26381
+ });
26382
+ }
26383
+
26384
+ protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto> {
26385
+ const status = response.status;
26386
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26387
+ if (status === 200) {
26388
+ return response.text().then((_responseText) => {
26389
+ let result200: any = null;
26390
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
26391
+ return result200;
26392
+ });
26393
+ } else if (status !== 200 && status !== 204) {
26394
+ return response.text().then((_responseText) => {
26395
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
26396
+ });
26397
+ }
26398
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
26399
+ }
26400
+
26401
+ /**
26402
+ * Stamps the creator state's balloons onto the schema's drawing PDF and
26403
+ returns a temporary download link.
26404
+ */
26405
+ exportSchemaCreatorDrawing(id: string): Promise<DownloadDto> {
26406
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
26407
+ if (id === undefined || id === null)
26408
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26409
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26410
+ url_ = url_.replace(/[?&]$/, "");
26411
+
26412
+ let options_: RequestInit = {
26413
+ method: "POST",
26414
+ headers: {
26415
+ "Accept": "application/json"
26416
+ }
26417
+ };
26418
+
26419
+ return this.transformOptions(options_).then(transformedOptions_ => {
26420
+ return this.http.fetch(url_, transformedOptions_);
26421
+ }).then((_response: Response) => {
26422
+ return this.processExportSchemaCreatorDrawing(_response);
26423
+ });
26424
+ }
26425
+
26426
+ protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto> {
26427
+ const status = response.status;
26428
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26429
+ if (status === 200) {
26430
+ return response.text().then((_responseText) => {
26431
+ let result200: any = null;
26432
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as DownloadDto;
26433
+ return result200;
26434
+ });
26435
+ } else if (status !== 200 && status !== 204) {
26436
+ return response.text().then((_responseText) => {
26437
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
26438
+ });
26439
+ }
26440
+ return Promise.resolve<DownloadDto>(null as any);
26441
+ }
26442
+
26443
+ /**
26444
+ * Starts an async snip resolve; the result is delivered through the
26445
+ SchemaCreatorSnipResolved SignalR notification.
26446
+ * @param image (optional)
26447
+ */
26448
+ requestSchemaCreatorSnipParse(id: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
26449
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/parse-snip";
26450
+ if (id === undefined || id === null)
26451
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26452
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26453
+ if (elementId === undefined || elementId === null)
26454
+ throw new globalThis.Error("The parameter 'elementId' must be defined.");
26455
+ url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
26456
+ url_ = url_.replace(/[?&]$/, "");
26457
+
26458
+ const content_ = new FormData();
26459
+ if (image !== null && image !== undefined)
26460
+ content_.append("image", image.data, image.fileName ? image.fileName : "image");
26461
+
26462
+ let options_: RequestInit = {
26463
+ body: content_,
26464
+ method: "POST",
26465
+ headers: {
26466
+ }
26467
+ };
26468
+
26469
+ return this.transformOptions(options_).then(transformedOptions_ => {
26470
+ return this.http.fetch(url_, transformedOptions_);
26471
+ }).then((_response: Response) => {
26472
+ return this.processRequestSchemaCreatorSnipParse(_response);
26473
+ });
26474
+ }
26475
+
26476
+ protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void> {
26477
+ const status = response.status;
26478
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26479
+ if (status === 200) {
26480
+ return response.text().then((_responseText) => {
26481
+ return;
26482
+ });
26483
+ } else if (status !== 200 && status !== 204) {
26484
+ return response.text().then((_responseText) => {
26485
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
26486
+ });
26487
+ }
26488
+ return Promise.resolve<void>(null as any);
26489
+ }
26490
+
26491
+ /**
26492
+ * Renders the legacy-format image for one element's current snip.
26493
+ Fire-and-forget from the client on every snip commit - the resulting
26494
+ image isn't returned here, it's only ever read back once the schema
26495
+ is released (SchemaCreatorLegacyMapper).
26496
+ */
26497
+ renderSchemaCreatorElementSnipImage(id: string, elementId: string, request: RenderSchemaCreatorElementSnipImageRequest): Promise<void> {
26498
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/snip-image";
26499
+ if (id === undefined || id === null)
26500
+ throw new globalThis.Error("The parameter 'id' must be defined.");
26501
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
26502
+ if (elementId === undefined || elementId === null)
26503
+ throw new globalThis.Error("The parameter 'elementId' must be defined.");
26504
+ url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
26505
+ url_ = url_.replace(/[?&]$/, "");
26506
+
26507
+ const content_ = JSON.stringify(request);
26508
+
26509
+ let options_: RequestInit = {
26510
+ body: content_,
26511
+ method: "POST",
26512
+ headers: {
26513
+ "Content-Type": "application/json",
26514
+ }
26515
+ };
26516
+
26517
+ return this.transformOptions(options_).then(transformedOptions_ => {
26518
+ return this.http.fetch(url_, transformedOptions_);
26519
+ }).then((_response: Response) => {
26520
+ return this.processRenderSchemaCreatorElementSnipImage(_response);
26521
+ });
26522
+ }
26523
+
26524
+ protected processRenderSchemaCreatorElementSnipImage(response: Response): Promise<void> {
26525
+ const status = response.status;
26526
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26527
+ if (status === 200) {
26528
+ return response.text().then((_responseText) => {
26529
+ return;
26530
+ });
26531
+ } else if (status !== 200 && status !== 204) {
26532
+ return response.text().then((_responseText) => {
26533
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
26534
+ });
26535
+ }
26536
+ return Promise.resolve<void>(null as any);
26537
+ }
26538
+ }
26539
+
26175
26540
  export interface IMeasurementFormSchemasAdminClient {
26176
26541
 
26177
26542
  getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
@@ -26194,7 +26559,7 @@ export interface IMeasurementFormSchemasAdminClient {
26194
26559
 
26195
26560
  updateSchemaSettings(id: string, request: UpdateSchemaSettingsRequest): Promise<UpdateSchemaSettingsRequest>;
26196
26561
 
26197
- uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto>;
26562
+ uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
26198
26563
 
26199
26564
  uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
26200
26565
 
@@ -26708,8 +27073,8 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
26708
27073
  return Promise.resolve<UpdateSchemaSettingsRequest>(null as any);
26709
27074
  }
26710
27075
 
26711
- uploadSchemaDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormSchemaDto> {
26712
- let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploaddrawing";
27076
+ uploadSchemaMarkedDrawing(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto> {
27077
+ let url_ = this.baseUrl + "/measurementforms/schemas/{id}/uploadmarkeddrawing";
26713
27078
  if (id === undefined || id === null)
26714
27079
  throw new globalThis.Error("The parameter 'id' must be defined.");
26715
27080
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
@@ -26729,11 +27094,11 @@ export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase impleme
26729
27094
  return this.transformOptions(options_).then(transformedOptions_ => {
26730
27095
  return this.http.fetch(url_, transformedOptions_);
26731
27096
  }).then((_response: Response) => {
26732
- return this.processUploadSchemaDrawing(_response);
27097
+ return this.processUploadSchemaMarkedDrawing(_response);
26733
27098
  });
26734
27099
  }
26735
27100
 
26736
- protected processUploadSchemaDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
27101
+ protected processUploadSchemaMarkedDrawing(response: Response): Promise<MeasurementFormSchemaDto> {
26737
27102
  const status = response.status;
26738
27103
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
26739
27104
  if (status === 200) {
@@ -28838,6 +29203,8 @@ export interface IMeasurementFormsInstancesClient {
28838
29203
 
28839
29204
  getMeasurementFormInstanceSchema(id: string, schemaId: string, serialNumber: string | null | undefined, tenantId: string | null | undefined): Promise<MeasurementFormInstanceSchemaDto>;
28840
29205
 
29206
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto>;
29207
+
28841
29208
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto>;
28842
29209
 
28843
29210
  getAuditLog(id: string, tenantId: string | null | undefined, schemaId: string | null | undefined, serialNumber: string | null | undefined, elementId: string | null | undefined): Promise<MeasurementFormElementValueAuditDto[]>;
@@ -29171,6 +29538,49 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
29171
29538
  return Promise.resolve<MeasurementFormInstanceSchemaDto>(null as any);
29172
29539
  }
29173
29540
 
29541
+ getMeasurementFormInstanceSchemaCreatorState(id: string, schemaId: string, tenantId: string | null | undefined): Promise<SchemaCreatorStateDto> {
29542
+ let url_ = this.baseUrl + "/measurementforms/instances/{id}/schemas/{schemaId}/creatorstate?";
29543
+ if (id === undefined || id === null)
29544
+ throw new globalThis.Error("The parameter 'id' must be defined.");
29545
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
29546
+ if (schemaId === undefined || schemaId === null)
29547
+ throw new globalThis.Error("The parameter 'schemaId' must be defined.");
29548
+ url_ = url_.replace("{schemaId}", encodeURIComponent("" + schemaId));
29549
+ if (tenantId !== undefined && tenantId !== null)
29550
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
29551
+ url_ = url_.replace(/[?&]$/, "");
29552
+
29553
+ let options_: RequestInit = {
29554
+ method: "GET",
29555
+ headers: {
29556
+ "Accept": "application/json"
29557
+ }
29558
+ };
29559
+
29560
+ return this.transformOptions(options_).then(transformedOptions_ => {
29561
+ return this.http.fetch(url_, transformedOptions_);
29562
+ }).then((_response: Response) => {
29563
+ return this.processGetMeasurementFormInstanceSchemaCreatorState(_response);
29564
+ });
29565
+ }
29566
+
29567
+ protected processGetMeasurementFormInstanceSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto> {
29568
+ const status = response.status;
29569
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
29570
+ if (status === 200) {
29571
+ return response.text().then((_responseText) => {
29572
+ let result200: any = null;
29573
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
29574
+ return result200;
29575
+ });
29576
+ } else if (status !== 200 && status !== 204) {
29577
+ return response.text().then((_responseText) => {
29578
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
29579
+ });
29580
+ }
29581
+ return Promise.resolve<SchemaCreatorStateDto>(null as any);
29582
+ }
29583
+
29174
29584
  getWorkorderMeasurementFormProgress(id: string, tenantId: string | null | undefined): Promise<MeasurementFormInstanceProgressDto> {
29175
29585
  let url_ = this.baseUrl + "/measurementforms/instances/{id}/progress?";
29176
29586
  if (id === undefined || id === null)
@@ -33487,7 +33897,6 @@ export interface PulseJournalEventDto {
33487
33897
  eventType: PulseJournalEventTypeDto;
33488
33898
  oldValue?: string | null;
33489
33899
  newValue?: string | null;
33490
- lineText?: string | null;
33491
33900
  created: Date;
33492
33901
  createdBy?: string | null;
33493
33902
  }
@@ -37820,7 +38229,6 @@ export interface ImaChemicalAnalysisCompositeResultDto {
37820
38229
  prenW?: ImaSpecificationCalculatedResultLineDto | null;
37821
38230
  v_Nb_Ti?: ImaSpecificationCalculatedResultLineDto | null;
37822
38231
  ce?: ImaSpecificationCalculatedResultLineDto | null;
37823
- nb_Ta?: ImaSpecificationCalculatedResultLineDto | null;
37824
38232
  }
37825
38233
 
37826
38234
  export interface ImaSpecificationCalculatedResultLineDto {
@@ -38104,7 +38512,6 @@ export interface ImaOverrideChemicalAnalysisCompositeResultsDto {
38104
38512
  prenW?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
38105
38513
  v_Nb_Ti?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
38106
38514
  ce?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
38107
- nb_Ta?: ImaOverrideUpdateMaterialCheckResultLineDto | null;
38108
38515
  }
38109
38516
 
38110
38517
  export interface ImaOverrideTensileTestResultsDto {
@@ -38481,7 +38888,6 @@ export interface ImaChemistryCompositeSpecificationDto {
38481
38888
  prenW?: ImaSpecificationLineDto | null;
38482
38889
  v_Nb_Ti?: boolean | null;
38483
38890
  ce?: boolean | null;
38484
- nb_Ta?: ImaSpecificationLineDto | null;
38485
38891
  }
38486
38892
 
38487
38893
  export interface ImaMechanicalSpecificationDto {
@@ -38594,6 +39000,129 @@ export interface ImaSpecificationLiteDto {
38594
39000
  isDeleted: boolean;
38595
39001
  }
38596
39002
 
39003
+ export interface SchemaCreatorStateDto {
39004
+ settings: SchemaCreatorSettingsDto;
39005
+ elements: SchemaCreatorElementDto[];
39006
+ documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
39007
+ isAutoGenerated?: boolean;
39008
+ createdBy?: SchemaCreatorAuditInfoDto | null;
39009
+ createdAt?: Date | null;
39010
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
39011
+ updatedAt?: Date | null;
39012
+ }
39013
+
39014
+ export interface SchemaCreatorSettingsDto {
39015
+ unit?: SchemaCreatorUnitOfMeasureDto;
39016
+ tolerance?: GeneralToleranceDto;
39017
+ balloonSize?: number;
39018
+ transparentBalloons?: boolean;
39019
+ }
39020
+
39021
+ export type SchemaCreatorUnitOfMeasureDto = "Millimeter" | "Inch" | "Mixed";
39022
+
39023
+ export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
39024
+
39025
+ export interface SchemaCreatorElementDto {
39026
+ id: string;
39027
+ kind: SchemaCreatorElementKindDto;
39028
+ drawings: SchemaCreatorElementDrawingsDto;
39029
+ isDirty?: boolean | null;
39030
+ values?: SchemaCreatorElementValuesDto | null;
39031
+ parseResult?: SchemaCreatorSnipResultDto | null;
39032
+ resolveAttempt?: SchemaCreatorParseAttemptDto | null;
39033
+ createdBy?: SchemaCreatorAuditInfoDto | null;
39034
+ createdAt?: Date | null;
39035
+ updatedBy?: SchemaCreatorAuditInfoDto | null;
39036
+ updatedAt?: Date | null;
39037
+ }
39038
+
39039
+ export type SchemaCreatorElementKindDto = "Pending" | "Auto" | "Manual";
39040
+
39041
+ export interface SchemaCreatorElementDrawingsDto {
39042
+ snip: SchemaCreatorSnipDto;
39043
+ balloon: SchemaCreatorPointDto;
39044
+ pageIndex: number;
39045
+ }
39046
+
39047
+ export interface SchemaCreatorSnipDto {
39048
+ rect: SchemaCreatorRectDto;
39049
+ rotation?: number | null;
39050
+ unrotatedRect?: SchemaCreatorRectDto | null;
39051
+ }
39052
+
39053
+ export interface SchemaCreatorRectDto {
39054
+ origin: SchemaCreatorPointDto;
39055
+ size: SchemaCreatorSizeDto;
39056
+ }
39057
+
39058
+ export interface SchemaCreatorPointDto {
39059
+ x: number;
39060
+ y: number;
39061
+ }
39062
+
39063
+ export interface SchemaCreatorSizeDto {
39064
+ width: number;
39065
+ height: number;
39066
+ }
39067
+
39068
+ export interface SchemaCreatorElementValuesDto {
39069
+ reference: number;
39070
+ unit?: UnitOfMeasureDto | null;
39071
+ nominal?: number | null;
39072
+ nominalText?: string | null;
39073
+ upperLimit?: number | null;
39074
+ lowerLimit?: number | null;
39075
+ plusTolerance?: number | null;
39076
+ minusTolerance?: number | null;
39077
+ coatingThickness?: number | null;
39078
+ measurementFrequency: MeasurementFrequency;
39079
+ measurementFrequencyParameter?: number | null;
39080
+ type?: string | null;
39081
+ count?: number | null;
39082
+ comment?: string | null;
39083
+ canCopy: boolean;
39084
+ visibleToCustomer: boolean;
39085
+ isDocumentedExternally: boolean;
39086
+ }
39087
+
39088
+ export type UnitOfMeasureDto = "Millimeter" | "Inch";
39089
+
39090
+ export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
39091
+
39092
+ export interface SchemaCreatorSnipResultDto {
39093
+ nominal?: number | null;
39094
+ nominalText?: string | null;
39095
+ upperLimit?: number | null;
39096
+ lowerLimit?: number | null;
39097
+ plusTolerance?: number | null;
39098
+ minusTolerance?: number | null;
39099
+ count?: number | null;
39100
+ }
39101
+
39102
+ export interface SchemaCreatorParseAttemptDto {
39103
+ startedAt: Date;
39104
+ errorType?: SchemaCreatorParseErrorTypeDto | null;
39105
+ errorMessage?: string | null;
39106
+ }
39107
+
39108
+ export type SchemaCreatorParseErrorTypeDto = "Timeout" | "ParseError";
39109
+
39110
+ export interface SchemaCreatorAuditInfoDto {
39111
+ objectId: string;
39112
+ userId: string;
39113
+ userFullName?: string | null;
39114
+ }
39115
+
39116
+ export interface SchemaCreatorDocumentParseStatusDto {
39117
+ inProgress: boolean;
39118
+ attempt?: SchemaCreatorParseAttemptDto | null;
39119
+ }
39120
+
39121
+ export interface RenderSchemaCreatorElementSnipImageRequest {
39122
+ pageIndex: number;
39123
+ snip: SchemaCreatorSnipDto;
39124
+ }
39125
+
38597
39126
  export interface MeasurementFormSchemaDto {
38598
39127
  id: string;
38599
39128
  versionId: number;
@@ -38628,12 +39157,8 @@ export type MeasurementFormStatus = "Draft" | "Released" | "Revoked";
38628
39157
 
38629
39158
  export type MeasurementFormSource = "Unknown" | "InspectionXpert" | "Excel" | "Manual";
38630
39159
 
38631
- export type UnitOfMeasureDto = "Millimeter" | "Inch";
38632
-
38633
39160
  export type DimensionSettingDto = "Tolerance" | "MinMaxDimension";
38634
39161
 
38635
- export type GeneralToleranceDto = "NotSet" | "Fine" | "Medium" | "Coarse" | "VeryCoarse";
38636
-
38637
39162
  export interface MeasurementFormSchemaAttachmentDto {
38638
39163
  url: string;
38639
39164
  title: string;
@@ -38684,8 +39209,6 @@ export interface MeasurementFormGroupedElementDto {
38684
39209
  validationErrorMessage?: string | null;
38685
39210
  }
38686
39211
 
38687
- export type MeasurementFrequency = "All" | "FirstArticle" | "NFirst" | "NPercent" | "ISO2859" | "Nth" | "FirstAndLast" | "None";
38688
-
38689
39212
  export type MeasurementFormValueType = "None" | "Bool" | "Decimal" | "String";
38690
39213
 
38691
39214
  export type BonusType = "None" | "Positive" | "PositiveAndNegative";
@@ -38804,11 +39327,6 @@ export interface UpdateSchemaSettingsRequest {
38804
39327
  generalTolerance: GeneralToleranceDto;
38805
39328
  }
38806
39329
 
38807
- export interface UploadDrawingRequest {
38808
- uploadKey: string;
38809
- filename: string;
38810
- }
38811
-
38812
39330
  export interface UploadRequest {
38813
39331
  uploadKey: string;
38814
39332
  filename: string;
@@ -39009,6 +39527,11 @@ export interface SetMeasurementFormNeedAsNotNeededRequest {
39009
39527
  comment?: string | null;
39010
39528
  }
39011
39529
 
39530
+ export interface UploadDrawingRequest {
39531
+ uploadKey: string;
39532
+ filename: string;
39533
+ }
39534
+
39012
39535
  export interface PagedResultOfMeasurementFormSchemaNotNeededDto {
39013
39536
  results: MeasurementFormSchemaNotNeededDto[];
39014
39537
  continuationToken?: string | null;