@shopware/api-client 0.0.3 → 0.2.0

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/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { FetchResponse } from 'ofetch';
2
+
1
3
  /**
2
4
  * This file was auto-generated by openapi-typescript.
3
5
  * Do not make direct changes to the file.
@@ -790,7 +792,7 @@ type components = {
790
792
  relationships?: {
791
793
  children?: {
792
794
  data?: {
793
- /** @example 0188f8334a2a7224bc6f4f9d2589f76e */
795
+ /** @example 01891d17723871c193287103e78192e5 */
794
796
  id?: string;
795
797
  /** @example category */
796
798
  type?: string;
@@ -798,14 +800,14 @@ type components = {
798
800
  links?: {
799
801
  /**
800
802
  * Format: uri-reference
801
- * @example /category/0188f8334a2a7224bc6f4f9d23ddd8ec/children
803
+ * @example /category/01891d17723772d8b79089b8bd974738/children
802
804
  */
803
805
  related?: string;
804
806
  };
805
807
  };
806
808
  cmsPage?: {
807
809
  data?: {
808
- /** @example 0188f8334a2a7224bc6f4f9d26fe9251 */
810
+ /** @example 01891d1772397199b07d98da80f518f0 */
809
811
  id?: string;
810
812
  /** @example cms_page */
811
813
  type?: string;
@@ -813,14 +815,14 @@ type components = {
813
815
  links?: {
814
816
  /**
815
817
  * Format: uri-reference
816
- * @example /category/0188f8334a2a7224bc6f4f9d23ddd8ec/cmsPage
818
+ * @example /category/01891d17723772d8b79089b8bd974738/cmsPage
817
819
  */
818
820
  related?: string;
819
821
  };
820
822
  };
821
823
  media?: {
822
824
  data?: {
823
- /** @example 0188f8334a2a7224bc6f4f9d261b0ef8 */
825
+ /** @example 01891d17723871c193287103e7e69e0e */
824
826
  id?: string;
825
827
  /** @example media */
826
828
  type?: string;
@@ -828,14 +830,14 @@ type components = {
828
830
  links?: {
829
831
  /**
830
832
  * Format: uri-reference
831
- * @example /category/0188f8334a2a7224bc6f4f9d23ddd8ec/media
833
+ * @example /category/01891d17723772d8b79089b8bd974738/media
832
834
  */
833
835
  related?: string;
834
836
  };
835
837
  };
836
838
  parent?: {
837
839
  data?: {
838
- /** @example 0188f8334a2a7224bc6f4f9d24c6c257 */
840
+ /** @example 01891d17723871c193287103e697aa72 */
839
841
  id?: string;
840
842
  /** @example category */
841
843
  type?: string;
@@ -843,14 +845,14 @@ type components = {
843
845
  links?: {
844
846
  /**
845
847
  * Format: uri-reference
846
- * @example /category/0188f8334a2a7224bc6f4f9d23ddd8ec/parent
848
+ * @example /category/01891d17723772d8b79089b8bd974738/parent
847
849
  */
848
850
  related?: string;
849
851
  };
850
852
  };
851
853
  seoUrls?: {
852
854
  data?: {
853
- /** @example 0188f8334a2a7224bc6f4f9d2755e03b */
855
+ /** @example 01891d1772397199b07d98da81e1dc33 */
854
856
  id?: string;
855
857
  /** @example seo_url */
856
858
  type?: string;
@@ -858,7 +860,7 @@ type components = {
858
860
  links?: {
859
861
  /**
860
862
  * Format: uri-reference
861
- * @example /category/0188f8334a2a7224bc6f4f9d23ddd8ec/seoUrls
863
+ * @example /category/01891d17723772d8b79089b8bd974738/seoUrls
862
864
  */
863
865
  related?: string;
864
866
  };
@@ -911,7 +913,7 @@ type components = {
911
913
  extensions?: {
912
914
  swagCmsExtensionsBlockRule?: {
913
915
  data?: {
914
- /** @example 0188f8334a2b7161b75c68356973a98a */
916
+ /** @example 01891d17723a701c883ad0a6c9cb92e6 */
915
917
  id?: string;
916
918
  /** @example swag_cms_extensions_block_rule */
917
919
  type?: string;
@@ -919,14 +921,14 @@ type components = {
919
921
  links?: {
920
922
  /**
921
923
  * Format: uri-reference
922
- * @example /cms-block/0188f8334a2a7224bc6f4f9d284557ed/swagCmsExtensionsBlockRule
924
+ * @example /cms-block/01891d1772397199b07d98da8339007d/swagCmsExtensionsBlockRule
923
925
  */
924
926
  related?: string;
925
927
  };
926
928
  };
927
929
  swagCmsExtensionsQuickview?: {
928
930
  data?: {
929
- /** @example 0188f8334a2b7161b75c6835696f14f7 */
931
+ /** @example 01891d17723a701c883ad0a6c9cb2657 */
930
932
  id?: string;
931
933
  /** @example swag_cms_extensions_quickview */
932
934
  type?: string;
@@ -934,7 +936,7 @@ type components = {
934
936
  links?: {
935
937
  /**
936
938
  * Format: uri-reference
937
- * @example /cms-block/0188f8334a2a7224bc6f4f9d284557ed/swagCmsExtensionsQuickview
939
+ * @example /cms-block/01891d1772397199b07d98da8339007d/swagCmsExtensionsQuickview
938
940
  */
939
941
  related?: string;
940
942
  };
@@ -974,7 +976,7 @@ type components = {
974
976
  extensions?: {
975
977
  swagCmsExtensionsScrollNavigationPageSettings?: {
976
978
  data?: {
977
- /** @example 0188f8334a2b7161b75c68356c80b6b2 */
979
+ /** @example 01891d1772527243a12492ff8ed2da08 */
978
980
  id?: string;
979
981
  /** @example swag_cms_extensions_scroll_navigation_page_settings */
980
982
  type?: string;
@@ -982,7 +984,7 @@ type components = {
982
984
  links?: {
983
985
  /**
984
986
  * Format: uri-reference
985
- * @example /cms-page/0188f8334a2b7161b75c683569f9dfb7/swagCmsExtensionsScrollNavigationPageSettings
987
+ * @example /cms-page/01891d1772517287bd2f43e3176b2a87/swagCmsExtensionsScrollNavigationPageSettings
986
988
  */
987
989
  related?: string;
988
990
  };
@@ -1038,7 +1040,7 @@ type components = {
1038
1040
  extensions?: {
1039
1041
  swagCmsExtensionsScrollNavigation?: {
1040
1042
  data?: {
1041
- /** @example 0188f8334a2c70408696d00e502c9862 */
1043
+ /** @example 01891d17725770c9b0e2b2fee2a83306 */
1042
1044
  id?: string;
1043
1045
  /** @example swag_cms_extensions_scroll_navigation */
1044
1046
  type?: string;
@@ -1046,7 +1048,7 @@ type components = {
1046
1048
  links?: {
1047
1049
  /**
1048
1050
  * Format: uri-reference
1049
- * @example /cms-section/0188f8334a2c70408696d00e4e76e691/swagCmsExtensionsScrollNavigation
1051
+ * @example /cms-section/01891d17725670f18df1b3991b33a58c/swagCmsExtensionsScrollNavigation
1050
1052
  */
1051
1053
  related?: string;
1052
1054
  };
@@ -1183,7 +1185,7 @@ type components = {
1183
1185
  relationships?: {
1184
1186
  states?: {
1185
1187
  data?: {
1186
- /** @example 0188f8334a2d7287b5c9797ef464fd7a */
1188
+ /** @example 01891d1772587195b28f6884e1e96773 */
1187
1189
  id?: string;
1188
1190
  /** @example country_state */
1189
1191
  type?: string;
@@ -1191,7 +1193,7 @@ type components = {
1191
1193
  links?: {
1192
1194
  /**
1193
1195
  * Format: uri-reference
1194
- * @example /country/0188f8334a2c70408696d00e522c26db/states
1196
+ * @example /country/01891d17725770c9b0e2b2fee4027136/states
1195
1197
  */
1196
1198
  related?: string;
1197
1199
  };
@@ -1843,7 +1845,7 @@ type components = {
1843
1845
  relationships?: {
1844
1846
  cmsPage?: {
1845
1847
  data?: {
1846
- /** @example 0188f8334a3371508da83536076f5d02 */
1848
+ /** @example 01891d1772e072deb5367c73a8c30e23 */
1847
1849
  id?: string;
1848
1850
  /** @example cms_page */
1849
1851
  type?: string;
@@ -1851,14 +1853,14 @@ type components = {
1851
1853
  links?: {
1852
1854
  /**
1853
1855
  * Format: uri-reference
1854
- * @example /landing-page/0188f8334a3371508da835360727da28/cmsPage
1856
+ * @example /landing-page/01891d1772df70408693096e490236f1/cmsPage
1855
1857
  */
1856
1858
  related?: string;
1857
1859
  };
1858
1860
  };
1859
1861
  seoUrls?: {
1860
1862
  data?: {
1861
- /** @example 0188f8334a3371508da8353607fb977f */
1863
+ /** @example 01891d1772e072deb5367c73a9b6a197 */
1862
1864
  id?: string;
1863
1865
  /** @example seo_url */
1864
1866
  type?: string;
@@ -1866,7 +1868,7 @@ type components = {
1866
1868
  links?: {
1867
1869
  /**
1868
1870
  * Format: uri-reference
1869
- * @example /landing-page/0188f8334a3371508da835360727da28/seoUrls
1871
+ * @example /landing-page/01891d1772df70408693096e490236f1/seoUrls
1870
1872
  */
1871
1873
  related?: string;
1872
1874
  };
@@ -1917,7 +1919,7 @@ type components = {
1917
1919
  relationships?: {
1918
1920
  children?: {
1919
1921
  data?: {
1920
- /** @example 0188f8334a3471fb97fef3b5dd5bdeef */
1922
+ /** @example 01891d1772fb71d8808ab55f7404e51f */
1921
1923
  id?: string;
1922
1924
  /** @example language */
1923
1925
  type?: string;
@@ -1925,14 +1927,14 @@ type components = {
1925
1927
  links?: {
1926
1928
  /**
1927
1929
  * Format: uri-reference
1928
- * @example /language/0188f8334a3471fb97fef3b5dbb3b49f/children
1930
+ * @example /language/01891d1772fa71f2a9832448a8be8398/children
1929
1931
  */
1930
1932
  related?: string;
1931
1933
  };
1932
1934
  };
1933
1935
  locale?: {
1934
1936
  data?: {
1935
- /** @example 0188f8334a3471fb97fef3b5dc1432ad */
1937
+ /** @example 01891d1772fb71d8808ab55f72a6985a */
1936
1938
  id?: string;
1937
1939
  /** @example locale */
1938
1940
  type?: string;
@@ -1940,14 +1942,14 @@ type components = {
1940
1942
  links?: {
1941
1943
  /**
1942
1944
  * Format: uri-reference
1943
- * @example /language/0188f8334a3471fb97fef3b5dbb3b49f/locale
1945
+ * @example /language/01891d1772fa71f2a9832448a8be8398/locale
1944
1946
  */
1945
1947
  related?: string;
1946
1948
  };
1947
1949
  };
1948
1950
  parent?: {
1949
1951
  data?: {
1950
- /** @example 0188f8334a3471fb97fef3b5dbbdb24d */
1952
+ /** @example 01891d1772fb71d8808ab55f71a6ca57 */
1951
1953
  id?: string;
1952
1954
  /** @example language */
1953
1955
  type?: string;
@@ -1955,14 +1957,14 @@ type components = {
1955
1957
  links?: {
1956
1958
  /**
1957
1959
  * Format: uri-reference
1958
- * @example /language/0188f8334a3471fb97fef3b5dbb3b49f/parent
1960
+ * @example /language/01891d1772fa71f2a9832448a8be8398/parent
1959
1961
  */
1960
1962
  related?: string;
1961
1963
  };
1962
1964
  };
1963
1965
  translationCode?: {
1964
1966
  data?: {
1965
- /** @example 0188f8334a3471fb97fef3b5dce52fac */
1967
+ /** @example 01891d1772fb71d8808ab55f732a9e0e */
1966
1968
  id?: string;
1967
1969
  /** @example locale */
1968
1970
  type?: string;
@@ -1970,7 +1972,7 @@ type components = {
1970
1972
  links?: {
1971
1973
  /**
1972
1974
  * Format: uri-reference
1973
- * @example /language/0188f8334a3471fb97fef3b5dbb3b49f/translationCode
1975
+ * @example /language/01891d1772fa71f2a9832448a8be8398/translationCode
1974
1976
  */
1975
1977
  related?: string;
1976
1978
  };
@@ -2004,7 +2006,7 @@ type components = {
2004
2006
  */
2005
2007
  href: string;
2006
2008
  meta?: components["schemas"]["meta"];
2007
- }
2009
+ },
2008
2010
  ]
2009
2011
  >;
2010
2012
  /** The "type" and "id" to non-empty members. */
@@ -2142,7 +2144,7 @@ type components = {
2142
2144
  extensions?: {
2143
2145
  mediaAiTag?: {
2144
2146
  data?: {
2145
- /** @example 0188f8334a3670679577cca714656bdf */
2147
+ /** @example 01891d17730d73c6957423cdfc0613ed */
2146
2148
  id?: string;
2147
2149
  /** @example media_ai_tag */
2148
2150
  type?: string;
@@ -2150,7 +2152,7 @@ type components = {
2150
2152
  links?: {
2151
2153
  /**
2152
2154
  * Format: uri-reference
2153
- * @example /media/0188f8334a3670679577cca713097429/mediaAiTag
2155
+ * @example /media/01891d1772fd71aab5c05d03c3b75249/mediaAiTag
2154
2156
  */
2155
2157
  related?: string;
2156
2158
  };
@@ -2344,7 +2346,7 @@ type components = {
2344
2346
  extensions?: {
2345
2347
  returns?: {
2346
2348
  data?: {
2347
- /** @example 0188f8334a3971cabdd5f601ba4bcdc4 */
2349
+ /** @example 01891d17733c71cb925686c01d685622 */
2348
2350
  id?: string;
2349
2351
  /** @example order_return */
2350
2352
  type?: string;
@@ -2352,7 +2354,7 @@ type components = {
2352
2354
  links?: {
2353
2355
  /**
2354
2356
  * Format: uri-reference
2355
- * @example /order/0188f8334a387386ab9b000ef2e2f216/returns
2357
+ * @example /order/01891d17733a7167bc5dbfb13276b372/returns
2356
2358
  */
2357
2359
  related?: string;
2358
2360
  };
@@ -2567,7 +2569,7 @@ type components = {
2567
2569
  extensions?: {
2568
2570
  returns?: {
2569
2571
  data?: {
2570
- /** @example 0188f8334a3b72a794436c60aa753810 */
2572
+ /** @example 01891d177340736d8beadac619ce01c7 */
2571
2573
  id?: string;
2572
2574
  /** @example order_return_line_item */
2573
2575
  type?: string;
@@ -2575,14 +2577,14 @@ type components = {
2575
2577
  links?: {
2576
2578
  /**
2577
2579
  * Format: uri-reference
2578
- * @example /order-line-item/0188f8334a3b72a794436c60a7f605e7/returns
2580
+ * @example /order-line-item/01891d17733f70d0812f436593f45d22/returns
2579
2581
  */
2580
2582
  related?: string;
2581
2583
  };
2582
2584
  };
2583
2585
  state?: {
2584
2586
  data?: {
2585
- /** @example 0188f8334a3b72a794436c60aad25086 */
2587
+ /** @example 01891d177340736d8beadac61a0a0d6f */
2586
2588
  id?: string;
2587
2589
  /** @example state_machine_state */
2588
2590
  type?: string;
@@ -2590,7 +2592,7 @@ type components = {
2590
2592
  links?: {
2591
2593
  /**
2592
2594
  * Format: uri-reference
2593
- * @example /order-line-item/0188f8334a3b72a794436c60a7f605e7/state
2595
+ * @example /order-line-item/01891d17733f70d0812f436593f45d22/state
2594
2596
  */
2595
2597
  related?: string;
2596
2598
  };
@@ -3011,7 +3013,7 @@ type components = {
3011
3013
  relationships?: {
3012
3014
  media?: {
3013
3015
  data?: {
3014
- /** @example 0188f8334a3e72eaac34aa0e8fdba60c */
3016
+ /** @example 01891d177345722a942606c5bbc28be4 */
3015
3017
  id?: string;
3016
3018
  /** @example media */
3017
3019
  type?: string;
@@ -3019,7 +3021,7 @@ type components = {
3019
3021
  links?: {
3020
3022
  /**
3021
3023
  * Format: uri-reference
3022
- * @example /payment-method/0188f8334a3e72eaac34aa0e8f0d11e9/media
3024
+ * @example /payment-method/01891d177345722a942606c5bb31e448/media
3023
3025
  */
3024
3026
  related?: string;
3025
3027
  };
@@ -3090,7 +3092,7 @@ type components = {
3090
3092
  extensions?: {
3091
3093
  reviewSummaries?: {
3092
3094
  data?: {
3093
- /** @example 0188f8334a407238b554caed891d5bf9 */
3095
+ /** @example 01891d177348723c940a129744d44b12 */
3094
3096
  id?: string;
3095
3097
  /** @example product_review_summary */
3096
3098
  type?: string;
@@ -3098,14 +3100,14 @@ type components = {
3098
3100
  links?: {
3099
3101
  /**
3100
3102
  * Format: uri-reference
3101
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/reviewSummaries
3103
+ * @example /product/01891d177346736b96d979ba21142096/reviewSummaries
3102
3104
  */
3103
3105
  related?: string;
3104
3106
  };
3105
3107
  };
3106
3108
  swagCustomizedProductsTemplate?: {
3107
3109
  data?: {
3108
- /** @example 0188f8334a407238b554caed8958c5e7 */
3110
+ /** @example 01891d177348723c940a129745c5912d */
3109
3111
  id?: string;
3110
3112
  /** @example swag_customized_products_template */
3111
3113
  type?: string;
@@ -3113,7 +3115,7 @@ type components = {
3113
3115
  links?: {
3114
3116
  /**
3115
3117
  * Format: uri-reference
3116
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/swagCustomizedProductsTemplate
3118
+ * @example /product/01891d177346736b96d979ba21142096/swagCustomizedProductsTemplate
3117
3119
  */
3118
3120
  related?: string;
3119
3121
  };
@@ -3337,7 +3339,7 @@ type components = {
3337
3339
  extensions?: {
3338
3340
  reviewSummaries?: {
3339
3341
  data?: {
3340
- /** @example 0188f8334a407238b554caed891d5bf9 */
3342
+ /** @example 01891d177348723c940a129744d44b12 */
3341
3343
  id?: string;
3342
3344
  /** @example product_review_summary */
3343
3345
  type?: string;
@@ -3345,14 +3347,14 @@ type components = {
3345
3347
  links?: {
3346
3348
  /**
3347
3349
  * Format: uri-reference
3348
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/reviewSummaries
3350
+ * @example /product/01891d177346736b96d979ba21142096/reviewSummaries
3349
3351
  */
3350
3352
  related?: string;
3351
3353
  };
3352
3354
  };
3353
3355
  swagCustomizedProductsTemplate?: {
3354
3356
  data?: {
3355
- /** @example 0188f8334a407238b554caed8958c5e7 */
3357
+ /** @example 01891d177348723c940a129745c5912d */
3356
3358
  id?: string;
3357
3359
  /** @example swag_customized_products_template */
3358
3360
  type?: string;
@@ -3360,7 +3362,7 @@ type components = {
3360
3362
  links?: {
3361
3363
  /**
3362
3364
  * Format: uri-reference
3363
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/swagCustomizedProductsTemplate
3365
+ * @example /product/01891d177346736b96d979ba21142096/swagCustomizedProductsTemplate
3364
3366
  */
3365
3367
  related?: string;
3366
3368
  };
@@ -3405,7 +3407,7 @@ type components = {
3405
3407
  relationships?: {
3406
3408
  canonicalProduct?: {
3407
3409
  data?: {
3408
- /** @example 0188f8334a407238b554caed828d5d76 */
3410
+ /** @example 01891d177348723c940a12973d931583 */
3409
3411
  id?: string;
3410
3412
  /** @example product */
3411
3413
  type?: string;
@@ -3413,14 +3415,14 @@ type components = {
3413
3415
  links?: {
3414
3416
  /**
3415
3417
  * Format: uri-reference
3416
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/canonicalProduct
3418
+ * @example /product/01891d177346736b96d979ba21142096/canonicalProduct
3417
3419
  */
3418
3420
  related?: string;
3419
3421
  };
3420
3422
  };
3421
3423
  categories?: {
3422
3424
  data?: {
3423
- /** @example 0188f8334a407238b554caed86f22aeb */
3425
+ /** @example 01891d177348723c940a129742f13583 */
3424
3426
  id?: string;
3425
3427
  /** @example category */
3426
3428
  type?: string;
@@ -3428,14 +3430,14 @@ type components = {
3428
3430
  links?: {
3429
3431
  /**
3430
3432
  * Format: uri-reference
3431
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/categories
3433
+ * @example /product/01891d177346736b96d979ba21142096/categories
3432
3434
  */
3433
3435
  related?: string;
3434
3436
  };
3435
3437
  };
3436
3438
  categoriesRo?: {
3437
3439
  data?: {
3438
- /** @example 0188f8334a407238b554caed87f3c986 */
3440
+ /** @example 01891d177348723c940a129743e2435e */
3439
3441
  id?: string;
3440
3442
  /** @example category */
3441
3443
  type?: string;
@@ -3443,14 +3445,14 @@ type components = {
3443
3445
  links?: {
3444
3446
  /**
3445
3447
  * Format: uri-reference
3446
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/categoriesRo
3448
+ * @example /product/01891d177346736b96d979ba21142096/categoriesRo
3447
3449
  */
3448
3450
  related?: string;
3449
3451
  };
3450
3452
  };
3451
3453
  children?: {
3452
3454
  data?: {
3453
- /** @example 0188f8334a3f7253b847b4936f987d95 */
3455
+ /** @example 01891d177348723c940a12973a363772 */
3454
3456
  id?: string;
3455
3457
  /** @example product */
3456
3458
  type?: string;
@@ -3458,14 +3460,14 @@ type components = {
3458
3460
  links?: {
3459
3461
  /**
3460
3462
  * Format: uri-reference
3461
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/children
3463
+ * @example /product/01891d177346736b96d979ba21142096/children
3462
3464
  */
3463
3465
  related?: string;
3464
3466
  };
3465
3467
  };
3466
3468
  cmsPage?: {
3467
3469
  data?: {
3468
- /** @example 0188f8334a3f7253b847b49373864110 */
3470
+ /** @example 01891d177348723c940a12973d0327d9 */
3469
3471
  id?: string;
3470
3472
  /** @example cms_page */
3471
3473
  type?: string;
@@ -3473,14 +3475,14 @@ type components = {
3473
3475
  links?: {
3474
3476
  /**
3475
3477
  * Format: uri-reference
3476
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/cmsPage
3478
+ * @example /product/01891d177346736b96d979ba21142096/cmsPage
3477
3479
  */
3478
3480
  related?: string;
3479
3481
  };
3480
3482
  };
3481
3483
  configuratorSettings?: {
3482
3484
  data?: {
3483
- /** @example 0188f8334a407238b554caed84e10090 */
3485
+ /** @example 01891d177348723c940a12973f0226e4 */
3484
3486
  id?: string;
3485
3487
  /** @example product_configurator_setting */
3486
3488
  type?: string;
@@ -3488,14 +3490,14 @@ type components = {
3488
3490
  links?: {
3489
3491
  /**
3490
3492
  * Format: uri-reference
3491
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/configuratorSettings
3493
+ * @example /product/01891d177346736b96d979ba21142096/configuratorSettings
3492
3494
  */
3493
3495
  related?: string;
3494
3496
  };
3495
3497
  };
3496
3498
  cover?: {
3497
3499
  data?: {
3498
- /** @example 0188f8334a3f7253b847b493729736ca */
3500
+ /** @example 01891d177348723c940a12973c95ad24 */
3499
3501
  id?: string;
3500
3502
  /** @example product_media */
3501
3503
  type?: string;
@@ -3503,14 +3505,14 @@ type components = {
3503
3505
  links?: {
3504
3506
  /**
3505
3507
  * Format: uri-reference
3506
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/cover
3508
+ * @example /product/01891d177346736b96d979ba21142096/cover
3507
3509
  */
3508
3510
  related?: string;
3509
3511
  };
3510
3512
  };
3511
3513
  crossSellings?: {
3512
3514
  data?: {
3513
- /** @example 0188f8334a407238b554caed83f60d79 */
3515
+ /** @example 01891d177348723c940a12973e537909 */
3514
3516
  id?: string;
3515
3517
  /** @example product_cross_selling */
3516
3518
  type?: string;
@@ -3518,14 +3520,14 @@ type components = {
3518
3520
  links?: {
3519
3521
  /**
3520
3522
  * Format: uri-reference
3521
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/crossSellings
3523
+ * @example /product/01891d177346736b96d979ba21142096/crossSellings
3522
3524
  */
3523
3525
  related?: string;
3524
3526
  };
3525
3527
  };
3526
3528
  deliveryTime?: {
3527
3529
  data?: {
3528
- /** @example 0188f8334a3f7253b847b493701a96ea */
3530
+ /** @example 01891d177348723c940a12973aaaa8f4 */
3529
3531
  id?: string;
3530
3532
  /** @example delivery_time */
3531
3533
  type?: string;
@@ -3533,14 +3535,14 @@ type components = {
3533
3535
  links?: {
3534
3536
  /**
3535
3537
  * Format: uri-reference
3536
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/deliveryTime
3538
+ * @example /product/01891d177346736b96d979ba21142096/deliveryTime
3537
3539
  */
3538
3540
  related?: string;
3539
3541
  };
3540
3542
  };
3541
3543
  downloads?: {
3542
3544
  data?: {
3543
- /** @example 0188f8334a3f7253b847b4936f08f801 */
3545
+ /** @example 01891d177347709383861b37206d74bd */
3544
3546
  id?: string;
3545
3547
  /** @example product_download */
3546
3548
  type?: string;
@@ -3548,14 +3550,14 @@ type components = {
3548
3550
  links?: {
3549
3551
  /**
3550
3552
  * Format: uri-reference
3551
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/downloads
3553
+ * @example /product/01891d177346736b96d979ba21142096/downloads
3552
3554
  */
3553
3555
  related?: string;
3554
3556
  };
3555
3557
  };
3556
3558
  mainCategories?: {
3557
3559
  data?: {
3558
- /** @example 0188f8334a407238b554caed8593aecf */
3560
+ /** @example 01891d177348723c940a12974011bd49 */
3559
3561
  id?: string;
3560
3562
  /** @example main_category */
3561
3563
  type?: string;
@@ -3563,14 +3565,14 @@ type components = {
3563
3565
  links?: {
3564
3566
  /**
3565
3567
  * Format: uri-reference
3566
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/mainCategories
3568
+ * @example /product/01891d177346736b96d979ba21142096/mainCategories
3567
3569
  */
3568
3570
  related?: string;
3569
3571
  };
3570
3572
  };
3571
3573
  manufacturer?: {
3572
3574
  data?: {
3573
- /** @example 0188f8334a3f7253b847b493712fbfc9 */
3575
+ /** @example 01891d177348723c940a12973c1c324f */
3574
3576
  id?: string;
3575
3577
  /** @example product_manufacturer */
3576
3578
  type?: string;
@@ -3578,14 +3580,14 @@ type components = {
3578
3580
  links?: {
3579
3581
  /**
3580
3582
  * Format: uri-reference
3581
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/manufacturer
3583
+ * @example /product/01891d177346736b96d979ba21142096/manufacturer
3582
3584
  */
3583
3585
  related?: string;
3584
3586
  };
3585
3587
  };
3586
3588
  media?: {
3587
3589
  data?: {
3588
- /** @example 0188f8334a407238b554caed832b9d78 */
3590
+ /** @example 01891d177348723c940a12973e068f40 */
3589
3591
  id?: string;
3590
3592
  /** @example product_media */
3591
3593
  type?: string;
@@ -3593,14 +3595,14 @@ type components = {
3593
3595
  links?: {
3594
3596
  /**
3595
3597
  * Format: uri-reference
3596
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/media
3598
+ * @example /product/01891d177346736b96d979ba21142096/media
3597
3599
  */
3598
3600
  related?: string;
3599
3601
  };
3600
3602
  };
3601
3603
  options?: {
3602
3604
  data?: {
3603
- /** @example 0188f8334a407238b554caed86a31928 */
3605
+ /** @example 01891d177348723c940a129741d51c7e */
3604
3606
  id?: string;
3605
3607
  /** @example property_group_option */
3606
3608
  type?: string;
@@ -3608,14 +3610,14 @@ type components = {
3608
3610
  links?: {
3609
3611
  /**
3610
3612
  * Format: uri-reference
3611
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/options
3613
+ * @example /product/01891d177346736b96d979ba21142096/options
3612
3614
  */
3613
3615
  related?: string;
3614
3616
  };
3615
3617
  };
3616
3618
  parent?: {
3617
3619
  data?: {
3618
- /** @example 0188f8334a3f7253b847b4936f97cdbd */
3620
+ /** @example 01891d177348723c940a12973a055a6e */
3619
3621
  id?: string;
3620
3622
  /** @example product */
3621
3623
  type?: string;
@@ -3623,14 +3625,14 @@ type components = {
3623
3625
  links?: {
3624
3626
  /**
3625
3627
  * Format: uri-reference
3626
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/parent
3628
+ * @example /product/01891d177346736b96d979ba21142096/parent
3627
3629
  */
3628
3630
  related?: string;
3629
3631
  };
3630
3632
  };
3631
3633
  productReviews?: {
3632
3634
  data?: {
3633
- /** @example 0188f8334a407238b554caed84f7846e */
3635
+ /** @example 01891d177348723c940a12973f989cd7 */
3634
3636
  id?: string;
3635
3637
  /** @example product_review */
3636
3638
  type?: string;
@@ -3638,14 +3640,14 @@ type components = {
3638
3640
  links?: {
3639
3641
  /**
3640
3642
  * Format: uri-reference
3641
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/productReviews
3643
+ * @example /product/01891d177346736b96d979ba21142096/productReviews
3642
3644
  */
3643
3645
  related?: string;
3644
3646
  };
3645
3647
  };
3646
3648
  properties?: {
3647
3649
  data?: {
3648
- /** @example 0188f8334a407238b554caed86e4ee70 */
3650
+ /** @example 01891d177348723c940a129742b683eb */
3649
3651
  id?: string;
3650
3652
  /** @example property_group_option */
3651
3653
  type?: string;
@@ -3653,14 +3655,14 @@ type components = {
3653
3655
  links?: {
3654
3656
  /**
3655
3657
  * Format: uri-reference
3656
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/properties
3658
+ * @example /product/01891d177346736b96d979ba21142096/properties
3657
3659
  */
3658
3660
  related?: string;
3659
3661
  };
3660
3662
  };
3661
3663
  seoCategory?: {
3662
3664
  data?: {
3663
- /** @example 0188f8334a407238b554caed886084b2 */
3665
+ /** @example 01891d177348723c940a1297446a96d6 */
3664
3666
  id?: string;
3665
3667
  /** @example category */
3666
3668
  type?: string;
@@ -3668,14 +3670,14 @@ type components = {
3668
3670
  links?: {
3669
3671
  /**
3670
3672
  * Format: uri-reference
3671
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/seoCategory
3673
+ * @example /product/01891d177346736b96d979ba21142096/seoCategory
3672
3674
  */
3673
3675
  related?: string;
3674
3676
  };
3675
3677
  };
3676
3678
  seoUrls?: {
3677
3679
  data?: {
3678
- /** @example 0188f8334a407238b554caed85b35097 */
3680
+ /** @example 01891d177348723c940a129740fefcf1 */
3679
3681
  id?: string;
3680
3682
  /** @example seo_url */
3681
3683
  type?: string;
@@ -3683,14 +3685,14 @@ type components = {
3683
3685
  links?: {
3684
3686
  /**
3685
3687
  * Format: uri-reference
3686
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/seoUrls
3688
+ * @example /product/01891d177346736b96d979ba21142096/seoUrls
3687
3689
  */
3688
3690
  related?: string;
3689
3691
  };
3690
3692
  };
3691
3693
  streams?: {
3692
3694
  data?: {
3693
- /** @example 0188f8334a407238b554caed877212b4 */
3695
+ /** @example 01891d177348723c940a129743bf570a */
3694
3696
  id?: string;
3695
3697
  /** @example product_stream */
3696
3698
  type?: string;
@@ -3698,14 +3700,14 @@ type components = {
3698
3700
  links?: {
3699
3701
  /**
3700
3702
  * Format: uri-reference
3701
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/streams
3703
+ * @example /product/01891d177346736b96d979ba21142096/streams
3702
3704
  */
3703
3705
  related?: string;
3704
3706
  };
3705
3707
  };
3706
3708
  tax?: {
3707
3709
  data?: {
3708
- /** @example 0188f8334a3f7253b847b49370fb0a4b */
3710
+ /** @example 01891d177348723c940a12973b7c7b2b */
3709
3711
  id?: string;
3710
3712
  /** @example tax */
3711
3713
  type?: string;
@@ -3713,14 +3715,14 @@ type components = {
3713
3715
  links?: {
3714
3716
  /**
3715
3717
  * Format: uri-reference
3716
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/tax
3718
+ * @example /product/01891d177346736b96d979ba21142096/tax
3717
3719
  */
3718
3720
  related?: string;
3719
3721
  };
3720
3722
  };
3721
3723
  unit?: {
3722
3724
  data?: {
3723
- /** @example 0188f8334a3f7253b847b493720b964c */
3725
+ /** @example 01891d177348723c940a12973c3b8002 */
3724
3726
  id?: string;
3725
3727
  /** @example unit */
3726
3728
  type?: string;
@@ -3728,7 +3730,7 @@ type components = {
3728
3730
  links?: {
3729
3731
  /**
3730
3732
  * Format: uri-reference
3731
- * @example /product/0188f8334a3e72eaac34aa0e9089a538/unit
3733
+ * @example /product/01891d177346736b96d979ba21142096/unit
3732
3734
  */
3733
3735
  related?: string;
3734
3736
  };
@@ -4164,7 +4166,7 @@ type components = {
4164
4166
  extensions?: {
4165
4167
  warehouseGroup?: {
4166
4168
  data?: {
4167
- /** @example 0188f8334a4672a58b03a3d55bfc502f */
4169
+ /** @example 01891d17735971868bfca11122d891ee */
4168
4170
  id?: string;
4169
4171
  /** @example warehouse_group */
4170
4172
  type?: string;
@@ -4172,7 +4174,7 @@ type components = {
4172
4174
  links?: {
4173
4175
  /**
4174
4176
  * Format: uri-reference
4175
- * @example /rule/0188f8334a4672a58b03a3d55bb70070/warehouseGroup
4177
+ * @example /rule/01891d17735871f8a55ad592e5f6f4f8/warehouseGroup
4176
4178
  */
4177
4179
  related?: string;
4178
4180
  };
@@ -4609,7 +4611,7 @@ type components = {
4609
4611
  relationships?: {
4610
4612
  availabilityRule?: {
4611
4613
  data?: {
4612
- /** @example 0188f8334a4973b68b11e7ce4ed9f9ee */
4614
+ /** @example 01891d17735e70b0b5bbb1e83bbe60a0 */
4613
4615
  id?: string;
4614
4616
  /** @example rule */
4615
4617
  type?: string;
@@ -4617,14 +4619,14 @@ type components = {
4617
4619
  links?: {
4618
4620
  /**
4619
4621
  * Format: uri-reference
4620
- * @example /shipping-method/0188f8334a4973b68b11e7ce4e6ade1e/availabilityRule
4622
+ * @example /shipping-method/01891d17735e70b0b5bbb1e83aa3301d/availabilityRule
4621
4623
  */
4622
4624
  related?: string;
4623
4625
  };
4624
4626
  };
4625
4627
  deliveryTime?: {
4626
4628
  data?: {
4627
- /** @example 0188f8334a4973b68b11e7ce4e8bf6ea */
4629
+ /** @example 01891d17735e70b0b5bbb1e83ad4fa60 */
4628
4630
  id?: string;
4629
4631
  /** @example delivery_time */
4630
4632
  type?: string;
@@ -4632,14 +4634,14 @@ type components = {
4632
4634
  links?: {
4633
4635
  /**
4634
4636
  * Format: uri-reference
4635
- * @example /shipping-method/0188f8334a4973b68b11e7ce4e6ade1e/deliveryTime
4637
+ * @example /shipping-method/01891d17735e70b0b5bbb1e83aa3301d/deliveryTime
4636
4638
  */
4637
4639
  related?: string;
4638
4640
  };
4639
4641
  };
4640
4642
  media?: {
4641
4643
  data?: {
4642
- /** @example 0188f8334a4973b68b11e7ce4f745547 */
4644
+ /** @example 01891d17735e70b0b5bbb1e83cc4e9b8 */
4643
4645
  id?: string;
4644
4646
  /** @example media */
4645
4647
  type?: string;
@@ -4647,14 +4649,14 @@ type components = {
4647
4649
  links?: {
4648
4650
  /**
4649
4651
  * Format: uri-reference
4650
- * @example /shipping-method/0188f8334a4973b68b11e7ce4e6ade1e/media
4652
+ * @example /shipping-method/01891d17735e70b0b5bbb1e83aa3301d/media
4651
4653
  */
4652
4654
  related?: string;
4653
4655
  };
4654
4656
  };
4655
4657
  prices?: {
4656
4658
  data?: {
4657
- /** @example 0188f8334a4973b68b11e7ce4f520b9d */
4659
+ /** @example 01891d17735e70b0b5bbb1e83bcb4d4b */
4658
4660
  id?: string;
4659
4661
  /** @example shipping_method_price */
4660
4662
  type?: string;
@@ -4662,14 +4664,14 @@ type components = {
4662
4664
  links?: {
4663
4665
  /**
4664
4666
  * Format: uri-reference
4665
- * @example /shipping-method/0188f8334a4973b68b11e7ce4e6ade1e/prices
4667
+ * @example /shipping-method/01891d17735e70b0b5bbb1e83aa3301d/prices
4666
4668
  */
4667
4669
  related?: string;
4668
4670
  };
4669
4671
  };
4670
4672
  tags?: {
4671
4673
  data?: {
4672
- /** @example 0188f8334a4973b68b11e7ce500bf752 */
4674
+ /** @example 01891d17735e70b0b5bbb1e83d2c522c */
4673
4675
  id?: string;
4674
4676
  /** @example tag */
4675
4677
  type?: string;
@@ -4677,14 +4679,14 @@ type components = {
4677
4679
  links?: {
4678
4680
  /**
4679
4681
  * Format: uri-reference
4680
- * @example /shipping-method/0188f8334a4973b68b11e7ce4e6ade1e/tags
4682
+ * @example /shipping-method/01891d17735e70b0b5bbb1e83aa3301d/tags
4681
4683
  */
4682
4684
  related?: string;
4683
4685
  };
4684
4686
  };
4685
4687
  tax?: {
4686
4688
  data?: {
4687
- /** @example 0188f8334a4973b68b11e7ce506a4c6d */
4689
+ /** @example 01891d17735e70b0b5bbb1e83d77f04f */
4688
4690
  id?: string;
4689
4691
  /** @example tax */
4690
4692
  type?: string;
@@ -4692,7 +4694,7 @@ type components = {
4692
4694
  links?: {
4693
4695
  /**
4694
4696
  * Format: uri-reference
4695
- * @example /shipping-method/0188f8334a4973b68b11e7ce4e6ade1e/tax
4697
+ * @example /shipping-method/01891d17735e70b0b5bbb1e83aa3301d/tax
4696
4698
  */
4697
4699
  related?: string;
4698
4700
  };
@@ -5084,7 +5086,7 @@ type components = {
5084
5086
  relationships?: {
5085
5087
  template?: {
5086
5088
  data?: {
5087
- /** @example 0188f8334a4b73b8a052702133a9a162 */
5089
+ /** @example 01891d17736371f0b64692494b10d5fd */
5088
5090
  id?: string;
5089
5091
  /** @example swag_customized_products_template */
5090
5092
  type?: string;
@@ -5092,14 +5094,14 @@ type components = {
5092
5094
  links?: {
5093
5095
  /**
5094
5096
  * Format: uri-reference
5095
- * @example /swag-customized-products-template-configuration/0188f8334a4b73b8a052702132e04837/template
5097
+ * @example /swag-customized-products-template-configuration/01891d17736371f0b64692494ac47226/template
5096
5098
  */
5097
5099
  related?: string;
5098
5100
  };
5099
5101
  };
5100
5102
  templateConfigurationShares?: {
5101
5103
  data?: {
5102
- /** @example 0188f8334a4b73b8a05270213400704d */
5104
+ /** @example 01891d17736371f0b64692494be60412 */
5103
5105
  id?: string;
5104
5106
  /** @example swag_customized_products_template_configuration_share */
5105
5107
  type?: string;
@@ -5107,7 +5109,7 @@ type components = {
5107
5109
  links?: {
5108
5110
  /**
5109
5111
  * Format: uri-reference
5110
- * @example /swag-customized-products-template-configuration/0188f8334a4b73b8a052702132e04837/templateConfigurationShares
5112
+ * @example /swag-customized-products-template-configuration/01891d17736371f0b64692494ac47226/templateConfigurationShares
5111
5113
  */
5112
5114
  related?: string;
5113
5115
  };
@@ -5193,7 +5195,7 @@ type components = {
5193
5195
  relationships?: {
5194
5196
  configurations?: {
5195
5197
  data?: {
5196
- /** @example 0188f8334a4b73b8a052702132b1488f */
5198
+ /** @example 01891d17736371f0b64692494a460d65 */
5197
5199
  id?: string;
5198
5200
  /** @example swag_customized_products_template_configuration */
5199
5201
  type?: string;
@@ -5201,14 +5203,14 @@ type components = {
5201
5203
  links?: {
5202
5204
  /**
5203
5205
  * Format: uri-reference
5204
- * @example /swag-customized-products-template/0188f8334a4b73b8a052702130b55d12/configurations
5206
+ * @example /swag-customized-products-template/01891d17736271cfb124ce0df567ce09/configurations
5205
5207
  */
5206
5208
  related?: string;
5207
5209
  };
5208
5210
  };
5209
5211
  exclusions?: {
5210
5212
  data?: {
5211
- /** @example 0188f8334a4b73b8a052702132a974ef */
5213
+ /** @example 01891d17736371f0b6469249499a934c */
5212
5214
  id?: string;
5213
5215
  /** @example swag_customized_products_template_exclusion */
5214
5216
  type?: string;
@@ -5216,14 +5218,14 @@ type components = {
5216
5218
  links?: {
5217
5219
  /**
5218
5220
  * Format: uri-reference
5219
- * @example /swag-customized-products-template/0188f8334a4b73b8a052702130b55d12/exclusions
5221
+ * @example /swag-customized-products-template/01891d17736271cfb124ce0df567ce09/exclusions
5220
5222
  */
5221
5223
  related?: string;
5222
5224
  };
5223
5225
  };
5224
5226
  media?: {
5225
5227
  data?: {
5226
- /** @example 0188f8334a4b73b8a052702130f74665 */
5228
+ /** @example 01891d17736371f0b646924948085844 */
5227
5229
  id?: string;
5228
5230
  /** @example media */
5229
5231
  type?: string;
@@ -5231,14 +5233,14 @@ type components = {
5231
5233
  links?: {
5232
5234
  /**
5233
5235
  * Format: uri-reference
5234
- * @example /swag-customized-products-template/0188f8334a4b73b8a052702130b55d12/media
5236
+ * @example /swag-customized-products-template/01891d17736271cfb124ce0df567ce09/media
5235
5237
  */
5236
5238
  related?: string;
5237
5239
  };
5238
5240
  };
5239
5241
  options?: {
5240
5242
  data?: {
5241
- /** @example 0188f8334a4b73b8a052702131e12911 */
5243
+ /** @example 01891d17736371f0b646924948a24f54 */
5242
5244
  id?: string;
5243
5245
  /** @example swag_customized_products_template_option */
5244
5246
  type?: string;
@@ -5246,14 +5248,14 @@ type components = {
5246
5248
  links?: {
5247
5249
  /**
5248
5250
  * Format: uri-reference
5249
- * @example /swag-customized-products-template/0188f8334a4b73b8a052702130b55d12/options
5251
+ * @example /swag-customized-products-template/01891d17736271cfb124ce0df567ce09/options
5250
5252
  */
5251
5253
  related?: string;
5252
5254
  };
5253
5255
  };
5254
5256
  products?: {
5255
5257
  data?: {
5256
- /** @example 0188f8334a4b73b8a052702131ef8519 */
5258
+ /** @example 01891d17736371f0b6469249492d304a */
5257
5259
  id?: string;
5258
5260
  /** @example product */
5259
5261
  type?: string;
@@ -5261,7 +5263,7 @@ type components = {
5261
5263
  links?: {
5262
5264
  /**
5263
5265
  * Format: uri-reference
5264
- * @example /swag-customized-products-template/0188f8334a4b73b8a052702130b55d12/products
5266
+ * @example /swag-customized-products-template/01891d17736271cfb124ce0df567ce09/products
5265
5267
  */
5266
5268
  related?: string;
5267
5269
  };
@@ -5342,7 +5344,7 @@ type components = {
5342
5344
  relationships?: {
5343
5345
  prices?: {
5344
5346
  data?: {
5345
- /** @example 0188f8334a4c7391b3c2465a968e2341 */
5347
+ /** @example 01891d177365724d83f5b142ed85c344 */
5346
5348
  id?: string;
5347
5349
  /** @example swag_customized_products_template_option_price */
5348
5350
  type?: string;
@@ -5350,14 +5352,14 @@ type components = {
5350
5352
  links?: {
5351
5353
  /**
5352
5354
  * Format: uri-reference
5353
- * @example /swag-customized-products-template-option/0188f8334a4c7391b3c2465a9651c8e9/prices
5355
+ * @example /swag-customized-products-template-option/01891d177365724d83f5b142ecead862/prices
5354
5356
  */
5355
5357
  related?: string;
5356
5358
  };
5357
5359
  };
5358
5360
  tax?: {
5359
5361
  data?: {
5360
- /** @example 0188f8334a4d701badec9fc5347f84d1 */
5362
+ /** @example 01891d177365724d83f5b142ef501af0 */
5361
5363
  id?: string;
5362
5364
  /** @example tax */
5363
5365
  type?: string;
@@ -5365,14 +5367,14 @@ type components = {
5365
5367
  links?: {
5366
5368
  /**
5367
5369
  * Format: uri-reference
5368
- * @example /swag-customized-products-template-option/0188f8334a4c7391b3c2465a9651c8e9/tax
5370
+ * @example /swag-customized-products-template-option/01891d177365724d83f5b142ecead862/tax
5369
5371
  */
5370
5372
  related?: string;
5371
5373
  };
5372
5374
  };
5373
5375
  template?: {
5374
5376
  data?: {
5375
- /** @example 0188f8334a4d701badec9fc533c5f8dc */
5377
+ /** @example 01891d177365724d83f5b142ee59a1b1 */
5376
5378
  id?: string;
5377
5379
  /** @example swag_customized_products_template */
5378
5380
  type?: string;
@@ -5380,14 +5382,14 @@ type components = {
5380
5382
  links?: {
5381
5383
  /**
5382
5384
  * Format: uri-reference
5383
- * @example /swag-customized-products-template-option/0188f8334a4c7391b3c2465a9651c8e9/template
5385
+ * @example /swag-customized-products-template-option/01891d177365724d83f5b142ecead862/template
5384
5386
  */
5385
5387
  related?: string;
5386
5388
  };
5387
5389
  };
5388
5390
  templateExclusionConditions?: {
5389
5391
  data?: {
5390
- /** @example 0188f8334a4d701badec9fc5334d96ab */
5392
+ /** @example 01891d177365724d83f5b142ee1e96aa */
5391
5393
  id?: string;
5392
5394
  /** @example swag_customized_products_template_exclusion_condition */
5393
5395
  type?: string;
@@ -5395,14 +5397,14 @@ type components = {
5395
5397
  links?: {
5396
5398
  /**
5397
5399
  * Format: uri-reference
5398
- * @example /swag-customized-products-template-option/0188f8334a4c7391b3c2465a9651c8e9/templateExclusionConditions
5400
+ * @example /swag-customized-products-template-option/01891d177365724d83f5b142ecead862/templateExclusionConditions
5399
5401
  */
5400
5402
  related?: string;
5401
5403
  };
5402
5404
  };
5403
5405
  values?: {
5404
5406
  data?: {
5405
- /** @example 0188f8334a4d701badec9fc533327b23 */
5407
+ /** @example 01891d177365724d83f5b142edb51777 */
5406
5408
  id?: string;
5407
5409
  /** @example swag_customized_products_template_option_value */
5408
5410
  type?: string;
@@ -5410,7 +5412,7 @@ type components = {
5410
5412
  links?: {
5411
5413
  /**
5412
5414
  * Format: uri-reference
5413
- * @example /swag-customized-products-template-option/0188f8334a4c7391b3c2465a9651c8e9/values
5415
+ * @example /swag-customized-products-template-option/01891d177365724d83f5b142ecead862/values
5414
5416
  */
5415
5417
  related?: string;
5416
5418
  };
@@ -5507,7 +5509,7 @@ type components = {
5507
5509
  relationships?: {
5508
5510
  prices?: {
5509
5511
  data?: {
5510
- /** @example 0188f8334a4d701badec9fc53843050a */
5512
+ /** @example 01891d17736673458228b5527e80de00 */
5511
5513
  id?: string;
5512
5514
  /** @example swag_customized_products_template_option_value_price */
5513
5515
  type?: string;
@@ -5515,14 +5517,14 @@ type components = {
5515
5517
  links?: {
5516
5518
  /**
5517
5519
  * Format: uri-reference
5518
- * @example /swag-customized-products-template-option-value/0188f8334a4d701badec9fc5375ebce7/prices
5520
+ * @example /swag-customized-products-template-option-value/01891d17736673458228b5527e444ad9/prices
5519
5521
  */
5520
5522
  related?: string;
5521
5523
  };
5522
5524
  };
5523
5525
  tax?: {
5524
5526
  data?: {
5525
- /** @example 0188f8334a4d701badec9fc538b6a4b7 */
5527
+ /** @example 01891d177367711f88fca0bdac1a7cf5 */
5526
5528
  id?: string;
5527
5529
  /** @example tax */
5528
5530
  type?: string;
@@ -5530,14 +5532,14 @@ type components = {
5530
5532
  links?: {
5531
5533
  /**
5532
5534
  * Format: uri-reference
5533
- * @example /swag-customized-products-template-option-value/0188f8334a4d701badec9fc5375ebce7/tax
5535
+ * @example /swag-customized-products-template-option-value/01891d17736673458228b5527e444ad9/tax
5534
5536
  */
5535
5537
  related?: string;
5536
5538
  };
5537
5539
  };
5538
5540
  templateExclusionConditions?: {
5539
5541
  data?: {
5540
- /** @example 0188f8334a4d701badec9fc5390730a1 */
5542
+ /** @example 01891d177367711f88fca0bdac2d41c8 */
5541
5543
  id?: string;
5542
5544
  /** @example swag_customized_products_template_exclusion_condition */
5543
5545
  type?: string;
@@ -5545,14 +5547,14 @@ type components = {
5545
5547
  links?: {
5546
5548
  /**
5547
5549
  * Format: uri-reference
5548
- * @example /swag-customized-products-template-option-value/0188f8334a4d701badec9fc5375ebce7/templateExclusionConditions
5550
+ * @example /swag-customized-products-template-option-value/01891d17736673458228b5527e444ad9/templateExclusionConditions
5549
5551
  */
5550
5552
  related?: string;
5551
5553
  };
5552
5554
  };
5553
5555
  templateOption?: {
5554
5556
  data?: {
5555
- /** @example 0188f8334a4d701badec9fc538670459 */
5557
+ /** @example 01891d177367711f88fca0bdabf39263 */
5556
5558
  id?: string;
5557
5559
  /** @example swag_customized_products_template_option */
5558
5560
  type?: string;
@@ -5560,7 +5562,7 @@ type components = {
5560
5562
  links?: {
5561
5563
  /**
5562
5564
  * Format: uri-reference
5563
- * @example /swag-customized-products-template-option-value/0188f8334a4d701badec9fc5375ebce7/templateOption
5565
+ * @example /swag-customized-products-template-option-value/01891d17736673458228b5527e444ad9/templateOption
5564
5566
  */
5565
5567
  related?: string;
5566
5568
  };
@@ -7662,11 +7664,73 @@ type operations = {
7662
7664
  };
7663
7665
  };
7664
7666
 
7667
+ type ApiError = {
7668
+ title?: string;
7669
+ detail?: string;
7670
+ code?: string;
7671
+ status?: string;
7672
+ source?: {
7673
+ pointer?: string;
7674
+ };
7675
+ meta?: {
7676
+ parameters?: Record<string, string>;
7677
+ };
7678
+ };
7679
+ declare class ApiClientError<T extends {
7680
+ errors: Array<ApiError>;
7681
+ }> extends Error {
7682
+ /**
7683
+ * Flag to indicate if the request was successful.
7684
+ */
7685
+ ok: boolean;
7686
+ /**
7687
+ * HTTP status code of the response.
7688
+ */
7689
+ status: number;
7690
+ /**
7691
+ * HTTP status text of the response.
7692
+ */
7693
+ statusText?: string;
7694
+ /**
7695
+ * URL of the request.
7696
+ */
7697
+ url: string;
7698
+ /**
7699
+ * Details of the error.
7700
+ */
7701
+ details: T;
7702
+ /**
7703
+ * Headers of the response.
7704
+ */
7705
+ headers: Headers;
7706
+ constructor(response: FetchResponse<T>);
7707
+ }
7708
+
7665
7709
  type Operations = Record<string, unknown>;
7666
7710
  type HttpMethod = "post" | "get" | "put" | "delete" | "patch";
7667
7711
  type GetInferKey<T, NAME extends string> = T extends {
7668
7712
  [key in NAME]: infer R;
7669
7713
  } ? R : never;
7714
+ type RequestParameters<OPERATION_NAME extends keyof OPERATIONS, OPERATIONS = operations> = (OPERATIONS[OPERATION_NAME] extends {
7715
+ parameters?: {
7716
+ query?: infer R;
7717
+ };
7718
+ } ? R : Record<string, unknown>) & (OPERATIONS[OPERATION_NAME] extends {
7719
+ parameters?: {
7720
+ path?: infer R;
7721
+ };
7722
+ } ? R : Record<string, unknown>) & (OPERATIONS[OPERATION_NAME] extends {
7723
+ requestBody?: {
7724
+ content?: {
7725
+ "application/json"?: infer R;
7726
+ };
7727
+ };
7728
+ } ? R : Record<string, unknown>) & (OPERATIONS[OPERATION_NAME] extends {
7729
+ parameters?: {
7730
+ header?: infer R;
7731
+ };
7732
+ } ? R : Record<string, unknown>);
7733
+ type RequestReturnType<T extends keyof OPERATIONS, OPERATIONS = operations> = GetInferKey<GetInferKey<GetInferKey<GetInferKey<OPERATIONS[T], "responses">, "200">, "content">, "application/json">;
7670
7734
  declare function createAPIClient<OPERATIONS extends Operations = operations, PATHS = paths>(params: {
7671
7735
  baseURL: string;
7672
7736
  apiType: "store-api" | "admin-api";
@@ -7674,25 +7738,7 @@ declare function createAPIClient<OPERATIONS extends Operations = operations, PAT
7674
7738
  contextToken?: string;
7675
7739
  onContextChanged?: (newContextToken: string) => void;
7676
7740
  }): {
7677
- invoke: <INVOKE_PATH extends PATHS, OON = INVOKE_PATH extends `${infer R} ${string}` ? R : never, OPERATION_NAME extends keyof OPERATIONS = OON extends keyof OPERATIONS ? OON : never>(pathParam: INVOKE_PATH extends string ? INVOKE_PATH : never, params: (OPERATIONS[OPERATION_NAME] extends {
7678
- parameters?: {
7679
- query?: infer R_1 | undefined;
7680
- } | undefined;
7681
- } ? R_1 : Record<string, unknown>) & (OPERATIONS[OPERATION_NAME] extends {
7682
- parameters?: {
7683
- path?: infer R_2 | undefined;
7684
- } | undefined;
7685
- } ? R_2 : Record<string, unknown>) & (OPERATIONS[OPERATION_NAME] extends {
7686
- requestBody?: {
7687
- content?: {
7688
- "application/json"?: infer R_3 | undefined;
7689
- } | undefined;
7690
- } | undefined;
7691
- } ? R_3 : Record<string, unknown>) & (OPERATIONS[OPERATION_NAME] extends {
7692
- parameters?: {
7693
- header?: infer R_4 | undefined;
7694
- } | undefined;
7695
- } ? R_4 : Record<string, unknown>)) => Promise<GetInferKey<GetInferKey<GetInferKey<GetInferKey<OPERATIONS[OPERATION_NAME], "responses">, "200">, "content">, "application/json">>;
7741
+ invoke: <INVOKE_PATH extends PATHS, OON = INVOKE_PATH extends `${infer R} ${string}` ? R : never, OPERATION_NAME extends keyof OPERATIONS = OON extends keyof OPERATIONS ? OON : never>(pathParam: INVOKE_PATH extends string ? INVOKE_PATH : never, params: RequestParameters<OPERATION_NAME, OPERATIONS>) => Promise<GetInferKey<GetInferKey<GetInferKey<GetInferKey<OPERATIONS[OPERATION_NAME], "responses">, "200">, "content">, "application/json">>;
7696
7742
  };
7697
7743
  declare function transformPathToQuery<T extends Record<string, unknown>>(path: string, params: T): [
7698
7744
  string,
@@ -7704,4 +7750,4 @@ declare function transformPathToQuery<T extends Record<string, unknown>>(path: s
7704
7750
  }
7705
7751
  ];
7706
7752
 
7707
- export { createAPIClient, transformPathToQuery };
7753
+ export { ApiClientError, RequestParameters, RequestReturnType, createAPIClient, transformPathToQuery };