@munchi_oy/core 1.9.56 → 1.9.58

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.
@@ -15669,6 +15669,187 @@ 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
+ * Channel config of inventoried per product
15842
+ * @type {Array<ChannelConfig>}
15843
+ * @memberof ProductWithCategoryV3Dto
15844
+ */
15845
+ 'channel_configs': Array<ChannelConfig>;
15846
+ /**
15847
+ * Default course ID assigned to this product
15848
+ * @type {object}
15849
+ * @memberof ProductWithCategoryV3Dto
15850
+ */
15851
+ 'default_course_id'?: object | null;
15852
+ }
15672
15853
  /**
15673
15854
  *
15674
15855
  * @export
@@ -15713,6 +15894,31 @@ export interface ProductsByCategoriesResponseDtoSummary {
15713
15894
  */
15714
15895
  'categoryCount': number;
15715
15896
  }
15897
+ /**
15898
+ *
15899
+ * @export
15900
+ * @interface ProductsByCategoriesV3ResponseDto
15901
+ */
15902
+ export interface ProductsByCategoriesV3ResponseDto {
15903
+ /**
15904
+ * Categories sorted by rank (additive — existing clients can ignore this field)
15905
+ * @type {Array<RankedCategoryDto>}
15906
+ * @memberof ProductsByCategoriesV3ResponseDto
15907
+ */
15908
+ 'categories': Array<RankedCategoryDto>;
15909
+ /**
15910
+ *
15911
+ * @type {ProductsByCategoriesResponseDtoSummary}
15912
+ * @memberof ProductsByCategoriesV3ResponseDto
15913
+ */
15914
+ 'summary': ProductsByCategoriesResponseDtoSummary;
15915
+ /**
15916
+ * Products with channel_configs scoped to MunchiPos (POS) only; full per-channel inventory is fetched per product
15917
+ * @type {Array<ProductWithCategoryV3Dto>}
15918
+ * @memberof ProductsByCategoriesV3ResponseDto
15919
+ */
15920
+ 'products': Array<ProductWithCategoryV3Dto>;
15921
+ }
15716
15922
  /**
15717
15923
  *
15718
15924
  * @export
@@ -17159,11 +17365,11 @@ export declare const SYNCKEY: {
17159
17365
  readonly Discounts: "DISCOUNTS";
17160
17366
  readonly LoyaltySettings: "LOYALTY_SETTINGS";
17161
17367
  readonly BusinessConfig: "BUSINESS_CONFIG";
17368
+ readonly BusinessProviderSupportedIntegrations: "BUSINESS_PROVIDER_SUPPORTED_INTEGRATIONS";
17162
17369
  readonly PosSession: "POS_SESSION";
17163
17370
  readonly InvoiceCompanies: "INVOICE_COMPANIES";
17164
17371
  readonly BusinessTax: "BUSINESS_TAX";
17165
17372
  readonly Transaction: "TRANSACTION";
17166
- readonly DiscountsV2: "DISCOUNTS_V2";
17167
17373
  };
17168
17374
  export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
17169
17375
  /**
@@ -22664,6 +22870,91 @@ export declare const StatusEnum: {
22664
22870
  readonly Redeemed: "Redeemed";
22665
22871
  };
22666
22872
  export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
22873
+ /**
22874
+ *
22875
+ * @export
22876
+ * @interface WalletValidationResponseDto
22877
+ */
22878
+ export interface WalletValidationResponseDto {
22879
+ /**
22880
+ *
22881
+ * @type {boolean}
22882
+ * @memberof WalletValidationResponseDto
22883
+ */
22884
+ 'is_valid': boolean;
22885
+ /**
22886
+ *
22887
+ * @type {number}
22888
+ * @memberof WalletValidationResponseDto
22889
+ */
22890
+ 'wallet_id': number;
22891
+ /**
22892
+ *
22893
+ * @type {object}
22894
+ * @memberof WalletValidationResponseDto
22895
+ */
22896
+ 'status': object | null;
22897
+ /**
22898
+ *
22899
+ * @type {object}
22900
+ * @memberof WalletValidationResponseDto
22901
+ */
22902
+ 'product_name': object | null;
22903
+ /**
22904
+ *
22905
+ * @type {object}
22906
+ * @memberof WalletValidationResponseDto
22907
+ */
22908
+ 'product_price': object | null;
22909
+ /**
22910
+ *
22911
+ * @type {object}
22912
+ * @memberof WalletValidationResponseDto
22913
+ */
22914
+ 'product_type': object | null;
22915
+ /**
22916
+ *
22917
+ * @type {object}
22918
+ * @memberof WalletValidationResponseDto
22919
+ */
22920
+ 'customer_name': object | null;
22921
+ /**
22922
+ *
22923
+ * @type {object}
22924
+ * @memberof WalletValidationResponseDto
22925
+ */
22926
+ 'customer_email': object | null;
22927
+ /**
22928
+ *
22929
+ * @type {object}
22930
+ * @memberof WalletValidationResponseDto
22931
+ */
22932
+ 'redeemed_at': object | null;
22933
+ /**
22934
+ *
22935
+ * @type {object}
22936
+ * @memberof WalletValidationResponseDto
22937
+ */
22938
+ 'expires_at': object | null;
22939
+ /**
22940
+ *
22941
+ * @type {object}
22942
+ * @memberof WalletValidationResponseDto
22943
+ */
22944
+ 'restaurant_name': object | null;
22945
+ /**
22946
+ *
22947
+ * @type {object}
22948
+ * @memberof WalletValidationResponseDto
22949
+ */
22950
+ 'loyalty_program': object | null;
22951
+ /**
22952
+ *
22953
+ * @type {string}
22954
+ * @memberof WalletValidationResponseDto
22955
+ */
22956
+ 'message': string;
22957
+ }
22667
22958
  /**
22668
22959
  *
22669
22960
  * @export
@@ -27640,6 +27931,16 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
27640
27931
  * @throws {RequiredError}
27641
27932
  */
