@salesforce/lds-adapters-industries-loyalty-engine 0.131.0
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/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-loyalty-engine.js +4461 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/createProgramProcessRule.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/executeRealtimeLoyaltyEngine.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getJournalExplainabilityInfo.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getProgramProcessRule.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/updateProgramProcessRule.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLoyaltyProgramProcessTransactionJournalsByJournalId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectBatchLoyaltyProgramsByProgramName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectFormulaLoyaltyProcessByProcessId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectRealtimeLoyaltyProgramsByProgramName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectLoyaltyProgramsProcessesByProcessNameAndProgramName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/ActionOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CreditPointsActionOutputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/DebitPointsActionOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ExpressionRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ExpressionValueRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormulaInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormulaOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormulaSyntaxValidationInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FormulaSyntaxValidationOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/IssueVoucherActionOutputRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineBatchOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineInputMapRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineInputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineRealtimeOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyEngineRunSettingsRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyExplainabilityOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProcessInput.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleActionParameterRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleActionRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionFilterCriteriaRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionGroupRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleConditionRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/LoyaltyProgramProcessRuleStepRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyChangeOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyChangeRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/MemberCurrencyRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/MemberPointsBalanceChangeRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/MemberPointsBalanceRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/PointsSummaryRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProcessResultRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionParameterInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionParameterRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleActionRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionFilterCriteriaInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionFilterCriteriaRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleConditionRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleDetailRepresentation.d.ts +78 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleErrorRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleInputRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStatusRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStepMappingInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ProcessRuleStepMappingRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ProgramProcessRule.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/SummaryRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/TransactionJournalResultRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCumulativeUsageActionOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/VoucherOutputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/VoucherResultRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4513 -0
- package/src/raml/api.raml +1331 -0
- package/src/raml/luvio.raml +51 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectFreeze: {
|
|
7
|
+
<T extends Function>(f: T): T;
|
|
8
|
+
<T_1 extends {
|
|
9
|
+
[idx: string]: object | U | null | undefined;
|
|
10
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
|
+
}, ObjectCreate: {
|
|
13
|
+
(o: object | null): any;
|
|
14
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
|
+
};
|
|
16
|
+
export { ObjectFreeze, ObjectCreate, ObjectKeys };
|
|
17
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
|
+
export interface AdapterValidationConfig {
|
|
20
|
+
displayName: string;
|
|
21
|
+
parameters: {
|
|
22
|
+
required: string[];
|
|
23
|
+
optional: string[];
|
|
24
|
+
unsupported?: string[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Validates an adapter config is well-formed.
|
|
29
|
+
* @param config The config to validate.
|
|
30
|
+
* @param adapter The adapter validation configuration.
|
|
31
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
32
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
33
|
+
*/
|
|
34
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
35
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
36
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
37
|
+
[key in keyof Base]?: any;
|
|
38
|
+
}> = {
|
|
39
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
40
|
+
};
|
|
41
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
42
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
43
|
+
export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
|
|
44
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
45
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
46
|
+
export declare const snapshotRefreshOptions: {
|
|
47
|
+
overrides: {
|
|
48
|
+
headers: {
|
|
49
|
+
'Cache-Control': string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
55
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
56
|
+
* JSON.stringify({a: 1, b: 2})
|
|
57
|
+
* "{"a":1,"b":2}"
|
|
58
|
+
* JSON.stringify({b: 2, a: 1})
|
|
59
|
+
* "{"b":2,"a":1}"
|
|
60
|
+
* @param data Data to be JSON-stringified.
|
|
61
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
62
|
+
*/
|
|
63
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
64
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
65
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
66
|
+
export declare const keyPrefix = "loyalty-engine";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ProcessRuleInputRepresentation as types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation } from '../types/ProcessRuleInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_putConnectLoyaltyProgramsProcessesByProcessNameAndProgramName_ResourceRequestConfig } from '../resources/putConnectLoyaltyProgramsProcessesByProcessNameAndProgramName';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { ProcessRuleStatusRepresentation as types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation } from '../types/ProcessRuleStatusRepresentation';
|
|
6
|
+
export declare const adapterName = "createProgramProcessRule";
|
|
7
|
+
export declare const createProgramProcessRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateProgramProcessRuleConfig {
|
|
9
|
+
processName: string;
|
|
10
|
+
programName: string;
|
|
11
|
+
programProcessRule: types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare function createResourceParams(config: CreateProgramProcessRuleConfig): resources_putConnectLoyaltyProgramsProcessesByProcessNameAndProgramName_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateProgramProcessRuleConfig>): adapter$45$utils_Untrusted<CreateProgramProcessRuleConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateProgramProcessRuleConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateProgramProcessRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, any>>;
|
|
17
|
+
export declare const createProgramProcessRuleAdapterFactory: $64$luvio_engine_AdapterFactory<CreateProgramProcessRuleConfig, types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { LoyaltyEngineInputRepresentation as types_LoyaltyEngineInputRepresentation_LoyaltyEngineInputRepresentation } from '../types/LoyaltyEngineInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectRealtimeLoyaltyProgramsByProgramName_ResourceRequestConfig } from '../resources/postConnectRealtimeLoyaltyProgramsByProgramName';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { LoyaltyEngineRealtimeOutputRepresentation as types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation } from '../types/LoyaltyEngineRealtimeOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "executeRealtimeLoyaltyEngine";
|
|
7
|
+
export declare const executeRealtimeLoyaltyEngine_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface ExecuteRealtimeLoyaltyEngineConfig {
|
|
9
|
+
programName: string;
|
|
10
|
+
loyaltyProcessInput: types_LoyaltyEngineInputRepresentation_LoyaltyEngineInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: ExecuteRealtimeLoyaltyEngineConfig): resources_postConnectRealtimeLoyaltyProgramsByProgramName_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ExecuteRealtimeLoyaltyEngineConfig>): adapter$45$utils_Untrusted<ExecuteRealtimeLoyaltyEngineConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ExecuteRealtimeLoyaltyEngineConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ExecuteRealtimeLoyaltyEngineConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation, any>>;
|
|
16
|
+
export declare const executeRealtimeLoyaltyEngineAdapterFactory: $64$luvio_engine_AdapterFactory<ExecuteRealtimeLoyaltyEngineConfig, types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectLoyaltyProgramProcessTransactionJournalsByJournalId_ResourceRequestConfig } from '../resources/getConnectLoyaltyProgramProcessTransactionJournalsByJournalId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { LoyaltyExplainabilityOutputRepresentation as types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation } from '../types/LoyaltyExplainabilityOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getJournalExplainabilityInfo";
|
|
6
|
+
export declare const getJournalExplainabilityInfo_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetJournalExplainabilityInfoConfig {
|
|
8
|
+
journalId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetJournalExplainabilityInfoConfig): resources_getConnectLoyaltyProgramProcessTransactionJournalsByJournalId_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetJournalExplainabilityInfoConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetJournalExplainabilityInfoConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetJournalExplainabilityInfoConfig>): adapter$45$utils_Untrusted<GetJournalExplainabilityInfoConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetJournalExplainabilityInfoConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetJournalExplainabilityInfoConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetJournalExplainabilityInfoConfig): $64$luvio_engine_Snapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetJournalExplainabilityInfoConfig, resourceParams: resources_getConnectLoyaltyProgramProcessTransactionJournalsByJournalId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetJournalExplainabilityInfoConfig, resourceParams: resources_getConnectLoyaltyProgramProcessTransactionJournalsByJournalId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetJournalExplainabilityInfoConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetJournalExplainabilityInfoConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation>): $64$luvio_engine_Snapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, any>;
|
|
26
|
+
export declare const getJournalExplainabilityInfoAdapterFactory: $64$luvio_engine_AdapterFactory<GetJournalExplainabilityInfoConfig, types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName_ResourceRequestConfig } from '../resources/getConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { ProcessRuleDetailRepresentation as types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation } from '../types/ProcessRuleDetailRepresentation';
|
|
5
|
+
export declare const adapterName = "getProgramProcessRule";
|
|
6
|
+
export declare const getProgramProcessRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetProgramProcessRuleConfig {
|
|
8
|
+
processName: string;
|
|
9
|
+
programName: string;
|
|
10
|
+
ruleName: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: GetProgramProcessRuleConfig): resources_getConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProgramProcessRuleConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetProgramProcessRuleConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetProgramProcessRuleConfig>): adapter$45$utils_Untrusted<GetProgramProcessRuleConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetProgramProcessRuleConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetProgramProcessRuleConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProgramProcessRuleConfig): $64$luvio_engine_Snapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetProgramProcessRuleConfig, resourceParams: resources_getConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetProgramProcessRuleConfig, resourceParams: resources_getConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProgramProcessRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetProgramProcessRuleConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>): $64$luvio_engine_Snapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, any>;
|
|
28
|
+
export declare const getProgramProcessRuleAdapterFactory: $64$luvio_engine_AdapterFactory<GetProgramProcessRuleConfig, types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ProcessRuleInputRepresentation as types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation } from '../types/ProcessRuleInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_patchConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName_ResourceRequestConfig } from '../resources/patchConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { ProcessRuleStatusRepresentation as types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation } from '../types/ProcessRuleStatusRepresentation';
|
|
6
|
+
export declare const adapterName = "updateProgramProcessRule";
|
|
7
|
+
export declare const updateProgramProcessRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface UpdateProgramProcessRuleConfig {
|
|
9
|
+
processName: string;
|
|
10
|
+
programName: string;
|
|
11
|
+
ruleName: string;
|
|
12
|
+
programProcessRule: types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation;
|
|
13
|
+
}
|
|
14
|
+
export declare function createResourceParams(config: UpdateProgramProcessRuleConfig): resources_patchConnectLoyaltyProgramsProcessesRuleByProcessNameAndProgramNameAndRuleName_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateProgramProcessRuleConfig>): adapter$45$utils_Untrusted<UpdateProgramProcessRuleConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateProgramProcessRuleConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateProgramProcessRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, any>>;
|
|
18
|
+
export declare const updateProgramProcessRuleAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateProgramProcessRuleConfig, types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getJournalExplainabilityInfoAdapterFactory } from '../adapters/getJournalExplainabilityInfo';
|
|
2
|
+
export { createProgramProcessRuleAdapterFactory } from '../adapters/createProgramProcessRule';
|
|
3
|
+
export { getProgramProcessRuleAdapterFactory } from '../adapters/getProgramProcessRule';
|
|
4
|
+
export { updateProgramProcessRuleAdapterFactory } from '../adapters/updateProgramProcessRule';
|
|
5
|
+
export { executeRealtimeLoyaltyEngineAdapterFactory } from '../adapters/executeRealtimeLoyaltyEngine';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare let createProgramProcessRule: any;
|
|
2
|
+
declare let executeRealtimeLoyaltyEngine: any;
|
|
3
|
+
declare let getJournalExplainabilityInfo: any;
|
|
4
|
+
declare let getProgramProcessRule: any;
|
|
5
|
+
declare let updateProgramProcessRule: any;
|
|
6
|
+
declare let getJournalExplainabilityInfo_imperative: any;
|
|
7
|
+
declare let getProgramProcessRule_imperative: any;
|
|
8
|
+
export { createProgramProcessRule, executeRealtimeLoyaltyEngine, getJournalExplainabilityInfo, getProgramProcessRule, updateProgramProcessRule, getJournalExplainabilityInfo_imperative, getProgramProcessRule_imperative };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
processName: string;
|
|
5
|
+
programName: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
9
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
processName: string;
|
|
5
|
+
programName: string;
|
|
6
|
+
ruleName: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { LoyaltyExplainabilityOutputRepresentation as types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation } from '../types/LoyaltyExplainabilityOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
journalId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LoyaltyExplainabilityOutputRepresentation_LoyaltyExplainabilityOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { ProcessRuleDetailRepresentation as types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation } from '../types/ProcessRuleDetailRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
processName: string;
|
|
6
|
+
programName: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { ProcessRuleDetailRepresentation as types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation } from '../types/ProcessRuleDetailRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
processName: string;
|
|
6
|
+
programName: string;
|
|
7
|
+
ruleName: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation, any>;
|
|
15
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProcessRuleDetailRepresentation_ProcessRuleDetailRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ProcessRuleInputRepresentation as types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation } from '../types/ProcessRuleInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ProcessRuleStatusRepresentation as types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation } from '../types/ProcessRuleStatusRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
processName: string;
|
|
7
|
+
programName: string;
|
|
8
|
+
};
|
|
9
|
+
body: {
|
|
10
|
+
programProcessRule: types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ProcessRuleInputRepresentation as types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation } from '../types/ProcessRuleInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ProcessRuleStatusRepresentation as types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation } from '../types/ProcessRuleStatusRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
processName: string;
|
|
7
|
+
programName: string;
|
|
8
|
+
ruleName: string;
|
|
9
|
+
};
|
|
10
|
+
body: {
|
|
11
|
+
programProcessRule: types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, any>;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LoyaltyEngineRunSettingsRepresentation as types_LoyaltyEngineRunSettingsRepresentation_LoyaltyEngineRunSettingsRepresentation } from '../types/LoyaltyEngineRunSettingsRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { LoyaltyEngineBatchOutputRepresentation as types_LoyaltyEngineBatchOutputRepresentation_LoyaltyEngineBatchOutputRepresentation } from '../types/LoyaltyEngineBatchOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
programName: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
runSetting: types_LoyaltyEngineRunSettingsRepresentation_LoyaltyEngineRunSettingsRepresentation;
|
|
10
|
+
transactionJournals: Array<{}>;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LoyaltyEngineBatchOutputRepresentation_LoyaltyEngineBatchOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LoyaltyEngineBatchOutputRepresentation_LoyaltyEngineBatchOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LoyaltyEngineBatchOutputRepresentation_LoyaltyEngineBatchOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LoyaltyEngineBatchOutputRepresentation_LoyaltyEngineBatchOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LoyaltyEngineBatchOutputRepresentation_LoyaltyEngineBatchOutputRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { FormulaSyntaxValidationOutputRepresentation as types_FormulaSyntaxValidationOutputRepresentation_FormulaSyntaxValidationOutputRepresentation } from '../types/FormulaSyntaxValidationOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
processId: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
formulas: Array<{}>;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FormulaSyntaxValidationOutputRepresentation_FormulaSyntaxValidationOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FormulaSyntaxValidationOutputRepresentation_FormulaSyntaxValidationOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FormulaSyntaxValidationOutputRepresentation_FormulaSyntaxValidationOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FormulaSyntaxValidationOutputRepresentation_FormulaSyntaxValidationOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FormulaSyntaxValidationOutputRepresentation_FormulaSyntaxValidationOutputRepresentation, any>;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LoyaltyEngineInputRepresentation as types_LoyaltyEngineInputRepresentation_LoyaltyEngineInputRepresentation } from '../types/LoyaltyEngineInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { LoyaltyEngineRealtimeOutputRepresentation as types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation } from '../types/LoyaltyEngineRealtimeOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
programName: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
loyaltyProcessInput: types_LoyaltyEngineInputRepresentation_LoyaltyEngineInputRepresentation;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LoyaltyEngineRealtimeOutputRepresentation_LoyaltyEngineRealtimeOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ProcessRuleInputRepresentation as types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation } from '../types/ProcessRuleInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ProcessRuleStatusRepresentation as types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation } from '../types/ProcessRuleStatusRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
processName: string;
|
|
7
|
+
programName: string;
|
|
8
|
+
};
|
|
9
|
+
body: {
|
|
10
|
+
programProcessRule: types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ProcessRuleInputRepresentation as types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation } from '../types/ProcessRuleInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ProcessRuleStatusRepresentation as types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation } from '../types/ProcessRuleStatusRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
processName: string;
|
|
7
|
+
programName: string;
|
|
8
|
+
ruleName: string;
|
|
9
|
+
};
|
|
10
|
+
body: {
|
|
11
|
+
programProcessRule: types_ProcessRuleInputRepresentation_ProcessRuleInputRepresentation;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProcessRuleStatusRepresentation_ProcessRuleStatusRepresentation, any>;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "274b20258200d491c629bf2e382bca73";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ActionOutputRepresentation, existing: ActionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ActionOutputRepresentationNormalized, incoming: ActionOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ActionOutputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Action Output
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ActionOutputRepresentationNormalized {
|
|
18
|
+
/** Action Type. */
|
|
19
|
+
actionType: string;
|
|
20
|
+
/** Promotion Id. */
|
|
21
|
+
promotionId: string;
|
|
22
|
+
/** Step Name. */
|
|
23
|
+
stepName: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Action Output
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface ActionOutputRepresentation {
|
|
32
|
+
actionType: string;
|
|
33
|
+
promotionId: string;
|
|
34
|
+
stepName: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ActionOutputRepresentation as ActionOutputRepresentation_ActionOutputRepresentation } from './ActionOutputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "c534f5c65ffc98ed9422f25ff822ec22";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: CreditPointsActionOutputRepresentation, existing: CreditPointsActionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreditPointsActionOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: CreditPointsActionOutputRepresentationNormalized, incoming: CreditPointsActionOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: CreditPointsActionOutputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: CreditPointsActionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Credit Points Action Output
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface CreditPointsActionOutputRepresentationNormalized extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
19
|
+
/** The change in the escrow points balance of the loyalty program member associated with the transaction journal. */
|
|
20
|
+
changeInEscrowPointsBalance: number;
|
|
21
|
+
/** The change in the points balance of the loyalty program member associated with the transaction journal. */
|
|
22
|
+
changeInPointsBalance: number;
|
|
23
|
+
/** Escrow Points Credit Date. */
|
|
24
|
+
escrowPointsCreditDate: string;
|
|
25
|
+
/** The name of the loyalty program currency for which points have been debited from or credited to the loyalty program member associated with the transaction journal. */
|
|
26
|
+
loyaltyProgramCurrencyName: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Credit Points Action Output
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface CreditPointsActionOutputRepresentation extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
35
|
+
changeInEscrowPointsBalance: number;
|
|
36
|
+
changeInPointsBalance: number;
|
|
37
|
+
escrowPointsCreditDate: string;
|
|
38
|
+
loyaltyProgramCurrencyName: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ActionOutputRepresentation as ActionOutputRepresentation_ActionOutputRepresentation } from './ActionOutputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "bffda26e72d99b8b6d7e51f554514b35";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DebitPointsActionOutputRepresentation, existing: DebitPointsActionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DebitPointsActionOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: DebitPointsActionOutputRepresentationNormalized, incoming: DebitPointsActionOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: DebitPointsActionOutputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DebitPointsActionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Debit Points Action Output
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface DebitPointsActionOutputRepresentationNormalized extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
19
|
+
/** The change in the points balance of the loyalty program member associated with the transaction journal. */
|
|
20
|
+
changeInPointsBalance: number;
|
|
21
|
+
/** The name of the loyalty program currency for which points have been debited from or credited to the loyalty program member associated with the transaction journal. */
|
|
22
|
+
loyaltyProgramCurrencyName: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Debit Points Action Output
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface DebitPointsActionOutputRepresentation extends ActionOutputRepresentation_ActionOutputRepresentation {
|
|
31
|
+
changeInPointsBalance: number;
|
|
32
|
+
loyaltyProgramCurrencyName: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ExpressionValueRepresentation as ExpressionValueRepresentation_ExpressionValueRepresentation } from './ExpressionValueRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "3d39214b3bfded99f78d87090b1b5431";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ExpressionRepresentation, existing: ExpressionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ExpressionRepresentationNormalized, incoming: ExpressionRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: ExpressionRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExpressionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper for Expression.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ExpressionRepresentationNormalized {
|
|
19
|
+
/** Expression. */
|
|
20
|
+
expression: string;
|
|
21
|
+
expressionValue: ExpressionValueRepresentation_ExpressionValueRepresentation;
|
|
22
|
+
/** List of parameter values provided for an expression. */
|
|
23
|
+
parameterValues: {
|
|
24
|
+
[key: string]: ExpressionValueRepresentation_ExpressionValueRepresentation;
|
|
25
|
+
};
|
|
26
|
+
/** The resolved fields and values of an expression. */
|
|
27
|
+
resolvedExpression: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Wrapper for Expression.
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface ExpressionRepresentation {
|
|
36
|
+
expression: string;
|
|
37
|
+
expressionValue: ExpressionValueRepresentation_ExpressionValueRepresentation;
|
|
38
|
+
parameterValues: {
|
|
39
|
+
[key: string]: ExpressionValueRepresentation_ExpressionValueRepresentation;
|
|
40
|
+
};
|
|
41
|
+
resolvedExpression: string;
|
|
42
|
+
}
|