@cinerino/sdk 16.3.0-alpha.4 → 16.3.0-alpha.6

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.
@@ -50,14 +50,9 @@ export interface IMinimalAuthorizeEventServiceResult {
50
50
  }
51
51
  export interface IOptionalConfirmResult {
52
52
  code?: string;
53
- eventId?: string;
54
53
  reservationIds?: string[];
55
54
  }
56
- export type IOrderAsConfirmResult = Pick<factory.order.IOrder, 'confirmationNumber' | 'orderNumber'> & {
57
- customer: {
58
- telephone: string;
59
- };
60
- };
55
+ export type IOrderAsConfirmResult = Pick<factory.order.IOrder, 'confirmationNumber' | 'orderNumber'> & {};
61
56
  export type IConfirmResult4tttsPOS = {
62
57
  order: IOrderAsConfirmResult;
63
58
  } & IOptionalConfirmResult;
@@ -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' | 'result'> & {
34
+ confirmWithMiminalResponse(params: Pick<factory.transaction.placeOrder.IConfirmParams, 'id'> & {
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, result, sendEmailMessage, email } = params;
114
+ const { id, 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, result, sendEmailMessage, email,
127
+ id, sendEmailMessage, email,
128
128
  expectsMinimalResponse: true
129
129
  });
130
130
  }