@epilot/sdk 2.18.14 → 2.18.16

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 (153) hide show
  1. package/definitions/calendar.json +25 -25
  2. package/definitions/integration-toolkit-runtime.json +1 -1
  3. package/definitions/integration-toolkit.json +379 -1
  4. package/definitions/message-runtime.json +1 -1
  5. package/definitions/message.json +481 -1
  6. package/dist/apis/access-token.cjs +6 -6
  7. package/dist/apis/access-token.js +1 -1
  8. package/dist/apis/address-suggestions.cjs +6 -6
  9. package/dist/apis/address-suggestions.js +1 -1
  10. package/dist/apis/address.cjs +6 -6
  11. package/dist/apis/address.js +1 -1
  12. package/dist/apis/ai-agents.cjs +6 -6
  13. package/dist/apis/ai-agents.js +1 -1
  14. package/dist/apis/app.cjs +6 -6
  15. package/dist/apis/app.js +1 -1
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +6 -6
  19. package/dist/apis/automation.js +1 -1
  20. package/dist/apis/billing.cjs +6 -6
  21. package/dist/apis/billing.js +1 -1
  22. package/dist/apis/blueprint-manifest.cjs +6 -6
  23. package/dist/apis/blueprint-manifest.js +1 -1
  24. package/dist/apis/calendar.cjs +6 -6
  25. package/dist/apis/calendar.d.cts +2 -2
  26. package/dist/apis/calendar.d.ts +2 -2
  27. package/dist/apis/calendar.js +1 -1
  28. package/dist/apis/configuration-hub.cjs +6 -6
  29. package/dist/apis/configuration-hub.js +1 -1
  30. package/dist/apis/consent.cjs +6 -6
  31. package/dist/apis/consent.js +1 -1
  32. package/dist/apis/customer-portal.cjs +6 -6
  33. package/dist/apis/customer-portal.js +1 -1
  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.js +1 -1
  42. package/dist/apis/document.cjs +6 -6
  43. package/dist/apis/document.js +1 -1
  44. package/dist/apis/email-settings.cjs +6 -6
  45. package/dist/apis/email-settings.js +1 -1
  46. package/dist/apis/email-template.cjs +6 -6
  47. package/dist/apis/email-template.js +1 -1
  48. package/dist/apis/entity-mapping.cjs +6 -6
  49. package/dist/apis/entity-mapping.js +1 -1
  50. package/dist/apis/entity.cjs +6 -6
  51. package/dist/apis/entity.js +1 -1
  52. package/dist/apis/environments.cjs +6 -6
  53. package/dist/apis/environments.js +1 -1
  54. package/dist/apis/event-catalog.cjs +6 -6
  55. package/dist/apis/event-catalog.js +1 -1
  56. package/dist/apis/file.cjs +6 -6
  57. package/dist/apis/file.js +1 -1
  58. package/dist/apis/iban.cjs +6 -6
  59. package/dist/apis/iban.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +8 -8
  61. package/dist/apis/integration-toolkit.d.cts +2 -2
  62. package/dist/apis/integration-toolkit.d.ts +2 -2
  63. package/dist/apis/integration-toolkit.js +2 -2
  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 +8 -8
  69. package/dist/apis/message.d.cts +2 -2
  70. package/dist/apis/message.d.ts +2 -2
  71. package/dist/apis/message.js +2 -2
  72. package/dist/apis/metering.cjs +6 -6
  73. package/dist/apis/metering.js +1 -1
  74. package/dist/apis/notes.cjs +6 -6
  75. package/dist/apis/notes.js +1 -1
  76. package/dist/apis/notification.cjs +6 -6
  77. package/dist/apis/notification.js +1 -1
  78. package/dist/apis/organization.cjs +6 -6
  79. package/dist/apis/organization.js +1 -1
  80. package/dist/apis/partner-directory.cjs +6 -6
  81. package/dist/apis/partner-directory.js +1 -1
  82. package/dist/apis/permissions.cjs +6 -6
  83. package/dist/apis/permissions.js +1 -1
  84. package/dist/apis/pricing-tier.cjs +6 -6
  85. package/dist/apis/pricing-tier.js +1 -1
  86. package/dist/apis/pricing.cjs +6 -6
  87. package/dist/apis/pricing.js +1 -1
  88. package/dist/apis/purpose.cjs +6 -6
  89. package/dist/apis/purpose.js +1 -1
  90. package/dist/apis/query.cjs +6 -6
  91. package/dist/apis/query.js +1 -1
  92. package/dist/apis/sandbox.cjs +6 -6
  93. package/dist/apis/sandbox.js +1 -1
  94. package/dist/apis/sharing.cjs +6 -6
  95. package/dist/apis/sharing.js +1 -1
  96. package/dist/apis/snapshot.cjs +6 -6
  97. package/dist/apis/snapshot.js +1 -1
  98. package/dist/apis/submission.cjs +6 -6
  99. package/dist/apis/submission.js +1 -1
  100. package/dist/apis/target.cjs +6 -6
  101. package/dist/apis/target.js +1 -1
  102. package/dist/apis/targeting.cjs +6 -6
  103. package/dist/apis/targeting.js +1 -1
  104. package/dist/apis/template-variables.cjs +6 -6
  105. package/dist/apis/template-variables.js +1 -1
  106. package/dist/apis/user.cjs +6 -6
  107. package/dist/apis/user.js +1 -1
  108. package/dist/apis/validation-rules.cjs +6 -6
  109. package/dist/apis/validation-rules.js +1 -1
  110. package/dist/apis/webhooks.cjs +6 -6
  111. package/dist/apis/webhooks.js +1 -1
  112. package/dist/apis/workflow-definition.cjs +6 -6
  113. package/dist/apis/workflow-definition.js +1 -1
  114. package/dist/apis/workflow.cjs +6 -6
  115. package/dist/apis/workflow.js +1 -1
  116. package/dist/{calendar-GJ7UX6PX.cjs → calendar-EMNHW6ME.cjs} +1 -1
  117. package/dist/{calendar-W42TSLFV.js → calendar-PZFEAXYE.js} +1 -1
  118. package/dist/{calendar.d-Cinz1Vzo.d.cts → calendar.d-Cz8R-GJ5.d.cts} +22 -7
  119. package/dist/{calendar.d-Cinz1Vzo.d.ts → calendar.d-Cz8R-GJ5.d.ts} +22 -7
  120. package/dist/chunk-EHLNSFCU.cjs +14 -0
  121. package/dist/chunk-ILRZHW2E.cjs +14 -0
  122. package/dist/chunk-OT6AETWN.js +14 -0
  123. package/dist/{chunk-6X7EGWOK.js → chunk-S7LXTIGZ.js} +5 -5
  124. package/dist/chunk-VA34RFFR.js +14 -0
  125. package/dist/{chunk-S7UE54HY.cjs → chunk-WCFT56OJ.cjs} +5 -5
  126. package/dist/index.cjs +12 -12
  127. package/dist/index.d.cts +3 -3
  128. package/dist/index.d.ts +3 -3
  129. package/dist/index.js +3 -3
  130. package/dist/integration-toolkit-GR4ZQAY5.cjs +7 -0
  131. package/dist/integration-toolkit-XGQNDLIZ.js +7 -0
  132. package/dist/{integration-toolkit-runtime-6J2KUTFL.js → integration-toolkit-runtime-3RZRSZCW.js} +1 -1
  133. package/dist/{integration-toolkit-runtime-REEOXZO6.cjs → integration-toolkit-runtime-ZWS4WRKI.cjs} +2 -2
  134. package/dist/{integration-toolkit.d-pP-3dBPT.d.cts → integration-toolkit.d-CoMi10QU.d.cts} +292 -1
  135. package/dist/{integration-toolkit.d-pP-3dBPT.d.ts → integration-toolkit.d-CoMi10QU.d.ts} +292 -1
  136. package/dist/message-BZN67NTB.js +7 -0
  137. package/dist/message-DBHA4PHI.cjs +7 -0
  138. package/dist/{message-runtime-5Z3POFZV.cjs → message-runtime-4JSNBEVL.cjs} +2 -2
  139. package/dist/{message-runtime-5AUGENW3.js → message-runtime-7UM7U4VL.js} +1 -1
  140. package/dist/{message.d-b-UwZUNb.d.cts → message.d-BHWCGH3q.d.cts} +330 -3
  141. package/dist/{message.d-b-UwZUNb.d.ts → message.d-BHWCGH3q.d.ts} +330 -3
  142. package/docs/calendar.md +16 -2
  143. package/docs/integration-toolkit.md +224 -0
  144. package/docs/message.md +385 -1
  145. package/package.json +1 -1
  146. package/dist/chunk-2ESIGECW.js +0 -14
  147. package/dist/chunk-JM63KEFZ.cjs +0 -14
  148. package/dist/chunk-TIH5X7Q4.cjs +0 -14
  149. package/dist/chunk-YWZCVCG2.js +0 -14
  150. package/dist/integration-toolkit-RIBZBI2Y.js +0 -7
  151. package/dist/integration-toolkit-RPWD4MAN.cjs +0 -7
  152. package/dist/message-F4HJQBF5.cjs +0 -7
  153. package/dist/message-TLEET26B.js +0 -7
