idosell 0.4.27 → 0.4.32

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.
@@ -1,10 +1,12 @@
1
1
  /* eslint-disable @typescript-eslint/no-empty-object-type */
2
2
  import type { PagableGateway, AppendableGateway, Gateway, DateLike, JSObject, IdosellErrorFaultStructure } from "./app.d.ts"
3
- import type { GetClientsBalanceResponse, BooleanStatusResponse, GetClientsResponse, PostClientsResponse, PutClientsResponse, SearchClientsCrmResponse, GetClientsDeliveryAddressResponse, PostClientsDeliveryAddressResponse, PutClientsDeliveryAddressResponse, VouchersResponse, PutVouchersResponse, SearchClientsGiftcardsResponse, GetClientsGiftcardsTypesResponse, GetClientsMembershipCardsResponse, PutClientsMembershipCardsResponse, SearchClientsNewsletterEmailResponse, SearchClientsNewsletterSmsResponse, GetClientsPayerAddressResponse, PostClientsPayerAddressResponse, PutClientsPayerAddressResponse, GetClientsPricelistsClientsResponse, PutClientsPricelistsClientsResponse, GetClientsPricelistsResponse, PostClientsPricelistsResponse, GetClientsPricelistsProductsResponse, PutClientsPricelistsProductsResponse, GetClientsPricesActiveCardResponse, GetClientsPricesDiscountGroupsResponse, GetClientsPricesDiscountsResponse, PutClientsPricesDiscountsResponse, GetClientsProfitPointsResponse, GetClientsProvinceListResponse, GetClientsTagsResponse, PostClientsTagsResponse, PutClientsTagsResponse, GetConfigVariablesResponse, PutConfigVariablesResponse, GetCouriersAssignedToShippingProfilesResponse, GetCouriersResponse, GetCouriersPickupPointsResponse, PutCouriersPickupPointsResponse, GetCpaCampaignResponse, CmsCampaignResponse, CmsResponse, GetCpaResponse, GetDeliveriesProfilesResponse, GetDeliveriesRegionsResponse, PostDeliveriesRegionsResponse, GetDiscountsGroupsClientsResponse, GetDiscountsGroupsResponse, PostDiscountsGroupsResponse, GetEntriesResponse, PostEntriesResponse, GetEntriesPagesToDisplayResponse, GetEntriesSourcesResponse, GetMenuResponse, PostMenuResponse, PutMenuResponse, PutMenuSortResponse, GetOrdersAnalyticsResponse, GetOrdersAuctionDetailsResponse, PutOrdersCourierResponse, PostOrdersDocumentsCreateResponse, GetOrdersDocumentsResponse, PostOrdersDocumentsResponse, GetOrdersHandlerResponse, GetOrdersHistoryResponse, GetOrdersImagesResponse, PostOrdersImagesResponse, GetOrdersLabelsResponse, SearchOrdersOpinionsResponse, GetOrdersOpinionsRateResponse, SearchOrdersResponse, PostOrdersResponse, PutOrdersResponse, GetOrdersPackagesResponse, PutOrdersPackagesResponse, PutOrdersProductsSerialNumbersResponse, PutOrdersProfitMarginResponse, GetOrdersProfitabilityResponse, GetOrdersStatusesResponse, GetOrdersWarehouseResponse, PostPackagesLabelsResponse, PutPackagesResponse, SearchPackagesResponse, GetPaymentsFormsResponse, GetPaymentsResponse, PostPaymentsResponse, GetPaymentsProfilesResponse, PostPaymentsRepaymentResponse, GetProductsSKUbyBarcodeResponse, PutProductsAttachmentsResponse, GetProductsAuctionsResponse, GetProductsBrandsResponse, PutProductsBrandsResponse, GetProductsCategoriesResponse, PutProductsCategoriesResponse, SearchProductsCategoriesIdosellResponse, GetProductsCodeExistenceResponse, SearchProductsDeliveryTimeResponse, GetProductsDescriptionsResponse, ProductIdentResponse, PutProductsGroupsSettingsResponse, GetProductsIdBySizecodeResponse, PutProductsImagesResponse, GetProductsMarketingPromotionResponse, PostProductsMarketingPromotionResponse, PutProductsMarketingPromotionResponse, GetProductsMarketingZonesResponse, PutProductsMarketingZonesResponse, GetProductsOmnibusPricesResponse, GetProductsOpinionsResponse, PostProductsOpinionsResponse, GetProductsOpinionsRateResponse, PutProductsParametersResponse, SearchProductsParametersResponse, SearchProductsResponse, PostProductsResponse, PutProductsResponse, GetProductsQuestionsResponse, GetProductsReservationsResponse, GetProductsSeriesResponse, PutProductsSeriesResponse, GetProductsSizesResponse, PutProductsSizesResponse, PutProductsStockQuantityResponse, GetProductsStocksResponse, PutProductsStocksResponse, GetProductsStrikethroughPricesResponse, PutProductsSupplierCodeResponse, PutProductsSupplierProductDataResponse, PromotionBoolResponse, SearchPromotionsElementsResponse, SearchPromotionsHistoryResponse, PromotionIdResponse, GetPromotionsResponse, SearchPromotionsListViewResponse, GetPromotionsArchiveResponse, SearchPromotionsArchiveResponse, GetPromotionsSettingsResponse, GetResponsibilityEntitiesResponse, PutResponsibilityEntitiesResponse, GetReturnsResponse, PostReturnsResponse, PutReturnsResponse, PutReturnsSerialNumberResponse, GetRmaResponse, PutRmaResponse, GetRmaStatusesResponse, GetShopsCurrenciesResponse, GetShopsLanguagesResponse, GetSizechartsResponse, PutSizechartsResponse, GetSizesResponse, PutSizesResponse, GetSnippetsCampaignResponse, GetSnippetsCookiesResponse, GetSnippetsResponse, GetSystemConfigResponse, GetSystemCurrenciesResponse, PutSystemCurrenciesResponse, GetSystemProcessesAutomationResponse, GetSystemServerLoadResponse, GetSystemServerTimeResponse, GetSystemShopsDataResponse, GetSystemUnitsResponse, PutSystemUnitsResponse, GetSystemUsersResponse, GetVouchersTypesResponse, GetVouchersResponse, GetWarrantiesCountTotalResponse, PutWarrantiesLanguageDataResponse, GetWarrantiesResponse, PutWarrantiesResponse, GetWmsLocationsResponse, GetWmsStocksdocumentsDocumentsResponse, PostWmsStocksdocumentsDocumentsResponse, PutWmsStocksdocumentsDocumentsResponse, GetWmsStocksdocumentsOpenedDocumentsResponse, GetWmsStocksdocumentsProductsResponse, PutWmsStocksdocumentsProductsResponse, GetWmsSuppliersResponse, PutWmsSuppliersResponse } from "./responses.d.ts"
3
+ import type { GetClientsBalanceResponse, BooleanStatusResponse, GetClientsResponse, PostClientsResponse, PutClientsResponse, SearchClientsCrmResponse, GetClientsDeliveryAddressResponse, PostClientsDeliveryAddressResponse, PutClientsDeliveryAddressResponse, VouchersResponse, PutVouchersResponse, SearchClientsGiftcardsResponse, GetClientsGiftcardsTypesResponse, GetClientsMembershipCardsResponse, PutClientsMembershipCardsResponse, SearchClientsNewsletterEmailResponse, SearchClientsNewsletterSmsResponse, GetClientsPayerAddressResponse, PostClientsPayerAddressResponse, PutClientsPayerAddressResponse, GetClientsPricelistsClientsResponse, PutClientsPricelistsClientsResponse, GetClientsPricelistsResponse, PostClientsPricelistsResponse, GetClientsPricelistsProductsResponse, PutClientsPricelistsProductsResponse, GetClientsPricesActiveCardResponse, GetClientsPricesDiscountGroupsResponse, GetClientsPricesDiscountsResponse, PutClientsPricesDiscountsResponse, GetClientsProfitPointsResponse, GetClientsProvinceListResponse, GetClientsTagsResponse, PostClientsTagsResponse, PutClientsTagsResponse, GetConfigVariablesResponse, PutConfigVariablesResponse, GetCouriersAssignedToShippingProfilesResponse, GetCouriersResponse, GetCouriersPickupPointsResponse, PutCouriersPickupPointsResponse, GetCpaCampaignResponse, CmsCampaignResponse, CmsResponse, GetCpaResponse, GetDeliveriesProfilesResponse, GetDeliveriesRegionsResponse, PostDeliveriesRegionsResponse, GetDiscountsGroupsClientsResponse, GetDiscountsGroupsResponse, PostDiscountsGroupsResponse, GetEntriesResponse, PostEntriesResponse, GetEntriesPagesToDisplayResponse, GetEntriesSourcesResponse, GetMenuResponse, PostMenuResponse, PutMenuResponse, PutMenuSortResponse, GetOrdersAnalyticsResponse, GetOrdersAuctionDetailsResponse, PutOrdersCourierResponse, PostOrdersDocumentsCreateResponse, GetOrdersDocumentsResponse, PostOrdersDocumentsResponse, GetOrdersHandlerResponse, GetOrdersHistoryResponse, GetOrdersImagesResponse, PostOrdersImagesResponse, GetOrdersLabelsResponse, SearchOrdersOpinionsResponse, GetOrdersOpinionsRateResponse, SearchOrdersResponse, PostOrdersResponse, PutOrdersResponse, GetOrdersPackagesResponse, PutOrdersPackagesResponse, PutOrdersProductsSerialNumbersResponse, PutOrdersProfitMarginResponse, GetOrdersProfitabilityResponse, GetOrdersStatusesResponse, GetOrdersWarehouseResponse, PostPackagesLabelsResponse, PutPackagesResponse, SearchPackagesResponse, GetPaymentsFormsResponse, GetPaymentsResponse, PostPaymentsResponse, GetPaymentsProfilesResponse, PostPaymentsRepaymentResponse, GetProductsSKUbyBarcodeResponse, PutProductsAttachmentsResponse, GetProductsAuctionsResponse, GetProductsBrandsResponse, PutProductsBrandsResponse, GetProductsCategoriesResponse, PutProductsCategoriesResponse, SearchProductsCategoriesIdosellResponse, GetProductsCodeExistenceResponse, SearchProductsDeliveryTimeResponse, GetProductsDescriptionsResponse, ProductIdentResponse, PutProductsGroupsSettingsResponse, GetProductsIdBySizecodeResponse, PutProductsImagesResponse, GetProductsMarketingZonesResponse, PutProductsMarketingZonesResponse, GetProductsOmnibusPricesResponse, GetProductsOpinionsResponse, PostProductsOpinionsResponse, GetProductsOpinionsRateResponse, PutProductsParametersResponse, SearchProductsParametersResponse, SearchProductsResponse, PostProductsResponse, PutProductsResponse, PutProductsMarketingPromotionResponse, GetProductsQuestionsResponse, GetProductsReservationsResponse, GetProductsSeriesResponse, PutProductsSeriesResponse, GetProductsSizesResponse, PutProductsSizesResponse, PutProductsStockQuantityResponse, GetProductsStocksResponse, PutProductsStocksResponse, GetProductsStrikethroughPricesResponse, PutProductsSupplierCodeResponse, PutProductsSupplierProductDataResponse, PromotionBoolResponse, SearchPromotionsElementsResponse, SearchPromotionsHistoryResponse, PromotionIdResponse, GetPromotionsResponse, SearchPromotionsListViewResponse, GetPromotionsArchiveResponse, SearchPromotionsArchiveResponse, GetPromotionsSettingsResponse, GetRegulationsHistoryResponse, GetResponsibilityEntitiesResponse, PutResponsibilityEntitiesResponse, GetReturnsResponse, PostReturnsResponse, PutReturnsResponse, PutReturnsSerialNumberResponse, GetRmaResponse, PutRmaResponse, GetRmaStatusesResponse, GetShopsCurrenciesResponse, GetShopsLanguagesResponse, GetSizechartsResponse, PutSizechartsResponse, GetSizesResponse, PutSizesResponse, GetSnippetsCampaignResponse, GetSnippetsCookiesResponse, GetSnippetsResponse, GetSystemConfigResponse, GetSystemCurrenciesResponse, PutSystemCurrenciesResponse, GetSystemProcessesAutomationResponse, GetSystemServerLoadResponse, GetSystemServerTimeResponse, GetSystemShopsDataResponse, GetSystemUnitsResponse, PutSystemUnitsResponse, GetSystemUsersResponse, GetVouchersTypesResponse, GetVouchersResponse, GetWarrantiesCountTotalResponse, PutWarrantiesLanguageDataResponse, GetWarrantiesResponse, PutWarrantiesResponse, GetWmsLocationsResponse, GetWmsStocksdocumentsDocumentsResponse, PostWmsStocksdocumentsDocumentsResponse, PutWmsStocksdocumentsDocumentsResponse, GetWmsStocksdocumentsOpenedDocumentsResponse, GetWmsStocksdocumentsProductsResponse, PutWmsStocksdocumentsProductsResponse, GetWmsSuppliersResponse, PutWmsSuppliersResponse, GetProductsMarketingPromotionResponse, PostProductsMarketingPromotionResponse } from "./responses.d.ts"
4
4
  import type * as RequestParams from "./reqparams.d.ts";
