@wix/auto_sdk_ecom_draft-orders 1.0.158 → 1.0.160

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.
@@ -1469,6 +1469,11 @@ interface AdditionalFee {
1469
1469
  subscriptionCycles?: number | null;
1470
1470
  /** Specifies the entity that added the additional fee. */
1471
1471
  source?: AdditionalFeeSourceWithLiterals;
1472
+ /**
1473
+ * Address type tax was calculated against for this fee.
1474
+ * @internal
1475
+ */
1476
+ taxableAddress?: TaxableAddress;
1472
1477
  }
1473
1478
  declare enum AdditionalFeeSource {
1474
1479
  /** The additional fee was added by an additional fee service plugin. */
@@ -5609,6 +5614,10 @@ type CreateOrderFromDraftApplicationErrors = {
5609
5614
  code?: 'BILLING_ADDRESS_REQUIRED_FOR_TAX_CALCULATION';
5610
5615
  description?: string;
5611
5616
  data?: Record<string, any>;
5617
+ } | {
5618
+ code?: 'BUSINESS_ADDRESS_MISSING_OR_INVALID_FOR_TAX_CALCULATION';
5619
+ description?: string;
5620
+ data?: Record<string, any>;
5612
5621
  };
5613
5622
  /** @docsIgnore */
5614
5623
  type DeleteDraftOrderApplicationErrors = {