@emilgroup/tenant-sdk-node 1.29.0 → 1.29.1-beta.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/base.ts +1 -1
- package/dist/api/custom-schema-api.js +39 -14
- package/dist/api/dashboard-api.js +74 -29
- package/dist/api/dashboard-group-api.js +46 -17
- package/dist/api/data-report-api.js +39 -14
- package/dist/api/data-report-executor-api.js +18 -5
- package/dist/api/delete-organization-invitations-api.js +18 -5
- package/dist/api/health-check-api.js +18 -5
- package/dist/api/invite-organizations-api.js +18 -5
- package/dist/api/invite-users-api.js +39 -14
- package/dist/api/list-organization-invitations-api.js +18 -5
- package/dist/api/organizations-api.js +32 -11
- package/dist/api/re-invite-an-organization-api.js +18 -5
- package/dist/api/roles-api.js +18 -5
- package/dist/api/settings-api.js +18 -5
- package/dist/api/users-api.js +60 -23
- package/dist/base.js +25 -15
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/package.json +4 -4
- package/tsconfig.json +1 -0
package/dist/base.js
CHANGED
|
@@ -54,13 +54,23 @@ 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) || function (
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
57
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
58
|
+
var ownKeys = function(o) {
|
|
59
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
60
|
+
var ar = [];
|
|
61
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
62
|
+
return ar;
|
|
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
|
+
})();
|
|
64
74
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
65
75
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
66
76
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -71,8 +81,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
71
81
|
});
|
|
72
82
|
};
|
|
73
83
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
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 =
|
|
84
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
85
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
76
86
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
77
87
|
function step(op) {
|
|
78
88
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -101,7 +111,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
101
111
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
102
112
|
};
|
|
103
113
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104
|
-
exports.RequiredError = exports.BaseAPI = exports.
|
|
114
|
+
exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
115
|
+
exports.resetRetry = resetRetry;
|
|
105
116
|
var configuration_1 = require("./configuration");
|
|
106
117
|
// Some imports not used depending on template conditions
|
|
107
118
|
// @ts-ignore
|
|
@@ -132,13 +143,12 @@ var Environment;
|
|
|
132
143
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
144
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
145
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
-
})(Environment
|
|
146
|
+
})(Environment || (exports.Environment = Environment = {}));
|
|
136
147
|
var _retry_count = 0;
|
|
137
148
|
var _retry = null;
|
|
138
149
|
function resetRetry() {
|
|
139
150
|
_retry_count = 0;
|
|
140
151
|
}
|
|
141
|
-
exports.resetRetry = resetRetry;
|
|
142
152
|
var NETWORK_ERROR_MESSAGE = "Network Error";
|
|
143
153
|
/**
|
|
144
154
|
*
|
|
@@ -162,9 +172,9 @@ var BaseAPI = /** @class */ (function () {
|
|
|
162
172
|
}
|
|
163
173
|
this.attachInterceptor(axios);
|
|
164
174
|
}
|
|
165
|
-
BaseAPI.prototype.initialize = function (
|
|
166
|
-
|
|
167
|
-
|
|
175
|
+
BaseAPI.prototype.initialize = function () {
|
|
176
|
+
return __awaiter(this, arguments, void 0, function (env) {
|
|
177
|
+
if (env === void 0) { env = Environment.Production; }
|
|
168
178
|
return __generator(this, function (_a) {
|
|
169
179
|
switch (_a.label) {
|
|
170
180
|
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
|
|
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>;
|
|
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 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
37
|
+
return g.next = verb(0), g["throw"] = verb(1), g["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.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/tenant-sdk-node",
|
|
3
|
-
"version": "1.29.0",
|
|
3
|
+
"version": "1.29.1-beta.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": "^1.9.0",
|
|
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": "^22.15.18",
|
|
27
|
+
"typescript": "^5.8"
|
|
28
28
|
}
|
|
29
29
|
}
|