@salesforce/lds-adapters-commerce-store-pricing 1.134.1 → 1.134.3
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/package.json
CHANGED
package/sfdc/index.js
CHANGED
package/src/raml/api.raml
CHANGED
|
@@ -151,24 +151,25 @@ types:
|
|
|
151
151
|
description: Represents the unit price for the product
|
|
152
152
|
type: string
|
|
153
153
|
/commerce/webstores/{webstoreId}/pricing/products:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
154
|
+
# TODO: Hand rolled
|
|
155
|
+
# post:
|
|
156
|
+
# description: Resource to calculate the price
|
|
157
|
+
# responses:
|
|
158
|
+
# '200':
|
|
159
|
+
# description: Success
|
|
160
|
+
# body:
|
|
161
|
+
# application/json:
|
|
162
|
+
# type: PricingResultRepresentation
|
|
163
|
+
# queryParameters:
|
|
164
|
+
# effectiveAccountId:
|
|
165
|
+
# type: string
|
|
166
|
+
# required: false
|
|
167
|
+
# body:
|
|
168
|
+
# application/json:
|
|
169
|
+
# type: PricingInputRepresentation
|
|
170
|
+
# # TODO : HAND ROLLED, required not supported
|
|
171
|
+
# # required: false
|
|
172
|
+
# (oas-body-name): pricingInput
|
|
172
173
|
uriParameters:
|
|
173
174
|
webstoreId:
|
|
174
175
|
type: string
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
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';
|
|
2
|
-
import { PricingResultRepresentation as types_PricingResultRepresentation_PricingResultRepresentation } from '../types/PricingResultRepresentation';
|
|
3
|
-
export interface ResourceRequestConfig {
|
|
4
|
-
urlParams: {
|
|
5
|
-
webstoreId: string;
|
|
6
|
-
};
|
|
7
|
-
queryParams: {
|
|
8
|
-
effectiveAccountId?: string;
|
|
9
|
-
};
|
|
10
|
-
body: {
|
|
11
|
-
pricingLineItems: Array<{}>;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_PricingResultRepresentation_PricingResultRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_PricingResultRepresentation_PricingResultRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_PricingResultRepresentation_PricingResultRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_PricingResultRepresentation_PricingResultRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_PricingResultRepresentation_PricingResultRepresentation, any>;
|
|
17
|
-
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
-
export default createResourceRequest;
|