@devite/shopware-client 1.7.7 → 1.7.8

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.cjs CHANGED
@@ -477,7 +477,11 @@ class CustomerClient extends Client {
477
477
  }
478
478
  /** Rest Endpoints **/
479
479
  customers = createRestEndpoint(this, "customer", "customer");
480
- addresses = createRestEndpoint(this, "address", "customer address");
480
+ addresses = createRestEndpoint(
481
+ this,
482
+ "customer-address",
483
+ "customer address"
484
+ );
481
485
  groups = createRestEndpoint(this, "customer-group", "customer group");
482
486
  recoveries = createRestEndpoint(
483
487
  this,
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ export * from '#types/index';
3
3
  import { ClientResponse } from '#types/ClientResponse';
4
4
  import { ClientRequestOptions } from '#types/ClientRequestOptions';
5
5
  import { OAuthScope } from '#types/OAuthScope';
6
- import { Aggregation as Aggregation$1 } from '#types/api/global';
6
+ import { Aggregation as Aggregation$1, Price } from '#types/api/global';
7
7
  import { App as App$1 } from '#types/api/admin/app/App';
8
8
  import { AppActionButton as AppActionButton$1 } from '#types/api/admin/app/AppActionButton';
9
9
  import { AppAdministrationSnippet } from '#types/api/admin/app/AppAdministrationSnippet';
@@ -2938,7 +2938,7 @@ interface CustomerWishlist {
2938
2938
 
2939
2939
  type Product = Product$1 & {
2940
2940
  featureSetId?: string;
2941
- price?: Array<CalculatedPrice>;
2941
+ price?: Array<Price>;
2942
2942
  readonly autoIncrement?: number;
2943
2943
  variantRestrictions?: object;
2944
2944
  purchasePrices?: Array<CalculatedPrice>;
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ export * from '#types/index';
3
3
  import { ClientResponse } from '#types/ClientResponse';
4
4
  import { ClientRequestOptions } from '#types/ClientRequestOptions';
5
5
  import { OAuthScope } from '#types/OAuthScope';
6
- import { Aggregation as Aggregation$1 } from '#types/api/global';
6
+ import { Aggregation as Aggregation$1, Price } from '#types/api/global';
7
7
  import { App as App$1 } from '#types/api/admin/app/App';
8
8
  import { AppActionButton as AppActionButton$1 } from '#types/api/admin/app/AppActionButton';
9
9
  import { AppAdministrationSnippet } from '#types/api/admin/app/AppAdministrationSnippet';
@@ -2938,7 +2938,7 @@ interface CustomerWishlist {
2938
2938
 
2939
2939
  type Product = Product$1 & {
2940
2940
  featureSetId?: string;
2941
- price?: Array<CalculatedPrice>;
2941
+ price?: Array<Price>;
2942
2942
  readonly autoIncrement?: number;
2943
2943
  variantRestrictions?: object;
2944
2944
  purchasePrices?: Array<CalculatedPrice>;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export * from '#types/index';
3
3
  import { ClientResponse } from '#types/ClientResponse';
4
4
  import { ClientRequestOptions } from '#types/ClientRequestOptions';
5
5
  import { OAuthScope } from '#types/OAuthScope';
6
- import { Aggregation as Aggregation$1 } from '#types/api/global';
6
+ import { Aggregation as Aggregation$1, Price } from '#types/api/global';
7
7
  import { App as App$1 } from '#types/api/admin/app/App';
8
8
  import { AppActionButton as AppActionButton$1 } from '#types/api/admin/app/AppActionButton';
9
9
  import { AppAdministrationSnippet } from '#types/api/admin/app/AppAdministrationSnippet';
@@ -2938,7 +2938,7 @@ interface CustomerWishlist {
2938
2938
 
2939
2939
  type Product = Product$1 & {
2940
2940
  featureSetId?: string;
2941
- price?: Array<CalculatedPrice>;
2941
+ price?: Array<Price>;
2942
2942
  readonly autoIncrement?: number;
2943
2943
  variantRestrictions?: object;
2944
2944
  purchasePrices?: Array<CalculatedPrice>;
package/dist/index.mjs CHANGED
@@ -475,7 +475,11 @@ class CustomerClient extends Client {
475
475
  }
476
476
  /** Rest Endpoints **/
477
477
  customers = createRestEndpoint(this, "customer", "customer");
478
- addresses = createRestEndpoint(this, "address", "customer address");
478
+ addresses = createRestEndpoint(
479
+ this,
480
+ "customer-address",
481
+ "customer address"
482
+ );
479
483
  groups = createRestEndpoint(this, "customer-group", "customer group");
480
484
  recoveries = createRestEndpoint(
481
485
  this,
@@ -23,9 +23,10 @@ import { ProductStream } from "./stream/ProductStream";
23
23
  import { Tag } from "../Tag";
24
24
  import { CustomFieldSet } from "../custom/field/set/CustomFieldSet";
25
25
  import { CalculatedPrice } from "#types/api/store/price/CalculatedPrice";
26
+ import { Price } from "#types/api/global";
26
27
  export type Product = StoreApiProduct & {
27
28
  featureSetId?: string;
28
- price?: Array<CalculatedPrice>;
29
+ price?: Array<Price>;
29
30
  readonly autoIncrement?: number;
30
31
  variantRestrictions?: object;
31
32
  purchasePrices?: Array<CalculatedPrice>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devite/shopware-client",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "Third party API client for Shopware 6.",
5
5
  "repository": "devite-io/shopware-client",
6
6
  "license": "MIT",