@getanyapi/sdk 0.27.1 → 0.28.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.cts CHANGED
@@ -22699,6 +22699,10 @@ interface TiktokShopCategoryProductsInput {
22699
22699
  * TikTok Shop category id, from tiktok_shop.categories (e.g. 700645 for Health).
22700
22700
  */
22701
22701
  categoryId: string;
22702
+ /**
22703
+ * Pagination cursor: the number of products to skip. Pass "0" or omit for the first page, then advance by the number of items you received (e.g. 15) while hasMore is true.
22704
+ */
22705
+ cursor?: string;
22702
22706
  /**
22703
22707
  * Two-letter country code of the TikTok Shop market (e.g. US).
22704
22708
  * Default: US.
@@ -22710,6 +22714,10 @@ interface TiktokShopCategoryProductsItem {
22710
22714
  * ISO currency name, e.g. USD.
22711
22715
  */
22712
22716
  currency?: string;
22717
+ /**
22718
+ * Discount off the original price as a percentage, e.g. 10 for 10% off. Omitted when the product is not discounted.
22719
+ */
22720
+ discountPct?: number;
22713
22721
  /**
22714
22722
  * Primary product image URL.
22715
22723
  */
@@ -22734,6 +22742,10 @@ interface TiktokShopCategoryProductsItem {
22734
22742
  * Number of reviews.
22735
22743
  */
22736
22744
  reviewCount?: number;
22745
+ /**
22746
+ * TikTok Shop seller id, for joining to the seller's other products.
22747
+ */
22748
+ sellerId?: string;
22737
22749
  /**
22738
22750
  * Seller shop name.
22739
22751
  */
@@ -23225,6 +23237,10 @@ interface TiktokShopSearchItem {
23225
23237
  * ISO currency name, e.g. USD.
23226
23238
  */
23227
23239
  currency?: string;
23240
+ /**
23241
+ * Discount off the original price as a percentage, e.g. 10 for 10% off. Omitted when the product is not discounted.
23242
+ */
23243
+ discountPct?: number;
23228
23244
  /**
23229
23245
  * Pre-discount list price (0 when not on sale).
23230
23246
  */
@@ -23241,6 +23257,14 @@ interface TiktokShopSearchItem {
23241
23257
  * Average review score.
23242
23258
  */
23243
23259
  rating?: number;
23260
+ /**
23261
+ * Number of reviews. Omitted when the lane that served this request does not report it.
23262
+ */
23263
+ reviewCount?: number;
23264
+ /**
23265
+ * TikTok Shop seller id, for joining to the seller's other products.
23266
+ */
23267
+ sellerId?: string;
23244
23268
  /**
23245
23269
  * Seller shop name.
23246
23270
  */
package/dist/index.d.ts CHANGED
@@ -22699,6 +22699,10 @@ interface TiktokShopCategoryProductsInput {
22699
22699
  * TikTok Shop category id, from tiktok_shop.categories (e.g. 700645 for Health).
22700
22700
  */
22701
22701
  categoryId: string;
22702
+ /**
22703
+ * Pagination cursor: the number of products to skip. Pass "0" or omit for the first page, then advance by the number of items you received (e.g. 15) while hasMore is true.
22704
+ */
22705
+ cursor?: string;
22702
22706
  /**
22703
22707
  * Two-letter country code of the TikTok Shop market (e.g. US).
22704
22708
  * Default: US.
@@ -22710,6 +22714,10 @@ interface TiktokShopCategoryProductsItem {
22710
22714
  * ISO currency name, e.g. USD.
22711
22715
  */
22712
22716
  currency?: string;
22717
+ /**
22718
+ * Discount off the original price as a percentage, e.g. 10 for 10% off. Omitted when the product is not discounted.
22719
+ */
22720
+ discountPct?: number;
22713
22721
  /**
22714
22722
  * Primary product image URL.
22715
22723
  */
@@ -22734,6 +22742,10 @@ interface TiktokShopCategoryProductsItem {
22734
22742
  * Number of reviews.
22735
22743
  */
22736
22744
  reviewCount?: number;
22745
+ /**
22746
+ * TikTok Shop seller id, for joining to the seller's other products.
22747
+ */
22748
+ sellerId?: string;
22737
22749
  /**
22738
22750
  * Seller shop name.
22739
22751
  */
@@ -23225,6 +23237,10 @@ interface TiktokShopSearchItem {
23225
23237
  * ISO currency name, e.g. USD.
23226
23238
  */
23227
23239
  currency?: string;
23240
+ /**
23241
+ * Discount off the original price as a percentage, e.g. 10 for 10% off. Omitted when the product is not discounted.
23242
+ */
23243
+ discountPct?: number;
23228
23244
  /**
23229
23245
  * Pre-discount list price (0 when not on sale).
23230
23246
  */
@@ -23241,6 +23257,14 @@ interface TiktokShopSearchItem {
23241
23257
  * Average review score.
23242
23258
  */
23243
23259
  rating?: number;
23260
+ /**
23261
+ * Number of reviews. Omitted when the lane that served this request does not report it.
23262
+ */
23263
+ reviewCount?: number;
23264
+ /**
23265
+ * TikTok Shop seller id, for joining to the seller's other products.
23266
+ */
23267
+ sellerId?: string;
23244
23268
  /**
23245
23269
  * Seller shop name.
23246
23270
  */