@dimrev4/fitness-v3-backend 0.0.37 → 0.0.38
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 -62
- package/dist/api.d.ts +35 -62
- package/dist/api.js +22 -31
- package/dist/esm/api.d.ts +35 -62
- package/dist/esm/api.js +22 -31
- package/docs/MeasurementsV1Api.md +1 -1
- 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
|
|
|
@@ -700,17 +697,14 @@ export const ExerciseDtoTypeEnum = {
|
|
|
700
697
|
|
|
701
698
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
702
699
|
export const ExerciseDtoBodyPartsEnum = {
|
|
703
|
-
Chest: 'CHEST',
|
|
704
|
-
Back: 'BACK',
|
|
705
700
|
Shoulders: 'SHOULDERS',
|
|
706
|
-
|
|
707
|
-
Triceps: 'TRICEPS',
|
|
701
|
+
UpperArms: 'UPPER_ARMS',
|
|
708
702
|
Forearms: 'FOREARMS',
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
703
|
+
Back: 'BACK',
|
|
704
|
+
Chest: 'CHEST',
|
|
705
|
+
Waist: 'WAIST',
|
|
706
|
+
Hips: 'HIPS',
|
|
707
|
+
Thighs: 'THIGHS',
|
|
714
708
|
Calves: 'CALVES'
|
|
715
709
|
} as const;
|
|
716
710
|
|
|
@@ -876,17 +870,14 @@ export const ExerciseWithSetsDtoTypeEnum = {
|
|
|
876
870
|
|
|
877
871
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
878
872
|
export const ExerciseWithSetsDtoBodyPartsEnum = {
|
|
879
|
-
Chest: 'CHEST',
|
|
880
|
-
Back: 'BACK',
|
|
881
873
|
Shoulders: 'SHOULDERS',
|
|
882
|
-
|
|
883
|
-
Triceps: 'TRICEPS',
|
|
874
|
+
UpperArms: 'UPPER_ARMS',
|
|
884
875
|
Forearms: 'FOREARMS',
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
876
|
+
Back: 'BACK',
|
|
877
|
+
Chest: 'CHEST',
|
|
878
|
+
Waist: 'WAIST',
|
|
879
|
+
Hips: 'HIPS',
|
|
880
|
+
Thighs: 'THIGHS',
|
|
890
881
|
Calves: 'CALVES'
|
|
891
882
|
} as const;
|
|
892
883
|
|
|
@@ -2566,18 +2557,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2566
2557
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2567
2558
|
*/
|
|
2568
2559
|
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
2560
|
/**
|
|
2582
2561
|
* The number of SHOULDERS exercises
|
|
2583
2562
|
* @type {number}
|
|
@@ -2585,17 +2564,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2585
2564
|
*/
|
|
2586
2565
|
'SHOULDERS'?: number;
|
|
2587
2566
|
/**
|
|
2588
|
-
* The number of
|
|
2567
|
+
* The number of UPPER_ARMS exercises
|
|
2589
2568
|
* @type {number}
|
|
2590
2569
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2591
2570
|
*/
|
|
2592
|
-
'
|
|
2593
|
-
/**
|
|
2594
|
-
* The number of TRICEPS exercises
|
|
2595
|
-
* @type {number}
|
|
2596
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2597
|
-
*/
|
|
2598
|
-
'TRICEPS'?: number;
|
|
2571
|
+
'UPPER_ARMS'?: number;
|
|
2599
2572
|
/**
|
|
2600
2573
|
* The number of FOREARMS exercises
|
|
2601
2574
|
* @type {number}
|
|
@@ -2603,35 +2576,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2603
2576
|
*/
|
|
2604
2577
|
'FOREARMS'?: number;
|
|
2605
2578
|
/**
|
|
2606
|
-
* The number of
|
|
2579
|
+
* The number of BACK exercises
|
|
2607
2580
|
* @type {number}
|
|
2608
2581
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2609
2582
|
*/
|
|
2610
|
-
'
|
|
2583
|
+
'BACK'?: number;
|
|
2611
2584
|
/**
|
|
2612
|
-
* The number of
|
|
2585
|
+
* The number of CHEST exercises
|
|
2613
2586
|
* @type {number}
|
|
2614
2587
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2615
2588
|
*/
|
|
2616
|
-
'
|
|
2589
|
+
'CHEST'?: number;
|
|
2617
2590
|
/**
|
|
2618
|
-
* The number of
|
|
2591
|
+
* The number of WAIST exercises
|
|
2619
2592
|
* @type {number}
|
|
2620
2593
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2621
2594
|
*/
|
|
2622
|
-
'
|
|
2595
|
+
'WAIST'?: number;
|
|
2623
2596
|
/**
|
|
2624
|
-
* The number of
|
|
2597
|
+
* The number of HIPS exercises
|
|
2625
2598
|
* @type {number}
|
|
2626
2599
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2627
2600
|
*/
|
|
2628
|
-
'
|
|
2601
|
+
'HIPS'?: number;
|
|
2629
2602
|
/**
|
|
2630
|
-
* The number of
|
|
2603
|
+
* The number of THIGHS exercises
|
|
2631
2604
|
* @type {number}
|
|
2632
2605
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2633
2606
|
*/
|
|
2634
|
-
'
|
|
2607
|
+
'THIGHS'?: number;
|
|
2635
2608
|
/**
|
|
2636
2609
|
* The number of CALVES exercises
|
|
2637
2610
|
* @type {number}
|
|
@@ -6230,7 +6203,7 @@ export const MeasurementsV1ApiAxiosParamCreator = function (configuration?: Conf
|
|
|
6230
6203
|
},
|
|
6231
6204
|
/**
|
|
6232
6205
|
*
|
|
6233
|
-
* @summary Get a specific measurement
|
|
6206
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6234
6207
|
* @param {string} measurementId
|
|
6235
6208
|
* @param {*} [options] Override http request option.
|
|
6236
6209
|
* @throws {RequiredError}
|
|
@@ -6415,7 +6388,7 @@ export const MeasurementsV1ApiFp = function(configuration?: Configuration) {
|
|
|
6415
6388
|
},
|
|
6416
6389
|
/**
|
|
6417
6390
|
*
|
|
6418
|
-
* @summary Get a specific measurement
|
|
6391
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6419
6392
|
* @param {string} measurementId
|
|
6420
6393
|
* @param {*} [options] Override http request option.
|
|
6421
6394
|
* @throws {RequiredError}
|
|
@@ -6512,7 +6485,7 @@ export const MeasurementsV1ApiFactory = function (configuration?: Configuration,
|
|
|
6512
6485
|
},
|
|
6513
6486
|
/**
|
|
6514
6487
|
*
|
|
6515
|
-
* @summary Get a specific measurement
|
|
6488
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6516
6489
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6517
6490
|
* @param {*} [options] Override http request option.
|
|
6518
6491
|
* @throws {RequiredError}
|
|
@@ -6601,7 +6574,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
6601
6574
|
|
|
6602
6575
|
/**
|
|
6603
6576
|
*
|
|
6604
|
-
* @summary Get a specific measurement
|
|
6577
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6605
6578
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6606
6579
|
* @param {*} [options] Override http request option.
|
|
6607
6580
|
* @throws {RequiredError}
|
|
@@ -6884,7 +6857,7 @@ export class MeasurementsV1Api extends BaseAPI implements MeasurementsV1ApiInter
|
|
|
6884
6857
|
|
|
6885
6858
|
/**
|
|
6886
6859
|
*
|
|
6887
|
-
* @summary Get a specific measurement
|
|
6860
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6888
6861
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6889
6862
|
* @param {*} [options] Override http request option.
|
|
6890
6863
|
* @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];
|
|
@@ -670,17 +667,14 @@ export declare const ExerciseDtoTypeEnum: {
|
|
|
670
667
|
};
|
|
671
668
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
672
669
|
export declare const ExerciseDtoBodyPartsEnum: {
|
|
673
|
-
readonly Chest: "CHEST";
|
|
674
|
-
readonly Back: "BACK";
|
|
675
670
|
readonly Shoulders: "SHOULDERS";
|
|
676
|
-
readonly
|
|
677
|
-
readonly Triceps: "TRICEPS";
|
|
671
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
678
672
|
readonly Forearms: "FOREARMS";
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
673
|
+
readonly Back: "BACK";
|
|
674
|
+
readonly Chest: "CHEST";
|
|
675
|
+
readonly Waist: "WAIST";
|
|
676
|
+
readonly Hips: "HIPS";
|
|
677
|
+
readonly Thighs: "THIGHS";
|
|
684
678
|
readonly Calves: "CALVES";
|
|
685
679
|
};
|
|
686
680
|
export type ExerciseDtoBodyPartsEnum = typeof ExerciseDtoBodyPartsEnum[keyof typeof ExerciseDtoBodyPartsEnum];
|
|
@@ -840,17 +834,14 @@ export declare const ExerciseWithSetsDtoTypeEnum: {
|
|
|
840
834
|
};
|
|
841
835
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
842
836
|
export declare const ExerciseWithSetsDtoBodyPartsEnum: {
|
|
843
|
-
readonly Chest: "CHEST";
|
|
844
|
-
readonly Back: "BACK";
|
|
845
837
|
readonly Shoulders: "SHOULDERS";
|
|
846
|
-
readonly
|
|
847
|
-
readonly Triceps: "TRICEPS";
|
|
838
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
848
839
|
readonly Forearms: "FOREARMS";
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
840
|
+
readonly Back: "BACK";
|
|
841
|
+
readonly Chest: "CHEST";
|
|
842
|
+
readonly Waist: "WAIST";
|
|
843
|
+
readonly Hips: "HIPS";
|
|
844
|
+
readonly Thighs: "THIGHS";
|
|
854
845
|
readonly Calves: "CALVES";
|
|
855
846
|
};
|
|
856
847
|
export type ExerciseWithSetsDtoBodyPartsEnum = typeof ExerciseWithSetsDtoBodyPartsEnum[keyof typeof ExerciseWithSetsDtoBodyPartsEnum];
|
|
@@ -2504,18 +2495,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2504
2495
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2505
2496
|
*/
|
|
2506
2497
|
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
2498
|
/**
|
|
2520
2499
|
* The number of SHOULDERS exercises
|
|
2521
2500
|
* @type {number}
|
|
@@ -2523,17 +2502,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2523
2502
|
*/
|
|
2524
2503
|
'SHOULDERS'?: number;
|
|
2525
2504
|
/**
|
|
2526
|
-
* The number of
|
|
2505
|
+
* The number of UPPER_ARMS exercises
|
|
2527
2506
|
* @type {number}
|
|
2528
2507
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2529
2508
|
*/
|
|
2530
|
-
'
|
|
2531
|
-
/**
|
|
2532
|
-
* The number of TRICEPS exercises
|
|
2533
|
-
* @type {number}
|
|
2534
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2535
|
-
*/
|
|
2536
|
-
'TRICEPS'?: number;
|
|
2509
|
+
'UPPER_ARMS'?: number;
|
|
2537
2510
|
/**
|
|
2538
2511
|
* The number of FOREARMS exercises
|
|
2539
2512
|
* @type {number}
|
|
@@ -2541,35 +2514,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2541
2514
|
*/
|
|
2542
2515
|
'FOREARMS'?: number;
|
|
2543
2516
|
/**
|
|
2544
|
-
* The number of
|
|
2517
|
+
* The number of BACK exercises
|
|
2545
2518
|
* @type {number}
|
|
2546
2519
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2547
2520
|
*/
|
|
2548
|
-
'
|
|
2521
|
+
'BACK'?: number;
|
|
2549
2522
|
/**
|
|
2550
|
-
* The number of
|
|
2523
|
+
* The number of CHEST exercises
|
|
2551
2524
|
* @type {number}
|
|
2552
2525
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2553
2526
|
*/
|
|
2554
|
-
'
|
|
2527
|
+
'CHEST'?: number;
|
|
2555
2528
|
/**
|
|
2556
|
-
* The number of
|
|
2529
|
+
* The number of WAIST exercises
|
|
2557
2530
|
* @type {number}
|
|
2558
2531
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2559
2532
|
*/
|
|
2560
|
-
'
|
|
2533
|
+
'WAIST'?: number;
|
|
2561
2534
|
/**
|
|
2562
|
-
* The number of
|
|
2535
|
+
* The number of HIPS exercises
|
|
2563
2536
|
* @type {number}
|
|
2564
2537
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2565
2538
|
*/
|
|
2566
|
-
'
|
|
2539
|
+
'HIPS'?: number;
|
|
2567
2540
|
/**
|
|
2568
|
-
* The number of
|
|
2541
|
+
* The number of THIGHS exercises
|
|
2569
2542
|
* @type {number}
|
|
2570
2543
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2571
2544
|
*/
|
|
2572
|
-
'
|
|
2545
|
+
'THIGHS'?: number;
|
|
2573
2546
|
/**
|
|
2574
2547
|
* The number of CALVES exercises
|
|
2575
2548
|
* @type {number}
|
|
@@ -4729,7 +4702,7 @@ export declare const MeasurementsV1ApiAxiosParamCreator: (configuration?: Config
|
|
|
4729
4702
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId: (groupId: string, measurementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4730
4703
|
/**
|
|
4731
4704
|
*
|
|
4732
|
-
* @summary Get a specific measurement
|
|
4705
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4733
4706
|
* @param {string} measurementId
|
|
4734
4707
|
* @param {*} [options] Override http request option.
|
|
4735
4708
|
* @throws {RequiredError}
|
|
@@ -4809,7 +4782,7 @@ export declare const MeasurementsV1ApiFp: (configuration?: Configuration) => {
|
|
|
4809
4782
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(groupId: string, measurementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeasurementDto>>;
|
|
4810
4783
|
/**
|
|
4811
4784
|
*
|
|
4812
|
-
* @summary Get a specific measurement
|
|
4785
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4813
4786
|
* @param {string} measurementId
|
|
4814
4787
|
* @param {*} [options] Override http request option.
|
|
4815
4788
|
* @throws {RequiredError}
|
|
@@ -4880,7 +4853,7 @@ export declare const MeasurementsV1ApiFactory: (configuration?: Configuration, b
|
|
|
4880
4853
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4881
4854
|
/**
|
|
4882
4855
|
*
|
|
4883
|
-
* @summary Get a specific measurement
|
|
4856
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4884
4857
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4885
4858
|
* @param {*} [options] Override http request option.
|
|
4886
4859
|
* @throws {RequiredError}
|
|
@@ -4957,7 +4930,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
4957
4930
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4958
4931
|
/**
|
|
4959
4932
|
*
|
|
4960
|
-
* @summary Get a specific measurement
|
|
4933
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4961
4934
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4962
4935
|
* @param {*} [options] Override http request option.
|
|
4963
4936
|
* @throws {RequiredError}
|
|
@@ -5201,7 +5174,7 @@ export declare class MeasurementsV1Api extends BaseAPI implements MeasurementsV1
|
|
|
5201
5174
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MeasurementDto, any, {}>>;
|
|
5202
5175
|
/**
|
|
5203
5176
|
*
|
|
5204
|
-
* @summary Get a specific measurement
|
|
5177
|
+
* @summary Get a specific measurement for the authenticated user
|
|
5205
5178
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
5206
5179
|
* @param {*} [options] Override http request option.
|
|
5207
5180
|
* @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];
|
|
@@ -670,17 +667,14 @@ export declare const ExerciseDtoTypeEnum: {
|
|
|
670
667
|
};
|
|
671
668
|
export type ExerciseDtoTypeEnum = typeof ExerciseDtoTypeEnum[keyof typeof ExerciseDtoTypeEnum];
|
|
672
669
|
export declare const ExerciseDtoBodyPartsEnum: {
|
|
673
|
-
readonly Chest: "CHEST";
|
|
674
|
-
readonly Back: "BACK";
|
|
675
670
|
readonly Shoulders: "SHOULDERS";
|
|
676
|
-
readonly
|
|
677
|
-
readonly Triceps: "TRICEPS";
|
|
671
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
678
672
|
readonly Forearms: "FOREARMS";
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
673
|
+
readonly Back: "BACK";
|
|
674
|
+
readonly Chest: "CHEST";
|
|
675
|
+
readonly Waist: "WAIST";
|
|
676
|
+
readonly Hips: "HIPS";
|
|
677
|
+
readonly Thighs: "THIGHS";
|
|
684
678
|
readonly Calves: "CALVES";
|
|
685
679
|
};
|
|
686
680
|
export type ExerciseDtoBodyPartsEnum = typeof ExerciseDtoBodyPartsEnum[keyof typeof ExerciseDtoBodyPartsEnum];
|
|
@@ -840,17 +834,14 @@ export declare const ExerciseWithSetsDtoTypeEnum: {
|
|
|
840
834
|
};
|
|
841
835
|
export type ExerciseWithSetsDtoTypeEnum = typeof ExerciseWithSetsDtoTypeEnum[keyof typeof ExerciseWithSetsDtoTypeEnum];
|
|
842
836
|
export declare const ExerciseWithSetsDtoBodyPartsEnum: {
|
|
843
|
-
readonly Chest: "CHEST";
|
|
844
|
-
readonly Back: "BACK";
|
|
845
837
|
readonly Shoulders: "SHOULDERS";
|
|
846
|
-
readonly
|
|
847
|
-
readonly Triceps: "TRICEPS";
|
|
838
|
+
readonly UpperArms: "UPPER_ARMS";
|
|
848
839
|
readonly Forearms: "FOREARMS";
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
readonly
|
|
840
|
+
readonly Back: "BACK";
|
|
841
|
+
readonly Chest: "CHEST";
|
|
842
|
+
readonly Waist: "WAIST";
|
|
843
|
+
readonly Hips: "HIPS";
|
|
844
|
+
readonly Thighs: "THIGHS";
|
|
854
845
|
readonly Calves: "CALVES";
|
|
855
846
|
};
|
|
856
847
|
export type ExerciseWithSetsDtoBodyPartsEnum = typeof ExerciseWithSetsDtoBodyPartsEnum[keyof typeof ExerciseWithSetsDtoBodyPartsEnum];
|
|
@@ -2504,18 +2495,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2504
2495
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2505
2496
|
*/
|
|
2506
2497
|
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
2498
|
/**
|
|
2520
2499
|
* The number of SHOULDERS exercises
|
|
2521
2500
|
* @type {number}
|
|
@@ -2523,17 +2502,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2523
2502
|
*/
|
|
2524
2503
|
'SHOULDERS'?: number;
|
|
2525
2504
|
/**
|
|
2526
|
-
* The number of
|
|
2505
|
+
* The number of UPPER_ARMS exercises
|
|
2527
2506
|
* @type {number}
|
|
2528
2507
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2529
2508
|
*/
|
|
2530
|
-
'
|
|
2531
|
-
/**
|
|
2532
|
-
* The number of TRICEPS exercises
|
|
2533
|
-
* @type {number}
|
|
2534
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2535
|
-
*/
|
|
2536
|
-
'TRICEPS'?: number;
|
|
2509
|
+
'UPPER_ARMS'?: number;
|
|
2537
2510
|
/**
|
|
2538
2511
|
* The number of FOREARMS exercises
|
|
2539
2512
|
* @type {number}
|
|
@@ -2541,35 +2514,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2541
2514
|
*/
|
|
2542
2515
|
'FOREARMS'?: number;
|
|
2543
2516
|
/**
|
|
2544
|
-
* The number of
|
|
2517
|
+
* The number of BACK exercises
|
|
2545
2518
|
* @type {number}
|
|
2546
2519
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2547
2520
|
*/
|
|
2548
|
-
'
|
|
2521
|
+
'BACK'?: number;
|
|
2549
2522
|
/**
|
|
2550
|
-
* The number of
|
|
2523
|
+
* The number of CHEST exercises
|
|
2551
2524
|
* @type {number}
|
|
2552
2525
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2553
2526
|
*/
|
|
2554
|
-
'
|
|
2527
|
+
'CHEST'?: number;
|
|
2555
2528
|
/**
|
|
2556
|
-
* The number of
|
|
2529
|
+
* The number of WAIST exercises
|
|
2557
2530
|
* @type {number}
|
|
2558
2531
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2559
2532
|
*/
|
|
2560
|
-
'
|
|
2533
|
+
'WAIST'?: number;
|
|
2561
2534
|
/**
|
|
2562
|
-
* The number of
|
|
2535
|
+
* The number of HIPS exercises
|
|
2563
2536
|
* @type {number}
|
|
2564
2537
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2565
2538
|
*/
|
|
2566
|
-
'
|
|
2539
|
+
'HIPS'?: number;
|
|
2567
2540
|
/**
|
|
2568
|
-
* The number of
|
|
2541
|
+
* The number of THIGHS exercises
|
|
2569
2542
|
* @type {number}
|
|
2570
2543
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2571
2544
|
*/
|
|
2572
|
-
'
|
|
2545
|
+
'THIGHS'?: number;
|
|
2573
2546
|
/**
|
|
2574
2547
|
* The number of CALVES exercises
|
|
2575
2548
|
* @type {number}
|
|
@@ -4729,7 +4702,7 @@ export declare const MeasurementsV1ApiAxiosParamCreator: (configuration?: Config
|
|
|
4729
4702
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId: (groupId: string, measurementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4730
4703
|
/**
|
|
4731
4704
|
*
|
|
4732
|
-
* @summary Get a specific measurement
|
|
4705
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4733
4706
|
* @param {string} measurementId
|
|
4734
4707
|
* @param {*} [options] Override http request option.
|
|
4735
4708
|
* @throws {RequiredError}
|
|
@@ -4809,7 +4782,7 @@ export declare const MeasurementsV1ApiFp: (configuration?: Configuration) => {
|
|
|
4809
4782
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(groupId: string, measurementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeasurementDto>>;
|
|
4810
4783
|
/**
|
|
4811
4784
|
*
|
|
4812
|
-
* @summary Get a specific measurement
|
|
4785
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4813
4786
|
* @param {string} measurementId
|
|
4814
4787
|
* @param {*} [options] Override http request option.
|
|
4815
4788
|
* @throws {RequiredError}
|
|
@@ -4880,7 +4853,7 @@ export declare const MeasurementsV1ApiFactory: (configuration?: Configuration, b
|
|
|
4880
4853
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4881
4854
|
/**
|
|
4882
4855
|
*
|
|
4883
|
-
* @summary Get a specific measurement
|
|
4856
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4884
4857
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4885
4858
|
* @param {*} [options] Override http request option.
|
|
4886
4859
|
* @throws {RequiredError}
|
|
@@ -4957,7 +4930,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
4957
4930
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4958
4931
|
/**
|
|
4959
4932
|
*
|
|
4960
|
-
* @summary Get a specific measurement
|
|
4933
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4961
4934
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4962
4935
|
* @param {*} [options] Override http request option.
|
|
4963
4936
|
* @throws {RequiredError}
|
|
@@ -5201,7 +5174,7 @@ export declare class MeasurementsV1Api extends BaseAPI implements MeasurementsV1
|
|
|
5201
5174
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MeasurementDto, any, {}>>;
|
|
5202
5175
|
/**
|
|
5203
5176
|
*
|
|
5204
|
-
* @summary Get a specific measurement
|
|
5177
|
+
* @summary Get a specific measurement for the authenticated user
|
|
5205
5178
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
5206
5179
|
* @param {*} [options] Override http request option.
|
|
5207
5180
|
* @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}
|
|
@@ -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**
|
|
@@ -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
|
```
|