@veloceapps/api 12.0.0-12 → 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 (143) hide show
  1. package/{fesm2020 → fesm2022}/veloceapps-api-v2.mjs +128 -127
  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 -79
  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/event-logs.types.mjs +0 -2
  65. package/esm2020/v2/types/function.types.mjs +0 -2
  66. package/esm2020/v2/types/index.mjs +0 -8
  67. package/esm2020/v2/types/pcm.types.mjs +0 -2
  68. package/esm2020/v2/types/procedure.types.mjs +0 -2
  69. package/esm2020/v2/types/sales-transaction.types.mjs +0 -2
  70. package/esm2020/v2/types/search-request.types.mjs +0 -2
  71. package/esm2020/v2/utils/ui-definition.utils.mjs +0 -23
  72. package/esm2020/v2/utils/ui-template.utils.mjs +0 -13
  73. package/esm2020/v2/veloceapps-api-v2.mjs +0 -5
  74. package/esm2020/veloceapps-api.mjs +0 -5
  75. package/fesm2015/veloceapps-api-v2.mjs +0 -1726
  76. package/fesm2015/veloceapps-api-v2.mjs.map +0 -1
  77. package/fesm2015/veloceapps-api.mjs +0 -853
  78. package/fesm2015/veloceapps-api.mjs.map +0 -1
  79. package/fesm2020/veloceapps-api-v2.mjs.map +0 -1
  80. package/fesm2020/veloceapps-api.mjs.map +0 -1
  81. package/src/index.d.ts +0 -15
  82. package/src/lib/api.module.d.ts +0 -8
  83. package/src/lib/services/account-api.service.d.ts +0 -23
  84. package/src/lib/services/auth.service.d.ts +0 -11
  85. package/src/lib/services/contracted-price-api.service.d.ts +0 -16
  86. package/src/lib/services/flow-state-api.d.ts +0 -84
  87. package/src/lib/services/offers-api.service.d.ts +0 -19
  88. package/src/lib/services/org-info-api.service.d.ts +0 -19
  89. package/src/lib/services/portals-api.service.d.ts +0 -20
  90. package/src/lib/services/promotions-api.service.d.ts +0 -19
  91. package/src/lib/services/rebate-program-api.service.d.ts +0 -19
  92. package/src/lib/services/rebate-type-api.service.d.ts +0 -19
  93. package/src/lib/services/sandbox-manager-api.service.d.ts +0 -24
  94. package/src/lib/services/stateful-configuration-api.d.ts +0 -30
  95. package/src/lib/types/auth.types.d.ts +0 -4
  96. package/src/lib/types/clone-request.types.d.ts +0 -5
  97. package/src/lib/types/delta-request.types.d.ts +0 -5
  98. package/src/lib/types/dto/offers-dto.types.d.ts +0 -9
  99. package/src/lib/types/index.d.ts +0 -5
  100. package/src/lib/types/org-info.types.d.ts +0 -43
  101. package/src/lib/types/search-request.types.d.ts +0 -8
  102. package/src/lib/types/stateful-configuration.types.d.ts +0 -10
  103. package/src/lib/utils/canvas.utils.d.ts +0 -18
  104. package/src/lib/utils/index.d.ts +0 -1
  105. package/v2/api-v2.module.d.ts +0 -7
  106. package/v2/services/cache-api.service.d.ts +0 -11
  107. package/v2/services/catalog-admin-api.service.d.ts +0 -39
  108. package/v2/services/catalog-api.service.d.ts +0 -20
  109. package/v2/services/configuration-processors-api.service.d.ts +0 -14
  110. package/v2/services/configuration-settings-api.service.d.ts +0 -18
  111. package/v2/services/context-definition-admin-api.service.d.ts +0 -16
  112. package/v2/services/document-attachment-api.service.d.ts +0 -17
  113. package/v2/services/endpoints-admin-api.service.d.ts +0 -20
  114. package/v2/services/flows-api.service.d.ts +0 -13
  115. package/v2/services/functions-admin-api.service.d.ts +0 -25
  116. package/v2/services/guided-sellings-admin-api.service.d.ts +0 -20
  117. package/v2/services/guided-sellings-api.service.d.ts +0 -13
  118. package/v2/services/index.d.ts +0 -23
  119. package/v2/services/orchestrations-admin-api.service.d.ts +0 -21
  120. package/v2/services/orchestrations-api.service.d.ts +0 -12
  121. package/v2/services/pcm-api.service.d.ts +0 -12
  122. package/v2/services/picklists-admin-api.service.d.ts +0 -17
  123. package/v2/services/products-admin-api.service.d.ts +0 -21
  124. package/v2/services/sales-transactions-api.service.d.ts +0 -26
  125. package/v2/services/salesforce-api.service.d.ts +0 -26
  126. package/v2/services/shopping-cart-settings-api.service.d.ts +0 -14
  127. package/v2/services/ui-definitions-admin-api.service.d.ts +0 -18
  128. package/v2/services/ui-templates-admin-api.service.d.ts +0 -50
  129. package/v2/services/veloce-objects-api.service.d.ts +0 -23
  130. package/v2/types/attachment.types.d.ts +0 -4
  131. package/v2/types/clone-request.types.d.ts +0 -5
  132. package/v2/types/dto/configuration-settings-dto.types.d.ts +0 -9
  133. package/v2/types/dto/ui-definition-dto.types.d.ts +0 -7
  134. package/v2/types/dto/ui-template-dto.types.d.ts +0 -6
  135. package/v2/types/event-logs.types.d.ts +0 -9
  136. package/v2/types/function.types.d.ts +0 -17
  137. package/v2/types/index.d.ts +0 -7
  138. package/v2/types/pcm.types.d.ts +0 -10
  139. package/v2/types/procedure.types.d.ts +0 -61
  140. package/v2/types/sales-transaction.types.d.ts +0 -13
  141. package/v2/types/search-request.types.d.ts +0 -8
  142. package/v2/utils/ui-definition.utils.d.ts +0 -5
  143. package/v2/utils/ui-template.utils.d.ts +0 -3
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common/http";
3
- export declare class ApiV2Module {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ApiV2Module, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<ApiV2Module, never, [typeof i1.HttpClientModule], never>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<ApiV2Module>;
7
- }
@@ -1,11 +0,0 @@
1
- import { BaseHttpService, DataAdministrationField, HttpRequestConfigurableOptions } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class CacheApiService {
5
- private httpService;
6
- private readonly SERVICE_URL;
7
- constructor(httpService: BaseHttpService);
8
- clear$(name: DataAdministrationField, options?: HttpRequestConfigurableOptions): Observable<void>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<CacheApiService, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<CacheApiService>;
11
- }
@@ -1,39 +0,0 @@
1
- import { BaseHttpService, Catalog, CatalogProduct, Category, CategoryFilter, CategoryRequestPayloadWithData, Expression, NewCatalog, NewCategory, NewCategoryFilter, Product } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { CloneRequest, QuerySearchParams } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class CatalogAdminApiService {
6
- private baseHttpService;
7
- static MAX_RESULTS: number;
8
- private readonly serviceUrl;
9
- constructor(baseHttpService: BaseHttpService);
10
- fetchCatalogs$: (searchParams?: QuerySearchParams) => Observable<Catalog[]>;
11
- searchCatalogs$: (searchParams?: QuerySearchParams, expression?: Expression) => Observable<Catalog[]>;
12
- fetchCategories$: (catalogId: string) => Observable<Category[]>;
13
- searchProducts$: (catalogId: string, categoryId: string) => Observable<Product[]>;
14
- fetchAttributes$: (catalogId: string, categoryId: string) => Observable<CategoryFilter[]>;
15
- createNewCatalog$: (catalogData: NewCatalog) => Observable<Catalog>;
16
- duplicateCatalog$: (cloneRequest: CloneRequest) => Observable<Catalog>;
17
- updateCatalog$: (data: Catalog) => Observable<void>;
18
- removeCatalog$: (id: string) => Observable<void>;
19
- restoreCatalog$: (id: string) => Observable<void>;
20
- createNewCategory$: (categoryData: NewCategory) => Observable<Category>;
21
- updateCategory$: (category: Category) => Observable<Category>;
22
- duplicateCategory$: (catalogId: string, cloneRequest: CloneRequest) => Observable<string>;
23
- removeCategory$: (id: string, catalogId: string) => Observable<void>;
24
- restoreCategory$: (id: string, catalogId: string) => Observable<void>;
25
- removeAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<CategoryFilter>) => Observable<string>;
26
- restoreAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<CategoryFilter>) => Observable<void>;
27
- createNewAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<NewCategoryFilter>) => Observable<CategoryFilter>;
28
- updateAttribute$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<CategoryFilter>) => Observable<CategoryFilter>;
29
- searchProductCandidates$: (catalogId: string, categoryId: string, expression: Expression, searchParams: QuerySearchParams) => Observable<Product[]>;
30
- addProduct$: (product: Product, catalogId: string, categoryId: string) => Observable<any>;
31
- updateProduct$: (product: Partial<Product>, catalogId: string, categoryId: string) => Observable<CatalogProduct>;
32
- removeProduct$: ({ catalogId, categoryId, data, }: CategoryRequestPayloadWithData<Product>) => Observable<string>;
33
- attachImage$(catalogId: string, categoryId: string, file: File): Observable<void>;
34
- removeImage$(catalogId: string, categoryId: string): Observable<void>;
35
- fetchImage$(catalogId: string, categoryId: string): Observable<File>;
36
- getImageUrl(catalogId: string, categoryId: string): string;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<CatalogAdminApiService, never>;
38
- static ɵprov: i0.ɵɵInjectableDeclaration<CatalogAdminApiService>;
39
- }
@@ -1,20 +0,0 @@
1
- import { BaseHttpService, Catalog, Category, Expression, Product, SearchRequest } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { QuerySearchParams } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class CatalogApiService {
6
- private service;
7
- private readonly serviceUrl;
8
- constructor(service: BaseHttpService);
9
- fetchCatalogs$(): Observable<Catalog[]>;
10
- searchCatalogs$(searchParams?: QuerySearchParams, expression?: Expression): Observable<Catalog[]>;
11
- getCatalog$(id: string): Observable<Catalog>;
12
- fetchCategories$(catalogId: string): Observable<Category[]>;
13
- fetchCatalogProducts$(catalogId: string, searchParams?: QuerySearchParams, context?: Record<string, string>): Observable<Product[]>;
14
- fetchCategoryProducts$(catalogId: string, categoryId: string, searchParams?: QuerySearchParams, context?: Record<string, string>): Observable<Product[]>;
15
- searchCategoryProducts$(catalogId: string, categoryId: string, searchParams?: QuerySearchParams, searchRequest?: SearchRequest, context?: Record<string, string>): Observable<Product[]>;
16
- fetchEligibleProducts$(searchParams?: QuerySearchParams, context?: Record<string, string>): Observable<Product[]>;
17
- fetchProducts$(searchParams?: QuerySearchParams): Observable<Product[]>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<CatalogApiService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<CatalogApiService>;
20
- }
@@ -1,14 +0,0 @@
1
- import { BaseHttpService, ConfigurationProcessor } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class ConfigurationProcessorsApiService {
5
- private baseHttpService;
6
- private readonly serviceUrl;
7
- constructor(baseHttpService: BaseHttpService);
8
- fetchConfigurationProcessors$: (ownerId: string) => Observable<ConfigurationProcessor[]>;
9
- createConfigurationProcessors$: (configurationProcessor: ConfigurationProcessor) => Observable<ConfigurationProcessor>;
10
- updateConfigurationProcessors$: (configurationProcessor: ConfigurationProcessor) => Observable<ConfigurationProcessor>;
11
- deleteConfigurationProcessors$: (configurationProcessor: ConfigurationProcessor) => Observable<void>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationProcessorsApiService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationProcessorsApiService>;
14
- }
@@ -1,18 +0,0 @@
1
- import { BaseHttpService, ConfigurationSettings, HttpRequestConfigurableOptions } from '@veloceapps/core';
2
- import { MessageService } from 'primeng/api';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class ConfigurationSettingsApiService {
6
- private httpService;
7
- private messageService;
8
- private readonly SERVICE_URL;
9
- constructor(httpService: BaseHttpService, messageService: MessageService);
10
- fetchSettings(options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings[]>;
11
- fetchSetting(settingsKey: string, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings | null>;
12
- createSetting(setting: ConfigurationSettings, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings>;
13
- updateSetting(setting: ConfigurationSettings, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings>;
14
- removeSetting(setting: ConfigurationSettings, options?: HttpRequestConfigurableOptions): Observable<ConfigurationSettings>;
15
- restoreSetting(settingId: string, options?: HttpRequestConfigurableOptions): Observable<void>;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationSettingsApiService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationSettingsApiService>;
18
- }
@@ -1,16 +0,0 @@
1
- import { BaseHttpService, ContextDefinition, ContextDefinitionStructure, ContextMapping, ContextMappingDetails, RlmProcedure } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class ContextDefinitionAdminApiService {
5
- private baseHttpService;
6
- private readonly serviceUrl;
7
- constructor(baseHttpService: BaseHttpService);
8
- fetchContextDefinitions$(): Observable<ContextDefinition[]>;
9
- fetchContextMappings$(id: string): Observable<ContextMapping[]>;
10
- fetchContextMappingsDetails$(id: string): Observable<ContextMappingDetails[]>;
11
- fetchAcceptableContextMappings$(id: string, pricingProcedureId: string): Observable<ContextMappingDetails[]>;
12
- fetchContextDefinitionStructure$(id: string): Observable<ContextDefinitionStructure>;
13
- fetchRlmProcedures(contextDefinitionId?: string): Observable<RlmProcedure[]>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextDefinitionAdminApiService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextDefinitionAdminApiService>;
16
- }
@@ -1,17 +0,0 @@
1
- import { Attachment, BaseHttpService, FileDownloadService } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { TemplateAttachmentSearchRequest } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class DocumentAttachmentApiService {
6
- private httpService;
7
- private fileDownloadService;
8
- private readonly SERVICE_URL;
9
- constructor(httpService: BaseHttpService, fileDownloadService: FileDownloadService);
10
- getAttachments(searchRequest: TemplateAttachmentSearchRequest): Observable<Attachment[]>;
11
- createAttachment(attachment: Attachment, file?: File, reportProgress?: boolean): Observable<Attachment>;
12
- updateAttachment(id: string, attachment: Attachment): Observable<Attachment>;
13
- getAttachmentFile(id: string, isPreventDownload?: boolean): Observable<any>;
14
- removeAttachment(id: string): Observable<unknown>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<DocumentAttachmentApiService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<DocumentAttachmentApiService>;
17
- }
@@ -1,20 +0,0 @@
1
- import { BaseHttpService, Endpoint, EndpointExecuteRequest, Expression, NewEndpoint } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { CloneRequest } from '../types/clone-request.types';
4
- import * as i0 from "@angular/core";
5
- export declare class EndpointsAdminApiService {
6
- private baseHttpService;
7
- private readonly serviceUrl;
8
- constructor(baseHttpService: BaseHttpService);
9
- fetchEndpoints$(): Observable<Endpoint[]>;
10
- searchEndpoints$(expression: Expression, skip: number, count: number): Observable<Endpoint[]>;
11
- removeEndpoint$(id: string): Observable<void>;
12
- restoreEndpoint$(id: string): Observable<void>;
13
- fetchEndpoint$(id: string): Observable<Endpoint>;
14
- createEndpoint$(body: NewEndpoint): Observable<Endpoint>;
15
- updateEndpoint$(body: Endpoint): Observable<Endpoint>;
16
- duplicateEndpoint$(cloneRequest: CloneRequest): Observable<Endpoint>;
17
- executeEndpoint$(body: EndpointExecuteRequest): Observable<string>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<EndpointsAdminApiService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<EndpointsAdminApiService>;
20
- }
@@ -1,13 +0,0 @@
1
- import { Flow } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { ConfigurationSettingsApiService } from './configuration-settings-api.service';
4
- import * as i0 from "@angular/core";
5
- export declare class FlowsApiService {
6
- private configurationSettingsApiService;
7
- private readonly flowsKey;
8
- constructor(configurationSettingsApiService: ConfigurationSettingsApiService);
9
- getFlow(id: string): Observable<Flow>;
10
- fetchFlows(): Observable<Flow[]>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FlowsApiService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<FlowsApiService>;
13
- }
@@ -1,25 +0,0 @@
1
- import { BaseHttpService, Expression, FunctionDataSet, HeaderField, NewRule, Rule } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { CloneRequest, FunctionExecuteRequest, FunctionExecuteRequestData } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class FunctionsAdminApiService {
6
- private baseHttpService;
7
- private readonly serviceUrl;
8
- constructor(baseHttpService: BaseHttpService);
9
- fetchAll$: () => Observable<Rule[]>;
10
- search$: (expression: Expression, skip?: number, count?: number) => Observable<Rule[]>;
11
- create$: (rule: NewRule) => Observable<Rule>;
12
- update$: (rule: Rule) => Observable<Rule>;
13
- duplicate$: (body: CloneRequest) => Observable<string>;
14
- remove$: (id: string) => Observable<string>;
15
- restore$: (id: string) => Observable<string>;
16
- fetch$(id: string): Observable<Rule>;
17
- fetchHeaderFields$(): Observable<HeaderField[]>;
18
- execute$(body: FunctionExecuteRequest): Observable<FunctionExecuteRequestData>;
19
- executeExtractFunction$(body: FunctionExecuteRequest): Observable<string[]>;
20
- fetchFunctionDatasets$(): Observable<FunctionDataSet[]>;
21
- fetchFunctionTags$(): Observable<string[]>;
22
- fetchObjectParentIdFields$(objectName: string): Observable<string[]>;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<FunctionsAdminApiService, never>;
24
- static ɵprov: i0.ɵɵInjectableDeclaration<FunctionsAdminApiService>;
25
- }
@@ -1,20 +0,0 @@
1
- import { BaseHttpService, Expression, GuidedSelling, NewGuidedSelling } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { CloneRequest, QuerySearchParams } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class GuidedSellingsAdminApiService {
6
- private baseHttpService;
7
- static MAX_RESULTS: number;
8
- private readonly serviceUrl;
9
- constructor(baseHttpService: BaseHttpService);
10
- fetchGuidedSellings$: (searchParams?: QuerySearchParams) => Observable<GuidedSelling[]>;
11
- searchGuidedSellings$: (searchParams?: QuerySearchParams, expression?: Expression) => Observable<GuidedSelling[]>;
12
- fetchGuidedSelling$: (id: string) => Observable<GuidedSelling>;
13
- createNewGuidedSelling$: (guidedSelling: NewGuidedSelling) => Observable<GuidedSelling>;
14
- duplicateGuidedSelling$: (cloneRequest: CloneRequest) => Observable<GuidedSelling>;
15
- updateGuidedSelling$: (data: GuidedSelling) => Observable<void>;
16
- removeGuidedSelling$: (id: string) => Observable<void>;
17
- restoreGuidedSelling$: (id: string) => Observable<void>;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingsAdminApiService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<GuidedSellingsAdminApiService>;
20
- }
@@ -1,13 +0,0 @@
1
- import { BaseHttpService, GuidedSelling } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { QuerySearchParams } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class GuidedSellingApiService {
6
- private http;
7
- private readonly serviceUrl;
8
- constructor(http: BaseHttpService);
9
- searchByName$(name: string, searchParams?: QuerySearchParams): Observable<GuidedSelling[]>;
10
- searchById$(id: string, searchParams?: QuerySearchParams): Observable<GuidedSelling[]>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<GuidedSellingApiService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<GuidedSellingApiService>;
13
- }
@@ -1,23 +0,0 @@
1
- export * from './cache-api.service';
2
- export * from './catalog-admin-api.service';
3
- export * from './catalog-api.service';
4
- export * from './configuration-processors-api.service';
5
- export * from './configuration-settings-api.service';
6
- export * from './context-definition-admin-api.service';
7
- export * from './document-attachment-api.service';
8
- export * from './endpoints-admin-api.service';
9
- export * from './flows-api.service';
10
- export * from './functions-admin-api.service';
11
- export * from './guided-sellings-admin-api.service';
12
- export * from './guided-sellings-api.service';
13
- export * from './orchestrations-admin-api.service';
14
- export * from './orchestrations-api.service';
15
- export * from './pcm-api.service';
16
- export * from './picklists-admin-api.service';
17
- export * from './products-admin-api.service';
18
- export * from './sales-transactions-api.service';
19
- export * from './salesforce-api.service';
20
- export * from './shopping-cart-settings-api.service';
21
- export * from './ui-definitions-admin-api.service';
22
- export * from './ui-templates-admin-api.service';
23
- export * from './veloce-objects-api.service';
@@ -1,21 +0,0 @@
1
- import { BaseHttpService, Expression, NewProcedure, Procedure } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { CloneRequest, ProcedureExecuteRequest } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class OrchestrationsAdminApiService {
6
- private baseHttpService;
7
- private readonly SERVICE_URL;
8
- constructor(baseHttpService: BaseHttpService);
9
- fetchAll$: () => Observable<Procedure[]>;
10
- search$: (expression: Expression, skip: number, count: number) => Observable<Procedure[]>;
11
- create$: (newProcedure: NewProcedure) => Observable<Procedure>;
12
- update$: (procedure: Procedure) => Observable<Procedure>;
13
- duplicate$: (body: CloneRequest) => Observable<string>;
14
- remove$: (id: string) => Observable<string>;
15
- restore$: (id: string) => Observable<string>;
16
- fetch$(id: string): Observable<Procedure>;
17
- execute$(body: ProcedureExecuteRequest): Observable<string[]>;
18
- catalogExecute$(body: ProcedureExecuteRequest): Observable<string[]>;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<OrchestrationsAdminApiService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<OrchestrationsAdminApiService>;
21
- }
@@ -1,12 +0,0 @@
1
- import { BaseHttpService, HttpRequestConfigurableOptions, TransactionContext } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { ProcedureApplyRequest } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class OrchestrationsApiService {
6
- private baseHttpService;
7
- private readonly SERVICE_URL;
8
- constructor(baseHttpService: BaseHttpService);
9
- apply$(request: ProcedureApplyRequest, options?: HttpRequestConfigurableOptions): Observable<TransactionContext>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<OrchestrationsApiService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<OrchestrationsApiService>;
12
- }
@@ -1,12 +0,0 @@
1
- import { PCMModel } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { SalesforceApiService } from './salesforce-api.service';
4
- import * as i0 from "@angular/core";
5
- export declare class PCMApiService {
6
- private sfApiService;
7
- constructor(sfApiService: SalesforceApiService);
8
- fetchPCMByProductId(productId: string): Observable<PCMModel>;
9
- private fixUrls;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<PCMApiService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<PCMApiService>;
12
- }
@@ -1,17 +0,0 @@
1
- import { BaseHttpService, NewPicklist, NewPicklistValue, Picklist } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class PicklistsAdminApiService {
5
- private baseHttpService;
6
- private readonly serviceUrl;
7
- constructor(baseHttpService: BaseHttpService);
8
- fetchAllPicklists$: () => Observable<Picklist[]>;
9
- fetchPicklist$: (code: string) => Observable<Picklist>;
10
- createPicklist$: (picklist: NewPicklist) => Observable<Picklist>;
11
- updatePicklist$: (picklist: Picklist) => Observable<Picklist>;
12
- removePicklist$: (id: string) => Observable<void>;
13
- restorePicklist$: (id: string) => Observable<void>;
14
- addPicklistValue$: (picklist: Picklist, value: NewPicklistValue) => Observable<Picklist>;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<PicklistsAdminApiService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<PicklistsAdminApiService>;
17
- }
@@ -1,21 +0,0 @@
1
- import { BaseHttpService, Expression, LazyChunkRequest, NewProduct, Product } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class ProductsAdminApiService {
5
- private baseHttpService;
6
- private readonly serviceUrl;
7
- constructor(baseHttpService: BaseHttpService);
8
- fetchProducts$: (payload: LazyChunkRequest) => Observable<Product[]>;
9
- searchProducts$: (expression: Expression, skip: number, count: number) => Observable<Product[]>;
10
- fetchProduct$: (id: string) => Observable<Product>;
11
- createNewProduct$: (productData: NewProduct) => Observable<Product>;
12
- updateProduct$: (body: Product) => Observable<Product>;
13
- removeProduct$: (id: string) => Observable<string>;
14
- restoreProduct$: (id: string) => Observable<void>;
15
- attachImage$(productId: string, file: File): Observable<void>;
16
- removeImage$(productId: string): Observable<void>;
17
- fetchImage$(productId: string): Observable<File>;
18
- getImageUrl(productId: string): string;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductsAdminApiService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<ProductsAdminApiService>;
21
- }
@@ -1,26 +0,0 @@
1
- import { BaseHttpService, HttpRequestConfigurableOptions, TransactionContext } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { SalesTransactionRequestParams, SalesTransactionUpsertRequest } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class SalesTransactionApiService {
6
- private httpService;
7
- private readonly SERVICE_URL;
8
- constructor(httpService: BaseHttpService);
9
- /**
10
- * This endpoint doesn't include orders and assets
11
- * @param objectId SF record ID (quoteId | accountId | opportunityId | orderId etc)
12
- * @param params Query params
13
- * @param options Request options
14
- */
15
- getState(objectId: string, params?: SalesTransactionRequestParams, options?: HttpRequestConfigurableOptions): Observable<TransactionContext>;
16
- /**
17
- * This endpoint doesn't include orders and assets
18
- * @param headerId SF record ID (quoteId | accountId | opportunityId | orderId etc)
19
- * @param params Query params
20
- * @param options Request options
21
- */
22
- query(headerId: string, params?: Record<string, string>, options?: HttpRequestConfigurableOptions): Observable<TransactionContext>;
23
- save(request: SalesTransactionUpsertRequest, options?: HttpRequestConfigurableOptions): Observable<string>;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<SalesTransactionApiService, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<SalesTransactionApiService>;
26
- }
@@ -1,26 +0,0 @@
1
- import { HttpParams } from '@angular/common/http';
2
- import { BaseHttpService, GlobalPicklist, GlobalPicklistValue, HttpRequestConfigurableOptions, SalesforceField, SalesforceObject, SearchRequest } from '@veloceapps/core';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class SalesforceApiService {
6
- private httpService;
7
- private readonly SERVICE_URL;
8
- constructor(httpService: BaseHttpService);
9
- query<T>(searchRequest: SearchRequest, objectName: string, options?: HttpRequestConfigurableOptions): Observable<T[]>;
10
- queryObjects(search?: string, options?: HttpRequestConfigurableOptions): Observable<SalesforceObject[]>;
11
- search<T = any>(req: {
12
- searchString: string;
13
- }, options?: HttpRequestConfigurableOptions): Observable<{
14
- searchRecords: T[];
15
- }>;
16
- describeObject(objectName: string, options?: HttpRequestConfigurableOptions): Observable<SalesforceField[]>;
17
- describeField(objectName: string, fieldName: string, options?: HttpRequestConfigurableOptions): Observable<SalesforceField>;
18
- describe2<T>(objectName: string, fields: string[], options?: HttpRequestConfigurableOptions): Observable<T>;
19
- apexGetRequest<T>(path: string, params: HttpParams | Record<string, any>, options?: HttpRequestConfigurableOptions): Observable<T>;
20
- apexPostRequest<T, S>(path: string, body: S, options?: HttpRequestConfigurableOptions): Observable<T>;
21
- restGetRequest<T>(path: string, params: HttpParams | Record<string, any>, options?: HttpRequestConfigurableOptions): Observable<T>;
22
- getGlobalPicklists(): Observable<GlobalPicklist[]>;
23
- getGlobalPicklistValues(id: string): Observable<GlobalPicklistValue[]>;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<SalesforceApiService, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<SalesforceApiService>;
26
- }
@@ -1,14 +0,0 @@
1
- import { ConfigurationSettings, ShoppingCartSetting, ShoppingCartSettings } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { ConfigurationSettingsApiService } from './configuration-settings-api.service';
4
- import * as i0 from "@angular/core";
5
- export declare class ShoppingCartSettingsApiService {
6
- private configurationSettingsApiService;
7
- private readonly shoppingCartSettingsKey;
8
- constructor(configurationSettingsApiService: ConfigurationSettingsApiService);
9
- getSetting(id: string): Observable<ShoppingCartSetting | undefined>;
10
- fetchSettings(): Observable<ConfigurationSettings | null>;
11
- getSettingsMap(): Observable<ShoppingCartSettings>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ShoppingCartSettingsApiService, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<ShoppingCartSettingsApiService>;
14
- }
@@ -1,18 +0,0 @@
1
- import { BaseHttpService, HttpRequestConfigurableOptions, NewUIDefinitionContainer, UIDefinitionContainer } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class UIDefinitionsAdminApiService {
5
- private baseHttpService;
6
- private readonly serviceUrl;
7
- constructor(baseHttpService: BaseHttpService);
8
- fetchAll$(params?: {
9
- productId?: string;
10
- defaultUIDefinitionId?: string;
11
- }, options?: HttpRequestConfigurableOptions): Observable<UIDefinitionContainer[]>;
12
- fetch$(id: string, options?: HttpRequestConfigurableOptions): Observable<UIDefinitionContainer>;
13
- create$(uiDefinitionContainer: NewUIDefinitionContainer): Observable<UIDefinitionContainer>;
14
- update$(uiDefinitionContainer: UIDefinitionContainer): Observable<UIDefinitionContainer>;
15
- delete$(id: string): Observable<void>;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<UIDefinitionsAdminApiService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<UIDefinitionsAdminApiService>;
18
- }
@@ -1,50 +0,0 @@
1
- import { BaseHttpService, ComponentAttachments, ComponentStory, ComponentStoryAttachments, Expression, NewComponentStory, NewTemplateComponent, NewUITemplate, TemplateAttachmentType, TemplateComponent, UITemplate } from '@veloceapps/core';
2
- import { Dictionary } from 'lodash';
3
- import { Observable } from 'rxjs';
4
- import { CloneRequest } from '../types/clone-request.types';
5
- import * as i0 from "@angular/core";
6
- export declare class UITemplatesAdminApiService {
7
- private baseHttpService;
8
- private readonly serviceUrl;
9
- constructor(baseHttpService: BaseHttpService);
10
- fetchTemplates$: (name?: string) => Observable<UITemplate[]>;
11
- createTemplate$: (template: NewUITemplate) => Observable<UITemplate>;
12
- updateTemplate$: (template: UITemplate) => Observable<UITemplate>;
13
- duplicateTemplate$: (template: UITemplate, cloneRequest: CloneRequest) => Observable<string>;
14
- removeTemplate$: (id: string) => Observable<void>;
15
- restoreTemplate$: (id: string) => Observable<void>;
16
- searchTemplates$: (data: {
17
- params?: Dictionary<string>;
18
- expression?: Expression;
19
- }) => Observable<UITemplate[]>;
20
- fetchComponents$: (templateId: string, name?: string) => Observable<TemplateComponent[]>;
21
- fetchComponent$: (templateId: string, componentId: string) => Observable<TemplateComponent>;
22
- createComponent$: (component: NewTemplateComponent) => Observable<TemplateComponent>;
23
- updateComponent$: (component: TemplateComponent) => Observable<TemplateComponent>;
24
- duplicateComponent$: (component: TemplateComponent, cloneRequest: CloneRequest) => Observable<string>;
25
- removeComponent$: (templateId: string, componentId: string) => Observable<void>;
26
- restoreComponent$: (templateId: string, componentId: string) => Observable<void>;
27
- searchComponents$: (templateId: string, data: {
28
- params?: Dictionary<string>;
29
- expression?: Expression;
30
- }) => Observable<TemplateComponent[]>;
31
- fetchStoryAttachment: (templateId: string, componentId: string, storyId: string, type: TemplateAttachmentType) => Observable<string>;
32
- private convertToComponentStory$;
33
- fetchStories$: (templateId: string, componentId: string, name?: string) => Observable<ComponentStory[]>;
34
- fetchStory$: (templateId: string, componentId: string, storyId: string) => Observable<ComponentStory>;
35
- createComponentStory$: (templateId: string, story: NewComponentStory) => Observable<ComponentStory>;
36
- updateComponentStory$: (templateId: string, story: ComponentStory) => Observable<ComponentStory>;
37
- duplicateComponentStory$: (story: ComponentStory, cloneRequest: CloneRequest) => Observable<string>;
38
- deleteComponentStory$: (templateId: string, componentId: string, storyId: string) => Observable<void>;
39
- restoreComponentStory$: (templateId: string, componentId: string, storyId: string) => Observable<void>;
40
- uploadStoryAttachments$: (templateId: string, componentId: string, storyId: string, attachments: ComponentStoryAttachments) => Observable<void>;
41
- getTemplateThumbnailUrl(templateId: string): string;
42
- attachTemplateThumbnail$(templateId: string, file: File): Observable<any>;
43
- removeTemplateThumbnail$(templateId: string): Observable<any>;
44
- fetchComponentAttachments$: (templateId: string, component: TemplateComponent) => Observable<ComponentAttachments>;
45
- fetchComponentsAttachments$: (templateId: string) => Observable<ComponentAttachments[]>;
46
- private fetchComponentAttachmentFile$;
47
- uploadComponentAttachments$: (templateId: string, componentId: string, attachments: ComponentAttachments) => Observable<void>;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<UITemplatesAdminApiService, never>;
49
- static ɵprov: i0.ɵɵInjectableDeclaration<UITemplatesAdminApiService>;
50
- }
@@ -1,23 +0,0 @@
1
- import { BaseHttpService, Expression, NewVeloceObject, NewVeloceObjectCategory, VeloceObject, VeloceObjectCategory } from '@veloceapps/core';
2
- import { Observable } from 'rxjs';
3
- import { CloneRequest, QuerySearchParams } from '../types';
4
- import * as i0 from "@angular/core";
5
- export declare class VeloceObjectsAdminApiService {
6
- private baseHttpService;
7
- private readonly serviceUrl;
8
- constructor(baseHttpService: BaseHttpService);
9
- fetchCategories$(): Observable<VeloceObjectCategory[]>;
10
- createCategory$(category: NewVeloceObjectCategory): Observable<VeloceObjectCategory>;
11
- updateCategory$: (category: VeloceObjectCategory) => Observable<VeloceObjectCategory>;
12
- deleteCategory$: (id: string) => Observable<void>;
13
- fetchObjects$(): Observable<VeloceObject[]>;
14
- fetchObject$(id: string): Observable<VeloceObject>;
15
- searchObjects$: (searchParams?: QuerySearchParams, expression?: Expression) => Observable<VeloceObject[]>;
16
- createObject$(object: NewVeloceObject): Observable<VeloceObject>;
17
- updateObject$(object: VeloceObject): Observable<VeloceObject>;
18
- deleteObject$: (id: string) => Observable<void>;
19
- duplicateObject$: (body: CloneRequest) => Observable<string>;
20
- restoreObject$: (id: string) => Observable<void>;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<VeloceObjectsAdminApiService, never>;
22
- static ɵprov: i0.ɵɵInjectableDeclaration<VeloceObjectsAdminApiService>;
23
- }
@@ -1,4 +0,0 @@
1
- export interface TemplateAttachmentSearchRequest {
2
- linkedEntityId: string;
3
- tag?: string;
4
- }
@@ -1,5 +0,0 @@
1
- import { Dictionary } from 'lodash';
2
- export interface CloneRequest {
3
- id: string;
4
- propertiesToOverride: Dictionary<any>;
5
- }
@@ -1,9 +0,0 @@
1
- import { ConfigurationSettings } from '@veloceapps/core';
2
- export declare class ConfigurationSettingsDTO {
3
- id: string;
4
- key: string;
5
- value: string;
6
- static fromDTO(dto: ConfigurationSettingsDTO, key?: string): ConfigurationSettings;
7
- static toDTO(data: ConfigurationSettings): ConfigurationSettingsDTO;
8
- constructor(id: string, key: string, value: string);
9
- }
@@ -1,7 +0,0 @@
1
- import { NewUIDefinitionContainer, UIDefinitionContainer } from '@veloceapps/core';
2
- export type UIDefinitionContainerDTO = Omit<UIDefinitionContainer, 'source'> & {
3
- sourceBlob: string;
4
- };
5
- export type NewUIDefinitionContainerDTO = Omit<NewUIDefinitionContainer, 'source'> & {
6
- sourceBlob: string;
7
- };
@@ -1,6 +0,0 @@
1
- export interface UIComponentStoryDTO {
2
- id: string;
3
- name: string;
4
- uiComponentId: string;
5
- description?: string;
6
- }
@@ -1,9 +0,0 @@
1
- export interface EventLog {
2
- Timestamp: string;
3
- Id: string;
4
- Type: string;
5
- Success: boolean;
6
- 'Variable Name': string;
7
- 'Sales Transaction Item Id': string;
8
- [key: string]: any;
9
- }
@@ -1,17 +0,0 @@
1
- import { ContextNode, Rule, TransactionContext } from '@veloceapps/core';
2
- import { EventLog } from './event-logs.types';
3
- export interface FunctionExecuteRequest {
4
- function: Rule;
5
- data: FunctionExecuteRequestData;
6
- enableEventLogs: boolean;
7
- }
8
- export interface FunctionExecuteRequestData {
9
- context?: TransactionContext;
10
- dataSets?: Record<string, ContextNode[]>;
11
- doNotAlignEndDates?: boolean;
12
- deployStartDateGradually?: boolean;
13
- deployEndDateGradually?: boolean;
14
- events?: unknown[];
15
- logs?: string[];
16
- eventLogs?: EventLog[];
17
- }
@@ -1,7 +0,0 @@
1
- export * from './attachment.types';
2
- export * from './clone-request.types';
3
- export * from './event-logs.types';
4
- export * from './function.types';
5
- export * from './procedure.types';
6
- export * from './sales-transaction.types';
7
- export * from './search-request.types';