@epilot/sdk 2.0.0-beta.2 → 2.0.0-beta.4

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 (196) hide show
  1. package/README.md +1 -0
  2. package/definitions/access-token-runtime.json +1 -0
  3. package/definitions/access-token.json +663 -0
  4. package/definitions/address-runtime.json +1 -0
  5. package/definitions/address-suggestions-runtime.json +1 -0
  6. package/definitions/address-suggestions.json +582 -0
  7. package/definitions/address.json +578 -0
  8. package/definitions/ai-agents-runtime.json +1 -0
  9. package/definitions/ai-agents.json +1711 -0
  10. package/definitions/app-runtime.json +1 -0
  11. package/definitions/app.json +4443 -0
  12. package/definitions/audit-logs-runtime.json +1 -0
  13. package/definitions/audit-logs.json +305 -0
  14. package/definitions/automation-runtime.json +1 -0
  15. package/definitions/automation.json +4850 -0
  16. package/definitions/billing-runtime.json +1 -0
  17. package/definitions/billing.json +837 -0
  18. package/definitions/blueprint-manifest-runtime.json +1 -0
  19. package/definitions/blueprint-manifest.json +3376 -0
  20. package/definitions/consent-runtime.json +1 -0
  21. package/definitions/consent.json +344 -0
  22. package/definitions/customer-portal-runtime.json +1 -0
  23. package/definitions/customer-portal.json +15000 -0
  24. package/definitions/dashboard-runtime.json +1 -0
  25. package/definitions/dashboard.json +484 -0
  26. package/definitions/data-management-runtime.json +1 -0
  27. package/definitions/data-management.json +962 -0
  28. package/definitions/deduplication-runtime.json +1 -0
  29. package/definitions/deduplication.json +183 -0
  30. package/definitions/design-runtime.json +1 -0
  31. package/definitions/design.json +1423 -0
  32. package/definitions/document-runtime.json +1 -0
  33. package/definitions/document.json +758 -0
  34. package/definitions/email-settings-runtime.json +1 -0
  35. package/definitions/email-settings.json +2627 -0
  36. package/definitions/email-template-runtime.json +1 -0
  37. package/definitions/email-template.json +1419 -0
  38. package/definitions/entity-mapping-runtime.json +1 -0
  39. package/definitions/entity-mapping.json +1642 -0
  40. package/definitions/entity-runtime.json +1 -0
  41. package/definitions/entity.json +10074 -0
  42. package/definitions/environments-runtime.json +1 -0
  43. package/definitions/environments.json +363 -0
  44. package/definitions/erp-integration-runtime.json +1 -0
  45. package/definitions/erp-integration.json +5845 -0
  46. package/definitions/event-catalog-runtime.json +1 -0
  47. package/definitions/event-catalog.json +1051 -0
  48. package/definitions/file-runtime.json +1 -0
  49. package/definitions/file.json +2842 -0
  50. package/definitions/iban-runtime.json +1 -0
  51. package/definitions/iban.json +132 -0
  52. package/definitions/journey-runtime.json +1 -0
  53. package/definitions/journey.json +2341 -0
  54. package/definitions/kanban-runtime.json +1 -0
  55. package/definitions/kanban.json +929 -0
  56. package/definitions/message-runtime.json +1 -0
  57. package/definitions/message.json +2660 -0
  58. package/definitions/metering-runtime.json +1 -0
  59. package/definitions/metering.json +2321 -0
  60. package/definitions/notes-runtime.json +1 -0
  61. package/definitions/notes.json +1531 -0
  62. package/definitions/notification-runtime.json +1 -0
  63. package/definitions/notification.json +1425 -0
  64. package/definitions/organization-runtime.json +1 -0
  65. package/definitions/organization.json +629 -0
  66. package/definitions/partner-directory-runtime.json +1 -0
  67. package/definitions/partner-directory.json +1718 -0
  68. package/definitions/permissions-runtime.json +1 -0
  69. package/definitions/permissions.json +1480 -0
  70. package/definitions/pricing-runtime.json +1 -0
  71. package/definitions/pricing-tier-runtime.json +1 -0
  72. package/definitions/pricing-tier.json +105 -0
  73. package/definitions/pricing.json +9884 -0
  74. package/definitions/purpose-runtime.json +1 -0
  75. package/definitions/purpose.json +524 -0
  76. package/definitions/sandbox-runtime.json +1 -0
  77. package/definitions/sandbox.json +453 -0
  78. package/definitions/submission-runtime.json +1 -0
  79. package/definitions/submission.json +313 -0
  80. package/definitions/targeting-runtime.json +1 -0
  81. package/definitions/targeting.json +1474 -0
  82. package/definitions/template-variables-runtime.json +1 -0
  83. package/definitions/template-variables.json +1408 -0
  84. package/definitions/user-runtime.json +1 -0
  85. package/definitions/user.json +2408 -0
  86. package/definitions/validation-rules-runtime.json +1 -0
  87. package/definitions/validation-rules.json +1491 -0
  88. package/definitions/webhooks-runtime.json +1 -0
  89. package/definitions/webhooks.json +1525 -0
  90. package/definitions/workflow-definition-runtime.json +1 -0
  91. package/definitions/workflow-definition.json +3417 -0
  92. package/definitions/workflow-runtime.json +1 -0
  93. package/definitions/workflow.json +4106 -0
  94. package/dist/apis/access-token.cjs +13 -84
  95. package/dist/apis/access-token.js +11 -82
  96. package/dist/apis/address-suggestions.cjs +13 -127
  97. package/dist/apis/address-suggestions.js +11 -125
  98. package/dist/apis/address.cjs +13 -79
  99. package/dist/apis/address.js +11 -77
  100. package/dist/apis/ai-agents.cjs +13 -210
  101. package/dist/apis/ai-agents.js +11 -208
  102. package/dist/apis/app.cjs +13 -568
  103. package/dist/apis/app.js +11 -566
  104. package/dist/apis/audit-logs.cjs +13 -50
  105. package/dist/apis/audit-logs.js +11 -48
  106. package/dist/apis/automation.cjs +13 -277
  107. package/dist/apis/automation.js +11 -275
  108. package/dist/apis/billing.cjs +13 -170
  109. package/dist/apis/billing.js +11 -168
  110. package/dist/apis/blueprint-manifest.cjs +13 -499
  111. package/dist/apis/blueprint-manifest.js +11 -497
  112. package/dist/apis/consent.cjs +13 -79
  113. package/dist/apis/consent.js +11 -77
  114. package/dist/apis/customer-portal.cjs +13 -2247
  115. package/dist/apis/customer-portal.js +11 -2245
  116. package/dist/apis/dashboard.cjs +41 -0
  117. package/dist/apis/dashboard.d.cts +18 -0
  118. package/dist/apis/dashboard.d.ts +18 -0
  119. package/dist/apis/dashboard.js +41 -0
  120. package/dist/apis/data-management.cjs +13 -235
  121. package/dist/apis/data-management.js +11 -233
  122. package/dist/apis/deduplication.cjs +13 -37
  123. package/dist/apis/deduplication.js +11 -35
  124. package/dist/apis/design.cjs +13 -214
  125. package/dist/apis/design.js +11 -212
  126. package/dist/apis/document.cjs +13 -73
  127. package/dist/apis/document.js +11 -71
  128. package/dist/apis/email-settings.cjs +13 -528
  129. package/dist/apis/email-settings.js +11 -526
  130. package/dist/apis/email-template.cjs +13 -117
  131. package/dist/apis/email-template.js +11 -115
  132. package/dist/apis/entity-mapping.cjs +13 -210
  133. package/dist/apis/entity-mapping.js +11 -208
  134. package/dist/apis/entity.cjs +13 -1595
  135. package/dist/apis/entity.js +11 -1593
  136. package/dist/apis/environments.cjs +13 -66
  137. package/dist/apis/environments.js +11 -64
  138. package/dist/apis/erp-integration.cjs +13 -581
  139. package/dist/apis/erp-integration.js +11 -579
  140. package/dist/apis/event-catalog.cjs +13 -125
  141. package/dist/apis/event-catalog.js +11 -123
  142. package/dist/apis/file.cjs +13 -568
  143. package/dist/apis/file.js +11 -566
  144. package/dist/apis/iban.cjs +13 -38
  145. package/dist/apis/iban.js +11 -36
  146. package/dist/apis/journey.cjs +13 -265
  147. package/dist/apis/journey.js +11 -263
  148. package/dist/apis/kanban.cjs +13 -159
  149. package/dist/apis/kanban.js +11 -157
  150. package/dist/apis/message.cjs +13 -668
  151. package/dist/apis/message.js +11 -666
  152. package/dist/apis/metering.cjs +13 -394
  153. package/dist/apis/metering.js +11 -392
  154. package/dist/apis/notes.cjs +13 -214
  155. package/dist/apis/notes.js +11 -212
  156. package/dist/apis/notification.cjs +13 -232
  157. package/dist/apis/notification.js +11 -230
  158. package/dist/apis/organization.cjs +13 -113
  159. package/dist/apis/organization.js +11 -111
  160. package/dist/apis/partner-directory.cjs +13 -277
  161. package/dist/apis/partner-directory.js +11 -275
  162. package/dist/apis/permissions.cjs +13 -173
  163. package/dist/apis/permissions.js +11 -171
  164. package/dist/apis/pricing-tier.cjs +14 -32
  165. package/dist/apis/pricing-tier.js +11 -29
  166. package/dist/apis/pricing.cjs +13 -434
  167. package/dist/apis/pricing.js +11 -432
  168. package/dist/apis/purpose.cjs +13 -175
  169. package/dist/apis/purpose.js +11 -173
  170. package/dist/apis/sandbox.cjs +13 -95
  171. package/dist/apis/sandbox.js +11 -93
  172. package/dist/apis/submission.cjs +13 -50
  173. package/dist/apis/submission.js +11 -48
  174. package/dist/apis/targeting.cjs +13 -270
  175. package/dist/apis/targeting.js +11 -268
  176. package/dist/apis/template-variables.cjs +13 -154
  177. package/dist/apis/template-variables.js +11 -152
  178. package/dist/apis/user.cjs +13 -483
  179. package/dist/apis/user.js +11 -481
  180. package/dist/apis/validation-rules.cjs +13 -115
  181. package/dist/apis/validation-rules.js +11 -113
  182. package/dist/apis/webhooks.cjs +13 -247
  183. package/dist/apis/webhooks.js +11 -245
  184. package/dist/apis/workflow-definition.cjs +13 -337
  185. package/dist/apis/workflow-definition.js +11 -335
  186. package/dist/apis/workflow.cjs +13 -397
  187. package/dist/apis/workflow.js +11 -395
  188. package/dist/{chunk-D7ICL3AM.cjs → chunk-5LXNSDG2.cjs} +51 -2
  189. package/dist/{chunk-DGCGLG7G.js → chunk-QMQNMCOC.js} +49 -0
  190. package/dist/dashboard.d-AE3RQ6zo.d.cts +440 -0
  191. package/dist/dashboard.d-AE3RQ6zo.d.ts +440 -0
  192. package/dist/index.cjs +60 -53
  193. package/dist/index.d.cts +70 -68
  194. package/dist/index.d.ts +70 -68
  195. package/dist/index.js +57 -50
  196. package/package.json +55 -3
