@ignos/api-client 20261105.348.1-alpha → 20261106.350.1
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 +15 -215
- package/lib/ignosportal-api.js +41 -333
- package/package.json +1 -1
- package/src/ignosportal-api.ts +59 -551
package/src/ignosportal-api.ts
CHANGED
|
@@ -13569,6 +13569,8 @@ export interface ILinksClient {
|
|
|
13569
13569
|
|
|
13570
13570
|
getAllLinkScopes(): Promise<string[]>;
|
|
13571
13571
|
|
|
13572
|
+
moveLink(id: string, scope: string | null | undefined, request: MoveLinkRequest): Promise<void>;
|
|
13573
|
+
|
|
13572
13574
|
deleteLink(id: string, scope: string | null | undefined): Promise<void>;
|
|
13573
13575
|
}
|
|
13574
13576
|
|
|
@@ -13693,6 +13695,47 @@ export class LinksClient extends AuthorizedApiBase implements ILinksClient {
|
|
|
13693
13695
|
return Promise.resolve<string[]>(null as any);
|
|
13694
13696
|
}
|
|
13695
13697
|
|
|
13698
|
+
moveLink(id: string, scope: string | null | undefined, request: MoveLinkRequest): Promise<void> {
|
|
13699
|
+
let url_ = this.baseUrl + "/links/{id}/move?";
|
|
13700
|
+
if (id === undefined || id === null)
|
|
13701
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
13702
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
13703
|
+
if (scope !== undefined && scope !== null)
|
|
13704
|
+
url_ += "scope=" + encodeURIComponent("" + scope) + "&";
|
|
13705
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
13706
|
+
|
|
13707
|
+
const content_ = JSON.stringify(request);
|
|
13708
|
+
|
|
13709
|
+
let options_: RequestInit = {
|
|
13710
|
+
body: content_,
|
|
13711
|
+
method: "POST",
|
|
13712
|
+
headers: {
|
|
13713
|
+
"Content-Type": "application/json",
|
|
13714
|
+
}
|
|
13715
|
+
};
|
|
13716
|
+
|
|
13717
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
13718
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
13719
|
+
}).then((_response: Response) => {
|
|
13720
|
+
return this.processMoveLink(_response);
|
|
13721
|
+
});
|
|
13722
|
+
}
|
|
13723
|
+
|
|
13724
|
+
protected processMoveLink(response: Response): Promise<void> {
|
|
13725
|
+
const status = response.status;
|
|
13726
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
13727
|
+
if (status === 204) {
|
|
13728
|
+
return response.text().then((_responseText) => {
|
|
13729
|
+
return;
|
|
13730
|
+
});
|
|
13731
|
+
} else if (status !== 200 && status !== 204) {
|
|
13732
|
+
return response.text().then((_responseText) => {
|
|
13733
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
13734
|
+
});
|
|
13735
|
+
}
|
|
13736
|
+
return Promise.resolve<void>(null as any);
|
|
13737
|
+
}
|
|
13738
|
+
|
|
13696
13739
|
deleteLink(id: string, scope: string | null | undefined): Promise<void> {
|
|
13697
13740
|
let url_ = this.baseUrl + "/links/{id}?";
|
|
13698
13741
|
if (id === undefined || id === null)
|
|
@@ -19562,63 +19605,6 @@ export class CdfClient extends AuthorizedApiBase implements ICdfClient {
|
|
|
19562
19605
|
}
|
|
19563
19606
|
}
|
|
19564
19607
|
|
|
19565
|
-
export interface IInspectAdminClient {
|
|
19566
|
-
|
|
19567
|
-
/**
|
|
19568
|
-
* One-off: flags the current tenant's schema versions that have a schema creator document.
|
|
19569
|
-
*/
|
|
19570
|
-
backfillSchemaCreatorFlags(): Promise<SchemaCreatorFlagBackfillDto>;
|
|
19571
|
-
}
|
|
19572
|
-
|
|
19573
|
-
export class InspectAdminClient extends AuthorizedApiBase implements IInspectAdminClient {
|
|
19574
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
19575
|
-
private baseUrl: string;
|
|
19576
|
-
|
|
19577
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
19578
|
-
super(configuration);
|
|
19579
|
-
this.http = http ? http : window as any;
|
|
19580
|
-
this.baseUrl = baseUrl ?? "";
|
|
19581
|
-
}
|
|
19582
|
-
|
|
19583
|
-
/**
|
|
19584
|
-
* One-off: flags the current tenant's schema versions that have a schema creator document.
|
|
19585
|
-
*/
|
|
19586
|
-
backfillSchemaCreatorFlags(): Promise<SchemaCreatorFlagBackfillDto> {
|
|
19587
|
-
let url_ = this.baseUrl + "/admin/inspect/schemas/backfill-schema-creator-flags";
|
|
19588
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19589
|
-
|
|
19590
|
-
let options_: RequestInit = {
|
|
19591
|
-
method: "POST",
|
|
19592
|
-
headers: {
|
|
19593
|
-
"Accept": "application/json"
|
|
19594
|
-
}
|
|
19595
|
-
};
|
|
19596
|
-
|
|
19597
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19598
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
19599
|
-
}).then((_response: Response) => {
|
|
19600
|
-
return this.processBackfillSchemaCreatorFlags(_response);
|
|
19601
|
-
});
|
|
19602
|
-
}
|
|
19603
|
-
|
|
19604
|
-
protected processBackfillSchemaCreatorFlags(response: Response): Promise<SchemaCreatorFlagBackfillDto> {
|
|
19605
|
-
const status = response.status;
|
|
19606
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19607
|
-
if (status === 200) {
|
|
19608
|
-
return response.text().then((_responseText) => {
|
|
19609
|
-
let result200: any = null;
|
|
19610
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorFlagBackfillDto;
|
|
19611
|
-
return result200;
|
|
19612
|
-
});
|
|
19613
|
-
} else if (status !== 200 && status !== 204) {
|
|
19614
|
-
return response.text().then((_responseText) => {
|
|
19615
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19616
|
-
});
|
|
19617
|
-
}
|
|
19618
|
-
return Promise.resolve<SchemaCreatorFlagBackfillDto>(null as any);
|
|
19619
|
-
}
|
|
19620
|
-
}
|
|
19621
|
-
|
|
19622
19608
|
export interface IWorkspaceDefaultsAdminClient {
|
|
19623
19609
|
|
|
19624
19610
|
getDefaults(): Promise<WorkspaceDefaultsDto>;
|
|
@@ -29486,14 +29472,10 @@ export interface IMeasurementFormSchemasClient {
|
|
|
29486
29472
|
|
|
29487
29473
|
getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
|
|
29488
29474
|
|
|
29489
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<
|
|
29490
|
-
|
|
29491
|
-
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto>;
|
|
29475
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
29492
29476
|
|
|
29493
29477
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]>;
|
|
29494
29478
|
|
|
29495
|
-
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]>;
|
|
29496
|
-
|
|
29497
29479
|
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]>;
|
|
29498
29480
|
|
|
29499
29481
|
listFrequencies(): Promise<MeasurementFrequencyDto[]>;
|
|
@@ -29562,7 +29544,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29562
29544
|
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
29563
29545
|
}
|
|
29564
29546
|
|
|
29565
|
-
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<
|
|
29547
|
+
postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto> {
|
|
29566
29548
|
let url_ = this.baseUrl + "/measurementforms/schemas/list";
|
|
29567
29549
|
url_ = url_.replace(/[?&]$/, "");
|
|
29568
29550
|
|
|
@@ -29584,52 +29566,13 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29584
29566
|
});
|
|
29585
29567
|
}
|
|
29586
29568
|
|
|
29587
|
-
protected processPostListMeasurementFormSchemas(response: Response): Promise<
|
|
29569
|
+
protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormListDto> {
|
|
29588
29570
|
const status = response.status;
|
|
29589
29571
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29590
29572
|
if (status === 200) {
|
|
29591
29573
|
return response.text().then((_responseText) => {
|
|
29592
29574
|
let result200: any = null;
|
|
29593
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as
|
|
29594
|
-
return result200;
|
|
29595
|
-
});
|
|
29596
|
-
} else if (status !== 200 && status !== 204) {
|
|
29597
|
-
return response.text().then((_responseText) => {
|
|
29598
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29599
|
-
});
|
|
29600
|
-
}
|
|
29601
|
-
return Promise.resolve<PagedResultOfMeasurementFormSchemaOverviewDto>(null as any);
|
|
29602
|
-
}
|
|
29603
|
-
|
|
29604
|
-
postCountMeasurementFormSchemas(request: CountMeasurementFormSchemasRequest | undefined): Promise<MeasurementFormSchemaCountsDto> {
|
|
29605
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/list/counts";
|
|
29606
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
29607
|
-
|
|
29608
|
-
const content_ = JSON.stringify(request);
|
|
29609
|
-
|
|
29610
|
-
let options_: RequestInit = {
|
|
29611
|
-
body: content_,
|
|
29612
|
-
method: "POST",
|
|
29613
|
-
headers: {
|
|
29614
|
-
"Content-Type": "application/json",
|
|
29615
|
-
"Accept": "application/json"
|
|
29616
|
-
}
|
|
29617
|
-
};
|
|
29618
|
-
|
|
29619
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29620
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
29621
|
-
}).then((_response: Response) => {
|
|
29622
|
-
return this.processPostCountMeasurementFormSchemas(_response);
|
|
29623
|
-
});
|
|
29624
|
-
}
|
|
29625
|
-
|
|
29626
|
-
protected processPostCountMeasurementFormSchemas(response: Response): Promise<MeasurementFormSchemaCountsDto> {
|
|
29627
|
-
const status = response.status;
|
|
29628
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29629
|
-
if (status === 200) {
|
|
29630
|
-
return response.text().then((_responseText) => {
|
|
29631
|
-
let result200: any = null;
|
|
29632
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormSchemaCountsDto;
|
|
29575
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedResultOfMeasurementFormListDto;
|
|
29633
29576
|
return result200;
|
|
29634
29577
|
});
|
|
29635
29578
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -29637,7 +29580,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29637
29580
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29638
29581
|
});
|
|
29639
29582
|
}
|
|
29640
|
-
return Promise.resolve<
|
|
29583
|
+
return Promise.resolve<PagedResultOfMeasurementFormListDto>(null as any);
|
|
29641
29584
|
}
|
|
29642
29585
|
|
|
29643
29586
|
listMeasurementFormSchemaVersions(id: string): Promise<MeasurementFormSchemaVersionDto[]> {
|
|
@@ -29678,44 +29621,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
29678
29621
|
return Promise.resolve<MeasurementFormSchemaVersionDto[]>(null as any);
|
|
29679
29622
|
}
|
|
29680
29623
|
|
|
29681
|
-
listMeasurementFormSchemaInstances(id: string): Promise<MeasurementFormSchemaInstanceDto[]> {
|
|
29682
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/instances";
|
|
29683
|
-
if (id === undefined || id === null)
|
|
29684
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
29685
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
29686
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
29687
|
-
|
|
29688
|
-
let options_: RequestInit = {
|
|
29689
|
-
method: "GET",
|
|
29690
|
-
headers: {
|
|
29691
|
-
"Accept": "application/json"
|
|
29692
|
-
}
|
|
29693
|
-
};
|
|
29694
|
-
|
|
29695
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
29696
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
29697
|
-
}).then((_response: Response) => {
|
|
29698
|
-
return this.processListMeasurementFormSchemaInstances(_response);
|
|
29699
|
-
});
|
|
29700
|
-
}
|
|
29701
|
-
|
|
29702
|
-
protected processListMeasurementFormSchemaInstances(response: Response): Promise<MeasurementFormSchemaInstanceDto[]> {
|
|
29703
|
-
const status = response.status;
|
|
29704
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
29705
|
-
if (status === 200) {
|
|
29706
|
-
return response.text().then((_responseText) => {
|
|
29707
|
-
let result200: any = null;
|
|
29708
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormSchemaInstanceDto[];
|
|
29709
|
-
return result200;
|
|
29710
|
-
});
|
|
29711
|
-
} else if (status !== 200 && status !== 204) {
|
|
29712
|
-
return response.text().then((_responseText) => {
|
|
29713
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
29714
|
-
});
|
|
29715
|
-
}
|
|
29716
|
-
return Promise.resolve<MeasurementFormSchemaInstanceDto[]>(null as any);
|
|
29717
|
-
}
|
|
29718
|
-
|
|
29719
29624
|
listMeasurementFormSchemaVersionChanges(id: string): Promise<MeasurementFormSchemaVersionChangesDto[]> {
|
|
29720
29625
|
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/versions/changes";
|
|
29721
29626
|
if (id === undefined || id === null)
|
|
@@ -31212,9 +31117,6 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
31212
31117
|
|
|
31213
31118
|
createMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
31214
31119
|
|
|
31215
|
-
/**
|
|
31216
|
-
* @deprecated
|
|
31217
|
-
*/
|
|
31218
31120
|
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
31219
31121
|
|
|
31220
31122
|
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>;
|
|
@@ -31223,21 +31125,8 @@ export interface IMeasurementFormsInstancesInstanceAdminClient {
|
|
|
31223
31125
|
|
|
31224
31126
|
deleteInstancesBulk(request: DeleteMeasurementFormsInstancesBulkRequest): Promise<void>;
|
|
31225
31127
|
|
|
31226
|
-
postCountMeasurementFormsByStatus(request: CountMeasurementFormInstancesRequest | undefined): Promise<MeasurementFormInstanceCountsDto>;
|
|
31227
|
-
|
|
31228
|
-
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto>;
|
|
31229
|
-
|
|
31230
31128
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
31231
31129
|
|
|
31232
|
-
editMeasurementFormInstance(id: string, request: EditMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto>;
|
|
31233
|
-
|
|
31234
|
-
/**
|
|
31235
|
-
* What saving the edited serial numbers would do to them and their measurements, without saving.
|
|
31236
|
-
*/
|
|
31237
|
-
previewMeasurementFormInstanceEdit(id: string, request: PreviewMeasurementFormInstanceEditRequest): Promise<SerialNumberEditPreviewDto>;
|
|
31238
|
-
|
|
31239
|
-
getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]>;
|
|
31240
|
-
|
|
31241
31130
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
31242
31131
|
|
|
31243
31132
|
cancelMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto>;
|
|
@@ -31293,9 +31182,6 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
31293
31182
|
return Promise.resolve<MeasurementFormInstanceDto>(null as any);
|
|
31294
31183
|
}
|
|
31295
31184
|
|
|
31296
|
-
/**
|
|
31297
|
-
* @deprecated
|
|
31298
|
-
*/
|
|
31299
31185
|
updateMeasurementFormInstance(id: string, request: UpdateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto> {
|
|
31300
31186
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}";
|
|
31301
31187
|
if (id === undefined || id === null)
|
|
@@ -31464,84 +31350,6 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
31464
31350
|
return Promise.resolve<void>(null as any);
|
|
31465
31351
|
}
|
|
31466
31352
|
|
|
31467
|
-
postCountMeasurementFormsByStatus(request: CountMeasurementFormInstancesRequest | undefined): Promise<MeasurementFormInstanceCountsDto> {
|
|
31468
|
-
let url_ = this.baseUrl + "/measurementforms/instances/bystatus/v2/counts";
|
|
31469
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
31470
|
-
|
|
31471
|
-
const content_ = JSON.stringify(request);
|
|
31472
|
-
|
|
31473
|
-
let options_: RequestInit = {
|
|
31474
|
-
body: content_,
|
|
31475
|
-
method: "POST",
|
|
31476
|
-
headers: {
|
|
31477
|
-
"Content-Type": "application/json",
|
|
31478
|
-
"Accept": "application/json"
|
|
31479
|
-
}
|
|
31480
|
-
};
|
|
31481
|
-
|
|
31482
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
31483
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
31484
|
-
}).then((_response: Response) => {
|
|
31485
|
-
return this.processPostCountMeasurementFormsByStatus(_response);
|
|
31486
|
-
});
|
|
31487
|
-
}
|
|
31488
|
-
|
|
31489
|
-
protected processPostCountMeasurementFormsByStatus(response: Response): Promise<MeasurementFormInstanceCountsDto> {
|
|
31490
|
-
const status = response.status;
|
|
31491
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
31492
|
-
if (status === 200) {
|
|
31493
|
-
return response.text().then((_responseText) => {
|
|
31494
|
-
let result200: any = null;
|
|
31495
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormInstanceCountsDto;
|
|
31496
|
-
return result200;
|
|
31497
|
-
});
|
|
31498
|
-
} else if (status !== 200 && status !== 204) {
|
|
31499
|
-
return response.text().then((_responseText) => {
|
|
31500
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
31501
|
-
});
|
|
31502
|
-
}
|
|
31503
|
-
return Promise.resolve<MeasurementFormInstanceCountsDto>(null as any);
|
|
31504
|
-
}
|
|
31505
|
-
|
|
31506
|
-
postListMeasurementFormsByStatusV2(request: ListMeasurementFormsByStatusesRequest | undefined): Promise<PagedResultOfMeasurementFormInstanceDto> {
|
|
31507
|
-
let url_ = this.baseUrl + "/measurementforms/instances/bystatus/v2";
|
|
31508
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
31509
|
-
|
|
31510
|
-
const content_ = JSON.stringify(request);
|
|
31511
|
-
|
|
31512
|
-
let options_: RequestInit = {
|
|
31513
|
-
body: content_,
|
|
31514
|
-
method: "POST",
|
|
31515
|
-
headers: {
|
|
31516
|
-
"Content-Type": "application/json",
|
|
31517
|
-
"Accept": "application/json"
|
|
31518
|
-
}
|
|
31519
|
-
};
|
|
31520
|
-
|
|
31521
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
31522
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
31523
|
-
}).then((_response: Response) => {
|
|
31524
|
-
return this.processPostListMeasurementFormsByStatusV2(_response);
|
|
31525
|
-
});
|
|
31526
|
-
}
|
|
31527
|
-
|
|
31528
|
-
protected processPostListMeasurementFormsByStatusV2(response: Response): Promise<PagedResultOfMeasurementFormInstanceDto> {
|
|
31529
|
-
const status = response.status;
|
|
31530
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
31531
|
-
if (status === 200) {
|
|
31532
|
-
return response.text().then((_responseText) => {
|
|
31533
|
-
let result200: any = null;
|
|
31534
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as PagedResultOfMeasurementFormInstanceDto;
|
|
31535
|
-
return result200;
|
|
31536
|
-
});
|
|
31537
|
-
} else if (status !== 200 && status !== 204) {
|
|
31538
|
-
return response.text().then((_responseText) => {
|
|
31539
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
31540
|
-
});
|
|
31541
|
-
}
|
|
31542
|
-
return Promise.resolve<PagedResultOfMeasurementFormInstanceDto>(null as any);
|
|
31543
|
-
}
|
|
31544
|
-
|
|
31545
31353
|
createMeasurementFormInstance2(id: string, request: CreateMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto> {
|
|
31546
31354
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/createinstance";
|
|
31547
31355
|
if (id === undefined || id === null)
|
|
@@ -31584,131 +31392,6 @@ export class MeasurementFormsInstancesInstanceAdminClient extends AuthorizedApiB
|
|
|
31584
31392
|
return Promise.resolve<MeasurementFormInstanceDto>(null as any);
|
|
31585
31393
|
}
|
|
31586
31394
|
|
|
31587
|
-
editMeasurementFormInstance(id: string, request: EditMeasurementFormInstanceRequest): Promise<MeasurementFormInstanceDto> {
|
|
31588
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/edit";
|
|
31589
|
-
if (id === undefined || id === null)
|
|
31590
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
31591
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
31592
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
31593
|
-
|
|
31594
|
-
const content_ = JSON.stringify(request);
|
|
31595
|
-
|
|
31596
|
-
let options_: RequestInit = {
|
|
31597
|
-
body: content_,
|
|
31598
|
-
method: "PUT",
|
|
31599
|
-
headers: {
|
|
31600
|
-
"Content-Type": "application/json",
|
|
31601
|
-
"Accept": "application/json"
|
|
31602
|
-
}
|
|
31603
|
-
};
|
|
31604
|
-
|
|
31605
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
31606
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
31607
|
-
}).then((_response: Response) => {
|
|
31608
|
-
return this.processEditMeasurementFormInstance(_response);
|
|
31609
|
-
});
|
|
31610
|
-
}
|
|
31611
|
-
|
|
31612
|
-
protected processEditMeasurementFormInstance(response: Response): Promise<MeasurementFormInstanceDto> {
|
|
31613
|
-
const status = response.status;
|
|
31614
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
31615
|
-
if (status === 200) {
|
|
31616
|
-
return response.text().then((_responseText) => {
|
|
31617
|
-
let result200: any = null;
|
|
31618
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MeasurementFormInstanceDto;
|
|
31619
|
-
return result200;
|
|
31620
|
-
});
|
|
31621
|
-
} else if (status !== 200 && status !== 204) {
|
|
31622
|
-
return response.text().then((_responseText) => {
|
|
31623
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
31624
|
-
});
|
|
31625
|
-
}
|
|
31626
|
-
return Promise.resolve<MeasurementFormInstanceDto>(null as any);
|
|
31627
|
-
}
|
|
31628
|
-
|
|
31629
|
-
/**
|
|
31630
|
-
* What saving the edited serial numbers would do to them and their measurements, without saving.
|
|
31631
|
-
*/
|
|
31632
|
-
previewMeasurementFormInstanceEdit(id: string, request: PreviewMeasurementFormInstanceEditRequest): Promise<SerialNumberEditPreviewDto> {
|
|
31633
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/edit/preview";
|
|
31634
|
-
if (id === undefined || id === null)
|
|
31635
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
31636
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
31637
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
31638
|
-
|
|
31639
|
-
const content_ = JSON.stringify(request);
|
|
31640
|
-
|
|
31641
|
-
let options_: RequestInit = {
|
|
31642
|
-
body: content_,
|
|
31643
|
-
method: "POST",
|
|
31644
|
-
headers: {
|
|
31645
|
-
"Content-Type": "application/json",
|
|
31646
|
-
"Accept": "application/json"
|
|
31647
|
-
}
|
|
31648
|
-
};
|
|
31649
|
-
|
|
31650
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
31651
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
31652
|
-
}).then((_response: Response) => {
|
|
31653
|
-
return this.processPreviewMeasurementFormInstanceEdit(_response);
|
|
31654
|
-
});
|
|
31655
|
-
}
|
|
31656
|
-
|
|
31657
|
-
protected processPreviewMeasurementFormInstanceEdit(response: Response): Promise<SerialNumberEditPreviewDto> {
|
|
31658
|
-
const status = response.status;
|
|
31659
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
31660
|
-
if (status === 200) {
|
|
31661
|
-
return response.text().then((_responseText) => {
|
|
31662
|
-
let result200: any = null;
|
|
31663
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SerialNumberEditPreviewDto;
|
|
31664
|
-
return result200;
|
|
31665
|
-
});
|
|
31666
|
-
} else if (status !== 200 && status !== 204) {
|
|
31667
|
-
return response.text().then((_responseText) => {
|
|
31668
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
31669
|
-
});
|
|
31670
|
-
}
|
|
31671
|
-
return Promise.resolve<SerialNumberEditPreviewDto>(null as any);
|
|
31672
|
-
}
|
|
31673
|
-
|
|
31674
|
-
getSerialNumberMeasurements(id: string): Promise<SerialNumberMeasurementsDto[]> {
|
|
31675
|
-
let url_ = this.baseUrl + "/measurementforms/instances/{id}/serial-number-measurements";
|
|
31676
|
-
if (id === undefined || id === null)
|
|
31677
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
31678
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
31679
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
31680
|
-
|
|
31681
|
-
let options_: RequestInit = {
|
|
31682
|
-
method: "GET",
|
|
31683
|
-
headers: {
|
|
31684
|
-
"Accept": "application/json"
|
|
31685
|
-
}
|
|
31686
|
-
};
|
|
31687
|
-
|
|
31688
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
31689
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
31690
|
-
}).then((_response: Response) => {
|
|
31691
|
-
return this.processGetSerialNumberMeasurements(_response);
|
|
31692
|
-
});
|
|
31693
|
-
}
|
|
31694
|
-
|
|
31695
|
-
protected processGetSerialNumberMeasurements(response: Response): Promise<SerialNumberMeasurementsDto[]> {
|
|
31696
|
-
const status = response.status;
|
|
31697
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
31698
|
-
if (status === 200) {
|
|
31699
|
-
return response.text().then((_responseText) => {
|
|
31700
|
-
let result200: any = null;
|
|
31701
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SerialNumberMeasurementsDto[];
|
|
31702
|
-
return result200;
|
|
31703
|
-
});
|
|
31704
|
-
} else if (status !== 200 && status !== 204) {
|
|
31705
|
-
return response.text().then((_responseText) => {
|
|
31706
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
31707
|
-
});
|
|
31708
|
-
}
|
|
31709
|
-
return Promise.resolve<SerialNumberMeasurementsDto[]>(null as any);
|
|
31710
|
-
}
|
|
31711
|
-
|
|
31712
31395
|
reactivateMeasurementFormInstance(id: string): Promise<MeasurementFormInstanceDto> {
|
|
31713
31396
|
let url_ = this.baseUrl + "/measurementforms/instances/{id}/reactivate";
|
|
31714
31397
|
if (id === undefined || id === null)
|
|
@@ -36522,6 +36205,7 @@ export interface LinkDto {
|
|
|
36522
36205
|
color?: string | null;
|
|
36523
36206
|
iconName?: string | null;
|
|
36524
36207
|
scope?: string | null;
|
|
36208
|
+
displayOrder?: number | null;
|
|
36525
36209
|
}
|
|
36526
36210
|
|
|
36527
36211
|
export interface CreateLinkRequest {
|
|
@@ -36534,6 +36218,10 @@ export interface CreateLinkRequest {
|
|
|
36534
36218
|
scope?: string | null;
|
|
36535
36219
|
}
|
|
36536
36220
|
|
|
36221
|
+
export interface MoveLinkRequest {
|
|
36222
|
+
displayBeforeId?: string | null;
|
|
36223
|
+
}
|
|
36224
|
+
|
|
36537
36225
|
export interface ExternalServiceCredentialDto {
|
|
36538
36226
|
clientId: string;
|
|
36539
36227
|
clientSecret: string;
|
|
@@ -37769,11 +37457,6 @@ export interface UpdateCdfConfig {
|
|
|
37769
37457
|
clientSecret?: string | null;
|
|
37770
37458
|
}
|
|
37771
37459
|
|
|
37772
|
-
export interface SchemaCreatorFlagBackfillDto {
|
|
37773
|
-
flagged: number;
|
|
37774
|
-
withoutSchema: number;
|
|
37775
|
-
}
|
|
37776
|
-
|
|
37777
37460
|
export interface WorkspaceDefaultsDto {
|
|
37778
37461
|
machineTemplateOverrides?: { [key: string]: string; };
|
|
37779
37462
|
}
|
|
@@ -38398,10 +38081,6 @@ export interface UpdateMesLink {
|
|
|
38398
38081
|
moveLinkRequest?: MoveLinkRequest | null;
|
|
38399
38082
|
}
|
|
38400
38083
|
|
|
38401
|
-
export interface MoveLinkRequest {
|
|
38402
|
-
displayBeforeId?: string | null;
|
|
38403
|
-
}
|
|
38404
|
-
|
|
38405
38084
|
export interface MesLinkPlaceholdersDto {
|
|
38406
38085
|
static: string[];
|
|
38407
38086
|
workOrder: string[];
|
|
@@ -38683,6 +38362,8 @@ export interface ProductionOrderOperationDto {
|
|
|
38683
38362
|
disableSetupRegistration: boolean;
|
|
38684
38363
|
productionStatus: OperationStatusDto;
|
|
38685
38364
|
setupStatus?: OperationStatusDto | null;
|
|
38365
|
+
weekGroup?: string | null;
|
|
38366
|
+
lockType?: PlannerLockType | null;
|
|
38686
38367
|
}
|
|
38687
38368
|
|
|
38688
38369
|
export interface WorkOrderAttachmentDto {
|
|
@@ -40360,6 +40041,8 @@ export interface ImaCopySpecificationRequestDto {
|
|
|
40360
40041
|
export interface ImaUpdateSpecificationDto {
|
|
40361
40042
|
name?: string | null;
|
|
40362
40043
|
number?: string | null;
|
|
40044
|
+
revision?: string | null;
|
|
40045
|
+
date?: Date | null;
|
|
40363
40046
|
status?: ImaSpecificationStatusDto | null;
|
|
40364
40047
|
summary?: string | null;
|
|
40365
40048
|
relatedStandards?: string[] | null;
|
|
@@ -41033,25 +40716,6 @@ export interface ListMeasurementFormSchemasWithHistoryRequest {
|
|
|
41033
40716
|
continuationToken?: string | null;
|
|
41034
40717
|
}
|
|
41035
40718
|
|
|
41036
|
-
export interface PagedResultOfMeasurementFormSchemaOverviewDto {
|
|
41037
|
-
results: MeasurementFormSchemaOverviewDto[];
|
|
41038
|
-
continuationToken?: string | null;
|
|
41039
|
-
}
|
|
41040
|
-
|
|
41041
|
-
export interface MeasurementFormSchemaOverviewDto extends MeasurementFormListDto {
|
|
41042
|
-
referenceCount: number;
|
|
41043
|
-
instanceCount: number;
|
|
41044
|
-
instanceStatusCounts: MeasurementFormInstanceStatusCountDto[];
|
|
41045
|
-
hasSchemaCreator: boolean;
|
|
41046
|
-
}
|
|
41047
|
-
|
|
41048
|
-
export interface MeasurementFormInstanceStatusCountDto {
|
|
41049
|
-
status: MeasurementFormInstanceStatus;
|
|
41050
|
-
count: number;
|
|
41051
|
-
}
|
|
41052
|
-
|
|
41053
|
-
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|
|
41054
|
-
|
|
41055
40719
|
export interface ListMeasurementFormSchemasRequest {
|
|
41056
40720
|
pageSize?: number | null;
|
|
41057
40721
|
customerId?: string | null;
|
|
@@ -41063,37 +40727,6 @@ export interface ListMeasurementFormSchemasRequest {
|
|
|
41063
40727
|
drawingRevision?: string | null;
|
|
41064
40728
|
filter?: string | null;
|
|
41065
40729
|
continuationToken?: string | null;
|
|
41066
|
-
statuses?: MeasurementFormStatus[] | null;
|
|
41067
|
-
/** Schemas for any of these customers. */
|
|
41068
|
-
customerIds?: string[] | null;
|
|
41069
|
-
/** Also schemas without a customer. */
|
|
41070
|
-
withoutCustomer?: boolean | null;
|
|
41071
|
-
/** Schemas with, or without, a schema creator document. */
|
|
41072
|
-
schemaCreator?: boolean | null;
|
|
41073
|
-
}
|
|
41074
|
-
|
|
41075
|
-
export interface MeasurementFormSchemaCountsDto {
|
|
41076
|
-
total: number;
|
|
41077
|
-
draft: number;
|
|
41078
|
-
released: number;
|
|
41079
|
-
revoked: number;
|
|
41080
|
-
schemaCreator: number;
|
|
41081
|
-
withoutCustomer: number;
|
|
41082
|
-
customers: CustomerSchemaCountDto[];
|
|
41083
|
-
}
|
|
41084
|
-
|
|
41085
|
-
export interface CustomerSchemaCountDto {
|
|
41086
|
-
customerId: string;
|
|
41087
|
-
customerName: string;
|
|
41088
|
-
count: number;
|
|
41089
|
-
}
|
|
41090
|
-
|
|
41091
|
-
export interface CountMeasurementFormSchemasRequest {
|
|
41092
|
-
filter?: string | null;
|
|
41093
|
-
statuses?: MeasurementFormStatus[] | null;
|
|
41094
|
-
customerIds?: string[] | null;
|
|
41095
|
-
withoutCustomer?: boolean | null;
|
|
41096
|
-
schemaCreator?: boolean | null;
|
|
41097
40730
|
}
|
|
41098
40731
|
|
|
41099
40732
|
export interface MeasurementFormSchemaVersionDto {
|
|
@@ -41106,15 +40739,6 @@ export interface MeasurementFormSchemaVersionDto {
|
|
|
41106
40739
|
drawingChanged?: boolean | null;
|
|
41107
40740
|
}
|
|
41108
40741
|
|
|
41109
|
-
export interface MeasurementFormSchemaInstanceDto {
|
|
41110
|
-
id: string;
|
|
41111
|
-
schemaId: string;
|
|
41112
|
-
versionId: number;
|
|
41113
|
-
status: MeasurementFormInstanceStatus;
|
|
41114
|
-
progress: number;
|
|
41115
|
-
created: Date;
|
|
41116
|
-
}
|
|
41117
|
-
|
|
41118
40742
|
export interface MeasurementFormSchemaVersionChangesDto {
|
|
41119
40743
|
versionId: number;
|
|
41120
40744
|
added: number;
|
|
@@ -41185,7 +40809,6 @@ export interface MeasurementFormInstanceDto {
|
|
|
41185
40809
|
drawingRevision?: string | null;
|
|
41186
40810
|
customerId?: string | null;
|
|
41187
40811
|
customerName?: string | null;
|
|
41188
|
-
purchaseOrder?: string | null;
|
|
41189
40812
|
quantity: number;
|
|
41190
40813
|
status: MeasurementFormInstanceStatus;
|
|
41191
40814
|
statusChangedDate?: Date | null;
|
|
@@ -41198,6 +40821,8 @@ export interface MeasurementFormInstanceDto {
|
|
|
41198
40821
|
currentResource?: ResourceDto | null;
|
|
41199
40822
|
}
|
|
41200
40823
|
|
|
40824
|
+
export type MeasurementFormInstanceStatus = "Active" | "Cancelled" | "Completed" | "Approved" | "MissingCompletion";
|
|
40825
|
+
|
|
41201
40826
|
export interface MeasurementFormWorkorderSchemaDto {
|
|
41202
40827
|
id: string;
|
|
41203
40828
|
partNumber?: string | null;
|
|
@@ -41211,7 +40836,6 @@ export interface MeasurementFormWorkorderSchemaDto {
|
|
|
41211
40836
|
excludeDrawingFromCustomerDocumentation: boolean;
|
|
41212
40837
|
versionId: number;
|
|
41213
40838
|
specification?: string | null;
|
|
41214
|
-
hasComment: boolean;
|
|
41215
40839
|
progress: MeasurementFormProgressDto;
|
|
41216
40840
|
}
|
|
41217
40841
|
|
|
@@ -41220,8 +40844,6 @@ export interface MeasurementFormProgressDto {
|
|
|
41220
40844
|
requiredValues: number;
|
|
41221
40845
|
values: number;
|
|
41222
40846
|
progress: number;
|
|
41223
|
-
valuesOutsideTolerance: number;
|
|
41224
|
-
comments: number;
|
|
41225
40847
|
}
|
|
41226
40848
|
|
|
41227
40849
|
export interface MeasurementFormWorkorderSequenceDto {
|
|
@@ -41270,7 +40892,6 @@ export interface MeasurementFormInstanceOverviewDto {
|
|
|
41270
40892
|
|
|
41271
40893
|
export interface MeasurementFormInstanceSchemaOverviewDto {
|
|
41272
40894
|
id: string;
|
|
41273
|
-
hasComment: boolean;
|
|
41274
40895
|
}
|
|
41275
40896
|
|
|
41276
40897
|
export interface MeasurementFormInstanceSupplierDto {
|
|
@@ -41536,52 +41157,6 @@ export interface ListMeasurementFormsByStatusRequest {
|
|
|
41536
41157
|
continuationToken?: string | null;
|
|
41537
41158
|
}
|
|
41538
41159
|
|
|
41539
|
-
export interface MeasurementFormInstanceCountsDto {
|
|
41540
|
-
total: number;
|
|
41541
|
-
active: number;
|
|
41542
|
-
completed: number;
|
|
41543
|
-
approved: number;
|
|
41544
|
-
cancelled: number;
|
|
41545
|
-
missingCompletion: number;
|
|
41546
|
-
outsideTolerance: number;
|
|
41547
|
-
comments: number;
|
|
41548
|
-
schemaComment: number;
|
|
41549
|
-
notSharedWithSuppliers: number;
|
|
41550
|
-
suppliers: SupplierInstanceCountDto[];
|
|
41551
|
-
}
|
|
41552
|
-
|
|
41553
|
-
export interface SupplierInstanceCountDto {
|
|
41554
|
-
supplierId: string;
|
|
41555
|
-
supplierName: string;
|
|
41556
|
-
count: number;
|
|
41557
|
-
}
|
|
41558
|
-
|
|
41559
|
-
export interface CountMeasurementFormInstancesRequest {
|
|
41560
|
-
statuses?: MeasurementFormInstanceStatus[];
|
|
41561
|
-
search?: string | null;
|
|
41562
|
-
outsideTolerance?: boolean | null;
|
|
41563
|
-
comments?: boolean | null;
|
|
41564
|
-
schemaComment?: boolean | null;
|
|
41565
|
-
supplierIds?: string[] | null;
|
|
41566
|
-
notSharedWithSuppliers?: boolean | null;
|
|
41567
|
-
}
|
|
41568
|
-
|
|
41569
|
-
export interface ListMeasurementFormsByStatusesRequest {
|
|
41570
|
-
statuses?: MeasurementFormInstanceStatus[];
|
|
41571
|
-
statusChangedSince?: Date | null;
|
|
41572
|
-
onlyWithReports?: boolean | null;
|
|
41573
|
-
pageSize?: number | null;
|
|
41574
|
-
search?: string | null;
|
|
41575
|
-
continuationToken?: string | null;
|
|
41576
|
-
outsideTolerance?: boolean | null;
|
|
41577
|
-
comments?: boolean | null;
|
|
41578
|
-
schemaComment?: boolean | null;
|
|
41579
|
-
/** Instances shared with any of these suppliers. */
|
|
41580
|
-
supplierIds?: string[] | null;
|
|
41581
|
-
/** Also instances shared with no supplier. */
|
|
41582
|
-
notSharedWithSuppliers?: boolean | null;
|
|
41583
|
-
}
|
|
41584
|
-
|
|
41585
41160
|
export interface CreateMeasurementFormInstanceRequest {
|
|
41586
41161
|
schemaId: string;
|
|
41587
41162
|
customerId?: string | null;
|
|
@@ -41607,73 +41182,6 @@ export interface UpdateMeasurementFormInstanceRequest {
|
|
|
41607
41182
|
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
41608
41183
|
}
|
|
41609
41184
|
|
|
41610
|
-
export interface EditMeasurementFormInstanceRequest {
|
|
41611
|
-
customerId?: string | null;
|
|
41612
|
-
customerName?: string | null;
|
|
41613
|
-
purchaseOrder?: string | null;
|
|
41614
|
-
serialNumbers: EditMeasurementFormInstanceSerialNumberDto[];
|
|
41615
|
-
suppliers: MeasurementFormWorkorderSupplierDto[];
|
|
41616
|
-
}
|
|
41617
|
-
|
|
41618
|
-
export interface EditMeasurementFormInstanceSerialNumberDto extends MeasurementFormWorkorderSerialNumberDto {
|
|
41619
|
-
originalSerialNumber?: string | null;
|
|
41620
|
-
usePreviousMeasurements?: boolean | null;
|
|
41621
|
-
}
|
|
41622
|
-
|
|
41623
|
-
export interface SerialNumberEditPreviewDto {
|
|
41624
|
-
rows: SerialNumberEditPreviewRowDto[];
|
|
41625
|
-
removed: SerialNumberEditPreviewRemovedDto[];
|
|
41626
|
-
}
|
|
41627
|
-
|
|
41628
|
-
export interface SerialNumberEditPreviewRowDto {
|
|
41629
|
-
serialNumber: string;
|
|
41630
|
-
originalSerialNumber?: string | null;
|
|
41631
|
-
outcome?: SerialNumberEditOutcomeDto | null;
|
|
41632
|
-
previous?: SerialNumberEditPreviousDto | null;
|
|
41633
|
-
}
|
|
41634
|
-
|
|
41635
|
-
export interface SerialNumberEditOutcomeDto {
|
|
41636
|
-
change: SerialNumberEditChange;
|
|
41637
|
-
measurementCount: number;
|
|
41638
|
-
measuredBy: SerialNumberMeasurerDto[];
|
|
41639
|
-
archivedCount: number;
|
|
41640
|
-
}
|
|
41641
|
-
|
|
41642
|
-
export type SerialNumberEditChange = "Unchanged" | "Updated" | "Added" | "Restored" | "Renamed" | "Removed" | "Replaced";
|
|
41643
|
-
|
|
41644
|
-
export interface SerialNumberMeasurerDto {
|
|
41645
|
-
userId: string;
|
|
41646
|
-
name: string;
|
|
41647
|
-
measurementCount: number;
|
|
41648
|
-
}
|
|
41649
|
-
|
|
41650
|
-
export interface SerialNumberEditPreviousDto {
|
|
41651
|
-
measurementCount: number;
|
|
41652
|
-
archivedAt?: Date | null;
|
|
41653
|
-
ifRestored: SerialNumberEditOutcomeDto;
|
|
41654
|
-
ifNotRestored: SerialNumberEditOutcomeDto;
|
|
41655
|
-
}
|
|
41656
|
-
|
|
41657
|
-
export interface SerialNumberEditPreviewRemovedDto {
|
|
41658
|
-
serialNumber: string;
|
|
41659
|
-
replacedBy?: string | null;
|
|
41660
|
-
outcome: SerialNumberEditOutcomeDto;
|
|
41661
|
-
}
|
|
41662
|
-
|
|
41663
|
-
export interface PreviewMeasurementFormInstanceEditRequest {
|
|
41664
|
-
serialNumbers: EditMeasurementFormInstanceSerialNumberDto[];
|
|
41665
|
-
}
|
|
41666
|
-
|
|
41667
|
-
export interface SerialNumberMeasurementsDto {
|
|
41668
|
-
serialNumber: string;
|
|
41669
|
-
key: string;
|
|
41670
|
-
active: boolean;
|
|
41671
|
-
measurementCount: number;
|
|
41672
|
-
previousMeasurementCount: number;
|
|
41673
|
-
measuredBy: SerialNumberMeasurerDto[];
|
|
41674
|
-
archivedAt?: Date | null;
|
|
41675
|
-
}
|
|
41676
|
-
|
|
41677
41185
|
export interface ProductionCompanyDto {
|
|
41678
41186
|
id: string;
|
|
41679
41187
|
name: string;
|