@dimrev4/fitness-v3-backend 0.0.36 → 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 +59 -62
- package/dist/api.d.ts +59 -62
- package/dist/api.js +22 -31
- package/dist/esm/api.d.ts +59 -62
- package/dist/esm/api.js +22 -31
- package/docs/GroupGetPresignedPostUrlRequestDto.md +2 -0
- package/docs/MeasurementsV1Api.md +1 -1
- package/docs/PresignedPostDataDto.md +2 -0
- package/docs/PublicGetPresignedPostUrlRequestDto.md +2 -0
- package/docs/SavedWorkoutWorkoutExerciseMetaDtoBodyParts.md +12 -18
- package/docs/UserGetPresignedPostUrlRequestDto.md +2 -0
- 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
|
|
|
@@ -1328,6 +1319,12 @@ export interface GroupGetPresignedPostUrlRequestDto {
|
|
|
1328
1319
|
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1329
1320
|
*/
|
|
1330
1321
|
'mimetype': string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1324
|
+
* @type {boolean}
|
|
1325
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1326
|
+
*/
|
|
1327
|
+
'allowOverwrite'?: boolean;
|
|
1331
1328
|
}
|
|
1332
1329
|
/**
|
|
1333
1330
|
*
|
|
@@ -1834,6 +1831,12 @@ export interface PresignedPostDataDto {
|
|
|
1834
1831
|
* @memberof PresignedPostDataDto
|
|
1835
1832
|
*/
|
|
1836
1833
|
'formData': object;
|
|
1834
|
+
/**
|
|
1835
|
+
* Presigned PUT URL for direct uploads (only available when allowOverwrite is true). Use HTTP PUT with file as body.
|
|
1836
|
+
* @type {string}
|
|
1837
|
+
* @memberof PresignedPostDataDto
|
|
1838
|
+
*/
|
|
1839
|
+
'putUrl'?: string;
|
|
1837
1840
|
}
|
|
1838
1841
|
/**
|
|
1839
1842
|
*
|
|
@@ -1877,6 +1880,12 @@ export interface PublicGetPresignedPostUrlRequestDto {
|
|
|
1877
1880
|
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1878
1881
|
*/
|
|
1879
1882
|
'mimetype': string;
|
|
1883
|
+
/**
|
|
1884
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1885
|
+
* @type {boolean}
|
|
1886
|
+
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1887
|
+
*/
|
|
1888
|
+
'allowOverwrite'?: boolean;
|
|
1880
1889
|
}
|
|
1881
1890
|
/**
|
|
1882
1891
|
*
|
|
@@ -2548,18 +2557,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2548
2557
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2549
2558
|
*/
|
|
2550
2559
|
export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
2551
|
-
/**
|
|
2552
|
-
* The number of CHEST exercises
|
|
2553
|
-
* @type {number}
|
|
2554
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2555
|
-
*/
|
|
2556
|
-
'CHEST'?: number;
|
|
2557
|
-
/**
|
|
2558
|
-
* The number of BACK exercises
|
|
2559
|
-
* @type {number}
|
|
2560
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2561
|
-
*/
|
|
2562
|
-
'BACK'?: number;
|
|
2563
2560
|
/**
|
|
2564
2561
|
* The number of SHOULDERS exercises
|
|
2565
2562
|
* @type {number}
|
|
@@ -2567,17 +2564,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2567
2564
|
*/
|
|
2568
2565
|
'SHOULDERS'?: number;
|
|
2569
2566
|
/**
|
|
2570
|
-
* The number of
|
|
2567
|
+
* The number of UPPER_ARMS exercises
|
|
2571
2568
|
* @type {number}
|
|
2572
2569
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2573
2570
|
*/
|
|
2574
|
-
'
|
|
2575
|
-
/**
|
|
2576
|
-
* The number of TRICEPS exercises
|
|
2577
|
-
* @type {number}
|
|
2578
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2579
|
-
*/
|
|
2580
|
-
'TRICEPS'?: number;
|
|
2571
|
+
'UPPER_ARMS'?: number;
|
|
2581
2572
|
/**
|
|
2582
2573
|
* The number of FOREARMS exercises
|
|
2583
2574
|
* @type {number}
|
|
@@ -2585,35 +2576,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2585
2576
|
*/
|
|
2586
2577
|
'FOREARMS'?: number;
|
|
2587
2578
|
/**
|
|
2588
|
-
* The number of
|
|
2579
|
+
* The number of BACK exercises
|
|
2589
2580
|
* @type {number}
|
|
2590
2581
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2591
2582
|
*/
|
|
2592
|
-
'
|
|
2583
|
+
'BACK'?: number;
|
|
2593
2584
|
/**
|
|
2594
|
-
* The number of
|
|
2585
|
+
* The number of CHEST exercises
|
|
2595
2586
|
* @type {number}
|
|
2596
2587
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2597
2588
|
*/
|
|
2598
|
-
'
|
|
2589
|
+
'CHEST'?: number;
|
|
2599
2590
|
/**
|
|
2600
|
-
* The number of
|
|
2591
|
+
* The number of WAIST exercises
|
|
2601
2592
|
* @type {number}
|
|
2602
2593
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2603
2594
|
*/
|
|
2604
|
-
'
|
|
2595
|
+
'WAIST'?: number;
|
|
2605
2596
|
/**
|
|
2606
|
-
* The number of
|
|
2597
|
+
* The number of HIPS exercises
|
|
2607
2598
|
* @type {number}
|
|
2608
2599
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2609
2600
|
*/
|
|
2610
|
-
'
|
|
2601
|
+
'HIPS'?: number;
|
|
2611
2602
|
/**
|
|
2612
|
-
* The number of
|
|
2603
|
+
* The number of THIGHS exercises
|
|
2613
2604
|
* @type {number}
|
|
2614
2605
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2615
2606
|
*/
|
|
2616
|
-
'
|
|
2607
|
+
'THIGHS'?: number;
|
|
2617
2608
|
/**
|
|
2618
2609
|
* The number of CALVES exercises
|
|
2619
2610
|
* @type {number}
|
|
@@ -2925,6 +2916,12 @@ export interface UserGetPresignedPostUrlRequestDto {
|
|
|
2925
2916
|
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2926
2917
|
*/
|
|
2927
2918
|
'mimetype': string;
|
|
2919
|
+
/**
|
|
2920
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
2921
|
+
* @type {boolean}
|
|
2922
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2923
|
+
*/
|
|
2924
|
+
'allowOverwrite'?: boolean;
|
|
2928
2925
|
}
|
|
2929
2926
|
/**
|
|
2930
2927
|
*
|
|
@@ -6206,7 +6203,7 @@ export const MeasurementsV1ApiAxiosParamCreator = function (configuration?: Conf
|
|
|
6206
6203
|
},
|
|
6207
6204
|
/**
|
|
6208
6205
|
*
|
|
6209
|
-
* @summary Get a specific measurement
|
|
6206
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6210
6207
|
* @param {string} measurementId
|
|
6211
6208
|
* @param {*} [options] Override http request option.
|
|
6212
6209
|
* @throws {RequiredError}
|
|
@@ -6391,7 +6388,7 @@ export const MeasurementsV1ApiFp = function(configuration?: Configuration) {
|
|
|
6391
6388
|
},
|
|
6392
6389
|
/**
|
|
6393
6390
|
*
|
|
6394
|
-
* @summary Get a specific measurement
|
|
6391
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6395
6392
|
* @param {string} measurementId
|
|
6396
6393
|
* @param {*} [options] Override http request option.
|
|
6397
6394
|
* @throws {RequiredError}
|
|
@@ -6488,7 +6485,7 @@ export const MeasurementsV1ApiFactory = function (configuration?: Configuration,
|
|
|
6488
6485
|
},
|
|
6489
6486
|
/**
|
|
6490
6487
|
*
|
|
6491
|
-
* @summary Get a specific measurement
|
|
6488
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6492
6489
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6493
6490
|
* @param {*} [options] Override http request option.
|
|
6494
6491
|
* @throws {RequiredError}
|
|
@@ -6577,7 +6574,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
6577
6574
|
|
|
6578
6575
|
/**
|
|
6579
6576
|
*
|
|
6580
|
-
* @summary Get a specific measurement
|
|
6577
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6581
6578
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6582
6579
|
* @param {*} [options] Override http request option.
|
|
6583
6580
|
* @throws {RequiredError}
|
|
@@ -6860,7 +6857,7 @@ export class MeasurementsV1Api extends BaseAPI implements MeasurementsV1ApiInter
|
|
|
6860
6857
|
|
|
6861
6858
|
/**
|
|
6862
6859
|
*
|
|
6863
|
-
* @summary Get a specific measurement
|
|
6860
|
+
* @summary Get a specific measurement for the authenticated user
|
|
6864
6861
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
6865
6862
|
* @param {*} [options] Override http request option.
|
|
6866
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];
|
|
@@ -1288,6 +1279,12 @@ export interface GroupGetPresignedPostUrlRequestDto {
|
|
|
1288
1279
|
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1289
1280
|
*/
|
|
1290
1281
|
'mimetype': string;
|
|
1282
|
+
/**
|
|
1283
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1284
|
+
* @type {boolean}
|
|
1285
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1286
|
+
*/
|
|
1287
|
+
'allowOverwrite'?: boolean;
|
|
1291
1288
|
}
|
|
1292
1289
|
/**
|
|
1293
1290
|
*
|
|
@@ -1788,6 +1785,12 @@ export interface PresignedPostDataDto {
|
|
|
1788
1785
|
* @memberof PresignedPostDataDto
|
|
1789
1786
|
*/
|
|
1790
1787
|
'formData': object;
|
|
1788
|
+
/**
|
|
1789
|
+
* Presigned PUT URL for direct uploads (only available when allowOverwrite is true). Use HTTP PUT with file as body.
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof PresignedPostDataDto
|
|
1792
|
+
*/
|
|
1793
|
+
'putUrl'?: string;
|
|
1791
1794
|
}
|
|
1792
1795
|
/**
|
|
1793
1796
|
*
|
|
@@ -1831,6 +1834,12 @@ export interface PublicGetPresignedPostUrlRequestDto {
|
|
|
1831
1834
|
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1832
1835
|
*/
|
|
1833
1836
|
'mimetype': string;
|
|
1837
|
+
/**
|
|
1838
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1839
|
+
* @type {boolean}
|
|
1840
|
+
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1841
|
+
*/
|
|
1842
|
+
'allowOverwrite'?: boolean;
|
|
1834
1843
|
}
|
|
1835
1844
|
/**
|
|
1836
1845
|
*
|
|
@@ -2486,18 +2495,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2486
2495
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2487
2496
|
*/
|
|
2488
2497
|
export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
2489
|
-
/**
|
|
2490
|
-
* The number of CHEST exercises
|
|
2491
|
-
* @type {number}
|
|
2492
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2493
|
-
*/
|
|
2494
|
-
'CHEST'?: number;
|
|
2495
|
-
/**
|
|
2496
|
-
* The number of BACK exercises
|
|
2497
|
-
* @type {number}
|
|
2498
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2499
|
-
*/
|
|
2500
|
-
'BACK'?: number;
|
|
2501
2498
|
/**
|
|
2502
2499
|
* The number of SHOULDERS exercises
|
|
2503
2500
|
* @type {number}
|
|
@@ -2505,17 +2502,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2505
2502
|
*/
|
|
2506
2503
|
'SHOULDERS'?: number;
|
|
2507
2504
|
/**
|
|
2508
|
-
* The number of
|
|
2505
|
+
* The number of UPPER_ARMS exercises
|
|
2509
2506
|
* @type {number}
|
|
2510
2507
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2511
2508
|
*/
|
|
2512
|
-
'
|
|
2513
|
-
/**
|
|
2514
|
-
* The number of TRICEPS exercises
|
|
2515
|
-
* @type {number}
|
|
2516
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2517
|
-
*/
|
|
2518
|
-
'TRICEPS'?: number;
|
|
2509
|
+
'UPPER_ARMS'?: number;
|
|
2519
2510
|
/**
|
|
2520
2511
|
* The number of FOREARMS exercises
|
|
2521
2512
|
* @type {number}
|
|
@@ -2523,35 +2514,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2523
2514
|
*/
|
|
2524
2515
|
'FOREARMS'?: number;
|
|
2525
2516
|
/**
|
|
2526
|
-
* The number of
|
|
2517
|
+
* The number of BACK exercises
|
|
2527
2518
|
* @type {number}
|
|
2528
2519
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2529
2520
|
*/
|
|
2530
|
-
'
|
|
2521
|
+
'BACK'?: number;
|
|
2531
2522
|
/**
|
|
2532
|
-
* The number of
|
|
2523
|
+
* The number of CHEST exercises
|
|
2533
2524
|
* @type {number}
|
|
2534
2525
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2535
2526
|
*/
|
|
2536
|
-
'
|
|
2527
|
+
'CHEST'?: number;
|
|
2537
2528
|
/**
|
|
2538
|
-
* The number of
|
|
2529
|
+
* The number of WAIST exercises
|
|
2539
2530
|
* @type {number}
|
|
2540
2531
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2541
2532
|
*/
|
|
2542
|
-
'
|
|
2533
|
+
'WAIST'?: number;
|
|
2543
2534
|
/**
|
|
2544
|
-
* The number of
|
|
2535
|
+
* The number of HIPS exercises
|
|
2545
2536
|
* @type {number}
|
|
2546
2537
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2547
2538
|
*/
|
|
2548
|
-
'
|
|
2539
|
+
'HIPS'?: number;
|
|
2549
2540
|
/**
|
|
2550
|
-
* The number of
|
|
2541
|
+
* The number of THIGHS exercises
|
|
2551
2542
|
* @type {number}
|
|
2552
2543
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2553
2544
|
*/
|
|
2554
|
-
'
|
|
2545
|
+
'THIGHS'?: number;
|
|
2555
2546
|
/**
|
|
2556
2547
|
* The number of CALVES exercises
|
|
2557
2548
|
* @type {number}
|
|
@@ -2863,6 +2854,12 @@ export interface UserGetPresignedPostUrlRequestDto {
|
|
|
2863
2854
|
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2864
2855
|
*/
|
|
2865
2856
|
'mimetype': string;
|
|
2857
|
+
/**
|
|
2858
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
2859
|
+
* @type {boolean}
|
|
2860
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2861
|
+
*/
|
|
2862
|
+
'allowOverwrite'?: boolean;
|
|
2866
2863
|
}
|
|
2867
2864
|
/**
|
|
2868
2865
|
*
|
|
@@ -4705,7 +4702,7 @@ export declare const MeasurementsV1ApiAxiosParamCreator: (configuration?: Config
|
|
|
4705
4702
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId: (groupId: string, measurementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4706
4703
|
/**
|
|
4707
4704
|
*
|
|
4708
|
-
* @summary Get a specific measurement
|
|
4705
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4709
4706
|
* @param {string} measurementId
|
|
4710
4707
|
* @param {*} [options] Override http request option.
|
|
4711
4708
|
* @throws {RequiredError}
|
|
@@ -4785,7 +4782,7 @@ export declare const MeasurementsV1ApiFp: (configuration?: Configuration) => {
|
|
|
4785
4782
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(groupId: string, measurementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeasurementDto>>;
|
|
4786
4783
|
/**
|
|
4787
4784
|
*
|
|
4788
|
-
* @summary Get a specific measurement
|
|
4785
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4789
4786
|
* @param {string} measurementId
|
|
4790
4787
|
* @param {*} [options] Override http request option.
|
|
4791
4788
|
* @throws {RequiredError}
|
|
@@ -4856,7 +4853,7 @@ export declare const MeasurementsV1ApiFactory: (configuration?: Configuration, b
|
|
|
4856
4853
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4857
4854
|
/**
|
|
4858
4855
|
*
|
|
4859
|
-
* @summary Get a specific measurement
|
|
4856
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4860
4857
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4861
4858
|
* @param {*} [options] Override http request option.
|
|
4862
4859
|
* @throws {RequiredError}
|
|
@@ -4933,7 +4930,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
4933
4930
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4934
4931
|
/**
|
|
4935
4932
|
*
|
|
4936
|
-
* @summary Get a specific measurement
|
|
4933
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4937
4934
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4938
4935
|
* @param {*} [options] Override http request option.
|
|
4939
4936
|
* @throws {RequiredError}
|
|
@@ -5177,7 +5174,7 @@ export declare class MeasurementsV1Api extends BaseAPI implements MeasurementsV1
|
|
|
5177
5174
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MeasurementDto, any, {}>>;
|
|
5178
5175
|
/**
|
|
5179
5176
|
*
|
|
5180
|
-
* @summary Get a specific measurement
|
|
5177
|
+
* @summary Get a specific measurement for the authenticated user
|
|
5181
5178
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
5182
5179
|
* @param {*} [options] Override http request option.
|
|
5183
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];
|
|
@@ -1288,6 +1279,12 @@ export interface GroupGetPresignedPostUrlRequestDto {
|
|
|
1288
1279
|
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1289
1280
|
*/
|
|
1290
1281
|
'mimetype': string;
|
|
1282
|
+
/**
|
|
1283
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1284
|
+
* @type {boolean}
|
|
1285
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1286
|
+
*/
|
|
1287
|
+
'allowOverwrite'?: boolean;
|
|
1291
1288
|
}
|
|
1292
1289
|
/**
|
|
1293
1290
|
*
|
|
@@ -1788,6 +1785,12 @@ export interface PresignedPostDataDto {
|
|
|
1788
1785
|
* @memberof PresignedPostDataDto
|
|
1789
1786
|
*/
|
|
1790
1787
|
'formData': object;
|
|
1788
|
+
/**
|
|
1789
|
+
* Presigned PUT URL for direct uploads (only available when allowOverwrite is true). Use HTTP PUT with file as body.
|
|
1790
|
+
* @type {string}
|
|
1791
|
+
* @memberof PresignedPostDataDto
|
|
1792
|
+
*/
|
|
1793
|
+
'putUrl'?: string;
|
|
1791
1794
|
}
|
|
1792
1795
|
/**
|
|
1793
1796
|
*
|
|
@@ -1831,6 +1834,12 @@ export interface PublicGetPresignedPostUrlRequestDto {
|
|
|
1831
1834
|
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1832
1835
|
*/
|
|
1833
1836
|
'mimetype': string;
|
|
1837
|
+
/**
|
|
1838
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1839
|
+
* @type {boolean}
|
|
1840
|
+
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1841
|
+
*/
|
|
1842
|
+
'allowOverwrite'?: boolean;
|
|
1834
1843
|
}
|
|
1835
1844
|
/**
|
|
1836
1845
|
*
|
|
@@ -2486,18 +2495,6 @@ export interface SavedWorkoutWorkoutExerciseMetaDto {
|
|
|
2486
2495
|
* @interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2487
2496
|
*/
|
|
2488
2497
|
export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
2489
|
-
/**
|
|
2490
|
-
* The number of CHEST exercises
|
|
2491
|
-
* @type {number}
|
|
2492
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2493
|
-
*/
|
|
2494
|
-
'CHEST'?: number;
|
|
2495
|
-
/**
|
|
2496
|
-
* The number of BACK exercises
|
|
2497
|
-
* @type {number}
|
|
2498
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2499
|
-
*/
|
|
2500
|
-
'BACK'?: number;
|
|
2501
2498
|
/**
|
|
2502
2499
|
* The number of SHOULDERS exercises
|
|
2503
2500
|
* @type {number}
|
|
@@ -2505,17 +2502,11 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2505
2502
|
*/
|
|
2506
2503
|
'SHOULDERS'?: number;
|
|
2507
2504
|
/**
|
|
2508
|
-
* The number of
|
|
2505
|
+
* The number of UPPER_ARMS exercises
|
|
2509
2506
|
* @type {number}
|
|
2510
2507
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2511
2508
|
*/
|
|
2512
|
-
'
|
|
2513
|
-
/**
|
|
2514
|
-
* The number of TRICEPS exercises
|
|
2515
|
-
* @type {number}
|
|
2516
|
-
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2517
|
-
*/
|
|
2518
|
-
'TRICEPS'?: number;
|
|
2509
|
+
'UPPER_ARMS'?: number;
|
|
2519
2510
|
/**
|
|
2520
2511
|
* The number of FOREARMS exercises
|
|
2521
2512
|
* @type {number}
|
|
@@ -2523,35 +2514,35 @@ export interface SavedWorkoutWorkoutExerciseMetaDtoBodyParts {
|
|
|
2523
2514
|
*/
|
|
2524
2515
|
'FOREARMS'?: number;
|
|
2525
2516
|
/**
|
|
2526
|
-
* The number of
|
|
2517
|
+
* The number of BACK exercises
|
|
2527
2518
|
* @type {number}
|
|
2528
2519
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2529
2520
|
*/
|
|
2530
|
-
'
|
|
2521
|
+
'BACK'?: number;
|
|
2531
2522
|
/**
|
|
2532
|
-
* The number of
|
|
2523
|
+
* The number of CHEST exercises
|
|
2533
2524
|
* @type {number}
|
|
2534
2525
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2535
2526
|
*/
|
|
2536
|
-
'
|
|
2527
|
+
'CHEST'?: number;
|
|
2537
2528
|
/**
|
|
2538
|
-
* The number of
|
|
2529
|
+
* The number of WAIST exercises
|
|
2539
2530
|
* @type {number}
|
|
2540
2531
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2541
2532
|
*/
|
|
2542
|
-
'
|
|
2533
|
+
'WAIST'?: number;
|
|
2543
2534
|
/**
|
|
2544
|
-
* The number of
|
|
2535
|
+
* The number of HIPS exercises
|
|
2545
2536
|
* @type {number}
|
|
2546
2537
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2547
2538
|
*/
|
|
2548
|
-
'
|
|
2539
|
+
'HIPS'?: number;
|
|
2549
2540
|
/**
|
|
2550
|
-
* The number of
|
|
2541
|
+
* The number of THIGHS exercises
|
|
2551
2542
|
* @type {number}
|
|
2552
2543
|
* @memberof SavedWorkoutWorkoutExerciseMetaDtoBodyParts
|
|
2553
2544
|
*/
|
|
2554
|
-
'
|
|
2545
|
+
'THIGHS'?: number;
|
|
2555
2546
|
/**
|
|
2556
2547
|
* The number of CALVES exercises
|
|
2557
2548
|
* @type {number}
|
|
@@ -2863,6 +2854,12 @@ export interface UserGetPresignedPostUrlRequestDto {
|
|
|
2863
2854
|
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2864
2855
|
*/
|
|
2865
2856
|
'mimetype': string;
|
|
2857
|
+
/**
|
|
2858
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
2859
|
+
* @type {boolean}
|
|
2860
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2861
|
+
*/
|
|
2862
|
+
'allowOverwrite'?: boolean;
|
|
2866
2863
|
}
|
|
2867
2864
|
/**
|
|
2868
2865
|
*
|
|
@@ -4705,7 +4702,7 @@ export declare const MeasurementsV1ApiAxiosParamCreator: (configuration?: Config
|
|
|
4705
4702
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId: (groupId: string, measurementId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4706
4703
|
/**
|
|
4707
4704
|
*
|
|
4708
|
-
* @summary Get a specific measurement
|
|
4705
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4709
4706
|
* @param {string} measurementId
|
|
4710
4707
|
* @param {*} [options] Override http request option.
|
|
4711
4708
|
* @throws {RequiredError}
|
|
@@ -4785,7 +4782,7 @@ export declare const MeasurementsV1ApiFp: (configuration?: Configuration) => {
|
|
|
4785
4782
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(groupId: string, measurementId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MeasurementDto>>;
|
|
4786
4783
|
/**
|
|
4787
4784
|
*
|
|
4788
|
-
* @summary Get a specific measurement
|
|
4785
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4789
4786
|
* @param {string} measurementId
|
|
4790
4787
|
* @param {*} [options] Override http request option.
|
|
4791
4788
|
* @throws {RequiredError}
|
|
@@ -4856,7 +4853,7 @@ export declare const MeasurementsV1ApiFactory: (configuration?: Configuration, b
|
|
|
4856
4853
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4857
4854
|
/**
|
|
4858
4855
|
*
|
|
4859
|
-
* @summary Get a specific measurement
|
|
4856
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4860
4857
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4861
4858
|
* @param {*} [options] Override http request option.
|
|
4862
4859
|
* @throws {RequiredError}
|
|
@@ -4933,7 +4930,7 @@ export interface MeasurementsV1ApiInterface {
|
|
|
4933
4930
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<MeasurementDto>;
|
|
4934
4931
|
/**
|
|
4935
4932
|
*
|
|
4936
|
-
* @summary Get a specific measurement
|
|
4933
|
+
* @summary Get a specific measurement for the authenticated user
|
|
4937
4934
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
4938
4935
|
* @param {*} [options] Override http request option.
|
|
4939
4936
|
* @throws {RequiredError}
|
|
@@ -5177,7 +5174,7 @@ export declare class MeasurementsV1Api extends BaseAPI implements MeasurementsV1
|
|
|
5177
5174
|
measurementsV1ControllerGetMeasurementByGroupIdAndMeasurementId(requestParameters: MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByGroupIdAndMeasurementIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MeasurementDto, any, {}>>;
|
|
5178
5175
|
/**
|
|
5179
5176
|
*
|
|
5180
|
-
* @summary Get a specific measurement
|
|
5177
|
+
* @summary Get a specific measurement for the authenticated user
|
|
5181
5178
|
* @param {MeasurementsV1ApiMeasurementsV1ControllerGetMeasurementByIdRequest} requestParameters Request parameters.
|
|
5182
5179
|
* @param {*} [options] Override http request option.
|
|
5183
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,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**subject** | **string** | Subject folder | [default to undefined]
|
|
11
11
|
**fileShaCheckSum** | **string** | SHA-256 checksum of the file | [default to undefined]
|
|
12
12
|
**mimetype** | **string** | MIME type of the file | [default to undefined]
|
|
13
|
+
**allowOverwrite** | **boolean** | Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists | [optional] [default to false]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: GroupGetPresignedPostUrlRequestDto = {
|
|
|
22
23
|
subject,
|
|
23
24
|
fileShaCheckSum,
|
|
24
25
|
mimetype,
|
|
26
|
+
allowOverwrite,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|
|
@@ -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**
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**postUrl** | **string** | Presigned post data | [default to undefined]
|
|
9
9
|
**formData** | **object** | Form data fields for presigned POST | [default to undefined]
|
|
10
|
+
**putUrl** | **string** | Presigned PUT URL for direct uploads (only available when allowOverwrite is true). Use HTTP PUT with file as body. | [optional] [default to undefined]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import { PresignedPostDataDto } from '@dimrev4/fitness-v3-backend-sdk';
|
|
|
16
17
|
const instance: PresignedPostDataDto = {
|
|
17
18
|
postUrl,
|
|
18
19
|
formData,
|
|
20
|
+
putUrl,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**subject** | **string** | Subject folder | [default to undefined]
|
|
12
12
|
**fileShaCheckSum** | **string** | SHA-256 checksum of the file | [default to undefined]
|
|
13
13
|
**mimetype** | **string** | MIME type of the file | [default to undefined]
|
|
14
|
+
**allowOverwrite** | **boolean** | Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists | [optional] [default to false]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,6 +25,7 @@ const instance: PublicGetPresignedPostUrlRequestDto = {
|
|
|
24
25
|
subject,
|
|
25
26
|
fileShaCheckSum,
|
|
26
27
|
mimetype,
|
|
28
|
+
allowOverwrite,
|
|
27
29
|
};
|
|
28
30
|
```
|
|
29
31
|
|
|
@@ -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
|
```
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**subject** | **string** | Subject folder | [default to undefined]
|
|
10
10
|
**fileShaCheckSum** | **string** | SHA-256 checksum of the file | [default to undefined]
|
|
11
11
|
**mimetype** | **string** | MIME type of the file | [default to undefined]
|
|
12
|
+
**allowOverwrite** | **boolean** | Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists | [optional] [default to false]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: UserGetPresignedPostUrlRequestDto = {
|
|
|
20
21
|
subject,
|
|
21
22
|
fileShaCheckSum,
|
|
22
23
|
mimetype,
|
|
24
|
+
allowOverwrite,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|