@techstuff-dev/foundation-api-utils 1.50.1 → 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.
@@ -1,5 +1,5 @@
1
1
  import { TypedUseSelectorHook } from 'react-redux';
2
- import { ad as AppDispatch, a9 as RootState, ac as AppStore } from '../index-UQCqBQLx.js';
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;
@@ -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-UQCqBQLx.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-UQCqBQLx.js';
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-UQCqBQLx.js';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techstuff-dev/foundation-api-utils",
3
- "version": "1.50.1",
3
+ "version": "1.50.2",
4
4
  "description": "Foundation shared applications utilities.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",