@munchi_oy/core 1.9.20 → 1.9.24
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 +113 -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 +166 -1
- package/package.json +15 -13
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3052,6 +3052,25 @@ 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
|
+
}
|
|
3055
3074
|
/**
|
|
3056
3075
|
*
|
|
3057
3076
|
* @export
|
|
@@ -4852,6 +4871,12 @@ export interface ExtendedProductDto {
|
|
|
4852
4871
|
* @memberof ExtendedProductDto
|
|
4853
4872
|
*/
|
|
4854
4873
|
'channel_configs': Array<ChannelConfig>;
|
|
4874
|
+
/**
|
|
4875
|
+
* Default course ID assigned to this product
|
|
4876
|
+
* @type {string}
|
|
4877
|
+
* @memberof ExtendedProductDto
|
|
4878
|
+
*/
|
|
4879
|
+
'default_course_id'?: string | null;
|
|
4855
4880
|
}
|
|
4856
4881
|
/**
|
|
4857
4882
|
* Reporting category details
|
|
@@ -11711,6 +11736,7 @@ export interface PaymentTerminalDtoStation {
|
|
|
11711
11736
|
export declare const PaymentTypeEnum: {
|
|
11712
11737
|
readonly Cash: "cash";
|
|
11713
11738
|
readonly Card: "card";
|
|
11739
|
+
readonly PayOnDelivery: "pay_on_delivery";
|
|
11714
11740
|
};
|
|
11715
11741
|
export type PaymentTypeEnum = typeof PaymentTypeEnum[keyof typeof PaymentTypeEnum];
|
|
11716
11742
|
/**
|
|
@@ -12362,6 +12388,12 @@ export interface PosItemDto {
|
|
|
12362
12388
|
* @memberof PosItemDto
|
|
12363
12389
|
*/
|
|
12364
12390
|
'channel_configs': Array<ChannelConfig>;
|
|
12391
|
+
/**
|
|
12392
|
+
* Default course ID assigned to this product
|
|
12393
|
+
* @type {string}
|
|
12394
|
+
* @memberof PosItemDto
|
|
12395
|
+
*/
|
|
12396
|
+
'default_course_id'?: string | null;
|
|
12365
12397
|
/**
|
|
12366
12398
|
* Order identifier
|
|
12367
12399
|
* @type {string}
|
|
@@ -14405,6 +14437,12 @@ export interface ProductWithCategoryDto {
|
|
|
14405
14437
|
* @memberof ProductWithCategoryDto
|
|
14406
14438
|
*/
|
|
14407
14439
|
'channel_configs': Array<ChannelConfig>;
|
|
14440
|
+
/**
|
|
14441
|
+
* Default course ID assigned to this product
|
|
14442
|
+
* @type {object}
|
|
14443
|
+
* @memberof ProductWithCategoryDto
|
|
14444
|
+
*/
|
|
14445
|
+
'default_course_id'?: object | null;
|
|
14408
14446
|
}
|
|
14409
14447
|
/**
|
|
14410
14448
|
*
|
|
@@ -24449,6 +24487,81 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
24449
24487
|
*/
|
|
24450
24488
|
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, {}>>;
|
|
24451
24489
|
}
|
|
24490
|
+
/**
|
|
24491
|
+
* CoursesApi - axios parameter creator
|
|
24492
|
+
* @export
|
|
24493
|
+
*/
|
|
24494
|
+
export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24495
|
+
/**
|
|
24496
|
+
*
|
|
24497
|
+
* @summary Get courses for a business
|
|
24498
|
+
* @param {number} businessId Business ID
|
|
24499
|
+
* @param {*} [options] Override http request option.
|
|
24500
|
+
* @throws {RequiredError}
|
|
24501
|
+
*/
|
|
24502
|
+
getCourses: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24503
|
+
};
|
|
24504
|
+
/**
|
|
24505
|
+
* CoursesApi - functional programming interface
|
|
24506
|
+
* @export
|
|
24507
|
+
*/
|
|
24508
|
+
export declare const CoursesApiFp: (configuration?: Configuration) => {
|
|
24509
|
+
/**
|
|
24510
|
+
*
|
|
24511
|
+
* @summary Get courses for a business
|
|
24512
|
+
* @param {number} businessId Business ID
|
|
24513
|
+
* @param {*} [options] Override http request option.
|
|
24514
|
+
* @throws {RequiredError}
|
|
24515
|
+
*/
|
|
24516
|
+
getCourses(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CourseDto>>>;
|
|
24517
|
+
};
|
|
24518
|
+
/**
|
|
24519
|
+
* CoursesApi - factory interface
|
|
24520
|
+
* @export
|
|
24521
|
+
*/
|
|
24522
|
+
export declare const CoursesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
24523
|
+
/**
|
|
24524
|
+
*
|
|
24525
|
+
* @summary Get courses for a business
|
|
24526
|
+
* @param {number} businessId Business ID
|
|
24527
|
+
* @param {*} [options] Override http request option.
|
|
24528
|
+
* @throws {RequiredError}
|
|
24529
|
+
*/
|
|
24530
|
+
getCourses(businessId: number, options?: any): AxiosPromise<Array<CourseDto>>;
|
|
24531
|
+
};
|
|
24532
|
+
/**
|
|
24533
|
+
* CoursesApi - interface
|
|
24534
|
+
* @export
|
|
24535
|
+
* @interface CoursesApi
|
|
24536
|
+
*/
|
|
24537
|
+
export interface CoursesApiInterface {
|
|
24538
|
+
/**
|
|
24539
|
+
*
|
|
24540
|
+
* @summary Get courses for a business
|
|
24541
|
+
* @param {number} businessId Business ID
|
|
24542
|
+
* @param {*} [options] Override http request option.
|
|
24543
|
+
* @throws {RequiredError}
|
|
24544
|
+
* @memberof CoursesApiInterface
|
|
24545
|
+
*/
|
|
24546
|
+
getCourses(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<CourseDto>>;
|
|
24547
|
+
}
|
|
24548
|
+
/**
|
|
24549
|
+
* CoursesApi - object-oriented interface
|
|
24550
|
+
* @export
|
|
24551
|
+
* @class CoursesApi
|
|
24552
|
+
* @extends {BaseAPI}
|
|
24553
|
+
*/
|
|
24554
|
+
export declare class CoursesApi extends BaseAPI implements CoursesApiInterface {
|
|
24555
|
+
/**
|
|
24556
|
+
*
|
|
24557
|
+
* @summary Get courses for a business
|
|
24558
|
+
* @param {number} businessId Business ID
|
|
24559
|
+
* @param {*} [options] Override http request option.
|
|
24560
|
+
* @throws {RequiredError}
|
|
24561
|
+
* @memberof CoursesApi
|
|
24562
|
+
*/
|
|
24563
|
+
getCourses(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CourseDto[], any, {}>>;
|
|
24564
|
+
}
|
|
24452
24565
|
/**
|
|
24453
24566
|
* EmployeesApi - axios parameter creator
|
|
24454
24567
|
* @export
|