@ignos/api-client 20261019.311.1-alpha → 20261019.313.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ignosportal-api.d.ts +21 -97
- package/lib/ignosportal-api.js +47 -356
- package/package.json +1 -1
- package/src/ignosportal-api.ts +63 -443
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -919,47 +919,12 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
|
|
|
919
919
|
getCrossCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
|
|
920
920
|
protected processGetCrossCompanyResourceUtilizationDatapoints(response: Response): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
|
|
921
921
|
}
|
|
922
|
-
export interface IMrbAdminClient {
|
|
923
|
-
getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto>;
|
|
924
|
-
createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
|
|
925
|
-
updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
|
|
926
|
-
deleteMrbSignerTitle(id: string): Promise<void>;
|
|
927
|
-
createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto>;
|
|
928
|
-
updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto>;
|
|
929
|
-
deleteMrbSigner(id: string): Promise<void>;
|
|
930
|
-
}
|
|
931
|
-
export declare class MrbAdminClient extends AuthorizedApiBase implements IMrbAdminClient {
|
|
932
|
-
private http;
|
|
933
|
-
private baseUrl;
|
|
934
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
935
|
-
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
936
|
-
});
|
|
937
|
-
getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto>;
|
|
938
|
-
protected processGetMrbSignatureSettings(response: Response): Promise<MrbSignatureSettingsDto>;
|
|
939
|
-
createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
|
|
940
|
-
protected processCreateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto>;
|
|
941
|
-
updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
|
|
942
|
-
protected processUpdateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto>;
|
|
943
|
-
deleteMrbSignerTitle(id: string): Promise<void>;
|
|
944
|
-
protected processDeleteMrbSignerTitle(response: Response): Promise<void>;
|
|
945
|
-
createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto>;
|
|
946
|
-
protected processCreateMrbSigner(response: Response): Promise<MrbSignerDto>;
|
|
947
|
-
updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto>;
|
|
948
|
-
protected processUpdateMrbSigner(response: Response): Promise<MrbSignerDto>;
|
|
949
|
-
deleteMrbSigner(id: string): Promise<void>;
|
|
950
|
-
protected processDeleteMrbSigner(response: Response): Promise<void>;
|
|
951
|
-
}
|
|
952
922
|
export interface IMrbClient {
|
|
953
|
-
/**
|
|
954
|
-
* All CoC signers including deleted ones, for signer dropdowns.
|
|
955
|
-
*/
|
|
956
|
-
listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
|
|
957
923
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
|
|
958
924
|
createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
|
|
959
925
|
listRecentMrbIntances(): Promise<MrbInstanceDto[]>;
|
|
960
926
|
getMrbInstance(id: string): Promise<MrbInstanceDto>;
|
|
961
927
|
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
962
|
-
updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
|
|
963
928
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
964
929
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
965
930
|
deleteMrbRevision(id: string, revisionId: number): Promise<void>;
|
|
@@ -1019,11 +984,6 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
1019
984
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
1020
985
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
1021
986
|
});
|
|
1022
|
-
/**
|
|
1023
|
-
* All CoC signers including deleted ones, for signer dropdowns.
|
|
1024
|
-
*/
|
|
1025
|
-
listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
|
|
1026
|
-
protected processListMrbCocSigners(response: Response): Promise<MrbCocSignerDto[]>;
|
|
1027
987
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
|
|
1028
988
|
protected processListMrbInstances(response: Response): Promise<MrbInstanceDto[]>;
|
|
1029
989
|
createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
|
|
@@ -1034,8 +994,6 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
1034
994
|
protected processGetMrbInstance(response: Response): Promise<MrbInstanceDto>;
|
|
1035
995
|
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
1036
996
|
protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void>;
|
|
1037
|
-
updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
|
|
1038
|
-
protected processUpdateMrbInstanceCocSigner(response: Response): Promise<void>;
|
|
1039
997
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
1040
998
|
protected processListMrbInstanceRevisions(response: Response): Promise<MrbInstanceRevisionDto[]>;
|
|
1041
999
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -2989,6 +2947,10 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2989
2947
|
*/
|
|
2990
2948
|
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2991
2949
|
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2950
|
+
/**
|
|
2951
|
+
* Saves only what changed; the response is the whole state with server-derived values.
|
|
2952
|
+
*/
|
|
2953
|
+
applySchemaCreatorChanges(schemaVersionId: string, changes: SchemaCreatorChangesDto): Promise<SchemaCreatorStateDto>;
|
|
2992
2954
|
/**
|
|
2993
2955
|
* Geometry only (no values), derived from the schema's retained
|
|
2994
2956
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -3009,7 +2971,8 @@ export interface IInspectSchemaCreatorClient {
|
|
|
3009
2971
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
3010
2972
|
/**
|
|
3011
2973
|
* Starts an async snip resolve; the result is delivered through the
|
|
3012
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
2974
|
+
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
2975
|
+
held several elements.
|
|
3013
2976
|
* @param image (optional)
|
|
3014
2977
|
*/
|
|
3015
2978
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
@@ -3030,6 +2993,11 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
3030
2993
|
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3031
2994
|
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
3032
2995
|
protected processUpdateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2996
|
+
/**
|
|
2997
|
+
* Saves only what changed; the response is the whole state with server-derived values.
|
|
2998
|
+
*/
|
|
2999
|
+
applySchemaCreatorChanges(schemaVersionId: string, changes: SchemaCreatorChangesDto): Promise<SchemaCreatorStateDto>;
|
|
3000
|
+
protected processApplySchemaCreatorChanges(response: Response): Promise<SchemaCreatorStateDto>;
|
|
3033
3001
|
/**
|
|
3034
3002
|
* Geometry only (no values), derived from the schema's retained
|
|
3035
3003
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -3053,7 +3021,8 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
3053
3021
|
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
|
|
3054
3022
|
/**
|
|
3055
3023
|
* Starts an async snip resolve; the result is delivered through the
|
|
3056
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
3024
|
+
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
3025
|
+
held several elements.
|
|
3057
3026
|
* @param image (optional)
|
|
3058
3027
|
*/
|
|
3059
3028
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
@@ -5124,39 +5093,6 @@ export interface NamedCompanyResourceUtilizationDatapointListDto extends Company
|
|
|
5124
5093
|
companyId: string;
|
|
5125
5094
|
companyName: string;
|
|
5126
5095
|
}
|
|
5127
|
-
export interface MrbSignatureSettingsDto {
|
|
5128
|
-
titles: MrbSignerTitleDto[];
|
|
5129
|
-
signers: MrbSignerDto[];
|
|
5130
|
-
}
|
|
5131
|
-
export interface MrbSignerTitleDto {
|
|
5132
|
-
id: string;
|
|
5133
|
-
name: string;
|
|
5134
|
-
}
|
|
5135
|
-
export interface MrbSignerDto {
|
|
5136
|
-
id: string;
|
|
5137
|
-
name: string;
|
|
5138
|
-
titleId: string;
|
|
5139
|
-
titleName?: string | null;
|
|
5140
|
-
titleDeleted: boolean;
|
|
5141
|
-
signatureUrl?: string | null;
|
|
5142
|
-
}
|
|
5143
|
-
export interface MrbSignerTitleRequest {
|
|
5144
|
-
name: string;
|
|
5145
|
-
}
|
|
5146
|
-
export interface CreateMrbSignerRequest {
|
|
5147
|
-
name: string;
|
|
5148
|
-
titleId: string;
|
|
5149
|
-
uploadKey: string;
|
|
5150
|
-
/** File name used when uploading to the temp upload location. */
|
|
5151
|
-
uploadFilename: string;
|
|
5152
|
-
}
|
|
5153
|
-
export interface UpdateMrbSignerRequest {
|
|
5154
|
-
name: string;
|
|
5155
|
-
titleId: string;
|
|
5156
|
-
/** Set to replace the signature image. */
|
|
5157
|
-
uploadKey?: string | null;
|
|
5158
|
-
uploadFilename?: string | null;
|
|
5159
|
-
}
|
|
5160
5096
|
export interface MrbInstanceDto {
|
|
5161
5097
|
id: string;
|
|
5162
5098
|
title?: string | null;
|
|
@@ -5177,10 +5113,6 @@ export interface MrbInstanceDto {
|
|
|
5177
5113
|
showSerialNumbersOnFrontPage?: boolean;
|
|
5178
5114
|
showSerialNumbersOnCoC?: boolean;
|
|
5179
5115
|
ncInfo?: string | null;
|
|
5180
|
-
cocSignerSelection: MrbCocSignerSelection;
|
|
5181
|
-
cocSignerId?: string | null;
|
|
5182
|
-
templateShowSignatureOnCoC?: boolean;
|
|
5183
|
-
templateDefaultCocSignerId?: string | null;
|
|
5184
5116
|
}
|
|
5185
5117
|
export interface CustomerOrderLineTraceItemDto {
|
|
5186
5118
|
workOrder: string;
|
|
@@ -5223,20 +5155,9 @@ export interface MrbPartDto {
|
|
|
5223
5155
|
partName?: string | null;
|
|
5224
5156
|
partRevision?: string | null;
|
|
5225
5157
|
}
|
|
5226
|
-
export type MrbCocSignerSelection = "TemplateDefault" | "None" | "Signer";
|
|
5227
5158
|
export interface UpdateMrbInstanceNcInfoRequest {
|
|
5228
5159
|
ncInfo?: string | null;
|
|
5229
5160
|
}
|
|
5230
|
-
export interface UpdateMrbInstanceCocSignerRequest {
|
|
5231
|
-
selection: MrbCocSignerSelection;
|
|
5232
|
-
signerId?: string | null;
|
|
5233
|
-
}
|
|
5234
|
-
export interface MrbCocSignerDto {
|
|
5235
|
-
id: string;
|
|
5236
|
-
name: string;
|
|
5237
|
-
title?: string | null;
|
|
5238
|
-
deleted: boolean;
|
|
5239
|
-
}
|
|
5240
5161
|
export interface MrbInstanceJobDto {
|
|
5241
5162
|
jobId: string;
|
|
5242
5163
|
mrbInstanceId: string;
|
|
@@ -5336,8 +5257,6 @@ export interface MrbTemplateDto {
|
|
|
5336
5257
|
noContentIndicator?: string | null;
|
|
5337
5258
|
showSerialNumbersOnFrontPage?: boolean;
|
|
5338
5259
|
showSerialNumbersOnCoC?: boolean;
|
|
5339
|
-
showSignatureOnCoC?: boolean;
|
|
5340
|
-
defaultCocSignerId?: string | null;
|
|
5341
5260
|
elements: MrbTemplateElementDto[];
|
|
5342
5261
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
5343
5262
|
}
|
|
@@ -5391,8 +5310,6 @@ export interface UpdateMrbTemplate {
|
|
|
5391
5310
|
noContentIndicator?: string | null;
|
|
5392
5311
|
showSerialNumbersOnFrontPage?: boolean;
|
|
5393
5312
|
showSerialNumbersOnCoC?: boolean;
|
|
5394
|
-
showSignatureOnCoC?: boolean;
|
|
5395
|
-
defaultCocSignerId?: string | null;
|
|
5396
5313
|
}
|
|
5397
5314
|
export interface MrbTemplateUpdateElementDto {
|
|
5398
5315
|
id?: string | null;
|
|
@@ -7894,7 +7811,7 @@ export interface SurroundingOperationDto {
|
|
|
7894
7811
|
export interface WeekCapacityDto {
|
|
7895
7812
|
weekGroup: string;
|
|
7896
7813
|
weekStart: Date;
|
|
7897
|
-
capacityHours: number
|
|
7814
|
+
capacityHours: number;
|
|
7898
7815
|
loadHours: number;
|
|
7899
7816
|
}
|
|
7900
7817
|
export interface PublishPlanRequest {
|
|
@@ -9674,6 +9591,13 @@ export interface SchemaCreatorXmlGeometryDto {
|
|
|
9674
9591
|
balloon: SchemaCreatorPointDto;
|
|
9675
9592
|
pageIndex: number;
|
|
9676
9593
|
}
|
|
9594
|
+
export interface SchemaCreatorChangesDto {
|
|
9595
|
+
upserts?: SchemaCreatorElementDto[];
|
|
9596
|
+
deletes?: string[];
|
|
9597
|
+
order?: string[] | null;
|
|
9598
|
+
settings?: SchemaCreatorSettingsDto | null;
|
|
9599
|
+
recalculateGeneralTolerances?: boolean;
|
|
9600
|
+
}
|
|
9677
9601
|
export interface MeasurementFormSchemaDto {
|
|
9678
9602
|
id: string;
|
|
9679
9603
|
versionId: number;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -7303,283 +7303,6 @@ export class UtilizationClient extends AuthorizedApiBase {
|
|
|
7303
7303
|
return Promise.resolve(null);
|
|
7304
7304
|
}
|
|
7305
7305
|
}
|
|
7306
|
-
export class MrbAdminClient extends AuthorizedApiBase {
|
|
7307
|
-
http;
|
|
7308
|
-
baseUrl;
|
|
7309
|
-
constructor(configuration, baseUrl, http) {
|
|
7310
|
-
super(configuration);
|
|
7311
|
-
this.http = http ? http : window;
|
|
7312
|
-
this.baseUrl = baseUrl ?? "";
|
|
7313
|
-
}
|
|
7314
|
-
getMrbSignatureSettings() {
|
|
7315
|
-
let url_ = this.baseUrl + "/mrb/signature-settings";
|
|
7316
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7317
|
-
let options_ = {
|
|
7318
|
-
method: "GET",
|
|
7319
|
-
headers: {
|
|
7320
|
-
"Accept": "application/json"
|
|
7321
|
-
}
|
|
7322
|
-
};
|
|
7323
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7324
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7325
|
-
}).then((_response) => {
|
|
7326
|
-
return this.processGetMrbSignatureSettings(_response);
|
|
7327
|
-
});
|
|
7328
|
-
}
|
|
7329
|
-
processGetMrbSignatureSettings(response) {
|
|
7330
|
-
const status = response.status;
|
|
7331
|
-
let _headers = {};
|
|
7332
|
-
if (response.headers && response.headers.forEach) {
|
|
7333
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7334
|
-
}
|
|
7335
|
-
;
|
|
7336
|
-
if (status === 200) {
|
|
7337
|
-
return response.text().then((_responseText) => {
|
|
7338
|
-
let result200 = null;
|
|
7339
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7340
|
-
return result200;
|
|
7341
|
-
});
|
|
7342
|
-
}
|
|
7343
|
-
else if (status !== 200 && status !== 204) {
|
|
7344
|
-
return response.text().then((_responseText) => {
|
|
7345
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7346
|
-
});
|
|
7347
|
-
}
|
|
7348
|
-
return Promise.resolve(null);
|
|
7349
|
-
}
|
|
7350
|
-
createMrbSignerTitle(request) {
|
|
7351
|
-
let url_ = this.baseUrl + "/mrb/signer-titles";
|
|
7352
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7353
|
-
const content_ = JSON.stringify(request);
|
|
7354
|
-
let options_ = {
|
|
7355
|
-
body: content_,
|
|
7356
|
-
method: "POST",
|
|
7357
|
-
headers: {
|
|
7358
|
-
"Content-Type": "application/json",
|
|
7359
|
-
"Accept": "application/json"
|
|
7360
|
-
}
|
|
7361
|
-
};
|
|
7362
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7363
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7364
|
-
}).then((_response) => {
|
|
7365
|
-
return this.processCreateMrbSignerTitle(_response);
|
|
7366
|
-
});
|
|
7367
|
-
}
|
|
7368
|
-
processCreateMrbSignerTitle(response) {
|
|
7369
|
-
const status = response.status;
|
|
7370
|
-
let _headers = {};
|
|
7371
|
-
if (response.headers && response.headers.forEach) {
|
|
7372
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7373
|
-
}
|
|
7374
|
-
;
|
|
7375
|
-
if (status === 200) {
|
|
7376
|
-
return response.text().then((_responseText) => {
|
|
7377
|
-
let result200 = null;
|
|
7378
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7379
|
-
return result200;
|
|
7380
|
-
});
|
|
7381
|
-
}
|
|
7382
|
-
else if (status !== 200 && status !== 204) {
|
|
7383
|
-
return response.text().then((_responseText) => {
|
|
7384
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7385
|
-
});
|
|
7386
|
-
}
|
|
7387
|
-
return Promise.resolve(null);
|
|
7388
|
-
}
|
|
7389
|
-
updateMrbSignerTitle(id, request) {
|
|
7390
|
-
let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
|
|
7391
|
-
if (id === undefined || id === null)
|
|
7392
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7393
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7394
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7395
|
-
const content_ = JSON.stringify(request);
|
|
7396
|
-
let options_ = {
|
|
7397
|
-
body: content_,
|
|
7398
|
-
method: "PUT",
|
|
7399
|
-
headers: {
|
|
7400
|
-
"Content-Type": "application/json",
|
|
7401
|
-
"Accept": "application/json"
|
|
7402
|
-
}
|
|
7403
|
-
};
|
|
7404
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7405
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7406
|
-
}).then((_response) => {
|
|
7407
|
-
return this.processUpdateMrbSignerTitle(_response);
|
|
7408
|
-
});
|
|
7409
|
-
}
|
|
7410
|
-
processUpdateMrbSignerTitle(response) {
|
|
7411
|
-
const status = response.status;
|
|
7412
|
-
let _headers = {};
|
|
7413
|
-
if (response.headers && response.headers.forEach) {
|
|
7414
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7415
|
-
}
|
|
7416
|
-
;
|
|
7417
|
-
if (status === 200) {
|
|
7418
|
-
return response.text().then((_responseText) => {
|
|
7419
|
-
let result200 = null;
|
|
7420
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7421
|
-
return result200;
|
|
7422
|
-
});
|
|
7423
|
-
}
|
|
7424
|
-
else if (status !== 200 && status !== 204) {
|
|
7425
|
-
return response.text().then((_responseText) => {
|
|
7426
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7427
|
-
});
|
|
7428
|
-
}
|
|
7429
|
-
return Promise.resolve(null);
|
|
7430
|
-
}
|
|
7431
|
-
deleteMrbSignerTitle(id) {
|
|
7432
|
-
let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
|
|
7433
|
-
if (id === undefined || id === null)
|
|
7434
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7435
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7436
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7437
|
-
let options_ = {
|
|
7438
|
-
method: "DELETE",
|
|
7439
|
-
headers: {}
|
|
7440
|
-
};
|
|
7441
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7442
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7443
|
-
}).then((_response) => {
|
|
7444
|
-
return this.processDeleteMrbSignerTitle(_response);
|
|
7445
|
-
});
|
|
7446
|
-
}
|
|
7447
|
-
processDeleteMrbSignerTitle(response) {
|
|
7448
|
-
const status = response.status;
|
|
7449
|
-
let _headers = {};
|
|
7450
|
-
if (response.headers && response.headers.forEach) {
|
|
7451
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7452
|
-
}
|
|
7453
|
-
;
|
|
7454
|
-
if (status === 204) {
|
|
7455
|
-
return response.text().then((_responseText) => {
|
|
7456
|
-
return;
|
|
7457
|
-
});
|
|
7458
|
-
}
|
|
7459
|
-
else if (status !== 200 && status !== 204) {
|
|
7460
|
-
return response.text().then((_responseText) => {
|
|
7461
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7462
|
-
});
|
|
7463
|
-
}
|
|
7464
|
-
return Promise.resolve(null);
|
|
7465
|
-
}
|
|
7466
|
-
createMrbSigner(request) {
|
|
7467
|
-
let url_ = this.baseUrl + "/mrb/signers";
|
|
7468
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7469
|
-
const content_ = JSON.stringify(request);
|
|
7470
|
-
let options_ = {
|
|
7471
|
-
body: content_,
|
|
7472
|
-
method: "POST",
|
|
7473
|
-
headers: {
|
|
7474
|
-
"Content-Type": "application/json",
|
|
7475
|
-
"Accept": "application/json"
|
|
7476
|
-
}
|
|
7477
|
-
};
|
|
7478
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7479
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7480
|
-
}).then((_response) => {
|
|
7481
|
-
return this.processCreateMrbSigner(_response);
|
|
7482
|
-
});
|
|
7483
|
-
}
|
|
7484
|
-
processCreateMrbSigner(response) {
|
|
7485
|
-
const status = response.status;
|
|
7486
|
-
let _headers = {};
|
|
7487
|
-
if (response.headers && response.headers.forEach) {
|
|
7488
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7489
|
-
}
|
|
7490
|
-
;
|
|
7491
|
-
if (status === 200) {
|
|
7492
|
-
return response.text().then((_responseText) => {
|
|
7493
|
-
let result200 = null;
|
|
7494
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7495
|
-
return result200;
|
|
7496
|
-
});
|
|
7497
|
-
}
|
|
7498
|
-
else if (status !== 200 && status !== 204) {
|
|
7499
|
-
return response.text().then((_responseText) => {
|
|
7500
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7501
|
-
});
|
|
7502
|
-
}
|
|
7503
|
-
return Promise.resolve(null);
|
|
7504
|
-
}
|
|
7505
|
-
updateMrbSigner(id, request) {
|
|
7506
|
-
let url_ = this.baseUrl + "/mrb/signers/{id}";
|
|
7507
|
-
if (id === undefined || id === null)
|
|
7508
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7509
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7510
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7511
|
-
const content_ = JSON.stringify(request);
|
|
7512
|
-
let options_ = {
|
|
7513
|
-
body: content_,
|
|
7514
|
-
method: "PUT",
|
|
7515
|
-
headers: {
|
|
7516
|
-
"Content-Type": "application/json",
|
|
7517
|
-
"Accept": "application/json"
|
|
7518
|
-
}
|
|
7519
|
-
};
|
|
7520
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7521
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7522
|
-
}).then((_response) => {
|
|
7523
|
-
return this.processUpdateMrbSigner(_response);
|
|
7524
|
-
});
|
|
7525
|
-
}
|
|
7526
|
-
processUpdateMrbSigner(response) {
|
|
7527
|
-
const status = response.status;
|
|
7528
|
-
let _headers = {};
|
|
7529
|
-
if (response.headers && response.headers.forEach) {
|
|
7530
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7531
|
-
}
|
|
7532
|
-
;
|
|
7533
|
-
if (status === 200) {
|
|
7534
|
-
return response.text().then((_responseText) => {
|
|
7535
|
-
let result200 = null;
|
|
7536
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7537
|
-
return result200;
|
|
7538
|
-
});
|
|
7539
|
-
}
|
|
7540
|
-
else if (status !== 200 && status !== 204) {
|
|
7541
|
-
return response.text().then((_responseText) => {
|
|
7542
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7543
|
-
});
|
|
7544
|
-
}
|
|
7545
|
-
return Promise.resolve(null);
|
|
7546
|
-
}
|
|
7547
|
-
deleteMrbSigner(id) {
|
|
7548
|
-
let url_ = this.baseUrl + "/mrb/signers/{id}";
|
|
7549
|
-
if (id === undefined || id === null)
|
|
7550
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7551
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7552
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7553
|
-
let options_ = {
|
|
7554
|
-
method: "DELETE",
|
|
7555
|
-
headers: {}
|
|
7556
|
-
};
|
|
7557
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7558
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7559
|
-
}).then((_response) => {
|
|
7560
|
-
return this.processDeleteMrbSigner(_response);
|
|
7561
|
-
});
|
|
7562
|
-
}
|
|
7563
|
-
processDeleteMrbSigner(response) {
|
|
7564
|
-
const status = response.status;
|
|
7565
|
-
let _headers = {};
|
|
7566
|
-
if (response.headers && response.headers.forEach) {
|
|
7567
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7568
|
-
}
|
|
7569
|
-
;
|
|
7570
|
-
if (status === 204) {
|
|
7571
|
-
return response.text().then((_responseText) => {
|
|
7572
|
-
return;
|
|
7573
|
-
});
|
|
7574
|
-
}
|
|
7575
|
-
else if (status !== 200 && status !== 204) {
|
|
7576
|
-
return response.text().then((_responseText) => {
|
|
7577
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7578
|
-
});
|
|
7579
|
-
}
|
|
7580
|
-
return Promise.resolve(null);
|
|
7581
|
-
}
|
|
7582
|
-
}
|
|
7583
7306
|
export class MrbClient extends AuthorizedApiBase {
|
|
7584
7307
|
http;
|
|
7585
7308
|
baseUrl;
|
|
@@ -7588,45 +7311,6 @@ export class MrbClient extends AuthorizedApiBase {
|
|
|
7588
7311
|
this.http = http ? http : window;
|
|
7589
7312
|
this.baseUrl = baseUrl ?? "";
|
|
7590
7313
|
}
|
|
7591
|
-
/**
|
|
7592
|
-
* All CoC signers including deleted ones, for signer dropdowns.
|
|
7593
|
-
*/
|
|
7594
|
-
listMrbCocSigners() {
|
|
7595
|
-
let url_ = this.baseUrl + "/mrb/signers";
|
|
7596
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7597
|
-
let options_ = {
|
|
7598
|
-
method: "GET",
|
|
7599
|
-
headers: {
|
|
7600
|
-
"Accept": "application/json"
|
|
7601
|
-
}
|
|
7602
|
-
};
|
|
7603
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7604
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7605
|
-
}).then((_response) => {
|
|
7606
|
-
return this.processListMrbCocSigners(_response);
|
|
7607
|
-
});
|
|
7608
|
-
}
|
|
7609
|
-
processListMrbCocSigners(response) {
|
|
7610
|
-
const status = response.status;
|
|
7611
|
-
let _headers = {};
|
|
7612
|
-
if (response.headers && response.headers.forEach) {
|
|
7613
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7614
|
-
}
|
|
7615
|
-
;
|
|
7616
|
-
if (status === 200) {
|
|
7617
|
-
return response.text().then((_responseText) => {
|
|
7618
|
-
let result200 = null;
|
|
7619
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
7620
|
-
return result200;
|
|
7621
|
-
});
|
|
7622
|
-
}
|
|
7623
|
-
else if (status !== 200 && status !== 204) {
|
|
7624
|
-
return response.text().then((_responseText) => {
|
|
7625
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7626
|
-
});
|
|
7627
|
-
}
|
|
7628
|
-
return Promise.resolve(null);
|
|
7629
|
-
}
|
|
7630
7314
|
listMrbInstances(customerOrder, customerOrderLine) {
|
|
7631
7315
|
let url_ = this.baseUrl + "/mrb?";
|
|
7632
7316
|
if (customerOrder === null)
|
|
@@ -7822,45 +7506,6 @@ export class MrbClient extends AuthorizedApiBase {
|
|
|
7822
7506
|
}
|
|
7823
7507
|
return Promise.resolve(null);
|
|
7824
7508
|
}
|
|
7825
|
-
updateMrbInstanceCocSigner(id, request) {
|
|
7826
|
-
let url_ = this.baseUrl + "/mrb/{id}/coc-signer";
|
|
7827
|
-
if (id === undefined || id === null)
|
|
7828
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7829
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7830
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7831
|
-
const content_ = JSON.stringify(request);
|
|
7832
|
-
let options_ = {
|
|
7833
|
-
body: content_,
|
|
7834
|
-
method: "PUT",
|
|
7835
|
-
headers: {
|
|
7836
|
-
"Content-Type": "application/json",
|
|
7837
|
-
}
|
|
7838
|
-
};
|
|
7839
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7840
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7841
|
-
}).then((_response) => {
|
|
7842
|
-
return this.processUpdateMrbInstanceCocSigner(_response);
|
|
7843
|
-
});
|
|
7844
|
-
}
|
|
7845
|
-
processUpdateMrbInstanceCocSigner(response) {
|
|
7846
|
-
const status = response.status;
|
|
7847
|
-
let _headers = {};
|
|
7848
|
-
if (response.headers && response.headers.forEach) {
|
|
7849
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
7850
|
-
}
|
|
7851
|
-
;
|
|
7852
|
-
if (status === 204) {
|
|
7853
|
-
return response.text().then((_responseText) => {
|
|
7854
|
-
return;
|
|
7855
|
-
});
|
|
7856
|
-
}
|
|
7857
|
-
else if (status !== 200 && status !== 204) {
|
|
7858
|
-
return response.text().then((_responseText) => {
|
|
7859
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7860
|
-
});
|
|
7861
|
-
}
|
|
7862
|
-
return Promise.resolve(null);
|
|
7863
|
-
}
|
|
7864
7509
|
listMrbInstanceRevisions(id) {
|
|
7865
7510
|
let url_ = this.baseUrl + "/mrb/{id}/revisions";
|
|
7866
7511
|
if (id === undefined || id === null)
|
|
@@ -25248,6 +24893,51 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
25248
24893
|
}
|
|
25249
24894
|
return Promise.resolve(null);
|
|
25250
24895
|
}
|
|
24896
|
+
/**
|
|
24897
|
+
* Saves only what changed; the response is the whole state with server-derived values.
|
|
24898
|
+
*/
|
|
24899
|
+
applySchemaCreatorChanges(schemaVersionId, changes) {
|
|
24900
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
24901
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
24902
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
24903
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
24904
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
24905
|
+
const content_ = JSON.stringify(changes);
|
|
24906
|
+
let options_ = {
|
|
24907
|
+
body: content_,
|
|
24908
|
+
method: "PATCH",
|
|
24909
|
+
headers: {
|
|
24910
|
+
"Content-Type": "application/json",
|
|
24911
|
+
"Accept": "application/json"
|
|
24912
|
+
}
|
|
24913
|
+
};
|
|
24914
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
24915
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
24916
|
+
}).then((_response) => {
|
|
24917
|
+
return this.processApplySchemaCreatorChanges(_response);
|
|
24918
|
+
});
|
|
24919
|
+
}
|
|
24920
|
+
processApplySchemaCreatorChanges(response) {
|
|
24921
|
+
const status = response.status;
|
|
24922
|
+
let _headers = {};
|
|
24923
|
+
if (response.headers && response.headers.forEach) {
|
|
24924
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
24925
|
+
}
|
|
24926
|
+
;
|
|
24927
|
+
if (status === 200) {
|
|
24928
|
+
return response.text().then((_responseText) => {
|
|
24929
|
+
let result200 = null;
|
|
24930
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
24931
|
+
return result200;
|
|
24932
|
+
});
|
|
24933
|
+
}
|
|
24934
|
+
else if (status !== 200 && status !== 204) {
|
|
24935
|
+
return response.text().then((_responseText) => {
|
|
24936
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
24937
|
+
});
|
|
24938
|
+
}
|
|
24939
|
+
return Promise.resolve(null);
|
|
24940
|
+
}
|
|
25251
24941
|
/**
|
|
25252
24942
|
* Geometry only (no values), derived from the schema's retained
|
|
25253
24943
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -25382,7 +25072,8 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
25382
25072
|
}
|
|
25383
25073
|
/**
|
|
25384
25074
|
* Starts an async snip resolve; the result is delivered through the
|
|
25385
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
25075
|
+
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
25076
|
+
held several elements.
|
|
25386
25077
|
* @param image (optional)
|
|
25387
25078
|
*/
|
|
25388
25079
|
requestSchemaCreatorSnipParse(schemaVersionId, elementId, image) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -7773,308 +7773,8 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
|
|
|
7773
7773
|
}
|
|
7774
7774
|
}
|
|
7775
7775
|
|
|
7776
|
-
export interface IMrbAdminClient {
|
|
7777
|
-
|
|
7778
|
-
getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto>;
|
|
7779
|
-
|
|
7780
|
-
createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
|
|
7781
|
-
|
|
7782
|
-
updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
|
|
7783
|
-
|
|
7784
|
-
deleteMrbSignerTitle(id: string): Promise<void>;
|
|
7785
|
-
|
|
7786
|
-
createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto>;
|
|
7787
|
-
|
|
7788
|
-
updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto>;
|
|
7789
|
-
|
|
7790
|
-
deleteMrbSigner(id: string): Promise<void>;
|
|
7791
|
-
}
|
|
7792
|
-
|
|
7793
|
-
export class MrbAdminClient extends AuthorizedApiBase implements IMrbAdminClient {
|
|
7794
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
7795
|
-
private baseUrl: string;
|
|
7796
|
-
|
|
7797
|
-
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
7798
|
-
super(configuration);
|
|
7799
|
-
this.http = http ? http : window as any;
|
|
7800
|
-
this.baseUrl = baseUrl ?? "";
|
|
7801
|
-
}
|
|
7802
|
-
|
|
7803
|
-
getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto> {
|
|
7804
|
-
let url_ = this.baseUrl + "/mrb/signature-settings";
|
|
7805
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7806
|
-
|
|
7807
|
-
let options_: RequestInit = {
|
|
7808
|
-
method: "GET",
|
|
7809
|
-
headers: {
|
|
7810
|
-
"Accept": "application/json"
|
|
7811
|
-
}
|
|
7812
|
-
};
|
|
7813
|
-
|
|
7814
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7815
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7816
|
-
}).then((_response: Response) => {
|
|
7817
|
-
return this.processGetMrbSignatureSettings(_response);
|
|
7818
|
-
});
|
|
7819
|
-
}
|
|
7820
|
-
|
|
7821
|
-
protected processGetMrbSignatureSettings(response: Response): Promise<MrbSignatureSettingsDto> {
|
|
7822
|
-
const status = response.status;
|
|
7823
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7824
|
-
if (status === 200) {
|
|
7825
|
-
return response.text().then((_responseText) => {
|
|
7826
|
-
let result200: any = null;
|
|
7827
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignatureSettingsDto;
|
|
7828
|
-
return result200;
|
|
7829
|
-
});
|
|
7830
|
-
} else if (status !== 200 && status !== 204) {
|
|
7831
|
-
return response.text().then((_responseText) => {
|
|
7832
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7833
|
-
});
|
|
7834
|
-
}
|
|
7835
|
-
return Promise.resolve<MrbSignatureSettingsDto>(null as any);
|
|
7836
|
-
}
|
|
7837
|
-
|
|
7838
|
-
createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto> {
|
|
7839
|
-
let url_ = this.baseUrl + "/mrb/signer-titles";
|
|
7840
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7841
|
-
|
|
7842
|
-
const content_ = JSON.stringify(request);
|
|
7843
|
-
|
|
7844
|
-
let options_: RequestInit = {
|
|
7845
|
-
body: content_,
|
|
7846
|
-
method: "POST",
|
|
7847
|
-
headers: {
|
|
7848
|
-
"Content-Type": "application/json",
|
|
7849
|
-
"Accept": "application/json"
|
|
7850
|
-
}
|
|
7851
|
-
};
|
|
7852
|
-
|
|
7853
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7854
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7855
|
-
}).then((_response: Response) => {
|
|
7856
|
-
return this.processCreateMrbSignerTitle(_response);
|
|
7857
|
-
});
|
|
7858
|
-
}
|
|
7859
|
-
|
|
7860
|
-
protected processCreateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto> {
|
|
7861
|
-
const status = response.status;
|
|
7862
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7863
|
-
if (status === 200) {
|
|
7864
|
-
return response.text().then((_responseText) => {
|
|
7865
|
-
let result200: any = null;
|
|
7866
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerTitleDto;
|
|
7867
|
-
return result200;
|
|
7868
|
-
});
|
|
7869
|
-
} else if (status !== 200 && status !== 204) {
|
|
7870
|
-
return response.text().then((_responseText) => {
|
|
7871
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7872
|
-
});
|
|
7873
|
-
}
|
|
7874
|
-
return Promise.resolve<MrbSignerTitleDto>(null as any);
|
|
7875
|
-
}
|
|
7876
|
-
|
|
7877
|
-
updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto> {
|
|
7878
|
-
let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
|
|
7879
|
-
if (id === undefined || id === null)
|
|
7880
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7881
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7882
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7883
|
-
|
|
7884
|
-
const content_ = JSON.stringify(request);
|
|
7885
|
-
|
|
7886
|
-
let options_: RequestInit = {
|
|
7887
|
-
body: content_,
|
|
7888
|
-
method: "PUT",
|
|
7889
|
-
headers: {
|
|
7890
|
-
"Content-Type": "application/json",
|
|
7891
|
-
"Accept": "application/json"
|
|
7892
|
-
}
|
|
7893
|
-
};
|
|
7894
|
-
|
|
7895
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7896
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7897
|
-
}).then((_response: Response) => {
|
|
7898
|
-
return this.processUpdateMrbSignerTitle(_response);
|
|
7899
|
-
});
|
|
7900
|
-
}
|
|
7901
|
-
|
|
7902
|
-
protected processUpdateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto> {
|
|
7903
|
-
const status = response.status;
|
|
7904
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7905
|
-
if (status === 200) {
|
|
7906
|
-
return response.text().then((_responseText) => {
|
|
7907
|
-
let result200: any = null;
|
|
7908
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerTitleDto;
|
|
7909
|
-
return result200;
|
|
7910
|
-
});
|
|
7911
|
-
} else if (status !== 200 && status !== 204) {
|
|
7912
|
-
return response.text().then((_responseText) => {
|
|
7913
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7914
|
-
});
|
|
7915
|
-
}
|
|
7916
|
-
return Promise.resolve<MrbSignerTitleDto>(null as any);
|
|
7917
|
-
}
|
|
7918
|
-
|
|
7919
|
-
deleteMrbSignerTitle(id: string): Promise<void> {
|
|
7920
|
-
let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
|
|
7921
|
-
if (id === undefined || id === null)
|
|
7922
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7923
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7924
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7925
|
-
|
|
7926
|
-
let options_: RequestInit = {
|
|
7927
|
-
method: "DELETE",
|
|
7928
|
-
headers: {
|
|
7929
|
-
}
|
|
7930
|
-
};
|
|
7931
|
-
|
|
7932
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7933
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7934
|
-
}).then((_response: Response) => {
|
|
7935
|
-
return this.processDeleteMrbSignerTitle(_response);
|
|
7936
|
-
});
|
|
7937
|
-
}
|
|
7938
|
-
|
|
7939
|
-
protected processDeleteMrbSignerTitle(response: Response): Promise<void> {
|
|
7940
|
-
const status = response.status;
|
|
7941
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7942
|
-
if (status === 204) {
|
|
7943
|
-
return response.text().then((_responseText) => {
|
|
7944
|
-
return;
|
|
7945
|
-
});
|
|
7946
|
-
} else if (status !== 200 && status !== 204) {
|
|
7947
|
-
return response.text().then((_responseText) => {
|
|
7948
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7949
|
-
});
|
|
7950
|
-
}
|
|
7951
|
-
return Promise.resolve<void>(null as any);
|
|
7952
|
-
}
|
|
7953
|
-
|
|
7954
|
-
createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto> {
|
|
7955
|
-
let url_ = this.baseUrl + "/mrb/signers";
|
|
7956
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7957
|
-
|
|
7958
|
-
const content_ = JSON.stringify(request);
|
|
7959
|
-
|
|
7960
|
-
let options_: RequestInit = {
|
|
7961
|
-
body: content_,
|
|
7962
|
-
method: "POST",
|
|
7963
|
-
headers: {
|
|
7964
|
-
"Content-Type": "application/json",
|
|
7965
|
-
"Accept": "application/json"
|
|
7966
|
-
}
|
|
7967
|
-
};
|
|
7968
|
-
|
|
7969
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
7970
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
7971
|
-
}).then((_response: Response) => {
|
|
7972
|
-
return this.processCreateMrbSigner(_response);
|
|
7973
|
-
});
|
|
7974
|
-
}
|
|
7975
|
-
|
|
7976
|
-
protected processCreateMrbSigner(response: Response): Promise<MrbSignerDto> {
|
|
7977
|
-
const status = response.status;
|
|
7978
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
7979
|
-
if (status === 200) {
|
|
7980
|
-
return response.text().then((_responseText) => {
|
|
7981
|
-
let result200: any = null;
|
|
7982
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerDto;
|
|
7983
|
-
return result200;
|
|
7984
|
-
});
|
|
7985
|
-
} else if (status !== 200 && status !== 204) {
|
|
7986
|
-
return response.text().then((_responseText) => {
|
|
7987
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7988
|
-
});
|
|
7989
|
-
}
|
|
7990
|
-
return Promise.resolve<MrbSignerDto>(null as any);
|
|
7991
|
-
}
|
|
7992
|
-
|
|
7993
|
-
updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto> {
|
|
7994
|
-
let url_ = this.baseUrl + "/mrb/signers/{id}";
|
|
7995
|
-
if (id === undefined || id === null)
|
|
7996
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
7997
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
7998
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
7999
|
-
|
|
8000
|
-
const content_ = JSON.stringify(request);
|
|
8001
|
-
|
|
8002
|
-
let options_: RequestInit = {
|
|
8003
|
-
body: content_,
|
|
8004
|
-
method: "PUT",
|
|
8005
|
-
headers: {
|
|
8006
|
-
"Content-Type": "application/json",
|
|
8007
|
-
"Accept": "application/json"
|
|
8008
|
-
}
|
|
8009
|
-
};
|
|
8010
|
-
|
|
8011
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
8012
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
8013
|
-
}).then((_response: Response) => {
|
|
8014
|
-
return this.processUpdateMrbSigner(_response);
|
|
8015
|
-
});
|
|
8016
|
-
}
|
|
8017
|
-
|
|
8018
|
-
protected processUpdateMrbSigner(response: Response): Promise<MrbSignerDto> {
|
|
8019
|
-
const status = response.status;
|
|
8020
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
8021
|
-
if (status === 200) {
|
|
8022
|
-
return response.text().then((_responseText) => {
|
|
8023
|
-
let result200: any = null;
|
|
8024
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerDto;
|
|
8025
|
-
return result200;
|
|
8026
|
-
});
|
|
8027
|
-
} else if (status !== 200 && status !== 204) {
|
|
8028
|
-
return response.text().then((_responseText) => {
|
|
8029
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8030
|
-
});
|
|
8031
|
-
}
|
|
8032
|
-
return Promise.resolve<MrbSignerDto>(null as any);
|
|
8033
|
-
}
|
|
8034
|
-
|
|
8035
|
-
deleteMrbSigner(id: string): Promise<void> {
|
|
8036
|
-
let url_ = this.baseUrl + "/mrb/signers/{id}";
|
|
8037
|
-
if (id === undefined || id === null)
|
|
8038
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
8039
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
8040
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
8041
|
-
|
|
8042
|
-
let options_: RequestInit = {
|
|
8043
|
-
method: "DELETE",
|
|
8044
|
-
headers: {
|
|
8045
|
-
}
|
|
8046
|
-
};
|
|
8047
|
-
|
|
8048
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
8049
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
8050
|
-
}).then((_response: Response) => {
|
|
8051
|
-
return this.processDeleteMrbSigner(_response);
|
|
8052
|
-
});
|
|
8053
|
-
}
|
|
8054
|
-
|
|
8055
|
-
protected processDeleteMrbSigner(response: Response): Promise<void> {
|
|
8056
|
-
const status = response.status;
|
|
8057
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
8058
|
-
if (status === 204) {
|
|
8059
|
-
return response.text().then((_responseText) => {
|
|
8060
|
-
return;
|
|
8061
|
-
});
|
|
8062
|
-
} else if (status !== 200 && status !== 204) {
|
|
8063
|
-
return response.text().then((_responseText) => {
|
|
8064
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8065
|
-
});
|
|
8066
|
-
}
|
|
8067
|
-
return Promise.resolve<void>(null as any);
|
|
8068
|
-
}
|
|
8069
|
-
}
|
|
8070
|
-
|
|
8071
7776
|
export interface IMrbClient {
|
|
8072
7777
|
|
|
8073
|
-
/**
|
|
8074
|
-
* All CoC signers including deleted ones, for signer dropdowns.
|
|
8075
|
-
*/
|
|
8076
|
-
listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
|
|
8077
|
-
|
|
8078
7778
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
|
|
8079
7779
|
|
|
8080
7780
|
createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
|
|
@@ -8085,8 +7785,6 @@ export interface IMrbClient {
|
|
|
8085
7785
|
|
|
8086
7786
|
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
8087
7787
|
|
|
8088
|
-
updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
|
|
8089
|
-
|
|
8090
7788
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
8091
7789
|
|
|
8092
7790
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -8176,44 +7874,6 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
8176
7874
|
this.baseUrl = baseUrl ?? "";
|
|
8177
7875
|
}
|
|
8178
7876
|
|
|
8179
|
-
/**
|
|
8180
|
-
* All CoC signers including deleted ones, for signer dropdowns.
|
|
8181
|
-
*/
|
|
8182
|
-
listMrbCocSigners(): Promise<MrbCocSignerDto[]> {
|
|
8183
|
-
let url_ = this.baseUrl + "/mrb/signers";
|
|
8184
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
8185
|
-
|
|
8186
|
-
let options_: RequestInit = {
|
|
8187
|
-
method: "GET",
|
|
8188
|
-
headers: {
|
|
8189
|
-
"Accept": "application/json"
|
|
8190
|
-
}
|
|
8191
|
-
};
|
|
8192
|
-
|
|
8193
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
8194
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
8195
|
-
}).then((_response: Response) => {
|
|
8196
|
-
return this.processListMrbCocSigners(_response);
|
|
8197
|
-
});
|
|
8198
|
-
}
|
|
8199
|
-
|
|
8200
|
-
protected processListMrbCocSigners(response: Response): Promise<MrbCocSignerDto[]> {
|
|
8201
|
-
const status = response.status;
|
|
8202
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
8203
|
-
if (status === 200) {
|
|
8204
|
-
return response.text().then((_responseText) => {
|
|
8205
|
-
let result200: any = null;
|
|
8206
|
-
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbCocSignerDto[];
|
|
8207
|
-
return result200;
|
|
8208
|
-
});
|
|
8209
|
-
} else if (status !== 200 && status !== 204) {
|
|
8210
|
-
return response.text().then((_responseText) => {
|
|
8211
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8212
|
-
});
|
|
8213
|
-
}
|
|
8214
|
-
return Promise.resolve<MrbCocSignerDto[]>(null as any);
|
|
8215
|
-
}
|
|
8216
|
-
|
|
8217
7877
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]> {
|
|
8218
7878
|
let url_ = this.baseUrl + "/mrb?";
|
|
8219
7879
|
if (customerOrder === null)
|
|
@@ -8406,45 +8066,6 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
8406
8066
|
return Promise.resolve<void>(null as any);
|
|
8407
8067
|
}
|
|
8408
8068
|
|
|
8409
|
-
updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void> {
|
|
8410
|
-
let url_ = this.baseUrl + "/mrb/{id}/coc-signer";
|
|
8411
|
-
if (id === undefined || id === null)
|
|
8412
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
8413
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
8414
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
8415
|
-
|
|
8416
|
-
const content_ = JSON.stringify(request);
|
|
8417
|
-
|
|
8418
|
-
let options_: RequestInit = {
|
|
8419
|
-
body: content_,
|
|
8420
|
-
method: "PUT",
|
|
8421
|
-
headers: {
|
|
8422
|
-
"Content-Type": "application/json",
|
|
8423
|
-
}
|
|
8424
|
-
};
|
|
8425
|
-
|
|
8426
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
8427
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
8428
|
-
}).then((_response: Response) => {
|
|
8429
|
-
return this.processUpdateMrbInstanceCocSigner(_response);
|
|
8430
|
-
});
|
|
8431
|
-
}
|
|
8432
|
-
|
|
8433
|
-
protected processUpdateMrbInstanceCocSigner(response: Response): Promise<void> {
|
|
8434
|
-
const status = response.status;
|
|
8435
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
8436
|
-
if (status === 204) {
|
|
8437
|
-
return response.text().then((_responseText) => {
|
|
8438
|
-
return;
|
|
8439
|
-
});
|
|
8440
|
-
} else if (status !== 200 && status !== 204) {
|
|
8441
|
-
return response.text().then((_responseText) => {
|
|
8442
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8443
|
-
});
|
|
8444
|
-
}
|
|
8445
|
-
return Promise.resolve<void>(null as any);
|
|
8446
|
-
}
|
|
8447
|
-
|
|
8448
8069
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]> {
|
|
8449
8070
|
let url_ = this.baseUrl + "/mrb/{id}/revisions";
|
|
8450
8071
|
if (id === undefined || id === null)
|
|
@@ -26665,6 +26286,11 @@ export interface IInspectSchemaCreatorClient {
|
|
|
26665
26286
|
|
|
26666
26287
|
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26667
26288
|
|
|
26289
|
+
/**
|
|
26290
|
+
* Saves only what changed; the response is the whole state with server-derived values.
|
|
26291
|
+
*/
|
|
26292
|
+
applySchemaCreatorChanges(schemaVersionId: string, changes: SchemaCreatorChangesDto): Promise<SchemaCreatorStateDto>;
|
|
26293
|
+
|
|
26668
26294
|
/**
|
|
26669
26295
|
* Geometry only (no values), derived from the schema's retained
|
|
26670
26296
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -26688,7 +26314,8 @@ export interface IInspectSchemaCreatorClient {
|
|
|
26688
26314
|
|
|
26689
26315
|
/**
|
|
26690
26316
|
* Starts an async snip resolve; the result is delivered through the
|
|
26691
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
26317
|
+
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
26318
|
+
held several elements.
|
|
26692
26319
|
* @param image (optional)
|
|
26693
26320
|
*/
|
|
26694
26321
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
@@ -26836,6 +26463,51 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26836
26463
|
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26837
26464
|
}
|
|
26838
26465
|
|
|
26466
|
+
/**
|
|
26467
|
+
* Saves only what changed; the response is the whole state with server-derived values.
|
|
26468
|
+
*/
|
|
26469
|
+
applySchemaCreatorChanges(schemaVersionId: string, changes: SchemaCreatorChangesDto): Promise<SchemaCreatorStateDto> {
|
|
26470
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate";
|
|
26471
|
+
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26472
|
+
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
26473
|
+
url_ = url_.replace("{schemaVersionId}", encodeURIComponent("" + schemaVersionId));
|
|
26474
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
26475
|
+
|
|
26476
|
+
const content_ = JSON.stringify(changes);
|
|
26477
|
+
|
|
26478
|
+
let options_: RequestInit = {
|
|
26479
|
+
body: content_,
|
|
26480
|
+
method: "PATCH",
|
|
26481
|
+
headers: {
|
|
26482
|
+
"Content-Type": "application/json",
|
|
26483
|
+
"Accept": "application/json"
|
|
26484
|
+
}
|
|
26485
|
+
};
|
|
26486
|
+
|
|
26487
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
26488
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
26489
|
+
}).then((_response: Response) => {
|
|
26490
|
+
return this.processApplySchemaCreatorChanges(_response);
|
|
26491
|
+
});
|
|
26492
|
+
}
|
|
26493
|
+
|
|
26494
|
+
protected processApplySchemaCreatorChanges(response: Response): Promise<SchemaCreatorStateDto> {
|
|
26495
|
+
const status = response.status;
|
|
26496
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
26497
|
+
if (status === 200) {
|
|
26498
|
+
return response.text().then((_responseText) => {
|
|
26499
|
+
let result200: any = null;
|
|
26500
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SchemaCreatorStateDto;
|
|
26501
|
+
return result200;
|
|
26502
|
+
});
|
|
26503
|
+
} else if (status !== 200 && status !== 204) {
|
|
26504
|
+
return response.text().then((_responseText) => {
|
|
26505
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26506
|
+
});
|
|
26507
|
+
}
|
|
26508
|
+
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26509
|
+
}
|
|
26510
|
+
|
|
26839
26511
|
/**
|
|
26840
26512
|
* Geometry only (no values), derived from the schema's retained
|
|
26841
26513
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -26967,7 +26639,8 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26967
26639
|
|
|
26968
26640
|
/**
|
|
26969
26641
|
* Starts an async snip resolve; the result is delivered through the
|
|
26970
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
26642
|
+
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
26643
|
+
held several elements.
|
|
26971
26644
|
* @param image (optional)
|
|
26972
26645
|
*/
|
|
26973
26646
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
@@ -34763,45 +34436,6 @@ export interface NamedCompanyResourceUtilizationDatapointListDto extends Company
|
|
|
34763
34436
|
companyName: string;
|
|
34764
34437
|
}
|
|
34765
34438
|
|
|
34766
|
-
export interface MrbSignatureSettingsDto {
|
|
34767
|
-
titles: MrbSignerTitleDto[];
|
|
34768
|
-
signers: MrbSignerDto[];
|
|
34769
|
-
}
|
|
34770
|
-
|
|
34771
|
-
export interface MrbSignerTitleDto {
|
|
34772
|
-
id: string;
|
|
34773
|
-
name: string;
|
|
34774
|
-
}
|
|
34775
|
-
|
|
34776
|
-
export interface MrbSignerDto {
|
|
34777
|
-
id: string;
|
|
34778
|
-
name: string;
|
|
34779
|
-
titleId: string;
|
|
34780
|
-
titleName?: string | null;
|
|
34781
|
-
titleDeleted: boolean;
|
|
34782
|
-
signatureUrl?: string | null;
|
|
34783
|
-
}
|
|
34784
|
-
|
|
34785
|
-
export interface MrbSignerTitleRequest {
|
|
34786
|
-
name: string;
|
|
34787
|
-
}
|
|
34788
|
-
|
|
34789
|
-
export interface CreateMrbSignerRequest {
|
|
34790
|
-
name: string;
|
|
34791
|
-
titleId: string;
|
|
34792
|
-
uploadKey: string;
|
|
34793
|
-
/** File name used when uploading to the temp upload location. */
|
|
34794
|
-
uploadFilename: string;
|
|
34795
|
-
}
|
|
34796
|
-
|
|
34797
|
-
export interface UpdateMrbSignerRequest {
|
|
34798
|
-
name: string;
|
|
34799
|
-
titleId: string;
|
|
34800
|
-
/** Set to replace the signature image. */
|
|
34801
|
-
uploadKey?: string | null;
|
|
34802
|
-
uploadFilename?: string | null;
|
|
34803
|
-
}
|
|
34804
|
-
|
|
34805
34439
|
export interface MrbInstanceDto {
|
|
34806
34440
|
id: string;
|
|
34807
34441
|
title?: string | null;
|
|
@@ -34822,10 +34456,6 @@ export interface MrbInstanceDto {
|
|
|
34822
34456
|
showSerialNumbersOnFrontPage?: boolean;
|
|
34823
34457
|
showSerialNumbersOnCoC?: boolean;
|
|
34824
34458
|
ncInfo?: string | null;
|
|
34825
|
-
cocSignerSelection: MrbCocSignerSelection;
|
|
34826
|
-
cocSignerId?: string | null;
|
|
34827
|
-
templateShowSignatureOnCoC?: boolean;
|
|
34828
|
-
templateDefaultCocSignerId?: string | null;
|
|
34829
34459
|
}
|
|
34830
34460
|
|
|
34831
34461
|
export interface CustomerOrderLineTraceItemDto {
|
|
@@ -34877,24 +34507,10 @@ export interface MrbPartDto {
|
|
|
34877
34507
|
partRevision?: string | null;
|
|
34878
34508
|
}
|
|
34879
34509
|
|
|
34880
|
-
export type MrbCocSignerSelection = "TemplateDefault" | "None" | "Signer";
|
|
34881
|
-
|
|
34882
34510
|
export interface UpdateMrbInstanceNcInfoRequest {
|
|
34883
34511
|
ncInfo?: string | null;
|
|
34884
34512
|
}
|
|
34885
34513
|
|
|
34886
|
-
export interface UpdateMrbInstanceCocSignerRequest {
|
|
34887
|
-
selection: MrbCocSignerSelection;
|
|
34888
|
-
signerId?: string | null;
|
|
34889
|
-
}
|
|
34890
|
-
|
|
34891
|
-
export interface MrbCocSignerDto {
|
|
34892
|
-
id: string;
|
|
34893
|
-
name: string;
|
|
34894
|
-
title?: string | null;
|
|
34895
|
-
deleted: boolean;
|
|
34896
|
-
}
|
|
34897
|
-
|
|
34898
34514
|
export interface MrbInstanceJobDto {
|
|
34899
34515
|
jobId: string;
|
|
34900
34516
|
mrbInstanceId: string;
|
|
@@ -35007,8 +34623,6 @@ export interface MrbTemplateDto {
|
|
|
35007
34623
|
noContentIndicator?: string | null;
|
|
35008
34624
|
showSerialNumbersOnFrontPage?: boolean;
|
|
35009
34625
|
showSerialNumbersOnCoC?: boolean;
|
|
35010
|
-
showSignatureOnCoC?: boolean;
|
|
35011
|
-
defaultCocSignerId?: string | null;
|
|
35012
34626
|
elements: MrbTemplateElementDto[];
|
|
35013
34627
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
35014
34628
|
}
|
|
@@ -35069,8 +34683,6 @@ export interface UpdateMrbTemplate {
|
|
|
35069
34683
|
noContentIndicator?: string | null;
|
|
35070
34684
|
showSerialNumbersOnFrontPage?: boolean;
|
|
35071
34685
|
showSerialNumbersOnCoC?: boolean;
|
|
35072
|
-
showSignatureOnCoC?: boolean;
|
|
35073
|
-
defaultCocSignerId?: string | null;
|
|
35074
34686
|
}
|
|
35075
34687
|
|
|
35076
34688
|
export interface MrbTemplateUpdateElementDto {
|
|
@@ -37922,7 +37534,7 @@ export interface SurroundingOperationDto {
|
|
|
37922
37534
|
export interface WeekCapacityDto {
|
|
37923
37535
|
weekGroup: string;
|
|
37924
37536
|
weekStart: Date;
|
|
37925
|
-
capacityHours: number
|
|
37537
|
+
capacityHours: number;
|
|
37926
37538
|
loadHours: number;
|
|
37927
37539
|
}
|
|
37928
37540
|
|
|
@@ -39916,6 +39528,14 @@ export interface SchemaCreatorXmlGeometryDto {
|
|
|
39916
39528
|
pageIndex: number;
|
|
39917
39529
|
}
|
|
39918
39530
|
|
|
39531
|
+
export interface SchemaCreatorChangesDto {
|
|
39532
|
+
upserts?: SchemaCreatorElementDto[];
|
|
39533
|
+
deletes?: string[];
|
|
39534
|
+
order?: string[] | null;
|
|
39535
|
+
settings?: SchemaCreatorSettingsDto | null;
|
|
39536
|
+
recalculateGeneralTolerances?: boolean;
|
|
39537
|
+
}
|
|
39538
|
+
|
|
39919
39539
|
export interface MeasurementFormSchemaDto {
|
|
39920
39540
|
id: string;
|
|
39921
39541
|
versionId: number;
|