@shopware/api-client
Advanced tools
Comparing version 0.0.0-canary-20240702101050 to 0.0.0-canary-20240717093959
@@ -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 @@ { |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15
206044
17039778