@techstuff-dev/foundation-api-utils 1.47.0 → 1.48.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.
Files changed (50) hide show
  1. package/dist/cjs/chunks/index-CfrYa4U_.js +9 -0
  2. package/dist/cjs/chunks/index-CfrYa4U_.js.map +1 -0
  3. package/dist/cjs/chunks/shared-DeNXjWb4.js +18 -0
  4. package/dist/cjs/chunks/shared-DeNXjWb4.js.map +1 -0
  5. package/dist/{index.js → cjs/chunks/slice-CAWa47E3.js} +662 -800
  6. package/dist/cjs/chunks/slice-CAWa47E3.js.map +1 -0
  7. package/dist/cjs/index.js +97 -0
  8. package/dist/cjs/index.js.map +1 -0
  9. package/dist/cjs/store/index.native.js +413 -0
  10. package/dist/cjs/store/index.native.js.map +1 -0
  11. package/dist/cjs/store/index.web.js +186 -0
  12. package/dist/cjs/store/index.web.js.map +1 -0
  13. package/dist/esm/chunks/index-KjhWa1AL.js +6 -0
  14. package/dist/esm/chunks/index-KjhWa1AL.js.map +1 -0
  15. package/dist/esm/chunks/shared-CmoKpoEq.js +15 -0
  16. package/dist/esm/chunks/shared-CmoKpoEq.js.map +1 -0
  17. package/dist/{index.esm.js → esm/chunks/slice-CRuD2Hce.js} +663 -797
  18. package/dist/esm/chunks/slice-CRuD2Hce.js.map +1 -0
  19. package/dist/esm/index.js +15 -0
  20. package/dist/esm/index.js.map +1 -0
  21. package/dist/esm/store/index.native.js +411 -0
  22. package/dist/esm/store/index.native.js.map +1 -0
  23. package/dist/esm/store/index.web.js +184 -0
  24. package/dist/esm/store/index.web.js.map +1 -0
  25. package/dist/types/index-DQ61f1lz.d.ts +1295 -0
  26. package/dist/{index.d.ts → types/index.d.ts} +63 -1299
  27. package/dist/types/store/index.d.ts +3 -0
  28. package/package.json +23 -9
  29. package/dist/index.esm.js.map +0 -1
  30. package/dist/index.js.map +0 -1
  31. package/dist/lib/api/index.d.ts +0 -21
  32. package/dist/lib/hooks/index.d.ts +0 -4
  33. package/dist/lib/hooks/useAuth.d.ts +0 -1
  34. package/dist/lib/index.d.ts +0 -6
  35. package/dist/lib/services/auth/index.d.ts +0 -2027
  36. package/dist/lib/services/auth/slice.d.ts +0 -91
  37. package/dist/lib/services/cart/slice.d.ts +0 -155
  38. package/dist/lib/services/content/content.interfaces.d.ts +0 -801
  39. package/dist/lib/services/content/index.d.ts +0 -532
  40. package/dist/lib/services/index.d.ts +0 -7
  41. package/dist/lib/services/orders/index.d.ts +0 -271
  42. package/dist/lib/services/payment/index.d.ts +0 -1063
  43. package/dist/lib/store/index.d.ts +0 -2
  44. package/dist/lib/store/index.native.d.ts +0 -68
  45. package/dist/lib/store/index.web.d.ts +0 -68
  46. package/dist/lib/store/storage.d.ts +0 -2
  47. package/dist/lib/types/index.interfaces.d.ts +0 -428
  48. package/dist/lib/utils/dataFormat/index.d.ts +0 -86
  49. package/dist/lib/utils/helpers/index.d.ts +0 -14
  50. package/dist/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +0 -5
