@adbls/api-types 1.9.19 → 1.9.20
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.ts +15 -0
- package/dist/index.js +9 -0
- package/dist/types/CategoryChainEntry.d.ts +2 -0
- package/dist/types/CategoryResponse.d.ts +3 -0
- package/dist/types/CreditNoteLineResponse.d.ts +2 -0
- package/dist/types/CreditNoteLineResponse.js +0 -1
- package/dist/types/CustomerResponse.d.ts +2 -0
- package/dist/types/CustomerResponsiblePersonRequest.d.ts +4 -0
- package/dist/types/CustomerResponsiblePersonRequest.js +3 -0
- package/dist/types/InvoiceLineItemResponse.d.ts +2 -0
- package/dist/types/OfferLineItemResponse.d.ts +2 -0
- package/dist/types/OrderFilterRequest.d.ts +1 -0
- package/dist/types/OrderLineItemResponse.d.ts +2 -0
- package/dist/types/OrderResponse.d.ts +3 -0
- package/dist/types/PaymentSettingsResponse.d.ts +3 -0
- package/dist/types/ProductPriceResponse.d.ts +0 -1
- package/dist/types/ProductResponse.d.ts +4 -1
- package/dist/types/ProjectCostsResponse.d.ts +1 -1
- package/dist/types/ProjectPricingResult.d.ts +2 -2
- package/dist/types/ShopPickupSiteResponse.d.ts +7 -0
- package/dist/types/ShopPickupSiteResponse.js +2 -0
- package/dist/types/ShopProductPriceResponse.d.ts +6 -0
- package/dist/types/ShopProductPriceResponse.js +3 -0
- package/dist/types/ShopProductResponse.d.ts +2 -2
- package/dist/types/ShopSubscriptionPlanPriceResponse.d.ts +6 -0
- package/dist/types/ShopSubscriptionPlanPriceResponse.js +3 -0
- package/dist/types/ShopSubscriptionPlanResponse.d.ts +2 -2
- package/dist/types/StorageSiteResponse.d.ts +1 -0
- package/dist/types/SubscriptionPlanPriceResponse.d.ts +0 -1
- package/dist/types/SubscriptionPlanResponse.d.ts +2 -1
- package/dist/types/SubscriptionResponse.d.ts +7 -0
- package/dist/types/VatRateDefaultResponse.d.ts +6 -0
- package/dist/types/VatRateDefaultResponse.js +2 -0
- package/dist/types/VatRateResponse.d.ts +10 -0
- package/dist/types/VatRateResponse.js +2 -0
- package/dist/types/dto/category/CategoryRequest.d.ts +6 -0
- package/dist/types/dto/category/CategoryRequest.js +1 -0
- package/dist/types/dto/enums/ApplicationError.d.ts +15 -3
- package/dist/types/dto/enums/ApplicationError.js +1 -1
- package/dist/types/dto/enums/SettingIdentifier.d.ts +6 -4
- package/dist/types/dto/enums/SettingIdentifier.js +1 -1
- package/dist/types/dto/enums/automation/TriggerEvent.d.ts +1 -0
- package/dist/types/dto/enums/automation/TriggerEvent.js +1 -1
- package/dist/types/dto/enums/form/FormStatus.d.ts +1 -1
- package/dist/types/dto/enums/inventory/InventoryType.d.ts +1 -1
- package/dist/types/dto/enums/property/PropertyType.d.ts +1 -1
- package/dist/types/dto/enums/sales/LineVatMode.d.ts +1 -1
- package/dist/types/dto/enums/sales/OrderStatus.d.ts +1 -0
- package/dist/types/dto/enums/sales/OrderStatus.js +1 -1
- package/dist/types/dto/enums/sales/VatClass.d.ts +9 -0
- package/dist/types/dto/enums/sales/VatClass.js +6 -0
- package/dist/types/dto/enums/sales/VatZeroReason.d.ts +7 -0
- package/dist/types/dto/enums/sales/VatZeroReason.js +6 -0
- package/dist/types/dto/enums/subscription/SubscriptionStatus.d.ts +1 -0
- package/dist/types/dto/enums/subscription/SubscriptionStatus.js +1 -1
- package/dist/types/dto/enums/validation/ValidatorGroup.d.ts +1 -0
- package/dist/types/dto/enums/validation/ValidatorGroup.js +1 -1
- package/dist/types/dto/form/FormStatusRequest.d.ts +1 -1
- package/dist/types/dto/inventory/InventoryRequest.d.ts +1 -1
- package/dist/types/dto/payment/CheckoutRequest.d.ts +1 -0
- package/dist/types/dto/payment/PaymentSettingsRequest.d.ts +3 -0
- package/dist/types/dto/payment/PaymentSettingsRequest.js +3 -0
- package/dist/types/dto/product/ProductPriceRequest.d.ts +0 -1
- package/dist/types/dto/product/ProductPriceRequest.js +0 -1
- package/dist/types/dto/product/ProductRequest.d.ts +6 -2
- package/dist/types/dto/product/ProductRequest.js +1 -1
- package/dist/types/dto/property/PropertyLeadRequest.d.ts +1 -1
- package/dist/types/dto/property/PropertyRequest.d.ts +1 -1
- package/dist/types/dto/sales/CreditNoteLineRequest.d.ts +4 -0
- package/dist/types/dto/sales/CreditNoteLineRequest.js +1 -0
- package/dist/types/dto/sales/CreditNoteRequest.d.ts +4 -0
- package/dist/types/dto/sales/InvoiceLineItemGroupRequest.d.ts +4 -0
- package/dist/types/dto/sales/InvoiceLineItemRequest.d.ts +4 -0
- package/dist/types/dto/sales/InvoiceLineItemRequest.js +1 -0
- package/dist/types/dto/sales/InvoiceRequest.d.ts +4 -0
- package/dist/types/dto/sales/OfferLineItemGroupRequest.d.ts +4 -0
- package/dist/types/dto/sales/OfferLineItemRequest.d.ts +4 -0
- package/dist/types/dto/sales/OfferLineItemRequest.js +1 -0
- package/dist/types/dto/sales/OfferRequest.d.ts +4 -0
- package/dist/types/dto/sales/OrderCreateRequest.d.ts +1 -0
- package/dist/types/dto/sales/OrderCreateRequest.js +1 -0
- package/dist/types/dto/sales/OrderStatusRequest.d.ts +1 -0
- package/dist/types/dto/sales/OrderStatusRequest.js +1 -1
- package/dist/types/dto/sales/VatRateRequest.d.ts +14 -0
- package/dist/types/dto/sales/VatRateRequest.js +11 -0
- package/dist/types/dto/sales/ingest/OrderIngestRequest.d.ts +1 -0
- package/dist/types/dto/sales/ingest/OrderIngestRequest.js +1 -0
- package/dist/types/dto/storage/storagesite/StorageSiteRequest.d.ts +1 -0
- package/dist/types/dto/storage/storagesite/StorageSiteRequest.js +1 -0
- package/dist/types/dto/subscription/SubscriptionCheckoutRequest.d.ts +1 -0
- package/dist/types/dto/subscription/SubscriptionCheckoutRequest.js +1 -0
- package/dist/types/dto/subscription/SubscriptionPlanPriceRequest.d.ts +0 -1
- package/dist/types/dto/subscription/SubscriptionPlanPriceRequest.js +0 -1
- package/dist/types/dto/subscription/SubscriptionPlanRequest.d.ts +6 -2
- package/dist/types/dto/subscription/SubscriptionPlanRequest.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -184,6 +184,8 @@ export * from './types/CustomerProfileResponse';
|
|
|
184
184
|
export { default as CustomerProfileResponse } from './types/CustomerProfileResponse';
|
|
185
185
|
export * from './types/CustomerResponse';
|
|
186
186
|
export { default as CustomerResponse } from './types/CustomerResponse';
|
|
187
|
+
export * from './types/CustomerResponsiblePersonRequest';
|
|
188
|
+
export { default as CustomerResponsiblePersonRequest } from './types/CustomerResponsiblePersonRequest';
|
|
187
189
|
export * from './types/CustomerSessionResponse';
|
|
188
190
|
export { default as CustomerSessionResponse } from './types/CustomerSessionResponse';
|
|
189
191
|
export * from './types/CustomerSubscriptionDetailResponse';
|
|
@@ -634,12 +636,18 @@ export * from './types/ShippingMailFilterRequest';
|
|
|
634
636
|
export { default as ShippingMailFilterRequest } from './types/ShippingMailFilterRequest';
|
|
635
637
|
export * from './types/ShippingMailResponse';
|
|
636
638
|
export { default as ShippingMailResponse } from './types/ShippingMailResponse';
|
|
639
|
+
export * from './types/ShopPickupSiteResponse';
|
|
640
|
+
export { default as ShopPickupSiteResponse } from './types/ShopPickupSiteResponse';
|
|
637
641
|
export * from './types/ShopProductImageResponse';
|
|
638
642
|
export { default as ShopProductImageResponse } from './types/ShopProductImageResponse';
|
|
643
|
+
export * from './types/ShopProductPriceResponse';
|
|
644
|
+
export { default as ShopProductPriceResponse } from './types/ShopProductPriceResponse';
|
|
639
645
|
export * from './types/ShopProductResponse';
|
|
640
646
|
export { default as ShopProductResponse } from './types/ShopProductResponse';
|
|
641
647
|
export * from './types/ShopSettingsResponse';
|
|
642
648
|
export { default as ShopSettingsResponse } from './types/ShopSettingsResponse';
|
|
649
|
+
export * from './types/ShopSubscriptionPlanPriceResponse';
|
|
650
|
+
export { default as ShopSubscriptionPlanPriceResponse } from './types/ShopSubscriptionPlanPriceResponse';
|
|
643
651
|
export * from './types/ShopSubscriptionPlanResponse';
|
|
644
652
|
export { default as ShopSubscriptionPlanResponse } from './types/ShopSubscriptionPlanResponse';
|
|
645
653
|
export * from './types/SiteStockResponse';
|
|
@@ -738,6 +746,10 @@ export * from './types/ValidationErrorResult';
|
|
|
738
746
|
export { default as ValidationErrorResult } from './types/ValidationErrorResult';
|
|
739
747
|
export * from './types/ValidationErrorResultError';
|
|
740
748
|
export { default as ValidationErrorResultError } from './types/ValidationErrorResultError';
|
|
749
|
+
export * from './types/VatRateDefaultResponse';
|
|
750
|
+
export { default as VatRateDefaultResponse } from './types/VatRateDefaultResponse';
|
|
751
|
+
export * from './types/VatRateResponse';
|
|
752
|
+
export { default as VatRateResponse } from './types/VatRateResponse';
|
|
741
753
|
export * from './types/WebsitePingResponse';
|
|
742
754
|
export { default as WebsitePingResponse } from './types/WebsitePingResponse';
|
|
743
755
|
export * from './types/WixMigrationOrderNote';
|
|
@@ -907,6 +919,8 @@ export * from './types/dto/enums/sales/OrderStockState';
|
|
|
907
919
|
export * from './types/dto/enums/sales/PriceMode';
|
|
908
920
|
export * from './types/dto/enums/sales/SalesDocumentAdjustmentType';
|
|
909
921
|
export * from './types/dto/enums/sales/UnitType';
|
|
922
|
+
export * from './types/dto/enums/sales/VatClass';
|
|
923
|
+
export * from './types/dto/enums/sales/VatZeroReason';
|
|
910
924
|
export * from './types/dto/enums/subscription/BillingInterval';
|
|
911
925
|
export * from './types/dto/enums/subscription/FreeScheduleKind';
|
|
912
926
|
export * from './types/dto/enums/subscription/ScheduleMode';
|
|
@@ -1024,6 +1038,7 @@ export * from './types/dto/sales/OrderForwardingRuleRequest';
|
|
|
1024
1038
|
export * from './types/dto/sales/OrderStatusRequest';
|
|
1025
1039
|
export * from './types/dto/sales/OrderTrackingNumberRequest';
|
|
1026
1040
|
export * from './types/dto/sales/SalesDocumentMailRequest';
|
|
1041
|
+
export * from './types/dto/sales/VatRateRequest';
|
|
1027
1042
|
export * from './types/dto/sales/ingest/OrderIngestAddressRequest';
|
|
1028
1043
|
export * from './types/dto/sales/ingest/OrderIngestLineItemRequest';
|
|
1029
1044
|
export * from './types/dto/sales/ingest/OrderIngestPersonRequest';
|
package/dist/index.js
CHANGED
|
@@ -108,6 +108,7 @@ __exportStar(require("./types/CustomerPaymentMethodUpdateResponse"), exports);
|
|
|
108
108
|
__exportStar(require("./types/CustomerPlanResponse"), exports);
|
|
109
109
|
__exportStar(require("./types/CustomerProfileResponse"), exports);
|
|
110
110
|
__exportStar(require("./types/CustomerResponse"), exports);
|
|
111
|
+
__exportStar(require("./types/CustomerResponsiblePersonRequest"), exports);
|
|
111
112
|
__exportStar(require("./types/CustomerSessionResponse"), exports);
|
|
112
113
|
__exportStar(require("./types/CustomerSubscriptionDetailResponse"), exports);
|
|
113
114
|
__exportStar(require("./types/CustomerSubscriptionResponse"), exports);
|
|
@@ -333,9 +334,12 @@ __exportStar(require("./types/SettingResponse"), exports);
|
|
|
333
334
|
__exportStar(require("./types/SettingUpdateRequest"), exports);
|
|
334
335
|
__exportStar(require("./types/ShippingMailFilterRequest"), exports);
|
|
335
336
|
__exportStar(require("./types/ShippingMailResponse"), exports);
|
|
337
|
+
__exportStar(require("./types/ShopPickupSiteResponse"), exports);
|
|
336
338
|
__exportStar(require("./types/ShopProductImageResponse"), exports);
|
|
339
|
+
__exportStar(require("./types/ShopProductPriceResponse"), exports);
|
|
337
340
|
__exportStar(require("./types/ShopProductResponse"), exports);
|
|
338
341
|
__exportStar(require("./types/ShopSettingsResponse"), exports);
|
|
342
|
+
__exportStar(require("./types/ShopSubscriptionPlanPriceResponse"), exports);
|
|
339
343
|
__exportStar(require("./types/ShopSubscriptionPlanResponse"), exports);
|
|
340
344
|
__exportStar(require("./types/SiteStockResponse"), exports);
|
|
341
345
|
__exportStar(require("./types/SmsSettingsResponse"), exports);
|
|
@@ -385,6 +389,8 @@ __exportStar(require("./types/UserSelectOption"), exports);
|
|
|
385
389
|
__exportStar(require("./types/ValidationErrorResponse"), exports);
|
|
386
390
|
__exportStar(require("./types/ValidationErrorResult"), exports);
|
|
387
391
|
__exportStar(require("./types/ValidationErrorResultError"), exports);
|
|
392
|
+
__exportStar(require("./types/VatRateDefaultResponse"), exports);
|
|
393
|
+
__exportStar(require("./types/VatRateResponse"), exports);
|
|
388
394
|
__exportStar(require("./types/WebsitePingResponse"), exports);
|
|
389
395
|
__exportStar(require("./types/WixMigrationOrderNote"), exports);
|
|
390
396
|
__exportStar(require("./types/WixMigrationRunResponse"), exports);
|
|
@@ -550,6 +556,8 @@ __exportStar(require("./types/dto/enums/sales/OrderStockState"), exports);
|
|
|
550
556
|
__exportStar(require("./types/dto/enums/sales/PriceMode"), exports);
|
|
551
557
|
__exportStar(require("./types/dto/enums/sales/SalesDocumentAdjustmentType"), exports);
|
|
552
558
|
__exportStar(require("./types/dto/enums/sales/UnitType"), exports);
|
|
559
|
+
__exportStar(require("./types/dto/enums/sales/VatClass"), exports);
|
|
560
|
+
__exportStar(require("./types/dto/enums/sales/VatZeroReason"), exports);
|
|
553
561
|
__exportStar(require("./types/dto/enums/subscription/BillingInterval"), exports);
|
|
554
562
|
__exportStar(require("./types/dto/enums/subscription/FreeScheduleKind"), exports);
|
|
555
563
|
__exportStar(require("./types/dto/enums/subscription/ScheduleMode"), exports);
|
|
@@ -667,6 +675,7 @@ __exportStar(require("./types/dto/sales/OrderForwardingRuleRequest"), exports);
|
|
|
667
675
|
__exportStar(require("./types/dto/sales/OrderStatusRequest"), exports);
|
|
668
676
|
__exportStar(require("./types/dto/sales/OrderTrackingNumberRequest"), exports);
|
|
669
677
|
__exportStar(require("./types/dto/sales/SalesDocumentMailRequest"), exports);
|
|
678
|
+
__exportStar(require("./types/dto/sales/VatRateRequest"), exports);
|
|
670
679
|
__exportStar(require("./types/dto/sales/ingest/OrderIngestAddressRequest"), exports);
|
|
671
680
|
__exportStar(require("./types/dto/sales/ingest/OrderIngestLineItemRequest"), exports);
|
|
672
681
|
__exportStar(require("./types/dto/sales/ingest/OrderIngestPersonRequest"), exports);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import CategoryAttributeSectionResponse from './CategoryAttributeSectionResponse';
|
|
2
|
+
import { VatClass } from './dto/enums/sales/VatClass';
|
|
2
3
|
export default interface CategoryChainEntry {
|
|
3
4
|
id: number;
|
|
4
5
|
name: string;
|
|
5
6
|
sections: CategoryAttributeSectionResponse[];
|
|
6
7
|
markupPercent?: number;
|
|
8
|
+
vatClass?: VatClass;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=CategoryChainEntry.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import CategoryAttributeResponse from './CategoryAttributeResponse';
|
|
2
2
|
import CategoryAttributeSectionResponse from './CategoryAttributeSectionResponse';
|
|
3
|
+
import { VatClass } from './dto/enums/sales/VatClass';
|
|
3
4
|
export default interface CategoryResponse {
|
|
4
5
|
id: number;
|
|
5
6
|
name: string;
|
|
@@ -19,5 +20,7 @@ export default interface CategoryResponse {
|
|
|
19
20
|
avatarFilePath?: string;
|
|
20
21
|
markupPercent?: number;
|
|
21
22
|
inheritedMarkupPercent?: number;
|
|
23
|
+
vatClass?: VatClass;
|
|
24
|
+
inheritedVatClass?: VatClass;
|
|
22
25
|
}
|
|
23
26
|
//# sourceMappingURL=CategoryResponse.d.ts.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { VatZeroReason } from './dto/enums/sales/VatZeroReason';
|
|
1
2
|
export default interface CreditNoteLineResponse {
|
|
2
3
|
description: string;
|
|
3
4
|
amount: number;
|
|
4
5
|
vatRate: number;
|
|
6
|
+
vatZeroReason?: VatZeroReason;
|
|
5
7
|
}
|
|
6
8
|
//# sourceMappingURL=CreditNoteLineResponse.d.ts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LineItemDiscountType } from './dto/enums/sales/LineItemDiscountType';
|
|
2
2
|
import { LineItemKind } from './dto/enums/sales/LineItemKind';
|
|
3
3
|
import { UnitType } from './dto/enums/sales/UnitType';
|
|
4
|
+
import { VatZeroReason } from './dto/enums/sales/VatZeroReason';
|
|
4
5
|
export default interface InvoiceLineItemResponse {
|
|
5
6
|
id: number;
|
|
6
7
|
position: number;
|
|
@@ -12,6 +13,7 @@ export default interface InvoiceLineItemResponse {
|
|
|
12
13
|
unitType?: UnitType;
|
|
13
14
|
unitPrice?: number;
|
|
14
15
|
vatRate?: number;
|
|
16
|
+
vatZeroReason?: VatZeroReason;
|
|
15
17
|
lineDiscountType?: LineItemDiscountType;
|
|
16
18
|
lineDiscountValue?: number;
|
|
17
19
|
lineSubtotal?: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LineItemDiscountType } from './dto/enums/sales/LineItemDiscountType';
|
|
2
2
|
import { LineItemKind } from './dto/enums/sales/LineItemKind';
|
|
3
3
|
import { UnitType } from './dto/enums/sales/UnitType';
|
|
4
|
+
import { VatZeroReason } from './dto/enums/sales/VatZeroReason';
|
|
4
5
|
export default interface OfferLineItemResponse {
|
|
5
6
|
id: number;
|
|
6
7
|
position: number;
|
|
@@ -12,6 +13,7 @@ export default interface OfferLineItemResponse {
|
|
|
12
13
|
unitType?: UnitType;
|
|
13
14
|
unitPrice?: number;
|
|
14
15
|
vatRate?: number;
|
|
16
|
+
vatZeroReason?: VatZeroReason;
|
|
15
17
|
lineDiscountType?: LineItemDiscountType;
|
|
16
18
|
lineDiscountValue?: number;
|
|
17
19
|
lineSubtotal?: number;
|
|
@@ -2,6 +2,7 @@ import { LineItemDiscountType } from './dto/enums/sales/LineItemDiscountType';
|
|
|
2
2
|
import { LineItemKind } from './dto/enums/sales/LineItemKind';
|
|
3
3
|
import { LineVatMode } from './dto/enums/sales/LineVatMode';
|
|
4
4
|
import { UnitType } from './dto/enums/sales/UnitType';
|
|
5
|
+
import { VatZeroReason } from './dto/enums/sales/VatZeroReason';
|
|
5
6
|
export default interface OrderLineItemResponse {
|
|
6
7
|
id: number;
|
|
7
8
|
position: number;
|
|
@@ -17,5 +18,6 @@ export default interface OrderLineItemResponse {
|
|
|
17
18
|
lineDiscountValue?: number;
|
|
18
19
|
vatMode?: LineVatMode;
|
|
19
20
|
vatAmount?: number;
|
|
21
|
+
vatZeroReason?: VatZeroReason;
|
|
20
22
|
}
|
|
21
23
|
//# sourceMappingURL=OrderLineItemResponse.d.ts.map
|
|
@@ -27,6 +27,9 @@ export default interface OrderResponse {
|
|
|
27
27
|
deliveryPersonName?: string;
|
|
28
28
|
fulfillmentType?: FulfillmentType;
|
|
29
29
|
fulfillmentDate?: string;
|
|
30
|
+
taxCountry?: string;
|
|
31
|
+
pickupSiteId?: number;
|
|
32
|
+
pickupSiteName?: string;
|
|
30
33
|
customerNote?: string;
|
|
31
34
|
internalNotes?: string;
|
|
32
35
|
currency: string;
|
|
@@ -24,5 +24,8 @@ export default interface PaymentSettingsResponse {
|
|
|
24
24
|
registeredWebhookApiVersion?: string;
|
|
25
25
|
dynamicSubscription: DynamicSubscriptionSettingsResponse;
|
|
26
26
|
subscriptionHealth: SubscriptionHealthResponse;
|
|
27
|
+
taxCodeStandard: string;
|
|
28
|
+
taxCodeReduced: string;
|
|
29
|
+
taxCodeAccommodation: string;
|
|
27
30
|
}
|
|
28
31
|
//# sourceMappingURL=PaymentSettingsResponse.d.ts.map
|
|
@@ -6,6 +6,7 @@ import { ProductType } from './dto/enums/ProductType';
|
|
|
6
6
|
import { StockMode } from './dto/enums/StockMode';
|
|
7
7
|
import { PriceMode } from './dto/enums/sales/PriceMode';
|
|
8
8
|
import { UnitType } from './dto/enums/sales/UnitType';
|
|
9
|
+
import { VatClass } from './dto/enums/sales/VatClass';
|
|
9
10
|
export default interface ProductResponse {
|
|
10
11
|
id: number;
|
|
11
12
|
title: string;
|
|
@@ -27,7 +28,7 @@ export default interface ProductResponse {
|
|
|
27
28
|
hasInventoryEntries: boolean;
|
|
28
29
|
listedOnSatellite: boolean;
|
|
29
30
|
priceMode: PriceMode;
|
|
30
|
-
|
|
31
|
+
vatClass?: VatClass;
|
|
31
32
|
prices: ProductPriceResponse[];
|
|
32
33
|
preferredSupplierContactId?: number;
|
|
33
34
|
components?: ProductComponentResponse[];
|
|
@@ -35,6 +36,8 @@ export default interface ProductResponse {
|
|
|
35
36
|
stockMode: StockMode;
|
|
36
37
|
markupPercent?: number;
|
|
37
38
|
inheritedMarkupPercent?: number;
|
|
39
|
+
inheritedVatClass?: VatClass;
|
|
40
|
+
inheritedVatClassFrom?: string;
|
|
38
41
|
calculation?: ProductCalculationResponse;
|
|
39
42
|
}
|
|
40
43
|
//# sourceMappingURL=ProductResponse.d.ts.map
|
|
@@ -20,7 +20,7 @@ export default interface ProjectCostsResponse {
|
|
|
20
20
|
supplierOptions: ProjectCostCompanyOption[];
|
|
21
21
|
forwarderGroupId?: number;
|
|
22
22
|
forwarderOptions: ProjectCostCompanyOption[];
|
|
23
|
-
vatRate
|
|
23
|
+
vatRate?: number;
|
|
24
24
|
takeOverPriceMode: PriceMode;
|
|
25
25
|
}
|
|
26
26
|
//# sourceMappingURL=ProjectCostsResponse.d.ts.map
|
|
@@ -2,10 +2,10 @@ export default interface ProjectPricingResult {
|
|
|
2
2
|
costPrice: number;
|
|
3
3
|
goodsValue: number;
|
|
4
4
|
salePriceNet: number;
|
|
5
|
-
salePriceGross
|
|
5
|
+
salePriceGross?: number;
|
|
6
6
|
factor?: number;
|
|
7
7
|
marginChf: number;
|
|
8
8
|
marginPercent?: number;
|
|
9
|
-
vatRate
|
|
9
|
+
vatRate?: number;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=ProjectPricingResult.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ProductPriceResponse from './ProductPriceResponse';
|
|
2
1
|
import ShopProductImageResponse from './ShopProductImageResponse';
|
|
2
|
+
import ShopProductPriceResponse from './ShopProductPriceResponse';
|
|
3
3
|
import { PriceMode } from './dto/enums/sales/PriceMode';
|
|
4
4
|
export default interface ShopProductResponse {
|
|
5
5
|
id: number;
|
|
@@ -7,7 +7,7 @@ export default interface ShopProductResponse {
|
|
|
7
7
|
description?: string;
|
|
8
8
|
sku?: string;
|
|
9
9
|
gtin?: string;
|
|
10
|
-
prices:
|
|
10
|
+
prices: ShopProductPriceResponse[];
|
|
11
11
|
priceMode: PriceMode;
|
|
12
12
|
vatExempt: boolean;
|
|
13
13
|
mainImagePath?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ShopSubscriptionPlanPriceResponse from './ShopSubscriptionPlanPriceResponse';
|
|
2
2
|
import { PriceMode } from './dto/enums/sales/PriceMode';
|
|
3
3
|
import { BillingInterval } from './dto/enums/subscription/BillingInterval';
|
|
4
4
|
import { ScheduleDefinition } from './dto/subscription/ScheduleDefinition';
|
|
@@ -14,6 +14,6 @@ export default interface ShopSubscriptionPlanResponse {
|
|
|
14
14
|
leadTimeDays: number;
|
|
15
15
|
allowStartDateChoice: boolean;
|
|
16
16
|
scheduleDefinition: ScheduleDefinition;
|
|
17
|
-
prices:
|
|
17
|
+
prices: ShopSubscriptionPlanPriceResponse[];
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=ShopSubscriptionPlanResponse.d.ts.map
|
|
@@ -2,6 +2,7 @@ import SubscriptionPlanPriceResponse from './SubscriptionPlanPriceResponse';
|
|
|
2
2
|
import SubscriptionPlanProductResponse from './SubscriptionPlanProductResponse';
|
|
3
3
|
import SubscriptionPlanStripeMirrorResponse from './SubscriptionPlanStripeMirrorResponse';
|
|
4
4
|
import { PriceMode } from './dto/enums/sales/PriceMode';
|
|
5
|
+
import { VatClass } from './dto/enums/sales/VatClass';
|
|
5
6
|
import { BillingInterval } from './dto/enums/subscription/BillingInterval';
|
|
6
7
|
import { ScheduleDefinition } from './dto/subscription/ScheduleDefinition';
|
|
7
8
|
export default interface SubscriptionPlanResponse {
|
|
@@ -11,7 +12,7 @@ export default interface SubscriptionPlanResponse {
|
|
|
11
12
|
billingInterval: BillingInterval;
|
|
12
13
|
billingIntervalCount: number;
|
|
13
14
|
priceMode: PriceMode;
|
|
14
|
-
|
|
15
|
+
vatClass: VatClass;
|
|
15
16
|
leadTimeDays: number;
|
|
16
17
|
allowStartDateChoice: boolean;
|
|
17
18
|
listedOnSatellite: boolean;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import SubscriptionDeliveryResponse from './SubscriptionDeliveryResponse';
|
|
2
2
|
import SubscriptionPeriodResponse from './SubscriptionPeriodResponse';
|
|
3
3
|
import { FulfillmentType } from './dto/enums/sales/FulfillmentType';
|
|
4
|
+
import { LineVatMode } from './dto/enums/sales/LineVatMode';
|
|
4
5
|
import { PriceMode } from './dto/enums/sales/PriceMode';
|
|
6
|
+
import { VatZeroReason } from './dto/enums/sales/VatZeroReason';
|
|
5
7
|
import { BillingInterval } from './dto/enums/subscription/BillingInterval';
|
|
6
8
|
import { SubscriptionStatus } from './dto/enums/subscription/SubscriptionStatus';
|
|
7
9
|
import { ScheduleDefinition } from './dto/subscription/ScheduleDefinition';
|
|
@@ -22,11 +24,16 @@ export default interface SubscriptionResponse {
|
|
|
22
24
|
unitAmount?: number;
|
|
23
25
|
periodAmount: number;
|
|
24
26
|
vatRate?: number;
|
|
27
|
+
taxCountry?: string;
|
|
28
|
+
vatMode?: LineVatMode;
|
|
29
|
+
vatZeroReason?: VatZeroReason;
|
|
25
30
|
priceMode: PriceMode;
|
|
26
31
|
billingInterval: BillingInterval;
|
|
27
32
|
billingIntervalCount: number;
|
|
28
33
|
currency: string;
|
|
29
34
|
fulfillmentType?: FulfillmentType;
|
|
35
|
+
pickupSiteId?: number;
|
|
36
|
+
pickupSiteName?: string;
|
|
30
37
|
customerNote?: string;
|
|
31
38
|
externalSource: string;
|
|
32
39
|
externalRef: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VatClass } from './dto/enums/sales/VatClass';
|
|
2
|
+
export default interface VatRateResponse {
|
|
3
|
+
id: number;
|
|
4
|
+
country: string;
|
|
5
|
+
vatClass: VatClass;
|
|
6
|
+
rate: number;
|
|
7
|
+
validFrom: string;
|
|
8
|
+
version: number;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=VatRateResponse.d.ts.map
|
|
@@ -4,6 +4,12 @@ export declare const CategoryRequestModel: z.ZodObject<{
|
|
|
4
4
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
5
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6
6
|
markupPercent: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
vatClass: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
STANDARD: "STANDARD";
|
|
9
|
+
REDUCED: "REDUCED";
|
|
10
|
+
ACCOMMODATION: "ACCOMMODATION";
|
|
11
|
+
EXEMPT: "EXEMPT";
|
|
12
|
+
}>>>;
|
|
7
13
|
}, z.core.$strip>;
|
|
8
14
|
export type CategoryRequest = z.infer<typeof CategoryRequestModel>;
|
|
9
15
|
//# sourceMappingURL=CategoryRequest.d.ts.map
|
|
@@ -8,4 +8,5 @@ exports.CategoryRequestModel = zod_1.z.object({
|
|
|
8
8
|
description: zod_1.z.string().optional().nullable(),
|
|
9
9
|
parentId: zod_1.z.number().int().optional().nullable(),
|
|
10
10
|
markupPercent: zod_1.z.number().optional().nullable(),
|
|
11
|
+
vatClass: zod_1.z.enum(['STANDARD', 'REDUCED', 'ACCOMMODATION', 'EXEMPT']).optional().nullable(),
|
|
11
12
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
3
|
+
CHECKOUT_EXPIRED: "CHECKOUT_EXPIRED";
|
|
3
4
|
ACCESS_DENIED: "ACCESS_DENIED";
|
|
4
5
|
ADDRESS_COUNTRY_UNKNOWN: "ADDRESS_COUNTRY_UNKNOWN";
|
|
5
6
|
COMPANY_NOT_FOUND: "COMPANY_NOT_FOUND";
|
|
@@ -24,6 +25,7 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
24
25
|
OWNER_COMPANY_INVALID: "OWNER_COMPANY_INVALID";
|
|
25
26
|
CUSTOMER_NOT_FOUND: "CUSTOMER_NOT_FOUND";
|
|
26
27
|
CUSTOMER_HAS_ACTIVE_ORDERS: "CUSTOMER_HAS_ACTIVE_ORDERS";
|
|
28
|
+
CUSTOMER_RESPONSIBLE_NOT_EMPLOYEE: "CUSTOMER_RESPONSIBLE_NOT_EMPLOYEE";
|
|
27
29
|
NOT_UNIQUE: "NOT_UNIQUE";
|
|
28
30
|
USER_NOT_FOUND: "USER_NOT_FOUND";
|
|
29
31
|
USER_COMPANY_REQUIRED: "USER_COMPANY_REQUIRED";
|
|
@@ -158,6 +160,8 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
158
160
|
NESTED_SELECT_PARENT_REQUIRES_CHILD_OPTION: "NESTED_SELECT_PARENT_REQUIRES_CHILD_OPTION";
|
|
159
161
|
STORAGE_SITE_NOT_FOUND: "STORAGE_SITE_NOT_FOUND";
|
|
160
162
|
STORAGE_SITE_NAME_EXISTS: "STORAGE_SITE_NAME_EXISTS";
|
|
163
|
+
STORAGE_SITE_PICKUP_POINT_NO_COUNTRY: "STORAGE_SITE_PICKUP_POINT_NO_COUNTRY";
|
|
164
|
+
STORAGE_SITE_IN_USE: "STORAGE_SITE_IN_USE";
|
|
161
165
|
SPOT_NOT_FOUND: "SPOT_NOT_FOUND";
|
|
162
166
|
SPOT_NOT_IN_STORAGE_SITE: "SPOT_NOT_IN_STORAGE_SITE";
|
|
163
167
|
BATCH_NOT_FOUND: "BATCH_NOT_FOUND";
|
|
@@ -227,6 +231,9 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
227
231
|
ORDER_LINE_UNIT_MISMATCH: "ORDER_LINE_UNIT_MISMATCH";
|
|
228
232
|
ORDER_DISTRIBUTOR_LOCKED: "ORDER_DISTRIBUTOR_LOCKED";
|
|
229
233
|
ORDER_DISTRIBUTOR_NOT_ROUTABLE: "ORDER_DISTRIBUTOR_NOT_ROUTABLE";
|
|
234
|
+
ORDER_PICKUP_SITE_REQUIRED: "ORDER_PICKUP_SITE_REQUIRED";
|
|
235
|
+
ORDER_PICKUP_SITE_INVALID: "ORDER_PICKUP_SITE_INVALID";
|
|
236
|
+
ORDER_PICKUP_DISTRIBUTOR_FIXED: "ORDER_PICKUP_DISTRIBUTOR_FIXED";
|
|
230
237
|
OFFER_NOT_FOUND: "OFFER_NOT_FOUND";
|
|
231
238
|
OFFER_NOT_EDITABLE: "OFFER_NOT_EDITABLE";
|
|
232
239
|
OFFER_INVALID_STATUS_TRANSITION: "OFFER_INVALID_STATUS_TRANSITION";
|
|
@@ -263,6 +270,12 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
263
270
|
CREDIT_NOTE_INVOICE_NOT_ISSUED: "CREDIT_NOTE_INVOICE_NOT_ISSUED";
|
|
264
271
|
CREDIT_NOTE_EXCEEDS_INVOICE: "CREDIT_NOTE_EXCEEDS_INVOICE";
|
|
265
272
|
CREDIT_NOTE_VAT_RATE_NOT_ON_INVOICE: "CREDIT_NOTE_VAT_RATE_NOT_ON_INVOICE";
|
|
273
|
+
VAT_RATES_MISSING: "VAT_RATES_MISSING";
|
|
274
|
+
ORGANIZATION_COUNTRY_MISSING: "ORGANIZATION_COUNTRY_MISSING";
|
|
275
|
+
VAT_RATE_NOT_FOUND: "VAT_RATE_NOT_FOUND";
|
|
276
|
+
VAT_RATE_DUPLICATE: "VAT_RATE_DUPLICATE";
|
|
277
|
+
VAT_RATE_CLASS_NOT_RATED: "VAT_RATE_CLASS_NOT_RATED";
|
|
278
|
+
SALES_LINE_ITEM_VAT_ZERO_REASON_NEEDS_ZERO_RATE: "SALES_LINE_ITEM_VAT_ZERO_REASON_NEEDS_ZERO_RATE";
|
|
266
279
|
CUSTOMER_CREDIT_INSUFFICIENT: "CUSTOMER_CREDIT_INSUFFICIENT";
|
|
267
280
|
SALES_LINE_ITEM_QUANTITY_REQUIRED: "SALES_LINE_ITEM_QUANTITY_REQUIRED";
|
|
268
281
|
SALES_LINE_ITEM_UNIT_PRICE_REQUIRED: "SALES_LINE_ITEM_UNIT_PRICE_REQUIRED";
|
|
@@ -299,6 +312,7 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
299
312
|
SHOP_HOLIDAY_RANGE_INVERTED: "SHOP_HOLIDAY_RANGE_INVERTED";
|
|
300
313
|
SHOP_HOLIDAY_RANGE_OVERLAP: "SHOP_HOLIDAY_RANGE_OVERLAP";
|
|
301
314
|
FORMS_MODULE_DISABLED: "FORMS_MODULE_DISABLED";
|
|
315
|
+
INVENTORY_MODULE_DISABLED: "INVENTORY_MODULE_DISABLED";
|
|
302
316
|
PERMISSION_TARGET_UNKNOWN: "PERMISSION_TARGET_UNKNOWN";
|
|
303
317
|
PERMISSION_LEVEL_INVALID: "PERMISSION_LEVEL_INVALID";
|
|
304
318
|
GROUP_ROLE_NOT_FOUND: "GROUP_ROLE_NOT_FOUND";
|
|
@@ -339,6 +353,7 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
339
353
|
PAYMENT_PROVIDER_ERROR: "PAYMENT_PROVIDER_ERROR";
|
|
340
354
|
PAYMENT_ALREADY_SUCCEEDED: "PAYMENT_ALREADY_SUCCEEDED";
|
|
341
355
|
CHECKOUT_AMOUNT_CHANGED: "CHECKOUT_AMOUNT_CHANGED";
|
|
356
|
+
CHECKOUT_PAYMENT_IN_PROGRESS: "CHECKOUT_PAYMENT_IN_PROGRESS";
|
|
342
357
|
PAYMENT_WEBHOOK_SIGNATURE_INVALID: "PAYMENT_WEBHOOK_SIGNATURE_INVALID";
|
|
343
358
|
SHOP_ORIGIN_NOT_ALLOWED: "SHOP_ORIGIN_NOT_ALLOWED";
|
|
344
359
|
SHOP_ORIGIN_INVALID: "SHOP_ORIGIN_INVALID";
|
|
@@ -352,11 +367,9 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
352
367
|
SATELLITES_DISABLED: "SATELLITES_DISABLED";
|
|
353
368
|
SHOP_PRODUCT_NOT_FOUND: "SHOP_PRODUCT_NOT_FOUND";
|
|
354
369
|
SHOP_PRODUCT_NOT_PRICED: "SHOP_PRODUCT_NOT_PRICED";
|
|
355
|
-
SHOP_PRODUCT_VAT_RATE_MISSING: "SHOP_PRODUCT_VAT_RATE_MISSING";
|
|
356
370
|
SHOP_PRODUCT_NOT_AVAILABLE: "SHOP_PRODUCT_NOT_AVAILABLE";
|
|
357
371
|
SUBSCRIPTION_PLAN_NOT_FOUND: "SUBSCRIPTION_PLAN_NOT_FOUND";
|
|
358
372
|
SUBSCRIPTION_PLAN_PRICE_CURRENCY_DUPLICATE: "SUBSCRIPTION_PLAN_PRICE_CURRENCY_DUPLICATE";
|
|
359
|
-
SUBSCRIPTION_PLAN_PRICE_VAT_RATE_REQUIRED: "SUBSCRIPTION_PLAN_PRICE_VAT_RATE_REQUIRED";
|
|
360
373
|
SUBSCRIPTION_PLAN_NOT_PRICED: "SUBSCRIPTION_PLAN_NOT_PRICED";
|
|
361
374
|
SUBSCRIPTION_PLAN_PRODUCT_DUPLICATE: "SUBSCRIPTION_PLAN_PRODUCT_DUPLICATE";
|
|
362
375
|
SUBSCRIPTION_PLAN_PRODUCT_ARCHIVED: "SUBSCRIPTION_PLAN_PRODUCT_ARCHIVED";
|
|
@@ -389,7 +402,6 @@ export declare const ApplicationErrorModel: z.ZodEnum<{
|
|
|
389
402
|
SUBSCRIPTION_PAYMENT_METHOD_UNAVAILABLE: "SUBSCRIPTION_PAYMENT_METHOD_UNAVAILABLE";
|
|
390
403
|
SUBSCRIPTION_SETUP_INTENT_INVALID: "SUBSCRIPTION_SETUP_INTENT_INVALID";
|
|
391
404
|
PRODUCT_PRICE_CURRENCY_DUPLICATE: "PRODUCT_PRICE_CURRENCY_DUPLICATE";
|
|
392
|
-
PRODUCT_PRICE_VAT_RATE_REQUIRED: "PRODUCT_PRICE_VAT_RATE_REQUIRED";
|
|
393
405
|
SMS_SETTING_NOT_WRITABLE_HERE: "SMS_SETTING_NOT_WRITABLE_HERE";
|
|
394
406
|
SMS_NOT_CONFIGURED: "SMS_NOT_CONFIGURED";
|
|
395
407
|
MIGRATION_SETTING_NOT_WRITABLE_HERE: "MIGRATION_SETTING_NOT_WRITABLE_HERE";
|