@salesforce/lds-adapters-industries-cpq 0.131.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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-cpq.js +1062 -0
- package/dist/es/es2018/types/src/generated/adapters/SearchProductsList.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/preview.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/productDetails.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/productList.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqPreview.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProducts.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsByProductId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsSearch.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/AdditionalFieldsOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ApiStatusOutputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/AttributeCategoryOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/AttributePickListOutputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/AttributePickListValueOutputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/CpqBaseDetailsOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/CpqBaseListOutputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/CpqMessageOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/PreviewInputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/PreviewInputRepresentationWrapper.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/PricingModelOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeOutputRepresentation.d.ts +69 -0
- package/dist/es/es2018/types/src/generated/types/ProductConfigurationInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ProductDeltaConfigurationInputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentationWrapper.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsOutputRepresentation.d.ts +75 -0
- package/dist/es/es2018/types/src/generated/types/ProductListInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/ProductListInputRepresentationWrapper.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ProductListOutputRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/ProductOutputRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/ProductPricesOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ProductQuantityOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SearchOffersInputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/SearchOffersInputRepresentationWrapper.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/SearchOffersOutputRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1098 -0
- package/src/raml/api.raml +850 -0
- package/src/raml/luvio.raml +37 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PricingModelOutputRepresentation as PricingModelOutputRepresentation_PricingModelOutputRepresentation } from './PricingModelOutputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "2d72d4fefed997813a877e591d8920ce";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ProductPricesOutputRepresentation, existing: ProductPricesOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductPricesOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ProductPricesOutputRepresentationNormalized, incoming: ProductPricesOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: ProductPricesOutputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductPricesOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Product Prices output representation
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductPricesOutputRepresentationNormalized {
|
|
19
|
+
/** Currency ISO Code of the given price */
|
|
20
|
+
currencyIsoCode?: string;
|
|
21
|
+
/** Effective From Date of the given price */
|
|
22
|
+
effectiveFrom?: string;
|
|
23
|
+
/** Effective To Date of the given price */
|
|
24
|
+
effectiveTo?: string;
|
|
25
|
+
/** Price */
|
|
26
|
+
price?: number;
|
|
27
|
+
/** Price book entry id of the given price */
|
|
28
|
+
priceBookEntryId?: string;
|
|
29
|
+
/** Price book id of given price */
|
|
30
|
+
priceBookId?: string;
|
|
31
|
+
/** Pricing Model of the given price */
|
|
32
|
+
pricingModel?: PricingModelOutputRepresentation_PricingModelOutputRepresentation;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Product Prices output representation
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface ProductPricesOutputRepresentation {
|
|
41
|
+
currencyIsoCode?: string;
|
|
42
|
+
effectiveFrom?: string;
|
|
43
|
+
effectiveTo?: string;
|
|
44
|
+
price?: number;
|
|
45
|
+
priceBookEntryId?: string;
|
|
46
|
+
priceBookId?: string;
|
|
47
|
+
pricingModel?: PricingModelOutputRepresentation_PricingModelOutputRepresentation;
|
|
48
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b00541923157d5fbead694ecb001ca30";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductQuantityOutputRepresentation, existing: ProductQuantityOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductQuantityOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductQuantityOutputRepresentationNormalized, incoming: ProductQuantityOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ProductQuantityOutputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductQuantityOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Product Quantity information output representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductQuantityOutputRepresentationNormalized {
|
|
18
|
+
/** Max Quantity allowed of a product */
|
|
19
|
+
maxQuantity?: number;
|
|
20
|
+
/** Min Quantity allowed of a product */
|
|
21
|
+
minQuantity?: number;
|
|
22
|
+
/** Default Quantity allowed of a product */
|
|
23
|
+
quantity?: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Product Quantity information output representation
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface ProductQuantityOutputRepresentation {
|
|
32
|
+
maxQuantity?: number;
|
|
33
|
+
minQuantity?: number;
|
|
34
|
+
quantity?: number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "39ae39a151aaa2ce939d90992ae4e88d";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchOffersInputRepresentation, existing: SearchOffersInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchOffersInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchOffersInputRepresentationNormalized, incoming: SearchOffersInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: SearchOffersInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchOffersInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Offers List input representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchOffersInputRepresentationNormalized {
|
|
18
|
+
/** Id of the catalog. */
|
|
19
|
+
catalogId?: string;
|
|
20
|
+
/** Id of of the category. */
|
|
21
|
+
categoryId?: string;
|
|
22
|
+
/** CorrelationId */
|
|
23
|
+
correlationId?: string;
|
|
24
|
+
/** CustomFields */
|
|
25
|
+
customFields?: Array<string>;
|
|
26
|
+
/** Number of item count you want in the response */
|
|
27
|
+
limit?: number;
|
|
28
|
+
/** Offset size from which you need the item count */
|
|
29
|
+
offset?: number;
|
|
30
|
+
/** Sort by ascending/descending order */
|
|
31
|
+
orderBy?: Array<string>;
|
|
32
|
+
/** Search query */
|
|
33
|
+
query?: unknown;
|
|
34
|
+
/** User context in which cart would be created. */
|
|
35
|
+
userContext?: {};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Offers List input representation
|
|
39
|
+
*
|
|
40
|
+
* Keys:
|
|
41
|
+
* (none)
|
|
42
|
+
*/
|
|
43
|
+
export interface SearchOffersInputRepresentation {
|
|
44
|
+
catalogId?: string;
|
|
45
|
+
categoryId?: string;
|
|
46
|
+
correlationId?: string;
|
|
47
|
+
customFields?: Array<string>;
|
|
48
|
+
limit?: number;
|
|
49
|
+
offset?: number;
|
|
50
|
+
orderBy?: Array<string>;
|
|
51
|
+
query?: unknown;
|
|
52
|
+
userContext?: {};
|
|
53
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SearchOffersInputRepresentation as SearchOffersInputRepresentation_SearchOffersInputRepresentation } from './SearchOffersInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "17aa70961d7f4da81294efd382b2749c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SearchOffersInputRepresentationWrapper, existing: SearchOffersInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchOffersInputRepresentationWrapperNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SearchOffersInputRepresentationWrapperNormalized, incoming: SearchOffersInputRepresentationWrapperNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: SearchOffersInputRepresentationWrapper): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchOffersInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Search Offers Input Representation Wrapper
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface SearchOffersInputRepresentationWrapperNormalized {
|
|
19
|
+
/** Key for api call */
|
|
20
|
+
SearchOffersInput: SearchOffersInputRepresentation_SearchOffersInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Search Offers Input Representation Wrapper
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SearchOffersInputRepresentationWrapper {
|
|
29
|
+
SearchOffersInput: SearchOffersInputRepresentation_SearchOffersInputRepresentation;
|
|
30
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { AdditionalFieldsOutputRepresentation as AdditionalFieldsOutputRepresentation_AdditionalFieldsOutputRepresentation } from './AdditionalFieldsOutputRepresentation';
|
|
2
|
+
import { AttributeCategoryOutputRepresentation as AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation } from './AttributeCategoryOutputRepresentation';
|
|
3
|
+
import { ProductPricesOutputRepresentation as ProductPricesOutputRepresentation_ProductPricesOutputRepresentation } from './ProductPricesOutputRepresentation';
|
|
4
|
+
import { ProductQuantityOutputRepresentation as ProductQuantityOutputRepresentation_ProductQuantityOutputRepresentation } from './ProductQuantityOutputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
6
|
+
export declare const VERSION = "287e8cc1e3fe385e75b2c64c4c7922a4";
|
|
7
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
|
+
export declare const RepresentationType: string;
|
|
9
|
+
export declare function normalize(input: SearchOffersOutputRepresentation, existing: SearchOffersOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchOffersOutputRepresentationNormalized;
|
|
10
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
11
|
+
export declare function equals(existing: SearchOffersOutputRepresentationNormalized, incoming: SearchOffersOutputRepresentationNormalized): boolean;
|
|
12
|
+
export declare function deepFreeze(input: SearchOffersOutputRepresentation): void;
|
|
13
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
14
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchOffersOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
15
|
+
/**
|
|
16
|
+
* Search Offers output representation
|
|
17
|
+
*
|
|
18
|
+
* Keys:
|
|
19
|
+
* (none)
|
|
20
|
+
*/
|
|
21
|
+
export interface SearchOffersOutputRepresentationNormalized {
|
|
22
|
+
/** List of additional fields */
|
|
23
|
+
additionalFields?: Array<AdditionalFieldsOutputRepresentation_AdditionalFieldsOutputRepresentation>;
|
|
24
|
+
/** List of attribute categories in a product */
|
|
25
|
+
attributeCategories?: Array<AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation>;
|
|
26
|
+
/** Description of the product */
|
|
27
|
+
description?: string;
|
|
28
|
+
/** Id of the product */
|
|
29
|
+
id?: string;
|
|
30
|
+
/** Is Component required of a product */
|
|
31
|
+
isComponentRequired?: boolean;
|
|
32
|
+
/** Is the product a Default Component */
|
|
33
|
+
isDefaultComponent?: boolean;
|
|
34
|
+
/** Is Quantity of product editable */
|
|
35
|
+
isQuantityEditable?: boolean;
|
|
36
|
+
/** Name of the product */
|
|
37
|
+
name?: string;
|
|
38
|
+
/** List of prices of the product */
|
|
39
|
+
prices?: Array<ProductPricesOutputRepresentation_ProductPricesOutputRepresentation>;
|
|
40
|
+
/** Quantity information of a product */
|
|
41
|
+
productQuantity?: ProductQuantityOutputRepresentation_ProductQuantityOutputRepresentation;
|
|
42
|
+
/** Status of the product */
|
|
43
|
+
status?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Search Offers output representation
|
|
47
|
+
*
|
|
48
|
+
* Keys:
|
|
49
|
+
* (none)
|
|
50
|
+
*/
|
|
51
|
+
export interface SearchOffersOutputRepresentation {
|
|
52
|
+
additionalFields?: Array<AdditionalFieldsOutputRepresentation_AdditionalFieldsOutputRepresentation>;
|
|
53
|
+
attributeCategories?: Array<AttributeCategoryOutputRepresentation_AttributeCategoryOutputRepresentation>;
|
|
54
|
+
description?: string;
|
|
55
|
+
id?: string;
|
|
56
|
+
isComponentRequired?: boolean;
|
|
57
|
+
isDefaultComponent?: boolean;
|
|
58
|
+
isQuantityEditable?: boolean;
|
|
59
|
+
name?: string;
|
|
60
|
+
prices?: Array<ProductPricesOutputRepresentation_ProductPricesOutputRepresentation>;
|
|
61
|
+
productQuantity?: ProductQuantityOutputRepresentation_ProductQuantityOutputRepresentation;
|
|
62
|
+
status?: string;
|
|
63
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectFreeze: {
|
|
3
|
+
<T extends Function>(f: T): T;
|
|
4
|
+
<T_1 extends {
|
|
5
|
+
[idx: string]: object | U | null | undefined;
|
|
6
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
+
}, ObjectKeys: {
|
|
9
|
+
(o: object): string[];
|
|
10
|
+
(o: {}): string[];
|
|
11
|
+
}, ObjectCreate: {
|
|
12
|
+
(o: object | null): any;
|
|
13
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
14
|
+
}, ObjectAssign: {
|
|
15
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
16
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
17
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
18
|
+
(target: object, ...sources: any[]): any;
|
|
19
|
+
};
|
|
20
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
21
|
+
export declare const JSONStringify: {
|
|
22
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
23
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
24
|
+
};
|
|
25
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
26
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
27
|
+
export type RecursivePartial<T> = null | {
|
|
28
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
29
|
+
};
|
|
30
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
31
|
+
export declare function equalsObject<U, V extends {
|
|
32
|
+
[key: string]: U;
|
|
33
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
+
export declare function deepFreeze(value: any): void;
|
|
35
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
|
+
__ref: string;
|
|
37
|
+
};
|
|
38
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
39
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-cpq",
|
|
3
|
+
"version": "0.131.0",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
+
"description": "APIs for Industries CPQ Project",
|
|
6
|
+
"main": "dist/es/es2018/industries-cpq.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-cpq.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/es/es2018/industries-cpq.js",
|
|
17
|
+
"require": "./dist/es/es2018/industries-cpq.js",
|
|
18
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"import": "./sfdc/index.js",
|
|
22
|
+
"types": "./sfdc/index.d.ts",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sdfc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "industriesCpqApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"panakapalli@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:raml && yarn build:services && yarn build:karma",
|
|
35
|
+
"build:karma": "rollup --config rollup.config.karma.js",
|
|
36
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
37
|
+
"build:services": "rollup --config rollup.config.js",
|
|
38
|
+
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
39
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-cpq",
|
|
40
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-industries-cpq",
|
|
41
|
+
"start": "karma start",
|
|
42
|
+
"test": "karma start --single-run",
|
|
43
|
+
"test:compat": "karma start --single-run --compat"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@salesforce/lds-bindings": "1.131.0-244.6"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "1.131.0-244.6",
|
|
50
|
+
"@salesforce/lds-karma": "1.131.0-244.6"
|
|
51
|
+
},
|
|
52
|
+
"nx": {
|
|
53
|
+
"targets": {
|
|
54
|
+
"build": {
|
|
55
|
+
"outputs": [
|
|
56
|
+
"packages/lds-adapters-industries-cpq/dist",
|
|
57
|
+
"packages/lds-adapters-industries-cpq/karma/dist",
|
|
58
|
+
"packages/lds-adapters-industries-cpq/sfdc",
|
|
59
|
+
"packages/lds-adapters-industries-cpq/src/generated"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"volta": {
|
|
65
|
+
"extends": "../../package.json"
|
|
66
|
+
}
|
|
67
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|