@emilgroup/tenant-sdk 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/.openapi-generator/FILES +57 -14
- package/README.md +2 -2
- package/api/alerts-api.ts +860 -0
- package/api/custom-schema-api.ts +60 -52
- package/api/dashboard-api.ts +792 -0
- package/api/data-report-api.ts +75 -65
- package/api/data-report-executor-api.ts +26 -10
- package/api/invite-users-api.ts +79 -75
- package/api/reports-api.ts +860 -0
- package/api/scenario-analysis-api.ts +977 -0
- package/api/settings-api.ts +484 -0
- package/api/tariff-comparisons-api.ts +381 -0
- package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
- package/api/users-api.ts +148 -138
- package/api.ts +14 -4
- package/dist/api/alerts-api.d.ts +479 -0
- package/dist/api/alerts-api.js +752 -0
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +38 -31
- package/dist/api/dashboard-api.d.ts +434 -0
- package/dist/api/dashboard-api.js +724 -0
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +49 -40
- package/dist/api/data-report-executor-api.d.ts +16 -7
- package/dist/api/data-report-executor-api.js +17 -9
- package/dist/api/invite-users-api.d.ts +60 -63
- package/dist/api/invite-users-api.js +49 -40
- package/dist/api/reports-api.d.ts +479 -0
- package/dist/api/reports-api.js +752 -0
- package/dist/api/scenario-analysis-api.d.ts +529 -0
- package/dist/api/scenario-analysis-api.js +895 -0
- package/dist/api/settings-api.d.ts +264 -0
- package/dist/api/settings-api.js +509 -0
- package/dist/api/tariff-comparisons-api.d.ts +206 -0
- package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
- package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
- package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
- package/dist/api/users-api.d.ts +109 -113
- package/dist/api/users-api.js +93 -76
- package/dist/api.d.ts +7 -2
- package/dist/api.js +7 -2
- package/dist/models/alert-class.d.ts +90 -0
- package/dist/models/alert-history-class.d.ts +108 -0
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/channel-response-class.d.ts +30 -0
- package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
- package/dist/models/compare-tariffs-request-dto.js +22 -0
- package/dist/models/compare-tariffs-response-class.d.ts +31 -0
- package/dist/models/condition-dto.d.ts +43 -0
- package/dist/models/condition-dto.js +22 -0
- package/dist/models/create-alert-request-dto.d.ts +79 -0
- package/dist/models/create-alert-request-dto.js +27 -0
- package/dist/models/create-alert-response-class.d.ts +25 -0
- package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -2
- package/dist/models/create-dashboard-request-dto.d.ts +70 -0
- package/dist/models/create-dashboard-request-dto.js +29 -0
- package/dist/models/create-dashboard-response-class.d.ts +25 -0
- package/dist/models/create-report-request-dto.d.ts +49 -0
- package/dist/models/create-report-request-dto.js +22 -0
- package/dist/models/create-report-response-class.d.ts +25 -0
- package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/create-scenario-analysis-request-dto.js +22 -0
- package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/dashboard-class.d.ts +78 -0
- package/dist/models/get-alert-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
- package/dist/models/get-report-response-class.d.ts +25 -0
- package/dist/models/get-report-response-class.js +15 -0
- package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/get-scenario-analysis-response-class.js +15 -0
- package/dist/models/grouped-tariff-class.d.ts +30 -0
- package/dist/models/grouped-tariff-class.js +15 -0
- package/dist/models/index.d.ts +50 -12
- package/dist/models/index.js +50 -12
- package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
- package/dist/models/insurance-company-response-class.js +15 -0
- package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
- package/dist/models/insurance-response-class.js +15 -0
- package/dist/models/invite-user-request-dto.d.ts +2 -8
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
- package/dist/models/list-alert-history-response-class.js +15 -0
- package/dist/models/list-alerts-response-class.d.ts +31 -0
- package/dist/models/list-alerts-response-class.js +15 -0
- package/dist/models/list-channels-response-class.d.ts +25 -0
- package/dist/models/list-channels-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +31 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-insurance-companies-response-class.js +15 -0
- package/dist/models/list-report-history-response-class.d.ts +31 -0
- package/dist/models/list-report-history-response-class.js +15 -0
- package/dist/models/list-reports-response-class.d.ts +31 -0
- package/dist/models/list-reports-response-class.js +15 -0
- package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
- package/dist/models/list-scenario-analyses-response-class.js +15 -0
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
- package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
- package/dist/models/list-tariffs-response-class.d.ts +25 -0
- package/dist/models/list-tariffs-response-class.js +15 -0
- package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
- package/dist/models/list-user-subscriptions-response-class.js +15 -0
- package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
- package/dist/models/manage-subscription-request-dto.js +15 -0
- package/dist/models/manage-subscription-response-class.d.ts +25 -0
- package/dist/models/manage-subscription-response-class.js +15 -0
- package/dist/models/report-class.d.ts +66 -0
- package/dist/models/report-class.js +15 -0
- package/dist/models/report-history-class.d.ts +48 -0
- package/dist/models/report-history-class.js +15 -0
- package/dist/models/scenario-analysis-class.d.ts +108 -0
- package/dist/models/scenario-analysis-class.js +15 -0
- package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
- package/dist/models/scenario-analysis-date-response-class.js +15 -0
- package/dist/models/set-setting-request-dto.d.ts +4 -10
- package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
- package/dist/models/set-tenant-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +2 -9
- package/dist/models/update-alert-request-dto.d.ts +72 -0
- package/dist/models/update-alert-request-dto.js +21 -0
- package/dist/models/update-alert-response-class.d.ts +25 -0
- package/dist/models/update-alert-response-class.js +15 -0
- package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -2
- package/dist/models/update-dashboard-request-dto.d.ts +76 -0
- package/dist/models/update-dashboard-request-dto.js +29 -0
- package/dist/models/update-dashboard-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-response-class.js +15 -0
- package/dist/models/update-report-request-dto.d.ts +55 -0
- package/dist/models/update-report-request-dto.js +22 -0
- package/dist/models/update-report-response-class.d.ts +25 -0
- package/dist/models/update-report-response-class.js +15 -0
- package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/update-scenario-analysis-request-dto.js +22 -0
- package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/update-scenario-analysis-response-class.js +15 -0
- package/dist/models/user-class.d.ts +5 -13
- package/models/alert-class.ts +96 -0
- package/models/alert-history-class.ts +114 -0
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/channel-response-class.ts +36 -0
- package/models/compare-tariffs-request-dto.ts +46 -0
- package/models/compare-tariffs-response-class.ts +37 -0
- package/models/condition-dto.ts +52 -0
- package/models/create-alert-request-dto.ts +89 -0
- package/models/create-alert-response-class.ts +31 -0
- package/models/create-custom-schema-request-dto.ts +1 -2
- package/models/create-dashboard-request-dto.ts +81 -0
- package/models/create-dashboard-response-class.ts +31 -0
- package/models/create-report-request-dto.ts +58 -0
- package/models/create-report-response-class.ts +31 -0
- package/models/create-scenario-analysis-request-dto.ts +83 -0
- package/models/create-scenario-analysis-response-class.ts +31 -0
- package/models/dashboard-class.ts +84 -0
- package/models/get-alert-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
- package/models/get-report-response-class.ts +31 -0
- package/models/get-scenario-analysis-response-class.ts +31 -0
- package/models/grouped-tariff-class.ts +36 -0
- package/models/index.ts +50 -12
- package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
- package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
- package/models/invite-user-request-dto.ts +2 -8
- package/models/invite-users-request-dto.ts +2 -2
- package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
- package/models/list-alerts-response-class.ts +37 -0
- package/models/list-channels-response-class.ts +31 -0
- package/models/list-dashboards-response-class.ts +37 -0
- package/models/list-insurance-companies-response-class.ts +31 -0
- package/models/list-report-history-response-class.ts +37 -0
- package/models/list-reports-response-class.ts +37 -0
- package/models/list-scenario-analyses-response-class.ts +37 -0
- package/models/list-scenario-analysis-dates-response-class.ts +31 -0
- package/models/list-tariff-insurance-companies-response-class.ts +31 -0
- package/models/list-tariffs-response-class.ts +31 -0
- package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
- package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
- package/models/manage-subscription-response-class.ts +31 -0
- package/models/report-class.ts +72 -0
- package/models/report-history-class.ts +54 -0
- package/models/scenario-analysis-class.ts +114 -0
- package/models/scenario-analysis-date-response-class.ts +42 -0
- package/models/set-setting-request-dto.ts +4 -10
- package/models/set-tenant-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +2 -9
- package/models/update-alert-request-dto.ts +81 -0
- package/models/update-alert-response-class.ts +31 -0
- package/models/update-custom-schema-request-dto.ts +1 -2
- package/models/update-dashboard-request-dto.ts +87 -0
- package/models/update-dashboard-response-class.ts +31 -0
- package/models/update-report-request-dto.ts +64 -0
- package/models/update-report-response-class.ts +31 -0
- package/models/update-scenario-analysis-request-dto.ts +83 -0
- package/models/update-scenario-analysis-response-class.ts +31 -0
- package/models/user-class.ts +5 -13
- package/package.json +1 -1
- package/api/organizations-api.ts +0 -339
- package/dist/api/invite-organizations-api.d.ts +0 -198
- package/dist/models/get-organization-response-class.d.ts +0 -25
- package/dist/models/invite-org-request-dto.d.ts +0 -78
- package/dist/models/invite-users-response-class.d.ts +0 -24
- package/dist/models/org-invitation-class.d.ts +0 -103
- package/dist/models/org-invitation-response-class.d.ts +0 -25
- package/dist/models/organization-class.d.ts +0 -84
- package/models/get-organization-response-class.ts +0 -31
- package/models/invite-org-request-dto.ts +0 -84
- package/models/invite-users-response-class.ts +0 -30
- package/models/org-invitation-class.ts +0 -109
- package/models/org-invitation-response-class.ts +0 -31
- package/models/organization-class.ts +0 -90
- /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
- /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
- /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
- /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
- /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
- /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
- /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
- /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
- /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
- /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
- /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
- /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateDashboardRequestDto } from '../models';
|
|
16
|
+
import { CreateDashboardResponseClass } from '../models';
|
|
17
|
+
import { GetDashboardResponseClass } from '../models';
|
|
18
|
+
import { GetEmbeddedUrlResponseClass } from '../models';
|
|
19
|
+
import { ListDashboardsResponseClass } from '../models';
|
|
20
|
+
import { UpdateDashboardRequestDto } from '../models';
|
|
21
|
+
import { UpdateDashboardResponseClass } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* DashboardApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
createDashboard: (createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param {string} id
|
|
38
|
+
* @param {string} [authorization] Bearer Token
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
deleteDashboard: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @param {string} code
|
|
46
|
+
* @param {string} code2 Dashboard code
|
|
47
|
+
* @param {string} [authorization] Bearer Token
|
|
48
|
+
* @param {string} [expand] Fields to expand response by
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
getDashboard: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @param {string} providerDashboardId
|
|
56
|
+
* @param {string} providerName
|
|
57
|
+
* @param {string} [authorization] Bearer Token
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
getEmbeddedUrl: (providerDashboardId: string, providerName: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {string} [authorization] Bearer Token
|
|
65
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
66
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
67
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
68
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
69
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
70
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
listDashboards: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @param {number} id
|
|
78
|
+
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
79
|
+
* @param {string} [authorization] Bearer Token
|
|
80
|
+
* @param {*} [options] Override http request option.
|
|
81
|
+
* @throws {RequiredError}
|
|
82
|
+
*/
|
|
83
|
+
updateDashboard: (id: number, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* DashboardApi - functional programming interface
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
93
|
+
* @param {string} [authorization] Bearer Token
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDashboardResponseClass>>;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @param {string} id
|
|
101
|
+
* @param {string} [authorization] Bearer Token
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
deleteDashboard(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @param {string} code
|
|
109
|
+
* @param {string} code2 Dashboard code
|
|
110
|
+
* @param {string} [authorization] Bearer Token
|
|
111
|
+
* @param {string} [expand] Fields to expand response by
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
getDashboard(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDashboardResponseClass>>;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @param {string} providerDashboardId
|
|
119
|
+
* @param {string} providerName
|
|
120
|
+
* @param {string} [authorization] Bearer Token
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
getEmbeddedUrl(providerDashboardId: string, providerName: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmbeddedUrlResponseClass>>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @param {string} [authorization] Bearer Token
|
|
128
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
129
|
+
* @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.
|
|
130
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
131
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
132
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
133
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
listDashboards(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDashboardsResponseClass>>;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @param {number} id
|
|
141
|
+
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
142
|
+
* @param {string} [authorization] Bearer Token
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
*/
|
|
146
|
+
updateDashboard(id: number, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDashboardResponseClass>>;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* DashboardApi - factory interface
|
|
150
|
+
* @export
|
|
151
|
+
*/
|
|
152
|
+
export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @param {CreateDashboardRequestDto} createDashboardRequestDto
|
|
156
|
+
* @param {string} [authorization] Bearer Token
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
createDashboard(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDashboardResponseClass>;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @param {string} id
|
|
164
|
+
* @param {string} [authorization] Bearer Token
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
deleteDashboard(id: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @param {string} code
|
|
172
|
+
* @param {string} code2 Dashboard code
|
|
173
|
+
* @param {string} [authorization] Bearer Token
|
|
174
|
+
* @param {string} [expand] Fields to expand response by
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
getDashboard(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetDashboardResponseClass>;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @param {string} providerDashboardId
|
|
182
|
+
* @param {string} providerName
|
|
183
|
+
* @param {string} [authorization] Bearer Token
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
getEmbeddedUrl(providerDashboardId: string, providerName: string, authorization?: string, options?: any): AxiosPromise<GetEmbeddedUrlResponseClass>;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @param {string} [authorization] Bearer Token
|
|
191
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
192
|
+
* @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.
|
|
193
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
194
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
195
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
196
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
listDashboards(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListDashboardsResponseClass>;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @param {number} id
|
|
204
|
+
* @param {UpdateDashboardRequestDto} updateDashboardRequestDto
|
|
205
|
+
* @param {string} [authorization] Bearer Token
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
updateDashboard(id: number, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateDashboardResponseClass>;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Request parameters for createDashboard operation in DashboardApi.
|
|
213
|
+
* @export
|
|
214
|
+
* @interface DashboardApiCreateDashboardRequest
|
|
215
|
+
*/
|
|
216
|
+
export interface DashboardApiCreateDashboardRequest {
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {CreateDashboardRequestDto}
|
|
220
|
+
* @memberof DashboardApiCreateDashboard
|
|
221
|
+
*/
|
|
222
|
+
readonly createDashboardRequestDto: CreateDashboardRequestDto;
|
|
223
|
+
/**
|
|
224
|
+
* Bearer Token
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof DashboardApiCreateDashboard
|
|
227
|
+
*/
|
|
228
|
+
readonly authorization?: string;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Request parameters for deleteDashboard operation in DashboardApi.
|
|
232
|
+
* @export
|
|
233
|
+
* @interface DashboardApiDeleteDashboardRequest
|
|
234
|
+
*/
|
|
235
|
+
export interface DashboardApiDeleteDashboardRequest {
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof DashboardApiDeleteDashboard
|
|
240
|
+
*/
|
|
241
|
+
readonly id: string;
|
|
242
|
+
/**
|
|
243
|
+
* Bearer Token
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof DashboardApiDeleteDashboard
|
|
246
|
+
*/
|
|
247
|
+
readonly authorization?: string;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Request parameters for getDashboard operation in DashboardApi.
|
|
251
|
+
* @export
|
|
252
|
+
* @interface DashboardApiGetDashboardRequest
|
|
253
|
+
*/
|
|
254
|
+
export interface DashboardApiGetDashboardRequest {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {string}
|
|
258
|
+
* @memberof DashboardApiGetDashboard
|
|
259
|
+
*/
|
|
260
|
+
readonly code: string;
|
|
261
|
+
/**
|
|
262
|
+
* Dashboard code
|
|
263
|
+
* @type {string}
|
|
264
|
+
* @memberof DashboardApiGetDashboard
|
|
265
|
+
*/
|
|
266
|
+
readonly code2: string;
|
|
267
|
+
/**
|
|
268
|
+
* Bearer Token
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof DashboardApiGetDashboard
|
|
271
|
+
*/
|
|
272
|
+
readonly authorization?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Fields to expand response by
|
|
275
|
+
* @type {string}
|
|
276
|
+
* @memberof DashboardApiGetDashboard
|
|
277
|
+
*/
|
|
278
|
+
readonly expand?: string;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Request parameters for getEmbeddedUrl operation in DashboardApi.
|
|
282
|
+
* @export
|
|
283
|
+
* @interface DashboardApiGetEmbeddedUrlRequest
|
|
284
|
+
*/
|
|
285
|
+
export interface DashboardApiGetEmbeddedUrlRequest {
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @type {string}
|
|
289
|
+
* @memberof DashboardApiGetEmbeddedUrl
|
|
290
|
+
*/
|
|
291
|
+
readonly providerDashboardId: string;
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* @type {string}
|
|
295
|
+
* @memberof DashboardApiGetEmbeddedUrl
|
|
296
|
+
*/
|
|
297
|
+
readonly providerName: string;
|
|
298
|
+
/**
|
|
299
|
+
* Bearer Token
|
|
300
|
+
* @type {string}
|
|
301
|
+
* @memberof DashboardApiGetEmbeddedUrl
|
|
302
|
+
*/
|
|
303
|
+
readonly authorization?: string;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Request parameters for listDashboards operation in DashboardApi.
|
|
307
|
+
* @export
|
|
308
|
+
* @interface DashboardApiListDashboardsRequest
|
|
309
|
+
*/
|
|
310
|
+
export interface DashboardApiListDashboardsRequest {
|
|
311
|
+
/**
|
|
312
|
+
* Bearer Token
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof DashboardApiListDashboards
|
|
315
|
+
*/
|
|
316
|
+
readonly authorization?: string;
|
|
317
|
+
/**
|
|
318
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
319
|
+
* @type {any}
|
|
320
|
+
* @memberof DashboardApiListDashboards
|
|
321
|
+
*/
|
|
322
|
+
readonly pageSize?: any;
|
|
323
|
+
/**
|
|
324
|
+
* 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.
|
|
325
|
+
* @type {any}
|
|
326
|
+
* @memberof DashboardApiListDashboards
|
|
327
|
+
*/
|
|
328
|
+
readonly pageToken?: any;
|
|
329
|
+
/**
|
|
330
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
331
|
+
* @type {any}
|
|
332
|
+
* @memberof DashboardApiListDashboards
|
|
333
|
+
*/
|
|
334
|
+
readonly filter?: any;
|
|
335
|
+
/**
|
|
336
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
337
|
+
* @type {any}
|
|
338
|
+
* @memberof DashboardApiListDashboards
|
|
339
|
+
*/
|
|
340
|
+
readonly search?: any;
|
|
341
|
+
/**
|
|
342
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
343
|
+
* @type {any}
|
|
344
|
+
* @memberof DashboardApiListDashboards
|
|
345
|
+
*/
|
|
346
|
+
readonly order?: any;
|
|
347
|
+
/**
|
|
348
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
349
|
+
* @type {any}
|
|
350
|
+
* @memberof DashboardApiListDashboards
|
|
351
|
+
*/
|
|
352
|
+
readonly expand?: any;
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Request parameters for updateDashboard operation in DashboardApi.
|
|
356
|
+
* @export
|
|
357
|
+
* @interface DashboardApiUpdateDashboardRequest
|
|
358
|
+
*/
|
|
359
|
+
export interface DashboardApiUpdateDashboardRequest {
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @type {number}
|
|
363
|
+
* @memberof DashboardApiUpdateDashboard
|
|
364
|
+
*/
|
|
365
|
+
readonly id: number;
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @type {UpdateDashboardRequestDto}
|
|
369
|
+
* @memberof DashboardApiUpdateDashboard
|
|
370
|
+
*/
|
|
371
|
+
readonly updateDashboardRequestDto: UpdateDashboardRequestDto;
|
|
372
|
+
/**
|
|
373
|
+
* Bearer Token
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof DashboardApiUpdateDashboard
|
|
376
|
+
*/
|
|
377
|
+
readonly authorization?: string;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* DashboardApi - object-oriented interface
|
|
381
|
+
* @export
|
|
382
|
+
* @class DashboardApi
|
|
383
|
+
* @extends {BaseAPI}
|
|
384
|
+
*/
|
|
385
|
+
export declare class DashboardApi extends BaseAPI {
|
|
386
|
+
/**
|
|
387
|
+
*
|
|
388
|
+
* @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
* @memberof DashboardApi
|
|
392
|
+
*/
|
|
393
|
+
createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDashboardResponseClass, any>>;
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
* @memberof DashboardApi
|
|
400
|
+
*/
|
|
401
|
+
deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
* @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
* @memberof DashboardApi
|
|
408
|
+
*/
|
|
409
|
+
getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDashboardResponseClass, any>>;
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @param {DashboardApiGetEmbeddedUrlRequest} requestParameters Request parameters.
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @throws {RequiredError}
|
|
415
|
+
* @memberof DashboardApi
|
|
416
|
+
*/
|
|
417
|
+
getEmbeddedUrl(requestParameters: DashboardApiGetEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmbeddedUrlResponseClass, any>>;
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
* @memberof DashboardApi
|
|
424
|
+
*/
|
|
425
|
+
listDashboards(requestParameters?: DashboardApiListDashboardsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDashboardsResponseClass, any>>;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
* @memberof DashboardApi
|
|
432
|
+
*/
|
|
433
|
+
updateDashboard(requestParameters: DashboardApiUpdateDashboardRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDashboardResponseClass, any>>;
|
|
434
|
+
}
|