@emilgroup/tenant-sdk 1.0.1 → 1.1.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.
Files changed (223) hide show
  1. package/.openapi-generator/FILES +14 -57
  2. package/README.md +2 -2
  3. package/api/custom-schema-api.ts +52 -60
  4. package/api/data-report-api.ts +65 -75
  5. package/api/data-report-executor-api.ts +10 -26
  6. package/api/{user-subscription-api.ts → invite-organizations-api.ts} +139 -161
  7. package/api/invite-users-api.ts +75 -79
  8. package/api/organizations-api.ts +455 -0
  9. package/api/users-api.ts +138 -148
  10. package/api.ts +4 -14
  11. package/dist/api/custom-schema-api.d.ts +42 -42
  12. package/dist/api/custom-schema-api.js +31 -38
  13. package/dist/api/data-report-api.d.ts +52 -52
  14. package/dist/api/data-report-api.js +40 -49
  15. package/dist/api/data-report-executor-api.d.ts +7 -16
  16. package/dist/api/data-report-executor-api.js +9 -17
  17. package/dist/api/{user-subscription-api.d.ts → invite-organizations-api.d.ts} +89 -103
  18. package/dist/api/{user-subscription-api.js → invite-organizations-api.js} +106 -114
  19. package/dist/api/invite-users-api.d.ts +63 -60
  20. package/dist/api/invite-users-api.js +40 -49
  21. package/dist/api/organizations-api.d.ts +261 -0
  22. package/dist/api/{settings-api.js → organizations-api.js} +135 -195
  23. package/dist/api/users-api.d.ts +113 -109
  24. package/dist/api/users-api.js +76 -93
  25. package/dist/api.d.ts +2 -7
  26. package/dist/api.js +2 -7
  27. package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
  28. package/dist/models/{manage-subscription-request-dto.d.ts → batch-delete-response-class.d.ts} +5 -5
  29. package/dist/models/create-custom-schema-request-dto.d.ts +1 -0
  30. package/dist/models/create-custom-schema-request-dto.js +2 -1
  31. package/dist/models/{insurance-response-class.d.ts → delete-response-class.d.ts} +6 -6
  32. package/dist/models/{get-embedded-url-response-class.d.ts → disable-users-response-class.d.ts} +6 -6
  33. package/dist/models/{insurance-company-response-class.d.ts → enable-users-response-class.d.ts} +6 -6
  34. package/dist/models/{create-alert-response-class.d.ts → get-organization-response-class.d.ts} +7 -7
  35. package/dist/models/index.d.ts +12 -50
  36. package/dist/models/index.js +12 -50
  37. package/dist/models/invite-org-request-dto.d.ts +78 -0
  38. package/dist/models/invite-user-request-dto.d.ts +8 -2
  39. package/dist/models/invite-users-request-dto.d.ts +2 -2
  40. package/dist/models/invite-users-response-class.d.ts +24 -0
  41. package/dist/models/{list-user-subscriptions-response-class.d.ts → list-org-invitations-response-class.d.ts} +8 -8
  42. package/dist/models/{list-alert-history-response-class.d.ts → list-organizations-response-class.d.ts} +9 -9
  43. package/dist/models/org-invitation-class.d.ts +103 -0
  44. package/dist/models/{create-dashboard-response-class.d.ts → org-invitation-response-class.d.ts} +7 -7
  45. package/dist/models/organization-class.d.ts +84 -0
  46. package/dist/models/set-setting-request-dto.d.ts +10 -4
  47. package/dist/models/subscription-class.d.ts +9 -2
  48. package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
  49. package/dist/models/update-custom-schema-request-dto.js +2 -1
  50. package/dist/models/user-class.d.ts +13 -5
  51. package/models/assign-user-roles-request-dto.ts +2 -2
  52. package/models/{manage-subscription-request-dto.ts → batch-delete-response-class.ts} +5 -5
  53. package/models/create-custom-schema-request-dto.ts +2 -1
  54. package/models/{insurance-response-class.ts → delete-response-class.ts} +6 -6
  55. package/models/{get-embedded-url-response-class.ts → disable-users-response-class.ts} +6 -6
  56. package/models/{insurance-company-response-class.ts → enable-users-response-class.ts} +6 -6
  57. package/models/{channel-response-class.ts → get-organization-response-class.ts} +7 -12
  58. package/models/index.ts +12 -50
  59. package/models/invite-org-request-dto.ts +84 -0
  60. package/models/invite-user-request-dto.ts +8 -2
  61. package/models/invite-users-request-dto.ts +2 -2
  62. package/models/invite-users-response-class.ts +30 -0
  63. package/models/{list-user-subscriptions-response-class.ts → list-org-invitations-response-class.ts} +8 -8
  64. package/models/{list-alert-history-response-class.ts → list-organizations-response-class.ts} +9 -9
  65. package/models/org-invitation-class.ts +109 -0
  66. package/models/{create-alert-response-class.ts → org-invitation-response-class.ts} +7 -7
  67. package/models/organization-class.ts +90 -0
  68. package/models/set-setting-request-dto.ts +10 -4
  69. package/models/subscription-class.ts +9 -2
  70. package/models/update-custom-schema-request-dto.ts +2 -1
  71. package/models/user-class.ts +13 -5
  72. package/package.json +1 -1
  73. package/api/alerts-api.ts +0 -860
  74. package/api/dashboard-api.ts +0 -792
  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/reports-api.d.ts +0 -479
  84. package/dist/api/reports-api.js +0 -752
  85. package/dist/api/scenario-analysis-api.d.ts +0 -529
  86. package/dist/api/scenario-analysis-api.js +0 -895
  87. package/dist/api/settings-api.d.ts +0 -264
  88. package/dist/api/tariff-comparisons-api.d.ts +0 -206
  89. package/dist/api/tariff-comparisons-api.js +0 -409
  90. package/dist/models/alert-class.d.ts +0 -90
  91. package/dist/models/alert-history-class.d.ts +0 -108
  92. package/dist/models/channel-response-class.d.ts +0 -30
  93. package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
  94. package/dist/models/compare-tariffs-request-dto.js +0 -22
  95. package/dist/models/compare-tariffs-response-class.d.ts +0 -31
  96. package/dist/models/condition-dto.d.ts +0 -43
  97. package/dist/models/condition-dto.js +0 -22
  98. package/dist/models/create-alert-request-dto.d.ts +0 -79
  99. package/dist/models/create-alert-request-dto.js +0 -27
  100. package/dist/models/create-dashboard-request-dto.d.ts +0 -70
  101. package/dist/models/create-dashboard-request-dto.js +0 -29
  102. package/dist/models/create-report-request-dto.d.ts +0 -49
  103. package/dist/models/create-report-request-dto.js +0 -22
  104. package/dist/models/create-report-response-class.d.ts +0 -25
  105. package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
  106. package/dist/models/create-scenario-analysis-request-dto.js +0 -22
  107. package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
  108. package/dist/models/dashboard-class.d.ts +0 -78
  109. package/dist/models/get-alert-response-class.d.ts +0 -25
  110. package/dist/models/get-dashboard-response-class.d.ts +0 -25
  111. package/dist/models/get-report-response-class.d.ts +0 -25
  112. package/dist/models/get-report-response-class.js +0 -15
  113. package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
  114. package/dist/models/get-scenario-analysis-response-class.js +0 -15
  115. package/dist/models/grouped-tariff-class.d.ts +0 -30
  116. package/dist/models/grouped-tariff-class.js +0 -15
  117. package/dist/models/insurance-company-response-class.js +0 -15
  118. package/dist/models/insurance-response-class.js +0 -15
  119. package/dist/models/list-alert-history-response-class.js +0 -15
  120. package/dist/models/list-alerts-response-class.d.ts +0 -31
  121. package/dist/models/list-alerts-response-class.js +0 -15
  122. package/dist/models/list-channels-response-class.d.ts +0 -25
  123. package/dist/models/list-channels-response-class.js +0 -15
  124. package/dist/models/list-dashboards-response-class.d.ts +0 -31
  125. package/dist/models/list-dashboards-response-class.js +0 -15
  126. package/dist/models/list-insurance-companies-response-class.d.ts +0 -25
  127. package/dist/models/list-insurance-companies-response-class.js +0 -15
  128. package/dist/models/list-report-history-response-class.d.ts +0 -31
  129. package/dist/models/list-report-history-response-class.js +0 -15
  130. package/dist/models/list-reports-response-class.d.ts +0 -31
  131. package/dist/models/list-reports-response-class.js +0 -15
  132. package/dist/models/list-scenario-analyses-response-class.d.ts +0 -31
  133. package/dist/models/list-scenario-analyses-response-class.js +0 -15
  134. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -25
  135. package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
  136. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -25
  137. package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
  138. package/dist/models/list-tariffs-response-class.d.ts +0 -25
  139. package/dist/models/list-tariffs-response-class.js +0 -15
  140. package/dist/models/list-user-subscriptions-response-class.js +0 -15
  141. package/dist/models/manage-subscription-request-dto.js +0 -15
  142. package/dist/models/manage-subscription-response-class.d.ts +0 -25
  143. package/dist/models/manage-subscription-response-class.js +0 -15
  144. package/dist/models/report-class.d.ts +0 -66
  145. package/dist/models/report-class.js +0 -15
  146. package/dist/models/report-history-class.d.ts +0 -48
  147. package/dist/models/report-history-class.js +0 -15
  148. package/dist/models/scenario-analysis-class.d.ts +0 -108
  149. package/dist/models/scenario-analysis-class.js +0 -15
  150. package/dist/models/scenario-analysis-date-response-class.d.ts +0 -36
  151. package/dist/models/scenario-analysis-date-response-class.js +0 -15
  152. package/dist/models/set-tenant-setting-response-class.d.ts +0 -36
  153. package/dist/models/set-tenant-setting-response-class.js +0 -15
  154. package/dist/models/update-alert-request-dto.d.ts +0 -72
  155. package/dist/models/update-alert-request-dto.js +0 -21
  156. package/dist/models/update-alert-response-class.d.ts +0 -25
  157. package/dist/models/update-alert-response-class.js +0 -15
  158. package/dist/models/update-dashboard-request-dto.d.ts +0 -76
  159. package/dist/models/update-dashboard-request-dto.js +0 -29
  160. package/dist/models/update-dashboard-response-class.d.ts +0 -25
  161. package/dist/models/update-dashboard-response-class.js +0 -15
  162. package/dist/models/update-report-request-dto.d.ts +0 -55
  163. package/dist/models/update-report-request-dto.js +0 -22
  164. package/dist/models/update-report-response-class.d.ts +0 -25
  165. package/dist/models/update-report-response-class.js +0 -15
  166. package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
  167. package/dist/models/update-scenario-analysis-request-dto.js +0 -22
  168. package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
  169. package/dist/models/update-scenario-analysis-response-class.js +0 -15
  170. package/models/alert-class.ts +0 -96
  171. package/models/alert-history-class.ts +0 -114
  172. package/models/compare-tariffs-request-dto.ts +0 -46
  173. package/models/compare-tariffs-response-class.ts +0 -37
  174. package/models/condition-dto.ts +0 -52
  175. package/models/create-alert-request-dto.ts +0 -89
  176. package/models/create-dashboard-request-dto.ts +0 -81
  177. package/models/create-dashboard-response-class.ts +0 -31
  178. package/models/create-report-request-dto.ts +0 -58
  179. package/models/create-report-response-class.ts +0 -31
  180. package/models/create-scenario-analysis-request-dto.ts +0 -83
  181. package/models/create-scenario-analysis-response-class.ts +0 -31
  182. package/models/dashboard-class.ts +0 -84
  183. package/models/get-alert-response-class.ts +0 -31
  184. package/models/get-dashboard-response-class.ts +0 -31
  185. package/models/get-report-response-class.ts +0 -31
  186. package/models/get-scenario-analysis-response-class.ts +0 -31
  187. package/models/grouped-tariff-class.ts +0 -36
  188. package/models/list-alerts-response-class.ts +0 -37
  189. package/models/list-channels-response-class.ts +0 -31
  190. package/models/list-dashboards-response-class.ts +0 -37
  191. package/models/list-insurance-companies-response-class.ts +0 -31
  192. package/models/list-report-history-response-class.ts +0 -37
  193. package/models/list-reports-response-class.ts +0 -37
  194. package/models/list-scenario-analyses-response-class.ts +0 -37
  195. package/models/list-scenario-analysis-dates-response-class.ts +0 -31
  196. package/models/list-tariff-insurance-companies-response-class.ts +0 -31
  197. package/models/list-tariffs-response-class.ts +0 -31
  198. package/models/manage-subscription-response-class.ts +0 -31
  199. package/models/report-class.ts +0 -72
  200. package/models/report-history-class.ts +0 -54
  201. package/models/scenario-analysis-class.ts +0 -114
  202. package/models/scenario-analysis-date-response-class.ts +0 -42
  203. package/models/set-tenant-setting-response-class.ts +0 -42
  204. package/models/update-alert-request-dto.ts +0 -81
  205. package/models/update-alert-response-class.ts +0 -31
  206. package/models/update-dashboard-request-dto.ts +0 -87
  207. package/models/update-dashboard-response-class.ts +0 -31
  208. package/models/update-report-request-dto.ts +0 -64
  209. package/models/update-report-response-class.ts +0 -31
  210. package/models/update-scenario-analysis-request-dto.ts +0 -83
  211. package/models/update-scenario-analysis-response-class.ts +0 -31
  212. /package/dist/models/{alert-class.js → batch-delete-response-class.js} +0 -0
  213. /package/dist/models/{alert-history-class.js → delete-response-class.js} +0 -0
  214. /package/dist/models/{channel-response-class.js → disable-users-response-class.js} +0 -0
  215. /package/dist/models/{compare-tariffs-response-class.js → enable-users-response-class.js} +0 -0
  216. /package/dist/models/{create-alert-response-class.js → get-organization-response-class.js} +0 -0
  217. /package/dist/models/{create-dashboard-response-class.js → invite-org-request-dto.js} +0 -0
  218. /package/dist/models/{create-report-response-class.js → invite-users-response-class.js} +0 -0
  219. /package/dist/models/{create-scenario-analysis-response-class.js → list-org-invitations-response-class.js} +0 -0
  220. /package/dist/models/{dashboard-class.js → list-organizations-response-class.js} +0 -0
  221. /package/dist/models/{get-alert-response-class.js → org-invitation-class.js} +0 -0
  222. /package/dist/models/{get-dashboard-response-class.js → org-invitation-response-class.js} +0 -0
  223. /package/dist/models/{get-embedded-url-response-class.js → organization-class.js} +0 -0
