idosell 0.4.12 → 0.4.16

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.
@@ -114,14 +114,11 @@ export type GetClientsBalanceResponse = {
114
114
  clientsBalance: {
115
115
  /** @description Customer ID */
116
116
  clientId: number;
117
- clientBalance: {
118
- [currency: string]: {
119
- /** @description Balance value. */
120
- actualAmount: number;
121
- /** @description Currency. */
122
- currency: string
123
- }
124
- } | [];
117
+ clientBalance: never[] | Record<string, {
118
+ /** @description Balance value. */
119
+ actualAmount: number;
120
+ /** @description Currency. */
121
+ currency: string}>;
125
122
  clientBalanceHistory: null | {
126
123
  /** @description Amount added or subtract from the balance. */
127
124
  cash: number;
@@ -251,14 +248,11 @@ export type SearchClientsCrmResponse = {
251
248
  shopId: number;
252
249
  }[];
253
250
  /** @description Information about customer balance. */
254
- clientBalances: {
255
- [currency: string]: {
256
- /** @description Balance value. */
257
- clientBalanceAmount: number;
258
- /** @description Currency ID */
259
- currencyId: string;
260
- }
261
- } | [];
251
+ clientBalances: never[] | Record<string, {
252
+ /** @description Balance value. */
253
+ clientBalanceAmount: number;
254
+ /** @description Currency ID */
255
+ currencyId: string}>;
262
256
  /** @description Customer orders statistics. */
263
257
  clientOrdersStatistic: {
264
258
  /** @description Retail turnover. */
@@ -320,6 +314,8 @@ export type SearchClientsCrmResponse = {
320
314
  clientLastName: string;
321
315
  /** @description Customer Tax no. */
322
316
  clientNip: string;
317
+ /** @description Customer NIP UE declaration */
318
+ clientNipUeDeclaration: string;
323
319
  /** @description Customer's company name. */
324
320
  clientFirm: string;
325
321
  /** @description External system code. */
@@ -492,16 +488,13 @@ export type SearchClientsNewsletterEmailResponse = {
492
488
  language: string;
493
489
  /** @description Customer e-mail address. */
494
490
  email: string;
495
- shops: {
496
- [shop: string]: {
497
- /** @description shop ID. */
498
- shop_id: number;
499
- /** @description Newsletter participant approval */
500
- approval: string;
501
- /** @description Last modification date. For noregister client - adding to newsletter, for registered - last modification participant in newsletter (add or remove from newsletter lists) */
502
- date_modification: string
503
- } | []
504
- };
491
+ shops: never[] | Record<string, {
492
+ /** @description shop ID. */
493
+ shop_id: number;
494
+ /** @description Newsletter participant approval */
495
+ approval: string;
496
+ /** @description Last modification date. For noregister client - adding to newsletter, for registered - last modification participant in newsletter (add or remove from newsletter lists) */
497
+ date_modification: string}>;
505
498
  }[];
506
499
  } & PagedSnakecaseResponse;
507
500
 
@@ -518,16 +511,13 @@ export type SearchClientsNewsletterSmsResponse = {
518
511
  language: string;
519
512
  /** @description Cell phone. */
520
513
  phone_cellular: string;
521
- shops: {
522
- [shop: string]: {
523
- /** @description shop ID. */
524
- shop_id: number;
525
- /** @description Date from which a customer agreed to receive the newsletter. */
526
- approval: string;
527
- /** @description Last modification date. */
528
- date_modification: string
529
- } | []
530
- };
514
+ shops: never[] | Record<string, {
515
+ /** @description shop ID. */
516
+ shop_id: number;
517
+ /** @description Date from which a customer agreed to receive the newsletter. */
518
+ approval: string;
519
+ /** @description Last modification date. */
520
+ date_modification: string}>;
531
521
  }[];
532
522
  } & PagedSnakecaseResponse;
533
523
 
@@ -870,6 +860,8 @@ export type GetClientsResponse = {
870
860
  clientGroupDiscountNumber: number;
871
861
  /** @description Customer group name. */
872
862
  clientGroupDiscountName: string | null;
863
+ /** @description Customer NIP UE declaration */
864
+ clientNipUeDeclaration: string;
873
865
  };
874
866
  /** @description List of shops where a customer agreed or didn't agree to receive email newsletter. */
875
867
  newsletterEmailApprovalsData: {
@@ -1070,28 +1062,25 @@ export type PutConfigVariablesResponse = {
1070
1062
  };
1071
1063
 
1072
1064
  export type GetCouriersAssignedToShippingProfilesResponse = {
1073
- couriers: {
1074
- [courier: string]: {
1075
- /** @description Courier Id */
1076
- id: string;
1077
- /** @description #!RegionKuriera!# */
1078
- region: string;
1079
- /** @description Courier name */
1080
- name: string;
1081
- /** @example trackingurl */
1082
- trackingurl: string;
1083
- /** @example pickup */
1084
- pickup: string;
1085
- /** @example multiple_packages_support */
1086
- multiple_packages_support: string;
1087
- /** @example webservice_only */
1088
- webservice_only: string;
1089
- /** @example shipping_number_support */
1090
- shipping_number_support: string;
1091
- /** @example package_number_support */
1092
- package_number_support: string
1093
- } | []
1094
- };
1065
+ couriers: never[] | Record<string, {
1066
+ /** @description Courier Id */
1067
+ id: string;
1068
+ /** @description #!RegionKuriera!# */
1069
+ region: string;
1070
+ /** @description Courier name */
1071
+ name: string;
1072
+ /** @example trackingurl */
1073
+ trackingurl: string;
1074
+ /** @example pickup */
1075
+ pickup: string;
1076
+ /** @example multiple_packages_support */
1077
+ multiple_packages_support: string;
1078
+ /** @example webservice_only */
1079
+ webservice_only: string;
1080
+ /** @example shipping_number_support */
1081
+ shipping_number_support: string;
1082
+ /** @example package_number_support */
1083
+ package_number_support: string}>;
1095
1084
  };
1096
1085
 
1097
1086
  export type GetCouriersPickupPointsResponse = {
@@ -1175,6 +1164,8 @@ export type GetCouriersResponse = {
1175
1164
  name: string;
1176
1165
  /** @description Information if a courier delivers to personal collection points. */
1177
1166
  hasPickupPoints: boolean;
1167
+ /** @description Courier company */
1168
+ companyKey: string;
1178
1169
  }[];
1179
1170
  } & PagedResponse;
1180
1171
 
@@ -2005,7 +1996,7 @@ export type GetOrdersPackagesResponse = {
2005
1996
  type: "radio" | "text" | "select" | "checkbox";
2006
1997
  /** @description Default value for option */
2007
1998
  defaultValue: string;
2008
- /** @description Available values ​​for the options */
1999
+ /** @description Available values for the options */
2009
2000
  options?: {
2010
2001
  /** @description Id */
2011
2002
  id: string;
@@ -2146,6 +2137,8 @@ export type SearchOrdersResponse = {
2146
2137
  clientCity: string;
2147
2138
  /** @description Region name takes priority over clientCountryId. */
2148
2139
  clientCountryName: string;
2140
+ /** @description Client NIP verification status */
2141
+ clientNipUeVerified: string | null;
2149
2142
  /** @description Country ID in accordance with ISO-3166. */
2150
2143
  clientCountryId: string;
2151
2144
  /** @description Cell phone. */
@@ -2193,7 +2186,7 @@ export type SearchOrdersResponse = {
2193
2186
  clientPickupPointAddress?: {
2194
2187
  /** @description Collection point ID. */
2195
2188
  pickupPointId: number;
2196
- externalPickupPointId: string;
2189
+ externalPickupPointId?: string;
2197
2190
  /** @description Town / City. */
2198
2191
  city: string;
2199
2192
  /** @description Address. */
@@ -2750,7 +2743,7 @@ export type SearchPackagesResponse = {
2750
2743
  defaultValue: string;
2751
2744
  /** @description Value for the option */
2752
2745
  value?: string;
2753
- /** @description Available values ​​for the options */
2746
+ /** @description Available values for the options */
2754
2747
  options?: {
2755
2748
  /** @description Id */
2756
2749
  id: string;
@@ -2960,35 +2953,26 @@ export type GetProductsAuctionsResponse = {
2960
2953
  /** @description Object contains detailed information on result of operation. */
2961
2954
  results: {
2962
2955
  /** @description Products list. */
2963
- products: {
2964
- [auction: string]: {
2965
- productId: {
2966
- /** */
2967
- identType: "id" | "index" | "codeExtern" | "codeProducer";
2968
- /** @description ID value. */
2969
- identValue: string;
2970
- };
2971
- /** @description External listings - orders table. */
2972
- auctions: {
2973
- [index: string]: {
2974
- /** @description Auction site page ID */
2975
- auctionSiteId: string;
2976
- /** @description Auction number on the auction site */
2977
- auctionId: string;
2978
- }
2979
- } | [];
2980
- auctionCategories: {
2981
- [index: string]: {
2982
- /** @description Auction site page ID */
2983
- auctionSiteId: string;
2984
- /** @description Numeric ID of the category in the auction site */
2985
- auctionCategoryId: string;
2986
- /** @description Category path */
2987
- auctionCategoryPath: string;
2988
- }
2989
- } | [];
2990
- }
2991
- } | [];
2956
+ products: never[] | Record<string, {
2957
+ productId: {
2958
+ /** */
2959
+ identType: "id" | "index" | "codeExtern" | "codeProducer";
2960
+ /** @description ID value. */
2961
+ identValue: string;
2962
+ };
2963
+ /** @description External listings - orders table. */
2964
+ auctions: never[] | Record<string, {
2965
+ /** @description Auction site page ID */
2966
+ auctionSiteId: string;
2967
+ /** @description Auction number on the auction site */
2968
+ auctionId: string}>;
2969
+ auctionCategories: never[] | Record<string, {
2970
+ /** @description Auction site page ID */
2971
+ auctionSiteId: string;
2972
+ /** @description Numeric ID of the category in the auction site */
2973
+ auctionCategoryId: string;
2974
+ /** @description Category path */
2975
+ auctionCategoryPath: string}>}>;
2992
2976
  } & PagedResponse;
2993
2977
  };
2994
2978
 
@@ -3451,35 +3435,32 @@ export type PutProductsMarketingPromotionResponse = {
3451
3435
 
3452
3436
  export type GetProductsMarketingZonesResponse = {
3453
3437
  /** @description Products list. */
3454
- products: {
3455
- [id: string]: {
3456
- /** @description Identifier type. */
3457
- ident: {
3458
- /** */
3459
- type: "id" | "index" | "codeExtern" | "codeProducer";
3460
- /** @description Value. */
3461
- value: string;
3438
+ products: never[] | Record<string, {
3439
+ /** @description Identifier type. */
3440
+ ident: {
3441
+ /** */
3442
+ type: "id" | "index" | "codeExtern" | "codeProducer";
3443
+ /** @description Value. */
3444
+ value: string;
3445
+ };
3446
+ /** @description Stock keeping unit. */
3447
+ product_id?: number;
3448
+ shops: {
3449
+ /** @description Shop Id */
3450
+ shop_id: number;
3451
+ marketing_zones: {
3452
+ /** @description Promoted product. */
3453
+ promotion: "yes" | "no";
3454
+ /** @description Product on sale. */
3455
+ discount: "yes" | "no";
3456
+ /** @description Distinguished product. */
3457
+ distinguished: "yes" | "no";
3458
+ /** @description Special product. */
3459
+ special: "yes" | "no";
3462
3460
  };
3463
- /** @description Stock keeping unit. */
3464
- product_id?: number;
3465
- shops: {
3466
- /** @description Shop Id */
3467
- shop_id: number;
3468
- marketing_zones: {
3469
- /** @description Promoted product. */
3470
- promotion: "yes" | "no";
3471
- /** @description Product on sale. */
3472
- discount: "yes" | "no";
3473
- /** @description Distinguished product. */
3474
- distinguished: "yes" | "no";
3475
- /** @description Special product. */
3476
- special: "yes" | "no";
3477
- };
3478
- }[];
3479
- /** @description Error information. */
3480
- error?: FaultCodeString
3481
- } | []
3482
- };
3461
+ }[];
3462
+ /** @description Error information. */
3463
+ error?: FaultCodeString}>;
3483
3464
  };
3484
3465
 
3485
3466
  export type PutProductsMarketingZonesResponse = {
@@ -3504,42 +3485,33 @@ export type PutProductsMarketingZonesResponse = {
3504
3485
 
3505
3486
  export type GetProductsOmnibusPricesResponse = {
3506
3487
  /** @description Products list. */
3507
- products: {
3508
- [productId: string]: {
3509
- shops: {
3510
- [shopId: string]: {
3511
- /** @description Shop Id */
3512
- shop_id: number;
3513
- /** @description Lowest retail price before active promotion (gross). */
3514
- omnibusPriceRetail: number;
3515
- /** @description Lowest wholesale price before active promotion (gross). */
3516
- omnibusPriceWholesale: number;
3517
- /** @description How to manage the lowest price before promotion. */
3518
- omnibusPriceManagement: "automatic" | "manual";
3519
- /** @description List of sizes */
3520
- sizes: {
3521
- [sizeId: string]: {
3522
- /** @description Identifier type. */
3523
- ident: {
3524
- /** */
3525
- type: "id" | "index" | "codeExtern" | "codeProducer";
3526
- /** @description Value. */
3527
- value: string;
3528
- };
3529
- /** @description Lowest retail price before active promotion (gross). */
3530
- omnibusPriceRetail: number;
3531
- /** @description Lowest wholesale price before active promotion (gross). */
3532
- omnibusPriceWholesale: number;
3533
- /** @description How to manage the lowest price before promotion. */
3534
- omnibusPriceManagement: "automatic" | "manual"
3535
- } | []
3536
- }
3537
- } | []
3538
- };
3539
- /** @description Error information. */
3540
- error?: FaultCodeString
3541
- } | []
3542
- };
3488
+ products: never[] | Record<string, {
3489
+ shops: never[] | Record<string, {
3490
+ /** @description Shop Id */
3491
+ shop_id: number;
3492
+ /** @description Lowest retail price before active promotion (gross). */
3493
+ omnibusPriceRetail: number;
3494
+ /** @description Lowest wholesale price before active promotion (gross). */
3495
+ omnibusPriceWholesale: number;
3496
+ /** @description How to manage the lowest price before promotion. */
3497
+ omnibusPriceManagement: "automatic" | "manual";
3498
+ /** @description List of sizes */
3499
+ sizes: never[] | Record<string, {
3500
+ /** @description Identifier type. */
3501
+ ident: {
3502
+ /** */
3503
+ type: "id" | "index" | "codeExtern" | "codeProducer";
3504
+ /** @description Value. */
3505
+ value: string;
3506
+ };
3507
+ /** @description Lowest retail price before active promotion (gross). */
3508
+ omnibusPriceRetail: number;
3509
+ /** @description Lowest wholesale price before active promotion (gross). */
3510
+ omnibusPriceWholesale: number;
3511
+ /** @description How to manage the lowest price before promotion. */
3512
+ omnibusPriceManagement: "automatic" | "manual"}>}>;
3513
+ /** @description Error information. */
3514
+ error?: FaultCodeString}>;
3543
3515
  };
3544
3516
 
3545
3517
  export type GetProductsOpinionsRateResponse = {
@@ -3630,67 +3602,64 @@ export type PostProductsOpinionsResponse = {
3630
3602
  };
3631
3603
 
3632
3604
  export type SearchProductsParametersResponse = {
3633
- parametersResult: {
3634
- [id: string]: {
3635
- /** @description Parameter ID */
3636
- id: number;
3637
- /** @description Names of section, parameter or value. */
3638
- names: {
3639
- /** @description Language ID */
3640
- languageId: string;
3641
- /** @description Description */
3642
- value: string;
3643
- }[];
3644
- /** @description Descriptions of section, parameter or value. */
3645
- descriptions: {
3646
- /** @description Language ID */
3647
- languageId: string;
3648
- /** @description Description */
3649
- value: string;
3650
- }[];
3651
- /** @description Search descriptions of parameter value. */
3652
- searchDescription: {
3653
- /** @description Language ID */
3654
- languageId: string;
3655
- /** @description Description */
3656
- value: string;
3657
- /** @description Shop Id */
3658
- shopId: number;
3659
- }[];
3660
- /** @description Icons of section, parameter or value to display on the product card. */
3661
- cardIcons: {
3662
- /** @description Language ID */
3663
- languageId: string;
3664
- /** @description Description */
3665
- value: string;
3666
- /** @description Shop Id */
3667
- shopId: number;
3668
- /** @description Icon type */
3669
- iconType: string;
3670
- }[];
3671
- /** @description Icons of section, parameter or value to display on the list of products. */
3672
- linkIcons: {
3673
- /** @description Language ID */
3674
- languageId: string;
3675
- /** @description Description */
3676
- value: string;
3677
- /** @description Shop Id */
3678
- shopId: string;
3679
- /** @description Icon type */
3680
- iconType: string;
3681
- }[];
3682
- /** @description Parameter's additional feature. */
3683
- contextId: string | null;
3684
- /** @description value of additional feature. */
3685
- contextValueId: string | null;
3686
- /** @description Parameter type */
3687
- type: string;
3688
- /** @description Identifier of the parameter to which the value belongs */
3689
- parameterId: string;
3690
- /** @description List of parameter value identifiers */
3691
- parameterValueIds: number[]
3692
- } | []
3693
- };
3605
+ parametersResult: never[] | Record<string, {
3606
+ /** @description Parameter ID */
3607
+ id: number;
3608
+ /** @description Names of section, parameter or value. */
3609
+ names: {
3610
+ /** @description Language ID */
3611
+ languageId: string;
3612
+ /** @description Description */
3613
+ value: string;
3614
+ }[];
3615
+ /** @description Descriptions of section, parameter or value. */
3616
+ descriptions: {
3617
+ /** @description Language ID */
3618
+ languageId: string;
3619
+ /** @description Description */
3620
+ value: string;
3621
+ }[];
3622
+ /** @description Search descriptions of parameter value. */
3623
+ searchDescription: {
3624
+ /** @description Language ID */
3625
+ languageId: string;
3626
+ /** @description Description */
3627
+ value: string;
3628
+ /** @description Shop Id */
3629
+ shopId: number;
3630
+ }[];
3631
+ /** @description Icons of section, parameter or value to display on the product card. */
3632
+ cardIcons: {
3633
+ /** @description Language ID */
3634
+ languageId: string;
3635
+ /** @description Description */
3636
+ value: string;
3637
+ /** @description Shop Id */
3638
+ shopId: number;
3639
+ /** @description Icon type */
3640
+ iconType: string;
3641
+ }[];
3642
+ /** @description Icons of section, parameter or value to display on the list of products. */
3643
+ linkIcons: {
3644
+ /** @description Language ID */
3645
+ languageId: string;
3646
+ /** @description Description */
3647
+ value: string;
3648
+ /** @description Shop Id */
3649
+ shopId: string;
3650
+ /** @description Icon type */
3651
+ iconType: string;
3652
+ }[];
3653
+ /** @description Parameter's additional feature. */
3654
+ contextId: string | null;
3655
+ /** @description value of additional feature. */
3656
+ contextValueId: string | null;
3657
+ /** @description Parameter type */
3658
+ type: string;
3659
+ /** @description Identifier of the parameter to which the value belongs */
3660
+ parameterId: string;
3661
+ /** @description List of parameter value identifiers */
3662
+ parameterValueIds: number[]}>;
3694
3663
  } & PagedResponse;
3695
3664
 
3696
3665
  export type PutProductsParametersResponse = {
@@ -3707,38 +3676,35 @@ export type PutProductsParametersResponse = {
3707
3676
 
3708
3677
  export type GetProductsQuestionsResponse = {
3709
3678
  /** @description Question Board. */
3710
- results: {
3711
- [id: string]: {
3712
- /** @description Question ID. */
3713
- id: number;
3714
- /** @description Language of the question e.g. 'pol', 'eng'. */
3715
- lang: string;
3716
- /** @description Your question(base64). */
3717
- question: string;
3718
- /** @description Content of the answer(base64). */
3719
- answer: string;
3720
- /** @description The date the question was created. */
3721
- dateAdd: string;
3722
- /** @description The name and address of the host from which the question was added. */
3723
- host: string;
3724
- /** @description Author. */
3725
- author: string;
3726
- /** @description Product IAI code */
3727
- productId: number;
3728
- /** @description Visibility: "y" - yes, "n" - no */
3729
- visible: string;
3730
- /** @description Priority. */
3731
- priority: number;
3732
- /** @description Validate the question: "y" - yes, "n" - no */
3733
- confirmed: string;
3734
- /** @description Shop Id */
3735
- shopId: number;
3736
- /** @description Date of response. */
3737
- answerDate: string;
3738
- /** @description Response author. */
3739
- answerAuthor: string
3740
- } | []
3741
- };
3679
+ results: never[] | Record<string, {
3680
+ /** @description Question ID. */
3681
+ id: number;
3682
+ /** @description Language of the question e.g. 'pol', 'eng'. */
3683
+ lang: string;
3684
+ /** @description Your question(base64). */
3685
+ question: string;
3686
+ /** @description Content of the answer(base64). */
3687
+ answer: string;
3688
+ /** @description The date the question was created. */
3689
+ dateAdd: string;
3690
+ /** @description The name and address of the host from which the question was added. */
3691
+ host: string;
3692
+ /** @description Author. */
3693
+ author: string;
3694
+ /** @description Product IAI code */
3695
+ productId: number;
3696
+ /** @description Visibility: "y" - yes, "n" - no */
3697
+ visible: string;
3698
+ /** @description Priority. */
3699
+ priority: number;
3700
+ /** @description Validate the question: "y" - yes, "n" - no */
3701
+ confirmed: string;
3702
+ /** @description Shop Id */
3703
+ shopId: number;
3704
+ /** @description Date of response. */
3705
+ answerDate: string;
3706
+ /** @description Response author. */
3707
+ answerAuthor: string}>;
3742
3708
  };
3743
3709
 
3744
3710
  export type GetProductsReservationsResponse = {
@@ -4965,7 +4931,7 @@ export type SearchProductsResponse = {
4965
4931
  };
4966
4932
  /** @description Standard unit settings */
4967
4933
  standardUnit?: {
4968
- /** @description Possible special contexts corresponding to standard units. Available values: "CONTEXT_STD_UNIT_WEIGHT" - Product weight in grams, "CONTEXT_STD_UNIT_WEIGHT_SI" - Product weight in kilograms, "CONTEXT_STD_UNIT_VOLUME" - A product's value in milliliters "CONTEXT_STD_UNIT_VOLUME_SI" - A product's value in liters "CONTEXT_STD_UNIT_LENGTH" - Length of product in meters "CONTEXT_STD_UNIT_AREA_M2" - Area of ​​product in square meters "CONTEXT_STD_UNIT_VOLUME_M3" - The volume of products in cubic meters "CONTEXT_STD_UNIT_QUANTITY_PACKAGE" - Number of pieces per pack for standard unit */
4934
+ /** @description Possible special contexts corresponding to standard units. Available values: "CONTEXT_STD_UNIT_WEIGHT" - Product weight in grams, "CONTEXT_STD_UNIT_WEIGHT_SI" - Product weight in kilograms, "CONTEXT_STD_UNIT_VOLUME" - A product's value in milliliters "CONTEXT_STD_UNIT_VOLUME_SI" - A product's value in liters "CONTEXT_STD_UNIT_LENGTH" - Length of product in meters "CONTEXT_STD_UNIT_AREA_M2" - Area of product in square meters "CONTEXT_STD_UNIT_VOLUME_M3" - The volume of products in cubic meters "CONTEXT_STD_UNIT_QUANTITY_PACKAGE" - Number of pieces per pack for standard unit */
4969
4935
  contextValue: string;
4970
4936
  /** @description Total length/volume/area/weight of product */
4971
4937
  standardUnitValue: number;
@@ -5036,18 +5002,15 @@ export type PostProductsResponse = {
5036
5002
  /** @description Error description. */
5037
5003
  faultString: string;
5038
5004
  };
5039
- existingCodes?: {
5040
- [code: string]: {
5041
- /** @description Product IAI code */
5042
- productId: number;
5043
- /** @description Size identifier */
5044
- sizeId: string;
5045
- /** @description External product system code for size. */
5046
- productSizeCodeExternal: string;
5047
- /** @description Producer code */
5048
- productProducerCode: string
5049
- } | []
5050
- };
5005
+ existingCodes?: Record<string,never[] | {
5006
+ /** @description Product IAI code */
5007
+ productId: number;
5008
+ /** @description Size identifier */
5009
+ sizeId: string;
5010
+ /** @description External product system code for size. */
5011
+ productSizeCodeExternal: string;
5012
+ /** @description Producer code */
5013
+ productProducerCode: string}>;
5051
5014
  }[];
5052
5015
  }[];
5053
5016
  };
@@ -5202,40 +5165,37 @@ export type PutProductsSeriesResponse = {
5202
5165
 
5203
5166
  export type GetProductsSizesResponse = {
5204
5167
  /** @description Object contains detailed information on result of operation. */
5205
- results: {
5206
- [productId: string]: {
5207
- /** @description Product IAI code */
5208
- productId: number;
5209
- /** @description List of sizes */
5210
- sizesResult: {
5211
- /** @description Size identifier */
5212
- sizeId: string;
5213
- /** @description Size name */
5214
- sizePanelName: string;
5215
- /** @description Producer code */
5216
- productProducerCode: string;
5217
- /** @description External product system code for size. */
5218
- productSizeCodeExternal: string;
5219
- /** @description Weight. */
5220
- productWeight: number;
5221
- /** @description Page list */
5222
- sites?: {
5223
- /** @description Page ID */
5224
- siteId: number;
5225
- /** @description Store name */
5226
- siteName: string;
5227
- /** @description Gross price */
5228
- productRetailPrice: number;
5229
- /** @description Wholesale price */
5230
- productWholesalePrice: number;
5231
- /** @description Minimal price */
5232
- productMinimalPrice: number;
5233
- /** @description Recommended retail price */
5234
- productSuggestedPrice: number;
5235
- }[];
5236
- }[]
5237
- } | []
5238
- };
5168
+ results: never[] | Record<string, {
5169
+ /** @description Product IAI code */
5170
+ productId: number;
5171
+ /** @description List of sizes */
5172
+ sizesResult: {
5173
+ /** @description Size identifier */
5174
+ sizeId: string;
5175
+ /** @description Size name */
5176
+ sizePanelName: string;
5177
+ /** @description Producer code */
5178
+ productProducerCode: string;
5179
+ /** @description External product system code for size. */
5180
+ productSizeCodeExternal: string;
5181
+ /** @description Weight. */
5182
+ productWeight: number;
5183
+ /** @description Page list */
5184
+ sites?: {
5185
+ /** @description Page ID */
5186
+ siteId: number;
5187
+ /** @description Store name */
5188
+ siteName: string;
5189
+ /** @description Gross price */
5190
+ productRetailPrice: number;
5191
+ /** @description Wholesale price */
5192
+ productWholesalePrice: number;
5193
+ /** @description Minimal price */
5194
+ productMinimalPrice: number;
5195
+ /** @description Recommended retail price */
5196
+ productSuggestedPrice: number;
5197
+ }[];
5198
+ }[]}>;
5239
5199
  /** @description Parameters concerning returned results */
5240
5200
  result: {
5241
5201
  /** @description Page with results number. Numeration starts from 0 */
@@ -5680,49 +5640,40 @@ export type PutProductsStocksResponse = {
5680
5640
 
5681
5641
  export type GetProductsStrikethroughPricesResponse = {
5682
5642
  /** @description Products list. */
5683
- products: {
5684
- [productId: string]: {
5685
- /** @description Identifier type. */
5686
- ident: {
5687
- /** */
5688
- type: "id" | "index" | "codeExtern" | "codeProducer";
5689
- /** @description Value. */
5690
- value: number;
5691
- };
5643
+ products: never[] | Record<string, {
5644
+ /** @description Identifier type. */
5645
+ ident: {
5646
+ /** */
5647
+ type: "id" | "index" | "codeExtern" | "codeProducer";
5648
+ /** @description Value. */
5649
+ value: number;
5650
+ };
5651
+ /** @description Strikethrough gross retail price. */
5652
+ strikethrough_retail_price: number;
5653
+ /** @description Strikethrough gross wholesale price. */
5654
+ strikethrough_wholesale_price: number;
5655
+ shops: never[] | Record<string, {
5656
+ /** @description Shop Id */
5657
+ shop_id: number;
5692
5658
  /** @description Strikethrough gross retail price. */
5693
5659
  strikethrough_retail_price: number;
5694
5660
  /** @description Strikethrough gross wholesale price. */
5695
5661
  strikethrough_wholesale_price: number;
5696
- shops: {
5697
- [shop: string]: {
5698
- /** @description Shop Id */
5699
- shop_id: number;
5700
- /** @description Strikethrough gross retail price. */
5701
- strikethrough_retail_price: number;
5702
- /** @description Strikethrough gross wholesale price. */
5703
- strikethrough_wholesale_price: number;
5704
- /** @description List of sizes */
5705
- sizes: {
5706
- [size: string]: {
5707
- /** @description Identifier type. */
5708
- ident: {
5709
- /** */
5710
- type: "id" | "index" | "codeExtern" | "codeProducer";
5711
- /** @description Value. */
5712
- value: string;
5713
- };
5714
- /** @description Strikethrough gross retail price. */
5715
- strikethrough_retail_price: number;
5716
- /** @description Strikethrough gross wholesale price. */
5717
- strikethrough_wholesale_price: number
5718
- } | []
5719
- }
5720
- } | []
5721
- };
5722
- /** @description Error information. */
5723
- error?: FaultCodeString
5724
- } | []
5725
- };
5662
+ /** @description List of sizes */
5663
+ sizes: never[] | Record<string, {
5664
+ /** @description Identifier type. */
5665
+ ident: {
5666
+ /** */
5667
+ type: "id" | "index" | "codeExtern" | "codeProducer";
5668
+ /** @description Value. */
5669
+ value: string;
5670
+ };
5671
+ /** @description Strikethrough gross retail price. */
5672
+ strikethrough_retail_price: number;
5673
+ /** @description Strikethrough gross wholesale price. */
5674
+ strikethrough_wholesale_price: number}>}>;
5675
+ /** @description Error information. */
5676
+ error?: FaultCodeString}>;
5726
5677
  };
5727
5678
 
5728
5679
  export type PutProductsSupplierCodeResponse = {
@@ -5843,6 +5794,8 @@ export type GetReturnsResponse = {
5843
5794
  parentStatusNameInUserLanguage: string;
5844
5795
  /** @description Stock to accept returned products. */
5845
5796
  stock_id: number;
5797
+ /** @description Shop Id to accept returned products. */
5798
+ shop_id: number;
5846
5799
  /** @description Products list. */
5847
5800
  products: {
5848
5801
  /** @description Merchandise identifier. */
@@ -6165,31 +6118,22 @@ export type GetSizechartsResponse = {
6165
6118
  languagesData: {
6166
6119
  /** @description Customer language ID. */
6167
6120
  language: string;
6168
- columns: {
6169
- [column: string]: {
6121
+ columns: never[] | Record<string, {
6122
+ /** @description Column number */
6123
+ columnNumber: number;
6124
+ /** @description Column name */
6125
+ columnTitle: string}>;
6126
+ /** @description List of sizes */
6127
+ sizes?: never[] | Record<string, {
6128
+ /** @description Size identifier */
6129
+ sizeId: string;
6130
+ /** @description Priority */
6131
+ priority: number;
6132
+ descriptions: never[] | Record<string, {
6170
6133
  /** @description Column number */
6171
6134
  columnNumber: number;
6172
- /** @description Column name */
6173
- columnTitle: string;
6174
- }
6175
- } | [];
6176
- /** @description List of sizes */
6177
- sizes?: {
6178
- [size: string]: {
6179
- /** @description Size identifier */
6180
- sizeId: string;
6181
- /** @description Priority */
6182
- priority: number;
6183
- descriptions: {
6184
- [column: string]: {
6185
- /** @description Column number */
6186
- columnNumber: number;
6187
- /** @description Value */
6188
- value: string;
6189
- }
6190
- } | [];
6191
- }
6192
- } | [];
6135
+ /** @description Value */
6136
+ value: string}>}>;
6193
6137
  }[];
6194
6138
  };
6195
6139
  } | [];
@@ -6752,18 +6696,15 @@ export type GetSystemConfigResponse = {
6752
6696
  /** @description Small photo height in pixels. */
6753
6697
  picture_small_height: number;
6754
6698
  };
6755
- price_comparers: {
6756
- [id: string]: {
6757
- /** @description Id */
6758
- id?: number;
6759
- /** @example key */
6760
- key?: string;
6761
- /** @description Name */
6762
- name?: string;
6763
- /** @description Information about whether price comparison service is active. */
6764
- active?: string;
6765
- }
6766
- } | [];
6699
+ price_comparers: never[] | Record<string, {
6700
+ /** @description Id */
6701
+ id?: number;
6702
+ /** @example key */
6703
+ key?: string;
6704
+ /** @description Name */
6705
+ name?: string;
6706
+ /** @description Information about whether price comparison service is active. */
6707
+ active?: string}>;
6767
6708
  /** @description Content of the column "Product or service name" on sales documents. */
6768
6709
  inv_prod_name_templace: string;
6769
6710
  /** @description List of document printers. */
@@ -6944,30 +6885,24 @@ export type GetSystemShopsDataResponse = Omit<GetSystemConfigResponse, 'panel_se
6944
6885
 
6945
6886
  export type GetSystemUnitsResponse = {
6946
6887
  result: {
6947
- units: {
6948
- [id: string]: {
6949
- /** @description #!IdentyfikatorJednostki!# */
6950
- id?: number;
6951
- /** @description Name in panel (limit of 30 characters) */
6952
- nameInPanel?: string;
6953
- /** @description Accuracy (number of places after comma) */
6954
- precisionUnit?: number;
6955
- /** @description Visibility */
6956
- visible: "y" | "n";
6957
- descriptions: {
6958
- [language: string]: {
6959
- /** @description ISO-639-3 Language */
6960
- language: string;
6961
- /** @description Name (singular) (limit of 30 characters) */
6962
- nameSingular: string;
6963
- /** @description Name (plural) (limit of 30 characters) */
6964
- namePlural: string;
6965
- /** @description Name (by fractions) (limit of 30 characters) */
6966
- nameFractions: string
6967
- } | []
6968
- }
6969
- } | []
6970
- };
6888
+ units: never[] | Record<string, {
6889
+ /** @description #!IdentyfikatorJednostki!# */
6890
+ id?: number;
6891
+ /** @description Name in panel (limit of 30 characters) */
6892
+ nameInPanel?: string;
6893
+ /** @description Accuracy (number of places after comma) */
6894
+ precisionUnit?: number;
6895
+ /** @description Visibility */
6896
+ visible: "y" | "n";
6897
+ descriptions: Record<string,never[] | {
6898
+ /** @description ISO-639-3 Language */
6899
+ language: string;
6900
+ /** @description Name (singular) (limit of 30 characters) */
6901
+ nameSingular: string;
6902
+ /** @description Name (plural) (limit of 30 characters) */
6903
+ namePlural: string;
6904
+ /** @description Name (by fractions) (limit of 30 characters) */
6905
+ nameFractions: string}>}>;
6971
6906
  };
6972
6907
  };
6973
6908
 
@@ -8688,7 +8623,7 @@ export type GetProductsResponse = {
8688
8623
  };
8689
8624
  /** @description Standard unit settings */
8690
8625
  standardUnit?: {
8691
- /** @description Possible special contexts corresponding to standard units. Available values: "CONTEXT_STD_UNIT_WEIGHT" - Product weight in grams, "CONTEXT_STD_UNIT_WEIGHT_SI" - Product weight in kilograms, "CONTEXT_STD_UNIT_VOLUME" - A product's value in milliliters "CONTEXT_STD_UNIT_VOLUME_SI" - A product's value in liters "CONTEXT_STD_UNIT_LENGTH" - Length of product in meters "CONTEXT_STD_UNIT_AREA_M2" - Area of ​​product in square meters "CONTEXT_STD_UNIT_VOLUME_M3" - The volume of products in cubic meters "CONTEXT_STD_UNIT_QUANTITY_PACKAGE" - Number of pieces per pack for standard unit */
8626
+ /** @description Possible special contexts corresponding to standard units. Available values: "CONTEXT_STD_UNIT_WEIGHT" - Product weight in grams, "CONTEXT_STD_UNIT_WEIGHT_SI" - Product weight in kilograms, "CONTEXT_STD_UNIT_VOLUME" - A product's value in milliliters "CONTEXT_STD_UNIT_VOLUME_SI" - A product's value in liters "CONTEXT_STD_UNIT_LENGTH" - Length of product in meters "CONTEXT_STD_UNIT_AREA_M2" - Area of product in square meters "CONTEXT_STD_UNIT_VOLUME_M3" - The volume of products in cubic meters "CONTEXT_STD_UNIT_QUANTITY_PACKAGE" - Number of pieces per pack for standard unit */
8692
8627
  contextValue: string;
8693
8628
  /** @description Total length/volume/area/weight of product */
8694
8629
  standardUnitValue: number;