@epilot/sdk 2.19.0 → 2.19.1

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 (128) hide show
  1. package/definitions/app-runtime.json +1 -1
  2. package/definitions/app.json +135 -3
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +8 -8
  12. package/dist/apis/app.d.cts +2 -2
  13. package/dist/apis/app.d.ts +2 -2
  14. package/dist/apis/app.js +2 -2
  15. package/dist/apis/audit-logs.cjs +6 -6
  16. package/dist/apis/audit-logs.js +1 -1
  17. package/dist/apis/automation.cjs +6 -6
  18. package/dist/apis/automation.js +1 -1
  19. package/dist/apis/billing.cjs +6 -6
  20. package/dist/apis/billing.js +1 -1
  21. package/dist/apis/blueprint-manifest.cjs +6 -6
  22. package/dist/apis/blueprint-manifest.js +1 -1
  23. package/dist/apis/calendar.cjs +6 -6
  24. package/dist/apis/calendar.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/file.cjs +6 -6
  54. package/dist/apis/file.js +1 -1
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/integration-toolkit.cjs +6 -6
  58. package/dist/apis/integration-toolkit.js +1 -1
  59. package/dist/apis/journey.cjs +6 -6
  60. package/dist/apis/journey.js +1 -1
  61. package/dist/apis/kanban.cjs +6 -6
  62. package/dist/apis/kanban.js +1 -1
  63. package/dist/apis/message.cjs +6 -6
  64. package/dist/apis/message.js +1 -1
  65. package/dist/apis/metering.cjs +6 -6
  66. package/dist/apis/metering.js +1 -1
  67. package/dist/apis/notes.cjs +6 -6
  68. package/dist/apis/notes.js +1 -1
  69. package/dist/apis/notification.cjs +6 -6
  70. package/dist/apis/notification.js +1 -1
  71. package/dist/apis/organization.cjs +6 -6
  72. package/dist/apis/organization.js +1 -1
  73. package/dist/apis/partner-directory.cjs +6 -6
  74. package/dist/apis/partner-directory.js +1 -1
  75. package/dist/apis/permissions.cjs +6 -6
  76. package/dist/apis/permissions.js +1 -1
  77. package/dist/apis/pricing-tier.cjs +6 -6
  78. package/dist/apis/pricing-tier.js +1 -1
  79. package/dist/apis/pricing.cjs +6 -6
  80. package/dist/apis/pricing.js +1 -1
  81. package/dist/apis/purpose.cjs +6 -6
  82. package/dist/apis/purpose.js +1 -1
  83. package/dist/apis/query.cjs +6 -6
  84. package/dist/apis/query.js +1 -1
  85. package/dist/apis/sandbox.cjs +6 -6
  86. package/dist/apis/sandbox.js +1 -1
  87. package/dist/apis/sharing.cjs +6 -6
  88. package/dist/apis/sharing.js +1 -1
  89. package/dist/apis/snapshot.cjs +6 -6
  90. package/dist/apis/snapshot.js +1 -1
  91. package/dist/apis/submission.cjs +6 -6
  92. package/dist/apis/submission.js +1 -1
  93. package/dist/apis/target.cjs +6 -6
  94. package/dist/apis/target.js +1 -1
  95. package/dist/apis/targeting.cjs +6 -6
  96. package/dist/apis/targeting.js +1 -1
  97. package/dist/apis/template-variables.cjs +6 -6
  98. package/dist/apis/template-variables.js +1 -1
  99. package/dist/apis/user.cjs +6 -6
  100. package/dist/apis/user.js +1 -1
  101. package/dist/apis/validation-rules.cjs +6 -6
  102. package/dist/apis/validation-rules.js +1 -1
  103. package/dist/apis/webhooks.cjs +6 -6
  104. package/dist/apis/webhooks.js +1 -1
  105. package/dist/apis/workflow-definition.cjs +6 -6
  106. package/dist/apis/workflow-definition.js +1 -1
  107. package/dist/apis/workflow.cjs +6 -6
  108. package/dist/apis/workflow.js +1 -1
  109. package/dist/app-RZ2JCNZ7.js +7 -0
  110. package/dist/app-U7UEBBWK.cjs +7 -0
  111. package/dist/app-runtime-2MEGUF3G.cjs +5 -0
  112. package/dist/{app-runtime-NBGFHFT2.js → app-runtime-T63JMR4T.js} +1 -1
  113. package/dist/{app.d-CZDjyxee.d.cts → app.d-CyI0Leab.d.cts} +137 -2
  114. package/dist/{app.d-CZDjyxee.d.ts → app.d-CyI0Leab.d.ts} +137 -2
  115. package/dist/{chunk-TNRT33VQ.js → chunk-4MILKZOO.js} +1 -1
  116. package/dist/{chunk-BVCHHE2R.js → chunk-7REPAE5F.js} +2 -2
  117. package/dist/{chunk-XHVIF7AC.cjs → chunk-HPSTDQ62.cjs} +1 -1
  118. package/dist/{chunk-C543QHBO.cjs → chunk-XBUBHNFT.cjs} +2 -2
  119. package/dist/index.cjs +10 -10
  120. package/dist/index.d.cts +1 -1
  121. package/dist/index.d.ts +1 -1
  122. package/dist/index.js +2 -2
  123. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  124. package/docs/app.md +336 -173
  125. package/package.json +11 -12
  126. package/dist/app-IXCUVIHD.js +0 -7
  127. package/dist/app-RKHOTF7Z.cjs +0 -7
  128. package/dist/app-runtime-AAQHTC7F.cjs +0 -5
