@epilot/sdk 2.20.59 → 2.20.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/definitions/app.json +203 -5
- package/definitions/external-values.json +50 -6
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/chat.cjs +6 -6
- package/dist/apis/chat.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/external-values.cjs +6 -6
- package/dist/apis/external-values.d.cts +2 -2
- package/dist/apis/external-values.d.ts +2 -2
- package/dist/apis/external-values.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/identity.cjs +6 -6
- package/dist/apis/identity.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/phone-integration.cjs +6 -6
- package/dist/apis/phone-integration.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/app-R2RDF74T.js +7 -0
- package/dist/app-YIP3MOGW.cjs +7 -0
- package/dist/{app.d-CqXqNLxq.d.cts → app.d-DbOr4uIC.d.cts} +34 -6
- package/dist/{app.d-CqXqNLxq.d.ts → app.d-DbOr4uIC.d.ts} +34 -6
- package/dist/{chunk-WPDKRU5K.js → chunk-4MDOL6ZZ.js} +2 -2
- package/dist/{chunk-FPQK7U3P.cjs → chunk-RBSTI4X4.cjs} +2 -2
- package/dist/external-values-7BS76RVR.js +7 -0
- package/dist/external-values-R2XB2ALG.cjs +7 -0
- package/dist/{external-values.d-DjP9C_-r.d.cts → external-values.d-23q55J5P.d.cts} +74 -20
- package/dist/{external-values.d-DjP9C_-r.d.ts → external-values.d-23q55J5P.d.ts} +74 -20
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/docs/app.md +35 -1
- package/docs/external-values.md +57 -10
- package/package.json +1 -1
- package/dist/app-B3TAEVS4.js +0 -7
- package/dist/app-C5H6RLZ5.cjs +0 -7
- package/dist/external-values-DALDMPMB.js +0 -7
- package/dist/external-values-XG5LFKZQ.cjs +0 -7
package/definitions/app.json
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"summary": "getPublicFacingComponent",
|
|
68
68
|
"description": "Retrieve public facing components for an installed app",
|
|
69
69
|
"operationId": "getPublicFacingComponent",
|
|
70
|
+
"x-epilot-permissions": [],
|
|
70
71
|
"tags": [
|
|
71
72
|
"App Installation"
|
|
72
73
|
],
|
|
@@ -97,6 +98,11 @@
|
|
|
97
98
|
"summary": "listConfigurations",
|
|
98
99
|
"description": "List all app configuration metadata owned by an organization. To get full app configuration details, use the /v1/app-configurations/{appId} endpoint.",
|
|
99
100
|
"operationId": "listConfigurations",
|
|
101
|
+
"x-epilot-permissions": [
|
|
102
|
+
{
|
|
103
|
+
"action": "app:config:read"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
100
106
|
"tags": [
|
|
101
107
|
"App Configuration"
|
|
102
108
|
],
|
|
@@ -159,6 +165,11 @@
|
|
|
159
165
|
"summary": "createConfiguration",
|
|
160
166
|
"description": "Create a new private app configuration. To make it public a verification process needs to be triggered",
|
|
161
167
|
"operationId": "createConfiguration",
|
|
168
|
+
"x-epilot-permissions": [
|
|
169
|
+
{
|
|
170
|
+
"action": "app:config:write"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
162
173
|
"tags": [
|
|
163
174
|
"App Configuration"
|
|
164
175
|
],
|
|
@@ -192,6 +203,11 @@
|
|
|
192
203
|
"summary": "listPublicConfigurations",
|
|
193
204
|
"description": "List all publicly available app configurations that can be installed. This endpoint returns apps that have at least one public version.",
|
|
194
205
|
"operationId": "listPublicConfigurations",
|
|
206
|
+
"x-epilot-permissions": [
|
|
207
|
+
{
|
|
208
|
+
"action": "app:config:read"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
195
211
|
"tags": [
|
|
196
212
|
"App Configuration"
|
|
197
213
|
],
|
|
@@ -267,6 +283,11 @@
|
|
|
267
283
|
"summary": "getPublicConfiguration",
|
|
268
284
|
"description": "Retrieve the public configuration of an app to install in your tenant",
|
|
269
285
|
"operationId": "getPublicConfiguration",
|
|
286
|
+
"x-epilot-permissions": [
|
|
287
|
+
{
|
|
288
|
+
"action": "app:config:read"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
270
291
|
"tags": [
|
|
271
292
|
"App Configuration"
|
|
272
293
|
],
|
|
@@ -313,6 +334,11 @@
|
|
|
313
334
|
"summary": "getConfiguration",
|
|
314
335
|
"description": "Retrieve a specific app configuration",
|
|
315
336
|
"operationId": "getConfiguration",
|
|
337
|
+
"x-epilot-permissions": [
|
|
338
|
+
{
|
|
339
|
+
"action": "app:config:read"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
316
342
|
"tags": [
|
|
317
343
|
"App Configuration"
|
|
318
344
|
],
|
|
@@ -346,6 +372,11 @@
|
|
|
346
372
|
"summary": "patchMetadata",
|
|
347
373
|
"description": "Patch non-versioned configuration metadata of a given app configuration.",
|
|
348
374
|
"operationId": "patchMetadata",
|
|
375
|
+
"x-epilot-permissions": [
|
|
376
|
+
{
|
|
377
|
+
"action": "app:config:write"
|
|
378
|
+
}
|
|
379
|
+
],
|
|
349
380
|
"tags": [
|
|
350
381
|
"App Configuration"
|
|
351
382
|
],
|
|
@@ -365,6 +396,11 @@
|
|
|
365
396
|
"summary": "Delete app configuration",
|
|
366
397
|
"description": "Delete an app configuration and all its versions and components.",
|
|
367
398
|
"operationId": "deleteConfiguration",
|
|
399
|
+
"x-epilot-permissions": [
|
|
400
|
+
{
|
|
401
|
+
"action": "app:config:write"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
368
404
|
"tags": [
|
|
369
405
|
"App Configuration"
|
|
370
406
|
],
|
|
@@ -383,6 +419,11 @@
|
|
|
383
419
|
"summary": "queryEvents",
|
|
384
420
|
"description": "Query analytics events for a specific app with flexible filtering",
|
|
385
421
|
"operationId": "queryEvents",
|
|
422
|
+
"x-epilot-permissions": [
|
|
423
|
+
{
|
|
424
|
+
"action": "app:config:read"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
386
427
|
"tags": [
|
|
387
428
|
"App Analytics"
|
|
388
429
|
],
|
|
@@ -432,6 +473,11 @@
|
|
|
432
473
|
"summary": "createBundleUploadUrl",
|
|
433
474
|
"description": "Generate a presigned URL for uploading app bundle to /<app-id>/bundle.js path",
|
|
434
475
|
"operationId": "createBundleUploadUrl",
|
|
476
|
+
"x-epilot-permissions": [
|
|
477
|
+
{
|
|
478
|
+
"action": "app:config:write"
|
|
479
|
+
}
|
|
480
|
+
],
|
|
435
481
|
"tags": [
|
|
436
482
|
"App Configuration"
|
|
437
483
|
],
|
|
@@ -495,6 +541,11 @@
|
|
|
495
541
|
"post": {
|
|
496
542
|
"summary": "createZipUploadUrl",
|
|
497
543
|
"operationId": "createZipUploadUrl",
|
|
544
|
+
"x-epilot-permissions": [
|
|
545
|
+
{
|
|
546
|
+
"action": "app:config:write"
|
|
547
|
+
}
|
|
548
|
+
],
|
|
498
549
|
"description": "Generate a presigned URL to upload a zip file with artifacts that will be unpacked in a new directory under the /<app-id>/ path\n",
|
|
499
550
|
"tags": [
|
|
500
551
|
"App Configuration"
|
|
@@ -595,6 +646,11 @@
|
|
|
595
646
|
"summary": "createLogoUploadUrl",
|
|
596
647
|
"description": "Generate a presigned URL for uploading app logo to /<app-id>/logo.png path",
|
|
597
648
|
"operationId": "createLogoUploadUrl",
|
|
649
|
+
"x-epilot-permissions": [
|
|
650
|
+
{
|
|
651
|
+
"action": "app:config:write"
|
|
652
|
+
}
|
|
653
|
+
],
|
|
598
654
|
"tags": [
|
|
599
655
|
"App Configuration"
|
|
600
656
|
],
|
|
@@ -638,6 +694,11 @@
|
|
|
638
694
|
"summary": "deleteLogo",
|
|
639
695
|
"description": "Delete the app logo from /<app-id>/logo.png path",
|
|
640
696
|
"operationId": "deleteLogo",
|
|
697
|
+
"x-epilot-permissions": [
|
|
698
|
+
{
|
|
699
|
+
"action": "app:config:write"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
641
702
|
"tags": [
|
|
642
703
|
"App Configuration"
|
|
643
704
|
],
|
|
@@ -656,6 +717,11 @@
|
|
|
656
717
|
"summary": "listVersions",
|
|
657
718
|
"description": "Retrieve a list of versions for an app configuration",
|
|
658
719
|
"operationId": "listVersions",
|
|
720
|
+
"x-epilot-permissions": [
|
|
721
|
+
{
|
|
722
|
+
"action": "app:config:read"
|
|
723
|
+
}
|
|
724
|
+
],
|
|
659
725
|
"tags": [
|
|
660
726
|
"App Configuration"
|
|
661
727
|
],
|
|
@@ -732,6 +798,11 @@
|
|
|
732
798
|
"summary": "getVersion",
|
|
733
799
|
"description": "Retrieve a specific version of an app configuration",
|
|
734
800
|
"operationId": "getVersion",
|
|
801
|
+
"x-epilot-permissions": [
|
|
802
|
+
{
|
|
803
|
+
"action": "app:config:read"
|
|
804
|
+
}
|
|
805
|
+
],
|
|
735
806
|
"tags": [
|
|
736
807
|
"App Configuration"
|
|
737
808
|
],
|
|
@@ -775,6 +846,11 @@
|
|
|
775
846
|
"summary": "deleteVersion",
|
|
776
847
|
"description": "Delete a specific version of an app configuration",
|
|
777
848
|
"operationId": "deleteVersion",
|
|
849
|
+
"x-epilot-permissions": [
|
|
850
|
+
{
|
|
851
|
+
"action": "app:config:write"
|
|
852
|
+
}
|
|
853
|
+
],
|
|
778
854
|
"tags": [
|
|
779
855
|
"App Configuration"
|
|
780
856
|
],
|
|
@@ -817,6 +893,11 @@
|
|
|
817
893
|
"summary": "patchVersion",
|
|
818
894
|
"description": "Patch an existing app version",
|
|
819
895
|
"operationId": "patchVersion",
|
|
896
|
+
"x-epilot-permissions": [
|
|
897
|
+
{
|
|
898
|
+
"action": "app:config:write"
|
|
899
|
+
}
|
|
900
|
+
],
|
|
820
901
|
"tags": [
|
|
821
902
|
"App Configuration"
|
|
822
903
|
],
|
|
@@ -861,6 +942,11 @@
|
|
|
861
942
|
"summary": "getReview",
|
|
862
943
|
"description": "Retrieve the review status of a specific app version",
|
|
863
944
|
"operationId": "getReview",
|
|
945
|
+
"x-epilot-permissions": [
|
|
946
|
+
{
|
|
947
|
+
"action": "app:config:read"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
864
950
|
"tags": [
|
|
865
951
|
"App Configuration"
|
|
866
952
|
],
|
|
@@ -909,6 +995,11 @@
|
|
|
909
995
|
"summary": "createReview",
|
|
910
996
|
"description": "Submit an app version for review to make it public",
|
|
911
997
|
"operationId": "createReview",
|
|
998
|
+
"x-epilot-permissions": [
|
|
999
|
+
{
|
|
1000
|
+
"action": "app:config:write"
|
|
1001
|
+
}
|
|
1002
|
+
],
|
|
912
1003
|
"tags": [
|
|
913
1004
|
"App Configuration"
|
|
914
1005
|
],
|
|
@@ -965,6 +1056,11 @@
|
|
|
965
1056
|
"summary": "createComponent",
|
|
966
1057
|
"description": "Patch an existing app version to create/add a component",
|
|
967
1058
|
"operationId": "createComponent",
|
|
1059
|
+
"x-epilot-permissions": [
|
|
1060
|
+
{
|
|
1061
|
+
"action": "app:config:write"
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
968
1064
|
"tags": [
|
|
969
1065
|
"App Configuration"
|
|
970
1066
|
],
|
|
@@ -1021,6 +1117,11 @@
|
|
|
1021
1117
|
"summary": "patchComponent",
|
|
1022
1118
|
"description": "Patch an existing app version to update its components",
|
|
1023
1119
|
"operationId": "patchComponent",
|
|
1120
|
+
"x-epilot-permissions": [
|
|
1121
|
+
{
|
|
1122
|
+
"action": "app:config:write"
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1024
1125
|
"tags": [
|
|
1025
1126
|
"App Configuration"
|
|
1026
1127
|
],
|
|
@@ -1072,6 +1173,11 @@
|
|
|
1072
1173
|
"summary": "deleteComponent",
|
|
1073
1174
|
"description": "Delete a specific component from an app version",
|
|
1074
1175
|
"operationId": "deleteComponent",
|
|
1176
|
+
"x-epilot-permissions": [
|
|
1177
|
+
{
|
|
1178
|
+
"action": "app:config:write"
|
|
1179
|
+
}
|
|
1180
|
+
],
|
|
1075
1181
|
"tags": [
|
|
1076
1182
|
"App Configuration"
|
|
1077
1183
|
],
|
|
@@ -1119,6 +1225,11 @@
|
|
|
1119
1225
|
"summary": "cloneVersion",
|
|
1120
1226
|
"description": "Clone an existing app version to create a new version",
|
|
1121
1227
|
"operationId": "cloneVersion",
|
|
1228
|
+
"x-epilot-permissions": [
|
|
1229
|
+
{
|
|
1230
|
+
"action": "app:config:write"
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1122
1233
|
"tags": [
|
|
1123
1234
|
"App Configuration"
|
|
1124
1235
|
],
|
|
@@ -1194,6 +1305,11 @@
|
|
|
1194
1305
|
"summary": "listInstallations",
|
|
1195
1306
|
"description": "Retrieve a list of installed apps for the organization.",
|
|
1196
1307
|
"operationId": "listInstallations",
|
|
1308
|
+
"x-epilot-permissions": [
|
|
1309
|
+
{
|
|
1310
|
+
"action": "app:view"
|
|
1311
|
+
}
|
|
1312
|
+
],
|
|
1197
1313
|
"tags": [
|
|
1198
1314
|
"App Installation"
|
|
1199
1315
|
],
|
|
@@ -1275,6 +1391,11 @@
|
|
|
1275
1391
|
"summary": "getInstallation",
|
|
1276
1392
|
"description": "Retrieve details of an installed app by its ID.",
|
|
1277
1393
|
"operationId": "getInstallation",
|
|
1394
|
+
"x-epilot-permissions": [
|
|
1395
|
+
{
|
|
1396
|
+
"action": "app:view"
|
|
1397
|
+
}
|
|
1398
|
+
],
|
|
1278
1399
|
"tags": [
|
|
1279
1400
|
"App Installation"
|
|
1280
1401
|
],
|
|
@@ -1308,6 +1429,11 @@
|
|
|
1308
1429
|
"summary": "install",
|
|
1309
1430
|
"description": "Upsert app installation by its ID.",
|
|
1310
1431
|
"operationId": "install",
|
|
1432
|
+
"x-epilot-permissions": [
|
|
1433
|
+
{
|
|
1434
|
+
"action": "app:install"
|
|
1435
|
+
}
|
|
1436
|
+
],
|
|
1311
1437
|
"tags": [
|
|
1312
1438
|
"App Installation"
|
|
1313
1439
|
],
|
|
@@ -1344,6 +1470,11 @@
|
|
|
1344
1470
|
"summary": "patchInstallation",
|
|
1345
1471
|
"description": "Patch an installed app by its ID.",
|
|
1346
1472
|
"operationId": "patchInstallation",
|
|
1473
|
+
"x-epilot-permissions": [
|
|
1474
|
+
{
|
|
1475
|
+
"action": "app:install"
|
|
1476
|
+
}
|
|
1477
|
+
],
|
|
1347
1478
|
"tags": [
|
|
1348
1479
|
"App Installation"
|
|
1349
1480
|
],
|
|
@@ -1364,8 +1495,11 @@
|
|
|
1364
1495
|
"204": {
|
|
1365
1496
|
"description": "App installation patched successfully."
|
|
1366
1497
|
},
|
|
1498
|
+
"400": {
|
|
1499
|
+
"description": "The requested `version` is not available to the requesting organization (`code: VERSION_NOT_VISIBLE`; `details.latest_visible_version` names the newest version it can install). Pass `version: latest` to take that version instead."
|
|
1500
|
+
},
|
|
1367
1501
|
"404": {
|
|
1368
|
-
"description": "App not found."
|
|
1502
|
+
"description": "App installation not found."
|
|
1369
1503
|
}
|
|
1370
1504
|
}
|
|
1371
1505
|
},
|
|
@@ -1373,6 +1507,11 @@
|
|
|
1373
1507
|
"summary": "uninstall",
|
|
1374
1508
|
"description": "Uninstall an app by its ID.",
|
|
1375
1509
|
"operationId": "uninstall",
|
|
1510
|
+
"x-epilot-permissions": [
|
|
1511
|
+
{
|
|
1512
|
+
"action": "app:uninstall"
|
|
1513
|
+
}
|
|
1514
|
+
],
|
|
1376
1515
|
"tags": [
|
|
1377
1516
|
"App Installation"
|
|
1378
1517
|
],
|
|
@@ -1401,6 +1540,11 @@
|
|
|
1401
1540
|
"summary": "promoteVersion",
|
|
1402
1541
|
"description": "Update an installed app to a new version",
|
|
1403
1542
|
"operationId": "promoteVersion",
|
|
1543
|
+
"x-epilot-permissions": [
|
|
1544
|
+
{
|
|
1545
|
+
"action": "app:config:write"
|
|
1546
|
+
}
|
|
1547
|
+
],
|
|
1404
1548
|
"tags": [
|
|
1405
1549
|
"App Installation"
|
|
1406
1550
|
],
|
|
@@ -1447,6 +1591,7 @@
|
|
|
1447
1591
|
"summary": "resolveOptions",
|
|
1448
1592
|
"description": "Resolve the effective app-level options of an installation, including decrypted sensitive values (secrets). This endpoint accepts epilot internal-auth tokens exclusively (internal service calls, e.g. automation-workers or the customer portal API) — no user token, API key, or app token can call it, regardless of roles. Every call is audit-logged with the caller identity.",
|
|
1449
1593
|
"operationId": "resolveOptions",
|
|
1594
|
+
"x-epilot-permissions": [],
|
|
1450
1595
|
"tags": [
|
|
1451
1596
|
"App Installation"
|
|
1452
1597
|
],
|
|
@@ -1510,6 +1655,11 @@
|
|
|
1510
1655
|
"post": {
|
|
1511
1656
|
"summary": "ingestEvent",
|
|
1512
1657
|
"operationId": "ingestEvent",
|
|
1658
|
+
"x-epilot-permissions": [
|
|
1659
|
+
{
|
|
1660
|
+
"action": "app:config:write"
|
|
1661
|
+
}
|
|
1662
|
+
],
|
|
1513
1663
|
"description": "Internal endpoint for services to submit app events for analytic purposes",
|
|
1514
1664
|
"tags": [
|
|
1515
1665
|
"App Analytics"
|
|
@@ -1586,6 +1736,7 @@
|
|
|
1586
1736
|
"get": {
|
|
1587
1737
|
"summary": "publicProxyGet",
|
|
1588
1738
|
"operationId": "publicProxyGet",
|
|
1739
|
+
"x-epilot-permissions": [],
|
|
1589
1740
|
"description": "Forward a GET request to a registered proxy target from a public-facing component (e.g. journey blocks)",
|
|
1590
1741
|
"tags": [
|
|
1591
1742
|
"App Proxy"
|
|
@@ -1613,6 +1764,7 @@
|
|
|
1613
1764
|
"post": {
|
|
1614
1765
|
"summary": "publicProxyPost",
|
|
1615
1766
|
"operationId": "publicProxyPost",
|
|
1767
|
+
"x-epilot-permissions": [],
|
|
1616
1768
|
"description": "Forward a POST request to a registered proxy target from a public-facing component (e.g. journey blocks)",
|
|
1617
1769
|
"tags": [
|
|
1618
1770
|
"App Proxy"
|
|
@@ -1649,6 +1801,7 @@
|
|
|
1649
1801
|
"put": {
|
|
1650
1802
|
"summary": "publicProxyPut",
|
|
1651
1803
|
"operationId": "publicProxyPut",
|
|
1804
|
+
"x-epilot-permissions": [],
|
|
1652
1805
|
"description": "Forward a PUT request to a registered proxy target from a public-facing component",
|
|
1653
1806
|
"tags": [
|
|
1654
1807
|
"App Proxy"
|
|
@@ -1685,6 +1838,7 @@
|
|
|
1685
1838
|
"patch": {
|
|
1686
1839
|
"summary": "publicProxyPatch",
|
|
1687
1840
|
"operationId": "publicProxyPatch",
|
|
1841
|
+
"x-epilot-permissions": [],
|
|
1688
1842
|
"description": "Forward a PATCH request to a registered proxy target from a public-facing component",
|
|
1689
1843
|
"tags": [
|
|
1690
1844
|
"App Proxy"
|
|
@@ -1721,6 +1875,7 @@
|
|
|
1721
1875
|
"delete": {
|
|
1722
1876
|
"summary": "publicProxyDelete",
|
|
1723
1877
|
"operationId": "publicProxyDelete",
|
|
1878
|
+
"x-epilot-permissions": [],
|
|
1724
1879
|
"description": "Forward a DELETE request to a registered proxy target from a public-facing component",
|
|
1725
1880
|
"tags": [
|
|
1726
1881
|
"App Proxy"
|
|
@@ -5154,7 +5309,7 @@
|
|
|
5154
5309
|
},
|
|
5155
5310
|
"ExternalValuesHook": {
|
|
5156
5311
|
"type": "object",
|
|
5157
|
-
"description": "One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `
|
|
5312
|
+
"description": "One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.contract }}`).\n\n`Context` is the name → value map the consumer supplies, one entry per context requirement it bound. Declare what a hook reads from `Context` in `contexts` so consumers can require it.\n",
|
|
5158
5313
|
"required": [
|
|
5159
5314
|
"id",
|
|
5160
5315
|
"name",
|
|
@@ -5233,7 +5388,7 @@
|
|
|
5233
5388
|
},
|
|
5234
5389
|
"body": {
|
|
5235
5390
|
"type": "object",
|
|
5236
|
-
"description": "JSON body to send. Values support variable interpolation. When omitted, `{
|
|
5391
|
+
"description": "JSON body to send. Values support variable interpolation. When omitted, `{ Context, Consumer }` is sent as-is.",
|
|
5237
5392
|
"additionalProperties": true
|
|
5238
5393
|
}
|
|
5239
5394
|
}
|
|
@@ -5262,6 +5417,13 @@
|
|
|
5262
5417
|
"default": "skip",
|
|
5263
5418
|
"description": "Behaviour when the external system is unavailable (timeout, network or upstream error). `skip`: consumers ignore conditions depending on this hook. `block`: consumers treat the dependent action as not allowed."
|
|
5264
5419
|
},
|
|
5420
|
+
"contexts": {
|
|
5421
|
+
"type": "array",
|
|
5422
|
+
"description": "The requirements the hook reads from `Context` (at most 10). An `entity` requirement means the consumer supplies the bound entities of that schema under `Context.<schema>` (e.g. `{{ Context.contract[0].external_id }}` needs `{ type: entity, schema: contract }`). More requirement types will be added later; consumers must ignore types they do not know.",
|
|
5423
|
+
"items": {
|
|
5424
|
+
"$ref": "#/components/schemas/ContextRequirement"
|
|
5425
|
+
}
|
|
5426
|
+
},
|
|
5265
5427
|
"cache": {
|
|
5266
5428
|
"type": "object",
|
|
5267
5429
|
"description": "Response caching. Off when omitted.",
|
|
@@ -5277,7 +5439,7 @@
|
|
|
5277
5439
|
},
|
|
5278
5440
|
"key": {
|
|
5279
5441
|
"type": "string",
|
|
5280
|
-
"description": "Liquid template for the cache key. Defaults to a hash of org, app, hook
|
|
5442
|
+
"description": "Liquid template for the cache key. Defaults to a hash of org, app, hook and `Context`."
|
|
5281
5443
|
}
|
|
5282
5444
|
}
|
|
5283
5445
|
},
|
|
@@ -5286,6 +5448,42 @@
|
|
|
5286
5448
|
}
|
|
5287
5449
|
}
|
|
5288
5450
|
},
|
|
5451
|
+
"ContextRequirement": {
|
|
5452
|
+
"description": "A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know.",
|
|
5453
|
+
"oneOf": [
|
|
5454
|
+
{
|
|
5455
|
+
"$ref": "#/components/schemas/EntityContextRequirement"
|
|
5456
|
+
}
|
|
5457
|
+
],
|
|
5458
|
+
"discriminator": {
|
|
5459
|
+
"propertyName": "type",
|
|
5460
|
+
"mapping": {
|
|
5461
|
+
"entity": "#/components/schemas/EntityContextRequirement"
|
|
5462
|
+
}
|
|
5463
|
+
}
|
|
5464
|
+
},
|
|
5465
|
+
"EntityContextRequirement": {
|
|
5466
|
+
"type": "object",
|
|
5467
|
+
"description": "The consumer supplies the bound entities of `schema` under `Context.<schema>`.",
|
|
5468
|
+
"required": [
|
|
5469
|
+
"type",
|
|
5470
|
+
"schema"
|
|
5471
|
+
],
|
|
5472
|
+
"properties": {
|
|
5473
|
+
"type": {
|
|
5474
|
+
"type": "string",
|
|
5475
|
+
"enum": [
|
|
5476
|
+
"entity"
|
|
5477
|
+
]
|
|
5478
|
+
},
|
|
5479
|
+
"schema": {
|
|
5480
|
+
"type": "string",
|
|
5481
|
+
"pattern": "^[a-z0-9_-]{1,100}$",
|
|
5482
|
+
"description": "Entity schema slug, e.g. `contract`.",
|
|
5483
|
+
"example": "contract"
|
|
5484
|
+
}
|
|
5485
|
+
}
|
|
5486
|
+
},
|
|
5289
5487
|
"ExternalValuesResult": {
|
|
5290
5488
|
"type": "object",
|
|
5291
5489
|
"description": "A single typed value extracted from the hook response. Exactly one of `template`, `path` or `jsonata` must be set.\n",
|
|
@@ -5325,7 +5523,7 @@
|
|
|
5325
5523
|
},
|
|
5326
5524
|
"jsonata": {
|
|
5327
5525
|
"type": "string",
|
|
5328
|
-
"description": "JSONata expression over `{ Response,
|
|
5526
|
+
"description": "JSONata expression over `{ Response, Context, Options, Env }`.",
|
|
5329
5527
|
"example": "$sum(Response.items.amount)"
|
|
5330
5528
|
}
|
|
5331
5529
|
}
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
"properties": {
|
|
242
242
|
"context": {
|
|
243
243
|
"type": "object",
|
|
244
|
-
"description": "Everything the consumer supplies for interpolation, as one name → value map.\nExposed to the hook's Liquid templates as `Context` / `context`, e.g.\n`{{ context.
|
|
244
|
+
"description": "Everything the consumer supplies for interpolation, as one name → value map.\nExposed to the hook's Liquid templates as `Context` / `context`, e.g.\n`{{ context.contract[0].external_id }}`.\n\nOne entry per context requirement the consumer bound (see\n`ExternalValueHookSummary.contexts`): for an `entity` requirement, the bound\nentities of that schema under its schema slug. This API gives no name special\ntreatment.\n",
|
|
245
245
|
"additionalProperties": true
|
|
246
246
|
},
|
|
247
247
|
"consumer": {
|
|
@@ -264,11 +264,13 @@
|
|
|
264
264
|
},
|
|
265
265
|
"example": {
|
|
266
266
|
"context": {
|
|
267
|
-
"
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
"contract": [
|
|
268
|
+
{
|
|
269
|
+
"_id": "8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a",
|
|
270
|
+
"external_id": "C-1001",
|
|
271
|
+
"installment_amount": 110
|
|
272
|
+
}
|
|
273
|
+
]
|
|
272
274
|
},
|
|
273
275
|
"consumer": {
|
|
274
276
|
"type": "validation_rule",
|
|
@@ -423,6 +425,48 @@
|
|
|
423
425
|
"items": {
|
|
424
426
|
"$ref": "#/components/schemas/ExternalValueResultSummary"
|
|
425
427
|
}
|
|
428
|
+
},
|
|
429
|
+
"contexts": {
|
|
430
|
+
"type": "array",
|
|
431
|
+
"description": "What the hook needs the consumer to supply in `context`, as declared in the hook\nconfig. Omitted when the hook declares none. A rule builder must require these\ncontexts on any rule that uses the hook, so the caller passes them in `context`.\nMore requirement types will follow; consumers ignore types they do not know.\n",
|
|
432
|
+
"items": {
|
|
433
|
+
"$ref": "#/components/schemas/ContextRequirement"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"ContextRequirement": {
|
|
439
|
+
"description": "Something a hook needs the consumer to supply in `context`, discriminated by `type`.\nToday only `entity`; more types will follow. Consumers ignore types they do not know.\n",
|
|
440
|
+
"oneOf": [
|
|
441
|
+
{
|
|
442
|
+
"$ref": "#/components/schemas/EntityContextRequirement"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"discriminator": {
|
|
446
|
+
"propertyName": "type",
|
|
447
|
+
"mapping": {
|
|
448
|
+
"entity": "#/components/schemas/EntityContextRequirement"
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"EntityContextRequirement": {
|
|
453
|
+
"type": "object",
|
|
454
|
+
"description": "The consumer supplies the bound entities of `schema` under `Context.<schema>`, e.g. a hook\ninterpolating `{{ Context.contract[0].external_id }}` declares\n`{ type: entity, schema: contract }`.\n",
|
|
455
|
+
"required": [
|
|
456
|
+
"type",
|
|
457
|
+
"schema"
|
|
458
|
+
],
|
|
459
|
+
"properties": {
|
|
460
|
+
"type": {
|
|
461
|
+
"type": "string",
|
|
462
|
+
"enum": [
|
|
463
|
+
"entity"
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
"schema": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"description": "Entity schema slug, e.g. `contract`.",
|
|
469
|
+
"example": "contract"
|
|
426
470
|
}
|
|
427
471
|
}
|
|
428
472
|
},
|
|
@@ -6,7 +6,7 @@ var _chunkZMBA3WV4cjs = require('../chunk-ZMBA3WV4.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkRBSTI4X4cjs = require('../chunk-RBSTI4X4.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/access-token.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkZMBA3WV4cjs.require_access_token_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunkRBSTI4X4cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkRBSTI4X4cjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkRBSTI4X4cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkRBSTI4X4cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
|
|
32
32
|
apiName: "accessToken"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var accessToken = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.accessToken = accessToken; exports.authorize =
|
|
42
|
+
exports.accessToken = accessToken; exports.authorize = _chunkRBSTI4X4cjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|
|
@@ -6,7 +6,7 @@ var _chunkLKRBFBFNcjs = require('../chunk-LKRBFBFN.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkRBSTI4X4cjs = require('../chunk-RBSTI4X4.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/address-suggestions.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkLKRBFBFNcjs.require_address_suggestions_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunkRBSTI4X4cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkRBSTI4X4cjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkRBSTI4X4cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkRBSTI4X4cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
|
|
32
32
|
apiName: "addressSuggestions"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var addressSuggestions = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.addressSuggestions = addressSuggestions; exports.authorize =
|
|
42
|
+
exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkRBSTI4X4cjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|