@tiba-spark/client-shared-lib 25.3.0-752 → 25.3.0-755

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.
@@ -5210,7 +5210,7 @@ class LicenseServiceProxy {
5210
5210
  return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
5211
5211
  let result200 = null;
5212
5212
  let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
5213
- result200 = VendorIntegrationDtoEntityWrapperDtoHttpResponseData.fromJS(resultData200);
5213
+ result200 = VendorIntegrationCreateDtoHttpResponseData.fromJS(resultData200);
5214
5214
  return of(result200);
5215
5215
  }));
5216
5216
  }
@@ -13778,7 +13778,7 @@ class CreateVendorIntegrationCommand {
13778
13778
  if (Array.isArray(_data["smartparkWithParkIds"])) {
13779
13779
  this.smartparkWithParkIds = [];
13780
13780
  for (let item of _data["smartparkWithParkIds"])
13781
- this.smartparkWithParkIds.push(SmartparkWithParkIds.fromJS(item));
13781
+ this.smartparkWithParkIds.push(SmartparkWithFacilityIdsModel.fromJS(item));
13782
13782
  }
13783
13783
  }
13784
13784
  }
@@ -19653,7 +19653,7 @@ class SmartparkVersionDto {
19653
19653
  return result;
19654
19654
  }
19655
19655
  }