5
- import * as ENUMS from "./enums";
5
+ import { ENUMS } from "./enums";
6
6
  import utils from "./utils";
7
7
 
8
+ type ProductReturnElement = `${ENUMS.PRODUCTS_RETURN_ELEMENTS}`;
9
+
8
10
  export class IdosellFaultStringError extends Error {
9
11
  cause: IdosellFaultStringError;
10
12
  constructor(message: string, cause: IdosellErrorFaultStructure);
@@ -111,7 +113,6 @@ export interface PostClientsRequest extends AppendableGateway<PostClientsRequest
111
113
  birth_date: (birth_date: string) => this
112
114
  /** Customer phone number. */
113
115
  phone: (phone: string) => this
114
- /** */
115
116
  company: (company: string) => this
116
117
  /** Customer Tax no. */
117
118
  vat_number: (vat_number: string) => this
@@ -129,7 +130,6 @@ export interface PostClientsRequest extends AppendableGateway<PostClientsRequest
129
130
  block_autosigning_to_shops: (block_autosigning_to_shops: boolean) => this
130
131
  /** Customer default currency (ISO 4217 code). */
131
132
  currency: (currency: string) => this
132
- /** */
133
133
  delivery_dates: (delivery_dates: string|string[]) => this
134
134
  /** Customer account balance in external system. */
135
135
  external_balance_value: (external_balance_value: number) => this
@@ -383,12 +383,14 @@ export interface PutClientsDeliveryAddressRequest extends AppendableGateway<PutC
383
383
  clientDeliveryAddressCountry: (clientDeliveryAddressCountry: string) => this
384
384
  }
385
385
 
