@salesforce/lds-adapters-industries-cpq 1.367.0 → 1.369.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.
@@ -6277,34 +6277,6 @@ function validate$n(obj, path = 'ConfiguratorInputRepresentation') {
6277
6277
  return new TypeError(message);
6278
6278
  }
6279
6279
  }
6280
- if (obj.transactionLineGroupId !== undefined) {
6281
- const obj_transactionLineGroupId = obj.transactionLineGroupId;
6282
- const path_transactionLineGroupId = path + '.transactionLineGroupId';
6283
- let obj_transactionLineGroupId_union0 = null;
6284
- const obj_transactionLineGroupId_union0_error = (() => {
6285
- if (typeof obj_transactionLineGroupId !== 'string') {
6286
- return new TypeError('Expected "string" but received "' + typeof obj_transactionLineGroupId + '" (at "' + path_transactionLineGroupId + '")');
6287
- }
6288
- })();
6289
- if (obj_transactionLineGroupId_union0_error != null) {
6290
- obj_transactionLineGroupId_union0 = obj_transactionLineGroupId_union0_error.message;
6291
- }
6292
- let obj_transactionLineGroupId_union1 = null;
6293
- const obj_transactionLineGroupId_union1_error = (() => {
6294
- if (obj_transactionLineGroupId !== null) {
6295
- return new TypeError('Expected "null" but received "' + typeof obj_transactionLineGroupId + '" (at "' + path_transactionLineGroupId + '")');
6296
- }
6297
- })();
6298
- if (obj_transactionLineGroupId_union1_error != null) {
6299
- obj_transactionLineGroupId_union1 = obj_transactionLineGroupId_union1_error.message;
6300
- }
6301
- if (obj_transactionLineGroupId_union0 && obj_transactionLineGroupId_union1) {
6302
- let message = 'Object doesn\'t match union (at "' + path_transactionLineGroupId + '")';
6303
- message += '\n' + obj_transactionLineGroupId_union0.split('\n').map((line) => '\t' + line).join('\n');
6304
- message += '\n' + obj_transactionLineGroupId_union1.split('\n').map((line) => '\t' + line).join('\n');
6305
- return new TypeError(message);
6306
- }
6307
- }
6308
6280
  if (obj.transactionLineId !== undefined) {
6309
6281
  const obj_transactionLineId = obj.transactionLineId;
6310
6282
  const path_transactionLineId = path + '.transactionLineId';
@@ -7630,7 +7602,7 @@ function validate$8(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
7630
7602
  }
7631
7603
 
7632
7604
  const TTL$7 = 1000;
7633
- const VERSION$7 = "fab550b7f1154eab0e85224ff793d8f6";
7605
+ const VERSION$7 = "2b964fefc1aca8e13065fe8adf646aac";
7634
7606
  function validate$7(obj, path = 'ConfiguratorOutputRepresentation') {
7635
7607
  const v_error = (() => {
7636
7608
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7667,20 +7639,6 @@ function validate$7(obj, path = 'ConfiguratorOutputRepresentation') {
7667
7639
  }
7668
7640
  }
7669
7641
  }
7670
- if (obj.futureGroupIds !== undefined) {
7671
- const obj_futureGroupIds = obj.futureGroupIds;
7672
- const path_futureGroupIds = path + '.futureGroupIds';
7673
- if (!ArrayIsArray(obj_futureGroupIds)) {
7674
- return new TypeError('Expected "array" but received "' + typeof obj_futureGroupIds + '" (at "' + path_futureGroupIds + '")');
7675
- }
7676
- for (let i = 0; i < obj_futureGroupIds.length; i++) {
7677
- const obj_futureGroupIds_item = obj_futureGroupIds[i];
7678
- const path_futureGroupIds_item = path_futureGroupIds + '[' + i + ']';
7679
- if (typeof obj_futureGroupIds_item !== 'string') {
7680
- return new TypeError('Expected "string" but received "' + typeof obj_futureGroupIds_item + '" (at "' + path_futureGroupIds_item + '")');
7681
- }
7682
- }
7683
- }
7684
7642
  if (obj.messages !== undefined) {
7685
7643
  const obj_messages = obj.messages;
7686
7644
  const path_messages = path + '.messages';
@@ -3,7 +3,7 @@ import { ConfiguratorOptionsInputRepresentation as ConfiguratorOptionsInputRepre
3
3
  import { ConfiguratorDeletedNodeInputRepresentation as ConfiguratorDeletedNodeInputRepresentation_ConfiguratorDeletedNodeInputRepresentation } from './ConfiguratorDeletedNodeInputRepresentation';
4
4
  import { ConfiguratorUpdatedNodeInputRepresentation as ConfiguratorUpdatedNodeInputRepresentation_ConfiguratorUpdatedNodeInputRepresentation } from './ConfiguratorUpdatedNodeInputRepresentation';
5
5
  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';
6
- export declare const VERSION = "f9063f32c65de912e5777fbddd2e222c";
6
+ export declare const VERSION = "3e8bc91ec41fe81d7a8c65a1af19b4b8";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export declare function normalize(input: ConfiguratorInputRepresentation, existing: ConfiguratorInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConfiguratorInputRepresentationNormalized;
@@ -37,8 +37,6 @@ export interface ConfiguratorInputRepresentationNormalized {
37
37
  transactionContextId?: string | null;
38
38
  /** Transaction ID */
39
39
  transactionId?: string | null;
40
- /** Transaction Line Group ID */
41
- transactionLineGroupId?: string | null;
42
40
  /** Transaction Line ID */
43
41
  transactionLineId?: string | null;
44
42
  /** List of Updated Nodes to the Configurator */
@@ -61,7 +59,6 @@ export interface ConfiguratorInputRepresentation {
61
59
  qualificationContext?: {};
62
60
  transactionContextId?: string | null;
63
61
  transactionId?: string | null;
64
- transactionLineGroupId?: string | null;
65
62
  transactionLineId?: string | null;
66
63
  updatedNodes?: Array<ConfiguratorUpdatedNodeInputRepresentation_ConfiguratorUpdatedNodeInputRepresentation>;
67
64
  }
@@ -1,7 +1,7 @@
1
1
  import { ConfiguratorProductCatalogOutputRepresentation as ConfiguratorProductCatalogOutputRepresentation_ConfiguratorProductCatalogOutputRepresentation } from './ConfiguratorProductCatalogOutputRepresentation';
2
2
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
3
  export declare const TTL = 1000;
4
- export declare const VERSION = "fab550b7f1154eab0e85224ff793d8f6";
4
+ export declare const VERSION = "2b964fefc1aca8e13065fe8adf646aac";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -29,8 +29,6 @@ export interface ConfiguratorOutputRepresentationNormalized {
29
29
  catalogProducts?: Array<ConfiguratorProductCatalogOutputRepresentation_ConfiguratorProductCatalogOutputRepresentation>;
30
30
  /** List of Errors */
31
31
  errors?: Array<{}>;
32
- /** Future Group IDs */
33
- futureGroupIds?: Array<string>;
34
32
  /** Messages */
35
33
  messages?: unknown;
36
34
  /** Success Flag */
@@ -55,7 +53,6 @@ export interface ConfiguratorOutputRepresentationNormalized {
55
53
  export interface ConfiguratorOutputRepresentation {
56
54
  catalogProducts?: Array<ConfiguratorProductCatalogOutputRepresentation_ConfiguratorProductCatalogOutputRepresentation>;
57
55
  errors?: Array<{}>;
58
- futureGroupIds?: Array<string>;
59
56
  messages?: unknown;
60
57
  success?: boolean;
61
58
  transactionContext?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-cpq",
3
- "version": "1.367.0",
3
+ "version": "1.369.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.367.0"
47
+ "@salesforce/lds-bindings": "^1.369.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.367.0",
51
- "@salesforce/lds-karma": "^1.367.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.369.0",
51
+ "@salesforce/lds-karma": "^1.369.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -1467,34 +1467,6 @@ function validate$R(obj, path = 'ConfiguratorInputRepresentation') {
1467
1467
  return new TypeError(message);
1468
1468
  }
1469
1469
  }
1470
- if (obj.transactionLineGroupId !== undefined) {
1471
- const obj_transactionLineGroupId = obj.transactionLineGroupId;
1472
- const path_transactionLineGroupId = path + '.transactionLineGroupId';
1473
- let obj_transactionLineGroupId_union0 = null;
1474
- const obj_transactionLineGroupId_union0_error = (() => {
1475
- if (typeof obj_transactionLineGroupId !== 'string') {
1476
- return new TypeError('Expected "string" but received "' + typeof obj_transactionLineGroupId + '" (at "' + path_transactionLineGroupId + '")');
1477
- }
1478
- })();
1479
- if (obj_transactionLineGroupId_union0_error != null) {
1480
- obj_transactionLineGroupId_union0 = obj_transactionLineGroupId_union0_error.message;
1481
- }
1482
- let obj_transactionLineGroupId_union1 = null;
1483
- const obj_transactionLineGroupId_union1_error = (() => {
1484
- if (obj_transactionLineGroupId !== null) {
1485
- return new TypeError('Expected "null" but received "' + typeof obj_transactionLineGroupId + '" (at "' + path_transactionLineGroupId + '")');
1486
- }
1487
- })();
1488
- if (obj_transactionLineGroupId_union1_error != null) {
1489
- obj_transactionLineGroupId_union1 = obj_transactionLineGroupId_union1_error.message;
1490
- }
1491
- if (obj_transactionLineGroupId_union0 && obj_transactionLineGroupId_union1) {
1492
- let message = 'Object doesn\'t match union (at "' + path_transactionLineGroupId + '")';
1493
- message += '\n' + obj_transactionLineGroupId_union0.split('\n').map((line) => '\t' + line).join('\n');
1494
- message += '\n' + obj_transactionLineGroupId_union1.split('\n').map((line) => '\t' + line).join('\n');
1495
- return new TypeError(message);
1496
- }
1497
- }
1498
1470
  if (obj.transactionLineId !== undefined) {
1499
1471
  const obj_transactionLineId = obj.transactionLineId;
1500
1472
  const path_transactionLineId = path + '.transactionLineId';
@@ -2820,7 +2792,7 @@ function validate$C(obj, path = 'ConfiguratorProductCatalogOutputRepresentation'
2820
2792
  }
2821
2793
 
2822
2794
  const TTL$e = 1000;
2823
- const VERSION$m = "fab550b7f1154eab0e85224ff793d8f6";
2795
+ const VERSION$m = "2b964fefc1aca8e13065fe8adf646aac";
2824
2796
  function validate$B(obj, path = 'ConfiguratorOutputRepresentation') {
2825
2797
  const v_error = (() => {
2826
2798
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2857,20 +2829,6 @@ function validate$B(obj, path = 'ConfiguratorOutputRepresentation') {
2857
2829
  }
2858
2830
  }
2859
2831
  }
2860
- if (obj.futureGroupIds !== undefined) {
2861
- const obj_futureGroupIds = obj.futureGroupIds;
2862
- const path_futureGroupIds = path + '.futureGroupIds';
2863
- if (!ArrayIsArray(obj_futureGroupIds)) {
2864
- return new TypeError('Expected "array" but received "' + typeof obj_futureGroupIds + '" (at "' + path_futureGroupIds + '")');
2865
- }
2866
- for (let i = 0; i < obj_futureGroupIds.length; i++) {
2867
- const obj_futureGroupIds_item = obj_futureGroupIds[i];
2868
- const path_futureGroupIds_item = path_futureGroupIds + '[' + i + ']';
2869
- if (typeof obj_futureGroupIds_item !== 'string') {
2870
- return new TypeError('Expected "string" but received "' + typeof obj_futureGroupIds_item + '" (at "' + path_futureGroupIds_item + '")');
2871
- }
2872
- }
2873
- }
2874
2832
  if (obj.messages !== undefined) {
2875
2833
  const obj_messages = obj.messages;
2876
2834
  const path_messages = path + '.messages';
@@ -9631,4 +9589,4 @@ withDefaultLuvio((luvio) => {
9631
9589
  });
9632
9590
 
9633
9591
  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 };
9634
- // version: 1.367.0-dc146bc62e
9592
+ // version: 1.369.0-7bf258f54c
package/src/raml/api.raml CHANGED
@@ -606,10 +606,6 @@ types:
606
606
  description: Transaction ID
607
607
  type: string | nil # TODO Hand-Rolled due to issue #1 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
608
608
  required: false # TODO hand rolled. W-9275477
609
- transactionLineGroupId:
610
- description: Transaction Line Group ID
611
- type: string | nil # TODO Hand-Rolled due to issue #1 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
612
- required: false # TODO hand rolled. W-9275477
613
609
  transactionLineId:
614
610
  description: Transaction Line ID
615
611
  type: string | nil # TODO Hand-Rolled due to issue #1 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAMmFgP)
@@ -688,12 +684,6 @@ types:
688
684
  required: false # TODO hand rolled. W-9275477
689
685
  items:
690
686
  type: object
691
- futureGroupIds:
692
- description: Future Group IDs
693
- type: array
694
- required: false # TODO hand rolled. W-9275477
695
- items:
696
- type: string
697
687
  messages:
698
688
  description: Messages
699
689
  type: any