@munchi_oy/core 1.9.23 → 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 +112 -577
- 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 +216 -1002
- 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
|
|
@@ -12363,6 +12388,12 @@ export interface PosItemDto {
|
|
|
12363
12388
|
* @memberof PosItemDto
|
|
12364
12389
|
*/
|
|
12365
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;
|
|
12366
12397
|
/**
|
|
12367
12398
|
* Order identifier
|
|
12368
12399
|
* @type {string}
|
|
@@ -12979,12 +13010,6 @@ export interface PosOrderItemDto {
|
|
|
12979
13010
|
* @memberof PosOrderItemDto
|
|
12980
13011
|
*/
|
|
12981
13012
|
'printerType'?: PrinterTypeEnum;
|
|
12982
|
-
/**
|
|
12983
|
-
* Resolved target printer address; null/undefined means print on all kitchen printers
|
|
12984
|
-
* @type {string}
|
|
12985
|
-
* @memberof PosOrderItemDto
|
|
12986
|
-
*/
|
|
12987
|
-
'printerId'?: string | null;
|
|
12988
13013
|
/**
|
|
12989
13014
|
*
|
|
12990
13015
|
* @type {Array<PosOrderOptionDto>}
|
|
@@ -13810,108 +13835,6 @@ export interface PriceSummaryDto {
|
|
|
13810
13835
|
*/
|
|
13811
13836
|
'totalNet': number;
|
|
13812
13837
|
}
|
|
13813
|
-
/**
|
|
13814
|
-
*
|
|
13815
|
-
* @export
|
|
13816
|
-
* @interface PrintPolicyDto
|
|
13817
|
-
*/
|
|
13818
|
-
export interface PrintPolicyDto {
|
|
13819
|
-
/**
|
|
13820
|
-
*
|
|
13821
|
-
* @type {number}
|
|
13822
|
-
* @memberof PrintPolicyDto
|
|
13823
|
-
*/
|
|
13824
|
-
'id': number;
|
|
13825
|
-
/**
|
|
13826
|
-
*
|
|
13827
|
-
* @type {number}
|
|
13828
|
-
* @memberof PrintPolicyDto
|
|
13829
|
-
*/
|
|
13830
|
-
'business_id': number;
|
|
13831
|
-
/**
|
|
13832
|
-
*
|
|
13833
|
-
* @type {number}
|
|
13834
|
-
* @memberof PrintPolicyDto
|
|
13835
|
-
*/
|
|
13836
|
-
'printer_id': number;
|
|
13837
|
-
/**
|
|
13838
|
-
*
|
|
13839
|
-
* @type {number}
|
|
13840
|
-
* @memberof PrintPolicyDto
|
|
13841
|
-
*/
|
|
13842
|
-
'product_id'?: number;
|
|
13843
|
-
/**
|
|
13844
|
-
*
|
|
13845
|
-
* @type {number}
|
|
13846
|
-
* @memberof PrintPolicyDto
|
|
13847
|
-
*/
|
|
13848
|
-
'category_id'?: number;
|
|
13849
|
-
}
|
|
13850
|
-
/**
|
|
13851
|
-
*
|
|
13852
|
-
* @export
|
|
13853
|
-
* @enum {string}
|
|
13854
|
-
*/
|
|
13855
|
-
export declare const PrinterConnectionType: {
|
|
13856
|
-
readonly Bluetooth: "bluetooth";
|
|
13857
|
-
readonly Network: "network";
|
|
13858
|
-
};
|
|
13859
|
-
export type PrinterConnectionType = typeof PrinterConnectionType[keyof typeof PrinterConnectionType];
|
|
13860
|
-
/**
|
|
13861
|
-
*
|
|
13862
|
-
* @export
|
|
13863
|
-
* @interface PrinterDto
|
|
13864
|
-
*/
|
|
13865
|
-
export interface PrinterDto {
|
|
13866
|
-
/**
|
|
13867
|
-
*
|
|
13868
|
-
* @type {number}
|
|
13869
|
-
* @memberof PrinterDto
|
|
13870
|
-
*/
|
|
13871
|
-
'id': number;
|
|
13872
|
-
/**
|
|
13873
|
-
*
|
|
13874
|
-
* @type {number}
|
|
13875
|
-
* @memberof PrinterDto
|
|
13876
|
-
*/
|
|
13877
|
-
'businessId': number;
|
|
13878
|
-
/**
|
|
13879
|
-
*
|
|
13880
|
-
* @type {PrinterConnectionType}
|
|
13881
|
-
* @memberof PrinterDto
|
|
13882
|
-
*/
|
|
13883
|
-
'type': PrinterConnectionType;
|
|
13884
|
-
/**
|
|
13885
|
-
*
|
|
13886
|
-
* @type {string}
|
|
13887
|
-
* @memberof PrinterDto
|
|
13888
|
-
*/
|
|
13889
|
-
'address': string;
|
|
13890
|
-
/**
|
|
13891
|
-
*
|
|
13892
|
-
* @type {PrinterModelType}
|
|
13893
|
-
* @memberof PrinterDto
|
|
13894
|
-
*/
|
|
13895
|
-
'model': PrinterModelType;
|
|
13896
|
-
/**
|
|
13897
|
-
*
|
|
13898
|
-
* @type {string}
|
|
13899
|
-
* @memberof PrinterDto
|
|
13900
|
-
*/
|
|
13901
|
-
'name': string;
|
|
13902
|
-
}
|
|
13903
|
-
/**
|
|
13904
|
-
*
|
|
13905
|
-
* @export
|
|
13906
|
-
* @enum {string}
|
|
13907
|
-
*/
|
|
13908
|
-
export declare const PrinterModelType: {
|
|
13909
|
-
readonly Epson: "epson";
|
|
13910
|
-
readonly Star: "star";
|
|
13911
|
-
readonly Sunmi: "sunmi";
|
|
13912
|
-
readonly Label: "label";
|
|
13913
|
-
};
|
|
13914
|
-
export type PrinterModelType = typeof PrinterModelType[keyof typeof PrinterModelType];
|
|
13915
13838
|
/**
|
|
13916
13839
|
*
|
|
13917
13840
|
* @export
|
|
@@ -14514,6 +14437,12 @@ export interface ProductWithCategoryDto {
|
|
|
14514
14437
|
* @memberof ProductWithCategoryDto
|
|
14515
14438
|
*/
|
|
14516
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;
|
|
14517
14446
|
}
|
|
14518
14447
|
/**
|
|
14519
14448
|
*
|
|
@@ -18190,12 +18119,6 @@ export interface UnifiedProductDto {
|
|
|
18190
18119
|
* @memberof UnifiedProductDto
|
|
18191
18120
|
*/
|
|
18192
18121
|
'comment'?: string | null;
|
|
18193
|
-
/**
|
|
18194
|
-
* Resolved target printer address; null/undefined means print on all kitchen printers
|
|
18195
|
-
* @type {string}
|
|
18196
|
-
* @memberof UnifiedProductDto
|
|
18197
|
-
*/
|
|
18198
|
-
'printerId'?: string | null;
|
|
18199
18122
|
/**
|
|
18200
18123
|
*
|
|
18201
18124
|
* @type {KitchenItemStatus}
|
|
@@ -18629,31 +18552,6 @@ export interface UpsertBusinessDto {
|
|
|
18629
18552
|
*/
|
|
18630
18553
|
'chainId'?: string;
|
|
18631
18554
|
}
|
|
18632
|
-
/**
|
|
18633
|
-
*
|
|
18634
|
-
* @export
|
|
18635
|
-
* @interface UpsertCategoryPrintPolicyDto
|
|
18636
|
-
*/
|
|
18637
|
-
export interface UpsertCategoryPrintPolicyDto {
|
|
18638
|
-
/**
|
|
18639
|
-
* Ordering business ID
|
|
18640
|
-
* @type {number}
|
|
18641
|
-
* @memberof UpsertCategoryPrintPolicyDto
|
|
18642
|
-
*/
|
|
18643
|
-
'businessId': number;
|
|
18644
|
-
/**
|
|
18645
|
-
* External category ID
|
|
18646
|
-
* @type {number}
|
|
18647
|
-
* @memberof UpsertCategoryPrintPolicyDto
|
|
18648
|
-
*/
|
|
18649
|
-
'categoryId': number;
|
|
18650
|
-
/**
|
|
18651
|
-
* Target printer row ID
|
|
18652
|
-
* @type {number}
|
|
18653
|
-
* @memberof UpsertCategoryPrintPolicyDto
|
|
18654
|
-
*/
|
|
18655
|
-
'printerId': number;
|
|
18656
|
-
}
|
|
18657
18555
|
/**
|
|
18658
18556
|
*
|
|
18659
18557
|
* @export
|
|
@@ -18977,68 +18875,6 @@ export interface UpsertPaymentOptionsDto {
|
|
|
18977
18875
|
*/
|
|
18978
18876
|
'options': Array<UpsertPaymentOptionDto>;
|
|
18979
18877
|
}
|
|
18980
|
-
/**
|
|
18981
|
-
*
|
|
18982
|
-
* @export
|
|
18983
|
-
* @interface UpsertPrinterDto
|
|
18984
|
-
*/
|
|
18985
|
-
export interface UpsertPrinterDto {
|
|
18986
|
-
/**
|
|
18987
|
-
* Ordering business ID
|
|
18988
|
-
* @type {number}
|
|
18989
|
-
* @memberof UpsertPrinterDto
|
|
18990
|
-
*/
|
|
18991
|
-
'businessId': number;
|
|
18992
|
-
/**
|
|
18993
|
-
*
|
|
18994
|
-
* @type {PrinterConnectionType}
|
|
18995
|
-
* @memberof UpsertPrinterDto
|
|
18996
|
-
*/
|
|
18997
|
-
'type': PrinterConnectionType;
|
|
18998
|
-
/**
|
|
18999
|
-
* Printer address (network host:port or bluetooth MAC)
|
|
19000
|
-
* @type {string}
|
|
19001
|
-
* @memberof UpsertPrinterDto
|
|
19002
|
-
*/
|
|
19003
|
-
'address': string;
|
|
19004
|
-
/**
|
|
19005
|
-
*
|
|
19006
|
-
* @type {PrinterModelType}
|
|
19007
|
-
* @memberof UpsertPrinterDto
|
|
19008
|
-
*/
|
|
19009
|
-
'model': PrinterModelType;
|
|
19010
|
-
/**
|
|
19011
|
-
* Display name
|
|
19012
|
-
* @type {string}
|
|
19013
|
-
* @memberof UpsertPrinterDto
|
|
19014
|
-
*/
|
|
19015
|
-
'name': string;
|
|
19016
|
-
}
|
|
19017
|
-
/**
|
|
19018
|
-
*
|
|
19019
|
-
* @export
|
|
19020
|
-
* @interface UpsertProductPrintPolicyDto
|
|
19021
|
-
*/
|
|
19022
|
-
export interface UpsertProductPrintPolicyDto {
|
|
19023
|
-
/**
|
|
19024
|
-
* Ordering business ID
|
|
19025
|
-
* @type {number}
|
|
19026
|
-
* @memberof UpsertProductPrintPolicyDto
|
|
19027
|
-
*/
|
|
19028
|
-
'businessId': number;
|
|
19029
|
-
/**
|
|
19030
|
-
* External product ID
|
|
19031
|
-
* @type {number}
|
|
19032
|
-
* @memberof UpsertProductPrintPolicyDto
|
|
19033
|
-
*/
|
|
19034
|
-
'productId': number;
|
|
19035
|
-
/**
|
|
19036
|
-
* Target printer row ID
|
|
19037
|
-
* @type {number}
|
|
19038
|
-
* @memberof UpsertProductPrintPolicyDto
|
|
19039
|
-
*/
|
|
19040
|
-
'printerId': number;
|
|
19041
|
-
}
|
|
19042
18878
|
/**
|
|
19043
18879
|
*
|
|
19044
18880
|
* @export
|
|
@@ -24651,6 +24487,81 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
24651
24487
|
*/
|
|
24652
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, {}>>;
|
|
24653
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
|
+
}
|
|
24654
24565
|
/**
|
|
24655
24566
|
* EmployeesApi - axios parameter creator
|
|
24656
24567
|
* @export
|
|
@@ -28846,382 +28757,6 @@ export declare class PluginApi extends BaseAPI implements PluginApiInterface {
|
|
|
28846
28757
|
*/
|
|
28847
28758
|
upsertBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
28848
28759
|
}
|
|
28849
|
-
/**
|
|
28850
|
-
* PrintersApi - axios parameter creator
|
|
28851
|
-
* @export
|
|
28852
|
-
*/
|
|
28853
|
-
export declare const PrintersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28854
|
-
/**
|
|
28855
|
-
*
|
|
28856
|
-
* @param {number} businessId
|
|
28857
|
-
* @param {number} categoryId
|
|
28858
|
-
* @param {*} [options] Override http request option.
|
|
28859
|
-
* @throws {RequiredError}
|
|
28860
|
-
*/
|
|
28861
|
-
deleteCategoryPolicy: (businessId: number, categoryId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28862
|
-
/**
|
|
28863
|
-
*
|
|
28864
|
-
* @param {number} id
|
|
28865
|
-
* @param {*} [options] Override http request option.
|
|
28866
|
-
* @throws {RequiredError}
|
|
28867
|
-
*/
|
|
28868
|
-
deletePrinter: (id: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28869
|
-
/**
|
|
28870
|
-
*
|
|
28871
|
-
* @param {number} businessId
|
|
28872
|
-
* @param {number} productId
|
|
28873
|
-
* @param {*} [options] Override http request option.
|
|
28874
|
-
* @throws {RequiredError}
|
|
28875
|
-
*/
|
|
28876
|
-
deleteProductPolicy: (businessId: number, productId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28877
|
-
/**
|
|
28878
|
-
*
|
|
28879
|
-
* @param {number} businessId
|
|
28880
|
-
* @param {*} [options] Override http request option.
|
|
28881
|
-
* @throws {RequiredError}
|
|
28882
|
-
*/
|
|
28883
|
-
listCategoryPolicies: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28884
|
-
/**
|
|
28885
|
-
*
|
|
28886
|
-
* @param {number} businessId
|
|
28887
|
-
* @param {*} [options] Override http request option.
|
|
28888
|
-
* @throws {RequiredError}
|
|
28889
|
-
*/
|
|
28890
|
-
listPrinters: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28891
|
-
/**
|
|
28892
|
-
*
|
|
28893
|
-
* @param {number} businessId
|
|
28894
|
-
* @param {*} [options] Override http request option.
|
|
28895
|
-
* @throws {RequiredError}
|
|
28896
|
-
*/
|
|
28897
|
-
listProductPolicies: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28898
|
-
/**
|
|
28899
|
-
*
|
|
28900
|
-
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
28901
|
-
* @param {*} [options] Override http request option.
|
|
28902
|
-
* @throws {RequiredError}
|
|
28903
|
-
*/
|
|
28904
|
-
upsertCategoryPolicy: (upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28905
|
-
/**
|
|
28906
|
-
*
|
|
28907
|
-
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
28908
|
-
* @param {*} [options] Override http request option.
|
|
28909
|
-
* @throws {RequiredError}
|
|
28910
|
-
*/
|
|
28911
|
-
upsertPrinter: (upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28912
|
-
/**
|
|
28913
|
-
*
|
|
28914
|
-
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
28915
|
-
* @param {*} [options] Override http request option.
|
|
28916
|
-
* @throws {RequiredError}
|
|
28917
|
-
*/
|
|
28918
|
-
upsertProductPolicy: (upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28919
|
-
};
|
|
28920
|
-
/**
|
|
28921
|
-
* PrintersApi - functional programming interface
|
|
28922
|
-
* @export
|
|
28923
|
-
*/
|
|
28924
|
-
export declare const PrintersApiFp: (configuration?: Configuration) => {
|
|
28925
|
-
/**
|
|
28926
|
-
*
|
|
28927
|
-
* @param {number} businessId
|
|
28928
|
-
* @param {number} categoryId
|
|
28929
|
-
* @param {*} [options] Override http request option.
|
|
28930
|
-
* @throws {RequiredError}
|
|
28931
|
-
*/
|
|
28932
|
-
deleteCategoryPolicy(businessId: number, categoryId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
28933
|
-
/**
|
|
28934
|
-
*
|
|
28935
|
-
* @param {number} id
|
|
28936
|
-
* @param {*} [options] Override http request option.
|
|
28937
|
-
* @throws {RequiredError}
|
|
28938
|
-
*/
|
|
28939
|
-
deletePrinter(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
28940
|
-
/**
|
|
28941
|
-
*
|
|
28942
|
-
* @param {number} businessId
|
|
28943
|
-
* @param {number} productId
|
|
28944
|
-
* @param {*} [options] Override http request option.
|
|
28945
|
-
* @throws {RequiredError}
|
|
28946
|
-
*/
|
|
28947
|
-
deleteProductPolicy(businessId: number, productId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
28948
|
-
/**
|
|
28949
|
-
*
|
|
28950
|
-
* @param {number} businessId
|
|
28951
|
-
* @param {*} [options] Override http request option.
|
|
28952
|
-
* @throws {RequiredError}
|
|
28953
|
-
*/
|
|
28954
|
-
listCategoryPolicies(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
|
|
28955
|
-
/**
|
|
28956
|
-
*
|
|
28957
|
-
* @param {number} businessId
|
|
28958
|
-
* @param {*} [options] Override http request option.
|
|
28959
|
-
* @throws {RequiredError}
|
|
28960
|
-
*/
|
|
28961
|
-
listPrinters(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrinterDto>>>;
|
|
28962
|
-
/**
|
|
28963
|
-
*
|
|
28964
|
-
* @param {number} businessId
|
|
28965
|
-
* @param {*} [options] Override http request option.
|
|
28966
|
-
* @throws {RequiredError}
|
|
28967
|
-
*/
|
|
28968
|
-
listProductPolicies(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
|
|
28969
|
-
/**
|
|
28970
|
-
*
|
|
28971
|
-
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
28972
|
-
* @param {*} [options] Override http request option.
|
|
28973
|
-
* @throws {RequiredError}
|
|
28974
|
-
*/
|
|
28975
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto>>;
|
|
28976
|
-
/**
|
|
28977
|
-
*
|
|
28978
|
-
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
28979
|
-
* @param {*} [options] Override http request option.
|
|
28980
|
-
* @throws {RequiredError}
|
|
28981
|
-
*/
|
|
28982
|
-
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrinterDto>>;
|
|
28983
|
-
/**
|
|
28984
|
-
*
|
|
28985
|
-
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
28986
|
-
* @param {*} [options] Override http request option.
|
|
28987
|
-
* @throws {RequiredError}
|
|
28988
|
-
*/
|
|
28989
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto>>;
|
|
28990
|
-
};
|
|
28991
|
-
/**
|
|
28992
|
-
* PrintersApi - factory interface
|
|
28993
|
-
* @export
|
|
28994
|
-
*/
|
|
28995
|
-
export declare const PrintersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
28996
|
-
/**
|
|
28997
|
-
*
|
|
28998
|
-
* @param {number} businessId
|
|
28999
|
-
* @param {number} categoryId
|
|
29000
|
-
* @param {*} [options] Override http request option.
|
|
29001
|
-
* @throws {RequiredError}
|
|
29002
|
-
*/
|
|
29003
|
-
deleteCategoryPolicy(businessId: number, categoryId: number, options?: any): AxiosPromise<void>;
|
|
29004
|
-
/**
|
|
29005
|
-
*
|
|
29006
|
-
* @param {number} id
|
|
29007
|
-
* @param {*} [options] Override http request option.
|
|
29008
|
-
* @throws {RequiredError}
|
|
29009
|
-
*/
|
|
29010
|
-
deletePrinter(id: number, options?: any): AxiosPromise<void>;
|
|
29011
|
-
/**
|
|
29012
|
-
*
|
|
29013
|
-
* @param {number} businessId
|
|
29014
|
-
* @param {number} productId
|
|
29015
|
-
* @param {*} [options] Override http request option.
|
|
29016
|
-
* @throws {RequiredError}
|
|
29017
|
-
*/
|
|
29018
|
-
deleteProductPolicy(businessId: number, productId: number, options?: any): AxiosPromise<void>;
|
|
29019
|
-
/**
|
|
29020
|
-
*
|
|
29021
|
-
* @param {number} businessId
|
|
29022
|
-
* @param {*} [options] Override http request option.
|
|
29023
|
-
* @throws {RequiredError}
|
|
29024
|
-
*/
|
|
29025
|
-
listCategoryPolicies(businessId: number, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29026
|
-
/**
|
|
29027
|
-
*
|
|
29028
|
-
* @param {number} businessId
|
|
29029
|
-
* @param {*} [options] Override http request option.
|
|
29030
|
-
* @throws {RequiredError}
|
|
29031
|
-
*/
|
|
29032
|
-
listPrinters(businessId: number, options?: any): AxiosPromise<Array<PrinterDto>>;
|
|
29033
|
-
/**
|
|
29034
|
-
*
|
|
29035
|
-
* @param {number} businessId
|
|
29036
|
-
* @param {*} [options] Override http request option.
|
|
29037
|
-
* @throws {RequiredError}
|
|
29038
|
-
*/
|
|
29039
|
-
listProductPolicies(businessId: number, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29040
|
-
/**
|
|
29041
|
-
*
|
|
29042
|
-
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29043
|
-
* @param {*} [options] Override http request option.
|
|
29044
|
-
* @throws {RequiredError}
|
|
29045
|
-
*/
|
|
29046
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
|
|
29047
|
-
/**
|
|
29048
|
-
*
|
|
29049
|
-
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29050
|
-
* @param {*} [options] Override http request option.
|
|
29051
|
-
* @throws {RequiredError}
|
|
29052
|
-
*/
|
|
29053
|
-
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: any): AxiosPromise<PrinterDto>;
|
|
29054
|
-
/**
|
|
29055
|
-
*
|
|
29056
|
-
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29057
|
-
* @param {*} [options] Override http request option.
|
|
29058
|
-
* @throws {RequiredError}
|
|
29059
|
-
*/
|
|
29060
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
|
|
29061
|
-
};
|
|
29062
|
-
/**
|
|
29063
|
-
* PrintersApi - interface
|
|
29064
|
-
* @export
|
|
29065
|
-
* @interface PrintersApi
|
|
29066
|
-
*/
|
|
29067
|
-
export interface PrintersApiInterface {
|
|
29068
|
-
/**
|
|
29069
|
-
*
|
|
29070
|
-
* @param {number} businessId
|
|
29071
|
-
* @param {number} categoryId
|
|
29072
|
-
* @param {*} [options] Override http request option.
|
|
29073
|
-
* @throws {RequiredError}
|
|
29074
|
-
* @memberof PrintersApiInterface
|
|
29075
|
-
*/
|
|
29076
|
-
deleteCategoryPolicy(businessId: number, categoryId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29077
|
-
/**
|
|
29078
|
-
*
|
|
29079
|
-
* @param {number} id
|
|
29080
|
-
* @param {*} [options] Override http request option.
|
|
29081
|
-
* @throws {RequiredError}
|
|
29082
|
-
* @memberof PrintersApiInterface
|
|
29083
|
-
*/
|
|
29084
|
-
deletePrinter(id: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29085
|
-
/**
|
|
29086
|
-
*
|
|
29087
|
-
* @param {number} businessId
|
|
29088
|
-
* @param {number} productId
|
|
29089
|
-
* @param {*} [options] Override http request option.
|
|
29090
|
-
* @throws {RequiredError}
|
|
29091
|
-
* @memberof PrintersApiInterface
|
|
29092
|
-
*/
|
|
29093
|
-
deleteProductPolicy(businessId: number, productId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29094
|
-
/**
|
|
29095
|
-
*
|
|
29096
|
-
* @param {number} businessId
|
|
29097
|
-
* @param {*} [options] Override http request option.
|
|
29098
|
-
* @throws {RequiredError}
|
|
29099
|
-
* @memberof PrintersApiInterface
|
|
29100
|
-
*/
|
|
29101
|
-
listCategoryPolicies(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29102
|
-
/**
|
|
29103
|
-
*
|
|
29104
|
-
* @param {number} businessId
|
|
29105
|
-
* @param {*} [options] Override http request option.
|
|
29106
|
-
* @throws {RequiredError}
|
|
29107
|
-
* @memberof PrintersApiInterface
|
|
29108
|
-
*/
|
|
29109
|
-
listPrinters(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PrinterDto>>;
|
|
29110
|
-
/**
|
|
29111
|
-
*
|
|
29112
|
-
* @param {number} businessId
|
|
29113
|
-
* @param {*} [options] Override http request option.
|
|
29114
|
-
* @throws {RequiredError}
|
|
29115
|
-
* @memberof PrintersApiInterface
|
|
29116
|
-
*/
|
|
29117
|
-
listProductPolicies(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29118
|
-
/**
|
|
29119
|
-
*
|
|
29120
|
-
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29121
|
-
* @param {*} [options] Override http request option.
|
|
29122
|
-
* @throws {RequiredError}
|
|
29123
|
-
* @memberof PrintersApiInterface
|
|
29124
|
-
*/
|
|
29125
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
|
|
29126
|
-
/**
|
|
29127
|
-
*
|
|
29128
|
-
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29129
|
-
* @param {*} [options] Override http request option.
|
|
29130
|
-
* @throws {RequiredError}
|
|
29131
|
-
* @memberof PrintersApiInterface
|
|
29132
|
-
*/
|
|
29133
|
-
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig): AxiosPromise<PrinterDto>;
|
|
29134
|
-
/**
|
|
29135
|
-
*
|
|
29136
|
-
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29137
|
-
* @param {*} [options] Override http request option.
|
|
29138
|
-
* @throws {RequiredError}
|
|
29139
|
-
* @memberof PrintersApiInterface
|
|
29140
|
-
*/
|
|
29141
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
|
|
29142
|
-
}
|
|
29143
|
-
/**
|
|
29144
|
-
* PrintersApi - object-oriented interface
|
|
29145
|
-
* @export
|
|
29146
|
-
* @class PrintersApi
|
|
29147
|
-
* @extends {BaseAPI}
|
|
29148
|
-
*/
|
|
29149
|
-
export declare class PrintersApi extends BaseAPI implements PrintersApiInterface {
|
|
29150
|
-
/**
|
|
29151
|
-
*
|
|
29152
|
-
* @param {number} businessId
|
|
29153
|
-
* @param {number} categoryId
|
|
29154
|
-
* @param {*} [options] Override http request option.
|
|
29155
|
-
* @throws {RequiredError}
|
|
29156
|
-
* @memberof PrintersApi
|
|
29157
|
-
*/
|
|
29158
|
-
deleteCategoryPolicy(businessId: number, categoryId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29159
|
-
/**
|
|
29160
|
-
*
|
|
29161
|
-
* @param {number} id
|
|
29162
|
-
* @param {*} [options] Override http request option.
|
|
29163
|
-
* @throws {RequiredError}
|
|
29164
|
-
* @memberof PrintersApi
|
|
29165
|
-
*/
|
|
29166
|
-
deletePrinter(id: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29167
|
-
/**
|
|
29168
|
-
*
|
|
29169
|
-
* @param {number} businessId
|
|
29170
|
-
* @param {number} productId
|
|
29171
|
-
* @param {*} [options] Override http request option.
|
|
29172
|
-
* @throws {RequiredError}
|
|
29173
|
-
* @memberof PrintersApi
|
|
29174
|
-
*/
|
|
29175
|
-
deleteProductPolicy(businessId: number, productId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29176
|
-
/**
|
|
29177
|
-
*
|
|
29178
|
-
* @param {number} businessId
|
|
29179
|
-
* @param {*} [options] Override http request option.
|
|
29180
|
-
* @throws {RequiredError}
|
|
29181
|
-
* @memberof PrintersApi
|
|
29182
|
-
*/
|
|
29183
|
-
listCategoryPolicies(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
|
|
29184
|
-
/**
|
|
29185
|
-
*
|
|
29186
|
-
* @param {number} businessId
|
|
29187
|
-
* @param {*} [options] Override http request option.
|
|
29188
|
-
* @throws {RequiredError}
|
|
29189
|
-
* @memberof PrintersApi
|
|
29190
|
-
*/
|
|
29191
|
-
listPrinters(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrinterDto[], any, {}>>;
|
|
29192
|
-
/**
|
|
29193
|
-
*
|
|
29194
|
-
* @param {number} businessId
|
|
29195
|
-
* @param {*} [options] Override http request option.
|
|
29196
|
-
* @throws {RequiredError}
|
|
29197
|
-
* @memberof PrintersApi
|
|
29198
|
-
*/
|
|
29199
|
-
listProductPolicies(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
|
|
29200
|
-
/**
|
|
29201
|
-
*
|
|
29202
|
-
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29203
|
-
* @param {*} [options] Override http request option.
|
|
29204
|
-
* @throws {RequiredError}
|
|
29205
|
-
* @memberof PrintersApi
|
|
29206
|
-
*/
|
|
29207
|
-
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
|
|
29208
|
-
/**
|
|
29209
|
-
*
|
|
29210
|
-
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29211
|
-
* @param {*} [options] Override http request option.
|
|
29212
|
-
* @throws {RequiredError}
|
|
29213
|
-
* @memberof PrintersApi
|
|
29214
|
-
*/
|
|
29215
|
-
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrinterDto, any, {}>>;
|
|
29216
|
-
/**
|
|
29217
|
-
*
|
|
29218
|
-
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29219
|
-
* @param {*} [options] Override http request option.
|
|
29220
|
-
* @throws {RequiredError}
|
|
29221
|
-
* @memberof PrintersApi
|
|
29222
|
-
*/
|
|
29223
|
-
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
|
|
29224
|
-
}
|
|
29225
28760
|
/**
|
|
29226
28761
|
* ProductApi - axios parameter creator
|
|
29227
28762
|
* @export
|