mealie-typescript 1.0.0

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.
Files changed (317) hide show
  1. package/.openapi-generator/FILES +306 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +24 -0
  4. package/README.md +564 -0
  5. package/api.ts +28987 -0
  6. package/base.ts +62 -0
  7. package/common.ts +113 -0
  8. package/configuration.ts +121 -0
  9. package/dist/api.d.ts +15860 -0
  10. package/dist/api.js +28568 -0
  11. package/dist/base.d.ts +42 -0
  12. package/dist/base.js +67 -0
  13. package/dist/common.d.ts +28 -0
  14. package/dist/common.js +216 -0
  15. package/dist/configuration.d.ts +98 -0
  16. package/dist/configuration.js +57 -0
  17. package/dist/index.d.ts +13 -0
  18. package/dist/index.js +31 -0
  19. package/docs/AdminAboutApi.md +164 -0
  20. package/docs/AdminAboutInfo.md +62 -0
  21. package/docs/AdminBackupsApi.md +333 -0
  22. package/docs/AdminDebugApi.md +62 -0
  23. package/docs/AdminEmailApi.md +116 -0
  24. package/docs/AdminMaintenanceApi.md +270 -0
  25. package/docs/AdminManageGroupsApi.md +305 -0
  26. package/docs/AdminManageHouseholdsApi.md +305 -0
  27. package/docs/AdminManageUsersApi.md +417 -0
  28. package/docs/AllBackups.md +22 -0
  29. package/docs/AppAboutApi.md +142 -0
  30. package/docs/AppInfo.md +44 -0
  31. package/docs/AppStartupInfo.md +22 -0
  32. package/docs/AppStatistics.md +30 -0
  33. package/docs/AppTheme.md +46 -0
  34. package/docs/AssignCategories.md +22 -0
  35. package/docs/AssignSettings.md +22 -0
  36. package/docs/AssignTags.md +22 -0
  37. package/docs/AuthMethod.md +12 -0
  38. package/docs/BackupFile.md +24 -0
  39. package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +20 -0
  40. package/docs/CategoryBase.md +26 -0
  41. package/docs/CategoryIn.md +20 -0
  42. package/docs/CategoryOut.md +26 -0
  43. package/docs/CategorySummary.md +24 -0
  44. package/docs/ChangePassword.md +22 -0
  45. package/docs/CheckAppConfig.md +30 -0
  46. package/docs/CookBookPagination.md +32 -0
  47. package/docs/Cookbook.md +18 -0
  48. package/docs/Cookbook1.md +18 -0
  49. package/docs/CookbookHousehold.md +22 -0
  50. package/docs/CreateCookBook.md +30 -0
  51. package/docs/CreateGroupRecipeAction.md +24 -0
  52. package/docs/CreateIngredientFood.md +34 -0
  53. package/docs/CreateIngredientFoodAlias.md +20 -0
  54. package/docs/CreateIngredientUnit.md +38 -0
  55. package/docs/CreateIngredientUnitAlias.md +20 -0
  56. package/docs/CreateInviteToken.md +24 -0
  57. package/docs/CreatePlanEntry.md +28 -0
  58. package/docs/CreateRandomEntry.md +22 -0
  59. package/docs/CreateRecipe.md +20 -0
  60. package/docs/CreateRecipeBulk.md +24 -0
  61. package/docs/CreateRecipeByUrlBulk.md +20 -0
  62. package/docs/CreateUserRegistration.md +42 -0
  63. package/docs/CreateWebhook.md +28 -0
  64. package/docs/DebugResponse.md +22 -0
  65. package/docs/DeleteRecipes.md +20 -0
  66. package/docs/DeleteTokenResponse.md +20 -0
  67. package/docs/EmailInitationResponse.md +22 -0
  68. package/docs/EmailInvitation.md +22 -0
  69. package/docs/EmailReady.md +20 -0
  70. package/docs/EmailSuccess.md +22 -0
  71. package/docs/EmailTest.md +20 -0
  72. package/docs/ExploreCategoriesApi.md +144 -0
  73. package/docs/ExploreCookbooksApi.md +145 -0
  74. package/docs/ExploreFoodsApi.md +144 -0
  75. package/docs/ExploreHouseholdsApi.md +141 -0
  76. package/docs/ExploreRecipesApi.md +266 -0
  77. package/docs/ExploreTagsApi.md +144 -0
  78. package/docs/ExploreToolsApi.md +144 -0
  79. package/docs/ExportRecipes.md +22 -0
  80. package/docs/ExportTypes.md +8 -0
  81. package/docs/FileTokenResponse.md +20 -0
  82. package/docs/Food.md +40 -0
  83. package/docs/Food1.md +40 -0
  84. package/docs/ForgotPassword.md +20 -0
  85. package/docs/FormatResponse.md +22 -0
  86. package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +18 -0
  87. package/docs/GetAllApiRecipesGetTagsParameterInner.md +18 -0
  88. package/docs/GroupAdminUpdate.md +24 -0
  89. package/docs/GroupBase.md +20 -0
  90. package/docs/GroupDataExport.md +32 -0
  91. package/docs/GroupEventNotifierCreate.md +22 -0
  92. package/docs/GroupEventNotifierOptions.md +69 -0
  93. package/docs/GroupEventNotifierOptionsOut.md +70 -0
  94. package/docs/GroupEventNotifierOut.md +30 -0
  95. package/docs/GroupEventNotifierUpdate.md +32 -0
  96. package/docs/GroupEventPagination.md +32 -0
  97. package/docs/GroupHouseholdSummary.md +22 -0
  98. package/docs/GroupInDB.md +34 -0
  99. package/docs/GroupPagination.md +32 -0
  100. package/docs/GroupRecipeActionOut.md +30 -0
  101. package/docs/GroupRecipeActionPagination.md +32 -0
  102. package/docs/GroupRecipeActionType.md +10 -0
  103. package/docs/GroupStorage.md +26 -0
  104. package/docs/GroupSummary.md +26 -0
  105. package/docs/GroupsHouseholdsApi.md +135 -0
  106. package/docs/GroupsMigrationsApi.md +68 -0
  107. package/docs/GroupsMultiPurposeLabelsApi.md +308 -0
  108. package/docs/GroupsReportsApi.md +172 -0
  109. package/docs/GroupsSeedersApi.md +175 -0
  110. package/docs/GroupsSelfServiceApi.md +351 -0
  111. package/docs/HTTPValidationError.md +20 -0
  112. package/docs/HouseholdCreate.md +22 -0
  113. package/docs/HouseholdInDB.md +34 -0
  114. package/docs/HouseholdPagination.md +32 -0
  115. package/docs/HouseholdRecipeSummary.md +22 -0
  116. package/docs/HouseholdStatistics.md +28 -0
  117. package/docs/HouseholdSummary.md +28 -0
  118. package/docs/HouseholdUserSummary.md +22 -0
  119. package/docs/HouseholdsCookbooksApi.md +361 -0
  120. package/docs/HouseholdsEventNotificationsApi.md +360 -0
  121. package/docs/HouseholdsInvitationsApi.md +171 -0
  122. package/docs/HouseholdsMealplanRulesApi.md +305 -0
  123. package/docs/HouseholdsMealplansApi.md +420 -0
  124. package/docs/HouseholdsRecipeActionsApi.md +367 -0
  125. package/docs/HouseholdsSelfServiceApi.md +406 -0
  126. package/docs/HouseholdsShoppingListItemsApi.md +470 -0
  127. package/docs/HouseholdsShoppingListsApi.md +545 -0
  128. package/docs/HouseholdsWebhooksApi.md +413 -0
  129. package/docs/ImageType.md +12 -0
  130. package/docs/IngredientConfidence.md +30 -0
  131. package/docs/IngredientFoodAlias.md +20 -0
  132. package/docs/IngredientFoodInput.md +40 -0
  133. package/docs/IngredientFoodOutput.md +40 -0
  134. package/docs/IngredientFoodPagination.md +32 -0
  135. package/docs/IngredientReferences.md +21 -0
  136. package/docs/IngredientRequest.md +22 -0
  137. package/docs/IngredientUnitAlias.md +20 -0
  138. package/docs/IngredientUnitInput.md +42 -0
  139. package/docs/IngredientUnitOutput.md +42 -0
  140. package/docs/IngredientUnitPagination.md +32 -0
  141. package/docs/IngredientsRequest.md +22 -0
  142. package/docs/ItemId.md +18 -0
  143. package/docs/ItemId1.md +18 -0
  144. package/docs/LogicalOperator.md +10 -0
  145. package/docs/LongLiveTokenCreateResponse.md +27 -0
  146. package/docs/LongLiveTokenIn.md +22 -0
  147. package/docs/LongLiveTokenOut.md +24 -0
  148. package/docs/MaintenanceStorageDetails.md +28 -0
  149. package/docs/MaintenanceSummary.md +24 -0
  150. package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +26 -0
  151. package/docs/MealieSchemaUserUserUserBase.md +44 -0
  152. package/docs/MergeFood.md +22 -0
  153. package/docs/MergeUnit.md +22 -0
  154. package/docs/MultiPurposeLabelCreate.md +22 -0
  155. package/docs/MultiPurposeLabelOut.md +26 -0
  156. package/docs/MultiPurposeLabelPagination.md +32 -0
  157. package/docs/MultiPurposeLabelSummary.md +26 -0
  158. package/docs/MultiPurposeLabelUpdate.md +26 -0
  159. package/docs/Nutrition.md +40 -0
  160. package/docs/OrderByNullPosition.md +10 -0
  161. package/docs/OrderDirection.md +10 -0
  162. package/docs/OrganizerCategoriesApi.md +422 -0
  163. package/docs/OrganizerTagsApi.md +421 -0
  164. package/docs/OrganizerToolsApi.md +363 -0
  165. package/docs/PaginationBaseHouseholdSummary.md +32 -0
  166. package/docs/PaginationBaseIngredientFood.md +32 -0
  167. package/docs/PaginationBaseReadCookBook.md +32 -0
  168. package/docs/PaginationBaseRecipeCategory.md +32 -0
  169. package/docs/PaginationBaseRecipeSummary.md +32 -0
  170. package/docs/PaginationBaseRecipeTag.md +32 -0
  171. package/docs/PaginationBaseRecipeTool.md +32 -0
  172. package/docs/PaginationBaseUserOut.md +32 -0
  173. package/docs/PaginationBaseUserSummary.md +32 -0
  174. package/docs/ParsedIngredient.md +24 -0
  175. package/docs/PasswordResetToken.md +20 -0
  176. package/docs/PlanEntryPagination.md +32 -0
  177. package/docs/PlanEntryType.md +20 -0
  178. package/docs/PlanRulesCreate.md +24 -0
  179. package/docs/PlanRulesDay.md +22 -0
  180. package/docs/PlanRulesOut.md +32 -0
  181. package/docs/PlanRulesPagination.md +32 -0
  182. package/docs/PlanRulesType.md +22 -0
  183. package/docs/QueryFilterJSON.md +20 -0
  184. package/docs/QueryFilterJSONPart.md +30 -0
  185. package/docs/ReadCookBook.md +40 -0
  186. package/docs/ReadGroupPreferences.md +24 -0
  187. package/docs/ReadHouseholdPreferences.md +36 -0
  188. package/docs/ReadInviteToken.md +26 -0
  189. package/docs/ReadPlanEntry.md +38 -0
  190. package/docs/ReadWebhook.md +34 -0
  191. package/docs/RecipeAsset.md +24 -0
  192. package/docs/RecipeBulkActionsApi.md +448 -0
  193. package/docs/RecipeCRUDApi.md +1306 -0
  194. package/docs/RecipeCategory.md +26 -0
  195. package/docs/RecipeCategoryPagination.md +32 -0
  196. package/docs/RecipeCommentCreate.md +22 -0
  197. package/docs/RecipeCommentOutInput.md +32 -0
  198. package/docs/RecipeCommentOutOutput.md +32 -0
  199. package/docs/RecipeCommentPagination.md +32 -0
  200. package/docs/RecipeCommentUpdate.md +22 -0
  201. package/docs/RecipeCommentsApi.md +361 -0
  202. package/docs/RecipeDuplicate.md +20 -0
  203. package/docs/RecipeExportsApi.md +118 -0
  204. package/docs/RecipeImagesAndAssetsApi.md +521 -0
  205. package/docs/RecipeIngredientInput.md +36 -0
  206. package/docs/RecipeIngredientOutput.md +36 -0
  207. package/docs/RecipeIngredientParserApi.md +119 -0
  208. package/docs/RecipeInput.md +84 -0
  209. package/docs/RecipeLastMade.md +20 -0
  210. package/docs/RecipeNote.md +22 -0
  211. package/docs/RecipeOutput.md +84 -0
  212. package/docs/RecipeSettings.md +30 -0
  213. package/docs/RecipeShareToken.md +30 -0
  214. package/docs/RecipeShareTokenCreate.md +22 -0
  215. package/docs/RecipeShareTokenSummary.md +28 -0
  216. package/docs/RecipeSharedApi.md +112 -0
  217. package/docs/RecipeStep.md +28 -0
  218. package/docs/RecipeSuggestionResponse.md +20 -0
  219. package/docs/RecipeSuggestionResponseItem.md +24 -0
  220. package/docs/RecipeSummary.md +68 -0
  221. package/docs/RecipeTag.md +26 -0
  222. package/docs/RecipeTagPagination.md +32 -0
  223. package/docs/RecipeTagResponse.md +28 -0
  224. package/docs/RecipeTimelineApi.md +366 -0
  225. package/docs/RecipeTimelineEventIn.md +32 -0
  226. package/docs/RecipeTimelineEventOut.md +42 -0
  227. package/docs/RecipeTimelineEventPagination.md +32 -0
  228. package/docs/RecipeTimelineEventUpdate.md +24 -0
  229. package/docs/RecipeTool.md +28 -0
  230. package/docs/RecipeToolCreate.md +22 -0
  231. package/docs/RecipeToolOut.md +28 -0
  232. package/docs/RecipeToolPagination.md +32 -0
  233. package/docs/RecipeToolResponse.md +30 -0
  234. package/docs/RecipesFoodsApi.md +364 -0
  235. package/docs/RecipesUnitsApi.md +364 -0
  236. package/docs/RegisteredParser.md +12 -0
  237. package/docs/RelationalKeyword.md +20 -0
  238. package/docs/RelationalOperator.md +18 -0
  239. package/docs/Relationaloperator.md +18 -0
  240. package/docs/ReportCategory.md +14 -0
  241. package/docs/ReportEntryOut.md +30 -0
  242. package/docs/ReportOut.md +32 -0
  243. package/docs/ReportSummary.md +30 -0
  244. package/docs/ReportSummaryStatus.md +14 -0
  245. package/docs/ResetPassword.md +26 -0
  246. package/docs/SaveGroupRecipeAction.md +28 -0
  247. package/docs/ScrapeRecipe.md +22 -0
  248. package/docs/ScrapeRecipeData.md +22 -0
  249. package/docs/ScrapeRecipeTest.md +22 -0
  250. package/docs/SeederConfig.md +20 -0
  251. package/docs/SetPermissions.md +28 -0
  252. package/docs/SharedRecipesApi.md +228 -0
  253. package/docs/ShoppingListAddRecipeParams.md +22 -0
  254. package/docs/ShoppingListAddRecipeParamsBulk.md +24 -0
  255. package/docs/ShoppingListCreate.md +26 -0
  256. package/docs/ShoppingListItemCreate.md +48 -0
  257. package/docs/ShoppingListItemOutInput.md +58 -0
  258. package/docs/ShoppingListItemOutOutput.md +58 -0
  259. package/docs/ShoppingListItemPagination.md +32 -0
  260. package/docs/ShoppingListItemRecipeRefCreate.md +26 -0
  261. package/docs/ShoppingListItemRecipeRefOut.md +30 -0
  262. package/docs/ShoppingListItemRecipeRefUpdate.md +30 -0
  263. package/docs/ShoppingListItemUpdate.md +46 -0
  264. package/docs/ShoppingListItemUpdateBulk.md +49 -0
  265. package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +30 -0
  266. package/docs/ShoppingListItemsCollectionOut.md +25 -0
  267. package/docs/ShoppingListMultiPurposeLabelOut.md +28 -0
  268. package/docs/ShoppingListMultiPurposeLabelUpdate.md +26 -0
  269. package/docs/ShoppingListOut.md +40 -0
  270. package/docs/ShoppingListPagination.md +32 -0
  271. package/docs/ShoppingListRecipeRefOut.md +28 -0
  272. package/docs/ShoppingListRemoveRecipeParams.md +20 -0
  273. package/docs/ShoppingListSummary.md +38 -0
  274. package/docs/ShoppingListUpdate.md +34 -0
  275. package/docs/SuccessResponse.md +22 -0
  276. package/docs/SupportedMigrations.md +26 -0
  277. package/docs/TagBase.md +26 -0
  278. package/docs/TagIn.md +20 -0
  279. package/docs/TagOut.md +26 -0
  280. package/docs/TimelineEventImage.md +10 -0
  281. package/docs/TimelineEventType.md +12 -0
  282. package/docs/Unit.md +42 -0
  283. package/docs/Unit1.md +42 -0
  284. package/docs/UnlockResults.md +20 -0
  285. package/docs/UpdateCookBook.md +36 -0
  286. package/docs/UpdateGroupPreferences.md +20 -0
  287. package/docs/UpdateHouseholdAdmin.md +26 -0
  288. package/docs/UpdateHouseholdPreferences.md +34 -0
  289. package/docs/UpdateImageResponse.md +20 -0
  290. package/docs/UpdatePlanEntry.md +34 -0
  291. package/docs/UserIn.md +46 -0
  292. package/docs/UserOut.md +56 -0
  293. package/docs/UserPagination.md +32 -0
  294. package/docs/UserRatingOut.md +28 -0
  295. package/docs/UserRatingSummary.md +24 -0
  296. package/docs/UserRatingUpdate.md +22 -0
  297. package/docs/UserRatingsUserRatingOut.md +20 -0
  298. package/docs/UserRatingsUserRatingSummary.md +20 -0
  299. package/docs/UserSummary.md +28 -0
  300. package/docs/UsernameOrId.md +18 -0
  301. package/docs/UsersAuthenticationApi.md +250 -0
  302. package/docs/UsersCRUDApi.md +334 -0
  303. package/docs/UsersImagesApi.md +66 -0
  304. package/docs/UsersPasswordsApi.md +118 -0
  305. package/docs/UsersRatingsApi.md +300 -0
  306. package/docs/UsersRegistrationApi.md +63 -0
  307. package/docs/UsersTokensApi.md +120 -0
  308. package/docs/UtilsApi.md +60 -0
  309. package/docs/ValidationError.md +24 -0
  310. package/docs/ValidationErrorLocInner.md +18 -0
  311. package/docs/Value.md +18 -0
  312. package/docs/WebhookPagination.md +32 -0
  313. package/docs/WebhookType.md +8 -0
  314. package/git_push.sh +57 -0
  315. package/index.ts +18 -0
  316. package/package.json +31 -0
  317. package/tsconfig.json +21 -0
