@epilot/sdk 2.1.10 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/bin/cli.js +35 -11
  2. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  3. package/package.json +1 -1
  4. package/definitions/access-token-runtime.json +0 -1
  5. package/definitions/access-token.json +0 -663
  6. package/definitions/address-runtime.json +0 -1
  7. package/definitions/address-suggestions-runtime.json +0 -1
  8. package/definitions/address-suggestions.json +0 -582
  9. package/definitions/address.json +0 -578
  10. package/definitions/ai-agents-runtime.json +0 -1
  11. package/definitions/ai-agents.json +0 -1711
  12. package/definitions/app-runtime.json +0 -1
  13. package/definitions/app.json +0 -4493
  14. package/definitions/audit-logs-runtime.json +0 -1
  15. package/definitions/audit-logs.json +0 -305
  16. package/definitions/automation-runtime.json +0 -1
  17. package/definitions/automation.json +0 -4815
  18. package/definitions/billing-runtime.json +0 -1
  19. package/definitions/billing.json +0 -837
  20. package/definitions/blueprint-manifest-runtime.json +0 -1
  21. package/definitions/blueprint-manifest.json +0 -3490
  22. package/definitions/consent-runtime.json +0 -1
  23. package/definitions/consent.json +0 -344
  24. package/definitions/customer-portal-runtime.json +0 -1
  25. package/definitions/customer-portal.json +0 -15676
  26. package/definitions/dashboard-runtime.json +0 -1
  27. package/definitions/dashboard.json +0 -484
  28. package/definitions/data-management-runtime.json +0 -1
  29. package/definitions/data-management.json +0 -972
  30. package/definitions/deduplication-runtime.json +0 -1
  31. package/definitions/deduplication.json +0 -183
  32. package/definitions/design-runtime.json +0 -1
  33. package/definitions/design.json +0 -1423
  34. package/definitions/document-runtime.json +0 -1
  35. package/definitions/document.json +0 -758
  36. package/definitions/email-settings-runtime.json +0 -1
  37. package/definitions/email-settings.json +0 -2748
  38. package/definitions/email-template-runtime.json +0 -1
  39. package/definitions/email-template.json +0 -1441
  40. package/definitions/entity-mapping-runtime.json +0 -1
  41. package/definitions/entity-mapping.json +0 -1642
  42. package/definitions/entity-runtime.json +0 -1
  43. package/definitions/entity.json +0 -10276
  44. package/definitions/environments-runtime.json +0 -1
  45. package/definitions/environments.json +0 -363
  46. package/definitions/erp-integration-runtime.json +0 -1
  47. package/definitions/erp-integration.json +0 -6304
  48. package/definitions/event-catalog-runtime.json +0 -1
  49. package/definitions/event-catalog.json +0 -1051
  50. package/definitions/file-runtime.json +0 -1
  51. package/definitions/file.json +0 -2842
  52. package/definitions/iban-runtime.json +0 -1
  53. package/definitions/iban.json +0 -132
  54. package/definitions/journey-runtime.json +0 -1
  55. package/definitions/journey.json +0 -2603
  56. package/definitions/kanban-runtime.json +0 -1
  57. package/definitions/kanban.json +0 -1505
  58. package/definitions/message-runtime.json +0 -1
  59. package/definitions/message.json +0 -2660
  60. package/definitions/metering-runtime.json +0 -1
  61. package/definitions/metering.json +0 -2321
  62. package/definitions/notes-runtime.json +0 -1
  63. package/definitions/notes.json +0 -1531
  64. package/definitions/notification-runtime.json +0 -1
  65. package/definitions/notification.json +0 -1425
  66. package/definitions/organization-runtime.json +0 -1
  67. package/definitions/organization.json +0 -1192
  68. package/definitions/partner-directory-runtime.json +0 -1
  69. package/definitions/partner-directory.json +0 -2284
  70. package/definitions/permissions-runtime.json +0 -1
  71. package/definitions/permissions.json +0 -1515
  72. package/definitions/pricing-runtime.json +0 -1
  73. package/definitions/pricing-tier-runtime.json +0 -1
  74. package/definitions/pricing-tier.json +0 -105
  75. package/definitions/pricing.json +0 -9884
  76. package/definitions/purpose-runtime.json +0 -1
  77. package/definitions/purpose.json +0 -524
  78. package/definitions/sandbox-runtime.json +0 -1
  79. package/definitions/sandbox.json +0 -453
  80. package/definitions/submission-runtime.json +0 -1
  81. package/definitions/submission.json +0 -313
  82. package/definitions/targeting-runtime.json +0 -1
  83. package/definitions/targeting.json +0 -1474
  84. package/definitions/template-variables-runtime.json +0 -1
  85. package/definitions/template-variables.json +0 -1408
  86. package/definitions/user-runtime.json +0 -1
  87. package/definitions/user.json +0 -2408
  88. package/definitions/validation-rules-runtime.json +0 -1
  89. package/definitions/validation-rules.json +0 -1491
  90. package/definitions/webhooks-runtime.json +0 -1
  91. package/definitions/webhooks.json +0 -1634
  92. package/definitions/workflow-definition-runtime.json +0 -1
  93. package/definitions/workflow-definition.json +0 -3417
  94. package/definitions/workflow-runtime.json +0 -1
  95. package/definitions/workflow.json +0 -4146
@@ -1 +0,0 @@
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]]}}
@@ -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
- }
@@ -1 +0,0 @@
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"}