@epilot/sdk 2.0.0-beta.1 → 2.0.0-beta.3

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 (294) hide show
  1. package/README.md +71 -96
  2. package/dist/apis/access-token.cjs +90 -10
  3. package/dist/apis/access-token.d.cts +4 -4
  4. package/dist/apis/access-token.d.ts +4 -4
  5. package/dist/apis/access-token.js +86 -6
  6. package/dist/apis/address-suggestions.cjs +133 -10
  7. package/dist/apis/address-suggestions.d.cts +4 -4
  8. package/dist/apis/address-suggestions.d.ts +4 -4
  9. package/dist/apis/address-suggestions.js +129 -6
  10. package/dist/apis/address.cjs +85 -10
  11. package/dist/apis/address.d.cts +4 -4
  12. package/dist/apis/address.d.ts +4 -4
  13. package/dist/apis/address.js +81 -6
  14. package/dist/apis/ai-agents.cjs +216 -10
  15. package/dist/apis/ai-agents.d.cts +4 -4
  16. package/dist/apis/ai-agents.d.ts +4 -4
  17. package/dist/apis/ai-agents.js +212 -6
  18. package/dist/apis/app.cjs +574 -10
  19. package/dist/apis/app.d.cts +4 -4
  20. package/dist/apis/app.d.ts +4 -4
  21. package/dist/apis/app.js +570 -6
  22. package/dist/apis/audit-logs.cjs +56 -10
  23. package/dist/apis/audit-logs.d.cts +4 -4
  24. package/dist/apis/audit-logs.d.ts +4 -4
  25. package/dist/apis/audit-logs.js +52 -6
  26. package/dist/apis/automation.cjs +283 -10
  27. package/dist/apis/automation.d.cts +4 -4
  28. package/dist/apis/automation.d.ts +4 -4
  29. package/dist/apis/automation.js +279 -6
  30. package/dist/apis/billing.cjs +176 -10
  31. package/dist/apis/billing.d.cts +4 -4
  32. package/dist/apis/billing.d.ts +4 -4
  33. package/dist/apis/billing.js +172 -6
  34. package/dist/apis/blueprint-manifest.cjs +505 -10
  35. package/dist/apis/blueprint-manifest.d.cts +4 -4
  36. package/dist/apis/blueprint-manifest.d.ts +4 -4
  37. package/dist/apis/blueprint-manifest.js +501 -6
  38. package/dist/apis/consent.cjs +85 -10
  39. package/dist/apis/consent.d.cts +4 -4
  40. package/dist/apis/consent.d.ts +4 -4
  41. package/dist/apis/consent.js +81 -6
  42. package/dist/apis/customer-portal.cjs +2253 -10
  43. package/dist/apis/customer-portal.d.cts +4 -4
  44. package/dist/apis/customer-portal.d.ts +4 -4
  45. package/dist/apis/customer-portal.js +2249 -6
  46. package/dist/apis/dashboard.cjs +107 -0
  47. package/dist/apis/dashboard.d.cts +18 -0
  48. package/dist/apis/dashboard.d.ts +18 -0
  49. package/dist/apis/dashboard.js +107 -0
  50. package/dist/apis/data-management.cjs +241 -10
  51. package/dist/apis/data-management.d.cts +4 -4
  52. package/dist/apis/data-management.d.ts +4 -4
  53. package/dist/apis/data-management.js +237 -6
  54. package/dist/apis/deduplication.cjs +43 -10
  55. package/dist/apis/deduplication.d.cts +4 -4
  56. package/dist/apis/deduplication.d.ts +4 -4
  57. package/dist/apis/deduplication.js +39 -6
  58. package/dist/apis/design.cjs +220 -10
  59. package/dist/apis/design.d.cts +4 -4
  60. package/dist/apis/design.d.ts +4 -4
  61. package/dist/apis/design.js +216 -6
  62. package/dist/apis/document.cjs +79 -10
  63. package/dist/apis/document.d.cts +4 -4
  64. package/dist/apis/document.d.ts +4 -4
  65. package/dist/apis/document.js +75 -6
  66. package/dist/apis/email-settings.cjs +534 -10
  67. package/dist/apis/email-settings.d.cts +4 -4
  68. package/dist/apis/email-settings.d.ts +4 -4
  69. package/dist/apis/email-settings.js +530 -6
  70. package/dist/apis/email-template.cjs +123 -10
  71. package/dist/apis/email-template.d.cts +4 -4
  72. package/dist/apis/email-template.d.ts +4 -4
  73. package/dist/apis/email-template.js +119 -6
  74. package/dist/apis/entity-mapping.cjs +216 -10
  75. package/dist/apis/entity-mapping.d.cts +4 -4
  76. package/dist/apis/entity-mapping.d.ts +4 -4
  77. package/dist/apis/entity-mapping.js +212 -6
  78. package/dist/apis/entity.cjs +1601 -10
  79. package/dist/apis/entity.d.cts +4 -4
  80. package/dist/apis/entity.d.ts +4 -4
  81. package/dist/apis/entity.js +1597 -6
  82. package/dist/apis/environments.cjs +72 -10
  83. package/dist/apis/environments.d.cts +4 -4
  84. package/dist/apis/environments.d.ts +4 -4
  85. package/dist/apis/environments.js +68 -6
  86. package/dist/apis/erp-integration.cjs +587 -10
  87. package/dist/apis/erp-integration.d.cts +4 -4
  88. package/dist/apis/erp-integration.d.ts +4 -4
  89. package/dist/apis/erp-integration.js +583 -6
  90. package/dist/apis/event-catalog.cjs +131 -10
  91. package/dist/apis/event-catalog.d.cts +4 -4
  92. package/dist/apis/event-catalog.d.ts +4 -4
  93. package/dist/apis/event-catalog.js +127 -6
  94. package/dist/apis/file.cjs +574 -10
  95. package/dist/apis/file.d.cts +4 -4
  96. package/dist/apis/file.d.ts +4 -4
  97. package/dist/apis/file.js +570 -6
  98. package/dist/apis/iban.cjs +44 -10
  99. package/dist/apis/iban.d.cts +4 -4
  100. package/dist/apis/iban.d.ts +4 -4
  101. package/dist/apis/iban.js +40 -6
  102. package/dist/apis/journey.cjs +271 -10
  103. package/dist/apis/journey.d.cts +4 -4
  104. package/dist/apis/journey.d.ts +4 -4
  105. package/dist/apis/journey.js +267 -6
  106. package/dist/apis/kanban.cjs +165 -10
  107. package/dist/apis/kanban.d.cts +4 -4
  108. package/dist/apis/kanban.d.ts +4 -4
  109. package/dist/apis/kanban.js +161 -6
  110. package/dist/apis/message.cjs +674 -10
  111. package/dist/apis/message.d.cts +4 -4
  112. package/dist/apis/message.d.ts +4 -4
  113. package/dist/apis/message.js +670 -6
  114. package/dist/apis/metering.cjs +400 -10
  115. package/dist/apis/metering.d.cts +4 -4
  116. package/dist/apis/metering.d.ts +4 -4
  117. package/dist/apis/metering.js +396 -6
  118. package/dist/apis/notes.cjs +220 -10
  119. package/dist/apis/notes.d.cts +4 -4
  120. package/dist/apis/notes.d.ts +4 -4
  121. package/dist/apis/notes.js +216 -6
  122. package/dist/apis/notification.cjs +238 -10
  123. package/dist/apis/notification.d.cts +4 -4
  124. package/dist/apis/notification.d.ts +4 -4
  125. package/dist/apis/notification.js +234 -6
  126. package/dist/apis/organization.cjs +119 -10
  127. package/dist/apis/organization.d.cts +4 -4
  128. package/dist/apis/organization.d.ts +4 -4
  129. package/dist/apis/organization.js +115 -6
  130. package/dist/apis/partner-directory.cjs +283 -10
  131. package/dist/apis/partner-directory.d.cts +4 -4
  132. package/dist/apis/partner-directory.d.ts +4 -4
  133. package/dist/apis/partner-directory.js +279 -6
  134. package/dist/apis/permissions.cjs +179 -10
  135. package/dist/apis/permissions.d.cts +4 -4
  136. package/dist/apis/permissions.d.ts +4 -4
  137. package/dist/apis/permissions.js +175 -6
  138. package/dist/apis/pricing-tier.cjs +40 -13
  139. package/dist/apis/pricing-tier.d.cts +4 -4
  140. package/dist/apis/pricing-tier.d.ts +4 -4
  141. package/dist/apis/pricing-tier.js +33 -6
  142. package/dist/apis/pricing.cjs +440 -10
  143. package/dist/apis/pricing.d.cts +4 -4
  144. package/dist/apis/pricing.d.ts +4 -4
  145. package/dist/apis/pricing.js +436 -6
  146. package/dist/apis/purpose.cjs +181 -10
  147. package/dist/apis/purpose.d.cts +4 -4
  148. package/dist/apis/purpose.d.ts +4 -4
  149. package/dist/apis/purpose.js +177 -6
  150. package/dist/apis/sandbox.cjs +101 -10
  151. package/dist/apis/sandbox.d.cts +4 -4
  152. package/dist/apis/sandbox.d.ts +4 -4
  153. package/dist/apis/sandbox.js +97 -6
  154. package/dist/apis/submission.cjs +56 -10
  155. package/dist/apis/submission.d.cts +4 -4
  156. package/dist/apis/submission.d.ts +4 -4
  157. package/dist/apis/submission.js +52 -6
  158. package/dist/apis/targeting.cjs +276 -10
  159. package/dist/apis/targeting.d.cts +4 -4
  160. package/dist/apis/targeting.d.ts +4 -4
  161. package/dist/apis/targeting.js +272 -6
  162. package/dist/apis/template-variables.cjs +160 -10
  163. package/dist/apis/template-variables.d.cts +4 -4
  164. package/dist/apis/template-variables.d.ts +4 -4
  165. package/dist/apis/template-variables.js +156 -6
  166. package/dist/apis/user.cjs +489 -10
  167. package/dist/apis/user.d.cts +4 -4
  168. package/dist/apis/user.d.ts +4 -4
  169. package/dist/apis/user.js +485 -6
  170. package/dist/apis/validation-rules.cjs +121 -10
  171. package/dist/apis/validation-rules.d.cts +4 -4
  172. package/dist/apis/validation-rules.d.ts +4 -4
  173. package/dist/apis/validation-rules.js +117 -6
  174. package/dist/apis/webhooks.cjs +253 -10
  175. package/dist/apis/webhooks.d.cts +4 -4
  176. package/dist/apis/webhooks.d.ts +4 -4
  177. package/dist/apis/webhooks.js +249 -6
  178. package/dist/apis/workflow-definition.cjs +343 -10
  179. package/dist/apis/workflow-definition.d.cts +4 -4
  180. package/dist/apis/workflow-definition.d.ts +4 -4
  181. package/dist/apis/workflow-definition.js +339 -6
  182. package/dist/apis/workflow.cjs +403 -10
  183. package/dist/apis/workflow.d.cts +4 -4
  184. package/dist/apis/workflow.d.ts +4 -4
  185. package/dist/apis/workflow.js +399 -6
  186. package/dist/{chunk-YYLPAGF4.cjs → chunk-D7ICL3AM.cjs} +20 -9
  187. package/dist/{chunk-UCDXDIUX.js → chunk-DGCGLG7G.js} +18 -7
  188. package/dist/dashboard.d-AE3RQ6zo.d.cts +440 -0
  189. package/dist/dashboard.d-AE3RQ6zo.d.ts +440 -0
  190. package/dist/index.cjs +75 -215
  191. package/dist/index.d.cts +10 -10
  192. package/dist/index.d.ts +10 -10
  193. package/dist/index.js +72 -212
  194. package/dist/{types-DNnaR-86.d.cts → types-BwBvJkY_.d.cts} +2 -2
  195. package/dist/{types-DNnaR-86.d.ts → types-BwBvJkY_.d.ts} +2 -2
  196. package/package.json +7 -6
  197. package/dist/access-token-4WG44JE6.js +0 -87
  198. package/dist/access-token-IWRB3AQC.cjs +0 -87
  199. package/dist/address-RCFHYZ32.cjs +0 -82
  200. package/dist/address-YDZSS2Q2.js +0 -82
  201. package/dist/address-suggestions-44CVMN3H.js +0 -130
  202. package/dist/address-suggestions-RQNIFLF6.cjs +0 -130
  203. package/dist/ai-agents-7WY6J45W.js +0 -213
  204. package/dist/ai-agents-TIBOWGRB.cjs +0 -213
  205. package/dist/apis/discussion.cjs +0 -32
  206. package/dist/apis/discussion.d.cts +0 -18
  207. package/dist/apis/discussion.d.ts +0 -18
  208. package/dist/apis/discussion.js +0 -32
  209. package/dist/app-BUVEXAK3.js +0 -571
  210. package/dist/app-SWOVCSF6.cjs +0 -571
  211. package/dist/audit-logs-EZF74KKE.js +0 -53
  212. package/dist/audit-logs-ZNE4XISB.cjs +0 -53
  213. package/dist/automation-F4AXMRUS.cjs +0 -280
  214. package/dist/automation-NSOLJEPW.js +0 -280
  215. package/dist/billing-FXH4A3ET.cjs +0 -173
  216. package/dist/billing-PW2UJOFR.js +0 -173
  217. package/dist/blueprint-manifest-N4UM55KM.cjs +0 -502
  218. package/dist/blueprint-manifest-U3DMIHGW.js +0 -502
  219. package/dist/consent-NL2FMBRZ.js +0 -82
  220. package/dist/consent-XLVBVWHP.cjs +0 -82
  221. package/dist/customer-portal-6NZR53MJ.cjs +0 -2250
  222. package/dist/customer-portal-PXA64RS2.js +0 -2250
  223. package/dist/data-management-7VCKRRKT.cjs +0 -238
  224. package/dist/data-management-CWNNHKNR.js +0 -238
  225. package/dist/deduplication-AHDZHLWJ.cjs +0 -40
  226. package/dist/deduplication-UNYDU6FC.js +0 -40
  227. package/dist/design-GTK6ERS7.js +0 -217
  228. package/dist/design-HINGIGZM.cjs +0 -217
  229. package/dist/discussion-5AQSWLCJ.js +0 -132
  230. package/dist/discussion-ZHZII3JN.cjs +0 -132
  231. package/dist/discussion.d-DQucoYl_.d.cts +0 -579
  232. package/dist/discussion.d-DQucoYl_.d.ts +0 -579
  233. package/dist/document-3DJGB6C5.cjs +0 -76
  234. package/dist/document-4EBYTKOK.js +0 -76
  235. package/dist/email-settings-37WEBRIE.cjs +0 -531
  236. package/dist/email-settings-WYXVYZA5.js +0 -531
  237. package/dist/email-template-AJGRNOGO.cjs +0 -120
  238. package/dist/email-template-L3LCVGGX.js +0 -120
  239. package/dist/entity-FK3QEH7K.cjs +0 -1598
  240. package/dist/entity-VCBDLBZ5.js +0 -1598
  241. package/dist/entity-mapping-LEEXGKNQ.js +0 -213
  242. package/dist/entity-mapping-OIA23UV2.cjs +0 -213
  243. package/dist/environments-NX2KO6PH.js +0 -69
  244. package/dist/environments-PDN2RNB6.cjs +0 -69
  245. package/dist/erp-integration-C7XAKQOQ.cjs +0 -584
  246. package/dist/erp-integration-TA23TPTK.js +0 -584
  247. package/dist/event-catalog-CXGU2MWM.js +0 -128
  248. package/dist/event-catalog-JHJU3EPR.cjs +0 -128
  249. package/dist/file-FIIYM6KO.cjs +0 -571
  250. package/dist/file-GRLGXATS.js +0 -571
  251. package/dist/iban-IQH45QEI.js +0 -41
  252. package/dist/iban-YHV77AIE.cjs +0 -41
  253. package/dist/journey-B5Q2FQUI.cjs +0 -268
  254. package/dist/journey-XW3RJCI3.js +0 -268
  255. package/dist/kanban-4LZGTSAF.cjs +0 -162
  256. package/dist/kanban-NRSJ6S4X.js +0 -162
  257. package/dist/message-IV6F3CN5.cjs +0 -671
  258. package/dist/message-VYRBWAWQ.js +0 -671
  259. package/dist/metering-BOIQK6LV.js +0 -397
  260. package/dist/metering-WJVI6BHJ.cjs +0 -397
  261. package/dist/notes-XXYAHYEC.js +0 -217
  262. package/dist/notes-ZQR635GX.cjs +0 -217
  263. package/dist/notification-7APLCFR5.cjs +0 -235
  264. package/dist/notification-B634CDPT.js +0 -235
  265. package/dist/organization-BXJ2BPQB.cjs +0 -116
  266. package/dist/organization-WGTTJC22.js +0 -116
  267. package/dist/partner-directory-IHOFVMEK.cjs +0 -280
  268. package/dist/partner-directory-K6CQVWVG.js +0 -280
  269. package/dist/permissions-J7BIGOLO.cjs +0 -176
  270. package/dist/permissions-XRJ6WEZR.js +0 -176
  271. package/dist/pricing-GSIASLCP.cjs +0 -437
  272. package/dist/pricing-VVOEIVQC.js +0 -437
  273. package/dist/pricing-tier-NHXSXS7D.cjs +0 -34
  274. package/dist/pricing-tier-U5KRZDL2.js +0 -34
  275. package/dist/purpose-K655DFAO.js +0 -178
  276. package/dist/purpose-XH2OQHGH.cjs +0 -178
  277. package/dist/sandbox-4DRHKRB6.cjs +0 -98
  278. package/dist/sandbox-PV747LWK.js +0 -98
  279. package/dist/submission-7NPVVBLM.js +0 -53
  280. package/dist/submission-RUDXWIRC.cjs +0 -53
  281. package/dist/targeting-4ID5YPCA.js +0 -273
  282. package/dist/targeting-DOARNZSZ.cjs +0 -273
  283. package/dist/template-variables-HAYGELOR.cjs +0 -157
  284. package/dist/template-variables-XSEX25IR.js +0 -157
  285. package/dist/user-DPU5W4TD.cjs +0 -486
  286. package/dist/user-HJCIYGFV.js +0 -486
  287. package/dist/validation-rules-2Z3W27TI.js +0 -118
  288. package/dist/validation-rules-STLI5T53.cjs +0 -118
  289. package/dist/webhooks-OYG6A7LP.js +0 -250
  290. package/dist/webhooks-QV777IJ3.cjs +0 -250
  291. package/dist/workflow-3PROUTPA.js +0 -400
  292. package/dist/workflow-STQM54XS.cjs +0 -400
  293. package/dist/workflow-definition-3VVAPDSE.cjs +0 -340
  294. package/dist/workflow-definition-WEU344MV.js +0 -340
