@emilgroup/tenant-sdk-node 1.34.1-beta.49 → 1.39.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 +0 -17
- package/README.md +2 -2
- package/api/dashboard-api.ts +0 -103
- package/api.ts +0 -4
- package/dist/api/dashboard-api.d.ts +0 -56
- package/dist/api/dashboard-api.js +0 -92
- package/dist/api.d.ts +0 -2
- package/dist/api.js +0 -2
- package/dist/models/dbconfig-dto.d.ts +0 -6
- package/dist/models/index.d.ts +0 -15
- package/dist/models/index.js +0 -15
- package/models/dbconfig-dto.ts +0 -6
- package/models/index.ts +0 -15
- package/package.json +1 -1
- package/api/report-schedule-api.ts +0 -697
- package/api/report-schedule-logs-api.ts +0 -250
- package/dist/api/report-schedule-api.d.ts +0 -394
- package/dist/api/report-schedule-api.js +0 -646
- package/dist/api/report-schedule-logs-api.d.ts +0 -150
- package/dist/api/report-schedule-logs-api.js +0 -264
- package/dist/models/create-report-schedule-request-dto.d.ts +0 -115
- package/dist/models/create-report-schedule-request-dto.js +0 -15
- package/dist/models/create-report-schedule-response-class.d.ts +0 -25
- package/dist/models/create-report-schedule-response-class.js +0 -15
- package/dist/models/dashboard-metadata-class.d.ts +0 -43
- package/dist/models/dashboard-metadata-class.js +0 -15
- package/dist/models/get-dashboard-metadata-response-class.d.ts +0 -25
- package/dist/models/get-dashboard-metadata-response-class.js +0 -15
- package/dist/models/get-report-schedule-response-class.d.ts +0 -25
- package/dist/models/get-report-schedule-response-class.js +0 -15
- package/dist/models/list-report-schedule-logs-response-class.d.ts +0 -43
- package/dist/models/list-report-schedule-logs-response-class.js +0 -15
- package/dist/models/list-report-schedules-response-class.d.ts +0 -43
- package/dist/models/list-report-schedules-response-class.js +0 -15
- package/dist/models/quick-sight-analysis-parameter-class.d.ts +0 -36
- package/dist/models/quick-sight-analysis-parameter-class.js +0 -15
- package/dist/models/report-schedule-class.d.ts +0 -157
- package/dist/models/report-schedule-class.js +0 -15
- package/dist/models/report-schedule-log-class.d.ts +0 -133
- package/dist/models/report-schedule-log-class.js +0 -15
- package/dist/models/report-schedule-parameter-class.d.ts +0 -42
- package/dist/models/report-schedule-parameter-class.js +0 -15
- package/dist/models/report-schedule-parameter-dto.d.ts +0 -42
- package/dist/models/report-schedule-parameter-dto.js +0 -15
- package/dist/models/report-schedule-parameter-value-class.d.ts +0 -30
- package/dist/models/report-schedule-parameter-value-class.js +0 -15
- package/dist/models/update-report-schedule-request-dto.d.ts +0 -121
- package/dist/models/update-report-schedule-request-dto.js +0 -15
- package/dist/models/update-report-schedule-response-class.d.ts +0 -25
- package/dist/models/update-report-schedule-response-class.js +0 -15
- package/models/create-report-schedule-request-dto.ts +0 -121
- package/models/create-report-schedule-response-class.ts +0 -31
- package/models/dashboard-metadata-class.ts +0 -49
- package/models/get-dashboard-metadata-response-class.ts +0 -31
- package/models/get-report-schedule-response-class.ts +0 -31
- package/models/list-report-schedule-logs-response-class.ts +0 -49
- package/models/list-report-schedules-response-class.ts +0 -49
- package/models/quick-sight-analysis-parameter-class.ts +0 -42
- package/models/report-schedule-class.ts +0 -163
- package/models/report-schedule-log-class.ts +0 -139
- package/models/report-schedule-parameter-class.ts +0 -48
- package/models/report-schedule-parameter-dto.ts +0 -48
- package/models/report-schedule-parameter-value-class.ts +0 -36
- package/models/update-report-schedule-request-dto.ts +0 -127
- package/models/update-report-schedule-response-class.ts +0 -31
|
@@ -1,697 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL Tenant Service
|
|
5
|
-
* The EMIL TenantService API description
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: kontakt@emil.de
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
-
import { Configuration } from '../configuration';
|
|
18
|
-
// Some imports not used depending on template conditions
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { CreateReportScheduleRequestDto } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CreateReportScheduleResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { DeleteResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { GetReportScheduleResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { ListReportSchedulesResponseClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { UpdateReportScheduleRequestDto } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { UpdateReportScheduleResponseClass } from '../models';
|
|
37
|
-
// URLSearchParams not necessarily used
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
import { URL, URLSearchParams } from 'url';
|
|
40
|
-
const FormData = require('form-data');
|
|
41
|
-
/**
|
|
42
|
-
* ReportScheduleApi - axios parameter creator
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
|
-
export const ReportScheduleApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
46
|
-
return {
|
|
47
|
-
/**
|
|
48
|
-
* Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
|
|
49
|
-
* @summary Create the report-schedule
|
|
50
|
-
* @param {CreateReportScheduleRequestDto} createReportScheduleRequestDto
|
|
51
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
52
|
-
* @param {*} [options] Override http request option.
|
|
53
|
-
* @throws {RequiredError}
|
|
54
|
-
*/
|
|
55
|
-
createReportSchedule: async (createReportScheduleRequestDto: CreateReportScheduleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56
|
-
// verify required parameter 'createReportScheduleRequestDto' is not null or undefined
|
|
57
|
-
assertParamExists('createReportSchedule', 'createReportScheduleRequestDto', createReportScheduleRequestDto)
|
|
58
|
-
const localVarPath = `/tenantservice/v1/report-schedules`;
|
|
59
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
|
-
let baseOptions;
|
|
62
|
-
let baseAccessToken;
|
|
63
|
-
if (configuration) {
|
|
64
|
-
baseOptions = configuration.baseOptions;
|
|
65
|
-
baseAccessToken = configuration.accessToken;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
-
const localVarHeaderParameter = {} as any;
|
|
70
|
-
const localVarQueryParameter = {} as any;
|
|
71
|
-
|
|
72
|
-
// authentication bearer required
|
|
73
|
-
// http bearer authentication required
|
|
74
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
|
-
|
|
76
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
77
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83
|
-
|
|
84
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createReportScheduleRequestDto, localVarRequestOptions, configuration)
|
|
88
|
-
|
|
89
|
-
return {
|
|
90
|
-
url: toPathString(localVarUrlObj),
|
|
91
|
-
options: localVarRequestOptions,
|
|
92
|
-
};
|
|
93
|
-
},
|
|
94
|
-
/**
|
|
95
|
-
* Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
|
|
96
|
-
* @summary Delete the report-schedule
|
|
97
|
-
* @param {string} code Unique identifier for the object.
|
|
98
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
deleteReportSchedule: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103
|
-
// verify required parameter 'code' is not null or undefined
|
|
104
|
-
assertParamExists('deleteReportSchedule', 'code', code)
|
|
105
|
-
const localVarPath = `/tenantservice/v1/report-schedules/{code}`
|
|
106
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
107
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
109
|
-
let baseOptions;
|
|
110
|
-
let baseAccessToken;
|
|
111
|
-
if (configuration) {
|
|
112
|
-
baseOptions = configuration.baseOptions;
|
|
113
|
-
baseAccessToken = configuration.accessToken;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
117
|
-
const localVarHeaderParameter = {} as any;
|
|
118
|
-
const localVarQueryParameter = {} as any;
|
|
119
|
-
|
|
120
|
-
// authentication bearer required
|
|
121
|
-
// http bearer authentication required
|
|
122
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
|
-
|
|
124
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
125
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
133
|
-
|
|
134
|
-
return {
|
|
135
|
-
url: toPathString(localVarUrlObj),
|
|
136
|
-
options: localVarRequestOptions,
|
|
137
|
-
};
|
|
138
|
-
},
|
|
139
|
-
/**
|
|
140
|
-
* Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
|
|
141
|
-
* @summary Retrieve the report-schedule
|
|
142
|
-
* @param {string} code Unique identifier for the object.
|
|
143
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
|
-
* @param {string} [expand] Fields to expand response by
|
|
145
|
-
* @param {*} [options] Override http request option.
|
|
146
|
-
* @throws {RequiredError}
|
|
147
|
-
*/
|
|
148
|
-
getReportSchedule: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
149
|
-
// verify required parameter 'code' is not null or undefined
|
|
150
|
-
assertParamExists('getReportSchedule', 'code', code)
|
|
151
|
-
const localVarPath = `/tenantservice/v1/report-schedules/{code}`
|
|
152
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
153
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
154
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
155
|
-
let baseOptions;
|
|
156
|
-
let baseAccessToken;
|
|
157
|
-
if (configuration) {
|
|
158
|
-
baseOptions = configuration.baseOptions;
|
|
159
|
-
baseAccessToken = configuration.accessToken;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
163
|
-
const localVarHeaderParameter = {} as any;
|
|
164
|
-
const localVarQueryParameter = {} as any;
|
|
165
|
-
|
|
166
|
-
// authentication bearer required
|
|
167
|
-
// http bearer authentication required
|
|
168
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
169
|
-
|
|
170
|
-
if (expand !== undefined) {
|
|
171
|
-
localVarQueryParameter['expand'] = expand;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
175
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
183
|
-
|
|
184
|
-
return {
|
|
185
|
-
url: toPathString(localVarUrlObj),
|
|
186
|
-
options: localVarRequestOptions,
|
|
187
|
-
};
|
|
188
|
-
},
|
|
189
|
-
/**
|
|
190
|
-
* Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
|
|
191
|
-
* @summary List report-schedules
|
|
192
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
194
|
-
* @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.
|
|
195
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
196
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
197
|
-
* @param {string} [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.
|
|
198
|
-
* @param {string} [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.
|
|
199
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
200
|
-
* @param {*} [options] Override http request option.
|
|
201
|
-
* @throws {RequiredError}
|
|
202
|
-
*/
|
|
203
|
-
listReportSchedules: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
-
const localVarPath = `/tenantservice/v1/report-schedules`;
|
|
205
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
207
|
-
let baseOptions;
|
|
208
|
-
let baseAccessToken;
|
|
209
|
-
if (configuration) {
|
|
210
|
-
baseOptions = configuration.baseOptions;
|
|
211
|
-
baseAccessToken = configuration.accessToken;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
215
|
-
const localVarHeaderParameter = {} as any;
|
|
216
|
-
const localVarQueryParameter = {} as any;
|
|
217
|
-
|
|
218
|
-
// authentication bearer required
|
|
219
|
-
// http bearer authentication required
|
|
220
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
221
|
-
|
|
222
|
-
if (pageSize !== undefined) {
|
|
223
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
if (pageToken !== undefined) {
|
|
227
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
if (filter !== undefined) {
|
|
231
|
-
localVarQueryParameter['filter'] = filter;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
if (search !== undefined) {
|
|
235
|
-
localVarQueryParameter['search'] = search;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
if (order !== undefined) {
|
|
239
|
-
localVarQueryParameter['order'] = order;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
if (expand !== undefined) {
|
|
243
|
-
localVarQueryParameter['expand'] = expand;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
if (filters !== undefined) {
|
|
247
|
-
localVarQueryParameter['filters'] = filters;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
259
|
-
|
|
260
|
-
return {
|
|
261
|
-
url: toPathString(localVarUrlObj),
|
|
262
|
-
options: localVarRequestOptions,
|
|
263
|
-
};
|
|
264
|
-
},
|
|
265
|
-
/**
|
|
266
|
-
* Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
|
|
267
|
-
* @summary Update the report-schedule
|
|
268
|
-
* @param {string} code
|
|
269
|
-
* @param {UpdateReportScheduleRequestDto} updateReportScheduleRequestDto
|
|
270
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
271
|
-
* @param {*} [options] Override http request option.
|
|
272
|
-
* @throws {RequiredError}
|
|
273
|
-
*/
|
|
274
|
-
updateReportSchedule: async (code: string, updateReportScheduleRequestDto: UpdateReportScheduleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
275
|
-
// verify required parameter 'code' is not null or undefined
|
|
276
|
-
assertParamExists('updateReportSchedule', 'code', code)
|
|
277
|
-
// verify required parameter 'updateReportScheduleRequestDto' is not null or undefined
|
|
278
|
-
assertParamExists('updateReportSchedule', 'updateReportScheduleRequestDto', updateReportScheduleRequestDto)
|
|
279
|
-
const localVarPath = `/tenantservice/v1/report-schedules/{code}`
|
|
280
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
281
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
282
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
283
|
-
let baseOptions;
|
|
284
|
-
let baseAccessToken;
|
|
285
|
-
if (configuration) {
|
|
286
|
-
baseOptions = configuration.baseOptions;
|
|
287
|
-
baseAccessToken = configuration.accessToken;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
291
|
-
const localVarHeaderParameter = {} as any;
|
|
292
|
-
const localVarQueryParameter = {} as any;
|
|
293
|
-
|
|
294
|
-
// authentication bearer required
|
|
295
|
-
// http bearer authentication required
|
|
296
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
297
|
-
|
|
298
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
299
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
305
|
-
|
|
306
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
307
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
308
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
309
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateReportScheduleRequestDto, localVarRequestOptions, configuration)
|
|
310
|
-
|
|
311
|
-
return {
|
|
312
|
-
url: toPathString(localVarUrlObj),
|
|
313
|
-
options: localVarRequestOptions,
|
|
314
|
-
};
|
|
315
|
-
},
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* ReportScheduleApi - functional programming interface
|
|
321
|
-
* @export
|
|
322
|
-
*/
|
|
323
|
-
export const ReportScheduleApiFp = function(configuration?: Configuration) {
|
|
324
|
-
const localVarAxiosParamCreator = ReportScheduleApiAxiosParamCreator(configuration)
|
|
325
|
-
return {
|
|
326
|
-
/**
|
|
327
|
-
* Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
|
|
328
|
-
* @summary Create the report-schedule
|
|
329
|
-
* @param {CreateReportScheduleRequestDto} createReportScheduleRequestDto
|
|
330
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
331
|
-
* @param {*} [options] Override http request option.
|
|
332
|
-
* @throws {RequiredError}
|
|
333
|
-
*/
|
|
334
|
-
async createReportSchedule(createReportScheduleRequestDto: CreateReportScheduleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReportScheduleResponseClass>> {
|
|
335
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createReportSchedule(createReportScheduleRequestDto, authorization, options);
|
|
336
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
337
|
-
},
|
|
338
|
-
/**
|
|
339
|
-
* Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
|
|
340
|
-
* @summary Delete the report-schedule
|
|
341
|
-
* @param {string} code Unique identifier for the object.
|
|
342
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
343
|
-
* @param {*} [options] Override http request option.
|
|
344
|
-
* @throws {RequiredError}
|
|
345
|
-
*/
|
|
346
|
-
async deleteReportSchedule(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
347
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteReportSchedule(code, authorization, options);
|
|
348
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
349
|
-
},
|
|
350
|
-
/**
|
|
351
|
-
* Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
|
|
352
|
-
* @summary Retrieve the report-schedule
|
|
353
|
-
* @param {string} code Unique identifier for the object.
|
|
354
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
355
|
-
* @param {string} [expand] Fields to expand response by
|
|
356
|
-
* @param {*} [options] Override http request option.
|
|
357
|
-
* @throws {RequiredError}
|
|
358
|
-
*/
|
|
359
|
-
async getReportSchedule(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetReportScheduleResponseClass>> {
|
|
360
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getReportSchedule(code, authorization, expand, options);
|
|
361
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
|
-
},
|
|
363
|
-
/**
|
|
364
|
-
* Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
|
|
365
|
-
* @summary List report-schedules
|
|
366
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
367
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
368
|
-
* @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.
|
|
369
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
370
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
371
|
-
* @param {string} [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.
|
|
372
|
-
* @param {string} [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.
|
|
373
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
374
|
-
* @param {*} [options] Override http request option.
|
|
375
|
-
* @throws {RequiredError}
|
|
376
|
-
*/
|
|
377
|
-
async listReportSchedules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListReportSchedulesResponseClass>> {
|
|
378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReportSchedules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
379
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
|
-
},
|
|
381
|
-
/**
|
|
382
|
-
* Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
|
|
383
|
-
* @summary Update the report-schedule
|
|
384
|
-
* @param {string} code
|
|
385
|
-
* @param {UpdateReportScheduleRequestDto} updateReportScheduleRequestDto
|
|
386
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
387
|
-
* @param {*} [options] Override http request option.
|
|
388
|
-
* @throws {RequiredError}
|
|
389
|
-
*/
|
|
390
|
-
async updateReportSchedule(code: string, updateReportScheduleRequestDto: UpdateReportScheduleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateReportScheduleResponseClass>> {
|
|
391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateReportSchedule(code, updateReportScheduleRequestDto, authorization, options);
|
|
392
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
393
|
-
},
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* ReportScheduleApi - factory interface
|
|
399
|
-
* @export
|
|
400
|
-
*/
|
|
401
|
-
export const ReportScheduleApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
402
|
-
const localVarFp = ReportScheduleApiFp(configuration)
|
|
403
|
-
return {
|
|
404
|
-
/**
|
|
405
|
-
* Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
|
|
406
|
-
* @summary Create the report-schedule
|
|
407
|
-
* @param {CreateReportScheduleRequestDto} createReportScheduleRequestDto
|
|
408
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
409
|
-
* @param {*} [options] Override http request option.
|
|
410
|
-
* @throws {RequiredError}
|
|
411
|
-
*/
|
|
412
|
-
createReportSchedule(createReportScheduleRequestDto: CreateReportScheduleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateReportScheduleResponseClass> {
|
|
413
|
-
return localVarFp.createReportSchedule(createReportScheduleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
414
|
-
},
|
|
415
|
-
/**
|
|
416
|
-
* Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
|
|
417
|
-
* @summary Delete the report-schedule
|
|
418
|
-
* @param {string} code Unique identifier for the object.
|
|
419
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
420
|
-
* @param {*} [options] Override http request option.
|
|
421
|
-
* @throws {RequiredError}
|
|
422
|
-
*/
|
|
423
|
-
deleteReportSchedule(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
424
|
-
return localVarFp.deleteReportSchedule(code, authorization, options).then((request) => request(axios, basePath));
|
|
425
|
-
},
|
|
426
|
-
/**
|
|
427
|
-
* Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
|
|
428
|
-
* @summary Retrieve the report-schedule
|
|
429
|
-
* @param {string} code Unique identifier for the object.
|
|
430
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
431
|
-
* @param {string} [expand] Fields to expand response by
|
|
432
|
-
* @param {*} [options] Override http request option.
|
|
433
|
-
* @throws {RequiredError}
|
|
434
|
-
*/
|
|
435
|
-
getReportSchedule(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetReportScheduleResponseClass> {
|
|
436
|
-
return localVarFp.getReportSchedule(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
437
|
-
},
|
|
438
|
-
/**
|
|
439
|
-
* Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
|
|
440
|
-
* @summary List report-schedules
|
|
441
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
442
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
443
|
-
* @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.
|
|
444
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
445
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
446
|
-
* @param {string} [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.
|
|
447
|
-
* @param {string} [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.
|
|
448
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
449
|
-
* @param {*} [options] Override http request option.
|
|
450
|
-
* @throws {RequiredError}
|
|
451
|
-
*/
|
|
452
|
-
listReportSchedules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListReportSchedulesResponseClass> {
|
|
453
|
-
return localVarFp.listReportSchedules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
454
|
-
},
|
|
455
|
-
/**
|
|
456
|
-
* Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
|
|
457
|
-
* @summary Update the report-schedule
|
|
458
|
-
* @param {string} code
|
|
459
|
-
* @param {UpdateReportScheduleRequestDto} updateReportScheduleRequestDto
|
|
460
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
461
|
-
* @param {*} [options] Override http request option.
|
|
462
|
-
* @throws {RequiredError}
|
|
463
|
-
*/
|
|
464
|
-
updateReportSchedule(code: string, updateReportScheduleRequestDto: UpdateReportScheduleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateReportScheduleResponseClass> {
|
|
465
|
-
return localVarFp.updateReportSchedule(code, updateReportScheduleRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
466
|
-
},
|
|
467
|
-
};
|
|
468
|
-
};
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* Request parameters for createReportSchedule operation in ReportScheduleApi.
|
|
472
|
-
* @export
|
|
473
|
-
* @interface ReportScheduleApiCreateReportScheduleRequest
|
|
474
|
-
*/
|
|
475
|
-
export interface ReportScheduleApiCreateReportScheduleRequest {
|
|
476
|
-
/**
|
|
477
|
-
*
|
|
478
|
-
* @type {CreateReportScheduleRequestDto}
|
|
479
|
-
* @memberof ReportScheduleApiCreateReportSchedule
|
|
480
|
-
*/
|
|
481
|
-
readonly createReportScheduleRequestDto: CreateReportScheduleRequestDto
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
485
|
-
* @type {string}
|
|
486
|
-
* @memberof ReportScheduleApiCreateReportSchedule
|
|
487
|
-
*/
|
|
488
|
-
readonly authorization?: string
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* Request parameters for deleteReportSchedule operation in ReportScheduleApi.
|
|
493
|
-
* @export
|
|
494
|
-
* @interface ReportScheduleApiDeleteReportScheduleRequest
|
|
495
|
-
*/
|
|
496
|
-
export interface ReportScheduleApiDeleteReportScheduleRequest {
|
|
497
|
-
/**
|
|
498
|
-
* Unique identifier for the object.
|
|
499
|
-
* @type {string}
|
|
500
|
-
* @memberof ReportScheduleApiDeleteReportSchedule
|
|
501
|
-
*/
|
|
502
|
-
readonly code: string
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
506
|
-
* @type {string}
|
|
507
|
-
* @memberof ReportScheduleApiDeleteReportSchedule
|
|
508
|
-
*/
|
|
509
|
-
readonly authorization?: string
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Request parameters for getReportSchedule operation in ReportScheduleApi.
|
|
514
|
-
* @export
|
|
515
|
-
* @interface ReportScheduleApiGetReportScheduleRequest
|
|
516
|
-
*/
|
|
517
|
-
export interface ReportScheduleApiGetReportScheduleRequest {
|
|
518
|
-
/**
|
|
519
|
-
* Unique identifier for the object.
|
|
520
|
-
* @type {string}
|
|
521
|
-
* @memberof ReportScheduleApiGetReportSchedule
|
|
522
|
-
*/
|
|
523
|
-
readonly code: string
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
527
|
-
* @type {string}
|
|
528
|
-
* @memberof ReportScheduleApiGetReportSchedule
|
|
529
|
-
*/
|
|
530
|
-
readonly authorization?: string
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* Fields to expand response by
|
|
534
|
-
* @type {string}
|
|
535
|
-
* @memberof ReportScheduleApiGetReportSchedule
|
|
536
|
-
*/
|
|
537
|
-
readonly expand?: string
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* Request parameters for listReportSchedules operation in ReportScheduleApi.
|
|
542
|
-
* @export
|
|
543
|
-
* @interface ReportScheduleApiListReportSchedulesRequest
|
|
544
|
-
*/
|
|
545
|
-
export interface ReportScheduleApiListReportSchedulesRequest {
|
|
546
|
-
/**
|
|
547
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
548
|
-
* @type {string}
|
|
549
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
550
|
-
*/
|
|
551
|
-
readonly authorization?: string
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
555
|
-
* @type {number}
|
|
556
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
557
|
-
*/
|
|
558
|
-
readonly pageSize?: number
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* 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.
|
|
562
|
-
* @type {string}
|
|
563
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
564
|
-
*/
|
|
565
|
-
readonly pageToken?: string
|
|
566
|
-
|
|
567
|
-
/**
|
|
568
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
569
|
-
* @type {string}
|
|
570
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
571
|
-
*/
|
|
572
|
-
readonly filter?: string
|
|
573
|
-
|
|
574
|
-
/**
|
|
575
|
-
* To search the list by any field, pass search=xxx to fetch the result.
|
|
576
|
-
* @type {string}
|
|
577
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
578
|
-
*/
|
|
579
|
-
readonly search?: string
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* 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.
|
|
583
|
-
* @type {string}
|
|
584
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
585
|
-
*/
|
|
586
|
-
readonly order?: string
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* 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.
|
|
590
|
-
* @type {string}
|
|
591
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
592
|
-
*/
|
|
593
|
-
readonly expand?: string
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
597
|
-
* @type {string}
|
|
598
|
-
* @memberof ReportScheduleApiListReportSchedules
|
|
599
|
-
*/
|
|
600
|
-
readonly filters?: string
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* Request parameters for updateReportSchedule operation in ReportScheduleApi.
|
|
605
|
-
* @export
|
|
606
|
-
* @interface ReportScheduleApiUpdateReportScheduleRequest
|
|
607
|
-
*/
|
|
608
|
-
export interface ReportScheduleApiUpdateReportScheduleRequest {
|
|
609
|
-
/**
|
|
610
|
-
*
|
|
611
|
-
* @type {string}
|
|
612
|
-
* @memberof ReportScheduleApiUpdateReportSchedule
|
|
613
|
-
*/
|
|
614
|
-
readonly code: string
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
*
|
|
618
|
-
* @type {UpdateReportScheduleRequestDto}
|
|
619
|
-
* @memberof ReportScheduleApiUpdateReportSchedule
|
|
620
|
-
*/
|
|
621
|
-
readonly updateReportScheduleRequestDto: UpdateReportScheduleRequestDto
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
625
|
-
* @type {string}
|
|
626
|
-
* @memberof ReportScheduleApiUpdateReportSchedule
|
|
627
|
-
*/
|
|
628
|
-
readonly authorization?: string
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* ReportScheduleApi - object-oriented interface
|
|
633
|
-
* @export
|
|
634
|
-
* @class ReportScheduleApi
|
|
635
|
-
* @extends {BaseAPI}
|
|
636
|
-
*/
|
|
637
|
-
export class ReportScheduleApi extends BaseAPI {
|
|
638
|
-
/**
|
|
639
|
-
* Creates a scheduled report configuration for the tenant **Required Permissions** \"reporting.dashboards.view\"
|
|
640
|
-
* @summary Create the report-schedule
|
|
641
|
-
* @param {ReportScheduleApiCreateReportScheduleRequest} requestParameters Request parameters.
|
|
642
|
-
* @param {*} [options] Override http request option.
|
|
643
|
-
* @throws {RequiredError}
|
|
644
|
-
* @memberof ReportScheduleApi
|
|
645
|
-
*/
|
|
646
|
-
public createReportSchedule(requestParameters: ReportScheduleApiCreateReportScheduleRequest, options?: AxiosRequestConfig) {
|
|
647
|
-
return ReportScheduleApiFp(this.configuration).createReportSchedule(requestParameters.createReportScheduleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Permanently deletes the report-schedule. Supply the unique code that was returned when you created the report-schedule and this will delete it. **Required Permissions** \"reporting.dashboards.view\"
|
|
652
|
-
* @summary Delete the report-schedule
|
|
653
|
-
* @param {ReportScheduleApiDeleteReportScheduleRequest} requestParameters Request parameters.
|
|
654
|
-
* @param {*} [options] Override http request option.
|
|
655
|
-
* @throws {RequiredError}
|
|
656
|
-
* @memberof ReportScheduleApi
|
|
657
|
-
*/
|
|
658
|
-
public deleteReportSchedule(requestParameters: ReportScheduleApiDeleteReportScheduleRequest, options?: AxiosRequestConfig) {
|
|
659
|
-
return ReportScheduleApiFp(this.configuration).deleteReportSchedule(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* Retrieves the details of the report-schedule that was previously created. Supply the unique report-schedule code that was returned when you created it and Emil Api will return the corresponding report-schedule information. **Required Permissions** \"reporting.dashboards.view\"
|
|
664
|
-
* @summary Retrieve the report-schedule
|
|
665
|
-
* @param {ReportScheduleApiGetReportScheduleRequest} requestParameters Request parameters.
|
|
666
|
-
* @param {*} [options] Override http request option.
|
|
667
|
-
* @throws {RequiredError}
|
|
668
|
-
* @memberof ReportScheduleApi
|
|
669
|
-
*/
|
|
670
|
-
public getReportSchedule(requestParameters: ReportScheduleApiGetReportScheduleRequest, options?: AxiosRequestConfig) {
|
|
671
|
-
return ReportScheduleApiFp(this.configuration).getReportSchedule(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Returns a list of report-schedules you have previously created. The report-schedules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"reporting.dashboards.view\"
|
|
676
|
-
* @summary List report-schedules
|
|
677
|
-
* @param {ReportScheduleApiListReportSchedulesRequest} requestParameters Request parameters.
|
|
678
|
-
* @param {*} [options] Override http request option.
|
|
679
|
-
* @throws {RequiredError}
|
|
680
|
-
* @memberof ReportScheduleApi
|
|
681
|
-
*/
|
|
682
|
-
public listReportSchedules(requestParameters: ReportScheduleApiListReportSchedulesRequest = {}, options?: AxiosRequestConfig) {
|
|
683
|
-
return ReportScheduleApiFp(this.configuration).listReportSchedules(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* Updates the specified report-schedule by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"reporting.dashboards.view\"
|
|
688
|
-
* @summary Update the report-schedule
|
|
689
|
-
* @param {ReportScheduleApiUpdateReportScheduleRequest} requestParameters Request parameters.
|
|
690
|
-
* @param {*} [options] Override http request option.
|
|
691
|
-
* @throws {RequiredError}
|
|
692
|
-
* @memberof ReportScheduleApi
|
|
693
|
-
*/
|
|
694
|
-
public updateReportSchedule(requestParameters: ReportScheduleApiUpdateReportScheduleRequest, options?: AxiosRequestConfig) {
|
|
695
|
-
return ReportScheduleApiFp(this.configuration).updateReportSchedule(requestParameters.code, requestParameters.updateReportScheduleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
696
|
-
}
|
|
697
|
-
}
|