@salesforce/lds-adapters-industries-cpq 1.394.0 → 1.396.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.
@@ -719,6 +719,13 @@ function validate$1h(obj, path = 'ProductListInputRepresentation') {
719
719
  return new TypeError('Expected "string" but received "' + typeof obj_cursor + '" (at "' + path_cursor + '")');
720
720
  }
721
721
  }
722
+ if (obj.executeConfigurationRules !== undefined) {
723
+ const obj_executeConfigurationRules = obj.executeConfigurationRules;
724
+ const path_executeConfigurationRules = path + '.executeConfigurationRules';
725
+ if (typeof obj_executeConfigurationRules !== 'boolean') {
726
+ return new TypeError('Expected "boolean" but received "' + typeof obj_executeConfigurationRules + '" (at "' + path_executeConfigurationRules + '")');
727
+ }
728
+ }
722
729
  if (obj.filter !== undefined) {
723
730
  const obj_filter = obj.filter;
724
731
  const path_filter = path + '.filter';
@@ -754,10 +761,26 @@ function validate$1h(obj, path = 'ProductListInputRepresentation') {
754
761
  }
755
762
  }
756
763
  }
757
- const obj_priceBookId = obj.priceBookId;
758
- const path_priceBookId = path + '.priceBookId';
759
- if (typeof obj_priceBookId !== 'string') {
760
- return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
764
+ if (obj.priceBookId !== undefined) {
765
+ const obj_priceBookId = obj.priceBookId;
766
+ const path_priceBookId = path + '.priceBookId';
767
+ if (typeof obj_priceBookId !== 'string') {
768
+ return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
769
+ }
770
+ }
771
+ if (obj.transactionContextId !== undefined) {
772
+ const obj_transactionContextId = obj.transactionContextId;
773
+ const path_transactionContextId = path + '.transactionContextId';
774
+ if (typeof obj_transactionContextId !== 'string') {
775
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionContextId + '" (at "' + path_transactionContextId + '")');
776
+ }
777
+ }
778
+ if (obj.transactionId !== undefined) {
779
+ const obj_transactionId = obj.transactionId;
780
+ const path_transactionId = path + '.transactionId';
781
+ if (typeof obj_transactionId !== 'string') {
782
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionId + '" (at "' + path_transactionId + '")');
783
+ }
761
784
  }
762
785
  if (obj.usePromotions !== undefined) {
763
786
  const obj_usePromotions = obj.usePromotions;
@@ -1206,8 +1229,9 @@ const guidedSelectionProductList_ConfigPropertyMetadata = [
1206
1229
  generateParamConfigMetadata('cursor', false, 2 /* Body */, 0 /* String */),
1207
1230
  generateParamConfigMetadata('enablePricing', false, 2 /* Body */, 1 /* Boolean */),
1208
1231
  generateParamConfigMetadata('enableQualification', false, 2 /* Body */, 1 /* Boolean */),
1209
- generateParamConfigMetadata('usePromotions', false, 2 /* Body */, 1 /* Boolean */),
1232
+ generateParamConfigMetadata('executeConfigurationRules', false, 2 /* Body */, 1 /* Boolean */),
1210
1233
  generateParamConfigMetadata('filter', false, 2 /* Body */, 4 /* Unsupported */),
1234
+ generateParamConfigMetadata('guidedSelectionResponseId', false, 2 /* Body */, 0 /* String */),
1211
1235
  generateParamConfigMetadata('includeCatalogDetails', false, 2 /* Body */, 1 /* Boolean */),
1212
1236
  generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
1213
1237
  generateParamConfigMetadata('offset', false, 2 /* Body */, 3 /* Integer */),
@@ -1217,9 +1241,11 @@ const guidedSelectionProductList_ConfigPropertyMetadata = [
1217
1241
  generateParamConfigMetadata('productClassificationId', false, 2 /* Body */, 0 /* String */),
1218
1242
  generateParamConfigMetadata('qualificationProcedure', false, 2 /* Body */, 0 /* String */),
1219
1243
  generateParamConfigMetadata('relatedObjectFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
1220
- generateParamConfigMetadata('userContext', false, 2 /* Body */, 4 /* Unsupported */),
1221
- generateParamConfigMetadata('guidedSelectionResponseId', false, 2 /* Body */, 0 /* String */),
1222
1244
  generateParamConfigMetadata('searchTerms', false, 2 /* Body */, 4 /* Unsupported */, true),
1245
+ generateParamConfigMetadata('transactionContextId', false, 2 /* Body */, 0 /* String */),
1246
+ generateParamConfigMetadata('transactionId', false, 2 /* Body */, 0 /* String */),
1247
+ generateParamConfigMetadata('usePromotions', false, 2 /* Body */, 1 /* Boolean */),
1248
+ generateParamConfigMetadata('userContext', false, 2 /* Body */, 4 /* Unsupported */),
1223
1249
  ];
1224
1250
  const guidedSelectionProductList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, guidedSelectionProductList_ConfigPropertyMetadata);
1225
1251
  const createResourceParams$o = /*#__PURE__*/ createResourceParams$r(guidedSelectionProductList_ConfigPropertyMetadata);
@@ -1252,13 +1278,6 @@ function typeCheckConfig$o(untrustedConfig) {
1252
1278
  }
1253
1279
  config.relatedObjectFilters = untrustedConfig_relatedObjectFilters_array;
1254
1280
  }
1255
- const untrustedConfig_userContext = untrustedConfig.userContext;
1256
- if (untrustedIsObject(untrustedConfig_userContext)) {
1257
- const untrustedConfig_userContext_object = {};
1258
- if (untrustedConfig_userContext_object !== undefined && Object.keys(untrustedConfig_userContext_object).length >= 0) {
1259
- config.userContext = untrustedConfig_userContext_object;
1260
- }
1261
- }
1262
1281
  const untrustedConfig_searchTerms = untrustedConfig.searchTerms;
1263
1282
  if (ArrayIsArray$1(untrustedConfig_searchTerms)) {
1264
1283
  const untrustedConfig_searchTerms_array = [];
@@ -1271,6 +1290,13 @@ function typeCheckConfig$o(untrustedConfig) {
1271
1290
  }
1272
1291
  config.searchTerms = untrustedConfig_searchTerms_array;
1273
1292
  }
1293
+ const untrustedConfig_userContext = untrustedConfig.userContext;
1294
+ if (untrustedIsObject(untrustedConfig_userContext)) {
1295
+ const untrustedConfig_userContext_object = {};
1296
+ if (untrustedConfig_userContext_object !== undefined && Object.keys(untrustedConfig_userContext_object).length >= 0) {
1297
+ config.userContext = untrustedConfig_userContext_object;
1298
+ }
1299
+ }
1274
1300
  return config;
1275
1301
  }
