@munchi_oy/core 1.5.6 → 1.5.8
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 +94 -5
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/subcategory.d.ts +29 -0
- package/dist/src/subcategory.d.ts.map +1 -0
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +101 -5
- package/index.ts +1 -0
- package/package.json +4 -1
- package/src/subcategory.ts +196 -0
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2065,11 +2065,84 @@ export interface CashSessionResponseDto {
|
|
|
2065
2065
|
'activeSession': CashSessionResponseDtoActiveSession | null;
|
|
2066
2066
|
}
|
|
2067
2067
|
/**
|
|
2068
|
-
*
|
|
2069
|
-
* The currently open cash session for the business, or null if none.
|
|
2068
|
+
* The currently open cash session for the business. Returns null when no session is open.
|
|
2070
2069
|
* @export
|
|
2070
|
+
* @interface CashSessionResponseDtoActiveSession
|
|
2071
2071
|
*/
|
|
2072
|
-
export
|
|
2072
|
+
export interface CashSessionResponseDtoActiveSession {
|
|
2073
|
+
/**
|
|
2074
|
+
* Session ID
|
|
2075
|
+
* @type {string}
|
|
2076
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2077
|
+
*/
|
|
2078
|
+
'id': string;
|
|
2079
|
+
/**
|
|
2080
|
+
* Business ID
|
|
2081
|
+
* @type {string}
|
|
2082
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2083
|
+
*/
|
|
2084
|
+
'businessId': string;
|
|
2085
|
+
/**
|
|
2086
|
+
*
|
|
2087
|
+
* @type {string}
|
|
2088
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2089
|
+
*/
|
|
2090
|
+
'currency': string;
|
|
2091
|
+
/**
|
|
2092
|
+
*
|
|
2093
|
+
* @type {CashSessionStatus}
|
|
2094
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2095
|
+
*/
|
|
2096
|
+
'status': CashSessionStatus;
|
|
2097
|
+
/**
|
|
2098
|
+
* ID of staff who opened
|
|
2099
|
+
* @type {string}
|
|
2100
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2101
|
+
*/
|
|
2102
|
+
'openedBy'?: string | null;
|
|
2103
|
+
/**
|
|
2104
|
+
*
|
|
2105
|
+
* @type {string}
|
|
2106
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2107
|
+
*/
|
|
2108
|
+
'openedAt': string;
|
|
2109
|
+
/**
|
|
2110
|
+
* ID of staff who closed
|
|
2111
|
+
* @type {string}
|
|
2112
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2113
|
+
*/
|
|
2114
|
+
'closedBy'?: string | null;
|
|
2115
|
+
/**
|
|
2116
|
+
*
|
|
2117
|
+
* @type {string}
|
|
2118
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2119
|
+
*/
|
|
2120
|
+
'closedAt'?: string;
|
|
2121
|
+
/**
|
|
2122
|
+
* Initial float amount
|
|
2123
|
+
* @type {number}
|
|
2124
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2125
|
+
*/
|
|
2126
|
+
'openingBalance': number;
|
|
2127
|
+
/**
|
|
2128
|
+
*
|
|
2129
|
+
* @type {CashSessionTotalsDto}
|
|
2130
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2131
|
+
*/
|
|
2132
|
+
'totals': CashSessionTotalsDto;
|
|
2133
|
+
/**
|
|
2134
|
+
*
|
|
2135
|
+
* @type {CashSessionDtoClosing}
|
|
2136
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2137
|
+
*/
|
|
2138
|
+
'closing'?: CashSessionDtoClosing;
|
|
2139
|
+
/**
|
|
2140
|
+
* Optional label for the stage/shift
|
|
2141
|
+
* @type {string}
|
|
2142
|
+
* @memberof CashSessionResponseDtoActiveSession
|
|
2143
|
+
*/
|
|
2144
|
+
'currentStageLabel'?: string;
|
|
2145
|
+
}
|
|
2073
2146
|
/**
|
|
2074
2147
|
*
|
|
2075
2148
|
* @export
|
|
@@ -12999,6 +13072,16 @@ export interface RejectOrderDto {
|
|
|
12999
13072
|
*/
|
|
13000
13073
|
'reason': string;
|
|
13001
13074
|
}
|
|
13075
|
+
/**
|
|
13076
|
+
*
|
|
13077
|
+
* @export
|
|
13078
|
+
* @enum {string}
|
|
13079
|
+
*/
|
|
13080
|
+
export declare const ReportLanguage: {
|
|
13081
|
+
readonly Fi: "fi";
|
|
13082
|
+
readonly En: "en";
|
|
13083
|
+
};
|
|
13084
|
+
export type ReportLanguage = typeof ReportLanguage[keyof typeof ReportLanguage];
|
|
13002
13085
|
/**
|
|
13003
13086
|
*
|
|
13004
13087
|
* @export
|
|
@@ -13284,6 +13367,12 @@ export interface SendReportEmailDto {
|
|
|
13284
13367
|
* @memberof SendReportEmailDto
|
|
13285
13368
|
*/
|
|
13286
13369
|
'email'?: string;
|
|
13370
|
+
/**
|
|
13371
|
+
*
|
|
13372
|
+
* @type {ReportLanguage}
|
|
13373
|
+
* @memberof SendReportEmailDto
|
|
13374
|
+
*/
|
|
13375
|
+
'language'?: ReportLanguage;
|
|
13287
13376
|
}
|
|
13288
13377
|
/**
|
|
13289
13378
|
*
|
|
@@ -13760,10 +13849,10 @@ export interface SubcategoryDto {
|
|
|
13760
13849
|
'description': string | null;
|
|
13761
13850
|
/**
|
|
13762
13851
|
* Products in this subcategory
|
|
13763
|
-
* @type {Array<
|
|
13852
|
+
* @type {Array<ExtendedProductDto>}
|
|
13764
13853
|
* @memberof SubcategoryDto
|
|
13765
13854
|
*/
|
|
13766
|
-
'products': Array<
|
|
13855
|
+
'products': Array<ExtendedProductDto>;
|
|
13767
13856
|
}
|
|
13768
13857
|
/**
|
|
13769
13858
|
*
|