package/dist/base.d.ts ADDED
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Mealie
3
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
4
+ *
5
+ * The version of the OpenAPI document: nightly
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ export declare const BASE_PATH: string;
15
+ export declare const COLLECTION_FORMATS: {
16
+ csv: string;
17
+ ssv: string;
18
+ tsv: string;
19
+ pipes: string;
20
+ };
21
+ export interface RequestArgs {
22
+ url: string;
23
+ options: RawAxiosRequestConfig;
24
+ }
25
+ export declare class BaseAPI {
26
+ protected basePath: string;
27
+ protected axios: AxiosInstance;
28
+ protected configuration: Configuration | undefined;
29
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
30
+ }
31
+ export declare class RequiredError extends Error {
32
+ field: string;
33
+ constructor(field: string, msg?: string);
34
+ }
35
+ interface ServerMap {
36
+ [key: string]: {
37
+ url: string;
38
+ description: string;
39
+ }[];
40
+ }
41
+ export declare const operationServerMap: ServerMap;
42
+ export {};
package/dist/base.js ADDED
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Mealie
6
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
7
+ *
8
+ * The version of the OpenAPI document: nightly
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ Object.defineProperty(exports, "__esModule", { value: true });
31
+ exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
32
+ var axios_1 = require("axios");
33
+ exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
34
+ exports.COLLECTION_FORMATS = {
35
+ csv: ",",
36
+ ssv: " ",
37
+ tsv: "\t",
38
+ pipes: "|",
39
+ };
40
+ var BaseAPI = /** @class */ (function () {
41
+ function BaseAPI(configuration, basePath, axios) {
42
+ if (basePath === void 0) { basePath = exports.BASE_PATH; }
43
+ if (axios === void 0) { axios = axios_1.default; }
44
+ var _a;
45
+ this.basePath = basePath;
46
+ this.axios = axios;
47
+ if (configuration) {
48
+ this.configuration = configuration;
49
+ this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath;
50
+ }
51
+ }
52
+ return BaseAPI;
53
+ }());
54
+ exports.BaseAPI = BaseAPI;
55
+ ;
56
+ var RequiredError = /** @class */ (function (_super) {
57
+ __extends(RequiredError, _super);
58
+ function RequiredError(field, msg) {
59
+ var _this = _super.call(this, msg) || this;
60
+ _this.field = field;
61
+ _this.name = "RequiredError";
62
+ return _this;
63
+ }
64
+ return RequiredError;
65
+ }(Error));
66
+ exports.RequiredError = RequiredError;
67
+ exports.operationServerMap = {};
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Mealie
3
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
4
+ *
5
+ * The version of the OpenAPI document: nightly
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from "./configuration";
13
+ import type { RequestArgs } from "./base";
14
+ import type { AxiosInstance, AxiosResponse } from 'axios';
15
+ export declare const DUMMY_BASE_URL = "https://example.com";
16
+ /**
17
+ *
18
+ * @throws {RequiredError}
19
+ */
20
+ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
21
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
22
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
23
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
+ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
27
+ export declare const toPathString: (url: URL) => string;
28
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/dist/common.js ADDED
@@ -0,0 +1,216 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Mealie
6
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
7
+ *
8
+ * The version of the OpenAPI document: nightly
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __assign = (this && this.__assign) || function () {
16
+ __assign = Object.assign || function(t) {
17
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
18
+ s = arguments[i];
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
+ t[p] = s[p];
21
+ }
22
+ return t;
23
+ };
24
+ return __assign.apply(this, arguments);
25
+ };
26
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
27
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
28
+ return new (P || (P = Promise))(function (resolve, reject) {
29
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
30
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
31
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
32
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
33
+ });
34
+ };
35
+ var __generator = (this && this.__generator) || function (thisArg, body) {
36
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
37
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
38
+ function verb(n) { return function (v) { return step([n, v]); }; }
39
+ function step(op) {
40
+ if (f) throw new TypeError("Generator is already executing.");
41
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
42
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
43
+ if (y = 0, t) op = [op[0] & 2, t.value];
44
+ switch (op[0]) {
45
+ case 0: case 1: t = op; break;
46
+ case 4: _.label++; return { value: op[1], done: false };
47
+ case 5: _.label++; y = op[1]; op = [0]; continue;
48
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
49
+ default:
50
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
51
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
52
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
53
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
54
+ if (t[2]) _.ops.pop();
55
+ _.trys.pop(); continue;
56
+ }
57
+ op = body.call(thisArg, _);
58
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
59
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
60
+ }
61
+ };
62
+ Object.defineProperty(exports, "__esModule", { value: true });
63
+ exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
64
+ var base_1 = require("./base");
65
+ exports.DUMMY_BASE_URL = 'https://example.com';
66
+ /**
67
+ *
68
+ * @throws {RequiredError}
69
+ */
70
+ var assertParamExists = function (functionName, paramName, paramValue) {
71
+ if (paramValue === null || paramValue === undefined) {
72
+ throw new base_1.RequiredError(paramName, "Required parameter ".concat(paramName, " was null or undefined when calling ").concat(functionName, "."));
73
+ }
74
+ };
75
+ exports.assertParamExists = assertParamExists;
76
+ var setApiKeyToObject = function (object, keyParamName, configuration) {
77
+ return __awaiter(this, void 0, void 0, function () {
78
+ var localVarApiKeyValue, _a;
79
+ return __generator(this, function (_b) {
80
+ switch (_b.label) {
81
+ case 0:
82
+ if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
83
+ if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
84
+ return [4 /*yield*/, configuration.apiKey(keyParamName)];
85
+ case 1:
86
+ _a = _b.sent();
87
+ return [3 /*break*/, 4];
88
+ case 2: return [4 /*yield*/, configuration.apiKey];
89
+ case 3:
90
+ _a = _b.sent();
91
+ _b.label = 4;
92
+ case 4:
93
+ localVarApiKeyValue = _a;
94
+ object[keyParamName] = localVarApiKeyValue;
95
+ _b.label = 5;
96
+ case 5: return [2 /*return*/];
97
+ }
98
+ });
99
+ });
100
+ };
101
+ exports.setApiKeyToObject = setApiKeyToObject;
102
+ var setBasicAuthToObject = function (object, configuration) {
103
+ if (configuration && (configuration.username || configuration.password)) {
104
+ object["auth"] = { username: configuration.username, password: configuration.password };
105
+ }
106
+ };
107
+ exports.setBasicAuthToObject = setBasicAuthToObject;
108
+ var setBearerAuthToObject = function (object, configuration) {
109
+ return __awaiter(this, void 0, void 0, function () {
110
+ var accessToken, _a;
111
+ return __generator(this, function (_b) {
112
+ switch (_b.label) {
113
+ case 0:
114
+ if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
115
+ if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
116
+ return [4 /*yield*/, configuration.accessToken()];
117
+ case 1:
118
+ _a = _b.sent();
119
+ return [3 /*break*/, 4];
120
+ case 2: return [4 /*yield*/, configuration.accessToken];
121
+ case 3:
122
+ _a = _b.sent();
123
+ _b.label = 4;
124
+ case 4:
125
+ accessToken = _a;
126
+ object["Authorization"] = "Bearer " + accessToken;
127
+ _b.label = 5;
128
+ case 5: return [2 /*return*/];
129
+ }
130
+ });
131
+ });
132
+ };
133
+ exports.setBearerAuthToObject = setBearerAuthToObject;
134
+ var setOAuthToObject = function (object, name, scopes, configuration) {
135
+ return __awaiter(this, void 0, void 0, function () {
136
+ var localVarAccessTokenValue, _a;
137
+ return __generator(this, function (_b) {
138
+ switch (_b.label) {
139
+ case 0:
140
+ if (!(configuration && configuration.accessToken)) return [3 /*break*/, 5];
141
+ if (!(typeof configuration.accessToken === 'function')) return [3 /*break*/, 2];
142
+ return [4 /*yield*/, configuration.accessToken(name, scopes)];
143
+ case 1:
144
+ _a = _b.sent();
145
+ return [3 /*break*/, 4];
146
+ case 2: return [4 /*yield*/, configuration.accessToken];
147
+ case 3:
148
+ _a = _b.sent();
149
+ _b.label = 4;
150
+ case 4:
151
+ localVarAccessTokenValue = _a;
152
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
153
+ _b.label = 5;
154
+ case 5: return [2 /*return*/];
155
+ }
156
+ });
157
+ });
158
+ };
159
+ exports.setOAuthToObject = setOAuthToObject;
160
+ function setFlattenedQueryParams(urlSearchParams, parameter, key) {
161
+ if (key === void 0) { key = ""; }
162
+ if (parameter == null)
163
+ return;
164
+ if (typeof parameter === "object") {
165
+ if (Array.isArray(parameter)) {
166
+ parameter.forEach(function (item) { return setFlattenedQueryParams(urlSearchParams, item, key); });
167
+ }
168
+ else {
169
+ Object.keys(parameter).forEach(function (currentKey) {
170
+ return setFlattenedQueryParams(urlSearchParams, parameter[currentKey], "".concat(key).concat(key !== '' ? '.' : '').concat(currentKey));
171
+ });
172
+ }
173
+ }
174
+ else {
175
+ if (urlSearchParams.has(key)) {
176
+ urlSearchParams.append(key, parameter);
177
+ }
178
+ else {
179
+ urlSearchParams.set(key, parameter);
180
+ }
181
+ }
182
+ }
183
+ var setSearchParams = function (url) {
184
+ var objects = [];
185
+ for (var _i = 1; _i < arguments.length; _i++) {
186
+ objects[_i - 1] = arguments[_i];
187
+ }
188
+ var searchParams = new URLSearchParams(url.search);
189
+ setFlattenedQueryParams(searchParams, objects);
190
+ url.search = searchParams.toString();
191
+ };
192
+ exports.setSearchParams = setSearchParams;
193
+ var serializeDataIfNeeded = function (value, requestOptions, configuration) {
194
+ var nonString = typeof value !== 'string';
195
+ var needsSerialization = nonString && configuration && configuration.isJsonMime
196
+ ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
197
+ : nonString;
198
+ return needsSerialization
199
+ ? JSON.stringify(value !== undefined ? value : {})
200
+ : (value || "");
201
+ };
202
+ exports.serializeDataIfNeeded = serializeDataIfNeeded;
203
+ var toPathString = function (url) {
204
+ return url.pathname + url.search + url.hash;
205
+ };
206
+ exports.toPathString = toPathString;
207
+ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
208
+ return function (axios, basePath) {
209
+ var _a;
210
+ if (axios === void 0) { axios = globalAxios; }
211
+ if (basePath === void 0) { basePath = BASE_PATH; }
212
+ var axiosRequestArgs = __assign(__assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
213
+ return axios.request(axiosRequestArgs);
214
+ };
215
+ };
216
+ exports.createRequestFunction = createRequestFunction;
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Mealie
3
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
4
+ *
5
+ * The version of the OpenAPI document: nightly
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ interface AWSv4Configuration {
13
+ options?: {
14
+ region?: string;
15
+ service?: string;
16
+ };
17
+ credentials?: {
18
+ accessKeyId?: string;
19
+ secretAccessKey?: string;
20
+ sessionToken?: string;
21
+ };
22
+ }
23
+ export interface ConfigurationParameters {
24
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
+ username?: string;
26
+ password?: string;
27
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
+ awsv4?: AWSv4Configuration;
29
+ basePath?: string;
30
+ serverIndex?: number;
31
+ baseOptions?: any;
32
+ formDataCtor?: new () => any;
33
+ }
34
+ export declare class Configuration {
35
+ /**
36
+ * parameter for apiKey security
37
+ * @param name security name
38
+ */
39
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
40
+ /**
41
+ * parameter for basic security
42
+ */
43
+ username?: string;
44
+ /**
45
+ * parameter for basic security
46
+ */
47
+ password?: string;
48
+ /**
49
+ * parameter for oauth2 security
50
+ * @param name security name
51
+ * @param scopes oauth2 scope
52
+ */
53
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
+ /**
55
+ * parameter for aws4 signature security
56
+ * @param {Object} AWS4Signature - AWS4 Signature security
57
+ * @param {string} options.region - aws region
58
+ * @param {string} options.service - name of the service.
59
+ * @param {string} credentials.accessKeyId - aws access key id
60
+ * @param {string} credentials.secretAccessKey - aws access key
61
+ * @param {string} credentials.sessionToken - aws session token
62
+ * @memberof Configuration
63
+ */
64
+ awsv4?: AWSv4Configuration;
65
+ /**
66
+ * override base path
67
+ */
68
+ basePath?: string;
69
+ /**
70
+ * override server index
71
+ */
72
+ serverIndex?: number;
73
+ /**
74
+ * base options for axios calls
75
+ */
76
+ baseOptions?: any;
77
+ /**
78
+ * The FormData constructor that will be used to create multipart form data
79
+ * requests. You can inject this here so that execution environments that
80
+ * do not support the FormData class can still run the generated client.
81
+ *
82
+ * @type {new () => FormData}
83
+ */
84
+ formDataCtor?: new () => any;
85
+ constructor(param?: ConfigurationParameters);
86
+ /**
87
+ * Check if the given MIME is a JSON MIME.
88
+ * JSON MIME examples:
89
+ * application/json
90
+ * application/json; charset=UTF8
91
+ * APPLICATION/JSON
92
+ * application/vnd.company+json
93
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
94
+ * @return True if the given MIME is JSON, false otherwise.
95
+ */
96
+ isJsonMime(mime: string): boolean;
97
+ }
98
+ export {};
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /**
4
+ * Mealie
5
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
6
+ *
7
+ * The version of the OpenAPI document: nightly
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __assign = (this && this.__assign) || function () {
15
+ __assign = Object.assign || function(t) {
16
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
17
+ s = arguments[i];
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
19
+ t[p] = s[p];
20
+ }
21
+ return t;
22
+ };
23
+ return __assign.apply(this, arguments);
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.Configuration = void 0;
27
+ var Configuration = /** @class */ (function () {
28
+ function Configuration(param) {
29
+ if (param === void 0) { param = {}; }
30
+ var _a;
31
+ this.apiKey = param.apiKey;
32
+ this.username = param.username;
33
+ this.password = param.password;
34
+ this.accessToken = param.accessToken;
35
+ this.awsv4 = param.awsv4;
36
+ this.basePath = param.basePath;
37
+ this.serverIndex = param.serverIndex;
38
+ this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
39
+ this.formDataCtor = param.formDataCtor;
40
+ }
41
+ /**
42
+ * Check if the given MIME is a JSON MIME.
43
+ * JSON MIME examples:
44
+ * application/json
45
+ * application/json; charset=UTF8
46
+ * APPLICATION/JSON
47
+ * application/vnd.company+json
48
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
49
+ * @return True if the given MIME is JSON, false otherwise.
50
+ */
51
+ Configuration.prototype.isJsonMime = function (mime) {
52
+ var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
53
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
54
+ };
55
+ return Configuration;
56
+ }());
57
+ exports.Configuration = Configuration;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Mealie
3
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
4
+ *
5
+ * The version of the OpenAPI document: nightly
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export * from "./api";
13
+ export * from "./configuration";
package/dist/index.js ADDED
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Mealie
6
+ * Mealie is a web application for managing your recipes, meal plans, and shopping lists. This is the Restful API interactive documentation that can be used to explore the API. If you\'re justing getting started with the API and want to get started quickly, you can use the [API Usage | Mealie Docs](https://docs.mealie.io/documentation/getting-started/api-usage/) as a reference for how to get started. If you have any questions or comments about mealie, please use the discord server to talk to the developers or other community members. If you\'d like to file an issue, please use the [GitHub Issue Tracker | Mealie](https://github.com/mealie-recipes/mealie/issues/new/choose) ## Helpful Links - [Home Page](https://mealie.io) - [Documentation](https://docs.mealie.io) - [Discord](https://discord.gg/QuStdQGSGK) - [Demo](https://demo.mealie.io)
7
+ *
8
+ * The version of the OpenAPI document: nightly
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api"), exports);
31
+ __exportStar(require("./configuration"), exports);