@epilot/sdk 2.3.6 → 2.3.7

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 (148) hide show
  1. package/definitions/blueprint-manifest-runtime.json +1 -1
  2. package/definitions/blueprint-manifest.json +239 -12
  3. package/definitions/configuration-hub-runtime.json +1 -0
  4. package/definitions/configuration-hub.json +399 -0
  5. package/definitions/customer-portal-runtime.json +1 -1
  6. package/definitions/customer-portal.json +373 -4
  7. package/definitions/design.json +257 -4
  8. package/dist/apis/access-token.cjs +6 -6
  9. package/dist/apis/access-token.js +1 -1
  10. package/dist/apis/address-suggestions.cjs +6 -6
  11. package/dist/apis/address-suggestions.js +1 -1
  12. package/dist/apis/address.cjs +6 -6
  13. package/dist/apis/address.js +1 -1
  14. package/dist/apis/ai-agents.cjs +6 -6
  15. package/dist/apis/ai-agents.js +1 -1
  16. package/dist/apis/app.cjs +6 -6
  17. package/dist/apis/app.js +1 -1
  18. package/dist/apis/audit-logs.cjs +6 -6
  19. package/dist/apis/audit-logs.js +1 -1
  20. package/dist/apis/automation.cjs +6 -6
  21. package/dist/apis/automation.js +1 -1
  22. package/dist/apis/billing.cjs +6 -6
  23. package/dist/apis/billing.js +1 -1
  24. package/dist/apis/blueprint-manifest.cjs +6 -6
  25. package/dist/apis/blueprint-manifest.js +1 -1
  26. package/dist/apis/configuration-hub.cjs +6 -6
  27. package/dist/apis/configuration-hub.js +1 -1
  28. package/dist/apis/consent.cjs +6 -6
  29. package/dist/apis/consent.js +1 -1
  30. package/dist/apis/customer-portal.cjs +8 -8
  31. package/dist/apis/customer-portal.d.cts +2 -2
  32. package/dist/apis/customer-portal.d.ts +2 -2
  33. package/dist/apis/customer-portal.js +2 -2
  34. package/dist/apis/dashboard.cjs +6 -6
  35. package/dist/apis/dashboard.js +1 -1
  36. package/dist/apis/data-governance.cjs +6 -6
  37. package/dist/apis/data-governance.js +1 -1
  38. package/dist/apis/deduplication.cjs +6 -6
  39. package/dist/apis/deduplication.js +1 -1
  40. package/dist/apis/design.cjs +6 -6
  41. package/dist/apis/design.d.cts +2 -2
  42. package/dist/apis/design.d.ts +2 -2
  43. package/dist/apis/design.js +1 -1
  44. package/dist/apis/document.cjs +6 -6
  45. package/dist/apis/document.js +1 -1
  46. package/dist/apis/email-settings.cjs +6 -6
  47. package/dist/apis/email-settings.js +1 -1
  48. package/dist/apis/email-template.cjs +6 -6
  49. package/dist/apis/email-template.js +1 -1
  50. package/dist/apis/entity-mapping.cjs +6 -6
  51. package/dist/apis/entity-mapping.js +1 -1
  52. package/dist/apis/entity.cjs +6 -6
  53. package/dist/apis/entity.js +1 -1
  54. package/dist/apis/environments.cjs +6 -6
  55. package/dist/apis/environments.js +1 -1
  56. package/dist/apis/event-catalog.cjs +6 -6
  57. package/dist/apis/event-catalog.js +1 -1
  58. package/dist/apis/file.cjs +6 -6
  59. package/dist/apis/file.js +1 -1
  60. package/dist/apis/iban.cjs +6 -6
  61. package/dist/apis/iban.js +1 -1
  62. package/dist/apis/integration-toolkit.cjs +6 -6
  63. package/dist/apis/integration-toolkit.js +1 -1
  64. package/dist/apis/journey.cjs +6 -6
  65. package/dist/apis/journey.js +1 -1
  66. package/dist/apis/kanban.cjs +6 -6
  67. package/dist/apis/kanban.js +1 -1
  68. package/dist/apis/message.cjs +6 -6
  69. package/dist/apis/message.js +1 -1
  70. package/dist/apis/metering.cjs +6 -6
  71. package/dist/apis/metering.js +1 -1
  72. package/dist/apis/notes.cjs +6 -6
  73. package/dist/apis/notes.js +1 -1
  74. package/dist/apis/notification.cjs +6 -6
  75. package/dist/apis/notification.js +1 -1
  76. package/dist/apis/organization.cjs +6 -6
  77. package/dist/apis/organization.js +1 -1
  78. package/dist/apis/partner-directory.cjs +6 -6
  79. package/dist/apis/partner-directory.js +1 -1
  80. package/dist/apis/permissions.cjs +6 -6
  81. package/dist/apis/permissions.js +1 -1
  82. package/dist/apis/pricing-tier.cjs +6 -6
  83. package/dist/apis/pricing-tier.js +1 -1
  84. package/dist/apis/pricing.cjs +6 -6
  85. package/dist/apis/pricing.js +1 -1
  86. package/dist/apis/purpose.cjs +6 -6
  87. package/dist/apis/purpose.js +1 -1
  88. package/dist/apis/query.cjs +6 -6
  89. package/dist/apis/query.js +1 -1
  90. package/dist/apis/sandbox.cjs +6 -6
  91. package/dist/apis/sandbox.js +1 -1
  92. package/dist/apis/sharing.cjs +6 -6
  93. package/dist/apis/sharing.js +1 -1
  94. package/dist/apis/submission.cjs +6 -6
  95. package/dist/apis/submission.js +1 -1
  96. package/dist/apis/target.cjs +6 -6
  97. package/dist/apis/target.js +1 -1
  98. package/dist/apis/targeting.cjs +6 -6
  99. package/dist/apis/targeting.js +1 -1
  100. package/dist/apis/template-variables.cjs +6 -6
  101. package/dist/apis/template-variables.js +1 -1
  102. package/dist/apis/user.cjs +6 -6
  103. package/dist/apis/user.js +1 -1
  104. package/dist/apis/validation-rules.cjs +6 -6
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/bin/cli.js +1 -1
  113. package/dist/chunk-2MMSXUOL.cjs +14 -0
  114. package/dist/chunk-GVNT76UU.js +14 -0
  115. package/dist/{chunk-YD2W64XJ.js → chunk-KY7TIDRJ.js} +3 -3
  116. package/dist/{chunk-XN43KCAN.cjs → chunk-NOYX4W47.cjs} +3 -3
  117. package/dist/customer-portal-5LMHNBMD.cjs +7 -0
  118. package/dist/customer-portal-RZACUF4N.js +7 -0
  119. package/dist/{customer-portal-runtime-3LTXCTKD.cjs → customer-portal-runtime-DULJLR7F.cjs} +2 -2
  120. package/dist/{customer-portal-runtime-374XJ6LB.js → customer-portal-runtime-PSM55KGU.js} +1 -1
  121. package/dist/{customer-portal.d-BJNWYMt9.d.cts → customer-portal.d-DyZ2n2dW.d.cts} +633 -5
  122. package/dist/{customer-portal.d-BJNWYMt9.d.ts → customer-portal.d-DyZ2n2dW.d.ts} +633 -5
  123. package/dist/design-DROLIWS3.js +7 -0
  124. package/dist/design-XZKOZLTR.cjs +7 -0
  125. package/dist/design.d-BRre8iLg.d.cts +2346 -0
  126. package/dist/design.d-BRre8iLg.d.ts +2346 -0
  127. package/dist/index.cjs +10 -10
  128. package/dist/index.d.cts +2 -2
  129. package/dist/index.d.ts +2 -2
  130. package/dist/index.js +2 -2
  131. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  132. package/docs/customer-portal.md +602 -51
  133. package/docs/design.md +665 -341
  134. package/package.json +1 -1
  135. package/definitions/data-management-runtime.json +0 -1
  136. package/definitions/data-management.json +0 -972
  137. package/definitions/erp-integration-runtime.json +0 -1
  138. package/definitions/erp-integration.json +0 -6780
  139. package/definitions/target-runtime.json +0 -1
  140. package/definitions/target.json +0 -609
  141. package/dist/chunk-XT54462S.js +0 -14
  142. package/dist/chunk-YWDWPVIC.cjs +0 -14
  143. package/dist/customer-portal-AEFMNNYP.cjs +0 -7
  144. package/dist/customer-portal-Y3GLUVMW.js +0 -7
  145. package/dist/design-NISDHPFD.cjs +0 -7
  146. package/dist/design-WL4AZIGX.js +0 -7
  147. package/dist/design.d-DTo29S0F.d.cts +0 -960
  148. package/dist/design.d-DTo29S0F.d.ts +0 -960
