@veloceapps/api 11.0.0-27 → 11.0.0-29

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 (88) hide show
  1. package/esm2020/src/index.mjs +1 -10
  2. package/esm2020/src/lib/api.module.mjs +1 -28
  3. package/esm2020/v2/api-v2.module.mjs +36 -20
  4. package/esm2020/v2/services/cache-api.service.mjs +22 -0
  5. package/esm2020/v2/services/configuration-processors-api.service.mjs +2 -2
  6. package/esm2020/v2/services/configuration-settings-api.service.mjs +89 -0
  7. package/esm2020/v2/services/context-definition-admin-api.service.mjs +65 -0
  8. package/esm2020/v2/services/endpoints-admin-api.service.mjs +79 -0
  9. package/esm2020/v2/services/flows-api.service.mjs +29 -0
  10. package/esm2020/v2/services/function-groups-admin-api.service.mjs +62 -0
  11. package/esm2020/v2/services/functions-admin-api.service.mjs +97 -0
  12. package/esm2020/v2/services/index.mjs +18 -10
  13. package/esm2020/v2/services/orchestrations-admin-api.service.mjs +87 -0
  14. package/esm2020/v2/services/orchestrations-api.service.mjs +23 -0
  15. package/esm2020/v2/services/pcm-api.service.mjs +29 -0
  16. package/esm2020/v2/services/picklists-admin-api.service.mjs +41 -0
  17. package/esm2020/v2/services/products-admin-api.service.mjs +90 -0
  18. package/esm2020/v2/services/sales-transactions-api.service.mjs +2 -2
  19. package/esm2020/v2/services/salesforce-api.service.mjs +83 -0
  20. package/esm2020/v2/services/scripts-admin-api.service.mjs +10 -2
  21. package/esm2020/v2/services/shopping-cart-settings-api.service.mjs +28 -0
  22. package/esm2020/v2/services/ui-definitions-admin-api.service.mjs +68 -0
  23. package/esm2020/v2/services/ui-templates-admin-api.service.mjs +286 -0
  24. package/esm2020/v2/services/veloce-objects-api.service.mjs +90 -0
  25. package/esm2020/v2/types/dto/configuration-settings-dto.types.mjs +22 -0
  26. package/esm2020/v2/types/index.mjs +2 -1
  27. package/esm2020/v2/types/pcm.types.mjs +2 -0
  28. package/esm2020/v2/types/search-request.types.mjs +2 -0
  29. package/fesm2015/veloceapps-api-v2.mjs +647 -189
  30. package/fesm2015/veloceapps-api-v2.mjs.map +1 -1
  31. package/fesm2015/veloceapps-api.mjs +16 -585
  32. package/fesm2015/veloceapps-api.mjs.map +1 -1
  33. package/fesm2020/veloceapps-api-v2.mjs +706 -192
  34. package/fesm2020/veloceapps-api-v2.mjs.map +1 -1
  35. package/fesm2020/veloceapps-api.mjs +16 -641
  36. package/fesm2020/veloceapps-api.mjs.map +1 -1
  37. package/package.json +1 -1
  38. package/src/index.d.ts +0 -9
  39. package/v2/services/cache-api.service.d.ts +11 -0
  40. package/{src/lib → v2}/services/configuration-settings-api.service.d.ts +1 -2
  41. package/v2/services/{context-definition-api.service.d.ts → context-definition-admin-api.service.d.ts} +3 -3
  42. package/{src/lib/services/endpoints-api.service.d.ts → v2/services/endpoints-admin-api.service.d.ts} +3 -4
  43. package/v2/services/function-groups-admin-api.service.d.ts +18 -0
  44. package/v2/services/functions-admin-api.service.d.ts +22 -0
  45. package/v2/services/index.d.ts +17 -9
  46. package/v2/services/orchestrations-admin-api.service.d.ts +21 -0
  47. package/v2/services/orchestrations-api.service.d.ts +12 -0
  48. package/{src/lib/services/picklists-api.service.d.ts → v2/services/picklists-admin-api.service.d.ts} +3 -3
  49. package/v2/services/products-admin-api.service.d.ts +21 -0
  50. package/v2/services/scripts-admin-api.service.d.ts +2 -1
  51. package/v2/services/{ui-definitions-api.service.d.ts → ui-definitions-admin-api.service.d.ts} +3 -3
  52. package/v2/services/{ui-templates-api.service.d.ts → ui-templates-admin-api.service.d.ts} +3 -3
  53. package/{src/lib → v2}/services/veloce-objects-api.service.d.ts +3 -3
  54. package/v2/types/index.d.ts +1 -0
  55. package/v2/types/search-request.types.d.ts +8 -0
  56. package/esm2020/src/lib/services/configuration-settings-api.service.mjs +0 -96
  57. package/esm2020/src/lib/services/endpoints-api.service.mjs +0 -80
  58. package/esm2020/src/lib/services/flows-api.service.mjs +0 -29
  59. package/esm2020/src/lib/services/pcm-api.service.mjs +0 -29
  60. package/esm2020/src/lib/services/picklists-api.service.mjs +0 -41
  61. package/esm2020/src/lib/services/product-api.service.mjs +0 -153
  62. package/esm2020/src/lib/services/salesforce-api.service.mjs +0 -83
  63. package/esm2020/src/lib/services/shopping-cart-settings-api.service.mjs +0 -28
  64. package/esm2020/src/lib/services/veloce-objects-api.service.mjs +0 -90
  65. package/esm2020/src/lib/types/dto/configuration-settings-dto.types.mjs +0 -22
  66. package/esm2020/src/lib/types/pcm.types.mjs +0 -2
  67. package/esm2020/v2/services/context-definition-api.service.mjs +0 -65
  68. package/esm2020/v2/services/procedures-admin-api.service.mjs +0 -82
  69. package/esm2020/v2/services/procedures-api.service.mjs +0 -44
  70. package/esm2020/v2/services/rule-groups-admin-api.service.mjs +0 -62
  71. package/esm2020/v2/services/rules-admin-api.service.mjs +0 -95
  72. package/esm2020/v2/services/rules-api.service.mjs +0 -36
  73. package/esm2020/v2/services/scripts-api.service.mjs +0 -23
  74. package/esm2020/v2/services/ui-definitions-api.service.mjs +0 -68
  75. package/esm2020/v2/services/ui-templates-api.service.mjs +0 -286
  76. package/src/lib/services/product-api.service.d.ts +0 -31
  77. package/v2/services/procedures-admin-api.service.d.ts +0 -23
  78. package/v2/services/procedures-api.service.d.ts +0 -15
  79. package/v2/services/rule-groups-admin-api.service.d.ts +0 -18
  80. package/v2/services/rules-admin-api.service.d.ts +0 -22
  81. package/v2/services/rules-api.service.d.ts +0 -11
  82. package/v2/services/scripts-api.service.d.ts +0 -11
  83. /package/{src/lib → v2}/services/flows-api.service.d.ts +0 -0
  84. /package/{src/lib → v2}/services/pcm-api.service.d.ts +0 -0
  85. /package/{src/lib → v2}/services/salesforce-api.service.d.ts +0 -0
  86. /package/{src/lib → v2}/services/shopping-cart-settings-api.service.d.ts +0 -0
  87. /package/{src/lib → v2}/types/dto/configuration-settings-dto.types.d.ts +0 -0
  88. /package/{src/lib → v2}/types/pcm.types.d.ts +0 -0
