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

@shopware-pwa/api-client

Package Overview
Dependencies
Maintainers
2
Versions
636
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-pwa/api-client - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

27

dist/index.d.ts

@@ -71,3 +71,3 @@ import { AxiosInstance, AxiosResponse } from 'axios';

*/
declare function getCategories(searchCriteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"category", Category[]>>;
declare function getCategories(searchCriteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"category", Category>>;
/**

@@ -85,3 +85,3 @@ * @throws ClientApiError

*/
declare function getProducts(criteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"product", Product[]>>;
declare function getProducts(criteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"product", Product>>;
/**

@@ -118,3 +118,3 @@ * Get default amount of products and listing configuration for given category

*/
declare function getProductReviews(productId: string, criteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"product_review", ProductReview[]>>;
declare function getProductReviews(productId: string, criteria?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"product_review", ProductReview>>;

@@ -164,3 +164,3 @@ /**

*/
declare function getCustomerAddresses(parameters?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"customer_address", CustomerAddress[]>>;
declare function getCustomerAddresses(parameters?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"customer_address", CustomerAddress>>;
/**

@@ -172,3 +172,3 @@ * Get all customer's orders

*/
declare function getCustomerOrders(parameters?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"order", Order[]>>;
declare function getCustomerOrders(parameters?: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"order", Order>>;
/**

@@ -349,3 +349,3 @@ * Get the customer's address by id

*/
declare function getAvailableLanguages(contextInstance?: ShopwareApiInstance): Promise<EntityResult<"language", Language[]>>;
declare function getAvailableLanguages(contextInstance?: ShopwareApiInstance): Promise<EntityResult<"language", Language>>;
/**

@@ -362,3 +362,3 @@ * @throws ClientApiError

*/
declare function getAvailableCountries(contextInstance?: ShopwareApiInstance): Promise<EntityResult<"country", Country[]>>;
declare function getAvailableCountries(contextInstance?: ShopwareApiInstance): Promise<EntityResult<"country", Country>>;
/**

@@ -370,3 +370,3 @@ * Get all available salutations

*/
declare function getAvailableSalutations(contextInstance?: ShopwareApiInstance): Promise<EntityResult<"salutation", Salutation[]>>;
declare function getAvailableSalutations(contextInstance?: ShopwareApiInstance): Promise<EntityResult<"salutation", Salutation>>;
/**

@@ -378,3 +378,3 @@ * @throws ClientApiError

onlyAvailable?: boolean;
}): Promise<EntityResult<"payment_method", PaymentMethod[]>>;
}): Promise<EntityResult<"payment_method", PaymentMethod>>;
/**

@@ -396,3 +396,3 @@ * @throws ClientApiError

onlyAvailable?: boolean;
}): Promise<EntityResult<"shipping_method", ShippingMethod[]>>;
}): Promise<EntityResult<"shipping_method", ShippingMethod>>;
/**

@@ -517,6 +517,3 @@ * @throws ClientApiError

*/
declare function getSeoUrls(entityId: string, languageId?: string, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"seo_url", {
apiAlias: string;
seoPathInfo: string;
}[]>>;
declare function getSeoUrls(entityId: string, languageId?: string, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"seo_url", SeoUrl>>;
/**

@@ -528,3 +525,3 @@ *

*/
declare function getSeoUrl(params: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"seo_url", SeoUrl[]>>;
declare function getSeoUrl(params: ShopwareSearchParams, contextInstance?: ShopwareApiInstance): Promise<EntityResult<"seo_url", SeoUrl>>;

@@ -531,0 +528,0 @@ /**

{
"name": "@shopware-pwa/api-client",
"version": "0.2.2",
"version": "0.2.3",
"module": "./dist/index.mjs",

@@ -15,6 +15,6 @@ "types": "./dist/index.d.ts",

"@faker-js/faker": "^7.6.0",
"@vitest/coverage-c8": "^0.28.2",
"vitest": "^0.28.2",
"tsconfig": "0.0.0",
"eslint-config-shopware": "0.0.0"
"@vitest/coverage-c8": "^0.28.3",
"vitest": "^0.28.3",
"eslint-config-shopware": "0.0.1",
"tsconfig": "0.0.0"
},

@@ -24,7 +24,7 @@ "dependencies": {

"query-string": "^8.1.0",
"@shopware-pwa/types": "0.3.0"
"@shopware-pwa/types": "0.4.0"
},
"scripts": {
"build": "export NODE_ENV=production && unbuild && pnpm build:types",
"build:types": "npx -p typescript tsc ./src/*.ts --declaration --allowJs --emitDeclarationOnly --outDir ./temp --skipLibCheck",
"build:types": "tsc ./src/*.ts --declaration --allowJs --emitDeclarationOnly --outDir ./temp --skipLibCheck",
"dev": "export NODE_ENV=development && unbuild --stub",

@@ -31,0 +31,0 @@ "lint": "eslint src/**/*.ts* --fix --max-warnings=0",

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