@emilgroup/tenant-sdk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/.openapi-generator/FILES +57 -14
  2. package/README.md +2 -2
  3. package/api/alerts-api.ts +860 -0
  4. package/api/custom-schema-api.ts +60 -52
  5. package/api/dashboard-api.ts +792 -0
  6. package/api/data-report-api.ts +75 -65
  7. package/api/data-report-executor-api.ts +26 -10
  8. package/api/invite-users-api.ts +79 -75
  9. package/api/reports-api.ts +860 -0
  10. package/api/scenario-analysis-api.ts +977 -0
  11. package/api/settings-api.ts +484 -0
  12. package/api/tariff-comparisons-api.ts +381 -0
  13. package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
  14. package/api/users-api.ts +148 -138
  15. package/api.ts +14 -4
  16. package/dist/api/alerts-api.d.ts +479 -0
  17. package/dist/api/alerts-api.js +752 -0
  18. package/dist/api/custom-schema-api.d.ts +42 -42
  19. package/dist/api/custom-schema-api.js +38 -31
  20. package/dist/api/dashboard-api.d.ts +434 -0
  21. package/dist/api/dashboard-api.js +724 -0
  22. package/dist/api/data-report-api.d.ts +52 -52
  23. package/dist/api/data-report-api.js +49 -40
  24. package/dist/api/data-report-executor-api.d.ts +16 -7
  25. package/dist/api/data-report-executor-api.js +17 -9
  26. package/dist/api/invite-users-api.d.ts +60 -63
  27. package/dist/api/invite-users-api.js +49 -40
  28. package/dist/api/reports-api.d.ts +479 -0
  29. package/dist/api/reports-api.js +752 -0
  30. package/dist/api/scenario-analysis-api.d.ts +529 -0
  31. package/dist/api/scenario-analysis-api.js +895 -0
  32. package/dist/api/settings-api.d.ts +264 -0
  33. package/dist/api/settings-api.js +509 -0
  34. package/dist/api/tariff-comparisons-api.d.ts +206 -0
  35. package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
  36. package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
  37. package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
  38. package/dist/api/users-api.d.ts +109 -113
  39. package/dist/api/users-api.js +93 -76
  40. package/dist/api.d.ts +7 -2
  41. package/dist/api.js +7 -2
  42. package/dist/models/alert-class.d.ts +90 -0
  43. package/dist/models/alert-history-class.d.ts +108 -0
  44. package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
  45. package/dist/models/channel-response-class.d.ts +30 -0
  46. package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
  47. package/dist/models/compare-tariffs-request-dto.js +22 -0
  48. package/dist/models/compare-tariffs-response-class.d.ts +31 -0
  49. package/dist/models/condition-dto.d.ts +43 -0
  50. package/dist/models/condition-dto.js +22 -0
  51. package/dist/models/create-alert-request-dto.d.ts +79 -0
  52. package/dist/models/create-alert-request-dto.js +27 -0
  53. package/dist/models/create-alert-response-class.d.ts +25 -0
  54. package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
  55. package/dist/models/create-custom-schema-request-dto.js +1 -2
  56. package/dist/models/create-dashboard-request-dto.d.ts +70 -0
  57. package/dist/models/create-dashboard-request-dto.js +29 -0
  58. package/dist/models/create-dashboard-response-class.d.ts +25 -0
  59. package/dist/models/create-report-request-dto.d.ts +49 -0
  60. package/dist/models/create-report-request-dto.js +22 -0
  61. package/dist/models/create-report-response-class.d.ts +25 -0
  62. package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
  63. package/dist/models/create-scenario-analysis-request-dto.js +22 -0
  64. package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
  65. package/dist/models/dashboard-class.d.ts +78 -0
  66. package/dist/models/get-alert-response-class.d.ts +25 -0
  67. package/dist/models/get-dashboard-response-class.d.ts +25 -0
  68. package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
  69. package/dist/models/get-report-response-class.d.ts +25 -0
  70. package/dist/models/get-report-response-class.js +15 -0
  71. package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
  72. package/dist/models/get-scenario-analysis-response-class.js +15 -0
  73. package/dist/models/grouped-tariff-class.d.ts +30 -0
  74. package/dist/models/grouped-tariff-class.js +15 -0
  75. package/dist/models/index.d.ts +50 -12
  76. package/dist/models/index.js +50 -12
  77. package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
  78. package/dist/models/insurance-company-response-class.js +15 -0
  79. package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
  80. package/dist/models/insurance-response-class.js +15 -0
  81. package/dist/models/invite-user-request-dto.d.ts +2 -8
  82. package/dist/models/invite-users-request-dto.d.ts +2 -2
  83. package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
  84. package/dist/models/list-alert-history-response-class.js +15 -0
  85. package/dist/models/list-alerts-response-class.d.ts +31 -0
  86. package/dist/models/list-alerts-response-class.js +15 -0
  87. package/dist/models/list-channels-response-class.d.ts +25 -0
  88. package/dist/models/list-channels-response-class.js +15 -0
  89. package/dist/models/list-dashboards-response-class.d.ts +31 -0
  90. package/dist/models/list-dashboards-response-class.js +15 -0
  91. package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
  92. package/dist/models/list-insurance-companies-response-class.js +15 -0
  93. package/dist/models/list-report-history-response-class.d.ts +31 -0
  94. package/dist/models/list-report-history-response-class.js +15 -0
  95. package/dist/models/list-reports-response-class.d.ts +31 -0
  96. package/dist/models/list-reports-response-class.js +15 -0
  97. package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
  98. package/dist/models/list-scenario-analyses-response-class.js +15 -0
  99. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
  100. package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
  101. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
  102. package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
  103. package/dist/models/list-tariffs-response-class.d.ts +25 -0
  104. package/dist/models/list-tariffs-response-class.js +15 -0
  105. package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
  106. package/dist/models/list-user-subscriptions-response-class.js +15 -0
  107. package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
  108. package/dist/models/manage-subscription-request-dto.js +15 -0
  109. package/dist/models/manage-subscription-response-class.d.ts +25 -0
  110. package/dist/models/manage-subscription-response-class.js +15 -0
  111. package/dist/models/report-class.d.ts +66 -0
  112. package/dist/models/report-class.js +15 -0
  113. package/dist/models/report-history-class.d.ts +48 -0
  114. package/dist/models/report-history-class.js +15 -0
  115. package/dist/models/scenario-analysis-class.d.ts +108 -0
  116. package/dist/models/scenario-analysis-class.js +15 -0
  117. package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
  118. package/dist/models/scenario-analysis-date-response-class.js +15 -0
  119. package/dist/models/set-setting-request-dto.d.ts +4 -10
  120. package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
  121. package/dist/models/set-tenant-setting-response-class.js +15 -0
  122. package/dist/models/subscription-class.d.ts +2 -9
  123. package/dist/models/update-alert-request-dto.d.ts +72 -0
  124. package/dist/models/update-alert-request-dto.js +21 -0
  125. package/dist/models/update-alert-response-class.d.ts +25 -0
  126. package/dist/models/update-alert-response-class.js +15 -0
  127. package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
  128. package/dist/models/update-custom-schema-request-dto.js +1 -2
  129. package/dist/models/update-dashboard-request-dto.d.ts +76 -0
  130. package/dist/models/update-dashboard-request-dto.js +29 -0
  131. package/dist/models/update-dashboard-response-class.d.ts +25 -0
  132. package/dist/models/update-dashboard-response-class.js +15 -0
  133. package/dist/models/update-report-request-dto.d.ts +55 -0
  134. package/dist/models/update-report-request-dto.js +22 -0
  135. package/dist/models/update-report-response-class.d.ts +25 -0
  136. package/dist/models/update-report-response-class.js +15 -0
  137. package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
  138. package/dist/models/update-scenario-analysis-request-dto.js +22 -0
  139. package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
  140. package/dist/models/update-scenario-analysis-response-class.js +15 -0
  141. package/dist/models/user-class.d.ts +5 -13
  142. package/models/alert-class.ts +96 -0
  143. package/models/alert-history-class.ts +114 -0
  144. package/models/assign-user-roles-request-dto.ts +2 -2
  145. package/models/channel-response-class.ts +36 -0
  146. package/models/compare-tariffs-request-dto.ts +46 -0
  147. package/models/compare-tariffs-response-class.ts +37 -0
  148. package/models/condition-dto.ts +52 -0
  149. package/models/create-alert-request-dto.ts +89 -0
  150. package/models/create-alert-response-class.ts +31 -0
  151. package/models/create-custom-schema-request-dto.ts +1 -2
  152. package/models/create-dashboard-request-dto.ts +81 -0
  153. package/models/create-dashboard-response-class.ts +31 -0
  154. package/models/create-report-request-dto.ts +58 -0
  155. package/models/create-report-response-class.ts +31 -0
  156. package/models/create-scenario-analysis-request-dto.ts +83 -0
  157. package/models/create-scenario-analysis-response-class.ts +31 -0
  158. package/models/dashboard-class.ts +84 -0
  159. package/models/get-alert-response-class.ts +31 -0
  160. package/models/get-dashboard-response-class.ts +31 -0
  161. package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
  162. package/models/get-report-response-class.ts +31 -0
  163. package/models/get-scenario-analysis-response-class.ts +31 -0
  164. package/models/grouped-tariff-class.ts +36 -0
  165. package/models/index.ts +50 -12
  166. package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
  167. package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
  168. package/models/invite-user-request-dto.ts +2 -8
  169. package/models/invite-users-request-dto.ts +2 -2
  170. package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
  171. package/models/list-alerts-response-class.ts +37 -0
  172. package/models/list-channels-response-class.ts +31 -0
  173. package/models/list-dashboards-response-class.ts +37 -0
  174. package/models/list-insurance-companies-response-class.ts +31 -0
  175. package/models/list-report-history-response-class.ts +37 -0
  176. package/models/list-reports-response-class.ts +37 -0
  177. package/models/list-scenario-analyses-response-class.ts +37 -0
  178. package/models/list-scenario-analysis-dates-response-class.ts +31 -0
  179. package/models/list-tariff-insurance-companies-response-class.ts +31 -0
  180. package/models/list-tariffs-response-class.ts +31 -0
  181. package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
  182. package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
  183. package/models/manage-subscription-response-class.ts +31 -0
  184. package/models/report-class.ts +72 -0
  185. package/models/report-history-class.ts +54 -0
  186. package/models/scenario-analysis-class.ts +114 -0
  187. package/models/scenario-analysis-date-response-class.ts +42 -0
  188. package/models/set-setting-request-dto.ts +4 -10
  189. package/models/set-tenant-setting-response-class.ts +42 -0
  190. package/models/subscription-class.ts +2 -9
  191. package/models/update-alert-request-dto.ts +81 -0
  192. package/models/update-alert-response-class.ts +31 -0
  193. package/models/update-custom-schema-request-dto.ts +1 -2
  194. package/models/update-dashboard-request-dto.ts +87 -0
  195. package/models/update-dashboard-response-class.ts +31 -0
  196. package/models/update-report-request-dto.ts +64 -0
  197. package/models/update-report-response-class.ts +31 -0
  198. package/models/update-scenario-analysis-request-dto.ts +83 -0
  199. package/models/update-scenario-analysis-response-class.ts +31 -0
  200. package/models/user-class.ts +5 -13
  201. package/package.json +1 -1
  202. package/api/organizations-api.ts +0 -339
  203. package/dist/api/invite-organizations-api.d.ts +0 -198
  204. package/dist/models/get-organization-response-class.d.ts +0 -25
  205. package/dist/models/invite-org-request-dto.d.ts +0 -78
  206. package/dist/models/invite-users-response-class.d.ts +0 -24
  207. package/dist/models/org-invitation-class.d.ts +0 -103
  208. package/dist/models/org-invitation-response-class.d.ts +0 -25
  209. package/dist/models/organization-class.d.ts +0 -84
  210. package/models/get-organization-response-class.ts +0 -31
  211. package/models/invite-org-request-dto.ts +0 -84
  212. package/models/invite-users-response-class.ts +0 -30
  213. package/models/org-invitation-class.ts +0 -109
  214. package/models/org-invitation-response-class.ts +0 -31
  215. package/models/organization-class.ts +0 -90
  216. /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
  217. /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
  218. /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
  219. /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
  220. /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
  221. /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
  222. /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
  223. /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
  224. /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
  225. /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
  226. /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
  227. /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
