@epilot/sdk 2.3.10 → 2.4.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 (221) hide show
  1. package/dist/apis/access-token.cjs +6 -6
  2. package/dist/apis/access-token.js +1 -1
  3. package/dist/apis/address-suggestions.cjs +6 -6
  4. package/dist/apis/address-suggestions.js +1 -1
  5. package/dist/apis/address.cjs +6 -6
  6. package/dist/apis/address.js +1 -1
  7. package/dist/apis/ai-agents.cjs +6 -6
  8. package/dist/apis/ai-agents.js +1 -1
  9. package/dist/apis/app.cjs +6 -6
  10. package/dist/apis/app.js +1 -1
  11. package/dist/apis/audit-logs.cjs +6 -6
  12. package/dist/apis/audit-logs.js +1 -1
  13. package/dist/apis/automation.cjs +6 -6
  14. package/dist/apis/automation.js +1 -1
  15. package/dist/apis/billing.cjs +6 -6
  16. package/dist/apis/billing.js +1 -1
  17. package/dist/apis/blueprint-manifest.cjs +6 -6
  18. package/dist/apis/blueprint-manifest.js +1 -1
  19. package/dist/apis/configuration-hub.cjs +6 -6
  20. package/dist/apis/configuration-hub.js +1 -1
  21. package/dist/apis/consent.cjs +6 -6
  22. package/dist/apis/consent.js +1 -1
  23. package/dist/apis/customer-portal.cjs +6 -6
  24. package/dist/apis/customer-portal.js +1 -1
  25. package/dist/apis/dashboard.cjs +6 -6
  26. package/dist/apis/dashboard.js +1 -1
  27. package/dist/apis/data-governance.cjs +6 -6
  28. package/dist/apis/data-governance.js +1 -1
  29. package/dist/apis/deduplication.cjs +6 -6
  30. package/dist/apis/deduplication.js +1 -1
  31. package/dist/apis/design.cjs +6 -6
  32. package/dist/apis/design.js +1 -1
  33. package/dist/apis/document.cjs +6 -6
  34. package/dist/apis/document.js +1 -1
  35. package/dist/apis/email-settings.cjs +6 -6
  36. package/dist/apis/email-settings.js +1 -1
  37. package/dist/apis/email-template.cjs +6 -6
  38. package/dist/apis/email-template.js +1 -1
  39. package/dist/apis/entity-mapping.cjs +6 -6
  40. package/dist/apis/entity-mapping.js +1 -1
  41. package/dist/apis/entity.cjs +8 -8
  42. package/dist/apis/entity.d.cts +2 -2
  43. package/dist/apis/entity.d.ts +2 -2
  44. package/dist/apis/entity.js +2 -2
  45. package/dist/apis/environments.cjs +6 -6
  46. package/dist/apis/environments.js +1 -1
  47. package/dist/apis/event-catalog.cjs +6 -6
  48. package/dist/apis/event-catalog.js +1 -1
  49. package/dist/apis/file.cjs +6 -6
  50. package/dist/apis/file.js +1 -1
  51. package/dist/apis/iban.cjs +6 -6
  52. package/dist/apis/iban.js +1 -1
  53. package/dist/apis/integration-toolkit.cjs +6 -6
  54. package/dist/apis/integration-toolkit.js +1 -1
  55. package/dist/apis/journey.cjs +6 -6
  56. package/dist/apis/journey.js +1 -1
  57. package/dist/apis/kanban.cjs +6 -6
  58. package/dist/apis/kanban.js +1 -1
  59. package/dist/apis/message.cjs +6 -6
  60. package/dist/apis/message.js +1 -1
  61. package/dist/apis/metering.cjs +6 -6
  62. package/dist/apis/metering.js +1 -1
  63. package/dist/apis/notes.cjs +6 -6
  64. package/dist/apis/notes.js +1 -1
  65. package/dist/apis/notification.cjs +6 -6
  66. package/dist/apis/notification.js +1 -1
  67. package/dist/apis/organization.cjs +6 -6
  68. package/dist/apis/organization.js +1 -1
  69. package/dist/apis/partner-directory.cjs +6 -6
  70. package/dist/apis/partner-directory.js +1 -1
  71. package/dist/apis/permissions.cjs +6 -6
  72. package/dist/apis/permissions.js +1 -1
  73. package/dist/apis/pricing-tier.cjs +6 -6
  74. package/dist/apis/pricing-tier.js +1 -1
  75. package/dist/apis/pricing.cjs +6 -6
  76. package/dist/apis/pricing.js +1 -1
  77. package/dist/apis/purpose.cjs +6 -6
  78. package/dist/apis/purpose.js +1 -1
  79. package/dist/apis/query.cjs +6 -6
  80. package/dist/apis/query.js +1 -1
  81. package/dist/apis/sandbox.cjs +6 -6
  82. package/dist/apis/sandbox.js +1 -1
  83. package/dist/apis/sharing.cjs +6 -6
  84. package/dist/apis/sharing.js +1 -1
  85. package/dist/apis/submission.cjs +6 -6
  86. package/dist/apis/submission.js +1 -1
  87. package/dist/apis/target.cjs +6 -6
  88. package/dist/apis/target.js +1 -1
  89. package/dist/apis/targeting.cjs +6 -6
  90. package/dist/apis/targeting.js +1 -1
  91. package/dist/apis/template-variables.cjs +6 -6
  92. package/dist/apis/template-variables.js +1 -1
  93. package/dist/apis/user.cjs +6 -6
  94. package/dist/apis/user.js +1 -1
  95. package/dist/apis/validation-rules.cjs +6 -6
  96. package/dist/apis/validation-rules.js +1 -1
  97. package/dist/apis/webhooks.cjs +6 -6
  98. package/dist/apis/webhooks.js +1 -1
  99. package/dist/apis/workflow-definition.cjs +6 -6
  100. package/dist/apis/workflow-definition.js +1 -1
  101. package/dist/apis/workflow.cjs +6 -6
  102. package/dist/apis/workflow.js +1 -1
  103. package/dist/{chunk-W7YCS4FU.js → chunk-DAFBUTK6.js} +2 -2
  104. package/dist/chunk-M6Z6ES3I.js +14 -0
  105. package/dist/chunk-UBQCDPW6.cjs +14 -0
  106. package/dist/{chunk-MDLNRFJV.cjs → chunk-Z33PZNHV.cjs} +2 -2
  107. package/dist/entity-VDUN7SYC.cjs +7 -0
  108. package/dist/entity-WWM2Z7BU.js +7 -0
  109. package/dist/entity-runtime-3J5EDLXP.cjs +5 -0
  110. package/dist/{entity-runtime-D4DV5XRM.js → entity-runtime-LNAZILIN.js} +1 -1
  111. package/dist/{entity.d-ByufVI16.d.cts → entity.d-B43ezu-V.d.cts} +1336 -9
  112. package/dist/{entity.d-ByufVI16.d.ts → entity.d-B43ezu-V.d.ts} +1336 -9
  113. package/dist/index.cjs +10 -10
  114. package/dist/index.d.cts +1 -1
  115. package/dist/index.d.ts +1 -1
  116. package/dist/index.js +2 -2
  117. package/docs/entity.md +965 -39
  118. package/package.json +1 -1
  119. package/definitions/access-token-runtime.json +0 -1
  120. package/definitions/access-token.json +0 -663
  121. package/definitions/address-runtime.json +0 -1
  122. package/definitions/address-suggestions-runtime.json +0 -1
  123. package/definitions/address-suggestions.json +0 -582
  124. package/definitions/address.json +0 -578
  125. package/definitions/ai-agents-runtime.json +0 -1
  126. package/definitions/ai-agents.json +0 -1711
  127. package/definitions/app-runtime.json +0 -1
  128. package/definitions/app.json +0 -4493
  129. package/definitions/audit-logs-runtime.json +0 -1
  130. package/definitions/audit-logs.json +0 -305
  131. package/definitions/automation-runtime.json +0 -1
  132. package/definitions/automation.json +0 -5028
  133. package/definitions/billing-runtime.json +0 -1
  134. package/definitions/billing.json +0 -837
  135. package/definitions/blueprint-manifest-runtime.json +0 -1
  136. package/definitions/blueprint-manifest.json +0 -4846
  137. package/definitions/configuration-hub-runtime.json +0 -1
  138. package/definitions/configuration-hub.json +0 -611
  139. package/definitions/consent-runtime.json +0 -1
  140. package/definitions/consent.json +0 -344
  141. package/definitions/customer-portal-runtime.json +0 -1
  142. package/definitions/customer-portal.json +0 -16045
  143. package/definitions/dashboard-runtime.json +0 -1
  144. package/definitions/dashboard.json +0 -484
  145. package/definitions/data-governance-runtime.json +0 -1
  146. package/definitions/data-governance.json +0 -1126
  147. package/definitions/deduplication-runtime.json +0 -1
  148. package/definitions/deduplication.json +0 -314
  149. package/definitions/design-runtime.json +0 -1
  150. package/definitions/design.json +0 -1722
  151. package/definitions/document-runtime.json +0 -1
  152. package/definitions/document.json +0 -758
  153. package/definitions/email-settings-runtime.json +0 -1
  154. package/definitions/email-settings.json +0 -2777
  155. package/definitions/email-template-runtime.json +0 -1
  156. package/definitions/email-template.json +0 -1441
  157. package/definitions/entity-mapping-runtime.json +0 -1
  158. package/definitions/entity-mapping.json +0 -1642
  159. package/definitions/entity-runtime.json +0 -1
  160. package/definitions/entity.json +0 -10474
  161. package/definitions/environments-runtime.json +0 -1
  162. package/definitions/environments.json +0 -539
  163. package/definitions/event-catalog-runtime.json +0 -1
  164. package/definitions/event-catalog.json +0 -1051
  165. package/definitions/file-runtime.json +0 -1
  166. package/definitions/file.json +0 -2842
  167. package/definitions/iban-runtime.json +0 -1
  168. package/definitions/iban.json +0 -132
  169. package/definitions/integration-toolkit-runtime.json +0 -1
  170. package/definitions/integration-toolkit.json +0 -7998
  171. package/definitions/journey-runtime.json +0 -1
  172. package/definitions/journey.json +0 -2603
  173. package/definitions/kanban-runtime.json +0 -1
  174. package/definitions/kanban.json +0 -1505
  175. package/definitions/message-runtime.json +0 -1
  176. package/definitions/message.json +0 -2872
  177. package/definitions/metering-runtime.json +0 -1
  178. package/definitions/metering.json +0 -2321
  179. package/definitions/notes-runtime.json +0 -1
  180. package/definitions/notes.json +0 -1531
  181. package/definitions/notification-runtime.json +0 -1
  182. package/definitions/notification.json +0 -1425
  183. package/definitions/organization-runtime.json +0 -1
  184. package/definitions/organization.json +0 -1192
  185. package/definitions/partner-directory-runtime.json +0 -1
  186. package/definitions/partner-directory.json +0 -2284
  187. package/definitions/permissions-runtime.json +0 -1
  188. package/definitions/permissions.json +0 -1515
  189. package/definitions/pricing-runtime.json +0 -1
  190. package/definitions/pricing-tier-runtime.json +0 -1
  191. package/definitions/pricing-tier.json +0 -105
  192. package/definitions/pricing.json +0 -9884
  193. package/definitions/purpose-runtime.json +0 -1
  194. package/definitions/purpose.json +0 -524
  195. package/definitions/query-runtime.json +0 -1
  196. package/definitions/query.json +0 -3178
  197. package/definitions/sandbox-runtime.json +0 -1
  198. package/definitions/sandbox.json +0 -453
  199. package/definitions/sharing-runtime.json +0 -1
  200. package/definitions/sharing.json +0 -956
  201. package/definitions/submission-runtime.json +0 -1
  202. package/definitions/submission.json +0 -313
  203. package/definitions/targeting-runtime.json +0 -1
  204. package/definitions/targeting.json +0 -1474
  205. package/definitions/template-variables-runtime.json +0 -1
  206. package/definitions/template-variables.json +0 -1416
  207. package/definitions/user-runtime.json +0 -1
  208. package/definitions/user.json +0 -2460
  209. package/definitions/validation-rules-runtime.json +0 -1
  210. package/definitions/validation-rules.json +0 -1491
  211. package/definitions/webhooks-runtime.json +0 -1
  212. package/definitions/webhooks.json +0 -1634
  213. package/definitions/workflow-definition-runtime.json +0 -1
  214. package/definitions/workflow-definition.json +0 -3354
  215. package/definitions/workflow-runtime.json +0 -1
  216. package/definitions/workflow.json +0 -4272
  217. package/dist/chunk-F7W62NKV.js +0 -14
  218. package/dist/chunk-QA2OYK7N.cjs +0 -14
  219. package/dist/entity-CK76MXVN.js +0 -7
  220. package/dist/entity-TFMH5VTZ.cjs +0 -7
  221. package/dist/entity-runtime-DUJTRYLQ.cjs +0 -5