19656
- class SmartparkWithParkIds {
19656
+ class SmartparkWithFacilityIdsModel {
19657
19657
  constructor(data) {
19658
19658
  if (data) {
19659
19659
  for (var property in data) {
@@ -19665,32 +19665,34 @@ class SmartparkWithParkIds {
19665
19665
  init(_data) {
19666
19666
  if (_data) {
19667
19667
  this.smartparkId = _data["smartparkId"];
19668
- if (Array.isArray(_data["parkIds"])) {
19669
- this.parkIds = [];
19670
- for (let item of _data["parkIds"])
19671
- this.parkIds.push(item);
19668
+ this.facilityParentId = _data["facilityParentId"];
19669
+ if (Array.isArray(_data["facilityChildrenIds"])) {
19670
+ this.facilityChildrenIds = [];
19671
+ for (let item of _data["facilityChildrenIds"])
19672
+ this.facilityChildrenIds.push(item);
19672
19673
  }
19673
19674
  }
19674
19675
  }
19675
19676
  static fromJS(data) {
19676
19677
  data = typeof data === 'object' ? data : {};
19677
- let result = new SmartparkWithParkIds();
19678
+ let result = new SmartparkWithFacilityIdsModel();
19678
19679
  result.init(data);
19679
19680
  return result;
19680
19681
  }
19681
19682
  toJSON(data) {
19682
19683
  data = typeof data === 'object' ? data : {};
19683
19684
  data["smartparkId"] = this.smartparkId;
19684
- if (Array.isArray(this.parkIds)) {
19685
- data["parkIds"] = [];
19686
- for (let item of this.parkIds)
19687
- data["parkIds"].push(item);
19685
+ data["facilityParentId"] = this.facilityParentId;
19686
+ if (Array.isArray(this.facilityChildrenIds)) {
19687
+ data["facilityChildrenIds"] = [];
19688
+ for (let item of this.facilityChildrenIds)
19689
+ data["facilityChildrenIds"].push(item);
19688
19690
  }
19689
19691
  return data;
19690
19692
  }
19691
19693
  clone() {
19692
19694
  const json = this.toJSON();
19693
- let result = new SmartparkWithParkIds();
19695
+ let result = new SmartparkWithFacilityIdsModel();
19694
19696
  result.init(json);
19695
19697
  return result;
19696
19698
  }
@@ -22340,6 +22342,96 @@ class VendorIPDto {
22340
22342
  return result;
22341
22343
  }
22342
22344
  }
22345
+ class VendorIntegrationCreateDto {
22346
+ constructor(data) {
22347
+ if (data) {
22348
+ for (var property in data) {
22349
+ if (data.hasOwnProperty(property))
22350
+ this[property] = data[property];
22351
+ }
22352
+ }
22353
+ }
22354
+ init(_data) {
22355
+ if (_data) {
22356
+ if (Array.isArray(_data["addedEntities"])) {
22357
+ this.addedEntities = [];
22358
+ for (let item of _data["addedEntities"])
22359
+ this.addedEntities.push(VendorIntegrationDto.fromJS(item));
22360
+ }
22361
+ if (Array.isArray(_data["removedEntities"])) {
22362
+ this.removedEntities = [];
22363
+ for (let item of _data["removedEntities"])
22364
+ this.removedEntities.push(VendorIntegrationDto.fromJS(item));
22365
+ }
22366
+ }
22367
+ }
22368
+ static fromJS(data) {
22369
+ data = typeof data === 'object' ? data : {};
22370
+ let result = new VendorIntegrationCreateDto();
22371
+ result.init(data);
22372
+ return result;
22373
+ }
22374
+ toJSON(data) {
22375
+ data = typeof data === 'object' ? data : {};
22376
+ if (Array.isArray(this.addedEntities)) {
22377
+ data["addedEntities"] = [];
22378
+ for (let item of this.addedEntities)
22379
+ data["addedEntities"].push(item ? item.toJSON() : undefined);
22380
+ }
22381
+ if (Array.isArray(this.removedEntities)) {
22382
+ data["removedEntities"] = [];
22383
+ for (let item of this.removedEntities)
22384
+ data["removedEntities"].push(item ? item.toJSON() : undefined);
22385
+ }
22386
+ return data;
22387
+ }
22388
+ clone() {
22389
+ const json = this.toJSON();
22390
+ let result = new VendorIntegrationCreateDto();
22391
+ result.init(json);
22392
+ return result;
22393
+ }
22394
+ }
22395
+ class VendorIntegrationCreateDtoHttpResponseData {
22396
+ constructor(data) {
22397
+ if (data) {
22398
+ for (var property in data) {
22399
+ if (data.hasOwnProperty(property))
22400
+ this[property] = data[property];
22401
+ }
22402
+ }
22403
+ }
22404
+ init(_data) {
22405
+ if (_data) {
22406
+ this.errorMessage = _data["errorMessage"];
22407
+ this.isSuccess = _data["isSuccess"];
22408
+ this.statusCode = _data["statusCode"];
22409
+ this.data = _data["data"] ? VendorIntegrationCreateDto.fromJS(_data["data"]) : undefined;
22410
+ this.successMessage = _data["successMessage"];
22411
+ }
22412
+ }
22413
+ static fromJS(data) {
22414
+ data = typeof data === 'object' ? data : {};
22415
+ let result = new VendorIntegrationCreateDtoHttpResponseData();
22416
+ result.init(data);
22417
+ return result;
22418
+ }
22419
+ toJSON(data) {
22420
+ data = typeof data === 'object' ? data : {};
22421
+ data["errorMessage"] = this.errorMessage;
22422
+ data["isSuccess"] = this.isSuccess;
22423
+ data["statusCode"] = this.statusCode;
22424
+ data["data"] = this.data ? this.data.toJSON() : undefined;
22425
+ data["successMessage"] = this.successMessage;
22426
+ return data;
22427
+ }
22428
+ clone() {
22429
+ const json = this.toJSON();
22430
+ let result = new VendorIntegrationCreateDtoHttpResponseData();
22431
+ result.init(json);
22432
+ return result;
22433
+ }
22434
+ }
22343
22435
  class VendorIntegrationDto {
22344
22436
  constructor(data) {
22345
22437
  if (data) {
@@ -23016,7 +23108,7 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
23016
23108
  SmartparkTransportDto: SmartparkTransportDto,
23017
23109
  SmartparkTransportDtoHttpResponseData: SmartparkTransportDtoHttpResponseData,
23018
23110
  SmartparkVersionDto: SmartparkVersionDto,
23019
- SmartparkWithParkIds: SmartparkWithParkIds,
23111
+ SmartparkWithFacilityIdsModel: SmartparkWithFacilityIdsModel,
23020
23112
  SpAndSparkVersionsDto: SpAndSparkVersionsDto,
23021
23113
  SpAndSparkVersionsDtoHttpResponseData: SpAndSparkVersionsDtoHttpResponseData,
23022
23114
  get SparkResourceType () { return SparkResourceType; },
@@ -23086,6 +23178,8 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
23086
23178
  VendorDtoHttpResponseData: VendorDtoHttpResponseData,
23087
23179
  VendorDtoIEnumerableHttpResponseData: VendorDtoIEnumerableHttpResponseData,
23088
23180
  VendorIPDto: VendorIPDto,
23181
+ VendorIntegrationCreateDto: VendorIntegrationCreateDto,
23182
+ VendorIntegrationCreateDtoHttpResponseData: VendorIntegrationCreateDtoHttpResponseData,
23089
23183
  VendorIntegrationDto: VendorIntegrationDto,
23090
23184
  VendorIntegrationDtoEntityWrapperDto: VendorIntegrationDtoEntityWrapperDto,
23091
23185
  VendorIntegrationDtoEntityWrapperDtoHttpResponseData: VendorIntegrationDtoEntityWrapperDtoHttpResponseData,