@salesforce/lds-adapters-revenue-place-order 1.247.0 → 1.249.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/dist/es/es2018/revenue-place-order.js +1 -1
- package/dist/es/es2018/types/src/generated/adapters/placeOrder.d.ts +2 -2
- package/package.json +1 -1
- package/sfdc/index.js +2 -2
- package/src/raml/api.raml +12 -14
- package/src/raml/luvio.raml +1 -1
- /package/dist/es/es2018/types/src/generated/resources/{postCommerceSalesOrdersOrdersActionsPlace.d.ts → postCommerceSalesOrdersActionsPlace.d.ts} +0 -0
|
@@ -247,7 +247,7 @@ function createResourceRequest(config) {
|
|
|
247
247
|
const headers = {};
|
|
248
248
|
return {
|
|
249
249
|
baseUri: '/services/data/v60.0',
|
|
250
|
-
basePath: '/commerce/sales-orders/
|
|
250
|
+
basePath: '/commerce/sales-orders/actions/place',
|
|
251
251
|
method: 'post',
|
|
252
252
|
body: config.body,
|
|
253
253
|
urlParams: {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
3
|
import { PlaceOrderInputRepresentation as types_PlaceOrderInputRepresentation_PlaceOrderInputRepresentation } from '../types/PlaceOrderInputRepresentation';
|
|
4
|
-
import { ResourceRequestConfig as
|
|
4
|
+
import { ResourceRequestConfig as resources_postCommerceSalesOrdersActionsPlace_ResourceRequestConfig } from '../resources/postCommerceSalesOrdersActionsPlace';
|
|
5
5
|
import { PlaceOrderOutputRepresentation as types_PlaceOrderOutputRepresentation_PlaceOrderOutputRepresentation } from '../types/PlaceOrderOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "placeOrder";
|
|
7
7
|
export declare const placeOrder_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -9,7 +9,7 @@ export declare const placeOrder_ConfigPropertyNames: adapter$45$utils_AdapterVal
|
|
|
9
9
|
export interface PlaceOrderConfig {
|
|
10
10
|
inputRequest: types_PlaceOrderInputRepresentation_PlaceOrderInputRepresentation;
|
|
11
11
|
}
|
|
12
|
-
export declare const createResourceParams: (config: PlaceOrderConfig) =>
|
|
12
|
+
export declare const createResourceParams: (config: PlaceOrderConfig) => resources_postCommerceSalesOrdersActionsPlace_ResourceRequestConfig;
|
|
13
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PlaceOrderConfig>): adapter$45$utils_Untrusted<PlaceOrderConfig>;
|
|
14
14
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PlaceOrderConfig | null;
|
|
15
15
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PlaceOrderConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_PlaceOrderOutputRepresentation_PlaceOrderOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_PlaceOrderOutputRepresentation_PlaceOrderOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_PlaceOrderOutputRepresentation_PlaceOrderOutputRepresentation, any>>;
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -256,7 +256,7 @@ function createResourceRequest(config) {
|
|
|
256
256
|
const headers = {};
|
|
257
257
|
return {
|
|
258
258
|
baseUri: '/services/data/v60.0',
|
|
259
|
-
basePath: '/commerce/sales-orders/
|
|
259
|
+
basePath: '/commerce/sales-orders/actions/place',
|
|
260
260
|
method: 'post',
|
|
261
261
|
body: config.body,
|
|
262
262
|
urlParams: {},
|
|
@@ -341,4 +341,4 @@ withDefaultLuvio((luvio) => {
|
|
|
341
341
|
});
|
|
342
342
|
|
|
343
343
|
export { placeOrder };
|
|
344
|
-
// version: 1.
|
|
344
|
+
// version: 1.249.0-15efc7f9b
|
package/src/raml/api.raml
CHANGED
|
@@ -89,19 +89,17 @@ types:
|
|
|
89
89
|
success:
|
|
90
90
|
description: Whether or not the synchronous part of the processing is successful
|
|
91
91
|
type: boolean
|
|
92
|
-
/commerce/sales-orders:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
'200':
|
|
100
|
-
description: Success
|
|
101
|
-
body:
|
|
102
|
-
application/json:
|
|
103
|
-
type: PlaceOrderOutputRepresentation
|
|
92
|
+
/commerce/sales-orders/actions/place:
|
|
93
|
+
post:
|
|
94
|
+
displayName: postPlaceOrder
|
|
95
|
+
description: Place an Order
|
|
96
|
+
responses:
|
|
97
|
+
'200':
|
|
98
|
+
description: Success
|
|
104
99
|
body:
|
|
105
100
|
application/json:
|
|
106
|
-
type:
|
|
107
|
-
|
|
101
|
+
type: PlaceOrderOutputRepresentation
|
|
102
|
+
body:
|
|
103
|
+
application/json:
|
|
104
|
+
type: PlaceOrderInputWrapperRepresentation
|
|
105
|
+
(oas-body-name): inputRequest
|
package/src/raml/luvio.raml
CHANGED