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.
- package/changelog.md +1 -1
- package/dist/enums.d.ts +24 -0
- package/dist/enums.js +28 -1
- package/dist/gateways.d.ts +5 -4
- package/dist/helpers.js +1 -1
- package/dist/reqparams.d.ts +9 -5
- package/dist/responses.d.ts +328 -393
- package/dist/utils.d.ts +18 -20
- package/dist/utils.js +167 -78
- package/package.json +1 -1
package/dist/responses.d.ts
CHANGED
|
@@ -114,14 +114,11 @@ export type GetClientsBalanceResponse = {
|
|
|
114
114
|
clientsBalance: {
|
|
115
115
|
/** @description Customer ID */
|
|
116
116
|
clientId: number;
|
|
117
|
-
clientBalance: {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
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
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
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
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
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
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
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
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
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
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
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
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
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
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
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
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
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
|
|
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
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
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
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
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
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
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
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
/**
|
|
5701
|
-
|
|
5702
|
-
/** @description
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
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
|
-
|
|
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
|
|
6173
|
-
|
|
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
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
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
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
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
|
|
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;
|