@@ -0,0 +1,1295 @@
1
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
+ import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
3
+
4
+ type UsersState = {
5
+ verifying: boolean;
6
+ authenticated: boolean;
7
+ user: User;
8
+ creating: {
9
+ details: string;
10
+ payment: string;
11
+ };
12
+ loading: boolean;
13
+ error: boolean;
14
+ session: string;
15
+ };
16
+ type UserCreating = {
17
+ details: UserDetails;
18
+ };
19
+ type User = {
20
+ accessToken?: string;
21
+ idToken?: string;
22
+ refreshToken?: string;
23
+ expires?: number;
24
+ accessTokenExpiry?: number | null;
25
+ details?: UserDetails;
26
+ email?: string;
27
+ info?: Info;
28
+ sub?: string;
29
+ socialSignin?: boolean;
30
+ };
31
+ type UserDetails = {
32
+ userSub?: string;
33
+ uuid?: string;
34
+ subscriptionDetails?: {
35
+ status: string;
36
+ id: string;
37
+ created: number;
38
+ nextPayment: number;
39
+ amount: number;
40
+ interval: string;
41
+ currency: string;
42
+ cancelAt?: number;
43
+ planID: string;
44
+ planDescription: string;
45
+ paymentDetails: {
46
+ response: PaymentResponse;
47
+ formatted: FormattedPayment;
48
+ };
49
+ };
50
+ firstName?: string;
51
+ lastName?: string;
52
+ userEmail?: string;
53
+ picture?: string;
54
+ termsAccepted?: string;
55
+ dateOfBirth?: string;
56
+ contactPreference?: boolean;
57
+ password?: string;
58
+ passwordConfirm?: string;
59
+ agency?: boolean;
60
+ 'cognito:username'?: string;
61
+ 'custom:termsAccepted'?: string;
62
+ 'custom:subscriptionId'?: string;
63
+ 'custom:contactPreferences'?: string;
64
+ 'custom:customerId'?: string;
65
+ customerId?: string;
66
+ [key: string]: any;
67
+ };
68
+ type Info = {
69
+ orders?: string[];
70
+ };
71
+ type UserVerify = {
72
+ route: string;
73
+ message: string;
74
+ };
75
+ interface ApiError {
76
+ status: string;
77
+ message: string;
78
+ }
79
+ interface RegisterRequest {
80
+ email: string;
81
+ password: string;
82
+ passwordConfirm?: string;
83
+ companyName?: string;
84
+ agency?: boolean;
85
+ agencyName?: string;
86
+ contactPreference?: boolean;
87
+ privacy?: boolean;
88
+ }
89
+ interface RegisterResponse {
90
+ userSub: string;
91
+ }
92
+ interface VerifyUserRequest {
93
+ code: string;
94
+ sub: string;
95
+ email: string;
96
+ }
97
+ interface VerifyUserAttributesRequest {
98
+ attributes: boolean;
99
+ code: string;
100
+ email: string;
101
+ sub: string;
102
+ }
103
+ interface VerifyUserResendRequest {
104
+ email: string | (string | null)[] | null;
105
+ }
106
+ interface VerifyUserAttributesResponse {
107
+ result: string;
108
+ }
109
+ interface VerifyUserAttributesResponse {
110
+ message: string;
111
+ }
112
+ interface VerifyUserResponse {
113
+ route: string;
114
+ message: string;
115
+ status?: number;
116
+ }
117
+ interface AuthState {
118
+ authenticated: boolean;
119
+ verifying: boolean;
120
+ user: User;
121
+ loading: boolean;
122
+ error: boolean;
123
+ session?: string;
124
+ }
125
+ interface LoginRequest {
126
+ email: string;
127
+ password: string;
128
+ }
129
+ interface LoginResponse {
130
+ accessToken: string;
131
+ accessTokenExpiry: number;
132
+ idToken: string;
133
+ refreshToken: string;
134
+ }
135
+ interface ResetPasswordAuthRequest {
136
+ email: string | undefined;
137
+ currentPassword: string;
138
+ newPassword: string;
139
+ }
140
+ interface ResetPasswordAuthResponse {
141
+ message: string;
142
+ }
143
+ interface ResetPasswordRequest {
144
+ sub: string | (string | null)[] | null;
145
+ code: string | (string | null)[] | null;
146
+ currentPassword: string;
147
+ newPassword: string;
148
+ }
149
+ interface ResetPasswordResponse {
150
+ message: string;
151
+ }
152
+ interface RefreshRequest {
153
+ sub: string;
154
+ refreshToken: string;
155
+ }
156
+ interface RefreshResponse {
157
+ accessToken: string;
158
+ accessTokenExpiry: number;
159
+ idToken: string;
160
+ refreshToken: string;
161
+ }
162
+ interface LogoutResponse {
163
+ message: string;
164
+ }
165
+ interface UpdateUserInfoRequest {
166
+ sub: string;
167
+ expressions: {
168
+ [key: string]: {
169
+ KEY: string;
170
+ VALUE: any[];
171
+ };
172
+ };
173
+ }
174
+ interface PaymentTokenRequest {
175
+ amount: number;
176
+ metaData: any;
177
+ description: string;
178
+ }
179
+ interface ForgottenPasswordRequest {
180
+ email: string;
181
+ }
182
+ interface ForgottenPasswordResponse {
183
+ message: string;
184
+ }
185
+ interface UpdateUserRequest {
186
+ contactPreference: boolean;
187
+ dateOfBirth: string;
188
+ email: string;
189
+ firstName: string;
190
+ lastName: string;
191
+ termsAccepted: string;
192
+ userEmail: string;
193
+ picture: string;
194
+ uuid: string;
195
+ }
196
+ interface UpdateUserResponse {
197
+ results: string;
198
+ }
199
+ interface UserSubRequest {
200
+ id?: string;
201
+ email: string;
202
+ sub: string;
203
+ }
204
+ interface UserSubResponse {
205
+ response: {
206
+ id: string;
207
+ object: string;
208
+ address: null;
209
+ balance: number;
210
+ created: number;
211
+ currency: string;
212
+ default_currency: string;
213
+ default_source: null;
214
+ delinquent: boolean;
215
+ description: null;
216
+ discount: null;
217
+ email: string;
218
+ invoice_prefix: string;
219
+ invoice_settings: {
220
+ custom_fields: null;
221
+ default_payment_method: string;
222
+ footer: null;
223
+ rendering_options: null;
224
+ };
225
+ livemode: boolean;
226
+ metadata: {};
227
+ name: string;
228
+ phone: null;
229
+ preferred_locales: [];
230
+ shipping: null;
231
+ sources: {
232
+ object: string;
233
+ data: [];
234
+ has_more: boolean;
235
+ total_count: number;
236
+ url: string;
237
+ };
238
+ subscriptions: {
239
+ object: string;
240
+ data: [];
241
+ has_more: boolean;
242
+ total_count: number;
243
+ url: string;
244
+ };
245
+ tax_exempt: string;
246
+ tax_ids: {
247
+ object: string;
248
+ data: [];
249
+ has_more: boolean;
250
+ total_count: number;
251
+ url: string;
252
+ };
253
+ test_clock: null;
254
+ };
255
+ customerId: string;
256
+ subscription: {
257
+ amount: number;
258
+ cancelAt: null;
259
+ created: number;
260
+ currency: string;
261
+ id: string;
262
+ interval: string;
263
+ nextPayment: number;
264
+ planDescription: string;
265
+ planID: string;
266
+ status: string;
267
+ };
268
+ payment: {
269
+ response: PaymentResponse;
270
+ formatted: FormattedPayment;
271
+ };
272
+ }
273
+ interface FormattedPayment {
274
+ id: string;
275
+ maskedNumber: string;
276
+ expirationDate: string;
277
+ cardType: string;
278
+ }
279
+ interface PaymentResponse {
280
+ id: string;
281
+ object: string;
282
+ allow_redisplay: string;
283
+ billing_details: {
284
+ address: {
285
+ city: null;
286
+ country: null;
287
+ line1: null;
288
+ line2: null;
289
+ postal_code: null;
290
+ state: null;
291
+ };
292
+ email: null;
293
+ name: string;
294
+ phone: null;
295
+ };
296
+ card: {
297
+ brand: string;
298
+ checks: {
299
+ address_line1_check: null;
300
+ address_postal_code_check: null;
301
+ cvc_check: string;
302
+ };
303
+ country: string;
304
+ display_brand: string;
305
+ exp_month: number;
306
+ exp_year: number;
307
+ fingerprint: string;
308
+ funding: string;
309
+ generated_from: null;
310
+ last4: string;
311
+ networks: {
312
+ available: string[];
313
+ preferred: null;
314
+ };
315
+ three_d_secure_usage: {
316
+ supported: boolean;
317
+ };
318
+ wallet: null;
319
+ };
320
+ created: number;
321
+ customer: string;
322
+ livemode: boolean;
323
+ metadata: {};
324
+ type: string;
325
+ }
326
+ interface DecodedIdToken {
327
+ at_hash: string;
328
+ sub: string;
329
+ 'cognito:groups': string[];
330
+ email_verified: boolean;
331
+ iss: string;
332
+ 'cognito:username': string;
333
+ given_name: string;
334
+ nonce: string;
335
+ aud: string;
336
+ identities: {
337
+ userId: string;
338
+ providerName: string;
339
+ providerType: string;
340
+ issuer: string;
341
+ primary: string;
342
+ dateCreated: string;
343
+ }[];
344
+ token_use: string;
345
+ auth_time: number;
346
+ name: string;
347
+ exp: number;
348
+ iat: number;
349
+ family_name: string;
350
+ email: string;
351
+ birthdate?: string;
352
+ picture?: string;
353
+ [key: string]: any;
354
+ }
355
+ interface SocialTokens {
356
+ accessToken: string;
357
+ idToken: string;
358
+ refreshToken: string;
359
+ }
360
+ interface FederatedSession {
361
+ accessToken: {
362
+ jwtToken: string;
363
+ payload: {
364
+ auth_time: number;
365
+ client_id: string;
366
+ 'cognito:groups': string[];
367
+ exp: number;
368
+ iat: number;
369
+ iss: string;
370
+ jti: string;
371
+ scope: string;
372
+ sub: string;
373
+ token_use: string;
374
+ username: string;
375
+ version: number;
376
+ };
377
+ };
378
+ idToken: {
379
+ jwtToken: string;
380
+ payload: {
381
+ at_hash: string;
382
+ aud: string;
383
+ auth_time: number;
384
+ 'cognito:groups': string[];
385
+ email: string;
386
+ email_verified: boolean;
387
+ exp: number;
388
+ family_name?: string;
389
+ given_name?: string;
390
+ birthdate?: string;
391
+ iat: number;
392
+ identities: {
393
+ dateCreated: string;
394
+ issuer: string;
395
+ primary: string;
396
+ providerName: string;
397
+ providerType: string;
398
+ userId: string;
399
+ }[];
400
+ iss: string;
401
+ name: string;
402
+ nonce: string;
403
+ picture?: string;
404
+ sub: string;
405
+ token_use: string;
406
+ 'custom:termsAccepted'?: string;
407
+ 'custom:subscriptionId'?: string;
408
+ 'custom:contactPreferences'?: string;
409
+ 'custom:customerId'?: string;
410
+ };
411
+ };
412
+ refreshToken: {
413
+ token: string;
414
+ };
415
+ }
416
+ interface Plan {
417
+ id: string;
418
+ planID: string;
419
+ description: string;
420
+ amount: number;
421
+ nickname: string;
422
+ metadata: {
423
+ icon: string;
424
+ description: string;
425
+ number: string;
426
+ };
427
+ }
428
+ interface PaymentPlansResponse {
429
+ plans: Plan[];
430
+ }
431
+
432
+ type VideoSource = {
433
+ type: string;
434
+ src: string;
435
+ };
436
+ type S3Image = {
437
+ uri: string;
438
+ };
439
+ /**
440
+ * ES OBJECT INTERFACES
441
+ **/
442
+ interface UserPayload {
443
+ email: string;
444
+ given_name: string;
445
+ family_name: string;
446
+ birthdate: string;
447
+ picture: string;
448
+ 'cognito:username': string;
449
+ 'custom:termsAccepted': string;
450
+ 'custom:subscriptionId': string;
451
+ 'custom:contactPreferences': string;
452
+ 'custom:customerId': string;
453
+ }
454
+ interface ESPromo {
455
+ _index: string;
456
+ _id: string;
457
+ _score: number;
458
+ _source: {
459
+ _language: string;
460
+ align: string[];
461
+ created: number[];
462
+ auth_panel: boolean[];
463
+ image_formatted: string[];
464
+ background_image_formatted: string[];
465
+ background_video: string[];
466
+ background_image: string[];
467
+ button_text: string[];
468
+ updated: number[];
469
+ title: string[];
470
+ description: string[];
471
+ image: string[];
472
+ langcode: string[];
473
+ link: string[];
474
+ link_mobile: string[];
475
+ section: number[];
476
+ uuid: string[];
477
+ video: string[];
478
+ weight: number[];
479
+ search_api_datasource?: string[];
480
+ search_api_id?: string[];
481
+ search_api_language?: string[];
482
+ term?: string[];
483
+ };
484
+ sort: number[];
485
+ }
486
+ interface ESWorkout {
487
+ _index: string;
488
+ _id: string;
489
+ _score: number;
490
+ _source: {
491
+ changed: number[];
492
+ created: number[];
493
+ uuid: string[];
494
+ description: string[];
495
+ duration: string[];
496
+ duration_filter: number[];
497
+ image_16_9: string[];
498
+ image: string[];
499
+ level: string[];
500
+ published: boolean[];
501
+ targeted_section: string[];
502
+ title: string[];
503
+ uid: string[];
504
+ video_url: string[];
505
+ video_poster: string[];
506
+ video_download: string[];
507
+ workout_category: string[];
508
+ workout_type: string[];
509
+ livestream_section: string[];
510
+ };
511
+ sort: number[];
512
+ }
513
+ interface ESShortform {
514
+ _index: string;
515
+ _id: string;
516
+ _score: number;
517
+ _source: {
518
+ uuid?: string;
519
+ nid?: string;
520
+ title?: string;
521
+ field_image_thumb?: string;
522
+ field_image_poster?: string;
523
+ field_short_synopsis?: string;
524
+ field_body?: string;
525
+ field_channel?: string;
526
+ revision_timestamp?: string;
527
+ langcode?: string;
528
+ field_videomanifest?: string;
529
+ field_duration?: string;
530
+ field_category?: string;
531
+ };
532
+ sort: number[];
533
+ }
534
+ interface ESLongForm {
535
+ _index: string;
536
+ _id: string;
537
+ _score: number;
538
+ _source: {
539
+ uuid?: string[];
540
+ nid?: string[];
541
+ title?: string[];
542
+ image?: string[];
543
+ image_promo?: string[];
544
+ image_promo_large?: string[];
545
+ image_poster?: string[];
546
+ summary?: string[];
547
+ created?: number[];
548
+ revision_timestamp?: string[];
549
+ video_manifest?: string[];
550
+ rating?: string[];
551
+ released_date?: string[];
552
+ source_id?: string[];
553
+ director?: string[];
554
+ duration?: string[];
555
+ path?: string[];
556
+ genres?: string[];
557
+ actors?: string[];
558
+ writers?: string[];
559
+ };
560
+ sort: number[];
561
+ }
562
+ interface ESFaq {
563
+ _index: string;
564
+ _id: string;
565
+ _score: number;
566
+ _source: {
567
+ uuid?: string[];
568
+ title?: string[];
569
+ answer?: string[];
570
+ created?: number[];
571
+ updated?: number[];
572
+ };
573
+ sort: number[];
574
+ }
575
+ interface ESPage {
576
+ _index: string;
577
+ _id: string;
578
+ _score: number;
579
+ _source: {
580
+ uuid?: string[];
581
+ title?: string[];
582
+ body?: string[];
583
+ created?: number[];
584
+ updated?: number[];
585
+ langcode?: string;
586
+ url?: string[];
587
+ };
588
+ sort: number[];
589
+ }
590
+ interface ESSetting {
591
+ _index: string;
592
+ _id: string;
593
+ _score: number;
594
+ _source: {
595
+ uuid?: string[];
596
+ created?: number[];
597
+ updated?: number[];
598
+ status?: string[];
599
+ type?: string[];
600
+ video?: string[];
601
+ number?: string[];
602
+ pass?: string[];
603
+ fieldset?: string[];
604
+ };
605
+ sort: number[];
606
+ }
607
+ interface ESPress {
608
+ _index: string;
609
+ _id: string;
610
+ _score: number;
611
+ _source: {
612
+ uuid?: string[];
613
+ title?: string[];
614
+ image?: string[];
615
+ created?: number[];
616
+ updated?: number[];
617
+ };
618
+ sort: number[];
619
+ }
620
+ interface ESGuest {
621
+ _index: string;
622
+ _id: string;
623
+ _score: number;
624
+ _source: {
625
+ uuid?: string[];
626
+ id?: string[];
627
+ title?: string[];
628
+ description?: string[];
629
+ image_16_9?: string[];
630
+ display?: string[];
631
+ updated?: number[];
632
+ };
633
+ sort: number[];
634
+ }
635
+ interface ESVideo {
636
+ _index: string;
637
+ _id: string;
638
+ _score: number;
639
+ _source: {
640
+ uuid: string[];
641
+ title: string[];
642
+ created: number[];
643
+ updated: number[];
644
+ description: string[];
645
+ image: string[];
646
+ duration: number[];
647
+ section: string[];
648
+ video_poster: string[];
649
+ video_url: string[];
650
+ video_download: string[];
651
+ section_id: number[];
652
+ };
653
+ sort: number[];
654
+ }
655
+ interface ESSection {
656
+ _index: string;
657
+ _id: string;
658
+ _score: number;
659
+ _source: {
660
+ uuid?: string[];
661
+ title?: string[];
662
+ description?: string[];
663
+ image?: string[];
664
+ display?: string[];
665
+ challenge?: string[];
666
+ id?: string[];
667
+ };
668
+ sort: number[];
669
+ }
670
+ interface ESSchedule {
671
+ _index: string;
672
+ _id: string;
673
+ _score: number;
674
+ _source: {
675
+ uuid: string[];
676
+ created: string[];
677
+ langcode: string[];
678
+ updated: string[];
679
+ monday_title: string[];
680
+ monday_start: string[];
681
+ monday_end: string[];
682
+ monday_video: string[];
683
+ monday_live: string[];
684
+ tuesday_title: string[];
685
+ tuesday_start: string[];
686
+ tuesday_end: string[];
687
+ tuesday_video: string[];
688
+ tuesday_live: string[];
689
+ wednesday_title: string[];
690
+ wednesday_start: string[];
691
+ wednesday_end: string[];
692
+ wednesday_video: string[];
693
+ wednesday_live: string[];
694
+ thursday_title: string[];
695
+ thursday_start: string[];
696
+ thursday_end: string[];
697
+ thursday_video: string[];
698
+ thursday_live: string[];
699
+ friday_title: string[];
700
+ friday_start: string[];
701
+ friday_end: string[];
702
+ friday_video: string[];
703
+ friday_live: string[];
704
+ saturday_title: string[];
705
+ saturday_start: string[];
706
+ saturday_end: string[];
707
+ saturday_video: string[];
708
+ saturday_live: string[];
709
+ sunday_title: string[];
710
+ sunday_start: string[];
711
+ sunday_end: string[];
712
+ sunday_video: string[];
713
+ sunday_live: string[];
714
+ };
715
+ sort: number[];
716
+ }
717
+ interface ESChallenge {
718
+ _index: string;
719
+ _id: string;
720
+ _score: number;
721
+ _source: {
722
+ uuid?: string[];
723
+ title?: string[];
724
+ body?: string[];
725
+ image?: string[];
726
+ challenge_key?: string[];
727
+ created?: number[];
728
+ days?: string[];
729
+ updated?: number[];
730
+ purchase_button_label?: string[];
731
+ price?: number[];
732
+ };
733
+ sort: number[];
734
+ }
735
+ interface ESChallengeDay {
736
+ _index: string;
737
+ _id: string;
738
+ _score: number;
739
+ _source: {
740
+ uuid?: string[];
741
+ title?: string[];
742
+ body?: string[];
743
+ image?: string[];
744
+ created?: number[];
745
+ updated?: number[];
746
+ video?: string[];
747
+ workout?: string[];
748
+ };
749
+ sort: number[];
750
+ }
751
+ interface ESConfig {
752
+ _index: string;
753
+ _id: string;
754
+ _score: number;
755
+ _source: {
756
+ uuid?: string[];
757
+ id?: string[];
758
+ created?: number[];
759
+ updated?: number[];
760
+ type?: string[];
761
+ cla?: string[];
762
+ enabled?: boolean[];
763
+ name?: string[];
764
+ price?: number[];
765
+ video?: string[];
766
+ image_homepage?: string[];
767
+ image_section_banner?: string[];
768
+ search_api_id?: string[];
769
+ search_api_datasource?: string[];
770
+ search_api_language?: string[];
771
+ };
772
+ sort: number[];
773
+ }
774
+ interface ESSectionPanel {
775
+ _index: string;
776
+ _id: string;
777
+ _score: number;
778
+ _source: {
779
+ uuid?: string[];
780
+ title?: string[];
781
+ created?: number[];
782
+ updated?: number[];
783
+ weight?: number[];
784
+ item_uuid?: string[];
785
+ type?: string[];
786
+ };
787
+ sort: number[];
788
+ }
789
+ interface ESSectionItem {
790
+ _index: string;
791
+ _id: string;
792
+ _score: number;
793
+ _source: {
794
+ uuid?: string[];
795
+ title?: string[];
796
+ created?: number[];
797
+ updated?: number[];
798
+ type?: string[];
799
+ term?: string[];
800
+ custom_image_formatted?: string[];
801
+ banner_image_formatted?: string;
802
+ };
803
+ sort: number[];
804
+ }
805
+ interface ESTaxonomy {
806
+ _index: string;
807
+ _id: string;
808
+ _score: number;
809
+ _source: {
810
+ uuid?: string[];
811
+ updated?: number[];
812
+ vocabulary?: string[];
813
+ name?: string[];
814
+ description?: string[];
815
+ image?: string[];
816
+ image_banner?: string[];
817
+ image_banner_taxonomy?: string[];
818
+ image_large_16_9?: string[];
819
+ weight?: number[];
820
+ parent_name?: string[];
821
+ color?: string[];
822
+ };
823
+ sort: number[];
824
+ }
825
+ interface ESSeries {
826
+ _index: string;
827
+ _id: string;
828
+ _score: number;
829
+ _source: {
830
+ uuid?: string[];
831
+ created?: number[];
832
+ updated?: number[];
833
+ display_title?: string[];
834
+ synopsis?: string[];
835
+ image_style_poster?: string[];
836
+ image_style_thumb?: string[];
837
+ category?: string[];
838
+ category_id?: string[];
839
+ seasons?: string[];
840
+ };
841
+ sort: number[];
842
+ }
843
+ interface ESSeason {
844
+ _index: string;
845
+ _id: string;
846
+ _score: number;
847
+ _source: {
848
+ uuid?: string[];
849
+ created?: number[];
850
+ updated?: number[];
851
+ display_title?: string[];
852
+ synopsis?: string[];
853
+ image_style_poster?: string[];
854
+ image_style_thumb?: string[];
855
+ episodes?: string[];
856
+ season_number?: string[];
857
+ show?: string[];
858
+ };
859
+ sort: number[];
860
+ }
861
+ interface ESLongform {
862
+ _index: string;
863
+ _id: string;
864
+ _score: number;
865
+ _source: {
866
+ uuid?: string[];
867
+ created?: number[];
868
+ updated?: number[];
869
+ display_title?: string[];
870
+ synopsis?: string[];
871
+ image_style_poster?: string[];
872
+ image_style_thumb?: string[];
873
+ duration?: string[];
874
+ release_date?: string[];
875
+ video?: string[];
876
+ image_url?: string[];
877
+ episode_number?: string[];
878
+ };
879
+ sort: number[];
880
+ }
881
+ interface ESMediaItem {
882
+ _index: string;
883
+ _id: string;
884
+ _score: number;
885
+ _source: {
886
+ changed?: number[];
887
+ created?: number[];
888
+ image?: string[];
889
+ custom_thumbnail?: string[];
890
+ price?: number[];
891
+ price_2_year?: number[];
892
+ revision_timestamp?: string[];
893
+ sku?: string[];
894
+ status?: string[];
895
+ uuid?: string[];
896
+ description?: string[];
897
+ transcript?: string[];
898
+ entities?: string[];
899
+ phrases?: string[];
900
+ video?: string[];
901
+ title?: string[];
902
+ generated_title?: string[];
903
+ project_pricing?: string[];
904
+ related_uuids?: string[];
905
+ franchise_name?: string[];
906
+ franchise_tid?: string[];
907
+ original?: boolean[];
908
+ script?: string[];
909
+ hide_thumbnail_title?: string[];
910
+ };
911
+ sort: number[];
912
+ }
913
+ /**
914
+ * QUERY RESPONSE INTERFACES
915
+ **/
916
+ interface ESWorkoutResponse {
917
+ took: number;
918
+ timed_out: boolean;
919
+ _shards: {
920
+ total: number;
921
+ successful: number;
922
+ skipped: number;
923
+ failed: number;
924
+ };
925
+ hits: {
926
+ total: number;
927
+ max_score: number;
928
+ hits: ESWorkout[];
929
+ };
930
+ }
931
+ type ESDataTypes = ESWorkout[] | ESPromo[] | ESShortform[] | ESLongForm[] | ESFaq[] | ESPage[] | ESSetting[] | ESPress[] | ESGuest[] | ESVideo[] | ESSection[] | ESSchedule[] | ESChallenge[] | ESChallengeDay[] | ESConfig[];
932
+ interface ESDataResponse {
933
+ took: number;
934
+ timed_out: boolean;
935
+ _shards: {
936
+ total: number;
937
+ successful: number;
938
+ skipped: number;
939
+ failed: number;
940
+ };
941
+ hits: {
942
+ total: number;
943
+ max_score: number;
944
+ hits: ESDataTypes;
945
+ };
946
+ }
947
+ /**
948
+ * QUERY INTERFACES
949
+ **/
950
+ interface IdArg {
951
+ index: string;
952
+ ids: string[];
953
+ }
954
+ interface DataArgs {
955
+ index: string;
956
+ options?: {
957
+ size?: number;
958
+ sort?: {
959
+ created: {
960
+ order: string;
961
+ };
962
+ }[];
963
+ query?: any;
964
+ };
965
+ }
966
+ /**
967
+ * FORMATTED INTERFACES
968
+ **/
969
+ interface Page {
970
+ uuid?: string;
971
+ title?: string;
972
+ body?: string;
973
+ created?: number;
974
+ updated?: number;
975
+ langcode?: string;
976
+ url?: string;
977
+ }
978
+ interface Promo {
979
+ uuid?: string;
980
+ id?: string;
981
+ title?: string;
982
+ image?: string;
983
+ imageFormatted?: string;
984
+ description?: string;
985
+ created?: number;
986
+ updated?: number;
987
+ weight?: number;
988
+ buttonText?: string;
989
+ link?: string;
990
+ linkMobile?: string;
991
+ }
992
+ interface Workout {
993
+ created: number;
994
+ changed: number;
995
+ uuid: string;
996
+ description: string;
997
+ duration: number;
998
+ imageStyled: string;
999
+ image: string;
1000
+ level: string;
1001
+ published: boolean;
1002
+ targeted_section: string;
1003
+ title: string;
1004
+ uid: string;
1005
+ video: string;
1006
+ videoPoster: string;
1007
+ videoDownload: string;
1008
+ workoutCategory: string;
1009
+ workoutType: string;
1010
+ livestreamSection: string;
1011
+ }
1012
+ interface Video {
1013
+ uuid?: string;
1014
+ title: string;
1015
+ created: number;
1016
+ updated: number;
1017
+ description: string;
1018
+ image: string;
1019
+ duration: number;
1020
+ section: string;
1021
+ videoPoster: string;
1022
+ video: string;
1023
+ videoDownload: string;
1024
+ sectionId: number;
1025
+ }
1026
+ interface Section {
1027
+ uuid?: string;
1028
+ title?: string;
1029
+ description?: string;
1030
+ image?: string;
1031
+ display?: string;
1032
+ challenge?: string;
1033
+ id?: string;
1034
+ }
1035
+ interface Schedule {
1036
+ uuid: string;
1037
+ created: string;
1038
+ langcode: string;
1039
+ updated: string;
1040
+ days: {
1041
+ monday?: {
1042
+ title: string;
1043
+ start: string;
1044
+ end: string;
1045
+ video: string;
1046
+ live: string;
1047
+ }[];
1048
+ tuesday?: {
1049
+ title: string;
1050
+ start: string;
1051
+ end: string;
1052
+ video: string;
1053
+ live: string;
1054
+ }[];
1055
+ wednesday?: {
1056
+ title: string;
1057
+ start: string;
1058
+ end: string;
1059
+ video: string;
1060
+ live: string;
1061
+ }[];
1062
+ thursday?: {
1063
+ title: string;
1064
+ start: string;
1065
+ end: string;
1066
+ video: string;
1067
+ live: string;
1068
+ }[];
1069
+ friday?: {
1070
+ title: string;
1071
+ start: string;
1072
+ end: string;
1073
+ video: string;
1074
+ live: string;
1075
+ }[];
1076
+ saturday?: {
1077
+ title: string;
1078
+ start: string;
1079
+ end: string;
1080
+ video: string;
1081
+ live: string;
1082
+ }[];
1083
+ sunday?: {
1084
+ title: string;
1085
+ start: string;
1086
+ end: string;
1087
+ video: string;
1088
+ live: string;
1089
+ }[];
1090
+ }[];
1091
+ }
1092
+ interface Challenge {
1093
+ uuid?: string;
1094
+ title?: string;
1095
+ body?: string;
1096
+ image?: string;
1097
+ challengeKey?: string;
1098
+ created?: number;
1099
+ days?: string[];
1100
+ updated?: number;
1101
+ purchaseButtonLabel?: string;
1102
+ price?: number;
1103
+ }
1104
+ interface ChallengeDay {
1105
+ uuid?: string;
1106
+ title?: string;
1107
+ body?: string;
1108
+ image?: string;
1109
+ created?: number;
1110
+ updated?: number;
1111
+ video?: string;
1112
+ workout?: string;
1113
+ }
1114
+ interface Config {
1115
+ uuid?: string;
1116
+ id?: string;
1117
+ created?: number;
1118
+ updated?: number;
1119
+ type?: string;
1120
+ cla?: string;
1121
+ enabled?: boolean;
1122
+ name?: string;
1123
+ price?: number;
1124
+ video?: string;
1125
+ imageHomepage?: string;
1126
+ imageSectionBanner?: string;
1127
+ searchApiId?: string;
1128
+ searchApiDatasource?: string;
1129
+ searchApiLanguage?: string;
1130
+ }
1131
+ interface SectionPanel {
1132
+ uuid?: string;
1133
+ title?: string;
1134
+ created?: number;
1135
+ updated?: number;
1136
+ weight?: number;
1137
+ items?: string[];
1138
+ type?: string;
1139
+ }
1140
+ interface SectionItem {
1141
+ uuid?: string;
1142
+ title?: string;
1143
+ created?: number;
1144
+ updated?: number;
1145
+ type?: string;
1146
+ term?: string;
1147
+ image?: string;
1148
+ bannerImage?: string;
1149
+ }
1150
+ interface Taxonomy {
1151
+ id?: string;
1152
+ uuid?: string;
1153
+ updated?: number;
1154
+ vocabulary?: string;
1155
+ name?: string;
1156
+ description?: string;
1157
+ image?: string;
1158
+ imageBanner?: string;
1159
+ imageBannerTaxonomy?: string;
1160
+ imageLarge?: string;
1161
+ weight?: number;
1162
+ parentName?: string;
1163
+ color?: string;
1164
+ }
1165
+ interface Series {
1166
+ id?: string;
1167
+ title?: string;
1168
+ uuid?: string;
1169
+ created?: number;
1170
+ updated?: number;
1171
+ displayTitle?: string;
1172
+ synopsis?: string;
1173
+ imagePoster?: string;
1174
+ imageThumb?: string;
1175
+ category?: string;
1176
+ categoryId?: string;
1177
+ seasons?: string[];
1178
+ }
1179
+ interface Season {
1180
+ id?: string;
1181
+ uuid?: string;
1182
+ created?: number;
1183
+ updated?: number;
1184
+ title?: string;
1185
+ synopsis?: string;
1186
+ imagePoster?: string;
1187
+ imageThumb?: string;
1188
+ episodes?: string[];
1189
+ seasonNumber?: string;
1190
+ showId?: string;
1191
+ }
1192
+ interface LongForm {
1193
+ id?: string;
1194
+ uuid?: string;
1195
+ created?: number;
1196
+ updated?: number;
1197
+ title?: string;
1198
+ synopsis?: string;
1199
+ imagePoster?: string;
1200
+ imageThumb?: string;
1201
+ duration?: string;
1202
+ releaseDate?: string;
1203
+ video?: string;
1204
+ imageUrl?: string;
1205
+ episodeNumber?: string;
1206
+ }
1207
+ interface MediaItem {
1208
+ changed?: number;
1209
+ created?: number;
1210
+ image?: string;
1211
+ customThumbnail?: string;
1212
+ price?: number;
1213
+ priceTwoYear?: number;
1214
+ revisionTimestamp?: string;
1215
+ sku?: string;
1216
+ status?: string;
1217
+ uuid?: string;
1218
+ description?: string;
1219
+ transcript?: string;
1220
+ entities?: string[];
1221
+ phrases?: string[];
1222
+ video?: string;
1223
+ title?: string;
1224
+ generatedTitle?: string;
1225
+ projectPricing?: string;
1226
+ relatedItems?: string[];
1227
+ franchises?: string[];
1228
+ franchisesIds?: string[];
1229
+ original?: boolean;
1230
+ script?: string;
1231
+ hideThumbnailTitle?: string;
1232
+ }
1233
+
1234
+ declare const rootReducer: _reduxjs_toolkit.CombinedSliceReducer<{
1235
+ "": CartState & AuthState;
1236
+ authApi: _reduxjs_toolkit_query.CombinedState<{
1237
+ resetPassword: _reduxjs_toolkit_query.MutationDefinition<ResetPasswordRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", ResetPasswordResponse, "authApi", unknown>;
1238
+ resetPasswordAuth: _reduxjs_toolkit_query.MutationDefinition<ResetPasswordAuthRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", ResetPasswordAuthResponse, "authApi", unknown>;
1239
+ forgottenPassword: _reduxjs_toolkit_query.MutationDefinition<ForgottenPasswordRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", ForgottenPasswordResponse, "authApi", unknown>;
1240
+ register: _reduxjs_toolkit_query.MutationDefinition<RegisterRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", RegisterResponse, "authApi", unknown>;
1241
+ verifyUser: _reduxjs_toolkit_query.QueryDefinition<VerifyUserRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1242
+ verifyUserAttributes: _reduxjs_toolkit_query.QueryDefinition<VerifyUserAttributesRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", VerifyUserAttributesResponse, "authApi", unknown>;
1243
+ verifyUserResend: _reduxjs_toolkit_query.QueryDefinition<VerifyUserResendRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", VerifyUserAttributesResponse, "authApi", unknown>;
1244
+ getUserInfo: _reduxjs_toolkit_query.QueryDefinition<string | undefined, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1245
+ updateUserInfo: _reduxjs_toolkit_query.MutationDefinition<UpdateUserInfoRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1246
+ updateUser: _reduxjs_toolkit_query.MutationDefinition<UpdateUserRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1247
+ }, "UserToken" | "UserData", "authApi">;
1248
+ contentApi: _reduxjs_toolkit_query.CombinedState<{
1249
+ getData: _reduxjs_toolkit_query.QueryDefinition<DataArgs, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "Data" | "Workout", ESDataTypes, "contentApi", unknown>;
1250
+ getDataById: _reduxjs_toolkit_query.QueryDefinition<IdArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "Data" | "Workout", ESDataTypes, "contentApi", unknown>;
1251
+ }, "Data" | "Workout", "contentApi">;
1252
+ paymentApi: _reduxjs_toolkit_query.CombinedState<{
1253
+ checkUserSubscription: _reduxjs_toolkit_query.QueryDefinition<UserSubRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", UserSubResponse, "paymentApi", unknown>;
1254
+ getPaymentPlans: _reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", PaymentPlansResponse, "paymentApi", unknown>;
1255
+ getTaxRates: _reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", any, "paymentApi", unknown>;
1256
+ checkPromoCode: _reduxjs_toolkit_query.QueryDefinition<string, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", any, "paymentApi", unknown>;
1257
+ }, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", "paymentApi">;
1258
+ ordersApi: _reduxjs_toolkit_query.CombinedState<{
1259
+ fetchOrders: _reduxjs_toolkit_query.QueryDefinition<string[], _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "Orders", any, "ordersApi", unknown>;
1260
+ }, "Orders", "ordersApi">;
1261
+ }, {
1262
+ "": CartState & AuthState;
1263
+ authApi: _reduxjs_toolkit_query.CombinedState<{
1264
+ resetPassword: _reduxjs_toolkit_query.MutationDefinition<ResetPasswordRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", ResetPasswordResponse, "authApi", unknown>;
1265
+ resetPasswordAuth: _reduxjs_toolkit_query.MutationDefinition<ResetPasswordAuthRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", ResetPasswordAuthResponse, "authApi", unknown>;
1266
+ forgottenPassword: _reduxjs_toolkit_query.MutationDefinition<ForgottenPasswordRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", ForgottenPasswordResponse, "authApi", unknown>;
1267
+ register: _reduxjs_toolkit_query.MutationDefinition<RegisterRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", RegisterResponse, "authApi", unknown>;
1268
+ verifyUser: _reduxjs_toolkit_query.QueryDefinition<VerifyUserRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1269
+ verifyUserAttributes: _reduxjs_toolkit_query.QueryDefinition<VerifyUserAttributesRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", VerifyUserAttributesResponse, "authApi", unknown>;
1270
+ verifyUserResend: _reduxjs_toolkit_query.QueryDefinition<VerifyUserResendRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", VerifyUserAttributesResponse, "authApi", unknown>;
1271
+ getUserInfo: _reduxjs_toolkit_query.QueryDefinition<string | undefined, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1272
+ updateUserInfo: _reduxjs_toolkit_query.MutationDefinition<UpdateUserInfoRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1273
+ updateUser: _reduxjs_toolkit_query.MutationDefinition<UpdateUserRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "UserToken" | "UserData", any, "authApi", unknown>;
1274
+ }, "UserToken" | "UserData", "authApi">;
1275
+ contentApi: _reduxjs_toolkit_query.CombinedState<{
1276
+ getData: _reduxjs_toolkit_query.QueryDefinition<DataArgs, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "Data" | "Workout", ESDataTypes, "contentApi", unknown>;
1277
+ getDataById: _reduxjs_toolkit_query.QueryDefinition<IdArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "Data" | "Workout", ESDataTypes, "contentApi", unknown>;
1278
+ }, "Data" | "Workout", "contentApi">;
1279
+ paymentApi: _reduxjs_toolkit_query.CombinedState<{
1280
+ checkUserSubscription: _reduxjs_toolkit_query.QueryDefinition<UserSubRequest, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", UserSubResponse, "paymentApi", unknown>;
1281
+ getPaymentPlans: _reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", PaymentPlansResponse, "paymentApi", unknown>;
1282
+ getTaxRates: _reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", any, "paymentApi", unknown>;
1283
+ checkPromoCode: _reduxjs_toolkit_query.QueryDefinition<string, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", any, "paymentApi", unknown>;
1284
+ }, "UserSubscription" | "Plans" | "TaxRates" | "PromoCodes", "paymentApi">;
1285
+ ordersApi: _reduxjs_toolkit_query.CombinedState<{
1286
+ fetchOrders: _reduxjs_toolkit_query.QueryDefinition<string[], _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError>, "Orders", any, "ordersApi", unknown>;
1287
+ }, "Orders", "ordersApi">;
1288
+ }>;
1289
+ type RootState = ReturnType<typeof rootReducer>;
1290
+
1291
+ declare function makeStore(): unknown;
1292
+ declare const store: unknown;
1293
+
1294
+ export { makeStore as a9, store as aa };
1295
+ export type { ESTaxonomy as $, AuthState as A, ESSection as B, ESSchedule as C, DataArgs as D, ESDataTypes as E, ForgottenPasswordRequest as F, Schedule as G, ESChallenge as H, IdArg as I, Challenge as J, ESChallengeDay as K, ChallengeDay as L, User as M, FederatedSession as N, SocialTokens as O, PaymentPlansResponse as P, ESConfig as Q, ResetPasswordRequest as R, Section as S, Config as T, UpdateUserInfoRequest as U, VerifyUserRequest as V, Workout as W, ESSectionPanel as X, SectionPanel as Y, ESSectionItem as Z, SectionItem as _, ResetPasswordResponse as a, Taxonomy as a0, ESSeries as a1, Series as a2, ESSeason as a3, Season as a4, ESLongform as a5, LongForm as a6, ESMediaItem as a7, MediaItem as a8, RootState as ab, UsersState as ac, UserCreating as ad, Info as ae, UserVerify as af, ApiError as ag, VerifyUserResponse as ah, LoginRequest as ai, LoginResponse as aj, RefreshRequest as ak, RefreshResponse as al, LogoutResponse as am, PaymentTokenRequest as an, UpdateUserResponse as ao, FormattedPayment as ap, PaymentResponse as aq, DecodedIdToken as ar, Plan as as, VideoSource as at, S3Image as au, ESLongForm as av, ESWorkoutResponse as aw, ESDataResponse as ax, ResetPasswordAuthRequest as b, ResetPasswordAuthResponse as c, ForgottenPasswordResponse as d, RegisterRequest as e, RegisterResponse as f, VerifyUserAttributesRequest as g, VerifyUserAttributesResponse as h, VerifyUserResendRequest as i, UpdateUserRequest as j, UserDetails as k, UserSubRequest as l, UserSubResponse as m, UserPayload as n, ESPromo as o, Promo as p, ESWorkout as q, ESShortform as r, ESFaq as s, ESPage as t, Page as u, ESSetting as v, ESPress as w, ESGuest as x, ESVideo as y, Video as z };