@@ -45,6 +45,10 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
45
45
  - [`updateUseCase`](#updateusecase)
46
46
  - [`deleteUseCase`](#deleteusecase)
47
47
  - [`listUseCaseHistory`](#listusecasehistory)
48
+ - [`listDocumentationPages`](#listdocumentationpages)
49
+ - [`getDocumentationPage`](#getdocumentationpage)
50
+ - [`upsertDocumentationPage`](#upsertdocumentationpage)
51
+ - [`deleteDocumentationPage`](#deletedocumentationpage)
48
52
  - [`listIntegrationsV2`](#listintegrationsv2)
49
53
  - [`createIntegrationV2`](#createintegrationv2)
50
54
  - [`getIntegrationV2`](#getintegrationv2)
@@ -92,6 +96,7 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
92
96
  - [`createErpImport`](#createerpimport)
93
97
  - [`listErpImports`](#listerpimports)
94
98
  - [`getErpImport`](#geterpimport)
99
+ - [`deleteErpImport`](#deleteerpimport)
95
100
  - [`validateErpImport`](#validateerpimport)
96
101
  - [`suggestErpImportUseCases`](#suggesterpimportusecases)
97
102
  - [`executeErpImport`](#executeerpimport)
@@ -291,6 +296,9 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
291
296
  - [`GetMonitoringTimeSeriesV2Request`](#getmonitoringtimeseriesv2request)
292
297
  - [`TimeSeriesBreakdownItemV2`](#timeseriesbreakdownitemv2)
293
298
  - [`TimeSeriesBucketV2`](#timeseriesbucketv2)
299
+ - [`DocumentationPageSummary`](#documentationpagesummary)
300
+ - [`DocumentationPage`](#documentationpage)
301
+ - [`UpsertDocumentationPageRequest`](#upsertdocumentationpagerequest)
294
302
 
295
303
  ### `acknowledgeTracking`
296
304
 
@@ -1342,6 +1350,150 @@ const { data } = await client.listUseCaseHistory({
1342
1350
 
1343
1351
  ---
1344
1352
 
1353
+ ### `listDocumentationPages`
1354
+
1355
+ Retrieve all documentation pages of an integration, without their markdown content.
1356
+ An integration has at most one general page plus at most one page per use case.
1357
+ The page id is 'general' for the int
1358
+
1359
+ `GET /v1/integrations/{integrationId}/documentation`
1360
+
1361
+ ```ts
1362
+ const { data } = await client.listDocumentationPages({
1363
+ integrationId: 'example',
1364
+ })
1365
+ ```
1366
+
1367
+ <details>
1368
+ <summary>Response</summary>
1369
+
1370
+ ```json
1371
+ {
1372
+ "pages": [
1373
+ {
1374
+ "id": "general",
1375
+ "integration_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1376
+ "scope": "integration",
1377
+ "use_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1378
+ "title": "string",
1379
+ "created_at": "1970-01-01T00:00:00.000Z",
1380
+ "created_by": "string",
1381
+ "updated_at": "1970-01-01T00:00:00.000Z",
1382
+ "updated_by": "string"
1383
+ }
1384
+ ]
1385
+ }
1386
+ ```
1387
+
1388
+ </details>
1389
+
1390
+ ---
1391
+
1392
+ ### `getDocumentationPage`
1393
+
1394
+ Retrieve a single documentation page including its markdown content
1395
+
1396
+ `GET /v1/integrations/{integrationId}/documentation/{docId}`
1397
+
1398
+ ```ts
1399
+ const { data } = await client.getDocumentationPage({
1400
+ integrationId: 'example',
1401
+ docId: 'example',
1402
+ })
1403
+ ```
1404
+
1405
+ <details>
1406
+ <summary>Response</summary>
1407
+
1408
+ ```json
1409
+ {
1410
+ "id": "general",
1411
+ "integration_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1412
+ "scope": "integration",
1413
+ "use_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1414
+ "title": "string",
1415
+ "created_at": "1970-01-01T00:00:00.000Z",
1416
+ "created_by": "string",
1417
+ "updated_at": "1970-01-01T00:00:00.000Z",
1418
+ "updated_by": "string",
1419
+ "content": "string"
1420
+ }
1421
+ ```
1422
+
1423
+ </details>
1424
+
1425
+ ---
1426
+
1427
+ ### `upsertDocumentationPage`
1428
+
1429
+ Create or update the documentation page identified by docId.
1430
+ Upsert semantics enforce the invariant of one general page per
1431
+ integration and one page per use case. For use case pages the
1432
+ use case must
1433
+
1434
+ `PUT /v1/integrations/{integrationId}/documentation/{docId}`
1435
+
1436
+ ```ts
1437
+ const { data } = await client.upsertDocumentationPage(
1438
+ {
1439
+ integrationId: 'example',
1440
+ docId: 'example',
1441
+ },
1442
+ {
1443
+ title: 'string',
1444
+ content: 'string'
1445
+ },
1446
+ )
1447
+ ```
1448
+
1449
+ <details>
1450
+ <summary>Response</summary>
1451
+
1452
+ ```json
1453
+ {
1454
+ "id": "general",
1455
+ "integration_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1456
+ "scope": "integration",
1457
+ "use_case_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1458
+ "title": "string",
1459
+ "created_at": "1970-01-01T00:00:00.000Z",
1460
+ "created_by": "string",
1461
+ "updated_at": "1970-01-01T00:00:00.000Z",
1462
+ "updated_by": "string",
1463
+ "content": "string"
1464
+ }
1465
+ ```
1466
+
1467
+ </details>
1468
+
1469
+ ---
1470
+
1471
+ ### `deleteDocumentationPage`
1472
+
1473
+ Delete a documentation page
1474
+
1475
+ `DELETE /v1/integrations/{integrationId}/documentation/{docId}`
1476
+
1477
+ ```ts
1478
+ const { data } = await client.deleteDocumentationPage({
1479
+ integrationId: 'example',
1480
+ docId: 'example',
1481
+ })
1482
+ ```
1483
+
1484
+ <details>
1485
+ <summary>Response</summary>
1486
+
1487
+ ```json
1488
+ {
1489
+ "message": "string"
1490
+ }
1491
+ ```
1492
+
1493
+ </details>
1494
+
1495
+ ---
1496
+
1345
1497
  ### `listIntegrationsV2`
1346
1498
 
1347
1499
  Retrieve all integrations with embedded use cases for the authenticated organization
@@ -3248,6 +3400,8 @@ const { data } = await client.createErpImport(
3248
3400
  "bucket": "string",
3249
3401
  "key": "string"
3250
3402
  },
3403
+ "size_bytes": 0,
3404
+ "column_count": 0,
3251
3405
  "validation": {
3252
3406
  "total_rows": 0,
3253
3407
  "blocking": 0,
@@ -3324,6 +3478,8 @@ const { data } = await client.listErpImports({
3324
3478
  "bucket": "string",
3325
3479
  "key": "string"
3326
3480
  },
3481
+ "size_bytes": 0,
3482
+ "column_count": 0,
3327
3483
  "validation": {
3328
3484
  "total_rows": 0,
3329
3485
  "blocking": 0,
@@ -3393,6 +3549,8 @@ const { data } = await client.getErpImport({
3393
3549
  "bucket": "string",
3394
3550
  "key": "string"
3395
3551
  },
3552
+ "size_bytes": 0,
3553
+ "column_count": 0,
3396
3554
  "validation": {
3397
3555
  "total_rows": 0,
3398
3556
  "blocking": 0,
@@ -3431,6 +3589,20 @@ const { data } = await client.getErpImport({
3431
3589
 
3432
3590
  ---
3433
3591
 
3592
+ ### `deleteErpImport`
3593
+
3594
+ Remove an import and the file it owns. Allowed from any status: an import whose run is still in flight is stopped by the deletion, and rows it already wrote stay written.
3595
+
3596
+ `DELETE /v2/erp/imports/{importId}`
3597
+
3598
+ ```ts
3599
+ const { data } = await client.deleteErpImport({
3600
+ importId: 'example',
3601
+ })
3602
+ ```
3603
+
3604
+ ---
3605
+
3434
3606
  ### `validateErpImport`
3435
3607
 
3436
3608
  Choose the use case to read this file with, and start the validate phase.
@@ -3683,6 +3855,8 @@ type CreateErpImportResponse = {
3683
3855
  bucket: { ... }
3684
3856
  key: { ... }
3685
3857
  }
3858
+ size_bytes?: number
3859
+ column_count?: number
3686
3860
  validation?: {
3687
3861
  total_rows: { ... }
3688
3862
  blocking: { ... }
@@ -3725,6 +3899,8 @@ type ErpImportJob = {
3725
3899
  bucket: string
3726
3900
  key: string
3727
3901
  }
3902
+ size_bytes?: number
3903
+ column_count?: number
3728
3904
  validation?: {
3729
3905
  total_rows: number
3730
3906
  blocking: number
@@ -3768,6 +3944,8 @@ type ErpImportList = {
3768
3944
  bucket: { ... }
3769
3945
  key: { ... }
3770
3946
  }
3947
+ size_bytes?: number
3948
+ column_count?: number
3771
3949
  validation?: {
3772
3950
  total_rows: { ... }
3773
3951
  blocking: { ... }
@@ -8559,3 +8737,49 @@ type TimeSeriesBucketV2 = {
8559
8737
  }>
8560
8738
  }
8561
8739
  ```
8740
+
8741
+ ### `DocumentationPageSummary`
8742
+
8743
+ Documentation page metadata without the markdown content
8744
+
8745
+ ```ts
8746
+ type DocumentationPageSummary = {
8747
+ id: string
8748
+ integration_id: string // uuid
8749
+ scope: "integration" | "use_case"
8750
+ use_case_id?: string // uuid
8751
+ title: string
8752
+ created_at: string // date-time
8753
+ created_by?: string
8754
+ updated_at: string // date-time
8755
+ updated_by?: string
8756
+ }
8757
+ ```
8758
+
8759
+ ### `DocumentationPage`
8760
+
8761
+ A markdown documentation page of an integration
8762
+
8763
+ ```ts
8764
+ type DocumentationPage = {
8765
+ id: string
8766
+ integration_id: string // uuid
8767
+ scope: "integration" | "use_case"
8768
+ use_case_id?: string // uuid
8769
+ title: string
8770
+ created_at: string // date-time
8771
+ created_by?: string
8772
+ updated_at: string // date-time
8773
+ updated_by?: string
8774
+ content: string
8775
+ }
8776
+ ```
8777
+
8778
+ ### `UpsertDocumentationPageRequest`
8779
+
8780
+ ```ts
8781
+ type UpsertDocumentationPageRequest = {
8782
+ title: string
8783
+ content: string
8784
+ }
8785
+ ```