@epilot/sdk 2.0.3 → 2.1.0-rc.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 (214) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4443 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +4850 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +3376 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15000 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-management-runtime.json +1 -0
  26. package/definitions/data-management.json +962 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +183 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1423 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2627 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1419 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10074 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/erp-integration-runtime.json +1 -0
  44. package/definitions/erp-integration.json +5845 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2341 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +929 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2660 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +629 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +1718 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1480 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/submission-runtime.json +1 -0
  78. package/definitions/submission.json +313 -0
  79. package/definitions/targeting-runtime.json +1 -0
  80. package/definitions/targeting.json +1474 -0
  81. package/definitions/template-variables-runtime.json +1 -0
  82. package/definitions/template-variables.json +1408 -0
  83. package/definitions/user-runtime.json +1 -0
  84. package/definitions/user.json +2408 -0
  85. package/definitions/validation-rules-runtime.json +1 -0
  86. package/definitions/validation-rules.json +1491 -0
  87. package/definitions/webhooks-runtime.json +1 -0
  88. package/definitions/webhooks.json +1525 -0
  89. package/definitions/workflow-definition-runtime.json +1 -0
  90. package/definitions/workflow-definition.json +3417 -0
  91. package/definitions/workflow-runtime.json +1 -0
  92. package/definitions/workflow.json +4106 -0
  93. package/dist/apis/access-token.cjs +7 -7
  94. package/dist/apis/access-token.js +1 -1
  95. package/dist/apis/address-suggestions.cjs +7 -7
  96. package/dist/apis/address-suggestions.js +1 -1
  97. package/dist/apis/address.cjs +7 -7
  98. package/dist/apis/address.js +1 -1
  99. package/dist/apis/ai-agents.cjs +7 -7
  100. package/dist/apis/ai-agents.js +1 -1
  101. package/dist/apis/app.cjs +7 -7
  102. package/dist/apis/app.d.cts +2 -2
  103. package/dist/apis/app.d.ts +2 -2
  104. package/dist/apis/app.js +1 -1
  105. package/dist/apis/audit-logs.cjs +7 -7
  106. package/dist/apis/audit-logs.js +1 -1
  107. package/dist/apis/automation.cjs +7 -7
  108. package/dist/apis/automation.js +1 -1
  109. package/dist/apis/billing.cjs +7 -7
  110. package/dist/apis/billing.js +1 -1
  111. package/dist/apis/blueprint-manifest.cjs +8 -8
  112. package/dist/apis/blueprint-manifest.d.cts +2 -2
  113. package/dist/apis/blueprint-manifest.d.ts +2 -2
  114. package/dist/apis/blueprint-manifest.js +2 -2
  115. package/dist/apis/consent.cjs +7 -7
  116. package/dist/apis/consent.js +1 -1
  117. package/dist/apis/customer-portal.cjs +7 -7
  118. package/dist/apis/customer-portal.js +1 -1
  119. package/dist/apis/dashboard.cjs +7 -7
  120. package/dist/apis/dashboard.js +1 -1
  121. package/dist/apis/data-management.cjs +7 -7
  122. package/dist/apis/data-management.d.cts +2 -2
  123. package/dist/apis/data-management.d.ts +2 -2
  124. package/dist/apis/data-management.js +1 -1
  125. package/dist/apis/deduplication.cjs +7 -7
  126. package/dist/apis/deduplication.js +1 -1
  127. package/dist/apis/design.cjs +7 -7
  128. package/dist/apis/design.js +1 -1
  129. package/dist/apis/document.cjs +7 -7
  130. package/dist/apis/document.js +1 -1
  131. package/dist/apis/email-settings.cjs +7 -7
  132. package/dist/apis/email-settings.js +1 -1
  133. package/dist/apis/email-template.cjs +7 -7
  134. package/dist/apis/email-template.d.cts +2 -2
  135. package/dist/apis/email-template.d.ts +2 -2
  136. package/dist/apis/email-template.js +1 -1
  137. package/dist/apis/entity-mapping.cjs +7 -7
  138. package/dist/apis/entity-mapping.js +1 -1
  139. package/dist/apis/entity.cjs +8 -8
  140. package/dist/apis/entity.d.cts +2 -2
  141. package/dist/apis/entity.d.ts +2 -2
  142. package/dist/apis/entity.js +2 -2
  143. package/dist/apis/environments.cjs +7 -7
  144. package/dist/apis/environments.js +1 -1
  145. package/dist/apis/erp-integration.cjs +7 -7
  146. package/dist/apis/erp-integration.js +1 -1
  147. package/dist/apis/event-catalog.cjs +7 -7
  148. package/dist/apis/event-catalog.js +1 -1
  149. package/dist/apis/file.cjs +7 -7
  150. package/dist/apis/file.js +1 -1
  151. package/dist/apis/iban.cjs +7 -7
  152. package/dist/apis/iban.js +1 -1
  153. package/dist/apis/journey.cjs +7 -7
  154. package/dist/apis/journey.js +1 -1
  155. package/dist/apis/kanban.cjs +7 -7
  156. package/dist/apis/kanban.js +1 -1
  157. package/dist/apis/message.cjs +7 -7
  158. package/dist/apis/message.js +1 -1
  159. package/dist/apis/metering.cjs +7 -7
  160. package/dist/apis/metering.js +1 -1
  161. package/dist/apis/notes.cjs +7 -7
  162. package/dist/apis/notes.js +1 -1
  163. package/dist/apis/notification.cjs +7 -7
  164. package/dist/apis/notification.js +1 -1
  165. package/dist/apis/organization.cjs +7 -7
  166. package/dist/apis/organization.js +1 -1
  167. package/dist/apis/partner-directory.cjs +7 -7
  168. package/dist/apis/partner-directory.js +1 -1
  169. package/dist/apis/permissions.cjs +7 -7
  170. package/dist/apis/permissions.js +1 -1
  171. package/dist/apis/pricing-tier.cjs +7 -7
  172. package/dist/apis/pricing-tier.js +1 -1
  173. package/dist/apis/pricing.cjs +7 -7
  174. package/dist/apis/pricing.js +1 -1
  175. package/dist/apis/purpose.cjs +7 -7
  176. package/dist/apis/purpose.js +1 -1
  177. package/dist/apis/sandbox.cjs +7 -7
  178. package/dist/apis/sandbox.js +1 -1
  179. package/dist/apis/submission.cjs +7 -7
  180. package/dist/apis/submission.js +1 -1
  181. package/dist/apis/targeting.cjs +7 -7
  182. package/dist/apis/targeting.js +1 -1
  183. package/dist/apis/template-variables.cjs +7 -7
  184. package/dist/apis/template-variables.js +1 -1
  185. package/dist/apis/user.cjs +7 -7
  186. package/dist/apis/user.js +1 -1
  187. package/dist/apis/validation-rules.cjs +7 -7
  188. package/dist/apis/validation-rules.js +1 -1
  189. package/dist/apis/webhooks.cjs +7 -7
  190. package/dist/apis/webhooks.js +1 -1
  191. package/dist/apis/workflow-definition.cjs +7 -7
  192. package/dist/apis/workflow-definition.js +1 -1
  193. package/dist/apis/workflow.cjs +7 -7
  194. package/dist/apis/workflow.js +1 -1
  195. package/dist/{app.d-Dr03n4J4.d.cts → app.d-BXy_QUym.d.cts} +21 -3
  196. package/dist/{app.d-Dr03n4J4.d.ts → app.d-BXy_QUym.d.ts} +21 -3
  197. package/dist/bin/cli.js +123 -25
  198. package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
  199. package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
  200. package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
  201. package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
  202. package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
  203. package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
  204. package/dist/{email-template.d-BeqkDHtk.d.cts → email-template.d-gtQkdaXM.d.cts} +17 -3
  205. package/dist/{email-template.d-BeqkDHtk.d.ts → email-template.d-gtQkdaXM.d.ts} +17 -3
  206. package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
  207. package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
  208. package/dist/index.cjs +17 -17
  209. package/dist/index.d.cts +5 -5
  210. package/dist/index.d.ts +5 -5
  211. package/dist/index.js +10 -10
  212. package/dist/js-yaml-UPZKYVRY.js +2645 -0
  213. package/package.json +11 -10
  214. package/LICENSE +0 -21
