@munchi_oy/core 1.9.11 → 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.
@@ -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
  /**
@@ -27946,6 +28038,16 @@ export declare class PluginApi extends BaseAPI implements PluginApiInterface {
27946
28038
  * @export
27947
28039
  */
27948
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>;
27949
28051
  /**
27950
28052
  * Update inventory settings for multiple channels at once
27951
28053
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -27957,12 +28059,33 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
27957
28059
  * @throws {RequiredError}
27958
28060
  */
27959
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>;
27960
28073
  };
27961
28074
  /**
27962
28075
  * ProductApi - functional programming interface
27963
28076
  * @export
27964
28077
  */
27965
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>>;
27966
28089
  /**
27967
28090
  * Update inventory settings for multiple channels at once
27968
28091
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -27974,12 +28097,33 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
27974
28097
  * @throws {RequiredError}
27975
28098
  */
27976
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>>;
27977
28111
  };
27978
28112
  /**
27979
28113
  * ProductApi - factory interface
27980
28114
  * @export
27981
28115
  */
27982
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>;
27983
28127
  /**
27984
28128
  * Update inventory settings for multiple channels at once
27985
28129
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -27991,6 +28135,17 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
27991
28135
  * @throws {RequiredError}
27992
28136
  */
27993
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>;
27994
28149
  };
27995
28150
  /**
27996
28151
  * ProductApi - interface
@@ -27998,6 +28153,17 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
27998
28153
  * @interface ProductApi
27999
28154
  */
28000
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>;
28001
28167
  /**
28002
28168
  * Update inventory settings for multiple channels at once
28003
28169
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -28010,6 +28176,18 @@ export interface ProductApiInterface {
28010
28176
  * @memberof ProductApiInterface
28011
28177
  */
28012
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>;
28013
28191
  }
28014
28192
  /**
28015
28193
  * ProductApi - object-oriented interface
@@ -28018,6 +28196,17 @@ export interface ProductApiInterface {
28018
28196
  * @extends {BaseAPI}
28019
28197
  */
28020
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, {}>>;
28021
28210
  /**
28022
28211
  * Update inventory settings for multiple channels at once
28023
28212
  * @summary Update channel inventory (POS, Kiosk, etc.)
@@ -28030,6 +28219,18 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
28030
28219
  * @memberof ProductApi
28031
28220
  */
28032
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, {}>>;
28033
28234
  }
28034
28235
  /**
28035
28236
  * ProviderApi - axios parameter creator