1276
1302
  function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
@@ -1348,6 +1374,13 @@ function validate$1a(obj, path = 'SearchProductsInputRepresentation') {
1348
1374
  return new TypeError('Expected "string" but received "' + typeof obj_correlationId + '" (at "' + path_correlationId + '")');
1349
1375
  }
1350
1376
  }
1377
+ if (obj.executeConfigurationRules !== undefined) {
1378
+ const obj_executeConfigurationRules = obj.executeConfigurationRules;
1379
+ const path_executeConfigurationRules = path + '.executeConfigurationRules';
1380
+ if (typeof obj_executeConfigurationRules !== 'boolean') {
1381
+ return new TypeError('Expected "boolean" but received "' + typeof obj_executeConfigurationRules + '" (at "' + path_executeConfigurationRules + '")');
1382
+ }
1383
+ }
1351
1384
  if (obj.filter !== undefined) {
1352
1385
  const obj_filter = obj.filter;
1353
1386
  const path_filter = path + '.filter';
@@ -1383,10 +1416,12 @@ function validate$1a(obj, path = 'SearchProductsInputRepresentation') {
1383
1416
  }
1384
1417
  }
1385
1418
  }
1386
- const obj_priceBookId = obj.priceBookId;
1387
- const path_priceBookId = path + '.priceBookId';
1388
- if (typeof obj_priceBookId !== 'string') {
1389
- return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
1419
+ if (obj.priceBookId !== undefined) {
1420
+ const obj_priceBookId = obj.priceBookId;
1421
+ const path_priceBookId = path + '.priceBookId';
1422
+ if (typeof obj_priceBookId !== 'string') {
1423
+ return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
1424
+ }
1390
1425
  }
1391
1426
  if (obj.query !== undefined) {
1392
1427
  const obj_query = obj.query;
@@ -1402,6 +1437,20 @@ function validate$1a(obj, path = 'SearchProductsInputRepresentation') {
1402
1437
  return new TypeError('Expected "string" but received "' + typeof obj_searchTerm + '" (at "' + path_searchTerm + '")');
1403
1438
  }
1404
1439
  }
1440
+ if (obj.transactionContextId !== undefined) {
1441
+ const obj_transactionContextId = obj.transactionContextId;
1442
+ const path_transactionContextId = path + '.transactionContextId';
1443
+ if (typeof obj_transactionContextId !== 'string') {
1444
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionContextId + '" (at "' + path_transactionContextId + '")');
1445
+ }
1446
+ }
1447
+ if (obj.transactionId !== undefined) {
1448
+ const obj_transactionId = obj.transactionId;
1449
+ const path_transactionId = path + '.transactionId';
1450
+ if (typeof obj_transactionId !== 'string') {
1451
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionId + '" (at "' + path_transactionId + '")');
1452
+ }
1453
+ }
1405
1454
  if (obj.usePromotions !== undefined) {
1406
1455
  const obj_usePromotions = obj.usePromotions;
1407
1456
  const path_usePromotions = path + '.usePromotions';
@@ -10702,11 +10751,9 @@ function typeCheckConfig(untrustedConfig) {
10702
10751
  }
10703
10752
  }
10704
10753
  const untrustedConfig_filter = untrustedConfig.filter;
