@ignos/api-client 20261026.325.1-alpha → 20261027.327.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 +25 -23
- package/lib/ignosportal-api.js +85 -46
- package/package.json +1 -1
- package/src/ignosportal-api.ts +104 -66
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2500,6 +2500,21 @@ export declare class MesDocumentsClient extends AuthorizedApiBase implements IMe
|
|
|
2500
2500
|
getDocument(drawingNumber: string, id: string): Promise<DocumentLinkDto>;
|
|
2501
2501
|
protected processGetDocument(response: Response): Promise<DocumentLinkDto>;
|
|
2502
2502
|
}
|
|
2503
|
+
export interface IMesEngageSettingsClient {
|
|
2504
|
+
getEngageSettings(): Promise<EngageCompanySettingsDto>;
|
|
2505
|
+
updateEngageSettings(command: UpdateEngageCompanySettings): Promise<EngageCompanySettingsDto>;
|
|
2506
|
+
}
|
|
2507
|
+
export declare class MesEngageSettingsClient extends AuthorizedApiBase implements IMesEngageSettingsClient {
|
|
2508
|
+
private http;
|
|
2509
|
+
private baseUrl;
|
|
2510
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
2511
|
+
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
2512
|
+
});
|
|
2513
|
+
getEngageSettings(): Promise<EngageCompanySettingsDto>;
|
|
2514
|
+
protected processGetEngageSettings(response: Response): Promise<EngageCompanySettingsDto>;
|
|
2515
|
+
updateEngageSettings(command: UpdateEngageCompanySettings): Promise<EngageCompanySettingsDto>;
|
|
2516
|
+
protected processUpdateEngageSettings(response: Response): Promise<EngageCompanySettingsDto>;
|
|
2517
|
+
}
|
|
2503
2518
|
export interface IMesEngineeringChangeOrdersClient {
|
|
2504
2519
|
getEngineeringChangeOrders(partNumber: string | undefined): Promise<EngineeringChangeOrderDto[]>;
|
|
2505
2520
|
getEngineeringChangeOrderDetails(partNumber: string | undefined): Promise<EngineeringChangeOrdersDto>;
|
|
@@ -2999,10 +3014,6 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2999
3014
|
drawing to derive it from.
|
|
3000
3015
|
*/
|
|
3001
3016
|
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
3002
|
-
/**
|
|
3003
|
-
* Replaces the page grids; the response is the whole state with recomputed sheet zones.
|
|
3004
|
-
*/
|
|
3005
|
-
saveSchemaCreatorGrids(schemaVersionId: string, grids: SchemaCreatorPageGridDto[]): Promise<SchemaCreatorStateDto>;
|
|
3006
3017
|
/**
|
|
3007
3018
|
* Starts a full drawing AI parse: clears every element and locks the
|
|
3008
3019
|
schema for every viewer until it completes. If one is already in
|
|
@@ -3010,7 +3021,7 @@ export interface IInspectSchemaCreatorClient {
|
|
|
3010
3021
|
*/
|
|
3011
3022
|
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
3012
3023
|
/**
|
|
3013
|
-
* Stamps the creator state's
|
|
3024
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
3014
3025
|
returns a temporary download link.
|
|
3015
3026
|
*/
|
|
3016
3027
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
@@ -3049,11 +3060,6 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
3049
3060
|
*/
|
|
3050
3061
|
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
3051
3062
|
protected processGetSchemaCreatorXmlGeometry(response: Response): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
3052
|
-
/**
|
|
3053
|
-
* Replaces the page grids; the response is the whole state with recomputed sheet zones.
|
|
3054
|
-
*/
|
|
3055
|
-
saveSchemaCreatorGrids(schemaVersionId: string, grids: SchemaCreatorPageGridDto[]): Promise<SchemaCreatorStateDto>;
|
|
3056
|
-
protected processSaveSchemaCreatorGrids(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3057
3063
|
/**
|
|
3058
3064
|
* Starts a full drawing AI parse: clears every element and locks the
|
|
3059
3065
|
schema for every viewer until it completes. If one is already in
|
|
@@ -3062,7 +3068,7 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
3062
3068
|
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
3063
3069
|
protected processRequestSchemaCreatorDocumentParse(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3064
3070
|
/**
|
|
3065
|
-
* Stamps the creator state's
|
|
3071
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
3066
3072
|
returns a temporary download link.
|
|
3067
3073
|
*/
|
|
3068
3074
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
@@ -7741,6 +7747,14 @@ export interface WorkerDto {
|
|
|
7741
7747
|
export interface DocumentLinkDto {
|
|
7742
7748
|
url: string;
|
|
7743
7749
|
}
|
|
7750
|
+
export interface EngageCompanySettingsDto {
|
|
7751
|
+
scheduleVisibilityDays?: number | null;
|
|
7752
|
+
startWarningDays?: number | null;
|
|
7753
|
+
}
|
|
7754
|
+
export interface UpdateEngageCompanySettings {
|
|
7755
|
+
scheduleVisibilityDays?: number | null;
|
|
7756
|
+
startWarningDays?: number | null;
|
|
7757
|
+
}
|
|
7744
7758
|
export interface EngineeringChangeOrderDto {
|
|
7745
7759
|
orderNumber: string;
|
|
7746
7760
|
title: string;
|
|
@@ -9586,7 +9600,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
9586
9600
|
export interface SchemaCreatorStateDto {
|
|
9587
9601
|
settings: SchemaCreatorSettingsDto;
|
|
9588
9602
|
elements: SchemaCreatorElementDto[];
|
|
9589
|
-
grids?: SchemaCreatorPageGridDto[];
|
|
9590
9603
|
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
9591
9604
|
isAutoGenerated?: boolean;
|
|
9592
9605
|
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
@@ -9641,7 +9654,6 @@ export interface SchemaCreatorSizeDto {
|
|
|
9641
9654
|
}
|
|
9642
9655
|
export interface SchemaCreatorElementValuesDto {
|
|
9643
9656
|
reference: number;
|
|
9644
|
-
sheetZone?: string | null;
|
|
9645
9657
|
group?: string | null;
|
|
9646
9658
|
unit?: UnitOfMeasureDto | null;
|
|
9647
9659
|
nominal?: number | null;
|
|
@@ -9675,16 +9687,6 @@ export interface SchemaCreatorAuditInfoDto {
|
|
|
9675
9687
|
userId: string;
|
|
9676
9688
|
userFullName?: string | null;
|
|
9677
9689
|
}
|
|
9678
|
-
export interface SchemaCreatorPageGridDto {
|
|
9679
|
-
pageIndex: number;
|
|
9680
|
-
rows: number;
|
|
9681
|
-
columns: number;
|
|
9682
|
-
startValue: number;
|
|
9683
|
-
order: SchemaCreatorGridOrderDto;
|
|
9684
|
-
fontSize: number;
|
|
9685
|
-
frame: SchemaCreatorRectDto;
|
|
9686
|
-
}
|
|
9687
|
-
export type SchemaCreatorGridOrderDto = "Ascending" | "Descending";
|
|
9688
9690
|
export interface SchemaCreatorDocumentParseStatusDto {
|
|
9689
9691
|
inProgress: boolean;
|
|
9690
9692
|
attempt?: SchemaCreatorParseAttemptDto | null;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -21295,6 +21295,90 @@ export class MesDocumentsClient extends AuthorizedApiBase {
|
|
|
21295
21295
|
return Promise.resolve(null);
|
|
21296
21296
|
}
|
|
21297
21297
|
}
|
|
21298
|
+
export class MesEngageSettingsClient extends AuthorizedApiBase {
|
|
21299
|
+
http;
|
|
21300
|
+
baseUrl;
|
|
21301
|
+
constructor(configuration, baseUrl, http) {
|
|
21302
|
+
super(configuration);
|
|
21303
|
+
this.http = http ? http : window;
|
|
21304
|
+
this.baseUrl = baseUrl ?? "";
|
|
21305
|
+
}
|
|
21306
|
+
getEngageSettings() {
|
|
21307
|
+
let url_ = this.baseUrl + "/mes/engage-settings";
|
|
21308
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
21309
|
+
let options_ = {
|
|
21310
|
+
method: "GET",
|
|
21311
|
+
headers: {
|
|
21312
|
+
"Accept": "application/json"
|
|
21313
|
+
}
|
|
21314
|
+
};
|
|
21315
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21316
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
21317
|
+
}).then((_response) => {
|
|
21318
|
+
return this.processGetEngageSettings(_response);
|
|
21319
|
+
});
|
|
21320
|
+
}
|
|
21321
|
+
processGetEngageSettings(response) {
|
|
21322
|
+
const status = response.status;
|
|
21323
|
+
let _headers = {};
|
|
21324
|
+
if (response.headers && response.headers.forEach) {
|
|
21325
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21326
|
+
}
|
|
21327
|
+
;
|
|
21328
|
+
if (status === 200) {
|
|
21329
|
+
return response.text().then((_responseText) => {
|
|
21330
|
+
let result200 = null;
|
|
21331
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
21332
|
+
return result200;
|
|
21333
|
+
});
|
|
21334
|
+
}
|
|
21335
|
+
else if (status !== 200 && status !== 204) {
|
|
21336
|
+
return response.text().then((_responseText) => {
|
|
21337
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
21338
|
+
});
|
|
21339
|
+
}
|
|
21340
|
+
return Promise.resolve(null);
|
|
21341
|
+
}
|
|
21342
|
+
updateEngageSettings(command) {
|
|
21343
|
+
let url_ = this.baseUrl + "/mes/engage-settings";
|
|
21344
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
21345
|
+
const content_ = JSON.stringify(command);
|
|
21346
|
+
let options_ = {
|
|
21347
|
+
body: content_,
|
|
21348
|
+
method: "PUT",
|
|
21349
|
+
headers: {
|
|
21350
|
+
"Content-Type": "application/json",
|
|
21351
|
+
"Accept": "application/json"
|
|
21352
|
+
}
|
|
21353
|
+
};
|
|
21354
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21355
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
21356
|
+
}).then((_response) => {
|
|
21357
|
+
return this.processUpdateEngageSettings(_response);
|
|
21358
|
+
});
|
|
21359
|
+
}
|
|
21360
|
+
processUpdateEngageSettings(response) {
|
|
21361
|
+
const status = response.status;
|
|
21362
|
+
let _headers = {};
|
|
21363
|
+
if (response.headers && response.headers.forEach) {
|
|
21364
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21365
|
+
}
|
|
21366
|
+
;
|
|
21367
|
+
if (status === 200) {
|
|
21368
|
+
return response.text().then((_responseText) => {
|
|
21369
|
+
let result200 = null;
|
|
21370
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
21371
|
+
return result200;
|
|
21372
|
+
});
|
|
21373
|
+
}
|
|
21374
|
+
else if (status !== 200 && status !== 204) {
|
|
21375
|
+
return response.text().then((_responseText) => {
|
|
21376
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
21377
|
+
});
|
|
21378
|
+
}
|
|
21379
|
+
return Promise.resolve(null);
|
|
21380
|
+
}
|
|
21381
|
+
}
|
|
21298
21382
|
export class MesEngineeringChangeOrdersClient extends AuthorizedApiBase {
|
|
21299
21383
|
http;
|
|
21300
21384
|
baseUrl;
|
|
@@ -25296,51 +25380,6 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
25296
25380
|
}
|
|
25297
25381
|
return Promise.resolve(null);
|
|
25298
25382
|
}
|
|
25299
|
-
/**
|
|
25300
|
-
* Replaces the page grids; the response is the whole state with recomputed sheet zones.
|
|
25301
|
-
*/
|
|
25302
|
-
saveSchemaCreatorGrids(schemaVersionId, grids) {
|
|
25303
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/grids";
|
|
25304
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
25305
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
25306
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
25307
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
25308
|
-
const content_ = JSON.stringify(grids);
|
|
25309
|
-
let options_ = {
|
|
25310
|
-
body: content_,
|
|
25311
|
-
method: "PUT",
|
|
25312
|
-
headers: {
|
|
25313
|
-
"Content-Type": "application/json",
|
|
25314
|
-
"Accept": "application/json"
|
|
25315
|
-
}
|
|
25316
|
-
};
|
|
25317
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
25318
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
25319
|
-
}).then((_response) => {
|
|
25320
|
-
return this.processSaveSchemaCreatorGrids(_response);
|
|
25321
|
-
});
|
|
25322
|
-
}
|
|
25323
|
-
processSaveSchemaCreatorGrids(response) {
|
|
25324
|
-
const status = response.status;
|
|
25325
|
-
let _headers = {};
|
|
25326
|
-
if (response.headers && response.headers.forEach) {
|
|
25327
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
25328
|
-
}
|
|
25329
|
-
;
|
|
25330
|
-
if (status === 200) {
|
|
25331
|
-
return response.text().then((_responseText) => {
|
|
25332
|
-
let result200 = null;
|
|
25333
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
25334
|
-
return result200;
|
|
25335
|
-
});
|
|
25336
|
-
}
|
|
25337
|
-
else if (status !== 200 && status !== 204) {
|
|
25338
|
-
return response.text().then((_responseText) => {
|
|
25339
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25340
|
-
});
|
|
25341
|
-
}
|
|
25342
|
-
return Promise.resolve(null);
|
|
25343
|
-
}
|
|
25344
25383
|
/**
|
|
25345
25384
|
* Starts a full drawing AI parse: clears every element and locks the
|
|
25346
25385
|
schema for every viewer until it completes. If one is already in
|
|
@@ -25386,7 +25425,7 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
25386
25425
|
return Promise.resolve(null);
|
|
25387
25426
|
}
|
|
25388
25427
|
/**
|
|
25389
|
-
* Stamps the creator state's
|
|
25428
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
25390
25429
|
returns a temporary download link.
|
|
25391
25430
|
*/
|
|
25392
25431
|
exportSchemaCreatorDrawing(schemaVersionId) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -22597,6 +22597,98 @@ export class MesDocumentsClient extends AuthorizedApiBase implements IMesDocumen
|
|
|
22597
22597
|
}
|
|
22598
22598
|
}
|
|
22599
22599
|
|
|
22600
|
+
export interface IMesEngageSettingsClient {
|
|
22601
|
+
|
|
22602
|
+
getEngageSettings(): Promise<EngageCompanySettingsDto>;
|
|
22603
|
+
|
|
22604
|
+
updateEngageSettings(command: UpdateEngageCompanySettings): Promise<EngageCompanySettingsDto>;
|
|
22605
|
+
}
|
|
22606
|
+
|
|
22607
|
+
export class MesEngageSettingsClient extends AuthorizedApiBase implements IMesEngageSettingsClient {
|
|
22608
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22609
|
+
private baseUrl: string;
|
|
22610
|
+
|
|
22611
|
+
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22612
|
+
super(configuration);
|
|
22613
|
+
this.http = http ? http : window as any;
|
|
22614
|
+
this.baseUrl = baseUrl ?? "";
|
|
22615
|
+
}
|
|
22616
|
+
|
|
22617
|
+
getEngageSettings(): Promise<EngageCompanySettingsDto> {
|
|
22618
|
+
let url_ = this.baseUrl + "/mes/engage-settings";
|
|
22619
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22620
|
+
|
|
22621
|
+
let options_: RequestInit = {
|
|
22622
|
+
method: "GET",
|
|
22623
|
+
headers: {
|
|
22624
|
+
"Accept": "application/json"
|
|
22625
|
+
}
|
|
22626
|
+
};
|
|
22627
|
+
|
|
22628
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22629
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22630
|
+
}).then((_response: Response) => {
|
|
22631
|
+
return this.processGetEngageSettings(_response);
|
|
22632
|
+
});
|
|
22633
|
+
}
|
|
22634
|
+
|
|
22635
|
+
protected processGetEngageSettings(response: Response): Promise<EngageCompanySettingsDto> {
|
|
22636
|
+
const status = response.status;
|
|
22637
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22638
|
+
if (status === 200) {
|
|
22639
|
+
return response.text().then((_responseText) => {
|
|
22640
|
+
let result200: any = null;
|
|
22641
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as EngageCompanySettingsDto;
|
|
22642
|
+
return result200;
|
|
22643
|
+
});
|
|
22644
|
+
} else if (status !== 200 && status !== 204) {
|
|
22645
|
+
return response.text().then((_responseText) => {
|
|
22646
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22647
|
+
});
|
|
22648
|
+
}
|
|
22649
|
+
return Promise.resolve<EngageCompanySettingsDto>(null as any);
|
|
22650
|
+
}
|
|
22651
|
+
|
|
22652
|
+
updateEngageSettings(command: UpdateEngageCompanySettings): Promise<EngageCompanySettingsDto> {
|
|
22653
|
+
let url_ = this.baseUrl + "/mes/engage-settings";
|
|
22654
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22655
|
+
|
|
22656
|
+
const content_ = JSON.stringify(command);
|
|
22657
|
+
|
|
22658
|
+
let options_: RequestInit = {
|
|
22659
|
+
body: content_,
|
|
22660
|
+
method: "PUT",
|
|
22661
|
+
headers: {
|
|
22662
|
+
"Content-Type": "application/json",
|
|
22663
|
+
"Accept": "application/json"
|
|
22664
|
+
}
|
|
22665
|
+
};
|
|
22666
|
+
|
|
22667
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22668
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22669
|
+
}).then((_response: Response) => {
|
|
22670
|
+
return this.processUpdateEngageSettings(_response);
|
|
22671
|
+
});
|
|
22672
|
+
}
|
|
22673
|
+
|
|
22674
|
+
protected processUpdateEngageSettings(response: Response): Promise<EngageCompanySettingsDto> {
|
|
22675
|
+
const status = response.status;
|
|
22676
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22677
|
+
if (status === 200) {
|
|
22678
|
+
return response.text().then((_responseText) => {
|
|
22679
|
+
let result200: any = null;
|
|
22680
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as EngageCompanySettingsDto;
|
|
22681
|
+
return result200;
|
|
22682
|
+
});
|
|
22683
|
+
} else if (status !== 200 && status !== 204) {
|
|
22684
|
+
return response.text().then((_responseText) => {
|
|
22685
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22686
|
+
});
|
|
22687
|
+
}
|
|
22688
|
+
return Promise.resolve<EngageCompanySettingsDto>(null as any);
|
|
22689
|
+
}
|
|
22690
|
+
}
|
|
22691
|
+
|
|
22600
22692
|
export interface IMesEngineeringChangeOrdersClient {
|
|
22601
22693
|
|
|
22602
22694
|
getEngineeringChangeOrders(partNumber: string | undefined): Promise<EngineeringChangeOrderDto[]>;
|
|
@@ -26676,11 +26768,6 @@ export interface IInspectSchemaCreatorClient {
|
|
|
26676
26768
|
*/
|
|
26677
26769
|
getSchemaCreatorXmlGeometry(schemaVersionId: string): Promise<SchemaCreatorXmlGeometryDto[]>;
|
|
26678
26770
|
|
|
26679
|
-
/**
|
|
26680
|
-
* Replaces the page grids; the response is the whole state with recomputed sheet zones.
|
|
26681
|
-
*/
|
|
26682
|
-
saveSchemaCreatorGrids(schemaVersionId: string, grids: SchemaCreatorPageGridDto[]): Promise<SchemaCreatorStateDto>;
|
|
26683
|
-
|
|
26684
26771
|
/**
|
|
26685
26772
|
* Starts a full drawing AI parse: clears every element and locks the
|
|
26686
26773
|
schema for every viewer until it completes. If one is already in
|
|
@@ -26689,7 +26776,7 @@ export interface IInspectSchemaCreatorClient {
|
|
|
26689
26776
|
requestSchemaCreatorDocumentParse(schemaVersionId: string): Promise<SchemaCreatorStateDto>;
|
|
26690
26777
|
|
|
26691
26778
|
/**
|
|
26692
|
-
* Stamps the creator state's
|
|
26779
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26693
26780
|
returns a temporary download link.
|
|
26694
26781
|
*/
|
|
26695
26782
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
@@ -26892,51 +26979,6 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26892
26979
|
return Promise.resolve<SchemaCreatorXmlGeometryDto[]>(null as any);
|
|
26893
26980
|
}
|
|
26894
26981
|
|
|
26895
|
-
/**
|
|
26896
|
-
* Replaces the page grids; the response is the whole state with recomputed sheet zones.
|
|
26897
|
-
*/
|
|
26898
|
-
saveSchemaCreatorGrids(schemaVersionId: string, grids: SchemaCreatorPageGridDto[]): Promise<SchemaCreatorStateDto> {
|
|
26899
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/grids";
|
|
26900
|
-
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26901
|
-
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26902
|
-
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26903
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26904
|
-
|
|
26905
|
-
const content_ = JSON.stringify(grids);
|
|
26906
|
-
|
|
26907
|
-
let options_: RequestInit = {
|
|
26908
|
-
body: content_,
|
|
26909
|
-
method: "PUT",
|
|
26910
|
-
headers: {
|
|
26911
|
-
"Content-Type": "application/json",
|
|
26912
|
-
"Accept": "application/json"
|
|
26913
|
-
}
|
|
26914
|
-
};
|
|
26915
|
-
|
|
26916
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26917
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
26918
|
-
}).then((_response: Response) => {
|
|
26919
|
-
return this.processSaveSchemaCreatorGrids(_response);
|
|
26920
|
-
});
|
|
26921
|
-
}
|
|
26922
|
-
|
|
26923
|
-
protected processSaveSchemaCreatorGrids(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26924
|
-
const status = response.status;
|
|
26925
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26926
|
-
if (status === 200) {
|
|
26927
|
-
return response.text().then((_responseText) => {
|
|
26928
|
-
let result200: any = null;
|
|
26929
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26930
|
-
return result200;
|
|
26931
|
-
});
|
|
26932
|
-
} else if (status !== 200 && status !== 204) {
|
|
26933
|
-
return response.text().then((_responseText) => {
|
|
26934
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26935
|
-
});
|
|
26936
|
-
}
|
|
26937
|
-
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26938
|
-
}
|
|
26939
|
-
|
|
26940
26982
|
/**
|
|
26941
26983
|
* Starts a full drawing AI parse: clears every element and locks the
|
|
26942
26984
|
schema for every viewer until it completes. If one is already in
|
|
@@ -26981,7 +27023,7 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26981
27023
|
}
|
|
26982
27024
|
|
|
26983
27025
|
/**
|
|
26984
|
-
* Stamps the creator state's
|
|
27026
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
26985
27027
|
returns a temporary download link.
|
|
26986
27028
|
*/
|
|
26987
27029
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto> {
|
|
@@ -37787,6 +37829,16 @@ export interface DocumentLinkDto {
|
|
|
37787
37829
|
url: string;
|
|
37788
37830
|
}
|
|
37789
37831
|
|
|
37832
|
+
export interface EngageCompanySettingsDto {
|
|
37833
|
+
scheduleVisibilityDays?: number | null;
|
|
37834
|
+
startWarningDays?: number | null;
|
|
37835
|
+
}
|
|
37836
|
+
|
|
37837
|
+
export interface UpdateEngageCompanySettings {
|
|
37838
|
+
scheduleVisibilityDays?: number | null;
|
|
37839
|
+
startWarningDays?: number | null;
|
|
37840
|
+
}
|
|
37841
|
+
|
|
37790
37842
|
export interface EngineeringChangeOrderDto {
|
|
37791
37843
|
orderNumber: string;
|
|
37792
37844
|
title: string;
|
|
@@ -39848,7 +39900,6 @@ export interface ImaSpecificationLiteDto {
|
|
|
39848
39900
|
export interface SchemaCreatorStateDto {
|
|
39849
39901
|
settings: SchemaCreatorSettingsDto;
|
|
39850
39902
|
elements: SchemaCreatorElementDto[];
|
|
39851
|
-
grids?: SchemaCreatorPageGridDto[];
|
|
39852
39903
|
documentParseStatus?: SchemaCreatorDocumentParseStatusDto | null;
|
|
39853
39904
|
isAutoGenerated?: boolean;
|
|
39854
39905
|
createdBy?: SchemaCreatorAuditInfoDto | null;
|
|
@@ -39914,7 +39965,6 @@ export interface SchemaCreatorSizeDto {
|
|
|
39914
39965
|
|
|
39915
39966
|
export interface SchemaCreatorElementValuesDto {
|
|
39916
39967
|
reference: number;
|
|
39917
|
-
sheetZone?: string | null;
|
|
39918
39968
|
group?: string | null;
|
|
39919
39969
|
unit?: UnitOfMeasureDto | null;
|
|
39920
39970
|
nominal?: number | null;
|
|
@@ -39955,18 +40005,6 @@ export interface SchemaCreatorAuditInfoDto {
|
|
|
39955
40005
|
userFullName?: string | null;
|
|
39956
40006
|
}
|
|
39957
40007
|
|
|
39958
|
-
export interface SchemaCreatorPageGridDto {
|
|
39959
|
-
pageIndex: number;
|
|
39960
|
-
rows: number;
|
|
39961
|
-
columns: number;
|
|
39962
|
-
startValue: number;
|
|
39963
|
-
order: SchemaCreatorGridOrderDto;
|
|
39964
|
-
fontSize: number;
|
|
39965
|
-
frame: SchemaCreatorRectDto;
|
|
39966
|
-
}
|
|
39967
|
-
|
|
39968
|
-
export type SchemaCreatorGridOrderDto = "Ascending" | "Descending";
|
|
39969
|
-
|
|
39970
40008
|
export interface SchemaCreatorDocumentParseStatusDto {
|
|
39971
40009
|
inProgress: boolean;
|
|
39972
40010
|
attempt?: SchemaCreatorParseAttemptDto | null;
|