@emilgroup/tenant-sdk 1.0.1 → 1.2.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.
Files changed (264) hide show
  1. package/.openapi-generator/FILES +16 -72
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +52 -60
  4. package/api/{user-subscription-api.ts → invite-organizations-api.ts} +139 -161
  5. package/api/invite-users-api.ts +75 -79
  6. package/api/organizations-api.ts +459 -0
  7. package/api/users-api.ts +138 -148
  8. package/api.ts +4 -18
  9. package/dist/api/custom-schema-api.d.ts +42 -42
  10. package/dist/api/custom-schema-api.js +31 -38
  11. package/dist/api/{user-subscription-api.d.ts → invite-organizations-api.d.ts} +89 -103
  12. package/dist/api/{user-subscription-api.js → invite-organizations-api.js} +106 -114
  13. package/dist/api/invite-users-api.d.ts +63 -60
  14. package/dist/api/invite-users-api.js +40 -49
  15. package/dist/api/organizations-api.d.ts +263 -0
  16. package/dist/api/{settings-api.js → organizations-api.js} +135 -195
  17. package/dist/api/users-api.d.ts +113 -109
  18. package/dist/api/users-api.js +76 -93
  19. package/dist/api.d.ts +2 -9
  20. package/dist/api.js +2 -9
  21. package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
  22. package/dist/models/{manage-subscription-request-dto.d.ts → batch-delete-response-class.d.ts} +5 -5
  23. package/dist/models/create-custom-schema-request-dto.d.ts +1 -0
  24. package/dist/models/create-custom-schema-request-dto.js +2 -1
  25. package/dist/models/{insurance-response-class.d.ts → delete-response-class.d.ts} +6 -6
  26. package/dist/models/{get-embedded-url-response-class.d.ts → disable-users-response-class.d.ts} +6 -6
  27. package/dist/models/{insurance-company-response-class.d.ts → enable-users-response-class.d.ts} +6 -6
  28. package/dist/models/{create-alert-response-class.d.ts → get-organization-response-class.d.ts} +7 -7
  29. package/dist/models/index.d.ts +14 -63
  30. package/dist/models/index.js +14 -63
  31. package/dist/models/invite-org-request-dto.d.ts +78 -0
  32. package/dist/models/invite-user-request-dto.d.ts +8 -2
  33. package/dist/models/invite-users-request-dto.d.ts +2 -2
  34. package/dist/models/invite-users-response-class.d.ts +24 -0
  35. package/dist/models/{list-user-subscriptions-response-class.d.ts → list-org-invitations-response-class.d.ts} +8 -8
  36. package/dist/models/{list-data-reports-response-class.d.ts → list-organizations-response-class.d.ts} +8 -8
  37. package/dist/models/org-invitation-class.d.ts +103 -0
  38. package/dist/models/{create-dashboard-response-class.d.ts → org-invitation-response-class.d.ts} +7 -7
  39. package/dist/models/organization-class.d.ts +96 -0
  40. package/dist/models/set-setting-request-dto.d.ts +10 -4
  41. package/dist/models/subscription-class.d.ts +9 -2
  42. package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
  43. package/dist/models/update-custom-schema-request-dto.js +2 -1
  44. package/dist/models/update-organization-request-dto-rest.d.ts +60 -0
  45. package/dist/models/{channel-response-class.d.ts → update-organization-response-class.d.ts} +7 -12
  46. package/dist/models/user-class.d.ts +13 -5
  47. package/models/assign-user-roles-request-dto.ts +2 -2
  48. package/models/{manage-subscription-request-dto.ts → batch-delete-response-class.ts} +5 -5
  49. package/models/create-custom-schema-request-dto.ts +2 -1
  50. package/models/{insurance-response-class.ts → delete-response-class.ts} +6 -6
  51. package/models/{get-embedded-url-response-class.ts → disable-users-response-class.ts} +6 -6
  52. package/models/{insurance-company-response-class.ts → enable-users-response-class.ts} +6 -6
  53. package/models/{channel-response-class.ts → get-organization-response-class.ts} +7 -12
  54. package/models/index.ts +14 -63
  55. package/models/invite-org-request-dto.ts +84 -0
  56. package/models/invite-user-request-dto.ts +8 -2
  57. package/models/invite-users-request-dto.ts +2 -2
  58. package/models/invite-users-response-class.ts +30 -0
  59. package/models/{list-user-subscriptions-response-class.ts → list-org-invitations-response-class.ts} +8 -8
  60. package/models/{list-data-reports-response-class.ts → list-organizations-response-class.ts} +8 -8
  61. package/models/org-invitation-class.ts +109 -0
  62. package/models/{create-alert-response-class.ts → org-invitation-response-class.ts} +7 -7
  63. package/models/organization-class.ts +102 -0
  64. package/models/set-setting-request-dto.ts +10 -4
  65. package/models/subscription-class.ts +9 -2
  66. package/models/update-custom-schema-request-dto.ts +2 -1
  67. package/models/update-organization-request-dto-rest.ts +66 -0
  68. package/models/{create-dashboard-response-class.ts → update-organization-response-class.ts} +7 -7
  69. package/models/user-class.ts +13 -5
  70. package/package.json +2 -2
  71. package/api/alerts-api.ts +0 -860
  72. package/api/dashboard-api.ts +0 -792
  73. package/api/data-report-api.ts +0 -687
  74. package/api/data-report-executor-api.ts +0 -181
  75. package/api/reports-api.ts +0 -860
  76. package/api/scenario-analysis-api.ts +0 -977
  77. package/api/settings-api.ts +0 -484
  78. package/api/tariff-comparisons-api.ts +0 -381
  79. package/dist/api/alerts-api.d.ts +0 -479
  80. package/dist/api/alerts-api.js +0 -752
  81. package/dist/api/dashboard-api.d.ts +0 -434
  82. package/dist/api/dashboard-api.js +0 -724
  83. package/dist/api/data-report-api.d.ts +0 -380
  84. package/dist/api/data-report-api.js +0 -645
  85. package/dist/api/data-report-executor-api.d.ts +0 -102
  86. package/dist/api/data-report-executor-api.js +0 -232
  87. package/dist/api/reports-api.d.ts +0 -479
  88. package/dist/api/reports-api.js +0 -752
  89. package/dist/api/scenario-analysis-api.d.ts +0 -529
  90. package/dist/api/scenario-analysis-api.js +0 -895
  91. package/dist/api/settings-api.d.ts +0 -264
  92. package/dist/api/tariff-comparisons-api.d.ts +0 -206
  93. package/dist/api/tariff-comparisons-api.js +0 -409
  94. package/dist/models/alert-class.d.ts +0 -90
  95. package/dist/models/alert-history-class.d.ts +0 -108
  96. package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
  97. package/dist/models/compare-tariffs-request-dto.js +0 -22
  98. package/dist/models/compare-tariffs-response-class.d.ts +0 -31
  99. package/dist/models/condition-dto.d.ts +0 -43
  100. package/dist/models/condition-dto.js +0 -22
  101. package/dist/models/create-alert-request-dto.d.ts +0 -79
  102. package/dist/models/create-alert-request-dto.js +0 -27
  103. package/dist/models/create-dashboard-request-dto.d.ts +0 -70
  104. package/dist/models/create-dashboard-request-dto.js +0 -29
  105. package/dist/models/create-data-report-request-dto.d.ts +0 -61
  106. package/dist/models/create-data-report-response-class.d.ts +0 -25
  107. package/dist/models/create-report-request-dto.d.ts +0 -49
  108. package/dist/models/create-report-request-dto.js +0 -22
  109. package/dist/models/create-report-response-class.d.ts +0 -25
  110. package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
  111. package/dist/models/create-scenario-analysis-request-dto.js +0 -22
  112. package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
  113. package/dist/models/dashboard-class.d.ts +0 -78
  114. package/dist/models/data-report-class.d.ts +0 -79
  115. package/dist/models/data-report-filter-class.d.ts +0 -72
  116. package/dist/models/data-report-filter-dto.d.ts +0 -48
  117. package/dist/models/data-report-filter-single-value-dto.d.ts +0 -42
  118. package/dist/models/data-report-filter-single-value-dto.js +0 -15
  119. package/dist/models/data-report-filter-value-dto.d.ts +0 -31
  120. package/dist/models/data-report-filter-value-dto.js +0 -15
  121. package/dist/models/get-alert-response-class.d.ts +0 -25
  122. package/dist/models/get-alert-response-class.js +0 -15
  123. package/dist/models/get-dashboard-response-class.d.ts +0 -25
  124. package/dist/models/get-dashboard-response-class.js +0 -15
  125. package/dist/models/get-data-report-response-class.d.ts +0 -25
  126. package/dist/models/get-data-report-response-class.js +0 -15
  127. package/dist/models/get-embedded-url-response-class.js +0 -15
  128. package/dist/models/get-report-response-class.d.ts +0 -25
  129. package/dist/models/get-report-response-class.js +0 -15
  130. package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
  131. package/dist/models/get-scenario-analysis-response-class.js +0 -15
  132. package/dist/models/grouped-tariff-class.d.ts +0 -30
  133. package/dist/models/grouped-tariff-class.js +0 -15
  134. package/dist/models/insurance-company-response-class.js +0 -15
  135. package/dist/models/insurance-response-class.js +0 -15
  136. package/dist/models/list-alert-history-response-class.d.ts +0 -31
  137. package/dist/models/list-alert-history-response-class.js +0 -15
  138. package/dist/models/list-alerts-response-class.d.ts +0 -31
  139. package/dist/models/list-alerts-response-class.js +0 -15
  140. package/dist/models/list-channels-response-class.d.ts +0 -25
  141. package/dist/models/list-channels-response-class.js +0 -15
  142. package/dist/models/list-dashboards-response-class.d.ts +0 -31
  143. package/dist/models/list-dashboards-response-class.js +0 -15
  144. package/dist/models/list-data-reports-response-class.js +0 -15
  145. package/dist/models/list-insurance-companies-response-class.d.ts +0 -25
  146. package/dist/models/list-insurance-companies-response-class.js +0 -15
  147. package/dist/models/list-report-history-response-class.d.ts +0 -31
  148. package/dist/models/list-report-history-response-class.js +0 -15
  149. package/dist/models/list-reports-response-class.d.ts +0 -31
  150. package/dist/models/list-reports-response-class.js +0 -15
  151. package/dist/models/list-scenario-analyses-response-class.d.ts +0 -31
  152. package/dist/models/list-scenario-analyses-response-class.js +0 -15
  153. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -25
  154. package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
  155. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -25
  156. package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
  157. package/dist/models/list-tariffs-response-class.d.ts +0 -25
  158. package/dist/models/list-tariffs-response-class.js +0 -15
  159. package/dist/models/list-user-subscriptions-response-class.js +0 -15
  160. package/dist/models/manage-subscription-request-dto.js +0 -15
  161. package/dist/models/manage-subscription-response-class.d.ts +0 -25
  162. package/dist/models/manage-subscription-response-class.js +0 -15
  163. package/dist/models/report-class.d.ts +0 -66
  164. package/dist/models/report-class.js +0 -15
  165. package/dist/models/report-history-class.d.ts +0 -48
  166. package/dist/models/report-history-class.js +0 -15
  167. package/dist/models/run-data-report-request-dto.d.ts +0 -31
  168. package/dist/models/run-data-report-request-dto.js +0 -15
  169. package/dist/models/run-data-report-response-class.d.ts +0 -24
  170. package/dist/models/run-data-report-response-class.js +0 -15
  171. package/dist/models/scenario-analysis-class.d.ts +0 -108
  172. package/dist/models/scenario-analysis-class.js +0 -15
  173. package/dist/models/scenario-analysis-date-response-class.d.ts +0 -36
  174. package/dist/models/scenario-analysis-date-response-class.js +0 -15
  175. package/dist/models/set-tenant-setting-response-class.d.ts +0 -36
  176. package/dist/models/set-tenant-setting-response-class.js +0 -15
  177. package/dist/models/update-alert-request-dto.d.ts +0 -72
  178. package/dist/models/update-alert-request-dto.js +0 -21
  179. package/dist/models/update-alert-response-class.d.ts +0 -25
  180. package/dist/models/update-alert-response-class.js +0 -15
  181. package/dist/models/update-dashboard-request-dto.d.ts +0 -76
  182. package/dist/models/update-dashboard-request-dto.js +0 -29
  183. package/dist/models/update-dashboard-response-class.d.ts +0 -25
  184. package/dist/models/update-dashboard-response-class.js +0 -15
  185. package/dist/models/update-data-report-request-dto.d.ts +0 -61
  186. package/dist/models/update-data-report-request-dto.js +0 -15
  187. package/dist/models/update-data-report-response-class.d.ts +0 -25
  188. package/dist/models/update-data-report-response-class.js +0 -15
  189. package/dist/models/update-report-request-dto.d.ts +0 -55
  190. package/dist/models/update-report-request-dto.js +0 -22
  191. package/dist/models/update-report-response-class.d.ts +0 -25
  192. package/dist/models/update-report-response-class.js +0 -15
  193. package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
  194. package/dist/models/update-scenario-analysis-request-dto.js +0 -22
  195. package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
  196. package/dist/models/update-scenario-analysis-response-class.js +0 -15
  197. package/models/alert-class.ts +0 -96
  198. package/models/alert-history-class.ts +0 -114
  199. package/models/compare-tariffs-request-dto.ts +0 -46
  200. package/models/compare-tariffs-response-class.ts +0 -37
  201. package/models/condition-dto.ts +0 -52
  202. package/models/create-alert-request-dto.ts +0 -89
  203. package/models/create-dashboard-request-dto.ts +0 -81
  204. package/models/create-data-report-request-dto.ts +0 -67
  205. package/models/create-data-report-response-class.ts +0 -31
  206. package/models/create-report-request-dto.ts +0 -58
  207. package/models/create-report-response-class.ts +0 -31
  208. package/models/create-scenario-analysis-request-dto.ts +0 -83
  209. package/models/create-scenario-analysis-response-class.ts +0 -31
  210. package/models/dashboard-class.ts +0 -84
  211. package/models/data-report-class.ts +0 -85
  212. package/models/data-report-filter-class.ts +0 -78
  213. package/models/data-report-filter-dto.ts +0 -54
  214. package/models/data-report-filter-single-value-dto.ts +0 -48
  215. package/models/data-report-filter-value-dto.ts +0 -37
  216. package/models/get-alert-response-class.ts +0 -31
  217. package/models/get-dashboard-response-class.ts +0 -31
  218. package/models/get-data-report-response-class.ts +0 -31
  219. package/models/get-report-response-class.ts +0 -31
  220. package/models/get-scenario-analysis-response-class.ts +0 -31
  221. package/models/grouped-tariff-class.ts +0 -36
  222. package/models/list-alert-history-response-class.ts +0 -37
  223. package/models/list-alerts-response-class.ts +0 -37
  224. package/models/list-channels-response-class.ts +0 -31
  225. package/models/list-dashboards-response-class.ts +0 -37
  226. package/models/list-insurance-companies-response-class.ts +0 -31
  227. package/models/list-report-history-response-class.ts +0 -37
  228. package/models/list-reports-response-class.ts +0 -37
  229. package/models/list-scenario-analyses-response-class.ts +0 -37
  230. package/models/list-scenario-analysis-dates-response-class.ts +0 -31
  231. package/models/list-tariff-insurance-companies-response-class.ts +0 -31
  232. package/models/list-tariffs-response-class.ts +0 -31
  233. package/models/manage-subscription-response-class.ts +0 -31
  234. package/models/report-class.ts +0 -72
  235. package/models/report-history-class.ts +0 -54
  236. package/models/run-data-report-request-dto.ts +0 -37
  237. package/models/run-data-report-response-class.ts +0 -30
  238. package/models/scenario-analysis-class.ts +0 -114
  239. package/models/scenario-analysis-date-response-class.ts +0 -42
  240. package/models/set-tenant-setting-response-class.ts +0 -42
  241. package/models/update-alert-request-dto.ts +0 -81
  242. package/models/update-alert-response-class.ts +0 -31
  243. package/models/update-dashboard-request-dto.ts +0 -87
  244. package/models/update-dashboard-response-class.ts +0 -31
  245. package/models/update-data-report-request-dto.ts +0 -67
  246. package/models/update-data-report-response-class.ts +0 -31
  247. package/models/update-report-request-dto.ts +0 -64
  248. package/models/update-report-response-class.ts +0 -31
  249. package/models/update-scenario-analysis-request-dto.ts +0 -83
  250. package/models/update-scenario-analysis-response-class.ts +0 -31
  251. /package/dist/models/{alert-class.js → batch-delete-response-class.js} +0 -0
  252. /package/dist/models/{alert-history-class.js → delete-response-class.js} +0 -0
  253. /package/dist/models/{channel-response-class.js → disable-users-response-class.js} +0 -0
  254. /package/dist/models/{compare-tariffs-response-class.js → enable-users-response-class.js} +0 -0
  255. /package/dist/models/{create-alert-response-class.js → get-organization-response-class.js} +0 -0
  256. /package/dist/models/{create-dashboard-response-class.js → invite-org-request-dto.js} +0 -0
  257. /package/dist/models/{create-data-report-request-dto.js → invite-users-response-class.js} +0 -0
  258. /package/dist/models/{create-data-report-response-class.js → list-org-invitations-response-class.js} +0 -0
  259. /package/dist/models/{create-report-response-class.js → list-organizations-response-class.js} +0 -0
  260. /package/dist/models/{create-scenario-analysis-response-class.js → org-invitation-class.js} +0 -0
  261. /package/dist/models/{dashboard-class.js → org-invitation-response-class.js} +0 -0
  262. /package/dist/models/{data-report-class.js → organization-class.js} +0 -0
  263. /package/dist/models/{data-report-filter-class.js → update-organization-request-dto-rest.js} +0 -0
  264. /package/dist/models/{data-report-filter-dto.js → update-organization-response-class.js} +0 -0