27642
27933
  updatePoints: (businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
27934
+ /**
27935
+ *
27936
+ * @summary Validate a loyalty reward QR code wallet transaction
27937
+ * @param {number} businessId
27938
+ * @param {string} loyaltyId
27939
+ * @param {number} walletId
27940
+ * @param {*} [options] Override http request option.
27941
+ * @throws {RequiredError}
27942
+ */
27943
+ validateWallet: (businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
27643
27944
  };
27644
27945
  /**
27645
27946
  * LoyaltyIntegerationsApi - functional programming interface
@@ -27744,6 +28045,16 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
27744
28045
  * @throws {RequiredError}
27745
28046
  */
27746
28047
  updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PointsUpdateResponseDto>>;
28048
+ /**
28049
+ *
28050
+ * @summary Validate a loyalty reward QR code wallet transaction
28051
+ * @param {number} businessId
28052
+ * @param {string} loyaltyId
28053
+ * @param {number} walletId
28054
+ * @param {*} [options] Override http request option.
28055
+ * @throws {RequiredError}
28056
+ */
28057
+ validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletValidationResponseDto>>;
27747
28058
  };
27748
28059
  /**
27749
28060
  * LoyaltyIntegerationsApi - factory interface
@@ -27848,6 +28159,16 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
27848
28159
  * @throws {RequiredError}
27849
28160
  */
27850
28161
  updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: any): AxiosPromise<PointsUpdateResponseDto>;
28162
+ /**
28163
+ *
28164
+ * @summary Validate a loyalty reward QR code wallet transaction
28165
+ * @param {number} businessId
28166
+ * @param {string} loyaltyId
28167
+ * @param {number} walletId
28168
+ * @param {*} [options] Override http request option.
28169
+ * @throws {RequiredError}
28170
+ */
28171
+ validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: any): AxiosPromise<WalletValidationResponseDto>;
27851
28172
  };
27852
28173
  /**
27853
28174
  * LoyaltyIntegerationsApi - interface
@@ -27964,6 +28285,17 @@ export interface LoyaltyIntegerationsApiInterface {
27964
28285
  * @memberof LoyaltyIntegerationsApiInterface
27965
28286
  */
27966
28287
  updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): AxiosPromise<PointsUpdateResponseDto>;
28288
+ /**
28289
+ *
28290
+ * @summary Validate a loyalty reward QR code wallet transaction
28291
+ * @param {number} businessId
28292
+ * @param {string} loyaltyId
28293
+ * @param {number} walletId
28294
+ * @param {*} [options] Override http request option.
28295
+ * @throws {RequiredError}
28296
+ * @memberof LoyaltyIntegerationsApiInterface
28297
+ */
28298
+ validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): AxiosPromise<WalletValidationResponseDto>;
27967
28299
  }
27968
28300
  /**
27969
28301
  * LoyaltyIntegerationsApi - object-oriented interface
@@ -28081,6 +28413,17 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
28081
28413
  * @memberof LoyaltyIntegerationsApi
28082
28414
  */
28083
28415
  updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PointsUpdateResponseDto, any, {}>>;