@@ -21,12 +21,13 @@ import { RunDataReportResponseClass } from '../models';
21
21
  export declare const DataReportExecutorApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
23
  *
24
+ * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
24
25
  * @param {RunDataReportRequestDto} runDataReportRequestDto
25
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
26
+ * @param {string} [authorization] Bearer Token
26
27
  * @param {*} [options] Override http request option.
27
28
  * @throws {RequiredError}
28
29
  */
29
- runDataReport: (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
+ runDataReport: (authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
31
  };
31
32
  /**
32
33
  * DataReportExecutorApi - functional programming interface
@@ -35,12 +36,13 @@ export declare const DataReportExecutorApiAxiosParamCreator: (configuration?: Co
35
36
  export declare const DataReportExecutorApiFp: (configuration?: Configuration) => {
36
37
  /**
37
38
  *
39
+ * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
38
40
  * @param {RunDataReportRequestDto} runDataReportRequestDto
39
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
41
+ * @param {string} [authorization] Bearer Token
40
42
  * @param {*} [options] Override http request option.
41
43
  * @throws {RequiredError}
42
44
  */
43
- runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>>;
45
+ runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>>;
44
46
  };
45
47
  /**
46
48
  * DataReportExecutorApi - factory interface
@@ -49,12 +51,13 @@ export declare const DataReportExecutorApiFp: (configuration?: Configuration) =>
49
51
  export declare const DataReportExecutorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
50
52
  /**
51
53
  *
54
+ * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
52
55
  * @param {RunDataReportRequestDto} runDataReportRequestDto
53
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
+ * @param {string} [authorization] Bearer Token
54
57
  * @param {*} [options] Override http request option.
55
58
  * @throws {RequiredError}
56
59
  */
