@devite/shopware-client 1.1.0 → 1.1.1
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 +1684 -389
- package/dist/index.d.cts +16 -16
- package/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.mjs +1684 -389
- package/dist/types/clients/admin/index.d.ts +38 -1
- package/dist/types/clients/store/ContextClient.d.ts +0 -3
- package/dist/types/clients/store/index.d.ts +15 -15
- package/package.json +3 -3
- /package/dist/types/clients/store/{CustomerAuthenticationClient.d.ts → CustomerAuthClient.d.ts} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -11993,15 +11993,15 @@ declare class CartClient extends Client {
|
|
|
11993
11993
|
/**
|
|
11994
11994
|
* @throws {Error} if the request failed
|
|
11995
11995
|
*/
|
|
11996
|
-
|
|
11996
|
+
addLineItems(request: CartAddItemsRequest): Promise<CartAddItemsResponse>;
|
|
11997
11997
|
/**
|
|
11998
11998
|
* @throws {Error} if the request failed
|
|
11999
11999
|
*/
|
|
12000
|
-
|
|
12000
|
+
removeLineItems(request: CartRemoveItemsRequest): Promise<CartRemoveItemsResponse>;
|
|
12001
12001
|
/**
|
|
12002
12002
|
* @throws {Error} if the request failed
|
|
12003
12003
|
*/
|
|
12004
|
-
|
|
12004
|
+
updateLineItems(request: CartUpdateItemsRequest): Promise<CartUpdateItemsResponse>;
|
|
12005
12005
|
}
|
|
12006
12006
|
|
|
12007
12007
|
type CategoryListRequest = Criteria;
|
|
@@ -12144,7 +12144,7 @@ interface CustomerLoginImitateResponse {
|
|
|
12144
12144
|
redirectUrl?: string;
|
|
12145
12145
|
}
|
|
12146
12146
|
|
|
12147
|
-
declare class
|
|
12147
|
+
declare class CustomerAuthClient extends Client {
|
|
12148
12148
|
/**
|
|
12149
12149
|
* @throws {Error} if the request failed
|
|
12150
12150
|
*/
|
|
@@ -12166,7 +12166,7 @@ declare class DocumentClient extends Client {
|
|
|
12166
12166
|
/**
|
|
12167
12167
|
* @throws {Error} if the request failed
|
|
12168
12168
|
*/
|
|
12169
|
-
|
|
12169
|
+
download(id: string, deepLinkCode: string, request: DocumentDownloadRequest): Promise<DocumentDownloadResponse>;
|
|
12170
12170
|
}
|
|
12171
12171
|
|
|
12172
12172
|
interface GatewayCheckoutResponse {
|
|
@@ -12273,7 +12273,7 @@ declare class OrderClient extends Client {
|
|
|
12273
12273
|
/**
|
|
12274
12274
|
* @throws {Error} if the request failed
|
|
12275
12275
|
*/
|
|
12276
|
-
|
|
12276
|
+
cancel(request: OrderCancelRequest): Promise<OrderCancelResponse>;
|
|
12277
12277
|
/**
|
|
12278
12278
|
* @throws {Error} if the request failed
|
|
12279
12279
|
*/
|
|
@@ -12281,7 +12281,7 @@ declare class OrderClient extends Client {
|
|
|
12281
12281
|
/**
|
|
12282
12282
|
* @throws {Error} if the request failed
|
|
12283
12283
|
*/
|
|
12284
|
-
|
|
12284
|
+
updatePaymentMethod(request: OrderUpdatePaymentMethodRequest): Promise<OrderUpdatePaymentMethodResponse>;
|
|
12285
12285
|
/**
|
|
12286
12286
|
* @throws {Error} if the request failed
|
|
12287
12287
|
*/
|
|
@@ -12289,7 +12289,7 @@ declare class OrderClient extends Client {
|
|
|
12289
12289
|
/**
|
|
12290
12290
|
* @throws {Error} if the request failed
|
|
12291
12291
|
*/
|
|
12292
|
-
|
|
12292
|
+
createFromCart(request?: OrderFromCartRequest): Promise<OrderFromCartResponse>;
|
|
12293
12293
|
}
|
|
12294
12294
|
|
|
12295
12295
|
interface ProductListingFlags {
|
|
@@ -12350,15 +12350,15 @@ declare class ProductClient extends Client {
|
|
|
12350
12350
|
/**
|
|
12351
12351
|
* @throws {Error} if the request failed
|
|
12352
12352
|
*/
|
|
12353
|
-
|
|
12353
|
+
getListingByCategory(categoryId: string, request?: ProductListingListWithCategoryRequest): Promise<ProductListingListWithCategoryResponse>;
|
|
12354
12354
|
/**
|
|
12355
12355
|
* @throws {Error} if the request failed
|
|
12356
12356
|
*/
|
|
12357
|
-
getCrossSellingGroupsForProduct(
|
|
12357
|
+
getCrossSellingGroupsForProduct(id: string): Promise<ProductCrossSellingGroupListResponse>;
|
|
12358
12358
|
/**
|
|
12359
12359
|
* @throws {Error} if the request failed
|
|
12360
12360
|
*/
|
|
12361
|
-
getProduct(
|
|
12361
|
+
getProduct(id: string, includeSeoUrls: boolean, request?: ProductSingleRequest): Promise<ProductSingleResponse>;
|
|
12362
12362
|
/**
|
|
12363
12363
|
* @throws {Error} if the request failed
|
|
12364
12364
|
*/
|
|
@@ -12366,15 +12366,15 @@ declare class ProductClient extends Client {
|
|
|
12366
12366
|
/**
|
|
12367
12367
|
* @throws {Error} if the request failed
|
|
12368
12368
|
*/
|
|
12369
|
-
getReviewsForProduct(
|
|
12369
|
+
getReviewsForProduct(id: string, request?: ProductReviewListRequest): Promise<ProductReviewListResponse>;
|
|
12370
12370
|
/**
|
|
12371
12371
|
* @throws {Error} if the request failed
|
|
12372
12372
|
*/
|
|
12373
|
-
saveReviewForProduct(
|
|
12373
|
+
saveReviewForProduct(id: string, request: ProductReviewSaveRequest): Promise<void>;
|
|
12374
12374
|
/**
|
|
12375
12375
|
* @throws {Error} if the request failed
|
|
12376
12376
|
*/
|
|
12377
|
-
|
|
12377
|
+
findVariantWithOptions(id: string, request: ProductVariantWithOptionsRequest): Promise<ProductVariantWithOptionsResponse>;
|
|
12378
12378
|
/**
|
|
12379
12379
|
* @throws {Error} if the request failed
|
|
12380
12380
|
*/
|
|
@@ -12396,7 +12396,7 @@ declare class SeoClient extends Client {
|
|
|
12396
12396
|
/**
|
|
12397
12397
|
* @throws {Error} if the request failed
|
|
12398
12398
|
*/
|
|
12399
|
-
|
|
12399
|
+
getRoutes(request?: SeoRouteListRequest): Promise<SeoRouteListResponse>;
|
|
12400
12400
|
/**
|
|
12401
12401
|
* @throws {Error} if the request failed
|
|
12402
12402
|
*/
|
|
@@ -12523,7 +12523,7 @@ declare class StoreShopwareClient extends ShopwareClient {
|
|
|
12523
12523
|
forCategory(): CategoryClient;
|
|
12524
12524
|
forContent(): ContentClient;
|
|
12525
12525
|
forContext(): ContextClient;
|
|
12526
|
-
|
|
12526
|
+
forCustomerAuth(): CustomerAuthClient;
|
|
12527
12527
|
forDocument(): DocumentClient;
|
|
12528
12528
|
forGateway(): GatewayClient;
|
|
12529
12529
|
forNewsletter(): NewsletterClient;
|
package/dist/index.d.mts
CHANGED
|
@@ -11993,15 +11993,15 @@ declare class CartClient extends Client {
|
|
|
11993
11993
|
/**
|
|
11994
11994
|
* @throws {Error} if the request failed
|
|
11995
11995
|
*/
|
|
11996
|
-
|
|
11996
|
+
addLineItems(request: CartAddItemsRequest): Promise<CartAddItemsResponse>;
|
|
11997
11997
|
/**
|
|
11998
11998
|
* @throws {Error} if the request failed
|
|
11999
11999
|
*/
|
|
12000
|
-
|
|
12000
|
+
removeLineItems(request: CartRemoveItemsRequest): Promise<CartRemoveItemsResponse>;
|
|
12001
12001
|
/**
|
|
12002
12002
|
* @throws {Error} if the request failed
|
|
12003
12003
|
*/
|
|
12004
|
-
|
|
12004
|
+
updateLineItems(request: CartUpdateItemsRequest): Promise<CartUpdateItemsResponse>;
|
|
12005
12005
|
}
|
|
12006
12006
|
|
|
12007
12007
|
type CategoryListRequest = Criteria;
|
|
@@ -12144,7 +12144,7 @@ interface CustomerLoginImitateResponse {
|
|
|
12144
12144
|
redirectUrl?: string;
|
|
12145
12145
|
}
|
|
12146
12146
|
|
|
12147
|
-
declare class
|
|
12147
|
+
declare class CustomerAuthClient extends Client {
|
|
12148
12148
|
/**
|
|
12149
12149
|
* @throws {Error} if the request failed
|
|
12150
12150
|
*/
|
|
@@ -12166,7 +12166,7 @@ declare class DocumentClient extends Client {
|
|
|
12166
12166
|
/**
|
|
12167
12167
|
* @throws {Error} if the request failed
|
|
12168
12168
|
*/
|
|
12169
|
-
|
|
12169
|
+
download(id: string, deepLinkCode: string, request: DocumentDownloadRequest): Promise<DocumentDownloadResponse>;
|
|
12170
12170
|
}
|
|
12171
12171
|
|
|
12172
12172
|
interface GatewayCheckoutResponse {
|
|
@@ -12273,7 +12273,7 @@ declare class OrderClient extends Client {
|
|
|
12273
12273
|
/**
|
|
12274
12274
|
* @throws {Error} if the request failed
|
|
12275
12275
|
*/
|
|
12276
|
-
|
|
12276
|
+
cancel(request: OrderCancelRequest): Promise<OrderCancelResponse>;
|
|
12277
12277
|
/**
|
|
12278
12278
|
* @throws {Error} if the request failed
|
|
12279
12279
|
*/
|
|
@@ -12281,7 +12281,7 @@ declare class OrderClient extends Client {
|
|
|
12281
12281
|
/**
|
|
12282
12282
|
* @throws {Error} if the request failed
|
|
12283
12283
|
*/
|
|
12284
|
-
|
|
12284
|
+
updatePaymentMethod(request: OrderUpdatePaymentMethodRequest): Promise<OrderUpdatePaymentMethodResponse>;
|
|
12285
12285
|
/**
|
|
12286
12286
|
* @throws {Error} if the request failed
|
|
12287
12287
|
*/
|
|
@@ -12289,7 +12289,7 @@ declare class OrderClient extends Client {
|
|
|
12289
12289
|
/**
|
|
12290
12290
|
* @throws {Error} if the request failed
|
|
12291
12291
|
*/
|
|
12292
|
-
|
|
12292
|
+
createFromCart(request?: OrderFromCartRequest): Promise<OrderFromCartResponse>;
|
|
12293
12293
|
}
|
|
12294
12294
|
|
|
12295
12295
|
interface ProductListingFlags {
|
|
@@ -12350,15 +12350,15 @@ declare class ProductClient extends Client {
|
|
|
12350
12350
|
/**
|
|
12351
12351
|
* @throws {Error} if the request failed
|
|
12352
12352
|
*/
|
|
12353
|
-
|
|
12353
|
+
getListingByCategory(categoryId: string, request?: ProductListingListWithCategoryRequest): Promise<ProductListingListWithCategoryResponse>;
|
|
12354
12354
|
/**
|
|
12355
12355
|
* @throws {Error} if the request failed
|
|
12356
12356
|
*/
|
|
12357
|
-
getCrossSellingGroupsForProduct(
|
|
12357
|
+
getCrossSellingGroupsForProduct(id: string): Promise<ProductCrossSellingGroupListResponse>;
|
|
12358
12358
|
/**
|
|
12359
12359
|
* @throws {Error} if the request failed
|
|
12360
12360
|
*/
|
|
12361
|
-
getProduct(
|
|
12361
|
+
getProduct(id: string, includeSeoUrls: boolean, request?: ProductSingleRequest): Promise<ProductSingleResponse>;
|
|
12362
12362
|
/**
|
|
12363
12363
|
* @throws {Error} if the request failed
|
|
12364
12364
|
*/
|
|
@@ -12366,15 +12366,15 @@ declare class ProductClient extends Client {
|
|
|
12366
12366
|
/**
|
|
12367
12367
|
* @throws {Error} if the request failed
|
|
12368
12368
|
*/
|
|
12369
|
-
getReviewsForProduct(
|
|
12369
|
+
getReviewsForProduct(id: string, request?: ProductReviewListRequest): Promise<ProductReviewListResponse>;
|
|
12370
12370
|
/**
|
|
12371
12371
|
* @throws {Error} if the request failed
|
|
12372
12372
|
*/
|
|
12373
|
-
saveReviewForProduct(
|
|
12373
|
+
saveReviewForProduct(id: string, request: ProductReviewSaveRequest): Promise<void>;
|
|
12374
12374
|
/**
|
|
12375
12375
|
* @throws {Error} if the request failed
|
|
12376
12376
|
*/
|
|
12377
|
-
|
|
12377
|
+
findVariantWithOptions(id: string, request: ProductVariantWithOptionsRequest): Promise<ProductVariantWithOptionsResponse>;
|
|
12378
12378
|
/**
|
|
12379
12379
|
* @throws {Error} if the request failed
|
|
12380
12380
|
*/
|
|
@@ -12396,7 +12396,7 @@ declare class SeoClient extends Client {
|
|
|
12396
12396
|
/**
|
|
12397
12397
|
* @throws {Error} if the request failed
|
|
12398
12398
|
*/
|
|
12399
|
-
|
|
12399
|
+
getRoutes(request?: SeoRouteListRequest): Promise<SeoRouteListResponse>;
|
|
12400
12400
|
/**
|
|
12401
12401
|
* @throws {Error} if the request failed
|
|
12402
12402
|
*/
|
|
@@ -12523,7 +12523,7 @@ declare class StoreShopwareClient extends ShopwareClient {
|
|
|
12523
12523
|
forCategory(): CategoryClient;
|
|
12524
12524
|
forContent(): ContentClient;
|
|
12525
12525
|
forContext(): ContextClient;
|
|
12526
|
-
|
|
12526
|
+
forCustomerAuth(): CustomerAuthClient;
|
|
12527
12527
|
forDocument(): DocumentClient;
|
|
12528
12528
|
forGateway(): GatewayClient;
|
|
12529
12529
|
forNewsletter(): NewsletterClient;
|
package/dist/index.d.ts
CHANGED
|
@@ -11993,15 +11993,15 @@ declare class CartClient extends Client {
|
|
|
11993
11993
|
/**
|
|
11994
11994
|
* @throws {Error} if the request failed
|
|
11995
11995
|
*/
|
|
11996
|
-
|
|
11996
|
+
addLineItems(request: CartAddItemsRequest): Promise<CartAddItemsResponse>;
|
|
11997
11997
|
/**
|
|
11998
11998
|
* @throws {Error} if the request failed
|
|
11999
11999
|
*/
|
|
12000
|
-
|
|
12000
|
+
removeLineItems(request: CartRemoveItemsRequest): Promise<CartRemoveItemsResponse>;
|
|
12001
12001
|
/**
|
|
12002
12002
|
* @throws {Error} if the request failed
|
|
12003
12003
|
*/
|
|
12004
|
-
|
|
12004
|
+
updateLineItems(request: CartUpdateItemsRequest): Promise<CartUpdateItemsResponse>;
|
|
12005
12005
|
}
|
|
12006
12006
|
|
|
12007
12007
|
type CategoryListRequest = Criteria;
|
|
@@ -12144,7 +12144,7 @@ interface CustomerLoginImitateResponse {
|
|
|
12144
12144
|
redirectUrl?: string;
|
|
12145
12145
|
}
|
|
12146
12146
|
|
|
12147
|
-
declare class
|
|
12147
|
+
declare class CustomerAuthClient extends Client {
|
|
12148
12148
|
/**
|
|
12149
12149
|
* @throws {Error} if the request failed
|
|
12150
12150
|
*/
|
|
@@ -12166,7 +12166,7 @@ declare class DocumentClient extends Client {
|
|
|
12166
12166
|
/**
|
|
12167
12167
|
* @throws {Error} if the request failed
|
|
12168
12168
|
*/
|
|
12169
|
-
|
|
12169
|
+
download(id: string, deepLinkCode: string, request: DocumentDownloadRequest): Promise<DocumentDownloadResponse>;
|
|
12170
12170
|
}
|
|
12171
12171
|
|
|
12172
12172
|
interface GatewayCheckoutResponse {
|
|
@@ -12273,7 +12273,7 @@ declare class OrderClient extends Client {
|
|
|
12273
12273
|
/**
|
|
12274
12274
|
* @throws {Error} if the request failed
|
|
12275
12275
|
*/
|
|
12276
|
-
|
|
12276
|
+
cancel(request: OrderCancelRequest): Promise<OrderCancelResponse>;
|
|
12277
12277
|
/**
|
|
12278
12278
|
* @throws {Error} if the request failed
|
|
12279
12279
|
*/
|
|
@@ -12281,7 +12281,7 @@ declare class OrderClient extends Client {
|
|
|
12281
12281
|
/**
|
|
12282
12282
|
* @throws {Error} if the request failed
|
|
12283
12283
|
*/
|
|
12284
|
-
|
|
12284
|
+
updatePaymentMethod(request: OrderUpdatePaymentMethodRequest): Promise<OrderUpdatePaymentMethodResponse>;
|
|
12285
12285
|
/**
|
|
12286
12286
|
* @throws {Error} if the request failed
|
|
12287
12287
|
*/
|
|
@@ -12289,7 +12289,7 @@ declare class OrderClient extends Client {
|
|
|
12289
12289
|
/**
|
|
12290
12290
|
* @throws {Error} if the request failed
|
|
12291
12291
|
*/
|
|
12292
|
-
|
|
12292
|
+
createFromCart(request?: OrderFromCartRequest): Promise<OrderFromCartResponse>;
|
|
12293
12293
|
}
|
|
12294
12294
|
|
|
12295
12295
|
interface ProductListingFlags {
|
|
@@ -12350,15 +12350,15 @@ declare class ProductClient extends Client {
|
|
|
12350
12350
|
/**
|
|
12351
12351
|
* @throws {Error} if the request failed
|
|
12352
12352
|
*/
|
|
12353
|
-
|
|
12353
|
+
getListingByCategory(categoryId: string, request?: ProductListingListWithCategoryRequest): Promise<ProductListingListWithCategoryResponse>;
|
|
12354
12354
|
/**
|
|
12355
12355
|
* @throws {Error} if the request failed
|
|
12356
12356
|
*/
|
|
12357
|
-
getCrossSellingGroupsForProduct(
|
|
12357
|
+
getCrossSellingGroupsForProduct(id: string): Promise<ProductCrossSellingGroupListResponse>;
|
|
12358
12358
|
/**
|
|
12359
12359
|
* @throws {Error} if the request failed
|
|
12360
12360
|
*/
|
|
12361
|
-
getProduct(
|
|
12361
|
+
getProduct(id: string, includeSeoUrls: boolean, request?: ProductSingleRequest): Promise<ProductSingleResponse>;
|
|
12362
12362
|
/**
|
|
12363
12363
|
* @throws {Error} if the request failed
|
|
12364
12364
|
*/
|
|
@@ -12366,15 +12366,15 @@ declare class ProductClient extends Client {
|
|
|
12366
12366
|
/**
|
|
12367
12367
|
* @throws {Error} if the request failed
|
|
12368
12368
|
*/
|
|
12369
|
-
getReviewsForProduct(
|
|
12369
|
+
getReviewsForProduct(id: string, request?: ProductReviewListRequest): Promise<ProductReviewListResponse>;
|
|
12370
12370
|
/**
|
|
12371
12371
|
* @throws {Error} if the request failed
|
|
12372
12372
|
*/
|
|
12373
|
-
saveReviewForProduct(
|
|
12373
|
+
saveReviewForProduct(id: string, request: ProductReviewSaveRequest): Promise<void>;
|
|
12374
12374
|
/**
|
|
12375
12375
|
* @throws {Error} if the request failed
|
|
12376
12376
|
*/
|
|
12377
|
-
|
|
12377
|
+
findVariantWithOptions(id: string, request: ProductVariantWithOptionsRequest): Promise<ProductVariantWithOptionsResponse>;
|
|
12378
12378
|
/**
|
|
12379
12379
|
* @throws {Error} if the request failed
|
|
12380
12380
|
*/
|
|
@@ -12396,7 +12396,7 @@ declare class SeoClient extends Client {
|
|
|
12396
12396
|
/**
|
|
12397
12397
|
* @throws {Error} if the request failed
|
|
12398
12398
|
*/
|
|
12399
|
-
|
|
12399
|
+
getRoutes(request?: SeoRouteListRequest): Promise<SeoRouteListResponse>;
|
|
12400
12400
|
/**
|
|
12401
12401
|
* @throws {Error} if the request failed
|
|
12402
12402
|
*/
|
|
@@ -12523,7 +12523,7 @@ declare class StoreShopwareClient extends ShopwareClient {
|
|
|
12523
12523
|
forCategory(): CategoryClient;
|
|
12524
12524
|
forContent(): ContentClient;
|
|
12525
12525
|
forContext(): ContextClient;
|
|
12526
|
-
|
|
12526
|
+
forCustomerAuth(): CustomerAuthClient;
|
|
12527
12527
|
forDocument(): DocumentClient;
|
|
12528
12528
|
forGateway(): GatewayClient;
|
|
12529
12529
|
forNewsletter(): NewsletterClient;
|