@epilot/cli 0.1.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 (108) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +354 -0
  3. package/definitions/access-token.json +663 -0
  4. package/definitions/address-suggestions.json +582 -0
  5. package/definitions/address.json +578 -0
  6. package/definitions/ai-agents.json +1711 -0
  7. package/definitions/app.json +4443 -0
  8. package/definitions/audit-logs.json +305 -0
  9. package/definitions/automation.json +4815 -0
  10. package/definitions/billing.json +837 -0
  11. package/definitions/blueprint-manifest.json +3376 -0
  12. package/definitions/consent.json +344 -0
  13. package/definitions/customer-portal.json +15000 -0
  14. package/definitions/dashboard.json +484 -0
  15. package/definitions/data-management.json +962 -0
  16. package/definitions/deduplication.json +183 -0
  17. package/definitions/design.json +1423 -0
  18. package/definitions/document.json +758 -0
  19. package/definitions/email-settings.json +2627 -0
  20. package/definitions/email-template.json +1419 -0
  21. package/definitions/entity-mapping.json +1642 -0
  22. package/definitions/entity.json +10074 -0
  23. package/definitions/environments.json +363 -0
  24. package/definitions/erp-integration.json +5845 -0
  25. package/definitions/event-catalog.json +1051 -0
  26. package/definitions/file.json +2842 -0
  27. package/definitions/iban.json +132 -0
  28. package/definitions/journey.json +2341 -0
  29. package/definitions/kanban.json +929 -0
  30. package/definitions/message.json +2660 -0
  31. package/definitions/metering.json +2321 -0
  32. package/definitions/notes.json +1531 -0
  33. package/definitions/notification.json +1425 -0
  34. package/definitions/organization.json +629 -0
  35. package/definitions/partner-directory.json +1718 -0
  36. package/definitions/permissions.json +1480 -0
  37. package/definitions/pricing-tier.json +105 -0
  38. package/definitions/pricing.json +9884 -0
  39. package/definitions/purpose.json +524 -0
  40. package/definitions/sandbox.json +453 -0
  41. package/definitions/submission.json +313 -0
  42. package/definitions/targeting.json +1474 -0
  43. package/definitions/template-variables.json +1408 -0
  44. package/definitions/user.json +2408 -0
  45. package/definitions/validation-rules.json +1491 -0
  46. package/definitions/webhooks.json +1525 -0
  47. package/definitions/workflow-definition.json +3417 -0
  48. package/definitions/workflow.json +4106 -0
  49. package/dist/access-token-OG5AR7UB.js +51 -0
  50. package/dist/address-QUSMK5GV.js +51 -0
  51. package/dist/address-suggestions-E5SQNUS5.js +51 -0
  52. package/dist/ai-agents-PM42SJY3.js +51 -0
  53. package/dist/app-YTM3XAJL.js +51 -0
  54. package/dist/audit-logs-NXP7GFKX.js +51 -0
  55. package/dist/auth-CCBTXH5U.js +113 -0
  56. package/dist/auth-login-2ZIXM47J.js +137 -0
  57. package/dist/auth-token-OS4BEEVZ.js +43 -0
  58. package/dist/automation-TDJASTEV.js +51 -0
  59. package/dist/billing-M4MRBLEK.js +51 -0
  60. package/dist/bin/epilot.js +104 -0
  61. package/dist/blueprint-manifest-NQL7NRMV.js +51 -0
  62. package/dist/chunk-57PPARIW.js +715 -0
  63. package/dist/chunk-5WUPDZ5D.js +76 -0
  64. package/dist/chunk-IST42ZNL.js +78 -0
  65. package/dist/chunk-RC3GCXCI.js +76 -0
  66. package/dist/chunk-TKZLQD2B.js +72 -0
  67. package/dist/chunk-UJ6TU34M.js +56 -0
  68. package/dist/completion-GRQM2FJQ.js +168 -0
  69. package/dist/consent-KQ7MJAS6.js +51 -0
  70. package/dist/customer-portal-VUVSKWAQ.js +51 -0
  71. package/dist/dashboard-GVR4XNGR.js +51 -0
  72. package/dist/data-management-2RD3DLOS.js +51 -0
  73. package/dist/deduplication-PY77EINR.js +51 -0
  74. package/dist/design-M4FP2K5R.js +51 -0
  75. package/dist/document-P4QA7LEZ.js +51 -0
  76. package/dist/email-settings-7HGGRCCM.js +51 -0
  77. package/dist/email-template-3HXQI4CH.js +51 -0
  78. package/dist/entity-XUESZBPJ.js +51 -0
  79. package/dist/entity-mapping-JBKWWBH2.js +51 -0
  80. package/dist/environments-KKOS7ONY.js +51 -0
  81. package/dist/erp-integration-YTOWHCAW.js +51 -0
  82. package/dist/event-catalog-UKLZUGC4.js +51 -0
  83. package/dist/file-IFZNZ547.js +51 -0
  84. package/dist/iban-X2IW2NWU.js +51 -0
  85. package/dist/interactive-46ICLQKL.js +16 -0
  86. package/dist/journey-JU6X2KMX.js +51 -0
  87. package/dist/kanban-VHUU44PM.js +51 -0
  88. package/dist/message-AOUWJ4YX.js +51 -0
  89. package/dist/metering-RDS3XBD5.js +51 -0
  90. package/dist/notes-WE2UC75B.js +51 -0
  91. package/dist/notification-FKFNBHYZ.js +51 -0
  92. package/dist/organization-LMNFF6BX.js +51 -0
  93. package/dist/partner-directory-IIZVQDXJ.js +51 -0
  94. package/dist/permissions-AYCMVM7Y.js +51 -0
  95. package/dist/pricing-PS26FWBS.js +51 -0
  96. package/dist/pricing-tier-FBXWQ6T3.js +51 -0
  97. package/dist/profile-5Q5YARG7.js +135 -0
  98. package/dist/purpose-HE4E4SVU.js +51 -0
  99. package/dist/sandbox-Z7BU4UAD.js +51 -0
  100. package/dist/submission-MWVDF2ZB.js +51 -0
  101. package/dist/targeting-7NM5GDJ6.js +51 -0
  102. package/dist/template-variables-AJAR7PAV.js +51 -0
  103. package/dist/user-A26XQXG3.js +51 -0
  104. package/dist/validation-rules-VZTISEG2.js +51 -0
  105. package/dist/webhooks-RXH67WZ3.js +51 -0
  106. package/dist/workflow-G4FUUGZQ.js +51 -0
  107. package/dist/workflow-definition-LJYLMMGD.js +51 -0
  108. package/package.json +62 -0
