@ignos/api-client 20261019.313.1-alpha → 20261020.315.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 +99 -21
- package/lib/ignosportal-api.js +356 -47
- package/package.json +1 -1
- package/src/ignosportal-api.ts +445 -63
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -919,12 +919,47 @@ 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
|
+
}
|
|
922
952
|
export interface IMrbClient {
|
|
953
|
+
/**
|
|
954
|
+
* All CoC signers including deleted ones, for signer dropdowns.
|
|
955
|
+
*/
|
|
956
|
+
listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
|
|
923
957
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
|
|
924
958
|
createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
|
|
925
959
|
listRecentMrbIntances(): Promise<MrbInstanceDto[]>;
|
|
926
960
|
getMrbInstance(id: string): Promise<MrbInstanceDto>;
|
|
927
961
|
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
962
|
+
updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
|
|
928
963
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
929
964
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
930
965
|
deleteMrbRevision(id: string, revisionId: number): Promise<void>;
|
|
@@ -984,6 +1019,11 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
984
1019
|
constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
|
|
985
1020
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
986
1021
|
});
|
|
1022
|
+
/**
|
|
1023
|
+
* All CoC signers including deleted ones, for signer dropdowns.
|
|
1024
|
+
*/
|
|
1025
|
+
listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
|
|
1026
|
+
protected processListMrbCocSigners(response: Response): Promise<MrbCocSignerDto[]>;
|
|
987
1027
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
|
|
988
1028
|
protected processListMrbInstances(response: Response): Promise<MrbInstanceDto[]>;
|
|
989
1029
|
createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
|
|
@@ -994,6 +1034,8 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
994
1034
|
protected processGetMrbInstance(response: Response): Promise<MrbInstanceDto>;
|
|
995
1035
|
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
996
1036
|
protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void>;
|
|
1037
|
+
updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
|
|
1038
|
+
protected processUpdateMrbInstanceCocSigner(response: Response): Promise<void>;
|
|
997
1039
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
998
1040
|
protected processListMrbInstanceRevisions(response: Response): Promise<MrbInstanceRevisionDto[]>;
|
|
999
1041
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -2947,10 +2989,6 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2947
2989
|
*/
|
|
2948
2990
|
createSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2949
2991
|
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>;
|
|
2954
2992
|
/**
|
|
2955
2993
|
* Geometry only (no values), derived from the schema's retained
|
|
2956
2994
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -2971,8 +3009,7 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2971
3009
|
exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
|
|
2972
3010
|
/**
|
|
2973
3011
|
* Starts an async snip resolve; the result is delivered through the
|
|
2974
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
2975
|
-
held several elements.
|
|
3012
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
2976
3013
|
* @param image (optional)
|
|
2977
3014
|
*/
|
|
2978
3015
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
@@ -2993,11 +3030,6 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
2993
3030
|
protected processCreateSchemaCreatorState(response: Response): Promise<SchemaCreatorStateDto>;
|
|
2994
3031
|
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
2995
3032
|
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>;
|
|
3001
3033
|
/**
|
|
3002
3034
|
* Geometry only (no values), derived from the schema's retained
|
|
3003
3035
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -3021,8 +3053,7 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
3021
3053
|
protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
|
|
3022
3054
|
/**
|
|
3023
3055
|
* Starts an async snip resolve; the result is delivered through the
|
|
3024
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
3025
|
-
held several elements.
|
|
3056
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
3026
3057
|
* @param image (optional)
|
|
3027
3058
|
*/
|
|
3028
3059
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
@@ -5093,6 +5124,39 @@ export interface NamedCompanyResourceUtilizationDatapointListDto extends Company
|
|
|
5093
5124
|
companyId: string;
|
|
5094
5125
|
companyName: string;
|
|
5095
5126
|
}
|
|
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
|
+
}
|
|
5096
5160
|
export interface MrbInstanceDto {
|
|
5097
5161
|
id: string;
|
|
5098
5162
|
title?: string | null;
|
|
@@ -5113,6 +5177,10 @@ export interface MrbInstanceDto {
|
|
|
5113
5177
|
showSerialNumbersOnFrontPage?: boolean;
|
|
5114
5178
|
showSerialNumbersOnCoC?: boolean;
|
|
5115
5179
|
ncInfo?: string | null;
|
|
5180
|
+
cocSignerSelection: MrbCocSignerSelection;
|
|
5181
|
+
cocSignerId?: string | null;
|
|
5182
|
+
templateShowSignatureOnCoC?: boolean;
|
|
5183
|
+
templateDefaultCocSignerId?: string | null;
|
|
5116
5184
|
}
|
|
5117
5185
|
export interface CustomerOrderLineTraceItemDto {
|
|
5118
5186
|
workOrder: string;
|
|
@@ -5155,9 +5223,20 @@ export interface MrbPartDto {
|
|
|
5155
5223
|
partName?: string | null;
|
|
5156
5224
|
partRevision?: string | null;
|
|
5157
5225
|
}
|
|
5226
|
+
export type MrbCocSignerSelection = "TemplateDefault" | "None" | "Signer";
|
|
5158
5227
|
export interface UpdateMrbInstanceNcInfoRequest {
|
|
5159
5228
|
ncInfo?: string | null;
|
|
5160
5229
|
}
|
|
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
|
+
}
|
|
5161
5240
|
export interface MrbInstanceJobDto {
|
|
5162
5241
|
jobId: string;
|
|
5163
5242
|
mrbInstanceId: string;
|
|
@@ -5257,6 +5336,8 @@ export interface MrbTemplateDto {
|
|
|
5257
5336
|
noContentIndicator?: string | null;
|
|
5258
5337
|
showSerialNumbersOnFrontPage?: boolean;
|
|
5259
5338
|
showSerialNumbersOnCoC?: boolean;
|
|
5339
|
+
showSignatureOnCoC?: boolean;
|
|
5340
|
+
defaultCocSignerId?: string | null;
|
|
5260
5341
|
elements: MrbTemplateElementDto[];
|
|
5261
5342
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
5262
5343
|
}
|
|
@@ -5310,6 +5391,8 @@ export interface UpdateMrbTemplate {
|
|
|
5310
5391
|
noContentIndicator?: string | null;
|
|
5311
5392
|
showSerialNumbersOnFrontPage?: boolean;
|
|
5312
5393
|
showSerialNumbersOnCoC?: boolean;
|
|
5394
|
+
showSignatureOnCoC?: boolean;
|
|
5395
|
+
defaultCocSignerId?: string | null;
|
|
5313
5396
|
}
|
|
5314
5397
|
export interface MrbTemplateUpdateElementDto {
|
|
5315
5398
|
id?: string | null;
|
|
@@ -5387,6 +5470,7 @@ export interface TraceDto {
|
|
|
5387
5470
|
traceType: TraceType;
|
|
5388
5471
|
traceStatus: TraceStatus;
|
|
5389
5472
|
manualCompleted: boolean;
|
|
5473
|
+
lot?: string | null;
|
|
5390
5474
|
materialLinesMissingTraceInformation: number[];
|
|
5391
5475
|
}
|
|
5392
5476
|
export interface TraceItemDto {
|
|
@@ -5493,6 +5577,7 @@ export interface WarehouseLocationDto {
|
|
|
5493
5577
|
export type TraceStatus = "None" | "Unavailable" | "NotNeeded" | "Partial" | "Completed";
|
|
5494
5578
|
export interface UpdateTraceRequest {
|
|
5495
5579
|
items: TraceItemDto[];
|
|
5580
|
+
lot?: string | null;
|
|
5496
5581
|
}
|
|
5497
5582
|
export interface UpdateTraceManualCompletionRequest {
|
|
5498
5583
|
completed: boolean;
|
|
@@ -7811,7 +7896,7 @@ export interface SurroundingOperationDto {
|
|
|
7811
7896
|
export interface WeekCapacityDto {
|
|
7812
7897
|
weekGroup: string;
|
|
7813
7898
|
weekStart: Date;
|
|
7814
|
-
capacityHours: number;
|
|
7899
|
+
capacityHours: number | null;
|
|
7815
7900
|
loadHours: number;
|
|
7816
7901
|
}
|
|
7817
7902
|
export interface PublishPlanRequest {
|
|
@@ -9591,13 +9676,6 @@ export interface SchemaCreatorXmlGeometryDto {
|
|
|
9591
9676
|
balloon: SchemaCreatorPointDto;
|
|
9592
9677
|
pageIndex: number;
|
|
9593
9678
|
}
|
|
9594
|
-
export interface SchemaCreatorChangesDto {
|
|
9595
|
-
upserts?: SchemaCreatorElementDto[];
|
|
9596
|
-
deletes?: string[];
|
|
9597
|
-
order?: string[] | null;
|
|
9598
|
-
settings?: SchemaCreatorSettingsDto | null;
|
|
9599
|
-
recalculateGeneralTolerances?: boolean;
|
|
9600
|
-
}
|
|
9601
9679
|
export interface MeasurementFormSchemaDto {
|
|
9602
9680
|
id: string;
|
|
9603
9681
|
versionId: number;
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -7303,6 +7303,283 @@ 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
|
+
}
|
|
7306
7583
|
export class MrbClient extends AuthorizedApiBase {
|
|
7307
7584
|
http;
|
|
7308
7585
|
baseUrl;
|
|
@@ -7311,6 +7588,45 @@ export class MrbClient extends AuthorizedApiBase {
|
|
|
7311
7588
|
this.http = http ? http : window;
|
|
7312
7589
|
this.baseUrl = baseUrl ?? "";
|
|
7313
7590
|
}
|
|
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
|
+
}
|
|
7314
7630
|
listMrbInstances(customerOrder, customerOrderLine) {
|
|
7315
7631
|
let url_ = this.baseUrl + "/mrb?";
|
|
7316
7632
|
if (customerOrder === null)
|
|
@@ -7506,6 +7822,45 @@ export class MrbClient extends AuthorizedApiBase {
|
|
|
7506
7822
|
}
|
|
7507
7823
|
return Promise.resolve(null);
|
|
7508
7824
|
}
|
|
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
|
+
}
|
|
7509
7864
|
listMrbInstanceRevisions(id) {
|
|
7510
7865
|
let url_ = this.baseUrl + "/mrb/{id}/revisions";
|
|
7511
7866
|
if (id === undefined || id === null)
|
|
@@ -24893,51 +25248,6 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
24893
25248
|
}
|
|
24894
25249
|
return Promise.resolve(null);
|
|
24895
25250
|
}
|
|
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
|
-
}
|
|
24941
25251
|
/**
|
|
24942
25252
|
* Geometry only (no values), derived from the schema's retained
|
|
24943
25253
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -25072,8 +25382,7 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
25072
25382
|
}
|
|
25073
25383
|
/**
|
|
25074
25384
|
* Starts an async snip resolve; the result is delivered through the
|
|
25075
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
25076
|
-
held several elements.
|
|
25385
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
25077
25386
|
* @param image (optional)
|
|
25078
25387
|
*/
|
|
25079
25388
|
requestSchemaCreatorSnipParse(schemaVersionId, elementId, image) {
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -7773,8 +7773,308 @@ 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
|
+
|
|
7776
8071
|
export interface IMrbClient {
|
|
7777
8072
|
|
|
8073
|
+
/**
|
|
8074
|
+
* All CoC signers including deleted ones, for signer dropdowns.
|
|
8075
|
+
*/
|
|
8076
|
+
listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
|
|
8077
|
+
|
|
7778
8078
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
|
|
7779
8079
|
|
|
7780
8080
|
createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
|
|
@@ -7785,6 +8085,8 @@ export interface IMrbClient {
|
|
|
7785
8085
|
|
|
7786
8086
|
updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
|
|
7787
8087
|
|
|
8088
|
+
updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
|
|
8089
|
+
|
|
7788
8090
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
|
|
7789
8091
|
|
|
7790
8092
|
createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
|
|
@@ -7874,6 +8176,44 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
7874
8176
|
this.baseUrl = baseUrl ?? "";
|
|
7875
8177
|
}
|
|
7876
8178
|
|
|
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
|
+
|
|
7877
8217
|
listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]> {
|
|
7878
8218
|
let url_ = this.baseUrl + "/mrb?";
|
|
7879
8219
|
if (customerOrder === null)
|
|
@@ -8066,6 +8406,45 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
|
|
|
8066
8406
|
return Promise.resolve<void>(null as any);
|
|
8067
8407
|
}
|
|
8068
8408
|
|
|
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
|
+
|
|
8069
8448
|
listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]> {
|
|
8070
8449
|
let url_ = this.baseUrl + "/mrb/{id}/revisions";
|
|
8071
8450
|
if (id === undefined || id === null)
|
|
@@ -26286,11 +26665,6 @@ export interface IInspectSchemaCreatorClient {
|
|
|
26286
26665
|
|
|
26287
26666
|
updateSchemaCreatorState(schemaVersionId: string, state: SchemaCreatorStateDto): Promise<SchemaCreatorStateDto>;
|
|
26288
26667
|
|
|
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
|
-
|
|
26294
26668
|
/**
|
|
26295
26669
|
* Geometry only (no values), derived from the schema's retained
|
|
26296
26670
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -26314,8 +26688,7 @@ export interface IInspectSchemaCreatorClient {
|
|
|
26314
26688
|
|
|
26315
26689
|
/**
|
|
26316
26690
|
* Starts an async snip resolve; the result is delivered through the
|
|
26317
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
26318
|
-
held several elements.
|
|
26691
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26319
26692
|
* @param image (optional)
|
|
26320
26693
|
*/
|
|
26321
26694
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
@@ -26463,51 +26836,6 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26463
26836
|
return Promise.resolve<SchemaCreatorStateDto>(null as any);
|
|
26464
26837
|
}
|
|
26465
26838
|
|
|
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
|
-
|
|
26511
26839
|
/**
|
|
26512
26840
|
* Geometry only (no values), derived from the schema's retained
|
|
26513
26841
|
InspectionXpert XML - used to seed a not-yet-created state with real
|
|
@@ -26639,8 +26967,7 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26639
26967
|
|
|
26640
26968
|
/**
|
|
26641
26969
|
* Starts an async snip resolve; the result is delivered through the
|
|
26642
|
-
SchemaCreatorSnipResolved SignalR notification
|
|
26643
|
-
held several elements.
|
|
26970
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
26644
26971
|
* @param image (optional)
|
|
26645
26972
|
*/
|
|
26646
26973
|
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
@@ -34436,6 +34763,45 @@ export interface NamedCompanyResourceUtilizationDatapointListDto extends Company
|
|
|
34436
34763
|
companyName: string;
|
|
34437
34764
|
}
|
|
34438
34765
|
|
|
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
|
+
|
|
34439
34805
|
export interface MrbInstanceDto {
|
|
34440
34806
|
id: string;
|
|
34441
34807
|
title?: string | null;
|
|
@@ -34456,6 +34822,10 @@ export interface MrbInstanceDto {
|
|
|
34456
34822
|
showSerialNumbersOnFrontPage?: boolean;
|
|
34457
34823
|
showSerialNumbersOnCoC?: boolean;
|
|
34458
34824
|
ncInfo?: string | null;
|
|
34825
|
+
cocSignerSelection: MrbCocSignerSelection;
|
|
34826
|
+
cocSignerId?: string | null;
|
|
34827
|
+
templateShowSignatureOnCoC?: boolean;
|
|
34828
|
+
templateDefaultCocSignerId?: string | null;
|
|
34459
34829
|
}
|
|
34460
34830
|
|
|
34461
34831
|
export interface CustomerOrderLineTraceItemDto {
|
|
@@ -34507,10 +34877,24 @@ export interface MrbPartDto {
|
|
|
34507
34877
|
partRevision?: string | null;
|
|
34508
34878
|
}
|
|
34509
34879
|
|
|
34880
|
+
export type MrbCocSignerSelection = "TemplateDefault" | "None" | "Signer";
|
|
34881
|
+
|
|
34510
34882
|
export interface UpdateMrbInstanceNcInfoRequest {
|
|
34511
34883
|
ncInfo?: string | null;
|
|
34512
34884
|
}
|
|
34513
34885
|
|
|
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
|
+
|
|
34514
34898
|
export interface MrbInstanceJobDto {
|
|
34515
34899
|
jobId: string;
|
|
34516
34900
|
mrbInstanceId: string;
|
|
@@ -34623,6 +35007,8 @@ export interface MrbTemplateDto {
|
|
|
34623
35007
|
noContentIndicator?: string | null;
|
|
34624
35008
|
showSerialNumbersOnFrontPage?: boolean;
|
|
34625
35009
|
showSerialNumbersOnCoC?: boolean;
|
|
35010
|
+
showSignatureOnCoC?: boolean;
|
|
35011
|
+
defaultCocSignerId?: string | null;
|
|
34626
35012
|
elements: MrbTemplateElementDto[];
|
|
34627
35013
|
tableOfContents?: MrbTemplateTableOfContentsDto | null;
|
|
34628
35014
|
}
|
|
@@ -34683,6 +35069,8 @@ export interface UpdateMrbTemplate {
|
|
|
34683
35069
|
noContentIndicator?: string | null;
|
|
34684
35070
|
showSerialNumbersOnFrontPage?: boolean;
|
|
34685
35071
|
showSerialNumbersOnCoC?: boolean;
|
|
35072
|
+
showSignatureOnCoC?: boolean;
|
|
35073
|
+
defaultCocSignerId?: string | null;
|
|
34686
35074
|
}
|
|
34687
35075
|
|
|
34688
35076
|
export interface MrbTemplateUpdateElementDto {
|
|
@@ -34766,6 +35154,7 @@ export interface TraceDto {
|
|
|
34766
35154
|
traceType: TraceType;
|
|
34767
35155
|
traceStatus: TraceStatus;
|
|
34768
35156
|
manualCompleted: boolean;
|
|
35157
|
+
lot?: string | null;
|
|
34769
35158
|
materialLinesMissingTraceInformation: number[];
|
|
34770
35159
|
}
|
|
34771
35160
|
|
|
@@ -34890,6 +35279,7 @@ export type TraceStatus = "None" | "Unavailable" | "NotNeeded" | "Partial" | "Co
|
|
|
34890
35279
|
|
|
34891
35280
|
export interface UpdateTraceRequest {
|
|
34892
35281
|
items: TraceItemDto[];
|
|
35282
|
+
lot?: string | null;
|
|
34893
35283
|
}
|
|
34894
35284
|
|
|
34895
35285
|
export interface UpdateTraceManualCompletionRequest {
|
|
@@ -37534,7 +37924,7 @@ export interface SurroundingOperationDto {
|
|
|
37534
37924
|
export interface WeekCapacityDto {
|
|
37535
37925
|
weekGroup: string;
|
|
37536
37926
|
weekStart: Date;
|
|
37537
|
-
capacityHours: number;
|
|
37927
|
+
capacityHours: number | null;
|
|
37538
37928
|
loadHours: number;
|
|
37539
37929
|
}
|
|
37540
37930
|
|
|
@@ -39528,14 +39918,6 @@ export interface SchemaCreatorXmlGeometryDto {
|
|
|
39528
39918
|
pageIndex: number;
|
|
39529
39919
|
}
|
|
39530
39920
|
|
|
39531
|
-
export interface SchemaCreatorChangesDto {
|
|
39532
|
-
upserts?: SchemaCreatorElementDto[];
|
|
39533
|
-
deletes?: string[];
|
|
39534
|
-
order?: string[] | null;
|
|
39535
|
-
settings?: SchemaCreatorSettingsDto | null;
|
|
39536
|
-
recalculateGeneralTolerances?: boolean;
|
|
39537
|
-
}
|
|
39538
|
-
|
|
39539
39921
|
export interface MeasurementFormSchemaDto {
|
|
39540
39922
|
id: string;
|
|
39541
39923
|
versionId: number;
|