@salesforce/lds-adapters-industries-cpq 1.262.4 → 1.263.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.
@@ -1891,7 +1891,7 @@ function equals$b(existing, incoming) {
1891
1891
  return true;
1892
1892
  }
1893
1893
 
1894
- const VERSION$a = "8168c188ee69e7e09a39c184a547cd09";
1894
+ const VERSION$a = "208409a49f1473efc441912eec27eb30";
1895
1895
  function validate$z(obj, path = 'ProductAttributeOutputRepresentation') {
1896
1896
  const v_error = (() => {
1897
1897
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1956,11 +1956,11 @@ function validate$z(obj, path = 'ProductAttributeOutputRepresentation') {
1956
1956
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1957
1957
  }
1958
1958
  }
1959
- if (obj.displayTypeOverride !== undefined) {
1960
- const obj_displayTypeOverride = obj.displayTypeOverride;
1961
- const path_displayTypeOverride = path + '.displayTypeOverride';
1962
- if (typeof obj_displayTypeOverride !== 'string') {
1963
- return new TypeError('Expected "string" but received "' + typeof obj_displayTypeOverride + '" (at "' + path_displayTypeOverride + '")');
1959
+ if (obj.displayType !== undefined) {
1960
+ const obj_displayType = obj.displayType;
1961
+ const path_displayType = path + '.displayType';
1962
+ if (typeof obj_displayType !== 'string') {
1963
+ return new TypeError('Expected "string" but received "' + typeof obj_displayType + '" (at "' + path_displayType + '")');
1964
1964
  }
1965
1965
  }
1966
1966
  if (obj.hidden !== undefined) {
@@ -2141,7 +2141,7 @@ const select$g = function ProductAttributeOutputRepresentationSelect() {
2141
2141
  required: false
2142
2142
  },
2143
2143
  {
2144
- name: 'displayTypeOverride',
2144
+ name: 'displayType',
2145
2145
  kind: 'Scalar',
2146
2146
  required: false
2147
2147
  },
@@ -2434,16 +2434,16 @@ function equals$a(existing, incoming) {
2434
2434
  return false;
2435
2435
  }
2436
2436
  }
2437
- const existing_displayTypeOverride = existing.displayTypeOverride;
2438
- const incoming_displayTypeOverride = incoming.displayTypeOverride;
2437
+ const existing_displayType = existing.displayType;
2438
+ const incoming_displayType = incoming.displayType;
2439
2439
  // if at least one of these optionals is defined
2440
- if (existing_displayTypeOverride !== undefined || incoming_displayTypeOverride !== undefined) {
2440
+ if (existing_displayType !== undefined || incoming_displayType !== undefined) {
2441
2441
  // if one of these is not defined we know the other is defined and therefore
2442
2442
  // not equal
2443
- if (existing_displayTypeOverride === undefined || incoming_displayTypeOverride === undefined) {
2443
+ if (existing_displayType === undefined || incoming_displayType === undefined) {
2444
2444
  return false;
2445
2445
  }
2446
- if (!(existing_displayTypeOverride === incoming_displayTypeOverride)) {
2446
+ if (!(existing_displayType === incoming_displayType)) {
2447
2447
  return false;
2448
2448
  }
2449
2449
  }
@@ -1,6 +1,6 @@
1
1
  import { AttributePickListOutputRepresentation as AttributePickListOutputRepresentation_AttributePickListOutputRepresentation } from './AttributePickListOutputRepresentation';
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 = "8168c188ee69e7e09a39c184a547cd09";
3
+ export declare const VERSION = "208409a49f1473efc441912eec27eb30";
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: ProductAttributeOutputRepresentation, existing: ProductAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeOutputRepresentationNormalized;
@@ -31,8 +31,8 @@ export interface ProductAttributeOutputRepresentationNormalized {
31
31
  defaultValue?: string;
32
32
  /** description of product attribute */
33
33
  description?: string;
34
- /** overrided display type of the attribute */
35
- displayTypeOverride?: string;
34
+ /** display type of the attribute */
35
+ displayType?: string;
36
36
  /** Is true if attribute is hidden */
37
37
  hidden?: boolean;
38
38
  /** Id of product attribute */
@@ -85,7 +85,7 @@ export interface ProductAttributeOutputRepresentation {
85
85
  defaultHelpText?: string;
86
86
  defaultValue?: string;
87
87
  description?: string;
88
- displayTypeOverride?: string;
88
+ displayType?: string;
89
89
  hidden?: boolean;
90
90
  id?: string;
91
91
  isCloneable?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-cpq",
3
- "version": "1.262.4",
3
+ "version": "1.263.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",
@@ -42,11 +42,11 @@
42
42
  "test": "nx build:karma && karma start --single-run"
43
43
  },
44
44
  "dependencies": {
45
- "@salesforce/lds-bindings": "^1.262.4"
45
+ "@salesforce/lds-bindings": "^1.263.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.262.4",
49
- "@salesforce/lds-karma": "^1.262.4"
48
+ "@salesforce/lds-compiler-plugins": "^1.263.0",
49
+ "@salesforce/lds-karma": "^1.263.0"
50
50
  },
51
51
  "nx": {
52
52
  "targets": {
package/sfdc/index.js CHANGED
@@ -2920,7 +2920,7 @@ function equals$b(existing, incoming) {
2920
2920
  return true;
2921
2921
  }
2922
2922
 
2923
- const VERSION$a = "8168c188ee69e7e09a39c184a547cd09";
2923
+ const VERSION$a = "208409a49f1473efc441912eec27eb30";
2924
2924
  function validate$j(obj, path = 'ProductAttributeOutputRepresentation') {
2925
2925
  const v_error = (() => {
2926
2926
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2985,11 +2985,11 @@ function validate$j(obj, path = 'ProductAttributeOutputRepresentation') {
2985
2985
  return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
2986
2986
  }
2987
2987
  }
2988
- if (obj.displayTypeOverride !== undefined) {
2989
- const obj_displayTypeOverride = obj.displayTypeOverride;
2990
- const path_displayTypeOverride = path + '.displayTypeOverride';
2991
- if (typeof obj_displayTypeOverride !== 'string') {
2992
- return new TypeError('Expected "string" but received "' + typeof obj_displayTypeOverride + '" (at "' + path_displayTypeOverride + '")');
2988
+ if (obj.displayType !== undefined) {
2989
+ const obj_displayType = obj.displayType;
2990
+ const path_displayType = path + '.displayType';
2991
+ if (typeof obj_displayType !== 'string') {
2992
+ return new TypeError('Expected "string" but received "' + typeof obj_displayType + '" (at "' + path_displayType + '")');
2993
2993
  }
2994
2994
  }
2995
2995
  if (obj.hidden !== undefined) {
@@ -3170,7 +3170,7 @@ const select$i = function ProductAttributeOutputRepresentationSelect() {
3170
3170
  required: false
3171
3171
  },
3172
3172
  {
3173
- name: 'displayTypeOverride',
3173
+ name: 'displayType',
3174
3174
  kind: 'Scalar',
3175
3175
  required: false
3176
3176
  },
@@ -3463,16 +3463,16 @@ function equals$a(existing, incoming) {
3463
3463
  return false;
3464
3464
  }
3465
3465
  }
3466
- const existing_displayTypeOverride = existing.displayTypeOverride;
3467
- const incoming_displayTypeOverride = incoming.displayTypeOverride;
3466
+ const existing_displayType = existing.displayType;
3467
+ const incoming_displayType = incoming.displayType;
3468
3468
  // if at least one of these optionals is defined
3469
- if (existing_displayTypeOverride !== undefined || incoming_displayTypeOverride !== undefined) {
3469
+ if (existing_displayType !== undefined || incoming_displayType !== undefined) {
3470
3470
  // if one of these is not defined we know the other is defined and therefore
3471
3471
  // not equal
3472
- if (existing_displayTypeOverride === undefined || incoming_displayTypeOverride === undefined) {
3472
+ if (existing_displayType === undefined || incoming_displayType === undefined) {
3473
3473
  return false;
3474
3474
  }
3475
- if (!(existing_displayTypeOverride === incoming_displayTypeOverride)) {
3475
+ if (!(existing_displayType === incoming_displayType)) {
3476
3476
  return false;
3477
3477
  }
3478
3478
  }
@@ -6365,4 +6365,4 @@ withDefaultLuvio((luvio) => {
6365
6365
  });
6366
6366
 
6367
6367
  export { configure, createCart, createCartItems, getCart, getCart_imperative, preview, priceCart, productDetails, productList, searchProductList, updateCart, updateCartItems };
6368
- // version: 1.262.4-3fd8adfd3
6368
+ // version: 1.263.0-378177d88
package/src/raml/api.raml CHANGED
@@ -1377,8 +1377,8 @@ types:
1377
1377
  description: value description of the attribute
1378
1378
  type: string
1379
1379
  required: false
1380
- displayTypeOverride:
1381
- description: overrided display type of the attribute
1380
+ displayType:
1381
+ description: display type of the attribute
1382
1382
  type: string
1383
1383
  required: false
1384
1384
  isReadOnly: