@salesforce/lds-adapters-industries-cpq 1.329.1 → 1.331.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.
@@ -6,8 +6,9 @@ import { ProductRelatedComponentOutputRepresentation as ProductRelatedComponentO
6
6
  import { ProductSellingModelOptionOutputRepresentation as ProductSellingModelOptionOutputRepresentation_ProductSellingModelOptionOutputRepresentation } from './ProductSellingModelOptionOutputRepresentation';
7
7
  import { ProductSpecificationTypeOutputRepresentation as ProductSpecificationTypeOutputRepresentation_ProductSpecificationTypeOutputRepresentation } from './ProductSpecificationTypeOutputRepresentation';
8
8
  import { QualificationContextOutputRepresentation as QualificationContextOutputRepresentation_QualificationContextOutputRepresentation } from './QualificationContextOutputRepresentation';
9
+ import { ProductVariantAttributeSetOutputRepresentation as ProductVariantAttributeSetOutputRepresentation_ProductVariantAttributeSetOutputRepresentation } from './ProductVariantAttributeSetOutputRepresentation';
9
10
  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';
10
- export declare const VERSION = "27f853cf43f44ce662aeb457772740e2";
11
+ export declare const VERSION = "9c2494a7aa4be93e1641372328fdbcc6";
11
12
  export declare function validate(obj: any, path?: string): TypeError | null;
12
13
  export declare const RepresentationType: string;
13
14
  export declare function normalize(input: ProductOutputRepresentation, existing: ProductOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductOutputRepresentationNormalized;
@@ -28,6 +29,8 @@ export interface ProductOutputRepresentationNormalized {
28
29
  attributeCategories?: Array<AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation>;
29
30
  /** availabilityDate of the product */
30
31
  availabilityDate?: string;
32
+ /** Child Variation Identifiers */
33
+ childVariationIds?: Array<string>;
31
34
  /** ConfigureDuringSale of the product */
32
35
  configureDuringSale?: string;
33
36
  /** Description of the product */
@@ -71,6 +74,8 @@ export interface ProductOutputRepresentationNormalized {
71
74
  qualificationContext?: QualificationContextOutputRepresentation_QualificationContextOutputRepresentation;
72
75
  /** Status of the product */
73
76
  status?: string;
77
+ /** Product Variation Attribute Set */
78
+ variationAttributeSet?: ProductVariantAttributeSetOutputRepresentation_ProductVariantAttributeSetOutputRepresentation;
74
79
  }
75
80
  /**
76
81
  * Product output representation
@@ -82,6 +87,7 @@ export interface ProductOutputRepresentation {
82
87
  additionalFields?: {};
83
88
  attributeCategories?: Array<AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation>;
84
89
  availabilityDate?: string;
90
+ childVariationIds?: Array<string>;
85
91
  configureDuringSale?: string;
86
92
  description?: string;
87
93
  discontinuedDate?: string;
@@ -106,4 +112,5 @@ export interface ProductOutputRepresentation {
106
112
  productType?: string;
107
113
  qualificationContext?: QualificationContextOutputRepresentation_QualificationContextOutputRepresentation;
108
114
  status?: string;
115
+ variationAttributeSet?: ProductVariantAttributeSetOutputRepresentation_ProductVariantAttributeSetOutputRepresentation;
109
116
  }
@@ -0,0 +1,37 @@
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 = "19cb60cbb4ab17b86a92d327f386d19a";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ProductVariantAttributeOutputRepresentation, existing: ProductVariantAttributeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductVariantAttributeOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ProductVariantAttributeOutputRepresentationNormalized, incoming: ProductVariantAttributeOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductVariantAttributeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Product Variant Attribute representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ProductVariantAttributeOutputRepresentationNormalized {
17
+ /** Attribute Set Item Id of the Attribute */
18
+ attributeSetItemId?: string;
19
+ /** Field Api Name of the Attribute */
20
+ fieldApiName?: string;
21
+ /** Field Id of the Attribute */
22
+ fieldId?: string;
23
+ /** Field Label of the Attribute */
24
+ fieldLabel?: string;
25
+ }
26
+ /**
27
+ * Product Variant Attribute representation
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface ProductVariantAttributeOutputRepresentation {
33
+ attributeSetItemId?: string;
34
+ fieldApiName?: string;
35
+ fieldId?: string;
36
+ fieldLabel?: string;
37
+ }
@@ -0,0 +1,40 @@
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 = "5b55e2284018fc7fb077b5d1a340f929";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ProductVariantAttributeSetOutputRepresentation, existing: ProductVariantAttributeSetOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductVariantAttributeSetOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ProductVariantAttributeSetOutputRepresentationNormalized, incoming: ProductVariantAttributeSetOutputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductVariantAttributeSetOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Product Variant Attribute Set representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ProductVariantAttributeSetOutputRepresentationNormalized {
17
+ /** Attributes participating in the Attribute Set */
18
+ attributes?: {};
19
+ /** Description of the Attribute Set */
20
+ description?: string;
21
+ /** Developer Name of the Attribute Set */
22
+ developerName?: string;
23
+ /** Id of the Attribute Set */
24
+ id?: string;
25
+ /** Label of the Attribute Set */
26
+ label?: string;
27
+ }
28
+ /**
29
+ * Product Variant Attribute Set representation
30
+ *
31
+ * Keys:
32
+ * (none)
33
+ */
34
+ export interface ProductVariantAttributeSetOutputRepresentation {
35
+ attributes?: {};
36
+ description?: string;
37
+ developerName?: string;
38
+ id?: string;
39
+ label?: string;
40
+ }
@@ -0,0 +1,32 @@
1
+ import { ProductVariantAttributeOutputRepresentation as ProductVariantAttributeOutputRepresentation_ProductVariantAttributeOutputRepresentation } from './ProductVariantAttributeOutputRepresentation';
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 = "1846eb7a2116cfdb0c397e55bbda11e6";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ProductVariantAttributeValueOutputRepresentation, existing: ProductVariantAttributeValueOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductVariantAttributeValueOutputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ProductVariantAttributeValueOutputRepresentationNormalized, incoming: ProductVariantAttributeValueOutputRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductVariantAttributeValueOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Product Variant Attribute value representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface ProductVariantAttributeValueOutputRepresentationNormalized {
18
+ /** Attribute */
19
+ attribute?: ProductVariantAttributeOutputRepresentation_ProductVariantAttributeOutputRepresentation;
20
+ /** Value of the Attribute */
21
+ value?: {};
22
+ }
23
+ /**
24
+ * Product Variant Attribute value representation
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface ProductVariantAttributeValueOutputRepresentation {
30
+ attribute?: ProductVariantAttributeOutputRepresentation_ProductVariantAttributeOutputRepresentation;
31
+ value?: {};
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-cpq",
3
- "version": "1.329.1",
3
+ "version": "1.331.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.329.1"
47
+ "@salesforce/lds-bindings": "^1.331.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.329.1",
51
- "@salesforce/lds-karma": "^1.329.1"
50
+ "@salesforce/lds-compiler-plugins": "^1.331.0",
51
+ "@salesforce/lds-karma": "^1.331.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -9540,4 +9540,4 @@ withDefaultLuvio((luvio) => {
9540
9540
  });
9541
9541
 
9542
9542
  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.329.1-c9b166ef17
9543
+ // version: 1.331.0-e9c482e8ab
package/src/raml/api.raml CHANGED
@@ -2498,10 +2498,76 @@ types:
2498
2498
  description: Status of the product
2499
2499
  type: string
2500
2500
  required: false
2501
+ ProductVariantAttributeOutputRepresentation:
2502
+ description: Product Variant Attribute representation
2503
+ type: object
2504
+ properties:
2505
+ attributeSetItemId:
2506
+ description: Attribute Set Item Id of the Attribute
2507
+ type: string
2508
+ required: false
2509
+ fieldId:
2510
+ description: Field Id of the Attribute
2511
+ type: string
2512
+ required: false
2513
+ fieldApiName:
2514
+ description: Field Api Name of the Attribute
2515
+ type: string
2516
+ required: false
2517
+ fieldLabel:
2518
+ description: Field Label of the Attribute
2519
+ type: string
2520
+ required: false
2521
+ ProductVariantAttributeValueOutputRepresentation:
2522
+ description: Product Variant Attribute value representation
2523
+ type: object
2524
+ properties:
2525
+ attribute:
2526
+ description: Attribute
2527
+ type: ProductVariantAttributeOutputRepresentation
2528
+ required: false
2529
+ value:
2530
+ description: Value of the Attribute
2531
+ type: object
2532
+ required: false
2533
+ ProductVariantAttributeSetOutputRepresentation:
2534
+ description: Product Variant Attribute Set representation
2535
+ type: object
2536
+ properties:
2537
+ id:
2538
+ description: Id of the Attribute Set
2539
+ type: string
2540
+ required: false
2541
+ developerName:
2542
+ description: Developer Name of the Attribute Set
2543
+ type: string
2544
+ required: false
2545
+ label:
2546
+ description: Label of the Attribute Set
2547
+ type: string
2548
+ required: false
2549
+ description:
2550
+ description: Description of the Attribute Set
2551
+ type: string
2552
+ required: false
2553
+ attributes:
2554
+ description: Attributes participating in the Attribute Set
2555
+ type: object
2556
+ required: false
2501
2557
  ProductOutputRepresentation:
2502
2558
  description: Product output representation
2503
2559
  type: object
2504
2560
  properties:
2561
+ childVariationIds:
2562
+ description: Child Variation Identifiers
2563
+ type: array
2564
+ required: false
2565
+ items:
2566
+ type: string
2567
+ variationAttributeSet:
2568
+ description: Product Variation Attribute Set
2569
+ type: ProductVariantAttributeSetOutputRepresentation
2570
+ required: false
2505
2571
  additionalFields:
2506
2572
  description: Map of additional fields
2507
2573
  type: object