@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.
- package/{fesm2020 → fesm2022}/veloceapps-api-v2.mjs +128 -127
- package/fesm2022/veloceapps-api-v2.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/veloceapps-api.mjs +70 -70
- package/fesm2022/veloceapps-api.mjs.map +1 -0
- package/index.d.ts +382 -1
- package/package.json +7 -19
- package/v2/index.d.ts +562 -3
- package/esm2020/index.mjs +0 -2
- package/esm2020/src/index.mjs +0 -16
- package/esm2020/src/lib/api.module.mjs +0 -60
- package/esm2020/src/lib/services/account-api.service.mjs +0 -87
- package/esm2020/src/lib/services/auth.service.mjs +0 -22
- package/esm2020/src/lib/services/contracted-price-api.service.mjs +0 -45
- package/esm2020/src/lib/services/flow-state-api.mjs +0 -142
- package/esm2020/src/lib/services/offers-api.service.mjs +0 -76
- package/esm2020/src/lib/services/org-info-api.service.mjs +0 -54
- package/esm2020/src/lib/services/portals-api.service.mjs +0 -76
- package/esm2020/src/lib/services/promotions-api.service.mjs +0 -68
- package/esm2020/src/lib/services/rebate-program-api.service.mjs +0 -68
- package/esm2020/src/lib/services/rebate-type-api.service.mjs +0 -68
- package/esm2020/src/lib/services/sandbox-manager-api.service.mjs +0 -94
- package/esm2020/src/lib/services/stateful-configuration-api.mjs +0 -51
- package/esm2020/src/lib/types/auth.types.mjs +0 -2
- package/esm2020/src/lib/types/clone-request.types.mjs +0 -2
- package/esm2020/src/lib/types/delta-request.types.mjs +0 -2
- package/esm2020/src/lib/types/dto/offers-dto.types.mjs +0 -2
- package/esm2020/src/lib/types/index.mjs +0 -6
- package/esm2020/src/lib/types/org-info.types.mjs +0 -2
- package/esm2020/src/lib/types/search-request.types.mjs +0 -2
- package/esm2020/src/lib/types/stateful-configuration.types.mjs +0 -2
- package/esm2020/src/lib/utils/canvas.utils.mjs +0 -33
- package/esm2020/src/lib/utils/index.mjs +0 -2
- package/esm2020/v2/api-v2.module.mjs +0 -70
- package/esm2020/v2/index.mjs +0 -4
- package/esm2020/v2/services/cache-api.service.mjs +0 -22
- package/esm2020/v2/services/catalog-admin-api.service.mjs +0 -192
- package/esm2020/v2/services/catalog-api.service.mjs +0 -90
- package/esm2020/v2/services/configuration-processors-api.service.mjs +0 -38
- package/esm2020/v2/services/configuration-settings-api.service.mjs +0 -89
- package/esm2020/v2/services/context-definition-admin-api.service.mjs +0 -78
- package/esm2020/v2/services/document-attachment-api.service.mjs +0 -66
- package/esm2020/v2/services/endpoints-admin-api.service.mjs +0 -79
- package/esm2020/v2/services/flows-api.service.mjs +0 -29
- package/esm2020/v2/services/functions-admin-api.service.mjs +0 -116
- package/esm2020/v2/services/guided-sellings-admin-api.service.mjs +0 -65
- package/esm2020/v2/services/guided-sellings-api.service.mjs +0 -37
- package/esm2020/v2/services/index.mjs +0 -24
- package/esm2020/v2/services/orchestrations-admin-api.service.mjs +0 -87
- package/esm2020/v2/services/orchestrations-api.service.mjs +0 -23
- package/esm2020/v2/services/pcm-api.service.mjs +0 -38
- package/esm2020/v2/services/picklists-admin-api.service.mjs +0 -41
- package/esm2020/v2/services/products-admin-api.service.mjs +0 -90
- package/esm2020/v2/services/sales-transactions-api.service.mjs +0 -52
- package/esm2020/v2/services/salesforce-api.service.mjs +0 -83
- package/esm2020/v2/services/shopping-cart-settings-api.service.mjs +0 -28
- package/esm2020/v2/services/ui-definitions-admin-api.service.mjs +0 -70
- package/esm2020/v2/services/ui-templates-admin-api.service.mjs +0 -286
- package/esm2020/v2/services/veloce-objects-api.service.mjs +0 -90
- package/esm2020/v2/types/attachment.types.mjs +0 -2
- package/esm2020/v2/types/clone-request.types.mjs +0 -2
- package/esm2020/v2/types/dto/configuration-settings-dto.types.mjs +0 -22
- package/esm2020/v2/types/dto/ui-definition-dto.types.mjs +0 -2
- package/esm2020/v2/types/dto/ui-template-dto.types.mjs +0 -2
- package/esm2020/v2/types/event-logs.types.mjs +0 -2
- package/esm2020/v2/types/function.types.mjs +0 -2
- package/esm2020/v2/types/index.mjs +0 -8
- package/esm2020/v2/types/pcm.types.mjs +0 -2
- package/esm2020/v2/types/procedure.types.mjs +0 -2
- package/esm2020/v2/types/sales-transaction.types.mjs +0 -2
- package/esm2020/v2/types/search-request.types.mjs +0 -2
- package/esm2020/v2/utils/ui-definition.utils.mjs +0 -23
- package/esm2020/v2/utils/ui-template.utils.mjs +0 -13
- package/esm2020/v2/veloceapps-api-v2.mjs +0 -5
- package/esm2020/veloceapps-api.mjs +0 -5
- package/fesm2015/veloceapps-api-v2.mjs +0 -1726
- package/fesm2015/veloceapps-api-v2.mjs.map +0 -1
- package/fesm2015/veloceapps-api.mjs +0 -853
- package/fesm2015/veloceapps-api.mjs.map +0 -1
- package/fesm2020/veloceapps-api-v2.mjs.map +0 -1
- package/fesm2020/veloceapps-api.mjs.map +0 -1
- package/src/index.d.ts +0 -15
- package/src/lib/api.module.d.ts +0 -8
- package/src/lib/services/account-api.service.d.ts +0 -23
- package/src/lib/services/auth.service.d.ts +0 -11
- package/src/lib/services/contracted-price-api.service.d.ts +0 -16
- package/src/lib/services/flow-state-api.d.ts +0 -84
- package/src/lib/services/offers-api.service.d.ts +0 -19
- package/src/lib/services/org-info-api.service.d.ts +0 -19
- package/src/lib/services/portals-api.service.d.ts +0 -20
- package/src/lib/services/promotions-api.service.d.ts +0 -19
- package/src/lib/services/rebate-program-api.service.d.ts +0 -19
- package/src/lib/services/rebate-type-api.service.d.ts +0 -19
- package/src/lib/services/sandbox-manager-api.service.d.ts +0 -24
- package/src/lib/services/stateful-configuration-api.d.ts +0 -30
- package/src/lib/types/auth.types.d.ts +0 -4
- package/src/lib/types/clone-request.types.d.ts +0 -5
- package/src/lib/types/delta-request.types.d.ts +0 -5
- package/src/lib/types/dto/offers-dto.types.d.ts +0 -9
- package/src/lib/types/index.d.ts +0 -5
- package/src/lib/types/org-info.types.d.ts +0 -43
- package/src/lib/types/search-request.types.d.ts +0 -8
- package/src/lib/types/stateful-configuration.types.d.ts +0 -10
- package/src/lib/utils/canvas.utils.d.ts +0 -18
- package/src/lib/utils/index.d.ts +0 -1
- package/v2/api-v2.module.d.ts +0 -7
- package/v2/services/cache-api.service.d.ts +0 -11
- package/v2/services/catalog-admin-api.service.d.ts +0 -39
- package/v2/services/catalog-api.service.d.ts +0 -20
- package/v2/services/configuration-processors-api.service.d.ts +0 -14
- package/v2/services/configuration-settings-api.service.d.ts +0 -18
- package/v2/services/context-definition-admin-api.service.d.ts +0 -16
- package/v2/services/document-attachment-api.service.d.ts +0 -17
- package/v2/services/endpoints-admin-api.service.d.ts +0 -20
- package/v2/services/flows-api.service.d.ts +0 -13
- package/v2/services/functions-admin-api.service.d.ts +0 -25
- package/v2/services/guided-sellings-admin-api.service.d.ts +0 -20
- package/v2/services/guided-sellings-api.service.d.ts +0 -13
- package/v2/services/index.d.ts +0 -23
- package/v2/services/orchestrations-admin-api.service.d.ts +0 -21
- package/v2/services/orchestrations-api.service.d.ts +0 -12
- package/v2/services/pcm-api.service.d.ts +0 -12
- package/v2/services/picklists-admin-api.service.d.ts +0 -17
- package/v2/services/products-admin-api.service.d.ts +0 -21
- package/v2/services/sales-transactions-api.service.d.ts +0 -26
- package/v2/services/salesforce-api.service.d.ts +0 -26
- package/v2/services/shopping-cart-settings-api.service.d.ts +0 -14
- package/v2/services/ui-definitions-admin-api.service.d.ts +0 -18
- package/v2/services/ui-templates-admin-api.service.d.ts +0 -50
- package/v2/services/veloce-objects-api.service.d.ts +0 -23
- package/v2/types/attachment.types.d.ts +0 -4
- package/v2/types/clone-request.types.d.ts +0 -5
- package/v2/types/dto/configuration-settings-dto.types.d.ts +0 -9
- package/v2/types/dto/ui-definition-dto.types.d.ts +0 -7
- package/v2/types/dto/ui-template-dto.types.d.ts +0 -6
- package/v2/types/event-logs.types.d.ts +0 -9
- package/v2/types/function.types.d.ts +0 -17
- package/v2/types/index.d.ts +0 -7
- package/v2/types/pcm.types.d.ts +0 -10
- package/v2/types/procedure.types.d.ts +0 -61
- package/v2/types/sales-transaction.types.d.ts +0 -13
- package/v2/types/search-request.types.d.ts +0 -8
- package/v2/utils/ui-definition.utils.d.ts +0 -5
- package/v2/utils/ui-template.utils.d.ts +0 -3
package/v2/types/pcm.types.d.ts
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
import { ExtractRuleMapper, ExtractRuleQuery, ExtractRuleRequest, MetricRuleMapper, Procedure, RuleCondition, RuleMapper, RuleTypes, TransactionContext } from '@veloceapps/core';
|
2
|
-
export interface ProcedureApplyRequest {
|
3
|
-
transactionContext: TransactionContext;
|
4
|
-
orchestrationName?: string;
|
5
|
-
flowId?: string;
|
6
|
-
}
|
7
|
-
export interface OrchestrationNew {
|
8
|
-
id: string;
|
9
|
-
name: string;
|
10
|
-
description: string;
|
11
|
-
type?: string;
|
12
|
-
active: boolean;
|
13
|
-
deployStartDateGradually: boolean;
|
14
|
-
deployEndDateGradually: boolean;
|
15
|
-
contextDefinitionId?: string;
|
16
|
-
steps?: OrchestrationStepNew[];
|
17
|
-
}
|
18
|
-
export interface OrchestrationStepNew {
|
19
|
-
id?: string;
|
20
|
-
name: string;
|
21
|
-
active: boolean;
|
22
|
-
sequence?: number;
|
23
|
-
orchestrationId?: string;
|
24
|
-
parentStepId?: string;
|
25
|
-
functionId?: string;
|
26
|
-
function?: FunctionRule;
|
27
|
-
steps?: OrchestrationStepNew[];
|
28
|
-
}
|
29
|
-
export interface NewFunctionRule {
|
30
|
-
name: string;
|
31
|
-
sequence: number;
|
32
|
-
description: string;
|
33
|
-
parentId: string;
|
34
|
-
active: boolean;
|
35
|
-
type?: RuleTypes;
|
36
|
-
cached?: boolean;
|
37
|
-
duration?: number;
|
38
|
-
}
|
39
|
-
export interface FunctionRule extends NewFunctionRule {
|
40
|
-
id: string;
|
41
|
-
contextDefinitionId?: string;
|
42
|
-
contextMappingId?: string;
|
43
|
-
procedure: ProcedureInvocation;
|
44
|
-
conditions: RuleCondition[];
|
45
|
-
queries: ExtractRuleQuery[];
|
46
|
-
requests: ExtractRuleRequest[];
|
47
|
-
actions: RuleMapper[] | MetricRuleMapper[] | ExtractRuleMapper[];
|
48
|
-
transformations: any[];
|
49
|
-
parentName: string;
|
50
|
-
parentType: RuleTypes;
|
51
|
-
isDefault: boolean;
|
52
|
-
}
|
53
|
-
export interface ProcedureInvocation {
|
54
|
-
id?: string;
|
55
|
-
functionId: string;
|
56
|
-
pricingProcedureId: string;
|
57
|
-
}
|
58
|
-
export interface ProcedureExecuteRequest {
|
59
|
-
orchestration: Procedure;
|
60
|
-
context: any;
|
61
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { TransactionContext } from '@veloceapps/core';
|
2
|
-
export interface SalesTransactionUpsertRequest {
|
3
|
-
transactionContext: TransactionContext;
|
4
|
-
orchestrationName?: string;
|
5
|
-
flowId?: string;
|
6
|
-
}
|
7
|
-
export interface SalesTransactionRequestParams {
|
8
|
-
contextMappingId?: string;
|
9
|
-
[key: string]: unknown;
|
10
|
-
}
|
11
|
-
export interface SalesTransactionUpsertResponse {
|
12
|
-
id: string;
|
13
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { NewUIDefinitionContainer, UIDefinitionContainer } from '@veloceapps/core';
|
2
|
-
import { NewUIDefinitionContainerDTO, UIDefinitionContainerDTO } from '../types/dto/ui-definition-dto.types';
|
3
|
-
export declare function uiDefinitionFromDTO(container: UIDefinitionContainerDTO): UIDefinitionContainer;
|
4
|
-
export declare function uiDefinitionToDTO(container: UIDefinitionContainer): UIDefinitionContainerDTO;
|
5
|
-
export declare function newUiDefinitionToDTO(container: NewUIDefinitionContainer): NewUIDefinitionContainerDTO;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import { ComponentStory, ComponentStoryAttachments } from '@veloceapps/core';
|
2
|
-
import { UIComponentStoryDTO } from '../types/dto/ui-template-dto.types';
|
3
|
-
export declare const fromUIComponentStoryDTO: (dto: UIComponentStoryDTO, attachments: ComponentStoryAttachments) => ComponentStory;
|