@emilgroup/tenant-sdk 1.0.0 → 1.0.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/.openapi-generator/FILES +57 -14
- package/README.md +2 -2
- package/api/alerts-api.ts +860 -0
- package/api/custom-schema-api.ts +60 -52
- package/api/dashboard-api.ts +792 -0
- package/api/data-report-api.ts +75 -65
- package/api/data-report-executor-api.ts +26 -10
- package/api/invite-users-api.ts +79 -75
- package/api/reports-api.ts +860 -0
- package/api/scenario-analysis-api.ts +977 -0
- package/api/settings-api.ts +484 -0
- package/api/tariff-comparisons-api.ts +381 -0
- package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
- package/api/users-api.ts +148 -138
- package/api.ts +14 -4
- package/dist/api/alerts-api.d.ts +479 -0
- package/dist/api/alerts-api.js +752 -0
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +38 -31
- package/dist/api/dashboard-api.d.ts +434 -0
- package/dist/api/dashboard-api.js +724 -0
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +49 -40
- package/dist/api/data-report-executor-api.d.ts +16 -7
- package/dist/api/data-report-executor-api.js +17 -9
- package/dist/api/invite-users-api.d.ts +60 -63
- package/dist/api/invite-users-api.js +49 -40
- package/dist/api/reports-api.d.ts +479 -0
- package/dist/api/reports-api.js +752 -0
- package/dist/api/scenario-analysis-api.d.ts +529 -0
- package/dist/api/scenario-analysis-api.js +895 -0
- package/dist/api/settings-api.d.ts +264 -0
- package/dist/api/settings-api.js +509 -0
- package/dist/api/tariff-comparisons-api.d.ts +206 -0
- package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
- package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
- package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
- package/dist/api/users-api.d.ts +109 -113
- package/dist/api/users-api.js +93 -76
- package/dist/api.d.ts +7 -2
- package/dist/api.js +7 -2
- package/dist/models/alert-class.d.ts +90 -0
- package/dist/models/alert-history-class.d.ts +108 -0
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/channel-response-class.d.ts +30 -0
- package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
- package/dist/models/compare-tariffs-request-dto.js +22 -0
- package/dist/models/compare-tariffs-response-class.d.ts +31 -0
- package/dist/models/condition-dto.d.ts +43 -0
- package/dist/models/condition-dto.js +22 -0
- package/dist/models/create-alert-request-dto.d.ts +79 -0
- package/dist/models/create-alert-request-dto.js +27 -0
- package/dist/models/create-alert-response-class.d.ts +25 -0
- package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -2
- package/dist/models/create-dashboard-request-dto.d.ts +70 -0
- package/dist/models/create-dashboard-request-dto.js +29 -0
- package/dist/models/create-dashboard-response-class.d.ts +25 -0
- package/dist/models/create-report-request-dto.d.ts +49 -0
- package/dist/models/create-report-request-dto.js +22 -0
- package/dist/models/create-report-response-class.d.ts +25 -0
- package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/create-scenario-analysis-request-dto.js +22 -0
- package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/dashboard-class.d.ts +78 -0
- package/dist/models/get-alert-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
- package/dist/models/get-report-response-class.d.ts +25 -0
- package/dist/models/get-report-response-class.js +15 -0
- package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/get-scenario-analysis-response-class.js +15 -0
- package/dist/models/grouped-tariff-class.d.ts +30 -0
- package/dist/models/grouped-tariff-class.js +15 -0
- package/dist/models/index.d.ts +50 -12
- package/dist/models/index.js +50 -12
- package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
- package/dist/models/insurance-company-response-class.js +15 -0
- package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
- package/dist/models/insurance-response-class.js +15 -0
- package/dist/models/invite-user-request-dto.d.ts +2 -8
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
- package/dist/models/list-alert-history-response-class.js +15 -0
- package/dist/models/list-alerts-response-class.d.ts +31 -0
- package/dist/models/list-alerts-response-class.js +15 -0
- package/dist/models/list-channels-response-class.d.ts +25 -0
- package/dist/models/list-channels-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +31 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-insurance-companies-response-class.js +15 -0
- package/dist/models/list-report-history-response-class.d.ts +31 -0
- package/dist/models/list-report-history-response-class.js +15 -0
- package/dist/models/list-reports-response-class.d.ts +31 -0
- package/dist/models/list-reports-response-class.js +15 -0
- package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
- package/dist/models/list-scenario-analyses-response-class.js +15 -0
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
- package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
- package/dist/models/list-tariffs-response-class.d.ts +25 -0
- package/dist/models/list-tariffs-response-class.js +15 -0
- package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
- package/dist/models/list-user-subscriptions-response-class.js +15 -0
- package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
- package/dist/models/manage-subscription-request-dto.js +15 -0
- package/dist/models/manage-subscription-response-class.d.ts +25 -0
- package/dist/models/manage-subscription-response-class.js +15 -0
- package/dist/models/report-class.d.ts +66 -0
- package/dist/models/report-class.js +15 -0
- package/dist/models/report-history-class.d.ts +48 -0
- package/dist/models/report-history-class.js +15 -0
- package/dist/models/scenario-analysis-class.d.ts +108 -0
- package/dist/models/scenario-analysis-class.js +15 -0
- package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
- package/dist/models/scenario-analysis-date-response-class.js +15 -0
- package/dist/models/set-setting-request-dto.d.ts +4 -10
- package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
- package/dist/models/set-tenant-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +2 -9
- package/dist/models/update-alert-request-dto.d.ts +72 -0
- package/dist/models/update-alert-request-dto.js +21 -0
- package/dist/models/update-alert-response-class.d.ts +25 -0
- package/dist/models/update-alert-response-class.js +15 -0
- package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -2
- package/dist/models/update-dashboard-request-dto.d.ts +76 -0
- package/dist/models/update-dashboard-request-dto.js +29 -0
- package/dist/models/update-dashboard-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-response-class.js +15 -0
- package/dist/models/update-report-request-dto.d.ts +55 -0
- package/dist/models/update-report-request-dto.js +22 -0
- package/dist/models/update-report-response-class.d.ts +25 -0
- package/dist/models/update-report-response-class.js +15 -0
- package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/update-scenario-analysis-request-dto.js +22 -0
- package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/update-scenario-analysis-response-class.js +15 -0
- package/dist/models/user-class.d.ts +5 -13
- package/models/alert-class.ts +96 -0
- package/models/alert-history-class.ts +114 -0
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/channel-response-class.ts +36 -0
- package/models/compare-tariffs-request-dto.ts +46 -0
- package/models/compare-tariffs-response-class.ts +37 -0
- package/models/condition-dto.ts +52 -0
- package/models/create-alert-request-dto.ts +89 -0
- package/models/create-alert-response-class.ts +31 -0
- package/models/create-custom-schema-request-dto.ts +1 -2
- package/models/create-dashboard-request-dto.ts +81 -0
- package/models/create-dashboard-response-class.ts +31 -0
- package/models/create-report-request-dto.ts +58 -0
- package/models/create-report-response-class.ts +31 -0
- package/models/create-scenario-analysis-request-dto.ts +83 -0
- package/models/create-scenario-analysis-response-class.ts +31 -0
- package/models/dashboard-class.ts +84 -0
- package/models/get-alert-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
- package/models/get-report-response-class.ts +31 -0
- package/models/get-scenario-analysis-response-class.ts +31 -0
- package/models/grouped-tariff-class.ts +36 -0
- package/models/index.ts +50 -12
- package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
- package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
- package/models/invite-user-request-dto.ts +2 -8
- package/models/invite-users-request-dto.ts +2 -2
- package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
- package/models/list-alerts-response-class.ts +37 -0
- package/models/list-channels-response-class.ts +31 -0
- package/models/list-dashboards-response-class.ts +37 -0
- package/models/list-insurance-companies-response-class.ts +31 -0
- package/models/list-report-history-response-class.ts +37 -0
- package/models/list-reports-response-class.ts +37 -0
- package/models/list-scenario-analyses-response-class.ts +37 -0
- package/models/list-scenario-analysis-dates-response-class.ts +31 -0
- package/models/list-tariff-insurance-companies-response-class.ts +31 -0
- package/models/list-tariffs-response-class.ts +31 -0
- package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
- package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
- package/models/manage-subscription-response-class.ts +31 -0
- package/models/report-class.ts +72 -0
- package/models/report-history-class.ts +54 -0
- package/models/scenario-analysis-class.ts +114 -0
- package/models/scenario-analysis-date-response-class.ts +42 -0
- package/models/set-setting-request-dto.ts +4 -10
- package/models/set-tenant-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +2 -9
- package/models/update-alert-request-dto.ts +81 -0
- package/models/update-alert-response-class.ts +31 -0
- package/models/update-custom-schema-request-dto.ts +1 -2
- package/models/update-dashboard-request-dto.ts +87 -0
- package/models/update-dashboard-response-class.ts +31 -0
- package/models/update-report-request-dto.ts +64 -0
- package/models/update-report-response-class.ts +31 -0
- package/models/update-scenario-analysis-request-dto.ts +83 -0
- package/models/update-scenario-analysis-response-class.ts +31 -0
- package/models/user-class.ts +5 -13
- package/package.json +1 -1
- package/api/organizations-api.ts +0 -339
- package/dist/api/invite-organizations-api.d.ts +0 -198
- package/dist/models/get-organization-response-class.d.ts +0 -25
- package/dist/models/invite-org-request-dto.d.ts +0 -78
- package/dist/models/invite-users-response-class.d.ts +0 -24
- package/dist/models/org-invitation-class.d.ts +0 -103
- package/dist/models/org-invitation-response-class.d.ts +0 -25
- package/dist/models/organization-class.d.ts +0 -84
- package/models/get-organization-response-class.ts +0 -31
- package/models/invite-org-request-dto.ts +0 -84
- package/models/invite-users-response-class.ts +0 -30
- package/models/org-invitation-class.ts +0 -109
- package/models/org-invitation-response-class.ts +0 -31
- package/models/organization-class.ts +0 -90
- /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
- /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
- /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
- /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
- /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
- /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
- /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
- /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
- /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
- /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
- /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
- /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
package/api/organizations-api.ts
DELETED
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL Tenant Service
|
|
5
|
-
* The EMIL TenantService API description
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
-
import { Configuration } from '../configuration';
|
|
18
|
-
// Some imports not used depending on template conditions
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { GetOrganizationResponseClass } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { ListOrganizationsResponseClass } from '../models';
|
|
27
|
-
// URLSearchParams not necessarily used
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
import { URL, URLSearchParams } from 'url';
|
|
30
|
-
const FormData = require('form-data');
|
|
31
|
-
/**
|
|
32
|
-
* OrganizationsApi - axios parameter creator
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
export const OrganizationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
-
return {
|
|
37
|
-
/**
|
|
38
|
-
* Get Organization by code
|
|
39
|
-
* @summary Retrieve the Organization
|
|
40
|
-
* @param {string} code
|
|
41
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
getOrganization: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
-
// verify required parameter 'code' is not null or undefined
|
|
47
|
-
assertParamExists('getOrganization', 'code', code)
|
|
48
|
-
const localVarPath = `/tenantservice/v1/organizations/{code}`
|
|
49
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
50
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
-
let baseOptions;
|
|
53
|
-
let baseAccessToken;
|
|
54
|
-
if (configuration) {
|
|
55
|
-
baseOptions = configuration.baseOptions;
|
|
56
|
-
baseAccessToken = configuration.accessToken;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60
|
-
const localVarHeaderParameter = {} as any;
|
|
61
|
-
const localVarQueryParameter = {} as any;
|
|
62
|
-
|
|
63
|
-
// authentication bearer required
|
|
64
|
-
// http bearer authentication required
|
|
65
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66
|
-
|
|
67
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
68
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
url: toPathString(localVarUrlObj),
|
|
79
|
-
options: localVarRequestOptions,
|
|
80
|
-
};
|
|
81
|
-
},
|
|
82
|
-
/**
|
|
83
|
-
* This will fetch list of organizations
|
|
84
|
-
* @summary List organizations
|
|
85
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
87
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
88
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
89
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
90
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
91
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
92
|
-
* @param {*} [options] Override http request option.
|
|
93
|
-
* @throws {RequiredError}
|
|
94
|
-
*/
|
|
95
|
-
listOrganizations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
-
const localVarPath = `/tenantservice/v1/organizations`;
|
|
97
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
98
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
99
|
-
let baseOptions;
|
|
100
|
-
let baseAccessToken;
|
|
101
|
-
if (configuration) {
|
|
102
|
-
baseOptions = configuration.baseOptions;
|
|
103
|
-
baseAccessToken = configuration.accessToken;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
107
|
-
const localVarHeaderParameter = {} as any;
|
|
108
|
-
const localVarQueryParameter = {} as any;
|
|
109
|
-
|
|
110
|
-
// authentication bearer required
|
|
111
|
-
// http bearer authentication required
|
|
112
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
113
|
-
|
|
114
|
-
if (pageSize !== undefined) {
|
|
115
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
if (pageToken !== undefined) {
|
|
119
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
if (filter !== undefined) {
|
|
123
|
-
localVarQueryParameter['filter'] = filter;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
if (search !== undefined) {
|
|
127
|
-
localVarQueryParameter['search'] = search;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (order !== undefined) {
|
|
131
|
-
localVarQueryParameter['order'] = order;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
if (expand !== undefined) {
|
|
135
|
-
localVarQueryParameter['expand'] = expand;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
139
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
145
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
147
|
-
|
|
148
|
-
return {
|
|
149
|
-
url: toPathString(localVarUrlObj),
|
|
150
|
-
options: localVarRequestOptions,
|
|
151
|
-
};
|
|
152
|
-
},
|
|
153
|
-
}
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* OrganizationsApi - functional programming interface
|
|
158
|
-
* @export
|
|
159
|
-
*/
|
|
160
|
-
export const OrganizationsApiFp = function(configuration?: Configuration) {
|
|
161
|
-
const localVarAxiosParamCreator = OrganizationsApiAxiosParamCreator(configuration)
|
|
162
|
-
return {
|
|
163
|
-
/**
|
|
164
|
-
* Get Organization by code
|
|
165
|
-
* @summary Retrieve the Organization
|
|
166
|
-
* @param {string} code
|
|
167
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
168
|
-
* @param {*} [options] Override http request option.
|
|
169
|
-
* @throws {RequiredError}
|
|
170
|
-
*/
|
|
171
|
-
async getOrganization(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationResponseClass>> {
|
|
172
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(code, authorization, options);
|
|
173
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
174
|
-
},
|
|
175
|
-
/**
|
|
176
|
-
* This will fetch list of organizations
|
|
177
|
-
* @summary List organizations
|
|
178
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
179
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
180
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
181
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
182
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
183
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
184
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
185
|
-
* @param {*} [options] Override http request option.
|
|
186
|
-
* @throws {RequiredError}
|
|
187
|
-
*/
|
|
188
|
-
async listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationsResponseClass>> {
|
|
189
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
190
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
191
|
-
},
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* OrganizationsApi - factory interface
|
|
197
|
-
* @export
|
|
198
|
-
*/
|
|
199
|
-
export const OrganizationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
200
|
-
const localVarFp = OrganizationsApiFp(configuration)
|
|
201
|
-
return {
|
|
202
|
-
/**
|
|
203
|
-
* Get Organization by code
|
|
204
|
-
* @summary Retrieve the Organization
|
|
205
|
-
* @param {string} code
|
|
206
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
207
|
-
* @param {*} [options] Override http request option.
|
|
208
|
-
* @throws {RequiredError}
|
|
209
|
-
*/
|
|
210
|
-
getOrganization(code: string, authorization?: string, options?: any): AxiosPromise<GetOrganizationResponseClass> {
|
|
211
|
-
return localVarFp.getOrganization(code, authorization, options).then((request) => request(axios, basePath));
|
|
212
|
-
},
|
|
213
|
-
/**
|
|
214
|
-
* This will fetch list of organizations
|
|
215
|
-
* @summary List organizations
|
|
216
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
217
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
218
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
219
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
220
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
221
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
222
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
223
|
-
* @param {*} [options] Override http request option.
|
|
224
|
-
* @throws {RequiredError}
|
|
225
|
-
*/
|
|
226
|
-
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass> {
|
|
227
|
-
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
228
|
-
},
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Request parameters for getOrganization operation in OrganizationsApi.
|
|
234
|
-
* @export
|
|
235
|
-
* @interface OrganizationsApiGetOrganizationRequest
|
|
236
|
-
*/
|
|
237
|
-
export interface OrganizationsApiGetOrganizationRequest {
|
|
238
|
-
/**
|
|
239
|
-
*
|
|
240
|
-
* @type {string}
|
|
241
|
-
* @memberof OrganizationsApiGetOrganization
|
|
242
|
-
*/
|
|
243
|
-
readonly code: string
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
-
* @type {string}
|
|
248
|
-
* @memberof OrganizationsApiGetOrganization
|
|
249
|
-
*/
|
|
250
|
-
readonly authorization?: string
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Request parameters for listOrganizations operation in OrganizationsApi.
|
|
255
|
-
* @export
|
|
256
|
-
* @interface OrganizationsApiListOrganizationsRequest
|
|
257
|
-
*/
|
|
258
|
-
export interface OrganizationsApiListOrganizationsRequest {
|
|
259
|
-
/**
|
|
260
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
261
|
-
* @type {string}
|
|
262
|
-
* @memberof OrganizationsApiListOrganizations
|
|
263
|
-
*/
|
|
264
|
-
readonly authorization?: string
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
268
|
-
* @type {any}
|
|
269
|
-
* @memberof OrganizationsApiListOrganizations
|
|
270
|
-
*/
|
|
271
|
-
readonly pageSize?: any
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
275
|
-
* @type {any}
|
|
276
|
-
* @memberof OrganizationsApiListOrganizations
|
|
277
|
-
*/
|
|
278
|
-
readonly pageToken?: any
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
282
|
-
* @type {any}
|
|
283
|
-
* @memberof OrganizationsApiListOrganizations
|
|
284
|
-
*/
|
|
285
|
-
readonly filter?: any
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
289
|
-
* @type {any}
|
|
290
|
-
* @memberof OrganizationsApiListOrganizations
|
|
291
|
-
*/
|
|
292
|
-
readonly search?: any
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
296
|
-
* @type {any}
|
|
297
|
-
* @memberof OrganizationsApiListOrganizations
|
|
298
|
-
*/
|
|
299
|
-
readonly order?: any
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
303
|
-
* @type {any}
|
|
304
|
-
* @memberof OrganizationsApiListOrganizations
|
|
305
|
-
*/
|
|
306
|
-
readonly expand?: any
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* OrganizationsApi - object-oriented interface
|
|
311
|
-
* @export
|
|
312
|
-
* @class OrganizationsApi
|
|
313
|
-
* @extends {BaseAPI}
|
|
314
|
-
*/
|
|
315
|
-
export class OrganizationsApi extends BaseAPI {
|
|
316
|
-
/**
|
|
317
|
-
* Get Organization by code
|
|
318
|
-
* @summary Retrieve the Organization
|
|
319
|
-
* @param {OrganizationsApiGetOrganizationRequest} requestParameters Request parameters.
|
|
320
|
-
* @param {*} [options] Override http request option.
|
|
321
|
-
* @throws {RequiredError}
|
|
322
|
-
* @memberof OrganizationsApi
|
|
323
|
-
*/
|
|
324
|
-
public getOrganization(requestParameters: OrganizationsApiGetOrganizationRequest, options?: AxiosRequestConfig) {
|
|
325
|
-
return OrganizationsApiFp(this.configuration).getOrganization(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* This will fetch list of organizations
|
|
330
|
-
* @summary List organizations
|
|
331
|
-
* @param {OrganizationsApiListOrganizationsRequest} requestParameters Request parameters.
|
|
332
|
-
* @param {*} [options] Override http request option.
|
|
333
|
-
* @throws {RequiredError}
|
|
334
|
-
* @memberof OrganizationsApi
|
|
335
|
-
*/
|
|
336
|
-
public listOrganizations(requestParameters: OrganizationsApiListOrganizationsRequest = {}, options?: AxiosRequestConfig) {
|
|
337
|
-
return OrganizationsApiFp(this.configuration).listOrganizations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
338
|
-
}
|
|
339
|
-
}
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Tenant Service
|
|
3
|
-
* The EMIL TenantService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { InviteOrgRequestDto } from '../models';
|
|
16
|
-
import { ListOrgInvitationsResponseClass } from '../models';
|
|
17
|
-
import { OrgInvitationResponseClass } from '../models';
|
|
18
|
-
/**
|
|
19
|
-
* InviteOrganizationsApi - axios parameter creator
|
|
20
|
-
* @export
|
|
21
|
-
*/
|
|
22
|
-
export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
-
/**
|
|
24
|
-
* This sends an email to invite an organization.
|
|
25
|
-
* @summary Invite an organization
|
|
26
|
-
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
27
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
28
|
-
* @param {*} [options] Override http request option.
|
|
29
|
-
* @throws {RequiredError}
|
|
30
|
-
*/
|
|
31
|
-
inviteOrg: (inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
/**
|
|
33
|
-
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
34
|
-
* @summary List org invitations
|
|
35
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
37
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
38
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
39
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
40
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
41
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
listOrgInvitations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* InviteOrganizationsApi - functional programming interface
|
|
49
|
-
* @export
|
|
50
|
-
*/
|
|
51
|
-
export declare const InviteOrganizationsApiFp: (configuration?: Configuration) => {
|
|
52
|
-
/**
|
|
53
|
-
* This sends an email to invite an organization.
|
|
54
|
-
* @summary Invite an organization
|
|
55
|
-
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
56
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
-
* @param {*} [options] Override http request option.
|
|
58
|
-
* @throws {RequiredError}
|
|
59
|
-
*/
|
|
60
|
-
inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>>;
|
|
61
|
-
/**
|
|
62
|
-
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
63
|
-
* @summary List org invitations
|
|
64
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
65
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
66
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
67
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
68
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
69
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
70
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
71
|
-
* @param {*} [options] Override http request option.
|
|
72
|
-
* @throws {RequiredError}
|
|
73
|
-
*/
|
|
74
|
-
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>>;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* InviteOrganizationsApi - factory interface
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
|
-
export declare const InviteOrganizationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
81
|
-
/**
|
|
82
|
-
* This sends an email to invite an organization.
|
|
83
|
-
* @summary Invite an organization
|
|
84
|
-
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
85
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
|
-
* @param {*} [options] Override http request option.
|
|
87
|
-
* @throws {RequiredError}
|
|
88
|
-
*/
|
|
89
|
-
inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: any): AxiosPromise<OrgInvitationResponseClass>;
|
|
90
|
-
/**
|
|
91
|
-
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
92
|
-
* @summary List org invitations
|
|
93
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
95
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
96
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
97
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
98
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
99
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
100
|
-
* @param {*} [options] Override http request option.
|
|
101
|
-
* @throws {RequiredError}
|
|
102
|
-
*/
|
|
103
|
-
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass>;
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
107
|
-
* @export
|
|
108
|
-
* @interface InviteOrganizationsApiInviteOrgRequest
|
|
109
|
-
*/
|
|
110
|
-
export interface InviteOrganizationsApiInviteOrgRequest {
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @type {InviteOrgRequestDto}
|
|
114
|
-
* @memberof InviteOrganizationsApiInviteOrg
|
|
115
|
-
*/
|
|
116
|
-
readonly inviteOrgRequestDto: InviteOrgRequestDto;
|
|
117
|
-
/**
|
|
118
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
119
|
-
* @type {string}
|
|
120
|
-
* @memberof InviteOrganizationsApiInviteOrg
|
|
121
|
-
*/
|
|
122
|
-
readonly authorization?: string;
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Request parameters for listOrgInvitations operation in InviteOrganizationsApi.
|
|
126
|
-
* @export
|
|
127
|
-
* @interface InviteOrganizationsApiListOrgInvitationsRequest
|
|
128
|
-
*/
|
|
129
|
-
export interface InviteOrganizationsApiListOrgInvitationsRequest {
|
|
130
|
-
/**
|
|
131
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
132
|
-
* @type {string}
|
|
133
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
134
|
-
*/
|
|
135
|
-
readonly authorization?: string;
|
|
136
|
-
/**
|
|
137
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
138
|
-
* @type {any}
|
|
139
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
140
|
-
*/
|
|
141
|
-
readonly pageSize?: any;
|
|
142
|
-
/**
|
|
143
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
144
|
-
* @type {any}
|
|
145
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
146
|
-
*/
|
|
147
|
-
readonly pageToken?: any;
|
|
148
|
-
/**
|
|
149
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
150
|
-
* @type {any}
|
|
151
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
152
|
-
*/
|
|
153
|
-
readonly filter?: any;
|
|
154
|
-
/**
|
|
155
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
156
|
-
* @type {any}
|
|
157
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
158
|
-
*/
|
|
159
|
-
readonly search?: any;
|
|
160
|
-
/**
|
|
161
|
-
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
162
|
-
* @type {any}
|
|
163
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
164
|
-
*/
|
|
165
|
-
readonly order?: any;
|
|
166
|
-
/**
|
|
167
|
-
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
168
|
-
* @type {any}
|
|
169
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
170
|
-
*/
|
|
171
|
-
readonly expand?: any;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* InviteOrganizationsApi - object-oriented interface
|
|
175
|
-
* @export
|
|
176
|
-
* @class InviteOrganizationsApi
|
|
177
|
-
* @extends {BaseAPI}
|
|
178
|
-
*/
|
|
179
|
-
export declare class InviteOrganizationsApi extends BaseAPI {
|
|
180
|
-
/**
|
|
181
|
-
* This sends an email to invite an organization.
|
|
182
|
-
* @summary Invite an organization
|
|
183
|
-
* @param {InviteOrganizationsApiInviteOrgRequest} requestParameters Request parameters.
|
|
184
|
-
* @param {*} [options] Override http request option.
|
|
185
|
-
* @throws {RequiredError}
|
|
186
|
-
* @memberof InviteOrganizationsApi
|
|
187
|
-
*/
|
|
188
|
-
inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any>>;
|
|
189
|
-
/**
|
|
190
|
-
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
191
|
-
* @summary List org invitations
|
|
192
|
-
* @param {InviteOrganizationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
193
|
-
* @param {*} [options] Override http request option.
|
|
194
|
-
* @throws {RequiredError}
|
|
195
|
-
* @memberof InviteOrganizationsApi
|
|
196
|
-
*/
|
|
197
|
-
listOrgInvitations(requestParameters?: InviteOrganizationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrgInvitationsResponseClass, any>>;
|
|
198
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Tenant Service
|
|
3
|
-
* The EMIL TenantService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { OrganizationClass } from './organization-class';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrganizationResponseClass
|
|
17
|
-
*/
|
|
18
|
-
export interface GetOrganizationResponseClass {
|
|
19
|
-
/**
|
|
20
|
-
* Organization
|
|
21
|
-
* @type {OrganizationClass}
|
|
22
|
-
* @memberof GetOrganizationResponseClass
|
|
23
|
-
*/
|
|
24
|
-
'organization': OrganizationClass;
|
|
25
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Tenant Service
|
|
3
|
-
* The EMIL TenantService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface InviteOrgRequestDto
|
|
16
|
-
*/
|
|
17
|
-
export interface InviteOrgRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Organization\'s contact person email address.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof InviteOrgRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'email': string;
|
|
24
|
-
/**
|
|
25
|
-
* Role ids to be assigned.
|
|
26
|
-
* @type {Array<number>}
|
|
27
|
-
* @memberof InviteOrgRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'roleIds': Array<number>;
|
|
30
|
-
/**
|
|
31
|
-
* Name of the invited organization.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof InviteOrgRequestDto
|
|
34
|
-
*/
|
|
35
|
-
'name': string;
|
|
36
|
-
/**
|
|
37
|
-
* Identifier for the organization.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof InviteOrgRequestDto
|
|
40
|
-
*/
|
|
41
|
-
'slug': string;
|
|
42
|
-
/**
|
|
43
|
-
* Inviting organization.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof InviteOrgRequestDto
|
|
46
|
-
*/
|
|
47
|
-
'parentOrganizationId': number;
|
|
48
|
-
/**
|
|
49
|
-
* Address of the organization.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof InviteOrgRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'address': string;
|
|
54
|
-
/**
|
|
55
|
-
* Zip code of the organization.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof InviteOrgRequestDto
|
|
58
|
-
*/
|
|
59
|
-
'zipCode': string;
|
|
60
|
-
/**
|
|
61
|
-
* City of the organization.
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof InviteOrgRequestDto
|
|
64
|
-
*/
|
|
65
|
-
'city': string;
|
|
66
|
-
/**
|
|
67
|
-
* Country of the organization.
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof InviteOrgRequestDto
|
|
70
|
-
*/
|
|
71
|
-
'country': string;
|
|
72
|
-
/**
|
|
73
|
-
* Custom fields of the organization
|
|
74
|
-
* @type {object}
|
|
75
|
-
* @memberof InviteOrgRequestDto
|
|
76
|
-
*/
|
|
77
|
-
'customFields': object;
|
|
78
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Tenant Service
|
|
3
|
-
* The EMIL TenantService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface InviteUsersResponseClass
|
|
16
|
-
*/
|
|
17
|
-
export interface InviteUsersResponseClass {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {object}
|
|
21
|
-
* @memberof InviteUsersResponseClass
|
|
22
|
-
*/
|
|
23
|
-
'response': object;
|
|
24
|
-
}
|