386
- export interface PutClientsExternalCodeRequest extends Gateway {
387
- client_id: (value: number|string) => this;
386
+ export interface PutClientsExternalCodeRequest extends AppendableGateway<PutClientsExternalCodeRequest, JSObject, RequestParams.PutClientsExternalCodeParams> {
387
+ /** Customer data. */
388
+ clients: (value: RequestParams.PutClientsExternalCodeParams["clients"]) => this;
389
+ client_id: (client_id: number|string) => this
388
390
  /** Customer's login. */
389
- client_login: (value: string) => this;
391
+ client_login: (client_login: string) => this
390
392
  /** External system code. */
391
- code_extern: (value: string) => this;
393
+ code_extern: (code_extern: string) => this
392
394
  }
393
395
 
394
396
  export interface PutClientsGiftcardsBlockRequest extends AppendableGateway<PutClientsGiftcardsBlockRequest, VouchersResponse, RequestParams.PutClientsGiftcardsBlockParams> {
@@ -426,7 +428,6 @@ export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClien
426
428
  balance: (balance: RequestParams.PostClientsGiftcardsParams["giftCards"][number]["balance"]) => this
427
429
  /** List of shops the card is active in */
428
430
  shops: (shops: number|string|number[]|string[]) => this
429
- /** */
430
431
  note: (note: string) => this
431
432
  }
432
433
 
@@ -449,7 +450,6 @@ export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClients
449
450
  balance: (balance: RequestParams.PutClientsGiftcardsParams["giftCards"][number]["balance"]) => this
450
451
  /** List of shops the card is active in */
451
452
  shops: (shops: number|string|number[]|string[]) => this
452
- /** */
453
453
  note: (note: string) => this
454
454
  /** Adds balance to current gift card */
455
455
  add: (amount: number, currency?: string) => this;
@@ -823,7 +823,6 @@ export interface PutClientsTagsRequest extends AppendableGateway<PutClientsTagsR
823
823
  clientTags: (value: RequestParams.PutClientsTagsParams["clientTags"]) => this;
824
824
  /** Tag ID. */
825
825
  tagId: (tagId: number|string) => this
826
- /** */
827
826
  operation: (operation: 'add'|'set'|'subtract') => this
828
827
  /** Tag value. */
829
828
  tagValue: (tagValue: number|string) => this
@@ -952,7 +951,6 @@ export interface GetCpaCampaignRequest extends PagableGateway<GetCpaCampaignRequ
952
951
 
953
952
  export interface PostCpaCampaignRequest extends AppendableGateway<PostCpaCampaignRequest, CmsCampaignResponse, RequestParams.PostCpaCampaignParams> {
954
953
  campaigns: (value: RequestParams.PostCpaCampaignParams["campaigns"]) => this;
955
- /** undefined */
956
954
  id: (id: number|string) => this
957
955
  /** Snippet campaign name */
958
956
  name: (name: string) => this
@@ -996,7 +994,6 @@ export interface GetCpaRequest extends PagableGateway<GetCpaRequest, GetCpaRespo
996
994
 
997
995
  export interface PostCpaRequest extends AppendableGateway<PostCpaRequest, CmsResponse, RequestParams.PostCpaParams> {
998
996
  cpa: (value: RequestParams.PostCpaParams["cpa"]) => this;
999
- /** undefined */
1000
997
  id: (id: number|string) => this
1001
998
  /** The CPA program name. */
1002
999
  name: (name: string) => this
@@ -1006,7 +1003,6 @@ export interface PostCpaRequest extends AppendableGateway<PostCpaRequest, CmsRes
1006
1003
  campaign: (campaign: number|string) => this
1007
1004
  /** CPA program page settings simple or advanced, depending on the mode. */
1008
1005
  pageSettings: (pageSettings: RequestParams.PostCpaParams["cpa"][number]["pageSettings"]) => this
1009
- /** undefined */
1010
1006
  display: (display: RequestParams.PostCpaParams["cpa"][number]["display"]) => this
1011
1007
  /** Snippet entry source filter. */
1012
1008
  sources: (sources: RequestParams.PostCpaParams["cpa"][number]["sources"]) => this
@@ -1016,7 +1012,6 @@ export interface PostCpaRequest extends AppendableGateway<PostCpaRequest, CmsRes
1016
1012
 
1017
1013
  export interface PutCpaRequest extends AppendableGateway<PutCpaRequest, CmsResponse, RequestParams.PutCpaParams> {
1018
1014
  cpa: (value: RequestParams.PutCpaParams["cpa"]) => this;
1019
- /** undefined */
1020
1015
  id: (id: number|string) => this
1021
1016
  /** The CPA program name. */
1022
1017
  name: (name: string) => this
@@ -1026,7 +1021,6 @@ export interface PutCpaRequest extends AppendableGateway<PutCpaRequest, CmsRespo
1026
1021
  campaign: (campaign: number|string) => this
1027
1022
  /** CPA program page settings simple or advanced, depending on the mode. */
1028
1023
  pageSettings: (pageSettings: RequestParams.PutCpaParams["cpa"][number]["pageSettings"]) => this
1029
- /** undefined */
1030
1024
  display: (display: RequestParams.PutCpaParams["cpa"][number]["display"]) => this
1031
1025
  /** Snippet entry source filter. */
1032
1026
  sources: (sources: RequestParams.PutCpaParams["cpa"][number]["sources"]) => this
@@ -1332,7 +1326,6 @@ export interface PostMenuRequest extends AppendableGateway<PostMenuRequest, Post
1332
1326
  parent_id: (parent_id: number|string) => this
1333
1327
  /** Menu element text identifier. Example: "item1\item2". */
1334
1328
  parent_textid: (parent_textid: string) => this
1335
- /** */
1336
1329
  lang_data: (lang_data: RequestParams.PostMenuParams["menu_list"][number]["lang_data"]) => this
1337
1330
  }
1338
1331
 
@@ -1348,7 +1341,6 @@ export interface PutMenuRequest extends AppendableGateway<PutMenuRequest, PutMen
1348
1341
  item_id: (item_id: number|string) => this
1349
1342
  /** Menu element text identifier. Example: "item1\item2\item3". */
1350
1343
  item_textid: (item_textid: string) => this
1351
- /** */
1352
1344
  lang_data: (lang_data: RequestParams.PutMenuParams["menu_list"][number]["lang_data"]) => this
1353
1345
  }
1354
1346
 
@@ -1906,7 +1898,7 @@ export interface PutOrdersShippingCostsRequest extends Gateway {
1906
1898
 
1907
1899
  export interface GetOrdersStatusesRequest extends Gateway<GetOrdersStatusesResponse> {}
1908
1900
 
1909
- export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrdersUnfinishedRequest, SearchOrdersResponse> {
1901
+ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrdersUnfinishedRequest, SearchOrdersResponse, RequestParams.SearchOrdersParams> {
1910
1902
  /** Prepayment status. Status list: "unpaid" - not paid, "restored" - returned, "waiting" - not registered. */
1911
1903
  orderPrepaidStatus: (value: "unpaid" | "restored" | "waiting") => this;
1912
1904
  /** Order status. Status list: "new" - not handled, "on_order" - in progress, "packed" - being picked, "packed_fulfillment" - being picked - fulfilment, "packed_ready" - packed, "ready" - ready, "payment_waiting" - awaiting payment, "delivery_waiting" - awaiting delivery, "wait_for_dispatch" - awaiting dispatch date, "suspended" - on hold, "finished_ext" - handled in FA application. */
@@ -1926,13 +1918,13 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
1926
1918
  /** Order serial numbers. */
1927
1919
  ordersSerialNumbers: (value: number|string|number[]|string[]) => this;
1928
1920
  /** Customer data. */
1929
- clients: (value: Array<JSObject>) => this;
1921
+ clients: (value: RequestParams.SearchOrdersParams["clients"]) => this;
1930
1922
  /** Ranges of dates or serial numbers. */
1931
- ordersRange: (value: JSObject) => this;
1923
+ ordersRange: (value: RequestParams.SearchOrdersParams["ordersRange"]) => this;
1932
1924
  /** Order source data. */
1933
- orderSource: (value: JSObject) => this;
1925
+ orderSource: (value: RequestParams.SearchOrdersParams["orderSource"]) => this;
1934
1926
  /** Products list. */
1935
- products: (value: Array<JSObject>) => this;
1927
+ products: (value: RequestParams.SearchOrdersParams["products"]) => this;
1936
1928
  /** Page with results number. Numeration starts from 0 */
1937
1929
  resultsPage: (value: number|string) => this;
1938
1930
  /** Number of results on page. Value from 1 to 100 */
@@ -1940,11 +1932,11 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
1940
1932
  /** Customer asked for invoice. List of parameters: "invoice" - yes (paper invoicing ), "e_invoice" - yes (electronic invoicing ), "n" - no. */
1941
1933
  clientRequestInvoice: (value: string) => this;
1942
1934
  /** Information on consignments. */
1943
- packages: (value: JSObject) => this;
1935
+ packages: (value: RequestParams.SearchOrdersParams["packages"]) => this;
1944
1936
  /** Stock quantities data. */
1945
- stocks: (value: Array<JSObject>) => this;
1937
+ stocks: (value: RequestParams.SearchOrdersParams["stocks"]) => this;
1946
1938
  /** Used discount codes data. */
1947
- campaign: (value: JSObject) => this;
1939
+ campaign: (value: RequestParams.SearchOrdersParams["campaign"]) => this;
1948
1940
  /** Loyalty points. */
1949
1941
  loyaltyPointsMode: (value: 'all'|'given'|'taken'|'given_or_taken'|'given_and_taken'|'not_given_nor_taken') => this;
1950
1942
  /** Order handler. */
@@ -1952,7 +1944,7 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
1952
1944
  /** Order picker. */
1953
1945
  orderPackingPersonLogin: (value: string) => this;
1954
1946
  /** Possibility of sorting returned list */
1955
- ordersBy: (value: Array<JSObject>) => this;
1947
+ ordersBy: (value: RequestParams.SearchOrdersParams["ordersBy"]) => this;
1956
1948
  /** Method of searching orders by handler. */
1957
1949
  searchingOperatorTypeMatch: (value: 'no_assignment'|'no_empty'|'empty') => this;
1958
1950
  /** Orders with the exceeded date of shipment. */
@@ -2181,6 +2173,15 @@ export interface GetProductsSKUbyBarcodeRequest extends Gateway<GetProductsSKUby
2181
2173
  searchOnlyInCodeIai: (value: boolean) => this;
2182
2174
  }
2183
2175
 
2176
+ export interface GetProductsAttachmentsGetContentRequest extends Gateway {
2177
+ /** - product identifier value */
2178
+ productIdentValue: (value: string) => this;
2179
+ /** - product identifier type */
2180
+ productIdentType: (value: 'codeExtern'|'codeProducer'|'index'|'id') => this;
2181
+ /** - product attachment ID */
2182
+ attachmentId: (value: number|string) => this;
2183
+ }
2184
+
2184
2185
  export interface PutProductsAttachmentsRequest extends AppendableGateway<PutProductsAttachmentsRequest, PutProductsAttachmentsResponse, RequestParams.PutProductsAttachmentsParams> {
2185
2186
  productsAttachments: (value: RequestParams.PutProductsAttachmentsParams["productsAttachments"]) => this;
2186
2187
  /** Stock keeping unit. */
@@ -2263,9 +2264,7 @@ export interface PostProductsBrandsRequest extends AppendableGateway<PostProduct
2263
2264
  producers: (value: RequestParams.PostProductsBrandsParams["producers"]) => this;
2264
2265
  /** Name in panel */
2265
2266
  nameInPanel: (nameInPanel: string) => this
2266
- /** */
2267
2267
  imagesSettings: (imagesSettings: RequestParams.PostProductsBrandsParams["producers"][number]["imagesSettings"]) => this
2268
- /** */
2269
2268
  languagesConfigurations: (languagesConfigurations: RequestParams.PostProductsBrandsParams["producers"][number]["languagesConfigurations"]) => this
2270
2269
  }
2271
2270
 
@@ -2276,9 +2275,7 @@ export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsB
2276
2275
  id: (id: number|string) => this
2277
2276
  /** Name in panel */
2278
2277
  nameInPanel: (nameInPanel: string) => this
2279
- /** */
2280
2278
  imagesSettings: (imagesSettings: RequestParams.PutProductsBrandsParams["producers"][number]["imagesSettings"]) => this
2281
- /** */
2282
2279
  languagesConfigurations: (languagesConfigurations: RequestParams.PutProductsBrandsParams["producers"][number]["languagesConfigurations"]) => this
2283
2280
  }
2284
2281
 
@@ -2294,7 +2291,6 @@ export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<
2294
2291
  params: (value: Array<JSObject>) => this;
2295
2292
  /** Products list. */
2296
2293
  products: (products: Array<JSObject>) => this
2297
- /** */
2298
2294
  bundleIdent: (bundleIdent: JSObject) => this
2299
2295
  }
2300
2296
 
@@ -2303,7 +2299,6 @@ export interface PostProductsBundlesProductsRequest extends AppendableGateway<Po
2303
2299
  params: (value: Array<JSObject>) => this;
2304
2300
  /** Products list. */
2305
2301
  products: (products: Array<JSObject>) => this
2306
- /** */
2307
2302
  bundleIdent: (bundleIdent: JSObject) => this
2308
2303
  }
2309
2304
 
@@ -2312,7 +2307,6 @@ export interface PutProductsBundlesProductsQuantityRequest extends AppendableGat
2312
2307
  params: (value: Array<JSObject>) => this;
2313
2308
  /** Products list. */
2314
2309
  products: (products: Array<JSObject>) => this
2315
- /** */
2316
2310
  bundleIdent: (bundleIdent: JSObject) => this
2317
2311
  }
