@outseta/api-client 0.4.0 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/api-client",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Generated API client for the Outseta REST API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -461,6 +461,7 @@ export const discountCouponGetDiscountCouponRedemptions = async (discountCouponU
461
461
 
462
462
 
463
463
  /**
464
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected.
464
465
  * @summary Add a usage entry for an add-on that bills for usage at the end of the month.
465
466
  */
466
467
  export type usageAddUsageResponse200 = {
@@ -699,6 +700,8 @@ export const subscriptionAddOnGetAllSubscriptionsAddOns = async (params?: Subscr
699
700
 
700
701
 
701
702
  /**
703
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected;
704
+ use PUT /billing/stripe/subscriptions/{subscriptionUid}/change instead.
702
705
  * @summary Add an add-on to a subscription.
703
706
  */
704
707
  export type subscriptionAddOnAddSubscriptionAddOnResponse200 = {
@@ -839,7 +842,9 @@ export const subscriptionAddOnAddSubscriptionAddOnPreview = async (subscriptionA
839
842
 
840
843
 
841
844
  /**
842
- * When a subscription add-on is flagged, the next time the user authenticates the
845
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected.
846
+
847
+ When a subscription add-on is flagged, the next time the user authenticates the
843
848
  authentication widget will prompt the user to change their add-on.
844
849
  * @summary Indicate that an upgrade of an add-on is required.
845
850
  */
@@ -895,7 +900,10 @@ export const subscriptionAddOnSetAddOnUpgradeRequired = async (subscriptionAddOn
895
900
 
896
901
 
897
902
  /**
898
- * Removes the add-on from the subscription going forward and returns the updated
903
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected;
904
+ use PUT /billing/stripe/subscriptions/{subscriptionUid}/change instead.
905
+
906
+ Removes the add-on from the subscription going forward and returns the updated
899
907
  subscription.
900
908
  * @summary End an add-on on a subscription.
901
909
  */
@@ -949,6 +957,7 @@ export const subscriptionAddOnEndSubscriptionAddOn = async (subscriptionAddOnUid
949
957
 
950
958
 
951
959
  /**
960
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected.
952
961
  * @summary Immediately ends an add-on.
953
962
  */
954
963
  export type subscriptionAddOnExpireSubscriptionAddOnResponse200 = {
@@ -1053,6 +1062,8 @@ export const invoiceGetAllInvoices = async (params?: InvoiceGetAllInvoicesParams
1053
1062
 
1054
1063
 
1055
1064
  /**
1065
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected;
1066
+ use POST /billing/stripe/invoices instead.
1056
1067
  * @summary Create an ad-hoc invoice for a given account.
1057
1068
  */
1058
1069
  export type invoiceAddInvoiceResponse200 = {
@@ -1148,7 +1159,9 @@ export const invoiceGetInvoice = async (invoiceUid: string | null, options?: Req
1148
1159
 
1149
1160
 
1150
1161
  /**
1151
- * Only invoices created manually via the API or admin UI can be updated; invoices
1162
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected.
1163
+
1164
+ Only invoices created manually via the API or admin UI can be updated; invoices
1152
1165
  generated by a subscription's billing cycle are immutable and will return a
1153
1166
  validation error.
1154
1167
  * @summary Update an ad-hoc (manually created) invoice.
@@ -1579,6 +1592,7 @@ export const subscriptionDeleteSubscription = async (subscriptionUid: string | n
1579
1592
 
1580
1593
 
1581
1594
  /**
1595
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected.
1582
1596
  * @summary Add a discount to a subscription.
1583
1597
  */
1584
1598
  export type subscriptionAddDiscountToSubscriptionResponse200 = {
@@ -1688,7 +1702,9 @@ export const subscriptionExpireDiscountCouponSubscription = async (subscriptionU
1688
1702
 
1689
1703
 
1690
1704
  /**
1691
- * When a subscription is flagged, next time the user authenticates the authentication
1705
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected.
1706
+
1707
+ When a subscription is flagged, next time the user authenticates the authentication
1692
1708
  widget will prompt the user to change plan.
1693
1709
  * @summary Indicate that an upgrade of plan is required.
1694
1710
  */
@@ -1792,7 +1808,10 @@ export const subscriptionFirstTimeSubscriptionPreview = async (subscriptionFirst
1792
1808
 
1793
1809
 
1794
1810
  /**
1795
- * Returns the new subscription.
1811
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected;
1812
+ use POST /billing/stripe/subscriptions instead.
1813
+
1814
+ Returns the new subscription.
1796
1815
 
1797
1816
  Outseta sets the subscription's dates itself, except ExpirationDate:
1798
1817
 
@@ -1916,7 +1935,10 @@ export const subscriptionChangeSubscriptionPreview = async (subscriptionUid: str
1916
1935
 
1917
1936
 
1918
1937
  /**
1919
- * Returns the new subscription; its StartDate is when the change takes effect. When only add-ons
1938
+ * Applies to Outseta billing (v2) only. With Stripe Billing (v3) the request is rejected;
1939
+ use PUT /billing/stripe/subscriptions/{subscriptionUid}/change instead.
1940
+
1941
+ Returns the new subscription; its StartDate is when the change takes effect. When only add-ons
1920
1942
  change, returns the existing subscription.
1921
1943
 
1922
1944
  A change of plan, BillingRenewalTerm or quantity ends the current subscription and creates a new
@@ -128,7 +128,9 @@ export const stripeInvoiceLineItemsGetAll = async (params?: StripeInvoiceLineIte
128
128
 
129
129
 
130
130
  /**
131
- * Access ends now. This sets the line item's EndDate and updates the account's products
131
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
132
+
133
+ Access ends now. This sets the line item's EndDate and updates the account's products
132
134
  and stage. The invoice is not changed.
133
135
  * @summary End the product access that a line item gives.
134
136
  */
@@ -417,7 +419,10 @@ export const stripePromotionCodesGetAll = async (params?: StripePromotionCodesGe
417
419
 
418
420
 
419
421
  /**
420
- * A promotion code belongs to a coupon. The code is also created in the connected Stripe
422
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
423
+ use POST /billing/discountcoupons instead.
424
+
425
+ A promotion code belongs to a coupon. The code is also created in the connected Stripe
421
426
  account.
422
427
  * @summary Add a new promotion code.
423
428
  */
@@ -514,7 +519,9 @@ export const stripePromotionCodesGet = async (promotionCodeUid: string | null, o
514
519
 
515
520
 
516
521
  /**
517
- * The code can no longer be redeemed. It is also ended in the connected Stripe account.
522
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
523
+
524
+ The code can no longer be redeemed. It is also ended in the connected Stripe account.
518
525
  No other change is made. The promotion code to end is identified by the Uid in the
519
526
  request body.
520
527
  * @summary End a promotion code.
@@ -651,7 +658,10 @@ export const stripeProductFamiliesGetAll = async (params?: StripeProductFamilies
651
658
 
652
659
 
653
660
  /**
654
- * A product added to this family is removed from any other family.
661
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
662
+ use POST /billing/planfamilies instead.
663
+
664
+ A product added to this family is removed from any other family.
655
665
  * @summary Add a new product family.
656
666
  */
657
667
  export type stripeProductFamiliesPostResponse200 = {
@@ -730,7 +740,10 @@ export const stripeProductFamiliesGet = async (uid: string | null, options?: Req
730
740
 
731
741
 
732
742
  /**
733
- * A product added to this family is removed from any other family.
743
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
744
+ use PUT /billing/planfamilies/{planFamilyUid} instead.
745
+
746
+ A product added to this family is removed from any other family.
734
747
  * @summary Update a product family.
735
748
  */
736
749
  export type stripeProductFamiliesPutResponse200 = {
@@ -886,7 +899,10 @@ export const stripeCouponsGetAll = async (params?: StripeCouponsGetAllParams, op
886
899
 
887
900
 
888
901
  /**
889
- * Set exactly one of PercentOff or CurrencyAmountOff. The coupon is also created in the
902
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
903
+ use POST /billing/discountcoupons instead.
904
+
905
+ Set exactly one of PercentOff or CurrencyAmountOff. The coupon is also created in the
890
906
  connected Stripe account.
891
907
  * @summary Add a new coupon.
892
908
  */
@@ -1095,6 +1111,7 @@ export const stripeCouponsGetRedemptions = async (couponUid: string | null,
1095
1111
 
1096
1112
 
1097
1113
  /**
1114
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1098
1115
  * @summary Import all coupons and promotion codes from the connected Stripe account.
1099
1116
  */
1100
1117
  export type stripeCouponsSyncCouponsFromStripeResponse200 = {
@@ -1137,6 +1154,7 @@ export const stripeCouponsSyncCouponsFromStripe = async ( options?: RequestInit)
1137
1154
 
1138
1155
 
1139
1156
  /**
1157
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1140
1158
  * @summary Import a coupon from the connected Stripe account.
1141
1159
  */
1142
1160
  export type stripeCouponsSyncCouponFromStripeResponse200 = {
@@ -1231,7 +1249,10 @@ export const stripeInvoicesGetAll = async (params?: StripeInvoicesGetAllParams,
1231
1249
 
1232
1250
 
1233
1251
  /**
1234
- * The invoice is created for an account, and also in the connected Stripe account.
1252
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
1253
+ use POST /billing/invoices instead.
1254
+
1255
+ The invoice is created for an account, and also in the connected Stripe account.
1235
1256
  * @summary Add a new invoice.
1236
1257
  */
1237
1258
  export type stripeInvoicesPostResponse200 = {
@@ -1381,7 +1402,9 @@ export const stripeInvoicesGetInvoiceAsPdf = async (invoiceUid: string | null, o
1381
1402
 
1382
1403
 
1383
1404
  /**
1384
- * NewStatus is one of paid (paid outside Stripe), uncollectible or void. The change is
1405
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1406
+
1407
+ NewStatus is one of paid (paid outside Stripe), uncollectible or void. The change is
1385
1408
  also made in the connected Stripe account.
1386
1409
  * @summary Change the status of an invoice.
1387
1410
  */
@@ -1437,7 +1460,9 @@ export const stripeInvoicesChangeInvoiceStatus = async (invoiceUid: string | nul
1437
1460
 
1438
1461
 
1439
1462
  /**
1440
- * CreditType is one of account_balance, payment_method (refund to the payment method) or
1463
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1464
+
1465
+ CreditType is one of account_balance, payment_method (refund to the payment method) or
1441
1466
  out_of_band. The credit note is created in the connected Stripe account.
1442
1467
  * @summary Issue a credit note against an invoice.
1443
1468
  */
@@ -1493,6 +1518,7 @@ export const stripeInvoicesIssueInvoiceCredit = async (invoiceUid: string | null
1493
1518
 
1494
1519
 
1495
1520
  /**
1521
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1496
1522
  * @summary Email an invoice to the account.
1497
1523
  */
1498
1524
  export type stripeInvoicesSendInvoiceEmailResponse200 = {
@@ -1545,6 +1571,7 @@ export const stripeInvoicesSendInvoiceEmail = async (invoiceUid: string | null,
1545
1571
 
1546
1572
 
1547
1573
  /**
1574
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1548
1575
  * @summary Import all invoices from the connected Stripe account.
1549
1576
  */
1550
1577
  export type stripeInvoicesSyncInvoicesFromStripeResponse200 = {
@@ -1636,7 +1663,10 @@ export const stripeSubscriptionsGetAll = async (params?: StripeSubscriptionsGetA
1636
1663
 
1637
1664
 
1638
1665
  /**
1639
- * The subscription is created for an account, and also in the connected Stripe account.
1666
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
1667
+ use PUT /billing/subscriptions/firsttimesubscription instead.
1668
+
1669
+ The subscription is created for an account, and also in the connected Stripe account.
1640
1670
  Identify each item's StripePrice by Uid or StripeId. A discount can name a
1641
1671
  StripePromotionCode, or a StripeCoupon, in which case the first promotion code of
1642
1672
  that coupon that the account can redeem is used.
@@ -1683,7 +1713,9 @@ export const stripeSubscriptionsCreate = async (stripeSubscriptionsCreateBody: N
1683
1713
 
1684
1714
 
1685
1715
  /**
1686
- * By default the subscription ends at the end of the current billing period. Pass
1716
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1717
+
1718
+ By default the subscription ends at the end of the current billing period. Pass
1687
1719
  cancelImmediately=true in the query string to end it now.
1688
1720
  * @summary Cancel a subscription.
1689
1721
  */
@@ -1737,7 +1769,9 @@ export const stripeSubscriptionsCancel = async (subscriptionUid: string | null,
1737
1769
 
1738
1770
 
1739
1771
  /**
1740
- * Behavior is one of Stripe's pause_collection behaviors: keep_as_draft,
1772
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1773
+
1774
+ Behavior is one of Stripe's pause_collection behaviors: keep_as_draft,
1741
1775
  mark_uncollectible or void. ResumesAt is optional; without it, collection stays paused
1742
1776
  until resumed.
1743
1777
  * @summary Pause payment collection on a subscription.
@@ -1794,7 +1828,10 @@ export const stripeSubscriptionsPauseCollection = async (subscriptionUid: string
1794
1828
 
1795
1829
 
1796
1830
  /**
1797
- * Use this, for example, to move a subscription to another price. Identify each item's
1831
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
1832
+ use PUT /billing/subscriptions/{subscriptionUid}/changesubscription instead.
1833
+
1834
+ Use this, for example, to move a subscription to another price. Identify each item's
1798
1835
  StripePrice by Uid or StripeId. A user token can only change a subscription on its own
1799
1836
  account, and only as the account's primary contact.
1800
1837
  * @summary Change the items of a subscription.
@@ -1909,7 +1946,9 @@ export const stripeSubscriptionsPreviewChange = async (subscriptionUid: string |
1909
1946
 
1910
1947
 
1911
1948
  /**
1912
- * This sets the subscription's trial end to ToDate, without proration.
1949
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
1950
+
1951
+ This sets the subscription's trial end to ToDate, without proration.
1913
1952
  * @summary Extend the date of a subscription's next invoice.
1914
1953
  */
1915
1954
  export type stripeSubscriptionsExtendTrialResponse200 = {
@@ -1964,7 +2003,9 @@ export const stripeSubscriptionsExtendTrial = async (subscriptionUid: string | n
1964
2003
 
1965
2004
 
1966
2005
  /**
1967
- * The scheduled changes no longer happen, and the subscription keeps its current items.
2006
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
2007
+
2008
+ The scheduled changes no longer happen, and the subscription keeps its current items.
1968
2009
  Nothing happens when there is no active schedule.
1969
2010
  * @summary Release a subscription's active schedule.
1970
2011
  */
@@ -2018,6 +2059,7 @@ export const stripeSubscriptionsReleaseSchedule = async (subscriptionUid: string
2018
2059
 
2019
2060
 
2020
2061
  /**
2062
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
2021
2063
  * @summary Resume payment collection on a paused subscription.
2022
2064
  */
2023
2065
  export type stripeSubscriptionsResumeCollectionResponse200 = {
@@ -2070,7 +2112,9 @@ export const stripeSubscriptionsResumeCollection = async (subscriptionUid: strin
2070
2112
 
2071
2113
 
2072
2114
  /**
2073
- * The trial ends now, so that the subscription starts and is invoiced.
2115
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
2116
+
2117
+ The trial ends now, so that the subscription starts and is invoiced.
2074
2118
  * @summary Start a trialing subscription.
2075
2119
  */
2076
2120
  export type stripeSubscriptionsStartResponse200 = {
@@ -2123,7 +2167,9 @@ export const stripeSubscriptionsStart = async (subscriptionUid: string | null, o
2123
2167
 
2124
2168
 
2125
2169
  /**
2126
- * Pass productUid in the query string to import only the subscriptions to that
2170
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
2171
+
2172
+ Pass productUid in the query string to import only the subscriptions to that
2127
2173
  product's prices. The response is an import result wrapped in a Count property.
2128
2174
  * @summary Import subscriptions from the connected Stripe account.
2129
2175
  */
@@ -2167,7 +2213,9 @@ export const stripeSubscriptionsSyncSubscriptionsFromStripe = async ( options?:
2167
2213
 
2168
2214
 
2169
2215
  /**
2170
- * A subscription set to end at the end of its billing period renews instead.
2216
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
2217
+
2218
+ A subscription set to end at the end of its billing period renews instead.
2171
2219
  * @summary Remove a subscription's pending cancellation.
2172
2220
  */
2173
2221
  export type stripeSubscriptionsUncancelResponse200 = {
@@ -2269,7 +2317,10 @@ export const stripeProductsGetAll = async (params?: StripeProductsGetAllParams,
2269
2317
 
2270
2318
 
2271
2319
  /**
2272
- * The product is also created in the connected Stripe account.
2320
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
2321
+ use POST /billing/plans or POST /billing/addons instead.
2322
+
2323
+ The product is also created in the connected Stripe account.
2273
2324
  * @summary Add a new product.
2274
2325
  */
2275
2326
  export type stripeProductsPostResponse200 = {
@@ -2313,6 +2364,7 @@ export const stripeProductsPost = async (stripeProductsPostBody: NonReadonly<Str
2313
2364
 
2314
2365
 
2315
2366
  /**
2367
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
2316
2368
  * @summary Import all products and their prices from the connected Stripe account.
2317
2369
  */
2318
2370
  export type stripeProductsSyncProductsFromStripeResponse200 = {
@@ -2397,7 +2449,10 @@ export const stripeProductsGet = async (uid: string | null, options?: RequestIni
2397
2449
 
2398
2450
 
2399
2451
  /**
2400
- * The changes are also sent to the connected Stripe account.
2452
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected;
2453
+ use PUT /billing/plans/{planUid} or PUT /billing/addons/{addOnUid} instead.
2454
+
2455
+ The changes are also sent to the connected Stripe account.
2401
2456
  * @summary Update a product.
2402
2457
  */
2403
2458
  export type stripeProductsPutResponse200 = {
@@ -2442,6 +2497,7 @@ export const stripeProductsPut = async (uid: string | null,
2442
2497
 
2443
2498
 
2444
2499
  /**
2500
+ * Applies to Stripe Billing (v3) only. With Outseta billing (v2) the request is rejected.
2445
2501
  * @summary Import a product and its prices from the connected Stripe account.
2446
2502
  */
2447
2503
  export type stripeProductsSyncProductFromStripeResponse200 = {
@@ -24,6 +24,8 @@ export type AccountWebhookEntityPrimaryStripeSubscription = {
24
24
  /** @nullable */
25
25
  ApplicationFeePercent?: number | null;
26
26
  /** @nullable */
27
+ BillingCycleAnchor?: string | null;
28
+ /** @nullable */
27
29
  CancelAt?: string | null;
28
30
  CancelAtPeriodEnd?: boolean;
29
31
  /**
@@ -51,14 +53,14 @@ export type AccountWebhookEntityPrimaryStripeSubscription = {
51
53
  /** @nullable */
52
54
  AccountUid?: string | null;
53
55
  /** @nullable */
54
- BillingCycleAnchor?: string | null;
55
- /** @nullable */
56
56
  CollectionMethod?: string | null;
57
57
  /** @nullable */
58
58
  CustomerId?: string | null;
59
59
  /** @nullable */
60
60
  DaysUntilDue?: number | null;
61
61
  /** @nullable */
62
+ PaymentUrl?: string | null;
63
+ /** @nullable */
62
64
  ScheduleId?: string | null;
63
65
  /** @nullable */
64
66
  StripeDiscountIds?: string[] | null;
@@ -87,6 +87,8 @@ export type AccountWebhookEntityStripeInvoicesItem = {
87
87
  /** @nullable */
88
88
  CustomerId?: string | null;
89
89
  /** @nullable */
90
+ EffectiveDate?: string | null;
91
+ /** @nullable */
90
92
  PaymentStatus?: string | null;
91
93
  /** @nullable */
92
94
  StripePaymentMethodId?: string | null;
@@ -21,6 +21,8 @@ export type AccountWebhookEntityStripeSubscriptionsItem = {
21
21
  /** @nullable */
22
22
  ApplicationFeePercent?: number | null;
23
23
  /** @nullable */
24
+ BillingCycleAnchor?: string | null;
25
+ /** @nullable */
24
26
  CancelAt?: string | null;
25
27
  CancelAtPeriodEnd?: boolean;
26
28
  /**
@@ -48,14 +50,14 @@ export type AccountWebhookEntityStripeSubscriptionsItem = {
48
50
  /** @nullable */
49
51
  AccountUid?: string | null;
50
52
  /** @nullable */
51
- BillingCycleAnchor?: string | null;
52
- /** @nullable */
53
53
  CollectionMethod?: string | null;
54
54
  /** @nullable */
55
55
  CustomerId?: string | null;
56
56
  /** @nullable */
57
57
  DaysUntilDue?: number | null;
58
58
  /** @nullable */
59
+ PaymentUrl?: string | null;
60
+ /** @nullable */
59
61
  ScheduleId?: string | null;
60
62
  /** @nullable */
61
63
  StripeDiscountIds?: string[] | null;
@@ -810,6 +810,7 @@ export * from './taskWebhookEventDataStatus';
810
810
  export * from './taxRate';
811
811
  export * from './taxRateAllOf';
812
812
  export * from './teamRole';
813
+ export * from './teamTwoFactorSettings';
813
814
  export * from './template';
814
815
  export * from './templateAllOf';
815
816
  export * from './templateEmailInstance';
@@ -86,6 +86,8 @@ export type StripeInvoiceAllOf = {
86
86
  /** @nullable */
87
87
  CustomerId?: string | null;
88
88
  /** @nullable */
89
+ EffectiveDate?: string | null;
90
+ /** @nullable */
89
91
  PaymentStatus?: string | null;
90
92
  /** @nullable */
91
93
  StripeCreditNotes?: StripeCreditNote[] | null;
@@ -10,6 +10,12 @@ export type StripeProductFamilyAllOf = {
10
10
  IsActive?: boolean;
11
11
  IsDefault?: boolean;
12
12
  /** @nullable */
13
+ BillingCycleAnchorDayOfMonth?: number | null;
14
+ /** @nullable */
15
+ BillingCycleAnchorHour?: number | null;
16
+ /** @nullable */
17
+ BillingCycleAnchorMonth?: number | null;
18
+ /** @nullable */
13
19
  StripeProducts?: StripeProduct[] | null;
14
20
  [key: string]: unknown | null;
15
21
  };
@@ -10,6 +10,8 @@ export type StripeSubscriptionAllOf = {
10
10
  /** @nullable */
11
11
  ApplicationFeePercent?: number | null;
12
12
  /** @nullable */
13
+ BillingCycleAnchor?: string | null;
14
+ /** @nullable */
13
15
  CancelAt?: string | null;
14
16
  CancelAtPeriodEnd?: boolean;
15
17
  /** @nullable */
@@ -47,14 +49,14 @@ export type StripeSubscriptionAllOf = {
47
49
  /** @nullable */
48
50
  AccountUid?: string | null;
49
51
  /** @nullable */
50
- BillingCycleAnchor?: string | null;
51
- /** @nullable */
52
52
  CollectionMethod?: string | null;
53
53
  /** @nullable */
54
54
  CustomerId?: string | null;
55
55
  /** @nullable */
56
56
  DaysUntilDue?: number | null;
57
57
  /** @nullable */
58
+ PaymentUrl?: string | null;
59
+ /** @nullable */
58
60
  ScheduleId?: string | null;
59
61
  /** @nullable */
60
62
  StripeDiscountIds?: string[] | null;
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+
3
+ export interface TeamTwoFactorSettings {
4
+ Enabled?: boolean;
5
+ Required?: boolean;
6
+ }