@frontegg/redux-store 5.24.0 → 5.25.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/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AcceptInvitationStep, ActivateAccountStep, ApiStateKeys, ForgotPasswordStep, LoginStep, MFAStep, ResetPhoneNumberStep, SSOStateKeys, SamlVendors, SignUpStage, TeamStateKeys, acceptInvitationActions, acceptInvitationReducers, acceptInvitationState, accountSettingsActions, accountSettingsReducers, accountSettingsState, activateAccountActions, activateAccountReducers, activateState, apiTokensActions, apiTokensReducers, apiTokensState, default as auth, authActions, authInitialState, authMockSagas, authReducers, authSagas, forgotPasswordActions, forgotPasswordReducers, forgotPasswordState, loginActions, loginReducers, loginState, mfaActions, mfaReducers, mfaState, profileActions, profileReducers, profileState, resetPhoneNumberActions, resetPhoneNumberReducers, resetPhoneNumberState, rolesActions, rolesReducers, rolesState, securityPolicyActions, securityPolicyReducers, securityPolicyState, signUpActions, signUpReducers, signUpState, socialLoginState, socialLoginsActions, socialLoginsReducer, ssoActions, ssoReducers, ssoState, teamActions, teamReducers, teamState, tenantsActions, tenantsReducers, tenantsState } from './auth/index.js';
|
|
2
2
|
export { auditLogsActions, auditLogsReducers, auditLogsState, default as audits, auditsActions, auditsInitialState, auditsMetadataActions, auditsMetadataReducers, auditsMetadataState, auditsMockSagas, auditsReducers, auditsSagas } from './audits/index.js';
|
|
3
3
|
export { default as connectivity, connectivityActions, connectivityInitialState, connectivityReducers, connectivitySagas } from './connectivity/index.js';
|
|
4
|
-
export { CheckoutEvent, CheckoutStatus,
|
|
4
|
+
export { CheckoutEvent, CheckoutStatus, PaymentMethodType, PaymentProvider, SubscriptionCancellationPolicy, SubscriptionStatus, subscriptionActions, subscriptionInitialState, subscriptionReducers, subscriptionSagas, subscriptionSagasMock, default as subscriptions } from './subscriptions/index.js';
|
|
5
5
|
export { default as vendor } from './vendor/index.js';
|
|
6
6
|
export { createFronteggStore } from './toolkit/index.js';
|
|
7
7
|
export { AuthStrategyEnum } from '@frontegg/rest-api';
|
package/node/index.js
CHANGED
|
@@ -173,12 +173,6 @@ Object.defineProperty(exports, 'CheckoutStatus', {
|
|
|
173
173
|
return subscriptions_index.CheckoutStatus;
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
|
-
Object.defineProperty(exports, 'ManagedSubscriptionStatus', {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function () {
|
|
179
|
-
return subscriptions_index.ManagedSubscriptionStatus;
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
176
|
Object.defineProperty(exports, 'PaymentMethodType', {
|
|
183
177
|
enumerable: true,
|
|
184
178
|
get: function () {
|
|
@@ -808,15 +808,6 @@ exports.PaymentMethodType = void 0;
|
|
|
808
808
|
PaymentMethodType["CARD"] = "card";
|
|
809
809
|
})(exports.PaymentMethodType || (exports.PaymentMethodType = {}));
|
|
810
810
|
|
|
811
|
-
exports.ManagedSubscriptionStatus = void 0;
|
|
812
|
-
(function (ManagedSubscriptionStatus) {
|
|
813
|
-
ManagedSubscriptionStatus["ACTIVE"] = "ACTIVE";
|
|
814
|
-
ManagedSubscriptionStatus["CANCELED"] = "CANCELED";
|
|
815
|
-
ManagedSubscriptionStatus["INCOMPLETE"] = "INCOMPLETE";
|
|
816
|
-
ManagedSubscriptionStatus["EXPIRED"] = "EXPIRED";
|
|
817
|
-
ManagedSubscriptionStatus["TRIALING"] = "TRIALING";
|
|
818
|
-
})(exports.ManagedSubscriptionStatus || (exports.ManagedSubscriptionStatus = {}));
|
|
819
|
-
|
|
820
811
|
function* configSagas() {
|
|
821
812
|
yield effects.takeEvery(actions$7.loadPaymentConfiguration, loadPaymentConfiguration);
|
|
822
813
|
}
|
package/package.json
CHANGED
|
@@ -1,27 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare enum ManagedSubscriptionStatus {
|
|
3
|
-
ACTIVE = "ACTIVE",
|
|
4
|
-
CANCELED = "CANCELED",
|
|
5
|
-
INCOMPLETE = "INCOMPLETE",
|
|
6
|
-
EXPIRED = "EXPIRED",
|
|
7
|
-
TRIALING = "TRIALING"
|
|
8
|
-
}
|
|
9
|
-
export interface ManagedSubscription {
|
|
10
|
-
id: string;
|
|
11
|
-
externalId: string;
|
|
12
|
-
startDate: Date;
|
|
13
|
-
currentPeriodStart: Date;
|
|
14
|
-
currentPeriodEnd: Date;
|
|
15
|
-
status: ManagedSubscriptionStatus;
|
|
16
|
-
cancellation: SubscriptionCancellation | null;
|
|
17
|
-
items: SubscriptionItem[];
|
|
18
|
-
trialEnd?: Date;
|
|
19
|
-
}
|
|
1
|
+
import { ISubscriptionResponse } from '@frontegg/rest-api';
|
|
20
2
|
export interface ManagedSubscriptionsState {
|
|
21
3
|
loading: boolean;
|
|
22
4
|
error: string | null;
|
|
23
5
|
fetching: boolean;
|
|
24
|
-
managedSubscriptions:
|
|
6
|
+
managedSubscriptions: ISubscriptionResponse[];
|
|
25
7
|
}
|
|
26
8
|
export interface ManagedSubscriptionsActions {
|
|
27
9
|
loadManagedSubscriptions: () => void;
|
package/subscriptions/index.js
CHANGED
|
@@ -805,15 +805,6 @@ var PaymentMethodType;
|
|
|
805
805
|
PaymentMethodType["CARD"] = "card";
|
|
806
806
|
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
807
807
|
|
|
808
|
-
var ManagedSubscriptionStatus;
|
|
809
|
-
(function (ManagedSubscriptionStatus) {
|
|
810
|
-
ManagedSubscriptionStatus["ACTIVE"] = "ACTIVE";
|
|
811
|
-
ManagedSubscriptionStatus["CANCELED"] = "CANCELED";
|
|
812
|
-
ManagedSubscriptionStatus["INCOMPLETE"] = "INCOMPLETE";
|
|
813
|
-
ManagedSubscriptionStatus["EXPIRED"] = "EXPIRED";
|
|
814
|
-
ManagedSubscriptionStatus["TRIALING"] = "TRIALING";
|
|
815
|
-
})(ManagedSubscriptionStatus || (ManagedSubscriptionStatus = {}));
|
|
816
|
-
|
|
817
808
|
function* configSagas() {
|
|
818
809
|
yield takeEvery(actions$7.loadPaymentConfiguration, loadPaymentConfiguration);
|
|
819
810
|
}
|
|
@@ -928,4 +919,4 @@ var subscriptionsStore = {
|
|
|
928
919
|
storeName: subscriptionsStoreName,
|
|
929
920
|
};
|
|
930
921
|
|
|
931
|
-
export { CheckoutEvent, CheckoutStatus,
|
|
922
|
+
export { CheckoutEvent, CheckoutStatus, PaymentMethodType, PaymentProvider, SubscriptionCancellationPolicy, SubscriptionStatus, subscriptionsStore as default, actions as subscriptionActions, initialState as subscriptionInitialState, reducer as subscriptionReducers, sagas as subscriptionSagas, mockSagas as subscriptionSagasMock };
|