@veloceapps/api 5.0.10 → 5.0.12

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.
Files changed (49) hide show
  1. package/bundles/veloce-api.umd.js +10 -401
  2. package/bundles/veloce-api.umd.js.map +1 -1
  3. package/esm2015/lib/services/account-api.service.js +1 -1
  4. package/esm2015/lib/services/catalog-admin-api.service.js +2 -2
  5. package/esm2015/lib/services/catalog-api.service.js +1 -1
  6. package/esm2015/lib/services/configuration-api.service.js +2 -3
  7. package/esm2015/lib/services/configuration-settings-api.service.js +1 -1
  8. package/esm2015/lib/services/context-api.service.js +1 -1
  9. package/esm2015/lib/services/delta-api.service.js +3 -7
  10. package/esm2015/lib/services/document-attachment-api.service.js +1 -1
  11. package/esm2015/lib/services/endpoints-api.service.js +2 -2
  12. package/esm2015/lib/services/picklists-api.service.js +1 -1
  13. package/esm2015/lib/services/price-api.service.js +1 -1
  14. package/esm2015/lib/services/procedures-api.service.js +1 -1
  15. package/esm2015/lib/services/product-api.service.js +1 -1
  16. package/esm2015/lib/services/product-model-api.service.js +1 -1
  17. package/esm2015/lib/services/quote-api.service.js +1 -1
  18. package/esm2015/lib/services/ramp-api.service.js +1 -1
  19. package/esm2015/lib/services/rule-groups-api.service.js +1 -1
  20. package/esm2015/lib/services/rules-api.service.js +1 -1
  21. package/esm2015/lib/services/salesforce-api.service.js +1 -1
  22. package/esm2015/lib/services/scripts-api.service.js +3 -3
  23. package/esm2015/lib/services/ui-templates-api.service.js +1 -1
  24. package/esm2015/lib/types/dto/configuration-settings-dto.types.js +1 -1
  25. package/fesm2015/veloce-api.js +9 -391
  26. package/fesm2015/veloce-api.js.map +1 -1
  27. package/lib/services/catalog-admin-api.service.d.ts +1 -1
  28. package/lib/services/endpoints-api.service.d.ts +1 -1
  29. package/package.json +1 -1
  30. package/esm2015/lib/types/dto/attribute-dto.types.js +0 -21
  31. package/esm2015/lib/types/dto/charge-group-item-dto.types.js +0 -49
  32. package/esm2015/lib/types/dto/charge-item-dto.types.js +0 -78
  33. package/esm2015/lib/types/dto/configuration-dto.types.js +0 -19
  34. package/esm2015/lib/types/dto/domain-type-dto.types.js +0 -27
  35. package/esm2015/lib/types/dto/line-item-dto.types.js +0 -109
  36. package/esm2015/lib/types/dto/port-domain-dto.types.js +0 -22
  37. package/esm2015/lib/types/dto/price-adjustment-dto.types.js +0 -15
  38. package/esm2015/lib/types/dto/price-dto.types.js +0 -25
  39. package/esm2015/lib/types/dto/recommended-price-dto.types.js +0 -25
  40. package/lib/types/dto/attribute-dto.types.d.ts +0 -11
  41. package/lib/types/dto/charge-group-item-dto.types.d.ts +0 -26
  42. package/lib/types/dto/charge-item-dto.types.d.ts +0 -41
  43. package/lib/types/dto/configuration-dto.types.d.ts +0 -18
  44. package/lib/types/dto/domain-type-dto.types.d.ts +0 -15
  45. package/lib/types/dto/line-item-dto.types.d.ts +0 -58
  46. package/lib/types/dto/port-domain-dto.types.d.ts +0 -13
  47. package/lib/types/dto/price-adjustment-dto.types.d.ts +0 -8
  48. package/lib/types/dto/price-dto.types.d.ts +0 -13
  49. package/lib/types/dto/recommended-price-dto.types.d.ts +0 -14
@@ -4,11 +4,10 @@ import * as i0 from '@angular/core';
4
4
  import { Injectable, NgModule } from '@angular/core';
5
5
  import * as i1 from '@veloce/core';
6
6
  import { ModelTranslatorUtils, ConfigurationContextMode, isLegacyDocumentTemplate, DocxTemplater, QuoteDraft, StringUtils, Expression, ProductModelsContainer, ModelUtils, EntityUtil, BaseHttpService, XrayService } from '@veloce/core';
