@epilot/sdk 2.0.0-beta.6 → 2.0.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 (134) hide show
  1. package/LICENSE +21 -0
  2. package/dist/apis/automation.d.cts +2 -2
  3. package/dist/apis/automation.d.ts +2 -2
  4. package/dist/apis/customer-portal.cjs +1 -1
  5. package/dist/apis/customer-portal.d.cts +2 -2
  6. package/dist/apis/customer-portal.d.ts +2 -2
  7. package/dist/apis/customer-portal.js +1 -1
  8. package/dist/apis/erp-integration.cjs +1 -1
  9. package/dist/apis/erp-integration.d.cts +2 -2
  10. package/dist/apis/erp-integration.d.ts +2 -2
  11. package/dist/apis/erp-integration.js +1 -1
  12. package/dist/apis/journey.d.cts +2 -2
  13. package/dist/apis/journey.d.ts +2 -2
  14. package/dist/apis/kanban.d.cts +2 -2
  15. package/dist/apis/kanban.d.ts +2 -2
  16. package/dist/apis/organization.cjs +1 -1
  17. package/dist/apis/organization.d.cts +2 -2
  18. package/dist/apis/organization.d.ts +2 -2
  19. package/dist/apis/organization.js +1 -1
  20. package/dist/apis/workflow.d.cts +2 -2
  21. package/dist/apis/workflow.d.ts +2 -2
  22. package/dist/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
  23. package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
  24. package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
  25. package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
  26. package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
  27. package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
  28. package/dist/index.d.cts +7 -7
  29. package/dist/index.d.ts +7 -7
  30. package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.cts} +122 -4
  31. package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.ts} +122 -4
  32. package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
  33. package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
  34. package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
  35. package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
  36. package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
  37. package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
  38. package/package.json +10 -11
  39. package/definitions/access-token-runtime.json +0 -1
  40. package/definitions/access-token.json +0 -663
  41. package/definitions/address-runtime.json +0 -1
  42. package/definitions/address-suggestions-runtime.json +0 -1
  43. package/definitions/address-suggestions.json +0 -582
  44. package/definitions/address.json +0 -578
  45. package/definitions/ai-agents-runtime.json +0 -1
  46. package/definitions/ai-agents.json +0 -1711
  47. package/definitions/app-runtime.json +0 -1
  48. package/definitions/app.json +0 -4443
  49. package/definitions/audit-logs-runtime.json +0 -1
  50. package/definitions/audit-logs.json +0 -305
  51. package/definitions/automation-runtime.json +0 -1
  52. package/definitions/automation.json +0 -4850
  53. package/definitions/billing-runtime.json +0 -1
  54. package/definitions/billing.json +0 -837
  55. package/definitions/blueprint-manifest-runtime.json +0 -1
  56. package/definitions/blueprint-manifest.json +0 -3376
  57. package/definitions/consent-runtime.json +0 -1
  58. package/definitions/consent.json +0 -344
  59. package/definitions/customer-portal-runtime.json +0 -1
  60. package/definitions/customer-portal.json +0 -15000
  61. package/definitions/dashboard-runtime.json +0 -1
  62. package/definitions/dashboard.json +0 -484
  63. package/definitions/data-management-runtime.json +0 -1
  64. package/definitions/data-management.json +0 -962
  65. package/definitions/deduplication-runtime.json +0 -1
  66. package/definitions/deduplication.json +0 -183
  67. package/definitions/design-runtime.json +0 -1
  68. package/definitions/design.json +0 -1423
  69. package/definitions/document-runtime.json +0 -1
  70. package/definitions/document.json +0 -758
  71. package/definitions/email-settings-runtime.json +0 -1
  72. package/definitions/email-settings.json +0 -2627
  73. package/definitions/email-template-runtime.json +0 -1
  74. package/definitions/email-template.json +0 -1419
  75. package/definitions/entity-mapping-runtime.json +0 -1
  76. package/definitions/entity-mapping.json +0 -1642
  77. package/definitions/entity-runtime.json +0 -1
  78. package/definitions/entity.json +0 -10074
  79. package/definitions/environments-runtime.json +0 -1
  80. package/definitions/environments.json +0 -363
  81. package/definitions/erp-integration-runtime.json +0 -1
  82. package/definitions/erp-integration.json +0 -5845
  83. package/definitions/event-catalog-runtime.json +0 -1
  84. package/definitions/event-catalog.json +0 -1051
  85. package/definitions/file-runtime.json +0 -1
  86. package/definitions/file.json +0 -2842
  87. package/definitions/iban-runtime.json +0 -1
  88. package/definitions/iban.json +0 -132
  89. package/definitions/journey-runtime.json +0 -1
  90. package/definitions/journey.json +0 -2341
  91. package/definitions/kanban-runtime.json +0 -1
  92. package/definitions/kanban.json +0 -929
  93. package/definitions/message-runtime.json +0 -1
  94. package/definitions/message.json +0 -2660
  95. package/definitions/metering-runtime.json +0 -1
  96. package/definitions/metering.json +0 -2321
  97. package/definitions/notes-runtime.json +0 -1
  98. package/definitions/notes.json +0 -1531
  99. package/definitions/notification-runtime.json +0 -1
  100. package/definitions/notification.json +0 -1425
  101. package/definitions/organization-runtime.json +0 -1
  102. package/definitions/organization.json +0 -629
  103. package/definitions/partner-directory-runtime.json +0 -1
  104. package/definitions/partner-directory.json +0 -1718
  105. package/definitions/permissions-runtime.json +0 -1
  106. package/definitions/permissions.json +0 -1480
  107. package/definitions/pricing-runtime.json +0 -1
  108. package/definitions/pricing-tier-runtime.json +0 -1
  109. package/definitions/pricing-tier.json +0 -105
  110. package/definitions/pricing.json +0 -9884
  111. package/definitions/purpose-runtime.json +0 -1
  112. package/definitions/purpose.json +0 -524
  113. package/definitions/sandbox-runtime.json +0 -1
  114. package/definitions/sandbox.json +0 -453
  115. package/definitions/submission-runtime.json +0 -1
  116. package/definitions/submission.json +0 -313
  117. package/definitions/targeting-runtime.json +0 -1
  118. package/definitions/targeting.json +0 -1474
  119. package/definitions/template-variables-runtime.json +0 -1
  120. package/definitions/template-variables.json +0 -1408
  121. package/definitions/user-runtime.json +0 -1
  122. package/definitions/user.json +0 -2408
  123. package/definitions/validation-rules-runtime.json +0 -1
  124. package/definitions/validation-rules.json +0 -1491
  125. package/definitions/webhooks-runtime.json +0 -1
  126. package/definitions/webhooks.json +0 -1525
  127. package/definitions/workflow-definition-runtime.json +0 -1
  128. package/definitions/workflow-definition.json +0 -3417
  129. package/definitions/workflow-runtime.json +0 -1
  130. package/definitions/workflow.json +0 -4106
  131. package/dist/kanban.d-DUClxyBG.d.cts +0 -630
  132. package/dist/kanban.d-DUClxyBG.d.ts +0 -630
  133. package/dist/organization.d-BOLK3v9o.d.cts +0 -628
  134. package/dist/organization.d-BOLK3v9o.d.ts +0 -628
@@ -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"}