idosell 0.4.1 → 0.4.4

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.
@@ -27,7 +27,6 @@ type FaultCodeString = {
27
27
  faultString: string;
28
28
  }
29
29
 
30
- /** @version v6.1 Typechecked 2025-08-02 */
31
30
  export type SearchOrdersResponse = {
32
31
  Results: {
33
32
  /** @description Order ID. */
@@ -478,7 +477,6 @@ export type SearchOrdersResponse = {
478
477
  }[];
479
478
  } & PagedResponse;
480
479
 
481
- /** @version v6.1 Typechecked 2025-08-02 */
482
480
  export type SearchProductsResponse = {
483
481
  /** @description Object contains detailed information on result of operation. */
484
482
  results: {
@@ -1757,12 +1755,10 @@ type ProductParameter = {
1757
1755
  parameterValueIds: number[];
1758
1756
  }
1759
1757
 
1760
- /** @version v6.1 Typechecked 2025-08-02 */
1761
1758
  export type SearchProductsParametersResponse = {
1762
1759
  parametersResult: Record<string, ProductParameter>;
1763
1760
  } & PagedResponse;
1764
1761
 
1765
- /** @version v6.1 Typechecked 2025-08-02 */
1766
1762
  export type SearchClientsCrmResponse = {
1767
1763
  /** @description List of customers. */
1768
1764
  clientsResults: {
@@ -1951,7 +1947,6 @@ export type SearchClientsCrmResponse = {
1951
1947
  }[];
1952
1948
  } & PagedResponse;
1953
1949
 
1954
- /** @version v6.1 Typechecked 2025-08-02 */
1955
1950
  export type SearchPackagesResponse = {
1956
1951
  /** @description Object contains detailed information on result of operation. */
1957
1952
  results: {
@@ -2038,7 +2033,6 @@ export type SearchPackagesResponse = {
2038
2033
  }[];
2039
2034
  };
2040
2035
 
2041
- /** @version v6.1 Typechecked 2025-08-02 */
2042
2036
  export type SearchProductsCategoriesIdosellResponse = {
2043
2037
  /** @description List of IdoSell Categories */
2044
2038
  categoriesIdoSell: {
@@ -2062,7 +2056,6 @@ export type SearchProductsCategoriesIdosellResponse = {
2062
2056
  }[];
2063
2057
  } & PagedResponse;
2064
2058
 
2065
- /** @version v6.1 Typechecked 2025-08-02 */
2066
2059
  export type SearchOrdersOpinionsResponse = {
2067
2060
  /** @description Object contains detailed information on result of operation. */
2068
2061
  results: {
@@ -2129,7 +2122,6 @@ export type SearchOrdersOpinionsResponse = {
2129
2122
  }[];
2130
2123
  } & PagedResponse;
2131
2124
 
2132
- /** @version v6.1 Typechecked 2025-08-02 */
2133
2125
  export type SearchProductsDeliveryTimeResponse = {
2134
2126
  /** @description Object contains detailed information on result of operation. */
2135
2127
  results: {
@@ -2218,7 +2210,6 @@ export type SearchClientsNewsletterSmsResponse = SearchNewsletterResponse<{
2218
2210
  phone_cellular: string;
2219
2211
  }>;
2220
2212
 
2221
- /** @version v6.1 Typechecked 2025-08-02 */
2222
2213
  export type GetWmsStocksdocumentsProductsResponse = {
2223
2214
  /** @description Products list. */
2224
2215
  products: {
@@ -2261,7 +2252,6 @@ export type GetWmsStocksdocumentsProductsResponse = {
2261
2252
  }[];
2262
2253
  } & PagedSnakecaseResponse;
2263
2254
 
2264
- /** @version v6.1 Typechecked 2025-08-02 */
2265
2255
  export type GetWmsStocksdocumentsDocumentsResponse = {
2266
2256
  /** @description List of documents. */
2267
2257
  stocksDocuments: {
@@ -2321,7 +2311,6 @@ export type GetWmsStocksdocumentsDocumentsResponse = {
2321
2311
  }[];
2322
2312
  } & PagedResponse;
2323
2313
 
2324
- /** @version v6.1 Typechecked 2025-08-02 */
2325
2314
  export type GetClientsResponse = {
2326
2315
  /** @description Object contains detailed information on result of operation. */
2327
2316
  results: {
@@ -2443,7 +2432,6 @@ export type GetClientsResponse = {
2443
2432
  }[];
2444
2433
  } & PagedResponse;
2445
2434
 
2446
- /** @version v6.1 Typechecked 2025-08-02 */
2447
2435
  export type GetReturnsResponse = {
2448
2436
  /** @description Element that contains the list of found returns. */
2449
2437
  returns: {
@@ -2585,7 +2573,6 @@ export type GetReturnsResponse = {
2585
2573
  }[];
2586
2574
  } & PagedSnakecaseResponse;
2587
2575
 
2588
- /** @version v6.1 Typechecked 2025-08-02 */
2589
2576
  export type GetRmaResponse = {
2590
2577
  /** @description Complaints. */
2591
2578
  rmas: {
@@ -2678,7 +2665,6 @@ export type GetRmaResponse = {
2678
2665
  isErrors: boolean;
2679
2666
  } & PagedResponse;
2680
2667
 
2681
- /** @version v6.1 Typechecked 2025-08-02 */
2682
2668
  export type GetSystemConfigResponse = {
2683
2669
  /** @example 1 */
2684
2670
  client_id: number;
@@ -2986,8 +2972,30 @@ export type GetSystemConfigResponse = {
2986
2972
  typeOfPrinterProtocolAdress: string;
2987
2973
  };
2988
2974
 
2989
- /** @version v6.1 Typechecked 2025-08-02 */
2990
- export type GetSystemShopsDataResponse = Omit<GetConfigResponse, 'panel_settings'|'shops'> & {
2975
+ type ShopsPanelSettings = {
2976
+ /** @description Default panel language. */
2977
+ default_lang_id: string;
2978
+ /** @description Panel base currency. */
2979
+ basecurrency_id: string;
2980
+ /** @description Manual stock quantity modification restriction. */
2981
+ stocks_change_disabled: string;
2982
+ /** */
2983
+ stock_state_config: "uncontrolled" | "bridge" | "outside";
2984
+ /** */
2985
+ main_stock_system: "other" | "iai";
2986
+ /** @description Sales documents in third party application. */
2987
+ salesDocumentsAreCreatedByClient: boolean;
2988
+ search_by_code: {
2989
+ /** @description IAI code. */
2990
+ code_iai: boolean;
2991
+ /** @description External system code. */
2992
+ code_extern: boolean;
2993
+ /** @description Producer code. */
2994
+ code_producer: boolean;
2995
+ };
2996
+ }
2997
+
2998
+ export type GetSystemShopsDataResponse = Omit<GetSystemConfigResponse, 'panel_settings'|'shops'> & {
2991
2999
  /** @description Shop contact data */
2992
3000
  shop_contact: {
2993
3001
  /** @description shop ID */
@@ -3071,7 +3079,6 @@ export type GetSystemShopsDataResponse = Omit<GetConfigResponse, 'panel_settings
3071
3079
  }[];
3072
3080
  };
3073
3081
 
3074
- /** @version v6.1 Typechecked 2025-08-02 */
3075
3082
  export type GetSizechartsResponse = {
3076
3083
  sizeCharts: {
3077
3084
  [id: string]: {
@@ -3114,7 +3121,6 @@ export type GetSizechartsResponse = {
3114
3121
  } | [];
3115
3122
  } & PagedResponse;
3116
3123
 
3117
- /** @version v6.1 Typechecked 2025-08-02 */
3118
3124
  export type GetWmsLocationsResponse = {
3119
3125
  /** @description Object contains detailed information on result of operation. */
3120
3126
  results: {
@@ -3142,7 +3148,6 @@ export type GetWmsLocationsResponse = {
3142
3148
  }[];
3143
3149
  } & PagedResponse;
3144
3150
 
3145
- /** @version v6.1 Typechecked 2025-08-02 */
3146
3151
  export type GetWarrantiesResponse = {
3147
3152
  warranties: {
3148
3153
  /** @description Warranty language id (numeric). */
@@ -3168,7 +3173,6 @@ export type GetWarrantiesResponse = {
3168
3173
  }[];
3169
3174
  } & PagedSnakecaseResponse;
3170
3175
 
3171
- /** @version v6.1 Typechecked 2025-08-02 */
3172
3176
  export type GetProductsCategoriesResponse = {
3173
3177
  last_changed_time: string;
3174
3178
  /** @description Element containing a list of found results on a given page. */
@@ -3216,7 +3220,6 @@ export type GetProductsCategoriesResponse = {
3216
3220
  }[];
3217
3221
  } & PagedSnakecaseResponse;
3218
3222
 
3219
- /** @version v6.1 Typechecked 2025-08-02 */
3220
3223
  export type GetMenuResponse = {
3221
3224
  /** @description Parameters concerning returned results */
3222
3225
  result: {
@@ -3327,7 +3330,6 @@ export type GetMenuResponse = {
3327
3330
  }[];
3328
3331
  };
3329
3332
 
3330
- /** @version v6.1 Typechecked 2025-08-02 */
3331
3333
  export type GetOrdersAuctionDetailsResponse = {
3332
3334
  /** @description External listings - orders table. */
3333
3335
  auctions: {
@@ -3376,7 +3378,6 @@ export type GetOrdersAuctionDetailsResponse = {
3376
3378
  isErrors: boolean;
3377
3379
  };
3378
3380
 
3379
- /** @version v6.1 Typechecked 2025-08-02 */
3380
3381
  export type GetOrdersDocumentsResponse = {
3381
3382
  /** @description List of documents. */
3382
3383
  documents: {
@@ -3731,7 +3732,6 @@ export type GetCouriersPickupPointsResponse = {
3731
3732
  }[];
3732
3733
  } & PagedResponse;
3733
3734
 
3734
- /** @version v6.1 Typechecked 2025-08-02 */
3735
3735
  export type GetClientsDeliveryAddressResponse = {
3736
3736
  /** @description Object contains detailed information on result of operation. */
3737
3737
  results: {
@@ -3770,7 +3770,6 @@ export type GetClientsDeliveryAddressResponse = {
3770
3770
  }[];
3771
3771
  };
3772
3772
 
3773
- /** @version v6.1 Typechecked 2025-08-02 */
3774
3773
  export type GetClientsPayerAddressResponse = {
3775
3774
  payerAddressesResults: {
3776
3775
  /** @description Buyer's address id. */
@@ -3798,7 +3797,6 @@ export type GetClientsPayerAddressResponse = {
3798
3797
  }[];
3799
3798
  } & PagedResponse;
3800
3799
 
3801
- /** @version v6.1 Typechecked 2025-08-02 */
3802
3800
  export type GetProductsAuctionsResponse = {
3803
3801
  /** @description Object contains detailed information on result of operation. */
3804
3802
  results: {
@@ -3835,7 +3833,6 @@ export type GetProductsAuctionsResponse = {
3835
3833
  } & PagedResponse;
3836
3834
  };
3837
3835
 
3838
- /** @version v6.1 Typechecked 2025-08-02 */
3839
3836
  export type GetProductsBrandsResponse = {
3840
3837
  /** @description Element containing a list of found results on a given page. */
3841
3838
  producers: {
@@ -3887,7 +3884,6 @@ export type GetProductsBrandsResponse = {
3887
3884
  }[];
3888
3885
  } & PagedSnakecaseResponse;
3889
3886
 
3890
- /** @version v6.1 Typechecked 2025-08-02 */
3891
3887
  export type GetProductsDescriptionsResponse = {
3892
3888
  /** @description Object contains detailed information on result of operation. */
3893
3889
  results: {
@@ -3953,7 +3949,6 @@ export type GetProductsDescriptionsResponse = {
3953
3949
  errorsOccurred: boolean;
3954
3950
  };
3955
3951
 
3956
- /** @version v6.1 Typechecked 2025-08-02 */
3957
3952
  export type GetProductsOpinionsResponse = {
3958
3953
  /** @description Object contains detailed information on result of operation. */
3959
3954
  results: {
@@ -4022,7 +4017,6 @@ export type GetProductsOpinionsResponse = {
4022
4017
  }[];
4023
4018
  } & PagedResponse;
4024
4019
 
4025
- /** @version v6.3 Typechecked 2025-08-23 */
4026
4020
  export type GetSnippetsResponse = {
4027
4021
  results: {
4028
4022
  /** @description Id of the code snippet. */
@@ -4160,7 +4154,6 @@ export type GetSnippetsResponse = {
4160
4154
  pagination: PagedResponse;
4161
4155
  };
4162
4156
 
4163
- /** @version v6.3 Typechecked 2025-08-23 */
4164
4157
  export type GetSystemUsersResponse = {
4165
4158
  /** @description List of panel users. */
4166
4159
  users: {
@@ -4222,7 +4215,6 @@ export type GetSystemUsersResponse = {
4222
4215
  }[];
4223
4216
  };
4224
4217
 
4225
- /** @version v6.3 Typechecked 2025-08-23 */
4226
4218
  export type GetWmsSuppliersResponse = {
4227
4219
  /** @description List of product suppliers */
4228
4220
  suppliers: {
@@ -4278,7 +4270,6 @@ export type GetWmsSuppliersResponse = {
4278
4270
  }[];
4279
4271
  } & PagedResponse;
4280
4272
 
4281
- /** @version v6.3 Typechecked 2025-08-23 */
4282
4273
  export type GetProductsCodeExistenceResponse = {
4283
4274
  results: {
4284
4275
  /** @description Products list. */
@@ -4297,7 +4288,6 @@ export type GetProductsCodeExistenceResponse = {
4297
4288
  };
4298
4289
  };
4299
4290
 
4300
- /** @version v6.3 Typechecked 2025-08-23 */
4301
4291
  export type GetProductsIdBySizecodeResponse = {
4302
4292
  /** @description Object contains detailed information on result of operation. */
4303
4293
  results: {
@@ -4316,7 +4306,6 @@ export type GetProductsIdBySizecodeResponse = {
4316
4306
  }[];
4317
4307
  };
4318
4308
 
4319
- /** @version v6.3 Typechecked 2025-08-23 */
4320
4309
  export type GetProductsOmnibusPricesResponse = {
4321
4310
  /** @description Products list. */
4322
4311
  products: {
@@ -4357,7 +4346,6 @@ export type GetProductsOmnibusPricesResponse = {
4357
4346
  };
4358
4347
  };
4359
4348
 
4360
- /** @version v6.3 Typechecked 2025-08-23 */
4361
4349
  export type GetProductsSizesResponse = {
4362
4350
  /** @description Object contains detailed information on result of operation. */
4363
4351
  results: {
@@ -4407,7 +4395,6 @@ export type GetProductsSizesResponse = {
4407
4395
  };
4408
4396
  };
4409
4397
 
4410
- /** @version v6.3 Typechecked 2025-08-23 */
4411
4398
  export type GetProductsSKUbyBarcodeResponse = {
4412
4399
  /** @description Object contains detailed information on result of operation. */
4413
4400
  results: {
@@ -4554,7 +4541,6 @@ export type GetProductsSKUbyBarcodeResponse = {
4554
4541
  }[];
4555
4542
  };
4556
4543
 
4557
- /** @version v6.3 Typechecked 2025-08-23 */
4558
4544
  export type GetSystemUnitsResponse = {
4559
4545
  result: {
4560
4546
  units: {
@@ -4584,7 +4570,6 @@ export type GetSystemUnitsResponse = {
4584
4570
  };
4585
4571
  };
4586
4572
 
4587
- /** @version v6.3 Typechecked 2025-08-23 */
4588
4573
  export type GetProductsReservationsResponse = {
4589
4574
  /** @description Object contains detailed information on result of operation. */
4590
4575
  results: {
@@ -4625,7 +4610,6 @@ export type GetProductsReservationsResponse = {
4625
4610
  };
4626
4611
  };
4627
4612
 
4628
- /** @version v6.3 Typechecked 2025-08-23 */
4629
4613
  export type GetProductsSeriesResponse = {
4630
4614
  /** @description Date of last modification (YYYY-MM-DD HH-MM-SS). */
4631
4615
  last_changed_time: string;
@@ -4648,7 +4632,6 @@ export type GetProductsSeriesResponse = {
4648
4632
  }[];
4649
4633
  } & PagedResponse;
4650
4634
 
4651
- /** @version v6.3 Typechecked 2025-08-23 */
4652
4635
  export type GetShopsCurrenciesResponse = {
4653
4636
  /** @description List of shops */
4654
4637
  shops: {
@@ -4668,7 +4651,6 @@ export type GetShopsCurrenciesResponse = {
4668
4651
  }[];
4669
4652
  };
4670
4653
 
4671
- /** @version v6.3 Typechecked 2025-08-23 */
4672
4654
  export type GetShopsLanguagesResponse = {
4673
4655
  /** @description List of shops */
4674
4656
  shops: {
@@ -4713,7 +4695,6 @@ export type GetConfigVariablesResponse = {
4713
4695
  pagination: PagedResponse;
4714
4696
  };
4715
4697
 
4716
- /** @version v6.3 Typechecked 2025-08-23 */
4717
4698
  export type GetSystemCurrenciesResponse = {
4718
4699
  /** @description Number of decimal spaces for price rounding. */
4719
4700
  currency_round: number;
@@ -4733,7 +4714,6 @@ export type GetSystemCurrenciesResponse = {
4733
4714
  }[];
4734
4715
  };
4735
4716
 
4736
- /** @version v6.3 Typechecked 2025-08-23 */
4737
4717
  export type GetPackagesLabelsResponse = {
4738
4718
  /** @description Package labels encoded in base64 */
4739
4719
  labels: string[];
@@ -4741,7 +4721,6 @@ export type GetPackagesLabelsResponse = {
4741
4721
  labelsType: "PDF" | "A4" | "16x10" | "SPL" | "ZPL" | "EPL" | "DPL";
4742
4722
  };
4743
4723
 
4744
- /** @version v6.3 Typechecked 2025-08-23 */
4745
4724
  export type GetOrdersProfitabilityResponse = {
4746
4725
  /** @description Order value (net) */
4747
4726
  totalPrice: number;
@@ -4761,7 +4740,6 @@ export type GetOrdersProfitabilityResponse = {
4761
4740
  profitMarginPercent: number;
4762
4741
  };
4763
4742
 
4764
- /** @version v6.3 Typechecked 2025-08-23 */
4765
4743
  export type GetOrdersPackagesResponse = {
4766
4744
  /** @description Object contains detailed information on result of operation. */
4767
4745
  results: {
@@ -4846,7 +4824,6 @@ export type GetOrdersPackagesResponse = {
4846
4824
  }[];
4847
4825
  };
4848
4826
 
4849
- /** @version v6.3 Typechecked 2025-08-23 */
4850
4827
  export type GetOrdersAnalyticsResponse = {
4851
4828
  /** @description Object contains detailed information on result of operation. */
4852
4829
  results: null | {
@@ -4870,7 +4847,6 @@ export type GetOrdersAnalyticsResponse = {
4870
4847
  }[];
4871
4848
  };
4872
4849
 
4873
- /** @version v6.3 Typechecked 2025-08-23 */
4874
4850
  export type GetCouriersAssignedToShippingProfilesResponse = {
4875
4851
  couriers: {
4876
4852
  [courier: string]: {
@@ -4896,7 +4872,6 @@ export type GetCouriersAssignedToShippingProfilesResponse = {
4896
4872
  };
4897
4873
  };
4898
4874
 
4899
- /** @version v6.3 Typechecked 2025-08-23 */
4900
4875
  export type GetOrdersStatusesResponse = {
4901
4876
  statuses: {
4902
4877
  /** @description Status identifier */
@@ -4908,7 +4883,6 @@ export type GetOrdersStatusesResponse = {
4908
4883
  }[];
4909
4884
  };
4910
4885
 
4911
- /** @version v6.3 Typechecked 2025-08-25 */
4912
4886
  export type GetPaymentsResponse = {
4913
4887
  /** @description Parameters concerning returned results */
4914
4888
  result: {
@@ -4949,7 +4923,6 @@ export type GetPaymentsResponse = {
4949
4923
  };
4950
4924
  };
4951
4925
 
4952
- /** @version v6.3 Typechecked 2025-08-25 */
4953
4926
  export type GetProductsStrikethroughPricesResponse = {
4954
4927
  /** @description Products list. */
4955
4928
  products: {
@@ -4997,7 +4970,6 @@ export type GetProductsStrikethroughPricesResponse = {
4997
4970
  };
4998
4971
  };
4999
4972
 
5000
- /** @version v6.3 Typechecked 2025-08-25 */
5001
4973
  export type GetSystemProcessesAutomationResponse = {
5002
4974
  /** @description Orders. */
5003
4975
  orders: {
@@ -5022,7 +4994,6 @@ export type GetSystemProcessesAutomationResponse = {
5022
4994
  };
5023
4995
  };
5024
4996
 
5025
- /** @version v6.3 Typechecked 2025-08-25 */
5026
4997
  export type GetEntriesPagesToDisplayResponse = {
5027
4998
  /** @description Parameters concerning returned results */
5028
4999
  result: {
@@ -5036,7 +5007,6 @@ export type GetEntriesPagesToDisplayResponse = {
5036
5007
  };
5037
5008
  };
5038
5009
 
5039
- /** @version v6.3 Typechecked 2025-08-25 */
5040
5010
  export type GetEntriesResponse = {
5041
5011
  /** @description Parameters concerning returned results */
5042
5012
  result: {
@@ -5080,7 +5050,6 @@ export type GetEntriesResponse = {
5080
5050
  };
5081
5051
  };
5082
5052
 
5083
- /** @version v6.3 Typechecked 2025-08-25 */
5084
5053
  export type GetCpaResponse = {
5085
5054
  results: {
5086
5055
  /** @description Id of the CPA program. */
@@ -5207,7 +5176,6 @@ export type GetCpaResponse = {
5207
5176
  pagination: PagedResponse;
5208
5177
  };
5209
5178
 
5210
- /** @version v6.3 Typechecked 2025-08-25 */
5211
5179
  export type GetVouchersTypesResponse = {
5212
5180
  /** @description List of all discount code campaigns defined in the administration panel */
5213
5181
  vouchersTypes: {
@@ -5218,7 +5186,6 @@ export type GetVouchersTypesResponse = {
5218
5186
  }[];
5219
5187
  } & PagedResponse;
5220
5188
 
5221
- /** @version v6.3 Typechecked 2025-08-25 */
5222
5189
  export type GetVouchersResponse = {
5223
5190
  /** @description Parameters concerning returned results */
5224
5191
  result: {
@@ -5254,7 +5221,6 @@ export type GetVouchersResponse = {
5254
5221
  }[];
5255
5222
  } & PagedResponse;
5256
5223
 
5257
- /** @version v6.3 Typechecked 2025-08-25 */
5258
5224
  export type GetOrdersHistoryResponse = {
5259
5225
  /** @description List of events */
5260
5226
  historyEvents: {
@@ -5267,7 +5233,6 @@ export type GetOrdersHistoryResponse = {
5267
5233
  }[];
5268
5234
  };
5269
5235
 
5270
- /** @version v6.3 Typechecked 2025-08-25 */
5271
5236
  export type GetSnippetsCampaignResponse = {
5272
5237
  results: {
5273
5238
  /** @description Snippet campaign id */
@@ -5300,7 +5265,6 @@ export type GetSnippetsCampaignResponse = {
5300
5265
  pagination: PagedResponse;
5301
5266
  };
5302
5267
 
5303
- /** @version v6.3 Typechecked 2025-08-25 */
5304
5268
  export type GetSnippetsCookiesResponse = {
5305
5269
  results: {
5306
5270
  /** @description Snippet */
@@ -5332,7 +5296,6 @@ export type GetSnippetsCookiesResponse = {
5332
5296
  pagination: PagedResponse;
5333
5297
  };
5334
5298
 
5335
- /** @version v6.3 Typechecked 2025-08-26 */
5336
5299
  export type PostOrdersResponse = {
5337
5300
  results: {
5338
5301
  /** @description List of orders returned in gate call. */
@@ -5366,7 +5329,6 @@ export type PostOrdersResponse = {
5366
5329
  };
5367
5330
  };
5368
5331
 
5369
- /** @version v6.3 Typechecked 2025-08-26 */
5370
5332
  export type PostProductsResponse = {
5371
5333
  /** @description Object contains detailed information on result of operation. */
5372
5334
  results: {
@@ -5421,7 +5383,6 @@ export type PostProductsResponse = {
5421
5383
  };
5422
5384
  };
5423
5385
 
5424
- /** @version v6.3 Typechecked 2025-08-26 */
5425
5386
  export type PutProductsResponse = {
5426
5387
  /** @description Object contains detailed information on result of operation. */
5427
5388
  results: {
@@ -5484,7 +5445,6 @@ export type PutProductsResponse = {
5484
5445
  };
5485
5446
  };
5486
5447
 
5487
- /** @version v6.3 Typechecked 2025-08-26 */
5488
5448
  export type PutOrdersResponse = {
5489
5449
  results: {
5490
5450
  /** @description List of orders returned in gate call. */
@@ -5522,7 +5482,6 @@ export type PutOrdersResponse = {
5522
5482
  };
5523
5483
  };
5524
5484
 
5525
- /** @version v6.3 Typechecked 2025-08-26 */
5526
5485
  export type PostCouriersPickupPointsResponse = {
5527
5486
  /** @description Parameters concerning returned results */
5528
5487
  result: {
@@ -5539,7 +5498,6 @@ export type PostCouriersPickupPointsResponse = {
5539
5498
  }[];
5540
5499
  };
5541
5500
 
5542
- /** @version v6.3 Typechecked 2025-08-26 */
5543
5501
  export type PutCouriersPickupPointsResponse = {
5544
5502
  /** @description Parameters concerning returned results */
5545
5503
  result: {
@@ -5603,4 +5561,293 @@ export type PostOrdersDocumentsCreateResponse = {
5603
5561
  };
5604
5562
  };
5605
5563
 
5564
+ export type PostClientsResponse = {
5565
+ /** @description Customer data. */
5566
+ clients: {
5567
+ /** @description Information about newly created customer accounts. */
5568
+ status: boolean;
5569
+ /** @description Parameters transmitted to method */
5570
+ params: {
5571
+ /** @description Customer ID. */
5572
+ id: number;
5573
+ /** @description Customer's login. */
5574
+ login: string;
5575
+ /** @description Field used for identifying request-response pairs for the endpoint. */
5576
+ request_reference?: string;
5577
+ };
5578
+ /** @description Information on error that occurred during gate call. */
5579
+ errors?: FaultCodeString[];
5580
+ }[];
5581
+ };
5582
+
5583
+ export type PostReturnsResponse = {
5584
+ /** @example 1 */
5585
+ return_id: number;
5586
+ };
5587
+
5588
+ export type PostWmsStocksdocumentsDocumentsResponse = {
5589
+ /** @description Document identifier. */
5590
+ id: number;
5591
+ };
5592
+
5593
+ export type PostWmsStocksdocumentsProductsResponse = {
5594
+ errors?: FaultCodeString;
5595
+ } | [];
5596
+
5597
+ export type PostPaymentsResponse = {
5598
+ /** @description Parameters concerning returned results */
5599
+ result: {
5600
+ /** @description Transaction ID. */
5601
+ paymentId: string;
5602
+ };
5603
+ };
5604
+
5605
+ export type PutReturnsResponse = {
5606
+ errors?: FaultCodeString;
5607
+ /** @description Object contains detailed information on result of operation. */
5608
+ results: {
5609
+ /** @example 1 */
5610
+ id: number;
5611
+ errors: FaultCodeString;
5612
+ }[];
5613
+ };
5614
+
5615
+ export type PutRmaResponse = {
5616
+ /** @description Object contains detailed information on result of operation. */
5617
+ results: {
5618
+ rmasResults: {
5619
+ /** @description Complaint id. */
5620
+ rmaId: number;
5621
+ /** @description Error code. */
5622
+ faultCode: number;
5623
+ /** @description Error description. */
5624
+ faultString?: string;
5625
+ }[];
5626
+ };
5627
+ };
5628
+
5629
+ export type PutWmsStocksdocumentsProductsResponse = {
5630
+ errors?: FaultCodeString;
5631
+ } | [];
5632
+
5633
+ export type PostMenuResponse = {
5634
+ /** @description Parameters concerning returned results */
5635
+ result: {
5636
+ /** @description Shop Id. */
5637
+ shop_id: number;
5638
+ /** @description Menu ID. */
5639
+ menu_id: number;
5640
+ /** @description Menu element ID */
5641
+ item_id: number;
5642
+ /** @description Parent menu element ID. Example: "item1\item2\item3". */
5643
+ item_textid: string;
5644
+ /** @description Parent menu element ID */
5645
+ parent_id: number;
5646
+ /** @description Menu element text identifier. Example: "item1\item2\item3". */
5647
+ parent_textid: string | null;
5648
+ /** @description Error code. List of error codes: "0" - Operation was successful, "1" - Incorrect shop id, "2" - Incorrect language ID, "3" - Incorrect menu id, "4" - Element with indicated ID doesn't exist, "5" - Element name is empty, "6" - Element with the provided name already exists. */
5649
+ faultCode: number;
5650
+ /** @description Error description. */
5651
+ faultString: string;
5652
+ /** @description Error adding graphics. */
5653
+ faultGfx: {
5654
+ /** @description Graphic type. List of types: "gfx_nav" - Graphic on the "navigation" page, "gfx_active" - Graphic - When the cursor is on the link, "gfx_active_desktop" - Graphic - When the cursor is on the link - Desktop, "gfx_active_tablet" - Graphic - When the cursor is on the link - Tablet, "gfx_active_mobile" - Graphic - When the cursor is on the link - Mobile, "gfx" - Graphic - When the cursor is outside link, "gfx_inactive_desktop" - Graphic - When the cursor is outside link - Desktop, "gfx_inactive_tablet" - Graphic - When the cursor is outside link - Tablet, "gfx_inactive_mobile" - Graphic - When the cursor is outside link - Mobile, "gfx_onmouseover" - Graphic - When the link is opened, "gfx_omo_desktop" - Graphic - When the link is opened - Desktop, "gfx_omo_tablet" - Graphic - When the link is opened - Tablet, "gfx_omo_mobile" - Graphic - When the link is opened - Mobile. */
5655
+ type: string;
5656
+ /** @description Graphic error code. List of error codes: "101" - File is not a graphics format, "102" - File size too large, "103" - Graphic is too wide, "104" - Graphics is too narrow. */
5657
+ code: number;
5658
+ /** @description Graphic error description. */
5659
+ val: string;
5660
+ }[];
5661
+ }[];
5662
+ };
5663
+
5664
+ export type PutClientsDeliveryAddressResponse = {
5665
+ /** @description Object contains detailed information on result of operation. */
5666
+ results: {
5667
+ /** @description Information whether the operation was successful. */
5668
+ resultStatus: boolean;
5669
+ /** @description Object contains detailed information on performed operation. */
5670
+ clientDeliveryAddressResult: {
5671
+ /** @description Unique client's number. */
5672
+ clientId: number;
5673
+ /** @description Delivery address ID. */
5674
+ clientDeliveryAddressId: number;
5675
+ };
5676
+ /** @description Information on error that occurred during gate call. */
5677
+ errors?: FaultCodeString[];
5678
+ }[];
5679
+ };
5680
+
5681
+ export type PutProductsAttachmentsResponse = {
5682
+ /** @description Object contains detailed information on result of operation. */
5683
+ results: {
5684
+ /** @description Stock keeping unit. */
5685
+ productIdent: {
5686
+ /** @description ID value. */
5687
+ identValue: string | number;
5688
+ /** @description Identifier type. */
5689
+ productIdentType: "id" | "index" | "codeExtern" | "codeProducer";
5690
+ };
5691
+ /** @description Product attachments list. */
5692
+ attachments?: {
5693
+ /** @description Attachment file link. */
5694
+ attachmentUrl: string;
5695
+ /** @description Attachment name. */
5696
+ attachmentName: string;
5697
+ /** @description Language ID */
5698
+ langId: string;
5699
+ /** @description File type: audio, video, doc, other. */
5700
+ attachmentFileType: "audio" | "video" | "doc" | "other" | "image";
5701
+ /** @description Type of customer, attachment should be available for: 'all','ordered','wholesaler','wholesaler_or_ordered','wholesaler_and_ordered'. */
5702
+ attachmentEnable: "all" | "ordered" | "wholesaler" | "wholesaler_or_orderer" | "wholesaler_and_ordered";
5703
+ /** @description Attachment ID. */
5704
+ attachmentId?: number;
5705
+ /** @description Attachment downloads record. */
5706
+ attachmentDownloadLog: "y" | "n";
5707
+ /** @description Attachment file extension. */
5708
+ attachmentFileExtension?: string;
5709
+ /** @description Attachment number. */
5710
+ attachmentPriority?: number;
5711
+ /** @description Flag indicating if an attachment should be removed. */
5712
+ attachmentToDelete?: boolean;
5713
+ /** @description Attachment document types list. */
5714
+ documentTypes?: {
5715
+ /** @description Document type. */
5716
+ documentType?: "energy_label" | "instruction_with_safety_information" | "user_manual" | "installation_instructions" | "product_card" | "guide" | "others";
5717
+ /** @description Additional description. */
5718
+ description?: string;
5719
+ }[];
5720
+ /** @description Information on error that occurred during gate call. */
5721
+ errors?: FaultCodeString;
5722
+ }[];
5723
+ /** @description List of product's virtual attachments. */
5724
+ virtualAttachments?: {
5725
+ /** @description Attachment file link. */
5726
+ attachmentUrl: string;
5727
+ /** @description Attachment name. */
5728
+ attachmentName: {
5729
+ /** @description List of languages. */
5730
+ attachmentLanguages: {
5731
+ /** @description Language ID */
5732
+ langId: string;
5733
+ /** @description Language name */
5734
+ langName: string;
5735
+ /** @description Literal in selected language. */
5736
+ langValue: string;
5737
+ }[];
5738
+ };
5739
+ /** @description Full version or sample. */
5740
+ attachmentType: "full" | "demo";
5741
+ /** @description Number of attachment downloads limit. */
5742
+ attachmentLimits: {
5743
+ /** @description Number of downloads limit. */
5744
+ attachmentDownloadsLimit: number;
5745
+ /** @description Number of days file should be available. */
5746
+ attachmentDaysLimit: number;
5747
+ };
5748
+ /** @description Attachment ID. */
5749
+ attachmentId: number;
5750
+ /** @description Attachment number. */
5751
+ attachmentPriority: number;
5752
+ /** @description Flag indicating if an attachment should be removed. */
5753
+ attachmentToDelete: boolean;
5754
+ /** @description Information on error that occurred during gate call. */
5755
+ errors?: FaultCodeString;
5756
+ }[];
5757
+ /** @description Information on error that occurred during gate call. */
5758
+ errors?: FaultCodeString;
5759
+ /** @description Flag indicating if there are errors in results of attachments settings. */
5760
+ attachmentsErrorsOccurred?: boolean;
5761
+ /** @description Flag indicating if there are errors in results of virtual attachments settings. */
5762
+ virtualAttachmentsErrorsOccurred?: boolean;
5763
+ }[];
5764
+ /** @description Information about whether any errors occurred. */
5765
+ errorsOccurred: boolean;
5766
+ };
5767
+
5768
+ export type PutMenuResponse = {
5769
+ /** @description Parameters concerning returned results */
5770
+ result: {
5771
+ /** @description Shop Id. */
5772
+ shop_id: number;
5773
+ /** @description Menu ID. */
5774
+ menu_id: number;
5775
+ /** @description Menu element ID. */
5776
+ item_id: string;
5777
+ /** @description Menu element text identifier. Example: "item1\item2\item3". */
5778
+ item_textid: null | string;
5779
+ /** @description Error code. List of error codes: "0" - Operation was successful, "1" - Incorrect shop id, "2" - Incorrect language ID, "3" - Incorrect menu id, "4" - Element with indicated ID doesn't exist, "5" - Element name is empty, "6" - Element with the provided name already exists, "7" - Menu element ID or menu element text identifier is required. */
5780
+ faultCode: number;
5781
+ /** @description Error description. */
5782
+ faultString: string;
5783
+ /** @description Error adding graphics. */
5784
+ faultGfx: {
5785
+ /** @description Graphic type. List of types: "gfx_nav" - Graphic on the "navigation" page, "gfx_active" - Graphic - When the cursor is on the link, "gfx_active_desktop" - Graphic - When the cursor is on the link - Desktop, "gfx_active_tablet" - Graphic - When the cursor is on the link - Tablet, "gfx_active_mobile" - Graphic - When the cursor is on the link - Mobile, "gfx" - Graphic - When the cursor is outside link, "gfx_inactive_desktop" - Graphic - When the cursor is outside link - Desktop, "gfx_inactive_tablet" - Graphic - When the cursor is outside link - Tablet, "gfx_inactive_mobile" - Graphic - When the cursor is outside link - Mobile, "gfx_onmouseover" - Graphic - When the link is opened, "gfx_omo_desktop" - Graphic - When the link is opened - Desktop, "gfx_omo_tablet" - Graphic - When the link is opened - Tablet, "gfx_omo_mobile" - Graphic - When the link is opened - Mobile. */
5786
+ type: string;
5787
+ /** @description Graphic error code. List of error codes: "101" - File is not a graphics format, "102" - File size too large, "103" - Graphic is too wide, "104" - Graphics is too narrow. */
5788
+ code: number;
5789
+ /** @description Graphic error description. */
5790
+ val: string;
5791
+ }[];
5792
+ }[];
5793
+ };
5794
+
5795
+ export type PostPaymentsRepaymentResponse = {
5796
+ /** @description Parameters concerning returned results */
5797
+ result: {
5798
+ /** @description Payment ID. */
5799
+ payment_id: string;
5800
+ };
5801
+ };
5802
+
5803
+ export type PostResponsibilityEntitiesResponse = {
5804
+ /** @description Results */
5805
+ results: {
5806
+ /** @description Responsible entity code */
5807
+ code: string;
5808
+ /** @description Errors */
5809
+ errors: ((({
5810
+ /** @description Error code. */
5811
+ code: string;
5812
+ /** @description Field associated with the error. */
5813
+ field: string | null;
5814
+ /** @description Error description. */
5815
+ message: string | null;
5816
+ /** @description Value associated with the error. */
5817
+ value: string | null;
5818
+ /** @description Unique identifier of the error (for support). */
5819
+ uid: string | null;
5820
+ } & {
5821
+ errorCode: string;
5822
+ }) & {
5823
+ /** @description Possible values: - unexpected_error - invalid_language_code - invalid_language_for_shop - invalid_shop - invalid_date_range - invalid_number_range - collection_is_empty - collection_limit_exceeded - invalid_parameter_for_post_method - invalid_parameter_for_put_method - no_data - connection_error
5824
+ * */
5825
+ errorCode: string;
5826
+ }) | {
5827
+ code: string;
5828
+ })[];
5829
+ }[];
5830
+ };
5831
+
5832
+ export type PutProductsCategoriesResponse = {
5833
+ /** @description Parameters concerning returned results */
5834
+ result: {
5835
+ /** @description List of categories in which sought products are present. */
5836
+ categories: {
5837
+ /** @description Category id. */
5838
+ id: number;
5839
+ /** @description Parent category ID. */
5840
+ parent_id?: number;
5841
+ /** @description Priority. */
5842
+ priority?: number;
5843
+ /** @description Operation code. */
5844
+ operation?: string;
5845
+ /** @description Error code. Error description: "0" - Operation was successful, "1" - Login failure: invalid username or key, "4" - Shop has been blocked due to number of overdue invoices owed to IAI Company */
5846
+ faultCode: number;
5847
+ /** @description Error description. */
5848
+ faultString: string;
5849
+ }[];
5850
+ };
5851
+ };
5852
+
5606
5853
  export { };