mealie-typescript 1.0.79 → 1.0.81
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/dist/api.d.ts +110 -110
- package/dist/api.js +45 -47
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2094,12 +2094,12 @@ export declare const AdminBackupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
2094
2094
|
/**
|
|
2095
2095
|
* Upload a .zip File to later be imported into Mealie
|
|
2096
2096
|
* @summary Upload One
|
|
2097
|
-
* @param {
|
|
2097
|
+
* @param {string} archive
|
|
2098
2098
|
* @param {string | null} [acceptLanguage]
|
|
2099
2099
|
* @param {*} [options] Override http request option.
|
|
2100
2100
|
* @throws {RequiredError}
|
|
2101
2101
|
*/
|
|
2102
|
-
uploadOneApiAdminBackupsUploadPost: (archive:
|
|
2102
|
+
uploadOneApiAdminBackupsUploadPost: (archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2103
2103
|
};
|
|
2104
2104
|
/**
|
|
2105
2105
|
* AdminBackupsApi - functional programming interface
|
|
@@ -2151,12 +2151,12 @@ export declare const AdminBackupsApiFp: (configuration?: Configuration) => {
|
|
|
2151
2151
|
/**
|
|
2152
2152
|
* Upload a .zip File to later be imported into Mealie
|
|
2153
2153
|
* @summary Upload One
|
|
2154
|
-
* @param {
|
|
2154
|
+
* @param {string} archive
|
|
2155
2155
|
* @param {string | null} [acceptLanguage]
|
|
2156
2156
|
* @param {*} [options] Override http request option.
|
|
2157
2157
|
* @throws {RequiredError}
|
|
2158
2158
|
*/
|
|
2159
|
-
uploadOneApiAdminBackupsUploadPost(archive:
|
|
2159
|
+
uploadOneApiAdminBackupsUploadPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponse>>;
|
|
2160
2160
|
};
|
|
2161
2161
|
/**
|
|
2162
2162
|
* AdminBackupsApi - factory interface
|
|
@@ -2208,12 +2208,12 @@ export declare const AdminBackupsApiFactory: (configuration?: Configuration, bas
|
|
|
2208
2208
|
/**
|
|
2209
2209
|
* Upload a .zip File to later be imported into Mealie
|
|
2210
2210
|
* @summary Upload One
|
|
2211
|
-
* @param {
|
|
2211
|
+
* @param {string} archive
|
|
2212
2212
|
* @param {string | null} [acceptLanguage]
|
|
2213
2213
|
* @param {*} [options] Override http request option.
|
|
2214
2214
|
* @throws {RequiredError}
|
|
2215
2215
|
*/
|
|
2216
|
-
uploadOneApiAdminBackupsUploadPost(archive:
|
|
2216
|
+
uploadOneApiAdminBackupsUploadPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponse>;
|
|
2217
2217
|
};
|
|
2218
2218
|
/**
|
|
2219
2219
|
* AdminBackupsApi - interface
|
|
@@ -2265,12 +2265,12 @@ export interface AdminBackupsApiInterface {
|
|
|
2265
2265
|
/**
|
|
2266
2266
|
* Upload a .zip File to later be imported into Mealie
|
|
2267
2267
|
* @summary Upload One
|
|
2268
|
-
* @param {
|
|
2268
|
+
* @param {string} archive
|
|
2269
2269
|
* @param {string | null} [acceptLanguage]
|
|
2270
2270
|
* @param {*} [options] Override http request option.
|
|
2271
2271
|
* @throws {RequiredError}
|
|
2272
2272
|
*/
|
|
2273
|
-
uploadOneApiAdminBackupsUploadPost(archive:
|
|
2273
|
+
uploadOneApiAdminBackupsUploadPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponse>;
|
|
2274
2274
|
}
|
|
2275
2275
|
/**
|
|
2276
2276
|
* AdminBackupsApi - object-oriented interface
|
|
@@ -2322,12 +2322,12 @@ export declare class AdminBackupsApi extends BaseAPI implements AdminBackupsApiI
|
|
|
2322
2322
|
/**
|
|
2323
2323
|
* Upload a .zip File to later be imported into Mealie
|
|
2324
2324
|
* @summary Upload One
|
|
2325
|
-
* @param {
|
|
2325
|
+
* @param {string} archive
|
|
2326
2326
|
* @param {string | null} [acceptLanguage]
|
|
2327
2327
|
* @param {*} [options] Override http request option.
|
|
2328
2328
|
* @throws {RequiredError}
|
|
2329
2329
|
*/
|
|
2330
|
-
uploadOneApiAdminBackupsUploadPost(archive:
|
|
2330
|
+
uploadOneApiAdminBackupsUploadPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponse, any, {}>>;
|
|
2331
2331
|
}
|
|
2332
2332
|
/**
|
|
2333
2333
|
* AdminDebugApi - axios parameter creator
|
|
@@ -2337,11 +2337,11 @@ export declare const AdminDebugApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2337
2337
|
*
|
|
2338
2338
|
* @summary Debug Openai
|
|
2339
2339
|
* @param {string | null} [acceptLanguage]
|
|
2340
|
-
* @param {
|
|
2340
|
+
* @param {string | null} [image]
|
|
2341
2341
|
* @param {*} [options] Override http request option.
|
|
2342
2342
|
* @throws {RequiredError}
|
|
2343
2343
|
*/
|
|
2344
|
-
debugOpenaiApiAdminDebugOpenaiPost: (acceptLanguage?: string | null, image?:
|
|
2344
|
+
debugOpenaiApiAdminDebugOpenaiPost: (acceptLanguage?: string | null, image?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2345
2345
|
};
|
|
2346
2346
|
/**
|
|
2347
2347
|
* AdminDebugApi - functional programming interface
|
|
@@ -2351,11 +2351,11 @@ export declare const AdminDebugApiFp: (configuration?: Configuration) => {
|
|
|
2351
2351
|
*
|
|
2352
2352
|
* @summary Debug Openai
|
|
2353
2353
|
* @param {string | null} [acceptLanguage]
|
|
2354
|
-
* @param {
|
|
2354
|
+
* @param {string | null} [image]
|
|
2355
2355
|
* @param {*} [options] Override http request option.
|
|
2356
2356
|
* @throws {RequiredError}
|
|
2357
2357
|
*/
|
|
2358
|
-
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?:
|
|
2358
|
+
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DebugResponse>>;
|
|
2359
2359
|
};
|
|
2360
2360
|
/**
|
|
2361
2361
|
* AdminDebugApi - factory interface
|
|
@@ -2365,11 +2365,11 @@ export declare const AdminDebugApiFactory: (configuration?: Configuration, baseP
|
|
|
2365
2365
|
*
|
|
2366
2366
|
* @summary Debug Openai
|
|
2367
2367
|
* @param {string | null} [acceptLanguage]
|
|
2368
|
-
* @param {
|
|
2368
|
+
* @param {string | null} [image]
|
|
2369
2369
|
* @param {*} [options] Override http request option.
|
|
2370
2370
|
* @throws {RequiredError}
|
|
2371
2371
|
*/
|
|
2372
|
-
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?:
|
|
2372
|
+
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DebugResponse>;
|
|
2373
2373
|
};
|
|
2374
2374
|
/**
|
|
2375
2375
|
* AdminDebugApi - interface
|
|
@@ -2379,11 +2379,11 @@ export interface AdminDebugApiInterface {
|
|
|
2379
2379
|
*
|
|
2380
2380
|
* @summary Debug Openai
|
|
2381
2381
|
* @param {string | null} [acceptLanguage]
|
|
2382
|
-
* @param {
|
|
2382
|
+
* @param {string | null} [image]
|
|
2383
2383
|
* @param {*} [options] Override http request option.
|
|
2384
2384
|
* @throws {RequiredError}
|
|
2385
2385
|
*/
|
|
2386
|
-
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?:
|
|
2386
|
+
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DebugResponse>;
|
|
2387
2387
|
}
|
|
2388
2388
|
/**
|
|
2389
2389
|
* AdminDebugApi - object-oriented interface
|
|
@@ -2393,11 +2393,11 @@ export declare class AdminDebugApi extends BaseAPI implements AdminDebugApiInter
|
|
|
2393
2393
|
*
|
|
2394
2394
|
* @summary Debug Openai
|
|
2395
2395
|
* @param {string | null} [acceptLanguage]
|
|
2396
|
-
* @param {
|
|
2396
|
+
* @param {string | null} [image]
|
|
2397
2397
|
* @param {*} [options] Override http request option.
|
|
2398
2398
|
* @throws {RequiredError}
|
|
2399
2399
|
*/
|
|
2400
|
-
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?:
|
|
2400
|
+
debugOpenaiApiAdminDebugOpenaiPost(acceptLanguage?: string | null, image?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DebugResponse, any, {}>>;
|
|
2401
2401
|
}
|
|
2402
2402
|
/**
|
|
2403
2403
|
* AdminEmailApi - axios parameter creator
|
|
@@ -5232,13 +5232,13 @@ export declare const GroupsMigrationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
5232
5232
|
*
|
|
5233
5233
|
* @summary Start Data Migration
|
|
5234
5234
|
* @param {SupportedMigrations} migrationType
|
|
5235
|
-
* @param {
|
|
5235
|
+
* @param {string} archive
|
|
5236
5236
|
* @param {string | null} [acceptLanguage]
|
|
5237
5237
|
* @param {boolean} [addMigrationTag]
|
|
5238
5238
|
* @param {*} [options] Override http request option.
|
|
5239
5239
|
* @throws {RequiredError}
|
|
5240
5240
|
*/
|
|
5241
|
-
startDataMigrationApiGroupsMigrationsPost: (migrationType: SupportedMigrations, archive:
|
|
5241
|
+
startDataMigrationApiGroupsMigrationsPost: (migrationType: SupportedMigrations, archive: string, acceptLanguage?: string | null, addMigrationTag?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5242
5242
|
};
|
|
5243
5243
|
/**
|
|
5244
5244
|
* GroupsMigrationsApi - functional programming interface
|
|
@@ -5248,13 +5248,13 @@ export declare const GroupsMigrationsApiFp: (configuration?: Configuration) => {
|
|
|
5248
5248
|
*
|
|
5249
5249
|
* @summary Start Data Migration
|
|
5250
5250
|
* @param {SupportedMigrations} migrationType
|
|
5251
|
-
* @param {
|
|
5251
|
+
* @param {string} archive
|
|
5252
5252
|
* @param {string | null} [acceptLanguage]
|
|
5253
5253
|
* @param {boolean} [addMigrationTag]
|
|
5254
5254
|
* @param {*} [options] Override http request option.
|
|
5255
5255
|
* @throws {RequiredError}
|
|
5256
5256
|
*/
|
|
5257
|
-
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive:
|
|
5257
|
+
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive: string, acceptLanguage?: string | null, addMigrationTag?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportSummary>>;
|
|
5258
5258
|
};
|
|
5259
5259
|
/**
|
|
5260
5260
|
* GroupsMigrationsApi - factory interface
|
|
@@ -5264,13 +5264,13 @@ export declare const GroupsMigrationsApiFactory: (configuration?: Configuration,
|
|
|
5264
5264
|
*
|
|
5265
5265
|
* @summary Start Data Migration
|
|
5266
5266
|
* @param {SupportedMigrations} migrationType
|
|
5267
|
-
* @param {
|
|
5267
|
+
* @param {string} archive
|
|
5268
5268
|
* @param {string | null} [acceptLanguage]
|
|
5269
5269
|
* @param {boolean} [addMigrationTag]
|
|
5270
5270
|
* @param {*} [options] Override http request option.
|
|
5271
5271
|
* @throws {RequiredError}
|
|
5272
5272
|
*/
|
|
5273
|
-
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive:
|
|
5273
|
+
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive: string, acceptLanguage?: string | null, addMigrationTag?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReportSummary>;
|
|
5274
5274
|
};
|
|
5275
5275
|
/**
|
|
5276
5276
|
* GroupsMigrationsApi - interface
|
|
@@ -5280,13 +5280,13 @@ export interface GroupsMigrationsApiInterface {
|
|
|
5280
5280
|
*
|
|
5281
5281
|
* @summary Start Data Migration
|
|
5282
5282
|
* @param {SupportedMigrations} migrationType
|
|
5283
|
-
* @param {
|
|
5283
|
+
* @param {string} archive
|
|
5284
5284
|
* @param {string | null} [acceptLanguage]
|
|
5285
5285
|
* @param {boolean} [addMigrationTag]
|
|
5286
5286
|
* @param {*} [options] Override http request option.
|
|
5287
5287
|
* @throws {RequiredError}
|
|
5288
5288
|
*/
|
|
5289
|
-
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive:
|
|
5289
|
+
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive: string, acceptLanguage?: string | null, addMigrationTag?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReportSummary>;
|
|
5290
5290
|
}
|
|
5291
5291
|
/**
|
|
5292
5292
|
* GroupsMigrationsApi - object-oriented interface
|
|
@@ -5296,13 +5296,13 @@ export declare class GroupsMigrationsApi extends BaseAPI implements GroupsMigrat
|
|
|
5296
5296
|
*
|
|
5297
5297
|
* @summary Start Data Migration
|
|
5298
5298
|
* @param {SupportedMigrations} migrationType
|
|
5299
|
-
* @param {
|
|
5299
|
+
* @param {string} archive
|
|
5300
5300
|
* @param {string | null} [acceptLanguage]
|
|
5301
5301
|
* @param {boolean} [addMigrationTag]
|
|
5302
5302
|
* @param {*} [options] Override http request option.
|
|
5303
5303
|
* @throws {RequiredError}
|
|
5304
5304
|
*/
|
|
5305
|
-
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive:
|
|
5305
|
+
startDataMigrationApiGroupsMigrationsPost(migrationType: SupportedMigrations, archive: string, acceptLanguage?: string | null, addMigrationTag?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportSummary, any, {}>>;
|
|
5306
5306
|
}
|
|
5307
5307
|
/**
|
|
5308
5308
|
* GroupsMultiPurposeLabelsApi - axios parameter creator
|
|
@@ -11174,22 +11174,22 @@ export declare const RecipeCRUDApiAxiosParamCreator: (configuration?: Configurat
|
|
|
11174
11174
|
/**
|
|
11175
11175
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
11176
11176
|
* @summary Create Recipe From Image
|
|
11177
|
-
* @param {Array<
|
|
11177
|
+
* @param {Array<string>} images
|
|
11178
11178
|
* @param {string | null} [translateLanguage]
|
|
11179
11179
|
* @param {string | null} [acceptLanguage]
|
|
11180
11180
|
* @param {*} [options] Override http request option.
|
|
11181
11181
|
* @throws {RequiredError}
|
|
11182
11182
|
*/
|
|
11183
|
-
createRecipeFromImageApiRecipesCreateImagePost: (images: Array<
|
|
11183
|
+
createRecipeFromImageApiRecipesCreateImagePost: (images: Array<string>, translateLanguage?: string | null, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11184
11184
|
/**
|
|
11185
11185
|
* Create recipe from archive
|
|
11186
11186
|
* @summary Create Recipe From Zip
|
|
11187
|
-
* @param {
|
|
11187
|
+
* @param {string} archive
|
|
11188
11188
|
* @param {string | null} [acceptLanguage]
|
|
11189
11189
|
* @param {*} [options] Override http request option.
|
|
11190
11190
|
* @throws {RequiredError}
|
|
11191
11191
|
*/
|
|
11192
|
-
createRecipeFromZipApiRecipesCreateZipPost: (archive:
|
|
11192
|
+
createRecipeFromZipApiRecipesCreateZipPost: (archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11193
11193
|
/**
|
|
11194
11194
|
* Deletes a recipe by slug
|
|
11195
11195
|
* @summary Delete One
|
|
@@ -11362,13 +11362,13 @@ export declare const RecipeCRUDApiAxiosParamCreator: (configuration?: Configurat
|
|
|
11362
11362
|
*
|
|
11363
11363
|
* @summary Update Recipe Image
|
|
11364
11364
|
* @param {string} slug
|
|
11365
|
-
* @param {
|
|
11365
|
+
* @param {string} image
|
|
11366
11366
|
* @param {string} extension
|
|
11367
11367
|
* @param {string | null} [acceptLanguage]
|
|
11368
11368
|
* @param {*} [options] Override http request option.
|
|
11369
11369
|
* @throws {RequiredError}
|
|
11370
11370
|
*/
|
|
11371
|
-
updateRecipeImageApiRecipesSlugImagePut: (slug: string, image:
|
|
11371
|
+
updateRecipeImageApiRecipesSlugImagePut: (slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11372
11372
|
/**
|
|
11373
11373
|
* Upload a file to store as a recipe asset
|
|
11374
11374
|
* @summary Upload Recipe Asset
|
|
@@ -11376,12 +11376,12 @@ export declare const RecipeCRUDApiAxiosParamCreator: (configuration?: Configurat
|
|
|
11376
11376
|
* @param {string} name
|
|
11377
11377
|
* @param {string} icon
|
|
11378
11378
|
* @param {string} extension
|
|
11379
|
-
* @param {
|
|
11379
|
+
* @param {string} file
|
|
11380
11380
|
* @param {string | null} [acceptLanguage]
|
|
11381
11381
|
* @param {*} [options] Override http request option.
|
|
11382
11382
|
* @throws {RequiredError}
|
|
11383
11383
|
*/
|
|
11384
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost: (slug: string, name: string, icon: string, extension: string, file:
|
|
11384
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost: (slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
11385
11385
|
};
|
|
11386
11386
|
/**
|
|
11387
11387
|
* RecipeCRUDApi - functional programming interface
|
|
@@ -11408,22 +11408,22 @@ export declare const RecipeCRUDApiFp: (configuration?: Configuration) => {
|
|
|
11408
11408
|
/**
|
|
11409
11409
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
11410
11410
|
* @summary Create Recipe From Image
|
|
11411
|
-
* @param {Array<
|
|
11411
|
+
* @param {Array<string>} images
|
|
11412
11412
|
* @param {string | null} [translateLanguage]
|
|
11413
11413
|
* @param {string | null} [acceptLanguage]
|
|
11414
11414
|
* @param {*} [options] Override http request option.
|
|
11415
11415
|
* @throws {RequiredError}
|
|
11416
11416
|
*/
|
|
11417
|
-
createRecipeFromImageApiRecipesCreateImagePost(images: Array<
|
|
11417
|
+
createRecipeFromImageApiRecipesCreateImagePost(images: Array<string>, translateLanguage?: string | null, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
11418
11418
|
/**
|
|
11419
11419
|
* Create recipe from archive
|
|
11420
11420
|
* @summary Create Recipe From Zip
|
|
11421
|
-
* @param {
|
|
11421
|
+
* @param {string} archive
|
|
11422
11422
|
* @param {string | null} [acceptLanguage]
|
|
11423
11423
|
* @param {*} [options] Override http request option.
|
|
11424
11424
|
* @throws {RequiredError}
|
|
11425
11425
|
*/
|
|
11426
|
-
createRecipeFromZipApiRecipesCreateZipPost(archive:
|
|
11426
|
+
createRecipeFromZipApiRecipesCreateZipPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
11427
11427
|
/**
|
|
11428
11428
|
* Deletes a recipe by slug
|
|
11429
11429
|
* @summary Delete One
|
|
@@ -11596,13 +11596,13 @@ export declare const RecipeCRUDApiFp: (configuration?: Configuration) => {
|
|
|
11596
11596
|
*
|
|
11597
11597
|
* @summary Update Recipe Image
|
|
11598
11598
|
* @param {string} slug
|
|
11599
|
-
* @param {
|
|
11599
|
+
* @param {string} image
|
|
11600
11600
|
* @param {string} extension
|
|
11601
11601
|
* @param {string | null} [acceptLanguage]
|
|
11602
11602
|
* @param {*} [options] Override http request option.
|
|
11603
11603
|
* @throws {RequiredError}
|
|
11604
11604
|
*/
|
|
11605
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
11605
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateImageResponse>>;
|
|
11606
11606
|
/**
|
|
11607
11607
|
* Upload a file to store as a recipe asset
|
|
11608
11608
|
* @summary Upload Recipe Asset
|
|
@@ -11610,12 +11610,12 @@ export declare const RecipeCRUDApiFp: (configuration?: Configuration) => {
|
|
|
11610
11610
|
* @param {string} name
|
|
11611
11611
|
* @param {string} icon
|
|
11612
11612
|
* @param {string} extension
|
|
11613
|
-
* @param {
|
|
11613
|
+
* @param {string} file
|
|
11614
11614
|
* @param {string | null} [acceptLanguage]
|
|
11615
11615
|
* @param {*} [options] Override http request option.
|
|
11616
11616
|
* @throws {RequiredError}
|
|
11617
11617
|
*/
|
|
11618
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
11618
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecipeAsset>>;
|
|
11619
11619
|
};
|
|
11620
11620
|
/**
|
|
11621
11621
|
* RecipeCRUDApi - factory interface
|
|
@@ -11642,22 +11642,22 @@ export declare const RecipeCRUDApiFactory: (configuration?: Configuration, baseP
|
|
|
11642
11642
|
/**
|
|
11643
11643
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
11644
11644
|
* @summary Create Recipe From Image
|
|
11645
|
-
* @param {Array<
|
|
11645
|
+
* @param {Array<string>} images
|
|
11646
11646
|
* @param {string | null} [translateLanguage]
|
|
11647
11647
|
* @param {string | null} [acceptLanguage]
|
|
11648
11648
|
* @param {*} [options] Override http request option.
|
|
11649
11649
|
* @throws {RequiredError}
|
|
11650
11650
|
*/
|
|
11651
|
-
createRecipeFromImageApiRecipesCreateImagePost(images: Array<
|
|
11651
|
+
createRecipeFromImageApiRecipesCreateImagePost(images: Array<string>, translateLanguage?: string | null, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
11652
11652
|
/**
|
|
11653
11653
|
* Create recipe from archive
|
|
11654
11654
|
* @summary Create Recipe From Zip
|
|
11655
|
-
* @param {
|
|
11655
|
+
* @param {string} archive
|
|
11656
11656
|
* @param {string | null} [acceptLanguage]
|
|
11657
11657
|
* @param {*} [options] Override http request option.
|
|
11658
11658
|
* @throws {RequiredError}
|
|
11659
11659
|
*/
|
|
11660
|
-
createRecipeFromZipApiRecipesCreateZipPost(archive:
|
|
11660
|
+
createRecipeFromZipApiRecipesCreateZipPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
11661
11661
|
/**
|
|
11662
11662
|
* Deletes a recipe by slug
|
|
11663
11663
|
* @summary Delete One
|
|
@@ -11830,13 +11830,13 @@ export declare const RecipeCRUDApiFactory: (configuration?: Configuration, baseP
|
|
|
11830
11830
|
*
|
|
11831
11831
|
* @summary Update Recipe Image
|
|
11832
11832
|
* @param {string} slug
|
|
11833
|
-
* @param {
|
|
11833
|
+
* @param {string} image
|
|
11834
11834
|
* @param {string} extension
|
|
11835
11835
|
* @param {string | null} [acceptLanguage]
|
|
11836
11836
|
* @param {*} [options] Override http request option.
|
|
11837
11837
|
* @throws {RequiredError}
|
|
11838
11838
|
*/
|
|
11839
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
11839
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UpdateImageResponse>;
|
|
11840
11840
|
/**
|
|
11841
11841
|
* Upload a file to store as a recipe asset
|
|
11842
11842
|
* @summary Upload Recipe Asset
|
|
@@ -11844,12 +11844,12 @@ export declare const RecipeCRUDApiFactory: (configuration?: Configuration, baseP
|
|
|
11844
11844
|
* @param {string} name
|
|
11845
11845
|
* @param {string} icon
|
|
11846
11846
|
* @param {string} extension
|
|
11847
|
-
* @param {
|
|
11847
|
+
* @param {string} file
|
|
11848
11848
|
* @param {string | null} [acceptLanguage]
|
|
11849
11849
|
* @param {*} [options] Override http request option.
|
|
11850
11850
|
* @throws {RequiredError}
|
|
11851
11851
|
*/
|
|
11852
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
11852
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<RecipeAsset>;
|
|
11853
11853
|
};
|
|
11854
11854
|
/**
|
|
11855
11855
|
* RecipeCRUDApi - interface
|
|
@@ -11876,22 +11876,22 @@ export interface RecipeCRUDApiInterface {
|
|
|
11876
11876
|
/**
|
|
11877
11877
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
11878
11878
|
* @summary Create Recipe From Image
|
|
11879
|
-
* @param {Array<
|
|
11879
|
+
* @param {Array<string>} images
|
|
11880
11880
|
* @param {string | null} [translateLanguage]
|
|
11881
11881
|
* @param {string | null} [acceptLanguage]
|
|
11882
11882
|
* @param {*} [options] Override http request option.
|
|
11883
11883
|
* @throws {RequiredError}
|
|
11884
11884
|
*/
|
|
11885
|
-
createRecipeFromImageApiRecipesCreateImagePost(images: Array<
|
|
11885
|
+
createRecipeFromImageApiRecipesCreateImagePost(images: Array<string>, translateLanguage?: string | null, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
11886
11886
|
/**
|
|
11887
11887
|
* Create recipe from archive
|
|
11888
11888
|
* @summary Create Recipe From Zip
|
|
11889
|
-
* @param {
|
|
11889
|
+
* @param {string} archive
|
|
11890
11890
|
* @param {string | null} [acceptLanguage]
|
|
11891
11891
|
* @param {*} [options] Override http request option.
|
|
11892
11892
|
* @throws {RequiredError}
|
|
11893
11893
|
*/
|
|
11894
|
-
createRecipeFromZipApiRecipesCreateZipPost(archive:
|
|
11894
|
+
createRecipeFromZipApiRecipesCreateZipPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
11895
11895
|
/**
|
|
11896
11896
|
* Deletes a recipe by slug
|
|
11897
11897
|
* @summary Delete One
|
|
@@ -12064,13 +12064,13 @@ export interface RecipeCRUDApiInterface {
|
|
|
12064
12064
|
*
|
|
12065
12065
|
* @summary Update Recipe Image
|
|
12066
12066
|
* @param {string} slug
|
|
12067
|
-
* @param {
|
|
12067
|
+
* @param {string} image
|
|
12068
12068
|
* @param {string} extension
|
|
12069
12069
|
* @param {string | null} [acceptLanguage]
|
|
12070
12070
|
* @param {*} [options] Override http request option.
|
|
12071
12071
|
* @throws {RequiredError}
|
|
12072
12072
|
*/
|
|
12073
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
12073
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UpdateImageResponse>;
|
|
12074
12074
|
/**
|
|
12075
12075
|
* Upload a file to store as a recipe asset
|
|
12076
12076
|
* @summary Upload Recipe Asset
|
|
@@ -12078,12 +12078,12 @@ export interface RecipeCRUDApiInterface {
|
|
|
12078
12078
|
* @param {string} name
|
|
12079
12079
|
* @param {string} icon
|
|
12080
12080
|
* @param {string} extension
|
|
12081
|
-
* @param {
|
|
12081
|
+
* @param {string} file
|
|
12082
12082
|
* @param {string | null} [acceptLanguage]
|
|
12083
12083
|
* @param {*} [options] Override http request option.
|
|
12084
12084
|
* @throws {RequiredError}
|
|
12085
12085
|
*/
|
|
12086
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
12086
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<RecipeAsset>;
|
|
12087
12087
|
}
|
|
12088
12088
|
/**
|
|
12089
12089
|
* RecipeCRUDApi - object-oriented interface
|
|
@@ -12110,22 +12110,22 @@ export declare class RecipeCRUDApi extends BaseAPI implements RecipeCRUDApiInter
|
|
|
12110
12110
|
/**
|
|
12111
12111
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
12112
12112
|
* @summary Create Recipe From Image
|
|
12113
|
-
* @param {Array<
|
|
12113
|
+
* @param {Array<string>} images
|
|
12114
12114
|
* @param {string | null} [translateLanguage]
|
|
12115
12115
|
* @param {string | null} [acceptLanguage]
|
|
12116
12116
|
* @param {*} [options] Override http request option.
|
|
12117
12117
|
* @throws {RequiredError}
|
|
12118
12118
|
*/
|
|
12119
|
-
createRecipeFromImageApiRecipesCreateImagePost(images: Array<
|
|
12119
|
+
createRecipeFromImageApiRecipesCreateImagePost(images: Array<string>, translateLanguage?: string | null, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
12120
12120
|
/**
|
|
12121
12121
|
* Create recipe from archive
|
|
12122
12122
|
* @summary Create Recipe From Zip
|
|
12123
|
-
* @param {
|
|
12123
|
+
* @param {string} archive
|
|
12124
12124
|
* @param {string | null} [acceptLanguage]
|
|
12125
12125
|
* @param {*} [options] Override http request option.
|
|
12126
12126
|
* @throws {RequiredError}
|
|
12127
12127
|
*/
|
|
12128
|
-
createRecipeFromZipApiRecipesCreateZipPost(archive:
|
|
12128
|
+
createRecipeFromZipApiRecipesCreateZipPost(archive: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
12129
12129
|
/**
|
|
12130
12130
|
* Deletes a recipe by slug
|
|
12131
12131
|
* @summary Delete One
|
|
@@ -12298,13 +12298,13 @@ export declare class RecipeCRUDApi extends BaseAPI implements RecipeCRUDApiInter
|
|
|
12298
12298
|
*
|
|
12299
12299
|
* @summary Update Recipe Image
|
|
12300
12300
|
* @param {string} slug
|
|
12301
|
-
* @param {
|
|
12301
|
+
* @param {string} image
|
|
12302
12302
|
* @param {string} extension
|
|
12303
12303
|
* @param {string | null} [acceptLanguage]
|
|
12304
12304
|
* @param {*} [options] Override http request option.
|
|
12305
12305
|
* @throws {RequiredError}
|
|
12306
12306
|
*/
|
|
12307
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
12307
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateImageResponse, any, {}>>;
|
|
12308
12308
|
/**
|
|
12309
12309
|
* Upload a file to store as a recipe asset
|
|
12310
12310
|
* @summary Upload Recipe Asset
|
|
@@ -12312,12 +12312,12 @@ export declare class RecipeCRUDApi extends BaseAPI implements RecipeCRUDApiInter
|
|
|
12312
12312
|
* @param {string} name
|
|
12313
12313
|
* @param {string} icon
|
|
12314
12314
|
* @param {string} extension
|
|
12315
|
-
* @param {
|
|
12315
|
+
* @param {string} file
|
|
12316
12316
|
* @param {string | null} [acceptLanguage]
|
|
12317
12317
|
* @param {*} [options] Override http request option.
|
|
12318
12318
|
* @throws {RequiredError}
|
|
12319
12319
|
*/
|
|
12320
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
12320
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecipeAsset, any, {}>>;
|
|
12321
12321
|
}
|
|
12322
12322
|
/**
|
|
12323
12323
|
* RecipeCommentsApi - axios parameter creator
|
|
@@ -12835,13 +12835,13 @@ export declare const RecipeImagesAndAssetsApiAxiosParamCreator: (configuration?:
|
|
|
12835
12835
|
*
|
|
12836
12836
|
* @summary Update Recipe Image
|
|
12837
12837
|
* @param {string} slug
|
|
12838
|
-
* @param {
|
|
12838
|
+
* @param {string} image
|
|
12839
12839
|
* @param {string} extension
|
|
12840
12840
|
* @param {string | null} [acceptLanguage]
|
|
12841
12841
|
* @param {*} [options] Override http request option.
|
|
12842
12842
|
* @throws {RequiredError}
|
|
12843
12843
|
*/
|
|
12844
|
-
updateRecipeImageApiRecipesSlugImagePut: (slug: string, image:
|
|
12844
|
+
updateRecipeImageApiRecipesSlugImagePut: (slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12845
12845
|
/**
|
|
12846
12846
|
* Upload a file to store as a recipe asset
|
|
12847
12847
|
* @summary Upload Recipe Asset
|
|
@@ -12849,12 +12849,12 @@ export declare const RecipeImagesAndAssetsApiAxiosParamCreator: (configuration?:
|
|
|
12849
12849
|
* @param {string} name
|
|
12850
12850
|
* @param {string} icon
|
|
12851
12851
|
* @param {string} extension
|
|
12852
|
-
* @param {
|
|
12852
|
+
* @param {string} file
|
|
12853
12853
|
* @param {string | null} [acceptLanguage]
|
|
12854
12854
|
* @param {*} [options] Override http request option.
|
|
12855
12855
|
* @throws {RequiredError}
|
|
12856
12856
|
*/
|
|
12857
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost: (slug: string, name: string, icon: string, extension: string, file:
|
|
12857
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost: (slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
12858
12858
|
};
|
|
12859
12859
|
/**
|
|
12860
12860
|
* RecipeImagesAndAssetsApi - functional programming interface
|
|
@@ -12927,13 +12927,13 @@ export declare const RecipeImagesAndAssetsApiFp: (configuration?: Configuration)
|
|
|
12927
12927
|
*
|
|
12928
12928
|
* @summary Update Recipe Image
|
|
12929
12929
|
* @param {string} slug
|
|
12930
|
-
* @param {
|
|
12930
|
+
* @param {string} image
|
|
12931
12931
|
* @param {string} extension
|
|
12932
12932
|
* @param {string | null} [acceptLanguage]
|
|
12933
12933
|
* @param {*} [options] Override http request option.
|
|
12934
12934
|
* @throws {RequiredError}
|
|
12935
12935
|
*/
|
|
12936
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
12936
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateImageResponse>>;
|
|
12937
12937
|
/**
|
|
12938
12938
|
* Upload a file to store as a recipe asset
|
|
12939
12939
|
* @summary Upload Recipe Asset
|
|
@@ -12941,12 +12941,12 @@ export declare const RecipeImagesAndAssetsApiFp: (configuration?: Configuration)
|
|
|
12941
12941
|
* @param {string} name
|
|
12942
12942
|
* @param {string} icon
|
|
12943
12943
|
* @param {string} extension
|
|
12944
|
-
* @param {
|
|
12944
|
+
* @param {string} file
|
|
12945
12945
|
* @param {string | null} [acceptLanguage]
|
|
12946
12946
|
* @param {*} [options] Override http request option.
|
|
12947
12947
|
* @throws {RequiredError}
|
|
12948
12948
|
*/
|
|
12949
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
12949
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecipeAsset>>;
|
|
12950
12950
|
};
|
|
12951
12951
|
/**
|
|
12952
12952
|
* RecipeImagesAndAssetsApi - factory interface
|
|
@@ -13019,13 +13019,13 @@ export declare const RecipeImagesAndAssetsApiFactory: (configuration?: Configura
|
|
|
13019
13019
|
*
|
|
13020
13020
|
* @summary Update Recipe Image
|
|
13021
13021
|
* @param {string} slug
|
|
13022
|
-
* @param {
|
|
13022
|
+
* @param {string} image
|
|
13023
13023
|
* @param {string} extension
|
|
13024
13024
|
* @param {string | null} [acceptLanguage]
|
|
13025
13025
|
* @param {*} [options] Override http request option.
|
|
13026
13026
|
* @throws {RequiredError}
|
|
13027
13027
|
*/
|
|
13028
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
13028
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UpdateImageResponse>;
|
|
13029
13029
|
/**
|
|
13030
13030
|
* Upload a file to store as a recipe asset
|
|
13031
13031
|
* @summary Upload Recipe Asset
|
|
@@ -13033,12 +13033,12 @@ export declare const RecipeImagesAndAssetsApiFactory: (configuration?: Configura
|
|
|
13033
13033
|
* @param {string} name
|
|
13034
13034
|
* @param {string} icon
|
|
13035
13035
|
* @param {string} extension
|
|
13036
|
-
* @param {
|
|
13036
|
+
* @param {string} file
|
|
13037
13037
|
* @param {string | null} [acceptLanguage]
|
|
13038
13038
|
* @param {*} [options] Override http request option.
|
|
13039
13039
|
* @throws {RequiredError}
|
|
13040
13040
|
*/
|
|
13041
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
13041
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<RecipeAsset>;
|
|
13042
13042
|
};
|
|
13043
13043
|
/**
|
|
13044
13044
|
* RecipeImagesAndAssetsApi - interface
|
|
@@ -13111,13 +13111,13 @@ export interface RecipeImagesAndAssetsApiInterface {
|
|
|
13111
13111
|
*
|
|
13112
13112
|
* @summary Update Recipe Image
|
|
13113
13113
|
* @param {string} slug
|
|
13114
|
-
* @param {
|
|
13114
|
+
* @param {string} image
|
|
13115
13115
|
* @param {string} extension
|
|
13116
13116
|
* @param {string | null} [acceptLanguage]
|
|
13117
13117
|
* @param {*} [options] Override http request option.
|
|
13118
13118
|
* @throws {RequiredError}
|
|
13119
13119
|
*/
|
|
13120
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
13120
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UpdateImageResponse>;
|
|
13121
13121
|
/**
|
|
13122
13122
|
* Upload a file to store as a recipe asset
|
|
13123
13123
|
* @summary Upload Recipe Asset
|
|
@@ -13125,12 +13125,12 @@ export interface RecipeImagesAndAssetsApiInterface {
|
|
|
13125
13125
|
* @param {string} name
|
|
13126
13126
|
* @param {string} icon
|
|
13127
13127
|
* @param {string} extension
|
|
13128
|
-
* @param {
|
|
13128
|
+
* @param {string} file
|
|
13129
13129
|
* @param {string | null} [acceptLanguage]
|
|
13130
13130
|
* @param {*} [options] Override http request option.
|
|
13131
13131
|
* @throws {RequiredError}
|
|
13132
13132
|
*/
|
|
13133
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
13133
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<RecipeAsset>;
|
|
13134
13134
|
}
|
|
13135
13135
|
/**
|
|
13136
13136
|
* RecipeImagesAndAssetsApi - object-oriented interface
|
|
@@ -13203,13 +13203,13 @@ export declare class RecipeImagesAndAssetsApi extends BaseAPI implements RecipeI
|
|
|
13203
13203
|
*
|
|
13204
13204
|
* @summary Update Recipe Image
|
|
13205
13205
|
* @param {string} slug
|
|
13206
|
-
* @param {
|
|
13206
|
+
* @param {string} image
|
|
13207
13207
|
* @param {string} extension
|
|
13208
13208
|
* @param {string | null} [acceptLanguage]
|
|
13209
13209
|
* @param {*} [options] Override http request option.
|
|
13210
13210
|
* @throws {RequiredError}
|
|
13211
13211
|
*/
|
|
13212
|
-
updateRecipeImageApiRecipesSlugImagePut(slug: string, image:
|
|
13212
|
+
updateRecipeImageApiRecipesSlugImagePut(slug: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateImageResponse, any, {}>>;
|
|
13213
13213
|
/**
|
|
13214
13214
|
* Upload a file to store as a recipe asset
|
|
13215
13215
|
* @summary Upload Recipe Asset
|
|
@@ -13217,12 +13217,12 @@ export declare class RecipeImagesAndAssetsApi extends BaseAPI implements RecipeI
|
|
|
13217
13217
|
* @param {string} name
|
|
13218
13218
|
* @param {string} icon
|
|
13219
13219
|
* @param {string} extension
|
|
13220
|
-
* @param {
|
|
13220
|
+
* @param {string} file
|
|
13221
13221
|
* @param {string | null} [acceptLanguage]
|
|
13222
13222
|
* @param {*} [options] Override http request option.
|
|
13223
13223
|
* @throws {RequiredError}
|
|
13224
13224
|
*/
|
|
13225
|
-
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file:
|
|
13225
|
+
uploadRecipeAssetApiRecipesSlugAssetsPost(slug: string, name: string, icon: string, extension: string, file: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecipeAsset, any, {}>>;
|
|
13226
13226
|
}
|
|
13227
13227
|
/**
|
|
13228
13228
|
* RecipeIngredientParserApi - axios parameter creator
|
|
@@ -13494,13 +13494,13 @@ export declare const RecipeTimelineApiAxiosParamCreator: (configuration?: Config
|
|
|
13494
13494
|
*
|
|
13495
13495
|
* @summary Update Event Image
|
|
13496
13496
|
* @param {string} itemId
|
|
13497
|
-
* @param {
|
|
13497
|
+
* @param {string} image
|
|
13498
13498
|
* @param {string} extension
|
|
13499
13499
|
* @param {string | null} [acceptLanguage]
|
|
13500
13500
|
* @param {*} [options] Override http request option.
|
|
13501
13501
|
* @throws {RequiredError}
|
|
13502
13502
|
*/
|
|
13503
|
-
updateEventImageApiRecipesTimelineEventsItemIdImagePut: (itemId: string, image:
|
|
13503
|
+
updateEventImageApiRecipesTimelineEventsItemIdImagePut: (itemId: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13504
13504
|
/**
|
|
13505
13505
|
*
|
|
13506
13506
|
* @summary Update One
|
|
@@ -13562,13 +13562,13 @@ export declare const RecipeTimelineApiFp: (configuration?: Configuration) => {
|
|
|
13562
13562
|
*
|
|
13563
13563
|
* @summary Update Event Image
|
|
13564
13564
|
* @param {string} itemId
|
|
13565
|
-
* @param {
|
|
13565
|
+
* @param {string} image
|
|
13566
13566
|
* @param {string} extension
|
|
13567
13567
|
* @param {string | null} [acceptLanguage]
|
|
13568
13568
|
* @param {*} [options] Override http request option.
|
|
13569
13569
|
* @throws {RequiredError}
|
|
13570
13570
|
*/
|
|
13571
|
-
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image:
|
|
13571
|
+
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateImageResponse>>;
|
|
13572
13572
|
/**
|
|
13573
13573
|
*
|
|
13574
13574
|
* @summary Update One
|
|
@@ -13630,13 +13630,13 @@ export declare const RecipeTimelineApiFactory: (configuration?: Configuration, b
|
|
|
13630
13630
|
*
|
|
13631
13631
|
* @summary Update Event Image
|
|
13632
13632
|
* @param {string} itemId
|
|
13633
|
-
* @param {
|
|
13633
|
+
* @param {string} image
|
|
13634
13634
|
* @param {string} extension
|
|
13635
13635
|
* @param {string | null} [acceptLanguage]
|
|
13636
13636
|
* @param {*} [options] Override http request option.
|
|
13637
13637
|
* @throws {RequiredError}
|
|
13638
13638
|
*/
|
|
13639
|
-
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image:
|
|
13639
|
+
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UpdateImageResponse>;
|
|
13640
13640
|
/**
|
|
13641
13641
|
*
|
|
13642
13642
|
* @summary Update One
|
|
@@ -13698,13 +13698,13 @@ export interface RecipeTimelineApiInterface {
|
|
|
13698
13698
|
*
|
|
13699
13699
|
* @summary Update Event Image
|
|
13700
13700
|
* @param {string} itemId
|
|
13701
|
-
* @param {
|
|
13701
|
+
* @param {string} image
|
|
13702
13702
|
* @param {string} extension
|
|
13703
13703
|
* @param {string | null} [acceptLanguage]
|
|
13704
13704
|
* @param {*} [options] Override http request option.
|
|
13705
13705
|
* @throws {RequiredError}
|
|
13706
13706
|
*/
|
|
13707
|
-
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image:
|
|
13707
|
+
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<UpdateImageResponse>;
|
|
13708
13708
|
/**
|
|
13709
13709
|
*
|
|
13710
13710
|
* @summary Update One
|
|
@@ -13766,13 +13766,13 @@ export declare class RecipeTimelineApi extends BaseAPI implements RecipeTimeline
|
|
|
13766
13766
|
*
|
|
13767
13767
|
* @summary Update Event Image
|
|
13768
13768
|
* @param {string} itemId
|
|
13769
|
-
* @param {
|
|
13769
|
+
* @param {string} image
|
|
13770
13770
|
* @param {string} extension
|
|
13771
13771
|
* @param {string | null} [acceptLanguage]
|
|
13772
13772
|
* @param {*} [options] Override http request option.
|
|
13773
13773
|
* @throws {RequiredError}
|
|
13774
13774
|
*/
|
|
13775
|
-
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image:
|
|
13775
|
+
updateEventImageApiRecipesTimelineEventsItemIdImagePut(itemId: string, image: string, extension: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateImageResponse, any, {}>>;
|
|
13776
13776
|
/**
|
|
13777
13777
|
*
|
|
13778
13778
|
* @summary Update One
|
|
@@ -15172,12 +15172,12 @@ export declare const UsersImagesApiAxiosParamCreator: (configuration?: Configura
|
|
|
15172
15172
|
* Updates a User Image
|
|
15173
15173
|
* @summary Update User Image
|
|
15174
15174
|
* @param {string} id
|
|
15175
|
-
* @param {
|
|
15175
|
+
* @param {string} profile
|
|
15176
15176
|
* @param {string | null} [acceptLanguage]
|
|
15177
15177
|
* @param {*} [options] Override http request option.
|
|
15178
15178
|
* @throws {RequiredError}
|
|
15179
15179
|
*/
|
|
15180
|
-
updateUserImageApiUsersIdImagePost: (id: string, profile:
|
|
15180
|
+
updateUserImageApiUsersIdImagePost: (id: string, profile: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
15181
15181
|
};
|
|
15182
15182
|
/**
|
|
15183
15183
|
* UsersImagesApi - functional programming interface
|
|
@@ -15187,12 +15187,12 @@ export declare const UsersImagesApiFp: (configuration?: Configuration) => {
|
|
|
15187
15187
|
* Updates a User Image
|
|
15188
15188
|
* @summary Update User Image
|
|
15189
15189
|
* @param {string} id
|
|
15190
|
-
* @param {
|
|
15190
|
+
* @param {string} profile
|
|
15191
15191
|
* @param {string | null} [acceptLanguage]
|
|
15192
15192
|
* @param {*} [options] Override http request option.
|
|
15193
15193
|
* @throws {RequiredError}
|
|
15194
15194
|
*/
|
|
15195
|
-
updateUserImageApiUsersIdImagePost(id: string, profile:
|
|
15195
|
+
updateUserImageApiUsersIdImagePost(id: string, profile: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
15196
15196
|
};
|
|
15197
15197
|
/**
|
|
15198
15198
|
* UsersImagesApi - factory interface
|
|
@@ -15202,12 +15202,12 @@ export declare const UsersImagesApiFactory: (configuration?: Configuration, base
|
|
|
15202
15202
|
* Updates a User Image
|
|
15203
15203
|
* @summary Update User Image
|
|
15204
15204
|
* @param {string} id
|
|
15205
|
-
* @param {
|
|
15205
|
+
* @param {string} profile
|
|
15206
15206
|
* @param {string | null} [acceptLanguage]
|
|
15207
15207
|
* @param {*} [options] Override http request option.
|
|
15208
15208
|
* @throws {RequiredError}
|
|
15209
15209
|
*/
|
|
15210
|
-
updateUserImageApiUsersIdImagePost(id: string, profile:
|
|
15210
|
+
updateUserImageApiUsersIdImagePost(id: string, profile: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
15211
15211
|
};
|
|
15212
15212
|
/**
|
|
15213
15213
|
* UsersImagesApi - interface
|
|
@@ -15217,12 +15217,12 @@ export interface UsersImagesApiInterface {
|
|
|
15217
15217
|
* Updates a User Image
|
|
15218
15218
|
* @summary Update User Image
|
|
15219
15219
|
* @param {string} id
|
|
15220
|
-
* @param {
|
|
15220
|
+
* @param {string} profile
|
|
15221
15221
|
* @param {string | null} [acceptLanguage]
|
|
15222
15222
|
* @param {*} [options] Override http request option.
|
|
15223
15223
|
* @throws {RequiredError}
|
|
15224
15224
|
*/
|
|
15225
|
-
updateUserImageApiUsersIdImagePost(id: string, profile:
|
|
15225
|
+
updateUserImageApiUsersIdImagePost(id: string, profile: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
15226
15226
|
}
|
|
15227
15227
|
/**
|
|
15228
15228
|
* UsersImagesApi - object-oriented interface
|
|
@@ -15232,12 +15232,12 @@ export declare class UsersImagesApi extends BaseAPI implements UsersImagesApiInt
|
|
|
15232
15232
|
* Updates a User Image
|
|
15233
15233
|
* @summary Update User Image
|
|
15234
15234
|
* @param {string} id
|
|
15235
|
-
* @param {
|
|
15235
|
+
* @param {string} profile
|
|
15236
15236
|
* @param {string | null} [acceptLanguage]
|
|
15237
15237
|
* @param {*} [options] Override http request option.
|
|
15238
15238
|
* @throws {RequiredError}
|
|
15239
15239
|
*/
|
|
15240
|
-
updateUserImageApiUsersIdImagePost(id: string, profile:
|
|
15240
|
+
updateUserImageApiUsersIdImagePost(id: string, profile: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15241
15241
|
}
|
|
15242
15242
|
/**
|
|
15243
15243
|
* UsersPasswordsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -778,7 +778,7 @@ var AdminBackupsApiAxiosParamCreator = function (configuration) {
|
|
|
778
778
|
/**
|
|
779
779
|
* Upload a .zip File to later be imported into Mealie
|
|
780
780
|
* @summary Upload One
|
|
781
|
-
* @param {
|
|
781
|
+
* @param {string} archive
|
|
782
782
|
* @param {string | null} [acceptLanguage]
|
|
783
783
|
* @param {*} [options] Override http request option.
|
|
784
784
|
* @throws {RequiredError}
|
|
@@ -961,7 +961,7 @@ var AdminBackupsApiFp = function (configuration) {
|
|
|
961
961
|
/**
|
|
962
962
|
* Upload a .zip File to later be imported into Mealie
|
|
963
963
|
* @summary Upload One
|
|
964
|
-
* @param {
|
|
964
|
+
* @param {string} archive
|
|
965
965
|
* @param {string | null} [acceptLanguage]
|
|
966
966
|
* @param {*} [options] Override http request option.
|
|
967
967
|
* @throws {RequiredError}
|
|
@@ -1047,7 +1047,7 @@ var AdminBackupsApiFactory = function (configuration, basePath, axios) {
|
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Upload a .zip File to later be imported into Mealie
|
|
1049
1049
|
* @summary Upload One
|
|
1050
|
-
* @param {
|
|
1050
|
+
* @param {string} archive
|
|
1051
1051
|
* @param {string | null} [acceptLanguage]
|
|
1052
1052
|
* @param {*} [options] Override http request option.
|
|
1053
1053
|
* @throws {RequiredError}
|
|
@@ -1127,7 +1127,7 @@ var AdminBackupsApi = /** @class */ (function (_super) {
|
|
|
1127
1127
|
/**
|
|
1128
1128
|
* Upload a .zip File to later be imported into Mealie
|
|
1129
1129
|
* @summary Upload One
|
|
1130
|
-
* @param {
|
|
1130
|
+
* @param {string} archive
|
|
1131
1131
|
* @param {string | null} [acceptLanguage]
|
|
1132
1132
|
* @param {*} [options] Override http request option.
|
|
1133
1133
|
* @throws {RequiredError}
|
|
@@ -1149,7 +1149,7 @@ var AdminDebugApiAxiosParamCreator = function (configuration) {
|
|
|
1149
1149
|
*
|
|
1150
1150
|
* @summary Debug Openai
|
|
1151
1151
|
* @param {string | null} [acceptLanguage]
|
|
1152
|
-
* @param {
|
|
1152
|
+
* @param {string | null} [image]
|
|
1153
1153
|
* @param {*} [options] Override http request option.
|
|
1154
1154
|
* @throws {RequiredError}
|
|
1155
1155
|
*/
|
|
@@ -1212,7 +1212,7 @@ var AdminDebugApiFp = function (configuration) {
|
|
|
1212
1212
|
*
|
|
1213
1213
|
* @summary Debug Openai
|
|
1214
1214
|
* @param {string | null} [acceptLanguage]
|
|
1215
|
-
* @param {
|
|
1215
|
+
* @param {string | null} [image]
|
|
1216
1216
|
* @param {*} [options] Override http request option.
|
|
1217
1217
|
* @throws {RequiredError}
|
|
1218
1218
|
*/
|
|
@@ -1245,7 +1245,7 @@ var AdminDebugApiFactory = function (configuration, basePath, axios) {
|
|
|
1245
1245
|
*
|
|
1246
1246
|
* @summary Debug Openai
|
|
1247
1247
|
* @param {string | null} [acceptLanguage]
|
|
1248
|
-
* @param {
|
|
1248
|
+
* @param {string | null} [image]
|
|
1249
1249
|
* @param {*} [options] Override http request option.
|
|
1250
1250
|
* @throws {RequiredError}
|
|
1251
1251
|
*/
|
|
@@ -1267,7 +1267,7 @@ var AdminDebugApi = /** @class */ (function (_super) {
|
|
|
1267
1267
|
*
|
|
1268
1268
|
* @summary Debug Openai
|
|
1269
1269
|
* @param {string | null} [acceptLanguage]
|
|
1270
|
-
* @param {
|
|
1270
|
+
* @param {string | null} [image]
|
|
1271
1271
|
* @param {*} [options] Override http request option.
|
|
1272
1272
|
* @throws {RequiredError}
|
|
1273
1273
|
*/
|
|
@@ -6656,7 +6656,7 @@ var GroupsMigrationsApiAxiosParamCreator = function (configuration) {
|
|
|
6656
6656
|
*
|
|
6657
6657
|
* @summary Start Data Migration
|
|
6658
6658
|
* @param {SupportedMigrations} migrationType
|
|
6659
|
-
* @param {
|
|
6659
|
+
* @param {string} archive
|
|
6660
6660
|
* @param {string | null} [acceptLanguage]
|
|
6661
6661
|
* @param {boolean} [addMigrationTag]
|
|
6662
6662
|
* @param {*} [options] Override http request option.
|
|
@@ -6731,7 +6731,7 @@ var GroupsMigrationsApiFp = function (configuration) {
|
|
|
6731
6731
|
*
|
|
6732
6732
|
* @summary Start Data Migration
|
|
6733
6733
|
* @param {SupportedMigrations} migrationType
|
|
6734
|
-
* @param {
|
|
6734
|
+
* @param {string} archive
|
|
6735
6735
|
* @param {string | null} [acceptLanguage]
|
|
6736
6736
|
* @param {boolean} [addMigrationTag]
|
|
6737
6737
|
* @param {*} [options] Override http request option.
|
|
@@ -6766,7 +6766,7 @@ var GroupsMigrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
6766
6766
|
*
|
|
6767
6767
|
* @summary Start Data Migration
|
|
6768
6768
|
* @param {SupportedMigrations} migrationType
|
|
6769
|
-
* @param {
|
|
6769
|
+
* @param {string} archive
|
|
6770
6770
|
* @param {string | null} [acceptLanguage]
|
|
6771
6771
|
* @param {boolean} [addMigrationTag]
|
|
6772
6772
|
* @param {*} [options] Override http request option.
|
|
@@ -6790,7 +6790,7 @@ var GroupsMigrationsApi = /** @class */ (function (_super) {
|
|
|
6790
6790
|
*
|
|
6791
6791
|
* @summary Start Data Migration
|
|
6792
6792
|
* @param {SupportedMigrations} migrationType
|
|
6793
|
-
* @param {
|
|
6793
|
+
* @param {string} archive
|
|
6794
6794
|
* @param {string | null} [acceptLanguage]
|
|
6795
6795
|
* @param {boolean} [addMigrationTag]
|
|
6796
6796
|
* @param {*} [options] Override http request option.
|
|
@@ -19009,7 +19009,7 @@ var RecipeCRUDApiAxiosParamCreator = function (configuration) {
|
|
|
19009
19009
|
/**
|
|
19010
19010
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
19011
19011
|
* @summary Create Recipe From Image
|
|
19012
|
-
* @param {Array<
|
|
19012
|
+
* @param {Array<string>} images
|
|
19013
19013
|
* @param {string | null} [translateLanguage]
|
|
19014
19014
|
* @param {string | null} [acceptLanguage]
|
|
19015
19015
|
* @param {*} [options] Override http request option.
|
|
@@ -19048,9 +19048,7 @@ var RecipeCRUDApiAxiosParamCreator = function (configuration) {
|
|
|
19048
19048
|
localVarQueryParameter['translateLanguage'] = translateLanguage;
|
|
19049
19049
|
}
|
|
19050
19050
|
if (images) {
|
|
19051
|
-
|
|
19052
|
-
localVarFormParams.append('images', element);
|
|
19053
|
-
});
|
|
19051
|
+
localVarFormParams.append('images', images.join(base_1.COLLECTION_FORMATS.csv));
|
|
19054
19052
|
}
|
|
19055
19053
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
19056
19054
|
if (acceptLanguage != null) {
|
|
@@ -19071,7 +19069,7 @@ var RecipeCRUDApiAxiosParamCreator = function (configuration) {
|
|
|
19071
19069
|
/**
|
|
19072
19070
|
* Create recipe from archive
|
|
19073
19071
|
* @summary Create Recipe From Zip
|
|
19074
|
-
* @param {
|
|
19072
|
+
* @param {string} archive
|
|
19075
19073
|
* @param {string | null} [acceptLanguage]
|
|
19076
19074
|
* @param {*} [options] Override http request option.
|
|
19077
19075
|
* @throws {RequiredError}
|
|
@@ -20038,7 +20036,7 @@ var RecipeCRUDApiAxiosParamCreator = function (configuration) {
|
|
|
20038
20036
|
*
|
|
20039
20037
|
* @summary Update Recipe Image
|
|
20040
20038
|
* @param {string} slug
|
|
20041
|
-
* @param {
|
|
20039
|
+
* @param {string} image
|
|
20042
20040
|
* @param {string} extension
|
|
20043
20041
|
* @param {string | null} [acceptLanguage]
|
|
20044
20042
|
* @param {*} [options] Override http request option.
|
|
@@ -20107,7 +20105,7 @@ var RecipeCRUDApiAxiosParamCreator = function (configuration) {
|
|
|
20107
20105
|
* @param {string} name
|
|
20108
20106
|
* @param {string} icon
|
|
20109
20107
|
* @param {string} extension
|
|
20110
|
-
* @param {
|
|
20108
|
+
* @param {string} file
|
|
20111
20109
|
* @param {string | null} [acceptLanguage]
|
|
20112
20110
|
* @param {*} [options] Override http request option.
|
|
20113
20111
|
* @throws {RequiredError}
|
|
@@ -20238,7 +20236,7 @@ var RecipeCRUDApiFp = function (configuration) {
|
|
|
20238
20236
|
/**
|
|
20239
20237
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
20240
20238
|
* @summary Create Recipe From Image
|
|
20241
|
-
* @param {Array<
|
|
20239
|
+
* @param {Array<string>} images
|
|
20242
20240
|
* @param {string | null} [translateLanguage]
|
|
20243
20241
|
* @param {string | null} [acceptLanguage]
|
|
20244
20242
|
* @param {*} [options] Override http request option.
|
|
@@ -20263,7 +20261,7 @@ var RecipeCRUDApiFp = function (configuration) {
|
|
|
20263
20261
|
/**
|
|
20264
20262
|
* Create recipe from archive
|
|
20265
20263
|
* @summary Create Recipe From Zip
|
|
20266
|
-
* @param {
|
|
20264
|
+
* @param {string} archive
|
|
20267
20265
|
* @param {string | null} [acceptLanguage]
|
|
20268
20266
|
* @param {*} [options] Override http request option.
|
|
20269
20267
|
* @throws {RequiredError}
|
|
@@ -20681,7 +20679,7 @@ var RecipeCRUDApiFp = function (configuration) {
|
|
|
20681
20679
|
*
|
|
20682
20680
|
* @summary Update Recipe Image
|
|
20683
20681
|
* @param {string} slug
|
|
20684
|
-
* @param {
|
|
20682
|
+
* @param {string} image
|
|
20685
20683
|
* @param {string} extension
|
|
20686
20684
|
* @param {string | null} [acceptLanguage]
|
|
20687
20685
|
* @param {*} [options] Override http request option.
|
|
@@ -20710,7 +20708,7 @@ var RecipeCRUDApiFp = function (configuration) {
|
|
|
20710
20708
|
* @param {string} name
|
|
20711
20709
|
* @param {string} icon
|
|
20712
20710
|
* @param {string} extension
|
|
20713
|
-
* @param {
|
|
20711
|
+
* @param {string} file
|
|
20714
20712
|
* @param {string | null} [acceptLanguage]
|
|
20715
20713
|
* @param {*} [options] Override http request option.
|
|
20716
20714
|
* @throws {RequiredError}
|
|
@@ -20765,7 +20763,7 @@ var RecipeCRUDApiFactory = function (configuration, basePath, axios) {
|
|
|
20765
20763
|
/**
|
|
20766
20764
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
20767
20765
|
* @summary Create Recipe From Image
|
|
20768
|
-
* @param {Array<
|
|
20766
|
+
* @param {Array<string>} images
|
|
20769
20767
|
* @param {string | null} [translateLanguage]
|
|
20770
20768
|
* @param {string | null} [acceptLanguage]
|
|
20771
20769
|
* @param {*} [options] Override http request option.
|
|
@@ -20777,7 +20775,7 @@ var RecipeCRUDApiFactory = function (configuration, basePath, axios) {
|
|
|
20777
20775
|
/**
|
|
20778
20776
|
* Create recipe from archive
|
|
20779
20777
|
* @summary Create Recipe From Zip
|
|
20780
|
-
* @param {
|
|
20778
|
+
* @param {string} archive
|
|
20781
20779
|
* @param {string | null} [acceptLanguage]
|
|
20782
20780
|
* @param {*} [options] Override http request option.
|
|
20783
20781
|
* @throws {RequiredError}
|
|
@@ -20987,7 +20985,7 @@ var RecipeCRUDApiFactory = function (configuration, basePath, axios) {
|
|
|
20987
20985
|
*
|
|
20988
20986
|
* @summary Update Recipe Image
|
|
20989
20987
|
* @param {string} slug
|
|
20990
|
-
* @param {
|
|
20988
|
+
* @param {string} image
|
|
20991
20989
|
* @param {string} extension
|
|
20992
20990
|
* @param {string | null} [acceptLanguage]
|
|
20993
20991
|
* @param {*} [options] Override http request option.
|
|
@@ -21003,7 +21001,7 @@ var RecipeCRUDApiFactory = function (configuration, basePath, axios) {
|
|
|
21003
21001
|
* @param {string} name
|
|
21004
21002
|
* @param {string} icon
|
|
21005
21003
|
* @param {string} extension
|
|
21006
|
-
* @param {
|
|
21004
|
+
* @param {string} file
|
|
21007
21005
|
* @param {string | null} [acceptLanguage]
|
|
21008
21006
|
* @param {*} [options] Override http request option.
|
|
21009
21007
|
* @throws {RequiredError}
|
|
@@ -21049,7 +21047,7 @@ var RecipeCRUDApi = /** @class */ (function (_super) {
|
|
|
21049
21047
|
/**
|
|
21050
21048
|
* Create a recipe from an image using OpenAI. Optionally specify a language for it to translate the recipe to.
|
|
21051
21049
|
* @summary Create Recipe From Image
|
|
21052
|
-
* @param {Array<
|
|
21050
|
+
* @param {Array<string>} images
|
|
21053
21051
|
* @param {string | null} [translateLanguage]
|
|
21054
21052
|
* @param {string | null} [acceptLanguage]
|
|
21055
21053
|
* @param {*} [options] Override http request option.
|
|
@@ -21062,7 +21060,7 @@ var RecipeCRUDApi = /** @class */ (function (_super) {
|
|
|
21062
21060
|
/**
|
|
21063
21061
|
* Create recipe from archive
|
|
21064
21062
|
* @summary Create Recipe From Zip
|
|
21065
|
-
* @param {
|
|
21063
|
+
* @param {string} archive
|
|
21066
21064
|
* @param {string | null} [acceptLanguage]
|
|
21067
21065
|
* @param {*} [options] Override http request option.
|
|
21068
21066
|
* @throws {RequiredError}
|
|
@@ -21288,7 +21286,7 @@ var RecipeCRUDApi = /** @class */ (function (_super) {
|
|
|
21288
21286
|
*
|
|
21289
21287
|
* @summary Update Recipe Image
|
|
21290
21288
|
* @param {string} slug
|
|
21291
|
-
* @param {
|
|
21289
|
+
* @param {string} image
|
|
21292
21290
|
* @param {string} extension
|
|
21293
21291
|
* @param {string | null} [acceptLanguage]
|
|
21294
21292
|
* @param {*} [options] Override http request option.
|
|
@@ -21305,7 +21303,7 @@ var RecipeCRUDApi = /** @class */ (function (_super) {
|
|
|
21305
21303
|
* @param {string} name
|
|
21306
21304
|
* @param {string} icon
|
|
21307
21305
|
* @param {string} extension
|
|
21308
|
-
* @param {
|
|
21306
|
+
* @param {string} file
|
|
21309
21307
|
* @param {string | null} [acceptLanguage]
|
|
21310
21308
|
* @param {*} [options] Override http request option.
|
|
21311
21309
|
* @throws {RequiredError}
|
|
@@ -22548,7 +22546,7 @@ var RecipeImagesAndAssetsApiAxiosParamCreator = function (configuration) {
|
|
|
22548
22546
|
*
|
|
22549
22547
|
* @summary Update Recipe Image
|
|
22550
22548
|
* @param {string} slug
|
|
22551
|
-
* @param {
|
|
22549
|
+
* @param {string} image
|
|
22552
22550
|
* @param {string} extension
|
|
22553
22551
|
* @param {string | null} [acceptLanguage]
|
|
22554
22552
|
* @param {*} [options] Override http request option.
|
|
@@ -22617,7 +22615,7 @@ var RecipeImagesAndAssetsApiAxiosParamCreator = function (configuration) {
|
|
|
22617
22615
|
* @param {string} name
|
|
22618
22616
|
* @param {string} icon
|
|
22619
22617
|
* @param {string} extension
|
|
22620
|
-
* @param {
|
|
22618
|
+
* @param {string} file
|
|
22621
22619
|
* @param {string | null} [acceptLanguage]
|
|
22622
22620
|
* @param {*} [options] Override http request option.
|
|
22623
22621
|
* @throws {RequiredError}
|
|
@@ -22869,7 +22867,7 @@ var RecipeImagesAndAssetsApiFp = function (configuration) {
|
|
|
22869
22867
|
*
|
|
22870
22868
|
* @summary Update Recipe Image
|
|
22871
22869
|
* @param {string} slug
|
|
22872
|
-
* @param {
|
|
22870
|
+
* @param {string} image
|
|
22873
22871
|
* @param {string} extension
|
|
22874
22872
|
* @param {string | null} [acceptLanguage]
|
|
22875
22873
|
* @param {*} [options] Override http request option.
|
|
@@ -22898,7 +22896,7 @@ var RecipeImagesAndAssetsApiFp = function (configuration) {
|
|
|
22898
22896
|
* @param {string} name
|
|
22899
22897
|
* @param {string} icon
|
|
22900
22898
|
* @param {string} extension
|
|
22901
|
-
* @param {
|
|
22899
|
+
* @param {string} file
|
|
22902
22900
|
* @param {string | null} [acceptLanguage]
|
|
22903
22901
|
* @param {*} [options] Override http request option.
|
|
22904
22902
|
* @throws {RequiredError}
|
|
@@ -23009,7 +23007,7 @@ var RecipeImagesAndAssetsApiFactory = function (configuration, basePath, axios)
|
|
|
23009
23007
|
*
|
|
23010
23008
|
* @summary Update Recipe Image
|
|
23011
23009
|
* @param {string} slug
|
|
23012
|
-
* @param {
|
|
23010
|
+
* @param {string} image
|
|
23013
23011
|
* @param {string} extension
|
|
23014
23012
|
* @param {string | null} [acceptLanguage]
|
|
23015
23013
|
* @param {*} [options] Override http request option.
|
|
@@ -23025,7 +23023,7 @@ var RecipeImagesAndAssetsApiFactory = function (configuration, basePath, axios)
|
|
|
23025
23023
|
* @param {string} name
|
|
23026
23024
|
* @param {string} icon
|
|
23027
23025
|
* @param {string} extension
|
|
23028
|
-
* @param {
|
|
23026
|
+
* @param {string} file
|
|
23029
23027
|
* @param {string | null} [acceptLanguage]
|
|
23030
23028
|
* @param {*} [options] Override http request option.
|
|
23031
23029
|
* @throws {RequiredError}
|
|
@@ -23132,7 +23130,7 @@ var RecipeImagesAndAssetsApi = /** @class */ (function (_super) {
|
|
|
23132
23130
|
*
|
|
23133
23131
|
* @summary Update Recipe Image
|
|
23134
23132
|
* @param {string} slug
|
|
23135
|
-
* @param {
|
|
23133
|
+
* @param {string} image
|
|
23136
23134
|
* @param {string} extension
|
|
23137
23135
|
* @param {string | null} [acceptLanguage]
|
|
23138
23136
|
* @param {*} [options] Override http request option.
|
|
@@ -23149,7 +23147,7 @@ var RecipeImagesAndAssetsApi = /** @class */ (function (_super) {
|
|
|
23149
23147
|
* @param {string} name
|
|
23150
23148
|
* @param {string} icon
|
|
23151
23149
|
* @param {string} extension
|
|
23152
|
-
* @param {
|
|
23150
|
+
* @param {string} file
|
|
23153
23151
|
* @param {string | null} [acceptLanguage]
|
|
23154
23152
|
* @param {*} [options] Override http request option.
|
|
23155
23153
|
* @throws {RequiredError}
|
|
@@ -23836,7 +23834,7 @@ var RecipeTimelineApiAxiosParamCreator = function (configuration) {
|
|
|
23836
23834
|
*
|
|
23837
23835
|
* @summary Update Event Image
|
|
23838
23836
|
* @param {string} itemId
|
|
23839
|
-
* @param {
|
|
23837
|
+
* @param {string} image
|
|
23840
23838
|
* @param {string} extension
|
|
23841
23839
|
* @param {string | null} [acceptLanguage]
|
|
23842
23840
|
* @param {*} [options] Override http request option.
|
|
@@ -24069,7 +24067,7 @@ var RecipeTimelineApiFp = function (configuration) {
|
|
|
24069
24067
|
*
|
|
24070
24068
|
* @summary Update Event Image
|
|
24071
24069
|
* @param {string} itemId
|
|
24072
|
-
* @param {
|
|
24070
|
+
* @param {string} image
|
|
24073
24071
|
* @param {string} extension
|
|
24074
24072
|
* @param {string | null} [acceptLanguage]
|
|
24075
24073
|
* @param {*} [options] Override http request option.
|
|
@@ -24179,7 +24177,7 @@ var RecipeTimelineApiFactory = function (configuration, basePath, axios) {
|
|
|
24179
24177
|
*
|
|
24180
24178
|
* @summary Update Event Image
|
|
24181
24179
|
* @param {string} itemId
|
|
24182
|
-
* @param {
|
|
24180
|
+
* @param {string} image
|
|
24183
24181
|
* @param {string} extension
|
|
24184
24182
|
* @param {string | null} [acceptLanguage]
|
|
24185
24183
|
* @param {*} [options] Override http request option.
|
|
@@ -24269,7 +24267,7 @@ var RecipeTimelineApi = /** @class */ (function (_super) {
|
|
|
24269
24267
|
*
|
|
24270
24268
|
* @summary Update Event Image
|
|
24271
24269
|
* @param {string} itemId
|
|
24272
|
-
* @param {
|
|
24270
|
+
* @param {string} image
|
|
24273
24271
|
* @param {string} extension
|
|
24274
24272
|
* @param {string | null} [acceptLanguage]
|
|
24275
24273
|
* @param {*} [options] Override http request option.
|
|
@@ -27179,7 +27177,7 @@ var UsersImagesApiAxiosParamCreator = function (configuration) {
|
|
|
27179
27177
|
* Updates a User Image
|
|
27180
27178
|
* @summary Update User Image
|
|
27181
27179
|
* @param {string} id
|
|
27182
|
-
* @param {
|
|
27180
|
+
* @param {string} profile
|
|
27183
27181
|
* @param {string | null} [acceptLanguage]
|
|
27184
27182
|
* @param {*} [options] Override http request option.
|
|
27185
27183
|
* @throws {RequiredError}
|
|
@@ -27248,7 +27246,7 @@ var UsersImagesApiFp = function (configuration) {
|
|
|
27248
27246
|
* Updates a User Image
|
|
27249
27247
|
* @summary Update User Image
|
|
27250
27248
|
* @param {string} id
|
|
27251
|
-
* @param {
|
|
27249
|
+
* @param {string} profile
|
|
27252
27250
|
* @param {string | null} [acceptLanguage]
|
|
27253
27251
|
* @param {*} [options] Override http request option.
|
|
27254
27252
|
* @throws {RequiredError}
|
|
@@ -27282,7 +27280,7 @@ var UsersImagesApiFactory = function (configuration, basePath, axios) {
|
|
|
27282
27280
|
* Updates a User Image
|
|
27283
27281
|
* @summary Update User Image
|
|
27284
27282
|
* @param {string} id
|
|
27285
|
-
* @param {
|
|
27283
|
+
* @param {string} profile
|
|
27286
27284
|
* @param {string | null} [acceptLanguage]
|
|
27287
27285
|
* @param {*} [options] Override http request option.
|
|
27288
27286
|
* @throws {RequiredError}
|
|
@@ -27305,7 +27303,7 @@ var UsersImagesApi = /** @class */ (function (_super) {
|
|
|
27305
27303
|
* Updates a User Image
|
|
27306
27304
|
* @summary Update User Image
|
|
27307
27305
|
* @param {string} id
|
|
27308
|
-
* @param {
|
|
27306
|
+
* @param {string} profile
|
|
27309
27307
|
* @param {string | null} [acceptLanguage]
|
|
27310
27308
|
* @param {*} [options] Override http request option.
|
|
27311
27309
|
* @throws {RequiredError}
|