@salesforce/lds-adapters-commerce-store-pricing 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.
Files changed (22) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/commerce-store-pricing.js +432 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getProductPrice.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -0
  7. package/dist/es/es2018/types/src/generated/resources/getCommerceWebstoresPricingProductsByProductIdAndWebstoreId.d.ts +19 -0
  8. package/dist/es/es2018/types/src/generated/resources/postCommerceWebstoresPricingProductsByWebstoreId.d.ts +18 -0
  9. package/dist/es/es2018/types/src/generated/types/PriceAdjustmentScheduleRepresentation.d.ts +33 -0
  10. package/dist/es/es2018/types/src/generated/types/PriceAdjustmentTierRepresentation.d.ts +44 -0
  11. package/dist/es/es2018/types/src/generated/types/PricingInputRepresentation.d.ts +29 -0
  12. package/dist/es/es2018/types/src/generated/types/PricingLineItemInputRepresentation.d.ts +29 -0
  13. package/dist/es/es2018/types/src/generated/types/PricingLineItemInputRepresentationList.d.ts +29 -0
  14. package/dist/es/es2018/types/src/generated/types/PricingResultLineItemRepresentation.d.ts +41 -0
  15. package/dist/es/es2018/types/src/generated/types/PricingResultRepresentation.d.ts +36 -0
  16. package/dist/es/es2018/types/src/generated/types/ProductPriceRepresentation.d.ts +42 -0
  17. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
  18. package/package.json +53 -0
  19. package/sfdc/index.d.ts +1 -0
  20. package/sfdc/index.js +464 -0
  21. package/src/raml/api.raml +196 -0
  22. package/src/raml/luvio.raml +16 -0