57
- runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass>;
60
+ runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass>;
58
61
  };
59
62
  /**
60
63
  * Request parameters for runDataReport operation in DataReportExecutorApi.
@@ -62,6 +65,12 @@ export declare const DataReportExecutorApiFactory: (configuration?: Configuratio
62
65
  * @interface DataReportExecutorApiRunDataReportRequest
63
66
  */
64
67
  export interface DataReportExecutorApiRunDataReportRequest {
68
+ /**
69
+ * Bearer Token: provided by the login endpoint under the name accessToken.
70
+ * @type {string}
71
+ * @memberof DataReportExecutorApiRunDataReport
72
+ */
73
+ readonly authorization2: string;
65
74
  /**
66
75
  *
67
76
  * @type {RunDataReportRequestDto}
@@ -69,7 +78,7 @@ export interface DataReportExecutorApiRunDataReportRequest {
69
78
  */
70
79
  readonly runDataReportRequestDto: RunDataReportRequestDto;
71
80
  /**
72
- * Bearer Token: provided by the login endpoint under the name accessToken.
81
+ * Bearer Token
73
82
  * @type {string}
74
83
  * @memberof DataReportExecutorApiRunDataReport
75
84
  */
@@ -98,18 +98,21 @@ var DataReportExecutorApiAxiosParamCreator = function (configuration) {
98
98
  return {
99
99
  /**
100
100
  *
101
+ * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
101
102
  * @param {RunDataReportRequestDto} runDataReportRequestDto
102
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
+ * @param {string} [authorization] Bearer Token
103
104
  * @param {*} [options] Override http request option.
104
105
  * @throws {RequiredError}
105
106
  */
106
- runDataReport: function (runDataReportRequestDto, authorization, options) {
107
+ runDataReport: function (authorization2, runDataReportRequestDto, authorization, options) {
107
108
  if (options === void 0) { options = {}; }
108
109
  return __awaiter(_this, void 0, void 0, function () {
109
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
110
111
  return __generator(this, function (_a) {
111
112
  switch (_a.label) {
112
113
  case 0:
114
+ // verify required parameter 'authorization2' is not null or undefined
115
+ (0, common_1.assertParamExists)('runDataReport', 'authorization2', authorization2);
113
116
  // verify required parameter 'runDataReportRequestDto' is not null or undefined
114
117
  (0, common_1.assertParamExists)('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto);
115
118
  localVarPath = "/tenantservice/v1/data-report-executor";
@@ -131,6 +134,9 @@ var DataReportExecutorApiAxiosParamCreator = function (configuration) {
131
134
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
132
135
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
133
136
  }
137
+ if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
138
+ localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
139
+ }
134
140
  localVarHeaderParameter['Content-Type'] = 'application/json';
135
141
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
142
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -156,17 +162,18 @@ var DataReportExecutorApiFp = function (configuration) {
156
162
  return {
157
163
  /**
158
164
  *
165
+ * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
159
166
  * @param {RunDataReportRequestDto} runDataReportRequestDto
160
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
+ * @param {string} [authorization] Bearer Token
161
168
  * @param {*} [options] Override http request option.
162
169
  * @throws {RequiredError}
163
170
  */
164
- runDataReport: function (runDataReportRequestDto, authorization, options) {
171
+ runDataReport: function (authorization2, runDataReportRequestDto, authorization, options) {
165
172
  return __awaiter(this, void 0, void 0, function () {
166
173
  var localVarAxiosArgs;
167
174
  return __generator(this, function (_a) {
168
175
  switch (_a.label) {
169
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, options)];
176
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.runDataReport(authorization2, runDataReportRequestDto, authorization, options)];
170
177
  case 1:
171
178
  localVarAxiosArgs = _a.sent();
172
179
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -186,13 +193,14 @@ var DataReportExecutorApiFactory = function (configuration, basePath, axios) {
186
193
  return {
187
194
  /**
188
195
  *
196
+ * @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
189
197
  * @param {RunDataReportRequestDto} runDataReportRequestDto
190
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
+ * @param {string} [authorization] Bearer Token
191
199
  * @param {*} [options] Override http request option.
192
200
  * @throws {RequiredError}
193
201
  */
194
- runDataReport: function (runDataReportRequestDto, authorization, options) {
195
- return localVarFp.runDataReport(runDataReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
202
+ runDataReport: function (authorization2, runDataReportRequestDto, authorization, options) {
203
+ return localVarFp.runDataReport(authorization2, runDataReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
196
204
  },
197
205
  };
198
206
  };
@@ -217,7 +225,7 @@ var DataReportExecutorApi = /** @class */ (function (_super) {
217
225
  */
218
226
  DataReportExecutorApi.prototype.runDataReport = function (requestParameters, options) {
219
227
  var _this = this;
220
- return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
228
+ return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.authorization2, requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
221
229
  };
222
230
  return DataReportExecutorApi;
223
231
  }(base_1.BaseAPI));
@@ -13,12 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { BatchDeleteRequestDto } from '../models';
16
- import { BatchDeleteResponseClass } from '../models';
17
- import { DeleteResponseClass } from '../models';
18
16
  import { InviteUserRequestDto } from '../models';
19
17
  import { InviteUserResponseClass } from '../models';
20
18
  import { InviteUsersRequestDto } from '../models';
21
- import { InviteUsersResponseClass } from '../models';
22
19
  import { ListInvitesResponseClass } from '../models';
23
20
  /**
24
21
  * InviteUsersApi - axios parameter creator
@@ -28,43 +25,43 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
28
25
  /**
29
26
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
30
27
  * @summary Delete the invited user
28
+ * @param {string} authorization Bearer Token
31
29
  * @param {number} id
32
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
30
  * @param {*} [options] Override http request option.
34
31
  * @throws {RequiredError}
35
32
  */
36
- deleteInvite: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ deleteInvite: (authorization: string, id: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
34
  /**
38
35
  * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
39
36
  * @summary Delete invited users.
37
+ * @param {string} authorization Bearer Token
40
38
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
41
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
39
  * @param {*} [options] Override http request option.
43
40
  * @throws {RequiredError}
44
41
  */
45
- deleteInvites: (batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ deleteInvites: (authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
43
  /**
47
44
  * This send an email to invite a user with the specific role/roles.
48
45
  * @summary Invite a user
46
+ * @param {string} authorization Bearer Token
49
47
  * @param {InviteUserRequestDto} inviteUserRequestDto
50
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
48
  * @param {*} [options] Override http request option.
52
49
  * @throws {RequiredError}
53
50
  */
54
- inviteUser: (inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ inviteUser: (authorization: string, inviteUserRequestDto: InviteUserRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
52
  /**
56
53
  * This send bulk emails to invite users with the specific role/roles.
57
54
  * @summary Invite batch of users
55
+ * @param {string} authorization Bearer Token
58
56
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
59
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
60
57
  * @param {*} [options] Override http request option.
61
58
  * @throws {RequiredError}
62
59
  */
63
- inviteUsers: (inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ inviteUsers: (authorization: string, inviteUsersRequestDto: InviteUsersRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
61
  /**
65
62
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
66
63
  * @summary List invited users
67
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
64
+ * @param {string} authorization Bearer Token
68
65
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
69
66
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
70
67
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -74,7 +71,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
74
71
  * @param {*} [options] Override http request option.
75
72
  * @throws {RequiredError}
76
73
  */
77
- listInvites: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ listInvites: (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
75
  };
79
76
  /**
80
77
  * InviteUsersApi - functional programming interface
@@ -84,43 +81,43 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
84
81
  /**
85
82
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
86
83
  * @summary Delete the invited user
84
+ * @param {string} authorization Bearer Token
87
85
  * @param {number} id
88
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
86
  * @param {*} [options] Override http request option.
90
87
  * @throws {RequiredError}
91
88
  */
92
- deleteInvite(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
89
+ deleteInvite(authorization: string, id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
93
90
  /**
94
91
  * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
95
92
  * @summary Delete invited users.
93
+ * @param {string} authorization Bearer Token
96
94
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
97
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
95
  * @param {*} [options] Override http request option.
99
96
  * @throws {RequiredError}
100
97
  */
101
- deleteInvites(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchDeleteResponseClass>>;
98
+ deleteInvites(authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
102
99
  /**
103
100
  * This send an email to invite a user with the specific role/roles.
104
101
  * @summary Invite a user
102
+ * @param {string} authorization Bearer Token
105
103
  * @param {InviteUserRequestDto} inviteUserRequestDto
106
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
107
104
  * @param {*} [options] Override http request option.
108
105
  * @throws {RequiredError}
109
106
  */
110
- inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUserResponseClass>>;
107
+ inviteUser(authorization: string, inviteUserRequestDto: InviteUserRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUserResponseClass>>;
111
108
  /**
112
109
  * This send bulk emails to invite users with the specific role/roles.
113
110
  * @summary Invite batch of users
111
+ * @param {string} authorization Bearer Token
114
112
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
115
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
116
113
  * @param {*} [options] Override http request option.
117
114
  * @throws {RequiredError}
118
115
  */
119
- inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
116
+ inviteUsers(authorization: string, inviteUsersRequestDto: InviteUsersRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
120
117
  /**
121
118
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
122
119
  * @summary List invited users
123
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
120
+ * @param {string} authorization Bearer Token
124
121
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
125
122
  * @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.
126
123
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -130,7 +127,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
130
127
  * @param {*} [options] Override http request option.
131
128
  * @throws {RequiredError}
132
129
  */
133
- listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>>;
130
+ listInvites(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>>;
134
131
  };
135
132
  /**
136
133
  * InviteUsersApi - factory interface
@@ -140,43 +137,43 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
140
137
  /**
141
138
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
142
139
  * @summary Delete the invited user
140
+ * @param {string} authorization Bearer Token
143
141
  * @param {number} id
144
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
145
142
  * @param {*} [options] Override http request option.
146
143
  * @throws {RequiredError}
147
144
  */
148
- deleteInvite(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
145
+ deleteInvite(authorization: string, id: number, options?: any): AxiosPromise<object>;
149
146
  /**
150
147
  * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
151
148
  * @summary Delete invited users.
149
+ * @param {string} authorization Bearer Token
152
150
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
153
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
151
  * @param {*} [options] Override http request option.
155
152
  * @throws {RequiredError}
156
153
  */
157
- deleteInvites(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: any): AxiosPromise<BatchDeleteResponseClass>;
154
+ deleteInvites(authorization: string, batchDeleteRequestDto: BatchDeleteRequestDto, options?: any): AxiosPromise<object>;
158
155
  /**
159
156
  * This send an email to invite a user with the specific role/roles.
160
157
  * @summary Invite a user
158
+ * @param {string} authorization Bearer Token
161
159
  * @param {InviteUserRequestDto} inviteUserRequestDto
162
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
163
160
  * @param {*} [options] Override http request option.
164
161
  * @throws {RequiredError}
165
162
  */
166
- inviteUser(inviteUserRequestDto: InviteUserRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
163
+ inviteUser(authorization: string, inviteUserRequestDto: InviteUserRequestDto, options?: any): AxiosPromise<InviteUserResponseClass>;
167
164
  /**
168
165
  * This send bulk emails to invite users with the specific role/roles.
169
166
  * @summary Invite batch of users
167
+ * @param {string} authorization Bearer Token
170
168
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
171
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
172
169
  * @param {*} [options] Override http request option.
173
170
  * @throws {RequiredError}
174
171
  */
175
- inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
172
+ inviteUsers(authorization: string, inviteUsersRequestDto: InviteUsersRequestDto, options?: any): AxiosPromise<object>;
176
173
  /**
177
174
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
178
175
  * @summary List invited users
179
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
+ * @param {string} authorization Bearer Token
180
177
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
181
178
  * @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.
182
179
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -186,7 +183,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
186
183
  * @param {*} [options] Override http request option.
187
184
  * @throws {RequiredError}
188
185
  */
189
- listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvitesResponseClass>;
186
+ listInvites(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvitesResponseClass>;
190
187
  };
191
188
  /**
192
189
  * Request parameters for deleteInvite operation in InviteUsersApi.
@@ -195,17 +192,17 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
195
192
  */
196
193
  export interface InviteUsersApiDeleteInviteRequest {
197
194
  /**
198
- *
199
- * @type {number}
195
+ * Bearer Token
196
+ * @type {string}
200
197
  * @memberof InviteUsersApiDeleteInvite
201
198
  */
202
- readonly id: number;
199
+ readonly authorization: string;
203
200
  /**
204
- * Bearer Token: provided by the login endpoint under the name accessToken.
205
- * @type {string}
201
+ *
202
+ * @type {number}
206
203
  * @memberof InviteUsersApiDeleteInvite
207
204
  */
208
- readonly authorization?: string;
205
+ readonly id: number;
209
206
  }
210
207
  /**
211
208
  * Request parameters for deleteInvites operation in InviteUsersApi.
@@ -214,17 +211,17 @@ export interface InviteUsersApiDeleteInviteRequest {
214
211
  */
215
212
  export interface InviteUsersApiDeleteInvitesRequest {
216
213
  /**
217
- *
218
- * @type {BatchDeleteRequestDto}
214
+ * Bearer Token
215
+ * @type {string}
219
216
  * @memberof InviteUsersApiDeleteInvites
220
217
  */
221
- readonly batchDeleteRequestDto: BatchDeleteRequestDto;
218
+ readonly authorization: string;
222
219
  /**
223
- * Bearer Token: provided by the login endpoint under the name accessToken.
224
- * @type {string}
220
+ *
221
+ * @type {BatchDeleteRequestDto}
225
222
  * @memberof InviteUsersApiDeleteInvites
226
223
  */
227
- readonly authorization?: string;
224
+ readonly batchDeleteRequestDto: BatchDeleteRequestDto;
228
225
  }
229
226
  /**
230
227
  * Request parameters for inviteUser operation in InviteUsersApi.
@@ -233,17 +230,17 @@ export interface InviteUsersApiDeleteInvitesRequest {
233
230
  */
234
231
  export interface InviteUsersApiInviteUserRequest {
235
232
  /**
236
- *
237
- * @type {InviteUserRequestDto}
233
+ * Bearer Token
234
+ * @type {string}
238
235
  * @memberof InviteUsersApiInviteUser
239
236
  */
240
- readonly inviteUserRequestDto: InviteUserRequestDto;
237
+ readonly authorization: string;
241
238
  /**
242
- * Bearer Token: provided by the login endpoint under the name accessToken.
243
- * @type {string}
239
+ *
240
+ * @type {InviteUserRequestDto}
244
241
  * @memberof InviteUsersApiInviteUser
245
242
  */
246
- readonly authorization?: string;
243
+ readonly inviteUserRequestDto: InviteUserRequestDto;
247
244
  }
248
245
  /**
249
246
  * Request parameters for inviteUsers operation in InviteUsersApi.
@@ -252,17 +249,17 @@ export interface InviteUsersApiInviteUserRequest {
252
249
  */
253
250
  export interface InviteUsersApiInviteUsersRequest {
254
251
  /**
255
- *
256
- * @type {InviteUsersRequestDto}
252
+ * Bearer Token
253
+ * @type {string}
257
254
  * @memberof InviteUsersApiInviteUsers
258
255
  */
259
- readonly inviteUsersRequestDto: InviteUsersRequestDto;
256
+ readonly authorization: string;
260
257
  /**
261
- * Bearer Token: provided by the login endpoint under the name accessToken.
262
- * @type {string}
258
+ *
259
+ * @type {InviteUsersRequestDto}
263
260
  * @memberof InviteUsersApiInviteUsers
264
261
  */
265
- readonly authorization?: string;
262
+ readonly inviteUsersRequestDto: InviteUsersRequestDto;
266
263
  }
267
264
  /**
268
265
  * Request parameters for listInvites operation in InviteUsersApi.
@@ -271,11 +268,11 @@ export interface InviteUsersApiInviteUsersRequest {
271
268
  */
272
269
  export interface InviteUsersApiListInvitesRequest {
273
270
  /**
274
- * Bearer Token: provided by the login endpoint under the name accessToken.
271
+ * Bearer Token
275
272
  * @type {string}
276
273
  * @memberof InviteUsersApiListInvites
277
274
  */
278
- readonly authorization?: string;
275
+ readonly authorization: string;
279
276
  /**
280
277
  * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
281
278
  * @type {any}
@@ -328,7 +325,7 @@ export declare class InviteUsersApi extends BaseAPI {
328
325
  * @throws {RequiredError}
329
326
  * @memberof InviteUsersApi
330
327
  */
331
- deleteInvite(requestParameters: InviteUsersApiDeleteInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
328
+ deleteInvite(requestParameters: InviteUsersApiDeleteInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
332
329
  /**
333
330
  * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
334
331
  * @summary Delete invited users.
@@ -337,7 +334,7 @@ export declare class InviteUsersApi extends BaseAPI {
337
334
  * @throws {RequiredError}
338
335
  * @memberof InviteUsersApi
339
336
  */
340
- deleteInvites(requestParameters: InviteUsersApiDeleteInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any>>;
337
+ deleteInvites(requestParameters: InviteUsersApiDeleteInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
341
338
  /**
342
339
  * This send an email to invite a user with the specific role/roles.
343
340
  * @summary Invite a user
@@ -355,7 +352,7 @@ export declare class InviteUsersApi extends BaseAPI {
355
352
  * @throws {RequiredError}
356
353
  * @memberof InviteUsersApi
357
354
  */
358
- inviteUsers(requestParameters: InviteUsersApiInviteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUsersResponseClass, any>>;
355
+ inviteUsers(requestParameters: InviteUsersApiInviteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
359
356
  /**
360
357
  * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
361
358
  * @summary List invited users
@@ -364,5 +361,5 @@ export declare class InviteUsersApi extends BaseAPI {
364
361
  * @throws {RequiredError}
365
362
  * @memberof InviteUsersApi
366
363
  */
367
- listInvites(requestParameters?: InviteUsersApiListInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvitesResponseClass, any>>;
364
+ listInvites(requestParameters: InviteUsersApiListInvitesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvitesResponseClass, any>>;
368
365
  }