@munchi_oy/core 1.9.46 → 1.9.47

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.
@@ -3004,6 +3004,19 @@ export interface CoordinateDto {
3004
3004
  */
3005
3005
  'lon': number;
3006
3006
  }
3007
+ /**
3008
+ *
3009
+ * @export
3010
+ * @interface CourseConfigDto
3011
+ */
3012
+ export interface CourseConfigDto {
3013
+ /**
3014
+ * Rank assigned to uncoursed items
3015
+ * @type {number}
3016
+ * @memberof CourseConfigDto
3017
+ */
3018
+ 'uncoursedRank': number;
3019
+ }
3007
3020
  /**
3008
3021
  *
3009
3022
  * @export
@@ -3022,6 +3035,12 @@ export interface CourseDto {
3022
3035
  * @memberof CourseDto
3023
3036
  */
3024
3037
  'name': string;
3038
+ /**
3039
+ * Course rank used for ordering
3040
+ * @type {number}
3041
+ * @memberof CourseDto
3042
+ */
3043
+ 'rank': number;
3025
3044
  /**
3026
3045
  * Whether the course fires automatically to the kitchen
3027
3046
  * @type {boolean}
@@ -12358,6 +12377,7 @@ export interface PaymentRefundLineAllocationDto {
12358
12377
  */
12359
12378
  export declare const PaymentSessionStatus: {
12360
12379
  readonly Initiated: "INITIATED";
12380
+ readonly Dispatched: "DISPATCHED";
12361
12381
  readonly Processing: "PROCESSING";
12362
12382
  readonly Success: "SUCCESS";
12363
12383
  readonly Failed: "FAILED";
@@ -25494,6 +25514,14 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
25494
25514
  * @export
25495
25515
  */
25496
25516
  export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration) => {
25517
+ /**
25518
+ *
25519
+ * @summary Get course config for a business
25520
+ * @param {number} businessId Business ID
25521
+ * @param {*} [options] Override http request option.
25522
+ * @throws {RequiredError}
25523
+ */
25524
+ getCourseConfig: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25497
25525
  /**
25498
25526
  *
25499
25527
  * @summary Get courses for a business
@@ -25508,6 +25536,14 @@ export declare const CoursesApiAxiosParamCreator: (configuration?: Configuration
25508
25536
  * @export
25509
25537
  */
25510
25538
  export declare const CoursesApiFp: (configuration?: Configuration) => {
25539
+ /**
25540
+ *
25541
+ * @summary Get course config for a business
25542
+ * @param {number} businessId Business ID
25543
+ * @param {*} [options] Override http request option.
25544
+ * @throws {RequiredError}
25545
+ */
25546
+ getCourseConfig(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourseConfigDto>>;
25511
25547
  /**
25512
25548
  *
25513
25549
  * @summary Get courses for a business
@@ -25522,6 +25558,14 @@ export declare const CoursesApiFp: (configuration?: Configuration) => {
25522
25558
  * @export
25523
25559
  */
25524
25560
  export declare const CoursesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25561
+ /**
25562
+ *
25563
+ * @summary Get course config for a business
25564
+ * @param {number} businessId Business ID
25565
+ * @param {*} [options] Override http request option.
25566
+ * @throws {RequiredError}
25567
+ */
25568
+ getCourseConfig(businessId: number, options?: any): AxiosPromise<CourseConfigDto>;
25525
25569
  /**
25526
25570
  *
25527
25571
  * @summary Get courses for a business
@@ -25537,6 +25581,15 @@ export declare const CoursesApiFactory: (configuration?: Configuration, basePath
25537
25581
  * @interface CoursesApi
25538
25582
  */
25539
25583
  export interface CoursesApiInterface {
25584
+ /**
25585
+ *
25586
+ * @summary Get course config for a business
25587
+ * @param {number} businessId Business ID
25588
+ * @param {*} [options] Override http request option.
25589
+ * @throws {RequiredError}
25590
+ * @memberof CoursesApiInterface
25591
+ */
25592
+ getCourseConfig(businessId: number, options?: AxiosRequestConfig): AxiosPromise<CourseConfigDto>;
25540
25593
  /**
25541
25594
  *
25542
25595
  * @summary Get courses for a business
@@ -25554,6 +25607,15 @@ export interface CoursesApiInterface {
25554
25607
  * @extends {BaseAPI}
25555
25608
  */
25556
25609
  export declare class CoursesApi extends BaseAPI implements CoursesApiInterface {
25610
+ /**
25611
+ *
25612
+ * @summary Get course config for a business
25613
+ * @param {number} businessId Business ID
25614
+ * @param {*} [options] Override http request option.
25615
+ * @throws {RequiredError}
25616
+ * @memberof CoursesApi
25617
+ */
25618
+ getCourseConfig(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CourseConfigDto, any, {}>>;
25557
25619
  /**
25558
25620
  *
25559
25621
  * @summary Get courses for a business