@munchi_oy/core 1.9.24 → 1.9.26
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 +636 -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 +1059 -0
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3070,6 +3070,12 @@ export interface CourseDto {
|
|
|
3070
3070
|
* @memberof CourseDto
|
|
3071
3071
|
*/
|
|
3072
3072
|
'name': string;
|
|
3073
|
+
/**
|
|
3074
|
+
* Whether the course fires automatically to the kitchen
|
|
3075
|
+
* @type {boolean}
|
|
3076
|
+
* @memberof CourseDto
|
|
3077
|
+
*/
|
|
3078
|
+
'autoFire'?: boolean;
|
|
3073
3079
|
}
|
|
3074
3080
|
/**
|
|
3075
3081
|
*
|
|
@@ -13010,6 +13016,12 @@ export interface PosOrderItemDto {
|
|
|
13010
13016
|
* @memberof PosOrderItemDto
|
|
13011
13017
|
*/
|
|
13012
13018
|
'printerType'?: PrinterTypeEnum;
|
|
13019
|
+
/**
|
|
13020
|
+
* Resolved target printer address; null/undefined means print on all kitchen printers
|
|
13021
|
+
* @type {string}
|
|
13022
|
+
* @memberof PosOrderItemDto
|
|
13023
|
+
*/
|
|
13024
|
+
'printerId'?: string | null;
|
|
13013
13025
|
/**
|
|
13014
13026
|
*
|
|
13015
13027
|
* @type {Array<PosOrderOptionDto>}
|
|
@@ -13034,6 +13046,12 @@ export interface PosOrderItemDto {
|
|
|
13034
13046
|
* @memberof PosOrderItemDto
|
|
13035
13047
|
*/
|
|
13036
13048
|
'category_id': number | null;
|
|
13049
|
+
/**
|
|
13050
|
+
* Course ID override for this line item
|
|
13051
|
+
* @type {string}
|
|
13052
|
+
* @memberof PosOrderItemDto
|
|
13053
|
+
*/
|
|
13054
|
+
'courseId'?: string | null;
|
|
13037
13055
|
}
|
|
13038
13056
|
/**
|
|
13039
13057
|
*
|
|
@@ -13835,6 +13853,108 @@ export interface PriceSummaryDto {
|
|
|
13835
13853
|
*/
|
|
13836
13854
|
'totalNet': number;
|
|
13837
13855
|
}
|
|
13856
|
+
/**
|
|
13857
|
+
*
|
|
13858
|
+
* @export
|
|
13859
|
+
* @interface PrintPolicyDto
|
|
13860
|
+
*/
|
|
13861
|
+
export interface PrintPolicyDto {
|
|
13862
|
+
/**
|
|
13863
|
+
*
|
|
13864
|
+
* @type {number}
|
|
13865
|
+
* @memberof PrintPolicyDto
|
|
13866
|
+
*/
|
|
13867
|
+
'id': number;
|
|
13868
|
+
/**
|
|
13869
|
+
*
|
|
13870
|
+
* @type {number}
|
|
13871
|
+
* @memberof PrintPolicyDto
|
|
13872
|
+
*/
|
|
13873
|
+
'business_id': number;
|
|
13874
|
+
/**
|
|
13875
|
+
*
|
|
13876
|
+
* @type {number}
|
|
13877
|
+
* @memberof PrintPolicyDto
|
|
13878
|
+
*/
|
|
13879
|
+
'printer_id': number;
|
|
13880
|
+
/**
|
|
13881
|
+
*
|
|
13882
|
+
* @type {number}
|
|
13883
|
+
* @memberof PrintPolicyDto
|
|
13884
|
+
*/
|
|
13885
|
+
'product_id'?: number;
|
|
13886
|
+
/**
|
|
13887
|
+
*
|
|
13888
|
+
* @type {number}
|
|
13889
|
+
* @memberof PrintPolicyDto
|
|
13890
|
+
*/
|
|
13891
|
+
'category_id'?: number;
|
|
13892
|
+
}
|
|
13893
|
+
/**
|
|
13894
|
+
*
|
|
13895
|
+
* @export
|
|
13896
|
+
* @enum {string}
|
|
13897
|
+
*/
|
|
13898
|
+
export declare const PrinterConnectionType: {
|
|
13899
|
+
readonly Bluetooth: "bluetooth";
|
|
13900
|
+
readonly Network: "network";
|
|
13901
|
+
};
|
|
13902
|
+
export type PrinterConnectionType = typeof PrinterConnectionType[keyof typeof PrinterConnectionType];
|
|
13903
|
+
/**
|
|
13904
|
+
*
|
|
13905
|
+
* @export
|
|
13906
|
+
* @interface PrinterDto
|
|
13907
|
+
*/
|
|
13908
|
+
export interface PrinterDto {
|
|
13909
|
+
/**
|
|
13910
|
+
*
|
|
13911
|
+
* @type {number}
|
|
13912
|
+
* @memberof PrinterDto
|
|
13913
|
+
*/
|
|
13914
|
+
'id': number;
|
|
13915
|
+
/**
|
|
13916
|
+
*
|
|
13917
|
+
* @type {number}
|
|
13918
|
+
* @memberof PrinterDto
|
|
13919
|
+
*/
|
|
13920
|
+
'businessId': number;
|
|
13921
|
+
/**
|
|
13922
|
+
*
|
|
13923
|
+
* @type {PrinterConnectionType}
|
|
13924
|
+
* @memberof PrinterDto
|
|
13925
|
+
*/
|
|
13926
|
+
'type': PrinterConnectionType;
|
|
13927
|
+
/**
|
|
13928
|
+
*
|
|
13929
|
+
* @type {string}
|
|
13930
|
+
* @memberof PrinterDto
|
|
13931
|
+
*/
|
|
13932
|
+
'address': string;
|
|
13933
|
+
/**
|
|
13934
|
+
*
|
|
13935
|
+
* @type {PrinterModelType}
|
|
13936
|
+
* @memberof PrinterDto
|
|
13937
|
+
*/
|
|
13938
|
+
'model': PrinterModelType;
|
|
13939
|
+
/**
|
|
13940
|
+
*
|
|
13941
|
+
* @type {string}
|
|
13942
|
+
* @memberof PrinterDto
|
|
13943
|
+
*/
|
|
13944
|
+
'name': string;
|
|
13945
|
+
}
|
|
13946
|
+
/**
|
|
13947
|
+
*
|
|
13948
|
+
* @export
|
|
13949
|
+
* @enum {string}
|
|
13950
|
+
*/
|
|
13951
|
+
export declare const PrinterModelType: {
|
|
13952
|
+
readonly Epson: "epson";
|
|
13953
|
+
readonly Star: "star";
|
|
13954
|
+
readonly Sunmi: "sunmi";
|
|
13955
|
+
readonly Label: "label";
|
|
13956
|
+
};
|
|
13957
|
+
export type PrinterModelType = typeof PrinterModelType[keyof typeof PrinterModelType];
|
|
13838
13958
|
/**
|
|
13839
13959
|
*
|
|
13840
13960
|
* @export
|
|
@@ -18119,6 +18239,12 @@ export interface UnifiedProductDto {
|
|
|
18119
18239
|
* @memberof UnifiedProductDto
|
|
18120
18240
|
*/
|
|
18121
18241
|
'comment'?: string | null;
|
|
18242
|
+
/**
|
|
18243
|
+
* Resolved target printer address; null/undefined means print on all kitchen printers
|
|
18244
|
+
* @type {string}
|
|
18245
|
+
* @memberof UnifiedProductDto
|
|
18246
|
+
*/
|
|
18247
|
+
'printerId'?: string | null;
|
|
18122
18248
|
/**
|
|
18123
18249
|
*
|
|
18124
18250
|
* @type {KitchenItemStatus}
|
|
@@ -18552,6 +18678,31 @@ export interface UpsertBusinessDto {
|
|
|
18552
18678
|
*/
|
|
18553
18679
|
'chainId'?: string;
|
|
18554
18680
|
}
|
|
18681
|
+
/**
|
|
18682
|
+
*
|
|
18683
|
+
* @export
|
|
18684
|
+
* @interface UpsertCategoryPrintPolicyDto
|
|
18685
|
+
*/
|
|
18686
|
+
export interface UpsertCategoryPrintPolicyDto {
|
|
18687
|
+
/**
|
|
18688
|
+
* Ordering business ID
|
|
18689
|
+
* @type {number}
|
|
18690
|
+
* @memberof UpsertCategoryPrintPolicyDto
|
|
18691
|
+
*/
|
|
18692
|
+
'businessId': number;
|
|
18693
|
+
/**
|
|
18694
|
+
* External category ID
|
|
18695
|
+
* @type {number}
|
|
18696
|
+
* @memberof UpsertCategoryPrintPolicyDto
|
|
18697
|
+
*/
|
|
18698
|
+
'categoryId': number;
|
|
18699
|
+
/**
|
|
18700
|
+
* Target printer row ID
|
|
18701
|
+
* @type {number}
|
|
18702
|
+
* @memberof UpsertCategoryPrintPolicyDto
|
|
18703
|
+
*/
|
|
18704
|
+
'printerId': number;
|
|
18705
|
+
}
|
|
18555
18706
|
/**
|
|
18556
18707
|
*
|
|
18557
18708
|
* @export
|
|
@@ -18875,6 +19026,68 @@ export interface UpsertPaymentOptionsDto {
|
|
|
18875
19026
|
*/
|
|
18876
19027
|
'options': Array<UpsertPaymentOptionDto>;
|
|
18877
19028
|
}
|
|
19029
|
+
/**
|
|
19030
|
+
*
|
|
19031
|
+
* @export
|
|
19032
|
+
* @interface UpsertPrinterDto
|
|
19033
|
+
*/
|
|
19034
|
+
export interface UpsertPrinterDto {
|
|
19035
|
+
/**
|
|
19036
|
+
* Ordering business ID
|
|
19037
|
+
* @type {number}
|
|
19038
|
+
* @memberof UpsertPrinterDto
|
|
19039
|
+
*/
|
|
19040
|
+
'businessId': number;
|
|
19041
|
+
/**
|
|
19042
|
+
*
|
|
19043
|
+
* @type {PrinterConnectionType}
|
|
19044
|
+
* @memberof UpsertPrinterDto
|
|
19045
|
+
*/
|
|
19046
|
+
'type': PrinterConnectionType;
|
|
19047
|
+
/**
|
|
19048
|
+
* Printer address (network host:port or bluetooth MAC)
|
|
19049
|
+
* @type {string}
|
|
19050
|
+
* @memberof UpsertPrinterDto
|
|
19051
|
+
*/
|
|
19052
|
+
'address': string;
|
|
19053
|
+
/**
|
|
19054
|
+
*
|
|
19055
|
+
* @type {PrinterModelType}
|
|
19056
|
+
* @memberof UpsertPrinterDto
|
|
19057
|
+
*/
|
|
19058
|
+
'model': PrinterModelType;
|
|
19059
|
+
/**
|
|
19060
|
+
* Display name
|
|
19061
|
+
* @type {string}
|
|
19062
|
+
* @memberof UpsertPrinterDto
|
|
19063
|
+
*/
|
|
19064
|
+
'name': string;
|
|
19065
|
+
}
|
|
19066
|
+
/**
|
|
19067
|
+
*
|
|
19068
|
+
* @export
|
|
19069
|
+
* @interface UpsertProductPrintPolicyDto
|
|
19070
|
+
*/
|
|
19071
|
+
export interface UpsertProductPrintPolicyDto {
|
|
19072
|
+
/**
|
|
19073
|
+
* Ordering business ID
|
|
19074
|
+
* @type {number}
|
|
19075
|
+
* @memberof UpsertProductPrintPolicyDto
|
|
19076
|
+
*/
|
|
19077
|
+
'businessId': number;
|
|
19078
|
+
/**
|
|
19079
|
+
* External product ID
|
|
19080
|
+
* @type {number}
|
|
19081
|
+
* @memberof UpsertProductPrintPolicyDto
|
|
19082
|
+
*/
|
|
19083
|
+
'productId': number;
|
|
19084
|
+
/**
|
|
19085
|
+
* Target printer row ID
|
|
19086
|
+
* @type {number}
|
|
19087
|
+
* @memberof UpsertProductPrintPolicyDto
|
|
19088
|
+
*/
|
|
19089
|
+
'printerId': number;
|
|
19090
|
+
}
|
|
18878
19091
|
/**
|
|
18879
19092
|
*
|
|
18880
19093
|
* @export
|
|
@@ -28757,6 +28970,429 @@ export declare class PluginApi extends BaseAPI implements PluginApiInterface {
|
|
|
28757
28970
|
*/
|
|
28758
28971
|
upsertBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
28759
28972
|
}
|
|
28973
|
+
/**
|
|
28974
|
+
* PrintersApi - axios parameter creator
|
|
28975
|
+
* @export
|
|
28976
|
+
*/
|
|
28977
|
+
export declare const PrintersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28978
|
+
/**
|
|
28979
|
+
*
|
|
28980
|
+
* @param {number} businessId
|
|
28981
|
+
* @param {number} categoryId
|
|
28982
|
+
* @param {*} [options] Override http request option.
|
|
28983
|
+
* @throws {RequiredError}
|
|
28984
|
+
*/
|
|
28985
|
+
deleteCategoryPolicy: (businessId: number, categoryId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28986
|
+
/**
|
|
28987
|
+
*
|
|
28988
|
+
* @param {number} id
|
|
28989
|
+
* @param {number} businessId
|
|
28990
|
+
* @param {*} [options] Override http request option.
|
|
28991
|
+
* @throws {RequiredError}
|
|
28992
|
+
*/
|
|
28993
|
+
deletePrinter: (id: number, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28994
|
+
/**
|
|
28995
|
+
*
|
|
28996
|
+
* @param {number} businessId
|
|
28997
|
+
* @param {string} address
|
|
28998
|
+
* @param {*} [options] Override http request option.
|
|
28999
|
+
* @throws {RequiredError}
|
|
29000
|
+
*/
|
|
29001
|
+
deletePrinterByAddress: (businessId: number, address: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29002
|
+
/**
|
|
29003
|
+
*
|
|
29004
|
+
* @param {number} businessId
|
|
29005
|
+
* @param {number} productId
|
|
29006
|
+
* @param {*} [options] Override http request option.
|
|
29007
|
+
* @throws {RequiredError}
|
|
29008
|
+
*/
|
|
29009
|
+
deleteProductPolicy: (businessId: number, productId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29010
|
+
/**
|
|
29011
|
+
*
|
|
29012
|
+
* @param {number} businessId
|
|
29013
|
+
* @param {*} [options] Override http request option.
|
|
29014
|
+
* @throws {RequiredError}
|
|
29015
|
+
*/
|
|
29016
|
+
listCategoryPolicies: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29017
|
+
/**
|
|
29018
|
+
*
|
|
29019
|
+
* @param {number} businessId
|
|
29020
|
+
* @param {*} [options] Override http request option.
|
|
29021
|
+
* @throws {RequiredError}
|
|
29022
|
+
*/
|
|
29023
|
+
listPrinters: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29024
|
+
/**
|
|
29025
|
+
*
|
|
29026
|
+
* @param {number} businessId
|
|
29027
|
+
* @param {*} [options] Override http request option.
|
|
29028
|
+
* @throws {RequiredError}
|
|
29029
|
+
*/
|
|
29030
|
+
listProductPolicies: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29031
|
+
/**
|
|
29032
|
+
*
|
|
29033
|
+
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29034
|
+
* @param {*} [options] Override http request option.
|
|
29035
|
+
* @throws {RequiredError}
|
|
29036
|
+
*/
|
|
29037
|
+
upsertCategoryPolicy: (upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29038
|
+
/**
|
|
29039
|
+
*
|
|
29040
|
+
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29041
|
+
* @param {*} [options] Override http request option.
|
|
29042
|
+
* @throws {RequiredError}
|
|
29043
|
+
*/
|
|
29044
|
+
upsertPrinter: (upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29045
|
+
/**
|
|
29046
|
+
*
|
|
29047
|
+
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29048
|
+
* @param {*} [options] Override http request option.
|
|
29049
|
+
* @throws {RequiredError}
|
|
29050
|
+
*/
|
|
29051
|
+
upsertProductPolicy: (upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29052
|
+
};
|
|
29053
|
+
/**
|
|
29054
|
+
* PrintersApi - functional programming interface
|
|
29055
|
+
* @export
|
|
29056
|
+
*/
|
|
29057
|
+
export declare const PrintersApiFp: (configuration?: Configuration) => {
|
|
29058
|
+
/**
|
|
29059
|
+
*
|
|
29060
|
+
* @param {number} businessId
|
|
29061
|
+
* @param {number} categoryId
|
|
29062
|
+
* @param {*} [options] Override http request option.
|
|
29063
|
+
* @throws {RequiredError}
|
|
29064
|
+
*/
|
|
29065
|
+
deleteCategoryPolicy(businessId: number, categoryId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
29066
|
+
/**
|
|
29067
|
+
*
|
|
29068
|
+
* @param {number} id
|
|
29069
|
+
* @param {number} businessId
|
|
29070
|
+
* @param {*} [options] Override http request option.
|
|
29071
|
+
* @throws {RequiredError}
|
|
29072
|
+
*/
|
|
29073
|
+
deletePrinter(id: number, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
29074
|
+
/**
|
|
29075
|
+
*
|
|
29076
|
+
* @param {number} businessId
|
|
29077
|
+
* @param {string} address
|
|
29078
|
+
* @param {*} [options] Override http request option.
|
|
29079
|
+
* @throws {RequiredError}
|
|
29080
|
+
*/
|
|
29081
|
+
deletePrinterByAddress(businessId: number, address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
29082
|
+
/**
|
|
29083
|
+
*
|
|
29084
|
+
* @param {number} businessId
|
|
29085
|
+
* @param {number} productId
|
|
29086
|
+
* @param {*} [options] Override http request option.
|
|
29087
|
+
* @throws {RequiredError}
|
|
29088
|
+
*/
|
|
29089
|
+
deleteProductPolicy(businessId: number, productId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
29090
|
+
/**
|
|
29091
|
+
*
|
|
29092
|
+
* @param {number} businessId
|
|
29093
|
+
* @param {*} [options] Override http request option.
|
|
29094
|
+
* @throws {RequiredError}
|
|
29095
|
+
*/
|
|
29096
|
+
listCategoryPolicies(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
|
|
29097
|
+
/**
|
|
29098
|
+
*
|
|
29099
|
+
* @param {number} businessId
|
|
29100
|
+
* @param {*} [options] Override http request option.
|
|
29101
|
+
* @throws {RequiredError}
|
|
29102
|
+
*/
|
|
29103
|
+
listPrinters(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrinterDto>>>;
|
|
29104
|
+
/**
|
|
29105
|
+
*
|
|
29106
|
+
* @param {number} businessId
|
|
29107
|
+
* @param {*} [options] Override http request option.
|
|
29108
|
+
* @throws {RequiredError}
|
|
29109
|
+
*/
|
|
29110
|
+
listProductPolicies(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PrintPolicyDto>>>;
|
|
29111
|
+
/**
|
|
29112
|
+
*
|
|
29113
|
+
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29114
|
+
* @param {*} [options] Override http request option.
|
|
29115
|
+
* @throws {RequiredError}
|
|
29116
|
+
*/
|
|
29117
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto>>;
|
|
29118
|
+
/**
|
|
29119
|
+
*
|
|
29120
|
+
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29121
|
+
* @param {*} [options] Override http request option.
|
|
29122
|
+
* @throws {RequiredError}
|
|
29123
|
+
*/
|
|
29124
|
+
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrinterDto>>;
|
|
29125
|
+
/**
|
|
29126
|
+
*
|
|
29127
|
+
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29128
|
+
* @param {*} [options] Override http request option.
|
|
29129
|
+
* @throws {RequiredError}
|
|
29130
|
+
*/
|
|
29131
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrintPolicyDto>>;
|
|
29132
|
+
};
|
|
29133
|
+
/**
|
|
29134
|
+
* PrintersApi - factory interface
|
|
29135
|
+
* @export
|
|
29136
|
+
*/
|
|
29137
|
+
export declare const PrintersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
29138
|
+
/**
|
|
29139
|
+
*
|
|
29140
|
+
* @param {number} businessId
|
|
29141
|
+
* @param {number} categoryId
|
|
29142
|
+
* @param {*} [options] Override http request option.
|
|
29143
|
+
* @throws {RequiredError}
|
|
29144
|
+
*/
|
|
29145
|
+
deleteCategoryPolicy(businessId: number, categoryId: number, options?: any): AxiosPromise<void>;
|
|
29146
|
+
/**
|
|
29147
|
+
*
|
|
29148
|
+
* @param {number} id
|
|
29149
|
+
* @param {number} businessId
|
|
29150
|
+
* @param {*} [options] Override http request option.
|
|
29151
|
+
* @throws {RequiredError}
|
|
29152
|
+
*/
|
|
29153
|
+
deletePrinter(id: number, businessId: number, options?: any): AxiosPromise<void>;
|
|
29154
|
+
/**
|
|
29155
|
+
*
|
|
29156
|
+
* @param {number} businessId
|
|
29157
|
+
* @param {string} address
|
|
29158
|
+
* @param {*} [options] Override http request option.
|
|
29159
|
+
* @throws {RequiredError}
|
|
29160
|
+
*/
|
|
29161
|
+
deletePrinterByAddress(businessId: number, address: string, options?: any): AxiosPromise<void>;
|
|
29162
|
+
/**
|
|
29163
|
+
*
|
|
29164
|
+
* @param {number} businessId
|
|
29165
|
+
* @param {number} productId
|
|
29166
|
+
* @param {*} [options] Override http request option.
|
|
29167
|
+
* @throws {RequiredError}
|
|
29168
|
+
*/
|
|
29169
|
+
deleteProductPolicy(businessId: number, productId: number, options?: any): AxiosPromise<void>;
|
|
29170
|
+
/**
|
|
29171
|
+
*
|
|
29172
|
+
* @param {number} businessId
|
|
29173
|
+
* @param {*} [options] Override http request option.
|
|
29174
|
+
* @throws {RequiredError}
|
|
29175
|
+
*/
|
|
29176
|
+
listCategoryPolicies(businessId: number, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29177
|
+
/**
|
|
29178
|
+
*
|
|
29179
|
+
* @param {number} businessId
|
|
29180
|
+
* @param {*} [options] Override http request option.
|
|
29181
|
+
* @throws {RequiredError}
|
|
29182
|
+
*/
|
|
29183
|
+
listPrinters(businessId: number, options?: any): AxiosPromise<Array<PrinterDto>>;
|
|
29184
|
+
/**
|
|
29185
|
+
*
|
|
29186
|
+
* @param {number} businessId
|
|
29187
|
+
* @param {*} [options] Override http request option.
|
|
29188
|
+
* @throws {RequiredError}
|
|
29189
|
+
*/
|
|
29190
|
+
listProductPolicies(businessId: number, options?: any): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29191
|
+
/**
|
|
29192
|
+
*
|
|
29193
|
+
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29194
|
+
* @param {*} [options] Override http request option.
|
|
29195
|
+
* @throws {RequiredError}
|
|
29196
|
+
*/
|
|
29197
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
|
|
29198
|
+
/**
|
|
29199
|
+
*
|
|
29200
|
+
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29201
|
+
* @param {*} [options] Override http request option.
|
|
29202
|
+
* @throws {RequiredError}
|
|
29203
|
+
*/
|
|
29204
|
+
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: any): AxiosPromise<PrinterDto>;
|
|
29205
|
+
/**
|
|
29206
|
+
*
|
|
29207
|
+
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29208
|
+
* @param {*} [options] Override http request option.
|
|
29209
|
+
* @throws {RequiredError}
|
|
29210
|
+
*/
|
|
29211
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: any): AxiosPromise<PrintPolicyDto>;
|
|
29212
|
+
};
|
|
29213
|
+
/**
|
|
29214
|
+
* PrintersApi - interface
|
|
29215
|
+
* @export
|
|
29216
|
+
* @interface PrintersApi
|
|
29217
|
+
*/
|
|
29218
|
+
export interface PrintersApiInterface {
|
|
29219
|
+
/**
|
|
29220
|
+
*
|
|
29221
|
+
* @param {number} businessId
|
|
29222
|
+
* @param {number} categoryId
|
|
29223
|
+
* @param {*} [options] Override http request option.
|
|
29224
|
+
* @throws {RequiredError}
|
|
29225
|
+
* @memberof PrintersApiInterface
|
|
29226
|
+
*/
|
|
29227
|
+
deleteCategoryPolicy(businessId: number, categoryId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29228
|
+
/**
|
|
29229
|
+
*
|
|
29230
|
+
* @param {number} id
|
|
29231
|
+
* @param {number} businessId
|
|
29232
|
+
* @param {*} [options] Override http request option.
|
|
29233
|
+
* @throws {RequiredError}
|
|
29234
|
+
* @memberof PrintersApiInterface
|
|
29235
|
+
*/
|
|
29236
|
+
deletePrinter(id: number, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29237
|
+
/**
|
|
29238
|
+
*
|
|
29239
|
+
* @param {number} businessId
|
|
29240
|
+
* @param {string} address
|
|
29241
|
+
* @param {*} [options] Override http request option.
|
|
29242
|
+
* @throws {RequiredError}
|
|
29243
|
+
* @memberof PrintersApiInterface
|
|
29244
|
+
*/
|
|
29245
|
+
deletePrinterByAddress(businessId: number, address: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29246
|
+
/**
|
|
29247
|
+
*
|
|
29248
|
+
* @param {number} businessId
|
|
29249
|
+
* @param {number} productId
|
|
29250
|
+
* @param {*} [options] Override http request option.
|
|
29251
|
+
* @throws {RequiredError}
|
|
29252
|
+
* @memberof PrintersApiInterface
|
|
29253
|
+
*/
|
|
29254
|
+
deleteProductPolicy(businessId: number, productId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
29255
|
+
/**
|
|
29256
|
+
*
|
|
29257
|
+
* @param {number} businessId
|
|
29258
|
+
* @param {*} [options] Override http request option.
|
|
29259
|
+
* @throws {RequiredError}
|
|
29260
|
+
* @memberof PrintersApiInterface
|
|
29261
|
+
*/
|
|
29262
|
+
listCategoryPolicies(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29263
|
+
/**
|
|
29264
|
+
*
|
|
29265
|
+
* @param {number} businessId
|
|
29266
|
+
* @param {*} [options] Override http request option.
|
|
29267
|
+
* @throws {RequiredError}
|
|
29268
|
+
* @memberof PrintersApiInterface
|
|
29269
|
+
*/
|
|
29270
|
+
listPrinters(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PrinterDto>>;
|
|
29271
|
+
/**
|
|
29272
|
+
*
|
|
29273
|
+
* @param {number} businessId
|
|
29274
|
+
* @param {*} [options] Override http request option.
|
|
29275
|
+
* @throws {RequiredError}
|
|
29276
|
+
* @memberof PrintersApiInterface
|
|
29277
|
+
*/
|
|
29278
|
+
listProductPolicies(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PrintPolicyDto>>;
|
|
29279
|
+
/**
|
|
29280
|
+
*
|
|
29281
|
+
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29282
|
+
* @param {*} [options] Override http request option.
|
|
29283
|
+
* @throws {RequiredError}
|
|
29284
|
+
* @memberof PrintersApiInterface
|
|
29285
|
+
*/
|
|
29286
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
|
|
29287
|
+
/**
|
|
29288
|
+
*
|
|
29289
|
+
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29290
|
+
* @param {*} [options] Override http request option.
|
|
29291
|
+
* @throws {RequiredError}
|
|
29292
|
+
* @memberof PrintersApiInterface
|
|
29293
|
+
*/
|
|
29294
|
+
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig): AxiosPromise<PrinterDto>;
|
|
29295
|
+
/**
|
|
29296
|
+
*
|
|
29297
|
+
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29298
|
+
* @param {*} [options] Override http request option.
|
|
29299
|
+
* @throws {RequiredError}
|
|
29300
|
+
* @memberof PrintersApiInterface
|
|
29301
|
+
*/
|
|
29302
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): AxiosPromise<PrintPolicyDto>;
|
|
29303
|
+
}
|
|
29304
|
+
/**
|
|
29305
|
+
* PrintersApi - object-oriented interface
|
|
29306
|
+
* @export
|
|
29307
|
+
* @class PrintersApi
|
|
29308
|
+
* @extends {BaseAPI}
|
|
29309
|
+
*/
|
|
29310
|
+
export declare class PrintersApi extends BaseAPI implements PrintersApiInterface {
|
|
29311
|
+
/**
|
|
29312
|
+
*
|
|
29313
|
+
* @param {number} businessId
|
|
29314
|
+
* @param {number} categoryId
|
|
29315
|
+
* @param {*} [options] Override http request option.
|
|
29316
|
+
* @throws {RequiredError}
|
|
29317
|
+
* @memberof PrintersApi
|
|
29318
|
+
*/
|
|
29319
|
+
deleteCategoryPolicy(businessId: number, categoryId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29320
|
+
/**
|
|
29321
|
+
*
|
|
29322
|
+
* @param {number} id
|
|
29323
|
+
* @param {number} businessId
|
|
29324
|
+
* @param {*} [options] Override http request option.
|
|
29325
|
+
* @throws {RequiredError}
|
|
29326
|
+
* @memberof PrintersApi
|
|
29327
|
+
*/
|
|
29328
|
+
deletePrinter(id: number, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29329
|
+
/**
|
|
29330
|
+
*
|
|
29331
|
+
* @param {number} businessId
|
|
29332
|
+
* @param {string} address
|
|
29333
|
+
* @param {*} [options] Override http request option.
|
|
29334
|
+
* @throws {RequiredError}
|
|
29335
|
+
* @memberof PrintersApi
|
|
29336
|
+
*/
|
|
29337
|
+
deletePrinterByAddress(businessId: number, address: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29338
|
+
/**
|
|
29339
|
+
*
|
|
29340
|
+
* @param {number} businessId
|
|
29341
|
+
* @param {number} productId
|
|
29342
|
+
* @param {*} [options] Override http request option.
|
|
29343
|
+
* @throws {RequiredError}
|
|
29344
|
+
* @memberof PrintersApi
|
|
29345
|
+
*/
|
|
29346
|
+
deleteProductPolicy(businessId: number, productId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
29347
|
+
/**
|
|
29348
|
+
*
|
|
29349
|
+
* @param {number} businessId
|
|
29350
|
+
* @param {*} [options] Override http request option.
|
|
29351
|
+
* @throws {RequiredError}
|
|
29352
|
+
* @memberof PrintersApi
|
|
29353
|
+
*/
|
|
29354
|
+
listCategoryPolicies(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
|
|
29355
|
+
/**
|
|
29356
|
+
*
|
|
29357
|
+
* @param {number} businessId
|
|
29358
|
+
* @param {*} [options] Override http request option.
|
|
29359
|
+
* @throws {RequiredError}
|
|
29360
|
+
* @memberof PrintersApi
|
|
29361
|
+
*/
|
|
29362
|
+
listPrinters(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrinterDto[], any, {}>>;
|
|
29363
|
+
/**
|
|
29364
|
+
*
|
|
29365
|
+
* @param {number} businessId
|
|
29366
|
+
* @param {*} [options] Override http request option.
|
|
29367
|
+
* @throws {RequiredError}
|
|
29368
|
+
* @memberof PrintersApi
|
|
29369
|
+
*/
|
|
29370
|
+
listProductPolicies(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto[], any, {}>>;
|
|
29371
|
+
/**
|
|
29372
|
+
*
|
|
29373
|
+
* @param {UpsertCategoryPrintPolicyDto} upsertCategoryPrintPolicyDto
|
|
29374
|
+
* @param {*} [options] Override http request option.
|
|
29375
|
+
* @throws {RequiredError}
|
|
29376
|
+
* @memberof PrintersApi
|
|
29377
|
+
*/
|
|
29378
|
+
upsertCategoryPolicy(upsertCategoryPrintPolicyDto: UpsertCategoryPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
|
|
29379
|
+
/**
|
|
29380
|
+
*
|
|
29381
|
+
* @param {UpsertPrinterDto} upsertPrinterDto
|
|
29382
|
+
* @param {*} [options] Override http request option.
|
|
29383
|
+
* @throws {RequiredError}
|
|
29384
|
+
* @memberof PrintersApi
|
|
29385
|
+
*/
|
|
29386
|
+
upsertPrinter(upsertPrinterDto: UpsertPrinterDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrinterDto, any, {}>>;
|
|
29387
|
+
/**
|
|
29388
|
+
*
|
|
29389
|
+
* @param {UpsertProductPrintPolicyDto} upsertProductPrintPolicyDto
|
|
29390
|
+
* @param {*} [options] Override http request option.
|
|
29391
|
+
* @throws {RequiredError}
|
|
29392
|
+
* @memberof PrintersApi
|
|
29393
|
+
*/
|
|
29394
|
+
upsertProductPolicy(upsertProductPrintPolicyDto: UpsertProductPrintPolicyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PrintPolicyDto, any, {}>>;
|
|
29395
|
+
}
|
|
28760
29396
|
/**
|
|
28761
29397
|
* ProductApi - axios parameter creator
|
|
28762
29398
|
* @export
|