mealie-typescript 1.0.5 → 1.0.7
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/README.md +4 -0
- package/package.json +25 -11
- package/.openapi-generator/FILES +0 -303
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -26
- package/api.ts +0 -28987
- package/base.ts +0 -62
- package/common.ts +0 -113
- package/configuration.ts +0 -121
- package/docs/AdminAboutApi.md +0 -164
- package/docs/AdminAboutInfo.md +0 -62
- package/docs/AdminBackupsApi.md +0 -333
- package/docs/AdminDebugApi.md +0 -62
- package/docs/AdminEmailApi.md +0 -116
- package/docs/AdminMaintenanceApi.md +0 -270
- package/docs/AdminManageGroupsApi.md +0 -305
- package/docs/AdminManageHouseholdsApi.md +0 -305
- package/docs/AdminManageUsersApi.md +0 -417
- package/docs/AllBackups.md +0 -22
- package/docs/AppAboutApi.md +0 -142
- package/docs/AppInfo.md +0 -44
- package/docs/AppStartupInfo.md +0 -22
- package/docs/AppStatistics.md +0 -30
- package/docs/AppTheme.md +0 -46
- package/docs/AssignCategories.md +0 -22
- package/docs/AssignSettings.md +0 -22
- package/docs/AssignTags.md +0 -22
- package/docs/AuthMethod.md +0 -12
- package/docs/BackupFile.md +0 -24
- package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +0 -20
- package/docs/CategoryBase.md +0 -26
- package/docs/CategoryIn.md +0 -20
- package/docs/CategoryOut.md +0 -26
- package/docs/CategorySummary.md +0 -24
- package/docs/ChangePassword.md +0 -22
- package/docs/CheckAppConfig.md +0 -30
- package/docs/CookBookPagination.md +0 -32
- package/docs/Cookbook.md +0 -18
- package/docs/Cookbook1.md +0 -18
- package/docs/CookbookHousehold.md +0 -22
- package/docs/CreateCookBook.md +0 -30
- package/docs/CreateGroupRecipeAction.md +0 -24
- package/docs/CreateIngredientFood.md +0 -34
- package/docs/CreateIngredientFoodAlias.md +0 -20
- package/docs/CreateIngredientUnit.md +0 -38
- package/docs/CreateIngredientUnitAlias.md +0 -20
- package/docs/CreateInviteToken.md +0 -24
- package/docs/CreatePlanEntry.md +0 -28
- package/docs/CreateRandomEntry.md +0 -22
- package/docs/CreateRecipe.md +0 -20
- package/docs/CreateRecipeBulk.md +0 -24
- package/docs/CreateRecipeByUrlBulk.md +0 -20
- package/docs/CreateUserRegistration.md +0 -42
- package/docs/CreateWebhook.md +0 -28
- package/docs/DebugResponse.md +0 -22
- package/docs/DeleteRecipes.md +0 -20
- package/docs/DeleteTokenResponse.md +0 -20
- package/docs/EmailInitationResponse.md +0 -22
- package/docs/EmailInvitation.md +0 -22
- package/docs/EmailReady.md +0 -20
- package/docs/EmailSuccess.md +0 -22
- package/docs/EmailTest.md +0 -20
- package/docs/ExploreCategoriesApi.md +0 -144
- package/docs/ExploreCookbooksApi.md +0 -145
- package/docs/ExploreFoodsApi.md +0 -144
- package/docs/ExploreHouseholdsApi.md +0 -141
- package/docs/ExploreRecipesApi.md +0 -266
- package/docs/ExploreTagsApi.md +0 -144
- package/docs/ExploreToolsApi.md +0 -144
- package/docs/ExportRecipes.md +0 -22
- package/docs/ExportTypes.md +0 -8
- package/docs/FileTokenResponse.md +0 -20
- package/docs/Food.md +0 -40
- package/docs/Food1.md +0 -40
- package/docs/ForgotPassword.md +0 -20
- package/docs/FormatResponse.md +0 -22
- package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +0 -18
- package/docs/GetAllApiRecipesGetTagsParameterInner.md +0 -18
- package/docs/GroupAdminUpdate.md +0 -24
- package/docs/GroupBase.md +0 -20
- package/docs/GroupDataExport.md +0 -32
- package/docs/GroupEventNotifierCreate.md +0 -22
- package/docs/GroupEventNotifierOptions.md +0 -69
- package/docs/GroupEventNotifierOptionsOut.md +0 -70
- package/docs/GroupEventNotifierOut.md +0 -30
- package/docs/GroupEventNotifierUpdate.md +0 -32
- package/docs/GroupEventPagination.md +0 -32
- package/docs/GroupHouseholdSummary.md +0 -22
- package/docs/GroupInDB.md +0 -34
- package/docs/GroupPagination.md +0 -32
- package/docs/GroupRecipeActionOut.md +0 -30
- package/docs/GroupRecipeActionPagination.md +0 -32
- package/docs/GroupRecipeActionType.md +0 -10
- package/docs/GroupStorage.md +0 -26
- package/docs/GroupSummary.md +0 -26
- package/docs/GroupsHouseholdsApi.md +0 -135
- package/docs/GroupsMigrationsApi.md +0 -68
- package/docs/GroupsMultiPurposeLabelsApi.md +0 -308
- package/docs/GroupsReportsApi.md +0 -172
- package/docs/GroupsSeedersApi.md +0 -175
- package/docs/GroupsSelfServiceApi.md +0 -351
- package/docs/HTTPValidationError.md +0 -20
- package/docs/HouseholdCreate.md +0 -22
- package/docs/HouseholdInDB.md +0 -34
- package/docs/HouseholdPagination.md +0 -32
- package/docs/HouseholdRecipeSummary.md +0 -22
- package/docs/HouseholdStatistics.md +0 -28
- package/docs/HouseholdSummary.md +0 -28
- package/docs/HouseholdUserSummary.md +0 -22
- package/docs/HouseholdsCookbooksApi.md +0 -361
- package/docs/HouseholdsEventNotificationsApi.md +0 -360
- package/docs/HouseholdsInvitationsApi.md +0 -171
- package/docs/HouseholdsMealplanRulesApi.md +0 -305
- package/docs/HouseholdsMealplansApi.md +0 -420
- package/docs/HouseholdsRecipeActionsApi.md +0 -367
- package/docs/HouseholdsSelfServiceApi.md +0 -406
- package/docs/HouseholdsShoppingListItemsApi.md +0 -470
- package/docs/HouseholdsShoppingListsApi.md +0 -545
- package/docs/HouseholdsWebhooksApi.md +0 -413
- package/docs/ImageType.md +0 -12
- package/docs/IngredientConfidence.md +0 -30
- package/docs/IngredientFoodAlias.md +0 -20
- package/docs/IngredientFoodInput.md +0 -40
- package/docs/IngredientFoodOutput.md +0 -40
- package/docs/IngredientFoodPagination.md +0 -32
- package/docs/IngredientReferences.md +0 -21
- package/docs/IngredientRequest.md +0 -22
- package/docs/IngredientUnitAlias.md +0 -20
- package/docs/IngredientUnitInput.md +0 -42
- package/docs/IngredientUnitOutput.md +0 -42
- package/docs/IngredientUnitPagination.md +0 -32
- package/docs/IngredientsRequest.md +0 -22
- package/docs/ItemId.md +0 -18
- package/docs/ItemId1.md +0 -18
- package/docs/LogicalOperator.md +0 -10
- package/docs/LongLiveTokenCreateResponse.md +0 -27
- package/docs/LongLiveTokenIn.md +0 -22
- package/docs/LongLiveTokenOut.md +0 -24
- package/docs/MaintenanceStorageDetails.md +0 -28
- package/docs/MaintenanceSummary.md +0 -24
- package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +0 -26
- package/docs/MealieSchemaUserUserUserBase.md +0 -44
- package/docs/MergeFood.md +0 -22
- package/docs/MergeUnit.md +0 -22
- package/docs/MultiPurposeLabelCreate.md +0 -22
- package/docs/MultiPurposeLabelOut.md +0 -26
- package/docs/MultiPurposeLabelPagination.md +0 -32
- package/docs/MultiPurposeLabelSummary.md +0 -26
- package/docs/MultiPurposeLabelUpdate.md +0 -26
- package/docs/Nutrition.md +0 -40
- package/docs/OrderByNullPosition.md +0 -10
- package/docs/OrderDirection.md +0 -10
- package/docs/OrganizerCategoriesApi.md +0 -422
- package/docs/OrganizerTagsApi.md +0 -421
- package/docs/OrganizerToolsApi.md +0 -363
- package/docs/PaginationBaseHouseholdSummary.md +0 -32
- package/docs/PaginationBaseIngredientFood.md +0 -32
- package/docs/PaginationBaseReadCookBook.md +0 -32
- package/docs/PaginationBaseRecipeCategory.md +0 -32
- package/docs/PaginationBaseRecipeSummary.md +0 -32
- package/docs/PaginationBaseRecipeTag.md +0 -32
- package/docs/PaginationBaseRecipeTool.md +0 -32
- package/docs/PaginationBaseUserOut.md +0 -32
- package/docs/PaginationBaseUserSummary.md +0 -32
- package/docs/ParsedIngredient.md +0 -24
- package/docs/PasswordResetToken.md +0 -20
- package/docs/PlanEntryPagination.md +0 -32
- package/docs/PlanEntryType.md +0 -20
- package/docs/PlanRulesCreate.md +0 -24
- package/docs/PlanRulesDay.md +0 -22
- package/docs/PlanRulesOut.md +0 -32
- package/docs/PlanRulesPagination.md +0 -32
- package/docs/PlanRulesType.md +0 -22
- package/docs/QueryFilterJSON.md +0 -20
- package/docs/QueryFilterJSONPart.md +0 -30
- package/docs/ReadCookBook.md +0 -40
- package/docs/ReadGroupPreferences.md +0 -24
- package/docs/ReadHouseholdPreferences.md +0 -36
- package/docs/ReadInviteToken.md +0 -26
- package/docs/ReadPlanEntry.md +0 -38
- package/docs/ReadWebhook.md +0 -34
- package/docs/RecipeAsset.md +0 -24
- package/docs/RecipeBulkActionsApi.md +0 -448
- package/docs/RecipeCRUDApi.md +0 -1306
- package/docs/RecipeCategory.md +0 -26
- package/docs/RecipeCategoryPagination.md +0 -32
- package/docs/RecipeCommentCreate.md +0 -22
- package/docs/RecipeCommentOutInput.md +0 -32
- package/docs/RecipeCommentOutOutput.md +0 -32
- package/docs/RecipeCommentPagination.md +0 -32
- package/docs/RecipeCommentUpdate.md +0 -22
- package/docs/RecipeCommentsApi.md +0 -361
- package/docs/RecipeDuplicate.md +0 -20
- package/docs/RecipeExportsApi.md +0 -118
- package/docs/RecipeImagesAndAssetsApi.md +0 -521
- package/docs/RecipeIngredientInput.md +0 -36
- package/docs/RecipeIngredientOutput.md +0 -36
- package/docs/RecipeIngredientParserApi.md +0 -119
- package/docs/RecipeInput.md +0 -84
- package/docs/RecipeLastMade.md +0 -20
- package/docs/RecipeNote.md +0 -22
- package/docs/RecipeOutput.md +0 -84
- package/docs/RecipeSettings.md +0 -30
- package/docs/RecipeShareToken.md +0 -30
- package/docs/RecipeShareTokenCreate.md +0 -22
- package/docs/RecipeShareTokenSummary.md +0 -28
- package/docs/RecipeSharedApi.md +0 -112
- package/docs/RecipeStep.md +0 -28
- package/docs/RecipeSuggestionResponse.md +0 -20
- package/docs/RecipeSuggestionResponseItem.md +0 -24
- package/docs/RecipeSummary.md +0 -68
- package/docs/RecipeTag.md +0 -26
- package/docs/RecipeTagPagination.md +0 -32
- package/docs/RecipeTagResponse.md +0 -28
- package/docs/RecipeTimelineApi.md +0 -366
- package/docs/RecipeTimelineEventIn.md +0 -32
- package/docs/RecipeTimelineEventOut.md +0 -42
- package/docs/RecipeTimelineEventPagination.md +0 -32
- package/docs/RecipeTimelineEventUpdate.md +0 -24
- package/docs/RecipeTool.md +0 -28
- package/docs/RecipeToolCreate.md +0 -22
- package/docs/RecipeToolOut.md +0 -28
- package/docs/RecipeToolPagination.md +0 -32
- package/docs/RecipeToolResponse.md +0 -30
- package/docs/RecipesFoodsApi.md +0 -364
- package/docs/RecipesUnitsApi.md +0 -364
- package/docs/RegisteredParser.md +0 -12
- package/docs/RelationalKeyword.md +0 -20
- package/docs/RelationalOperator.md +0 -18
- package/docs/Relationaloperator.md +0 -18
- package/docs/ReportCategory.md +0 -14
- package/docs/ReportEntryOut.md +0 -30
- package/docs/ReportOut.md +0 -32
- package/docs/ReportSummary.md +0 -30
- package/docs/ReportSummaryStatus.md +0 -14
- package/docs/ResetPassword.md +0 -26
- package/docs/SaveGroupRecipeAction.md +0 -28
- package/docs/ScrapeRecipe.md +0 -22
- package/docs/ScrapeRecipeData.md +0 -22
- package/docs/ScrapeRecipeTest.md +0 -22
- package/docs/SeederConfig.md +0 -20
- package/docs/SetPermissions.md +0 -28
- package/docs/SharedRecipesApi.md +0 -228
- package/docs/ShoppingListAddRecipeParams.md +0 -22
- package/docs/ShoppingListAddRecipeParamsBulk.md +0 -24
- package/docs/ShoppingListCreate.md +0 -26
- package/docs/ShoppingListItemCreate.md +0 -48
- package/docs/ShoppingListItemOutInput.md +0 -58
- package/docs/ShoppingListItemOutOutput.md +0 -58
- package/docs/ShoppingListItemPagination.md +0 -32
- package/docs/ShoppingListItemRecipeRefCreate.md +0 -26
- package/docs/ShoppingListItemRecipeRefOut.md +0 -30
- package/docs/ShoppingListItemRecipeRefUpdate.md +0 -30
- package/docs/ShoppingListItemUpdate.md +0 -46
- package/docs/ShoppingListItemUpdateBulk.md +0 -49
- package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +0 -30
- package/docs/ShoppingListItemsCollectionOut.md +0 -25
- package/docs/ShoppingListMultiPurposeLabelOut.md +0 -28
- package/docs/ShoppingListMultiPurposeLabelUpdate.md +0 -26
- package/docs/ShoppingListOut.md +0 -40
- package/docs/ShoppingListPagination.md +0 -32
- package/docs/ShoppingListRecipeRefOut.md +0 -28
- package/docs/ShoppingListRemoveRecipeParams.md +0 -20
- package/docs/ShoppingListSummary.md +0 -38
- package/docs/ShoppingListUpdate.md +0 -34
- package/docs/SuccessResponse.md +0 -22
- package/docs/SupportedMigrations.md +0 -26
- package/docs/TagBase.md +0 -26
- package/docs/TagIn.md +0 -20
- package/docs/TagOut.md +0 -26
- package/docs/TimelineEventImage.md +0 -10
- package/docs/TimelineEventType.md +0 -12
- package/docs/Unit.md +0 -42
- package/docs/Unit1.md +0 -42
- package/docs/UnlockResults.md +0 -20
- package/docs/UpdateCookBook.md +0 -36
- package/docs/UpdateGroupPreferences.md +0 -20
- package/docs/UpdateHouseholdAdmin.md +0 -26
- package/docs/UpdateHouseholdPreferences.md +0 -34
- package/docs/UpdateImageResponse.md +0 -20
- package/docs/UpdatePlanEntry.md +0 -34
- package/docs/UserIn.md +0 -46
- package/docs/UserOut.md +0 -56
- package/docs/UserPagination.md +0 -32
- package/docs/UserRatingOut.md +0 -28
- package/docs/UserRatingSummary.md +0 -24
- package/docs/UserRatingUpdate.md +0 -22
- package/docs/UserRatingsUserRatingOut.md +0 -20
- package/docs/UserRatingsUserRatingSummary.md +0 -20
- package/docs/UserSummary.md +0 -28
- package/docs/UsernameOrId.md +0 -18
- package/docs/UsersAuthenticationApi.md +0 -250
- package/docs/UsersCRUDApi.md +0 -334
- package/docs/UsersImagesApi.md +0 -66
- package/docs/UsersPasswordsApi.md +0 -118
- package/docs/UsersRatingsApi.md +0 -300
- package/docs/UsersRegistrationApi.md +0 -63
- package/docs/UsersTokensApi.md +0 -120
- package/docs/UtilsApi.md +0 -60
- package/docs/ValidationError.md +0 -24
- package/docs/ValidationErrorLocInner.md +0 -18
- package/docs/Value.md +0 -18
- package/docs/WebhookPagination.md +0 -32
- package/docs/WebhookType.md +0 -8
- package/index.ts +0 -18
- package/tsconfig.json +0 -21
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
# AdminMaintenanceApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**cleanImagesApiAdminMaintenanceCleanImagesPost**](#cleanimagesapiadminmaintenancecleanimagespost) | **POST** /api/admin/maintenance/clean/images | Clean Images|
|
|
8
|
-
|[**cleanRecipeFoldersApiAdminMaintenanceCleanRecipeFoldersPost**](#cleanrecipefoldersapiadminmaintenancecleanrecipefolderspost) | **POST** /api/admin/maintenance/clean/recipe-folders | Clean Recipe Folders|
|
|
9
|
-
|[**cleanTempApiAdminMaintenanceCleanTempPost**](#cleantempapiadminmaintenancecleantemppost) | **POST** /api/admin/maintenance/clean/temp | Clean Temp|
|
|
10
|
-
|[**getMaintenanceSummaryApiAdminMaintenanceGet**](#getmaintenancesummaryapiadminmaintenanceget) | **GET** /api/admin/maintenance | Get Maintenance Summary|
|
|
11
|
-
|[**getStorageDetailsApiAdminMaintenanceStorageGet**](#getstoragedetailsapiadminmaintenancestorageget) | **GET** /api/admin/maintenance/storage | Get Storage Details|
|
|
12
|
-
|
|
13
|
-
# **cleanImagesApiAdminMaintenanceCleanImagesPost**
|
|
14
|
-
> SuccessResponse cleanImagesApiAdminMaintenanceCleanImagesPost()
|
|
15
|
-
|
|
16
|
-
Purges all the images from the filesystem that aren\'t .webp
|
|
17
|
-
|
|
18
|
-
### Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import {
|
|
22
|
-
AdminMaintenanceApi,
|
|
23
|
-
Configuration
|
|
24
|
-
} from 'mealie-typescript';
|
|
25
|
-
|
|
26
|
-
const configuration = new Configuration();
|
|
27
|
-
const apiInstance = new AdminMaintenanceApi(configuration);
|
|
28
|
-
|
|
29
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
30
|
-
|
|
31
|
-
const { status, data } = await apiInstance.cleanImagesApiAdminMaintenanceCleanImagesPost(
|
|
32
|
-
acceptLanguage
|
|
33
|
-
);
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Parameters
|
|
37
|
-
|
|
38
|
-
|Name | Type | Description | Notes|
|
|
39
|
-
|------------- | ------------- | ------------- | -------------|
|
|
40
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Return type
|
|
44
|
-
|
|
45
|
-
**SuccessResponse**
|
|
46
|
-
|
|
47
|
-
### Authorization
|
|
48
|
-
|
|
49
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
50
|
-
|
|
51
|
-
### HTTP request headers
|
|
52
|
-
|
|
53
|
-
- **Content-Type**: Not defined
|
|
54
|
-
- **Accept**: application/json
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
### HTTP response details
|
|
58
|
-
| Status code | Description | Response headers |
|
|
59
|
-
|-------------|-------------|------------------|
|
|
60
|
-
|**200** | Successful Response | - |
|
|
61
|
-
|**422** | Validation Error | - |
|
|
62
|
-
|
|
63
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
|
-
|
|
65
|
-
# **cleanRecipeFoldersApiAdminMaintenanceCleanRecipeFoldersPost**
|
|
66
|
-
> SuccessResponse cleanRecipeFoldersApiAdminMaintenanceCleanRecipeFoldersPost()
|
|
67
|
-
|
|
68
|
-
Deletes all the recipe folders that don\'t have names that are valid UUIDs
|
|
69
|
-
|
|
70
|
-
### Example
|
|
71
|
-
|
|
72
|
-
```typescript
|
|
73
|
-
import {
|
|
74
|
-
AdminMaintenanceApi,
|
|
75
|
-
Configuration
|
|
76
|
-
} from 'mealie-typescript';
|
|
77
|
-
|
|
78
|
-
const configuration = new Configuration();
|
|
79
|
-
const apiInstance = new AdminMaintenanceApi(configuration);
|
|
80
|
-
|
|
81
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
82
|
-
|
|
83
|
-
const { status, data } = await apiInstance.cleanRecipeFoldersApiAdminMaintenanceCleanRecipeFoldersPost(
|
|
84
|
-
acceptLanguage
|
|
85
|
-
);
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### Parameters
|
|
89
|
-
|
|
90
|
-
|Name | Type | Description | Notes|
|
|
91
|
-
|------------- | ------------- | ------------- | -------------|
|
|
92
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
### Return type
|
|
96
|
-
|
|
97
|
-
**SuccessResponse**
|
|
98
|
-
|
|
99
|
-
### Authorization
|
|
100
|
-
|
|
101
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
102
|
-
|
|
103
|
-
### HTTP request headers
|
|
104
|
-
|
|
105
|
-
- **Content-Type**: Not defined
|
|
106
|
-
- **Accept**: application/json
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
### HTTP response details
|
|
110
|
-
| Status code | Description | Response headers |
|
|
111
|
-
|-------------|-------------|------------------|
|
|
112
|
-
|**200** | Successful Response | - |
|
|
113
|
-
|**422** | Validation Error | - |
|
|
114
|
-
|
|
115
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
116
|
-
|
|
117
|
-
# **cleanTempApiAdminMaintenanceCleanTempPost**
|
|
118
|
-
> SuccessResponse cleanTempApiAdminMaintenanceCleanTempPost()
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
### Example
|
|
122
|
-
|
|
123
|
-
```typescript
|
|
124
|
-
import {
|
|
125
|
-
AdminMaintenanceApi,
|
|
126
|
-
Configuration
|
|
127
|
-
} from 'mealie-typescript';
|
|
128
|
-
|
|
129
|
-
const configuration = new Configuration();
|
|
130
|
-
const apiInstance = new AdminMaintenanceApi(configuration);
|
|
131
|
-
|
|
132
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
133
|
-
|
|
134
|
-
const { status, data } = await apiInstance.cleanTempApiAdminMaintenanceCleanTempPost(
|
|
135
|
-
acceptLanguage
|
|
136
|
-
);
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
### Parameters
|
|
140
|
-
|
|
141
|
-
|Name | Type | Description | Notes|
|
|
142
|
-
|------------- | ------------- | ------------- | -------------|
|
|
143
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
### Return type
|
|
147
|
-
|
|
148
|
-
**SuccessResponse**
|
|
149
|
-
|
|
150
|
-
### Authorization
|
|
151
|
-
|
|
152
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
153
|
-
|
|
154
|
-
### HTTP request headers
|
|
155
|
-
|
|
156
|
-
- **Content-Type**: Not defined
|
|
157
|
-
- **Accept**: application/json
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
### HTTP response details
|
|
161
|
-
| Status code | Description | Response headers |
|
|
162
|
-
|-------------|-------------|------------------|
|
|
163
|
-
|**200** | Successful Response | - |
|
|
164
|
-
|**422** | Validation Error | - |
|
|
165
|
-
|
|
166
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
167
|
-
|
|
168
|
-
# **getMaintenanceSummaryApiAdminMaintenanceGet**
|
|
169
|
-
> MaintenanceSummary getMaintenanceSummaryApiAdminMaintenanceGet()
|
|
170
|
-
|
|
171
|
-
Get the maintenance summary
|
|
172
|
-
|
|
173
|
-
### Example
|
|
174
|
-
|
|
175
|
-
```typescript
|
|
176
|
-
import {
|
|
177
|
-
AdminMaintenanceApi,
|
|
178
|
-
Configuration
|
|
179
|
-
} from 'mealie-typescript';
|
|
180
|
-
|
|
181
|
-
const configuration = new Configuration();
|
|
182
|
-
const apiInstance = new AdminMaintenanceApi(configuration);
|
|
183
|
-
|
|
184
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
185
|
-
|
|
186
|
-
const { status, data } = await apiInstance.getMaintenanceSummaryApiAdminMaintenanceGet(
|
|
187
|
-
acceptLanguage
|
|
188
|
-
);
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
### Parameters
|
|
192
|
-
|
|
193
|
-
|Name | Type | Description | Notes|
|
|
194
|
-
|------------- | ------------- | ------------- | -------------|
|
|
195
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
### Return type
|
|
199
|
-
|
|
200
|
-
**MaintenanceSummary**
|
|
201
|
-
|
|
202
|
-
### Authorization
|
|
203
|
-
|
|
204
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
205
|
-
|
|
206
|
-
### HTTP request headers
|
|
207
|
-
|
|
208
|
-
- **Content-Type**: Not defined
|
|
209
|
-
- **Accept**: application/json
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
### HTTP response details
|
|
213
|
-
| Status code | Description | Response headers |
|
|
214
|
-
|-------------|-------------|------------------|
|
|
215
|
-
|**200** | Successful Response | - |
|
|
216
|
-
|**422** | Validation Error | - |
|
|
217
|
-
|
|
218
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
219
|
-
|
|
220
|
-
# **getStorageDetailsApiAdminMaintenanceStorageGet**
|
|
221
|
-
> MaintenanceStorageDetails getStorageDetailsApiAdminMaintenanceStorageGet()
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
### Example
|
|
225
|
-
|
|
226
|
-
```typescript
|
|
227
|
-
import {
|
|
228
|
-
AdminMaintenanceApi,
|
|
229
|
-
Configuration
|
|
230
|
-
} from 'mealie-typescript';
|
|
231
|
-
|
|
232
|
-
const configuration = new Configuration();
|
|
233
|
-
const apiInstance = new AdminMaintenanceApi(configuration);
|
|
234
|
-
|
|
235
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
236
|
-
|
|
237
|
-
const { status, data } = await apiInstance.getStorageDetailsApiAdminMaintenanceStorageGet(
|
|
238
|
-
acceptLanguage
|
|
239
|
-
);
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
### Parameters
|
|
243
|
-
|
|
244
|
-
|Name | Type | Description | Notes|
|
|
245
|
-
|------------- | ------------- | ------------- | -------------|
|
|
246
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
### Return type
|
|
250
|
-
|
|
251
|
-
**MaintenanceStorageDetails**
|
|
252
|
-
|
|
253
|
-
### Authorization
|
|
254
|
-
|
|
255
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
256
|
-
|
|
257
|
-
### HTTP request headers
|
|
258
|
-
|
|
259
|
-
- **Content-Type**: Not defined
|
|
260
|
-
- **Accept**: application/json
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
### HTTP response details
|
|
264
|
-
| Status code | Description | Response headers |
|
|
265
|
-
|-------------|-------------|------------------|
|
|
266
|
-
|**200** | Successful Response | - |
|
|
267
|
-
|**422** | Validation Error | - |
|
|
268
|
-
|
|
269
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
270
|
-
|
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
# AdminManageGroupsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**createOneApiAdminGroupsPost**](#createoneapiadmingroupspost) | **POST** /api/admin/groups | Create One|
|
|
8
|
-
|[**deleteOneApiAdminGroupsItemIdDelete**](#deleteoneapiadmingroupsitemiddelete) | **DELETE** /api/admin/groups/{item_id} | Delete One|
|
|
9
|
-
|[**getAllApiAdminGroupsGet**](#getallapiadmingroupsget) | **GET** /api/admin/groups | Get All|
|
|
10
|
-
|[**getOneApiAdminGroupsItemIdGet**](#getoneapiadmingroupsitemidget) | **GET** /api/admin/groups/{item_id} | Get One|
|
|
11
|
-
|[**updateOneApiAdminGroupsItemIdPut**](#updateoneapiadmingroupsitemidput) | **PUT** /api/admin/groups/{item_id} | Update One|
|
|
12
|
-
|
|
13
|
-
# **createOneApiAdminGroupsPost**
|
|
14
|
-
> GroupInDB createOneApiAdminGroupsPost(groupBase)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import {
|
|
21
|
-
AdminManageGroupsApi,
|
|
22
|
-
Configuration,
|
|
23
|
-
GroupBase
|
|
24
|
-
} from 'mealie-typescript';
|
|
25
|
-
|
|
26
|
-
const configuration = new Configuration();
|
|
27
|
-
const apiInstance = new AdminManageGroupsApi(configuration);
|
|
28
|
-
|
|
29
|
-
let groupBase: GroupBase; //
|
|
30
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
31
|
-
|
|
32
|
-
const { status, data } = await apiInstance.createOneApiAdminGroupsPost(
|
|
33
|
-
groupBase,
|
|
34
|
-
acceptLanguage
|
|
35
|
-
);
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Parameters
|
|
39
|
-
|
|
40
|
-
|Name | Type | Description | Notes|
|
|
41
|
-
|------------- | ------------- | ------------- | -------------|
|
|
42
|
-
| **groupBase** | **GroupBase**| | |
|
|
43
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Return type
|
|
47
|
-
|
|
48
|
-
**GroupInDB**
|
|
49
|
-
|
|
50
|
-
### Authorization
|
|
51
|
-
|
|
52
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
53
|
-
|
|
54
|
-
### HTTP request headers
|
|
55
|
-
|
|
56
|
-
- **Content-Type**: application/json
|
|
57
|
-
- **Accept**: application/json
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### HTTP response details
|
|
61
|
-
| Status code | Description | Response headers |
|
|
62
|
-
|-------------|-------------|------------------|
|
|
63
|
-
|**201** | Successful Response | - |
|
|
64
|
-
|**422** | Validation Error | - |
|
|
65
|
-
|
|
66
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
67
|
-
|
|
68
|
-
# **deleteOneApiAdminGroupsItemIdDelete**
|
|
69
|
-
> GroupInDB deleteOneApiAdminGroupsItemIdDelete()
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### Example
|
|
73
|
-
|
|
74
|
-
```typescript
|
|
75
|
-
import {
|
|
76
|
-
AdminManageGroupsApi,
|
|
77
|
-
Configuration
|
|
78
|
-
} from 'mealie-typescript';
|
|
79
|
-
|
|
80
|
-
const configuration = new Configuration();
|
|
81
|
-
const apiInstance = new AdminManageGroupsApi(configuration);
|
|
82
|
-
|
|
83
|
-
let itemId: string; // (default to undefined)
|
|
84
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
85
|
-
|
|
86
|
-
const { status, data } = await apiInstance.deleteOneApiAdminGroupsItemIdDelete(
|
|
87
|
-
itemId,
|
|
88
|
-
acceptLanguage
|
|
89
|
-
);
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### Parameters
|
|
93
|
-
|
|
94
|
-
|Name | Type | Description | Notes|
|
|
95
|
-
|------------- | ------------- | ------------- | -------------|
|
|
96
|
-
| **itemId** | [**string**] | | defaults to undefined|
|
|
97
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
### Return type
|
|
101
|
-
|
|
102
|
-
**GroupInDB**
|
|
103
|
-
|
|
104
|
-
### Authorization
|
|
105
|
-
|
|
106
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
107
|
-
|
|
108
|
-
### HTTP request headers
|
|
109
|
-
|
|
110
|
-
- **Content-Type**: Not defined
|
|
111
|
-
- **Accept**: application/json
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### HTTP response details
|
|
115
|
-
| Status code | Description | Response headers |
|
|
116
|
-
|-------------|-------------|------------------|
|
|
117
|
-
|**200** | Successful Response | - |
|
|
118
|
-
|**422** | Validation Error | - |
|
|
119
|
-
|
|
120
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
121
|
-
|
|
122
|
-
# **getAllApiAdminGroupsGet**
|
|
123
|
-
> GroupPagination getAllApiAdminGroupsGet()
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### Example
|
|
127
|
-
|
|
128
|
-
```typescript
|
|
129
|
-
import {
|
|
130
|
-
AdminManageGroupsApi,
|
|
131
|
-
Configuration
|
|
132
|
-
} from 'mealie-typescript';
|
|
133
|
-
|
|
134
|
-
const configuration = new Configuration();
|
|
135
|
-
const apiInstance = new AdminManageGroupsApi(configuration);
|
|
136
|
-
|
|
137
|
-
let orderBy: string; // (optional) (default to undefined)
|
|
138
|
-
let orderByNullPosition: OrderByNullPosition; // (optional) (default to undefined)
|
|
139
|
-
let orderDirection: OrderDirection; // (optional) (default to undefined)
|
|
140
|
-
let queryFilter: string; // (optional) (default to undefined)
|
|
141
|
-
let paginationSeed: string; // (optional) (default to undefined)
|
|
142
|
-
let page: number; // (optional) (default to 1)
|
|
143
|
-
let perPage: number; // (optional) (default to 50)
|
|
144
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
145
|
-
|
|
146
|
-
const { status, data } = await apiInstance.getAllApiAdminGroupsGet(
|
|
147
|
-
orderBy,
|
|
148
|
-
orderByNullPosition,
|
|
149
|
-
orderDirection,
|
|
150
|
-
queryFilter,
|
|
151
|
-
paginationSeed,
|
|
152
|
-
page,
|
|
153
|
-
perPage,
|
|
154
|
-
acceptLanguage
|
|
155
|
-
);
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
### Parameters
|
|
159
|
-
|
|
160
|
-
|Name | Type | Description | Notes|
|
|
161
|
-
|------------- | ------------- | ------------- | -------------|
|
|
162
|
-
| **orderBy** | [**string**] | | (optional) defaults to undefined|
|
|
163
|
-
| **orderByNullPosition** | **OrderByNullPosition** | | (optional) defaults to undefined|
|
|
164
|
-
| **orderDirection** | **OrderDirection** | | (optional) defaults to undefined|
|
|
165
|
-
| **queryFilter** | [**string**] | | (optional) defaults to undefined|
|
|
166
|
-
| **paginationSeed** | [**string**] | | (optional) defaults to undefined|
|
|
167
|
-
| **page** | [**number**] | | (optional) defaults to 1|
|
|
168
|
-
| **perPage** | [**number**] | | (optional) defaults to 50|
|
|
169
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
### Return type
|
|
173
|
-
|
|
174
|
-
**GroupPagination**
|
|
175
|
-
|
|
176
|
-
### Authorization
|
|
177
|
-
|
|
178
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
179
|
-
|
|
180
|
-
### HTTP request headers
|
|
181
|
-
|
|
182
|
-
- **Content-Type**: Not defined
|
|
183
|
-
- **Accept**: application/json
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
### HTTP response details
|
|
187
|
-
| Status code | Description | Response headers |
|
|
188
|
-
|-------------|-------------|------------------|
|
|
189
|
-
|**200** | Successful Response | - |
|
|
190
|
-
|**422** | Validation Error | - |
|
|
191
|
-
|
|
192
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
193
|
-
|
|
194
|
-
# **getOneApiAdminGroupsItemIdGet**
|
|
195
|
-
> GroupInDB getOneApiAdminGroupsItemIdGet()
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
### Example
|
|
199
|
-
|
|
200
|
-
```typescript
|
|
201
|
-
import {
|
|
202
|
-
AdminManageGroupsApi,
|
|
203
|
-
Configuration
|
|
204
|
-
} from 'mealie-typescript';
|
|
205
|
-
|
|
206
|
-
const configuration = new Configuration();
|
|
207
|
-
const apiInstance = new AdminManageGroupsApi(configuration);
|
|
208
|
-
|
|
209
|
-
let itemId: string; // (default to undefined)
|
|
210
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
211
|
-
|
|
212
|
-
const { status, data } = await apiInstance.getOneApiAdminGroupsItemIdGet(
|
|
213
|
-
itemId,
|
|
214
|
-
acceptLanguage
|
|
215
|
-
);
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
### Parameters
|
|
219
|
-
|
|
220
|
-
|Name | Type | Description | Notes|
|
|
221
|
-
|------------- | ------------- | ------------- | -------------|
|
|
222
|
-
| **itemId** | [**string**] | | defaults to undefined|
|
|
223
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
### Return type
|
|
227
|
-
|
|
228
|
-
**GroupInDB**
|
|
229
|
-
|
|
230
|
-
### Authorization
|
|
231
|
-
|
|
232
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
233
|
-
|
|
234
|
-
### HTTP request headers
|
|
235
|
-
|
|
236
|
-
- **Content-Type**: Not defined
|
|
237
|
-
- **Accept**: application/json
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
### HTTP response details
|
|
241
|
-
| Status code | Description | Response headers |
|
|
242
|
-
|-------------|-------------|------------------|
|
|
243
|
-
|**200** | Successful Response | - |
|
|
244
|
-
|**422** | Validation Error | - |
|
|
245
|
-
|
|
246
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
247
|
-
|
|
248
|
-
# **updateOneApiAdminGroupsItemIdPut**
|
|
249
|
-
> GroupInDB updateOneApiAdminGroupsItemIdPut(groupAdminUpdate)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
### Example
|
|
253
|
-
|
|
254
|
-
```typescript
|
|
255
|
-
import {
|
|
256
|
-
AdminManageGroupsApi,
|
|
257
|
-
Configuration,
|
|
258
|
-
GroupAdminUpdate
|
|
259
|
-
} from 'mealie-typescript';
|
|
260
|
-
|
|
261
|
-
const configuration = new Configuration();
|
|
262
|
-
const apiInstance = new AdminManageGroupsApi(configuration);
|
|
263
|
-
|
|
264
|
-
let itemId: string; // (default to undefined)
|
|
265
|
-
let groupAdminUpdate: GroupAdminUpdate; //
|
|
266
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
267
|
-
|
|
268
|
-
const { status, data } = await apiInstance.updateOneApiAdminGroupsItemIdPut(
|
|
269
|
-
itemId,
|
|
270
|
-
groupAdminUpdate,
|
|
271
|
-
acceptLanguage
|
|
272
|
-
);
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
### Parameters
|
|
276
|
-
|
|
277
|
-
|Name | Type | Description | Notes|
|
|
278
|
-
|------------- | ------------- | ------------- | -------------|
|
|
279
|
-
| **groupAdminUpdate** | **GroupAdminUpdate**| | |
|
|
280
|
-
| **itemId** | [**string**] | | defaults to undefined|
|
|
281
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
### Return type
|
|
285
|
-
|
|
286
|
-
**GroupInDB**
|
|
287
|
-
|
|
288
|
-
### Authorization
|
|
289
|
-
|
|
290
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
291
|
-
|
|
292
|
-
### HTTP request headers
|
|
293
|
-
|
|
294
|
-
- **Content-Type**: application/json
|
|
295
|
-
- **Accept**: application/json
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
### HTTP response details
|
|
299
|
-
| Status code | Description | Response headers |
|
|
300
|
-
|-------------|-------------|------------------|
|
|
301
|
-
|**200** | Successful Response | - |
|
|
302
|
-
|**422** | Validation Error | - |
|
|
303
|
-
|
|
304
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
305
|
-
|