@@ -1 +0,0 @@
1
- {"s":"https://target.sls.epilot.io","o":[["createTarget","post","/v1/target",null,1],["getTarget","get","/v1/target/{targetId}",[["TargetIdPathParam"],["HydrateQueryParam"],["StrictQueryParam"]]],["deleteTarget","delete","/v1/target/{targetId}",[["TargetIdPathParam"]]],["patchTarget","patch","/v1/target/{targetId}",[["TargetIdPathParam"]],1],["updateTarget","put","/v1/target/{targetId}",[["TargetIdPathParam"]],1]],"v":"3.0.3","cp":{"HydrateQueryParam":["hydrate","q"],"StrictQueryParam":["strict","q"],"TargetIdPathParam":["targetId","p",true]}}
@@ -1,609 +0,0 @@
1
- {
2
- "openapi": "3.0.3",
3
- "info": {
4
- "title": "Target API",
5
- "version": "1.0.0",
6
- "description": "This API allows managing targets.",
7
- "contact": {
8
- "name": "Support",
9
- "email": "info@epilot.cloud",
10
- "url": "https://help.epilot.cloud"
11
- }
12
- },
13
- "tags": [
14
- {
15
- "name": "Target",
16
- "description": "Target operations"
17
- },
18
- {
19
- "name": "target_schema",
20
- "x-displayName": "Target",
21
- "description": "<SchemaDefinition schemaRef=\"#/components/schemas/Target\" />\n"
22
- }
23
- ],
24
- "x-tagGroups": [
25
- {
26
- "name": "APIs",
27
- "tags": [
28
- "Target"
29
- ]
30
- },
31
- {
32
- "name": "Schemas",
33
- "tags": [
34
- "target_schema"
35
- ]
36
- }
37
- ],
38
- "security": [
39
- {
40
- "EpilotAuth": []
41
- },
42
- {
43
- "EpilotOrg": []
44
- }
45
- ],
46
- "servers": [
47
- {
48
- "url": "https://target.sls.epilot.io"
49
- }
50
- ],
51
- "paths": {
52
- "/v1/target": {
53
- "post": {
54
- "operationId": "createTarget",
55
- "summary": "createTarget",
56
- "description": "Create a new target entity",
57
- "tags": [
58
- "Target"
59
- ],
60
- "requestBody": {
61
- "$ref": "#/components/requestBodies/TargetCreateRequest"
62
- },
63
- "responses": {
64
- "201": {
65
- "$ref": "#/components/responses/TargetResponse"
66
- },
67
- "400": {
68
- "$ref": "#/components/responses/ClientErrorResponse"
69
- },
70
- "500": {
71
- "$ref": "#/components/responses/ServerErrorResponse"
72
- }
73
- }
74
- }
75
- },
76
- "/v1/target/{targetId}": {
77
- "get": {
78
- "operationId": "getTarget",
79
- "summary": "getTarget",
80
- "description": "Read a specific target entity by a given id",
81
- "tags": [
82
- "Target"
83
- ],
84
- "parameters": [
85
- {
86
- "$ref": "#/components/parameters/TargetIdPathParam"
87
- },
88
- {
89
- "$ref": "#/components/parameters/HydrateQueryParam"
90
- },
91
- {
92
- "$ref": "#/components/parameters/StrictQueryParam"
93
- }
94
- ],
95
- "responses": {
96
- "200": {
97
- "$ref": "#/components/responses/TargetResponse"
98
- },
99
- "400": {
100
- "$ref": "#/components/responses/ClientErrorResponse"
101
- },
102
- "500": {
103
- "$ref": "#/components/responses/ServerErrorResponse"
104
- }
105
- }
106
- },
107
- "delete": {
108
- "operationId": "deleteTarget",
109
- "summary": "deleteTarget",
110
- "description": "Delete a specific target entity by a given id",
111
- "tags": [
112
- "Target"
113
- ],
114
- "parameters": [
115
- {
116
- "$ref": "#/components/parameters/TargetIdPathParam"
117
- }
118
- ],
119
- "responses": {
120
- "200": {
121
- "$ref": "#/components/responses/TargetResponse"
122
- },
123
- "400": {
124
- "$ref": "#/components/responses/ClientErrorResponse"
125
- },
126
- "500": {
127
- "$ref": "#/components/responses/ServerErrorResponse"
128
- }
129
- }
130
- },
131
- "patch": {
132
- "operationId": "patchTarget",
133
- "summary": "patchTarget",
134
- "description": "Partially update a specific target entity's properties by a given id and a given payload",
135
- "tags": [
136
- "Target"
137
- ],
138
- "parameters": [
139
- {
140
- "$ref": "#/components/parameters/TargetIdPathParam"
141
- }
142
- ],
143
- "requestBody": {
144
- "$ref": "#/components/requestBodies/TargetPatchRequest"
145
- },
146
- "responses": {
147
- "200": {
148
- "$ref": "#/components/responses/TargetResponse"
149
- },
150
- "400": {
151
- "$ref": "#/components/responses/ClientErrorResponse"
152
- },
153
- "500": {
154
- "$ref": "#/components/responses/ServerErrorResponse"
155
- }
156
- }
157
- },
158
- "put": {
159
- "operationId": "updateTarget",
160
- "summary": "updateTarget",
161
- "description": "Completly replace a specific target entity's properties by a given id and a given payload",
162
- "tags": [
163
- "Target"
164
- ],
165
- "parameters": [
166
- {
167
- "$ref": "#/components/parameters/TargetIdPathParam"
168
- }
169
- ],
170
- "requestBody": {
171
- "$ref": "#/components/requestBodies/TargetUpdateRequest"
172
- },
173
- "responses": {
174
- "200": {
175
- "$ref": "#/components/responses/TargetResponse"
176
- },
177
- "400": {
178
- "$ref": "#/components/responses/ClientErrorResponse"
179
- },
180
- "500": {
181
- "$ref": "#/components/responses/ServerErrorResponse"
182
- }
183
- }
184
- }
185
- }
186
- },
187
- "components": {
188
- "securitySchemes": {
189
- "EpilotAuth": {
190
- "type": "http",
191
- "scheme": "bearer",
192
- "description": "Authorization header with epilot OAuth2 bearer token",
193
- "bearerFormat": "JWT"
194
- },
195
- "EpilotOrg": {
196
- "description": "Overrides the target organization to allow shared tenantaccess",
197
- "name": "x-epilot-org-id",
198
- "in": "header",
199
- "type": "apiKey"
200
- }
201
- },
202
- "schemas": {
203
- "BaseError": {
204
- "type": "object",
205
- "properties": {
206
- "status": {
207
- "type": "integer",
208
- "example": 404
209
- },
210
- "message": {
211
- "type": "string",
212
- "example": "Entity not found"
213
- }
214
- },
215
- "required": [
216
- "status",
217
- "message"
218
- ]
219
- },
220
- "ServerError": {
221
- "$ref": "#/components/schemas/BaseError"
222
- },
223
- "ClientError": {
224
- "$ref": "#/components/schemas/BaseError"
225
- },
226
- "BaseUUID": {
227
- "type": "string",
228
- "format": "uuid",
229
- "example": "123e4567-e89b-12d3-a456-426614174000"
230
- },
231
- "BaseTags": {
232
- "type": "array",
233
- "nullable": true,
234
- "items": {
235
- "type": "string"
236
- }
237
- },
238
- "BasePurpose": {
239
- "type": "array",
240
- "nullable": true,
241
- "items": {
242
- "type": "string"
243
- }
244
- },
245
- "BaseRelation": {
246
- "type": "object",
247
- "properties": {
248
- "$relation": {
249
- "type": "array",
250
- "items": {
251
- "type": "object",
252
- "properties": {
253
- "entity_id": {
254
- "$ref": "#/components/schemas/BaseUUID"
255
- },
256
- "_tags": {
257
- "$ref": "#/components/schemas/BaseTags"
258
- }
259
- }
260
- }
261
- }
262
- }
263
- },
264
- "BaseEntityOwner": {
265
- "description": "The user / organization owning this entity.\n\nNote: Owner implicitly has access to the entity regardless of ACLs.\n",
266
- "type": "object",
267
- "properties": {
268
- "org_id": {
269
- "type": "string",
270
- "example": "123"
271
- },
272
- "user_id": {
273
- "type": "string",
274
- "example": "123"
275
- }
276
- },
277
- "required": [
278
- "org_id"
279
- ]
280
- },
281
- "BaseEntityAcl": {
282
- "type": "object",
283
- "description": "Access control list (ACL) for an entity. Defines sharing access to external orgs or users.",
284
- "properties": {
285
- "view": {
286
- "type": "array",
287
- "items": {
288
- "type": "string",
289
- "example": "org:456"
290
- }
291
- },
292
- "edit": {
293
- "type": "array",
294
- "items": {
295
- "type": "string",
296
- "example": "org:456"
297
- }
298
- },
299
- "delete": {
300
- "type": "array",
301
- "items": {
302
- "type": "string",
303
- "example": "org:456"
304
- }
305
- }
306
- }
307
- },
308
- "BaseSystemFields": {
309
- "type": "object",
310
- "properties": {
311
- "_tags": {
312
- "$ref": "#/components/schemas/BaseTags"
313
- },
314
- "_purpose": {
315
- "$ref": "#/components/schemas/BasePurpose"
316
- },
317
- "_files": {
318
- "$ref": "#/components/schemas/BaseRelation"
319
- },
320
- "_manifest": {
321
- "type": "array",
322
- "description": "Manifest ID used to create/update the entity",
323
- "items": {
324
- "type": "string",
325
- "format": "uuid",
326
- "example": "123e4567-e89b-12d3-a456-426614174000"
327
- }
328
- },
329
- "__additional": {
330
- "type": "object",
331
- "description": "Additional fields that are not part of the schema",
332
- "additionalProperties": true,
333
- "nullable": true,
334
- "example": {}
335
- }
336
- }
337
- },
338
- "BaseSystemReadonlyFields": {
339
- "type": "object",
340
- "properties": {
341
- "_id": {
342
- "$ref": "#/components/schemas/BaseUUID"
343
- },
344
- "_schema": {
345
- "readOnly": true,
346
- "type": "string"
347
- },
348
- "_org": {
349
- "type": "string",
350
- "description": "Organization Id the entity belongs to",
351
- "readOnly": true
352
- },
353
- "_tags": {
354
- "$ref": "#/components/schemas/BaseTags"
355
- },
356
- "_files": {
357
- "$ref": "#/components/schemas/BaseRelation"
358
- },
359
- "_owners": {
360
- "type": "array",
361
- "readOnly": true,
362
- "items": {
363
- "$ref": "#/components/schemas/BaseEntityOwner"
364
- }
365
- },
366
- "_title": {
367
- "readOnly": true,
368
- "type": "string"
369
- },
370
- "_created_at": {
371
- "readOnly": true,
372
- "type": "string",
373
- "format": "date-time"
374
- },
375
- "_updated_at": {
376
- "readOnly": true,
377
- "type": "string",
378
- "format": "date-time"
379
- },
380
- "_acl": {
381
- "$ref": "#/components/schemas/BaseEntityAcl"
382
- }
383
- }
384
- },
385
- "BaseSystemFieldsRequired": {
386
- "type": "object",
387
- "required": [
388
- "_schema",
389
- "_org"
390
- ]
391
- },
392
- "BaseTarget": {
393
- "type": "object",
394
- "properties": {
395
- "_schema": {
396
- "type": "string",
397
- "enum": [
398
- "target"
399
- ]
400
- },
401
- "name": {
402
- "type": "string",
403
- "description": "The description for the target"
404
- },
405
- "description": {
406
- "type": "string",
407
- "description": "The description of the target"
408
- },
409
- "entity_schema": {
410
- "type": "string",
411
- "description": "The schema of the target entities"
412
- },
413
- "entity_filters": {
414
- "type": "object",
415
- "description": "The filters on the targeted schema",
416
- "properties": {
417
- "filter": {
418
- "type": "object",
419
- "properties": {
420
- "items": {
421
- "type": "array",
422
- "items": {
423
- "type": "object",
424
- "properties": {
425
- "key": {
426
- "type": "string",
427
- "description": "The key of the filter"
428
- },
429
- "operator": {
430
- "type": "string",
431
- "description": "The operator of the filter"
432
- },
433
- "value": {
434
- "oneOf": [
435
- {
436
- "type": "string"
437
- },
438
- {
439
- "type": "array",
440
- "items": {
441
- "type": "string",
442
- "additionalProperties": true
443
- }
444
- }
445
- ]
446
- }
447
- }
448
- },
449
- "description": "The list of applied filters on targeted schema"
450
- },
451
- "combination": {
452
- "type": "string",
453
- "description": "The combination of the filters"
454
- }
455
- }
456
- }
457
- }
458
- }
459
- }
460
- },
461
- "BaseTargetRequired": {
462
- "type": "object",
463
- "required": [
464
- "name"
465
- ]
466
- },
467
- "Target": {
468
- "allOf": [
469
- {
470
- "$ref": "#/components/schemas/BaseSystemReadonlyFields"
471
- },
472
- {
473
- "$ref": "#/components/schemas/BaseTarget"
474
- },
475
- {
476
- "$ref": "#/components/schemas/BaseTargetRequired"
477
- },
478
- {
479
- "$ref": "#/components/schemas/BaseSystemFields"
480
- },
481
- {
482
- "$ref": "#/components/schemas/BaseSystemFieldsRequired"
483
- }
484
- ]
485
- },
486
- "TargetCreate": {
487
- "allOf": [
488
- {
489
- "$ref": "#/components/schemas/BaseTarget"
490
- },
491
- {
492
- "$ref": "#/components/schemas/BaseSystemFields"
493
- },
494
- {
495
- "$ref": "#/components/schemas/BaseTargetRequired"
496
- }
497
- ]
498
- },
499
- "TargetPatch": {
500
- "allOf": [
501
- {
502
- "$ref": "#/components/schemas/BaseTarget"
503
- },
504
- {
505
- "$ref": "#/components/schemas/BaseSystemFields"
506
- }
507
- ]
508
- }
509
- },
510
- "parameters": {
511
- "HydrateQueryParam": {
512
- "name": "hydrate",
513
- "in": "query",
514
- "required": false,
515
- "description": "Hydrates entities in relations when passed true",
516
- "schema": {
517
- "type": "boolean",
518
- "default": false
519
- }
520
- },
521
- "StrictQueryParam": {
522
- "name": "strict",
523
- "in": "query",
524
- "required": false,
525
- "description": "When passed true, the response will contain only fields that match the schema, with non-matching fields included in `__additional`",
526
- "schema": {
527
- "type": "boolean",
528
- "default": false
529
- }
530
- },
531
- "TargetIdPathParam": {
532
- "name": "targetId",
533
- "description": "The target id",
534
- "in": "path",
535
- "required": true,
536
- "schema": {
537
- "$ref": "#/components/schemas/BaseUUID"
538
- }
539
- }
540
- },
541
- "requestBodies": {
542
- "TargetCreateRequest": {
543
- "description": "Target to create",
544
- "required": true,
545
- "content": {
546
- "application/json": {
547
- "schema": {
548
- "$ref": "#/components/schemas/TargetCreate"
549
- }
550
- }
551
- }
552
- },
553
- "TargetPatchRequest": {
554
- "description": "Target to patch",
555
- "required": true,
556
- "content": {
557
- "application/json": {
558
- "schema": {
559
- "$ref": "#/components/schemas/TargetPatch"
560
- }
561
- }
562
- }
563
- },
564
- "TargetUpdateRequest": {
565
- "description": "Target to update",
566
- "required": true,
567
- "content": {
568
- "application/json": {
569
- "schema": {
570
- "$ref": "#/components/schemas/TargetCreate"
571
- }
572
- }
573
- }
574
- }
575
- },
576
- "responses": {
577
- "ClientErrorResponse": {
578
- "description": "Any error based on client data errors",
579
- "content": {
580
- "application/json": {
581
- "schema": {
582
- "$ref": "#/components/schemas/ClientError"
583
- }
584
- }
585
- }
586
- },
587
- "ServerErrorResponse": {
588
- "description": "Any error based on the server-side",
589
- "content": {
590
- "application/json": {
591
- "schema": {
592
- "$ref": "#/components/schemas/ServerError"
593
- }
594
- }
595
- }
596
- },
597
- "TargetResponse": {
598
- "description": "Target entity response",
599
- "content": {
600
- "application/json": {
601
- "schema": {
602
- "$ref": "#/components/schemas/Target"
603
- }
604
- }
605
- }
606
- }
607
- }
608
- }
609
- }
@@ -1,14 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-YPSWSI3M.js";
4
-
5
- // src/definitions/customer-portal-runtime.json
6
- var require_customer_portal_runtime = __commonJS({
7
- "src/definitions/customer-portal-runtime.json"(exports, module) {
8
- module.exports = { s: "https://customer-portal-api.sls.epilot.io", o: [["upsertPortal", "post", "/v2/portal/portal", [["origin", "q", true], ["portal_id", "q"]], 1], ["createUser", "post", "/v2/portal/public/user", [["origin", "q", true]], 1], ["createUserV3", "post", "/v3/portal/public/user", [["portal_id", "q"], ["domain", "q"]], 1], ["validateToken", "post", "/v2/portal/token/validate"], ["revokeToken", "post", "/v2/portal/token/revoke", null, 1], ["getPortalConfigByDomain", "get", "/v2/portal/public/config", [["domain", "q", true]]], ["getPortalConfig", "get", "/v2/portal/config", [["origin", "q"]]], ["deletePortal", "delete", "/v2/portal/config", [["origin", "q", true]]], ["getPortalExtensions", "get", "/v2/portal/extensions", [["origin", "q"]]], ["getPublicPortalExtensionDetails", "get", "/v2/portal/public/extensions", [["org_id", "q", true], ["origin", "q", true]]], ["getPortalExtensionsV3", "get", "/v3/portal/extensions", [["portal_id", "q", true]]], ["getPublicPortalExtensionDetailsV3", "get", "/v3/portal/public/extensions", [["org_id", "q"], ["portal_id", "q"], ["domain", "q"]]], ["getConsumption", "get", "/v2/portal/consumption", [["app_id", "q"], ["extensionId", "q", true], ["hookId", "q", true], ["meter_id", "q"], ["from", "q", true], ["to", "q", true], ["interval", "q", true], ["context_entities", "q"]]], ["getCosts", "get", "/v2/portal/costs", [["app_id", "q"], ["extensionId", "q", true], ["hookId", "q", true], ["meter_id", "q"], ["from", "q", true], ["to", "q", true], ["interval", "q", true], ["context_entities", "q"]]], ["getPrices", "get", "/v2/portal/prices", [["app_id", "q"], ["extensionId", "q", true], ["hookId", "q", true], ["meter_id", "q"], ["from", "q", true], ["to", "q", true], ["interval", "q", true], ["context_entities", "q"]]], ["getExternalLinks", "get", "/v2/portal/external-links", [["origin", "q"], ["contactId", "q"]]], ["getResolvedExternalLink", "get", "/v2/portal/resolve:external-link/{id}", [["id", "p", true], ["origin", "q"], ["contactId", "q"]]], ["getExternalLinksV3", "get", "/v3/portal/external-links", [["portal_id", "q"], ["contactId", "q"]]], ["getResolvedExternalLinkV3", "get", "/v3/portal/resolve:external-link/{id}", [["id", "p", true], ["portal_id", "q"], ["contactId", "q"]]], ["getResolvedSeamlessLink", "get", "/v2/portal/resolve:seamless-link", [["app_id", "q"], ["extension_id", "q", true], ["link_id", "q", true], ["context_entities", "q"]]], ["getPublicPortalConfig", "get", "/v2/portal/public/portal/config", [["org_id", "q", true], ["origin", "q", true]]], ["getOrgPortalConfig", "get", "/v2/portal/org/portal/config", [["origin", "q", true]]], ["getPublicPortalConfigV3", "get", "/v3/portal/public/portal/config", [["org_id", "q", true], ["portal_id", "q", true]]], ["getOrgPortalConfigV3", "get", "/v3/portal/org/portal/config", [["portal_id", "q", true]]], ["getAllPortalConfigs", "get", "/v2/portal/configs"], ["upsertEmailTemplates", "post", "/v2/portal/email-templates", [["origin", "q", true]], 1], ["getEmailTemplates", "get", "/v2/portal/email-templates", [["origin", "q", true]]], ["upsertEmailTemplatesByPortalId", "post", "/v3/portal/email-templates/{portal_id}", [["portal_id", "p", true]], 1], ["getEmailTemplatesByPortalId", "get", "/v3/portal/email-templates/{portal_id}", [["portal_id", "p", true]]], ["getPublicPortalWidgets", "get", "/v2/portal/public-widgets", [["org_id", "q", true], ["origin", "q", true]]], ["upsertPortalWidget", "post", "/v2/portal/widgets", [["origin", "q", true]], 1], ["getPortalWidgets", "get", "/v2/portal/widgets", [["origin", "q"], ["contract_id", "q"]]], ["getPortalWidgetsV3", "get", "/v3/portal/widgets", [["portal_id", "q", true], ["contract_id", "q"]]], ["upsertPortalWidgetV3", "post", "/v3/portal/widgets", [["portal_id", "q", true]], 1], ["savePortalFilesV3", "post", "/v3/portal/portal/files", [["portal_id", "q", true]], 1], ["replaceECPTemplateVariables", "post", "/v2/portal/replace-ecp-template-variables", null, 1], ["getOrganizationSettings", "get", "/v2/portal/org/settings"], ["getSchemas", "get", "/v2/portal/schemas"], ["getSchemasByDomain", "get", "/v2/portal/public/schemas", [["domain", "q", true]]], ["getOrganizationSettingsByDomain", "get", "/v2/portal/public/org/settings", [["domain", "q", true]]], ["extraPermissionAttributes", "get", "/v2/portal/extra-permission-attributes"], ["validateCaaRecords", "post", "/v2/portal/validate/caa-records", [["origin", "q", true]]], ["validateCaaRecordsV3", "post", "/v3/portal/validate/caa-records", [["portal_id", "q", true]]], ["getContact", "get", "/v2/portal/contact"], ["updateContact", "patch", "/v2/portal/contact", null, 1], ["getECPContact", "get", "/v2/portal/ecp/contact", [["id", "q", true]]], ["checkContactExists", "post", "/v2/portal/public/contact/exists", [["origin", "q", true]], 1], ["checkContactExistsV3", "post", "/v3/portal/public/contact/exists", [["portal_id", "q"], ["domain", "q"]], 1], ["getValidSecondaryAttributes", "get", "/v2/portal/contact/valid/secondary/attributes"], ["getPortalUser", "get", "/v2/portal/user"], ["updatePortalUser", "patch", "/v2/portal/user", null, 1], ["deletePortalUser", "delete", "/v2/portal/user"], ["updatePortalUserEmail", "put", "/v2/portal/user/update/email", null, 1], ["resendConfirmationEmail", "post", "/v2/portal/user/resend/confirmation-email/{id}", [["id", "p", true]]], ["fetchPortalUsersByRelatedEntity", "get", "/v2/portal/users/by-related-entity", [["entity_id", "q", true], ["slug", "q", true]]], ["confirmUser", "get", "/v2/portal/user/confirm", [["confirmation_link_token", "q", true], ["use_redirect", "q"]]], ["confirmUserWithUserId", "get", "/v2/portal/user/confirm/{id}", [["origin", "q", true], ["id", "p", true], ["org_id", "q", true]]], ["userExists", "get", "/v2/portal/public/user/exists", [["email", "q", true], ["org_id", "q", true], ["origin", "q"]]], ["userExistsV3", "get", "/v3/portal/public/user/exists", [["email", "q", true], ["org_id", "q"], ["portal_id", "q"], ["domain", "q"]]], ["getRecipientsToNotifyOnAutomation", "post", "/v2/portal/recipients-to-notify", null, 1], ["configureDistribution", "get", "/v2/portal/configure-distribution", [["origin", "q", true]]], ["configureDistributionV3", "get", "/v3/portal/configure-distribution", [["portal_id", "q", true]]], ["getAllOrders", "get", "/v2/portal/order", [["from", "q"], ["size", "q"]]], ["postOrderAcceptance", "post", "/v2/portal/order/{id}/acceptance", [["id", "p", true]], 1], ["getOrder", "get", "/v2/portal/order/{id}", [["id", "p", true]]], ["updateOrder", "patch", "/v2/portal/order/{id}", [["id", "p", true]], 1], ["getAllOpportunities", "get", "/v2/portal/opportunity", [["from", "q"], ["size", "q"]]], ["getSearchableAttributesForOpportunities", "get", "/v2/portal/opportunities/searchable-attributes", [["from", "q"], ["size", "q"]]], ["getSearchResultsForOpportunities", "post", "/v2/portal/opportunities/search", [["from", "q"], ["size", "q"]], 1], ["getOpportunity", "get", "/v2/portal/opportunities/{id}", [["id", "p", true]]], ["updateOpportunity", "patch", "/v2/portal/opportunities/{id}", [["id", "p", true]], 1], ["getAllRequests", "get", "/v2/portal/request", [["from", "q"], ["size", "q"]]], ["getAllContracts", "get", "/v2/portal/contract", [["from", "q"], ["size", "q"]]], ["getContract", "get", "/v2/portal/contract/{id}", [["id", "p", true]]], ["updateContract", "patch", "/v2/portal/contract/{id}", [["id", "p", true]], 1], ["addContractByIdentifiers", "post", "/v2/portal/contract/by-identifiers", null, 1], ["getEntityIdentifiers", "get", "/v2/portal/entity/identifiers/{slug}", [["slug", "p", true]]], ["getEntityActivityFeed", "get", "/v2/portal/entity/{slug}/{id}/activity", [["slug", "p", true], ["id", "p", true], ["after", "q"], ["before", "q"], ["from", "q"], ["size", "q"], ["type", "q"], ["include_relations", "q"]]], ["validateCadenceEntityEditRules", "get", "/v2/portal/{slug}/{id}:validateRule", [["slug", "p", true], ["id", "p", true], ["attribute", "q"]]], ["searchPaymentRelationsInEntities", "get", "/v2/portal/entities-by-payment/{id}", [["id", "p", true]]], ["createCustomEntityActivity", "put", "/v2/portal/entity/activity", [["entities", "q", false, "form"]], 1], ["saveEntityFile", "post", "/v2/portal/entity/file", null, 1], ["deleteEntityFile", "delete", "/v2/portal/entity/file", null, 1], ["savePortalFiles", "post", "/v2/portal/portal/files", null, 1], ["getRegistrationIdentifiers", "get", "/v2/portal/registration/identifiers"], ["getAllFiles", "get", "/v2/portal/user/files", [["from", "q", true], ["size", "q", true], ["entity_ids", "q"], ["file_types", "q"]]], ["getFileById", "get", "/v2/portal/user/file/{id}", [["id", "p", true]]], ["trackFileDownloaded", "post", "/v2/portal/user/file/{id}/downloaded", [["id", "p", true]]], ["getFilesCountByEntity", "get", "/v2/portal/user/files/count-by-entity"], ["getBillingEvents", "get", "/v2/portal/billing/events", [["from", "q"], ["size", "q"], ["entity_id", "q"], ["event_type", "q"], ["paid", "q"], ["date_after", "q"], ["date_before", "q"], ["sort", "q"]]], ["getCustomerBalance", "get", "/v2/portal/billing/customers/balance"], ["getBillingAccount", "get", "/v2/portal/billing/accounts/{id}"], ["loginToPortalAsUser", "post", "/v2/portal/admin:login-as-user", null, 1], ["triggerEntityAccessEvent", "post", "/v2/portal/entity/{schema}/access", [["schema", "p", true], ["entity_id", "q"], ["origin", "q", true]]], ["triggerEntityAccessEventV3", "post", "/v3/portal/entity/{schema}/access", [["schema", "p", true], ["entity_id", "q"], ["portal_id", "q"], ["domain", "q"]]], ["getPortalUserEntity", "post", "/v2/portal/entity:get", null, 1], ["searchPortalUserEntities", "post", "/v2/portal/entity:search", null, 1], ["canTriggerPortalFlow", "post", "/v2/portal/can-trigger-portal-flow", [["origin", "q"], ["portal_id", "q", true]], 1], ["getAutomationContext", "get", "/v2/portal/automation-context", [["activity_id", "q", true], ["type", "q", true]]], ["updateWorkflowStepAsDone", "put", "/v2/portal/workflow/{workflow_id}/{step_id}:markDone", [["workflow_id", "p", true], ["step_id", "p", true]]], ["getEntityWorkflows", "get", "/v2/portal/entity/{slug}/{id}/workflows", [["slug", "p", true], ["id", "p", true]]], ["uploadMeterReadingPhoto", "post", "/v2/portal/metering/reading/photo", null, 1], ["createMeterReading", "post", "/v2/portal/metering/reading", [["override_plausibility", "q"]], 1], ["getAllowedMeterReadingRange", "get", "/v2/portal/metering/reading/allowed-range/{meter_id}", [["meter_id", "p", true], ["origin", "q"], ["timestamp", "q"], ["context_entities", "q"]]], ["ssoLogin", "post", "/v2/portal/public/sso/login", [["origin", "q", true], ["org_id", "q", true], ["contact_id", "q"]], 1], ["ssoLoginV3", "post", "/v3/portal/public/sso/login", [["portal_id", "q"], ["org_id", "q"], ["domain", "q"], ["contact_id", "q"]], 1], ["ssoRedirect", "post", "/v2/portal/public/sso/redirect", [["web_uri", "q", true]], 1], ["ssoCallback", "post", "/v2/portal/public/sso/callback", [["domain", "q"]], 1], ["getPortalPage", "get", "/v2/portal/pages/{id}"], ["updatePortalPage", "put", "/v2/portal/pages/{id}", null, 1], ["deletePortalPage", "delete", "/v2/portal/pages/{id}"], ["getPortalPages", "get", "/v2/portal/pages", [["fields", "q"], ["filter", "q"], ["contract_id", "q"], ["context_entities", "q"]]], ["createPortalPage", "post", "/v2/portal/pages", null, 1], ["getPublicPages", "get", "/v2/portal/public/pages", [["domain", "q", true], ["fields", "q"], ["filter", "q"]]], ["interpolatePortalPages", "post", "/v2/portal/pages/interpolate", null, 1], ["getDefaultPages", "get", "/v2/portal/pages/default"], ["createPortalPageBlock", "post", "/v2/portal/pages/{id}/blocks", null, 1], ["getPortalPageBlocks", "get", "/v2/portal/pages/{id}/blocks"], ["getPortalPageBlock", "get", "/v2/portal/pages/{id}/blocks/{block_id}"], ["updatePortalPageBlock", "put", "/v2/portal/pages/{id}/blocks/{block_id}", null, 1], ["deletePortalPageBlock", "delete", "/v2/portal/pages/{id}/blocks/{block_id}"], ["getUserEntryPoint", "get", "/v2/portal/public/user/entry-point", [["email", "q", true], ["domain", "q", true]]], ["updateCampaignPortalBlockStatus", "put", "/v2/portal/campaign/{campaign_id}/entity:status", [["campaign_id", "p", true]], 1], ["updateNotificationsStatus", "put", "/v2/portal/notifications/entity:status", null, 1], ["deRegisterMLoginUser", "delete", "/v2/portal/public/m-login/deregister/{client_id}/{user_id}", [["client_id", "p", true], ["user_id", "p", true]]], ["notifyMLoginInterestChange", "post", "/v2/portal/public/m-login/notify-interest-change/{client_id}/{user_id}", [["client_id", "p", true], ["user_id", "p", true]], 1], ["createPortalConfig", "post", "/v3/portal/config", null, 1], ["getPortalConfigV3", "get", "/v3/portal/config/{portal_id}", [["portal_id", "p", true]]], ["putPortalConfig", "put", "/v3/portal/config/{portal_id}", [["portal_id", "p", true]], 1], ["deletePortalConfig", "delete", "/v3/portal/config/{portal_id}", [["portal_id", "p", true]]], ["listAllPortalConfigs", "get", "/v3/portal/configs"], ["swapPortalConfig", "post", "/v3/portal/config/swap", null, 1], ["invitePartner", "post", "/v3/portal/partner/invite", null, 1], ["listBusinessPartners", "get", "/v3/portal/partner/list"], ["resendPartnerInvitation", "post", "/v3/portal/partner/{partner_id}/resend-invitation", [["partner_id", "p", true]]], ["revokePartner", "delete", "/v3/portal/partner/{partner_id}/revoke", [["partner_id", "p", true]]], ["disablePartner", "post", "/v3/portal/partner/{partner_id}/disable", [["partner_id", "p", true]]], ["enablePartner", "post", "/v3/portal/partner/{partner_id}/enable", [["partner_id", "p", true]]]], v: "3.0.3", pp: { "/v2/portal/billing/accounts/{id}": [["id", "p", true]], "/v2/portal/pages/{id}": [["id", "p", true]], "/v2/portal/pages": [["domain", "q", true]], "/v2/portal/pages/{id}/blocks": [["id", "p", true]], "/v2/portal/pages/{id}/blocks/{block_id}": [["id", "p", true], ["block_id", "p", true]] } };
9
- }
10
- });
11
-
12
- export {
13
- require_customer_portal_runtime
14
- };