@emilgroup/tenant-sdk 1.2.2 → 1.4.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.
@@ -0,0 +1,236 @@
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 { ListRolesResponseClass } from '../models';
25
+ // URLSearchParams not necessarily used
26
+ // @ts-ignore
27
+ import { URL, URLSearchParams } from 'url';
28
+ const FormData = require('form-data');
29
+ /**
30
+ * RolesApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const RolesApiAxiosParamCreator = function (configuration?: Configuration) {
34
+ return {
35
+ /**
36
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
37
+ * @summary List roles
38
+ * @param {string} [authorization] Bearer Token
39
+ * @param {number} [pageSize] Page size
40
+ * @param {string} [pageToken] Page token
41
+ * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
42
+ * @param {string} [search] Search query
43
+ * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
44
+ * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ listRoles: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ const localVarPath = `/tenantservice/v1/roles`;
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 (pageSize !== undefined) {
68
+ localVarQueryParameter['pageSize'] = pageSize;
69
+ }
70
+
71
+ if (pageToken !== undefined) {
72
+ localVarQueryParameter['pageToken'] = pageToken;
73
+ }
74
+
75
+ if (filter !== undefined) {
76
+ localVarQueryParameter['filter'] = filter;
77
+ }
78
+
79
+ if (search !== undefined) {
80
+ localVarQueryParameter['search'] = search;
81
+ }
82
+
83
+ if (order !== undefined) {
84
+ localVarQueryParameter['order'] = order;
85
+ }
86
+
87
+ if (expand !== undefined) {
88
+ localVarQueryParameter['expand'] = expand;
89
+ }
90
+
91
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
92
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
93
+ }
94
+
95
+
96
+
97
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
98
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
100
+
101
+ return {
102
+ url: toPathString(localVarUrlObj),
103
+ options: localVarRequestOptions,
104
+ };
105
+ },
106
+ }
107
+ };
108
+
109
+ /**
110
+ * RolesApi - functional programming interface
111
+ * @export
112
+ */
113
+ export const RolesApiFp = function(configuration?: Configuration) {
114
+ const localVarAxiosParamCreator = RolesApiAxiosParamCreator(configuration)
115
+ return {
116
+ /**
117
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
118
+ * @summary List roles
119
+ * @param {string} [authorization] Bearer Token
120
+ * @param {number} [pageSize] Page size
121
+ * @param {string} [pageToken] Page token
122
+ * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
123
+ * @param {string} [search] Search query
124
+ * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
125
+ * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ async listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>> {
130
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRoles(authorization, pageSize, pageToken, filter, search, order, expand, options);
131
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
132
+ },
133
+ }
134
+ };
135
+
136
+ /**
137
+ * RolesApi - factory interface
138
+ * @export
139
+ */
140
+ export const RolesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
141
+ const localVarFp = RolesApiFp(configuration)
142
+ return {
143
+ /**
144
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
145
+ * @summary List roles
146
+ * @param {string} [authorization] Bearer Token
147
+ * @param {number} [pageSize] Page size
148
+ * @param {string} [pageToken] Page token
149
+ * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
150
+ * @param {string} [search] Search query
151
+ * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
152
+ * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options?: any): AxiosPromise<ListRolesResponseClass> {
157
+ return localVarFp.listRoles(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
158
+ },
159
+ };
160
+ };
161
+
162
+ /**
163
+ * Request parameters for listRoles operation in RolesApi.
164
+ * @export
165
+ * @interface RolesApiListRolesRequest
166
+ */
167
+ export interface RolesApiListRolesRequest {
168
+ /**
169
+ * Bearer Token
170
+ * @type {string}
171
+ * @memberof RolesApiListRoles
172
+ */
173
+ readonly authorization?: string
174
+
175
+ /**
176
+ * Page size
177
+ * @type {number}
178
+ * @memberof RolesApiListRoles
179
+ */
180
+ readonly pageSize?: number
181
+
182
+ /**
183
+ * Page token
184
+ * @type {string}
185
+ * @memberof RolesApiListRoles
186
+ */
187
+ readonly pageToken?: string
188
+
189
+ /**
190
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
191
+ * @type {'id' | 'code' | 'label'}
192
+ * @memberof RolesApiListRoles
193
+ */
194
+ readonly filter?: 'id' | 'code' | 'label'
195
+
196
+ /**
197
+ * Search query
198
+ * @type {string}
199
+ * @memberof RolesApiListRoles
200
+ */
201
+ readonly search?: string
202
+
203
+ /**
204
+ * Order allowing you to specify the desired order of entities retrieved from the server.
205
+ * @type {'label'}
206
+ * @memberof RolesApiListRoles
207
+ */
208
+ readonly order?: 'label'
209
+
210
+ /**
211
+ * You can expand roles in this endpoint. By default, permissions will be an empty array.
212
+ * @type {'permissions'}
213
+ * @memberof RolesApiListRoles
214
+ */
215
+ readonly expand?: 'permissions'
216
+ }
217
+
218
+ /**
219
+ * RolesApi - object-oriented interface
220
+ * @export
221
+ * @class RolesApi
222
+ * @extends {BaseAPI}
223
+ */
224
+ export class RolesApi extends BaseAPI {
225
+ /**
226
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
227
+ * @summary List roles
228
+ * @param {RolesApiListRolesRequest} requestParameters Request parameters.
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ * @memberof RolesApi
232
+ */
233
+ public listRoles(requestParameters: RolesApiListRolesRequest = {}, options?: AxiosRequestConfig) {
234
+ return RolesApiFp(this.configuration).listRoles(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
235
+ }
236
+ }
@@ -0,0 +1,168 @@
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 { GetSettingsResponseClass } from '../models';
25
+ // URLSearchParams not necessarily used
26
+ // @ts-ignore
27
+ import { URL, URLSearchParams } from 'url';
28
+ const FormData = require('form-data');
29
+ /**
30
+ * SettingsApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const SettingsApiAxiosParamCreator = function (configuration?: Configuration) {
34
+ return {
35
+ /**
36
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
37
+ * @summary Retrieve the settings
38
+ * @param {string} keys
39
+ * @param {string} [authorization] Bearer Token
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ getTenantSettings: async (keys: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44
+ // verify required parameter 'keys' is not null or undefined
45
+ assertParamExists('getTenantSettings', 'keys', keys)
46
+ const localVarPath = `/tenantservice/v1/settings/tenant`;
47
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
+ let baseOptions;
50
+ let baseAccessToken;
51
+ if (configuration) {
52
+ baseOptions = configuration.baseOptions;
53
+ baseAccessToken = configuration.accessToken;
54
+ }
55
+
56
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
57
+ const localVarHeaderParameter = {} as any;
58
+ const localVarQueryParameter = {} as any;
59
+
60
+ // authentication bearer required
61
+ // http bearer authentication required
62
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63
+
64
+ if (keys !== undefined) {
65
+ localVarQueryParameter['keys'] = keys;
66
+ }
67
+
68
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
69
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
70
+ }
71
+
72
+
73
+
74
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
75
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
+
78
+ return {
79
+ url: toPathString(localVarUrlObj),
80
+ options: localVarRequestOptions,
81
+ };
82
+ },
83
+ }
84
+ };
85
+
86
+ /**
87
+ * SettingsApi - functional programming interface
88
+ * @export
89
+ */
90
+ export const SettingsApiFp = function(configuration?: Configuration) {
91
+ const localVarAxiosParamCreator = SettingsApiAxiosParamCreator(configuration)
92
+ return {
93
+ /**
94
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
95
+ * @summary Retrieve the settings
96
+ * @param {string} keys
97
+ * @param {string} [authorization] Bearer Token
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ async getTenantSettings(keys: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingsResponseClass>> {
102
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantSettings(keys, authorization, options);
103
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
104
+ },
105
+ }
106
+ };
107
+
108
+ /**
109
+ * SettingsApi - factory interface
110
+ * @export
111
+ */
112
+ export const SettingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
113
+ const localVarFp = SettingsApiFp(configuration)
114
+ return {
115
+ /**
116
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
117
+ * @summary Retrieve the settings
118
+ * @param {string} keys
119
+ * @param {string} [authorization] Bearer Token
120
+ * @param {*} [options] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass> {
124
+ return localVarFp.getTenantSettings(keys, authorization, options).then((request) => request(axios, basePath));
125
+ },
126
+ };
127
+ };
128
+
129
+ /**
130
+ * Request parameters for getTenantSettings operation in SettingsApi.
131
+ * @export
132
+ * @interface SettingsApiGetTenantSettingsRequest
133
+ */
134
+ export interface SettingsApiGetTenantSettingsRequest {
135
+ /**
136
+ *
137
+ * @type {string}
138
+ * @memberof SettingsApiGetTenantSettings
139
+ */
140
+ readonly keys: string
141
+
142
+ /**
143
+ * Bearer Token
144
+ * @type {string}
145
+ * @memberof SettingsApiGetTenantSettings
146
+ */
147
+ readonly authorization?: string
148
+ }
149
+
150
+ /**
151
+ * SettingsApi - object-oriented interface
152
+ * @export
153
+ * @class SettingsApi
154
+ * @extends {BaseAPI}
155
+ */
156
+ export class SettingsApi extends BaseAPI {
157
+ /**
158
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
159
+ * @summary Retrieve the settings
160
+ * @param {SettingsApiGetTenantSettingsRequest} requestParameters Request parameters.
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ * @memberof SettingsApi
164
+ */
165
+ public getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig) {
166
+ return SettingsApiFp(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
167
+ }
168
+ }
package/api.ts CHANGED
@@ -27,13 +27,21 @@ 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';
33
+ import { RolesApi } from './api';
34
+ import { SettingsApi } from './api';
31
35
  import { UsersApi } from './api';
32
36
 
33
37
 
34
38
  export * from './api/custom-schema-api';
35
39
  export * from './api/invite-organizations-api';
36
40
  export * from './api/invite-users-api';
41
+ export * from './api/list-organization-invitations-api';
37
42
  export * from './api/organizations-api';
43
+ export * from './api/re-invite-an-organization-api';
44
+ export * from './api/roles-api';
45
+ export * from './api/settings-api';
38
46
  export * from './api/users-api';
39
47
 
@@ -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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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
  }