@final-commerce/command-frame 0.10.0 → 0.11.0-preprod.1
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/CommonTypes.d.ts +4 -1
- package/dist/actions/assign-order-user/action.d.ts +6 -0
- package/dist/actions/assign-order-user/action.js +8 -0
- package/dist/actions/assign-order-user/mock.d.ts +2 -0
- package/dist/actions/assign-order-user/mock.js +30 -0
- package/dist/actions/assign-order-user/types.d.ts +15 -0
- package/dist/actions/assign-order-user/types.js +1 -0
- package/dist/actions/get-current-cart/mock.js +3 -0
- package/dist/actions/get-current-cart/types.d.ts +6 -0
- package/dist/actions/get-moto-config/action.d.ts +6 -0
- package/dist/actions/get-moto-config/action.js +8 -0
- package/dist/actions/get-moto-config/mock.d.ts +7 -0
- package/dist/actions/get-moto-config/mock.js +9 -0
- package/dist/actions/get-moto-config/types.d.ts +34 -0
- package/dist/actions/get-moto-config/types.js +5 -0
- package/dist/actions/get-order-statuses/action.d.ts +6 -0
- package/dist/actions/get-order-statuses/action.js +8 -0
- package/dist/actions/get-order-statuses/mock.d.ts +2 -0
- package/dist/actions/get-order-statuses/mock.js +5 -0
- package/dist/actions/get-order-statuses/types.d.ts +8 -0
- package/dist/actions/get-order-statuses/types.js +1 -0
- package/dist/actions/get-orders/action.d.ts +1 -1
- package/dist/actions/get-orders/action.js +2 -2
- package/dist/actions/get-orders/mock.d.ts +1 -1
- package/dist/actions/get-orders/mock.js +74 -19
- package/dist/actions/get-orders/types.d.ts +33 -2
- package/dist/actions/record-external-payment/action.d.ts +6 -0
- package/dist/actions/record-external-payment/action.js +8 -0
- package/dist/actions/record-external-payment/mock.d.ts +2 -0
- package/dist/actions/record-external-payment/mock.js +36 -0
- package/dist/actions/record-external-payment/types.d.ts +37 -0
- package/dist/actions/record-external-payment/types.js +1 -0
- package/dist/actions/release-from-cart/action.d.ts +6 -0
- package/dist/actions/release-from-cart/action.js +8 -0
- package/dist/actions/release-from-cart/mock.d.ts +2 -0
- package/dist/actions/release-from-cart/mock.js +26 -0
- package/dist/actions/release-from-cart/types.d.ts +8 -0
- package/dist/actions/release-from-cart/types.js +1 -0
- package/dist/actions/resume-order/action.d.ts +6 -0
- package/dist/actions/resume-order/action.js +8 -0
- package/dist/actions/resume-order/mock.d.ts +2 -0
- package/dist/actions/resume-order/mock.js +55 -0
- package/dist/actions/resume-order/types.d.ts +17 -0
- package/dist/actions/resume-order/types.js +1 -0
- package/dist/actions/resume-parked-order/mock.d.ts +5 -0
- package/dist/actions/resume-parked-order/mock.js +25 -24
- package/dist/actions/set-order-metadata/action.d.ts +6 -0
- package/dist/actions/set-order-metadata/action.js +8 -0
- package/dist/actions/set-order-metadata/mock.d.ts +5 -0
- package/dist/actions/set-order-metadata/mock.js +38 -0
- package/dist/actions/set-order-metadata/types.d.ts +20 -0
- package/dist/actions/set-order-metadata/types.js +1 -0
- package/dist/actions/set-order-status/action.d.ts +6 -0
- package/dist/actions/set-order-status/action.js +8 -0
- package/dist/actions/set-order-status/mock.d.ts +3 -0
- package/dist/actions/set-order-status/mock.js +44 -0
- package/dist/actions/set-order-status/types.d.ts +25 -0
- package/dist/actions/set-order-status/types.js +1 -0
- package/dist/actions/set-order-type/action.d.ts +6 -0
- package/dist/actions/set-order-type/action.js +8 -0
- package/dist/actions/set-order-type/mock.d.ts +3 -0
- package/dist/actions/set-order-type/mock.js +27 -0
- package/dist/actions/set-order-type/types.d.ts +17 -0
- package/dist/actions/set-order-type/types.js +1 -0
- package/dist/actions/set-scheduled-for/action.d.ts +6 -0
- package/dist/actions/set-scheduled-for/action.js +8 -0
- package/dist/actions/set-scheduled-for/mock.d.ts +4 -0
- package/dist/actions/set-scheduled-for/mock.js +45 -0
- package/dist/actions/set-scheduled-for/types.d.ts +22 -0
- package/dist/actions/set-scheduled-for/types.js +1 -0
- package/dist/common-types/order-state.d.ts +20 -1
- package/dist/demo/database.d.ts +4 -0
- package/dist/demo/database.js +29 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +20 -0
- package/dist/projects/render/mocks.js +20 -0
- package/dist/projects/render/types.d.ts +11 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -45,9 +45,18 @@ export declare const command: {
|
|
|
45
45
|
readonly clearCart: import(".").ClearCart;
|
|
46
46
|
readonly parkOrder: import(".").ParkOrder;
|
|
47
47
|
readonly resumeParkedOrder: import(".").ResumeParkedOrder;
|
|
48
|
+
readonly resumeOrder: import(".").ResumeOrder;
|
|
49
|
+
readonly setOrderMetadata: import(".").SetOrderMetadata;
|
|
50
|
+
readonly assignOrderUser: import(".").AssignOrderUser;
|
|
51
|
+
readonly releaseFromCart: import(".").ReleaseFromCart;
|
|
52
|
+
readonly setOrderType: import(".").SetOrderType;
|
|
53
|
+
readonly setScheduledFor: import(".").SetScheduledFor;
|
|
54
|
+
readonly setOrderStatus: import(".").SetOrderStatus;
|
|
55
|
+
readonly getOrderStatuses: import(".").GetOrderStatuses;
|
|
48
56
|
readonly deleteParkedOrder: import(".").DeleteParkedOrder;
|
|
49
57
|
readonly voidOrder: import(".").VoidOrder;
|
|
50
58
|
readonly cashPayment: import(".").CashPayment;
|
|
59
|
+
readonly recordExternalPayment: import(".").RecordExternalPayment;
|
|
51
60
|
readonly getCashRoundingAmount: import(".").GetCashRoundingAmount;
|
|
52
61
|
readonly tapToPayPayment: import(".").TapToPayPayment;
|
|
53
62
|
readonly terminalPayment: import(".").TerminalPayment;
|
|
@@ -56,6 +65,7 @@ export declare const command: {
|
|
|
56
65
|
readonly integrationPayment: import(".").IntegrationPayment;
|
|
57
66
|
readonly createPaymentLink: import(".").CreatePaymentLink;
|
|
58
67
|
readonly chargeMoto: import(".").ChargeMoto;
|
|
68
|
+
readonly getMotoConfig: import(".").GetMotoConfig;
|
|
59
69
|
readonly addCustomerNote: import(".").AddCustomerNote;
|
|
60
70
|
readonly removeCustomerNote: import(".").RemoveCustomerNote;
|
|
61
71
|
readonly removeCustomerFromCart: import(".").RemoveCustomerFromCart;
|
|
@@ -193,9 +203,18 @@ export type { AddCartFee, AddCartFeeParams, AddCartFeeResponse } from './actions
|
|
|
193
203
|
export type { ClearCart, ClearCartResponse } from './actions/clear-cart/types';
|
|
194
204
|
export type { ParkOrder, ParkOrderResponse } from './actions/park-order/types';
|
|
195
205
|
export type { ResumeParkedOrder, ResumeParkedOrderParams, ResumeParkedOrderResponse, } from './actions/resume-parked-order/types';
|
|
206
|
+
export type { ResumeOrder, ResumeOrderParams, ResumeOrderResponse } from './actions/resume-order/types';
|
|
207
|
+
export type { SetOrderMetadata, SetOrderMetadataParams, SetOrderMetadataResponse, } from './actions/set-order-metadata/types';
|
|
208
|
+
export type { AssignOrderUser, AssignOrderUserParams, AssignOrderUserResponse, } from './actions/assign-order-user/types';
|
|
209
|
+
export type { ReleaseFromCart, ReleaseFromCartResponse } from './actions/release-from-cart/types';
|
|
210
|
+
export type { SetOrderType, SetOrderTypeParams, SetOrderTypeResponse } from './actions/set-order-type/types';
|
|
211
|
+
export type { SetScheduledFor, SetScheduledForParams, SetScheduledForResponse, } from './actions/set-scheduled-for/types';
|
|
212
|
+
export type { SetOrderStatus, SetOrderStatusParams, SetOrderStatusResponse } from './actions/set-order-status/types';
|
|
213
|
+
export type { GetOrderStatuses, GetOrderStatusesResponse } from './actions/get-order-statuses/types';
|
|
196
214
|
export type { DeleteParkedOrder, DeleteParkedOrderParams, DeleteParkedOrderResponse, } from './actions/delete-parked-order/types';
|
|
197
215
|
export type { VoidOrder, VoidOrderParams, VoidOrderResponse, VoidOrderOutcome } from './actions/void-order/types';
|
|
198
216
|
export type { CashPayment, CashPaymentParams, CashPaymentResponse } from './actions/cash-payment/types';
|
|
217
|
+
export type { RecordExternalPayment, RecordExternalPaymentParams, RecordExternalPaymentResponse, } from './actions/record-external-payment/types';
|
|
199
218
|
export type { GetCashRoundingAmount, GetCashRoundingAmountParams, GetCashRoundingAmountResponse, } from './actions/get-cash-rounding-amount/types';
|
|
200
219
|
export type { TapToPayPayment, TapToPayPaymentParams, TapToPayPaymentResponse, } from './actions/tap-to-pay-payment/types';
|
|
201
220
|
export type { TerminalPayment, TerminalPaymentParams, TerminalPaymentResponse } from './actions/terminal-payment/types';
|
|
@@ -204,6 +223,7 @@ export type { RedeemPayment, RedeemPaymentParams, RedeemPaymentResponse } from '
|
|
|
204
223
|
export type { IntegrationPayment, IntegrationPaymentParams, IntegrationPaymentResponse, IntegrationEmvData, } from './actions/integration-payment/types';
|
|
205
224
|
export type { CreatePaymentLink, CreatePaymentLinkParams, CreatePaymentLinkResponse, } from './actions/create-payment-link/types';
|
|
206
225
|
export type { ChargeMoto, ChargeMotoParams, ChargeMotoResponse, ChargeMotoCardFields, } from './actions/charge-moto/types';
|
|
226
|
+
export type { GetMotoConfig, GetMotoConfigResponse, MotoUnavailableReason } from './actions/get-moto-config/types';
|
|
207
227
|
export type { AddCustomerNote, AddCustomerNoteParams, AddCustomerNoteResponse, } from './actions/add-customer-note/types';
|
|
208
228
|
export type { RemoveCustomerNote, RemoveCustomerNoteParams, RemoveCustomerNoteResponse, } from './actions/remove-customer-note/types';
|
|
209
229
|
export type { RemoveCustomerFromCart, RemoveCustomerFromCartResponse } from './actions/remove-customer-from-cart/types';
|
package/dist/index.js
CHANGED
|
@@ -45,9 +45,18 @@ import { getCurrentCart } from './actions/get-current-cart/action';
|
|
|
45
45
|
import { clearCart } from './actions/clear-cart/action';
|
|
46
46
|
import { parkOrder } from './actions/park-order/action';
|
|
47
47
|
import { resumeParkedOrder } from './actions/resume-parked-order/action';
|
|
48
|
+
import { resumeOrder } from './actions/resume-order/action';
|
|
49
|
+
import { setOrderMetadata } from './actions/set-order-metadata/action';
|
|
50
|
+
import { assignOrderUser } from './actions/assign-order-user/action';
|
|
51
|
+
import { releaseFromCart } from './actions/release-from-cart/action';
|
|
52
|
+
import { setOrderType } from './actions/set-order-type/action';
|
|
53
|
+
import { setScheduledFor } from './actions/set-scheduled-for/action';
|
|
54
|
+
import { setOrderStatus } from './actions/set-order-status/action';
|
|
55
|
+
import { getOrderStatuses } from './actions/get-order-statuses/action';
|
|
48
56
|
import { deleteParkedOrder } from './actions/delete-parked-order/action';
|
|
49
57
|
import { voidOrder } from './actions/void-order/action';
|
|
50
58
|
import { cashPayment } from './actions/cash-payment/action';
|
|
59
|
+
import { recordExternalPayment } from './actions/record-external-payment/action';
|
|
51
60
|
import { getCashRoundingAmount } from './actions/get-cash-rounding-amount/action';
|
|
52
61
|
import { tapToPayPayment } from './actions/tap-to-pay-payment/action';
|
|
53
62
|
import { terminalPayment } from './actions/terminal-payment/action';
|
|
@@ -56,6 +65,7 @@ import { redeemPayment } from './actions/redeem-payment/action';
|
|
|
56
65
|
import { integrationPayment } from './actions/integration-payment/action';
|
|
57
66
|
import { createPaymentLink } from './actions/create-payment-link/action';
|
|
58
67
|
import { chargeMoto } from './actions/charge-moto/action';
|
|
68
|
+
import { getMotoConfig } from './actions/get-moto-config/action';
|
|
59
69
|
// Customer Actions
|
|
60
70
|
import { addCustomerNote } from './actions/add-customer-note/action';
|
|
61
71
|
import { removeCustomerNote } from './actions/remove-customer-note/action';
|
|
@@ -195,9 +205,18 @@ export const command = {
|
|
|
195
205
|
clearCart,
|
|
196
206
|
parkOrder,
|
|
197
207
|
resumeParkedOrder,
|
|
208
|
+
resumeOrder,
|
|
209
|
+
setOrderMetadata,
|
|
210
|
+
assignOrderUser,
|
|
211
|
+
releaseFromCart,
|
|
212
|
+
setOrderType,
|
|
213
|
+
setScheduledFor,
|
|
214
|
+
setOrderStatus,
|
|
215
|
+
getOrderStatuses,
|
|
198
216
|
deleteParkedOrder,
|
|
199
217
|
voidOrder,
|
|
200
218
|
cashPayment,
|
|
219
|
+
recordExternalPayment,
|
|
201
220
|
getCashRoundingAmount,
|
|
202
221
|
tapToPayPayment,
|
|
203
222
|
terminalPayment,
|
|
@@ -206,6 +225,7 @@ export const command = {
|
|
|
206
225
|
integrationPayment,
|
|
207
226
|
createPaymentLink,
|
|
208
227
|
chargeMoto,
|
|
228
|
+
getMotoConfig,
|
|
209
229
|
// Customer Actions
|
|
210
230
|
addCustomerNote,
|
|
211
231
|
removeCustomerNote,
|
|
@@ -34,9 +34,11 @@ import { mockAssignCustomer } from '../../actions/assign-customer/mock';
|
|
|
34
34
|
import { mockAuthenticateUser } from '../../actions/authenticate-user/mock';
|
|
35
35
|
import { mockCalculateRefundTotal } from '../../actions/calculate-refund-total/mock';
|
|
36
36
|
import { mockCashPayment } from '../../actions/cash-payment/mock';
|
|
37
|
+
import { mockRecordExternalPayment } from '../../actions/record-external-payment/mock';
|
|
37
38
|
import { mockGetCashRoundingAmount } from '../../actions/get-cash-rounding-amount/mock';
|
|
38
39
|
import { mockCreatePaymentLink } from '../../actions/create-payment-link/mock';
|
|
39
40
|
import { mockChargeMoto } from '../../actions/charge-moto/mock';
|
|
41
|
+
import { mockGetMotoConfig } from '../../actions/get-moto-config/mock';
|
|
40
42
|
import { mockGetTimeClockStatus } from '../../actions/get-time-clock-status/mock';
|
|
41
43
|
import { mockClearCart } from '../../actions/clear-cart/mock';
|
|
42
44
|
import { mockDeleteParkedOrder } from '../../actions/delete-parked-order/mock';
|
|
@@ -70,6 +72,14 @@ import { mockCheckPermission } from '../../actions/check-permission/mock';
|
|
|
70
72
|
import { mockRemoveCustomerFromCart } from '../../actions/remove-customer-from-cart/mock';
|
|
71
73
|
import { mockResetRefundDetails } from '../../actions/reset-refund-details/mock';
|
|
72
74
|
import { mockResumeParkedOrder } from '../../actions/resume-parked-order/mock';
|
|
75
|
+
import { mockResumeOrder } from '../../actions/resume-order/mock';
|
|
76
|
+
import { mockSetOrderMetadata } from '../../actions/set-order-metadata/mock';
|
|
77
|
+
import { mockAssignOrderUser } from '../../actions/assign-order-user/mock';
|
|
78
|
+
import { mockReleaseFromCart } from '../../actions/release-from-cart/mock';
|
|
79
|
+
import { mockSetOrderType } from '../../actions/set-order-type/mock';
|
|
80
|
+
import { mockSetScheduledFor } from '../../actions/set-scheduled-for/mock';
|
|
81
|
+
import { mockSetOrderStatus } from '../../actions/set-order-status/mock';
|
|
82
|
+
import { mockGetOrderStatuses } from '../../actions/get-order-statuses/mock';
|
|
73
83
|
import { mockSelectAllRefundItems } from '../../actions/select-all-refund-items/mock';
|
|
74
84
|
import { mockSetRefundStockAction } from '../../actions/set-refund-stock-action/mock';
|
|
75
85
|
import { mockShowConfirmation } from '../../actions/show-confirmation/mock';
|
|
@@ -144,9 +154,11 @@ export const RENDER_MOCKS = {
|
|
|
144
154
|
authenticateUser: mockAuthenticateUser,
|
|
145
155
|
calculateRefundTotal: mockCalculateRefundTotal,
|
|
146
156
|
cashPayment: mockCashPayment,
|
|
157
|
+
recordExternalPayment: mockRecordExternalPayment,
|
|
147
158
|
getCashRoundingAmount: mockGetCashRoundingAmount,
|
|
148
159
|
createPaymentLink: mockCreatePaymentLink,
|
|
149
160
|
chargeMoto: mockChargeMoto,
|
|
161
|
+
getMotoConfig: mockGetMotoConfig,
|
|
150
162
|
clearCart: mockClearCart,
|
|
151
163
|
deleteParkedOrder: mockDeleteParkedOrder,
|
|
152
164
|
voidOrder: mockVoidOrder,
|
|
@@ -180,6 +192,14 @@ export const RENDER_MOCKS = {
|
|
|
180
192
|
removeCartDiscount: mockRemoveCartDiscount,
|
|
181
193
|
resetRefundDetails: mockResetRefundDetails,
|
|
182
194
|
resumeParkedOrder: mockResumeParkedOrder,
|
|
195
|
+
resumeOrder: mockResumeOrder,
|
|
196
|
+
setOrderMetadata: mockSetOrderMetadata,
|
|
197
|
+
assignOrderUser: mockAssignOrderUser,
|
|
198
|
+
releaseFromCart: mockReleaseFromCart,
|
|
199
|
+
setOrderType: mockSetOrderType,
|
|
200
|
+
setScheduledFor: mockSetScheduledFor,
|
|
201
|
+
setOrderStatus: mockSetOrderStatus,
|
|
202
|
+
getOrderStatuses: mockGetOrderStatuses,
|
|
183
203
|
selectAllRefundItems: mockSelectAllRefundItems,
|
|
184
204
|
setRefundStockAction: mockSetRefundStockAction,
|
|
185
205
|
showConfirmation: mockShowConfirmation,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExampleFunction, GetProducts, AddCustomSale, EditCustomSale, GetCustomers, AssignCustomer, AddCustomer, EditCustomer, GetCategories, GetOrders, GetRefunds, GetTaxTables, GetCustomStockActions, AddProductDiscount, AddProductToCart, RemoveProductFromCart, UpdateCartItemQuantity, AddCartDiscount, GetContext, GetFinalContext, AddProductNote, AddProductFee, GetProductModifierSelections, GetCompositePrice, GetCompositeAvailability, SetProductModifierSelections, SetActiveProductFee, SetActiveProductDiscount, GetActiveProduct, SetActiveProduct, AdjustInventory, SetVariantUnavailable, AddOrderNote, AddCartFee, ClearCart, ParkOrder, ResumeParkedOrder, DeleteParkedOrder, VoidOrder, InitiateRefund, CashPayment, GetCashRoundingAmount, TapToPayPayment, TerminalPayment, ExtensionPayment, RedeemPayment, AddNonRevenueItem, AddCustomerNote, RemoveCustomerNote, RemoveCustomerFromCart, GoToStationHome, OpenCashDrawer, ShowNotification, ShowConfirmation, AuthenticateUser, PartialPayment, SwitchUser, SetRefundStockAction, SelectAllRefundItems, ResetRefundDetails, CalculateRefundTotal, GetRemainingRefundableQuantities, ProcessPartialRefund, RedeemRefund, GetRefundPlan, CheckPermission, GetCurrentCart, Print, SetActiveOrder, GetCustomTables, GetCustomTableData, UpsertCustomTableData, DeleteCustomTableData, GetCustomExtensions, GetCurrentCompanyCustomExtensions, GetCustomExtensionCustomTables, GetCustomTableFields, GetSecretsKeys, GetSecretVal, SetSecretVal, GetUsers, GetRoles, RemoveCartDiscount, GetActiveOrder, GetActiveCustomer, SetActiveCustomer, GetActiveOutlet, GetActiveStation, GetActiveSession, GetActiveUser, SetActiveUser, SetActiveRefund, RemoveProductDiscount, RemoveProductFee, RemoveProductNote, RemoveCartFee, RemoveOrderNote, RemoveCustomSale, RemoveNonRevenueItem, CanTransition, GetAvailableTransitions, ApplyTransition, IntegrationPayment, GetSmartGridLayout, SaveSmartGridLayout, SendEmail, SendSms, GetBookingResources, GetBookingAvailability, GetBookings, HoldBooking, AddBookingToCart, RemoveBookingFromCart, CancelBooking, CreatePaymentLink, ChargeMoto, GetTimeClockStatus } from '../../index';
|
|
1
|
+
import type { ExampleFunction, GetProducts, AddCustomSale, EditCustomSale, GetCustomers, AssignCustomer, AddCustomer, EditCustomer, GetCategories, GetOrders, GetRefunds, GetTaxTables, GetCustomStockActions, AddProductDiscount, AddProductToCart, RemoveProductFromCart, UpdateCartItemQuantity, AddCartDiscount, GetContext, GetFinalContext, AddProductNote, AddProductFee, GetProductModifierSelections, GetCompositePrice, GetCompositeAvailability, SetProductModifierSelections, SetActiveProductFee, SetActiveProductDiscount, GetActiveProduct, SetActiveProduct, AdjustInventory, SetVariantUnavailable, AddOrderNote, AddCartFee, ClearCart, ParkOrder, ResumeParkedOrder, ResumeOrder, SetOrderMetadata, AssignOrderUser, ReleaseFromCart, SetOrderType, SetScheduledFor, SetOrderStatus, GetOrderStatuses, DeleteParkedOrder, VoidOrder, InitiateRefund, CashPayment, RecordExternalPayment, GetCashRoundingAmount, TapToPayPayment, TerminalPayment, ExtensionPayment, RedeemPayment, AddNonRevenueItem, AddCustomerNote, RemoveCustomerNote, RemoveCustomerFromCart, GoToStationHome, OpenCashDrawer, ShowNotification, ShowConfirmation, AuthenticateUser, PartialPayment, SwitchUser, SetRefundStockAction, SelectAllRefundItems, ResetRefundDetails, CalculateRefundTotal, GetRemainingRefundableQuantities, ProcessPartialRefund, RedeemRefund, GetRefundPlan, CheckPermission, GetCurrentCart, Print, SetActiveOrder, GetCustomTables, GetCustomTableData, UpsertCustomTableData, DeleteCustomTableData, GetCustomExtensions, GetCurrentCompanyCustomExtensions, GetCustomExtensionCustomTables, GetCustomTableFields, GetSecretsKeys, GetSecretVal, SetSecretVal, GetUsers, GetRoles, RemoveCartDiscount, GetActiveOrder, GetActiveCustomer, SetActiveCustomer, GetActiveOutlet, GetActiveStation, GetActiveSession, GetActiveUser, SetActiveUser, SetActiveRefund, RemoveProductDiscount, RemoveProductFee, RemoveProductNote, RemoveCartFee, RemoveOrderNote, RemoveCustomSale, RemoveNonRevenueItem, CanTransition, GetAvailableTransitions, ApplyTransition, IntegrationPayment, GetSmartGridLayout, SaveSmartGridLayout, SendEmail, SendSms, GetBookingResources, GetBookingAvailability, GetBookings, HoldBooking, AddBookingToCart, RemoveBookingFromCart, CancelBooking, CreatePaymentLink, ChargeMoto, GetMotoConfig, GetTimeClockStatus } from '../../index';
|
|
2
2
|
export interface RenderProviderActions {
|
|
3
3
|
exampleFunction: ExampleFunction;
|
|
4
4
|
getProducts: GetProducts;
|
|
@@ -44,10 +44,19 @@ export interface RenderProviderActions {
|
|
|
44
44
|
clearCart: ClearCart;
|
|
45
45
|
parkOrder: ParkOrder;
|
|
46
46
|
resumeParkedOrder: ResumeParkedOrder;
|
|
47
|
+
resumeOrder: ResumeOrder;
|
|
48
|
+
setOrderMetadata: SetOrderMetadata;
|
|
49
|
+
assignOrderUser: AssignOrderUser;
|
|
50
|
+
releaseFromCart: ReleaseFromCart;
|
|
51
|
+
setOrderType: SetOrderType;
|
|
52
|
+
setScheduledFor: SetScheduledFor;
|
|
53
|
+
setOrderStatus: SetOrderStatus;
|
|
54
|
+
getOrderStatuses: GetOrderStatuses;
|
|
47
55
|
deleteParkedOrder: DeleteParkedOrder;
|
|
48
56
|
voidOrder: VoidOrder;
|
|
49
57
|
initiateRefund: InitiateRefund;
|
|
50
58
|
cashPayment: CashPayment;
|
|
59
|
+
recordExternalPayment: RecordExternalPayment;
|
|
51
60
|
getCashRoundingAmount: GetCashRoundingAmount;
|
|
52
61
|
tapToPayPayment: TapToPayPayment;
|
|
53
62
|
terminalPayment: TerminalPayment;
|
|
@@ -56,6 +65,7 @@ export interface RenderProviderActions {
|
|
|
56
65
|
integrationPayment: IntegrationPayment;
|
|
57
66
|
createPaymentLink: CreatePaymentLink;
|
|
58
67
|
chargeMoto: ChargeMoto;
|
|
68
|
+
getMotoConfig: GetMotoConfig;
|
|
59
69
|
addNonRevenueItem: AddNonRevenueItem;
|
|
60
70
|
addCustomerNote: AddCustomerNote;
|
|
61
71
|
removeCustomerNote: RemoveCustomerNote;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@final-commerce/command-frame",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-preprod.1",
|
|
4
4
|
"description": "Commands Frame library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"ignoreBranchesMissingTickets": true
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@final-commerce/common": "2.
|
|
60
|
+
"@final-commerce/common": "2.7.0-preprod.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@commitlint/cli": "^19.0.0",
|