mealie-typescript 1.0.17 → 1.0.19
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 +10 -10
- package/dist/api.js +17 -19
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -10824,12 +10824,12 @@ export declare const RecipeBulkActionsApiAxiosParamCreator: (configuration?: Con
|
|
|
10824
10824
|
/**
|
|
10825
10825
|
* Returns a token to download a file
|
|
10826
10826
|
* @summary Get Exported Data Token
|
|
10827
|
-
* @param {string}
|
|
10827
|
+
* @param {string} exportId
|
|
10828
10828
|
* @param {string | null} [acceptLanguage]
|
|
10829
10829
|
* @param {*} [options] Override http request option.
|
|
10830
10830
|
* @throws {RequiredError}
|
|
10831
10831
|
*/
|
|
10832
|
-
|
|
10832
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet: (exportId: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10833
10833
|
/**
|
|
10834
10834
|
* Remove all exports data, including items on disk without database entry
|
|
10835
10835
|
* @summary Purge Export Data
|
|
@@ -10899,12 +10899,12 @@ export declare const RecipeBulkActionsApiFp: (configuration?: Configuration) =>
|
|
|
10899
10899
|
/**
|
|
10900
10900
|
* Returns a token to download a file
|
|
10901
10901
|
* @summary Get Exported Data Token
|
|
10902
|
-
* @param {string}
|
|
10902
|
+
* @param {string} exportId
|
|
10903
10903
|
* @param {string | null} [acceptLanguage]
|
|
10904
10904
|
* @param {*} [options] Override http request option.
|
|
10905
10905
|
* @throws {RequiredError}
|
|
10906
10906
|
*/
|
|
10907
|
-
|
|
10907
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet(exportId: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
10908
10908
|
/**
|
|
10909
10909
|
* Remove all exports data, including items on disk without database entry
|
|
10910
10910
|
* @summary Purge Export Data
|
|
@@ -10974,12 +10974,12 @@ export declare const RecipeBulkActionsApiFactory: (configuration?: Configuration
|
|
|
10974
10974
|
/**
|
|
10975
10975
|
* Returns a token to download a file
|
|
10976
10976
|
* @summary Get Exported Data Token
|
|
10977
|
-
* @param {string}
|
|
10977
|
+
* @param {string} exportId
|
|
10978
10978
|
* @param {string | null} [acceptLanguage]
|
|
10979
10979
|
* @param {*} [options] Override http request option.
|
|
10980
10980
|
* @throws {RequiredError}
|
|
10981
10981
|
*/
|
|
10982
|
-
|
|
10982
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet(exportId: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
10983
10983
|
/**
|
|
10984
10984
|
* Remove all exports data, including items on disk without database entry
|
|
10985
10985
|
* @summary Purge Export Data
|
|
@@ -11049,12 +11049,12 @@ export interface RecipeBulkActionsApiInterface {
|
|
|
11049
11049
|
/**
|
|
11050
11050
|
* Returns a token to download a file
|
|
11051
11051
|
* @summary Get Exported Data Token
|
|
11052
|
-
* @param {string}
|
|
11052
|
+
* @param {string} exportId
|
|
11053
11053
|
* @param {string | null} [acceptLanguage]
|
|
11054
11054
|
* @param {*} [options] Override http request option.
|
|
11055
11055
|
* @throws {RequiredError}
|
|
11056
11056
|
*/
|
|
11057
|
-
|
|
11057
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet(exportId: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
11058
11058
|
/**
|
|
11059
11059
|
* Remove all exports data, including items on disk without database entry
|
|
11060
11060
|
* @summary Purge Export Data
|
|
@@ -11124,12 +11124,12 @@ export declare class RecipeBulkActionsApi extends BaseAPI implements RecipeBulkA
|
|
|
11124
11124
|
/**
|
|
11125
11125
|
* Returns a token to download a file
|
|
11126
11126
|
* @summary Get Exported Data Token
|
|
11127
|
-
* @param {string}
|
|
11127
|
+
* @param {string} exportId
|
|
11128
11128
|
* @param {string | null} [acceptLanguage]
|
|
11129
11129
|
* @param {*} [options] Override http request option.
|
|
11130
11130
|
* @throws {RequiredError}
|
|
11131
11131
|
*/
|
|
11132
|
-
|
|
11132
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet(exportId: string, acceptLanguage?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
11133
11133
|
/**
|
|
11134
11134
|
* Remove all exports data, including items on disk without database entry
|
|
11135
11135
|
* @summary Purge Export Data
|
package/dist/api.js
CHANGED
|
@@ -18399,25 +18399,26 @@ var RecipeBulkActionsApiAxiosParamCreator = function (configuration) {
|
|
|
18399
18399
|
/**
|
|
18400
18400
|
* Returns a token to download a file
|
|
18401
18401
|
* @summary Get Exported Data Token
|
|
18402
|
-
* @param {string}
|
|
18402
|
+
* @param {string} exportId
|
|
18403
18403
|
* @param {string | null} [acceptLanguage]
|
|
18404
18404
|
* @param {*} [options] Override http request option.
|
|
18405
18405
|
* @throws {RequiredError}
|
|
18406
18406
|
*/
|
|
18407
|
-
|
|
18407
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet: function (exportId_1, acceptLanguage_1) {
|
|
18408
18408
|
var args_1 = [];
|
|
18409
18409
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
18410
18410
|
args_1[_i - 2] = arguments[_i];
|
|
18411
18411
|
}
|
|
18412
|
-
return __awaiter(_this, __spreadArray([
|
|
18412
|
+
return __awaiter(_this, __spreadArray([exportId_1, acceptLanguage_1], args_1, true), void 0, function (exportId, acceptLanguage, options) {
|
|
18413
18413
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
18414
18414
|
if (options === void 0) { options = {}; }
|
|
18415
18415
|
return __generator(this, function (_a) {
|
|
18416
18416
|
switch (_a.label) {
|
|
18417
18417
|
case 0:
|
|
18418
|
-
// verify required parameter '
|
|
18419
|
-
(0, common_1.assertParamExists)('
|
|
18420
|
-
localVarPath = "/api/recipes/bulk-actions/export/download"
|
|
18418
|
+
// verify required parameter 'exportId' is not null or undefined
|
|
18419
|
+
(0, common_1.assertParamExists)('getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet', 'exportId', exportId);
|
|
18420
|
+
localVarPath = "/api/recipes/bulk-actions/export/{export_id}/download"
|
|
18421
|
+
.replace("{".concat("export_id", "}"), encodeURIComponent(String(exportId)));
|
|
18421
18422
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18422
18423
|
if (configuration) {
|
|
18423
18424
|
baseOptions = configuration.baseOptions;
|
|
@@ -18432,9 +18433,6 @@ var RecipeBulkActionsApiAxiosParamCreator = function (configuration) {
|
|
|
18432
18433
|
// authentication OAuth2PasswordBearer required
|
|
18433
18434
|
// oauth required
|
|
18434
18435
|
_a.sent();
|
|
18435
|
-
if (path !== undefined) {
|
|
18436
|
-
localVarQueryParameter['path'] = path;
|
|
18437
|
-
}
|
|
18438
18436
|
if (acceptLanguage != null) {
|
|
18439
18437
|
localVarHeaderParameter['accept-language'] = String(acceptLanguage);
|
|
18440
18438
|
}
|
|
@@ -18651,22 +18649,22 @@ var RecipeBulkActionsApiFp = function (configuration) {
|
|
|
18651
18649
|
/**
|
|
18652
18650
|
* Returns a token to download a file
|
|
18653
18651
|
* @summary Get Exported Data Token
|
|
18654
|
-
* @param {string}
|
|
18652
|
+
* @param {string} exportId
|
|
18655
18653
|
* @param {string | null} [acceptLanguage]
|
|
18656
18654
|
* @param {*} [options] Override http request option.
|
|
18657
18655
|
* @throws {RequiredError}
|
|
18658
18656
|
*/
|
|
18659
|
-
|
|
18657
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet: function (exportId, acceptLanguage, options) {
|
|
18660
18658
|
return __awaiter(this, void 0, void 0, function () {
|
|
18661
18659
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
18662
18660
|
var _a, _b, _c;
|
|
18663
18661
|
return __generator(this, function (_d) {
|
|
18664
18662
|
switch (_d.label) {
|
|
18665
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
18663
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet(exportId, acceptLanguage, options)];
|
|
18666
18664
|
case 1:
|
|
18667
18665
|
localVarAxiosArgs = _d.sent();
|
|
18668
18666
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18669
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecipeBulkActionsApi.
|
|
18667
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RecipeBulkActionsApi.getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18670
18668
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
18671
18669
|
}
|
|
18672
18670
|
});
|
|
@@ -18772,13 +18770,13 @@ var RecipeBulkActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
18772
18770
|
/**
|
|
18773
18771
|
* Returns a token to download a file
|
|
18774
18772
|
* @summary Get Exported Data Token
|
|
18775
|
-
* @param {string}
|
|
18773
|
+
* @param {string} exportId
|
|
18776
18774
|
* @param {string | null} [acceptLanguage]
|
|
18777
18775
|
* @param {*} [options] Override http request option.
|
|
18778
18776
|
* @throws {RequiredError}
|
|
18779
18777
|
*/
|
|
18780
|
-
|
|
18781
|
-
return localVarFp.
|
|
18778
|
+
getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet: function (exportId, acceptLanguage, options) {
|
|
18779
|
+
return localVarFp.getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet(exportId, acceptLanguage, options).then(function (request) { return request(axios, basePath); });
|
|
18782
18780
|
},
|
|
18783
18781
|
/**
|
|
18784
18782
|
* Remove all exports data, including items on disk without database entry
|
|
@@ -18875,14 +18873,14 @@ var RecipeBulkActionsApi = /** @class */ (function (_super) {
|
|
|
18875
18873
|
/**
|
|
18876
18874
|
* Returns a token to download a file
|
|
18877
18875
|
* @summary Get Exported Data Token
|
|
18878
|
-
* @param {string}
|
|
18876
|
+
* @param {string} exportId
|
|
18879
18877
|
* @param {string | null} [acceptLanguage]
|
|
18880
18878
|
* @param {*} [options] Override http request option.
|
|
18881
18879
|
* @throws {RequiredError}
|
|
18882
18880
|
*/
|
|
18883
|
-
RecipeBulkActionsApi.prototype.
|
|
18881
|
+
RecipeBulkActionsApi.prototype.getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet = function (exportId, acceptLanguage, options) {
|
|
18884
18882
|
var _this = this;
|
|
18885
|
-
return (0, exports.RecipeBulkActionsApiFp)(this.configuration).
|
|
18883
|
+
return (0, exports.RecipeBulkActionsApiFp)(this.configuration).getExportedDataTokenApiRecipesBulkActionsExportExportIdDownloadGet(exportId, acceptLanguage, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18886
18884
|
};
|
|
18887
18885
|
/**
|
|
18888
18886
|
* Remove all exports data, including items on disk without database entry
|