@salesforce/lds-adapters-industries-cpq 1.443.0 → 1.445.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.
|
@@ -4029,7 +4029,7 @@ function equals$j(existing, incoming) {
|
|
|
4029
4029
|
return true;
|
|
4030
4030
|
}
|
|
4031
4031
|
|
|
4032
|
-
const VERSION$i = "
|
|
4032
|
+
const VERSION$i = "919370ec73ce3590adac3f8547724ea3";
|
|
4033
4033
|
function validate$$(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
4034
4034
|
const v_error = (() => {
|
|
4035
4035
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4080,6 +4080,13 @@ function validate$$(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
|
4080
4080
|
}
|
|
4081
4081
|
}
|
|
4082
4082
|
}
|
|
4083
|
+
if (obj.sequence !== undefined) {
|
|
4084
|
+
const obj_sequence = obj.sequence;
|
|
4085
|
+
const path_sequence = path + '.sequence';
|
|
4086
|
+
if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
|
|
4087
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
|
|
4088
|
+
}
|
|
4089
|
+
}
|
|
4083
4090
|
if (obj.status !== undefined) {
|
|
4084
4091
|
const obj_status = obj.status;
|
|
4085
4092
|
const path_status = path + '.status';
|
|
@@ -4138,6 +4145,11 @@ const select$y = function AttributeCategoryOutputRepresentationSelect() {
|
|
|
4138
4145
|
selections: ProductAttributeOutputRepresentation__selections,
|
|
4139
4146
|
required: false
|
|
4140
4147
|
},
|
|
4148
|
+
{
|
|
4149
|
+
name: 'sequence',
|
|
4150
|
+
kind: 'Scalar',
|
|
4151
|
+
required: false
|
|
4152
|
+
},
|
|
4141
4153
|
{
|
|
4142
4154
|
name: 'status',
|
|
4143
4155
|
kind: 'Scalar',
|
|
@@ -4157,6 +4169,19 @@ const select$y = function AttributeCategoryOutputRepresentationSelect() {
|
|
|
4157
4169
|
};
|
|
4158
4170
|
};
|
|
4159
4171
|
function equals$i(existing, incoming) {
|
|
4172
|
+
const existing_sequence = existing.sequence;
|
|
4173
|
+
const incoming_sequence = incoming.sequence;
|
|
4174
|
+
// if at least one of these optionals is defined
|
|
4175
|
+
if (existing_sequence !== undefined || incoming_sequence !== undefined) {
|
|
4176
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4177
|
+
// not equal
|
|
4178
|
+
if (existing_sequence === undefined || incoming_sequence === undefined) {
|
|
4179
|
+
return false;
|
|
4180
|
+
}
|
|
4181
|
+
if (!(existing_sequence === incoming_sequence)) {
|
|
4182
|
+
return false;
|
|
4183
|
+
}
|
|
4184
|
+
}
|
|
4160
4185
|
const existing_totalSize = existing.totalSize;
|
|
4161
4186
|
const incoming_totalSize = incoming.totalSize;
|
|
4162
4187
|
// if at least one of these optionals is defined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProductAttributeOutputRepresentation as ProductAttributeOutputRepresentation_ProductAttributeOutputRepresentation } from './ProductAttributeOutputRepresentation';
|
|
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 = "919370ec73ce3590adac3f8547724ea3";
|
|
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: AttributeCategoryOutputRepresentation, existing: AttributeCategoryOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AttributeCategoryOutputRepresentationNormalized;
|
|
@@ -25,6 +25,8 @@ export interface AttributeCategoryOutputRepresentationNormalized {
|
|
|
25
25
|
name?: string;
|
|
26
26
|
/** Attributes in this category */
|
|
27
27
|
records?: Array<ProductAttributeOutputRepresentation_ProductAttributeOutputRepresentation>;
|
|
28
|
+
/** Sequence of the attribute category */
|
|
29
|
+
sequence?: number;
|
|
28
30
|
/** Status of the attribute category */
|
|
29
31
|
status?: string;
|
|
30
32
|
/** Total Size of attributes in this category */
|
|
@@ -44,6 +46,7 @@ export interface AttributeCategoryOutputRepresentation {
|
|
|
44
46
|
id?: string;
|
|
45
47
|
name?: string;
|
|
46
48
|
records?: Array<ProductAttributeOutputRepresentation_ProductAttributeOutputRepresentation>;
|
|
49
|
+
sequence?: number;
|
|
47
50
|
status?: string;
|
|
48
51
|
totalSize?: number;
|
|
49
52
|
usageType?: 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.445.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.445.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.445.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.445.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -5739,7 +5739,7 @@ function equals$f(existing, incoming) {
|
|
|
5739
5739
|
return true;
|
|
5740
5740
|
}
|
|
5741
5741
|
|
|
5742
|
-
const VERSION$e = "
|
|
5742
|
+
const VERSION$e = "919370ec73ce3590adac3f8547724ea3";
|
|
5743
5743
|
function validate$G(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
5744
5744
|
const v_error = (() => {
|
|
5745
5745
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5790,6 +5790,13 @@ function validate$G(obj, path = 'AttributeCategoryOutputRepresentation') {
|
|
|
5790
5790
|
}
|
|
5791
5791
|
}
|
|
5792
5792
|
}
|
|
5793
|
+
if (obj.sequence !== undefined) {
|
|
5794
|
+
const obj_sequence = obj.sequence;
|
|
5795
|
+
const path_sequence = path + '.sequence';
|
|
5796
|
+
if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
|
|
5797
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
|
|
5798
|
+
}
|
|
5799
|
+
}
|
|
5793
5800
|
if (obj.status !== undefined) {
|
|
5794
5801
|
const obj_status = obj.status;
|
|
5795
5802
|
const path_status = path + '.status';
|
|
@@ -5848,6 +5855,11 @@ const select$v = function AttributeCategoryOutputRepresentationSelect() {
|
|
|
5848
5855
|
selections: ProductAttributeOutputRepresentation__selections,
|
|
5849
5856
|
required: false
|
|
5850
5857
|
},
|
|
5858
|
+
{
|
|
5859
|
+
name: 'sequence',
|
|
5860
|
+
kind: 'Scalar',
|
|
5861
|
+
required: false
|
|
5862
|
+
},
|
|
5851
5863
|
{
|
|
5852
5864
|
name: 'status',
|
|
5853
5865
|
kind: 'Scalar',
|
|
@@ -5867,6 +5879,19 @@ const select$v = function AttributeCategoryOutputRepresentationSelect() {
|
|
|
5867
5879
|
};
|
|
5868
5880
|
};
|
|
5869
5881
|
function equals$e(existing, incoming) {
|
|
5882
|
+
const existing_sequence = existing.sequence;
|
|
5883
|
+
const incoming_sequence = incoming.sequence;
|
|
5884
|
+
// if at least one of these optionals is defined
|
|
5885
|
+
if (existing_sequence !== undefined || incoming_sequence !== undefined) {
|
|
5886
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5887
|
+
// not equal
|
|
5888
|
+
if (existing_sequence === undefined || incoming_sequence === undefined) {
|
|
5889
|
+
return false;
|
|
5890
|
+
}
|
|
5891
|
+
if (!(existing_sequence === incoming_sequence)) {
|
|
5892
|
+
return false;
|
|
5893
|
+
}
|
|
5894
|
+
}
|
|
5870
5895
|
const existing_totalSize = existing.totalSize;
|
|
5871
5896
|
const incoming_totalSize = incoming.totalSize;
|
|
5872
5897
|
// if at least one of these optionals is defined
|
|
@@ -11075,4 +11100,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11075
11100
|
});
|
|
11076
11101
|
|
|
11077
11102
|
export { bulkProductDetails, categoryDetails, categoryList, configure, createCart, createCartItems, createFavorite, createRule, deleteFavorite, executeConfigRules, getCart, getCart_imperative, getFavorite, getFavoriteId, getFavoriteIdNotifyChange, getFavoriteId_imperative, getFavorite_imperative, guidedSelectionProductList, preview, priceCart, productDetails, productList, productRecommendations, searchProductList, shareFavorite, smartProductSelection, updateCart, updateCartItems, updateFavorite, updateRule, validateRule };
|
|
11078
|
-
// version: 1.
|
|
11103
|
+
// version: 1.445.0-6d38a08808
|
package/src/raml/api.raml
CHANGED
|
@@ -96,6 +96,10 @@ types:
|
|
|
96
96
|
description: Attribute code
|
|
97
97
|
type: string
|
|
98
98
|
required: false
|
|
99
|
+
sequence:
|
|
100
|
+
description: Sequence of the attribute category
|
|
101
|
+
type: integer
|
|
102
|
+
required: false
|
|
99
103
|
AttributePickListOutputRepresentation:
|
|
100
104
|
description: Attribute picklist output representation
|
|
101
105
|
type: object
|