@@ -0,0 +1,305 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "Audit Log",
5
+ "version": "1.0.0",
6
+ "description": "Service for managing and retrieving auditing logs in the scope of an organization\n"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://audit-logs.sls.epilot.io"
11
+ },
12
+ {
13
+ "url": "https://audit-logs.sls.epilot.io"
14
+ }
15
+ ],
16
+ "security": [
17
+ {
18
+ "EpilotAuth": []
19
+ },
20
+ {
21
+ "EpilotOrg": []
22
+ }
23
+ ],
24
+ "paths": {
25
+ "/v1/logs": {
26
+ "post": {
27
+ "operationId": "getLogs",
28
+ "summary": "getLogs",
29
+ "description": "Retrieve Audit Log events. Optionally, you can filter them by organization.",
30
+ "tags": [
31
+ "Events"
32
+ ],
33
+ "requestBody": {
34
+ "content": {
35
+ "application/json": {
36
+ "schema": {
37
+ "$ref": "#/components/schemas/SearchOptions"
38
+ }
39
+ }
40
+ }
41
+ },
42
+ "responses": {
43
+ "200": {
44
+ "description": "Success - audit logs where loaded successfully. Empty array if org has no executions.",
45
+ "content": {
46
+ "application/json": {
47
+ "schema": {
48
+ "type": "object",
49
+ "properties": {
50
+ "logs": {
51
+ "type": "array",
52
+ "items": {
53
+ "$ref": "#/components/schemas/Event"
54
+ }
55
+ },
56
+ "total": {
57
+ "type": "integer",
58
+ "description": "Total number of logs",
59
+ "example": 1
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ },
69
+ "/v1/logs/{logId}": {
70
+ "get": {
71
+ "operationId": "getLogById",
72
+ "summary": "getLogById",
73
+ "description": "Retrieve Audit Log events",
74
+ "tags": [
75
+ "Audit Log"
76
+ ],
77
+ "parameters": [
78
+ {
79
+ "in": "path",
80
+ "name": "logId",
81
+ "schema": {
82
+ "type": "string"
83
+ },
84
+ "required": true,
85
+ "description": "ID of the log event",
86
+ "example": "2843c005-c5b0-4df2-94ee-1ca2ddd998ac"
87
+ }
88
+ ],
89
+ "responses": {
90
+ "200": {
91
+ "description": "Audit log was loaded successfully",
92
+ "content": {
93
+ "application/json": {
94
+ "schema": {
95
+ "type": "object",
96
+ "properties": {
97
+ "log": {
98
+ "$ref": "#/components/schemas/Event"
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ },
109
+ "components": {
110
+ "schemas": {
111
+ "SearchOptions": {
112
+ "type": "object",
113
+ "properties": {
114
+ "limit": {
115
+ "type": "integer",
116
+ "description": "Maximum number of results to return",
117
+ "example": 50
118
+ },
119
+ "page": {
120
+ "type": "integer",
121
+ "description": "Page number to return",
122
+ "example": 0
123
+ },
124
+ "timestamp": {
125
+ "type": "object",
126
+ "description": "Timestamp of the event in ISO 8601 format",
127
+ "example": "2021-06-01T12:00:00Z",
128
+ "properties": {
129
+ "from": {
130
+ "type": "string"
131
+ },
132
+ "to": {
133
+ "type": "string"
134
+ }
135
+ }
136
+ },
137
+ "service_name": {
138
+ "type": "string",
139
+ "description": "Name of the service that triggered the event",
140
+ "example": "workflows"
141
+ },
142
+ "event_name": {
143
+ "type": "string",
144
+ "description": "Action that was performed (event name)",
145
+ "example": "deleteWorkflow"
146
+ },
147
+ "outcome": {
148
+ "type": "string",
149
+ "description": "Outcome of the event i.e. success or failed events",
150
+ "enum": [
151
+ "success",
152
+ "failure"
153
+ ]
154
+ },
155
+ "method": {
156
+ "type": "string",
157
+ "description": "HTTP method",
158
+ "example": "POST"
159
+ },
160
+ "user": {
161
+ "type": "object",
162
+ "properties": {
163
+ "email": {
164
+ "type": "string",
165
+ "description": "Email of the user who initiated the event",
166
+ "example": "max.mustermann@mail.com"
167
+ },
168
+ "user_id": {
169
+ "type": "string",
170
+ "description": "ID of the user who initiated the event",
171
+ "example": 123456
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "HttpContext": {
178
+ "type": "object",
179
+ "properties": {
180
+ "method": {
181
+ "type": "string",
182
+ "description": "HTTP method",
183
+ "example": "GET"
184
+ },
185
+ "ip": {
186
+ "type": "string",
187
+ "description": "IP address of the caller",
188
+ "example": null
189
+ },
190
+ "headers": {
191
+ "type": "object",
192
+ "description": "HTTP headers",
193
+ "example": {
194
+ "Authorization": "Bearer token"
195
+ }
196
+ },
197
+ "query": {
198
+ "type": "object",
199
+ "description": "Query parameters",
200
+ "example": {
201
+ "limit": 50,
202
+ "page": 0
203
+ }
204
+ },
205
+ "pathParams": {
206
+ "type": "object",
207
+ "description": "Path parameters",
208
+ "example": {
209
+ "eventId": "2843c005-c5b0-4df2-94ee-1ca2ddd998ac"
210
+ }
211
+ },
212
+ "path": {
213
+ "type": "string",
214
+ "description": "Path of the request",
215
+ "example": "/v1/logs"
216
+ },
217
+ "domainName": {
218
+ "type": "string",
219
+ "description": "Domain name of the request",
220
+ "example": "audit-logs.sls.epilot.io"
221
+ }
222
+ }
223
+ },
224
+ "Caller": {
225
+ "type": "object",
226
+ "properties": {
227
+ "user_email": {
228
+ "type": "string",
229
+ "description": "Email of the user",
230
+ "example": "max.mustermann@mail.com"
231
+ },
232
+ "user_id": {
233
+ "type": "string",
234
+ "description": "ID of the user",
235
+ "example": 123456
236
+ },
237
+ "trigger_type": {
238
+ "type": "string",
239
+ "enum": [
240
+ "user",
241
+ "api",
242
+ "automation"
243
+ ]
244
+ }
245
+ }
246
+ },
247
+ "Event": {
248
+ "type": "object",
249
+ "properties": {
250
+ "id": {
251
+ "type": "string",
252
+ "format": "uuid",
253
+ "description": "ID of the log event",
254
+ "example": "2843c005-c5b0-4df2-94ee-1ca2ddd998ac"
255
+ },
256
+ "org_id": {
257
+ "type": "string",
258
+ "description": "ID of the organization",
259
+ "example": 123456
260
+ },
261
+ "service_name": {
262
+ "type": "string",
263
+ "description": "Name of the service",
264
+ "example": "workflows"
265
+ },
266
+ "event_name": {
267
+ "type": "string",
268
+ "description": "Action that was performed",
269
+ "example": "deleteWorkflow"
270
+ },
271
+ "status_code": {
272
+ "type": "integer",
273
+ "description": "HTTP status code",
274
+ "example": 200
275
+ },
276
+ "timestamp": {
277
+ "type": "string",
278
+ "description": "Timestamp of the event",
279
+ "example": "2021-06-01T12:00:00Z"
280
+ },
281
+ "caller": {
282
+ "$ref": "#/components/schemas/Caller"
283
+ },
284
+ "http": {
285
+ "$ref": "#/components/schemas/HttpContext"
286
+ },
287
+ "detail": {
288
+ "type": "string",
289
+ "description": "Contains the stringified request body",
290
+ "example": "{\"workflow_id\": \"123456\"}"
291
+ },
292
+ "activity": {
293
+ "type": "string",
294
+ "description": "Description of the event",
295
+ "example": "Workflow with ID 123456 was deleted"
296
+ },
297
+ "source_url": {
298
+ "type": "string",
299
+ "description": "URL of the ressource that was modified"
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }