@veloceapps/api 12.0.0-13 → 12.0.0-14

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 (145) hide show
  1. package/{fesm2020 → fesm2022}/veloceapps-api-v2.mjs +124 -124
  2. package/fesm2022/veloceapps-api-v2.mjs.map +1 -0
  3. package/{fesm2020 → fesm2022}/veloceapps-api.mjs +70 -70
  4. package/fesm2022/veloceapps-api.mjs.map +1 -0
  5. package/index.d.ts +382 -1
  6. package/package.json +7 -19
  7. package/v2/index.d.ts +562 -3
  8. package/esm2020/index.mjs +0 -2
  9. package/esm2020/src/index.mjs +0 -16
  10. package/esm2020/src/lib/api.module.mjs +0 -60
  11. package/esm2020/src/lib/services/account-api.service.mjs +0 -87
  12. package/esm2020/src/lib/services/auth.service.mjs +0 -22
  13. package/esm2020/src/lib/services/contracted-price-api.service.mjs +0 -45
  14. package/esm2020/src/lib/services/flow-state-api.mjs +0 -142
  15. package/esm2020/src/lib/services/offers-api.service.mjs +0 -76
  16. package/esm2020/src/lib/services/org-info-api.service.mjs +0 -54
  17. package/esm2020/src/lib/services/portals-api.service.mjs +0 -76
  18. package/esm2020/src/lib/services/promotions-api.service.mjs +0 -68
  19. package/esm2020/src/lib/services/rebate-program-api.service.mjs +0 -68
  20. package/esm2020/src/lib/services/rebate-type-api.service.mjs +0 -68
  21. package/esm2020/src/lib/services/sandbox-manager-api.service.mjs +0 -94
  22. package/esm2020/src/lib/services/stateful-configuration-api.mjs +0 -51
  23. package/esm2020/src/lib/types/auth.types.mjs +0 -2
  24. package/esm2020/src/lib/types/clone-request.types.mjs +0 -2
  25. package/esm2020/src/lib/types/delta-request.types.mjs +0 -2
  26. package/esm2020/src/lib/types/dto/offers-dto.types.mjs +0 -2
  27. package/esm2020/src/lib/types/index.mjs +0 -6
  28. package/esm2020/src/lib/types/org-info.types.mjs +0 -2
  29. package/esm2020/src/lib/types/search-request.types.mjs +0 -2
  30. package/esm2020/src/lib/types/stateful-configuration.types.mjs +0 -2
  31. package/esm2020/src/lib/utils/canvas.utils.mjs +0 -33
  32. package/esm2020/src/lib/utils/index.mjs +0 -2
  33. package/esm2020/v2/api-v2.module.mjs +0 -70
  34. package/esm2020/v2/index.mjs +0 -4
  35. package/esm2020/v2/services/cache-api.service.mjs +0 -22
  36. package/esm2020/v2/services/catalog-admin-api.service.mjs +0 -192
  37. package/esm2020/v2/services/catalog-api.service.mjs +0 -90
  38. package/esm2020/v2/services/configuration-processors-api.service.mjs +0 -38
  39. package/esm2020/v2/services/configuration-settings-api.service.mjs +0 -89
  40. package/esm2020/v2/services/context-definition-admin-api.service.mjs +0 -78
  41. package/esm2020/v2/services/document-attachment-api.service.mjs +0 -66
  42. package/esm2020/v2/services/endpoints-admin-api.service.mjs +0 -81
  43. package/esm2020/v2/services/flows-api.service.mjs +0 -29
  44. package/esm2020/v2/services/functions-admin-api.service.mjs +0 -116
  45. package/esm2020/v2/services/guided-sellings-admin-api.service.mjs +0 -65
  46. package/esm2020/v2/services/guided-sellings-api.service.mjs +0 -37
  47. package/esm2020/v2/services/index.mjs +0 -24
  48. package/esm2020/v2/services/orchestrations-admin-api.service.mjs +0 -87
  49. package/esm2020/v2/services/orchestrations-api.service.mjs +0 -23
  50. package/esm2020/v2/services/pcm-api.service.mjs +0 -38
  51. package/esm2020/v2/services/picklists-admin-api.service.mjs +0 -41
  52. package/esm2020/v2/services/products-admin-api.service.mjs +0 -90
  53. package/esm2020/v2/services/sales-transactions-api.service.mjs +0 -52
  54. package/esm2020/v2/services/salesforce-api.service.mjs +0 -83
  55. package/esm2020/v2/services/shopping-cart-settings-api.service.mjs +0 -28
  56. package/esm2020/v2/services/ui-definitions-admin-api.service.mjs +0 -70
  57. package/esm2020/v2/services/ui-templates-admin-api.service.mjs +0 -286
  58. package/esm2020/v2/services/veloce-objects-api.service.mjs +0 -90
  59. package/esm2020/v2/types/attachment.types.mjs +0 -2
  60. package/esm2020/v2/types/clone-request.types.mjs +0 -2
  61. package/esm2020/v2/types/dto/configuration-settings-dto.types.mjs +0 -22
  62. package/esm2020/v2/types/dto/ui-definition-dto.types.mjs +0 -2
  63. package/esm2020/v2/types/dto/ui-template-dto.types.mjs +0 -2
  64. package/esm2020/v2/types/endpoint.types.mjs +0 -2
  65. package/esm2020/v2/types/event-logs.types.mjs +0 -2
  66. package/esm2020/v2/types/function.types.mjs +0 -2
  67. package/esm2020/v2/types/index.mjs +0 -9
  68. package/esm2020/v2/types/pcm.types.mjs +0 -2
  69. package/esm2020/v2/types/procedure.types.mjs +0 -2
  70. package/esm2020/v2/types/sales-transaction.types.mjs +0 -2
  71. package/esm2020/v2/types/search-request.types.mjs +0 -2
  72. package/esm2020/v2/utils/ui-definition.utils.mjs +0 -23
  73. package/esm2020/v2/utils/ui-template.utils.mjs +0 -13
  74. package/esm2020/v2/veloceapps-api-v2.mjs +0 -5
  75. package/esm2020/veloceapps-api.mjs +0 -5
  76. package/fesm2015/veloceapps-api-v2.mjs +0 -1727
  77. package/fesm2015/veloceapps-api-v2.mjs.map +0 -1
  78. package/fesm2015/veloceapps-api.mjs +0 -853
  79. package/fesm2015/veloceapps-api.mjs.map +0 -1
  80. package/fesm2020/veloceapps-api-v2.mjs.map +0 -1
  81. package/fesm2020/veloceapps-api.mjs.map +0 -1
  82. package/src/index.d.ts +0 -15
  83. package/src/lib/api.module.d.ts +0 -8
  84. package/src/lib/services/account-api.service.d.ts +0 -23
  85. package/src/lib/services/auth.service.d.ts +0 -11
  86. package/src/lib/services/contracted-price-api.service.d.ts +0 -16
  87. package/src/lib/services/flow-state-api.d.ts +0 -84
  88. package/src/lib/services/offers-api.service.d.ts +0 -19
  89. package/src/lib/services/org-info-api.service.d.ts +0 -19
  90. package/src/lib/services/portals-api.service.d.ts +0 -20
  91. package/src/lib/services/promotions-api.service.d.ts +0 -19
  92. package/src/lib/services/rebate-program-api.service.d.ts +0 -19
  93. package/src/lib/services/rebate-type-api.service.d.ts +0 -19
  94. package/src/lib/services/sandbox-manager-api.service.d.ts +0 -24
  95. package/src/lib/services/stateful-configuration-api.d.ts +0 -30
  96. package/src/lib/types/auth.types.d.ts +0 -4
  97. package/src/lib/types/clone-request.types.d.ts +0 -5
  98. package/src/lib/types/delta-request.types.d.ts +0 -5
  99. package/src/lib/types/dto/offers-dto.types.d.ts +0 -9
  100. package/src/lib/types/index.d.ts +0 -5
  101. package/src/lib/types/org-info.types.d.ts +0 -43
  102. package/src/lib/types/search-request.types.d.ts +0 -8
  103. package/src/lib/types/stateful-configuration.types.d.ts +0 -10
  104. package/src/lib/utils/canvas.utils.d.ts +0 -18
  105. package/src/lib/utils/index.d.ts +0 -1
  106. package/v2/api-v2.module.d.ts +0 -7
  107. package/v2/services/cache-api.service.d.ts +0 -11
  108. package/v2/services/catalog-admin-api.service.d.ts +0 -39
  109. package/v2/services/catalog-api.service.d.ts +0 -20
  110. package/v2/services/configuration-processors-api.service.d.ts +0 -14
  111. package/v2/services/configuration-settings-api.service.d.ts +0 -18
  112. package/v2/services/context-definition-admin-api.service.d.ts +0 -16
  113. package/v2/services/document-attachment-api.service.d.ts +0 -17
  114. package/v2/services/endpoints-admin-api.service.d.ts +0 -20
  115. package/v2/services/flows-api.service.d.ts +0 -13
  116. package/v2/services/functions-admin-api.service.d.ts +0 -25
  117. package/v2/services/guided-sellings-admin-api.service.d.ts +0 -20
  118. package/v2/services/guided-sellings-api.service.d.ts +0 -13
  119. package/v2/services/index.d.ts +0 -23
  120. package/v2/services/orchestrations-admin-api.service.d.ts +0 -21
  121. package/v2/services/orchestrations-api.service.d.ts +0 -12
  122. package/v2/services/pcm-api.service.d.ts +0 -12
  123. package/v2/services/picklists-admin-api.service.d.ts +0 -17
  124. package/v2/services/products-admin-api.service.d.ts +0 -21
  125. package/v2/services/sales-transactions-api.service.d.ts +0 -26
  126. package/v2/services/salesforce-api.service.d.ts +0 -26
  127. package/v2/services/shopping-cart-settings-api.service.d.ts +0 -14
  128. package/v2/services/ui-definitions-admin-api.service.d.ts +0 -18
  129. package/v2/services/ui-templates-admin-api.service.d.ts +0 -50
  130. package/v2/services/veloce-objects-api.service.d.ts +0 -23
  131. package/v2/types/attachment.types.d.ts +0 -4
  132. package/v2/types/clone-request.types.d.ts +0 -5
  133. package/v2/types/dto/configuration-settings-dto.types.d.ts +0 -9
  134. package/v2/types/dto/ui-definition-dto.types.d.ts +0 -7
  135. package/v2/types/dto/ui-template-dto.types.d.ts +0 -6
  136. package/v2/types/endpoint.types.d.ts +0 -15
  137. package/v2/types/event-logs.types.d.ts +0 -9
  138. package/v2/types/function.types.d.ts +0 -17
  139. package/v2/types/index.d.ts +0 -8
  140. package/v2/types/pcm.types.d.ts +0 -10
  141. package/v2/types/procedure.types.d.ts +0 -73
  142. package/v2/types/sales-transaction.types.d.ts +0 -13
  143. package/v2/types/search-request.types.d.ts +0 -8
  144. package/v2/utils/ui-definition.utils.d.ts +0 -5
  145. package/v2/utils/ui-template.utils.d.ts +0 -3