@@ -0,0 +1,33 @@
1
+ import { PriceAdjustmentTierRepresentation as PriceAdjustmentTierRepresentation_PriceAdjustmentTierRepresentation } from './PriceAdjustmentTierRepresentation';
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 = "1d3675bd094b43c389f8a51aa4d2c254";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PriceAdjustmentScheduleRepresentation, existing: PriceAdjustmentScheduleRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PriceAdjustmentScheduleRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PriceAdjustmentScheduleRepresentationNormalized, incoming: PriceAdjustmentScheduleRepresentationNormalized): boolean;
9
+ export declare function deepFreeze(input: PriceAdjustmentScheduleRepresentation): void;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PriceAdjustmentScheduleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * Representation for the details of a single price adjustment schedule
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface PriceAdjustmentScheduleRepresentationNormalized {
19
+ /** Represents the ID of the price adjustment schedule */
20
+ id: string;
21
+ /** Represents the list of price adjustment tiers */
22
+ priceAdjustmentTiers: Array<PriceAdjustmentTierRepresentation_PriceAdjustmentTierRepresentation>;
23
+ }
24
+ /**
25
+ * Representation for the details of a single price adjustment schedule
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface PriceAdjustmentScheduleRepresentation {
31
+ id: string;
32
+ priceAdjustmentTiers: Array<PriceAdjustmentTierRepresentation_PriceAdjustmentTierRepresentation>;
33
+ }
@@ -0,0 +1,44 @@
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 = "5fc4a2b617d0a5a863b35e2080aa462e";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PriceAdjustmentTierRepresentation, existing: PriceAdjustmentTierRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PriceAdjustmentTierRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PriceAdjustmentTierRepresentationNormalized, incoming: PriceAdjustmentTierRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: PriceAdjustmentTierRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PriceAdjustmentTierRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Representation for the details of a single price adjustment tier
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PriceAdjustmentTierRepresentationNormalized {
18
+ /** Represents the price adjustment type */
19
+ adjustmentType: string;
20
+ /** Represents the adjustment value */
21
+ adjustmentValue: string;
22
+ /** Represents the ID of the price adjustment tier */
23
+ id: string;
24
+ /** Represents the lower bound of the tier */
25
+ lowerBound: string;
26
+ /** Represents the unit price of the tier */
27
+ tierUnitPrice: string;
28
+ /** Represents the upper bound of the tier */
29
+ upperBound: string;
30
+ }
31
+ /**
32
+ * Representation for the details of a single price adjustment tier
33
+ *
34
+ * Keys:
35
+ * (none)
36
+ */
37
+ export interface PriceAdjustmentTierRepresentation {
38
+ adjustmentType: string;
39
+ adjustmentValue: string;
40
+ id: string;
41
+ lowerBound: string;
42
+ tierUnitPrice: string;
43
+ upperBound: string;
44
+ }
@@ -0,0 +1,29 @@
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 = "ca867b31f0be284e39d63e54c0108475";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PricingInputRepresentation, existing: PricingInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PricingInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PricingInputRepresentationNormalized, incoming: PricingInputRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: PricingInputRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PricingInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Representation of the request for multiple products pricing
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PricingInputRepresentationNormalized {
18
+ /** The Line Items the pricing request is for */
19
+ pricingLineItems: Array<{}>;
20
+ }
21
+ /**
22
+ * Representation of the request for multiple products pricing
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface PricingInputRepresentation {
28
+ pricingLineItems: Array<{}>;
29
+ }
@@ -0,0 +1,29 @@
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 = "4b4dc90d94aa335689190eeb37d012a3";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PricingLineItemInputRepresentation, existing: PricingLineItemInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PricingLineItemInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PricingLineItemInputRepresentationNormalized, incoming: PricingLineItemInputRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: PricingLineItemInputRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PricingLineItemInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Representation of the Line Item portion the request for multiple products pricing
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PricingLineItemInputRepresentationNormalized {
18
+ /** The product ID to be priced in the request */
19
+ productId: string;
20
+ }
21
+ /**
22
+ * Representation of the Line Item portion the request for multiple products pricing
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface PricingLineItemInputRepresentation {
28
+ productId: string;
29
+ }
@@ -0,0 +1,29 @@
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 = "4aa2776cf501f41713a698810f1a6877";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PricingLineItemInputRepresentationList, existing: PricingLineItemInputRepresentationListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PricingLineItemInputRepresentationListNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PricingLineItemInputRepresentationListNormalized, incoming: PricingLineItemInputRepresentationListNormalized): boolean;
8
+ export declare function deepFreeze(input: PricingLineItemInputRepresentationList): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PricingLineItemInputRepresentationList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Wraps a list of Pricing Line Items for Apex
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PricingLineItemInputRepresentationListNormalized {
18
+ /** Pricing line Items */
19
+ pricingLineItemInputList: Array<{}>;
20
+ }
21
+ /**
22
+ * Wraps a list of Pricing Line Items for Apex
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface PricingLineItemInputRepresentationList {
28
+ pricingLineItemInputList: Array<{}>;
29
+ }
@@ -0,0 +1,41 @@
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 = "affb4cdaccf55a9a63ec2f335628d264";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PricingResultLineItemRepresentation, existing: PricingResultLineItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PricingResultLineItemRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PricingResultLineItemRepresentationNormalized, incoming: PricingResultLineItemRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: PricingResultLineItemRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PricingResultLineItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Representation of the Line Item portion of the response for multiple products pricing
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PricingResultLineItemRepresentationNormalized {
18
+ /** Represents the list price for the product */
19
+ listPrice: string;
20
+ /** Represents the ID of the pricebook entry */
21
+ pricebookEntryId: string;
22
+ /** Represents the product ID to be priced in the response */
23
+ productId: string;
24
+ /** Represents whether execution was successful */
25
+ success: boolean;
26
+ /** Represents the unit price for the product */
27
+ unitPrice: string;
28
+ }
29
+ /**
30
+ * Representation of the Line Item portion of the response for multiple products pricing
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface PricingResultLineItemRepresentation {
36
+ listPrice: string;
37
+ pricebookEntryId: string;
38
+ productId: string;
39
+ success: boolean;
40
+ unitPrice: string;
41
+ }
@@ -0,0 +1,36 @@
1
+ import { PricingResultLineItemRepresentation as PricingResultLineItemRepresentation_PricingResultLineItemRepresentation } from './PricingResultLineItemRepresentation';
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 = "b588fd40734163f901439d9bf88b31c5";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PricingResultRepresentation, existing: PricingResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PricingResultRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PricingResultRepresentationNormalized, incoming: PricingResultRepresentationNormalized): boolean;
9
+ export declare function deepFreeze(input: PricingResultRepresentation): void;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PricingResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * Representation for the response for multiple products pricing
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface PricingResultRepresentationNormalized {
19
+ /** Represents the currency used in the Multi Products Pricing API */
20
+ currencyIsoCode: string;
21
+ /** Represents the Line Items of the response */
22
+ pricingLineItemResults: Array<PricingResultLineItemRepresentation_PricingResultLineItemRepresentation>;
23
+ /** Represents whether execution was successful */
24
+ success: boolean;
25
+ }
26
+ /**
27
+ * Representation for the response for multiple products pricing
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface PricingResultRepresentation {
33
+ currencyIsoCode: string;
34
+ pricingLineItemResults: Array<PricingResultLineItemRepresentation_PricingResultLineItemRepresentation>;
35
+ success: boolean;
36
+ }
@@ -0,0 +1,42 @@
1
+ import { PriceAdjustmentScheduleRepresentation as PriceAdjustmentScheduleRepresentation_PriceAdjustmentScheduleRepresentation } from './PriceAdjustmentScheduleRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, 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 = "3e2882f4e8e38efd02e1a14114269e4c";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ProductPriceRepresentation, existing: ProductPriceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductPriceRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_BaseFragment;
8
+ export declare function equals(existing: ProductPriceRepresentationNormalized, incoming: ProductPriceRepresentationNormalized): boolean;
9
+ export declare function deepFreeze(input: ProductPriceRepresentation): void;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductPriceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * Representation for the details of a single product price
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ProductPriceRepresentationNormalized {
19
+ /** Represents the currency used in this price calculations */
20
+ currencyIsoCode: string;
21
+ /** Represents the list price for the product */
22
+ listPrice: string;
23
+ /** Represents the price adjustment schedule */
24
+ priceAdjustment: PriceAdjustmentScheduleRepresentation_PriceAdjustmentScheduleRepresentation | null;
25
+ /** Represents the ID of the pricebook entry */
26
+ pricebookEntryId: string;
27
+ /** Represents the unit price for the product */
28
+ unitPrice: string;
29
+ }
30
+ /**
31
+ * Representation for the details of a single product price
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface ProductPriceRepresentation {
37
+ currencyIsoCode: string;
38
+ listPrice: string;
39
+ priceAdjustment: PriceAdjustmentScheduleRepresentation_PriceAdjustmentScheduleRepresentation | null;
40
+ pricebookEntryId: string;
41
+ unitPrice: string;
42
+ }
@@ -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,53 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-commerce-store-pricing",
3
+ "version": "0.131.0",
4
+ "license": "SEE LICENSE IN LICENSE.txt",
5
+ "description": "Wire adapters Commerce Store Pricing",
6
+ "main": "dist/es/es2018/commerce-store-pricing.js",
7
+ "module": "dist/es/es2018/commerce-store-pricing.js",
8
+ "types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "sfdc",
12
+ "src/raml/*"
13
+ ],
14
+ "sfdc": {
15
+ "path": "forcelds/ldsAdaptersCommerceStorePricing/",
16
+ "namespace": "lightning",
17
+ "module": "commerceApi"
18
+ },
19
+ "scripts": {
20
+ "clean": "rm -rf dist sfdc src/generated karma/dist",
21
+ "build": "yarn build:raml && yarn build:services && yarn build:karma",
22
+ "build:karma": "rollup --config rollup.config.karma.js",
23
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
24
+ "build:services": "rollup --config rollup.config.js",
25
+ "start": "karma start",
26
+ "test": "karma start --single-run",
27
+ "test:compat": "karma start --single-run --compat",
28
+ "release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-commerce-store-pricing",
29
+ "release:core": "../../scripts/release/core.js --adapter=lds-adapters-commerce-store-pricing"
30
+ },
31
+ "dependencies": {
32
+ "@salesforce/lds-bindings": "1.131.0-244.6"
33
+ },
34
+ "devDependencies": {
35
+ "@salesforce/lds-compiler-plugins": "1.131.0-244.6",
36
+ "@salesforce/lds-karma": "1.131.0-244.6"
37
+ },
38
+ "nx": {
39
+ "targets": {
40
+ "build": {
41
+ "outputs": [
42
+ "packages/lds-adapters-commerce-store-pricing/dist",
43
+ "packages/lds-adapters-commerce-store-pricing/karma/dist",
44
+ "packages/lds-adapters-commerce-store-pricing/sfdc",
45
+ "packages/lds-adapters-commerce-store-pricing/src/generated"
46
+ ]
47
+ }
48
+ }
49
+ },
50
+ "volta": {
51
+ "extends": "../../package.json"
52
+ }
53
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';