@epilot/sdk 2.3.5 → 2.3.6
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/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +12 -239
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +972 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +6780 -0
- package/definitions/target-runtime.json +1 -0
- package/definitions/target.json +609 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/bin/cli.js +1 -1
- package/dist/{chunk-GGMGJYHO.cjs → chunk-XN43KCAN.cjs} +2 -1
- package/dist/{chunk-7C4FQXMS.js → chunk-YD2W64XJ.js} +2 -1
- package/dist/index.cjs +8 -8
- package/dist/index.js +1 -1
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/package.json +1 -1
- package/definitions/configuration-hub-runtime.json +0 -1
- package/definitions/configuration-hub.json +0 -399
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.3",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "Configuration Hub API",
|
|
5
|
-
"description": "Lightweight index API for exploring epilot organization configurations.\n\nProvides a unified tree view across all config types. Returns summary metadata only —\nthe frontend calls individual epilot APIs directly (via @epilot/sdk) for full config payloads.\n",
|
|
6
|
-
"version": "0.2.0"
|
|
7
|
-
},
|
|
8
|
-
"servers": [
|
|
9
|
-
{
|
|
10
|
-
"url": "https://configuration-hub.dev.sls.epilot.io",
|
|
11
|
-
"description": "Dev"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"url": "https://configuration-hub.sls.epilot.io",
|
|
15
|
-
"description": "Production"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"security": [
|
|
19
|
-
{
|
|
20
|
-
"EpilotAuth": []
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"tags": [
|
|
24
|
-
{
|
|
25
|
-
"name": "Configs",
|
|
26
|
-
"description": "Configuration tree index"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"paths": {
|
|
30
|
-
"/v1/configs/types": {
|
|
31
|
-
"get": {
|
|
32
|
-
"operationId": "listConfigTypes",
|
|
33
|
-
"summary": "listConfigTypes",
|
|
34
|
-
"description": "Returns the static list of available configuration types with display metadata.\nThis is a cheap call — no fan-out to downstream APIs. Returns all known types\nwith labels and icons. The frontend should then call `listConfigs` separately\nfor each type it wants to load.\n",
|
|
35
|
-
"tags": [
|
|
36
|
-
"Configs"
|
|
37
|
-
],
|
|
38
|
-
"responses": {
|
|
39
|
-
"200": {
|
|
40
|
-
"description": "Available config types",
|
|
41
|
-
"content": {
|
|
42
|
-
"application/json": {
|
|
43
|
-
"schema": {
|
|
44
|
-
"type": "object",
|
|
45
|
-
"properties": {
|
|
46
|
-
"results": {
|
|
47
|
-
"type": "array",
|
|
48
|
-
"items": {
|
|
49
|
-
"$ref": "#/components/schemas/ConfigTypeInfo"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"required": [
|
|
54
|
-
"results"
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"/v1/configs/{type}": {
|
|
64
|
-
"get": {
|
|
65
|
-
"operationId": "listConfigs",
|
|
66
|
-
"summary": "listConfigs",
|
|
67
|
-
"description": "List configs of a given type with pagination. Returns summary metadata only\n(not full payloads). The frontend calls this per type folder when expanding.\n\nSupports offset-based pagination via `from` and `size` parameters.\n",
|
|
68
|
-
"tags": [
|
|
69
|
-
"Configs"
|
|
70
|
-
],
|
|
71
|
-
"parameters": [
|
|
72
|
-
{
|
|
73
|
-
"$ref": "#/components/parameters/ConfigType"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"$ref": "#/components/parameters/CursorParam"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"$ref": "#/components/parameters/SizeParam"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"responses": {
|
|
83
|
-
"200": {
|
|
84
|
-
"description": "Paginated config list",
|
|
85
|
-
"content": {
|
|
86
|
-
"application/json": {
|
|
87
|
-
"schema": {
|
|
88
|
-
"$ref": "#/components/schemas/ConfigListResponse"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"400": {
|
|
94
|
-
"description": "Invalid config type",
|
|
95
|
-
"content": {
|
|
96
|
-
"application/json": {
|
|
97
|
-
"schema": {
|
|
98
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"/v1/configs/{type}/{id}/dependencies": {
|
|
107
|
-
"get": {
|
|
108
|
-
"operationId": "getConfigDependencies",
|
|
109
|
-
"summary": "getConfigDependencies",
|
|
110
|
-
"description": "Get configs that are referenced by the given config.\nUsed to render children when expanding a config node in the tree.\n\nResolves dependencies by fetching the config payload server-side and scanning\nfor references (UUIDs, source IDs, slug-based references).\n",
|
|
111
|
-
"tags": [
|
|
112
|
-
"Configs"
|
|
113
|
-
],
|
|
114
|
-
"parameters": [
|
|
115
|
-
{
|
|
116
|
-
"$ref": "#/components/parameters/ConfigType"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"$ref": "#/components/parameters/ConfigId"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"$ref": "#/components/parameters/CursorParam"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"$ref": "#/components/parameters/SizeParam"
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"responses": {
|
|
129
|
-
"200": {
|
|
130
|
-
"description": "Paginated list of referenced configs",
|
|
131
|
-
"content": {
|
|
132
|
-
"application/json": {
|
|
133
|
-
"schema": {
|
|
134
|
-
"$ref": "#/components/schemas/ConfigDependenciesResponse"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
"404": {
|
|
140
|
-
"description": "Config not found",
|
|
141
|
-
"content": {
|
|
142
|
-
"application/json": {
|
|
143
|
-
"schema": {
|
|
144
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"components": {
|
|
154
|
-
"securitySchemes": {
|
|
155
|
-
"EpilotAuth": {
|
|
156
|
-
"type": "http",
|
|
157
|
-
"scheme": "bearer",
|
|
158
|
-
"description": "epilot JWT auth token"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"parameters": {
|
|
162
|
-
"ConfigType": {
|
|
163
|
-
"name": "type",
|
|
164
|
-
"in": "path",
|
|
165
|
-
"required": true,
|
|
166
|
-
"description": "Configuration resource type",
|
|
167
|
-
"schema": {
|
|
168
|
-
"$ref": "#/components/schemas/ResourceType"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"ConfigId": {
|
|
172
|
-
"name": "id",
|
|
173
|
-
"in": "path",
|
|
174
|
-
"required": true,
|
|
175
|
-
"description": "Configuration resource ID",
|
|
176
|
-
"schema": {
|
|
177
|
-
"type": "string"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"CursorParam": {
|
|
181
|
-
"name": "cursor",
|
|
182
|
-
"in": "query",
|
|
183
|
-
"description": "Opaque cursor for fetching the next page. Omit for the first page.",
|
|
184
|
-
"schema": {
|
|
185
|
-
"type": "string"
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"SizeParam": {
|
|
189
|
-
"name": "size",
|
|
190
|
-
"in": "query",
|
|
191
|
-
"description": "Number of items per page",
|
|
192
|
-
"schema": {
|
|
193
|
-
"type": "integer",
|
|
194
|
-
"default": 25,
|
|
195
|
-
"minimum": 1,
|
|
196
|
-
"maximum": 100
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"schemas": {
|
|
201
|
-
"ResourceType": {
|
|
202
|
-
"type": "string",
|
|
203
|
-
"description": "Configuration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n",
|
|
204
|
-
"enum": [
|
|
205
|
-
"journey",
|
|
206
|
-
"automation_flow",
|
|
207
|
-
"workflow_definition",
|
|
208
|
-
"closing_reason",
|
|
209
|
-
"flow_template",
|
|
210
|
-
"schema",
|
|
211
|
-
"emailtemplate",
|
|
212
|
-
"product",
|
|
213
|
-
"price",
|
|
214
|
-
"tax",
|
|
215
|
-
"coupon",
|
|
216
|
-
"file",
|
|
217
|
-
"webhook",
|
|
218
|
-
"saved_view",
|
|
219
|
-
"dashboard",
|
|
220
|
-
"kanban",
|
|
221
|
-
"role",
|
|
222
|
-
"usergroup",
|
|
223
|
-
"validation_rule",
|
|
224
|
-
"integration",
|
|
225
|
-
"app",
|
|
226
|
-
"designbuilder",
|
|
227
|
-
"notification_template",
|
|
228
|
-
"custom_variable",
|
|
229
|
-
"environment_variable",
|
|
230
|
-
"taxonomy",
|
|
231
|
-
"taxonomy_classification",
|
|
232
|
-
"entity_mapping",
|
|
233
|
-
"portal_config",
|
|
234
|
-
"target",
|
|
235
|
-
"product_recommendation"
|
|
236
|
-
]
|
|
237
|
-
},
|
|
238
|
-
"ConfigTypeInfo": {
|
|
239
|
-
"type": "object",
|
|
240
|
-
"description": "Static metadata for a config type folder in the tree.\nNo downstream API calls — just type + label + icon + source API info.\n",
|
|
241
|
-
"properties": {
|
|
242
|
-
"type": {
|
|
243
|
-
"$ref": "#/components/schemas/ResourceType"
|
|
244
|
-
},
|
|
245
|
-
"label": {
|
|
246
|
-
"type": "string",
|
|
247
|
-
"description": "Display label",
|
|
248
|
-
"example": "Journeys"
|
|
249
|
-
},
|
|
250
|
-
"icon": {
|
|
251
|
-
"type": "string",
|
|
252
|
-
"description": "Frontend icon name",
|
|
253
|
-
"example": "Route"
|
|
254
|
-
},
|
|
255
|
-
"source_api": {
|
|
256
|
-
"type": "string",
|
|
257
|
-
"description": "Base URL of the epilot API that owns this resource type",
|
|
258
|
-
"example": "https://journey.sls.epilot.io"
|
|
259
|
-
},
|
|
260
|
-
"sdk_client": {
|
|
261
|
-
"type": "string",
|
|
262
|
-
"description": "@epilot/sdk subpath for fetching full config payloads",
|
|
263
|
-
"example": "@epilot/sdk/journey"
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
"required": [
|
|
267
|
-
"type",
|
|
268
|
-
"label",
|
|
269
|
-
"icon",
|
|
270
|
-
"source_api",
|
|
271
|
-
"sdk_client"
|
|
272
|
-
]
|
|
273
|
-
},
|
|
274
|
-
"ConfigNode": {
|
|
275
|
-
"type": "object",
|
|
276
|
-
"description": "Summary metadata for a single configuration item in the tree",
|
|
277
|
-
"properties": {
|
|
278
|
-
"type": {
|
|
279
|
-
"$ref": "#/components/schemas/ResourceType"
|
|
280
|
-
},
|
|
281
|
-
"id": {
|
|
282
|
-
"type": "string",
|
|
283
|
-
"description": "Unique identifier"
|
|
284
|
-
},
|
|
285
|
-
"title": {
|
|
286
|
-
"type": "string",
|
|
287
|
-
"description": "Display name"
|
|
288
|
-
},
|
|
289
|
-
"updated_at": {
|
|
290
|
-
"type": "string",
|
|
291
|
-
"format": "date-time",
|
|
292
|
-
"description": "Last modified timestamp"
|
|
293
|
-
},
|
|
294
|
-
"updated_by": {
|
|
295
|
-
"type": "string",
|
|
296
|
-
"description": "User who last modified this config"
|
|
297
|
-
},
|
|
298
|
-
"tags": {
|
|
299
|
-
"type": "array",
|
|
300
|
-
"items": {
|
|
301
|
-
"type": "string"
|
|
302
|
-
},
|
|
303
|
-
"description": "Tags / labels"
|
|
304
|
-
},
|
|
305
|
-
"purposes": {
|
|
306
|
-
"type": "array",
|
|
307
|
-
"items": {
|
|
308
|
-
"type": "string"
|
|
309
|
-
},
|
|
310
|
-
"description": "Business purposes"
|
|
311
|
-
},
|
|
312
|
-
"link": {
|
|
313
|
-
"type": "string",
|
|
314
|
-
"format": "uri",
|
|
315
|
-
"description": "Direct link to open this config in epilot"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
"required": [
|
|
319
|
-
"type",
|
|
320
|
-
"id",
|
|
321
|
-
"title"
|
|
322
|
-
]
|
|
323
|
-
},
|
|
324
|
-
"ConfigListResponse": {
|
|
325
|
-
"type": "object",
|
|
326
|
-
"description": "Cursor-paginated list of configs for a specific type",
|
|
327
|
-
"properties": {
|
|
328
|
-
"type": {
|
|
329
|
-
"$ref": "#/components/schemas/ResourceType"
|
|
330
|
-
},
|
|
331
|
-
"label": {
|
|
332
|
-
"type": "string"
|
|
333
|
-
},
|
|
334
|
-
"icon": {
|
|
335
|
-
"type": "string"
|
|
336
|
-
},
|
|
337
|
-
"total": {
|
|
338
|
-
"type": "integer",
|
|
339
|
-
"description": "Total number of configs of this type (if known)"
|
|
340
|
-
},
|
|
341
|
-
"next_cursor": {
|
|
342
|
-
"type": "string",
|
|
343
|
-
"description": "Cursor for fetching the next page. Absent when no more pages."
|
|
344
|
-
},
|
|
345
|
-
"items": {
|
|
346
|
-
"type": "array",
|
|
347
|
-
"items": {
|
|
348
|
-
"$ref": "#/components/schemas/ConfigNode"
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
"required": [
|
|
353
|
-
"type",
|
|
354
|
-
"label",
|
|
355
|
-
"icon",
|
|
356
|
-
"items"
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
"ConfigDependenciesResponse": {
|
|
360
|
-
"type": "object",
|
|
361
|
-
"description": "Cursor-paginated list of configs referenced by a given config",
|
|
362
|
-
"properties": {
|
|
363
|
-
"total": {
|
|
364
|
-
"type": "integer",
|
|
365
|
-
"description": "Total number of dependencies found (if known)"
|
|
366
|
-
},
|
|
367
|
-
"next_cursor": {
|
|
368
|
-
"type": "string",
|
|
369
|
-
"description": "Cursor for fetching the next page. Absent when no more pages."
|
|
370
|
-
},
|
|
371
|
-
"results": {
|
|
372
|
-
"type": "array",
|
|
373
|
-
"items": {
|
|
374
|
-
"$ref": "#/components/schemas/ConfigNode"
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
"required": [
|
|
379
|
-
"results"
|
|
380
|
-
]
|
|
381
|
-
},
|
|
382
|
-
"ErrorResponse": {
|
|
383
|
-
"type": "object",
|
|
384
|
-
"properties": {
|
|
385
|
-
"status": {
|
|
386
|
-
"type": "integer"
|
|
387
|
-
},
|
|
388
|
-
"error": {
|
|
389
|
-
"type": "string"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
"required": [
|
|
393
|
-
"status",
|
|
394
|
-
"error"
|
|
395
|
-
]
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|