Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tayeh.js

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tayeh.js - npm Package Compare versions

Comparing version 0.2.11 to 0.2.12

3

lib/inventory/index.d.ts

@@ -10,2 +10,3 @@ import { Base } from '../base';

getProduct(product_id: string): Promise<AxiosResponse<TYPE.InventoryProductInfo>>;
getProductFeatures(product_id: string): Promise<AxiosResponse<TYPE.GetProductFeaturesResponse>>;
getProductReviews(product_id: string, params?: TYPE.GetReviews): Promise<AxiosResponse<TYPE.GetProductReviewsResponse>>;

@@ -40,3 +41,3 @@ getRatingOptions(product_id: string): Promise<AxiosResponse<TYPE.GetProductRatingOptions>>;

getCategories(params?: TYPE.CategoryParams): Promise<AxiosResponse<TYPE.GetInstanceCategoriesResponse>>;
createCategory(params: TYPE.NewCategory): Promise<AxiosResponse<void>>;
createCategory(params: TYPE.NewCategory): Promise<AxiosResponse<string>>;
updateCategory(params: TYPE.EditCategory): Promise<AxiosResponse<void>>;

@@ -43,0 +44,0 @@ deleteCategory(category_id: string): Promise<AxiosResponse<void>>;

@@ -21,2 +21,6 @@ "use strict";

}
getProductFeatures(product_id) {
const path = `product/${product_id}/features`;
return this.get(path);
}
getProductReviews(product_id, params) {

@@ -23,0 +27,0 @@ let query = `${resourceName}/${product_id}/reviews`;

@@ -162,6 +162,8 @@ import { GetProductResponse, Image, Pagination } from '../dto';

};
declare type Feature = {
export declare type Feature = {
name: string;
value: any;
};
declare type FeatureGroup = {
export declare type FeatureGroup = {
name: string;
features: Feature[];

@@ -168,0 +170,0 @@ };

{
"name": "tayeh.js",
"version": "0.2.11",
"version": "0.2.12",
"description": "tayeh shop-api client",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc