Socket
Socket
Sign inDemoInstall

@shopware/api-client

Package Overview
Dependencies
Maintainers
0
Versions
415
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware/api-client - npm Package Compare versions

Comparing version 0.0.0-canary-20240702101050 to 0.0.0-canary-20240717093959

api-types/adminApiSchema.overrides.json

53

api-types/storeApiSchema.overrides.json

@@ -173,2 +173,13 @@ {

],
"ListPrice": {
"type": "object",
"description": "",
"properties": {
"discount": { "type": "number" },
"percentage": { "type": "number" },
"price": { "type": "number" },
"apiAlias": { "type": "string", "enum": ["cart_list_price"] }
},
"required": ["apiAlias"]
},
"LineItem": [

@@ -354,2 +365,44 @@ {

],
"ReferencePrice": {
"type": "object",
"properties": {
"purchaseUnit": { "type": "number" },
"referenceUnit": { "type": "number" },
"unitName": { "type": "string" },
"price": { "type": "number" },
"apiAlias": { "type": "string", "enum": ["cart_price_reference"] },
"listPrice": {
"oneOf": [
{ "$ref": "#/components/schemas/ListPrice" },
{ "type": "null" }
]
},
"regulationPrice": {
"type": "object",
"properties": {
"price": { "type": "number" },
"apiAlias": {
"type": "string",
"enum": ["cart_regulation_price"]
}
},
"nullable": true
},
"hasRange": { "type": "boolean" },
"variantId": {
"type": "string",
"format": "^[0-9a-f]{32}$",
"nullable": true
}
},
"required": [
"hasRange",
"regulationPrice",
"listPrice",
"calculatedTaxes",
"totalPrice",
"quantity",
"unitName"
]
},
"SalesChannelContext": [

@@ -356,0 +409,0 @@ {

4

api-types/storeApiTypes.overrides.ts

@@ -122,4 +122,4 @@ import { components as mainComponents } from "./storeApiTypes";

items: Array<{
id?: string; // TODO: [OpenAPI][addLineItem] - check if this is used at all?
referencedId: string;
id: string; // TODO: [OpenAPI][addLineItem] - check if this is used at all?
referencedId?: string;
quantity?: number;

@@ -126,0 +126,0 @@ type: "product" | "promotion" | "custom" | "credit"; // TODO: [OpenAPI][addLineItem] - add proper type -> see also #456

{
"name": "@shopware/api-client",
"version": "0.0.0-canary-20240702101050",
"version": "0.0.0-canary-20240717093959",
"description": "Shopware client for API connection.",

@@ -5,0 +5,0 @@ "author": "Shopware",

@@ -266,6 +266,6 @@ # shopware/frontends - api-client

### Latest changes: 0.0.0-canary-20240702101050
### Latest changes: 0.0.0-canary-20240717093959
### Patch Changes
- [#1078](https://github.com/shopware/frontends/pull/1078) [`19f2800`](https://github.com/shopware/frontends/commit/19f28003cf937bcb630257cb7cfd2bd131b7cf9d) Thanks [@patzick](https://github.com/patzick)! - Patch for missing `sw-include-seo-url` in OpenAPI schema.
- [#1074](https://github.com/shopware/frontends/pull/1074) [`b688163`](https://github.com/shopware/frontends/commit/b68816391ee8ed1ac94a6462a2a016d708f259b4) Thanks [@mkucmus](https://github.com/mkucmus)! - Update default schemas' `translated` properties as required

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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