@emilgroup/tenant-sdk-node 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/tenant-sdk-node@1.0.0 --save
20
+ npm install @emilgroup/tenant-sdk-node@1.0.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk-node@1.0.0
24
+ yarn add @emilgroup/tenant-sdk-node@1.0.1
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -36,15 +36,12 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
36
36
  return {
37
37
  /**
38
38
  *
39
- * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
40
39
  * @param {RunDataReportRequestDto} runDataReportRequestDto
41
40
  * @param {string} [authorization] Bearer Token
42
41
  * @param {*} [options] Override http request option.
43
42
  * @throws {RequiredError}
44
43
  */
45
- runDataReport: async (authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
- // verify required parameter 'authorization2' is not null or undefined
47
- assertParamExists('runDataReport', 'authorization2', authorization2)
44
+ runDataReport: async (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48
45
  // verify required parameter 'runDataReportRequestDto' is not null or undefined
49
46
  assertParamExists('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto)
50
47
  const localVarPath = `/tenantservice/v1/data-report-executor`;
@@ -69,10 +66,6 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
69
66
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
70
67
  }
71
68
 
72
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
73
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
74
- }
75
-
76
69
 
77
70
 
78
71
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -99,14 +92,13 @@ export const DataReportExecutorApiFp = function(configuration?: Configuration) {
99
92
  return {
100
93
  /**
101
94
  *
102
- * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
103
95
  * @param {RunDataReportRequestDto} runDataReportRequestDto
104
96
  * @param {string} [authorization] Bearer Token
105
97
  * @param {*} [options] Override http request option.
106
98
  * @throws {RequiredError}
107
99
  */
108
- async runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>> {
109
- const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(authorization2, runDataReportRequestDto, authorization, options);
100
+ async runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>> {
101
+ const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, options);
110
102
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
111
103
  },
112
104
  }
@@ -121,14 +113,13 @@ export const DataReportExecutorApiFactory = function (configuration?: Configurat
121
113
  return {
122
114
  /**
123
115
  *
124
- * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
125
116
  * @param {RunDataReportRequestDto} runDataReportRequestDto
126
117
  * @param {string} [authorization] Bearer Token
127
118
  * @param {*} [options] Override http request option.
128
119
  * @throws {RequiredError}
129
120
  */
130
- runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass> {
131
- return localVarFp.runDataReport(authorization2, runDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
121
+ runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass> {
122
+ return localVarFp.runDataReport(runDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
132
123
  },
133
124
  };
134
125
  };
@@ -139,13 +130,6 @@ export const DataReportExecutorApiFactory = function (configuration?: Configurat
139
130
  * @interface DataReportExecutorApiRunDataReportRequest
140
131
  */
141
132
  export interface DataReportExecutorApiRunDataReportRequest {
142
- /**
143
- * Bearer Token: provided by the login endpoint under the name accessToken.
144
- * @type {string}
145
- * @memberof DataReportExecutorApiRunDataReport
146
- */
147
- readonly authorization2: string
148
-
149
133
  /**
150
134
  *
151
135
  * @type {RunDataReportRequestDto}
@@ -176,6 +160,6 @@ export class DataReportExecutorApi extends BaseAPI {
176
160
  * @memberof DataReportExecutorApi
177
161
  */
178
162
  public runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig) {
179
- return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.authorization2, requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
163
+ return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
180
164
  }
181
165
  }
@@ -40,16 +40,13 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
40
40
  * This sends an email to invite an organization.
41
41
  * @summary Invite an organization
42
42
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
43
- * @param {string} authorization2 Bearer Token
44
43
  * @param {InviteOrgRequestDto} inviteOrgRequestDto
45
44
  * @param {*} [options] Override http request option.
46
45
  * @throws {RequiredError}
47
46
  */
48
- inviteOrg: async (authorization: string, authorization2: string, inviteOrgRequestDto: InviteOrgRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47
+ inviteOrg: async (authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
48
  // verify required parameter 'authorization' is not null or undefined
50
49
  assertParamExists('inviteOrg', 'authorization', authorization)
51
- // verify required parameter 'authorization2' is not null or undefined
52
- assertParamExists('inviteOrg', 'authorization2', authorization2)
53
50
  // verify required parameter 'inviteOrgRequestDto' is not null or undefined
54
51
  assertParamExists('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto)
55
52
  const localVarPath = `/tenantservice/v1/invitations/organizations`;
@@ -74,10 +71,6 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
74
71
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
75
72
  }
76
73
 
77
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
78
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
79
- }
80
-
81
74
 
82
75
 
83
76
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -96,7 +89,6 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
96
89
  * 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.
97
90
  * @summary List org invitations
98
91
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
99
- * @param {string} authorization2 Bearer Token
100
92
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
101
93
  * @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.
102
94
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -106,11 +98,9 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
106
98
  * @param {*} [options] Override http request option.
107
99
  * @throws {RequiredError}
108
100
  */
109
- listOrgInvitations: async (authorization: string, authorization2: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ listOrgInvitations: async (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
110
102
  // verify required parameter 'authorization' is not null or undefined
111
103
  assertParamExists('listOrgInvitations', 'authorization', authorization)
112
- // verify required parameter 'authorization2' is not null or undefined
113
- assertParamExists('listOrgInvitations', 'authorization2', authorization2)
114
104
  const localVarPath = `/tenantservice/v1/invitations/organizations`;
115
105
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
106
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -157,10 +147,6 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
157
147
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
158
148
  }
159
149
 
160
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
161
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
162
- }
163
-
164
150
 
165
151
 
166
152
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -186,20 +172,18 @@ export const InviteOrganizationsApiFp = function(configuration?: Configuration)
186
172
  * This sends an email to invite an organization.
187
173
  * @summary Invite an organization
188
174
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
189
- * @param {string} authorization2 Bearer Token
190
175
  * @param {InviteOrgRequestDto} inviteOrgRequestDto
191
176
  * @param {*} [options] Override http request option.
192
177
  * @throws {RequiredError}
193
178
  */
194
- async inviteOrg(authorization: string, authorization2: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>> {
195
- const localVarAxiosArgs = await localVarAxiosParamCreator.inviteOrg(authorization, authorization2, inviteOrgRequestDto, options);
179
+ async inviteOrg(authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>> {
180
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteOrg(authorization, inviteOrgRequestDto, options);
196
181
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
197
182
  },
198
183
  /**
199
184
  * 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.
200
185
  * @summary List org invitations
201
186
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
202
- * @param {string} authorization2 Bearer Token
203
187
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
204
188
  * @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.
205
189
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -209,8 +193,8 @@ export const InviteOrganizationsApiFp = function(configuration?: Configuration)
209
193
  * @param {*} [options] Override http request option.
210
194
  * @throws {RequiredError}
211
195
  */
212
- async listOrgInvitations(authorization: string, authorization2: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>> {
213
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options);
196
+ async listOrgInvitations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>> {
197
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options);
214
198
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
215
199
  },
216
200
  }
@@ -227,19 +211,17 @@ export const InviteOrganizationsApiFactory = function (configuration?: Configura
227
211
  * This sends an email to invite an organization.
228
212
  * @summary Invite an organization
229
213
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
230
- * @param {string} authorization2 Bearer Token
231
214
  * @param {InviteOrgRequestDto} inviteOrgRequestDto
232
215
  * @param {*} [options] Override http request option.
233
216
  * @throws {RequiredError}
234
217
  */
235
- inviteOrg(authorization: string, authorization2: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: any): AxiosPromise<OrgInvitationResponseClass> {
236
- return localVarFp.inviteOrg(authorization, authorization2, inviteOrgRequestDto, options).then((request) => request(axios, basePath));
218
+ inviteOrg(authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: any): AxiosPromise<OrgInvitationResponseClass> {
219
+ return localVarFp.inviteOrg(authorization, inviteOrgRequestDto, options).then((request) => request(axios, basePath));
237
220
  },
238
221
  /**
239
222
  * 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.
240
223
  * @summary List org invitations
241
224
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
242
- * @param {string} authorization2 Bearer Token
243
225
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
244
226
  * @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.
245
227
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -249,8 +231,8 @@ export const InviteOrganizationsApiFactory = function (configuration?: Configura
249
231
  * @param {*} [options] Override http request option.
250
232
  * @throws {RequiredError}
251
233
  */
252
- listOrgInvitations(authorization: string, authorization2: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
253
- return localVarFp.listOrgInvitations(authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
234
+ listOrgInvitations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
235
+ return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
254
236
  },
255
237
  };
256
238
  };
@@ -268,13 +250,6 @@ export interface InviteOrganizationsApiInviteOrgRequest {
268
250
  */
269
251
  readonly authorization: string
270
252
 
271
- /**
272
- * Bearer Token
273
- * @type {string}
274
- * @memberof InviteOrganizationsApiInviteOrg
275
- */
276
- readonly authorization2: string
277
-
278
253
  /**
279
254
  *
280
255
  * @type {InviteOrgRequestDto}
@@ -296,13 +271,6 @@ export interface InviteOrganizationsApiListOrgInvitationsRequest {
296
271
  */
297
272
  readonly authorization: string
298
273
 
299
- /**
300
- * Bearer Token
301
- * @type {string}
302
- * @memberof InviteOrganizationsApiListOrgInvitations
303
- */
304
- readonly authorization2: string
305
-
306
274
  /**
307
275
  * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
308
276
  * @type {any}
@@ -362,7 +330,7 @@ export class InviteOrganizationsApi extends BaseAPI {
362
330
  * @memberof InviteOrganizationsApi
363
331
  */
364
332
  public inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig) {
365
- return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.authorization, requestParameters.authorization2, requestParameters.inviteOrgRequestDto, options).then((request) => request(this.axios, this.basePath));
333
+ return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.authorization, requestParameters.inviteOrgRequestDto, options).then((request) => request(this.axios, this.basePath));
366
334
  }
367
335
 
368
336
  /**
@@ -374,6 +342,6 @@ export class InviteOrganizationsApi extends BaseAPI {
374
342
  * @memberof InviteOrganizationsApi
375
343
  */
376
344
  public listOrgInvitations(requestParameters: InviteOrganizationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig) {
377
- return InviteOrganizationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.authorization2, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
345
+ return InviteOrganizationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
378
346
  }
379
347
  }
@@ -49,7 +49,7 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
49
49
  /**
50
50
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
51
51
  * @summary Delete the invited user
52
- * @param {string} authorization Bearer Token
52
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
53
53
  * @param {number} id
54
54
  * @param {*} [options] Override http request option.
55
55
  * @throws {RequiredError}
@@ -96,7 +96,7 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
96
96
  /**
97
97
  * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
98
98
  * @summary Delete invited users.
99
- * @param {string} authorization Bearer Token
99
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
100
100
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
101
101
  * @param {*} [options] Override http request option.
102
102
  * @throws {RequiredError}
@@ -145,7 +145,7 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
145
145
  /**
146
146
  * This send an email to invite a user with the specific role/roles.
147
147
  * @summary Invite a user
148
- * @param {string} authorization Bearer Token
148
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
149
149
  * @param {InviteUserRequestDto} inviteUserRequestDto
150
150
  * @param {*} [options] Override http request option.
151
151
  * @throws {RequiredError}
@@ -194,7 +194,7 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
194
194
  /**
195
195
  * This send bulk emails to invite users with the specific role/roles.
196
196
  * @summary Invite batch of users
197
- * @param {string} authorization Bearer Token
197
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
198
198
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
199
199
  * @param {*} [options] Override http request option.
200
200
  * @throws {RequiredError}
@@ -243,7 +243,7 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
243
243
  /**
244
244
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
245
245
  * @summary List invited users
246
- * @param {string} authorization Bearer Token
246
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
247
247
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
248
248
  * @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.
249
249
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -326,7 +326,7 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
326
326
  /**
327
327
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
328
328
  * @summary Delete the invited user
329
- * @param {string} authorization Bearer Token
329
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
330
330
  * @param {number} id
331
331
  * @param {*} [options] Override http request option.
332
332
  * @throws {RequiredError}
@@ -338,7 +338,7 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
338
338
  /**
339
339
  * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
340
340
  * @summary Delete invited users.
341
- * @param {string} authorization Bearer Token
341
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
342
342
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
343
343
  * @param {*} [options] Override http request option.
344
344
  * @throws {RequiredError}
@@ -350,7 +350,7 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
350
350
  /**
351
351
  * This send an email to invite a user with the specific role/roles.
352
352
  * @summary Invite a user
353
- * @param {string} authorization Bearer Token
353
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
354
354
  * @param {InviteUserRequestDto} inviteUserRequestDto
355
355
  * @param {*} [options] Override http request option.
356
356
  * @throws {RequiredError}
@@ -362,7 +362,7 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
362
362
  /**
363
363
  * This send bulk emails to invite users with the specific role/roles.
364
364
  * @summary Invite batch of users
365
- * @param {string} authorization Bearer Token
365
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
366
366
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
367
367
  * @param {*} [options] Override http request option.
368
368
  * @throws {RequiredError}
@@ -374,7 +374,7 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
374
374
  /**
375
375
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
376
376
  * @summary List invited users
377
- * @param {string} authorization Bearer Token
377
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
378
378
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
379
379
  * @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.
380
380
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -401,7 +401,7 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
401
401
  /**
402
402
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
403
403
  * @summary Delete the invited user
404
- * @param {string} authorization Bearer Token
404
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
405
405
  * @param {number} id
406
406
  * @param {*} [options] Override http request option.
407
407
  * @throws {RequiredError}
@@ -412,7 +412,7 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
412
412
  /**
413
413
  * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
414
414
  * @summary Delete invited users.
415
- * @param {string} authorization Bearer Token
415
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
416
416
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
417
417
  * @param {*} [options] Override http request option.
418
418
  * @throws {RequiredError}
@@ -423,7 +423,7 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
423
423
  /**
424
424
  * This send an email to invite a user with the specific role/roles.
425
425
  * @summary Invite a user
426
- * @param {string} authorization Bearer Token
426
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
427
427
  * @param {InviteUserRequestDto} inviteUserRequestDto
428
428
  * @param {*} [options] Override http request option.
429
429
  * @throws {RequiredError}
@@ -434,7 +434,7 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
434
434
  /**
435
435
  * This send bulk emails to invite users with the specific role/roles.
436
436
  * @summary Invite batch of users
437
- * @param {string} authorization Bearer Token
437
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
438
438
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
439
439
  * @param {*} [options] Override http request option.
440
440
  * @throws {RequiredError}
@@ -445,7 +445,7 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
445
445
  /**
446
446
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
447
447
  * @summary List invited users
448
- * @param {string} authorization Bearer Token
448
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
449
449
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
450
450
  * @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.
451
451
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -468,7 +468,7 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
468
468
  */
469
469
  export interface InviteUsersApiDeleteInviteRequest {
470
470
  /**
471
- * Bearer Token
471
+ * Bearer Token: provided by the login endpoint under the name accessToken.
472
472
  * @type {string}
473
473
  * @memberof InviteUsersApiDeleteInvite
474
474
  */
@@ -489,7 +489,7 @@ export interface InviteUsersApiDeleteInviteRequest {
489
489
  */
490
490
  export interface InviteUsersApiDeleteInvitesRequest {
491
491
  /**
492
- * Bearer Token
492
+ * Bearer Token: provided by the login endpoint under the name accessToken.
493
493
  * @type {string}
494
494
  * @memberof InviteUsersApiDeleteInvites
495
495
  */
@@ -510,7 +510,7 @@ export interface InviteUsersApiDeleteInvitesRequest {
510
510
  */
511
511
  export interface InviteUsersApiInviteUserRequest {
512
512
  /**
513
- * Bearer Token
513
+ * Bearer Token: provided by the login endpoint under the name accessToken.
514
514
  * @type {string}
515
515
  * @memberof InviteUsersApiInviteUser
516
516
  */
@@ -531,7 +531,7 @@ export interface InviteUsersApiInviteUserRequest {
531
531
  */
532
532
  export interface InviteUsersApiInviteUsersRequest {
533
533
  /**
534
- * Bearer Token
534
+ * Bearer Token: provided by the login endpoint under the name accessToken.
535
535
  * @type {string}
536
536
  * @memberof InviteUsersApiInviteUsers
537
537
  */
@@ -552,7 +552,7 @@ export interface InviteUsersApiInviteUsersRequest {
552
552
  */
553
553
  export interface InviteUsersApiListInvitesRequest {
554
554
  /**
555
- * Bearer Token
555
+ * Bearer Token: provided by the login endpoint under the name accessToken.
556
556
  * @type {string}
557
557
  * @memberof InviteUsersApiListInvites
558
558
  */
@@ -37,7 +37,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
37
37
  /**
38
38
  * Get Organization by code
39
39
  * @summary Retrieve the Organization
40
- * @param {string} authorization Bearer Token
40
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
41
41
  * @param {string} code
42
42
  * @param {*} [options] Override http request option.
43
43
  * @throws {RequiredError}
@@ -84,7 +84,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
84
84
  /**
85
85
  * This will fetch list of organizations
86
86
  * @summary List organizations
87
- * @param {string} authorization Bearer Token
87
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
88
88
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
89
89
  * @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.
90
90
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -167,7 +167,7 @@ export const OrganizationsApiFp = function(configuration?: Configuration) {
167
167
  /**
168
168
  * Get Organization by code
169
169
  * @summary Retrieve the Organization
170
- * @param {string} authorization Bearer Token
170
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
171
171
  * @param {string} code
172
172
  * @param {*} [options] Override http request option.
173
173
  * @throws {RequiredError}
@@ -179,7 +179,7 @@ export const OrganizationsApiFp = function(configuration?: Configuration) {
179
179
  /**
180
180
  * This will fetch list of organizations
181
181
  * @summary List organizations
182
- * @param {string} authorization Bearer Token
182
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
183
183
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
184
184
  * @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.
185
185
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -206,7 +206,7 @@ export const OrganizationsApiFactory = function (configuration?: Configuration,
206
206
  /**
207
207
  * Get Organization by code
208
208
  * @summary Retrieve the Organization
209
- * @param {string} authorization Bearer Token
209
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
210
210
  * @param {string} code
211
211
  * @param {*} [options] Override http request option.
212
212
  * @throws {RequiredError}
@@ -217,7 +217,7 @@ export const OrganizationsApiFactory = function (configuration?: Configuration,
217
217
  /**
218
218
  * This will fetch list of organizations
219
219
  * @summary List organizations
220
- * @param {string} authorization Bearer Token
220
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
221
221
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
222
222
  * @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.
223
223
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -240,7 +240,7 @@ export const OrganizationsApiFactory = function (configuration?: Configuration,
240
240
  */
241
241
  export interface OrganizationsApiGetOrganizationRequest {
242
242
  /**
243
- * Bearer Token
243
+ * Bearer Token: provided by the login endpoint under the name accessToken.
244
244
  * @type {string}
245
245
  * @memberof OrganizationsApiGetOrganization
246
246
  */
@@ -261,7 +261,7 @@ export interface OrganizationsApiGetOrganizationRequest {
261
261
  */
262
262
  export interface OrganizationsApiListOrganizationsRequest {
263
263
  /**
264
- * Bearer Token
264
+ * Bearer Token: provided by the login endpoint under the name accessToken.
265
265
  * @type {string}
266
266
  * @memberof OrganizationsApiListOrganizations
267
267
  */