@shophost/client 2.0.41 → 2.0.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shophost/client",
3
- "version": "2.0.41",
3
+ "version": "2.0.42",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./src/index.d.ts",
@@ -2609,6 +2609,10 @@ export type GetProductCategoriesData = {
2609
2609
  * Enum for locale values
2610
2610
  */
2611
2611
  locale?: 'af' | 'sq' | 'ar_dz' | 'ar_bh' | 'ar_eg' | 'ar_iq' | 'ar_jo' | 'ar_kw' | 'ar_lb' | 'ar_ly' | 'ar_ma' | 'ar_om' | 'ar_qa' | 'ar_sa' | 'ar_sy' | 'ar_tn' | 'ar_ae' | 'ar_ye' | 'eu' | 'be' | 'bg' | 'ca' | 'zh_hk' | 'zh_cn' | 'zh_sg' | 'zh_tw' | 'hr' | 'cs' | 'da' | 'nl_be' | 'nl' | 'en' | 'en_au' | 'en_bz' | 'en_ca' | 'en_ie' | 'en_jm' | 'en_nz' | 'en_za' | 'en_tt' | 'en_gb' | 'en_us' | 'et' | 'fo' | 'fa' | 'fi' | 'fr_be' | 'fr_ca' | 'fr_lu' | 'fr' | 'fr_ch' | 'gd' | 'de_at' | 'de_li' | 'de_lu' | 'de' | 'de_ch' | 'el' | 'he' | 'hi' | 'hu' | 'is' | 'id' | 'ga' | 'it' | 'it_ch' | 'ja' | 'ko' | 'ku' | 'lv' | 'lt' | 'mk' | 'ml' | 'ms' | 'mt' | 'no' | 'nb' | 'nn' | 'pl' | 'pt_br' | 'pt' | 'pa' | 'rm' | 'ro' | 'ro_md' | 'ru' | 'ru_md' | 'sr' | 'sk' | 'sl' | 'sb' | 'es_ar' | 'es_bo' | 'es_cl' | 'es_co' | 'es_cr' | 'es_do' | 'es_ec' | 'es_sv' | 'es_gt' | 'es_hn' | 'es_mx' | 'es' | 'sv' | 'sv_fi' | 'th' | 'tr' | 'uk' | 'ur' | 'vi' | 'cy' | 'ji' | 'zu';
2612
+ /**
2613
+ * Filter product categories by publication status
2614
+ */
2615
+ publishedStatus?: 'published' | 'unpublished';
2612
2616
  };
2613
2617
  url: '/{organizationId}/product-categories';
2614
2618
  };
@@ -3052,6 +3056,14 @@ export type GetProductsData = {
3052
3056
  * Enum for locale values
3053
3057
  */
3054
3058
  locale?: 'af' | 'sq' | 'ar_dz' | 'ar_bh' | 'ar_eg' | 'ar_iq' | 'ar_jo' | 'ar_kw' | 'ar_lb' | 'ar_ly' | 'ar_ma' | 'ar_om' | 'ar_qa' | 'ar_sa' | 'ar_sy' | 'ar_tn' | 'ar_ae' | 'ar_ye' | 'eu' | 'be' | 'bg' | 'ca' | 'zh_hk' | 'zh_cn' | 'zh_sg' | 'zh_tw' | 'hr' | 'cs' | 'da' | 'nl_be' | 'nl' | 'en' | 'en_au' | 'en_bz' | 'en_ca' | 'en_ie' | 'en_jm' | 'en_nz' | 'en_za' | 'en_tt' | 'en_gb' | 'en_us' | 'et' | 'fo' | 'fa' | 'fi' | 'fr_be' | 'fr_ca' | 'fr_lu' | 'fr' | 'fr_ch' | 'gd' | 'de_at' | 'de_li' | 'de_lu' | 'de' | 'de_ch' | 'el' | 'he' | 'hi' | 'hu' | 'is' | 'id' | 'ga' | 'it' | 'it_ch' | 'ja' | 'ko' | 'ku' | 'lv' | 'lt' | 'mk' | 'ml' | 'ms' | 'mt' | 'no' | 'nb' | 'nn' | 'pl' | 'pt_br' | 'pt' | 'pa' | 'rm' | 'ro' | 'ro_md' | 'ru' | 'ru_md' | 'sr' | 'sk' | 'sl' | 'sb' | 'es_ar' | 'es_bo' | 'es_cl' | 'es_co' | 'es_cr' | 'es_do' | 'es_ec' | 'es_sv' | 'es_gt' | 'es_hn' | 'es_mx' | 'es' | 'sv' | 'sv_fi' | 'th' | 'tr' | 'uk' | 'ur' | 'vi' | 'cy' | 'ji' | 'zu';
3059
+ /**
3060
+ * Filter products by category ID
3061
+ */
3062
+ categoryId?: string;
3063
+ /**
3064
+ * Filter products by publication status
3065
+ */
3066
+ publishedStatus?: 'published' | 'unpublished';
3055
3067
  };
3056
3068
  url: '/{organizationId}/products';
3057
3069
  };