@salesforce/lds-adapters-industries-instant-pricing 1.332.0-dev1 → 1.332.0-dev3
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.
|
@@ -141,6 +141,13 @@ function validate$1(obj, path = 'GetInstantPricingInputRepresentation') {
|
|
|
141
141
|
return new TypeError('Expected "object" but received "' + typeof obj_records_item + '" (at "' + path_records_item + '")');
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
+
if (obj.requestScope !== undefined) {
|
|
145
|
+
const obj_requestScope = obj.requestScope;
|
|
146
|
+
const path_requestScope = path + '.requestScope';
|
|
147
|
+
if (typeof obj_requestScope !== 'boolean') {
|
|
148
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_requestScope + '" (at "' + path_requestScope + '")');
|
|
149
|
+
}
|
|
150
|
+
}
|
|
144
151
|
})();
|
|
145
152
|
return v_error === undefined ? null : v_error;
|
|
146
153
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "17e5f462340e8843b9f20d6c693554d0";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: GetInstantPricingInputRepresentation, existing: GetInstantPricingInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GetInstantPricingInputRepresentationNormalized;
|
|
@@ -20,6 +20,8 @@ export interface GetInstantPricingInputRepresentationNormalized {
|
|
|
20
20
|
correlationId: string | null;
|
|
21
21
|
/** Input Object */
|
|
22
22
|
records: Array<{}>;
|
|
23
|
+
/** Context Data Persistence Scope */
|
|
24
|
+
requestScope?: boolean;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* Input Representation for Get Instant pricing.
|
|
@@ -31,4 +33,5 @@ export interface GetInstantPricingInputRepresentation {
|
|
|
31
33
|
contextId: string | null;
|
|
32
34
|
correlationId: string | null;
|
|
33
35
|
records: Array<{}>;
|
|
36
|
+
requestScope?: boolean;
|
|
34
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-instant-pricing",
|
|
3
|
-
"version": "1.332.0-
|
|
3
|
+
"version": "1.332.0-dev3",
|
|
4
4
|
"description": "Get Instant Pricing API for on-demand Pricing updates for any changes on the QuoteLine or OrderLine items",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/industries-instant-pricing.js",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"test:unit": "jest"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@salesforce/lds-bindings": "^1.332.0-
|
|
46
|
+
"@salesforce/lds-bindings": "^1.332.0-dev3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0-
|
|
50
|
-
"@salesforce/lds-karma": "^1.332.0-
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev3",
|
|
50
|
+
"@salesforce/lds-karma": "^1.332.0-dev3"
|
|
51
51
|
},
|
|
52
52
|
"nx": {
|
|
53
53
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -150,6 +150,13 @@ function validate$1(obj, path = 'GetInstantPricingInputRepresentation') {
|
|
|
150
150
|
return new TypeError('Expected "object" but received "' + typeof obj_records_item + '" (at "' + path_records_item + '")');
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
+
if (obj.requestScope !== undefined) {
|
|
154
|
+
const obj_requestScope = obj.requestScope;
|
|
155
|
+
const path_requestScope = path + '.requestScope';
|
|
156
|
+
if (typeof obj_requestScope !== 'boolean') {
|
|
157
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_requestScope + '" (at "' + path_requestScope + '")');
|
|
158
|
+
}
|
|
159
|
+
}
|
|
153
160
|
})();
|
|
154
161
|
return v_error === undefined ? null : v_error;
|
|
155
162
|
}
|
|
@@ -395,4 +402,4 @@ withDefaultLuvio((luvio) => {
|
|
|
395
402
|
});
|
|
396
403
|
|
|
397
404
|
export { instantPricing };
|
|
398
|
-
// version: 1.332.0-
|
|
405
|
+
// version: 1.332.0-dev3-9fb043ed2d
|
package/src/raml/api.raml
CHANGED
|
@@ -47,6 +47,10 @@ types:
|
|
|
47
47
|
type: array
|
|
48
48
|
items:
|
|
49
49
|
type: object
|
|
50
|
+
requestScope:
|
|
51
|
+
description: Context Data Persistence Scope
|
|
52
|
+
type: boolean
|
|
53
|
+
required: false
|
|
50
54
|
GetInstantPricingOutputRepresentation:
|
|
51
55
|
description: Output representation for Instant Pricing API
|
|
52
56
|
type: object
|