@ignos/api-client 20250822.0.12415-alpha → 20250825.0.12417
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 +203 -232
- package/lib/ignosportal-api.js +1383 -1393
- package/package.json +1 -1
- package/src/ignosportal-api.ts +808 -846
package/src/ignosportal-api.ts
CHANGED
|
@@ -18120,368 +18120,6 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
|
|
|
18120
18120
|
}
|
|
18121
18121
|
}
|
|
18122
18122
|
|
|
18123
|
-
export interface IElectricalClient {
|
|
18124
|
-
|
|
18125
|
-
listElectricalSourceTypes(): Promise<IotTypeSourceDto[]>;
|
|
18126
|
-
|
|
18127
|
-
listElectricalDataConfigs(): Promise<ElectricalIotConfigDto[]>;
|
|
18128
|
-
|
|
18129
|
-
createElectricalIotConfig(request: CreateElectricalIotConfig): Promise<ElectricalIotConfigDto>;
|
|
18130
|
-
|
|
18131
|
-
deleteElectricalIotConfig(typeId: string, id: string): Promise<void>;
|
|
18132
|
-
}
|
|
18133
|
-
|
|
18134
|
-
export class ElectricalClient extends AuthorizedApiBase implements IElectricalClient {
|
|
18135
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18136
|
-
private baseUrl: string;
|
|
18137
|
-
protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
|
|
18138
|
-
|
|
18139
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18140
|
-
super(configuration);
|
|
18141
|
-
this.http = http ? http : window as any;
|
|
18142
|
-
this.baseUrl = baseUrl ?? "";
|
|
18143
|
-
}
|
|
18144
|
-
|
|
18145
|
-
listElectricalSourceTypes(): Promise<IotTypeSourceDto[]> {
|
|
18146
|
-
let url_ = this.baseUrl + "/iot/electrical/sourcetypes";
|
|
18147
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18148
|
-
|
|
18149
|
-
let options_: RequestInit = {
|
|
18150
|
-
method: "GET",
|
|
18151
|
-
headers: {
|
|
18152
|
-
"Accept": "application/json"
|
|
18153
|
-
}
|
|
18154
|
-
};
|
|
18155
|
-
|
|
18156
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18157
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18158
|
-
}).then((_response: Response) => {
|
|
18159
|
-
return this.processListElectricalSourceTypes(_response);
|
|
18160
|
-
});
|
|
18161
|
-
}
|
|
18162
|
-
|
|
18163
|
-
protected processListElectricalSourceTypes(response: Response): Promise<IotTypeSourceDto[]> {
|
|
18164
|
-
const status = response.status;
|
|
18165
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18166
|
-
if (status === 200) {
|
|
18167
|
-
return response.text().then((_responseText) => {
|
|
18168
|
-
let result200: any = null;
|
|
18169
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18170
|
-
if (Array.isArray(resultData200)) {
|
|
18171
|
-
result200 = [] as any;
|
|
18172
|
-
for (let item of resultData200)
|
|
18173
|
-
result200!.push(IotTypeSourceDto.fromJS(item));
|
|
18174
|
-
}
|
|
18175
|
-
return result200;
|
|
18176
|
-
});
|
|
18177
|
-
} else if (status !== 200 && status !== 204) {
|
|
18178
|
-
return response.text().then((_responseText) => {
|
|
18179
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18180
|
-
});
|
|
18181
|
-
}
|
|
18182
|
-
return Promise.resolve<IotTypeSourceDto[]>(null as any);
|
|
18183
|
-
}
|
|
18184
|
-
|
|
18185
|
-
listElectricalDataConfigs(): Promise<ElectricalIotConfigDto[]> {
|
|
18186
|
-
let url_ = this.baseUrl + "/iot/electrical";
|
|
18187
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18188
|
-
|
|
18189
|
-
let options_: RequestInit = {
|
|
18190
|
-
method: "GET",
|
|
18191
|
-
headers: {
|
|
18192
|
-
"Accept": "application/json"
|
|
18193
|
-
}
|
|
18194
|
-
};
|
|
18195
|
-
|
|
18196
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18197
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18198
|
-
}).then((_response: Response) => {
|
|
18199
|
-
return this.processListElectricalDataConfigs(_response);
|
|
18200
|
-
});
|
|
18201
|
-
}
|
|
18202
|
-
|
|
18203
|
-
protected processListElectricalDataConfigs(response: Response): Promise<ElectricalIotConfigDto[]> {
|
|
18204
|
-
const status = response.status;
|
|
18205
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18206
|
-
if (status === 200) {
|
|
18207
|
-
return response.text().then((_responseText) => {
|
|
18208
|
-
let result200: any = null;
|
|
18209
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18210
|
-
if (Array.isArray(resultData200)) {
|
|
18211
|
-
result200 = [] as any;
|
|
18212
|
-
for (let item of resultData200)
|
|
18213
|
-
result200!.push(ElectricalIotConfigDto.fromJS(item));
|
|
18214
|
-
}
|
|
18215
|
-
return result200;
|
|
18216
|
-
});
|
|
18217
|
-
} else if (status !== 200 && status !== 204) {
|
|
18218
|
-
return response.text().then((_responseText) => {
|
|
18219
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18220
|
-
});
|
|
18221
|
-
}
|
|
18222
|
-
return Promise.resolve<ElectricalIotConfigDto[]>(null as any);
|
|
18223
|
-
}
|
|
18224
|
-
|
|
18225
|
-
createElectricalIotConfig(request: CreateElectricalIotConfig): Promise<ElectricalIotConfigDto> {
|
|
18226
|
-
let url_ = this.baseUrl + "/iot/electrical";
|
|
18227
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18228
|
-
|
|
18229
|
-
const content_ = JSON.stringify(request);
|
|
18230
|
-
|
|
18231
|
-
let options_: RequestInit = {
|
|
18232
|
-
body: content_,
|
|
18233
|
-
method: "POST",
|
|
18234
|
-
headers: {
|
|
18235
|
-
"Content-Type": "application/json",
|
|
18236
|
-
"Accept": "application/json"
|
|
18237
|
-
}
|
|
18238
|
-
};
|
|
18239
|
-
|
|
18240
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18241
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18242
|
-
}).then((_response: Response) => {
|
|
18243
|
-
return this.processCreateElectricalIotConfig(_response);
|
|
18244
|
-
});
|
|
18245
|
-
}
|
|
18246
|
-
|
|
18247
|
-
protected processCreateElectricalIotConfig(response: Response): Promise<ElectricalIotConfigDto> {
|
|
18248
|
-
const status = response.status;
|
|
18249
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18250
|
-
if (status === 200) {
|
|
18251
|
-
return response.text().then((_responseText) => {
|
|
18252
|
-
let result200: any = null;
|
|
18253
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18254
|
-
result200 = ElectricalIotConfigDto.fromJS(resultData200);
|
|
18255
|
-
return result200;
|
|
18256
|
-
});
|
|
18257
|
-
} else if (status !== 200 && status !== 204) {
|
|
18258
|
-
return response.text().then((_responseText) => {
|
|
18259
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18260
|
-
});
|
|
18261
|
-
}
|
|
18262
|
-
return Promise.resolve<ElectricalIotConfigDto>(null as any);
|
|
18263
|
-
}
|
|
18264
|
-
|
|
18265
|
-
deleteElectricalIotConfig(typeId: string, id: string): Promise<void> {
|
|
18266
|
-
let url_ = this.baseUrl + "/iot/electrical/{typeId}/{id}";
|
|
18267
|
-
if (typeId === undefined || typeId === null)
|
|
18268
|
-
throw new Error("The parameter 'typeId' must be defined.");
|
|
18269
|
-
url_ = url_.replace("{typeId}", encodeURIComponent("" + typeId));
|
|
18270
|
-
if (id === undefined || id === null)
|
|
18271
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
18272
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18273
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18274
|
-
|
|
18275
|
-
let options_: RequestInit = {
|
|
18276
|
-
method: "DELETE",
|
|
18277
|
-
headers: {
|
|
18278
|
-
}
|
|
18279
|
-
};
|
|
18280
|
-
|
|
18281
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18282
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18283
|
-
}).then((_response: Response) => {
|
|
18284
|
-
return this.processDeleteElectricalIotConfig(_response);
|
|
18285
|
-
});
|
|
18286
|
-
}
|
|
18287
|
-
|
|
18288
|
-
protected processDeleteElectricalIotConfig(response: Response): Promise<void> {
|
|
18289
|
-
const status = response.status;
|
|
18290
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18291
|
-
if (status === 204) {
|
|
18292
|
-
return response.text().then((_responseText) => {
|
|
18293
|
-
return;
|
|
18294
|
-
});
|
|
18295
|
-
} else if (status !== 200 && status !== 204) {
|
|
18296
|
-
return response.text().then((_responseText) => {
|
|
18297
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18298
|
-
});
|
|
18299
|
-
}
|
|
18300
|
-
return Promise.resolve<void>(null as any);
|
|
18301
|
-
}
|
|
18302
|
-
}
|
|
18303
|
-
|
|
18304
|
-
export interface IWeldingClient {
|
|
18305
|
-
|
|
18306
|
-
listWeldingSourceTypes(): Promise<IotTypeSourceDto[]>;
|
|
18307
|
-
|
|
18308
|
-
listElectricalDataConfigs(): Promise<WeldingIotConfigDto[]>;
|
|
18309
|
-
|
|
18310
|
-
createWeldingIotConfig(request: CreateWeldingIotConfig): Promise<WeldingIotConfigDto>;
|
|
18311
|
-
|
|
18312
|
-
deleteWeldingIotConfig(typeId: string, id: string): Promise<void>;
|
|
18313
|
-
}
|
|
18314
|
-
|
|
18315
|
-
export class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
|
|
18316
|
-
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
18317
|
-
private baseUrl: string;
|
|
18318
|
-
protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
|
|
18319
|
-
|
|
18320
|
-
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
18321
|
-
super(configuration);
|
|
18322
|
-
this.http = http ? http : window as any;
|
|
18323
|
-
this.baseUrl = baseUrl ?? "";
|
|
18324
|
-
}
|
|
18325
|
-
|
|
18326
|
-
listWeldingSourceTypes(): Promise<IotTypeSourceDto[]> {
|
|
18327
|
-
let url_ = this.baseUrl + "/iot/welding/sourcetypes";
|
|
18328
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18329
|
-
|
|
18330
|
-
let options_: RequestInit = {
|
|
18331
|
-
method: "GET",
|
|
18332
|
-
headers: {
|
|
18333
|
-
"Accept": "application/json"
|
|
18334
|
-
}
|
|
18335
|
-
};
|
|
18336
|
-
|
|
18337
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18338
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18339
|
-
}).then((_response: Response) => {
|
|
18340
|
-
return this.processListWeldingSourceTypes(_response);
|
|
18341
|
-
});
|
|
18342
|
-
}
|
|
18343
|
-
|
|
18344
|
-
protected processListWeldingSourceTypes(response: Response): Promise<IotTypeSourceDto[]> {
|
|
18345
|
-
const status = response.status;
|
|
18346
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18347
|
-
if (status === 200) {
|
|
18348
|
-
return response.text().then((_responseText) => {
|
|
18349
|
-
let result200: any = null;
|
|
18350
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18351
|
-
if (Array.isArray(resultData200)) {
|
|
18352
|
-
result200 = [] as any;
|
|
18353
|
-
for (let item of resultData200)
|
|
18354
|
-
result200!.push(IotTypeSourceDto.fromJS(item));
|
|
18355
|
-
}
|
|
18356
|
-
return result200;
|
|
18357
|
-
});
|
|
18358
|
-
} else if (status !== 200 && status !== 204) {
|
|
18359
|
-
return response.text().then((_responseText) => {
|
|
18360
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18361
|
-
});
|
|
18362
|
-
}
|
|
18363
|
-
return Promise.resolve<IotTypeSourceDto[]>(null as any);
|
|
18364
|
-
}
|
|
18365
|
-
|
|
18366
|
-
listElectricalDataConfigs(): Promise<WeldingIotConfigDto[]> {
|
|
18367
|
-
let url_ = this.baseUrl + "/iot/welding";
|
|
18368
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18369
|
-
|
|
18370
|
-
let options_: RequestInit = {
|
|
18371
|
-
method: "GET",
|
|
18372
|
-
headers: {
|
|
18373
|
-
"Accept": "application/json"
|
|
18374
|
-
}
|
|
18375
|
-
};
|
|
18376
|
-
|
|
18377
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18378
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18379
|
-
}).then((_response: Response) => {
|
|
18380
|
-
return this.processListElectricalDataConfigs(_response);
|
|
18381
|
-
});
|
|
18382
|
-
}
|
|
18383
|
-
|
|
18384
|
-
protected processListElectricalDataConfigs(response: Response): Promise<WeldingIotConfigDto[]> {
|
|
18385
|
-
const status = response.status;
|
|
18386
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18387
|
-
if (status === 200) {
|
|
18388
|
-
return response.text().then((_responseText) => {
|
|
18389
|
-
let result200: any = null;
|
|
18390
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18391
|
-
if (Array.isArray(resultData200)) {
|
|
18392
|
-
result200 = [] as any;
|
|
18393
|
-
for (let item of resultData200)
|
|
18394
|
-
result200!.push(WeldingIotConfigDto.fromJS(item));
|
|
18395
|
-
}
|
|
18396
|
-
return result200;
|
|
18397
|
-
});
|
|
18398
|
-
} else if (status !== 200 && status !== 204) {
|
|
18399
|
-
return response.text().then((_responseText) => {
|
|
18400
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18401
|
-
});
|
|
18402
|
-
}
|
|
18403
|
-
return Promise.resolve<WeldingIotConfigDto[]>(null as any);
|
|
18404
|
-
}
|
|
18405
|
-
|
|
18406
|
-
createWeldingIotConfig(request: CreateWeldingIotConfig): Promise<WeldingIotConfigDto> {
|
|
18407
|
-
let url_ = this.baseUrl + "/iot/welding";
|
|
18408
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18409
|
-
|
|
18410
|
-
const content_ = JSON.stringify(request);
|
|
18411
|
-
|
|
18412
|
-
let options_: RequestInit = {
|
|
18413
|
-
body: content_,
|
|
18414
|
-
method: "POST",
|
|
18415
|
-
headers: {
|
|
18416
|
-
"Content-Type": "application/json",
|
|
18417
|
-
"Accept": "application/json"
|
|
18418
|
-
}
|
|
18419
|
-
};
|
|
18420
|
-
|
|
18421
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18422
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18423
|
-
}).then((_response: Response) => {
|
|
18424
|
-
return this.processCreateWeldingIotConfig(_response);
|
|
18425
|
-
});
|
|
18426
|
-
}
|
|
18427
|
-
|
|
18428
|
-
protected processCreateWeldingIotConfig(response: Response): Promise<WeldingIotConfigDto> {
|
|
18429
|
-
const status = response.status;
|
|
18430
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18431
|
-
if (status === 200) {
|
|
18432
|
-
return response.text().then((_responseText) => {
|
|
18433
|
-
let result200: any = null;
|
|
18434
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18435
|
-
result200 = WeldingIotConfigDto.fromJS(resultData200);
|
|
18436
|
-
return result200;
|
|
18437
|
-
});
|
|
18438
|
-
} else if (status !== 200 && status !== 204) {
|
|
18439
|
-
return response.text().then((_responseText) => {
|
|
18440
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18441
|
-
});
|
|
18442
|
-
}
|
|
18443
|
-
return Promise.resolve<WeldingIotConfigDto>(null as any);
|
|
18444
|
-
}
|
|
18445
|
-
|
|
18446
|
-
deleteWeldingIotConfig(typeId: string, id: string): Promise<void> {
|
|
18447
|
-
let url_ = this.baseUrl + "/iot/welding/{typeId}/{id}";
|
|
18448
|
-
if (typeId === undefined || typeId === null)
|
|
18449
|
-
throw new Error("The parameter 'typeId' must be defined.");
|
|
18450
|
-
url_ = url_.replace("{typeId}", encodeURIComponent("" + typeId));
|
|
18451
|
-
if (id === undefined || id === null)
|
|
18452
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
18453
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18454
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18455
|
-
|
|
18456
|
-
let options_: RequestInit = {
|
|
18457
|
-
method: "DELETE",
|
|
18458
|
-
headers: {
|
|
18459
|
-
}
|
|
18460
|
-
};
|
|
18461
|
-
|
|
18462
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18463
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
18464
|
-
}).then((_response: Response) => {
|
|
18465
|
-
return this.processDeleteWeldingIotConfig(_response);
|
|
18466
|
-
});
|
|
18467
|
-
}
|
|
18468
|
-
|
|
18469
|
-
protected processDeleteWeldingIotConfig(response: Response): Promise<void> {
|
|
18470
|
-
const status = response.status;
|
|
18471
|
-
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18472
|
-
if (status === 204) {
|
|
18473
|
-
return response.text().then((_responseText) => {
|
|
18474
|
-
return;
|
|
18475
|
-
});
|
|
18476
|
-
} else if (status !== 200 && status !== 204) {
|
|
18477
|
-
return response.text().then((_responseText) => {
|
|
18478
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18479
|
-
});
|
|
18480
|
-
}
|
|
18481
|
-
return Promise.resolve<void>(null as any);
|
|
18482
|
-
}
|
|
18483
|
-
}
|
|
18484
|
-
|
|
18485
18123
|
export interface IMeasurementFormSchemasClient {
|
|
18486
18124
|
|
|
18487
18125
|
listMeasurmentFormSchemas(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -18512,6 +18150,8 @@ export interface IMeasurementFormSchemasClient {
|
|
|
18512
18150
|
|
|
18513
18151
|
uploadSchemaAttachment(id: string, request: UploadRequest): Promise<MeasurementFormSchemaDto>;
|
|
18514
18152
|
|
|
18153
|
+
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto>;
|
|
18154
|
+
|
|
18515
18155
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
|
|
18516
18156
|
|
|
18517
18157
|
postListLinkableMeasurementFormSchemas(request: ListLinkableMeasurementFormSchemasRequest): Promise<PagedResultOfMeasurementFormListDto>;
|
|
@@ -18531,12 +18171,12 @@ export interface IMeasurementFormSchemasClient {
|
|
|
18531
18171
|
/**
|
|
18532
18172
|
* @deprecated
|
|
18533
18173
|
*/
|
|
18534
|
-
getMeasurementFormSettings(): Promise<
|
|
18174
|
+
getMeasurementFormSettings(): Promise<MeasurementFormSettingsDto>;
|
|
18535
18175
|
|
|
18536
18176
|
/**
|
|
18537
18177
|
* @deprecated
|
|
18538
18178
|
*/
|
|
18539
|
-
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<
|
|
18179
|
+
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<MeasurementFormSettingsDto>;
|
|
18540
18180
|
|
|
18541
18181
|
/**
|
|
18542
18182
|
* @deprecated
|
|
@@ -18556,12 +18196,9 @@ export interface IMeasurementFormSchemasClient {
|
|
|
18556
18196
|
|
|
18557
18197
|
deleteMeasurementFormMapping(id: string): Promise<void>;
|
|
18558
18198
|
|
|
18559
|
-
|
|
18560
|
-
* @deprecated
|
|
18561
|
-
*/
|
|
18562
|
-
setMeasurementFormMappingBalloonsV2(id: string, request: SetMeasurementFormReferencesMappingRequest): Promise<MeasurementFormMappingDto>;
|
|
18199
|
+
setMeasurementFormMappingBalloons(id: string, request: MeasurementFormBalloonMappingRequestDto[]): Promise<MeasurementFormMappingDto>;
|
|
18563
18200
|
|
|
18564
|
-
|
|
18201
|
+
setMeasurementFormMappingBalloonsV2(id: string, request: SetMeasurementFormMappingBalloonsRequest): Promise<MeasurementFormMappingDto>;
|
|
18565
18202
|
|
|
18566
18203
|
getMeasurementFormMappingSuggestion(targetId: string | null | undefined, sourceId: string | null | undefined): Promise<MeasurementFormMappingSuggestionDto>;
|
|
18567
18204
|
|
|
@@ -19216,6 +18853,45 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19216
18853
|
return Promise.resolve<MeasurementFormSchemaDto>(null as any);
|
|
19217
18854
|
}
|
|
19218
18855
|
|
|
18856
|
+
getMeasurementFormImportStatus(id: string): Promise<MeasurementFormImportStatusDto> {
|
|
18857
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/importstatus";
|
|
18858
|
+
if (id === undefined || id === null)
|
|
18859
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
18860
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18861
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18862
|
+
|
|
18863
|
+
let options_: RequestInit = {
|
|
18864
|
+
method: "GET",
|
|
18865
|
+
headers: {
|
|
18866
|
+
"Accept": "application/json"
|
|
18867
|
+
}
|
|
18868
|
+
};
|
|
18869
|
+
|
|
18870
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
18871
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
18872
|
+
}).then((_response: Response) => {
|
|
18873
|
+
return this.processGetMeasurementFormImportStatus(_response);
|
|
18874
|
+
});
|
|
18875
|
+
}
|
|
18876
|
+
|
|
18877
|
+
protected processGetMeasurementFormImportStatus(response: Response): Promise<MeasurementFormImportStatusDto> {
|
|
18878
|
+
const status = response.status;
|
|
18879
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
18880
|
+
if (status === 200) {
|
|
18881
|
+
return response.text().then((_responseText) => {
|
|
18882
|
+
let result200: any = null;
|
|
18883
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18884
|
+
result200 = MeasurementFormImportStatusDto.fromJS(resultData200);
|
|
18885
|
+
return result200;
|
|
18886
|
+
});
|
|
18887
|
+
} else if (status !== 200 && status !== 204) {
|
|
18888
|
+
return response.text().then((_responseText) => {
|
|
18889
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18890
|
+
});
|
|
18891
|
+
}
|
|
18892
|
+
return Promise.resolve<MeasurementFormImportStatusDto>(null as any);
|
|
18893
|
+
}
|
|
18894
|
+
|
|
19219
18895
|
listLinkableMeasurementFormSchemas(schemaId: string, pageSize: number | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto> {
|
|
19220
18896
|
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaId}/listlinkableschemas?";
|
|
19221
18897
|
if (schemaId === undefined || schemaId === null)
|
|
@@ -19544,7 +19220,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19544
19220
|
/**
|
|
19545
19221
|
* @deprecated
|
|
19546
19222
|
*/
|
|
19547
|
-
getMeasurementFormSettings(): Promise<
|
|
19223
|
+
getMeasurementFormSettings(): Promise<MeasurementFormSettingsDto> {
|
|
19548
19224
|
let url_ = this.baseUrl + "/measurementforms/schemas/settings";
|
|
19549
19225
|
url_ = url_.replace(/[?&]$/, "");
|
|
19550
19226
|
|
|
@@ -19562,14 +19238,14 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19562
19238
|
});
|
|
19563
19239
|
}
|
|
19564
19240
|
|
|
19565
|
-
protected processGetMeasurementFormSettings(response: Response): Promise<
|
|
19241
|
+
protected processGetMeasurementFormSettings(response: Response): Promise<MeasurementFormSettingsDto> {
|
|
19566
19242
|
const status = response.status;
|
|
19567
19243
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19568
19244
|
if (status === 200) {
|
|
19569
19245
|
return response.text().then((_responseText) => {
|
|
19570
19246
|
let result200: any = null;
|
|
19571
19247
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19572
|
-
result200 =
|
|
19248
|
+
result200 = MeasurementFormSettingsDto.fromJS(resultData200);
|
|
19573
19249
|
return result200;
|
|
19574
19250
|
});
|
|
19575
19251
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -19577,13 +19253,13 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19577
19253
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19578
19254
|
});
|
|
19579
19255
|
}
|
|
19580
|
-
return Promise.resolve<
|
|
19256
|
+
return Promise.resolve<MeasurementFormSettingsDto>(null as any);
|
|
19581
19257
|
}
|
|
19582
19258
|
|
|
19583
19259
|
/**
|
|
19584
19260
|
* @deprecated
|
|
19585
19261
|
*/
|
|
19586
|
-
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<
|
|
19262
|
+
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<MeasurementFormSettingsDto> {
|
|
19587
19263
|
let url_ = this.baseUrl + "/measurementforms/schemas/settings";
|
|
19588
19264
|
url_ = url_.replace(/[?&]$/, "");
|
|
19589
19265
|
|
|
@@ -19605,14 +19281,14 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19605
19281
|
});
|
|
19606
19282
|
}
|
|
19607
19283
|
|
|
19608
|
-
protected processUpdateMeasurementFormSettings(response: Response): Promise<
|
|
19284
|
+
protected processUpdateMeasurementFormSettings(response: Response): Promise<MeasurementFormSettingsDto> {
|
|
19609
19285
|
const status = response.status;
|
|
19610
19286
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19611
19287
|
if (status === 200) {
|
|
19612
19288
|
return response.text().then((_responseText) => {
|
|
19613
19289
|
let result200: any = null;
|
|
19614
19290
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19615
|
-
result200 =
|
|
19291
|
+
result200 = MeasurementFormSettingsDto.fromJS(resultData200);
|
|
19616
19292
|
return result200;
|
|
19617
19293
|
});
|
|
19618
19294
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -19620,7 +19296,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19620
19296
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19621
19297
|
});
|
|
19622
19298
|
}
|
|
19623
|
-
return Promise.resolve<
|
|
19299
|
+
return Promise.resolve<MeasurementFormSettingsDto>(null as any);
|
|
19624
19300
|
}
|
|
19625
19301
|
|
|
19626
19302
|
/**
|
|
@@ -19878,11 +19554,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19878
19554
|
return Promise.resolve<void>(null as any);
|
|
19879
19555
|
}
|
|
19880
19556
|
|
|
19881
|
-
|
|
19882
|
-
|
|
19883
|
-
*/
|
|
19884
|
-
setMeasurementFormMappingBalloonsV2(id: string, request: SetMeasurementFormReferencesMappingRequest): Promise<MeasurementFormMappingDto> {
|
|
19885
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/mapping/{id}/balloons/v2";
|
|
19557
|
+
setMeasurementFormMappingBalloons(id: string, request: MeasurementFormBalloonMappingRequestDto[]): Promise<MeasurementFormMappingDto> {
|
|
19558
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/mapping/{id}/balloons";
|
|
19886
19559
|
if (id === undefined || id === null)
|
|
19887
19560
|
throw new Error("The parameter 'id' must be defined.");
|
|
19888
19561
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -19902,11 +19575,11 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19902
19575
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19903
19576
|
return this.http.fetch(url_, transformedOptions_);
|
|
19904
19577
|
}).then((_response: Response) => {
|
|
19905
|
-
return this.
|
|
19578
|
+
return this.processSetMeasurementFormMappingBalloons(_response);
|
|
19906
19579
|
});
|
|
19907
19580
|
}
|
|
19908
19581
|
|
|
19909
|
-
protected
|
|
19582
|
+
protected processSetMeasurementFormMappingBalloons(response: Response): Promise<MeasurementFormMappingDto> {
|
|
19910
19583
|
const status = response.status;
|
|
19911
19584
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19912
19585
|
if (status === 200) {
|
|
@@ -19924,11 +19597,11 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19924
19597
|
return Promise.resolve<MeasurementFormMappingDto>(null as any);
|
|
19925
19598
|
}
|
|
19926
19599
|
|
|
19927
|
-
|
|
19928
|
-
let url_ = this.baseUrl + "/measurementforms/schemas/mapping/{
|
|
19929
|
-
if (
|
|
19930
|
-
throw new Error("The parameter '
|
|
19931
|
-
url_ = url_.replace("{
|
|
19600
|
+
setMeasurementFormMappingBalloonsV2(id: string, request: SetMeasurementFormMappingBalloonsRequest): Promise<MeasurementFormMappingDto> {
|
|
19601
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/mapping/{id}/balloons/v2";
|
|
19602
|
+
if (id === undefined || id === null)
|
|
19603
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
19604
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
19932
19605
|
url_ = url_.replace(/[?&]$/, "");
|
|
19933
19606
|
|
|
19934
19607
|
const content_ = JSON.stringify(request);
|
|
@@ -19945,11 +19618,11 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
19945
19618
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
19946
19619
|
return this.http.fetch(url_, transformedOptions_);
|
|
19947
19620
|
}).then((_response: Response) => {
|
|
19948
|
-
return this.
|
|
19621
|
+
return this.processSetMeasurementFormMappingBalloonsV2(_response);
|
|
19949
19622
|
});
|
|
19950
19623
|
}
|
|
19951
19624
|
|
|
19952
|
-
protected
|
|
19625
|
+
protected processSetMeasurementFormMappingBalloonsV2(response: Response): Promise<MeasurementFormMappingDto> {
|
|
19953
19626
|
const status = response.status;
|
|
19954
19627
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
19955
19628
|
if (status === 200) {
|
|
@@ -20853,9 +20526,9 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
|
|
|
20853
20526
|
|
|
20854
20527
|
export interface IMeasurementFormSettingsClient {
|
|
20855
20528
|
|
|
20856
|
-
getMeasurementFormSettings(): Promise<
|
|
20529
|
+
getMeasurementFormSettings(): Promise<MeasurementFormSettingsDto>;
|
|
20857
20530
|
|
|
20858
|
-
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<
|
|
20531
|
+
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<MeasurementFormSettingsDto>;
|
|
20859
20532
|
|
|
20860
20533
|
getMeasurementFormCustomerSettings(id: string): Promise<MeasurementFormCustomerSettingsDto>;
|
|
20861
20534
|
|
|
@@ -20873,7 +20546,7 @@ export class MeasurementFormSettingsClient extends AuthorizedApiBase implements
|
|
|
20873
20546
|
this.baseUrl = baseUrl ?? "";
|
|
20874
20547
|
}
|
|
20875
20548
|
|
|
20876
|
-
getMeasurementFormSettings(): Promise<
|
|
20549
|
+
getMeasurementFormSettings(): Promise<MeasurementFormSettingsDto> {
|
|
20877
20550
|
let url_ = this.baseUrl + "/measurementforms/settings";
|
|
20878
20551
|
url_ = url_.replace(/[?&]$/, "");
|
|
20879
20552
|
|
|
@@ -20891,14 +20564,14 @@ export class MeasurementFormSettingsClient extends AuthorizedApiBase implements
|
|
|
20891
20564
|
});
|
|
20892
20565
|
}
|
|
20893
20566
|
|
|
20894
|
-
protected processGetMeasurementFormSettings(response: Response): Promise<
|
|
20567
|
+
protected processGetMeasurementFormSettings(response: Response): Promise<MeasurementFormSettingsDto> {
|
|
20895
20568
|
const status = response.status;
|
|
20896
20569
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
20897
20570
|
if (status === 200) {
|
|
20898
20571
|
return response.text().then((_responseText) => {
|
|
20899
20572
|
let result200: any = null;
|
|
20900
20573
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
20901
|
-
result200 =
|
|
20574
|
+
result200 = MeasurementFormSettingsDto.fromJS(resultData200);
|
|
20902
20575
|
return result200;
|
|
20903
20576
|
});
|
|
20904
20577
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -20906,10 +20579,10 @@ export class MeasurementFormSettingsClient extends AuthorizedApiBase implements
|
|
|
20906
20579
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20907
20580
|
});
|
|
20908
20581
|
}
|
|
20909
|
-
return Promise.resolve<
|
|
20582
|
+
return Promise.resolve<MeasurementFormSettingsDto>(null as any);
|
|
20910
20583
|
}
|
|
20911
20584
|
|
|
20912
|
-
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<
|
|
20585
|
+
updateMeasurementFormSettings(request: UpdateMeasurementFormSettings): Promise<MeasurementFormSettingsDto> {
|
|
20913
20586
|
let url_ = this.baseUrl + "/measurementforms/settings";
|
|
20914
20587
|
url_ = url_.replace(/[?&]$/, "");
|
|
20915
20588
|
|
|
@@ -20931,14 +20604,14 @@ export class MeasurementFormSettingsClient extends AuthorizedApiBase implements
|
|
|
20931
20604
|
});
|
|
20932
20605
|
}
|
|
20933
20606
|
|
|
20934
|
-
protected processUpdateMeasurementFormSettings(response: Response): Promise<
|
|
20607
|
+
protected processUpdateMeasurementFormSettings(response: Response): Promise<MeasurementFormSettingsDto> {
|
|
20935
20608
|
const status = response.status;
|
|
20936
20609
|
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
20937
20610
|
if (status === 200) {
|
|
20938
20611
|
return response.text().then((_responseText) => {
|
|
20939
20612
|
let result200: any = null;
|
|
20940
20613
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
20941
|
-
result200 =
|
|
20614
|
+
result200 = MeasurementFormSettingsDto.fromJS(resultData200);
|
|
20942
20615
|
return result200;
|
|
20943
20616
|
});
|
|
20944
20617
|
} else if (status !== 200 && status !== 204) {
|
|
@@ -20946,7 +20619,7 @@ export class MeasurementFormSettingsClient extends AuthorizedApiBase implements
|
|
|
20946
20619
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20947
20620
|
});
|
|
20948
20621
|
}
|
|
20949
|
-
return Promise.resolve<
|
|
20622
|
+
return Promise.resolve<MeasurementFormSettingsDto>(null as any);
|
|
20950
20623
|
}
|
|
20951
20624
|
|
|
20952
20625
|
getMeasurementFormCustomerSettings(id: string): Promise<MeasurementFormCustomerSettingsDto> {
|
|
@@ -22478,6 +22151,368 @@ export class MeasurementFormsInstancesClient extends AuthorizedApiBase implement
|
|
|
22478
22151
|
}
|
|
22479
22152
|
}
|
|
22480
22153
|
|
|
22154
|
+
export interface IElectricalClient {
|
|
22155
|
+
|
|
22156
|
+
listElectricalSourceTypes(): Promise<IotTypeSourceDto[]>;
|
|
22157
|
+
|
|
22158
|
+
listElectricalDataConfigs(): Promise<ElectricalIotConfigDto[]>;
|
|
22159
|
+
|
|
22160
|
+
createElectricalIotConfig(request: CreateElectricalIotConfig): Promise<ElectricalIotConfigDto>;
|
|
22161
|
+
|
|
22162
|
+
deleteElectricalIotConfig(typeId: string, id: string): Promise<void>;
|
|
22163
|
+
}
|
|
22164
|
+
|
|
22165
|
+
export class ElectricalClient extends AuthorizedApiBase implements IElectricalClient {
|
|
22166
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22167
|
+
private baseUrl: string;
|
|
22168
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
|
|
22169
|
+
|
|
22170
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22171
|
+
super(configuration);
|
|
22172
|
+
this.http = http ? http : window as any;
|
|
22173
|
+
this.baseUrl = baseUrl ?? "";
|
|
22174
|
+
}
|
|
22175
|
+
|
|
22176
|
+
listElectricalSourceTypes(): Promise<IotTypeSourceDto[]> {
|
|
22177
|
+
let url_ = this.baseUrl + "/iot/electrical/sourcetypes";
|
|
22178
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22179
|
+
|
|
22180
|
+
let options_: RequestInit = {
|
|
22181
|
+
method: "GET",
|
|
22182
|
+
headers: {
|
|
22183
|
+
"Accept": "application/json"
|
|
22184
|
+
}
|
|
22185
|
+
};
|
|
22186
|
+
|
|
22187
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22188
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22189
|
+
}).then((_response: Response) => {
|
|
22190
|
+
return this.processListElectricalSourceTypes(_response);
|
|
22191
|
+
});
|
|
22192
|
+
}
|
|
22193
|
+
|
|
22194
|
+
protected processListElectricalSourceTypes(response: Response): Promise<IotTypeSourceDto[]> {
|
|
22195
|
+
const status = response.status;
|
|
22196
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22197
|
+
if (status === 200) {
|
|
22198
|
+
return response.text().then((_responseText) => {
|
|
22199
|
+
let result200: any = null;
|
|
22200
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22201
|
+
if (Array.isArray(resultData200)) {
|
|
22202
|
+
result200 = [] as any;
|
|
22203
|
+
for (let item of resultData200)
|
|
22204
|
+
result200!.push(IotTypeSourceDto.fromJS(item));
|
|
22205
|
+
}
|
|
22206
|
+
return result200;
|
|
22207
|
+
});
|
|
22208
|
+
} else if (status !== 200 && status !== 204) {
|
|
22209
|
+
return response.text().then((_responseText) => {
|
|
22210
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22211
|
+
});
|
|
22212
|
+
}
|
|
22213
|
+
return Promise.resolve<IotTypeSourceDto[]>(null as any);
|
|
22214
|
+
}
|
|
22215
|
+
|
|
22216
|
+
listElectricalDataConfigs(): Promise<ElectricalIotConfigDto[]> {
|
|
22217
|
+
let url_ = this.baseUrl + "/iot/electrical";
|
|
22218
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22219
|
+
|
|
22220
|
+
let options_: RequestInit = {
|
|
22221
|
+
method: "GET",
|
|
22222
|
+
headers: {
|
|
22223
|
+
"Accept": "application/json"
|
|
22224
|
+
}
|
|
22225
|
+
};
|
|
22226
|
+
|
|
22227
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22228
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22229
|
+
}).then((_response: Response) => {
|
|
22230
|
+
return this.processListElectricalDataConfigs(_response);
|
|
22231
|
+
});
|
|
22232
|
+
}
|
|
22233
|
+
|
|
22234
|
+
protected processListElectricalDataConfigs(response: Response): Promise<ElectricalIotConfigDto[]> {
|
|
22235
|
+
const status = response.status;
|
|
22236
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22237
|
+
if (status === 200) {
|
|
22238
|
+
return response.text().then((_responseText) => {
|
|
22239
|
+
let result200: any = null;
|
|
22240
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22241
|
+
if (Array.isArray(resultData200)) {
|
|
22242
|
+
result200 = [] as any;
|
|
22243
|
+
for (let item of resultData200)
|
|
22244
|
+
result200!.push(ElectricalIotConfigDto.fromJS(item));
|
|
22245
|
+
}
|
|
22246
|
+
return result200;
|
|
22247
|
+
});
|
|
22248
|
+
} else if (status !== 200 && status !== 204) {
|
|
22249
|
+
return response.text().then((_responseText) => {
|
|
22250
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22251
|
+
});
|
|
22252
|
+
}
|
|
22253
|
+
return Promise.resolve<ElectricalIotConfigDto[]>(null as any);
|
|
22254
|
+
}
|
|
22255
|
+
|
|
22256
|
+
createElectricalIotConfig(request: CreateElectricalIotConfig): Promise<ElectricalIotConfigDto> {
|
|
22257
|
+
let url_ = this.baseUrl + "/iot/electrical";
|
|
22258
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22259
|
+
|
|
22260
|
+
const content_ = JSON.stringify(request);
|
|
22261
|
+
|
|
22262
|
+
let options_: RequestInit = {
|
|
22263
|
+
body: content_,
|
|
22264
|
+
method: "POST",
|
|
22265
|
+
headers: {
|
|
22266
|
+
"Content-Type": "application/json",
|
|
22267
|
+
"Accept": "application/json"
|
|
22268
|
+
}
|
|
22269
|
+
};
|
|
22270
|
+
|
|
22271
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22272
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22273
|
+
}).then((_response: Response) => {
|
|
22274
|
+
return this.processCreateElectricalIotConfig(_response);
|
|
22275
|
+
});
|
|
22276
|
+
}
|
|
22277
|
+
|
|
22278
|
+
protected processCreateElectricalIotConfig(response: Response): Promise<ElectricalIotConfigDto> {
|
|
22279
|
+
const status = response.status;
|
|
22280
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22281
|
+
if (status === 200) {
|
|
22282
|
+
return response.text().then((_responseText) => {
|
|
22283
|
+
let result200: any = null;
|
|
22284
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22285
|
+
result200 = ElectricalIotConfigDto.fromJS(resultData200);
|
|
22286
|
+
return result200;
|
|
22287
|
+
});
|
|
22288
|
+
} else if (status !== 200 && status !== 204) {
|
|
22289
|
+
return response.text().then((_responseText) => {
|
|
22290
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22291
|
+
});
|
|
22292
|
+
}
|
|
22293
|
+
return Promise.resolve<ElectricalIotConfigDto>(null as any);
|
|
22294
|
+
}
|
|
22295
|
+
|
|
22296
|
+
deleteElectricalIotConfig(typeId: string, id: string): Promise<void> {
|
|
22297
|
+
let url_ = this.baseUrl + "/iot/electrical/{typeId}/{id}";
|
|
22298
|
+
if (typeId === undefined || typeId === null)
|
|
22299
|
+
throw new Error("The parameter 'typeId' must be defined.");
|
|
22300
|
+
url_ = url_.replace("{typeId}", encodeURIComponent("" + typeId));
|
|
22301
|
+
if (id === undefined || id === null)
|
|
22302
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
22303
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
22304
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22305
|
+
|
|
22306
|
+
let options_: RequestInit = {
|
|
22307
|
+
method: "DELETE",
|
|
22308
|
+
headers: {
|
|
22309
|
+
}
|
|
22310
|
+
};
|
|
22311
|
+
|
|
22312
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22313
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22314
|
+
}).then((_response: Response) => {
|
|
22315
|
+
return this.processDeleteElectricalIotConfig(_response);
|
|
22316
|
+
});
|
|
22317
|
+
}
|
|
22318
|
+
|
|
22319
|
+
protected processDeleteElectricalIotConfig(response: Response): Promise<void> {
|
|
22320
|
+
const status = response.status;
|
|
22321
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22322
|
+
if (status === 204) {
|
|
22323
|
+
return response.text().then((_responseText) => {
|
|
22324
|
+
return;
|
|
22325
|
+
});
|
|
22326
|
+
} else if (status !== 200 && status !== 204) {
|
|
22327
|
+
return response.text().then((_responseText) => {
|
|
22328
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22329
|
+
});
|
|
22330
|
+
}
|
|
22331
|
+
return Promise.resolve<void>(null as any);
|
|
22332
|
+
}
|
|
22333
|
+
}
|
|
22334
|
+
|
|
22335
|
+
export interface IWeldingClient {
|
|
22336
|
+
|
|
22337
|
+
listWeldingSourceTypes(): Promise<IotTypeSourceDto[]>;
|
|
22338
|
+
|
|
22339
|
+
listElectricalDataConfigs(): Promise<WeldingIotConfigDto[]>;
|
|
22340
|
+
|
|
22341
|
+
createWeldingIotConfig(request: CreateWeldingIotConfig): Promise<WeldingIotConfigDto>;
|
|
22342
|
+
|
|
22343
|
+
deleteWeldingIotConfig(typeId: string, id: string): Promise<void>;
|
|
22344
|
+
}
|
|
22345
|
+
|
|
22346
|
+
export class WeldingClient extends AuthorizedApiBase implements IWeldingClient {
|
|
22347
|
+
private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
|
|
22348
|
+
private baseUrl: string;
|
|
22349
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
|
|
22350
|
+
|
|
22351
|
+
constructor(configuration: IAccessTokenProvider, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
|
22352
|
+
super(configuration);
|
|
22353
|
+
this.http = http ? http : window as any;
|
|
22354
|
+
this.baseUrl = baseUrl ?? "";
|
|
22355
|
+
}
|
|
22356
|
+
|
|
22357
|
+
listWeldingSourceTypes(): Promise<IotTypeSourceDto[]> {
|
|
22358
|
+
let url_ = this.baseUrl + "/iot/welding/sourcetypes";
|
|
22359
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22360
|
+
|
|
22361
|
+
let options_: RequestInit = {
|
|
22362
|
+
method: "GET",
|
|
22363
|
+
headers: {
|
|
22364
|
+
"Accept": "application/json"
|
|
22365
|
+
}
|
|
22366
|
+
};
|
|
22367
|
+
|
|
22368
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22369
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22370
|
+
}).then((_response: Response) => {
|
|
22371
|
+
return this.processListWeldingSourceTypes(_response);
|
|
22372
|
+
});
|
|
22373
|
+
}
|
|
22374
|
+
|
|
22375
|
+
protected processListWeldingSourceTypes(response: Response): Promise<IotTypeSourceDto[]> {
|
|
22376
|
+
const status = response.status;
|
|
22377
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22378
|
+
if (status === 200) {
|
|
22379
|
+
return response.text().then((_responseText) => {
|
|
22380
|
+
let result200: any = null;
|
|
22381
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22382
|
+
if (Array.isArray(resultData200)) {
|
|
22383
|
+
result200 = [] as any;
|
|
22384
|
+
for (let item of resultData200)
|
|
22385
|
+
result200!.push(IotTypeSourceDto.fromJS(item));
|
|
22386
|
+
}
|
|
22387
|
+
return result200;
|
|
22388
|
+
});
|
|
22389
|
+
} else if (status !== 200 && status !== 204) {
|
|
22390
|
+
return response.text().then((_responseText) => {
|
|
22391
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22392
|
+
});
|
|
22393
|
+
}
|
|
22394
|
+
return Promise.resolve<IotTypeSourceDto[]>(null as any);
|
|
22395
|
+
}
|
|
22396
|
+
|
|
22397
|
+
listElectricalDataConfigs(): Promise<WeldingIotConfigDto[]> {
|
|
22398
|
+
let url_ = this.baseUrl + "/iot/welding";
|
|
22399
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22400
|
+
|
|
22401
|
+
let options_: RequestInit = {
|
|
22402
|
+
method: "GET",
|
|
22403
|
+
headers: {
|
|
22404
|
+
"Accept": "application/json"
|
|
22405
|
+
}
|
|
22406
|
+
};
|
|
22407
|
+
|
|
22408
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22409
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22410
|
+
}).then((_response: Response) => {
|
|
22411
|
+
return this.processListElectricalDataConfigs(_response);
|
|
22412
|
+
});
|
|
22413
|
+
}
|
|
22414
|
+
|
|
22415
|
+
protected processListElectricalDataConfigs(response: Response): Promise<WeldingIotConfigDto[]> {
|
|
22416
|
+
const status = response.status;
|
|
22417
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22418
|
+
if (status === 200) {
|
|
22419
|
+
return response.text().then((_responseText) => {
|
|
22420
|
+
let result200: any = null;
|
|
22421
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22422
|
+
if (Array.isArray(resultData200)) {
|
|
22423
|
+
result200 = [] as any;
|
|
22424
|
+
for (let item of resultData200)
|
|
22425
|
+
result200!.push(WeldingIotConfigDto.fromJS(item));
|
|
22426
|
+
}
|
|
22427
|
+
return result200;
|
|
22428
|
+
});
|
|
22429
|
+
} else if (status !== 200 && status !== 204) {
|
|
22430
|
+
return response.text().then((_responseText) => {
|
|
22431
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22432
|
+
});
|
|
22433
|
+
}
|
|
22434
|
+
return Promise.resolve<WeldingIotConfigDto[]>(null as any);
|
|
22435
|
+
}
|
|
22436
|
+
|
|
22437
|
+
createWeldingIotConfig(request: CreateWeldingIotConfig): Promise<WeldingIotConfigDto> {
|
|
22438
|
+
let url_ = this.baseUrl + "/iot/welding";
|
|
22439
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22440
|
+
|
|
22441
|
+
const content_ = JSON.stringify(request);
|
|
22442
|
+
|
|
22443
|
+
let options_: RequestInit = {
|
|
22444
|
+
body: content_,
|
|
22445
|
+
method: "POST",
|
|
22446
|
+
headers: {
|
|
22447
|
+
"Content-Type": "application/json",
|
|
22448
|
+
"Accept": "application/json"
|
|
22449
|
+
}
|
|
22450
|
+
};
|
|
22451
|
+
|
|
22452
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22453
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22454
|
+
}).then((_response: Response) => {
|
|
22455
|
+
return this.processCreateWeldingIotConfig(_response);
|
|
22456
|
+
});
|
|
22457
|
+
}
|
|
22458
|
+
|
|
22459
|
+
protected processCreateWeldingIotConfig(response: Response): Promise<WeldingIotConfigDto> {
|
|
22460
|
+
const status = response.status;
|
|
22461
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22462
|
+
if (status === 200) {
|
|
22463
|
+
return response.text().then((_responseText) => {
|
|
22464
|
+
let result200: any = null;
|
|
22465
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22466
|
+
result200 = WeldingIotConfigDto.fromJS(resultData200);
|
|
22467
|
+
return result200;
|
|
22468
|
+
});
|
|
22469
|
+
} else if (status !== 200 && status !== 204) {
|
|
22470
|
+
return response.text().then((_responseText) => {
|
|
22471
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22472
|
+
});
|
|
22473
|
+
}
|
|
22474
|
+
return Promise.resolve<WeldingIotConfigDto>(null as any);
|
|
22475
|
+
}
|
|
22476
|
+
|
|
22477
|
+
deleteWeldingIotConfig(typeId: string, id: string): Promise<void> {
|
|
22478
|
+
let url_ = this.baseUrl + "/iot/welding/{typeId}/{id}";
|
|
22479
|
+
if (typeId === undefined || typeId === null)
|
|
22480
|
+
throw new Error("The parameter 'typeId' must be defined.");
|
|
22481
|
+
url_ = url_.replace("{typeId}", encodeURIComponent("" + typeId));
|
|
22482
|
+
if (id === undefined || id === null)
|
|
22483
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
22484
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
22485
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
22486
|
+
|
|
22487
|
+
let options_: RequestInit = {
|
|
22488
|
+
method: "DELETE",
|
|
22489
|
+
headers: {
|
|
22490
|
+
}
|
|
22491
|
+
};
|
|
22492
|
+
|
|
22493
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
22494
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
22495
|
+
}).then((_response: Response) => {
|
|
22496
|
+
return this.processDeleteWeldingIotConfig(_response);
|
|
22497
|
+
});
|
|
22498
|
+
}
|
|
22499
|
+
|
|
22500
|
+
protected processDeleteWeldingIotConfig(response: Response): Promise<void> {
|
|
22501
|
+
const status = response.status;
|
|
22502
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
22503
|
+
if (status === 204) {
|
|
22504
|
+
return response.text().then((_responseText) => {
|
|
22505
|
+
return;
|
|
22506
|
+
});
|
|
22507
|
+
} else if (status !== 200 && status !== 204) {
|
|
22508
|
+
return response.text().then((_responseText) => {
|
|
22509
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22510
|
+
});
|
|
22511
|
+
}
|
|
22512
|
+
return Promise.resolve<void>(null as any);
|
|
22513
|
+
}
|
|
22514
|
+
}
|
|
22515
|
+
|
|
22481
22516
|
export interface ICompaniesClient {
|
|
22482
22517
|
|
|
22483
22518
|
listProductionCompanies(): Promise<ProductionCompanyDto[]>;
|
|
@@ -52014,226 +52049,6 @@ export interface IProductionResourceDto {
|
|
|
52014
52049
|
department?: DepartmentDto | null;
|
|
52015
52050
|
}
|
|
52016
52051
|
|
|
52017
|
-
export class IotTypeSourceDto implements IIotTypeSourceDto {
|
|
52018
|
-
id!: string;
|
|
52019
|
-
name!: string;
|
|
52020
|
-
|
|
52021
|
-
constructor(data?: IIotTypeSourceDto) {
|
|
52022
|
-
if (data) {
|
|
52023
|
-
for (var property in data) {
|
|
52024
|
-
if (data.hasOwnProperty(property))
|
|
52025
|
-
(<any>this)[property] = (<any>data)[property];
|
|
52026
|
-
}
|
|
52027
|
-
}
|
|
52028
|
-
}
|
|
52029
|
-
|
|
52030
|
-
init(_data?: any) {
|
|
52031
|
-
if (_data) {
|
|
52032
|
-
this.id = _data["id"];
|
|
52033
|
-
this.name = _data["name"];
|
|
52034
|
-
}
|
|
52035
|
-
}
|
|
52036
|
-
|
|
52037
|
-
static fromJS(data: any): IotTypeSourceDto {
|
|
52038
|
-
data = typeof data === 'object' ? data : {};
|
|
52039
|
-
let result = new IotTypeSourceDto();
|
|
52040
|
-
result.init(data);
|
|
52041
|
-
return result;
|
|
52042
|
-
}
|
|
52043
|
-
|
|
52044
|
-
toJSON(data?: any) {
|
|
52045
|
-
data = typeof data === 'object' ? data : {};
|
|
52046
|
-
data["id"] = this.id;
|
|
52047
|
-
data["name"] = this.name;
|
|
52048
|
-
return data;
|
|
52049
|
-
}
|
|
52050
|
-
}
|
|
52051
|
-
|
|
52052
|
-
export interface IIotTypeSourceDto {
|
|
52053
|
-
id: string;
|
|
52054
|
-
name: string;
|
|
52055
|
-
}
|
|
52056
|
-
|
|
52057
|
-
export class ElectricalIotConfigDto implements IElectricalIotConfigDto {
|
|
52058
|
-
id!: string;
|
|
52059
|
-
typeId!: string;
|
|
52060
|
-
serialNumber?: string | null;
|
|
52061
|
-
assetId!: number;
|
|
52062
|
-
assetExternalId?: string | null;
|
|
52063
|
-
phases?: number;
|
|
52064
|
-
electricalAssetId?: number;
|
|
52065
|
-
electricalAssetExternalId?: string | null;
|
|
52066
|
-
electricalTimeseriesId?: number;
|
|
52067
|
-
electricalTimeseriesExternalId?: string | null;
|
|
52068
|
-
|
|
52069
|
-
constructor(data?: IElectricalIotConfigDto) {
|
|
52070
|
-
if (data) {
|
|
52071
|
-
for (var property in data) {
|
|
52072
|
-
if (data.hasOwnProperty(property))
|
|
52073
|
-
(<any>this)[property] = (<any>data)[property];
|
|
52074
|
-
}
|
|
52075
|
-
}
|
|
52076
|
-
}
|
|
52077
|
-
|
|
52078
|
-
init(_data?: any) {
|
|
52079
|
-
if (_data) {
|
|
52080
|
-
this.id = _data["id"];
|
|
52081
|
-
this.typeId = _data["typeId"];
|
|
52082
|
-
this.serialNumber = _data["serialNumber"];
|
|
52083
|
-
this.assetId = _data["assetId"];
|
|
52084
|
-
this.assetExternalId = _data["assetExternalId"];
|
|
52085
|
-
this.phases = _data["phases"];
|
|
52086
|
-
this.electricalAssetId = _data["electricalAssetId"];
|
|
52087
|
-
this.electricalAssetExternalId = _data["electricalAssetExternalId"];
|
|
52088
|
-
this.electricalTimeseriesId = _data["electricalTimeseriesId"];
|
|
52089
|
-
this.electricalTimeseriesExternalId = _data["electricalTimeseriesExternalId"];
|
|
52090
|
-
}
|
|
52091
|
-
}
|
|
52092
|
-
|
|
52093
|
-
static fromJS(data: any): ElectricalIotConfigDto {
|
|
52094
|
-
data = typeof data === 'object' ? data : {};
|
|
52095
|
-
let result = new ElectricalIotConfigDto();
|
|
52096
|
-
result.init(data);
|
|
52097
|
-
return result;
|
|
52098
|
-
}
|
|
52099
|
-
|
|
52100
|
-
toJSON(data?: any) {
|
|
52101
|
-
data = typeof data === 'object' ? data : {};
|
|
52102
|
-
data["id"] = this.id;
|
|
52103
|
-
data["typeId"] = this.typeId;
|
|
52104
|
-
data["serialNumber"] = this.serialNumber;
|
|
52105
|
-
data["assetId"] = this.assetId;
|
|
52106
|
-
data["assetExternalId"] = this.assetExternalId;
|
|
52107
|
-
data["phases"] = this.phases;
|
|
52108
|
-
data["electricalAssetId"] = this.electricalAssetId;
|
|
52109
|
-
data["electricalAssetExternalId"] = this.electricalAssetExternalId;
|
|
52110
|
-
data["electricalTimeseriesId"] = this.electricalTimeseriesId;
|
|
52111
|
-
data["electricalTimeseriesExternalId"] = this.electricalTimeseriesExternalId;
|
|
52112
|
-
return data;
|
|
52113
|
-
}
|
|
52114
|
-
}
|
|
52115
|
-
|
|
52116
|
-
export interface IElectricalIotConfigDto {
|
|
52117
|
-
id: string;
|
|
52118
|
-
typeId: string;
|
|
52119
|
-
serialNumber?: string | null;
|
|
52120
|
-
assetId: number;
|
|
52121
|
-
assetExternalId?: string | null;
|
|
52122
|
-
phases?: number;
|
|
52123
|
-
electricalAssetId?: number;
|
|
52124
|
-
electricalAssetExternalId?: string | null;
|
|
52125
|
-
electricalTimeseriesId?: number;
|
|
52126
|
-
electricalTimeseriesExternalId?: string | null;
|
|
52127
|
-
}
|
|
52128
|
-
|
|
52129
|
-
export class CreateElectricalIotConfig implements ICreateElectricalIotConfig {
|
|
52130
|
-
typeId?: string | null;
|
|
52131
|
-
serialNumber?: string | null;
|
|
52132
|
-
assetId?: number | null;
|
|
52133
|
-
assetExternalId?: string | null;
|
|
52134
|
-
|
|
52135
|
-
constructor(data?: ICreateElectricalIotConfig) {
|
|
52136
|
-
if (data) {
|
|
52137
|
-
for (var property in data) {
|
|
52138
|
-
if (data.hasOwnProperty(property))
|
|
52139
|
-
(<any>this)[property] = (<any>data)[property];
|
|
52140
|
-
}
|
|
52141
|
-
}
|
|
52142
|
-
}
|
|
52143
|
-
|
|
52144
|
-
init(_data?: any) {
|
|
52145
|
-
if (_data) {
|
|
52146
|
-
this.typeId = _data["typeId"];
|
|
52147
|
-
this.serialNumber = _data["serialNumber"];
|
|
52148
|
-
this.assetId = _data["assetId"];
|
|
52149
|
-
this.assetExternalId = _data["assetExternalId"];
|
|
52150
|
-
}
|
|
52151
|
-
}
|
|
52152
|
-
|
|
52153
|
-
static fromJS(data: any): CreateElectricalIotConfig {
|
|
52154
|
-
data = typeof data === 'object' ? data : {};
|
|
52155
|
-
let result = new CreateElectricalIotConfig();
|
|
52156
|
-
result.init(data);
|
|
52157
|
-
return result;
|
|
52158
|
-
}
|
|
52159
|
-
|
|
52160
|
-
toJSON(data?: any) {
|
|
52161
|
-
data = typeof data === 'object' ? data : {};
|
|
52162
|
-
data["typeId"] = this.typeId;
|
|
52163
|
-
data["serialNumber"] = this.serialNumber;
|
|
52164
|
-
data["assetId"] = this.assetId;
|
|
52165
|
-
data["assetExternalId"] = this.assetExternalId;
|
|
52166
|
-
return data;
|
|
52167
|
-
}
|
|
52168
|
-
}
|
|
52169
|
-
|
|
52170
|
-
export interface ICreateElectricalIotConfig {
|
|
52171
|
-
typeId?: string | null;
|
|
52172
|
-
serialNumber?: string | null;
|
|
52173
|
-
assetId?: number | null;
|
|
52174
|
-
assetExternalId?: string | null;
|
|
52175
|
-
}
|
|
52176
|
-
|
|
52177
|
-
export class WeldingIotConfigDto implements IWeldingIotConfigDto {
|
|
52178
|
-
|
|
52179
|
-
constructor(data?: IWeldingIotConfigDto) {
|
|
52180
|
-
if (data) {
|
|
52181
|
-
for (var property in data) {
|
|
52182
|
-
if (data.hasOwnProperty(property))
|
|
52183
|
-
(<any>this)[property] = (<any>data)[property];
|
|
52184
|
-
}
|
|
52185
|
-
}
|
|
52186
|
-
}
|
|
52187
|
-
|
|
52188
|
-
init(_data?: any) {
|
|
52189
|
-
}
|
|
52190
|
-
|
|
52191
|
-
static fromJS(data: any): WeldingIotConfigDto {
|
|
52192
|
-
data = typeof data === 'object' ? data : {};
|
|
52193
|
-
let result = new WeldingIotConfigDto();
|
|
52194
|
-
result.init(data);
|
|
52195
|
-
return result;
|
|
52196
|
-
}
|
|
52197
|
-
|
|
52198
|
-
toJSON(data?: any) {
|
|
52199
|
-
data = typeof data === 'object' ? data : {};
|
|
52200
|
-
return data;
|
|
52201
|
-
}
|
|
52202
|
-
}
|
|
52203
|
-
|
|
52204
|
-
export interface IWeldingIotConfigDto {
|
|
52205
|
-
}
|
|
52206
|
-
|
|
52207
|
-
export class CreateWeldingIotConfig implements ICreateWeldingIotConfig {
|
|
52208
|
-
|
|
52209
|
-
constructor(data?: ICreateWeldingIotConfig) {
|
|
52210
|
-
if (data) {
|
|
52211
|
-
for (var property in data) {
|
|
52212
|
-
if (data.hasOwnProperty(property))
|
|
52213
|
-
(<any>this)[property] = (<any>data)[property];
|
|
52214
|
-
}
|
|
52215
|
-
}
|
|
52216
|
-
}
|
|
52217
|
-
|
|
52218
|
-
init(_data?: any) {
|
|
52219
|
-
}
|
|
52220
|
-
|
|
52221
|
-
static fromJS(data: any): CreateWeldingIotConfig {
|
|
52222
|
-
data = typeof data === 'object' ? data : {};
|
|
52223
|
-
let result = new CreateWeldingIotConfig();
|
|
52224
|
-
result.init(data);
|
|
52225
|
-
return result;
|
|
52226
|
-
}
|
|
52227
|
-
|
|
52228
|
-
toJSON(data?: any) {
|
|
52229
|
-
data = typeof data === 'object' ? data : {};
|
|
52230
|
-
return data;
|
|
52231
|
-
}
|
|
52232
|
-
}
|
|
52233
|
-
|
|
52234
|
-
export interface ICreateWeldingIotConfig {
|
|
52235
|
-
}
|
|
52236
|
-
|
|
52237
52052
|
export class PagedResultOfMeasurementFormListDto implements IPagedResultOfMeasurementFormListDto {
|
|
52238
52053
|
results!: MeasurementFormListDto[];
|
|
52239
52054
|
continuationToken?: string | null;
|
|
@@ -52662,8 +52477,7 @@ export interface IMeasurementFormSchemaAttachmentDto {
|
|
|
52662
52477
|
|
|
52663
52478
|
export class MeasurementFormGroupedElementDto implements IMeasurementFormGroupedElementDto {
|
|
52664
52479
|
id!: string;
|
|
52665
|
-
balloonId
|
|
52666
|
-
reference!: number;
|
|
52480
|
+
balloonId!: string;
|
|
52667
52481
|
imageUrl?: string | null;
|
|
52668
52482
|
thumbnailUrl?: string | null;
|
|
52669
52483
|
section?: string | null;
|
|
@@ -52690,7 +52504,6 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
52690
52504
|
includeInCustomerDocumentation!: boolean;
|
|
52691
52505
|
isDocumentedExternally!: boolean;
|
|
52692
52506
|
balloonQuantity?: number | null;
|
|
52693
|
-
referenceQuantity?: number | null;
|
|
52694
52507
|
plusToleranceText?: string | null;
|
|
52695
52508
|
minusToleranceText?: string | null;
|
|
52696
52509
|
coatingThickness?: number | null;
|
|
@@ -52717,7 +52530,6 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
52717
52530
|
if (_data) {
|
|
52718
52531
|
this.id = _data["id"];
|
|
52719
52532
|
this.balloonId = _data["balloonId"];
|
|
52720
|
-
this.reference = _data["reference"];
|
|
52721
52533
|
this.imageUrl = _data["imageUrl"];
|
|
52722
52534
|
this.thumbnailUrl = _data["thumbnailUrl"];
|
|
52723
52535
|
this.section = _data["section"];
|
|
@@ -52744,7 +52556,6 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
52744
52556
|
this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
|
|
52745
52557
|
this.isDocumentedExternally = _data["isDocumentedExternally"];
|
|
52746
52558
|
this.balloonQuantity = _data["balloonQuantity"];
|
|
52747
|
-
this.referenceQuantity = _data["referenceQuantity"];
|
|
52748
52559
|
this.plusToleranceText = _data["plusToleranceText"];
|
|
52749
52560
|
this.minusToleranceText = _data["minusToleranceText"];
|
|
52750
52561
|
this.coatingThickness = _data["coatingThickness"];
|
|
@@ -52771,7 +52582,6 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
52771
52582
|
data = typeof data === 'object' ? data : {};
|
|
52772
52583
|
data["id"] = this.id;
|
|
52773
52584
|
data["balloonId"] = this.balloonId;
|
|
52774
|
-
data["reference"] = this.reference;
|
|
52775
52585
|
data["imageUrl"] = this.imageUrl;
|
|
52776
52586
|
data["thumbnailUrl"] = this.thumbnailUrl;
|
|
52777
52587
|
data["section"] = this.section;
|
|
@@ -52798,7 +52608,6 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
52798
52608
|
data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
|
|
52799
52609
|
data["isDocumentedExternally"] = this.isDocumentedExternally;
|
|
52800
52610
|
data["balloonQuantity"] = this.balloonQuantity;
|
|
52801
|
-
data["referenceQuantity"] = this.referenceQuantity;
|
|
52802
52611
|
data["plusToleranceText"] = this.plusToleranceText;
|
|
52803
52612
|
data["minusToleranceText"] = this.minusToleranceText;
|
|
52804
52613
|
data["coatingThickness"] = this.coatingThickness;
|
|
@@ -52817,8 +52626,7 @@ export class MeasurementFormGroupedElementDto implements IMeasurementFormGrouped
|
|
|
52817
52626
|
|
|
52818
52627
|
export interface IMeasurementFormGroupedElementDto {
|
|
52819
52628
|
id: string;
|
|
52820
|
-
balloonId
|
|
52821
|
-
reference: number;
|
|
52629
|
+
balloonId: string;
|
|
52822
52630
|
imageUrl?: string | null;
|
|
52823
52631
|
thumbnailUrl?: string | null;
|
|
52824
52632
|
section?: string | null;
|
|
@@ -52845,7 +52653,6 @@ export interface IMeasurementFormGroupedElementDto {
|
|
|
52845
52653
|
includeInCustomerDocumentation: boolean;
|
|
52846
52654
|
isDocumentedExternally: boolean;
|
|
52847
52655
|
balloonQuantity?: number | null;
|
|
52848
|
-
referenceQuantity?: number | null;
|
|
52849
52656
|
plusToleranceText?: string | null;
|
|
52850
52657
|
minusToleranceText?: string | null;
|
|
52851
52658
|
coatingThickness?: number | null;
|
|
@@ -53249,8 +53056,7 @@ export interface IUpdateSchemaGroupedElementsRequest {
|
|
|
53249
53056
|
}
|
|
53250
53057
|
|
|
53251
53058
|
export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElementDto {
|
|
53252
|
-
balloonId
|
|
53253
|
-
reference!: number;
|
|
53059
|
+
balloonId!: string;
|
|
53254
53060
|
frequency!: MeasurementFrequency;
|
|
53255
53061
|
frequencyParameter?: number | null;
|
|
53256
53062
|
includeInCustomerDocumentation!: boolean;
|
|
@@ -53270,7 +53076,6 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
|
|
|
53270
53076
|
init(_data?: any) {
|
|
53271
53077
|
if (_data) {
|
|
53272
53078
|
this.balloonId = _data["balloonId"];
|
|
53273
|
-
this.reference = _data["reference"];
|
|
53274
53079
|
this.frequency = _data["frequency"];
|
|
53275
53080
|
this.frequencyParameter = _data["frequencyParameter"];
|
|
53276
53081
|
this.includeInCustomerDocumentation = _data["includeInCustomerDocumentation"];
|
|
@@ -53290,7 +53095,6 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
|
|
|
53290
53095
|
toJSON(data?: any) {
|
|
53291
53096
|
data = typeof data === 'object' ? data : {};
|
|
53292
53097
|
data["balloonId"] = this.balloonId;
|
|
53293
|
-
data["reference"] = this.reference;
|
|
53294
53098
|
data["frequency"] = this.frequency;
|
|
53295
53099
|
data["frequencyParameter"] = this.frequencyParameter;
|
|
53296
53100
|
data["includeInCustomerDocumentation"] = this.includeInCustomerDocumentation;
|
|
@@ -53302,8 +53106,7 @@ export class UpdateSchemaGroupedElementDto implements IUpdateSchemaGroupedElemen
|
|
|
53302
53106
|
}
|
|
53303
53107
|
|
|
53304
53108
|
export interface IUpdateSchemaGroupedElementDto {
|
|
53305
|
-
balloonId
|
|
53306
|
-
reference: number;
|
|
53109
|
+
balloonId: string;
|
|
53307
53110
|
frequency: MeasurementFrequency;
|
|
53308
53111
|
frequencyParameter?: number | null;
|
|
53309
53112
|
includeInCustomerDocumentation: boolean;
|
|
@@ -53313,10 +53116,8 @@ export interface IUpdateSchemaGroupedElementDto {
|
|
|
53313
53116
|
}
|
|
53314
53117
|
|
|
53315
53118
|
export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedElementRowDto {
|
|
53316
|
-
id
|
|
53317
|
-
balloonId
|
|
53318
|
-
oldReference!: number;
|
|
53319
|
-
newReference!: number;
|
|
53119
|
+
id!: string;
|
|
53120
|
+
balloonId!: string;
|
|
53320
53121
|
section?: string | null;
|
|
53321
53122
|
pageNumber?: number | null;
|
|
53322
53123
|
measurements?: number | null;
|
|
@@ -53348,8 +53149,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
|
|
|
53348
53149
|
if (_data) {
|
|
53349
53150
|
this.id = _data["id"];
|
|
53350
53151
|
this.balloonId = _data["balloonId"];
|
|
53351
|
-
this.oldReference = _data["oldReference"];
|
|
53352
|
-
this.newReference = _data["newReference"];
|
|
53353
53152
|
this.section = _data["section"];
|
|
53354
53153
|
this.pageNumber = _data["pageNumber"];
|
|
53355
53154
|
this.measurements = _data["measurements"];
|
|
@@ -53381,8 +53180,6 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
|
|
|
53381
53180
|
data = typeof data === 'object' ? data : {};
|
|
53382
53181
|
data["id"] = this.id;
|
|
53383
53182
|
data["balloonId"] = this.balloonId;
|
|
53384
|
-
data["oldReference"] = this.oldReference;
|
|
53385
|
-
data["newReference"] = this.newReference;
|
|
53386
53183
|
data["section"] = this.section;
|
|
53387
53184
|
data["pageNumber"] = this.pageNumber;
|
|
53388
53185
|
data["measurements"] = this.measurements;
|
|
@@ -53405,10 +53202,8 @@ export class UpdateSchemaGroupedElementRowDto implements IUpdateSchemaGroupedEle
|
|
|
53405
53202
|
}
|
|
53406
53203
|
|
|
53407
53204
|
export interface IUpdateSchemaGroupedElementRowDto {
|
|
53408
|
-
id
|
|
53409
|
-
balloonId
|
|
53410
|
-
oldReference: number;
|
|
53411
|
-
newReference: number;
|
|
53205
|
+
id: string;
|
|
53206
|
+
balloonId: string;
|
|
53412
53207
|
section?: string | null;
|
|
53413
53208
|
pageNumber?: number | null;
|
|
53414
53209
|
measurements?: number | null;
|
|
@@ -53429,8 +53224,7 @@ export interface IUpdateSchemaGroupedElementRowDto {
|
|
|
53429
53224
|
}
|
|
53430
53225
|
|
|
53431
53226
|
export class DeleteSchemaGroupedElementRowsDto implements IDeleteSchemaGroupedElementRowsDto {
|
|
53432
|
-
balloonIds
|
|
53433
|
-
references?: number[];
|
|
53227
|
+
balloonIds!: string[];
|
|
53434
53228
|
|
|
53435
53229
|
constructor(data?: IDeleteSchemaGroupedElementRowsDto) {
|
|
53436
53230
|
if (data) {
|
|
@@ -53439,6 +53233,9 @@ export class DeleteSchemaGroupedElementRowsDto implements IDeleteSchemaGroupedEl
|
|
|
53439
53233
|
(<any>this)[property] = (<any>data)[property];
|
|
53440
53234
|
}
|
|
53441
53235
|
}
|
|
53236
|
+
if (!data) {
|
|
53237
|
+
this.balloonIds = [];
|
|
53238
|
+
}
|
|
53442
53239
|
}
|
|
53443
53240
|
|
|
53444
53241
|
init(_data?: any) {
|
|
@@ -53448,11 +53245,6 @@ export class DeleteSchemaGroupedElementRowsDto implements IDeleteSchemaGroupedEl
|
|
|
53448
53245
|
for (let item of _data["balloonIds"])
|
|
53449
53246
|
this.balloonIds!.push(item);
|
|
53450
53247
|
}
|
|
53451
|
-
if (Array.isArray(_data["references"])) {
|
|
53452
|
-
this.references = [] as any;
|
|
53453
|
-
for (let item of _data["references"])
|
|
53454
|
-
this.references!.push(item);
|
|
53455
|
-
}
|
|
53456
53248
|
}
|
|
53457
53249
|
}
|
|
53458
53250
|
|
|
@@ -53470,25 +53262,18 @@ export class DeleteSchemaGroupedElementRowsDto implements IDeleteSchemaGroupedEl
|
|
|
53470
53262
|
for (let item of this.balloonIds)
|
|
53471
53263
|
data["balloonIds"].push(item);
|
|
53472
53264
|
}
|
|
53473
|
-
if (Array.isArray(this.references)) {
|
|
53474
|
-
data["references"] = [];
|
|
53475
|
-
for (let item of this.references)
|
|
53476
|
-
data["references"].push(item);
|
|
53477
|
-
}
|
|
53478
53265
|
return data;
|
|
53479
53266
|
}
|
|
53480
53267
|
}
|
|
53481
53268
|
|
|
53482
53269
|
export interface IDeleteSchemaGroupedElementRowsDto {
|
|
53483
|
-
balloonIds
|
|
53484
|
-
references?: number[];
|
|
53270
|
+
balloonIds: string[];
|
|
53485
53271
|
}
|
|
53486
53272
|
|
|
53487
53273
|
export class UploadMeasurementImageRequest implements IUploadMeasurementImageRequest {
|
|
53488
53274
|
uploadKey!: string;
|
|
53489
53275
|
filename!: string;
|
|
53490
|
-
ballonId
|
|
53491
|
-
reference!: number;
|
|
53276
|
+
ballonId!: string;
|
|
53492
53277
|
|
|
53493
53278
|
constructor(data?: IUploadMeasurementImageRequest) {
|
|
53494
53279
|
if (data) {
|
|
@@ -53504,7 +53289,6 @@ export class UploadMeasurementImageRequest implements IUploadMeasurementImageReq
|
|
|
53504
53289
|
this.uploadKey = _data["uploadKey"];
|
|
53505
53290
|
this.filename = _data["filename"];
|
|
53506
53291
|
this.ballonId = _data["ballonId"];
|
|
53507
|
-
this.reference = _data["reference"];
|
|
53508
53292
|
}
|
|
53509
53293
|
}
|
|
53510
53294
|
|
|
@@ -53520,7 +53304,6 @@ export class UploadMeasurementImageRequest implements IUploadMeasurementImageReq
|
|
|
53520
53304
|
data["uploadKey"] = this.uploadKey;
|
|
53521
53305
|
data["filename"] = this.filename;
|
|
53522
53306
|
data["ballonId"] = this.ballonId;
|
|
53523
|
-
data["reference"] = this.reference;
|
|
53524
53307
|
return data;
|
|
53525
53308
|
}
|
|
53526
53309
|
}
|
|
@@ -53528,8 +53311,7 @@ export class UploadMeasurementImageRequest implements IUploadMeasurementImageReq
|
|
|
53528
53311
|
export interface IUploadMeasurementImageRequest {
|
|
53529
53312
|
uploadKey: string;
|
|
53530
53313
|
filename: string;
|
|
53531
|
-
ballonId
|
|
53532
|
-
reference: number;
|
|
53314
|
+
ballonId: string;
|
|
53533
53315
|
}
|
|
53534
53316
|
|
|
53535
53317
|
export class UpdateSchemaSettingsRequest implements IUpdateSchemaSettingsRequest {
|
|
@@ -53656,6 +53438,54 @@ export interface IUploadRequest {
|
|
|
53656
53438
|
filename: string;
|
|
53657
53439
|
}
|
|
53658
53440
|
|
|
53441
|
+
export class MeasurementFormImportStatusDto implements IMeasurementFormImportStatusDto {
|
|
53442
|
+
progress!: number;
|
|
53443
|
+
totalElements!: number;
|
|
53444
|
+
errorMessage!: string;
|
|
53445
|
+
timestamp!: Date;
|
|
53446
|
+
|
|
53447
|
+
constructor(data?: IMeasurementFormImportStatusDto) {
|
|
53448
|
+
if (data) {
|
|
53449
|
+
for (var property in data) {
|
|
53450
|
+
if (data.hasOwnProperty(property))
|
|
53451
|
+
(<any>this)[property] = (<any>data)[property];
|
|
53452
|
+
}
|
|
53453
|
+
}
|
|
53454
|
+
}
|
|
53455
|
+
|
|
53456
|
+
init(_data?: any) {
|
|
53457
|
+
if (_data) {
|
|
53458
|
+
this.progress = _data["progress"];
|
|
53459
|
+
this.totalElements = _data["totalElements"];
|
|
53460
|
+
this.errorMessage = _data["errorMessage"];
|
|
53461
|
+
this.timestamp = _data["timestamp"] ? new Date(_data["timestamp"].toString()) : <any>undefined;
|
|
53462
|
+
}
|
|
53463
|
+
}
|
|
53464
|
+
|
|
53465
|
+
static fromJS(data: any): MeasurementFormImportStatusDto {
|
|
53466
|
+
data = typeof data === 'object' ? data : {};
|
|
53467
|
+
let result = new MeasurementFormImportStatusDto();
|
|
53468
|
+
result.init(data);
|
|
53469
|
+
return result;
|
|
53470
|
+
}
|
|
53471
|
+
|
|
53472
|
+
toJSON(data?: any) {
|
|
53473
|
+
data = typeof data === 'object' ? data : {};
|
|
53474
|
+
data["progress"] = this.progress;
|
|
53475
|
+
data["totalElements"] = this.totalElements;
|
|
53476
|
+
data["errorMessage"] = this.errorMessage;
|
|
53477
|
+
data["timestamp"] = this.timestamp ? this.timestamp.toISOString() : <any>undefined;
|
|
53478
|
+
return data;
|
|
53479
|
+
}
|
|
53480
|
+
}
|
|
53481
|
+
|
|
53482
|
+
export interface IMeasurementFormImportStatusDto {
|
|
53483
|
+
progress: number;
|
|
53484
|
+
totalElements: number;
|
|
53485
|
+
errorMessage: string;
|
|
53486
|
+
timestamp: Date;
|
|
53487
|
+
}
|
|
53488
|
+
|
|
53659
53489
|
export class ListLinkableMeasurementFormSchemasRequest implements IListLinkableMeasurementFormSchemasRequest {
|
|
53660
53490
|
schemaId!: string;
|
|
53661
53491
|
pageSize?: number | null;
|
|
@@ -53740,7 +53570,7 @@ export interface ICreateMeasurementFormSchemaLinkRequest {
|
|
|
53740
53570
|
linkSchemaId: string;
|
|
53741
53571
|
}
|
|
53742
53572
|
|
|
53743
|
-
export class
|
|
53573
|
+
export class MeasurementFormSettingsDto implements IMeasurementFormSettingsDto {
|
|
53744
53574
|
convertInchToMm!: boolean;
|
|
53745
53575
|
convertMicroInchToMicroMeter!: boolean;
|
|
53746
53576
|
validateMeasuringTools!: boolean;
|
|
@@ -53756,7 +53586,7 @@ export class InspectCompanySettingsDto implements IInspectCompanySettingsDto {
|
|
|
53756
53586
|
allowCreateInstances!: boolean;
|
|
53757
53587
|
resourceTypesBlockingAutoWorkflow?: string[] | null;
|
|
53758
53588
|
|
|
53759
|
-
constructor(data?:
|
|
53589
|
+
constructor(data?: IMeasurementFormSettingsDto) {
|
|
53760
53590
|
if (data) {
|
|
53761
53591
|
for (var property in data) {
|
|
53762
53592
|
if (data.hasOwnProperty(property))
|
|
@@ -53788,9 +53618,9 @@ export class InspectCompanySettingsDto implements IInspectCompanySettingsDto {
|
|
|
53788
53618
|
}
|
|
53789
53619
|
}
|
|
53790
53620
|
|
|
53791
|
-
static fromJS(data: any):
|
|
53621
|
+
static fromJS(data: any): MeasurementFormSettingsDto {
|
|
53792
53622
|
data = typeof data === 'object' ? data : {};
|
|
53793
|
-
let result = new
|
|
53623
|
+
let result = new MeasurementFormSettingsDto();
|
|
53794
53624
|
result.init(data);
|
|
53795
53625
|
return result;
|
|
53796
53626
|
}
|
|
@@ -53819,7 +53649,7 @@ export class InspectCompanySettingsDto implements IInspectCompanySettingsDto {
|
|
|
53819
53649
|
}
|
|
53820
53650
|
}
|
|
53821
53651
|
|
|
53822
|
-
export interface
|
|
53652
|
+
export interface IMeasurementFormSettingsDto {
|
|
53823
53653
|
convertInchToMm: boolean;
|
|
53824
53654
|
convertMicroInchToMicroMeter: boolean;
|
|
53825
53655
|
validateMeasuringTools: boolean;
|
|
@@ -54043,10 +53873,8 @@ export class MeasurementFormMappingDto implements IMeasurementFormMappingDto {
|
|
|
54043
53873
|
id!: string;
|
|
54044
53874
|
measurementSchemaSourceId!: string;
|
|
54045
53875
|
measurementSchemaTargetId!: string;
|
|
54046
|
-
sourceBalloons
|
|
54047
|
-
targetBalloons
|
|
54048
|
-
sourceReferences!: MeasurementFormReferenceMappingDto[];
|
|
54049
|
-
targetReferences!: MeasurementFormReferenceMappingDto[];
|
|
53876
|
+
sourceBalloons!: MeasurementFormBalloonMappingDto[];
|
|
53877
|
+
targetBalloons!: MeasurementFormBalloonMappingDto[];
|
|
54050
53878
|
|
|
54051
53879
|
constructor(data?: IMeasurementFormMappingDto) {
|
|
54052
53880
|
if (data) {
|
|
@@ -54056,8 +53884,8 @@ export class MeasurementFormMappingDto implements IMeasurementFormMappingDto {
|
|
|
54056
53884
|
}
|
|
54057
53885
|
}
|
|
54058
53886
|
if (!data) {
|
|
54059
|
-
this.
|
|
54060
|
-
this.
|
|
53887
|
+
this.sourceBalloons = [];
|
|
53888
|
+
this.targetBalloons = [];
|
|
54061
53889
|
}
|
|
54062
53890
|
}
|
|
54063
53891
|
|
|
@@ -54069,22 +53897,12 @@ export class MeasurementFormMappingDto implements IMeasurementFormMappingDto {
|
|
|
54069
53897
|
if (Array.isArray(_data["sourceBalloons"])) {
|
|
54070
53898
|
this.sourceBalloons = [] as any;
|
|
54071
53899
|
for (let item of _data["sourceBalloons"])
|
|
54072
|
-
this.sourceBalloons!.push(
|
|
53900
|
+
this.sourceBalloons!.push(MeasurementFormBalloonMappingDto.fromJS(item));
|
|
54073
53901
|
}
|
|
54074
53902
|
if (Array.isArray(_data["targetBalloons"])) {
|
|
54075
53903
|
this.targetBalloons = [] as any;
|
|
54076
53904
|
for (let item of _data["targetBalloons"])
|
|
54077
|
-
this.targetBalloons!.push(
|
|
54078
|
-
}
|
|
54079
|
-
if (Array.isArray(_data["sourceReferences"])) {
|
|
54080
|
-
this.sourceReferences = [] as any;
|
|
54081
|
-
for (let item of _data["sourceReferences"])
|
|
54082
|
-
this.sourceReferences!.push(MeasurementFormReferenceMappingDto.fromJS(item));
|
|
54083
|
-
}
|
|
54084
|
-
if (Array.isArray(_data["targetReferences"])) {
|
|
54085
|
-
this.targetReferences = [] as any;
|
|
54086
|
-
for (let item of _data["targetReferences"])
|
|
54087
|
-
this.targetReferences!.push(MeasurementFormReferenceMappingDto.fromJS(item));
|
|
53905
|
+
this.targetBalloons!.push(MeasurementFormBalloonMappingDto.fromJS(item));
|
|
54088
53906
|
}
|
|
54089
53907
|
}
|
|
54090
53908
|
}
|
|
@@ -54111,16 +53929,6 @@ export class MeasurementFormMappingDto implements IMeasurementFormMappingDto {
|
|
|
54111
53929
|
for (let item of this.targetBalloons)
|
|
54112
53930
|
data["targetBalloons"].push(item.toJSON());
|
|
54113
53931
|
}
|
|
54114
|
-
if (Array.isArray(this.sourceReferences)) {
|
|
54115
|
-
data["sourceReferences"] = [];
|
|
54116
|
-
for (let item of this.sourceReferences)
|
|
54117
|
-
data["sourceReferences"].push(item.toJSON());
|
|
54118
|
-
}
|
|
54119
|
-
if (Array.isArray(this.targetReferences)) {
|
|
54120
|
-
data["targetReferences"] = [];
|
|
54121
|
-
for (let item of this.targetReferences)
|
|
54122
|
-
data["targetReferences"].push(item.toJSON());
|
|
54123
|
-
}
|
|
54124
53932
|
return data;
|
|
54125
53933
|
}
|
|
54126
53934
|
}
|
|
@@ -54129,18 +53937,16 @@ export interface IMeasurementFormMappingDto {
|
|
|
54129
53937
|
id: string;
|
|
54130
53938
|
measurementSchemaSourceId: string;
|
|
54131
53939
|
measurementSchemaTargetId: string;
|
|
54132
|
-
sourceBalloons
|
|
54133
|
-
targetBalloons
|
|
54134
|
-
sourceReferences: MeasurementFormReferenceMappingDto[];
|
|
54135
|
-
targetReferences: MeasurementFormReferenceMappingDto[];
|
|
53940
|
+
sourceBalloons: MeasurementFormBalloonMappingDto[];
|
|
53941
|
+
targetBalloons: MeasurementFormBalloonMappingDto[];
|
|
54136
53942
|
}
|
|
54137
53943
|
|
|
54138
|
-
export class
|
|
54139
|
-
|
|
54140
|
-
|
|
53944
|
+
export class MeasurementFormBalloonMappingDto implements IMeasurementFormBalloonMappingDto {
|
|
53945
|
+
balloon!: MeasurementFormGroupedElementDto;
|
|
53946
|
+
mappedBalloonId?: string | null;
|
|
54141
53947
|
mappingScorePercent?: number | null;
|
|
54142
53948
|
|
|
54143
|
-
constructor(data?:
|
|
53949
|
+
constructor(data?: IMeasurementFormBalloonMappingDto) {
|
|
54144
53950
|
if (data) {
|
|
54145
53951
|
for (var property in data) {
|
|
54146
53952
|
if (data.hasOwnProperty(property))
|
|
@@ -54148,37 +53954,37 @@ export class MeasurementFormReferenceMappingDto implements IMeasurementFormRefer
|
|
|
54148
53954
|
}
|
|
54149
53955
|
}
|
|
54150
53956
|
if (!data) {
|
|
54151
|
-
this.
|
|
53957
|
+
this.balloon = new MeasurementFormGroupedElementDto();
|
|
54152
53958
|
}
|
|
54153
53959
|
}
|
|
54154
53960
|
|
|
54155
53961
|
init(_data?: any) {
|
|
54156
53962
|
if (_data) {
|
|
54157
|
-
this.
|
|
54158
|
-
this.
|
|
53963
|
+
this.balloon = _data["balloon"] ? MeasurementFormGroupedElementDto.fromJS(_data["balloon"]) : new MeasurementFormGroupedElementDto();
|
|
53964
|
+
this.mappedBalloonId = _data["mappedBalloonId"];
|
|
54159
53965
|
this.mappingScorePercent = _data["mappingScorePercent"];
|
|
54160
53966
|
}
|
|
54161
53967
|
}
|
|
54162
53968
|
|
|
54163
|
-
static fromJS(data: any):
|
|
53969
|
+
static fromJS(data: any): MeasurementFormBalloonMappingDto {
|
|
54164
53970
|
data = typeof data === 'object' ? data : {};
|
|
54165
|
-
let result = new
|
|
53971
|
+
let result = new MeasurementFormBalloonMappingDto();
|
|
54166
53972
|
result.init(data);
|
|
54167
53973
|
return result;
|
|
54168
53974
|
}
|
|
54169
53975
|
|
|
54170
53976
|
toJSON(data?: any) {
|
|
54171
53977
|
data = typeof data === 'object' ? data : {};
|
|
54172
|
-
data["
|
|
54173
|
-
data["
|
|
53978
|
+
data["balloon"] = this.balloon ? this.balloon.toJSON() : <any>undefined;
|
|
53979
|
+
data["mappedBalloonId"] = this.mappedBalloonId;
|
|
54174
53980
|
data["mappingScorePercent"] = this.mappingScorePercent;
|
|
54175
53981
|
return data;
|
|
54176
53982
|
}
|
|
54177
53983
|
}
|
|
54178
53984
|
|
|
54179
|
-
export interface
|
|
54180
|
-
|
|
54181
|
-
|
|
53985
|
+
export interface IMeasurementFormBalloonMappingDto {
|
|
53986
|
+
balloon: MeasurementFormGroupedElementDto;
|
|
53987
|
+
mappedBalloonId?: string | null;
|
|
54182
53988
|
mappingScorePercent?: number | null;
|
|
54183
53989
|
}
|
|
54184
53990
|
|
|
@@ -54222,10 +54028,54 @@ export interface ICreateMeasurementFormMapping {
|
|
|
54222
54028
|
targetId: string;
|
|
54223
54029
|
}
|
|
54224
54030
|
|
|
54225
|
-
export class
|
|
54226
|
-
|
|
54031
|
+
export class MeasurementFormBalloonMappingRequestDto implements IMeasurementFormBalloonMappingRequestDto {
|
|
54032
|
+
sourceBalloonId!: string;
|
|
54033
|
+
targetBalloonId!: string;
|
|
54034
|
+
mappingScorePercent?: number | null;
|
|
54035
|
+
|
|
54036
|
+
constructor(data?: IMeasurementFormBalloonMappingRequestDto) {
|
|
54037
|
+
if (data) {
|
|
54038
|
+
for (var property in data) {
|
|
54039
|
+
if (data.hasOwnProperty(property))
|
|
54040
|
+
(<any>this)[property] = (<any>data)[property];
|
|
54041
|
+
}
|
|
54042
|
+
}
|
|
54043
|
+
}
|
|
54044
|
+
|
|
54045
|
+
init(_data?: any) {
|
|
54046
|
+
if (_data) {
|
|
54047
|
+
this.sourceBalloonId = _data["sourceBalloonId"];
|
|
54048
|
+
this.targetBalloonId = _data["targetBalloonId"];
|
|
54049
|
+
this.mappingScorePercent = _data["mappingScorePercent"];
|
|
54050
|
+
}
|
|
54051
|
+
}
|
|
54052
|
+
|
|
54053
|
+
static fromJS(data: any): MeasurementFormBalloonMappingRequestDto {
|
|
54054
|
+
data = typeof data === 'object' ? data : {};
|
|
54055
|
+
let result = new MeasurementFormBalloonMappingRequestDto();
|
|
54056
|
+
result.init(data);
|
|
54057
|
+
return result;
|
|
54058
|
+
}
|
|
54059
|
+
|
|
54060
|
+
toJSON(data?: any) {
|
|
54061
|
+
data = typeof data === 'object' ? data : {};
|
|
54062
|
+
data["sourceBalloonId"] = this.sourceBalloonId;
|
|
54063
|
+
data["targetBalloonId"] = this.targetBalloonId;
|
|
54064
|
+
data["mappingScorePercent"] = this.mappingScorePercent;
|
|
54065
|
+
return data;
|
|
54066
|
+
}
|
|
54067
|
+
}
|
|
54068
|
+
|
|
54069
|
+
export interface IMeasurementFormBalloonMappingRequestDto {
|
|
54070
|
+
sourceBalloonId: string;
|
|
54071
|
+
targetBalloonId: string;
|
|
54072
|
+
mappingScorePercent?: number | null;
|
|
54073
|
+
}
|
|
54074
|
+
|
|
54075
|
+
export class SetMeasurementFormMappingBalloonsRequest implements ISetMeasurementFormMappingBalloonsRequest {
|
|
54076
|
+
mappings!: MeasurementFormBalloonMappingRequestDto[];
|
|
54227
54077
|
|
|
54228
|
-
constructor(data?:
|
|
54078
|
+
constructor(data?: ISetMeasurementFormMappingBalloonsRequest) {
|
|
54229
54079
|
if (data) {
|
|
54230
54080
|
for (var property in data) {
|
|
54231
54081
|
if (data.hasOwnProperty(property))
|
|
@@ -54242,14 +54092,14 @@ export class SetMeasurementFormReferencesMappingRequest implements ISetMeasureme
|
|
|
54242
54092
|
if (Array.isArray(_data["mappings"])) {
|
|
54243
54093
|
this.mappings = [] as any;
|
|
54244
54094
|
for (let item of _data["mappings"])
|
|
54245
|
-
this.mappings!.push(
|
|
54095
|
+
this.mappings!.push(MeasurementFormBalloonMappingRequestDto.fromJS(item));
|
|
54246
54096
|
}
|
|
54247
54097
|
}
|
|
54248
54098
|
}
|
|
54249
54099
|
|
|
54250
|
-
static fromJS(data: any):
|
|
54100
|
+
static fromJS(data: any): SetMeasurementFormMappingBalloonsRequest {
|
|
54251
54101
|
data = typeof data === 'object' ? data : {};
|
|
54252
|
-
let result = new
|
|
54102
|
+
let result = new SetMeasurementFormMappingBalloonsRequest();
|
|
54253
54103
|
result.init(data);
|
|
54254
54104
|
return result;
|
|
54255
54105
|
}
|
|
@@ -54265,69 +54115,15 @@ export class SetMeasurementFormReferencesMappingRequest implements ISetMeasureme
|
|
|
54265
54115
|
}
|
|
54266
54116
|
}
|
|
54267
54117
|
|
|
54268
|
-
export interface
|
|
54269
|
-
mappings:
|
|
54270
|
-
}
|
|
54271
|
-
|
|
54272
|
-
export class MeasurementFormReferenceMappingRequestDto implements IMeasurementFormReferenceMappingRequestDto {
|
|
54273
|
-
sourceBalloonId?: string | null;
|
|
54274
|
-
targetBalloonId?: string | null;
|
|
54275
|
-
sourceReference!: number;
|
|
54276
|
-
targetReference!: number;
|
|
54277
|
-
mappingScorePercent?: number | null;
|
|
54278
|
-
|
|
54279
|
-
constructor(data?: IMeasurementFormReferenceMappingRequestDto) {
|
|
54280
|
-
if (data) {
|
|
54281
|
-
for (var property in data) {
|
|
54282
|
-
if (data.hasOwnProperty(property))
|
|
54283
|
-
(<any>this)[property] = (<any>data)[property];
|
|
54284
|
-
}
|
|
54285
|
-
}
|
|
54286
|
-
}
|
|
54287
|
-
|
|
54288
|
-
init(_data?: any) {
|
|
54289
|
-
if (_data) {
|
|
54290
|
-
this.sourceBalloonId = _data["sourceBalloonId"];
|
|
54291
|
-
this.targetBalloonId = _data["targetBalloonId"];
|
|
54292
|
-
this.sourceReference = _data["sourceReference"];
|
|
54293
|
-
this.targetReference = _data["targetReference"];
|
|
54294
|
-
this.mappingScorePercent = _data["mappingScorePercent"];
|
|
54295
|
-
}
|
|
54296
|
-
}
|
|
54297
|
-
|
|
54298
|
-
static fromJS(data: any): MeasurementFormReferenceMappingRequestDto {
|
|
54299
|
-
data = typeof data === 'object' ? data : {};
|
|
54300
|
-
let result = new MeasurementFormReferenceMappingRequestDto();
|
|
54301
|
-
result.init(data);
|
|
54302
|
-
return result;
|
|
54303
|
-
}
|
|
54304
|
-
|
|
54305
|
-
toJSON(data?: any) {
|
|
54306
|
-
data = typeof data === 'object' ? data : {};
|
|
54307
|
-
data["sourceBalloonId"] = this.sourceBalloonId;
|
|
54308
|
-
data["targetBalloonId"] = this.targetBalloonId;
|
|
54309
|
-
data["sourceReference"] = this.sourceReference;
|
|
54310
|
-
data["targetReference"] = this.targetReference;
|
|
54311
|
-
data["mappingScorePercent"] = this.mappingScorePercent;
|
|
54312
|
-
return data;
|
|
54313
|
-
}
|
|
54314
|
-
}
|
|
54315
|
-
|
|
54316
|
-
export interface IMeasurementFormReferenceMappingRequestDto {
|
|
54317
|
-
sourceBalloonId?: string | null;
|
|
54318
|
-
targetBalloonId?: string | null;
|
|
54319
|
-
sourceReference: number;
|
|
54320
|
-
targetReference: number;
|
|
54321
|
-
mappingScorePercent?: number | null;
|
|
54118
|
+
export interface ISetMeasurementFormMappingBalloonsRequest {
|
|
54119
|
+
mappings: MeasurementFormBalloonMappingRequestDto[];
|
|
54322
54120
|
}
|
|
54323
54121
|
|
|
54324
54122
|
export class MeasurementFormMappingSuggestionDto implements IMeasurementFormMappingSuggestionDto {
|
|
54325
54123
|
measurementSchemaSourceId!: string;
|
|
54326
54124
|
measurementSchemaTargetId!: string;
|
|
54327
|
-
sourceBalloons
|
|
54328
|
-
targetBalloons
|
|
54329
|
-
sourceReferences!: MeasurementFormReferenceMappingDto[];
|
|
54330
|
-
targetReferences!: MeasurementFormReferenceMappingDto[];
|
|
54125
|
+
sourceBalloons!: MeasurementFormBalloonMappingDto[];
|
|
54126
|
+
targetBalloons!: MeasurementFormBalloonMappingDto[];
|
|
54331
54127
|
|
|
54332
54128
|
constructor(data?: IMeasurementFormMappingSuggestionDto) {
|
|
54333
54129
|
if (data) {
|
|
@@ -54337,8 +54133,8 @@ export class MeasurementFormMappingSuggestionDto implements IMeasurementFormMapp
|
|
|
54337
54133
|
}
|
|
54338
54134
|
}
|
|
54339
54135
|
if (!data) {
|
|
54340
|
-
this.
|
|
54341
|
-
this.
|
|
54136
|
+
this.sourceBalloons = [];
|
|
54137
|
+
this.targetBalloons = [];
|
|
54342
54138
|
}
|
|
54343
54139
|
}
|
|
54344
54140
|
|
|
@@ -54349,22 +54145,12 @@ export class MeasurementFormMappingSuggestionDto implements IMeasurementFormMapp
|
|
|
54349
54145
|
if (Array.isArray(_data["sourceBalloons"])) {
|
|
54350
54146
|
this.sourceBalloons = [] as any;
|
|
54351
54147
|
for (let item of _data["sourceBalloons"])
|
|
54352
|
-
this.sourceBalloons!.push(
|
|
54148
|
+
this.sourceBalloons!.push(MeasurementFormBalloonMappingDto.fromJS(item));
|
|
54353
54149
|
}
|
|
54354
54150
|
if (Array.isArray(_data["targetBalloons"])) {
|
|
54355
54151
|
this.targetBalloons = [] as any;
|
|
54356
54152
|
for (let item of _data["targetBalloons"])
|
|
54357
|
-
this.targetBalloons!.push(
|
|
54358
|
-
}
|
|
54359
|
-
if (Array.isArray(_data["sourceReferences"])) {
|
|
54360
|
-
this.sourceReferences = [] as any;
|
|
54361
|
-
for (let item of _data["sourceReferences"])
|
|
54362
|
-
this.sourceReferences!.push(MeasurementFormReferenceMappingDto.fromJS(item));
|
|
54363
|
-
}
|
|
54364
|
-
if (Array.isArray(_data["targetReferences"])) {
|
|
54365
|
-
this.targetReferences = [] as any;
|
|
54366
|
-
for (let item of _data["targetReferences"])
|
|
54367
|
-
this.targetReferences!.push(MeasurementFormReferenceMappingDto.fromJS(item));
|
|
54153
|
+
this.targetBalloons!.push(MeasurementFormBalloonMappingDto.fromJS(item));
|
|
54368
54154
|
}
|
|
54369
54155
|
}
|
|
54370
54156
|
}
|
|
@@ -54390,16 +54176,6 @@ export class MeasurementFormMappingSuggestionDto implements IMeasurementFormMapp
|
|
|
54390
54176
|
for (let item of this.targetBalloons)
|
|
54391
54177
|
data["targetBalloons"].push(item.toJSON());
|
|
54392
54178
|
}
|
|
54393
|
-
if (Array.isArray(this.sourceReferences)) {
|
|
54394
|
-
data["sourceReferences"] = [];
|
|
54395
|
-
for (let item of this.sourceReferences)
|
|
54396
|
-
data["sourceReferences"].push(item.toJSON());
|
|
54397
|
-
}
|
|
54398
|
-
if (Array.isArray(this.targetReferences)) {
|
|
54399
|
-
data["targetReferences"] = [];
|
|
54400
|
-
for (let item of this.targetReferences)
|
|
54401
|
-
data["targetReferences"].push(item.toJSON());
|
|
54402
|
-
}
|
|
54403
54179
|
return data;
|
|
54404
54180
|
}
|
|
54405
54181
|
}
|
|
@@ -54407,10 +54183,8 @@ export class MeasurementFormMappingSuggestionDto implements IMeasurementFormMapp
|
|
|
54407
54183
|
export interface IMeasurementFormMappingSuggestionDto {
|
|
54408
54184
|
measurementSchemaSourceId: string;
|
|
54409
54185
|
measurementSchemaTargetId: string;
|
|
54410
|
-
sourceBalloons
|
|
54411
|
-
targetBalloons
|
|
54412
|
-
sourceReferences: MeasurementFormReferenceMappingDto[];
|
|
54413
|
-
targetReferences: MeasurementFormReferenceMappingDto[];
|
|
54186
|
+
sourceBalloons: MeasurementFormBalloonMappingDto[];
|
|
54187
|
+
targetBalloons: MeasurementFormBalloonMappingDto[];
|
|
54414
54188
|
}
|
|
54415
54189
|
|
|
54416
54190
|
export class PagedResultOfMeasurementFormNeedDto implements IPagedResultOfMeasurementFormNeedDto {
|
|
@@ -55073,7 +54847,6 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
|
|
|
55073
54847
|
versionId?: number;
|
|
55074
54848
|
schemaInstanceId!: string;
|
|
55075
54849
|
balloonId?: string | null;
|
|
55076
|
-
reference?: number;
|
|
55077
54850
|
feedback!: string;
|
|
55078
54851
|
from!: string;
|
|
55079
54852
|
created!: Date;
|
|
@@ -55103,7 +54876,6 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
|
|
|
55103
54876
|
this.versionId = _data["versionId"];
|
|
55104
54877
|
this.schemaInstanceId = _data["schemaInstanceId"];
|
|
55105
54878
|
this.balloonId = _data["balloonId"];
|
|
55106
|
-
this.reference = _data["reference"];
|
|
55107
54879
|
this.feedback = _data["feedback"];
|
|
55108
54880
|
this.from = _data["from"];
|
|
55109
54881
|
this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
|
|
@@ -55133,7 +54905,6 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
|
|
|
55133
54905
|
data["versionId"] = this.versionId;
|
|
55134
54906
|
data["schemaInstanceId"] = this.schemaInstanceId;
|
|
55135
54907
|
data["balloonId"] = this.balloonId;
|
|
55136
|
-
data["reference"] = this.reference;
|
|
55137
54908
|
data["feedback"] = this.feedback;
|
|
55138
54909
|
data["from"] = this.from;
|
|
55139
54910
|
data["created"] = this.created ? this.created.toISOString() : <any>undefined;
|
|
@@ -55156,7 +54927,6 @@ export interface ISchemaFeedbackDto {
|
|
|
55156
54927
|
versionId?: number;
|
|
55157
54928
|
schemaInstanceId: string;
|
|
55158
54929
|
balloonId?: string | null;
|
|
55159
|
-
reference?: number;
|
|
55160
54930
|
feedback: string;
|
|
55161
54931
|
from: string;
|
|
55162
54932
|
created: Date;
|
|
@@ -56156,7 +55926,6 @@ export class MeasurementFormInstanceFeedbackDto implements IMeasurementFormInsta
|
|
|
56156
55926
|
versionId?: number;
|
|
56157
55927
|
schemaInstanceId!: string;
|
|
56158
55928
|
balloonId?: string | null;
|
|
56159
|
-
reference?: number;
|
|
56160
55929
|
feedback!: string;
|
|
56161
55930
|
from!: string;
|
|
56162
55931
|
created!: Date;
|
|
@@ -56178,7 +55947,6 @@ export class MeasurementFormInstanceFeedbackDto implements IMeasurementFormInsta
|
|
|
56178
55947
|
this.versionId = _data["versionId"];
|
|
56179
55948
|
this.schemaInstanceId = _data["schemaInstanceId"];
|
|
56180
55949
|
this.balloonId = _data["balloonId"];
|
|
56181
|
-
this.reference = _data["reference"];
|
|
56182
55950
|
this.feedback = _data["feedback"];
|
|
56183
55951
|
this.from = _data["from"];
|
|
56184
55952
|
this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
|
|
@@ -56200,7 +55968,6 @@ export class MeasurementFormInstanceFeedbackDto implements IMeasurementFormInsta
|
|
|
56200
55968
|
data["versionId"] = this.versionId;
|
|
56201
55969
|
data["schemaInstanceId"] = this.schemaInstanceId;
|
|
56202
55970
|
data["balloonId"] = this.balloonId;
|
|
56203
|
-
data["reference"] = this.reference;
|
|
56204
55971
|
data["feedback"] = this.feedback;
|
|
56205
55972
|
data["from"] = this.from;
|
|
56206
55973
|
data["created"] = this.created ? this.created.toISOString() : <any>undefined;
|
|
@@ -56215,7 +55982,6 @@ export interface IMeasurementFormInstanceFeedbackDto {
|
|
|
56215
55982
|
versionId?: number;
|
|
56216
55983
|
schemaInstanceId: string;
|
|
56217
55984
|
balloonId?: string | null;
|
|
56218
|
-
reference?: number;
|
|
56219
55985
|
feedback: string;
|
|
56220
55986
|
from: string;
|
|
56221
55987
|
created: Date;
|
|
@@ -56509,7 +56275,6 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
56509
56275
|
imageUrl?: string | null;
|
|
56510
56276
|
thumbnailUrl?: string | null;
|
|
56511
56277
|
balloonId?: string | null;
|
|
56512
|
-
reference?: number;
|
|
56513
56278
|
section?: string | null;
|
|
56514
56279
|
pageNumber?: number | null;
|
|
56515
56280
|
sheetZone?: string | null;
|
|
@@ -56533,9 +56298,7 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
56533
56298
|
isDocumentedExternally!: boolean;
|
|
56534
56299
|
canOverrideIsDocumentedExternally!: boolean;
|
|
56535
56300
|
balloonSequence?: number | null;
|
|
56536
|
-
referenceSerialNumber?: number | null;
|
|
56537
56301
|
balloonQuantity?: number | null;
|
|
56538
|
-
referenceQuantity?: number | null;
|
|
56539
56302
|
plusTolerance?: string | null;
|
|
56540
56303
|
minusTolerance?: string | null;
|
|
56541
56304
|
coatingThickness?: number | null;
|
|
@@ -56568,7 +56331,6 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
56568
56331
|
this.imageUrl = _data["imageUrl"];
|
|
56569
56332
|
this.thumbnailUrl = _data["thumbnailUrl"];
|
|
56570
56333
|
this.balloonId = _data["balloonId"];
|
|
56571
|
-
this.reference = _data["reference"];
|
|
56572
56334
|
this.section = _data["section"];
|
|
56573
56335
|
this.pageNumber = _data["pageNumber"];
|
|
56574
56336
|
this.sheetZone = _data["sheetZone"];
|
|
@@ -56592,9 +56354,7 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
56592
56354
|
this.isDocumentedExternally = _data["isDocumentedExternally"];
|
|
56593
56355
|
this.canOverrideIsDocumentedExternally = _data["canOverrideIsDocumentedExternally"];
|
|
56594
56356
|
this.balloonSequence = _data["balloonSequence"];
|
|
56595
|
-
this.referenceSerialNumber = _data["referenceSerialNumber"];
|
|
56596
56357
|
this.balloonQuantity = _data["balloonQuantity"];
|
|
56597
|
-
this.referenceQuantity = _data["referenceQuantity"];
|
|
56598
56358
|
this.plusTolerance = _data["plusTolerance"];
|
|
56599
56359
|
this.minusTolerance = _data["minusTolerance"];
|
|
56600
56360
|
this.coatingThickness = _data["coatingThickness"];
|
|
@@ -56628,7 +56388,6 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
56628
56388
|
data["imageUrl"] = this.imageUrl;
|
|
56629
56389
|
data["thumbnailUrl"] = this.thumbnailUrl;
|
|
56630
56390
|
data["balloonId"] = this.balloonId;
|
|
56631
|
-
data["reference"] = this.reference;
|
|
56632
56391
|
data["section"] = this.section;
|
|
56633
56392
|
data["pageNumber"] = this.pageNumber;
|
|
56634
56393
|
data["sheetZone"] = this.sheetZone;
|
|
@@ -56652,9 +56411,7 @@ export class MeasurementFormInstanceElementDto implements IMeasurementFormInstan
|
|
|
56652
56411
|
data["isDocumentedExternally"] = this.isDocumentedExternally;
|
|
56653
56412
|
data["canOverrideIsDocumentedExternally"] = this.canOverrideIsDocumentedExternally;
|
|
56654
56413
|
data["balloonSequence"] = this.balloonSequence;
|
|
56655
|
-
data["referenceSerialNumber"] = this.referenceSerialNumber;
|
|
56656
56414
|
data["balloonQuantity"] = this.balloonQuantity;
|
|
56657
|
-
data["referenceQuantity"] = this.referenceQuantity;
|
|
56658
56415
|
data["plusTolerance"] = this.plusTolerance;
|
|
56659
56416
|
data["minusTolerance"] = this.minusTolerance;
|
|
56660
56417
|
data["coatingThickness"] = this.coatingThickness;
|
|
@@ -56681,7 +56438,6 @@ export interface IMeasurementFormInstanceElementDto {
|
|
|
56681
56438
|
imageUrl?: string | null;
|
|
56682
56439
|
thumbnailUrl?: string | null;
|
|
56683
56440
|
balloonId?: string | null;
|
|
56684
|
-
reference?: number;
|
|
56685
56441
|
section?: string | null;
|
|
56686
56442
|
pageNumber?: number | null;
|
|
56687
56443
|
sheetZone?: string | null;
|
|
@@ -56705,9 +56461,7 @@ export interface IMeasurementFormInstanceElementDto {
|
|
|
56705
56461
|
isDocumentedExternally: boolean;
|
|
56706
56462
|
canOverrideIsDocumentedExternally: boolean;
|
|
56707
56463
|
balloonSequence?: number | null;
|
|
56708
|
-
referenceSerialNumber?: number | null;
|
|
56709
56464
|
balloonQuantity?: number | null;
|
|
56710
|
-
referenceQuantity?: number | null;
|
|
56711
56465
|
plusTolerance?: string | null;
|
|
56712
56466
|
minusTolerance?: string | null;
|
|
56713
56467
|
coatingThickness?: number | null;
|
|
@@ -57426,7 +57180,6 @@ export class SchemaFeedbackCreatedDto implements ISchemaFeedbackCreatedDto {
|
|
|
57426
57180
|
versionId!: number;
|
|
57427
57181
|
schemaInstanceId!: string;
|
|
57428
57182
|
balloonId?: string | null;
|
|
57429
|
-
reference?: number;
|
|
57430
57183
|
feedback!: string;
|
|
57431
57184
|
from!: string;
|
|
57432
57185
|
created!: Date;
|
|
@@ -57448,7 +57201,6 @@ export class SchemaFeedbackCreatedDto implements ISchemaFeedbackCreatedDto {
|
|
|
57448
57201
|
this.versionId = _data["versionId"];
|
|
57449
57202
|
this.schemaInstanceId = _data["schemaInstanceId"];
|
|
57450
57203
|
this.balloonId = _data["balloonId"];
|
|
57451
|
-
this.reference = _data["reference"];
|
|
57452
57204
|
this.feedback = _data["feedback"];
|
|
57453
57205
|
this.from = _data["from"];
|
|
57454
57206
|
this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
|
|
@@ -57470,7 +57222,6 @@ export class SchemaFeedbackCreatedDto implements ISchemaFeedbackCreatedDto {
|
|
|
57470
57222
|
data["versionId"] = this.versionId;
|
|
57471
57223
|
data["schemaInstanceId"] = this.schemaInstanceId;
|
|
57472
57224
|
data["balloonId"] = this.balloonId;
|
|
57473
|
-
data["reference"] = this.reference;
|
|
57474
57225
|
data["feedback"] = this.feedback;
|
|
57475
57226
|
data["from"] = this.from;
|
|
57476
57227
|
data["created"] = this.created ? this.created.toISOString() : <any>undefined;
|
|
@@ -57485,7 +57236,6 @@ export interface ISchemaFeedbackCreatedDto {
|
|
|
57485
57236
|
versionId: number;
|
|
57486
57237
|
schemaInstanceId: string;
|
|
57487
57238
|
balloonId?: string | null;
|
|
57488
|
-
reference?: number;
|
|
57489
57239
|
feedback: string;
|
|
57490
57240
|
from: string;
|
|
57491
57241
|
created: Date;
|
|
@@ -57493,7 +57243,6 @@ export interface ISchemaFeedbackCreatedDto {
|
|
|
57493
57243
|
|
|
57494
57244
|
export class CreateMeasurementFormSchemaFeedbackRequest implements ICreateMeasurementFormSchemaFeedbackRequest {
|
|
57495
57245
|
balloonId?: string | null;
|
|
57496
|
-
reference?: number;
|
|
57497
57246
|
feedback!: string;
|
|
57498
57247
|
|
|
57499
57248
|
constructor(data?: ICreateMeasurementFormSchemaFeedbackRequest) {
|
|
@@ -57508,7 +57257,6 @@ export class CreateMeasurementFormSchemaFeedbackRequest implements ICreateMeasur
|
|
|
57508
57257
|
init(_data?: any) {
|
|
57509
57258
|
if (_data) {
|
|
57510
57259
|
this.balloonId = _data["balloonId"];
|
|
57511
|
-
this.reference = _data["reference"];
|
|
57512
57260
|
this.feedback = _data["feedback"];
|
|
57513
57261
|
}
|
|
57514
57262
|
}
|
|
@@ -57523,7 +57271,6 @@ export class CreateMeasurementFormSchemaFeedbackRequest implements ICreateMeasur
|
|
|
57523
57271
|
toJSON(data?: any) {
|
|
57524
57272
|
data = typeof data === 'object' ? data : {};
|
|
57525
57273
|
data["balloonId"] = this.balloonId;
|
|
57526
|
-
data["reference"] = this.reference;
|
|
57527
57274
|
data["feedback"] = this.feedback;
|
|
57528
57275
|
return data;
|
|
57529
57276
|
}
|
|
@@ -57531,7 +57278,6 @@ export class CreateMeasurementFormSchemaFeedbackRequest implements ICreateMeasur
|
|
|
57531
57278
|
|
|
57532
57279
|
export interface ICreateMeasurementFormSchemaFeedbackRequest {
|
|
57533
57280
|
balloonId?: string | null;
|
|
57534
|
-
reference?: number;
|
|
57535
57281
|
feedback: string;
|
|
57536
57282
|
}
|
|
57537
57283
|
|
|
@@ -57792,8 +57538,7 @@ export interface IUpdateSchemaInstanceElementsRequest {
|
|
|
57792
57538
|
|
|
57793
57539
|
export class SchemaInstanceElementDto implements ISchemaInstanceElementDto {
|
|
57794
57540
|
elementId!: string;
|
|
57795
|
-
balloonId
|
|
57796
|
-
reference!: number;
|
|
57541
|
+
balloonId!: string;
|
|
57797
57542
|
disabled!: boolean;
|
|
57798
57543
|
|
|
57799
57544
|
constructor(data?: ISchemaInstanceElementDto) {
|
|
@@ -57809,7 +57554,6 @@ export class SchemaInstanceElementDto implements ISchemaInstanceElementDto {
|
|
|
57809
57554
|
if (_data) {
|
|
57810
57555
|
this.elementId = _data["elementId"];
|
|
57811
57556
|
this.balloonId = _data["balloonId"];
|
|
57812
|
-
this.reference = _data["reference"];
|
|
57813
57557
|
this.disabled = _data["disabled"];
|
|
57814
57558
|
}
|
|
57815
57559
|
}
|
|
@@ -57825,7 +57569,6 @@ export class SchemaInstanceElementDto implements ISchemaInstanceElementDto {
|
|
|
57825
57569
|
data = typeof data === 'object' ? data : {};
|
|
57826
57570
|
data["elementId"] = this.elementId;
|
|
57827
57571
|
data["balloonId"] = this.balloonId;
|
|
57828
|
-
data["reference"] = this.reference;
|
|
57829
57572
|
data["disabled"] = this.disabled;
|
|
57830
57573
|
return data;
|
|
57831
57574
|
}
|
|
@@ -57833,11 +57576,230 @@ export class SchemaInstanceElementDto implements ISchemaInstanceElementDto {
|
|
|
57833
57576
|
|
|
57834
57577
|
export interface ISchemaInstanceElementDto {
|
|
57835
57578
|
elementId: string;
|
|
57836
|
-
balloonId
|
|
57837
|
-
reference: number;
|
|
57579
|
+
balloonId: string;
|
|
57838
57580
|
disabled: boolean;
|
|
57839
57581
|
}
|
|
57840
57582
|
|
|
57583
|
+
export class IotTypeSourceDto implements IIotTypeSourceDto {
|
|
57584
|
+
id!: string;
|
|
57585
|
+
name!: string;
|
|
57586
|
+
|
|
57587
|
+
constructor(data?: IIotTypeSourceDto) {
|
|
57588
|
+
if (data) {
|
|
57589
|
+
for (var property in data) {
|
|
57590
|
+
if (data.hasOwnProperty(property))
|
|
57591
|
+
(<any>this)[property] = (<any>data)[property];
|
|
57592
|
+
}
|
|
57593
|
+
}
|
|
57594
|
+
}
|
|
57595
|
+
|
|
57596
|
+
init(_data?: any) {
|
|
57597
|
+
if (_data) {
|
|
57598
|
+
this.id = _data["id"];
|
|
57599
|
+
this.name = _data["name"];
|
|
57600
|
+
}
|
|
57601
|
+
}
|
|
57602
|
+
|
|
57603
|
+
static fromJS(data: any): IotTypeSourceDto {
|
|
57604
|
+
data = typeof data === 'object' ? data : {};
|
|
57605
|
+
let result = new IotTypeSourceDto();
|
|
57606
|
+
result.init(data);
|
|
57607
|
+
return result;
|
|
57608
|
+
}
|
|
57609
|
+
|
|
57610
|
+
toJSON(data?: any) {
|
|
57611
|
+
data = typeof data === 'object' ? data : {};
|
|
57612
|
+
data["id"] = this.id;
|
|
57613
|
+
data["name"] = this.name;
|
|
57614
|
+
return data;
|
|
57615
|
+
}
|
|
57616
|
+
}
|
|
57617
|
+
|
|
57618
|
+
export interface IIotTypeSourceDto {
|
|
57619
|
+
id: string;
|
|
57620
|
+
name: string;
|
|
57621
|
+
}
|
|
57622
|
+
|
|
57623
|
+
export class ElectricalIotConfigDto implements IElectricalIotConfigDto {
|
|
57624
|
+
id!: string;
|
|
57625
|
+
typeId!: string;
|
|
57626
|
+
serialNumber?: string | null;
|
|
57627
|
+
assetId!: number;
|
|
57628
|
+
assetExternalId?: string | null;
|
|
57629
|
+
phases?: number;
|
|
57630
|
+
electricalAssetId?: number;
|
|
57631
|
+
electricalAssetExternalId?: string | null;
|
|
57632
|
+
electricalTimeseriesId?: number;
|
|
57633
|
+
electricalTimeseriesExternalId?: string | null;
|
|
57634
|
+
|
|
57635
|
+
constructor(data?: IElectricalIotConfigDto) {
|
|
57636
|
+
if (data) {
|
|
57637
|
+
for (var property in data) {
|
|
57638
|
+
if (data.hasOwnProperty(property))
|
|
57639
|
+
(<any>this)[property] = (<any>data)[property];
|
|
57640
|
+
}
|
|
57641
|
+
}
|
|
57642
|
+
}
|
|
57643
|
+
|
|
57644
|
+
init(_data?: any) {
|
|
57645
|
+
if (_data) {
|
|
57646
|
+
this.id = _data["id"];
|
|
57647
|
+
this.typeId = _data["typeId"];
|
|
57648
|
+
this.serialNumber = _data["serialNumber"];
|
|
57649
|
+
this.assetId = _data["assetId"];
|
|
57650
|
+
this.assetExternalId = _data["assetExternalId"];
|
|
57651
|
+
this.phases = _data["phases"];
|
|
57652
|
+
this.electricalAssetId = _data["electricalAssetId"];
|
|
57653
|
+
this.electricalAssetExternalId = _data["electricalAssetExternalId"];
|
|
57654
|
+
this.electricalTimeseriesId = _data["electricalTimeseriesId"];
|
|
57655
|
+
this.electricalTimeseriesExternalId = _data["electricalTimeseriesExternalId"];
|
|
57656
|
+
}
|
|
57657
|
+
}
|
|
57658
|
+
|
|
57659
|
+
static fromJS(data: any): ElectricalIotConfigDto {
|
|
57660
|
+
data = typeof data === 'object' ? data : {};
|
|
57661
|
+
let result = new ElectricalIotConfigDto();
|
|
57662
|
+
result.init(data);
|
|
57663
|
+
return result;
|
|
57664
|
+
}
|
|
57665
|
+
|
|
57666
|
+
toJSON(data?: any) {
|
|
57667
|
+
data = typeof data === 'object' ? data : {};
|
|
57668
|
+
data["id"] = this.id;
|
|
57669
|
+
data["typeId"] = this.typeId;
|
|
57670
|
+
data["serialNumber"] = this.serialNumber;
|
|
57671
|
+
data["assetId"] = this.assetId;
|
|
57672
|
+
data["assetExternalId"] = this.assetExternalId;
|
|
57673
|
+
data["phases"] = this.phases;
|
|
57674
|
+
data["electricalAssetId"] = this.electricalAssetId;
|
|
57675
|
+
data["electricalAssetExternalId"] = this.electricalAssetExternalId;
|
|
57676
|
+
data["electricalTimeseriesId"] = this.electricalTimeseriesId;
|
|
57677
|
+
data["electricalTimeseriesExternalId"] = this.electricalTimeseriesExternalId;
|
|
57678
|
+
return data;
|
|
57679
|
+
}
|
|
57680
|
+
}
|
|
57681
|
+
|
|
57682
|
+
export interface IElectricalIotConfigDto {
|
|
57683
|
+
id: string;
|
|
57684
|
+
typeId: string;
|
|
57685
|
+
serialNumber?: string | null;
|
|
57686
|
+
assetId: number;
|
|
57687
|
+
assetExternalId?: string | null;
|
|
57688
|
+
phases?: number;
|
|
57689
|
+
electricalAssetId?: number;
|
|
57690
|
+
electricalAssetExternalId?: string | null;
|
|
57691
|
+
electricalTimeseriesId?: number;
|
|
57692
|
+
electricalTimeseriesExternalId?: string | null;
|
|
57693
|
+
}
|
|
57694
|
+
|
|
57695
|
+
export class CreateElectricalIotConfig implements ICreateElectricalIotConfig {
|
|
57696
|
+
typeId?: string | null;
|
|
57697
|
+
serialNumber?: string | null;
|
|
57698
|
+
assetId?: number | null;
|
|
57699
|
+
assetExternalId?: string | null;
|
|
57700
|
+
|
|
57701
|
+
constructor(data?: ICreateElectricalIotConfig) {
|
|
57702
|
+
if (data) {
|
|
57703
|
+
for (var property in data) {
|
|
57704
|
+
if (data.hasOwnProperty(property))
|
|
57705
|
+
(<any>this)[property] = (<any>data)[property];
|
|
57706
|
+
}
|
|
57707
|
+
}
|
|
57708
|
+
}
|
|
57709
|
+
|
|
57710
|
+
init(_data?: any) {
|
|
57711
|
+
if (_data) {
|
|
57712
|
+
this.typeId = _data["typeId"];
|
|
57713
|
+
this.serialNumber = _data["serialNumber"];
|
|
57714
|
+
this.assetId = _data["assetId"];
|
|
57715
|
+
this.assetExternalId = _data["assetExternalId"];
|
|
57716
|
+
}
|
|
57717
|
+
}
|
|
57718
|
+
|
|
57719
|
+
static fromJS(data: any): CreateElectricalIotConfig {
|
|
57720
|
+
data = typeof data === 'object' ? data : {};
|
|
57721
|
+
let result = new CreateElectricalIotConfig();
|
|
57722
|
+
result.init(data);
|
|
57723
|
+
return result;
|
|
57724
|
+
}
|
|
57725
|
+
|
|
57726
|
+
toJSON(data?: any) {
|
|
57727
|
+
data = typeof data === 'object' ? data : {};
|
|
57728
|
+
data["typeId"] = this.typeId;
|
|
57729
|
+
data["serialNumber"] = this.serialNumber;
|
|
57730
|
+
data["assetId"] = this.assetId;
|
|
57731
|
+
data["assetExternalId"] = this.assetExternalId;
|
|
57732
|
+
return data;
|
|
57733
|
+
}
|
|
57734
|
+
}
|
|
57735
|
+
|
|
57736
|
+
export interface ICreateElectricalIotConfig {
|
|
57737
|
+
typeId?: string | null;
|
|
57738
|
+
serialNumber?: string | null;
|
|
57739
|
+
assetId?: number | null;
|
|
57740
|
+
assetExternalId?: string | null;
|
|
57741
|
+
}
|
|
57742
|
+
|
|
57743
|
+
export class WeldingIotConfigDto implements IWeldingIotConfigDto {
|
|
57744
|
+
|
|
57745
|
+
constructor(data?: IWeldingIotConfigDto) {
|
|
57746
|
+
if (data) {
|
|
57747
|
+
for (var property in data) {
|
|
57748
|
+
if (data.hasOwnProperty(property))
|
|
57749
|
+
(<any>this)[property] = (<any>data)[property];
|
|
57750
|
+
}
|
|
57751
|
+
}
|
|
57752
|
+
}
|
|
57753
|
+
|
|
57754
|
+
init(_data?: any) {
|
|
57755
|
+
}
|
|
57756
|
+
|
|
57757
|
+
static fromJS(data: any): WeldingIotConfigDto {
|
|
57758
|
+
data = typeof data === 'object' ? data : {};
|
|
57759
|
+
let result = new WeldingIotConfigDto();
|
|
57760
|
+
result.init(data);
|
|
57761
|
+
return result;
|
|
57762
|
+
}
|
|
57763
|
+
|
|
57764
|
+
toJSON(data?: any) {
|
|
57765
|
+
data = typeof data === 'object' ? data : {};
|
|
57766
|
+
return data;
|
|
57767
|
+
}
|
|
57768
|
+
}
|
|
57769
|
+
|
|
57770
|
+
export interface IWeldingIotConfigDto {
|
|
57771
|
+
}
|
|
57772
|
+
|
|
57773
|
+
export class CreateWeldingIotConfig implements ICreateWeldingIotConfig {
|
|
57774
|
+
|
|
57775
|
+
constructor(data?: ICreateWeldingIotConfig) {
|
|
57776
|
+
if (data) {
|
|
57777
|
+
for (var property in data) {
|
|
57778
|
+
if (data.hasOwnProperty(property))
|
|
57779
|
+
(<any>this)[property] = (<any>data)[property];
|
|
57780
|
+
}
|
|
57781
|
+
}
|
|
57782
|
+
}
|
|
57783
|
+
|
|
57784
|
+
init(_data?: any) {
|
|
57785
|
+
}
|
|
57786
|
+
|
|
57787
|
+
static fromJS(data: any): CreateWeldingIotConfig {
|
|
57788
|
+
data = typeof data === 'object' ? data : {};
|
|
57789
|
+
let result = new CreateWeldingIotConfig();
|
|
57790
|
+
result.init(data);
|
|
57791
|
+
return result;
|
|
57792
|
+
}
|
|
57793
|
+
|
|
57794
|
+
toJSON(data?: any) {
|
|
57795
|
+
data = typeof data === 'object' ? data : {};
|
|
57796
|
+
return data;
|
|
57797
|
+
}
|
|
57798
|
+
}
|
|
57799
|
+
|
|
57800
|
+
export interface ICreateWeldingIotConfig {
|
|
57801
|
+
}
|
|
57802
|
+
|
|
57841
57803
|
export class ProductionCompanyDto implements IProductionCompanyDto {
|
|
57842
57804
|
id!: string;
|
|
57843
57805
|
name!: string;
|