28416
+ /**
28417
+ *
28418
+ * @summary Validate a loyalty reward QR code wallet transaction
28419
+ * @param {number} businessId
28420
+ * @param {string} loyaltyId
28421
+ * @param {number} walletId
28422
+ * @param {*} [options] Override http request option.
28423
+ * @throws {RequiredError}
28424
+ * @memberof LoyaltyIntegerationsApi
28425
+ */
28426
+ validateWallet(businessId: number, loyaltyId: string, walletId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletValidationResponseDto, any, {}>>;
28084
28427
  }
28085
28428
  /**
28086
28429
  * MenuApi - axios parameter creator
@@ -28122,6 +28465,15 @@ export declare const MenuApiAxiosParamCreator: (configuration?: Configuration) =
28122
28465
  * @throws {RequiredError}
28123
28466
  */
28124
28467
  getProductsByCategoriesV2: (businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig) => Promise<RequestArgs>;
28468
+ /**
28469
+ *
28470
+ * @summary Get products by categories without channel_configs (product list / labels)
28471
+ * @param {string} businessId Unique identifier of the business
28472
+ * @param {'available' | 'unavailable'} [filter] Filter products by availability status
28473
+ * @param {*} [options] Override http request option.
28474
+ * @throws {RequiredError}
28475
+ */
28476
+ getProductsByCategoriesV3: (businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig) => Promise<RequestArgs>;
28125
28477
  /**
28126
28478
  *
28127
28479
  * @param {ResetEodDto} resetEodDto
@@ -28170,6 +28522,15 @@ export declare const MenuApiFp: (configuration?: Configuration) => {
28170
28522
  * @throws {RequiredError}
28171
28523
  */
