@epilot/sdk 2.2.1 → 2.2.2

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 (224) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4493 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +4819 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +3490 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15676 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-management-runtime.json +1 -0
  26. package/definitions/data-management.json +972 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +183 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1423 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2748 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1441 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10404 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/erp-integration-runtime.json +1 -0
  44. package/definitions/erp-integration.json +6780 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2603 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +1505 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2660 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +1192 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +2284 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1515 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/submission-runtime.json +1 -0
  78. package/definitions/submission.json +313 -0
  79. package/definitions/targeting-runtime.json +1 -0
  80. package/definitions/targeting.json +1474 -0
  81. package/definitions/template-variables-runtime.json +1 -0
  82. package/definitions/template-variables.json +1408 -0
  83. package/definitions/user-runtime.json +1 -0
  84. package/definitions/user.json +2408 -0
  85. package/definitions/validation-rules-runtime.json +1 -0
  86. package/definitions/validation-rules.json +1491 -0
  87. package/definitions/webhooks-runtime.json +1 -0
  88. package/definitions/webhooks.json +1634 -0
  89. package/definitions/workflow-definition-runtime.json +1 -0
  90. package/definitions/workflow-definition.json +3417 -0
  91. package/definitions/workflow-runtime.json +1 -0
  92. package/definitions/workflow.json +4146 -0
  93. package/dist/apis/access-token.cjs +6 -6
  94. package/dist/apis/access-token.js +1 -1
  95. package/dist/apis/address-suggestions.cjs +6 -6
  96. package/dist/apis/address-suggestions.js +1 -1
  97. package/dist/apis/address.cjs +6 -6
  98. package/dist/apis/address.js +1 -1
  99. package/dist/apis/ai-agents.cjs +6 -6
  100. package/dist/apis/ai-agents.js +1 -1
  101. package/dist/apis/app.cjs +6 -6
  102. package/dist/apis/app.js +1 -1
  103. package/dist/apis/audit-logs.cjs +6 -6
  104. package/dist/apis/audit-logs.js +1 -1
  105. package/dist/apis/automation.cjs +6 -6
  106. package/dist/apis/automation.d.cts +2 -2
  107. package/dist/apis/automation.d.ts +2 -2
  108. package/dist/apis/automation.js +1 -1
  109. package/dist/apis/billing.cjs +6 -6
  110. package/dist/apis/billing.js +1 -1
  111. package/dist/apis/blueprint-manifest.cjs +6 -6
  112. package/dist/apis/blueprint-manifest.js +1 -1
  113. package/dist/apis/consent.cjs +6 -6
  114. package/dist/apis/consent.js +1 -1
  115. package/dist/apis/customer-portal.cjs +6 -6
  116. package/dist/apis/customer-portal.js +1 -1
  117. package/dist/apis/dashboard.cjs +6 -6
  118. package/dist/apis/dashboard.js +1 -1
  119. package/dist/apis/data-management.cjs +6 -6
  120. package/dist/apis/data-management.js +1 -1
  121. package/dist/apis/deduplication.cjs +6 -6
  122. package/dist/apis/deduplication.js +1 -1
  123. package/dist/apis/design.cjs +6 -6
  124. package/dist/apis/design.js +1 -1
  125. package/dist/apis/document.cjs +6 -6
  126. package/dist/apis/document.js +1 -1
  127. package/dist/apis/email-settings.cjs +6 -6
  128. package/dist/apis/email-settings.js +1 -1
  129. package/dist/apis/email-template.cjs +6 -6
  130. package/dist/apis/email-template.js +1 -1
  131. package/dist/apis/entity-mapping.cjs +6 -6
  132. package/dist/apis/entity-mapping.js +1 -1
  133. package/dist/apis/entity.cjs +8 -8
  134. package/dist/apis/entity.d.cts +2 -2
  135. package/dist/apis/entity.d.ts +2 -2
  136. package/dist/apis/entity.js +2 -2
  137. package/dist/apis/environments.cjs +6 -6
  138. package/dist/apis/environments.js +1 -1
  139. package/dist/apis/erp-integration.cjs +8 -8
  140. package/dist/apis/erp-integration.d.cts +2 -2
  141. package/dist/apis/erp-integration.d.ts +2 -2
  142. package/dist/apis/erp-integration.js +2 -2
  143. package/dist/apis/event-catalog.cjs +6 -6
  144. package/dist/apis/event-catalog.js +1 -1
  145. package/dist/apis/file.cjs +6 -6
  146. package/dist/apis/file.js +1 -1
  147. package/dist/apis/iban.cjs +6 -6
  148. package/dist/apis/iban.js +1 -1
  149. package/dist/apis/journey.cjs +6 -6
  150. package/dist/apis/journey.js +1 -1
  151. package/dist/apis/kanban.cjs +6 -6
  152. package/dist/apis/kanban.js +1 -1
  153. package/dist/apis/message.cjs +6 -6
  154. package/dist/apis/message.js +1 -1
  155. package/dist/apis/metering.cjs +6 -6
  156. package/dist/apis/metering.js +1 -1
  157. package/dist/apis/notes.cjs +6 -6
  158. package/dist/apis/notes.js +1 -1
  159. package/dist/apis/notification.cjs +6 -6
  160. package/dist/apis/notification.js +1 -1
  161. package/dist/apis/organization.cjs +6 -6
  162. package/dist/apis/organization.js +1 -1
  163. package/dist/apis/partner-directory.cjs +6 -6
  164. package/dist/apis/partner-directory.js +1 -1
  165. package/dist/apis/permissions.cjs +6 -6
  166. package/dist/apis/permissions.js +1 -1
  167. package/dist/apis/pricing-tier.cjs +6 -6
  168. package/dist/apis/pricing-tier.js +1 -1
  169. package/dist/apis/pricing.cjs +6 -6
  170. package/dist/apis/pricing.js +1 -1
  171. package/dist/apis/purpose.cjs +6 -6
  172. package/dist/apis/purpose.js +1 -1
  173. package/dist/apis/sandbox.cjs +6 -6
  174. package/dist/apis/sandbox.js +1 -1
  175. package/dist/apis/submission.cjs +6 -6
  176. package/dist/apis/submission.js +1 -1
  177. package/dist/apis/targeting.cjs +6 -6
  178. package/dist/apis/targeting.js +1 -1
  179. package/dist/apis/template-variables.cjs +6 -6
  180. package/dist/apis/template-variables.js +1 -1
  181. package/dist/apis/user.cjs +6 -6
  182. package/dist/apis/user.js +1 -1
  183. package/dist/apis/validation-rules.cjs +6 -6
  184. package/dist/apis/validation-rules.js +1 -1
  185. package/dist/apis/webhooks.cjs +6 -6
  186. package/dist/apis/webhooks.js +1 -1
  187. package/dist/apis/workflow-definition.cjs +6 -6
  188. package/dist/apis/workflow-definition.js +1 -1
  189. package/dist/apis/workflow.cjs +6 -6
  190. package/dist/apis/workflow.js +1 -1
  191. package/dist/{automation.d-KOiZ6ru5.d.cts → automation.d-D7BzN7Gq.d.cts} +4 -0
  192. package/dist/{automation.d-KOiZ6ru5.d.ts → automation.d-D7BzN7Gq.d.ts} +4 -0
  193. package/dist/{chunk-G33CBNJD.js → chunk-K7HKCNT2.js} +4 -4
  194. package/dist/{chunk-TPA4HEAO.js → chunk-LHVRAAFH.js} +1 -1
  195. package/dist/{chunk-IGVVJMX7.cjs → chunk-ODD4JQVS.cjs} +1 -1
  196. package/dist/chunk-RKSUIRD2.js +14 -0
  197. package/dist/{chunk-6TKKEGYU.cjs → chunk-TG2P4RWZ.cjs} +4 -4
  198. package/dist/chunk-XLQ4ZRBF.cjs +14 -0
  199. package/dist/entity-RCWJZZXM.cjs +7 -0
  200. package/dist/entity-X374X6EQ.js +7 -0
  201. package/dist/{entity-runtime-QSFVEFJ6.js → entity-runtime-CWQUEFCS.js} +1 -1
  202. package/dist/entity-runtime-EOWSEXC7.cjs +5 -0
  203. package/dist/{entity.d-DtiajmaY.d.cts → entity.d-t9R21446.d.cts} +140 -4
  204. package/dist/{entity.d-DtiajmaY.d.ts → entity.d-t9R21446.d.ts} +140 -4
  205. package/dist/erp-integration-6I4B4BIU.cjs +7 -0
  206. package/dist/erp-integration-G54BMGGE.js +7 -0
  207. package/dist/{erp-integration-runtime-FNJXDO75.js → erp-integration-runtime-6SBLYZ34.js} +1 -1
  208. package/dist/{erp-integration-runtime-WXZIQCLJ.cjs → erp-integration-runtime-HZI2P4X7.cjs} +2 -2
  209. package/dist/{erp-integration.d-DOhxy4P5.d.cts → erp-integration.d-BV3Rv9e6.d.cts} +479 -14
  210. package/dist/{erp-integration.d-DOhxy4P5.d.ts → erp-integration.d-BV3Rv9e6.d.ts} +479 -14
  211. package/dist/index.cjs +12 -12
  212. package/dist/index.d.cts +3 -3
  213. package/dist/index.d.ts +3 -3
  214. package/dist/index.js +3 -3
  215. package/docs/entity.md +337 -5
  216. package/docs/erp-integration.md +643 -16
  217. package/package.json +1 -1
  218. package/dist/chunk-24T6CJTG.js +0 -14
  219. package/dist/chunk-TTNPMFXL.cjs +0 -14
  220. package/dist/entity-FA6PZX6S.js +0 -7
  221. package/dist/entity-IX5NSHPX.cjs +0 -7
  222. package/dist/entity-runtime-XSAICIVR.cjs +0 -5
  223. package/dist/erp-integration-EP2XFEH5.js +0 -7
  224. package/dist/erp-integration-NNV72VFI.cjs +0 -7
