@devite/shopware-client 1.7.6 → 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 +8 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +8 -4
- package/dist/types/api/admin/product/Product.d.ts +2 -1
- package/package.json +1 -1
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(
|
|
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,
|
|
@@ -648,13 +652,13 @@ class MailClient extends Client {
|
|
|
648
652
|
/** Rest Endpoints **/
|
|
649
653
|
headerFooters = createRestEndpoint(
|
|
650
654
|
this,
|
|
651
|
-
"header-footer",
|
|
655
|
+
"mail-header-footer",
|
|
652
656
|
"mail header/footer"
|
|
653
657
|
);
|
|
654
|
-
templates = createRestEndpoint(this, "template", "mail template");
|
|
658
|
+
templates = createRestEndpoint(this, "mail-template", "mail template");
|
|
655
659
|
templateTypes = createRestEndpoint(
|
|
656
660
|
this,
|
|
657
|
-
"template-type",
|
|
661
|
+
"mail-template-type",
|
|
658
662
|
"mail template type"
|
|
659
663
|
);
|
|
660
664
|
}
|
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?:
|
|
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?:
|
|
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?:
|
|
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(
|
|
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,
|
|
@@ -646,13 +650,13 @@ class MailClient extends Client {
|
|
|
646
650
|
/** Rest Endpoints **/
|
|
647
651
|
headerFooters = createRestEndpoint(
|
|
648
652
|
this,
|
|
649
|
-
"header-footer",
|
|
653
|
+
"mail-header-footer",
|
|
650
654
|
"mail header/footer"
|
|
651
655
|
);
|
|
652
|
-
templates = createRestEndpoint(this, "template", "mail template");
|
|
656
|
+
templates = createRestEndpoint(this, "mail-template", "mail template");
|
|
653
657
|
templateTypes = createRestEndpoint(
|
|
654
658
|
this,
|
|
655
|
-
"template-type",
|
|
659
|
+
"mail-template-type",
|
|
656
660
|
"mail template type"
|
|
657
661
|
);
|
|
658
662
|
}
|
|
@@ -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?:
|
|
29
|
+
price?: Array<Price>;
|
|
29
30
|
readonly autoIncrement?: number;
|
|
30
31
|
variantRestrictions?: object;
|
|
31
32
|
purchasePrices?: Array<CalculatedPrice>;
|