@epilot/sdk 2.2.1 → 2.2.3
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/access-token-runtime.json +1 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-runtime.json +1 -0
- package/definitions/address-suggestions-runtime.json +1 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents-runtime.json +1 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app-runtime.json +1 -0
- package/definitions/app.json +4493 -0
- package/definitions/audit-logs-runtime.json +1 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation-runtime.json +1 -0
- package/definitions/automation.json +4819 -0
- package/definitions/billing-runtime.json +1 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest-runtime.json +1 -0
- package/definitions/blueprint-manifest.json +3490 -0
- package/definitions/consent-runtime.json +1 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal-runtime.json +1 -0
- package/definitions/customer-portal.json +15676 -0
- package/definitions/dashboard-runtime.json +1 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +972 -0
- package/definitions/deduplication-runtime.json +1 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design-runtime.json +1 -0
- package/definitions/design.json +1423 -0
- package/definitions/document-runtime.json +1 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings-runtime.json +1 -0
- package/definitions/email-settings.json +2748 -0
- package/definitions/email-template-runtime.json +1 -0
- package/definitions/email-template.json +1441 -0
- package/definitions/entity-mapping-runtime.json +1 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity-runtime.json +1 -0
- package/definitions/entity.json +10404 -0
- package/definitions/environments-runtime.json +1 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +6780 -0
- package/definitions/event-catalog-runtime.json +1 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file-runtime.json +1 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban-runtime.json +1 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey-runtime.json +1 -0
- package/definitions/journey.json +2594 -0
- package/definitions/kanban-runtime.json +1 -0
- package/definitions/kanban.json +1505 -0
- package/definitions/message-runtime.json +1 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering-runtime.json +1 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes-runtime.json +1 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification-runtime.json +1 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization-runtime.json +1 -0
- package/definitions/organization.json +1192 -0
- package/definitions/partner-directory-runtime.json +1 -0
- package/definitions/partner-directory.json +2284 -0
- package/definitions/permissions-runtime.json +1 -0
- package/definitions/permissions.json +1515 -0
- package/definitions/pricing-runtime.json +1 -0
- package/definitions/pricing-tier-runtime.json +1 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose-runtime.json +1 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox-runtime.json +1 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission-runtime.json +1 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting-runtime.json +1 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables-runtime.json +1 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user-runtime.json +1 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules-runtime.json +1 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks-runtime.json +1 -0
- package/definitions/webhooks.json +1634 -0
- package/definitions/workflow-definition-runtime.json +1 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow-runtime.json +1 -0
- package/definitions/workflow.json +4146 -0
- 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.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.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- 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/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-management.cjs +6 -6
- package/dist/apis/data-management.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 +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +8 -8
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +2 -2
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.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/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- 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/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/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.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/{automation.d-KOiZ6ru5.d.cts → automation.d-D7BzN7Gq.d.cts} +4 -0
- package/dist/{automation.d-KOiZ6ru5.d.ts → automation.d-D7BzN7Gq.d.ts} +4 -0
- package/dist/bin/cli.js +1 -1
- package/dist/{chunk-6TKKEGYU.cjs → chunk-EH7KVFLO.cjs} +5 -5
- package/dist/{chunk-TPA4HEAO.js → chunk-LHVRAAFH.js} +1 -1
- package/dist/{chunk-IGVVJMX7.cjs → chunk-ODD4JQVS.cjs} +1 -1
- package/dist/chunk-RKSUIRD2.js +14 -0
- package/dist/{chunk-G33CBNJD.js → chunk-TUSCE6W2.js} +5 -5
- package/dist/chunk-XLQ4ZRBF.cjs +14 -0
- package/dist/entity-RCWJZZXM.cjs +7 -0
- package/dist/entity-X374X6EQ.js +7 -0
- package/dist/{entity-runtime-QSFVEFJ6.js → entity-runtime-CWQUEFCS.js} +1 -1
- package/dist/entity-runtime-EOWSEXC7.cjs +5 -0
- package/dist/{entity.d-DtiajmaY.d.cts → entity.d-t9R21446.d.cts} +140 -4
- package/dist/{entity.d-DtiajmaY.d.ts → entity.d-t9R21446.d.ts} +140 -4
- package/dist/erp-integration-6I4B4BIU.cjs +7 -0
- package/dist/erp-integration-G54BMGGE.js +7 -0
- package/dist/{erp-integration-runtime-FNJXDO75.js → erp-integration-runtime-6SBLYZ34.js} +1 -1
- package/dist/{erp-integration-runtime-WXZIQCLJ.cjs → erp-integration-runtime-HZI2P4X7.cjs} +2 -2
- package/dist/{erp-integration.d-DOhxy4P5.d.cts → erp-integration.d-BV3Rv9e6.d.cts} +479 -14
- package/dist/{erp-integration.d-DOhxy4P5.d.ts → erp-integration.d-BV3Rv9e6.d.ts} +479 -14
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/journey-HKN7QXCZ.cjs +7 -0
- package/dist/journey-UBZCOJNW.js +7 -0
- package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BguKXj73.d.cts} +0 -8
- package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BguKXj73.d.ts} +0 -8
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/docs/entity.md +337 -5
- package/docs/erp-integration.md +643 -16
- package/docs/journey.md +0 -6
- package/package.json +1 -1
- package/dist/chunk-24T6CJTG.js +0 -14
- package/dist/chunk-TTNPMFXL.cjs +0 -14
- package/dist/entity-FA6PZX6S.js +0 -7
- package/dist/entity-IX5NSHPX.cjs +0 -7
- package/dist/entity-runtime-XSAICIVR.cjs +0 -5
- package/dist/erp-integration-EP2XFEH5.js +0 -7
- package/dist/erp-integration-NNV72VFI.cjs +0 -7
- package/dist/journey-KDR5EU3W.js +0 -7
- package/dist/journey-REBN4TGQ.cjs +0 -7
|
@@ -19,6 +19,7 @@ declare namespace Components {
|
|
|
19
19
|
message?: string;
|
|
20
20
|
}[];
|
|
21
21
|
}
|
|
22
|
+
export type Forbidden = Schemas.ErrorResponseBase;
|
|
22
23
|
export type GetMonitoringStatsResponse = Schemas.MonitoringStats;
|
|
23
24
|
export interface GetMonitoringTimeSeriesResponse {
|
|
24
25
|
/**
|
|
@@ -195,6 +196,16 @@ declare namespace Components {
|
|
|
195
196
|
*/
|
|
196
197
|
freshnessThresholdMinutes?: number;
|
|
197
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Shared configuration for connector-type integrations
|
|
201
|
+
*/
|
|
202
|
+
export interface ConnectorConfig {
|
|
203
|
+
/**
|
|
204
|
+
* Base URL for the partner API
|
|
205
|
+
*/
|
|
206
|
+
base_url?: string;
|
|
207
|
+
auth?: /* Authentication configuration for managed call requests */ ManagedCallAuth;
|
|
208
|
+
}
|
|
198
209
|
export interface CreateFileProxyUseCaseRequest {
|
|
199
210
|
/**
|
|
200
211
|
* Use case name
|
|
@@ -265,6 +276,36 @@ declare namespace Components {
|
|
|
265
276
|
*/
|
|
266
277
|
environment_config?: EnvironmentFieldConfig[];
|
|
267
278
|
settings?: /* Settings for the integration */ IntegrationSettings;
|
|
279
|
+
/**
|
|
280
|
+
* Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
integration_type?: "erp" | "connector";
|
|
284
|
+
connector_config?: /* Shared configuration for connector-type integrations */ ConnectorConfig;
|
|
285
|
+
/**
|
|
286
|
+
* If true, integration is displayed in read-only mode in the UI to discourage changes
|
|
287
|
+
*/
|
|
288
|
+
protected?: boolean;
|
|
289
|
+
}
|
|
290
|
+
export interface CreateManagedCallUseCaseRequest {
|
|
291
|
+
/**
|
|
292
|
+
* Use case name
|
|
293
|
+
*/
|
|
294
|
+
name: string;
|
|
295
|
+
/**
|
|
296
|
+
* URL-safe identifier for the use case. Recommended for portable cross-environment referencing. Must be unique per integration. Immutable after creation. Lowercase alphanumeric, hyphens, and underscores only.
|
|
297
|
+
*
|
|
298
|
+
*/
|
|
299
|
+
slug?: string; // ^[a-z0-9][a-z0-9_-]*$
|
|
300
|
+
/**
|
|
301
|
+
* Whether the use case is enabled
|
|
302
|
+
*/
|
|
303
|
+
enabled: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* Use case type for managed API calls
|
|
306
|
+
*/
|
|
307
|
+
type: "managed_call";
|
|
308
|
+
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
268
309
|
}
|
|
269
310
|
export interface CreateOutboundUseCaseRequest {
|
|
270
311
|
/**
|
|
@@ -310,7 +351,7 @@ declare namespace Components {
|
|
|
310
351
|
*/
|
|
311
352
|
SecureProxyUseCaseConfiguration;
|
|
312
353
|
}
|
|
313
|
-
export type CreateUseCaseRequest = CreateInboundUseCaseRequest | CreateOutboundUseCaseRequest | CreateFileProxyUseCaseRequest | CreateSecureProxyUseCaseRequest;
|
|
354
|
+
export type CreateUseCaseRequest = CreateInboundUseCaseRequest | CreateOutboundUseCaseRequest | CreateFileProxyUseCaseRequest | CreateManagedCallUseCaseRequest | CreateSecureProxyUseCaseRequest;
|
|
314
355
|
export interface CreateUseCaseRequestBase {
|
|
315
356
|
/**
|
|
316
357
|
* Use case name
|
|
@@ -429,6 +470,38 @@ declare namespace Components {
|
|
|
429
470
|
type: "inbound";
|
|
430
471
|
configuration?: /* Configuration for inbound use cases (ERP to epilot) */ InboundIntegrationEventConfiguration;
|
|
431
472
|
}
|
|
473
|
+
export interface EmbeddedManagedCallUseCaseRequest {
|
|
474
|
+
/**
|
|
475
|
+
* Optional use case ID for update matching.
|
|
476
|
+
* - If provided and matches an existing use case, that use case is updated
|
|
477
|
+
* - If provided but no match, a new use case with this ID is created
|
|
478
|
+
* - If omitted, a new use case with auto-generated ID is created
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
id?: string; // uuid
|
|
482
|
+
/**
|
|
483
|
+
* Use case name
|
|
484
|
+
*/
|
|
485
|
+
name: string;
|
|
486
|
+
/**
|
|
487
|
+
* URL-safe identifier for the use case. Recommended for portable cross-environment referencing. Must be unique per integration. Immutable after creation.
|
|
488
|
+
*
|
|
489
|
+
*/
|
|
490
|
+
slug?: string; // ^[a-z0-9][a-z0-9_-]*$
|
|
491
|
+
/**
|
|
492
|
+
* Whether the use case is enabled
|
|
493
|
+
*/
|
|
494
|
+
enabled: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* Optional description of this change (like a commit message)
|
|
497
|
+
*/
|
|
498
|
+
change_description?: string;
|
|
499
|
+
/**
|
|
500
|
+
* Use case type for managed API calls
|
|
501
|
+
*/
|
|
502
|
+
type: "managed_call";
|
|
503
|
+
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
504
|
+
}
|
|
432
505
|
export interface EmbeddedOutboundUseCaseRequest {
|
|
433
506
|
/**
|
|
434
507
|
* Optional use case ID for update matching.
|
|
@@ -497,7 +570,7 @@ declare namespace Components {
|
|
|
497
570
|
*/
|
|
498
571
|
SecureProxyUseCaseConfiguration;
|
|
499
572
|
}
|
|
500
|
-
export type EmbeddedUseCaseRequest = EmbeddedInboundUseCaseRequest | EmbeddedOutboundUseCaseRequest | EmbeddedFileProxyUseCaseRequest | EmbeddedSecureProxyUseCaseRequest;
|
|
573
|
+
export type EmbeddedUseCaseRequest = EmbeddedInboundUseCaseRequest | EmbeddedOutboundUseCaseRequest | EmbeddedFileProxyUseCaseRequest | EmbeddedManagedCallUseCaseRequest | EmbeddedSecureProxyUseCaseRequest;
|
|
501
574
|
export interface EmbeddedUseCaseRequestBase {
|
|
502
575
|
/**
|
|
503
576
|
* Optional use case ID for update matching.
|
|
@@ -604,25 +677,40 @@ declare namespace Components {
|
|
|
604
677
|
/**
|
|
605
678
|
* Event name from integration mapping (e.g., business_partner, contract_account). Required when use_case_slug is not provided.
|
|
606
679
|
*
|
|
680
|
+
* example:
|
|
681
|
+
* business_partner
|
|
607
682
|
*/
|
|
608
683
|
event_name: string;
|
|
609
684
|
/**
|
|
610
685
|
* Timestamp when the event occurred
|
|
686
|
+
* example:
|
|
687
|
+
* 2025-05-01T08:30:00Z
|
|
611
688
|
*/
|
|
612
689
|
timestamp: string; // date-time
|
|
613
690
|
/**
|
|
614
691
|
* Format of the payload data
|
|
692
|
+
* example:
|
|
693
|
+
* json
|
|
615
694
|
*/
|
|
616
695
|
format: "json" | "xml";
|
|
617
696
|
/**
|
|
618
697
|
* The object data payload - can be either a serialized string or a direct JSON object
|
|
698
|
+
* example:
|
|
699
|
+
* {"id":"BP10001","name":"Acme Corporation","type":"organization","tax_id":"DE123456789","status":"active"}
|
|
700
|
+
*/
|
|
701
|
+
payload: /**
|
|
702
|
+
* The object data payload - can be either a serialized string or a direct JSON object
|
|
703
|
+
* example:
|
|
704
|
+
* {"id":"BP10001","name":"Acme Corporation","type":"organization","tax_id":"DE123456789","status":"active"}
|
|
619
705
|
*/
|
|
620
|
-
|
|
706
|
+
string | {
|
|
621
707
|
[name: string]: any;
|
|
622
708
|
};
|
|
623
709
|
/**
|
|
624
710
|
* Recommended. Use case slug for routing this event to the correct use case configuration. If provided, takes precedence over event_name for use case lookup. Preferred over event_name-based routing as slugs are portable across environments.
|
|
625
711
|
*
|
|
712
|
+
* example:
|
|
713
|
+
* business_partner
|
|
626
714
|
*/
|
|
627
715
|
use_case_slug?: string; // ^[a-z0-9][a-z0-9_-]*$
|
|
628
716
|
/**
|
|
@@ -636,25 +724,40 @@ declare namespace Components {
|
|
|
636
724
|
/**
|
|
637
725
|
* Event name from integration mapping (e.g., business_partner, contract_account). Required when use_case_slug is not provided.
|
|
638
726
|
*
|
|
727
|
+
* example:
|
|
728
|
+
* business_partner
|
|
639
729
|
*/
|
|
640
730
|
event_name?: string;
|
|
641
731
|
/**
|
|
642
732
|
* Timestamp when the event occurred
|
|
733
|
+
* example:
|
|
734
|
+
* 2025-05-01T08:30:00Z
|
|
643
735
|
*/
|
|
644
736
|
timestamp: string; // date-time
|
|
645
737
|
/**
|
|
646
738
|
* Format of the payload data
|
|
739
|
+
* example:
|
|
740
|
+
* json
|
|
647
741
|
*/
|
|
648
742
|
format: "json" | "xml";
|
|
649
743
|
/**
|
|
650
744
|
* The object data payload - can be either a serialized string or a direct JSON object
|
|
745
|
+
* example:
|
|
746
|
+
* {"id":"BP10001","name":"Acme Corporation","type":"organization","tax_id":"DE123456789","status":"active"}
|
|
651
747
|
*/
|
|
652
|
-
payload:
|
|
748
|
+
payload: /**
|
|
749
|
+
* The object data payload - can be either a serialized string or a direct JSON object
|
|
750
|
+
* example:
|
|
751
|
+
* {"id":"BP10001","name":"Acme Corporation","type":"organization","tax_id":"DE123456789","status":"active"}
|
|
752
|
+
*/
|
|
753
|
+
string | {
|
|
653
754
|
[name: string]: any;
|
|
654
755
|
};
|
|
655
756
|
/**
|
|
656
757
|
* Recommended. Use case slug for routing this event to the correct use case configuration. If provided, takes precedence over event_name for use case lookup. Preferred over event_name-based routing as slugs are portable across environments.
|
|
657
758
|
*
|
|
759
|
+
* example:
|
|
760
|
+
* business_partner
|
|
658
761
|
*/
|
|
659
762
|
use_case_slug: string; // ^[a-z0-9][a-z0-9_-]*$
|
|
660
763
|
/**
|
|
@@ -890,7 +993,7 @@ declare namespace Components {
|
|
|
890
993
|
/**
|
|
891
994
|
* Use case type
|
|
892
995
|
*/
|
|
893
|
-
type: "inbound" | "outbound" | "file_proxy" | "secure_proxy" | "file_proxy";
|
|
996
|
+
type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | "file_proxy";
|
|
894
997
|
enabled: boolean;
|
|
895
998
|
/**
|
|
896
999
|
* Description of the last change made to this use case
|
|
@@ -929,7 +1032,12 @@ declare namespace Components {
|
|
|
929
1032
|
* must belong to the same integration.
|
|
930
1033
|
*
|
|
931
1034
|
*/
|
|
932
|
-
secure_proxy?:
|
|
1035
|
+
secure_proxy?: {
|
|
1036
|
+
/**
|
|
1037
|
+
* Slug of the secure_proxy use case in the same integration.
|
|
1038
|
+
*/
|
|
1039
|
+
use_case_slug: string;
|
|
1040
|
+
};
|
|
933
1041
|
auth?: FileProxyAuth;
|
|
934
1042
|
/**
|
|
935
1043
|
* Additional use-case-specific parameters expected in the download URL query string (beyond the required orgId, integrationId, and useCaseSlug or useCaseId)
|
|
@@ -1153,7 +1261,7 @@ declare namespace Components {
|
|
|
1153
1261
|
/**
|
|
1154
1262
|
* Use case type
|
|
1155
1263
|
*/
|
|
1156
|
-
type: "inbound" | "outbound" | "file_proxy" | "secure_proxy" | "inbound";
|
|
1264
|
+
type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | "inbound";
|
|
1157
1265
|
enabled: boolean;
|
|
1158
1266
|
/**
|
|
1159
1267
|
* Description of the last change made to this use case
|
|
@@ -1254,6 +1362,16 @@ declare namespace Components {
|
|
|
1254
1362
|
*/
|
|
1255
1363
|
environment_config?: EnvironmentFieldConfig[];
|
|
1256
1364
|
settings?: /* Settings for the integration */ IntegrationSettings;
|
|
1365
|
+
/**
|
|
1366
|
+
* Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
|
|
1367
|
+
*
|
|
1368
|
+
*/
|
|
1369
|
+
integration_type?: "erp" | "connector";
|
|
1370
|
+
connector_config?: /* Shared configuration for connector-type integrations */ ConnectorConfig;
|
|
1371
|
+
/**
|
|
1372
|
+
* If true, integration is displayed in read-only mode in the UI to discourage changes
|
|
1373
|
+
*/
|
|
1374
|
+
protected?: boolean;
|
|
1257
1375
|
}
|
|
1258
1376
|
export interface IntegrationAppMapping {
|
|
1259
1377
|
/**
|
|
@@ -1311,6 +1429,16 @@ declare namespace Components {
|
|
|
1311
1429
|
*/
|
|
1312
1430
|
environment_config?: EnvironmentFieldConfig[];
|
|
1313
1431
|
settings?: /* Settings for the integration */ IntegrationSettings;
|
|
1432
|
+
/**
|
|
1433
|
+
* Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
|
|
1434
|
+
*
|
|
1435
|
+
*/
|
|
1436
|
+
integration_type?: "erp" | "connector";
|
|
1437
|
+
connector_config?: /* Shared configuration for connector-type integrations */ ConnectorConfig;
|
|
1438
|
+
/**
|
|
1439
|
+
* If true, integration is displayed in read-only mode in the UI to discourage changes
|
|
1440
|
+
*/
|
|
1441
|
+
protected?: boolean;
|
|
1314
1442
|
}
|
|
1315
1443
|
export interface IntegrationEntity {
|
|
1316
1444
|
/**
|
|
@@ -1511,11 +1639,250 @@ declare namespace Components {
|
|
|
1511
1639
|
*/
|
|
1512
1640
|
environment_config?: EnvironmentFieldConfig[];
|
|
1513
1641
|
settings?: /* Settings for the integration */ IntegrationSettings;
|
|
1642
|
+
/**
|
|
1643
|
+
* Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
|
|
1644
|
+
*
|
|
1645
|
+
*/
|
|
1646
|
+
integration_type?: "erp" | "connector";
|
|
1647
|
+
connector_config?: /* Shared configuration for connector-type integrations */ ConnectorConfig;
|
|
1648
|
+
/**
|
|
1649
|
+
* If true, integration is displayed in read-only mode in the UI to discourage changes
|
|
1650
|
+
*/
|
|
1651
|
+
protected?: boolean;
|
|
1514
1652
|
/**
|
|
1515
1653
|
* All use cases belonging to this integration
|
|
1516
1654
|
*/
|
|
1517
1655
|
use_cases: UseCase[];
|
|
1518
1656
|
}
|
|
1657
|
+
/**
|
|
1658
|
+
* Authentication configuration for managed call requests
|
|
1659
|
+
*/
|
|
1660
|
+
export interface ManagedCallAuth {
|
|
1661
|
+
/**
|
|
1662
|
+
* Authentication type
|
|
1663
|
+
*/
|
|
1664
|
+
type?: "oauth2_client_credentials" | "api_key" | "bearer";
|
|
1665
|
+
/**
|
|
1666
|
+
* OAuth2 token URL. Can be plain text or {{env.key}} reference.
|
|
1667
|
+
*/
|
|
1668
|
+
token_url?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* OAuth2 client ID. Can be plain text or {{env.key}} reference.
|
|
1671
|
+
*/
|
|
1672
|
+
client_id?: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* OAuth2 client secret. Must be an {{env.key}} reference (secret).
|
|
1675
|
+
*/
|
|
1676
|
+
client_secret?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* OAuth2 scope
|
|
1679
|
+
*/
|
|
1680
|
+
scope?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* OAuth2 audience parameter (e.g. for Auth0, Azure AD). Can be plain text or {{env.key}} reference.
|
|
1683
|
+
*/
|
|
1684
|
+
audience?: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* OAuth2 resource parameter (e.g. for Azure AD). Can be plain text or {{env.key}} reference.
|
|
1687
|
+
*/
|
|
1688
|
+
resource?: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* Additional key-value pairs for the OAuth2 token request body. Values can be {{env.key}} references.
|
|
1691
|
+
*/
|
|
1692
|
+
body_params?: {
|
|
1693
|
+
[name: string]: string;
|
|
1694
|
+
};
|
|
1695
|
+
/**
|
|
1696
|
+
* Additional headers for the OAuth2 token request. Values can be {{env.key}} references.
|
|
1697
|
+
*/
|
|
1698
|
+
headers?: {
|
|
1699
|
+
[name: string]: string;
|
|
1700
|
+
};
|
|
1701
|
+
/**
|
|
1702
|
+
* Additional query parameters for the OAuth2 token URL. Values can be {{env.key}} references.
|
|
1703
|
+
*/
|
|
1704
|
+
query_params?: {
|
|
1705
|
+
[name: string]: string;
|
|
1706
|
+
};
|
|
1707
|
+
/**
|
|
1708
|
+
* Header name for API key auth (default X-API-Key)
|
|
1709
|
+
*/
|
|
1710
|
+
api_key_header?: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* API key value. Must be an {{env.key}} reference (secret).
|
|
1713
|
+
*/
|
|
1714
|
+
api_key?: string;
|
|
1715
|
+
/**
|
|
1716
|
+
* Bearer token value. Must be an {{env.key}} reference (secret).
|
|
1717
|
+
*/
|
|
1718
|
+
token?: string;
|
|
1719
|
+
}
|
|
1720
|
+
export interface ManagedCallErrorResponse {
|
|
1721
|
+
error: {
|
|
1722
|
+
/**
|
|
1723
|
+
* Error code (e.g., EXTERNAL_API_ERROR, SSRF_BLOCKED, MANAGED_CALL_EXECUTION_ERROR)
|
|
1724
|
+
*/
|
|
1725
|
+
code: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* Human-readable error message
|
|
1728
|
+
*/
|
|
1729
|
+
message: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Additional error details (e.g., status code and body for external API errors)
|
|
1732
|
+
*/
|
|
1733
|
+
details?: {
|
|
1734
|
+
[name: string]: any;
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
}
|
|
1738
|
+
export interface ManagedCallExecuteRequest {
|
|
1739
|
+
/**
|
|
1740
|
+
* Integration ID
|
|
1741
|
+
*/
|
|
1742
|
+
integration_id: string; // uuid
|
|
1743
|
+
/**
|
|
1744
|
+
* Request payload for the managed call operation
|
|
1745
|
+
*/
|
|
1746
|
+
payload?: {
|
|
1747
|
+
[name: string]: any;
|
|
1748
|
+
};
|
|
1749
|
+
/**
|
|
1750
|
+
* Correlation ID for tracing related events (auto-generated if not provided)
|
|
1751
|
+
*/
|
|
1752
|
+
correlation_id?: string;
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* The response from a managed call execution.
|
|
1756
|
+
* On success, returns the JSONata-mapped response data directly (no wrapper).
|
|
1757
|
+
* The shape is entirely defined by your response_mapping JSONata expression.
|
|
1758
|
+
* If no response_mapping is configured, returns the raw external API response.
|
|
1759
|
+
* Check the X-Inbound-Event-Id header for inbound pipeline tracking when inbound routing is configured.
|
|
1760
|
+
*
|
|
1761
|
+
*/
|
|
1762
|
+
export interface ManagedCallExecuteResponse {
|
|
1763
|
+
[name: string]: any;
|
|
1764
|
+
}
|
|
1765
|
+
/**
|
|
1766
|
+
* HTTP operation configuration for managed calls
|
|
1767
|
+
*/
|
|
1768
|
+
export interface ManagedCallOperation {
|
|
1769
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1770
|
+
/**
|
|
1771
|
+
* URL path template with {{variable}} interpolation
|
|
1772
|
+
*/
|
|
1773
|
+
path: string;
|
|
1774
|
+
headers?: {
|
|
1775
|
+
[name: string]: string;
|
|
1776
|
+
};
|
|
1777
|
+
query_params?: {
|
|
1778
|
+
[name: string]: string;
|
|
1779
|
+
};
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping.
|
|
1783
|
+
*/
|
|
1784
|
+
export interface ManagedCallOperationConfig {
|
|
1785
|
+
operation: /* HTTP operation configuration for managed calls */ ManagedCallOperation;
|
|
1786
|
+
/**
|
|
1787
|
+
* JSONata expression for outbound body transformation
|
|
1788
|
+
*/
|
|
1789
|
+
request_mapping?: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* JSONata expression for inbound response transformation
|
|
1792
|
+
*/
|
|
1793
|
+
response_mapping?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* Slug of the inbound use case to route responses to for async entity processing.
|
|
1796
|
+
* When set, the managed call response is queued to the inbound pipeline and processed
|
|
1797
|
+
* using the referenced inbound use case's mapping configuration.
|
|
1798
|
+
*
|
|
1799
|
+
*/
|
|
1800
|
+
inbound_use_case_slug?: string;
|
|
1801
|
+
}
|
|
1802
|
+
export interface ManagedCallUseCase {
|
|
1803
|
+
/**
|
|
1804
|
+
* Unique identifier for the use case
|
|
1805
|
+
*/
|
|
1806
|
+
id: string; // uuid
|
|
1807
|
+
/**
|
|
1808
|
+
* Parent integration ID
|
|
1809
|
+
*/
|
|
1810
|
+
integrationId: string; // uuid
|
|
1811
|
+
/**
|
|
1812
|
+
* Use case name
|
|
1813
|
+
*/
|
|
1814
|
+
name: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* URL-safe identifier for the use case. Recommended for portable cross-environment referencing. Unique per integration. Immutable after creation. Lowercase alphanumeric, hyphens, and underscores only.
|
|
1817
|
+
*
|
|
1818
|
+
*/
|
|
1819
|
+
slug?: string; // ^[a-z0-9][a-z0-9_-]*$
|
|
1820
|
+
/**
|
|
1821
|
+
* Use case type for managed API calls
|
|
1822
|
+
*/
|
|
1823
|
+
type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | "managed_call";
|
|
1824
|
+
enabled: boolean;
|
|
1825
|
+
/**
|
|
1826
|
+
* Description of the last change made to this use case
|
|
1827
|
+
*/
|
|
1828
|
+
change_description?: string;
|
|
1829
|
+
/**
|
|
1830
|
+
* ISO-8601 timestamp when the use case was created
|
|
1831
|
+
*/
|
|
1832
|
+
created_at: string; // date-time
|
|
1833
|
+
/**
|
|
1834
|
+
* ISO-8601 timestamp when the use case was last updated
|
|
1835
|
+
*/
|
|
1836
|
+
updated_at: string; // date-time
|
|
1837
|
+
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
1838
|
+
}
|
|
1839
|
+
export interface ManagedCallUseCaseHistoryEntry {
|
|
1840
|
+
/**
|
|
1841
|
+
* Unique identifier for this history entry
|
|
1842
|
+
*/
|
|
1843
|
+
id: string; // uuid
|
|
1844
|
+
/**
|
|
1845
|
+
* Reference to the parent use case
|
|
1846
|
+
*/
|
|
1847
|
+
useCaseId: string; // uuid
|
|
1848
|
+
/**
|
|
1849
|
+
* Parent integration ID
|
|
1850
|
+
*/
|
|
1851
|
+
integrationId: string; // uuid
|
|
1852
|
+
/**
|
|
1853
|
+
* Use case name at this point in history
|
|
1854
|
+
*/
|
|
1855
|
+
name: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* Use case slug at this point in history
|
|
1858
|
+
*/
|
|
1859
|
+
slug?: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* Whether the use case was enabled at this point in history
|
|
1862
|
+
*/
|
|
1863
|
+
enabled: boolean;
|
|
1864
|
+
/**
|
|
1865
|
+
* Description of the change that was made at this point in history
|
|
1866
|
+
*/
|
|
1867
|
+
change_description?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* ISO-8601 timestamp when the use case was originally created
|
|
1870
|
+
*/
|
|
1871
|
+
created_at: string; // date-time
|
|
1872
|
+
/**
|
|
1873
|
+
* ISO-8601 timestamp of this historical snapshot (before the update)
|
|
1874
|
+
*/
|
|
1875
|
+
updated_at: string; // date-time
|
|
1876
|
+
/**
|
|
1877
|
+
* ISO-8601 timestamp when this history entry was created
|
|
1878
|
+
*/
|
|
1879
|
+
history_created_at: string; // date-time
|
|
1880
|
+
/**
|
|
1881
|
+
* Use case type for managed API calls
|
|
1882
|
+
*/
|
|
1883
|
+
type: "managed_call";
|
|
1884
|
+
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
1885
|
+
}
|
|
1519
1886
|
export interface MappingSimulationRequest {
|
|
1520
1887
|
mapping_configuration: IntegrationConfigurationV1 | IntegrationConfigurationV2;
|
|
1521
1888
|
/**
|
|
@@ -1859,7 +2226,7 @@ declare namespace Components {
|
|
|
1859
2226
|
/**
|
|
1860
2227
|
* Use case type
|
|
1861
2228
|
*/
|
|
1862
|
-
type: "inbound" | "outbound" | "file_proxy" | "secure_proxy" | "outbound";
|
|
2229
|
+
type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | "outbound";
|
|
1863
2230
|
enabled: boolean;
|
|
1864
2231
|
/**
|
|
1865
2232
|
* Description of the last change made to this use case
|
|
@@ -2540,7 +2907,7 @@ declare namespace Components {
|
|
|
2540
2907
|
/**
|
|
2541
2908
|
* Use case type
|
|
2542
2909
|
*/
|
|
2543
|
-
type: "inbound" | "outbound" | "file_proxy" | "secure_proxy" | "secure_proxy";
|
|
2910
|
+
type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | "secure_proxy";
|
|
2544
2911
|
enabled: boolean;
|
|
2545
2912
|
/**
|
|
2546
2913
|
* Description of the last change made to this use case
|
|
@@ -2780,6 +3147,30 @@ declare namespace Components {
|
|
|
2780
3147
|
configuration?: /* Configuration for inbound use cases (ERP to epilot) */ InboundIntegrationEventConfiguration;
|
|
2781
3148
|
}
|
|
2782
3149
|
export type UpdateIntegrationRequest = IntegrationEditableFields;
|
|
3150
|
+
export interface UpdateManagedCallUseCaseRequest {
|
|
3151
|
+
/**
|
|
3152
|
+
* Use case name
|
|
3153
|
+
*/
|
|
3154
|
+
name?: string;
|
|
3155
|
+
/**
|
|
3156
|
+
* URL-safe identifier for the use case. Recommended for portable cross-environment referencing. Can only be set once on use cases that don't have a slug yet. Immutable after being set.
|
|
3157
|
+
*
|
|
3158
|
+
*/
|
|
3159
|
+
slug?: string; // ^[a-z0-9][a-z0-9_-]*$
|
|
3160
|
+
/**
|
|
3161
|
+
* Whether the use case is enabled
|
|
3162
|
+
*/
|
|
3163
|
+
enabled?: boolean;
|
|
3164
|
+
/**
|
|
3165
|
+
* Optional description of this change (like a commit message)
|
|
3166
|
+
*/
|
|
3167
|
+
change_description?: string;
|
|
3168
|
+
/**
|
|
3169
|
+
* Use case type for managed API calls
|
|
3170
|
+
*/
|
|
3171
|
+
type?: "managed_call";
|
|
3172
|
+
configuration?: /* Configuration for managed_call use cases. Defines a single API operation with JSONata mapping. */ ManagedCallOperationConfig;
|
|
3173
|
+
}
|
|
2783
3174
|
export interface UpdateOutboundUseCaseRequest {
|
|
2784
3175
|
/**
|
|
2785
3176
|
* Use case name
|
|
@@ -2832,7 +3223,7 @@ declare namespace Components {
|
|
|
2832
3223
|
*/
|
|
2833
3224
|
SecureProxyUseCaseConfiguration;
|
|
2834
3225
|
}
|
|
2835
|
-
export type UpdateUseCaseRequest = UpdateInboundUseCaseRequest | UpdateOutboundUseCaseRequest | UpdateFileProxyUseCaseRequest | UpdateSecureProxyUseCaseRequest;
|
|
3226
|
+
export type UpdateUseCaseRequest = UpdateInboundUseCaseRequest | UpdateOutboundUseCaseRequest | UpdateFileProxyUseCaseRequest | UpdateManagedCallUseCaseRequest | UpdateSecureProxyUseCaseRequest;
|
|
2836
3227
|
export interface UpdateUseCaseRequestBase {
|
|
2837
3228
|
/**
|
|
2838
3229
|
* Use case name
|
|
@@ -2879,6 +3270,16 @@ declare namespace Components {
|
|
|
2879
3270
|
*/
|
|
2880
3271
|
environment_config?: EnvironmentFieldConfig[];
|
|
2881
3272
|
settings?: /* Settings for the integration */ IntegrationSettings;
|
|
3273
|
+
/**
|
|
3274
|
+
* Type of integration. "erp" is the ERP integration with inbound/outbound use cases. "connector" is for complex proxy integrations with external APIs.
|
|
3275
|
+
*
|
|
3276
|
+
*/
|
|
3277
|
+
integration_type?: "erp" | "connector";
|
|
3278
|
+
connector_config?: /* Shared configuration for connector-type integrations */ ConnectorConfig;
|
|
3279
|
+
/**
|
|
3280
|
+
* If true, integration is displayed in read-only mode in the UI to discourage changes
|
|
3281
|
+
*/
|
|
3282
|
+
protected?: boolean;
|
|
2882
3283
|
/**
|
|
2883
3284
|
* Full list of use cases (declarative). This replaces ALL existing use cases.
|
|
2884
3285
|
* - Use cases with an `id` field matching an existing use case will be updated
|
|
@@ -2888,7 +3289,7 @@ declare namespace Components {
|
|
|
2888
3289
|
*/
|
|
2889
3290
|
use_cases?: EmbeddedUseCaseRequest[];
|
|
2890
3291
|
}
|
|
2891
|
-
export type UseCase = InboundUseCase | OutboundUseCase | FileProxyUseCase | SecureProxyUseCase;
|
|
3292
|
+
export type UseCase = InboundUseCase | OutboundUseCase | FileProxyUseCase | ManagedCallUseCase | SecureProxyUseCase;
|
|
2892
3293
|
export interface UseCaseBase {
|
|
2893
3294
|
/**
|
|
2894
3295
|
* Unique identifier for the use case
|
|
@@ -2910,7 +3311,7 @@ declare namespace Components {
|
|
|
2910
3311
|
/**
|
|
2911
3312
|
* Use case type
|
|
2912
3313
|
*/
|
|
2913
|
-
type: "inbound" | "outbound" | "file_proxy" | "secure_proxy";
|
|
3314
|
+
type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
|
|
2914
3315
|
enabled: boolean;
|
|
2915
3316
|
/**
|
|
2916
3317
|
* Description of the last change made to this use case
|
|
@@ -2925,7 +3326,7 @@ declare namespace Components {
|
|
|
2925
3326
|
*/
|
|
2926
3327
|
updated_at: string; // date-time
|
|
2927
3328
|
}
|
|
2928
|
-
export type UseCaseHistoryEntry = InboundUseCaseHistoryEntry | OutboundUseCaseHistoryEntry | FileProxyUseCaseHistoryEntry | SecureProxyUseCaseHistoryEntry;
|
|
3329
|
+
export type UseCaseHistoryEntry = InboundUseCaseHistoryEntry | OutboundUseCaseHistoryEntry | FileProxyUseCaseHistoryEntry | ManagedCallUseCaseHistoryEntry | SecureProxyUseCaseHistoryEntry;
|
|
2929
3330
|
export interface UseCaseHistoryEntryBase {
|
|
2930
3331
|
/**
|
|
2931
3332
|
* Unique identifier for this history entry
|
|
@@ -3283,6 +3684,32 @@ declare namespace Paths {
|
|
|
3283
3684
|
export type $500 = Components.Responses.InternalServerError;
|
|
3284
3685
|
}
|
|
3285
3686
|
}
|
|
3687
|
+
namespace ManagedCallExecute {
|
|
3688
|
+
namespace Parameters {
|
|
3689
|
+
export type Slug = string; // ^[a-z0-9][a-z0-9_-]*$
|
|
3690
|
+
}
|
|
3691
|
+
export interface PathParameters {
|
|
3692
|
+
slug: Parameters.Slug /* ^[a-z0-9][a-z0-9_-]*$ */;
|
|
3693
|
+
}
|
|
3694
|
+
export type RequestBody = Components.Schemas.ManagedCallExecuteRequest;
|
|
3695
|
+
namespace Responses {
|
|
3696
|
+
export type $200 = /**
|
|
3697
|
+
* The response from a managed call execution.
|
|
3698
|
+
* On success, returns the JSONata-mapped response data directly (no wrapper).
|
|
3699
|
+
* The shape is entirely defined by your response_mapping JSONata expression.
|
|
3700
|
+
* If no response_mapping is configured, returns the raw external API response.
|
|
3701
|
+
* Check the X-Inbound-Event-Id header for inbound pipeline tracking when inbound routing is configured.
|
|
3702
|
+
*
|
|
3703
|
+
*/
|
|
3704
|
+
Components.Schemas.ManagedCallExecuteResponse;
|
|
3705
|
+
export type $400 = Components.Schemas.ManagedCallErrorResponse;
|
|
3706
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
3707
|
+
export type $403 = Components.Responses.Forbidden;
|
|
3708
|
+
export type $404 = Components.Responses.NotFound;
|
|
3709
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
3710
|
+
export type $502 = Components.Schemas.ManagedCallErrorResponse;
|
|
3711
|
+
}
|
|
3712
|
+
}
|
|
3286
3713
|
namespace ProcessErpUpdatesEvents {
|
|
3287
3714
|
export interface RequestBody {
|
|
3288
3715
|
/**
|
|
@@ -3944,6 +4371,18 @@ interface OperationMethods {
|
|
|
3944
4371
|
data?: Paths.SecureProxy.RequestBody,
|
|
3945
4372
|
config?: AxiosRequestConfig
|
|
3946
4373
|
): OperationResponse<Paths.SecureProxy.Responses.$200>
|
|
4374
|
+
/**
|
|
4375
|
+
* managedCallExecute - Execute a managed call operation
|
|
4376
|
+
*
|
|
4377
|
+
* Execute a managed call operation synchronously. The slug in the path acts as the RPC method name.
|
|
4378
|
+
* Calls an external partner API with JSONata mapping on both request and response.
|
|
4379
|
+
*
|
|
4380
|
+
*/
|
|
4381
|
+
'managedCallExecute'(
|
|
4382
|
+
parameters?: Parameters<Paths.ManagedCallExecute.PathParameters> | null,
|
|
4383
|
+
data?: Paths.ManagedCallExecute.RequestBody,
|
|
4384
|
+
config?: AxiosRequestConfig
|
|
4385
|
+
): OperationResponse<Paths.ManagedCallExecute.Responses.$200>
|
|
3947
4386
|
}
|
|
3948
4387
|
|
|
3949
4388
|
interface PathsDictionary {
|
|
@@ -4399,6 +4838,20 @@ interface PathsDictionary {
|
|
|
4399
4838
|
config?: AxiosRequestConfig
|
|
4400
4839
|
): OperationResponse<Paths.SecureProxy.Responses.$200>
|
|
4401
4840
|
}
|
|
4841
|
+
['/v1/managed-call/{slug}/execute']: {
|
|
4842
|
+
/**
|
|
4843
|
+
* managedCallExecute - Execute a managed call operation
|
|
4844
|
+
*
|
|
4845
|
+
* Execute a managed call operation synchronously. The slug in the path acts as the RPC method name.
|
|
4846
|
+
* Calls an external partner API with JSONata mapping on both request and response.
|
|
4847
|
+
*
|
|
4848
|
+
*/
|
|
4849
|
+
'post'(
|
|
4850
|
+
parameters?: Parameters<Paths.ManagedCallExecute.PathParameters> | null,
|
|
4851
|
+
data?: Paths.ManagedCallExecute.RequestBody,
|
|
4852
|
+
config?: AxiosRequestConfig
|
|
4853
|
+
): OperationResponse<Paths.ManagedCallExecute.Responses.$200>
|
|
4854
|
+
}
|
|
4402
4855
|
}
|
|
4403
4856
|
|
|
4404
4857
|
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
@@ -4406,9 +4859,11 @@ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
|
4406
4859
|
|
|
4407
4860
|
type AccessLogEntry = Components.Schemas.AccessLogEntry;
|
|
4408
4861
|
type AutoRefreshSettings = Components.Schemas.AutoRefreshSettings;
|
|
4862
|
+
type ConnectorConfig = Components.Schemas.ConnectorConfig;
|
|
4409
4863
|
type CreateFileProxyUseCaseRequest = Components.Schemas.CreateFileProxyUseCaseRequest;
|
|
4410
4864
|
type CreateInboundUseCaseRequest = Components.Schemas.CreateInboundUseCaseRequest;
|
|
4411
4865
|
type CreateIntegrationRequest = Components.Schemas.CreateIntegrationRequest;
|
|
4866
|
+
type CreateManagedCallUseCaseRequest = Components.Schemas.CreateManagedCallUseCaseRequest;
|
|
4412
4867
|
type CreateOutboundUseCaseRequest = Components.Schemas.CreateOutboundUseCaseRequest;
|
|
4413
4868
|
type CreateSecureProxyUseCaseRequest = Components.Schemas.CreateSecureProxyUseCaseRequest;
|
|
4414
4869
|
type CreateUseCaseRequest = Components.Schemas.CreateUseCaseRequest;
|
|
@@ -4417,6 +4872,7 @@ type DeleteIntegrationAppMappingRequest = Components.Schemas.DeleteIntegrationAp
|
|
|
4417
4872
|
type DeliveryConfig = Components.Schemas.DeliveryConfig;
|
|
4418
4873
|
type EmbeddedFileProxyUseCaseRequest = Components.Schemas.EmbeddedFileProxyUseCaseRequest;
|
|
4419
4874
|
type EmbeddedInboundUseCaseRequest = Components.Schemas.EmbeddedInboundUseCaseRequest;
|
|
4875
|
+
type EmbeddedManagedCallUseCaseRequest = Components.Schemas.EmbeddedManagedCallUseCaseRequest;
|
|
4420
4876
|
type EmbeddedOutboundUseCaseRequest = Components.Schemas.EmbeddedOutboundUseCaseRequest;
|
|
4421
4877
|
type EmbeddedSecureProxyUseCaseRequest = Components.Schemas.EmbeddedSecureProxyUseCaseRequest;
|
|
4422
4878
|
type EmbeddedUseCaseRequest = Components.Schemas.EmbeddedUseCaseRequest;
|
|
@@ -4457,6 +4913,14 @@ type IntegrationMeterReading = Components.Schemas.IntegrationMeterReading;
|
|
|
4457
4913
|
type IntegrationObjectV1 = Components.Schemas.IntegrationObjectV1;
|
|
4458
4914
|
type IntegrationSettings = Components.Schemas.IntegrationSettings;
|
|
4459
4915
|
type IntegrationWithUseCases = Components.Schemas.IntegrationWithUseCases;
|
|
4916
|
+
type ManagedCallAuth = Components.Schemas.ManagedCallAuth;
|
|
4917
|
+
type ManagedCallErrorResponse = Components.Schemas.ManagedCallErrorResponse;
|
|
4918
|
+
type ManagedCallExecuteRequest = Components.Schemas.ManagedCallExecuteRequest;
|
|
4919
|
+
type ManagedCallExecuteResponse = Components.Schemas.ManagedCallExecuteResponse;
|
|
4920
|
+
type ManagedCallOperation = Components.Schemas.ManagedCallOperation;
|
|
4921
|
+
type ManagedCallOperationConfig = Components.Schemas.ManagedCallOperationConfig;
|
|
4922
|
+
type ManagedCallUseCase = Components.Schemas.ManagedCallUseCase;
|
|
4923
|
+
type ManagedCallUseCaseHistoryEntry = Components.Schemas.ManagedCallUseCaseHistoryEntry;
|
|
4460
4924
|
type MappingSimulationRequest = Components.Schemas.MappingSimulationRequest;
|
|
4461
4925
|
type MappingSimulationResponse = Components.Schemas.MappingSimulationResponse;
|
|
4462
4926
|
type MappingSimulationV2Request = Components.Schemas.MappingSimulationV2Request;
|
|
@@ -4499,6 +4963,7 @@ type TriggerWebhookResp = Components.Schemas.TriggerWebhookResp;
|
|
|
4499
4963
|
type UpdateFileProxyUseCaseRequest = Components.Schemas.UpdateFileProxyUseCaseRequest;
|
|
4500
4964
|
type UpdateInboundUseCaseRequest = Components.Schemas.UpdateInboundUseCaseRequest;
|
|
4501
4965
|
type UpdateIntegrationRequest = Components.Schemas.UpdateIntegrationRequest;
|
|
4966
|
+
type UpdateManagedCallUseCaseRequest = Components.Schemas.UpdateManagedCallUseCaseRequest;
|
|
4502
4967
|
type UpdateOutboundUseCaseRequest = Components.Schemas.UpdateOutboundUseCaseRequest;
|
|
4503
4968
|
type UpdateSecureProxyUseCaseRequest = Components.Schemas.UpdateSecureProxyUseCaseRequest;
|
|
4504
4969
|
type UpdateUseCaseRequest = Components.Schemas.UpdateUseCaseRequest;
|
|
@@ -4510,4 +4975,4 @@ type UseCaseHistoryEntry = Components.Schemas.UseCaseHistoryEntry;
|
|
|
4510
4975
|
type UseCaseHistoryEntryBase = Components.Schemas.UseCaseHistoryEntryBase;
|
|
4511
4976
|
type WebhookStatus = Components.Schemas.WebhookStatus;
|
|
4512
4977
|
|
|
4513
|
-
export { type
|
|
4978
|
+
export { type IntegrationEditableFields as $, type AccessLogEntry as A, type FileProxyParam as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type EmbeddedFileProxyUseCaseRequest as E, type FileProxyAuth as F, type FileProxyResponseConfig as G, type FileProxySecureProxyAttachment as H, type FileProxyStep as I, type FileProxyUrlConfig as J, type FileProxyUrlParam as K, type FileProxyUrlParams as L, type FileProxyUseCase as M, type FileProxyUseCaseConfiguration as N, type OperationMethods as O, Paths as P, type FileProxyUseCaseHistoryEntry as Q, type GetMonitoringStatsRequest as R, type GetMonitoringTimeSeriesRequest as S, type InboundIntegrationEventConfiguration as T, type InboundMonitoringEvent as U, type InboundUseCase as V, type InboundUseCaseHistoryEntry as W, type Integration as X, type IntegrationAppMapping as Y, type IntegrationConfigurationV1 as Z, type IntegrationConfigurationV2 as _, Components as a, type UseCase as a$, type IntegrationEntity as a0, type IntegrationEntityField as a1, type IntegrationFieldV1 as a2, type IntegrationMeterReading as a3, type IntegrationObjectV1 as a4, type IntegrationSettings as a5, type IntegrationWithUseCases as a6, type ManagedCallAuth as a7, type ManagedCallErrorResponse as a8, type ManagedCallExecuteRequest as a9, type RelationConfig as aA, type RelationItemConfig as aB, type RelationRefItemConfig as aC, type RelationRefValueConfig as aD, type RelationRefsConfig as aE, type RelationUniqueIdField as aF, type RepeatableFieldType as aG, type ReplayEventsRequest as aH, type SecureProxyRequest as aI, type SecureProxyResponse as aJ, type SecureProxySummary as aK, type SecureProxyUseCase as aL, type SecureProxyUseCaseConfiguration as aM, type SecureProxyUseCaseHistoryEntry as aN, type SetIntegrationAppMappingRequest as aO, type TimeSeriesBucket as aP, type TriggerErpActionRequest as aQ, type TriggerWebhookResp as aR, type UpdateFileProxyUseCaseRequest as aS, type UpdateInboundUseCaseRequest as aT, type UpdateIntegrationRequest as aU, type UpdateManagedCallUseCaseRequest as aV, type UpdateOutboundUseCaseRequest as aW, type UpdateSecureProxyUseCaseRequest as aX, type UpdateUseCaseRequest as aY, type UpdateUseCaseRequestBase as aZ, type UpsertIntegrationWithUseCasesRequest as a_, type ManagedCallExecuteResponse as aa, type ManagedCallOperation as ab, type ManagedCallOperationConfig as ac, type ManagedCallUseCase as ad, type ManagedCallUseCaseHistoryEntry as ae, type MappingSimulationRequest as af, type MappingSimulationResponse as ag, type MappingSimulationV2Request as ah, type MappingSimulationWarning as ai, type MeterReadingPruneScopeConfig as aj, type MeterReadingUpdate as ak, type MeterUniqueIdsConfig as al, type MonitoringStats as am, type OutboundConflict as an, type OutboundIntegrationEventConfiguration as ao, type OutboundMapping as ap, type OutboundMonitoringEvent as aq, type OutboundStatusResponse as ar, type OutboundUseCase as as, type OutboundUseCaseHistoryEntry as at, type OutboundUseCaseStatus as au, type PruneScopeConfig as av, type QueryAccessLogsRequest as aw, type QueryEventsRequest as ax, type QueryInboundMonitoringEventsRequest as ay, type QueryOutboundMonitoringEventsRequest as az, type PathsDictionary as b, type UseCaseBase as b0, type UseCaseHistoryEntry as b1, type UseCaseHistoryEntryBase as b2, type WebhookStatus as b3, type AutoRefreshSettings as c, type ConnectorConfig as d, type CreateFileProxyUseCaseRequest as e, type CreateInboundUseCaseRequest as f, type CreateIntegrationRequest as g, type CreateManagedCallUseCaseRequest as h, type CreateOutboundUseCaseRequest as i, type CreateSecureProxyUseCaseRequest as j, type CreateUseCaseRequest as k, type CreateUseCaseRequestBase as l, type DeliveryConfig as m, type EmbeddedInboundUseCaseRequest as n, type EmbeddedManagedCallUseCaseRequest as o, type EmbeddedOutboundUseCaseRequest as p, type EmbeddedSecureProxyUseCaseRequest as q, type EmbeddedUseCaseRequest as r, type EmbeddedUseCaseRequestBase as s, type EntityUpdate as t, type EnvironmentFieldConfig as u, type ErpEvent as v, type ErpEventV3 as w, type ErpUpdatesEventsV2Request as x, type ErpUpdatesEventsV3Request as y, type ErrorResponseBase as z };
|