@@ -0,0 +1,440 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from dashboard-client */
4
+
5
+
6
+ declare namespace Components {
7
+ namespace Schemas {
8
+ /**
9
+ * Adashboard configuration with tiles
10
+ */
11
+ export interface Dashboard {
12
+ id?: /**
13
+ * Unique identifier for dashboard
14
+ * example:
15
+ * 3fa85f64-5717-4562-b3fc-2c963f66afa6
16
+ */
17
+ DashboardID /* uuid */;
18
+ /**
19
+ * example:
20
+ * Employee Dashboard
21
+ */
22
+ title: string;
23
+ /**
24
+ * example:
25
+ * [
26
+ * {
27
+ * "id": "e4af1297-1fd6-440f-9846-f475f580d40f",
28
+ * "coordinates": {},
29
+ * "visualisation": "timechart",
30
+ * "visualisation_config": {
31
+ * "query": {
32
+ * "dataset": "entity_operations",
33
+ * "measure": "count_operations",
34
+ * "filters": [
35
+ * {
36
+ * "operation": [
37
+ * "createEntity"
38
+ * ]
39
+ * },
40
+ * {
41
+ * "entity_schema": [
42
+ * "opportunity"
43
+ * ]
44
+ * }
45
+ * ],
46
+ * "dimensions": [
47
+ * {
48
+ * "time_with_granularity": "month"
49
+ * },
50
+ * {
51
+ * "entity_attribute": "source.title"
52
+ * }
53
+ * ]
54
+ * },
55
+ * "options": {
56
+ * "type": "line"
57
+ * }
58
+ * }
59
+ * }
60
+ * ]
61
+ */
62
+ tiles: DashboardTile[];
63
+ }
64
+ /**
65
+ * Unique identifier for dashboard
66
+ * example:
67
+ * 3fa85f64-5717-4562-b3fc-2c963f66afa6
68
+ */
69
+ export type DashboardID = string; // uuid
70
+ export interface DashboardTile {
71
+ id?: /**
72
+ * Unique identifier for a tile in a dashboard
73
+ * example:
74
+ * e4af1297-1fd6-440f-9846-f475f580d40f
75
+ */
76
+ DashboardTileID /* uuid */;
77
+ coordinates?: {
78
+ [key: string]: any;
79
+ };
80
+ /**
81
+ * example:
82
+ * Number of opportunities created by journeys every month
83
+ */
84
+ title?: string;
85
+ visualisation_id?: /**
86
+ * Unique identifier for a Visualisation
87
+ * example:
88
+ * timechart
89
+ */
90
+ VisualisationId;
91
+ visualisation_config?: VisualisationConfig;
92
+ }
93
+ /**
94
+ * Unique identifier for a tile in a dashboard
95
+ * example:
96
+ * e4af1297-1fd6-440f-9846-f475f580d40f
97
+ */
98
+ export type DashboardTileID = string; // uuid
99
+ export interface DatalakeQuery {
100
+ [name: string]: any;
101
+ /**
102
+ * example:
103
+ * entity_operations
104
+ */
105
+ dataset?: string;
106
+ /**
107
+ * example:
108
+ * count_operations
109
+ */
110
+ measure?: string;
111
+ dimensions?: {
112
+ [name: string]: any;
113
+ }[];
114
+ filters?: {
115
+ [name: string]: any;
116
+ }[];
117
+ }
118
+ export interface Example {
119
+ id?: /**
120
+ * Unique identifier for a visualisation examples for tiles in a dashboard
121
+ * example:
122
+ * e4af1297-1fd6-440f-9846-f475f580d40f
123
+ */
124
+ ExampleID /* uuid */;
125
+ /**
126
+ * example:
127
+ * Number of opportunities created by journeys every month
128
+ */
129
+ title?: string;
130
+ visualisation?: /**
131
+ * Unique identifier for a Visualisation
132
+ * example:
133
+ * timechart
134
+ */
135
+ VisualisationId;
136
+ query?: DatalakeQuery;
137
+ }
138
+ /**
139
+ * Unique identifier for a visualisation examples for tiles in a dashboard
140
+ * example:
141
+ * e4af1297-1fd6-440f-9846-f475f580d40f
142
+ */
143
+ export type ExampleID = string; // uuid
144
+ export interface TimechartVisualisationConfig {
145
+ query?: DatalakeQuery;
146
+ /**
147
+ * example:
148
+ * {
149
+ * "type": "bar"
150
+ * }
151
+ */
152
+ options?: {
153
+ [name: string]: any;
154
+ };
155
+ }
156
+ /**
157
+ * A Visualisation that can be used to configure tiles in dashboards
158
+ */
159
+ export interface Visualisation {
160
+ visualisation?: /**
161
+ * Unique identifier for a Visualisation
162
+ * example:
163
+ * timechart
164
+ */
165
+ VisualisationId;
166
+ /**
167
+ * example:
168
+ * Time Series Visualisation
169
+ */
170
+ title?: string;
171
+ description?: string;
172
+ /**
173
+ * Package name of the Visualisation MFE bundle to import
174
+ * example:
175
+ * @epilot360/highcharts
176
+ */
177
+ package_name?: string;
178
+ /**
179
+ * URL to Visualisation MFE bundle to import
180
+ * example:
181
+ * https://epilot-dashboard-visualisations.epilot.io/epilot360-datalake-visualisation/bundle.js?version=1650592827
182
+ */
183
+ import_url?: string; // uri
184
+ }
185
+ export type VisualisationConfig = TimechartVisualisationConfig;
186
+ /**
187
+ * Unique identifier for a Visualisation
188
+ * example:
189
+ * timechart
190
+ */
191
+ export type VisualisationId = "kpi" | "funnel" | "toplist" | "timechart" | "pie" | "bar" | "entity_list" | "markdown" | "news_feed" | "workflow";
192
+ }
193
+ }
194
+ declare namespace Paths {
195
+ namespace CreateDashboard {
196
+ export type RequestBody = /* Adashboard configuration with tiles */ Components.Schemas.Dashboard;
197
+ namespace Responses {
198
+ export type $201 = /* Adashboard configuration with tiles */ Components.Schemas.Dashboard;
199
+ }
200
+ }
201
+ namespace DeleteDashboard {
202
+ namespace Responses {
203
+ export type $200 = /* Adashboard configuration with tiles */ Components.Schemas.Dashboard;
204
+ }
205
+ }
206
+ namespace GetDashboard {
207
+ namespace Responses {
208
+ export type $200 = /* Adashboard configuration with tiles */ Components.Schemas.Dashboard;
209
+ }
210
+ }
211
+ namespace ListAvailableExamples {
212
+ namespace Responses {
213
+ export interface $200 {
214
+ results?: Components.Schemas.Example[];
215
+ }
216
+ }
217
+ }
218
+ namespace ListAvailableVisualisations {
219
+ namespace Responses {
220
+ export interface $200 {
221
+ /**
222
+ * example:
223
+ * [
224
+ * {
225
+ * "visualisation": "timechart",
226
+ * "title": "Time Series Visualisation",
227
+ * "description": "Visualise your metrics with respect to time series",
228
+ * "package_name": "@epilot360/highcharts"
229
+ * },
230
+ * {
231
+ * "visualisation": "kpi",
232
+ * "title": "KPI Visualisation",
233
+ * "description": "Visualise your key performance indicators",
234
+ * "package_name": "@epilot360/kpi"
235
+ * }
236
+ * ]
237
+ */
238
+ results?: /* A Visualisation that can be used to configure tiles in dashboards */ Components.Schemas.Visualisation[];
239
+ }
240
+ }
241
+ }
242
+ namespace ListDashboards {
243
+ namespace Responses {
244
+ export interface $200 {
245
+ results?: /* Adashboard configuration with tiles */ Components.Schemas.Dashboard[];
246
+ }
247
+ }
248
+ }
249
+ namespace PutDashboard {
250
+ export type RequestBody = /* Adashboard configuration with tiles */ Components.Schemas.Dashboard;
251
+ namespace Responses {
252
+ export type $200 = /* Adashboard configuration with tiles */ Components.Schemas.Dashboard;
253
+ }
254
+ }
255
+ namespace V1DashboardDashboards$Id {
256
+ namespace Parameters {
257
+ export type Id = /**
258
+ * Unique identifier for dashboard
259
+ * example:
260
+ * 3fa85f64-5717-4562-b3fc-2c963f66afa6
261
+ */
262
+ Components.Schemas.DashboardID /* uuid */;
263
+ }
264
+ export interface PathParameters {
265
+ id: Parameters.Id;
266
+ }
267
+ }
268
+ }
269
+
270
+
271
+ interface OperationMethods {
272
+ /**
273
+ * listDashboards - listDashboards
274
+ *
275
+ * List dashboards available to the user
276
+ */
277
+ 'listDashboards'(
278
+ parameters?: Parameters<UnknownParamsObject> | null,
279
+ data?: any,
280
+ config?: AxiosRequestConfig
281
+ ): OperationResponse<Paths.ListDashboards.Responses.$200>
282
+ /**
283
+ * createDashboard - createDashboard
284
+ *
285
+ * Create new dashboard
286
+ */
287
+ 'createDashboard'(
288
+ parameters?: Parameters<UnknownParamsObject> | null,
289
+ data?: Paths.CreateDashboard.RequestBody,
290
+ config?: AxiosRequestConfig
291
+ ): OperationResponse<Paths.CreateDashboard.Responses.$201>
292
+ /**
293
+ * getDashboard - getDashboard
294
+ *
295
+ * Get dashboard by ID
296
+ */
297
+ 'getDashboard'(
298
+ parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
299
+ data?: any,
300
+ config?: AxiosRequestConfig
301
+ ): OperationResponse<Paths.GetDashboard.Responses.$200>
302
+ /**
303
+ * putDashboard - putDashboard
304
+ *
305
+ * Update a dashboard by ID
306
+ */
307
+ 'putDashboard'(
308
+ parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
309
+ data?: Paths.PutDashboard.RequestBody,
310
+ config?: AxiosRequestConfig
311
+ ): OperationResponse<Paths.PutDashboard.Responses.$200>
312
+ /**
313
+ * deleteDashboard - deleteDashboard
314
+ *
315
+ * Delete a dashboard by ID
316
+ */
317
+ 'deleteDashboard'(
318
+ parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
319
+ data?: any,
320
+ config?: AxiosRequestConfig
321
+ ): OperationResponse<Paths.DeleteDashboard.Responses.$200>
322
+ /**
323
+ * listAvailableVisualisations - listAvailableVisualisations
324
+ *
325
+ * Returns list of available Visualisations to configure new dashboard tiles
326
+ */
327
+ 'listAvailableVisualisations'(
328
+ parameters?: Parameters<UnknownParamsObject> | null,
329
+ data?: any,
330
+ config?: AxiosRequestConfig
331
+ ): OperationResponse<Paths.ListAvailableVisualisations.Responses.$200>
332
+ /**
333
+ * listAvailableExamples - listAvailableExamples
334
+ *
335
+ * Returns list of available exampless for visualisations to configure new dashboard tiles
336
+ */
337
+ 'listAvailableExamples'(
338
+ parameters?: Parameters<UnknownParamsObject> | null,
339
+ data?: any,
340
+ config?: AxiosRequestConfig
341
+ ): OperationResponse<Paths.ListAvailableExamples.Responses.$200>
342
+ }
343
+
344
+ interface PathsDictionary {
345
+ ['/v1/dashboard/dashboards']: {
346
+ /**
347
+ * listDashboards - listDashboards
348
+ *
349
+ * List dashboards available to the user
350
+ */
351
+ 'get'(
352
+ parameters?: Parameters<UnknownParamsObject> | null,
353
+ data?: any,
354
+ config?: AxiosRequestConfig
355
+ ): OperationResponse<Paths.ListDashboards.Responses.$200>
356
+ /**
357
+ * createDashboard - createDashboard
358
+ *
359
+ * Create new dashboard
360
+ */
361
+ 'post'(
362
+ parameters?: Parameters<UnknownParamsObject> | null,
363
+ data?: Paths.CreateDashboard.RequestBody,
364
+ config?: AxiosRequestConfig
365
+ ): OperationResponse<Paths.CreateDashboard.Responses.$201>
366
+ }
367
+ ['/v1/dashboard/dashboards/{id}']: {
368
+ /**
369
+ * getDashboard - getDashboard
370
+ *
371
+ * Get dashboard by ID
372
+ */
373
+ 'get'(
374
+ parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
375
+ data?: any,
376
+ config?: AxiosRequestConfig
377
+ ): OperationResponse<Paths.GetDashboard.Responses.$200>
378
+ /**
379
+ * putDashboard - putDashboard
380
+ *
381
+ * Update a dashboard by ID
382
+ */
383
+ 'put'(
384
+ parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
385
+ data?: Paths.PutDashboard.RequestBody,
386
+ config?: AxiosRequestConfig
387
+ ): OperationResponse<Paths.PutDashboard.Responses.$200>
388
+ /**
389
+ * deleteDashboard - deleteDashboard
390
+ *
391
+ * Delete a dashboard by ID
392
+ */
393
+ 'delete'(
394
+ parameters?: Parameters<Paths.V1DashboardDashboards$Id.PathParameters> | null,
395
+ data?: any,
396
+ config?: AxiosRequestConfig
397
+ ): OperationResponse<Paths.DeleteDashboard.Responses.$200>
398
+ }
399
+ ['/v1/dashboard/visualisations']: {
400
+ /**
401
+ * listAvailableVisualisations - listAvailableVisualisations
402
+ *
403
+ * Returns list of available Visualisations to configure new dashboard tiles
404
+ */
405
+ 'get'(
406
+ parameters?: Parameters<UnknownParamsObject> | null,
407
+ data?: any,
408
+ config?: AxiosRequestConfig
409
+ ): OperationResponse<Paths.ListAvailableVisualisations.Responses.$200>
410
+ }
411
+ ['/v1/dashboard/examples']: {
412
+ /**
413
+ * listAvailableExamples - listAvailableExamples
414
+ *
415
+ * Returns list of available exampless for visualisations to configure new dashboard tiles
416
+ */
417
+ 'get'(
418
+ parameters?: Parameters<UnknownParamsObject> | null,
419
+ data?: any,
420
+ config?: AxiosRequestConfig
421
+ ): OperationResponse<Paths.ListAvailableExamples.Responses.$200>
422
+ }
423
+ }
424
+
425
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
426
+
427
+
428
+ type Dashboard = Components.Schemas.Dashboard;
429
+ type DashboardID = Components.Schemas.DashboardID;
430
+ type DashboardTile = Components.Schemas.DashboardTile;
431
+ type DashboardTileID = Components.Schemas.DashboardTileID;
432
+ type DatalakeQuery = Components.Schemas.DatalakeQuery;
433
+ type Example = Components.Schemas.Example;
434
+ type ExampleID = Components.Schemas.ExampleID;
435
+ type timechartVisualisationConfig = Components.Schemas.TimechartVisualisationConfig;
436
+ type Visualisation = Components.Schemas.Visualisation;
437
+ type VisualisationConfig = Components.Schemas.VisualisationConfig;
438
+ type VisualisationId = Components.Schemas.VisualisationId;
439
+
440
+ export type { Client as C, Dashboard as D, Example as E, OperationMethods as O, PathsDictionary as P, Visualisation as V, DashboardID as a, DashboardTile as b, DashboardTileID as c, DatalakeQuery as d, ExampleID as e, VisualisationConfig as f, VisualisationId as g, timechartVisualisationConfig as t };