@@ -1,14 +1,14 @@
1
1
  import * as i1$1 from '@angular/common/http';
2
- import { HttpParams, HttpHeaders, HttpErrorResponse, HttpClientModule } from '@angular/common/http';
2
+ import { HttpParams, HttpHeaders, HttpClientModule } from '@angular/common/http';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Injectable, NgModule } from '@angular/core';
5
5
  import { ApiV2Module } from '@veloceapps/api/v2';
6
6
  import * as i1 from '@veloceapps/core';
7
- import { Expression, Operator, isApexError, isCanvasError, parseJsonSafely, BaseHttpService, XrayService } from '@veloceapps/core';
8
- import { noop, of, map as map$1, from, catchError as catchError$1, tap as tap$1 } from 'rxjs';
9
- import { map, catchError, tap } from 'rxjs/operators';
10
- import * as i1$2 from 'primeng/api';
7
+ import { Expression, Operator, isApexError, isCanvasError, BaseHttpService, XrayService } from '@veloceapps/core';
8
+ import { noop, map as map$1, from, catchError, of } from 'rxjs';
9
+ import { tap, map } from 'rxjs/operators';
11
10
  import { isArray } from 'lodash';
11
+ import * as i1$2 from 'primeng/api';
12
12
 
13
13
  class AccountApiService {
14
14
  constructor(httpService) {
@@ -350,81 +350,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
350
350
  type: Injectable
351
351
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
352
352
 
353
- class ConfigurationSettingsDTO {
354
- static fromDTO(dto, key) {
355
- return {
356
- id: dto === null || dto === void 0 ? void 0 : dto.id,
357
- key: (dto === null || dto === void 0 ? void 0 : dto.key) || key || '',
358
- value: dto === null || dto === void 0 ? void 0 : dto.value,
359
- };
360
- }
361
- static toDTO(data) {
362
- return {
363
- id: data.id,
364
- key: data.key,
365
- value: data.value,
366
- };
367
- }
368
- constructor(id, key, value) {
369
- this.id = id;
370
- this.key = key;
371
- this.value = value;
372
- }
373
- }
374
-
375
- class ConfigurationSettingsApiService {
376
- constructor(httpService, messageService) {
377
- this.httpService = httpService;
378
- this.messageService = messageService;
379
- this.SERVICE_URL = '/configuration-settings';
380
- }
381
- fetchSettings(options) {
382
- return this.httpService
383
- .api(Object.assign({ url: `${this.SERVICE_URL}`, method: 'get' }, options))
384
- .pipe(map((settings) => settings.map(setting => ConfigurationSettingsDTO.fromDTO(setting))));
385
- }
386
- fetchSetting(settingsKey, options) {
387
- return this.httpService
388
- .api(Object.assign(Object.assign({ url: `${this.SERVICE_URL}/byKey/${settingsKey}`, method: 'get' }, options), { skipErrorHandler: true }))
389
- .pipe(map((setting) => ConfigurationSettingsDTO.fromDTO(setting, settingsKey)), catchError(err => {
390
- if (err instanceof HttpErrorResponse && err.status === 404) {
391
- if (!(options === null || options === void 0 ? void 0 : options.skipErrorHandler)) {
392
- this.messageService.add({
393
- severity: 'error',
394
- summary: `Configuration Setting "${settingsKey}" is not found`,
395
- sticky: true,
396
- });
397
- }
398
- return of(null);
399
- }
400
- throw err;
401
- }));
402
- }
403
- createSetting(setting, options) {
404
- const request = ConfigurationSettingsDTO.toDTO(setting);
405
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}`, method: 'post', body: Object.assign({}, request) }, options));
406
- }
407
- updateSetting(setting, options) {
408
- const request = ConfigurationSettingsDTO.toDTO(setting);
409
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/${request.id}`, method: 'put', body: Object.assign({}, request) }, options));
410
- }
411
- removeSetting(setting, options) {
412
- const request = ConfigurationSettingsDTO.toDTO(setting);
413
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/${request.id}`, method: 'delete' }, options));
414
- }
415
- restoreSetting(settingId, options) {
416
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/${settingId}/restore`, method: 'patch' }, options));
417
- }
418
- clear(name, options) {
419
- return this.httpService.api(Object.assign({ method: 'get', url: '/cache/evict/' + name }, options));
420
- }
421
- }
422
- ConfigurationSettingsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationSettingsApiService, deps: [{ token: i1.BaseHttpService }, { token: i1$2.MessageService }], target: i0.ɵɵFactoryTarget.Injectable });
423
- ConfigurationSettingsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationSettingsApiService });
424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ConfigurationSettingsApiService, decorators: [{
425
- type: Injectable
426
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }, { type: i1$2.MessageService }]; } });
427
-
428
353
  class ContractedPriceApiService {
429
354
  constructor(baseHttpService) {
430
355
  this.baseHttpService = baseHttpService;
@@ -528,81 +453,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
528
453
  type: Injectable
529
454
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }, { type: i1.FileDownloadService }]; } });
530
455
 
