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