@outseta/react 0.4.34 → 0.4.35
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/dist/index.js +5 -0
- package/package.json +2 -2
- package/src/generated/outsetaAPI.schemas.ts +101 -1
package/dist/index.js
CHANGED
|
@@ -3879,6 +3879,10 @@ var AccountWebhookEntitySubscriptionsItemLatestInvoiceBillingInvoiceStatus = {
|
|
|
3879
3879
|
Uncollectible: 6,
|
|
3880
3880
|
Processing: 7
|
|
3881
3881
|
};
|
|
3882
|
+
var AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode = {
|
|
3883
|
+
Individual: 1,
|
|
3884
|
+
Team: 2
|
|
3885
|
+
};
|
|
3882
3886
|
var AccountWebhookEntityCurrentSubscriptionBillingRenewalTerm = {
|
|
3883
3887
|
Monthly: 1,
|
|
3884
3888
|
Yearly: 2,
|
|
@@ -4029,6 +4033,7 @@ export {
|
|
|
4029
4033
|
AccountRegistrationMode,
|
|
4030
4034
|
AccountStage,
|
|
4031
4035
|
AccountWebhookEntityAccountStage,
|
|
4036
|
+
AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode,
|
|
4032
4037
|
AccountWebhookEntityCurrentSubscriptionBillingRenewalTerm,
|
|
4033
4038
|
AccountWebhookEntityCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration,
|
|
4034
4039
|
AccountWebhookEntityCurrentSubscriptionLatestInvoiceBillingInvoiceStatus,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outseta/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.35",
|
|
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.41"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -595,6 +595,8 @@ export type AccountAllOf = {
|
|
|
595
595
|
/** @nullable */
|
|
596
596
|
CurrentStripeProducts?: string | null;
|
|
597
597
|
/** @nullable */
|
|
598
|
+
CurrentStripeProductInstances?: StripeProduct[] | null;
|
|
599
|
+
/** @nullable */
|
|
598
600
|
CurrentSubscription?: AccountAllOfCurrentSubscription;
|
|
599
601
|
/** @nullable */
|
|
600
602
|
DomainName?: string | null;
|
|
@@ -1004,6 +1006,8 @@ export type StripeProductAllOf = {
|
|
|
1004
1006
|
NumberOfPurchases?: number;
|
|
1005
1007
|
NumberOfSubscriptions?: number;
|
|
1006
1008
|
/** @nullable */
|
|
1009
|
+
Quantity?: number | null;
|
|
1010
|
+
/** @nullable */
|
|
1007
1011
|
StripeProductFamily?: StripeProductAllOfStripeProductFamily;
|
|
1008
1012
|
[key: string]: unknown | null;
|
|
1009
1013
|
};
|
|
@@ -4564,7 +4568,6 @@ export type CrmSettingsAllOf = {
|
|
|
4564
4568
|
RegistrationConfirmationEmailDelaySeconds?: number;
|
|
4565
4569
|
/** @nullable */
|
|
4566
4570
|
RegistrationCallbackUrlLocations?: string | null;
|
|
4567
|
-
TwoFactorAuthenticationAvailable?: boolean;
|
|
4568
4571
|
MagicLinkLoginOnly?: boolean;
|
|
4569
4572
|
};
|
|
4570
4573
|
|
|
@@ -6125,6 +6128,101 @@ export type AccountWebhookEntityTaxIdsItem = {
|
|
|
6125
6128
|
IsInvalid?: boolean;
|
|
6126
6129
|
};
|
|
6127
6130
|
|
|
6131
|
+
/**
|
|
6132
|
+
* `1` - Individual, `2` - Team
|
|
6133
|
+
*/
|
|
6134
|
+
export type AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode = typeof AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode[keyof typeof AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode];
|
|
6135
|
+
|
|
6136
|
+
|
|
6137
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
6138
|
+
export const AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode = {
|
|
6139
|
+
Individual: 1,
|
|
6140
|
+
Team: 2,
|
|
6141
|
+
} as const;
|
|
6142
|
+
|
|
6143
|
+
export type AccountWebhookEntityCurrentStripeProductInstancesItem = {
|
|
6144
|
+
/**
|
|
6145
|
+
* @maxLength 10
|
|
6146
|
+
* @nullable
|
|
6147
|
+
*/
|
|
6148
|
+
Uid?: string | null;
|
|
6149
|
+
/** @nullable */
|
|
6150
|
+
_objectType?: string | null;
|
|
6151
|
+
/** @minLength 1 */
|
|
6152
|
+
Created: string;
|
|
6153
|
+
/** @minLength 1 */
|
|
6154
|
+
Updated: string;
|
|
6155
|
+
/**
|
|
6156
|
+
* @maxLength 255
|
|
6157
|
+
* @nullable
|
|
6158
|
+
*/
|
|
6159
|
+
StripeId?: string | null;
|
|
6160
|
+
IsLivemode?: boolean;
|
|
6161
|
+
/**
|
|
6162
|
+
* @maxLength 250
|
|
6163
|
+
* @nullable
|
|
6164
|
+
*/
|
|
6165
|
+
Name?: string | null;
|
|
6166
|
+
/**
|
|
6167
|
+
* @maxLength 255
|
|
6168
|
+
* @nullable
|
|
6169
|
+
*/
|
|
6170
|
+
DefaultPriceId?: string | null;
|
|
6171
|
+
/** @nullable */
|
|
6172
|
+
Description?: string | null;
|
|
6173
|
+
IsActive?: boolean;
|
|
6174
|
+
/**
|
|
6175
|
+
* @maxLength 36
|
|
6176
|
+
* @nullable
|
|
6177
|
+
*/
|
|
6178
|
+
TaxCodeId?: string | null;
|
|
6179
|
+
/**
|
|
6180
|
+
* @maxLength 250
|
|
6181
|
+
* @nullable
|
|
6182
|
+
*/
|
|
6183
|
+
UnitLabel?: string | null;
|
|
6184
|
+
/** `1` - Individual, `2` - Team */
|
|
6185
|
+
AccountRegistrationMode?: AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode;
|
|
6186
|
+
ExpiresAfterMonths?: number;
|
|
6187
|
+
/** @nullable */
|
|
6188
|
+
ExpirationDate?: string | null;
|
|
6189
|
+
IsPerUser?: boolean;
|
|
6190
|
+
IsQuantityEditable?: boolean;
|
|
6191
|
+
/** @nullable */
|
|
6192
|
+
MaximumPeople?: number | null;
|
|
6193
|
+
/**
|
|
6194
|
+
* @maxLength 8
|
|
6195
|
+
* @nullable
|
|
6196
|
+
*/
|
|
6197
|
+
MigratedAddOnUid?: string | null;
|
|
6198
|
+
/**
|
|
6199
|
+
* @maxLength 8
|
|
6200
|
+
* @nullable
|
|
6201
|
+
*/
|
|
6202
|
+
MigratedPlanUid?: string | null;
|
|
6203
|
+
/** @nullable */
|
|
6204
|
+
MinimumQuantity?: number | null;
|
|
6205
|
+
/**
|
|
6206
|
+
* @maxLength 250
|
|
6207
|
+
* @nullable
|
|
6208
|
+
*/
|
|
6209
|
+
PostLoginPath?: string | null;
|
|
6210
|
+
/**
|
|
6211
|
+
* @maxLength 500
|
|
6212
|
+
* @nullable
|
|
6213
|
+
*/
|
|
6214
|
+
PostPurchaseUrl?: string | null;
|
|
6215
|
+
RequirePaymentInformation?: boolean;
|
|
6216
|
+
TrialPeriodDays?: number;
|
|
6217
|
+
/** @nullable */
|
|
6218
|
+
TrialUntilDate?: string | null;
|
|
6219
|
+
CanDelete?: boolean;
|
|
6220
|
+
NumberOfPurchases?: number;
|
|
6221
|
+
NumberOfSubscriptions?: number;
|
|
6222
|
+
/** @nullable */
|
|
6223
|
+
Quantity?: number | null;
|
|
6224
|
+
};
|
|
6225
|
+
|
|
6128
6226
|
/**
|
|
6129
6227
|
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
6130
6228
|
*/
|
|
@@ -7394,6 +7492,8 @@ export interface AccountWebhookEntity {
|
|
|
7394
7492
|
/** @nullable */
|
|
7395
7493
|
CurrentStripeProducts?: string | null;
|
|
7396
7494
|
/** @nullable */
|
|
7495
|
+
CurrentStripeProductInstances?: AccountWebhookEntityCurrentStripeProductInstancesItem[] | null;
|
|
7496
|
+
/** @nullable */
|
|
7397
7497
|
CurrentSubscription?: AccountWebhookEntityCurrentSubscription;
|
|
7398
7498
|
/** @nullable */
|
|
7399
7499
|
DomainName?: string | null;
|