@@ -1,380 +0,0 @@
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 { CreateDataReportRequestDto } from '../models';
16
- import { CreateDataReportResponseClass } from '../models';
17
- import { GetDataReportResponseClass } from '../models';
18
- import { ListDataReportsResponseClass } from '../models';
19
- import { UpdateDataReportRequestDto } from '../models';
20
- import { UpdateDataReportResponseClass } from '../models';
21
- /**
22
- * DataReportApi - axios parameter creator
23
- * @export
24
- */
25
- export declare const DataReportApiAxiosParamCreator: (configuration?: Configuration) => {
26
- /**
27
- * This will create a data report for tenant in the database
28
- * @summary Create the data-report
29
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
30
- * @param {CreateDataReportRequestDto} createDataReportRequestDto
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- createCustomSchema: (authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
- /**
36
- *
37
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
38
- * @param {string} id
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- deleteAlert: (authorization: string, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
- /**
44
- * Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
45
- * @summary Retrieve the data-report
46
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
47
- * @param {string} code Unique identifier for the object.
48
- * @param {string} [expand] Fields to expand response by
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- getDataReport: (authorization: string, code: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
- /**
54
- * Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
- * @summary List data-reports
56
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
57
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
58
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
59
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
60
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
61
- * @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.
62
- * @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.
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- listDataReports: (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
- /**
68
- * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
69
- * @summary Update the data-report
70
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
71
- * @param {string} code
72
- * @param {UpdateDataReportRequestDto} updateDataReportRequestDto
73
- * @param {*} [options] Override http request option.
74
- * @throws {RequiredError}
75
- */
76
- updateDataReport: (authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
- };
78
- /**
79
- * DataReportApi - functional programming interface
80
- * @export
81
- */
82
- export declare const DataReportApiFp: (configuration?: Configuration) => {
83
- /**
84
- * This will create a data report for tenant in the database
85
- * @summary Create the data-report
86
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
87
- * @param {CreateDataReportRequestDto} createDataReportRequestDto
88
- * @param {*} [options] Override http request option.
89
- * @throws {RequiredError}
90
- */
91
- createCustomSchema(authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDataReportResponseClass>>;
92
- /**
93
- *
94
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
95
- * @param {string} id
96
- * @param {*} [options] Override http request option.
97
- * @throws {RequiredError}
98
- */
99
- deleteAlert(authorization: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
- /**
101
- * Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
102
- * @summary Retrieve the data-report
103
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
104
- * @param {string} code Unique identifier for the object.
105
- * @param {string} [expand] Fields to expand response by
106
- * @param {*} [options] Override http request option.
107
- * @throws {RequiredError}
108
- */
109
- getDataReport(authorization: string, code: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDataReportResponseClass>>;
110
- /**
111
- * Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
112
- * @summary List data-reports
113
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
114
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
115
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
116
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
117
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
118
- * @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.
119
- * @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.
120
- * @param {*} [options] Override http request option.
121
- * @throws {RequiredError}
122
- */
123
- listDataReports(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDataReportsResponseClass>>;
124
- /**
125
- * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
126
- * @summary Update the data-report
127
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
128
- * @param {string} code
129
- * @param {UpdateDataReportRequestDto} updateDataReportRequestDto
130
- * @param {*} [options] Override http request option.
131
- * @throws {RequiredError}
132
- */
133
- updateDataReport(authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDataReportResponseClass>>;
134
- };
135
- /**
136
- * DataReportApi - factory interface
137
- * @export
138
- */
139
- export declare const DataReportApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
140
- /**
141
- * This will create a data report for tenant in the database
142
- * @summary Create the data-report
143
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
144
- * @param {CreateDataReportRequestDto} createDataReportRequestDto
145
- * @param {*} [options] Override http request option.
146
- * @throws {RequiredError}
147
- */
148
- createCustomSchema(authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: any): AxiosPromise<CreateDataReportResponseClass>;
149
- /**
150
- *
151
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
152
- * @param {string} id
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- deleteAlert(authorization: string, id: string, options?: any): AxiosPromise<void>;
157
- /**
158
- * Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
159
- * @summary Retrieve the data-report
160
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
161
- * @param {string} code Unique identifier for the object.
162
- * @param {string} [expand] Fields to expand response by
163
- * @param {*} [options] Override http request option.
164
- * @throws {RequiredError}
165
- */
166
- getDataReport(authorization: string, code: string, expand?: string, options?: any): AxiosPromise<GetDataReportResponseClass>;
167
- /**
168
- * Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
169
- * @summary List data-reports
170
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
171
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
172
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
173
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
174
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
175
- * @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.
176
- * @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.
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- */
180
- listDataReports(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListDataReportsResponseClass>;
181
- /**
182
- * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
183
- * @summary Update the data-report
184
- * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
185
- * @param {string} code
186
- * @param {UpdateDataReportRequestDto} updateDataReportRequestDto
187
- * @param {*} [options] Override http request option.
188
- * @throws {RequiredError}
189
- */
190
- updateDataReport(authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: any): AxiosPromise<UpdateDataReportResponseClass>;
191
- };
192
- /**
193
- * Request parameters for createCustomSchema operation in DataReportApi.
194
- * @export
195
- * @interface DataReportApiCreateCustomSchemaRequest
196
- */
197
- export interface DataReportApiCreateCustomSchemaRequest {
198
- /**
199
- * Bearer Token: provided by the login endpoint under the name accessToken.
200
- * @type {string}
201
- * @memberof DataReportApiCreateCustomSchema
202
- */
203
- readonly authorization: string;
204
- /**
205
- *
206
- * @type {CreateDataReportRequestDto}
207
- * @memberof DataReportApiCreateCustomSchema
208
- */
209
- readonly createDataReportRequestDto: CreateDataReportRequestDto;
210
- }
211
- /**
212
- * Request parameters for deleteAlert operation in DataReportApi.
213
- * @export
214
- * @interface DataReportApiDeleteAlertRequest
215
- */
216
- export interface DataReportApiDeleteAlertRequest {
217
- /**
218
- * Bearer Token: provided by the login endpoint under the name accessToken.
219
- * @type {string}
220
- * @memberof DataReportApiDeleteAlert
221
- */
222
- readonly authorization: string;
223
- /**
224
- *
225
- * @type {string}
226
- * @memberof DataReportApiDeleteAlert
227
- */
228
- readonly id: string;
229
- }
230
- /**
231
- * Request parameters for getDataReport operation in DataReportApi.
232
- * @export
233
- * @interface DataReportApiGetDataReportRequest
234
- */
235
- export interface DataReportApiGetDataReportRequest {
236
- /**
237
- * Bearer Token: provided by the login endpoint under the name accessToken.
238
- * @type {string}
239
- * @memberof DataReportApiGetDataReport
240
- */
241
- readonly authorization: string;
242
- /**
243
- * Unique identifier for the object.
244
- * @type {string}
245
- * @memberof DataReportApiGetDataReport
246
- */
247
- readonly code: string;
248
- /**
249
- * Fields to expand response by
250
- * @type {string}
251
- * @memberof DataReportApiGetDataReport
252
- */
253
- readonly expand?: string;
254
- }
255
- /**
256
- * Request parameters for listDataReports operation in DataReportApi.
257
- * @export
258
- * @interface DataReportApiListDataReportsRequest
259
- */
260
- export interface DataReportApiListDataReportsRequest {
261
- /**
262
- * Bearer Token: provided by the login endpoint under the name accessToken.
263
- * @type {string}
264
- * @memberof DataReportApiListDataReports
265
- */
266
- readonly authorization: string;
267
- /**
268
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
269
- * @type {any}
270
- * @memberof DataReportApiListDataReports
271
- */
272
- readonly pageSize?: any;
273
- /**
274
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
275
- * @type {any}
276
- * @memberof DataReportApiListDataReports
277
- */
278
- readonly pageToken?: any;
279
- /**
280
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
281
- * @type {any}
282
- * @memberof DataReportApiListDataReports
283
- */
284
- readonly filter?: any;
285
- /**
286
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
287
- * @type {any}
288
- * @memberof DataReportApiListDataReports
289
- */
290
- readonly search?: any;
291
- /**
292
- * 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.
293
- * @type {any}
294
- * @memberof DataReportApiListDataReports
295
- */
296
- readonly order?: any;
297
- /**
298
- * 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.
299
- * @type {any}
300
- * @memberof DataReportApiListDataReports
301
- */
302
- readonly expand?: any;
303
- }
304
- /**
305
- * Request parameters for updateDataReport operation in DataReportApi.
306
- * @export
307
- * @interface DataReportApiUpdateDataReportRequest
308
- */
309
- export interface DataReportApiUpdateDataReportRequest {
310
- /**
311
- * Bearer Token: provided by the login endpoint under the name accessToken.
312
- * @type {string}
313
- * @memberof DataReportApiUpdateDataReport
314
- */
315
- readonly authorization: string;
316
- /**
317
- *
318
- * @type {string}
319
- * @memberof DataReportApiUpdateDataReport
320
- */
321
- readonly code: string;
322
- /**
323
- *
324
- * @type {UpdateDataReportRequestDto}
325
- * @memberof DataReportApiUpdateDataReport
326
- */
327
- readonly updateDataReportRequestDto: UpdateDataReportRequestDto;
328
- }
329
- /**
330
- * DataReportApi - object-oriented interface
331
- * @export
332
- * @class DataReportApi
333
- * @extends {BaseAPI}
334
- */
335
- export declare class DataReportApi extends BaseAPI {
336
- /**
337
- * This will create a data report for tenant in the database
338
- * @summary Create the data-report
339
- * @param {DataReportApiCreateCustomSchemaRequest} requestParameters Request parameters.
340
- * @param {*} [options] Override http request option.
341
- * @throws {RequiredError}
342
- * @memberof DataReportApi
343
- */
344
- createCustomSchema(requestParameters: DataReportApiCreateCustomSchemaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateDataReportResponseClass, any>>;
345
- /**
346
- *
347
- * @param {DataReportApiDeleteAlertRequest} requestParameters Request parameters.
348
- * @param {*} [options] Override http request option.
349
- * @throws {RequiredError}
350
- * @memberof DataReportApi
351
- */
352
- deleteAlert(requestParameters: DataReportApiDeleteAlertRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
353
- /**
354
- * Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
355
- * @summary Retrieve the data-report
356
- * @param {DataReportApiGetDataReportRequest} requestParameters Request parameters.
357
- * @param {*} [options] Override http request option.
358
- * @throws {RequiredError}
359
- * @memberof DataReportApi
360
- */
361
- getDataReport(requestParameters: DataReportApiGetDataReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDataReportResponseClass, any>>;
362
- /**
363
- * Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
364
- * @summary List data-reports
365
- * @param {DataReportApiListDataReportsRequest} requestParameters Request parameters.
366
- * @param {*} [options] Override http request option.
367
- * @throws {RequiredError}
368
- * @memberof DataReportApi
369
- */
370
- listDataReports(requestParameters: DataReportApiListDataReportsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataReportsResponseClass, any>>;
371
- /**
372
- * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
373
- * @summary Update the data-report
374
- * @param {DataReportApiUpdateDataReportRequest} requestParameters Request parameters.
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- * @memberof DataReportApi
378
- */
379
- updateDataReport(requestParameters: DataReportApiUpdateDataReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateDataReportResponseClass, any>>;
380
- }