@salesforce/lds-adapters-industries-cpq 1.347.1 → 1.348.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.
|
@@ -2976,7 +2976,7 @@ function equals$j(existing, incoming) {
|
|
|
2976
2976
|
return true;
|
|
2977
2977
|
}
|
|
2978
2978
|
|
|
2979
|
-
const VERSION$i = "
|
|
2979
|
+
const VERSION$i = "cef4f713a2e486855d50324a822053ff";
|
|
2980
2980
|
function validate$I(obj, path = 'AttributePickListOutputRepresentation') {
|
|
2981
2981
|
const v_error = (() => {
|
|
2982
2982
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2989,6 +2989,13 @@ function validate$I(obj, path = 'AttributePickListOutputRepresentation') {
|
|
|
2989
2989
|
return new TypeError('Expected "string" but received "' + typeof obj_code + '" (at "' + path_code + '")');
|
|
2990
2990
|
}
|
|
2991
2991
|
}
|
|
2992
|
+
if (obj.dataType !== undefined) {
|
|
2993
|
+
const obj_dataType = obj.dataType;
|
|
2994
|
+
const path_dataType = path + '.dataType';
|
|
2995
|
+
if (typeof obj_dataType !== 'string') {
|
|
2996
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2992
2999
|
if (obj.description !== undefined) {
|
|
2993
3000
|
const obj_description = obj.description;
|
|
2994
3001
|
const path_description = path + '.description';
|
|
@@ -3049,6 +3056,11 @@ const select$w = function AttributePickListOutputRepresentationSelect() {
|
|
|
3049
3056
|
kind: 'Scalar',
|
|
3050
3057
|
required: false
|
|
3051
3058
|
},
|
|
3059
|
+
{
|
|
3060
|
+
name: 'dataType',
|
|
3061
|
+
kind: 'Scalar',
|
|
3062
|
+
required: false
|
|
3063
|
+
},
|
|
3052
3064
|
{
|
|
3053
3065
|
name: 'description',
|
|
3054
3066
|
kind: 'Scalar',
|
|
@@ -3093,6 +3105,19 @@ function equals$i(existing, incoming) {
|
|
|
3093
3105
|
return false;
|
|
3094
3106
|
}
|
|
3095
3107
|
}
|
|
3108
|
+
const existing_dataType = existing.dataType;
|
|
3109
|
+
const incoming_dataType = incoming.dataType;
|
|
3110
|
+
// if at least one of these optionals is defined
|
|
3111
|
+
if (existing_dataType !== undefined || incoming_dataType !== undefined) {
|
|
3112
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3113
|
+
// not equal
|
|
3114
|
+
if (existing_dataType === undefined || incoming_dataType === undefined) {
|
|
3115
|
+
return false;
|
|
3116
|
+
}
|
|
3117
|
+
if (!(existing_dataType === incoming_dataType)) {
|
|
3118
|
+
return false;
|
|
3119
|
+
}
|
|
3120
|
+
}
|
|
3096
3121
|
const existing_description = existing.description;
|
|
3097
3122
|
const incoming_description = incoming.description;
|
|
3098
3123
|
// if at least one of these optionals is defined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AttributePickListValueOutputRepresentation as AttributePickListValueOutputRepresentation_AttributePickListValueOutputRepresentation } from './AttributePickListValueOutputRepresentation';
|
|
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 = "cef4f713a2e486855d50324a822053ff";
|
|
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: AttributePickListOutputRepresentation, existing: AttributePickListOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AttributePickListOutputRepresentationNormalized;
|
|
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface AttributePickListOutputRepresentationNormalized {
|
|
18
18
|
/** Code of attribute picklist */
|
|
19
19
|
code?: string;
|
|
20
|
+
/** DataType of attribute picklist */
|
|
21
|
+
dataType?: string;
|
|
20
22
|
/** Description of attribute picklist */
|
|
21
23
|
description?: string;
|
|
22
24
|
/** Id of attribute picklist */
|
|
@@ -36,6 +38,7 @@ export interface AttributePickListOutputRepresentationNormalized {
|
|
|
36
38
|
*/
|
|
37
39
|
export interface AttributePickListOutputRepresentation {
|
|
38
40
|
code?: string;
|
|
41
|
+
dataType?: string;
|
|
39
42
|
description?: string;
|
|
40
43
|
id?: string;
|
|
41
44
|
name?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-cpq",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.348.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs for Industries CPQ Project",
|
|
6
6
|
"main": "dist/es/es2018/industries-cpq.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit:debug": "node --inspect-brk ../../node_modules/jest/bin/jest.js --config ./jest.config.js --runInBand"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.348.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.348.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.348.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -4319,7 +4319,7 @@ function equals$g(existing, incoming) {
|
|
|
4319
4319
|
return true;
|
|
4320
4320
|
}
|
|
4321
4321
|
|
|
4322
|
-
const VERSION$f = "
|
|
4322
|
+
const VERSION$f = "cef4f713a2e486855d50324a822053ff";
|
|
4323
4323
|
function validate$s(obj, path = 'AttributePickListOutputRepresentation') {
|
|
4324
4324
|
const v_error = (() => {
|
|
4325
4325
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4332,6 +4332,13 @@ function validate$s(obj, path = 'AttributePickListOutputRepresentation') {
|
|
|
4332
4332
|
return new TypeError('Expected "string" but received "' + typeof obj_code + '" (at "' + path_code + '")');
|
|
4333
4333
|
}
|
|
4334
4334
|
}
|
|
4335
|
+
if (obj.dataType !== undefined) {
|
|
4336
|
+
const obj_dataType = obj.dataType;
|
|
4337
|
+
const path_dataType = path + '.dataType';
|
|
4338
|
+
if (typeof obj_dataType !== 'string') {
|
|
4339
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
4340
|
+
}
|
|
4341
|
+
}
|
|
4335
4342
|
if (obj.description !== undefined) {
|
|
4336
4343
|
const obj_description = obj.description;
|
|
4337
4344
|
const path_description = path + '.description';
|
|
@@ -4392,6 +4399,11 @@ const select$v = function AttributePickListOutputRepresentationSelect() {
|
|
|
4392
4399
|
kind: 'Scalar',
|
|
4393
4400
|
required: false
|
|
4394
4401
|
},
|
|
4402
|
+
{
|
|
4403
|
+
name: 'dataType',
|
|
4404
|
+
kind: 'Scalar',
|
|
4405
|
+
required: false
|
|
4406
|
+
},
|
|
4395
4407
|
{
|
|
4396
4408
|
name: 'description',
|
|
4397
4409
|
kind: 'Scalar',
|
|
@@ -4436,6 +4448,19 @@ function equals$f(existing, incoming) {
|
|
|
4436
4448
|
return false;
|
|
4437
4449
|
}
|
|
4438
4450
|
}
|
|
4451
|
+
const existing_dataType = existing.dataType;
|
|
4452
|
+
const incoming_dataType = incoming.dataType;
|
|
4453
|
+
// if at least one of these optionals is defined
|
|
4454
|
+
if (existing_dataType !== undefined || incoming_dataType !== undefined) {
|
|
4455
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4456
|
+
// not equal
|
|
4457
|
+
if (existing_dataType === undefined || incoming_dataType === undefined) {
|
|
4458
|
+
return false;
|
|
4459
|
+
}
|
|
4460
|
+
if (!(existing_dataType === incoming_dataType)) {
|
|
4461
|
+
return false;
|
|
4462
|
+
}
|
|
4463
|
+
}
|
|
4439
4464
|
const existing_description = existing.description;
|
|
4440
4465
|
const incoming_description = incoming.description;
|
|
4441
4466
|
// if at least one of these optionals is defined
|
|
@@ -9540,4 +9565,4 @@ withDefaultLuvio((luvio) => {
|
|
|
9540
9565
|
});
|
|
9541
9566
|
|
|
9542
9567
|
export { bulkProductDetails, categoryDetails, categoryList, configure, createCart, createCartItems, createFavorite, createRule, deleteFavorite, getCart, getCart_imperative, getFavorite, getFavoriteId, getFavoriteIdNotifyChange, getFavoriteId_imperative, getFavorite_imperative, guidedSelectionProductList, preview, priceCart, productDetails, productList, searchProductList, shareFavorite, smartProductSelection, updateCart, updateCartItems, updateFavorite, updateRule, validateRule };
|
|
9543
|
-
// version: 1.
|
|
9568
|
+
// version: 1.348.0-4aa8c0c0cb
|
package/src/raml/api.raml
CHANGED
|
@@ -126,6 +126,10 @@ types:
|
|
|
126
126
|
required: false
|
|
127
127
|
items:
|
|
128
128
|
type: AttributePickListValueOutputRepresentation
|
|
129
|
+
dataType:
|
|
130
|
+
description: DataType of attribute picklist
|
|
131
|
+
type: string
|
|
132
|
+
required: false
|
|
129
133
|
AttributePickListValueOutputRepresentation:
|
|
130
134
|
description: Attribute picklist value output representation
|
|
131
135
|
type: object
|