@outseta/react 0.4.41 → 0.4.42

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/react",
3
- "version": "0.4.41",
3
+ "version": "0.4.42",
4
4
  "description": "React hooks and components for the Outseta API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@outseta/api-client": "0.3.47"
21
+ "@outseta/api-client": "0.3.48"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^18.0.0 || ^19.0.0"
@@ -5125,6 +5125,32 @@ export interface SetupIntent {
5125
5125
  ToltReferralId?: string | null;
5126
5126
  }
5127
5127
 
5128
+ /**
5129
+ * Request body for POST /api/v1/billing/subscriptions/changesubscription/complete:
5130
+ the client secret of the Stripe intent the user confirmed.
5131
+ */
5132
+ export interface ChangeSubscriptionCompleteRequest {
5133
+ /** @nullable */
5134
+ ClientSecret?: string | null;
5135
+ }
5136
+
5137
+ /**
5138
+ * @nullable
5139
+ */
5140
+ export type ChangeSubscriptionStateRequestSubscription = Subscription | null;
5141
+
5142
+ /**
5143
+ * Request body for POST /api/v1/billing/subscriptions/{subscriptionUid}/changesubscription/state:
5144
+ the new subscription and the client secret of the Stripe intent the user is about
5145
+ to confirm.
5146
+ */
5147
+ export interface ChangeSubscriptionStateRequest {
5148
+ /** @nullable */
5149
+ ClientSecret?: string | null;
5150
+ /** @nullable */
5151
+ Subscription?: ChangeSubscriptionStateRequestSubscription;
5152
+ }
5153
+
5128
5154
  /**
5129
5155
  * @nullable
5130
5156
  */