@munchi_oy/core 1.9.56 → 1.9.57
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 +437 -1
- 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 +572 -2
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -15669,6 +15669,181 @@ export interface ProductWithCategoryDto {
|
|
|
15669
15669
|
*/
|
|
15670
15670
|
'default_course_id'?: object | null;
|
|
15671
15671
|
}
|
|
15672
|
+
/**
|
|
15673
|
+
*
|
|
15674
|
+
* @export
|
|
15675
|
+
* @interface ProductWithCategoryV3Dto
|
|
15676
|
+
*/
|
|
15677
|
+
export interface ProductWithCategoryV3Dto {
|
|
15678
|
+
/**
|
|
15679
|
+
* Product ID
|
|
15680
|
+
* @type {number}
|
|
15681
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15682
|
+
*/
|
|
15683
|
+
'id': number;
|
|
15684
|
+
/**
|
|
15685
|
+
* Product name
|
|
15686
|
+
* @type {string}
|
|
15687
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15688
|
+
*/
|
|
15689
|
+
'name': string;
|
|
15690
|
+
/**
|
|
15691
|
+
* Product price
|
|
15692
|
+
* @type {number}
|
|
15693
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15694
|
+
*/
|
|
15695
|
+
'price': number;
|
|
15696
|
+
/**
|
|
15697
|
+
* Product description
|
|
15698
|
+
* @type {string}
|
|
15699
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15700
|
+
*/
|
|
15701
|
+
'description': string;
|
|
15702
|
+
/**
|
|
15703
|
+
* Product image URL
|
|
15704
|
+
* @type {string}
|
|
15705
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15706
|
+
*/
|
|
15707
|
+
'images': string;
|
|
15708
|
+
/**
|
|
15709
|
+
* SKU of the product
|
|
15710
|
+
* @type {string}
|
|
15711
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15712
|
+
*/
|
|
15713
|
+
'sku'?: string | null;
|
|
15714
|
+
/**
|
|
15715
|
+
* Primary barcode value of the product
|
|
15716
|
+
* @type {object}
|
|
15717
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15718
|
+
*/
|
|
15719
|
+
'barcode'?: object | null;
|
|
15720
|
+
/**
|
|
15721
|
+
* Alternative barcode value of the product
|
|
15722
|
+
* @type {object}
|
|
15723
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15724
|
+
*/
|
|
15725
|
+
'barcode_alternative'?: object | null;
|
|
15726
|
+
/**
|
|
15727
|
+
* Category ID the product belongs to
|
|
15728
|
+
* @type {number}
|
|
15729
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15730
|
+
*/
|
|
15731
|
+
'category_id': number;
|
|
15732
|
+
/**
|
|
15733
|
+
* Whether the product is tracked for inventory
|
|
15734
|
+
* @type {boolean}
|
|
15735
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15736
|
+
*/
|
|
15737
|
+
'inventoried': boolean;
|
|
15738
|
+
/**
|
|
15739
|
+
* Available quantity if inventoried
|
|
15740
|
+
* @type {number}
|
|
15741
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15742
|
+
*/
|
|
15743
|
+
'quantity': number;
|
|
15744
|
+
/**
|
|
15745
|
+
* Whether the product is marked as featured
|
|
15746
|
+
* @type {boolean}
|
|
15747
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15748
|
+
*/
|
|
15749
|
+
'featured': boolean;
|
|
15750
|
+
/**
|
|
15751
|
+
* Whether the product is currently enabled
|
|
15752
|
+
* @type {boolean}
|
|
15753
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15754
|
+
*/
|
|
15755
|
+
'enabled': boolean;
|
|
15756
|
+
/**
|
|
15757
|
+
* Whether upselling is enabled for this product
|
|
15758
|
+
* @type {boolean}
|
|
15759
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15760
|
+
*/
|
|
15761
|
+
'upselling': boolean;
|
|
15762
|
+
/**
|
|
15763
|
+
* Whether the product is part of an offer
|
|
15764
|
+
* @type {boolean}
|
|
15765
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15766
|
+
*/
|
|
15767
|
+
'in_offer': boolean;
|
|
15768
|
+
/**
|
|
15769
|
+
* Offer price if applicable
|
|
15770
|
+
* @type {object}
|
|
15771
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15772
|
+
*/
|
|
15773
|
+
'offer_price': object | null;
|
|
15774
|
+
/**
|
|
15775
|
+
* Display order rank of the product
|
|
15776
|
+
* @type {number}
|
|
15777
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15778
|
+
*/
|
|
15779
|
+
'rank': number;
|
|
15780
|
+
/**
|
|
15781
|
+
* Weight unit (e.g., g, kg, ml)
|
|
15782
|
+
* @type {object}
|
|
15783
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15784
|
+
*/
|
|
15785
|
+
'weight_unit': object;
|
|
15786
|
+
/**
|
|
15787
|
+
* Last update timestamp
|
|
15788
|
+
* @type {string}
|
|
15789
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15790
|
+
*/
|
|
15791
|
+
'updated_at': string;
|
|
15792
|
+
/**
|
|
15793
|
+
* Product creation timestamp
|
|
15794
|
+
* @type {string}
|
|
15795
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15796
|
+
*/
|
|
15797
|
+
'created_at': string;
|
|
15798
|
+
/**
|
|
15799
|
+
* Deletion timestamp if soft-deleted
|
|
15800
|
+
* @type {object}
|
|
15801
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15802
|
+
*/
|
|
15803
|
+
'deleted_at': object | null;
|
|
15804
|
+
/**
|
|
15805
|
+
* List of product extras (e.g., toppings, add-ons)
|
|
15806
|
+
* @type {Array<OrderingItemExtraDto>}
|
|
15807
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15808
|
+
*/
|
|
15809
|
+
'extras': Array<OrderingItemExtraDto>;
|
|
15810
|
+
/**
|
|
15811
|
+
* Whether the product is restricted
|
|
15812
|
+
* @type {boolean}
|
|
15813
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15814
|
+
*/
|
|
15815
|
+
'is_restricted': boolean;
|
|
15816
|
+
/**
|
|
15817
|
+
*
|
|
15818
|
+
* @type {BusinessTaxResponseDto}
|
|
15819
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15820
|
+
*/
|
|
15821
|
+
'tax': BusinessTaxResponseDto | null;
|
|
15822
|
+
/**
|
|
15823
|
+
* Name of the category this product belongs to
|
|
15824
|
+
* @type {string}
|
|
15825
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15826
|
+
*/
|
|
15827
|
+
'categoryName': string;
|
|
15828
|
+
/**
|
|
15829
|
+
* Indicates if the product is inventoried in POS
|
|
15830
|
+
* @type {boolean}
|
|
15831
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15832
|
+
*/
|
|
15833
|
+
'pos_inventoried': boolean;
|
|
15834
|
+
/**
|
|
15835
|
+
* Quantity of the product in POS
|
|
15836
|
+
* @type {number}
|
|
15837
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15838
|
+
*/
|
|
15839
|
+
'pos_quantity': number;
|
|
15840
|
+
/**
|
|
15841
|
+
* Default course ID assigned to this product
|
|
15842
|
+
* @type {object}
|
|
15843
|
+
* @memberof ProductWithCategoryV3Dto
|
|
15844
|
+
*/
|
|
15845
|
+
'default_course_id'?: object | null;
|
|
15846
|
+
}
|
|
15672
15847
|
/**
|
|
15673
15848
|
*
|
|
15674
15849
|
* @export
|
|
@@ -15713,6 +15888,31 @@ export interface ProductsByCategoriesResponseDtoSummary {
|
|
|
15713
15888
|
*/
|
|
15714
15889
|
'categoryCount': number;
|
|
15715
15890
|
}
|
|
15891
|
+
/**
|
|
15892
|
+
*
|
|
15893
|
+
* @export
|
|
15894
|
+
* @interface ProductsByCategoriesV3ResponseDto
|
|
15895
|
+
*/
|
|
15896
|
+
export interface ProductsByCategoriesV3ResponseDto {
|
|
15897
|
+
/**
|
|
15898
|
+
* Categories sorted by rank (additive — existing clients can ignore this field)
|
|
15899
|
+
* @type {Array<RankedCategoryDto>}
|
|
15900
|
+
* @memberof ProductsByCategoriesV3ResponseDto
|
|
15901
|
+
*/
|
|
15902
|
+
'categories': Array<RankedCategoryDto>;
|
|
15903
|
+
/**
|
|
15904
|
+
*
|
|
15905
|
+
* @type {ProductsByCategoriesResponseDtoSummary}
|
|
15906
|
+
* @memberof ProductsByCategoriesV3ResponseDto
|
|
15907
|
+
*/
|
|
15908
|
+
'summary': ProductsByCategoriesResponseDtoSummary;
|
|
15909
|
+
/**
|
|
15910
|
+
* Products without channel_configs; per-channel inventory is fetched per product
|
|
15911
|
+
* @type {Array<ProductWithCategoryV3Dto>}
|
|
15912
|
+
* @memberof ProductsByCategoriesV3ResponseDto
|
|
15913
|
+
*/
|
|
15914
|
+
'products': Array<ProductWithCategoryV3Dto>;
|
|
15915
|
+
}
|
|
15716
15916
|
/**
|
|
15717
15917
|
*
|
|
15718
15918
|
* @export
|
|
@@ -17159,11 +17359,11 @@ export declare const SYNCKEY: {
|
|
|
17159
17359
|
readonly Discounts: "DISCOUNTS";
|
|
17160
17360
|
readonly LoyaltySettings: "LOYALTY_SETTINGS";
|
|
17161
17361
|
readonly BusinessConfig: "BUSINESS_CONFIG";
|
|
17362
|
+
readonly BusinessProviderSupportedIntegrations: "BUSINESS_PROVIDER_SUPPORTED_INTEGRATIONS";
|
|
17162
17363
|
readonly PosSession: "POS_SESSION";
|
|
17163
17364
|
readonly InvoiceCompanies: "INVOICE_COMPANIES";
|
|
17164
17365
|
readonly BusinessTax: "BUSINESS_TAX";
|
|
17165
17366
|
readonly Transaction: "TRANSACTION";
|
|
17166
|
-
readonly DiscountsV2: "DISCOUNTS_V2";
|
|
17167
17367
|
};
|
|
17168
17368
|
export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
|
|
17169
17369
|
/**
|
|
@@ -22664,6 +22864,91 @@ export declare const StatusEnum: {
|
|
|
22664
22864
|
readonly Redeemed: "Redeemed";
|
|
22665
22865
|
};
|
|
22666
22866
|
export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
|
|
22867
|
+
/**
|
|
22868
|
+
*
|
|
22869
|
+
* @export
|
|
22870
|
+
* @interface WalletValidationResponseDto
|
|
22871
|
+
*/
|
|
22872
|
+
export interface WalletValidationResponseDto {
|
|
22873
|
+
/**
|
|
22874
|
+
*
|
|
22875
|
+
* @type {boolean}
|
|
22876
|
+
* @memberof WalletValidationResponseDto
|
|
22877
|
+
*/
|
|
22878
|
+
'is_valid': boolean;
|
|
22879
|
+
/**
|
|
22880
|
+
*
|
|
22881
|
+
* @type {number}
|
|
22882
|
+
* @memberof WalletValidationResponseDto
|
|
22883
|
+
*/
|
|
22884
|
+
'wallet_id': number;
|
|
22885
|
+
/**
|
|
22886
|
+
*
|
|
22887
|
+
* @type {object}
|
|
22888
|
+
* @memberof WalletValidationResponseDto
|
|
22889
|
+
*/
|
|
22890
|
+
'status': object | null;
|
|
22891
|
+
/**
|
|
22892
|
+
*
|
|
22893
|
+
* @type {object}
|
|
22894
|
+
* @memberof WalletValidationResponseDto
|
|
22895
|
+
*/
|
|
22896
|
+
'product_name': object | null;
|
|
22897
|
+
/**
|
|
22898
|
+
*
|
|
22899
|
+
* @type {object}
|
|
22900
|
+
* @memberof WalletValidationResponseDto
|
|
22901
|
+
*/
|
|
22902
|
+
'product_price': object | null;
|
|
22903
|
+
/**
|
|
22904
|
+
*
|
|
22905
|
+
* @type {object}
|
|
22906
|
+
* @memberof WalletValidationResponseDto
|
|
22907
|
+
*/
|
|
22908
|
+
'product_type': object | null;
|
|
22909
|
+
/**
|
|
22910
|
+
*
|
|
22911
|
+
* @type {object}
|
|
22912
|
+
* @memberof WalletValidationResponseDto
|
|
22913
|
+
*/
|
|
22914
|
+
'customer_name': object | null;
|
|
22915
|
+
/**
|
|
22916
|
+
*
|
|
22917
|
+
* @type {object}
|
|
22918
|
+
* @memberof WalletValidationResponseDto
|
|
22919
|
+
*/
|
|
22920
|
+
'customer_email': object | null;
|
|
22921
|
+
/**
|
|
22922
|
+
*
|
|
22923
|
+
* @type {object}
|
|
22924
|
+
* @memberof WalletValidationResponseDto
|
|
22925
|
+
*/
|
|
22926
|
+
'redeemed_at': object | null;
|
|
22927
|
+
/**
|
|
22928
|
+
*
|
|
22929
|
+
* @type {object}
|
|
22930
|
+
* @memberof WalletValidationResponseDto
|
|
22931
|
+
*/
|
|
22932
|
+
'expires_at': object | null;
|
|
22933
|
+
/**
|
|
22934
|
+
*
|
|
22935
|
+
* @type {object}
|
|
22936
|
+
* @memberof WalletValidationResponseDto
|
|
22937
|
+
*/
|
|
22938
|
+
'restaurant_name': object | null;
|
|
22939
|
+
/**
|
|
22940
|
+
*
|
|
22941
|
+
* @type {object}
|
|
22942
|
+
* @memberof WalletValidationResponseDto
|
|
22943
|
+
*/
|
|
22944
|
+
'loyalty_program': object | null;
|
|
22945
|
+
/**
|
|
22946
|
+
*
|
|
22947
|
+
* @type {string}
|
|
22948
|
+
* @memberof WalletValidationResponseDto
|
|
22949
|
+
*/
|
|
22950
|
+
'message': string;
|
|
22951
|
+
}
|
|
22667
22952
|
/**
|
|
22668
22953
|
*
|
|
22669
22954
|
* @export
|
|
@@ -27640,6 +27925,16 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
|
|
|
27640
27925
|
* @throws {RequiredError}
|
|
27641
27926
|
*/
|
|
27642
27927
|
updatePoints: (businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27928
|
+
/**
|
|
27929
|
+
*
|
|
27930
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
27931
|
+
* @param {number} businessId
|
|
27932
|
+
* @param {string} loyaltyId
|
|
27933
|
+
* @param {number} walletId
|
|
27934
|
+
* @param {*} [options] Override http request option.
|
|
27935
|
+
* @throws {RequiredError}
|
|
27936
|
+
*/
|
|
27937
|
+
validateWallet: (businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27643
27938
|
};
|
|
27644
27939
|
/**
|
|
27645
27940
|
* LoyaltyIntegerationsApi - functional programming interface
|
|
@@ -27744,6 +28039,16 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
|
|
|
27744
28039
|
* @throws {RequiredError}
|
|
27745
28040
|
*/
|
|
27746
28041
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PointsUpdateResponseDto>>;
|
|
28042
|
+
/**
|
|
28043
|
+
*
|
|
28044
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28045
|
+
* @param {number} businessId
|
|
28046
|
+
* @param {string} loyaltyId
|
|
28047
|
+
* @param {number} walletId
|
|
28048
|
+
* @param {*} [options] Override http request option.
|
|
28049
|
+
* @throws {RequiredError}
|
|
28050
|
+
*/
|
|
28051
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletValidationResponseDto>>;
|
|
27747
28052
|
};
|
|
27748
28053
|
/**
|
|
27749
28054
|
* LoyaltyIntegerationsApi - factory interface
|
|
@@ -27848,6 +28153,16 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
|
|
|
27848
28153
|
* @throws {RequiredError}
|
|
27849
28154
|
*/
|
|
27850
28155
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: any): AxiosPromise<PointsUpdateResponseDto>;
|
|
28156
|
+
/**
|
|
28157
|
+
*
|
|
28158
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28159
|
+
* @param {number} businessId
|
|
28160
|
+
* @param {string} loyaltyId
|
|
28161
|
+
* @param {number} walletId
|
|
28162
|
+
* @param {*} [options] Override http request option.
|
|
28163
|
+
* @throws {RequiredError}
|
|
28164
|
+
*/
|
|
28165
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: any): AxiosPromise<WalletValidationResponseDto>;
|
|
27851
28166
|
};
|
|
27852
28167
|
/**
|
|
27853
28168
|
* LoyaltyIntegerationsApi - interface
|
|
@@ -27964,6 +28279,17 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
27964
28279
|
* @memberof LoyaltyIntegerationsApiInterface
|
|
27965
28280
|
*/
|
|
27966
28281
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): AxiosPromise<PointsUpdateResponseDto>;
|
|
28282
|
+
/**
|
|
28283
|
+
*
|
|
28284
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28285
|
+
* @param {number} businessId
|
|
28286
|
+
* @param {string} loyaltyId
|
|
28287
|
+
* @param {number} walletId
|
|
28288
|
+
* @param {*} [options] Override http request option.
|
|
28289
|
+
* @throws {RequiredError}
|
|
28290
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
28291
|
+
*/
|
|
28292
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): AxiosPromise<WalletValidationResponseDto>;
|
|
27967
28293
|
}
|
|
27968
28294
|
/**
|
|
27969
28295
|
* LoyaltyIntegerationsApi - object-oriented interface
|
|
@@ -28081,6 +28407,17 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
|
|
|
28081
28407
|
* @memberof LoyaltyIntegerationsApi
|
|
28082
28408
|
*/
|
|
28083
28409
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PointsUpdateResponseDto, any, {}>>;
|
|
28410
|
+
/**
|
|
28411
|
+
*
|
|
28412
|
+
* @summary Validate a loyalty reward QR code wallet transaction
|
|
28413
|
+
* @param {number} businessId
|
|
28414
|
+
* @param {string} loyaltyId
|
|
28415
|
+
* @param {number} walletId
|
|
28416
|
+
* @param {*} [options] Override http request option.
|
|
28417
|
+
* @throws {RequiredError}
|
|
28418
|
+
* @memberof LoyaltyIntegerationsApi
|
|
28419
|
+
*/
|
|
28420
|
+
validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletValidationResponseDto, any, {}>>;
|
|
28084
28421
|
}
|
|
28085
28422
|
/**
|
|
28086
28423
|
* MenuApi - axios parameter creator
|
|
@@ -28122,6 +28459,15 @@ export declare const MenuApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
28122
28459
|
* @throws {RequiredError}
|
|
28123
28460
|
*/
|
|
28124
28461
|
getProductsByCategoriesV2: (businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28462
|
+
/**
|
|
28463
|
+
*
|
|
28464
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28465
|
+
* @param {string} businessId Unique identifier of the business
|
|
28466
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28467
|
+
* @param {*} [options] Override http request option.
|
|
28468
|
+
* @throws {RequiredError}
|
|
28469
|
+
*/
|
|
28470
|
+
getProductsByCategoriesV3: (businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28125
28471
|
/**
|
|
28126
28472
|
*
|
|
28127
28473
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -28170,6 +28516,15 @@ export declare const MenuApiFp: (configuration?: Configuration) => {
|
|
|
28170
28516
|
* @throws {RequiredError}
|
|
28171
28517
|
*/
|
|
28172
28518
|
getProductsByCategoriesV2(businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsByCategoriesResponseDto>>;
|
|
28519
|
+
/**
|
|
28520
|
+
*
|
|
28521
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28522
|
+
* @param {string} businessId Unique identifier of the business
|
|
28523
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28524
|
+
* @param {*} [options] Override http request option.
|
|
28525
|
+
* @throws {RequiredError}
|
|
28526
|
+
*/
|
|
28527
|
+
getProductsByCategoriesV3(businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsByCategoriesV3ResponseDto>>;
|
|
28173
28528
|
/**
|
|
28174
28529
|
*
|
|
28175
28530
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -28218,6 +28573,15 @@ export declare const MenuApiFactory: (configuration?: Configuration, basePath?:
|
|
|
28218
28573
|
* @throws {RequiredError}
|
|
28219
28574
|
*/
|
|
28220
28575
|
getProductsByCategoriesV2(businessId: string, filter?: "available" | "unavailable", options?: any): AxiosPromise<ProductsByCategoriesResponseDto>;
|
|
28576
|
+
/**
|
|
28577
|
+
*
|
|
28578
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28579
|
+
* @param {string} businessId Unique identifier of the business
|
|
28580
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28581
|
+
* @param {*} [options] Override http request option.
|
|
28582
|
+
* @throws {RequiredError}
|
|
28583
|
+
*/
|
|
28584
|
+
getProductsByCategoriesV3(businessId: string, filter?: "available" | "unavailable", options?: any): AxiosPromise<ProductsByCategoriesV3ResponseDto>;
|
|
28221
28585
|
/**
|
|
28222
28586
|
*
|
|
28223
28587
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -28271,6 +28635,16 @@ export interface MenuApiInterface {
|
|
|
28271
28635
|
* @memberof MenuApiInterface
|
|
28272
28636
|
*/
|
|
28273
28637
|
getProductsByCategoriesV2(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): AxiosPromise<ProductsByCategoriesResponseDto>;
|
|
28638
|
+
/**
|
|
28639
|
+
*
|
|
28640
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28641
|
+
* @param {string} businessId Unique identifier of the business
|
|
28642
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28643
|
+
* @param {*} [options] Override http request option.
|
|
28644
|
+
* @throws {RequiredError}
|
|
28645
|
+
* @memberof MenuApiInterface
|
|
28646
|
+
*/
|
|
28647
|
+
getProductsByCategoriesV3(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): AxiosPromise<ProductsByCategoriesV3ResponseDto>;
|
|
28274
28648
|
/**
|
|
28275
28649
|
*
|
|
28276
28650
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -28326,6 +28700,16 @@ export declare class MenuApi extends BaseAPI implements MenuApiInterface {
|
|
|
28326
28700
|
* @memberof MenuApi
|
|
28327
28701
|
*/
|
|
28328
28702
|
getProductsByCategoriesV2(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsByCategoriesResponseDto, any, {}>>;
|
|
28703
|
+
/**
|
|
28704
|
+
*
|
|
28705
|
+
* @summary Get products by categories without channel_configs (product list / labels)
|
|
28706
|
+
* @param {string} businessId Unique identifier of the business
|
|
28707
|
+
* @param {'available' | 'unavailable'} [filter] Filter products by availability status
|
|
28708
|
+
* @param {*} [options] Override http request option.
|
|
28709
|
+
* @throws {RequiredError}
|
|
28710
|
+
* @memberof MenuApi
|
|
28711
|
+
*/
|
|
28712
|
+
getProductsByCategoriesV3(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsByCategoriesV3ResponseDto, any, {}>>;
|
|
28329
28713
|
/**
|
|
28330
28714
|
*
|
|
28331
28715
|
* @param {ResetEodDto} resetEodDto
|
|
@@ -31036,6 +31420,16 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
31036
31420
|
* @throws {RequiredError}
|
|
31037
31421
|
*/
|
|
31038
31422
|
generateProductSkuV2: (businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31423
|
+
/**
|
|
31424
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31425
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31426
|
+
* @param {string} businessId Business ID
|
|
31427
|
+
* @param {string} categoryId Category ID
|
|
31428
|
+
* @param {string} productId Product ID
|
|
31429
|
+
* @param {*} [options] Override http request option.
|
|
31430
|
+
* @throws {RequiredError}
|
|
31431
|
+
*/
|
|
31432
|
+
getChannelInventoryV2: (businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31039
31433
|
/**
|
|
31040
31434
|
* Update inventory settings for multiple channels at once
|
|
31041
31435
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -31074,6 +31468,16 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
31074
31468
|
* @throws {RequiredError}
|
|
31075
31469
|
*/
|
|
31076
31470
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSkuResponseDto>>;
|
|
31471
|
+
/**
|
|
31472
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31473
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31474
|
+
* @param {string} businessId Business ID
|
|
31475
|
+
* @param {string} categoryId Category ID
|
|
31476
|
+
* @param {string} productId Product ID
|
|
31477
|
+
* @param {*} [options] Override http request option.
|
|
31478
|
+
* @throws {RequiredError}
|
|
31479
|
+
*/
|
|
31480
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChannelInventoryResponseDto>>>;
|
|
31077
31481
|
/**
|
|
31078
31482
|
* Update inventory settings for multiple channels at once
|
|
31079
31483
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -31112,6 +31516,16 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
31112
31516
|
* @throws {RequiredError}
|
|
31113
31517
|
*/
|
|
31114
31518
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: any): AxiosPromise<ProductSkuResponseDto>;
|
|
31519
|
+
/**
|
|
31520
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31521
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31522
|
+
* @param {string} businessId Business ID
|
|
31523
|
+
* @param {string} categoryId Category ID
|
|
31524
|
+
* @param {string} productId Product ID
|
|
31525
|
+
* @param {*} [options] Override http request option.
|
|
31526
|
+
* @throws {RequiredError}
|
|
31527
|
+
*/
|
|
31528
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: any): AxiosPromise<Array<ChannelInventoryResponseDto>>;
|
|
31115
31529
|
/**
|
|
31116
31530
|
* Update inventory settings for multiple channels at once
|
|
31117
31531
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -31152,6 +31566,17 @@ export interface ProductApiInterface {
|
|
|
31152
31566
|
* @memberof ProductApiInterface
|
|
31153
31567
|
*/
|
|
31154
31568
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): AxiosPromise<ProductSkuResponseDto>;
|
|
31569
|
+
/**
|
|
31570
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31571
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31572
|
+
* @param {string} businessId Business ID
|
|
31573
|
+
* @param {string} categoryId Category ID
|
|
31574
|
+
* @param {string} productId Product ID
|
|
31575
|
+
* @param {*} [options] Override http request option.
|
|
31576
|
+
* @throws {RequiredError}
|
|
31577
|
+
* @memberof ProductApiInterface
|
|
31578
|
+
*/
|
|
31579
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): AxiosPromise<Array<ChannelInventoryResponseDto>>;
|
|
31155
31580
|
/**
|
|
31156
31581
|
* Update inventory settings for multiple channels at once
|
|
31157
31582
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -31195,6 +31620,17 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
|
|
|
31195
31620
|
* @memberof ProductApi
|
|
31196
31621
|
*/
|
|
31197
31622
|
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSkuResponseDto, any, {}>>;
|
|
31623
|
+
/**
|
|
31624
|
+
* Returns inventory settings across all channels; used by the pencil-edit flow
|
|
31625
|
+
* @summary Get channel inventory (all channels) for a product
|
|
31626
|
+
* @param {string} businessId Business ID
|
|
31627
|
+
* @param {string} categoryId Category ID
|
|
31628
|
+
* @param {string} productId Product ID
|
|
31629
|
+
* @param {*} [options] Override http request option.
|
|
31630
|
+
* @throws {RequiredError}
|
|
31631
|
+
* @memberof ProductApi
|
|
31632
|
+
*/
|
|
31633
|
+
getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChannelInventoryResponseDto[], any, {}>>;
|
|
31198
31634
|
/**
|
|
31199
31635
|
* Update inventory settings for multiple channels at once
|
|
31200
31636
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|