@techstuff-dev/foundation-api-utils 1.50.0 → 1.50.2
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/cjs/chunks/{shared-C7VXez72.js → shared-xQBEY4BX.js} +2 -2
- package/dist/cjs/chunks/{shared-C7VXez72.js.map → shared-xQBEY4BX.js.map} +1 -1
- package/dist/cjs/chunks/{slice-DbSCDBSE.js → slice-Cy4kZKn1.js} +127 -11
- package/dist/cjs/chunks/slice-Cy4kZKn1.js.map +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/store/index.native.js +2 -2
- package/dist/cjs/store/index.web.js +2 -2
- package/dist/esm/chunks/{shared-DA5G5YG-.js → shared-ykPFVPQ6.js} +2 -2
- package/dist/esm/chunks/{shared-DA5G5YG-.js.map → shared-ykPFVPQ6.js.map} +1 -1
- package/dist/esm/chunks/{slice-BL46K1jn.js → slice-qwy3bNV7.js} +127 -11
- package/dist/esm/chunks/slice-qwy3bNV7.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/store/index.native.js +2 -2
- package/dist/esm/store/index.web.js +2 -2
- package/dist/types/hooks/index.d.ts +1 -1
- package/dist/types/{index-UQCqBQLx.d.ts → index-CS4llMqY.d.ts} +8 -8
- package/dist/types/index.d.ts +3 -3
- package/dist/types/store/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/chunks/slice-DbSCDBSE.js.map +0 -1
- package/dist/esm/chunks/slice-BL46K1jn.js.map +0 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { x as addToCart, af as applyCoupon, ag as applyTax, a as authApi, r as cartSlice, c as contentApi, A as emptyCart, $ as formatAuthSession, Z as formatChallengeDays, Y as formatChallenges, a2 as formatConfig, Q as formatFaqs, a0 as formatFedaratedSession, U as formatGuests, a8 as formatLongform, a9 as formatMediaItem, R as formatPages, T as formatPress, N as formatPromos, X as formatSchedule, a7 as formatSeasons, _ as formatSecondsToISO8601Duration, a4 as formatSectionItems, a3 as formatSectionPanels, W as formatSections, a6 as formatSeries, S as formatSettings, P as formatShortform, a1 as formatSocialAuthSession, a5 as formatTaxonomies, M as formatUserPayload, V as formatVideos, O as formatWorkout, ac as getPlatform, ab as isReactNative, aa as isWeb, ae as onlyUnique, o as ordersApi, p as paymentApi, z as removeFromCart, w as removePromoCode, t as resetTaxRate, ad as runOnPlatform, H as selectCartCount, K as selectCartItems, L as selectCartItemsIds, E as selectCartNetTotal, I as selectCartStatus, G as selectCartTaxAmount, F as selectCartTaxRate, D as selectCartTotal, C as selectMediaInCart, J as selectPromoCode, v as setPromoCode, s as setTaxRate, ah as toCamelCaseObject, B as toggleCart, y as updateCart, j as useForgottenPasswordMutation, g as useGetUserInfoQuery, h as useLazyGetUserInfoQuery, l as useLazyVerifyUserAttributesQuery, f as useLazyVerifyUserQuery, n as useLazyVerifyUserResendQuery, d as useRegisterMutation, b as useResetPasswordAuthMutation, u as useResetPasswordMutation, i as useUpdateUserInfoMutation, q as useUpdateUserMutation, k as useVerifyUserAttributesQuery, e as useVerifyUserQuery, m as useVerifyUserResendQuery } from './chunks/slice-
|
|
1
|
+
export { x as addToCart, af as applyCoupon, ag as applyTax, a as authApi, r as cartSlice, c as contentApi, A as emptyCart, $ as formatAuthSession, Z as formatChallengeDays, Y as formatChallenges, a2 as formatConfig, Q as formatFaqs, a0 as formatFedaratedSession, U as formatGuests, a8 as formatLongform, a9 as formatMediaItem, R as formatPages, T as formatPress, N as formatPromos, X as formatSchedule, a7 as formatSeasons, _ as formatSecondsToISO8601Duration, a4 as formatSectionItems, a3 as formatSectionPanels, W as formatSections, a6 as formatSeries, S as formatSettings, P as formatShortform, a1 as formatSocialAuthSession, a5 as formatTaxonomies, M as formatUserPayload, V as formatVideos, O as formatWorkout, ac as getPlatform, ab as isReactNative, aa as isWeb, ae as onlyUnique, o as ordersApi, p as paymentApi, z as removeFromCart, w as removePromoCode, t as resetTaxRate, ad as runOnPlatform, H as selectCartCount, K as selectCartItems, L as selectCartItemsIds, E as selectCartNetTotal, I as selectCartStatus, G as selectCartTaxAmount, F as selectCartTaxRate, D as selectCartTotal, C as selectMediaInCart, J as selectPromoCode, v as setPromoCode, s as setTaxRate, ah as toCamelCaseObject, B as toggleCart, y as updateCart, j as useForgottenPasswordMutation, g as useGetUserInfoQuery, h as useLazyGetUserInfoQuery, l as useLazyVerifyUserAttributesQuery, f as useLazyVerifyUserQuery, n as useLazyVerifyUserResendQuery, d as useRegisterMutation, b as useResetPasswordAuthMutation, u as useResetPasswordMutation, i as useUpdateUserInfoMutation, q as useUpdateUserMutation, k as useVerifyUserAttributesQuery, e as useVerifyUserQuery, m as useVerifyUserResendQuery } from './chunks/slice-qwy3bNV7.js';
|
|
2
2
|
export { a as authSlice, g as getUserSession, i as isAuthenticated, e as isVerifying, l as logout, r as resetCreating, b as selectAccessToken, d as selectCurrentUser, h as selectCurrentUserRefreshToken, f as selectCurrentUserSub, c as selectRefreshToken, m as selectSubscription, n as selectSubscriptionPrice, k as selectUserSubscriptionStatus, j as selectUserTokens, s as setCredentials, u as updateSubscription } from './chunks/slice-ChJ8ZvmP.js';
|
|
3
3
|
export { u as useLoggedIn } from './chunks/useAuth-8d6DlERn.js';
|
|
4
4
|
import 'aws-amplify';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { configureStore } from '@reduxjs/toolkit';
|
|
2
2
|
import { Platform } from 'react-native';
|
|
3
|
-
import { g as getDefaultExportFromCjs, r as rootReducer } from '../chunks/shared-
|
|
4
|
-
import { p as paymentApi, a as authApi, c as contentApi, o as ordersApi } from '../chunks/slice-
|
|
3
|
+
import { g as getDefaultExportFromCjs, r as rootReducer } from '../chunks/shared-ykPFVPQ6.js';
|
|
4
|
+
import { p as paymentApi, a as authApi, c as contentApi, o as ordersApi } from '../chunks/slice-qwy3bNV7.js';
|
|
5
5
|
import '../chunks/slice-ChJ8ZvmP.js';
|
|
6
6
|
import 'aws-amplify';
|
|
7
7
|
import 'react-redux';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { configureStore } from '@reduxjs/toolkit';
|
|
2
|
-
import { p as paymentApi, a as authApi, c as contentApi, o as ordersApi } from '../chunks/slice-
|
|
3
|
-
import { g as getDefaultExportFromCjs, r as rootReducer } from '../chunks/shared-
|
|
2
|
+
import { p as paymentApi, a as authApi, c as contentApi, o as ordersApi } from '../chunks/slice-qwy3bNV7.js';
|
|
3
|
+
import { g as getDefaultExportFromCjs, r as rootReducer } from '../chunks/shared-ykPFVPQ6.js';
|
|
4
4
|
import 'aws-amplify';
|
|
5
5
|
import '../chunks/slice-ChJ8ZvmP.js';
|
|
6
6
|
import 'react-redux';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypedUseSelectorHook } from 'react-redux';
|
|
2
|
-
import { ad as AppDispatch, a9 as RootState, ac as AppStore } from '../index-
|
|
2
|
+
import { ad as AppDispatch, a9 as RootState, ac as AppStore } from '../index-CS4llMqY.js';
|
|
3
3
|
import '@reduxjs/toolkit';
|
|
4
4
|
import '@reduxjs/toolkit/query';
|
|
5
5
|
|
|
@@ -184,15 +184,15 @@ interface ForgottenPasswordResponse {
|
|
|
184
184
|
message: string;
|
|
185
185
|
}
|
|
186
186
|
interface UpdateUserRequest {
|
|
187
|
-
contactPreference: boolean;
|
|
188
|
-
dateOfBirth: string;
|
|
189
|
-
email: string;
|
|
190
|
-
firstName: string;
|
|
191
|
-
lastName: string;
|
|
192
|
-
termsAccepted: string;
|
|
193
|
-
userEmail: string;
|
|
194
|
-
picture: string;
|
|
195
187
|
uuid: string;
|
|
188
|
+
contactPreference?: boolean;
|
|
189
|
+
dateOfBirth?: string;
|
|
190
|
+
email?: string;
|
|
191
|
+
firstName?: string;
|
|
192
|
+
lastName?: string;
|
|
193
|
+
termsAccepted?: boolean;
|
|
194
|
+
userEmail?: string;
|
|
195
|
+
picture?: string;
|
|
196
196
|
}
|
|
197
197
|
interface UpdateUserResponse {
|
|
198
198
|
results: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import * as _reduxjs_toolkit_query_react from '@reduxjs/toolkit/query/react';
|
|
|
4
4
|
import { BaseQueryFn as BaseQueryFn$1, FetchArgs as FetchArgs$1, FetchBaseQueryError as FetchBaseQueryError$1 } from '@reduxjs/toolkit/query/react';
|
|
5
5
|
import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
|
|
6
6
|
import { BaseQueryFn, FetchArgs, FetchBaseQueryError } from '@reduxjs/toolkit/query';
|
|
7
|
-
import { R as ResetPasswordRequest, a as ResetPasswordResponse, b as ResetPasswordAuthRequest, c as ResetPasswordAuthResponse, F as ForgottenPasswordRequest, d as ForgottenPasswordResponse, e as RegisterRequest, f as RegisterResponse, V as VerifyUserRequest, g as VerifyUserAttributesRequest, h as VerifyUserAttributesResponse, i as VerifyUserResendRequest, U as UpdateUserInfoRequest, j as UpdateUserRequest, A as AuthState, k as UserDetails, D as DataArgs, E as ESDataTypes, I as IdArg, l as UserSubRequest, m as UserSubResponse, P as PaymentPlansResponse, n as UserPayload, o as ESPromo, p as Promo, q as ESWorkout, W as Workout, r as ESShortform, s as ESFaq, t as ESPage, u as Page, v as ESSetting, w as ESPress, x as ESGuest, y as ESVideo, z as Video, B as ESSection, S as Section, C as ESSchedule, G as Schedule, H as ESChallenge, J as Challenge, K as ESChallengeDay, L as ChallengeDay, M as User, N as FederatedSession, O as SocialTokens, Q as ESConfig, T as Config, X as ESSectionPanel, Y as SectionPanel, Z as ESSectionItem, _ as SectionItem, $ as ESTaxonomy, a0 as Taxonomy, a1 as ESSeries, a2 as Series, a3 as ESSeason, a4 as Season, a5 as ESLongform, a6 as LongForm, a7 as ESMediaItem, a8 as MediaItem } from './index-
|
|
8
|
-
export { ai as ApiError, ad as AppDispatch, ac as AppStore, at as DecodedIdToken, az as ESDataResponse, ax as ESLongForm, ay as ESWorkoutResponse, ar as FormattedPayment, ag as Info, ak as LoginRequest, al as LoginResponse, ao as LogoutResponse, as as PaymentResponse, ap as PaymentTokenRequest, au as Plan, am as RefreshRequest, an as RefreshResponse, a9 as RootState, aw as S3Image, aq as UpdateUserResponse, af as UserCreating, ah as UserVerify, ae as UsersState, aj as VerifyUserResponse, av as VideoSource, aa as makeStore, ab as store } from './index-
|
|
7
|
+
import { R as ResetPasswordRequest, a as ResetPasswordResponse, b as ResetPasswordAuthRequest, c as ResetPasswordAuthResponse, F as ForgottenPasswordRequest, d as ForgottenPasswordResponse, e as RegisterRequest, f as RegisterResponse, V as VerifyUserRequest, g as VerifyUserAttributesRequest, h as VerifyUserAttributesResponse, i as VerifyUserResendRequest, U as UpdateUserInfoRequest, j as UpdateUserRequest, A as AuthState, k as UserDetails, D as DataArgs, E as ESDataTypes, I as IdArg, l as UserSubRequest, m as UserSubResponse, P as PaymentPlansResponse, n as UserPayload, o as ESPromo, p as Promo, q as ESWorkout, W as Workout, r as ESShortform, s as ESFaq, t as ESPage, u as Page, v as ESSetting, w as ESPress, x as ESGuest, y as ESVideo, z as Video, B as ESSection, S as Section, C as ESSchedule, G as Schedule, H as ESChallenge, J as Challenge, K as ESChallengeDay, L as ChallengeDay, M as User, N as FederatedSession, O as SocialTokens, Q as ESConfig, T as Config, X as ESSectionPanel, Y as SectionPanel, Z as ESSectionItem, _ as SectionItem, $ as ESTaxonomy, a0 as Taxonomy, a1 as ESSeries, a2 as Series, a3 as ESSeason, a4 as Season, a5 as ESLongform, a6 as LongForm, a7 as ESMediaItem, a8 as MediaItem } from './index-CS4llMqY.js';
|
|
8
|
+
export { ai as ApiError, ad as AppDispatch, ac as AppStore, at as DecodedIdToken, az as ESDataResponse, ax as ESLongForm, ay as ESWorkoutResponse, ar as FormattedPayment, ag as Info, ak as LoginRequest, al as LoginResponse, ao as LogoutResponse, as as PaymentResponse, ap as PaymentTokenRequest, au as Plan, am as RefreshRequest, an as RefreshResponse, a9 as RootState, aw as S3Image, aq as UpdateUserResponse, af as UserCreating, ah as UserVerify, ae as UsersState, aj as VerifyUserResponse, av as VideoSource, aa as makeStore, ab as store } from './index-CS4llMqY.js';
|
|
9
9
|
import * as reselect from 'reselect';
|
|
10
10
|
export { useAppDispatch, useAppSelector, useAppStore, useLoggedIn } from './hooks/index.js';
|
|
11
11
|
import 'react-redux';
|
|
@@ -2415,7 +2415,7 @@ declare function formatChallenges(data: ESChallenge[]): Challenge[];
|
|
|
2415
2415
|
declare function formatChallengeDays(data: ESChallengeDay[]): ChallengeDay[];
|
|
2416
2416
|
declare function formatSecondsToISO8601Duration(seconds?: number): string;
|
|
2417
2417
|
declare function formatAuthSession(session: any): User;
|
|
2418
|
-
declare function formatFedaratedSession(session: FederatedSession): User;
|
|
2418
|
+
declare function formatFedaratedSession(session: FederatedSession | any): User;
|
|
2419
2419
|
declare function formatSocialAuthSession(tokens: SocialTokens): User;
|
|
2420
2420
|
declare function formatConfig(data: ESConfig[]): Config[];
|
|
2421
2421
|
declare function formatSectionPanels(data: ESSectionPanel[]): SectionPanel[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@reduxjs/toolkit';
|
|
2
|
-
export { ad as AppDispatch, ac as AppStore, a9 as RootState, aa as makeStore, ab as store } from '../index-
|
|
2
|
+
export { ad as AppDispatch, ac as AppStore, a9 as RootState, aa as makeStore, ab as store } from '../index-CS4llMqY.js';
|
|
3
3
|
import '@reduxjs/toolkit/query';
|