epilot 0.1.0 → 0.1.2

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 (108) hide show
  1. package/README.md +7 -345
  2. package/bin/epilot.js +5 -0
  3. package/package.json +7 -33
  4. package/definitions/access-token.json +0 -663
  5. package/definitions/address-suggestions.json +0 -582
  6. package/definitions/address.json +0 -578
  7. package/definitions/ai-agents.json +0 -1711
  8. package/definitions/app.json +0 -4443
  9. package/definitions/audit-logs.json +0 -305
  10. package/definitions/automation.json +0 -4815
  11. package/definitions/billing.json +0 -837
  12. package/definitions/blueprint-manifest.json +0 -3376
  13. package/definitions/consent.json +0 -344
  14. package/definitions/customer-portal.json +0 -15000
  15. package/definitions/dashboard.json +0 -484
  16. package/definitions/data-management.json +0 -962
  17. package/definitions/deduplication.json +0 -183
  18. package/definitions/design.json +0 -1423
  19. package/definitions/document.json +0 -758
  20. package/definitions/email-settings.json +0 -2627
  21. package/definitions/email-template.json +0 -1419
  22. package/definitions/entity-mapping.json +0 -1642
  23. package/definitions/entity.json +0 -10074
  24. package/definitions/environments.json +0 -363
  25. package/definitions/erp-integration.json +0 -5845
  26. package/definitions/event-catalog.json +0 -1051
  27. package/definitions/file.json +0 -2842
  28. package/definitions/iban.json +0 -132
  29. package/definitions/journey.json +0 -2341
  30. package/definitions/kanban.json +0 -929
  31. package/definitions/message.json +0 -2660
  32. package/definitions/metering.json +0 -2321
  33. package/definitions/notes.json +0 -1531
  34. package/definitions/notification.json +0 -1425
  35. package/definitions/organization.json +0 -629
  36. package/definitions/partner-directory.json +0 -1718
  37. package/definitions/permissions.json +0 -1480
  38. package/definitions/pricing-tier.json +0 -105
  39. package/definitions/pricing.json +0 -9884
  40. package/definitions/purpose.json +0 -524
  41. package/definitions/sandbox.json +0 -453
  42. package/definitions/submission.json +0 -313
  43. package/definitions/targeting.json +0 -1474
  44. package/definitions/template-variables.json +0 -1408
  45. package/definitions/user.json +0 -2408
  46. package/definitions/validation-rules.json +0 -1491
  47. package/definitions/webhooks.json +0 -1525
  48. package/definitions/workflow-definition.json +0 -3417
  49. package/definitions/workflow.json +0 -4106
  50. package/dist/access-token-OG5AR7UB.js +0 -51
  51. package/dist/address-QUSMK5GV.js +0 -51
  52. package/dist/address-suggestions-E5SQNUS5.js +0 -51
  53. package/dist/ai-agents-PM42SJY3.js +0 -51
  54. package/dist/app-YTM3XAJL.js +0 -51
  55. package/dist/audit-logs-NXP7GFKX.js +0 -51
  56. package/dist/auth-CCBTXH5U.js +0 -113
  57. package/dist/auth-login-2ZIXM47J.js +0 -137
  58. package/dist/auth-token-OS4BEEVZ.js +0 -43
  59. package/dist/automation-TDJASTEV.js +0 -51
  60. package/dist/billing-M4MRBLEK.js +0 -51
  61. package/dist/bin/epilot.js +0 -104
  62. package/dist/blueprint-manifest-NQL7NRMV.js +0 -51
  63. package/dist/chunk-57PPARIW.js +0 -715
  64. package/dist/chunk-5WUPDZ5D.js +0 -76
  65. package/dist/chunk-IST42ZNL.js +0 -78
  66. package/dist/chunk-RC3GCXCI.js +0 -76
  67. package/dist/chunk-TKZLQD2B.js +0 -72
  68. package/dist/chunk-UJ6TU34M.js +0 -56
  69. package/dist/completion-GRQM2FJQ.js +0 -168
  70. package/dist/consent-KQ7MJAS6.js +0 -51
  71. package/dist/customer-portal-VUVSKWAQ.js +0 -51
  72. package/dist/dashboard-GVR4XNGR.js +0 -51
  73. package/dist/data-management-2RD3DLOS.js +0 -51
  74. package/dist/deduplication-PY77EINR.js +0 -51
  75. package/dist/design-M4FP2K5R.js +0 -51
  76. package/dist/document-P4QA7LEZ.js +0 -51
  77. package/dist/email-settings-7HGGRCCM.js +0 -51
  78. package/dist/email-template-3HXQI4CH.js +0 -51
  79. package/dist/entity-XUESZBPJ.js +0 -51
  80. package/dist/entity-mapping-JBKWWBH2.js +0 -51
  81. package/dist/environments-KKOS7ONY.js +0 -51
  82. package/dist/erp-integration-YTOWHCAW.js +0 -51
  83. package/dist/event-catalog-UKLZUGC4.js +0 -51
  84. package/dist/file-IFZNZ547.js +0 -51
  85. package/dist/iban-X2IW2NWU.js +0 -51
  86. package/dist/interactive-46ICLQKL.js +0 -16
  87. package/dist/journey-JU6X2KMX.js +0 -51
  88. package/dist/kanban-VHUU44PM.js +0 -51
  89. package/dist/message-AOUWJ4YX.js +0 -51
  90. package/dist/metering-RDS3XBD5.js +0 -51
  91. package/dist/notes-WE2UC75B.js +0 -51
  92. package/dist/notification-FKFNBHYZ.js +0 -51
  93. package/dist/organization-LMNFF6BX.js +0 -51
  94. package/dist/partner-directory-IIZVQDXJ.js +0 -51
  95. package/dist/permissions-AYCMVM7Y.js +0 -51
  96. package/dist/pricing-PS26FWBS.js +0 -51
  97. package/dist/pricing-tier-FBXWQ6T3.js +0 -51
  98. package/dist/profile-5Q5YARG7.js +0 -135
  99. package/dist/purpose-HE4E4SVU.js +0 -51
  100. package/dist/sandbox-Z7BU4UAD.js +0 -51
  101. package/dist/submission-MWVDF2ZB.js +0 -51
  102. package/dist/targeting-7NM5GDJ6.js +0 -51
  103. package/dist/template-variables-AJAR7PAV.js +0 -51
  104. package/dist/user-A26XQXG3.js +0 -51
  105. package/dist/validation-rules-VZTISEG2.js +0 -51
  106. package/dist/webhooks-RXH67WZ3.js +0 -51
  107. package/dist/workflow-G4FUUGZQ.js +0 -51
  108. package/dist/workflow-definition-LJYLMMGD.js +0 -51
@@ -1,484 +0,0 @@
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
- }