idosell 0.3.5 → 0.3.7
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/changelog.md +13 -0
- package/dist/app.d.ts +9 -2
- package/dist/gates.js +2 -0
- package/dist/gateways.d.ts +259 -194
- package/dist/methods/deleteClientsDeliveryAddress.js +1 -0
- package/dist/methods/deleteClientsGiftcards.js +1 -0
- package/dist/methods/deleteClientsPayerAddress.js +1 -0
- package/dist/methods/deleteClientsTags.js +1 -0
- package/dist/methods/deleteCouriersPickupPoints.js +1 -0
- package/dist/methods/deleteDiscountsGroupsProducts.js +1 -0
- package/dist/methods/deleteMenu.js +1 -0
- package/dist/methods/deleteOrdersDocuments.js +1 -0
- package/dist/methods/deleteOrdersImages.js +1 -0
- package/dist/methods/deleteProducts.js +1 -0
- package/dist/methods/deleteProductsBrands.js +1 -0
- package/dist/methods/deleteProductsBundlesProducts.js +1 -0
- package/dist/methods/deleteProductsCollectionsProducts.js +1 -0
- package/dist/methods/deleteProductsImages.js +1 -0
- package/dist/methods/deleteProductsParameters.js +1 -0
- package/dist/methods/deleteProductsProductsToFacebookCatalog.js +1 -0
- package/dist/methods/deleteProductsProductsToPromotion.js +1 -0
- package/dist/methods/deleteProductsSeries.js +1 -0
- package/dist/methods/deleteProductsSizes.js +1 -0
- package/dist/methods/deleteSizecharts.js +1 -0
- package/dist/methods/deleteVouchers.js +1 -0
- package/dist/methods/deleteWarranties.js +1 -0
- package/dist/methods/deleteWmsStocksdocumentsProducts.js +1 -0
- package/dist/methods/deleteWmsSuppliers.js +1 -0
- package/dist/methods/getClientsMembershipCards.js +1 -0
- package/dist/methods/postClients.js +2 -0
- package/dist/methods/postClientsBalance.js +1 -0
- package/dist/methods/postClientsDeliveryAddress.js +2 -0
- package/dist/methods/postClientsGiftcards.js +2 -0
- package/dist/methods/postClientsPayerAddress.js +2 -0
- package/dist/methods/postClientsPricelists.js +1 -0
- package/dist/methods/postClientsProfitPoints.js +1 -0
- package/dist/methods/postClientsTags.js +2 -0
- package/dist/methods/postCouriersPickupPoints.js +2 -0
- package/dist/methods/postCpa.js +2 -0
- package/dist/methods/postCpaCampaign.js +2 -0
- package/dist/methods/postDeliveriesRegions.js +1 -0
- package/dist/methods/postDiscountsGroups.js +1 -0
- package/dist/methods/postDiscountsRebatesCard.js +1 -0
- package/dist/methods/postDiscountsRebatesCode.js +1 -0
- package/dist/methods/postEntries.js +6 -0
- package/dist/methods/postMenu.js +2 -0
- package/dist/methods/postOrders.js +2 -0
- package/dist/methods/postOrdersDocuments.js +2 -0
- package/dist/methods/postOrdersDocumentsCreate.js +2 -0
- package/dist/methods/postOrdersImages.js +2 -0
- package/dist/methods/postOrdersPackages.js +2 -0
- package/dist/methods/postPackages.js +2 -0
- package/dist/methods/postPackagesLabels.js +2 -0
- package/dist/methods/postPayments.js +1 -0
- package/dist/methods/postPaymentsCancel.js +1 -0
- package/dist/methods/postPaymentsRepayment.js +1 -0
- package/dist/methods/postProducts.js +2 -0
- package/dist/methods/postProductsBrands.js +2 -0
- package/dist/methods/postProductsBundles.js +1 -0
- package/dist/methods/postProductsBundlesProducts.js +1 -0
- package/dist/methods/postProductsCollections.js +1 -0
- package/dist/methods/postProductsCollectionsProducts.js +1 -0
- package/dist/methods/postProductsMarketingPromotion.js +2 -0
- package/dist/methods/postProductsOpinions.js +2 -0
- package/dist/methods/postProductsProductsToFacebookCatalog.js +1 -0
- package/dist/methods/postProductsProductsToPromotion.js +1 -0
- package/dist/methods/postProductsRestore.js +1 -0
- package/dist/methods/postResponsibilityEntities.js +2 -0
- package/dist/methods/postReturns.js +2 -0
- package/dist/methods/postSnippets.js +2 -0
- package/dist/methods/postSnippetsCampaign.js +2 -0
- package/dist/methods/postSnippetsCookies.js +2 -0
- package/dist/methods/postSubscriptionsAddProduct.js +7 -0
- package/dist/methods/postSubscriptionsChangeDeliveryDates.js +2 -1
- package/dist/methods/postSubscriptionsChangePriceAutoUpdate.js +2 -1
- package/dist/methods/postSubscriptionsChangeStatus.js +2 -1
- package/dist/methods/postSubscriptionsDeleteProduct.js +2 -1
- package/dist/methods/postSubscriptionsEdit.js +2 -1
- package/dist/methods/postSubscriptionsEditProduct.js +2 -1
- package/dist/methods/postSubscriptionsItemsList.js +1 -1
- package/dist/methods/postSubscriptionsListViewFetchIds.js +2 -1
- package/dist/methods/postSubscriptionsListViewList.js +1 -1
- package/dist/methods/postSubscriptionsSetRebateCode.js +1 -1
- package/dist/methods/postSubscriptionsUnsetRebateCode.js +1 -1
- package/dist/methods/postVouchers.js +2 -0
- package/dist/methods/postWarranties.js +2 -0
- package/dist/methods/postWmsStocksdocumentsDocuments.js +1 -0
- package/dist/methods/postWmsStocksdocumentsProducts.js +2 -0
- package/dist/methods/putClients.js +2 -0
- package/dist/methods/putClientsDeliveryAddress.js +2 -0
- package/dist/methods/putClientsExternalCode.js +1 -0
- package/dist/methods/putClientsGiftcards.js +2 -0
- package/dist/methods/putClientsGiftcardsBlock.js +2 -0
- package/dist/methods/putClientsGiftcardsUnblock.js +2 -0
- package/dist/methods/putClientsMembershipCards.js +1 -0
- package/dist/methods/putClientsPayerAddress.js +2 -0
- package/dist/methods/putClientsPricelists.js +1 -0
- package/dist/methods/putClientsPricelistsClients.js +2 -0
- package/dist/methods/putClientsPricelistsProducts.js +2 -0
- package/dist/methods/putClientsPricelistsRename.js +1 -0
- package/dist/methods/putClientsPricesDiscounts.js +1 -0
- package/dist/methods/putClientsTags.js +1 -0
- package/dist/methods/putConfigVariables.js +2 -0
- package/dist/methods/putCouriersPickupPoints.js +2 -0
- package/dist/methods/putCpa.js +2 -0
- package/dist/methods/putCpaCampaign.js +2 -0
- package/dist/methods/putDeliveriesDefaultProfiles.js +1 -0
- package/dist/methods/putDiscountsGroups.js +1 -0
- package/dist/methods/putDiscountsGroupsProducts.js +2 -0
- package/dist/methods/putDiscountsRebatesBlockCard.js +1 -0
- package/dist/methods/putDiscountsRebatesUnblockCard.js +1 -0
- package/dist/methods/putEntries.js +2 -0
- package/dist/methods/putMenu.js +2 -0
- package/dist/methods/putMenuFilter.js +2 -0
- package/dist/methods/putMenuSort.js +2 -0
- package/dist/methods/putOrders.js +2 -0
- package/dist/methods/putOrdersCourier.js +1 -0
- package/dist/methods/putOrdersDeliveryAddress.js +1 -0
- package/dist/methods/putOrdersDevide.js +2 -0
- package/dist/methods/putOrdersHandler.js +1 -0
- package/dist/methods/putOrdersPackages.js +2 -0
- package/dist/methods/putOrdersPickupPoint.js +1 -0
- package/dist/methods/putOrdersProductsSerialNumbers.js +2 -0
- package/dist/methods/putOrdersProfitMargin.js +1 -0
- package/dist/methods/putOrdersShippingCosts.js +1 -0
- package/dist/methods/putOrdersWarehouse.js +1 -0
- package/dist/methods/putPackages.js +1 -0
- package/dist/methods/putPayments.js +1 -0
- package/dist/methods/putPaymentsConfirm.js +1 -0
- package/dist/methods/putProducts.js +2 -0
- package/dist/methods/putProductsAttachments.js +1 -0
- package/dist/methods/putProductsBrands.js +2 -0
- package/dist/methods/putProductsBrandsFilter.js +2 -0
- package/dist/methods/putProductsBundlesProductsQuantity.js +1 -0
- package/dist/methods/putProductsBundlesRenew.js +1 -0
- package/dist/methods/putProductsCategories.js +2 -0
- package/dist/methods/putProductsCollectionsProducts.js +2 -0
- package/dist/methods/putProductsCollectionsRenew.js +2 -0
- package/dist/methods/putProductsDescriptions.js +2 -0
- package/dist/methods/putProductsGroupsMainProduct.js +2 -0
- package/dist/methods/putProductsGroupsOrder.js +2 -0
- package/dist/methods/putProductsGroupsSettings.js +2 -0
- package/dist/methods/putProductsImages.js +2 -0
- package/dist/methods/putProductsMarketingPromotion.js +2 -0
- package/dist/methods/putProductsMarketingZones.js +2 -0
- package/dist/methods/putProductsOmnibusPrices.js +2 -0
- package/dist/methods/putProductsOpinions.js +1 -0
- package/dist/methods/putProductsParameters.js +2 -0
- package/dist/methods/putProductsQuestions.js +1 -0
- package/dist/methods/putProductsSeries.js +2 -0
- package/dist/methods/putProductsSeriesFilter.js +2 -0
- package/dist/methods/putProductsSizes.js +2 -0
- package/dist/methods/putProductsStockQuantity.js +2 -0
- package/dist/methods/putProductsStocks.js +2 -0
- package/dist/methods/putProductsStrikethroughPrices.js +2 -0
- package/dist/methods/putProductsSupplierCode.js +2 -0
- package/dist/methods/putProductsSupplierProductData.js +2 -0
- package/dist/methods/putRefundsCancelRefund.js +1 -0
- package/dist/methods/putRefundsConfirmRefund.js +1 -0
- package/dist/methods/putRefundsUpdateRefund.js +1 -0
- package/dist/methods/putResponsibilityEntities.js +2 -0
- package/dist/methods/putReturns.js +2 -0
- package/dist/methods/putReturnsSerialNumber.js +2 -0
- package/dist/methods/putRma.js +2 -0
- package/dist/methods/putSizecharts.js +2 -0
- package/dist/methods/putSizes.js +2 -0
- package/dist/methods/putSnippets.js +2 -0
- package/dist/methods/putSnippetsCampaign.js +2 -0
- package/dist/methods/putSnippetsCookies.js +2 -0
- package/dist/methods/putSystemConfig.js +1 -0
- package/dist/methods/putSystemCurrencies.js +2 -0
- package/dist/methods/putSystemProcessesAutomation.js +1 -0
- package/dist/methods/putSystemUnits.js +2 -0
- package/dist/methods/putVouchers.js +2 -0
- package/dist/methods/putVouchersBlock.js +2 -0
- package/dist/methods/putVouchersUnblock.js +2 -0
- package/dist/methods/putWarranties.js +2 -0
- package/dist/methods/putWarrantiesLanguageData.js +2 -0
- package/dist/methods/putWmsStocksdocumentsAcceptMM.js +1 -0
- package/dist/methods/putWmsStocksdocumentsClose.js +1 -0
- package/dist/methods/putWmsStocksdocumentsDocuments.js +1 -0
- package/dist/methods/putWmsStocksdocumentsProducts.js +2 -0
- package/dist/methods/putWmsStocksdocumentsRejectMM.js +1 -0
- package/dist/methods/putWmsSuppliers.js +2 -0
- package/dist/methods/searchClientsCrm.js +1 -0
- package/dist/methods/searchClientsGiftcards.js +1 -0
- package/dist/methods/searchClientsNewsletterEmail.js +1 -0
- package/dist/methods/searchClientsNewsletterSms.js +1 -0
- package/dist/methods/searchOrders.js +1 -0
- package/dist/methods/searchOrdersOpinions.js +1 -0
- package/dist/methods/searchOrdersUnfinished.js +1 -0
- package/dist/methods/searchPackages.js +2 -1
- package/dist/methods/searchProducts.js +1 -0
- package/dist/methods/searchProductsCategoriesIdosell.js +1 -0
- package/dist/methods/searchProductsDeliveryTime.js +1 -0
- package/dist/methods/searchProductsParameters.js +1 -0
- package/dist/params.js +20 -7
- package/dist/request.js +52 -2
- package/package.json +1 -1
- package/tests/postEntries.test.js +5 -0
- package/tests/putClientsPricelistsProducts.test.js +1 -1
- package/tests/putRefundsConfirmRefund.test.js +3 -3
- package/tests/searchPackages.test.js +5 -0
- package/tests/searchProducts.test.js +1 -1
package/dist/gateways.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface GetClientsBalanceRequest extends PagableGateway<GetClientsBalan
|
|
|
10
10
|
active: (value: 'yes'|'no') => this;
|
|
11
11
|
hasTradeCredit: (value: 'nonzero'|'positive'|'negative'|'zero') => this;
|
|
12
12
|
/** Start and end date (YYYY-MM-DD). */
|
|
13
|
-
lastPurchaseDate: (value:
|
|
13
|
+
lastPurchaseDate: (value: JSObject) => this;
|
|
14
14
|
/** Elements to be returned by the endpoint. By default all elements are returned. Available elements: - clientId - clientBalance - clientBalanceHistory */
|
|
15
15
|
returnElements: (value: string|string[]) => this;
|
|
16
16
|
/** Results page number. Numbering begins at 0. Default value: 0. */
|
|
@@ -50,9 +50,9 @@ export interface GetClientsRequest extends PagableGateway<GetClientsRequest,GetC
|
|
|
50
50
|
/** Trade credit: - positive or negative, - only positive, - only negative, - only zero. */
|
|
51
51
|
clientHasTradeCredit: (value: 'nonzero'|'positive'|'negative'|'zero') => this;
|
|
52
52
|
/** Date of last purchase. */
|
|
53
|
-
clientLastPurchaseDate: (value:
|
|
53
|
+
clientLastPurchaseDate: (value: JSObject) => this;
|
|
54
54
|
/** Last modification date. */
|
|
55
|
-
clientsLastModificationDate: (value:
|
|
55
|
+
clientsLastModificationDate: (value: JSObject) => this;
|
|
56
56
|
/** Elements to be returned by the endpoint. By default all elements are returned. Available fields: - clientId - clientsLastModificationDate - clientLogin - clientEmail - clientType - showClientAsPartner - blockAutomaticallyAssigningGroupDiscount - clientFirstName - clientLastName - clientBirthDate - clientFirm - clientNip - clientStreet - clientZipCode - clientCity - clientCountryId - langId - currencyId - clientRegionId - clientIsWholesaler - clientVatPreferences - clientGroupDiscountNumber - clientGroupDiscountName - clientCodeExternal - clientPhone1 - clientPhone2 - clientProvinceId - newsletterEmailApprovalsData - shops - clientBalances - clientTradeCredit - clientLoyaltyPoints - operator - isUnregistered - affiliateLogin - affiliateId - clientRegistrationDate - clientActiveInShops */
|
|
57
57
|
returnElements: (value: string|string[]) => this;
|
|
58
58
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -60,7 +60,7 @@ export interface GetClientsRequest extends PagableGateway<GetClientsRequest,GetC
|
|
|
60
60
|
/** Number of results on page. Value from 1 to 100 */
|
|
61
61
|
resultsLimit: (value: number|string) => this;
|
|
62
62
|
/** Client Registration Date */
|
|
63
|
-
clientRegistrationDate: (value:
|
|
63
|
+
clientRegistrationDate: (value: JSObject) => this;
|
|
64
64
|
/** The ID of the shop, that client is assigned to. */
|
|
65
65
|
shopId: (value: string) => this;
|
|
66
66
|
}
|
|
@@ -221,9 +221,9 @@ export interface SearchClientsCrmRequest extends PagableGateway<SearchClientsCrm
|
|
|
221
221
|
/** Customer group number */
|
|
222
222
|
clientDiscountGroupNumber: (value: number|string) => this;
|
|
223
223
|
/** Date range of customer registrations */
|
|
224
|
-
clientRegistrationDate: (value:
|
|
224
|
+
clientRegistrationDate: (value: JSObject) => this;
|
|
225
225
|
/** Date of last customer login (YYYY-MM-DD) */
|
|
226
|
-
clientLastLoginDate: (value:
|
|
226
|
+
clientLastLoginDate: (value: JSObject) => this;
|
|
227
227
|
/** Customer type, possible values: - person - if client sex is not determined, - person_male - when client is a male, - person_female - when a customer is a woman, - firm - when client is company. */
|
|
228
228
|
clientType: (value: 'person'|'person_male'|'person_female'|'firm') => this;
|
|
229
229
|
/** Information about the loyalty program possible values: - yes_voucher - when customers are in a loyalty program and have only used vouchers, - yes_voucher_cash - when customers are in a loyalty program and have only used vouchers or cash deposits, - yes_clients, - yes_orders - when customers are in the loyalty program and have made at least one order, - no - when customers are in the loyalty program, - banned - when customers are blocked. */
|
|
@@ -233,9 +233,9 @@ export interface SearchClientsCrmRequest extends PagableGateway<SearchClientsCrm
|
|
|
233
233
|
/** Permission to SMS Newsletter. */
|
|
234
234
|
newsletterSmsApproval: (value: string) => this;
|
|
235
235
|
/** Shops */
|
|
236
|
-
searchByShops: (value:
|
|
236
|
+
searchByShops: (value: JSObject) => this;
|
|
237
237
|
/** Loyalty cards: */
|
|
238
|
-
clientLoyaltyCard: (value:
|
|
238
|
+
clientLoyaltyCard: (value: JSObject) => this;
|
|
239
239
|
/** External system code. */
|
|
240
240
|
clientCodeExternal: (value: string) => this;
|
|
241
241
|
/** External system codes list. */
|
|
@@ -257,7 +257,7 @@ export interface SearchClientsCrmRequest extends PagableGateway<SearchClientsCrm
|
|
|
257
257
|
/** Customer loyalty card number, omitted when has_loyalty_card = no. */
|
|
258
258
|
clientLoyaltyCardNumber: (value: string) => this;
|
|
259
259
|
/** Orders. */
|
|
260
|
-
orders: (value:
|
|
260
|
+
orders: (value: JSObject) => this;
|
|
261
261
|
/** Elements to be returned by the endpoint. By default all elements are returned */
|
|
262
262
|
returnElements: (value: string|string[]) => this;
|
|
263
263
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -396,7 +396,7 @@ export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClien
|
|
|
396
396
|
/** Card expiration date */
|
|
397
397
|
expirationDate: (expirationDate: string) => this
|
|
398
398
|
/** Card balance */
|
|
399
|
-
balance: (balance:
|
|
399
|
+
balance: (balance: JSObject) => this
|
|
400
400
|
/** List of shops the card is active in */
|
|
401
401
|
shops: (shops: number|string|number[]|string[]) => this
|
|
402
402
|
/** */
|
|
@@ -419,7 +419,7 @@ export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClients
|
|
|
419
419
|
/** Balance operation type, possible values: - set - balance positioning of funds, - add - add funds to balance, - subtract - subtract funds from balance. */
|
|
420
420
|
balanceOperationType: (balanceOperationType: 'set'|'add'|'subtract') => this
|
|
421
421
|
/** Card balance */
|
|
422
|
-
balance: (balance:
|
|
422
|
+
balance: (balance: JSObject) => this
|
|
423
423
|
/** List of shops the card is active in */
|
|
424
424
|
shops: (shops: number|string|number[]|string[]) => this
|
|
425
425
|
/** */
|
|
@@ -436,7 +436,7 @@ export interface SearchClientsGiftcardsRequest extends Gateway<SearchGiftcardsRe
|
|
|
436
436
|
/** List of gift cards */
|
|
437
437
|
giftCards: (value: Array<JSObject>) => this;
|
|
438
438
|
/** element is an element array of type searchGiftCards */
|
|
439
|
-
searchGiftCards: (value:
|
|
439
|
+
searchGiftCards: (value: JSObject) => this;
|
|
440
440
|
/** Define giftCards values by passing them as an array */
|
|
441
441
|
ids: (values: number|string|number[]|string[]) => this;
|
|
442
442
|
/** Define giftCards values by passing them as an array */
|
|
@@ -489,14 +489,14 @@ export interface PutClientsMembershipCardsRequest extends AppendableGateway<PutC
|
|
|
489
489
|
/** Flag that determines whether a discount group should be set. */
|
|
490
490
|
set_rebate_group: (set_rebate_group: boolean) => this
|
|
491
491
|
/** Information on error that occurred during gate call. */
|
|
492
|
-
errors: (errors:
|
|
492
|
+
errors: (errors: JSObject) => this
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
export interface SearchClientsNewsletterEmailRequest extends PagableGateway<SearchClientsNewsletterEmailRequest,SearchNewsletterEmailResponse> {
|
|
496
496
|
shops: (value: Array<JSObject>) => this;
|
|
497
497
|
/** Customer language ID. */
|
|
498
498
|
language: (value: string) => this;
|
|
499
|
-
date: (value:
|
|
499
|
+
date: (value: JSObject) => this;
|
|
500
500
|
/** Elements to be returned by the endpoint. By default all elements are returned */
|
|
501
501
|
return_elements: (value: string|string[]) => this;
|
|
502
502
|
/** Results page number. Numbering begins at 0. Default value: 0. */
|
|
@@ -509,7 +509,7 @@ export interface SearchClientsNewsletterSmsRequest extends PagableGateway<Search
|
|
|
509
509
|
shops: (value: Array<JSObject>) => this;
|
|
510
510
|
/** Customer language ID. */
|
|
511
511
|
language: (value: string) => this;
|
|
512
|
-
date: (value:
|
|
512
|
+
date: (value: JSObject) => this;
|
|
513
513
|
/** Elements to be returned by the endpoint. By default all elements are returned */
|
|
514
514
|
return_elements: (value: string|string[]) => this;
|
|
515
515
|
/** Results page number. Numbering begins at 0. Default value: 0. */
|
|
@@ -686,7 +686,7 @@ export interface GetClientsPricesDiscountsRequest extends PagableGateway<GetClie
|
|
|
686
686
|
/** Trade credit: - positive or negative, - only positive, - only negative, - only zero. */
|
|
687
687
|
clientHasTradeCredit: (value: 'nonzero'|'positive'|'negative'|'zero') => this;
|
|
688
688
|
/** Date of last purchase. */
|
|
689
|
-
clientLastPurchaseDate: (value:
|
|
689
|
+
clientLastPurchaseDate: (value: JSObject) => this;
|
|
690
690
|
/** Elements to be returned by the endpoint. By default all elements are returned. Available elements: - clientId - clientDiscountIsCombined - clientDiscountType - clientDiscountValue */
|
|
691
691
|
returnElements: (value: string|string[]) => this;
|
|
692
692
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -696,7 +696,7 @@ export interface GetClientsPricesDiscountsRequest extends PagableGateway<GetClie
|
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
export interface PutClientsPricesDiscountsRequest extends AppendableGateway<PutClientsPricesDiscountsRequest> {
|
|
699
|
-
customers: (value:
|
|
699
|
+
customers: (value: JSObject) => this;
|
|
700
700
|
/** Discount type, possible values: - simple */
|
|
701
701
|
discount_type: (value: string) => this;
|
|
702
702
|
/** Action, possible values: - sum_with_other_discounts_to_orders - sum with other discounts assigned to orders, - use_only_if_greater_than_the_sum_of_other_discounts - use only if greater than the sum of other discounts */
|
|
@@ -720,9 +720,9 @@ export interface GetClientsProfitPointsRequest extends PagableGateway<GetClients
|
|
|
720
720
|
/** Trade credit: - positive or negative, - only positive, - only negative, - only zero. */
|
|
721
721
|
clientHasTradeCredit: (value: 'nonzero'|'positive'|'negative'|'zero') => this;
|
|
722
722
|
/** Date of last purchase. */
|
|
723
|
-
clientLastPurchaseDate: (value:
|
|
723
|
+
clientLastPurchaseDate: (value: JSObject) => this;
|
|
724
724
|
/** Profit points modification date range. */
|
|
725
|
-
pointsModificationDate: (value:
|
|
725
|
+
pointsModificationDate: (value: JSObject) => this;
|
|
726
726
|
/** Elements to be returned by the endpoint. By default all elements are returned. Available elements: - clientId - clientProfitPoints - clientProfitPointsHistories */
|
|
727
727
|
returnElements: (value: string|string[]) => this;
|
|
728
728
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -875,9 +875,9 @@ export interface PostCouriersPickupPointsRequest extends AppendableGateway<PostC
|
|
|
875
875
|
/** Collection point activity. Available values: available, outOfService . */
|
|
876
876
|
serviceStatus: (serviceStatus: 'out_of_service'|'available') => this
|
|
877
877
|
/** Pickup point address. */
|
|
878
|
-
address: (address:
|
|
878
|
+
address: (address: JSObject) => this
|
|
879
879
|
/** Geographic coordinates. */
|
|
880
|
-
coordinates: (coordinates:
|
|
880
|
+
coordinates: (coordinates: JSObject) => this
|
|
881
881
|
/** Personal collection point work hours. */
|
|
882
882
|
operatingDays: (operatingDays: Array<JSObject>) => this
|
|
883
883
|
}
|
|
@@ -897,9 +897,9 @@ export interface PutCouriersPickupPointsRequest extends AppendableGateway<PutCou
|
|
|
897
897
|
/** Collection point activity. Available values: available, outOfService . */
|
|
898
898
|
serviceStatus: (serviceStatus: 'out_of_service'|'available') => this
|
|
899
899
|
/** Pickup point address. */
|
|
900
|
-
address: (address:
|
|
900
|
+
address: (address: JSObject) => this
|
|
901
901
|
/** Geographic coordinates. */
|
|
902
|
-
coordinates: (coordinates:
|
|
902
|
+
coordinates: (coordinates: JSObject) => this
|
|
903
903
|
/** Personal collection point work hours. */
|
|
904
904
|
operatingDays: (operatingDays: Array<JSObject>) => this
|
|
905
905
|
}
|
|
@@ -970,11 +970,11 @@ export interface PostCpaRequest extends AppendableGateway<PostCpaRequest> {
|
|
|
970
970
|
/** CPA campaign id */
|
|
971
971
|
campaign: (campaign: number|string) => this
|
|
972
972
|
/** CPA program page settings simple or advanced, depending on the mode. */
|
|
973
|
-
pageSettings: (pageSettings:
|
|
973
|
+
pageSettings: (pageSettings: JSObject) => this
|
|
974
974
|
/** undefined */
|
|
975
|
-
display: (display:
|
|
975
|
+
display: (display: JSObject) => this
|
|
976
976
|
/** Snippet entry source filter. */
|
|
977
|
-
sources: (sources:
|
|
977
|
+
sources: (sources: JSObject) => this
|
|
978
978
|
/** List of variables that can be used in a body template. */
|
|
979
979
|
variables: (variables: Array<JSObject>) => this
|
|
980
980
|
}
|
|
@@ -990,11 +990,11 @@ export interface PutCpaRequest extends AppendableGateway<PutCpaRequest> {
|
|
|
990
990
|
/** CPA campaign id */
|
|
991
991
|
campaign: (campaign: number|string) => this
|
|
992
992
|
/** CPA program page settings simple or advanced, depending on the mode. */
|
|
993
|
-
pageSettings: (pageSettings:
|
|
993
|
+
pageSettings: (pageSettings: JSObject) => this
|
|
994
994
|
/** undefined */
|
|
995
|
-
display: (display:
|
|
995
|
+
display: (display: JSObject) => this
|
|
996
996
|
/** Snippet entry source filter. */
|
|
997
|
-
sources: (sources:
|
|
997
|
+
sources: (sources: JSObject) => this
|
|
998
998
|
/** List of variables that can be used in a body template. */
|
|
999
999
|
variables: (variables: Array<JSObject>) => this
|
|
1000
1000
|
}
|
|
@@ -1160,7 +1160,7 @@ export interface PostEntriesRequest extends AppendableGateway<PostEntriesRequest
|
|
|
1160
1160
|
/** Products list. */
|
|
1161
1161
|
products: (value: Array<JSObject>) => this;
|
|
1162
1162
|
/** Photo */
|
|
1163
|
-
pictureData: (value:
|
|
1163
|
+
pictureData: (value: JSObject) => this;
|
|
1164
1164
|
/** Element including entry content in selected languages */
|
|
1165
1165
|
langs: (value: Array<JSObject>) => this;
|
|
1166
1166
|
/** Type of title and shortcut linking: fullContentLink - link to the subpage with full content, givenUrlLink - link to the given URL, noLink - static element */
|
|
@@ -1179,6 +1179,10 @@ export interface PostEntriesRequest extends AppendableGateway<PostEntriesRequest
|
|
|
1179
1179
|
blogUrl: (blogUrl: string) => this
|
|
1180
1180
|
/** News item URL */
|
|
1181
1181
|
newsUrl: (newsUrl: string) => this
|
|
1182
|
+
/** Add Post to blog entries */
|
|
1183
|
+
blog: () => this;
|
|
1184
|
+
/** Add Post to news entries */
|
|
1185
|
+
news: () => this;
|
|
1182
1186
|
}
|
|
1183
1187
|
|
|
1184
1188
|
export interface PutEntriesRequest extends Gateway {
|
|
@@ -1195,7 +1199,7 @@ export interface PutEntriesRequest extends Gateway {
|
|
|
1195
1199
|
/** Products list. */
|
|
1196
1200
|
products: (value: Array<JSObject>) => this;
|
|
1197
1201
|
/** Photo */
|
|
1198
|
-
pictureData: (value:
|
|
1202
|
+
pictureData: (value: JSObject) => this;
|
|
1199
1203
|
/** Determines whether to delete an entry photo */
|
|
1200
1204
|
deletePicture: (value: 'y'|'n') => this;
|
|
1201
1205
|
/** Element including entry content in selected languages */
|
|
@@ -1255,7 +1259,7 @@ export interface PutMenuFilterRequest extends AppendableGateway<PutMenuFilterReq
|
|
|
1255
1259
|
export interface DeleteMenuRequest extends AppendableGateway<DeleteMenuRequest> {
|
|
1256
1260
|
menu_list: (value: Array<JSObject>) => this;
|
|
1257
1261
|
/** Settings. */
|
|
1258
|
-
settings: (value:
|
|
1262
|
+
settings: (value: JSObject) => this;
|
|
1259
1263
|
/** Shop Id. */
|
|
1260
1264
|
shop_id: (shop_id: number|string) => this
|
|
1261
1265
|
/** Menu ID. */
|
|
@@ -1284,7 +1288,7 @@ export interface GetMenuRequest extends Gateway {
|
|
|
1284
1288
|
export interface PostMenuRequest extends AppendableGateway<PostMenuRequest> {
|
|
1285
1289
|
menu_list: (value: Array<JSObject>) => this;
|
|
1286
1290
|
/** Settings */
|
|
1287
|
-
settings: (value:
|
|
1291
|
+
settings: (value: JSObject) => this;
|
|
1288
1292
|
/** Shop Id. */
|
|
1289
1293
|
shop_id: (shop_id: number|string) => this
|
|
1290
1294
|
/** Menu ID. */
|
|
@@ -1300,7 +1304,7 @@ export interface PostMenuRequest extends AppendableGateway<PostMenuRequest> {
|
|
|
1300
1304
|
export interface PutMenuRequest extends AppendableGateway<PutMenuRequest> {
|
|
1301
1305
|
menu_list: (value: Array<JSObject>) => this;
|
|
1302
1306
|
/** Settings. */
|
|
1303
|
-
settings: (value:
|
|
1307
|
+
settings: (value: JSObject) => this;
|
|
1304
1308
|
/** Shop Id. */
|
|
1305
1309
|
shop_id: (shop_id: number|string) => this
|
|
1306
1310
|
/** Menu ID. */
|
|
@@ -1316,7 +1320,7 @@ export interface PutMenuRequest extends AppendableGateway<PutMenuRequest> {
|
|
|
1316
1320
|
export interface PutMenuSortRequest extends AppendableGateway<PutMenuSortRequest> {
|
|
1317
1321
|
menu_list: (value: Array<JSObject>) => this;
|
|
1318
1322
|
/** Settings */
|
|
1319
|
-
settings: (value:
|
|
1323
|
+
settings: (value: JSObject) => this;
|
|
1320
1324
|
/** Shop Id. */
|
|
1321
1325
|
shop_id: (shop_id: number|string) => this
|
|
1322
1326
|
/** Menu ID. */
|
|
@@ -1430,7 +1434,7 @@ export interface PostOrdersDocumentsRequest extends AppendableGateway<PostOrders
|
|
|
1430
1434
|
/** Is it to be shown to the customer in the order view. */
|
|
1431
1435
|
returnedInOrderDetails: (returnedInOrderDetails: 'y'|'n') => this
|
|
1432
1436
|
/** Additional information. */
|
|
1433
|
-
additionalData: (additionalData:
|
|
1437
|
+
additionalData: (additionalData: JSObject) => this
|
|
1434
1438
|
}
|
|
1435
1439
|
|
|
1436
1440
|
export interface GetOrdersExportdocumentsEPPRequest extends Gateway {
|
|
@@ -1492,7 +1496,7 @@ export interface GetOrdersHistoryRequest extends Gateway {
|
|
|
1492
1496
|
}
|
|
1493
1497
|
|
|
1494
1498
|
export interface DeleteOrdersImagesRequest extends AppendableGateway<DeleteOrdersImagesRequest> {
|
|
1495
|
-
order: (value:
|
|
1499
|
+
order: (value: JSObject) => this;
|
|
1496
1500
|
/** List of attachment IDs to be removed from the details of the selected order */
|
|
1497
1501
|
images: (value: Array<JSObject>) => this;
|
|
1498
1502
|
/** Attachment ID */
|
|
@@ -1509,8 +1513,8 @@ export interface GetOrdersImagesRequest extends Gateway {
|
|
|
1509
1513
|
export interface PostOrdersImagesRequest extends AppendableGateway<PostOrdersImagesRequest> {
|
|
1510
1514
|
/** Login */
|
|
1511
1515
|
userName: (value: string) => this;
|
|
1512
|
-
settings: (value:
|
|
1513
|
-
order: (value:
|
|
1516
|
+
settings: (value: JSObject) => this;
|
|
1517
|
+
order: (value: JSObject) => this;
|
|
1514
1518
|
/** List of image attachments */
|
|
1515
1519
|
images: (value: Array<JSObject>) => this;
|
|
1516
1520
|
/** Type. Available values: product - Product photo, package - Package photo */
|
|
@@ -1530,13 +1534,13 @@ export interface GetOrdersLabelsRequest extends Gateway {
|
|
|
1530
1534
|
|
|
1531
1535
|
export interface SearchOrdersOpinionsRequest extends PagableGateway<SearchOrdersOpinionsRequest,SearchOpinionsResponse> {
|
|
1532
1536
|
/** Review identification */
|
|
1533
|
-
opinion: (value:
|
|
1537
|
+
opinion: (value: JSObject) => this;
|
|
1534
1538
|
/** Orders. */
|
|
1535
|
-
orders: (value:
|
|
1539
|
+
orders: (value: JSObject) => this;
|
|
1536
1540
|
/** Customer data. */
|
|
1537
|
-
clients: (value:
|
|
1541
|
+
clients: (value: JSObject) => this;
|
|
1538
1542
|
/** Date range */
|
|
1539
|
-
dateRange: (value:
|
|
1543
|
+
dateRange: (value: JSObject) => this;
|
|
1540
1544
|
/** Page with results number. Numeration starts from 0 */
|
|
1541
1545
|
resultsPage: (value: number|string) => this;
|
|
1542
1546
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -1582,7 +1586,7 @@ export interface PostOrdersRequest extends AppendableGateway<PostOrdersRequest>
|
|
|
1582
1586
|
/** Determines if customer unregistered. Allowed values. "y" - casual client, "n" - registered customer. Default value:: "y". If customer is unregistered, enter customer details in element: "clientWithoutAccountData". For client with account - existing login should be stored in: "clientLogin". */
|
|
1583
1587
|
clientWithoutAccount: (clientWithoutAccount: string) => this
|
|
1584
1588
|
/** Balance data for casual client. Object is necessary for casual clients (in case of client_once has y value). */
|
|
1585
|
-
clientWithoutAccountData: (clientWithoutAccountData:
|
|
1589
|
+
clientWithoutAccountData: (clientWithoutAccountData: JSObject) => this
|
|
1586
1590
|
/** Customer's login. */
|
|
1587
1591
|
clientLogin: (clientLogin: string) => this
|
|
1588
1592
|
/** Customer comments on order. */
|
|
@@ -1598,9 +1602,9 @@ export interface PostOrdersRequest extends AppendableGateway<PostOrdersRequest>
|
|
|
1598
1602
|
/** Delivery cost. */
|
|
1599
1603
|
deliveryCost: (deliveryCost: number) => this
|
|
1600
1604
|
/** Delivery address data. */
|
|
1601
|
-
clientDeliveryAddress: (clientDeliveryAddress:
|
|
1605
|
+
clientDeliveryAddress: (clientDeliveryAddress: JSObject) => this
|
|
1602
1606
|
/** Buyer's address data. */
|
|
1603
|
-
payerAddress: (payerAddress:
|
|
1607
|
+
payerAddress: (payerAddress: JSObject) => this
|
|
1604
1608
|
/** Products list. */
|
|
1605
1609
|
products: (products: Array<JSObject>) => this
|
|
1606
1610
|
/** Discount value. */
|
|
@@ -1610,7 +1614,7 @@ export interface PostOrdersRequest extends AppendableGateway<PostOrdersRequest>
|
|
|
1610
1614
|
/** Omits collecting orders via IAI Bridge. */
|
|
1611
1615
|
ignoreBridge: (ignoreBridge: boolean) => this
|
|
1612
1616
|
/** Settings */
|
|
1613
|
-
settings: (settings:
|
|
1617
|
+
settings: (settings: JSObject) => this
|
|
1614
1618
|
/** Settlement by prices. "gross" - gross, "net" - net, "net_without_VAT" - net without VAT. */
|
|
1615
1619
|
orderSettledAtPrice: (orderSettledAtPrice: 'gross'|'net'|'net_without_vat') => this
|
|
1616
1620
|
/** Customer asked for invoice. List of parameters: "y" - yes (paper invoicing ), "e" - yes (electronic invoicing ), "n" - no. */
|
|
@@ -1651,7 +1655,7 @@ export interface PutOrdersRequest extends AppendableGateway<PutOrdersRequest> {
|
|
|
1651
1655
|
/** Omits collecting orders via IAI Bridge. */
|
|
1652
1656
|
ignoreBridge: (ignoreBridge: boolean) => this
|
|
1653
1657
|
/** Settings */
|
|
1654
|
-
settings: (settings:
|
|
1658
|
+
settings: (settings: JSObject) => this
|
|
1655
1659
|
/** Consent to send data to cooperating services */
|
|
1656
1660
|
emailProcessingConsent: (emailProcessingConsent: 'yes'|'no'|'disabled') => this
|
|
1657
1661
|
/** Customer asked for invoice. List of parameters: "y" - yes (paper invoicing ), "e" - yes (electronic invoicing ), "n" - no. */
|
|
@@ -1689,9 +1693,9 @@ export interface SearchOrdersRequest extends PagableGateway<SearchOrdersRequest,
|
|
|
1689
1693
|
/** Customer data. */
|
|
1690
1694
|
clients: (value: Array<JSObject>) => this;
|
|
1691
1695
|
/** Ranges of dates or serial numbers. */
|
|
1692
|
-
ordersRange: (value:
|
|
1696
|
+
ordersRange: (value: JSObject) => this;
|
|
1693
1697
|
/** Order source data. */
|
|
1694
|
-
orderSource: (value:
|
|
1698
|
+
orderSource: (value: JSObject) => this;
|
|
1695
1699
|
/** Products list. */
|
|
1696
1700
|
products: (value: Array<JSObject>) => this;
|
|
1697
1701
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -1701,11 +1705,11 @@ export interface SearchOrdersRequest extends PagableGateway<SearchOrdersRequest,
|
|
|
1701
1705
|
/** Customer asked for invoice. List of parameters: "y" - yes (paper invoicing ), "e" - yes (electronic invoicing ), "n" - no. */
|
|
1702
1706
|
clientRequestInvoice: (value: string) => this;
|
|
1703
1707
|
/** Information on consignments. */
|
|
1704
|
-
packages: (value:
|
|
1708
|
+
packages: (value: JSObject) => this;
|
|
1705
1709
|
/** Stock quantities data. */
|
|
1706
1710
|
stocks: (value: Array<JSObject>) => this;
|
|
1707
1711
|
/** Used discount codes data. */
|
|
1708
|
-
campaign: (value:
|
|
1712
|
+
campaign: (value: JSObject) => this;
|
|
1709
1713
|
/** Loyalty points. */
|
|
1710
1714
|
loyaltyPointsMode: (value: 'all'|'given'|'taken'|'given_or_taken'|'given_and_taken'|'not_given_nor_taken') => this;
|
|
1711
1715
|
/** Order handler. */
|
|
@@ -1822,7 +1826,7 @@ export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrder
|
|
|
1822
1826
|
/** Products list. */
|
|
1823
1827
|
products: (products: Array<JSObject>) => this
|
|
1824
1828
|
/** Information on error that occurred during gate call. */
|
|
1825
|
-
errors: (errors:
|
|
1829
|
+
errors: (errors: JSObject) => this
|
|
1826
1830
|
/** Flag marking errors in the result. */
|
|
1827
1831
|
isProductsErrors: (isProductsErrors: boolean) => this
|
|
1828
1832
|
}
|
|
@@ -1861,9 +1865,9 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
|
|
|
1861
1865
|
/** Customer data. */
|
|
1862
1866
|
clients: (value: Array<JSObject>) => this;
|
|
1863
1867
|
/** Ranges of dates or serial numbers. */
|
|
1864
|
-
ordersRange: (value:
|
|
1868
|
+
ordersRange: (value: JSObject) => this;
|
|
1865
1869
|
/** Order source data. */
|
|
1866
|
-
orderSource: (value:
|
|
1870
|
+
orderSource: (value: JSObject) => this;
|
|
1867
1871
|
/** Products list. */
|
|
1868
1872
|
products: (value: Array<JSObject>) => this;
|
|
1869
1873
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -1873,11 +1877,11 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
|
|
|
1873
1877
|
/** Customer asked for invoice. List of parameters: "invoice" - yes (paper invoicing ), "e_invoice" - yes (electronic invoicing ), "n" - no. */
|
|
1874
1878
|
clientRequestInvoice: (value: string) => this;
|
|
1875
1879
|
/** Information on consignments. */
|
|
1876
|
-
packages: (value:
|
|
1880
|
+
packages: (value: JSObject) => this;
|
|
1877
1881
|
/** Stock quantities data. */
|
|
1878
1882
|
stocks: (value: Array<JSObject>) => this;
|
|
1879
1883
|
/** Used discount codes data. */
|
|
1880
|
-
campaign: (value:
|
|
1884
|
+
campaign: (value: JSObject) => this;
|
|
1881
1885
|
/** Loyalty points. */
|
|
1882
1886
|
loyaltyPointsMode: (value: 'all'|'given'|'taken'|'given_or_taken'|'given_and_taken'|'not_given_nor_taken') => this;
|
|
1883
1887
|
/** Order handler. */
|
|
@@ -2074,7 +2078,7 @@ export interface PutPaymentsRequest extends Gateway {
|
|
|
2074
2078
|
account: (value: string) => this;
|
|
2075
2079
|
/** Data of customer account in store. */
|
|
2076
2080
|
clientAccount: (value: string) => this;
|
|
2077
|
-
other: (value:
|
|
2081
|
+
other: (value: JSObject) => this;
|
|
2078
2082
|
/** Transaction ID in external service */
|
|
2079
2083
|
externalPaymentId: (value: string) => this;
|
|
2080
2084
|
}
|
|
@@ -2100,7 +2104,7 @@ export interface PostPaymentsRepaymentRequest extends Gateway {
|
|
|
2100
2104
|
/** Customer account. */
|
|
2101
2105
|
client_account: (value: string) => this;
|
|
2102
2106
|
/** Other. */
|
|
2103
|
-
other: (value:
|
|
2107
|
+
other: (value: JSObject) => this;
|
|
2104
2108
|
}
|
|
2105
2109
|
|
|
2106
2110
|
export interface GetProductsSKUbyBarcodeRequest extends Gateway {
|
|
@@ -2113,13 +2117,13 @@ export interface GetProductsSKUbyBarcodeRequest extends Gateway {
|
|
|
2113
2117
|
export interface PutProductsAttachmentsRequest extends AppendableGateway<PutProductsAttachmentsRequest> {
|
|
2114
2118
|
productsAttachments: (value: Array<JSObject>) => this;
|
|
2115
2119
|
/** Stock keeping unit. */
|
|
2116
|
-
productIdent: (productIdent:
|
|
2120
|
+
productIdent: (productIdent: JSObject) => this
|
|
2117
2121
|
/** Product attachments list. */
|
|
2118
2122
|
attachments: (attachments: Array<JSObject>) => this
|
|
2119
2123
|
/** List of product's virtual attachments. */
|
|
2120
2124
|
virtualAttachments: (virtualAttachments: Array<JSObject>) => this
|
|
2121
2125
|
/** Information on error that occurred during gate call. */
|
|
2122
|
-
errors: (errors:
|
|
2126
|
+
errors: (errors: JSObject) => this
|
|
2123
2127
|
/** Flag indicating if there are errors in results of attachments settings. */
|
|
2124
2128
|
attachmentsErrorsOccurred: (attachmentsErrorsOccurred: boolean) => this
|
|
2125
2129
|
/** Flag indicating if there are errors in results of virtual attachments settings. */
|
|
@@ -2193,7 +2197,7 @@ export interface PostProductsBrandsRequest extends AppendableGateway<PostProduct
|
|
|
2193
2197
|
/** Name in panel */
|
|
2194
2198
|
nameInPanel: (nameInPanel: string) => this
|
|
2195
2199
|
/** */
|
|
2196
|
-
imagesSettings: (imagesSettings:
|
|
2200
|
+
imagesSettings: (imagesSettings: JSObject) => this
|
|
2197
2201
|
/** */
|
|
2198
2202
|
languagesConfigurations: (languagesConfigurations: Array<JSObject>) => this
|
|
2199
2203
|
}
|
|
@@ -2206,7 +2210,7 @@ export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsB
|
|
|
2206
2210
|
/** Name in panel */
|
|
2207
2211
|
nameInPanel: (nameInPanel: string) => this
|
|
2208
2212
|
/** */
|
|
2209
|
-
imagesSettings: (imagesSettings:
|
|
2213
|
+
imagesSettings: (imagesSettings: JSObject) => this
|
|
2210
2214
|
/** */
|
|
2211
2215
|
languagesConfigurations: (languagesConfigurations: Array<JSObject>) => this
|
|
2212
2216
|
}
|
|
@@ -2224,7 +2228,7 @@ export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<
|
|
|
2224
2228
|
/** Products list. */
|
|
2225
2229
|
products: (products: Array<JSObject>) => this
|
|
2226
2230
|
/** */
|
|
2227
|
-
bundleIdent: (bundleIdent:
|
|
2231
|
+
bundleIdent: (bundleIdent: JSObject) => this
|
|
2228
2232
|
}
|
|
2229
2233
|
|
|
2230
2234
|
export interface PostProductsBundlesProductsRequest extends AppendableGateway<PostProductsBundlesProductsRequest> {
|
|
@@ -2233,7 +2237,7 @@ export interface PostProductsBundlesProductsRequest extends AppendableGateway<Po
|
|
|
2233
2237
|
/** Products list. */
|
|
2234
2238
|
products: (products: Array<JSObject>) => this
|
|
2235
2239
|
/** */
|
|
2236
|
-
bundleIdent: (bundleIdent:
|
|
2240
|
+
bundleIdent: (bundleIdent: JSObject) => this
|
|
2237
2241
|
}
|
|
2238
2242
|
|
|
2239
2243
|
export interface PutProductsBundlesProductsQuantityRequest extends AppendableGateway<PutProductsBundlesProductsQuantityRequest> {
|
|
@@ -2242,7 +2246,7 @@ export interface PutProductsBundlesProductsQuantityRequest extends AppendableGat
|
|
|
2242
2246
|
/** Products list. */
|
|
2243
2247
|
products: (products: Array<JSObject>) => this
|
|
2244
2248
|
/** */
|
|
2245
|
-
bundleIdent: (bundleIdent:
|
|
2249
|
+
bundleIdent: (bundleIdent: JSObject) => this
|
|
2246
2250
|
}
|
|
2247
2251
|
|
|
2248
2252
|
export interface PutProductsBundlesRenewRequest extends AppendableGateway<PutProductsBundlesRenewRequest> {
|
|
@@ -2251,7 +2255,7 @@ export interface PutProductsBundlesRenewRequest extends AppendableGateway<PutPro
|
|
|
2251
2255
|
/** Products list. */
|
|
2252
2256
|
products: (products: Array<JSObject>) => this
|
|
2253
2257
|
/** ID of a set being modified. */
|
|
2254
|
-
bundleIdent: (bundleIdent:
|
|
2258
|
+
bundleIdent: (bundleIdent: JSObject) => this
|
|
2255
2259
|
}
|
|
2256
2260
|
|
|
2257
2261
|
export interface GetProductsCategoriesRequest extends PagableGateway<GetProductsCategoriesRequest> {
|
|
@@ -2348,7 +2352,7 @@ export interface PutProductsCollectionsRenewRequest extends AppendableGateway<Pu
|
|
|
2348
2352
|
/** Products list. */
|
|
2349
2353
|
products: (products: Array<JSObject>) => this
|
|
2350
2354
|
/** ID of a collection being modified. */
|
|
2351
|
-
collectionIdent: (collectionIdent:
|
|
2355
|
+
collectionIdent: (collectionIdent: JSObject) => this
|
|
2352
2356
|
}
|
|
2353
2357
|
|
|
2354
2358
|
export interface SearchProductsDeliveryTimeRequest extends AppendableGateway<SearchProductsDeliveryTimeRequest, SearchDeliveryTimeResponse> {
|
|
@@ -2382,7 +2386,7 @@ export interface PutProductsDescriptionsRequest extends AppendableGateway<PutPro
|
|
|
2382
2386
|
/** Products list. */
|
|
2383
2387
|
products: (value: Array<JSObject>) => this;
|
|
2384
2388
|
/** */
|
|
2385
|
-
productIdent: (productIdent:
|
|
2389
|
+
productIdent: (productIdent: JSObject) => this
|
|
2386
2390
|
/** Array of language-dependent elements. */
|
|
2387
2391
|
productDescriptionsLangData: (productDescriptionsLangData: Array<JSObject>) => this
|
|
2388
2392
|
/** Product data for auction services */
|
|
@@ -2393,7 +2397,7 @@ export interface PutProductsDescriptionsRequest extends AppendableGateway<PutPro
|
|
|
2393
2397
|
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest> {
|
|
2394
2398
|
groups: (value: Array<JSObject>) => this;
|
|
2395
2399
|
/** */
|
|
2396
|
-
productIdent: (productIdent:
|
|
2400
|
+
productIdent: (productIdent: JSObject) => this
|
|
2397
2401
|
}
|
|
2398
2402
|
|
|
2399
2403
|
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest> {
|
|
@@ -2407,13 +2411,13 @@ export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProd
|
|
|
2407
2411
|
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest> {
|
|
2408
2412
|
groups: (value: Array<JSObject>) => this;
|
|
2409
2413
|
/** */
|
|
2410
|
-
productIdent: (productIdent:
|
|
2414
|
+
productIdent: (productIdent: JSObject) => this
|
|
2411
2415
|
/** Display on the product list in the panel. */
|
|
2412
2416
|
displayInPanel: (displayInPanel: 'firstavailable'|'all') => this
|
|
2413
2417
|
/** Display on a product list on the page. */
|
|
2414
2418
|
displayOnPage: (displayOnPage: 'firstavailable'|'all'|'specified') => this
|
|
2415
2419
|
/** Selected product in the group. */
|
|
2416
|
-
specifiedProductIdent: (specifiedProductIdent:
|
|
2420
|
+
specifiedProductIdent: (specifiedProductIdent: JSObject) => this
|
|
2417
2421
|
}
|
|
2418
2422
|
|
|
2419
2423
|
export interface GetProductsIdBySizecodeRequest extends Gateway {
|
|
@@ -2437,11 +2441,11 @@ export interface DeleteProductsImagesRequest extends AppendableGateway<DeletePro
|
|
|
2437
2441
|
}
|
|
2438
2442
|
|
|
2439
2443
|
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest> {
|
|
2440
|
-
productsImagesSettings: (value:
|
|
2444
|
+
productsImagesSettings: (value: JSObject) => this;
|
|
2441
2445
|
/** Information on product images */
|
|
2442
2446
|
productsImages: (value: Array<JSObject>) => this;
|
|
2443
2447
|
/** */
|
|
2444
|
-
productIdent: (productIdent:
|
|
2448
|
+
productIdent: (productIdent: JSObject) => this
|
|
2445
2449
|
/** Shop Id */
|
|
2446
2450
|
shopId: (shopId: number|string) => this
|
|
2447
2451
|
/** List of shops for which photos will be added (including shop provided in shopId). If parameter is empty or not provided, photos will be added to all shops. */
|
|
@@ -2451,7 +2455,7 @@ export interface PutProductsImagesRequest extends AppendableGateway<PutProductsI
|
|
|
2451
2455
|
/** Product icons list. */
|
|
2452
2456
|
productIcons: (productIcons: Array<JSObject>) => this
|
|
2453
2457
|
/** Product settings. */
|
|
2454
|
-
productImagesSettings: (productImagesSettings:
|
|
2458
|
+
productImagesSettings: (productImagesSettings: JSObject) => this
|
|
2455
2459
|
productId: (value: number|string) => this;
|
|
2456
2460
|
/** Adds image source with selected priority */
|
|
2457
2461
|
addImage: (source: string, priority: number|string) => this;
|
|
@@ -2477,9 +2481,9 @@ export interface PostProductsMarketingPromotionRequest extends AppendableGateway
|
|
|
2477
2481
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
2478
2482
|
shopsIds: (value: number|string|number[]|string[]) => this;
|
|
2479
2483
|
/** Special zones */
|
|
2480
|
-
marketingZones: (value:
|
|
2484
|
+
marketingZones: (value: JSObject) => this;
|
|
2481
2485
|
/** Promotional price settings */
|
|
2482
|
-
newPriceSettings: (value:
|
|
2486
|
+
newPriceSettings: (value: JSObject) => this;
|
|
2483
2487
|
/** Promotion start date in Y-m-d H:i:s format */
|
|
2484
2488
|
startDate: (value: string) => this;
|
|
2485
2489
|
/** Promotion end date in Y-m-d H:i:s format */
|
|
@@ -2510,9 +2514,9 @@ export interface PutProductsMarketingPromotionRequest extends AppendableGateway<
|
|
|
2510
2514
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
2511
2515
|
shopsIds: (value: number|string|number[]|string[]) => this;
|
|
2512
2516
|
/** Special zones */
|
|
2513
|
-
marketingZones: (value:
|
|
2517
|
+
marketingZones: (value: JSObject) => this;
|
|
2514
2518
|
/** Promotional price settings */
|
|
2515
|
-
newPriceSettings: (value:
|
|
2519
|
+
newPriceSettings: (value: JSObject) => this;
|
|
2516
2520
|
/** Promotion start date in Y-m-d H:i:s format */
|
|
2517
2521
|
startDate: (value: string) => this;
|
|
2518
2522
|
/** Promotion end date in Y-m-d H:i:s format */
|
|
@@ -2549,11 +2553,11 @@ export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutP
|
|
|
2549
2553
|
/** Products list. */
|
|
2550
2554
|
products: (value: Array<JSObject>) => this;
|
|
2551
2555
|
assignment_mode: (value: 'auto'|'manual') => this;
|
|
2552
|
-
marketing_zones: (value:
|
|
2556
|
+
marketing_zones: (value: JSObject) => this;
|
|
2553
2557
|
/** Marketing hotspots in shops */
|
|
2554
2558
|
shops: (value: Array<JSObject>) => this;
|
|
2555
2559
|
/** Identifier type. */
|
|
2556
|
-
ident: (ident:
|
|
2560
|
+
ident: (ident: JSObject) => this
|
|
2557
2561
|
}
|
|
2558
2562
|
|
|
2559
2563
|
export interface GetProductsOmnibusPricesRequest extends Gateway {
|
|
@@ -2568,11 +2572,11 @@ export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutPr
|
|
|
2568
2572
|
/** Products list. */
|
|
2569
2573
|
products: (value: Array<JSObject>) => this;
|
|
2570
2574
|
/** Identifier type. */
|
|
2571
|
-
ident: (ident:
|
|
2575
|
+
ident: (ident: JSObject) => this
|
|
2572
2576
|
/** List of sizes */
|
|
2573
2577
|
sizes: (sizes: Array<JSObject>) => this
|
|
2574
2578
|
/** Strikethrough price settings. */
|
|
2575
|
-
omnibusPrices: (omnibusPrices:
|
|
2579
|
+
omnibusPrices: (omnibusPrices: JSObject) => this
|
|
2576
2580
|
/** Strikethrough price settings for the page. */
|
|
2577
2581
|
shops: (shops: Array<JSObject>) => this
|
|
2578
2582
|
}
|
|
@@ -2583,13 +2587,17 @@ export interface DeleteProductsOpinionsRequest extends Gateway {
|
|
|
2583
2587
|
|
|
2584
2588
|
export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOpinionsRequest> {
|
|
2585
2589
|
/** Review identification */
|
|
2586
|
-
opinion: (value:
|
|
2590
|
+
opinion: (value: JSObject) => this;
|
|
2587
2591
|
/** Products list. */
|
|
2588
|
-
products: (value:
|
|
2592
|
+
products: (value: JSObject) => this;
|
|
2589
2593
|
/** Customer data. */
|
|
2590
|
-
clients: (value:
|
|
2594
|
+
clients: (value: JSObject) => this;
|
|
2595
|
+
/** Review positive score data */
|
|
2596
|
+
scorePositive: (value: JSObject) => this;
|
|
2597
|
+
/** Review negative score data */
|
|
2598
|
+
scoreNegative: (value: JSObject) => this;
|
|
2591
2599
|
/** Date range */
|
|
2592
|
-
dateRange: (value:
|
|
2600
|
+
dateRange: (value: JSObject) => this;
|
|
2593
2601
|
/** Page with results number. Numeration starts from 0 */
|
|
2594
2602
|
resultsPage: (value: number|string) => this;
|
|
2595
2603
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -2620,13 +2628,13 @@ export interface PostProductsOpinionsRequest extends AppendableGateway<PostProdu
|
|
|
2620
2628
|
/** */
|
|
2621
2629
|
host: (host: string) => this
|
|
2622
2630
|
/** Customer data. */
|
|
2623
|
-
clients: (clients:
|
|
2631
|
+
clients: (clients: JSObject) => this
|
|
2624
2632
|
/** */
|
|
2625
2633
|
scorePositive: (scorePositive: number|string) => this
|
|
2626
2634
|
/** */
|
|
2627
2635
|
scoreNegative: (scoreNegative: number|string) => this
|
|
2628
2636
|
/** Products list. */
|
|
2629
|
-
products: (products:
|
|
2637
|
+
products: (products: JSObject) => this
|
|
2630
2638
|
/** Order serial number. */
|
|
2631
2639
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
2632
2640
|
/** Reply to an opinion */
|
|
@@ -2663,7 +2671,7 @@ export interface PutProductsParametersRequest extends AppendableGateway<PutProdu
|
|
|
2663
2671
|
/** Sections, parameters or valued to add or edit. */
|
|
2664
2672
|
items: (value: Array<JSObject>) => this;
|
|
2665
2673
|
/** Settings */
|
|
2666
|
-
settings: (value:
|
|
2674
|
+
settings: (value: JSObject) => this;
|
|
2667
2675
|
/** Parameter ID. */
|
|
2668
2676
|
id: (id: number|string) => this
|
|
2669
2677
|
/** Element text ID - can be entered instead of "id". Recognized save format: "section" (without backslash), "parameter\" (parameter without assigned value). */
|
|
@@ -2715,9 +2723,9 @@ export interface GetProductsRequest extends Gateway<SearchProductsResponse> {
|
|
|
2715
2723
|
|
|
2716
2724
|
export interface PostProductsRequest extends AppendableGateway<PostProductsRequest> {
|
|
2717
2725
|
/** Settings */
|
|
2718
|
-
settings: (value:
|
|
2726
|
+
settings: (value: JSObject) => this;
|
|
2719
2727
|
/** Icon and photos settings */
|
|
2720
|
-
picturesSettings: (value:
|
|
2728
|
+
picturesSettings: (value: JSObject) => this;
|
|
2721
2729
|
/** Products list. */
|
|
2722
2730
|
products: (value: Array<JSObject>) => this;
|
|
2723
2731
|
/** Product IAI code */
|
|
@@ -2761,7 +2769,7 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
|
|
|
2761
2769
|
/** Optional element, that determines prices edition mode. Default value is "amount_set", when indicated element is omitted in API gate call.. Allowed values "amount_set" - sets product prices to desired value (default mode), "amount_diff" - sets sum difference between prices set (adds or subtracts entered sum from the current price), "percent_diff" - sets percentage difference between prices set (adds or subtracts entered percent from the current price). */
|
|
2762
2770
|
priceChangeMode: (priceChangeMode: string) => this
|
|
2763
2771
|
/** The JavaScript formula calculating prices */
|
|
2764
|
-
priceFormula: (priceFormula:
|
|
2772
|
+
priceFormula: (priceFormula: JSObject) => this
|
|
2765
2773
|
/** Gross price */
|
|
2766
2774
|
productRetailPrice: (productRetailPrice: number) => this
|
|
2767
2775
|
/** Wholesale price */
|
|
@@ -2821,13 +2829,13 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
|
|
|
2821
2829
|
/** List of photos descriptions */
|
|
2822
2830
|
productDescriptionPictures: (productDescriptionPictures: string|string[]) => this
|
|
2823
2831
|
/** Reduced price */
|
|
2824
|
-
productPromotion: (productPromotion:
|
|
2832
|
+
productPromotion: (productPromotion: JSObject) => this
|
|
2825
2833
|
/** Discount for shop. */
|
|
2826
|
-
productDiscount: (productDiscount:
|
|
2834
|
+
productDiscount: (productDiscount: JSObject) => this
|
|
2827
2835
|
/** Distinguished product in store. */
|
|
2828
|
-
productDistinguished: (productDistinguished:
|
|
2836
|
+
productDistinguished: (productDistinguished: JSObject) => this
|
|
2829
2837
|
/** Special product in store. */
|
|
2830
|
-
productSpecial: (productSpecial:
|
|
2838
|
+
productSpecial: (productSpecial: JSObject) => this
|
|
2831
2839
|
/** Parameters (distinguished). */
|
|
2832
2840
|
productParametersDistinction: (productParametersDistinction: Array<JSObject>) => this
|
|
2833
2841
|
/** List of products recommended with this product */
|
|
@@ -2839,23 +2847,23 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
|
|
|
2839
2847
|
/** Products subscription settings. */
|
|
2840
2848
|
subscription: (subscription: Array<JSObject>) => this
|
|
2841
2849
|
/** Product name. */
|
|
2842
|
-
productNames: (productNames:
|
|
2850
|
+
productNames: (productNames: JSObject) => this
|
|
2843
2851
|
/** */
|
|
2844
|
-
productDescriptions: (productDescriptions:
|
|
2852
|
+
productDescriptions: (productDescriptions: JSObject) => this
|
|
2845
2853
|
/** Long product description */
|
|
2846
|
-
productLongDescriptions: (productLongDescriptions:
|
|
2854
|
+
productLongDescriptions: (productLongDescriptions: JSObject) => this
|
|
2847
2855
|
/** Product data for auction services */
|
|
2848
2856
|
productAuctionDescriptionsData: (productAuctionDescriptionsData: Array<JSObject>) => this
|
|
2849
2857
|
/** Product meta title */
|
|
2850
|
-
productMetaTitles: (productMetaTitles:
|
|
2858
|
+
productMetaTitles: (productMetaTitles: JSObject) => this
|
|
2851
2859
|
/** Product meta description */
|
|
2852
|
-
productMetaDescriptions: (productMetaDescriptions:
|
|
2860
|
+
productMetaDescriptions: (productMetaDescriptions: JSObject) => this
|
|
2853
2861
|
/** Product meta keywords. */
|
|
2854
|
-
productMetaKeywords: (productMetaKeywords:
|
|
2862
|
+
productMetaKeywords: (productMetaKeywords: JSObject) => this
|
|
2855
2863
|
/** #!AdresURLDlaTowaru!#. */
|
|
2856
|
-
productUrl: (productUrl:
|
|
2864
|
+
productUrl: (productUrl: JSObject) => this
|
|
2857
2865
|
/** Data on product groups (variants) */
|
|
2858
|
-
productVersion: (productVersion:
|
|
2866
|
+
productVersion: (productVersion: JSObject) => this
|
|
2859
2867
|
/** Currency ID */
|
|
2860
2868
|
currencyId: (currencyId: string) => this
|
|
2861
2869
|
/** Supplier ID. */
|
|
@@ -2863,17 +2871,17 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
|
|
|
2863
2871
|
/** This parameter is optional and it determines properties edition mode. Default value is "replace". Allowed values: "add" - adds properties to already existent ones, "delete" - removes properties of already existent ones, "delete_group" - removes properties from selected group, "replace" - overwrites properties already existent with new ones (default mode). */
|
|
2864
2872
|
productParametersDistinctionChangeMode: (productParametersDistinctionChangeMode: 'add'|'delete'|'delete_group'|'replace') => this
|
|
2865
2873
|
/** Product delivery time from the producer to the shop */
|
|
2866
|
-
productDeliveryTime: (productDeliveryTime:
|
|
2874
|
+
productDeliveryTime: (productDeliveryTime: JSObject) => this
|
|
2867
2875
|
/** Do You wish to sum up the products in the basket as a one order? Available values: "y" - yes, "n" - no. */
|
|
2868
2876
|
productSumInBasket: (productSumInBasket: string) => this
|
|
2869
2877
|
/** Shipping, returns and complaints settings */
|
|
2870
|
-
dispatchSettings: (dispatchSettings:
|
|
2878
|
+
dispatchSettings: (dispatchSettings: JSObject) => this
|
|
2871
2879
|
/** Standard unit settings */
|
|
2872
|
-
standardUnit: (standardUnit:
|
|
2880
|
+
standardUnit: (standardUnit: JSObject) => this
|
|
2873
2881
|
/** Minimal number of products in an order */
|
|
2874
|
-
minQuantityPerOrder: (minQuantityPerOrder:
|
|
2882
|
+
minQuantityPerOrder: (minQuantityPerOrder: JSObject) => this
|
|
2875
2883
|
/** Dimensions and overall weight */
|
|
2876
|
-
productDimensions: (productDimensions:
|
|
2884
|
+
productDimensions: (productDimensions: JSObject) => this
|
|
2877
2885
|
/** Responsible producer code */
|
|
2878
2886
|
responsibleProducerCode: (responsibleProducerCode: string) => this
|
|
2879
2887
|
/** Responsible person code */
|
|
@@ -2888,9 +2896,9 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
|
|
|
2888
2896
|
|
|
2889
2897
|
export interface PutProductsRequest extends AppendableGateway<PutProductsRequest> {
|
|
2890
2898
|
/** Settings */
|
|
2891
|
-
settings: (value:
|
|
2899
|
+
settings: (value: JSObject) => this;
|
|
2892
2900
|
/** Icon and photos settings */
|
|
2893
|
-
picturesSettings: (value:
|
|
2901
|
+
picturesSettings: (value: JSObject) => this;
|
|
2894
2902
|
/** Products list. */
|
|
2895
2903
|
products: (value: Array<JSObject>) => this;
|
|
2896
2904
|
/** Product IAI code */
|
|
@@ -2986,7 +2994,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
2986
2994
|
/** Settings of hotspots display. */
|
|
2987
2995
|
productHotspotsZones: (productHotspotsZones: Array<JSObject>) => this
|
|
2988
2996
|
/** Loyalty points. */
|
|
2989
|
-
priceInPoints: (priceInPoints:
|
|
2997
|
+
priceInPoints: (priceInPoints: JSObject) => this
|
|
2990
2998
|
/** Loyalty points. */
|
|
2991
2999
|
loyaltyPoints: (loyaltyPoints: Array<JSObject>) => this
|
|
2992
3000
|
/** Weight. */
|
|
@@ -3022,7 +3030,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3022
3030
|
/** Name of warranty for indicated product. */
|
|
3023
3031
|
warrantyName: (warrantyName: string) => this
|
|
3024
3032
|
/** The JavaScript formula calculating prices */
|
|
3025
|
-
priceFormula: (priceFormula:
|
|
3033
|
+
priceFormula: (priceFormula: JSObject) => this
|
|
3026
3034
|
/** Size chart ID */
|
|
3027
3035
|
sizeChartId: (sizeChartId: number|string) => this
|
|
3028
3036
|
/** Size chart name */
|
|
@@ -3042,13 +3050,13 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3042
3050
|
/** List of a product's photos with indication of a particular number of the photo. */
|
|
3043
3051
|
productPicturesReplace: (productPicturesReplace: Array<JSObject>) => this
|
|
3044
3052
|
/** Reduced price */
|
|
3045
|
-
productPromotion: (productPromotion:
|
|
3053
|
+
productPromotion: (productPromotion: JSObject) => this
|
|
3046
3054
|
/** Discount for shop. */
|
|
3047
|
-
productDiscount: (productDiscount:
|
|
3055
|
+
productDiscount: (productDiscount: JSObject) => this
|
|
3048
3056
|
/** Distinguished product in store. */
|
|
3049
|
-
productDistinguished: (productDistinguished:
|
|
3057
|
+
productDistinguished: (productDistinguished: JSObject) => this
|
|
3050
3058
|
/** Special product in store. */
|
|
3051
|
-
productSpecial: (productSpecial:
|
|
3059
|
+
productSpecial: (productSpecial: JSObject) => this
|
|
3052
3060
|
/** Parameters (distinguished). */
|
|
3053
3061
|
productParametersDistinction: (productParametersDistinction: Array<JSObject>) => this
|
|
3054
3062
|
/** Configuration parameters */
|
|
@@ -3072,29 +3080,29 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3072
3080
|
/** Products subscription settings. */
|
|
3073
3081
|
subscription: (subscription: Array<JSObject>) => this
|
|
3074
3082
|
/** Product name. */
|
|
3075
|
-
productNames: (productNames:
|
|
3083
|
+
productNames: (productNames: JSObject) => this
|
|
3076
3084
|
/** DEPRECATED. This parameter is deprecated. Product name for online auctions. */
|
|
3077
|
-
productNamesInAuction: (productNamesInAuction:
|
|
3085
|
+
productNamesInAuction: (productNamesInAuction: JSObject) => this
|
|
3078
3086
|
/** Product name for price comparison websites. */
|
|
3079
|
-
productNamesInPriceComparer: (productNamesInPriceComparer:
|
|
3087
|
+
productNamesInPriceComparer: (productNamesInPriceComparer: JSObject) => this
|
|
3080
3088
|
/** Product short description */
|
|
3081
|
-
productParamDescriptions: (productParamDescriptions:
|
|
3089
|
+
productParamDescriptions: (productParamDescriptions: JSObject) => this
|
|
3082
3090
|
/** Long product description */
|
|
3083
|
-
productLongDescriptions: (productLongDescriptions:
|
|
3091
|
+
productLongDescriptions: (productLongDescriptions: JSObject) => this
|
|
3084
3092
|
/** DEPRECATED. This parameter is deprecated. Product description for marketplaces. */
|
|
3085
|
-
productLongDescriptionsInAuction: (productLongDescriptionsInAuction:
|
|
3093
|
+
productLongDescriptionsInAuction: (productLongDescriptionsInAuction: JSObject) => this
|
|
3086
3094
|
/** Product data for auction services */
|
|
3087
3095
|
productAuctionDescriptionsData: (productAuctionDescriptionsData: Array<JSObject>) => this
|
|
3088
3096
|
/** Product meta title */
|
|
3089
|
-
productMetaTitles: (productMetaTitles:
|
|
3097
|
+
productMetaTitles: (productMetaTitles: JSObject) => this
|
|
3090
3098
|
/** Product meta description */
|
|
3091
|
-
productMetaDescriptions: (productMetaDescriptions:
|
|
3099
|
+
productMetaDescriptions: (productMetaDescriptions: JSObject) => this
|
|
3092
3100
|
/** Product meta keywords. */
|
|
3093
|
-
productMetaKeywords: (productMetaKeywords:
|
|
3101
|
+
productMetaKeywords: (productMetaKeywords: JSObject) => this
|
|
3094
3102
|
/** #!AdresURLDlaTowaru!#. */
|
|
3095
|
-
productUrl: (productUrl:
|
|
3103
|
+
productUrl: (productUrl: JSObject) => this
|
|
3096
3104
|
/** Data on product groups (variants) */
|
|
3097
|
-
productVersion: (productVersion:
|
|
3105
|
+
productVersion: (productVersion: JSObject) => this
|
|
3098
3106
|
/** Currency ID */
|
|
3099
3107
|
currencyId: (currencyId: string) => this
|
|
3100
3108
|
/** Currency, in which product prices are stored. */
|
|
@@ -3106,7 +3114,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3106
3114
|
/** This parameter is optional and it determines properties edition mode. Default value is "replace". Allowed values: "add" - adds properties to already existent ones, "delete" - removes properties of already existent ones, "delete_group" - removes properties from selected group, "replace" - overwrites properties already existent with new ones (default mode). */
|
|
3107
3115
|
productParametersDistinctionChangeMode: (productParametersDistinctionChangeMode: 'add'|'delete'|'delete_group'|'replace') => this
|
|
3108
3116
|
/** Product delivery time from the producer to the shop */
|
|
3109
|
-
productDeliveryTime: (productDeliveryTime:
|
|
3117
|
+
productDeliveryTime: (productDeliveryTime: JSObject) => this
|
|
3110
3118
|
/** Parameters. */
|
|
3111
3119
|
productParameters: (productParameters: Array<JSObject>) => this
|
|
3112
3120
|
/** */
|
|
@@ -3118,7 +3126,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3118
3126
|
/** An array of menu elements */
|
|
3119
3127
|
productMenuItems: (productMenuItems: Array<JSObject>) => this
|
|
3120
3128
|
/** #!UsuwaWszystkiePrzypisaneDoProduktuElementyWybranegoMenu!#. */
|
|
3121
|
-
removeAllProductsAssignedToMenu: (removeAllProductsAssignedToMenu:
|
|
3129
|
+
removeAllProductsAssignedToMenu: (removeAllProductsAssignedToMenu: JSObject) => this
|
|
3122
3130
|
/** Do You wish to sum up the products in the basket as a one order? Available values: "y" - yes, "n" - no. */
|
|
3123
3131
|
productSumInBasket: (productSumInBasket: string) => this
|
|
3124
3132
|
/** Settings of prices for shop. Values allowed: "same_prices" - prices in each shop are the same, "different_prices" - prices in each shop are different. */
|
|
@@ -3142,17 +3150,17 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3142
3150
|
/** Saving serial numbers Available values: "na" - not used, "optional" - Optional, "required" - required. */
|
|
3143
3151
|
serialNumbersOption: (serialNumbersOption: 'na'|'optional'|'required') => this
|
|
3144
3152
|
/** Shipping, returns and complaints settings */
|
|
3145
|
-
dispatchSettings: (dispatchSettings:
|
|
3153
|
+
dispatchSettings: (dispatchSettings: JSObject) => this
|
|
3146
3154
|
/** Standard unit settings */
|
|
3147
|
-
standardUnit: (standardUnit:
|
|
3155
|
+
standardUnit: (standardUnit: JSObject) => this
|
|
3148
3156
|
/** Minimal number of products in an order */
|
|
3149
|
-
minQuantityPerOrder: (minQuantityPerOrder:
|
|
3157
|
+
minQuantityPerOrder: (minQuantityPerOrder: JSObject) => this
|
|
3150
3158
|
/** */
|
|
3151
3159
|
dynamicPricingEnabled: (dynamicPricingEnabled: string) => this
|
|
3152
3160
|
/** The setting allows you to reset the inventory to zero */
|
|
3153
|
-
clearStockQuantities: (clearStockQuantities:
|
|
3161
|
+
clearStockQuantities: (clearStockQuantities: JSObject) => this
|
|
3154
3162
|
/** Dimensions and overall weight */
|
|
3155
|
-
productDimensions: (productDimensions:
|
|
3163
|
+
productDimensions: (productDimensions: JSObject) => this
|
|
3156
3164
|
/** Responsible producer code */
|
|
3157
3165
|
responsibleProducerCode: (responsibleProducerCode: string) => this
|
|
3158
3166
|
/** Responsible person code */
|
|
@@ -3174,7 +3182,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3174
3182
|
}
|
|
3175
3183
|
|
|
3176
3184
|
export interface SearchProductsRequest extends PagableGateway<SearchProductsRequest,SearchProductsResponse> {
|
|
3177
|
-
dispatchSettings: (value:
|
|
3185
|
+
dispatchSettings: (value: JSObject) => this;
|
|
3178
3186
|
/** 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. */
|
|
3179
3187
|
returnProducts: (value: string) => this;
|
|
3180
3188
|
/** 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 */
|
|
@@ -3214,7 +3222,7 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
|
|
|
3214
3222
|
/** List of special offers, sought products are assigned to. */
|
|
3215
3223
|
productPromotionsIds: (value: number|string|number[]|string[]) => this;
|
|
3216
3224
|
/** Settings concerning narrowing list of products found by date. */
|
|
3217
|
-
productDate: (value:
|
|
3225
|
+
productDate: (value: JSObject) => this;
|
|
3218
3226
|
/** Parameters */
|
|
3219
3227
|
productParametersParams: (value: Array<JSObject>) => this;
|
|
3220
3228
|
/** Series, sought products are assigned to. */
|
|
@@ -3230,9 +3238,9 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
|
|
|
3230
3238
|
/** Product code or it's part (based on producer's code, external product system code and code that is visible on a product card). Search is accesible only with available products. */
|
|
3231
3239
|
containsCodePart: (value: string) => this;
|
|
3232
3240
|
/** Product availability in stocks */
|
|
3233
|
-
productAvailableInStocks: (value:
|
|
3241
|
+
productAvailableInStocks: (value: JSObject) => this;
|
|
3234
3242
|
/** Product availability on auctions */
|
|
3235
|
-
productAvailableInAuctions: (value:
|
|
3243
|
+
productAvailableInAuctions: (value: JSObject) => this;
|
|
3236
3244
|
/** Page with results number. Numeration starts from 0 */
|
|
3237
3245
|
resultsPage: (value: number|string) => this;
|
|
3238
3246
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -3258,9 +3266,9 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
|
|
|
3258
3266
|
/** Product is new. Available values: "y" - is new, "n" - is not new. */
|
|
3259
3267
|
productInNew: (value: string) => this;
|
|
3260
3268
|
/** Shops */
|
|
3261
|
-
searchByShops: (value:
|
|
3269
|
+
searchByShops: (value: JSObject) => this;
|
|
3262
3270
|
/** Price range for sought products. */
|
|
3263
|
-
productSearchPriceRange: (value:
|
|
3271
|
+
productSearchPriceRange: (value: JSObject) => this;
|
|
3264
3272
|
/** VAT value for sought products */
|
|
3265
3273
|
productVatRates: (value: Array<Number>) => this;
|
|
3266
3274
|
/** Is product VAT-free Allowed values "y" - yes, "n" - no. */
|
|
@@ -3274,9 +3282,9 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
|
|
|
3274
3282
|
/** Do You wish to sum up the products in the basket as a one order? Available values: "y" - yes, "n" - no. */
|
|
3275
3283
|
productInSumInBasket: (value: string) => this;
|
|
3276
3284
|
/** Product type. Allowed values: "product_item" - Goods, "product_packaging" - packaging, "product_bundle" - set. "product_collection" - collection. "product_service" - service. "product_virtual" - virtual product. "product_configurable" - configurable product. */
|
|
3277
|
-
productType: (value:
|
|
3285
|
+
productType: (value: JSObject) => this;
|
|
3278
3286
|
/** An array of menu elements */
|
|
3279
|
-
productMenuItems: (value:
|
|
3287
|
+
productMenuItems: (value: JSObject) => this;
|
|
3280
3288
|
/** Warehouse location ID */
|
|
3281
3289
|
productLocationId: (value: number|string) => this;
|
|
3282
3290
|
/** Warehouse location full path Use a backslash (\) as a separator, for example: M1\Section name\Location name If location_id parameter is provided, the full warehouse location path will not be taken into account */
|
|
@@ -3286,7 +3294,7 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
|
|
|
3286
3294
|
/** Returns reservation information regardless of inventory levels */
|
|
3287
3295
|
returnEmptyStocksWithReservation: (value: Boolean) => this;
|
|
3288
3296
|
/** Data for operations on individual photos */
|
|
3289
|
-
picturesData: (value:
|
|
3297
|
+
picturesData: (value: JSObject) => this;
|
|
3290
3298
|
/** Responsible producer code */
|
|
3291
3299
|
responsibleProducerCode: (value: string) => this;
|
|
3292
3300
|
/** Responsible person code */
|
|
@@ -3385,7 +3393,7 @@ export interface PutProductsQuestionsRequest extends AppendableGateway<PutProduc
|
|
|
3385
3393
|
/** Author. */
|
|
3386
3394
|
author: (author: string) => this
|
|
3387
3395
|
/** Stock keeping unit. */
|
|
3388
|
-
productIdent: (productIdent:
|
|
3396
|
+
productIdent: (productIdent: JSObject) => this
|
|
3389
3397
|
/** Visibility: "y" - yes, "n" - no */
|
|
3390
3398
|
visible: (visible: 'n'|'y') => this
|
|
3391
3399
|
/** Priority. */
|
|
@@ -3533,13 +3541,13 @@ export interface PutProductsStocksRequest extends AppendableGateway<PutProductsS
|
|
|
3533
3541
|
/** Products list. */
|
|
3534
3542
|
products: (value: Array<JSObject>) => this;
|
|
3535
3543
|
/** */
|
|
3536
|
-
ident: (ident:
|
|
3544
|
+
ident: (ident: JSObject) => this
|
|
3537
3545
|
/** List of sizes */
|
|
3538
3546
|
sizes: (sizes: Array<JSObject>) => this
|
|
3539
3547
|
/** */
|
|
3540
|
-
settings: (settings:
|
|
3548
|
+
settings: (settings: JSObject) => this
|
|
3541
3549
|
/** Error information. */
|
|
3542
|
-
error: (error:
|
|
3550
|
+
error: (error: JSObject) => this
|
|
3543
3551
|
}
|
|
3544
3552
|
|
|
3545
3553
|
export interface GetProductsStrikethroughPricesRequest extends Gateway {
|
|
@@ -3554,11 +3562,11 @@ export interface PutProductsStrikethroughPricesRequest extends AppendableGateway
|
|
|
3554
3562
|
/** Products list. */
|
|
3555
3563
|
products: (value: Array<JSObject>) => this;
|
|
3556
3564
|
/** Identifier type. */
|
|
3557
|
-
ident: (ident:
|
|
3565
|
+
ident: (ident: JSObject) => this
|
|
3558
3566
|
/** List of sizes */
|
|
3559
3567
|
sizes: (sizes: Array<JSObject>) => this
|
|
3560
3568
|
/** */
|
|
3561
|
-
stp_settings: (stp_settings:
|
|
3569
|
+
stp_settings: (stp_settings: JSObject) => this
|
|
3562
3570
|
/** Strikethrough price settings for the page. */
|
|
3563
3571
|
shops: (shops: Array<JSObject>) => this
|
|
3564
3572
|
}
|
|
@@ -3634,7 +3642,7 @@ export interface PostRefundsAddManualRefundRequest extends Gateway {
|
|
|
3634
3642
|
refundValue: (value: Number) => this;
|
|
3635
3643
|
/** Payment currency. */
|
|
3636
3644
|
refundCurrency: (value: string) => this;
|
|
3637
|
-
refundDetails: (value:
|
|
3645
|
+
refundDetails: (value: JSObject) => this;
|
|
3638
3646
|
}
|
|
3639
3647
|
|
|
3640
3648
|
export interface PutRefundsCancelRefundRequest extends Gateway {
|
|
@@ -3779,7 +3787,7 @@ export interface GetReturnsRequest extends PagableGateway<GetReturnsRequest,GetR
|
|
|
3779
3787
|
/** Search by a return shipment number from a customer to the shop . */
|
|
3780
3788
|
return_shipping_number: (value: string) => this;
|
|
3781
3789
|
/** Date range. */
|
|
3782
|
-
range: (value:
|
|
3790
|
+
range: (value: JSObject) => this;
|
|
3783
3791
|
/** Number of results on page. */
|
|
3784
3792
|
results_limit: (value: number|string) => this;
|
|
3785
3793
|
/** Result page number. */
|
|
@@ -3832,7 +3840,7 @@ export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest>
|
|
|
3832
3840
|
/** */
|
|
3833
3841
|
status: (status: number|string) => this
|
|
3834
3842
|
/** 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. */
|
|
3835
|
-
apiFlag: (apiFlag:
|
|
3843
|
+
apiFlag: (apiFlag: JSObject) => this
|
|
3836
3844
|
/** Products list. */
|
|
3837
3845
|
products: (products: Array<JSObject>) => this
|
|
3838
3846
|
/** */
|
|
@@ -3867,11 +3875,11 @@ export interface GetRmaRequest extends PagableGateway<GetRmaRequest,GetRmaRespon
|
|
|
3867
3875
|
/** Unique client's number. */
|
|
3868
3876
|
clientId: (value: string) => this;
|
|
3869
3877
|
/** Complaint creation date in the YYYY-MM-DD format */
|
|
3870
|
-
creationDate: (value:
|
|
3878
|
+
creationDate: (value: JSObject) => this;
|
|
3871
3879
|
/** Complaint modification date in the YYYY-MM-DD format */
|
|
3872
|
-
modificationDate: (value:
|
|
3880
|
+
modificationDate: (value: JSObject) => this;
|
|
3873
3881
|
/** Complaint closing date in the YYYY-MM-DD format */
|
|
3874
|
-
endDate: (value:
|
|
3882
|
+
endDate: (value: JSObject) => this;
|
|
3875
3883
|
/** Page with results number. Numeration starts from 0 */
|
|
3876
3884
|
resultsPage: (value: number|string) => this;
|
|
3877
3885
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -4087,9 +4095,9 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4087
4095
|
/** Snippet campaign id */
|
|
4088
4096
|
campaign: (campaign: number|string) => this
|
|
4089
4097
|
/** undefined */
|
|
4090
|
-
dateBegin: (dateBegin:
|
|
4098
|
+
dateBegin: (dateBegin: JSObject) => this
|
|
4091
4099
|
/** Filter to control snippet activation. */
|
|
4092
|
-
dateEnd: (dateEnd:
|
|
4100
|
+
dateEnd: (dateEnd: JSObject) => this
|
|
4093
4101
|
/** Code snippet type. */
|
|
4094
4102
|
type: (type: 'html'|'javascript'|'cgi') => this
|
|
4095
4103
|
/** Whether to load contents asynchronously via XHR request. */
|
|
@@ -4105,11 +4113,11 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4105
4113
|
/** Snippet content for each language. */
|
|
4106
4114
|
body: (body: Array<JSObject>) => this
|
|
4107
4115
|
/** undefined */
|
|
4108
|
-
display: (display:
|
|
4116
|
+
display: (display: JSObject) => this
|
|
4109
4117
|
/** undefined */
|
|
4110
|
-
pages: (pages:
|
|
4118
|
+
pages: (pages: JSObject) => this
|
|
4111
4119
|
/** Snippet entry source filter. */
|
|
4112
|
-
sources: (sources:
|
|
4120
|
+
sources: (sources: JSObject) => this
|
|
4113
4121
|
}
|
|
4114
4122
|
|
|
4115
4123
|
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest> {
|
|
@@ -4123,9 +4131,9 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
|
|
|
4123
4131
|
/** Snippet campaign id */
|
|
4124
4132
|
campaign: (campaign: number|string) => this
|
|
4125
4133
|
/** undefined */
|
|
4126
|
-
dateBegin: (dateBegin:
|
|
4134
|
+
dateBegin: (dateBegin: JSObject) => this
|
|
4127
4135
|
/** Filter to control snippet activation. */
|
|
4128
|
-
dateEnd: (dateEnd:
|
|
4136
|
+
dateEnd: (dateEnd: JSObject) => this
|
|
4129
4137
|
/** Code snippet type. */
|
|
4130
4138
|
type: (type: 'html'|'javascript'|'cgi') => this
|
|
4131
4139
|
/** Whether to load contents asynchronously via XHR request. */
|
|
@@ -4141,11 +4149,11 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
|
|
|
4141
4149
|
/** Snippet content for each language. */
|
|
4142
4150
|
body: (body: Array<JSObject>) => this
|
|
4143
4151
|
/** undefined */
|
|
4144
|
-
display: (display:
|
|
4152
|
+
display: (display: JSObject) => this
|
|
4145
4153
|
/** undefined */
|
|
4146
|
-
pages: (pages:
|
|
4154
|
+
pages: (pages: JSObject) => this
|
|
4147
4155
|
/** Snippet entry source filter. */
|
|
4148
|
-
sources: (sources:
|
|
4156
|
+
sources: (sources: JSObject) => this
|
|
4149
4157
|
}
|
|
4150
4158
|
|
|
4151
4159
|
export interface DeleteSnippetsRequest extends Gateway {
|
|
@@ -4153,60 +4161,116 @@ export interface DeleteSnippetsRequest extends Gateway {
|
|
|
4153
4161
|
id: (value: number|string|number[]|string[]) => this;
|
|
4154
4162
|
}
|
|
4155
4163
|
|
|
4164
|
+
export interface PostSubscriptionsAddProductRequest extends Gateway {
|
|
4165
|
+
/** Id of subscription */
|
|
4166
|
+
subscriptionId: (value: number|string) => this;
|
|
4167
|
+
/** Collection of products to edit */
|
|
4168
|
+
products: (value: Array<JSObject>) => this;
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4156
4171
|
export interface PostSubscriptionsChangeDeliveryDatesRequest extends Gateway {
|
|
4157
|
-
|
|
4172
|
+
/** Subscription ids */
|
|
4173
|
+
subscriptionIds: (value: number|string|number[]|string[]) => this;
|
|
4174
|
+
/** Settings that determinates if price should be updated automaticly */
|
|
4175
|
+
upcomingDeliveryDate: (value: string) => this;
|
|
4176
|
+
/** A setting that determines whether to also change the date of the next delivery. */
|
|
4177
|
+
changeNextDeliveryDate: (value: Boolean) => this;
|
|
4158
4178
|
}
|
|
4159
4179
|
|
|
4160
4180
|
export interface PostSubscriptionsChangePriceAutoUpdateRequest extends Gateway {
|
|
4161
|
-
|
|
4181
|
+
/** Subscription ids */
|
|
4182
|
+
subscriptionIds: (value: number|string|number[]|string[]) => this;
|
|
4183
|
+
/** Settings that determinates if price should be updated automaticly */
|
|
4184
|
+
autoPriceUpdate: (value: Boolean) => this;
|
|
4162
4185
|
}
|
|
4163
4186
|
|
|
4164
4187
|
export interface PostSubscriptionsChangeStatusRequest extends Gateway {
|
|
4165
|
-
|
|
4188
|
+
/** Subscription ids */
|
|
4189
|
+
subscriptionIds: (value: number|string|number[]|string[]) => this;
|
|
4190
|
+
/** Status to set */
|
|
4191
|
+
subscriptionStatus: (value: 'active'|'hold'|'nonpayment'|'finished') => this;
|
|
4192
|
+
/** Option allowing sending e-mail after status change */
|
|
4193
|
+
sendMailAfterStatusChange: (value: Boolean) => this;
|
|
4194
|
+
/** Optian allowing sending SMS after status change */
|
|
4195
|
+
sendSMSAfterStatusChange: (value: Boolean) => this;
|
|
4166
4196
|
}
|
|
4167
4197
|
|
|
4168
4198
|
export interface PostSubscriptionsDeleteProductRequest extends Gateway {
|
|
4169
|
-
|
|
4199
|
+
/** Id of subscription */
|
|
4200
|
+
subscriptionId: (value: number|string) => this;
|
|
4201
|
+
/** Ids in products table to delete */
|
|
4202
|
+
idsToDelete: (value: number|string|number[]|string[]) => this;
|
|
4170
4203
|
}
|
|
4171
4204
|
|
|
4172
4205
|
export interface PostSubscriptionsEditRequest extends Gateway {
|
|
4173
|
-
/**
|
|
4174
|
-
|
|
4206
|
+
/** Subscription */
|
|
4207
|
+
subscriptionModels: (value: Array<JSObject>) => this;
|
|
4175
4208
|
}
|
|
4176
4209
|
|
|
4177
4210
|
export interface PostSubscriptionsEditProductRequest extends Gateway {
|
|
4178
|
-
|
|
4211
|
+
/** Id of subscription */
|
|
4212
|
+
subscriptionId: (value: number|string) => this;
|
|
4213
|
+
/** Collection of products to edit */
|
|
4214
|
+
products: (value: Array<JSObject>) => this;
|
|
4179
4215
|
}
|
|
4180
4216
|
|
|
4181
4217
|
export interface PostSubscriptionsItemsListRequest extends Gateway {
|
|
4182
|
-
|
|
4218
|
+
filter: (value: JSObject) => this;
|
|
4219
|
+
orderBy: (value: JSObject) => this;
|
|
4220
|
+
/** Pagination settings. */
|
|
4221
|
+
pagination: (value: JSObject) => this;
|
|
4183
4222
|
}
|
|
4184
4223
|
|
|
4185
4224
|
export interface PostSubscriptionsListViewFetchIdsRequest extends Gateway {
|
|
4186
|
-
/**
|
|
4187
|
-
|
|
4225
|
+
/** Subscription IDs */
|
|
4226
|
+
ids: (value: number|string|number[]|string[]) => this;
|
|
4227
|
+
/** Subscription statuses */
|
|
4228
|
+
statuses: (value: string|string[]) => this;
|
|
4229
|
+
/** Client ID */
|
|
4230
|
+
clientId: (value: number|string) => this;
|
|
4231
|
+
/** Shop ID */
|
|
4232
|
+
shopId: (value: number|string) => this;
|
|
4233
|
+
/** Price change mode */
|
|
4234
|
+
priceChangeMode: (value: 'auto'|'manual') => this;
|
|
4235
|
+
/** A universal structure for time intervals. */
|
|
4236
|
+
createDateTime: (value: JSObject) => this;
|
|
4237
|
+
/** A universal structure for time intervals. */
|
|
4238
|
+
finishDateTime: (value: JSObject) => this;
|
|
4239
|
+
/** Universal structure for intervals. */
|
|
4240
|
+
upcomingDeliveryDate: (value: JSObject) => this;
|
|
4241
|
+
/** Universal structure for intervals. */
|
|
4242
|
+
nextDeliveryDate: (value: JSObject) => this;
|
|
4243
|
+
/** Text search phrase */
|
|
4244
|
+
textSearch: (value: string) => this;
|
|
4188
4245
|
}
|
|
4189
4246
|
|
|
4190
4247
|
export interface PostSubscriptionsListViewListRequest extends Gateway {
|
|
4191
|
-
|
|
4192
|
-
|
|
4248
|
+
select: (value: JSObject) => this;
|
|
4249
|
+
/** Filters that limit the result of a customer query. */
|
|
4250
|
+
filter: (value: JSObject) => this;
|
|
4251
|
+
/** Order by settings. */
|
|
4252
|
+
orderBy: (value: JSObject) => this;
|
|
4253
|
+
/** Pagination settings. */
|
|
4254
|
+
pagination: (value: JSObject) => this;
|
|
4193
4255
|
}
|
|
4194
4256
|
|
|
4195
4257
|
export interface PostSubscriptionsSetRebateCodeRequest extends Gateway {
|
|
4196
|
-
/**
|
|
4197
|
-
|
|
4258
|
+
/** Subscription ID */
|
|
4259
|
+
id: (value: number|string) => this;
|
|
4260
|
+
/** Code value */
|
|
4261
|
+
code: (value: string) => this;
|
|
4198
4262
|
}
|
|
4199
4263
|
|
|
4200
4264
|
export interface PostSubscriptionsUnsetRebateCodeRequest extends Gateway {
|
|
4201
|
-
/**
|
|
4202
|
-
|
|
4265
|
+
/** Subscription ID */
|
|
4266
|
+
id: (value: number|string) => this;
|
|
4203
4267
|
}
|
|
4204
4268
|
|
|
4205
4269
|
export interface GetSystemConfigRequest extends Gateway<GetConfigResponse> {}
|
|
4206
4270
|
|
|
4207
4271
|
export interface PutSystemConfigRequest extends Gateway {
|
|
4208
4272
|
/** Panel settings */
|
|
4209
|
-
panelSettings: (value:
|
|
4273
|
+
panelSettings: (value: JSObject) => this;
|
|
4210
4274
|
}
|
|
4211
4275
|
|
|
4212
4276
|
export interface GetSystemCurrenciesRequest extends Gateway {
|
|
@@ -4235,7 +4299,7 @@ export interface PutSystemProcessesAutomationRequest extends Gateway {
|
|
|
4235
4299
|
/** Shop Id */
|
|
4236
4300
|
shopId: (value: number|string) => this;
|
|
4237
4301
|
/** Orders. */
|
|
4238
|
-
orders: (value:
|
|
4302
|
+
orders: (value: JSObject) => this;
|
|
4239
4303
|
}
|
|
4240
4304
|
|
|
4241
4305
|
export interface GetSystemServerLoadRequest extends Gateway {}
|
|
@@ -4349,7 +4413,7 @@ export interface PostVouchersRequest extends AppendableGateway<PostVouchersReque
|
|
|
4349
4413
|
/** Voucher expiration date */
|
|
4350
4414
|
expirationDate: (expirationDate: string) => this
|
|
4351
4415
|
/** Voucher balance */
|
|
4352
|
-
balance: (balance:
|
|
4416
|
+
balance: (balance: JSObject) => this
|
|
4353
4417
|
/** List of shops the voucher is active in */
|
|
4354
4418
|
shops: (shops: number|string|number[]|string[]) => this
|
|
4355
4419
|
/** */
|
|
@@ -4370,7 +4434,7 @@ export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest
|
|
|
4370
4434
|
/** Balance operation type, possible values: - set - balance positioning of funds, - add - add funds to balance, - subtract - subtract funds from balance. */
|
|
4371
4435
|
balanceOperationType: (balanceOperationType: 'set'|'add'|'subtract') => this
|
|
4372
4436
|
/** Voucher balance */
|
|
4373
|
-
balance: (balance:
|
|
4437
|
+
balance: (balance: JSObject) => this
|
|
4374
4438
|
/** List of shops the voucher is active in */
|
|
4375
4439
|
shops: (shops: number|string|number[]|string[]) => this
|
|
4376
4440
|
/** */
|
|
@@ -4401,7 +4465,7 @@ export interface GetWarrantiesRequest extends PagableGateway<GetWarrantiesReques
|
|
|
4401
4465
|
results_limit: (value: number|string) => this;
|
|
4402
4466
|
/** Result page number. */
|
|
4403
4467
|
results_page: (value: number|string) => this;
|
|
4404
|
-
results_order: (value:
|
|
4468
|
+
results_order: (value: JSObject) => this;
|
|
4405
4469
|
}
|
|
4406
4470
|
|
|
4407
4471
|
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest> {
|
|
@@ -4413,9 +4477,9 @@ export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesR
|
|
|
4413
4477
|
/** Warranty time. Default value 12. */
|
|
4414
4478
|
period: (period: number|string) => this
|
|
4415
4479
|
/** Name of warranty. */
|
|
4416
|
-
shopname: (shopname:
|
|
4480
|
+
shopname: (shopname: JSObject) => this
|
|
4417
4481
|
/** Warranty description. */
|
|
4418
|
-
description: (description:
|
|
4482
|
+
description: (description: JSObject) => this
|
|
4419
4483
|
}
|
|
4420
4484
|
|
|
4421
4485
|
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest> {
|
|
@@ -4474,7 +4538,7 @@ export interface GetWmsStocksdocumentsDocumentsRequest extends PagableGateway<Ge
|
|
|
4474
4538
|
/** Products available in presales. */
|
|
4475
4539
|
productsInPreorder: (value: 'y'|'n') => this;
|
|
4476
4540
|
/** Date range */
|
|
4477
|
-
dateRange: (value:
|
|
4541
|
+
dateRange: (value: JSObject) => this;
|
|
4478
4542
|
/** Page with results number. Numeration starts from 0 */
|
|
4479
4543
|
resultsPage: (value: number|string) => this;
|
|
4480
4544
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -4562,7 +4626,7 @@ export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGate
|
|
|
4562
4626
|
/** Source warehouse ID. The list of available warehouses can be downloaded via the method <a href = "en/shop/api/?action=method&function=systemconfig&method=get">#get</a> in gateway <a href = "en/shop/api/?action=documentation&function=systemconfig">SystemConfig</a>. */
|
|
4563
4627
|
stockSourceId: (value: number|string) => this;
|
|
4564
4628
|
/** Date range */
|
|
4565
|
-
dateRange: (value:
|
|
4629
|
+
dateRange: (value: JSObject) => this;
|
|
4566
4630
|
/** Page with results number. Numeration starts from 0 */
|
|
4567
4631
|
resultsPage: (value: number|string) => this;
|
|
4568
4632
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -4683,11 +4747,11 @@ export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSupplier
|
|
|
4683
4747
|
/** VAT no.. (limit of 13 characters) */
|
|
4684
4748
|
taxCode: (taxCode: string) => this
|
|
4685
4749
|
/** Average delivery time */
|
|
4686
|
-
averageDeliveryTime: (averageDeliveryTime:
|
|
4750
|
+
averageDeliveryTime: (averageDeliveryTime: JSObject) => this
|
|
4687
4751
|
/** Description. (limit of 255 characters) */
|
|
4688
4752
|
description: (description: string) => this
|
|
4689
4753
|
/** Order preparation time for shipment */
|
|
4690
|
-
orderCompletionTime: (orderCompletionTime:
|
|
4754
|
+
orderCompletionTime: (orderCompletionTime: JSObject) => this
|
|
4691
4755
|
/** Supplier working hours */
|
|
4692
4756
|
workDays: (workDays: Array<JSObject>) => this
|
|
4693
4757
|
}
|
|
@@ -4958,6 +5022,7 @@ export interface Gateways {
|
|
|
4958
5022
|
postSnippets: PostSnippetsRequest,
|
|
4959
5023
|
putSnippets: PutSnippetsRequest,
|
|
4960
5024
|
deleteSnippets: DeleteSnippetsRequest,
|
|
5025
|
+
postSubscriptionsAddProduct: PostSubscriptionsAddProductRequest,
|
|
4961
5026
|
postSubscriptionsChangeDeliveryDates: PostSubscriptionsChangeDeliveryDatesRequest,
|
|
4962
5027
|
postSubscriptionsChangePriceAutoUpdate: PostSubscriptionsChangePriceAutoUpdateRequest,
|
|
4963
5028
|
postSubscriptionsChangeStatus: PostSubscriptionsChangeStatusRequest,
|