@munchi_oy/core 1.9.19 → 1.9.23
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 +584 -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 +958 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -9242,6 +9242,12 @@ export interface OrderEventDto {
|
|
|
9242
9242
|
* @memberof OrderEventDto
|
|
9243
9243
|
*/
|
|
9244
9244
|
'order': object;
|
|
9245
|
+
/**
|
|
9246
|
+
* Timestamp when the order was accepted
|
|
9247
|
+
* @type {string}
|
|
9248
|
+
* @memberof OrderEventDto
|
|
9249
|
+
*/
|
|
9250
|
+
'acceptedAt'?: string | null;
|
|
9245
9251
|
/**
|
|
9246
9252
|
* Flag to indicate if only cancelled items are included
|
|
9247
9253
|
* @type {boolean}
|
|
@@ -11705,6 +11711,7 @@ export interface PaymentTerminalDtoStation {
|
|
|
11705
11711
|
export declare const PaymentTypeEnum: {
|
|
11706
11712
|
readonly Cash: "cash";
|
|
11707
11713
|
readonly Card: "card";
|
|
11714
|
+
readonly PayOnDelivery: "pay_on_delivery";
|
|
11708
11715
|
};
|
|
11709
11716
|
export type PaymentTypeEnum = typeof PaymentTypeEnum[keyof typeof PaymentTypeEnum];
|
|
11710
11717
|
/**
|
|
@@ -12972,6 +12979,12 @@ export interface PosOrderItemDto {
|
|
|
12972
12979
|
* @memberof PosOrderItemDto
|
|
12973
12980
|
*/
|
|
12974
12981
|
'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;
|
|
12975
12988
|
/**
|
|
12976
12989
|
*
|
|
12977
12990
|
* @type {Array<PosOrderOptionDto>}
|
|
@@ -13797,6 +13810,108 @@ export interface PriceSummaryDto {
|
|
|
13797
13810
|
*/
|
|
13798
13811
|
'totalNet': number;
|
|
13799
13812
|
}
|
|
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];
|
|
13800
13915
|
/**
|
|
13801
13916
|
*
|
|
13802
13917
|
* @export
|
|
@@ -18075,6 +18190,12 @@ export interface UnifiedProductDto {
|
|
|
18075
18190
|
* @memberof UnifiedProductDto
|
|
18076
18191
|
*/
|
|
18077
18192
|
'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;
|
|
18078
18199
|
/**
|
|
18079
18200
|
*
|
|
18080
18201
|
* @type {KitchenItemStatus}
|
|
@@ -18508,6 +18629,31 @@ export interface UpsertBusinessDto {
|
|
|
18508
18629
|
*/
|
|
18509
18630
|
'chainId'?: string;
|
|
18510
18631
|
}
|
|
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
|
+
}
|
|
18511
18657
|
/**
|
|
18512
18658
|
*
|
|
18513
18659
|
* @export
|
|
@@ -18831,6 +18977,68 @@ export interface UpsertPaymentOptionsDto {
|
|
|
18831
18977
|
*/
|
|
18832
18978
|
'options': Array<UpsertPaymentOptionDto>;
|
|
18833
18979
|
}
|
|
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
|
+
}
|
|
18834
19042
|
/**
|
|
18835
19043
|
*
|
|
18836
19044
|
* @export
|
|
@@ -28638,6 +28846,382 @@ export declare class PluginApi extends BaseAPI implements PluginApiInterface {
|
|
|
28638
28846
|
*/
|
|
28639
28847
|
upsertBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
28640
28848
|
}
|
|
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
|
+
}
|
|
28641
29225
|
/**
|
|
28642
29226
|
* ProductApi - axios parameter creator
|
|
28643
29227
|
* @export
|