@cinerino/sdk 16.3.0-alpha.4 → 16.3.0-alpha.5
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.
|
@@ -31,7 +31,7 @@ export declare class PlaceOrderTransactionService extends Service {
|
|
|
31
31
|
/**
|
|
32
32
|
* 取引確定(レスポンス最小化)
|
|
33
33
|
*/
|
|
34
|
-
confirmWithMiminalResponse(params: Pick<factory.transaction.placeOrder.IConfirmParams, 'id' | 'potentialActions'
|
|
34
|
+
confirmWithMiminalResponse(params: Pick<factory.transaction.placeOrder.IConfirmParams, 'id' | 'potentialActions'> & {
|
|
35
35
|
/**
|
|
36
36
|
* 注文配送メールを送信するかどうか
|
|
37
37
|
*/
|
|
@@ -111,7 +111,7 @@ class PlaceOrderTransactionService extends service_1.Service {
|
|
|
111
111
|
* 取引確定(レスポンス最小化)
|
|
112
112
|
*/
|
|
113
113
|
async confirmWithMiminalResponse(params) {
|
|
114
|
-
const { id, potentialActions,
|
|
114
|
+
const { id, potentialActions, sendEmailMessage, email } = params;
|
|
115
115
|
const { auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes } = this.options;
|
|
116
116
|
const chevreTxn = await (0, index_1.loadChevreTxn)({ auth, endpoint, disableAutoRetry });
|
|
117
117
|
const placeOrderService = await chevreTxn.createPlaceOrderTransactionInstance({
|
|
@@ -124,7 +124,7 @@ class PlaceOrderTransactionService extends service_1.Service {
|
|
|
124
124
|
]
|
|
125
125
|
});
|
|
126
126
|
return placeOrderService.confirm({
|
|
127
|
-
id, potentialActions,
|
|
127
|
+
id, potentialActions, sendEmailMessage, email,
|
|
128
128
|
expectsMinimalResponse: true
|
|
129
129
|
});
|
|
130
130
|
}
|