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