@devite/shopware-client 1.2.0 → 1.3.0
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 +1051 -2310
- package/dist/index.d.cts +13 -2
- package/dist/index.d.mts +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.mjs +1051 -2311
- package/dist/types/api/global/query/Criteria.d.ts +1 -1
- package/dist/types/api/store/DeliveryTime.d.ts +1 -0
- package/dist/types/api/store/EntitySearchResult.d.ts +1 -0
- package/dist/types/api/store/Tag.d.ts +1 -0
- package/dist/types/api/store/media/ProductMedia.d.ts +1 -0
- package/dist/types/api/store/product/ProductConfiguratorSetting.d.ts +1 -0
- package/dist/types/api/store/propertyGroup/PropertyGroupOption.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -196,7 +196,7 @@ interface Criteria {
|
|
|
196
196
|
filter?: Filters;
|
|
197
197
|
ids?: Array<string>;
|
|
198
198
|
query?: Array<Query>;
|
|
199
|
-
associations?:
|
|
199
|
+
associations?: Record<string, Criteria>;
|
|
200
200
|
"post-filter"?: Filters;
|
|
201
201
|
sort?: Array<Sort>;
|
|
202
202
|
aggregations?: Aggregation;
|
|
@@ -465,6 +465,7 @@ type OrderAddress$1 = CustomerAddressBody & {
|
|
|
465
465
|
};
|
|
466
466
|
|
|
467
467
|
interface DeliveryTime$1 {
|
|
468
|
+
apiAlias: "delivery_time";
|
|
468
469
|
id: string;
|
|
469
470
|
name: string;
|
|
470
471
|
min: number;
|
|
@@ -556,6 +557,7 @@ interface Media$1 {
|
|
|
556
557
|
}
|
|
557
558
|
|
|
558
559
|
interface Tag$1 {
|
|
560
|
+
apiAlias: "tag";
|
|
559
561
|
id: string;
|
|
560
562
|
name: string;
|
|
561
563
|
readonly createdAt?: string;
|
|
@@ -1041,6 +1043,7 @@ interface Unit$1 {
|
|
|
1041
1043
|
}
|
|
1042
1044
|
|
|
1043
1045
|
interface ProductMedia$1 {
|
|
1046
|
+
apiAlias: "product_media";
|
|
1044
1047
|
id: string;
|
|
1045
1048
|
versionId?: string;
|
|
1046
1049
|
productId: string;
|
|
@@ -1221,6 +1224,7 @@ interface PropertyGroup$1 {
|
|
|
1221
1224
|
}
|
|
1222
1225
|
|
|
1223
1226
|
interface PropertyGroupOption$1 {
|
|
1227
|
+
apiAlias: "property_group_option";
|
|
1224
1228
|
id: string;
|
|
1225
1229
|
groupId: string;
|
|
1226
1230
|
name: string;
|
|
@@ -1237,6 +1241,7 @@ interface PropertyGroupOption$1 {
|
|
|
1237
1241
|
}
|
|
1238
1242
|
|
|
1239
1243
|
interface ProductConfiguratorSetting$1 {
|
|
1244
|
+
apiAlias: "product_configurator_setting";
|
|
1240
1245
|
id: string;
|
|
1241
1246
|
versionId?: string;
|
|
1242
1247
|
productId: string;
|
|
@@ -1750,6 +1755,7 @@ interface CrossSellingElement {
|
|
|
1750
1755
|
}
|
|
1751
1756
|
|
|
1752
1757
|
interface EntitySearchResult {
|
|
1758
|
+
apiAlias: "dal_entity_search_result";
|
|
1753
1759
|
entity?: string;
|
|
1754
1760
|
total?: number;
|
|
1755
1761
|
aggregations?: Array<object>;
|
|
@@ -12535,4 +12541,9 @@ declare class StoreShopwareClient extends ShopwareClient {
|
|
|
12535
12541
|
forWishlist(): WishlistClient;
|
|
12536
12542
|
}
|
|
12537
12543
|
|
|
12538
|
-
|
|
12544
|
+
declare class ShopwareError extends Error {
|
|
12545
|
+
readonly response: ClientResponse;
|
|
12546
|
+
constructor(message: string, response: ClientResponse);
|
|
12547
|
+
}
|
|
12548
|
+
|
|
12549
|
+
export { AdminShopwareClient, type ClientRequestOptions, type ClientResponse, type OAuthResponseBody, type OAuthScope, type RequestCacheEntry, ShopwareClient, ShopwareError, StoreShopwareClient };
|
package/dist/index.d.mts
CHANGED
|
@@ -196,7 +196,7 @@ interface Criteria {
|
|
|
196
196
|
filter?: Filters;
|
|
197
197
|
ids?: Array<string>;
|
|
198
198
|
query?: Array<Query>;
|
|
199
|
-
associations?:
|
|
199
|
+
associations?: Record<string, Criteria>;
|
|
200
200
|
"post-filter"?: Filters;
|
|
201
201
|
sort?: Array<Sort>;
|
|
202
202
|
aggregations?: Aggregation;
|
|
@@ -465,6 +465,7 @@ type OrderAddress$1 = CustomerAddressBody & {
|
|
|
465
465
|
};
|
|
466
466
|
|
|
467
467
|
interface DeliveryTime$1 {
|
|
468
|
+
apiAlias: "delivery_time";
|
|
468
469
|
id: string;
|
|
469
470
|
name: string;
|
|
470
471
|
min: number;
|
|
@@ -556,6 +557,7 @@ interface Media$1 {
|
|
|
556
557
|
}
|
|
557
558
|
|
|
558
559
|
interface Tag$1 {
|
|
560
|
+
apiAlias: "tag";
|
|
559
561
|
id: string;
|
|
560
562
|
name: string;
|
|
561
563
|
readonly createdAt?: string;
|
|
@@ -1041,6 +1043,7 @@ interface Unit$1 {
|
|
|
1041
1043
|
}
|
|
1042
1044
|
|
|
1043
1045
|
interface ProductMedia$1 {
|
|
1046
|
+
apiAlias: "product_media";
|
|
1044
1047
|
id: string;
|
|
1045
1048
|
versionId?: string;
|
|
1046
1049
|
productId: string;
|
|
@@ -1221,6 +1224,7 @@ interface PropertyGroup$1 {
|
|
|
1221
1224
|
}
|
|
1222
1225
|
|
|
1223
1226
|
interface PropertyGroupOption$1 {
|
|
1227
|
+
apiAlias: "property_group_option";
|
|
1224
1228
|
id: string;
|
|
1225
1229
|
groupId: string;
|
|
1226
1230
|
name: string;
|
|
@@ -1237,6 +1241,7 @@ interface PropertyGroupOption$1 {
|
|
|
1237
1241
|
}
|
|
1238
1242
|
|
|
1239
1243
|
interface ProductConfiguratorSetting$1 {
|
|
1244
|
+
apiAlias: "product_configurator_setting";
|
|
1240
1245
|
id: string;
|
|
1241
1246
|
versionId?: string;
|
|
1242
1247
|
productId: string;
|
|
@@ -1750,6 +1755,7 @@ interface CrossSellingElement {
|
|
|
1750
1755
|
}
|
|
1751
1756
|
|
|
1752
1757
|
interface EntitySearchResult {
|
|
1758
|
+
apiAlias: "dal_entity_search_result";
|
|
1753
1759
|
entity?: string;
|
|
1754
1760
|
total?: number;
|
|
1755
1761
|
aggregations?: Array<object>;
|
|
@@ -12535,4 +12541,9 @@ declare class StoreShopwareClient extends ShopwareClient {
|
|
|
12535
12541
|
forWishlist(): WishlistClient;
|
|
12536
12542
|
}
|
|
12537
12543
|
|
|
12538
|
-
|
|
12544
|
+
declare class ShopwareError extends Error {
|
|
12545
|
+
readonly response: ClientResponse;
|
|
12546
|
+
constructor(message: string, response: ClientResponse);
|
|
12547
|
+
}
|
|
12548
|
+
|
|
12549
|
+
export { AdminShopwareClient, type ClientRequestOptions, type ClientResponse, type OAuthResponseBody, type OAuthScope, type RequestCacheEntry, ShopwareClient, ShopwareError, StoreShopwareClient };
|
package/dist/index.d.ts
CHANGED
|
@@ -196,7 +196,7 @@ interface Criteria {
|
|
|
196
196
|
filter?: Filters;
|
|
197
197
|
ids?: Array<string>;
|
|
198
198
|
query?: Array<Query>;
|
|
199
|
-
associations?:
|
|
199
|
+
associations?: Record<string, Criteria>;
|
|
200
200
|
"post-filter"?: Filters;
|
|
201
201
|
sort?: Array<Sort>;
|
|
202
202
|
aggregations?: Aggregation;
|
|
@@ -465,6 +465,7 @@ type OrderAddress$1 = CustomerAddressBody & {
|
|
|
465
465
|
};
|
|
466
466
|
|
|
467
467
|
interface DeliveryTime$1 {
|
|
468
|
+
apiAlias: "delivery_time";
|
|
468
469
|
id: string;
|
|
469
470
|
name: string;
|
|
470
471
|
min: number;
|
|
@@ -556,6 +557,7 @@ interface Media$1 {
|
|
|
556
557
|
}
|
|
557
558
|
|
|
558
559
|
interface Tag$1 {
|
|
560
|
+
apiAlias: "tag";
|
|
559
561
|
id: string;
|
|
560
562
|
name: string;
|
|
561
563
|
readonly createdAt?: string;
|
|
@@ -1041,6 +1043,7 @@ interface Unit$1 {
|
|
|
1041
1043
|
}
|
|
1042
1044
|
|
|
1043
1045
|
interface ProductMedia$1 {
|
|
1046
|
+
apiAlias: "product_media";
|
|
1044
1047
|
id: string;
|
|
1045
1048
|
versionId?: string;
|
|
1046
1049
|
productId: string;
|
|
@@ -1221,6 +1224,7 @@ interface PropertyGroup$1 {
|
|
|
1221
1224
|
}
|
|
1222
1225
|
|
|
1223
1226
|
interface PropertyGroupOption$1 {
|
|
1227
|
+
apiAlias: "property_group_option";
|
|
1224
1228
|
id: string;
|
|
1225
1229
|
groupId: string;
|
|
1226
1230
|
name: string;
|
|
@@ -1237,6 +1241,7 @@ interface PropertyGroupOption$1 {
|
|
|
1237
1241
|
}
|
|
1238
1242
|
|
|
1239
1243
|
interface ProductConfiguratorSetting$1 {
|
|
1244
|
+
apiAlias: "product_configurator_setting";
|
|
1240
1245
|
id: string;
|
|
1241
1246
|
versionId?: string;
|
|
1242
1247
|
productId: string;
|
|
@@ -1750,6 +1755,7 @@ interface CrossSellingElement {
|
|
|
1750
1755
|
}
|
|
1751
1756
|
|
|
1752
1757
|
interface EntitySearchResult {
|
|
1758
|
+
apiAlias: "dal_entity_search_result";
|
|
1753
1759
|
entity?: string;
|
|
1754
1760
|
total?: number;
|
|
1755
1761
|
aggregations?: Array<object>;
|
|
@@ -12535,4 +12541,9 @@ declare class StoreShopwareClient extends ShopwareClient {
|
|
|
12535
12541
|
forWishlist(): WishlistClient;
|
|
12536
12542
|
}
|
|
12537
12543
|
|
|
12538
|
-
|
|
12544
|
+
declare class ShopwareError extends Error {
|
|
12545
|
+
readonly response: ClientResponse;
|
|
12546
|
+
constructor(message: string, response: ClientResponse);
|
|
12547
|
+
}
|
|
12548
|
+
|
|
12549
|
+
export { AdminShopwareClient, type ClientRequestOptions, type ClientResponse, type OAuthResponseBody, type OAuthScope, type RequestCacheEntry, ShopwareClient, ShopwareError, StoreShopwareClient };
|