package/docs/app.md CHANGED
@@ -32,6 +32,7 @@ const { data } = await appClient.getPublicFacingComponent(...)
32
32
  - [`patchInstallation`](#patchinstallation)
33
33
  - [`uninstall`](#uninstall)
34
34
  - [`promoteVersion`](#promoteversion)
35
+ - [`resolveOptions`](#resolveoptions)
35
36
 
36
37
  **App Configuration**
37
38
  - [`listConfigurations`](#listconfigurations)
@@ -419,6 +420,22 @@ const { data } = await client.getPublicConfiguration({
419
420
  "secrets": ["string"]
420
421
  }
421
422
  ],
423
+ "options": [
424
+ {
425
+ "key": "string",
426
+ "label": "string",
427
+ "required": true,
428
+ "description": "string",
429
+ "repeatable": true,
430
+ "fields": [],
431
+ "value": {},
432
+ "type": "text",
433
+ "sensitive": true,
434
+ "configured": true,
435
+ "lifted": true,
436
+ "value_updated_at": "string"
437
+ }
438
+ ],
422
439
  "is_beta": true,
423
440
  "deprecated_at": "string",
424
441
  "version": "string",
@@ -441,6 +458,7 @@ const { data } = await client.getPublicConfiguration({
441
458
  "owner_org_id": "string",
442
459
  "components": [],
443
460
  "functions": [],
461
+ "options": [],
444
462
  "visibility": "private",
445
463
  "public": false,
446
464
  "pending": false,
@@ -533,6 +551,22 @@ const { data } = await client.getConfiguration({
533
551
  "secrets": ["string"]
534
552
  }
535
553
  ],
554
+ "options": [
555
+ {
556
+ "key": "string",
557
+ "label": "string",
558
+ "required": true,
559
+ "description": "string",
560
+ "repeatable": true,
561
+ "fields": [],
562
+ "value": {},
563
+ "type": "text",
564
+ "sensitive": true,
565
+ "configured": true,
566
+ "lifted": true,
567
+ "value_updated_at": "string"
568
+ }
569
+ ],
536
570
  "visibility": "private",
537
571
  "public": false,
538
572
  "pending": false,
@@ -638,7 +672,8 @@ const { data } = await client.queryEvents(
638
672
  source: ['CUSTOM_JOURNEY_BLOCK'],
639
673
  component_id: ['string'],
640
674
  event_type: ['ERROR'],
641
- correlation_id: 'string'
675
+ correlation_id: 'string',
676
+ search: 'string'
642
677
  },
643
678
  aggregation: {
644
679
  group_by: ['source'],
@@ -646,7 +681,8 @@ const { data } = await client.queryEvents(
646
681
  },
647
682
  pagination: {
648
683
  page: 1,
649
- page_size: 100
684
+ page_size: 100,
685
+ before: '1970-01-01T00:00:00.000Z'
650
686
  },
651
687
  sort: {
652
688
  field: 'timestamp',
@@ -671,7 +707,8 @@ const { data } = await client.queryEvents(
671
707
  "source": ["CUSTOM_JOURNEY_BLOCK"],
672
708
  "component_id": ["string"],
673
709
  "event_type": ["ERROR"],
674
- "correlation_id": "string"
710
+ "correlation_id": "string",
711
+ "search": "string"
675
712
  },
676
713
  "aggregation": {
677
714
  "group_by": ["source"],
@@ -679,7 +716,8 @@ const { data } = await client.queryEvents(
679
716
  },
680
717
  "pagination": {
681
718
  "page": 1,
682
- "page_size": 100
719
+ "page_size": 100,
720
+ "before": "1970-01-01T00:00:00.000Z"
683
721
  },
684
722
  "sort": {
685
723
  "field": "timestamp",
@@ -870,44 +908,9 @@ const { data } = await client.listVersions({
870
908
  {
871
909
  "app_id": "string",
872
910
  "owner_org_id": "string",
873
- "components": [
874
- {
875
- "component_type": "CUSTOM_JOURNEY_BLOCK",
876
- "configuration": {
877
- "override_dev_mode": {
878
- "override_url": "http://localhost:3000"
879
- },
880
- "component_url": "https://cdn.apps.com/123/v1.0.0/bundle.js",
881
- "component_tag": "string",
882
- "component_args": [
883
- {
884
- "type": "text"
885
- }
886
- ],
887
- "component_size": 0,
888
- "component_mapping": {}
889
- }
890
- }
891
- ],
892
- "functions": [
893
- {
894
- "name": "string",
895
- "type": "workflow",
896
- "label": {
897
- "en": "string",
898
- "de": "string"
899
- },
900
- "description": {
901
- "en": "string",
902
- "de": "string"
903
- },
904
- "code": "string",
905
- "schedule": "rate(30 minutes)",
906
- "schedule_timezone": "Europe/Berlin",
907
- "schedule_overlap": "skip",
908
- "secrets": ["string"]
909
- }
910
- ],
911
+ "components": [],
912
+ "functions": [],
913
+ "options": [],
911
914
  "visibility": "private",
912
915
  "public": false,
913
916
  "pending": false,
@@ -916,28 +919,9 @@ const { data } = await client.listVersions({
916
919
  "deprecated_at": "string",
917
920
  "changelog": "string",
918
921
  "review_status": "approved",
919
- "role": {
920
- "id": "string",
921
- "grants": [
922
- {
923
- "action": "string",
924
- "resource": "string"
925
- }
926
- ]
927
- },
928
- "blueprint_ref": {
929
- "manifest_id": "string",
930
- "job_id": "string",
931
- "source_blueprint_file": "string"
932
- },
933
- "version_audit": {
934
- "created_at": "string",
935
- "created_by": "string",
936
- "updated_at": "string",
937
- "updated_by": "string",
938
- "versioned_at": "string",
939
- "versioned_by": "string"
940
- }
922
+ "role": {},
923
+ "blueprint_ref": {},
924
+ "version_audit": {}
941
925
  }
942
926
  ],
943
927
  "pagination": {
@@ -1024,6 +1008,22 @@ const { data } = await client.getVersion({
1024
1008
  "secrets": ["string"]
1025
1009
  }
1026
1010
  ],
1011
+ "options": [
1012
+ {
1013
+ "key": "string",
1014
+ "label": "string",
1015
+ "required": true,
1016
+ "description": "string",
1017
+ "repeatable": true,
1018
+ "fields": [],
1019
+ "value": {},
1020
+ "type": "text",
1021
+ "sensitive": true,
1022
+ "configured": true,
1023
+ "lifted": true,
1024
+ "value_updated_at": "string"
1025
+ }
1026
+ ],
1027
1027
  "visibility": "private",
1028
1028
  "public": false,
1029
1029
  "pending": false,
@@ -1112,6 +1112,30 @@ const { data } = await client.patchVersion(
1112
1112
  schedule_overlap: 'skip',
1113
1113
  secrets: ['string']
1114
1114
  }
1115
+ ],
1116
+ options: [
1117
+ {
1118
+ key: 'string',
1119
+ label: 'string',
1120
+ required: true,
1121
+ description: 'string',
1122
+ repeatable: true,
1123
+ fields: [
1124
+ {
1125
+ key: 'string',
1126
+ label: 'string',
1127
+ description: 'string',
1128
+ required: true,
1129
+ type: 'text'
1130
+ }
1131
+ ],
1132
+ value: {},
1133
+ type: 'text',
1134
+ sensitive: true,
1135
+ configured: true,
1136
+ lifted: true,
1137
+ value_updated_at: 'string'
1138
+ }
1115
1139
  ]
1116
1140
  },
1117
1141
  )
@@ -1363,68 +1387,14 @@ const { data } = await client.listInstallations({
1363
1387
  "enabled": true,
1364
1388
  "name": "string",
1365
1389
  "icon_url": "string",
1366
- "option_values": [
1367
- {
1368
- "component_id": "string",
1369
- "options": [
1370
- {
1371
- "key": "string",
1372
- "value": {}
1373
- }
1374
- ]
1375
- }
1376
- ],
1377
- "components": [
1378
- {
1379
- "component_type": "CUSTOM_JOURNEY_BLOCK",
1380
- "configuration": {
1381
- "override_dev_mode": {
1382
- "override_url": "http://localhost:3000"
1383
- },
1384
- "component_url": "https://cdn.apps.com/123/v1.0.0/bundle.js",
1385
- "component_tag": "string",
1386
- "component_args": [
1387
- {
1388
- "type": "text"
1389
- }
1390
- ],
1391
- "component_size": 0,
1392
- "component_mapping": {}
1393
- }
1394
- }
1395
- ],
1396
- "functions": [
1397
- {
1398
- "name": "string",
1399
- "type": "workflow",
1400
- "label": {
1401
- "en": "string",
1402
- "de": "string"
1403
- },
1404
- "description": {
1405
- "en": "string",
1406
- "de": "string"
1407
- },
1408
- "code": "string",
1409
- "schedule": "rate(30 minutes)",
1410
- "schedule_timezone": "Europe/Berlin",
1411
- "schedule_overlap": "skip",
1412
- "secrets": ["string"]
1413
- }
1414
- ],
1390
+ "option_values": [],
1391
+ "components": [],
1392
+ "functions": [],
1393
+ "options": [],
1415
1394
  "installed_version": "string",
1416
1395
  "role": "string",
1417
- "blueprint_ref": {
1418
- "manifest_id": "string",
1419
- "job_id": "string",
1420
- "source_blueprint_file": "string"
1421
- },
1422
- "installation_audit": {
1423
- "created_at": "string",
1424
- "created_by": "string",
1425
- "updated_at": "string",
1426
- "updated_by": "string"
1427
- },
1396
+ "blueprint_ref": {},
1397
+ "installation_audit": {},
1428
1398
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
1429
1399
  }
1430
1400
  ],
@@ -1512,6 +1482,30 @@ const { data } = await client.getInstallation({
1512
1482
  "secrets": ["string"]
1513
1483
  }
1514
1484
  ],
1485
+ "options": [
1486
+ {
1487
+ "key": "string",
1488
+ "label": "string",
1489
+ "required": true,
1490
+ "description": "string",
1491
+ "repeatable": true,
1492
+ "fields": [
1493
+ {
1494
+ "key": "string",
1495
+ "label": "string",
1496
+ "description": "string",
1497
+ "required": true,
1498
+ "type": "text"
1499
+ }
1500
+ ],
1501
+ "value": {},
1502
+ "type": "text",
1503
+ "sensitive": true,
1504
+ "configured": true,
1505
+ "lifted": true,
1506
+ "value_updated_at": "string"
1507
+ }
1508
+ ],
1515
1509
  "installed_version": "string",
1516
1510
  "role": "string",
1517
1511
  "blueprint_ref": {
@@ -1622,6 +1616,30 @@ const { data } = await client.install(
1622
1616
  "secrets": ["string"]
1623
1617
  }
1624
1618
  ],
1619
+ "options": [
1620
+ {
1621
+ "key": "string",
1622
+ "label": "string",
1623
+ "required": true,
1624
+ "description": "string",
1625
+ "repeatable": true,
1626
+ "fields": [
1627
+ {
1628
+ "key": "string",
1629
+ "label": "string",
1630
+ "description": "string",
1631
+ "required": true,
1632
+ "type": "text"
1633
+ }
1634
+ ],
1635
+ "value": {},
1636
+ "type": "text",
1637
+ "sensitive": true,
1638
+ "configured": true,
1639
+ "lifted": true,
1640
+ "value_updated_at": "string"
1641
+ }
1642
+ ],
1625
1643
  "installed_version": "string",
1626
1644
  "role": "string",
1627
1645
  "blueprint_ref": {
@@ -1761,6 +1779,30 @@ const { data } = await client.promoteVersion({
1761
1779
  "secrets": ["string"]
1762
1780
  }
1763
1781
  ],
1782
+ "options": [
1783
+ {
1784
+ "key": "string",
1785
+ "label": "string",
1786
+ "required": true,
1787
+ "description": "string",
1788
+ "repeatable": true,
1789
+ "fields": [
1790
+ {
1791
+ "key": "string",
1792
+ "label": "string",
1793
+ "description": "string",
1794
+ "required": true,
1795
+ "type": "text"
1796
+ }
1797
+ ],
1798
+ "value": {},
1799
+ "type": "text",
1800
+ "sensitive": true,
1801
+ "configured": true,
1802
+ "lifted": true,
1803
+ "value_updated_at": "string"
1804
+ }
1805
+ ],
1764
1806
  "installed_version": "string",
1765
1807
  "role": "string",
1766
1808
  "blueprint_ref": {
@@ -1782,6 +1824,59 @@ const { data } = await client.promoteVersion({
1782
1824
 
1783
1825
  ---
1784
1826
 
1827
+ ### `resolveOptions`
1828
+
1829
+ 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.
1830
+
1831
+ `POST /v1/app/{appId}/options/resolve`
1832
+
1833
+ ```ts
1834
+ const { data } = await client.resolveOptions(
1835
+ {
1836
+ appId: 'example',
1837
+ },
1838
+ {
1839
+ keys: ['string']
1840
+ },
1841
+ )
1842
+ ```
1843
+
1844
+ <details>
1845
+ <summary>Response</summary>
1846
+
1847
+ ```json
1848
+ {
1849
+ "options": [
1850
+ {
1851
+ "key": "string",
1852
+ "label": "string",
1853
+ "required": true,
1854
+ "description": "string",
1855
+ "repeatable": true,
1856
+ "fields": [
1857
+ {
1858
+ "key": "string",
1859
+ "label": "string",
1860
+ "description": "string",
1861
+ "required": true,
1862
+ "type": "text"
1863
+ }
1864
+ ],
1865
+ "value": {},
1866
+ "type": "text",
1867
+ "sensitive": true,
1868
+ "configured": true,
1869
+ "lifted": true,
1870
+ "value_updated_at": "string"
1871
+ }
1872
+ ]
1873
+ }
1874
+ ```
1875
+
1876
+ </details>
1877
+
1878
+ ---
1879
+
1785
1880
  ### `ingestEvent`
1786
1881
 
1787
1882
  Internal endpoint for services to submit app events for analytic purposes
@@ -1940,6 +2035,10 @@ type Options = {
1940
2035
  }>
1941
2036
  value?: unknown
1942
2037
  type: "text" | "number" | "boolean" | "secret" | "object"
2038
+ sensitive?: boolean
2039
+ configured?: boolean
2040
+ lifted?: boolean
2041
+ value_updated_at?: string
1943
2042
  }
1944
2043
  ```
1945
2044
 
@@ -2075,7 +2174,12 @@ type BaseComponentCommon = {
2075
2174
  }>
2076
2175
  value?: unknown
2077
2176
  type: "text" | "number" | "boolean" | "secret" | "object"
2177
+ sensitive?: boolean
2178
+ configured?: boolean
2179
+ lifted?: boolean
2180
+ value_updated_at?: string
2078
2181
  }>
2182
+ uses_options?: string[]
2079
2183
  surfaces?: object
2080
2184
  }
2081
2185
  ```
@@ -2108,7 +2212,12 @@ type BaseComponent = {
2108
2212
  }>
2109
2213
  value?: unknown
2110
2214
  type: "text" | "number" | "boolean" | "secret" | "object"
2215
+ sensitive?: boolean
2216
+ configured?: boolean
2217
+ lifted?: boolean
2218
+ value_updated_at?: string
2111
2219
  }>
2220
+ uses_options?: string[]
2112
2221
  surfaces?: object
2113
2222
  }
2114
2223
  ```
@@ -3512,7 +3621,12 @@ type ConfigurationVersion = {
3512
3621
  fields?: { ... }
3513
3622
  value?: { ... }
3514
3623
  type: { ... }
3624
+ sensitive?: { ... }
3625
+ configured?: { ... }
3626
+ lifted?: { ... }
3627
+ value_updated_at?: { ... }
3515
3628
  }>
3629
+ uses_options?: string[]
3516
3630
  surfaces?: object
3517
3631
  }>
3518
3632
  functions?: Array<{
@@ -3532,6 +3646,26 @@ type ConfigurationVersion = {
3532
3646
  schedule_overlap?: "skip"
3533
3647
  secrets?: string[]
3534
3648
  }>
3649
+ options?: Array<{
3650
+ key: string
3651
+ label?: string
3652
+ required?: boolean
3653
+ description?: string
3654
+ repeatable?: boolean
3655
+ fields?: Array<{
3656
+ key: { ... }
3657
+ label?: { ... }
3658
+ description?: { ... }
3659
+ required?: { ... }
3660
+ type: { ... }
3661
+ }>
3662
+ value?: unknown
3663
+ type: "text" | "number" | "boolean" | "secret" | "object"
3664
+ sensitive?: boolean
3665
+ configured?: boolean
3666
+ lifted?: boolean
3667
+ value_updated_at?: string
3668
+ }>
3535
3669
  visibility?: "public" | "private"
3536
3670
  public?: boolean
3537
3671
  pending?: boolean
@@ -3637,7 +3771,12 @@ type Installation = {
3637
3771
  fields?: { ... }
3638
3772
  value?: { ... }
3639
3773
  type: { ... }
3774
+ sensitive?: { ... }
3775
+ configured?: { ... }
3776
+ lifted?: { ... }
3777
+ value_updated_at?: { ... }
3640
3778
  }>
3779
+ uses_options?: string[]
3641
3780
  surfaces?: object
3642
3781
  }>
3643
3782
  functions?: Array<{
@@ -3657,6 +3796,26 @@ type Installation = {
3657
3796
  schedule_overlap?: "skip"
3658
3797
  secrets?: string[]
3659
3798
  }>
3799
+ options?: Array<{
3800
+ key: string
3801
+ label?: string
3802
+ required?: boolean
3803
+ description?: string
3804
+ repeatable?: boolean
3805
+ fields?: Array<{
3806
+ key: { ... }
3807
+ label?: { ... }
3808
+ description?: { ... }
3809
+ required?: { ... }
3810
+ type: { ... }
3811
+ }>
3812
+ value?: unknown
3813
+ type: "text" | "number" | "boolean" | "secret" | "object"
3814
+ sensitive?: boolean
3815
+ configured?: boolean
3816
+ lifted?: boolean
3817
+ value_updated_at?: string
3818
+ }>
3660
3819
  installed_version: string
3661
3820
  role?: string
3662
3821
  blueprint_ref?: {
@@ -3720,7 +3879,12 @@ type PublicConfiguration = {
3720
3879
  fields?: { ... }
3721
3880
  value?: { ... }
3722
3881
  type: { ... }
3882
+ sensitive?: { ... }
3883
+ configured?: { ... }
3884
+ lifted?: { ... }
3885
+ value_updated_at?: { ... }
3723
3886
  }>
3887
+ uses_options?: string[]
3724
3888
  surfaces?: object
3725
3889
  }>
3726
3890
  functions?: Array<{
@@ -3740,6 +3904,26 @@ type PublicConfiguration = {
3740
3904
  schedule_overlap?: "skip"
3741
3905
  secrets?: string[]
3742
3906
  }>
3907
+ options?: Array<{
3908
+ key: string
3909
+ label?: string
3910
+ required?: boolean
3911
+ description?: string
3912
+ repeatable?: boolean
3913
+ fields?: Array<{
3914
+ key: { ... }
3915
+ label?: { ... }
3916
+ description?: { ... }
3917
+ required?: { ... }
3918
+ type: { ... }
3919
+ }>
3920
+ value?: unknown
3921
+ type: "text" | "number" | "boolean" | "secret" | "object"
3922
+ sensitive?: boolean
3923
+ configured?: boolean
3924
+ lifted?: boolean
3925
+ value_updated_at?: string
3926
+ }>
3743
3927
  is_beta?: boolean
3744
3928
  deprecated_at?: string
3745
3929
  version: string
@@ -3754,31 +3938,6 @@ type PublicConfiguration = {
3754
3938
  manifest_id?: string
3755
3939
  job_id?: string
3756
3940
  source_blueprint_file?: string
3757
- }
3758
- latest_version?: string
3759
- public?: boolean
3760
- versions?: Array<{
3761
- app_id: string
3762
- owner_org_id: string
3763
- components: Array<{
3764
- id: { ... }
3765
- name?: { ... }
3766
- description?: { ... }
3767
- options?: { ... }
3768
- surfaces?: { ... }
3769
- }>
3770
- functions?: Array<{
3771
- name: { ... }
3772
- type: { ... }
3773
- label?: { ... }
3774
- description?: { ... }
3775
- code: { ... }
3776
- schedule?: { ... }
3777
- schedule_timezone?: { ... }
3778
- schedule_overlap?: { ... }
3779
- secrets?: { ... }
3780
- }>
3781
- visibility?: "public" | "private"
3782
3941
  // ...
3783
3942
  }
3784
3943
  ```
@@ -3843,7 +4002,12 @@ type Configuration = {
3843
4002
  fields?: { ... }
3844
4003
  value?: { ... }
3845
4004
  type: { ... }
4005
+ sensitive?: { ... }
4006
+ configured?: { ... }
4007
+ lifted?: { ... }
4008
+ value_updated_at?: { ... }
3846
4009
  }>
4010
+ uses_options?: string[]
3847
4011
  surfaces?: object
3848
4012
  }>
3849
4013
  functions?: Array<{
@@ -3863,31 +4027,26 @@ type Configuration = {
3863
4027
  schedule_overlap?: "skip"
3864
4028
  secrets?: string[]
3865
4029
  }>
3866
- visibility?: "public" | "private"
3867
- public?: boolean
3868
- pending?: boolean
3869
- version: string
3870
- is_beta?: boolean
3871
- deprecated_at?: string
3872
- changelog?: string
3873
- review_status?: "approved" | "rejected" | "pending"
3874
- role?: {
3875
- id?: string
3876
- grants?: Array<{
3877
- action: { ... }
3878
- resource?: { ... }
4030
+ options?: Array<{
4031
+ key: string
4032
+ label?: string
4033
+ required?: boolean
4034
+ description?: string
4035
+ repeatable?: boolean
4036
+ fields?: Array<{
4037
+ key: { ... }
4038
+ label?: { ... }
4039
+ description?: { ... }
4040
+ required?: { ... }
4041
+ type: { ... }
3879
4042
  }>
3880
- }
3881
- blueprint_ref?: {
3882
- manifest_id?: string
3883
- job_id?: string
3884
- source_blueprint_file?: string
3885
- }
3886
- version_audit: {
3887
- created_at?: string
3888
- created_by?: string
3889
- updated_at?: string
3890
- updated_by?: string
4043
+ value?: unknown
4044
+ type: "text" | "number" | "boolean" | "secret" | "object"
4045
+ sensitive?: boolean
4046
+ configured?: boolean
4047
+ lifted?: boolean
4048
+ value_updated_at?: string
4049
+ }>
3891
4050
  // ...
3892
4051
  }
3893
4052
  ```
@@ -3980,6 +4139,7 @@ type EventsQuery = {
3980
4139
  component_id?: string[]
3981
4140
  event_type?: "ERROR" | "WARNING" | "INFO"[]
3982
4141
  correlation_id?: string
4142
+ search?: string
3983
4143
  }
3984
4144
  aggregation?: {
3985
4145
  group_by?: "source" | "component_id" | "event_type" | "hour" | "day"[]
@@ -3988,6 +4148,7 @@ type EventsQuery = {
3988
4148
  pagination?: {
3989
4149
  page?: number
3990
4150
  page_size?: number
4151
+ before?: string // date-time
3991
4152
  }
3992
4153
  sort?: {
3993
4154
  field?: "timestamp" | "event_type" | "component_id"
@@ -4011,6 +4172,7 @@ type EventsQueryResponse = {
4011
4172
  component_id?: { ... }
4012
4173
  event_type?: { ... }
4013
4174
  correlation_id?: { ... }
4175
+ search?: { ... }
4014
4176
  }
4015
4177
  aggregation?: {
4016
4178
  group_by?: { ... }
@@ -4019,6 +4181,7 @@ type EventsQueryResponse = {
4019
4181
  pagination?: {
4020
4182
  page?: { ... }
4021
4183
  page_size?: { ... }
4184
+ before?: { ... }
4022
4185
  }
4023
4186
  sort?: {
4024
4187
  field?: { ... }