@emilgroup/tenant-sdk-node 1.0.1 → 1.0.2
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 +2 -2
- package/api/custom-schema-api.ts +53 -61
- package/api/data-report-api.ts +66 -76
- package/api/invite-organizations-api.ts +24 -28
- package/api/invite-users-api.ts +69 -79
- package/api/organizations-api.ts +22 -26
- package/api/users-api.ts +130 -148
- package/dist/api/custom-schema-api.d.ts +43 -43
- package/dist/api/custom-schema-api.js +31 -38
- package/dist/api/data-report-api.d.ts +53 -53
- package/dist/api/data-report-api.js +40 -49
- package/dist/api/invite-organizations-api.d.ts +21 -21
- package/dist/api/invite-organizations-api.js +13 -16
- package/dist/api/invite-users-api.d.ts +57 -57
- package/dist/api/invite-users-api.js +40 -49
- package/dist/api/organizations-api.d.ts +19 -19
- package/dist/api/organizations-api.js +13 -16
- package/dist/api/users-api.d.ts +105 -105
- package/dist/api/users-api.js +76 -93
- package/package.json +1 -1
package/api/data-report-api.ts
CHANGED
|
@@ -45,14 +45,12 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
45
45
|
/**
|
|
46
46
|
* This will create a data report for tenant in the database
|
|
47
47
|
* @summary Create the data-report
|
|
48
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
48
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
49
|
+
* @param {string} [authorization] Bearer Token
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
createCustomSchema: async (
|
|
54
|
-
// verify required parameter 'authorization' is not null or undefined
|
|
55
|
-
assertParamExists('createCustomSchema', 'authorization', authorization)
|
|
53
|
+
createCustomSchema: async (createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56
54
|
// verify required parameter 'createDataReportRequestDto' is not null or undefined
|
|
57
55
|
assertParamExists('createCustomSchema', 'createDataReportRequestDto', createDataReportRequestDto)
|
|
58
56
|
const localVarPath = `/tenantservice/v1/data-reports`;
|
|
@@ -93,14 +91,12 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
93
91
|
},
|
|
94
92
|
/**
|
|
95
93
|
*
|
|
96
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
94
|
* @param {string} id
|
|
95
|
+
* @param {string} [authorization] Bearer Token
|
|
98
96
|
* @param {*} [options] Override http request option.
|
|
99
97
|
* @throws {RequiredError}
|
|
100
98
|
*/
|
|
101
|
-
deleteAlert: async (
|
|
102
|
-
// verify required parameter 'authorization' is not null or undefined
|
|
103
|
-
assertParamExists('deleteAlert', 'authorization', authorization)
|
|
99
|
+
deleteAlert: async (id: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104
100
|
// verify required parameter 'id' is not null or undefined
|
|
105
101
|
assertParamExists('deleteAlert', 'id', id)
|
|
106
102
|
const localVarPath = `/tenantservice/v1/data-reports/{id}`
|
|
@@ -140,15 +136,13 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
140
136
|
/**
|
|
141
137
|
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
142
138
|
* @summary Retrieve the data-report
|
|
143
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
139
|
* @param {string} code Unique identifier for the object.
|
|
140
|
+
* @param {string} [authorization] Bearer Token
|
|
145
141
|
* @param {string} [expand] Fields to expand response by
|
|
146
142
|
* @param {*} [options] Override http request option.
|
|
147
143
|
* @throws {RequiredError}
|
|
148
144
|
*/
|
|
149
|
-
getDataReport: async (
|
|
150
|
-
// verify required parameter 'authorization' is not null or undefined
|
|
151
|
-
assertParamExists('getDataReport', 'authorization', authorization)
|
|
145
|
+
getDataReport: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
152
146
|
// verify required parameter 'code' is not null or undefined
|
|
153
147
|
assertParamExists('getDataReport', 'code', code)
|
|
154
148
|
const localVarPath = `/tenantservice/v1/data-reports/{code}`
|
|
@@ -192,7 +186,7 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
192
186
|
/**
|
|
193
187
|
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
194
188
|
* @summary List data-reports
|
|
195
|
-
* @param {string} authorization Bearer Token
|
|
189
|
+
* @param {string} [authorization] Bearer Token
|
|
196
190
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
197
191
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
198
192
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -202,9 +196,7 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
202
196
|
* @param {*} [options] Override http request option.
|
|
203
197
|
* @throws {RequiredError}
|
|
204
198
|
*/
|
|
205
|
-
listDataReports: async (authorization
|
|
206
|
-
// verify required parameter 'authorization' is not null or undefined
|
|
207
|
-
assertParamExists('listDataReports', 'authorization', authorization)
|
|
199
|
+
listDataReports: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
208
200
|
const localVarPath = `/tenantservice/v1/data-reports`;
|
|
209
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
210
202
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -265,15 +257,13 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
265
257
|
/**
|
|
266
258
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
267
259
|
* @summary Update the data-report
|
|
268
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
269
260
|
* @param {string} code
|
|
270
261
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
262
|
+
* @param {string} [authorization] Bearer Token
|
|
271
263
|
* @param {*} [options] Override http request option.
|
|
272
264
|
* @throws {RequiredError}
|
|
273
265
|
*/
|
|
274
|
-
updateDataReport: async (
|
|
275
|
-
// verify required parameter 'authorization' is not null or undefined
|
|
276
|
-
assertParamExists('updateDataReport', 'authorization', authorization)
|
|
266
|
+
updateDataReport: async (code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
277
267
|
// verify required parameter 'code' is not null or undefined
|
|
278
268
|
assertParamExists('updateDataReport', 'code', code)
|
|
279
269
|
// verify required parameter 'updateDataReportRequestDto' is not null or undefined
|
|
@@ -328,43 +318,43 @@ export const DataReportApiFp = function(configuration?: Configuration) {
|
|
|
328
318
|
/**
|
|
329
319
|
* This will create a data report for tenant in the database
|
|
330
320
|
* @summary Create the data-report
|
|
331
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
332
321
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
322
|
+
* @param {string} [authorization] Bearer Token
|
|
333
323
|
* @param {*} [options] Override http request option.
|
|
334
324
|
* @throws {RequiredError}
|
|
335
325
|
*/
|
|
336
|
-
async createCustomSchema(
|
|
337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(
|
|
326
|
+
async createCustomSchema(createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDataReportResponseClass>> {
|
|
327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(createDataReportRequestDto, authorization, options);
|
|
338
328
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
339
329
|
},
|
|
340
330
|
/**
|
|
341
331
|
*
|
|
342
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
343
332
|
* @param {string} id
|
|
333
|
+
* @param {string} [authorization] Bearer Token
|
|
344
334
|
* @param {*} [options] Override http request option.
|
|
345
335
|
* @throws {RequiredError}
|
|
346
336
|
*/
|
|
347
|
-
async deleteAlert(
|
|
348
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlert(
|
|
337
|
+
async deleteAlert(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
338
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlert(id, authorization, options);
|
|
349
339
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
350
340
|
},
|
|
351
341
|
/**
|
|
352
342
|
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
353
343
|
* @summary Retrieve the data-report
|
|
354
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
355
344
|
* @param {string} code Unique identifier for the object.
|
|
345
|
+
* @param {string} [authorization] Bearer Token
|
|
356
346
|
* @param {string} [expand] Fields to expand response by
|
|
357
347
|
* @param {*} [options] Override http request option.
|
|
358
348
|
* @throws {RequiredError}
|
|
359
349
|
*/
|
|
360
|
-
async getDataReport(
|
|
361
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDataReport(
|
|
350
|
+
async getDataReport(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDataReportResponseClass>> {
|
|
351
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDataReport(code, authorization, expand, options);
|
|
362
352
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
363
353
|
},
|
|
364
354
|
/**
|
|
365
355
|
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
366
356
|
* @summary List data-reports
|
|
367
|
-
* @param {string} authorization Bearer Token
|
|
357
|
+
* @param {string} [authorization] Bearer Token
|
|
368
358
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
369
359
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
370
360
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -374,21 +364,21 @@ export const DataReportApiFp = function(configuration?: Configuration) {
|
|
|
374
364
|
* @param {*} [options] Override http request option.
|
|
375
365
|
* @throws {RequiredError}
|
|
376
366
|
*/
|
|
377
|
-
async listDataReports(authorization
|
|
367
|
+
async listDataReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDataReportsResponseClass>> {
|
|
378
368
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
379
369
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
370
|
},
|
|
381
371
|
/**
|
|
382
372
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
383
373
|
* @summary Update the data-report
|
|
384
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
385
374
|
* @param {string} code
|
|
386
375
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
376
|
+
* @param {string} [authorization] Bearer Token
|
|
387
377
|
* @param {*} [options] Override http request option.
|
|
388
378
|
* @throws {RequiredError}
|
|
389
379
|
*/
|
|
390
|
-
async updateDataReport(
|
|
391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDataReport(
|
|
380
|
+
async updateDataReport(code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDataReportResponseClass>> {
|
|
381
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDataReport(code, updateDataReportRequestDto, authorization, options);
|
|
392
382
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
393
383
|
},
|
|
394
384
|
}
|
|
@@ -404,40 +394,40 @@ export const DataReportApiFactory = function (configuration?: Configuration, bas
|
|
|
404
394
|
/**
|
|
405
395
|
* This will create a data report for tenant in the database
|
|
406
396
|
* @summary Create the data-report
|
|
407
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
408
397
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
398
|
+
* @param {string} [authorization] Bearer Token
|
|
409
399
|
* @param {*} [options] Override http request option.
|
|
410
400
|
* @throws {RequiredError}
|
|
411
401
|
*/
|
|
412
|
-
createCustomSchema(
|
|
413
|
-
return localVarFp.createCustomSchema(
|
|
402
|
+
createCustomSchema(createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDataReportResponseClass> {
|
|
403
|
+
return localVarFp.createCustomSchema(createDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
414
404
|
},
|
|
415
405
|
/**
|
|
416
406
|
*
|
|
417
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
418
407
|
* @param {string} id
|
|
408
|
+
* @param {string} [authorization] Bearer Token
|
|
419
409
|
* @param {*} [options] Override http request option.
|
|
420
410
|
* @throws {RequiredError}
|
|
421
411
|
*/
|
|
422
|
-
deleteAlert(
|
|
423
|
-
return localVarFp.deleteAlert(
|
|
412
|
+
deleteAlert(id: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
413
|
+
return localVarFp.deleteAlert(id, authorization, options).then((request) => request(axios, basePath));
|
|
424
414
|
},
|
|
425
415
|
/**
|
|
426
416
|
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
427
417
|
* @summary Retrieve the data-report
|
|
428
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
429
418
|
* @param {string} code Unique identifier for the object.
|
|
419
|
+
* @param {string} [authorization] Bearer Token
|
|
430
420
|
* @param {string} [expand] Fields to expand response by
|
|
431
421
|
* @param {*} [options] Override http request option.
|
|
432
422
|
* @throws {RequiredError}
|
|
433
423
|
*/
|
|
434
|
-
getDataReport(
|
|
435
|
-
return localVarFp.getDataReport(
|
|
424
|
+
getDataReport(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetDataReportResponseClass> {
|
|
425
|
+
return localVarFp.getDataReport(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
436
426
|
},
|
|
437
427
|
/**
|
|
438
428
|
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
439
429
|
* @summary List data-reports
|
|
440
|
-
* @param {string} authorization Bearer Token
|
|
430
|
+
* @param {string} [authorization] Bearer Token
|
|
441
431
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
442
432
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
443
433
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -447,20 +437,20 @@ export const DataReportApiFactory = function (configuration?: Configuration, bas
|
|
|
447
437
|
* @param {*} [options] Override http request option.
|
|
448
438
|
* @throws {RequiredError}
|
|
449
439
|
*/
|
|
450
|
-
listDataReports(authorization
|
|
440
|
+
listDataReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListDataReportsResponseClass> {
|
|
451
441
|
return localVarFp.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
452
442
|
},
|
|
453
443
|
/**
|
|
454
444
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
455
445
|
* @summary Update the data-report
|
|
456
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
457
446
|
* @param {string} code
|
|
458
447
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
448
|
+
* @param {string} [authorization] Bearer Token
|
|
459
449
|
* @param {*} [options] Override http request option.
|
|
460
450
|
* @throws {RequiredError}
|
|
461
451
|
*/
|
|
462
|
-
updateDataReport(
|
|
463
|
-
return localVarFp.updateDataReport(
|
|
452
|
+
updateDataReport(code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDataReportResponseClass> {
|
|
453
|
+
return localVarFp.updateDataReport(code, updateDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
464
454
|
},
|
|
465
455
|
};
|
|
466
456
|
};
|
|
@@ -472,18 +462,18 @@ export const DataReportApiFactory = function (configuration?: Configuration, bas
|
|
|
472
462
|
*/
|
|
473
463
|
export interface DataReportApiCreateCustomSchemaRequest {
|
|
474
464
|
/**
|
|
475
|
-
*
|
|
476
|
-
* @type {
|
|
465
|
+
*
|
|
466
|
+
* @type {CreateDataReportRequestDto}
|
|
477
467
|
* @memberof DataReportApiCreateCustomSchema
|
|
478
468
|
*/
|
|
479
|
-
readonly
|
|
469
|
+
readonly createDataReportRequestDto: CreateDataReportRequestDto
|
|
480
470
|
|
|
481
471
|
/**
|
|
482
|
-
*
|
|
483
|
-
* @type {
|
|
472
|
+
* Bearer Token
|
|
473
|
+
* @type {string}
|
|
484
474
|
* @memberof DataReportApiCreateCustomSchema
|
|
485
475
|
*/
|
|
486
|
-
readonly
|
|
476
|
+
readonly authorization?: string
|
|
487
477
|
}
|
|
488
478
|
|
|
489
479
|
/**
|
|
@@ -493,18 +483,18 @@ export interface DataReportApiCreateCustomSchemaRequest {
|
|
|
493
483
|
*/
|
|
494
484
|
export interface DataReportApiDeleteAlertRequest {
|
|
495
485
|
/**
|
|
496
|
-
*
|
|
486
|
+
*
|
|
497
487
|
* @type {string}
|
|
498
488
|
* @memberof DataReportApiDeleteAlert
|
|
499
489
|
*/
|
|
500
|
-
readonly
|
|
490
|
+
readonly id: string
|
|
501
491
|
|
|
502
492
|
/**
|
|
503
|
-
*
|
|
493
|
+
* Bearer Token
|
|
504
494
|
* @type {string}
|
|
505
495
|
* @memberof DataReportApiDeleteAlert
|
|
506
496
|
*/
|
|
507
|
-
readonly
|
|
497
|
+
readonly authorization?: string
|
|
508
498
|
}
|
|
509
499
|
|
|
510
500
|
/**
|
|
@@ -514,18 +504,18 @@ export interface DataReportApiDeleteAlertRequest {
|
|
|
514
504
|
*/
|
|
515
505
|
export interface DataReportApiGetDataReportRequest {
|
|
516
506
|
/**
|
|
517
|
-
*
|
|
507
|
+
* Unique identifier for the object.
|
|
518
508
|
* @type {string}
|
|
519
509
|
* @memberof DataReportApiGetDataReport
|
|
520
510
|
*/
|
|
521
|
-
readonly
|
|
511
|
+
readonly code: string
|
|
522
512
|
|
|
523
513
|
/**
|
|
524
|
-
*
|
|
514
|
+
* Bearer Token
|
|
525
515
|
* @type {string}
|
|
526
516
|
* @memberof DataReportApiGetDataReport
|
|
527
517
|
*/
|
|
528
|
-
readonly
|
|
518
|
+
readonly authorization?: string
|
|
529
519
|
|
|
530
520
|
/**
|
|
531
521
|
* Fields to expand response by
|
|
@@ -542,11 +532,11 @@ export interface DataReportApiGetDataReportRequest {
|
|
|
542
532
|
*/
|
|
543
533
|
export interface DataReportApiListDataReportsRequest {
|
|
544
534
|
/**
|
|
545
|
-
* Bearer Token
|
|
535
|
+
* Bearer Token
|
|
546
536
|
* @type {string}
|
|
547
537
|
* @memberof DataReportApiListDataReports
|
|
548
538
|
*/
|
|
549
|
-
readonly authorization
|
|
539
|
+
readonly authorization?: string
|
|
550
540
|
|
|
551
541
|
/**
|
|
552
542
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -597,13 +587,6 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
597
587
|
* @interface DataReportApiUpdateDataReportRequest
|
|
598
588
|
*/
|
|
599
589
|
export interface DataReportApiUpdateDataReportRequest {
|
|
600
|
-
/**
|
|
601
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
602
|
-
* @type {string}
|
|
603
|
-
* @memberof DataReportApiUpdateDataReport
|
|
604
|
-
*/
|
|
605
|
-
readonly authorization: string
|
|
606
|
-
|
|
607
590
|
/**
|
|
608
591
|
*
|
|
609
592
|
* @type {string}
|
|
@@ -617,6 +600,13 @@ export interface DataReportApiUpdateDataReportRequest {
|
|
|
617
600
|
* @memberof DataReportApiUpdateDataReport
|
|
618
601
|
*/
|
|
619
602
|
readonly updateDataReportRequestDto: UpdateDataReportRequestDto
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Bearer Token
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof DataReportApiUpdateDataReport
|
|
608
|
+
*/
|
|
609
|
+
readonly authorization?: string
|
|
620
610
|
}
|
|
621
611
|
|
|
622
612
|
/**
|
|
@@ -635,7 +625,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
635
625
|
* @memberof DataReportApi
|
|
636
626
|
*/
|
|
637
627
|
public createCustomSchema(requestParameters: DataReportApiCreateCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
638
|
-
return DataReportApiFp(this.configuration).createCustomSchema(requestParameters.
|
|
628
|
+
return DataReportApiFp(this.configuration).createCustomSchema(requestParameters.createDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
639
629
|
}
|
|
640
630
|
|
|
641
631
|
/**
|
|
@@ -646,7 +636,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
646
636
|
* @memberof DataReportApi
|
|
647
637
|
*/
|
|
648
638
|
public deleteAlert(requestParameters: DataReportApiDeleteAlertRequest, options?: AxiosRequestConfig) {
|
|
649
|
-
return DataReportApiFp(this.configuration).deleteAlert(requestParameters.
|
|
639
|
+
return DataReportApiFp(this.configuration).deleteAlert(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
650
640
|
}
|
|
651
641
|
|
|
652
642
|
/**
|
|
@@ -658,7 +648,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
658
648
|
* @memberof DataReportApi
|
|
659
649
|
*/
|
|
660
650
|
public getDataReport(requestParameters: DataReportApiGetDataReportRequest, options?: AxiosRequestConfig) {
|
|
661
|
-
return DataReportApiFp(this.configuration).getDataReport(requestParameters.
|
|
651
|
+
return DataReportApiFp(this.configuration).getDataReport(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
662
652
|
}
|
|
663
653
|
|
|
664
654
|
/**
|
|
@@ -669,7 +659,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
669
659
|
* @throws {RequiredError}
|
|
670
660
|
* @memberof DataReportApi
|
|
671
661
|
*/
|
|
672
|
-
public listDataReports(requestParameters: DataReportApiListDataReportsRequest, options?: AxiosRequestConfig) {
|
|
662
|
+
public listDataReports(requestParameters: DataReportApiListDataReportsRequest = {}, options?: AxiosRequestConfig) {
|
|
673
663
|
return DataReportApiFp(this.configuration).listDataReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
674
664
|
}
|
|
675
665
|
|
|
@@ -682,6 +672,6 @@ export class DataReportApi extends BaseAPI {
|
|
|
682
672
|
* @memberof DataReportApi
|
|
683
673
|
*/
|
|
684
674
|
public updateDataReport(requestParameters: DataReportApiUpdateDataReportRequest, options?: AxiosRequestConfig) {
|
|
685
|
-
return DataReportApiFp(this.configuration).updateDataReport(requestParameters.
|
|
675
|
+
return DataReportApiFp(this.configuration).updateDataReport(requestParameters.code, requestParameters.updateDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
686
676
|
}
|
|
687
677
|
}
|
|
@@ -39,14 +39,12 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
|
|
|
39
39
|
/**
|
|
40
40
|
* This sends an email to invite an organization.
|
|
41
41
|
* @summary Invite an organization
|
|
42
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
42
|
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
43
|
+
* @param {string} [authorization] Bearer Token
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
*/
|
|
47
|
-
inviteOrg: async (
|
|
48
|
-
// verify required parameter 'authorization' is not null or undefined
|
|
49
|
-
assertParamExists('inviteOrg', 'authorization', authorization)
|
|
47
|
+
inviteOrg: async (inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
48
|
// verify required parameter 'inviteOrgRequestDto' is not null or undefined
|
|
51
49
|
assertParamExists('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto)
|
|
52
50
|
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
@@ -88,7 +86,7 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
|
|
|
88
86
|
/**
|
|
89
87
|
* 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.
|
|
90
88
|
* @summary List org invitations
|
|
91
|
-
* @param {string} authorization Bearer Token
|
|
89
|
+
* @param {string} [authorization] Bearer Token
|
|
92
90
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
93
91
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
94
92
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -98,9 +96,7 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
|
|
|
98
96
|
* @param {*} [options] Override http request option.
|
|
99
97
|
* @throws {RequiredError}
|
|
100
98
|
*/
|
|
101
|
-
listOrgInvitations: async (authorization
|
|
102
|
-
// verify required parameter 'authorization' is not null or undefined
|
|
103
|
-
assertParamExists('listOrgInvitations', 'authorization', authorization)
|
|
99
|
+
listOrgInvitations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104
100
|
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
105
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
102
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -171,19 +167,19 @@ export const InviteOrganizationsApiFp = function(configuration?: Configuration)
|
|
|
171
167
|
/**
|
|
172
168
|
* This sends an email to invite an organization.
|
|
173
169
|
* @summary Invite an organization
|
|
174
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
175
170
|
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
171
|
+
* @param {string} [authorization] Bearer Token
|
|
176
172
|
* @param {*} [options] Override http request option.
|
|
177
173
|
* @throws {RequiredError}
|
|
178
174
|
*/
|
|
179
|
-
async inviteOrg(
|
|
180
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteOrg(
|
|
175
|
+
async inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>> {
|
|
176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inviteOrg(inviteOrgRequestDto, authorization, options);
|
|
181
177
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
182
178
|
},
|
|
183
179
|
/**
|
|
184
180
|
* 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.
|
|
185
181
|
* @summary List org invitations
|
|
186
|
-
* @param {string} authorization Bearer Token
|
|
182
|
+
* @param {string} [authorization] Bearer Token
|
|
187
183
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
188
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
189
185
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -193,7 +189,7 @@ export const InviteOrganizationsApiFp = function(configuration?: Configuration)
|
|
|
193
189
|
* @param {*} [options] Override http request option.
|
|
194
190
|
* @throws {RequiredError}
|
|
195
191
|
*/
|
|
196
|
-
async listOrgInvitations(authorization
|
|
192
|
+
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
193
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
198
194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
199
195
|
},
|
|
@@ -210,18 +206,18 @@ export const InviteOrganizationsApiFactory = function (configuration?: Configura
|
|
|
210
206
|
/**
|
|
211
207
|
* This sends an email to invite an organization.
|
|
212
208
|
* @summary Invite an organization
|
|
213
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
214
209
|
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
210
|
+
* @param {string} [authorization] Bearer Token
|
|
215
211
|
* @param {*} [options] Override http request option.
|
|
216
212
|
* @throws {RequiredError}
|
|
217
213
|
*/
|
|
218
|
-
inviteOrg(
|
|
219
|
-
return localVarFp.inviteOrg(
|
|
214
|
+
inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: any): AxiosPromise<OrgInvitationResponseClass> {
|
|
215
|
+
return localVarFp.inviteOrg(inviteOrgRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
220
216
|
},
|
|
221
217
|
/**
|
|
222
218
|
* 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.
|
|
223
219
|
* @summary List org invitations
|
|
224
|
-
* @param {string} authorization Bearer Token
|
|
220
|
+
* @param {string} [authorization] Bearer Token
|
|
225
221
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
226
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
227
223
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -231,7 +227,7 @@ export const InviteOrganizationsApiFactory = function (configuration?: Configura
|
|
|
231
227
|
* @param {*} [options] Override http request option.
|
|
232
228
|
* @throws {RequiredError}
|
|
233
229
|
*/
|
|
234
|
-
listOrgInvitations(authorization
|
|
230
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
|
|
235
231
|
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
236
232
|
},
|
|
237
233
|
};
|
|
@@ -244,18 +240,18 @@ export const InviteOrganizationsApiFactory = function (configuration?: Configura
|
|
|
244
240
|
*/
|
|
245
241
|
export interface InviteOrganizationsApiInviteOrgRequest {
|
|
246
242
|
/**
|
|
247
|
-
*
|
|
248
|
-
* @type {
|
|
243
|
+
*
|
|
244
|
+
* @type {InviteOrgRequestDto}
|
|
249
245
|
* @memberof InviteOrganizationsApiInviteOrg
|
|
250
246
|
*/
|
|
251
|
-
readonly
|
|
247
|
+
readonly inviteOrgRequestDto: InviteOrgRequestDto
|
|
252
248
|
|
|
253
249
|
/**
|
|
254
|
-
*
|
|
255
|
-
* @type {
|
|
250
|
+
* Bearer Token
|
|
251
|
+
* @type {string}
|
|
256
252
|
* @memberof InviteOrganizationsApiInviteOrg
|
|
257
253
|
*/
|
|
258
|
-
readonly
|
|
254
|
+
readonly authorization?: string
|
|
259
255
|
}
|
|
260
256
|
|
|
261
257
|
/**
|
|
@@ -265,11 +261,11 @@ export interface InviteOrganizationsApiInviteOrgRequest {
|
|
|
265
261
|
*/
|
|
266
262
|
export interface InviteOrganizationsApiListOrgInvitationsRequest {
|
|
267
263
|
/**
|
|
268
|
-
* Bearer Token
|
|
264
|
+
* Bearer Token
|
|
269
265
|
* @type {string}
|
|
270
266
|
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
271
267
|
*/
|
|
272
|
-
readonly authorization
|
|
268
|
+
readonly authorization?: string
|
|
273
269
|
|
|
274
270
|
/**
|
|
275
271
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -330,7 +326,7 @@ export class InviteOrganizationsApi extends BaseAPI {
|
|
|
330
326
|
* @memberof InviteOrganizationsApi
|
|
331
327
|
*/
|
|
332
328
|
public inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig) {
|
|
333
|
-
return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.
|
|
329
|
+
return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
334
330
|
}
|
|
335
331
|
|
|
336
332
|
/**
|
|
@@ -341,7 +337,7 @@ export class InviteOrganizationsApi extends BaseAPI {
|
|
|
341
337
|
* @throws {RequiredError}
|
|
342
338
|
* @memberof InviteOrganizationsApi
|
|
343
339
|
*/
|
|
344
|
-
public listOrgInvitations(requestParameters: InviteOrganizationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig) {
|
|
340
|
+
public listOrgInvitations(requestParameters: InviteOrganizationsApiListOrgInvitationsRequest = {}, options?: AxiosRequestConfig) {
|
|
345
341
|
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));
|
|
346
342
|
}
|
|
347
343
|
}
|