@munchi_oy/core 1.9.23 → 1.9.25
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 +170 -5
- 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 +275 -8
- package/package.json +15 -13
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3052,6 +3052,31 @@ export interface CoordinateDto {
|
|
|
3052
3052
|
*/
|
|
3053
3053
|
'lon': number;
|
|
3054
3054
|
}
|
|
3055
|
+
/**
|
|
3056
|
+
*
|
|
3057
|
+
* @export
|
|
3058
|
+
* @interface CourseDto
|
|
3059
|
+
*/
|
|
3060
|
+
export interface CourseDto {
|
|
3061
|
+
/**
|
|
3062
|
+
* Course ID
|
|
3063
|
+
* @type {string}
|
|
3064
|
+
* @memberof CourseDto
|
|
3065
|
+
*/
|
|
3066
|
+
'id': string;
|
|
3067
|
+
/**
|
|
3068
|
+
* Course name
|
|
3069
|
+
* @type {string}
|
|
3070
|
+
* @memberof CourseDto
|
|
3071
|
+
*/
|
|
3072
|
+
'name': string;
|
|
3073
|
+
/**
|
|
3074
|
+
* Whether the course fires automatically to the kitchen
|
|
3075
|
+
* @type {boolean}
|
|
3076
|
+
* @memberof CourseDto
|
|
3077
|
+
*/
|
|
3078
|
+
'autoFire'?: boolean;
|
|
3079
|
+
}
|
|
3055
3080
|
/**
|
|
3056
3081
|
*
|
|
3057
3082
|
* @export
|
|
@@ -4852,6 +4877,12 @@ export interface ExtendedProductDto {
|
|
|
4852
4877
|
* @memberof ExtendedProductDto
|
|
4853
4878
|
*/
|
|
4854
4879
|
'channel_configs': Array<ChannelConfig>;
|
|
4880
|
+
/**
|
|
4881
|
+
* Default course ID assigned to this product
|
|
4882
|
+
* @type {string}
|
|
4883
|
+
* @memberof ExtendedProductDto
|
|
4884
|
+
*/
|
|
4885
|
+
'default_course_id'?: string | null;
|
|
4855
4886
|
}
|
|
4856
4887
|
/**
|
|
4857
4888
|
* Reporting category details
|
|
@@ -12363,6 +12394,12 @@ export interface PosItemDto {
|
|
|
12363
12394
|
* @memberof PosItemDto
|
|
12364
12395
|
*/
|
|
12365
12396
|
'channel_configs': Array<ChannelConfig>;
|
|
12397
|
+
/**
|
|
12398
|
+
* Default course ID assigned to this product
|
|
12399
|
+
* @type {string}
|
|
12400
|
+
* @memberof PosItemDto
|
|
12401
|
+
*/
|
|
12402
|
+
'default_course_id'?: string | null;
|
|
12366
12403
|
/**
|
|
12367
12404
|
* Order identifier
|
|
12368
12405
|
* @type {string}
|
|
@@ -14514,6 +14551,12 @@ export interface ProductWithCategoryDto {
|
|
|
14514
14551
|
* @memberof ProductWithCategoryDto
|
|
14515
14552
|
*/
|
|
14516
14553
|
'channel_configs': Array<ChannelConfig>;
|
|
14554
|
+
/**
|
|
14555
|
+
* Default course ID assigned to this product
|
|
14556
|
+
* @type {object}
|
|
14557
|
+
* @memberof ProductWithCategoryDto
|
|
14558
|
+
*/
|
|
14559
|
+
'default_course_id'?: object | null;
|
|
14517
14560
|
}
|
|
14518
14561
|
/**
|
|
14519
14562
|
*
|
|
@@ -24651,6 +24694,81 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
24651
24694
|
*/
|
|
24652
24695
|
configUpsertViva(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront', upsertVivaDto: UpsertVivaDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
24653
24696
|
}
|
|
24697
|
+
/**
|
|
24698
|
+
* CoursesApi - axios parameter creator
|
|
24699
|
+
* @export
|
|
24700
|
+
*/
|
|
24701
|
+
export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24702
|
+
/**
|
|
24703
|
+
*
|
|
24704
|
+
* @summary Get courses for a business
|
|
24705
|
+
* @param {number} businessId Business ID
|
|
24706
|
+
* @param {*} [options] Override http request option.
|
|
24707
|
+
* @throws {RequiredError}
|
|
24708
|
+
*/
|
|
24709
|
+
getCourses: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24710
|
+
};
|
|
24711
|
+
/**
|
|
24712
|
+
* CoursesApi - functional programming interface
|
|
24713
|
+
* @export
|
|
24714
|
+
*/
|
|
24715
|
+
export declare const CoursesApiFp: (configuration?: Configuration) => {
|
|
24716
|
+
/**
|
|
24717
|
+
*
|
|
24718
|
+
* @summary Get courses for a business
|
|
24719
|
+
* @param {number} businessId Business ID
|
|
24720
|
+
* @param {*} [options] Override http request option.
|
|
24721
|
+
* @throws {RequiredError}
|
|
24722
|
+
*/
|
|
24723
|
+
getCourses(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CourseDto>>>;
|
|
24724
|
+
};
|
|
24725
|
+
/**
|
|
24726
|
+
* CoursesApi - factory interface
|
|
24727
|
+
* @export
|
|
24728
|
+
*/
|
|
24729
|
+
export declare const CoursesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
24730
|
+
/**
|
|
24731
|
+
*
|
|
24732
|
+
* @summary Get courses for a business
|
|
24733
|
+
* @param {number} businessId Business ID
|
|
24734
|
+
* @param {*} [options] Override http request option.
|
|
24735
|
+
* @throws {RequiredError}
|
|
24736
|
+
*/
|
|
24737
|
+
getCourses(businessId: number, options?: any): AxiosPromise<Array<CourseDto>>;
|
|
24738
|
+
};
|
|
24739
|
+
/**
|
|
24740
|
+
* CoursesApi - interface
|
|
24741
|
+
* @export
|
|
24742
|
+
* @interface CoursesApi
|
|
24743
|
+
*/
|
|
24744
|
+
export interface CoursesApiInterface {
|
|
24745
|
+
/**
|
|
24746
|
+
*
|
|
24747
|
+
* @summary Get courses for a business
|
|
24748
|
+
* @param {number} businessId Business ID
|
|
24749
|
+
* @param {*} [options] Override http request option.
|
|
24750
|
+
* @throws {RequiredError}
|
|
24751
|
+
* @memberof CoursesApiInterface
|
|
24752
|
+
*/
|
|
24753
|
+
getCourses(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<CourseDto>>;
|
|
24754
|
+
}
|
|
24755
|
+
/**
|
|
24756
|
+
* CoursesApi - object-oriented interface
|
|
24757
|
+
* @export
|
|
24758
|
+
* @class CoursesApi
|
|
24759
|
+
* @extends {BaseAPI}
|
|
24760
|
+
*/
|
|
24761
|
+
export declare class CoursesApi extends BaseAPI implements CoursesApiInterface {
|
|
24762
|
+
/**
|
|
24763
|
+
*
|
|
24764
|
+
* @summary Get courses for a business
|
|
24765
|
+
* @param {number} businessId Business ID
|
|
24766
|
+
* @param {*} [options] Override http request option.
|
|
24767
|
+
* @throws {RequiredError}
|
|
24768
|
+
* @memberof CoursesApi
|
|
24769
|
+
*/
|
|
24770
|
+
getCourses(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CourseDto[], any, {}>>;
|
|
24771
|
+
}
|
|
24654
24772
|
/**
|
|
24655
24773
|
* EmployeesApi - axios parameter creator
|
|
24656
24774
|
* @export
|
|
@@ -28862,10 +28980,19 @@ export declare const PrintersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
28862
28980
|
/**
|
|
28863
28981
|
*
|
|
28864
28982
|
* @param {number} id
|
|
28983
|
+
* @param {number} businessId
|
|
28865
28984
|
* @param {*} [options] Override http request option.
|
|
28866
28985
|
* @throws {RequiredError}
|
|
28867
28986
|
*/
|
|
28868
|
-
deletePrinter: (id: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28987
|
+
deletePrinter: (id: number, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28988
|
+
/**
|
|
28989
|
+
*
|
|
28990
|
+
* @param {number} businessId
|
|
28991
|
+
* @param {string} address
|
|
28992
|
+
* @param {*} [options] Override http request option.
|
|
28993
|
+
* @throws {RequiredError}
|
|
28994
|
+
*/
|
|
28995
|
+
deletePrinterByAddress: (businessId: number, address: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28869
28996
|
/**
|
|
28870
28997
|
*
|
|
28871
28998
|
* @param {number} businessId
|
|
@@ -28933,10 +29060,19 @@ export declare const PrintersApiFp: (configuration?: Configuration) => {
|
|
|
28933
29060
|
/**
|
|
28934
29061
|
*
|
|
28935
29062
|
* @param {number} id
|
|
29063
|
+
* @param {number} businessId
|
|
28936
29064
|
* @param {*} [options] Override http request option.
|
|
28937
29065
|
* @throws {RequiredError}
|
|
28938
29066
|
*/
|
|
28939
|
-
deletePrinter(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
29067
|
+
deletePrinter(id: number, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
29068
|
+
/**
|
|
29069
|
+
*
|
|
29070
|
+
* @param {number} businessId
|
|
29071
|
+
* @param {string} address
|
|
29072
|
+
* @param {*} [options] Override http request option.
|
|
29073
|
+
* @throws {RequiredError}
|
|
29074
|
+
*/
|
|
29075
|
+
deletePrinterByAddress(businessId: number, address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
28940
29076
|
/**
|
|
28941
29077
|
*
|
|
28942
29078
|
* @param {number} businessId
|
|
@@ -29004,10 +29140,19 @@ export declare const PrintersApiFactory: (configuration?: Configuration, basePat
|
|
|
29004
29140
|
/**
|
|
29005
29141
|
*
|
|
29006
29142
|
* @param {number} id
|
|
29143
|
+
* @param {number} businessId
|
|
29007
29144
|
* @param {*} [options] Override http request option.
|
|
29008
29145
|
* @throws {RequiredError}
|
|
29009
29146
|
*/
|
|
29010
|
-
deletePrinter(id: number, options?: any): AxiosPromise<void>;
|
|
29147
|
+
deletePrinter(id: number, businessId: number, options?: any): AxiosPromise<void>;
|
|
29148
|
+
/**
|
|
29149
|
+
*
|
|
29150
|
+
* @param {number} businessId
|
|
29151
|
+
* @param {string} address
|
|
29152
|
+
* @param {*} [options] Override http request option.
|
|
29153
|
+
* @throws {RequiredError}
|
|
29154
|
+
*/
|
|
29155
|
+
deletePrinterByAddress(businessId: number, address: string, options?: any): AxiosPromise<void>;
|
|
29011
29156
|
/**
|
|
29012
29157
|
*
|
|
29013
29158
|
* @param {number} businessId
|
|
@@ -29077,11 +29222,21 @@ export interface PrintersApiInterface {
|
|
|
29077
29222
|
/**
|
|
29078
29223
|
*
|
|
29079
29224
|
* @param {number} id
|
|
29225
|
+
* @param {number} businessId
|
|
29080
29226
|
* @param {*} [options] Override http request option.
|
|
29081
29227
|
* @throws {RequiredError}
|
|
29082
29228
|
* @memberof PrintersApiInterface
|
|
29083
29229
|
*/
|
|
29084
|
-
deletePrinter(id: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29230
|
+
deletePrinter(id: number, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29231
|
+
/**
|
|
29232
|
+
*
|
|
29233
|
+
* @param {number} businessId
|
|
29234
|
+
* @param {string} address
|
|
29235
|
+
* @param {*} [options] Override http request option.
|
|
29236
|
+
* @throws {RequiredError}
|
|
29237
|
+
* @memberof PrintersApiInterface
|
|
29238
|
+
*/
|
|
29239
|
+
deletePrinterByAddress(businessId: number, address: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29085
29240
|
/**
|
|
29086
29241
|
*
|
|
29087
29242
|
* @param {number} businessId
|
|
@@ -29159,11 +29314,21 @@ export declare class PrintersApi extends BaseAPI implements PrintersApiInterface
|
|
|
29159
29314
|
/**
|
|
29160
29315
|
*
|
|
29161
29316
|
* @param {number} id
|
|
29317
|
+
* @param {number} businessId
|
|
29318
|
+
* @param {*} [options] Override http request option.
|
|
29319
|
+
* @throws {RequiredError}
|
|
29320
|
+
* @memberof PrintersApi
|
|
29321
|
+
*/
|
|
29322
|
+
deletePrinter(id: number, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29323
|
+
/**
|
|
29324
|
+
*
|
|
29325
|
+
* @param {number} businessId
|
|
29326
|
+
* @param {string} address
|
|
29162
29327
|
* @param {*} [options] Override http request option.
|
|
29163
29328
|
* @throws {RequiredError}
|
|
29164
29329
|
* @memberof PrintersApi
|
|
29165
29330
|
*/
|
|
29166
|
-
|
|
29331
|
+
deletePrinterByAddress(businessId: number, address: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29167
29332
|
/**
|
|
29168
29333
|
*
|
|
29169
29334
|
* @param {number} businessId
|