@emilgroup/tenant-sdk-node 1.29.1-beta.0 → 1.30.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/README.md +2 -2
- package/dist/api/custom-schema-api.js +14 -39
- package/dist/api/dashboard-api.js +29 -74
- package/dist/api/dashboard-group-api.js +17 -46
- package/dist/api/data-report-api.js +14 -39
- package/dist/api/data-report-executor-api.js +5 -18
- package/dist/api/delete-organization-invitations-api.js +5 -18
- package/dist/api/health-check-api.js +5 -18
- package/dist/api/invite-organizations-api.js +5 -18
- package/dist/api/invite-users-api.js +14 -39
- package/dist/api/list-organization-invitations-api.js +5 -18
- package/dist/api/organizations-api.js +11 -32
- package/dist/api/re-invite-an-organization-api.js +5 -18
- package/dist/api/roles-api.js +5 -18
- package/dist/api/settings-api.js +5 -18
- package/dist/api/users-api.js +23 -60
- package/dist/base.js +15 -25
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/org-invitation-class.d.ts +6 -0
- package/models/org-invitation-class.ts +6 -0
- package/package.json +4 -4
package/dist/base.js
CHANGED
|
@@ -54,23 +54,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
54
54
|
}) : function(o, v) {
|
|
55
55
|
o["default"] = v;
|
|
56
56
|
});
|
|
57
|
-
var __importStar = (this && this.__importStar) ||
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return ownKeys(o);
|
|
65
|
-
};
|
|
66
|
-
return function (mod) {
|
|
67
|
-
if (mod && mod.__esModule) return mod;
|
|
68
|
-
var result = {};
|
|
69
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
70
|
-
__setModuleDefault(result, mod);
|
|
71
|
-
return result;
|
|
72
|
-
};
|
|
73
|
-
})();
|
|
57
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
58
|
+
if (mod && mod.__esModule) return mod;
|
|
59
|
+
var result = {};
|
|
60
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
61
|
+
__setModuleDefault(result, mod);
|
|
62
|
+
return result;
|
|
63
|
+
};
|
|
74
64
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
75
65
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
76
66
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -81,8 +71,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
81
71
|
});
|
|
82
72
|
};
|
|
83
73
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
84
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
85
|
-
return g
|
|
74
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
75
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
86
76
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
87
77
|
function step(op) {
|
|
88
78
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -111,8 +101,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
111
101
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
112
102
|
};
|
|
113
103
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
114
|
-
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
115
|
-
exports.resetRetry = resetRetry;
|
|
104
|
+
exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
116
105
|
var configuration_1 = require("./configuration");
|
|
117
106
|
// Some imports not used depending on template conditions
|
|
118
107
|
// @ts-ignore
|
|
@@ -143,12 +132,13 @@ var Environment;
|
|
|
143
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
144
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
145
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
146
|
-
})(Environment
|
|
135
|
+
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
147
136
|
var _retry_count = 0;
|
|
148
137
|
var _retry = null;
|
|
149
138
|
function resetRetry() {
|
|
150
139
|
_retry_count = 0;
|
|
151
140
|
}
|
|
141
|
+
exports.resetRetry = resetRetry;
|
|
152
142
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
153
143
|
/**
|
|
154
144
|
*
|
|
@@ -172,9 +162,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
172
162
|
}
|
|
173
163
|
this.attachInterceptor(axios);
|
|
174
164
|
}
|
|
175
|
-
BaseAPI.prototype.initialize = function () {
|
|
176
|
-
|
|
177
|
-
|
|
165
|
+
BaseAPI.prototype.initialize = function (env) {
|
|
166
|
+
if (env === void 0) { env = Environment.Production; }
|
|
167
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
178
168
|
return __generator(this, function (_a) {
|
|
179
169
|
switch (_a.label) {
|
|
180
170
|
case 0:
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL Tenant Service
|
|
69
69
|
* The EMIL TenantService API description
|
package/dist/common.js
CHANGED
|
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
36
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
37
|
-
return g
|
|
36
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
37
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
38
38
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
39
39
|
function step(op) {
|
|
40
40
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -34,6 +34,12 @@ export interface OrgInvitationClass {
|
|
|
34
34
|
* @memberof OrgInvitationClass
|
|
35
35
|
*/
|
|
36
36
|
'roles'?: Array<RoleClass>;
|
|
37
|
+
/**
|
|
38
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof OrgInvitationClass
|
|
41
|
+
*/
|
|
42
|
+
'ern': string;
|
|
37
43
|
/**
|
|
38
44
|
* Name of the invited organization.
|
|
39
45
|
* @type {string}
|
|
@@ -39,6 +39,12 @@ export interface OrgInvitationClass {
|
|
|
39
39
|
* @memberof OrgInvitationClass
|
|
40
40
|
*/
|
|
41
41
|
'roles'?: Array<RoleClass>;
|
|
42
|
+
/**
|
|
43
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OrgInvitationClass
|
|
46
|
+
*/
|
|
47
|
+
'ern': string;
|
|
42
48
|
/**
|
|
43
49
|
* Name of the invited organization.
|
|
44
50
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/tenant-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/tenant-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "^
|
|
21
|
+
"axios": "^0.27.2",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^
|
|
27
|
-
"typescript": "^
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
|
+
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|