idosell 0.3.20 → 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/dist/app.d.ts +4 -4
- package/dist/gateways.d.ts +161 -160
- package/dist/index.js +2 -2
- package/dist/methods/getEntries.js +1 -0
- package/dist/reqparams.d.ts +2260 -0
- package/dist/responses.d.ts +697 -2
- 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, GetClientsDeliveryAddressResponse, SearchClientsGiftcardsResponse, SearchClientsNewsletterEmailResponse, SearchClientsNewsletterSmsResponse, GetClientsPayerAddressResponse, GetConfigVariablesResponse, GetCouriersAssignedToShippingProfilesResponse, GetCouriersPickupPointsResponse, GetMenuResponse, GetOrdersAnalyticsResponse, GetOrdersAuctionDetailsResponse, GetOrdersDocumentsResponse, SearchOrdersOpinionsResponse, SearchOrdersResponse, GetOrdersPackagesResponse, GetOrdersProfitabilityResponse, GetPackagesLabelsResponse, SearchPackagesResponse, GetProductsSKUbyBarcodeResponse, GetProductsAuctionsResponse, GetProductsBrandsResponse, GetProductsCategoriesResponse,
|
|
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. */
|
|
@@ -300,7 +301,7 @@ export interface GetClientsDeliveryAddressRequest extends Gateway<GetClientsDeli
|
|
|
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 */
|
|
@@ -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. */
|
|
@@ -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
|
|
@@ -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;
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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,9 +1654,9 @@ 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. */
|
|
@@ -1801,7 +1802,7 @@ export interface GetOrdersPackagesRequest extends Gateway<GetOrdersPackagesRespo
|
|
|
1801
1802
|
returnLabels: (value: Boolean) => this;
|
|
1802
1803
|
}
|
|
1803
1804
|
|
|
1804
|
-
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest> {
|
|
1805
|
+
export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersPackagesRequest, JSObject> {
|
|
1805
1806
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1806
1807
|
orderPackages: (value: Array<JSObject>) => this;
|
|
1807
1808
|
/** Id. */
|
|
@@ -1812,7 +1813,7 @@ export interface PostOrdersPackagesRequest extends AppendableGateway<PostOrdersP
|
|
|
1812
1813
|
packages: (packages: Array<JSObject>) => this
|
|
1813
1814
|
}
|
|
1814
1815
|
|
|
1815
|
-
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest> {
|
|
1816
|
+
export interface PutOrdersPackagesRequest extends AppendableGateway<PutOrdersPackagesRequest, JSObject> {
|
|
1816
1817
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
1817
1818
|
orderPackages: (value: Array<JSObject>) => this;
|
|
1818
1819
|
/** Id. */
|
|
@@ -1839,7 +1840,7 @@ export interface GetOrdersPrinterDocumentsRequest extends Gateway {
|
|
|
1839
1840
|
skipNotGeneratedDocument: (value: Boolean) => this;
|
|
1840
1841
|
}
|
|
1841
1842
|
|
|
1842
|
-
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest> {
|
|
1843
|
+
export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway<PutOrdersProductsSerialNumbersRequest, JSObject> {
|
|
1843
1844
|
/** Orders. */
|
|
1844
1845
|
orders: (value: Array<JSObject>) => this;
|
|
1845
1846
|
/** Order serial number. */
|
|
@@ -1848,7 +1849,7 @@ export interface PutOrdersProductsSerialNumbersRequest extends AppendableGateway
|
|
|
1848
1849
|
orderProducts: (orderProducts: Array<JSObject>) => this
|
|
1849
1850
|
}
|
|
1850
1851
|
|
|
1851
|
-
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest> {
|
|
1852
|
+
export interface PutOrdersProfitMarginRequest extends AppendableGateway<PutOrdersProfitMarginRequest, JSObject> {
|
|
1852
1853
|
/** Orders. */
|
|
1853
1854
|
orders: (value: Array<JSObject>) => this;
|
|
1854
1855
|
/** Order serial number. */
|
|
@@ -1875,7 +1876,7 @@ export interface PutOrdersShippingCostsRequest extends Gateway {
|
|
|
1875
1876
|
orderDeliveryVat: (value: Number) => this;
|
|
1876
1877
|
}
|
|
1877
1878
|
|
|
1878
|
-
export interface GetOrdersStatusesRequest extends Gateway {}
|
|
1879
|
+
export interface GetOrdersStatusesRequest extends Gateway<GetOrdersStatusesResponse> {}
|
|
1879
1880
|
|
|
1880
1881
|
export interface SearchOrdersUnfinishedRequest extends PagableGateway<SearchOrdersUnfinishedRequest,SearchOrdersResponse> {
|
|
1881
1882
|
/** Prepayment status. Status list: "unpaid" - not paid, "restored" - returned, "waiting" - not registered. */
|
|
@@ -1987,20 +1988,20 @@ export interface GetPackagesLabelsRequest extends Gateway<GetPackagesLabelsRespo
|
|
|
1987
1988
|
return: (returnId: number|string) => this;
|
|
1988
1989
|
}
|
|
1989
1990
|
|
|
1990
|
-
export interface PostPackagesLabelsRequest extends AppendableGateway<PostPackagesLabelsRequest> {
|
|
1991
|
+
export interface PostPackagesLabelsRequest extends AppendableGateway<PostPackagesLabelsRequest, PostPackagesLabelsResponse, RequestParams.PostPackagesLabelsParams> {
|
|
1991
1992
|
/** Id. */
|
|
1992
|
-
eventId: (value:
|
|
1993
|
+
eventId: (value: RequestParams.PostPackagesLabelsParams["eventId"]) => this;
|
|
1993
1994
|
/** Type. */
|
|
1994
|
-
eventType: (value:
|
|
1995
|
+
eventType: (value: RequestParams.PostPackagesLabelsParams["eventType"]) => this;
|
|
1995
1996
|
/** Shipment configuration options available for a given courier */
|
|
1996
|
-
parcelParameters: (value:
|
|
1997
|
+
parcelParameters: (value: RequestParams.PostPackagesLabelsParams["parcelParameters"]) => this;
|
|
1997
1998
|
/** Shipment configuration options available for Inpost Smile courier */
|
|
1998
|
-
parcelParametersByPackages: (value:
|
|
1999
|
+
parcelParametersByPackages: (value: RequestParams.PostPackagesLabelsParams["parcelParametersByPackages"]) => this;
|
|
1999
2000
|
/** Package ID in system. */
|
|
2000
2001
|
packageId: (packageId: string) => this
|
|
2001
2002
|
}
|
|
2002
2003
|
|
|
2003
|
-
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest> {
|
|
2004
|
+
export interface PostPackagesRequest extends AppendableGateway<PostPackagesRequest, JSObject> {
|
|
2004
2005
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
2005
2006
|
orderPackages: (value: Array<JSObject>) => this;
|
|
2006
2007
|
/** Order ID. */
|
|
@@ -2011,7 +2012,7 @@ export interface PostPackagesRequest extends AppendableGateway<PostPackagesReque
|
|
|
2011
2012
|
packages: (packages: Array<JSObject>) => this
|
|
2012
2013
|
}
|
|
2013
2014
|
|
|
2014
|
-
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest> {
|
|
2015
|
+
export interface PutPackagesRequest extends AppendableGateway<PutPackagesRequest, JSObject> {
|
|
2015
2016
|
/** List of parcels assigned to the order Maximum default number: 100 parcels. */
|
|
2016
2017
|
orderPackages: (value: Array<JSObject>) => this;
|
|
2017
2018
|
/** Order ID. */
|
|
@@ -2070,7 +2071,7 @@ export interface GetPaymentsFormsRequest extends Gateway {
|
|
|
2070
2071
|
activeOnly: (value: 'yes'|'no') => this;
|
|
2071
2072
|
}
|
|
2072
2073
|
|
|
2073
|
-
export interface GetPaymentsRequest extends Gateway {
|
|
2074
|
+
export interface GetPaymentsRequest extends Gateway<GetPaymentsResponse> {
|
|
2074
2075
|
/** Payment number consists of: source ID (order / return ID) and the payment ordinal number, e.g. 1234-1. */
|
|
2075
2076
|
paymentNumber: (value: string) => this;
|
|
2076
2077
|
/** Source type. */
|
|
@@ -2148,7 +2149,7 @@ export interface GetProductsSKUbyBarcodeRequest extends Gateway<GetProductsSKUby
|
|
|
2148
2149
|
searchOnlyInCodeIai: (value: Boolean) => this;
|
|
2149
2150
|
}
|
|
2150
2151
|
|
|
2151
|
-
export interface PutProductsAttachmentsRequest extends AppendableGateway<PutProductsAttachmentsRequest> {
|
|
2152
|
+
export interface PutProductsAttachmentsRequest extends AppendableGateway<PutProductsAttachmentsRequest, JSObject> {
|
|
2152
2153
|
productsAttachments: (value: Array<JSObject>) => this;
|
|
2153
2154
|
/** Stock keeping unit. */
|
|
2154
2155
|
productIdent: (productIdent: JSObject) => this
|
|
@@ -2194,7 +2195,7 @@ export interface GetProductsBrandsFilterRequest extends Gateway {
|
|
|
2194
2195
|
producerId: (value: number|string) => this;
|
|
2195
2196
|
}
|
|
2196
2197
|
|
|
2197
|
-
export interface PutProductsBrandsFilterRequest extends AppendableGateway<PutProductsBrandsFilterRequest> {
|
|
2198
|
+
export interface PutProductsBrandsFilterRequest extends AppendableGateway<PutProductsBrandsFilterRequest, JSObject> {
|
|
2198
2199
|
/** Shop Id */
|
|
2199
2200
|
shopId: (value: number|string) => this;
|
|
2200
2201
|
/** Language ID (code in ISO 639-2). */
|
|
@@ -2225,7 +2226,7 @@ export interface GetProductsBrandsRequest extends PagableGateway<GetProductsBran
|
|
|
2225
2226
|
languagesIds: (value: string|string[]) => this;
|
|
2226
2227
|
}
|
|
2227
2228
|
|
|
2228
|
-
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest> {
|
|
2229
|
+
export interface PostProductsBrandsRequest extends AppendableGateway<PostProductsBrandsRequest, JSObject> {
|
|
2229
2230
|
/** List of manufacturers assigned to sought products. */
|
|
2230
2231
|
producers: (value: Array<JSObject>) => this;
|
|
2231
2232
|
/** Name in panel */
|
|
@@ -2236,7 +2237,7 @@ export interface PostProductsBrandsRequest extends AppendableGateway<PostProduct
|
|
|
2236
2237
|
languagesConfigurations: (languagesConfigurations: Array<JSObject>) => this
|
|
2237
2238
|
}
|
|
2238
2239
|
|
|
2239
|
-
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest> {
|
|
2240
|
+
export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsBrandsRequest, JSObject> {
|
|
2240
2241
|
/** List of manufacturers assigned to sought products. */
|
|
2241
2242
|
producers: (value: Array<JSObject>) => this;
|
|
2242
2243
|
/** Id */
|
|
@@ -2249,14 +2250,14 @@ export interface PutProductsBrandsRequest extends AppendableGateway<PutProductsB
|
|
|
2249
2250
|
languagesConfigurations: (languagesConfigurations: Array<JSObject>) => this
|
|
2250
2251
|
}
|
|
2251
2252
|
|
|
2252
|
-
export interface PostProductsBundlesRequest extends AppendableGateway<PostProductsBundlesRequest> {
|
|
2253
|
+
export interface PostProductsBundlesRequest extends AppendableGateway<PostProductsBundlesRequest, JSObject> {
|
|
2253
2254
|
/** Parameters transmitted to method */
|
|
2254
2255
|
params: (value: Array<JSObject>) => this;
|
|
2255
2256
|
/** Products list. */
|
|
2256
2257
|
products: (products: Array<JSObject>) => this
|
|
2257
2258
|
}
|
|
2258
2259
|
|
|
2259
|
-
export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<DeleteProductsBundlesProductsRequest> {
|
|
2260
|
+
export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<DeleteProductsBundlesProductsRequest, JSObject> {
|
|
2260
2261
|
/** Parameters transmitted to method */
|
|
2261
2262
|
params: (value: Array<JSObject>) => this;
|
|
2262
2263
|
/** Products list. */
|
|
@@ -2265,7 +2266,7 @@ export interface DeleteProductsBundlesProductsRequest extends AppendableGateway<
|
|
|
2265
2266
|
bundleIdent: (bundleIdent: JSObject) => this
|
|
2266
2267
|
}
|
|
2267
2268
|
|
|
2268
|
-
export interface PostProductsBundlesProductsRequest extends AppendableGateway<PostProductsBundlesProductsRequest> {
|
|
2269
|
+
export interface PostProductsBundlesProductsRequest extends AppendableGateway<PostProductsBundlesProductsRequest, JSObject> {
|
|
2269
2270
|
/** Parameters transmitted to method */
|
|
2270
2271
|
params: (value: Array<JSObject>) => this;
|
|
2271
2272
|
/** Products list. */
|
|
@@ -2274,7 +2275,7 @@ export interface PostProductsBundlesProductsRequest extends AppendableGateway<Po
|
|
|
2274
2275
|
bundleIdent: (bundleIdent: JSObject) => this
|
|
2275
2276
|
}
|
|
2276
2277
|
|
|
2277
|
-
export interface PutProductsBundlesProductsQuantityRequest extends AppendableGateway<PutProductsBundlesProductsQuantityRequest> {
|
|
2278
|
+
export interface PutProductsBundlesProductsQuantityRequest extends AppendableGateway<PutProductsBundlesProductsQuantityRequest, JSObject> {
|
|
2278
2279
|
/** Parameters transmitted to method */
|
|
2279
2280
|
params: (value: Array<JSObject>) => this;
|
|
2280
2281
|
/** Products list. */
|
|
@@ -2283,7 +2284,7 @@ export interface PutProductsBundlesProductsQuantityRequest extends AppendableGat
|
|
|
2283
2284
|
bundleIdent: (bundleIdent: JSObject) => this
|
|
2284
2285
|
}
|
|
2285
2286
|
|
|
2286
|
-
export interface PutProductsBundlesRenewRequest extends AppendableGateway<PutProductsBundlesRenewRequest> {
|
|
2287
|
+
export interface PutProductsBundlesRenewRequest extends AppendableGateway<PutProductsBundlesRenewRequest, JSObject> {
|
|
2287
2288
|
/** Parameters transmitted to method */
|
|
2288
2289
|
params: (value: Array<JSObject>) => this;
|
|
2289
2290
|
/** Products list. */
|
|
@@ -2305,7 +2306,7 @@ export interface GetProductsCategoriesRequest extends PagableGateway<GetProducts
|
|
|
2305
2306
|
return_last_changed_time: (value: string) => this;
|
|
2306
2307
|
}
|
|
2307
2308
|
|
|
2308
|
-
export interface PutProductsCategoriesRequest extends AppendableGateway<PutProductsCategoriesRequest> {
|
|
2309
|
+
export interface PutProductsCategoriesRequest extends AppendableGateway<PutProductsCategoriesRequest, JSObject> {
|
|
2309
2310
|
/** List of categories in which sought products are present. */
|
|
2310
2311
|
categories: (value: Array<JSObject>) => this;
|
|
2311
2312
|
/** Category id. */
|
|
@@ -2320,7 +2321,7 @@ export interface PutProductsCategoriesRequest extends AppendableGateway<PutProdu
|
|
|
2320
2321
|
lang_data: (lang_data: Array<JSObject>) => this
|
|
2321
2322
|
}
|
|
2322
2323
|
|
|
2323
|
-
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest,
|
|
2324
|
+
export interface SearchProductsCategoriesIdosellRequest extends PagableGateway<SearchProductsCategoriesIdosellRequest,SearchProductsCategoriesIdosellResponse> {
|
|
2324
2325
|
/** List of languages */
|
|
2325
2326
|
languagesIds: (value: string|string[]) => this;
|
|
2326
2327
|
/** Number of IdoSell Categories identifiers */
|
|
@@ -2346,14 +2347,14 @@ export interface GetProductsCodeExistenceRequest extends Gateway<GetProductsCode
|
|
|
2346
2347
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2347
2348
|
}
|
|
2348
2349
|
|
|
2349
|
-
export interface PostProductsCollectionsRequest extends AppendableGateway<PostProductsCollectionsRequest> {
|
|
2350
|
+
export interface PostProductsCollectionsRequest extends AppendableGateway<PostProductsCollectionsRequest, JSObject> {
|
|
2350
2351
|
/** Parameters transmitted to method */
|
|
2351
2352
|
params: (value: Array<JSObject>) => this;
|
|
2352
2353
|
/** Products list. */
|
|
2353
2354
|
products: (products: Array<JSObject>) => this
|
|
2354
2355
|
}
|
|
2355
2356
|
|
|
2356
|
-
export interface DeleteProductsCollectionsProductsRequest extends AppendableGateway<DeleteProductsCollectionsProductsRequest> {
|
|
2357
|
+
export interface DeleteProductsCollectionsProductsRequest extends AppendableGateway<DeleteProductsCollectionsProductsRequest, JSObject> {
|
|
2357
2358
|
/** Parameters transmitted to method */
|
|
2358
2359
|
params: (value: Array<JSObject>) => this;
|
|
2359
2360
|
/** Products list. */
|
|
@@ -2362,7 +2363,7 @@ export interface DeleteProductsCollectionsProductsRequest extends AppendableGate
|
|
|
2362
2363
|
collectionId: (collectionId: number|string) => this
|
|
2363
2364
|
}
|
|
2364
2365
|
|
|
2365
|
-
export interface PostProductsCollectionsProductsRequest extends AppendableGateway<PostProductsCollectionsProductsRequest> {
|
|
2366
|
+
export interface PostProductsCollectionsProductsRequest extends AppendableGateway<PostProductsCollectionsProductsRequest, JSObject> {
|
|
2366
2367
|
/** Parameters transmitted to method */
|
|
2367
2368
|
params: (value: Array<JSObject>) => this;
|
|
2368
2369
|
/** Products list. */
|
|
@@ -2371,7 +2372,7 @@ export interface PostProductsCollectionsProductsRequest extends AppendableGatewa
|
|
|
2371
2372
|
collectionId: (collectionId: number|string) => this
|
|
2372
2373
|
}
|
|
2373
2374
|
|
|
2374
|
-
export interface PutProductsCollectionsProductsRequest extends AppendableGateway<PutProductsCollectionsProductsRequest> {
|
|
2375
|
+
export interface PutProductsCollectionsProductsRequest extends AppendableGateway<PutProductsCollectionsProductsRequest, JSObject> {
|
|
2375
2376
|
/** Parameters transmitted to method */
|
|
2376
2377
|
params: (value: Array<JSObject>) => this;
|
|
2377
2378
|
/** Products list. */
|
|
@@ -2380,7 +2381,7 @@ export interface PutProductsCollectionsProductsRequest extends AppendableGateway
|
|
|
2380
2381
|
collectionId: (collectionId: number|string) => this
|
|
2381
2382
|
}
|
|
2382
2383
|
|
|
2383
|
-
export interface PutProductsCollectionsRenewRequest extends AppendableGateway<PutProductsCollectionsRenewRequest> {
|
|
2384
|
+
export interface PutProductsCollectionsRenewRequest extends AppendableGateway<PutProductsCollectionsRenewRequest, JSObject> {
|
|
2384
2385
|
/** Parameters transmitted to method */
|
|
2385
2386
|
params: (value: Array<JSObject>) => this;
|
|
2386
2387
|
/** Products list. */
|
|
@@ -2418,7 +2419,7 @@ export interface GetProductsDescriptionsRequest extends Gateway<GetProductsDescr
|
|
|
2418
2419
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2419
2420
|
}
|
|
2420
2421
|
|
|
2421
|
-
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest> {
|
|
2422
|
+
export interface PutProductsDescriptionsRequest extends AppendableGateway<PutProductsDescriptionsRequest, JSObject> {
|
|
2422
2423
|
/** Products list. */
|
|
2423
2424
|
products: (value: Array<JSObject>) => this;
|
|
2424
2425
|
/** */
|
|
@@ -2429,17 +2430,17 @@ export interface PutProductsDescriptionsRequest extends AppendableGateway<PutPro
|
|
|
2429
2430
|
productAuctionDescriptionsData: (productAuctionDescriptionsData: Array<JSObject>) => this
|
|
2430
2431
|
productId: (value: number|string) => this;
|
|
2431
2432
|
/** Set various types of names or descriptions to the product */
|
|
2432
|
-
setText: (text: string, type?: "productName"|"productAuctionName"|"productPriceComparerName"|"productDescription"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeywords"
|
|
2433
|
+
setText: (text: string, type?: "productName"|"productAuctionName"|"productPriceComparerName"|"productDescription"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeywords", language?: string, shopId?: number|string) => this;
|
|
2433
2434
|
}
|
|
2434
2435
|
|
|
2435
|
-
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest> {
|
|
2436
|
+
export interface PutProductsGroupsMainProductRequest extends AppendableGateway<PutProductsGroupsMainProductRequest, JSObject> {
|
|
2436
2437
|
groups: (value: Array<JSObject>) => this;
|
|
2437
2438
|
/** */
|
|
2438
2439
|
productIdent: (productIdent: JSObject) => this
|
|
2439
2440
|
productId: (value: number|string) => this;
|
|
2440
2441
|
}
|
|
2441
2442
|
|
|
2442
|
-
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest> {
|
|
2443
|
+
export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProductsGroupsOrderRequest, JSObject> {
|
|
2443
2444
|
groups: (value: Array<JSObject>) => this;
|
|
2444
2445
|
/** */
|
|
2445
2446
|
productsInOrder: (productsInOrder: Array<JSObject>) => this
|
|
@@ -2447,7 +2448,7 @@ export interface PutProductsGroupsOrderRequest extends AppendableGateway<PutProd
|
|
|
2447
2448
|
productIdsInOrder: (productIds: number|string|number[]|string[]) => this;
|
|
2448
2449
|
}
|
|
2449
2450
|
|
|
2450
|
-
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest> {
|
|
2451
|
+
export interface PutProductsGroupsSettingsRequest extends AppendableGateway<PutProductsGroupsSettingsRequest, JSObject> {
|
|
2451
2452
|
groups: (value: Array<JSObject>) => this;
|
|
2452
2453
|
/** */
|
|
2453
2454
|
productIdent: (productIdent: JSObject) => this
|
|
@@ -2467,7 +2468,7 @@ export interface GetProductsIdBySizecodeRequest extends Gateway<GetProductsIdByS
|
|
|
2467
2468
|
type: (value: string) => this;
|
|
2468
2469
|
}
|
|
2469
2470
|
|
|
2470
|
-
export interface DeleteProductsImagesRequest extends AppendableGateway<DeleteProductsImagesRequest> {
|
|
2471
|
+
export interface DeleteProductsImagesRequest extends AppendableGateway<DeleteProductsImagesRequest, JSObject> {
|
|
2471
2472
|
/** Parameters transmitted to method */
|
|
2472
2473
|
params: (value: Array<JSObject>) => this;
|
|
2473
2474
|
/** Delete all images */
|
|
@@ -2480,7 +2481,7 @@ export interface DeleteProductsImagesRequest extends AppendableGateway<DeletePro
|
|
|
2480
2481
|
productImagesId: (productImagesId: string|string[]) => this
|
|
2481
2482
|
}
|
|
2482
2483
|
|
|
2483
|
-
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest> {
|
|
2484
|
+
export interface PutProductsImagesRequest extends AppendableGateway<PutProductsImagesRequest, JSObject> {
|
|
2484
2485
|
productsImagesSettings: (value: JSObject) => this;
|
|
2485
2486
|
/** Information on product images */
|
|
2486
2487
|
productsImages: (value: Array<JSObject>) => this;
|
|
@@ -2515,7 +2516,7 @@ export interface GetProductsMarketingPromotionRequest extends Gateway {
|
|
|
2515
2516
|
products: (value: number|string|number[]|string[]) => this;
|
|
2516
2517
|
}
|
|
2517
2518
|
|
|
2518
|
-
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest> {
|
|
2519
|
+
export interface PostProductsMarketingPromotionRequest extends AppendableGateway<PostProductsMarketingPromotionRequest, JSObject> {
|
|
2519
2520
|
/** Promotion name */
|
|
2520
2521
|
promotionName: (value: string) => this;
|
|
2521
2522
|
/** List of stores IDs When mask is determined, this parameter is omitted. */
|
|
@@ -2546,7 +2547,7 @@ export interface PostProductsMarketingPromotionRequest extends AppendableGateway
|
|
|
2546
2547
|
elementId: (elementId: string) => this
|
|
2547
2548
|
}
|
|
2548
2549
|
|
|
2549
|
-
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest> {
|
|
2550
|
+
export interface PutProductsMarketingPromotionRequest extends AppendableGateway<PutProductsMarketingPromotionRequest, JSObject> {
|
|
2550
2551
|
/** Promotion ID */
|
|
2551
2552
|
promotionId: (value: string) => this;
|
|
2552
2553
|
/** Promotion name */
|
|
@@ -2589,7 +2590,7 @@ export interface GetProductsMarketingZonesRequest extends Gateway {
|
|
|
2589
2590
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2590
2591
|
}
|
|
2591
2592
|
|
|
2592
|
-
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest> {
|
|
2593
|
+
export interface PutProductsMarketingZonesRequest extends AppendableGateway<PutProductsMarketingZonesRequest, JSObject> {
|
|
2593
2594
|
/** Products list. */
|
|
2594
2595
|
products: (value: Array<JSObject>) => this;
|
|
2595
2596
|
assignment_mode: (value: 'auto'|'manual') => this;
|
|
@@ -2608,7 +2609,7 @@ export interface GetProductsOmnibusPricesRequest extends Gateway<GetProductsOmni
|
|
|
2608
2609
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2609
2610
|
}
|
|
2610
2611
|
|
|
2611
|
-
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest> {
|
|
2612
|
+
export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutProductsOmnibusPricesRequest, JSObject> {
|
|
2612
2613
|
/** Products list. */
|
|
2613
2614
|
products: (value: Array<JSObject>) => this;
|
|
2614
2615
|
/** Identifier type. */
|
|
@@ -2620,11 +2621,11 @@ export interface PutProductsOmnibusPricesRequest extends AppendableGateway<PutPr
|
|
|
2620
2621
|
/** Strikethrough price settings for the page. */
|
|
2621
2622
|
shops: (shops: Array<JSObject>) => this
|
|
2622
2623
|
/** Set product identifiers */
|
|
2623
|
-
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer'
|
|
2624
|
+
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
2624
2625
|
/** Set retail or wholesale price */
|
|
2625
|
-
setPrice: (price: number, wholesale?: boolean
|
|
2626
|
+
setPrice: (price: number, wholesale?: boolean) => this;
|
|
2626
2627
|
/** Set mode to automatic */
|
|
2627
|
-
mode: (automatic: boolean
|
|
2628
|
+
mode: (automatic: boolean) => this;
|
|
2628
2629
|
}
|
|
2629
2630
|
|
|
2630
2631
|
export interface DeleteProductsOpinionsRequest extends Gateway {
|
|
@@ -2656,7 +2657,7 @@ export interface GetProductsOpinionsRequest extends PagableGateway<GetProductsOp
|
|
|
2656
2657
|
orderBy: (elementName: "date"|"rating"|"scorePositive"|"scoreNegative"|"modificationDatetime", descending: boolean) => this;
|
|
2657
2658
|
}
|
|
2658
2659
|
|
|
2659
|
-
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest> {
|
|
2660
|
+
export interface PostProductsOpinionsRequest extends AppendableGateway<PostProductsOpinionsRequest, JSObject> {
|
|
2660
2661
|
/** List of reviews */
|
|
2661
2662
|
opinions: (value: Array<JSObject>) => this;
|
|
2662
2663
|
/** */
|
|
@@ -2715,7 +2716,7 @@ export interface DeleteProductsParametersRequest extends Gateway {
|
|
|
2715
2716
|
ids: (value: number|string|number[]|string[]) => this;
|
|
2716
2717
|
}
|
|
2717
2718
|
|
|
2718
|
-
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest> {
|
|
2719
|
+
export interface PutProductsParametersRequest extends AppendableGateway<PutProductsParametersRequest, JSObject> {
|
|
2719
2720
|
/** Sections, parameters or valued to add or edit. */
|
|
2720
2721
|
items: (value: Array<JSObject>) => this;
|
|
2721
2722
|
/** Settings */
|
|
@@ -2755,7 +2756,7 @@ export interface SearchProductsParametersRequest extends PagableGateway<SearchPr
|
|
|
2755
2756
|
resultsLimit: (value: number|string) => this;
|
|
2756
2757
|
}
|
|
2757
2758
|
|
|
2758
|
-
export interface DeleteProductsRequest extends AppendableGateway<DeleteProductsRequest> {
|
|
2759
|
+
export interface DeleteProductsRequest extends AppendableGateway<DeleteProductsRequest, JSObject> {
|
|
2759
2760
|
/** Products list. */
|
|
2760
2761
|
products: (value: Array<JSObject>) => this;
|
|
2761
2762
|
/** Product IAI code */
|
|
@@ -2769,13 +2770,13 @@ export interface GetProductsRequest extends Gateway<SearchProductsResponse> {
|
|
|
2769
2770
|
productIds: (value: string|string[]) => this;
|
|
2770
2771
|
}
|
|
2771
2772
|
|
|
2772
|
-
export interface PostProductsRequest extends AppendableGateway<PostProductsRequest> {
|
|
2773
|
+
export interface PostProductsRequest extends AppendableGateway<PostProductsRequest, PostProductsResponse, RequestParams.PostProductsParams> {
|
|
2773
2774
|
/** Settings */
|
|
2774
|
-
settings: (value:
|
|
2775
|
+
settings: (value: RequestParams.PostProductsParams["settings"]) => this;
|
|
2775
2776
|
/** Icon and photos settings */
|
|
2776
|
-
picturesSettings: (value:
|
|
2777
|
+
picturesSettings: (value: RequestParams.PostProductsParams["picturesSettings"]) => this;
|
|
2777
2778
|
/** Products list. */
|
|
2778
|
-
products: (value:
|
|
2779
|
+
products: (value: RequestParams.PostProductsParams["products"]) => this;
|
|
2779
2780
|
/** Product IAI code */
|
|
2780
2781
|
productId: (productId: number|string) => this
|
|
2781
2782
|
/** External product system code for size. */
|
|
@@ -2935,18 +2936,18 @@ export interface PostProductsRequest extends AppendableGateway<PostProductsReque
|
|
|
2935
2936
|
/** Responsible person code */
|
|
2936
2937
|
responsiblePersonCode: (responsiblePersonCode: string) => this
|
|
2937
2938
|
/** Set various types of names or descriptions to the product */
|
|
2938
|
-
setText: (text: string, type?: "productName"|"productParamDescriptions"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeyword"|"productAuctionName"|"productAuctionDescription"|"productAuctionAdditionalName"|"productNameInPriceComparer"
|
|
2939
|
+
setText: (text: string, type?: "productName"|"productParamDescriptions"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeyword"|"productAuctionName"|"productAuctionDescription"|"productAuctionAdditionalName"|"productNameInPriceComparer", language?: string, shopId?: number|string) => this;
|
|
2939
2940
|
/** Sets product price by amount */
|
|
2940
|
-
setPrice: (value: number, type?: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation'
|
|
2941
|
+
setPrice: (value: number, type?: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation') => this;
|
|
2941
2942
|
}
|
|
2942
2943
|
|
|
2943
|
-
export interface PutProductsRequest extends AppendableGateway<PutProductsRequest> {
|
|
2944
|
+
export interface PutProductsRequest extends AppendableGateway<PutProductsRequest, PutProductsResponse, RequestParams.PutProductsParams> {
|
|
2944
2945
|
/** Settings */
|
|
2945
|
-
settings: (value:
|
|
2946
|
+
settings: (value: RequestParams.PutProductsParams["settings"]) => this;
|
|
2946
2947
|
/** Icon and photos settings */
|
|
2947
|
-
picturesSettings: (value:
|
|
2948
|
+
picturesSettings: (value: RequestParams.PutProductsParams["picturesSettings"]) => this;
|
|
2948
2949
|
/** Products list. */
|
|
2949
|
-
products: (value:
|
|
2950
|
+
products: (value: RequestParams.PutProductsParams["products"]) => this;
|
|
2950
2951
|
/** Product IAI code */
|
|
2951
2952
|
productId: (productId: number|string) => this
|
|
2952
2953
|
/** One of the unique, indexed product codes (IAI code / External system code / Producer code) */
|
|
@@ -3212,7 +3213,7 @@ export interface PutProductsRequest extends AppendableGateway<PutProductsRequest
|
|
|
3212
3213
|
/** Responsible person code */
|
|
3213
3214
|
responsiblePersonCode: (responsiblePersonCode: string) => this
|
|
3214
3215
|
/** Set various types of names or descriptions to the product */
|
|
3215
|
-
setText: (text: string, type?: "productName"|"productParamDescriptions"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeyword"|"productAuctionName"|"productAuctionDescription"|"productAuctionAdditionalName"|"productNameInPriceComparer"
|
|
3216
|
+
setText: (text: string, type?: "productName"|"productParamDescriptions"|"productLongDescription"|"productMetaTitle"|"productMetaDescription"|"productMetaKeyword"|"productAuctionName"|"productAuctionDescription"|"productAuctionAdditionalName"|"productNameInPriceComparer", language?: string, shopId?: number|string) => this;
|
|
3216
3217
|
/** Set edit mode - disables adding new product */
|
|
3217
3218
|
editMode: () => this;
|
|
3218
3219
|
/** Set add mode - Api is allowed to create new products */
|
|
@@ -3421,7 +3422,7 @@ export interface GetProductsQuestionsRequest extends Gateway {
|
|
|
3421
3422
|
productId: (value: number|string) => this;
|
|
3422
3423
|
}
|
|
3423
3424
|
|
|
3424
|
-
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest> {
|
|
3425
|
+
export interface PutProductsQuestionsRequest extends AppendableGateway<PutProductsQuestionsRequest, JSObject> {
|
|
3425
3426
|
/** Question Board. */
|
|
3426
3427
|
questions: (value: Array<JSObject>) => this;
|
|
3427
3428
|
/** Question ID. */
|
|
@@ -3482,7 +3483,7 @@ export interface GetProductsSeriesFilterRequest extends Gateway {
|
|
|
3482
3483
|
serieId: (value: number|string) => this;
|
|
3483
3484
|
}
|
|
3484
3485
|
|
|
3485
|
-
export interface PutProductsSeriesFilterRequest extends AppendableGateway<PutProductsSeriesFilterRequest> {
|
|
3486
|
+
export interface PutProductsSeriesFilterRequest extends AppendableGateway<PutProductsSeriesFilterRequest, JSObject> {
|
|
3486
3487
|
/** Shop Id */
|
|
3487
3488
|
shopId: (value: number|string) => this;
|
|
3488
3489
|
/** Language ID (code in ISO 639-2). */
|
|
@@ -3519,7 +3520,7 @@ export interface GetProductsSeriesRequest extends PagableGateway<GetProductsSeri
|
|
|
3519
3520
|
resultsLimit: (value: number|string) => this;
|
|
3520
3521
|
}
|
|
3521
3522
|
|
|
3522
|
-
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest> {
|
|
3523
|
+
export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsSeriesRequest, JSObject> {
|
|
3523
3524
|
/** Series list. */
|
|
3524
3525
|
series: (value: Array<JSObject>) => this;
|
|
3525
3526
|
/** Id */
|
|
@@ -3530,7 +3531,7 @@ export interface PutProductsSeriesRequest extends AppendableGateway<PutProductsS
|
|
|
3530
3531
|
shopsConfigurations: (shopsConfigurations: Array<JSObject>) => this
|
|
3531
3532
|
}
|
|
3532
3533
|
|
|
3533
|
-
export interface DeleteProductsSizesRequest extends AppendableGateway<DeleteProductsSizesRequest> {
|
|
3534
|
+
export interface DeleteProductsSizesRequest extends AppendableGateway<DeleteProductsSizesRequest, JSObject> {
|
|
3534
3535
|
/** Edition mode */
|
|
3535
3536
|
mode: (value: 'delete_by_size'|'delete_all') => this;
|
|
3536
3537
|
/** Parameters transmitted to method */
|
|
@@ -3548,7 +3549,7 @@ export interface GetProductsSizesRequest extends Gateway<GetProductsSizesRespons
|
|
|
3548
3549
|
page: (pagenumber: number, pageSize?: number) => this;
|
|
3549
3550
|
}
|
|
3550
3551
|
|
|
3551
|
-
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest> {
|
|
3552
|
+
export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSizesRequest, JSObject> {
|
|
3552
3553
|
/** Edition mode */
|
|
3553
3554
|
mode: (value: 'edit'|'add'|'replace') => this;
|
|
3554
3555
|
/** Product parameters recognized by product ID or its sizes */
|
|
@@ -3561,7 +3562,7 @@ export interface PutProductsSizesRequest extends AppendableGateway<PutProductsSi
|
|
|
3561
3562
|
sizes: (sizes: Array<JSObject>) => this
|
|
3562
3563
|
}
|
|
3563
3564
|
|
|
3564
|
-
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest> {
|
|
3565
|
+
export interface PutProductsStockQuantityRequest extends AppendableGateway<PutProductsStockQuantityRequest, JSObject> {
|
|
3565
3566
|
/** Products list. */
|
|
3566
3567
|
products: (value: Array<JSObject>) => this;
|
|
3567
3568
|
/** Product index */
|
|
@@ -3588,7 +3589,7 @@ export interface GetProductsStocksRequest extends Gateway<GetProductsStocksRespo
|
|
|
3588
3589
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3589
3590
|
}
|
|
3590
3591
|
|
|
3591
|
-
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest> {
|
|
3592
|
+
export interface PutProductsStocksRequest extends AppendableGateway<PutProductsStocksRequest, JSObject> {
|
|
3592
3593
|
/** Products list. */
|
|
3593
3594
|
products: (value: Array<JSObject>) => this;
|
|
3594
3595
|
/** */
|
|
@@ -3601,7 +3602,7 @@ export interface PutProductsStocksRequest extends AppendableGateway<PutProductsS
|
|
|
3601
3602
|
error: (error: JSObject) => this
|
|
3602
3603
|
}
|
|
3603
3604
|
|
|
3604
|
-
export interface GetProductsStrikethroughPricesRequest extends Gateway {
|
|
3605
|
+
export interface GetProductsStrikethroughPricesRequest extends Gateway<GetProductsStrikethroughPricesResponse> {
|
|
3605
3606
|
identType: (value: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3606
3607
|
/** Products list. */
|
|
3607
3608
|
products: (value: string|string[]) => this;
|
|
@@ -3609,7 +3610,7 @@ export interface GetProductsStrikethroughPricesRequest extends Gateway {
|
|
|
3609
3610
|
productId: (productId: number|string|number|string|number[]|string[], type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3610
3611
|
}
|
|
3611
3612
|
|
|
3612
|
-
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest> {
|
|
3613
|
+
export interface PutProductsStrikethroughPricesRequest extends AppendableGateway<PutProductsStrikethroughPricesRequest, JSObject> {
|
|
3613
3614
|
/** Products list. */
|
|
3614
3615
|
products: (value: Array<JSObject>) => this;
|
|
3615
3616
|
/** Identifier type. */
|
|
@@ -3621,16 +3622,16 @@ export interface PutProductsStrikethroughPricesRequest extends AppendableGateway
|
|
|
3621
3622
|
/** Strikethrough price settings for the page. */
|
|
3622
3623
|
shops: (shops: Array<JSObject>) => this
|
|
3623
3624
|
/** Set product identifiers */
|
|
3624
|
-
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer'
|
|
3625
|
+
productId: (productId: number|string, type?: 'id'|'index'|'codeExtern'|'codeProducer') => this;
|
|
3625
3626
|
/** Set precise price */
|
|
3626
|
-
setPrice: (price: number, wholesale?: boolean
|
|
3627
|
+
setPrice: (price: number, wholesale?: boolean) => this;
|
|
3627
3628
|
/** Set price relative to current price */
|
|
3628
|
-
addPrice: (value: number, wholesale?: boolean
|
|
3629
|
+
addPrice: (value: number, wholesale?: boolean, base?: 'price' | 'price_minimal' | 'price_pos' | 'price_srp' | 'price_crossed') => this;
|
|
3629
3630
|
/** Set price relative to current price by percent */
|
|
3630
|
-
addPricePercent: (value: number, wholesale?: boolean
|
|
3631
|
+
addPricePercent: (value: number, wholesale?: boolean, base?: 'price' | 'price_minimal' | 'price_pos' | 'price_srp' | 'price_crossed') => this;
|
|
3631
3632
|
}
|
|
3632
3633
|
|
|
3633
|
-
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest> {
|
|
3634
|
+
export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutProductsSupplierCodeRequest, JSObject> {
|
|
3634
3635
|
/** Products list. */
|
|
3635
3636
|
products: (value: Array<JSObject>) => this;
|
|
3636
3637
|
/** Product IAI code */
|
|
@@ -3639,7 +3640,7 @@ export interface PutProductsSupplierCodeRequest extends AppendableGateway<PutPro
|
|
|
3639
3640
|
productDeliverers: (productDeliverers: Array<JSObject>) => this
|
|
3640
3641
|
}
|
|
3641
3642
|
|
|
3642
|
-
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest> {
|
|
3643
|
+
export interface PutProductsSupplierProductDataRequest extends AppendableGateway<PutProductsSupplierProductDataRequest, JSObject> {
|
|
3643
3644
|
/** Products list. */
|
|
3644
3645
|
products: (value: Array<JSObject>) => this;
|
|
3645
3646
|
/** Product IAI code */
|
|
@@ -3771,7 +3772,7 @@ export interface GetResponsibilityEntitiesRequest extends PagableGateway<GetResp
|
|
|
3771
3772
|
resultsLimit: (value: number|string) => this;
|
|
3772
3773
|
}
|
|
3773
3774
|
|
|
3774
|
-
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest> {
|
|
3775
|
+
export interface PostResponsibilityEntitiesRequest extends AppendableGateway<PostResponsibilityEntitiesRequest, JSObject> {
|
|
3775
3776
|
entities: (value: Array<JSObject>) => this;
|
|
3776
3777
|
/** Type of entity */
|
|
3777
3778
|
type: (value: 'producer'|'person') => this;
|
|
@@ -3803,7 +3804,7 @@ export interface PostResponsibilityEntitiesRequest extends AppendableGateway<Pos
|
|
|
3803
3804
|
url: (url: string) => this
|
|
3804
3805
|
}
|
|
3805
3806
|
|
|
3806
|
-
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest> {
|
|
3807
|
+
export interface PutResponsibilityEntitiesRequest extends AppendableGateway<PutResponsibilityEntitiesRequest, JSObject> {
|
|
3807
3808
|
entities: (value: Array<JSObject>) => this;
|
|
3808
3809
|
/** Type of entity */
|
|
3809
3810
|
type: (value: 'producer'|'person') => this;
|
|
@@ -3867,7 +3868,7 @@ export interface GetReturnsRequest extends PagableGateway<GetReturnsRequest,GetR
|
|
|
3867
3868
|
dates: (dateFrom: DateLike, dateTo: DateLike, type: "date_add"|"date_end") => this;
|
|
3868
3869
|
}
|
|
3869
3870
|
|
|
3870
|
-
export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest> {
|
|
3871
|
+
export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest, JSObject> {
|
|
3871
3872
|
/** Order serial number */
|
|
3872
3873
|
order_sn: (value: number|string) => this;
|
|
3873
3874
|
stock_id: (value: number|string) => this;
|
|
@@ -3896,7 +3897,7 @@ export interface PostReturnsRequest extends AppendableGateway<PostReturnsRequest
|
|
|
3896
3897
|
productOrderAdditional: (productOrderAdditional: string) => this
|
|
3897
3898
|
}
|
|
3898
3899
|
|
|
3899
|
-
export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest> {
|
|
3900
|
+
export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest, JSObject> {
|
|
3900
3901
|
returns: (value: Array<JSObject>) => this;
|
|
3901
3902
|
/** */
|
|
3902
3903
|
id: (id: number|string) => this
|
|
@@ -3914,7 +3915,7 @@ export interface PutReturnsRequest extends AppendableGateway<PutReturnsRequest>
|
|
|
3914
3915
|
tryCorrectInvoice: (tryCorrectInvoice: boolean) => this
|
|
3915
3916
|
}
|
|
3916
3917
|
|
|
3917
|
-
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest> {
|
|
3918
|
+
export interface PutReturnsSerialNumberRequest extends AppendableGateway<PutReturnsSerialNumberRequest, JSObject> {
|
|
3918
3919
|
/** Return number. */
|
|
3919
3920
|
return_id: (value: number|string) => this;
|
|
3920
3921
|
/** Products list. */
|
|
@@ -3955,7 +3956,7 @@ export interface GetRmaRequest extends PagableGateway<GetRmaRequest,GetRmaRespon
|
|
|
3955
3956
|
ended: (dateFrom: DateLike, dateTo: DateLike) => this;
|
|
3956
3957
|
}
|
|
3957
3958
|
|
|
3958
|
-
export interface PutRmaRequest extends AppendableGateway<PutRmaRequest> {
|
|
3959
|
+
export interface PutRmaRequest extends AppendableGateway<PutRmaRequest, JSObject> {
|
|
3959
3960
|
/** Complaints. */
|
|
3960
3961
|
rmas: (value: Array<JSObject>) => this;
|
|
3961
3962
|
/** Complaint id. */
|
|
@@ -3990,7 +3991,7 @@ export interface GetSizechartsRequest extends PagableGateway<GetSizechartsReques
|
|
|
3990
3991
|
resultsLimit: (value: number|string) => this;
|
|
3991
3992
|
}
|
|
3992
3993
|
|
|
3993
|
-
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest> {
|
|
3994
|
+
export interface PutSizechartsRequest extends AppendableGateway<PutSizechartsRequest, JSObject> {
|
|
3994
3995
|
sizeCharts: (value: Array<JSObject>) => this;
|
|
3995
3996
|
/** Id */
|
|
3996
3997
|
id: (id: number|string) => this
|
|
@@ -4007,7 +4008,7 @@ export interface GetSizesRequest extends Gateway<GetSizesResponse> {
|
|
|
4007
4008
|
return_last_changed_time: (value: string) => this;
|
|
4008
4009
|
}
|
|
4009
4010
|
|
|
4010
|
-
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
4011
|
+
export interface PutSizesRequest extends AppendableGateway<PutSizesRequest, JSObject> {
|
|
4011
4012
|
/** Size table. */
|
|
4012
4013
|
sizes: (value: Array<JSObject>) => this;
|
|
4013
4014
|
/** Error code. */
|
|
@@ -4028,7 +4029,7 @@ export interface PutSizesRequest extends AppendableGateway<PutSizesRequest> {
|
|
|
4028
4029
|
lang_data: (lang_data: Array<JSObject>) => this
|
|
4029
4030
|
}
|
|
4030
4031
|
|
|
4031
|
-
export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCampaignRequest> {
|
|
4032
|
+
export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCampaignRequest,GetSnippetsCampaignResponse> {
|
|
4032
4033
|
/** List of shop identifiers */
|
|
4033
4034
|
shopId: (value: number|string|number[]|string[]) => this;
|
|
4034
4035
|
/** List of identifiers */
|
|
@@ -4041,7 +4042,7 @@ export interface GetSnippetsCampaignRequest extends PagableGateway<GetSnippetsCa
|
|
|
4041
4042
|
resultsLimit: (value: number|string) => this;
|
|
4042
4043
|
}
|
|
4043
4044
|
|
|
4044
|
-
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest> {
|
|
4045
|
+
export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnippetsCampaignRequest, JSObject> {
|
|
4045
4046
|
campaigns: (value: Array<JSObject>) => this;
|
|
4046
4047
|
/** undefined */
|
|
4047
4048
|
id: (id: number|string) => this
|
|
@@ -4059,7 +4060,7 @@ export interface PostSnippetsCampaignRequest extends AppendableGateway<PostSnipp
|
|
|
4059
4060
|
configVariables: (configVariables: Array<JSObject>) => this
|
|
4060
4061
|
}
|
|
4061
4062
|
|
|
4062
|
-
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest> {
|
|
4063
|
+
export interface PutSnippetsCampaignRequest extends AppendableGateway<PutSnippetsCampaignRequest, JSObject> {
|
|
4063
4064
|
campaigns: (value: Array<JSObject>) => this;
|
|
4064
4065
|
/** Snippet campaign id */
|
|
4065
4066
|
id: (id: number|string) => this
|
|
@@ -4082,7 +4083,7 @@ export interface DeleteSnippetsCampaignRequest extends Gateway {
|
|
|
4082
4083
|
id: (value: number|string|number[]|string[]) => this;
|
|
4083
4084
|
}
|
|
4084
4085
|
|
|
4085
|
-
export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCookiesRequest> {
|
|
4086
|
+
export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCookiesRequest,GetSnippetsCookiesResponse> {
|
|
4086
4087
|
/** List of identifiers for specific cookies */
|
|
4087
4088
|
id: (value: number|string|number[]|string[]) => this;
|
|
4088
4089
|
/** Page with results number. Numeration starts from 0 */
|
|
@@ -4091,7 +4092,7 @@ export interface GetSnippetsCookiesRequest extends PagableGateway<GetSnippetsCoo
|
|
|
4091
4092
|
resultsLimit: (value: number|string) => this;
|
|
4092
4093
|
}
|
|
4093
4094
|
|
|
4094
|
-
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest> {
|
|
4095
|
+
export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippetsCookiesRequest, JSObject> {
|
|
4095
4096
|
cookies: (value: Array<JSObject>) => this;
|
|
4096
4097
|
/** undefined */
|
|
4097
4098
|
id: (id: number|string) => this
|
|
@@ -4113,7 +4114,7 @@ export interface PostSnippetsCookiesRequest extends AppendableGateway<PostSnippe
|
|
|
4113
4114
|
lifeTime: (lifeTime: number|string) => this
|
|
4114
4115
|
}
|
|
4115
4116
|
|
|
4116
|
-
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest> {
|
|
4117
|
+
export interface PutSnippetsCookiesRequest extends AppendableGateway<PutSnippetsCookiesRequest, JSObject> {
|
|
4117
4118
|
cookies: (value: Array<JSObject>) => this;
|
|
4118
4119
|
/** undefined */
|
|
4119
4120
|
id: (id: number|string) => this
|
|
@@ -4153,7 +4154,7 @@ export interface GetSnippetsRequest extends PagableGateway<GetSnippetsRequest,Ge
|
|
|
4153
4154
|
resultsLimit: (value: number|string) => this;
|
|
4154
4155
|
}
|
|
4155
4156
|
|
|
4156
|
-
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest> {
|
|
4157
|
+
export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsRequest, JSObject> {
|
|
4157
4158
|
snippets: (value: Array<JSObject>) => this;
|
|
4158
4159
|
/** undefined */
|
|
4159
4160
|
id: (id: number|string) => this
|
|
@@ -4189,7 +4190,7 @@ export interface PostSnippetsRequest extends AppendableGateway<PostSnippetsReque
|
|
|
4189
4190
|
sources: (sources: JSObject) => this
|
|
4190
4191
|
}
|
|
4191
4192
|
|
|
4192
|
-
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest> {
|
|
4193
|
+
export interface PutSnippetsRequest extends AppendableGateway<PutSnippetsRequest, JSObject> {
|
|
4193
4194
|
snippets: (value: Array<JSObject>) => this;
|
|
4194
4195
|
/** undefined */
|
|
4195
4196
|
id: (id: number|string) => this
|
|
@@ -4349,7 +4350,7 @@ export interface GetSystemCurrenciesRequest extends Gateway<GetSystemCurrenciesR
|
|
|
4349
4350
|
date: (value: string) => this;
|
|
4350
4351
|
}
|
|
4351
4352
|
|
|
4352
|
-
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest> {
|
|
4353
|
+
export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemCurrenciesRequest, JSObject> {
|
|
4353
4354
|
currencies: (value: Array<JSObject>) => this;
|
|
4354
4355
|
/** Currency code in ISO 4217 standard. */
|
|
4355
4356
|
id: (id: string) => this
|
|
@@ -4359,7 +4360,7 @@ export interface PutSystemCurrenciesRequest extends AppendableGateway<PutSystemC
|
|
|
4359
4360
|
scale: (scale: number|string) => this
|
|
4360
4361
|
}
|
|
4361
4362
|
|
|
4362
|
-
export interface GetSystemProcessesAutomationRequest extends Gateway {
|
|
4363
|
+
export interface GetSystemProcessesAutomationRequest extends Gateway<GetSystemProcessesAutomationResponse> {
|
|
4363
4364
|
/** Shop Id */
|
|
4364
4365
|
shopId: (value: number|string) => this;
|
|
4365
4366
|
}
|
|
@@ -4382,7 +4383,7 @@ export interface GetSystemUnitsRequest extends Gateway<GetSystemUnitsResponse> {
|
|
|
4382
4383
|
languagesIds: (value: string|string[]) => this;
|
|
4383
4384
|
}
|
|
4384
4385
|
|
|
4385
|
-
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest> {
|
|
4386
|
+
export interface PutSystemUnitsRequest extends AppendableGateway<PutSystemUnitsRequest, JSObject> {
|
|
4386
4387
|
units: (value: Array<JSObject>) => this;
|
|
4387
4388
|
/** #!IdentyfikatorJednostki!# */
|
|
4388
4389
|
id: (id: number|string) => this
|
|
@@ -4401,7 +4402,7 @@ export interface GetSystemUsersRequest extends Gateway<GetSystemUsersResponse> {
|
|
|
4401
4402
|
userType: (value: 'all'|'active') => this;
|
|
4402
4403
|
}
|
|
4403
4404
|
|
|
4404
|
-
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest> {
|
|
4405
|
+
export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBlockRequest, JSObject> {
|
|
4405
4406
|
vouchers: (value: Array<JSObject>) => this;
|
|
4406
4407
|
/** Voucher ID */
|
|
4407
4408
|
id: (id: number|string) => this
|
|
@@ -4409,14 +4410,14 @@ export interface PutVouchersBlockRequest extends AppendableGateway<PutVouchersBl
|
|
|
4409
4410
|
number: (number: string) => this
|
|
4410
4411
|
}
|
|
4411
4412
|
|
|
4412
|
-
export interface GetVouchersTypesRequest extends PagableGateway<GetVouchersTypesRequest> {
|
|
4413
|
+
export interface GetVouchersTypesRequest extends PagableGateway<GetVouchersTypesRequest,GetVouchersTypesResponse> {
|
|
4413
4414
|
/** Page with results number. Numeration starts from 0 */
|
|
4414
4415
|
resultsPage: (value: number|string) => this;
|
|
4415
4416
|
/** Number of results on page. Value from 1 to 100 */
|
|
4416
4417
|
resultsLimit: (value: number|string) => this;
|
|
4417
4418
|
}
|
|
4418
4419
|
|
|
4419
|
-
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest> {
|
|
4420
|
+
export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchersUnblockRequest, JSObject> {
|
|
4420
4421
|
vouchers: (value: Array<JSObject>) => this;
|
|
4421
4422
|
/** Voucher ID */
|
|
4422
4423
|
id: (id: number|string) => this
|
|
@@ -4424,7 +4425,7 @@ export interface PutVouchersUnblockRequest extends AppendableGateway<PutVouchers
|
|
|
4424
4425
|
number: (number: string) => this
|
|
4425
4426
|
}
|
|
4426
4427
|
|
|
4427
|
-
export interface DeleteVouchersRequest extends AppendableGateway<DeleteVouchersRequest> {
|
|
4428
|
+
export interface DeleteVouchersRequest extends AppendableGateway<DeleteVouchersRequest, JSObject> {
|
|
4428
4429
|
vouchers: (value: Array<JSObject>) => this;
|
|
4429
4430
|
/** Voucher ID */
|
|
4430
4431
|
id: (id: number|string) => this
|
|
@@ -4432,7 +4433,7 @@ export interface DeleteVouchersRequest extends AppendableGateway<DeleteVouchersR
|
|
|
4432
4433
|
number: (number: string) => this
|
|
4433
4434
|
}
|
|
4434
4435
|
|
|
4435
|
-
export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest> {
|
|
4436
|
+
export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest,GetVouchersResponse> {
|
|
4436
4437
|
vouchers: (value: Array<JSObject>) => this;
|
|
4437
4438
|
/** Discount code campaign ID */
|
|
4438
4439
|
voucherTypeId: (value: number|string) => this;
|
|
@@ -4476,7 +4477,7 @@ export interface GetVouchersRequest extends PagableGateway<GetVouchersRequest> {
|
|
|
4476
4477
|
numbers: (values: number|string|number[]|string[]) => this;
|
|
4477
4478
|
}
|
|
4478
4479
|
|
|
4479
|
-
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest> {
|
|
4480
|
+
export interface PostVouchersRequest extends AppendableGateway<PostVouchersRequest, JSObject> {
|
|
4480
4481
|
/** List of vouchers to add */
|
|
4481
4482
|
vouchers: (value: Array<JSObject>) => this;
|
|
4482
4483
|
/** Gift voucher type id */
|
|
@@ -4495,7 +4496,7 @@ export interface PostVouchersRequest extends AppendableGateway<PostVouchersReque
|
|
|
4495
4496
|
note: (note: string) => this
|
|
4496
4497
|
}
|
|
4497
4498
|
|
|
4498
|
-
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest> {
|
|
4499
|
+
export interface PutVouchersRequest extends AppendableGateway<PutVouchersRequest, JSObject> {
|
|
4499
4500
|
/** List of vouchers to edit */
|
|
4500
4501
|
vouchers: (value: Array<JSObject>) => this;
|
|
4501
4502
|
/** Voucher ID */
|
|
@@ -4522,7 +4523,7 @@ export interface GetWarrantiesCountTotalRequest extends Gateway {
|
|
|
4522
4523
|
warranty_ids: (value: string|string[]) => this;
|
|
4523
4524
|
}
|
|
4524
4525
|
|
|
4525
|
-
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest> {
|
|
4526
|
+
export interface PutWarrantiesLanguageDataRequest extends AppendableGateway<PutWarrantiesLanguageDataRequest, JSObject> {
|
|
4526
4527
|
lang_data: (value: Array<JSObject>) => this;
|
|
4527
4528
|
/** Warranty ID (numeric or text based). */
|
|
4528
4529
|
warranty_id: (warranty_id: string) => this
|
|
@@ -4543,7 +4544,7 @@ export interface GetWarrantiesRequest extends PagableGateway<GetWarrantiesReques
|
|
|
4543
4544
|
results_order: (value: JSObject) => this;
|
|
4544
4545
|
}
|
|
4545
4546
|
|
|
4546
|
-
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest> {
|
|
4547
|
+
export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesRequest, JSObject> {
|
|
4547
4548
|
warranties: (value: Array<JSObject>) => this;
|
|
4548
4549
|
/** Name. */
|
|
4549
4550
|
name: (name: string) => this
|
|
@@ -4557,7 +4558,7 @@ export interface PostWarrantiesRequest extends AppendableGateway<PostWarrantiesR
|
|
|
4557
4558
|
description: (description: JSObject) => this
|
|
4558
4559
|
}
|
|
4559
4560
|
|
|
4560
|
-
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest> {
|
|
4561
|
+
export interface PutWarrantiesRequest extends AppendableGateway<PutWarrantiesRequest, JSObject> {
|
|
4561
4562
|
warranties: (value: Array<JSObject>) => this;
|
|
4562
4563
|
/** Warranty ID (numeric or text based). */
|
|
4563
4564
|
id: (id: string) => this
|
|
@@ -4710,7 +4711,7 @@ export interface GetWmsStocksdocumentsOpenedDocumentsRequest extends PagableGate
|
|
|
4710
4711
|
dates: (dateFrom: DateLike, dateTo: DateLike, type: "open"|"modify") => this;
|
|
4711
4712
|
}
|
|
4712
4713
|
|
|
4713
|
-
export interface DeleteWmsStocksdocumentsProductsRequest extends AppendableGateway<DeleteWmsStocksdocumentsProductsRequest> {
|
|
4714
|
+
export interface DeleteWmsStocksdocumentsProductsRequest extends AppendableGateway<DeleteWmsStocksdocumentsProductsRequest, JSObject> {
|
|
4714
4715
|
/** Products list. */
|
|
4715
4716
|
products: (value: Array<JSObject>) => this;
|
|
4716
4717
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4732,7 +4733,7 @@ export interface GetWmsStocksdocumentsProductsRequest extends PagableGateway<Get
|
|
|
4732
4733
|
results_limit: (value: number|string) => this;
|
|
4733
4734
|
}
|
|
4734
4735
|
|
|
4735
|
-
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest> {
|
|
4736
|
+
export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway<PostWmsStocksdocumentsProductsRequest, JSObject> {
|
|
4736
4737
|
/** Products list. */
|
|
4737
4738
|
products: (value: Array<JSObject>) => this;
|
|
4738
4739
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4754,7 +4755,7 @@ export interface PostWmsStocksdocumentsProductsRequest extends AppendableGateway
|
|
|
4754
4755
|
locationTextId: (locationTextId: string) => this
|
|
4755
4756
|
}
|
|
4756
4757
|
|
|
4757
|
-
export interface PutWmsStocksdocumentsProductsRequest extends AppendableGateway<PutWmsStocksdocumentsProductsRequest> {
|
|
4758
|
+
export interface PutWmsStocksdocumentsProductsRequest extends AppendableGateway<PutWmsStocksdocumentsProductsRequest, JSObject> {
|
|
4758
4759
|
/** Products list. */
|
|
4759
4760
|
products: (value: Array<JSObject>) => this;
|
|
4760
4761
|
type: (value: 'pz'|'pw'|'px'|'rx'|'rw'|'mm') => this;
|
|
@@ -4799,7 +4800,7 @@ export interface GetWmsSuppliersRequest extends PagableGateway<GetWmsSuppliersRe
|
|
|
4799
4800
|
ids: (value: number|string|number[]|string[]) => this;
|
|
4800
4801
|
}
|
|
4801
4802
|
|
|
4802
|
-
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest> {
|
|
4803
|
+
export interface PutWmsSuppliersRequest extends AppendableGateway<PutWmsSuppliersRequest, JSObject> {
|
|
4803
4804
|
suppliers: (value: Array<JSObject>) => this;
|
|
4804
4805
|
/** Id */
|
|
4805
4806
|
id: (id: number|string) => this
|