@emilgroup/tenant-sdk-node 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,218 @@
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
+ *
37
+ * @param {number} [pageSize] Page size
38
+ * @param {string} [pageToken] Page token
39
+ * @param {string} [filter] List filter
40
+ * @param {string} [search] Search query
41
+ * @param {string} [order] Ordering criteria
42
+ * @param {string} [expand] Extra fields to fetch
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ listRoles: async (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47
+ const localVarPath = `/tenantservice/v1/roles`;
48
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
50
+ let baseOptions;
51
+ let baseAccessToken;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ baseAccessToken = configuration.accessToken;
55
+ }
56
+
57
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
58
+ const localVarHeaderParameter = {} as any;
59
+ const localVarQueryParameter = {} as any;
60
+
61
+ // authentication bearer required
62
+ // http bearer authentication required
63
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
64
+
65
+ if (pageSize !== undefined) {
66
+ localVarQueryParameter['pageSize'] = pageSize;
67
+ }
68
+
69
+ if (pageToken !== undefined) {
70
+ localVarQueryParameter['pageToken'] = pageToken;
71
+ }
72
+
73
+ if (filter !== undefined) {
74
+ localVarQueryParameter['filter'] = filter;
75
+ }
76
+
77
+ if (search !== undefined) {
78
+ localVarQueryParameter['search'] = search;
79
+ }
80
+
81
+ if (order !== undefined) {
82
+ localVarQueryParameter['order'] = order;
83
+ }
84
+
85
+ if (expand !== undefined) {
86
+ localVarQueryParameter['expand'] = expand;
87
+ }
88
+
89
+
90
+
91
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
92
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
93
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
94
+
95
+ return {
96
+ url: toPathString(localVarUrlObj),
97
+ options: localVarRequestOptions,
98
+ };
99
+ },
100
+ }
101
+ };
102
+
103
+ /**
104
+ * RolesApi - functional programming interface
105
+ * @export
106
+ */
107
+ export const RolesApiFp = function(configuration?: Configuration) {
108
+ const localVarAxiosParamCreator = RolesApiAxiosParamCreator(configuration)
109
+ return {
110
+ /**
111
+ *
112
+ * @param {number} [pageSize] Page size
113
+ * @param {string} [pageToken] Page token
114
+ * @param {string} [filter] List filter
115
+ * @param {string} [search] Search query
116
+ * @param {string} [order] Ordering criteria
117
+ * @param {string} [expand] Extra fields to fetch
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ async listRoles(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>> {
122
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRoles(pageSize, pageToken, filter, search, order, expand, options);
123
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
124
+ },
125
+ }
126
+ };
127
+
128
+ /**
129
+ * RolesApi - factory interface
130
+ * @export
131
+ */
132
+ export const RolesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
133
+ const localVarFp = RolesApiFp(configuration)
134
+ return {
135
+ /**
136
+ *
137
+ * @param {number} [pageSize] Page size
138
+ * @param {string} [pageToken] Page token
139
+ * @param {string} [filter] List filter
140
+ * @param {string} [search] Search query
141
+ * @param {string} [order] Ordering criteria
142
+ * @param {string} [expand] Extra fields to fetch
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ listRoles(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRolesResponseClass> {
147
+ return localVarFp.listRoles(pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
148
+ },
149
+ };
150
+ };
151
+
152
+ /**
153
+ * Request parameters for listRoles operation in RolesApi.
154
+ * @export
155
+ * @interface RolesApiListRolesRequest
156
+ */
157
+ export interface RolesApiListRolesRequest {
158
+ /**
159
+ * Page size
160
+ * @type {number}
161
+ * @memberof RolesApiListRoles
162
+ */
163
+ readonly pageSize?: number
164
+
165
+ /**
166
+ * Page token
167
+ * @type {string}
168
+ * @memberof RolesApiListRoles
169
+ */
170
+ readonly pageToken?: string
171
+
172
+ /**
173
+ * List filter
174
+ * @type {string}
175
+ * @memberof RolesApiListRoles
176
+ */
177
+ readonly filter?: string
178
+
179
+ /**
180
+ * Search query
181
+ * @type {string}
182
+ * @memberof RolesApiListRoles
183
+ */
184
+ readonly search?: string
185
+
186
+ /**
187
+ * Ordering criteria
188
+ * @type {string}
189
+ * @memberof RolesApiListRoles
190
+ */
191
+ readonly order?: string
192
+
193
+ /**
194
+ * Extra fields to fetch
195
+ * @type {string}
196
+ * @memberof RolesApiListRoles
197
+ */
198
+ readonly expand?: string
199
+ }
200
+
201
+ /**
202
+ * RolesApi - object-oriented interface
203
+ * @export
204
+ * @class RolesApi
205
+ * @extends {BaseAPI}
206
+ */
207
+ export class RolesApi extends BaseAPI {
208
+ /**
209
+ *
210
+ * @param {RolesApiListRolesRequest} requestParameters Request parameters.
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ * @memberof RolesApi
214
+ */
215
+ public listRoles(requestParameters: RolesApiListRolesRequest = {}, options?: AxiosRequestConfig) {
216
+ return RolesApiFp(this.configuration).listRoles(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
217
+ }
218
+ }
@@ -0,0 +1,164 @@
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
+ *
37
+ * @param {string} keys
38
+ * @param {string} [authorization] Bearer Token
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ getTenantSettings: async (keys: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ // verify required parameter 'keys' is not null or undefined
44
+ assertParamExists('getTenantSettings', 'keys', keys)
45
+ const localVarPath = `/tenantservice/v1/settings/tenant`;
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ let baseAccessToken;
50
+ if (configuration) {
51
+ baseOptions = configuration.baseOptions;
52
+ baseAccessToken = configuration.accessToken;
53
+ }
54
+
55
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56
+ const localVarHeaderParameter = {} as any;
57
+ const localVarQueryParameter = {} as any;
58
+
59
+ // authentication bearer required
60
+ // http bearer authentication required
61
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
62
+
63
+ if (keys !== undefined) {
64
+ localVarQueryParameter['keys'] = keys;
65
+ }
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
+ };
84
+
85
+ /**
86
+ * SettingsApi - functional programming interface
87
+ * @export
88
+ */
89
+ export const SettingsApiFp = function(configuration?: Configuration) {
90
+ const localVarAxiosParamCreator = SettingsApiAxiosParamCreator(configuration)
91
+ return {
92
+ /**
93
+ *
94
+ * @param {string} keys
95
+ * @param {string} [authorization] Bearer Token
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ async getTenantSettings(keys: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettingsResponseClass>> {
100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTenantSettings(keys, authorization, options);
101
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
102
+ },
103
+ }
104
+ };
105
+
106
+ /**
107
+ * SettingsApi - factory interface
108
+ * @export
109
+ */
110
+ export const SettingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
111
+ const localVarFp = SettingsApiFp(configuration)
112
+ return {
113
+ /**
114
+ *
115
+ * @param {string} keys
116
+ * @param {string} [authorization] Bearer Token
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ getTenantSettings(keys: string, authorization?: string, options?: any): AxiosPromise<GetSettingsResponseClass> {
121
+ return localVarFp.getTenantSettings(keys, authorization, options).then((request) => request(axios, basePath));
122
+ },
123
+ };
124
+ };
125
+
126
+ /**
127
+ * Request parameters for getTenantSettings operation in SettingsApi.
128
+ * @export
129
+ * @interface SettingsApiGetTenantSettingsRequest
130
+ */
131
+ export interface SettingsApiGetTenantSettingsRequest {
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof SettingsApiGetTenantSettings
136
+ */
137
+ readonly keys: string
138
+
139
+ /**
140
+ * Bearer Token
141
+ * @type {string}
142
+ * @memberof SettingsApiGetTenantSettings
143
+ */
144
+ readonly authorization?: string
145
+ }
146
+
147
+ /**
148
+ * SettingsApi - object-oriented interface
149
+ * @export
150
+ * @class SettingsApi
151
+ * @extends {BaseAPI}
152
+ */
153
+ export class SettingsApi extends BaseAPI {
154
+ /**
155
+ *
156
+ * @param {SettingsApiGetTenantSettingsRequest} requestParameters Request parameters.
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ * @memberof SettingsApi
160
+ */
161
+ public getTenantSettings(requestParameters: SettingsApiGetTenantSettingsRequest, options?: AxiosRequestConfig) {
162
+ return SettingsApiFp(this.configuration).getTenantSettings(requestParameters.keys, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
163
+ }
164
+ }
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
  }