@wix/auto_sdk_subscription_subscriptions 1.0.10 → 1.0.11
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/build/cjs/index.d.ts +18 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +43 -57
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +25 -39
- package/build/es/index.d.mts +18 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +43 -57
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +25 -39
- package/build/internal/cjs/index.d.ts +19 -19
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +44 -58
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +25 -39
- package/build/internal/es/index.d.mts +19 -19
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +44 -58
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +25 -39
- package/package.json +2 -2
|
@@ -599,19 +599,13 @@ interface BillingStatus {
|
|
|
599
599
|
*/
|
|
600
600
|
gracePeriodData?: GracePeriodData;
|
|
601
601
|
}
|
|
602
|
+
/** TODO: fill docs */
|
|
602
603
|
interface PaymentData {
|
|
603
|
-
/**
|
|
604
|
-
* Latest payment's invoice ID
|
|
605
|
-
* @format GUID
|
|
606
|
-
*/
|
|
604
|
+
/** @format GUID */
|
|
607
605
|
invoiceId?: string;
|
|
608
|
-
/** Latest payment's status: UNPAID/PAID/FAILED */
|
|
609
606
|
paymentStatus?: PaymentStatusWithLiterals;
|
|
610
|
-
/** Latest payment's totals. */
|
|
611
607
|
totals?: Totals;
|
|
612
608
|
initialFailedPaymentDate?: Date | null;
|
|
613
|
-
/** Tax-related data for the latest payment */
|
|
614
|
-
taxData?: PaymentTaxData;
|
|
615
609
|
}
|
|
616
610
|
declare enum PaymentStatus {
|
|
617
611
|
/** Payment status unknown */
|
|
@@ -683,37 +677,6 @@ interface Totals {
|
|
|
683
677
|
*/
|
|
684
678
|
prorationTax?: string | null;
|
|
685
679
|
}
|
|
686
|
-
interface PaymentTaxData {
|
|
687
|
-
/**
|
|
688
|
-
* A detailed breakdown of the tax authorities for all subscription items from the latest payment
|
|
689
|
-
* @minSize 1
|
|
690
|
-
* @maxSize 100
|
|
691
|
-
*/
|
|
692
|
-
taxBreakdowns?: TaxBreakdown[];
|
|
693
|
-
}
|
|
694
|
-
interface TaxBreakdown {
|
|
695
|
-
taxType?: string;
|
|
696
|
-
/** @decimalValue options { maxScale:4 } */
|
|
697
|
-
taxRate?: string;
|
|
698
|
-
/** @format DECIMAL_VALUE */
|
|
699
|
-
taxAmount?: string | null;
|
|
700
|
-
/** @format DECIMAL_VALUE */
|
|
701
|
-
taxableAmount?: string | null;
|
|
702
|
-
/** @format DECIMAL_VALUE */
|
|
703
|
-
nonTaxableAmount?: string | null;
|
|
704
|
-
/**
|
|
705
|
-
* Name of the tax that was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
|
|
706
|
-
* @maxLength 200
|
|
707
|
-
*/
|
|
708
|
-
taxName?: string | null;
|
|
709
|
-
/**
|
|
710
|
-
* Jurisdiction that taxes were calculated for.
|
|
711
|
-
* @maxLength 200
|
|
712
|
-
*/
|
|
713
|
-
jurisdiction?: string | null;
|
|
714
|
-
/** Type of jurisdiction that taxes were calculated for. */
|
|
715
|
-
jurisdictionType?: string;
|
|
716
|
-
}
|
|
717
680
|
interface FreeTrialData {
|
|
718
681
|
/**
|
|
719
682
|
* Date when free trial starts
|
|
@@ -1570,6 +1533,29 @@ interface LineItemTaxSummary {
|
|
|
1570
1533
|
*/
|
|
1571
1534
|
finalTaxAmount?: string | null;
|
|
1572
1535
|
}
|
|
1536
|
+
interface TaxBreakdown {
|
|
1537
|
+
taxType?: string;
|
|
1538
|
+
/** @decimalValue options { maxScale:4 } */
|
|
1539
|
+
taxRate?: string;
|
|
1540
|
+
/** @format DECIMAL_VALUE */
|
|
1541
|
+
taxAmount?: string | null;
|
|
1542
|
+
/** @format DECIMAL_VALUE */
|
|
1543
|
+
taxableAmount?: string | null;
|
|
1544
|
+
/** @format DECIMAL_VALUE */
|
|
1545
|
+
nonTaxableAmount?: string | null;
|
|
1546
|
+
/**
|
|
1547
|
+
* Name of the tax that was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
|
|
1548
|
+
* @maxLength 200
|
|
1549
|
+
*/
|
|
1550
|
+
taxName?: string | null;
|
|
1551
|
+
/**
|
|
1552
|
+
* Jurisdiction that taxes were calculated for.
|
|
1553
|
+
* @maxLength 200
|
|
1554
|
+
*/
|
|
1555
|
+
jurisdiction?: string | null;
|
|
1556
|
+
/** Type of jurisdiction that taxes were calculated for. */
|
|
1557
|
+
jurisdictionType?: string;
|
|
1558
|
+
}
|
|
1573
1559
|
interface InitiatePaymentMethodSetupRequest {
|
|
1574
1560
|
id: string;
|
|
1575
1561
|
paymentMode?: PaymentModeWithLiterals;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_subscription_subscriptions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.billing.v1.subscription"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "9d7690daa0c060b2efcb960457d324fbe5ab0927df72064313c3838a"
|
|
54
54
|
}
|