@@ -1,479 +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 { CreateReportRequestDto } from '../models';
16
- import { CreateReportResponseClass } from '../models';
17
- import { GetReportResponseClass } from '../models';
18
- import { ListReportHistoryResponseClass } from '../models';
19
- import { ListReportsResponseClass } from '../models';
20
- import { UpdateReportRequestDto } from '../models';
21
- import { UpdateReportResponseClass } from '../models';
22
- /**
23
- * ReportsApi - axios parameter creator
24
- * @export
25
- */
26
- export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration) => {
27
- /**
28
- *
29
- * @param {CreateReportRequestDto} createReportRequestDto
30
- * @param {string} [authorization] Bearer Token
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- createReport: (createReportRequestDto: CreateReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
- /**
36
- *
37
- * @param {number} id
38
- * @param {string} [authorization] Bearer Token
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- deleteReport: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
- /**
44
- *
45
- * @param {string} code
46
- * @param {string} code2 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
- getReport: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
- /**
54
- *
55
- * @param {string} code
56
- * @param {string} [authorization] Bearer Token
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
- listReportHistory: (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
- /**
68
- *
69
- * @param {string} [authorization] Bearer Token
70
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
71
- * @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.
72
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
73
- * @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.
74
- * @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.
75
- * @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.
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- listReports: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
- /**
81
- *
82
- * @param {number} id
83
- * @param {UpdateReportRequestDto} updateReportRequestDto
84
- * @param {string} [authorization] Bearer Token
85
- * @param {*} [options] Override http request option.
86
- * @throws {RequiredError}
87
- */
88
- updateReport: (id: number, updateReportRequestDto: UpdateReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
89
- };
90
- /**
91
- * ReportsApi - functional programming interface
92
- * @export
93
- */
94
- export declare const ReportsApiFp: (configuration?: Configuration) => {
95
- /**
96
- *
97
- * @param {CreateReportRequestDto} createReportRequestDto
98
- * @param {string} [authorization] Bearer Token
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- createReport(createReportRequestDto: CreateReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateReportResponseClass>>;
103
- /**
104
- *
105
- * @param {number} id
106
- * @param {string} [authorization] Bearer Token
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- deleteReport(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
111
- /**
112
- *
113
- * @param {string} code
114
- * @param {string} code2 code
115
- * @param {string} [authorization] Bearer Token
116
- * @param {string} [expand] Fields to expand response by
117
- * @param {*} [options] Override http request option.
118
- * @throws {RequiredError}
119
- */
120
- getReport(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetReportResponseClass>>;
121
- /**
122
- *
123
- * @param {string} code
124
- * @param {string} [authorization] Bearer Token
125
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
126
- * @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.
127
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
128
- * @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.
129
- * @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.
130
- * @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.
131
- * @param {*} [options] Override http request option.
132
- * @throws {RequiredError}
133
- */
134
- listReportHistory(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListReportHistoryResponseClass>>;
135
- /**
136
- *
137
- * @param {string} [authorization] Bearer Token
138
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
139
- * @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.
140
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
141
- * @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.
142
- * @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.
143
- * @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.
144
- * @param {*} [options] Override http request option.
145
- * @throws {RequiredError}
146
- */
147
- listReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListReportsResponseClass>>;
148
- /**
149
- *
150
- * @param {number} id
151
- * @param {UpdateReportRequestDto} updateReportRequestDto
152
- * @param {string} [authorization] Bearer Token
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- updateReport(id: number, updateReportRequestDto: UpdateReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateReportResponseClass>>;
157
- };
158
- /**
159
- * ReportsApi - factory interface
160
- * @export
161
- */
162
- export declare const ReportsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
163
- /**
164
- *
165
- * @param {CreateReportRequestDto} createReportRequestDto
166
- * @param {string} [authorization] Bearer Token
167
- * @param {*} [options] Override http request option.
168
- * @throws {RequiredError}
169
- */
170
- createReport(createReportRequestDto: CreateReportRequestDto, authorization?: string, options?: any): AxiosPromise<CreateReportResponseClass>;
171
- /**
172
- *
173
- * @param {number} id
174
- * @param {string} [authorization] Bearer Token
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- */
178
- deleteReport(id: number, authorization?: string, options?: any): AxiosPromise<void>;
179
- /**
180
- *
181
- * @param {string} code
182
- * @param {string} code2 code
183
- * @param {string} [authorization] Bearer Token
184
- * @param {string} [expand] Fields to expand response by
185
- * @param {*} [options] Override http request option.
186
- * @throws {RequiredError}
187
- */
188
- getReport(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetReportResponseClass>;
189
- /**
190
- *
191
- * @param {string} code
192
- * @param {string} [authorization] Bearer Token
193
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
194
- * @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.
195
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
196
- * @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.
197
- * @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.
198
- * @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.
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- */
202
- listReportHistory(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListReportHistoryResponseClass>;
203
- /**
204
- *
205
- * @param {string} [authorization] Bearer Token
206
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
207
- * @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.
208
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
209
- * @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.
210
- * @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.
211
- * @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.
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- listReports(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListReportsResponseClass>;
216
- /**
217
- *
218
- * @param {number} id
219
- * @param {UpdateReportRequestDto} updateReportRequestDto
220
- * @param {string} [authorization] Bearer Token
221
- * @param {*} [options] Override http request option.
222
- * @throws {RequiredError}
223
- */
224
- updateReport(id: number, updateReportRequestDto: UpdateReportRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateReportResponseClass>;
225
- };
226
- /**
227
- * Request parameters for createReport operation in ReportsApi.
228
- * @export
229
- * @interface ReportsApiCreateReportRequest
230
- */
231
- export interface ReportsApiCreateReportRequest {
232
- /**
233
- *
234
- * @type {CreateReportRequestDto}
235
- * @memberof ReportsApiCreateReport
236
- */
237
- readonly createReportRequestDto: CreateReportRequestDto;
238
- /**
239
- * Bearer Token
240
- * @type {string}
241
- * @memberof ReportsApiCreateReport
242
- */
243
- readonly authorization?: string;
244
- }
245
- /**
246
- * Request parameters for deleteReport operation in ReportsApi.
247
- * @export
248
- * @interface ReportsApiDeleteReportRequest
249
- */
250
- export interface ReportsApiDeleteReportRequest {
251
- /**
252
- *
253
- * @type {number}
254
- * @memberof ReportsApiDeleteReport
255
- */
256
- readonly id: number;
257
- /**
258
- * Bearer Token
259
- * @type {string}
260
- * @memberof ReportsApiDeleteReport
261
- */
262
- readonly authorization?: string;
263
- }
264
- /**
265
- * Request parameters for getReport operation in ReportsApi.
266
- * @export
267
- * @interface ReportsApiGetReportRequest
268
- */
269
- export interface ReportsApiGetReportRequest {
270
- /**
271
- *
272
- * @type {string}
273
- * @memberof ReportsApiGetReport
274
- */
275
- readonly code: string;
276
- /**
277
- * code
278
- * @type {string}
279
- * @memberof ReportsApiGetReport
280
- */
281
- readonly code2: string;
282
- /**
283
- * Bearer Token
284
- * @type {string}
285
- * @memberof ReportsApiGetReport
286
- */
287
- readonly authorization?: string;
288
- /**
289
- * Fields to expand response by
290
- * @type {string}
291
- * @memberof ReportsApiGetReport
292
- */
293
- readonly expand?: string;
294
- }
295
- /**
296
- * Request parameters for listReportHistory operation in ReportsApi.
297
- * @export
298
- * @interface ReportsApiListReportHistoryRequest
299
- */
300
- export interface ReportsApiListReportHistoryRequest {
301
- /**
302
- *
303
- * @type {string}
304
- * @memberof ReportsApiListReportHistory
305
- */
306
- readonly code: string;
307
- /**
308
- * Bearer Token
309
- * @type {string}
310
- * @memberof ReportsApiListReportHistory
311
- */
312
- readonly authorization?: string;
313
- /**
314
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
315
- * @type {any}
316
- * @memberof ReportsApiListReportHistory
317
- */
318
- readonly pageSize?: any;
319
- /**
320
- * 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.
321
- * @type {any}
322
- * @memberof ReportsApiListReportHistory
323
- */
324
- readonly pageToken?: any;
325
- /**
326
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
327
- * @type {any}
328
- * @memberof ReportsApiListReportHistory
329
- */
330
- readonly filter?: any;
331
- /**
332
- * 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.
333
- * @type {any}
334
- * @memberof ReportsApiListReportHistory
335
- */
336
- readonly search?: any;
337
- /**
338
- * 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.
339
- * @type {any}
340
- * @memberof ReportsApiListReportHistory
341
- */
342
- readonly order?: any;
343
- /**
344
- * 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.
345
- * @type {any}
346
- * @memberof ReportsApiListReportHistory
347
- */
348
- readonly expand?: any;
349
- }
350
- /**
351
- * Request parameters for listReports operation in ReportsApi.
352
- * @export
353
- * @interface ReportsApiListReportsRequest
354
- */
355
- export interface ReportsApiListReportsRequest {
356
- /**
357
- * Bearer Token
358
- * @type {string}
359
- * @memberof ReportsApiListReports
360
- */
361
- readonly authorization?: string;
362
- /**
363
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
364
- * @type {any}
365
- * @memberof ReportsApiListReports
366
- */
367
- readonly pageSize?: any;
368
- /**
369
- * 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.
370
- * @type {any}
371
- * @memberof ReportsApiListReports
372
- */
373
- readonly pageToken?: any;
374
- /**
375
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
376
- * @type {any}
377
- * @memberof ReportsApiListReports
378
- */
379
- readonly filter?: any;
380
- /**
381
- * 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.
382
- * @type {any}
383
- * @memberof ReportsApiListReports
384
- */
385
- readonly search?: any;
386
- /**
387
- * 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.
388
- * @type {any}
389
- * @memberof ReportsApiListReports
390
- */
391
- readonly order?: any;
392
- /**
393
- * 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.
394
- * @type {any}
395
- * @memberof ReportsApiListReports
396
- */
397
- readonly expand?: any;
398
- }
399
- /**
400
- * Request parameters for updateReport operation in ReportsApi.
401
- * @export
402
- * @interface ReportsApiUpdateReportRequest
403
- */
404
- export interface ReportsApiUpdateReportRequest {
405
- /**
406
- *
407
- * @type {number}
408
- * @memberof ReportsApiUpdateReport
409
- */
410
- readonly id: number;
411
- /**
412
- *
413
- * @type {UpdateReportRequestDto}
414
- * @memberof ReportsApiUpdateReport
415
- */
416
- readonly updateReportRequestDto: UpdateReportRequestDto;
417
- /**
418
- * Bearer Token
419
- * @type {string}
420
- * @memberof ReportsApiUpdateReport
421
- */
422
- readonly authorization?: string;
423
- }
424
- /**
425
- * ReportsApi - object-oriented interface
426
- * @export
427
- * @class ReportsApi
428
- * @extends {BaseAPI}
429
- */
430
- export declare class ReportsApi extends BaseAPI {
431
- /**
432
- *
433
- * @param {ReportsApiCreateReportRequest} requestParameters Request parameters.
434
- * @param {*} [options] Override http request option.
435
- * @throws {RequiredError}
436
- * @memberof ReportsApi
437
- */
438
- createReport(requestParameters: ReportsApiCreateReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateReportResponseClass, any>>;
439
- /**
440
- *
441
- * @param {ReportsApiDeleteReportRequest} requestParameters Request parameters.
442
- * @param {*} [options] Override http request option.
443
- * @throws {RequiredError}
444
- * @memberof ReportsApi
445
- */
446
- deleteReport(requestParameters: ReportsApiDeleteReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
447
- /**
448
- *
449
- * @param {ReportsApiGetReportRequest} requestParameters Request parameters.
450
- * @param {*} [options] Override http request option.
451
- * @throws {RequiredError}
452
- * @memberof ReportsApi
453
- */
454
- getReport(requestParameters: ReportsApiGetReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetReportResponseClass, any>>;
455
- /**
456
- *
457
- * @param {ReportsApiListReportHistoryRequest} requestParameters Request parameters.
458
- * @param {*} [options] Override http request option.
459
- * @throws {RequiredError}
460
- * @memberof ReportsApi
461
- */
462
- listReportHistory(requestParameters: ReportsApiListReportHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListReportHistoryResponseClass, any>>;
463
- /**
464
- *
465
- * @param {ReportsApiListReportsRequest} requestParameters Request parameters.
466
- * @param {*} [options] Override http request option.
467
- * @throws {RequiredError}
468
- * @memberof ReportsApi
469
- */
470
- listReports(requestParameters?: ReportsApiListReportsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListReportsResponseClass, any>>;
471
- /**
472
- *
473
- * @param {ReportsApiUpdateReportRequest} requestParameters Request parameters.
474
- * @param {*} [options] Override http request option.
475
- * @throws {RequiredError}
476
- * @memberof ReportsApi
477
- */
478
- updateReport(requestParameters: ReportsApiUpdateReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateReportResponseClass, any>>;
479
- }