@@ -2,1609 +2,27 @@ import {
2
2
  __commonJS,
3
3
  authorize,
4
4
  createApiClient,
5
- createApiHandle
6
- } from "../chunk-DGCGLG7G.js";
5
+ createApiHandle,
6
+ expand
7
+ } from "../chunk-QMQNMCOC.js";
7
8
 
8
- // src/definitions/entity.json
9
- var require_entity = __commonJS({
10
- "src/definitions/entity.json"(exports, module) {
11
- module.exports = {
12
- openapi: "3.0.2",
13
- info: {
14
- title: "",
15
- version: ""
16
- },
17
- paths: {
18
- "/v1/entity/schemas": {
19
- get: {
20
- operationId: "listSchemas",
21
- parameters: [
22
- {
23
- in: "query",
24
- name: "unpublished"
25
- },
26
- {
27
- in: "query",
28
- name: "exclude",
29
- style: "form",
30
- explode: false
31
- }
32
- ],
33
- responses: {}
34
- }
35
- },
36
- "/v1/entity/schemas/{slug}": {
37
- get: {
38
- operationId: "getSchema",
39
- parameters: [
40
- {
41
- $ref: "#/components/parameters/EntitySlugPathParam"
42
- },
43
- {
44
- in: "query",
45
- name: "id"
46
- }
47
- ],
48
- responses: {}
49
- },
50
- put: {
51
- operationId: "putSchema",
52
- parameters: [
53
- {
54
- $ref: "#/components/parameters/EntitySlugPathParam"
55
- },
56
- {
57
- in: "query",
58
- name: "draft"
59
- }
60
- ],
61
- requestBody: {
62
- content: {
63
- "application/json": {}
64
- }
65
- },
66
- responses: {}
67
- },
68
- delete: {
69
- operationId: "deleteSchema",
70
- parameters: [
71
- {
72
- $ref: "#/components/parameters/EntitySlugPathParam"
73
- }
74
- ],
75
- responses: {}
76
- }
77
- },
78
- "/v1/entity/schemas/{slug}/json/schema": {
79
- get: {
80
- operationId: "getJsonSchema",
81
- parameters: [
82
- {
83
- $ref: "#/components/parameters/EntitySlugPathParam"
84
- },
85
- {
86
- in: "query",
87
- name: "dereference"
88
- }
89
- ],
90
- responses: {}
91
- }
92
- },
93
- "/v1/entity/schemas/{slug}/json/example": {
94
- get: {
95
- operationId: "getSchemaExample",
96
- parameters: [
97
- {
98
- $ref: "#/components/parameters/EntitySlugPathParam"
99
- }
100
- ],
101
- responses: {}
102
- }
103
- },
104
- "/v1/entity/schemas/{slug}/versions": {
105
- get: {
106
- operationId: "getSchemaVersions",
107
- parameters: [
108
- {
109
- $ref: "#/components/parameters/EntitySlugPathParam"
110
- },
111
- {
112
- in: "query",
113
- name: "versions_from"
114
- },
115
- {
116
- in: "query",
117
- name: "versions_size"
118
- },
119
- {
120
- in: "query",
121
- name: "drafts_from"
122
- },
123
- {
124
- in: "query",
125
- name: "drafts_size"
126
- },
127
- {
128
- in: "query",
129
- name: "fields",
130
- required: false,
131
- style: "form",
132
- explode: false
133
- }
134
- ],
135
- responses: {}
136
- }
137
- },
138
- "/v1/entity/schemas/{slug}/capabilities/available": {
139
- get: {
140
- operationId: "listAvailableCapabilities",
141
- parameters: [
142
- {
143
- $ref: "#/components/parameters/EntitySlugPathParam"
144
- }
145
- ],
146
- responses: {}
147
- }
148
- },
149
- "/v1/entity/schemas/blueprints": {
150
- get: {
151
- operationId: "listSchemaBlueprints",
152
- responses: {}
153
- }
154
- },
155
- "/v1/entity:search": {
156
- post: {
157
- operationId: "searchEntities",
158
- requestBody: {
159
- content: {
160
- "application/json": {}
161
- }
162
- },
163
- responses: {}
164
- }
165
- },
166
- "/v1/entity:list": {
167
- post: {
168
- operationId: "listEntities",
169
- requestBody: {
170
- content: {
171
- "application/json": {}
172
- }
173
- },
174
- responses: {}
175
- }
176
- },
177
- "/v1/entity:graph": {
178
- post: {
179
- operationId: "queryEntityGraph",
180
- requestBody: {
181
- required: true,
182
- content: {
183
- "application/json": {}
184
- }
185
- },
186
- responses: {}
187
- }
188
- },
189
- "/v1/entity/{slug}": {
190
- post: {
191
- operationId: "createEntity",
192
- parameters: [
193
- {
194
- $ref: "#/components/parameters/EntitySlugPathParam"
195
- },
196
- {
197
- $ref: "#/components/parameters/ActivityIdQueryParam"
198
- },
199
- {
200
- $ref: "#/components/parameters/FillActivityQueryParam"
201
- },
202
- {
203
- $ref: "#/components/parameters/AsyncOperationQueryParam"
204
- },
205
- {
206
- $ref: "#/components/parameters/ValidateEntityQueryParam"
207
- }
208
- ],
209
- requestBody: {
210
- content: {
211
- "application/json": {}
212
- }
213
- },
214
- responses: {}
215
- }
216
- },
217
- "/v1/entity/{slug}:validate": {
218
- post: {
219
- operationId: "validateEntity",
220
- parameters: [
221
- {
222
- $ref: "#/components/parameters/EntitySlugPathPriceParam"
223
- }
224
- ],
225
- requestBody: {
226
- content: {
227
- "application/json": {}
228
- }
229
- },
230
- responses: {}
231
- }
232
- },
233
- "/v2/entity/{slug}:validate": {
234
- post: {
235
- operationId: "validateEntityV2",
236
- parameters: [
237
- {
238
- $ref: "#/components/parameters/EntitySlugPathPriceParam"
239
- }
240
- ],
241
- requestBody: {
242
- content: {
243
- "application/json": {}
244
- }
245
- },
246
- responses: {}
247
- }
248
- },
249
- "/v1/entity/{slug}:upsert": {
250
- patch: {
251
- operationId: "upsertEntity",
252
- parameters: [
253
- {
254
- $ref: "#/components/parameters/EntitySlugPathParam"
255
- },
256
- {
257
- $ref: "#/components/parameters/ActivityIdQueryParam"
258
- },
259
- {
260
- $ref: "#/components/parameters/FillActivityQueryParam"
261
- },
262
- {
263
- $ref: "#/components/parameters/DryRunQueryParam"
264
- },
265
- {
266
- $ref: "#/components/parameters/AsyncOperationQueryParam"
267
- },
268
- {
269
- $ref: "#/components/parameters/ValidateEntityQueryParam"
270
- },
271
- {
272
- name: "strict",
273
- in: "query",
274
- required: false
275
- }
276
- ],
277
- requestBody: {
278
- content: {
279
- "application/json": {}
280
- }
281
- },
282
- responses: {}
283
- }
284
- },
285
- "/v2/entity/{slug}/{id}": {
286
- get: {
287
- operationId: "getEntityV2",
288
- parameters: [
289
- {
290
- $ref: "#/components/parameters/EntityIdPathParam"
291
- },
292
- {
293
- $ref: "#/components/parameters/EntitySlugPathParam"
294
- },
295
- {
296
- $ref: "#/components/parameters/HydrateEntitiesQueryParam"
297
- },
298
- {
299
- in: "query",
300
- name: "fields",
301
- style: "form",
302
- explode: false
303
- }
304
- ],
305
- responses: {}
306
- }
307
- },
308
- "/v1/entity/{slug}/{id}:restore": {
309
- patch: {
310
- operationId: "restoreEntity",
311
- parameters: [
312
- {
313
- $ref: "#/components/parameters/EntityIdPathParam"
314
- },
315
- {
316
- $ref: "#/components/parameters/EntitySlugPathParam"
317
- },
318
- {
319
- $ref: "#/components/parameters/ActivityIdQueryParam"
320
- }
321
- ],
322
- requestBody: {
323
- content: {
324
- "application/json": {}
325
- }
326
- },
327
- responses: {}
328
- }
329
- },
330
- "/v1/entity/{slug}/{id}:reindex": {
331
- post: {
332
- operationId: "reindexEntity",
333
- parameters: [
334
- {
335
- $ref: "#/components/parameters/EntityIdPathParam"
336
- },
337
- {
338
- $ref: "#/components/parameters/EntitySlugPathParam"
339
- }
340
- ],
341
- requestBody: {
342
- content: {
343
- "application/json": {}
344
- }
345
- },
346
- responses: {}
347
- }
348
- },
349
- "/v1/entity/{slug}/{id}": {
350
- get: {
351
- operationId: "getEntity",
352
- parameters: [
353
- {
354
- $ref: "#/components/parameters/EntityIdPathParam"
355
- },
356
- {
357
- $ref: "#/components/parameters/EntitySlugPathParam"
358
- },
359
- {
360
- $ref: "#/components/parameters/HydrateEntitiesQueryParam"
361
- }
362
- ],
363
- responses: {}
364
- },
365
- put: {
366
- operationId: "updateEntity",
367
- parameters: [
368
- {
369
- $ref: "#/components/parameters/EntitySlugPathParam"
370
- },
371
- {
372
- $ref: "#/components/parameters/EntityIdPathParam"
373
- },
374
- {
375
- $ref: "#/components/parameters/ActivityIdQueryParam"
376
- },
377
- {
378
- $ref: "#/components/parameters/FillActivityQueryParam"
379
- },
380
- {
381
- $ref: "#/components/parameters/AsyncOperationQueryParam"
382
- },
383
- {
384
- $ref: "#/components/parameters/ValidateEntityQueryParam"
385
- }
386
- ],
387
- requestBody: {
388
- content: {
389
- "application/json": {}
390
- }
391
- },
392
- responses: {}
393
- },
394
- patch: {
395
- operationId: "patchEntity",
396
- parameters: [
397
- {
398
- $ref: "#/components/parameters/EntitySlugPathParam"
399
- },
400
- {
401
- $ref: "#/components/parameters/EntityIdPathParam"
402
- },
403
- {
404
- $ref: "#/components/parameters/ActivityIdQueryParam"
405
- },
406
- {
407
- $ref: "#/components/parameters/FillActivityQueryParam"
408
- },
409
- {
410
- $ref: "#/components/parameters/DryRunQueryParam"
411
- },
412
- {
413
- $ref: "#/components/parameters/AsyncOperationQueryParam"
414
- },
415
- {
416
- $ref: "#/components/parameters/ValidateEntityQueryParam"
417
- }
418
- ],
419
- requestBody: {
420
- content: {
421
- "application/json": {}
422
- },
423
- required: true
424
- },
425
- responses: {}
426
- },
427
- delete: {
428
- operationId: "deleteEntity",
429
- parameters: [
430
- {
431
- $ref: "#/components/parameters/EntitySlugPathParam"
432
- },
433
- {
434
- $ref: "#/components/parameters/EntityIdPathParam"
435
- },
436
- {
437
- $ref: "#/components/parameters/ActivityIdQueryParam"
438
- },
439
- {
440
- in: "query",
441
- name: "purge"
442
- }
443
- ],
444
- responses: {}
445
- }
446
- },
447
- "/v1/entity:autocomplete": {
448
- get: {
449
- operationId: "autocomplete",
450
- parameters: [
451
- {
452
- name: "input",
453
- in: "query"
454
- },
455
- {
456
- name: "attribute",
457
- in: "query",
458
- required: true
459
- },
460
- {
461
- name: "slug",
462
- in: "query"
463
- },
464
- {
465
- name: "size",
466
- in: "query"
467
- }
468
- ],
469
- responses: {}
470
- }
471
- },
472
- "/v1/entity:wipeAllEntities": {
473
- post: {
474
- operationId: "wipeAllEntities",
475
- requestBody: {
476
- content: {
477
- "application/json": {}
478
- }
479
- },
480
- responses: {}
481
- }
482
- },
483
- "/v1/entity/activity": {
484
- post: {
485
- operationId: "createActivity",
486
- parameters: [
487
- {
488
- in: "query",
489
- name: "entities",
490
- style: "form",
491
- explode: false
492
- }
493
- ],
494
- requestBody: {
495
- content: {
496
- "application/json": {}
497
- }
498
- },
499
- responses: {}
500
- }
501
- },
502
- "/v1/entity/activity/{id}": {
503
- get: {
504
- operationId: "getActivity",
505
- parameters: [
506
- {
507
- $ref: "#/components/parameters/ActivityIdPathParam"
508
- },
509
- {
510
- in: "query",
511
- name: "operations_size"
512
- },
513
- {
514
- in: "query",
515
- name: "operations_from"
516
- }
517
- ],
518
- responses: {}
519
- }
520
- },
521
- "/v1/entity/activity/{id}:attach": {
522
- post: {
523
- operationId: "attachActivity",
524
- parameters: [
525
- {
526
- $ref: "#/components/parameters/ActivityIdPathParam"
527
- },
528
- {
529
- in: "query",
530
- name: "entities",
531
- style: "form",
532
- explode: false
533
- }
534
- ],
535
- responses: {}
536
- }
537
- },
538
- "/v1/entity/{slug}/{id}/activity": {
539
- get: {
540
- operationId: "getEntityActivityFeed",
541
- parameters: [
542
- {
543
- $ref: "#/components/parameters/EntitySlugPathParam"
544
- },
545
- {
546
- $ref: "#/components/parameters/EntityIdPathParam"
547
- },
548
- {
549
- in: "query",
550
- name: "after"
551
- },
552
- {
553
- in: "query",
554
- name: "before"
555
- },
556
- {
557
- in: "query",
558
- name: "start_date"
559
- },
560
- {
561
- in: "query",
562
- name: "end_date"
563
- },
564
- {
565
- in: "query",
566
- name: "preset_range"
567
- },
568
- {
569
- $ref: "#/components/parameters/FromPageQueryParam"
570
- },
571
- {
572
- in: "query",
573
- name: "size"
574
- },
575
- {
576
- in: "query",
577
- name: "type",
578
- style: "form",
579
- explode: false
580
- },
581
- {
582
- in: "query",
583
- name: "include_relations"
584
- },
585
- {
586
- in: "query",
587
- name: "exclude_activity_groups"
588
- }
589
- ],
590
- responses: {}
591
- }
592
- },
593
- "/v1/entity/{slug}/{id}/relations": {
594
- get: {
595
- operationId: "getRelations",
596
- parameters: [
597
- {
598
- $ref: "#/components/parameters/EntitySlugPathParam"
599
- },
600
- {
601
- $ref: "#/components/parameters/EntityIdPathParam"
602
- },
603
- {
604
- $ref: "#/components/parameters/HydrateEntitiesQueryParam"
605
- },
606
- {
607
- $ref: "#/components/parameters/IncludeReverseQueryParam"
608
- },
609
- {
610
- $ref: "#/components/parameters/FromPageQueryParam"
611
- },
612
- {
613
- in: "query",
614
- name: "size",
615
- required: false
616
- },
617
- {
618
- $ref: "#/components/parameters/IncludeSchemasQueryParam"
619
- },
620
- {
621
- $ref: "#/components/parameters/ExcludeSchemasQueryParam"
622
- }
623
- ],
624
- responses: {}
625
- },
626
- post: {
627
- operationId: "addRelations",
628
- parameters: [
629
- {
630
- $ref: "#/components/parameters/EntitySlugPathParam"
631
- },
632
- {
633
- $ref: "#/components/parameters/EntityIdPathParam"
634
- },
635
- {
636
- $ref: "#/components/parameters/AsyncOperationQueryParam"
637
- },
638
- {
639
- $ref: "#/components/parameters/ActivityIdQueryParam"
640
- }
641
- ],
642
- requestBody: {
643
- content: {
644
- "application/json": {}
645
- }
646
- },
647
- responses: {}
648
- },
649
- delete: {
650
- operationId: "removeRelations",
651
- parameters: [
652
- {
653
- $ref: "#/components/parameters/EntitySlugPathParam"
654
- },
655
- {
656
- $ref: "#/components/parameters/EntityIdPathParam"
657
- },
658
- {
659
- $ref: "#/components/parameters/AsyncOperationQueryParam"
660
- },
661
- {
662
- $ref: "#/components/parameters/ActivityIdQueryParam"
663
- }
664
- ],
665
- requestBody: {
666
- content: {
667
- "application/json": {}
668
- }
669
- },
670
- responses: {}
671
- }
672
- },
673
- "/v2/entity/{slug}/{id}/relations": {
674
- get: {
675
- operationId: "getRelationsV2",
676
- parameters: [
677
- {
678
- $ref: "#/components/parameters/EntitySlugPathParam"
679
- },
680
- {
681
- $ref: "#/components/parameters/EntityIdPathParam"
682
- },
683
- {
684
- $ref: "#/components/parameters/HydrateEntitiesQueryParam"
685
- },
686
- {
687
- in: "query",
688
- name: "query"
689
- },
690
- {
691
- $ref: "#/components/parameters/IncludeReverseQueryParam"
692
- },
693
- {
694
- $ref: "#/components/parameters/FromPageQueryParam"
695
- },
696
- {
697
- in: "query",
698
- name: "size"
699
- },
700
- {
701
- in: "query",
702
- name: "fields"
703
- }
704
- ],
705
- responses: {}
706
- }
707
- },
708
- "/v3/entity/{slug}/{id}/relations": {
709
- get: {
710
- operationId: "getRelationsV3",
711
- parameters: [
712
- {
713
- $ref: "#/components/parameters/EntitySlugPathParam"
714
- },
715
- {
716
- $ref: "#/components/parameters/EntityIdPathParam"
717
- },
718
- {
719
- $ref: "#/components/parameters/HydrateEntitiesQueryParam"
720
- },
721
- {
722
- $ref: "#/components/parameters/IncludeReverseDeprecatedQueryParam"
723
- },
724
- {
725
- $ref: "#/components/parameters/FromPageQueryParam"
726
- },
727
- {
728
- in: "query",
729
- name: "size",
730
- required: false
731
- },
732
- {
733
- $ref: "#/components/parameters/IncludeSchemasQueryParam"
734
- },
735
- {
736
- $ref: "#/components/parameters/ExcludeSchemasQueryParam"
737
- },
738
- {
739
- $ref: "#/components/parameters/EntityRelationsModeQueryParam"
740
- },
741
- {
742
- in: "query",
743
- name: "fields"
744
- },
745
- {
746
- in: "query",
747
- name: "include_deleted",
748
- required: false
749
- }
750
- ],
751
- responses: {}
752
- }
753
- },
754
- "/v2/entity/{slug}/{id}/relations/count": {
755
- get: {
756
- operationId: "getRelatedEntitiesCount",
757
- parameters: [
758
- {
759
- $ref: "#/components/parameters/EntitySlugPathParam"
760
- },
761
- {
762
- $ref: "#/components/parameters/EntityIdPathParam"
763
- },
764
- {
765
- $ref: "#/components/parameters/ExcludeSchemasQueryParam"
766
- }
767
- ],
768
- responses: {}
769
- }
770
- },
771
- "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}": {
772
- put: {
773
- operationId: "updateRelation",
774
- parameters: [
775
- {
776
- $ref: "#/components/parameters/EntitySlugPathParam"
777
- },
778
- {
779
- $ref: "#/components/parameters/EntityIdPathParam"
780
- },
781
- {
782
- in: "path",
783
- name: "attribute",
784
- required: true
785
- },
786
- {
787
- in: "path",
788
- name: "entity_id",
789
- required: true
790
- },
791
- {
792
- $ref: "#/components/parameters/AsyncOperationQueryParam"
793
- },
794
- {
795
- $ref: "#/components/parameters/ActivityIdQueryParam"
796
- }
797
- ],
798
- requestBody: {
799
- content: {
800
- "application/json": {}
801
- }
802
- },
803
- responses: {}
804
- },
805
- delete: {
806
- operationId: "deleteRelation",
807
- parameters: [
808
- {
809
- $ref: "#/components/parameters/EntitySlugPathParam"
810
- },
811
- {
812
- $ref: "#/components/parameters/EntityIdPathParam"
813
- },
814
- {
815
- in: "path",
816
- name: "attribute",
817
- required: true
818
- },
819
- {
820
- in: "path",
821
- name: "entity_id",
822
- required: true
823
- },
824
- {
825
- $ref: "#/components/parameters/AsyncOperationQueryParam"
826
- },
827
- {
828
- $ref: "#/components/parameters/ActivityIdQueryParam"
829
- }
830
- ],
831
- responses: {}
832
- }
833
- },
834
- "/v1/entity:export": {
835
- post: {
836
- operationId: "exportEntities",
837
- parameters: [
838
- {
839
- in: "query",
840
- name: "job_id"
841
- },
842
- {
843
- in: "query",
844
- name: "is_template"
845
- },
846
- {
847
- in: "query",
848
- name: "language"
849
- }
850
- ],
851
- requestBody: {
852
- content: {
853
- "application/json": {}
854
- }
855
- },
856
- responses: {}
857
- }
858
- },
859
- "/v1/entity:import": {
860
- post: {
861
- operationId: "importEntities",
862
- parameters: [
863
- {
864
- in: "query",
865
- name: "job_id"
866
- }
867
- ],
868
- requestBody: {
869
- content: {
870
- "application/json": {}
871
- }
872
- },
873
- responses: {}
874
- }
875
- },
876
- "/v1/entity/views": {
877
- get: {
878
- operationId: "listSavedViews",
879
- parameters: [
880
- {
881
- in: "query",
882
- name: "slug",
883
- required: false
884
- },
885
- {
886
- in: "query",
887
- name: "sort",
888
- required: false
889
- },
890
- {
891
- in: "query",
892
- name: "from",
893
- required: false
894
- },
895
- {
896
- in: "query",
897
- name: "size",
898
- required: false
899
- },
900
- {
901
- in: "query",
902
- name: "fields",
903
- required: false
904
- }
905
- ],
906
- responses: {}
907
- }
908
- },
909
- "/v1/entity/view": {
910
- post: {
911
- operationId: "createSavedView",
912
- requestBody: {
913
- content: {
914
- "application/json": {}
915
- }
916
- },
917
- responses: {}
918
- }
919
- },
920
- "/v1/entity/view/{id}": {
921
- get: {
922
- operationId: "getSavedView",
923
- parameters: [
924
- {
925
- $ref: "#/components/parameters/SavedViewIdPathParam"
926
- }
927
- ],
928
- responses: {}
929
- },
930
- put: {
931
- operationId: "updateSavedView",
932
- parameters: [
933
- {
934
- $ref: "#/components/parameters/SavedViewIdPathParam"
935
- }
936
- ],
937
- requestBody: {
938
- content: {
939
- "application/json": {}
940
- }
941
- },
942
- responses: {}
943
- },
944
- patch: {
945
- operationId: "patchSavedView",
946
- parameters: [
947
- {
948
- $ref: "#/components/parameters/SavedViewIdPathParam"
949
- }
950
- ],
951
- requestBody: {
952
- content: {
953
- "application/json": {}
954
- }
955
- },
956
- responses: {}
957
- },
958
- delete: {
959
- operationId: "deleteSavedView",
960
- parameters: [
961
- {
962
- $ref: "#/components/parameters/SavedViewIdPathParam"
963
- }
964
- ],
965
- responses: {}
966
- }
967
- },
968
- "/v1/entity/views/favorites": {
969
- get: {
970
- operationId: "listFavoriteViewsForUser",
971
- responses: {}
972
- }
973
- },
974
- "/v1/entity/taxonomies": {
975
- get: {
976
- operationId: "listTaxonomies",
977
- parameters: [
978
- {
979
- in: "query",
980
- name: "include_disabled"
981
- },
982
- {
983
- in: "query",
984
- name: "type"
985
- }
986
- ],
987
- responses: {}
988
- },
989
- post: {
990
- operationId: "createTaxonomy",
991
- requestBody: {
992
- content: {
993
- "application/json": {}
994
- }
995
- },
996
- responses: {}
997
- }
998
- },
999
- "/v1/entity/taxonomies/{taxonomySlug}": {
1000
- get: {
1001
- operationId: "getTaxonomy",
1002
- parameters: [
1003
- {
1004
- $ref: "#/components/parameters/TaxonomySlugPathParam"
1005
- }
1006
- ],
1007
- responses: {}
1008
- },
1009
- put: {
1010
- operationId: "updateTaxonomy",
1011
- parameters: [
1012
- {
1013
- $ref: "#/components/parameters/TaxonomySlugPathParam"
1014
- }
1015
- ],
1016
- requestBody: {
1017
- content: {
1018
- "application/json": {}
1019
- }
1020
- },
1021
- responses: {}
1022
- },
1023
- delete: {
1024
- operationId: "deleteTaxonomy",
1025
- parameters: [
1026
- {
1027
- $ref: "#/components/parameters/TaxonomySlugPathParam"
1028
- },
1029
- {
1030
- in: "query",
1031
- name: "permanent"
1032
- }
1033
- ],
1034
- responses: {}
1035
- }
1036
- },
1037
- "/v1/entity/taxonomies/{taxonomySlug}/classifications": {
1038
- post: {
1039
- operationId: "updateClassificationsForTaxonomy",
1040
- parameters: [
1041
- {
1042
- $ref: "#/components/parameters/TaxonomySlugPathParam"
1043
- }
1044
- ],
1045
- requestBody: {
1046
- content: {
1047
- "application/json": {}
1048
- }
1049
- },
1050
- responses: {}
1051
- }
1052
- },
1053
- "/v2/entity/taxonomies/classifications": {
1054
- post: {
1055
- operationId: "createTaxonomyClassification",
1056
- requestBody: {
1057
- content: {
1058
- "application/json": {}
1059
- }
1060
- },
1061
- responses: {}
1062
- }
1063
- },
1064
- "/v2/entity/taxonomies/classifications/{classificationSlug}": {
1065
- get: {
1066
- operationId: "getTaxonomyClassification",
1067
- parameters: [
1068
- {
1069
- $ref: "#/components/parameters/TaxonomyClassificationSlugPathParam"
1070
- }
1071
- ],
1072
- responses: {}
1073
- },
1074
- put: {
1075
- operationId: "updateTaxonomyClassification",
1076
- parameters: [
1077
- {
1078
- $ref: "#/components/parameters/TaxonomyClassificationSlugPathParam"
1079
- }
1080
- ],
1081
- requestBody: {
1082
- content: {
1083
- "application/json": {}
1084
- }
1085
- },
1086
- responses: {}
1087
- },
1088
- delete: {
1089
- operationId: "deleteTaxonomyClassification",
1090
- parameters: [
1091
- {
1092
- $ref: "#/components/parameters/TaxonomyClassificationSlugPathParam"
1093
- }
1094
- ],
1095
- responses: {}
1096
- }
1097
- },
1098
- "/v1/entity/taxonomies/{taxonomySlug}:autocomplete": {
1099
- get: {
1100
- operationId: "taxonomyAutocomplete",
1101
- parameters: [
1102
- {
1103
- $ref: "#/components/parameters/TaxonomySlugPathParam"
1104
- },
1105
- {
1106
- in: "query",
1107
- name: "query"
1108
- },
1109
- {
1110
- in: "query",
1111
- name: "size"
1112
- }
1113
- ],
1114
- responses: {}
1115
- }
1116
- },
1117
- "/v1/entity/taxonomies/classifications:search": {
1118
- post: {
1119
- operationId: "taxonomiesClassificationsSearch",
1120
- parameters: [
1121
- {
1122
- in: "query",
1123
- name: "taxonomySlug"
1124
- },
1125
- {
1126
- in: "query",
1127
- name: "query"
1128
- },
1129
- {
1130
- in: "query",
1131
- name: "archived",
1132
- deprecated: true
1133
- },
1134
- {
1135
- in: "query",
1136
- name: "include_archived"
1137
- }
1138
- ],
1139
- requestBody: {
1140
- content: {
1141
- "application/json": {}
1142
- }
1143
- },
1144
- responses: {}
1145
- }
1146
- },
1147
- "/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}": {
1148
- get: {
1149
- operationId: "listTaxonomyClassificationsForSchema",
1150
- parameters: [
1151
- {
1152
- $ref: "#/components/parameters/EntitySlugPathParam"
1153
- },
1154
- {
1155
- $ref: "#/components/parameters/TaxonomySlugPathParam"
1156
- },
1157
- {
1158
- in: "query",
1159
- name: "query"
1160
- },
1161
- {
1162
- in: "query",
1163
- name: "size"
1164
- }
1165
- ],
1166
- responses: {}
1167
- }
1168
- },
1169
- "/v1/entity/taxonomies/bulk-jobs": {
1170
- get: {
1171
- operationId: "getTaxonomyBulkActionJobs",
1172
- parameters: [
1173
- {
1174
- in: "query",
1175
- name: "status"
1176
- },
1177
- {
1178
- in: "query",
1179
- name: "size"
1180
- },
1181
- {
1182
- in: "query",
1183
- name: "created_after"
1184
- },
1185
- {
1186
- in: "query",
1187
- name: "sort_pending_first"
1188
- },
1189
- {
1190
- in: "query",
1191
- name: "scope"
1192
- }
1193
- ],
1194
- responses: {}
1195
- }
1196
- },
1197
- "/v1/entity/taxonomies/bulk-jobs/{job_id}": {
1198
- get: {
1199
- operationId: "getTaxonomyBulkActionJobById",
1200
- parameters: [
1201
- {
1202
- in: "path",
1203
- name: "job_id",
1204
- required: true
1205
- }
1206
- ],
1207
- responses: {}
1208
- }
1209
- },
1210
- "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel": {
1211
- post: {
1212
- operationId: "cancelBulkAction",
1213
- parameters: [
1214
- {
1215
- name: "job_id",
1216
- in: "path",
1217
- required: true
1218
- }
1219
- ],
1220
- responses: {}
1221
- }
1222
- },
1223
- "/v1/entity/taxonomies/classifications:move": {
1224
- post: {
1225
- operationId: "bulkMoveClassifications",
1226
- requestBody: {
1227
- content: {
1228
- "application/json": {}
1229
- }
1230
- },
1231
- responses: {}
1232
- }
1233
- },
1234
- "/v1/entity/taxonomies/classifications:merge": {
1235
- post: {
1236
- operationId: "bulkMergeClassifications",
1237
- requestBody: {
1238
- content: {
1239
- "application/json": {}
1240
- }
1241
- },
1242
- responses: {}
1243
- }
1244
- },
1245
- "/v1/entity/taxonomies/classifications:delete": {
1246
- post: {
1247
- operationId: "bulkDeleteClassifications",
1248
- requestBody: {
1249
- content: {
1250
- "application/json": {}
1251
- }
1252
- },
1253
- responses: {}
1254
- }
1255
- },
1256
- "/v1/entity/schemas/attributes": {
1257
- post: {
1258
- operationId: "createSchemaAttribute",
1259
- requestBody: {
1260
- content: {
1261
- "application/json": {}
1262
- }
1263
- },
1264
- responses: {}
1265
- }
1266
- },
1267
- "/v1/entity/schemas/attributes/{composite_id}": {
1268
- get: {
1269
- operationId: "getSchemaAttribute",
1270
- parameters: [
1271
- {
1272
- name: "composite_id",
1273
- in: "path",
1274
- required: true
1275
- }
1276
- ],
1277
- responses: {}
1278
- },
1279
- put: {
1280
- operationId: "putSchemaAttribute",
1281
- parameters: [
1282
- {
1283
- name: "composite_id",
1284
- in: "path",
1285
- required: true
1286
- }
1287
- ],
1288
- requestBody: {
1289
- content: {
1290
- "application/json": {}
1291
- }
1292
- },
1293
- responses: {}
1294
- },
1295
- delete: {
1296
- operationId: "deleteSchemaAttribute",
1297
- parameters: [
1298
- {
1299
- name: "composite_id",
1300
- in: "path",
1301
- required: true
1302
- }
1303
- ],
1304
- responses: {}
1305
- }
1306
- },
1307
- "/v1/entity/schemas/capabilities": {
1308
- post: {
1309
- operationId: "createSchemaCapability",
1310
- requestBody: {
1311
- content: {
1312
- "application/json": {}
1313
- }
1314
- },
1315
- responses: {}
1316
- }
1317
- },
1318
- "/v1/entity/schemas/capabilities/{composite_id}": {
1319
- get: {
1320
- operationId: "getSchemaCapability",
1321
- parameters: [
1322
- {
1323
- name: "composite_id",
1324
- in: "path",
1325
- required: true
1326
- }
1327
- ],
1328
- responses: {}
1329
- },
1330
- put: {
1331
- operationId: "putSchemaCapability",
1332
- parameters: [
1333
- {
1334
- name: "composite_id",
1335
- in: "path",
1336
- required: true
1337
- }
1338
- ],
1339
- requestBody: {
1340
- content: {
1341
- "application/json": {}
1342
- }
1343
- },
1344
- responses: {}
1345
- },
1346
- delete: {
1347
- operationId: "deleteSchemaCapability",
1348
- parameters: [
1349
- {
1350
- name: "composite_id",
1351
- in: "path",
1352
- required: true
1353
- }
1354
- ],
1355
- responses: {}
1356
- }
1357
- },
1358
- "/v1/entity/schemas/group": {
1359
- post: {
1360
- operationId: "createSchemaGroup",
1361
- requestBody: {
1362
- content: {
1363
- "application/json": {}
1364
- }
1365
- },
1366
- responses: {}
1367
- }
1368
- },
1369
- "/v1/entity/schemas/group/{composite_id}": {
1370
- get: {
1371
- operationId: "getSchemaGroup",
1372
- parameters: [
1373
- {
1374
- name: "composite_id",
1375
- in: "path",
1376
- required: true
1377
- }
1378
- ],
1379
- responses: {}
1380
- },
1381
- put: {
1382
- operationId: "putSchemaGroup",
1383
- parameters: [
1384
- {
1385
- name: "composite_id",
1386
- in: "path",
1387
- required: true
1388
- }
1389
- ],
1390
- requestBody: {
1391
- content: {
1392
- "application/json": {}
1393
- }
1394
- },
1395
- responses: {}
1396
- },
1397
- delete: {
1398
- operationId: "deleteSchemaGroup",
1399
- parameters: [
1400
- {
1401
- name: "composite_id",
1402
- in: "path",
1403
- required: true
1404
- }
1405
- ],
1406
- responses: {}
1407
- }
1408
- },
1409
- "/v1/entity/schemas/headline": {
1410
- post: {
1411
- operationId: "createSchemaGroupHeadline",
1412
- requestBody: {
1413
- content: {
1414
- "application/json": {}
1415
- }
1416
- },
1417
- responses: {}
1418
- }
1419
- },
1420
- "/v1/entity/schemas/headline/{composite_id}": {
1421
- get: {
1422
- operationId: "getSchemaGroupHeadline",
1423
- parameters: [
1424
- {
1425
- name: "composite_id",
1426
- in: "path",
1427
- required: true
1428
- }
1429
- ],
1430
- responses: {}
1431
- },
1432
- put: {
1433
- operationId: "putSchemaGroupHeadline",
1434
- parameters: [
1435
- {
1436
- name: "composite_id",
1437
- in: "path",
1438
- required: true
1439
- }
1440
- ],
1441
- requestBody: {
1442
- content: {
1443
- "application/json": {}
1444
- }
1445
- },
1446
- responses: {}
1447
- },
1448
- delete: {
1449
- operationId: "deleteSchemaGroupHeadline",
1450
- parameters: [
1451
- {
1452
- name: "composite_id",
1453
- in: "path",
1454
- required: true
1455
- }
1456
- ],
1457
- responses: {}
1458
- }
1459
- }
1460
- },
1461
- components: {
1462
- parameters: {
1463
- EntityIdPathParam: {
1464
- name: "id",
1465
- in: "path",
1466
- required: true
1467
- },
1468
- EntitySlugPathParam: {
1469
- name: "slug",
1470
- in: "path",
1471
- required: true
1472
- },
1473
- EntitySlugPathPriceParam: {
1474
- name: "slug",
1475
- in: "path",
1476
- required: true
1477
- },
1478
- TaxonomySlugQueryParam: {
1479
- name: "taxonomySlug",
1480
- in: "query",
1481
- required: true
1482
- },
1483
- TaxonomySlugPathParam: {
1484
- name: "taxonomySlug",
1485
- in: "path",
1486
- required: true
1487
- },
1488
- TaxonomySlugQueryParamOptional: {
1489
- name: "taxonomySlug",
1490
- in: "query"
1491
- },
1492
- TaxonomyClassificationSlugPathParam: {
1493
- name: "classificationSlug",
1494
- in: "path",
1495
- required: true
1496
- },
1497
- SavedViewIdPathParam: {
1498
- name: "id",
1499
- in: "path",
1500
- required: true
1501
- },
1502
- AsyncOperationQueryParam: {
1503
- name: "async",
1504
- in: "query",
1505
- required: false
1506
- },
1507
- HydrateEntitiesQueryParam: {
1508
- name: "hydrate",
1509
- in: "query"
1510
- },
1511
- ActivityIdQueryParam: {
1512
- name: "activity_id",
1513
- in: "query",
1514
- required: false
1515
- },
1516
- ActivityIdPathParam: {
1517
- name: "id",
1518
- in: "path",
1519
- required: true
1520
- },
1521
- FromPageQueryParam: {
1522
- name: "from",
1523
- in: "query"
1524
- },
1525
- IncludeReverseDeprecatedQueryParam: {
1526
- name: "include_reverse",
1527
- in: "query",
1528
- deprecated: true
1529
- },
1530
- IncludeReverseQueryParam: {
1531
- name: "include_reverse",
1532
- in: "query"
1533
- },
1534
- IncludeSchemasQueryParam: {
1535
- name: "include_schemas",
1536
- in: "query",
1537
- required: false,
1538
- style: "form",
1539
- explode: false
1540
- },
1541
- ExcludeSchemasQueryParam: {
1542
- name: "exclude_schemas",
1543
- in: "query",
1544
- required: false,
1545
- style: "form",
1546
- explode: false
1547
- },
1548
- EntityRelationsModeQueryParam: {
1549
- name: "mode",
1550
- in: "query",
1551
- required: false
1552
- },
1553
- DryRunQueryParam: {
1554
- name: "dry_run",
1555
- in: "query",
1556
- required: false
1557
- },
1558
- FillActivityQueryParam: {
1559
- name: "fill_activity",
1560
- in: "query",
1561
- required: false
1562
- },
1563
- ValidateEntityQueryParam: {
1564
- name: "validate",
1565
- in: "query"
1566
- }
1567
- },
1568
- responses: {
1569
- BadRequestError: {
1570
- content: {
1571
- "application/json": {}
1572
- }
1573
- },
1574
- NotFoundError: {
1575
- content: {
1576
- "application/json": {}
1577
- }
1578
- },
1579
- TooManyRequestsError: {
1580
- headers: {
1581
- "Retry-After": {}
1582
- },
1583
- content: {
1584
- "application/json": {}
1585
- }
1586
- }
1587
- }
1588
- },
1589
- servers: [
1590
- {
1591
- url: "https://entity.sls.epilot.io"
1592
- }
1593
- ]
1594
- };
9
+ // src/definitions/entity-runtime.json
10
+ var require_entity_runtime = __commonJS({
11
+ "src/definitions/entity-runtime.json"(exports, module) {
12
+ module.exports = { s: "https://entity.sls.epilot.io", o: [["listSchemas", "get", "/v1/entity/schemas", [["unpublished", "q"], ["exclude", "q", false, "form", false]]], ["getSchema", "get", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["id", "q"]]], ["putSchema", "put", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"], ["draft", "q"]], 1], ["deleteSchema", "delete", "/v1/entity/schemas/{slug}", [["EntitySlugPathParam"]]], ["getJsonSchema", "get", "/v1/entity/schemas/{slug}/json/schema", [["EntitySlugPathParam"], ["dereference", "q"]]], ["getSchemaExample", "get", "/v1/entity/schemas/{slug}/json/example", [["EntitySlugPathParam"]]], ["getSchemaVersions", "get", "/v1/entity/schemas/{slug}/versions", [["EntitySlugPathParam"], ["versions_from", "q"], ["versions_size", "q"], ["drafts_from", "q"], ["drafts_size", "q"], ["fields", "q", false, "form", false]]], ["listAvailableCapabilities", "get", "/v1/entity/schemas/{slug}/capabilities/available", [["EntitySlugPathParam"]]], ["listSchemaBlueprints", "get", "/v1/entity/schemas/blueprints"], ["searchEntities", "post", "/v1/entity:search", null, 1], ["listEntities", "post", "/v1/entity:list", null, 1], ["queryEntityGraph", "post", "/v1/entity:graph", null, 1], ["createEntity", "post", "/v1/entity/{slug}", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["validateEntity", "post", "/v1/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["validateEntityV2", "post", "/v2/entity/{slug}:validate", [["EntitySlugPathPriceParam"]], 1], ["upsertEntity", "patch", "/v1/entity/{slug}:upsert", [["EntitySlugPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"], ["strict", "q"]], 1], ["getEntityV2", "get", "/v2/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"], ["fields", "q", false, "form", false]]], ["restoreEntity", "patch", "/v1/entity/{slug}/{id}:restore", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["ActivityIdQueryParam"]], 1], ["reindexEntity", "post", "/v1/entity/{slug}/{id}:reindex", [["EntityIdPathParam"], ["EntitySlugPathParam"]], 1], ["getEntity", "get", "/v1/entity/{slug}/{id}", [["EntityIdPathParam"], ["EntitySlugPathParam"], ["HydrateEntitiesQueryParam"]]], ["updateEntity", "put", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["patchEntity", "patch", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["DryRunQueryParam"], ["AsyncOperationQueryParam"], ["ValidateEntityQueryParam"]], 1], ["deleteEntity", "delete", "/v1/entity/{slug}/{id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ActivityIdQueryParam"], ["purge", "q"]]], ["autocomplete", "get", "/v1/entity:autocomplete", [["input", "q"], ["attribute", "q", true], ["slug", "q"], ["size", "q"]]], ["wipeAllEntities", "post", "/v1/entity:wipeAllEntities", null, 1], ["createActivity", "post", "/v1/entity/activity", [["entities", "q", false, "form", false]], 1], ["getActivity", "get", "/v1/entity/activity/{id}", [["ActivityIdPathParam"], ["operations_size", "q"], ["operations_from", "q"]]], ["attachActivity", "post", "/v1/entity/activity/{id}:attach", [["ActivityIdPathParam"], ["entities", "q", false, "form", false]]], ["getEntityActivityFeed", "get", "/v1/entity/{slug}/{id}/activity", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["after", "q"], ["before", "q"], ["start_date", "q"], ["end_date", "q"], ["preset_range", "q"], ["FromPageQueryParam"], ["size", "q"], ["type", "q", false, "form", false], ["include_relations", "q"], ["exclude_activity_groups", "q"]]], ["getRelations", "get", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"]]], ["addRelations", "post", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["removeRelations", "delete", "/v1/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["getRelationsV2", "get", "/v2/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["query", "q"], ["IncludeReverseQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["fields", "q"]]], ["getRelationsV3", "get", "/v3/entity/{slug}/{id}/relations", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["HydrateEntitiesQueryParam"], ["IncludeReverseDeprecatedQueryParam"], ["FromPageQueryParam"], ["size", "q"], ["IncludeSchemasQueryParam"], ["ExcludeSchemasQueryParam"], ["EntityRelationsModeQueryParam"], ["fields", "q"], ["include_deleted", "q"]]], ["getRelatedEntitiesCount", "get", "/v2/entity/{slug}/{id}/relations/count", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["ExcludeSchemasQueryParam"]]], ["updateRelation", "put", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]], 1], ["deleteRelation", "delete", "/v1/entity/{slug}/{id}/relations/{attribute}/{entity_id}", [["EntitySlugPathParam"], ["EntityIdPathParam"], ["attribute", "p", true], ["entity_id", "p", true], ["AsyncOperationQueryParam"], ["ActivityIdQueryParam"]]], ["exportEntities", "post", "/v1/entity:export", [["job_id", "q"], ["is_template", "q"], ["language", "q"]], 1], ["importEntities", "post", "/v1/entity:import", [["job_id", "q"]], 1], ["listSavedViews", "get", "/v1/entity/views", [["slug", "q"], ["sort", "q"], ["from", "q"], ["size", "q"], ["fields", "q"]]], ["createSavedView", "post", "/v1/entity/view", null, 1], ["getSavedView", "get", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["updateSavedView", "put", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["patchSavedView", "patch", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]], 1], ["deleteSavedView", "delete", "/v1/entity/view/{id}", [["SavedViewIdPathParam"]]], ["listFavoriteViewsForUser", "get", "/v1/entity/views/favorites"], ["listTaxonomies", "get", "/v1/entity/taxonomies", [["include_disabled", "q"], ["type", "q"]]], ["createTaxonomy", "post", "/v1/entity/taxonomies", null, 1], ["getTaxonomy", "get", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]]], ["updateTaxonomy", "put", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"]], 1], ["deleteTaxonomy", "delete", "/v1/entity/taxonomies/{taxonomySlug}", [["TaxonomySlugPathParam"], ["permanent", "q"]]], ["updateClassificationsForTaxonomy", "post", "/v1/entity/taxonomies/{taxonomySlug}/classifications", [["TaxonomySlugPathParam"]], 1], ["createTaxonomyClassification", "post", "/v2/entity/taxonomies/classifications", null, 1], ["getTaxonomyClassification", "get", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["updateTaxonomyClassification", "put", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]], 1], ["deleteTaxonomyClassification", "delete", "/v2/entity/taxonomies/classifications/{classificationSlug}", [["TaxonomyClassificationSlugPathParam"]]], ["taxonomyAutocomplete", "get", "/v1/entity/taxonomies/{taxonomySlug}:autocomplete", [["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["taxonomiesClassificationsSearch", "post", "/v1/entity/taxonomies/classifications:search", [["taxonomySlug", "q"], ["query", "q"], ["archived", "q"], ["include_archived", "q"]], 1], ["listTaxonomyClassificationsForSchema", "get", "/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}", [["EntitySlugPathParam"], ["TaxonomySlugPathParam"], ["query", "q"], ["size", "q"]]], ["getTaxonomyBulkActionJobs", "get", "/v1/entity/taxonomies/bulk-jobs", [["status", "q"], ["size", "q"], ["created_after", "q"], ["sort_pending_first", "q"], ["scope", "q"]]], ["getTaxonomyBulkActionJobById", "get", "/v1/entity/taxonomies/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["cancelBulkAction", "post", "/v1/entity/taxonomies/bulk-jobs/{job_id}/cancel", [["job_id", "p", true]]], ["bulkMoveClassifications", "post", "/v1/entity/taxonomies/classifications:move", null, 1], ["bulkMergeClassifications", "post", "/v1/entity/taxonomies/classifications:merge", null, 1], ["bulkDeleteClassifications", "post", "/v1/entity/taxonomies/classifications:delete", null, 1], ["createSchemaAttribute", "post", "/v1/entity/schemas/attributes", null, 1], ["getSchemaAttribute", "get", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["putSchemaAttribute", "put", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaAttribute", "delete", "/v1/entity/schemas/attributes/{composite_id}", [["composite_id", "p", true]]], ["createSchemaCapability", "post", "/v1/entity/schemas/capabilities", null, 1], ["getSchemaCapability", "get", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["putSchemaCapability", "put", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaCapability", "delete", "/v1/entity/schemas/capabilities/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroup", "post", "/v1/entity/schemas/group", null, 1], ["getSchemaGroup", "get", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroup", "put", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroup", "delete", "/v1/entity/schemas/group/{composite_id}", [["composite_id", "p", true]]], ["createSchemaGroupHeadline", "post", "/v1/entity/schemas/headline", null, 1], ["getSchemaGroupHeadline", "get", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]], ["putSchemaGroupHeadline", "put", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]], 1], ["deleteSchemaGroupHeadline", "delete", "/v1/entity/schemas/headline/{composite_id}", [["composite_id", "p", true]]]], cp: { EntityIdPathParam: ["id", "p", true], EntitySlugPathParam: ["slug", "p", true], EntitySlugPathPriceParam: ["slug", "p", true], TaxonomySlugQueryParam: ["taxonomySlug", "q", true], TaxonomySlugPathParam: ["taxonomySlug", "p", true], TaxonomySlugQueryParamOptional: ["taxonomySlug", "q"], TaxonomyClassificationSlugPathParam: ["classificationSlug", "p", true], SavedViewIdPathParam: ["id", "p", true], AsyncOperationQueryParam: ["async", "q"], HydrateEntitiesQueryParam: ["hydrate", "q"], ActivityIdQueryParam: ["activity_id", "q"], ActivityIdPathParam: ["id", "p", true], FromPageQueryParam: ["from", "q"], IncludeReverseDeprecatedQueryParam: ["include_reverse", "q"], IncludeReverseQueryParam: ["include_reverse", "q"], IncludeSchemasQueryParam: ["include_schemas", "q", false, "form", false], ExcludeSchemasQueryParam: ["exclude_schemas", "q", false, "form", false], EntityRelationsModeQueryParam: ["mode", "q"], DryRunQueryParam: ["dry_run", "q"], FillActivityQueryParam: ["fill_activity", "q"], ValidateEntityQueryParam: ["validate", "q"] } };
1595
13
  }
1596
14
  });
1597
15
 
1598
16
  // src/apis/entity.ts
1599
17
  var loadDefinition = () => {
1600
- const mod = require_entity();
1601
- return mod.default ?? mod;
18
+ const mod = require_entity_runtime();
19
+ return expand(mod.default ?? mod);
1602
20
  };
1603
21
  var _instance = null;
1604
22
  var resolve = () => {
1605
23
  if (!_instance) {
1606
- const definition = loadDefinition();
1607
- _instance = createApiClient({ definition });
24
+ const def = loadDefinition();
25
+ _instance = createApiClient({ definition: def });
1608
26
  }
1609
27
  return _instance;
1610
28
  };