@salesforce/lds-adapters-industries-loyalty-engine 1.134.1 → 1.134.3
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/dist/es/es2018/types/src/generated/types/LoyaltyEngineBatchOutputRepresentation.d.ts +15 -5
- package/package.json +1 -1
- package/sfdc/index.js +1 -1
- package/src/raml/api.raml +20 -19
- package/src/raml/luvio.raml +5 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectFormulaLoyaltyProcessByProcessId.d.ts +0 -15
package/dist/es/es2018/types/src/generated/types/LoyaltyEngineBatchOutputRepresentation.d.ts
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 10000;
|
|
3
|
+
export declare const VERSION = "96e5795863b4b2ea8ce298245c4ba2e5";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
id: Array<string>;
|
|
8
|
+
}
|
|
9
|
+
export type LoyaltyEngineBatchOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialLoyaltyEngineBatchOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): LoyaltyEngineBatchOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: LoyaltyEngineBatchOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: LoyaltyEngineBatchOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
5
15
|
export declare function normalize(input: LoyaltyEngineBatchOutputRepresentation, existing: LoyaltyEngineBatchOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LoyaltyEngineBatchOutputRepresentationNormalized;
|
|
6
|
-
export declare const select: () => $64$
|
|
16
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
17
|
export declare function equals(existing: LoyaltyEngineBatchOutputRepresentationNormalized, incoming: LoyaltyEngineBatchOutputRepresentationNormalized): boolean;
|
|
8
18
|
export declare function deepFreeze(input: LoyaltyEngineBatchOutputRepresentation): void;
|
|
9
19
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
@@ -12,7 +22,7 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: L
|
|
|
12
22
|
* Wrapper for the Payload map
|
|
13
23
|
*
|
|
14
24
|
* Keys:
|
|
15
|
-
* (
|
|
25
|
+
* id (Array<string>): transactionJournalIds
|
|
16
26
|
*/
|
|
17
27
|
export interface LoyaltyEngineBatchOutputRepresentationNormalized {
|
|
18
28
|
/** Represents the Error Message. Message stating the reason for error, if any. */
|
|
@@ -26,7 +36,7 @@ export interface LoyaltyEngineBatchOutputRepresentationNormalized {
|
|
|
26
36
|
* Wrapper for the Payload map
|
|
27
37
|
*
|
|
28
38
|
* Keys:
|
|
29
|
-
* (
|
|
39
|
+
* id (Array<string>): transactionJournalIds
|
|
30
40
|
*/
|
|
31
41
|
export interface LoyaltyEngineBatchOutputRepresentation {
|
|
32
42
|
message: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-loyalty-engine",
|
|
3
|
-
"version": "1.134.
|
|
3
|
+
"version": "1.134.3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "The api is responsible for upserting Loyalty Process Rules",
|
|
6
6
|
"main": "dist/es/es2018/industries-loyalty-engine.js",
|
package/sfdc/index.js
CHANGED
|
@@ -4510,4 +4510,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4510
4510
|
});
|
|
4511
4511
|
|
|
4512
4512
|
export { createProgramProcessRule, executeRealtimeLoyaltyEngine, getJournalExplainabilityInfo, getJournalExplainabilityInfo_imperative, getProgramProcessRule, getProgramProcessRule_imperative, updateProgramProcessRule };
|
|
4513
|
-
// version: 1.134.
|
|
4513
|
+
// version: 1.134.3-ea1008c6e
|
package/src/raml/api.raml
CHANGED
|
@@ -1163,25 +1163,26 @@ types:
|
|
|
1163
1163
|
programName:
|
|
1164
1164
|
type: string
|
|
1165
1165
|
required: true
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1166
|
+
# TODO: Hand-rolled
|
|
1167
|
+
# /formula/loyalty/process/{processId}:
|
|
1168
|
+
# post:
|
|
1169
|
+
# description: http post method for Formula Syntax validation for given processId
|
|
1170
|
+
# responses:
|
|
1171
|
+
# '200':
|
|
1172
|
+
# description: Success
|
|
1173
|
+
# body:
|
|
1174
|
+
# application/json:
|
|
1175
|
+
# type: FormulaSyntaxValidationOutputRepresentation
|
|
1176
|
+
# body:
|
|
1177
|
+
# application/json:
|
|
1178
|
+
# type: FormulaSyntaxValidationInputRepresentation
|
|
1179
|
+
# # TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
1180
|
+
# # required: false
|
|
1181
|
+
# (oas-body-name): formulas
|
|
1182
|
+
# uriParameters:
|
|
1183
|
+
# processId:
|
|
1184
|
+
# type: string
|
|
1185
|
+
# required: true
|
|
1185
1186
|
/loyalty:
|
|
1186
1187
|
/program-process/transaction-journals/{journalId}:
|
|
1187
1188
|
get:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -18,6 +18,11 @@ types:
|
|
|
18
18
|
(luvio.ttl): 10000
|
|
19
19
|
(luvio.key):
|
|
20
20
|
id: ruleId
|
|
21
|
+
LoyaltyEngineBatchOutputRepresentation:
|
|
22
|
+
(luvio.opaque): true
|
|
23
|
+
(luvio.ttl): 10000
|
|
24
|
+
(luvio.key):
|
|
25
|
+
id: transactionJournalIds
|
|
21
26
|
LoyaltyEngineInputRepresentation:
|
|
22
27
|
(luvio.opaque): true
|
|
23
28
|
(luvio.ttl): 10000
|
|
@@ -1,15 +0,0 @@
|
|
|
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;
|