2318
2312
 
@@ -2349,7 +2343,6 @@ export interface PutProductsCategoriesRequest extends AppendableGateway<PutProdu
2349
2343
  priority: (priority: number|string) => this
2350
2344
  /** Operation code. Allowed values. "add" - adds new category, "edit" - edits existing category, "del" - deletes existing category. */
2351
2345
  operation: (operation: string) => this
2352
- /** */
2353
2346
  lang_data: (lang_data: RequestParams.PutProductsCategoriesParams["categories"][number]["lang_data"]) => this
2354
2347
  }
2355
2348
 
@@ -2454,7 +2447,6 @@ export interface GetProductsDescriptionsRequest extends Gateway<GetProductsDescr
2454
2447
  export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest, ProductIdentResponse, RequestParams.PutProductsDescriptionsParams> {
2455
2448
  /** Products list. */
2456
2449
  products: (value: RequestParams.PutProductsDescriptionsParams["products"]) => this;
2457
- /** */
2458
2450
  productIdent: (productIdent: RequestParams.PutProductsDescriptionsParams["products"][number]["productIdent"]) => this
2459
2451
  /** Array of language-dependent elements. */
2460
2452
  productDescriptionsLangData: (productDescriptionsLangData: RequestParams.PutProductsDescriptionsParams["products"][number]["productDescriptionsLangData"]) => this
@@ -2467,14 +2459,12 @@ export interface PutProductsDescriptionsRequest extends AppendableGateway<PutPro
2467
2459
 
2468
2460
  export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest, ProductIdentResponse, RequestParams.PutProductsGroupsMainProductParams> {
2469
2461
  groups: (value: RequestParams.PutProductsGroupsMainProductParams["groups"]) => this;
2470
- /** */
2471
2462
  productIdent: (productIdent: RequestParams.PutProductsGroupsMainProductParams["groups"][number]["productIdent"]) => this
2472
2463
  productId: (value: number|string) => this;
2473
2464
  }
2474
2465
 
2475
2466
  export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest, PutProductsGroupsSettingsResponse, RequestParams.PutProductsGroupsOrderParams> {
2476
2467
  groups: (value: RequestParams.PutProductsGroupsOrderParams["groups"]) => this;
2477
- /** */
2478
2468
  productsInOrder: (productsInOrder: RequestParams.PutProductsGroupsOrderParams["groups"][number]["productsInOrder"]) => this
2479
2469
  /** Defines order of products within group by automatically setting proprities in order of appearance */
2480
2470
  productIdsInOrder: (productIds: number|string|number[]|string[]) => this;
@@ -2482,7 +2472,6 @@ export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProd
2482
2472
 
2483
2473
  export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest, PutProductsGroupsSettingsResponse, RequestParams.PutProductsGroupsSettingsParams> {
2484
2474
  groups: (value: RequestParams.PutProductsGroupsSettingsParams["groups"]) => this;
2485
- /** */
2486
2475
  productIdent: (productIdent: RequestParams.PutProductsGroupsSettingsParams["groups"][number]["productIdent"]) => this
2487
2476
  /** Display on the product list in the panel. */
2488
2477
  displayInPanel: (displayInPanel: 'firstAvailable'|'all') => this
@@ -2509,7 +2498,6 @@ export interface DeleteProductsImagesRequest extends AppendableGateway<DeletePro
2509
2498
  productId: (productId: number|string) => this
2510
2499
  /** Shop Id */
2511
2500
  shopId: (shopId: number|string) => this
2512
- /** */
2513
2501
  productImagesId: (productImagesId: number|string|number[]|string[]) => this
2514
2502
  }
2515
2503
 
@@ -2517,7 +2505,6 @@ export interface PutProductsImagesRequest extends AppendableGateway<PutProductsI
2517
2505
  productsImagesSettings: (value: RequestParams.PutProductsImagesParams["productsImagesSettings"]) => this;
2518
2506
  /** Information on product images */
2519
2507
  productsImages: (value: RequestParams.PutProductsImagesParams["productsImages"]) => this;
2520
- /** */
2521
2508
  productIdent: (productIdent: RequestParams.PutProductsImagesParams["productsImages"][number]["productIdent"]) => this
2522
2509
  /** Shop Id */
2523
2510
  shopId: (shopId: number|string) => this
@@ -2541,79 +2528,6 @@ export interface GetProductsMarketingAllFacebookCatalogIdsRequest extends Gatewa
2541
2528
  shopId: (value: number|string) => this;
2542
2529
  }
2543
2530
 
2544
- export interface GetProductsMarketingPromotionRequest extends Gateway<GetProductsMarketingPromotionResponse> {
2545
- /** Shop Id */
2546
- shopId: (value: number|string) => this;
2547
- /** Products list. */
2548
- products: (value: number|string|number[]|string[]) => this;
2549
- }
2550
-
2551
- export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest, PostProductsMarketingPromotionResponse, RequestParams.PostProductsMarketingPromotionParams> {
2552
- /** Promotion name */
2553
- promotionName: (value: string) => this;
2554
- /** List of stores IDs When mask is determined, this parameter is omitted. */
2555
- shopsIds: (value: number|string|number[]|string[]) => this;
2556
- /** Special zones */
2557
- marketingZones: (value: RequestParams.PostProductsMarketingPromotionParams["marketingZones"]) => this;
2558
- /** Promotional price settings */
2559
- newPriceSettings: (value: RequestParams.PostProductsMarketingPromotionParams["newPriceSettings"]) => this;
2560
- /** Promotion start date in Y-m-d H:i:s format */
2561
- startDate: (value: string) => this;
2562
- /** Promotion end date in Y-m-d H:i:s format */
2563
- endDate: (value: string) => this;
2564
- /** Change the status of hidden products to visible while starting the special offer */
2565
- changeProductsToVisibleWhileStarting: (value: 'y'|'n') => this;
2566
- /** After running out of stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
2567
- removeProductsAfterStockLevelRunsDown: (value: 'y'|'n') => this;
2568
- /** After running out of own stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
2569
- removeProductsAfterOwnStockLevelRunsDown: (value: 'y'|'n') => this;
2570
- /** Reduce based on price (net/gross) */
2571
- reduceBasingPrice: (value: 'net'|'gross') => this;
2572
- /** Price reduction calculation method */
2573
- calculationMethod: (value: 'sum'|'chooseAdvantageous') => this;
2574
- /** Elements to be affected by the promotion */
2575
- promotionElements: (value: RequestParams.PostProductsMarketingPromotionParams["promotionElements"]) => this;
2576
- /** */
2577
- elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
2578
- /** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
2579
- elementId: (elementId: number|string) => this
2580
- }
2581
-
2582
- export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest, PutProductsMarketingPromotionResponse, RequestParams.PutProductsMarketingPromotionParams> {
2583
- /** Promotion ID */
2584
- promotionId: (value: number|string) => this;
2585
- /** Promotion name */
2586
- promotionName: (value: string) => this;
2587
- /** List of stores IDs When mask is determined, this parameter is omitted. */
2588
- shopsIds: (value: number|string|number[]|string[]) => this;
2589
- /** Special zones */
2590
- marketingZones: (value: RequestParams.PutProductsMarketingPromotionParams["marketingZones"]) => this;
2591
- /** Promotional price settings */
2592
- newPriceSettings: (value: RequestParams.PutProductsMarketingPromotionParams["newPriceSettings"]) => this;
2593
- /** Promotion start date in Y-m-d H:i:s format */
2594
- startDate: (value: string) => this;
2595
- /** Promotion end date in Y-m-d H:i:s format */
2596
- endDate: (value: string) => this;
2597
- /** Change the status of hidden products to visible while starting the special offer */
2598
- changeProductsToVisibleWhileStarting: (value: 'y'|'n') => this;
2599
- /** After running out of stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
2600
- removeProductsAfterStockLevelRunsDown: (value: 'y'|'n') => this;
2601
- /** After running out of own stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
2602
- removeProductsAfterOwnStockLevelRunsDown: (value: 'y'|'n') => this;
2603
- /** Reduce based on price (net/gross) */
2604
- reduceBasingPrice: (value: 'net'|'gross') => this;
2605
- /** Price reduction calculation method */
2606
- calculationMethod: (value: 'sum'|'chooseAdvantageous') => this;
2607
- /** Specifies whether to remove all existing promotion elements */
2608
- removeAllPromotionElements: (value: 'y'|'n') => this;
2609
- /** Elements to be affected by the promotion */
2610
- promotionElements: (value: RequestParams.PutProductsMarketingPromotionParams["promotionElements"]) => this;
2611
- /** */
2612
- elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
2613
- /** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
2614
- elementId: (elementId: number|string) => this
2615
- }
2616
-
2617
2531
  export interface GetProductsMarketingZonesRequest extends Gateway<GetProductsMarketingZonesResponse> {
2618
2532
  identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
2619
2533
  /** Products list. */
@@ -2692,27 +2606,19 @@ export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOp
2692
2606
  export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest, PostProductsOpinionsResponse, RequestParams.PostProductsOpinionsParams> {
2693
2607
  /** List of reviews */
2694
2608
  opinions: (value: RequestParams.PostProductsOpinionsParams["opinions"]) => this;
2695
- /** */
2696
2609
  createDate: (createDate: string) => this
2697
- /** */
2698
2610
  confirmed: (confirmed: boolean) => this
2699
- /** */
2700
2611
  rating: (rating: string) => this
2701
- /** */
2702
2612
  content: (content: string) => this
2703
2613
  /** Customer language ID. */
2704
2614
  language: (language: string) => this
2705
- /** */
2706
2615
  picture: (picture: string) => this
2707
2616
  /** Shop Id */
2708
2617
  shopId: (shopId: number|string) => this
2709
- /** */
2710
2618
  host: (host: string) => this
2711
2619
  /** Customer data. */
2712
2620
  clients: (clients: RequestParams.PostProductsOpinionsParams["opinions"][number]["clients"]) => this
2713
- /** */
2714
2621
  scorePositive: (scorePositive: number|string) => this
2715
- /** */
2716
2622
  scoreNegative: (scoreNegative: number|string) => this
2717
2623
  /** Products list. */
2718
2624
  products: (products: RequestParams.PostProductsOpinionsParams["opinions"][number]["products"]) => this
@@ -2909,14 +2815,6 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
2909
2815
  productPictures: (productPictures: string|string[]) => this
2910
2816
  /** List of photos descriptions */
2911
2817
  productDescriptionPictures: (productDescriptionPictures: string|string[]) => this
2912
- /** Reduced price */
2913
- productPromotion: (productPromotion: RequestParams.PostProductsParams["products"][number]["productPromotion"]) => this
2914
- /** Discount for shop. */
2915
- productDiscount: (productDiscount: RequestParams.PostProductsParams["products"][number]["productDiscount"]) => this
2916
- /** Distinguished product in store. */
2917
- productDistinguished: (productDistinguished: RequestParams.PostProductsParams["products"][number]["productDistinguished"]) => this
2918
- /** Special product in store. */
2919
- productSpecial: (productSpecial: RequestParams.PostProductsParams["products"][number]["productSpecial"]) => this
2920
2818
  /** Parameters (distinguished). */
2921
2819
  productParametersDistinction: (productParametersDistinction: RequestParams.PostProductsParams["products"][number]["productParametersDistinction"]) => this
2922
2820
  /** List of products recommended with this product */
@@ -2929,7 +2827,6 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
2929
2827
  subscription: (subscription: RequestParams.PostProductsParams["products"][number]["subscription"]) => this
2930
2828
  /** Product name. */
2931
2829
  productNames: (productNames: RequestParams.PostProductsParams["products"][number]["productNames"]) => this
2932
- /** */
2933
2830
  productDescriptions: (productDescriptions: RequestParams.PostProductsParams["products"][number]["productDescriptions"]) => this
2934
2831
  /** Long product description */
2935
2832
  productLongDescriptions: (productLongDescriptions: RequestParams.PostProductsParams["products"][number]["productLongDescriptions"]) => this
@@ -3134,14 +3031,6 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
3134
3031
  productPictures: (productPictures: RequestParams.PutProductsParams["products"][number]["productPictures"]) => this
3135
3032
  /** List of a product's photos with indication of a particular number of the photo. */
3136
3033
  productPicturesReplace: (productPicturesReplace: RequestParams.PutProductsParams["products"][number]["productPicturesReplace"]) => this
3137
- /** Reduced price */
3138
- productPromotion: (productPromotion: RequestParams.PutProductsParams["products"][number]["productPromotion"]) => this
3139
- /** Discount for shop. */
3140
- productDiscount: (productDiscount: RequestParams.PutProductsParams["products"][number]["productDiscount"]) => this
3141
- /** Distinguished product in store. */
3142
- productDistinguished: (productDistinguished: RequestParams.PutProductsParams["products"][number]["productDistinguished"]) => this
3143
- /** Special product in store. */
3144
- productSpecial: (productSpecial: RequestParams.PutProductsParams["products"][number]["productSpecial"]) => this
3145
3034
  /** Parameters (distinguished). */
3146
3035
  productParametersDistinction: (productParametersDistinction: RequestParams.PutProductsParams["products"][number]["productParametersDistinction"]) => this
3147
3036
  /** Configuration parameters */
@@ -3202,7 +3091,6 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
3202
3091
  productDeliveryTime: (productDeliveryTime: RequestParams.PutProductsParams["products"][number]["productDeliveryTime"]) => this
3203
3092
  /** Parameters. */
3204
3093
  productParameters: (productParameters: RequestParams.PutProductsParams["products"][number]["productParameters"]) => this
3205
- /** */
3206
3094
  clearProductParameters: (clearProductParameters: boolean) => this
3207
3095
  /** Change parameter distinction. */
3208
3096
  changeParametersDistinction: (changeParametersDistinction: RequestParams.PutProductsParams["products"][number]["changeParametersDistinction"]) => this
@@ -3240,7 +3128,6 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
3240
3128
  standardUnit: (standardUnit: RequestParams.PutProductsParams["products"][number]["standardUnit"]) => this
3241
3129
  /** Minimal number of products in an order */
3242
3130
  minQuantityPerOrder: (minQuantityPerOrder: RequestParams.PutProductsParams["products"][number]["minQuantityPerOrder"]) => this
3243
- /** */
3244
3131
  dynamicPricingEnabled: (dynamicPricingEnabled: string) => this
3245
3132
  /** The setting allows you to reset the inventory to zero */
3246
3133
  clearStockQuantities: (clearStockQuantities: RequestParams.PutProductsParams["products"][number]["clearStockQuantities"]) => this
@@ -3277,7 +3164,7 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
3277
3164
  /** Element determines which products should be returned by the gate. Undeleted products are returned by default. Available values: "active" - undeleted products, "deleted" - deleted products. "in_trash" - products in the trash. */
3278
3165
  returnProducts: (value: "active" | "deleted" | "in_trash") => this;
3279
3166
  /** Elements to be returned by the endpoint. By default all elements are returned Available values: * lang_data * adding_time, * deleted, * code, * note, * taxcode, * inwrapper, * sellby_retail, * sellby_wholesale, * producer_id, * producer_name, * iaiCategoryId, * iaiCategoryName, * iaiCategoryPath, * category_id, * category_name, * size_group_id, * modification_time, * currency, * currency_shop, * bestseller, * new_product, * retail_price, * wholesale_price, * minimal_price, * automatic_calculation_price, * pos_price, * strikethrough_retail_price, * strikethrough_wholesale_price, * last_purchase_price, * purchase_price_net_average, * purchase_price_net_last, * purchase_price_gross_average, * purchase_price_gross_last, * vat, * vat_free, * rebate, * hotspots_zones, * profit_points, * points, * weight, * export_to_pricecomparers, * export_to_amazon_marketplace, * enable_in_pos, * complex_notes, * available_profile, * traits, * parameters, * version_data, * advance, * promotion, * discount, * distinguished, * special, * visible, * persistent, * priority, * shops_mask, * icon, * icon_for_auctions, * icon_for_group, * pictures, * unit, * warranty, * series, * products_associated, * shops, * quantities, * sizes_attributes, * shops_attributes, * auction_prices, * price_comparers_prices, * deliverer, * sizes, * size_group_name, * pictures_count, * product_type, * price_changed_time, * quantity_changed_time, * deliverer_name, * available_profile_name, * availability_management_type, * sum_in_basket, * menu, * auction_settings, * bundle, * sizeschart_id, * sizeschart_name, * serialnumbers, * producer_codes_standard, * javaScriptInTheItemCard, * productAuctionDescriptionsData, * priceFormula, * productIndividualDescriptionsData, * productIndividualUrlsData, * productServicesDescriptionsData, * cnTaricCode, * productIsGratis, * dimensions, * responsibleProducerCode, * responsiblePersonCode, * dimensions, * depositProductId, * depositType, * depositCount, * minStockLevel, * productAttachments */
3280
- returnElements: (value: string|string[]) => this;
3167
+ returnElements: (value: ProductReturnElement|ProductReturnElement[]) => this;
3281
3168
  /** Product availability. Available values: "y" - available, "n" - unavailable. */
3282
3169
  productIsAvailable: (value: "y" | "n") => this;
3283
3170
  /** Product visibility in store Available values: "y" - Visible, "n" - Invisible. */
@@ -3571,7 +3458,6 @@ export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsS
3571
3458
  id: (id: number|string) => this
3572
3459
  /** Name in panel */
3573
3460
  nameInPanel: (nameInPanel: string) => this
3574
- /** */
3575
3461
  shopsConfigurations: (shopsConfigurations: RequestParams.PutProductsSeriesParams["series"][number]["shopsConfigurations"]) => this
3576
3462
  }
3577
3463
 
@@ -3636,11 +3522,9 @@ export interface GetProductsStocksRequest extends Gateway<GetProductsStocksRespo
3636
3522
  export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest, PutProductsStocksResponse, RequestParams.PutProductsStocksParams> {
3637
3523
  /** Products list. */
3638
3524
  products: (value: RequestParams.PutProductsStocksParams["products"]) => this;
3639
- /** */
3640
3525
  ident: (ident: RequestParams.PutProductsStocksParams["products"][number]["ident"]) => this
3641
3526
  /** List of sizes */
3642
3527
  sizes: (sizes: RequestParams.PutProductsStocksParams["products"][number]["sizes"]) => this
3643
- /** */
3644
3528
  settings: (settings: RequestParams.PutProductsStocksParams["products"][number]["settings"]) => this
3645
3529
  /** Error information. */
3646
3530
  error: (error: RequestParams.PutProductsStocksParams["products"][number]["error"]) => this
@@ -3661,7 +3545,6 @@ export interface PutProductsStrikethroughPricesRequest extends AppendableGateway
3661
3545
  ident: (ident: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["ident"]) => this
3662
3546
  /** List of sizes */
3663
3547
  sizes: (sizes: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["sizes"]) => this
3664
- /** */
3665
3548
  stp_settings: (stp_settings: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["stp_settings"]) => this
3666
3549
  /** Strikethrough price settings for the page. */
3667
3550
  shops: (shops: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["shops"]) => this
@@ -3889,7 +3772,7 @@ export interface SearchPromotionsListViewRequest extends PagableGateway<SearchPr
3889
3772
  /** Promotion statuses */
3890
3773
  statuses: (value: 'waiting'|'active'|'closed'|Array<'waiting'|'active'|'closed'>) => this;
3891
3774
  /** Date range */
3892
- dateRange: (value: RequestParams.SearchPromotionsListViewParams["dateRange"]) => this;
3775
+ dateRange: (value: RequestParams.DateRangeParam) => this;
3893
3776
  /** Array of products in promotion */
3894
3777
  productsNotInPromotion: (value: number|string|number[]|string[]) => this;
3895
3778
  /** Define ordering of records */
@@ -3918,7 +3801,7 @@ export interface SearchPromotionsArchiveRequest extends PagableGateway<SearchPro
3918
3801
  orderBy: (value: RequestParams.SearchPromotionsArchiveParams["orderBy"]) => this;
3919
3802
  /** Shops IDs */
3920
3803
  shops: (value: number|string|number[]|string[]) => this;
3921
- archivedDate: (value: RequestParams.SearchPromotionsArchiveParams["archivedDate"]) => this;
3804
+ archivedDate: (value: RequestParams.DateRangeParam) => this;
3922
3805
  /** Define ordering of records */
3923
3806
  orderByProperty: (elementName: "id"|"shop_mask"|"archived_date", descending?: boolean) => this;
3924
3807
  }
@@ -4034,6 +3917,21 @@ export interface PutRefundsUpdateRefundRequest extends Gateway {
4034
3917
  refundCurrency: (value: string) => this;
4035
3918
  }
4036
3919
 
3920
+ export interface GetRegulationsHistoryRequest extends PagableGateway<GetRegulationsHistoryRequest, GetRegulationsHistoryResponse> {
3921
+ /** Type of history */
3922
+ type: (value: string) => this;
3923
+ /** Shop's ID */
3924
+ shopId: (value: number|string) => this;
3925
+ /** Country ISO code */
3926
+ country: (value: string) => this;
3927
+ /** Language ISO code */
3928
+ langId: (value: string) => this;
3929
+ /** Page with results number. Numeration starts from 0 */
3930
+ resultsPage: (value: number|string) => this;
3931
+ /** Number of results on page. Value from 1 to 100 */
3932
+ resultsLimit: (value: number|string) => this;
3933
+ }
3934
+
4037
3935
  export interface GetResponsibilityEntitiesRequest extends PagableGateway<GetResponsibilityEntitiesRequest, GetResponsibilityEntitiesResponse> {
4038
3936
  /** List of codes */
4039
3937
  code: (value: string|string[]) => this;
@@ -4156,15 +4054,11 @@ export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest
4156
4054
  include_shipping_cost: (value: string) => this;
4157
4055
  additional_payment_cost: (value: string) => this;
4158
4056
  emptyReturn: (value: 'n'|'y') => this;
4159
- /** */
4160
4057
  id: (id: number|string) => this
4161
- /** */
4162
4058
  size: (size: string) => this
4163
- /** */
4164
4059
  quantity: (quantity: number) => this
4165
4060
  /** Price. */
4166
4061
  price: (price: number) => this
4167
- /** */
4168
4062
  serialNumbers: (serialNumbers: string|string[]) => this
4169
4063
  /** Additional information. */
4170
4064
  productOrderAdditional: (productOrderAdditional: string) => this
@@ -4172,19 +4066,15 @@ export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest
4172
4066
 
4173
4067
  export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest, PutReturnsResponse, RequestParams.PutReturnsParams> {
4174
4068
  returns: (value: RequestParams.PutReturnsParams["returns"]) => this;
4175
- /** */
4176
4069
  id: (id: number|string) => this
4177
- /** */
4178
4070
  status: (status: number|string) => this
4179
4071
  /** Flag informing on order registration or completion in external program through API. Allowed values. "none" - order was not registered in external program, "registered" - order was registered in external program, "realized" - order was completed in external program, "registered_pos" - order was registered in external program, "realized_pos" - order was completed in external program. */
4180
4072
  apiFlag: (apiFlag: RequestParams.PutReturnsParams["returns"][number]["apiFlag"]) => this
4181
4073
  /** Products list. */
4182
4074
  products: (products: RequestParams.PutReturnsParams["returns"][number]["products"]) => this
4183
- /** */
4184
4075
  userNote: (userNote: string) => this
4185
4076
  /** Notes from customer. */
4186
4077
  clientNote: (clientNote: string) => this
4187
- /** */
4188
4078
  tryCorrectInvoice: (tryCorrectInvoice: boolean) => this
4189
4079
  }
4190
4080
 
@@ -4197,7 +4087,6 @@ export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutRetu
4197
4087
  id: (id: number|string) => this
4198
4088
  /** Size ID. */
4199
4089
  size: (size: string) => this
4200
- /** */
4201
4090
  serialNumbers: (serialNumbers: string|string[]) => this
4202
4091
  }
4203
4092
 
@@ -4272,7 +4161,6 @@ export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsReq
4272
4161
  nameInPanel: (nameInPanel: string) => this
4273
4162
  /** Display mode */
4274
4163
  displayMode: (displayMode: 'single'|'all') => this
4275
- /** */
4276
4164
  languagesData: (languagesData: RequestParams.PutSizechartsParams["sizeCharts"][number]["languagesData"]) => this
4277
4165
  }
4278
4166
 
@@ -4298,7 +4186,6 @@ export interface PutSizesRequest extends AppendableGateway<PutSizesRequest, PutS
4298
4186
  description: (description: string) => this
4299
4187
  /** Operation type: add, edit, del */
4300
4188
  operation: (operation: string) => this
4301
- /** */
4302
4189
  lang_data: (lang_data: RequestParams.PutSizesParams["sizes"][number]["lang_data"]) => this
4303
4190
  }