28172
28524
  getProductsByCategoriesV2(businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsByCategoriesResponseDto>>;
28525
+ /**
28526
+ *
28527
+ * @summary Get products by categories without channel_configs (product list / labels)
28528
+ * @param {string} businessId Unique identifier of the business
28529
+ * @param {'available' | 'unavailable'} [filter] Filter products by availability status
28530
+ * @param {*} [options] Override http request option.
28531
+ * @throws {RequiredError}
28532
+ */
28533
+ getProductsByCategoriesV3(businessId: string, filter?: "available" | "unavailable", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsByCategoriesV3ResponseDto>>;
28173
28534
  /**
28174
28535
  *
28175
28536
  * @param {ResetEodDto} resetEodDto
@@ -28218,6 +28579,15 @@ export declare const MenuApiFactory: (configuration?: Configuration, basePath?:
28218
28579
  * @throws {RequiredError}
28219
28580
  */
28220
28581
  getProductsByCategoriesV2(businessId: string, filter?: "available" | "unavailable", options?: any): AxiosPromise<ProductsByCategoriesResponseDto>;
28582
+ /**
28583
+ *
28584
+ * @summary Get products by categories without channel_configs (product list / labels)
28585
+ * @param {string} businessId Unique identifier of the business
28586
+ * @param {'available' | 'unavailable'} [filter] Filter products by availability status
28587
+ * @param {*} [options] Override http request option.
28588
+ * @throws {RequiredError}
28589
+ */
28590
+ getProductsByCategoriesV3(businessId: string, filter?: "available" | "unavailable", options?: any): AxiosPromise<ProductsByCategoriesV3ResponseDto>;
28221
28591
  /**
28222
28592
  *
28223
28593
  * @param {ResetEodDto} resetEodDto
@@ -28271,6 +28641,16 @@ export interface MenuApiInterface {
28271
28641
  * @memberof MenuApiInterface
28272
28642
  */
28273
28643
  getProductsByCategoriesV2(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): AxiosPromise<ProductsByCategoriesResponseDto>;
28644
+ /**
28645
+ *
28646
+ * @summary Get products by categories without channel_configs (product list / labels)
28647
+ * @param {string} businessId Unique identifier of the business
28648
+ * @param {'available' | 'unavailable'} [filter] Filter products by availability status
28649
+ * @param {*} [options] Override http request option.
28650
+ * @throws {RequiredError}
28651
+ * @memberof MenuApiInterface
28652
+ */
28653
+ getProductsByCategoriesV3(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): AxiosPromise<ProductsByCategoriesV3ResponseDto>;
28274
28654
  /**
28275
28655
  *
28276
28656
  * @param {ResetEodDto} resetEodDto
@@ -28326,6 +28706,16 @@ export declare class MenuApi extends BaseAPI implements MenuApiInterface {
28326
28706
  * @memberof MenuApi
28327
28707
  */
28328
28708
  getProductsByCategoriesV2(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsByCategoriesResponseDto, any, {}>>;
28709
+ /**
28710
+ *
28711
+ * @summary Get products by categories without channel_configs (product list / labels)
28712
+ * @param {string} businessId Unique identifier of the business
28713
+ * @param {'available' | 'unavailable'} [filter] Filter products by availability status
28714
+ * @param {*} [options] Override http request option.
28715
+ * @throws {RequiredError}
28716
+ * @memberof MenuApi
28717
+ */
28718
+ getProductsByCategoriesV3(businessId: string, filter?: 'available' | 'unavailable', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductsByCategoriesV3ResponseDto, any, {}>>;
28329
28719
  /**
28330
28720
  *
28331
28721
  * @param {ResetEodDto} resetEodDto
@@ -31036,6 +31426,16 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
31036
31426
  * @throws {RequiredError}
31037
31427
  */
31038
31428
  generateProductSkuV2: (businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31429
+ /**
31430
+ * Returns inventory settings across all channels; used by the pencil-edit flow
31431
+ * @summary Get channel inventory (all channels) for a product
31432
+ * @param {string} businessId Business ID
31433
+ * @param {string} categoryId Category ID
31434
+ * @param {string} productId Product ID
31435
+ * @param {*} [options] Override http request option.
31436
+ * @throws {RequiredError}
31437
+ */
31438
+ getChannelInventoryV2: (businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31039
31439
  /**
31040
31440
  * Update inventory settings for multiple channels at once
31041
31441
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -31074,6 +31474,16 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
31074
31474
  * @throws {RequiredError}
31075
31475
  */
31076
31476
  generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSkuResponseDto>>;
31477
+ /**
31478
+ * Returns inventory settings across all channels; used by the pencil-edit flow
31479
+ * @summary Get channel inventory (all channels) for a product
31480
+ * @param {string} businessId Business ID
31481
+ * @param {string} categoryId Category ID
31482
+ * @param {string} productId Product ID
31483
+ * @param {*} [options] Override http request option.
31484
+ * @throws {RequiredError}
31485
+ */
31486
+ getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChannelInventoryResponseDto>>>;
31077
31487
  /**
31078
31488
  * Update inventory settings for multiple channels at once
31079
31489
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -31112,6 +31522,16 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
31112
31522
  * @throws {RequiredError}
31113
31523
  */
31114
31524
  generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: any): AxiosPromise<ProductSkuResponseDto>;
31525
+ /**
31526
+ * Returns inventory settings across all channels; used by the pencil-edit flow
31527
+ * @summary Get channel inventory (all channels) for a product
31528
+ * @param {string} businessId Business ID
31529
+ * @param {string} categoryId Category ID
31530
+ * @param {string} productId Product ID
31531
+ * @param {*} [options] Override http request option.
31532
+ * @throws {RequiredError}
31533
+ */
31534
+ getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: any): AxiosPromise<Array<ChannelInventoryResponseDto>>;
31115
31535
  /**
31116
31536
  * Update inventory settings for multiple channels at once
31117
31537
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -31152,6 +31572,17 @@ export interface ProductApiInterface {
31152
31572
  * @memberof ProductApiInterface
31153
31573
  */
31154
31574
  generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): AxiosPromise<ProductSkuResponseDto>;
31575
+ /**
31576
+ * Returns inventory settings across all channels; used by the pencil-edit flow
31577
+ * @summary Get channel inventory (all channels) for a product
31578
+ * @param {string} businessId Business ID
31579
+ * @param {string} categoryId Category ID
31580
+ * @param {string} productId Product ID
31581
+ * @param {*} [options] Override http request option.
31582
+ * @throws {RequiredError}
31583
+ * @memberof ProductApiInterface
31584
+ */
31585
+ getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): AxiosPromise<Array<ChannelInventoryResponseDto>>;
31155
31586
  /**
31156
31587
  * Update inventory settings for multiple channels at once
31157
31588
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -31195,6 +31626,17 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
31195
31626
  * @memberof ProductApi
31196
31627
  */
31197
31628
  generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSkuResponseDto, any, {}>>;
31629
+ /**
31630
+ * Returns inventory settings across all channels; used by the pencil-edit flow
31631
+ * @summary Get channel inventory (all channels) for a product
31632
+ * @param {string} businessId Business ID
31633
+ * @param {string} categoryId Category ID
31634
+ * @param {string} productId Product ID
31635
+ * @param {*} [options] Override http request option.
31636
+ * @throws {RequiredError}
31637
+ * @memberof ProductApi
31638
+ */
31639
+ getChannelInventoryV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChannelInventoryResponseDto[], any, {}>>;
31198
31640
  /**
31199
31641
  * Update inventory settings for multiple channels at once
31200
31642
  * @summary Update channel inventory (POS, Kiosk, etc.)