@dimrev4/fitness-v3-backend 0.0.16 → 0.0.18
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/api.ts +28 -0
- package/dist/api.d.ts +22 -0
- package/dist/api.js +9 -1
- package/dist/esm/api.d.ts +22 -0
- package/dist/esm/api.js +8 -0
- package/docs/CreateUserMetaRequestDto.md +2 -0
- package/docs/UserMetaDto.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -353,7 +353,21 @@ export interface CreateUserMetaRequestDto {
|
|
|
353
353
|
* @memberof CreateUserMetaRequestDto
|
|
354
354
|
*/
|
|
355
355
|
'imageUrl': string | null;
|
|
356
|
+
/**
|
|
357
|
+
* User gender
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof CreateUserMetaRequestDto
|
|
360
|
+
*/
|
|
361
|
+
'gender': CreateUserMetaRequestDtoGenderEnum;
|
|
356
362
|
}
|
|
363
|
+
|
|
364
|
+
export const CreateUserMetaRequestDtoGenderEnum = {
|
|
365
|
+
Male: 'MALE',
|
|
366
|
+
Female: 'FEMALE'
|
|
367
|
+
} as const;
|
|
368
|
+
|
|
369
|
+
export type CreateUserMetaRequestDtoGenderEnum = typeof CreateUserMetaRequestDtoGenderEnum[keyof typeof CreateUserMetaRequestDtoGenderEnum];
|
|
370
|
+
|
|
357
371
|
/**
|
|
358
372
|
*
|
|
359
373
|
* @export
|
|
@@ -1839,7 +1853,21 @@ export interface UserMetaDto {
|
|
|
1839
1853
|
* @memberof UserMetaDto
|
|
1840
1854
|
*/
|
|
1841
1855
|
'heightCM': number;
|
|
1856
|
+
/**
|
|
1857
|
+
* User gender
|
|
1858
|
+
* @type {string}
|
|
1859
|
+
* @memberof UserMetaDto
|
|
1860
|
+
*/
|
|
1861
|
+
'gender': UserMetaDtoGenderEnum;
|
|
1842
1862
|
}
|
|
1863
|
+
|
|
1864
|
+
export const UserMetaDtoGenderEnum = {
|
|
1865
|
+
Male: 'MALE',
|
|
1866
|
+
Female: 'FEMALE'
|
|
1867
|
+
} as const;
|
|
1868
|
+
|
|
1869
|
+
export type UserMetaDtoGenderEnum = typeof UserMetaDtoGenderEnum[keyof typeof UserMetaDtoGenderEnum];
|
|
1870
|
+
|
|
1843
1871
|
/**
|
|
1844
1872
|
*
|
|
1845
1873
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -337,7 +337,18 @@ export interface CreateUserMetaRequestDto {
|
|
|
337
337
|
* @memberof CreateUserMetaRequestDto
|
|
338
338
|
*/
|
|
339
339
|
'imageUrl': string | null;
|
|
340
|
+
/**
|
|
341
|
+
* User gender
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof CreateUserMetaRequestDto
|
|
344
|
+
*/
|
|
345
|
+
'gender': CreateUserMetaRequestDtoGenderEnum;
|
|
340
346
|
}
|
|
347
|
+
export declare const CreateUserMetaRequestDtoGenderEnum: {
|
|
348
|
+
readonly Male: "MALE";
|
|
349
|
+
readonly Female: "FEMALE";
|
|
350
|
+
};
|
|
351
|
+
export type CreateUserMetaRequestDtoGenderEnum = typeof CreateUserMetaRequestDtoGenderEnum[keyof typeof CreateUserMetaRequestDtoGenderEnum];
|
|
341
352
|
/**
|
|
342
353
|
*
|
|
343
354
|
* @export
|
|
@@ -1807,7 +1818,18 @@ export interface UserMetaDto {
|
|
|
1807
1818
|
* @memberof UserMetaDto
|
|
1808
1819
|
*/
|
|
1809
1820
|
'heightCM': number;
|
|
1821
|
+
/**
|
|
1822
|
+
* User gender
|
|
1823
|
+
* @type {string}
|
|
1824
|
+
* @memberof UserMetaDto
|
|
1825
|
+
*/
|
|
1826
|
+
'gender': UserMetaDtoGenderEnum;
|
|
1810
1827
|
}
|
|
1828
|
+
export declare const UserMetaDtoGenderEnum: {
|
|
1829
|
+
readonly Male: "MALE";
|
|
1830
|
+
readonly Female: "FEMALE";
|
|
1831
|
+
};
|
|
1832
|
+
export type UserMetaDtoGenderEnum = typeof UserMetaDtoGenderEnum[keyof typeof UserMetaDtoGenderEnum];
|
|
1811
1833
|
/**
|
|
1812
1834
|
*
|
|
1813
1835
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.UserMealsConsumptionV1Api = exports.UserMealsConsumptionV1ApiFactory = exports.UserMealsConsumptionV1ApiFp = exports.UserMealsConsumptionV1ApiAxiosParamCreator = exports.SavedMealsV1ControllerGetSavedMealsPaginatedTypesEnum = exports.SavedMealsV1ControllerGetSavedMealsPaginatedFoodCategoriesEnum = exports.SavedMealsV1ControllerGetSavedMealsPaginatedMealTypesEnum = exports.SavedMealsV1ControllerGetAllSavedMealsTypesEnum = exports.SavedMealsV1ControllerGetAllSavedMealsFoodCategoriesEnum = exports.SavedMealsV1ControllerGetAllSavedMealsMealTypesEnum = exports.SavedMealsV1Api = exports.SavedMealsV1ApiFactory = exports.SavedMealsV1ApiFp = exports.SavedMealsV1ApiAxiosParamCreator = exports.MeasurementsV1Api = exports.MeasurementsV1ApiFactory = exports.MeasurementsV1ApiFp = exports.MeasurementsV1ApiAxiosParamCreator = exports.IngredientsV1Api = exports.IngredientsV1ApiFactory = exports.IngredientsV1ApiFp = exports.IngredientsV1ApiAxiosParamCreator = exports.AuthV1Api = exports.AuthV1ApiFactory = exports.AuthV1ApiFp = exports.AuthV1ApiAxiosParamCreator = exports.SavedMealDtoResourceTypeEnum = exports.SavedMealDtoFoodCategoryEnum = exports.SavedMealDtoMealTypeEnum = exports.SavedMealDetailsDtoResourceTypeEnum = exports.SavedMealDetailsDtoFoodCategoryEnum = exports.SavedMealDetailsDtoMealTypeEnum = exports.IngredientQuantityDtoFoodCategoryEnum = exports.IngredientDtoFoodCategoryEnum = exports.CreateMealRequestDtoResourceTypeEnum = exports.CreateIngredientRequestDtoFoodCategoryEnum = void 0;
|
|
25
|
+
exports.UserMealsConsumptionV1Api = exports.UserMealsConsumptionV1ApiFactory = exports.UserMealsConsumptionV1ApiFp = exports.UserMealsConsumptionV1ApiAxiosParamCreator = exports.SavedMealsV1ControllerGetSavedMealsPaginatedTypesEnum = exports.SavedMealsV1ControllerGetSavedMealsPaginatedFoodCategoriesEnum = exports.SavedMealsV1ControllerGetSavedMealsPaginatedMealTypesEnum = exports.SavedMealsV1ControllerGetAllSavedMealsTypesEnum = exports.SavedMealsV1ControllerGetAllSavedMealsFoodCategoriesEnum = exports.SavedMealsV1ControllerGetAllSavedMealsMealTypesEnum = exports.SavedMealsV1Api = exports.SavedMealsV1ApiFactory = exports.SavedMealsV1ApiFp = exports.SavedMealsV1ApiAxiosParamCreator = exports.MeasurementsV1Api = exports.MeasurementsV1ApiFactory = exports.MeasurementsV1ApiFp = exports.MeasurementsV1ApiAxiosParamCreator = exports.IngredientsV1Api = exports.IngredientsV1ApiFactory = exports.IngredientsV1ApiFp = exports.IngredientsV1ApiAxiosParamCreator = exports.AuthV1Api = exports.AuthV1ApiFactory = exports.AuthV1ApiFp = exports.AuthV1ApiAxiosParamCreator = exports.UserMetaDtoGenderEnum = exports.SavedMealDtoResourceTypeEnum = exports.SavedMealDtoFoodCategoryEnum = exports.SavedMealDtoMealTypeEnum = exports.SavedMealDetailsDtoResourceTypeEnum = exports.SavedMealDetailsDtoFoodCategoryEnum = exports.SavedMealDetailsDtoMealTypeEnum = exports.IngredientQuantityDtoFoodCategoryEnum = exports.IngredientDtoFoodCategoryEnum = exports.CreateUserMetaRequestDtoGenderEnum = exports.CreateMealRequestDtoResourceTypeEnum = exports.CreateIngredientRequestDtoFoodCategoryEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -45,6 +45,10 @@ exports.CreateMealRequestDtoResourceTypeEnum = {
|
|
|
45
45
|
Group: 'group',
|
|
46
46
|
Global: 'global'
|
|
47
47
|
};
|
|
48
|
+
exports.CreateUserMetaRequestDtoGenderEnum = {
|
|
49
|
+
Male: 'MALE',
|
|
50
|
+
Female: 'FEMALE'
|
|
51
|
+
};
|
|
48
52
|
exports.IngredientDtoFoodCategoryEnum = {
|
|
49
53
|
Dairy: 'DAIRY',
|
|
50
54
|
Protein: 'PROTEIN',
|
|
@@ -113,6 +117,10 @@ exports.SavedMealDtoResourceTypeEnum = {
|
|
|
113
117
|
Group: 'group',
|
|
114
118
|
Global: 'global'
|
|
115
119
|
};
|
|
120
|
+
exports.UserMetaDtoGenderEnum = {
|
|
121
|
+
Male: 'MALE',
|
|
122
|
+
Female: 'FEMALE'
|
|
123
|
+
};
|
|
116
124
|
/**
|
|
117
125
|
* AuthV1Api - axios parameter creator
|
|
118
126
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -337,7 +337,18 @@ export interface CreateUserMetaRequestDto {
|
|
|
337
337
|
* @memberof CreateUserMetaRequestDto
|
|
338
338
|
*/
|
|
339
339
|
'imageUrl': string | null;
|
|
340
|
+
/**
|
|
341
|
+
* User gender
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof CreateUserMetaRequestDto
|
|
344
|
+
*/
|
|
345
|
+
'gender': CreateUserMetaRequestDtoGenderEnum;
|
|
340
346
|
}
|
|
347
|
+
export declare const CreateUserMetaRequestDtoGenderEnum: {
|
|
348
|
+
readonly Male: "MALE";
|
|
349
|
+
readonly Female: "FEMALE";
|
|
350
|
+
};
|
|
351
|
+
export type CreateUserMetaRequestDtoGenderEnum = typeof CreateUserMetaRequestDtoGenderEnum[keyof typeof CreateUserMetaRequestDtoGenderEnum];
|
|
341
352
|
/**
|
|
342
353
|
*
|
|
343
354
|
* @export
|
|
@@ -1807,7 +1818,18 @@ export interface UserMetaDto {
|
|
|
1807
1818
|
* @memberof UserMetaDto
|
|
1808
1819
|
*/
|
|
1809
1820
|
'heightCM': number;
|
|
1821
|
+
/**
|
|
1822
|
+
* User gender
|
|
1823
|
+
* @type {string}
|
|
1824
|
+
* @memberof UserMetaDto
|
|
1825
|
+
*/
|
|
1826
|
+
'gender': UserMetaDtoGenderEnum;
|
|
1810
1827
|
}
|
|
1828
|
+
export declare const UserMetaDtoGenderEnum: {
|
|
1829
|
+
readonly Male: "MALE";
|
|
1830
|
+
readonly Female: "FEMALE";
|
|
1831
|
+
};
|
|
1832
|
+
export type UserMetaDtoGenderEnum = typeof UserMetaDtoGenderEnum[keyof typeof UserMetaDtoGenderEnum];
|
|
1811
1833
|
/**
|
|
1812
1834
|
*
|
|
1813
1835
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -42,6 +42,10 @@ export const CreateMealRequestDtoResourceTypeEnum = {
|
|
|
42
42
|
Group: 'group',
|
|
43
43
|
Global: 'global'
|
|
44
44
|
};
|
|
45
|
+
export const CreateUserMetaRequestDtoGenderEnum = {
|
|
46
|
+
Male: 'MALE',
|
|
47
|
+
Female: 'FEMALE'
|
|
48
|
+
};
|
|
45
49
|
export const IngredientDtoFoodCategoryEnum = {
|
|
46
50
|
Dairy: 'DAIRY',
|
|
47
51
|
Protein: 'PROTEIN',
|
|
@@ -110,6 +114,10 @@ export const SavedMealDtoResourceTypeEnum = {
|
|
|
110
114
|
Group: 'group',
|
|
111
115
|
Global: 'global'
|
|
112
116
|
};
|
|
117
|
+
export const UserMetaDtoGenderEnum = {
|
|
118
|
+
Male: 'MALE',
|
|
119
|
+
Female: 'FEMALE'
|
|
120
|
+
};
|
|
113
121
|
/**
|
|
114
122
|
* AuthV1Api - axios parameter creator
|
|
115
123
|
* @export
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**dateOfBirth** | **string** | Date of birth | [default to undefined]
|
|
9
9
|
**heightCM** | **number** | User height in centimeters | [default to undefined]
|
|
10
10
|
**imageUrl** | **string** | User image URL | [default to undefined]
|
|
11
|
+
**gender** | **string** | User gender | [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: CreateUserMetaRequestDto = {
|
|
|
18
19
|
dateOfBirth,
|
|
19
20
|
heightCM,
|
|
20
21
|
imageUrl,
|
|
22
|
+
gender,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
package/docs/UserMetaDto.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**imageUrl** | **object** | User image URL | [optional] [default to undefined]
|
|
9
9
|
**dateOfBirth** | **string** | User date of birth | [default to undefined]
|
|
10
10
|
**heightCM** | **number** | User height in centimeters | [default to undefined]
|
|
11
|
+
**gender** | **string** | User gender | [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: UserMetaDto = {
|
|
|
18
19
|
imageUrl,
|
|
19
20
|
dateOfBirth,
|
|
20
21
|
heightCM,
|
|
22
|
+
gender,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|