@clerk/shared 4.22.2-snapshot.v20260630200444 → 4.23.0
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/loadClerkJsScript.js +1 -1
- package/dist/loadClerkJsScript.js.map +1 -1
- package/dist/loadClerkJsScript.mjs +1 -1
- package/dist/loadClerkJsScript.mjs.map +1 -1
- package/dist/react/hooks/index.d.mts +2 -0
- package/dist/react/hooks/index.d.ts +2 -0
- package/dist/react/hooks/index.js +2 -0
- package/dist/react/hooks/useCreditBalance.d.mts +20 -0
- package/dist/react/hooks/useCreditBalance.d.ts +20 -0
- package/dist/react/hooks/useCreditBalance.js +77 -0
- package/dist/react/hooks/useCreditHistory.d.mts +20 -0
- package/dist/react/hooks/useCreditHistory.d.ts +20 -0
- package/dist/react/hooks/useCreditHistory.js +74 -0
- package/dist/react/hooks/useSafeLayoutEffect.d.mts +1 -1
- package/dist/react/hooks/useSafeLayoutEffect.d.ts +1 -1
- package/dist/react/index.d.mts +3 -1
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.js +140 -10
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +139 -11
- package/dist/react/index.mjs.map +1 -1
- package/dist/react/stable-keys.js +5 -1
- package/dist/types/billing.d.mts +47 -1
- package/dist/types/billing.d.ts +47 -1
- package/dist/types/elementIds.d.mts +1 -1
- package/dist/types/elementIds.d.ts +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/json.d.mts +19 -1
- package/dist/types/json.d.ts +19 -1
- package/dist/types/localization.d.mts +18 -0
- package/dist/types/localization.d.ts +18 -0
- package/dist/versionSelector.js +1 -1
- package/dist/versionSelector.js.map +1 -1
- package/dist/versionSelector.mjs +1 -1
- package/dist/versionSelector.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ const SUBSCRIPTION_KEY = "billing-subscription";
|
|
|
15
15
|
const PAYMENT_METHODS_KEY = "billing-payment-methods";
|
|
16
16
|
const PAYMENT_ATTEMPTS_KEY = "billing-payment-attempts";
|
|
17
17
|
const STATEMENTS_KEY = "billing-statements";
|
|
18
|
+
const CREDIT_BALANCE_KEY = "billing-credit-balance";
|
|
18
19
|
const STABLE_KEYS = {
|
|
19
20
|
USER_MEMBERSHIPS_KEY,
|
|
20
21
|
USER_INVITATIONS_KEY,
|
|
@@ -30,7 +31,8 @@ const STABLE_KEYS = {
|
|
|
30
31
|
STATEMENTS_KEY,
|
|
31
32
|
API_KEYS_KEY,
|
|
32
33
|
ORGANIZATION_CREATION_DEFAULTS_KEY,
|
|
33
|
-
OAUTH_CONSENT_INFO_KEY
|
|
34
|
+
OAUTH_CONSENT_INFO_KEY,
|
|
35
|
+
CREDIT_BALANCE_KEY
|
|
34
36
|
};
|
|
35
37
|
/**
|
|
36
38
|
* Internal stable keys for queries only used by our UI components.
|
|
@@ -44,10 +46,12 @@ const ENTERPRISE_CONNECTION_TEST_RUNS_KEY = "enterpriseConnectionTestRuns";
|
|
|
44
46
|
const ORGANIZATION_ENTERPRISE_CONNECTIONS_KEY = "organizationEnterpriseConnections";
|
|
45
47
|
const ORGANIZATION_ENTERPRISE_CONNECTION_TEST_RUNS_KEY = "organizationEnterpriseConnectionTestRuns";
|
|
46
48
|
const ORGANIZATION_DOMAINS_KEY = "organizationDomains";
|
|
49
|
+
const CREDIT_HISTORY_KEY = "billing-credit-history";
|
|
47
50
|
const INTERNAL_STABLE_KEYS = {
|
|
48
51
|
PAYMENT_ATTEMPT_KEY,
|
|
49
52
|
BILLING_PLANS_KEY,
|
|
50
53
|
BILLING_STATEMENTS_KEY,
|
|
54
|
+
CREDIT_HISTORY_KEY,
|
|
51
55
|
USER_ENTERPRISE_CONNECTIONS_KEY,
|
|
52
56
|
ENTERPRISE_CONNECTION_TEST_RUNS_KEY,
|
|
53
57
|
ORGANIZATION_ENTERPRISE_CONNECTIONS_KEY,
|
package/dist/types/billing.d.mts
CHANGED
|
@@ -75,6 +75,18 @@ interface BillingNamespace {
|
|
|
75
75
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
76
76
|
*/
|
|
77
77
|
startCheckout: (params: CreateCheckoutParams) => Promise<BillingCheckoutResource>;
|
|
78
|
+
/**
|
|
79
|
+
* Gets the credit balance for the current payer.
|
|
80
|
+
*
|
|
81
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
82
|
+
*/
|
|
83
|
+
getCreditBalance: (params: GetCreditBalanceParams) => Promise<BillingCreditBalanceResource>;
|
|
84
|
+
/**
|
|
85
|
+
* Gets the credit history for the current payer.
|
|
86
|
+
*
|
|
87
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
88
|
+
*/
|
|
89
|
+
getCreditHistory: (params: GetCreditHistoryParams) => Promise<ClerkPaginatedResponse<BillingCreditLedgerResource>>;
|
|
78
90
|
}
|
|
79
91
|
/**
|
|
80
92
|
* @inline
|
|
@@ -872,6 +884,40 @@ interface BillingSubscriptionResource extends ClerkResource {
|
|
|
872
884
|
*/
|
|
873
885
|
eligibleForFreeTrial: boolean;
|
|
874
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
889
|
+
*/
|
|
890
|
+
interface BillingCreditBalanceResource {
|
|
891
|
+
/**
|
|
892
|
+
* The balance of the credit.
|
|
893
|
+
*/
|
|
894
|
+
balance: BillingMoneyAmount | null;
|
|
895
|
+
}
|
|
896
|
+
type GetCreditBalanceParams = {
|
|
897
|
+
/**
|
|
898
|
+
* The ID of the Organization to get the credit balance for.
|
|
899
|
+
*/
|
|
900
|
+
orgId?: string;
|
|
901
|
+
};
|
|
902
|
+
/**
|
|
903
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
904
|
+
*/
|
|
905
|
+
type GetCreditHistoryParams = {
|
|
906
|
+
/**
|
|
907
|
+
* The ID of the Organization to get the credit history for.
|
|
908
|
+
*/
|
|
909
|
+
orgId?: string;
|
|
910
|
+
};
|
|
911
|
+
/**
|
|
912
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
913
|
+
*/
|
|
914
|
+
interface BillingCreditLedgerResource {
|
|
915
|
+
id: string;
|
|
916
|
+
amount: BillingMoneyAmount;
|
|
917
|
+
sourceType: string;
|
|
918
|
+
sourceId: string;
|
|
919
|
+
createdAt: Date;
|
|
920
|
+
}
|
|
875
921
|
/**
|
|
876
922
|
* The `BillingMoneyAmount` type represents a monetary value with currency information.
|
|
877
923
|
*
|
|
@@ -1402,4 +1448,4 @@ type CheckoutFlowResourceNonStrict = CheckoutFlowProperties & {
|
|
|
1402
1448
|
status: 'needs_initialization' | 'needs_confirmation' | 'completed';
|
|
1403
1449
|
} & CheckoutFlowMethods;
|
|
1404
1450
|
//#endregion
|
|
1405
|
-
export { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType };
|
|
1451
|
+
export { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCreditBalanceResource, BillingCreditLedgerResource, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetCreditBalanceParams, GetCreditHistoryParams, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType };
|
package/dist/types/billing.d.ts
CHANGED
|
@@ -75,6 +75,18 @@ interface BillingNamespace {
|
|
|
75
75
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
76
76
|
*/
|
|
77
77
|
startCheckout: (params: CreateCheckoutParams) => Promise<BillingCheckoutResource>;
|
|
78
|
+
/**
|
|
79
|
+
* Gets the credit balance for the current payer.
|
|
80
|
+
*
|
|
81
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
82
|
+
*/
|
|
83
|
+
getCreditBalance: (params: GetCreditBalanceParams) => Promise<BillingCreditBalanceResource>;
|
|
84
|
+
/**
|
|
85
|
+
* Gets the credit history for the current payer.
|
|
86
|
+
*
|
|
87
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
88
|
+
*/
|
|
89
|
+
getCreditHistory: (params: GetCreditHistoryParams) => Promise<ClerkPaginatedResponse<BillingCreditLedgerResource>>;
|
|
78
90
|
}
|
|
79
91
|
/**
|
|
80
92
|
* @inline
|
|
@@ -872,6 +884,40 @@ interface BillingSubscriptionResource extends ClerkResource {
|
|
|
872
884
|
*/
|
|
873
885
|
eligibleForFreeTrial: boolean;
|
|
874
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
889
|
+
*/
|
|
890
|
+
interface BillingCreditBalanceResource {
|
|
891
|
+
/**
|
|
892
|
+
* The balance of the credit.
|
|
893
|
+
*/
|
|
894
|
+
balance: BillingMoneyAmount | null;
|
|
895
|
+
}
|
|
896
|
+
type GetCreditBalanceParams = {
|
|
897
|
+
/**
|
|
898
|
+
* The ID of the Organization to get the credit balance for.
|
|
899
|
+
*/
|
|
900
|
+
orgId?: string;
|
|
901
|
+
};
|
|
902
|
+
/**
|
|
903
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
904
|
+
*/
|
|
905
|
+
type GetCreditHistoryParams = {
|
|
906
|
+
/**
|
|
907
|
+
* The ID of the Organization to get the credit history for.
|
|
908
|
+
*/
|
|
909
|
+
orgId?: string;
|
|
910
|
+
};
|
|
911
|
+
/**
|
|
912
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
913
|
+
*/
|
|
914
|
+
interface BillingCreditLedgerResource {
|
|
915
|
+
id: string;
|
|
916
|
+
amount: BillingMoneyAmount;
|
|
917
|
+
sourceType: string;
|
|
918
|
+
sourceId: string;
|
|
919
|
+
createdAt: Date;
|
|
920
|
+
}
|
|
875
921
|
/**
|
|
876
922
|
* The `BillingMoneyAmount` type represents a monetary value with currency information.
|
|
877
923
|
*
|
|
@@ -1402,4 +1448,4 @@ type CheckoutFlowResourceNonStrict = CheckoutFlowProperties & {
|
|
|
1402
1448
|
status: 'needs_initialization' | 'needs_confirmation' | 'completed';
|
|
1403
1449
|
} & CheckoutFlowMethods;
|
|
1404
1450
|
//#endregion
|
|
1405
|
-
export { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType };
|
|
1451
|
+
export { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCreditBalanceResource, BillingCreditLedgerResource, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetCreditBalanceParams, GetCreditHistoryParams, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/types/elementIds.d.ts
|
|
2
2
|
type AlertId = 'danger' | 'warning' | 'info';
|
|
3
3
|
type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted' | 'apiKeyDescription' | 'apiKeyExpirationDate' | 'apiKeyRevokeConfirmation' | 'apiKeySecret' | 'idpCertificate' | 'idpEntityId' | 'idpMetadata' | 'idpMetadataUrl' | 'idpSsoUrl' | 'acsUrl' | 'spEntityId' | 'web3WalletName' | 'domain';
|
|
4
|
-
type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentMethods' | 'sso' | 'ssoStatus' | 'enableSso' | 'ssoDomain' | 'ssoConfiguration' | 'configureAgain' | 'resetSso' | 'testSsoUrl' | 'testResults';
|
|
4
|
+
type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentMethods' | 'sso' | 'ssoStatus' | 'enableSso' | 'ssoDomain' | 'ssoConfiguration' | 'configureAgain' | 'resetSso' | 'testSsoUrl' | 'testResults' | 'accountCredits';
|
|
5
5
|
type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'organizationSecurity' | 'billing';
|
|
6
6
|
type UserPreviewId = 'userButton' | 'personalWorkspace';
|
|
7
7
|
type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization' | 'taskChooseOrganization';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/types/elementIds.d.ts
|
|
2
2
|
type AlertId = 'danger' | 'warning' | 'info';
|
|
3
3
|
type FieldId = 'firstName' | 'lastName' | 'name' | 'slug' | 'emailAddress' | 'phoneNumber' | 'currentPassword' | 'newPassword' | 'signOutOfOtherSessions' | 'passkeyName' | 'password' | 'confirmPassword' | 'identifier' | 'username' | 'code' | 'role' | 'deleteConfirmation' | 'deleteOrganizationConfirmation' | 'enrollmentMode' | 'affiliationEmailAddress' | 'deleteExistingInvitationsSuggestions' | 'legalAccepted' | 'apiKeyDescription' | 'apiKeyExpirationDate' | 'apiKeyRevokeConfirmation' | 'apiKeySecret' | 'idpCertificate' | 'idpEntityId' | 'idpMetadata' | 'idpMetadataUrl' | 'idpSsoUrl' | 'acsUrl' | 'spEntityId' | 'web3WalletName' | 'domain';
|
|
4
|
-
type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentMethods' | 'sso' | 'ssoStatus' | 'enableSso' | 'ssoDomain' | 'ssoConfiguration' | 'configureAgain' | 'resetSso' | 'testSsoUrl' | 'testResults';
|
|
4
|
+
type ProfileSectionId = 'profile' | 'username' | 'emailAddresses' | 'phoneNumbers' | 'connectedAccounts' | 'enterpriseAccounts' | 'web3Wallets' | 'password' | 'passkeys' | 'mfa' | 'danger' | 'activeDevices' | 'organizationProfile' | 'organizationDanger' | 'organizationDomains' | 'manageVerifiedDomains' | 'subscriptionsList' | 'paymentMethods' | 'sso' | 'ssoStatus' | 'enableSso' | 'ssoDomain' | 'ssoConfiguration' | 'configureAgain' | 'resetSso' | 'testSsoUrl' | 'testResults' | 'accountCredits';
|
|
5
5
|
type ProfilePageId = 'account' | 'security' | 'organizationGeneral' | 'organizationMembers' | 'organizationSecurity' | 'billing';
|
|
6
6
|
type UserPreviewId = 'userButton' | 'personalWorkspace';
|
|
7
7
|
type OrganizationPreviewId = 'organizationSwitcherTrigger' | 'organizationList' | 'organizationSwitcherListedOrganization' | 'organizationSwitcherActiveOrganization' | 'taskChooseOrganization';
|
package/dist/types/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { DeletedObjectResource } from "./deletedObject.mjs";
|
|
|
3
3
|
import { ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest } from "./pagination.mjs";
|
|
4
4
|
import { ClerkResource, ClerkResourceReloadParams } from "./resource.mjs";
|
|
5
5
|
import { Autocomplete, CamelToSnake, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, ForceNull, Nullable, Override, PathValue, RecordToPath, RemoveFunctions, Serializable, Simplify, SnakeToCamel, Without } from "./utils.mjs";
|
|
6
|
-
import { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType } from "./billing.mjs";
|
|
6
|
+
import { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCreditBalanceResource, BillingCreditLedgerResource, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetCreditBalanceParams, GetCreditHistoryParams, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType } from "./billing.mjs";
|
|
7
7
|
import { CommerceSettingsJSON, CommerceSettingsResource } from "./commerceSettings.mjs";
|
|
8
8
|
import { AppleOauthProvider, AtlassianOauthProvider, BitbucketOauthProvider, BoxOauthProvider, CoinbaseOauthProvider, CustomOauthProvider, DiscordOauthProvider, DropboxOauthProvider, EnstallOauthProvider, FacebookOauthProvider, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, HubspotOauthProvider, HuggingfaceOAuthProvider, InstagramOauthProvider, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, MicrosoftOauthProvider, NotionOauthProvider, OAuthProvider, OAuthProviderData, OAuthScope, SlackOauthProvider, SpotifyOauthProvider, TiktokOauthProvider, TwitchOauthProvider, TwitterOauthProvider, VercelOauthProvider, XOauthProvider, XeroOauthProvider } from "./oauth.mjs";
|
|
9
9
|
import { BaseWeb3Provider, CoinbaseWalletWeb3Provider, EthereumWeb3Provider, MetamaskWeb3Provider, OKXWalletWeb3Provider, SolanaWeb3Provider, Web3Provider, Web3ProviderData } from "./web3.mjs";
|
|
@@ -56,7 +56,7 @@ import { ActClaim, ActClaimType, AgentActClaim, Jwt, JwtHeader, JwtPayload, Sess
|
|
|
56
56
|
import { FirstNameAttribute, LastNameAttribute, LegalAcceptedAttribute, PasswordAttribute } from "./attributes.mjs";
|
|
57
57
|
import { AttemptVerificationParams, PrepareVerificationParams, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpCreateParams, SignUpField, SignUpIdentificationField, SignUpStatus, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationResource, SignUpVerificationsResource } from "./signUpCommon.mjs";
|
|
58
58
|
import { BoxShadow, BuiltInColors, Color, ColorString, EmUnit, FontWeight, HexColor, HexColorString, HslaColor, HslaColorString, RgbaColor, RgbaColorString, TransparentColor } from "./theme.mjs";
|
|
59
|
-
import { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON } from "./json.mjs";
|
|
59
|
+
import { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditBalanceJSON, BillingCreditLedgerJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON } from "./json.mjs";
|
|
60
60
|
import { SignUpFutureAdditionalParams, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureEmailLinkSendParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureVerifications, SignUpFutureWeb3Params } from "./signUpFuture.mjs";
|
|
61
61
|
import { SignUpEnterpriseConnectionResource, SignUpResource } from "./signUp.mjs";
|
|
62
62
|
import { ClientResource } from "./client.mjs";
|
|
@@ -83,4 +83,4 @@ import { ProtectParams, ShowProps, ShowWhenCondition } from "./authorization.mjs
|
|
|
83
83
|
import { ClerkHostRouter, RoutingMode } from "./router.mjs";
|
|
84
84
|
import { OAUTH_PROVIDERS, SAML_IDPS, WEB3_PROVIDERS, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders } from "./runtime-values.mjs";
|
|
85
85
|
import { InitialState, ServerGetToken, ServerGetTokenOptions } from "./ssr.mjs";
|
|
86
|
-
export type { APIKeyResource, APIKeysNamespace, APIKeysProps, APIKeysSettingsJSON, APIKeysSettingsJSONSnapshot, APIKeysSettingsResource, ActClaim, ActClaimType, ActJWTClaim, Actions, ActiveSessionResource, AddMemberParams, AddPaymentMethodParams, AfterMultiSessionSingleSignOutUrl, AfterSignOutUrl, AgentActClaim, AlertId, ApiKeyJSON, AppleIdTokenStrategy, AppleOauthProvider, AtlassianOauthProvider, AttemptAffiliationVerificationParams, AttemptEmailAddressVerificationParams, AttemptFirstFactorParams, AttemptPhoneNumberVerificationParams, AttemptSecondFactorParams, AttemptVerificationParams, AttemptWeb3WalletVerificationParams, Attribute, AttributeData, AttributeDataJSON, Attributes, AttributesJSON, AuthConfigJSON, AuthConfigJSONSnapshot, AuthConfigResource, AuthenticateWithBaseParams, AuthenticateWithCoinbaseWalletParams, AuthenticateWithGoogleOneTapParams, AuthenticateWithMetamaskParams, AuthenticateWithOKXWalletParams, AuthenticateWithPasskeyParams, AuthenticateWithPopupParams, AuthenticateWithRedirectParams, AuthenticateWithSolanaParams, AuthenticateWithWeb3Params, Autocomplete, BackupCodeAttempt, BackupCodeFactor, BackupCodeJSON, BackupCodeResource, BackupCodeStrategy, BaseWeb3Provider, BillingCheckoutJSON, BillingCheckoutResource, BillingCheckoutTotals, BillingCheckoutTotalsJSON, BillingCredits, BillingCreditsJSON, BillingDiscounts, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingMoneyAmountJSON, BillingNamespace, BillingPayerCredit, BillingPayerCreditJSON, BillingPayerJSON, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPaymentTotalsJSON, BillingPerUnitTotal, BillingPerUnitTotalJSON, BillingPerUnitTotalTier, BillingPerUnitTotalTierJSON, BillingPeriodTotals, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTier, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetail, BillingProrationCreditDetailJSON, BillingProrationDiscount, BillingProrationDiscountJSON, BillingStatementGroup, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPayment, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPayment, BillingSubscriptionNextPaymentJSON, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, BillingTotalsJSON, BitbucketOauthProvider, BoxOauthProvider, BoxShadow, BrowserClerk, BrowserClerkConstructor, BuiltInColors, CamelToSnake, CancelSubscriptionParams, CaptchaProvider, CaptchaWidgetType, CardActionId, CheckAuthorization, CheckAuthorizationFn, CheckAuthorizationFromSessionClaims, CheckAuthorizationParamsFromSessionClaims, CheckAuthorizationParamsWithCustomPermissions, CheckAuthorizationWithCustomPermissions, CheckoutErrors, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, CheckoutSignal, CheckoutSignalValue, Clerk, ClerkAPIError, ClerkAPIErrorJSON, ClerkAPIResponseError, ClerkAppearanceTheme, ClerkAuthenticateWithWeb3Params, ClerkEventPayload, ClerkHostRouter, ClerkJWTClaims, ClerkOptions, ClerkOptionsNavigation, ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest, ClerkProp, ClerkResource, ClerkResourceJSON, ClerkResourceReloadParams, ClerkRuntimeError, ClerkStatus, ClerkThemeOptions, ClerkUI, ClerkUIConstructor, ClerkUIInstance, ClientJSON, ClientJSONSnapshot, ClientResource, ClientTrustState, CodeVerificationAttemptParam, CoinbaseOauthProvider, CoinbaseWalletWeb3Provider, Color, ColorString, CommerceSettingsJSON, CommerceSettingsJSONSnapshot, CommerceSettingsResource, ComplexityErrors, ComponentControls, ConfigureSSOProps, ConfirmCheckoutParams, CreateAPIKeyParams, CreateBulkOrganizationInvitationParams, CreateCheckoutParams, CreateEmailAddressParams, CreateEmailLinkFlowReturn, CreateEnterpriseSSOLinkFlowReturn, CreateExternalAccountParams, CreateMeEnterpriseConnectionParams, CreateOrganizationDomainParams, CreateOrganizationEnterpriseConnectionParams, CreateOrganizationInvitationParams, CreateOrganizationModalProps, CreateOrganizationParams, CreateOrganizationProps, CreatePhoneNumberParams, CreateWeb3WalletParams, CredentialReturn, CustomMenuItem, CustomNavigation, CustomOAuthStrategy, CustomOauthProvider, CustomPage, DecorateUrl, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, DeletedObjectJSON, DeletedObjectResource, DevToolsResource, DiscordOauthProvider, DisplayConfigJSON, DisplayConfigJSONSnapshot, DisplayConfigResource, DisplayThemeJSON, DomainOrProxyUrl, DropboxOauthProvider, EmUnit, EmailAddressIdentifier, EmailAddressJSON, EmailAddressJSONSnapshot, EmailAddressOrPhoneNumberIdentifier, EmailAddressResource, EmailCodeAttempt, EmailCodeConfig, EmailCodeFactor, EmailCodeSecondFactorConfig, EmailCodeStrategy, EmailLinkConfig, EmailLinkFactor, EmailLinkStrategy, EnableEnvironmentSettingParams, EnstallOauthProvider, EnterpriseAccountConnectionJSON, EnterpriseAccountConnectionJSONSnapshot, EnterpriseAccountConnectionResource, EnterpriseAccountJSON, EnterpriseAccountJSONSnapshot, EnterpriseAccountResource, EnterpriseConnectionJSON, EnterpriseConnectionJSONSnapshot, EnterpriseConnectionResource, EnterpriseConnectionTestRunInitJSON, EnterpriseConnectionTestRunInitResource, EnterpriseConnectionTestRunJSON, EnterpriseConnectionTestRunJSONSnapshot, EnterpriseConnectionTestRunLogJSON, EnterpriseConnectionTestRunLogResource, EnterpriseConnectionTestRunOauthPayloadJSON, EnterpriseConnectionTestRunOauthPayloadResource, EnterpriseConnectionTestRunParsedUserInfoJSON, EnterpriseConnectionTestRunParsedUserInfoResource, EnterpriseConnectionTestRunResource, EnterpriseConnectionTestRunSamlPayloadJSON, EnterpriseConnectionTestRunSamlPayloadResource, EnterpriseConnectionTestRunStatus, EnterpriseConnectionTestRunsPaginatedJSON, EnterpriseOAuthConfigJSON, EnterpriseOAuthConfigResource, EnterpriseProtocol, EnterpriseProvider, EnterpriseSSOConfig, EnterpriseSSOFactor, EnterpriseSSOSettings, EnterpriseSSOStrategy, EnterpriseSamlConnectionNestedJSON, EnterpriseSamlConnectionNestedResource, EnvironmentJSON, EnvironmentJSONSnapshot, EnvironmentResource, Errors, EthereumWeb3Provider, ExternalAccountJSON, ExternalAccountJSONSnapshot, ExternalAccountResource, FacebookOauthProvider, FeatureJSON, FeatureResource, FieldError, FieldId, FirstNameAttribute, FontWeight, ForPayerType, ForceNull, GenerateSignature, GenerateSignatureParams, GetAPIKeysParams, GetDomainsParams, GetEnterpriseConnectionTestRunsParams, GetEnterpriseConnectionsParams, GetInvitationsParams, GetMembersParams, GetMembershipRequestParams, GetMemberships, GetOAuthConsentInfoParams, GetOrganizationMemberships, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetRolesParams, GetRolesResponse, GetStatementParams, GetStatementsParams, GetSubscriptionParams, GetToken, GetTokenOptions, GetUserOrganizationInvitationsParams, GetUserOrganizationMembershipParams, GetUserOrganizationSuggestionsParams, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, GoogleOneTapProps, GoogleOneTapStrategy, HandleEmailLinkVerificationParams, HandleOAuthCallbackParams, HandleSamlCallbackParams, HeadlessBrowserClerk, HeadlessBrowserClerkConstructor, HexColor, HexColorString, HslaColor, HslaColorString, HubspotOauthProvider, HuggingfaceOAuthProvider, IdentificationLinkJSON, IdentificationLinkJSONSnapshot, IdentificationLinkResource, ImageJSON, ImageResource, InitialState, InitializePaymentMethodParams, InstagramOauthProvider, InstanceType, InternalClerkScriptProps, InviteMemberParams, InviteMembersParams, IsomorphicClerkOptions, JWT, JWTClaims, JWTHeader, JoinWaitlistParams, Jwt, JwtHeader, JwtPayload, LastAuthenticationStrategy, LastNameAttribute, LegalAcceptedAttribute, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, ListenerCallback, ListenerOptions, LoadedClerk, LocalizationResource, LocalizationValue, MakeDefaultPaymentMethodParams, MeEnterpriseConnectionOidcInput, MeEnterpriseConnectionProvider, MeEnterpriseConnectionSamlInput, MenuId, MetamaskWeb3Provider, MicrosoftOauthProvider, MultiDomainAndOrProxy, MultiDomainAndOrProxyPrimitives, NavigateOptions, NewSubscriptionRedirectUrl, NotionOauthProvider, Nullable, NullableSignInSignal, NullableSignUpSignal, NullableWaitlistSignal, OAUTH_PROVIDERS, OAuthApplicationNamespace, OAuthConfig, OAuthConsentInfo, OAuthConsentInfoJSON, OAuthConsentProps, OAuthConsentScope, OAuthConsentScopeJSON, OAuthProvider, OAuthProviderData, OAuthProviderSettings, OAuthProviders, OAuthScope, OAuthStrategy, OAuthTransport, OKXWalletWeb3Provider, OauthFactor, OffEventListener, OnEventListener, OrganizationCreationAdvisorySeverity, OrganizationCreationAdvisoryType, OrganizationCreationDefaultsJSON, OrganizationCreationDefaultsJSONSnapshot, OrganizationCreationDefaultsResource, OrganizationCustomPermissionKey, OrganizationCustomRoleKey, OrganizationDomainBulkOwnershipVerificationError, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerification, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainOwnershipVerificationStatus, OrganizationDomainOwnershipVerificationStrategy, OrganizationDomainResource, OrganizationDomainVerification, OrganizationDomainVerificationJSON, OrganizationDomainVerificationStatus, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationDomainsBulkOwnershipVerificationResource, OrganizationEnrollmentMode, OrganizationEnterpriseConnectionOidcInput, OrganizationEnterpriseConnectionProvider, OrganizationEnterpriseConnectionSamlInput, OrganizationInvitationJSON, OrganizationInvitationResource, OrganizationInvitationStatus, OrganizationJSON, OrganizationJSONSnapshot, OrganizationListProps, OrganizationMembershipJSON, OrganizationMembershipJSONSnapshot, OrganizationMembershipRequestJSON, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationPermissionKey, OrganizationPreviewId, OrganizationProfileModalProps, OrganizationProfileProps, OrganizationResource, OrganizationSettingsJSON, OrganizationSettingsJSONSnapshot, OrganizationSettingsResource, OrganizationSuggestionJSON, OrganizationSuggestionResource, OrganizationSuggestionStatus, OrganizationSwitcherProps, OrganizationSystemPermissionKey, OrganizationSystemPermissionPrefix, OrganizationsJWTClaim, Override, PartialWithClerkResource, PassKeyConfig, PasskeyAttempt, PasskeyFactor, PasskeyJSON, PasskeyJSONSnapshot, PasskeyResource, PasskeySettingsData, PasskeyStrategy, PasskeyVerificationResource, PasswordAttempt, PasswordAttribute, PasswordFactor, PasswordSettingsData, PasswordStrategy, PasswordStrength, PasswordValidation, PathValue, PaymentGateway, PendingSessionOptions, PendingSessionResource, PermissionJSON, PermissionResource, PhoneCodeAttempt, PhoneCodeChannel, PhoneCodeChannelData, PhoneCodeConfig, PhoneCodeFactor, PhoneCodeProvider, PhoneCodeSMSChannel, PhoneCodeSecondFactorConfig, PhoneCodeStrategy, PhoneCodeWhatsAppChannel, PhoneNumberIdentifier, PhoneNumberJSON, PhoneNumberJSONSnapshot, PhoneNumberResource, PhoneNumberVerificationStrategy, PreferredSignInStrategy, PrepareAffiliationVerificationParams, PrepareEmailAddressVerificationParams, PrepareFirstFactorParams, PreparePhoneNumberVerificationParams, PrepareSecondFactorParams, PrepareVerificationParams, PrepareWeb3WalletVerificationParams, PricingTableProps, ProfilePageId, ProfileSectionId, ProtectConfigJSON, ProtectConfigJSONSnapshot, ProtectConfigResource, ProtectLoader, ProtectParams, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialCreationOptionsWithoutExtensions, PublicKeyCredentialRequestOptionsJSON, PublicKeyCredentialRequestOptionsWithoutExtensions, PublicKeyCredentialWithAuthenticatorAssertionResponse, PublicKeyCredentialWithAuthenticatorAttestationResponse, PublicOrganizationDataJSON, PublicUserData, PublicUserDataJSON, PublicUserDataJSONSnapshot, PublishableKey, ReauthorizeExternalAccountParams, RecordToPath, RedirectOptions, RedirectUrlProp, RemoveFunctions, RemovePaymentMethodParams, RemoveUserPasswordParams, ResetPasswordCodeFactor, ResetPasswordEmailCodeAttempt, ResetPasswordEmailCodeFactor, ResetPasswordEmailCodeFactorConfig, ResetPasswordEmailCodeStrategy, ResetPasswordParams, ResetPasswordPhoneCodeAttempt, ResetPasswordPhoneCodeFactor, ResetPasswordPhoneCodeFactorConfig, ResetPasswordPhoneCodeStrategy, Resources, ReverificationConfig, RevokeAPIKeyParams, RgbaColor, RgbaColorString, RoleJSON, RoleResource, RoutingMode, RoutingOptions, RoutingStrategy, SAML_IDPS, SDKMetadata, SamlIdp, SamlIdpMap, SamlIdpSlug, SelectId, Serializable, ServerGetToken, ServerGetTokenOptions, SessionActivity, SessionActivityJSON, SessionJSON, SessionJSONSnapshot, SessionResource, SessionStatus, SessionStatusClaim, SessionTask, SessionTouchIntent, SessionTouchParams, SessionVerificationAfterMinutes, SessionVerificationFirstFactor, SessionVerificationJSON, SessionVerificationLevel, SessionVerificationResource, SessionVerificationSecondFactor, SessionVerificationStatus, SessionVerificationTypes, SessionVerifyAttemptFirstFactorParams, SessionVerifyAttemptSecondFactorParams, SessionVerifyCreateParams, SessionVerifyPrepareFirstFactorParams, SessionVerifyPrepareSecondFactorParams, SessionWithActivitiesJSON, SessionWithActivitiesResource, SetActive, SetActiveNavigate, SetActiveParams, SetOrganizationLogoParams, SetProfileImageParams, SetReservedForSecondFactorParams, SharedSignedInAuthObjectProperties, ShowProps, ShowWhenCondition, SignInAuthenticateWithSolanaParams, SignInButtonProps, SignInCreateParams, SignInData, SignInErrors, SignInFactor, SignInFallbackRedirectUrl, SignInFields, SignInFirstFactor, SignInFirstFactorJSON, SignInForceRedirectUrl, SignInFutureBackupCodeVerifyParams, SignInFutureCreateParams, SignInFutureEmailCodeSendParams, SignInFutureEmailCodeVerifyParams, SignInFutureEmailLinkSendParams, SignInFutureFinalizeParams, SignInFutureMFAEmailCodeVerifyParams, SignInFutureMFAPhoneCodeVerifyParams, SignInFuturePasskeyParams, SignInFuturePasswordParams, SignInFuturePhoneCodeSendParams, SignInFuturePhoneCodeVerifyParams, SignInFutureResetPasswordPhoneCodeSendParams, SignInFutureResetPasswordPhoneCodeVerifyParams, SignInFutureResetPasswordSubmitParams, SignInFutureResource, SignInFutureSSOParams, SignInFutureTOTPVerifyParams, SignInFutureTicketParams, SignInFutureWeb3Params, SignInIdentifier, SignInInitialValues, SignInJSON, SignInJSONSnapshot, SignInModalProps, SignInProps, SignInRedirectOptions, SignInResource, SignInSecondFactor, SignInSecondFactorJSON, SignInSignal, SignInSignalValue, SignInStartEmailLinkFlowParams, SignInStatus, SignInStrategy, SignOut, SignOutCallback, SignOutOptions, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpButtonProps, SignUpCreateParams, SignUpData, SignUpEnterpriseConnectionJSON, SignUpEnterpriseConnectionResource, SignUpErrors, SignUpFallbackRedirectUrl, SignUpField, SignUpFields, SignUpForceRedirectUrl, SignUpFutureAdditionalParams, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureEmailLinkSendParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureVerifications, SignUpFutureWeb3Params, SignUpIdentificationField, SignUpInitialValues, SignUpJSON, SignUpJSONSnapshot, SignUpModalProps, SignUpModes, SignUpProps, SignUpRedirectOptions, SignUpResource, SignUpSignal, SignUpSignalValue, SignUpStatus, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationJSON, SignUpVerificationJSONSnapshot, SignUpVerificationResource, SignUpVerificationsJSON, SignUpVerificationsJSONSnapshot, SignUpVerificationsResource, SignatureVerificationAttemptParam, SignedInSessionResource, Simplify, SlackOauthProvider, SnakeToCamel, SolanaWeb3Provider, SpotifyOauthProvider, StartEmailLinkFlowParams, StartEnterpriseSSOLinkFlowParams, State, TOTPAttempt, TOTPFactor, TOTPJSON, TOTPResource, TOTPStrategy, TaskChooseOrganizationProps, TaskResetPasswordProps, TaskSetupMFAProps, TasksRedirectOptions, TelemetryCollector, TelemetryEvent, TelemetryEventRaw, TelemetryLogEntry, TicketStrategy, TiktokOauthProvider, TokenJSON, TokenJSONSnapshot, TokenResource, TransferableOption, TransparentColor, TwitchOauthProvider, TwitterOauthProvider, UIVersion, UnsubscribeCallback, UpdateEnrollmentModeParams, UpdateMeEnterpriseConnectionParams, UpdateMembershipParams, UpdateOrganizationEnterpriseConnectionParams, UpdateOrganizationMembershipParams, UpdateOrganizationParams, UpdatePasskeyParams, UpdateUserMetadataParams, UpdateUserParams, UpdateUserPasswordParams, UseAuthReturn, UseSessionListReturn, UseSessionReturn, UseSignInReturn, UseSignUpReturn, UseUserReturn, UserAvatarProps, UserButtonProps, UserData, UserDataJSON, UserDataJSONSnapshot, UserJSON, UserJSONSnapshot, UserOrganizationInvitationJSON, UserOrganizationInvitationResource, UserPreviewId, UserProfileModalProps, UserProfileProps, UserResource, UserSettingsJSON, UserSettingsJSONSnapshot, UserSettingsResource, UsernameIdentifier, UsernameSettingsData, ValidatePasswordCallbacks, VercelOauthProvider, VerificationAttemptParams, VerificationJSON, VerificationJSONSnapshot, VerificationResource, VerificationStatus, VerificationStrategy, VerifyTOTPParams, VersionedJwtPayload, WEB3_PROVIDERS, WaitlistErrors, WaitlistFields, WaitlistJSON, WaitlistModalProps, WaitlistProps, WaitlistResource, WaitlistSignal, WaitlistSignalValue, Web3Attempt, Web3Provider, Web3ProviderData, Web3SignatureConfig, Web3SignatureFactor, Web3Strategy, Web3WalletIdentifier, Web3WalletJSON, Web3WalletJSONSnapshot, Web3WalletResource, WithOptionalOrgType, Without, WithoutRouting, XOauthProvider, XeroOauthProvider, ZxcvbnResult, __experimental_CheckoutButtonProps, __experimental_CheckoutCacheState, __experimental_CheckoutOptions, __experimental_PlanDetailsButtonProps, __experimental_SubscriptionDetailsButtonProps, __internal_AttemptToEnableEnvironmentSettingParams, __internal_AttemptToEnableEnvironmentSettingResult, __internal_CheckoutProps, __internal_EnableOrganizationsPromptProps, __internal_LocalizationResource, __internal_OAuthConsentProps, __internal_PlanDetailsProps, __internal_SubscriptionDetailsProps, __internal_UserVerificationModalProps, __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
|
86
|
+
export type { APIKeyResource, APIKeysNamespace, APIKeysProps, APIKeysSettingsJSON, APIKeysSettingsJSONSnapshot, APIKeysSettingsResource, ActClaim, ActClaimType, ActJWTClaim, Actions, ActiveSessionResource, AddMemberParams, AddPaymentMethodParams, AfterMultiSessionSingleSignOutUrl, AfterSignOutUrl, AgentActClaim, AlertId, ApiKeyJSON, AppleIdTokenStrategy, AppleOauthProvider, AtlassianOauthProvider, AttemptAffiliationVerificationParams, AttemptEmailAddressVerificationParams, AttemptFirstFactorParams, AttemptPhoneNumberVerificationParams, AttemptSecondFactorParams, AttemptVerificationParams, AttemptWeb3WalletVerificationParams, Attribute, AttributeData, AttributeDataJSON, Attributes, AttributesJSON, AuthConfigJSON, AuthConfigJSONSnapshot, AuthConfigResource, AuthenticateWithBaseParams, AuthenticateWithCoinbaseWalletParams, AuthenticateWithGoogleOneTapParams, AuthenticateWithMetamaskParams, AuthenticateWithOKXWalletParams, AuthenticateWithPasskeyParams, AuthenticateWithPopupParams, AuthenticateWithRedirectParams, AuthenticateWithSolanaParams, AuthenticateWithWeb3Params, Autocomplete, BackupCodeAttempt, BackupCodeFactor, BackupCodeJSON, BackupCodeResource, BackupCodeStrategy, BaseWeb3Provider, BillingCheckoutJSON, BillingCheckoutResource, BillingCheckoutTotals, BillingCheckoutTotalsJSON, BillingCreditBalanceJSON, BillingCreditBalanceResource, BillingCreditLedgerJSON, BillingCreditLedgerResource, BillingCredits, BillingCreditsJSON, BillingDiscounts, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingMoneyAmountJSON, BillingNamespace, BillingPayerCredit, BillingPayerCreditJSON, BillingPayerJSON, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPaymentTotalsJSON, BillingPerUnitTotal, BillingPerUnitTotalJSON, BillingPerUnitTotalTier, BillingPerUnitTotalTierJSON, BillingPeriodTotals, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTier, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetail, BillingProrationCreditDetailJSON, BillingProrationDiscount, BillingProrationDiscountJSON, BillingStatementGroup, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPayment, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPayment, BillingSubscriptionNextPaymentJSON, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, BillingTotalsJSON, BitbucketOauthProvider, BoxOauthProvider, BoxShadow, BrowserClerk, BrowserClerkConstructor, BuiltInColors, CamelToSnake, CancelSubscriptionParams, CaptchaProvider, CaptchaWidgetType, CardActionId, CheckAuthorization, CheckAuthorizationFn, CheckAuthorizationFromSessionClaims, CheckAuthorizationParamsFromSessionClaims, CheckAuthorizationParamsWithCustomPermissions, CheckAuthorizationWithCustomPermissions, CheckoutErrors, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, CheckoutSignal, CheckoutSignalValue, Clerk, ClerkAPIError, ClerkAPIErrorJSON, ClerkAPIResponseError, ClerkAppearanceTheme, ClerkAuthenticateWithWeb3Params, ClerkEventPayload, ClerkHostRouter, ClerkJWTClaims, ClerkOptions, ClerkOptionsNavigation, ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest, ClerkProp, ClerkResource, ClerkResourceJSON, ClerkResourceReloadParams, ClerkRuntimeError, ClerkStatus, ClerkThemeOptions, ClerkUI, ClerkUIConstructor, ClerkUIInstance, ClientJSON, ClientJSONSnapshot, ClientResource, ClientTrustState, CodeVerificationAttemptParam, CoinbaseOauthProvider, CoinbaseWalletWeb3Provider, Color, ColorString, CommerceSettingsJSON, CommerceSettingsJSONSnapshot, CommerceSettingsResource, ComplexityErrors, ComponentControls, ConfigureSSOProps, ConfirmCheckoutParams, CreateAPIKeyParams, CreateBulkOrganizationInvitationParams, CreateCheckoutParams, CreateEmailAddressParams, CreateEmailLinkFlowReturn, CreateEnterpriseSSOLinkFlowReturn, CreateExternalAccountParams, CreateMeEnterpriseConnectionParams, CreateOrganizationDomainParams, CreateOrganizationEnterpriseConnectionParams, CreateOrganizationInvitationParams, CreateOrganizationModalProps, CreateOrganizationParams, CreateOrganizationProps, CreatePhoneNumberParams, CreateWeb3WalletParams, CredentialReturn, CustomMenuItem, CustomNavigation, CustomOAuthStrategy, CustomOauthProvider, CustomPage, DecorateUrl, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, DeletedObjectJSON, DeletedObjectResource, DevToolsResource, DiscordOauthProvider, DisplayConfigJSON, DisplayConfigJSONSnapshot, DisplayConfigResource, DisplayThemeJSON, DomainOrProxyUrl, DropboxOauthProvider, EmUnit, EmailAddressIdentifier, EmailAddressJSON, EmailAddressJSONSnapshot, EmailAddressOrPhoneNumberIdentifier, EmailAddressResource, EmailCodeAttempt, EmailCodeConfig, EmailCodeFactor, EmailCodeSecondFactorConfig, EmailCodeStrategy, EmailLinkConfig, EmailLinkFactor, EmailLinkStrategy, EnableEnvironmentSettingParams, EnstallOauthProvider, EnterpriseAccountConnectionJSON, EnterpriseAccountConnectionJSONSnapshot, EnterpriseAccountConnectionResource, EnterpriseAccountJSON, EnterpriseAccountJSONSnapshot, EnterpriseAccountResource, EnterpriseConnectionJSON, EnterpriseConnectionJSONSnapshot, EnterpriseConnectionResource, EnterpriseConnectionTestRunInitJSON, EnterpriseConnectionTestRunInitResource, EnterpriseConnectionTestRunJSON, EnterpriseConnectionTestRunJSONSnapshot, EnterpriseConnectionTestRunLogJSON, EnterpriseConnectionTestRunLogResource, EnterpriseConnectionTestRunOauthPayloadJSON, EnterpriseConnectionTestRunOauthPayloadResource, EnterpriseConnectionTestRunParsedUserInfoJSON, EnterpriseConnectionTestRunParsedUserInfoResource, EnterpriseConnectionTestRunResource, EnterpriseConnectionTestRunSamlPayloadJSON, EnterpriseConnectionTestRunSamlPayloadResource, EnterpriseConnectionTestRunStatus, EnterpriseConnectionTestRunsPaginatedJSON, EnterpriseOAuthConfigJSON, EnterpriseOAuthConfigResource, EnterpriseProtocol, EnterpriseProvider, EnterpriseSSOConfig, EnterpriseSSOFactor, EnterpriseSSOSettings, EnterpriseSSOStrategy, EnterpriseSamlConnectionNestedJSON, EnterpriseSamlConnectionNestedResource, EnvironmentJSON, EnvironmentJSONSnapshot, EnvironmentResource, Errors, EthereumWeb3Provider, ExternalAccountJSON, ExternalAccountJSONSnapshot, ExternalAccountResource, FacebookOauthProvider, FeatureJSON, FeatureResource, FieldError, FieldId, FirstNameAttribute, FontWeight, ForPayerType, ForceNull, GenerateSignature, GenerateSignatureParams, GetAPIKeysParams, GetCreditBalanceParams, GetCreditHistoryParams, GetDomainsParams, GetEnterpriseConnectionTestRunsParams, GetEnterpriseConnectionsParams, GetInvitationsParams, GetMembersParams, GetMembershipRequestParams, GetMemberships, GetOAuthConsentInfoParams, GetOrganizationMemberships, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetRolesParams, GetRolesResponse, GetStatementParams, GetStatementsParams, GetSubscriptionParams, GetToken, GetTokenOptions, GetUserOrganizationInvitationsParams, GetUserOrganizationMembershipParams, GetUserOrganizationSuggestionsParams, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, GoogleOneTapProps, GoogleOneTapStrategy, HandleEmailLinkVerificationParams, HandleOAuthCallbackParams, HandleSamlCallbackParams, HeadlessBrowserClerk, HeadlessBrowserClerkConstructor, HexColor, HexColorString, HslaColor, HslaColorString, HubspotOauthProvider, HuggingfaceOAuthProvider, IdentificationLinkJSON, IdentificationLinkJSONSnapshot, IdentificationLinkResource, ImageJSON, ImageResource, InitialState, InitializePaymentMethodParams, InstagramOauthProvider, InstanceType, InternalClerkScriptProps, InviteMemberParams, InviteMembersParams, IsomorphicClerkOptions, JWT, JWTClaims, JWTHeader, JoinWaitlistParams, Jwt, JwtHeader, JwtPayload, LastAuthenticationStrategy, LastNameAttribute, LegalAcceptedAttribute, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, ListenerCallback, ListenerOptions, LoadedClerk, LocalizationResource, LocalizationValue, MakeDefaultPaymentMethodParams, MeEnterpriseConnectionOidcInput, MeEnterpriseConnectionProvider, MeEnterpriseConnectionSamlInput, MenuId, MetamaskWeb3Provider, MicrosoftOauthProvider, MultiDomainAndOrProxy, MultiDomainAndOrProxyPrimitives, NavigateOptions, NewSubscriptionRedirectUrl, NotionOauthProvider, Nullable, NullableSignInSignal, NullableSignUpSignal, NullableWaitlistSignal, OAUTH_PROVIDERS, OAuthApplicationNamespace, OAuthConfig, OAuthConsentInfo, OAuthConsentInfoJSON, OAuthConsentProps, OAuthConsentScope, OAuthConsentScopeJSON, OAuthProvider, OAuthProviderData, OAuthProviderSettings, OAuthProviders, OAuthScope, OAuthStrategy, OAuthTransport, OKXWalletWeb3Provider, OauthFactor, OffEventListener, OnEventListener, OrganizationCreationAdvisorySeverity, OrganizationCreationAdvisoryType, OrganizationCreationDefaultsJSON, OrganizationCreationDefaultsJSONSnapshot, OrganizationCreationDefaultsResource, OrganizationCustomPermissionKey, OrganizationCustomRoleKey, OrganizationDomainBulkOwnershipVerificationError, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerification, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainOwnershipVerificationStatus, OrganizationDomainOwnershipVerificationStrategy, OrganizationDomainResource, OrganizationDomainVerification, OrganizationDomainVerificationJSON, OrganizationDomainVerificationStatus, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationDomainsBulkOwnershipVerificationResource, OrganizationEnrollmentMode, OrganizationEnterpriseConnectionOidcInput, OrganizationEnterpriseConnectionProvider, OrganizationEnterpriseConnectionSamlInput, OrganizationInvitationJSON, OrganizationInvitationResource, OrganizationInvitationStatus, OrganizationJSON, OrganizationJSONSnapshot, OrganizationListProps, OrganizationMembershipJSON, OrganizationMembershipJSONSnapshot, OrganizationMembershipRequestJSON, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationPermissionKey, OrganizationPreviewId, OrganizationProfileModalProps, OrganizationProfileProps, OrganizationResource, OrganizationSettingsJSON, OrganizationSettingsJSONSnapshot, OrganizationSettingsResource, OrganizationSuggestionJSON, OrganizationSuggestionResource, OrganizationSuggestionStatus, OrganizationSwitcherProps, OrganizationSystemPermissionKey, OrganizationSystemPermissionPrefix, OrganizationsJWTClaim, Override, PartialWithClerkResource, PassKeyConfig, PasskeyAttempt, PasskeyFactor, PasskeyJSON, PasskeyJSONSnapshot, PasskeyResource, PasskeySettingsData, PasskeyStrategy, PasskeyVerificationResource, PasswordAttempt, PasswordAttribute, PasswordFactor, PasswordSettingsData, PasswordStrategy, PasswordStrength, PasswordValidation, PathValue, PaymentGateway, PendingSessionOptions, PendingSessionResource, PermissionJSON, PermissionResource, PhoneCodeAttempt, PhoneCodeChannel, PhoneCodeChannelData, PhoneCodeConfig, PhoneCodeFactor, PhoneCodeProvider, PhoneCodeSMSChannel, PhoneCodeSecondFactorConfig, PhoneCodeStrategy, PhoneCodeWhatsAppChannel, PhoneNumberIdentifier, PhoneNumberJSON, PhoneNumberJSONSnapshot, PhoneNumberResource, PhoneNumberVerificationStrategy, PreferredSignInStrategy, PrepareAffiliationVerificationParams, PrepareEmailAddressVerificationParams, PrepareFirstFactorParams, PreparePhoneNumberVerificationParams, PrepareSecondFactorParams, PrepareVerificationParams, PrepareWeb3WalletVerificationParams, PricingTableProps, ProfilePageId, ProfileSectionId, ProtectConfigJSON, ProtectConfigJSONSnapshot, ProtectConfigResource, ProtectLoader, ProtectParams, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialCreationOptionsWithoutExtensions, PublicKeyCredentialRequestOptionsJSON, PublicKeyCredentialRequestOptionsWithoutExtensions, PublicKeyCredentialWithAuthenticatorAssertionResponse, PublicKeyCredentialWithAuthenticatorAttestationResponse, PublicOrganizationDataJSON, PublicUserData, PublicUserDataJSON, PublicUserDataJSONSnapshot, PublishableKey, ReauthorizeExternalAccountParams, RecordToPath, RedirectOptions, RedirectUrlProp, RemoveFunctions, RemovePaymentMethodParams, RemoveUserPasswordParams, ResetPasswordCodeFactor, ResetPasswordEmailCodeAttempt, ResetPasswordEmailCodeFactor, ResetPasswordEmailCodeFactorConfig, ResetPasswordEmailCodeStrategy, ResetPasswordParams, ResetPasswordPhoneCodeAttempt, ResetPasswordPhoneCodeFactor, ResetPasswordPhoneCodeFactorConfig, ResetPasswordPhoneCodeStrategy, Resources, ReverificationConfig, RevokeAPIKeyParams, RgbaColor, RgbaColorString, RoleJSON, RoleResource, RoutingMode, RoutingOptions, RoutingStrategy, SAML_IDPS, SDKMetadata, SamlIdp, SamlIdpMap, SamlIdpSlug, SelectId, Serializable, ServerGetToken, ServerGetTokenOptions, SessionActivity, SessionActivityJSON, SessionJSON, SessionJSONSnapshot, SessionResource, SessionStatus, SessionStatusClaim, SessionTask, SessionTouchIntent, SessionTouchParams, SessionVerificationAfterMinutes, SessionVerificationFirstFactor, SessionVerificationJSON, SessionVerificationLevel, SessionVerificationResource, SessionVerificationSecondFactor, SessionVerificationStatus, SessionVerificationTypes, SessionVerifyAttemptFirstFactorParams, SessionVerifyAttemptSecondFactorParams, SessionVerifyCreateParams, SessionVerifyPrepareFirstFactorParams, SessionVerifyPrepareSecondFactorParams, SessionWithActivitiesJSON, SessionWithActivitiesResource, SetActive, SetActiveNavigate, SetActiveParams, SetOrganizationLogoParams, SetProfileImageParams, SetReservedForSecondFactorParams, SharedSignedInAuthObjectProperties, ShowProps, ShowWhenCondition, SignInAuthenticateWithSolanaParams, SignInButtonProps, SignInCreateParams, SignInData, SignInErrors, SignInFactor, SignInFallbackRedirectUrl, SignInFields, SignInFirstFactor, SignInFirstFactorJSON, SignInForceRedirectUrl, SignInFutureBackupCodeVerifyParams, SignInFutureCreateParams, SignInFutureEmailCodeSendParams, SignInFutureEmailCodeVerifyParams, SignInFutureEmailLinkSendParams, SignInFutureFinalizeParams, SignInFutureMFAEmailCodeVerifyParams, SignInFutureMFAPhoneCodeVerifyParams, SignInFuturePasskeyParams, SignInFuturePasswordParams, SignInFuturePhoneCodeSendParams, SignInFuturePhoneCodeVerifyParams, SignInFutureResetPasswordPhoneCodeSendParams, SignInFutureResetPasswordPhoneCodeVerifyParams, SignInFutureResetPasswordSubmitParams, SignInFutureResource, SignInFutureSSOParams, SignInFutureTOTPVerifyParams, SignInFutureTicketParams, SignInFutureWeb3Params, SignInIdentifier, SignInInitialValues, SignInJSON, SignInJSONSnapshot, SignInModalProps, SignInProps, SignInRedirectOptions, SignInResource, SignInSecondFactor, SignInSecondFactorJSON, SignInSignal, SignInSignalValue, SignInStartEmailLinkFlowParams, SignInStatus, SignInStrategy, SignOut, SignOutCallback, SignOutOptions, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpButtonProps, SignUpCreateParams, SignUpData, SignUpEnterpriseConnectionJSON, SignUpEnterpriseConnectionResource, SignUpErrors, SignUpFallbackRedirectUrl, SignUpField, SignUpFields, SignUpForceRedirectUrl, SignUpFutureAdditionalParams, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureEmailLinkSendParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureVerifications, SignUpFutureWeb3Params, SignUpIdentificationField, SignUpInitialValues, SignUpJSON, SignUpJSONSnapshot, SignUpModalProps, SignUpModes, SignUpProps, SignUpRedirectOptions, SignUpResource, SignUpSignal, SignUpSignalValue, SignUpStatus, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationJSON, SignUpVerificationJSONSnapshot, SignUpVerificationResource, SignUpVerificationsJSON, SignUpVerificationsJSONSnapshot, SignUpVerificationsResource, SignatureVerificationAttemptParam, SignedInSessionResource, Simplify, SlackOauthProvider, SnakeToCamel, SolanaWeb3Provider, SpotifyOauthProvider, StartEmailLinkFlowParams, StartEnterpriseSSOLinkFlowParams, State, TOTPAttempt, TOTPFactor, TOTPJSON, TOTPResource, TOTPStrategy, TaskChooseOrganizationProps, TaskResetPasswordProps, TaskSetupMFAProps, TasksRedirectOptions, TelemetryCollector, TelemetryEvent, TelemetryEventRaw, TelemetryLogEntry, TicketStrategy, TiktokOauthProvider, TokenJSON, TokenJSONSnapshot, TokenResource, TransferableOption, TransparentColor, TwitchOauthProvider, TwitterOauthProvider, UIVersion, UnsubscribeCallback, UpdateEnrollmentModeParams, UpdateMeEnterpriseConnectionParams, UpdateMembershipParams, UpdateOrganizationEnterpriseConnectionParams, UpdateOrganizationMembershipParams, UpdateOrganizationParams, UpdatePasskeyParams, UpdateUserMetadataParams, UpdateUserParams, UpdateUserPasswordParams, UseAuthReturn, UseSessionListReturn, UseSessionReturn, UseSignInReturn, UseSignUpReturn, UseUserReturn, UserAvatarProps, UserButtonProps, UserData, UserDataJSON, UserDataJSONSnapshot, UserJSON, UserJSONSnapshot, UserOrganizationInvitationJSON, UserOrganizationInvitationResource, UserPreviewId, UserProfileModalProps, UserProfileProps, UserResource, UserSettingsJSON, UserSettingsJSONSnapshot, UserSettingsResource, UsernameIdentifier, UsernameSettingsData, ValidatePasswordCallbacks, VercelOauthProvider, VerificationAttemptParams, VerificationJSON, VerificationJSONSnapshot, VerificationResource, VerificationStatus, VerificationStrategy, VerifyTOTPParams, VersionedJwtPayload, WEB3_PROVIDERS, WaitlistErrors, WaitlistFields, WaitlistJSON, WaitlistModalProps, WaitlistProps, WaitlistResource, WaitlistSignal, WaitlistSignalValue, Web3Attempt, Web3Provider, Web3ProviderData, Web3SignatureConfig, Web3SignatureFactor, Web3Strategy, Web3WalletIdentifier, Web3WalletJSON, Web3WalletJSONSnapshot, Web3WalletResource, WithOptionalOrgType, Without, WithoutRouting, XOauthProvider, XeroOauthProvider, ZxcvbnResult, __experimental_CheckoutButtonProps, __experimental_CheckoutCacheState, __experimental_CheckoutOptions, __experimental_PlanDetailsButtonProps, __experimental_SubscriptionDetailsButtonProps, __internal_AttemptToEnableEnvironmentSettingParams, __internal_AttemptToEnableEnvironmentSettingResult, __internal_CheckoutProps, __internal_EnableOrganizationsPromptProps, __internal_LocalizationResource, __internal_OAuthConsentProps, __internal_PlanDetailsProps, __internal_SubscriptionDetailsProps, __internal_UserVerificationModalProps, __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { DeletedObjectResource } from "./deletedObject.js";
|
|
|
3
3
|
import { ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest } from "./pagination.js";
|
|
4
4
|
import { ClerkResource, ClerkResourceReloadParams } from "./resource.js";
|
|
5
5
|
import { Autocomplete, CamelToSnake, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, ForceNull, Nullable, Override, PathValue, RecordToPath, RemoveFunctions, Serializable, Simplify, SnakeToCamel, Without } from "./utils.js";
|
|
6
|
-
import { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType } from "./billing.js";
|
|
6
|
+
import { AddPaymentMethodParams, BillingCheckoutResource, BillingCheckoutTotals, BillingCreditBalanceResource, BillingCreditLedgerResource, BillingCredits, BillingDiscounts, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingNamespace, BillingPayerCredit, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPerUnitTotal, BillingPerUnitTotalTier, BillingPeriodTotals, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceTier, BillingProrationCreditDetail, BillingProrationDiscount, BillingStatementGroup, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingSubscriptionItemNextPayment, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionNextPayment, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, CancelSubscriptionParams, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, ConfirmCheckoutParams, CreateCheckoutParams, FeatureResource, ForPayerType, GetCreditBalanceParams, GetCreditHistoryParams, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetStatementParams, GetStatementsParams, GetSubscriptionParams, InitializePaymentMethodParams, MakeDefaultPaymentMethodParams, PaymentGateway, RemovePaymentMethodParams, WithOptionalOrgType } from "./billing.js";
|
|
7
7
|
import { CommerceSettingsJSON, CommerceSettingsResource } from "./commerceSettings.js";
|
|
8
8
|
import { AppleOauthProvider, AtlassianOauthProvider, BitbucketOauthProvider, BoxOauthProvider, CoinbaseOauthProvider, CustomOauthProvider, DiscordOauthProvider, DropboxOauthProvider, EnstallOauthProvider, FacebookOauthProvider, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, HubspotOauthProvider, HuggingfaceOAuthProvider, InstagramOauthProvider, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, MicrosoftOauthProvider, NotionOauthProvider, OAuthProvider, OAuthProviderData, OAuthScope, SlackOauthProvider, SpotifyOauthProvider, TiktokOauthProvider, TwitchOauthProvider, TwitterOauthProvider, VercelOauthProvider, XOauthProvider, XeroOauthProvider } from "./oauth.js";
|
|
9
9
|
import { BaseWeb3Provider, CoinbaseWalletWeb3Provider, EthereumWeb3Provider, MetamaskWeb3Provider, OKXWalletWeb3Provider, SolanaWeb3Provider, Web3Provider, Web3ProviderData } from "./web3.js";
|
|
@@ -56,7 +56,7 @@ import { ActClaim, ActClaimType, AgentActClaim, Jwt, JwtHeader, JwtPayload, Sess
|
|
|
56
56
|
import { FirstNameAttribute, LastNameAttribute, LegalAcceptedAttribute, PasswordAttribute } from "./attributes.js";
|
|
57
57
|
import { AttemptVerificationParams, PrepareVerificationParams, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpCreateParams, SignUpField, SignUpIdentificationField, SignUpStatus, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationResource, SignUpVerificationsResource } from "./signUpCommon.js";
|
|
58
58
|
import { BoxShadow, BuiltInColors, Color, ColorString, EmUnit, FontWeight, HexColor, HexColorString, HslaColor, HslaColorString, RgbaColor, RgbaColorString, TransparentColor } from "./theme.js";
|
|
59
|
-
import { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON } from "./json.js";
|
|
59
|
+
import { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditBalanceJSON, BillingCreditLedgerJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON } from "./json.js";
|
|
60
60
|
import { SignUpFutureAdditionalParams, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureEmailLinkSendParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureVerifications, SignUpFutureWeb3Params } from "./signUpFuture.js";
|
|
61
61
|
import { SignUpEnterpriseConnectionResource, SignUpResource } from "./signUp.js";
|
|
62
62
|
import { ClientResource } from "./client.js";
|
|
@@ -83,4 +83,4 @@ import { ProtectParams, ShowProps, ShowWhenCondition } from "./authorization.js"
|
|
|
83
83
|
import { ClerkHostRouter, RoutingMode } from "./router.js";
|
|
84
84
|
import { OAUTH_PROVIDERS, SAML_IDPS, WEB3_PROVIDERS, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders } from "./runtime-values.js";
|
|
85
85
|
import { InitialState, ServerGetToken, ServerGetTokenOptions } from "./ssr.js";
|
|
86
|
-
export type { APIKeyResource, APIKeysNamespace, APIKeysProps, APIKeysSettingsJSON, APIKeysSettingsJSONSnapshot, APIKeysSettingsResource, ActClaim, ActClaimType, ActJWTClaim, Actions, ActiveSessionResource, AddMemberParams, AddPaymentMethodParams, AfterMultiSessionSingleSignOutUrl, AfterSignOutUrl, AgentActClaim, AlertId, ApiKeyJSON, AppleIdTokenStrategy, AppleOauthProvider, AtlassianOauthProvider, AttemptAffiliationVerificationParams, AttemptEmailAddressVerificationParams, AttemptFirstFactorParams, AttemptPhoneNumberVerificationParams, AttemptSecondFactorParams, AttemptVerificationParams, AttemptWeb3WalletVerificationParams, Attribute, AttributeData, AttributeDataJSON, Attributes, AttributesJSON, AuthConfigJSON, AuthConfigJSONSnapshot, AuthConfigResource, AuthenticateWithBaseParams, AuthenticateWithCoinbaseWalletParams, AuthenticateWithGoogleOneTapParams, AuthenticateWithMetamaskParams, AuthenticateWithOKXWalletParams, AuthenticateWithPasskeyParams, AuthenticateWithPopupParams, AuthenticateWithRedirectParams, AuthenticateWithSolanaParams, AuthenticateWithWeb3Params, Autocomplete, BackupCodeAttempt, BackupCodeFactor, BackupCodeJSON, BackupCodeResource, BackupCodeStrategy, BaseWeb3Provider, BillingCheckoutJSON, BillingCheckoutResource, BillingCheckoutTotals, BillingCheckoutTotalsJSON, BillingCredits, BillingCreditsJSON, BillingDiscounts, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingMoneyAmountJSON, BillingNamespace, BillingPayerCredit, BillingPayerCreditJSON, BillingPayerJSON, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPaymentTotalsJSON, BillingPerUnitTotal, BillingPerUnitTotalJSON, BillingPerUnitTotalTier, BillingPerUnitTotalTierJSON, BillingPeriodTotals, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTier, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetail, BillingProrationCreditDetailJSON, BillingProrationDiscount, BillingProrationDiscountJSON, BillingStatementGroup, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPayment, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPayment, BillingSubscriptionNextPaymentJSON, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, BillingTotalsJSON, BitbucketOauthProvider, BoxOauthProvider, BoxShadow, BrowserClerk, BrowserClerkConstructor, BuiltInColors, CamelToSnake, CancelSubscriptionParams, CaptchaProvider, CaptchaWidgetType, CardActionId, CheckAuthorization, CheckAuthorizationFn, CheckAuthorizationFromSessionClaims, CheckAuthorizationParamsFromSessionClaims, CheckAuthorizationParamsWithCustomPermissions, CheckAuthorizationWithCustomPermissions, CheckoutErrors, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, CheckoutSignal, CheckoutSignalValue, Clerk, ClerkAPIError, ClerkAPIErrorJSON, ClerkAPIResponseError, ClerkAppearanceTheme, ClerkAuthenticateWithWeb3Params, ClerkEventPayload, ClerkHostRouter, ClerkJWTClaims, ClerkOptions, ClerkOptionsNavigation, ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest, ClerkProp, ClerkResource, ClerkResourceJSON, ClerkResourceReloadParams, ClerkRuntimeError, ClerkStatus, ClerkThemeOptions, ClerkUI, ClerkUIConstructor, ClerkUIInstance, ClientJSON, ClientJSONSnapshot, ClientResource, ClientTrustState, CodeVerificationAttemptParam, CoinbaseOauthProvider, CoinbaseWalletWeb3Provider, Color, ColorString, CommerceSettingsJSON, CommerceSettingsJSONSnapshot, CommerceSettingsResource, ComplexityErrors, ComponentControls, ConfigureSSOProps, ConfirmCheckoutParams, CreateAPIKeyParams, CreateBulkOrganizationInvitationParams, CreateCheckoutParams, CreateEmailAddressParams, CreateEmailLinkFlowReturn, CreateEnterpriseSSOLinkFlowReturn, CreateExternalAccountParams, CreateMeEnterpriseConnectionParams, CreateOrganizationDomainParams, CreateOrganizationEnterpriseConnectionParams, CreateOrganizationInvitationParams, CreateOrganizationModalProps, CreateOrganizationParams, CreateOrganizationProps, CreatePhoneNumberParams, CreateWeb3WalletParams, CredentialReturn, CustomMenuItem, CustomNavigation, CustomOAuthStrategy, CustomOauthProvider, CustomPage, DecorateUrl, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, DeletedObjectJSON, DeletedObjectResource, DevToolsResource, DiscordOauthProvider, DisplayConfigJSON, DisplayConfigJSONSnapshot, DisplayConfigResource, DisplayThemeJSON, DomainOrProxyUrl, DropboxOauthProvider, EmUnit, EmailAddressIdentifier, EmailAddressJSON, EmailAddressJSONSnapshot, EmailAddressOrPhoneNumberIdentifier, EmailAddressResource, EmailCodeAttempt, EmailCodeConfig, EmailCodeFactor, EmailCodeSecondFactorConfig, EmailCodeStrategy, EmailLinkConfig, EmailLinkFactor, EmailLinkStrategy, EnableEnvironmentSettingParams, EnstallOauthProvider, EnterpriseAccountConnectionJSON, EnterpriseAccountConnectionJSONSnapshot, EnterpriseAccountConnectionResource, EnterpriseAccountJSON, EnterpriseAccountJSONSnapshot, EnterpriseAccountResource, EnterpriseConnectionJSON, EnterpriseConnectionJSONSnapshot, EnterpriseConnectionResource, EnterpriseConnectionTestRunInitJSON, EnterpriseConnectionTestRunInitResource, EnterpriseConnectionTestRunJSON, EnterpriseConnectionTestRunJSONSnapshot, EnterpriseConnectionTestRunLogJSON, EnterpriseConnectionTestRunLogResource, EnterpriseConnectionTestRunOauthPayloadJSON, EnterpriseConnectionTestRunOauthPayloadResource, EnterpriseConnectionTestRunParsedUserInfoJSON, EnterpriseConnectionTestRunParsedUserInfoResource, EnterpriseConnectionTestRunResource, EnterpriseConnectionTestRunSamlPayloadJSON, EnterpriseConnectionTestRunSamlPayloadResource, EnterpriseConnectionTestRunStatus, EnterpriseConnectionTestRunsPaginatedJSON, EnterpriseOAuthConfigJSON, EnterpriseOAuthConfigResource, EnterpriseProtocol, EnterpriseProvider, EnterpriseSSOConfig, EnterpriseSSOFactor, EnterpriseSSOSettings, EnterpriseSSOStrategy, EnterpriseSamlConnectionNestedJSON, EnterpriseSamlConnectionNestedResource, EnvironmentJSON, EnvironmentJSONSnapshot, EnvironmentResource, Errors, EthereumWeb3Provider, ExternalAccountJSON, ExternalAccountJSONSnapshot, ExternalAccountResource, FacebookOauthProvider, FeatureJSON, FeatureResource, FieldError, FieldId, FirstNameAttribute, FontWeight, ForPayerType, ForceNull, GenerateSignature, GenerateSignatureParams, GetAPIKeysParams, GetDomainsParams, GetEnterpriseConnectionTestRunsParams, GetEnterpriseConnectionsParams, GetInvitationsParams, GetMembersParams, GetMembershipRequestParams, GetMemberships, GetOAuthConsentInfoParams, GetOrganizationMemberships, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetRolesParams, GetRolesResponse, GetStatementParams, GetStatementsParams, GetSubscriptionParams, GetToken, GetTokenOptions, GetUserOrganizationInvitationsParams, GetUserOrganizationMembershipParams, GetUserOrganizationSuggestionsParams, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, GoogleOneTapProps, GoogleOneTapStrategy, HandleEmailLinkVerificationParams, HandleOAuthCallbackParams, HandleSamlCallbackParams, HeadlessBrowserClerk, HeadlessBrowserClerkConstructor, HexColor, HexColorString, HslaColor, HslaColorString, HubspotOauthProvider, HuggingfaceOAuthProvider, IdentificationLinkJSON, IdentificationLinkJSONSnapshot, IdentificationLinkResource, ImageJSON, ImageResource, InitialState, InitializePaymentMethodParams, InstagramOauthProvider, InstanceType, InternalClerkScriptProps, InviteMemberParams, InviteMembersParams, IsomorphicClerkOptions, JWT, JWTClaims, JWTHeader, JoinWaitlistParams, Jwt, JwtHeader, JwtPayload, LastAuthenticationStrategy, LastNameAttribute, LegalAcceptedAttribute, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, ListenerCallback, ListenerOptions, LoadedClerk, LocalizationResource, LocalizationValue, MakeDefaultPaymentMethodParams, MeEnterpriseConnectionOidcInput, MeEnterpriseConnectionProvider, MeEnterpriseConnectionSamlInput, MenuId, MetamaskWeb3Provider, MicrosoftOauthProvider, MultiDomainAndOrProxy, MultiDomainAndOrProxyPrimitives, NavigateOptions, NewSubscriptionRedirectUrl, NotionOauthProvider, Nullable, NullableSignInSignal, NullableSignUpSignal, NullableWaitlistSignal, OAUTH_PROVIDERS, OAuthApplicationNamespace, OAuthConfig, OAuthConsentInfo, OAuthConsentInfoJSON, OAuthConsentProps, OAuthConsentScope, OAuthConsentScopeJSON, OAuthProvider, OAuthProviderData, OAuthProviderSettings, OAuthProviders, OAuthScope, OAuthStrategy, OAuthTransport, OKXWalletWeb3Provider, OauthFactor, OffEventListener, OnEventListener, OrganizationCreationAdvisorySeverity, OrganizationCreationAdvisoryType, OrganizationCreationDefaultsJSON, OrganizationCreationDefaultsJSONSnapshot, OrganizationCreationDefaultsResource, OrganizationCustomPermissionKey, OrganizationCustomRoleKey, OrganizationDomainBulkOwnershipVerificationError, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerification, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainOwnershipVerificationStatus, OrganizationDomainOwnershipVerificationStrategy, OrganizationDomainResource, OrganizationDomainVerification, OrganizationDomainVerificationJSON, OrganizationDomainVerificationStatus, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationDomainsBulkOwnershipVerificationResource, OrganizationEnrollmentMode, OrganizationEnterpriseConnectionOidcInput, OrganizationEnterpriseConnectionProvider, OrganizationEnterpriseConnectionSamlInput, OrganizationInvitationJSON, OrganizationInvitationResource, OrganizationInvitationStatus, OrganizationJSON, OrganizationJSONSnapshot, OrganizationListProps, OrganizationMembershipJSON, OrganizationMembershipJSONSnapshot, OrganizationMembershipRequestJSON, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationPermissionKey, OrganizationPreviewId, OrganizationProfileModalProps, OrganizationProfileProps, OrganizationResource, OrganizationSettingsJSON, OrganizationSettingsJSONSnapshot, OrganizationSettingsResource, OrganizationSuggestionJSON, OrganizationSuggestionResource, OrganizationSuggestionStatus, OrganizationSwitcherProps, OrganizationSystemPermissionKey, OrganizationSystemPermissionPrefix, OrganizationsJWTClaim, Override, PartialWithClerkResource, PassKeyConfig, PasskeyAttempt, PasskeyFactor, PasskeyJSON, PasskeyJSONSnapshot, PasskeyResource, PasskeySettingsData, PasskeyStrategy, PasskeyVerificationResource, PasswordAttempt, PasswordAttribute, PasswordFactor, PasswordSettingsData, PasswordStrategy, PasswordStrength, PasswordValidation, PathValue, PaymentGateway, PendingSessionOptions, PendingSessionResource, PermissionJSON, PermissionResource, PhoneCodeAttempt, PhoneCodeChannel, PhoneCodeChannelData, PhoneCodeConfig, PhoneCodeFactor, PhoneCodeProvider, PhoneCodeSMSChannel, PhoneCodeSecondFactorConfig, PhoneCodeStrategy, PhoneCodeWhatsAppChannel, PhoneNumberIdentifier, PhoneNumberJSON, PhoneNumberJSONSnapshot, PhoneNumberResource, PhoneNumberVerificationStrategy, PreferredSignInStrategy, PrepareAffiliationVerificationParams, PrepareEmailAddressVerificationParams, PrepareFirstFactorParams, PreparePhoneNumberVerificationParams, PrepareSecondFactorParams, PrepareVerificationParams, PrepareWeb3WalletVerificationParams, PricingTableProps, ProfilePageId, ProfileSectionId, ProtectConfigJSON, ProtectConfigJSONSnapshot, ProtectConfigResource, ProtectLoader, ProtectParams, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialCreationOptionsWithoutExtensions, PublicKeyCredentialRequestOptionsJSON, PublicKeyCredentialRequestOptionsWithoutExtensions, PublicKeyCredentialWithAuthenticatorAssertionResponse, PublicKeyCredentialWithAuthenticatorAttestationResponse, PublicOrganizationDataJSON, PublicUserData, PublicUserDataJSON, PublicUserDataJSONSnapshot, PublishableKey, ReauthorizeExternalAccountParams, RecordToPath, RedirectOptions, RedirectUrlProp, RemoveFunctions, RemovePaymentMethodParams, RemoveUserPasswordParams, ResetPasswordCodeFactor, ResetPasswordEmailCodeAttempt, ResetPasswordEmailCodeFactor, ResetPasswordEmailCodeFactorConfig, ResetPasswordEmailCodeStrategy, ResetPasswordParams, ResetPasswordPhoneCodeAttempt, ResetPasswordPhoneCodeFactor, ResetPasswordPhoneCodeFactorConfig, ResetPasswordPhoneCodeStrategy, Resources, ReverificationConfig, RevokeAPIKeyParams, RgbaColor, RgbaColorString, RoleJSON, RoleResource, RoutingMode, RoutingOptions, RoutingStrategy, SAML_IDPS, SDKMetadata, SamlIdp, SamlIdpMap, SamlIdpSlug, SelectId, Serializable, ServerGetToken, ServerGetTokenOptions, SessionActivity, SessionActivityJSON, SessionJSON, SessionJSONSnapshot, SessionResource, SessionStatus, SessionStatusClaim, SessionTask, SessionTouchIntent, SessionTouchParams, SessionVerificationAfterMinutes, SessionVerificationFirstFactor, SessionVerificationJSON, SessionVerificationLevel, SessionVerificationResource, SessionVerificationSecondFactor, SessionVerificationStatus, SessionVerificationTypes, SessionVerifyAttemptFirstFactorParams, SessionVerifyAttemptSecondFactorParams, SessionVerifyCreateParams, SessionVerifyPrepareFirstFactorParams, SessionVerifyPrepareSecondFactorParams, SessionWithActivitiesJSON, SessionWithActivitiesResource, SetActive, SetActiveNavigate, SetActiveParams, SetOrganizationLogoParams, SetProfileImageParams, SetReservedForSecondFactorParams, SharedSignedInAuthObjectProperties, ShowProps, ShowWhenCondition, SignInAuthenticateWithSolanaParams, SignInButtonProps, SignInCreateParams, SignInData, SignInErrors, SignInFactor, SignInFallbackRedirectUrl, SignInFields, SignInFirstFactor, SignInFirstFactorJSON, SignInForceRedirectUrl, SignInFutureBackupCodeVerifyParams, SignInFutureCreateParams, SignInFutureEmailCodeSendParams, SignInFutureEmailCodeVerifyParams, SignInFutureEmailLinkSendParams, SignInFutureFinalizeParams, SignInFutureMFAEmailCodeVerifyParams, SignInFutureMFAPhoneCodeVerifyParams, SignInFuturePasskeyParams, SignInFuturePasswordParams, SignInFuturePhoneCodeSendParams, SignInFuturePhoneCodeVerifyParams, SignInFutureResetPasswordPhoneCodeSendParams, SignInFutureResetPasswordPhoneCodeVerifyParams, SignInFutureResetPasswordSubmitParams, SignInFutureResource, SignInFutureSSOParams, SignInFutureTOTPVerifyParams, SignInFutureTicketParams, SignInFutureWeb3Params, SignInIdentifier, SignInInitialValues, SignInJSON, SignInJSONSnapshot, SignInModalProps, SignInProps, SignInRedirectOptions, SignInResource, SignInSecondFactor, SignInSecondFactorJSON, SignInSignal, SignInSignalValue, SignInStartEmailLinkFlowParams, SignInStatus, SignInStrategy, SignOut, SignOutCallback, SignOutOptions, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpButtonProps, SignUpCreateParams, SignUpData, SignUpEnterpriseConnectionJSON, SignUpEnterpriseConnectionResource, SignUpErrors, SignUpFallbackRedirectUrl, SignUpField, SignUpFields, SignUpForceRedirectUrl, SignUpFutureAdditionalParams, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureEmailLinkSendParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureVerifications, SignUpFutureWeb3Params, SignUpIdentificationField, SignUpInitialValues, SignUpJSON, SignUpJSONSnapshot, SignUpModalProps, SignUpModes, SignUpProps, SignUpRedirectOptions, SignUpResource, SignUpSignal, SignUpSignalValue, SignUpStatus, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationJSON, SignUpVerificationJSONSnapshot, SignUpVerificationResource, SignUpVerificationsJSON, SignUpVerificationsJSONSnapshot, SignUpVerificationsResource, SignatureVerificationAttemptParam, SignedInSessionResource, Simplify, SlackOauthProvider, SnakeToCamel, SolanaWeb3Provider, SpotifyOauthProvider, StartEmailLinkFlowParams, StartEnterpriseSSOLinkFlowParams, State, TOTPAttempt, TOTPFactor, TOTPJSON, TOTPResource, TOTPStrategy, TaskChooseOrganizationProps, TaskResetPasswordProps, TaskSetupMFAProps, TasksRedirectOptions, TelemetryCollector, TelemetryEvent, TelemetryEventRaw, TelemetryLogEntry, TicketStrategy, TiktokOauthProvider, TokenJSON, TokenJSONSnapshot, TokenResource, TransferableOption, TransparentColor, TwitchOauthProvider, TwitterOauthProvider, UIVersion, UnsubscribeCallback, UpdateEnrollmentModeParams, UpdateMeEnterpriseConnectionParams, UpdateMembershipParams, UpdateOrganizationEnterpriseConnectionParams, UpdateOrganizationMembershipParams, UpdateOrganizationParams, UpdatePasskeyParams, UpdateUserMetadataParams, UpdateUserParams, UpdateUserPasswordParams, UseAuthReturn, UseSessionListReturn, UseSessionReturn, UseSignInReturn, UseSignUpReturn, UseUserReturn, UserAvatarProps, UserButtonProps, UserData, UserDataJSON, UserDataJSONSnapshot, UserJSON, UserJSONSnapshot, UserOrganizationInvitationJSON, UserOrganizationInvitationResource, UserPreviewId, UserProfileModalProps, UserProfileProps, UserResource, UserSettingsJSON, UserSettingsJSONSnapshot, UserSettingsResource, UsernameIdentifier, UsernameSettingsData, ValidatePasswordCallbacks, VercelOauthProvider, VerificationAttemptParams, VerificationJSON, VerificationJSONSnapshot, VerificationResource, VerificationStatus, VerificationStrategy, VerifyTOTPParams, VersionedJwtPayload, WEB3_PROVIDERS, WaitlistErrors, WaitlistFields, WaitlistJSON, WaitlistModalProps, WaitlistProps, WaitlistResource, WaitlistSignal, WaitlistSignalValue, Web3Attempt, Web3Provider, Web3ProviderData, Web3SignatureConfig, Web3SignatureFactor, Web3Strategy, Web3WalletIdentifier, Web3WalletJSON, Web3WalletJSONSnapshot, Web3WalletResource, WithOptionalOrgType, Without, WithoutRouting, XOauthProvider, XeroOauthProvider, ZxcvbnResult, __experimental_CheckoutButtonProps, __experimental_CheckoutCacheState, __experimental_CheckoutOptions, __experimental_PlanDetailsButtonProps, __experimental_SubscriptionDetailsButtonProps, __internal_AttemptToEnableEnvironmentSettingParams, __internal_AttemptToEnableEnvironmentSettingResult, __internal_CheckoutProps, __internal_EnableOrganizationsPromptProps, __internal_LocalizationResource, __internal_OAuthConsentProps, __internal_PlanDetailsProps, __internal_SubscriptionDetailsProps, __internal_UserVerificationModalProps, __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
|
86
|
+
export type { APIKeyResource, APIKeysNamespace, APIKeysProps, APIKeysSettingsJSON, APIKeysSettingsJSONSnapshot, APIKeysSettingsResource, ActClaim, ActClaimType, ActJWTClaim, Actions, ActiveSessionResource, AddMemberParams, AddPaymentMethodParams, AfterMultiSessionSingleSignOutUrl, AfterSignOutUrl, AgentActClaim, AlertId, ApiKeyJSON, AppleIdTokenStrategy, AppleOauthProvider, AtlassianOauthProvider, AttemptAffiliationVerificationParams, AttemptEmailAddressVerificationParams, AttemptFirstFactorParams, AttemptPhoneNumberVerificationParams, AttemptSecondFactorParams, AttemptVerificationParams, AttemptWeb3WalletVerificationParams, Attribute, AttributeData, AttributeDataJSON, Attributes, AttributesJSON, AuthConfigJSON, AuthConfigJSONSnapshot, AuthConfigResource, AuthenticateWithBaseParams, AuthenticateWithCoinbaseWalletParams, AuthenticateWithGoogleOneTapParams, AuthenticateWithMetamaskParams, AuthenticateWithOKXWalletParams, AuthenticateWithPasskeyParams, AuthenticateWithPopupParams, AuthenticateWithRedirectParams, AuthenticateWithSolanaParams, AuthenticateWithWeb3Params, Autocomplete, BackupCodeAttempt, BackupCodeFactor, BackupCodeJSON, BackupCodeResource, BackupCodeStrategy, BaseWeb3Provider, BillingCheckoutJSON, BillingCheckoutResource, BillingCheckoutTotals, BillingCheckoutTotalsJSON, BillingCreditBalanceJSON, BillingCreditBalanceResource, BillingCreditLedgerJSON, BillingCreditLedgerResource, BillingCredits, BillingCreditsJSON, BillingDiscounts, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingInitializedPaymentMethodResource, BillingMoneyAmount, BillingMoneyAmountJSON, BillingNamespace, BillingPayerCredit, BillingPayerCreditJSON, BillingPayerJSON, BillingPayerMethods, BillingPayerResource, BillingPayerResourceType, BillingPaymentChargeType, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentMethodResource, BillingPaymentMethodStatus, BillingPaymentResource, BillingPaymentStatus, BillingPaymentTotals, BillingPaymentTotalsJSON, BillingPerUnitTotal, BillingPerUnitTotalJSON, BillingPerUnitTotalTier, BillingPerUnitTotalTierJSON, BillingPeriodTotals, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanPrice, BillingPlanResource, BillingPlanUnitPrice, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTier, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetail, BillingProrationCreditDetailJSON, BillingProrationDiscount, BillingProrationDiscountJSON, BillingStatementGroup, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementResource, BillingStatementStatus, BillingStatementTotals, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPayment, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemResource, BillingSubscriptionItemSeats, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPayment, BillingSubscriptionNextPaymentJSON, BillingSubscriptionPlanPeriod, BillingSubscriptionResource, BillingSubscriptionStatus, BillingTotals, BillingTotalsJSON, BitbucketOauthProvider, BoxOauthProvider, BoxShadow, BrowserClerk, BrowserClerkConstructor, BuiltInColors, CamelToSnake, CancelSubscriptionParams, CaptchaProvider, CaptchaWidgetType, CardActionId, CheckAuthorization, CheckAuthorizationFn, CheckAuthorizationFromSessionClaims, CheckAuthorizationParamsFromSessionClaims, CheckAuthorizationParamsWithCustomPermissions, CheckAuthorizationWithCustomPermissions, CheckoutErrors, CheckoutFlowFinalizeParams, CheckoutFlowResource, CheckoutFlowResourceNonStrict, CheckoutSignal, CheckoutSignalValue, Clerk, ClerkAPIError, ClerkAPIErrorJSON, ClerkAPIResponseError, ClerkAppearanceTheme, ClerkAuthenticateWithWeb3Params, ClerkEventPayload, ClerkHostRouter, ClerkJWTClaims, ClerkOptions, ClerkOptionsNavigation, ClerkPaginatedResponse, ClerkPaginationParams, ClerkPaginationRequest, ClerkProp, ClerkResource, ClerkResourceJSON, ClerkResourceReloadParams, ClerkRuntimeError, ClerkStatus, ClerkThemeOptions, ClerkUI, ClerkUIConstructor, ClerkUIInstance, ClientJSON, ClientJSONSnapshot, ClientResource, ClientTrustState, CodeVerificationAttemptParam, CoinbaseOauthProvider, CoinbaseWalletWeb3Provider, Color, ColorString, CommerceSettingsJSON, CommerceSettingsJSONSnapshot, CommerceSettingsResource, ComplexityErrors, ComponentControls, ConfigureSSOProps, ConfirmCheckoutParams, CreateAPIKeyParams, CreateBulkOrganizationInvitationParams, CreateCheckoutParams, CreateEmailAddressParams, CreateEmailLinkFlowReturn, CreateEnterpriseSSOLinkFlowReturn, CreateExternalAccountParams, CreateMeEnterpriseConnectionParams, CreateOrganizationDomainParams, CreateOrganizationEnterpriseConnectionParams, CreateOrganizationInvitationParams, CreateOrganizationModalProps, CreateOrganizationParams, CreateOrganizationProps, CreatePhoneNumberParams, CreateWeb3WalletParams, CredentialReturn, CustomMenuItem, CustomNavigation, CustomOAuthStrategy, CustomOauthProvider, CustomPage, DecorateUrl, DeepCamelToSnake, DeepPartial, DeepRequired, DeepSnakeToCamel, DeletedObjectJSON, DeletedObjectResource, DevToolsResource, DiscordOauthProvider, DisplayConfigJSON, DisplayConfigJSONSnapshot, DisplayConfigResource, DisplayThemeJSON, DomainOrProxyUrl, DropboxOauthProvider, EmUnit, EmailAddressIdentifier, EmailAddressJSON, EmailAddressJSONSnapshot, EmailAddressOrPhoneNumberIdentifier, EmailAddressResource, EmailCodeAttempt, EmailCodeConfig, EmailCodeFactor, EmailCodeSecondFactorConfig, EmailCodeStrategy, EmailLinkConfig, EmailLinkFactor, EmailLinkStrategy, EnableEnvironmentSettingParams, EnstallOauthProvider, EnterpriseAccountConnectionJSON, EnterpriseAccountConnectionJSONSnapshot, EnterpriseAccountConnectionResource, EnterpriseAccountJSON, EnterpriseAccountJSONSnapshot, EnterpriseAccountResource, EnterpriseConnectionJSON, EnterpriseConnectionJSONSnapshot, EnterpriseConnectionResource, EnterpriseConnectionTestRunInitJSON, EnterpriseConnectionTestRunInitResource, EnterpriseConnectionTestRunJSON, EnterpriseConnectionTestRunJSONSnapshot, EnterpriseConnectionTestRunLogJSON, EnterpriseConnectionTestRunLogResource, EnterpriseConnectionTestRunOauthPayloadJSON, EnterpriseConnectionTestRunOauthPayloadResource, EnterpriseConnectionTestRunParsedUserInfoJSON, EnterpriseConnectionTestRunParsedUserInfoResource, EnterpriseConnectionTestRunResource, EnterpriseConnectionTestRunSamlPayloadJSON, EnterpriseConnectionTestRunSamlPayloadResource, EnterpriseConnectionTestRunStatus, EnterpriseConnectionTestRunsPaginatedJSON, EnterpriseOAuthConfigJSON, EnterpriseOAuthConfigResource, EnterpriseProtocol, EnterpriseProvider, EnterpriseSSOConfig, EnterpriseSSOFactor, EnterpriseSSOSettings, EnterpriseSSOStrategy, EnterpriseSamlConnectionNestedJSON, EnterpriseSamlConnectionNestedResource, EnvironmentJSON, EnvironmentJSONSnapshot, EnvironmentResource, Errors, EthereumWeb3Provider, ExternalAccountJSON, ExternalAccountJSONSnapshot, ExternalAccountResource, FacebookOauthProvider, FeatureJSON, FeatureResource, FieldError, FieldId, FirstNameAttribute, FontWeight, ForPayerType, ForceNull, GenerateSignature, GenerateSignatureParams, GetAPIKeysParams, GetCreditBalanceParams, GetCreditHistoryParams, GetDomainsParams, GetEnterpriseConnectionTestRunsParams, GetEnterpriseConnectionsParams, GetInvitationsParams, GetMembersParams, GetMembershipRequestParams, GetMemberships, GetOAuthConsentInfoParams, GetOrganizationMemberships, GetPaymentAttemptParams, GetPaymentAttemptsParams, GetPaymentMethodsParams, GetPlanParams, GetPlansParams, GetRolesParams, GetRolesResponse, GetStatementParams, GetStatementsParams, GetSubscriptionParams, GetToken, GetTokenOptions, GetUserOrganizationInvitationsParams, GetUserOrganizationMembershipParams, GetUserOrganizationSuggestionsParams, GithubOauthProvider, GitlabOauthProvider, GoogleOauthProvider, GoogleOneTapProps, GoogleOneTapStrategy, HandleEmailLinkVerificationParams, HandleOAuthCallbackParams, HandleSamlCallbackParams, HeadlessBrowserClerk, HeadlessBrowserClerkConstructor, HexColor, HexColorString, HslaColor, HslaColorString, HubspotOauthProvider, HuggingfaceOAuthProvider, IdentificationLinkJSON, IdentificationLinkJSONSnapshot, IdentificationLinkResource, ImageJSON, ImageResource, InitialState, InitializePaymentMethodParams, InstagramOauthProvider, InstanceType, InternalClerkScriptProps, InviteMemberParams, InviteMembersParams, IsomorphicClerkOptions, JWT, JWTClaims, JWTHeader, JoinWaitlistParams, Jwt, JwtHeader, JwtPayload, LastAuthenticationStrategy, LastNameAttribute, LegalAcceptedAttribute, LineOauthProvider, LinearOauthProvider, LinkedinOIDCOauthProvider, LinkedinOauthProvider, ListenerCallback, ListenerOptions, LoadedClerk, LocalizationResource, LocalizationValue, MakeDefaultPaymentMethodParams, MeEnterpriseConnectionOidcInput, MeEnterpriseConnectionProvider, MeEnterpriseConnectionSamlInput, MenuId, MetamaskWeb3Provider, MicrosoftOauthProvider, MultiDomainAndOrProxy, MultiDomainAndOrProxyPrimitives, NavigateOptions, NewSubscriptionRedirectUrl, NotionOauthProvider, Nullable, NullableSignInSignal, NullableSignUpSignal, NullableWaitlistSignal, OAUTH_PROVIDERS, OAuthApplicationNamespace, OAuthConfig, OAuthConsentInfo, OAuthConsentInfoJSON, OAuthConsentProps, OAuthConsentScope, OAuthConsentScopeJSON, OAuthProvider, OAuthProviderData, OAuthProviderSettings, OAuthProviders, OAuthScope, OAuthStrategy, OAuthTransport, OKXWalletWeb3Provider, OauthFactor, OffEventListener, OnEventListener, OrganizationCreationAdvisorySeverity, OrganizationCreationAdvisoryType, OrganizationCreationDefaultsJSON, OrganizationCreationDefaultsJSONSnapshot, OrganizationCreationDefaultsResource, OrganizationCustomPermissionKey, OrganizationCustomRoleKey, OrganizationDomainBulkOwnershipVerificationError, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerification, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainOwnershipVerificationStatus, OrganizationDomainOwnershipVerificationStrategy, OrganizationDomainResource, OrganizationDomainVerification, OrganizationDomainVerificationJSON, OrganizationDomainVerificationStatus, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationDomainsBulkOwnershipVerificationResource, OrganizationEnrollmentMode, OrganizationEnterpriseConnectionOidcInput, OrganizationEnterpriseConnectionProvider, OrganizationEnterpriseConnectionSamlInput, OrganizationInvitationJSON, OrganizationInvitationResource, OrganizationInvitationStatus, OrganizationJSON, OrganizationJSONSnapshot, OrganizationListProps, OrganizationMembershipJSON, OrganizationMembershipJSONSnapshot, OrganizationMembershipRequestJSON, OrganizationMembershipRequestResource, OrganizationMembershipResource, OrganizationPermissionKey, OrganizationPreviewId, OrganizationProfileModalProps, OrganizationProfileProps, OrganizationResource, OrganizationSettingsJSON, OrganizationSettingsJSONSnapshot, OrganizationSettingsResource, OrganizationSuggestionJSON, OrganizationSuggestionResource, OrganizationSuggestionStatus, OrganizationSwitcherProps, OrganizationSystemPermissionKey, OrganizationSystemPermissionPrefix, OrganizationsJWTClaim, Override, PartialWithClerkResource, PassKeyConfig, PasskeyAttempt, PasskeyFactor, PasskeyJSON, PasskeyJSONSnapshot, PasskeyResource, PasskeySettingsData, PasskeyStrategy, PasskeyVerificationResource, PasswordAttempt, PasswordAttribute, PasswordFactor, PasswordSettingsData, PasswordStrategy, PasswordStrength, PasswordValidation, PathValue, PaymentGateway, PendingSessionOptions, PendingSessionResource, PermissionJSON, PermissionResource, PhoneCodeAttempt, PhoneCodeChannel, PhoneCodeChannelData, PhoneCodeConfig, PhoneCodeFactor, PhoneCodeProvider, PhoneCodeSMSChannel, PhoneCodeSecondFactorConfig, PhoneCodeStrategy, PhoneCodeWhatsAppChannel, PhoneNumberIdentifier, PhoneNumberJSON, PhoneNumberJSONSnapshot, PhoneNumberResource, PhoneNumberVerificationStrategy, PreferredSignInStrategy, PrepareAffiliationVerificationParams, PrepareEmailAddressVerificationParams, PrepareFirstFactorParams, PreparePhoneNumberVerificationParams, PrepareSecondFactorParams, PrepareVerificationParams, PrepareWeb3WalletVerificationParams, PricingTableProps, ProfilePageId, ProfileSectionId, ProtectConfigJSON, ProtectConfigJSONSnapshot, ProtectConfigResource, ProtectLoader, ProtectParams, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialCreationOptionsWithoutExtensions, PublicKeyCredentialRequestOptionsJSON, PublicKeyCredentialRequestOptionsWithoutExtensions, PublicKeyCredentialWithAuthenticatorAssertionResponse, PublicKeyCredentialWithAuthenticatorAttestationResponse, PublicOrganizationDataJSON, PublicUserData, PublicUserDataJSON, PublicUserDataJSONSnapshot, PublishableKey, ReauthorizeExternalAccountParams, RecordToPath, RedirectOptions, RedirectUrlProp, RemoveFunctions, RemovePaymentMethodParams, RemoveUserPasswordParams, ResetPasswordCodeFactor, ResetPasswordEmailCodeAttempt, ResetPasswordEmailCodeFactor, ResetPasswordEmailCodeFactorConfig, ResetPasswordEmailCodeStrategy, ResetPasswordParams, ResetPasswordPhoneCodeAttempt, ResetPasswordPhoneCodeFactor, ResetPasswordPhoneCodeFactorConfig, ResetPasswordPhoneCodeStrategy, Resources, ReverificationConfig, RevokeAPIKeyParams, RgbaColor, RgbaColorString, RoleJSON, RoleResource, RoutingMode, RoutingOptions, RoutingStrategy, SAML_IDPS, SDKMetadata, SamlIdp, SamlIdpMap, SamlIdpSlug, SelectId, Serializable, ServerGetToken, ServerGetTokenOptions, SessionActivity, SessionActivityJSON, SessionJSON, SessionJSONSnapshot, SessionResource, SessionStatus, SessionStatusClaim, SessionTask, SessionTouchIntent, SessionTouchParams, SessionVerificationAfterMinutes, SessionVerificationFirstFactor, SessionVerificationJSON, SessionVerificationLevel, SessionVerificationResource, SessionVerificationSecondFactor, SessionVerificationStatus, SessionVerificationTypes, SessionVerifyAttemptFirstFactorParams, SessionVerifyAttemptSecondFactorParams, SessionVerifyCreateParams, SessionVerifyPrepareFirstFactorParams, SessionVerifyPrepareSecondFactorParams, SessionWithActivitiesJSON, SessionWithActivitiesResource, SetActive, SetActiveNavigate, SetActiveParams, SetOrganizationLogoParams, SetProfileImageParams, SetReservedForSecondFactorParams, SharedSignedInAuthObjectProperties, ShowProps, ShowWhenCondition, SignInAuthenticateWithSolanaParams, SignInButtonProps, SignInCreateParams, SignInData, SignInErrors, SignInFactor, SignInFallbackRedirectUrl, SignInFields, SignInFirstFactor, SignInFirstFactorJSON, SignInForceRedirectUrl, SignInFutureBackupCodeVerifyParams, SignInFutureCreateParams, SignInFutureEmailCodeSendParams, SignInFutureEmailCodeVerifyParams, SignInFutureEmailLinkSendParams, SignInFutureFinalizeParams, SignInFutureMFAEmailCodeVerifyParams, SignInFutureMFAPhoneCodeVerifyParams, SignInFuturePasskeyParams, SignInFuturePasswordParams, SignInFuturePhoneCodeSendParams, SignInFuturePhoneCodeVerifyParams, SignInFutureResetPasswordPhoneCodeSendParams, SignInFutureResetPasswordPhoneCodeVerifyParams, SignInFutureResetPasswordSubmitParams, SignInFutureResource, SignInFutureSSOParams, SignInFutureTOTPVerifyParams, SignInFutureTicketParams, SignInFutureWeb3Params, SignInIdentifier, SignInInitialValues, SignInJSON, SignInJSONSnapshot, SignInModalProps, SignInProps, SignInRedirectOptions, SignInResource, SignInSecondFactor, SignInSecondFactorJSON, SignInSignal, SignInSignalValue, SignInStartEmailLinkFlowParams, SignInStatus, SignInStrategy, SignOut, SignOutCallback, SignOutOptions, SignUpAttributeField, SignUpAuthenticateWithMetamaskParams, SignUpAuthenticateWithSolanaParams, SignUpAuthenticateWithWeb3Params, SignUpButtonProps, SignUpCreateParams, SignUpData, SignUpEnterpriseConnectionJSON, SignUpEnterpriseConnectionResource, SignUpErrors, SignUpFallbackRedirectUrl, SignUpField, SignUpFields, SignUpForceRedirectUrl, SignUpFutureAdditionalParams, SignUpFutureCreateParams, SignUpFutureEmailCodeVerifyParams, SignUpFutureEmailLinkSendParams, SignUpFutureFinalizeParams, SignUpFuturePasswordParams, SignUpFuturePhoneCodeSendParams, SignUpFuturePhoneCodeVerifyParams, SignUpFutureResource, SignUpFutureSSOParams, SignUpFutureTicketParams, SignUpFutureUpdateParams, SignUpFutureVerifications, SignUpFutureWeb3Params, SignUpIdentificationField, SignUpInitialValues, SignUpJSON, SignUpJSONSnapshot, SignUpModalProps, SignUpModes, SignUpProps, SignUpRedirectOptions, SignUpResource, SignUpSignal, SignUpSignalValue, SignUpStatus, SignUpUpdateParams, SignUpVerifiableField, SignUpVerificationJSON, SignUpVerificationJSONSnapshot, SignUpVerificationResource, SignUpVerificationsJSON, SignUpVerificationsJSONSnapshot, SignUpVerificationsResource, SignatureVerificationAttemptParam, SignedInSessionResource, Simplify, SlackOauthProvider, SnakeToCamel, SolanaWeb3Provider, SpotifyOauthProvider, StartEmailLinkFlowParams, StartEnterpriseSSOLinkFlowParams, State, TOTPAttempt, TOTPFactor, TOTPJSON, TOTPResource, TOTPStrategy, TaskChooseOrganizationProps, TaskResetPasswordProps, TaskSetupMFAProps, TasksRedirectOptions, TelemetryCollector, TelemetryEvent, TelemetryEventRaw, TelemetryLogEntry, TicketStrategy, TiktokOauthProvider, TokenJSON, TokenJSONSnapshot, TokenResource, TransferableOption, TransparentColor, TwitchOauthProvider, TwitterOauthProvider, UIVersion, UnsubscribeCallback, UpdateEnrollmentModeParams, UpdateMeEnterpriseConnectionParams, UpdateMembershipParams, UpdateOrganizationEnterpriseConnectionParams, UpdateOrganizationMembershipParams, UpdateOrganizationParams, UpdatePasskeyParams, UpdateUserMetadataParams, UpdateUserParams, UpdateUserPasswordParams, UseAuthReturn, UseSessionListReturn, UseSessionReturn, UseSignInReturn, UseSignUpReturn, UseUserReturn, UserAvatarProps, UserButtonProps, UserData, UserDataJSON, UserDataJSONSnapshot, UserJSON, UserJSONSnapshot, UserOrganizationInvitationJSON, UserOrganizationInvitationResource, UserPreviewId, UserProfileModalProps, UserProfileProps, UserResource, UserSettingsJSON, UserSettingsJSONSnapshot, UserSettingsResource, UsernameIdentifier, UsernameSettingsData, ValidatePasswordCallbacks, VercelOauthProvider, VerificationAttemptParams, VerificationJSON, VerificationJSONSnapshot, VerificationResource, VerificationStatus, VerificationStrategy, VerifyTOTPParams, VersionedJwtPayload, WEB3_PROVIDERS, WaitlistErrors, WaitlistFields, WaitlistJSON, WaitlistModalProps, WaitlistProps, WaitlistResource, WaitlistSignal, WaitlistSignalValue, Web3Attempt, Web3Provider, Web3ProviderData, Web3SignatureConfig, Web3SignatureFactor, Web3Strategy, Web3WalletIdentifier, Web3WalletJSON, Web3WalletJSONSnapshot, Web3WalletResource, WithOptionalOrgType, Without, WithoutRouting, XOauthProvider, XeroOauthProvider, ZxcvbnResult, __experimental_CheckoutButtonProps, __experimental_CheckoutCacheState, __experimental_CheckoutOptions, __experimental_PlanDetailsButtonProps, __experimental_SubscriptionDetailsButtonProps, __internal_AttemptToEnableEnvironmentSettingParams, __internal_AttemptToEnableEnvironmentSettingResult, __internal_CheckoutProps, __internal_EnableOrganizationsPromptProps, __internal_LocalizationResource, __internal_OAuthConsentProps, __internal_PlanDetailsProps, __internal_SubscriptionDetailsProps, __internal_UserVerificationModalProps, __internal_UserVerificationProps, getOAuthProviderData, getWeb3ProviderData, sortedOAuthProviders };
|
package/dist/types/json.d.mts
CHANGED
|
@@ -820,6 +820,24 @@ interface BillingSubscriptionJSON extends ClerkResourceJSON {
|
|
|
820
820
|
subscription_items: BillingSubscriptionItemJSON[] | null;
|
|
821
821
|
eligible_for_free_trial: boolean;
|
|
822
822
|
}
|
|
823
|
+
/**
|
|
824
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
825
|
+
*/
|
|
826
|
+
interface BillingCreditBalanceJSON {
|
|
827
|
+
object: 'commerce_credit_balance';
|
|
828
|
+
balance: BillingMoneyAmountJSON | null;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
832
|
+
*/
|
|
833
|
+
interface BillingCreditLedgerJSON {
|
|
834
|
+
object: 'commerce_credit_ledger';
|
|
835
|
+
id: string;
|
|
836
|
+
amount: BillingMoneyAmountJSON;
|
|
837
|
+
source_type: string;
|
|
838
|
+
source_id: string;
|
|
839
|
+
created_at: number;
|
|
840
|
+
}
|
|
823
841
|
/**
|
|
824
842
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
825
843
|
*/
|
|
@@ -1010,4 +1028,4 @@ interface ApiKeyJSON extends ClerkResourceJSON {
|
|
|
1010
1028
|
updated_at: number;
|
|
1011
1029
|
}
|
|
1012
1030
|
//#endregion
|
|
1013
|
-
export { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON };
|
|
1031
|
+
export { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditBalanceJSON, BillingCreditLedgerJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON };
|
package/dist/types/json.d.ts
CHANGED
|
@@ -820,6 +820,24 @@ interface BillingSubscriptionJSON extends ClerkResourceJSON {
|
|
|
820
820
|
subscription_items: BillingSubscriptionItemJSON[] | null;
|
|
821
821
|
eligible_for_free_trial: boolean;
|
|
822
822
|
}
|
|
823
|
+
/**
|
|
824
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
825
|
+
*/
|
|
826
|
+
interface BillingCreditBalanceJSON {
|
|
827
|
+
object: 'commerce_credit_balance';
|
|
828
|
+
balance: BillingMoneyAmountJSON | null;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
832
|
+
*/
|
|
833
|
+
interface BillingCreditLedgerJSON {
|
|
834
|
+
object: 'commerce_credit_ledger';
|
|
835
|
+
id: string;
|
|
836
|
+
amount: BillingMoneyAmountJSON;
|
|
837
|
+
source_type: string;
|
|
838
|
+
source_id: string;
|
|
839
|
+
created_at: number;
|
|
840
|
+
}
|
|
823
841
|
/**
|
|
824
842
|
* @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version and the clerk-js version to avoid breaking changes.
|
|
825
843
|
*/
|
|
@@ -1010,4 +1028,4 @@ interface ApiKeyJSON extends ClerkResourceJSON {
|
|
|
1010
1028
|
updated_at: number;
|
|
1011
1029
|
}
|
|
1012
1030
|
//#endregion
|
|
1013
|
-
export { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON };
|
|
1031
|
+
export { ApiKeyJSON, AuthConfigJSON, BackupCodeJSON, BillingCheckoutJSON, BillingCheckoutTotalsJSON, BillingCreditBalanceJSON, BillingCreditLedgerJSON, BillingCreditsJSON, BillingDiscountsJSON, BillingInitializedPaymentMethodJSON, BillingMoneyAmountJSON, BillingPayerCreditJSON, BillingPayerJSON, BillingPaymentJSON, BillingPaymentMethodJSON, BillingPaymentTotalsJSON, BillingPerUnitTotalJSON, BillingPerUnitTotalTierJSON, BillingPeriodTotalsJSON, BillingPlanJSON, BillingPlanUnitPriceJSON, BillingPlanUnitPriceTierJSON, BillingPriceJSON, BillingProrationCreditDetailJSON, BillingProrationDiscountJSON, BillingStatementGroupJSON, BillingStatementJSON, BillingStatementTotalsJSON, BillingSubscriptionItemJSON, BillingSubscriptionItemNextPaymentJSON, BillingSubscriptionItemSeatsJSON, BillingSubscriptionJSON, BillingSubscriptionNextPaymentJSON, BillingTotalsJSON, ClerkResourceJSON, ClientJSON, ClientTrustState, DeletedObjectJSON, DisplayThemeJSON, EmailAddressJSON, EnterpriseAccountConnectionJSON, EnterpriseAccountJSON, EnvironmentJSON, ExternalAccountJSON, FeatureJSON, IdentificationLinkJSON, ImageJSON, LastAuthenticationStrategy, OrganizationDomainBulkOwnershipVerificationErrorJSON, OrganizationDomainJSON, OrganizationDomainOwnershipVerificationJSON, OrganizationDomainVerificationJSON, OrganizationDomainsBulkOwnershipVerificationJSON, OrganizationInvitationJSON, OrganizationJSON, OrganizationMembershipJSON, OrganizationMembershipRequestJSON, OrganizationSuggestionJSON, PartialWithClerkResource, PasskeyJSON, PermissionJSON, PhoneNumberJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, PublicOrganizationDataJSON, PublicUserDataJSON, RoleJSON, SessionActivityJSON, SessionJSON, SessionVerificationJSON, SessionWithActivitiesJSON, SignInFirstFactorJSON, SignInSecondFactorJSON, SignUpEnterpriseConnectionJSON, SignUpJSON, SignUpVerificationJSON, SignUpVerificationsJSON, TOTPJSON, TokenJSON, UserDataJSON, UserJSON, UserOrganizationInvitationJSON, VerificationJSON, WaitlistJSON, Web3WalletJSON };
|
|
@@ -922,6 +922,15 @@ type __internal_LocalizationResource = {
|
|
|
922
922
|
};
|
|
923
923
|
billingPage: {
|
|
924
924
|
title: LocalizationValue;
|
|
925
|
+
accountCreditsSection: {
|
|
926
|
+
title: LocalizationValue;
|
|
927
|
+
viewHistory: LocalizationValue;
|
|
928
|
+
};
|
|
929
|
+
creditHistoryPage: {
|
|
930
|
+
title: LocalizationValue;
|
|
931
|
+
tableHeader__amount: LocalizationValue;
|
|
932
|
+
tableHeader__date: LocalizationValue;
|
|
933
|
+
};
|
|
925
934
|
start: {
|
|
926
935
|
headerTitle__payments: LocalizationValue;
|
|
927
936
|
headerTitle__plans: LocalizationValue;
|
|
@@ -1195,6 +1204,15 @@ type __internal_LocalizationResource = {
|
|
|
1195
1204
|
};
|
|
1196
1205
|
billingPage: {
|
|
1197
1206
|
title: LocalizationValue;
|
|
1207
|
+
accountCreditsSection: {
|
|
1208
|
+
title: LocalizationValue;
|
|
1209
|
+
viewHistory: LocalizationValue;
|
|
1210
|
+
};
|
|
1211
|
+
creditHistoryPage: {
|
|
1212
|
+
title: LocalizationValue;
|
|
1213
|
+
tableHeader__amount: LocalizationValue;
|
|
1214
|
+
tableHeader__date: LocalizationValue;
|
|
1215
|
+
};
|
|
1198
1216
|
start: {
|
|
1199
1217
|
headerTitle__payments: LocalizationValue;
|
|
1200
1218
|
headerTitle__plans: LocalizationValue;
|
|
@@ -922,6 +922,15 @@ type __internal_LocalizationResource = {
|
|
|
922
922
|
};
|
|
923
923
|
billingPage: {
|
|
924
924
|
title: LocalizationValue;
|
|
925
|
+
accountCreditsSection: {
|
|
926
|
+
title: LocalizationValue;
|
|
927
|
+
viewHistory: LocalizationValue;
|
|
928
|
+
};
|
|
929
|
+
creditHistoryPage: {
|
|
930
|
+
title: LocalizationValue;
|
|
931
|
+
tableHeader__amount: LocalizationValue;
|
|
932
|
+
tableHeader__date: LocalizationValue;
|
|
933
|
+
};
|
|
925
934
|
start: {
|
|
926
935
|
headerTitle__payments: LocalizationValue;
|
|
927
936
|
headerTitle__plans: LocalizationValue;
|
|
@@ -1195,6 +1204,15 @@ type __internal_LocalizationResource = {
|
|
|
1195
1204
|
};
|
|
1196
1205
|
billingPage: {
|
|
1197
1206
|
title: LocalizationValue;
|
|
1207
|
+
accountCreditsSection: {
|
|
1208
|
+
title: LocalizationValue;
|
|
1209
|
+
viewHistory: LocalizationValue;
|
|
1210
|
+
};
|
|
1211
|
+
creditHistoryPage: {
|
|
1212
|
+
title: LocalizationValue;
|
|
1213
|
+
tableHeader__amount: LocalizationValue;
|
|
1214
|
+
tableHeader__date: LocalizationValue;
|
|
1215
|
+
};
|
|
1198
1216
|
start: {
|
|
1199
1217
|
headerTitle__payments: LocalizationValue;
|
|
1200
1218
|
headerTitle__plans: LocalizationValue;
|
package/dist/versionSelector.js
CHANGED
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
12
12
|
* @param packageVersion - The version of `@clerk/clerk-js` that will be used if an explicit version is not provided
|
|
13
13
|
* @returns The npm tag, version or major version to use
|
|
14
14
|
*/
|
|
15
|
-
const versionSelector = (clerkJSVersion, packageVersion = "6.
|
|
15
|
+
const versionSelector = (clerkJSVersion, packageVersion = "6.23.0") => {
|
|
16
16
|
if (clerkJSVersion) return clerkJSVersion;
|
|
17
17
|
const prereleaseTag = getPrereleaseTag(packageVersion);
|
|
18
18
|
if (prereleaseTag) {
|