@veloceapps/api 10.0.0-9 → 11.0.0-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,14 +3,11 @@ import { HttpParams, HttpHeaders, HttpErrorResponse, HttpClientModule } from '@a
3
3
  import * as i0 from '@angular/core';
4
4
  import { Injectable, NgModule } from '@angular/core';
5
5
  import * as i1 from '@veloceapps/core';
6
- import { uiDefinitionFromDTO, DomainComputation, ConfigurationContextMode, isLegacyDocumentTemplate, DocxTemplater, QuoteDraft, StringUtils, Expression, toLatestFlow, isDefined, Operator, isApexError, isCanvasError, ModelTranslatorUtils, ProductModelsContainer, ModelUtils, EntityUtil, RuleGroupTypes, parseJsonSafely, uiDefinitionToDTO, BaseHttpService, XrayService } from '@veloceapps/core';
7
- import { noop, throwError, of, zip, forkJoin, map as map$1, from, catchError as catchError$1, switchMap as switchMap$1 } from 'rxjs';
8
- import { map, catchError, tap, switchMap, defaultIfEmpty } from 'rxjs/operators';
6
+ import { uiDefinitionFromDTO, DomainComputation, ConfigurationContextMode, Expression, Operator, isApexError, isCanvasError, ModelTranslatorUtils, ProductModelsContainer, ModelUtils, EntityUtil, RuleGroupTypes, parseJsonSafely, uiDefinitionToDTO, BaseHttpService, XrayService } from '@veloceapps/core';
7
+ import { noop, throwError, of, map as map$1, from, catchError as catchError$1, forkJoin, switchMap } from 'rxjs';
8
+ import { map, catchError, tap } from 'rxjs/operators';
9
9
  import * as i1$2 from 'primeng/api';
10
- import { CurrencyPipe } from '@angular/common';
11
- import * as _ from 'lodash';
12
10
  import { isArray, omit } from 'lodash';
13
- import moment from 'moment';
14
11
  import { __rest } from 'tslib';
15
12
 
16
13
  class AccountApiService {
@@ -71,7 +68,7 @@ class VeloceAuthService {
71
68
  'Content-Type': 'application/json',
72
69
  Authorization: `Bearer ${accessToken}`,
73
70
  });
74
- return this.http.get(`${instanceUrl}/services/apexrest/VELOCPQ/veloce-auth`, { headers });
71
+ return this.http.get(`${instanceUrl}/services/apexrest/VELOCE_PRISM/veloce-auth`, { headers });
75
72
  }
76
73
  }
77
74
  VeloceAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VeloceAuthService, deps: [{ token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -699,368 +696,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
699
696
  type: Injectable
700
697
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }, { type: i1.FileDownloadService }]; } });
701
698
 
