idosell 0.4.4 → 0.4.11
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/README.md +2 -0
- package/changelog.md +6 -0
- package/dist/app.d.ts +6 -1
- package/dist/gateways.d.ts +315 -313
- package/dist/helpers.js +17 -0
- package/dist/index.js +1 -1
- package/dist/methods/postPackagesLabels.js +5 -0
- package/dist/methods/putProductsAttachments.js +1 -1
- package/dist/methods/putProductsMarketingZones.js +2 -2
- package/dist/reqparams.d.ts +3271 -0
- package/dist/request.js +4 -1
- package/dist/responses.d.ts +7024 -5370
- package/package.json +2 -2
- package/tests/postPackagesLabels.test.js +10 -0
- package/tests/putProductsAttachments.test.js +2 -2
- package/tests/putProductsMarketingZones.test.js +2 -2
- package/tests/searchProductsCategoriesIdosell.test.js +15 -0
package/dist/gateways.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { PagableGateway, AppendableGateway, Gateway, DateLike, JSObject } from "./app.d.ts"
|
|
2
|
-
import type { GetClientsResponse, PostClientsResponse, SearchClientsCrmResponse, GetClientsDeliveryAddressResponse, PutClientsDeliveryAddressResponse, SearchClientsGiftcardsResponse, SearchClientsNewsletterEmailResponse, SearchClientsNewsletterSmsResponse, GetClientsPayerAddressResponse, GetConfigVariablesResponse, GetCouriersAssignedToShippingProfilesResponse,
|
|
2
|
+
import type { GetClientsBalanceResponse, BooleanStatusResponse, GetClientsResponse, PostClientsResponse, PutClientsResponse, SearchClientsCrmResponse, GetClientsDeliveryAddressResponse, PostClientsDeliveryAddressResponse, PutClientsDeliveryAddressResponse, VouchersResponse, PutVouchersResponse, SearchClientsGiftcardsResponse, GetClientsGiftcardsTypesResponse, GetClientsMembershipCardsResponse, PutClientsMembershipCardsResponse, SearchClientsNewsletterEmailResponse, SearchClientsNewsletterSmsResponse, GetClientsPayerAddressResponse, PostClientsPayerAddressResponse, PutClientsPayerAddressResponse, GetClientsPricelistsClientsResponse, PutClientsPricelistsClientsResponse, GetClientsPricelistsResponse, PostClientsPricelistsResponse, GetClientsPricelistsProductsResponse, PutClientsPricelistsProductsResponse, GetClientsPricesActiveCardResponse, GetClientsPricesDiscountGroupsResponse, GetClientsPricesDiscountsResponse, PutClientsPricesDiscountsResponse, GetClientsProfitPointsResponse, GetClientsProvinceListResponse, GetClientsTagsResponse, PostClientsTagsResponse, PutClientsTagsResponse, GetConfigVariablesResponse, PutConfigVariablesResponse, GetCouriersAssignedToShippingProfilesResponse, GetCouriersResponse, GetCouriersPickupPointsResponse, PutCouriersPickupPointsResponse, GetCpaCampaignResponse, CmsCampaignResponse, CmsResponse, GetCpaResponse, GetDeliveriesProfilesResponse, GetDeliveriesRegionsResponse, PostDeliveriesRegionsResponse, GetDiscountsGroupsClientsResponse, GetDiscountsGroupsResponse, PostDiscountsGroupsResponse, GetEntriesResponse, PostEntriesResponse, GetEntriesPagesToDisplayResponse, GetEntriesSourcesResponse, GetMenuResponse, PostMenuResponse, PutMenuResponse, PutMenuSortResponse, GetOrdersAnalyticsResponse, GetOrdersAuctionDetailsResponse, PutOrdersCourierResponse, PostOrdersDocumentsCreateResponse, GetOrdersDocumentsResponse, PostOrdersDocumentsResponse, GetOrdersHandlerResponse, GetOrdersHistoryResponse, GetOrdersImagesResponse, PostOrdersImagesResponse, GetOrdersLabelsResponse, SearchOrdersOpinionsResponse, GetOrdersOpinionsRateResponse, SearchOrdersResponse, PostOrdersResponse, PutOrdersResponse, GetOrdersPackagesResponse, PutOrdersPackagesResponse, PutOrdersProductsSerialNumbersResponse, PutOrdersProfitMarginResponse, GetOrdersProfitabilityResponse, GetOrdersStatusesResponse, GetOrdersWarehouseResponse, PostPackagesLabelsResponse, PutPackagesResponse, SearchPackagesResponse, GetPaymentsFormsResponse, GetPaymentsResponse, PostPaymentsResponse, GetPaymentsProfilesResponse, PostPaymentsRepaymentResponse, GetProductsSKUbyBarcodeResponse, PutProductsAttachmentsResponse, GetProductsAuctionsResponse, GetProductsBrandsResponse, PutProductsBrandsResponse, GetProductsCategoriesResponse, PutProductsCategoriesResponse, SearchProductsCategoriesIdosellResponse, GetProductsCodeExistenceResponse, SearchProductsDeliveryTimeResponse, GetProductsDescriptionsResponse, ProductIdentResponse, PutProductsGroupsSettingsResponse, GetProductsIdBySizecodeResponse, PutProductsImagesResponse, GetProductsMarketingPromotionResponse, PostProductsMarketingPromotionResponse, PutProductsMarketingPromotionResponse, GetProductsMarketingZonesResponse, PutProductsMarketingZonesResponse, GetProductsOmnibusPricesResponse, GetProductsOpinionsResponse, PostProductsOpinionsResponse, GetProductsOpinionsRateResponse, PutProductsParametersResponse, SearchProductsParametersResponse, SearchProductsResponse, PostProductsResponse, PutProductsResponse, GetProductsQuestionsResponse, GetProductsReservationsResponse, GetProductsSeriesResponse, PutProductsSeriesResponse, GetProductsSizesResponse, PutProductsSizesResponse, PutProductsStockQuantityResponse, GetProductsStocksResponse, PutProductsStocksResponse, GetProductsStrikethroughPricesResponse, PutProductsSupplierCodeResponse, PutProductsSupplierProductDataResponse, GetResponsibilityEntitiesResponse, PutResponsibilityEntitiesResponse, GetReturnsResponse, PostReturnsResponse, PutReturnsResponse, PutReturnsSerialNumberResponse, GetRmaResponse, PutRmaResponse, GetRmaStatusesResponse, GetShopsCurrenciesResponse, GetShopsLanguagesResponse, GetSizechartsResponse, PutSizechartsResponse, GetSizesResponse, PutSizesResponse, GetSnippetsCampaignResponse, GetSnippetsCookiesResponse, GetSnippetsResponse, GetSystemConfigResponse, GetSystemCurrenciesResponse, PutSystemCurrenciesResponse, GetSystemProcessesAutomationResponse, GetSystemServerLoadResponse, GetSystemServerTimeResponse, GetSystemShopsDataResponse, GetSystemUnitsResponse, PutSystemUnitsResponse, GetSystemUsersResponse, GetVouchersTypesResponse, GetVouchersResponse, GetWarrantiesCountTotalResponse, PutWarrantiesLanguageDataResponse, GetWarrantiesResponse, PutWarrantiesResponse, GetWmsLocationsResponse, GetWmsStocksdocumentsDocumentsResponse, PostWmsStocksdocumentsDocumentsResponse, PutWmsStocksdocumentsDocumentsResponse, GetWmsStocksdocumentsOpenedDocumentsResponse, GetWmsStocksdocumentsProductsResponse, PutWmsStocksdocumentsProductsResponse, GetWmsSuppliersResponse, PutWmsSuppliersResponse } from "./responses.d.ts"
|
|
3
3
|
import type * as RequestParams from "./reqparams.d.ts";
|
|
4
4
|
import * as ENUMS from "./enums";
|
|
5
5
|
|
|
6
|
-
export interface GetClientsBalanceRequest extends PagableGateway<GetClientsBalanceRequest> {
|
|
6
|
+
export interface GetClientsBalanceRequest extends PagableGateway<GetClientsBalanceRequest, GetClientsBalanceResponse> {
|
|
7
7
|
/** Customer Id */
|
|
8
8
|
clientNumbers: (value: number|string|number[]|string[]) => this;
|
|
9
9
|
/** Text search through customer data. */
|
|
@@ -22,7 +22,7 @@ export interface GetClientsBalanceRequest extends PagableGateway<GetClientsBalan
|
|
|
22
22
|
lastPurchased: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export interface PostClientsBalanceRequest extends Gateway {
|
|
25
|
+
export interface PostClientsBalanceRequest extends Gateway<BooleanStatusResponse, RequestParams.PostClientsBalanceParams> {
|
|
26
26
|
/** Unique client's number. */
|
|
27
27
|
clientId: (value: number|string) => this;
|
|
28
28
|
/** Operation: - add, - remove. */
|
|
@@ -139,9 +139,9 @@ export interface PostClientsRequest extends AppendableGateway<PostClientsRequest
|
|
|
139
139
|
block_group_auto_assignment: (block_group_auto_assignment: boolean) => this
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export interface PutClientsRequest extends AppendableGateway<PutClientsRequest> {
|
|
142
|
+
export interface PutClientsRequest extends AppendableGateway<PutClientsRequest, PutClientsResponse, RequestParams.PutClientsParams> {
|
|
143
143
|
/** Customer data. */
|
|
144
|
-
clients: (value:
|
|
144
|
+
clients: (value: RequestParams.PutClientsParams["clients"]) => this;
|
|
145
145
|
/** Customer's login. */
|
|
146
146
|
clientLogin: (clientLogin: string) => this
|
|
147
147
|
/** E-mail address. */
|
|
@@ -185,7 +185,7 @@ export interface PutClientsRequest extends AppendableGateway<PutClientsRequest>
|
|
|
185
185
|
/** External system code. */
|
|
186
186
|
clientCodeExternal: (clientCodeExternal: string) => this
|
|
187
187
|
/** List with delivery dates and times */
|
|
188
|
-
deliveryDates: (deliveryDates:
|
|
188
|
+
deliveryDates: (deliveryDates: RequestParams.PutClientsParams["clients"][number]["deliveryDates"]) => this
|
|
189
189
|
/** Customer account balance in external system. */
|
|
190
190
|
clientBalanceAmountExternal: (clientBalanceAmountExternal: number) => this
|
|
191
191
|
/** Debt limit. */
|
|
@@ -199,9 +199,9 @@ export interface PutClientsRequest extends AppendableGateway<PutClientsRequest>
|
|
|
199
199
|
/** Field used for identifying request-response pairs for the endpoint. */
|
|
200
200
|
requestReference: (requestReference: string) => this
|
|
201
201
|
/** List of shops where a customer agreed or didn't agree to receive email newsletter. */
|
|
202
|
-
newsletterEmailApprovalsData: (newsletterEmailApprovalsData:
|
|
202
|
+
newsletterEmailApprovalsData: (newsletterEmailApprovalsData: RequestParams.PutClientsParams["clients"][number]["newsletterEmailApprovalsData"]) => this
|
|
203
203
|
/** List of shops where a customer agreed or didn't agree to receive sms newsletter. */
|
|
204
|
-
newsletterSmsApprovalsData: (newsletterSmsApprovalsData:
|
|
204
|
+
newsletterSmsApprovalsData: (newsletterSmsApprovalsData: RequestParams.PutClientsParams["clients"][number]["newsletterSmsApprovalsData"]) => this
|
|
205
205
|
/** Is the customer active */
|
|
206
206
|
clientActive: (clientActive: boolean) => this
|
|
207
207
|
/** Number of days to pay for invoice */
|
|
@@ -301,9 +301,9 @@ export interface GetClientsDeliveryAddressRequest extends Gateway<GetClientsDeli
|
|
|
301
301
|
clientLogins: (value: string|string[]) => this;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export interface PostClientsDeliveryAddressRequest extends AppendableGateway<PostClientsDeliveryAddressRequest> {
|
|
304
|
+
export interface PostClientsDeliveryAddressRequest extends AppendableGateway<PostClientsDeliveryAddressRequest, PostClientsDeliveryAddressResponse, RequestParams.PostClientsDeliveryAddressParams> {
|
|
305
305
|
/** Customer data. */
|
|
306
|
-
clients: (value:
|
|
306
|
+
clients: (value: RequestParams.PostClientsDeliveryAddressParams["clients"]) => this;
|
|
307
307
|
/** Customer's login. */
|
|
308
308
|
clientLogin: (clientLogin: string) => this
|
|
309
309
|
/** External system code. */
|
|
@@ -377,9 +377,9 @@ export interface PutClientsExternalCodeRequest extends Gateway {
|
|
|
377
377
|
code_extern: (value: string) => this;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
export interface PutClientsGiftcardsBlockRequest extends AppendableGateway<PutClientsGiftcardsBlockRequest> {
|
|
380
|
+
export interface PutClientsGiftcardsBlockRequest extends AppendableGateway<PutClientsGiftcardsBlockRequest, VouchersResponse, RequestParams.PutClientsGiftcardsBlockParams> {
|
|
381
381
|
/** List of gift cards */
|
|
382
|
-
giftCards: (value:
|
|
382
|
+
giftCards: (value: RequestParams.PutClientsGiftcardsBlockParams["giftCards"]) => this;
|
|
383
383
|
/** Card ID */
|
|
384
384
|
id: (id: number|string) => this
|
|
385
385
|
/** Card number */
|
|
@@ -395,9 +395,9 @@ export interface DeleteClientsGiftcardsRequest extends AppendableGateway<DeleteC
|
|
|
395
395
|
number: (number: string) => this
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClientsGiftcardsRequest> {
|
|
398
|
+
export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClientsGiftcardsRequest, VouchersResponse, RequestParams.PostClientsGiftcardsParams> {
|
|
399
399
|
/** List of cards to add */
|
|
400
|
-
giftCards: (value:
|
|
400
|
+
giftCards: (value: RequestParams.PostClientsGiftcardsParams["giftCards"]) => this;
|
|
401
401
|
/** Gift card type id */
|
|
402
402
|
typeId: (typeId: number|string) => this
|
|
403
403
|
/** Card number */
|
|
@@ -409,16 +409,16 @@ export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClien
|
|
|
409
409
|
/** Card expiration date */
|
|
410
410
|
expirationDate: (expirationDate: string) => this
|
|
411
411
|
/** Card balance */
|
|
412
|
-
balance: (balance:
|
|
412
|
+
balance: (balance: RequestParams.PostClientsGiftcardsParams["giftCards"][number]["balance"]) => this
|
|
413
413
|
/** List of shops the card is active in */
|
|
414
414
|
shops: (shops: number|string|number[]|string[]) => this
|
|
415
415
|
/** */
|
|
416
416
|
note: (note: string) => this
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClientsGiftcardsRequest> {
|
|
419
|
+
export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClientsGiftcardsRequest, PutVouchersResponse, RequestParams.PutClientsGiftcardsParams> {
|
|
420
420
|
/** List of cards to edit */
|
|
421
|
-
giftCards: (value:
|
|
421
|
+
giftCards: (value: RequestParams.PutClientsGiftcardsParams["giftCards"]) => this;
|
|
422
422
|
/** Card ID */
|
|
423
423
|
id: (id: number|string) => this
|
|
424
424
|
/** Card number */
|
|
@@ -432,7 +432,7 @@ export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClients
|
|
|
432
432
|
/** Balance operation type, possible values: - set - balance positioning of funds, - add - add funds to balance, - subtract - subtract funds from balance. */
|
|
433
433
|
balanceOperationType: (balanceOperationType: 'set'|'add'|'subtract') => this
|
|
434
434
|
/** Card balance */
|
|
435
|
-
balance: (balance:
|
|
435
|
+
balance: (balance: RequestParams.PutClientsGiftcardsParams["giftCards"][number]["balance"]) => this
|
|
436
436
|
/** List of shops the card is active in */
|
|
437
437
|
shops: (shops: number|string|number[]|string[]) => this
|
|
438
438
|
/** */
|
|
@@ -458,35 +458,35 @@ export interface SearchClientsGiftcardsRequest extends Gateway<SearchClientsGift
|
|
|
458
458
|
pins: (values: number|string|number[]|string[]) => this;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
export interface GetClientsGiftcardsTypesRequest extends PagableGateway<GetClientsGiftcardsTypesRequest> {
|
|
461
|
+
export interface GetClientsGiftcardsTypesRequest extends PagableGateway<GetClientsGiftcardsTypesRequest, GetClientsGiftcardsTypesResponse> {
|
|
462
462
|
/** Page with results number. Numeration starts from 0 */
|
|
463
463
|
resultsPage: (value: number|string) => this;
|
|
464
464
|
/** Number of results on page. Value from 1 to 100 */
|
|
465
465
|
resultsLimit: (value: number|string) => this;
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
-
export interface PutClientsGiftcardsUnblockRequest extends AppendableGateway<PutClientsGiftcardsUnblockRequest> {
|
|
468
|
+
export interface PutClientsGiftcardsUnblockRequest extends AppendableGateway<PutClientsGiftcardsUnblockRequest, VouchersResponse, RequestParams.PutClientsGiftcardsUnblockParams> {
|
|
469
469
|
/** List of gift cards */
|
|
470
|
-
giftCards: (value:
|
|
470
|
+
giftCards: (value: RequestParams.PutClientsGiftcardsUnblockParams["giftCards"]) => this;
|
|
471
471
|
/** Card ID */
|
|
472
472
|
id: (id: number|string) => this
|
|
473
473
|
/** Card number */
|
|
474
474
|
number: (number: string) => this
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
-
export interface GetClientsMembershipCardsRequest extends Gateway {
|
|
477
|
+
export interface GetClientsMembershipCardsRequest extends Gateway<GetClientsMembershipCardsResponse> {
|
|
478
478
|
/** Customer ID. */
|
|
479
479
|
id: (value: number|string) => this;
|
|
480
480
|
/** Customer's login. */
|
|
481
481
|
login: (value: string) => this;
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
export interface PutClientsMembershipCardsRequest extends AppendableGateway<PutClientsMembershipCardsRequest> {
|
|
484
|
+
export interface PutClientsMembershipCardsRequest extends AppendableGateway<PutClientsMembershipCardsRequest, PutClientsMembershipCardsResponse, RequestParams.PutClientsMembershipCardsParams> {
|
|
485
485
|
/** Customer ID. */
|
|
486
486
|
id: (value: number|string) => this;
|
|
487
487
|
/** Customer's login. */
|
|
488
488
|
login: (value: string) => this;
|
|
489
|
-
membership_cards: (value:
|
|
489
|
+
membership_cards: (value: RequestParams.PutClientsMembershipCardsParams["membership_cards"]) => this;
|
|
490
490
|
/** Card ID entered by customer. */
|
|
491
491
|
ordinal_number: (ordinal_number: number|string) => this
|
|
492
492
|
/** Card ID. */
|
|
@@ -502,7 +502,7 @@ export interface PutClientsMembershipCardsRequest extends AppendableGateway<PutC
|
|
|
502
502
|
/** Flag that determines whether a discount group should be set. */
|
|
503
503
|
set_rebate_group: (set_rebate_group: boolean) => this
|
|
504
504
|
/** Information on error that occurred during gate call. */
|
|
505
|
-
errors: (errors:
|
|
505
|
+
errors: (errors: RequestParams.PutClientsMembershipCardsParams["membership_cards"][number]["errors"]) => this
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
export interface SearchClientsNewsletterEmailRequest extends PagableGateway<SearchClientsNewsletterEmailRequest, SearchClientsNewsletterEmailResponse, RequestParams.SearchClientsNewsletterEmailParams> {
|
|
@@ -552,8 +552,8 @@ export interface GetClientsPayerAddressRequest extends PagableGateway<GetClients
|
|
|
552
552
|
resultsLimit: (value: number|string) => this;
|
|
553
553
|
}
|
|
554
554
|
|
|
555
|
-
export interface PostClientsPayerAddressRequest extends AppendableGateway<PostClientsPayerAddressRequest> {
|
|
556
|
-
payers: (value:
|
|
555
|
+
export interface PostClientsPayerAddressRequest extends AppendableGateway<PostClientsPayerAddressRequest, PostClientsPayerAddressResponse, RequestParams.PostClientsPayerAddressParams> {
|
|
556
|
+
payers: (value: RequestParams.PostClientsPayerAddressParams["payers"]) => this;
|
|
557
557
|
/** Unique client's number. */
|
|
558
558
|
clientId: (clientId: number|string) => this
|
|
559
559
|
/** Buyer's first name. */
|
|
@@ -576,8 +576,8 @@ export interface PostClientsPayerAddressRequest extends AppendableGateway<PostCl
|
|
|
576
576
|
payerAddressPhone: (payerAddressPhone: string) => this
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
export interface PutClientsPayerAddressRequest extends AppendableGateway<PutClientsPayerAddressRequest> {
|
|
580
|
-
payers: (value:
|
|
579
|
+
export interface PutClientsPayerAddressRequest extends AppendableGateway<PutClientsPayerAddressRequest, PutClientsPayerAddressResponse, RequestParams.PutClientsPayerAddressParams> {
|
|
580
|
+
payers: (value: RequestParams.PutClientsPayerAddressParams["payers"]) => this;
|
|
581
581
|
/** Unique client's number. */
|
|
582
582
|
clientId: (clientId: string) => this
|
|
583
583
|
/** Buyer's address id. */
|
|
@@ -602,12 +602,12 @@ export interface PutClientsPayerAddressRequest extends AppendableGateway<PutClie
|
|
|
602
602
|
payerAddressPhone: (payerAddressPhone: string) => this
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
-
export interface GetClientsPricelistsClientsRequest extends Gateway {
|
|
605
|
+
export interface GetClientsPricelistsClientsRequest extends Gateway<GetClientsPricelistsClientsResponse> {
|
|
606
606
|
/** Individual price list ID. */
|
|
607
607
|
priceListId: (value: number|string) => this;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
export interface PutClientsPricelistsClientsRequest extends Gateway {
|
|
610
|
+
export interface PutClientsPricelistsClientsRequest extends Gateway<PutClientsPricelistsClientsResponse, RequestParams.PutClientsPricelistsClientsParams> {
|
|
611
611
|
/** Individual price list ID. */
|
|
612
612
|
priceListId: (value: number|string) => this;
|
|
613
613
|
/** Customer numbers. */
|
|
@@ -619,7 +619,7 @@ export interface DeleteClientsPricelistsRequest extends Gateway {
|
|
|
619
619
|
priceListId: (value: number|string) => this;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
export interface GetClientsPricelistsRequest extends PagableGateway<GetClientsPricelistsRequest> {
|
|
622
|
+
export interface GetClientsPricelistsRequest extends PagableGateway<GetClientsPricelistsRequest, GetClientsPricelistsResponse> {
|
|
623
623
|
/** List of individual price lists. */
|
|
624
624
|
priceListIds: (value: number|string|number[]|string[]) => this;
|
|
625
625
|
/** Elements to be returned by the endpoint. By default all elements are returned. Available elements: - priceListId - priceListName - onlyOrderProductsWithManuallySetPrices - onlySeeProductsWithManuallySetPrices */
|
|
@@ -630,7 +630,7 @@ export interface GetClientsPricelistsRequest extends PagableGateway<GetClientsPr
|
|
|
630
630
|
resultsLimit: (value: number|string) => this;
|
|
631
631
|
}
|
|
632
632
|
|
|
633
|
-
export interface PostClientsPricelistsRequest extends Gateway {
|
|
633
|
+
export interface PostClientsPricelistsRequest extends Gateway<PostClientsPricelistsResponse, RequestParams.PostClientsPricelistsParams> {
|
|
634
634
|
/** Name of individual price list. */
|
|
635
635
|
priceListName: (value: string) => this;
|
|
636
636
|
/** Restrict visibility to products listed in price list (other products will remain hidden) - yes - no */
|
|
@@ -650,7 +650,7 @@ export interface PutClientsPricelistsRequest extends Gateway {
|
|
|
650
650
|
onlySeeProductsWithManuallySetPrices: (value: 'yes'|'no') => this;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
|
-
export interface GetClientsPricelistsProductsRequest extends PagableGateway<GetClientsPricelistsProductsRequest> {
|
|
653
|
+
export interface GetClientsPricelistsProductsRequest extends PagableGateway<GetClientsPricelistsProductsRequest, GetClientsPricelistsProductsResponse> {
|
|
654
654
|
/** Individual price list ID. */
|
|
655
655
|
priceListId: (value: number|string) => this;
|
|
656
656
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -659,18 +659,18 @@ export interface GetClientsPricelistsProductsRequest extends PagableGateway<GetC
|
|
|
659
659
|
resultsLimit: (value: number|string) => this;
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
export interface PutClientsPricelistsProductsRequest extends Gateway {
|
|
662
|
+
export interface PutClientsPricelistsProductsRequest extends Gateway<PutClientsPricelistsProductsResponse, RequestParams.PutClientsPricelistsProductsParams> {
|
|
663
663
|
/** Individual price list ID. */
|
|
664
664
|
priceListId: (value: number|string) => this;
|
|
665
665
|
/** Products list. */
|
|
666
|
-
products: (value:
|
|
666
|
+
products: (value: RequestParams.PutClientsPricelistsProductsParams["products"]) => this;
|
|
667
667
|
/** List of manufacturers assigned to sought products. */
|
|
668
|
-
producers: (value:
|
|
668
|
+
producers: (value: RequestParams.PutClientsPricelistsProductsParams["producers"]) => this;
|
|
669
669
|
/** Series list. */
|
|
670
|
-
series: (value:
|
|
670
|
+
series: (value: RequestParams.PutClientsPricelistsProductsParams["series"]) => this;
|
|
671
671
|
/** List of categories in which sought products are present. */
|
|
672
|
-
categories: (value:
|
|
673
|
-
menuItems: (value:
|
|
672
|
+
categories: (value: RequestParams.PutClientsPricelistsProductsParams["categories"]) => this;
|
|
673
|
+
menuItems: (value: RequestParams.PutClientsPricelistsProductsParams["menuItems"]) => this;
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
export interface PutClientsPricelistsRenameRequest extends Gateway {
|
|
@@ -680,9 +680,9 @@ export interface PutClientsPricelistsRenameRequest extends Gateway {
|
|
|
680
680
|
priceListId: (value: number|string) => this;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
-
export interface GetClientsPricesActiveCardRequest extends Gateway {}
|
|
683
|
+
export interface GetClientsPricesActiveCardRequest extends Gateway<GetClientsPricesActiveCardResponse> {}
|
|
684
684
|
|
|
685
|
-
export interface GetClientsPricesDiscountGroupsRequest extends PagableGateway<GetClientsPricesDiscountGroupsRequest> {
|
|
685
|
+
export interface GetClientsPricesDiscountGroupsRequest extends PagableGateway<GetClientsPricesDiscountGroupsRequest, GetClientsPricesDiscountGroupsResponse> {
|
|
686
686
|
/** Customer groups. */
|
|
687
687
|
clientDiscountGroupsNumbers: (value: number|string|number[]|string[]) => this;
|
|
688
688
|
/** Elements to be returned by the endpoint. By default all elements are returned. Available elements: - clientDiscountGroupNumber - clientDiscountGroupIsCombined - clientDiscountGroupType - clientDiscountGroupValue - clientDiscountGroupName */
|
|
@@ -693,7 +693,7 @@ export interface GetClientsPricesDiscountGroupsRequest extends PagableGateway<Ge
|
|
|
693
693
|
resultsLimit: (value: number|string) => this;
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
export interface GetClientsPricesDiscountsRequest extends PagableGateway<GetClientsPricesDiscountsRequest> {
|
|
696
|
+
export interface GetClientsPricesDiscountsRequest extends PagableGateway<GetClientsPricesDiscountsRequest, GetClientsPricesDiscountsResponse> {
|
|
697
697
|
/** Customer numbers. */
|
|
698
698
|
clientsIds: (value: number|string|number[]|string[]) => this;
|
|
699
699
|
/** Text search through customer data. */
|
|
@@ -714,13 +714,13 @@ export interface GetClientsPricesDiscountsRequest extends PagableGateway<GetClie
|
|
|
714
714
|
lastPurchased: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
715
715
|
}
|
|
716
716
|
|
|
717
|
-
export interface PutClientsPricesDiscountsRequest extends AppendableGateway<PutClientsPricesDiscountsRequest> {
|
|
718
|
-
customers: (value:
|
|
717
|
+
export interface PutClientsPricesDiscountsRequest extends AppendableGateway<PutClientsPricesDiscountsRequest, PutClientsPricesDiscountsResponse, RequestParams.PutClientsPricesDiscountsParams> {
|
|
718
|
+
customers: (value: RequestParams.PutClientsPricesDiscountsParams["customers"]) => this;
|
|
719
719
|
/** Discount type, possible values: - simple */
|
|
720
720
|
discount_type: (value: string) => this;
|
|
721
721
|
/** 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 */
|
|
722
722
|
discount_operating: (value: string) => this;
|
|
723
|
-
discount_parameters: (value:
|
|
723
|
+
discount_parameters: (value: RequestParams.PutClientsPricesDiscountsParams["discount_parameters"]) => this;
|
|
724
724
|
/** Parameter type. - DEPRECATED */
|
|
725
725
|
parameter_type: (parameter_type: string) => this
|
|
726
726
|
/** Parameter text ID. - DEPRECATED */
|
|
@@ -729,7 +729,7 @@ export interface PutClientsPricesDiscountsRequest extends AppendableGateway<PutC
|
|
|
729
729
|
discount_value: (discount_value: number) => this
|
|
730
730
|
}
|
|
731
731
|
|
|
732
|
-
export interface GetClientsProfitPointsRequest extends PagableGateway<GetClientsProfitPointsRequest> {
|
|
732
|
+
export interface GetClientsProfitPointsRequest extends PagableGateway<GetClientsProfitPointsRequest, GetClientsProfitPointsResponse> {
|
|
733
733
|
/** Customer numbers. */
|
|
734
734
|
clientsIds: (value: number|string|number[]|string[]) => this;
|
|
735
735
|
/** Text search through customer data. */
|
|
@@ -752,7 +752,7 @@ export interface GetClientsProfitPointsRequest extends PagableGateway<GetClients
|
|
|
752
752
|
lastPurchased: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
-
export interface PostClientsProfitPointsRequest extends Gateway {
|
|
755
|
+
export interface PostClientsProfitPointsRequest extends Gateway<BooleanStatusResponse, RequestParams.PostClientsProfitPointsParams> {
|
|
756
756
|
client_id: (value: number|string) => this;
|
|
757
757
|
/** Operation: - add, - remove. */
|
|
758
758
|
operation: (value: string) => this;
|
|
@@ -763,7 +763,7 @@ export interface PostClientsProfitPointsRequest extends Gateway {
|
|
|
763
763
|
order_number: (value: number|string) => this;
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
-
export interface GetClientsProvinceListRequest extends Gateway {
|
|
766
|
+
export interface GetClientsProvinceListRequest extends Gateway<GetClientsProvinceListResponse> {
|
|
767
767
|
/** Country code in ISO 3166-1 standard. */
|
|
768
768
|
country_code: (value: string) => this;
|
|
769
769
|
}
|
|
@@ -787,14 +787,14 @@ export interface DeleteClientsTagsRequest extends AppendableGateway<DeleteClient
|
|
|
787
787
|
tagId: (tagId: number|string) => this
|
|
788
788
|
}
|
|
789
789
|
|
|
790
|
-
export interface GetClientsTagsRequest extends Gateway {
|
|
790
|
+
export interface GetClientsTagsRequest extends Gateway<GetClientsTagsResponse> {
|
|
791
791
|
/** Unique client's number. */
|
|
792
792
|
clientId: (value: number|string) => this;
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
-
export interface PostClientsTagsRequest extends AppendableGateway<PostClientsTagsRequest> {
|
|
795
|
+
export interface PostClientsTagsRequest extends AppendableGateway<PostClientsTagsRequest, PostClientsTagsResponse, RequestParams.PostClientsTagsParams> {
|
|
796
796
|
/** Parameters transmitted to method */
|
|
797
|
-
params: (value:
|
|
797
|
+
params: (value: RequestParams.PostClientsTagsParams["params"]) => this;
|
|
798
798
|
/** Unique client's number. */
|
|
799
799
|
clientId: (clientId: number|string) => this
|
|
800
800
|
/** Tag name. */
|
|
@@ -803,10 +803,10 @@ export interface PostClientsTagsRequest extends AppendableGateway<PostClientsTag
|
|
|
803
803
|
tagValue: (tagValue: number|string) => this
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
export interface PutClientsTagsRequest extends AppendableGateway<PutClientsTagsRequest> {
|
|
806
|
+
export interface PutClientsTagsRequest extends AppendableGateway<PutClientsTagsRequest, PutClientsTagsResponse, RequestParams.PutClientsTagsParams> {
|
|
807
807
|
/** Unique client's number. */
|
|
808
808
|
clientId: (value: number|string) => this;
|
|
809
|
-
clientTags: (value:
|
|
809
|
+
clientTags: (value: RequestParams.PutClientsTagsParams["clientTags"]) => this;
|
|
810
810
|
/** Tag ID. */
|
|
811
811
|
tagId: (tagId: number|string) => this
|
|
812
812
|
/** */
|
|
@@ -828,8 +828,8 @@ export interface GetConfigVariablesRequest extends PagableGateway<GetConfigVaria
|
|
|
828
828
|
resultsLimit: (value: number|string) => this;
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
export interface PutConfigVariablesRequest extends AppendableGateway<PutConfigVariablesRequest> {
|
|
832
|
-
variables: (value:
|
|
831
|
+
export interface PutConfigVariablesRequest extends AppendableGateway<PutConfigVariablesRequest, PutConfigVariablesResponse, RequestParams.PutConfigVariablesParams> {
|
|
832
|
+
variables: (value: RequestParams.PutConfigVariablesParams["variables"]) => this;
|
|
833
833
|
/** Key of config value. */
|
|
834
834
|
key: (key: string) => this
|
|
835
835
|
/** Value of config item. */
|
|
@@ -851,7 +851,7 @@ export interface DeleteConfigVariablesRequest extends Gateway {
|
|
|
851
851
|
|
|
852
852
|
export interface GetCouriersAssignedToShippingProfilesRequest extends Gateway<GetCouriersAssignedToShippingProfilesResponse> {}
|
|
853
853
|
|
|
854
|
-
export interface GetCouriersRequest extends PagableGateway<GetCouriersRequest> {
|
|
854
|
+
export interface GetCouriersRequest extends PagableGateway<GetCouriersRequest, GetCouriersResponse> {
|
|
855
855
|
/** Country code in ISO 3166-1 standard. */
|
|
856
856
|
countryCode: (value: string) => this;
|
|
857
857
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -883,7 +883,7 @@ export interface GetCouriersPickupPointsRequest extends PagableGateway<GetCourie
|
|
|
883
883
|
resultsLimit: (value: number|string) => this;
|
|
884
884
|
}
|
|
885
885
|
|
|
886
|
-
export interface PostCouriersPickupPointsRequest extends AppendableGateway<PostCouriersPickupPointsRequest,
|
|
886
|
+
export interface PostCouriersPickupPointsRequest extends AppendableGateway<PostCouriersPickupPointsRequest, PutCouriersPickupPointsResponse, RequestParams.PostCouriersPickupPointsParams> {
|
|
887
887
|
pickupPoints: (value: RequestParams.PostCouriersPickupPointsParams["pickupPoints"]) => this;
|
|
888
888
|
/** external system code. */
|
|
889
889
|
pickupPointExternalId: (pickupPointExternalId: string) => this
|
|
@@ -925,7 +925,7 @@ export interface PutCouriersPickupPointsRequest extends AppendableGateway<PutCou
|
|
|
925
925
|
operatingDays: (operatingDays: RequestParams.PutCouriersPickupPointsParams["pickupPoints"][number]["operatingDays"]) => this
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
export interface GetCpaCampaignRequest extends PagableGateway<GetCpaCampaignRequest> {
|
|
928
|
+
export interface GetCpaCampaignRequest extends PagableGateway<GetCpaCampaignRequest, GetCpaCampaignResponse> {
|
|
929
929
|
/** List of shop identifiers */
|
|
930
930
|
shopId: (value: number|string|number[]|string[]) => this;
|
|
931
931
|
/** List of identifiers */
|
|
@@ -936,8 +936,8 @@ export interface GetCpaCampaignRequest extends PagableGateway<GetCpaCampaignRequ
|
|
|
936
936
|
resultsLimit: (value: number|string) => this;
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
export interface PostCpaCampaignRequest extends AppendableGateway<PostCpaCampaignRequest> {
|
|
940
|
-
campaigns: (value:
|
|
939
|
+
export interface PostCpaCampaignRequest extends AppendableGateway<PostCpaCampaignRequest, CmsCampaignResponse, RequestParams.PostCpaCampaignParams> {
|
|
940
|
+
campaigns: (value: RequestParams.PostCpaCampaignParams["campaigns"]) => this;
|
|
941
941
|
/** undefined */
|
|
942
942
|
id: (id: number|string) => this
|
|
943
943
|
/** Snippet campaign name */
|
|
@@ -950,8 +950,8 @@ export interface PostCpaCampaignRequest extends AppendableGateway<PostCpaCampaig
|
|
|
950
950
|
active: (active: 'y'|'n') => this
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
-
export interface PutCpaCampaignRequest extends AppendableGateway<PutCpaCampaignRequest> {
|
|
954
|
-
campaigns: (value:
|
|
953
|
+
export interface PutCpaCampaignRequest extends AppendableGateway<PutCpaCampaignRequest, CmsResponse, RequestParams.PutCpaCampaignParams> {
|
|
954
|
+
campaigns: (value: RequestParams.PutCpaCampaignParams["campaigns"]) => this;
|
|
955
955
|
/** Snippet campaign id */
|
|
956
956
|
id: (id: number|string) => this
|
|
957
957
|
/** Snippet campaign name */
|
|
@@ -980,8 +980,8 @@ export interface GetCpaRequest extends PagableGateway<GetCpaRequest, GetCpaRespo
|
|
|
980
980
|
resultsLimit: (value: number|string) => this;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
export interface PostCpaRequest extends AppendableGateway<PostCpaRequest> {
|
|
984
|
-
cpa: (value:
|
|
983
|
+
export interface PostCpaRequest extends AppendableGateway<PostCpaRequest, CmsResponse, RequestParams.PostCpaParams> {
|
|
984
|
+
cpa: (value: RequestParams.PostCpaParams["cpa"]) => this;
|
|
985
985
|
/** undefined */
|
|
986
986
|
id: (id: number|string) => this
|
|
987
987
|
/** The CPA program name. */
|
|
@@ -991,17 +991,17 @@ export interface PostCpaRequest extends AppendableGateway<PostCpaRequest> {
|
|
|
991
991
|
/** CPA campaign id */
|
|
992
992
|
campaign: (campaign: number|string) => this
|
|
993
993
|
/** CPA program page settings simple or advanced, depending on the mode. */
|
|
994
|
-
pageSettings: (pageSettings:
|
|
994
|
+
pageSettings: (pageSettings: RequestParams.PostCpaParams["cpa"][number]["pageSettings"]) => this
|
|
995
995
|
/** undefined */
|
|
996
|
-
display: (display:
|
|
996
|
+
display: (display: RequestParams.PostCpaParams["cpa"][number]["display"]) => this
|
|
997
997
|
/** Snippet entry source filter. */
|
|
998
|
-
sources: (sources:
|
|
998
|
+
sources: (sources: RequestParams.PostCpaParams["cpa"][number]["sources"]) => this
|
|
999
999
|
/** List of variables that can be used in a body template. */
|
|
1000
|
-
variables: (variables:
|
|
1000
|
+
variables: (variables: RequestParams.PostCpaParams["cpa"][number]["variables"]) => this
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
export interface PutCpaRequest extends AppendableGateway<PutCpaRequest> {
|
|
1004
|
-
cpa: (value:
|
|
1003
|
+
export interface PutCpaRequest extends AppendableGateway<PutCpaRequest, CmsResponse, RequestParams.PutCpaParams> {
|
|
1004
|
+
cpa: (value: RequestParams.PutCpaParams["cpa"]) => this;
|
|
1005
1005
|
/** undefined */
|
|
1006
1006
|
id: (id: number|string) => this
|
|
1007
1007
|
/** The CPA program name. */
|
|
@@ -1011,13 +1011,13 @@ export interface PutCpaRequest extends AppendableGateway<PutCpaRequest> {
|
|
|
1011
1011
|
/** CPA campaign id */
|
|
1012
1012
|
campaign: (campaign: number|string) => this
|
|
1013
1013
|
/** CPA program page settings simple or advanced, depending on the mode. */
|
|
1014
|
-
pageSettings: (pageSettings:
|
|
1014
|
+
pageSettings: (pageSettings: RequestParams.PutCpaParams["cpa"][number]["pageSettings"]) => this
|
|
1015
1015
|
/** undefined */
|
|
1016
|
-
display: (display:
|
|
1016
|
+
display: (display: RequestParams.PutCpaParams["cpa"][number]["display"]) => this
|
|
1017
1017
|
/** Snippet entry source filter. */
|
|
1018
|
-
sources: (sources:
|
|
1018
|
+
sources: (sources: RequestParams.PutCpaParams["cpa"][number]["sources"]) => this
|
|
1019
1019
|
/** List of variables that can be used in a body template. */
|
|
1020
|
-
variables: (variables:
|
|
1020
|
+
variables: (variables: RequestParams.PutCpaParams["cpa"][number]["variables"]) => this
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
1023
|
export interface DeleteCpaRequest extends Gateway {
|
|
@@ -1036,19 +1036,19 @@ export interface PutDeliveriesDefaultProfilesRequest extends Gateway {
|
|
|
1036
1036
|
wholesaleProfileId: (value: number|string) => this;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
|
-
export interface GetDeliveriesProfilesRequest extends PagableGateway<GetDeliveriesProfilesRequest> {
|
|
1039
|
+
export interface GetDeliveriesProfilesRequest extends PagableGateway<GetDeliveriesProfilesRequest, GetDeliveriesProfilesResponse> {
|
|
1040
1040
|
/** Page with results number. Numeration starts from 0 */
|
|
1041
1041
|
resultsPage: (value: number|string) => this;
|
|
1042
1042
|
/** Number of results on page. Value from 1 to 100 */
|
|
1043
1043
|
resultsLimit: (value: number|string) => this;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
-
export interface GetDeliveriesRegionsRequest extends Gateway {
|
|
1046
|
+
export interface GetDeliveriesRegionsRequest extends Gateway<GetDeliveriesRegionsResponse> {
|
|
1047
1047
|
/** Shop Id */
|
|
1048
1048
|
shopId: (value: number|string) => this;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
-
export interface PostDeliveriesRegionsRequest extends Gateway {
|
|
1051
|
+
export interface PostDeliveriesRegionsRequest extends Gateway<PostDeliveriesRegionsResponse, RequestParams.PostDeliveriesRegionsParams> {
|
|
1052
1052
|
/** Name of the region in the panel */
|
|
1053
1053
|
regionName: (value: string) => this;
|
|
1054
1054
|
/** Shop Id */
|
|
@@ -1061,7 +1061,7 @@ export interface PostDeliveriesRegionsRequest extends Gateway {
|
|
|
1061
1061
|
parentRegionId: (value: number|string) => this;
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
|
-
export interface GetDiscountsGroupsClientsRequest extends Gateway {
|
|
1064
|
+
export interface GetDiscountsGroupsClientsRequest extends Gateway<GetDiscountsGroupsClientsResponse> {
|
|
1065
1065
|
/** Discount group ID */
|
|
1066
1066
|
discountGroupId: (value: number|string) => this;
|
|
1067
1067
|
}
|
|
@@ -1071,7 +1071,7 @@ export interface DeleteDiscountsGroupsRequest extends Gateway {
|
|
|
1071
1071
|
discountGroupId: (value: number|string) => this;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
|
-
export interface GetDiscountsGroupsRequest extends PagableGateway<GetDiscountsGroupsRequest> {
|
|
1074
|
+
export interface GetDiscountsGroupsRequest extends PagableGateway<GetDiscountsGroupsRequest, GetDiscountsGroupsResponse> {
|
|
1075
1075
|
groupNumbers: (value: number|string|number[]|string[]) => this;
|
|
1076
1076
|
/** Elements to be returned by the endpoint. By default all elements are returned. Available elements: - groupNumber - groupCombined - groupType - groupRebate - groupName */
|
|
1077
1077
|
returnElements: (value: string|string[]) => this;
|
|
@@ -1081,7 +1081,7 @@ export interface GetDiscountsGroupsRequest extends PagableGateway<GetDiscountsGr
|
|
|
1081
1081
|
resultsLimit: (value: number|string) => this;
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
-
export interface PostDiscountsGroupsRequest extends Gateway {
|
|
1084
|
+
export interface PostDiscountsGroupsRequest extends Gateway<PostDiscountsGroupsResponse, RequestParams.PostDiscountsGroupsParams> {
|
|
1085
1085
|
/** Discount group name */
|
|
1086
1086
|
discountGroupName: (value: string) => this;
|
|
1087
1087
|
}
|
|
@@ -1112,15 +1112,15 @@ export interface PutDiscountsGroupsProductsRequest extends Gateway {
|
|
|
1112
1112
|
/** Discount group ID */
|
|
1113
1113
|
discountGroupId: (value: number|string) => this;
|
|
1114
1114
|
/** Products list. */
|
|
1115
|
-
products: (value:
|
|
1115
|
+
products: (value: RequestParams.PutDiscountsGroupsProductsParams["products"]) => this;
|
|
1116
1116
|
/** Brands */
|
|
1117
|
-
producers: (value:
|
|
1117
|
+
producers: (value: RequestParams.PutDiscountsGroupsProductsParams["producers"]) => this;
|
|
1118
1118
|
/** Series */
|
|
1119
|
-
series: (value:
|
|
1119
|
+
series: (value: RequestParams.PutDiscountsGroupsProductsParams["series"]) => this;
|
|
1120
1120
|
/** List of categories in which sought products are present. */
|
|
1121
|
-
categories: (value:
|
|
1121
|
+
categories: (value: RequestParams.PutDiscountsGroupsProductsParams["categories"]) => this;
|
|
1122
1122
|
/** Menu elements */
|
|
1123
|
-
menuItems: (value:
|
|
1123
|
+
menuItems: (value: RequestParams.PutDiscountsGroupsProductsParams["menuItems"]) => this;
|
|
1124
1124
|
}
|
|
1125
1125
|
|
|
1126
1126
|
export interface PutDiscountsRebatesBlockCardRequest extends Gateway {
|
|
@@ -1169,7 +1169,7 @@ export interface GetEntriesRequest extends Gateway<GetEntriesResponse> {
|
|
|
1169
1169
|
langId: (value: string) => this;
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
|
-
export interface PostEntriesRequest extends AppendableGateway<PostEntriesRequest> {
|
|
1172
|
+
export interface PostEntriesRequest extends AppendableGateway<PostEntriesRequest, PostEntriesResponse, RequestParams.PostEntriesParams> {
|
|
1173
1173
|
/** Shop Id */
|
|
1174
1174
|
shopId: (value: number|string) => this;
|
|
1175
1175
|
/** Date of creating an entry */
|
|
@@ -1177,13 +1177,13 @@ export interface PostEntriesRequest extends AppendableGateway<PostEntriesRequest
|
|
|
1177
1177
|
/** Entry visibility */
|
|
1178
1178
|
visible: (value: 'y'|'n') => this;
|
|
1179
1179
|
/** List of pages on which the entry is to be published */
|
|
1180
|
-
visibleOnSitesList: (value:
|
|
1180
|
+
visibleOnSitesList: (value: RequestParams.PostEntriesParams["visibleOnSitesList"]) => this;
|
|
1181
1181
|
/** Products list. */
|
|
1182
|
-
products: (value:
|
|
1182
|
+
products: (value: RequestParams.PostEntriesParams["products"]) => this;
|
|
1183
1183
|
/** Photo */
|
|
1184
|
-
pictureData: (value:
|
|
1184
|
+
pictureData: (value: RequestParams.PostEntriesParams["pictureData"]) => this;
|
|
1185
1185
|
/** Element including entry content in selected languages */
|
|
1186
|
-
langs: (value:
|
|
1186
|
+
langs: (value: RequestParams.PostEntriesParams["langs"]) => this;
|
|
1187
1187
|
/** Type of title and shortcut linking: fullContentLink - link to the subpage with full content, givenUrlLink - link to the given URL, noLink - static element */
|
|
1188
1188
|
titleLinkType: (value: 'fullContentLink'|'givenUrlLink'|'noLink') => this;
|
|
1189
1189
|
/** Provided URL (for link to specified URL option) */
|
|
@@ -1216,15 +1216,15 @@ export interface PutEntriesRequest extends Gateway {
|
|
|
1216
1216
|
/** Entry visibility */
|
|
1217
1217
|
visible: (value: 'y'|'n') => this;
|
|
1218
1218
|
/** List of pages on which the entry is to be published */
|
|
1219
|
-
visibleOnSitesList: (value:
|
|
1219
|
+
visibleOnSitesList: (value: RequestParams.PutEntriesParams["visibleOnSitesList"]) => this;
|
|
1220
1220
|
/** Products list. */
|
|
1221
|
-
products: (value:
|
|
1221
|
+
products: (value: RequestParams.PutEntriesParams["products"]) => this;
|
|
1222
1222
|
/** Photo */
|
|
1223
|
-
pictureData: (value:
|
|
1223
|
+
pictureData: (value: RequestParams.PutEntriesParams["pictureData"]) => this;
|
|
1224
1224
|
/** Determines whether to delete an entry photo */
|
|
1225
1225
|
deletePicture: (value: 'y'|'n') => this;
|
|
1226
1226
|
/** Element including entry content in selected languages */
|
|
1227
|
-
langs: (value:
|
|
1227
|
+
langs: (value: RequestParams.PutEntriesParams["langs"]) => this;
|
|
1228
1228
|
/** Type of title and shortcut linking: fullContentLink - link to the subpage with full content, givenUrlLink - link to the given URL, noLink - static element */
|
|
1229
1229
|
titleLinkType: (value: 'fullContentLink'|'givenUrlLink'|'noLink') => this;
|
|
1230
1230
|
/** Provided URL (for link to specified URL option) */
|
|
@@ -1236,7 +1236,7 @@ export interface GetEntriesPagesToDisplayRequest extends Gateway<GetEntriesPages
|
|
|
1236
1236
|
langId: (value: string) => this;
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
|
-
export interface GetEntriesSourcesRequest extends Gateway {
|
|
1239
|
+
export interface GetEntriesSourcesRequest extends Gateway<GetEntriesSourcesResponse> {
|
|
1240
1240
|
/** The type of source for which we want to get service identifiers */
|
|
1241
1241
|
type: (value: string|string[]) => this;
|
|
1242
1242
|
}
|
|
@@ -1338,10 +1338,10 @@ export interface PutMenuRequest extends AppendableGateway<PutMenuRequest, PutMen
|
|
|
1338
1338
|
lang_data: (lang_data: RequestParams.PutMenuParams["menu_list"][number]["lang_data"]) => this
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
export interface PutMenuSortRequest extends AppendableGateway<PutMenuSortRequest> {
|
|
1342
|
-
menu_list: (value:
|
|
1341
|
+
export interface PutMenuSortRequest extends AppendableGateway<PutMenuSortRequest, PutMenuSortResponse, RequestParams.PutMenuSortParams> {
|
|
1342
|
+
menu_list: (value: RequestParams.PutMenuSortParams["menu_list"]) => this;
|
|
1343
1343
|
/** Settings */
|
|
1344
|
-
settings: (value:
|
|
1344
|
+
settings: (value: RequestParams.PutMenuSortParams["settings"]) => this;
|
|
1345
1345
|
/** Shop Id. */
|
|
1346
1346
|
shop_id: (shop_id: number|string) => this
|
|
1347
1347
|
/** Menu ID. */
|
|
@@ -1377,7 +1377,7 @@ export interface PutOrdersClientRequest extends Gateway {
|
|
|
1377
1377
|
clientId: (value: number|string) => this;
|
|
1378
1378
|
}
|
|
1379
1379
|
|
|
1380
|
-
export interface PutOrdersCourierRequest extends Gateway {
|
|
1380
|
+
export interface PutOrdersCourierRequest extends Gateway<PutOrdersCourierResponse, RequestParams.PutOrdersCourierParams> {
|
|
1381
1381
|
/** Order serial number. */
|
|
1382
1382
|
orderSerialNumber: (value: number|string) => this;
|
|
1383
1383
|
/** Courier ID. */
|
|
@@ -1439,9 +1439,9 @@ export interface GetOrdersDocumentsRequest extends Gateway<GetOrdersDocumentsRes
|
|
|
1439
1439
|
returnElements: (value: string|string[]) => this;
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
|
-
export interface PostOrdersDocumentsRequest extends AppendableGateway<PostOrdersDocumentsRequest> {
|
|
1442
|
+
export interface PostOrdersDocumentsRequest extends AppendableGateway<PostOrdersDocumentsRequest, PostOrdersDocumentsResponse, RequestParams.PostOrdersDocumentsParams> {
|
|
1443
1443
|
/** List of documents. */
|
|
1444
|
-
documents: (value:
|
|
1444
|
+
documents: (value: RequestParams.PostOrdersDocumentsParams["documents"]) => this;
|
|
1445
1445
|
/** Order serial number. */
|
|
1446
1446
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
1447
1447
|
/** File name. */
|
|
@@ -1453,7 +1453,7 @@ export interface PostOrdersDocumentsRequest extends AppendableGateway<PostOrders
|
|
|
1453
1453
|
/** Is it to be shown to the customer in the order view. */
|
|
1454
1454
|
returnedInOrderDetails: (returnedInOrderDetails: 'y'|'n') => this
|
|
1455
1455
|
/** Additional information. */
|
|
1456
|
-
additionalData: (additionalData:
|
|
1456
|
+
additionalData: (additionalData: RequestParams.PostOrdersDocumentsParams["documents"][number]["additionalData"]) => this
|
|
1457
1457
|
/** Set Issue date */
|
|
1458
1458
|
date: (date: string) => this;
|
|
1459
1459
|
}
|
|
@@ -1503,7 +1503,7 @@ export interface GetOrdersExportdocumentsJPKRequest extends Gateway {
|
|
|
1503
1503
|
dates: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
1504
1504
|
}
|
|
1505
1505
|
|
|
1506
|
-
export interface GetOrdersHandlerRequest extends Gateway {
|
|
1506
|
+
export interface GetOrdersHandlerRequest extends Gateway<GetOrdersHandlerResponse> {
|
|
1507
1507
|
/** Order serial number. */
|
|
1508
1508
|
orderSerialNumber: (value: number|string) => this;
|
|
1509
1509
|
}
|
|
@@ -1528,20 +1528,20 @@ export interface DeleteOrdersImagesRequest extends AppendableGateway<DeleteOrder
|
|
|
1528
1528
|
id: (id: number|string) => this
|
|
1529
1529
|
}
|
|
1530
1530
|
|
|
1531
|
-
export interface GetOrdersImagesRequest extends Gateway {
|
|
1531
|
+
export interface GetOrdersImagesRequest extends Gateway<GetOrdersImagesResponse> {
|
|
1532
1532
|
/** Attachment ID (Photos) */
|
|
1533
1533
|
imageId: (value: number|string) => this;
|
|
1534
1534
|
/** Order serial number */
|
|
1535
1535
|
orderSerialNumber: (value: number|string) => this;
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
1538
|
-
export interface PostOrdersImagesRequest extends AppendableGateway<PostOrdersImagesRequest> {
|
|
1538
|
+
export interface PostOrdersImagesRequest extends AppendableGateway<PostOrdersImagesRequest, PostOrdersImagesResponse, RequestParams.PostOrdersImagesParams> {
|
|
1539
1539
|
/** Login */
|
|
1540
1540
|
userName: (value: string) => this;
|
|
1541
|
-
settings: (value:
|
|
1542
|
-
order: (value:
|
|
1541
|
+
settings: (value: RequestParams.PostOrdersImagesParams["settings"]) => this;
|
|
1542
|
+
order: (value: RequestParams.PostOrdersImagesParams["order"]) => this;
|
|
1543
1543
|
/** List of image attachments */
|
|
1544
|
-
images: (value:
|
|
1544
|
+
images: (value: RequestParams.PostOrdersImagesParams["images"]) => this;
|
|
1545
1545
|
/** Type. Available values: product - Product photo, package - Package photo */
|
|
1546
1546
|
type: (type: 'product'|'package') => this
|
|
1547
1547
|
/** Attachment source data, depending on the source type selected in the settings. BMP, PNG, JPG, JPEG, GIF or PDF files in Base64 encoding algorithm. */
|
|
@@ -1550,11 +1550,9 @@ export interface PostOrdersImagesRequest extends AppendableGateway<PostOrdersIma
|
|
|
1550
1550
|
name: (name: string) => this
|
|
1551
1551
|
orderId: (value: string) => this;
|
|
1552
1552
|
orderSerialNumber: (value: number|string) => this;
|
|
1553
|
-
/** Sets image source for order */
|
|
1554
|
-
source: (value: string) => this;
|
|
1555
1553
|
}
|
|
1556
1554
|
|
|
1557
|
-
export interface GetOrdersLabelsRequest extends Gateway {
|
|
1555
|
+
export interface GetOrdersLabelsRequest extends Gateway<GetOrdersLabelsResponse> {
|
|
1558
1556
|
/** Order serial number. */
|
|
1559
1557
|
orderSerialNumber: (value: number|string) => this;
|
|
1560
1558
|
}
|
|
@@ -1585,7 +1583,7 @@ export interface SearchOrdersOpinionsRequest extends PagableGateway<SearchOrders
|
|
|
1585
1583
|
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending?: boolean) => this;
|
|
1586
1584
|
}
|
|
1587
1585
|
|
|
1588
|
-
export interface GetOrdersOpinionsRateRequest extends Gateway {
|
|
1586
|
+
export interface GetOrdersOpinionsRateRequest extends Gateway<GetOrdersOpinionsRateResponse> {
|
|
1589
1587
|
id: (value: number|string) => this;
|
|
1590
1588
|
operation: (value: 'positive'|'negative') => this;
|
|
1591
1589
|
}
|
|
@@ -1810,29 +1808,29 @@ export interface GetOrdersPackagesRequest extends Gateway<GetOrdersPackagesRespo
|
|
|
1810
1808
|
returnLabels: (value: boolean) => this;
|
|
1811
1809
|
}
|
|
1812
1810
|
|
|
1813
|
-
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest> {
|
|
1811
|
+
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest, PutOrdersPackagesResponse, RequestParams.PostOrdersPackagesParams> {
|
|
1814
1812
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1815
|
-
orderPackages: (value:
|
|
1813
|
+
orderPackages: (value: RequestParams.PostOrdersPackagesParams["orderPackages"]) => this;
|
|
1816
1814
|
/** Id. */
|
|
1817
1815
|
eventId: (eventId: string) => this
|
|
1818
1816
|
/** Type. */
|
|
1819
1817
|
eventType: (eventType: 'order'|'rma'|'return') => this
|
|
1820
1818
|
/** Information on consignments. */
|
|
1821
|
-
packages: (packages:
|
|
1819
|
+
packages: (packages: RequestParams.PostOrdersPackagesParams["orderPackages"][number]["packages"]) => this
|
|
1822
1820
|
}
|
|
1823
1821
|
|
|
1824
|
-
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest> {
|
|
1822
|
+
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest, PutOrdersPackagesResponse, RequestParams.PutOrdersPackagesParams> {
|
|
1825
1823
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1826
|
-
orderPackages: (value:
|
|
1824
|
+
orderPackages: (value: RequestParams.PutOrdersPackagesParams["orderPackages"]) => this;
|
|
1827
1825
|
/** Id. */
|
|
1828
1826
|
eventId: (eventId: string) => this
|
|
1829
1827
|
/** Type. */
|
|
1830
1828
|
eventType: (eventType: 'order'|'rma'|'return') => this
|
|
1831
1829
|
/** Information on consignments. */
|
|
1832
|
-
packages: (packages:
|
|
1830
|
+
packages: (packages: RequestParams.PutOrdersPackagesParams["orderPackages"][number]["packages"]) => this
|
|
1833
1831
|
}
|
|
1834
1832
|
|
|
1835
|
-
export interface PutOrdersPickupPointRequest extends Gateway {
|
|
1833
|
+
export interface PutOrdersPickupPointRequest extends Gateway<PutOrdersCourierResponse, RequestParams.PutOrdersPickupPointParams> {
|
|
1836
1834
|
/** Order serial number. */
|
|
1837
1835
|
orderSerialNumber: (value: number|string) => this;
|
|
1838
1836
|
/** Collection point ID. */
|
|
@@ -1848,24 +1846,24 @@ export interface GetOrdersPrinterDocumentsRequest extends Gateway {
|
|
|
1848
1846
|
skipNotGeneratedDocument: (value: boolean) => this;
|
|
1849
1847
|
}
|
|
1850
1848
|
|
|
1851
|
-
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest> {
|
|
1849
|
+
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest, PutOrdersProductsSerialNumbersResponse, RequestParams.PutOrdersProductsSerialNumbersParams> {
|
|
1852
1850
|
/** Orders. */
|
|
1853
|
-
orders: (value:
|
|
1851
|
+
orders: (value: RequestParams.PutOrdersProductsSerialNumbersParams["orders"]) => this;
|
|
1854
1852
|
/** Order serial number. */
|
|
1855
1853
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
1856
1854
|
/** Products list. */
|
|
1857
|
-
orderProducts: (orderProducts:
|
|
1855
|
+
orderProducts: (orderProducts: RequestParams.PutOrdersProductsSerialNumbersParams["orders"][number]["orderProducts"]) => this
|
|
1858
1856
|
}
|
|
1859
1857
|
|
|
1860
|
-
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest> {
|
|
1858
|
+
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest, PutOrdersProfitMarginResponse, RequestParams.PutOrdersProfitMarginParams> {
|
|
1861
1859
|
/** Orders. */
|
|
1862
|
-
orders: (value:
|
|
1860
|
+
orders: (value: RequestParams.PutOrdersProfitMarginParams["orders"]) => this;
|
|
1863
1861
|
/** Order serial number. */
|
|
1864
1862
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
1865
1863
|
/** Products list. */
|
|
1866
|
-
products: (products:
|
|
1864
|
+
products: (products: RequestParams.PutOrdersProfitMarginParams["orders"][number]["products"]) => this
|
|
1867
1865
|
/** Information on error that occurred during gate call. */
|
|
1868
|
-
errors: (errors:
|
|
1866
|
+
errors: (errors: RequestParams.PutOrdersProfitMarginParams["orders"][number]["errors"]) => this
|
|
1869
1867
|
/** Flag marking errors in the result. */
|
|
1870
1868
|
isProductsErrors: (isProductsErrors: boolean) => this
|
|
1871
1869
|
}
|
|
@@ -1967,7 +1965,7 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
|
|
|
1967
1965
|
fromEbay: (ebayAccount?: string) => this;
|
|
1968
1966
|
}
|
|
1969
1967
|
|
|
1970
|
-
export interface GetOrdersWarehouseRequest extends Gateway {
|
|
1968
|
+
export interface GetOrdersWarehouseRequest extends Gateway<GetOrdersWarehouseResponse> {
|
|
1971
1969
|
/** Order serial number. */
|
|
1972
1970
|
orderSerialNumber: (value: number|string) => this;
|
|
1973
1971
|
}
|
|
@@ -1983,7 +1981,7 @@ export interface PutOrdersWarehouseRequest extends Gateway {
|
|
|
1983
1981
|
externalStockId: (value: 'amazonde'|'amazones'|'amazonfr'|'amazonit'|'amazoncouk'|'amazonnl'|'amazonse'|'amazoncomtr'|'amazonae'|'amazonus'|'amazonpl') => this;
|
|
1984
1982
|
}
|
|
1985
1983
|
|
|
1986
|
-
export interface GetPackagesLabelsRequest extends Gateway<
|
|
1984
|
+
export interface GetPackagesLabelsRequest extends Gateway<GetOrdersLabelsResponse> {
|
|
1987
1985
|
/** Id. */
|
|
1988
1986
|
eventId: (value: number|string) => this;
|
|
1989
1987
|
/** Event type */
|
|
@@ -2007,28 +2005,32 @@ export interface PostPackagesLabelsRequest extends AppendableGateway<PostPackage
|
|
|
2007
2005
|
parcelParametersByPackages: (value: RequestParams.PostPackagesLabelsParams["parcelParametersByPackages"]) => this;
|
|
2008
2006
|
/** Package ID in system. */
|
|
2009
2007
|
packageId: (packageId: string) => this
|
|
2008
|
+
/** Set order serial number */
|
|
2009
|
+
orderSn: (orderSn: number |string) => this;
|
|
2010
|
+
/** Set default parcel size */
|
|
2011
|
+
size: (size?: string) => this;
|
|
2010
2012
|
}
|
|
2011
2013
|
|
|
2012
|
-
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest> {
|
|
2014
|
+
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest, PutPackagesResponse, RequestParams.PostPackagesParams> {
|
|
2013
2015
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
2014
|
-
orderPackages: (value:
|
|
2016
|
+
orderPackages: (value: RequestParams.PostPackagesParams["orderPackages"]) => this;
|
|
2015
2017
|
/** Order ID. */
|
|
2016
2018
|
orderId: (orderId: string) => this
|
|
2017
2019
|
/** Order type. Allowed values. "retail" - retail order, "wholesale" - wholesale order (can be added only by customer with wholesale account registered). Default value:: "retail" */
|
|
2018
2020
|
orderType: (orderType: 'order'|'rma'|'return') => this
|
|
2019
2021
|
/** Information on consignments. */
|
|
2020
|
-
packages: (packages:
|
|
2022
|
+
packages: (packages: RequestParams.PostPackagesParams["orderPackages"][number]["packages"]) => this
|
|
2021
2023
|
}
|
|
2022
2024
|
|
|
2023
|
-
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest> {
|
|
2025
|
+
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest, PutPackagesResponse, RequestParams.PutPackagesParams> {
|
|
2024
2026
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
2025
|
-
orderPackages: (value:
|
|
2027
|
+
orderPackages: (value: RequestParams.PutPackagesParams["orderPackages"]) => this;
|
|
2026
2028
|
/** Order ID. */
|
|
2027
2029
|
orderId: (orderId: string) => this
|
|
2028
2030
|
/** Order type. Allowed values. "retail" - retail order, "wholesale" - wholesale order (can be added only by customer with wholesale account registered). Default value:: "retail" */
|
|
2029
2031
|
orderType: (orderType: 'order'|'rma'|'return') => this
|
|
2030
2032
|
/** Information on consignments. */
|
|
2031
|
-
packages: (packages:
|
|
2033
|
+
packages: (packages: RequestParams.PutPackagesParams["orderPackages"][number]["packages"]) => this
|
|
2032
2034
|
}
|
|
2033
2035
|
|
|
2034
2036
|
export interface SearchPackagesRequest extends AppendableGateway<SearchPackagesRequest, SearchPackagesResponse, RequestParams.SearchPackagesParams> {
|
|
@@ -2074,7 +2076,7 @@ export interface PutPaymentsConfirmRequest extends Gateway {
|
|
|
2074
2076
|
accountingDate: (value: string) => this;
|
|
2075
2077
|
}
|
|
2076
2078
|
|
|
2077
|
-
export interface GetPaymentsFormsRequest extends Gateway {
|
|
2079
|
+
export interface GetPaymentsFormsRequest extends Gateway<GetPaymentsFormsResponse> {
|
|
2078
2080
|
/** Return only active forms of payment. */
|
|
2079
2081
|
activeOnly: (value: 'yes'|'no') => this;
|
|
2080
2082
|
}
|
|
@@ -2121,12 +2123,12 @@ export interface PutPaymentsRequest extends Gateway {
|
|
|
2121
2123
|
account: (value: string) => this;
|
|
2122
2124
|
/** Data of customer account in store. */
|
|
2123
2125
|
clientAccount: (value: string) => this;
|
|
2124
|
-
other: (value:
|
|
2126
|
+
other: (value: RequestParams.PutPaymentsParams["other"]) => this;
|
|
2125
2127
|
/** Transaction ID in external service */
|
|
2126
2128
|
externalPaymentId: (value: string) => this;
|
|
2127
2129
|
}
|
|
2128
2130
|
|
|
2129
|
-
export interface GetPaymentsProfilesRequest extends PagableGateway<GetPaymentsProfilesRequest> {
|
|
2131
|
+
export interface GetPaymentsProfilesRequest extends PagableGateway<GetPaymentsProfilesRequest, GetPaymentsProfilesResponse> {
|
|
2130
2132
|
/** Page with results number. Numeration starts from 0 */
|
|
2131
2133
|
resultsPage: (value: number|string) => this;
|
|
2132
2134
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -2234,28 +2236,28 @@ export interface GetProductsBrandsRequest extends PagableGateway<GetProductsBran
|
|
|
2234
2236
|
languagesIds: (value: string|string[]) => this;
|
|
2235
2237
|
}
|
|
2236
2238
|
|
|
2237
|
-
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest> {
|
|
2239
|
+
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest, PutProductsBrandsResponse, RequestParams.PostProductsBrandsParams> {
|
|
2238
2240
|
/** List of manufacturers assigned to sought products. */
|
|
2239
|
-
producers: (value:
|
|
2241
|
+
producers: (value: RequestParams.PostProductsBrandsParams["producers"]) => this;
|
|
2240
2242
|
/** Name in panel */
|
|
2241
2243
|
nameInPanel: (nameInPanel: string) => this
|
|
2242
2244
|
/** */
|
|
2243
|
-
imagesSettings: (imagesSettings:
|
|
2245
|
+
imagesSettings: (imagesSettings: RequestParams.PostProductsBrandsParams["producers"][number]["imagesSettings"]) => this
|
|
2244
2246
|
/** */
|
|
2245
|
-
languagesConfigurations: (languagesConfigurations:
|
|
2247
|
+
languagesConfigurations: (languagesConfigurations: RequestParams.PostProductsBrandsParams["producers"][number]["languagesConfigurations"]) => this
|
|
2246
2248
|
}
|
|
2247
2249
|
|
|
2248
|
-
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest> {
|
|
2250
|
+
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest, PutProductsBrandsResponse, RequestParams.PutProductsBrandsParams> {
|
|
2249
2251
|
/** List of manufacturers assigned to sought products. */
|
|
2250
|
-
producers: (value:
|
|
2252
|
+
producers: (value: RequestParams.PutProductsBrandsParams["producers"]) => this;
|
|
2251
2253
|
/** Id */
|
|
2252
2254
|
id: (id: number|string) => this
|
|
2253
2255
|
/** Name in panel */
|
|
2254
2256
|
nameInPanel: (nameInPanel: string) => this
|
|
2255
2257
|
/** */
|
|
2256
|
-
imagesSettings: (imagesSettings:
|
|
2258
|
+
imagesSettings: (imagesSettings: RequestParams.PutProductsBrandsParams["producers"][number]["imagesSettings"]) => this
|
|
2257
2259
|
/** */
|
|
2258
|
-
languagesConfigurations: (languagesConfigurations:
|
|
2260
|
+
languagesConfigurations: (languagesConfigurations: RequestParams.PutProductsBrandsParams["producers"][number]["languagesConfigurations"]) => this
|
|
2259
2261
|
}
|
|
2260
2262
|
|
|
2261
2263
|
export interface PostProductsBundlesRequest extends AppendableGateway<PostProductsBundlesRequest> {
|
|
@@ -2329,7 +2331,7 @@ export interface PutProductsCategoriesRequest extends AppendableGateway<PutProdu
|
|
|
2329
2331
|
lang_data: (lang_data: RequestParams.PutProductsCategoriesParams["categories"][number]["lang_data"]) => this
|
|
2330
2332
|
}
|
|
2331
2333
|
|
|
2332
|
-
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest, SearchProductsCategoriesIdosellResponse> {
|
|
2334
|
+
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest, SearchProductsCategoriesIdosellResponse, RequestParams.SearchProductsCategoriesIdosellParams> {
|
|
2333
2335
|
/** List of languages */
|
|
2334
2336
|
languagesIds: (value: string|string[]) => this;
|
|
2335
2337
|
/** Number of IdoSell Categories identifiers */
|
|
@@ -2427,45 +2429,45 @@ export interface GetProductsDescriptionsRequest extends Gateway<GetProductsDescr
|
|
|
2427
2429
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2428
2430
|
}
|
|
2429
2431
|
|
|
2430
|
-
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest> {
|
|
2432
|
+
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest, ProductIdentResponse, RequestParams.PutProductsDescriptionsParams> {
|
|
2431
2433
|
/** Products list. */
|
|
2432
|
-
products: (value:
|
|
2434
|
+
products: (value: RequestParams.PutProductsDescriptionsParams["products"]) => this;
|
|
2433
2435
|
/** */
|
|
2434
|
-
productIdent: (productIdent:
|
|
2436
|
+
productIdent: (productIdent: RequestParams.PutProductsDescriptionsParams["products"][number]["productIdent"]) => this
|
|
2435
2437
|
/** Array of language-dependent elements. */
|
|
2436
|
-
productDescriptionsLangData: (productDescriptionsLangData:
|
|
2438
|
+
productDescriptionsLangData: (productDescriptionsLangData: RequestParams.PutProductsDescriptionsParams["products"][number]["productDescriptionsLangData"]) => this
|
|
2437
2439
|
/** Product data for auction services */
|
|
2438
|
-
productAuctionDescriptionsData: (productAuctionDescriptionsData:
|
|
2440
|
+
productAuctionDescriptionsData: (productAuctionDescriptionsData: RequestParams.PutProductsDescriptionsParams["products"][number]["productAuctionDescriptionsData"]) => this
|
|
2439
2441
|
productId: (value: number|string) => this;
|
|
2440
2442
|
/** Set various types of names or descriptions to the product */
|
|
2441
2443
|
setText: (text: string, type?: "productName"|"productAuctionName"|"productPriceComparerName"|"productDescription"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeywords", language?: string, shopId?: number|string) => this;
|
|
2442
2444
|
}
|
|
2443
2445
|
|
|
2444
|
-
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest> {
|
|
2445
|
-
groups: (value:
|
|
2446
|
+
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest, ProductIdentResponse, RequestParams.PutProductsGroupsMainProductParams> {
|
|
2447
|
+
groups: (value: RequestParams.PutProductsGroupsMainProductParams["groups"]) => this;
|
|
2446
2448
|
/** */
|
|
2447
|
-
productIdent: (productIdent:
|
|
2449
|
+
productIdent: (productIdent: RequestParams.PutProductsGroupsMainProductParams["groups"][number]["productIdent"]) => this
|
|
2448
2450
|
productId: (value: number|string) => this;
|
|
2449
2451
|
}
|
|
2450
2452
|
|
|
2451
|
-
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest> {
|
|
2452
|
-
groups: (value:
|
|
2453
|
+
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest, PutProductsGroupsSettingsResponse, RequestParams.PutProductsGroupsOrderParams> {
|
|
2454
|
+
groups: (value: RequestParams.PutProductsGroupsOrderParams["groups"]) => this;
|
|
2453
2455
|
/** */
|
|
2454
|
-
productsInOrder: (productsInOrder:
|
|
2456
|
+
productsInOrder: (productsInOrder: RequestParams.PutProductsGroupsOrderParams["groups"][number]["productsInOrder"]) => this
|
|
2455
2457
|
/** Defines order of products within group by automatically setting proprities in order of appearance */
|
|
2456
2458
|
productIdsInOrder: (productIds: number|string|number[]|string[]) => this;
|
|
2457
2459
|
}
|
|
2458
2460
|
|
|
2459
|
-
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest> {
|
|
2460
|
-
groups: (value:
|
|
2461
|
+
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest, PutProductsGroupsSettingsResponse, RequestParams.PutProductsGroupsSettingsParams> {
|
|
2462
|
+
groups: (value: RequestParams.PutProductsGroupsSettingsParams["groups"]) => this;
|
|
2461
2463
|
/** */
|
|
2462
|
-
productIdent: (productIdent:
|
|
2464
|
+
productIdent: (productIdent: RequestParams.PutProductsGroupsSettingsParams["groups"][number]["productIdent"]) => this
|
|
2463
2465
|
/** Display on the product list in the panel. */
|
|
2464
2466
|
displayInPanel: (displayInPanel: 'firstAvailable'|'all') => this
|
|
2465
2467
|
/** Display on a product list on the page. */
|
|
2466
2468
|
displayOnPage: (displayOnPage: 'firstAvailable'|'all'|'specified') => this
|
|
2467
2469
|
/** Selected product in the group. */
|
|
2468
|
-
specifiedProductIdent: (specifiedProductIdent:
|
|
2470
|
+
specifiedProductIdent: (specifiedProductIdent: RequestParams.PutProductsGroupsSettingsParams["groups"][number]["specifiedProductIdent"]) => this
|
|
2469
2471
|
productId: (value: number|string) => this;
|
|
2470
2472
|
}
|
|
2471
2473
|
|
|
@@ -2489,22 +2491,22 @@ export interface DeleteProductsImagesRequest extends AppendableGateway<DeletePro
|
|
|
2489
2491
|
productImagesId: (productImagesId: string|string[]) => this
|
|
2490
2492
|
}
|
|
2491
2493
|
|
|
2492
|
-
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest> {
|
|
2493
|
-
productsImagesSettings: (value:
|
|
2494
|
+
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest, PutProductsImagesResponse, RequestParams.PutProductsImagesParams> {
|
|
2495
|
+
productsImagesSettings: (value: RequestParams.PutProductsImagesParams["productsImagesSettings"]) => this;
|
|
2494
2496
|
/** Information on product images */
|
|
2495
|
-
productsImages: (value:
|
|
2497
|
+
productsImages: (value: RequestParams.PutProductsImagesParams["productsImages"]) => this;
|
|
2496
2498
|
/** */
|
|
2497
|
-
productIdent: (productIdent:
|
|
2499
|
+
productIdent: (productIdent: RequestParams.PutProductsImagesParams["productsImages"][number]["productIdent"]) => this
|
|
2498
2500
|
/** Shop Id */
|
|
2499
2501
|
shopId: (shopId: number|string) => this
|
|
2500
2502
|
/** 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. */
|
|
2501
2503
|
otherShopsForPic: (otherShopsForPic: number|string|number[]|string[]) => this
|
|
2502
2504
|
/** Product photos details. */
|
|
2503
|
-
productImages: (productImages:
|
|
2505
|
+
productImages: (productImages: RequestParams.PutProductsImagesParams["productsImages"][number]["productImages"]) => this
|
|
2504
2506
|
/** Product icons list. */
|
|
2505
|
-
productIcons: (productIcons:
|
|
2507
|
+
productIcons: (productIcons: RequestParams.PutProductsImagesParams["productsImages"][number]["productIcons"]) => this
|
|
2506
2508
|
/** Product settings. */
|
|
2507
|
-
productImagesSettings: (productImagesSettings:
|
|
2509
|
+
productImagesSettings: (productImagesSettings: RequestParams.PutProductsImagesParams["productsImages"][number]["productImagesSettings"]) => this
|
|
2508
2510
|
productId: (value: number|string) => this;
|
|
2509
2511
|
/** Adds image source with selected priority */
|
|
2510
2512
|
addImage: (source: string, priority?: number|string) => this;
|
|
@@ -2517,22 +2519,22 @@ export interface GetProductsMarketingAllFacebookCatalogIdsRequest extends Gatewa
|
|
|
2517
2519
|
shopId: (value: number|string) => this;
|
|
2518
2520
|
}
|
|
2519
2521
|
|
|
2520
|
-
export interface GetProductsMarketingPromotionRequest extends Gateway {
|
|
2522
|
+
export interface GetProductsMarketingPromotionRequest extends Gateway<GetProductsMarketingPromotionResponse> {
|
|
2521
2523
|
/** Shop Id */
|
|
2522
2524
|
shopId: (value: number|string) => this;
|
|
2523
2525
|
/** Products list. */
|
|
2524
2526
|
products: (value: number|string|number[]|string[]) => this;
|
|
2525
2527
|
}
|
|
2526
2528
|
|
|
2527
|
-
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest> {
|
|
2529
|
+
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest, PostProductsMarketingPromotionResponse, RequestParams.PostProductsMarketingPromotionParams> {
|
|
2528
2530
|
/** Promotion name */
|
|
2529
2531
|
promotionName: (value: string) => this;
|
|
2530
2532
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
2531
2533
|
shopsIds: (value: number|string|number[]|string[]) => this;
|
|
2532
2534
|
/** Special zones */
|
|
2533
|
-
marketingZones: (value:
|
|
2535
|
+
marketingZones: (value: RequestParams.PostProductsMarketingPromotionParams["marketingZones"]) => this;
|
|
2534
2536
|
/** Promotional price settings */
|
|
2535
|
-
newPriceSettings: (value:
|
|
2537
|
+
newPriceSettings: (value: RequestParams.PostProductsMarketingPromotionParams["newPriceSettings"]) => this;
|
|
2536
2538
|
/** Promotion start date in Y-m-d H:i:s format */
|
|
2537
2539
|
startDate: (value: string) => this;
|
|
2538
2540
|
/** Promotion end date in Y-m-d H:i:s format */
|
|
@@ -2548,14 +2550,14 @@ export interface PostProductsMarketingPromotionRequest extends AppendableGateway
|
|
|
2548
2550
|
/** Price reduction calculation method */
|
|
2549
2551
|
calculationMethod: (value: 'sum'|'chooseAdvantageous') => this;
|
|
2550
2552
|
/** Elements to be affected by the promotion */
|
|
2551
|
-
promotionElements: (value:
|
|
2553
|
+
promotionElements: (value: RequestParams.PostProductsMarketingPromotionParams["promotionElements"]) => this;
|
|
2552
2554
|
/** */
|
|
2553
2555
|
elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
|
|
2554
2556
|
/** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
|
|
2555
2557
|
elementId: (elementId: string) => this
|
|
2556
2558
|
}
|
|
2557
2559
|
|
|
2558
|
-
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest> {
|
|
2560
|
+
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest, PutProductsMarketingPromotionResponse, RequestParams.PutProductsMarketingPromotionParams> {
|
|
2559
2561
|
/** Promotion ID */
|
|
2560
2562
|
promotionId: (value: string) => this;
|
|
2561
2563
|
/** Promotion name */
|
|
@@ -2563,9 +2565,9 @@ export interface PutProductsMarketingPromotionRequest extends AppendableGateway<
|
|
|
2563
2565
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
2564
2566
|
shopsIds: (value: number|string|number[]|string[]) => this;
|
|
2565
2567
|
/** Special zones */
|
|
2566
|
-
marketingZones: (value:
|
|
2568
|
+
marketingZones: (value: RequestParams.PutProductsMarketingPromotionParams["marketingZones"]) => this;
|
|
2567
2569
|
/** Promotional price settings */
|
|
2568
|
-
newPriceSettings: (value:
|
|
2570
|
+
newPriceSettings: (value: RequestParams.PutProductsMarketingPromotionParams["newPriceSettings"]) => this;
|
|
2569
2571
|
/** Promotion start date in Y-m-d H:i:s format */
|
|
2570
2572
|
startDate: (value: string) => this;
|
|
2571
2573
|
/** Promotion end date in Y-m-d H:i:s format */
|
|
@@ -2583,14 +2585,14 @@ export interface PutProductsMarketingPromotionRequest extends AppendableGateway<
|
|
|
2583
2585
|
/** Specifies whether to remove all existing promotion elements */
|
|
2584
2586
|
removeAllPromotionElements: (value: 'y'|'n') => this;
|
|
2585
2587
|
/** Elements to be affected by the promotion */
|
|
2586
|
-
promotionElements: (value:
|
|
2588
|
+
promotionElements: (value: RequestParams.PutProductsMarketingPromotionParams["promotionElements"]) => this;
|
|
2587
2589
|
/** */
|
|
2588
2590
|
elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
|
|
2589
2591
|
/** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
|
|
2590
2592
|
elementId: (elementId: string) => this
|
|
2591
2593
|
}
|
|
2592
2594
|
|
|
2593
|
-
export interface GetProductsMarketingZonesRequest extends Gateway {
|
|
2595
|
+
export interface GetProductsMarketingZonesRequest extends Gateway<GetProductsMarketingZonesResponse> {
|
|
2594
2596
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2595
2597
|
/** Products list. */
|
|
2596
2598
|
products: (value: string|string[]) => this;
|
|
@@ -2598,15 +2600,15 @@ export interface GetProductsMarketingZonesRequest extends Gateway {
|
|
|
2598
2600
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2599
2601
|
}
|
|
2600
2602
|
|
|
2601
|
-
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest> {
|
|
2603
|
+
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest, PutProductsMarketingZonesResponse, RequestParams.PutProductsMarketingZonesParams> {
|
|
2602
2604
|
/** Products list. */
|
|
2603
|
-
products: (value:
|
|
2605
|
+
products: (value: RequestParams.PutProductsMarketingZonesParams["products"]) => this;
|
|
2604
2606
|
assignment_mode: (value: 'auto'|'manual') => this;
|
|
2605
|
-
marketing_zones: (value:
|
|
2607
|
+
marketing_zones: (value: RequestParams.PutProductsMarketingZonesParams["marketing_zones"]) => this;
|
|
2606
2608
|
/** Marketing hotspots in shops */
|
|
2607
|
-
shops: (value:
|
|
2609
|
+
shops: (value: RequestParams.PutProductsMarketingZonesParams["shops"]) => this;
|
|
2608
2610
|
/** Identifier type. */
|
|
2609
|
-
ident: (ident:
|
|
2611
|
+
ident: (ident: RequestParams.PutProductsMarketingZonesParams["products"][number]["ident"]) => this
|
|
2610
2612
|
}
|
|
2611
2613
|
|
|
2612
2614
|
export interface GetProductsOmnibusPricesRequest extends Gateway<GetProductsOmnibusPricesResponse> {
|
|
@@ -2617,17 +2619,17 @@ export interface GetProductsOmnibusPricesRequest extends Gateway<GetProductsOmni
|
|
|
2617
2619
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2618
2620
|
}
|
|
2619
2621
|
|
|
2620
|
-
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest> {
|
|
2622
|
+
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest, JSObject, RequestParams.PutProductsOmnibusPricesParams> {
|
|
2621
2623
|
/** Products list. */
|
|
2622
|
-
products: (value:
|
|
2624
|
+
products: (value: RequestParams.PutProductsOmnibusPricesParams["products"]) => this;
|
|
2623
2625
|
/** Identifier type. */
|
|
2624
|
-
ident: (ident:
|
|
2626
|
+
ident: (ident: RequestParams.PutProductsOmnibusPricesParams["products"][number]["ident"]) => this
|
|
2625
2627
|
/** List of sizes */
|
|
2626
|
-
sizes: (sizes:
|
|
2628
|
+
sizes: (sizes: RequestParams.PutProductsOmnibusPricesParams["products"][number]["sizes"]) => this
|
|
2627
2629
|
/** Strikethrough price settings. */
|
|
2628
|
-
omnibusPrices: (omnibusPrices:
|
|
2630
|
+
omnibusPrices: (omnibusPrices: RequestParams.PutProductsOmnibusPricesParams["products"][number]["omnibusPrices"]) => this
|
|
2629
2631
|
/** Strikethrough price settings for the page. */
|
|
2630
|
-
shops: (shops:
|
|
2632
|
+
shops: (shops: RequestParams.PutProductsOmnibusPricesParams["products"][number]["shops"]) => this
|
|
2631
2633
|
/** Set product identifiers */
|
|
2632
2634
|
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2633
2635
|
/** Set retail or wholesale price */
|
|
@@ -2665,9 +2667,9 @@ export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOp
|
|
|
2665
2667
|
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending?: boolean) => this;
|
|
2666
2668
|
}
|
|
2667
2669
|
|
|
2668
|
-
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest> {
|
|
2670
|
+
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest, PostProductsOpinionsResponse, RequestParams.PostProductsOpinionsParams> {
|
|
2669
2671
|
/** List of reviews */
|
|
2670
|
-
opinions: (value:
|
|
2672
|
+
opinions: (value: RequestParams.PostProductsOpinionsParams["opinions"]) => this;
|
|
2671
2673
|
/** */
|
|
2672
2674
|
createDate: (createDate: string) => this
|
|
2673
2675
|
/** */
|
|
@@ -2685,13 +2687,13 @@ export interface PostProductsOpinionsRequest extends AppendableGateway<PostProdu
|
|
|
2685
2687
|
/** */
|
|
2686
2688
|
host: (host: string) => this
|
|
2687
2689
|
/** Customer data. */
|
|
2688
|
-
clients: (clients:
|
|
2690
|
+
clients: (clients: RequestParams.PostProductsOpinionsParams["opinions"][number]["clients"]) => this
|
|
2689
2691
|
/** */
|
|
2690
2692
|
scorePositive: (scorePositive: number|string) => this
|
|
2691
2693
|
/** */
|
|
2692
2694
|
scoreNegative: (scoreNegative: number|string) => this
|
|
2693
2695
|
/** Products list. */
|
|
2694
|
-
products: (products:
|
|
2696
|
+
products: (products: RequestParams.PostProductsOpinionsParams["opinions"][number]["products"]) => this
|
|
2695
2697
|
/** Order serial number. */
|
|
2696
2698
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
2697
2699
|
/** Reply to an opinion */
|
|
@@ -2714,7 +2716,7 @@ export interface PutProductsOpinionsRequest extends Gateway {
|
|
|
2714
2716
|
opinionConfirmedByPurchase: (value: boolean) => this;
|
|
2715
2717
|
}
|
|
2716
2718
|
|
|
2717
|
-
export interface GetProductsOpinionsRateRequest extends Gateway {
|
|
2719
|
+
export interface GetProductsOpinionsRateRequest extends Gateway<GetProductsOpinionsRateResponse> {
|
|
2718
2720
|
id: (value: number|string) => this;
|
|
2719
2721
|
operation: (value: 'positive'|'negative') => this;
|
|
2720
2722
|
}
|
|
@@ -2724,25 +2726,25 @@ export interface DeleteProductsParametersRequest extends Gateway {
|
|
|
2724
2726
|
ids: (value: number|string|number[]|string[]) => this;
|
|
2725
2727
|
}
|
|
2726
2728
|
|
|
2727
|
-
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest> {
|
|
2729
|
+
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest, PutProductsParametersResponse, RequestParams.PutProductsParametersParams> {
|
|
2728
2730
|
/** Sections, parameters or valued to add or edit. */
|
|
2729
|
-
items: (value:
|
|
2731
|
+
items: (value: RequestParams.PutProductsParametersParams["items"]) => this;
|
|
2730
2732
|
/** Settings */
|
|
2731
|
-
settings: (value:
|
|
2733
|
+
settings: (value: RequestParams.PutProductsParametersParams["settings"]) => this;
|
|
2732
2734
|
/** Parameter ID. */
|
|
2733
2735
|
id: (id: number|string) => this
|
|
2734
2736
|
/** Element text ID - can be entered instead of "id". Recognized save format: "section" (without backslash), "parameter\" (parameter without assigned value). */
|
|
2735
|
-
item_text_ids: (item_text_ids:
|
|
2737
|
+
item_text_ids: (item_text_ids: RequestParams.PutProductsParametersParams["items"][number]["item_text_ids"]) => this
|
|
2736
2738
|
/** Names of section, parameter or value. */
|
|
2737
|
-
names: (names:
|
|
2739
|
+
names: (names: RequestParams.PutProductsParametersParams["items"][number]["names"]) => this
|
|
2738
2740
|
/** Descriptions of section, parameter or value. */
|
|
2739
|
-
descriptions: (descriptions:
|
|
2741
|
+
descriptions: (descriptions: RequestParams.PutProductsParametersParams["items"][number]["descriptions"]) => this
|
|
2740
2742
|
/** Search descriptions of parameter value. */
|
|
2741
|
-
search_description: (search_description:
|
|
2743
|
+
search_description: (search_description: RequestParams.PutProductsParametersParams["items"][number]["search_description"]) => this
|
|
2742
2744
|
/** Icons of section, parameter or value to display on the product card. */
|
|
2743
|
-
card_icons: (card_icons:
|
|
2745
|
+
card_icons: (card_icons: RequestParams.PutProductsParametersParams["items"][number]["card_icons"]) => this
|
|
2744
2746
|
/** Icons of section, parameter or value to display on the list of products. */
|
|
2745
|
-
link_icons: (link_icons:
|
|
2747
|
+
link_icons: (link_icons: RequestParams.PutProductsParametersParams["items"][number]["link_icons"]) => this
|
|
2746
2748
|
/** Parameter's additional feature. 1. Status: context_id = "CONTEXT_STATE" Takes values context_value_id: - CONTEXT_STATE_NEW - New, - CONTEXT_STATE_USED - Used, - CONTEXT_STATE_USED_EXCELLENT - Used - excellent condition - CONTEXT_STATE_USED_VERYGOOD - Used - very good condition - CONTEXT_STATE_USED_CORRECT - Used - good condition - CONTEXT_STATE_USED_ACCEPTABLE - Used - acceptable condition - CONTEXT_STATE_REFURBISHED_EXCELLENT - Refurbished - excellent condition - CONTEXT_STATE_REFURBISHED_VERYGOOD - Refurbished - very good condition - CONTEXT_STATE_REFURBISHED_CORRECT - Refurbished - good condition - CONTEXT_STATE_NEW_OTHERS - New other (see details) - CONTEXT_STATE_NEW_WITH_DEFECTS - New with defects - CONTEXT_STATE_NEW_OEM - New - OEM - CONTEXT_STATE_NEW_OPEN_BOX - New - open box - CONTEXT_STATE_REFURBISHED_BY_PRODUCER - Renewed by a manufacturer, - CONTEXT_STATE_REFURBISHED_BY_SELLER - Renewed by a seller, - CONTEXT_STATE_FOR_PARTS_OR_BROKEN - In parts or damaged. 2. Product weight in grams: context_id = "CONTEXT_STD_UNIT_WEIGHT" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 3. A product's value in milliliters: context_id = "CONTEXT_STD_UNIT_VOLUME" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 4. Sex: context_id = "CONTEXT_SEX" Takes values context_value_id: - CONTEXT_SEX_MAN - Man, - CONTEXT_SEX_WOMAN - Woman, - CONTEXT_SEX_UNISEX - Unisex. 5. Age group: context_id = "CONTEXT_AGE_GROUP" Takes values context_value_id: - CONTEXT_AGE_GROUP_ADULT - Adults, - CONTEXT_AGE_GROUP_MINOR - Children. 6. Maximum number of products in an order: context_id = "CONTEXT_MAX_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 7. Maximum number of products in a wholesale order: context_id = "CONTEXT_MAX_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 8. Minimal number of products in an order: context_id = "CONTEXT_MIN_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 9. Minimum number of products in a wholesale order: context_id = "CONTEXT_MIN_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 10. Maximal number of a single size in an order: context_id = "CONTEXT_MAX_SIZE_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 11. Maximal number of a single size in a wholesale order: context_id = "CONTEXT_MAX_SIZE_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 12. Minimal number of a single size in an order: context_id = "CONTEXT_MIN_SIZE_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 13. Minimal number of a single size in a wholesale order: context_id = "CONTEXT_MIN_SIZE_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 14. Net weight: context_id = "CONTEXT_WEIGHT_NET" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 15. Color: context_id = "CONTEXT_COLOR" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 16. #!TylkoDlaDoroslych!#: context_id = "CONTEXT_ONLY_ADULTS" Takes values context_value_id: - CONTEXT_ONLY_ADULTS_YES - yes, - CONTEXT_ONLY_ADULTS_NO - no. 17. Prescription drug: context_id = "CONTEXT_PRESCRIPTION_MEDICINE" Takes values context_value_id: - CONTEXT_PRESCRIPTION_MEDICINE_YES - yes, - CONTEXT_PRESCRIPTION_MEDICINE_NO - no. 18. Season Rate: context_id = "CONTEXT_SEASON" Takes values context_value_id: - CONTEXT_SEASON_SPRING - Spring, - CONTEXT_SEASON_SUMMER - Summer, - CONTEXT_SEASON_FALL - Autumn, - CONTEXT_SEASON_WINTER - Winter, - CONTEXT_SEASON_SPRING_SUMMER - Spring/Summer, - CONTEXT_SEASON_FALL_WINTER - Autumn/Winter 19. Risk - signal word: context_id = \"CONTEXT_HAZMAT_SIGNAL\" Takes values context_value_id: - CONTEXT_HAZMAT_SIGNAL_DANGER - danger, - CONTEXT_HAZMAT_SIGNAL_WARNING - warnging, - CONTEXT_HAZMAT_SIGNAL_CAUTION - caution, - CONTEXT_HAZMAT_SIGNAL_NOTICE - notice, 20. Risk - warning pictogram context_id = \"CONTEXT_HAZMAT_PICTOGRAM\" Takes values context_value_id: - GHS01, GHS02, GHS03, GHS04, GHS05, GHS06, GHS07, GHS08, GHS09 21. Risk - type of hazard: context_id = \"CONTEXT_HAZMAT_STATEMENT\" Takes values context_value_id: - H200, H201, H202, H203, H204, H205, H220, H221, H222, H223, H224, H225, H226, H228, H240, H241, H242, H250, H251, H252, H260, H261, H270, H271, H272, H280, H281, H290, H300, H301, H302, H304, H310, H311, H312, H314, H315, H317, H318, H319, H330, H331, H332, H334, H335, H336, H340, H341, H350, H351, H360, H361, H362, H370, H371, H372, H373, H400, H410, H411, H412, H413, EUH 001, EUH 014, EUH 018, EUH 019, EUH 044, EUH 029, EUH 031, EUH 032, EUH 066, EUH 070, EUH 071, EUH 201, EUH 201A, EUH 202, EUH 203, EUH 204, EUH 205, EUH 206, EUH 207, EUH 208, EUH 209, EUH 209A, EUH 210, EUH 401 22. Repair score: context_id = \"CONTEXT_REPAIR_SCORE\" Takes values context_value_id: - The value of the additional feature is set automatically based on the parameter's value 23. Safety - information pictogram: context_id = \"CONTEXT_SAFETY_PICTOGRAM\" Takes values context_value_id: - 1 (Not suitable for small children) - 2 (CE mark) 24. Safety - type of warning: context_id = \"CONTEXT_SAFETY_STATEMENT\" Takes values context_value_id: - 1 (Not suitable for children under 3 years) - 2 (Keep out of the reach of children) - 3 (Product contains a button cell or coin battery) - 4 (Use under the direct supervision of adults) - 5 (Required protective gear. Do not use in public traffic) - 6 (Contains toy. Adult supervision recommended) - 7 (To prevent possible injury from entanglement, remove this toy as soon as the child begins to crawl) - 8 (Use only in shallow water under adult supervision) - 9 (Only use under adult supervision) - 10 (This toy does not provide protection) - 11 (Contains fragrances that may cause allergies) - 12 (For household use only). */
|
|
2747
2749
|
context_id: (context_id: string) => this
|
|
2748
2750
|
/** value of additional feature - Values described in context_id. */
|
|
@@ -3416,23 +3418,23 @@ export interface DeleteProductsProductsToPromotionRequest extends Gateway {
|
|
|
3416
3418
|
products: (value: number|string|number[]|string[]) => this;
|
|
3417
3419
|
}
|
|
3418
3420
|
|
|
3419
|
-
export interface PostProductsProductsToPromotionRequest extends Gateway {
|
|
3421
|
+
export interface PostProductsProductsToPromotionRequest extends Gateway<PutProductsMarketingPromotionResponse, RequestParams.PostProductsProductsToPromotionParams> {
|
|
3420
3422
|
/** Special offer ID */
|
|
3421
3423
|
promotionId: (value: number|string) => this;
|
|
3422
3424
|
/** Products list. */
|
|
3423
3425
|
products: (value: number|string|number[]|string[]) => this;
|
|
3424
3426
|
}
|
|
3425
3427
|
|
|
3426
|
-
export interface GetProductsQuestionsRequest extends Gateway {
|
|
3428
|
+
export interface GetProductsQuestionsRequest extends Gateway<GetProductsQuestionsResponse> {
|
|
3427
3429
|
/** Question ID. */
|
|
3428
3430
|
id: (value: number|string) => this;
|
|
3429
3431
|
/** Product IAI code */
|
|
3430
3432
|
productId: (value: number|string) => this;
|
|
3431
3433
|
}
|
|
3432
3434
|
|
|
3433
|
-
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest> {
|
|
3435
|
+
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest, JSObject, RequestParams.PutProductsQuestionsParams> {
|
|
3434
3436
|
/** Question Board. */
|
|
3435
|
-
questions: (value:
|
|
3437
|
+
questions: (value: RequestParams.PutProductsQuestionsParams["questions"]) => this;
|
|
3436
3438
|
/** Question ID. */
|
|
3437
3439
|
id: (id: number|string) => this
|
|
3438
3440
|
/** Language of the question e.g. 'pol', 'eng'. */
|
|
@@ -3448,7 +3450,7 @@ export interface PutProductsQuestionsRequest extends AppendableGateway<PutProduc
|
|
|
3448
3450
|
/** Author. */
|
|
3449
3451
|
author: (author: string) => this
|
|
3450
3452
|
/** Stock keeping unit. */
|
|
3451
|
-
productIdent: (productIdent:
|
|
3453
|
+
productIdent: (productIdent: RequestParams.PutProductsQuestionsParams["questions"][number]["productIdent"]) => this
|
|
3452
3454
|
/** Visibility: "y" - yes, "n" - no */
|
|
3453
3455
|
visible: (visible: 'n'|'y') => this
|
|
3454
3456
|
/** Priority. */
|
|
@@ -3528,15 +3530,15 @@ export interface GetProductsSeriesRequest extends PagableGateway<GetProductsSeri
|
|
|
3528
3530
|
resultsLimit: (value: number|string) => this;
|
|
3529
3531
|
}
|
|
3530
3532
|
|
|
3531
|
-
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest> {
|
|
3533
|
+
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest, PutProductsSeriesResponse, RequestParams.PutProductsSeriesParams> {
|
|
3532
3534
|
/** Series list. */
|
|
3533
|
-
series: (value:
|
|
3535
|
+
series: (value: RequestParams.PutProductsSeriesParams["series"]) => this;
|
|
3534
3536
|
/** Id */
|
|
3535
3537
|
id: (id: number|string) => this
|
|
3536
3538
|
/** Name in panel */
|
|
3537
3539
|
nameInPanel: (nameInPanel: string) => this
|
|
3538
3540
|
/** */
|
|
3539
|
-
shopsConfigurations: (shopsConfigurations:
|
|
3541
|
+
shopsConfigurations: (shopsConfigurations: RequestParams.PutProductsSeriesParams["series"][number]["shopsConfigurations"]) => this
|
|
3540
3542
|
}
|
|
3541
3543
|
|
|
3542
3544
|
export interface DeleteProductsSizesRequest extends AppendableGateway<DeleteProductsSizesRequest> {
|
|
@@ -3557,22 +3559,22 @@ export interface GetProductsSizesRequest extends Gateway<GetProductsSizesRespons
|
|
|
3557
3559
|
page: (pagenumber: number, pageSize?: number) => this;
|
|
3558
3560
|
}
|
|
3559
3561
|
|
|
3560
|
-
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest> {
|
|
3562
|
+
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest, PutProductsSizesResponse, RequestParams.PutProductsSizesParams> {
|
|
3561
3563
|
/** Edition mode */
|
|
3562
3564
|
mode: (value: 'edit'|'add'|'replace') => this;
|
|
3563
3565
|
/** Product parameters recognized by product ID or its sizes */
|
|
3564
|
-
sizesProductsData: (value:
|
|
3566
|
+
sizesProductsData: (value: RequestParams.PutProductsSizesParams["sizesProductsData"]) => this;
|
|
3565
3567
|
/** Product parameters recognized by index */
|
|
3566
|
-
indexesData: (value:
|
|
3568
|
+
indexesData: (value: RequestParams.PutProductsSizesParams["indexesData"]) => this;
|
|
3567
3569
|
/** Product IAI code */
|
|
3568
3570
|
productId: (productId: number|string) => this
|
|
3569
3571
|
/** List of sizes */
|
|
3570
|
-
sizes: (sizes:
|
|
3572
|
+
sizes: (sizes: RequestParams.PutProductsSizesParams["sizesProductsData"][number]["sizes"]) => this
|
|
3571
3573
|
}
|
|
3572
3574
|
|
|
3573
|
-
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest> {
|
|
3575
|
+
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest, PutProductsStockQuantityResponse, RequestParams.PutProductsStockQuantityParams> {
|
|
3574
3576
|
/** Products list. */
|
|
3575
|
-
products: (value:
|
|
3577
|
+
products: (value: RequestParams.PutProductsStockQuantityParams["products"]) => this;
|
|
3576
3578
|
/** Product index */
|
|
3577
3579
|
productIndex: (productIndex: string) => this
|
|
3578
3580
|
/** Product size code producer */
|
|
@@ -3597,17 +3599,17 @@ export interface GetProductsStocksRequest extends Gateway<GetProductsStocksRespo
|
|
|
3597
3599
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3598
3600
|
}
|
|
3599
3601
|
|
|
3600
|
-
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest> {
|
|
3602
|
+
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest, PutProductsStocksResponse, RequestParams.PutProductsStocksParams> {
|
|
3601
3603
|
/** Products list. */
|
|
3602
|
-
products: (value:
|
|
3604
|
+
products: (value: RequestParams.PutProductsStocksParams["products"]) => this;
|
|
3603
3605
|
/** */
|
|
3604
|
-
ident: (ident:
|
|
3606
|
+
ident: (ident: RequestParams.PutProductsStocksParams["products"][number]["ident"]) => this
|
|
3605
3607
|
/** List of sizes */
|
|
3606
|
-
sizes: (sizes:
|
|
3608
|
+
sizes: (sizes: RequestParams.PutProductsStocksParams["products"][number]["sizes"]) => this
|
|
3607
3609
|
/** */
|
|
3608
|
-
settings: (settings:
|
|
3610
|
+
settings: (settings: RequestParams.PutProductsStocksParams["products"][number]["settings"]) => this
|
|
3609
3611
|
/** Error information. */
|
|
3610
|
-
error: (error:
|
|
3612
|
+
error: (error: RequestParams.PutProductsStocksParams["products"][number]["error"]) => this
|
|
3611
3613
|
}
|
|
3612
3614
|
|
|
3613
3615
|
export interface GetProductsStrikethroughPricesRequest extends Gateway<GetProductsStrikethroughPricesResponse> {
|
|
@@ -3618,17 +3620,17 @@ export interface GetProductsStrikethroughPricesRequest extends Gateway<GetProduc
|
|
|
3618
3620
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3619
3621
|
}
|
|
3620
3622
|
|
|
3621
|
-
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest> {
|
|
3623
|
+
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest, JSObject, RequestParams.PutProductsStrikethroughPricesParams> {
|
|
3622
3624
|
/** Products list. */
|
|
3623
|
-
products: (value:
|
|
3625
|
+
products: (value: RequestParams.PutProductsStrikethroughPricesParams["products"]) => this;
|
|
3624
3626
|
/** Identifier type. */
|
|
3625
|
-
ident: (ident:
|
|
3627
|
+
ident: (ident: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["ident"]) => this
|
|
3626
3628
|
/** List of sizes */
|
|
3627
|
-
sizes: (sizes:
|
|
3629
|
+
sizes: (sizes: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["sizes"]) => this
|
|
3628
3630
|
/** */
|
|
3629
|
-
stp_settings: (stp_settings:
|
|
3631
|
+
stp_settings: (stp_settings: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["stp_settings"]) => this
|
|
3630
3632
|
/** Strikethrough price settings for the page. */
|
|
3631
|
-
shops: (shops:
|
|
3633
|
+
shops: (shops: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["shops"]) => this
|
|
3632
3634
|
/** Set product identifiers */
|
|
3633
3635
|
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3634
3636
|
/** Set precise price */
|
|
@@ -3639,22 +3641,22 @@ export interface PutProductsStrikethroughPricesRequest extends AppendableGateway
|
|
|
3639
3641
|
addPricePercent: (value: number, wholesale?: boolean, base?: 'price' | 'price_minimal' | 'price_pos' | 'price_srp' | 'price_crossed') => this;
|
|
3640
3642
|
}
|
|
3641
3643
|
|
|
3642
|
-
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest> {
|
|
3644
|
+
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest, PutProductsSupplierCodeResponse, RequestParams.PutProductsSupplierCodeParams> {
|
|
3643
3645
|
/** Products list. */
|
|
3644
|
-
products: (value:
|
|
3646
|
+
products: (value: RequestParams.PutProductsSupplierCodeParams["products"]) => this;
|
|
3645
3647
|
/** Product IAI code */
|
|
3646
3648
|
productId: (productId: number|string) => this
|
|
3647
3649
|
/** Suppliers data */
|
|
3648
|
-
productDeliverers: (productDeliverers:
|
|
3650
|
+
productDeliverers: (productDeliverers: RequestParams.PutProductsSupplierCodeParams["products"][number]["productDeliverers"]) => this
|
|
3649
3651
|
}
|
|
3650
3652
|
|
|
3651
|
-
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest> {
|
|
3653
|
+
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest, PutProductsSupplierProductDataResponse, RequestParams.PutProductsSupplierProductDataParams> {
|
|
3652
3654
|
/** Products list. */
|
|
3653
|
-
products: (value:
|
|
3655
|
+
products: (value: RequestParams.PutProductsSupplierProductDataParams["products"]) => this;
|
|
3654
3656
|
/** Product IAI code */
|
|
3655
3657
|
productId: (productId: number|string) => this
|
|
3656
3658
|
/** Suppliers data */
|
|
3657
|
-
productDeliverers: (productDeliverers:
|
|
3659
|
+
productDeliverers: (productDeliverers: RequestParams.PutProductsSupplierProductDataParams["products"][number]["productDeliverers"]) => this
|
|
3658
3660
|
}
|
|
3659
3661
|
|
|
3660
3662
|
export interface PostProductsSynchronizationFileRequest extends Gateway {
|
|
@@ -3780,7 +3782,7 @@ export interface GetResponsibilityEntitiesRequest extends PagableGateway<GetResp
|
|
|
3780
3782
|
resultsLimit: (value: number|string) => this;
|
|
3781
3783
|
}
|
|
3782
3784
|
|
|
3783
|
-
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest,
|
|
3785
|
+
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest, PutResponsibilityEntitiesResponse, RequestParams.PostResponsibilityEntitiesParams> {
|
|
3784
3786
|
entities: (value: RequestParams.PostResponsibilityEntitiesParams["entities"]) => this;
|
|
3785
3787
|
/** Type of entity */
|
|
3786
3788
|
type: (value: 'producer'|'person') => this;
|
|
@@ -3812,8 +3814,8 @@ export interface PostResponsibilityEntitiesRequest extends AppendableGateway<Pos
|
|
|
3812
3814
|
url: (url: string) => this
|
|
3813
3815
|
}
|
|
3814
3816
|
|
|
3815
|
-
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest> {
|
|
3816
|
-
entities: (value:
|
|
3817
|
+
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest, PutResponsibilityEntitiesResponse, RequestParams.PutResponsibilityEntitiesParams> {
|
|
3818
|
+
entities: (value: RequestParams.PutResponsibilityEntitiesParams["entities"]) => this;
|
|
3817
3819
|
/** Type of entity */
|
|
3818
3820
|
type: (value: 'producer'|'person') => this;
|
|
3819
3821
|
/** Identificator of the entity. */
|
|
@@ -3923,11 +3925,11 @@ export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest,
|
|
|
3923
3925
|
tryCorrectInvoice: (tryCorrectInvoice: boolean) => this
|
|
3924
3926
|
}
|
|
3925
3927
|
|
|
3926
|
-
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest> {
|
|
3928
|
+
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest, PutReturnsSerialNumberResponse, RequestParams.PutReturnsSerialNumberParams> {
|
|
3927
3929
|
/** Return number. */
|
|
3928
3930
|
return_id: (value: number|string) => this;
|
|
3929
3931
|
/** Products list. */
|
|
3930
|
-
products: (value:
|
|
3932
|
+
products: (value: RequestParams.PutReturnsSerialNumberParams["products"]) => this;
|
|
3931
3933
|
/** Product ID. */
|
|
3932
3934
|
id: (id: number|string) => this
|
|
3933
3935
|
/** Size ID. */
|
|
@@ -3975,7 +3977,7 @@ export interface PutRmaRequest extends AppendableGateway<PutRmaRequest, PutRmaRe
|
|
|
3975
3977
|
rmaChat: (rmaChat: RequestParams.PutRmaParams["rmas"][number]["rmaChat"]) => this
|
|
3976
3978
|
}
|
|
3977
3979
|
|
|
3978
|
-
export interface GetRmaStatusesRequest extends Gateway {}
|
|
3980
|
+
export interface GetRmaStatusesRequest extends Gateway<GetRmaStatusesResponse> {}
|
|
3979
3981
|
|
|
3980
3982
|
export interface GetShopsCurrenciesRequest extends Gateway<GetShopsCurrenciesResponse> {}
|
|
3981
3983
|
|
|
@@ -3999,8 +4001,8 @@ export interface GetSizechartsRequest extends PagableGateway<GetSizechartsReques
|
|
|
3999
4001
|
resultsLimit: (value: number|string) => this;
|
|
4000
4002
|
}
|
|
4001
4003
|
|
|
4002
|
-
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest> {
|
|
4003
|
-
sizeCharts: (value:
|
|
4004
|
+
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest, PutSizechartsResponse, RequestParams.PutSizechartsParams> {
|
|
4005
|
+
sizeCharts: (value: RequestParams.PutSizechartsParams["sizeCharts"]) => this;
|
|
4004
4006
|
/** Id */
|
|
4005
4007
|
id: (id: number|string) => this
|
|
4006
4008
|
/** Name in panel */
|
|
@@ -4008,7 +4010,7 @@ export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsReq
|
|
|
4008
4010
|
/** Display mode */
|
|
4009
4011
|
displayMode: (displayMode: 'single'|'all') => this
|
|
4010
4012
|
/** */
|
|
4011
|
-
languagesData: (languagesData:
|
|
4013
|
+
languagesData: (languagesData: RequestParams.PutSizechartsParams["sizeCharts"][number]["languagesData"]) => this
|
|
4012
4014
|
}
|
|
4013
4015
|
|
|
4014
4016
|
export interface GetSizesRequest extends Gateway<GetSizesResponse> {
|
|
@@ -4016,9 +4018,9 @@ export interface GetSizesRequest extends Gateway<GetSizesResponse> {
|
|
|
4016
4018
|
return_last_changed_time: (value: string) => this;
|
|
4017
4019
|
}
|
|
4018
4020
|
|
|
4019
|
-
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
4021
|
+
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest, PutSizesResponse, RequestParams.PutSizesParams> {
|
|
4020
4022
|
/** Size table. */
|
|
4021
|
-
sizes: (value:
|
|
4023
|
+
sizes: (value: RequestParams.PutSizesParams["sizes"]) => this;
|
|
4022
4024
|
/** Error code. */
|
|
4023
4025
|
faultCode: (faultCode: number|string) => this
|
|
4024
4026
|
/** Error description. */
|
|
@@ -4034,7 +4036,7 @@ export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
|
4034
4036
|
/** Operation type: add, edit, del */
|
|
4035
4037
|
operation: (operation: string) => this
|
|
4036
4038
|
/** */
|
|
4037
|
-
lang_data: (lang_data:
|
|
4039
|
+
lang_data: (lang_data: RequestParams.PutSizesParams["sizes"][number]["lang_data"]) => this
|
|
4038
4040
|
}
|
|
4039
4041
|
|
|
4040
4042
|
export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCampaignRequest, GetSnippetsCampaignResponse> {
|
|
@@ -4050,8 +4052,8 @@ export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCa
|
|
|
4050
4052
|
resultsLimit: (value: number|string) => this;
|
|
4051
4053
|
}
|
|
4052
4054
|
|
|
4053
|
-
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest> {
|
|
4054
|
-
campaigns: (value:
|
|
4055
|
+
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest, CmsCampaignResponse, RequestParams.PostSnippetsCampaignParams> {
|
|
4056
|
+
campaigns: (value: RequestParams.PostSnippetsCampaignParams["campaigns"]) => this;
|
|
4055
4057
|
/** undefined */
|
|
4056
4058
|
id: (id: number|string) => this
|
|
4057
4059
|
/** Snippet campaign name */
|
|
@@ -4065,11 +4067,11 @@ export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnipp
|
|
|
4065
4067
|
/** Snippet order. */
|
|
4066
4068
|
order: (order: number|string) => this
|
|
4067
4069
|
/** undefined */
|
|
4068
|
-
configVariables: (configVariables:
|
|
4070
|
+
configVariables: (configVariables: RequestParams.PostSnippetsCampaignParams["campaigns"][number]["configVariables"]) => this
|
|
4069
4071
|
}
|
|
4070
4072
|
|
|
4071
|
-
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest> {
|
|
4072
|
-
campaigns: (value:
|
|
4073
|
+
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest, CmsResponse, RequestParams.PutSnippetsCampaignParams> {
|
|
4074
|
+
campaigns: (value: RequestParams.PutSnippetsCampaignParams["campaigns"]) => this;
|
|
4073
4075
|
/** Snippet campaign id */
|
|
4074
4076
|
id: (id: number|string) => this
|
|
4075
4077
|
/** Snippet campaign name */
|
|
@@ -4083,7 +4085,7 @@ export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippet
|
|
|
4083
4085
|
/** Snippet order. */
|
|
4084
4086
|
order: (order: number|string) => this
|
|
4085
4087
|
/** undefined */
|
|
4086
|
-
configVariables: (configVariables:
|
|
4088
|
+
configVariables: (configVariables: RequestParams.PutSnippetsCampaignParams["campaigns"][number]["configVariables"]) => this
|
|
4087
4089
|
}
|
|
4088
4090
|
|
|
4089
4091
|
export interface DeleteSnippetsCampaignRequest extends Gateway {
|
|
@@ -4100,8 +4102,8 @@ export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCoo
|
|
|
4100
4102
|
resultsLimit: (value: number|string) => this;
|
|
4101
4103
|
}
|
|
4102
4104
|
|
|
4103
|
-
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest> {
|
|
4104
|
-
cookies: (value:
|
|
4105
|
+
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest, CmsResponse, RequestParams.PostSnippetsCookiesParams> {
|
|
4106
|
+
cookies: (value: RequestParams.PostSnippetsCookiesParams["cookies"]) => this;
|
|
4105
4107
|
/** undefined */
|
|
4106
4108
|
id: (id: number|string) => this
|
|
4107
4109
|
/** Id of the snippet code. */
|
|
@@ -4111,7 +4113,7 @@ export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippe
|
|
|
4111
4113
|
/** Category of the cookie */
|
|
4112
4114
|
category: (category: 'analytics'|'marketing'|'functional') => this
|
|
4113
4115
|
/** Cookie description for each language. */
|
|
4114
|
-
description: (description:
|
|
4116
|
+
description: (description: RequestParams.PostSnippetsCookiesParams["cookies"][number]["description"]) => this
|
|
4115
4117
|
/** Name of the cookie. */
|
|
4116
4118
|
name: (name: string) => this
|
|
4117
4119
|
/** Type of the cookie */
|
|
@@ -4122,8 +4124,8 @@ export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippe
|
|
|
4122
4124
|
lifeTime: (lifeTime: number|string) => this
|
|
4123
4125
|
}
|
|
4124
4126
|
|
|
4125
|
-
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest> {
|
|
4126
|
-
cookies: (value:
|
|
4127
|
+
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest, CmsResponse, RequestParams.PutSnippetsCookiesParams> {
|
|
4128
|
+
cookies: (value: RequestParams.PutSnippetsCookiesParams["cookies"]) => this;
|
|
4127
4129
|
/** undefined */
|
|
4128
4130
|
id: (id: number|string) => this
|
|
4129
4131
|
/** Id of the snippet code. */
|
|
@@ -4133,7 +4135,7 @@ export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippets
|
|
|
4133
4135
|
/** Category of the cookie */
|
|
4134
4136
|
category: (category: 'analytics'|'marketing'|'functional') => this
|
|
4135
4137
|
/** Cookie description for each language. */
|
|
4136
|
-
description: (description:
|
|
4138
|
+
description: (description: RequestParams.PutSnippetsCookiesParams["cookies"][number]["description"]) => this
|
|
4137
4139
|
/** Name of the cookie. */
|
|
4138
4140
|
name: (name: string) => this
|
|
4139
4141
|
/** Type of the cookie */
|
|
@@ -4162,8 +4164,8 @@ export interface GetSnippetsRequest extends PagableGateway<GetSnippetsRequest, G
|
|
|
4162
4164
|
resultsLimit: (value: number|string) => this;
|
|
4163
4165
|
}
|
|
4164
4166
|
|
|
4165
|
-
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest> {
|
|
4166
|
-
snippets: (value:
|
|
4167
|
+
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest, CmsResponse, RequestParams.PostSnippetsParams> {
|
|
4168
|
+
snippets: (value: RequestParams.PostSnippetsParams["snippets"]) => this;
|
|
4167
4169
|
/** undefined */
|
|
4168
4170
|
id: (id: number|string) => this
|
|
4169
4171
|
/** The snippet name. */
|
|
@@ -4173,9 +4175,9 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4173
4175
|
/** Snippet campaign id */
|
|
4174
4176
|
campaign: (campaign: number|string) => this
|
|
4175
4177
|
/** undefined */
|
|
4176
|
-
dateBegin: (dateBegin:
|
|
4178
|
+
dateBegin: (dateBegin: RequestParams.PostSnippetsParams["snippets"][number]["dateBegin"]) => this
|
|
4177
4179
|
/** Filter to control snippet activation. */
|
|
4178
|
-
dateEnd: (dateEnd:
|
|
4180
|
+
dateEnd: (dateEnd: RequestParams.PostSnippetsParams["snippets"][number]["dateEnd"]) => this
|
|
4179
4181
|
/** Code snippet type. */
|
|
4180
4182
|
type: (type: 'html'|'javascript'|'cgi') => this
|
|
4181
4183
|
/** Whether to load contents asynchronously via XHR request. */
|
|
@@ -4189,17 +4191,17 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4189
4191
|
/** The order in which the code snippet will be displayed. */
|
|
4190
4192
|
order: (order: number|string) => this
|
|
4191
4193
|
/** Snippet content for each language. */
|
|
4192
|
-
body: (body:
|
|
4194
|
+
body: (body: RequestParams.PostSnippetsParams["snippets"][number]["body"]) => this
|
|
4193
4195
|
/** undefined */
|
|
4194
|
-
display: (display:
|
|
4196
|
+
display: (display: RequestParams.PostSnippetsParams["snippets"][number]["display"]) => this
|
|
4195
4197
|
/** undefined */
|
|
4196
|
-
pages: (pages:
|
|
4198
|
+
pages: (pages: RequestParams.PostSnippetsParams["snippets"][number]["pages"]) => this
|
|
4197
4199
|
/** Snippet entry source filter. */
|
|
4198
|
-
sources: (sources:
|
|
4200
|
+
sources: (sources: RequestParams.PostSnippetsParams["snippets"][number]["sources"]) => this
|
|
4199
4201
|
}
|
|
4200
4202
|
|
|
4201
|
-
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest> {
|
|
4202
|
-
snippets: (value:
|
|
4203
|
+
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest, CmsResponse, RequestParams.PutSnippetsParams> {
|
|
4204
|
+
snippets: (value: RequestParams.PutSnippetsParams["snippets"]) => this;
|
|
4203
4205
|
/** undefined */
|
|
4204
4206
|
id: (id: number|string) => this
|
|
4205
4207
|
/** The snippet name. */
|
|
@@ -4209,9 +4211,9 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
|
|
|
4209
4211
|
/** Snippet campaign id */
|
|
4210
4212
|
campaign: (campaign: number|string) => this
|
|
4211
4213
|
/** undefined */
|
|
4212
|
-
dateBegin: (dateBegin:
|
|
4214
|
+
dateBegin: (dateBegin: RequestParams.PutSnippetsParams["snippets"][number]["dateBegin"]) => this
|
|
4213
4215
|
/** Filter to control snippet activation. */
|
|
4214
|
-
dateEnd: (dateEnd:
|
|
4216
|
+
dateEnd: (dateEnd: RequestParams.PutSnippetsParams["snippets"][number]["dateEnd"]) => this
|
|
4215
4217
|
/** Code snippet type. */
|
|
4216
4218
|
type: (type: 'html'|'javascript'|'cgi') => this
|
|
4217
4219
|
/** Whether to load contents asynchronously via XHR request. */
|
|
@@ -4225,13 +4227,13 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
|
|
|
4225
4227
|
/** The order in which the code snippet will be displayed. */
|
|
4226
4228
|
order: (order: number|string) => this
|
|
4227
4229
|
/** Snippet content for each language. */
|
|
4228
|
-
body: (body:
|
|
4230
|
+
body: (body: RequestParams.PutSnippetsParams["snippets"][number]["body"]) => this
|
|
4229
4231
|
/** undefined */
|
|
4230
|
-
display: (display:
|
|
4232
|
+
display: (display: RequestParams.PutSnippetsParams["snippets"][number]["display"]) => this
|
|
4231
4233
|
/** undefined */
|
|
4232
|
-
pages: (pages:
|
|
4234
|
+
pages: (pages: RequestParams.PutSnippetsParams["snippets"][number]["pages"]) => this
|
|
4233
4235
|
/** Snippet entry source filter. */
|
|
4234
|
-
sources: (sources:
|
|
4236
|
+
sources: (sources: RequestParams.PutSnippetsParams["snippets"][number]["sources"]) => this
|
|
4235
4237
|
}
|
|
4236
4238
|
|
|
4237
4239
|
export interface DeleteSnippetsRequest extends Gateway {
|
|
@@ -4348,7 +4350,7 @@ export interface GetSystemConfigRequest extends Gateway<GetSystemConfigResponse>
|
|
|
4348
4350
|
|
|
4349
4351
|
export interface PutSystemConfigRequest extends Gateway {
|
|
4350
4352
|
/** Panel settings */
|
|
4351
|
-
panelSettings: (value:
|
|
4353
|
+
panelSettings: (value: RequestParams.PutSystemConfigParams["panelSettings"]) => this;
|
|
4352
4354
|
}
|
|
4353
4355
|
|
|
4354
4356
|
export interface GetSystemCurrenciesRequest extends Gateway<GetSystemCurrenciesResponse> {
|
|
@@ -4358,8 +4360,8 @@ export interface GetSystemCurrenciesRequest extends Gateway<GetSystemCurrenciesR
|
|
|
4358
4360
|
date: (value: string) => this;
|
|
4359
4361
|
}
|
|
4360
4362
|
|
|
4361
|
-
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest> {
|
|
4362
|
-
currencies: (value:
|
|
4363
|
+
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest, PutSystemCurrenciesResponse, RequestParams.PutSystemCurrenciesParams> {
|
|
4364
|
+
currencies: (value: RequestParams.PutSystemCurrenciesParams["currencies"]) => this;
|
|
4363
4365
|
/** Currency code in ISO 4217 standard. */
|
|
4364
4366
|
id: (id: string) => this
|
|
4365
4367
|
/** Currency exchange rate. Maximal value is 10000. */
|
|
@@ -4377,12 +4379,12 @@ export interface PutSystemProcessesAutomationRequest extends Gateway {
|
|
|
4377
4379
|
/** Shop Id */
|
|
4378
4380
|
shopId: (value: number|string) => this;
|
|
4379
4381
|
/** Orders. */
|
|
4380
|
-
orders: (value:
|
|
4382
|
+
orders: (value: RequestParams.PutSystemProcessesAutomationParams["orders"]) => this;
|
|
4381
4383
|
}
|
|
4382
4384
|
|
|
4383
|
-
export interface GetSystemServerLoadRequest extends Gateway {}
|
|
4385
|
+
export interface GetSystemServerLoadRequest extends Gateway<GetSystemServerLoadResponse> {}
|
|
4384
4386
|
|
|
4385
|
-
export interface GetSystemServerTimeRequest extends Gateway {}
|
|
4387
|
+
export interface GetSystemServerTimeRequest extends Gateway<GetSystemServerTimeResponse> {}
|
|
4386
4388
|
|
|
4387
4389
|
export interface GetSystemShopsDataRequest extends Gateway<GetSystemShopsDataResponse> {}
|
|
4388
4390
|
|
|
@@ -4391,8 +4393,8 @@ export interface GetSystemUnitsRequest extends Gateway<GetSystemUnitsResponse> {
|
|
|
4391
4393
|
languagesIds: (value: string|string[]) => this;
|
|
4392
4394
|
}
|
|
4393
4395
|
|
|
4394
|
-
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest> {
|
|
4395
|
-
units: (value:
|
|
4396
|
+
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest, PutSystemUnitsResponse, RequestParams.PutSystemUnitsParams> {
|
|
4397
|
+
units: (value: RequestParams.PutSystemUnitsParams["units"]) => this;
|
|
4396
4398
|
/** #!IdentyfikatorJednostki!# */
|
|
4397
4399
|
id: (id: number|string) => this
|
|
4398
4400
|
/** Name in panel (limit of 30 characters) */
|
|
@@ -4402,7 +4404,7 @@ export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsR
|
|
|
4402
4404
|
/** Visibility */
|
|
4403
4405
|
visible: (visible: boolean) => this
|
|
4404
4406
|
/** Unit names */
|
|
4405
|
-
descriptions: (descriptions:
|
|
4407
|
+
descriptions: (descriptions: RequestParams.PutSystemUnitsParams["units"][number]["descriptions"]) => this
|
|
4406
4408
|
}
|
|
4407
4409
|
|
|
4408
4410
|
export interface GetSystemUsersRequest extends Gateway<GetSystemUsersResponse> {
|
|
@@ -4410,8 +4412,8 @@ export interface GetSystemUsersRequest extends Gateway<GetSystemUsersResponse> {
|
|
|
4410
4412
|
userType: (value: 'all'|'active') => this;
|
|
4411
4413
|
}
|
|
4412
4414
|
|
|
4413
|
-
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest> {
|
|
4414
|
-
vouchers: (value:
|
|
4415
|
+
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest, VouchersResponse, RequestParams.PutVouchersBlockParams> {
|
|
4416
|
+
vouchers: (value: RequestParams.PutVouchersBlockParams["vouchers"]) => this;
|
|
4415
4417
|
/** Voucher ID */
|
|
4416
4418
|
id: (id: number|string) => this
|
|
4417
4419
|
/** Number. */
|
|
@@ -4425,8 +4427,8 @@ export interface GetVouchersTypesRequest extends PagableGateway<GetVouchersTypes
|
|
|
4425
4427
|
resultsLimit: (value: number|string) => this;
|
|
4426
4428
|
}
|
|
4427
4429
|
|
|
4428
|
-
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest> {
|
|
4429
|
-
vouchers: (value:
|
|
4430
|
+
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest, VouchersResponse, RequestParams.PutVouchersUnblockParams> {
|
|
4431
|
+
vouchers: (value: RequestParams.PutVouchersUnblockParams["vouchers"]) => this;
|
|
4430
4432
|
/** Voucher ID */
|
|
4431
4433
|
id: (id: number|string) => this
|
|
4432
4434
|
/** Number. */
|
|
@@ -4485,9 +4487,9 @@ export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest, G
|
|
|
4485
4487
|
numbers: (values: number|string|number[]|string[]) => this;
|
|
4486
4488
|
}
|
|
4487
4489
|
|
|
4488
|
-
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest> {
|
|
4490
|
+
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest, VouchersResponse, RequestParams.PostVouchersParams> {
|
|
4489
4491
|
/** List of vouchers to add */
|
|
4490
|
-
vouchers: (value:
|
|
4492
|
+
vouchers: (value: RequestParams.PostVouchersParams["vouchers"]) => this;
|
|
4491
4493
|
/** Gift voucher type id */
|
|
4492
4494
|
typeId: (typeId: number|string) => this
|
|
4493
4495
|
/** Number. */
|
|
@@ -4497,16 +4499,16 @@ export interface PostVouchersRequest extends AppendableGateway<PostVouchersReque
|
|
|
4497
4499
|
/** Voucher expiration date */
|
|
4498
4500
|
expirationDate: (expirationDate: string) => this
|
|
4499
4501
|
/** Voucher balance */
|
|
4500
|
-
balance: (balance:
|
|
4502
|
+
balance: (balance: RequestParams.PostVouchersParams["vouchers"][number]["balance"]) => this
|
|
4501
4503
|
/** List of shops the voucher is active in */
|
|
4502
4504
|
shops: (shops: number|string|number[]|string[]) => this
|
|
4503
4505
|
/** */
|
|
4504
4506
|
note: (note: string) => this
|
|
4505
4507
|
}
|
|
4506
4508
|
|
|
4507
|
-
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest> {
|
|
4509
|
+
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest, PutVouchersResponse, RequestParams.PutVouchersParams> {
|
|
4508
4510
|
/** List of vouchers to edit */
|
|
4509
|
-
vouchers: (value:
|
|
4511
|
+
vouchers: (value: RequestParams.PutVouchersParams["vouchers"]) => this;
|
|
4510
4512
|
/** Voucher ID */
|
|
4511
4513
|
id: (id: number|string) => this
|
|
4512
4514
|
/** Number. */
|
|
@@ -4518,7 +4520,7 @@ export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest
|
|
|
4518
4520
|
/** Balance operation type, possible values: - set - balance positioning of funds, - add - add funds to balance, - subtract - subtract funds from balance. */
|
|
4519
4521
|
balanceOperationType: (balanceOperationType: 'set'|'add'|'subtract') => this
|
|
4520
4522
|
/** Voucher balance */
|
|
4521
|
-
balance: (balance:
|
|
4523
|
+
balance: (balance: RequestParams.PutVouchersParams["vouchers"][number]["balance"]) => this
|
|
4522
4524
|
/** List of shops the voucher is active in */
|
|
4523
4525
|
shops: (shops: number|string|number[]|string[]) => this
|
|
4524
4526
|
/** */
|
|
@@ -4527,16 +4529,16 @@ export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest
|
|
|
4527
4529
|
status: (status: 'used'|'unused') => this
|
|
4528
4530
|
}
|
|
4529
4531
|
|
|
4530
|
-
export interface GetWarrantiesCountTotalRequest extends Gateway {
|
|
4532
|
+
export interface GetWarrantiesCountTotalRequest extends Gateway<GetWarrantiesCountTotalResponse> {
|
|
4531
4533
|
warranty_ids: (value: string|string[]) => this;
|
|
4532
4534
|
}
|
|
4533
4535
|
|
|
4534
|
-
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest> {
|
|
4535
|
-
lang_data: (value:
|
|
4536
|
+
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest, PutWarrantiesLanguageDataResponse, RequestParams.PutWarrantiesLanguageDataParams> {
|
|
4537
|
+
lang_data: (value: RequestParams.PutWarrantiesLanguageDataParams["lang_data"]) => this;
|
|
4536
4538
|
/** Warranty ID (numeric or text based). */
|
|
4537
4539
|
warranty_id: (warranty_id: string) => this
|
|
4538
4540
|
/** */
|
|
4539
|
-
lang: (lang:
|
|
4541
|
+
lang: (lang: RequestParams.PutWarrantiesLanguageDataParams["lang_data"][number]["lang"]) => this
|
|
4540
4542
|
}
|
|
4541
4543
|
|
|
4542
4544
|
export interface DeleteWarrantiesRequest extends Gateway {
|
|
@@ -4552,8 +4554,8 @@ export interface GetWarrantiesRequest extends PagableGateway<GetWarrantiesReques
|
|
|
4552
4554
|
results_order: (value: JSObject) => this;
|
|
4553
4555
|
}
|
|
4554
4556
|
|
|
4555
|
-
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest> {
|
|
4556
|
-
warranties: (value:
|
|
4557
|
+
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest, PutWarrantiesResponse, RequestParams.PostWarrantiesParams> {
|
|
4558
|
+
warranties: (value: RequestParams.PostWarrantiesParams["warranties"]) => this;
|
|
4557
4559
|
/** Name. */
|
|
4558
4560
|
name: (name: string) => this
|
|
4559
4561
|
/** */
|
|
@@ -4561,13 +4563,13 @@ export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesR
|
|
|
4561
4563
|
/** Warranty time. Default value 12. */
|
|
4562
4564
|
period: (period: number|string) => this
|
|
4563
4565
|
/** Name of warranty. */
|
|
4564
|
-
shopname: (shopname:
|
|
4566
|
+
shopname: (shopname: RequestParams.PostWarrantiesParams["warranties"][number]["shopname"]) => this
|
|
4565
4567
|
/** Warranty description. */
|
|
4566
|
-
description: (description:
|
|
4568
|
+
description: (description: RequestParams.PostWarrantiesParams["warranties"][number]["description"]) => this
|
|
4567
4569
|
}
|
|
4568
4570
|
|
|
4569
|
-
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest> {
|
|
4570
|
-
warranties: (value:
|
|
4571
|
+
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest, PutWarrantiesResponse, RequestParams.PutWarrantiesParams> {
|
|
4572
|
+
warranties: (value: RequestParams.PutWarrantiesParams["warranties"]) => this;
|
|
4571
4573
|
/** Warranty ID (numeric or text based). */
|
|
4572
4574
|
id: (id: string) => this
|
|
4573
4575
|
/** Name. */
|
|
@@ -4660,7 +4662,7 @@ export interface PostWmsStocksdocumentsDocumentsRequest extends Gateway<PostWmsS
|
|
|
4660
4662
|
queueType: (value: 'fifo'|'lifo') => this;
|
|
4661
4663
|
}
|
|
4662
4664
|
|
|
4663
|
-
export interface PutWmsStocksdocumentsDocumentsRequest extends Gateway {
|
|
4665
|
+
export interface PutWmsStocksdocumentsDocumentsRequest extends Gateway<PutWmsStocksdocumentsDocumentsResponse, RequestParams.PutWmsStocksdocumentsDocumentsParams> {
|
|
4664
4666
|
/** Document identifier. */
|
|
4665
4667
|
stockDocumentId: (value: number|string) => this;
|
|
4666
4668
|
/** Document type. Available values: "pz" - goods received note (GRN), "pw" - internal delivery note (IDN), "px" - goods received correction note (GRX), "rx" - goods despatch note (GRN) , "rw" - goods issued note (GIN), "mm" - inter-warehouse transfer. */
|
|
@@ -4702,7 +4704,7 @@ export interface PutWmsStocksdocumentsDocumentsRequest extends Gateway {
|
|
|
4702
4704
|
verificationUser: (value: string) => this;
|
|
4703
4705
|
}
|
|
4704
4706
|
|
|
4705
|
-
export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGateway<GetWmsStocksdocumentsOpenedDocumentsRequest> {
|
|
4707
|
+
export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGateway<GetWmsStocksdocumentsOpenedDocumentsRequest, GetWmsStocksdocumentsOpenedDocumentsResponse> {
|
|
4706
4708
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
4707
4709
|
status: (value: 'open'|'on_the_way'|'all') => this;
|
|
4708
4710
|
/** Target 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>. */
|
|
@@ -4741,7 +4743,7 @@ export interface GetWmsStocksdocumentsProductsRequest extends PagableGateway<Get
|
|
|
4741
4743
|
results_limit: (value: number|string) => this;
|
|
4742
4744
|
}
|
|
4743
4745
|
|
|
4744
|
-
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest,
|
|
4746
|
+
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest, PutWmsStocksdocumentsProductsResponse, RequestParams.PostWmsStocksdocumentsProductsParams> {
|
|
4745
4747
|
/** Products list. */
|
|
4746
4748
|
products: (value: RequestParams.PostWmsStocksdocumentsProductsParams["products"]) => this;
|
|
4747
4749
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4808,8 +4810,8 @@ export interface GetWmsSuppliersRequest extends PagableGateway<GetWmsSuppliersRe
|
|
|
4808
4810
|
ids: (value: number|string|number[]|string[]) => this;
|
|
4809
4811
|
}
|
|
4810
4812
|
|
|
4811
|
-
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest> {
|
|
4812
|
-
suppliers: (value:
|
|
4813
|
+
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest, PutWmsSuppliersResponse, RequestParams.PutWmsSuppliersParams> {
|
|
4814
|
+
suppliers: (value: RequestParams.PutWmsSuppliersParams["suppliers"]) => this;
|
|
4813
4815
|
/** Id */
|
|
4814
4816
|
id: (id: number|string) => this
|
|
4815
4817
|
/** Name. */
|
|
@@ -4831,13 +4833,13 @@ export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSupplier
|
|
|
4831
4833
|
/** VAT no.. (limit of 13 characters) */
|
|
4832
4834
|
taxCode: (taxCode: string) => this
|
|
4833
4835
|
/** Average delivery time */
|
|
4834
|
-
averageDeliveryTime: (averageDeliveryTime:
|
|
4836
|
+
averageDeliveryTime: (averageDeliveryTime: RequestParams.PutWmsSuppliersParams["suppliers"][number]["averageDeliveryTime"]) => this
|
|
4835
4837
|
/** Description. (limit of 255 characters) */
|
|
4836
4838
|
description: (description: string) => this
|
|
4837
4839
|
/** Order preparation time for shipment */
|
|
4838
|
-
orderCompletionTime: (orderCompletionTime:
|
|
4840
|
+
orderCompletionTime: (orderCompletionTime: RequestParams.PutWmsSuppliersParams["suppliers"][number]["orderCompletionTime"]) => this
|
|
4839
4841
|
/** Supplier working hours */
|
|
4840
|
-
workDays: (workDays:
|
|
4842
|
+
workDays: (workDays: RequestParams.PutWmsSuppliersParams["suppliers"][number]["workDays"]) => this
|
|
4841
4843
|
}
|
|
4842
4844
|
|
|
4843
4845
|
export interface Gateways {
|