10705
- if (untrustedIsObject(untrustedConfig_filter)) {
10706
- const untrustedConfig_filter_object = {};
10707
- if (untrustedConfig_filter_object !== undefined && Object.keys(untrustedConfig_filter_object).length >= 0) {
10708
- config.filter = untrustedConfig_filter_object;
10709
- }
10754
+ const referenceFilterInputRepresentationValidationError = validate$1f(untrustedConfig_filter);
10755
+ if (referenceFilterInputRepresentationValidationError === null) {
10756
+ config.filter = untrustedConfig_filter;
10710
10757
  }
10711
10758
  const untrustedConfig_transactionContextId = untrustedConfig.transactionContextId;
10712
10759
  if (typeof untrustedConfig_transactionContextId === 'string') {
@@ -20,8 +20,9 @@ export interface GuidedSelectionProductListConfig {
20
20
  cursor?: string;
21
21
  enablePricing?: boolean;
22
22
  enableQualification?: boolean;
23
- usePromotions?: boolean;
23
+ executeConfigurationRules?: boolean;
24
24
  filter?: types_FilterInputRepresentation_FilterInputRepresentation;
25
+ guidedSelectionResponseId?: string;
25
26
  includeCatalogDetails?: boolean;
26
27
  limit?: number;
27
28
  offset?: number;
@@ -31,9 +32,11 @@ export interface GuidedSelectionProductListConfig {
31
32
  productClassificationId?: string;
32
33
  qualificationProcedure?: string;
33
34
  relatedObjectFilters?: Array<types_RelatedObjectFilterInputRepresentation_RelatedObjectFilterInputRepresentation>;
34
- userContext?: {};
35
- guidedSelectionResponseId?: string;
36
35
  searchTerms?: Array<types_GuidedSelectionSearchTermInputRepresentation_GuidedSelectionSearchTermInputRepresentation>;
36
+ transactionContextId?: string;
37
+ transactionId?: string;
38
+ usePromotions?: boolean;
39
+ userContext?: {};
37
40
  }
38
41
  export declare const createResourceParams: (config: GuidedSelectionProductListConfig) => resources_postConnectCpqProductsGuidedSelection_ResourceRequestConfig;
39
42
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GuidedSelectionProductListConfig>): adapter$45$utils_Untrusted<GuidedSelectionProductListConfig>;
@@ -1,5 +1,6 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { FilterInputRepresentation as types_FilterInputRepresentation_FilterInputRepresentation } from '../types/FilterInputRepresentation';
3
4
  import { ResourceRequestConfig as resources_postRevenueProductDiscoveryProductsRecommendations_ResourceRequestConfig } from '../resources/postRevenueProductDiscoveryProductsRecommendations';
4
5
  import { ProductRecommendationOutputRepresentation as types_ProductRecommendationOutputRepresentation_ProductRecommendationOutputRepresentation } from '../types/ProductRecommendationOutputRepresentation';
5
6
  export declare const adapterName = "productRecommendations";
@@ -13,7 +14,7 @@ export interface ProductRecommendationsConfig {
13
14
  currencyCode?: string;
14
15
  enablePricing?: boolean;
15
16
  enableQualification?: boolean;
16
- filter?: {};
17
+ filter?: types_FilterInputRepresentation_FilterInputRepresentation;
17
18
  limit?: number;
18
19
  offset?: number;
19
20
  priceBookId?: string;
@@ -16,8 +16,9 @@ export interface ResourceRequestConfig {
16
16
  cursor?: string;
17
17
  enablePricing?: boolean;
18
18
  enableQualification?: boolean;
19
- usePromotions?: boolean;
19
+ executeConfigurationRules?: boolean;
20
20
  filter?: types_FilterInputRepresentation_FilterInputRepresentation;
21
+ guidedSelectionResponseId?: string;
21
22
  includeCatalogDetails?: boolean;
22
23
  limit?: number;
23
24
  offset?: number;
@@ -27,9 +28,11 @@ export interface ResourceRequestConfig {
27
28
  productClassificationId?: string;
28
29
  qualificationProcedure?: string;
29
30
  relatedObjectFilters?: Array<types_RelatedObjectFilterInputRepresentation_RelatedObjectFilterInputRepresentation>;
30
- userContext?: {};
31
- guidedSelectionResponseId?: string;
32
31
  searchTerms?: Array<types_GuidedSelectionSearchTermInputRepresentation_GuidedSelectionSearchTermInputRepresentation>;
32
+ transactionContextId?: string;
33
+ transactionId?: string;
34
+ usePromotions?: boolean;
35
+ userContext?: {};
33
36
  };
34
37
  }
35
38
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,3 +1,4 @@
1
+ import { FilterInputRepresentation as types_FilterInputRepresentation_FilterInputRepresentation } from '../types/FilterInputRepresentation';
1
2
  import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
3
  import { ProductRecommendationOutputRepresentation as types_ProductRecommendationOutputRepresentation_ProductRecommendationOutputRepresentation } from '../types/ProductRecommendationOutputRepresentation';
3
4
  export interface ResourceRequestConfig {
@@ -9,7 +10,7 @@ export interface ResourceRequestConfig {
9
10
  currencyCode?: string;
10
11
  enablePricing?: boolean;
11
12
  enableQualification?: boolean;
12
- filter?: {};
13
+ filter?: types_FilterInputRepresentation_FilterInputRepresentation;
13
14
  limit?: number;
14
15
  offset?: number;
15
16
  priceBookId?: string;
@@ -2,7 +2,7 @@ import { FilterInputRepresentation as FilterInputRepresentation_FilterInputRepre
2
2
  import { RelatedObjectFilterInputRepresentation as RelatedObjectFilterInputRepresentation_RelatedObjectFilterInputRepresentation } from './RelatedObjectFilterInputRepresentation';
3
3
  import { GuidedSelectionSearchTermInputRepresentation as GuidedSelectionSearchTermInputRepresentation_GuidedSelectionSearchTermInputRepresentation } from './GuidedSelectionSearchTermInputRepresentation';
4
4
  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';
5
- export declare const VERSION = "9890c36b80e5d82b1eab5d0d82849933";
5
+ export declare const VERSION = "aa0acb0f681480899dc212088275446a";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: GuidedSelectionInputRepresentation, existing: GuidedSelectionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GuidedSelectionInputRepresentationNormalized;
@@ -39,6 +39,8 @@ export interface GuidedSelectionInputRepresentationNormalized {
39
39
  enablePricing?: boolean;
40
40
  /** Enable Qualification */
41
41
  enableQualification?: boolean;
42
+ /** Execute Configuration Rules */
43
+ executeConfigurationRules?: boolean;
42
44
  /** Filters */
43
45
  filter?: FilterInputRepresentation_FilterInputRepresentation;
44
46
  /** Guided Selection Response Identifier */
@@ -63,6 +65,10 @@ export interface GuidedSelectionInputRepresentationNormalized {
63
65
  relatedObjectFilters?: Array<RelatedObjectFilterInputRepresentation_RelatedObjectFilterInputRepresentation>;
64
66
  /** Guided Selection Search Terms */
65
67
  searchTerms?: Array<GuidedSelectionSearchTermInputRepresentation_GuidedSelectionSearchTermInputRepresentation>;
68
+ /** Transaction Context Id */
69
+ transactionContextId?: string;
70
+ /** Transaction Id */
71
+ transactionId?: string;
66
72
  /** Enable Promotion Rules */
67
73
  usePromotions?: boolean;
68
74
  /** User context */
@@ -86,6 +92,7 @@ export interface GuidedSelectionInputRepresentation {
86
92
  cursor?: string;
87
93
  enablePricing?: boolean;
88
94
  enableQualification?: boolean;
95
+ executeConfigurationRules?: boolean;
89
96
  filter?: FilterInputRepresentation_FilterInputRepresentation;
90
97
  guidedSelectionResponseId?: string;
91
98
  includeCatalogDetails?: boolean;
@@ -98,6 +105,8 @@ export interface GuidedSelectionInputRepresentation {
98
105
  qualificationProcedure?: string;
99
106
  relatedObjectFilters?: Array<RelatedObjectFilterInputRepresentation_RelatedObjectFilterInputRepresentation>;
100
107
  searchTerms?: Array<GuidedSelectionSearchTermInputRepresentation_GuidedSelectionSearchTermInputRepresentation>;
108
+ transactionContextId?: string;
109
+ transactionId?: string;
101
110
  usePromotions?: boolean;
102
111
  userContext?: {};
103
112
  }
@@ -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 = "ae29a17f1528ae1a2c10c0f0430fb133";
2
+ export declare const VERSION = "11c72a3847208bfa07e6cf6f2a2af676";
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: ProductListInputRepresentation, existing: ProductListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductListInputRepresentationNormalized;
@@ -18,12 +18,14 @@ export interface ProductListInputRepresentationNormalized {
18
18
  additionalFields?: {};
19
19
  /** Id of the catalog. */
20
20
  catalogId?: string;
21
- /** Id of the catalog. */
21
+ /** Id of the category. */
22
22
  categoryId?: string;
23
23
  /** CorrelationId */
24
24
  correlationId?: string;
25
25
  /** cursor for pagination */
26
26
  cursor?: string;
27
+ /** Execute Configuration Rules */
28
+ executeConfigurationRules?: boolean;
27
29
  /** Filters */
28
30
  filter?: {};
29
31
  /** Number of item count you want in the response */
@@ -33,7 +35,11 @@ export interface ProductListInputRepresentationNormalized {
33
35
  /** Sort by ascending/descending order */
34
36
  orderBy?: Array<string>;
35
37
  /** Id of the price Book. */
36
- priceBookId: string;
38
+ priceBookId?: string;
39
+ /** Transaction Context Id */
40
+ transactionContextId?: string;
41
+ /** Transaction Id */
42
+ transactionId?: string;
37
43
  /** Enable Promotion Rules */
38
44
  usePromotions?: boolean;
39
45
  /** User context */
@@ -51,11 +57,14 @@ export interface ProductListInputRepresentation {
51
57
  categoryId?: string;
52
58
  correlationId?: string;
53
59
  cursor?: string;
60
+ executeConfigurationRules?: boolean;
54
61
  filter?: {};
55
62
  limit?: number;
56
63
  offset?: number;
57
64
  orderBy?: Array<string>;
58
- priceBookId: string;
65
+ priceBookId?: string;
66
+ transactionContextId?: string;
67
+ transactionId?: string;
59
68
  usePromotions?: boolean;
60
69
  userContext?: {};
61
70
  }
@@ -1,5 +1,6 @@
1
+ import { FilterInputRepresentation as FilterInputRepresentation_FilterInputRepresentation } from './FilterInputRepresentation';
1
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';
2
- export declare const VERSION = "5fe0d8b1ea97513d53b7b7a7592fc97a";
3
+ export declare const VERSION = "11ba6b48f3eef1b0894479ea6c955fd7";
3
4
  export declare function validate(obj: any, path?: string): TypeError | null;
4
5
  export declare const RepresentationType: string;
5
6
  export declare function normalize(input: ProductRecommendationInputRepresentation, existing: ProductRecommendationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductRecommendationInputRepresentationNormalized;
@@ -29,7 +30,7 @@ export interface ProductRecommendationInputRepresentationNormalized {
29
30
  /** Enable Qualification */
30
31
  enableQualification?: boolean;
31
32
  /** Filters */
32
- filter?: {};
33
+ filter?: FilterInputRepresentation_FilterInputRepresentation;
33
34
  /** Number of Recommended Products in Response */
34
35
  limit?: number;
35
36
  /** Offset of Recommended Products in Response */
@@ -63,7 +64,7 @@ export interface ProductRecommendationInputRepresentation {
63
64
  currencyCode?: string;
64
65
  enablePricing?: boolean;
65
66
  enableQualification?: boolean;
66
- filter?: {};
67
+ filter?: FilterInputRepresentation_FilterInputRepresentation;
67
68
  limit?: number;
68
69
  offset?: number;
69
70
  priceBookId?: string;
@@ -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 = "3cd9f40f491806685c0a37386951516e";
2
+ export declare const VERSION = "903895e6090ca7e74294410e5816fa15";
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: SearchProductsInputRepresentation, existing: SearchProductsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchProductsInputRepresentationNormalized;
@@ -22,6 +22,8 @@ export interface SearchProductsInputRepresentationNormalized {
22
22
  categoryId?: string;
23
23
  /** CorrelationId */
24
24
  correlationId?: string;
25
+ /** Execute Configuration Rules */
26
+ executeConfigurationRules?: boolean;
25
27
  /** Filters */
26
28
  filter?: {};
27
29
  /** Number of item count you want in the response */
@@ -31,11 +33,15 @@ export interface SearchProductsInputRepresentationNormalized {
31
33
  /** Sort by ascending/descending order */
32
34
  orderBy?: Array<string>;
33
35
  /** Id of the price Book. */
34
- priceBookId: string;
36
+ priceBookId?: string;
35
37
  /** Search query */
36
38
  query?: unknown;
37
39
  /** Search Term */
38
40
  searchTerm?: string;
41
+ /** Transaction Context Id */
42
+ transactionContextId?: string;
43
+ /** Transaction Id */
44
+ transactionId?: string;
39
45
  /** Enable Promotions */
40
46
  usePromotions?: boolean;
41
47
  /** User context in which cart would be created. */
@@ -52,13 +58,16 @@ export interface SearchProductsInputRepresentation {
52
58
  catalogId?: string;
53
59
  categoryId?: string;
54
60
  correlationId?: string;
61
+ executeConfigurationRules?: boolean;
55
62
  filter?: {};
56
63
  limit?: number;
57
64
  offset?: number;
58
65
  orderBy?: Array<string>;
59
- priceBookId: string;
66
+ priceBookId?: string;
60
67
  query?: unknown;
61
68
  searchTerm?: string;
69
+ transactionContextId?: string;
70
+ transactionId?: string;
62
71
  usePromotions?: boolean;
63
72
  userContext?: {};
64
73
  }
@@ -1,9 +1,10 @@
1
1
  import { AttributeCategoryOutputRepresentation as AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation } from './AttributeCategoryOutputRepresentation';
2
+ import { ProductConfigurationRulesOutputRepresentation as ProductConfigurationRulesOutputRepresentation_ProductConfigurationRulesOutputRepresentation } from './ProductConfigurationRulesOutputRepresentation';
2
3
  import { PromotionOutputRepresentation as PromotionOutputRepresentation_PromotionOutputRepresentation } from './PromotionOutputRepresentation';
3
4
  import { ProductPricesOutputRepresentation as ProductPricesOutputRepresentation_ProductPricesOutputRepresentation } from './ProductPricesOutputRepresentation';
4
5
  import { ProductQuantityOutputRepresentation as ProductQuantityOutputRepresentation_ProductQuantityOutputRepresentation } from './ProductQuantityOutputRepresentation';
5
6
  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 = "2d774e8bb4661f31d9ee0b0fc63a0e62";
7
+ export declare const VERSION = "dbd01d192cd9285ea2b130a14d256006";
7
8
  export declare function validate(obj: any, path?: string): TypeError | null;
8
9
  export declare const RepresentationType: string;
9
10
  export declare function normalize(input: SearchProductsOutputRepresentation, existing: SearchProductsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchProductsOutputRepresentationNormalized;
@@ -22,6 +23,8 @@ export interface SearchProductsOutputRepresentationNormalized {
22
23
  additionalFields?: {};
23
24
  /** List of attribute categories in a product */
24
25
  attributeCategories?: Array<AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation>;
26
+ /** Configuration Rules of the Product */
27
+ configurationRules?: Array<ProductConfigurationRulesOutputRepresentation_ProductConfigurationRulesOutputRepresentation>;
25
28
  /** Description of the product */
26
29
  description?: string;
27
30
  /** List of promotions for the product */
@@ -52,6 +55,7 @@ export interface SearchProductsOutputRepresentationNormalized {
52
55
  export interface SearchProductsOutputRepresentation {
53
56
  additionalFields?: {};
54
57
  attributeCategories?: Array<AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation>;
58
+ configurationRules?: Array<ProductConfigurationRulesOutputRepresentation_ProductConfigurationRulesOutputRepresentation>;
55
59
  description?: string;
56
60
  eligiblePromotions: Array<PromotionOutputRepresentation_PromotionOutputRepresentation>;
57
61
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-cpq",
3
- "version": "1.394.0",
3
+ "version": "1.396.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.394.0"
47
+ "@salesforce/lds-bindings": "^1.396.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.394.0",
51
- "@salesforce/lds-karma": "^1.394.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.396.0",
51
+ "@salesforce/lds-karma": "^1.396.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -7450,8 +7450,9 @@ const guidedSelectionProductList_ConfigPropertyMetadata = [
7450
7450
  generateParamConfigMetadata('cursor', false, 2 /* Body */, 0 /* String */),
7451
7451
  generateParamConfigMetadata('enablePricing', false, 2 /* Body */, 1 /* Boolean */),
7452
7452
  generateParamConfigMetadata('enableQualification', false, 2 /* Body */, 1 /* Boolean */),
7453
- generateParamConfigMetadata('usePromotions', false, 2 /* Body */, 1 /* Boolean */),
7453
+ generateParamConfigMetadata('executeConfigurationRules', false, 2 /* Body */, 1 /* Boolean */),
7454
7454
  generateParamConfigMetadata('filter', false, 2 /* Body */, 4 /* Unsupported */),
7455
+ generateParamConfigMetadata('guidedSelectionResponseId', false, 2 /* Body */, 0 /* String */),
7455
7456
  generateParamConfigMetadata('includeCatalogDetails', false, 2 /* Body */, 1 /* Boolean */),
7456
7457
  generateParamConfigMetadata('limit', false, 2 /* Body */, 3 /* Integer */),
7457
7458
  generateParamConfigMetadata('offset', false, 2 /* Body */, 3 /* Integer */),
@@ -7461,9 +7462,11 @@ const guidedSelectionProductList_ConfigPropertyMetadata = [
7461
7462
  generateParamConfigMetadata('productClassificationId', false, 2 /* Body */, 0 /* String */),
7462
7463
  generateParamConfigMetadata('qualificationProcedure', false, 2 /* Body */, 0 /* String */),
7463
7464
  generateParamConfigMetadata('relatedObjectFilters', false, 2 /* Body */, 4 /* Unsupported */, true),
7464
- generateParamConfigMetadata('userContext', false, 2 /* Body */, 4 /* Unsupported */),
7465
- generateParamConfigMetadata('guidedSelectionResponseId', false, 2 /* Body */, 0 /* String */),
7466
7465
  generateParamConfigMetadata('searchTerms', false, 2 /* Body */, 4 /* Unsupported */, true),
7466
+ generateParamConfigMetadata('transactionContextId', false, 2 /* Body */, 0 /* String */),
7467
+ generateParamConfigMetadata('transactionId', false, 2 /* Body */, 0 /* String */),
7468
+ generateParamConfigMetadata('usePromotions', false, 2 /* Body */, 1 /* Boolean */),
7469
+ generateParamConfigMetadata('userContext', false, 2 /* Body */, 4 /* Unsupported */),
7467
7470
  ];
7468
7471
  const guidedSelectionProductList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, guidedSelectionProductList_ConfigPropertyMetadata);
7469
7472
  const createResourceParams$d = /*#__PURE__*/ createResourceParams$r(guidedSelectionProductList_ConfigPropertyMetadata);
@@ -7496,13 +7499,6 @@ function typeCheckConfig$d(untrustedConfig) {
7496
7499
  }
7497
7500
  config.relatedObjectFilters = untrustedConfig_relatedObjectFilters_array;
7498
7501
  }
7499
- const untrustedConfig_userContext = untrustedConfig.userContext;
7500
- if (untrustedIsObject(untrustedConfig_userContext)) {
7501
- const untrustedConfig_userContext_object = {};
7502
- if (untrustedConfig_userContext_object !== undefined && Object.keys(untrustedConfig_userContext_object).length >= 0) {
7503
- config.userContext = untrustedConfig_userContext_object;
7504
- }
7505
- }
7506
7502
  const untrustedConfig_searchTerms = untrustedConfig.searchTerms;
7507
7503
  if (ArrayIsArray$1(untrustedConfig_searchTerms)) {
7508
7504
  const untrustedConfig_searchTerms_array = [];
@@ -7515,6 +7511,13 @@ function typeCheckConfig$d(untrustedConfig) {
7515
7511
  }
7516
7512
  config.searchTerms = untrustedConfig_searchTerms_array;
7517
7513
  }
7514
+ const untrustedConfig_userContext = untrustedConfig.userContext;
7515
+ if (untrustedIsObject(untrustedConfig_userContext)) {
7516
+ const untrustedConfig_userContext_object = {};
7517
+ if (untrustedConfig_userContext_object !== undefined && Object.keys(untrustedConfig_userContext_object).length >= 0) {
7518
+ config.userContext = untrustedConfig_userContext_object;
7519
+ }
7520
+ }
7518
7521
  return config;
7519
7522
  }
7520
7523
  function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
@@ -8122,6 +8125,13 @@ function validate$r(obj, path = 'ProductListInputRepresentation') {
8122
8125
  return new TypeError('Expected "string" but received "' + typeof obj_cursor + '" (at "' + path_cursor + '")');
8123
8126
  }
8124
8127
  }
8128
+ if (obj.executeConfigurationRules !== undefined) {
8129
+ const obj_executeConfigurationRules = obj.executeConfigurationRules;
8130
+ const path_executeConfigurationRules = path + '.executeConfigurationRules';
8131
+ if (typeof obj_executeConfigurationRules !== 'boolean') {
8132
+ return new TypeError('Expected "boolean" but received "' + typeof obj_executeConfigurationRules + '" (at "' + path_executeConfigurationRules + '")');
8133
+ }
8134
+ }
8125
8135
  if (obj.filter !== undefined) {
8126
8136
  const obj_filter = obj.filter;
8127
8137
  const path_filter = path + '.filter';
@@ -8157,10 +8167,26 @@ function validate$r(obj, path = 'ProductListInputRepresentation') {
8157
8167
  }
8158
8168
  }
8159
8169
  }
8160
- const obj_priceBookId = obj.priceBookId;
8161
- const path_priceBookId = path + '.priceBookId';
8162
- if (typeof obj_priceBookId !== 'string') {
8163
- return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
8170
+ if (obj.priceBookId !== undefined) {
8171
+ const obj_priceBookId = obj.priceBookId;
8172
+ const path_priceBookId = path + '.priceBookId';
8173
+ if (typeof obj_priceBookId !== 'string') {
8174
+ return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
8175
+ }
8176
+ }
8177
+ if (obj.transactionContextId !== undefined) {
8178
+ const obj_transactionContextId = obj.transactionContextId;
8179
+ const path_transactionContextId = path + '.transactionContextId';
8180
+ if (typeof obj_transactionContextId !== 'string') {
8181
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionContextId + '" (at "' + path_transactionContextId + '")');
8182
+ }
8183
+ }
8184
+ if (obj.transactionId !== undefined) {
8185
+ const obj_transactionId = obj.transactionId;
8186
+ const path_transactionId = path + '.transactionId';
8187
+ if (typeof obj_transactionId !== 'string') {
8188
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionId + '" (at "' + path_transactionId + '")');
8189
+ }
8164
8190
  }
8165
8191
  if (obj.usePromotions !== undefined) {
8166
8192
  const obj_usePromotions = obj.usePromotions;
@@ -9133,11 +9159,9 @@ function typeCheckConfig$8(untrustedConfig) {
9133
9159
  }
9134
9160
  }
9135
9161
  const untrustedConfig_filter = untrustedConfig.filter;
9136
- if (untrustedIsObject(untrustedConfig_filter)) {
9137
- const untrustedConfig_filter_object = {};
9138
- if (untrustedConfig_filter_object !== undefined && Object.keys(untrustedConfig_filter_object).length >= 0) {
9139
- config.filter = untrustedConfig_filter_object;
9140
- }
9162
+ const referenceFilterInputRepresentationValidationError = validate$1i(untrustedConfig_filter);
9163
+ if (referenceFilterInputRepresentationValidationError === null) {
9164
+ config.filter = untrustedConfig_filter;
9141
9165
  }
9142
9166
  const untrustedConfig_transactionContextId = untrustedConfig.transactionContextId;
9143
9167
  if (typeof untrustedConfig_transactionContextId === 'string') {
@@ -9237,6 +9261,13 @@ function validate$b(obj, path = 'SearchProductsInputRepresentation') {
9237
9261
  return new TypeError('Expected "string" but received "' + typeof obj_correlationId + '" (at "' + path_correlationId + '")');
9238
9262
  }
9239
9263
  }
9264
+ if (obj.executeConfigurationRules !== undefined) {
9265
+ const obj_executeConfigurationRules = obj.executeConfigurationRules;
9266
+ const path_executeConfigurationRules = path + '.executeConfigurationRules';
9267
+ if (typeof obj_executeConfigurationRules !== 'boolean') {
9268
+ return new TypeError('Expected "boolean" but received "' + typeof obj_executeConfigurationRules + '" (at "' + path_executeConfigurationRules + '")');
9269
+ }
9270
+ }
9240
9271
  if (obj.filter !== undefined) {
9241
9272
  const obj_filter = obj.filter;
9242
9273
  const path_filter = path + '.filter';
@@ -9272,10 +9303,12 @@ function validate$b(obj, path = 'SearchProductsInputRepresentation') {
9272
9303
  }
9273
9304
  }
9274
9305
  }
9275
- const obj_priceBookId = obj.priceBookId;
9276
- const path_priceBookId = path + '.priceBookId';
9277
- if (typeof obj_priceBookId !== 'string') {
9278
- return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
9306
+ if (obj.priceBookId !== undefined) {
9307
+ const obj_priceBookId = obj.priceBookId;
9308
+ const path_priceBookId = path + '.priceBookId';
9309
+ if (typeof obj_priceBookId !== 'string') {
9310
+ return new TypeError('Expected "string" but received "' + typeof obj_priceBookId + '" (at "' + path_priceBookId + '")');
9311
+ }
9279
9312
  }
9280
9313
  if (obj.query !== undefined) {
9281
9314
  const obj_query = obj.query;
@@ -9291,6 +9324,20 @@ function validate$b(obj, path = 'SearchProductsInputRepresentation') {
9291
9324
  return new TypeError('Expected "string" but received "' + typeof obj_searchTerm + '" (at "' + path_searchTerm + '")');
9292
9325
  }
9293
9326
  }
9327
+ if (obj.transactionContextId !== undefined) {
9328
+ const obj_transactionContextId = obj.transactionContextId;
9329
+ const path_transactionContextId = path + '.transactionContextId';
9330
+ if (typeof obj_transactionContextId !== 'string') {
9331
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionContextId + '" (at "' + path_transactionContextId + '")');
9332
+ }
9333
+ }
9334
+ if (obj.transactionId !== undefined) {
9335
+ const obj_transactionId = obj.transactionId;
9336
+ const path_transactionId = path + '.transactionId';
9337
+ if (typeof obj_transactionId !== 'string') {
9338
+ return new TypeError('Expected "string" but received "' + typeof obj_transactionId + '" (at "' + path_transactionId + '")');
9339
+ }
9340
+ }
9294
9341
  if (obj.usePromotions !== undefined) {
9295
9342
  const obj_usePromotions = obj.usePromotions;
9296
9343
  const path_usePromotions = path + '.usePromotions';
@@ -10942,4 +10989,4 @@ withDefaultLuvio((luvio) => {
10942
10989
  });
10943
10990
 
10944
10991
  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 };
10945
- // version: 1.394.0-db58817a4e
10992
+ // version: 1.396.0-216c6e4547
package/src/raml/api.raml CHANGED
@@ -1769,14 +1769,18 @@ types:
1769
1769
  description: Enable Qualification
1770
1770
  type: boolean
1771
1771
  required: false
1772
- usePromotions:
1773
- description: Enable Promotion Rules
1772
+ executeConfigurationRules:
1773
+ description: Execute Configuration Rules
1774
1774
  type: boolean
1775
1775
  required: false
1776
1776
  filter:
1777
1777
  description: Filters
1778
1778
  type: FilterInputRepresentation
1779
1779
  required: false
1780
+ guidedSelectionResponseId:
1781
+ description: Guided Selection Response Identifier
1782
+ type: string
1783
+ required: false
1780
1784
  includeCatalogDetails:
1781
1785
  description: Get Catalog details
1782
1786
  type: boolean
@@ -1817,20 +1821,28 @@ types:
1817
1821
  required: false
1818
1822
  items:
1819
1823
  type: RelatedObjectFilterInputRepresentation
1820
- userContext:
1821
- description: User context
1822
- type: object
1823
- required: false
1824
- guidedSelectionResponseId:
1825
- description: Guided Selection Response Identifier
1826
- type: string
1827
- required: false
1828
1824
  searchTerms:
1829
1825
  description: Guided Selection Search Terms
1830
1826
  type: array
1831
1827
  required: false
1832
1828
  items:
1833
1829
  type: GuidedSelectionSearchTermInputRepresentation
1830
+ transactionContextId:
1831
+ description: Transaction Context Id
1832
+ type: string
1833
+ required: false
1834
+ transactionId:
1835
+ description: Transaction Id
1836
+ type: string
1837
+ required: false
1838
+ usePromotions:
1839
+ description: Enable Promotion Rules
1840
+ type: boolean
1841
+ required: false
1842
+ userContext:
1843
+ description: User context
1844
+ type: object
1845
+ required: false
1834
1846
  SmartSelectionSearchInputRepresentation:
1835
1847
  description: Input Representation for smart product selection.
1836
1848
  type: object
@@ -1929,6 +1941,12 @@ types:
1929
1941
  type: array
1930
1942
  items:
1931
1943
  type: object
1944
+ searchTerms:
1945
+ description: Guided Selection Search Terms
1946
+ type: array
1947
+ required: false
1948
+ items:
1949
+ type: GuidedSelectionSearchTermOutputRepresentation
1932
1950
  total:
1933
1951
  description: Totals
1934
1952
  type: integer
@@ -1937,12 +1955,6 @@ types:
1937
1955
  description: User Context
1938
1956
  type: object
1939
1957
  required: false
1940
- searchTerms:
1941
- description: Guided Selection Search Terms
1942
- type: array
1943
- required: false
1944
- items:
1945
- type: GuidedSelectionSearchTermOutputRepresentation
1946
1958
  SmartSelectionOutputRepresentation:
1947
1959
  description: Smart product selection output representation
1948
1960
  type: object
@@ -2352,13 +2364,25 @@ types:
2352
2364
  type: string
2353
2365
  required: false
2354
2366
  categoryId:
2355
- description: Id of the catalog.
2367
+ description: Id of the category.
2356
2368
  type: string
2357
2369
  required: false
2358
2370
  correlationId:
2359
2371
  description: CorrelationId
2360
2372
  type: string
2361
2373
  required: false
2374
+ cursor:
2375
+ description: cursor for pagination
2376
+ type: string
2377
+ required: false
2378
+ executeConfigurationRules:
2379
+ description: Execute Configuration Rules
2380
+ type: boolean
2381
+ required: false
2382
+ filter:
2383
+ description: Filters
2384
+ type: object
2385
+ required: false
2362
2386
  limit:
2363
2387
  description: Number of item count you want in the response
2364
2388
  type: integer
@@ -2367,31 +2391,32 @@ types:
2367
2391
  description: Offset size from which you need the catalog count
2368
2392
  type: integer
2369
2393
  required: false
2370
- priceBookId:
2371
- description: Id of the price Book.
2372
- type: string
2373
- cursor:
2374
- description: cursor for pagination
2375
- type: string
2376
- required: false
2377
2394
  orderBy:
2378
2395
  description: Sort by ascending/descending order
2379
2396
  type: array
2380
2397
  required: false
2381
2398
  items:
2382
2399
  type: string
2383
- userContext:
2384
- description: User context
2385
- type: object
2400
+ priceBookId:
2401
+ description: Id of the price Book.
2402
+ type: string
2386
2403
  required: false
2387
- filter:
2388
- description: Filters
2389
- type: object
2404
+ transactionContextId:
2405
+ description: Transaction Context Id
2406
+ type: string
2407
+ required: false
2408
+ transactionId:
2409
+ description: Transaction Id
2410
+ type: string
2390
2411
  required: false
2391
2412
  usePromotions:
2392
2413
  description: Enable Promotion Rules
2393
2414
  type: boolean
2394
2415
  required: false
2416
+ userContext:
2417
+ description: User context
2418
+ type: object
2419
+ required: false
2395
2420
  ProductListOutputRepresentation:
2396
2421
  description: Product list output representation
2397
2422
  type: object
@@ -3101,6 +3126,14 @@ types:
3101
3126
  description: CorrelationId
3102
3127
  type: string
3103
3128
  required: false
3129
+ executeConfigurationRules:
3130
+ description: Execute Configuration Rules
3131
+ type: boolean
3132
+ required: false
3133
+ filter:
3134
+ description: Filters
3135
+ type: object
3136
+ required: false
3104
3137
  limit:
3105
3138
  description: Number of item count you want in the response
3106
3139
  type: integer
@@ -3118,6 +3151,7 @@ types:
3118
3151
  priceBookId:
3119
3152
  description: Id of the price Book.
3120
3153
  type: string
3154
+ required: false
3121
3155
  query:
3122
3156
  description: Search query
3123
3157
  type: any
@@ -3126,22 +3160,32 @@ types:
3126
3160
  description: Search Term
3127
3161
  type: string
3128
3162
  required: false
3129
- userContext:
3130
- description: User context in which cart would be created.
3131
- type: object
3163
+ transactionContextId:
3164
+ description: Transaction Context Id
3165
+ type: string
3132
3166
  required: false
3133
- filter:
3134
- description: Filters
3135
- type: object
3167
+ transactionId:
3168
+ description: Transaction Id
3169
+ type: string
3136
3170
  required: false
3137
3171
  usePromotions:
3138
3172
  description: Enable Promotions
3139
3173
  type: boolean
3140
3174
  required: false
3175
+ userContext:
3176
+ description: User context in which cart would be created.
3177
+ type: object
3178
+ required: false
3141
3179
  SearchProductsOutputRepresentation:
3142
3180
  description: Search Products output representation
3143
3181
  type: object
3144
3182
  properties:
3183
+ configurationRules:
3184
+ description: Configuration Rules of the Product
3185
+ type: array
3186
+ required: false
3187
+ items:
3188
+ type: ProductConfigurationRulesOutputRepresentation
3145
3189
  eligiblePromotions:
3146
3190
  description: List of promotions for the product
3147
3191
  type: array
@@ -4111,7 +4155,7 @@ types:
4111
4155
  required: false
4112
4156
  filter:
4113
4157
  description: Filters
4114
- type: object
4158
+ type: FilterInputRepresentation
4115
4159
  required: false
4116
4160
  limit:
4117
4161
  description: Number of Recommended Products in Response