@salesforce/lds-adapters-industries-cpq 1.227.2 → 1.228.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.
@@ -4593,6 +4593,13 @@ function validate$8(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
4593
4593
  return new TypeError('Expected "string" but received "' + typeof obj_attributeCategoryId + '" (at "' + path_attributeCategoryId + '")');
4594
4594
  }
4595
4595
  }
4596
+ if (obj.attributeNameOverride !== undefined) {
4597
+ const obj_attributeNameOverride = obj.attributeNameOverride;
4598
+ const path_attributeNameOverride = path + '.attributeNameOverride';
4599
+ if (typeof obj_attributeNameOverride !== 'string') {
4600
+ return new TypeError('Expected "string" but received "' + typeof obj_attributeNameOverride + '" (at "' + path_attributeNameOverride + '")');
4601
+ }
4602
+ }
4596
4603
  if (obj.attributePicklist !== undefined) {
4597
4604
  const obj_attributePicklist = obj.attributePicklist;
4598
4605
  const path_attributePicklist = path + '.attributePicklist';
@@ -4729,6 +4736,13 @@ function validate$8(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
4729
4736
  return new TypeError('Expected "string" but received "' + typeof obj_userValue + '" (at "' + path_userValue + '")');
4730
4737
  }
4731
4738
  }
4739
+ if (obj.valueDescription !== undefined) {
4740
+ const obj_valueDescription = obj.valueDescription;
4741
+ const path_valueDescription = path + '.valueDescription';
4742
+ if (typeof obj_valueDescription !== 'string') {
4743
+ return new TypeError('Expected "string" but received "' + typeof obj_valueDescription + '" (at "' + path_valueDescription + '")');
4744
+ }
4745
+ }
4732
4746
  })();
4733
4747
  return v_error === undefined ? null : v_error;
4734
4748
  }
@@ -5075,6 +5089,13 @@ function validate$3(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
5075
5089
  return new TypeError('Expected "string" but received "' + typeof obj_quantityScaleMethod + '" (at "' + path_quantityScaleMethod + '")');
5076
5090
  }
5077
5091
  }
5092
+ if (obj.sequence !== undefined) {
5093
+ const obj_sequence = obj.sequence;
5094
+ const path_sequence = path + '.sequence';
5095
+ if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
5096
+ return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
5097
+ }
5098
+ }
5078
5099
  })();
5079
5100
  return v_error === undefined ? null : v_error;
5080
5101
  }
