@munchi_oy/core 1.9.3 → 1.9.4
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 +148 -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 +210 -0
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -419,7 +419,19 @@ export interface BusinessCategoryBodyDto {
|
|
|
419
419
|
* @memberof BusinessCategoryBodyDto
|
|
420
420
|
*/
|
|
421
421
|
'cid': Array<number>;
|
|
422
|
+
/**
|
|
423
|
+
* Optional menu type used to apply menu-specific product filters
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof BusinessCategoryBodyDto
|
|
426
|
+
*/
|
|
427
|
+
'menuType'?: MenuTypeEnum;
|
|
422
428
|
}
|
|
429
|
+
export declare const MenuTypeEnum: {
|
|
430
|
+
readonly Pos: "pos";
|
|
431
|
+
readonly Kiosk: "kiosk";
|
|
432
|
+
readonly Ayce: "ayce";
|
|
433
|
+
};
|
|
434
|
+
export type MenuTypeEnum = typeof MenuTypeEnum[keyof typeof MenuTypeEnum];
|
|
423
435
|
/**
|
|
424
436
|
*
|
|
425
437
|
* @export
|
|
@@ -504,6 +516,12 @@ export interface BusinessConfigResponseDto {
|
|
|
504
516
|
* @memberof BusinessConfigResponseDto
|
|
505
517
|
*/
|
|
506
518
|
'hasInvoiceCompany': boolean;
|
|
519
|
+
/**
|
|
520
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
521
|
+
* @type {boolean}
|
|
522
|
+
* @memberof BusinessConfigResponseDto
|
|
523
|
+
*/
|
|
524
|
+
'hidePosOrdersInOm': boolean;
|
|
507
525
|
}
|
|
508
526
|
/**
|
|
509
527
|
* Business data attached
|
|
@@ -4650,6 +4668,12 @@ export interface ExternalBusinessConfigDto {
|
|
|
4650
4668
|
* @memberof ExternalBusinessConfigDto
|
|
4651
4669
|
*/
|
|
4652
4670
|
'hasInvoiceCompany': boolean;
|
|
4671
|
+
/**
|
|
4672
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
4673
|
+
* @type {boolean}
|
|
4674
|
+
* @memberof ExternalBusinessConfigDto
|
|
4675
|
+
*/
|
|
4676
|
+
'hidePosOrdersInOm': boolean;
|
|
4653
4677
|
}
|
|
4654
4678
|
/**
|
|
4655
4679
|
*
|
|
@@ -11571,6 +11595,37 @@ export interface PosEmployeeDto {
|
|
|
11571
11595
|
*/
|
|
11572
11596
|
'pinHash': string;
|
|
11573
11597
|
}
|
|
11598
|
+
/**
|
|
11599
|
+
*
|
|
11600
|
+
* @export
|
|
11601
|
+
* @interface PosGlobalSettingsResponseDto
|
|
11602
|
+
*/
|
|
11603
|
+
export interface PosGlobalSettingsResponseDto {
|
|
11604
|
+
/**
|
|
11605
|
+
*
|
|
11606
|
+
* @type {number}
|
|
11607
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11608
|
+
*/
|
|
11609
|
+
'businessId': number;
|
|
11610
|
+
/**
|
|
11611
|
+
*
|
|
11612
|
+
* @type {ProviderEnum}
|
|
11613
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11614
|
+
*/
|
|
11615
|
+
'provider': ProviderEnum;
|
|
11616
|
+
/**
|
|
11617
|
+
*
|
|
11618
|
+
* @type {boolean}
|
|
11619
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11620
|
+
*/
|
|
11621
|
+
'hidePosOrdersInOm': boolean;
|
|
11622
|
+
/**
|
|
11623
|
+
*
|
|
11624
|
+
* @type {boolean}
|
|
11625
|
+
* @memberof PosGlobalSettingsResponseDto
|
|
11626
|
+
*/
|
|
11627
|
+
'emitPrintJob': boolean;
|
|
11628
|
+
}
|
|
11574
11629
|
/**
|
|
11575
11630
|
*
|
|
11576
11631
|
* @export
|
|
@@ -17597,6 +17652,19 @@ export interface UpdatePermissionDto {
|
|
|
17597
17652
|
*/
|
|
17598
17653
|
'enabled': boolean;
|
|
17599
17654
|
}
|
|
17655
|
+
/**
|
|
17656
|
+
*
|
|
17657
|
+
* @export
|
|
17658
|
+
* @interface UpdatePosGlobalSettingsDto
|
|
17659
|
+
*/
|
|
17660
|
+
export interface UpdatePosGlobalSettingsDto {
|
|
17661
|
+
/**
|
|
17662
|
+
* Whether POS orders should be hidden from OM for this business.
|
|
17663
|
+
* @type {boolean}
|
|
17664
|
+
* @memberof UpdatePosGlobalSettingsDto
|
|
17665
|
+
*/
|
|
17666
|
+
'hidePosOrdersInOm': boolean;
|
|
17667
|
+
}
|
|
17600
17668
|
/**
|
|
17601
17669
|
*
|
|
17602
17670
|
* @export
|
|
@@ -22573,6 +22641,86 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
|
|
|
22573
22641
|
*/
|
|
22574
22642
|
validateBusiness(businessId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessValidationResponseDto, any, {}>>;
|
|
22575
22643
|
}
|
|
22644
|
+
/**
|
|
22645
|
+
* BusinessProviderPolicyApi - axios parameter creator
|
|
22646
|
+
* @export
|
|
22647
|
+
*/
|
|
22648
|
+
export declare const BusinessProviderPolicyApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22649
|
+
/**
|
|
22650
|
+
*
|
|
22651
|
+
* @summary Update global POS visibility settings for a business
|
|
22652
|
+
* @param {number} businessId Business ID to update
|
|
22653
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22654
|
+
* @param {*} [options] Override http request option.
|
|
22655
|
+
* @throws {RequiredError}
|
|
22656
|
+
*/
|
|
22657
|
+
updatePosGlobalSettings: (businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22658
|
+
};
|
|
22659
|
+
/**
|
|
22660
|
+
* BusinessProviderPolicyApi - functional programming interface
|
|
22661
|
+
* @export
|
|
22662
|
+
*/
|
|
22663
|
+
export declare const BusinessProviderPolicyApiFp: (configuration?: Configuration) => {
|
|
22664
|
+
/**
|
|
22665
|
+
*
|
|
22666
|
+
* @summary Update global POS visibility settings for a business
|
|
22667
|
+
* @param {number} businessId Business ID to update
|
|
22668
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22669
|
+
* @param {*} [options] Override http request option.
|
|
22670
|
+
* @throws {RequiredError}
|
|
22671
|
+
*/
|
|
22672
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PosGlobalSettingsResponseDto>>;
|
|
22673
|
+
};
|
|
22674
|
+
/**
|
|
22675
|
+
* BusinessProviderPolicyApi - factory interface
|
|
22676
|
+
* @export
|
|
22677
|
+
*/
|
|
22678
|
+
export declare const BusinessProviderPolicyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
22679
|
+
/**
|
|
22680
|
+
*
|
|
22681
|
+
* @summary Update global POS visibility settings for a business
|
|
22682
|
+
* @param {number} businessId Business ID to update
|
|
22683
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22684
|
+
* @param {*} [options] Override http request option.
|
|
22685
|
+
* @throws {RequiredError}
|
|
22686
|
+
*/
|
|
22687
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: any): AxiosPromise<PosGlobalSettingsResponseDto>;
|
|
22688
|
+
};
|
|
22689
|
+
/**
|
|
22690
|
+
* BusinessProviderPolicyApi - interface
|
|
22691
|
+
* @export
|
|
22692
|
+
* @interface BusinessProviderPolicyApi
|
|
22693
|
+
*/
|
|
22694
|
+
export interface BusinessProviderPolicyApiInterface {
|
|
22695
|
+
/**
|
|
22696
|
+
*
|
|
22697
|
+
* @summary Update global POS visibility settings for a business
|
|
22698
|
+
* @param {number} businessId Business ID to update
|
|
22699
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22700
|
+
* @param {*} [options] Override http request option.
|
|
22701
|
+
* @throws {RequiredError}
|
|
22702
|
+
* @memberof BusinessProviderPolicyApiInterface
|
|
22703
|
+
*/
|
|
22704
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): AxiosPromise<PosGlobalSettingsResponseDto>;
|
|
22705
|
+
}
|
|
22706
|
+
/**
|
|
22707
|
+
* BusinessProviderPolicyApi - object-oriented interface
|
|
22708
|
+
* @export
|
|
22709
|
+
* @class BusinessProviderPolicyApi
|
|
22710
|
+
* @extends {BaseAPI}
|
|
22711
|
+
*/
|
|
22712
|
+
export declare class BusinessProviderPolicyApi extends BaseAPI implements BusinessProviderPolicyApiInterface {
|
|
22713
|
+
/**
|
|
22714
|
+
*
|
|
22715
|
+
* @summary Update global POS visibility settings for a business
|
|
22716
|
+
* @param {number} businessId Business ID to update
|
|
22717
|
+
* @param {UpdatePosGlobalSettingsDto} updatePosGlobalSettingsDto
|
|
22718
|
+
* @param {*} [options] Override http request option.
|
|
22719
|
+
* @throws {RequiredError}
|
|
22720
|
+
* @memberof BusinessProviderPolicyApi
|
|
22721
|
+
*/
|
|
22722
|
+
updatePosGlobalSettings(businessId: number, updatePosGlobalSettingsDto: UpdatePosGlobalSettingsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosGlobalSettingsResponseDto, any, {}>>;
|
|
22723
|
+
}
|
|
22576
22724
|
/**
|
|
22577
22725
|
* CashManagementApi - axios parameter creator
|
|
22578
22726
|
* @export
|