@outseta/react 0.4.38 → 0.4.39
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 +19 -4
- package/package.json +2 -2
- package/src/generated/outsetaAPI.schemas.ts +102 -12
package/dist/index.js
CHANGED
|
@@ -3583,6 +3583,10 @@ var CancelationStatus = {
|
|
|
3583
3583
|
Removed: 3,
|
|
3584
3584
|
Deleted: 4
|
|
3585
3585
|
};
|
|
3586
|
+
var BillingSystem = {
|
|
3587
|
+
Outseta: 1,
|
|
3588
|
+
Stripe: 2
|
|
3589
|
+
};
|
|
3586
3590
|
var TeamRole = {
|
|
3587
3591
|
Admin: 1,
|
|
3588
3592
|
Member: 2,
|
|
@@ -3598,10 +3602,6 @@ var EmailListSubscriberStatus = {
|
|
|
3598
3602
|
Cleaned: 3,
|
|
3599
3603
|
Confirmed: 4
|
|
3600
3604
|
};
|
|
3601
|
-
var BillingSystem = {
|
|
3602
|
-
Outseta: 1,
|
|
3603
|
-
Stripe: 2
|
|
3604
|
-
};
|
|
3605
3605
|
var SupportCaseStatus = {
|
|
3606
3606
|
Open: 1,
|
|
3607
3607
|
Closed: 2,
|
|
@@ -3946,6 +3946,10 @@ var AccountWebhookEntityCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = {
|
|
|
3946
3946
|
Uncollectible: 6,
|
|
3947
3947
|
Processing: 7
|
|
3948
3948
|
};
|
|
3949
|
+
var AccountWebhookEntityTenantBillingSystem = {
|
|
3950
|
+
Outseta: 1,
|
|
3951
|
+
Stripe: 2
|
|
3952
|
+
};
|
|
3949
3953
|
var AccountWebhookEntityLatestSubscriptionBillingRenewalTerm = {
|
|
3950
3954
|
Monthly: 1,
|
|
3951
3955
|
Yearly: 2,
|
|
@@ -4012,6 +4016,10 @@ var PersonWebhookEntityAccountAccountStage = {
|
|
|
4012
4016
|
Paused: 9,
|
|
4013
4017
|
Created: 10
|
|
4014
4018
|
};
|
|
4019
|
+
var PersonWebhookEntityAccountTenantBillingSystem = {
|
|
4020
|
+
Outseta: 1,
|
|
4021
|
+
Stripe: 2
|
|
4022
|
+
};
|
|
4015
4023
|
var PersonWebhookEntityEmailListPersonItemEmailListSubscriberStatus = {
|
|
4016
4024
|
Subscribed: 1,
|
|
4017
4025
|
Unsubscribed: 2,
|
|
@@ -4033,6 +4041,10 @@ var DealWebhookEntityAccountAccountStage = {
|
|
|
4033
4041
|
Paused: 9,
|
|
4034
4042
|
Created: 10
|
|
4035
4043
|
};
|
|
4044
|
+
var DealWebhookEntityAccountTenantBillingSystem = {
|
|
4045
|
+
Outseta: 1,
|
|
4046
|
+
Stripe: 2
|
|
4047
|
+
};
|
|
4036
4048
|
var DealWebhookEntityOwnerOAuthIntegrationStatus = {
|
|
4037
4049
|
None: 0,
|
|
4038
4050
|
Gmail: 1
|
|
@@ -4084,6 +4096,7 @@ export {
|
|
|
4084
4096
|
AccountWebhookEntitySubscriptionsItemPlanAccountRegistrationMode,
|
|
4085
4097
|
AccountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType,
|
|
4086
4098
|
AccountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm,
|
|
4099
|
+
AccountWebhookEntityTenantBillingSystem,
|
|
4087
4100
|
ActivityType,
|
|
4088
4101
|
AddOnChangeType,
|
|
4089
4102
|
AddOnWebhookEntityBillingAddOnType,
|
|
@@ -4104,6 +4117,7 @@ export {
|
|
|
4104
4117
|
ContentGroupItemMatchMode,
|
|
4105
4118
|
DatabaseType,
|
|
4106
4119
|
DealWebhookEntityAccountAccountStage,
|
|
4120
|
+
DealWebhookEntityAccountTenantBillingSystem,
|
|
4107
4121
|
DealWebhookEntityOwnerOAuthIntegrationStatus,
|
|
4108
4122
|
DeserializationStatus,
|
|
4109
4123
|
EmailListButton,
|
|
@@ -4121,6 +4135,7 @@ export {
|
|
|
4121
4135
|
PaymentsGatewayActivationStatus,
|
|
4122
4136
|
PaymentsMode,
|
|
4123
4137
|
PersonWebhookEntityAccountAccountStage,
|
|
4138
|
+
PersonWebhookEntityAccountTenantBillingSystem,
|
|
4124
4139
|
PersonWebhookEntityEmailListPersonItemEmailListSubscriberStatus,
|
|
4125
4140
|
PersonWebhookEntityOAuthIntegrationStatus,
|
|
4126
4141
|
PersonWebhookEntityPersonAccountItemRole,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outseta/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.39",
|
|
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.45"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -461,6 +461,11 @@ export type AccountAllOfPaymentInformation = PaymentInformation | null;
|
|
|
461
461
|
*/
|
|
462
462
|
export type AccountAllOfCurrentSubscription = Subscription | null;
|
|
463
463
|
|
|
464
|
+
/**
|
|
465
|
+
* @nullable
|
|
466
|
+
*/
|
|
467
|
+
export type AccountAllOfTenantBillingSystem = BillingSystem | null;
|
|
468
|
+
|
|
464
469
|
/**
|
|
465
470
|
* @nullable
|
|
466
471
|
*/
|
|
@@ -605,6 +610,8 @@ export type AccountAllOf = {
|
|
|
605
610
|
CurrentSubscription?: AccountAllOfCurrentSubscription;
|
|
606
611
|
/** @nullable */
|
|
607
612
|
DomainName?: string | null;
|
|
613
|
+
/** @nullable */
|
|
614
|
+
TenantBillingSystem?: AccountAllOfTenantBillingSystem;
|
|
608
615
|
HasLoggedIn?: boolean;
|
|
609
616
|
/** @nullable */
|
|
610
617
|
LatestSubscription?: AccountAllOfLatestSubscription;
|
|
@@ -2638,6 +2645,18 @@ export type AbstractStripeBeanOfTaxIdAllOf = {
|
|
|
2638
2645
|
|
|
2639
2646
|
export type AbstractStripeBeanOfTaxId = AbstractSchemaLessBean & AbstractStripeBeanOfTaxIdAllOf;
|
|
2640
2647
|
|
|
2648
|
+
/**
|
|
2649
|
+
* `1` - Outseta, `2` - Stripe
|
|
2650
|
+
*/
|
|
2651
|
+
export type BillingSystem = typeof BillingSystem[keyof typeof BillingSystem];
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
2655
|
+
export const BillingSystem = {
|
|
2656
|
+
Outseta: 1,
|
|
2657
|
+
Stripe: 2,
|
|
2658
|
+
} as const;
|
|
2659
|
+
|
|
2641
2660
|
export type AbstractStripeBeanOfCustomerAllOf = {
|
|
2642
2661
|
/**
|
|
2643
2662
|
* @maxLength 255
|
|
@@ -2985,18 +3004,6 @@ export type NoCodeSettingsAllOf = {
|
|
|
2985
3004
|
|
|
2986
3005
|
export type NoCodeSettings = AbstractQcountBean & NoCodeSettingsAllOf;
|
|
2987
3006
|
|
|
2988
|
-
/**
|
|
2989
|
-
* `1` - Outseta, `2` - Stripe
|
|
2990
|
-
*/
|
|
2991
|
-
export type BillingSystem = typeof BillingSystem[keyof typeof BillingSystem];
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
2995
|
-
export const BillingSystem = {
|
|
2996
|
-
Outseta: 1,
|
|
2997
|
-
Stripe: 2,
|
|
2998
|
-
} as const;
|
|
2999
|
-
|
|
3000
3007
|
export type ClientApplicationAllOf = {
|
|
3001
3008
|
/**
|
|
3002
3009
|
* @maxLength 20
|
|
@@ -4449,6 +4456,35 @@ export const BackGroundTaskType = {
|
|
|
4449
4456
|
UpdateStripeSubscriptionApplicationFeePercentTask: 22,
|
|
4450
4457
|
} as const;
|
|
4451
4458
|
|
|
4459
|
+
/**
|
|
4460
|
+
* Request body for POST /api/v1/crm/registrations/complete: the client secret
|
|
4461
|
+
of the Stripe intent, from the setup_intent_client_secret or
|
|
4462
|
+
payment_intent_client_secret querystring value Stripe returns the user with.
|
|
4463
|
+
*/
|
|
4464
|
+
export interface RegistrationCompleteRequest {
|
|
4465
|
+
/** @nullable */
|
|
4466
|
+
ClientSecret?: string | null;
|
|
4467
|
+
}
|
|
4468
|
+
|
|
4469
|
+
/**
|
|
4470
|
+
* @nullable
|
|
4471
|
+
*/
|
|
4472
|
+
export type RegistrationStateRequestAccount = Account | null;
|
|
4473
|
+
|
|
4474
|
+
/**
|
|
4475
|
+
* Request body for POST /api/v1/crm/registrations/state: the account to
|
|
4476
|
+
register, the client secret of the Stripe intent the user is about to confirm,
|
|
4477
|
+
and optionally the primary contact's profile image as a PNG or JPEG data URL.
|
|
4478
|
+
*/
|
|
4479
|
+
export interface RegistrationStateRequest {
|
|
4480
|
+
/** @nullable */
|
|
4481
|
+
Account?: RegistrationStateRequestAccount;
|
|
4482
|
+
/** @nullable */
|
|
4483
|
+
ClientSecret?: string | null;
|
|
4484
|
+
/** @nullable */
|
|
4485
|
+
ProfileImage?: string | null;
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4452
4488
|
/**
|
|
4453
4489
|
* @nullable
|
|
4454
4490
|
*/
|
|
@@ -6685,6 +6721,19 @@ export type AccountWebhookEntityCurrentSubscription = {
|
|
|
6685
6721
|
Rate?: number | null;
|
|
6686
6722
|
} | null;
|
|
6687
6723
|
|
|
6724
|
+
/**
|
|
6725
|
+
* `1` - Outseta, `2` - Stripe
|
|
6726
|
+
* @nullable
|
|
6727
|
+
*/
|
|
6728
|
+
export type AccountWebhookEntityTenantBillingSystem = typeof AccountWebhookEntityTenantBillingSystem[keyof typeof AccountWebhookEntityTenantBillingSystem] | null;
|
|
6729
|
+
|
|
6730
|
+
|
|
6731
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
6732
|
+
export const AccountWebhookEntityTenantBillingSystem = {
|
|
6733
|
+
Outseta: 1,
|
|
6734
|
+
Stripe: 2,
|
|
6735
|
+
} as const;
|
|
6736
|
+
|
|
6688
6737
|
/**
|
|
6689
6738
|
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
6690
6739
|
*/
|
|
@@ -7508,6 +7557,11 @@ export interface AccountWebhookEntity {
|
|
|
7508
7557
|
CurrentSubscription?: AccountWebhookEntityCurrentSubscription;
|
|
7509
7558
|
/** @nullable */
|
|
7510
7559
|
DomainName?: string | null;
|
|
7560
|
+
/**
|
|
7561
|
+
* `1` - Outseta, `2` - Stripe
|
|
7562
|
+
* @nullable
|
|
7563
|
+
*/
|
|
7564
|
+
TenantBillingSystem?: AccountWebhookEntityTenantBillingSystem;
|
|
7511
7565
|
HasLoggedIn?: boolean;
|
|
7512
7566
|
/** @nullable */
|
|
7513
7567
|
LatestSubscription?: AccountWebhookEntityLatestSubscription;
|
|
@@ -7947,6 +8001,19 @@ export const PersonWebhookEntityAccountAccountStage = {
|
|
|
7947
8001
|
Created: 10,
|
|
7948
8002
|
} as const;
|
|
7949
8003
|
|
|
8004
|
+
/**
|
|
8005
|
+
* `1` - Outseta, `2` - Stripe
|
|
8006
|
+
* @nullable
|
|
8007
|
+
*/
|
|
8008
|
+
export type PersonWebhookEntityAccountTenantBillingSystem = typeof PersonWebhookEntityAccountTenantBillingSystem[keyof typeof PersonWebhookEntityAccountTenantBillingSystem] | null;
|
|
8009
|
+
|
|
8010
|
+
|
|
8011
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
8012
|
+
export const PersonWebhookEntityAccountTenantBillingSystem = {
|
|
8013
|
+
Outseta: 1,
|
|
8014
|
+
Stripe: 2,
|
|
8015
|
+
} as const;
|
|
8016
|
+
|
|
7950
8017
|
/**
|
|
7951
8018
|
* @nullable
|
|
7952
8019
|
*/
|
|
@@ -8063,6 +8130,11 @@ export type PersonWebhookEntityAccount = {
|
|
|
8063
8130
|
CurrentStripeProducts?: string | null;
|
|
8064
8131
|
/** @nullable */
|
|
8065
8132
|
DomainName?: string | null;
|
|
8133
|
+
/**
|
|
8134
|
+
* `1` - Outseta, `2` - Stripe
|
|
8135
|
+
* @nullable
|
|
8136
|
+
*/
|
|
8137
|
+
TenantBillingSystem?: PersonWebhookEntityAccountTenantBillingSystem;
|
|
8066
8138
|
HasLoggedIn?: boolean;
|
|
8067
8139
|
LifetimeRevenue?: number;
|
|
8068
8140
|
/** @nullable */
|
|
@@ -8547,6 +8619,19 @@ export const DealWebhookEntityAccountAccountStage = {
|
|
|
8547
8619
|
Created: 10,
|
|
8548
8620
|
} as const;
|
|
8549
8621
|
|
|
8622
|
+
/**
|
|
8623
|
+
* `1` - Outseta, `2` - Stripe
|
|
8624
|
+
* @nullable
|
|
8625
|
+
*/
|
|
8626
|
+
export type DealWebhookEntityAccountTenantBillingSystem = typeof DealWebhookEntityAccountTenantBillingSystem[keyof typeof DealWebhookEntityAccountTenantBillingSystem] | null;
|
|
8627
|
+
|
|
8628
|
+
|
|
8629
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
8630
|
+
export const DealWebhookEntityAccountTenantBillingSystem = {
|
|
8631
|
+
Outseta: 1,
|
|
8632
|
+
Stripe: 2,
|
|
8633
|
+
} as const;
|
|
8634
|
+
|
|
8550
8635
|
/**
|
|
8551
8636
|
* @nullable
|
|
8552
8637
|
*/
|
|
@@ -8663,6 +8748,11 @@ export type DealWebhookEntityAccount = {
|
|
|
8663
8748
|
CurrentStripeProducts?: string | null;
|
|
8664
8749
|
/** @nullable */
|
|
8665
8750
|
DomainName?: string | null;
|
|
8751
|
+
/**
|
|
8752
|
+
* `1` - Outseta, `2` - Stripe
|
|
8753
|
+
* @nullable
|
|
8754
|
+
*/
|
|
8755
|
+
TenantBillingSystem?: DealWebhookEntityAccountTenantBillingSystem;
|
|
8666
8756
|
HasLoggedIn?: boolean;
|
|
8667
8757
|
LifetimeRevenue?: number;
|
|
8668
8758
|
/** @nullable */
|