@emilgroup/tenant-sdk 1.2.2 → 1.3.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/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/invite-organizations-api.ts +0 -174
- package/api/list-organization-invitations-api.ts +236 -0
- package/api/re-invite-an-organization-api.ts +165 -0
- package/api.ts +4 -0
- package/dist/api/invite-organizations-api.d.ts +0 -101
- package/dist/api/invite-organizations-api.js +0 -123
- package/dist/api/list-organization-invitations-api.d.ts +141 -0
- package/dist/api/list-organization-invitations-api.js +258 -0
- package/dist/api/re-invite-an-organization-api.d.ts +93 -0
- package/dist/api/re-invite-an-organization-api.js +224 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/organization-class.d.ts +1 -1
- package/dist/models/re-invite-org-request-dto.d.ts +24 -0
- package/dist/models/re-invite-org-request-dto.js +15 -0
- package/models/index.ts +1 -0
- package/models/organization-class.ts +1 -1
- package/models/re-invite-org-request-dto.ts +30 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -27,13 +27,17 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
27
27
|
import { CustomSchemaApi } from './api';
|
|
28
28
|
import { InviteOrganizationsApi } from './api';
|
|
29
29
|
import { InviteUsersApi } from './api';
|
|
30
|
+
import { ListOrganizationInvitationsApi } from './api';
|
|
30
31
|
import { OrganizationsApi } from './api';
|
|
32
|
+
import { ReInviteAnOrganizationApi } from './api';
|
|
31
33
|
import { UsersApi } from './api';
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
export * from './api/custom-schema-api';
|
|
35
37
|
export * from './api/invite-organizations-api';
|
|
36
38
|
export * from './api/invite-users-api';
|
|
39
|
+
export * from './api/list-organization-invitations-api';
|
|
37
40
|
export * from './api/organizations-api';
|
|
41
|
+
export * from './api/re-invite-an-organization-api';
|
|
38
42
|
export * from './api/users-api';
|
|
39
43
|
|
|
@@ -13,7 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InviteOrgRequestDto } from '../models';
|
|
16
|
-
import { ListOrgInvitationsResponseClass } from '../models';
|
|
17
16
|
import { OrgInvitationResponseClass } from '../models';
|
|
18
17
|
/**
|
|
19
18
|
* InviteOrganizationsApi - axios parameter creator
|
|
@@ -29,20 +28,6 @@ export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: C
|
|
|
29
28
|
* @throws {RequiredError}
|
|
30
29
|
*/
|
|
31
30
|
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
31
|
};
|
|
47
32
|
/**
|
|
48
33
|
* InviteOrganizationsApi - functional programming interface
|
|
@@ -58,20 +43,6 @@ export declare const InviteOrganizationsApiFp: (configuration?: Configuration) =
|
|
|
58
43
|
* @throws {RequiredError}
|
|
59
44
|
*/
|
|
60
45
|
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
46
|
};
|
|
76
47
|
/**
|
|
77
48
|
* InviteOrganizationsApi - factory interface
|
|
@@ -87,20 +58,6 @@ export declare const InviteOrganizationsApiFactory: (configuration?: Configurati
|
|
|
87
58
|
* @throws {RequiredError}
|
|
88
59
|
*/
|
|
89
60
|
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
61
|
};
|
|
105
62
|
/**
|
|
106
63
|
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
@@ -121,55 +78,6 @@ export interface InviteOrganizationsApiInviteOrgRequest {
|
|
|
121
78
|
*/
|
|
122
79
|
readonly authorization?: string;
|
|
123
80
|
}
|
|
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
81
|
/**
|
|
174
82
|
* InviteOrganizationsApi - object-oriented interface
|
|
175
83
|
* @export
|
|
@@ -186,13 +94,4 @@ export declare class InviteOrganizationsApi extends BaseAPI {
|
|
|
186
94
|
* @memberof InviteOrganizationsApi
|
|
187
95
|
*/
|
|
188
96
|
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
97
|
}
|
|
@@ -145,74 +145,6 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
-
/**
|
|
149
|
-
* 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.
|
|
150
|
-
* @summary List org invitations
|
|
151
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
153
|
-
* @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.
|
|
154
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
155
|
-
* @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.
|
|
156
|
-
* @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.
|
|
157
|
-
* @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.
|
|
158
|
-
* @param {*} [options] Override http request option.
|
|
159
|
-
* @throws {RequiredError}
|
|
160
|
-
*/
|
|
161
|
-
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
162
|
-
if (options === void 0) { options = {}; }
|
|
163
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
164
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
165
|
-
return __generator(this, function (_a) {
|
|
166
|
-
switch (_a.label) {
|
|
167
|
-
case 0:
|
|
168
|
-
localVarPath = "/tenantservice/v1/invitations/organizations";
|
|
169
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
170
|
-
if (configuration) {
|
|
171
|
-
baseOptions = configuration.baseOptions;
|
|
172
|
-
baseAccessToken = configuration.accessToken;
|
|
173
|
-
}
|
|
174
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
175
|
-
localVarHeaderParameter = {};
|
|
176
|
-
localVarQueryParameter = {};
|
|
177
|
-
// authentication bearer required
|
|
178
|
-
// http bearer authentication required
|
|
179
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
180
|
-
case 1:
|
|
181
|
-
// authentication bearer required
|
|
182
|
-
// http bearer authentication required
|
|
183
|
-
_a.sent();
|
|
184
|
-
if (pageSize !== undefined) {
|
|
185
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
186
|
-
}
|
|
187
|
-
if (pageToken !== undefined) {
|
|
188
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
189
|
-
}
|
|
190
|
-
if (filter !== undefined) {
|
|
191
|
-
localVarQueryParameter['filter'] = filter;
|
|
192
|
-
}
|
|
193
|
-
if (search !== undefined) {
|
|
194
|
-
localVarQueryParameter['search'] = search;
|
|
195
|
-
}
|
|
196
|
-
if (order !== undefined) {
|
|
197
|
-
localVarQueryParameter['order'] = order;
|
|
198
|
-
}
|
|
199
|
-
if (expand !== undefined) {
|
|
200
|
-
localVarQueryParameter['expand'] = expand;
|
|
201
|
-
}
|
|
202
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
203
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
204
|
-
}
|
|
205
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
206
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
207
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
208
|
-
return [2 /*return*/, {
|
|
209
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
210
|
-
options: localVarRequestOptions,
|
|
211
|
-
}];
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
});
|
|
215
|
-
},
|
|
216
148
|
};
|
|
217
149
|
};
|
|
218
150
|
exports.InviteOrganizationsApiAxiosParamCreator = InviteOrganizationsApiAxiosParamCreator;
|
|
@@ -244,32 +176,6 @@ var InviteOrganizationsApiFp = function (configuration) {
|
|
|
244
176
|
});
|
|
245
177
|
});
|
|
246
178
|
},
|
|
247
|
-
/**
|
|
248
|
-
* 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.
|
|
249
|
-
* @summary List org invitations
|
|
250
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
251
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
252
|
-
* @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.
|
|
253
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
254
|
-
* @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.
|
|
255
|
-
* @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.
|
|
256
|
-
* @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.
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @throws {RequiredError}
|
|
259
|
-
*/
|
|
260
|
-
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
261
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
262
|
-
var localVarAxiosArgs;
|
|
263
|
-
return __generator(this, function (_a) {
|
|
264
|
-
switch (_a.label) {
|
|
265
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
266
|
-
case 1:
|
|
267
|
-
localVarAxiosArgs = _a.sent();
|
|
268
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
});
|
|
272
|
-
},
|
|
273
179
|
};
|
|
274
180
|
};
|
|
275
181
|
exports.InviteOrganizationsApiFp = InviteOrganizationsApiFp;
|
|
@@ -291,22 +197,6 @@ var InviteOrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
291
197
|
inviteOrg: function (inviteOrgRequestDto, authorization, options) {
|
|
292
198
|
return localVarFp.inviteOrg(inviteOrgRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
293
199
|
},
|
|
294
|
-
/**
|
|
295
|
-
* 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.
|
|
296
|
-
* @summary List org invitations
|
|
297
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
298
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
299
|
-
* @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.
|
|
300
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
301
|
-
* @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.
|
|
302
|
-
* @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.
|
|
303
|
-
* @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.
|
|
304
|
-
* @param {*} [options] Override http request option.
|
|
305
|
-
* @throws {RequiredError}
|
|
306
|
-
*/
|
|
307
|
-
listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
308
|
-
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
309
|
-
},
|
|
310
200
|
};
|
|
311
201
|
};
|
|
312
202
|
exports.InviteOrganizationsApiFactory = InviteOrganizationsApiFactory;
|
|
@@ -333,19 +223,6 @@ var InviteOrganizationsApi = /** @class */ (function (_super) {
|
|
|
333
223
|
var _this = this;
|
|
334
224
|
return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
335
225
|
};
|
|
336
|
-
/**
|
|
337
|
-
* 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.
|
|
338
|
-
* @summary List org invitations
|
|
339
|
-
* @param {InviteOrganizationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
340
|
-
* @param {*} [options] Override http request option.
|
|
341
|
-
* @throws {RequiredError}
|
|
342
|
-
* @memberof InviteOrganizationsApi
|
|
343
|
-
*/
|
|
344
|
-
InviteOrganizationsApi.prototype.listOrgInvitations = function (requestParameters, options) {
|
|
345
|
-
var _this = this;
|
|
346
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
347
|
-
return (0, exports.InviteOrganizationsApiFp)(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
348
|
-
};
|
|
349
226
|
return InviteOrganizationsApi;
|
|
350
227
|
}(base_1.BaseAPI));
|
|
351
228
|
exports.InviteOrganizationsApi = InviteOrganizationsApi;
|
|
@@ -0,0 +1,141 @@
|
|
|
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 { ListOrgInvitationsResponseClass } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* ListOrganizationInvitationsApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const ListOrganizationInvitationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
23
|
+
* @summary List organization invitations
|
|
24
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
25
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
26
|
+
* @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.
|
|
27
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
28
|
+
* @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.
|
|
29
|
+
* @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.
|
|
30
|
+
* @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.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
listOrgInvitations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* ListOrganizationInvitationsApi - functional programming interface
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ListOrganizationInvitationsApiFp: (configuration?: Configuration) => {
|
|
41
|
+
/**
|
|
42
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
43
|
+
* @summary List organization invitations
|
|
44
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
45
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
46
|
+
* @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.
|
|
47
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
48
|
+
* @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.
|
|
49
|
+
* @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.
|
|
50
|
+
* @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.
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>>;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* ListOrganizationInvitationsApi - factory interface
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const ListOrganizationInvitationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
61
|
+
/**
|
|
62
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
63
|
+
* @summary List organization 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?: any): AxiosPromise<ListOrgInvitationsResponseClass>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Request parameters for listOrgInvitations operation in ListOrganizationInvitationsApi.
|
|
78
|
+
* @export
|
|
79
|
+
* @interface ListOrganizationInvitationsApiListOrgInvitationsRequest
|
|
80
|
+
*/
|
|
81
|
+
export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
82
|
+
/**
|
|
83
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
86
|
+
*/
|
|
87
|
+
readonly authorization?: string;
|
|
88
|
+
/**
|
|
89
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
90
|
+
* @type {any}
|
|
91
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
92
|
+
*/
|
|
93
|
+
readonly pageSize?: any;
|
|
94
|
+
/**
|
|
95
|
+
* 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
|
+
* @type {any}
|
|
97
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
98
|
+
*/
|
|
99
|
+
readonly pageToken?: any;
|
|
100
|
+
/**
|
|
101
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
102
|
+
* @type {any}
|
|
103
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
104
|
+
*/
|
|
105
|
+
readonly filter?: any;
|
|
106
|
+
/**
|
|
107
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
108
|
+
* @type {any}
|
|
109
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
110
|
+
*/
|
|
111
|
+
readonly search?: any;
|
|
112
|
+
/**
|
|
113
|
+
* 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.
|
|
114
|
+
* @type {any}
|
|
115
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
116
|
+
*/
|
|
117
|
+
readonly order?: any;
|
|
118
|
+
/**
|
|
119
|
+
* 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.
|
|
120
|
+
* @type {any}
|
|
121
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
122
|
+
*/
|
|
123
|
+
readonly expand?: any;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* ListOrganizationInvitationsApi - object-oriented interface
|
|
127
|
+
* @export
|
|
128
|
+
* @class ListOrganizationInvitationsApi
|
|
129
|
+
* @extends {BaseAPI}
|
|
130
|
+
*/
|
|
131
|
+
export declare class ListOrganizationInvitationsApi extends BaseAPI {
|
|
132
|
+
/**
|
|
133
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
134
|
+
* @summary List organization invitations
|
|
135
|
+
* @param {ListOrganizationInvitationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
* @memberof ListOrganizationInvitationsApi
|
|
139
|
+
*/
|
|
140
|
+
listOrgInvitations(requestParameters?: ListOrganizationInvitationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrgInvitationsResponseClass, any>>;
|
|
141
|
+
}
|