@munchi_oy/core 1.9.113 → 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.
@@ -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}
@@ -12751,6 +12769,12 @@ export interface ParkPosOrderDto {
12751
12769
  * @memberof ParkPosOrderDto
12752
12770
  */
12753
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>;
12754
12778
  }
12755
12779
  /**
12756
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.
@@ -34469,7 +34493,7 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
34469
34493
  */
34470
34494
  markOrderAsReady: (readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34471
34495
  /**
34472
- * 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 the server has already dispatched keep their server state, so retrying the same park creates no second ticket.
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.
34473
34497
  * @summary Park a POS order on the event-v1 path
34474
34498
  * @param {ParkPosOrderDto} parkPosOrderDto
34475
34499
  * @param {*} [options] Override http request option.
@@ -34617,7 +34641,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
34617
34641
  */
34618
34642
  markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
34619
34643
  /**
34620
- * 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 the server has already dispatched keep their server state, so retrying the same park creates no second ticket.
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.
34621
34645
  * @summary Park a POS order on the event-v1 path
34622
34646
  * @param {ParkPosOrderDto} parkPosOrderDto
34623
34647
  * @param {*} [options] Override http request option.
@@ -34765,7 +34789,7 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
34765
34789
  */
34766
34790
  markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
34767
34791
  /**
34768
- * 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 the server has already dispatched keep their server state, so retrying the same park creates no second ticket.
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.
34769
34793
  * @summary Park a POS order on the event-v1 path
34770
34794
  * @param {ParkPosOrderDto} parkPosOrderDto
34771
34795
  * @param {*} [options] Override http request option.
@@ -34925,7 +34949,7 @@ export interface OrdersApiInterface {
34925
34949
  */
34926
34950
  markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
34927
34951
  /**
34928
- * 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 the server has already dispatched keep their server state, so retrying the same park creates no second ticket.
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.
34929
34953
  * @summary Park a POS order on the event-v1 path
34930
34954
  * @param {ParkPosOrderDto} parkPosOrderDto
34931
34955
  * @param {*} [options] Override http request option.
@@ -35092,7 +35116,7 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
35092
35116
  */
35093
35117
  markOrderAsReady(readyOrderDto: ReadyOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
35094
35118
  /**
35095
- * 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 the server has already dispatched keep their server state, so retrying the same park creates no second ticket.
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.
35096
35120
  * @summary Park a POS order on the event-v1 path
35097
35121
  * @param {ParkPosOrderDto} parkPosOrderDto
35098
35122
  * @param {*} [options] Override http request option.