7
- import { throwError, of, map as map$1, zip, forkJoin, noop, catchError as catchError$1, switchMap as switchMap$1 } from 'rxjs';
7
+ import { throwError, of, zip, forkJoin, noop, map as map$1, catchError as catchError$1, switchMap as switchMap$1 } from 'rxjs';
8
8
  import { map, catchError, tap, switchMap, defaultIfEmpty } from 'rxjs/operators';
9
- import * as _ from 'lodash';
10
- import { transform } from 'lodash';
11
9
  import { CurrencyPipe } from '@angular/common';
10
+ import * as _ from 'lodash';
12
11
  import * as moment_ from 'moment';
13
12
  import { __rest } from 'tslib';
14
13
 
@@ -197,7 +196,7 @@ class CatalogAdminApiService {
197
196
  body: product,
198
197
  });
199
198
  };
200
- this.removeProduct$ = ({ catalogId, categoryId, data }) => {
199
+ this.removeProduct$ = ({ catalogId, categoryId, data, }) => {
201
200
  return this.baseHttpService.api({
202
201
  method: 'delete',
203
202
  url: `${this.serviceUrl}/${catalogId}/categories/${categoryId}/products/${data.id}`,
@@ -299,385 +298,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImpo
299
298
  type: Injectable
300
299
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
301
300
 
302
- class AttributeDTO {
303
- constructor(name, type, value, cfgStatus, id, scale) {
304
- this.name = name;
305
- this.type = type;
306
- this.value = value;
307
- this.cfgStatus = cfgStatus;
308
- this.id = id;
309
- this.scale = scale;
310
- }
311
- static fromDTO(dto) {
312
- return {
313
- id: dto.id,
314
- name: dto.name,
315
- type: dto.type,
316
- scale: dto.scale,
317
- value: dto.value,
318
- cfgStatus: dto.cfgStatus,
319
- };
320
- }
321
- }
322
-
323
- class PriceAdjustmentDTO {
324
- constructor(amount, explanation, type) {
325
- this.amount = amount;
326
- this.explanation = explanation;
327
- this.type = type;
328
- }
329
- static fromDTO(dto) {
330
- return {
331
- amount: dto.amount,
332
- explanation: dto.explanation,
333
- type: dto.type,
334
- };
335
- }
336
- }
337
-
338
- class ChargeGroupItemDTO {
339
- constructor(chargeType, chargeMethod, properties, id, chargeTypeDisplayValue, frequencyUnit, frequencyDuration, basePrice, currency, sellingTerm, netPrice, listPrice, netUnitPrice, listUnitPrice, cost, priceAdjustment, priceWaterfalls, priceAdjustmentEnabled, listPriceAdjustmentEnabled) {
340
- this.chargeType = chargeType;
341
- this.chargeMethod = chargeMethod;
342
- this.properties = properties;
343
- this.id = id;
344
- this.chargeTypeDisplayValue = chargeTypeDisplayValue;
345
- this.frequencyUnit = frequencyUnit;
346
- this.frequencyDuration = frequencyDuration;
347
- this.basePrice = basePrice;
348
- this.currency = currency;
349
- this.sellingTerm = sellingTerm;
350
- this.netPrice = netPrice;
351
- this.listPrice = listPrice;
352
- this.netUnitPrice = netUnitPrice;
353
- this.listUnitPrice = listUnitPrice;
354
- this.cost = cost;
355
- this.priceAdjustment = priceAdjustment;
356
- this.priceWaterfalls = priceWaterfalls;
357
- this.priceAdjustmentEnabled = priceAdjustmentEnabled;
358
- this.listPriceAdjustmentEnabled = listPriceAdjustmentEnabled;
359
- }
360
- static fromDTO(dto) {
361
- var _a;
362
- return {
363
- id: dto.id,
364
- chargeType: dto.chargeType,
365
- chargeTypeDisplayValue: dto.chargeTypeDisplayValue,
366
- chargeMethod: dto.chargeMethod,
367
- frequencyUnit: dto.frequencyUnit,
368
- frequencyDuration: dto.frequencyDuration,
369
- basePrice: dto.basePrice,
370
- currency: dto.currency,
371
- sellingTerm: dto.sellingTerm,
372
- netPrice: dto.netPrice,
373
- listPrice: dto.listPrice,
374
- netUnitPrice: dto.netUnitPrice,
375
- listUnitPrice: dto.listUnitPrice,
376
- cost: dto.cost,
377
- priceAdjustment: dto.priceAdjustment && PriceAdjustmentDTO.fromDTO(dto.priceAdjustment),
378
- priceWaterfalls: (_a = dto.priceWaterfalls) === null || _a === void 0 ? void 0 : _a.map(PriceAdjustmentDTO.fromDTO),
379
- priceAdjustmentEnabled: dto.priceAdjustmentEnabled,
380
- listPriceAdjustmentEnabled: dto.listPriceAdjustmentEnabled,
381
- properties: dto.properties,
382
- };
383
- }
384
- }
385
-
386
- class ChargeItemDTO {
387
- constructor(id, price, unitPrice, baseListPrice, baseListUnitPrice, listPrice, listUnitPrice, netPrice, previousNetPrice, netUnitPrice, chargeId, chargeType, chargeMethod, priceItemId, startDate, priceWaterfalls, quantity, properties, chargeTypeDisplayValue, arr, frequencyUnit, frequencyDuration, endDate, sellingTerm, currency, unitCost, cost, minUnitPrice, minPrice, enablePriceAdjustment, enableListPriceAdjustment, listPriceAdjustment, priceAdjustment, requiresApprovals) {
388
- this.id = id;
389
- this.price = price;
390
- this.unitPrice = unitPrice;
391
- this.baseListPrice = baseListPrice;
392
- this.baseListUnitPrice = baseListUnitPrice;
393
- this.listPrice = listPrice;
394
- this.listUnitPrice = listUnitPrice;
395
- this.netPrice = netPrice;
396
- this.previousNetPrice = previousNetPrice;
397
- this.netUnitPrice = netUnitPrice;
398
- this.chargeId = chargeId;
399
- this.chargeType = chargeType;
400
- this.chargeMethod = chargeMethod;
401
- this.priceItemId = priceItemId;
402
- this.startDate = startDate;
403
- this.priceWaterfalls = priceWaterfalls;
404
- this.quantity = quantity;
405
- this.properties = properties;
406
- this.chargeTypeDisplayValue = chargeTypeDisplayValue;
407
- this.arr = arr;
408
- this.frequencyUnit = frequencyUnit;
409
- this.frequencyDuration = frequencyDuration;
410
- this.endDate = endDate;
411
- this.sellingTerm = sellingTerm;
412
- this.currency = currency;
413
- this.unitCost = unitCost;
414
- this.cost = cost;
415
- this.minUnitPrice = minUnitPrice;
416
- this.minPrice = minPrice;
417
- this.enablePriceAdjustment = enablePriceAdjustment;
418
- this.enableListPriceAdjustment = enableListPriceAdjustment;
419
- this.listPriceAdjustment = listPriceAdjustment;
420
- this.priceAdjustment = priceAdjustment;
421
- this.requiresApprovals = requiresApprovals;
422
- }
423
- static fromDTO(dto) {
424
- return {
425
- id: dto.id,
426
- price: dto.price,
427
- unitPrice: dto.unitPrice,
428
- baseListPrice: dto.baseListPrice,
429
- baseListUnitPrice: dto.baseListUnitPrice,
430
- listPrice: dto.listPrice,
431
- listUnitPrice: dto.listUnitPrice,
432
- netPrice: dto.netPrice,
433
- previousNetPrice: dto.previousNetPrice,
434
- netUnitPrice: dto.netUnitPrice,
435
- chargeId: dto.chargeId,
436
- chargeType: dto.chargeType,
437
- chargeTypeDisplayValue: dto.chargeTypeDisplayValue,
438
- chargeMethod: dto.chargeMethod,
439
- priceItemId: dto.priceItemId,
440
- startDate: dto.startDate,
441
- endDate: dto.endDate,
442
- priceWaterfalls: dto.priceWaterfalls.map(PriceAdjustmentDTO.fromDTO),
443
- quantity: dto.quantity,
444
- properties: dto.properties,
445
- arr: dto.arr,
446
- frequencyUnit: dto.frequencyUnit,
447
- frequencyDuration: dto.frequencyDuration,
448
- sellingTerm: dto.sellingTerm,
449
- currency: dto.currency,
450
- unitCost: dto.unitCost,
451
- cost: dto.cost,
452
- minUnitPrice: dto.minUnitPrice,
453
- minPrice: dto.minPrice,
454
- enablePriceAdjustment: dto.enablePriceAdjustment,
455
- enableListPriceAdjustment: dto.enableListPriceAdjustment,
456
- listPriceAdjustment: dto.listPriceAdjustment && PriceAdjustmentDTO.fromDTO(dto.listPriceAdjustment),
457
- priceAdjustment: dto.priceAdjustment && PriceAdjustmentDTO.fromDTO(dto.priceAdjustment),
458
- requiresApprovals: dto.requiresApprovals,
459
- };
460
- }
461
- }
462
-
463
- class RecommendedPriceDTO {
464
- constructor(netPrice, listPrice, chargeType, chargeMethod, explanation, frequencyDuration, frequencyUnit, properties) {
465
- this.netPrice = netPrice;
466
- this.listPrice = listPrice;
467
- this.chargeType = chargeType;
468
- this.chargeMethod = chargeMethod;
469
- this.explanation = explanation;
470
- this.frequencyDuration = frequencyDuration;
471
- this.frequencyUnit = frequencyUnit;
472
- this.properties = properties;
473
- }
474
- static fromDTO(dto) {
475
- return {
476
- netPrice: dto.netPrice,
477
- listPrice: dto.listPrice,
478
- chargeType: dto.chargeType,
479
- chargeMethod: dto.chargeMethod,
480
- frequencyUnit: dto.frequencyUnit,
481
- frequencyDuration: dto.frequencyDuration,
482
- explanation: dto.explanation,
483
- properties: dto.properties,
484
- };
485
- }
486
- }
487
-
488
- class DomainTypeDTO {
489
- constructor(name, displayName, minCard, maxCard, recommendedPrices, properties, status, cardinality) {
490
- this.name = name;
491
- this.displayName = displayName;
492
- this.minCard = minCard;
493
- this.maxCard = maxCard;
494
- this.recommendedPrices = recommendedPrices;
495
- this.properties = properties;
496
- this.status = status;
497
- this.cardinality = cardinality;
498
- }
499
- static fromDTO(dto) {
500
- var _a;
501
- return {
502
- name: dto.name,
503
- displayName: dto.displayName,
504
- minCard: dto.minCard,
505
- maxCard: dto.maxCard,
506
- recommendedPrices: (_a = dto.recommendedPrices) === null || _a === void 0 ? void 0 : _a.map(RecommendedPriceDTO.fromDTO),
507
- properties: dto.properties,
508
- status: dto.status,
509
- cardinality: dto.cardinality,
510
- };
511
- }
512
- }
513
-
514
- class PortDomainDTO {
515
- constructor(name, type, minCard, maxCard, domainTypes, properties) {
516
- this.name = name;
517
- this.type = type;
518
- this.minCard = minCard;
519
- this.maxCard = maxCard;
520
- this.domainTypes = domainTypes;
521
- this.properties = properties;
522
- }
523
- static fromDTO(dto) {
524
- return {
525
- name: dto.name,
526
- type: dto.type,
527
- minCard: dto.minCard,
528
- maxCard: dto.maxCard,
529
- domainTypes: dto.domainTypes.map(DomainTypeDTO.fromDTO),
530
- properties: dto.properties,
531
- };
532
- }
533
- }
534
-
535
- class PriceDTO {
536
- constructor(netPrice, listPrice, chargeType, chargeTypeDisplayValue, chargeMethod, frequencyUnit, frequencyDuration, sellingTerm) {
537
- this.netPrice = netPrice;
538
- this.listPrice = listPrice;
539
- this.chargeType = chargeType;
540
- this.chargeTypeDisplayValue = chargeTypeDisplayValue;
541
- this.chargeMethod = chargeMethod;
542
- this.frequencyUnit = frequencyUnit;
543
- this.frequencyDuration = frequencyDuration;
544
- this.sellingTerm = sellingTerm;
545
- }
546
- static fromDTO(dto) {
547
- return {
548
- netPrice: dto.netPrice,
549
- listPrice: dto.listPrice,
550
- chargeType: dto.chargeType,
551
- chargeTypeDisplayValue: dto.chargeTypeDisplayValue,
552
- chargeMethod: dto.chargeMethod,
553
- frequencyUnit: dto.frequencyUnit,
554
- frequencyDuration: dto.frequencyDuration,
555
- sellingTerm: dto.sellingTerm,
556
- };
557
- }
558
- }
559
-
560
- class LineItemDTO {
561
- constructor(id, activated, attributes, attributeDomains, cfgStatus, chargeGroupItems, chargeItems, domainComputations, lineItems, messages, name, optionalCharges, pending, portDomains, properties, qty, totalPrices, type, integrationId, productId, port, parentId, assetId, openOrderLineItemId, productName, rootId, actionCode, serviceStartDate, effectiveDate, effectiveStartDate, startDate, endDate, priceListId, planId, sellingFrequencyUnit, sellingFrequencyDuration, minimalTerm, proratedFrequencyEnabled, offeringId, offeringItemId, offeringInstanceId, rampInstanceId, enableRamp, configurable, requiresApprovals, metrics, totalMetrics) {
562
- this.id = id;
563
- this.activated = activated;
564
- this.attributes = attributes;
565
- this.attributeDomains = attributeDomains;
566
- this.cfgStatus = cfgStatus;
567
- this.chargeGroupItems = chargeGroupItems;
568
- this.chargeItems = chargeItems;
569
- this.domainComputations = domainComputations;
570
- this.lineItems = lineItems;
571
- this.messages = messages;
572
- this.name = name;
573
- this.optionalCharges = optionalCharges;
574
- this.pending = pending;
575
- this.portDomains = portDomains;
576
- this.properties = properties;
577
- this.qty = qty;
578
- this.totalPrices = totalPrices;
579
- this.type = type;
580
- this.integrationId = integrationId;
581
- this.productId = productId;
582
- this.port = port;
583
- this.parentId = parentId;
584
- this.assetId = assetId;
585
- this.openOrderLineItemId = openOrderLineItemId;
586
- this.productName = productName;
587
- this.rootId = rootId;
588
- this.actionCode = actionCode;
589
- this.serviceStartDate = serviceStartDate;
590
- this.effectiveDate = effectiveDate;
591
- this.effectiveStartDate = effectiveStartDate;
592
- this.startDate = startDate;
593
- this.endDate = endDate;
594
- this.priceListId = priceListId;
595
- this.planId = planId;
596
- this.sellingFrequencyUnit = sellingFrequencyUnit;
597
- this.sellingFrequencyDuration = sellingFrequencyDuration;
598
- this.minimalTerm = minimalTerm;
599
- this.proratedFrequencyEnabled = proratedFrequencyEnabled;
600
- this.offeringId = offeringId;
601
- this.offeringItemId = offeringItemId;
602
- this.offeringInstanceId = offeringInstanceId;
603
- this.rampInstanceId = rampInstanceId;
604
- this.enableRamp = enableRamp;
605
- this.configurable = configurable;
606
- this.requiresApprovals = requiresApprovals;
607
- this.metrics = metrics;
608
- this.totalMetrics = totalMetrics;
609
- }
610
- static fromDTO(dto) {
611
- return {
612
- id: dto.id,
613
- activated: dto.activated,
614
- attributes: dto.attributes.map(AttributeDTO.fromDTO),
615
- attributeDomains: dto.attributeDomains,
616
- cfgStatus: dto.cfgStatus,
617
- chargeGroupItems: dto.chargeGroupItems.map(ChargeGroupItemDTO.fromDTO),
618
- chargeItems: dto.chargeItems.map(ChargeItemDTO.fromDTO),
619
- domainComputations: dto.domainComputations,
620
- lineItems: dto.lineItems.map(LineItemDTO.fromDTO),
621
- messages: dto.messages,
622
- name: dto.name,
623
- optionalCharges: dto.optionalCharges,
624
- pending: dto.pending,
625
- portDomains: transform(dto.portDomains, (result, value, key) => (result[key] = PortDomainDTO.fromDTO(value))),
626
- properties: dto.properties,
627
- qty: dto.qty,
628
- totalPrices: transform(dto.totalPrices, (result, value, key) => (result[key] = PriceDTO.fromDTO(value))),
629
- type: dto.type,
630
- productId: dto.productId,
631
- port: dto.port,
632
- integrationId: dto.integrationId,
633
- parentId: dto.parentId,
634
- assetId: dto.assetId,
635
- openOrderLineItemId: dto.openOrderLineItemId,
636
- productName: dto.productName,
637
- rootId: dto.rootId,
638
- actionCode: dto.actionCode,
639
- serviceStartDate: dto.serviceStartDate,
640
- effectiveDate: dto.effectiveDate,
641
- effectiveStartDate: dto.effectiveStartDate,
642
- startDate: dto.startDate,
643
- endDate: dto.endDate,
644
- priceListId: dto.priceListId,
645
- planId: dto.planId,
646
- sellingFrequencyUnit: dto.sellingFrequencyUnit,
647
- sellingFrequencyDuration: dto.sellingFrequencyDuration,
648
- minimalTerm: dto.minimalTerm,
649
- proratedFrequencyEnabled: dto.proratedFrequencyEnabled,
650
- offeringId: dto.offeringId,
651
- offeringItemId: dto.offeringItemId,
652
- offeringInstanceId: dto.offeringInstanceId,
653
- rampInstanceId: dto.rampInstanceId,
654
- enableRamp: dto.enableRamp,
655
- configurable: dto.configurable,
656
- requiresApprovals: dto.requiresApprovals,
657
- metrics: dto.metrics,
658
- totalMetrics: dto.totalMetrics,
659
- };
660
- }
661
- }
662
-
663
- class ConfigurePriceDTO {
664
- constructor(lineItem, context, charges, pricePlans) {
665
- this.lineItem = lineItem;
666
- this.context = context;
667
- this.charges = charges;
668
- this.pricePlans = pricePlans;
669
- }
670
- static fromDTO(dto) {
671
- return {
672
- lineItem: LineItemDTO.fromDTO(dto.lineItem),
673
- charges: dto.charges,
674
- pricePlans: dto.pricePlans,
675
- context: dto.context,
676
- deletedLineItems: dto.deletedLineItems.map(deletedLineItem => LineItemDTO.fromDTO(deletedLineItem)),
677
- };
678
- }
679
- }
680
-
681
301
  class ConfigurationApiService {
682
302
  constructor(httpService) {
683
303
  this.httpService = httpService;
@@ -691,7 +311,7 @@ class ConfigurationApiService {
691
311
  body: configurationRequest,
692
312
  errorHandler: e => throwError(e),
693
313
  })
694
- .pipe(map(response => ConfigurePriceDTO.fromDTO(response)), map(configurePrice => {
314
+ .pipe(map(configurePrice => {
695
315
  if (runtimeModel) {
696
316
  return Object.assign(Object.assign({}, configurePrice), { lineItem: this.updatePortDomains(configurePrice.lineItem, runtimeModel) });
697
317
  }
@@ -839,14 +459,12 @@ class DeltaApiService {
839
459
  this.SERVICE_URL = '/delta';
840
460
  }
841
461
  calculate$(request) {
842
- return this.httpService
843
- .api({
462
+ return this.httpService.api({
844
463
  method: 'post',
845
464
  url: `${this.SERVICE_URL}/calculate`,
846
465
  body: request,
847
466
  skipErrorHandler: true,
848
- })
849
- .pipe(map$1(dtos => dtos.map(dto => LineItemDTO.fromDTO(dto))));
467
+ });
850
468
  }
851
469
  }
852
470
  DeltaApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: DeltaApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -1257,7 +875,7 @@ class EndpointsApiService {
1257
875
  method: 'get',
1258
876
  });
1259
877
  }
1260
- createNewEndpoint$(body) {
878
+ createEndpoint$(body) {
1261
879
  return this.baseHttpService.api({
1262
880
  url: `${this.serviceUrl}`,
1263
881
  method: 'post',
@@ -2096,7 +1714,7 @@ class ScriptsApiService {
2096
1714
  return this.baseHttpService.api({
2097
1715
  url: `${this.serviceUrl}/${cloneRequest.id}/clone`,
2098
1716
  method: 'post',
2099
- body: cloneRequest
1717
+ body: cloneRequest,
2100
1718
  });
2101
1719
  };
2102
1720
  this.removeScript$ = (id) => {
@@ -2116,7 +1734,7 @@ class ScriptsApiService {
2116
1734
  url: `/scripts/execute`,
2117
1735
  method: 'post',
2118
1736
  body,
2119
- errorHandler: () => null
1737
+ errorHandler: () => null,
2120
1738
  });
2121
1739
  };
2122
1740
  }