531
- class EndpointsApiService {
532
- constructor(baseHttpService) {
533
- this.baseHttpService = baseHttpService;
534
- this.adminServiceUrl = '/admin/api-endpoints';
535
- this.serviceUrl = '/api-endpoints';
536
- }
537
- fetchEndpoints$() {
538
- return this.searchEndpoints$(new Expression(), 0, -1);
539
- }
540
- searchEndpoints$(expression, skip, count) {
541
- let params = new HttpParams();
542
- params = params.set('skip', '' + skip);
543
- params = params.set('count', '' + count);
544
- return this.baseHttpService.api({
545
- method: 'post',
546
- url: `${this.adminServiceUrl}/search`,
547
- params,
548
- body: expression,
549
- });
550
- }
551
- removeEndpoint$(id) {
552
- return this.baseHttpService.api({
553
- url: `${this.adminServiceUrl}/${id}`,
554
- method: 'delete',
555
- });
556
- }
557
- restoreEndpoint$(id) {
558
- return this.baseHttpService.api({
559
- url: `${this.adminServiceUrl}/${id}/restore`,
560
- method: 'patch',
561
- });
562
- }
563
- fetchEndpoint$(id) {
564
- return this.baseHttpService.api({
565
- url: `${this.adminServiceUrl}/${id}`,
566
- method: 'get',
567
- });
568
- }
569
- createEndpoint$(body) {
570
- return this.baseHttpService.api({
571
- url: `${this.adminServiceUrl}`,
572
- method: 'post',
573
- body,
574
- });
575
- }
576
- updateEndpoint$(body) {
577
- return this.baseHttpService.api({
578
- url: `${this.adminServiceUrl}/${body.id}`,
579
- method: 'put',
580
- body,
581
- });
582
- }
583
- duplicateEndpoint$(cloneRequest) {
584
- return this.baseHttpService.api({
585
- url: `${this.adminServiceUrl}/${cloneRequest.id}/clone`,
586
- method: 'post',
587
- body: cloneRequest,
588
- });
589
- }
590
- executeEndpoint$(body) {
591
- return this.baseHttpService.api({
592
- url: `${this.serviceUrl}/execute`,
593
- method: 'post',
594
- body,
595
- responseType: 'text',
596
- skipErrorHandler: true,
597
- });
598
- }
599
- }
600
- EndpointsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EndpointsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
601
- EndpointsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EndpointsApiService });
602
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EndpointsApiService, decorators: [{
603
- type: Injectable
604
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
605
-
606
456
  class FlowStateApiService {
607
457
  constructor(httpService) {
608
458
  this.httpService = httpService;
@@ -742,31 +592,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
742
592
  type: Injectable
743
593
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
744
594
 
745
- class FlowsApiService {
746
- constructor(configurationSettingsApiService) {
747
- this.configurationSettingsApiService = configurationSettingsApiService;
748
- this.flowsKey = 'flows';
749
- }
750
- getFlow(id) {
751
- return this.fetchFlows().pipe(map(flows => flows.find(flow => flow.id == id)), map(flow => {
752
- if (!flow) {
753
- throw new Error(`Flow with flowId=${id} is not defined`);
754
- }
755
- return flow;
756
- }));
757
- }
758
- fetchFlows() {
759
- return this.configurationSettingsApiService
760
- .fetchSetting(this.flowsKey)
761
- .pipe(map((setting) => ((setting === null || setting === void 0 ? void 0 : setting.value) ? JSON.parse(setting.value) : [])));
762
- }
763
- }
764
- FlowsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowsApiService, deps: [{ token: ConfigurationSettingsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
765
- FlowsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowsApiService });
766
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowsApiService, decorators: [{
767
- type: Injectable
768
- }], ctorParameters: function () { return [{ type: ConfigurationSettingsApiService }]; } });
769
-
770
595
  class GuidedSellingsAdminApiService {
771
596
  constructor(baseHttpService) {
772
597
  this.baseHttpService = baseHttpService;
@@ -977,7 +802,7 @@ class OrgInfoApiService {
977
802
  getOrgInfo$() {
978
803
  try {
979
804
  return window.doCanvasCall && window.ORGANIZATION_ID
980
- ? from(window.doCanvasCall(`org-info/${window.ORGANIZATION_ID}`, null)).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
805
+ ? from(window.doCanvasCall(`org-info/${window.ORGANIZATION_ID}`, null)).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
981
806
  : of(undefined);
982
807
  }
983
808
  catch (_a) {
@@ -987,7 +812,7 @@ class OrgInfoApiService {
987
812
  getAvailableVersionsInfo$() {
988
813
  try {
989
814
  return window.doCanvasCall && window.ORGANIZATION_ID
990
- ? from(window.doCanvasCall('versions/available', 'include_all=true')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
815
+ ? from(window.doCanvasCall('versions/available', 'include_all=true')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
991
816
  : of(undefined);
992
817
  }
993
818
  catch (_a) {
@@ -997,7 +822,7 @@ class OrgInfoApiService {
997
822
  upgradeVersion$(targetVersion) {
998
823
  try {
999
824
  return window.doCanvasCall && window.ORGANIZATION_ID
1000
- ? from(window.doCanvasCall('versions/upgrade', `target_version=${targetVersion}`)).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
825
+ ? from(window.doCanvasCall('versions/upgrade', `target_version=${targetVersion}`)).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
1001
826
  : of(undefined);
1002
827
  }
1003
828
  catch (_a) {
@@ -1011,126 +836,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1011
836
  type: Injectable
1012
837
  }], ctorParameters: function () { return [{ type: i1$2.MessageService }]; } });
1013
838
 
1014
- class SalesforceApiService {
1015
- constructor(httpService) {
1016
- this.httpService = httpService;
1017
- this.SERVICE_URL = '/proxy';
1018
- }
1019
- query(searchRequest, objectName, options) {
1020
- return this.httpService.api(Object.assign({ method: 'post', body: Object.assign(Object.assign({}, searchRequest), { count: searchRequest.count || 100 }), url: `${this.SERVICE_URL}/query/${objectName}` }, options));
1021
- }
1022
- queryObjects(search, options) {
1023
- let params = new HttpParams();
1024
- if (search) {
1025
- params = params.append('search', search);
1026
- }
1027
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/query`, params }, options));
1028
- }
1029
- search(req, options) {
1030
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/rest/search`, params: { q: req.searchString } }, options));
1031
- }
1032
- describeObject(objectName, options) {
1033
- const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
1034
- return this.httpService.api(Object.assign({ url: methodUrl }, options));
1035
- }
1036
- describeField(objectName, fieldName, options) {
1037
- const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields/${fieldName}`;
1038
- return this.httpService.api(Object.assign({ url: methodUrl }, options));
1039
- }
1040
- describe2(objectName, fields, options) {
1041
- const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
1042
- return this.httpService.api(Object.assign({ method: 'post', url: methodUrl, body: fields }, options));
1043
- }
1044
- apexGetRequest(path, params, options) {
1045
- // this line is needed because HttpParams instance from Integration behaves wrong in studio instance of Angular
1046
- const httpParams = new HttpParams({ fromString: params.toString() });
1047
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/apex${path}`, params: httpParams }, options));
1048
- }
1049
- apexPostRequest(path, body, options) {
1050
- return this.httpService.api(Object.assign({ method: 'post', body, url: `${this.SERVICE_URL}/apex${path}` }, options));
1051
- }
1052
- restGetRequest(path, params, options) {
1053
- const httpParams = new HttpParams({ fromString: params.toString() });
1054
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/rest${path}`, params: httpParams }, options));
1055
- }
1056
- getGlobalPicklists() {
1057
- return this.httpService.api({
1058
- method: 'get',
1059
- url: `${this.SERVICE_URL}/globalvalueset`,
1060
- });
1061
- }
1062
- getGlobalPicklistValues(id) {
1063
- return this.httpService.api({
1064
- method: 'get',
1065
- url: `${this.SERVICE_URL}/globalvalueset/${id}/values`,
1066
- });
1067
- }
1068
- }
1069
- SalesforceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
1070
- SalesforceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService });
1071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService, decorators: [{
1072
- type: Injectable
1073
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
1074
-
1075
- class PCMApiService {
1076
- constructor(sfApiService) {
1077
- this.sfApiService = sfApiService;
1078
- }
1079
- fetchPCMByProductId(productId) {
1080
- return this.sfApiService.restGetRequest(`/connect/pcm/products/${productId}`, new HttpParams()).pipe(tap$1(response => {
1081
- if (response.status.code !== '200') {
1082
- throw new Error(response.status.message);
1083
- }
1084
- }), map$1(response => {
1085
- const pcm = response.products[0];
1086
- if (!pcm) {
1087
- throw new Error('PCM product is not found');
1088
- }
1089
- return pcm;
1090
- }));
1091
- }
1092
- }
1093
- PCMApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCMApiService, deps: [{ token: SalesforceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
1094
- PCMApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCMApiService });
1095
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCMApiService, decorators: [{
1096
- type: Injectable
1097
- }], ctorParameters: function () { return [{ type: SalesforceApiService }]; } });
1098
-
1099
- class PicklistsApiService {
1100
- constructor(baseHttpService) {
1101
- this.baseHttpService = baseHttpService;
1102
- this.serviceUrl = '/admin';
1103
- this.fetchAllPicklists$ = () => this.baseHttpService.api({ url: `${this.serviceUrl}/picklists` });
1104
- this.fetchPicklist$ = (code) => this.baseHttpService.api({ url: `${this.serviceUrl}/picklists/${code}` });
1105
- this.createPicklist$ = (picklist) => {
1106
- return this.baseHttpService.api({ method: 'post', url: `${this.serviceUrl}/picklists`, body: picklist });
1107
- };
1108
- this.updatePicklist$ = (picklist) => {
1109
- return this.baseHttpService.api({
1110
- method: 'put',
1111
- url: `${this.serviceUrl}/picklists/${picklist.id}`,
1112
- body: picklist,
1113
- });
1114
- };
1115
- this.removePicklist$ = (id) => this.baseHttpService.api({ method: 'delete', url: `${this.serviceUrl}/picklists/${id}` });
1116
- this.restorePicklist$ = (id) => {
1117
- return this.baseHttpService.api({
1118
- url: `${this.serviceUrl}/picklists/${id}/restore`,
1119
- method: 'patch',
1120
- });
1121
- };
1122
- this.addPicklistValue$ = (picklist, value) => {
1123
- const data = Object.assign(Object.assign({}, picklist), { values: [...picklist.values, value] });
1124
- return this.baseHttpService.api({ method: 'put', url: `${this.serviceUrl}/picklists/${picklist.id}`, body: data });
1125
- };
1126
- }
1127
- }
1128
- PicklistsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PicklistsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
1129
- PicklistsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PicklistsApiService });
1130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PicklistsApiService, decorators: [{
1131
- type: Injectable
1132
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
1133
-
1134
839
  class PortalsApiService {
1135
840
  constructor(baseHttpService) {
1136
841
  this.baseHttpService = baseHttpService;
@@ -1200,154 +905,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1200
905
  type: Injectable
1201
906
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
1202
907
 
1203
- class ProductApiService {
1204
- constructor(baseHttpService) {
1205
- this.baseHttpService = baseHttpService;
1206
- this.serviceUrl = '/products';
1207
- this.fetchProducts$ = (payload) => {
1208
- let params = new HttpParams();
1209
- params = params.append('count', payload.count);
1210
- params = params.append('skip', payload.skip);
1211
- if (payload.name) {
1212
- params = params.append('name', payload.name);
1213
- }
1214
- return this.baseHttpService.api({ url: `${this.serviceUrl}`, params });
1215
- };
1216
- this.searchProducts$ = (expression, skip, count) => {
1217
- let params = new HttpParams();
1218
- params = params.set('skip', '' + skip);
1219
- params = params.set('count', '' + count);
1220
- return this.baseHttpService.api({
1221
- method: 'post',
1222
- url: `${this.serviceUrl}/search`,
1223
- params: params,
1224
- body: expression,
1225
- });
1226
- };
1227
- this.fetchProduct$ = (id) => this.baseHttpService.api({ url: `${this.serviceUrl}/${id}` });
1228
- this.fetchAttributes$ = () => {
1229
- return this.baseHttpService.api({ url: `${this.serviceUrl}/attributes/definition` });
1230
- };
1231
- this.searchAttributes$ = (expression, skip, count) => {
1232
- let params = new HttpParams();
1233
- params = params.set('skip', '' + skip);
1234
- params = params.set('count', '' + count);
1235
- return this.baseHttpService.api({
1236
- method: 'post',
1237
- url: `${this.serviceUrl}/attributes/definition/search`,
1238
- params: params,
1239
- body: expression,
1240
- });
1241
- };
1242
- this.fetchAttributesByModel = (modelId) => {
1243
- return this.baseHttpService.api({ url: `${this.serviceUrl}/attributes/definition/forModel/${modelId}` });
1244
- };
1245
- this.createNewProduct$ = (productData) => {
1246
- return this.baseHttpService.api({
1247
- url: `${this.serviceUrl}`,
1248
- method: 'post',
1249
- body: productData,
1250
- });
1251
- };
1252
- this.updateProduct$ = (body) => {
1253
- return this.baseHttpService.api({
1254
- url: `${this.serviceUrl}/${body.id}`,
1255
- method: 'put',
1256
- body,
1257
- });
1258
- };
1259
- this.removeProduct$ = (id) => {
1260
- return this.baseHttpService.api({
1261
- url: `${this.serviceUrl}/${id}`,
1262
- method: 'delete',
1263
- });
1264
- };
1265
- this.restoreProduct$ = (id) => {
1266
- return this.baseHttpService.api({
1267
- url: `${this.serviceUrl}/${id}/restore`,
1268
- method: 'patch',
1269
- });
1270
- };
1271
- this.createProductAttribute$ = (attributeData) => {
1272
- return this.baseHttpService.api({
1273
- url: `${this.serviceUrl}/attributes`,
1274
- method: 'post',
1275
- body: attributeData,
1276
- });
1277
- };
1278
- this.updateProductAttribute$ = (attributeData) => {
1279
- return this.baseHttpService.api({
1280
- url: `${this.serviceUrl}/attributes/${attributeData.id}`,
1281
- method: 'put',
1282
- body: attributeData,
1283
- });
1284
- };
1285
- this.removeProductAttribute$ = (id) => {
1286
- return this.baseHttpService.api({
1287
- url: `${this.serviceUrl}/attributes/${id}`,
1288
- method: 'delete',
1289
- });
1290
- };
1291
- this.createNewAttribute$ = (attributeData) => {
1292
- return this.baseHttpService.api({
1293
- url: `${this.serviceUrl}/attributes/definition`,
1294
- method: 'post',
1295
- body: attributeData,
1296
- });
1297
- };
1298
- this.updateAttribute$ = (body) => {
1299
- return this.baseHttpService.api({
1300
- url: `${this.serviceUrl}/attributes/definition/${body.id}`,
1301
- method: 'put',
1302
- body,
1303
- });
1304
- };
1305
- this.removeAttribute$ = (id) => {
1306
- return this.baseHttpService.api({
1307
- url: `${this.serviceUrl}/attributes/definition/${id}`,
1308
- method: 'delete',
1309
- });
1310
- };
1311
- this.restoreAttribute$ = (id) => {
1312
- return this.baseHttpService.api({
1313
- url: `${this.serviceUrl}/attributes/definition/${id}/restore`,
1314
- method: 'patch',
1315
- });
1316
- };
1317
- }
1318
- attachImage$(productId, file) {
1319
- const data = new FormData();
1320
- data.append('image', file);
1321
- return this.baseHttpService.upload({
1322
- method: 'post',
1323
- url: `${this.serviceUrl}/${productId}/image`,
1324
- body: data,
1325
- });
1326
- }
1327
- removeImage$(productId) {
1328
- return this.baseHttpService.api({
1329
- method: 'delete',
1330
- url: `${this.serviceUrl}/${productId}/image`,
1331
- });
1332
- }
1333
- fetchImage$(productId) {
1334
- return this.baseHttpService.api({
1335
- url: this.getImageUrl(productId),
1336
- method: 'get',
1337
- responseType: 'blob',
1338
- errorHandler: noop,
1339
- });
1340
- }
1341
- getImageUrl(productId) {
1342
- return `${this.serviceUrl}/${productId}/image`;
1343
- }
1344
- }
1345
- ProductApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
1346
- ProductApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductApiService });
1347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProductApiService, decorators: [{
1348
- type: Injectable
1349
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
1350
-
1351
908
  class PromotionsApiService {
1352
909
  constructor(baseHttpService) {
1353
910
  this.baseHttpService = baseHttpService;
@@ -1552,7 +1109,7 @@ class SandboxManagerApiService {
1552
1109
  getSalesforceOrganizations$() {
1553
1110
  try {
1554
1111
  return window.doSandboxCall
1555
- ? from(window.doSandboxCall('orgs', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, [], this.publishErrorMessage)), catchError$1(() => of([])))
1112
+ ? from(window.doSandboxCall('orgs', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, [], this.publishErrorMessage)), catchError(() => of([])))
1556
1113
  : of([]);
1557
1114
  }
1558
1115
  catch (_a) {
@@ -1562,7 +1119,7 @@ class SandboxManagerApiService {
1562
1119
  getAvailableSalesforceOrganizationSizes$() {
1563
1120
  try {
1564
1121
  return window.doSandboxCall
1565
- ? from(window.doSandboxCall('available-sizes', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, {}, this.publishErrorMessage)), catchError$1(() => of({})))
1122
+ ? from(window.doSandboxCall('available-sizes', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, {}, this.publishErrorMessage)), catchError(() => of({})))
1566
1123
  : of({});
1567
1124
  }
1568
1125
  catch (_a) {
@@ -1572,7 +1129,7 @@ class SandboxManagerApiService {
1572
1129
  createSalesforceOrganization$(payload) {
1573
1130
  try {
1574
1131
  return window.doSandboxCall
1575
- ? from(window.doSandboxCall('orgs', JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
1132
+ ? from(window.doSandboxCall('orgs', JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
1576
1133
  : of(undefined);
1577
1134
  }
1578
1135
  catch (err) {
@@ -1582,7 +1139,7 @@ class SandboxManagerApiService {
1582
1139
  updateSalesforceOrganization$(payload) {
1583
1140
  try {
1584
1141
  return window.doSandboxCall
1585
- ? from(window.doSandboxCall(`orgs/${payload.orgId}`, JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
1142
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}`, JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
1586
1143
  : of(undefined);
1587
1144
  }
1588
1145
  catch (_a) {
@@ -1592,7 +1149,7 @@ class SandboxManagerApiService {
1592
1149
  deleteSalesforceOrganization$(payload) {
1593
1150
  try {
1594
1151
  return window.doSandboxCall
1595
- ? from(window.doSandboxCall(`orgs/${payload.orgId}`, '', 'DELETE')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
1152
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}`, '', 'DELETE')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
1596
1153
  : of(undefined);
1597
1154
  }
1598
1155
  catch (_a) {
@@ -1602,7 +1159,7 @@ class SandboxManagerApiService {
1602
1159
  activateSalesforceOrganization$(payload) {
1603
1160
  try {
1604
1161
  return window.doSandboxCall
1605
- ? from(window.doSandboxCall(`orgs/${payload.orgId}/activate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
1162
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}/activate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
1606
1163
  : of(undefined);
1607
1164
  }
1608
1165
  catch (_a) {
@@ -1612,7 +1169,7 @@ class SandboxManagerApiService {
1612
1169
  deactivateSalesforceOrganization$(payload) {
1613
1170
  try {
1614
1171
  return window.doSandboxCall
1615
- ? from(window.doSandboxCall(`orgs/${payload.orgId}/deactivate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
1172
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}/deactivate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError(() => of(undefined)))
1616
1173
  : of(undefined);
1617
1174
  }
1618
1175
  catch (_a) {
@@ -1626,29 +1183,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1626
1183
  type: Injectable
1627
1184
  }], ctorParameters: function () { return [{ type: i1$2.MessageService }]; } });
1628
1185
 
1629
- class ShoppingCartSettingsApiService {
1630
- constructor(configurationSettingsApiService) {
1631
- this.configurationSettingsApiService = configurationSettingsApiService;
1632
- this.shoppingCartSettingsKey = 'shopping-cart';
1633
- }
1634
- getSetting(id) {
1635
- return this.fetchSettings().pipe(map((settings) => parseJsonSafely(settings === null || settings === void 0 ? void 0 : settings.value, [])), map(settings => settings.find(setting => setting.id == id)));
1636
- }
1637
- fetchSettings() {
1638
- return this.configurationSettingsApiService.fetchSetting(this.shoppingCartSettingsKey, { skipErrorHandler: true });
1639
- }
1640
- getSettingsMap() {
1641
- return this.fetchSettings().pipe(map((settings) => parseJsonSafely(settings === null || settings === void 0 ? void 0 : settings.value, [])), map((settings) => settings.reduce((acc, setting) => {
1642
- return Object.assign(Object.assign({}, acc), { [setting.id]: setting.properties });
1643
- }, {})));
1644
- }
1645
- }
1646
- ShoppingCartSettingsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartSettingsApiService, deps: [{ token: ConfigurationSettingsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
1647
- ShoppingCartSettingsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartSettingsApiService });
1648
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ShoppingCartSettingsApiService, decorators: [{
1649
- type: Injectable
1650
- }], ctorParameters: function () { return [{ type: ConfigurationSettingsApiService }]; } });
1651
-
1652
1186
  class StatefulConfigurationApiService {
1653
1187
  constructor(httpService) {
1654
1188
  this.httpService = httpService;
@@ -1697,91 +1231,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1697
1231
  type: Injectable
1698
1232
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
1699
1233
 
1700
- class VeloceObjectsApiService {
1701
- constructor(baseHttpService) {
1702
- this.baseHttpService = baseHttpService;
1703
- this.serviceUrl = '/veloceobjects';
1704
- this.updateCategory$ = (category) => {
1705
- return this.baseHttpService.api({
1706
- method: 'put',
1707
- url: `${this.serviceUrl}/categories/${category.id}`,
1708
- body: category,
1709
- });
1710
- };
1711
- this.deleteCategory$ = (id) => {
1712
- return this.baseHttpService.api({
1713
- method: 'delete',
1714
- url: `${this.serviceUrl}/categories/${id}`,
1715
- });
1716
- };
1717
- this.searchObjects$ = (searchParams, expression) => {
1718
- const params = new HttpParams({ fromObject: Object.assign({}, searchParams) });
1719
- return this.baseHttpService.api({
1720
- method: 'post',
1721
- url: `${this.serviceUrl}/search`,
1722
- params,
1723
- body: expression || {},
1724
- });
1725
- };
1726
- this.deleteObject$ = (id) => {
1727
- return this.baseHttpService.api({
1728
- method: 'delete',
1729
- url: `${this.serviceUrl}/${id}`,
1730
- });
1731
- };
1732
- this.duplicateObject$ = (body) => {
1733
- return this.baseHttpService
1734
- .api({
1735
- method: 'post',
1736
- url: `${this.serviceUrl}/${body.id}/clone`,
1737
- body,
1738
- })
1739
- .pipe(map(response => response.clonedRecordId));
1740
- };
1741
- this.restoreObject$ = (id) => {
1742
- return this.baseHttpService.api({
1743
- method: 'patch',
1744
- url: `${this.serviceUrl}/${id}/restore`,
1745
- });
1746
- };
1747
- }
1748
- fetchCategories$() {
1749
- return this.baseHttpService.api({ url: `${this.serviceUrl}/categories` });
1750
- }
1751
- createCategory$(category) {
1752
- return this.baseHttpService.api({
1753
- method: 'post',
1754
- url: `${this.serviceUrl}/categories`,
1755
- body: category,
1756
- });
1757
- }
1758
- fetchObjects$() {
1759
- return this.baseHttpService.api({ url: `${this.serviceUrl}` });
1760
- }
1761
- fetchObject$(id) {
1762
- return this.baseHttpService.api({ url: `${this.serviceUrl}/${id}` });
1763
- }
1764
- createObject$(object) {
1765
- return this.baseHttpService.api({
1766
- method: 'post',
1767
- url: `${this.serviceUrl}`,
1768
- body: object,
1769
- });
1770
- }
1771
- updateObject$(object) {
1772
- return this.baseHttpService.api({
1773
- method: 'put',
1774
- url: `${this.serviceUrl}/${object.id}`,
1775
- body: object,
1776
- });
1777
- }
1778
- }
1779
- VeloceObjectsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VeloceObjectsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
1780
- VeloceObjectsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VeloceObjectsApiService });
1781
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VeloceObjectsApiService, decorators: [{
1782
- type: Injectable
1783
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
1784
-
1785
1234
  class ApiModule {
1786
1235
  }
1787
1236
  ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1789,22 +1238,14 @@ ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.
1789
1238
  ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, providers: [
1790
1239
  BaseHttpService,
1791
1240
  XrayService,
1792
- ConfigurationSettingsApiService,
1793
1241
  DocumentAttachmentApiService,
1794
- SalesforceApiService,
1795
- FlowsApiService,
1796
1242
  GuidedSellingsAdminApiService,
1797
- ShoppingCartSettingsApiService,
1798
- ProductApiService,
1799
1243
  CatalogAdminApiService,
1800
1244
  GuidedSellingApiService,
1801
1245
  CatalogApiService,
1802
1246
  AccountApiService,
1803
- PicklistsApiService,
1804
- EndpointsApiService,
1805
1247
  OrgInfoApiService,
1806
1248
  OffersApiService,
1807
- VeloceObjectsApiService,
1808
1249
  StatefulConfigurationApiService,
1809
1250
  RebateProgramApiService,
1810
1251
  RebateTypeApiService,
@@ -1814,7 +1255,6 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
1814
1255
  PortalsApiService,
1815
1256
  FlowStateApiService,
1816
1257
  SandboxManagerApiService,
1817
- PCMApiService,
1818
1258
  ], imports: [HttpClientModule, ApiV2Module] });
1819
1259
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, decorators: [{
1820
1260
  type: NgModule,
@@ -1823,22 +1263,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1823
1263
  providers: [
1824
1264
  BaseHttpService,
1825
1265
  XrayService,
1826
- ConfigurationSettingsApiService,
1827
1266
  DocumentAttachmentApiService,
1828
- SalesforceApiService,
1829
- FlowsApiService,
1830
1267
  GuidedSellingsAdminApiService,
1831
- ShoppingCartSettingsApiService,
1832
- ProductApiService,
1833
1268
  CatalogAdminApiService,
1834
1269
  GuidedSellingApiService,
1835
1270
  CatalogApiService,
1836
1271
  AccountApiService,
1837
- PicklistsApiService,
1838
- EndpointsApiService,
1839
1272
  OrgInfoApiService,
1840
1273
  OffersApiService,
1841
- VeloceObjectsApiService,
1842
1274
  StatefulConfigurationApiService,
1843
1275
  RebateProgramApiService,
1844
1276
  RebateTypeApiService,
@@ -1848,7 +1280,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1848
1280
  PortalsApiService,
1849
1281
  FlowStateApiService,
1850
1282
  SandboxManagerApiService,
1851
- PCMApiService,
1852
1283
  ],
1853
1284
  }]
1854
1285
  }] });
@@ -1857,5 +1288,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1857
1288
  * Generated bundle index. Do not edit.
1858
1289
  */
1859
1290
 
1860
- export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationSettingsApiService, ContractedPriceApiService, DocumentAttachmentApiService, EndpointsApiService, FlowStateApiService, FlowsApiService, GuidedSellingApiService, GuidedSellingsAdminApiService, OffersApiService, OrgInfoApiService, PCMApiService, PicklistsApiService, PortalsApiService, ProductApiService, PromotionsApiService, RebateProgramApiService, RebateTypeApiService, SalesforceApiService, SandboxManagerApiService, ShoppingCartSettingsApiService, StatefulConfigurationApiService, VeloceAuthService, VeloceObjectsApiService, handleCanvasResponse };
1291
+ export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ContractedPriceApiService, DocumentAttachmentApiService, FlowStateApiService, GuidedSellingApiService, GuidedSellingsAdminApiService, OffersApiService, OrgInfoApiService, PortalsApiService, PromotionsApiService, RebateProgramApiService, RebateTypeApiService, SandboxManagerApiService, StatefulConfigurationApiService, VeloceAuthService, handleCanvasResponse };
1861
1292
  //# sourceMappingURL=veloceapps-api.mjs.map