@munchi_oy/core 1.9.10 → 1.9.13
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 +255 -77
- 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 +381 -124
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -4589,6 +4589,24 @@ export interface ExtendedProductDto {
|
|
|
4589
4589
|
* @memberof ExtendedProductDto
|
|
4590
4590
|
*/
|
|
4591
4591
|
'images': string;
|
|
4592
|
+
/**
|
|
4593
|
+
* SKU of the product
|
|
4594
|
+
* @type {object}
|
|
4595
|
+
* @memberof ExtendedProductDto
|
|
4596
|
+
*/
|
|
4597
|
+
'sku'?: object | null;
|
|
4598
|
+
/**
|
|
4599
|
+
* Primary barcode value of the product
|
|
4600
|
+
* @type {object}
|
|
4601
|
+
* @memberof ExtendedProductDto
|
|
4602
|
+
*/
|
|
4603
|
+
'barcode'?: object | null;
|
|
4604
|
+
/**
|
|
4605
|
+
* Alternative barcode value of the product
|
|
4606
|
+
* @type {object}
|
|
4607
|
+
* @memberof ExtendedProductDto
|
|
4608
|
+
*/
|
|
4609
|
+
'barcode_alternative'?: object | null;
|
|
4592
4610
|
/**
|
|
4593
4611
|
* Category ID the product belongs to
|
|
4594
4612
|
* @type {number}
|
|
@@ -4733,12 +4751,6 @@ export interface ExtendedProductDto {
|
|
|
4733
4751
|
* @memberof ExtendedProductDto
|
|
4734
4752
|
*/
|
|
4735
4753
|
'channel_configs': Array<ChannelConfig>;
|
|
4736
|
-
/**
|
|
4737
|
-
* SKU of the product
|
|
4738
|
-
* @type {string}
|
|
4739
|
-
* @memberof ExtendedProductDto
|
|
4740
|
-
*/
|
|
4741
|
-
'sku'?: string;
|
|
4742
4754
|
}
|
|
4743
4755
|
/**
|
|
4744
4756
|
* Reporting category details
|
|
@@ -10128,6 +10140,24 @@ export interface OrderingCoProductDto {
|
|
|
10128
10140
|
* @memberof OrderingCoProductDto
|
|
10129
10141
|
*/
|
|
10130
10142
|
'images': string;
|
|
10143
|
+
/**
|
|
10144
|
+
* SKU of the product
|
|
10145
|
+
* @type {object}
|
|
10146
|
+
* @memberof OrderingCoProductDto
|
|
10147
|
+
*/
|
|
10148
|
+
'sku'?: object | null;
|
|
10149
|
+
/**
|
|
10150
|
+
* Primary barcode value of the product
|
|
10151
|
+
* @type {object}
|
|
10152
|
+
* @memberof OrderingCoProductDto
|
|
10153
|
+
*/
|
|
10154
|
+
'barcode'?: object | null;
|
|
10155
|
+
/**
|
|
10156
|
+
* Alternative barcode value of the product
|
|
10157
|
+
* @type {object}
|
|
10158
|
+
* @memberof OrderingCoProductDto
|
|
10159
|
+
*/
|
|
10160
|
+
'barcode_alternative'?: object | null;
|
|
10131
10161
|
/**
|
|
10132
10162
|
* Category ID the product belongs to
|
|
10133
10163
|
* @type {number}
|
|
@@ -10621,6 +10651,9 @@ export declare const PaymentMethod: {
|
|
|
10621
10651
|
readonly Fundis: "Fundis";
|
|
10622
10652
|
readonly UberEats: "UberEats";
|
|
10623
10653
|
readonly MunchiGiftCard: "MunchiGiftCard";
|
|
10654
|
+
readonly WoltManual: "WoltManual";
|
|
10655
|
+
readonly MotoralLaksu: "MotoralLaksu";
|
|
10656
|
+
readonly ResQ: "ResQ";
|
|
10624
10657
|
};
|
|
10625
10658
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
10626
10659
|
/**
|
|
@@ -12012,6 +12045,24 @@ export interface PosItemDto {
|
|
|
12012
12045
|
* @memberof PosItemDto
|
|
12013
12046
|
*/
|
|
12014
12047
|
'images': string;
|
|
12048
|
+
/**
|
|
12049
|
+
* SKU of the product
|
|
12050
|
+
* @type {object}
|
|
12051
|
+
* @memberof PosItemDto
|
|
12052
|
+
*/
|
|
12053
|
+
'sku'?: object | null;
|
|
12054
|
+
/**
|
|
12055
|
+
* Primary barcode value of the product
|
|
12056
|
+
* @type {object}
|
|
12057
|
+
* @memberof PosItemDto
|
|
12058
|
+
*/
|
|
12059
|
+
'barcode'?: object | null;
|
|
12060
|
+
/**
|
|
12061
|
+
* Alternative barcode value of the product
|
|
12062
|
+
* @type {object}
|
|
12063
|
+
* @memberof PosItemDto
|
|
12064
|
+
*/
|
|
12065
|
+
'barcode_alternative'?: object | null;
|
|
12015
12066
|
/**
|
|
12016
12067
|
* Category ID the product belongs to
|
|
12017
12068
|
* @type {number}
|
|
@@ -12156,12 +12207,6 @@ export interface PosItemDto {
|
|
|
12156
12207
|
* @memberof PosItemDto
|
|
12157
12208
|
*/
|
|
12158
12209
|
'channel_configs': Array<ChannelConfig>;
|
|
12159
|
-
/**
|
|
12160
|
-
* SKU of the product
|
|
12161
|
-
* @type {string}
|
|
12162
|
-
* @memberof PosItemDto
|
|
12163
|
-
*/
|
|
12164
|
-
'sku'?: string;
|
|
12165
12210
|
/**
|
|
12166
12211
|
* Order identifier
|
|
12167
12212
|
* @type {string}
|
|
@@ -13987,6 +14032,19 @@ export interface ProductDto {
|
|
|
13987
14032
|
*/
|
|
13988
14033
|
'options': Array<OptionDto>;
|
|
13989
14034
|
}
|
|
14035
|
+
/**
|
|
14036
|
+
*
|
|
14037
|
+
* @export
|
|
14038
|
+
* @interface ProductSkuResponseDto
|
|
14039
|
+
*/
|
|
14040
|
+
export interface ProductSkuResponseDto {
|
|
14041
|
+
/**
|
|
14042
|
+
* SKU stored for the product
|
|
14043
|
+
* @type {string}
|
|
14044
|
+
* @memberof ProductSkuResponseDto
|
|
14045
|
+
*/
|
|
14046
|
+
'sku': string;
|
|
14047
|
+
}
|
|
13990
14048
|
/**
|
|
13991
14049
|
*
|
|
13992
14050
|
* @export
|
|
@@ -14023,6 +14081,24 @@ export interface ProductWithCategoryDto {
|
|
|
14023
14081
|
* @memberof ProductWithCategoryDto
|
|
14024
14082
|
*/
|
|
14025
14083
|
'images': string;
|
|
14084
|
+
/**
|
|
14085
|
+
* SKU of the product
|
|
14086
|
+
* @type {object}
|
|
14087
|
+
* @memberof ProductWithCategoryDto
|
|
14088
|
+
*/
|
|
14089
|
+
'sku'?: object | null;
|
|
14090
|
+
/**
|
|
14091
|
+
* Primary barcode value of the product
|
|
14092
|
+
* @type {object}
|
|
14093
|
+
* @memberof ProductWithCategoryDto
|
|
14094
|
+
*/
|
|
14095
|
+
'barcode'?: object | null;
|
|
14096
|
+
/**
|
|
14097
|
+
* Alternative barcode value of the product
|
|
14098
|
+
* @type {object}
|
|
14099
|
+
* @memberof ProductWithCategoryDto
|
|
14100
|
+
*/
|
|
14101
|
+
'barcode_alternative'?: object | null;
|
|
14026
14102
|
/**
|
|
14027
14103
|
* Category ID the product belongs to
|
|
14028
14104
|
* @type {number}
|
|
@@ -18045,6 +18121,19 @@ export interface UpdatePosGlobalSettingsDto {
|
|
|
18045
18121
|
*/
|
|
18046
18122
|
'hidePosOrdersInOm': boolean;
|
|
18047
18123
|
}
|
|
18124
|
+
/**
|
|
18125
|
+
*
|
|
18126
|
+
* @export
|
|
18127
|
+
* @interface UpdateProductSkuDto
|
|
18128
|
+
*/
|
|
18129
|
+
export interface UpdateProductSkuDto {
|
|
18130
|
+
/**
|
|
18131
|
+
* SKU to save for the product
|
|
18132
|
+
* @type {string}
|
|
18133
|
+
* @memberof UpdateProductSkuDto
|
|
18134
|
+
*/
|
|
18135
|
+
'sku': string;
|
|
18136
|
+
}
|
|
18048
18137
|
/**
|
|
18049
18138
|
*
|
|
18050
18139
|
* @export
|
|
@@ -18455,6 +18544,9 @@ export declare const NameEnum: {
|
|
|
18455
18544
|
readonly Fundis: "Fundis";
|
|
18456
18545
|
readonly UberEats: "UberEats";
|
|
18457
18546
|
readonly MunchiGiftCard: "MunchiGiftCard";
|
|
18547
|
+
readonly WoltManual: "WoltManual";
|
|
18548
|
+
readonly MotoralLaksu: "MotoralLaksu";
|
|
18549
|
+
readonly ResQ: "ResQ";
|
|
18458
18550
|
};
|
|
18459
18551
|
export type NameEnum = typeof NameEnum[keyof typeof NameEnum];
|
|
18460
18552
|
/**
|
|
@@ -21689,6 +21781,14 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
21689
21781
|
* @throws {RequiredError}
|
|
21690
21782
|
*/
|
|
21691
21783
|
firebaseAuth: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21784
|
+
/**
|
|
21785
|
+
*
|
|
21786
|
+
* @summary Authorize user
|
|
21787
|
+
* @param {CredentialDto} credentialDto
|
|
21788
|
+
* @param {*} [options] Override http request option.
|
|
21789
|
+
* @throws {RequiredError}
|
|
21790
|
+
*/
|
|
21791
|
+
login: (credentialDto: CredentialDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21692
21792
|
/**
|
|
21693
21793
|
*
|
|
21694
21794
|
* @summary Log out the user
|
|
@@ -21717,6 +21817,14 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
21717
21817
|
* @throws {RequiredError}
|
|
21718
21818
|
*/
|
|
21719
21819
|
firebaseAuth(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FirebaseTokenDto>>;
|
|
21820
|
+
/**
|
|
21821
|
+
*
|
|
21822
|
+
* @summary Authorize user
|
|
21823
|
+
* @param {CredentialDto} credentialDto
|
|
21824
|
+
* @param {*} [options] Override http request option.
|
|
21825
|
+
* @throws {RequiredError}
|
|
21826
|
+
*/
|
|
21827
|
+
login(credentialDto: CredentialDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponseDto>>;
|
|
21720
21828
|
/**
|
|
21721
21829
|
*
|
|
21722
21830
|
* @summary Log out the user
|
|
@@ -21745,6 +21853,14 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
21745
21853
|
* @throws {RequiredError}
|
|
21746
21854
|
*/
|
|
21747
21855
|
firebaseAuth(options?: any): AxiosPromise<FirebaseTokenDto>;
|
|
21856
|
+
/**
|
|
21857
|
+
*
|
|
21858
|
+
* @summary Authorize user
|
|
21859
|
+
* @param {CredentialDto} credentialDto
|
|
21860
|
+
* @param {*} [options] Override http request option.
|
|
21861
|
+
* @throws {RequiredError}
|
|
21862
|
+
*/
|
|
21863
|
+
login(credentialDto: CredentialDto, options?: any): AxiosPromise<LoginResponseDto>;
|
|
21748
21864
|
/**
|
|
21749
21865
|
*
|
|
21750
21866
|
* @summary Log out the user
|
|
@@ -21775,6 +21891,15 @@ export interface AuthApiInterface {
|
|
|
21775
21891
|
* @memberof AuthApiInterface
|
|
21776
21892
|
*/
|
|
21777
21893
|
firebaseAuth(options?: AxiosRequestConfig): AxiosPromise<FirebaseTokenDto>;
|
|
21894
|
+
/**
|
|
21895
|
+
*
|
|
21896
|
+
* @summary Authorize user
|
|
21897
|
+
* @param {CredentialDto} credentialDto
|
|
21898
|
+
* @param {*} [options] Override http request option.
|
|
21899
|
+
* @throws {RequiredError}
|
|
21900
|
+
* @memberof AuthApiInterface
|
|
21901
|
+
*/
|
|
21902
|
+
login(credentialDto: CredentialDto, options?: AxiosRequestConfig): AxiosPromise<LoginResponseDto>;
|
|
21778
21903
|
/**
|
|
21779
21904
|
*
|
|
21780
21905
|
* @summary Log out the user
|
|
@@ -21808,6 +21933,15 @@ export declare class AuthApi extends BaseAPI implements AuthApiInterface {
|
|
|
21808
21933
|
* @memberof AuthApi
|
|
21809
21934
|
*/
|
|
21810
21935
|
firebaseAuth(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FirebaseTokenDto, any, {}>>;
|
|
21936
|
+
/**
|
|
21937
|
+
*
|
|
21938
|
+
* @summary Authorize user
|
|
21939
|
+
* @param {CredentialDto} credentialDto
|
|
21940
|
+
* @param {*} [options] Override http request option.
|
|
21941
|
+
* @throws {RequiredError}
|
|
21942
|
+
* @memberof AuthApi
|
|
21943
|
+
*/
|
|
21944
|
+
login(credentialDto: CredentialDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponseDto, any, {}>>;
|
|
21811
21945
|
/**
|
|
21812
21946
|
*
|
|
21813
21947
|
* @summary Log out the user
|
|
@@ -25627,71 +25761,6 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
|
|
|
25627
25761
|
*/
|
|
25628
25762
|
updatePoints(businessId: number, pointsUpdatePayloadDto: PointsUpdatePayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PointsUpdateResponseDto, any, {}>>;
|
|
25629
25763
|
}
|
|
25630
|
-
/**
|
|
25631
|
-
* MApi - axios parameter creator
|
|
25632
|
-
* @export
|
|
25633
|
-
*/
|
|
25634
|
-
export declare const MApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25635
|
-
/**
|
|
25636
|
-
*
|
|
25637
|
-
* @param {*} [options] Override http request option.
|
|
25638
|
-
* @throws {RequiredError}
|
|
25639
|
-
*/
|
|
25640
|
-
munchiLogin: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25641
|
-
};
|
|
25642
|
-
/**
|
|
25643
|
-
* MApi - functional programming interface
|
|
25644
|
-
* @export
|
|
25645
|
-
*/
|
|
25646
|
-
export declare const MApiFp: (configuration?: Configuration) => {
|
|
25647
|
-
/**
|
|
25648
|
-
*
|
|
25649
|
-
* @param {*} [options] Override http request option.
|
|
25650
|
-
* @throws {RequiredError}
|
|
25651
|
-
*/
|
|
25652
|
-
munchiLogin(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25653
|
-
};
|
|
25654
|
-
/**
|
|
25655
|
-
* MApi - factory interface
|
|
25656
|
-
* @export
|
|
25657
|
-
*/
|
|
25658
|
-
export declare const MApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25659
|
-
/**
|
|
25660
|
-
*
|
|
25661
|
-
* @param {*} [options] Override http request option.
|
|
25662
|
-
* @throws {RequiredError}
|
|
25663
|
-
*/
|
|
25664
|
-
munchiLogin(options?: any): AxiosPromise<void>;
|
|
25665
|
-
};
|
|
25666
|
-
/**
|
|
25667
|
-
* MApi - interface
|
|
25668
|
-
* @export
|
|
25669
|
-
* @interface MApi
|
|
25670
|
-
*/
|
|
25671
|
-
export interface MApiInterface {
|
|
25672
|
-
/**
|
|
25673
|
-
*
|
|
25674
|
-
* @param {*} [options] Override http request option.
|
|
25675
|
-
* @throws {RequiredError}
|
|
25676
|
-
* @memberof MApiInterface
|
|
25677
|
-
*/
|
|
25678
|
-
munchiLogin(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
25679
|
-
}
|
|
25680
|
-
/**
|
|
25681
|
-
* MApi - object-oriented interface
|
|
25682
|
-
* @export
|
|
25683
|
-
* @class MApi
|
|
25684
|
-
* @extends {BaseAPI}
|
|
25685
|
-
*/
|
|
25686
|
-
export declare class MApi extends BaseAPI implements MApiInterface {
|
|
25687
|
-
/**
|
|
25688
|
-
*
|
|
25689
|
-
* @param {*} [options] Override http request option.
|
|
25690
|
-
* @throws {RequiredError}
|
|
25691
|
-
* @memberof MApi
|
|
25692
|
-
*/
|
|
25693
|
-
munchiLogin(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25694
|
-
}
|
|
25695
25764
|
/**
|
|
25696
25765
|
* MenuApi - axios parameter creator
|
|
25697
25766
|
* @export
|
|
@@ -27969,6 +28038,16 @@ export declare class PluginApi extends BaseAPI implements PluginApiInterface {
|
|
|
27969
28038
|
* @export
|
|
27970
28039
|
*/
|
|
27971
28040
|
export declare const ProductApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28041
|
+
/**
|
|
28042
|
+
*
|
|
28043
|
+
* @summary Generate and save an 8-digit product SKU in Ordering
|
|
28044
|
+
* @param {string} businessId Business ID
|
|
28045
|
+
* @param {string} categoryId Category ID
|
|
28046
|
+
* @param {string} productId Product ID
|
|
28047
|
+
* @param {*} [options] Override http request option.
|
|
28048
|
+
* @throws {RequiredError}
|
|
28049
|
+
*/
|
|
28050
|
+
generateProductSkuV2: (businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27972
28051
|
/**
|
|
27973
28052
|
* Update inventory settings for multiple channels at once
|
|
27974
28053
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -27980,12 +28059,33 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
|
|
|
27980
28059
|
* @throws {RequiredError}
|
|
27981
28060
|
*/
|
|
27982
28061
|
updateChannelInventoryV2: (businessId: string, categoryId: string, productId: string, updateChannelInventoryDto: UpdateChannelInventoryDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28062
|
+
/**
|
|
28063
|
+
*
|
|
28064
|
+
* @summary Update product SKU in Ordering
|
|
28065
|
+
* @param {string} businessId Business ID
|
|
28066
|
+
* @param {string} categoryId Category ID
|
|
28067
|
+
* @param {string} productId Product ID
|
|
28068
|
+
* @param {UpdateProductSkuDto} updateProductSkuDto SKU update payload
|
|
28069
|
+
* @param {*} [options] Override http request option.
|
|
28070
|
+
* @throws {RequiredError}
|
|
28071
|
+
*/
|
|
28072
|
+
updateProductSkuV2: (businessId: string, categoryId: string, productId: string, updateProductSkuDto: UpdateProductSkuDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27983
28073
|
};
|
|
27984
28074
|
/**
|
|
27985
28075
|
* ProductApi - functional programming interface
|
|
27986
28076
|
* @export
|
|
27987
28077
|
*/
|
|
27988
28078
|
export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
28079
|
+
/**
|
|
28080
|
+
*
|
|
28081
|
+
* @summary Generate and save an 8-digit product SKU in Ordering
|
|
28082
|
+
* @param {string} businessId Business ID
|
|
28083
|
+
* @param {string} categoryId Category ID
|
|
28084
|
+
* @param {string} productId Product ID
|
|
28085
|
+
* @param {*} [options] Override http request option.
|
|
28086
|
+
* @throws {RequiredError}
|
|
28087
|
+
*/
|
|
28088
|
+
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSkuResponseDto>>;
|
|
27989
28089
|
/**
|
|
27990
28090
|
* Update inventory settings for multiple channels at once
|
|
27991
28091
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -27997,12 +28097,33 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
|
|
|
27997
28097
|
* @throws {RequiredError}
|
|
27998
28098
|
*/
|
|
27999
28099
|
updateChannelInventoryV2(businessId: string, categoryId: string, productId: string, updateChannelInventoryDto: UpdateChannelInventoryDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChannelInventoryResponseDto>>>;
|
|
28100
|
+
/**
|
|
28101
|
+
*
|
|
28102
|
+
* @summary Update product SKU in Ordering
|
|
28103
|
+
* @param {string} businessId Business ID
|
|
28104
|
+
* @param {string} categoryId Category ID
|
|
28105
|
+
* @param {string} productId Product ID
|
|
28106
|
+
* @param {UpdateProductSkuDto} updateProductSkuDto SKU update payload
|
|
28107
|
+
* @param {*} [options] Override http request option.
|
|
28108
|
+
* @throws {RequiredError}
|
|
28109
|
+
*/
|
|
28110
|
+
updateProductSkuV2(businessId: string, categoryId: string, productId: string, updateProductSkuDto: UpdateProductSkuDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSkuResponseDto>>;
|
|
28000
28111
|
};
|
|
28001
28112
|
/**
|
|
28002
28113
|
* ProductApi - factory interface
|
|
28003
28114
|
* @export
|
|
28004
28115
|
*/
|
|
28005
28116
|
export declare const ProductApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
28117
|
+
/**
|
|
28118
|
+
*
|
|
28119
|
+
* @summary Generate and save an 8-digit product SKU in Ordering
|
|
28120
|
+
* @param {string} businessId Business ID
|
|
28121
|
+
* @param {string} categoryId Category ID
|
|
28122
|
+
* @param {string} productId Product ID
|
|
28123
|
+
* @param {*} [options] Override http request option.
|
|
28124
|
+
* @throws {RequiredError}
|
|
28125
|
+
*/
|
|
28126
|
+
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: any): AxiosPromise<ProductSkuResponseDto>;
|
|
28006
28127
|
/**
|
|
28007
28128
|
* Update inventory settings for multiple channels at once
|
|
28008
28129
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -28014,6 +28135,17 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
28014
28135
|
* @throws {RequiredError}
|
|
28015
28136
|
*/
|
|
28016
28137
|
updateChannelInventoryV2(businessId: string, categoryId: string, productId: string, updateChannelInventoryDto: UpdateChannelInventoryDto, options?: any): AxiosPromise<Array<ChannelInventoryResponseDto>>;
|
|
28138
|
+
/**
|
|
28139
|
+
*
|
|
28140
|
+
* @summary Update product SKU in Ordering
|
|
28141
|
+
* @param {string} businessId Business ID
|
|
28142
|
+
* @param {string} categoryId Category ID
|
|
28143
|
+
* @param {string} productId Product ID
|
|
28144
|
+
* @param {UpdateProductSkuDto} updateProductSkuDto SKU update payload
|
|
28145
|
+
* @param {*} [options] Override http request option.
|
|
28146
|
+
* @throws {RequiredError}
|
|
28147
|
+
*/
|
|
28148
|
+
updateProductSkuV2(businessId: string, categoryId: string, productId: string, updateProductSkuDto: UpdateProductSkuDto, options?: any): AxiosPromise<ProductSkuResponseDto>;
|
|
28017
28149
|
};
|
|
28018
28150
|
/**
|
|
28019
28151
|
* ProductApi - interface
|
|
@@ -28021,6 +28153,17 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
|
|
|
28021
28153
|
* @interface ProductApi
|
|
28022
28154
|
*/
|
|
28023
28155
|
export interface ProductApiInterface {
|
|
28156
|
+
/**
|
|
28157
|
+
*
|
|
28158
|
+
* @summary Generate and save an 8-digit product SKU in Ordering
|
|
28159
|
+
* @param {string} businessId Business ID
|
|
28160
|
+
* @param {string} categoryId Category ID
|
|
28161
|
+
* @param {string} productId Product ID
|
|
28162
|
+
* @param {*} [options] Override http request option.
|
|
28163
|
+
* @throws {RequiredError}
|
|
28164
|
+
* @memberof ProductApiInterface
|
|
28165
|
+
*/
|
|
28166
|
+
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): AxiosPromise<ProductSkuResponseDto>;
|
|
28024
28167
|
/**
|
|
28025
28168
|
* Update inventory settings for multiple channels at once
|
|
28026
28169
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -28033,6 +28176,18 @@ export interface ProductApiInterface {
|
|
|
28033
28176
|
* @memberof ProductApiInterface
|
|
28034
28177
|
*/
|
|
28035
28178
|
updateChannelInventoryV2(businessId: string, categoryId: string, productId: string, updateChannelInventoryDto: UpdateChannelInventoryDto, options?: AxiosRequestConfig): AxiosPromise<Array<ChannelInventoryResponseDto>>;
|
|
28179
|
+
/**
|
|
28180
|
+
*
|
|
28181
|
+
* @summary Update product SKU in Ordering
|
|
28182
|
+
* @param {string} businessId Business ID
|
|
28183
|
+
* @param {string} categoryId Category ID
|
|
28184
|
+
* @param {string} productId Product ID
|
|
28185
|
+
* @param {UpdateProductSkuDto} updateProductSkuDto SKU update payload
|
|
28186
|
+
* @param {*} [options] Override http request option.
|
|
28187
|
+
* @throws {RequiredError}
|
|
28188
|
+
* @memberof ProductApiInterface
|
|
28189
|
+
*/
|
|
28190
|
+
updateProductSkuV2(businessId: string, categoryId: string, productId: string, updateProductSkuDto: UpdateProductSkuDto, options?: AxiosRequestConfig): AxiosPromise<ProductSkuResponseDto>;
|
|
28036
28191
|
}
|
|
28037
28192
|
/**
|
|
28038
28193
|
* ProductApi - object-oriented interface
|
|
@@ -28041,6 +28196,17 @@ export interface ProductApiInterface {
|
|
|
28041
28196
|
* @extends {BaseAPI}
|
|
28042
28197
|
*/
|
|
28043
28198
|
export declare class ProductApi extends BaseAPI implements ProductApiInterface {
|
|
28199
|
+
/**
|
|
28200
|
+
*
|
|
28201
|
+
* @summary Generate and save an 8-digit product SKU in Ordering
|
|
28202
|
+
* @param {string} businessId Business ID
|
|
28203
|
+
* @param {string} categoryId Category ID
|
|
28204
|
+
* @param {string} productId Product ID
|
|
28205
|
+
* @param {*} [options] Override http request option.
|
|
28206
|
+
* @throws {RequiredError}
|
|
28207
|
+
* @memberof ProductApi
|
|
28208
|
+
*/
|
|
28209
|
+
generateProductSkuV2(businessId: string, categoryId: string, productId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSkuResponseDto, any, {}>>;
|
|
28044
28210
|
/**
|
|
28045
28211
|
* Update inventory settings for multiple channels at once
|
|
28046
28212
|
* @summary Update channel inventory (POS, Kiosk, etc.)
|
|
@@ -28053,6 +28219,18 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
|
|
|
28053
28219
|
* @memberof ProductApi
|
|
28054
28220
|
*/
|
|
28055
28221
|
updateChannelInventoryV2(businessId: string, categoryId: string, productId: string, updateChannelInventoryDto: UpdateChannelInventoryDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChannelInventoryResponseDto[], any, {}>>;
|
|
28222
|
+
/**
|
|
28223
|
+
*
|
|
28224
|
+
* @summary Update product SKU in Ordering
|
|
28225
|
+
* @param {string} businessId Business ID
|
|
28226
|
+
* @param {string} categoryId Category ID
|
|
28227
|
+
* @param {string} productId Product ID
|
|
28228
|
+
* @param {UpdateProductSkuDto} updateProductSkuDto SKU update payload
|
|
28229
|
+
* @param {*} [options] Override http request option.
|
|
28230
|
+
* @throws {RequiredError}
|
|
28231
|
+
* @memberof ProductApi
|
|
28232
|
+
*/
|
|
28233
|
+
updateProductSkuV2(businessId: string, categoryId: string, productId: string, updateProductSkuDto: UpdateProductSkuDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSkuResponseDto, any, {}>>;
|
|
28056
28234
|
}
|
|
28057
28235
|
/**
|
|
28058
28236
|
* ProviderApi - axios parameter creator
|