@epilot/sdk 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/definitions/access-token-runtime.json +1 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-runtime.json +1 -0
- package/definitions/address-suggestions-runtime.json +1 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents-runtime.json +1 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app-runtime.json +1 -0
- package/definitions/app.json +4443 -0
- package/definitions/audit-logs-runtime.json +1 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation-runtime.json +1 -0
- package/definitions/automation.json +4850 -0
- package/definitions/billing-runtime.json +1 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest-runtime.json +1 -0
- package/definitions/blueprint-manifest.json +3376 -0
- package/definitions/consent-runtime.json +1 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal-runtime.json +1 -0
- package/definitions/customer-portal.json +15000 -0
- package/definitions/dashboard-runtime.json +1 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +962 -0
- package/definitions/deduplication-runtime.json +1 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design-runtime.json +1 -0
- package/definitions/design.json +1423 -0
- package/definitions/document-runtime.json +1 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings-runtime.json +1 -0
- package/definitions/email-settings.json +2627 -0
- package/definitions/email-template-runtime.json +1 -0
- package/definitions/email-template.json +1419 -0
- package/definitions/entity-mapping-runtime.json +1 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity-runtime.json +1 -0
- package/definitions/entity.json +10074 -0
- package/definitions/environments-runtime.json +1 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +5845 -0
- package/definitions/event-catalog-runtime.json +1 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file-runtime.json +1 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban-runtime.json +1 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey-runtime.json +1 -0
- package/definitions/journey.json +2341 -0
- package/definitions/kanban-runtime.json +1 -0
- package/definitions/kanban.json +929 -0
- package/definitions/message-runtime.json +1 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering-runtime.json +1 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes-runtime.json +1 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification-runtime.json +1 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization-runtime.json +1 -0
- package/definitions/organization.json +629 -0
- package/definitions/partner-directory-runtime.json +1 -0
- package/definitions/partner-directory.json +1718 -0
- package/definitions/permissions-runtime.json +1 -0
- package/definitions/permissions.json +1480 -0
- package/definitions/pricing-runtime.json +1 -0
- package/definitions/pricing-tier-runtime.json +1 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose-runtime.json +1 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox-runtime.json +1 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission-runtime.json +1 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting-runtime.json +1 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables-runtime.json +1 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user-runtime.json +1 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules-runtime.json +1 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks-runtime.json +1 -0
- package/definitions/webhooks.json +1525 -0
- package/definitions/workflow-definition-runtime.json +1 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow-runtime.json +1 -0
- package/definitions/workflow.json +4106 -0
- package/dist/apis/access-token.cjs +7 -7
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +7 -7
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +7 -7
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +7 -7
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +7 -7
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +7 -7
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +7 -7
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +7 -7
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +7 -7
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +7 -7
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +7 -7
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +7 -7
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +7 -7
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +7 -7
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +7 -7
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +7 -7
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +7 -7
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +7 -7
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +7 -7
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +7 -7
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +7 -7
- package/dist/apis/erp-integration.js +1 -1
- package/dist/apis/event-catalog.cjs +7 -7
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +7 -7
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +7 -7
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +7 -7
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +7 -7
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +7 -7
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +7 -7
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +7 -7
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +7 -7
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +7 -7
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +7 -7
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +7 -7
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +7 -7
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +7 -7
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +7 -7
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +7 -7
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +7 -7
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +7 -7
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +7 -7
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +7 -7
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +7 -7
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +7 -7
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +7 -7
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +7 -7
- package/dist/apis/workflow.js +1 -1
- package/dist/bin/cli.js +123 -25
- package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
- package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
- package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.cts} +1 -2
- package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.ts} +1 -2
- package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
- package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/js-yaml-UPZKYVRY.js +2645 -0
- package/package.json +11 -10
- package/LICENSE +0 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"s":"https://dashboard.sls.epilot.io","o":[["listDashboards","get","/v1/dashboard/dashboards"],["createDashboard","post","/v1/dashboard/dashboards",null,1],["getDashboard","get","/v1/dashboard/dashboards/{id}"],["putDashboard","put","/v1/dashboard/dashboards/{id}",null,1],["deleteDashboard","delete","/v1/dashboard/dashboards/{id}"],["listAvailableVisualisations","get","/v1/dashboard/visualisations"],["listAvailableExamples","get","/v1/dashboard/examples"]],"v":"3.0.0","pp":{"/v1/dashboard/dashboards/{id}":[["id","p",true]]}}
|
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "Dashboard API",
|
|
5
|
+
"version": "0.0.1",
|
|
6
|
+
"description": "API to store the dashboard configuration for the epilot 360 dashboard\n"
|
|
7
|
+
},
|
|
8
|
+
"security": [
|
|
9
|
+
{
|
|
10
|
+
"EpilotAuth": []
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"EpilotOrg": []
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"tags": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Dashboards"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "Visualisations"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Examples"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"paths": {
|
|
28
|
+
"/v1/dashboard/dashboards": {
|
|
29
|
+
"get": {
|
|
30
|
+
"operationId": "listDashboards",
|
|
31
|
+
"summary": "listDashboards",
|
|
32
|
+
"description": "List dashboards available to the user",
|
|
33
|
+
"tags": [
|
|
34
|
+
"Dashboards"
|
|
35
|
+
],
|
|
36
|
+
"responses": {
|
|
37
|
+
"200": {
|
|
38
|
+
"description": "List of dashboards available to the user",
|
|
39
|
+
"content": {
|
|
40
|
+
"application/json": {
|
|
41
|
+
"schema": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"results": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"$ref": "#/components/schemas/Dashboard"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"post": {
|
|
58
|
+
"operationId": "createDashboard",
|
|
59
|
+
"summary": "createDashboard",
|
|
60
|
+
"description": "Create new dashboard",
|
|
61
|
+
"tags": [
|
|
62
|
+
"Dashboards"
|
|
63
|
+
],
|
|
64
|
+
"requestBody": {
|
|
65
|
+
"description": "The dashboard to create",
|
|
66
|
+
"content": {
|
|
67
|
+
"application/json": {
|
|
68
|
+
"schema": {
|
|
69
|
+
"$ref": "#/components/schemas/Dashboard"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"responses": {
|
|
75
|
+
"201": {
|
|
76
|
+
"description": "The created dashboard",
|
|
77
|
+
"content": {
|
|
78
|
+
"application/json": {
|
|
79
|
+
"schema": {
|
|
80
|
+
"$ref": "#/components/schemas/Dashboard"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"/v1/dashboard/dashboards/{id}": {
|
|
89
|
+
"parameters": [
|
|
90
|
+
{
|
|
91
|
+
"name": "id",
|
|
92
|
+
"in": "path",
|
|
93
|
+
"required": true,
|
|
94
|
+
"schema": {
|
|
95
|
+
"$ref": "#/components/schemas/DashboardID"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"get": {
|
|
100
|
+
"operationId": "getDashboard",
|
|
101
|
+
"summary": "getDashboard",
|
|
102
|
+
"description": "Get dashboard by ID",
|
|
103
|
+
"tags": [
|
|
104
|
+
"Dashboards"
|
|
105
|
+
],
|
|
106
|
+
"responses": {
|
|
107
|
+
"200": {
|
|
108
|
+
"description": "The dashboard with the passed ID",
|
|
109
|
+
"content": {
|
|
110
|
+
"application/json": {
|
|
111
|
+
"schema": {
|
|
112
|
+
"$ref": "#/components/schemas/Dashboard"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"put": {
|
|
120
|
+
"operationId": "putDashboard",
|
|
121
|
+
"summary": "putDashboard",
|
|
122
|
+
"description": "Update a dashboard by ID",
|
|
123
|
+
"tags": [
|
|
124
|
+
"Dashboards"
|
|
125
|
+
],
|
|
126
|
+
"requestBody": {
|
|
127
|
+
"description": "The updated dashboard",
|
|
128
|
+
"content": {
|
|
129
|
+
"application/json": {
|
|
130
|
+
"schema": {
|
|
131
|
+
"$ref": "#/components/schemas/Dashboard"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"responses": {
|
|
137
|
+
"200": {
|
|
138
|
+
"description": "The dashboard with the passed ID",
|
|
139
|
+
"content": {
|
|
140
|
+
"application/json": {
|
|
141
|
+
"schema": {
|
|
142
|
+
"$ref": "#/components/schemas/Dashboard"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"delete": {
|
|
150
|
+
"operationId": "deleteDashboard",
|
|
151
|
+
"summary": "deleteDashboard",
|
|
152
|
+
"description": "Delete a dashboard by ID",
|
|
153
|
+
"tags": [
|
|
154
|
+
"Dashboards"
|
|
155
|
+
],
|
|
156
|
+
"responses": {
|
|
157
|
+
"200": {
|
|
158
|
+
"description": "The deleted dashboard",
|
|
159
|
+
"content": {
|
|
160
|
+
"application/json": {
|
|
161
|
+
"schema": {
|
|
162
|
+
"$ref": "#/components/schemas/Dashboard"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"/v1/dashboard/visualisations": {
|
|
171
|
+
"get": {
|
|
172
|
+
"operationId": "listAvailableVisualisations",
|
|
173
|
+
"summary": "listAvailableVisualisations",
|
|
174
|
+
"description": "Returns list of available Visualisations to configure new dashboard tiles",
|
|
175
|
+
"tags": [
|
|
176
|
+
"Visualisations"
|
|
177
|
+
],
|
|
178
|
+
"responses": {
|
|
179
|
+
"200": {
|
|
180
|
+
"description": "List of available Visualisations to configure new dashboard tiles",
|
|
181
|
+
"content": {
|
|
182
|
+
"application/json": {
|
|
183
|
+
"schema": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"properties": {
|
|
186
|
+
"results": {
|
|
187
|
+
"type": "array",
|
|
188
|
+
"items": {
|
|
189
|
+
"$ref": "#/components/schemas/Visualisation"
|
|
190
|
+
},
|
|
191
|
+
"example": [
|
|
192
|
+
{
|
|
193
|
+
"visualisation": "timechart",
|
|
194
|
+
"title": "Time Series Visualisation",
|
|
195
|
+
"description": "Visualise your metrics with respect to time series",
|
|
196
|
+
"package_name": "@epilot360/highcharts"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"visualisation": "kpi",
|
|
200
|
+
"title": "KPI Visualisation",
|
|
201
|
+
"description": "Visualise your key performance indicators",
|
|
202
|
+
"package_name": "@epilot360/kpi"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"/v1/dashboard/examples": {
|
|
215
|
+
"get": {
|
|
216
|
+
"operationId": "listAvailableExamples",
|
|
217
|
+
"summary": "listAvailableExamples",
|
|
218
|
+
"description": "Returns list of available exampless for visualisations to configure new dashboard tiles",
|
|
219
|
+
"tags": [
|
|
220
|
+
"Examples"
|
|
221
|
+
],
|
|
222
|
+
"responses": {
|
|
223
|
+
"200": {
|
|
224
|
+
"description": "List of available exampless for visualisations to configure new dashboard tiles",
|
|
225
|
+
"content": {
|
|
226
|
+
"application/json": {
|
|
227
|
+
"schema": {
|
|
228
|
+
"type": "object",
|
|
229
|
+
"properties": {
|
|
230
|
+
"results": {
|
|
231
|
+
"type": "array",
|
|
232
|
+
"items": {
|
|
233
|
+
"$ref": "#/components/schemas/Example"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"components": {
|
|
246
|
+
"schemas": {
|
|
247
|
+
"DashboardID": {
|
|
248
|
+
"description": "Unique identifier for dashboard",
|
|
249
|
+
"type": "string",
|
|
250
|
+
"format": "uuid",
|
|
251
|
+
"example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
252
|
+
},
|
|
253
|
+
"Dashboard": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"description": "Adashboard configuration with tiles",
|
|
256
|
+
"properties": {
|
|
257
|
+
"id": {
|
|
258
|
+
"$ref": "#/components/schemas/DashboardID"
|
|
259
|
+
},
|
|
260
|
+
"title": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"example": "Employee Dashboard"
|
|
263
|
+
},
|
|
264
|
+
"tiles": {
|
|
265
|
+
"type": "array",
|
|
266
|
+
"items": {
|
|
267
|
+
"$ref": "#/components/schemas/DashboardTile"
|
|
268
|
+
},
|
|
269
|
+
"example": [
|
|
270
|
+
{
|
|
271
|
+
"id": "e4af1297-1fd6-440f-9846-f475f580d40f",
|
|
272
|
+
"coordinates": {},
|
|
273
|
+
"visualisation": "timechart",
|
|
274
|
+
"visualisation_config": {
|
|
275
|
+
"query": {
|
|
276
|
+
"dataset": "entity_operations",
|
|
277
|
+
"measure": "count_operations",
|
|
278
|
+
"filters": [
|
|
279
|
+
{
|
|
280
|
+
"operation": [
|
|
281
|
+
"createEntity"
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"entity_schema": [
|
|
286
|
+
"opportunity"
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"dimensions": [
|
|
291
|
+
{
|
|
292
|
+
"time_with_granularity": "month"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"entity_attribute": "source.title"
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
"options": {
|
|
300
|
+
"type": "line"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"required": [
|
|
308
|
+
"title",
|
|
309
|
+
"tiles"
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
"DashboardTileID": {
|
|
313
|
+
"description": "Unique identifier for a tile in a dashboard",
|
|
314
|
+
"type": "string",
|
|
315
|
+
"format": "uuid",
|
|
316
|
+
"example": "e4af1297-1fd6-440f-9846-f475f580d40f"
|
|
317
|
+
},
|
|
318
|
+
"DashboardTile": {
|
|
319
|
+
"type": "object",
|
|
320
|
+
"properties": {
|
|
321
|
+
"id": {
|
|
322
|
+
"$ref": "#/components/schemas/DashboardTileID"
|
|
323
|
+
},
|
|
324
|
+
"coordinates": {
|
|
325
|
+
"type": "object"
|
|
326
|
+
},
|
|
327
|
+
"title": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"example": "Number of opportunities created by journeys every month"
|
|
330
|
+
},
|
|
331
|
+
"visualisation_id": {
|
|
332
|
+
"$ref": "#/components/schemas/VisualisationId"
|
|
333
|
+
},
|
|
334
|
+
"visualisation_config": {
|
|
335
|
+
"$ref": "#/components/schemas/VisualisationConfig"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"VisualisationConfig": {
|
|
340
|
+
"anyOf": [
|
|
341
|
+
{
|
|
342
|
+
"$ref": "#/components/schemas/timechartVisualisationConfig"
|
|
343
|
+
}
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
"timechartVisualisationConfig": {
|
|
347
|
+
"type": "object",
|
|
348
|
+
"properties": {
|
|
349
|
+
"query": {
|
|
350
|
+
"$ref": "#/components/schemas/DatalakeQuery"
|
|
351
|
+
},
|
|
352
|
+
"options": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"additionalProperties": true,
|
|
355
|
+
"example": {
|
|
356
|
+
"type": "bar"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"ExampleID": {
|
|
362
|
+
"description": "Unique identifier for a visualisation examples for tiles in a dashboard",
|
|
363
|
+
"type": "string",
|
|
364
|
+
"format": "uuid",
|
|
365
|
+
"example": "e4af1297-1fd6-440f-9846-f475f580d40f"
|
|
366
|
+
},
|
|
367
|
+
"Example": {
|
|
368
|
+
"type": "object",
|
|
369
|
+
"properties": {
|
|
370
|
+
"id": {
|
|
371
|
+
"$ref": "#/components/schemas/ExampleID"
|
|
372
|
+
},
|
|
373
|
+
"title": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"example": "Number of opportunities created by journeys every month"
|
|
376
|
+
},
|
|
377
|
+
"visualisation": {
|
|
378
|
+
"$ref": "#/components/schemas/VisualisationId"
|
|
379
|
+
},
|
|
380
|
+
"query": {
|
|
381
|
+
"$ref": "#/components/schemas/DatalakeQuery"
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"DatalakeQuery": {
|
|
386
|
+
"type": "object",
|
|
387
|
+
"properties": {
|
|
388
|
+
"dataset": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"example": "entity_operations"
|
|
391
|
+
},
|
|
392
|
+
"measure": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"example": "count_operations"
|
|
395
|
+
},
|
|
396
|
+
"dimensions": {
|
|
397
|
+
"type": "array",
|
|
398
|
+
"items": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"additionalProperties": true,
|
|
401
|
+
"example": {
|
|
402
|
+
"time_with_granularity": "year-month"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"filters": {
|
|
407
|
+
"type": "array",
|
|
408
|
+
"items": {
|
|
409
|
+
"type": "object",
|
|
410
|
+
"additionalProperties": true,
|
|
411
|
+
"example": {
|
|
412
|
+
"entity_schema": "opportunity"
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"additionalProperties": true
|
|
418
|
+
},
|
|
419
|
+
"VisualisationId": {
|
|
420
|
+
"description": "Unique identifier for a Visualisation",
|
|
421
|
+
"type": "string",
|
|
422
|
+
"example": "timechart",
|
|
423
|
+
"enum": [
|
|
424
|
+
"kpi",
|
|
425
|
+
"funnel",
|
|
426
|
+
"toplist",
|
|
427
|
+
"timechart",
|
|
428
|
+
"pie",
|
|
429
|
+
"bar",
|
|
430
|
+
"entity_list",
|
|
431
|
+
"markdown",
|
|
432
|
+
"news_feed",
|
|
433
|
+
"workflow"
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
"Visualisation": {
|
|
437
|
+
"type": "object",
|
|
438
|
+
"description": "A Visualisation that can be used to configure tiles in dashboards",
|
|
439
|
+
"properties": {
|
|
440
|
+
"visualisation": {
|
|
441
|
+
"$ref": "#/components/schemas/VisualisationId"
|
|
442
|
+
},
|
|
443
|
+
"title": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"example": "Time Series Visualisation"
|
|
446
|
+
},
|
|
447
|
+
"description": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
"package_name": {
|
|
451
|
+
"type": "string",
|
|
452
|
+
"description": "Package name of the Visualisation MFE bundle to import",
|
|
453
|
+
"example": "@epilot360/highcharts"
|
|
454
|
+
},
|
|
455
|
+
"import_url": {
|
|
456
|
+
"type": "string",
|
|
457
|
+
"format": "uri",
|
|
458
|
+
"description": "URL to Visualisation MFE bundle to import",
|
|
459
|
+
"example": "https://epilot-dashboard-visualisations.epilot.io/epilot360-datalake-visualisation/bundle.js?version=1650592827"
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"securitySchemes": {
|
|
465
|
+
"EpilotAuth": {
|
|
466
|
+
"type": "http",
|
|
467
|
+
"scheme": "bearer",
|
|
468
|
+
"description": "Authorization header with epilot OAuth2 bearer token",
|
|
469
|
+
"bearerFormat": "JWT"
|
|
470
|
+
},
|
|
471
|
+
"EpilotOrg": {
|
|
472
|
+
"description": "Overrides the target organization to allow shared tenantaccess",
|
|
473
|
+
"name": "x-epilot-org-id",
|
|
474
|
+
"in": "header",
|
|
475
|
+
"type": "apiKey"
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"servers": [
|
|
480
|
+
{
|
|
481
|
+
"url": "https://dashboard.sls.epilot.io"
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"s":"https://data-management.sls.epilot.io","o":[["queryEntities","post","/data-management/v1/{entity_schema}/query",[["entity_schema","p",true]],1],["createJob","post","/data-management/v1/{entity_schema}/jobs",[["entity_schema","p",true]],1],["updateJob","patch","/data-management/v1/{entity_schema}/jobs/{job_id}",[["entity_schema","p",true],["job_id","p",true]],1],["getJob","get","/data-management/v1/jobs/{job_id}",[["job_id","p",true]]],["getJobReportUrl","get","/data-management/v1/jobs/{job_id}/report-url",[["job_id","p",true]]],["getConfig","get","/data-management/v1/configs/{config_id}",[["config_id","p",true]]],["createJobForConfig","post","/data-management/v1/configs/{config_id}/jobs",[["config_id","p",true]]],["upsertConfig","post","/data-management/v1/{entity_schema}/configs",[["entity_schema","p",true]],1],["listConfigs","get","/data-management/v1/configs",[["limit","q"],["cursor","q"],["entity_schema","q"],["type","q"],["next_run_at","q"],["enabled","q"]]],["listJobs","get","/data-management/v1/jobs",[["limit","q"],["cursor","q"],["entity_schema","q"],["type","q"],["status","q"],["config_id","q"]]]],"v":"3.0.3"}
|