@@ -1,6 +1,6 @@
1
1
  import { ConfiguratorAttributePicklistOutputRepresentation as ConfiguratorAttributePicklistOutputRepresentation_ConfiguratorAttributePicklistOutputRepresentation } from './ConfiguratorAttributePicklistOutputRepresentation';
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 = "0e7c35038c9782f9892c215a169e4f27";
3
+ export declare const VERSION = "7968c9e53f81465c9e61fffe2ea56f16";
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: ConfiguratorAttributeOutputRepresentation, existing: ConfiguratorAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConfiguratorAttributeOutputRepresentationNormalized;
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
17
17
  export interface ConfiguratorAttributeOutputRepresentationNormalized {
18
18
  /** Attribute Category ID of the attribute */
19
19
  attributeCategoryId?: string;
20
+ /** attribute name override of the attribute */
21
+ attributeNameOverride?: string;
20
22
  attributePicklist?: ConfiguratorAttributePicklistOutputRepresentation_ConfiguratorAttributePicklistOutputRepresentation;
21
23
  /** Code of the attribute */
22
24
  code?: string;
@@ -54,6 +56,8 @@ export interface ConfiguratorAttributeOutputRepresentationNormalized {
54
56
  status?: string;
55
57
  /** User Value of this attribute */
56
58
  userValue?: string;
59
+ /** value description of the attribute */
60
+ valueDescription?: string;
57
61
  }
58
62
  /**
59
63
  * Output Representation for the Configurator API's Attributes
@@ -63,6 +67,7 @@ export interface ConfiguratorAttributeOutputRepresentationNormalized {
63
67
  */
64
68
  export interface ConfiguratorAttributeOutputRepresentation {
65
69
  attributeCategoryId?: string;
70
+ attributeNameOverride?: string;
66
71
  attributePicklist?: ConfiguratorAttributePicklistOutputRepresentation_ConfiguratorAttributePicklistOutputRepresentation;
67
72
  code?: string;
68
73
  dataType?: string;
@@ -82,4 +87,5 @@ export interface ConfiguratorAttributeOutputRepresentation {
82
87
  sequence?: number;
83
88
  status?: string;
84
89
  userValue?: string;
90
+ valueDescription?: string;
85
91
  }
@@ -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 = "83e6ba41f7ccbda9c1359f95f1dc89ea";
2
+ export declare const VERSION = "cbfbe6c731dc6aed70fcdbc3852e85e7";
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: ConfiguratorProductRelatedComponentOutputRepresentation, existing: ConfiguratorProductRelatedComponentOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConfiguratorProductRelatedComponentOutputRepresentationNormalized;
@@ -38,6 +38,8 @@ export interface ConfiguratorProductRelatedComponentOutputRepresentationNormaliz
38
38
  quantity?: number;
39
39
  /** Quantity Scale Method */
40
40
  quantityScaleMethod?: string;
41
+ /** Sequence */
42
+ sequence?: number;
41
43
  }
42
44
  /**
43
45
  * Output Representation for the Configurator API's Product Related Component
@@ -58,4 +60,5 @@ export interface ConfiguratorProductRelatedComponentOutputRepresentation {
58
60
  productComponentGroupId?: string;
59
61
  quantity?: number;
60
62
  quantityScaleMethod?: string;
63
+ sequence?: number;
61
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-cpq",
3
- "version": "1.227.2",
3
+ "version": "1.228.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",
package/sfdc/index.js CHANGED
@@ -297,6 +297,13 @@ function validate$A(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
297
297
  return new TypeError('Expected "string" but received "' + typeof obj_attributeCategoryId + '" (at "' + path_attributeCategoryId + '")');
298
298
  }
299
299
  }
300
+ if (obj.attributeNameOverride !== undefined) {
301
+ const obj_attributeNameOverride = obj.attributeNameOverride;
302
+ const path_attributeNameOverride = path + '.attributeNameOverride';
303
+ if (typeof obj_attributeNameOverride !== 'string') {
304
+ return new TypeError('Expected "string" but received "' + typeof obj_attributeNameOverride + '" (at "' + path_attributeNameOverride + '")');
305
+ }
306
+ }
300
307
  if (obj.attributePicklist !== undefined) {
301
308
  const obj_attributePicklist = obj.attributePicklist;
302
309
  const path_attributePicklist = path + '.attributePicklist';
@@ -433,6 +440,13 @@ function validate$A(obj, path = 'ConfiguratorAttributeOutputRepresentation') {
433
440
  return new TypeError('Expected "string" but received "' + typeof obj_userValue + '" (at "' + path_userValue + '")');
434
441
  }
435
442
  }
443
+ if (obj.valueDescription !== undefined) {
444
+ const obj_valueDescription = obj.valueDescription;
445
+ const path_valueDescription = path + '.valueDescription';
446
+ if (typeof obj_valueDescription !== 'string') {
447
+ return new TypeError('Expected "string" but received "' + typeof obj_valueDescription + '" (at "' + path_valueDescription + '")');
448
+ }
449
+ }
436
450
  })();
437
451
  return v_error === undefined ? null : v_error;
438
452
  }
@@ -779,6 +793,13 @@ function validate$v(obj, path = 'ConfiguratorProductRelatedComponentOutputRepres
779
793
  return new TypeError('Expected "string" but received "' + typeof obj_quantityScaleMethod + '" (at "' + path_quantityScaleMethod + '")');
780
794
  }
781
795
  }
796
+ if (obj.sequence !== undefined) {
797
+ const obj_sequence = obj.sequence;
798
+ const path_sequence = path + '.sequence';
799
+ if (typeof obj_sequence !== 'number' || (typeof obj_sequence === 'number' && Math.floor(obj_sequence) !== obj_sequence)) {
800
+ return new TypeError('Expected "integer" but received "' + typeof obj_sequence + '" (at "' + path_sequence + '")');
801
+ }
802
+ }
782
803
  })();
783
804
  return v_error === undefined ? null : v_error;
784
805
  }
@@ -5513,4 +5534,4 @@ withDefaultLuvio((luvio) => {
5513
5534
  });
5514
5535
 
5515
5536
  export { configure, createCart, createCartItems, getCart, getCart_imperative, preview, priceCart, productDetails, productList, searchProductList, updateCart, updateCartItems };
5516
- // version: 1.227.2-e5b78df09
5537
+ // version: 1.228.0-946298e9a
package/src/raml/api.raml CHANGED
@@ -216,6 +216,10 @@ types:
216
216
  description: Attribute Category ID of the attribute
217
217
  type: string
218
218
  required: false # TODO hand rolled. W-9275477
219
+ attributeNameOverride:
220
+ description: attribute name override of the attribute
221
+ type: string
222
+ required: false # TODO hand rolled. W-9275477
219
223
  attributePicklist:
220
224
  description: Attribute Picklist Values of this attribute
221
225
  type: ConfiguratorAttributePicklistOutputRepresentation
@@ -292,6 +296,10 @@ types:
292
296
  description: User Value of this attribute
293
297
  type: string
294
298
  required: false # TODO hand rolled. W-9275477
299
+ valueDescription:
300
+ description: value description of the attribute
301
+ type: string
302
+ required: false # TODO hand rolled. W-9275477
295
303
  ConfiguratorAttributePicklistOutputRepresentation:
296
304
  description: Output Representation for the Configurator API's Attribute Picklist
297
305
  type: object
@@ -673,6 +681,10 @@ types:
673
681
  enum:
674
682
  - Constant
675
683
  - Proportional
684
+ sequence:
685
+ description: Sequence
686
+ type: integer
687
+ required: false # TODO hand rolled. W-9275477
676
688
  ConfiguratorQualificationContextOutputRepresentation:
677
689
  description: Output Representation for the Configurator API's Qualification Context
678
690
  type: object