@devite/shopware-client 1.9.0 → 1.9.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.d.cts +12 -13
- package/dist/index.d.mts +12 -13
- package/dist/index.d.ts +12 -13
- package/dist/types/api/admin/LogEntry.d.ts +1 -1
- package/dist/types/api/admin/Notification.d.ts +1 -1
- package/dist/types/api/admin/ScheduledTask.d.ts +1 -1
- package/dist/types/api/admin/ShopwarePlugin.d.ts +2 -2
- package/dist/types/api/admin/SystemConfigEntry.d.ts +1 -1
- package/dist/types/api/admin/acl/AclRole.d.ts +1 -1
- package/dist/types/api/admin/acl/AclUserRole.d.ts +1 -1
- package/dist/types/api/admin/app/App.d.ts +2 -2
- package/dist/types/api/admin/app/AppActionButton.d.ts +2 -2
- package/dist/types/api/admin/category/Category.d.ts +3 -5
- package/dist/types/api/admin/category/MainCategory.d.ts +1 -1
- package/dist/types/api/admin/cms/CmsPage.d.ts +5 -1
- package/dist/types/api/admin/cms/CmsSection.d.ts +1 -3
- package/dist/types/api/admin/cms/CmsSlot.d.ts +1 -1
- package/dist/types/api/admin/cms/landingPage/LandingPage.d.ts +1 -1
- package/dist/types/api/admin/country/Country.d.ts +1 -1
- package/dist/types/api/admin/currency/CurrencyCountryRounding.d.ts +1 -1
- package/dist/types/api/admin/custom/field/CustomField.d.ts +1 -1
- package/dist/types/api/admin/custom/field/set/CustomFieldSet.d.ts +1 -1
- package/dist/types/api/admin/customer/Customer.d.ts +2 -2
- package/dist/types/api/admin/customer/CustomerAddress.d.ts +1 -1
- package/dist/types/api/admin/customer/{group/CustomerGroup.d.ts → CustomerGroup.d.ts} +2 -2
- package/dist/types/api/admin/customer/index.d.ts +1 -1
- package/dist/types/api/admin/document/ShopwareDocument.d.ts +1 -1
- package/dist/types/api/admin/document/ShopwareDocumentBaseConfig.d.ts +1 -1
- package/dist/types/api/admin/locale/Language.d.ts +1 -1
- package/dist/types/api/admin/mail/MailHeaderFooter.d.ts +2 -2
- package/dist/types/api/admin/mail/template/MailTemplate.d.ts +2 -2
- package/dist/types/api/admin/mail/template/MailTemplateType.d.ts +2 -2
- package/dist/types/api/admin/media/Media.d.ts +1 -1
- package/dist/types/api/admin/media/thumbnail/MediaThumbnail.d.ts +1 -1
- package/dist/types/api/admin/media/thumbnail/MediaThumbnailSize.d.ts +1 -1
- package/dist/types/api/admin/newsletterRecipient/NewsletterRecipient.d.ts +1 -1
- package/dist/types/api/admin/numberRange/NumberRange.d.ts +2 -2
- package/dist/types/api/admin/numberRange/NumberRangeState.d.ts +1 -1
- package/dist/types/api/admin/numberRange/NumberRangeType.d.ts +2 -2
- package/dist/types/api/admin/order/Order.d.ts +2 -2
- package/dist/types/api/admin/order/OrderAddress.d.ts +1 -1
- package/dist/types/api/admin/order/OrderCustomer.d.ts +1 -1
- package/dist/types/api/admin/order/delivery/OrderDelivery.d.ts +1 -1
- package/dist/types/api/admin/order/delivery/OrderDeliveryPosition.d.ts +1 -1
- package/dist/types/api/admin/order/lineItem/OrderLineItem.d.ts +1 -1
- package/dist/types/api/admin/order/lineItem/OrderLineItemDownload.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/OrderTransaction.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCapture.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +1 -1
- package/dist/types/api/admin/paymentMethod/PaymentMethod.d.ts +1 -1
- package/dist/types/api/admin/product/Product.d.ts +17 -11
- package/dist/types/api/admin/product/ProductDownload.d.ts +2 -2
- package/dist/types/api/admin/product/ProductManufacturer.d.ts +12 -2
- package/dist/types/api/admin/product/ProductMedia.d.ts +1 -1
- package/dist/types/api/admin/product/ProductPrice.d.ts +1 -1
- package/dist/types/api/admin/product/ProductSorting.d.ts +2 -2
- package/dist/types/api/admin/product/crossSelling/ProductCrossSellingAssignedProduct.d.ts +1 -1
- package/dist/types/api/admin/product/search/ProductSearchKeyword.d.ts +1 -1
- package/dist/types/api/admin/product/search/config/ProductSearchConfig.d.ts +1 -1
- package/dist/types/api/admin/product/search/config/ProductSearchConfigField.d.ts +1 -1
- package/dist/types/api/admin/product/stream/ProductStreamFilter.d.ts +1 -1
- package/dist/types/api/admin/promotion/Promotion.d.ts +2 -2
- package/dist/types/api/admin/promotion/PromotionIndividualCode.d.ts +1 -1
- package/dist/types/api/admin/promotion/PromotionSalesChannel.d.ts +1 -1
- package/dist/types/api/admin/promotion/PromotionSetGroup.d.ts +1 -1
- package/dist/types/api/admin/promotion/discount/PromotionDiscount.d.ts +1 -1
- package/dist/types/api/admin/promotion/discount/PromotionDiscountPrice.d.ts +1 -1
- package/dist/types/api/admin/propertyGroup/PropertyGroup.d.ts +1 -1
- package/dist/types/api/admin/propertyGroup/PropertyGroupOption.d.ts +1 -1
- package/dist/types/api/admin/rule/RuleCondition.d.ts +1 -1
- package/dist/types/api/admin/salesChannel/SalesChannel.d.ts +2 -2
- package/dist/types/api/admin/salesChannel/SalesChannelDomain.d.ts +1 -1
- package/dist/types/api/admin/salesChannel/SalesChannelType.d.ts +2 -2
- package/dist/types/api/admin/seo/SeoUrl.d.ts +1 -1
- package/dist/types/api/admin/seo/SeoUrlTemplate.d.ts +1 -1
- package/dist/types/api/admin/shippingMethod/AppShippingMethod.d.ts +1 -1
- package/dist/types/api/admin/shippingMethod/ShippingMethod.d.ts +1 -1
- package/dist/types/api/admin/shippingMethod/ShippingMethodPrice.d.ts +1 -1
- package/dist/types/api/admin/stateMachine/StateMachine.d.ts +2 -2
- package/dist/types/api/admin/stateMachine/StateMachineHistory.d.ts +1 -1
- package/dist/types/api/admin/stateMachine/StateMachineTransition.d.ts +1 -1
- package/dist/types/api/admin/tax/TaxProvider.d.ts +2 -2
- package/dist/types/api/admin/tax/rule/TaxRule.d.ts +1 -1
- package/dist/types/api/admin/tax/rule/TaxRuleType.d.ts +2 -2
- package/dist/types/api/admin/user/User.d.ts +1 -1
- package/dist/types/api/admin/user/UserAccessKey.d.ts +1 -1
- package/dist/types/api/admin/user/UserConfig.d.ts +1 -1
- package/dist/types/api/admin/webhook/Webhook.d.ts +1 -1
- package/dist/types/api/admin/webhook/WebhookEventLog.d.ts +1 -1
- package/dist/types/api/store/Currency.d.ts +2 -2
- package/dist/types/api/store/DeliveryTime.d.ts +2 -2
- package/dist/types/api/store/PaymentMethod.d.ts +2 -2
- package/dist/types/api/store/Rule.d.ts +1 -1
- package/dist/types/api/store/Salutation.d.ts +2 -2
- package/dist/types/api/store/StateMachineState.d.ts +2 -2
- package/dist/types/api/store/Tag.d.ts +1 -1
- package/dist/types/api/store/Tax.d.ts +1 -1
- package/dist/types/api/store/Unit.d.ts +2 -2
- package/dist/types/api/store/cart/Cart.d.ts +1 -2
- package/dist/types/api/store/cart/delivery/CartDelivery.d.ts +1 -0
- package/dist/types/api/store/cart/lineItem/CartLineItem.d.ts +3 -0
- package/dist/types/api/store/category/Category.d.ts +5 -6
- package/dist/types/api/store/category/MainCategory.d.ts +1 -1
- package/dist/types/api/store/cms/CmsBlock.d.ts +1 -1
- package/dist/types/api/store/cms/CmsPage.d.ts +2 -2
- package/dist/types/api/store/cms/CmsSection.d.ts +3 -2
- package/dist/types/api/store/cms/CmsSlot.d.ts +2 -2
- package/dist/types/api/store/cms/LandingPage.d.ts +2 -2
- package/dist/types/api/store/country/Country.d.ts +2 -2
- package/dist/types/api/store/country/CountryState.d.ts +2 -2
- package/dist/types/api/store/customer/Customer.d.ts +1 -1
- package/dist/types/api/store/customer/CustomerGroup.d.ts +2 -2
- package/dist/types/api/store/customer/address/CustomerAddress.d.ts +1 -1
- package/dist/types/api/store/customer/address/CustomerAddressBody.d.ts +1 -1
- package/dist/types/api/store/document/ShopwareDocument.d.ts +1 -1
- package/dist/types/api/store/document/ShopwareDocumentBaseConfig.d.ts +1 -1
- package/dist/types/api/store/document/ShopwareDocumentType.d.ts +2 -2
- package/dist/types/api/store/locale/Language.d.ts +1 -1
- package/dist/types/api/store/locale/Locale.d.ts +2 -2
- package/dist/types/api/store/media/Media.d.ts +2 -2
- package/dist/types/api/store/media/MediaThumbnail.d.ts +1 -1
- package/dist/types/api/store/media/ProductMedia.d.ts +1 -1
- package/dist/types/api/store/order/OrderAddress.d.ts +1 -1
- package/dist/types/api/store/order/OrderCustomer.d.ts +1 -1
- package/dist/types/api/store/order/OrderLineItem.d.ts +5 -29
- package/dist/types/api/store/order/OrderLineItemDownload.d.ts +1 -1
- package/dist/types/api/store/order/delivery/OrderDelivery.d.ts +1 -1
- package/dist/types/api/store/order/delivery/OrderDeliveryPosition.d.ts +1 -1
- package/dist/types/api/store/order/transaction/OrderTransaction.d.ts +1 -1
- package/dist/types/api/store/order/transaction/capture/OrderTransactionCapture.d.ts +1 -1
- package/dist/types/api/store/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +1 -1
- package/dist/types/api/store/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +1 -1
- package/dist/types/api/store/product/Product.d.ts +4 -8
- package/dist/types/api/store/product/ProductDownload.d.ts +1 -1
- package/dist/types/api/store/product/ProductListingResult.d.ts +1 -1
- package/dist/types/api/store/product/ProductReview.d.ts +1 -1
- package/dist/types/api/store/product/ProductStream.d.ts +2 -2
- package/dist/types/api/store/product/crossSelling/ProductCrossSelling.d.ts +2 -2
- package/dist/types/api/store/product/index.d.ts +0 -1
- package/dist/types/api/store/propertyGroup/PropertyGroup.d.ts +2 -2
- package/dist/types/api/store/propertyGroup/PropertyGroupOption.d.ts +2 -2
- package/dist/types/api/store/salesChannel/SalesChannel.d.ts +2 -2
- package/dist/types/api/store/seo/SeoUrlEntity.d.ts +1 -1
- package/dist/types/api/store/shippingMethod/ShippingMethod.d.ts +2 -2
- package/dist/types/api/store/shippingMethod/ShippingMethodPrice.d.ts +1 -1
- package/dist/types/clients/store/AccountClient.d.ts +3 -3
- package/package.json +1 -1
- package/dist/types/api/admin/customer/group/CustomerGroupRegistrationSalesChannels.d.ts +0 -10
- package/dist/types/api/admin/customer/group/index.d.ts +0 -2
- package/dist/types/api/store/product/ProductManufacturer.d.ts +0 -15
|
@@ -11,9 +11,9 @@ export interface TaxProvider {
|
|
|
11
11
|
availabilityRuleId?: string;
|
|
12
12
|
appId?: string;
|
|
13
13
|
customFields?: GenericRecord;
|
|
14
|
-
readonly createdAt
|
|
14
|
+
readonly createdAt: string;
|
|
15
15
|
readonly updatedAt?: string;
|
|
16
|
-
translated?: Record<string,
|
|
16
|
+
translated?: Record<string, any>;
|
|
17
17
|
availabilityRule?: Rule;
|
|
18
18
|
app?: App;
|
|
19
19
|
}
|
|
@@ -2,7 +2,7 @@ import { TaxRuleType } from "./TaxRuleType";
|
|
|
2
2
|
import { Country } from "../../country/Country";
|
|
3
3
|
export interface TaxRule {
|
|
4
4
|
id: string;
|
|
5
|
-
readonly createdAt
|
|
5
|
+
readonly createdAt: string;
|
|
6
6
|
readonly updatedAt?: string;
|
|
7
7
|
taxRuleTypeId: string;
|
|
8
8
|
type?: TaxRuleType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TaxRule } from "./TaxRule";
|
|
2
2
|
export interface TaxRuleType {
|
|
3
3
|
id: string;
|
|
4
|
-
readonly createdAt
|
|
4
|
+
readonly createdAt: string;
|
|
5
5
|
readonly updatedAt?: string;
|
|
6
6
|
readonly technicalName: string;
|
|
7
7
|
position: number;
|
|
8
8
|
typeName: string;
|
|
9
9
|
rules?: Array<TaxRule>;
|
|
10
|
-
translated?: Record<string,
|
|
10
|
+
translated?: Record<string, any>;
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { Rounding } from "#types/api/global/Rounding";
|
|
3
3
|
export interface Currency {
|
|
4
4
|
id: string;
|
|
5
|
-
readonly createdAt
|
|
5
|
+
readonly createdAt: string;
|
|
6
6
|
readonly updatedAt?: string;
|
|
7
7
|
shortName: string;
|
|
8
8
|
name: string;
|
|
@@ -13,5 +13,5 @@ export interface Currency {
|
|
|
13
13
|
itemRounding: Rounding;
|
|
14
14
|
totalRounding: Rounding;
|
|
15
15
|
customFields?: GenericRecord;
|
|
16
|
-
translated?: Record<string,
|
|
16
|
+
translated?: Record<string, any>;
|
|
17
17
|
}
|
|
@@ -7,7 +7,7 @@ export interface DeliveryTime {
|
|
|
7
7
|
max: number;
|
|
8
8
|
unit: string;
|
|
9
9
|
customFields?: GenericRecord;
|
|
10
|
-
readonly createdAt
|
|
10
|
+
readonly createdAt: string;
|
|
11
11
|
readonly updatedAt?: string;
|
|
12
|
-
translated?: Record<string,
|
|
12
|
+
translated?: Record<string, any>;
|
|
13
13
|
}
|
|
@@ -2,7 +2,7 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { Media } from "./media/Media";
|
|
3
3
|
export interface PaymentMethod {
|
|
4
4
|
id: string;
|
|
5
|
-
readonly createdAt
|
|
5
|
+
readonly createdAt: string;
|
|
6
6
|
readonly updatedAt?: string;
|
|
7
7
|
active?: boolean;
|
|
8
8
|
name: string;
|
|
@@ -17,5 +17,5 @@ export interface PaymentMethod {
|
|
|
17
17
|
mediaId?: string;
|
|
18
18
|
media?: Media;
|
|
19
19
|
customFields?: GenericRecord;
|
|
20
|
-
translated?: Record<string,
|
|
20
|
+
translated?: Record<string, any>;
|
|
21
21
|
}
|
|
@@ -5,7 +5,7 @@ export interface Salutation {
|
|
|
5
5
|
displayName: string;
|
|
6
6
|
letterName: string;
|
|
7
7
|
customFields?: GenericRecord;
|
|
8
|
-
readonly createdAt
|
|
8
|
+
readonly createdAt: string;
|
|
9
9
|
readonly updatedAt?: string;
|
|
10
|
-
translated?: Record<string,
|
|
10
|
+
translated?: Record<string, any>;
|
|
11
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface StateMachineState {
|
|
3
3
|
id?: string;
|
|
4
|
-
readonly createdAt
|
|
4
|
+
readonly createdAt: string;
|
|
5
5
|
readonly updatedAt?: string;
|
|
6
6
|
technicalName: string;
|
|
7
7
|
name: string;
|
|
8
8
|
customFields?: GenericRecord;
|
|
9
|
-
translated?: Record<string,
|
|
9
|
+
translated?: Record<string, any>;
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface Unit {
|
|
3
3
|
id: string;
|
|
4
|
-
readonly createdAt
|
|
4
|
+
readonly createdAt: string;
|
|
5
5
|
readonly updatedAt?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
shortCode: string;
|
|
8
8
|
customFields?: GenericRecord;
|
|
9
|
-
translated?: Record<string,
|
|
9
|
+
translated?: Record<string, any>;
|
|
10
10
|
}
|
|
@@ -3,8 +3,7 @@ import { CartError } from "./CartError";
|
|
|
3
3
|
import { CartDelivery } from "./delivery/CartDelivery";
|
|
4
4
|
import { CartLineItem } from "#types/api/store";
|
|
5
5
|
export interface Cart {
|
|
6
|
-
token
|
|
7
|
-
name?: string;
|
|
6
|
+
token: string;
|
|
8
7
|
price?: CalculatedPrice;
|
|
9
8
|
lineItems?: Array<CartLineItem>;
|
|
10
9
|
errors?: Array<CartError>;
|
|
@@ -3,6 +3,7 @@ import { CartDeliveryPosition } from "./CartDeliveryPosition";
|
|
|
3
3
|
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
4
4
|
import { ShippingMethod } from "../../shippingMethod/ShippingMethod";
|
|
5
5
|
export interface CartDelivery {
|
|
6
|
+
id: string;
|
|
6
7
|
deliveryDate?: CartDeliveryDate;
|
|
7
8
|
positions?: Array<CartDeliveryPosition>;
|
|
8
9
|
shippingCosts?: CalculatedPrice;
|
|
@@ -7,10 +7,12 @@ export interface CartLineItem {
|
|
|
7
7
|
apiAlias: "cart_line_item";
|
|
8
8
|
id: string;
|
|
9
9
|
referencedId?: string;
|
|
10
|
+
promotionId?: string;
|
|
10
11
|
type: CartLineItemType;
|
|
11
12
|
label?: string;
|
|
12
13
|
description?: string;
|
|
13
14
|
cover?: Media;
|
|
15
|
+
position?: number;
|
|
14
16
|
good?: boolean;
|
|
15
17
|
removable?: boolean;
|
|
16
18
|
stackable?: boolean;
|
|
@@ -23,5 +25,6 @@ export interface CartLineItem {
|
|
|
23
25
|
purchaseSteps?: number;
|
|
24
26
|
};
|
|
25
27
|
payload?: CartLineItemPayload;
|
|
28
|
+
productId?: string;
|
|
26
29
|
states?: Array<"is-physical" | "is-download">;
|
|
27
30
|
}
|
|
@@ -6,11 +6,10 @@ import { SeoUrlEntity } from "../seo/SeoUrlEntity";
|
|
|
6
6
|
export interface Category {
|
|
7
7
|
apiAlias: "category";
|
|
8
8
|
id: string;
|
|
9
|
-
readonly createdAt
|
|
9
|
+
readonly createdAt: string;
|
|
10
10
|
readonly updatedAt?: string;
|
|
11
11
|
versionId?: string;
|
|
12
12
|
parentId?: string;
|
|
13
|
-
parent?: Category;
|
|
14
13
|
parentVersionId?: string;
|
|
15
14
|
afterCategoryId?: string;
|
|
16
15
|
afterCategoryVersionId?: string;
|
|
@@ -19,10 +18,10 @@ export interface Category {
|
|
|
19
18
|
readonly level?: number;
|
|
20
19
|
readonly path?: string;
|
|
21
20
|
readonly childCount: number;
|
|
22
|
-
children
|
|
23
|
-
type: "
|
|
21
|
+
children?: Array<Category>;
|
|
22
|
+
type: "folder" | "page" | "link";
|
|
24
23
|
productAssignmentType?: "product_stream" | "product";
|
|
25
|
-
linkType?: "external" | "
|
|
24
|
+
linkType?: "external" | "category" | "product" | "landing_page";
|
|
26
25
|
media?: Media;
|
|
27
26
|
active?: boolean;
|
|
28
27
|
displayNestedProducts?: boolean;
|
|
@@ -43,5 +42,5 @@ export interface Category {
|
|
|
43
42
|
seoUrls?: Array<SeoUrlEntity>;
|
|
44
43
|
tags?: Array<Tag>;
|
|
45
44
|
customFields?: GenericRecord;
|
|
46
|
-
translated
|
|
45
|
+
translated?: Record<string, string>;
|
|
47
46
|
}
|
|
@@ -7,7 +7,7 @@ export interface CmsBlock {
|
|
|
7
7
|
apiAlias: "cms_block";
|
|
8
8
|
id?: string;
|
|
9
9
|
versionId?: string;
|
|
10
|
-
readonly createdAt
|
|
10
|
+
readonly createdAt: string;
|
|
11
11
|
readonly updatedAt?: string;
|
|
12
12
|
type: "image" | "text" | "product-listing" | "image-two-column";
|
|
13
13
|
position: number;
|
|
@@ -6,7 +6,7 @@ export interface CmsPage {
|
|
|
6
6
|
apiAlias: "cms_page";
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
-
readonly createdAt
|
|
9
|
+
readonly createdAt: string;
|
|
10
10
|
readonly updatedAt?: string;
|
|
11
11
|
name?: string;
|
|
12
12
|
type: "landingpage" | "page" | "product_list" | "product_detail";
|
|
@@ -20,5 +20,5 @@ export interface CmsPage {
|
|
|
20
20
|
previewMedia?: Media;
|
|
21
21
|
landingPages?: Array<LandingPage>;
|
|
22
22
|
customFields?: GenericRecord;
|
|
23
|
-
translated?: Record<string,
|
|
23
|
+
translated?: Record<string, any>;
|
|
24
24
|
}
|
|
@@ -6,8 +6,9 @@ import { Media } from "../media/Media";
|
|
|
6
6
|
import { CmsBlock } from "./CmsBlock";
|
|
7
7
|
export interface CmsSection {
|
|
8
8
|
apiAlias: "cms_section";
|
|
9
|
-
id
|
|
10
|
-
|
|
9
|
+
id: string;
|
|
10
|
+
versionId: string;
|
|
11
|
+
readonly createdAt: string;
|
|
11
12
|
readonly updatedAt?: string;
|
|
12
13
|
position: number;
|
|
13
14
|
type: "sidebar" | "fullwidth";
|
|
@@ -3,7 +3,7 @@ import { CmsBlock } from "./CmsBlock";
|
|
|
3
3
|
export interface CmsSlot {
|
|
4
4
|
id: string;
|
|
5
5
|
versionId?: string;
|
|
6
|
-
readonly createdAt
|
|
6
|
+
readonly createdAt: string;
|
|
7
7
|
readonly updatedAt?: string;
|
|
8
8
|
type: "image" | "text" | "form" | "product-listing" | "category-navigation" | "product-box" | "buy-box" | "sidebar-filter";
|
|
9
9
|
slot: string;
|
|
@@ -15,5 +15,5 @@ export interface CmsSlot {
|
|
|
15
15
|
cmsBlockVersionId?: string;
|
|
16
16
|
block?: CmsBlock;
|
|
17
17
|
customFields?: GenericRecord;
|
|
18
|
-
translated?: Record<string,
|
|
18
|
+
translated?: Record<string, any>;
|
|
19
19
|
}
|
|
@@ -5,7 +5,7 @@ export interface LandingPage {
|
|
|
5
5
|
apiAlias: "landing_page";
|
|
6
6
|
id: string;
|
|
7
7
|
versionId?: string;
|
|
8
|
-
readonly createdAt
|
|
8
|
+
readonly createdAt: string;
|
|
9
9
|
readonly updatedAt?: string;
|
|
10
10
|
active?: boolean;
|
|
11
11
|
name: string;
|
|
@@ -19,5 +19,5 @@ export interface LandingPage {
|
|
|
19
19
|
cmsPageVersionId?: string;
|
|
20
20
|
cmsPage?: CmsPage;
|
|
21
21
|
customFields?: GenericRecord;
|
|
22
|
-
translated?: Record<string,
|
|
22
|
+
translated?: Record<string, any>;
|
|
23
23
|
}
|
|
@@ -2,7 +2,7 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { CountryState } from "./CountryState";
|
|
3
3
|
export interface Country {
|
|
4
4
|
id: string;
|
|
5
|
-
readonly createdAt
|
|
5
|
+
readonly createdAt: string;
|
|
6
6
|
readonly updatedAt?: string;
|
|
7
7
|
name: string;
|
|
8
8
|
active?: boolean;
|
|
@@ -36,5 +36,5 @@ export interface Country {
|
|
|
36
36
|
shippingAvailable?: boolean;
|
|
37
37
|
customFields?: GenericRecord;
|
|
38
38
|
states?: Array<CountryState>;
|
|
39
|
-
translated?: Record<string,
|
|
39
|
+
translated?: Record<string, any>;
|
|
40
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface CountryState {
|
|
3
3
|
id: string;
|
|
4
|
-
readonly createdAt
|
|
4
|
+
readonly createdAt: string;
|
|
5
5
|
readonly updatedAt?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
shortCode: string;
|
|
@@ -9,5 +9,5 @@ export interface CountryState {
|
|
|
9
9
|
active?: boolean;
|
|
10
10
|
countryId: string;
|
|
11
11
|
customFields?: GenericRecord;
|
|
12
|
-
translated?: Record<string,
|
|
12
|
+
translated?: Record<string, any>;
|
|
13
13
|
}
|
|
@@ -9,7 +9,7 @@ import { ProductReview } from "../product/ProductReview";
|
|
|
9
9
|
export interface Customer {
|
|
10
10
|
apiAlias: "customer";
|
|
11
11
|
id: string;
|
|
12
|
-
readonly createdAt
|
|
12
|
+
readonly createdAt: string;
|
|
13
13
|
readonly updatedAt?: string;
|
|
14
14
|
guest?: boolean;
|
|
15
15
|
accountType?: "private" | "business";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface CustomerGroup {
|
|
3
3
|
id: string;
|
|
4
|
-
readonly createdAt
|
|
4
|
+
readonly createdAt: string;
|
|
5
5
|
readonly updatedAt?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
displayGross?: boolean;
|
|
@@ -10,6 +10,6 @@ export interface CustomerGroup {
|
|
|
10
10
|
registrationSeoMetaDescription?: string;
|
|
11
11
|
registrationIntroduction?: string;
|
|
12
12
|
registrationOnlyCompanyRegistration?: boolean;
|
|
13
|
-
translated
|
|
13
|
+
translated?: Record<string, string>;
|
|
14
14
|
customFields?: GenericRecord;
|
|
15
15
|
}
|
|
@@ -16,7 +16,7 @@ export interface CustomerAddressBody {
|
|
|
16
16
|
additionalAddressLine1?: string;
|
|
17
17
|
additionalAddressLine2?: string;
|
|
18
18
|
countryId: string;
|
|
19
|
-
country
|
|
19
|
+
country?: Country;
|
|
20
20
|
countryStateId?: string;
|
|
21
21
|
countryState?: CountryState;
|
|
22
22
|
phoneNumber?: string;
|
|
@@ -4,7 +4,7 @@ import { Order } from "../order/Order";
|
|
|
4
4
|
import { Media } from "../media/Media";
|
|
5
5
|
export interface ShopwareDocument {
|
|
6
6
|
id: string;
|
|
7
|
-
readonly createdAt
|
|
7
|
+
readonly createdAt: string;
|
|
8
8
|
readonly updatedAt?: string;
|
|
9
9
|
orderId: string;
|
|
10
10
|
orderVersionId?: string;
|
|
@@ -3,7 +3,7 @@ import { Media } from "../media/Media";
|
|
|
3
3
|
import { ShopwareDocumentType } from "../document/ShopwareDocumentType";
|
|
4
4
|
export interface ShopwareDocumentBaseConfig {
|
|
5
5
|
id: string;
|
|
6
|
-
readonly createdAt
|
|
6
|
+
readonly createdAt: string;
|
|
7
7
|
readonly updatedAt?: string;
|
|
8
8
|
filenamePrefix?: string;
|
|
9
9
|
filenameSuffix?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface ShopwareDocumentType {
|
|
3
3
|
id: string;
|
|
4
|
-
readonly createdAt
|
|
4
|
+
readonly createdAt: string;
|
|
5
5
|
readonly updatedAt?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
technicalName: string;
|
|
8
8
|
customFields?: GenericRecord;
|
|
9
|
-
translated?: Record<string,
|
|
9
|
+
translated?: Record<string, any>;
|
|
10
10
|
}
|
|
@@ -2,7 +2,7 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { Locale } from "./Locale";
|
|
3
3
|
export interface Language {
|
|
4
4
|
id: string;
|
|
5
|
-
readonly createdAt
|
|
5
|
+
readonly createdAt: string;
|
|
6
6
|
readonly updatedAt?: string;
|
|
7
7
|
parentId?: string;
|
|
8
8
|
parent?: Language;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface Locale {
|
|
3
3
|
id: string;
|
|
4
|
-
readonly createdAt
|
|
4
|
+
readonly createdAt: string;
|
|
5
5
|
readonly updatedAt?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
code: string;
|
|
8
8
|
territory: string;
|
|
9
9
|
customFields?: GenericRecord;
|
|
10
|
-
translated?: Record<string,
|
|
10
|
+
translated?: Record<string, any>;
|
|
11
11
|
}
|
|
@@ -4,7 +4,7 @@ import { Tag } from "../Tag";
|
|
|
4
4
|
export interface Media {
|
|
5
5
|
apiAlias: "media";
|
|
6
6
|
id: string;
|
|
7
|
-
readonly createdAt
|
|
7
|
+
readonly createdAt: string;
|
|
8
8
|
readonly updatedAt?: string;
|
|
9
9
|
readonly uploadedAt?: string;
|
|
10
10
|
url: string;
|
|
@@ -22,5 +22,5 @@ export interface Media {
|
|
|
22
22
|
thumbnails?: Array<MediaThumbnail>;
|
|
23
23
|
tags?: Array<Tag>;
|
|
24
24
|
customFields?: GenericRecord;
|
|
25
|
-
translated
|
|
25
|
+
translated?: Record<string, string>;
|
|
26
26
|
}
|
|
@@ -2,7 +2,7 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { Media } from "../media/Media";
|
|
3
3
|
export interface MediaThumbnail {
|
|
4
4
|
id: string;
|
|
5
|
-
readonly createdAt
|
|
5
|
+
readonly createdAt: string;
|
|
6
6
|
readonly updatedAt?: string;
|
|
7
7
|
readonly width: number;
|
|
8
8
|
readonly height: number;
|
|
@@ -2,7 +2,7 @@ import { CustomerAddressBody } from "../customer/address/CustomerAddressBody";
|
|
|
2
2
|
export type OrderAddress = CustomerAddressBody & {
|
|
3
3
|
id: string;
|
|
4
4
|
versionId?: string;
|
|
5
|
-
readonly createdAt
|
|
5
|
+
readonly createdAt: string;
|
|
6
6
|
readonly updatedAt?: string;
|
|
7
7
|
vatId?: string;
|
|
8
8
|
};
|
|
@@ -1,38 +1,14 @@
|
|
|
1
|
-
import { CartLineItemPayload } from "#types/api/store/cart/lineItem/CartLineItemPayload";
|
|
2
|
-
import { CartPriceQuantity } from "../price/cart/CartPriceQuantity";
|
|
3
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
4
|
-
import { Media } from "../media/Media";
|
|
5
2
|
import { OrderLineItemDownload } from "./OrderLineItemDownload";
|
|
6
|
-
|
|
3
|
+
import { CartLineItem } from "../cart/lineItem/CartLineItem";
|
|
4
|
+
export interface OrderLineItem extends Omit<CartLineItem, "apiAlias"> {
|
|
7
5
|
apiAlias: "order_line_item";
|
|
8
|
-
|
|
9
|
-
versionId?: string;
|
|
10
|
-
readonly createdAt?: string;
|
|
6
|
+
readonly createdAt: string;
|
|
11
7
|
readonly updatedAt?: string;
|
|
12
|
-
|
|
13
|
-
parentVersionId?: string;
|
|
14
|
-
parent?: OrderLineItem;
|
|
15
|
-
children: Array<OrderLineItem>;
|
|
16
|
-
referencedId?: string;
|
|
17
|
-
promotionId?: string;
|
|
18
|
-
type?: string;
|
|
19
|
-
quantity: number;
|
|
20
|
-
label: string;
|
|
21
|
-
description?: string;
|
|
22
|
-
good?: boolean;
|
|
23
|
-
removable?: boolean;
|
|
24
|
-
stackable?: boolean;
|
|
25
|
-
position?: number;
|
|
8
|
+
orderId: string;
|
|
26
9
|
unitPrice?: number;
|
|
27
10
|
totalPrice?: number;
|
|
28
|
-
priceDefinition?: CartPriceQuantity;
|
|
29
|
-
payload?: CartLineItemPayload;
|
|
30
|
-
orderVersionId?: string;
|
|
31
|
-
productId?: string;
|
|
32
|
-
productVersionId?: string;
|
|
33
|
-
coverId?: string;
|
|
34
|
-
cover?: Media;
|
|
35
11
|
downloads?: Array<OrderLineItemDownload>;
|
|
36
12
|
customFields?: GenericRecord;
|
|
37
|
-
translated?: Record<string,
|
|
13
|
+
translated?: Record<string, any>;
|
|
38
14
|
}
|
|
@@ -6,7 +6,7 @@ import { OrderDeliveryPosition } from "./OrderDeliveryPosition";
|
|
|
6
6
|
export interface OrderDelivery {
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
-
readonly createdAt
|
|
9
|
+
readonly createdAt: string;
|
|
10
10
|
readonly updatedAt?: string;
|
|
11
11
|
orderId: string;
|
|
12
12
|
orderVersionId?: string;
|
|
@@ -6,7 +6,7 @@ import { OrderTransactionCapture } from "./capture/OrderTransactionCapture";
|
|
|
6
6
|
export interface OrderTransaction {
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
-
readonly createdAt
|
|
9
|
+
readonly createdAt: string;
|
|
10
10
|
readonly updatedAt?: string;
|
|
11
11
|
orderId: string;
|
|
12
12
|
orderVersionId?: string;
|