@munchi_oy/core 1.9.112 → 1.9.114
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/generated/api.d.ts +369 -0
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +408 -0
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -10053,6 +10053,24 @@ export interface MunchiPaySessionDto {
|
|
|
10053
10053
|
* @memberof MunchiPaySessionDto
|
|
10054
10054
|
*/
|
|
10055
10055
|
'metadata'?: object;
|
|
10056
|
+
/**
|
|
10057
|
+
* Total amount refunded against this sale, in cents. Always 0 for non-SALE purpose sessions.
|
|
10058
|
+
* @type {number}
|
|
10059
|
+
* @memberof MunchiPaySessionDto
|
|
10060
|
+
*/
|
|
10061
|
+
'refundedAmount': number;
|
|
10062
|
+
/**
|
|
10063
|
+
* True when refundedAmount >= amount (fully refunded).
|
|
10064
|
+
* @type {boolean}
|
|
10065
|
+
* @memberof MunchiPaySessionDto
|
|
10066
|
+
*/
|
|
10067
|
+
'isFullyRefunded': boolean;
|
|
10068
|
+
/**
|
|
10069
|
+
* True when 0 < refundedAmount < amount (partially refunded).
|
|
10070
|
+
* @type {boolean}
|
|
10071
|
+
* @memberof MunchiPaySessionDto
|
|
10072
|
+
*/
|
|
10073
|
+
'isPartiallyRefunded': boolean;
|
|
10056
10074
|
/**
|
|
10057
10075
|
*
|
|
10058
10076
|
* @type {string}
|
|
@@ -12733,6 +12751,315 @@ export interface PairPayTerminalResponseDto {
|
|
|
12733
12751
|
*/
|
|
12734
12752
|
'terminalName'?: string | null;
|
|
12735
12753
|
}
|
|
12754
|
+
/**
|
|
12755
|
+
*
|
|
12756
|
+
* @export
|
|
12757
|
+
* @interface ParkPosOrderDto
|
|
12758
|
+
*/
|
|
12759
|
+
export interface ParkPosOrderDto {
|
|
12760
|
+
/**
|
|
12761
|
+
* Ordering business id the POS order belongs to.
|
|
12762
|
+
* @type {number}
|
|
12763
|
+
* @memberof ParkPosOrderDto
|
|
12764
|
+
*/
|
|
12765
|
+
'businessId': number;
|
|
12766
|
+
/**
|
|
12767
|
+
*
|
|
12768
|
+
* @type {ParkPosOrderDtoOrder}
|
|
12769
|
+
* @memberof ParkPosOrderDto
|
|
12770
|
+
*/
|
|
12771
|
+
'order': ParkPosOrderDtoOrder;
|
|
12772
|
+
/**
|
|
12773
|
+
* Line items cancelled by this operation only, never the accumulated history. A line already dispatched is cancelled on the order and revised on every ticket it reached; a line the request does not name is untouched. Absent on an ordinary park.
|
|
12774
|
+
* @type {Array<string>}
|
|
12775
|
+
* @memberof ParkPosOrderDto
|
|
12776
|
+
*/
|
|
12777
|
+
'cancelledLineItemIds'?: Array<string>;
|
|
12778
|
+
}
|
|
12779
|
+
/**
|
|
12780
|
+
* POS order snapshot to park. Server-owned fields (payments, refunds, loyalty, completion and routing outcomes) are ignored, and a line the server has already dispatched keeps its server state.
|
|
12781
|
+
* @export
|
|
12782
|
+
* @interface ParkPosOrderDtoOrder
|
|
12783
|
+
*/
|
|
12784
|
+
export interface ParkPosOrderDtoOrder {
|
|
12785
|
+
/**
|
|
12786
|
+
* Set on tickets whose lines all resolve to sendToOm=false. The ticket stays in_progress so the kitchen screen still receives it; only Order Manager skips it. Absent on documents written before this field existed, which is treated as not hidden.
|
|
12787
|
+
* @type {boolean}
|
|
12788
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12789
|
+
*/
|
|
12790
|
+
'hiddenFromOrderManager'?: boolean;
|
|
12791
|
+
/**
|
|
12792
|
+
* True when this fire produced a kitchen ticket, so the kitchen screen owns marking it ready. False when no kitchen ticket exists and a manager must mark it ready. Absent on documents written before this field existed, where clients fall back to the business-level KDS integration check.
|
|
12793
|
+
* @type {boolean}
|
|
12794
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12795
|
+
*/
|
|
12796
|
+
'readyControlledByKds'?: boolean;
|
|
12797
|
+
/**
|
|
12798
|
+
*
|
|
12799
|
+
* @type {string}
|
|
12800
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12801
|
+
*/
|
|
12802
|
+
'id': string;
|
|
12803
|
+
/**
|
|
12804
|
+
*
|
|
12805
|
+
* @type {string}
|
|
12806
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12807
|
+
*/
|
|
12808
|
+
'businessId': string;
|
|
12809
|
+
/**
|
|
12810
|
+
*
|
|
12811
|
+
* @type {ProviderEnum}
|
|
12812
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12813
|
+
*/
|
|
12814
|
+
'provider': ProviderEnum;
|
|
12815
|
+
/**
|
|
12816
|
+
*
|
|
12817
|
+
* @type {CurrencyCode}
|
|
12818
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12819
|
+
*/
|
|
12820
|
+
'currency': CurrencyCode;
|
|
12821
|
+
/**
|
|
12822
|
+
*
|
|
12823
|
+
* @type {PosBusinessDto}
|
|
12824
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12825
|
+
*/
|
|
12826
|
+
'business': PosBusinessDto;
|
|
12827
|
+
/**
|
|
12828
|
+
*
|
|
12829
|
+
* @type {string}
|
|
12830
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12831
|
+
*/
|
|
12832
|
+
'createdAt': string;
|
|
12833
|
+
/**
|
|
12834
|
+
*
|
|
12835
|
+
* @type {OrderStatusEnum}
|
|
12836
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12837
|
+
*/
|
|
12838
|
+
'status': OrderStatusEnum;
|
|
12839
|
+
/**
|
|
12840
|
+
*
|
|
12841
|
+
* @type {string}
|
|
12842
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12843
|
+
*/
|
|
12844
|
+
'updatedAt': string;
|
|
12845
|
+
/**
|
|
12846
|
+
*
|
|
12847
|
+
* @type {string}
|
|
12848
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12849
|
+
*/
|
|
12850
|
+
'completedAt'?: string;
|
|
12851
|
+
/**
|
|
12852
|
+
*
|
|
12853
|
+
* @type {string}
|
|
12854
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12855
|
+
*/
|
|
12856
|
+
'orderNumber': string;
|
|
12857
|
+
/**
|
|
12858
|
+
*
|
|
12859
|
+
* @type {CheckoutModelEnum}
|
|
12860
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12861
|
+
*/
|
|
12862
|
+
'checkoutModel': CheckoutModelEnum;
|
|
12863
|
+
/**
|
|
12864
|
+
*
|
|
12865
|
+
* @type {OrderTypePOS}
|
|
12866
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12867
|
+
*/
|
|
12868
|
+
'orderType': OrderTypePOS;
|
|
12869
|
+
/**
|
|
12870
|
+
*
|
|
12871
|
+
* @type {string}
|
|
12872
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12873
|
+
*/
|
|
12874
|
+
'spotNumber': string | null;
|
|
12875
|
+
/**
|
|
12876
|
+
* ID of the floor plan dining table linked to this order
|
|
12877
|
+
* @type {string}
|
|
12878
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12879
|
+
*/
|
|
12880
|
+
'tableId'?: string | null;
|
|
12881
|
+
/**
|
|
12882
|
+
*
|
|
12883
|
+
* @type {string}
|
|
12884
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12885
|
+
*/
|
|
12886
|
+
'comments': string | null;
|
|
12887
|
+
/**
|
|
12888
|
+
*
|
|
12889
|
+
* @type {PosOrderDtoTableService}
|
|
12890
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12891
|
+
*/
|
|
12892
|
+
'tableService'?: PosOrderDtoTableService | null;
|
|
12893
|
+
/**
|
|
12894
|
+
*
|
|
12895
|
+
* @type {PosOrderDtoEqualSplitState}
|
|
12896
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12897
|
+
*/
|
|
12898
|
+
'equalSplitState'?: PosOrderDtoEqualSplitState | null;
|
|
12899
|
+
/**
|
|
12900
|
+
* Id of the staff in shift
|
|
12901
|
+
* @type {string}
|
|
12902
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12903
|
+
*/
|
|
12904
|
+
'staffId': string | null;
|
|
12905
|
+
/**
|
|
12906
|
+
* Id of the shift
|
|
12907
|
+
* @type {string}
|
|
12908
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12909
|
+
*/
|
|
12910
|
+
'shiftId': string | null;
|
|
12911
|
+
/**
|
|
12912
|
+
*
|
|
12913
|
+
* @type {OrderRefundStatus}
|
|
12914
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12915
|
+
*/
|
|
12916
|
+
'orderRefundStatus': OrderRefundStatus;
|
|
12917
|
+
/**
|
|
12918
|
+
*
|
|
12919
|
+
* @type {LocatorType}
|
|
12920
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12921
|
+
*/
|
|
12922
|
+
'locatorType': LocatorType;
|
|
12923
|
+
/**
|
|
12924
|
+
*
|
|
12925
|
+
* @type {PosOrderPriceDto}
|
|
12926
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12927
|
+
*/
|
|
12928
|
+
'basketPrice': PosOrderPriceDto;
|
|
12929
|
+
/**
|
|
12930
|
+
*
|
|
12931
|
+
* @type {Array<PosOrderItemDto>}
|
|
12932
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12933
|
+
*/
|
|
12934
|
+
'items': Array<PosOrderItemDto>;
|
|
12935
|
+
/**
|
|
12936
|
+
*
|
|
12937
|
+
* @type {Array<PosDiscountDto>}
|
|
12938
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12939
|
+
*/
|
|
12940
|
+
'discounts': Array<PosDiscountDto>;
|
|
12941
|
+
/**
|
|
12942
|
+
*
|
|
12943
|
+
* @type {PosCustomerDto}
|
|
12944
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12945
|
+
*/
|
|
12946
|
+
'customer': PosCustomerDto | null;
|
|
12947
|
+
/**
|
|
12948
|
+
*
|
|
12949
|
+
* @type {Array<TransactionDto>}
|
|
12950
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12951
|
+
*/
|
|
12952
|
+
'paymentEvents': Array<TransactionDto>;
|
|
12953
|
+
/**
|
|
12954
|
+
*
|
|
12955
|
+
* @type {Array<PaymentRefundDto>}
|
|
12956
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12957
|
+
*/
|
|
12958
|
+
'refunds'?: Array<PaymentRefundDto>;
|
|
12959
|
+
/**
|
|
12960
|
+
* Data version code
|
|
12961
|
+
* @type {string}
|
|
12962
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12963
|
+
*/
|
|
12964
|
+
'version': string;
|
|
12965
|
+
/**
|
|
12966
|
+
*
|
|
12967
|
+
* @type {OrderFormat}
|
|
12968
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12969
|
+
*/
|
|
12970
|
+
'orderFormat'?: OrderFormat;
|
|
12971
|
+
/**
|
|
12972
|
+
* The ID of the loyalty program active during this order.
|
|
12973
|
+
* @type {string}
|
|
12974
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12975
|
+
*/
|
|
12976
|
+
'loyaltyProgramId': string | null;
|
|
12977
|
+
/**
|
|
12978
|
+
* An array of loyalty transaction IDs related to this order.
|
|
12979
|
+
* @type {Array<string>}
|
|
12980
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12981
|
+
*/
|
|
12982
|
+
'loyaltyTransactionIds': Array<string>;
|
|
12983
|
+
/**
|
|
12984
|
+
*
|
|
12985
|
+
* @type {PosOrderDtoTaxSummary}
|
|
12986
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12987
|
+
*/
|
|
12988
|
+
'taxSummary'?: PosOrderDtoTaxSummary;
|
|
12989
|
+
/**
|
|
12990
|
+
* Name of staff member who created the order
|
|
12991
|
+
* @type {string}
|
|
12992
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12993
|
+
*/
|
|
12994
|
+
'staffName'?: string | null;
|
|
12995
|
+
/**
|
|
12996
|
+
*
|
|
12997
|
+
* @type {PosOrderDtoInvoiceCompany}
|
|
12998
|
+
* @memberof ParkPosOrderDtoOrder
|
|
12999
|
+
*/
|
|
13000
|
+
'invoiceCompany'?: PosOrderDtoInvoiceCompany | null;
|
|
13001
|
+
/**
|
|
13002
|
+
*
|
|
13003
|
+
* @type {object}
|
|
13004
|
+
* @memberof ParkPosOrderDtoOrder
|
|
13005
|
+
*/
|
|
13006
|
+
'lastPaymentError'?: object;
|
|
13007
|
+
/**
|
|
13008
|
+
*
|
|
13009
|
+
* @type {Array<OrderFeeDto>}
|
|
13010
|
+
* @memberof ParkPosOrderDtoOrder
|
|
13011
|
+
*/
|
|
13012
|
+
'fees'?: Array<OrderFeeDto> | null;
|
|
13013
|
+
/**
|
|
13014
|
+
* Loyalty user ID associated with this order
|
|
13015
|
+
* @type {number}
|
|
13016
|
+
* @memberof ParkPosOrderDtoOrder
|
|
13017
|
+
*/
|
|
13018
|
+
'targetUserId'?: number;
|
|
13019
|
+
/**
|
|
13020
|
+
* ID of the table group this order belongs to
|
|
13021
|
+
* @type {string}
|
|
13022
|
+
* @memberof ParkPosOrderDtoOrder
|
|
13023
|
+
*/
|
|
13024
|
+
'tableGroupId'?: string | null;
|
|
13025
|
+
}
|
|
13026
|
+
/**
|
|
13027
|
+
*
|
|
13028
|
+
* @export
|
|
13029
|
+
* @interface ParkPosOrderResponseDto
|
|
13030
|
+
*/
|
|
13031
|
+
export interface ParkPosOrderResponseDto {
|
|
13032
|
+
/**
|
|
13033
|
+
*
|
|
13034
|
+
* @type {string}
|
|
13035
|
+
* @memberof ParkPosOrderResponseDto
|
|
13036
|
+
*/
|
|
13037
|
+
'orderId': string;
|
|
13038
|
+
/**
|
|
13039
|
+
*
|
|
13040
|
+
* @type {object}
|
|
13041
|
+
* @memberof ParkPosOrderResponseDto
|
|
13042
|
+
*/
|
|
13043
|
+
'ticketId': object | null;
|
|
13044
|
+
/**
|
|
13045
|
+
*
|
|
13046
|
+
* @type {object}
|
|
13047
|
+
* @memberof ParkPosOrderResponseDto
|
|
13048
|
+
*/
|
|
13049
|
+
'ticketOrderNumber': object | null;
|
|
13050
|
+
/**
|
|
13051
|
+
* Line items placed on a ticket by this call.
|
|
13052
|
+
* @type {number}
|
|
13053
|
+
* @memberof ParkPosOrderResponseDto
|
|
13054
|
+
*/
|
|
13055
|
+
'dispatchedLineItems': number;
|
|
13056
|
+
/**
|
|
13057
|
+
* Line items left on the order because they are on hold.
|
|
13058
|
+
* @type {number}
|
|
13059
|
+
* @memberof ParkPosOrderResponseDto
|
|
13060
|
+
*/
|
|
13061
|
+
'heldLineItems': number;
|
|
13062
|
+
}
|
|
12736
13063
|
/**
|
|
12737
13064
|
*
|
|
12738
13065
|
* @export
|
|
@@ -34165,6 +34492,14 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
34165
34492
|
* @throws {RequiredError}
|
|
34166
34493
|
*/
|
|
34167
34494
|
markOrderAsReady: (readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34495
|
+
/**
|
|
34496
|
+
* Persists the order snapshot, resolves the dispatch policy for every line once, and tickets the lines that have not been fired yet. Held lines stay on the order and are neither ticketed, printed nor sent to the kitchen screen. Lines already dispatched or already on a ticket keep their server state, so retrying the same park creates no second ticket. An order previously ticketed by the legacy path is accepted: its existing tickets are left untouched and count as settled work. A request may also name the lines this operation cancelled, which the same transaction cancels on the order and revises on every ticket that already carried them.
|
|
34497
|
+
* @summary Park a POS order on the event-v1 path
|
|
34498
|
+
* @param {ParkPosOrderDto} parkPosOrderDto
|
|
34499
|
+
* @param {*} [options] Override http request option.
|
|
34500
|
+
* @throws {RequiredError}
|
|
34501
|
+
*/
|
|
34502
|
+
parkPosOrderV5: (parkPosOrderDto: ParkPosOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34168
34503
|
/**
|
|
34169
34504
|
*
|
|
34170
34505
|
* @summary Place an POS order
|
|
@@ -34305,6 +34640,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
34305
34640
|
* @throws {RequiredError}
|
|
34306
34641
|
*/
|
|
34307
34642
|
markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
|
|
34643
|
+
/**
|
|
34644
|
+
* Persists the order snapshot, resolves the dispatch policy for every line once, and tickets the lines that have not been fired yet. Held lines stay on the order and are neither ticketed, printed nor sent to the kitchen screen. Lines already dispatched or already on a ticket keep their server state, so retrying the same park creates no second ticket. An order previously ticketed by the legacy path is accepted: its existing tickets are left untouched and count as settled work. A request may also name the lines this operation cancelled, which the same transaction cancels on the order and revises on every ticket that already carried them.
|
|
34645
|
+
* @summary Park a POS order on the event-v1 path
|
|
34646
|
+
* @param {ParkPosOrderDto} parkPosOrderDto
|
|
34647
|
+
* @param {*} [options] Override http request option.
|
|
34648
|
+
* @throws {RequiredError}
|
|
34649
|
+
*/
|
|
34650
|
+
parkPosOrderV5(parkPosOrderDto: ParkPosOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ParkPosOrderResponseDto>>;
|
|
34308
34651
|
/**
|
|
34309
34652
|
*
|
|
34310
34653
|
* @summary Place an POS order
|
|
@@ -34445,6 +34788,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
34445
34788
|
* @throws {RequiredError}
|
|
34446
34789
|
*/
|
|
34447
34790
|
markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
|
|
34791
|
+
/**
|
|
34792
|
+
* Persists the order snapshot, resolves the dispatch policy for every line once, and tickets the lines that have not been fired yet. Held lines stay on the order and are neither ticketed, printed nor sent to the kitchen screen. Lines already dispatched or already on a ticket keep their server state, so retrying the same park creates no second ticket. An order previously ticketed by the legacy path is accepted: its existing tickets are left untouched and count as settled work. A request may also name the lines this operation cancelled, which the same transaction cancels on the order and revises on every ticket that already carried them.
|
|
34793
|
+
* @summary Park a POS order on the event-v1 path
|
|
34794
|
+
* @param {ParkPosOrderDto} parkPosOrderDto
|
|
34795
|
+
* @param {*} [options] Override http request option.
|
|
34796
|
+
* @throws {RequiredError}
|
|
34797
|
+
*/
|
|
34798
|
+
parkPosOrderV5(parkPosOrderDto: ParkPosOrderDto, options?: any): AxiosPromise<ParkPosOrderResponseDto>;
|
|
34448
34799
|
/**
|
|
34449
34800
|
*
|
|
34450
34801
|
* @summary Place an POS order
|
|
@@ -34597,6 +34948,15 @@ export interface OrdersApiInterface {
|
|
|
34597
34948
|
* @memberof OrdersApiInterface
|
|
34598
34949
|
*/
|
|
34599
34950
|
markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
|
|
34951
|
+
/**
|
|
34952
|
+
* Persists the order snapshot, resolves the dispatch policy for every line once, and tickets the lines that have not been fired yet. Held lines stay on the order and are neither ticketed, printed nor sent to the kitchen screen. Lines already dispatched or already on a ticket keep their server state, so retrying the same park creates no second ticket. An order previously ticketed by the legacy path is accepted: its existing tickets are left untouched and count as settled work. A request may also name the lines this operation cancelled, which the same transaction cancels on the order and revises on every ticket that already carried them.
|
|
34953
|
+
* @summary Park a POS order on the event-v1 path
|
|
34954
|
+
* @param {ParkPosOrderDto} parkPosOrderDto
|
|
34955
|
+
* @param {*} [options] Override http request option.
|
|
34956
|
+
* @throws {RequiredError}
|
|
34957
|
+
* @memberof OrdersApiInterface
|
|
34958
|
+
*/
|
|
34959
|
+
parkPosOrderV5(parkPosOrderDto: ParkPosOrderDto, options?: AxiosRequestConfig): AxiosPromise<ParkPosOrderResponseDto>;
|
|
34600
34960
|
/**
|
|
34601
34961
|
*
|
|
34602
34962
|
* @summary Place an POS order
|
|
@@ -34755,6 +35115,15 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
|
|
|
34755
35115
|
* @memberof OrdersApi
|
|
34756
35116
|
*/
|
|
34757
35117
|
markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
|
|
35118
|
+
/**
|
|
35119
|
+
* Persists the order snapshot, resolves the dispatch policy for every line once, and tickets the lines that have not been fired yet. Held lines stay on the order and are neither ticketed, printed nor sent to the kitchen screen. Lines already dispatched or already on a ticket keep their server state, so retrying the same park creates no second ticket. An order previously ticketed by the legacy path is accepted: its existing tickets are left untouched and count as settled work. A request may also name the lines this operation cancelled, which the same transaction cancels on the order and revises on every ticket that already carried them.
|
|
35120
|
+
* @summary Park a POS order on the event-v1 path
|
|
35121
|
+
* @param {ParkPosOrderDto} parkPosOrderDto
|
|
35122
|
+
* @param {*} [options] Override http request option.
|
|
35123
|
+
* @throws {RequiredError}
|
|
35124
|
+
* @memberof OrdersApi
|
|
35125
|
+
*/
|
|
35126
|
+
parkPosOrderV5(parkPosOrderDto: ParkPosOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ParkPosOrderResponseDto, any, {}>>;
|
|
34758
35127
|
/**
|
|
34759
35128
|
*
|
|
34760
35129
|
* @summary Place an POS order
|