702
- class SalesforceApiService {
703
- constructor(httpService) {
704
- this.httpService = httpService;
705
- this.SERVICE_URL = '/proxy';
706
- }
707
- query(searchRequest, objectName, options) {
708
- 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));
709
- }
710
- queryObjects(search, options) {
711
- let params = new HttpParams();
712
- if (search) {
713
- params = params.append('search', search);
714
- }
715
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/query`, params }, options));
716
- }
717
- search(req, options) {
718
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/rest/search`, params: { q: req.searchString } }, options));
719
- }
720
- /**
721
- * @deprecated
722
- */
723
- describe(objectName, fieldName, options) {
724
- const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields` + (fieldName ? `/${fieldName}` : '');
725
- return this.httpService.api(Object.assign({ url: methodUrl }, options));
726
- }
727
- describeObject(objectName, options) {
728
- const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
729
- return this.httpService.api(Object.assign({ url: methodUrl }, options));
730
- }
731
- describeField(objectName, fieldName, options) {
732
- const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields/${fieldName}`;
733
- return this.httpService.api(Object.assign({ url: methodUrl }, options));
734
- }
735
- describe2(objectName, fields, options) {
736
- const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
737
- return this.httpService.api(Object.assign({ method: 'post', url: methodUrl, body: fields }, options));
738
- }
739
- apexGetRequest(path, params, options) {
740
- // this line is needed because HttpParams instance from Integration behaves wrong in studio instance of Angular
741
- const httpParams = new HttpParams({ fromString: params.toString() });
742
- return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/apex${path}`, params: httpParams }, options));
743
- }
744
- apexPostRequest(path, body, options) {
745
- return this.httpService.api(Object.assign({ method: 'post', body, url: `${this.SERVICE_URL}/apex${path}` }, options));
746
- }
747
- getGlobalPicklists() {
748
- return this.httpService.api({
749
- method: 'get',
750
- url: `${this.SERVICE_URL}/globalvalueset`,
751
- });
752
- }
753
- getGlobalPicklistValues(id) {
754
- return this.httpService.api({
755
- method: 'get',
756
- url: `${this.SERVICE_URL}/globalvalueset/${id}/values`,
757
- });
758
- }
759
- }
760
- SalesforceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
761
- SalesforceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService });
762
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService, decorators: [{
763
- type: Injectable
764
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
765
-
766
- class DocumentTemplatesApiService {
767
- constructor(service, salesforceApiService, fileDownloadService, documentAttachmentService, http) {
768
- this.service = service;
769
- this.salesforceApiService = salesforceApiService;
770
- this.fileDownloadService = fileDownloadService;
771
- this.documentAttachmentService = documentAttachmentService;
772
- this.http = http;
773
- this.SERVICE_URL = '/templates';
774
- this.DOCGEN_TAG = 'docgen';
775
- this.DOC_GEN_URL_FALLBACK = `${window.VELO_API}/docgen`;
776
- this.mapSfQueryResult = (limit) => map((records) => {
777
- if (!records.length) {
778
- return { _result: 'No Records Found' };
779
- }
780
- if (limit === 1) {
781
- return records[0];
782
- }
783
- return records;
784
- });
785
- this.mapBooleanIfAplicable = (value) => {
786
- if (value === 'true') {
787
- return true;
788
- }
789
- if (value === 'false') {
790
- return false;
791
- }
792
- return value;
793
- };
794
- if (window.VELO_DOCGEN_API) {
795
- this.DOC_GEN_URL = window.VELO_DOCGEN_API;
796
- }
797
- else {
798
- console.log(`window.VELO_DOCGEN_API not set, will use fallback "${this.DOC_GEN_URL_FALLBACK}"`);
799
- this.DOC_GEN_URL = this.DOC_GEN_URL_FALLBACK;
800
- }
801
- }
802
- getTemplates(tag) {
803
- return this.service.api({
804
- url: `${this.SERVICE_URL}`,
805
- method: 'get',
806
- params: Object.assign({}, (tag && { tag })),
807
- });
808
- }
809
- getTemplate(id) {
810
- return this.service.api({
811
- url: `${this.SERVICE_URL}/${id}`,
812
- method: 'get',
813
- });
814
- }
815
- upsertTemplate(template, file, reportProgress) {
816
- const formData = new FormData();
817
- if (file) {
818
- formData.append('file', file, file.name);
819
- }
820
- formData.append('template', new Blob([JSON.stringify(template)], {
821
- type: 'application/json',
822
- }));
823
- let url = `${this.SERVICE_URL}`;
824
- if (template.id) {
825
- url += `/${template.id}`;
826
- }
827
- return this.service.upload({
828
- url,
829
- body: formData,
830
- method: template.id ? 'put' : 'post',
831
- reportProgress,
832
- });
833
- }
834
- removeTemplate(id) {
835
- return this.service.api({
836
- url: `${this.SERVICE_URL}/${id}`,
837
- method: 'delete',
838
- });
839
- }
840
- restoreTemplate(id) {
841
- return this.service.api({
842
- url: `${this.SERVICE_URL}/${id}/restore`,
843
- method: 'patch',
844
- });
845
- }
846
- cloneTemplate(id, propertiesToOverride = {}) {
847
- return this.service.api({
848
- url: `${this.SERVICE_URL}/clone/${id}`,
849
- method: 'post',
850
- body: {
851
- id,
852
- propertiesToOverride,
853
- },
854
- });
855
- }
856
- getTemplateFile(id) {
857
- return this.service.api({
858
- method: 'get',
859
- url: `${this.SERVICE_URL}/${id}/file`,
860
- responseType: 'arraybuffer',
861
- });
862
- }
863
- downloadTemplateFile(id) {
864
- return this.service
865
- .api({
866
- url: `${this.SERVICE_URL}/${id}/file`,
867
- responseType: 'blob',
868
- observe: 'response',
869
- })
870
- .pipe(tap(response => {
871
- this.fileDownloadService.processDownload(response);
872
- }), map(response => response.body || response));
873
- }
874
- mergeDocuments(document, attachments) {
875
- const body = new FormData();
876
- attachments.forEach(attachment => {
877
- body.append('attachments', new Blob([attachment]));
878
- });
879
- body.append('orderform', document);
880
- return this.http.post(`${this.DOC_GEN_URL}/documents/merge`, body, {
881
- responseType: 'arraybuffer',
882
- });
883
- }
884
- generateDocumentV2(body, quoteId, isAsync) {
885
- var _a;
886
- body['docgenURL'] = (_a = window.VELO_DOCGEN_API) !== null && _a !== void 0 ? _a : '';
887
- const params = {};
888
- if (isAsync) {
889
- params['async'] = 'true';
890
- }
891
- return this.service
892
- .api({
893
- method: 'post',
894
- url: `/docgen/${quoteId}/generate`,
895
- body,
896
- params,
897
- responseType: 'arraybuffer',
898
- })
899
- .pipe(map(pdf => {
900
- var _a;
901
- const blob = new Blob([pdf]);
902
- const documentName = (_a = body.parameters['documentName']) !== null && _a !== void 0 ? _a : 'Veloce Proposal';
903
- if (!isAsync) {
904
- this.fileDownloadService.processDownload(blob, `${documentName}.${body.documentFormat.toLowerCase()}`);
905
- }
906
- return blob;
907
- }));
908
- }
909
- getAttachments(searchRequest) {
910
- return this.documentAttachmentService.getAttachments(searchRequest);
911
- }
912
- getAttachmentFile(id) {
913
- return this.documentAttachmentService.getAttachmentFile(id);
914
- }
915
- createAttachment(attachment, file, reportProgress) {
916
- return this.documentAttachmentService.createAttachment(attachment, file, reportProgress);
917
- }
918
- removeAttachment(id) {
919
- return this.documentAttachmentService.removeAttachment(id);
920
- }
921
- generateDocumentData(template, object, params = {}) {
922
- var _a;
923
- if (isLegacyDocumentTemplate(template)) {
924
- return this.generateDocumentDataLegacy(template, object, params);
925
- }
926
- const templateProperties = (_a = template.properties) === null || _a === void 0 ? void 0 : _a.reduce((acc, { name, value }) => (Object.assign(Object.assign({}, acc), { [name]: this.mapBooleanIfAplicable(value) })), {});
927
- /*
928
- Resolve quote and template properties for now
929
- When procedures are ready, whey will replace template scripts.
930
-
931
- TODO: run procedure to resolve document data
932
- */
933
- return of(Object.assign(Object.assign({}, (typeof object === 'object' ? object : { object })), templateProperties));
934
- }
935
- generateDocument(template, object, params = {}) {
936
- const documentData$ = this.generateDocumentData(template, object, Object.assign(Object.assign({}, params), { shouldPreventDownload: true }));
937
- return zip(this.getTemplateFile(template.id), documentData$, this.resolveAttachments$(template)).pipe(switchMap(([templateFile, data, attachments]) => {
938
- var _a, _b, _c, _d, _e, _f, _g, _h;
939
- const document = DocxTemplater.generate(templateFile, data);
940
- const properties = (_c = (_b = (_a = object === null || object === void 0 ? void 0 : object.context) === null || _a === void 0 ? void 0 : _a.properties) !== null && _b !== void 0 ? _b : object === null || object === void 0 ? void 0 : object.properties) !== null && _c !== void 0 ? _c : {};
941
- const documentName = ((_e = (_d = template.properties) === null || _d === void 0 ? void 0 : _d.find(({ name }) => name === 'documentName')) === null || _e === void 0 ? void 0 : _e.value) ||
942
- properties['Name'] ||
943
- template.name;
944
- const documentFormat = (_f = params.documentFormat) !== null && _f !== void 0 ? _f : (_h = (_g = template.properties) === null || _g === void 0 ? void 0 : _g.find(p => p.name === 'documentFormat')) === null || _h === void 0 ? void 0 : _h.value;
945
- if (documentFormat === 'DOCX') {
946
- this.fileDownloadService.processDownload(document, documentName);
947
- return of(document);
948
- }
949
- return this.mergeDocuments(document, attachments).pipe(switchMap(pdf => {
950
- if (params.attachToQuote && QuoteDraft.isQuote(object)) {
951
- const file = new File([pdf], `${documentName}.pdf`);
952
- return this.documentAttachmentService
953
- .createAttachment({
954
- linkedEntityId: object.quoteId,
955
- fileName: documentName,
956
- fileExtension: 'pdf',
957
- tags: this.DOCGEN_TAG,
958
- }, file)
959
- .pipe(map(() => pdf));
960
- }
961
- return of(pdf);
962
- }), map(pdf => {
963
- const blob = new Blob([pdf]);
964
- if (!params.shouldPreventDownload) {
965
- this.fileDownloadService.processDownload(blob, `${documentName}.pdf`);
966
- }
967
- return blob;
968
- }));
969
- }));
970
- }
971
- generateDocumentDataLegacy(template, object, params = {}) {
972
- var _a, _b, _c, _d;
973
- const shouldPreventDownload = params.shouldPreventDownload;
974
- const allQueries = [...((_a = template === null || template === void 0 ? void 0 : template.queries) !== null && _a !== void 0 ? _a : [])];
975
- const properties = (_d = (_c = (_b = object === null || object === void 0 ? void 0 : object.context) === null || _b === void 0 ? void 0 : _b.properties) !== null && _c !== void 0 ? _c : object === null || object === void 0 ? void 0 : object.properties) !== null && _d !== void 0 ? _d : {};
976
- const accountId = properties === null || properties === void 0 ? void 0 : properties['AccountId'];
977
- const userId = properties === null || properties === void 0 ? void 0 : properties['UserId'];
978
- if (accountId) {
979
- allQueries.push({
980
- queryName: 'QuoteAccountQuery',
981
- objectName: 'Account',
982
- resultObjectName: 'account',
983
- statement: `Id ='${accountId}'`,
984
- fields: [],
985
- });
986
- }
987
- if (userId) {
988
- allQueries.push({
989
- queryName: 'QuoteUserQuery',
990
- objectName: 'User',
991
- resultObjectName: 'agent',
992
- statement: `Id ='${userId}'`,
993
- fields: [],
994
- });
995
- }
996
- const queries = allQueries.map(query => this.queryObject(query, { properties })) || [];
997
- return forkJoin([...queries]).pipe(defaultIfEmpty([]), map(results => {
998
- var _a, _b, _c, _d;
999
- const queriesResult = _.chain(results)
1000
- .reduce((acc, r) => {
1001
- if (r) {
1002
- return Object.assign(Object.assign({}, acc), r);
1003
- }
1004
- return acc;
1005
- }, {})
1006
- .value();
1007
- const templateProperties = ((template === null || template === void 0 ? void 0 : template.properties) || []).reduce((trunk, { name, value }) => {
1008
- return Object.assign(Object.assign({}, trunk), { [name]: this.mapBooleanIfAplicable(value) });
1009
- }, {});
1010
- const data = Object.assign(Object.assign(Object.assign({}, (typeof object === 'object' ? object : { object })), queriesResult), templateProperties);
1011
- if (template.script && template.script.trim().length) {
1012
- const currencyFormat = ((_b = (_a = template.properties) === null || _a === void 0 ? void 0 : _a.find(({ name }) => name === 'currencyFormat')) === null || _b === void 0 ? void 0 : _b.value) || '1.2-2';
1013
- const dateFormat = ((_d = (_c = template.properties) === null || _c === void 0 ? void 0 : _c.find(({ name }) => name === 'dateFormat')) === null || _d === void 0 ? void 0 : _d.value) || 'D/MMM/YYYY';
1014
- const formatDate = (value) => {
1015
- return value ? moment(value).format(dateFormat) : value;
1016
- };
1017
- const transform = new Function(`return ${template.script}`)();
1018
- const transformedData = transform(Object.assign(Object.assign({}, data), { utils: {
1019
- lodash: _,
1020
- currency: (value) => new CurrencyPipe('en-US').transform(value, 'USD', 'symbol', currencyFormat),
1021
- date: formatDate,
1022
- }, ToDay: formatDate(Date.now()) }));
1023
- if (!shouldPreventDownload) {
1024
- const blob = new Blob([JSON.stringify(transformedData)]);
1025
- this.fileDownloadService.processDownload(blob, 'data.json');
1026
- }
1027
- return transformedData;
1028
- }
1029
- return data;
1030
- }));
1031
- }
1032
- resolveAttachments$(template) {
1033
- var _a, _b;
1034
- const attachmentIds = (_b = (_a = template.attachments) === null || _a === void 0 ? void 0 : _a.map(({ id }) => id).filter(Boolean)) !== null && _b !== void 0 ? _b : [];
1035
- if (!attachmentIds.length) {
1036
- return of([]);
1037
- }
1038
- return forkJoin(attachmentIds.map(id => this.documentAttachmentService.getAttachmentFile(id, true)));
1039
- }
1040
- queryObject({ objectName, resultObjectName, fields, statement }, { properties }) {
1041
- var _a, _b;
1042
- const patternLimit = /(\s*limit\s\d*)/i;
1043
- let limit = 1;
1044
- if (statement && patternLimit.test(statement)) {
1045
- const limitStr = (_b = (_a = statement === null || statement === void 0 ? void 0 : statement.match(patternLimit)) === null || _a === void 0 ? void 0 : _a[1]) === null || _b === void 0 ? void 0 : _b.trim().substring(5).trim();
1046
- if (limitStr) {
1047
- limit = Number.parseInt(limitStr, 10);
1048
- }
1049
- statement = statement.replace(patternLimit, '');
1050
- }
1051
- const resolvedStatement = statement
1052
- ? StringUtils.fillPlaceholders(statement, properties, /:\s*(\w[\w\d_.]+)/i)
1053
- : undefined;
1054
- const searchRequest = Object.assign({ skip: 0, count: limit, rawCondition: resolvedStatement }, ((fields === null || fields === void 0 ? void 0 : fields.length) && !!fields[0] && { fields }));
1055
- return this.salesforceApiService.query(searchRequest, objectName).pipe(this.mapSfQueryResult(limit), map(value => ({ [resultObjectName]: value })));
1056
- }
1057
- }
1058
- DocumentTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentTemplatesApiService, deps: [{ token: i1.BaseHttpService }, { token: SalesforceApiService }, { token: i1.FileDownloadService }, { token: DocumentAttachmentApiService }, { token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1059
- DocumentTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentTemplatesApiService });
1060
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DocumentTemplatesApiService, decorators: [{
1061
- type: Injectable
1062
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }, { type: SalesforceApiService }, { type: i1.FileDownloadService }, { type: DocumentAttachmentApiService }, { type: i1$1.HttpClient }]; } });
1063
-
1064
699
  class EndpointsApiService {
1065
700
  constructor(baseHttpService) {
1066
701
  this.baseHttpService = baseHttpService;
@@ -1289,7 +924,9 @@ class FlowsApiService {
1289
924
  }));
1290
925
  }
1291
926
  fetchFlows() {
1292
- return this.configurationSettingsApiService.fetchSetting(this.flowsKey).pipe(map((setting) => ((setting === null || setting === void 0 ? void 0 : setting.value) ? JSON.parse(setting.value) : [])), map(anyFlows => anyFlows.map(toLatestFlow).filter(isDefined)));
927
+ return this.configurationSettingsApiService
928
+ .fetchSetting(this.flowsKey)
929
+ .pipe(map((setting) => ((setting === null || setting === void 0 ? void 0 : setting.value) ? JSON.parse(setting.value) : [])));
1293
930
  }
1294
931
  }
1295
932
  FlowsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FlowsApiService, deps: [{ token: ConfigurationSettingsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -1781,6 +1418,13 @@ class ProceduresApiService {
1781
1418
  body,
1782
1419
  });
1783
1420
  }
1421
+ rlmExecute$(body) {
1422
+ return this.baseHttpService.api({
1423
+ url: `${this.SERVICE_URL}/rlm/execute`,
1424
+ method: 'post',
1425
+ body,
1426
+ });
1427
+ }
1784
1428
  /**
1785
1429
  * Run active procedure against QuoteDraft
1786
1430
  * @param body
@@ -2441,6 +2085,87 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2441
2085
  type: Injectable
2442
2086
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
2443
2087
 
2088
+ class RlmApiService {
2089
+ constructor(baseHttpService) {
2090
+ this.baseHttpService = baseHttpService;
2091
+ this.serviceUrl = '/rlm';
2092
+ }
2093
+ // TODO: request RLM data only when RLM is installed. Otherwise skip rlm requests. Discuss solution|approach with BE
2094
+ fetchContextDefinitions$() {
2095
+ return this.baseHttpService
2096
+ .api({ url: `${this.serviceUrl}/context`, skipErrorHandler: true })
2097
+ .pipe(catchError(() => {
2098
+ return of([]);
2099
+ }));
2100
+ }
2101
+ fetchContextMappings$(id) {
2102
+ return this.baseHttpService.api({ url: `${this.serviceUrl}/context/${id}/mappings` });
2103
+ }
2104
+ fetchContextDefinitionStructure$(id) {
2105
+ return this.baseHttpService
2106
+ .api({
2107
+ url: `${this.serviceUrl}/context/${id}/structure/details`,
2108
+ skipErrorHandler: true,
2109
+ })
2110
+ .pipe(catchError(() => {
2111
+ return of([]);
2112
+ }), map(objects => {
2113
+ return objects.map(object => {
2114
+ var _a, _b;
2115
+ const tag = (_b = (_a = object.tags) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.title;
2116
+ const objectAttributes = object.attributes || [];
2117
+ return {
2118
+ id: object.id,
2119
+ title: tag || object.title,
2120
+ attributes: objectAttributes.map(attribute => {
2121
+ var _a, _b;
2122
+ const tag = (_b = (_a = attribute.tags) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.title;
2123
+ return {
2124
+ title: tag || attribute.title,
2125
+ fieldType: attribute.fieldType,
2126
+ dataType: attribute.dataType,
2127
+ };
2128
+ }),
2129
+ };
2130
+ });
2131
+ }));
2132
+ }
2133
+ fetchRlmProcedures(contextDefinitionId) {
2134
+ const params = {};
2135
+ if (contextDefinitionId) {
2136
+ params['contextDefinitionId'] = contextDefinitionId;
2137
+ }
2138
+ return this.baseHttpService.api({
2139
+ url: `${this.serviceUrl}/procedures`,
2140
+ params,
2141
+ });
2142
+ }
2143
+ }
2144
+ RlmApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
2145
+ RlmApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmApiService });
2146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmApiService, decorators: [{
2147
+ type: Injectable
2148
+ }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
2149
+
2150
+ class RlmQuoteApiService {
2151
+ constructor(httpService) {
2152
+ this.httpService = httpService;
2153
+ this.SERVICE_URL = '/quotes/rlm';
2154
+ }
2155
+ getQuote(mappingType, objectId, contextMappingId, options) {
2156
+ const params = { mappingType };
2157
+ if (contextMappingId) {
2158
+ params['contextMappingId'] = contextMappingId;
2159
+ }
2160
+ return this.httpService.api(Object.assign({ method: 'get', url: `${this.SERVICE_URL}/${objectId}`, params }, options));
2161
+ }
2162
+ }
2163
+ RlmQuoteApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmQuoteApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
2164
+ RlmQuoteApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmQuoteApiService });
2165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmQuoteApiService, decorators: [{
2166
+ type: Injectable
2167
+ }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
2168
+
2444
2169
  class RuleGroupsApiService {
2445
2170
  constructor(baseHttpService) {
2446
2171
  this.baseHttpService = baseHttpService;
@@ -2577,6 +2302,9 @@ class RulesApiService {
2577
2302
  if (ruleGroupType === RuleGroupTypes.catalog) {
2578
2303
  return '/rules/catalog/execute';
2579
2304
  }
2305
+ if (ruleGroupType === RuleGroupTypes.rlmContextBased) {
2306
+ return '/rules/rlm/execute';
2307
+ }
2580
2308
  return '/rules/execute';
2581
2309
  }
2582
2310
  }
@@ -2586,6 +2314,159 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2586
2314
  type: Injectable
2587
2315
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
2588
2316
 
2317
+ class SalesforceApiService {
2318
+ constructor(httpService) {
2319
+ this.httpService = httpService;
2320
+ this.SERVICE_URL = '/proxy';
2321
+ }
2322
+ query(searchRequest, objectName, options) {
2323
+ 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));
2324
+ }
2325
+ queryObjects(search, options) {
2326
+ let params = new HttpParams();
2327
+ if (search) {
2328
+ params = params.append('search', search);
2329
+ }
2330
+ return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/query`, params }, options));
2331
+ }
2332
+ search(req, options) {
2333
+ return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/rest/search`, params: { q: req.searchString } }, options));
2334
+ }
2335
+ /**
2336
+ * @deprecated
2337
+ */
2338
+ describe(objectName, fieldName, options) {
2339
+ const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields` + (fieldName ? `/${fieldName}` : '');
2340
+ return this.httpService.api(Object.assign({ url: methodUrl }, options));
2341
+ }
2342
+ describeObject(objectName, options) {
2343
+ const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
2344
+ return this.httpService.api(Object.assign({ url: methodUrl }, options));
2345
+ }
2346
+ describeField(objectName, fieldName, options) {
2347
+ const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields/${fieldName}`;
2348
+ return this.httpService.api(Object.assign({ url: methodUrl }, options));
2349
+ }
2350
+ describe2(objectName, fields, options) {
2351
+ const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
2352
+ return this.httpService.api(Object.assign({ method: 'post', url: methodUrl, body: fields }, options));
2353
+ }
2354
+ apexGetRequest(path, params, options) {
2355
+ // this line is needed because HttpParams instance from Integration behaves wrong in studio instance of Angular
2356
+ const httpParams = new HttpParams({ fromString: params.toString() });
2357
+ return this.httpService.api(Object.assign({ url: `${this.SERVICE_URL}/apex${path}`, params: httpParams }, options));
2358
+ }
2359
+ apexPostRequest(path, body, options) {
2360
+ return this.httpService.api(Object.assign({ method: 'post', body, url: `${this.SERVICE_URL}/apex${path}` }, options));
2361
+ }
2362
+ getGlobalPicklists() {
2363
+ return this.httpService.api({
2364
+ method: 'get',
2365
+ url: `${this.SERVICE_URL}/globalvalueset`,
2366
+ });
2367
+ }
2368
+ getGlobalPicklistValues(id) {
2369
+ return this.httpService.api({
2370
+ method: 'get',
2371
+ url: `${this.SERVICE_URL}/globalvalueset/${id}/values`,
2372
+ });
2373
+ }
2374
+ }
2375
+ SalesforceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
2376
+ SalesforceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService });
2377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesforceApiService, decorators: [{
2378
+ type: Injectable
2379
+ }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
2380
+
2381
+ class SandboxManagerApiService {
2382
+ constructor(messageService) {
2383
+ this.messageService = messageService;
2384
+ /**
2385
+ * Shows an error message using the message service.
2386
+ *
2387
+ * @param {string} message - the error message to be published.
2388
+ */
2389
+ this.publishErrorMessage = (message) => {
2390
+ this.messageService.add({ severity: 'error', summary: message, sticky: true });
2391
+ };
2392
+ }
2393
+ getSalesforceOrganizations$() {
2394
+ try {
2395
+ return window.doSandboxCall
2396
+ ? from(window.doSandboxCall('orgs', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, [], this.publishErrorMessage)), catchError$1(() => of([])))
2397
+ : of([]);
2398
+ }
2399
+ catch (_a) {
2400
+ return of([]);
2401
+ }
2402
+ }
2403
+ getAvailableSalesforceOrganizationSizes$() {
2404
+ try {
2405
+ return window.doSandboxCall
2406
+ ? from(window.doSandboxCall('available-sizes', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, {}, this.publishErrorMessage)), catchError$1(() => of({})))
2407
+ : of({});
2408
+ }
2409
+ catch (_a) {
2410
+ return of({});
2411
+ }
2412
+ }
2413
+ createSalesforceOrganization$(payload) {
2414
+ try {
2415
+ return window.doSandboxCall
2416
+ ? from(window.doSandboxCall('orgs', JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
2417
+ : of(undefined);
2418
+ }
2419
+ catch (err) {
2420
+ return of(undefined);
2421
+ }
2422
+ }
2423
+ updateSalesforceOrganization$(payload) {
2424
+ try {
2425
+ return window.doSandboxCall
2426
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}`, JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
2427
+ : of(undefined);
2428
+ }
2429
+ catch (_a) {
2430
+ return of(undefined);
2431
+ }
2432
+ }
2433
+ deleteSalesforceOrganization$(payload) {
2434
+ try {
2435
+ return window.doSandboxCall
2436
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}`, '', 'DELETE')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
2437
+ : of(undefined);
2438
+ }
2439
+ catch (_a) {
2440
+ return of(undefined);
2441
+ }
2442
+ }
2443
+ activateSalesforceOrganization$(payload) {
2444
+ try {
2445
+ return window.doSandboxCall
2446
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}/activate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
2447
+ : of(undefined);
2448
+ }
2449
+ catch (_a) {
2450
+ return of(undefined);
2451
+ }
2452
+ }
2453
+ deactivateSalesforceOrganization$(payload) {
2454
+ try {
2455
+ return window.doSandboxCall
2456
+ ? from(window.doSandboxCall(`orgs/${payload.orgId}/deactivate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
2457
+ : of(undefined);
2458
+ }
2459
+ catch (_a) {
2460
+ return of(undefined);
2461
+ }
2462
+ }
2463
+ }
2464
+ SandboxManagerApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SandboxManagerApiService, deps: [{ token: i1$2.MessageService }], target: i0.ɵɵFactoryTarget.Injectable });
2465
+ SandboxManagerApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SandboxManagerApiService });
2466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SandboxManagerApiService, decorators: [{
2467
+ type: Injectable
2468
+ }], ctorParameters: function () { return [{ type: i1$2.MessageService }]; } });
2469
+
2589
2470
  class ScriptsApiService {
2590
2471
  constructor(baseHttpService) {
2591
2472
  this.baseHttpService = baseHttpService;
@@ -2953,7 +2834,7 @@ class UITemplatesApiService {
2953
2834
  url: `${this.serviceUrl}/${templateId}/components/${componentId}/stories`,
2954
2835
  params,
2955
2836
  })
2956
- .pipe(switchMap$1(dtos => {
2837
+ .pipe(switchMap(dtos => {
2957
2838
  if (!dtos.length) {
2958
2839
  return of([]);
2959
2840
  }
@@ -2965,7 +2846,7 @@ class UITemplatesApiService {
2965
2846
  .api({
2966
2847
  url: `${this.serviceUrl}/${templateId}/components/${componentId}/stories/${storyId}`,
2967
2848
  })
2968
- .pipe(switchMap$1(dto => this.convertToComponentStory$(templateId, componentId, dto)));
2849
+ .pipe(switchMap(dto => this.convertToComponentStory$(templateId, componentId, dto)));
2969
2850
  };
2970
2851
  this.createComponentStory$ = (templateId, story) => {
2971
2852
  return this.baseHttpService.api({
@@ -3034,7 +2915,7 @@ class UITemplatesApiService {
3034
2915
  ]).pipe(map$1(([html, js, css, json]) => ({ html, js, css, json })));
3035
2916
  };
3036
2917
  this.fetchComponentsAttachments$ = (templateId) => {
3037
- return this.fetchComponents$(templateId).pipe(switchMap$1(components => {
2918
+ return this.fetchComponents$(templateId).pipe(switchMap(components => {
3038
2919
  return forkJoin(components.map(component => this.fetchComponentAttachments$(templateId, component)));
3039
2920
  }));
3040
2921
  };
@@ -3179,120 +3060,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3179
3060
  type: Injectable
3180
3061
  }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
3181
3062
 
3182
- class SandboxManagerApiService {
3183
- constructor(messageService) {
3184
- this.messageService = messageService;
3185
- /**
3186
- * Shows an error message using the message service.
3187
- *
3188
- * @param {string} message - the error message to be published.
3189
- */
3190
- this.publishErrorMessage = (message) => {
3191
- this.messageService.add({ severity: 'error', summary: message, sticky: true });
3192
- };
3193
- }
3194
- getSalesforceOrganizations$() {
3195
- try {
3196
- return window.doSandboxCall
3197
- ? from(window.doSandboxCall('orgs', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, [], this.publishErrorMessage)), catchError$1(() => of([])))
3198
- : of([]);
3199
- }
3200
- catch (_a) {
3201
- return of([]);
3202
- }
3203
- }
3204
- getAvailableSalesforceOrganizationSizes$() {
3205
- try {
3206
- return window.doSandboxCall
3207
- ? from(window.doSandboxCall('available-sizes', '', 'GET')).pipe(map$1(response => handleCanvasResponse(response, {}, this.publishErrorMessage)), catchError$1(() => of({})))
3208
- : of({});
3209
- }
3210
- catch (_a) {
3211
- return of({});
3212
- }
3213
- }
3214
- createSalesforceOrganization$(payload) {
3215
- try {
3216
- return window.doSandboxCall
3217
- ? from(window.doSandboxCall('orgs', JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
3218
- : of(undefined);
3219
- }
3220
- catch (err) {
3221
- return of(undefined);
3222
- }
3223
- }
3224
- updateSalesforceOrganization$(payload) {
3225
- try {
3226
- return window.doSandboxCall
3227
- ? from(window.doSandboxCall(`orgs/${payload.orgId}`, JSON.stringify(payload), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
3228
- : of(undefined);
3229
- }
3230
- catch (_a) {
3231
- return of(undefined);
3232
- }
3233
- }
3234
- deleteSalesforceOrganization$(payload) {
3235
- try {
3236
- return window.doSandboxCall
3237
- ? from(window.doSandboxCall(`orgs/${payload.orgId}`, '', 'DELETE')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
3238
- : of(undefined);
3239
- }
3240
- catch (_a) {
3241
- return of(undefined);
3242
- }
3243
- }
3244
- activateSalesforceOrganization$(payload) {
3245
- try {
3246
- return window.doSandboxCall
3247
- ? from(window.doSandboxCall(`orgs/${payload.orgId}/activate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
3248
- : of(undefined);
3249
- }
3250
- catch (_a) {
3251
- return of(undefined);
3252
- }
3253
- }
3254
- deactivateSalesforceOrganization$(payload) {
3255
- try {
3256
- return window.doSandboxCall
3257
- ? from(window.doSandboxCall(`orgs/${payload.orgId}/deactivate`, JSON.stringify({}), 'POST')).pipe(map$1(response => handleCanvasResponse(response, undefined, this.publishErrorMessage)), catchError$1(() => of(undefined)))
3258
- : of(undefined);
3259
- }
3260
- catch (_a) {
3261
- return of(undefined);
3262
- }
3263
- }
3264
- }
3265
- SandboxManagerApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SandboxManagerApiService, deps: [{ token: i1$2.MessageService }], target: i0.ɵɵFactoryTarget.Injectable });
3266
- SandboxManagerApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SandboxManagerApiService });
3267
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SandboxManagerApiService, decorators: [{
3268
- type: Injectable
3269
- }], ctorParameters: function () { return [{ type: i1$2.MessageService }]; } });
3270
-
3271
- class RlmApiService {
3272
- constructor(baseHttpService) {
3273
- this.baseHttpService = baseHttpService;
3274
- this.serviceUrl = '/rlm';
3275
- }
3276
- fetchContextDefinitions$() {
3277
- return of([
3278
- { label: 'First', value: 'First' },
3279
- { label: 'Second', value: 'Second' },
3280
- ]);
3281
- // return this.baseHttpService.api<any[]>({ url: `${this.serviceUrl}/definitions` });
3282
- }
3283
- fetchContextMappings() {
3284
- return of([
3285
- { label: 'First', value: 'First' },
3286
- { label: 'Second', value: 'Second' },
3287
- ]);
3288
- }
3289
- }
3290
- RlmApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
3291
- RlmApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmApiService });
3292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RlmApiService, decorators: [{
3293
- type: Injectable
3294
- }], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
3295
-
3296
3063
  class ApiModule {
3297
3064
  }
3298
3065
  ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -3308,7 +3075,6 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
3308
3075
  ProductModelApiService,
3309
3076
  ProceduresApiService,
3310
3077
  QuoteApiService,
3311
- DocumentTemplatesApiService,
3312
3078
  RampApiService,
3313
3079
  SalesforceApiService,
3314
3080
  UITemplatesApiService,
@@ -3341,6 +3107,7 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
3341
3107
  FlowStateApiService,
3342
3108
  SandboxManagerApiService,
3343
3109
  RlmApiService,
3110
+ RlmQuoteApiService,
3344
3111
  ], imports: [HttpClientModule] });
3345
3112
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, decorators: [{
3346
3113
  type: NgModule,
@@ -3357,7 +3124,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3357
3124
  ProductModelApiService,
3358
3125
  ProceduresApiService,
3359
3126
  QuoteApiService,
3360
- DocumentTemplatesApiService,
3361
3127
  RampApiService,
3362
3128
  SalesforceApiService,
3363
3129
  UITemplatesApiService,
@@ -3390,6 +3156,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3390
3156
  FlowStateApiService,
3391
3157
  SandboxManagerApiService,
3392
3158
  RlmApiService,
3159
+ RlmQuoteApiService,
3393
3160
  ],
3394
3161
  }]
3395
3162
  }] });
@@ -3398,5 +3165,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3398
3165
  * Generated bundle index. Do not edit.
3399
3166
  */
3400
3167
 
3401
- export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationApiService, ConfigurationProcessorsApiService, ConfigurationSettingsApiService, ContextApiService, ContractedPriceApiService, DeltaApiService, DocumentAttachmentApiService, DocumentTemplatesApiService, EndpointsApiService, FlowStateApiService, FlowsApiService, GuidedSellingApiService, GuidedSellingsAdminApiService, OffersApiService, OrgInfoApiService, PicklistsApiService, PortalsApiService, PriceApiService, ProceduresApiService, ProductApiService, ProductModelApiService, PromotionsApiService, QuoteApiService, RampApiService, RebateProgramApiService, RebateTypeApiService, RlmApiService, RuleGroupsApiService, RulesApiService, SalesforceApiService, SandboxManagerApiService, ScriptsApiService, ShoppingCartSettingsApiService, StatefulConfigurationApiService, UIDefinitionsApiService, UITemplatesApiService, VeloceAuthService, VeloceObjectsApiService };
3168
+ export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationApiService, ConfigurationProcessorsApiService, ConfigurationSettingsApiService, ContextApiService, ContractedPriceApiService, DeltaApiService, DocumentAttachmentApiService, EndpointsApiService, FlowStateApiService, FlowsApiService, GuidedSellingApiService, GuidedSellingsAdminApiService, OffersApiService, OrgInfoApiService, PicklistsApiService, PortalsApiService, PriceApiService, ProceduresApiService, ProductApiService, ProductModelApiService, PromotionsApiService, QuoteApiService, RampApiService, RebateProgramApiService, RebateTypeApiService, RlmApiService, RlmQuoteApiService, RuleGroupsApiService, RulesApiService, SalesforceApiService, SandboxManagerApiService, ScriptsApiService, ShoppingCartSettingsApiService, StatefulConfigurationApiService, UIDefinitionsApiService, UITemplatesApiService, VeloceAuthService, VeloceObjectsApiService, fromUIComponentStoryDTO, handleCanvasResponse };
3402
3169
  //# sourceMappingURL=veloceapps-api.mjs.map