idosell 0.3.17 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/changelog.md +6 -0
- package/dist/app.d.ts +4 -4
- package/dist/gates.js +2 -0
- package/dist/gateways.d.ts +232 -214
- package/dist/index.js +2 -2
- package/dist/methods/getEntries.js +1 -0
- package/dist/methods/getOrdersStatuses.js +5 -0
- package/dist/methods/searchOrders.js +1 -1
- package/dist/methods/searchOrdersUnfinished.js +1 -1
- package/dist/reqparams.d.ts +2260 -0
- package/dist/responses.d.ts +2240 -42
- package/package.json +3 -2
- package/tests/getEntries.test.js +2 -7
- package/tests/getOrdersAuctionDetails.test.js +1 -1
- package/tests/postOrdersDocumentsCreate.test.js +2 -2
package/dist/gateways.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PagableGateway, AppendableGateway, Gateway, DateLike, JSObject } from "./app.d.ts"
|
|
2
|
-
import type { GetClientsResponse, SearchClientsCrmResponse,
|
|
2
|
+
import type { GetClientsResponse, SearchClientsCrmResponse, GetClientsDeliveryAddressResponse, SearchClientsGiftcardsResponse, SearchClientsNewsletterEmailResponse, SearchClientsNewsletterSmsResponse, GetClientsPayerAddressResponse, GetConfigVariablesResponse, GetCouriersAssignedToShippingProfilesResponse, GetCouriersPickupPointsResponse, PostCouriersPickupPointsResponse, PutCouriersPickupPointsResponse, GetCpaResponse, GetEntriesResponse, GetEntriesPagesToDisplayResponse, GetMenuResponse, GetOrdersAnalyticsResponse, GetOrdersAuctionDetailsResponse, PostOrdersDocumentsCreateResponse, GetOrdersDocumentsResponse, GetOrdersHistoryResponse, SearchOrdersOpinionsResponse, SearchOrdersResponse, PostOrdersResponse, PutOrdersResponse, GetOrdersPackagesResponse, GetOrdersProfitabilityResponse, GetOrdersStatusesResponse, GetPackagesLabelsResponse, PostPackagesLabelsResponse, SearchPackagesResponse, GetPaymentsResponse, GetProductsSKUbyBarcodeResponse, GetProductsAuctionsResponse, GetProductsBrandsResponse, GetProductsCategoriesResponse, SearchProductsCategoriesIdosellResponse, GetProductsCodeExistenceResponse, SearchProductsDeliveryTimeResponse, GetProductsDescriptionsResponse, GetProductsIdBySizecodeResponse, GetProductsOmnibusPricesResponse, GetProductsOpinionsResponse, SearchProductsParametersResponse, SearchProductsResponse, PostProductsResponse, PutProductsResponse, GetProductsReservationsResponse, GetProductsSeriesResponse, GetProductsSizesResponse, GetProductsStocksResponse, GetProductsStrikethroughPricesResponse, GetResponsibilityEntitiesResponse, GetReturnsResponse, GetRmaResponse, GetShopsCurrenciesResponse, GetShopsLanguagesResponse, GetSizechartsResponse, GetSizesResponse, GetSnippetsCampaignResponse, GetSnippetsCookiesResponse, GetSnippetsResponse, GetSystemConfigResponse, GetSystemCurrenciesResponse, GetSystemProcessesAutomationResponse, GetSystemShopsDataResponse, GetSystemUnitsResponse, GetSystemUsersResponse, GetVouchersTypesResponse, GetVouchersResponse, GetWarrantiesResponse, GetWmsLocationsResponse, GetWmsStocksdocumentsDocumentsResponse, GetWmsStocksdocumentsProductsResponse, GetWmsSuppliersResponse } from "./responses.d.ts"
|
|
3
|
+
import type RequestParams from "./reqparams.d.ts";
|
|
3
4
|
import * as ENUMS from "./enums";
|
|
4
5
|
|
|
5
6
|
export interface GetClientsBalanceRequest extends PagableGateway<GetClientsBalanceRequest> {
|
|
@@ -71,7 +72,7 @@ export interface GetClientsRequest extends PagableGateway<GetClientsRequest,GetC
|
|
|
71
72
|
lastModified: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
export interface PostClientsRequest extends AppendableGateway<PostClientsRequest> {
|
|
75
|
+
export interface PostClientsRequest extends AppendableGateway<PostClientsRequest, JSObject> {
|
|
75
76
|
/** Customer data. */
|
|
76
77
|
clients: (value: Array<JSObject>) => this;
|
|
77
78
|
/** Customer's login. */
|
|
@@ -138,7 +139,7 @@ export interface PostClientsRequest extends AppendableGateway<PostClientsRequest
|
|
|
138
139
|
block_group_auto_assignment: (block_group_auto_assignment: boolean) => this
|
|
139
140
|
}
|
|
140
141
|
|
|
141
|
-
export interface PutClientsRequest extends AppendableGateway<PutClientsRequest> {
|
|
142
|
+
export interface PutClientsRequest extends AppendableGateway<PutClientsRequest, JSObject> {
|
|
142
143
|
/** Customer data. */
|
|
143
144
|
clients: (value: Array<JSObject>) => this;
|
|
144
145
|
/** Customer's login. */
|
|
@@ -280,7 +281,7 @@ export interface SearchClientsCrmRequest extends PagableGateway<SearchClientsCrm
|
|
|
280
281
|
ordered: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
281
282
|
}
|
|
282
283
|
|
|
283
|
-
export interface DeleteClientsDeliveryAddressRequest extends AppendableGateway<DeleteClientsDeliveryAddressRequest> {
|
|
284
|
+
export interface DeleteClientsDeliveryAddressRequest extends AppendableGateway<DeleteClientsDeliveryAddressRequest, JSObject> {
|
|
284
285
|
/** Customer data. */
|
|
285
286
|
clients: (value: Array<JSObject>) => this;
|
|
286
287
|
/** Customer's login. */
|
|
@@ -291,7 +292,7 @@ export interface DeleteClientsDeliveryAddressRequest extends AppendableGateway<D
|
|
|
291
292
|
clientDeliveryAddressId: (clientDeliveryAddressId: number|string) => this
|
|
292
293
|
}
|
|
293
294
|
|
|
294
|
-
export interface GetClientsDeliveryAddressRequest extends Gateway {
|
|
295
|
+
export interface GetClientsDeliveryAddressRequest extends Gateway<GetClientsDeliveryAddressResponse> {
|
|
295
296
|
/** External system codes list. */
|
|
296
297
|
clientCodesExternal: (value: string|string[]) => this;
|
|
297
298
|
/** Customer ID. */
|
|
@@ -300,7 +301,7 @@ export interface GetClientsDeliveryAddressRequest extends Gateway {
|
|
|
300
301
|
clientLogins: (value: string|string[]) => this;
|
|
301
302
|
}
|
|
302
303
|
|
|
303
|
-
export interface PostClientsDeliveryAddressRequest extends AppendableGateway<PostClientsDeliveryAddressRequest> {
|
|
304
|
+
export interface PostClientsDeliveryAddressRequest extends AppendableGateway<PostClientsDeliveryAddressRequest, JSObject> {
|
|
304
305
|
/** Customer data. */
|
|
305
306
|
clients: (value: Array<JSObject>) => this;
|
|
306
307
|
/** Customer's login. */
|
|
@@ -333,7 +334,7 @@ export interface PostClientsDeliveryAddressRequest extends AppendableGateway<Pos
|
|
|
333
334
|
clientDeliveryAddressCountry: (clientDeliveryAddressCountry: string) => this
|
|
334
335
|
}
|
|
335
336
|
|
|
336
|
-
export interface PutClientsDeliveryAddressRequest extends AppendableGateway<PutClientsDeliveryAddressRequest> {
|
|
337
|
+
export interface PutClientsDeliveryAddressRequest extends AppendableGateway<PutClientsDeliveryAddressRequest, JSObject> {
|
|
337
338
|
/** Customer data. */
|
|
338
339
|
clients: (value: Array<JSObject>) => this;
|
|
339
340
|
/** Customer's login. */
|
|
@@ -376,7 +377,7 @@ export interface PutClientsExternalCodeRequest extends Gateway {
|
|
|
376
377
|
code_extern: (value: string) => this;
|
|
377
378
|
}
|
|
378
379
|
|
|
379
|
-
export interface PutClientsGiftcardsBlockRequest extends AppendableGateway<PutClientsGiftcardsBlockRequest> {
|
|
380
|
+
export interface PutClientsGiftcardsBlockRequest extends AppendableGateway<PutClientsGiftcardsBlockRequest, JSObject> {
|
|
380
381
|
/** List of gift cards */
|
|
381
382
|
giftCards: (value: Array<JSObject>) => this;
|
|
382
383
|
/** Card ID */
|
|
@@ -385,7 +386,7 @@ export interface PutClientsGiftcardsBlockRequest extends AppendableGateway<PutCl
|
|
|
385
386
|
number: (number: string) => this
|
|
386
387
|
}
|
|
387
388
|
|
|
388
|
-
export interface DeleteClientsGiftcardsRequest extends AppendableGateway<DeleteClientsGiftcardsRequest> {
|
|
389
|
+
export interface DeleteClientsGiftcardsRequest extends AppendableGateway<DeleteClientsGiftcardsRequest, JSObject> {
|
|
389
390
|
/** List of gift cards */
|
|
390
391
|
giftCards: (value: Array<JSObject>) => this;
|
|
391
392
|
/** Card ID */
|
|
@@ -394,7 +395,7 @@ export interface DeleteClientsGiftcardsRequest extends AppendableGateway<DeleteC
|
|
|
394
395
|
number: (number: string) => this
|
|
395
396
|
}
|
|
396
397
|
|
|
397
|
-
export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClientsGiftcardsRequest> {
|
|
398
|
+
export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClientsGiftcardsRequest, JSObject> {
|
|
398
399
|
/** List of cards to add */
|
|
399
400
|
giftCards: (value: Array<JSObject>) => this;
|
|
400
401
|
/** Gift card type id */
|
|
@@ -415,7 +416,7 @@ export interface PostClientsGiftcardsRequest extends AppendableGateway<PostClien
|
|
|
415
416
|
note: (note: string) => this
|
|
416
417
|
}
|
|
417
418
|
|
|
418
|
-
export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClientsGiftcardsRequest> {
|
|
419
|
+
export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClientsGiftcardsRequest, JSObject> {
|
|
419
420
|
/** List of cards to edit */
|
|
420
421
|
giftCards: (value: Array<JSObject>) => this;
|
|
421
422
|
/** Card ID */
|
|
@@ -444,7 +445,7 @@ export interface PutClientsGiftcardsRequest extends AppendableGateway<PutClients
|
|
|
444
445
|
set: (amount: number, currency: string) => this;
|
|
445
446
|
}
|
|
446
447
|
|
|
447
|
-
export interface SearchClientsGiftcardsRequest extends Gateway<
|
|
448
|
+
export interface SearchClientsGiftcardsRequest extends Gateway<SearchClientsGiftcardsResponse> {
|
|
448
449
|
/** List of gift cards */
|
|
449
450
|
giftCards: (value: Array<JSObject>) => this;
|
|
450
451
|
/** element is an element array of type searchGiftCards */
|
|
@@ -464,7 +465,7 @@ export interface GetClientsGiftcardsTypesRequest extends PagableGateway<GetClien
|
|
|
464
465
|
resultsLimit: (value: number|string) => this;
|
|
465
466
|
}
|
|
466
467
|
|
|
467
|
-
export interface PutClientsGiftcardsUnblockRequest extends AppendableGateway<PutClientsGiftcardsUnblockRequest> {
|
|
468
|
+
export interface PutClientsGiftcardsUnblockRequest extends AppendableGateway<PutClientsGiftcardsUnblockRequest, JSObject> {
|
|
468
469
|
/** List of gift cards */
|
|
469
470
|
giftCards: (value: Array<JSObject>) => this;
|
|
470
471
|
/** Card ID */
|
|
@@ -480,7 +481,7 @@ export interface GetClientsMembershipCardsRequest extends Gateway {
|
|
|
480
481
|
login: (value: string) => this;
|
|
481
482
|
}
|
|
482
483
|
|
|
483
|
-
export interface PutClientsMembershipCardsRequest extends AppendableGateway<PutClientsMembershipCardsRequest> {
|
|
484
|
+
export interface PutClientsMembershipCardsRequest extends AppendableGateway<PutClientsMembershipCardsRequest, JSObject> {
|
|
484
485
|
/** Customer ID. */
|
|
485
486
|
id: (value: number|string) => this;
|
|
486
487
|
/** Customer's login. */
|
|
@@ -504,7 +505,7 @@ export interface PutClientsMembershipCardsRequest extends AppendableGateway<PutC
|
|
|
504
505
|
errors: (errors: JSObject) => this
|
|
505
506
|
}
|
|
506
507
|
|
|
507
|
-
export interface SearchClientsNewsletterEmailRequest extends PagableGateway<SearchClientsNewsletterEmailRequest,
|
|
508
|
+
export interface SearchClientsNewsletterEmailRequest extends PagableGateway<SearchClientsNewsletterEmailRequest,SearchClientsNewsletterEmailResponse> {
|
|
508
509
|
shops: (value: Array<JSObject>) => this;
|
|
509
510
|
/** Customer language ID. */
|
|
510
511
|
language: (value: string) => this;
|
|
@@ -519,7 +520,7 @@ export interface SearchClientsNewsletterEmailRequest extends PagableGateway<Sear
|
|
|
519
520
|
dates: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
520
521
|
}
|
|
521
522
|
|
|
522
|
-
export interface SearchClientsNewsletterSmsRequest extends PagableGateway<SearchClientsNewsletterSmsRequest,
|
|
523
|
+
export interface SearchClientsNewsletterSmsRequest extends PagableGateway<SearchClientsNewsletterSmsRequest,SearchClientsNewsletterSmsResponse> {
|
|
523
524
|
shops: (value: Array<JSObject>) => this;
|
|
524
525
|
/** Customer language ID. */
|
|
525
526
|
language: (value: string) => this;
|
|
@@ -534,7 +535,7 @@ export interface SearchClientsNewsletterSmsRequest extends PagableGateway<Search
|
|
|
534
535
|
dates: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
535
536
|
}
|
|
536
537
|
|
|
537
|
-
export interface DeleteClientsPayerAddressRequest extends AppendableGateway<DeleteClientsPayerAddressRequest> {
|
|
538
|
+
export interface DeleteClientsPayerAddressRequest extends AppendableGateway<DeleteClientsPayerAddressRequest, JSObject> {
|
|
538
539
|
payers: (value: Array<JSObject>) => this;
|
|
539
540
|
/** Unique client's number. */
|
|
540
541
|
clientId: (clientId: number|string) => this
|
|
@@ -542,7 +543,7 @@ export interface DeleteClientsPayerAddressRequest extends AppendableGateway<Dele
|
|
|
542
543
|
payerAddressId: (payerAddressId: number|string) => this
|
|
543
544
|
}
|
|
544
545
|
|
|
545
|
-
export interface GetClientsPayerAddressRequest extends PagableGateway<GetClientsPayerAddressRequest> {
|
|
546
|
+
export interface GetClientsPayerAddressRequest extends PagableGateway<GetClientsPayerAddressRequest,GetClientsPayerAddressResponse> {
|
|
546
547
|
/** Unique client's number. */
|
|
547
548
|
clientId: (value: string) => this;
|
|
548
549
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -551,7 +552,7 @@ export interface GetClientsPayerAddressRequest extends PagableGateway<GetClients
|
|
|
551
552
|
resultsLimit: (value: number|string) => this;
|
|
552
553
|
}
|
|
553
554
|
|
|
554
|
-
export interface PostClientsPayerAddressRequest extends AppendableGateway<PostClientsPayerAddressRequest> {
|
|
555
|
+
export interface PostClientsPayerAddressRequest extends AppendableGateway<PostClientsPayerAddressRequest, JSObject> {
|
|
555
556
|
payers: (value: Array<JSObject>) => this;
|
|
556
557
|
/** Unique client's number. */
|
|
557
558
|
clientId: (clientId: number|string) => this
|
|
@@ -575,7 +576,7 @@ export interface PostClientsPayerAddressRequest extends AppendableGateway<PostCl
|
|
|
575
576
|
payerAddressPhone: (payerAddressPhone: string) => this
|
|
576
577
|
}
|
|
577
578
|
|
|
578
|
-
export interface PutClientsPayerAddressRequest extends AppendableGateway<PutClientsPayerAddressRequest> {
|
|
579
|
+
export interface PutClientsPayerAddressRequest extends AppendableGateway<PutClientsPayerAddressRequest, JSObject> {
|
|
579
580
|
payers: (value: Array<JSObject>) => this;
|
|
580
581
|
/** Unique client's number. */
|
|
581
582
|
clientId: (clientId: string) => this
|
|
@@ -713,7 +714,7 @@ export interface GetClientsPricesDiscountsRequest extends PagableGateway<GetClie
|
|
|
713
714
|
lastPurchased: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
714
715
|
}
|
|
715
716
|
|
|
716
|
-
export interface PutClientsPricesDiscountsRequest extends AppendableGateway<PutClientsPricesDiscountsRequest> {
|
|
717
|
+
export interface PutClientsPricesDiscountsRequest extends AppendableGateway<PutClientsPricesDiscountsRequest, JSObject> {
|
|
717
718
|
customers: (value: JSObject) => this;
|
|
718
719
|
/** Discount type, possible values: - simple */
|
|
719
720
|
discount_type: (value: string) => this;
|
|
@@ -777,7 +778,7 @@ export interface DeleteClientsTagsClearRequest extends Gateway {
|
|
|
777
778
|
clientId: (value: number|string) => this;
|
|
778
779
|
}
|
|
779
780
|
|
|
780
|
-
export interface DeleteClientsTagsRequest extends AppendableGateway<DeleteClientsTagsRequest> {
|
|
781
|
+
export interface DeleteClientsTagsRequest extends AppendableGateway<DeleteClientsTagsRequest, JSObject> {
|
|
781
782
|
/** Parameters transmitted to method */
|
|
782
783
|
params: (value: Array<JSObject>) => this;
|
|
783
784
|
/** Unique client's number. */
|
|
@@ -791,7 +792,7 @@ export interface GetClientsTagsRequest extends Gateway {
|
|
|
791
792
|
clientId: (value: number|string) => this;
|
|
792
793
|
}
|
|
793
794
|
|
|
794
|
-
export interface PostClientsTagsRequest extends AppendableGateway<PostClientsTagsRequest> {
|
|
795
|
+
export interface PostClientsTagsRequest extends AppendableGateway<PostClientsTagsRequest, JSObject> {
|
|
795
796
|
/** Parameters transmitted to method */
|
|
796
797
|
params: (value: Array<JSObject>) => this;
|
|
797
798
|
/** Unique client's number. */
|
|
@@ -802,7 +803,7 @@ export interface PostClientsTagsRequest extends AppendableGateway<PostClientsTag
|
|
|
802
803
|
tagValue: (tagValue: number|string) => this
|
|
803
804
|
}
|
|
804
805
|
|
|
805
|
-
export interface PutClientsTagsRequest extends AppendableGateway<PutClientsTagsRequest> {
|
|
806
|
+
export interface PutClientsTagsRequest extends AppendableGateway<PutClientsTagsRequest, JSObject> {
|
|
806
807
|
/** Unique client's number. */
|
|
807
808
|
clientId: (value: number|string) => this;
|
|
808
809
|
clientTags: (value: Array<JSObject>) => this;
|
|
@@ -814,7 +815,7 @@ export interface PutClientsTagsRequest extends AppendableGateway<PutClientsTagsR
|
|
|
814
815
|
tagValue: (tagValue: number|string) => this
|
|
815
816
|
}
|
|
816
817
|
|
|
817
|
-
export interface GetConfigVariablesRequest extends PagableGateway<GetConfigVariablesRequest> {
|
|
818
|
+
export interface GetConfigVariablesRequest extends PagableGateway<GetConfigVariablesRequest,GetConfigVariablesResponse> {
|
|
818
819
|
/** Which component is affected by the configuration. */
|
|
819
820
|
type: (value: 'snippets_campaign') => this;
|
|
820
821
|
/** List of item identifiers for given configuration type. Eg. snippet campaign identifiers. */
|
|
@@ -827,7 +828,7 @@ export interface GetConfigVariablesRequest extends PagableGateway<GetConfigVaria
|
|
|
827
828
|
resultsLimit: (value: number|string) => this;
|
|
828
829
|
}
|
|
829
830
|
|
|
830
|
-
export interface PutConfigVariablesRequest extends AppendableGateway<PutConfigVariablesRequest> {
|
|
831
|
+
export interface PutConfigVariablesRequest extends AppendableGateway<PutConfigVariablesRequest, JSObject> {
|
|
831
832
|
variables: (value: Array<JSObject>) => this;
|
|
832
833
|
/** Key of config value. */
|
|
833
834
|
key: (key: string) => this
|
|
@@ -848,7 +849,7 @@ export interface DeleteConfigVariablesRequest extends Gateway {
|
|
|
848
849
|
key: (value: string|string[]) => this;
|
|
849
850
|
}
|
|
850
851
|
|
|
851
|
-
export interface GetCouriersAssignedToShippingProfilesRequest extends Gateway {}
|
|
852
|
+
export interface GetCouriersAssignedToShippingProfilesRequest extends Gateway<GetCouriersAssignedToShippingProfilesResponse> {}
|
|
852
853
|
|
|
853
854
|
export interface GetCouriersRequest extends PagableGateway<GetCouriersRequest> {
|
|
854
855
|
/** Country code in ISO 3166-1 standard. */
|
|
@@ -859,7 +860,7 @@ export interface GetCouriersRequest extends PagableGateway<GetCouriersRequest> {
|
|
|
859
860
|
resultsLimit: (value: number|string) => this;
|
|
860
861
|
}
|
|
861
862
|
|
|
862
|
-
export interface DeleteCouriersPickupPointsRequest extends AppendableGateway<DeleteCouriersPickupPointsRequest> {
|
|
863
|
+
export interface DeleteCouriersPickupPointsRequest extends AppendableGateway<DeleteCouriersPickupPointsRequest, JSObject> {
|
|
863
864
|
pickupPointDeleteRequests: (value: Array<JSObject>) => this;
|
|
864
865
|
/** Collection point ID. */
|
|
865
866
|
pickupPointId: (pickupPointId: string) => this
|
|
@@ -869,7 +870,7 @@ export interface DeleteCouriersPickupPointsRequest extends AppendableGateway<Del
|
|
|
869
870
|
courierId: (courierId: number|string) => this
|
|
870
871
|
}
|
|
871
872
|
|
|
872
|
-
export interface GetCouriersPickupPointsRequest extends PagableGateway<GetCouriersPickupPointsRequest> {
|
|
873
|
+
export interface GetCouriersPickupPointsRequest extends PagableGateway<GetCouriersPickupPointsRequest,GetCouriersPickupPointsResponse> {
|
|
873
874
|
/** Courier ID. */
|
|
874
875
|
courierId: (value: number|string) => this;
|
|
875
876
|
/** Collection point ID. */
|
|
@@ -882,8 +883,8 @@ export interface GetCouriersPickupPointsRequest extends PagableGateway<GetCourie
|
|
|
882
883
|
resultsLimit: (value: number|string) => this;
|
|
883
884
|
}
|
|
884
885
|
|
|
885
|
-
export interface PostCouriersPickupPointsRequest extends AppendableGateway<PostCouriersPickupPointsRequest> {
|
|
886
|
-
pickupPoints: (value:
|
|
886
|
+
export interface PostCouriersPickupPointsRequest extends AppendableGateway<PostCouriersPickupPointsRequest, PostCouriersPickupPointsResponse, RequestParams.PostCouriersPickupPointsParams> {
|
|
887
|
+
pickupPoints: (value: RequestParams.PostCouriersPickupPointsParams["pickupPoints"]) => this;
|
|
887
888
|
/** external system code. */
|
|
888
889
|
pickupPointExternalId: (pickupPointExternalId: string) => this
|
|
889
890
|
/** Courier ID. */
|
|
@@ -902,8 +903,8 @@ export interface PostCouriersPickupPointsRequest extends AppendableGateway<PostC
|
|
|
902
903
|
operatingDays: (operatingDays: Array<JSObject>) => this
|
|
903
904
|
}
|
|
904
905
|
|
|
905
|
-
export interface PutCouriersPickupPointsRequest extends AppendableGateway<PutCouriersPickupPointsRequest> {
|
|
906
|
-
pickupPoints: (value:
|
|
906
|
+
export interface PutCouriersPickupPointsRequest extends AppendableGateway<PutCouriersPickupPointsRequest, PutCouriersPickupPointsResponse, RequestParams.PutCouriersPickupPointsParams> {
|
|
907
|
+
pickupPoints: (value: RequestParams.PutCouriersPickupPointsParams["pickupPoints"]) => this;
|
|
907
908
|
/** Collection point ID. */
|
|
908
909
|
pickupPointId: (pickupPointId: string) => this
|
|
909
910
|
/** external system code. */
|
|
@@ -935,7 +936,7 @@ export interface GetCpaCampaignRequest extends PagableGateway<GetCpaCampaignRequ
|
|
|
935
936
|
resultsLimit: (value: number|string) => this;
|
|
936
937
|
}
|
|
937
938
|
|
|
938
|
-
export interface PostCpaCampaignRequest extends AppendableGateway<PostCpaCampaignRequest> {
|
|
939
|
+
export interface PostCpaCampaignRequest extends AppendableGateway<PostCpaCampaignRequest, JSObject> {
|
|
939
940
|
campaigns: (value: Array<JSObject>) => this;
|
|
940
941
|
/** undefined */
|
|
941
942
|
id: (id: number|string) => this
|
|
@@ -949,7 +950,7 @@ export interface PostCpaCampaignRequest extends AppendableGateway<PostCpaCampaig
|
|
|
949
950
|
active: (active: 'y'|'n') => this
|
|
950
951
|
}
|
|
951
952
|
|
|
952
|
-
export interface PutCpaCampaignRequest extends AppendableGateway<PutCpaCampaignRequest> {
|
|
953
|
+
export interface PutCpaCampaignRequest extends AppendableGateway<PutCpaCampaignRequest, JSObject> {
|
|
953
954
|
campaigns: (value: Array<JSObject>) => this;
|
|
954
955
|
/** Snippet campaign id */
|
|
955
956
|
id: (id: number|string) => this
|
|
@@ -968,7 +969,7 @@ export interface DeleteCpaCampaignRequest extends Gateway {
|
|
|
968
969
|
id: (value: number|string|number[]|string[]) => this;
|
|
969
970
|
}
|
|
970
971
|
|
|
971
|
-
export interface GetCpaRequest extends PagableGateway<GetCpaRequest> {
|
|
972
|
+
export interface GetCpaRequest extends PagableGateway<GetCpaRequest,GetCpaResponse> {
|
|
972
973
|
/** List of campaign identifiers */
|
|
973
974
|
campaign: (value: number|string|number[]|string[]) => this;
|
|
974
975
|
/** List of identifiers */
|
|
@@ -979,7 +980,7 @@ export interface GetCpaRequest extends PagableGateway<GetCpaRequest> {
|
|
|
979
980
|
resultsLimit: (value: number|string) => this;
|
|
980
981
|
}
|
|
981
982
|
|
|
982
|
-
export interface PostCpaRequest extends AppendableGateway<PostCpaRequest> {
|
|
983
|
+
export interface PostCpaRequest extends AppendableGateway<PostCpaRequest, JSObject> {
|
|
983
984
|
cpa: (value: Array<JSObject>) => this;
|
|
984
985
|
/** undefined */
|
|
985
986
|
id: (id: number|string) => this
|
|
@@ -999,7 +1000,7 @@ export interface PostCpaRequest extends AppendableGateway<PostCpaRequest> {
|
|
|
999
1000
|
variables: (variables: Array<JSObject>) => this
|
|
1000
1001
|
}
|
|
1001
1002
|
|
|
1002
|
-
export interface PutCpaRequest extends AppendableGateway<PutCpaRequest> {
|
|
1003
|
+
export interface PutCpaRequest extends AppendableGateway<PutCpaRequest, JSObject> {
|
|
1003
1004
|
cpa: (value: Array<JSObject>) => this;
|
|
1004
1005
|
/** undefined */
|
|
1005
1006
|
id: (id: number|string) => this
|
|
@@ -1161,14 +1162,14 @@ export interface DeleteEntriesRequest extends Gateway {
|
|
|
1161
1162
|
entryId: (value: number|string) => this;
|
|
1162
1163
|
}
|
|
1163
1164
|
|
|
1164
|
-
export interface GetEntriesRequest extends Gateway {
|
|
1165
|
+
export interface GetEntriesRequest extends Gateway<GetEntriesResponse> {
|
|
1165
1166
|
/** Entry ID */
|
|
1166
1167
|
entryId: (value: number|string) => this;
|
|
1167
1168
|
/** Language ID */
|
|
1168
1169
|
langId: (value: string) => this;
|
|
1169
1170
|
}
|
|
1170
1171
|
|
|
1171
|
-
export interface PostEntriesRequest extends AppendableGateway<PostEntriesRequest> {
|
|
1172
|
+
export interface PostEntriesRequest extends AppendableGateway<PostEntriesRequest, JSObject> {
|
|
1172
1173
|
/** Shop Id */
|
|
1173
1174
|
shopId: (value: number|string) => this;
|
|
1174
1175
|
/** Date of creating an entry */
|
|
@@ -1230,7 +1231,7 @@ export interface PutEntriesRequest extends Gateway {
|
|
|
1230
1231
|
link: (value: string) => this;
|
|
1231
1232
|
}
|
|
1232
1233
|
|
|
1233
|
-
export interface GetEntriesPagesToDisplayRequest extends Gateway {
|
|
1234
|
+
export interface GetEntriesPagesToDisplayRequest extends Gateway<GetEntriesPagesToDisplayResponse> {
|
|
1234
1235
|
/** Language ID */
|
|
1235
1236
|
langId: (value: string) => this;
|
|
1236
1237
|
}
|
|
@@ -1251,7 +1252,7 @@ export interface GetMenuFilterRequest extends Gateway {
|
|
|
1251
1252
|
productMenuNodeId: (value: number|string) => this;
|
|
1252
1253
|
}
|
|
1253
1254
|
|
|
1254
|
-
export interface PutMenuFilterRequest extends AppendableGateway<PutMenuFilterRequest> {
|
|
1255
|
+
export interface PutMenuFilterRequest extends AppendableGateway<PutMenuFilterRequest, JSObject> {
|
|
1255
1256
|
/** Shop Id */
|
|
1256
1257
|
shopId: (value: number|string) => this;
|
|
1257
1258
|
/** Language ID (code in ISO 639-2). */
|
|
@@ -1276,7 +1277,7 @@ export interface PutMenuFilterRequest extends AppendableGateway<PutMenuFilterReq
|
|
|
1276
1277
|
menuFilterDefaultEnabled: (menuFilterDefaultEnabled: 'y'|'n') => this
|
|
1277
1278
|
}
|
|
1278
1279
|
|
|
1279
|
-
export interface DeleteMenuRequest extends AppendableGateway<DeleteMenuRequest> {
|
|
1280
|
+
export interface DeleteMenuRequest extends AppendableGateway<DeleteMenuRequest, JSObject> {
|
|
1280
1281
|
menu_list: (value: Array<JSObject>) => this;
|
|
1281
1282
|
/** Settings. */
|
|
1282
1283
|
settings: (value: JSObject) => this;
|
|
@@ -1305,7 +1306,7 @@ export interface GetMenuRequest extends Gateway<GetMenuResponse> {
|
|
|
1305
1306
|
textid_separator: (value: string) => this;
|
|
1306
1307
|
}
|
|
1307
1308
|
|
|
1308
|
-
export interface PostMenuRequest extends AppendableGateway<PostMenuRequest> {
|
|
1309
|
+
export interface PostMenuRequest extends AppendableGateway<PostMenuRequest, JSObject> {
|
|
1309
1310
|
menu_list: (value: Array<JSObject>) => this;
|
|
1310
1311
|
/** Settings */
|
|
1311
1312
|
settings: (value: JSObject) => this;
|
|
@@ -1321,7 +1322,7 @@ export interface PostMenuRequest extends AppendableGateway<PostMenuRequest> {
|
|
|
1321
1322
|
lang_data: (lang_data: Array<JSObject>) => this
|
|
1322
1323
|
}
|
|
1323
1324
|
|
|
1324
|
-
export interface PutMenuRequest extends AppendableGateway<PutMenuRequest> {
|
|
1325
|
+
export interface PutMenuRequest extends AppendableGateway<PutMenuRequest, JSObject> {
|
|
1325
1326
|
menu_list: (value: Array<JSObject>) => this;
|
|
1326
1327
|
/** Settings. */
|
|
1327
1328
|
settings: (value: JSObject) => this;
|
|
@@ -1337,7 +1338,7 @@ export interface PutMenuRequest extends AppendableGateway<PutMenuRequest> {
|
|
|
1337
1338
|
lang_data: (lang_data: Array<JSObject>) => this
|
|
1338
1339
|
}
|
|
1339
1340
|
|
|
1340
|
-
export interface PutMenuSortRequest extends AppendableGateway<PutMenuSortRequest> {
|
|
1341
|
+
export interface PutMenuSortRequest extends AppendableGateway<PutMenuSortRequest, JSObject> {
|
|
1341
1342
|
menu_list: (value: Array<JSObject>) => this;
|
|
1342
1343
|
/** Settings */
|
|
1343
1344
|
settings: (value: JSObject) => this;
|
|
@@ -1355,12 +1356,12 @@ export interface PutMenuSortRequest extends AppendableGateway<PutMenuSortRequest
|
|
|
1355
1356
|
recursive: (recursive: 'y'|'n') => this
|
|
1356
1357
|
}
|
|
1357
1358
|
|
|
1358
|
-
export interface GetOrdersAnalyticsRequest extends Gateway {
|
|
1359
|
+
export interface GetOrdersAnalyticsRequest extends Gateway<GetOrdersAnalyticsResponse> {
|
|
1359
1360
|
/** Array of order serial numbers. */
|
|
1360
1361
|
orderSerialNumber: (value: number|string|number[]|string[]) => this;
|
|
1361
1362
|
}
|
|
1362
1363
|
|
|
1363
|
-
export interface GetOrdersAuctionDetailsRequest extends Gateway<
|
|
1364
|
+
export interface GetOrdersAuctionDetailsRequest extends Gateway<GetOrdersAuctionDetailsResponse> {
|
|
1364
1365
|
/** Identifier type. */
|
|
1365
1366
|
identType: (value: 'orders_id'|'orders_sn') => this;
|
|
1366
1367
|
/** Orders Id values. */
|
|
@@ -1394,7 +1395,7 @@ export interface PutOrdersDeliveryAddressRequest extends Gateway {
|
|
|
1394
1395
|
clientLogin: (value: string) => this;
|
|
1395
1396
|
}
|
|
1396
1397
|
|
|
1397
|
-
export interface PutOrdersDevideRequest extends AppendableGateway<PutOrdersDevideRequest> {
|
|
1398
|
+
export interface PutOrdersDevideRequest extends AppendableGateway<PutOrdersDevideRequest, JSObject> {
|
|
1398
1399
|
/** Order serial number. */
|
|
1399
1400
|
orderSerialNumber: (value: number|string) => this;
|
|
1400
1401
|
/** Products list. */
|
|
@@ -1407,20 +1408,20 @@ export interface PutOrdersDevideRequest extends AppendableGateway<PutOrdersDevid
|
|
|
1407
1408
|
quantity: (quantity: number) => this
|
|
1408
1409
|
}
|
|
1409
1410
|
|
|
1410
|
-
export interface PostOrdersDocumentsCreateRequest extends Gateway {
|
|
1411
|
-
orderSerialNumbers: (value:
|
|
1412
|
-
actualize: (value:
|
|
1411
|
+
export interface PostOrdersDocumentsCreateRequest extends Gateway<PostOrdersDocumentsCreateResponse> {
|
|
1412
|
+
orderSerialNumbers: (value: RequestParams.PostOrdersDocumentsCreateParams["orderSerialNumbers"]) => this;
|
|
1413
|
+
actualize: (value: RequestParams.PostOrdersDocumentsCreateParams["actualize"]) => this;
|
|
1413
1414
|
/** Document type */
|
|
1414
|
-
documentType: (value:
|
|
1415
|
+
documentType: (value: RequestParams.PostOrdersDocumentsCreateParams["documentType"]) => this;
|
|
1415
1416
|
/** Document issued date */
|
|
1416
|
-
documentIssuedDate: (value:
|
|
1417
|
+
documentIssuedDate: (value: RequestParams.PostOrdersDocumentsCreateParams["documentIssuedDate"]) => this;
|
|
1417
1418
|
/** Document purchase date */
|
|
1418
|
-
documentPurchaseDate: (value:
|
|
1419
|
+
documentPurchaseDate: (value: RequestParams.PostOrdersDocumentsCreateParams["documentPurchaseDate"]) => this;
|
|
1419
1420
|
/** Printer id */
|
|
1420
|
-
printerId: (value:
|
|
1421
|
+
printerId: (value: RequestParams.PostOrdersDocumentsCreateParams["printerId"]) => this;
|
|
1421
1422
|
}
|
|
1422
1423
|
|
|
1423
|
-
export interface DeleteOrdersDocumentsRequest extends AppendableGateway<DeleteOrdersDocumentsRequest> {
|
|
1424
|
+
export interface DeleteOrdersDocumentsRequest extends AppendableGateway<DeleteOrdersDocumentsRequest, JSObject> {
|
|
1424
1425
|
/** List of documents. */
|
|
1425
1426
|
documents: (value: Array<JSObject>) => this;
|
|
1426
1427
|
/** Order serial number. */
|
|
@@ -1438,7 +1439,7 @@ export interface GetOrdersDocumentsRequest extends Gateway<GetOrdersDocumentsRes
|
|
|
1438
1439
|
returnElements: (value: string|string[]) => this;
|
|
1439
1440
|
}
|
|
1440
1441
|
|
|
1441
|
-
export interface PostOrdersDocumentsRequest extends AppendableGateway<PostOrdersDocumentsRequest> {
|
|
1442
|
+
export interface PostOrdersDocumentsRequest extends AppendableGateway<PostOrdersDocumentsRequest, JSObject> {
|
|
1442
1443
|
/** List of documents. */
|
|
1443
1444
|
documents: (value: Array<JSObject>) => this;
|
|
1444
1445
|
/** Order serial number. */
|
|
@@ -1514,12 +1515,12 @@ export interface PutOrdersHandlerRequest extends Gateway {
|
|
|
1514
1515
|
orderOperatorLogin: (value: string) => this;
|
|
1515
1516
|
}
|
|
1516
1517
|
|
|
1517
|
-
export interface GetOrdersHistoryRequest extends Gateway {
|
|
1518
|
+
export interface GetOrdersHistoryRequest extends Gateway<GetOrdersHistoryResponse> {
|
|
1518
1519
|
/** Order serial number. */
|
|
1519
1520
|
orderSerialNumber: (value: number|string) => this;
|
|
1520
1521
|
}
|
|
1521
1522
|
|
|
1522
|
-
export interface DeleteOrdersImagesRequest extends AppendableGateway<DeleteOrdersImagesRequest> {
|
|
1523
|
+
export interface DeleteOrdersImagesRequest extends AppendableGateway<DeleteOrdersImagesRequest, JSObject> {
|
|
1523
1524
|
order: (value: JSObject) => this;
|
|
1524
1525
|
/** List of attachment IDs to be removed from the details of the selected order */
|
|
1525
1526
|
images: (value: Array<JSObject>) => this;
|
|
@@ -1534,7 +1535,7 @@ export interface GetOrdersImagesRequest extends Gateway {
|
|
|
1534
1535
|
orderSerialNumber: (value: number|string) => this;
|
|
1535
1536
|
}
|
|
1536
1537
|
|
|
1537
|
-
export interface PostOrdersImagesRequest extends AppendableGateway<PostOrdersImagesRequest> {
|
|
1538
|
+
export interface PostOrdersImagesRequest extends AppendableGateway<PostOrdersImagesRequest, JSObject> {
|
|
1538
1539
|
/** Login */
|
|
1539
1540
|
userName: (value: string) => this;
|
|
1540
1541
|
settings: (value: JSObject) => this;
|
|
@@ -1556,7 +1557,7 @@ export interface GetOrdersLabelsRequest extends Gateway {
|
|
|
1556
1557
|
orderSerialNumber: (value: number|string) => this;
|
|
1557
1558
|
}
|
|
1558
1559
|
|
|
1559
|
-
export interface SearchOrdersOpinionsRequest extends PagableGateway<SearchOrdersOpinionsRequest,
|
|
1560
|
+
export interface SearchOrdersOpinionsRequest extends PagableGateway<SearchOrdersOpinionsRequest,SearchOrdersOpinionsResponse> {
|
|
1560
1561
|
/** Review identification */
|
|
1561
1562
|
opinion: (value: JSObject) => this;
|
|
1562
1563
|
/** Orders. */
|
|
@@ -1596,9 +1597,9 @@ export interface GetOrdersRequest extends Gateway<SearchOrdersResponse> {
|
|
|
1596
1597
|
orderExternalId: (value: string) => this;
|
|
1597
1598
|
}
|
|
1598
1599
|
|
|
1599
|
-
export interface PostOrdersRequest extends AppendableGateway<PostOrdersRequest> {
|
|
1600
|
+
export interface PostOrdersRequest extends AppendableGateway<PostOrdersRequest, PostOrdersResponse, RequestParams.PostOrdersParams> {
|
|
1600
1601
|
/** Orders. */
|
|
1601
|
-
orders: (value:
|
|
1602
|
+
orders: (value: RequestParams.PostOrdersParams["orders"]) => this;
|
|
1602
1603
|
/** Order type. Allowed values. "retail" - retail order, "wholesale" - wholesale order (can be added only by customer with wholesale account registered). Default value:: "retail" */
|
|
1603
1604
|
orderType: (orderType: string) => this
|
|
1604
1605
|
/** Shop Id */
|
|
@@ -1653,15 +1654,17 @@ export interface PostOrdersRequest extends AppendableGateway<PostOrdersRequest>
|
|
|
1653
1654
|
purchaseDate: (purchaseDate: string) => this
|
|
1654
1655
|
}
|
|
1655
1656
|
|
|
1656
|
-
export interface PutOrdersRequest extends AppendableGateway<PutOrdersRequest> {
|
|
1657
|
+
export interface PutOrdersRequest extends AppendableGateway<PutOrdersRequest, PutOrdersResponse, RequestParams.PutOrdersParams> {
|
|
1657
1658
|
/** Orders. */
|
|
1658
|
-
orders: (value:
|
|
1659
|
+
orders: (value: RequestParams.PutOrdersParams["orders"]) => this;
|
|
1659
1660
|
/** Order ID. */
|
|
1660
1661
|
orderId: (orderId: string) => this
|
|
1661
1662
|
/** Order serial number. */
|
|
1662
1663
|
orderSerialNumber: (orderSerialNumber: number|string) => this
|
|
1663
1664
|
/** Order status. Allowed values: "finished_ext" - order status: completed in FA application, "finished" - completed, "new" - not handled, "payment_waiting" - awaiting payment, "delivery_waiting" - awaiting delivery, "on_order" - in progress, "packed" - being picked, "packed_fulfillment" - being picked - fulfilment, "packed_ready" - packed, "ready" - ready, "wait_for_dispatch" - awaiting dispatch date, "suspended" - on hold, "joined" - merged, "missing" - missing, "lost" - lost, "false" - false, "canceled" - Customer canceled. */
|
|
1664
1665
|
orderStatus: (orderStatus: string) => this
|
|
1666
|
+
/** Order status id . */
|
|
1667
|
+
orderStatusId: (orderStatusId: number|string) => this
|
|
1665
1668
|
/** Flag informing on order registration or completion in external program through API. Allowed values. "none" - order was not registered in external program, "registered" - order was registered in external program, "realized" - order was completed in external program, "registered_pos" - order was registered in external program, "realized_pos" - order was completed in external program. */
|
|
1666
1669
|
apiFlag: (apiFlag: 'none'|'registered'|'realized'|'registered_pos'|'realized_pos'|'registration_fault') => this
|
|
1667
1670
|
/** API note added to order. */
|
|
@@ -1701,6 +1704,8 @@ export interface SearchOrdersRequest extends PagableGateway<SearchOrdersRequest,
|
|
|
1701
1704
|
orderPrepaidStatus: (value: string) => this;
|
|
1702
1705
|
/** Order status. Status list: "new" - not handled, "finished" - completed, "false" - false, "lost" - lost, "on_order" - in progress, "packed" - being picked, "ready" - ready, "canceled" - canceled by customer, "payment_waiting" - awaiting payment, "delivery_waiting" - awaiting delivery, "suspended" - on hold, "joined" - merged, "finished_ext" - handled in FA application. */
|
|
1703
1706
|
ordersStatuses: (value: string|string[]) => this;
|
|
1707
|
+
/** Order statusses ids. */
|
|
1708
|
+
ordersStatusesIds: (value: number|string|number[]|string[]) => this;
|
|
1704
1709
|
shippmentStatus: (value: 'all'|'received'|'non-received') => this;
|
|
1705
1710
|
/** Shipping companies (packages deliverers). */
|
|
1706
1711
|
couriersName: (value: string|string[]) => this;
|
|
@@ -1784,7 +1789,7 @@ export interface SearchOrdersRequest extends PagableGateway<SearchOrdersRequest,
|
|
|
1784
1789
|
fromEbay: (allegroAccount?: string) => this;
|
|
1785
1790
|
}
|
|
1786
1791
|
|
|
1787
|
-
export interface GetOrdersPackagesRequest extends Gateway {
|
|
1792
|
+
export interface GetOrdersPackagesRequest extends Gateway<GetOrdersPackagesResponse> {
|
|
1788
1793
|
/** Consignments numbers. */
|
|
1789
1794
|
deliveryPackageNumbers: (value: string|string[]) => this;
|
|
1790
1795
|
/** Order serial numbers. */
|
|
@@ -1797,7 +1802,7 @@ export interface GetOrdersPackagesRequest extends Gateway {
|
|
|
1797
1802
|
returnLabels: (value: Boolean) => this;
|
|
1798
1803
|
}
|
|
1799
1804
|
|
|
1800
|
-
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest> {
|
|
1805
|
+
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest, JSObject> {
|
|
1801
1806
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1802
1807
|
orderPackages: (value: Array<JSObject>) => this;
|
|
1803
1808
|
/** Id. */
|
|
@@ -1808,7 +1813,7 @@ export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersP
|
|
|
1808
1813
|
packages: (packages: Array<JSObject>) => this
|
|
1809
1814
|
}
|
|
1810
1815
|
|
|
1811
|
-
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest> {
|
|
1816
|
+
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest, JSObject> {
|
|
1812
1817
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1813
1818
|
orderPackages: (value: Array<JSObject>) => this;
|
|
1814
1819
|
/** Id. */
|
|
@@ -1835,7 +1840,7 @@ export interface GetOrdersPrinterDocumentsRequest extends Gateway {
|
|
|
1835
1840
|
skipNotGeneratedDocument: (value: Boolean) => this;
|
|
1836
1841
|
}
|
|
1837
1842
|
|
|
1838
|
-
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest> {
|
|
1843
|
+
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest, JSObject> {
|
|
1839
1844
|
/** Orders. */
|
|
1840
1845
|
orders: (value: Array<JSObject>) => this;
|
|
1841
1846
|
/** Order serial number. */
|
|
@@ -1844,7 +1849,7 @@ export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway
|
|
|
1844
1849
|
orderProducts: (orderProducts: Array<JSObject>) => this
|
|
1845
1850
|
}
|
|
1846
1851
|
|
|
1847
|
-
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest> {
|
|
1852
|
+
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest, JSObject> {
|
|
1848
1853
|
/** Orders. */
|
|
1849
1854
|
orders: (value: Array<JSObject>) => this;
|
|
1850
1855
|
/** Order serial number. */
|
|
@@ -1857,7 +1862,7 @@ export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrder
|
|
|
1857
1862
|
isProductsErrors: (isProductsErrors: boolean) => this
|
|
1858
1863
|
}
|
|
1859
1864
|
|
|
1860
|
-
export interface GetOrdersProfitabilityRequest extends Gateway {
|
|
1865
|
+
export interface GetOrdersProfitabilityRequest extends Gateway<GetOrdersProfitabilityResponse> {
|
|
1861
1866
|
/** Order serial number. */
|
|
1862
1867
|
orderSerialNumber: (value: number|string) => this;
|
|
1863
1868
|
}
|
|
@@ -1871,11 +1876,15 @@ export interface PutOrdersShippingCostsRequest extends Gateway {
|
|
|
1871
1876
|
orderDeliveryVat: (value: Number) => this;
|
|
1872
1877
|
}
|
|
1873
1878
|
|
|
1879
|
+
export interface GetOrdersStatusesRequest extends Gateway<GetOrdersStatusesResponse> {}
|
|
1880
|
+
|
|
1874
1881
|
export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrdersUnfinishedRequest,SearchOrdersResponse> {
|
|
1875
1882
|
/** Prepayment status. Status list: "unpaid" - not paid, "restored" - returned, "waiting" - not registered. */
|
|
1876
1883
|
orderPrepaidStatus: (value: string) => this;
|
|
1877
1884
|
/** Order status. Status list: "new" - not handled, "on_order" - in progress, "packed" - being picked, "packed_fulfillment" - being picked - fulfilment, "packed_ready" - packed, "ready" - ready, "payment_waiting" - awaiting payment, "delivery_waiting" - awaiting delivery, "wait_for_dispatch" - awaiting dispatch date, "suspended" - on hold, "finished_ext" - handled in FA application. */
|
|
1878
1885
|
ordersStatuses: (value: string|string[]) => this;
|
|
1886
|
+
/** Order statuses ids. */
|
|
1887
|
+
ordersStatusesIds: (value: number|string|number[]|string[]) => this;
|
|
1879
1888
|
/** Shipping companies (packages deliverers). */
|
|
1880
1889
|
couriersName: (value: string|string[]) => this;
|
|
1881
1890
|
/** Order payment method. Allowed values. "cash_on_delivery" - cash on delivery, "prepaid" - prepayment, "tradecredit" - Trade credit. */
|
|
@@ -1966,7 +1975,7 @@ export interface PutOrdersWarehouseRequest extends Gateway {
|
|
|
1966
1975
|
externalStockId: (value: 'amazonde'|'amazones'|'amazonfr'|'amazonit'|'amazoncouk'|'amazonnl'|'amazonse'|'amazoncomtr'|'amazonae'|'amazonus'|'amazonpl') => this;
|
|
1967
1976
|
}
|
|
1968
1977
|
|
|
1969
|
-
export interface GetPackagesLabelsRequest extends Gateway {
|
|
1978
|
+
export interface GetPackagesLabelsRequest extends Gateway<GetPackagesLabelsResponse> {
|
|
1970
1979
|
/** Id. */
|
|
1971
1980
|
eventId: (value: number|string) => this;
|
|
1972
1981
|
/** Event type */
|
|
@@ -1979,20 +1988,20 @@ export interface GetPackagesLabelsRequest extends Gateway {
|
|
|
1979
1988
|
return: (returnId: number|string) => this;
|
|
1980
1989
|
}
|
|
1981
1990
|
|
|
1982
|
-
export interface PostPackagesLabelsRequest extends AppendableGateway<PostPackagesLabelsRequest> {
|
|
1991
|
+
export interface PostPackagesLabelsRequest extends AppendableGateway<PostPackagesLabelsRequest, PostPackagesLabelsResponse, RequestParams.PostPackagesLabelsParams> {
|
|
1983
1992
|
/** Id. */
|
|
1984
|
-
eventId: (value:
|
|
1993
|
+
eventId: (value: RequestParams.PostPackagesLabelsParams["eventId"]) => this;
|
|
1985
1994
|
/** Type. */
|
|
1986
|
-
eventType: (value:
|
|
1995
|
+
eventType: (value: RequestParams.PostPackagesLabelsParams["eventType"]) => this;
|
|
1987
1996
|
/** Shipment configuration options available for a given courier */
|
|
1988
|
-
parcelParameters: (value:
|
|
1997
|
+
parcelParameters: (value: RequestParams.PostPackagesLabelsParams["parcelParameters"]) => this;
|
|
1989
1998
|
/** Shipment configuration options available for Inpost Smile courier */
|
|
1990
|
-
parcelParametersByPackages: (value:
|
|
1999
|
+
parcelParametersByPackages: (value: RequestParams.PostPackagesLabelsParams["parcelParametersByPackages"]) => this;
|
|
1991
2000
|
/** Package ID in system. */
|
|
1992
2001
|
packageId: (packageId: string) => this
|
|
1993
2002
|
}
|
|
1994
2003
|
|
|
1995
|
-
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest> {
|
|
2004
|
+
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest, JSObject> {
|
|
1996
2005
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1997
2006
|
orderPackages: (value: Array<JSObject>) => this;
|
|
1998
2007
|
/** Order ID. */
|
|
@@ -2003,7 +2012,7 @@ export interface PostPackagesRequest extends AppendableGateway<PostPackagesReque
|
|
|
2003
2012
|
packages: (packages: Array<JSObject>) => this
|
|
2004
2013
|
}
|
|
2005
2014
|
|
|
2006
|
-
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest> {
|
|
2015
|
+
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest, JSObject> {
|
|
2007
2016
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
2008
2017
|
orderPackages: (value: Array<JSObject>) => this;
|
|
2009
2018
|
/** Order ID. */
|
|
@@ -2062,7 +2071,7 @@ export interface GetPaymentsFormsRequest extends Gateway {
|
|
|
2062
2071
|
activeOnly: (value: 'yes'|'no') => this;
|
|
2063
2072
|
}
|
|
2064
2073
|
|
|
2065
|
-
export interface GetPaymentsRequest extends Gateway {
|
|
2074
|
+
export interface GetPaymentsRequest extends Gateway<GetPaymentsResponse> {
|
|
2066
2075
|
/** Payment number consists of: source ID (order / return ID) and the payment ordinal number, e.g. 1234-1. */
|
|
2067
2076
|
paymentNumber: (value: string) => this;
|
|
2068
2077
|
/** Source type. */
|
|
@@ -2133,14 +2142,14 @@ export interface PostPaymentsRepaymentRequest extends Gateway {
|
|
|
2133
2142
|
other: (value: JSObject) => this;
|
|
2134
2143
|
}
|
|
2135
2144
|
|
|
2136
|
-
export interface GetProductsSKUbyBarcodeRequest extends Gateway {
|
|
2145
|
+
export interface GetProductsSKUbyBarcodeRequest extends Gateway<GetProductsSKUbyBarcodeResponse> {
|
|
2137
2146
|
/** List of sought products by indexes. */
|
|
2138
2147
|
productIndices: (value: string|string[]) => this;
|
|
2139
2148
|
/** Search for products only by IAI code */
|
|
2140
2149
|
searchOnlyInCodeIai: (value: Boolean) => this;
|
|
2141
2150
|
}
|
|
2142
2151
|
|
|
2143
|
-
export interface PutProductsAttachmentsRequest extends AppendableGateway<PutProductsAttachmentsRequest> {
|
|
2152
|
+
export interface PutProductsAttachmentsRequest extends AppendableGateway<PutProductsAttachmentsRequest, JSObject> {
|
|
2144
2153
|
productsAttachments: (value: Array<JSObject>) => this;
|
|
2145
2154
|
/** Stock keeping unit. */
|
|
2146
2155
|
productIdent: (productIdent: JSObject) => this
|
|
@@ -2157,7 +2166,7 @@ export interface PutProductsAttachmentsRequest extends AppendableGateway<PutProd
|
|
|
2157
2166
|
productId: (value: number|string) => this;
|
|
2158
2167
|
}
|
|
2159
2168
|
|
|
2160
|
-
export interface GetProductsAuctionsRequest extends PagableGateway<GetProductsAuctionsRequest> {
|
|
2169
|
+
export interface GetProductsAuctionsRequest extends PagableGateway<GetProductsAuctionsRequest,GetProductsAuctionsResponse> {
|
|
2161
2170
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2162
2171
|
/** Products list. */
|
|
2163
2172
|
products: (value: string|string[]) => this;
|
|
@@ -2186,7 +2195,7 @@ export interface GetProductsBrandsFilterRequest extends Gateway {
|
|
|
2186
2195
|
producerId: (value: number|string) => this;
|
|
2187
2196
|
}
|
|
2188
2197
|
|
|
2189
|
-
export interface PutProductsBrandsFilterRequest extends AppendableGateway<PutProductsBrandsFilterRequest> {
|
|
2198
|
+
export interface PutProductsBrandsFilterRequest extends AppendableGateway<PutProductsBrandsFilterRequest, JSObject> {
|
|
2190
2199
|
/** Shop Id */
|
|
2191
2200
|
shopId: (value: number|string) => this;
|
|
2192
2201
|
/** Language ID (code in ISO 639-2). */
|
|
@@ -2208,7 +2217,7 @@ export interface PutProductsBrandsFilterRequest extends AppendableGateway<PutPro
|
|
|
2208
2217
|
filterDefaultEnabled: (filterDefaultEnabled: 'y'|'n') => this
|
|
2209
2218
|
}
|
|
2210
2219
|
|
|
2211
|
-
export interface GetProductsBrandsRequest extends PagableGateway<GetProductsBrandsRequest> {
|
|
2220
|
+
export interface GetProductsBrandsRequest extends PagableGateway<GetProductsBrandsRequest,GetProductsBrandsResponse> {
|
|
2212
2221
|
/** Result page number. */
|
|
2213
2222
|
results_page: (value: number|string) => this;
|
|
2214
2223
|
/** Number of results on page. */
|
|
@@ -2217,7 +2226,7 @@ export interface GetProductsBrandsRequest extends PagableGateway<GetProductsBran
|
|
|
2217
2226
|
languagesIds: (value: string|string[]) => this;
|
|
2218
2227
|
}
|
|
2219
2228
|
|
|
2220
|
-
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest> {
|
|
2229
|
+
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest, JSObject> {
|
|
2221
2230
|
/** List of manufacturers assigned to sought products. */
|
|
2222
2231
|
producers: (value: Array<JSObject>) => this;
|
|
2223
2232
|
/** Name in panel */
|
|
@@ -2228,7 +2237,7 @@ export interface PostProductsBrandsRequest extends AppendableGateway<PostProduct
|
|
|
2228
2237
|
languagesConfigurations: (languagesConfigurations: Array<JSObject>) => this
|
|
2229
2238
|
}
|
|
2230
2239
|
|
|
2231
|
-
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest> {
|
|
2240
|
+
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest, JSObject> {
|
|
2232
2241
|
/** List of manufacturers assigned to sought products. */
|
|
2233
2242
|
producers: (value: Array<JSObject>) => this;
|
|
2234
2243
|
/** Id */
|
|
@@ -2241,14 +2250,14 @@ export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsB
|
|
|
2241
2250
|
languagesConfigurations: (languagesConfigurations: Array<JSObject>) => this
|
|
2242
2251
|
}
|
|
2243
2252
|
|
|
2244
|
-
export interface PostProductsBundlesRequest extends AppendableGateway<PostProductsBundlesRequest> {
|
|
2253
|
+
export interface PostProductsBundlesRequest extends AppendableGateway<PostProductsBundlesRequest, JSObject> {
|
|
2245
2254
|
/** Parameters transmitted to method */
|
|
2246
2255
|
params: (value: Array<JSObject>) => this;
|
|
2247
2256
|
/** Products list. */
|
|
2248
2257
|
products: (products: Array<JSObject>) => this
|
|
2249
2258
|
}
|
|
2250
2259
|
|
|
2251
|
-
export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<DeleteProductsBundlesProductsRequest> {
|
|
2260
|
+
export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<DeleteProductsBundlesProductsRequest, JSObject> {
|
|
2252
2261
|
/** Parameters transmitted to method */
|
|
2253
2262
|
params: (value: Array<JSObject>) => this;
|
|
2254
2263
|
/** Products list. */
|
|
@@ -2257,7 +2266,7 @@ export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<
|
|
|
2257
2266
|
bundleIdent: (bundleIdent: JSObject) => this
|
|
2258
2267
|
}
|
|
2259
2268
|
|
|
2260
|
-
export interface PostProductsBundlesProductsRequest extends AppendableGateway<PostProductsBundlesProductsRequest> {
|
|
2269
|
+
export interface PostProductsBundlesProductsRequest extends AppendableGateway<PostProductsBundlesProductsRequest, JSObject> {
|
|
2261
2270
|
/** Parameters transmitted to method */
|
|
2262
2271
|
params: (value: Array<JSObject>) => this;
|
|
2263
2272
|
/** Products list. */
|
|
@@ -2266,7 +2275,7 @@ export interface PostProductsBundlesProductsRequest extends AppendableGateway<Po
|
|
|
2266
2275
|
bundleIdent: (bundleIdent: JSObject) => this
|
|
2267
2276
|
}
|
|
2268
2277
|
|
|
2269
|
-
export interface PutProductsBundlesProductsQuantityRequest extends AppendableGateway<PutProductsBundlesProductsQuantityRequest> {
|
|
2278
|
+
export interface PutProductsBundlesProductsQuantityRequest extends AppendableGateway<PutProductsBundlesProductsQuantityRequest, JSObject> {
|
|
2270
2279
|
/** Parameters transmitted to method */
|
|
2271
2280
|
params: (value: Array<JSObject>) => this;
|
|
2272
2281
|
/** Products list. */
|
|
@@ -2275,7 +2284,7 @@ export interface PutProductsBundlesProductsQuantityRequest extends AppendableGat
|
|
|
2275
2284
|
bundleIdent: (bundleIdent: JSObject) => this
|
|
2276
2285
|
}
|
|
2277
2286
|
|
|
2278
|
-
export interface PutProductsBundlesRenewRequest extends AppendableGateway<PutProductsBundlesRenewRequest> {
|
|
2287
|
+
export interface PutProductsBundlesRenewRequest extends AppendableGateway<PutProductsBundlesRenewRequest, JSObject> {
|
|
2279
2288
|
/** Parameters transmitted to method */
|
|
2280
2289
|
params: (value: Array<JSObject>) => this;
|
|
2281
2290
|
/** Products list. */
|
|
@@ -2284,7 +2293,7 @@ export interface PutProductsBundlesRenewRequest extends AppendableGateway<PutPro
|
|
|
2284
2293
|
bundleIdent: (bundleIdent: JSObject) => this
|
|
2285
2294
|
}
|
|
2286
2295
|
|
|
2287
|
-
export interface GetProductsCategoriesRequest extends PagableGateway<GetProductsCategoriesRequest,
|
|
2296
|
+
export interface GetProductsCategoriesRequest extends PagableGateway<GetProductsCategoriesRequest,GetProductsCategoriesResponse> {
|
|
2288
2297
|
/** List of product category identifiers in the panel */
|
|
2289
2298
|
ids: (value: number|string|number[]|string[]) => this;
|
|
2290
2299
|
/** Array of languages categories names should be returned in. "Defaults" value returns categories names in store default language. Not using languages parameter causes a situation, that categories names are returned in all available languages. */
|
|
@@ -2297,7 +2306,7 @@ export interface GetProductsCategoriesRequest extends PagableGateway<GetProducts
|
|
|
2297
2306
|
return_last_changed_time: (value: string) => this;
|
|
2298
2307
|
}
|
|
2299
2308
|
|
|
2300
|
-
export interface PutProductsCategoriesRequest extends AppendableGateway<PutProductsCategoriesRequest> {
|
|
2309
|
+
export interface PutProductsCategoriesRequest extends AppendableGateway<PutProductsCategoriesRequest, JSObject> {
|
|
2301
2310
|
/** List of categories in which sought products are present. */
|
|
2302
2311
|
categories: (value: Array<JSObject>) => this;
|
|
2303
2312
|
/** Category id. */
|
|
@@ -2312,7 +2321,7 @@ export interface PutProductsCategoriesRequest extends AppendableGateway<PutProdu
|
|
|
2312
2321
|
lang_data: (lang_data: Array<JSObject>) => this
|
|
2313
2322
|
}
|
|
2314
2323
|
|
|
2315
|
-
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest,
|
|
2324
|
+
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest,SearchProductsCategoriesIdosellResponse> {
|
|
2316
2325
|
/** List of languages */
|
|
2317
2326
|
languagesIds: (value: string|string[]) => this;
|
|
2318
2327
|
/** Number of IdoSell Categories identifiers */
|
|
@@ -2329,23 +2338,23 @@ export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<S
|
|
|
2329
2338
|
languages: (values: number|string|number[]|string[]) => this;
|
|
2330
2339
|
}
|
|
2331
2340
|
|
|
2332
|
-
export interface GetProductsCodeExistenceRequest extends Gateway {
|
|
2341
|
+
export interface GetProductsCodeExistenceRequest extends Gateway<GetProductsCodeExistenceResponse> {
|
|
2333
2342
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer'|'codeDeliverer') => this;
|
|
2334
2343
|
/** Products list. */
|
|
2335
2344
|
products: (value: string|string[]) => this;
|
|
2336
2345
|
delivererId: (value: string) => this;
|
|
2337
2346
|
/** Set product identifiers */
|
|
2338
|
-
productId: (productId: number|string|number|string|number[]|string[], type
|
|
2347
|
+
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2339
2348
|
}
|
|
2340
2349
|
|
|
2341
|
-
export interface PostProductsCollectionsRequest extends AppendableGateway<PostProductsCollectionsRequest> {
|
|
2350
|
+
export interface PostProductsCollectionsRequest extends AppendableGateway<PostProductsCollectionsRequest, JSObject> {
|
|
2342
2351
|
/** Parameters transmitted to method */
|
|
2343
2352
|
params: (value: Array<JSObject>) => this;
|
|
2344
2353
|
/** Products list. */
|
|
2345
2354
|
products: (products: Array<JSObject>) => this
|
|
2346
2355
|
}
|
|
2347
2356
|
|
|
2348
|
-
export interface DeleteProductsCollectionsProductsRequest extends AppendableGateway<DeleteProductsCollectionsProductsRequest> {
|
|
2357
|
+
export interface DeleteProductsCollectionsProductsRequest extends AppendableGateway<DeleteProductsCollectionsProductsRequest, JSObject> {
|
|
2349
2358
|
/** Parameters transmitted to method */
|
|
2350
2359
|
params: (value: Array<JSObject>) => this;
|
|
2351
2360
|
/** Products list. */
|
|
@@ -2354,7 +2363,7 @@ export interface DeleteProductsCollectionsProductsRequest extends AppendableGate
|
|
|
2354
2363
|
collectionId: (collectionId: number|string) => this
|
|
2355
2364
|
}
|
|
2356
2365
|
|
|
2357
|
-
export interface PostProductsCollectionsProductsRequest extends AppendableGateway<PostProductsCollectionsProductsRequest> {
|
|
2366
|
+
export interface PostProductsCollectionsProductsRequest extends AppendableGateway<PostProductsCollectionsProductsRequest, JSObject> {
|
|
2358
2367
|
/** Parameters transmitted to method */
|
|
2359
2368
|
params: (value: Array<JSObject>) => this;
|
|
2360
2369
|
/** Products list. */
|
|
@@ -2363,7 +2372,7 @@ export interface PostProductsCollectionsProductsRequest extends AppendableGatewa
|
|
|
2363
2372
|
collectionId: (collectionId: number|string) => this
|
|
2364
2373
|
}
|
|
2365
2374
|
|
|
2366
|
-
export interface PutProductsCollectionsProductsRequest extends AppendableGateway<PutProductsCollectionsProductsRequest> {
|
|
2375
|
+
export interface PutProductsCollectionsProductsRequest extends AppendableGateway<PutProductsCollectionsProductsRequest, JSObject> {
|
|
2367
2376
|
/** Parameters transmitted to method */
|
|
2368
2377
|
params: (value: Array<JSObject>) => this;
|
|
2369
2378
|
/** Products list. */
|
|
@@ -2372,7 +2381,7 @@ export interface PutProductsCollectionsProductsRequest extends AppendableGateway
|
|
|
2372
2381
|
collectionId: (collectionId: number|string) => this
|
|
2373
2382
|
}
|
|
2374
2383
|
|
|
2375
|
-
export interface PutProductsCollectionsRenewRequest extends AppendableGateway<PutProductsCollectionsRenewRequest> {
|
|
2384
|
+
export interface PutProductsCollectionsRenewRequest extends AppendableGateway<PutProductsCollectionsRenewRequest, JSObject> {
|
|
2376
2385
|
/** Parameters transmitted to method */
|
|
2377
2386
|
params: (value: Array<JSObject>) => this;
|
|
2378
2387
|
/** Products list. */
|
|
@@ -2381,7 +2390,7 @@ export interface PutProductsCollectionsRenewRequest extends AppendableGateway<Pu
|
|
|
2381
2390
|
collectionIdent: (collectionIdent: JSObject) => this
|
|
2382
2391
|
}
|
|
2383
2392
|
|
|
2384
|
-
export interface SearchProductsDeliveryTimeRequest extends AppendableGateway<SearchProductsDeliveryTimeRequest,
|
|
2393
|
+
export interface SearchProductsDeliveryTimeRequest extends AppendableGateway<SearchProductsDeliveryTimeRequest, SearchProductsDeliveryTimeResponse> {
|
|
2385
2394
|
/** Stock ID */
|
|
2386
2395
|
stockId: (value: number|string) => this;
|
|
2387
2396
|
/** Should products be prepared for personal collection? */
|
|
@@ -2399,7 +2408,7 @@ export interface SearchProductsDeliveryTimeRequest extends AppendableGateway<Sea
|
|
|
2399
2408
|
productSizeQuantity: (productSizeQuantity: number) => this
|
|
2400
2409
|
}
|
|
2401
2410
|
|
|
2402
|
-
export interface GetProductsDescriptionsRequest extends Gateway {
|
|
2411
|
+
export interface GetProductsDescriptionsRequest extends Gateway<GetProductsDescriptionsResponse> {
|
|
2403
2412
|
/** Identifier type. */
|
|
2404
2413
|
type: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2405
2414
|
/** ID value. */
|
|
@@ -2407,10 +2416,10 @@ export interface GetProductsDescriptionsRequest extends Gateway {
|
|
|
2407
2416
|
/** Shop Id */
|
|
2408
2417
|
shopId: (value: number|string) => this;
|
|
2409
2418
|
/** Set product identifiers */
|
|
2410
|
-
productId: (productId: number|string|number|string|number[]|string[], type
|
|
2419
|
+
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2411
2420
|
}
|
|
2412
2421
|
|
|
2413
|
-
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest> {
|
|
2422
|
+
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest, JSObject> {
|
|
2414
2423
|
/** Products list. */
|
|
2415
2424
|
products: (value: Array<JSObject>) => this;
|
|
2416
2425
|
/** */
|
|
@@ -2421,17 +2430,17 @@ export interface PutProductsDescriptionsRequest extends AppendableGateway<PutPro
|
|
|
2421
2430
|
productAuctionDescriptionsData: (productAuctionDescriptionsData: Array<JSObject>) => this
|
|
2422
2431
|
productId: (value: number|string) => this;
|
|
2423
2432
|
/** Set various types of names or descriptions to the product */
|
|
2424
|
-
setText: (text: string, type
|
|
2433
|
+
setText: (text: string, type?: "productName"|"productAuctionName"|"productPriceComparerName"|"productDescription"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeywords", language?: string, shopId?: number|string) => this;
|
|
2425
2434
|
}
|
|
2426
2435
|
|
|
2427
|
-
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest> {
|
|
2436
|
+
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest, JSObject> {
|
|
2428
2437
|
groups: (value: Array<JSObject>) => this;
|
|
2429
2438
|
/** */
|
|
2430
2439
|
productIdent: (productIdent: JSObject) => this
|
|
2431
2440
|
productId: (value: number|string) => this;
|
|
2432
2441
|
}
|
|
2433
2442
|
|
|
2434
|
-
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest> {
|
|
2443
|
+
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest, JSObject> {
|
|
2435
2444
|
groups: (value: Array<JSObject>) => this;
|
|
2436
2445
|
/** */
|
|
2437
2446
|
productsInOrder: (productsInOrder: Array<JSObject>) => this
|
|
@@ -2439,7 +2448,7 @@ export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProd
|
|
|
2439
2448
|
productIdsInOrder: (productIds: number|string|number[]|string[]) => this;
|
|
2440
2449
|
}
|
|
2441
2450
|
|
|
2442
|
-
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest> {
|
|
2451
|
+
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest, JSObject> {
|
|
2443
2452
|
groups: (value: Array<JSObject>) => this;
|
|
2444
2453
|
/** */
|
|
2445
2454
|
productIdent: (productIdent: JSObject) => this
|
|
@@ -2452,14 +2461,14 @@ export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutP
|
|
|
2452
2461
|
productId: (value: number|string) => this;
|
|
2453
2462
|
}
|
|
2454
2463
|
|
|
2455
|
-
export interface GetProductsIdBySizecodeRequest extends Gateway {
|
|
2464
|
+
export interface GetProductsIdBySizecodeRequest extends Gateway<GetProductsIdBySizecodeResponse> {
|
|
2456
2465
|
/** Search codes. */
|
|
2457
2466
|
codes: (value: string|string[]) => this;
|
|
2458
2467
|
/** Type of codes. Acceptable values: "external" (default value) - external system code, "producer" - producer code, and "all" - any of the above codes */
|
|
2459
2468
|
type: (value: string) => this;
|
|
2460
2469
|
}
|
|
2461
2470
|
|
|
2462
|
-
export interface DeleteProductsImagesRequest extends AppendableGateway<DeleteProductsImagesRequest> {
|
|
2471
|
+
export interface DeleteProductsImagesRequest extends AppendableGateway<DeleteProductsImagesRequest, JSObject> {
|
|
2463
2472
|
/** Parameters transmitted to method */
|
|
2464
2473
|
params: (value: Array<JSObject>) => this;
|
|
2465
2474
|
/** Delete all images */
|
|
@@ -2472,7 +2481,7 @@ export interface DeleteProductsImagesRequest extends AppendableGateway<DeletePro
|
|
|
2472
2481
|
productImagesId: (productImagesId: string|string[]) => this
|
|
2473
2482
|
}
|
|
2474
2483
|
|
|
2475
|
-
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest> {
|
|
2484
|
+
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest, JSObject> {
|
|
2476
2485
|
productsImagesSettings: (value: JSObject) => this;
|
|
2477
2486
|
/** Information on product images */
|
|
2478
2487
|
productsImages: (value: Array<JSObject>) => this;
|
|
@@ -2507,7 +2516,7 @@ export interface GetProductsMarketingPromotionRequest extends Gateway {
|
|
|
2507
2516
|
products: (value: number|string|number[]|string[]) => this;
|
|
2508
2517
|
}
|
|
2509
2518
|
|
|
2510
|
-
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest> {
|
|
2519
|
+
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest, JSObject> {
|
|
2511
2520
|
/** Promotion name */
|
|
2512
2521
|
promotionName: (value: string) => this;
|
|
2513
2522
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
@@ -2538,7 +2547,7 @@ export interface PostProductsMarketingPromotionRequest extends AppendableGateway
|
|
|
2538
2547
|
elementId: (elementId: string) => this
|
|
2539
2548
|
}
|
|
2540
2549
|
|
|
2541
|
-
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest> {
|
|
2550
|
+
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest, JSObject> {
|
|
2542
2551
|
/** Promotion ID */
|
|
2543
2552
|
promotionId: (value: string) => this;
|
|
2544
2553
|
/** Promotion name */
|
|
@@ -2578,10 +2587,10 @@ export interface GetProductsMarketingZonesRequest extends Gateway {
|
|
|
2578
2587
|
/** Products list. */
|
|
2579
2588
|
products: (value: string|string[]) => this;
|
|
2580
2589
|
/** Set product identifiers */
|
|
2581
|
-
productId: (productId: number|string|number|string|number[]|string[], type
|
|
2590
|
+
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2582
2591
|
}
|
|
2583
2592
|
|
|
2584
|
-
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest> {
|
|
2593
|
+
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest, JSObject> {
|
|
2585
2594
|
/** Products list. */
|
|
2586
2595
|
products: (value: Array<JSObject>) => this;
|
|
2587
2596
|
assignment_mode: (value: 'auto'|'manual') => this;
|
|
@@ -2592,15 +2601,15 @@ export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutP
|
|
|
2592
2601
|
ident: (ident: JSObject) => this
|
|
2593
2602
|
}
|
|
2594
2603
|
|
|
2595
|
-
export interface GetProductsOmnibusPricesRequest extends Gateway {
|
|
2604
|
+
export interface GetProductsOmnibusPricesRequest extends Gateway<GetProductsOmnibusPricesResponse> {
|
|
2596
2605
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2597
2606
|
/** Products list. */
|
|
2598
2607
|
products: (value: string|string[]) => this;
|
|
2599
2608
|
/** Set product identifiers */
|
|
2600
|
-
productId: (productId: number|string|number|string|number[]|string[], type
|
|
2609
|
+
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2601
2610
|
}
|
|
2602
2611
|
|
|
2603
|
-
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest> {
|
|
2612
|
+
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest, JSObject> {
|
|
2604
2613
|
/** Products list. */
|
|
2605
2614
|
products: (value: Array<JSObject>) => this;
|
|
2606
2615
|
/** Identifier type. */
|
|
@@ -2612,18 +2621,18 @@ export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutPr
|
|
|
2612
2621
|
/** Strikethrough price settings for the page. */
|
|
2613
2622
|
shops: (shops: Array<JSObject>) => this
|
|
2614
2623
|
/** Set product identifiers */
|
|
2615
|
-
productId: (productId: number|string, type
|
|
2624
|
+
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2616
2625
|
/** Set retail or wholesale price */
|
|
2617
|
-
setPrice: (price: number, wholesale
|
|
2626
|
+
setPrice: (price: number, wholesale?: boolean) => this;
|
|
2618
2627
|
/** Set mode to automatic */
|
|
2619
|
-
mode: (automatic: boolean
|
|
2628
|
+
mode: (automatic: boolean) => this;
|
|
2620
2629
|
}
|
|
2621
2630
|
|
|
2622
2631
|
export interface DeleteProductsOpinionsRequest extends Gateway {
|
|
2623
2632
|
id: (value: number|string) => this;
|
|
2624
2633
|
}
|
|
2625
2634
|
|
|
2626
|
-
export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOpinionsRequest> {
|
|
2635
|
+
export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOpinionsRequest,GetProductsOpinionsResponse> {
|
|
2627
2636
|
/** Review identification */
|
|
2628
2637
|
opinion: (value: JSObject) => this;
|
|
2629
2638
|
/** Products list. */
|
|
@@ -2648,7 +2657,7 @@ export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOp
|
|
|
2648
2657
|
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending: boolean) => this;
|
|
2649
2658
|
}
|
|
2650
2659
|
|
|
2651
|
-
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest> {
|
|
2660
|
+
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest, JSObject> {
|
|
2652
2661
|
/** List of reviews */
|
|
2653
2662
|
opinions: (value: Array<JSObject>) => this;
|
|
2654
2663
|
/** */
|
|
@@ -2707,7 +2716,7 @@ export interface DeleteProductsParametersRequest extends Gateway {
|
|
|
2707
2716
|
ids: (value: number|string|number[]|string[]) => this;
|
|
2708
2717
|
}
|
|
2709
2718
|
|
|
2710
|
-
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest> {
|
|
2719
|
+
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest, JSObject> {
|
|
2711
2720
|
/** Sections, parameters or valued to add or edit. */
|
|
2712
2721
|
items: (value: Array<JSObject>) => this;
|
|
2713
2722
|
/** Settings */
|
|
@@ -2747,7 +2756,7 @@ export interface SearchProductsParametersRequest extends PagableGateway<SearchPr
|
|
|
2747
2756
|
resultsLimit: (value: number|string) => this;
|
|
2748
2757
|
}
|
|
2749
2758
|
|
|
2750
|
-
export interface DeleteProductsRequest extends AppendableGateway<DeleteProductsRequest> {
|
|
2759
|
+
export interface DeleteProductsRequest extends AppendableGateway<DeleteProductsRequest, JSObject> {
|
|
2751
2760
|
/** Products list. */
|
|
2752
2761
|
products: (value: Array<JSObject>) => this;
|
|
2753
2762
|
/** Product IAI code */
|
|
@@ -2761,13 +2770,13 @@ export interface GetProductsRequest extends Gateway<SearchProductsResponse> {
|
|
|
2761
2770
|
productIds: (value: string|string[]) => this;
|
|
2762
2771
|
}
|
|
2763
2772
|
|
|
2764
|
-
export interface PostProductsRequest extends AppendableGateway<PostProductsRequest> {
|
|
2773
|
+
export interface PostProductsRequest extends AppendableGateway<PostProductsRequest, PostProductsResponse, RequestParams.PostProductsParams> {
|
|
2765
2774
|
/** Settings */
|
|
2766
|
-
settings: (value:
|
|
2775
|
+
settings: (value: RequestParams.PostProductsParams["settings"]) => this;
|
|
2767
2776
|
/** Icon and photos settings */
|
|
2768
|
-
picturesSettings: (value:
|
|
2777
|
+
picturesSettings: (value: RequestParams.PostProductsParams["picturesSettings"]) => this;
|
|
2769
2778
|
/** Products list. */
|
|
2770
|
-
products: (value:
|
|
2779
|
+
products: (value: RequestParams.PostProductsParams["products"]) => this;
|
|
2771
2780
|
/** Product IAI code */
|
|
2772
2781
|
productId: (productId: number|string) => this
|
|
2773
2782
|
/** External product system code for size. */
|
|
@@ -2927,18 +2936,18 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
|
|
|
2927
2936
|
/** Responsible person code */
|
|
2928
2937
|
responsiblePersonCode: (responsiblePersonCode: string) => this
|
|
2929
2938
|
/** Set various types of names or descriptions to the product */
|
|
2930
|
-
setText: (text: string, type
|
|
2939
|
+
setText: (text: string, type?: "productName"|"productParamDescriptions"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeyword"|"productAuctionName"|"productAuctionDescription"|"productAuctionAdditionalName"|"productNameInPriceComparer", language?: string, shopId?: number|string) => this;
|
|
2931
2940
|
/** Sets product price by amount */
|
|
2932
|
-
setPrice: (value: number, type
|
|
2941
|
+
setPrice: (value: number, type?: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation') => this;
|
|
2933
2942
|
}
|
|
2934
2943
|
|
|
2935
|
-
export interface PutProductsRequest extends AppendableGateway<PutProductsRequest> {
|
|
2944
|
+
export interface PutProductsRequest extends AppendableGateway<PutProductsRequest, PutProductsResponse, RequestParams.PutProductsParams> {
|
|
2936
2945
|
/** Settings */
|
|
2937
|
-
settings: (value:
|
|
2946
|
+
settings: (value: RequestParams.PutProductsParams["settings"]) => this;
|
|
2938
2947
|
/** Icon and photos settings */
|
|
2939
|
-
picturesSettings: (value:
|
|
2948
|
+
picturesSettings: (value: RequestParams.PutProductsParams["picturesSettings"]) => this;
|
|
2940
2949
|
/** Products list. */
|
|
2941
|
-
products: (value:
|
|
2950
|
+
products: (value: RequestParams.PutProductsParams["products"]) => this;
|
|
2942
2951
|
/** Product IAI code */
|
|
2943
2952
|
productId: (productId: number|string) => this
|
|
2944
2953
|
/** One of the unique, indexed product codes (IAI code / External system code / Producer code) */
|
|
@@ -2999,7 +3008,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
2999
3008
|
productMinimalPriceNet: (productMinimalPriceNet: number) => this
|
|
3000
3009
|
/** Price for automatic calculations */
|
|
3001
3010
|
productAutomaticCalculationPrice: (productAutomaticCalculationPrice: number) => this
|
|
3002
|
-
/**
|
|
3011
|
+
/** Price for automatic net calculations for each store */
|
|
3003
3012
|
productAutomaticCalculationPriceNet: (productAutomaticCalculationPriceNet: number) => this
|
|
3004
3013
|
/** price for POS. */
|
|
3005
3014
|
productPosPrice: (productPosPrice: number) => this
|
|
@@ -3137,7 +3146,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3137
3146
|
productMetaDescriptions: (productMetaDescriptions: JSObject) => this
|
|
3138
3147
|
/** Product meta keywords. */
|
|
3139
3148
|
productMetaKeywords: (productMetaKeywords: JSObject) => this
|
|
3140
|
-
/**
|
|
3149
|
+
/** URL for the product */
|
|
3141
3150
|
productUrl: (productUrl: JSObject) => this
|
|
3142
3151
|
/** Data on product groups (variants) */
|
|
3143
3152
|
productVersion: (productVersion: JSObject) => this
|
|
@@ -3163,7 +3172,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3163
3172
|
productPriceVatChangeMode: (productPriceVatChangeMode: 'change_net'|'change_gross') => this
|
|
3164
3173
|
/** An array of menu elements */
|
|
3165
3174
|
productMenuItems: (productMenuItems: Array<JSObject>) => this
|
|
3166
|
-
/**
|
|
3175
|
+
/** Deletes all items assigned to the product of the selected menu */
|
|
3167
3176
|
removeAllProductsAssignedToMenu: (removeAllProductsAssignedToMenu: JSObject) => this
|
|
3168
3177
|
/** Do You wish to sum up the products in the basket as a one order? Available values: "y" - yes, "n" - no. */
|
|
3169
3178
|
productSumInBasket: (productSumInBasket: string) => this
|
|
@@ -3204,17 +3213,17 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3204
3213
|
/** Responsible person code */
|
|
3205
3214
|
responsiblePersonCode: (responsiblePersonCode: string) => this
|
|
3206
3215
|
/** Set various types of names or descriptions to the product */
|
|
3207
|
-
setText: (text: string, type
|
|
3216
|
+
setText: (text: string, type?: "productName"|"productParamDescriptions"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeyword"|"productAuctionName"|"productAuctionDescription"|"productAuctionAdditionalName"|"productNameInPriceComparer", language?: string, shopId?: number|string) => this;
|
|
3208
3217
|
/** Set edit mode - disables adding new product */
|
|
3209
3218
|
editMode: () => this;
|
|
3210
3219
|
/** Set add mode - Api is allowed to create new products */
|
|
3211
3220
|
addMode: () => this;
|
|
3212
3221
|
/** Increases product price by amount */
|
|
3213
|
-
addPrice: (value: number, type
|
|
3222
|
+
addPrice: (value: number, type?: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation') => this;
|
|
3214
3223
|
/** Sets product price by amount */
|
|
3215
|
-
setPrice: (value: number, type
|
|
3224
|
+
setPrice: (value: number, type?: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation') => this;
|
|
3216
3225
|
/** Sets product selected IDs */
|
|
3217
|
-
setMenu: (shopId: number|string, menuIds
|
|
3226
|
+
setMenu: (shopId: number|string, menuIds?: number|string) => this;
|
|
3218
3227
|
/** Sets list of pictures attached to product */
|
|
3219
3228
|
pictures: (picturesArray: string|string[]) => this;
|
|
3220
3229
|
}
|
|
@@ -3413,7 +3422,7 @@ export interface GetProductsQuestionsRequest extends Gateway {
|
|
|
3413
3422
|
productId: (value: number|string) => this;
|
|
3414
3423
|
}
|
|
3415
3424
|
|
|
3416
|
-
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest> {
|
|
3425
|
+
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest, JSObject> {
|
|
3417
3426
|
/** Question Board. */
|
|
3418
3427
|
questions: (value: Array<JSObject>) => this;
|
|
3419
3428
|
/** Question ID. */
|
|
@@ -3447,12 +3456,12 @@ export interface PutProductsQuestionsRequest extends AppendableGateway<PutProduc
|
|
|
3447
3456
|
productId: (value: number|string) => this;
|
|
3448
3457
|
}
|
|
3449
3458
|
|
|
3450
|
-
export interface GetProductsReservationsRequest extends Gateway {
|
|
3459
|
+
export interface GetProductsReservationsRequest extends Gateway<GetProductsReservationsResponse> {
|
|
3451
3460
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3452
3461
|
/** Products list. */
|
|
3453
3462
|
products: (value: string|string[]) => this;
|
|
3454
3463
|
/** Set product identifiers */
|
|
3455
|
-
productId: (productId: number|string|number|string|number[]|string[], type
|
|
3464
|
+
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3456
3465
|
}
|
|
3457
3466
|
|
|
3458
3467
|
export interface PostProductsRestoreRequest extends Gateway {
|
|
@@ -3474,7 +3483,7 @@ export interface GetProductsSeriesFilterRequest extends Gateway {
|
|
|
3474
3483
|
serieId: (value: number|string) => this;
|
|
3475
3484
|
}
|
|
3476
3485
|
|
|
3477
|
-
export interface PutProductsSeriesFilterRequest extends AppendableGateway<PutProductsSeriesFilterRequest> {
|
|
3486
|
+
export interface PutProductsSeriesFilterRequest extends AppendableGateway<PutProductsSeriesFilterRequest, JSObject> {
|
|
3478
3487
|
/** Shop Id */
|
|
3479
3488
|
shopId: (value: number|string) => this;
|
|
3480
3489
|
/** Language ID (code in ISO 639-2). */
|
|
@@ -3496,7 +3505,7 @@ export interface PutProductsSeriesFilterRequest extends AppendableGateway<PutPro
|
|
|
3496
3505
|
filterDefaultEnabled: (filterDefaultEnabled: 'y'|'n') => this
|
|
3497
3506
|
}
|
|
3498
3507
|
|
|
3499
|
-
export interface GetProductsSeriesRequest extends PagableGateway<GetProductsSeriesRequest> {
|
|
3508
|
+
export interface GetProductsSeriesRequest extends PagableGateway<GetProductsSeriesRequest,GetProductsSeriesResponse> {
|
|
3500
3509
|
/** With "y" value it returns the last series modification date in YYYY-MM-DD HH:MM:SS format. */
|
|
3501
3510
|
return_last_changed_time: (value: string) => this;
|
|
3502
3511
|
/** IDs */
|
|
@@ -3511,7 +3520,7 @@ export interface GetProductsSeriesRequest extends PagableGateway<GetProductsSeri
|
|
|
3511
3520
|
resultsLimit: (value: number|string) => this;
|
|
3512
3521
|
}
|
|
3513
3522
|
|
|
3514
|
-
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest> {
|
|
3523
|
+
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest, JSObject> {
|
|
3515
3524
|
/** Series list. */
|
|
3516
3525
|
series: (value: Array<JSObject>) => this;
|
|
3517
3526
|
/** Id */
|
|
@@ -3522,7 +3531,7 @@ export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsS
|
|
|
3522
3531
|
shopsConfigurations: (shopsConfigurations: Array<JSObject>) => this
|
|
3523
3532
|
}
|
|
3524
3533
|
|
|
3525
|
-
export interface DeleteProductsSizesRequest extends AppendableGateway<DeleteProductsSizesRequest> {
|
|
3534
|
+
export interface DeleteProductsSizesRequest extends AppendableGateway<DeleteProductsSizesRequest, JSObject> {
|
|
3526
3535
|
/** Edition mode */
|
|
3527
3536
|
mode: (value: 'delete_by_size'|'delete_all') => this;
|
|
3528
3537
|
/** Parameters transmitted to method */
|
|
@@ -3535,12 +3544,12 @@ export interface DeleteProductsSizesRequest extends AppendableGateway<DeleteProd
|
|
|
3535
3544
|
sizes: (sizes: Array<JSObject>) => this
|
|
3536
3545
|
}
|
|
3537
3546
|
|
|
3538
|
-
export interface GetProductsSizesRequest extends Gateway {
|
|
3547
|
+
export interface GetProductsSizesRequest extends Gateway<GetProductsSizesResponse> {
|
|
3539
3548
|
/** Allows to change offset and number of records returned */
|
|
3540
3549
|
page: (pagenumber: number, pageSize?: number) => this;
|
|
3541
3550
|
}
|
|
3542
3551
|
|
|
3543
|
-
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest> {
|
|
3552
|
+
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest, JSObject> {
|
|
3544
3553
|
/** Edition mode */
|
|
3545
3554
|
mode: (value: 'edit'|'add'|'replace') => this;
|
|
3546
3555
|
/** Product parameters recognized by product ID or its sizes */
|
|
@@ -3553,9 +3562,13 @@ export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSi
|
|
|
3553
3562
|
sizes: (sizes: Array<JSObject>) => this
|
|
3554
3563
|
}
|
|
3555
3564
|
|
|
3556
|
-
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest> {
|
|
3565
|
+
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest, JSObject> {
|
|
3557
3566
|
/** Products list. */
|
|
3558
3567
|
products: (value: Array<JSObject>) => this;
|
|
3568
|
+
/** Product index */
|
|
3569
|
+
productIndex: (productIndex: string) => this
|
|
3570
|
+
/** Product size code producer */
|
|
3571
|
+
productSizeCodeProducer: (productSizeCodeProducer: string) => this
|
|
3559
3572
|
/** External product system code for size. */
|
|
3560
3573
|
productSizeCodeExternal: (productSizeCodeExternal: string) => this
|
|
3561
3574
|
/** Stock ID */
|
|
@@ -3568,15 +3581,15 @@ export interface PutProductsStockQuantityRequest extends AppendableGateway<PutPr
|
|
|
3568
3581
|
productPurchasePriceNet: (productPurchasePriceNet: number) => this
|
|
3569
3582
|
}
|
|
3570
3583
|
|
|
3571
|
-
export interface GetProductsStocksRequest extends Gateway {
|
|
3584
|
+
export interface GetProductsStocksRequest extends Gateway<GetProductsStocksResponse> {
|
|
3572
3585
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3573
3586
|
/** Products list. */
|
|
3574
3587
|
products: (value: string|string[]) => this;
|
|
3575
3588
|
/** Set product identifiers */
|
|
3576
|
-
productId: (productId: number|string|number|string|number[]|string[], type
|
|
3589
|
+
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3577
3590
|
}
|
|
3578
3591
|
|
|
3579
|
-
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest> {
|
|
3592
|
+
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest, JSObject> {
|
|
3580
3593
|
/** Products list. */
|
|
3581
3594
|
products: (value: Array<JSObject>) => this;
|
|
3582
3595
|
/** */
|
|
@@ -3589,15 +3602,15 @@ export interface PutProductsStocksRequest extends AppendableGateway<PutProductsS
|
|
|
3589
3602
|
error: (error: JSObject) => this
|
|
3590
3603
|
}
|
|
3591
3604
|
|
|
3592
|
-
export interface GetProductsStrikethroughPricesRequest extends Gateway {
|
|
3605
|
+
export interface GetProductsStrikethroughPricesRequest extends Gateway<GetProductsStrikethroughPricesResponse> {
|
|
3593
3606
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3594
3607
|
/** Products list. */
|
|
3595
3608
|
products: (value: string|string[]) => this;
|
|
3596
3609
|
/** Set product identifiers */
|
|
3597
|
-
productId: (productId: number|string|number|string|number[]|string[], type
|
|
3610
|
+
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3598
3611
|
}
|
|
3599
3612
|
|
|
3600
|
-
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest> {
|
|
3613
|
+
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest, JSObject> {
|
|
3601
3614
|
/** Products list. */
|
|
3602
3615
|
products: (value: Array<JSObject>) => this;
|
|
3603
3616
|
/** Identifier type. */
|
|
@@ -3609,16 +3622,16 @@ export interface PutProductsStrikethroughPricesRequest extends AppendableGateway
|
|
|
3609
3622
|
/** Strikethrough price settings for the page. */
|
|
3610
3623
|
shops: (shops: Array<JSObject>) => this
|
|
3611
3624
|
/** Set product identifiers */
|
|
3612
|
-
productId: (productId: number|string, type
|
|
3625
|
+
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3613
3626
|
/** Set precise price */
|
|
3614
|
-
setPrice: (price: number, wholesale
|
|
3627
|
+
setPrice: (price: number, wholesale?: boolean) => this;
|
|
3615
3628
|
/** Set price relative to current price */
|
|
3616
|
-
addPrice: (value: number, wholesale
|
|
3629
|
+
addPrice: (value: number, wholesale?: boolean, base?: 'price' | 'price_minimal' | 'price_pos' | 'price_srp' | 'price_crossed') => this;
|
|
3617
3630
|
/** Set price relative to current price by percent */
|
|
3618
|
-
addPricePercent: (value: number, wholesale
|
|
3631
|
+
addPricePercent: (value: number, wholesale?: boolean, base?: 'price' | 'price_minimal' | 'price_pos' | 'price_srp' | 'price_crossed') => this;
|
|
3619
3632
|
}
|
|
3620
3633
|
|
|
3621
|
-
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest> {
|
|
3634
|
+
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest, JSObject> {
|
|
3622
3635
|
/** Products list. */
|
|
3623
3636
|
products: (value: Array<JSObject>) => this;
|
|
3624
3637
|
/** Product IAI code */
|
|
@@ -3627,7 +3640,7 @@ export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutPro
|
|
|
3627
3640
|
productDeliverers: (productDeliverers: Array<JSObject>) => this
|
|
3628
3641
|
}
|
|
3629
3642
|
|
|
3630
|
-
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest> {
|
|
3643
|
+
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest, JSObject> {
|
|
3631
3644
|
/** Products list. */
|
|
3632
3645
|
products: (value: Array<JSObject>) => this;
|
|
3633
3646
|
/** Product IAI code */
|
|
@@ -3748,7 +3761,7 @@ export interface PutRefundsUpdateRefundRequest extends Gateway {
|
|
|
3748
3761
|
refundCurrency: (value: string) => this;
|
|
3749
3762
|
}
|
|
3750
3763
|
|
|
3751
|
-
export interface GetResponsibilityEntitiesRequest extends PagableGateway<GetResponsibilityEntitiesRequest> {
|
|
3764
|
+
export interface GetResponsibilityEntitiesRequest extends PagableGateway<GetResponsibilityEntitiesRequest,GetResponsibilityEntitiesResponse> {
|
|
3752
3765
|
/** List of codes */
|
|
3753
3766
|
code: (value: string|string[]) => this;
|
|
3754
3767
|
/** Type of entity */
|
|
@@ -3759,7 +3772,7 @@ export interface GetResponsibilityEntitiesRequest extends PagableGateway<GetResp
|
|
|
3759
3772
|
resultsLimit: (value: number|string) => this;
|
|
3760
3773
|
}
|
|
3761
3774
|
|
|
3762
|
-
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest> {
|
|
3775
|
+
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest, JSObject> {
|
|
3763
3776
|
entities: (value: Array<JSObject>) => this;
|
|
3764
3777
|
/** Type of entity */
|
|
3765
3778
|
type: (value: 'producer'|'person') => this;
|
|
@@ -3787,9 +3800,11 @@ export interface PostResponsibilityEntitiesRequest extends AppendableGateway<Pos
|
|
|
3787
3800
|
phone: (phone: string) => this
|
|
3788
3801
|
/** Additional description. */
|
|
3789
3802
|
description: (description: string) => this
|
|
3803
|
+
/** URL to contact page. */
|
|
3804
|
+
url: (url: string) => this
|
|
3790
3805
|
}
|
|
3791
3806
|
|
|
3792
|
-
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest> {
|
|
3807
|
+
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest, JSObject> {
|
|
3793
3808
|
entities: (value: Array<JSObject>) => this;
|
|
3794
3809
|
/** Type of entity */
|
|
3795
3810
|
type: (value: 'producer'|'person') => this;
|
|
@@ -3817,6 +3832,8 @@ export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutR
|
|
|
3817
3832
|
phone: (phone: string) => this
|
|
3818
3833
|
/** Additional description. */
|
|
3819
3834
|
description: (description: string) => this
|
|
3835
|
+
/** URL to contact page. */
|
|
3836
|
+
url: (url: string) => this
|
|
3820
3837
|
}
|
|
3821
3838
|
|
|
3822
3839
|
export interface DeleteResponsibilityEntitiesRequest extends Gateway {
|
|
@@ -3851,7 +3868,7 @@ export interface GetReturnsRequest extends PagableGateway<GetReturnsRequest,GetR
|
|
|
3851
3868
|
dates: (dateFrom: DateLike, dateTo: DateLike, type: "date_add"|"date_end") => this;
|
|
3852
3869
|
}
|
|
3853
3870
|
|
|
3854
|
-
export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest> {
|
|
3871
|
+
export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest, JSObject> {
|
|
3855
3872
|
/** Order serial number */
|
|
3856
3873
|
order_sn: (value: number|string) => this;
|
|
3857
3874
|
stock_id: (value: number|string) => this;
|
|
@@ -3880,7 +3897,7 @@ export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest
|
|
|
3880
3897
|
productOrderAdditional: (productOrderAdditional: string) => this
|
|
3881
3898
|
}
|
|
3882
3899
|
|
|
3883
|
-
export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest> {
|
|
3900
|
+
export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest, JSObject> {
|
|
3884
3901
|
returns: (value: Array<JSObject>) => this;
|
|
3885
3902
|
/** */
|
|
3886
3903
|
id: (id: number|string) => this
|
|
@@ -3898,7 +3915,7 @@ export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest>
|
|
|
3898
3915
|
tryCorrectInvoice: (tryCorrectInvoice: boolean) => this
|
|
3899
3916
|
}
|
|
3900
3917
|
|
|
3901
|
-
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest> {
|
|
3918
|
+
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest, JSObject> {
|
|
3902
3919
|
/** Return number. */
|
|
3903
3920
|
return_id: (value: number|string) => this;
|
|
3904
3921
|
/** Products list. */
|
|
@@ -3939,7 +3956,7 @@ export interface GetRmaRequest extends PagableGateway<GetRmaRequest,GetRmaRespon
|
|
|
3939
3956
|
ended: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
3940
3957
|
}
|
|
3941
3958
|
|
|
3942
|
-
export interface PutRmaRequest extends AppendableGateway<PutRmaRequest> {
|
|
3959
|
+
export interface PutRmaRequest extends AppendableGateway<PutRmaRequest, JSObject> {
|
|
3943
3960
|
/** Complaints. */
|
|
3944
3961
|
rmas: (value: Array<JSObject>) => this;
|
|
3945
3962
|
/** Complaint id. */
|
|
@@ -3952,9 +3969,9 @@ export interface PutRmaRequest extends AppendableGateway<PutRmaRequest> {
|
|
|
3952
3969
|
|
|
3953
3970
|
export interface GetRmaStatusesRequest extends Gateway {}
|
|
3954
3971
|
|
|
3955
|
-
export interface GetShopsCurrenciesRequest extends Gateway {}
|
|
3972
|
+
export interface GetShopsCurrenciesRequest extends Gateway<GetShopsCurrenciesResponse> {}
|
|
3956
3973
|
|
|
3957
|
-
export interface GetShopsLanguagesRequest extends Gateway {}
|
|
3974
|
+
export interface GetShopsLanguagesRequest extends Gateway<GetShopsLanguagesResponse> {}
|
|
3958
3975
|
|
|
3959
3976
|
export interface DeleteSizechartsRequest extends Gateway {
|
|
3960
3977
|
/** #!identyfikatory!# */
|
|
@@ -3974,7 +3991,7 @@ export interface GetSizechartsRequest extends PagableGateway<GetSizechartsReques
|
|
|
3974
3991
|
resultsLimit: (value: number|string) => this;
|
|
3975
3992
|
}
|
|
3976
3993
|
|
|
3977
|
-
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest> {
|
|
3994
|
+
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest, JSObject> {
|
|
3978
3995
|
sizeCharts: (value: Array<JSObject>) => this;
|
|
3979
3996
|
/** Id */
|
|
3980
3997
|
id: (id: number|string) => this
|
|
@@ -3986,12 +4003,12 @@ export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsReq
|
|
|
3986
4003
|
languagesData: (languagesData: Array<JSObject>) => this
|
|
3987
4004
|
}
|
|
3988
4005
|
|
|
3989
|
-
export interface GetSizesRequest extends Gateway {
|
|
4006
|
+
export interface GetSizesRequest extends Gateway<GetSizesResponse> {
|
|
3990
4007
|
/** When the value is 'y', the last size modification date is returned, formatted as YYYY-MM-DD HH-MM-SS. */
|
|
3991
4008
|
return_last_changed_time: (value: string) => this;
|
|
3992
4009
|
}
|
|
3993
4010
|
|
|
3994
|
-
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
4011
|
+
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest, JSObject> {
|
|
3995
4012
|
/** Size table. */
|
|
3996
4013
|
sizes: (value: Array<JSObject>) => this;
|
|
3997
4014
|
/** Error code. */
|
|
@@ -4012,7 +4029,7 @@ export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
|
4012
4029
|
lang_data: (lang_data: Array<JSObject>) => this
|
|
4013
4030
|
}
|
|
4014
4031
|
|
|
4015
|
-
export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCampaignRequest> {
|
|
4032
|
+
export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCampaignRequest,GetSnippetsCampaignResponse> {
|
|
4016
4033
|
/** List of shop identifiers */
|
|
4017
4034
|
shopId: (value: number|string|number[]|string[]) => this;
|
|
4018
4035
|
/** List of identifiers */
|
|
@@ -4025,7 +4042,7 @@ export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCa
|
|
|
4025
4042
|
resultsLimit: (value: number|string) => this;
|
|
4026
4043
|
}
|
|
4027
4044
|
|
|
4028
|
-
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest> {
|
|
4045
|
+
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest, JSObject> {
|
|
4029
4046
|
campaigns: (value: Array<JSObject>) => this;
|
|
4030
4047
|
/** undefined */
|
|
4031
4048
|
id: (id: number|string) => this
|
|
@@ -4043,7 +4060,7 @@ export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnipp
|
|
|
4043
4060
|
configVariables: (configVariables: Array<JSObject>) => this
|
|
4044
4061
|
}
|
|
4045
4062
|
|
|
4046
|
-
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest> {
|
|
4063
|
+
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest, JSObject> {
|
|
4047
4064
|
campaigns: (value: Array<JSObject>) => this;
|
|
4048
4065
|
/** Snippet campaign id */
|
|
4049
4066
|
id: (id: number|string) => this
|
|
@@ -4066,7 +4083,7 @@ export interface DeleteSnippetsCampaignRequest extends Gateway {
|
|
|
4066
4083
|
id: (value: number|string|number[]|string[]) => this;
|
|
4067
4084
|
}
|
|
4068
4085
|
|
|
4069
|
-
export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCookiesRequest> {
|
|
4086
|
+
export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCookiesRequest,GetSnippetsCookiesResponse> {
|
|
4070
4087
|
/** List of identifiers for specific cookies */
|
|
4071
4088
|
id: (value: number|string|number[]|string[]) => this;
|
|
4072
4089
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -4075,7 +4092,7 @@ export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCoo
|
|
|
4075
4092
|
resultsLimit: (value: number|string) => this;
|
|
4076
4093
|
}
|
|
4077
4094
|
|
|
4078
|
-
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest> {
|
|
4095
|
+
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest, JSObject> {
|
|
4079
4096
|
cookies: (value: Array<JSObject>) => this;
|
|
4080
4097
|
/** undefined */
|
|
4081
4098
|
id: (id: number|string) => this
|
|
@@ -4097,7 +4114,7 @@ export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippe
|
|
|
4097
4114
|
lifeTime: (lifeTime: number|string) => this
|
|
4098
4115
|
}
|
|
4099
4116
|
|
|
4100
|
-
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest> {
|
|
4117
|
+
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest, JSObject> {
|
|
4101
4118
|
cookies: (value: Array<JSObject>) => this;
|
|
4102
4119
|
/** undefined */
|
|
4103
4120
|
id: (id: number|string) => this
|
|
@@ -4124,7 +4141,7 @@ export interface DeleteSnippetsCookiesRequest extends Gateway {
|
|
|
4124
4141
|
id: (value: number|string|number[]|string[]) => this;
|
|
4125
4142
|
}
|
|
4126
4143
|
|
|
4127
|
-
export interface GetSnippetsRequest extends PagableGateway<GetSnippetsRequest> {
|
|
4144
|
+
export interface GetSnippetsRequest extends PagableGateway<GetSnippetsRequest,GetSnippetsResponse> {
|
|
4128
4145
|
/** List of campaign identifiers */
|
|
4129
4146
|
campaign: (value: number|string|number[]|string[]) => this;
|
|
4130
4147
|
/** List of identifiers */
|
|
@@ -4137,7 +4154,7 @@ export interface GetSnippetsRequest extends PagableGateway<GetSnippetsRequest> {
|
|
|
4137
4154
|
resultsLimit: (value: number|string) => this;
|
|
4138
4155
|
}
|
|
4139
4156
|
|
|
4140
|
-
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest> {
|
|
4157
|
+
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest, JSObject> {
|
|
4141
4158
|
snippets: (value: Array<JSObject>) => this;
|
|
4142
4159
|
/** undefined */
|
|
4143
4160
|
id: (id: number|string) => this
|
|
@@ -4173,7 +4190,7 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4173
4190
|
sources: (sources: JSObject) => this
|
|
4174
4191
|
}
|
|
4175
4192
|
|
|
4176
|
-
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest> {
|
|
4193
|
+
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest, JSObject> {
|
|
4177
4194
|
snippets: (value: Array<JSObject>) => this;
|
|
4178
4195
|
/** undefined */
|
|
4179
4196
|
id: (id: number|string) => this
|
|
@@ -4319,21 +4336,21 @@ export interface PostSubscriptionsUnsetRebateCodeRequest extends Gateway {
|
|
|
4319
4336
|
id: (value: number|string) => this;
|
|
4320
4337
|
}
|
|
4321
4338
|
|
|
4322
|
-
export interface GetSystemConfigRequest extends Gateway<
|
|
4339
|
+
export interface GetSystemConfigRequest extends Gateway<GetSystemConfigResponse> {}
|
|
4323
4340
|
|
|
4324
4341
|
export interface PutSystemConfigRequest extends Gateway {
|
|
4325
4342
|
/** Panel settings */
|
|
4326
4343
|
panelSettings: (value: JSObject) => this;
|
|
4327
4344
|
}
|
|
4328
4345
|
|
|
4329
|
-
export interface GetSystemCurrenciesRequest extends Gateway {
|
|
4346
|
+
export interface GetSystemCurrenciesRequest extends Gateway<GetSystemCurrenciesResponse> {
|
|
4330
4347
|
/** Currency symbol in ISO 4217 format. */
|
|
4331
4348
|
symbol: (value: string) => this;
|
|
4332
4349
|
/** Date in format YYYY-MM-DD-HH MM:SS. */
|
|
4333
4350
|
date: (value: string) => this;
|
|
4334
4351
|
}
|
|
4335
4352
|
|
|
4336
|
-
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest> {
|
|
4353
|
+
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest, JSObject> {
|
|
4337
4354
|
currencies: (value: Array<JSObject>) => this;
|
|
4338
4355
|
/** Currency code in ISO 4217 standard. */
|
|
4339
4356
|
id: (id: string) => this
|
|
@@ -4343,7 +4360,7 @@ export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemC
|
|
|
4343
4360
|
scale: (scale: number|string) => this
|
|
4344
4361
|
}
|
|
4345
4362
|
|
|
4346
|
-
export interface GetSystemProcessesAutomationRequest extends Gateway {
|
|
4363
|
+
export interface GetSystemProcessesAutomationRequest extends Gateway<GetSystemProcessesAutomationResponse> {
|
|
4347
4364
|
/** Shop Id */
|
|
4348
4365
|
shopId: (value: number|string) => this;
|
|
4349
4366
|
}
|
|
@@ -4359,14 +4376,14 @@ export interface GetSystemServerLoadRequest extends Gateway {}
|
|
|
4359
4376
|
|
|
4360
4377
|
export interface GetSystemServerTimeRequest extends Gateway {}
|
|
4361
4378
|
|
|
4362
|
-
export interface GetSystemShopsDataRequest extends Gateway<
|
|
4379
|
+
export interface GetSystemShopsDataRequest extends Gateway<GetSystemShopsDataResponse> {}
|
|
4363
4380
|
|
|
4364
|
-
export interface GetSystemUnitsRequest extends Gateway {
|
|
4381
|
+
export interface GetSystemUnitsRequest extends Gateway<GetSystemUnitsResponse> {
|
|
4365
4382
|
/** List of languages */
|
|
4366
4383
|
languagesIds: (value: string|string[]) => this;
|
|
4367
4384
|
}
|
|
4368
4385
|
|
|
4369
|
-
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest> {
|
|
4386
|
+
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest, JSObject> {
|
|
4370
4387
|
units: (value: Array<JSObject>) => this;
|
|
4371
4388
|
/** #!IdentyfikatorJednostki!# */
|
|
4372
4389
|
id: (id: number|string) => this
|
|
@@ -4380,12 +4397,12 @@ export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsR
|
|
|
4380
4397
|
descriptions: (descriptions: Array<JSObject>) => this
|
|
4381
4398
|
}
|
|
4382
4399
|
|
|
4383
|
-
export interface GetSystemUsersRequest extends Gateway {
|
|
4400
|
+
export interface GetSystemUsersRequest extends Gateway<GetSystemUsersResponse> {
|
|
4384
4401
|
/** User type. List of options "all" - All users, "active" - Only active users */
|
|
4385
4402
|
userType: (value: 'all'|'active') => this;
|
|
4386
4403
|
}
|
|
4387
4404
|
|
|
4388
|
-
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest> {
|
|
4405
|
+
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest, JSObject> {
|
|
4389
4406
|
vouchers: (value: Array<JSObject>) => this;
|
|
4390
4407
|
/** Voucher ID */
|
|
4391
4408
|
id: (id: number|string) => this
|
|
@@ -4393,14 +4410,14 @@ export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBl
|
|
|
4393
4410
|
number: (number: string) => this
|
|
4394
4411
|
}
|
|
4395
4412
|
|
|
4396
|
-
export interface GetVouchersTypesRequest extends PagableGateway<GetVouchersTypesRequest> {
|
|
4413
|
+
export interface GetVouchersTypesRequest extends PagableGateway<GetVouchersTypesRequest,GetVouchersTypesResponse> {
|
|
4397
4414
|
/** Page with results number. Numeration starts from 0 */
|
|
4398
4415
|
resultsPage: (value: number|string) => this;
|
|
4399
4416
|
/** Number of results on page. Value from 1 to 100 */
|
|
4400
4417
|
resultsLimit: (value: number|string) => this;
|
|
4401
4418
|
}
|
|
4402
4419
|
|
|
4403
|
-
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest> {
|
|
4420
|
+
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest, JSObject> {
|
|
4404
4421
|
vouchers: (value: Array<JSObject>) => this;
|
|
4405
4422
|
/** Voucher ID */
|
|
4406
4423
|
id: (id: number|string) => this
|
|
@@ -4408,7 +4425,7 @@ export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchers
|
|
|
4408
4425
|
number: (number: string) => this
|
|
4409
4426
|
}
|
|
4410
4427
|
|
|
4411
|
-
export interface DeleteVouchersRequest extends AppendableGateway<DeleteVouchersRequest> {
|
|
4428
|
+
export interface DeleteVouchersRequest extends AppendableGateway<DeleteVouchersRequest, JSObject> {
|
|
4412
4429
|
vouchers: (value: Array<JSObject>) => this;
|
|
4413
4430
|
/** Voucher ID */
|
|
4414
4431
|
id: (id: number|string) => this
|
|
@@ -4416,7 +4433,7 @@ export interface DeleteVouchersRequest extends AppendableGateway<DeleteVouchersR
|
|
|
4416
4433
|
number: (number: string) => this
|
|
4417
4434
|
}
|
|
4418
4435
|
|
|
4419
|
-
export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest> {
|
|
4436
|
+
export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest,GetVouchersResponse> {
|
|
4420
4437
|
vouchers: (value: Array<JSObject>) => this;
|
|
4421
4438
|
/** Discount code campaign ID */
|
|
4422
4439
|
voucherTypeId: (value: number|string) => this;
|
|
@@ -4460,7 +4477,7 @@ export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest> {
|
|
|
4460
4477
|
numbers: (values: number|string|number[]|string[]) => this;
|
|
4461
4478
|
}
|
|
4462
4479
|
|
|
4463
|
-
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest> {
|
|
4480
|
+
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest, JSObject> {
|
|
4464
4481
|
/** List of vouchers to add */
|
|
4465
4482
|
vouchers: (value: Array<JSObject>) => this;
|
|
4466
4483
|
/** Gift voucher type id */
|
|
@@ -4479,7 +4496,7 @@ export interface PostVouchersRequest extends AppendableGateway<PostVouchersReque
|
|
|
4479
4496
|
note: (note: string) => this
|
|
4480
4497
|
}
|
|
4481
4498
|
|
|
4482
|
-
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest> {
|
|
4499
|
+
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest, JSObject> {
|
|
4483
4500
|
/** List of vouchers to edit */
|
|
4484
4501
|
vouchers: (value: Array<JSObject>) => this;
|
|
4485
4502
|
/** Voucher ID */
|
|
@@ -4506,7 +4523,7 @@ export interface GetWarrantiesCountTotalRequest extends Gateway {
|
|
|
4506
4523
|
warranty_ids: (value: string|string[]) => this;
|
|
4507
4524
|
}
|
|
4508
4525
|
|
|
4509
|
-
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest> {
|
|
4526
|
+
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest, JSObject> {
|
|
4510
4527
|
lang_data: (value: Array<JSObject>) => this;
|
|
4511
4528
|
/** Warranty ID (numeric or text based). */
|
|
4512
4529
|
warranty_id: (warranty_id: string) => this
|
|
@@ -4527,7 +4544,7 @@ export interface GetWarrantiesRequest extends PagableGateway<GetWarrantiesReques
|
|
|
4527
4544
|
results_order: (value: JSObject) => this;
|
|
4528
4545
|
}
|
|
4529
4546
|
|
|
4530
|
-
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest> {
|
|
4547
|
+
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest, JSObject> {
|
|
4531
4548
|
warranties: (value: Array<JSObject>) => this;
|
|
4532
4549
|
/** Name. */
|
|
4533
4550
|
name: (name: string) => this
|
|
@@ -4541,7 +4558,7 @@ export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesR
|
|
|
4541
4558
|
description: (description: JSObject) => this
|
|
4542
4559
|
}
|
|
4543
4560
|
|
|
4544
|
-
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest> {
|
|
4561
|
+
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest, JSObject> {
|
|
4545
4562
|
warranties: (value: Array<JSObject>) => this;
|
|
4546
4563
|
/** Warranty ID (numeric or text based). */
|
|
4547
4564
|
id: (id: string) => this
|
|
@@ -4553,7 +4570,7 @@ export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesReq
|
|
|
4553
4570
|
period: (period: number|string) => this
|
|
4554
4571
|
}
|
|
4555
4572
|
|
|
4556
|
-
export interface GetWmsLocationsRequest extends PagableGateway<GetWmsLocationsRequest,
|
|
4573
|
+
export interface GetWmsLocationsRequest extends PagableGateway<GetWmsLocationsRequest,GetWmsLocationsResponse> {
|
|
4557
4574
|
/** Warehouse location ID */
|
|
4558
4575
|
locationId: (value: number|string) => this;
|
|
4559
4576
|
/** Storage location code */
|
|
@@ -4585,7 +4602,7 @@ export interface DeleteWmsStocksdocumentsDocumentsRequest extends Gateway {
|
|
|
4585
4602
|
id: (value: number|string) => this;
|
|
4586
4603
|
}
|
|
4587
4604
|
|
|
4588
|
-
export interface GetWmsStocksdocumentsDocumentsRequest extends PagableGateway<GetWmsStocksdocumentsDocumentsRequest,
|
|
4605
|
+
export interface GetWmsStocksdocumentsDocumentsRequest extends PagableGateway<GetWmsStocksdocumentsDocumentsRequest,GetWmsStocksdocumentsDocumentsResponse> {
|
|
4589
4606
|
/** Document type. */
|
|
4590
4607
|
stockDocumentType: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'wz'|'mm'|'zw') => this;
|
|
4591
4608
|
/** Document status. */
|
|
@@ -4694,7 +4711,7 @@ export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGate
|
|
|
4694
4711
|
dates: (dateFrom: DateLike, dateTo: DateLike, type: "open"|"modify") => this;
|
|
4695
4712
|
}
|
|
4696
4713
|
|
|
4697
|
-
export interface DeleteWmsStocksdocumentsProductsRequest extends AppendableGateway<DeleteWmsStocksdocumentsProductsRequest> {
|
|
4714
|
+
export interface DeleteWmsStocksdocumentsProductsRequest extends AppendableGateway<DeleteWmsStocksdocumentsProductsRequest, JSObject> {
|
|
4698
4715
|
/** Products list. */
|
|
4699
4716
|
products: (value: Array<JSObject>) => this;
|
|
4700
4717
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4706,7 +4723,7 @@ export interface DeleteWmsStocksdocumentsProductsRequest extends AppendableGatew
|
|
|
4706
4723
|
size: (size: string) => this
|
|
4707
4724
|
}
|
|
4708
4725
|
|
|
4709
|
-
export interface GetWmsStocksdocumentsProductsRequest extends PagableGateway<GetWmsStocksdocumentsProductsRequest,
|
|
4726
|
+
export interface GetWmsStocksdocumentsProductsRequest extends PagableGateway<GetWmsStocksdocumentsProductsRequest,GetWmsStocksdocumentsProductsResponse> {
|
|
4710
4727
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm'|'wz'|'zw') => this;
|
|
4711
4728
|
/** Document identifier. */
|
|
4712
4729
|
id: (value: number|string) => this;
|
|
@@ -4716,7 +4733,7 @@ export interface GetWmsStocksdocumentsProductsRequest extends PagableGateway<Get
|
|
|
4716
4733
|
results_limit: (value: number|string) => this;
|
|
4717
4734
|
}
|
|
4718
4735
|
|
|
4719
|
-
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest> {
|
|
4736
|
+
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest, JSObject> {
|
|
4720
4737
|
/** Products list. */
|
|
4721
4738
|
products: (value: Array<JSObject>) => this;
|
|
4722
4739
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4738,7 +4755,7 @@ export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway
|
|
|
4738
4755
|
locationTextId: (locationTextId: string) => this
|
|
4739
4756
|
}
|
|
4740
4757
|
|
|
4741
|
-
export interface PutWmsStocksdocumentsProductsRequest extends AppendableGateway<PutWmsStocksdocumentsProductsRequest> {
|
|
4758
|
+
export interface PutWmsStocksdocumentsProductsRequest extends AppendableGateway<PutWmsStocksdocumentsProductsRequest, JSObject> {
|
|
4742
4759
|
/** Products list. */
|
|
4743
4760
|
products: (value: Array<JSObject>) => this;
|
|
4744
4761
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4770,7 +4787,7 @@ export interface DeleteWmsSuppliersRequest extends Gateway {
|
|
|
4770
4787
|
ids: (value: number|string|number[]|string[]) => this;
|
|
4771
4788
|
}
|
|
4772
4789
|
|
|
4773
|
-
export interface GetWmsSuppliersRequest extends PagableGateway<GetWmsSuppliersRequest> {
|
|
4790
|
+
export interface GetWmsSuppliersRequest extends PagableGateway<GetWmsSuppliersRequest,GetWmsSuppliersResponse> {
|
|
4774
4791
|
/** Page with results number. Numeration starts from 0 */
|
|
4775
4792
|
resultsPage: (value: number|string) => this;
|
|
4776
4793
|
/** Number of results on page. Value from 1 to 100 */
|
|
@@ -4783,7 +4800,7 @@ export interface GetWmsSuppliersRequest extends PagableGateway<GetWmsSuppliersRe
|
|
|
4783
4800
|
ids: (value: number|string|number[]|string[]) => this;
|
|
4784
4801
|
}
|
|
4785
4802
|
|
|
4786
|
-
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest> {
|
|
4803
|
+
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest, JSObject> {
|
|
4787
4804
|
suppliers: (value: Array<JSObject>) => this;
|
|
4788
4805
|
/** Id */
|
|
4789
4806
|
id: (id: number|string) => this
|
|
@@ -4945,6 +4962,7 @@ export interface Gateways {
|
|
|
4945
4962
|
putOrdersProfitMargin: PutOrdersProfitMarginRequest,
|
|
4946
4963
|
getOrdersProfitability: GetOrdersProfitabilityRequest,
|
|
4947
4964
|
putOrdersShippingCosts: PutOrdersShippingCostsRequest,
|
|
4965
|
+
getOrdersStatuses: GetOrdersStatusesRequest,
|
|
4948
4966
|
searchOrdersUnfinished: SearchOrdersUnfinishedRequest,
|
|
4949
4967
|
getOrdersWarehouse: GetOrdersWarehouseRequest,
|
|
4950
4968
|
putOrdersWarehouse: PutOrdersWarehouseRequest,
|