@coscine/api-client 2.0.0 → 2.1.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.
- package/dist/index.js +13 -71
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +13 -71
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +1 -1
- package/dist/lib/Coscine.Api.Admin/common.js +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +1 -67
- package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
- package/dist/lib/Coscine.Api.Notices/api.js +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +1 -1
- package/dist/lib/Coscine.Api.Notices/common.js +1 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Notices/index.js +1 -1
- package/dist/lib/Coscine.Api.Organization/api.js +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +1 -1
- package/dist/lib/Coscine.Api.Organization/common.js +1 -1
- package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Organization/index.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +1 -1
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +1 -1
- package/dist/lib/Coscine.Api.Quota/api.js +1 -1
- package/dist/lib/Coscine.Api.Quota/base.js +1 -1
- package/dist/lib/Coscine.Api.Quota/common.js +1 -1
- package/dist/lib/Coscine.Api.Quota/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Quota/index.js +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +12 -2
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +1 -1
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/common.js +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +1 -1
- package/dist/lib/Coscine.Api.Token/api.js +1 -1
- package/dist/lib/Coscine.Api.Token/base.js +1 -1
- package/dist/lib/Coscine.Api.Token/common.js +1 -1
- package/dist/lib/Coscine.Api.Token/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Token/index.js +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/lib/Coscine.Api.User/api.js +1 -1
- package/dist/lib/Coscine.Api.User/base.js +1 -1
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +1 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +1 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +1 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +1 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +1 -34
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Notices/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Quota/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +59 -8
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Token/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/Coscine.Api.User/api.d.ts +1 -1
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +0 -1
- package/dist/types/index.d.ts +0 -2
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -2303,7 +2303,7 @@
|
|
|
2303
2303
|
* Coscine.Api.ActivatedFeatures
|
|
2304
2304
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
2305
2305
|
*
|
|
2306
|
-
* The version of the OpenAPI document: 2.
|
|
2306
|
+
* The version of the OpenAPI document: 2.1.2
|
|
2307
2307
|
*
|
|
2308
2308
|
*
|
|
2309
2309
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2407,7 +2407,7 @@
|
|
|
2407
2407
|
*
|
|
2408
2408
|
* @export
|
|
2409
2409
|
*/
|
|
2410
|
-
const serializeDataIfNeeded$
|
|
2410
|
+
const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
|
|
2411
2411
|
const nonString = typeof value !== 'string';
|
|
2412
2412
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
2413
2413
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
@@ -2498,7 +2498,7 @@
|
|
|
2498
2498
|
setSearchParams$b(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2499
2499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2500
2500
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2501
|
-
localVarRequestOptions.data = serializeDataIfNeeded$
|
|
2501
|
+
localVarRequestOptions.data = serializeDataIfNeeded$6(updateQuotaParameterObject, localVarRequestOptions, configuration);
|
|
2502
2502
|
return {
|
|
2503
2503
|
url: toPathString$b(localVarUrlObj),
|
|
2504
2504
|
options: localVarRequestOptions,
|
|
@@ -2638,19 +2638,6 @@
|
|
|
2638
2638
|
}
|
|
2639
2639
|
url.search = searchParams.toString();
|
|
2640
2640
|
};
|
|
2641
|
-
/**
|
|
2642
|
-
*
|
|
2643
|
-
* @export
|
|
2644
|
-
*/
|
|
2645
|
-
const serializeDataIfNeeded$6 = function (value, requestOptions, configuration) {
|
|
2646
|
-
const nonString = typeof value !== 'string';
|
|
2647
|
-
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
2648
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
2649
|
-
: nonString;
|
|
2650
|
-
return needsSerialization
|
|
2651
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
2652
|
-
: (value || "");
|
|
2653
|
-
};
|
|
2654
2641
|
/**
|
|
2655
2642
|
*
|
|
2656
2643
|
* @export
|
|
@@ -2777,38 +2764,6 @@
|
|
|
2777
2764
|
options: localVarRequestOptions,
|
|
2778
2765
|
};
|
|
2779
2766
|
}),
|
|
2780
|
-
/**
|
|
2781
|
-
*
|
|
2782
|
-
* @summary This method checks if the resource is valid
|
|
2783
|
-
* @param {any} body
|
|
2784
|
-
* @param {*} [options] Override http request option.
|
|
2785
|
-
* @throws {RequiredError}
|
|
2786
|
-
*/
|
|
2787
|
-
blobIsResourceValid: (body, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2788
|
-
// verify required parameter 'body' is not null or undefined
|
|
2789
|
-
assertParamExists$9('blobIsResourceValid', 'body', body);
|
|
2790
|
-
const localVarPath = `/Blob/validate`;
|
|
2791
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2792
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL$a);
|
|
2793
|
-
let baseOptions;
|
|
2794
|
-
if (configuration) {
|
|
2795
|
-
baseOptions = configuration.baseOptions;
|
|
2796
|
-
}
|
|
2797
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2798
|
-
const localVarHeaderParameter = {};
|
|
2799
|
-
const localVarQueryParameter = {};
|
|
2800
|
-
// authentication JWT token required
|
|
2801
|
-
yield setApiKeyToObject$a(localVarHeaderParameter, "Authorization", configuration);
|
|
2802
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2803
|
-
setSearchParams$a(localVarUrlObj, localVarQueryParameter, options.query);
|
|
2804
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2805
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2806
|
-
localVarRequestOptions.data = serializeDataIfNeeded$6(body, localVarRequestOptions, configuration);
|
|
2807
|
-
return {
|
|
2808
|
-
url: toPathString$a(localVarUrlObj),
|
|
2809
|
-
options: localVarRequestOptions,
|
|
2810
|
-
};
|
|
2811
|
-
}),
|
|
2812
2767
|
/**
|
|
2813
2768
|
*
|
|
2814
2769
|
* @summary This method uploads a given File
|
|
@@ -2903,19 +2858,6 @@
|
|
|
2903
2858
|
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2904
2859
|
});
|
|
2905
2860
|
},
|
|
2906
|
-
/**
|
|
2907
|
-
*
|
|
2908
|
-
* @summary This method checks if the resource is valid
|
|
2909
|
-
* @param {any} body
|
|
2910
|
-
* @param {*} [options] Override http request option.
|
|
2911
|
-
* @throws {RequiredError}
|
|
2912
|
-
*/
|
|
2913
|
-
blobIsResourceValid(body, options) {
|
|
2914
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2915
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.blobIsResourceValid(body, options);
|
|
2916
|
-
return createRequestFunction$a(localVarAxiosArgs, axios, BASE_PATH$a, configuration);
|
|
2917
|
-
});
|
|
2918
|
-
},
|
|
2919
2861
|
/**
|
|
2920
2862
|
*
|
|
2921
2863
|
* @summary This method uploads a given File
|
|
@@ -2972,16 +2914,6 @@
|
|
|
2972
2914
|
blobGetQuota(resourceId, options) {
|
|
2973
2915
|
return localVarFp.blobGetQuota(resourceId, options).then((request) => request(axios, basePath));
|
|
2974
2916
|
},
|
|
2975
|
-
/**
|
|
2976
|
-
*
|
|
2977
|
-
* @summary This method checks if the resource is valid
|
|
2978
|
-
* @param {any} body
|
|
2979
|
-
* @param {*} [options] Override http request option.
|
|
2980
|
-
* @throws {RequiredError}
|
|
2981
|
-
*/
|
|
2982
|
-
blobIsResourceValid(body, options) {
|
|
2983
|
-
return localVarFp.blobIsResourceValid(body, options).then((request) => request(axios, basePath));
|
|
2984
|
-
},
|
|
2985
2917
|
/**
|
|
2986
2918
|
*
|
|
2987
2919
|
* @summary This method uploads a given File
|
|
@@ -6378,6 +6310,16 @@
|
|
|
6378
6310
|
};
|
|
6379
6311
|
|
|
6380
6312
|
/* tslint:disable */
|
|
6313
|
+
/**
|
|
6314
|
+
*
|
|
6315
|
+
* @export
|
|
6316
|
+
* @enum {string}
|
|
6317
|
+
*/
|
|
6318
|
+
var ResourceTypeStatus;
|
|
6319
|
+
(function (ResourceTypeStatus) {
|
|
6320
|
+
ResourceTypeStatus["Hidden"] = "hidden";
|
|
6321
|
+
ResourceTypeStatus["Active"] = "active";
|
|
6322
|
+
})(ResourceTypeStatus || (ResourceTypeStatus = {}));
|
|
6381
6323
|
/**
|
|
6382
6324
|
* ResourceApi - axios parameter creator
|
|
6383
6325
|
* @export
|