@dimrev4/fitness-v3-backend 0.0.37 → 0.0.39
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/.turbo/turbo-build.log +5 -4
- package/api.ts +35 -86
- package/dist/api.d.ts +35 -86
- package/dist/api.js +22 -31
- package/dist/esm/api.d.ts +35 -86
- package/dist/esm/api.js +22 -31
- package/docs/ExerciseDto.md +0 -2
- package/docs/ExerciseWithSetsDto.md +0 -2
- package/docs/MeasurementsV1Api.md +1 -1
- package/docs/SavedWorkoutDetailsDto.md +0 -2
- package/docs/SavedWorkoutDto.md +0 -2
- package/docs/SavedWorkoutWorkoutExerciseMetaDtoBodyParts.md +12 -18
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @dimrev4/fitness-v3-backend@0.0.37 build /home/dimar/Dev/Prod/fitness-app/fitness-mono-repo/packages/fitness-v3-backend-sdk
|
|
4
|
+
> tsc && tsc -p tsconfig.esm.json
|
|
5
|
+
|
package/api.ts
CHANGED
|
@@ -113,17 +113,14 @@ export const CreateExerciseRequestDtoTypeEnum = {
|
|
|
113
113
|
|
|
114
114
|
export type CreateExerciseRequestDtoTypeEnum = typeof CreateExerciseRequestDtoTypeEnum[keyof typeof CreateExerciseRequestDtoTypeEnum];
|
|
115
115
|
export const CreateExerciseRequestDtoBodyPartsEnum = {
|
|
116
|
-
Chest: 'CHEST',
|
|
117
|
-
Back: 'BACK',
|
|
118
116
|
Shoulders: 'SHOULDERS',
|
|
119
|
-
|
|
120
|
-
Triceps: 'TRICEPS',
|
|
117
|
+
UpperArms: 'UPPER_ARMS',
|
|
121
118
|
Forearms: 'FOREARMS',
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
119
|
+
Back: 'BACK',
|
|
120
|
+
Chest: 'CHEST',
|
|
121
|
+
Waist: 'WAIST',
|
|
122
|
+
Hips: 'HIPS',
|
|
123
|
+
Thighs: 'THIGHS',
|
|
127
124
|
Calves: 'CALVES'
|
|
128
125
|
} as const;
|
|
129
126
|
|
|
@@ -635,12 +632,6 @@ export interface ExerciseDto {
|
|
|
635
632
|
* @memberof ExerciseDto
|
|
636
633
|
*/
|
|
637
634
|
'description': string;
|
|
638
|
-
/**
|
|
639
|
-
* Exercise image URL
|
|
640
|
-
* @type {string}
|
|
641
|
-
* @memberof ExerciseDto
|
|
642
|
-
*/
|
|
643
|
-
'imgUrl': string;
|
|
644
635
|
/**
|
|
645
636
|
* Exercise type
|
|
646
637
|
* @type {string}
|
|
@@ -700,17 +691,14 @@ export const ExerciseDtoTypeEnum = {
|
|
|
700
691
|
|
|
701
692
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
702
693
|
export const ExerciseDtoBodyPartsEnum = {
|
|
703
|
-
Chest: 'CHEST',
|
|
704
|
-
Back: 'BACK',
|
|
705
694
|
Shoulders: 'SHOULDERS',
|
|
706
|
-
|
|
707
|
-
Triceps: 'TRICEPS',
|
|
695
|
+
UpperArms: 'UPPER_ARMS',
|
|
708
696
|
Forearms: 'FOREARMS',
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
697
|
+
Back: 'BACK',
|
|
698
|
+
Chest: 'CHEST',
|
|
699
|
+
Waist: 'WAIST',
|
|
700
|
+
Hips: 'HIPS',
|
|
701
|
+
Thighs: 'THIGHS',
|
|
714
702
|
Calves: 'CALVES'
|
|
715
703
|
} as const;
|
|
716
704
|
|
|
@@ -799,12 +787,6 @@ export interface ExerciseWithSetsDto {
|
|
|
799
787
|
* @memberof ExerciseWithSetsDto
|
|
800
788
|
*/
|
|
801
789
|
'description': string;
|
|
802
|
-
/**
|
|
803
|
-
* Exercise image URL
|
|
804
|
-
* @type {string}
|
|
805
|
-
* @memberof ExerciseWithSetsDto
|
|
806
|
-
*/
|
|
807
|
-
'imgUrl': string;
|
|
808
790
|
/**
|
|
809
791
|
* Exercise type
|
|
810
792
|
* @type {string}
|
|
@@ -876,17 +858,14 @@ export const ExerciseWithSetsDtoTypeEnum = {
|
|
|
876
858
|
|
|
877
859
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
878
860
|
export const ExerciseWithSetsDtoBodyPartsEnum = {
|
|
879
|
-
Chest: 'CHEST',
|
|
880
|
-
Back: 'BACK',
|
|
881
861
|
Shoulders: 'SHOULDERS',
|
|
882
|
-
|
|
883
|
-
Triceps: 'TRICEPS',
|
|
862
|
+
UpperArms: 'UPPER_ARMS',
|
|
884
863
|
Forearms: 'FOREARMS',
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
864
|
+
Back: 'BACK',
|
|
865
|
+
Chest: 'CHEST',
|
|
866
|
+
Waist: 'WAIST',
|
|
867
|
+
Hips: 'HIPS',
|
|
868
|
+
Thighs: 'THIGHS',
|
|
890
869
|
Calves: 'CALVES'
|
|
891
870
|
} as const;
|
|
892
871
|
|
|
@@ -2395,12 +2374,6 @@ export interface SavedWorkoutDetailsDto {
|
|
|
2395
2374
|
* @memberof SavedWorkoutDetailsDto
|
|
2396
2375
|
*/
|
|
2397
2376
|
'description': string;
|
|
2398
|
-
/**
|
|
2399
|
-
* Saved workout image URL
|
|
2400
|
-
* @type {string}
|
|
2401
|
-
* @memberof SavedWorkoutDetailsDto
|
|
2402
|
-
*/
|
|
2403
|
-
'imageUrl': string;
|
|
2404
2377
|
/**
|
|
2405
2378
|
* Saved workout resource type
|
|
2406
2379
|
* @type {string}
|
|
@@ -2483,12 +2456,6 @@ export interface SavedWorkoutDto {
|
|
|
2483
2456
|
* @memberof SavedWorkoutDto
|
|
2484
2457
|
*/
|
|
2485
2458
|
'description': string;
|
|
2486
|
-
/**
|
|
2487
|
-
* Saved workout image URL
|
|
2488
|
-
* @type {string}
|
|
2489
|
-
* @memberof SavedWorkoutDto
|
|
2490
|
-
*/
|
|
2491
|
-
'imageUrl': string;
|
|
2492
2459
|
/**
|
|
2493
2460
|
* Saved workout resource type
|
|
2494
2461
|
* @type {string}
|
|
@@ -2566,18 +2533,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2566
2533
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2567
2534
|
*/
|
|
2568
2535
|
export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
2569
|
-
/**
|
|
2570
|
-
* The number of CHEST exercises
|
|
2571
|
-
* @type {number}
|
|
2572
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2573
|
-
*/
|
|
2574
|
-
'CHEST'?: number;
|
|
2575
|
-
/**
|
|
2576
|
-
* The number of BACK exercises
|
|
2577
|
-
* @type {number}
|
|
2578
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2579
|
-
*/
|
|
2580
|
-
'BACK'?: number;
|
|
2581
2536
|
/**
|
|
2582
2537
|
* The number of SHOULDERS exercises
|
|
2583
2538
|
* @type {number}
|
|
@@ -2585,17 +2540,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2585
2540
|
*/
|
|
2586
2541
|
'SHOULDERS'?: number;
|
|
2587
2542
|
/**
|
|
2588
|
-
* The number of
|
|
2543
|
+
* The number of UPPER_ARMS exercises
|
|
2589
2544
|
* @type {number}
|
|
2590
2545
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2591
2546
|
*/
|
|
2592
|
-
'
|
|
2593
|
-
/**
|
|
2594
|
-
* The number of TRICEPS exercises
|
|
2595
|
-
* @type {number}
|
|
2596
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2597
|
-
*/
|
|
2598
|
-
'TRICEPS'?: number;
|
|
2547
|
+
'UPPER_ARMS'?: number;
|
|
2599
2548
|
/**
|
|
2600
2549
|
* The number of FOREARMS exercises
|
|
2601
2550
|
* @type {number}
|
|
@@ -2603,35 +2552,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2603
2552
|
*/
|
|
2604
2553
|
'FOREARMS'?: number;
|
|
2605
2554
|
/**
|
|
2606
|
-
* The number of
|
|
2555
|
+
* The number of BACK exercises
|
|
2607
2556
|
* @type {number}
|
|
2608
2557
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2609
2558
|
*/
|
|
2610
|
-
'
|
|
2559
|
+
'BACK'?: number;
|
|
2611
2560
|
/**
|
|
2612
|
-
* The number of
|
|
2561
|
+
* The number of CHEST exercises
|
|
2613
2562
|
* @type {number}
|
|
2614
2563
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2615
2564
|
*/
|
|
2616
|
-
'
|
|
2565
|
+
'CHEST'?: number;
|
|
2617
2566
|
/**
|
|
2618
|
-
* The number of
|
|
2567
|
+
* The number of WAIST exercises
|
|
2619
2568
|
* @type {number}
|
|
2620
2569
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2621
2570
|
*/
|
|
2622
|
-
'
|
|
2571
|
+
'WAIST'?: number;
|
|
2623
2572
|
/**
|
|
2624
|
-
* The number of
|
|
2573
|
+
* The number of HIPS exercises
|
|
2625
2574
|
* @type {number}
|
|
2626
2575
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2627
2576
|
*/
|
|
2628
|
-
'
|
|
2577
|
+
'HIPS'?: number;
|
|
2629
2578
|
/**
|
|
2630
|
-
* The number of
|
|
2579
|
+
* The number of THIGHS exercises
|
|
2631
2580
|
* @type {number}
|
|
2632
2581
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2633
2582
|
*/
|
|
2634
|
-
'
|
|
2583
|
+
'THIGHS'?: number;
|
|
2635
2584
|
/**
|
|
2636
2585
|
* The number of CALVES exercises
|
|
2637
2586
|
* @type {number}
|
|
@@ -6230,7 +6179,7 @@ export const MeasurementsV1ApiAxiosParamCreator = function (configuration?: Conf
|
|
|
6230
6179
|
},
|
|
6231
6180
|
/**
|
|
6232
6181
|
*
|
|
6233
|
-
* @summary Get a specific measurement
|
|
6182
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6234
6183
|
* @param {string} measurementId
|
|
6235
6184
|
* @param {*} [options] Override http request option.
|
|
6236
6185
|
* @throws {RequiredError}
|
|
@@ -6415,7 +6364,7 @@ export const MeasurementsV1ApiFp = function(configuration?: Configuration) {
|
|
|
6415
6364
|
},
|
|
6416
6365
|
/**
|
|
6417
6366
|
*
|
|
6418
|
-
* @summary Get a specific measurement
|
|
6367
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6419
6368
|
* @param {string} measurementId
|
|
6420
6369
|
* @param {*} [options] Override http request option.
|
|
6421
6370
|
* @throws {RequiredError}
|
|
@@ -6512,7 +6461,7 @@ export const MeasurementsV1ApiFactory = function (configuration?: Configuration,
|
|
|
6512
6461
|
},
|
|
6513
6462
|
/**
|
|
6514
6463
|
*
|
|
6515
|
-
* @summary Get a specific measurement
|
|
6464
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6516
6465
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6517
6466
|
* @param {*} [options] Override http request option.
|
|
6518
6467
|
* @throws {RequiredError}
|
|
@@ -6601,7 +6550,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
6601
6550
|
|
|
6602
6551
|
/**
|
|
6603
6552
|
*
|
|
6604
|
-
* @summary Get a specific measurement
|
|
6553
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6605
6554
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6606
6555
|
* @param {*} [options] Override http request option.
|
|
6607
6556
|
* @throws {RequiredError}
|
|
@@ -6884,7 +6833,7 @@ export class MeasurementsV1Api extends BaseAPI implements MeasurementsV1ApiInter
|
|
|
6884
6833
|
|
|
6885
6834
|
/**
|
|
6886
6835
|
*
|
|
6887
|
-
* @summary Get a specific measurement
|
|
6836
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6888
6837
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6889
6838
|
* @param {*} [options] Override http request option.
|
|
6890
6839
|
* @throws {RequiredError}
|
package/dist/api.d.ts
CHANGED
|
@@ -101,17 +101,14 @@ export declare const CreateExerciseRequestDtoTypeEnum: {
|
|
|
101
101
|
};
|
|
102
102
|
export type CreateExerciseRequestDtoTypeEnum = typeof CreateExerciseRequestDtoTypeEnum[keyof typeof CreateExerciseRequestDtoTypeEnum];
|
|
103
103
|
export declare const CreateExerciseRequestDtoBodyPartsEnum: {
|
|
104
|
-
readonly Chest: "CHEST";
|
|
105
|
-
readonly Back: "BACK";
|
|
106
104
|
readonly Shoulders: "SHOULDERS";
|
|
107
|
-
readonly
|
|
108
|
-
readonly Triceps: "TRICEPS";
|
|
105
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
109
106
|
readonly Forearms: "FOREARMS";
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
107
|
+
readonly Back: "BACK";
|
|
108
|
+
readonly Chest: "CHEST";
|
|
109
|
+
readonly Waist: "WAIST";
|
|
110
|
+
readonly Hips: "HIPS";
|
|
111
|
+
readonly Thighs: "THIGHS";
|
|
115
112
|
readonly Calves: "CALVES";
|
|
116
113
|
};
|
|
117
114
|
export type CreateExerciseRequestDtoBodyPartsEnum = typeof CreateExerciseRequestDtoBodyPartsEnum[keyof typeof CreateExerciseRequestDtoBodyPartsEnum];
|
|
@@ -607,12 +604,6 @@ export interface ExerciseDto {
|
|
|
607
604
|
* @memberof ExerciseDto
|
|
608
605
|
*/
|
|
609
606
|
'description': string;
|
|
610
|
-
/**
|
|
611
|
-
* Exercise image URL
|
|
612
|
-
* @type {string}
|
|
613
|
-
* @memberof ExerciseDto
|
|
614
|
-
*/
|
|
615
|
-
'imgUrl': string;
|
|
616
607
|
/**
|
|
617
608
|
* Exercise type
|
|
618
609
|
* @type {string}
|
|
@@ -670,17 +661,14 @@ export declare const ExerciseDtoTypeEnum: {
|
|
|
670
661
|
};
|
|
671
662
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
672
663
|
export declare const ExerciseDtoBodyPartsEnum: {
|
|
673
|
-
readonly Chest: "CHEST";
|
|
674
|
-
readonly Back: "BACK";
|
|
675
664
|
readonly Shoulders: "SHOULDERS";
|
|
676
|
-
readonly
|
|
677
|
-
readonly Triceps: "TRICEPS";
|
|
665
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
678
666
|
readonly Forearms: "FOREARMS";
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
667
|
+
readonly Back: "BACK";
|
|
668
|
+
readonly Chest: "CHEST";
|
|
669
|
+
readonly Waist: "WAIST";
|
|
670
|
+
readonly Hips: "HIPS";
|
|
671
|
+
readonly Thighs: "THIGHS";
|
|
684
672
|
readonly Calves: "CALVES";
|
|
685
673
|
};
|
|
686
674
|
export type ExerciseDtoBodyPartsEnum = typeof ExerciseDtoBodyPartsEnum[keyof typeof ExerciseDtoBodyPartsEnum];
|
|
@@ -765,12 +753,6 @@ export interface ExerciseWithSetsDto {
|
|
|
765
753
|
* @memberof ExerciseWithSetsDto
|
|
766
754
|
*/
|
|
767
755
|
'description': string;
|
|
768
|
-
/**
|
|
769
|
-
* Exercise image URL
|
|
770
|
-
* @type {string}
|
|
771
|
-
* @memberof ExerciseWithSetsDto
|
|
772
|
-
*/
|
|
773
|
-
'imgUrl': string;
|
|
774
756
|
/**
|
|
775
757
|
* Exercise type
|
|
776
758
|
* @type {string}
|
|
@@ -840,17 +822,14 @@ export declare const ExerciseWithSetsDtoTypeEnum: {
|
|
|
840
822
|
};
|
|
841
823
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
842
824
|
export declare const ExerciseWithSetsDtoBodyPartsEnum: {
|
|
843
|
-
readonly Chest: "CHEST";
|
|
844
|
-
readonly Back: "BACK";
|
|
845
825
|
readonly Shoulders: "SHOULDERS";
|
|
846
|
-
readonly
|
|
847
|
-
readonly Triceps: "TRICEPS";
|
|
826
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
848
827
|
readonly Forearms: "FOREARMS";
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
828
|
+
readonly Back: "BACK";
|
|
829
|
+
readonly Chest: "CHEST";
|
|
830
|
+
readonly Waist: "WAIST";
|
|
831
|
+
readonly Hips: "HIPS";
|
|
832
|
+
readonly Thighs: "THIGHS";
|
|
854
833
|
readonly Calves: "CALVES";
|
|
855
834
|
};
|
|
856
835
|
export type ExerciseWithSetsDtoBodyPartsEnum = typeof ExerciseWithSetsDtoBodyPartsEnum[keyof typeof ExerciseWithSetsDtoBodyPartsEnum];
|
|
@@ -2339,12 +2318,6 @@ export interface SavedWorkoutDetailsDto {
|
|
|
2339
2318
|
* @memberof SavedWorkoutDetailsDto
|
|
2340
2319
|
*/
|
|
2341
2320
|
'description': string;
|
|
2342
|
-
/**
|
|
2343
|
-
* Saved workout image URL
|
|
2344
|
-
* @type {string}
|
|
2345
|
-
* @memberof SavedWorkoutDetailsDto
|
|
2346
|
-
*/
|
|
2347
|
-
'imageUrl': string;
|
|
2348
2321
|
/**
|
|
2349
2322
|
* Saved workout resource type
|
|
2350
2323
|
* @type {string}
|
|
@@ -2424,12 +2397,6 @@ export interface SavedWorkoutDto {
|
|
|
2424
2397
|
* @memberof SavedWorkoutDto
|
|
2425
2398
|
*/
|
|
2426
2399
|
'description': string;
|
|
2427
|
-
/**
|
|
2428
|
-
* Saved workout image URL
|
|
2429
|
-
* @type {string}
|
|
2430
|
-
* @memberof SavedWorkoutDto
|
|
2431
|
-
*/
|
|
2432
|
-
'imageUrl': string;
|
|
2433
2400
|
/**
|
|
2434
2401
|
* Saved workout resource type
|
|
2435
2402
|
* @type {string}
|
|
@@ -2504,18 +2471,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2504
2471
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2505
2472
|
*/
|
|
2506
2473
|
export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
2507
|
-
/**
|
|
2508
|
-
* The number of CHEST exercises
|
|
2509
|
-
* @type {number}
|
|
2510
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2511
|
-
*/
|
|
2512
|
-
'CHEST'?: number;
|
|
2513
|
-
/**
|
|
2514
|
-
* The number of BACK exercises
|
|
2515
|
-
* @type {number}
|
|
2516
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2517
|
-
*/
|
|
2518
|
-
'BACK'?: number;
|
|
2519
2474
|
/**
|
|
2520
2475
|
* The number of SHOULDERS exercises
|
|
2521
2476
|
* @type {number}
|
|
@@ -2523,17 +2478,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2523
2478
|
*/
|
|
2524
2479
|
'SHOULDERS'?: number;
|
|
2525
2480
|
/**
|
|
2526
|
-
* The number of
|
|
2481
|
+
* The number of UPPER_ARMS exercises
|
|
2527
2482
|
* @type {number}
|
|
2528
2483
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2529
2484
|
*/
|
|
2530
|
-
'
|
|
2531
|
-
/**
|
|
2532
|
-
* The number of TRICEPS exercises
|
|
2533
|
-
* @type {number}
|
|
2534
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2535
|
-
*/
|
|
2536
|
-
'TRICEPS'?: number;
|
|
2485
|
+
'UPPER_ARMS'?: number;
|
|
2537
2486
|
/**
|
|
2538
2487
|
* The number of FOREARMS exercises
|
|
2539
2488
|
* @type {number}
|
|
@@ -2541,35 +2490,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2541
2490
|
*/
|
|
2542
2491
|
'FOREARMS'?: number;
|
|
2543
2492
|
/**
|
|
2544
|
-
* The number of
|
|
2493
|
+
* The number of BACK exercises
|
|
2545
2494
|
* @type {number}
|
|
2546
2495
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2547
2496
|
*/
|
|
2548
|
-
'
|
|
2497
|
+
'BACK'?: number;
|
|
2549
2498
|
/**
|
|
2550
|
-
* The number of
|
|
2499
|
+
* The number of CHEST exercises
|
|
2551
2500
|
* @type {number}
|
|
2552
2501
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2553
2502
|
*/
|
|
2554
|
-
'
|
|
2503
|
+
'CHEST'?: number;
|
|
2555
2504
|
/**
|
|
2556
|
-
* The number of
|
|
2505
|
+
* The number of WAIST exercises
|
|
2557
2506
|
* @type {number}
|
|
2558
2507
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2559
2508
|
*/
|
|
2560
|
-
'
|
|
2509
|
+
'WAIST'?: number;
|
|
2561
2510
|
/**
|
|
2562
|
-
* The number of
|
|
2511
|
+
* The number of HIPS exercises
|
|
2563
2512
|
* @type {number}
|
|
2564
2513
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2565
2514
|
*/
|
|
2566
|
-
'
|
|
2515
|
+
'HIPS'?: number;
|
|
2567
2516
|
/**
|
|
2568
|
-
* The number of
|
|
2517
|
+
* The number of THIGHS exercises
|
|
2569
2518
|
* @type {number}
|
|
2570
2519
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2571
2520
|
*/
|
|
2572
|
-
'
|
|
2521
|
+
'THIGHS'?: number;
|
|
2573
2522
|
/**
|
|
2574
2523
|
* The number of CALVES exercises
|
|
2575
2524
|
* @type {number}
|
|
@@ -4729,7 +4678,7 @@ export declare const MeasurementsV1ApiAxiosParamCreator: (configuration?: Config
|
|
|
4729
4678
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId: (groupId: string, measurementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4730
4679
|
/**
|
|
4731
4680
|
*
|
|
4732
|
-
* @summary Get a specific measurement
|
|
4681
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4733
4682
|
* @param {string} measurementId
|
|
4734
4683
|
* @param {*} [options] Override http request option.
|
|
4735
4684
|
* @throws {RequiredError}
|
|
@@ -4809,7 +4758,7 @@ export declare const MeasurementsV1ApiFp: (configuration?: Configuration) => {
|
|
|
4809
4758
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(groupId: string, measurementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeasurementDto>>;
|
|
4810
4759
|
/**
|
|
4811
4760
|
*
|
|
4812
|
-
* @summary Get a specific measurement
|
|
4761
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4813
4762
|
* @param {string} measurementId
|
|
4814
4763
|
* @param {*} [options] Override http request option.
|
|
4815
4764
|
* @throws {RequiredError}
|
|
@@ -4880,7 +4829,7 @@ export declare const MeasurementsV1ApiFactory: (configuration?: Configuration, b
|
|
|
4880
4829
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4881
4830
|
/**
|
|
4882
4831
|
*
|
|
4883
|
-
* @summary Get a specific measurement
|
|
4832
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4884
4833
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4885
4834
|
* @param {*} [options] Override http request option.
|
|
4886
4835
|
* @throws {RequiredError}
|
|
@@ -4957,7 +4906,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
4957
4906
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4958
4907
|
/**
|
|
4959
4908
|
*
|
|
4960
|
-
* @summary Get a specific measurement
|
|
4909
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4961
4910
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4962
4911
|
* @param {*} [options] Override http request option.
|
|
4963
4912
|
* @throws {RequiredError}
|
|
@@ -5201,7 +5150,7 @@ export declare class MeasurementsV1Api extends BaseAPI implements MeasurementsV1
|
|
|
5201
5150
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MeasurementDto, any, {}>>;
|
|
5202
5151
|
/**
|
|
5203
5152
|
*
|
|
5204
|
-
* @summary Get a specific measurement
|
|
5153
|
+
* @summary Get a specific measurement for the authenticated user
|
|
5205
5154
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
5206
5155
|
* @param {*} [options] Override http request option.
|
|
5207
5156
|
* @throws {RequiredError}
|
package/dist/api.js
CHANGED
|
@@ -37,17 +37,14 @@ exports.CreateExerciseRequestDtoTypeEnum = {
|
|
|
37
37
|
BodyWeight: 'BODY_WEIGHT'
|
|
38
38
|
};
|
|
39
39
|
exports.CreateExerciseRequestDtoBodyPartsEnum = {
|
|
40
|
-
Chest: 'CHEST',
|
|
41
|
-
Back: 'BACK',
|
|
42
40
|
Shoulders: 'SHOULDERS',
|
|
43
|
-
|
|
44
|
-
Triceps: 'TRICEPS',
|
|
41
|
+
UpperArms: 'UPPER_ARMS',
|
|
45
42
|
Forearms: 'FOREARMS',
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
Back: 'BACK',
|
|
44
|
+
Chest: 'CHEST',
|
|
45
|
+
Waist: 'WAIST',
|
|
46
|
+
Hips: 'HIPS',
|
|
47
|
+
Thighs: 'THIGHS',
|
|
51
48
|
Calves: 'CALVES'
|
|
52
49
|
};
|
|
53
50
|
exports.CreateExerciseRequestDtoEquipmentEnum = {
|
|
@@ -112,17 +109,14 @@ exports.ExerciseDtoTypeEnum = {
|
|
|
112
109
|
BodyWeight: 'BODY_WEIGHT'
|
|
113
110
|
};
|
|
114
111
|
exports.ExerciseDtoBodyPartsEnum = {
|
|
115
|
-
Chest: 'CHEST',
|
|
116
|
-
Back: 'BACK',
|
|
117
112
|
Shoulders: 'SHOULDERS',
|
|
118
|
-
|
|
119
|
-
Triceps: 'TRICEPS',
|
|
113
|
+
UpperArms: 'UPPER_ARMS',
|
|
120
114
|
Forearms: 'FOREARMS',
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
115
|
+
Back: 'BACK',
|
|
116
|
+
Chest: 'CHEST',
|
|
117
|
+
Waist: 'WAIST',
|
|
118
|
+
Hips: 'HIPS',
|
|
119
|
+
Thighs: 'THIGHS',
|
|
126
120
|
Calves: 'CALVES'
|
|
127
121
|
};
|
|
128
122
|
exports.ExerciseDtoEquipmentEnum = {
|
|
@@ -162,17 +156,14 @@ exports.ExerciseWithSetsDtoTypeEnum = {
|
|
|
162
156
|
BodyWeight: 'BODY_WEIGHT'
|
|
163
157
|
};
|
|
164
158
|
exports.ExerciseWithSetsDtoBodyPartsEnum = {
|
|
165
|
-
Chest: 'CHEST',
|
|
166
|
-
Back: 'BACK',
|
|
167
159
|
Shoulders: 'SHOULDERS',
|
|
168
|
-
|
|
169
|
-
Triceps: 'TRICEPS',
|
|
160
|
+
UpperArms: 'UPPER_ARMS',
|
|
170
161
|
Forearms: 'FOREARMS',
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
162
|
+
Back: 'BACK',
|
|
163
|
+
Chest: 'CHEST',
|
|
164
|
+
Waist: 'WAIST',
|
|
165
|
+
Hips: 'HIPS',
|
|
166
|
+
Thighs: 'THIGHS',
|
|
176
167
|
Calves: 'CALVES'
|
|
177
168
|
};
|
|
178
169
|
exports.ExerciseWithSetsDtoEquipmentEnum = {
|
|
@@ -2411,7 +2402,7 @@ const MeasurementsV1ApiAxiosParamCreator = function (configuration) {
|
|
|
2411
2402
|
}),
|
|
2412
2403
|
/**
|
|
2413
2404
|
*
|
|
2414
|
-
* @summary Get a specific measurement
|
|
2405
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2415
2406
|
* @param {string} measurementId
|
|
2416
2407
|
* @param {*} [options] Override http request option.
|
|
2417
2408
|
* @throws {RequiredError}
|
|
@@ -2599,7 +2590,7 @@ const MeasurementsV1ApiFp = function (configuration) {
|
|
|
2599
2590
|
},
|
|
2600
2591
|
/**
|
|
2601
2592
|
*
|
|
2602
|
-
* @summary Get a specific measurement
|
|
2593
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2603
2594
|
* @param {string} measurementId
|
|
2604
2595
|
* @param {*} [options] Override http request option.
|
|
2605
2596
|
* @throws {RequiredError}
|
|
@@ -2702,7 +2693,7 @@ const MeasurementsV1ApiFactory = function (configuration, basePath, axios) {
|
|
|
2702
2693
|
},
|
|
2703
2694
|
/**
|
|
2704
2695
|
*
|
|
2705
|
-
* @summary Get a specific measurement
|
|
2696
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2706
2697
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
2707
2698
|
* @param {*} [options] Override http request option.
|
|
2708
2699
|
* @throws {RequiredError}
|
|
@@ -2798,7 +2789,7 @@ class MeasurementsV1Api extends base_1.BaseAPI {
|
|
|
2798
2789
|
}
|
|
2799
2790
|
/**
|
|
2800
2791
|
*
|
|
2801
|
-
* @summary Get a specific measurement
|
|
2792
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2802
2793
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
2803
2794
|
* @param {*} [options] Override http request option.
|
|
2804
2795
|
* @throws {RequiredError}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -101,17 +101,14 @@ export declare const CreateExerciseRequestDtoTypeEnum: {
|
|
|
101
101
|
};
|
|
102
102
|
export type CreateExerciseRequestDtoTypeEnum = typeof CreateExerciseRequestDtoTypeEnum[keyof typeof CreateExerciseRequestDtoTypeEnum];
|
|
103
103
|
export declare const CreateExerciseRequestDtoBodyPartsEnum: {
|
|
104
|
-
readonly Chest: "CHEST";
|
|
105
|
-
readonly Back: "BACK";
|
|
106
104
|
readonly Shoulders: "SHOULDERS";
|
|
107
|
-
readonly
|
|
108
|
-
readonly Triceps: "TRICEPS";
|
|
105
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
109
106
|
readonly Forearms: "FOREARMS";
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
107
|
+
readonly Back: "BACK";
|
|
108
|
+
readonly Chest: "CHEST";
|
|
109
|
+
readonly Waist: "WAIST";
|
|
110
|
+
readonly Hips: "HIPS";
|
|
111
|
+
readonly Thighs: "THIGHS";
|
|
115
112
|
readonly Calves: "CALVES";
|
|
116
113
|
};
|
|
117
114
|
export type CreateExerciseRequestDtoBodyPartsEnum = typeof CreateExerciseRequestDtoBodyPartsEnum[keyof typeof CreateExerciseRequestDtoBodyPartsEnum];
|
|
@@ -607,12 +604,6 @@ export interface ExerciseDto {
|
|
|
607
604
|
* @memberof ExerciseDto
|
|
608
605
|
*/
|
|
609
606
|
'description': string;
|
|
610
|
-
/**
|
|
611
|
-
* Exercise image URL
|
|
612
|
-
* @type {string}
|
|
613
|
-
* @memberof ExerciseDto
|
|
614
|
-
*/
|
|
615
|
-
'imgUrl': string;
|
|
616
607
|
/**
|
|
617
608
|
* Exercise type
|
|
618
609
|
* @type {string}
|
|
@@ -670,17 +661,14 @@ export declare const ExerciseDtoTypeEnum: {
|
|
|
670
661
|
};
|
|
671
662
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
672
663
|
export declare const ExerciseDtoBodyPartsEnum: {
|
|
673
|
-
readonly Chest: "CHEST";
|
|
674
|
-
readonly Back: "BACK";
|
|
675
664
|
readonly Shoulders: "SHOULDERS";
|
|
676
|
-
readonly
|
|
677
|
-
readonly Triceps: "TRICEPS";
|
|
665
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
678
666
|
readonly Forearms: "FOREARMS";
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
667
|
+
readonly Back: "BACK";
|
|
668
|
+
readonly Chest: "CHEST";
|
|
669
|
+
readonly Waist: "WAIST";
|
|
670
|
+
readonly Hips: "HIPS";
|
|
671
|
+
readonly Thighs: "THIGHS";
|
|
684
672
|
readonly Calves: "CALVES";
|
|
685
673
|
};
|
|
686
674
|
export type ExerciseDtoBodyPartsEnum = typeof ExerciseDtoBodyPartsEnum[keyof typeof ExerciseDtoBodyPartsEnum];
|
|
@@ -765,12 +753,6 @@ export interface ExerciseWithSetsDto {
|
|
|
765
753
|
* @memberof ExerciseWithSetsDto
|
|
766
754
|
*/
|
|
767
755
|
'description': string;
|
|
768
|
-
/**
|
|
769
|
-
* Exercise image URL
|
|
770
|
-
* @type {string}
|
|
771
|
-
* @memberof ExerciseWithSetsDto
|
|
772
|
-
*/
|
|
773
|
-
'imgUrl': string;
|
|
774
756
|
/**
|
|
775
757
|
* Exercise type
|
|
776
758
|
* @type {string}
|
|
@@ -840,17 +822,14 @@ export declare const ExerciseWithSetsDtoTypeEnum: {
|
|
|
840
822
|
};
|
|
841
823
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
842
824
|
export declare const ExerciseWithSetsDtoBodyPartsEnum: {
|
|
843
|
-
readonly Chest: "CHEST";
|
|
844
|
-
readonly Back: "BACK";
|
|
845
825
|
readonly Shoulders: "SHOULDERS";
|
|
846
|
-
readonly
|
|
847
|
-
readonly Triceps: "TRICEPS";
|
|
826
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
848
827
|
readonly Forearms: "FOREARMS";
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
828
|
+
readonly Back: "BACK";
|
|
829
|
+
readonly Chest: "CHEST";
|
|
830
|
+
readonly Waist: "WAIST";
|
|
831
|
+
readonly Hips: "HIPS";
|
|
832
|
+
readonly Thighs: "THIGHS";
|
|
854
833
|
readonly Calves: "CALVES";
|
|
855
834
|
};
|
|
856
835
|
export type ExerciseWithSetsDtoBodyPartsEnum = typeof ExerciseWithSetsDtoBodyPartsEnum[keyof typeof ExerciseWithSetsDtoBodyPartsEnum];
|
|
@@ -2339,12 +2318,6 @@ export interface SavedWorkoutDetailsDto {
|
|
|
2339
2318
|
* @memberof SavedWorkoutDetailsDto
|
|
2340
2319
|
*/
|
|
2341
2320
|
'description': string;
|
|
2342
|
-
/**
|
|
2343
|
-
* Saved workout image URL
|
|
2344
|
-
* @type {string}
|
|
2345
|
-
* @memberof SavedWorkoutDetailsDto
|
|
2346
|
-
*/
|
|
2347
|
-
'imageUrl': string;
|
|
2348
2321
|
/**
|
|
2349
2322
|
* Saved workout resource type
|
|
2350
2323
|
* @type {string}
|
|
@@ -2424,12 +2397,6 @@ export interface SavedWorkoutDto {
|
|
|
2424
2397
|
* @memberof SavedWorkoutDto
|
|
2425
2398
|
*/
|
|
2426
2399
|
'description': string;
|
|
2427
|
-
/**
|
|
2428
|
-
* Saved workout image URL
|
|
2429
|
-
* @type {string}
|
|
2430
|
-
* @memberof SavedWorkoutDto
|
|
2431
|
-
*/
|
|
2432
|
-
'imageUrl': string;
|
|
2433
2400
|
/**
|
|
2434
2401
|
* Saved workout resource type
|
|
2435
2402
|
* @type {string}
|
|
@@ -2504,18 +2471,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2504
2471
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2505
2472
|
*/
|
|
2506
2473
|
export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
2507
|
-
/**
|
|
2508
|
-
* The number of CHEST exercises
|
|
2509
|
-
* @type {number}
|
|
2510
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2511
|
-
*/
|
|
2512
|
-
'CHEST'?: number;
|
|
2513
|
-
/**
|
|
2514
|
-
* The number of BACK exercises
|
|
2515
|
-
* @type {number}
|
|
2516
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2517
|
-
*/
|
|
2518
|
-
'BACK'?: number;
|
|
2519
2474
|
/**
|
|
2520
2475
|
* The number of SHOULDERS exercises
|
|
2521
2476
|
* @type {number}
|
|
@@ -2523,17 +2478,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2523
2478
|
*/
|
|
2524
2479
|
'SHOULDERS'?: number;
|
|
2525
2480
|
/**
|
|
2526
|
-
* The number of
|
|
2481
|
+
* The number of UPPER_ARMS exercises
|
|
2527
2482
|
* @type {number}
|
|
2528
2483
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2529
2484
|
*/
|
|
2530
|
-
'
|
|
2531
|
-
/**
|
|
2532
|
-
* The number of TRICEPS exercises
|
|
2533
|
-
* @type {number}
|
|
2534
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2535
|
-
*/
|
|
2536
|
-
'TRICEPS'?: number;
|
|
2485
|
+
'UPPER_ARMS'?: number;
|
|
2537
2486
|
/**
|
|
2538
2487
|
* The number of FOREARMS exercises
|
|
2539
2488
|
* @type {number}
|
|
@@ -2541,35 +2490,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2541
2490
|
*/
|
|
2542
2491
|
'FOREARMS'?: number;
|
|
2543
2492
|
/**
|
|
2544
|
-
* The number of
|
|
2493
|
+
* The number of BACK exercises
|
|
2545
2494
|
* @type {number}
|
|
2546
2495
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2547
2496
|
*/
|
|
2548
|
-
'
|
|
2497
|
+
'BACK'?: number;
|
|
2549
2498
|
/**
|
|
2550
|
-
* The number of
|
|
2499
|
+
* The number of CHEST exercises
|
|
2551
2500
|
* @type {number}
|
|
2552
2501
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2553
2502
|
*/
|
|
2554
|
-
'
|
|
2503
|
+
'CHEST'?: number;
|
|
2555
2504
|
/**
|
|
2556
|
-
* The number of
|
|
2505
|
+
* The number of WAIST exercises
|
|
2557
2506
|
* @type {number}
|
|
2558
2507
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2559
2508
|
*/
|
|
2560
|
-
'
|
|
2509
|
+
'WAIST'?: number;
|
|
2561
2510
|
/**
|
|
2562
|
-
* The number of
|
|
2511
|
+
* The number of HIPS exercises
|
|
2563
2512
|
* @type {number}
|
|
2564
2513
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2565
2514
|
*/
|
|
2566
|
-
'
|
|
2515
|
+
'HIPS'?: number;
|
|
2567
2516
|
/**
|
|
2568
|
-
* The number of
|
|
2517
|
+
* The number of THIGHS exercises
|
|
2569
2518
|
* @type {number}
|
|
2570
2519
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2571
2520
|
*/
|
|
2572
|
-
'
|
|
2521
|
+
'THIGHS'?: number;
|
|
2573
2522
|
/**
|
|
2574
2523
|
* The number of CALVES exercises
|
|
2575
2524
|
* @type {number}
|
|
@@ -4729,7 +4678,7 @@ export declare const MeasurementsV1ApiAxiosParamCreator: (configuration?: Config
|
|
|
4729
4678
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId: (groupId: string, measurementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4730
4679
|
/**
|
|
4731
4680
|
*
|
|
4732
|
-
* @summary Get a specific measurement
|
|
4681
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4733
4682
|
* @param {string} measurementId
|
|
4734
4683
|
* @param {*} [options] Override http request option.
|
|
4735
4684
|
* @throws {RequiredError}
|
|
@@ -4809,7 +4758,7 @@ export declare const MeasurementsV1ApiFp: (configuration?: Configuration) => {
|
|
|
4809
4758
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(groupId: string, measurementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeasurementDto>>;
|
|
4810
4759
|
/**
|
|
4811
4760
|
*
|
|
4812
|
-
* @summary Get a specific measurement
|
|
4761
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4813
4762
|
* @param {string} measurementId
|
|
4814
4763
|
* @param {*} [options] Override http request option.
|
|
4815
4764
|
* @throws {RequiredError}
|
|
@@ -4880,7 +4829,7 @@ export declare const MeasurementsV1ApiFactory: (configuration?: Configuration, b
|
|
|
4880
4829
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4881
4830
|
/**
|
|
4882
4831
|
*
|
|
4883
|
-
* @summary Get a specific measurement
|
|
4832
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4884
4833
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4885
4834
|
* @param {*} [options] Override http request option.
|
|
4886
4835
|
* @throws {RequiredError}
|
|
@@ -4957,7 +4906,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
4957
4906
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4958
4907
|
/**
|
|
4959
4908
|
*
|
|
4960
|
-
* @summary Get a specific measurement
|
|
4909
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4961
4910
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4962
4911
|
* @param {*} [options] Override http request option.
|
|
4963
4912
|
* @throws {RequiredError}
|
|
@@ -5201,7 +5150,7 @@ export declare class MeasurementsV1Api extends BaseAPI implements MeasurementsV1
|
|
|
5201
5150
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MeasurementDto, any, {}>>;
|
|
5202
5151
|
/**
|
|
5203
5152
|
*
|
|
5204
|
-
* @summary Get a specific measurement
|
|
5153
|
+
* @summary Get a specific measurement for the authenticated user
|
|
5205
5154
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
5206
5155
|
* @param {*} [options] Override http request option.
|
|
5207
5156
|
* @throws {RequiredError}
|
package/dist/esm/api.js
CHANGED
|
@@ -33,17 +33,14 @@ export const CreateExerciseRequestDtoTypeEnum = {
|
|
|
33
33
|
BodyWeight: 'BODY_WEIGHT'
|
|
34
34
|
};
|
|
35
35
|
export const CreateExerciseRequestDtoBodyPartsEnum = {
|
|
36
|
-
Chest: 'CHEST',
|
|
37
|
-
Back: 'BACK',
|
|
38
36
|
Shoulders: 'SHOULDERS',
|
|
39
|
-
|
|
40
|
-
Triceps: 'TRICEPS',
|
|
37
|
+
UpperArms: 'UPPER_ARMS',
|
|
41
38
|
Forearms: 'FOREARMS',
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
Back: 'BACK',
|
|
40
|
+
Chest: 'CHEST',
|
|
41
|
+
Waist: 'WAIST',
|
|
42
|
+
Hips: 'HIPS',
|
|
43
|
+
Thighs: 'THIGHS',
|
|
47
44
|
Calves: 'CALVES'
|
|
48
45
|
};
|
|
49
46
|
export const CreateExerciseRequestDtoEquipmentEnum = {
|
|
@@ -108,17 +105,14 @@ export const ExerciseDtoTypeEnum = {
|
|
|
108
105
|
BodyWeight: 'BODY_WEIGHT'
|
|
109
106
|
};
|
|
110
107
|
export const ExerciseDtoBodyPartsEnum = {
|
|
111
|
-
Chest: 'CHEST',
|
|
112
|
-
Back: 'BACK',
|
|
113
108
|
Shoulders: 'SHOULDERS',
|
|
114
|
-
|
|
115
|
-
Triceps: 'TRICEPS',
|
|
109
|
+
UpperArms: 'UPPER_ARMS',
|
|
116
110
|
Forearms: 'FOREARMS',
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
111
|
+
Back: 'BACK',
|
|
112
|
+
Chest: 'CHEST',
|
|
113
|
+
Waist: 'WAIST',
|
|
114
|
+
Hips: 'HIPS',
|
|
115
|
+
Thighs: 'THIGHS',
|
|
122
116
|
Calves: 'CALVES'
|
|
123
117
|
};
|
|
124
118
|
export const ExerciseDtoEquipmentEnum = {
|
|
@@ -158,17 +152,14 @@ export const ExerciseWithSetsDtoTypeEnum = {
|
|
|
158
152
|
BodyWeight: 'BODY_WEIGHT'
|
|
159
153
|
};
|
|
160
154
|
export const ExerciseWithSetsDtoBodyPartsEnum = {
|
|
161
|
-
Chest: 'CHEST',
|
|
162
|
-
Back: 'BACK',
|
|
163
155
|
Shoulders: 'SHOULDERS',
|
|
164
|
-
|
|
165
|
-
Triceps: 'TRICEPS',
|
|
156
|
+
UpperArms: 'UPPER_ARMS',
|
|
166
157
|
Forearms: 'FOREARMS',
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
158
|
+
Back: 'BACK',
|
|
159
|
+
Chest: 'CHEST',
|
|
160
|
+
Waist: 'WAIST',
|
|
161
|
+
Hips: 'HIPS',
|
|
162
|
+
Thighs: 'THIGHS',
|
|
172
163
|
Calves: 'CALVES'
|
|
173
164
|
};
|
|
174
165
|
export const ExerciseWithSetsDtoEquipmentEnum = {
|
|
@@ -2391,7 +2382,7 @@ export const MeasurementsV1ApiAxiosParamCreator = function (configuration) {
|
|
|
2391
2382
|
}),
|
|
2392
2383
|
/**
|
|
2393
2384
|
*
|
|
2394
|
-
* @summary Get a specific measurement
|
|
2385
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2395
2386
|
* @param {string} measurementId
|
|
2396
2387
|
* @param {*} [options] Override http request option.
|
|
2397
2388
|
* @throws {RequiredError}
|
|
@@ -2578,7 +2569,7 @@ export const MeasurementsV1ApiFp = function (configuration) {
|
|
|
2578
2569
|
},
|
|
2579
2570
|
/**
|
|
2580
2571
|
*
|
|
2581
|
-
* @summary Get a specific measurement
|
|
2572
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2582
2573
|
* @param {string} measurementId
|
|
2583
2574
|
* @param {*} [options] Override http request option.
|
|
2584
2575
|
* @throws {RequiredError}
|
|
@@ -2680,7 +2671,7 @@ export const MeasurementsV1ApiFactory = function (configuration, basePath, axios
|
|
|
2680
2671
|
},
|
|
2681
2672
|
/**
|
|
2682
2673
|
*
|
|
2683
|
-
* @summary Get a specific measurement
|
|
2674
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2684
2675
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
2685
2676
|
* @param {*} [options] Override http request option.
|
|
2686
2677
|
* @throws {RequiredError}
|
|
@@ -2775,7 +2766,7 @@ export class MeasurementsV1Api extends BaseAPI {
|
|
|
2775
2766
|
}
|
|
2776
2767
|
/**
|
|
2777
2768
|
*
|
|
2778
|
-
* @summary Get a specific measurement
|
|
2769
|
+
* @summary Get a specific measurement for the authenticated user
|
|
2779
2770
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
2780
2771
|
* @param {*} [options] Override http request option.
|
|
2781
2772
|
* @throws {RequiredError}
|
package/docs/ExerciseDto.md
CHANGED
|
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | Exercise ID | [default to undefined]
|
|
9
9
|
**name** | **string** | Exercise name | [default to undefined]
|
|
10
10
|
**description** | **string** | Exercise description | [default to undefined]
|
|
11
|
-
**imgUrl** | **string** | Exercise image URL | [default to undefined]
|
|
12
11
|
**type** | **string** | Exercise type | [default to undefined]
|
|
13
12
|
**bodyParts** | **Array<string>** | Exercise body parts | [default to undefined]
|
|
14
13
|
**equipment** | **Array<string>** | Exercise equipment | [default to undefined]
|
|
@@ -27,7 +26,6 @@ const instance: ExerciseDto = {
|
|
|
27
26
|
id,
|
|
28
27
|
name,
|
|
29
28
|
description,
|
|
30
|
-
imgUrl,
|
|
31
29
|
type,
|
|
32
30
|
bodyParts,
|
|
33
31
|
equipment,
|
|
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | Exercise ID | [default to undefined]
|
|
9
9
|
**name** | **string** | Exercise name | [default to undefined]
|
|
10
10
|
**description** | **string** | Exercise description | [default to undefined]
|
|
11
|
-
**imgUrl** | **string** | Exercise image URL | [default to undefined]
|
|
12
11
|
**type** | **string** | Exercise type | [default to undefined]
|
|
13
12
|
**bodyParts** | **Array<string>** | Exercise body parts | [default to undefined]
|
|
14
13
|
**equipment** | **Array<string>** | Exercise equipment | [default to undefined]
|
|
@@ -29,7 +28,6 @@ const instance: ExerciseWithSetsDto = {
|
|
|
29
28
|
id,
|
|
30
29
|
name,
|
|
31
30
|
description,
|
|
32
|
-
imgUrl,
|
|
33
31
|
type,
|
|
34
32
|
bodyParts,
|
|
35
33
|
equipment,
|
|
@@ -10,7 +10,7 @@ All URIs are relative to *http://localhost*
|
|
|
10
10
|
|[**measurementsV1ControllerGetAllByUserIdAdmin**](#measurementsv1controllergetallbyuseridadmin) | **GET** /api/measurements/v1/group/{groupId} | Get all measurements for the group|
|
|
11
11
|
|[**measurementsV1ControllerGetByUserIdPaginated**](#measurementsv1controllergetbyuseridpaginated) | **GET** /api/measurements/v1 | Get all measurements for the authenticated user (paginated)|
|
|
12
12
|
|[**measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId**](#measurementsv1controllergetmeasurementbygroupidandmeasurementid) | **GET** /api/measurements/v1/group/{groupId}/{measurementId} | Get a measurement by group and measurement ID|
|
|
13
|
-
|[**measurementsV1ControllerGetMeasurementById**](#measurementsv1controllergetmeasurementbyid) | **GET** /api/measurements/v1/{measurementId} | Get a specific measurement
|
|
13
|
+
|[**measurementsV1ControllerGetMeasurementById**](#measurementsv1controllergetmeasurementbyid) | **GET** /api/measurements/v1/{measurementId} | Get a specific measurement for the authenticated user|
|
|
14
14
|
|[**measurementsV1ControllerUpdateMeasurement**](#measurementsv1controllerupdatemeasurement) | **PATCH** /api/measurements/v1/{measurementId} | Update a specific measurement for the authenticated user|
|
|
15
15
|
|
|
16
16
|
# **measurementsV1ControllerCreateMeasurement**
|
|
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | Saved workout ID | [default to undefined]
|
|
9
9
|
**name** | **string** | Saved workout name | [default to undefined]
|
|
10
10
|
**description** | **string** | Saved workout description | [default to undefined]
|
|
11
|
-
**imageUrl** | **string** | Saved workout image URL | [default to undefined]
|
|
12
11
|
**ResourceType** | **string** | Saved workout resource type | [default to undefined]
|
|
13
12
|
**workoutExerciseMeta** | [**SavedWorkoutWorkoutExerciseMetaDto**](SavedWorkoutWorkoutExerciseMetaDto.md) | | [default to undefined]
|
|
14
13
|
**userId** | **object** | User ID | [optional] [default to undefined]
|
|
@@ -27,7 +26,6 @@ const instance: SavedWorkoutDetailsDto = {
|
|
|
27
26
|
id,
|
|
28
27
|
name,
|
|
29
28
|
description,
|
|
30
|
-
imageUrl,
|
|
31
29
|
ResourceType,
|
|
32
30
|
workoutExerciseMeta,
|
|
33
31
|
userId,
|
package/docs/SavedWorkoutDto.md
CHANGED
|
@@ -8,7 +8,6 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | Saved workout ID | [default to undefined]
|
|
9
9
|
**name** | **string** | Saved workout name | [default to undefined]
|
|
10
10
|
**description** | **string** | Saved workout description | [default to undefined]
|
|
11
|
-
**imageUrl** | **string** | Saved workout image URL | [default to undefined]
|
|
12
11
|
**ResourceType** | **string** | Saved workout resource type | [default to undefined]
|
|
13
12
|
**workoutExerciseMeta** | [**SavedWorkoutWorkoutExerciseMetaDto**](SavedWorkoutWorkoutExerciseMetaDto.md) | | [default to undefined]
|
|
14
13
|
**userId** | **object** | User ID | [optional] [default to undefined]
|
|
@@ -26,7 +25,6 @@ const instance: SavedWorkoutDto = {
|
|
|
26
25
|
id,
|
|
27
26
|
name,
|
|
28
27
|
description,
|
|
29
|
-
imageUrl,
|
|
30
28
|
ResourceType,
|
|
31
29
|
workoutExerciseMeta,
|
|
32
30
|
userId,
|
|
@@ -6,17 +6,14 @@ Body parts workout meta
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**CHEST** | **number** | The number of CHEST exercises | [optional] [default to undefined]
|
|
10
|
-
**BACK** | **number** | The number of BACK exercises | [optional] [default to undefined]
|
|
11
9
|
**SHOULDERS** | **number** | The number of SHOULDERS exercises | [optional] [default to undefined]
|
|
12
|
-
**
|
|
13
|
-
**TRICEPS** | **number** | The number of TRICEPS exercises | [optional] [default to undefined]
|
|
10
|
+
**UPPER_ARMS** | **number** | The number of UPPER_ARMS exercises | [optional] [default to undefined]
|
|
14
11
|
**FOREARMS** | **number** | The number of FOREARMS exercises | [optional] [default to undefined]
|
|
15
|
-
**
|
|
16
|
-
**
|
|
17
|
-
**
|
|
18
|
-
**
|
|
19
|
-
**
|
|
12
|
+
**BACK** | **number** | The number of BACK exercises | [optional] [default to undefined]
|
|
13
|
+
**CHEST** | **number** | The number of CHEST exercises | [optional] [default to undefined]
|
|
14
|
+
**WAIST** | **number** | The number of WAIST exercises | [optional] [default to undefined]
|
|
15
|
+
**HIPS** | **number** | The number of HIPS exercises | [optional] [default to undefined]
|
|
16
|
+
**THIGHS** | **number** | The number of THIGHS exercises | [optional] [default to undefined]
|
|
20
17
|
**CALVES** | **number** | The number of CALVES exercises | [optional] [default to undefined]
|
|
21
18
|
|
|
22
19
|
## Example
|
|
@@ -25,17 +22,14 @@ Name | Type | Description | Notes
|
|
|
25
22
|
import { SavedWorkoutWorkoutExerciseMetaDtoBodyParts } from '@dimrev4/fitness-v3-backend-sdk';
|
|
26
23
|
|
|
27
24
|
const instance: SavedWorkoutWorkoutExerciseMetaDtoBodyParts = {
|
|
28
|
-
CHEST,
|
|
29
|
-
BACK,
|
|
30
25
|
SHOULDERS,
|
|
31
|
-
|
|
32
|
-
TRICEPS,
|
|
26
|
+
UPPER_ARMS,
|
|
33
27
|
FOREARMS,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
BACK,
|
|
29
|
+
CHEST,
|
|
30
|
+
WAIST,
|
|
31
|
+
HIPS,
|
|
32
|
+
THIGHS,
|
|
39
33
|
CALVES,
|
|
40
34
|
};
|
|
41
35
|
```
|