4304
4191
 
@@ -4317,7 +4204,6 @@ export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCa
4317
4204
 
4318
4205
  export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest, CmsCampaignResponse, RequestParams.PostSnippetsCampaignParams> {
4319
4206
  campaigns: (value: RequestParams.PostSnippetsCampaignParams["campaigns"]) => this;
4320
- /** undefined */
4321
4207
  id: (id: number|string) => this
4322
4208
  /** Snippet campaign name */
4323
4209
  name: (name: string) => this
@@ -4329,7 +4215,6 @@ export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnipp
4329
4215
  active: (active: 'y'|'n') => this
4330
4216
  /** Snippet order. */
4331
4217
  order: (order: number|string) => this
4332
- /** undefined */
4333
4218
  configVariables: (configVariables: RequestParams.PostSnippetsCampaignParams["campaigns"][number]["configVariables"]) => this
4334
4219
  }
4335
4220
 
@@ -4347,7 +4232,6 @@ export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippet
4347
4232
  active: (active: 'y'|'n') => this
4348
4233
  /** Snippet order. */
4349
4234
  order: (order: number|string) => this
4350
- /** undefined */
4351
4235
  configVariables: (configVariables: RequestParams.PutSnippetsCampaignParams["campaigns"][number]["configVariables"]) => this
