@outseta/react 0.4.40 → 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.
|
|
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.
|
|
21
|
+
"@outseta/api-client": "0.3.48"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -241,6 +241,7 @@ export type EmailListAllOf = {
|
|
|
241
241
|
FieldConfigurationDataJSON?: string | null;
|
|
242
242
|
CountSubscriptionsActive?: number;
|
|
243
243
|
CountSubscriptionsBounce?: number;
|
|
244
|
+
CountSubscriptionsIssues?: number;
|
|
244
245
|
CountSubscriptionsNotConfirmed?: number;
|
|
245
246
|
CountSubscriptionsSpam?: number;
|
|
246
247
|
CountSubscriptionsUnsubscribed?: number;
|
|
@@ -4474,6 +4475,76 @@ export const BackGroundTaskType = {
|
|
|
4474
4475
|
UpdateStripeSubscriptionApplicationFeePercentTask: 22,
|
|
4475
4476
|
} as const;
|
|
4476
4477
|
|
|
4478
|
+
export type DirectoryAllOf = {
|
|
4479
|
+
/**
|
|
4480
|
+
* @minLength 1
|
|
4481
|
+
* @maxLength 100
|
|
4482
|
+
*/
|
|
4483
|
+
Name: string;
|
|
4484
|
+
EntityType?: EntityType;
|
|
4485
|
+
/**
|
|
4486
|
+
* @maxLength 50
|
|
4487
|
+
* @nullable
|
|
4488
|
+
*/
|
|
4489
|
+
ItemLabelSingular?: string | null;
|
|
4490
|
+
/**
|
|
4491
|
+
* @maxLength 50
|
|
4492
|
+
* @nullable
|
|
4493
|
+
*/
|
|
4494
|
+
ItemLabelPlural?: string | null;
|
|
4495
|
+
RequiresSignIn?: boolean;
|
|
4496
|
+
ListsAll?: boolean;
|
|
4497
|
+
ShowSearch?: boolean;
|
|
4498
|
+
/** @nullable */
|
|
4499
|
+
ListedPlans?: Plan[] | null;
|
|
4500
|
+
/** @nullable */
|
|
4501
|
+
ListedAddOns?: AddOn[] | null;
|
|
4502
|
+
/** @nullable */
|
|
4503
|
+
ListedProducts?: StripeProduct[] | null;
|
|
4504
|
+
/** @nullable */
|
|
4505
|
+
CardFieldConfiguration?: DirectoryFieldConfiguration[] | null;
|
|
4506
|
+
/** @nullable */
|
|
4507
|
+
ProfileFieldConfiguration?: DirectoryFieldConfiguration[] | null;
|
|
4508
|
+
/** @nullable */
|
|
4509
|
+
FilterConfiguration?: DirectoryFilterConfiguration[] | null;
|
|
4510
|
+
/** @nullable */
|
|
4511
|
+
ActionConfiguration?: DirectoryActionConfiguration[] | null;
|
|
4512
|
+
};
|
|
4513
|
+
|
|
4514
|
+
export type Directory = AbstractQcountBean & DirectoryAllOf;
|
|
4515
|
+
|
|
4516
|
+
export interface DirectoryFieldConfiguration {
|
|
4517
|
+
/** @nullable */
|
|
4518
|
+
SystemName?: string | null;
|
|
4519
|
+
/** @nullable */
|
|
4520
|
+
Label?: string | null;
|
|
4521
|
+
/** @nullable */
|
|
4522
|
+
Type?: string | null;
|
|
4523
|
+
/** @nullable */
|
|
4524
|
+
Display?: string | null;
|
|
4525
|
+
/** @nullable */
|
|
4526
|
+
Icon?: string | null;
|
|
4527
|
+
ShowLabel?: boolean;
|
|
4528
|
+
}
|
|
4529
|
+
|
|
4530
|
+
export interface DirectoryFilterConfiguration {
|
|
4531
|
+
/** @nullable */
|
|
4532
|
+
SystemName?: string | null;
|
|
4533
|
+
/** @nullable */
|
|
4534
|
+
Label?: string | null;
|
|
4535
|
+
}
|
|
4536
|
+
|
|
4537
|
+
export interface DirectoryActionConfiguration {
|
|
4538
|
+
/** @nullable */
|
|
4539
|
+
Label?: string | null;
|
|
4540
|
+
/** @nullable */
|
|
4541
|
+
SystemName?: string | null;
|
|
4542
|
+
/** @nullable */
|
|
4543
|
+
Type?: string | null;
|
|
4544
|
+
/** @nullable */
|
|
4545
|
+
Style?: string | null;
|
|
4546
|
+
}
|
|
4547
|
+
|
|
4477
4548
|
/**
|
|
4478
4549
|
* Request body for POST /api/v1/crm/registrations/complete: the client secret
|
|
4479
4550
|
of the Stripe intent, from the setup_intent_client_secret or
|
|
@@ -5054,6 +5125,32 @@ export interface SetupIntent {
|
|
|
5054
5125
|
ToltReferralId?: string | null;
|
|
5055
5126
|
}
|
|
5056
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
|
+
|
|
5057
5154
|
/**
|
|
5058
5155
|
* @nullable
|
|
5059
5156
|
*/
|