@@ -1 +0,0 @@
1
- {"s":"https://configuration-hub.sls.epilot.io","o":[["listConfigTypes","get","/v1/configs/types"],["listConfigs","get","/v1/configs/{type}",[["ConfigType"],["CursorParam"],["SizeParam"],["q","q"],["updated_after","q"],["updated_before","q"],["purposes","q"],["blueprint_ids","q"],["sort","q"],["active_only","q"]]],["getConfigDependencies","get","/v1/configs/{type}/{id}/dependencies",[["ConfigType"],["ConfigId"],["CursorParam"],["SizeParam"]]],["getConfigUsedBy","get","/v1/configs/{type}/{id}/used_by",[["ConfigType"],["ConfigId"]]],["getIndex","get","/v1/configs/index"],["rebuildIndex","post","/v1/configs/index:rebuild"]],"v":"3.0.3","cp":{"ConfigType":["type","p",true],"ConfigId":["id","p",true],"CursorParam":["cursor","q"],"SizeParam":["size","q"]}}
@@ -1,611 +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\n## Source APIs per resource type\n\nEach resource type maps to a specific epilot API. The frontend should use the corresponding\n@epilot/sdk client to fetch full config details (e.g., for the side panel JSON view).\n\n| Resource Type | Source API | SDK Client |\n|---|---|---|\n| `journey` | journey.sls.epilot.io | `@epilot/sdk/journey` |\n| `automation_flow` | automation.sls.epilot.io | `@epilot/sdk/automation` |\n| `workflow_definition` | workflow-definition.sls.epilot.io | `@epilot/sdk/workflow-definition` |\n| `closing_reason` | workflow-definition.sls.epilot.io | `@epilot/sdk/workflow-definition` |\n| `flow_template` | workflow-definition.sls.epilot.io | `@epilot/sdk/workflow-definition` |\n| `schema` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `taxonomy` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `taxonomy_classification` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `emailtemplate` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `product` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `price` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `tax` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `coupon` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `file` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `document_template` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `webhook` | webhooks.sls.epilot.io | `@epilot/sdk/webhooks` |\n| `saved_view` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `dashboard` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `kanban` | kanban.sls.epilot.io | `@epilot/sdk/kanban` |\n| `role` | permissions.sls.epilot.io | `@epilot/sdk/permissions` |\n| `usergroup` | user.sls.epilot.io | `@epilot/sdk/user` |\n| `validation_rule` | entity.sls.epilot.io | `@epilot/sdk/validation-rules` |\n| `integration` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `app` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `designbuilder` | design-builder-api.sls.epilot.io | `@epilot/sdk/design` |\n| `notification_template` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `custom_variable` | entity.sls.epilot.io | `@epilot/sdk/template-variables` |\n| `environment_variable` | environments.sls.epilot.io | `@epilot/sdk/environments` |\n| `entity_mapping` | entity-mapping.sls.epilot.io | `@epilot/sdk/entity-mapping` |\n| `portal_config` | customer-portal.sls.epilot.io | `@epilot/sdk/customer-portal` |\n| `target` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `product_recommendation` | entity.sls.epilot.io | `@epilot/sdk/entity` |\n| `access_token` | access-token.sls.epilot.io | `@epilot/sdk/access-token` |\n",
6
- "version": "0.2.0"
7
- },
8
- "servers": [
9
- {
10
- "url": "https://configuration-hub.sls.epilot.io"
11
- },
12
- {
13
- "url": "https://configuration-hub.dev.sls.epilot.io",
14
- "description": "Dev"
15
- }
16
- ],
17
- "security": [
18
- {
19
- "EpilotAuth": []
20
- }
21
- ],
22
- "tags": [
23
- {
24
- "name": "Configs",
25
- "description": "Configuration tree index"
26
- }
27
- ],
28
- "paths": {
29
- "/v1/configs/types": {
30
- "get": {
31
- "operationId": "listConfigTypes",
32
- "summary": "listConfigTypes",
33
- "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",
34
- "tags": [
35
- "Configs"
36
- ],
37
- "responses": {
38
- "200": {
39
- "description": "Available config types",
40
- "content": {
41
- "application/json": {
42
- "schema": {
43
- "type": "object",
44
- "properties": {
45
- "results": {
46
- "type": "array",
47
- "items": {
48
- "$ref": "#/components/schemas/ConfigTypeInfo"
49
- }
50
- }
51
- },
52
- "required": [
53
- "results"
54
- ]
55
- }
56
- }
57
- }
58
- }
59
- }
60
- }
61
- },
62
- "/v1/configs/{type}": {
63
- "get": {
64
- "operationId": "listConfigs",
65
- "summary": "listConfigs",
66
- "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",
67
- "tags": [
68
- "Configs"
69
- ],
70
- "parameters": [
71
- {
72
- "$ref": "#/components/parameters/ConfigType"
73
- },
74
- {
75
- "$ref": "#/components/parameters/CursorParam"
76
- },
77
- {
78
- "$ref": "#/components/parameters/SizeParam"
79
- },
80
- {
81
- "name": "q",
82
- "in": "query",
83
- "description": "Search query to filter configs by name/title",
84
- "schema": {
85
- "type": "string"
86
- }
87
- },
88
- {
89
- "name": "updated_after",
90
- "in": "query",
91
- "description": "Filter configs updated after this date (ISO 8601)",
92
- "schema": {
93
- "type": "string",
94
- "format": "date-time"
95
- }
96
- },
97
- {
98
- "name": "updated_before",
99
- "in": "query",
100
- "description": "Filter configs updated before this date (ISO 8601)",
101
- "schema": {
102
- "type": "string",
103
- "format": "date-time"
104
- }
105
- },
106
- {
107
- "name": "purposes",
108
- "in": "query",
109
- "description": "Filter by purpose classification IDs (comma-separated)",
110
- "schema": {
111
- "type": "string"
112
- }
113
- },
114
- {
115
- "name": "blueprint_ids",
116
- "in": "query",
117
- "description": "Filter by installed-blueprint IDs (comma-separated). Only configs installed by one of the listed blueprints are returned.",
118
- "schema": {
119
- "type": "string"
120
- }
121
- },
122
- {
123
- "name": "sort",
124
- "in": "query",
125
- "description": "Sort order. `updated_at` (default) sorts by most recently modified.\n`usage` sorts by the type-specific usage metric descending\n(submissions for journeys, executions for automations, entities for schemas, etc.).\n",
126
- "schema": {
127
- "type": "string",
128
- "enum": [
129
- "updated_at",
130
- "usage"
131
- ],
132
- "default": "updated_at"
133
- }
134
- },
135
- {
136
- "name": "active_only",
137
- "in": "query",
138
- "description": "If true, filter out configs that are explicitly inactive (active=false).\nConfigs with no `active` field are always included.\n",
139
- "schema": {
140
- "type": "boolean"
141
- }
142
- }
143
- ],
144
- "responses": {
145
- "200": {
146
- "description": "Paginated config list",
147
- "content": {
148
- "application/json": {
149
- "schema": {
150
- "$ref": "#/components/schemas/ConfigListResponse"
151
- }
152
- }
153
- }
154
- },
155
- "400": {
156
- "description": "Invalid config type",
157
- "content": {
158
- "application/json": {
159
- "schema": {
160
- "$ref": "#/components/schemas/ErrorResponse"
161
- }
162
- }
163
- }
164
- }
165
- }
166
- }
167
- },
168
- "/v1/configs/{type}/{id}/dependencies": {
169
- "get": {
170
- "operationId": "getConfigDependencies",
171
- "summary": "getConfigDependencies",
172
- "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",
173
- "tags": [
174
- "Configs"
175
- ],
176
- "parameters": [
177
- {
178
- "$ref": "#/components/parameters/ConfigType"
179
- },
180
- {
181
- "$ref": "#/components/parameters/ConfigId"
182
- },
183
- {
184
- "$ref": "#/components/parameters/CursorParam"
185
- },
186
- {
187
- "$ref": "#/components/parameters/SizeParam"
188
- }
189
- ],
190
- "responses": {
191
- "200": {
192
- "description": "Paginated list of referenced configs",
193
- "content": {
194
- "application/json": {
195
- "schema": {
196
- "$ref": "#/components/schemas/ConfigDependenciesResponse"
197
- }
198
- }
199
- }
200
- },
201
- "404": {
202
- "description": "Config not found",
203
- "content": {
204
- "application/json": {
205
- "schema": {
206
- "$ref": "#/components/schemas/ErrorResponse"
207
- }
208
- }
209
- }
210
- }
211
- }
212
- }
213
- },
214
- "/v1/configs/{type}/{id}/used_by": {
215
- "get": {
216
- "operationId": "getConfigUsedBy",
217
- "summary": "getConfigUsedBy",
218
- "description": "Get configs that reference the given config (reverse dependencies).\nScans the indexed config items for references to this config's ID or aliases.\n",
219
- "tags": [
220
- "Configs"
221
- ],
222
- "parameters": [
223
- {
224
- "$ref": "#/components/parameters/ConfigType"
225
- },
226
- {
227
- "$ref": "#/components/parameters/ConfigId"
228
- }
229
- ],
230
- "responses": {
231
- "200": {
232
- "description": "List of configs that reference this config",
233
- "content": {
234
- "application/json": {
235
- "schema": {
236
- "$ref": "#/components/schemas/ConfigDependenciesResponse"
237
- }
238
- }
239
- }
240
- }
241
- }
242
- }
243
- },
244
- "/v1/configs/index": {
245
- "get": {
246
- "operationId": "getIndex",
247
- "summary": "getIndex",
248
- "description": "Return the current index build state for the caller's organization.\nClients poll this to decide whether to show a \"building\" indicator\nand when to refetch data.\n",
249
- "tags": [
250
- "Configs"
251
- ],
252
- "responses": {
253
- "200": {
254
- "description": "Current index status",
255
- "content": {
256
- "application/json": {
257
- "schema": {
258
- "$ref": "#/components/schemas/IndexStatusResponse"
259
- }
260
- }
261
- }
262
- }
263
- }
264
- }
265
- },
266
- "/v1/configs/index:rebuild": {
267
- "post": {
268
- "operationId": "rebuildIndex",
269
- "summary": "rebuildIndex",
270
- "description": "Rebuild the configuration index for the caller's organization.\nFire-and-forget: invokes the async worker and returns immediately.\nA new rebuild will cancel any in-flight build (see `build_token`).\n",
271
- "tags": [
272
- "Configs"
273
- ],
274
- "responses": {
275
- "200": {
276
- "description": "Index build status",
277
- "content": {
278
- "application/json": {
279
- "schema": {
280
- "$ref": "#/components/schemas/IndexRebuildResponse"
281
- }
282
- }
283
- }
284
- }
285
- }
286
- }
287
- }
288
- },
289
- "components": {
290
- "securitySchemes": {
291
- "EpilotAuth": {
292
- "type": "http",
293
- "scheme": "bearer",
294
- "description": "epilot JWT auth token"
295
- }
296
- },
297
- "parameters": {
298
- "ConfigType": {
299
- "name": "type",
300
- "in": "path",
301
- "required": true,
302
- "description": "Configuration resource type",
303
- "schema": {
304
- "$ref": "#/components/schemas/ResourceType"
305
- }
306
- },
307
- "ConfigId": {
308
- "name": "id",
309
- "in": "path",
310
- "required": true,
311
- "description": "Configuration resource ID",
312
- "schema": {
313
- "type": "string"
314
- }
315
- },
316
- "CursorParam": {
317
- "name": "cursor",
318
- "in": "query",
319
- "description": "Opaque cursor for fetching the next page. Omit for the first page.",
320
- "schema": {
321
- "type": "string"
322
- }
323
- },
324
- "SizeParam": {
325
- "name": "size",
326
- "in": "query",
327
- "description": "Number of items per page",
328
- "schema": {
329
- "type": "integer",
330
- "default": 25,
331
- "minimum": 1,
332
- "maximum": 100
333
- }
334
- }
335
- },
336
- "schemas": {
337
- "ResourceType": {
338
- "type": "string",
339
- "description": "Configuration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n",
340
- "enum": [
341
- "journey",
342
- "automation_flow",
343
- "workflow_definition",
344
- "closing_reason",
345
- "flow_template",
346
- "schema",
347
- "emailtemplate",
348
- "product",
349
- "price",
350
- "tax",
351
- "coupon",
352
- "file",
353
- "document_template",
354
- "webhook",
355
- "saved_view",
356
- "dashboard",
357
- "kanban",
358
- "role",
359
- "usergroup",
360
- "validation_rule",
361
- "integration",
362
- "app",
363
- "designbuilder",
364
- "notification_template",
365
- "custom_variable",
366
- "environment_variable",
367
- "taxonomy",
368
- "taxonomy_classification",
369
- "entity_mapping",
370
- "portal_config",
371
- "target",
372
- "product_recommendation",
373
- "access_token"
374
- ]
375
- },
376
- "ConfigTypeInfo": {
377
- "type": "object",
378
- "description": "Static metadata for a config type folder in the tree.\nNo downstream API calls — just type + label + icon + source API info.\n",
379
- "properties": {
380
- "type": {
381
- "$ref": "#/components/schemas/ResourceType"
382
- },
383
- "label": {
384
- "type": "string",
385
- "description": "Display label",
386
- "example": "Journeys"
387
- },
388
- "icon": {
389
- "type": "string",
390
- "description": "Frontend icon name",
391
- "example": "Route"
392
- },
393
- "source_api": {
394
- "type": "string",
395
- "description": "Base URL of the epilot API that owns this resource type",
396
- "example": "https://journey.sls.epilot.io"
397
- },
398
- "sdk_client": {
399
- "type": "string",
400
- "description": "@epilot/sdk subpath for fetching full config payloads",
401
- "example": "@epilot/sdk/journey"
402
- }
403
- },
404
- "required": [
405
- "type",
406
- "label",
407
- "icon",
408
- "source_api",
409
- "sdk_client"
410
- ]
411
- },
412
- "ConfigNode": {
413
- "type": "object",
414
- "description": "Summary metadata for a single configuration item in the tree",
415
- "properties": {
416
- "type": {
417
- "$ref": "#/components/schemas/ResourceType"
418
- },
419
- "id": {
420
- "type": "string",
421
- "description": "Unique identifier"
422
- },
423
- "title": {
424
- "type": "string",
425
- "description": "Display name"
426
- },
427
- "updated_at": {
428
- "type": "string",
429
- "format": "date-time",
430
- "description": "Last modified timestamp"
431
- },
432
- "updated_by": {
433
- "type": "string",
434
- "description": "User who last modified this config"
435
- },
436
- "tags": {
437
- "type": "array",
438
- "items": {
439
- "type": "string"
440
- },
441
- "description": "Tags / labels"
442
- },
443
- "aliases": {
444
- "type": "array",
445
- "items": {
446
- "type": "string"
447
- },
448
- "description": "Alternative identifiers (short IDs, slugs, variable keys) used in cross-references"
449
- },
450
- "purposes": {
451
- "type": "array",
452
- "items": {
453
- "type": "string"
454
- },
455
- "description": "Business purposes"
456
- },
457
- "link": {
458
- "type": "string",
459
- "format": "uri",
460
- "description": "Direct link to open this config in epilot"
461
- },
462
- "metadata": {
463
- "type": "object",
464
- "description": "Type-specific metadata (e.g., submission count for journeys)",
465
- "additionalProperties": true
466
- }
467
- },
468
- "required": [
469
- "type",
470
- "id",
471
- "title"
472
- ]
473
- },
474
- "ConfigListResponse": {
475
- "type": "object",
476
- "description": "Cursor-paginated list of configs for a specific type",
477
- "properties": {
478
- "type": {
479
- "$ref": "#/components/schemas/ResourceType"
480
- },
481
- "label": {
482
- "type": "string"
483
- },
484
- "icon": {
485
- "type": "string"
486
- },
487
- "total": {
488
- "type": "integer",
489
- "description": "Total number of configs of this type (if known)"
490
- },
491
- "next_cursor": {
492
- "type": "string",
493
- "description": "Cursor for fetching the next page. Absent when no more pages."
494
- },
495
- "results": {
496
- "type": "array",
497
- "items": {
498
- "$ref": "#/components/schemas/ConfigNode"
499
- }
500
- }
501
- },
502
- "required": [
503
- "type",
504
- "label",
505
- "icon",
506
- "results"
507
- ]
508
- },
509
- "ConfigDependenciesResponse": {
510
- "type": "object",
511
- "description": "Cursor-paginated list of configs referenced by a given config",
512
- "properties": {
513
- "total": {
514
- "type": "integer",
515
- "description": "Total number of dependencies found (if known)"
516
- },
517
- "next_cursor": {
518
- "type": "string",
519
- "description": "Cursor for fetching the next page. Absent when no more pages."
520
- },
521
- "results": {
522
- "type": "array",
523
- "items": {
524
- "$ref": "#/components/schemas/ConfigNode"
525
- }
526
- }
527
- },
528
- "required": [
529
- "results"
530
- ]
531
- },
532
- "IndexRebuildResponse": {
533
- "type": "object",
534
- "description": "Result of an index rebuild operation",
535
- "properties": {
536
- "status": {
537
- "type": "string",
538
- "enum": [
539
- "ready",
540
- "building",
541
- "failed",
542
- "already_building"
543
- ]
544
- },
545
- "last_built_at": {
546
- "type": "string",
547
- "format": "date-time"
548
- },
549
- "total_items": {
550
- "type": "integer"
551
- },
552
- "build_duration_ms": {
553
- "type": "integer"
554
- },
555
- "failed_types": {
556
- "type": "array",
557
- "items": {
558
- "type": "string"
559
- }
560
- }
561
- },
562
- "required": [
563
- "status"
564
- ]
565
- },
566
- "IndexStatusResponse": {
567
- "type": "object",
568
- "description": "Current index build state",
569
- "properties": {
570
- "status": {
571
- "type": "string",
572
- "enum": [
573
- "missing",
574
- "building",
575
- "ready",
576
- "failed"
577
- ]
578
- },
579
- "last_built_at": {
580
- "type": "string",
581
- "format": "date-time"
582
- },
583
- "total_items": {
584
- "type": "integer"
585
- },
586
- "build_duration_ms": {
587
- "type": "integer"
588
- }
589
- },
590
- "required": [
591
- "status"
592
- ]
593
- },
594
- "ErrorResponse": {
595
- "type": "object",
596
- "properties": {
597
- "status": {
598
- "type": "integer"
599
- },
600
- "error": {
601
- "type": "string"
602
- }
603
- },
604
- "required": [
605
- "status",
606
- "error"
607
- ]
608
- }
609
- }
610
- }
611
- }
@@ -1 +0,0 @@
1
- {"s":"https://consent.sls.epilot.io","o":[["publishConsentEvent","post","/v1/consent/publish",null,1],["listConsentEvents","get","/v1/consent/{identifier}",[["identifier","p",true],["topic","q"],["limit","q"],["from","q"]]],["handleOptInWithToken","get","/v1/opt-in/{token}",[["token","p",true],["lang","q"]]]],"v":"3.0.3"}