arlas-permissions-api 24.1.0 → 25.0.0-beta.1
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/api.d.ts +3 -3
- package/api.js +13 -13
- package/api.js.map +1 -1
- package/configuration.d.ts +5 -5
- package/configuration.js +5 -5
- package/configuration.js.map +1 -1
- package/custom.d.ts +2 -1
- package/index.d.ts +5 -5
- package/index.js +5 -5
- package/index.js.map +1 -1
- package/package.json +3 -3
package/api.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class BaseAPI {
|
|
|
46
46
|
*/
|
|
47
47
|
export declare class RequiredError extends Error {
|
|
48
48
|
field: string;
|
|
49
|
-
name:
|
|
49
|
+
name: string;
|
|
50
50
|
constructor(field: string, msg?: string);
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
@@ -124,8 +124,8 @@ export declare class AuthorizeApi extends BaseAPI {
|
|
|
124
124
|
/**
|
|
125
125
|
* Returns a list of permissions for the current context/user
|
|
126
126
|
* @summary Returns a list of permissions for the current context/user
|
|
127
|
-
* @param {} filter A regex to apply to permissions uris in order to filter the returned list.
|
|
128
|
-
* @param {} [pretty] Pretty print
|
|
127
|
+
* @param {string} filter A regex to apply to permissions uris in order to filter the returned list.
|
|
128
|
+
* @param {boolean} [pretty] Pretty print
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
* @memberof AuthorizeApi
|
package/api.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference path="./custom.d.ts" />
|
|
2
2
|
// tslint:disable
|
|
3
3
|
/**
|
|
4
|
-
* ARLAS
|
|
5
|
-
*
|
|
4
|
+
* ARLAS Permissions APIs
|
|
5
|
+
* Get a list of authorized endpoints/verbs for authenticated users.
|
|
6
6
|
*
|
|
7
|
-
* OpenAPI spec version:
|
|
7
|
+
* OpenAPI spec version: 25.0.0-beta.1
|
|
8
8
|
* Contact: contact@gisaia.com
|
|
9
9
|
*
|
|
10
|
-
* NOTE: This
|
|
10
|
+
* NOTE: This file is auto generated by the swagger code generator program.
|
|
11
11
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
12
|
-
* Do not edit the
|
|
12
|
+
* Do not edit the file manually.
|
|
13
13
|
*/
|
|
14
14
|
var __extends = (this && this.__extends) || (function () {
|
|
15
15
|
var extendStatics = Object.setPrototypeOf ||
|
|
@@ -22,8 +22,8 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
22
22
|
};
|
|
23
23
|
})();
|
|
24
24
|
import * as url from "url";
|
|
25
|
-
import * as
|
|
26
|
-
var BASE_PATH = "
|
|
25
|
+
import * as isomorphicFetch from "isomorphic-fetch";
|
|
26
|
+
var BASE_PATH = "/arlas_permissions_server".replace(/\/+$/, "");
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @export
|
|
@@ -42,7 +42,7 @@ export var COLLECTION_FORMATS = {
|
|
|
42
42
|
var BaseAPI = (function () {
|
|
43
43
|
function BaseAPI(configuration, basePath, fetch) {
|
|
44
44
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
45
|
-
if (fetch === void 0) { fetch =
|
|
45
|
+
if (fetch === void 0) { fetch = isomorphicFetch; }
|
|
46
46
|
this.basePath = basePath;
|
|
47
47
|
this.fetch = fetch;
|
|
48
48
|
if (configuration) {
|
|
@@ -53,7 +53,6 @@ var BaseAPI = (function () {
|
|
|
53
53
|
return BaseAPI;
|
|
54
54
|
}());
|
|
55
55
|
export { BaseAPI };
|
|
56
|
-
;
|
|
57
56
|
/**
|
|
58
57
|
*
|
|
59
58
|
* @export
|
|
@@ -65,6 +64,7 @@ var RequiredError = (function (_super) {
|
|
|
65
64
|
function RequiredError(field, msg) {
|
|
66
65
|
var _this = _super.call(this, msg) || this;
|
|
67
66
|
_this.field = field;
|
|
67
|
+
_this.name = "RequiredError";
|
|
68
68
|
return _this;
|
|
69
69
|
}
|
|
70
70
|
return RequiredError;
|
|
@@ -103,7 +103,7 @@ export var AuthorizeApiFetchParamCreator = function (configuration) {
|
|
|
103
103
|
}
|
|
104
104
|
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
105
105
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
106
|
-
|
|
106
|
+
localVarUrlObj.search = null;
|
|
107
107
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
108
108
|
return {
|
|
109
109
|
url: url.format(localVarUrlObj),
|
|
@@ -129,7 +129,7 @@ export var AuthorizeApiFp = function (configuration) {
|
|
|
129
129
|
get: function (filter, pretty, options) {
|
|
130
130
|
var localVarFetchArgs = AuthorizeApiFetchParamCreator(configuration).get(filter, pretty, options);
|
|
131
131
|
return function (fetch, basePath) {
|
|
132
|
-
if (fetch === void 0) { fetch =
|
|
132
|
+
if (fetch === void 0) { fetch = isomorphicFetch; }
|
|
133
133
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
134
134
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
135
135
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -176,8 +176,8 @@ var AuthorizeApi = (function (_super) {
|
|
|
176
176
|
/**
|
|
177
177
|
* Returns a list of permissions for the current context/user
|
|
178
178
|
* @summary Returns a list of permissions for the current context/user
|
|
179
|
-
* @param {} filter A regex to apply to permissions uris in order to filter the returned list.
|
|
180
|
-
* @param {} [pretty] Pretty print
|
|
179
|
+
* @param {string} filter A regex to apply to permissions uris in order to filter the returned list.
|
|
180
|
+
* @param {boolean} [pretty] Pretty print
|
|
181
181
|
* @param {*} [options] Override http request option.
|
|
182
182
|
* @throws {RequiredError}
|
|
183
183
|
* @memberof AuthorizeApi
|
package/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,iBAAiB;AAC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F;;;;;GAKG;AACH;IAAkC,gCAAO;IAAzC;;IAcA,CAAC;IAbG;;;;;;;;OAQG;IACI,0BAAG,GAAV,UAAW,MAAc,EAAE,MAAgB,EAAE,OAAa;QACtD,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IACtG,CAAC;IAEL,mBAAC;AAAD,CAAC,AAdD,CAAkC,OAAO,GAcxC"}
|
package/configuration.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ARLAS
|
|
3
|
-
*
|
|
2
|
+
* ARLAS Permissions APIs
|
|
3
|
+
* Get a list of authorized endpoints/verbs for authenticated users.
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version:
|
|
5
|
+
* OpenAPI spec version: 25.0.0-beta.1
|
|
6
6
|
* Contact: contact@gisaia.com
|
|
7
7
|
*
|
|
8
|
-
* NOTE: This
|
|
8
|
+
* NOTE: This file is auto generated by the swagger code generator program.
|
|
9
9
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the
|
|
10
|
+
* Do not edit the file manually.
|
|
11
11
|
*/
|
|
12
12
|
export interface ConfigurationParameters {
|
|
13
13
|
apiKey?: string | ((name: string) => string);
|
package/configuration.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// tslint:disable
|
|
2
2
|
/**
|
|
3
|
-
* ARLAS
|
|
4
|
-
*
|
|
3
|
+
* ARLAS Permissions APIs
|
|
4
|
+
* Get a list of authorized endpoints/verbs for authenticated users.
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version:
|
|
6
|
+
* OpenAPI spec version: 25.0.0-beta.1
|
|
7
7
|
* Contact: contact@gisaia.com
|
|
8
8
|
*
|
|
9
|
-
* NOTE: This
|
|
9
|
+
* NOTE: This file is auto generated by the swagger code generator program.
|
|
10
10
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the
|
|
11
|
+
* Do not edit the file manually.
|
|
12
12
|
*/
|
|
13
13
|
var Configuration = (function () {
|
|
14
14
|
function Configuration(param) {
|
package/configuration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["configuration.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["configuration.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;GAUG;AAUH;IAoCI,uBAAY,KAAmC;QAAnC,sBAAA,EAAA,UAAmC;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IACnC,CAAC;IACL,oBAAC;AAAD,CAAC,AA3CD,IA2CC"}
|
package/custom.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
declare module '
|
|
1
|
+
declare module 'isomorphic-fetch';
|
|
2
|
+
declare module 'url';
|
package/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ARLAS
|
|
3
|
-
*
|
|
2
|
+
* ARLAS Permissions APIs
|
|
3
|
+
* Get a list of authorized endpoints/verbs for authenticated users.
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version:
|
|
5
|
+
* OpenAPI spec version: 25.0.0-beta.1
|
|
6
6
|
* Contact: contact@gisaia.com
|
|
7
7
|
*
|
|
8
|
-
* NOTE: This
|
|
8
|
+
* NOTE: This file is auto generated by the swagger code generator program.
|
|
9
9
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
-
* Do not edit the
|
|
10
|
+
* Do not edit the file manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from "./api";
|
|
13
13
|
export * from "./configuration";
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// tslint:disable
|
|
2
2
|
/**
|
|
3
|
-
* ARLAS
|
|
4
|
-
*
|
|
3
|
+
* ARLAS Permissions APIs
|
|
4
|
+
* Get a list of authorized endpoints/verbs for authenticated users.
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version:
|
|
6
|
+
* OpenAPI spec version: 25.0.0-beta.1
|
|
7
7
|
* Contact: contact@gisaia.com
|
|
8
8
|
*
|
|
9
|
-
* NOTE: This
|
|
9
|
+
* NOTE: This file is auto generated by the swagger code generator program.
|
|
10
10
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
* Do not edit the
|
|
11
|
+
* Do not edit the file manually.
|
|
12
12
|
*/
|
|
13
13
|
export * from "./api";
|
|
14
14
|
export * from "./configuration";
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,iBAAiB;AACjB;;;;;;;;;;GAUG;AAEH,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arlas-permissions-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-beta.1",
|
|
4
4
|
"description": "Persists data",
|
|
5
5
|
"author": "Gisaia",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"permissions"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"
|
|
13
|
+
"isomorphic-fetch": "3.0.0",
|
|
14
14
|
"url": "0.11.0"
|
|
15
15
|
},
|
|
16
16
|
"overrides": {
|
|
17
|
-
"
|
|
17
|
+
"isomorphic-fetch": {
|
|
18
18
|
"node-fetch": "3.3.0"
|
|
19
19
|
}
|
|
20
20
|
}
|