@salesforce/lds-adapters-revenue-place-quote 1.298.0 → 1.300.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.
|
@@ -114,6 +114,13 @@ function validate$2(obj, path = 'PlaceQuoteInputRepresentation') {
|
|
|
114
114
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
115
115
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
116
116
|
}
|
|
117
|
+
if (obj.catalogRatesPref !== undefined) {
|
|
118
|
+
const obj_catalogRatesPref = obj.catalogRatesPref;
|
|
119
|
+
const path_catalogRatesPref = path + '.catalogRatesPref';
|
|
120
|
+
if (typeof obj_catalogRatesPref !== 'string') {
|
|
121
|
+
return new TypeError('Expected "string" but received "' + typeof obj_catalogRatesPref + '" (at "' + path_catalogRatesPref + '")');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
117
124
|
if (obj.configurationInput !== undefined) {
|
|
118
125
|
const obj_configurationInput = obj.configurationInput;
|
|
119
126
|
const path_configurationInput = path + '.configurationInput';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfiguratorOptionsInputRepresentation as ConfiguratorOptionsInputRepresentation_ConfiguratorOptionsInputRepresentation } from './ConfiguratorOptionsInputRepresentation';
|
|
2
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "6cfb8106b4989e61b22259fab0ac9cb1";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: PlaceQuoteInputRepresentation, existing: PlaceQuoteInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteInputRepresentationNormalized;
|
|
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface PlaceQuoteInputRepresentationNormalized {
|
|
18
|
+
/** Catalog Rates Preference for place quote */
|
|
19
|
+
catalogRatesPref?: string;
|
|
18
20
|
/** Configuration input to control the call to config API */
|
|
19
21
|
configurationInput?: string;
|
|
20
22
|
configurationOptions?: ConfiguratorOptionsInputRepresentation_ConfiguratorOptionsInputRepresentation;
|
|
@@ -30,6 +32,7 @@ export interface PlaceQuoteInputRepresentationNormalized {
|
|
|
30
32
|
* (none)
|
|
31
33
|
*/
|
|
32
34
|
export interface PlaceQuoteInputRepresentation {
|
|
35
|
+
catalogRatesPref?: string;
|
|
33
36
|
configurationInput?: string;
|
|
34
37
|
configurationOptions?: ConfiguratorOptionsInputRepresentation_ConfiguratorOptionsInputRepresentation;
|
|
35
38
|
graph: {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-revenue-place-quote",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.300.0",
|
|
4
4
|
"description": "Place Quote API for partial items and price/taxation updates async",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/revenue-place-quote.js",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"test:unit": "jest"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@salesforce/lds-bindings": "^1.
|
|
46
|
+
"@salesforce/lds-bindings": "^1.300.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
50
|
-
"@salesforce/lds-karma": "^1.
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.300.0",
|
|
50
|
+
"@salesforce/lds-karma": "^1.300.0"
|
|
51
51
|
},
|
|
52
52
|
"nx": {
|
|
53
53
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -123,6 +123,13 @@ function validate$2(obj, path = 'PlaceQuoteInputRepresentation') {
|
|
|
123
123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
124
124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
125
125
|
}
|
|
126
|
+
if (obj.catalogRatesPref !== undefined) {
|
|
127
|
+
const obj_catalogRatesPref = obj.catalogRatesPref;
|
|
128
|
+
const path_catalogRatesPref = path + '.catalogRatesPref';
|
|
129
|
+
if (typeof obj_catalogRatesPref !== 'string') {
|
|
130
|
+
return new TypeError('Expected "string" but received "' + typeof obj_catalogRatesPref + '" (at "' + path_catalogRatesPref + '")');
|
|
131
|
+
}
|
|
132
|
+
}
|
|
126
133
|
if (obj.configurationInput !== undefined) {
|
|
127
134
|
const obj_configurationInput = obj.configurationInput;
|
|
128
135
|
const path_configurationInput = path + '.configurationInput';
|
|
@@ -385,4 +392,4 @@ withDefaultLuvio((luvio) => {
|
|
|
385
392
|
});
|
|
386
393
|
|
|
387
394
|
export { updateQuote };
|
|
388
|
-
// version: 1.
|
|
395
|
+
// version: 1.300.0-96b10a8c42
|
package/src/raml/api.raml
CHANGED
|
@@ -58,6 +58,13 @@ types:
|
|
|
58
58
|
description: Configuration options to specify which config API functionality to opt in/out of
|
|
59
59
|
type: ConfiguratorOptionsInputRepresentation
|
|
60
60
|
required: false # TODO hand rolled. W-9275477
|
|
61
|
+
catalogRatesPref:
|
|
62
|
+
description: Catalog Rates Preference for place quote
|
|
63
|
+
type: string
|
|
64
|
+
enum:
|
|
65
|
+
- Fetch
|
|
66
|
+
- Skip
|
|
67
|
+
required: false # TODO hand rolled. W-9275477
|
|
61
68
|
PlaceQuoteOutputRepresentation:
|
|
62
69
|
description: Place Quote output representation
|
|
63
70
|
type: object
|
package/src/raml/luvio.raml
CHANGED
|
@@ -23,6 +23,7 @@ types:
|
|
|
23
23
|
{ "PlaceQuoteInput":
|
|
24
24
|
{
|
|
25
25
|
"pricingPref": "Force",
|
|
26
|
+
"catalogRatesPref": "Fetch",
|
|
26
27
|
"configurationInput": "RunAndAllowErrors",
|
|
27
28
|
"configuratorOptions":
|
|
28
29
|
{
|
|
@@ -62,6 +63,10 @@ types:
|
|
|
62
63
|
{
|
|
63
64
|
"pricingPref": "Skip"
|
|
64
65
|
}
|
|
66
|
+
- |
|
|
67
|
+
{
|
|
68
|
+
"catalogRatesPref": "skip"
|
|
69
|
+
}
|
|
65
70
|
- |
|
|
66
71
|
{
|
|
67
72
|
"configurationInput": "Skip"
|