@munchi_oy/core 1.9.140 → 2.0.0
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 +0 -101
- 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/src/version.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +0 -148
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -1861,12 +1861,6 @@ export interface CashSessionDto {
|
|
|
1861
1861
|
* @memberof CashSessionDto
|
|
1862
1862
|
*/
|
|
1863
1863
|
'closedAt'?: string;
|
|
1864
|
-
/**
|
|
1865
|
-
* When the session was last written to, ISO 8601. Moved by every entry the drawer takes, and by opening and closing. Absent on a session stored before the field existed.
|
|
1866
|
-
* @type {string}
|
|
1867
|
-
* @memberof CashSessionDto
|
|
1868
|
-
*/
|
|
1869
|
-
'lastActivityAt'?: string;
|
|
1870
1864
|
/**
|
|
1871
1865
|
* The float the drawer opened with, in cents
|
|
1872
1866
|
* @type {number}
|
|
@@ -2040,12 +2034,6 @@ export interface CashSessionReportDtoSession {
|
|
|
2040
2034
|
* @memberof CashSessionReportDtoSession
|
|
2041
2035
|
*/
|
|
2042
2036
|
'closedAt'?: string;
|
|
2043
|
-
/**
|
|
2044
|
-
* When the session was last written to, ISO 8601. Moved by every entry the drawer takes, and by opening and closing. Absent on a session stored before the field existed.
|
|
2045
|
-
* @type {string}
|
|
2046
|
-
* @memberof CashSessionReportDtoSession
|
|
2047
|
-
*/
|
|
2048
|
-
'lastActivityAt'?: string;
|
|
2049
2037
|
/**
|
|
2050
2038
|
* The float the drawer opened with, in cents
|
|
2051
2039
|
* @type {number}
|
|
@@ -2138,12 +2126,6 @@ export interface CashSessionResponseDtoActiveSession {
|
|
|
2138
2126
|
* @memberof CashSessionResponseDtoActiveSession
|
|
2139
2127
|
*/
|
|
2140
2128
|
'closedAt'?: string;
|
|
2141
|
-
/**
|
|
2142
|
-
* When the session was last written to, ISO 8601. Moved by every entry the drawer takes, and by opening and closing. Absent on a session stored before the field existed.
|
|
2143
|
-
* @type {string}
|
|
2144
|
-
* @memberof CashSessionResponseDtoActiveSession
|
|
2145
|
-
*/
|
|
2146
|
-
'lastActivityAt'?: string;
|
|
2147
2129
|
/**
|
|
2148
2130
|
* The float the drawer opened with, in cents
|
|
2149
2131
|
* @type {number}
|
|
@@ -2611,37 +2593,6 @@ export interface ClockOutRequestDto {
|
|
|
2611
2593
|
*/
|
|
2612
2594
|
'employeeId': string;
|
|
2613
2595
|
}
|
|
2614
|
-
/**
|
|
2615
|
-
*
|
|
2616
|
-
* @export
|
|
2617
|
-
* @interface CloseCashSessionDto
|
|
2618
|
-
*/
|
|
2619
|
-
export interface CloseCashSessionDto {
|
|
2620
|
-
/**
|
|
2621
|
-
* The cash counted in the drawer at closing, in cents
|
|
2622
|
-
* @type {number}
|
|
2623
|
-
* @memberof CloseCashSessionDto
|
|
2624
|
-
*/
|
|
2625
|
-
'countedCash': number;
|
|
2626
|
-
/**
|
|
2627
|
-
* The id of the staff member closing the drawer
|
|
2628
|
-
* @type {string}
|
|
2629
|
-
* @memberof CloseCashSessionDto
|
|
2630
|
-
*/
|
|
2631
|
-
'closedBy'?: string | null;
|
|
2632
|
-
/**
|
|
2633
|
-
* The name of the staff member closing the drawer, written on the closing entry
|
|
2634
|
-
* @type {string}
|
|
2635
|
-
* @memberof CloseCashSessionDto
|
|
2636
|
-
*/
|
|
2637
|
-
'closedByName'?: string | null;
|
|
2638
|
-
/**
|
|
2639
|
-
* A note written at closing, kept on the session
|
|
2640
|
-
* @type {string}
|
|
2641
|
-
* @memberof CloseCashSessionDto
|
|
2642
|
-
*/
|
|
2643
|
-
'notes'?: string;
|
|
2644
|
-
}
|
|
2645
2596
|
/**
|
|
2646
2597
|
*
|
|
2647
2598
|
* @export
|
|
@@ -34062,16 +34013,6 @@ export declare class CashManagementV6Api extends BaseAPI implements CashManageme
|
|
|
34062
34013
|
* @export
|
|
34063
34014
|
*/
|
|
34064
34015
|
export declare const CashSessionV2ApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
34065
|
-
/**
|
|
34066
|
-
* Closes the named session with the cash counted in the drawer. The expected cash is the server\'s own running total, never the till\'s, and the difference is counted minus expected. A session that is already closed is answered 409, so a retried close never writes twice.
|
|
34067
|
-
* @summary Close the venue\'s cash drawer
|
|
34068
|
-
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text. The drawer is read and written here, never under a venue the body names.
|
|
34069
|
-
* @param {string} sessionId
|
|
34070
|
-
* @param {CloseCashSessionDto} closeCashSessionDto
|
|
34071
|
-
* @param {*} [options] Override http request option.
|
|
34072
|
-
* @throws {RequiredError}
|
|
34073
|
-
*/
|
|
34074
|
-
closeCashSession: (businessId: string, sessionId: string, closeCashSessionDto: CloseCashSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34075
34016
|
/**
|
|
34076
34017
|
* Opens a session with its float, and writes the opening entry with it. The venue may have only one drawer open: when one is already open the answer is 409 carrying that session, so the till shows it and offers to close it. The check and the write are one transaction, so two tills asking together cannot both open one.
|
|
34077
34018
|
* @summary Open the venue\'s cash drawer for the day
|
|
@@ -34087,16 +34028,6 @@ export declare const CashSessionV2ApiAxiosParamCreator: (configuration?: Configu
|
|
|
34087
34028
|
* @export
|
|
34088
34029
|
*/
|
|
34089
34030
|
export declare const CashSessionV2ApiFp: (configuration?: Configuration) => {
|
|
34090
|
-
/**
|
|
34091
|
-
* Closes the named session with the cash counted in the drawer. The expected cash is the server\'s own running total, never the till\'s, and the difference is counted minus expected. A session that is already closed is answered 409, so a retried close never writes twice.
|
|
34092
|
-
* @summary Close the venue\'s cash drawer
|
|
34093
|
-
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text. The drawer is read and written here, never under a venue the body names.
|
|
34094
|
-
* @param {string} sessionId
|
|
34095
|
-
* @param {CloseCashSessionDto} closeCashSessionDto
|
|
34096
|
-
* @param {*} [options] Override http request option.
|
|
34097
|
-
* @throws {RequiredError}
|
|
34098
|
-
*/
|
|
34099
|
-
closeCashSession(businessId: string, sessionId: string, closeCashSessionDto: CloseCashSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CashSessionDto>>;
|
|
34100
34031
|
/**
|
|
34101
34032
|
* Opens a session with its float, and writes the opening entry with it. The venue may have only one drawer open: when one is already open the answer is 409 carrying that session, so the till shows it and offers to close it. The check and the write are one transaction, so two tills asking together cannot both open one.
|
|
34102
34033
|
* @summary Open the venue\'s cash drawer for the day
|
|
@@ -34112,16 +34043,6 @@ export declare const CashSessionV2ApiFp: (configuration?: Configuration) => {
|
|
|
34112
34043
|
* @export
|
|
34113
34044
|
*/
|
|
34114
34045
|
export declare const CashSessionV2ApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34115
|
-
/**
|
|
34116
|
-
* Closes the named session with the cash counted in the drawer. The expected cash is the server\'s own running total, never the till\'s, and the difference is counted minus expected. A session that is already closed is answered 409, so a retried close never writes twice.
|
|
34117
|
-
* @summary Close the venue\'s cash drawer
|
|
34118
|
-
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text. The drawer is read and written here, never under a venue the body names.
|
|
34119
|
-
* @param {string} sessionId
|
|
34120
|
-
* @param {CloseCashSessionDto} closeCashSessionDto
|
|
34121
|
-
* @param {*} [options] Override http request option.
|
|
34122
|
-
* @throws {RequiredError}
|
|
34123
|
-
*/
|
|
34124
|
-
closeCashSession(businessId: string, sessionId: string, closeCashSessionDto: CloseCashSessionDto, options?: any): AxiosPromise<CashSessionDto>;
|
|
34125
34046
|
/**
|
|
34126
34047
|
* Opens a session with its float, and writes the opening entry with it. The venue may have only one drawer open: when one is already open the answer is 409 carrying that session, so the till shows it and offers to close it. The check and the write are one transaction, so two tills asking together cannot both open one.
|
|
34127
34048
|
* @summary Open the venue\'s cash drawer for the day
|
|
@@ -34138,17 +34059,6 @@ export declare const CashSessionV2ApiFactory: (configuration?: Configuration, ba
|
|
|
34138
34059
|
* @interface CashSessionV2Api
|
|
34139
34060
|
*/
|
|
34140
34061
|
export interface CashSessionV2ApiInterface {
|
|
34141
|
-
/**
|
|
34142
|
-
* Closes the named session with the cash counted in the drawer. The expected cash is the server\'s own running total, never the till\'s, and the difference is counted minus expected. A session that is already closed is answered 409, so a retried close never writes twice.
|
|
34143
|
-
* @summary Close the venue\'s cash drawer
|
|
34144
|
-
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text. The drawer is read and written here, never under a venue the body names.
|
|
34145
|
-
* @param {string} sessionId
|
|
34146
|
-
* @param {CloseCashSessionDto} closeCashSessionDto
|
|
34147
|
-
* @param {*} [options] Override http request option.
|
|
34148
|
-
* @throws {RequiredError}
|
|
34149
|
-
* @memberof CashSessionV2ApiInterface
|
|
34150
|
-
*/
|
|
34151
|
-
closeCashSession(businessId: string, sessionId: string, closeCashSessionDto: CloseCashSessionDto, options?: AxiosRequestConfig): AxiosPromise<CashSessionDto>;
|
|
34152
34062
|
/**
|
|
34153
34063
|
* Opens a session with its float, and writes the opening entry with it. The venue may have only one drawer open: when one is already open the answer is 409 carrying that session, so the till shows it and offers to close it. The check and the write are one transaction, so two tills asking together cannot both open one.
|
|
34154
34064
|
* @summary Open the venue\'s cash drawer for the day
|
|
@@ -34167,17 +34077,6 @@ export interface CashSessionV2ApiInterface {
|
|
|
34167
34077
|
* @extends {BaseAPI}
|
|
34168
34078
|
*/
|
|
34169
34079
|
export declare class CashSessionV2Api extends BaseAPI implements CashSessionV2ApiInterface {
|
|
34170
|
-
/**
|
|
34171
|
-
* Closes the named session with the cash counted in the drawer. The expected cash is the server\'s own running total, never the till\'s, and the difference is counted minus expected. A session that is already closed is answered 409, so a retried close never writes twice.
|
|
34172
|
-
* @summary Close the venue\'s cash drawer
|
|
34173
|
-
* @param {string} businessId The venue\'s id (its orderingBusinessId), as text. The drawer is read and written here, never under a venue the body names.
|
|
34174
|
-
* @param {string} sessionId
|
|
34175
|
-
* @param {CloseCashSessionDto} closeCashSessionDto
|
|
34176
|
-
* @param {*} [options] Override http request option.
|
|
34177
|
-
* @throws {RequiredError}
|
|
34178
|
-
* @memberof CashSessionV2Api
|
|
34179
|
-
*/
|
|
34180
|
-
closeCashSession(businessId: string, sessionId: string, closeCashSessionDto: CloseCashSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CashSessionDto, any, {}>>;
|
|
34181
34080
|
/**
|
|
34182
34081
|
* Opens a session with its float, and writes the opening entry with it. The venue may have only one drawer open: when one is already open the answer is 409 carrying that session, so the till shows it and offers to close it. The check and the write are one transaction, so two tills asking together cannot both open one.
|
|
34183
34082
|
* @summary Open the venue\'s cash drawer for the day
|