@emilgroup/tenant-sdk 1.31.1-beta.2 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -2
- package/README.md +2 -2
- package/api/dashboard-api.ts +46 -193
- package/api/invite-users-api.ts +4 -4
- package/api/organization-migration-api.ts +113 -8
- package/base.ts +6 -1
- package/dist/api/dashboard-api.d.ts +42 -139
- package/dist/api/dashboard-api.js +44 -177
- package/dist/api/invite-users-api.d.ts +4 -4
- package/dist/api/invite-users-api.js +3 -3
- package/dist/api/organization-migration-api.d.ts +64 -8
- package/dist/api/organization-migration-api.js +101 -8
- package/dist/base.js +5 -1
- package/dist/models/{create-dashboard-v2-request-dto.d.ts → create-resources-migration-request-dto.d.ts} +12 -12
- package/dist/models/index.d.ts +1 -2
- package/dist/models/index.js +1 -2
- package/models/{create-dashboard-v2-request-dto.ts → create-resources-migration-request-dto.ts} +12 -12
- package/models/index.ts +1 -2
- package/package.json +1 -1
- package/dist/models/create-dashboard-v2-response-class.d.ts +0 -25
- package/dist/models/create-dashboard-v2-response-class.js +0 -15
- package/models/create-dashboard-v2-response-class.ts +0 -31
- /package/dist/models/{create-dashboard-v2-request-dto.js → create-resources-migration-request-dto.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -34,12 +34,11 @@ models/create-dashboard-group-request-dto.ts
|
|
|
34
34
|
models/create-dashboard-group-response-class.ts
|
|
35
35
|
models/create-dashboard-request-dto.ts
|
|
36
36
|
models/create-dashboard-response-class.ts
|
|
37
|
-
models/create-dashboard-v2-request-dto.ts
|
|
38
|
-
models/create-dashboard-v2-response-class.ts
|
|
39
37
|
models/create-data-report-request-dto.ts
|
|
40
38
|
models/create-data-report-response-class.ts
|
|
41
39
|
models/create-organization-migration-request-dto.ts
|
|
42
40
|
models/create-organization-migration-response-class.ts
|
|
41
|
+
models/create-resources-migration-request-dto.ts
|
|
43
42
|
models/create-tenant-request-dto.ts
|
|
44
43
|
models/custom-field-dto.ts
|
|
45
44
|
models/custom-schema-class.ts
|
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@1.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.32.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.32.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/dashboard-api.ts
CHANGED
|
@@ -25,10 +25,6 @@ import { CreateDashboardRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateDashboardResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import { CreateDashboardV2RequestDto } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { CreateDashboardV2ResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
28
|
import { DeleteResponseClass } from '../models';
|
|
33
29
|
// @ts-ignore
|
|
34
30
|
import { GetDashboardResponseClass } from '../models';
|
|
@@ -51,65 +47,16 @@ import { UpdateDashboardResponseClass } from '../models';
|
|
|
51
47
|
export const DashboardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
52
48
|
return {
|
|
53
49
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @summary Creates a new dashboard
|
|
56
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
57
|
-
* @param {string} [authorization] Bearer Token
|
|
58
|
-
* @param {*} [options] Override http request option.
|
|
59
|
-
* @throws {RequiredError}
|
|
60
|
-
*/
|
|
61
|
-
createDashboard: async (createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62
|
-
// verify required parameter 'createDashboardV2RequestDto' is not null or undefined
|
|
63
|
-
assertParamExists('createDashboard', 'createDashboardV2RequestDto', createDashboardV2RequestDto)
|
|
64
|
-
const localVarPath = `/tenantservice/v1/dashboards`;
|
|
65
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
67
|
-
let baseOptions;
|
|
68
|
-
let baseAccessToken;
|
|
69
|
-
if (configuration) {
|
|
70
|
-
baseOptions = configuration.baseOptions;
|
|
71
|
-
baseAccessToken = configuration.accessToken;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
75
|
-
const localVarHeaderParameter = {} as any;
|
|
76
|
-
const localVarQueryParameter = {} as any;
|
|
77
|
-
|
|
78
|
-
// authentication bearer required
|
|
79
|
-
// http bearer authentication required
|
|
80
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
81
|
-
|
|
82
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
83
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
89
|
-
|
|
90
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
93
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createDashboardV2RequestDto, localVarRequestOptions, configuration)
|
|
94
|
-
|
|
95
|
-
return {
|
|
96
|
-
url: toPathString(localVarUrlObj),
|
|
97
|
-
options: localVarRequestOptions,
|
|
98
|
-
};
|
|
99
|
-
},
|
|
100
|
-
/**
|
|
101
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
102
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
50
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
103
51
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
104
52
|
* @param {string} [authorization] Bearer Token
|
|
105
53
|
* @param {*} [options] Override http request option.
|
|
106
|
-
* @deprecated
|
|
107
54
|
* @throws {RequiredError}
|
|
108
55
|
*/
|
|
109
|
-
|
|
56
|
+
createDashboard: async (createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
110
57
|
// verify required parameter 'createDashboardRequestDto' is not null or undefined
|
|
111
|
-
assertParamExists('
|
|
112
|
-
const localVarPath = `/tenantservice/v1/dashboards
|
|
58
|
+
assertParamExists('createDashboard', 'createDashboardRequestDto', createDashboardRequestDto)
|
|
59
|
+
const localVarPath = `/tenantservice/v1/dashboards`;
|
|
113
60
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
114
61
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
115
62
|
let baseOptions;
|
|
@@ -146,8 +93,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
146
93
|
};
|
|
147
94
|
},
|
|
148
95
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @summary Deletes an existing dashboard
|
|
96
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
151
97
|
* @param {string} code
|
|
152
98
|
* @param {string} [authorization] Bearer Token
|
|
153
99
|
* @param {*} [options] Override http request option.
|
|
@@ -191,8 +137,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
191
137
|
};
|
|
192
138
|
},
|
|
193
139
|
/**
|
|
194
|
-
*
|
|
195
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
140
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
196
141
|
* @param {string} providerDashboardId
|
|
197
142
|
* @param {string} [authorization] Bearer Token
|
|
198
143
|
* @param {*} [options] Override http request option.
|
|
@@ -236,8 +181,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
236
181
|
};
|
|
237
182
|
},
|
|
238
183
|
/**
|
|
239
|
-
*
|
|
240
|
-
* @summary Retrieves a specific dashboard
|
|
184
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
241
185
|
* @param {string} code
|
|
242
186
|
* @param {string} [authorization] Bearer Token
|
|
243
187
|
* @param {*} [options] Override http request option.
|
|
@@ -281,8 +225,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
281
225
|
};
|
|
282
226
|
},
|
|
283
227
|
/**
|
|
284
|
-
*
|
|
285
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
228
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
286
229
|
* @param {string} providerDashboardId
|
|
287
230
|
* @param {string} [authorization] Bearer Token
|
|
288
231
|
* @param {*} [options] Override http request option.
|
|
@@ -326,8 +269,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
326
269
|
};
|
|
327
270
|
},
|
|
328
271
|
/**
|
|
329
|
-
*
|
|
330
|
-
* @summary Retrieves a list of dashboards
|
|
272
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
331
273
|
* @param {string} [authorization] Bearer Token
|
|
332
274
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
333
275
|
* @param {string} [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.
|
|
@@ -402,8 +344,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
402
344
|
};
|
|
403
345
|
},
|
|
404
346
|
/**
|
|
405
|
-
*
|
|
406
|
-
* @summary Publishes a dashboard for general access
|
|
347
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
407
348
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
408
349
|
* @param {string} [authorization] Bearer Token
|
|
409
350
|
* @param {*} [options] Override http request option.
|
|
@@ -449,8 +390,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
449
390
|
};
|
|
450
391
|
},
|
|
451
392
|
/**
|
|
452
|
-
*
|
|
453
|
-
* @summary Reverts dashboard analysis to previous state
|
|
393
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
454
394
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
455
395
|
* @param {string} [authorization] Bearer Token
|
|
456
396
|
* @param {*} [options] Override http request option.
|
|
@@ -496,8 +436,7 @@ export const DashboardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
496
436
|
};
|
|
497
437
|
},
|
|
498
438
|
/**
|
|
499
|
-
*
|
|
500
|
-
* @summary Updates an existing dashboard
|
|
439
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
501
440
|
* @param {string} code
|
|
502
441
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
503
442
|
* @param {string} [authorization] Bearer Token
|
|
@@ -557,33 +496,18 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
557
496
|
const localVarAxiosParamCreator = DashboardApiAxiosParamCreator(configuration)
|
|
558
497
|
return {
|
|
559
498
|
/**
|
|
560
|
-
*
|
|
561
|
-
* @summary Creates a new dashboard
|
|
562
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
563
|
-
* @param {string} [authorization] Bearer Token
|
|
564
|
-
* @param {*} [options] Override http request option.
|
|
565
|
-
* @throws {RequiredError}
|
|
566
|
-
*/
|
|
567
|
-
async createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardV2ResponseClass>> {
|
|
568
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createDashboard(createDashboardV2RequestDto, authorization, options);
|
|
569
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
570
|
-
},
|
|
571
|
-
/**
|
|
572
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
573
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
499
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
574
500
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
575
501
|
* @param {string} [authorization] Bearer Token
|
|
576
502
|
* @param {*} [options] Override http request option.
|
|
577
|
-
* @deprecated
|
|
578
503
|
* @throws {RequiredError}
|
|
579
504
|
*/
|
|
580
|
-
async
|
|
581
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
505
|
+
async createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardResponseClass>> {
|
|
506
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createDashboard(createDashboardRequestDto, authorization, options);
|
|
582
507
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
583
508
|
},
|
|
584
509
|
/**
|
|
585
|
-
*
|
|
586
|
-
* @summary Deletes an existing dashboard
|
|
510
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
587
511
|
* @param {string} code
|
|
588
512
|
* @param {string} [authorization] Bearer Token
|
|
589
513
|
* @param {*} [options] Override http request option.
|
|
@@ -594,8 +518,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
594
518
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
595
519
|
},
|
|
596
520
|
/**
|
|
597
|
-
*
|
|
598
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
521
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
599
522
|
* @param {string} providerDashboardId
|
|
600
523
|
* @param {string} [authorization] Bearer Token
|
|
601
524
|
* @param {*} [options] Override http request option.
|
|
@@ -606,8 +529,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
606
529
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
607
530
|
},
|
|
608
531
|
/**
|
|
609
|
-
*
|
|
610
|
-
* @summary Retrieves a specific dashboard
|
|
532
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
611
533
|
* @param {string} code
|
|
612
534
|
* @param {string} [authorization] Bearer Token
|
|
613
535
|
* @param {*} [options] Override http request option.
|
|
@@ -618,8 +540,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
618
540
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
619
541
|
},
|
|
620
542
|
/**
|
|
621
|
-
*
|
|
622
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
543
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
623
544
|
* @param {string} providerDashboardId
|
|
624
545
|
* @param {string} [authorization] Bearer Token
|
|
625
546
|
* @param {*} [options] Override http request option.
|
|
@@ -630,8 +551,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
630
551
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
631
552
|
},
|
|
632
553
|
/**
|
|
633
|
-
*
|
|
634
|
-
* @summary Retrieves a list of dashboards
|
|
554
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
635
555
|
* @param {string} [authorization] Bearer Token
|
|
636
556
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
637
557
|
* @param {string} [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.
|
|
@@ -648,8 +568,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
648
568
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
649
569
|
},
|
|
650
570
|
/**
|
|
651
|
-
*
|
|
652
|
-
* @summary Publishes a dashboard for general access
|
|
571
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
653
572
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
654
573
|
* @param {string} [authorization] Bearer Token
|
|
655
574
|
* @param {*} [options] Override http request option.
|
|
@@ -660,8 +579,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
660
579
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
661
580
|
},
|
|
662
581
|
/**
|
|
663
|
-
*
|
|
664
|
-
* @summary Reverts dashboard analysis to previous state
|
|
582
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
665
583
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
666
584
|
* @param {string} [authorization] Bearer Token
|
|
667
585
|
* @param {*} [options] Override http request option.
|
|
@@ -672,8 +590,7 @@ export const DashboardApiFp = function(configuration?: Configuration) {
|
|
|
672
590
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
673
591
|
},
|
|
674
592
|
/**
|
|
675
|
-
*
|
|
676
|
-
* @summary Updates an existing dashboard
|
|
593
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
677
594
|
* @param {string} code
|
|
678
595
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
679
596
|
* @param {string} [authorization] Bearer Token
|
|
@@ -695,31 +612,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
695
612
|
const localVarFp = DashboardApiFp(configuration)
|
|
696
613
|
return {
|
|
697
614
|
/**
|
|
698
|
-
*
|
|
699
|
-
* @summary Creates a new dashboard
|
|
700
|
-
* @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto
|
|
701
|
-
* @param {string} [authorization] Bearer Token
|
|
702
|
-
* @param {*} [options] Override http request option.
|
|
703
|
-
* @throws {RequiredError}
|
|
704
|
-
*/
|
|
705
|
-
createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardV2ResponseClass> {
|
|
706
|
-
return localVarFp.createDashboard(createDashboardV2RequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
707
|
-
},
|
|
708
|
-
/**
|
|
709
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
710
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
615
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
711
616
|
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
712
617
|
* @param {string} [authorization] Bearer Token
|
|
713
618
|
* @param {*} [options] Override http request option.
|
|
714
|
-
* @deprecated
|
|
715
619
|
* @throws {RequiredError}
|
|
716
620
|
*/
|
|
717
|
-
|
|
718
|
-
return localVarFp.
|
|
621
|
+
createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardResponseClass> {
|
|
622
|
+
return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
719
623
|
},
|
|
720
624
|
/**
|
|
721
|
-
*
|
|
722
|
-
* @summary Deletes an existing dashboard
|
|
625
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
723
626
|
* @param {string} code
|
|
724
627
|
* @param {string} [authorization] Bearer Token
|
|
725
628
|
* @param {*} [options] Override http request option.
|
|
@@ -729,8 +632,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
729
632
|
return localVarFp.deleteDashboard(code, authorization, options).then((request) => request(axios, basePath));
|
|
730
633
|
},
|
|
731
634
|
/**
|
|
732
|
-
*
|
|
733
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
635
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
734
636
|
* @param {string} providerDashboardId
|
|
735
637
|
* @param {string} [authorization] Bearer Token
|
|
736
638
|
* @param {*} [options] Override http request option.
|
|
@@ -740,8 +642,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
740
642
|
return localVarFp.getAnalysisEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
|
|
741
643
|
},
|
|
742
644
|
/**
|
|
743
|
-
*
|
|
744
|
-
* @summary Retrieves a specific dashboard
|
|
645
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
745
646
|
* @param {string} code
|
|
746
647
|
* @param {string} [authorization] Bearer Token
|
|
747
648
|
* @param {*} [options] Override http request option.
|
|
@@ -751,8 +652,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
751
652
|
return localVarFp.getDashboard(code, authorization, options).then((request) => request(axios, basePath));
|
|
752
653
|
},
|
|
753
654
|
/**
|
|
754
|
-
*
|
|
755
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
655
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
756
656
|
* @param {string} providerDashboardId
|
|
757
657
|
* @param {string} [authorization] Bearer Token
|
|
758
658
|
* @param {*} [options] Override http request option.
|
|
@@ -762,8 +662,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
762
662
|
return localVarFp.getDashboardEmbeddedUrl(providerDashboardId, authorization, options).then((request) => request(axios, basePath));
|
|
763
663
|
},
|
|
764
664
|
/**
|
|
765
|
-
*
|
|
766
|
-
* @summary Retrieves a list of dashboards
|
|
665
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
767
666
|
* @param {string} [authorization] Bearer Token
|
|
768
667
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
769
668
|
* @param {string} [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.
|
|
@@ -779,8 +678,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
779
678
|
return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
780
679
|
},
|
|
781
680
|
/**
|
|
782
|
-
*
|
|
783
|
-
* @summary Publishes a dashboard for general access
|
|
681
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
784
682
|
* @param {PublishDashboardRequestDto} publishDashboardRequestDto
|
|
785
683
|
* @param {string} [authorization] Bearer Token
|
|
786
684
|
* @param {*} [options] Override http request option.
|
|
@@ -790,8 +688,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
790
688
|
return localVarFp.publishDashboard(publishDashboardRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
791
689
|
},
|
|
792
690
|
/**
|
|
793
|
-
*
|
|
794
|
-
* @summary Reverts dashboard analysis to previous state
|
|
691
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
795
692
|
* @param {RevertAnalysisRequestDto} revertAnalysisRequestDto
|
|
796
693
|
* @param {string} [authorization] Bearer Token
|
|
797
694
|
* @param {*} [options] Override http request option.
|
|
@@ -801,8 +698,7 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
801
698
|
return localVarFp.revertAnalysis(revertAnalysisRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
802
699
|
},
|
|
803
700
|
/**
|
|
804
|
-
*
|
|
805
|
-
* @summary Updates an existing dashboard
|
|
701
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
806
702
|
* @param {string} code
|
|
807
703
|
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
808
704
|
* @param {string} [authorization] Bearer Token
|
|
@@ -821,38 +717,17 @@ export const DashboardApiFactory = function (configuration?: Configuration, base
|
|
|
821
717
|
* @interface DashboardApiCreateDashboardRequest
|
|
822
718
|
*/
|
|
823
719
|
export interface DashboardApiCreateDashboardRequest {
|
|
824
|
-
/**
|
|
825
|
-
*
|
|
826
|
-
* @type {CreateDashboardV2RequestDto}
|
|
827
|
-
* @memberof DashboardApiCreateDashboard
|
|
828
|
-
*/
|
|
829
|
-
readonly createDashboardV2RequestDto: CreateDashboardV2RequestDto
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* Bearer Token
|
|
833
|
-
* @type {string}
|
|
834
|
-
* @memberof DashboardApiCreateDashboard
|
|
835
|
-
*/
|
|
836
|
-
readonly authorization?: string
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* Request parameters for createDashboardLegacy operation in DashboardApi.
|
|
841
|
-
* @export
|
|
842
|
-
* @interface DashboardApiCreateDashboardLegacyRequest
|
|
843
|
-
*/
|
|
844
|
-
export interface DashboardApiCreateDashboardLegacyRequest {
|
|
845
720
|
/**
|
|
846
721
|
*
|
|
847
722
|
* @type {CreateDashboardRequestDto}
|
|
848
|
-
* @memberof
|
|
723
|
+
* @memberof DashboardApiCreateDashboard
|
|
849
724
|
*/
|
|
850
725
|
readonly createDashboardRequestDto: CreateDashboardRequestDto
|
|
851
726
|
|
|
852
727
|
/**
|
|
853
728
|
* Bearer Token
|
|
854
729
|
* @type {string}
|
|
855
|
-
* @memberof
|
|
730
|
+
* @memberof DashboardApiCreateDashboard
|
|
856
731
|
*/
|
|
857
732
|
readonly authorization?: string
|
|
858
733
|
}
|
|
@@ -1082,33 +957,18 @@ export interface DashboardApiUpdateDashboardRequest {
|
|
|
1082
957
|
*/
|
|
1083
958
|
export class DashboardApi extends BaseAPI {
|
|
1084
959
|
/**
|
|
1085
|
-
*
|
|
1086
|
-
* @summary Creates a new dashboard
|
|
960
|
+
* undefined **Required Permissions** \"reporting.dashboards.create\"
|
|
1087
961
|
* @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
|
|
1088
962
|
* @param {*} [options] Override http request option.
|
|
1089
963
|
* @throws {RequiredError}
|
|
1090
964
|
* @memberof DashboardApi
|
|
1091
965
|
*/
|
|
1092
966
|
public createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig) {
|
|
1093
|
-
return DashboardApiFp(this.configuration).createDashboard(requestParameters.
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\"
|
|
1098
|
-
* @summary Creates a new dashboard (DEPRECATED)
|
|
1099
|
-
* @param {DashboardApiCreateDashboardLegacyRequest} requestParameters Request parameters.
|
|
1100
|
-
* @param {*} [options] Override http request option.
|
|
1101
|
-
* @deprecated
|
|
1102
|
-
* @throws {RequiredError}
|
|
1103
|
-
* @memberof DashboardApi
|
|
1104
|
-
*/
|
|
1105
|
-
public createDashboardLegacy(requestParameters: DashboardApiCreateDashboardLegacyRequest, options?: AxiosRequestConfig) {
|
|
1106
|
-
return DashboardApiFp(this.configuration).createDashboardLegacy(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
967
|
+
return DashboardApiFp(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1107
968
|
}
|
|
1108
969
|
|
|
1109
970
|
/**
|
|
1110
|
-
*
|
|
1111
|
-
* @summary Deletes an existing dashboard
|
|
971
|
+
* undefined **Required Permissions** \"reporting.dashboards.delete\"
|
|
1112
972
|
* @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
|
|
1113
973
|
* @param {*} [options] Override http request option.
|
|
1114
974
|
* @throws {RequiredError}
|
|
@@ -1119,8 +979,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1119
979
|
}
|
|
1120
980
|
|
|
1121
981
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
* @summary Generates an embedded URL for dashboard editing
|
|
982
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
1124
983
|
* @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters.
|
|
1125
984
|
* @param {*} [options] Override http request option.
|
|
1126
985
|
* @throws {RequiredError}
|
|
@@ -1131,8 +990,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1131
990
|
}
|
|
1132
991
|
|
|
1133
992
|
/**
|
|
1134
|
-
*
|
|
1135
|
-
* @summary Retrieves a specific dashboard
|
|
993
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
1136
994
|
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
1137
995
|
* @param {*} [options] Override http request option.
|
|
1138
996
|
* @throws {RequiredError}
|
|
@@ -1143,8 +1001,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1143
1001
|
}
|
|
1144
1002
|
|
|
1145
1003
|
/**
|
|
1146
|
-
*
|
|
1147
|
-
* @summary Generates an embedded URL for dashboard viewing
|
|
1004
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
1148
1005
|
* @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters.
|
|
1149
1006
|
* @param {*} [options] Override http request option.
|
|
1150
1007
|
* @throws {RequiredError}
|
|
@@ -1155,8 +1012,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1155
1012
|
}
|
|
1156
1013
|
|
|
1157
1014
|
/**
|
|
1158
|
-
*
|
|
1159
|
-
* @summary Retrieves a list of dashboards
|
|
1015
|
+
* undefined **Required Permissions** \"reporting.dashboards.view\"
|
|
1160
1016
|
* @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
|
|
1161
1017
|
* @param {*} [options] Override http request option.
|
|
1162
1018
|
* @throws {RequiredError}
|
|
@@ -1167,8 +1023,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1167
1023
|
}
|
|
1168
1024
|
|
|
1169
1025
|
/**
|
|
1170
|
-
*
|
|
1171
|
-
* @summary Publishes a dashboard for general access
|
|
1026
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
1172
1027
|
* @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters.
|
|
1173
1028
|
* @param {*} [options] Override http request option.
|
|
1174
1029
|
* @throws {RequiredError}
|
|
@@ -1179,8 +1034,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1179
1034
|
}
|
|
1180
1035
|
|
|
1181
1036
|
/**
|
|
1182
|
-
*
|
|
1183
|
-
* @summary Reverts dashboard analysis to previous state
|
|
1037
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
1184
1038
|
* @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters.
|
|
1185
1039
|
* @param {*} [options] Override http request option.
|
|
1186
1040
|
* @throws {RequiredError}
|
|
@@ -1191,8 +1045,7 @@ export class DashboardApi extends BaseAPI {
|
|
|
1191
1045
|
}
|
|
1192
1046
|
|
|
1193
1047
|
/**
|
|
1194
|
-
*
|
|
1195
|
-
* @summary Updates an existing dashboard
|
|
1048
|
+
* undefined **Required Permissions** \"reporting.dashboards.update\"
|
|
1196
1049
|
* @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
|
|
1197
1050
|
* @param {*} [options] Override http request option.
|
|
1198
1051
|
* @throws {RequiredError}
|
package/api/invite-users-api.ts
CHANGED
|
@@ -189,7 +189,7 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
189
189
|
* @param {string} [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.
|
|
190
190
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
|
|
191
191
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
192
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
192
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
|
|
193
193
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
|
|
194
194
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
@@ -311,7 +311,7 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
|
|
|
311
311
|
* @param {string} [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.
|
|
312
312
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
|
|
313
313
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
314
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
314
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
|
|
315
315
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
|
|
316
316
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
|
|
317
317
|
* @param {*} [options] Override http request option.
|
|
@@ -372,7 +372,7 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
|
|
|
372
372
|
* @param {string} [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.
|
|
373
373
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
|
|
374
374
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
375
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
375
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
|
|
376
376
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: organizations<i>
|
|
377
377
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern, partnerCode</i>
|
|
378
378
|
* @param {*} [options] Override http request option.
|
|
@@ -489,7 +489,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
489
489
|
readonly search?: string
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
492
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, expiresOn</i>
|
|
493
493
|
* @type {string}
|
|
494
494
|
* @memberof InviteUsersApiListInvites
|
|
495
495
|
*/
|