idosell 0.4.3 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.d.ts +6 -1
- package/dist/gateways.d.ts +348 -338
- package/dist/helpers.js +17 -0
- package/dist/methods/getPackagesLabels.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/methods/searchOrders.js +1 -1
- package/dist/reqparams.d.ts +3269 -0
- package/dist/responses.d.ts +7062 -5408
- package/package.json +2 -2
- 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. */
|
|
@@ -36,9 +36,9 @@ export interface PostClientsBalanceRequest extends Gateway {
|
|
|
36
36
|
/** Order payment identifier. */
|
|
37
37
|
prepaidId: (value: number|string) => this;
|
|
38
38
|
/** Adds value to client balance */
|
|
39
|
-
add: (balance: number, currency
|
|
39
|
+
add: (balance: number, currency?: string) => this;
|
|
40
40
|
/** Subtracts value to client balance */
|
|
41
|
-
remove: (balance: number, currency
|
|
41
|
+
remove: (balance: number, currency?: string) => this;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export interface GetClientsRequest extends PagableGateway<GetClientsRequest, GetClientsResponse> {
|
|
@@ -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,17 +432,17 @@ 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
|
/** */
|
|
439
439
|
note: (note: string) => this
|
|
440
440
|
/** Adds balance to current gift card */
|
|
441
|
-
add: (amount: number, currency
|
|
441
|
+
add: (amount: number, currency?: string) => this;
|
|
442
442
|
/** Subtract from balance to current gift card */
|
|
443
|
-
subtract: (amount: number, currency
|
|
443
|
+
subtract: (amount: number, currency?: string) => this;
|
|
444
444
|
/** Set balance to current gift card */
|
|
445
|
-
set: (amount: number, currency
|
|
445
|
+
set: (amount: number, currency?: string) => this;
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
export interface SearchClientsGiftcardsRequest extends Gateway<SearchClientsGiftcardsResponse, RequestParams.SearchClientsGiftcardsParams> {
|
|
@@ -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. */
|
|
@@ -1552,7 +1552,7 @@ export interface PostOrdersImagesRequest extends AppendableGateway<PostOrdersIma
|
|
|
1552
1552
|
orderSerialNumber: (value: number|string) => this;
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
|
-
export interface GetOrdersLabelsRequest extends Gateway {
|
|
1555
|
+
export interface GetOrdersLabelsRequest extends Gateway<GetOrdersLabelsResponse> {
|
|
1556
1556
|
/** Order serial number. */
|
|
1557
1557
|
orderSerialNumber: (value: number|string) => this;
|
|
1558
1558
|
}
|
|
@@ -1580,10 +1580,10 @@ export interface SearchOrdersOpinionsRequest extends PagableGateway<SearchOrders
|
|
|
1580
1580
|
/** Define range of dates */
|
|
1581
1581
|
dates: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
1582
1582
|
/** Define ordering of records */
|
|
1583
|
-
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending
|
|
1583
|
+
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending?: boolean) => this;
|
|
1584
1584
|
}
|
|
1585
1585
|
|
|
1586
|
-
export interface GetOrdersOpinionsRateRequest extends Gateway {
|
|
1586
|
+
export interface GetOrdersOpinionsRateRequest extends Gateway<GetOrdersOpinionsRateResponse> {
|
|
1587
1587
|
id: (value: number|string) => this;
|
|
1588
1588
|
operation: (value: 'positive'|'negative') => this;
|
|
1589
1589
|
}
|
|
@@ -1759,12 +1759,18 @@ export interface SearchOrdersRequest extends PagableGateway<SearchOrdersRequest,
|
|
|
1759
1759
|
orderExternalId: (value: string) => this;
|
|
1760
1760
|
/** Order currency */
|
|
1761
1761
|
orderCurrency: (value: string) => this;
|
|
1762
|
+
/** Subscription id */
|
|
1763
|
+
subscription: (value: number|string) => this;
|
|
1764
|
+
/** Subscription ids */
|
|
1765
|
+
subscriptionIds: (value: number|string|number[]|string[]) => this;
|
|
1766
|
+
/** Orders from subscriptions */
|
|
1767
|
+
subscriptionsOrders: (value: 'y'|'n') => this;
|
|
1762
1768
|
shopIds: (value: number|string|number[]|string[]) => this;
|
|
1763
1769
|
byPackageNumbers: (value: string|string[]) => this;
|
|
1764
1770
|
/** Define range of dates and their type */
|
|
1765
|
-
dates: (dateFrom: DateLike, dateTo: DateLike, type
|
|
1771
|
+
dates: (dateFrom: DateLike, dateTo: DateLike, type?: "add"|"modified"|"dispatch"|"payment"|"last_payments_operation"|"declared_payments") => this;
|
|
1766
1772
|
/** Define ordering of records */
|
|
1767
|
-
orderBy: (elementName: "id"|"sn"|"order_time"|"status"|"order_source"|"order_cost"|"discount_code"|"ready_to_send_date", descending
|
|
1773
|
+
orderBy: (elementName: "id"|"sn"|"order_time"|"status"|"order_source"|"order_cost"|"discount_code"|"ready_to_send_date", descending?: boolean) => this;
|
|
1768
1774
|
/** Define clients values by passing them as an array */
|
|
1769
1775
|
logins: (values: string|string[]) => this;
|
|
1770
1776
|
/** Define clients values by passing them as an array */
|
|
@@ -1780,13 +1786,13 @@ export interface SearchOrdersRequest extends PagableGateway<SearchOrdersRequest,
|
|
|
1780
1786
|
/** Filter orders that contain select product */
|
|
1781
1787
|
hasProduct: (productId: number|string, sizeId?: number|string) => this;
|
|
1782
1788
|
/** Filter orders that have package */
|
|
1783
|
-
hasPackage: (orderHasPackage
|
|
1789
|
+
hasPackage: (orderHasPackage?: boolean) => this;
|
|
1784
1790
|
/** Filter orders by an any or selected Allegro account */
|
|
1785
1791
|
fromAllegro: (allegroAccount?: string) => this;
|
|
1786
1792
|
/** Filter orders by an any or selected Amazon account */
|
|
1787
|
-
fromAmazon: (
|
|
1793
|
+
fromAmazon: (amazonAccount?: string) => this;
|
|
1788
1794
|
/** Filter orders by an any or selected EBay account */
|
|
1789
|
-
fromEbay: (
|
|
1795
|
+
fromEbay: (ebayAccount?: string) => this;
|
|
1790
1796
|
}
|
|
1791
1797
|
|
|
1792
1798
|
export interface GetOrdersPackagesRequest extends Gateway<GetOrdersPackagesResponse> {
|
|
@@ -1802,29 +1808,29 @@ export interface GetOrdersPackagesRequest extends Gateway<GetOrdersPackagesRespo
|
|
|
1802
1808
|
returnLabels: (value: boolean) => this;
|
|
1803
1809
|
}
|
|
1804
1810
|
|
|
1805
|
-
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest> {
|
|
1811
|
+
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest, PutOrdersPackagesResponse, RequestParams.PostOrdersPackagesParams> {
|
|
1806
1812
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1807
|
-
orderPackages: (value:
|
|
1813
|
+
orderPackages: (value: RequestParams.PostOrdersPackagesParams["orderPackages"]) => this;
|
|
1808
1814
|
/** Id. */
|
|
1809
1815
|
eventId: (eventId: string) => this
|
|
1810
1816
|
/** Type. */
|
|
1811
1817
|
eventType: (eventType: 'order'|'rma'|'return') => this
|
|
1812
1818
|
/** Information on consignments. */
|
|
1813
|
-
packages: (packages:
|
|
1819
|
+
packages: (packages: RequestParams.PostOrdersPackagesParams["orderPackages"][number]["packages"]) => this
|
|
1814
1820
|
}
|
|
1815
1821
|
|
|
1816
|
-
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest> {
|
|
1822
|
+
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest, PutOrdersPackagesResponse, RequestParams.PutOrdersPackagesParams> {
|
|
1817
1823
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1818
|
-
orderPackages: (value:
|
|
1824
|
+
orderPackages: (value: RequestParams.PutOrdersPackagesParams["orderPackages"]) => this;
|
|
1819
1825
|
/** Id. */
|
|
1820
1826
|
eventId: (eventId: string) => this
|
|
1821
1827
|
/** Type. */
|
|
1822
1828
|
eventType: (eventType: 'order'|'rma'|'return') => this
|
|
1823
1829
|
/** Information on consignments. */
|
|
1824
|
-
packages: (packages:
|
|
1830
|
+
packages: (packages: RequestParams.PutOrdersPackagesParams["orderPackages"][number]["packages"]) => this
|
|
1825
1831
|
}
|
|
1826
1832
|
|
|
1827
|
-
export interface PutOrdersPickupPointRequest extends Gateway {
|
|
1833
|
+
export interface PutOrdersPickupPointRequest extends Gateway<PutOrdersCourierResponse, RequestParams.PutOrdersPickupPointParams> {
|
|
1828
1834
|
/** Order serial number. */
|
|
1829
1835
|
orderSerialNumber: (value: number|string) => this;
|
|
1830
1836
|
/** Collection point ID. */
|
|
@@ -1840,24 +1846,24 @@ export interface GetOrdersPrinterDocumentsRequest extends Gateway {
|
|
|
1840
1846
|
skipNotGeneratedDocument: (value: boolean) => this;
|
|
1841
1847
|
}
|
|
1842
1848
|
|
|
1843
|
-
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest> {
|
|
1849
|
+
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest, PutOrdersProductsSerialNumbersResponse, RequestParams.PutOrdersProductsSerialNumbersParams> {
|
|
1844
1850
|
/** Orders. */
|
|
1845
|
-
orders: (value:
|
|
1851
|
+
orders: (value: RequestParams.PutOrdersProductsSerialNumbersParams["orders"]) => this;
|
|
1846
1852
|
/** Order serial number. */
|
|
1847
1853
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
1848
1854
|
/** Products list. */
|
|
1849
|
-
orderProducts: (orderProducts:
|
|
1855
|
+
orderProducts: (orderProducts: RequestParams.PutOrdersProductsSerialNumbersParams["orders"][number]["orderProducts"]) => this
|
|
1850
1856
|
}
|
|
1851
1857
|
|
|
1852
|
-
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest> {
|
|
1858
|
+
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest, PutOrdersProfitMarginResponse, RequestParams.PutOrdersProfitMarginParams> {
|
|
1853
1859
|
/** Orders. */
|
|
1854
|
-
orders: (value:
|
|
1860
|
+
orders: (value: RequestParams.PutOrdersProfitMarginParams["orders"]) => this;
|
|
1855
1861
|
/** Order serial number. */
|
|
1856
1862
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
1857
1863
|
/** Products list. */
|
|
1858
|
-
products: (products:
|
|
1864
|
+
products: (products: RequestParams.PutOrdersProfitMarginParams["orders"][number]["products"]) => this
|
|
1859
1865
|
/** Information on error that occurred during gate call. */
|
|
1860
|
-
errors: (errors:
|
|
1866
|
+
errors: (errors: RequestParams.PutOrdersProfitMarginParams["orders"][number]["errors"]) => this
|
|
1861
1867
|
/** Flag marking errors in the result. */
|
|
1862
1868
|
isProductsErrors: (isProductsErrors: boolean) => this
|
|
1863
1869
|
}
|
|
@@ -1932,9 +1938,9 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
|
|
|
1932
1938
|
shopIds: (value: number|string|number[]|string[]) => this;
|
|
1933
1939
|
byPackageNumbers: (value: string|string[]) => this;
|
|
1934
1940
|
/** Define range of dates and their type */
|
|
1935
|
-
dates: (dateFrom: DateLike, dateTo: DateLike, type
|
|
1941
|
+
dates: (dateFrom: DateLike, dateTo: DateLike, type?: "add"|"modified"|"dispatch"|"payment"|"last_payments_operation"|"declared_payments") => this;
|
|
1936
1942
|
/** Define ordering of records */
|
|
1937
|
-
orderBy: (elementName: "id"|"sn"|"order_time"|"status"|"order_source"|"order_cost"|"discount_code"|"ready_to_send_date", descending
|
|
1943
|
+
orderBy: (elementName: "id"|"sn"|"order_time"|"status"|"order_source"|"order_cost"|"discount_code"|"ready_to_send_date", descending?: boolean) => this;
|
|
1938
1944
|
/** Define clients values by passing them as an array */
|
|
1939
1945
|
logins: (values: string|string[]) => this;
|
|
1940
1946
|
/** Define clients values by passing them as an array */
|
|
@@ -1950,16 +1956,16 @@ export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrde
|
|
|
1950
1956
|
/** Filter orders that contain select product */
|
|
1951
1957
|
hasProduct: (productId: number|string, sizeId?: number|string) => this;
|
|
1952
1958
|
/** Filter orders that have package */
|
|
1953
|
-
hasPackage: (orderHasPackage
|
|
1959
|
+
hasPackage: (orderHasPackage?: boolean) => this;
|
|
1954
1960
|
/** Filter orders by an any or selected Allegro account */
|
|
1955
1961
|
fromAllegro: (allegroAccount?: string) => this;
|
|
1956
1962
|
/** Filter orders by an any or selected Amazon account */
|
|
1957
|
-
fromAmazon: (
|
|
1963
|
+
fromAmazon: (amazonAccount?: string) => this;
|
|
1958
1964
|
/** Filter orders by an any or selected EBay account */
|
|
1959
|
-
fromEbay: (
|
|
1965
|
+
fromEbay: (ebayAccount?: string) => this;
|
|
1960
1966
|
}
|
|
1961
1967
|
|
|
1962
|
-
export interface GetOrdersWarehouseRequest extends Gateway {
|
|
1968
|
+
export interface GetOrdersWarehouseRequest extends Gateway<GetOrdersWarehouseResponse> {
|
|
1963
1969
|
/** Order serial number. */
|
|
1964
1970
|
orderSerialNumber: (value: number|string) => this;
|
|
1965
1971
|
}
|
|
@@ -1975,7 +1981,7 @@ export interface PutOrdersWarehouseRequest extends Gateway {
|
|
|
1975
1981
|
externalStockId: (value: 'amazonde'|'amazones'|'amazonfr'|'amazonit'|'amazoncouk'|'amazonnl'|'amazonse'|'amazoncomtr'|'amazonae'|'amazonus'|'amazonpl') => this;
|
|
1976
1982
|
}
|
|
1977
1983
|
|
|
1978
|
-
export interface GetPackagesLabelsRequest extends Gateway<
|
|
1984
|
+
export interface GetPackagesLabelsRequest extends Gateway<GetOrdersLabelsResponse> {
|
|
1979
1985
|
/** Id. */
|
|
1980
1986
|
eventId: (value: number|string) => this;
|
|
1981
1987
|
/** Event type */
|
|
@@ -1999,28 +2005,32 @@ export interface PostPackagesLabelsRequest extends AppendableGateway<PostPackage
|
|
|
1999
2005
|
parcelParametersByPackages: (value: RequestParams.PostPackagesLabelsParams["parcelParametersByPackages"]) => this;
|
|
2000
2006
|
/** Package ID in system. */
|
|
2001
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;
|
|
2002
2012
|
}
|
|
2003
2013
|
|
|
2004
|
-
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest> {
|
|
2014
|
+
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest, PutPackagesResponse, RequestParams.PostPackagesParams> {
|
|
2005
2015
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
2006
|
-
orderPackages: (value:
|
|
2016
|
+
orderPackages: (value: RequestParams.PostPackagesParams["orderPackages"]) => this;
|
|
2007
2017
|
/** Order ID. */
|
|
2008
2018
|
orderId: (orderId: string) => this
|
|
2009
2019
|
/** Order type. Allowed values. "retail" - retail order, "wholesale" - wholesale order (can be added only by customer with wholesale account registered). Default value:: "retail" */
|
|
2010
2020
|
orderType: (orderType: 'order'|'rma'|'return') => this
|
|
2011
2021
|
/** Information on consignments. */
|
|
2012
|
-
packages: (packages:
|
|
2022
|
+
packages: (packages: RequestParams.PostPackagesParams["orderPackages"][number]["packages"]) => this
|
|
2013
2023
|
}
|
|
2014
2024
|
|
|
2015
|
-
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest> {
|
|
2025
|
+
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest, PutPackagesResponse, RequestParams.PutPackagesParams> {
|
|
2016
2026
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
2017
|
-
orderPackages: (value:
|
|
2027
|
+
orderPackages: (value: RequestParams.PutPackagesParams["orderPackages"]) => this;
|
|
2018
2028
|
/** Order ID. */
|
|
2019
2029
|
orderId: (orderId: string) => this
|
|
2020
2030
|
/** Order type. Allowed values. "retail" - retail order, "wholesale" - wholesale order (can be added only by customer with wholesale account registered). Default value:: "retail" */
|
|
2021
2031
|
orderType: (orderType: 'order'|'rma'|'return') => this
|
|
2022
2032
|
/** Information on consignments. */
|
|
2023
|
-
packages: (packages:
|
|
2033
|
+
packages: (packages: RequestParams.PutPackagesParams["orderPackages"][number]["packages"]) => this
|
|
2024
2034
|
}
|
|
2025
2035
|
|
|
2026
2036
|
export interface SearchPackagesRequest extends AppendableGateway<SearchPackagesRequest, SearchPackagesResponse, RequestParams.SearchPackagesParams> {
|
|
@@ -2066,7 +2076,7 @@ export interface PutPaymentsConfirmRequest extends Gateway {
|
|
|
2066
2076
|
accountingDate: (value: string) => this;
|
|
2067
2077
|
}
|
|
2068
2078
|
|
|
2069
|
-
export interface GetPaymentsFormsRequest extends Gateway {
|
|
2079
|
+
export interface GetPaymentsFormsRequest extends Gateway<GetPaymentsFormsResponse> {
|
|
2070
2080
|
/** Return only active forms of payment. */
|
|
2071
2081
|
activeOnly: (value: 'yes'|'no') => this;
|
|
2072
2082
|
}
|
|
@@ -2113,12 +2123,12 @@ export interface PutPaymentsRequest extends Gateway {
|
|
|
2113
2123
|
account: (value: string) => this;
|
|
2114
2124
|
/** Data of customer account in store. */
|
|
2115
2125
|
clientAccount: (value: string) => this;
|
|
2116
|
-
other: (value:
|
|
2126
|
+
other: (value: RequestParams.PutPaymentsParams["other"]) => this;
|
|
2117
2127
|
/** Transaction ID in external service */
|
|
2118
2128
|
externalPaymentId: (value: string) => this;
|
|
2119
2129
|
}
|
|
2120
2130
|
|
|
2121
|
-
export interface GetPaymentsProfilesRequest extends PagableGateway<GetPaymentsProfilesRequest> {
|
|
2131
|
+
export interface GetPaymentsProfilesRequest extends PagableGateway<GetPaymentsProfilesRequest, GetPaymentsProfilesResponse> {
|
|
2122
2132
|
/** Page with results number. Numeration starts from 0 */
|
|
2123
2133
|
resultsPage: (value: number|string) => this;
|
|
2124
2134
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -2226,28 +2236,28 @@ export interface GetProductsBrandsRequest extends PagableGateway<GetProductsBran
|
|
|
2226
2236
|
languagesIds: (value: string|string[]) => this;
|
|
2227
2237
|
}
|
|
2228
2238
|
|
|
2229
|
-
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest> {
|
|
2239
|
+
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest, PutProductsBrandsResponse, RequestParams.PostProductsBrandsParams> {
|
|
2230
2240
|
/** List of manufacturers assigned to sought products. */
|
|
2231
|
-
producers: (value:
|
|
2241
|
+
producers: (value: RequestParams.PostProductsBrandsParams["producers"]) => this;
|
|
2232
2242
|
/** Name in panel */
|
|
2233
2243
|
nameInPanel: (nameInPanel: string) => this
|
|
2234
2244
|
/** */
|
|
2235
|
-
imagesSettings: (imagesSettings:
|
|
2245
|
+
imagesSettings: (imagesSettings: RequestParams.PostProductsBrandsParams["producers"][number]["imagesSettings"]) => this
|
|
2236
2246
|
/** */
|
|
2237
|
-
languagesConfigurations: (languagesConfigurations:
|
|
2247
|
+
languagesConfigurations: (languagesConfigurations: RequestParams.PostProductsBrandsParams["producers"][number]["languagesConfigurations"]) => this
|
|
2238
2248
|
}
|
|
2239
2249
|
|
|
2240
|
-
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest> {
|
|
2250
|
+
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest, PutProductsBrandsResponse, RequestParams.PutProductsBrandsParams> {
|
|
2241
2251
|
/** List of manufacturers assigned to sought products. */
|
|
2242
|
-
producers: (value:
|
|
2252
|
+
producers: (value: RequestParams.PutProductsBrandsParams["producers"]) => this;
|
|
2243
2253
|
/** Id */
|
|
2244
2254
|
id: (id: number|string) => this
|
|
2245
2255
|
/** Name in panel */
|
|
2246
2256
|
nameInPanel: (nameInPanel: string) => this
|
|
2247
2257
|
/** */
|
|
2248
|
-
imagesSettings: (imagesSettings:
|
|
2258
|
+
imagesSettings: (imagesSettings: RequestParams.PutProductsBrandsParams["producers"][number]["imagesSettings"]) => this
|
|
2249
2259
|
/** */
|
|
2250
|
-
languagesConfigurations: (languagesConfigurations:
|
|
2260
|
+
languagesConfigurations: (languagesConfigurations: RequestParams.PutProductsBrandsParams["producers"][number]["languagesConfigurations"]) => this
|
|
2251
2261
|
}
|
|
2252
2262
|
|
|
2253
2263
|
export interface PostProductsBundlesRequest extends AppendableGateway<PostProductsBundlesRequest> {
|
|
@@ -2321,7 +2331,7 @@ export interface PutProductsCategoriesRequest extends AppendableGateway<PutProdu
|
|
|
2321
2331
|
lang_data: (lang_data: RequestParams.PutProductsCategoriesParams["categories"][number]["lang_data"]) => this
|
|
2322
2332
|
}
|
|
2323
2333
|
|
|
2324
|
-
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest, SearchProductsCategoriesIdosellResponse> {
|
|
2334
|
+
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest, SearchProductsCategoriesIdosellResponse, RequestParams.SearchProductsCategoriesIdosellParams> {
|
|
2325
2335
|
/** List of languages */
|
|
2326
2336
|
languagesIds: (value: string|string[]) => this;
|
|
2327
2337
|
/** Number of IdoSell Categories identifiers */
|
|
@@ -2419,45 +2429,45 @@ export interface GetProductsDescriptionsRequest extends Gateway<GetProductsDescr
|
|
|
2419
2429
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2420
2430
|
}
|
|
2421
2431
|
|
|
2422
|
-
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest> {
|
|
2432
|
+
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest, ProductIdentResponse, RequestParams.PutProductsDescriptionsParams> {
|
|
2423
2433
|
/** Products list. */
|
|
2424
|
-
products: (value:
|
|
2434
|
+
products: (value: RequestParams.PutProductsDescriptionsParams["products"]) => this;
|
|
2425
2435
|
/** */
|
|
2426
|
-
productIdent: (productIdent:
|
|
2436
|
+
productIdent: (productIdent: RequestParams.PutProductsDescriptionsParams["products"][number]["productIdent"]) => this
|
|
2427
2437
|
/** Array of language-dependent elements. */
|
|
2428
|
-
productDescriptionsLangData: (productDescriptionsLangData:
|
|
2438
|
+
productDescriptionsLangData: (productDescriptionsLangData: RequestParams.PutProductsDescriptionsParams["products"][number]["productDescriptionsLangData"]) => this
|
|
2429
2439
|
/** Product data for auction services */
|
|
2430
|
-
productAuctionDescriptionsData: (productAuctionDescriptionsData:
|
|
2440
|
+
productAuctionDescriptionsData: (productAuctionDescriptionsData: RequestParams.PutProductsDescriptionsParams["products"][number]["productAuctionDescriptionsData"]) => this
|
|
2431
2441
|
productId: (value: number|string) => this;
|
|
2432
2442
|
/** Set various types of names or descriptions to the product */
|
|
2433
2443
|
setText: (text: string, type?: "productName"|"productAuctionName"|"productPriceComparerName"|"productDescription"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeywords", language?: string, shopId?: number|string) => this;
|
|
2434
2444
|
}
|
|
2435
2445
|
|
|
2436
|
-
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest> {
|
|
2437
|
-
groups: (value:
|
|
2446
|
+
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest, ProductIdentResponse, RequestParams.PutProductsGroupsMainProductParams> {
|
|
2447
|
+
groups: (value: RequestParams.PutProductsGroupsMainProductParams["groups"]) => this;
|
|
2438
2448
|
/** */
|
|
2439
|
-
productIdent: (productIdent:
|
|
2449
|
+
productIdent: (productIdent: RequestParams.PutProductsGroupsMainProductParams["groups"][number]["productIdent"]) => this
|
|
2440
2450
|
productId: (value: number|string) => this;
|
|
2441
2451
|
}
|
|
2442
2452
|
|
|
2443
|
-
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest> {
|
|
2444
|
-
groups: (value:
|
|
2453
|
+
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest, PutProductsGroupsSettingsResponse, RequestParams.PutProductsGroupsOrderParams> {
|
|
2454
|
+
groups: (value: RequestParams.PutProductsGroupsOrderParams["groups"]) => this;
|
|
2445
2455
|
/** */
|
|
2446
|
-
productsInOrder: (productsInOrder:
|
|
2456
|
+
productsInOrder: (productsInOrder: RequestParams.PutProductsGroupsOrderParams["groups"][number]["productsInOrder"]) => this
|
|
2447
2457
|
/** Defines order of products within group by automatically setting proprities in order of appearance */
|
|
2448
2458
|
productIdsInOrder: (productIds: number|string|number[]|string[]) => this;
|
|
2449
2459
|
}
|
|
2450
2460
|
|
|
2451
|
-
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest> {
|
|
2452
|
-
groups: (value:
|
|
2461
|
+
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest, PutProductsGroupsSettingsResponse, RequestParams.PutProductsGroupsSettingsParams> {
|
|
2462
|
+
groups: (value: RequestParams.PutProductsGroupsSettingsParams["groups"]) => this;
|
|
2453
2463
|
/** */
|
|
2454
|
-
productIdent: (productIdent:
|
|
2464
|
+
productIdent: (productIdent: RequestParams.PutProductsGroupsSettingsParams["groups"][number]["productIdent"]) => this
|
|
2455
2465
|
/** Display on the product list in the panel. */
|
|
2456
2466
|
displayInPanel: (displayInPanel: 'firstAvailable'|'all') => this
|
|
2457
2467
|
/** Display on a product list on the page. */
|
|
2458
2468
|
displayOnPage: (displayOnPage: 'firstAvailable'|'all'|'specified') => this
|
|
2459
2469
|
/** Selected product in the group. */
|
|
2460
|
-
specifiedProductIdent: (specifiedProductIdent:
|
|
2470
|
+
specifiedProductIdent: (specifiedProductIdent: RequestParams.PutProductsGroupsSettingsParams["groups"][number]["specifiedProductIdent"]) => this
|
|
2461
2471
|
productId: (value: number|string) => this;
|
|
2462
2472
|
}
|
|
2463
2473
|
|
|
@@ -2481,25 +2491,25 @@ export interface DeleteProductsImagesRequest extends AppendableGateway<DeletePro
|
|
|
2481
2491
|
productImagesId: (productImagesId: string|string[]) => this
|
|
2482
2492
|
}
|
|
2483
2493
|
|
|
2484
|
-
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest> {
|
|
2485
|
-
productsImagesSettings: (value:
|
|
2494
|
+
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest, PutProductsImagesResponse, RequestParams.PutProductsImagesParams> {
|
|
2495
|
+
productsImagesSettings: (value: RequestParams.PutProductsImagesParams["productsImagesSettings"]) => this;
|
|
2486
2496
|
/** Information on product images */
|
|
2487
|
-
productsImages: (value:
|
|
2497
|
+
productsImages: (value: RequestParams.PutProductsImagesParams["productsImages"]) => this;
|
|
2488
2498
|
/** */
|
|
2489
|
-
productIdent: (productIdent:
|
|
2499
|
+
productIdent: (productIdent: RequestParams.PutProductsImagesParams["productsImages"][number]["productIdent"]) => this
|
|
2490
2500
|
/** Shop Id */
|
|
2491
2501
|
shopId: (shopId: number|string) => this
|
|
2492
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. */
|
|
2493
2503
|
otherShopsForPic: (otherShopsForPic: number|string|number[]|string[]) => this
|
|
2494
2504
|
/** Product photos details. */
|
|
2495
|
-
productImages: (productImages:
|
|
2505
|
+
productImages: (productImages: RequestParams.PutProductsImagesParams["productsImages"][number]["productImages"]) => this
|
|
2496
2506
|
/** Product icons list. */
|
|
2497
|
-
productIcons: (productIcons:
|
|
2507
|
+
productIcons: (productIcons: RequestParams.PutProductsImagesParams["productsImages"][number]["productIcons"]) => this
|
|
2498
2508
|
/** Product settings. */
|
|
2499
|
-
productImagesSettings: (productImagesSettings:
|
|
2509
|
+
productImagesSettings: (productImagesSettings: RequestParams.PutProductsImagesParams["productsImages"][number]["productImagesSettings"]) => this
|
|
2500
2510
|
productId: (value: number|string) => this;
|
|
2501
2511
|
/** Adds image source with selected priority */
|
|
2502
|
-
addImage: (source: string, priority
|
|
2512
|
+
addImage: (source: string, priority?: number|string) => this;
|
|
2503
2513
|
/** Set global image source to base64 */
|
|
2504
2514
|
base64: () => this;
|
|
2505
2515
|
}
|
|
@@ -2509,22 +2519,22 @@ export interface GetProductsMarketingAllFacebookCatalogIdsRequest extends Gatewa
|
|
|
2509
2519
|
shopId: (value: number|string) => this;
|
|
2510
2520
|
}
|
|
2511
2521
|
|
|
2512
|
-
export interface GetProductsMarketingPromotionRequest extends Gateway {
|
|
2522
|
+
export interface GetProductsMarketingPromotionRequest extends Gateway<GetProductsMarketingPromotionResponse> {
|
|
2513
2523
|
/** Shop Id */
|
|
2514
2524
|
shopId: (value: number|string) => this;
|
|
2515
2525
|
/** Products list. */
|
|
2516
2526
|
products: (value: number|string|number[]|string[]) => this;
|
|
2517
2527
|
}
|
|
2518
2528
|
|
|
2519
|
-
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest> {
|
|
2529
|
+
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest, PostProductsMarketingPromotionResponse, RequestParams.PostProductsMarketingPromotionParams> {
|
|
2520
2530
|
/** Promotion name */
|
|
2521
2531
|
promotionName: (value: string) => this;
|
|
2522
2532
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
2523
2533
|
shopsIds: (value: number|string|number[]|string[]) => this;
|
|
2524
2534
|
/** Special zones */
|
|
2525
|
-
marketingZones: (value:
|
|
2535
|
+
marketingZones: (value: RequestParams.PostProductsMarketingPromotionParams["marketingZones"]) => this;
|
|
2526
2536
|
/** Promotional price settings */
|
|
2527
|
-
newPriceSettings: (value:
|
|
2537
|
+
newPriceSettings: (value: RequestParams.PostProductsMarketingPromotionParams["newPriceSettings"]) => this;
|
|
2528
2538
|
/** Promotion start date in Y-m-d H:i:s format */
|
|
2529
2539
|
startDate: (value: string) => this;
|
|
2530
2540
|
/** Promotion end date in Y-m-d H:i:s format */
|
|
@@ -2540,14 +2550,14 @@ export interface PostProductsMarketingPromotionRequest extends AppendableGateway
|
|
|
2540
2550
|
/** Price reduction calculation method */
|
|
2541
2551
|
calculationMethod: (value: 'sum'|'chooseAdvantageous') => this;
|
|
2542
2552
|
/** Elements to be affected by the promotion */
|
|
2543
|
-
promotionElements: (value:
|
|
2553
|
+
promotionElements: (value: RequestParams.PostProductsMarketingPromotionParams["promotionElements"]) => this;
|
|
2544
2554
|
/** */
|
|
2545
2555
|
elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
|
|
2546
2556
|
/** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
|
|
2547
2557
|
elementId: (elementId: string) => this
|
|
2548
2558
|
}
|
|
2549
2559
|
|
|
2550
|
-
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest> {
|
|
2560
|
+
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest, PutProductsMarketingPromotionResponse, RequestParams.PutProductsMarketingPromotionParams> {
|
|
2551
2561
|
/** Promotion ID */
|
|
2552
2562
|
promotionId: (value: string) => this;
|
|
2553
2563
|
/** Promotion name */
|
|
@@ -2555,9 +2565,9 @@ export interface PutProductsMarketingPromotionRequest extends AppendableGateway<
|
|
|
2555
2565
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
2556
2566
|
shopsIds: (value: number|string|number[]|string[]) => this;
|
|
2557
2567
|
/** Special zones */
|
|
2558
|
-
marketingZones: (value:
|
|
2568
|
+
marketingZones: (value: RequestParams.PutProductsMarketingPromotionParams["marketingZones"]) => this;
|
|
2559
2569
|
/** Promotional price settings */
|
|
2560
|
-
newPriceSettings: (value:
|
|
2570
|
+
newPriceSettings: (value: RequestParams.PutProductsMarketingPromotionParams["newPriceSettings"]) => this;
|
|
2561
2571
|
/** Promotion start date in Y-m-d H:i:s format */
|
|
2562
2572
|
startDate: (value: string) => this;
|
|
2563
2573
|
/** Promotion end date in Y-m-d H:i:s format */
|
|
@@ -2575,14 +2585,14 @@ export interface PutProductsMarketingPromotionRequest extends AppendableGateway<
|
|
|
2575
2585
|
/** Specifies whether to remove all existing promotion elements */
|
|
2576
2586
|
removeAllPromotionElements: (value: 'y'|'n') => this;
|
|
2577
2587
|
/** Elements to be affected by the promotion */
|
|
2578
|
-
promotionElements: (value:
|
|
2588
|
+
promotionElements: (value: RequestParams.PutProductsMarketingPromotionParams["promotionElements"]) => this;
|
|
2579
2589
|
/** */
|
|
2580
2590
|
elementType: (elementType: 'product'|'series'|'producer'|'category'|'menu') => this
|
|
2581
2591
|
/** Identifier of the element affected by the promotion (in the case of a menu in the format: storeId-menuId-itemId) */
|
|
2582
2592
|
elementId: (elementId: string) => this
|
|
2583
2593
|
}
|
|
2584
2594
|
|
|
2585
|
-
export interface GetProductsMarketingZonesRequest extends Gateway {
|
|
2595
|
+
export interface GetProductsMarketingZonesRequest extends Gateway<GetProductsMarketingZonesResponse> {
|
|
2586
2596
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2587
2597
|
/** Products list. */
|
|
2588
2598
|
products: (value: string|string[]) => this;
|
|
@@ -2590,15 +2600,15 @@ export interface GetProductsMarketingZonesRequest extends Gateway {
|
|
|
2590
2600
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2591
2601
|
}
|
|
2592
2602
|
|
|
2593
|
-
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest> {
|
|
2603
|
+
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest, PutProductsMarketingZonesResponse, RequestParams.PutProductsMarketingZonesParams> {
|
|
2594
2604
|
/** Products list. */
|
|
2595
|
-
products: (value:
|
|
2605
|
+
products: (value: RequestParams.PutProductsMarketingZonesParams["products"]) => this;
|
|
2596
2606
|
assignment_mode: (value: 'auto'|'manual') => this;
|
|
2597
|
-
marketing_zones: (value:
|
|
2607
|
+
marketing_zones: (value: RequestParams.PutProductsMarketingZonesParams["marketing_zones"]) => this;
|
|
2598
2608
|
/** Marketing hotspots in shops */
|
|
2599
|
-
shops: (value:
|
|
2609
|
+
shops: (value: RequestParams.PutProductsMarketingZonesParams["shops"]) => this;
|
|
2600
2610
|
/** Identifier type. */
|
|
2601
|
-
ident: (ident:
|
|
2611
|
+
ident: (ident: RequestParams.PutProductsMarketingZonesParams["products"][number]["ident"]) => this
|
|
2602
2612
|
}
|
|
2603
2613
|
|
|
2604
2614
|
export interface GetProductsOmnibusPricesRequest extends Gateway<GetProductsOmnibusPricesResponse> {
|
|
@@ -2609,23 +2619,23 @@ export interface GetProductsOmnibusPricesRequest extends Gateway<GetProductsOmni
|
|
|
2609
2619
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2610
2620
|
}
|
|
2611
2621
|
|
|
2612
|
-
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest> {
|
|
2622
|
+
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest, JSObject, RequestParams.PutProductsOmnibusPricesParams> {
|
|
2613
2623
|
/** Products list. */
|
|
2614
|
-
products: (value:
|
|
2624
|
+
products: (value: RequestParams.PutProductsOmnibusPricesParams["products"]) => this;
|
|
2615
2625
|
/** Identifier type. */
|
|
2616
|
-
ident: (ident:
|
|
2626
|
+
ident: (ident: RequestParams.PutProductsOmnibusPricesParams["products"][number]["ident"]) => this
|
|
2617
2627
|
/** List of sizes */
|
|
2618
|
-
sizes: (sizes:
|
|
2628
|
+
sizes: (sizes: RequestParams.PutProductsOmnibusPricesParams["products"][number]["sizes"]) => this
|
|
2619
2629
|
/** Strikethrough price settings. */
|
|
2620
|
-
omnibusPrices: (omnibusPrices:
|
|
2630
|
+
omnibusPrices: (omnibusPrices: RequestParams.PutProductsOmnibusPricesParams["products"][number]["omnibusPrices"]) => this
|
|
2621
2631
|
/** Strikethrough price settings for the page. */
|
|
2622
|
-
shops: (shops:
|
|
2632
|
+
shops: (shops: RequestParams.PutProductsOmnibusPricesParams["products"][number]["shops"]) => this
|
|
2623
2633
|
/** Set product identifiers */
|
|
2624
2634
|
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2625
2635
|
/** Set retail or wholesale price */
|
|
2626
2636
|
setPrice: (price: number, wholesale?: boolean) => this;
|
|
2627
2637
|
/** Set mode to automatic */
|
|
2628
|
-
mode: (
|
|
2638
|
+
mode: (manual?: boolean) => this;
|
|
2629
2639
|
}
|
|
2630
2640
|
|
|
2631
2641
|
export interface DeleteProductsOpinionsRequest extends Gateway {
|
|
@@ -2654,12 +2664,12 @@ export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOp
|
|
|
2654
2664
|
/** Define range of dates */
|
|
2655
2665
|
dates: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
2656
2666
|
/** Define ordering of records */
|
|
2657
|
-
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending
|
|
2667
|
+
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending?: boolean) => this;
|
|
2658
2668
|
}
|
|
2659
2669
|
|
|
2660
|
-
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest> {
|
|
2670
|
+
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest, PostProductsOpinionsResponse, RequestParams.PostProductsOpinionsParams> {
|
|
2661
2671
|
/** List of reviews */
|
|
2662
|
-
opinions: (value:
|
|
2672
|
+
opinions: (value: RequestParams.PostProductsOpinionsParams["opinions"]) => this;
|
|
2663
2673
|
/** */
|
|
2664
2674
|
createDate: (createDate: string) => this
|
|
2665
2675
|
/** */
|
|
@@ -2677,13 +2687,13 @@ export interface PostProductsOpinionsRequest extends AppendableGateway<PostProdu
|
|
|
2677
2687
|
/** */
|
|
2678
2688
|
host: (host: string) => this
|
|
2679
2689
|
/** Customer data. */
|
|
2680
|
-
clients: (clients:
|
|
2690
|
+
clients: (clients: RequestParams.PostProductsOpinionsParams["opinions"][number]["clients"]) => this
|
|
2681
2691
|
/** */
|
|
2682
2692
|
scorePositive: (scorePositive: number|string) => this
|
|
2683
2693
|
/** */
|
|
2684
2694
|
scoreNegative: (scoreNegative: number|string) => this
|
|
2685
2695
|
/** Products list. */
|
|
2686
|
-
products: (products:
|
|
2696
|
+
products: (products: RequestParams.PostProductsOpinionsParams["opinions"][number]["products"]) => this
|
|
2687
2697
|
/** Order serial number. */
|
|
2688
2698
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
2689
2699
|
/** Reply to an opinion */
|
|
@@ -2706,7 +2716,7 @@ export interface PutProductsOpinionsRequest extends Gateway {
|
|
|
2706
2716
|
opinionConfirmedByPurchase: (value: boolean) => this;
|
|
2707
2717
|
}
|
|
2708
2718
|
|
|
2709
|
-
export interface GetProductsOpinionsRateRequest extends Gateway {
|
|
2719
|
+
export interface GetProductsOpinionsRateRequest extends Gateway<GetProductsOpinionsRateResponse> {
|
|
2710
2720
|
id: (value: number|string) => this;
|
|
2711
2721
|
operation: (value: 'positive'|'negative') => this;
|
|
2712
2722
|
}
|
|
@@ -2716,25 +2726,25 @@ export interface DeleteProductsParametersRequest extends Gateway {
|
|
|
2716
2726
|
ids: (value: number|string|number[]|string[]) => this;
|
|
2717
2727
|
}
|
|
2718
2728
|
|
|
2719
|
-
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest> {
|
|
2729
|
+
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest, PutProductsParametersResponse, RequestParams.PutProductsParametersParams> {
|
|
2720
2730
|
/** Sections, parameters or valued to add or edit. */
|
|
2721
|
-
items: (value:
|
|
2731
|
+
items: (value: RequestParams.PutProductsParametersParams["items"]) => this;
|
|
2722
2732
|
/** Settings */
|
|
2723
|
-
settings: (value:
|
|
2733
|
+
settings: (value: RequestParams.PutProductsParametersParams["settings"]) => this;
|
|
2724
2734
|
/** Parameter ID. */
|
|
2725
2735
|
id: (id: number|string) => this
|
|
2726
2736
|
/** Element text ID - can be entered instead of "id". Recognized save format: "section" (without backslash), "parameter\" (parameter without assigned value). */
|
|
2727
|
-
item_text_ids: (item_text_ids:
|
|
2737
|
+
item_text_ids: (item_text_ids: RequestParams.PutProductsParametersParams["items"][number]["item_text_ids"]) => this
|
|
2728
2738
|
/** Names of section, parameter or value. */
|
|
2729
|
-
names: (names:
|
|
2739
|
+
names: (names: RequestParams.PutProductsParametersParams["items"][number]["names"]) => this
|
|
2730
2740
|
/** Descriptions of section, parameter or value. */
|
|
2731
|
-
descriptions: (descriptions:
|
|
2741
|
+
descriptions: (descriptions: RequestParams.PutProductsParametersParams["items"][number]["descriptions"]) => this
|
|
2732
2742
|
/** Search descriptions of parameter value. */
|
|
2733
|
-
search_description: (search_description:
|
|
2743
|
+
search_description: (search_description: RequestParams.PutProductsParametersParams["items"][number]["search_description"]) => this
|
|
2734
2744
|
/** Icons of section, parameter or value to display on the product card. */
|
|
2735
|
-
card_icons: (card_icons:
|
|
2745
|
+
card_icons: (card_icons: RequestParams.PutProductsParametersParams["items"][number]["card_icons"]) => this
|
|
2736
2746
|
/** Icons of section, parameter or value to display on the list of products. */
|
|
2737
|
-
link_icons: (link_icons:
|
|
2747
|
+
link_icons: (link_icons: RequestParams.PutProductsParametersParams["items"][number]["link_icons"]) => this
|
|
2738
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). */
|
|
2739
2749
|
context_id: (context_id: string) => this
|
|
2740
2750
|
/** value of additional feature - Values described in context_id. */
|
|
@@ -3349,9 +3359,9 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
|
|
|
3349
3359
|
byMenus: (value: number|string|number[]|string[]) => this;
|
|
3350
3360
|
byShops: (value: number|string|number[]|string[]) => this;
|
|
3351
3361
|
/** Define range of dates and their type */
|
|
3352
|
-
dates: (dateFrom: DateLike, dateTo: DateLike, type
|
|
3362
|
+
dates: (dateFrom: DateLike, dateTo: DateLike, type?: "added"|"finished"|"resumed"|"modified"|"quantity_changed"|"price_changed"|"modified_and_quantity_changed") => this;
|
|
3353
3363
|
/** Define ordering of records */
|
|
3354
|
-
orderBy: (elementName: "id"|"name"|"code"|"product_sizecode"|"code_producer"|"retail_price"|"pos_price"|"vat"|"wholesale_price"|"minimal_price"|"pictures_count"|"auction_name"|"pricecomparer_name"|"version_name"|"series_name"|"category_name"|"deliverer_name"|"adding_time"|"modification_time"|"price_changed_time"|"quantity_changed_time"|"currency"|"currency_shop"|"taxcode"|"meta_title"|"meta_description"|"meta_keywords"|"suggested_price"|"observed_clients"|"observed_time"|"wishes_clients"|"wishes_time", descending
|
|
3364
|
+
orderBy: (elementName: "id"|"name"|"code"|"product_sizecode"|"code_producer"|"retail_price"|"pos_price"|"vat"|"wholesale_price"|"minimal_price"|"pictures_count"|"auction_name"|"pricecomparer_name"|"version_name"|"series_name"|"category_name"|"deliverer_name"|"adding_time"|"modification_time"|"price_changed_time"|"quantity_changed_time"|"currency"|"currency_shop"|"taxcode"|"meta_title"|"meta_description"|"meta_keywords"|"suggested_price"|"observed_clients"|"observed_time"|"wishes_clients"|"wishes_time", descending?: boolean) => this;
|
|
3355
3365
|
/** Define productShops values by passing them as an array */
|
|
3356
3366
|
shops: (values: number|string|number[]|string[]) => this;
|
|
3357
3367
|
/** Define productParams values by passing them as an array */
|
|
@@ -3369,11 +3379,11 @@ export interface SearchProductsRequest extends PagableGateway<SearchProductsRequ
|
|
|
3369
3379
|
/** Define productIndexes values by passing them as an array */
|
|
3370
3380
|
byIndexes: (values: number|string|number[]|string[]) => this;
|
|
3371
3381
|
/** Toogle to return only main versions */
|
|
3372
|
-
onlyMainVersion: (onlyMain
|
|
3382
|
+
onlyMainVersion: (onlyMain?: boolean) => this;
|
|
3373
3383
|
/** Filter by minimum and maximum price */
|
|
3374
|
-
byPrice: (minPrice: number, maxPrice: number, priceType
|
|
3384
|
+
byPrice: (minPrice: number, maxPrice: number, priceType?: "retail_price"|"wholesale_price"|"minimal_price"|"pos_price"|"last_purchase_price") => this;
|
|
3375
3385
|
/** Filter by availibility on any stock or selected stocks */
|
|
3376
|
-
inStock: (stockIds
|
|
3386
|
+
inStock: (stockIds?: boolean|number|string|number[]|string[]) => this;
|
|
3377
3387
|
}
|
|
3378
3388
|
|
|
3379
3389
|
export interface DeleteProductsProductsToFacebookCatalogRequest extends Gateway {
|
|
@@ -3408,23 +3418,23 @@ export interface DeleteProductsProductsToPromotionRequest extends Gateway {
|
|
|
3408
3418
|
products: (value: number|string|number[]|string[]) => this;
|
|
3409
3419
|
}
|
|
3410
3420
|
|
|
3411
|
-
export interface PostProductsProductsToPromotionRequest extends Gateway {
|
|
3421
|
+
export interface PostProductsProductsToPromotionRequest extends Gateway<PutProductsMarketingPromotionResponse, RequestParams.PostProductsProductsToPromotionParams> {
|
|
3412
3422
|
/** Special offer ID */
|
|
3413
3423
|
promotionId: (value: number|string) => this;
|
|
3414
3424
|
/** Products list. */
|
|
3415
3425
|
products: (value: number|string|number[]|string[]) => this;
|
|
3416
3426
|
}
|
|
3417
3427
|
|
|
3418
|
-
export interface GetProductsQuestionsRequest extends Gateway {
|
|
3428
|
+
export interface GetProductsQuestionsRequest extends Gateway<GetProductsQuestionsResponse> {
|
|
3419
3429
|
/** Question ID. */
|
|
3420
3430
|
id: (value: number|string) => this;
|
|
3421
3431
|
/** Product IAI code */
|
|
3422
3432
|
productId: (value: number|string) => this;
|
|
3423
3433
|
}
|
|
3424
3434
|
|
|
3425
|
-
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest> {
|
|
3435
|
+
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest, JSObject, RequestParams.PutProductsQuestionsParams> {
|
|
3426
3436
|
/** Question Board. */
|
|
3427
|
-
questions: (value:
|
|
3437
|
+
questions: (value: RequestParams.PutProductsQuestionsParams["questions"]) => this;
|
|
3428
3438
|
/** Question ID. */
|
|
3429
3439
|
id: (id: number|string) => this
|
|
3430
3440
|
/** Language of the question e.g. 'pol', 'eng'. */
|
|
@@ -3440,7 +3450,7 @@ export interface PutProductsQuestionsRequest extends AppendableGateway<PutProduc
|
|
|
3440
3450
|
/** Author. */
|
|
3441
3451
|
author: (author: string) => this
|
|
3442
3452
|
/** Stock keeping unit. */
|
|
3443
|
-
productIdent: (productIdent:
|
|
3453
|
+
productIdent: (productIdent: RequestParams.PutProductsQuestionsParams["questions"][number]["productIdent"]) => this
|
|
3444
3454
|
/** Visibility: "y" - yes, "n" - no */
|
|
3445
3455
|
visible: (visible: 'n'|'y') => this
|
|
3446
3456
|
/** Priority. */
|
|
@@ -3520,15 +3530,15 @@ export interface GetProductsSeriesRequest extends PagableGateway<GetProductsSeri
|
|
|
3520
3530
|
resultsLimit: (value: number|string) => this;
|
|
3521
3531
|
}
|
|
3522
3532
|
|
|
3523
|
-
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest> {
|
|
3533
|
+
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest, PutProductsSeriesResponse, RequestParams.PutProductsSeriesParams> {
|
|
3524
3534
|
/** Series list. */
|
|
3525
|
-
series: (value:
|
|
3535
|
+
series: (value: RequestParams.PutProductsSeriesParams["series"]) => this;
|
|
3526
3536
|
/** Id */
|
|
3527
3537
|
id: (id: number|string) => this
|
|
3528
3538
|
/** Name in panel */
|
|
3529
3539
|
nameInPanel: (nameInPanel: string) => this
|
|
3530
3540
|
/** */
|
|
3531
|
-
shopsConfigurations: (shopsConfigurations:
|
|
3541
|
+
shopsConfigurations: (shopsConfigurations: RequestParams.PutProductsSeriesParams["series"][number]["shopsConfigurations"]) => this
|
|
3532
3542
|
}
|
|
3533
3543
|
|
|
3534
3544
|
export interface DeleteProductsSizesRequest extends AppendableGateway<DeleteProductsSizesRequest> {
|
|
@@ -3549,22 +3559,22 @@ export interface GetProductsSizesRequest extends Gateway<GetProductsSizesRespons
|
|
|
3549
3559
|
page: (pagenumber: number, pageSize?: number) => this;
|
|
3550
3560
|
}
|
|
3551
3561
|
|
|
3552
|
-
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest> {
|
|
3562
|
+
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest, PutProductsSizesResponse, RequestParams.PutProductsSizesParams> {
|
|
3553
3563
|
/** Edition mode */
|
|
3554
3564
|
mode: (value: 'edit'|'add'|'replace') => this;
|
|
3555
3565
|
/** Product parameters recognized by product ID or its sizes */
|
|
3556
|
-
sizesProductsData: (value:
|
|
3566
|
+
sizesProductsData: (value: RequestParams.PutProductsSizesParams["sizesProductsData"]) => this;
|
|
3557
3567
|
/** Product parameters recognized by index */
|
|
3558
|
-
indexesData: (value:
|
|
3568
|
+
indexesData: (value: RequestParams.PutProductsSizesParams["indexesData"]) => this;
|
|
3559
3569
|
/** Product IAI code */
|
|
3560
3570
|
productId: (productId: number|string) => this
|
|
3561
3571
|
/** List of sizes */
|
|
3562
|
-
sizes: (sizes:
|
|
3572
|
+
sizes: (sizes: RequestParams.PutProductsSizesParams["sizesProductsData"][number]["sizes"]) => this
|
|
3563
3573
|
}
|
|
3564
3574
|
|
|
3565
|
-
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest> {
|
|
3575
|
+
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest, PutProductsStockQuantityResponse, RequestParams.PutProductsStockQuantityParams> {
|
|
3566
3576
|
/** Products list. */
|
|
3567
|
-
products: (value:
|
|
3577
|
+
products: (value: RequestParams.PutProductsStockQuantityParams["products"]) => this;
|
|
3568
3578
|
/** Product index */
|
|
3569
3579
|
productIndex: (productIndex: string) => this
|
|
3570
3580
|
/** Product size code producer */
|
|
@@ -3589,17 +3599,17 @@ export interface GetProductsStocksRequest extends Gateway<GetProductsStocksRespo
|
|
|
3589
3599
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3590
3600
|
}
|
|
3591
3601
|
|
|
3592
|
-
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest> {
|
|
3602
|
+
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest, PutProductsStocksResponse, RequestParams.PutProductsStocksParams> {
|
|
3593
3603
|
/** Products list. */
|
|
3594
|
-
products: (value:
|
|
3604
|
+
products: (value: RequestParams.PutProductsStocksParams["products"]) => this;
|
|
3595
3605
|
/** */
|
|
3596
|
-
ident: (ident:
|
|
3606
|
+
ident: (ident: RequestParams.PutProductsStocksParams["products"][number]["ident"]) => this
|
|
3597
3607
|
/** List of sizes */
|
|
3598
|
-
sizes: (sizes:
|
|
3608
|
+
sizes: (sizes: RequestParams.PutProductsStocksParams["products"][number]["sizes"]) => this
|
|
3599
3609
|
/** */
|
|
3600
|
-
settings: (settings:
|
|
3610
|
+
settings: (settings: RequestParams.PutProductsStocksParams["products"][number]["settings"]) => this
|
|
3601
3611
|
/** Error information. */
|
|
3602
|
-
error: (error:
|
|
3612
|
+
error: (error: RequestParams.PutProductsStocksParams["products"][number]["error"]) => this
|
|
3603
3613
|
}
|
|
3604
3614
|
|
|
3605
3615
|
export interface GetProductsStrikethroughPricesRequest extends Gateway<GetProductsStrikethroughPricesResponse> {
|
|
@@ -3610,17 +3620,17 @@ export interface GetProductsStrikethroughPricesRequest extends Gateway<GetProduc
|
|
|
3610
3620
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3611
3621
|
}
|
|
3612
3622
|
|
|
3613
|
-
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest> {
|
|
3623
|
+
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest, JSObject, RequestParams.PutProductsStrikethroughPricesParams> {
|
|
3614
3624
|
/** Products list. */
|
|
3615
|
-
products: (value:
|
|
3625
|
+
products: (value: RequestParams.PutProductsStrikethroughPricesParams["products"]) => this;
|
|
3616
3626
|
/** Identifier type. */
|
|
3617
|
-
ident: (ident:
|
|
3627
|
+
ident: (ident: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["ident"]) => this
|
|
3618
3628
|
/** List of sizes */
|
|
3619
|
-
sizes: (sizes:
|
|
3629
|
+
sizes: (sizes: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["sizes"]) => this
|
|
3620
3630
|
/** */
|
|
3621
|
-
stp_settings: (stp_settings:
|
|
3631
|
+
stp_settings: (stp_settings: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["stp_settings"]) => this
|
|
3622
3632
|
/** Strikethrough price settings for the page. */
|
|
3623
|
-
shops: (shops:
|
|
3633
|
+
shops: (shops: RequestParams.PutProductsStrikethroughPricesParams["products"][number]["shops"]) => this
|
|
3624
3634
|
/** Set product identifiers */
|
|
3625
3635
|
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3626
3636
|
/** Set precise price */
|
|
@@ -3631,22 +3641,22 @@ export interface PutProductsStrikethroughPricesRequest extends AppendableGateway
|
|
|
3631
3641
|
addPricePercent: (value: number, wholesale?: boolean, base?: 'price' | 'price_minimal' | 'price_pos' | 'price_srp' | 'price_crossed') => this;
|
|
3632
3642
|
}
|
|
3633
3643
|
|
|
3634
|
-
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest> {
|
|
3644
|
+
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest, PutProductsSupplierCodeResponse, RequestParams.PutProductsSupplierCodeParams> {
|
|
3635
3645
|
/** Products list. */
|
|
3636
|
-
products: (value:
|
|
3646
|
+
products: (value: RequestParams.PutProductsSupplierCodeParams["products"]) => this;
|
|
3637
3647
|
/** Product IAI code */
|
|
3638
3648
|
productId: (productId: number|string) => this
|
|
3639
3649
|
/** Suppliers data */
|
|
3640
|
-
productDeliverers: (productDeliverers:
|
|
3650
|
+
productDeliverers: (productDeliverers: RequestParams.PutProductsSupplierCodeParams["products"][number]["productDeliverers"]) => this
|
|
3641
3651
|
}
|
|
3642
3652
|
|
|
3643
|
-
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest> {
|
|
3653
|
+
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest, PutProductsSupplierProductDataResponse, RequestParams.PutProductsSupplierProductDataParams> {
|
|
3644
3654
|
/** Products list. */
|
|
3645
|
-
products: (value:
|
|
3655
|
+
products: (value: RequestParams.PutProductsSupplierProductDataParams["products"]) => this;
|
|
3646
3656
|
/** Product IAI code */
|
|
3647
3657
|
productId: (productId: number|string) => this
|
|
3648
3658
|
/** Suppliers data */
|
|
3649
|
-
productDeliverers: (productDeliverers:
|
|
3659
|
+
productDeliverers: (productDeliverers: RequestParams.PutProductsSupplierProductDataParams["products"][number]["productDeliverers"]) => this
|
|
3650
3660
|
}
|
|
3651
3661
|
|
|
3652
3662
|
export interface PostProductsSynchronizationFileRequest extends Gateway {
|
|
@@ -3772,7 +3782,7 @@ export interface GetResponsibilityEntitiesRequest extends PagableGateway<GetResp
|
|
|
3772
3782
|
resultsLimit: (value: number|string) => this;
|
|
3773
3783
|
}
|
|
3774
3784
|
|
|
3775
|
-
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest,
|
|
3785
|
+
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest, PutResponsibilityEntitiesResponse, RequestParams.PostResponsibilityEntitiesParams> {
|
|
3776
3786
|
entities: (value: RequestParams.PostResponsibilityEntitiesParams["entities"]) => this;
|
|
3777
3787
|
/** Type of entity */
|
|
3778
3788
|
type: (value: 'producer'|'person') => this;
|
|
@@ -3804,8 +3814,8 @@ export interface PostResponsibilityEntitiesRequest extends AppendableGateway<Pos
|
|
|
3804
3814
|
url: (url: string) => this
|
|
3805
3815
|
}
|
|
3806
3816
|
|
|
3807
|
-
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest> {
|
|
3808
|
-
entities: (value:
|
|
3817
|
+
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest, PutResponsibilityEntitiesResponse, RequestParams.PutResponsibilityEntitiesParams> {
|
|
3818
|
+
entities: (value: RequestParams.PutResponsibilityEntitiesParams["entities"]) => this;
|
|
3809
3819
|
/** Type of entity */
|
|
3810
3820
|
type: (value: 'producer'|'person') => this;
|
|
3811
3821
|
/** Identificator of the entity. */
|
|
@@ -3865,7 +3875,7 @@ export interface GetReturnsRequest extends PagableGateway<GetReturnsRequest, Get
|
|
|
3865
3875
|
/** Return a set as its constituent products */
|
|
3866
3876
|
bundleAsProducts: (value: boolean) => this;
|
|
3867
3877
|
/** Define range of dates and their type */
|
|
3868
|
-
dates: (dateFrom: DateLike, dateTo: DateLike, type
|
|
3878
|
+
dates: (dateFrom: DateLike, dateTo: DateLike, type?: "date_add"|"date_end") => this;
|
|
3869
3879
|
}
|
|
3870
3880
|
|
|
3871
3881
|
export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest, PostReturnsResponse, RequestParams.PostReturnsParams> {
|
|
@@ -3915,11 +3925,11 @@ export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest,
|
|
|
3915
3925
|
tryCorrectInvoice: (tryCorrectInvoice: boolean) => this
|
|
3916
3926
|
}
|
|
3917
3927
|
|
|
3918
|
-
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest> {
|
|
3928
|
+
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest, PutReturnsSerialNumberResponse, RequestParams.PutReturnsSerialNumberParams> {
|
|
3919
3929
|
/** Return number. */
|
|
3920
3930
|
return_id: (value: number|string) => this;
|
|
3921
3931
|
/** Products list. */
|
|
3922
|
-
products: (value:
|
|
3932
|
+
products: (value: RequestParams.PutReturnsSerialNumberParams["products"]) => this;
|
|
3923
3933
|
/** Product ID. */
|
|
3924
3934
|
id: (id: number|string) => this
|
|
3925
3935
|
/** Size ID. */
|
|
@@ -3967,7 +3977,7 @@ export interface PutRmaRequest extends AppendableGateway<PutRmaRequest, PutRmaRe
|
|
|
3967
3977
|
rmaChat: (rmaChat: RequestParams.PutRmaParams["rmas"][number]["rmaChat"]) => this
|
|
3968
3978
|
}
|
|
3969
3979
|
|
|
3970
|
-
export interface GetRmaStatusesRequest extends Gateway {}
|
|
3980
|
+
export interface GetRmaStatusesRequest extends Gateway<GetRmaStatusesResponse> {}
|
|
3971
3981
|
|
|
3972
3982
|
export interface GetShopsCurrenciesRequest extends Gateway<GetShopsCurrenciesResponse> {}
|
|
3973
3983
|
|
|
@@ -3991,8 +4001,8 @@ export interface GetSizechartsRequest extends PagableGateway<GetSizechartsReques
|
|
|
3991
4001
|
resultsLimit: (value: number|string) => this;
|
|
3992
4002
|
}
|
|
3993
4003
|
|
|
3994
|
-
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest> {
|
|
3995
|
-
sizeCharts: (value:
|
|
4004
|
+
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest, PutSizechartsResponse, RequestParams.PutSizechartsParams> {
|
|
4005
|
+
sizeCharts: (value: RequestParams.PutSizechartsParams["sizeCharts"]) => this;
|
|
3996
4006
|
/** Id */
|
|
3997
4007
|
id: (id: number|string) => this
|
|
3998
4008
|
/** Name in panel */
|
|
@@ -4000,7 +4010,7 @@ export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsReq
|
|
|
4000
4010
|
/** Display mode */
|
|
4001
4011
|
displayMode: (displayMode: 'single'|'all') => this
|
|
4002
4012
|
/** */
|
|
4003
|
-
languagesData: (languagesData:
|
|
4013
|
+
languagesData: (languagesData: RequestParams.PutSizechartsParams["sizeCharts"][number]["languagesData"]) => this
|
|
4004
4014
|
}
|
|
4005
4015
|
|
|
4006
4016
|
export interface GetSizesRequest extends Gateway<GetSizesResponse> {
|
|
@@ -4008,9 +4018,9 @@ export interface GetSizesRequest extends Gateway<GetSizesResponse> {
|
|
|
4008
4018
|
return_last_changed_time: (value: string) => this;
|
|
4009
4019
|
}
|
|
4010
4020
|
|
|
4011
|
-
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
4021
|
+
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest, PutSizesResponse, RequestParams.PutSizesParams> {
|
|
4012
4022
|
/** Size table. */
|
|
4013
|
-
sizes: (value:
|
|
4023
|
+
sizes: (value: RequestParams.PutSizesParams["sizes"]) => this;
|
|
4014
4024
|
/** Error code. */
|
|
4015
4025
|
faultCode: (faultCode: number|string) => this
|
|
4016
4026
|
/** Error description. */
|
|
@@ -4026,7 +4036,7 @@ export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
|
4026
4036
|
/** Operation type: add, edit, del */
|
|
4027
4037
|
operation: (operation: string) => this
|
|
4028
4038
|
/** */
|
|
4029
|
-
lang_data: (lang_data:
|
|
4039
|
+
lang_data: (lang_data: RequestParams.PutSizesParams["sizes"][number]["lang_data"]) => this
|
|
4030
4040
|
}
|
|
4031
4041
|
|
|
4032
4042
|
export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCampaignRequest, GetSnippetsCampaignResponse> {
|
|
@@ -4042,8 +4052,8 @@ export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCa
|
|
|
4042
4052
|
resultsLimit: (value: number|string) => this;
|
|
4043
4053
|
}
|
|
4044
4054
|
|
|
4045
|
-
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest> {
|
|
4046
|
-
campaigns: (value:
|
|
4055
|
+
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest, CmsCampaignResponse, RequestParams.PostSnippetsCampaignParams> {
|
|
4056
|
+
campaigns: (value: RequestParams.PostSnippetsCampaignParams["campaigns"]) => this;
|
|
4047
4057
|
/** undefined */
|
|
4048
4058
|
id: (id: number|string) => this
|
|
4049
4059
|
/** Snippet campaign name */
|
|
@@ -4057,11 +4067,11 @@ export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnipp
|
|
|
4057
4067
|
/** Snippet order. */
|
|
4058
4068
|
order: (order: number|string) => this
|
|
4059
4069
|
/** undefined */
|
|
4060
|
-
configVariables: (configVariables:
|
|
4070
|
+
configVariables: (configVariables: RequestParams.PostSnippetsCampaignParams["campaigns"][number]["configVariables"]) => this
|
|
4061
4071
|
}
|
|
4062
4072
|
|
|
4063
|
-
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest> {
|
|
4064
|
-
campaigns: (value:
|
|
4073
|
+
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest, CmsResponse, RequestParams.PutSnippetsCampaignParams> {
|
|
4074
|
+
campaigns: (value: RequestParams.PutSnippetsCampaignParams["campaigns"]) => this;
|
|
4065
4075
|
/** Snippet campaign id */
|
|
4066
4076
|
id: (id: number|string) => this
|
|
4067
4077
|
/** Snippet campaign name */
|
|
@@ -4075,7 +4085,7 @@ export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippet
|
|
|
4075
4085
|
/** Snippet order. */
|
|
4076
4086
|
order: (order: number|string) => this
|
|
4077
4087
|
/** undefined */
|
|
4078
|
-
configVariables: (configVariables:
|
|
4088
|
+
configVariables: (configVariables: RequestParams.PutSnippetsCampaignParams["campaigns"][number]["configVariables"]) => this
|
|
4079
4089
|
}
|
|
4080
4090
|
|
|
4081
4091
|
export interface DeleteSnippetsCampaignRequest extends Gateway {
|
|
@@ -4092,8 +4102,8 @@ export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCoo
|
|
|
4092
4102
|
resultsLimit: (value: number|string) => this;
|
|
4093
4103
|
}
|
|
4094
4104
|
|
|
4095
|
-
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest> {
|
|
4096
|
-
cookies: (value:
|
|
4105
|
+
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest, CmsResponse, RequestParams.PostSnippetsCookiesParams> {
|
|
4106
|
+
cookies: (value: RequestParams.PostSnippetsCookiesParams["cookies"]) => this;
|
|
4097
4107
|
/** undefined */
|
|
4098
4108
|
id: (id: number|string) => this
|
|
4099
4109
|
/** Id of the snippet code. */
|
|
@@ -4103,7 +4113,7 @@ export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippe
|
|
|
4103
4113
|
/** Category of the cookie */
|
|
4104
4114
|
category: (category: 'analytics'|'marketing'|'functional') => this
|
|
4105
4115
|
/** Cookie description for each language. */
|
|
4106
|
-
description: (description:
|
|
4116
|
+
description: (description: RequestParams.PostSnippetsCookiesParams["cookies"][number]["description"]) => this
|
|
4107
4117
|
/** Name of the cookie. */
|
|
4108
4118
|
name: (name: string) => this
|
|
4109
4119
|
/** Type of the cookie */
|
|
@@ -4114,8 +4124,8 @@ export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippe
|
|
|
4114
4124
|
lifeTime: (lifeTime: number|string) => this
|
|
4115
4125
|
}
|
|
4116
4126
|
|
|
4117
|
-
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest> {
|
|
4118
|
-
cookies: (value:
|
|
4127
|
+
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest, CmsResponse, RequestParams.PutSnippetsCookiesParams> {
|
|
4128
|
+
cookies: (value: RequestParams.PutSnippetsCookiesParams["cookies"]) => this;
|
|
4119
4129
|
/** undefined */
|
|
4120
4130
|
id: (id: number|string) => this
|
|
4121
4131
|
/** Id of the snippet code. */
|
|
@@ -4125,7 +4135,7 @@ export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippets
|
|
|
4125
4135
|
/** Category of the cookie */
|
|
4126
4136
|
category: (category: 'analytics'|'marketing'|'functional') => this
|
|
4127
4137
|
/** Cookie description for each language. */
|
|
4128
|
-
description: (description:
|
|
4138
|
+
description: (description: RequestParams.PutSnippetsCookiesParams["cookies"][number]["description"]) => this
|
|
4129
4139
|
/** Name of the cookie. */
|
|
4130
4140
|
name: (name: string) => this
|
|
4131
4141
|
/** Type of the cookie */
|
|
@@ -4154,8 +4164,8 @@ export interface GetSnippetsRequest extends PagableGateway<GetSnippetsRequest, G
|
|
|
4154
4164
|
resultsLimit: (value: number|string) => this;
|
|
4155
4165
|
}
|
|
4156
4166
|
|
|
4157
|
-
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest> {
|
|
4158
|
-
snippets: (value:
|
|
4167
|
+
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest, CmsResponse, RequestParams.PostSnippetsParams> {
|
|
4168
|
+
snippets: (value: RequestParams.PostSnippetsParams["snippets"]) => this;
|
|
4159
4169
|
/** undefined */
|
|
4160
4170
|
id: (id: number|string) => this
|
|
4161
4171
|
/** The snippet name. */
|
|
@@ -4165,9 +4175,9 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4165
4175
|
/** Snippet campaign id */
|
|
4166
4176
|
campaign: (campaign: number|string) => this
|
|
4167
4177
|
/** undefined */
|
|
4168
|
-
dateBegin: (dateBegin:
|
|
4178
|
+
dateBegin: (dateBegin: RequestParams.PostSnippetsParams["snippets"][number]["dateBegin"]) => this
|
|
4169
4179
|
/** Filter to control snippet activation. */
|
|
4170
|
-
dateEnd: (dateEnd:
|
|
4180
|
+
dateEnd: (dateEnd: RequestParams.PostSnippetsParams["snippets"][number]["dateEnd"]) => this
|
|
4171
4181
|
/** Code snippet type. */
|
|
4172
4182
|
type: (type: 'html'|'javascript'|'cgi') => this
|
|
4173
4183
|
/** Whether to load contents asynchronously via XHR request. */
|
|
@@ -4181,17 +4191,17 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4181
4191
|
/** The order in which the code snippet will be displayed. */
|
|
4182
4192
|
order: (order: number|string) => this
|
|
4183
4193
|
/** Snippet content for each language. */
|
|
4184
|
-
body: (body:
|
|
4194
|
+
body: (body: RequestParams.PostSnippetsParams["snippets"][number]["body"]) => this
|
|
4185
4195
|
/** undefined */
|
|
4186
|
-
display: (display:
|
|
4196
|
+
display: (display: RequestParams.PostSnippetsParams["snippets"][number]["display"]) => this
|
|
4187
4197
|
/** undefined */
|
|
4188
|
-
pages: (pages:
|
|
4198
|
+
pages: (pages: RequestParams.PostSnippetsParams["snippets"][number]["pages"]) => this
|
|
4189
4199
|
/** Snippet entry source filter. */
|
|
4190
|
-
sources: (sources:
|
|
4200
|
+
sources: (sources: RequestParams.PostSnippetsParams["snippets"][number]["sources"]) => this
|
|
4191
4201
|
}
|
|
4192
4202
|
|
|
4193
|
-
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest> {
|
|
4194
|
-
snippets: (value:
|
|
4203
|
+
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest, CmsResponse, RequestParams.PutSnippetsParams> {
|
|
4204
|
+
snippets: (value: RequestParams.PutSnippetsParams["snippets"]) => this;
|
|
4195
4205
|
/** undefined */
|
|
4196
4206
|
id: (id: number|string) => this
|
|
4197
4207
|
/** The snippet name. */
|
|
@@ -4201,9 +4211,9 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
|
|
|
4201
4211
|
/** Snippet campaign id */
|
|
4202
4212
|
campaign: (campaign: number|string) => this
|
|
4203
4213
|
/** undefined */
|
|
4204
|
-
dateBegin: (dateBegin:
|
|
4214
|
+
dateBegin: (dateBegin: RequestParams.PutSnippetsParams["snippets"][number]["dateBegin"]) => this
|
|
4205
4215
|
/** Filter to control snippet activation. */
|
|
4206
|
-
dateEnd: (dateEnd:
|
|
4216
|
+
dateEnd: (dateEnd: RequestParams.PutSnippetsParams["snippets"][number]["dateEnd"]) => this
|
|
4207
4217
|
/** Code snippet type. */
|
|
4208
4218
|
type: (type: 'html'|'javascript'|'cgi') => this
|
|
4209
4219
|
/** Whether to load contents asynchronously via XHR request. */
|
|
@@ -4217,13 +4227,13 @@ export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest
|
|
|
4217
4227
|
/** The order in which the code snippet will be displayed. */
|
|
4218
4228
|
order: (order: number|string) => this
|
|
4219
4229
|
/** Snippet content for each language. */
|
|
4220
|
-
body: (body:
|
|
4230
|
+
body: (body: RequestParams.PutSnippetsParams["snippets"][number]["body"]) => this
|
|
4221
4231
|
/** undefined */
|
|
4222
|
-
display: (display:
|
|
4232
|
+
display: (display: RequestParams.PutSnippetsParams["snippets"][number]["display"]) => this
|
|
4223
4233
|
/** undefined */
|
|
4224
|
-
pages: (pages:
|
|
4234
|
+
pages: (pages: RequestParams.PutSnippetsParams["snippets"][number]["pages"]) => this
|
|
4225
4235
|
/** Snippet entry source filter. */
|
|
4226
|
-
sources: (sources:
|
|
4236
|
+
sources: (sources: RequestParams.PutSnippetsParams["snippets"][number]["sources"]) => this
|
|
4227
4237
|
}
|
|
4228
4238
|
|
|
4229
4239
|
export interface DeleteSnippetsRequest extends Gateway {
|
|
@@ -4340,7 +4350,7 @@ export interface GetSystemConfigRequest extends Gateway<GetSystemConfigResponse>
|
|
|
4340
4350
|
|
|
4341
4351
|
export interface PutSystemConfigRequest extends Gateway {
|
|
4342
4352
|
/** Panel settings */
|
|
4343
|
-
panelSettings: (value:
|
|
4353
|
+
panelSettings: (value: RequestParams.PutSystemConfigParams["panelSettings"]) => this;
|
|
4344
4354
|
}
|
|
4345
4355
|
|
|
4346
4356
|
export interface GetSystemCurrenciesRequest extends Gateway<GetSystemCurrenciesResponse> {
|
|
@@ -4350,8 +4360,8 @@ export interface GetSystemCurrenciesRequest extends Gateway<GetSystemCurrenciesR
|
|
|
4350
4360
|
date: (value: string) => this;
|
|
4351
4361
|
}
|
|
4352
4362
|
|
|
4353
|
-
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest> {
|
|
4354
|
-
currencies: (value:
|
|
4363
|
+
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest, PutSystemCurrenciesResponse, RequestParams.PutSystemCurrenciesParams> {
|
|
4364
|
+
currencies: (value: RequestParams.PutSystemCurrenciesParams["currencies"]) => this;
|
|
4355
4365
|
/** Currency code in ISO 4217 standard. */
|
|
4356
4366
|
id: (id: string) => this
|
|
4357
4367
|
/** Currency exchange rate. Maximal value is 10000. */
|
|
@@ -4369,12 +4379,12 @@ export interface PutSystemProcessesAutomationRequest extends Gateway {
|
|
|
4369
4379
|
/** Shop Id */
|
|
4370
4380
|
shopId: (value: number|string) => this;
|
|
4371
4381
|
/** Orders. */
|
|
4372
|
-
orders: (value:
|
|
4382
|
+
orders: (value: RequestParams.PutSystemProcessesAutomationParams["orders"]) => this;
|
|
4373
4383
|
}
|
|
4374
4384
|
|
|
4375
|
-
export interface GetSystemServerLoadRequest extends Gateway {}
|
|
4385
|
+
export interface GetSystemServerLoadRequest extends Gateway<GetSystemServerLoadResponse> {}
|
|
4376
4386
|
|
|
4377
|
-
export interface GetSystemServerTimeRequest extends Gateway {}
|
|
4387
|
+
export interface GetSystemServerTimeRequest extends Gateway<GetSystemServerTimeResponse> {}
|
|
4378
4388
|
|
|
4379
4389
|
export interface GetSystemShopsDataRequest extends Gateway<GetSystemShopsDataResponse> {}
|
|
4380
4390
|
|
|
@@ -4383,8 +4393,8 @@ export interface GetSystemUnitsRequest extends Gateway<GetSystemUnitsResponse> {
|
|
|
4383
4393
|
languagesIds: (value: string|string[]) => this;
|
|
4384
4394
|
}
|
|
4385
4395
|
|
|
4386
|
-
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest> {
|
|
4387
|
-
units: (value:
|
|
4396
|
+
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest, PutSystemUnitsResponse, RequestParams.PutSystemUnitsParams> {
|
|
4397
|
+
units: (value: RequestParams.PutSystemUnitsParams["units"]) => this;
|
|
4388
4398
|
/** #!IdentyfikatorJednostki!# */
|
|
4389
4399
|
id: (id: number|string) => this
|
|
4390
4400
|
/** Name in panel (limit of 30 characters) */
|
|
@@ -4394,7 +4404,7 @@ export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsR
|
|
|
4394
4404
|
/** Visibility */
|
|
4395
4405
|
visible: (visible: boolean) => this
|
|
4396
4406
|
/** Unit names */
|
|
4397
|
-
descriptions: (descriptions:
|
|
4407
|
+
descriptions: (descriptions: RequestParams.PutSystemUnitsParams["units"][number]["descriptions"]) => this
|
|
4398
4408
|
}
|
|
4399
4409
|
|
|
4400
4410
|
export interface GetSystemUsersRequest extends Gateway<GetSystemUsersResponse> {
|
|
@@ -4402,8 +4412,8 @@ export interface GetSystemUsersRequest extends Gateway<GetSystemUsersResponse> {
|
|
|
4402
4412
|
userType: (value: 'all'|'active') => this;
|
|
4403
4413
|
}
|
|
4404
4414
|
|
|
4405
|
-
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest> {
|
|
4406
|
-
vouchers: (value:
|
|
4415
|
+
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest, VouchersResponse, RequestParams.PutVouchersBlockParams> {
|
|
4416
|
+
vouchers: (value: RequestParams.PutVouchersBlockParams["vouchers"]) => this;
|
|
4407
4417
|
/** Voucher ID */
|
|
4408
4418
|
id: (id: number|string) => this
|
|
4409
4419
|
/** Number. */
|
|
@@ -4417,8 +4427,8 @@ export interface GetVouchersTypesRequest extends PagableGateway<GetVouchersTypes
|
|
|
4417
4427
|
resultsLimit: (value: number|string) => this;
|
|
4418
4428
|
}
|
|
4419
4429
|
|
|
4420
|
-
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest> {
|
|
4421
|
-
vouchers: (value:
|
|
4430
|
+
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest, VouchersResponse, RequestParams.PutVouchersUnblockParams> {
|
|
4431
|
+
vouchers: (value: RequestParams.PutVouchersUnblockParams["vouchers"]) => this;
|
|
4422
4432
|
/** Voucher ID */
|
|
4423
4433
|
id: (id: number|string) => this
|
|
4424
4434
|
/** Number. */
|
|
@@ -4477,9 +4487,9 @@ export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest, G
|
|
|
4477
4487
|
numbers: (values: number|string|number[]|string[]) => this;
|
|
4478
4488
|
}
|
|
4479
4489
|
|
|
4480
|
-
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest> {
|
|
4490
|
+
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest, VouchersResponse, RequestParams.PostVouchersParams> {
|
|
4481
4491
|
/** List of vouchers to add */
|
|
4482
|
-
vouchers: (value:
|
|
4492
|
+
vouchers: (value: RequestParams.PostVouchersParams["vouchers"]) => this;
|
|
4483
4493
|
/** Gift voucher type id */
|
|
4484
4494
|
typeId: (typeId: number|string) => this
|
|
4485
4495
|
/** Number. */
|
|
@@ -4489,16 +4499,16 @@ export interface PostVouchersRequest extends AppendableGateway<PostVouchersReque
|
|
|
4489
4499
|
/** Voucher expiration date */
|
|
4490
4500
|
expirationDate: (expirationDate: string) => this
|
|
4491
4501
|
/** Voucher balance */
|
|
4492
|
-
balance: (balance:
|
|
4502
|
+
balance: (balance: RequestParams.PostVouchersParams["vouchers"][number]["balance"]) => this
|
|
4493
4503
|
/** List of shops the voucher is active in */
|
|
4494
4504
|
shops: (shops: number|string|number[]|string[]) => this
|
|
4495
4505
|
/** */
|
|
4496
4506
|
note: (note: string) => this
|
|
4497
4507
|
}
|
|
4498
4508
|
|
|
4499
|
-
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest> {
|
|
4509
|
+
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest, PutVouchersResponse, RequestParams.PutVouchersParams> {
|
|
4500
4510
|
/** List of vouchers to edit */
|
|
4501
|
-
vouchers: (value:
|
|
4511
|
+
vouchers: (value: RequestParams.PutVouchersParams["vouchers"]) => this;
|
|
4502
4512
|
/** Voucher ID */
|
|
4503
4513
|
id: (id: number|string) => this
|
|
4504
4514
|
/** Number. */
|
|
@@ -4510,7 +4520,7 @@ export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest
|
|
|
4510
4520
|
/** Balance operation type, possible values: - set - balance positioning of funds, - add - add funds to balance, - subtract - subtract funds from balance. */
|
|
4511
4521
|
balanceOperationType: (balanceOperationType: 'set'|'add'|'subtract') => this
|
|
4512
4522
|
/** Voucher balance */
|
|
4513
|
-
balance: (balance:
|
|
4523
|
+
balance: (balance: RequestParams.PutVouchersParams["vouchers"][number]["balance"]) => this
|
|
4514
4524
|
/** List of shops the voucher is active in */
|
|
4515
4525
|
shops: (shops: number|string|number[]|string[]) => this
|
|
4516
4526
|
/** */
|
|
@@ -4519,16 +4529,16 @@ export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest
|
|
|
4519
4529
|
status: (status: 'used'|'unused') => this
|
|
4520
4530
|
}
|
|
4521
4531
|
|
|
4522
|
-
export interface GetWarrantiesCountTotalRequest extends Gateway {
|
|
4532
|
+
export interface GetWarrantiesCountTotalRequest extends Gateway<GetWarrantiesCountTotalResponse> {
|
|
4523
4533
|
warranty_ids: (value: string|string[]) => this;
|
|
4524
4534
|
}
|
|
4525
4535
|
|
|
4526
|
-
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest> {
|
|
4527
|
-
lang_data: (value:
|
|
4536
|
+
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest, PutWarrantiesLanguageDataResponse, RequestParams.PutWarrantiesLanguageDataParams> {
|
|
4537
|
+
lang_data: (value: RequestParams.PutWarrantiesLanguageDataParams["lang_data"]) => this;
|
|
4528
4538
|
/** Warranty ID (numeric or text based). */
|
|
4529
4539
|
warranty_id: (warranty_id: string) => this
|
|
4530
4540
|
/** */
|
|
4531
|
-
lang: (lang:
|
|
4541
|
+
lang: (lang: RequestParams.PutWarrantiesLanguageDataParams["lang_data"][number]["lang"]) => this
|
|
4532
4542
|
}
|
|
4533
4543
|
|
|
4534
4544
|
export interface DeleteWarrantiesRequest extends Gateway {
|
|
@@ -4544,8 +4554,8 @@ export interface GetWarrantiesRequest extends PagableGateway<GetWarrantiesReques
|
|
|
4544
4554
|
results_order: (value: JSObject) => this;
|
|
4545
4555
|
}
|
|
4546
4556
|
|
|
4547
|
-
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest> {
|
|
4548
|
-
warranties: (value:
|
|
4557
|
+
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest, PutWarrantiesResponse, RequestParams.PostWarrantiesParams> {
|
|
4558
|
+
warranties: (value: RequestParams.PostWarrantiesParams["warranties"]) => this;
|
|
4549
4559
|
/** Name. */
|
|
4550
4560
|
name: (name: string) => this
|
|
4551
4561
|
/** */
|
|
@@ -4553,13 +4563,13 @@ export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesR
|
|
|
4553
4563
|
/** Warranty time. Default value 12. */
|
|
4554
4564
|
period: (period: number|string) => this
|
|
4555
4565
|
/** Name of warranty. */
|
|
4556
|
-
shopname: (shopname:
|
|
4566
|
+
shopname: (shopname: RequestParams.PostWarrantiesParams["warranties"][number]["shopname"]) => this
|
|
4557
4567
|
/** Warranty description. */
|
|
4558
|
-
description: (description:
|
|
4568
|
+
description: (description: RequestParams.PostWarrantiesParams["warranties"][number]["description"]) => this
|
|
4559
4569
|
}
|
|
4560
4570
|
|
|
4561
|
-
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest> {
|
|
4562
|
-
warranties: (value:
|
|
4571
|
+
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest, PutWarrantiesResponse, RequestParams.PutWarrantiesParams> {
|
|
4572
|
+
warranties: (value: RequestParams.PutWarrantiesParams["warranties"]) => this;
|
|
4563
4573
|
/** Warranty ID (numeric or text based). */
|
|
4564
4574
|
id: (id: string) => this
|
|
4565
4575
|
/** Name. */
|
|
@@ -4620,7 +4630,7 @@ export interface GetWmsStocksdocumentsDocumentsRequest extends PagableGateway<Ge
|
|
|
4620
4630
|
/** Number of results on page. Value from 1 to 100 */
|
|
4621
4631
|
resultsLimit: (value: number|string) => this;
|
|
4622
4632
|
/** Define range of dates and their type */
|
|
4623
|
-
dates: (dateFrom: DateLike, dateTo: DateLike, type
|
|
4633
|
+
dates: (dateFrom: DateLike, dateTo: DateLike, type?: "open"|"modify"|"close"|"stockOperation") => this;
|
|
4624
4634
|
}
|
|
4625
4635
|
|
|
4626
4636
|
export interface PostWmsStocksdocumentsDocumentsRequest extends Gateway<PostWmsStocksdocumentsDocumentsResponse, RequestParams.PostWmsStocksdocumentsDocumentsParams> {
|
|
@@ -4652,7 +4662,7 @@ export interface PostWmsStocksdocumentsDocumentsRequest extends Gateway<PostWmsS
|
|
|
4652
4662
|
queueType: (value: 'fifo'|'lifo') => this;
|
|
4653
4663
|
}
|
|
4654
4664
|
|
|
4655
|
-
export interface PutWmsStocksdocumentsDocumentsRequest extends Gateway {
|
|
4665
|
+
export interface PutWmsStocksdocumentsDocumentsRequest extends Gateway<PutWmsStocksdocumentsDocumentsResponse, RequestParams.PutWmsStocksdocumentsDocumentsParams> {
|
|
4656
4666
|
/** Document identifier. */
|
|
4657
4667
|
stockDocumentId: (value: number|string) => this;
|
|
4658
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. */
|
|
@@ -4694,7 +4704,7 @@ export interface PutWmsStocksdocumentsDocumentsRequest extends Gateway {
|
|
|
4694
4704
|
verificationUser: (value: string) => this;
|
|
4695
4705
|
}
|
|
4696
4706
|
|
|
4697
|
-
export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGateway<GetWmsStocksdocumentsOpenedDocumentsRequest> {
|
|
4707
|
+
export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGateway<GetWmsStocksdocumentsOpenedDocumentsRequest, GetWmsStocksdocumentsOpenedDocumentsResponse> {
|
|
4698
4708
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
4699
4709
|
status: (value: 'open'|'on_the_way'|'all') => this;
|
|
4700
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>. */
|
|
@@ -4708,7 +4718,7 @@ export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGate
|
|
|
4708
4718
|
/** Number of results on page. Value from 1 to 100 */
|
|
4709
4719
|
resultsLimit: (value: number|string) => this;
|
|
4710
4720
|
/** Define range of dates and their type */
|
|
4711
|
-
dates: (dateFrom: DateLike, dateTo: DateLike, type
|
|
4721
|
+
dates: (dateFrom: DateLike, dateTo: DateLike, type?: "open"|"modify") => this;
|
|
4712
4722
|
}
|
|
4713
4723
|
|
|
4714
4724
|
export interface DeleteWmsStocksdocumentsProductsRequest extends AppendableGateway<DeleteWmsStocksdocumentsProductsRequest> {
|
|
@@ -4733,7 +4743,7 @@ export interface GetWmsStocksdocumentsProductsRequest extends PagableGateway<Get
|
|
|
4733
4743
|
results_limit: (value: number|string) => this;
|
|
4734
4744
|
}
|
|
4735
4745
|
|
|
4736
|
-
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest,
|
|
4746
|
+
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest, PutWmsStocksdocumentsProductsResponse, RequestParams.PostWmsStocksdocumentsProductsParams> {
|
|
4737
4747
|
/** Products list. */
|
|
4738
4748
|
products: (value: RequestParams.PostWmsStocksdocumentsProductsParams["products"]) => this;
|
|
4739
4749
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4800,8 +4810,8 @@ export interface GetWmsSuppliersRequest extends PagableGateway<GetWmsSuppliersRe
|
|
|
4800
4810
|
ids: (value: number|string|number[]|string[]) => this;
|
|
4801
4811
|
}
|
|
4802
4812
|
|
|
4803
|
-
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest> {
|
|
4804
|
-
suppliers: (value:
|
|
4813
|
+
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest, PutWmsSuppliersResponse, RequestParams.PutWmsSuppliersParams> {
|
|
4814
|
+
suppliers: (value: RequestParams.PutWmsSuppliersParams["suppliers"]) => this;
|
|
4805
4815
|
/** Id */
|
|
4806
4816
|
id: (id: number|string) => this
|
|
4807
4817
|
/** Name. */
|
|
@@ -4823,13 +4833,13 @@ export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSupplier
|
|
|
4823
4833
|
/** VAT no.. (limit of 13 characters) */
|
|
4824
4834
|
taxCode: (taxCode: string) => this
|
|
4825
4835
|
/** Average delivery time */
|
|
4826
|
-
averageDeliveryTime: (averageDeliveryTime:
|
|
4836
|
+
averageDeliveryTime: (averageDeliveryTime: RequestParams.PutWmsSuppliersParams["suppliers"][number]["averageDeliveryTime"]) => this
|
|
4827
4837
|
/** Description. (limit of 255 characters) */
|
|
4828
4838
|
description: (description: string) => this
|
|
4829
4839
|
/** Order preparation time for shipment */
|
|
4830
|
-
orderCompletionTime: (orderCompletionTime:
|
|
4840
|
+
orderCompletionTime: (orderCompletionTime: RequestParams.PutWmsSuppliersParams["suppliers"][number]["orderCompletionTime"]) => this
|
|
4831
4841
|
/** Supplier working hours */
|
|
4832
|
-
workDays: (workDays:
|
|
4842
|
+
workDays: (workDays: RequestParams.PutWmsSuppliersParams["suppliers"][number]["workDays"]) => this
|
|
4833
4843
|
}
|
|
4834
4844
|
|
|
4835
4845
|
export interface Gateways {
|