@@ -65,6 +65,9 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
65
65
  **proxy**
66
66
  - [`secureProxy`](#secureproxy)
67
67
 
68
+ **managed-call**
69
+ - [`managedCallExecute`](#managedcallexecute)
70
+
68
71
  **Schemas**
69
72
  - [`ErrorResponseBase`](#errorresponsebase)
70
73
  - [`ErpEvent`](#erpevent)
@@ -74,6 +77,8 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
74
77
  - [`TriggerErpActionRequest`](#triggererpactionrequest)
75
78
  - [`TriggerWebhookResp`](#triggerwebhookresp)
76
79
  - [`IntegrationEditableFields`](#integrationeditablefields)
80
+ - [`ConnectorConfig`](#connectorconfig)
81
+ - [`ManagedCallAuth`](#managedcallauth)
77
82
  - [`Integration`](#integration)
78
83
  - [`CreateIntegrationRequest`](#createintegrationrequest)
79
84
  - [`UpdateIntegrationRequest`](#updateintegrationrequest)
@@ -101,11 +106,13 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
101
106
  - [`EmbeddedInboundUseCaseRequest`](#embeddedinboundusecaserequest)
102
107
  - [`EmbeddedOutboundUseCaseRequest`](#embeddedoutboundusecaserequest)
103
108
  - [`EmbeddedFileProxyUseCaseRequest`](#embeddedfileproxyusecaserequest)
109
+ - [`EmbeddedManagedCallUseCaseRequest`](#embeddedmanagedcallusecaserequest)
104
110
  - [`EmbeddedSecureProxyUseCaseRequest`](#embeddedsecureproxyusecaserequest)
105
111
  - [`UseCaseBase`](#usecasebase)
106
112
  - [`InboundUseCase`](#inboundusecase)
107
113
  - [`OutboundUseCase`](#outboundusecase)
108
114
  - [`FileProxyUseCase`](#fileproxyusecase)
115
+ - [`ManagedCallUseCase`](#managedcallusecase)
109
116
  - [`SecureProxyUseCase`](#secureproxyusecase)
110
117
  - [`UseCase`](#usecase)
111
118
  - [`CreateUseCaseRequest`](#createusecaserequest)
@@ -113,23 +120,31 @@ const { data } = await erpIntegrationClient.acknowledgeTracking(...)
113
120
  - [`CreateInboundUseCaseRequest`](#createinboundusecaserequest)
114
121
  - [`CreateOutboundUseCaseRequest`](#createoutboundusecaserequest)
115
122
  - [`CreateFileProxyUseCaseRequest`](#createfileproxyusecaserequest)
123
+ - [`CreateManagedCallUseCaseRequest`](#createmanagedcallusecaserequest)
116
124
  - [`CreateSecureProxyUseCaseRequest`](#createsecureproxyusecaserequest)
117
125
  - [`UpdateUseCaseRequest`](#updateusecaserequest)
118
126
  - [`UpdateUseCaseRequestBase`](#updateusecaserequestbase)
119
127
  - [`UpdateInboundUseCaseRequest`](#updateinboundusecaserequest)
120
128
  - [`UpdateOutboundUseCaseRequest`](#updateoutboundusecaserequest)
121
129
  - [`UpdateFileProxyUseCaseRequest`](#updatefileproxyusecaserequest)
130
+ - [`UpdateManagedCallUseCaseRequest`](#updatemanagedcallusecaserequest)
122
131
  - [`UpdateSecureProxyUseCaseRequest`](#updatesecureproxyusecaserequest)
123
132
  - [`UseCaseHistoryEntry`](#usecasehistoryentry)
124
133
  - [`UseCaseHistoryEntryBase`](#usecasehistoryentrybase)
125
134
  - [`InboundUseCaseHistoryEntry`](#inboundusecasehistoryentry)
126
135
  - [`OutboundUseCaseHistoryEntry`](#outboundusecasehistoryentry)
127
136
  - [`FileProxyUseCaseHistoryEntry`](#fileproxyusecasehistoryentry)
137
+ - [`ManagedCallUseCaseHistoryEntry`](#managedcallusecasehistoryentry)
128
138
  - [`SecureProxyUseCaseHistoryEntry`](#secureproxyusecasehistoryentry)
129
139
  - [`SecureProxyUseCaseConfiguration`](#secureproxyusecaseconfiguration)
130
140
  - [`SecureProxySummary`](#secureproxysummary)
131
141
  - [`SecureProxyRequest`](#secureproxyrequest)
132
142
  - [`SecureProxyResponse`](#secureproxyresponse)
143
+ - [`ManagedCallOperationConfig`](#managedcalloperationconfig)
144
+ - [`ManagedCallOperation`](#managedcalloperation)
145
+ - [`ManagedCallExecuteRequest`](#managedcallexecuterequest)
146
+ - [`ManagedCallExecuteResponse`](#managedcallexecuteresponse)
147
+ - [`ManagedCallErrorResponse`](#managedcallerrorresponse)
133
148
  - [`FileProxyUseCaseConfiguration`](#fileproxyusecaseconfiguration)
134
149
  - [`FileProxySecureProxyAttachment`](#fileproxysecureproxyattachment)
135
150
  - [`FileProxyAuth`](#fileproxyauth)
@@ -446,7 +461,27 @@ const { data } = await client.listIntegrations()
446
461
  "enabled": false,
447
462
  "freshnessThresholdMinutes": 1
448
463
  }
449
- }
464
+ },
465
+ "integration_type": "erp",
466
+ "connector_config": {
467
+ "base_url": "string",
468
+ "auth": {
469
+ "type": "oauth2_client_credentials",
470
+ "token_url": "string",
471
+ "client_id": "string",
472
+ "client_secret": "string",
473
+ "scope": "string",
474
+ "audience": "string",
475
+ "resource": "string",
476
+ "body_params": {},
477
+ "headers": {},
478
+ "query_params": {},
479
+ "api_key_header": "string",
480
+ "api_key": "string",
481
+ "token": "string"
482
+ }
483
+ },
484
+ "protected": true
450
485
  }
451
486
  ]
452
487
  }
@@ -485,7 +520,27 @@ const { data } = await client.createIntegration(
485
520
  enabled: false,
486
521
  freshnessThresholdMinutes: 1
487
522
  }
488
- }
523
+ },
524
+ integration_type: 'erp',
525
+ connector_config: {
526
+ base_url: 'string',
527
+ auth: {
528
+ type: 'oauth2_client_credentials',
529
+ token_url: 'string',
530
+ client_id: 'string',
531
+ client_secret: 'string',
532
+ scope: 'string',
533
+ audience: 'string',
534
+ resource: 'string',
535
+ body_params: {},
536
+ headers: {},
537
+ query_params: {},
538
+ api_key_header: 'string',
539
+ api_key: 'string',
540
+ token: 'string'
541
+ }
542
+ },
543
+ protected: true
489
544
  },
490
545
  )
491
546
  ```
@@ -518,7 +573,27 @@ const { data } = await client.createIntegration(
518
573
  "enabled": false,
519
574
  "freshnessThresholdMinutes": 1
520
575
  }
521
- }
576
+ },
577
+ "integration_type": "erp",
578
+ "connector_config": {
579
+ "base_url": "string",
580
+ "auth": {
581
+ "type": "oauth2_client_credentials",
582
+ "token_url": "string",
583
+ "client_id": "string",
584
+ "client_secret": "string",
585
+ "scope": "string",
586
+ "audience": "string",
587
+ "resource": "string",
588
+ "body_params": {},
589
+ "headers": {},
590
+ "query_params": {},
591
+ "api_key_header": "string",
592
+ "api_key": "string",
593
+ "token": "string"
594
+ }
595
+ },
596
+ "protected": true
522
597
  }
523
598
  ```
524
599
 
@@ -566,7 +641,27 @@ const { data } = await client.getIntegration({
566
641
  "enabled": false,
567
642
  "freshnessThresholdMinutes": 1
568
643
  }
569
- }
644
+ },
645
+ "integration_type": "erp",
646
+ "connector_config": {
647
+ "base_url": "string",
648
+ "auth": {
649
+ "type": "oauth2_client_credentials",
650
+ "token_url": "string",
651
+ "client_id": "string",
652
+ "client_secret": "string",
653
+ "scope": "string",
654
+ "audience": "string",
655
+ "resource": "string",
656
+ "body_params": {},
657
+ "headers": {},
658
+ "query_params": {},
659
+ "api_key_header": "string",
660
+ "api_key": "string",
661
+ "token": "string"
662
+ }
663
+ },
664
+ "protected": true
570
665
  }
571
666
  ```
572
667
 
@@ -617,7 +712,27 @@ const { data } = await client.updateIntegration(
617
712
  "enabled": false,
618
713
  "freshnessThresholdMinutes": 1
619
714
  }
620
- }
715
+ },
716
+ "integration_type": "erp",
717
+ "connector_config": {
718
+ "base_url": "string",
719
+ "auth": {
720
+ "type": "oauth2_client_credentials",
721
+ "token_url": "string",
722
+ "client_id": "string",
723
+ "client_secret": "string",
724
+ "scope": "string",
725
+ "audience": "string",
726
+ "resource": "string",
727
+ "body_params": {},
728
+ "headers": {},
729
+ "query_params": {},
730
+ "api_key_header": "string",
731
+ "api_key": "string",
732
+ "token": "string"
733
+ }
734
+ },
735
+ "protected": true
621
736
  }
622
737
  ```
623
738
 
@@ -1027,6 +1142,9 @@ const { data } = await client.listIntegrationsV2()
1027
1142
  "app_ids": ["string"],
1028
1143
  "environment_config": [],
1029
1144
  "settings": {},
1145
+ "integration_type": "erp",
1146
+ "connector_config": {},
1147
+ "protected": true,
1030
1148
  "use_cases": []
1031
1149
  }
1032
1150
  ]
@@ -1067,6 +1185,26 @@ const { data } = await client.createIntegrationV2(
1067
1185
  freshnessThresholdMinutes: 1
1068
1186
  }
1069
1187
  },
1188
+ integration_type: 'erp',
1189
+ connector_config: {
1190
+ base_url: 'string',
1191
+ auth: {
1192
+ type: 'oauth2_client_credentials',
1193
+ token_url: 'string',
1194
+ client_id: 'string',
1195
+ client_secret: 'string',
1196
+ scope: 'string',
1197
+ audience: 'string',
1198
+ resource: 'string',
1199
+ body_params: {},
1200
+ headers: {},
1201
+ query_params: {},
1202
+ api_key_header: 'string',
1203
+ api_key: 'string',
1204
+ token: 'string'
1205
+ }
1206
+ },
1207
+ protected: true,
1070
1208
  use_cases: [
1071
1209
  {
1072
1210
  id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
@@ -1111,6 +1249,26 @@ const { data } = await client.createIntegrationV2(
1111
1249
  "freshnessThresholdMinutes": 1
1112
1250
  }
1113
1251
  },
1252
+ "integration_type": "erp",
1253
+ "connector_config": {
1254
+ "base_url": "string",
1255
+ "auth": {
1256
+ "type": "oauth2_client_credentials",
1257
+ "token_url": "string",
1258
+ "client_id": "string",
1259
+ "client_secret": "string",
1260
+ "scope": "string",
1261
+ "audience": "string",
1262
+ "resource": "string",
1263
+ "body_params": {},
1264
+ "headers": {},
1265
+ "query_params": {},
1266
+ "api_key_header": "string",
1267
+ "api_key": "string",
1268
+ "token": "string"
1269
+ }
1270
+ },
1271
+ "protected": true,
1114
1272
  "use_cases": [
1115
1273
  {
1116
1274
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
@@ -1173,6 +1331,26 @@ const { data } = await client.getIntegrationV2({
1173
1331
  "freshnessThresholdMinutes": 1
1174
1332
  }
1175
1333
  },
1334
+ "integration_type": "erp",
1335
+ "connector_config": {
1336
+ "base_url": "string",
1337
+ "auth": {
1338
+ "type": "oauth2_client_credentials",
1339
+ "token_url": "string",
1340
+ "client_id": "string",
1341
+ "client_secret": "string",
1342
+ "scope": "string",
1343
+ "audience": "string",
1344
+ "resource": "string",
1345
+ "body_params": {},
1346
+ "headers": {},
1347
+ "query_params": {},
1348
+ "api_key_header": "string",
1349
+ "api_key": "string",
1350
+ "token": "string"
1351
+ }
1352
+ },
1353
+ "protected": true,
1176
1354
  "use_cases": [
1177
1355
  {
1178
1356
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
@@ -1230,6 +1408,26 @@ const { data } = await client.updateIntegrationV2(
1230
1408
  freshnessThresholdMinutes: 1
1231
1409
  }
1232
1410
  },
1411
+ integration_type: 'erp',
1412
+ connector_config: {
1413
+ base_url: 'string',
1414
+ auth: {
1415
+ type: 'oauth2_client_credentials',
1416
+ token_url: 'string',
1417
+ client_id: 'string',
1418
+ client_secret: 'string',
1419
+ scope: 'string',
1420
+ audience: 'string',
1421
+ resource: 'string',
1422
+ body_params: {},
1423
+ headers: {},
1424
+ query_params: {},
1425
+ api_key_header: 'string',
1426
+ api_key: 'string',
1427
+ token: 'string'
1428
+ }
1429
+ },
1430
+ protected: true,
1233
1431
  use_cases: [
1234
1432
  {
1235
1433
  id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
@@ -1274,6 +1472,26 @@ const { data } = await client.updateIntegrationV2(
1274
1472
  "freshnessThresholdMinutes": 1
1275
1473
  }
1276
1474
  },
1475
+ "integration_type": "erp",
1476
+ "connector_config": {
1477
+ "base_url": "string",
1478
+ "auth": {
1479
+ "type": "oauth2_client_credentials",
1480
+ "token_url": "string",
1481
+ "client_id": "string",
1482
+ "client_secret": "string",
1483
+ "scope": "string",
1484
+ "audience": "string",
1485
+ "resource": "string",
1486
+ "body_params": {},
1487
+ "headers": {},
1488
+ "query_params": {},
1489
+ "api_key_header": "string",
1490
+ "api_key": "string",
1491
+ "token": "string"
1492
+ }
1493
+ },
1494
+ "protected": true,
1277
1495
  "use_cases": [
1278
1496
  {
1279
1497
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
@@ -1814,6 +2032,36 @@ const { data } = await client.secureProxy(
1814
2032
 
1815
2033
  ---
1816
2034
 
2035
+ ### `managedCallExecute`
2036
+
2037
+ Execute a managed call operation
2038
+
2039
+ `POST /v1/managed-call/{slug}/execute`
2040
+
2041
+ ```ts
2042
+ const { data } = await client.managedCallExecute(
2043
+ {
2044
+ slug: 'example',
2045
+ },
2046
+ {
2047
+ integration_id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
2048
+ payload: {},
2049
+ correlation_id: 'string'
2050
+ },
2051
+ )
2052
+ ```
2053
+
2054
+ <details>
2055
+ <summary>Response</summary>
2056
+
2057
+ ```json
2058
+ {}
2059
+ ```
2060
+
2061
+ </details>
2062
+
2063
+ ---
2064
+
1817
2065
  ## Schemas
1818
2066
 
1819
2067
  ### `ErrorResponseBase`
@@ -1925,6 +2173,73 @@ type IntegrationEditableFields = {
1925
2173
  freshnessThresholdMinutes?: { ... }
1926
2174
  }
1927
2175
  }
2176
+ integration_type?: "erp" | "connector"
2177
+ connector_config?: {
2178
+ base_url?: string
2179
+ auth?: {
2180
+ type?: { ... }
2181
+ token_url?: { ... }
2182
+ client_id?: { ... }
2183
+ client_secret?: { ... }
2184
+ scope?: { ... }
2185
+ audience?: { ... }
2186
+ resource?: { ... }
2187
+ body_params?: { ... }
2188
+ headers?: { ... }
2189
+ query_params?: { ... }
2190
+ api_key_header?: { ... }
2191
+ api_key?: { ... }
2192
+ token?: { ... }
2193
+ }
2194
+ }
2195
+ protected?: boolean
2196
+ }
2197
+ ```
2198
+
2199
+ ### `ConnectorConfig`
2200
+
2201
+ Shared configuration for connector-type integrations
2202
+
2203
+ ```ts
2204
+ type ConnectorConfig = {
2205
+ base_url?: string
2206
+ auth?: {
2207
+ type?: "oauth2_client_credentials" | "api_key" | "bearer"
2208
+ token_url?: string
2209
+ client_id?: string
2210
+ client_secret?: string
2211
+ scope?: string
2212
+ audience?: string
2213
+ resource?: string
2214
+ body_params?: Record<string, string>
2215
+ headers?: Record<string, string>
2216
+ query_params?: Record<string, string>
2217
+ api_key_header?: string
2218
+ api_key?: string
2219
+ token?: string
2220
+ }
2221
+ }
2222
+ ```
2223
+
2224
+ ### `ManagedCallAuth`
2225
+
2226
+ Authentication configuration for managed call requests
2227
+
2228
+ ```ts
2229
+ type ManagedCallAuth = {
2230
+ type?: "oauth2_client_credentials" | "api_key" | "bearer"
2231
+ token_url?: string
2232
+ client_id?: string
2233
+ client_secret?: string
2234
+ scope?: string
2235
+ audience?: string
2236
+ resource?: string
2237
+ body_params?: Record<string, string>
2238
+ headers?: Record<string, string>
2239
+ query_params?: Record<string, string>
2240
+ api_key_header?: string
2241
+ api_key?: string
2242
+ token?: string
1928
2243
  }
1929
2244
  ```
1930
2245
 
@@ -1954,6 +2269,26 @@ type Integration = {
1954
2269
  freshnessThresholdMinutes?: { ... }
1955
2270
  }
1956
2271
  }
2272
+ integration_type?: "erp" | "connector"
2273
+ connector_config?: {
2274
+ base_url?: string
2275
+ auth?: {
2276
+ type?: { ... }
2277
+ token_url?: { ... }
2278
+ client_id?: { ... }
2279
+ client_secret?: { ... }
2280
+ scope?: { ... }
2281
+ audience?: { ... }
2282
+ resource?: { ... }
2283
+ body_params?: { ... }
2284
+ headers?: { ... }
2285
+ query_params?: { ... }
2286
+ api_key_header?: { ... }
2287
+ api_key?: { ... }
2288
+ token?: { ... }
2289
+ }
2290
+ }
2291
+ protected?: boolean
1957
2292
  }
1958
2293
  ```
1959
2294
 
@@ -1979,6 +2314,26 @@ type CreateIntegrationRequest = {
1979
2314
  freshnessThresholdMinutes?: { ... }
1980
2315
  }
1981
2316
  }
2317
+ integration_type?: "erp" | "connector"
2318
+ connector_config?: {
2319
+ base_url?: string
2320
+ auth?: {
2321
+ type?: { ... }
2322
+ token_url?: { ... }
2323
+ client_id?: { ... }
2324
+ client_secret?: { ... }
2325
+ scope?: { ... }
2326
+ audience?: { ... }
2327
+ resource?: { ... }
2328
+ body_params?: { ... }
2329
+ headers?: { ... }
2330
+ query_params?: { ... }
2331
+ api_key_header?: { ... }
2332
+ api_key?: { ... }
2333
+ token?: { ... }
2334
+ }
2335
+ }
2336
+ protected?: boolean
1982
2337
  }
1983
2338
  ```
1984
2339
 
@@ -2004,6 +2359,26 @@ type UpdateIntegrationRequest = {
2004
2359
  freshnessThresholdMinutes?: { ... }
2005
2360
  }
2006
2361
  }
2362
+ integration_type?: "erp" | "connector"
2363
+ connector_config?: {
2364
+ base_url?: string
2365
+ auth?: {
2366
+ type?: { ... }
2367
+ token_url?: { ... }
2368
+ client_id?: { ... }
2369
+ client_secret?: { ... }
2370
+ scope?: { ... }
2371
+ audience?: { ... }
2372
+ resource?: { ... }
2373
+ body_params?: { ... }
2374
+ headers?: { ... }
2375
+ query_params?: { ... }
2376
+ api_key_header?: { ... }
2377
+ api_key?: { ... }
2378
+ token?: { ... }
2379
+ }
2380
+ }
2381
+ protected?: boolean
2007
2382
  }
2008
2383
  ```
2009
2384
 
@@ -2120,6 +2495,22 @@ type IntegrationWithUseCases = {
2120
2495
  steps: { ... }
2121
2496
  response: { ... }
2122
2497
  }
2498
+ } | {
2499
+ id: string // uuid
2500
+ integrationId: string // uuid
2501
+ name: string
2502
+ slug?: string
2503
+ type: "managed_call"
2504
+ enabled: boolean
2505
+ change_description?: string
2506
+ created_at: string // date-time
2507
+ updated_at: string // date-time
2508
+ configuration?: {
2509
+ operation: { ... }
2510
+ request_mapping?: { ... }
2511
+ response_mapping?: { ... }
2512
+ inbound_use_case_slug?: { ... }
2513
+ }
2123
2514
  } | {
2124
2515
  id: string // uuid
2125
2516
  integrationId: string // uuid
@@ -2160,6 +2551,26 @@ type UpsertIntegrationWithUseCasesRequest = {
2160
2551
  freshnessThresholdMinutes?: { ... }
2161
2552
  }
2162
2553
  }
2554
+ integration_type?: "erp" | "connector"
2555
+ connector_config?: {
2556
+ base_url?: string
2557
+ auth?: {
2558
+ type?: { ... }
2559
+ token_url?: { ... }
2560
+ client_id?: { ... }
2561
+ client_secret?: { ... }
2562
+ scope?: { ... }
2563
+ audience?: { ... }
2564
+ resource?: { ... }
2565
+ body_params?: { ... }
2566
+ headers?: { ... }
2567
+ query_params?: { ... }
2568
+ api_key_header?: { ... }
2569
+ api_key?: { ... }
2570
+ token?: { ... }
2571
+ }
2572
+ }
2573
+ protected?: boolean
2163
2574
  use_cases?: Array<{
2164
2575
  id?: string // uuid
2165
2576
  name: string
@@ -2196,6 +2607,19 @@ type UpsertIntegrationWithUseCasesRequest = {
2196
2607
  steps: { ... }
2197
2608
  response: { ... }
2198
2609
  }
2610
+ } | {
2611
+ id?: string // uuid
2612
+ name: string
2613
+ slug?: string
2614
+ enabled: boolean
2615
+ change_description?: string
2616
+ type: "managed_call"
2617
+ configuration?: {
2618
+ operation: { ... }
2619
+ request_mapping?: { ... }
2620
+ response_mapping?: { ... }
2621
+ inbound_use_case_slug?: { ... }
2622
+ }
2199
2623
  } | {
2200
2624
  id?: string // uuid
2201
2625
  name: string
@@ -2208,6 +2632,7 @@ type UpsertIntegrationWithUseCasesRequest = {
2208
2632
  allowed_domains?: { ... }
2209
2633
  }
2210
2634
  }>
2635
+ // ...
2211
2636
  }
2212
2637
  ```
2213
2638
 
@@ -2663,10 +3088,10 @@ type EmbeddedUseCaseRequest = {
2663
3088
  slug?: string
2664
3089
  enabled: boolean
2665
3090
  change_description?: string
2666
- type: "secure_proxy"
3091
+ type: "managed_call"
2667
3092
  configuration?: {
2668
- vpc_mode: "static_ip" | "secure_link"
2669
- allowed_domains?: string[]
3093
+ operation: {
3094
+ method: { ... }
2670
3095
  // ...
2671
3096
  }
2672
3097
  ```
@@ -2791,6 +3216,30 @@ type EmbeddedFileProxyUseCaseRequest = {
2791
3216
  }
2792
3217
  ```
2793
3218
 
3219
+ ### `EmbeddedManagedCallUseCaseRequest`
3220
+
3221
+ ```ts
3222
+ type EmbeddedManagedCallUseCaseRequest = {
3223
+ id?: string // uuid
3224
+ name: string
3225
+ slug?: string
3226
+ enabled: boolean
3227
+ change_description?: string
3228
+ type: "managed_call"
3229
+ configuration?: {
3230
+ operation: {
3231
+ method: { ... }
3232
+ path: { ... }
3233
+ headers?: { ... }
3234
+ query_params?: { ... }
3235
+ }
3236
+ request_mapping?: string
3237
+ response_mapping?: string
3238
+ inbound_use_case_slug?: string
3239
+ }
3240
+ }
3241
+ ```
3242
+
2794
3243
  ### `EmbeddedSecureProxyUseCaseRequest`
2795
3244
 
2796
3245
  ```ts
@@ -2816,7 +3265,7 @@ type UseCaseBase = {
2816
3265
  integrationId: string // uuid
2817
3266
  name: string
2818
3267
  slug?: string
2819
- type: "inbound" | "outbound" | "file_proxy" | "secure_proxy"
3268
+ type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy"
2820
3269
  enabled: boolean
2821
3270
  change_description?: string
2822
3271
  created_at: string // date-time
@@ -2941,6 +3390,33 @@ type FileProxyUseCase = {
2941
3390
  }
2942
3391
  ```
2943
3392
 
3393
+ ### `ManagedCallUseCase`
3394
+
3395
+ ```ts
3396
+ type ManagedCallUseCase = {
3397
+ id: string // uuid
3398
+ integrationId: string // uuid
3399
+ name: string
3400
+ slug?: string
3401
+ type: "managed_call"
3402
+ enabled: boolean
3403
+ change_description?: string
3404
+ created_at: string // date-time
3405
+ updated_at: string // date-time
3406
+ configuration?: {
3407
+ operation: {
3408
+ method: { ... }
3409
+ path: { ... }
3410
+ headers?: { ... }
3411
+ query_params?: { ... }
3412
+ }
3413
+ request_mapping?: string
3414
+ response_mapping?: string
3415
+ inbound_use_case_slug?: string
3416
+ }
3417
+ }
3418
+ ```
3419
+
2944
3420
  ### `SecureProxyUseCase`
2945
3421
 
2946
3422
  ```ts
@@ -3159,11 +3635,19 @@ type CreateUseCaseRequest = {
3159
3635
  name: string
3160
3636
  slug?: string
3161
3637
  enabled: boolean
3162
- type: "secure_proxy"
3638
+ type: "managed_call"
3163
3639
  configuration?: {
3164
- vpc_mode: "static_ip" | "secure_link"
3165
- allowed_domains?: string[]
3640
+ operation: {
3641
+ method: { ... }
3642
+ path: { ... }
3643
+ headers?: { ... }
3644
+ query_params?: { ... }
3645
+ }
3646
+ request_mapping?: string
3647
+ response_mapping?: string
3648
+ inbound_use_case_slug?: string
3166
3649
  }
3650
+ // ...
3167
3651
  }
3168
3652
  ```
3169
3653
 
@@ -3279,6 +3763,28 @@ type CreateFileProxyUseCaseRequest = {
3279
3763
  }
3280
3764
  ```
3281
3765
 
3766
+ ### `CreateManagedCallUseCaseRequest`
3767
+
3768
+ ```ts
3769
+ type CreateManagedCallUseCaseRequest = {
3770
+ name: string
3771
+ slug?: string
3772
+ enabled: boolean
3773
+ type: "managed_call"
3774
+ configuration?: {
3775
+ operation: {
3776
+ method: { ... }
3777
+ path: { ... }
3778
+ headers?: { ... }
3779
+ query_params?: { ... }
3780
+ }
3781
+ request_mapping?: string
3782
+ response_mapping?: string
3783
+ inbound_use_case_slug?: string
3784
+ }
3785
+ }
3786
+ ```
3787
+
3282
3788
  ### `CreateSecureProxyUseCaseRequest`
3283
3789
 
3284
3790
  ```ts
@@ -3389,11 +3895,15 @@ type UpdateUseCaseRequest = {
3389
3895
  slug?: string
3390
3896
  enabled?: boolean
3391
3897
  change_description?: string
3392
- type?: "secure_proxy"
3898
+ type?: "managed_call"
3393
3899
  configuration?: {
3394
- vpc_mode: "static_ip" | "secure_link"
3395
- allowed_domains?: string[]
3396
- }
3900
+ operation: {
3901
+ method: { ... }
3902
+ path: { ... }
3903
+ headers?: { ... }
3904
+ query_params?: { ... }
3905
+ }
3906
+ // ...
3397
3907
  }
3398
3908
  ```
3399
3909
 
@@ -3513,6 +4023,29 @@ type UpdateFileProxyUseCaseRequest = {
3513
4023
  }
3514
4024
  ```
3515
4025
 
4026
+ ### `UpdateManagedCallUseCaseRequest`
4027
+
4028
+ ```ts
4029
+ type UpdateManagedCallUseCaseRequest = {
4030
+ name?: string
4031
+ slug?: string
4032
+ enabled?: boolean
4033
+ change_description?: string
4034
+ type?: "managed_call"
4035
+ configuration?: {
4036
+ operation: {
4037
+ method: { ... }
4038
+ path: { ... }
4039
+ headers?: { ... }
4040
+ query_params?: { ... }
4041
+ }
4042
+ request_mapping?: string
4043
+ response_mapping?: string
4044
+ inbound_use_case_slug?: string
4045
+ }
4046
+ }
4047
+ ```
4048
+
3516
4049
  ### `UpdateSecureProxyUseCaseRequest`
3517
4050
 
3518
4051
  ```ts
@@ -3776,6 +4309,35 @@ type FileProxyUseCaseHistoryEntry = {
3776
4309
  }
3777
4310
  ```
3778
4311
 
4312
+ ### `ManagedCallUseCaseHistoryEntry`
4313
+
4314
+ ```ts
4315
+ type ManagedCallUseCaseHistoryEntry = {
4316
+ id: string // uuid
4317
+ useCaseId: string // uuid
4318
+ integrationId: string // uuid
4319
+ name: string
4320
+ slug?: string
4321
+ enabled: boolean
4322
+ change_description?: string
4323
+ created_at: string // date-time
4324
+ updated_at: string // date-time
4325
+ history_created_at: string // date-time
4326
+ type: "managed_call"
4327
+ configuration?: {
4328
+ operation: {
4329
+ method: { ... }
4330
+ path: { ... }
4331
+ headers?: { ... }
4332
+ query_params?: { ... }
4333
+ }
4334
+ request_mapping?: string
4335
+ response_mapping?: string
4336
+ inbound_use_case_slug?: string
4337
+ }
4338
+ }
4339
+ ```
4340
+
3779
4341
  ### `SecureProxyUseCaseHistoryEntry`
3780
4342
 
3781
4343
  ```ts
@@ -3850,6 +4412,71 @@ type SecureProxyResponse = {
3850
4412
  }
3851
4413
  ```
3852
4414
 
4415
+ ### `ManagedCallOperationConfig`
4416
+
4417
+ Configuration for managed_call use cases. Defines a single API operation with JSONata mapping.
4418
+
4419
+ ```ts
4420
+ type ManagedCallOperationConfig = {
4421
+ operation: {
4422
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"
4423
+ path: string
4424
+ headers?: Record<string, string>
4425
+ query_params?: Record<string, string>
4426
+ }
4427
+ request_mapping?: string
4428
+ response_mapping?: string
4429
+ inbound_use_case_slug?: string
4430
+ }
4431
+ ```
4432
+
4433
+ ### `ManagedCallOperation`
4434
+
4435
+ HTTP operation configuration for managed calls
4436
+
4437
+ ```ts
4438
+ type ManagedCallOperation = {
4439
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"
4440
+ path: string
4441
+ headers?: Record<string, string>
4442
+ query_params?: Record<string, string>
4443
+ }
4444
+ ```
4445
+
4446
+ ### `ManagedCallExecuteRequest`
4447
+
4448
+ ```ts
4449
+ type ManagedCallExecuteRequest = {
4450
+ integration_id: string // uuid
4451
+ payload?: Record<string, unknown>
4452
+ correlation_id?: string
4453
+ }
4454
+ ```
4455
+
4456
+ ### `ManagedCallExecuteResponse`
4457
+
4458
+ The response from a managed call execution.
4459
+ On success, returns the JSONata-mapped response data directly (no wrapper).
4460
+ The shape is entirely defined by your response_mapping JSONata expression.
4461
+ If no response_mapping is configured, returns the raw external API response.
4462
+ Check the X-Inbound-Event-Id
4463
+
4464
+ ```ts
4465
+ type ManagedCallExecuteResponse = unknown
4466
+ ```
4467
+
4468
+ ### `ManagedCallErrorResponse`
4469
+
4470
+ ```ts
4471
+ type ManagedCallErrorResponse = {
4472
+ error: {
4473
+ code: string
4474
+ message: string
4475
+ details?: Record<string, unknown>
4476
+ }
4477
+ }
4478
+ ```
4479
+
3853
4480
  ### `FileProxyUseCaseConfiguration`
3854
4481
 
3855
4482
  Configuration for file_proxy use cases. Defines how to authenticate and fetch files from external document systems.