package/v2/index.d.ts CHANGED
@@ -1,3 +1,562 @@
1
- export * from './api-v2.module';
2
- export * from './services';
3
- export * from './types';
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from '@angular/common/http';
3
+ import { HttpParams } from '@angular/common/http';
4
+ import { BaseHttpService, DataAdministrationField, HttpRequestConfigurableOptions, Rule, TransactionContext, ContextNode, Procedure, RuleTypes, RuleCondition, ExtractRuleQuery, ExtractRuleRequest, RuleMapper, MetricRuleMapper, ExtractRuleMapper, Endpoint, EndpointExecuteData, RequestMethod, Catalog, Expression, Category, Product, CategoryFilter, NewCatalog, NewCategory, CategoryRequestPayloadWithData, NewCategoryFilter, CatalogProduct, SearchRequest, ConfigurationProcessor, ConfigurationSettings, ContextDefinition, ContextMapping, ContextMappingDetails, ContextDefinitionStructure, RlmProcedure, FileDownloadService, Attachment, NewEndpoint, Flow, NewRule, HeaderField, FunctionDataSet, GuidedSelling, NewGuidedSelling, NewProcedure, SalesforceObject, SalesforceField, GlobalPicklist, GlobalPicklistValue, PCMModel, Picklist, NewPicklist, NewPicklistValue, LazyChunkRequest, NewProduct, ShoppingCartSetting, ShoppingCartSettings, UIDefinitionContainer, NewUIDefinitionContainer, UITemplate, NewUITemplate, TemplateComponent, NewTemplateComponent, TemplateAttachmentType, ComponentStory, NewComponentStory, ComponentStoryAttachments, ComponentAttachments, VeloceObjectCategory, NewVeloceObjectCategory, VeloceObject, NewVeloceObject } from '@veloceapps/core';
5
+ import { Observable } from 'rxjs';
6
+ import { Dictionary } from 'lodash';
7
+ import { MessageService } from 'primeng/api';
8
+
9
+ declare class ApiV2Module {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiV2Module, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApiV2Module, never, [typeof i1.HttpClientModule], never>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApiV2Module>;
13
+ }
14
+
15
+ declare class CacheApiService {
16
+ private httpService;
17
+ private readonly SERVICE_URL;
18
+ constructor(httpService: BaseHttpService);
19
+ clear$(name: DataAdministrationField, options?: HttpRequestConfigurableOptions): Observable<void>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<CacheApiService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<CacheApiService>;
22
+ }
23
+
24
+ interface TemplateAttachmentSearchRequest {
25
+ linkedEntityId: string;
26
+ tag?: string;
27
+ }
28
+
29
+ interface CloneRequest {
30
+ id: string;
31
+ propertiesToOverride: Dictionary<any>;
32
+ }
33
+
34
+ interface EventLog {
35
+ Timestamp: string;
36
+ Id: string;
37
+ Type: string;
38
+ Success: boolean;
39
+ 'Variable Name': string;
40
+ 'Sales Transaction Item Id': string;
41
+ [key: string]: any;
42
+ }
43
+
44
+ interface FunctionExecuteRequest {
45
+ function: Rule;
46
+ data: FunctionExecuteRequestData;
47
+ enableEventLogs: boolean;
48
+ }
49
+ interface FunctionExecuteRequestData {
50
+ context?: TransactionContext;
51
+ dataSets?: Record<string, ContextNode[]>;
52
+ doNotAlignEndDates?: boolean;
53
+ deployStartDateGradually?: boolean;
54
+ deployEndDateGradually?: boolean;
55
+ events?: unknown[];
56
+ logs?: string[];
57
+ eventLogs?: EventLog[];
58
+ }
59
+
60
+ interface ProcedureApplyRequest {
61
+ transactionContext: TransactionContext;
62
+ orchestrationName?: string;
63
+ flowId?: string;
64
+ }
65
+ interface OrchestrationNew {
66
+ id: string;
67
+ name: string;
68
+ description: string;
69
+ type?: string;
70
+ active: boolean;
71
+ deployStartDateGradually: boolean;
72
+ deployEndDateGradually: boolean;
73
+ contextDefinitionId?: string;
74
+ steps?: OrchestrationStepNew[];
75
+ }
76
+ interface OrchestrationStepNew {
77
+ id?: string;
78
+ name: string;
79
+ active: boolean;
80
+ sequence?: number;
81
+ orchestrationId?: string;
82
+ parentStepId?: string;
83
+ functionId?: string;
84
+ function?: FunctionRule;
85
+ steps?: OrchestrationStepNew[];
86
+ }
87
+ interface NewFunctionRule {
88
+ name: string;
89
+ sequence: number;
90
+ description: string;
91
+ parentId: string;
92
+ active: boolean;
93
+ type?: RuleTypes;
94
+ cached?: boolean;
95
+ duration?: number;
96
+ }
97
+ interface FunctionRule extends NewFunctionRule {
98
+ id: string;
99
+ contextDefinitionId?: string;
100
+ contextMappingId?: string;
101
+ procedure: ProcedureInvocation;
102
+ conditions: RuleCondition[];
103
+ queries: ExtractRuleQuery[];
104
+ requests: ExtractRuleRequest[];
105
+ actions: RuleMapper[] | MetricRuleMapper[] | ExtractRuleMapper[];
106
+ transformations: any[];
107
+ parentName: string;
108
+ parentType: RuleTypes;
109
+ isDefault: boolean;
110
+ }
111
+ interface ProcedureInvocation {
112
+ id?: string;
113
+ functionId: string;
114
+ pricingProcedureId: string;
115
+ }
116
+ interface ProcedureExecuteRequest {
117
+ orchestration: Procedure;
118
+ context: any;
119
+ enableEventLogs: boolean;
120
+ }
121
+ interface ProcedureExecuteResponse {
122
+ context?: TransactionContext;
123
+ dataSets?: Record<string, ContextNode[]>;
124
+ doNotAlignEndDates?: boolean;
125
+ deployStartDateGradually?: boolean;
126
+ deployEndDateGradually?: boolean;
127
+ events?: unknown[];
128
+ logs?: string[];
129
+ eventLogs?: EventLog[];
130
+ }
131
+
132
+ interface SalesTransactionUpsertRequest {
133
+ transactionContext: TransactionContext;
134
+ orchestrationName?: string;
135
+ flowId?: string;
136
+ }
137
+ interface SalesTransactionRequestParams {
138
+ contextMappingId?: string;
139
+ [key: string]: unknown;
140
+ }
141
+ interface SalesTransactionUpsertResponse {
142
+ id: string;
143
+ }
144
+
145
+ type QuerySearchParams = {
146
+ skip?: number;
147
+ count?: number;
148
+ sort?: string;
149
+ asc?: boolean;
150
+ } & {
151
+ [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
152
+ };
153
+
154
+ interface EndpointExecuteRequest {
155
+ apiEndpoint: Endpoint;
156
+ apiRequest: EndpointExecuteData;
157
+ enableEventLogs: boolean;
158
+ }
159
+ interface EndpointExecuteResponse {
160
+ body: any;
161
+ headers: Record<string, string[]>;
162
+ httpMethod: RequestMethod;
163
+ params: Record<string, string[]>;
164
+ requestURI: string;
165
+ eventLogs?: EventLog[];
166
+ }
167
+
168
+ declare class CatalogAdminApiService {
169
+ private baseHttpService;
170
+ static MAX_RESULTS: number;
171
+ private readonly serviceUrl;
172
+ constructor(baseHttpService: BaseHttpService);
173
+ fetchCatalogs$: (searchParams?: QuerySearchParams) => Observable<Catalog[]>;
174
+ searchCatalogs$: (searchParams?: QuerySearchParams, expression?: Expression) => Observable<Catalog[]>;
175
+ fetchCategories$: (catalogId: string) => Observable<Category[]>;
176
+ searchProducts$: (catalogId: string, categoryId: string) => Observable<Product[]>;
177
+ fetchAttributes$: (catalogId: string, categoryId: string) => Observable<CategoryFilter[]>;
178
+ createNewCatalog$: (catalogData: NewCatalog) => Observable<Catalog>;
179
+ duplicateCatalog$: (cloneRequest: CloneRequest) => Observable<Catalog>;
180
+ updateCatalog$: (data: Catalog) => Observable<void>;
181
+ removeCatalog$: (id: string) => Observable<void>;
182
+ restoreCatalog$: (id: string) => Observable<void>;
183
+ createNewCategory$: (categoryData: NewCategory) => Observable<Category>;
184
+ updateCategory$: (category: Category) => Observable<Category>;
185
+ duplicateCategory$: (catalogId: string, cloneRequest: CloneRequest) => Observable<string>;
186
+ removeCategory$: (id: string, catalogId: string) => Observable<void>;
187
+ restoreCategory$: (id: string, catalogId: string) => Observable<void>;
188
+ removeAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<CategoryFilter>) => Observable<string>;
189
+ restoreAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<CategoryFilter>) => Observable<void>;
190
+ createNewAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<NewCategoryFilter>) => Observable<CategoryFilter>;
191
+ updateAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<CategoryFilter>) => Observable<CategoryFilter>;
192
+ searchProductCandidates$: (catalogId: string, categoryId: string, expression: Expression, searchParams: QuerySearchParams) => Observable<Product[]>;
193
+ addProduct$: (product: Product, catalogId: string, categoryId: string) => Observable<any>;
194
+ updateProduct$: (product: Partial<Product>, catalogId: string, categoryId: string) => Observable<CatalogProduct>;
195
+ removeProduct$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<Product>) => Observable<string>;
196
+ attachImage$(catalogId: string, categoryId: string, file: File): Observable<void>;
197
+ removeImage$(catalogId: string, categoryId: string): Observable<void>;
198
+ fetchImage$(catalogId: string, categoryId: string): Observable<File>;
199
+ getImageUrl(catalogId: string, categoryId: string): string;
200
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogAdminApiService, never>;
201
+ static ɵprov: i0.ɵɵInjectableDeclaration<CatalogAdminApiService>;
202
+ }
203
+
204
+ declare class CatalogApiService {
205
+ private service;
206
+ private readonly serviceUrl;
207
+ constructor(service: BaseHttpService);
208
+ fetchCatalogs$(): Observable<Catalog[]>;
209
+ searchCatalogs$(searchParams?: QuerySearchParams, expression?: Expression): Observable<Catalog[]>;
210
+ getCatalog$(id: string): Observable<Catalog>;
211
+ fetchCategories$(catalogId: string): Observable<Category[]>;
212
+ fetchCatalogProducts$(catalogId: string, searchParams?: QuerySearchParams, context?: Record<string, string>): Observable<Product[]>;
213
+ fetchCategoryProducts$(catalogId: string, categoryId: string, searchParams?: QuerySearchParams, context?: Record<string, string>): Observable<Product[]>;
214
+ searchCategoryProducts$(catalogId: string, categoryId: string, searchParams?: QuerySearchParams, searchRequest?: SearchRequest, context?: Record<string, string>): Observable<Product[]>;
215
+ fetchEligibleProducts$(searchParams?: QuerySearchParams, context?: Record<string, string>): Observable<Product[]>;
216
+ fetchProducts$(searchParams?: QuerySearchParams): Observable<Product[]>;
217
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogApiService, never>;
218
+ static ɵprov: i0.ɵɵInjectableDeclaration<CatalogApiService>;
219
+ }
220
+
221
+ declare class ConfigurationProcessorsApiService {
222
+ private baseHttpService;
223
+ private readonly serviceUrl;
224
+ constructor(baseHttpService: BaseHttpService);
225
+ fetchConfigurationProcessors$: (ownerId: string) => Observable<ConfigurationProcessor[]>;
226
+ createConfigurationProcessors$: (configurationProcessor: ConfigurationProcessor) => Observable<ConfigurationProcessor>;
227
+ updateConfigurationProcessors$: (configurationProcessor: ConfigurationProcessor) => Observable<ConfigurationProcessor>;
228
+ deleteConfigurationProcessors$: (configurationProcessor: ConfigurationProcessor) => Observable<void>;
229
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationProcessorsApiService, never>;
230
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationProcessorsApiService>;
231
+ }
232
+
233
+ declare class ConfigurationSettingsApiService {
234
+ private httpService;
235
+ private messageService;
236
+ private readonly SERVICE_URL;
237
+ constructor(httpService: BaseHttpService, messageService: MessageService);
238
+ fetchSettings(options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings[]>;
239
+ fetchSetting(settingsKey: string, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings | null>;
240
+ createSetting(setting: ConfigurationSettings, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings>;
241
+ updateSetting(setting: ConfigurationSettings, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings>;
242
+ removeSetting(setting: ConfigurationSettings, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings>;
243
+ restoreSetting(settingId: string, options?: HttpRequestConfigurableOptions): Observable<void>;
244
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationSettingsApiService, never>;
245
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationSettingsApiService>;
246
+ }
247
+
248
+ declare class ContextDefinitionAdminApiService {
249
+ private baseHttpService;
250
+ private readonly serviceUrl;
251
+ constructor(baseHttpService: BaseHttpService);
252
+ fetchContextDefinitions$(): Observable<ContextDefinition[]>;
253
+ fetchContextMappings$(id: string): Observable<ContextMapping[]>;
254
+ fetchContextMappingsDetails$(id: string): Observable<ContextMappingDetails[]>;
255
+ fetchAcceptableContextMappings$(id: string, pricingProcedureId: string): Observable<ContextMappingDetails[]>;
256
+ fetchContextDefinitionStructure$(id: string): Observable<ContextDefinitionStructure>;
257
+ fetchRlmProcedures(contextDefinitionId?: string): Observable<RlmProcedure[]>;
258
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextDefinitionAdminApiService, never>;
259
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContextDefinitionAdminApiService>;
260
+ }
261
+
262
+ declare class DocumentAttachmentApiService {
263
+ private httpService;
264
+ private fileDownloadService;
265
+ private readonly SERVICE_URL;
266
+ constructor(httpService: BaseHttpService, fileDownloadService: FileDownloadService);
267
+ getAttachments(searchRequest: TemplateAttachmentSearchRequest): Observable<Attachment[]>;
268
+ createAttachment(attachment: Attachment, file?: File, reportProgress?: boolean): Observable<Attachment>;
269
+ updateAttachment(id: string, attachment: Attachment): Observable<Attachment>;
270
+ getAttachmentFile(id: string, isPreventDownload?: boolean): Observable<any>;
271
+ removeAttachment(id: string): Observable<unknown>;
272
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentAttachmentApiService, never>;
273
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocumentAttachmentApiService>;
274
+ }
275
+
276
+ declare class EndpointsAdminApiService {
277
+ private baseHttpService;
278
+ private readonly serviceUrl;
279
+ constructor(baseHttpService: BaseHttpService);
280
+ fetchEndpoints$(): Observable<Endpoint[]>;
281
+ searchEndpoints$(expression: Expression, skip: number, count: number): Observable<Endpoint[]>;
282
+ removeEndpoint$(id: string): Observable<void>;
283
+ restoreEndpoint$(id: string): Observable<void>;
284
+ fetchEndpoint$(id: string): Observable<Endpoint>;
285
+ createEndpoint$(body: NewEndpoint): Observable<Endpoint>;
286
+ updateEndpoint$(body: Endpoint): Observable<Endpoint>;
287
+ duplicateEndpoint$(cloneRequest: CloneRequest): Observable<Endpoint>;
288
+ executeEndpoint$(body: EndpointExecuteRequest): Observable<EndpointExecuteResponse>;
289
+ static ɵfac: i0.ɵɵFactoryDeclaration<EndpointsAdminApiService, never>;
290
+ static ɵprov: i0.ɵɵInjectableDeclaration<EndpointsAdminApiService>;
291
+ }
292
+
293
+ declare class FlowsApiService {
294
+ private configurationSettingsApiService;
295
+ private readonly flowsKey;
296
+ constructor(configurationSettingsApiService: ConfigurationSettingsApiService);
297
+ getFlow(id: string): Observable<Flow>;
298
+ fetchFlows(): Observable<Flow[]>;
299
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlowsApiService, never>;
300
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlowsApiService>;
301
+ }
302
+
303
+ declare class FunctionsAdminApiService {
304
+ private baseHttpService;
305
+ private readonly serviceUrl;
306
+ constructor(baseHttpService: BaseHttpService);
307
+ fetchAll$: () => Observable<Rule[]>;
308
+ search$: (expression: Expression, skip?: number, count?: number) => Observable<Rule[]>;
309
+ create$: (rule: NewRule) => Observable<Rule>;
310
+ update$: (rule: Rule) => Observable<Rule>;
311
+ duplicate$: (body: CloneRequest) => Observable<string>;
312
+ remove$: (id: string) => Observable<string>;
313
+ restore$: (id: string) => Observable<string>;
314
+ fetch$(id: string): Observable<Rule>;
315
+ fetchHeaderFields$(): Observable<HeaderField[]>;
316
+ execute$(body: FunctionExecuteRequest): Observable<FunctionExecuteRequestData>;
317
+ executeExtractFunction$(body: FunctionExecuteRequest): Observable<string[]>;
318
+ fetchFunctionDatasets$(): Observable<FunctionDataSet[]>;
319
+ fetchFunctionTags$(): Observable<string[]>;
320
+ fetchObjectParentIdFields$(objectName: string): Observable<string[]>;
321
+ static ɵfac: i0.ɵɵFactoryDeclaration<FunctionsAdminApiService, never>;
322
+ static ɵprov: i0.ɵɵInjectableDeclaration<FunctionsAdminApiService>;
323
+ }
324
+
325
+ declare class GuidedSellingsAdminApiService {
326
+ private baseHttpService;
327
+ static MAX_RESULTS: number;
328
+ private readonly serviceUrl;
329
+ constructor(baseHttpService: BaseHttpService);
330
+ fetchGuidedSellings$: (searchParams?: QuerySearchParams) => Observable<GuidedSelling[]>;
331
+ searchGuidedSellings$: (searchParams?: QuerySearchParams, expression?: Expression) => Observable<GuidedSelling[]>;
332
+ fetchGuidedSelling$: (id: string) => Observable<GuidedSelling>;
333
+ createNewGuidedSelling$: (guidedSelling: NewGuidedSelling) => Observable<GuidedSelling>;
334
+ duplicateGuidedSelling$: (cloneRequest: CloneRequest) => Observable<GuidedSelling>;
335
+ updateGuidedSelling$: (data: GuidedSelling) => Observable<void>;
336
+ removeGuidedSelling$: (id: string) => Observable<void>;
337
+ restoreGuidedSelling$: (id: string) => Observable<void>;
338
+ static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingsAdminApiService, never>;
339
+ static ɵprov: i0.ɵɵInjectableDeclaration<GuidedSellingsAdminApiService>;
340
+ }
341
+
342
+ declare class GuidedSellingApiService {
343
+ private http;
344
+ private readonly serviceUrl;
345
+ constructor(http: BaseHttpService);
346
+ searchByName$(name: string, searchParams?: QuerySearchParams): Observable<GuidedSelling[]>;
347
+ searchById$(id: string, searchParams?: QuerySearchParams): Observable<GuidedSelling[]>;
348
+ static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingApiService, never>;
349
+ static ɵprov: i0.ɵɵInjectableDeclaration<GuidedSellingApiService>;
350
+ }
351
+
352
+ declare class OrchestrationsAdminApiService {
353
+ private baseHttpService;
354
+ private readonly SERVICE_URL;
355
+ constructor(baseHttpService: BaseHttpService);
356
+ fetchAll$: () => Observable<Procedure[]>;
357
+ search$: (expression: Expression, skip: number, count: number) => Observable<Procedure[]>;
358
+ create$: (newProcedure: NewProcedure) => Observable<Procedure>;
359
+ update$: (procedure: Procedure) => Observable<Procedure>;
360
+ duplicate$: (body: CloneRequest) => Observable<string>;
361
+ remove$: (id: string) => Observable<string>;
362
+ restore$: (id: string) => Observable<string>;
363
+ fetch$(id: string): Observable<Procedure>;
364
+ execute$(body: ProcedureExecuteRequest): Observable<ProcedureExecuteResponse>;
365
+ catalogExecute$(body: ProcedureExecuteRequest): Observable<string[]>;
366
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrchestrationsAdminApiService, never>;
367
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrchestrationsAdminApiService>;
368
+ }
369
+
370
+ declare class OrchestrationsApiService {
371
+ private baseHttpService;
372
+ private readonly SERVICE_URL;
373
+ constructor(baseHttpService: BaseHttpService);
374
+ apply$(request: ProcedureApplyRequest, options?: HttpRequestConfigurableOptions): Observable<TransactionContext>;
375
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrchestrationsApiService, never>;
376
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrchestrationsApiService>;
377
+ }
378
+
379
+ declare class SalesforceApiService {
380
+ private httpService;
381
+ private readonly SERVICE_URL;
382
+ constructor(httpService: BaseHttpService);
383
+ query<T>(searchRequest: SearchRequest, objectName: string, options?: HttpRequestConfigurableOptions): Observable<T[]>;
384
+ queryObjects(search?: string, options?: HttpRequestConfigurableOptions): Observable<SalesforceObject[]>;
385
+ search<T = any>(req: {
386
+ searchString: string;
387
+ }, options?: HttpRequestConfigurableOptions): Observable<{
388
+ searchRecords: T[];
389
+ }>;
390
+ describeObject(objectName: string, options?: HttpRequestConfigurableOptions): Observable<SalesforceField[]>;
391
+ describeField(objectName: string, fieldName: string, options?: HttpRequestConfigurableOptions): Observable<SalesforceField>;
392
+ describe2<T>(objectName: string, fields: string[], options?: HttpRequestConfigurableOptions): Observable<T>;
393
+ apexGetRequest<T>(path: string, params: HttpParams | Record<string, any>, options?: HttpRequestConfigurableOptions): Observable<T>;
394
+ apexPostRequest<T, S>(path: string, body: S, options?: HttpRequestConfigurableOptions): Observable<T>;
395
+ restGetRequest<T>(path: string, params: HttpParams | Record<string, any>, options?: HttpRequestConfigurableOptions): Observable<T>;
396
+ getGlobalPicklists(): Observable<GlobalPicklist[]>;
397
+ getGlobalPicklistValues(id: string): Observable<GlobalPicklistValue[]>;
398
+ static ɵfac: i0.ɵɵFactoryDeclaration<SalesforceApiService, never>;
399
+ static ɵprov: i0.ɵɵInjectableDeclaration<SalesforceApiService>;
400
+ }
401
+
402
+ declare class PCMApiService {
403
+ private sfApiService;
404
+ constructor(sfApiService: SalesforceApiService);
405
+ fetchPCMByProductId(productId: string): Observable<PCMModel>;
406
+ private fixUrls;
407
+ static ɵfac: i0.ɵɵFactoryDeclaration<PCMApiService, never>;
408
+ static ɵprov: i0.ɵɵInjectableDeclaration<PCMApiService>;
409
+ }
410
+
411
+ declare class PicklistsAdminApiService {
412
+ private baseHttpService;
413
+ private readonly serviceUrl;
414
+ constructor(baseHttpService: BaseHttpService);
415
+ fetchAllPicklists$: () => Observable<Picklist[]>;
416
+ fetchPicklist$: (code: string) => Observable<Picklist>;
417
+ createPicklist$: (picklist: NewPicklist) => Observable<Picklist>;
418
+ updatePicklist$: (picklist: Picklist) => Observable<Picklist>;
419
+ removePicklist$: (id: string) => Observable<void>;
420
+ restorePicklist$: (id: string) => Observable<void>;
421
+ addPicklistValue$: (picklist: Picklist, value: NewPicklistValue) => Observable<Picklist>;
422
+ static ɵfac: i0.ɵɵFactoryDeclaration<PicklistsAdminApiService, never>;
423
+ static ɵprov: i0.ɵɵInjectableDeclaration<PicklistsAdminApiService>;
424
+ }
425
+
426
+ declare class ProductsAdminApiService {
427
+ private baseHttpService;
428
+ private readonly serviceUrl;
429
+ constructor(baseHttpService: BaseHttpService);
430
+ fetchProducts$: (payload: LazyChunkRequest) => Observable<Product[]>;
431
+ searchProducts$: (expression: Expression, skip: number, count: number) => Observable<Product[]>;
432
+ fetchProduct$: (id: string) => Observable<Product>;
433
+ createNewProduct$: (productData: NewProduct) => Observable<Product>;
434
+ updateProduct$: (body: Product) => Observable<Product>;
435
+ removeProduct$: (id: string) => Observable<string>;
436
+ restoreProduct$: (id: string) => Observable<void>;
437
+ attachImage$(productId: string, file: File): Observable<void>;
438
+ removeImage$(productId: string): Observable<void>;
439
+ fetchImage$(productId: string): Observable<File>;
440
+ getImageUrl(productId: string): string;
441
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductsAdminApiService, never>;
442
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductsAdminApiService>;
443
+ }
444
+
445
+ declare class SalesTransactionApiService {
446
+ private httpService;
447
+ private readonly SERVICE_URL;
448
+ constructor(httpService: BaseHttpService);
449
+ /**
450
+ * This endpoint doesn't include orders and assets
451
+ * @param objectId SF record ID (quoteId | accountId | opportunityId | orderId etc)
452
+ * @param params Query params
453
+ * @param options Request options
454
+ */
455
+ getState(objectId: string, params?: SalesTransactionRequestParams, options?: HttpRequestConfigurableOptions): Observable<TransactionContext>;
456
+ /**
457
+ * This endpoint doesn't include orders and assets
458
+ * @param headerId SF record ID (quoteId | accountId | opportunityId | orderId etc)
459
+ * @param params Query params
460
+ * @param options Request options
461
+ */
462
+ query(headerId: string, params?: Record<string, string>, options?: HttpRequestConfigurableOptions): Observable<TransactionContext>;
463
+ save(request: SalesTransactionUpsertRequest, options?: HttpRequestConfigurableOptions): Observable<string>;
464
+ static ɵfac: i0.ɵɵFactoryDeclaration<SalesTransactionApiService, never>;
465
+ static ɵprov: i0.ɵɵInjectableDeclaration<SalesTransactionApiService>;
466
+ }
467
+
468
+ declare class ShoppingCartSettingsApiService {
469
+ private configurationSettingsApiService;
470
+ private readonly shoppingCartSettingsKey;
471
+ constructor(configurationSettingsApiService: ConfigurationSettingsApiService);
472
+ getSetting(id: string): Observable<ShoppingCartSetting | undefined>;
473
+ fetchSettings(): Observable<ConfigurationSettings | null>;
474
+ getSettingsMap(): Observable<ShoppingCartSettings>;
475
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartSettingsApiService, never>;
476
+ static ɵprov: i0.ɵɵInjectableDeclaration<ShoppingCartSettingsApiService>;
477
+ }
478
+
479
+ declare class UIDefinitionsAdminApiService {
480
+ private baseHttpService;
481
+ private readonly serviceUrl;
482
+ constructor(baseHttpService: BaseHttpService);
483
+ fetchAll$(params?: {
484
+ productId?: string;
485
+ defaultUIDefinitionId?: string;
486
+ }, options?: HttpRequestConfigurableOptions): Observable<UIDefinitionContainer[]>;
487
+ fetch$(id: string, options?: HttpRequestConfigurableOptions): Observable<UIDefinitionContainer>;
488
+ create$(uiDefinitionContainer: NewUIDefinitionContainer): Observable<UIDefinitionContainer>;
489
+ update$(uiDefinitionContainer: UIDefinitionContainer): Observable<UIDefinitionContainer>;
490
+ delete$(id: string): Observable<void>;
491
+ static ɵfac: i0.ɵɵFactoryDeclaration<UIDefinitionsAdminApiService, never>;
492
+ static ɵprov: i0.ɵɵInjectableDeclaration<UIDefinitionsAdminApiService>;
493
+ }
494
+
495
+ declare class UITemplatesAdminApiService {
496
+ private baseHttpService;
497
+ private readonly serviceUrl;
498
+ constructor(baseHttpService: BaseHttpService);
499
+ fetchTemplates$: (name?: string) => Observable<UITemplate[]>;
500
+ createTemplate$: (template: NewUITemplate) => Observable<UITemplate>;
501
+ updateTemplate$: (template: UITemplate) => Observable<UITemplate>;
502
+ duplicateTemplate$: (template: UITemplate, cloneRequest: CloneRequest) => Observable<string>;
503
+ removeTemplate$: (id: string) => Observable<void>;
504
+ restoreTemplate$: (id: string) => Observable<void>;
505
+ searchTemplates$: (data: {
506
+ params?: Dictionary<string>;
507
+ expression?: Expression;
508
+ }) => Observable<UITemplate[]>;
509
+ fetchComponents$: (templateId: string, name?: string) => Observable<TemplateComponent[]>;
510
+ fetchComponent$: (templateId: string, componentId: string) => Observable<TemplateComponent>;
511
+ createComponent$: (component: NewTemplateComponent) => Observable<TemplateComponent>;
512
+ updateComponent$: (component: TemplateComponent) => Observable<TemplateComponent>;
513
+ duplicateComponent$: (component: TemplateComponent, cloneRequest: CloneRequest) => Observable<string>;
514
+ removeComponent$: (templateId: string, componentId: string) => Observable<void>;
515
+ restoreComponent$: (templateId: string, componentId: string) => Observable<void>;
516
+ searchComponents$: (templateId: string, data: {
517
+ params?: Dictionary<string>;
518
+ expression?: Expression;
519
+ }) => Observable<TemplateComponent[]>;
520
+ fetchStoryAttachment: (templateId: string, componentId: string, storyId: string, type: TemplateAttachmentType) => Observable<string>;
521
+ private convertToComponentStory$;
522
+ fetchStories$: (templateId: string, componentId: string, name?: string) => Observable<ComponentStory[]>;
523
+ fetchStory$: (templateId: string, componentId: string, storyId: string) => Observable<ComponentStory>;
524
+ createComponentStory$: (templateId: string, story: NewComponentStory) => Observable<ComponentStory>;
525
+ updateComponentStory$: (templateId: string, story: ComponentStory) => Observable<ComponentStory>;
526
+ duplicateComponentStory$: (story: ComponentStory, cloneRequest: CloneRequest) => Observable<string>;
527
+ deleteComponentStory$: (templateId: string, componentId: string, storyId: string) => Observable<void>;
528
+ restoreComponentStory$: (templateId: string, componentId: string, storyId: string) => Observable<void>;
529
+ uploadStoryAttachments$: (templateId: string, componentId: string, storyId: string, attachments: ComponentStoryAttachments) => Observable<void>;
530
+ getTemplateThumbnailUrl(templateId: string): string;
531
+ attachTemplateThumbnail$(templateId: string, file: File): Observable<any>;
532
+ removeTemplateThumbnail$(templateId: string): Observable<any>;
533
+ fetchComponentAttachments$: (templateId: string, component: TemplateComponent) => Observable<ComponentAttachments>;
534
+ fetchComponentsAttachments$: (templateId: string) => Observable<ComponentAttachments[]>;
535
+ private fetchComponentAttachmentFile$;
536
+ uploadComponentAttachments$: (templateId: string, componentId: string, attachments: ComponentAttachments) => Observable<void>;
537
+ static ɵfac: i0.ɵɵFactoryDeclaration<UITemplatesAdminApiService, never>;
538
+ static ɵprov: i0.ɵɵInjectableDeclaration<UITemplatesAdminApiService>;
539
+ }
540
+
541
+ declare class VeloceObjectsAdminApiService {
542
+ private baseHttpService;
543
+ private readonly serviceUrl;
544
+ constructor(baseHttpService: BaseHttpService);
545
+ fetchCategories$(): Observable<VeloceObjectCategory[]>;
546
+ createCategory$(category: NewVeloceObjectCategory): Observable<VeloceObjectCategory>;
547
+ updateCategory$: (category: VeloceObjectCategory) => Observable<VeloceObjectCategory>;
548
+ deleteCategory$: (id: string) => Observable<void>;
549
+ fetchObjects$(): Observable<VeloceObject[]>;
550
+ fetchObject$(id: string): Observable<VeloceObject>;
551
+ searchObjects$: (searchParams?: QuerySearchParams, expression?: Expression) => Observable<VeloceObject[]>;
552
+ createObject$(object: NewVeloceObject): Observable<VeloceObject>;
553
+ updateObject$(object: VeloceObject): Observable<VeloceObject>;
554
+ deleteObject$: (id: string) => Observable<void>;
555
+ duplicateObject$: (body: CloneRequest) => Observable<string>;
556
+ restoreObject$: (id: string) => Observable<void>;
557
+ static ɵfac: i0.ɵɵFactoryDeclaration<VeloceObjectsAdminApiService, never>;
558
+ static ɵprov: i0.ɵɵInjectableDeclaration<VeloceObjectsAdminApiService>;
559
+ }
560
+
561
+ export { ApiV2Module, CacheApiService, CatalogAdminApiService, CatalogApiService, ConfigurationProcessorsApiService, ConfigurationSettingsApiService, ContextDefinitionAdminApiService, DocumentAttachmentApiService, EndpointsAdminApiService, FlowsApiService, FunctionsAdminApiService, GuidedSellingApiService, GuidedSellingsAdminApiService, OrchestrationsAdminApiService, OrchestrationsApiService, PCMApiService, PicklistsAdminApiService, ProductsAdminApiService, SalesTransactionApiService, SalesforceApiService, ShoppingCartSettingsApiService, UIDefinitionsAdminApiService, UITemplatesAdminApiService, VeloceObjectsAdminApiService };
562
+ export type { CloneRequest, EndpointExecuteRequest, EndpointExecuteResponse, EventLog, FunctionExecuteRequest, FunctionExecuteRequestData, FunctionRule, NewFunctionRule, OrchestrationNew, OrchestrationStepNew, ProcedureApplyRequest, ProcedureExecuteRequest, ProcedureExecuteResponse, ProcedureInvocation, QuerySearchParams, SalesTransactionRequestParams, SalesTransactionUpsertRequest, SalesTransactionUpsertResponse, TemplateAttachmentSearchRequest };
package/esm2020/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from './src';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2FwaS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjJztcbiJdfQ==
@@ -1,16 +0,0 @@
1
- export { ApiModule } from './lib/api.module';
2
- export { AccountApiService } from './lib/services/account-api.service';
3
- export { VeloceAuthService } from './lib/services/auth.service';
4
- export { ContractedPriceApiService } from './lib/services/contracted-price-api.service';
5
- export { FlowStateApiService } from './lib/services/flow-state-api';
6
- export { OffersApiService } from './lib/services/offers-api.service';
7
- export { OrgInfoApiService } from './lib/services/org-info-api.service';
8
- export { PortalsApiService } from './lib/services/portals-api.service';
9
- export { PromotionsApiService } from './lib/services/promotions-api.service';
10
- export { RebateProgramApiService } from './lib/services/rebate-program-api.service';
11
- export { RebateTypeApiService } from './lib/services/rebate-type-api.service';
12
- export { SandboxManagerApiService } from './lib/services/sandbox-manager-api.service';
13
- export { StatefulConfigurationApiService } from './lib/services/stateful-configuration-api';
14
- export * from './lib/types';
15
- export * from './lib/utils';
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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BTYW5kYm94TWFuYWdlckFwaVNlcnZpY2UgfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9zYW5kYm94LW1hbmFnZXItYXBpLnNlcnZpY2UnO1xuZXhwb3J0IHsgU3RhdGVmdWxDb25maWd1cmF0aW9uQXBpU2VydmljZSB9IGZyb20gJy4vbGliL3NlcnZpY2VzL3N0YXRlZnVsLWNvbmZpZ3VyYXRpb24tYXBpJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3R5cGVzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3V0aWxzJztcbiJdfQ==
@@ -1,60 +0,0 @@
1
- import { HttpClientModule } from '@angular/common/http';
2
- import { NgModule } from '@angular/core';
3
- import { ApiV2Module } from '@veloceapps/api/v2';
4
- import { BaseHttpService, XrayService } from '@veloceapps/core';
5
- import { AccountApiService } from './services/account-api.service';
6
- import { VeloceAuthService } from './services/auth.service';
7
- import { ContractedPriceApiService } from './services/contracted-price-api.service';
8
- import { FlowStateApiService } from './services/flow-state-api';
9
- import { OffersApiService } from './services/offers-api.service';
10
- import { OrgInfoApiService } from './services/org-info-api.service';
11
- import { PortalsApiService } from './services/portals-api.service';
12
- import { PromotionsApiService } from './services/promotions-api.service';
13
- import { RebateProgramApiService } from './services/rebate-program-api.service';
14
- import { RebateTypeApiService } from './services/rebate-type-api.service';
15
- import { SandboxManagerApiService } from './services/sandbox-manager-api.service';
16
- import { StatefulConfigurationApiService } from './services/stateful-configuration-api';
17
- import * as i0 from "@angular/core";
18
- export class ApiModule {
19
- }
20
- ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
21
- ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, imports: [HttpClientModule, ApiV2Module] });
22
- ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, providers: [
23
- BaseHttpService,
24
- XrayService,
25
- AccountApiService,
26
- OrgInfoApiService,
27
- OffersApiService,
28
- StatefulConfigurationApiService,
29
- RebateProgramApiService,
30
- RebateTypeApiService,
31
- PromotionsApiService,
32
- VeloceAuthService,
33
- ContractedPriceApiService,
34
- PortalsApiService,
35
- FlowStateApiService,
36
- SandboxManagerApiService,
37
- ], imports: [HttpClientModule, ApiV2Module] });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ApiModule, decorators: [{
39
- type: NgModule,
40
- args: [{
41
- imports: [HttpClientModule, ApiV2Module],
42
- providers: [
43
- BaseHttpService,
44
- XrayService,
45
- AccountApiService,
46
- OrgInfoApiService,
47
- OffersApiService,
48
- StatefulConfigurationApiService,
49
- RebateProgramApiService,
50
- RebateTypeApiService,
51
- PromotionsApiService,
52
- VeloceAuthService,
53
- ContractedPriceApiService,
54
- PortalsApiService,
55
- FlowStateApiService,
56
- SandboxManagerApiService,
57
- ],
58
- }]
59
- }] });
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYXBpL3NyYy9saWIvYXBpLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN4RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNqRCxPQUFPLEVBQUUsZUFBZSxFQUFFLFdBQVcsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2hFLE9BQU8s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