@@ -0,0 +1 @@
1
+ {"s":"https://purpose.sls.epilot.io","o":[["createPurpose","post","/v1/purpose",null,1],["searchPurposes","get","/v1/purpose:search",[["QueryParam"],["SizeParam"]]],["batchGetPurposes","post","/v1/purpose:batchGet",null,1],["getPurpose","get","/v1/purpose/{purposeId}",[["PurposeIdPathParam"]]],["updatePurpose","put","/v1/purpose/{purposeId}",[["PurposeIdPathParam"]],1],["deletePurpose","delete","/v1/purpose/{purposeId}",[["PurposeIdPathParam"]]]],"v":"3.0.3","cp":{"PurposeIdPathParam":["purposeId","p",true],"QueryParam":["query","q"],"SizeParam":["size","q"]}}
@@ -0,0 +1,524 @@
1
+ {
2
+ "openapi": "3.0.3",
3
+ "info": {
4
+ "title": "Purpose API",
5
+ "version": "1.0.0",
6
+ "description": "Purpose API - enables the management of purposes for the epilot platform. \n\nepilot 'Purposes' are a special system taxonomy used to tag and organize resources (entities, attributes, groups, automations, templates, etc.) across the platform.\nIn essence, purposes are deeply connected to what information users can see or not on epilot360 UIs based on the \"purpose\" of the tasks they have at hand.\n",
7
+ "contact": {
8
+ "name": "Support",
9
+ "email": "info@epilot.cloud",
10
+ "url": "https://help.epilot.cloud"
11
+ }
12
+ },
13
+ "tags": [
14
+ {
15
+ "name": "Purpose",
16
+ "description": "Purpose operations"
17
+ },
18
+ {
19
+ "name": "purpose_schema",
20
+ "x-displayName": "Purpose",
21
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/Purpose\" />\n"
22
+ }
23
+ ],
24
+ "x-tagGroups": [
25
+ {
26
+ "name": "APIs",
27
+ "tags": [
28
+ "Purpose"
29
+ ]
30
+ },
31
+ {
32
+ "name": "Schemas",
33
+ "tags": [
34
+ "purpose_schema"
35
+ ]
36
+ }
37
+ ],
38
+ "security": [
39
+ {
40
+ "EpilotAuth": []
41
+ },
42
+ {
43
+ "EpilotOrg": []
44
+ }
45
+ ],
46
+ "servers": [
47
+ {
48
+ "url": "https://purpose.sls.epilot.io"
49
+ },
50
+ {
51
+ "url": "https://purpose.sls.epilot.io",
52
+ "description": "Production server"
53
+ }
54
+ ],
55
+ "paths": {
56
+ "/v1/purpose": {
57
+ "post": {
58
+ "operationId": "createPurpose",
59
+ "summary": "Create Purpose",
60
+ "description": "Create a new purpose",
61
+ "tags": [
62
+ "Purpose"
63
+ ],
64
+ "requestBody": {
65
+ "$ref": "#/components/requestBodies/CreatePurposeRequest"
66
+ },
67
+ "responses": {
68
+ "201": {
69
+ "$ref": "#/components/responses/PurposeResponse"
70
+ },
71
+ "400": {
72
+ "$ref": "#/components/responses/ClientErrorResponse"
73
+ },
74
+ "401": {
75
+ "$ref": "#/components/responses/UnauthorizedResponse"
76
+ },
77
+ "403": {
78
+ "$ref": "#/components/responses/ForbiddenResponse"
79
+ },
80
+ "409": {
81
+ "$ref": "#/components/responses/ConflictResponse"
82
+ },
83
+ "500": {
84
+ "$ref": "#/components/responses/ServerErrorResponse"
85
+ }
86
+ }
87
+ }
88
+ },
89
+ "/v1/purpose:search": {
90
+ "get": {
91
+ "operationId": "searchPurposes",
92
+ "summary": "Search Purposes",
93
+ "description": "Search purposes using fuzzy matching.\n",
94
+ "tags": [
95
+ "Purpose"
96
+ ],
97
+ "parameters": [
98
+ {
99
+ "$ref": "#/components/parameters/QueryParam"
100
+ },
101
+ {
102
+ "$ref": "#/components/parameters/SizeParam"
103
+ }
104
+ ],
105
+ "responses": {
106
+ "200": {
107
+ "$ref": "#/components/responses/PurposeSearchResponse"
108
+ },
109
+ "401": {
110
+ "$ref": "#/components/responses/UnauthorizedResponse"
111
+ },
112
+ "500": {
113
+ "$ref": "#/components/responses/ServerErrorResponse"
114
+ }
115
+ }
116
+ }
117
+ },
118
+ "/v1/purpose:batchGet": {
119
+ "post": {
120
+ "operationId": "batchGetPurposes",
121
+ "summary": "Batch Get Purposes",
122
+ "description": "Fetch multiple purposes by their known IDs in a single request.\n\n**Use this for:**\n- Hydrating purpose references from entities\n- Resolving a list of purpose IDs to full objects\n\n**Do NOT use this for:**\n- Browsing/discovering purposes (use `searchPurposes` instead)\n- Autocomplete (use `searchPurposes` instead)\n\n**Examples:**\n- Entity has `_purposes: [\"uuid-1\", \"uuid-2\"]` → fetch full purpose objects\n- Display purpose names for a list of tagged entities\n",
123
+ "tags": [
124
+ "Purpose"
125
+ ],
126
+ "requestBody": {
127
+ "$ref": "#/components/requestBodies/BatchGetPurposesRequest"
128
+ },
129
+ "responses": {
130
+ "200": {
131
+ "$ref": "#/components/responses/PurposeListResponse"
132
+ },
133
+ "400": {
134
+ "$ref": "#/components/responses/ClientErrorResponse"
135
+ },
136
+ "401": {
137
+ "$ref": "#/components/responses/UnauthorizedResponse"
138
+ },
139
+ "500": {
140
+ "$ref": "#/components/responses/ServerErrorResponse"
141
+ }
142
+ }
143
+ }
144
+ },
145
+ "/v1/purpose/{purposeId}": {
146
+ "get": {
147
+ "operationId": "getPurpose",
148
+ "summary": "Get Purpose",
149
+ "description": "Get a single purpose by ID",
150
+ "tags": [
151
+ "Purpose"
152
+ ],
153
+ "parameters": [
154
+ {
155
+ "$ref": "#/components/parameters/PurposeIdPathParam"
156
+ }
157
+ ],
158
+ "responses": {
159
+ "200": {
160
+ "$ref": "#/components/responses/PurposeResponse"
161
+ },
162
+ "401": {
163
+ "$ref": "#/components/responses/UnauthorizedResponse"
164
+ },
165
+ "404": {
166
+ "$ref": "#/components/responses/NotFoundResponse"
167
+ },
168
+ "500": {
169
+ "$ref": "#/components/responses/ServerErrorResponse"
170
+ }
171
+ }
172
+ },
173
+ "put": {
174
+ "operationId": "updatePurpose",
175
+ "summary": "Update Purpose",
176
+ "description": "Update an existing purpose",
177
+ "tags": [
178
+ "Purpose"
179
+ ],
180
+ "parameters": [
181
+ {
182
+ "$ref": "#/components/parameters/PurposeIdPathParam"
183
+ }
184
+ ],
185
+ "requestBody": {
186
+ "$ref": "#/components/requestBodies/UpdatePurposeRequest"
187
+ },
188
+ "responses": {
189
+ "200": {
190
+ "$ref": "#/components/responses/PurposeResponse"
191
+ },
192
+ "400": {
193
+ "$ref": "#/components/responses/ClientErrorResponse"
194
+ },
195
+ "401": {
196
+ "$ref": "#/components/responses/UnauthorizedResponse"
197
+ },
198
+ "403": {
199
+ "$ref": "#/components/responses/ForbiddenResponse"
200
+ },
201
+ "404": {
202
+ "$ref": "#/components/responses/NotFoundResponse"
203
+ },
204
+ "500": {
205
+ "$ref": "#/components/responses/ServerErrorResponse"
206
+ }
207
+ }
208
+ },
209
+ "delete": {
210
+ "operationId": "deletePurpose",
211
+ "summary": "Delete Purpose",
212
+ "description": "Permanently delete a purpose",
213
+ "tags": [
214
+ "Purpose"
215
+ ],
216
+ "parameters": [
217
+ {
218
+ "$ref": "#/components/parameters/PurposeIdPathParam"
219
+ }
220
+ ],
221
+ "responses": {
222
+ "200": {
223
+ "$ref": "#/components/responses/PurposeResponse"
224
+ },
225
+ "401": {
226
+ "$ref": "#/components/responses/UnauthorizedResponse"
227
+ },
228
+ "403": {
229
+ "$ref": "#/components/responses/ForbiddenResponse"
230
+ },
231
+ "404": {
232
+ "$ref": "#/components/responses/NotFoundResponse"
233
+ },
234
+ "500": {
235
+ "$ref": "#/components/responses/ServerErrorResponse"
236
+ }
237
+ }
238
+ }
239
+ }
240
+ },
241
+ "components": {
242
+ "securitySchemes": {
243
+ "EpilotAuth": {
244
+ "type": "http",
245
+ "scheme": "bearer",
246
+ "bearerFormat": "JWT",
247
+ "description": "Epilot Bearer token"
248
+ },
249
+ "EpilotOrg": {
250
+ "type": "apiKey",
251
+ "in": "header",
252
+ "name": "x-epilot-org-id",
253
+ "description": "Epilot Organization ID"
254
+ }
255
+ },
256
+ "parameters": {
257
+ "PurposeIdPathParam": {
258
+ "name": "purposeId",
259
+ "in": "path",
260
+ "required": true,
261
+ "description": "Purpose ID (UUID)",
262
+ "schema": {
263
+ "type": "string"
264
+ },
265
+ "example": "1fdc8f66-0e2b-4e20-a347-9cbdbf6a7217"
266
+ },
267
+ "QueryParam": {
268
+ "name": "query",
269
+ "in": "query",
270
+ "required": false,
271
+ "description": "Search query string",
272
+ "schema": {
273
+ "type": "string"
274
+ },
275
+ "example": "electricity"
276
+ },
277
+ "SizeParam": {
278
+ "name": "size",
279
+ "in": "query",
280
+ "required": false,
281
+ "description": "Maximum number of results to return",
282
+ "schema": {
283
+ "type": "integer",
284
+ "minimum": 1,
285
+ "maximum": 100,
286
+ "default": 50
287
+ }
288
+ }
289
+ },
290
+ "schemas": {
291
+ "Purpose": {
292
+ "type": "object",
293
+ "description": "A purpose used to tag and organize entities",
294
+ "required": [
295
+ "id",
296
+ "name"
297
+ ],
298
+ "properties": {
299
+ "id": {
300
+ "type": "string",
301
+ "format": "uuid",
302
+ "description": "Unique identifier",
303
+ "example": "123e4567-e89b-12d3-a456-426614174000"
304
+ },
305
+ "name": {
306
+ "type": "string",
307
+ "description": "Human-readable name",
308
+ "example": "Electricity Contract"
309
+ },
310
+ "created_at": {
311
+ "type": "string",
312
+ "format": "date-time",
313
+ "description": "ISO timestamp of creation"
314
+ },
315
+ "updated_at": {
316
+ "type": "string",
317
+ "format": "date-time",
318
+ "description": "ISO timestamp of last update"
319
+ }
320
+ }
321
+ },
322
+ "CreatePurposeInput": {
323
+ "type": "object",
324
+ "description": "Input for creating a new purpose",
325
+ "required": [
326
+ "name"
327
+ ],
328
+ "properties": {
329
+ "name": {
330
+ "type": "string",
331
+ "description": "Human-readable name",
332
+ "example": "Electricity Contract"
333
+ }
334
+ }
335
+ },
336
+ "UpdatePurposeInput": {
337
+ "type": "object",
338
+ "description": "Input for updating an existing purpose",
339
+ "properties": {
340
+ "name": {
341
+ "type": "string",
342
+ "description": "Human-readable name"
343
+ }
344
+ }
345
+ },
346
+ "BatchGetPurposesInput": {
347
+ "type": "object",
348
+ "description": "Input for batch getting purposes",
349
+ "required": [
350
+ "purposeIds"
351
+ ],
352
+ "properties": {
353
+ "purposeIds": {
354
+ "type": "array",
355
+ "items": {
356
+ "type": "string"
357
+ },
358
+ "description": "List of purpose IDs to fetch",
359
+ "example": [
360
+ "123e4567-e89b-12d3-a456-426614174000"
361
+ ]
362
+ }
363
+ }
364
+ },
365
+ "Error": {
366
+ "type": "object",
367
+ "properties": {
368
+ "status": {
369
+ "type": "integer",
370
+ "description": "HTTP status code"
371
+ },
372
+ "error": {
373
+ "type": "string",
374
+ "description": "Error message"
375
+ }
376
+ }
377
+ }
378
+ },
379
+ "requestBodies": {
380
+ "CreatePurposeRequest": {
381
+ "required": true,
382
+ "content": {
383
+ "application/json": {
384
+ "schema": {
385
+ "$ref": "#/components/schemas/CreatePurposeInput"
386
+ }
387
+ }
388
+ }
389
+ },
390
+ "UpdatePurposeRequest": {
391
+ "required": true,
392
+ "content": {
393
+ "application/json": {
394
+ "schema": {
395
+ "$ref": "#/components/schemas/UpdatePurposeInput"
396
+ }
397
+ }
398
+ }
399
+ },
400
+ "BatchGetPurposesRequest": {
401
+ "required": true,
402
+ "content": {
403
+ "application/json": {
404
+ "schema": {
405
+ "$ref": "#/components/schemas/BatchGetPurposesInput"
406
+ }
407
+ }
408
+ }
409
+ }
410
+ },
411
+ "responses": {
412
+ "PurposeResponse": {
413
+ "description": "Single purpose response",
414
+ "content": {
415
+ "application/json": {
416
+ "schema": {
417
+ "$ref": "#/components/schemas/Purpose"
418
+ }
419
+ }
420
+ }
421
+ },
422
+ "PurposeListResponse": {
423
+ "description": "List of purposes",
424
+ "content": {
425
+ "application/json": {
426
+ "schema": {
427
+ "type": "object",
428
+ "properties": {
429
+ "results": {
430
+ "type": "array",
431
+ "items": {
432
+ "$ref": "#/components/schemas/Purpose"
433
+ }
434
+ },
435
+ "hits": {
436
+ "type": "integer",
437
+ "description": "Total number of results"
438
+ }
439
+ }
440
+ }
441
+ }
442
+ }
443
+ },
444
+ "PurposeSearchResponse": {
445
+ "description": "Search results",
446
+ "content": {
447
+ "application/json": {
448
+ "schema": {
449
+ "type": "object",
450
+ "properties": {
451
+ "results": {
452
+ "type": "array",
453
+ "items": {
454
+ "$ref": "#/components/schemas/Purpose"
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+ },
462
+ "ClientErrorResponse": {
463
+ "description": "Client error",
464
+ "content": {
465
+ "application/json": {
466
+ "schema": {
467
+ "$ref": "#/components/schemas/Error"
468
+ }
469
+ }
470
+ }
471
+ },
472
+ "UnauthorizedResponse": {
473
+ "description": "Unauthorized",
474
+ "content": {
475
+ "application/json": {
476
+ "schema": {
477
+ "$ref": "#/components/schemas/Error"
478
+ }
479
+ }
480
+ }
481
+ },
482
+ "ForbiddenResponse": {
483
+ "description": "Forbidden",
484
+ "content": {
485
+ "application/json": {
486
+ "schema": {
487
+ "$ref": "#/components/schemas/Error"
488
+ }
489
+ }
490
+ }
491
+ },
492
+ "NotFoundResponse": {
493
+ "description": "Not found",
494
+ "content": {
495
+ "application/json": {
496
+ "schema": {
497
+ "$ref": "#/components/schemas/Error"
498
+ }
499
+ }
500
+ }
501
+ },
502
+ "ConflictResponse": {
503
+ "description": "Conflict - resource already exists",
504
+ "content": {
505
+ "application/json": {
506
+ "schema": {
507
+ "$ref": "#/components/schemas/Error"
508
+ }
509
+ }
510
+ }
511
+ },
512
+ "ServerErrorResponse": {
513
+ "description": "Server error",
514
+ "content": {
515
+ "application/json": {
516
+ "schema": {
517
+ "$ref": "#/components/schemas/Error"
518
+ }
519
+ }
520
+ }
521
+ }
522
+ }
523
+ }
524
+ }
@@ -0,0 +1 @@
1
+ {"s":"https://sandbox.sls.epilot.io","o":[["listPipelines","get","/v1/sandbox/pipelines"],["createPipeline","post","/v1/sandbox/pipelines",null,1],["getPipeline","get","/v1/sandbox/pipelines/{pipeline_id}",[["pipeline_id","p",true]]],["deletePipeline","delete","/v1/sandbox/pipelines/{pipeline_id}",[["pipeline_id","p",true]]],["generatePipelineToken","get","/v1/sandbox/pipelines/{pipeline_id}/token",[["pipeline_id","p",true]]],["requestSandbox","post","/v1/sandbox:request",null,1],["listSandboxRequests","get","/v1/sandbox/requests"]],"v":"3.0.3"}