@salesforce/lds-adapters-industries-cpq 1.287.0-dev10 → 1.287.0-dev12
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.
- package/dist/es/es2018/industries-cpq.js +2 -0
- package/dist/es/es2018/types/src/generated/adapters/categoryList.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqCategories.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/CategoryDetailsOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CategoryListInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/CategoryListOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CategoryOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +3 -1
- package/src/raml/api.raml +17 -0
|
@@ -1471,7 +1471,9 @@ const categoryList_ConfigPropertyMetadata = [
|
|
|
1471
1471
|
generateParamConfigMetadata('contextMapping', false, 2 /* Body */, 0 /* String */),
|
|
1472
1472
|
generateParamConfigMetadata('correlationId', false, 2 /* Body */, 0 /* String */),
|
|
1473
1473
|
generateParamConfigMetadata('customFields', false, 2 /* Body */, 0 /* String */, true),
|
|
1474
|
+
generateParamConfigMetadata('depth', false, 2 /* Body */, 3 /* Integer */),
|
|
1474
1475
|
generateParamConfigMetadata('enableQualification', false, 2 /* Body */, 1 /* Boolean */),
|
|
1476
|
+
generateParamConfigMetadata('parentCategoryId', false, 2 /* Body */, 0 /* String */),
|
|
1475
1477
|
generateParamConfigMetadata('qualificationProcedure', false, 2 /* Body */, 0 /* String */),
|
|
1476
1478
|
generateParamConfigMetadata('userContext', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1477
1479
|
];
|
|
@@ -12,7 +12,9 @@ export interface CategoryListConfig {
|
|
|
12
12
|
contextMapping?: string;
|
|
13
13
|
correlationId?: string;
|
|
14
14
|
customFields?: Array<string>;
|
|
15
|
+
depth?: number;
|
|
15
16
|
enableQualification?: boolean;
|
|
17
|
+
parentCategoryId?: string;
|
|
16
18
|
qualificationProcedure?: string;
|
|
17
19
|
userContext?: {
|
|
18
20
|
[key: string]: unknown;
|
|
@@ -8,7 +8,9 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
contextMapping?: string;
|
|
9
9
|
correlationId?: string;
|
|
10
10
|
customFields?: Array<string>;
|
|
11
|
+
depth?: number;
|
|
11
12
|
enableQualification?: boolean;
|
|
13
|
+
parentCategoryId?: string;
|
|
12
14
|
qualificationProcedure?: string;
|
|
13
15
|
userContext?: {
|
|
14
16
|
[key: string]: unknown;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QualificationContextOutputRepresentation as QualificationContextOutputRepresentation_QualificationContextOutputRepresentation } from './QualificationContextOutputRepresentation';
|
|
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 = "
|
|
3
|
+
export declare const VERSION = "eb52b13cba6912e79fa818dde39f8bb8";
|
|
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: CategoryDetailsOutputRepresentation, existing: CategoryDetailsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CategoryDetailsOutputRepresentationNormalized;
|
|
@@ -25,6 +25,8 @@ export interface CategoryDetailsOutputRepresentationNormalized {
|
|
|
25
25
|
};
|
|
26
26
|
/** Description of the category */
|
|
27
27
|
description: string;
|
|
28
|
+
/** HasSubCategories flag of the category */
|
|
29
|
+
hasSubCategories: boolean;
|
|
28
30
|
/** Id of the category */
|
|
29
31
|
id: string;
|
|
30
32
|
/** Name of the category */
|
|
@@ -48,6 +50,7 @@ export interface CategoryDetailsOutputRepresentation {
|
|
|
48
50
|
[key: string]: unknown;
|
|
49
51
|
};
|
|
50
52
|
description: string;
|
|
53
|
+
hasSubCategories: boolean;
|
|
51
54
|
id: string;
|
|
52
55
|
name: string;
|
|
53
56
|
parentCategoryId: 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 = "
|
|
2
|
+
export declare const VERSION = "f35aad015f75e8855e241c67c2a99240";
|
|
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: CategoryListInputRepresentation, existing: CategoryListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CategoryListInputRepresentationNormalized;
|
|
@@ -26,8 +26,12 @@ export interface CategoryListInputRepresentationNormalized {
|
|
|
26
26
|
correlationId?: string;
|
|
27
27
|
/** Key value pair of custom fields */
|
|
28
28
|
customFields?: Array<string>;
|
|
29
|
+
/** Depth of the hierarchy */
|
|
30
|
+
depth?: number;
|
|
29
31
|
/** Enable Qualification */
|
|
30
32
|
enableQualification?: boolean;
|
|
33
|
+
/** Parent Category Id */
|
|
34
|
+
parentCategoryId?: string;
|
|
31
35
|
/** Qualification Procedure Name */
|
|
32
36
|
qualificationProcedure?: string;
|
|
33
37
|
/** User context */
|
|
@@ -48,7 +52,9 @@ export interface CategoryListInputRepresentation {
|
|
|
48
52
|
contextMapping?: string;
|
|
49
53
|
correlationId?: string;
|
|
50
54
|
customFields?: Array<string>;
|
|
55
|
+
depth?: number;
|
|
51
56
|
enableQualification?: boolean;
|
|
57
|
+
parentCategoryId?: string;
|
|
52
58
|
qualificationProcedure?: string;
|
|
53
59
|
userContext?: {
|
|
54
60
|
[key: string]: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CategoryDetailsOutputRepresentation as CategoryDetailsOutputRepresentation_CategoryDetailsOutputRepresentation } from './CategoryDetailsOutputRepresentation';
|
|
2
2
|
import { QualificationContextOutputRepresentation as QualificationContextOutputRepresentation_QualificationContextOutputRepresentation } from './QualificationContextOutputRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "842c7eb83f81610f203a116689d597be";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: CategoryListOutputRepresentation, existing: CategoryListOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CategoryListOutputRepresentationNormalized;
|
|
@@ -26,6 +26,8 @@ export interface CategoryListOutputRepresentationNormalized {
|
|
|
26
26
|
};
|
|
27
27
|
/** Description of the category */
|
|
28
28
|
description: string;
|
|
29
|
+
/** HasSubCategories flag of the category */
|
|
30
|
+
hasSubCategories: boolean;
|
|
29
31
|
/** Id of the category */
|
|
30
32
|
id: string;
|
|
31
33
|
/** Name of the category */
|
|
@@ -49,6 +51,7 @@ export interface CategoryListOutputRepresentation {
|
|
|
49
51
|
[key: string]: unknown;
|
|
50
52
|
};
|
|
51
53
|
description: string;
|
|
54
|
+
hasSubCategories: boolean;
|
|
52
55
|
id: string;
|
|
53
56
|
name: string;
|
|
54
57
|
parentCategoryId: 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 = "
|
|
2
|
+
export declare const VERSION = "d3335e32c4c655a493a1f0cc47013e71";
|
|
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: CategoryOutputRepresentation, existing: CategoryOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CategoryOutputRepresentationNormalized;
|
|
@@ -22,6 +22,8 @@ export interface CategoryOutputRepresentationNormalized {
|
|
|
22
22
|
};
|
|
23
23
|
/** Description of the category */
|
|
24
24
|
description: string;
|
|
25
|
+
/** HasSubCategories flag of the category */
|
|
26
|
+
hasSubCategories: boolean;
|
|
25
27
|
/** Id of the category */
|
|
26
28
|
id: string;
|
|
27
29
|
/** Name of the category */
|
|
@@ -43,6 +45,7 @@ export interface CategoryOutputRepresentation {
|
|
|
43
45
|
[key: string]: unknown;
|
|
44
46
|
};
|
|
45
47
|
description: string;
|
|
48
|
+
hasSubCategories: boolean;
|
|
46
49
|
id: string;
|
|
47
50
|
name: string;
|
|
48
51
|
parentCategoryId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-cpq",
|
|
3
|
-
"version": "1.287.0-
|
|
3
|
+
"version": "1.287.0-dev12",
|
|
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.287.0-
|
|
47
|
+
"@salesforce/lds-bindings": "^1.287.0-dev12"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.287.0-
|
|
51
|
-
"@salesforce/lds-karma": "^1.287.0-
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.287.0-dev12",
|
|
51
|
+
"@salesforce/lds-karma": "^1.287.0-dev12"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -928,7 +928,9 @@ const categoryList_ConfigPropertyMetadata = [
|
|
|
928
928
|
generateParamConfigMetadata('contextMapping', false, 2 /* Body */, 0 /* String */),
|
|
929
929
|
generateParamConfigMetadata('correlationId', false, 2 /* Body */, 0 /* String */),
|
|
930
930
|
generateParamConfigMetadata('customFields', false, 2 /* Body */, 0 /* String */, true),
|
|
931
|
+
generateParamConfigMetadata('depth', false, 2 /* Body */, 3 /* Integer */),
|
|
931
932
|
generateParamConfigMetadata('enableQualification', false, 2 /* Body */, 1 /* Boolean */),
|
|
933
|
+
generateParamConfigMetadata('parentCategoryId', false, 2 /* Body */, 0 /* String */),
|
|
932
934
|
generateParamConfigMetadata('qualificationProcedure', false, 2 /* Body */, 0 /* String */),
|
|
933
935
|
generateParamConfigMetadata('userContext', false, 2 /* Body */, 4 /* Unsupported */),
|
|
934
936
|
];
|
|
@@ -7331,4 +7333,4 @@ withDefaultLuvio((luvio) => {
|
|
|
7331
7333
|
});
|
|
7332
7334
|
|
|
7333
7335
|
export { bulkProductDetails, categoryDetails, categoryList, configure, createCart, createCartItems, createRule, getCart, getCart_imperative, preview, priceCart, productDetails, productList, searchProductList, updateCart, updateCartItems, updateRule };
|
|
7334
|
-
// version: 1.287.0-
|
|
7336
|
+
// version: 1.287.0-dev12-9b9aedb555
|
package/src/raml/api.raml
CHANGED
|
@@ -2277,6 +2277,9 @@ types:
|
|
|
2277
2277
|
description:
|
|
2278
2278
|
description: Description of the category
|
|
2279
2279
|
type: string
|
|
2280
|
+
hasSubCategories:
|
|
2281
|
+
description: HasSubCategories flag of the category
|
|
2282
|
+
type: boolean
|
|
2280
2283
|
id:
|
|
2281
2284
|
description: Id of the category
|
|
2282
2285
|
type: string
|
|
@@ -2323,10 +2326,18 @@ types:
|
|
|
2323
2326
|
required: false
|
|
2324
2327
|
items:
|
|
2325
2328
|
type: string
|
|
2329
|
+
depth:
|
|
2330
|
+
description: Depth of the hierarchy
|
|
2331
|
+
type: integer
|
|
2332
|
+
required: false
|
|
2326
2333
|
enableQualification:
|
|
2327
2334
|
description: Enable Qualification
|
|
2328
2335
|
type: boolean
|
|
2329
2336
|
required: false
|
|
2337
|
+
parentCategoryId:
|
|
2338
|
+
description: Parent Category Id
|
|
2339
|
+
type: string
|
|
2340
|
+
required: false
|
|
2330
2341
|
qualificationProcedure:
|
|
2331
2342
|
description: Qualification Procedure Name
|
|
2332
2343
|
type: string
|
|
@@ -2359,6 +2370,9 @@ types:
|
|
|
2359
2370
|
description:
|
|
2360
2371
|
description: Description of the category
|
|
2361
2372
|
type: string
|
|
2373
|
+
hasSubCategories:
|
|
2374
|
+
description: HasSubCategories flag of the category
|
|
2375
|
+
type: boolean
|
|
2362
2376
|
id:
|
|
2363
2377
|
description: Id of the category
|
|
2364
2378
|
type: string
|
|
@@ -2392,6 +2406,9 @@ types:
|
|
|
2392
2406
|
description:
|
|
2393
2407
|
description: Description of the category
|
|
2394
2408
|
type: string
|
|
2409
|
+
hasSubCategories:
|
|
2410
|
+
description: HasSubCategories flag of the category
|
|
2411
|
+
type: boolean
|
|
2395
2412
|
id:
|
|
2396
2413
|
description: Id of the category
|
|
2397
2414
|
type: string
|