@salesforce/lds-adapters-revenue-place-quote 1.124.2 → 1.124.4

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.
@@ -1,66 +1,66 @@
1
- import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
2
- export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
- declare const ObjectKeys: {
4
- (o: object): string[];
5
- (o: {}): string[];
6
- }, ObjectFreeze: {
7
- <T extends Function>(f: T): T;
8
- <T_1 extends {
9
- [idx: string]: object | U | null | undefined;
10
- }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
11
- <T_2>(o: T_2): Readonly<T_2>;
12
- }, ObjectCreate: {
13
- (o: object | null): any;
14
- (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
15
- };
16
- export { ObjectFreeze, ObjectCreate, ObjectKeys };
17
- export declare const ArrayIsArray: (arg: any) => arg is any[];
18
- export declare const ArrayPrototypePush: (...items: any[]) => number;
19
- export interface AdapterValidationConfig {
20
- displayName: string;
21
- parameters: {
22
- required: string[];
23
- optional: string[];
24
- unsupported?: string[];
25
- };
26
- }
27
- /**
28
- * Validates an adapter config is well-formed.
29
- * @param config The config to validate.
30
- * @param adapter The adapter validation configuration.
31
- * @param oneOf The keys the config must contain at least one of.
32
- * @throws A TypeError if config doesn't satisfy the adapter's config validation.
33
- */
34
- export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
35
- export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
36
- export type UncoercedConfiguration<Base, Options extends {
37
- [key in keyof Base]?: any;
38
- }> = {
39
- [Key in keyof Base]?: Base[Key] | Options[Key];
40
- };
41
- export type Untrusted<Base> = Partial<Base>;
42
- export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
43
- export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
44
- export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
45
- export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
46
- export declare const snapshotRefreshOptions: {
47
- overrides: {
48
- headers: {
49
- 'Cache-Control': string;
50
- };
51
- };
52
- };
53
- /**
54
- * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
55
- * This is needed because insertion order for JSON.stringify(object) affects output:
56
- * JSON.stringify({a: 1, b: 2})
57
- * "{"a":1,"b":2}"
58
- * JSON.stringify({b: 2, a: 1})
59
- * "{"b":2,"a":1}"
60
- * @param data Data to be JSON-stringified.
61
- * @returns JSON.stringified value with consistent ordering of keys.
62
- */
63
- export declare function stableJSONStringify(node: any): string | undefined;
64
- export declare function getFetchResponseStatusText(status: number): string;
65
- export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
66
- export declare const keyPrefix = "place-quote";
1
+ import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
2
+ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
+ declare const ObjectKeys: {
4
+ (o: object): string[];
5
+ (o: {}): string[];
6
+ }, ObjectFreeze: {
7
+ <T extends Function>(f: T): T;
8
+ <T_1 extends {
9
+ [idx: string]: object | U | null | undefined;
10
+ }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
11
+ <T_2>(o: T_2): Readonly<T_2>;
12
+ }, ObjectCreate: {
13
+ (o: object | null): any;
14
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
15
+ };
16
+ export { ObjectFreeze, ObjectCreate, ObjectKeys };
17
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
18
+ export declare const ArrayPrototypePush: (...items: any[]) => number;
19
+ export interface AdapterValidationConfig {
20
+ displayName: string;
21
+ parameters: {
22
+ required: string[];
23
+ optional: string[];
24
+ unsupported?: string[];
25
+ };
26
+ }
27
+ /**
28
+ * Validates an adapter config is well-formed.
29
+ * @param config The config to validate.
30
+ * @param adapter The adapter validation configuration.
31
+ * @param oneOf The keys the config must contain at least one of.
32
+ * @throws A TypeError if config doesn't satisfy the adapter's config validation.
33
+ */
34
+ export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
35
+ export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
36
+ export type UncoercedConfiguration<Base, Options extends {
37
+ [key in keyof Base]?: any;
38
+ }> = {
39
+ [Key in keyof Base]?: Base[Key] | Options[Key];
40
+ };
41
+ export type Untrusted<Base> = Partial<Base>;
42
+ export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
43
+ export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
44
+ export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
45
+ export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
46
+ export declare const snapshotRefreshOptions: {
47
+ overrides: {
48
+ headers: {
49
+ 'Cache-Control': string;
50
+ };
51
+ };
52
+ };
53
+ /**
54
+ * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
55
+ * This is needed because insertion order for JSON.stringify(object) affects output:
56
+ * JSON.stringify({a: 1, b: 2})
57
+ * "{"a":1,"b":2}"
58
+ * JSON.stringify({b: 2, a: 1})
59
+ * "{"b":2,"a":1}"
60
+ * @param data Data to be JSON-stringified.
61
+ * @returns JSON.stringified value with consistent ordering of keys.
62
+ */
63
+ export declare function stableJSONStringify(node: any): string | undefined;
64
+ export declare function getFetchResponseStatusText(status: number): string;
65
+ export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
66
+ export declare const keyPrefix = "place-quote";
@@ -1,15 +1,15 @@
1
- import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
- import { PlaceQuoteInputRepresentation as types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation } from '../types/PlaceQuoteInputRepresentation';
3
- import { ResourceRequestConfig as resources_postCommerceQuotesActionsPlace_ResourceRequestConfig } from '../resources/postCommerceQuotesActionsPlace';
4
- import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
5
- import { PlaceQuoteOutputRepresentation as types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation } from '../types/PlaceQuoteOutputRepresentation';
6
- export declare const adapterName = "updateQuote";
7
- export declare const updateQuote_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
- export interface UpdateQuoteConfig {
9
- PlaceQuoteInput: types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
10
- }
11
- export declare function createResourceParams(config: UpdateQuoteConfig): resources_postCommerceQuotesActionsPlace_ResourceRequestConfig;
12
- export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateQuoteConfig>): adapter$45$utils_Untrusted<UpdateQuoteConfig>;
13
- export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateQuoteConfig | null;
14
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateQuoteConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, any>>;
15
- export declare const updateQuoteAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateQuoteConfig, types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation>;
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { PlaceQuoteInputRepresentation as types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation } from '../types/PlaceQuoteInputRepresentation';
3
+ import { ResourceRequestConfig as resources_postCommerceQuotesActionsPlace_ResourceRequestConfig } from '../resources/postCommerceQuotesActionsPlace';
4
+ import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
5
+ import { PlaceQuoteOutputRepresentation as types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation } from '../types/PlaceQuoteOutputRepresentation';
6
+ export declare const adapterName = "updateQuote";
7
+ export declare const updateQuote_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface UpdateQuoteConfig {
9
+ PlaceQuoteInput: types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
10
+ }
11
+ export declare function createResourceParams(config: UpdateQuoteConfig): resources_postCommerceQuotesActionsPlace_ResourceRequestConfig;
12
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateQuoteConfig>): adapter$45$utils_Untrusted<UpdateQuoteConfig>;
13
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateQuoteConfig | null;
14
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateQuoteConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, any>>;
15
+ export declare const updateQuoteAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateQuoteConfig, types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation>;
@@ -1 +1 @@
1
- export { updateQuoteAdapterFactory } from '../adapters/updateQuote';
1
+ export { updateQuoteAdapterFactory } from '../adapters/updateQuote';
@@ -1,2 +1,2 @@
1
- declare let updateQuote: any;
2
- export { updateQuote, };
1
+ declare let updateQuote: any;
2
+ export { updateQuote, };
@@ -1,13 +1,13 @@
1
- import { PlaceQuoteInputRepresentation as types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation } from '../types/PlaceQuoteInputRepresentation';
2
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
3
- import { PlaceQuoteOutputRepresentation as types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation } from '../types/PlaceQuoteOutputRepresentation';
4
- export interface ResourceRequestConfig {
5
- body: {
6
- PlaceQuoteInput: types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
7
- };
8
- }
9
- export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
- export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, any>;
12
- export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
13
- export default createResourceRequest;
1
+ import { PlaceQuoteInputRepresentation as types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation } from '../types/PlaceQuoteInputRepresentation';
2
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
3
+ import { PlaceQuoteOutputRepresentation as types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation } from '../types/PlaceQuoteOutputRepresentation';
4
+ export interface ResourceRequestConfig {
5
+ body: {
6
+ PlaceQuoteInput: types_PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
7
+ };
8
+ }
9
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
+ export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_PlaceQuoteOutputRepresentation_PlaceQuoteOutputRepresentation, any>;
12
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
13
+ export default createResourceRequest;
@@ -1,35 +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 = "81b80dc423701677916b6c10ff7f2695";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: PlaceQuoteErrorResponseRepresentation, existing: PlaceQuoteErrorResponseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteErrorResponseRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
- export declare function equals(existing: PlaceQuoteErrorResponseRepresentationNormalized, incoming: PlaceQuoteErrorResponseRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: PlaceQuoteErrorResponseRepresentation): void;
9
- export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteErrorResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
- /**
12
- * Error response representation
13
- *
14
- * Keys:
15
- * (none)
16
- */
17
- export interface PlaceQuoteErrorResponseRepresentationNormalized {
18
- /** Code for Error */
19
- errorCode: string;
20
- /** Message stating the reason for error, if any */
21
- message: string;
22
- /** The Id of where the error lies */
23
- referenceId: string;
24
- }
25
- /**
26
- * Error response representation
27
- *
28
- * Keys:
29
- * (none)
30
- */
31
- export interface PlaceQuoteErrorResponseRepresentation {
32
- errorCode: string;
33
- message: string;
34
- referenceId: string;
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 = "81b80dc423701677916b6c10ff7f2695";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PlaceQuoteErrorResponseRepresentation, existing: PlaceQuoteErrorResponseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteErrorResponseRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PlaceQuoteErrorResponseRepresentationNormalized, incoming: PlaceQuoteErrorResponseRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: PlaceQuoteErrorResponseRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteErrorResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Error response representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PlaceQuoteErrorResponseRepresentationNormalized {
18
+ /** Code for Error */
19
+ errorCode: string;
20
+ /** Message stating the reason for error, if any */
21
+ message: string;
22
+ /** The Id of where the error lies */
23
+ referenceId: string;
24
+ }
25
+ /**
26
+ * Error response representation
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface PlaceQuoteErrorResponseRepresentation {
32
+ errorCode: string;
33
+ message: string;
34
+ referenceId: string;
35
+ }
@@ -1,32 +1,32 @@
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 = "5156b5e9455c223122d51fea6284e011";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: PlaceQuoteInputRepresentation, existing: PlaceQuoteInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteInputRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
- export declare function equals(existing: PlaceQuoteInputRepresentationNormalized, incoming: PlaceQuoteInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: PlaceQuoteInputRepresentation): void;
9
- export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
- /**
12
- * Input representation for place quote.
13
- *
14
- * Keys:
15
- * (none)
16
- */
17
- export interface PlaceQuoteInputRepresentationNormalized {
18
- /** SObject Graph representing the quote structure for place quote */
19
- graph: {};
20
- /** Pricing Preference for place quote */
21
- pricingPref: string;
22
- }
23
- /**
24
- * Input representation for place quote.
25
- *
26
- * Keys:
27
- * (none)
28
- */
29
- export interface PlaceQuoteInputRepresentation {
30
- graph: {};
31
- pricingPref: string;
32
- }
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 = "5156b5e9455c223122d51fea6284e011";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PlaceQuoteInputRepresentation, existing: PlaceQuoteInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PlaceQuoteInputRepresentationNormalized, incoming: PlaceQuoteInputRepresentationNormalized): boolean;
8
+ export declare function deepFreeze(input: PlaceQuoteInputRepresentation): void;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Input representation for place quote.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PlaceQuoteInputRepresentationNormalized {
18
+ /** SObject Graph representing the quote structure for place quote */
19
+ graph: {};
20
+ /** Pricing Preference for place quote */
21
+ pricingPref: string;
22
+ }
23
+ /**
24
+ * Input representation for place quote.
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface PlaceQuoteInputRepresentation {
30
+ graph: {};
31
+ pricingPref: string;
32
+ }
@@ -1,29 +1,29 @@
1
- import { PlaceQuoteInputRepresentation as PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation } from './PlaceQuoteInputRepresentation';
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 = "37f5819e43ff2bb119ab42371ea28276";
4
- export declare function validate(obj: any, path?: string): TypeError | null;
5
- export declare const RepresentationType: string;
6
- export declare function normalize(input: PlaceQuoteInputWrapperRepresentation, existing: PlaceQuoteInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteInputWrapperRepresentationNormalized;
7
- export declare const select: () => $64$luvio_engine_FragmentSelection;
8
- export declare function equals(existing: PlaceQuoteInputWrapperRepresentationNormalized, incoming: PlaceQuoteInputWrapperRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: PlaceQuoteInputWrapperRepresentation): void;
10
- export declare const ingest: $64$luvio_engine_ResourceIngest;
11
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
- /**
13
- * Wrapper for place quote input representation
14
- *
15
- * Keys:
16
- * (none)
17
- */
18
- export interface PlaceQuoteInputWrapperRepresentationNormalized {
19
- PlaceQuoteInput: PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
20
- }
21
- /**
22
- * Wrapper for place quote input representation
23
- *
24
- * Keys:
25
- * (none)
26
- */
27
- export interface PlaceQuoteInputWrapperRepresentation {
28
- PlaceQuoteInput: PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
29
- }
1
+ import { PlaceQuoteInputRepresentation as PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation } from './PlaceQuoteInputRepresentation';
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 = "37f5819e43ff2bb119ab42371ea28276";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PlaceQuoteInputWrapperRepresentation, existing: PlaceQuoteInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteInputWrapperRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PlaceQuoteInputWrapperRepresentationNormalized, incoming: PlaceQuoteInputWrapperRepresentationNormalized): boolean;
9
+ export declare function deepFreeze(input: PlaceQuoteInputWrapperRepresentation): void;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ /**
13
+ * Wrapper for place quote input representation
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface PlaceQuoteInputWrapperRepresentationNormalized {
19
+ PlaceQuoteInput: PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
20
+ }
21
+ /**
22
+ * Wrapper for place quote input representation
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface PlaceQuoteInputWrapperRepresentation {
28
+ PlaceQuoteInput: PlaceQuoteInputRepresentation_PlaceQuoteInputRepresentation;
29
+ }
@@ -1,52 +1,52 @@
1
- import { PlaceQuoteErrorResponseRepresentation as PlaceQuoteErrorResponseRepresentation_PlaceQuoteErrorResponseRepresentation } from './PlaceQuoteErrorResponseRepresentation';
2
- import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const TTL = 1000;
4
- export declare const VERSION = "32a768cba447434ebb8e37e67aed1302";
5
- export declare function validate(obj: any, path?: string): TypeError | null;
6
- export declare const RepresentationType: string;
7
- export interface KeyParams extends $64$luvio_engine_KeyMetadata {
8
- quoteId: string;
9
- }
10
- export type PlaceQuoteOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
- export type PartialPlaceQuoteOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
- export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): PlaceQuoteOutputRepresentationNormalizedKeyMetadata;
14
- export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: PlaceQuoteOutputRepresentation): string;
15
- export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: PlaceQuoteOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
- export declare function normalize(input: PlaceQuoteOutputRepresentation, existing: PlaceQuoteOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteOutputRepresentationNormalized;
17
- export declare const select: () => $64$luvio_engine_BaseFragment;
18
- export declare function equals(existing: PlaceQuoteOutputRepresentationNormalized, incoming: PlaceQuoteOutputRepresentationNormalized): boolean;
19
- export declare function deepFreeze(input: PlaceQuoteOutputRepresentation): void;
20
- export declare const ingest: $64$luvio_engine_ResourceIngest;
21
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
- /**
23
- * Place Quote output representation
24
- *
25
- * Keys:
26
- * quoteId (string): quoteId
27
- */
28
- export interface PlaceQuoteOutputRepresentationNormalized {
29
- /** QUOTE ID */
30
- quoteId: string;
31
- /** Unique request identifier that can be used to poll async request */
32
- requestIdentifier: string;
33
- /** response error */
34
- responseError: Array<PlaceQuoteErrorResponseRepresentation_PlaceQuoteErrorResponseRepresentation>;
35
- /** a StatusURL for tracking this operation */
36
- statusURL: string;
37
- /** success */
38
- success: boolean;
39
- }
40
- /**
41
- * Place Quote output representation
42
- *
43
- * Keys:
44
- * quoteId (string): quoteId
45
- */
46
- export interface PlaceQuoteOutputRepresentation {
47
- quoteId: string;
48
- requestIdentifier: string;
49
- responseError: Array<PlaceQuoteErrorResponseRepresentation_PlaceQuoteErrorResponseRepresentation>;
50
- statusURL: string;
51
- success: boolean;
52
- }
1
+ import { PlaceQuoteErrorResponseRepresentation as PlaceQuoteErrorResponseRepresentation_PlaceQuoteErrorResponseRepresentation } from './PlaceQuoteErrorResponseRepresentation';
2
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const TTL = 1000;
4
+ export declare const VERSION = "32a768cba447434ebb8e37e67aed1302";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
8
+ quoteId: string;
9
+ }
10
+ export type PlaceQuoteOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialPlaceQuoteOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): PlaceQuoteOutputRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: PlaceQuoteOutputRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: PlaceQuoteOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: PlaceQuoteOutputRepresentation, existing: PlaceQuoteOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PlaceQuoteOutputRepresentationNormalized;
17
+ export declare const select: () => $64$luvio_engine_BaseFragment;
18
+ export declare function equals(existing: PlaceQuoteOutputRepresentationNormalized, incoming: PlaceQuoteOutputRepresentationNormalized): boolean;
19
+ export declare function deepFreeze(input: PlaceQuoteOutputRepresentation): void;
20
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
21
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PlaceQuoteOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
22
+ /**
23
+ * Place Quote output representation
24
+ *
25
+ * Keys:
26
+ * quoteId (string): quoteId
27
+ */
28
+ export interface PlaceQuoteOutputRepresentationNormalized {
29
+ /** QUOTE ID */
30
+ quoteId: string;
31
+ /** Unique request identifier that can be used to poll async request */
32
+ requestIdentifier: string;
33
+ /** response error */
34
+ responseError: Array<PlaceQuoteErrorResponseRepresentation_PlaceQuoteErrorResponseRepresentation>;
35
+ /** a StatusURL for tracking this operation */
36
+ statusURL: string;
37
+ /** success */
38
+ success: boolean;
39
+ }
40
+ /**
41
+ * Place Quote output representation
42
+ *
43
+ * Keys:
44
+ * quoteId (string): quoteId
45
+ */
46
+ export interface PlaceQuoteOutputRepresentation {
47
+ quoteId: string;
48
+ requestIdentifier: string;
49
+ responseError: Array<PlaceQuoteErrorResponseRepresentation_PlaceQuoteErrorResponseRepresentation>;
50
+ statusURL: string;
51
+ success: boolean;
52
+ }
@@ -1,39 +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 {};
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 CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-revenue-place-quote",
3
- "version": "1.124.2",
3
+ "version": "1.124.4",
4
4
  "description": "Place Quote API for partial items and price/taxation updates async",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
- "main": "dist/umd/es2018/revenue-place-quote.js",
6
+ "main": "dist/es/es2018/revenue-place-quote.js",
7
7
  "module": "dist/es/es2018/revenue-place-quote.js",
8
- "types": "dist/types/src/generated/artifacts/main.d.ts",
8
+ "types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
9
9
  "files": [
10
10
  "dist",
11
11
  "sfdc",
@@ -14,8 +14,8 @@
14
14
  "exports": {
15
15
  ".": {
16
16
  "import": "./dist/es/es2018/revenue-place-quote.js",
17
- "require": "./dist/umd/es2018/revenue-place-quote.js",
18
- "types": "./dist/types/src/generated/artifacts/main.d.ts"
17
+ "require": "./dist/es/es2018/revenue-place-quote.js",
18
+ "types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts"
19
19
  },
20
20
  "./sfdc": {
21
21
  "import": "./sfdc/index.js",