4352
4236
  }
4353
4237
 
@@ -4367,7 +4251,6 @@ export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCoo
4367
4251
 
4368
4252
  export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest, CmsResponse, RequestParams.PostSnippetsCookiesParams> {
4369
4253
  cookies: (value: RequestParams.PostSnippetsCookiesParams["cookies"]) => this;
4370
- /** undefined */
4371
4254
  id: (id: number|string) => this
4372
4255
  /** Id of the snippet code. */
4373
4256
  snippetId: (snippetId: number|string) => this
@@ -4389,7 +4272,6 @@ export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippe
4389
4272
 
4390
4273
  export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest, CmsResponse, RequestParams.PutSnippetsCookiesParams> {
4391
4274
  cookies: (value: RequestParams.PutSnippetsCookiesParams["cookies"]) => this;
4392
- /** undefined */
4393
4275
  id: (id: number|string) => this
4394
4276
  /** Id of the snippet code. */
4395
4277
  snippetId: (snippetId: number|string) => this
@@ -4429,7 +4311,6 @@ export interface GetSnippetsRequest extends PagableGateway<GetSnippetsRequest, G
4429
4311
 
4430
4312
  export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest, CmsResponse, RequestParams.PostSnippetsParams> {
4431
4313
  snippets: (value: RequestParams.PostSnippetsParams["snippets"]) => this;
4432
- /** undefined */
4433
4314
  id: (id: number|string) => this
4434
4315
  /** The snippet name. */
4435
4316
  name: (name: string) => this
@@ -4437,7 +4318,6 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
4437
4318
  active: (active: 'y'|'n') => this
4438
4319
  /** Snippet campaign id */
4439
4320
  campaign: (campaign: number|string) => this
4440
- /** undefined */
4441
4321
  dateBegin: (dateBegin: RequestParams.PostSnippetsParams["snippets"][number]["dateBegin"]) => this
4442
4322
  /** Filter to control snippet activation. */
4443
4323
  dateEnd: (dateEnd: RequestParams.PostSnippetsParams["snippets"][number]["dateEnd"]) => this
@@ -4455,9 +4335,7 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
4455
4335
  order: (order: number|string) => this
4456
4336
  /** Snippet content for each language. */
4457
4337
  body: (body: RequestParams.PostSnippetsParams["snippets"][number]["body"]) => this
4458
- /** undefined */
4459
4338
  display: (display: RequestParams.PostSnippetsParams["snippets"][number]["display"]) => this
4460
- /** undefined */
4461
4339
  pages: (pages: RequestParams.PostSnippetsParams["snippets"][number]["pages"]) => this
4462
4340
  /** Snippet entry source filter. */
4463
4341
  sources: (sources: RequestParams.PostSnippetsParams["snippets"][number]["sources"]) => this
@@ -4465,7 +4343,6 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
4465
4343
 
4466
4344
  export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest, CmsResponse, RequestParams.PutSnippetsParams> {
4467
4345
  snippets: (value: RequestParams.PutSnippetsParams["snippets"]) => this;
4468
- /** undefined */
4469
4346
  id: (id: number|string) => this
4470
4347
  /** The snippet name. */
4471
4348
  name: (name: string) => this
@@ -4473,7 +4350,6 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
4473
4350
  active: (active: 'y'|'n') => this
4474
4351
  /** Snippet campaign id */
4475
4352
  campaign: (campaign: number|string) => this
4476
- /** undefined */
4477
4353
  dateBegin: (dateBegin: RequestParams.PutSnippetsParams["snippets"][number]["dateBegin"]) => this
4478
4354
  /** Filter to control snippet activation. */
4479
4355
  dateEnd: (dateEnd: RequestParams.PutSnippetsParams["snippets"][number]["dateEnd"]) => this
@@ -4491,9 +4367,7 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
4491
4367
  order: (order: number|string) => this
4492
4368
  /** Snippet content for each language. */
4493
4369
  body: (body: RequestParams.PutSnippetsParams["snippets"][number]["body"]) => this
4494
- /** undefined */
4495
4370
  display: (display: RequestParams.PutSnippetsParams["snippets"][number]["display"]) => this
4496
- /** undefined */
4497
4371
  pages: (pages: RequestParams.PutSnippetsParams["snippets"][number]["pages"]) => this
4498
4372
  /** Snippet entry source filter. */
4499
4373
  sources: (sources: RequestParams.PutSnippetsParams["snippets"][number]["sources"]) => this
@@ -4765,7 +4639,6 @@ export interface PostVouchersRequest extends AppendableGateway<PostVouchersReque
4765
4639
  balance: (balance: RequestParams.PostVouchersParams["vouchers"][number]["balance"]) => this
4766
4640
  /** List of shops the voucher is active in */
4767
4641
  shops: (shops: number|string|number[]|string[]) => this
4768
- /** */
4769
4642
  note: (note: string) => this
4770
4643
  }
4771
4644
 
@@ -4786,7 +4659,6 @@ export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest
4786
4659
  balance: (balance: RequestParams.PutVouchersParams["vouchers"][number]["balance"]) => this
4787
4660
  /** List of shops the voucher is active in */
4788
4661
  shops: (shops: number|string|number[]|string[]) => this
4789
- /** */
4790
4662
  note: (note: string) => this
4791
4663
  /** Status, possible values: - used - used, - unused - unused, */
4792
4664
  status: (status: 'used'|'unused') => this
@@ -4800,7 +4672,6 @@ export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutW
4800
4672
  lang_data: (value: RequestParams.PutWarrantiesLanguageDataParams["lang_data"]) => this;
4801
4673
  /** Warranty ID (numeric or text based). */
4802
4674
  warranty_id: (warranty_id: number|string) => this
4803
- /** */
4804
4675
  lang: (lang: RequestParams.PutWarrantiesLanguageDataParams["lang_data"][number]["lang"]) => this
4805
4676
  }
4806
4677
 
@@ -4821,7 +4692,6 @@ export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesR
4821
4692
  warranties: (value: RequestParams.PostWarrantiesParams["warranties"]) => this;
4822
4693
  /** Name. */
4823
4694
  name: (name: string) => this
4824
- /** */
4825
4695
  type: (type: 'seller'|'producer') => this
4826
4696
  /** Warranty time. Default value 12. */
4827
4697
  period: (period: number|string) => this
@@ -4837,7 +4707,6 @@ export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesReq
4837
4707
  id: (id: number|string) => this
4838
4708
  /** Name. */
4839
4709
  name: (name: string) => this
4840
- /** */
4841
4710
  type: (type: 'seller'|'producer') => this
4842
4711
  /** Warranty time. Default value 12. */
4843
4712
  period: (period: number|string) => this
@@ -5105,6 +4974,77 @@ export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSupplier
5105
4974
  workDays: (workDays: RequestParams.PutWmsSuppliersParams["suppliers"][number]["workDays"]) => this
5106
4975
  }
5107
4976
 
4977
+ export interface GetProductsMarketingPromotionRequest extends Gateway<GetProductsMarketingPromotionResponse> {
4978
+ /** Shop Id */
4979
+ shopId: (value: number|string) => this;
4980
+ /** Products list. */
4981
+ products: (value: number|string|number[]|string[]) => this;
4982
+ }
4983
+
4984
+ export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest, PostProductsMarketingPromotionResponse, RequestParams.PostProductsMarketingPromotionParams> {
4985
+ /** Promotion name */
4986
+ promotionName: (value: string) => this;
4987
+ /** List of stores IDs When mask is determined, this parameter is omitted. */
4988
+ shopsIds: (value: number|string|number[]|string[]) => this;
4989
+ /** Special zones */
4990
+ marketingZones: (value: RequestParams.PostProductsMarketingPromotionParams["marketingZones"]) => this;
4991
+ /** Promotional price settings */
4992
+ newPriceSettings: (value: RequestParams.PostProductsMarketingPromotionParams["newPriceSettings"]) => this;
4993
+ /** Promotion start date in Y-m-d H:i:s format */
4994
+ startDate: (value: string) => this;
4995
+ /** Promotion end date in Y-m-d H:i:s format */
4996
+ endDate: (value: string) => this;
4997
+ /** Change the status of hidden products to visible while starting the special offer */
4998
+ changeProductsToVisibleWhileStarting: (value: 'y'|'n') => this;
4999
+ /** After running out of stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
5000
+ removeProductsAfterStockLevelRunsDown: (value: 'y'|'n') => this;
5001
+ /** After running out of own stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
5002
+ removeProductsAfterOwnStockLevelRunsDown: (value: 'y'|'n') => this;
5003
+ /** Reduce based on price (net/gross) */
5004
+ reduceBasingPrice: (value: 'net'|'gross') => this;
5005
+ /** Price reduction calculation method */
5006
+ calculationMethod: (value: 'sum'|'chooseAdvantageous') => this;
5007
+ /** Elements to be affected by the promotion */
5008
+ promotionElements: (value: RequestParams.PostProductsMarketingPromotionParams["promotionElements"]) => this;
5009
+ elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
5010
+ /** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
5011
+ elementId: (elementId: number|string) => this
5012
+ }
5013
+
5014
+ export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest, PutProductsMarketingPromotionResponse, RequestParams.PutProductsMarketingPromotionParams> {
5015
+ /** Promotion ID */
5016
+ promotionId: (value: number|string) => this;
5017
+ /** Promotion name */
5018
+ promotionName: (value: string) => this;
5019
+ /** List of stores IDs When mask is determined, this parameter is omitted. */
5020
+ shopsIds: (value: number|string|number[]|string[]) => this;
5021
+ /** Special zones */
5022
+ marketingZones: (value: RequestParams.PutProductsMarketingPromotionParams["marketingZones"]) => this;
5023
+ /** Promotional price settings */
5024
+ newPriceSettings: (value: RequestParams.PutProductsMarketingPromotionParams["newPriceSettings"]) => this;
5025
+ /** Promotion start date in Y-m-d H:i:s format */
5026
+ startDate: (value: string) => this;
5027
+ /** Promotion end date in Y-m-d H:i:s format */
5028
+ endDate: (value: string) => this;
5029
+ /** Change the status of hidden products to visible while starting the special offer */
5030
+ changeProductsToVisibleWhileStarting: (value: 'y'|'n') => this;
5031
+ /** After running out of stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
5032
+ removeProductsAfterStockLevelRunsDown: (value: 'y'|'n') => this;
5033
+ /** After running out of own stock, automatically remove from the promotion products added separately (does not apply to series, producers, categories and menu) */
5034
+ removeProductsAfterOwnStockLevelRunsDown: (value: 'y'|'n') => this;
5035
+ /** Reduce based on price (net/gross) */
5036
+ reduceBasingPrice: (value: 'net'|'gross') => this;
5037
+ /** Price reduction calculation method */
5038
+ calculationMethod: (value: 'sum'|'chooseAdvantageous') => this;
5039
+ /** Specifies whether to remove all existing promotion elements */
5040
+ removeAllPromotionElements: (value: 'y'|'n') => this;
5041
+ /** Elements to be affected by the promotion */
5042
+ promotionElements: (value: RequestParams.PutProductsMarketingPromotionParams["promotionElements"]) => this;
5043
+ elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
5044
+ /** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
5045
+ elementId: (elementId: number|string) => this
5046
+ }
5047
+
5108
5048
  export interface Gateways {
5109
5049
  getClientsBalance: GetClientsBalanceRequest,
5110
5050
  postClientsBalance: PostClientsBalanceRequest,
@@ -5254,6 +5194,7 @@ export interface Gateways {
5254
5194
  getPaymentsProfiles: GetPaymentsProfilesRequest,
5255
5195
  postPaymentsRepayment: PostPaymentsRepaymentRequest,
5256
5196
  getProductsSKUbyBarcode: GetProductsSKUbyBarcodeRequest,
5197
+ getProductsAttachmentsGetContent: GetProductsAttachmentsGetContentRequest,
5257
5198
  putProductsAttachments: PutProductsAttachmentsRequest,
5258
5199
  getProductsAuctions: GetProductsAuctionsRequest,
5259
5200
  deleteProductsBrands: DeleteProductsBrandsRequest,
@@ -5286,9 +5227,6 @@ export interface Gateways {
5286
5227
  deleteProductsImages: DeleteProductsImagesRequest,
5287
5228
  putProductsImages: PutProductsImagesRequest,
5288
5229
  getProductsMarketingAllFacebookCatalogIds: GetProductsMarketingAllFacebookCatalogIdsRequest,
5289
- getProductsMarketingPromotion: GetProductsMarketingPromotionRequest,
5290
- postProductsMarketingPromotion: PostProductsMarketingPromotionRequest,
5291
- putProductsMarketingPromotion: PutProductsMarketingPromotionRequest,
5292
5230
  getProductsMarketingZones: GetProductsMarketingZonesRequest,
5293
5231
  putProductsMarketingZones: PutProductsMarketingZonesRequest,
5294
5232
  getProductsOmnibusPrices: GetProductsOmnibusPricesRequest,
@@ -5357,6 +5295,7 @@ export interface Gateways {
5357
5295
  getRefundsGetRefundStatus: GetRefundsGetRefundStatusRequest,
5358
5296
  getRefundsRetrieveRefundsList: GetRefundsRetrieveRefundsListRequest,
5359
5297
  putRefundsUpdateRefund: PutRefundsUpdateRefundRequest,
5298
+ getRegulationsHistory: GetRegulationsHistoryRequest,
5360
5299
  getResponsibilityEntities: GetResponsibilityEntitiesRequest,
5361
5300
  postResponsibilityEntities: PostResponsibilityEntitiesRequest,
5362
5301
  putResponsibilityEntities: PutResponsibilityEntitiesRequest,
@@ -5441,38 +5380,44 @@ export interface Gateways {
5441
5380
  deleteWmsSuppliers: DeleteWmsSuppliersRequest,
5442
5381
  getWmsSuppliers: GetWmsSuppliersRequest,
5443
5382
  putWmsSuppliers: PutWmsSuppliersRequest,
5444
- /** @deprecated */
5445
- listProducts: SearchProductsRequest
5446
- /** @deprecated */
5447
- listOrders: SearchOrdersRequest
5448
- /** @deprecated */
5449
- listOrdersUnfinished: SearchOrdersUnfinishedRequest
5450
- /** @deprecated */
5451
- getClientsGiftcards: SearchClientsGiftcardsRequest
5452
- /** @deprecated */
5453
- getClientsCrm: SearchClientsCrmRequest
5454
- /** @deprecated */
5455
- getClientsNewsletterEmailShops: SearchClientsNewsletterEmailRequest
5456
- /** @deprecated */
5457
- getClientsNewsletterEmailSMS: SearchClientsNewsletterSmsRequest
5458
- /** @deprecated */
5459
- getOrdersOpinions: SearchOrdersOpinionsRequest
5460
- /** @deprecated */
5461
- getPackages: SearchPackagesRequest
5462
- /** @deprecated */
5463
- getProductsCategoriesIdosell: SearchProductsCategoriesIdosellRequest
5464
- /** @deprecated */
5465
- getProductsDeliveryTime: SearchProductsDeliveryTimeRequest
5466
- /** @deprecated */
5467
- getProductsProductsProductsToFacebookCatalog: GetProductsToFacebookCatalogRequest
5468
- /** @deprecated */
5469
- postProductsProductsToPromotion: PostProductsToPromotionRequest
5470
- /** @deprecated */
5471
- postProductsProductsToFacebookCatalog: PostProductsToFacebookCatalogRequest
5472
- /** @deprecated */
5473
- deleteProductsProductsToFacebookCatalog: DeleteProductsToFacebookCatalogRequest
5474
- /** @deprecated */
5475
- deleteProductsProductsToPromotion: DeleteProductsToPromotionRequest
5383
+ /** @deprecated This endpoint is enforced at v7 and is not available in v8 or later. */
5384
+ getProductsMarketingPromotion: GetProductsMarketingPromotionRequest,
5385
+ /** @deprecated This endpoint is enforced at v7 and is not available in v8 or later. */
5386
+ postProductsMarketingPromotion: PostProductsMarketingPromotionRequest,
5387
+ /** @deprecated This endpoint is enforced at v7 and is not available in v8 or later. */
5388
+ putProductsMarketingPromotion: PutProductsMarketingPromotionRequest,
5389
+ /** @deprecated Alias - use searchProducts instead */
5390
+ listProducts: SearchProductsRequest,
5391
+ /** @deprecated Alias - use searchOrders instead */
5392
+ listOrders: SearchOrdersRequest,
5393
+ /** @deprecated Alias - use searchOrdersUnfinished instead */
5394
+ listOrdersUnfinished: SearchOrdersUnfinishedRequest,
5395
+ /** @deprecated Alias - use searchClientsGiftcards instead */
5396
+ getClientsGiftcards: SearchClientsGiftcardsRequest,
5397
+ /** @deprecated Alias - use searchClientsCrm instead */
5398
+ getClientsCrm: SearchClientsCrmRequest,
5399
+ /** @deprecated Alias - use searchClientsNewsletterEmail instead */
5400
+ getClientsNewsletterEmailShops: SearchClientsNewsletterEmailRequest,
5401
+ /** @deprecated Alias - use searchClientsNewsletterSms instead */
5402
+ getClientsNewsletterEmailSMS: SearchClientsNewsletterSmsRequest,
5403
+ /** @deprecated Alias - use searchOrdersOpinions instead */
5404
+ getOrdersOpinions: SearchOrdersOpinionsRequest,
5405
+ /** @deprecated Alias - use searchPackages instead */
5406
+ getPackages: SearchPackagesRequest,
5407
+ /** @deprecated Alias - use searchProductsCategoriesIdosell instead */
5408
+ getProductsCategoriesIdosell: SearchProductsCategoriesIdosellRequest,
5409
+ /** @deprecated Alias - use searchProductsDeliveryTime instead */
5410
+ getProductsDeliveryTime: SearchProductsDeliveryTimeRequest,
5411
+ /** @deprecated Alias - use getProductsToFacebookCatalog instead */
5412
+ getProductsProductsProductsToFacebookCatalog: GetProductsToFacebookCatalogRequest,
5413
+ /** @deprecated Alias - use postProductsToPromotion instead */
5414
+ postProductsProductsToPromotion: PostProductsToPromotionRequest,
5415
+ /** @deprecated Alias - use postProductsToFacebookCatalog instead */
5416
+ postProductsProductsToFacebookCatalog: PostProductsToFacebookCatalogRequest,
5417
+ /** @deprecated Alias - use deleteProductsToFacebookCatalog instead */
5418
+ deleteProductsProductsToFacebookCatalog: DeleteProductsToFacebookCatalogRequest,
5419
+ /** @deprecated Alias - use deleteProductsToPromotion instead */
5420
+ deleteProductsProductsToPromotion: DeleteProductsToPromotionRequest,
5476
5421
  }
5477
5422
 
5478
5423
  declare const defaultExport: (url: string, apiKey: string, version?: number | string) => Gateways;