@epilot/sdk 2.4.4-alpha.0 → 2.4.4
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/dist/access-token.d-CnmUTOlq.d.cts +552 -0
- package/dist/access-token.d-CnmUTOlq.d.ts +552 -0
- package/dist/address-suggestions.d-_YwTOR-9.d.cts +339 -0
- package/dist/address-suggestions.d-_YwTOR-9.d.ts +339 -0
- package/dist/address.d-CwAPOVxa.d.cts +437 -0
- package/dist/address.d-CwAPOVxa.d.ts +437 -0
- package/dist/ai-agents.d-OkXfr2bz.d.cts +1339 -0
- package/dist/ai-agents.d-OkXfr2bz.d.ts +1339 -0
- package/dist/apis/access-token.d.cts +18 -0
- package/dist/apis/access-token.d.ts +12 -9
- package/dist/apis/address-suggestions.d.cts +18 -0
- package/dist/apis/address-suggestions.d.ts +12 -9
- package/dist/apis/address.d.cts +18 -0
- package/dist/apis/address.d.ts +12 -9
- package/dist/apis/ai-agents.d.cts +18 -0
- package/dist/apis/ai-agents.d.ts +12 -9
- package/dist/apis/app.d.cts +18 -0
- package/dist/apis/app.d.ts +12 -9
- package/dist/apis/audit-logs.d.cts +18 -0
- package/dist/apis/audit-logs.d.ts +12 -9
- package/dist/apis/automation.d.cts +18 -0
- package/dist/apis/automation.d.ts +12 -9
- package/dist/apis/billing.d.cts +18 -0
- package/dist/apis/billing.d.ts +12 -9
- package/dist/apis/blueprint-manifest.d.cts +18 -0
- package/dist/apis/blueprint-manifest.d.ts +12 -9
- package/dist/apis/calendar.d.cts +18 -0
- package/dist/apis/calendar.d.ts +12 -9
- package/dist/apis/configuration-hub.d.cts +18 -0
- package/dist/apis/configuration-hub.d.ts +12 -9
- package/dist/apis/consent.d.cts +18 -0
- package/dist/apis/consent.d.ts +12 -9
- package/dist/apis/customer-portal.d.cts +18 -0
- package/dist/apis/customer-portal.d.ts +12 -9
- package/dist/apis/dashboard.d.cts +18 -0
- package/dist/apis/dashboard.d.ts +12 -9
- package/dist/apis/data-governance.d.cts +18 -0
- package/dist/apis/data-governance.d.ts +12 -9
- package/dist/apis/deduplication.d.cts +18 -0
- package/dist/apis/deduplication.d.ts +12 -9
- package/dist/apis/design.d.cts +18 -0
- package/dist/apis/design.d.ts +12 -9
- package/dist/apis/document.d.cts +18 -0
- package/dist/apis/document.d.ts +12 -9
- package/dist/apis/email-settings.d.cts +18 -0
- package/dist/apis/email-settings.d.ts +12 -9
- package/dist/apis/email-template.d.cts +18 -0
- package/dist/apis/email-template.d.ts +12 -9
- package/dist/apis/entity-mapping.d.cts +18 -0
- package/dist/apis/entity-mapping.d.ts +12 -9
- package/dist/apis/entity.d.cts +18 -0
- package/dist/apis/entity.d.ts +12 -9
- package/dist/apis/environments.d.cts +18 -0
- package/dist/apis/environments.d.ts +12 -9
- package/dist/apis/event-catalog.d.cts +18 -0
- package/dist/apis/event-catalog.d.ts +12 -9
- package/dist/apis/file.d.cts +18 -0
- package/dist/apis/file.d.ts +12 -9
- package/dist/apis/iban.d.cts +18 -0
- package/dist/apis/iban.d.ts +12 -9
- package/dist/apis/integration-toolkit.d.cts +18 -0
- package/dist/apis/integration-toolkit.d.ts +12 -9
- package/dist/apis/journey.d.cts +18 -0
- package/dist/apis/journey.d.ts +12 -9
- package/dist/apis/kanban.d.cts +18 -0
- package/dist/apis/kanban.d.ts +12 -9
- package/dist/apis/message.d.cts +18 -0
- package/dist/apis/message.d.ts +12 -9
- package/dist/apis/metering.d.cts +18 -0
- package/dist/apis/metering.d.ts +12 -9
- package/dist/apis/notes.d.cts +18 -0
- package/dist/apis/notes.d.ts +12 -9
- package/dist/apis/notification.d.cts +18 -0
- package/dist/apis/notification.d.ts +12 -9
- package/dist/apis/organization.d.cts +18 -0
- package/dist/apis/organization.d.ts +12 -9
- package/dist/apis/partner-directory.d.cts +18 -0
- package/dist/apis/partner-directory.d.ts +12 -9
- package/dist/apis/permissions.d.cts +18 -0
- package/dist/apis/permissions.d.ts +12 -9
- package/dist/apis/pricing-tier.d.cts +18 -0
- package/dist/apis/pricing-tier.d.ts +12 -9
- package/dist/apis/pricing.d.cts +18 -0
- package/dist/apis/pricing.d.ts +12 -9
- package/dist/apis/purpose.d.cts +18 -0
- package/dist/apis/purpose.d.ts +12 -9
- package/dist/apis/query.d.cts +18 -0
- package/dist/apis/query.d.ts +12 -9
- package/dist/apis/sandbox.d.cts +18 -0
- package/dist/apis/sandbox.d.ts +12 -9
- package/dist/apis/sharing.d.cts +18 -0
- package/dist/apis/sharing.d.ts +12 -9
- package/dist/apis/submission.d.cts +18 -0
- package/dist/apis/submission.d.ts +12 -9
- package/dist/apis/target.d.cts +597 -0
- package/dist/apis/target.d.ts +591 -9
- package/dist/apis/targeting.d.cts +18 -0
- package/dist/apis/targeting.d.ts +12 -9
- package/dist/apis/template-variables.d.cts +18 -0
- package/dist/apis/template-variables.d.ts +12 -9
- package/dist/apis/user.d.cts +18 -0
- package/dist/apis/user.d.ts +12 -9
- package/dist/apis/validation-rules.d.cts +18 -0
- package/dist/apis/validation-rules.d.ts +12 -9
- package/dist/apis/webhooks.d.cts +18 -0
- package/dist/apis/webhooks.d.ts +12 -9
- package/dist/apis/workflow-definition.d.cts +18 -0
- package/dist/apis/workflow-definition.d.ts +12 -9
- package/dist/apis/workflow.d.cts +18 -0
- package/dist/apis/workflow.d.ts +12 -9
- package/dist/app.d-u7Dq42kU.d.cts +3391 -0
- package/dist/app.d-u7Dq42kU.d.ts +3391 -0
- package/dist/audit-logs.d-BRToFqeX.d.cts +287 -0
- package/dist/audit-logs.d-BRToFqeX.d.ts +287 -0
- package/dist/automation.d-Du6-uiz5.d.cts +5283 -0
- package/dist/automation.d-Du6-uiz5.d.ts +5283 -0
- package/dist/billing.d-Bs8Ku9qE.d.cts +993 -0
- package/dist/billing.d-Bs8Ku9qE.d.ts +993 -0
- package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +4343 -0
- package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +4343 -0
- package/dist/calendar.d-BEjLDagH.d.cts +353 -0
- package/dist/calendar.d-BEjLDagH.d.ts +353 -0
- package/dist/configuration-hub.d-Cqaq2F-W.d.cts +478 -0
- package/dist/configuration-hub.d-Cqaq2F-W.d.ts +478 -0
- package/dist/consent.d-C2PROHhX.d.cts +265 -0
- package/dist/consent.d-C2PROHhX.d.ts +265 -0
- package/dist/customer-portal.d-DyZ2n2dW.d.cts +16728 -0
- package/dist/customer-portal.d-DyZ2n2dW.d.ts +16728 -0
- package/dist/dashboard.d-CsGcA74I.d.cts +440 -0
- package/dist/dashboard.d-CsGcA74I.d.ts +440 -0
- package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
- package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
- package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
- package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
- package/dist/design.d-BRre8iLg.d.cts +2346 -0
- package/dist/design.d-BRre8iLg.d.ts +2346 -0
- package/dist/document.d-DN37pjdx.d.cts +648 -0
- package/dist/document.d-DN37pjdx.d.ts +648 -0
- package/dist/email-settings.d-B7Q_xT25.d.cts +2417 -0
- package/dist/email-settings.d-B7Q_xT25.d.ts +2417 -0
- package/dist/email-template.d-gtQkdaXM.d.cts +1188 -0
- package/dist/email-template.d-gtQkdaXM.d.ts +1188 -0
- package/dist/entity-mapping.d-DKSW3sfy.d.cts +1092 -0
- package/dist/entity-mapping.d-DKSW3sfy.d.ts +1092 -0
- package/dist/entity.d-BHR9dEon.d.cts +18479 -0
- package/dist/entity.d-BHR9dEon.d.ts +18479 -0
- package/dist/environments.d-BvqvN-PD.d.cts +382 -0
- package/dist/environments.d-BvqvN-PD.d.ts +382 -0
- package/dist/event-catalog.d-ENw6HO-w.d.cts +1511 -0
- package/dist/event-catalog.d-ENw6HO-w.d.ts +1511 -0
- package/dist/file.d-DcTJxjp7.d.cts +2992 -0
- package/dist/file.d-DcTJxjp7.d.ts +2992 -0
- package/dist/iban.d-BwdiGbxi.d.cts +70 -0
- package/dist/iban.d-BwdiGbxi.d.ts +70 -0
- package/dist/index.d.cts +182 -0
- package/dist/index.d.ts +182 -12
- package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +5796 -0
- package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +5796 -0
- package/dist/journey.d-ClXO0xK8.d.cts +1931 -0
- package/dist/journey.d-ClXO0xK8.d.ts +1931 -0
- package/dist/kanban.d-BHnSRCYW.d.cts +760 -0
- package/dist/kanban.d-BHnSRCYW.d.ts +760 -0
- package/dist/message.d-B5UuSqgw.d.cts +3811 -0
- package/dist/message.d-B5UuSqgw.d.ts +3811 -0
- package/dist/metering.d-DvtPv7wk.d.cts +1841 -0
- package/dist/metering.d-DvtPv7wk.d.ts +1841 -0
- package/dist/notes.d-BC-scR42.d.cts +1046 -0
- package/dist/notes.d-BC-scR42.d.ts +1046 -0
- package/dist/notification.d-BfBL3lga.d.cts +1147 -0
- package/dist/notification.d-BfBL3lga.d.ts +1147 -0
- package/dist/organization.d-DqwnNxMg.d.cts +1271 -0
- package/dist/organization.d-DqwnNxMg.d.ts +1271 -0
- package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
- package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
- package/dist/permissions.d-l6AT8SYP.d.cts +1279 -0
- package/dist/permissions.d-l6AT8SYP.d.ts +1279 -0
- package/dist/pricing-tier.d-Cg0jl6n_.d.cts +81 -0
- package/dist/pricing-tier.d-Cg0jl6n_.d.ts +81 -0
- package/dist/pricing.d-BHpMU4KU.d.cts +12255 -0
- package/dist/pricing.d-BHpMU4KU.d.ts +12255 -0
- package/dist/purpose.d-CbIYfTua.d.cts +372 -0
- package/dist/purpose.d-CbIYfTua.d.ts +372 -0
- package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
- package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
- package/dist/sandbox.d-BdbOFzDu.d.cts +465 -0
- package/dist/sandbox.d-BdbOFzDu.d.ts +465 -0
- package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
- package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
- package/dist/submission.d-BamwfhXw.d.cts +469 -0
- package/dist/submission.d-BamwfhXw.d.ts +469 -0
- package/dist/targeting.d-BNmcVsNS.d.cts +2057 -0
- package/dist/targeting.d-BNmcVsNS.d.ts +2057 -0
- package/dist/template-variables.d-Ble9TSBa.d.cts +1320 -0
- package/dist/template-variables.d-Ble9TSBa.d.ts +1320 -0
- package/dist/types-ChU9Acbv.d.cts +37 -0
- package/dist/types-ChU9Acbv.d.ts +37 -0
- package/dist/user.d-D18fe97W.d.cts +2270 -0
- package/dist/user.d-D18fe97W.d.ts +2270 -0
- package/dist/validation-rules.d-Db5c5zTf.d.cts +807 -0
- package/dist/validation-rules.d-Db5c5zTf.d.ts +807 -0
- package/dist/webhooks.d-pLHIL_io.d.cts +1256 -0
- package/dist/webhooks.d-pLHIL_io.d.ts +1256 -0
- package/dist/workflow-definition.d-DOeb0KVV.d.cts +1922 -0
- package/dist/workflow-definition.d-DOeb0KVV.d.ts +1922 -0
- package/dist/workflow.d-CMSKt8oN.d.cts +3151 -0
- package/dist/workflow.d-CMSKt8oN.d.ts +3151 -0
- package/package.json +1 -1
- package/dist/apis/_registry.d.ts +0 -8
- package/dist/authorize.d.ts +0 -3
- package/dist/bin/cli.d.ts +0 -1
- package/dist/client-factory.d.ts +0 -9
- package/dist/client-map.d.ts +0 -102
- package/dist/compact.d.ts +0 -22
- package/dist/help.d.ts +0 -12
- package/dist/large-response.d.ts +0 -9
- package/dist/openapi.d.ts +0 -12
- package/dist/overrides.d.ts +0 -9
- package/dist/proxy.d.ts +0 -14
- package/dist/registry.d.ts +0 -19
- package/dist/retry.d.ts +0 -11
- package/dist/sdk.d.ts +0 -29
- package/dist/types.d.ts +0 -53
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from iban-client */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
declare namespace Components {
|
|
9
|
+
namespace Schemas {
|
|
10
|
+
/**
|
|
11
|
+
* Error
|
|
12
|
+
*/
|
|
13
|
+
export interface Error {
|
|
14
|
+
status?: string;
|
|
15
|
+
error?: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
declare namespace Paths {
|
|
20
|
+
namespace ValidateIban {
|
|
21
|
+
export interface RequestBody {
|
|
22
|
+
/**
|
|
23
|
+
* IBAN to be validated
|
|
24
|
+
*/
|
|
25
|
+
iban: string;
|
|
26
|
+
}
|
|
27
|
+
namespace Responses {
|
|
28
|
+
export interface $201 {
|
|
29
|
+
}
|
|
30
|
+
export type $400 = /* Error */ Components.Schemas.Error;
|
|
31
|
+
export type $500 = /* Error */ Components.Schemas.Error;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
interface OperationMethods {
|
|
38
|
+
/**
|
|
39
|
+
* validateIban - validateIban
|
|
40
|
+
*
|
|
41
|
+
* Validate an Iban
|
|
42
|
+
*/
|
|
43
|
+
'validateIban'(
|
|
44
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
45
|
+
data?: Paths.ValidateIban.RequestBody,
|
|
46
|
+
config?: AxiosRequestConfig
|
|
47
|
+
): OperationResponse<Paths.ValidateIban.Responses.$201>
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface PathsDictionary {
|
|
51
|
+
['/v1/public/iban:validate']: {
|
|
52
|
+
/**
|
|
53
|
+
* validateIban - validateIban
|
|
54
|
+
*
|
|
55
|
+
* Validate an Iban
|
|
56
|
+
*/
|
|
57
|
+
'post'(
|
|
58
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
59
|
+
data?: Paths.ValidateIban.RequestBody,
|
|
60
|
+
config?: AxiosRequestConfig
|
|
61
|
+
): OperationResponse<Paths.ValidateIban.Responses.$201>
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
type Error = Components.Schemas.Error;
|
|
69
|
+
|
|
70
|
+
export { type Client as C, type Error as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from iban-client */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
declare namespace Components {
|
|
9
|
+
namespace Schemas {
|
|
10
|
+
/**
|
|
11
|
+
* Error
|
|
12
|
+
*/
|
|
13
|
+
export interface Error {
|
|
14
|
+
status?: string;
|
|
15
|
+
error?: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
declare namespace Paths {
|
|
20
|
+
namespace ValidateIban {
|
|
21
|
+
export interface RequestBody {
|
|
22
|
+
/**
|
|
23
|
+
* IBAN to be validated
|
|
24
|
+
*/
|
|
25
|
+
iban: string;
|
|
26
|
+
}
|
|
27
|
+
namespace Responses {
|
|
28
|
+
export interface $201 {
|
|
29
|
+
}
|
|
30
|
+
export type $400 = /* Error */ Components.Schemas.Error;
|
|
31
|
+
export type $500 = /* Error */ Components.Schemas.Error;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
interface OperationMethods {
|
|
38
|
+
/**
|
|
39
|
+
* validateIban - validateIban
|
|
40
|
+
*
|
|
41
|
+
* Validate an Iban
|
|
42
|
+
*/
|
|
43
|
+
'validateIban'(
|
|
44
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
45
|
+
data?: Paths.ValidateIban.RequestBody,
|
|
46
|
+
config?: AxiosRequestConfig
|
|
47
|
+
): OperationResponse<Paths.ValidateIban.Responses.$201>
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface PathsDictionary {
|
|
51
|
+
['/v1/public/iban:validate']: {
|
|
52
|
+
/**
|
|
53
|
+
* validateIban - validateIban
|
|
54
|
+
*
|
|
55
|
+
* Validate an Iban
|
|
56
|
+
*/
|
|
57
|
+
'post'(
|
|
58
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
59
|
+
data?: Paths.ValidateIban.RequestBody,
|
|
60
|
+
config?: AxiosRequestConfig
|
|
61
|
+
): OperationResponse<Paths.ValidateIban.Responses.$201>
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
type Error = Components.Schemas.Error;
|
|
69
|
+
|
|
70
|
+
export { type Client as C, type Error as E, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b };
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import * as openapi_client_axios from 'openapi-client-axios';
|
|
2
|
+
import { Document } from 'openapi-client-axios';
|
|
3
|
+
import { AxiosInstance, InternalAxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
|
+
import { T as TokenArg, H as HeadersConfig, A as ApiHandle } from './types-ChU9Acbv.cjs';
|
|
5
|
+
export { I as Interceptor, O as OverridesConfig, a as authorize } from './types-ChU9Acbv.cjs';
|
|
6
|
+
import { C as Client } from './access-token.d-CnmUTOlq.cjs';
|
|
7
|
+
import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
|
|
8
|
+
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
9
|
+
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.cjs';
|
|
10
|
+
import { C as Client$4 } from './app.d-u7Dq42kU.cjs';
|
|
11
|
+
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
|
+
import { C as Client$6 } from './automation.d-Du6-uiz5.cjs';
|
|
13
|
+
import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
|
|
14
|
+
import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.cjs';
|
|
15
|
+
import { C as Client$9 } from './calendar.d-BEjLDagH.cjs';
|
|
16
|
+
import { C as Client$a } from './configuration-hub.d-Cqaq2F-W.cjs';
|
|
17
|
+
import { C as Client$b } from './consent.d-C2PROHhX.cjs';
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-DyZ2n2dW.cjs';
|
|
19
|
+
import { C as Client$d } from './dashboard.d-CsGcA74I.cjs';
|
|
20
|
+
import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
|
|
21
|
+
import { C as Client$f } from './deduplication.d-D5GYddVu.cjs';
|
|
22
|
+
import { C as Client$g } from './design.d-BRre8iLg.cjs';
|
|
23
|
+
import { C as Client$h } from './document.d-DN37pjdx.cjs';
|
|
24
|
+
import { C as Client$i } from './email-settings.d-B7Q_xT25.cjs';
|
|
25
|
+
import { C as Client$j } from './email-template.d-gtQkdaXM.cjs';
|
|
26
|
+
import { C as Client$k } from './entity.d-BHR9dEon.cjs';
|
|
27
|
+
import { C as Client$l } from './entity-mapping.d-DKSW3sfy.cjs';
|
|
28
|
+
import { C as Client$m } from './environments.d-BvqvN-PD.cjs';
|
|
29
|
+
import { C as Client$n } from './event-catalog.d-ENw6HO-w.cjs';
|
|
30
|
+
import { C as Client$o } from './file.d-DcTJxjp7.cjs';
|
|
31
|
+
import { C as Client$p } from './iban.d-BwdiGbxi.cjs';
|
|
32
|
+
import { C as Client$q } from './integration-toolkit.d-Ry-KC9ow.cjs';
|
|
33
|
+
import { C as Client$r } from './journey.d-ClXO0xK8.cjs';
|
|
34
|
+
import { C as Client$s } from './kanban.d-BHnSRCYW.cjs';
|
|
35
|
+
import { C as Client$t } from './message.d-B5UuSqgw.cjs';
|
|
36
|
+
import { C as Client$u } from './metering.d-DvtPv7wk.cjs';
|
|
37
|
+
import { C as Client$v } from './notes.d-BC-scR42.cjs';
|
|
38
|
+
import { C as Client$w } from './notification.d-BfBL3lga.cjs';
|
|
39
|
+
import { C as Client$x } from './organization.d-DqwnNxMg.cjs';
|
|
40
|
+
import { C as Client$y } from './partner-directory.d-BCIjHoGs.cjs';
|
|
41
|
+
import { C as Client$z } from './permissions.d-l6AT8SYP.cjs';
|
|
42
|
+
import { C as Client$A } from './pricing.d-BHpMU4KU.cjs';
|
|
43
|
+
import { C as Client$B } from './pricing-tier.d-Cg0jl6n_.cjs';
|
|
44
|
+
import { C as Client$C } from './purpose.d-CbIYfTua.cjs';
|
|
45
|
+
import { C as Client$D } from './query.d-Cmp78IhZ.cjs';
|
|
46
|
+
import { C as Client$E } from './sandbox.d-BdbOFzDu.cjs';
|
|
47
|
+
import { C as Client$F } from './sharing.d-sOXq-gtz.cjs';
|
|
48
|
+
import { C as Client$G } from './submission.d-BamwfhXw.cjs';
|
|
49
|
+
import { C as Client$H } from './targeting.d-BNmcVsNS.cjs';
|
|
50
|
+
import { C as Client$I } from './template-variables.d-Ble9TSBa.cjs';
|
|
51
|
+
import { C as Client$J } from './user.d-D18fe97W.cjs';
|
|
52
|
+
import { C as Client$K } from './validation-rules.d-Db5c5zTf.cjs';
|
|
53
|
+
import { C as Client$L } from './webhooks.d-pLHIL_io.cjs';
|
|
54
|
+
import { C as Client$M } from './workflow.d-CMSKt8oN.cjs';
|
|
55
|
+
import { C as Client$N } from './workflow-definition.d-DOeb0KVV.cjs';
|
|
56
|
+
|
|
57
|
+
type SDKClientMap = {
|
|
58
|
+
accessToken: Client;
|
|
59
|
+
address: Client$1;
|
|
60
|
+
addressSuggestions: Client$2;
|
|
61
|
+
aiAgents: Client$3;
|
|
62
|
+
app: Client$4;
|
|
63
|
+
auditLogs: Client$5;
|
|
64
|
+
automation: Client$6;
|
|
65
|
+
billing: Client$7;
|
|
66
|
+
blueprintManifest: Client$8;
|
|
67
|
+
calendar: Client$9;
|
|
68
|
+
configurationHub: Client$a;
|
|
69
|
+
consent: Client$b;
|
|
70
|
+
customerPortal: Client$c;
|
|
71
|
+
dashboard: Client$d;
|
|
72
|
+
dataGovernance: Client$e;
|
|
73
|
+
deduplication: Client$f;
|
|
74
|
+
design: Client$g;
|
|
75
|
+
document: Client$h;
|
|
76
|
+
emailSettings: Client$i;
|
|
77
|
+
emailTemplate: Client$j;
|
|
78
|
+
entity: Client$k;
|
|
79
|
+
entityMapping: Client$l;
|
|
80
|
+
environments: Client$m;
|
|
81
|
+
eventCatalog: Client$n;
|
|
82
|
+
file: Client$o;
|
|
83
|
+
iban: Client$p;
|
|
84
|
+
integrationToolkit: Client$q;
|
|
85
|
+
journey: Client$r;
|
|
86
|
+
kanban: Client$s;
|
|
87
|
+
message: Client$t;
|
|
88
|
+
metering: Client$u;
|
|
89
|
+
notes: Client$v;
|
|
90
|
+
notification: Client$w;
|
|
91
|
+
organization: Client$x;
|
|
92
|
+
partnerDirectory: Client$y;
|
|
93
|
+
permissions: Client$z;
|
|
94
|
+
pricing: Client$A;
|
|
95
|
+
pricingTier: Client$B;
|
|
96
|
+
purpose: Client$C;
|
|
97
|
+
query: Client$D;
|
|
98
|
+
sandbox: Client$E;
|
|
99
|
+
sharing: Client$F;
|
|
100
|
+
submission: Client$G;
|
|
101
|
+
targeting: Client$H;
|
|
102
|
+
templateVariables: Client$I;
|
|
103
|
+
user: Client$J;
|
|
104
|
+
validationRules: Client$K;
|
|
105
|
+
webhooks: Client$L;
|
|
106
|
+
workflow: Client$M;
|
|
107
|
+
workflowDefinition: Client$N;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
type LargeResponseConfig = {
|
|
111
|
+
/** Enable large response handling. Default: true */
|
|
112
|
+
enabled?: boolean;
|
|
113
|
+
};
|
|
114
|
+
declare const applyLargeResponseInterceptor: (params: {
|
|
115
|
+
client: AxiosInstance;
|
|
116
|
+
config: LargeResponseConfig;
|
|
117
|
+
}) => void;
|
|
118
|
+
|
|
119
|
+
type RetryConfig = {
|
|
120
|
+
/** Maximum number of retries for 429 responses. Set to 0 to disable. Default: 3 */
|
|
121
|
+
maxRetries?: number;
|
|
122
|
+
/** Default delay in ms when Retry-After header is missing. Default: 1000 */
|
|
123
|
+
defaultDelayMs?: number;
|
|
124
|
+
};
|
|
125
|
+
declare const applyRetryInterceptor: (params: {
|
|
126
|
+
client: AxiosInstance;
|
|
127
|
+
config: RetryConfig;
|
|
128
|
+
}) => void;
|
|
129
|
+
|
|
130
|
+
type InterceptorUse = {
|
|
131
|
+
request: (fulfilled: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig | Promise<InternalAxiosRequestConfig>, rejected?: (error: unknown) => unknown) => void;
|
|
132
|
+
response: (fulfilled: (response: AxiosResponse) => AxiosResponse | Promise<AxiosResponse>, rejected?: (error: unknown) => unknown) => void;
|
|
133
|
+
};
|
|
134
|
+
type EpilotSDK = {
|
|
135
|
+
/** Set a Bearer token (static string or async function) for all clients */
|
|
136
|
+
authorize: (token: TokenArg) => void;
|
|
137
|
+
/** Set global default headers applied to all clients (e.g. x-epilot-org-id) */
|
|
138
|
+
headers: (headers: HeadersConfig) => void;
|
|
139
|
+
/** Register global axios interceptors applied to all clients */
|
|
140
|
+
interceptors: InterceptorUse;
|
|
141
|
+
/** Configure retry behavior for 429 Too Many Requests responses */
|
|
142
|
+
retry: (config: RetryConfig) => void;
|
|
143
|
+
/** Configure large response handling for S3-backed payloads */
|
|
144
|
+
largeResponse: (config: LargeResponseConfig) => void;
|
|
145
|
+
/** Get markdown docs. No args = general SDK help, with API name = API-specific docs */
|
|
146
|
+
help: (apiName?: string) => Promise<string>;
|
|
147
|
+
/** Get the full OpenAPI specification for an API (lazy-loaded) */
|
|
148
|
+
openapi: (apiName: string) => Promise<openapi_client_axios.Document>;
|
|
149
|
+
} & {
|
|
150
|
+
[K in keyof SDKClientMap]: ApiHandle<SDKClientMap[K]>;
|
|
151
|
+
} & Record<string, ApiHandle<AxiosInstance>>;
|
|
152
|
+
declare const createSDK: () => EpilotSDK;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Lazy-loaded help system — returns markdown docs for SDK APIs.
|
|
156
|
+
* Each doc is loaded via dynamic import() so only the requested doc affects bundle size.
|
|
157
|
+
*/
|
|
158
|
+
/**
|
|
159
|
+
* Get help for a specific API or general SDK help.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* await help() // general SDK docs
|
|
163
|
+
* await help('entity') // entity API docs
|
|
164
|
+
*/
|
|
165
|
+
declare const help: (apiName?: string) => Promise<string>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Lazy-loaded OpenAPI spec — returns the full OpenAPI JSON document for an API.
|
|
169
|
+
* Each spec is loaded via dynamic import() so only the requested spec affects bundle size.
|
|
170
|
+
*/
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Get the full OpenAPI specification for an API.
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* await openapi('entity') // full entity OpenAPI spec
|
|
177
|
+
*/
|
|
178
|
+
declare const openapi: (apiName: string) => Promise<Document>;
|
|
179
|
+
|
|
180
|
+
declare const epilot: EpilotSDK;
|
|
181
|
+
|
|
182
|
+
export { ApiHandle, type EpilotSDK, HeadersConfig, type InterceptorUse, type LargeResponseConfig, type RetryConfig, TokenArg, applyLargeResponseInterceptor, applyRetryInterceptor, createSDK, epilot, help, openapi };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,182 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as openapi_client_axios from 'openapi-client-axios';
|
|
2
|
+
import { Document } from 'openapi-client-axios';
|
|
3
|
+
import { AxiosInstance, InternalAxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
|
+
import { T as TokenArg, H as HeadersConfig, A as ApiHandle } from './types-ChU9Acbv.js';
|
|
5
|
+
export { I as Interceptor, O as OverridesConfig, a as authorize } from './types-ChU9Acbv.js';
|
|
6
|
+
import { C as Client } from './access-token.d-CnmUTOlq.js';
|
|
7
|
+
import { C as Client$1 } from './address.d-CwAPOVxa.js';
|
|
8
|
+
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
9
|
+
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.js';
|
|
10
|
+
import { C as Client$4 } from './app.d-u7Dq42kU.js';
|
|
11
|
+
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
|
+
import { C as Client$6 } from './automation.d-Du6-uiz5.js';
|
|
13
|
+
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
14
|
+
import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.js';
|
|
15
|
+
import { C as Client$9 } from './calendar.d-BEjLDagH.js';
|
|
16
|
+
import { C as Client$a } from './configuration-hub.d-Cqaq2F-W.js';
|
|
17
|
+
import { C as Client$b } from './consent.d-C2PROHhX.js';
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-DyZ2n2dW.js';
|
|
19
|
+
import { C as Client$d } from './dashboard.d-CsGcA74I.js';
|
|
20
|
+
import { C as Client$e } from './data-governance.d-BbZ466j5.js';
|
|
21
|
+
import { C as Client$f } from './deduplication.d-D5GYddVu.js';
|
|
22
|
+
import { C as Client$g } from './design.d-BRre8iLg.js';
|
|
23
|
+
import { C as Client$h } from './document.d-DN37pjdx.js';
|
|
24
|
+
import { C as Client$i } from './email-settings.d-B7Q_xT25.js';
|
|
25
|
+
import { C as Client$j } from './email-template.d-gtQkdaXM.js';
|
|
26
|
+
import { C as Client$k } from './entity.d-BHR9dEon.js';
|
|
27
|
+
import { C as Client$l } from './entity-mapping.d-DKSW3sfy.js';
|
|
28
|
+
import { C as Client$m } from './environments.d-BvqvN-PD.js';
|
|
29
|
+
import { C as Client$n } from './event-catalog.d-ENw6HO-w.js';
|
|
30
|
+
import { C as Client$o } from './file.d-DcTJxjp7.js';
|
|
31
|
+
import { C as Client$p } from './iban.d-BwdiGbxi.js';
|
|
32
|
+
import { C as Client$q } from './integration-toolkit.d-Ry-KC9ow.js';
|
|
33
|
+
import { C as Client$r } from './journey.d-ClXO0xK8.js';
|
|
34
|
+
import { C as Client$s } from './kanban.d-BHnSRCYW.js';
|
|
35
|
+
import { C as Client$t } from './message.d-B5UuSqgw.js';
|
|
36
|
+
import { C as Client$u } from './metering.d-DvtPv7wk.js';
|
|
37
|
+
import { C as Client$v } from './notes.d-BC-scR42.js';
|
|
38
|
+
import { C as Client$w } from './notification.d-BfBL3lga.js';
|
|
39
|
+
import { C as Client$x } from './organization.d-DqwnNxMg.js';
|
|
40
|
+
import { C as Client$y } from './partner-directory.d-BCIjHoGs.js';
|
|
41
|
+
import { C as Client$z } from './permissions.d-l6AT8SYP.js';
|
|
42
|
+
import { C as Client$A } from './pricing.d-BHpMU4KU.js';
|
|
43
|
+
import { C as Client$B } from './pricing-tier.d-Cg0jl6n_.js';
|
|
44
|
+
import { C as Client$C } from './purpose.d-CbIYfTua.js';
|
|
45
|
+
import { C as Client$D } from './query.d-Cmp78IhZ.js';
|
|
46
|
+
import { C as Client$E } from './sandbox.d-BdbOFzDu.js';
|
|
47
|
+
import { C as Client$F } from './sharing.d-sOXq-gtz.js';
|
|
48
|
+
import { C as Client$G } from './submission.d-BamwfhXw.js';
|
|
49
|
+
import { C as Client$H } from './targeting.d-BNmcVsNS.js';
|
|
50
|
+
import { C as Client$I } from './template-variables.d-Ble9TSBa.js';
|
|
51
|
+
import { C as Client$J } from './user.d-D18fe97W.js';
|
|
52
|
+
import { C as Client$K } from './validation-rules.d-Db5c5zTf.js';
|
|
53
|
+
import { C as Client$L } from './webhooks.d-pLHIL_io.js';
|
|
54
|
+
import { C as Client$M } from './workflow.d-CMSKt8oN.js';
|
|
55
|
+
import { C as Client$N } from './workflow-definition.d-DOeb0KVV.js';
|
|
56
|
+
|
|
57
|
+
type SDKClientMap = {
|
|
58
|
+
accessToken: Client;
|
|
59
|
+
address: Client$1;
|
|
60
|
+
addressSuggestions: Client$2;
|
|
61
|
+
aiAgents: Client$3;
|
|
62
|
+
app: Client$4;
|
|
63
|
+
auditLogs: Client$5;
|
|
64
|
+
automation: Client$6;
|
|
65
|
+
billing: Client$7;
|
|
66
|
+
blueprintManifest: Client$8;
|
|
67
|
+
calendar: Client$9;
|
|
68
|
+
configurationHub: Client$a;
|
|
69
|
+
consent: Client$b;
|
|
70
|
+
customerPortal: Client$c;
|
|
71
|
+
dashboard: Client$d;
|
|
72
|
+
dataGovernance: Client$e;
|
|
73
|
+
deduplication: Client$f;
|
|
74
|
+
design: Client$g;
|
|
75
|
+
document: Client$h;
|
|
76
|
+
emailSettings: Client$i;
|
|
77
|
+
emailTemplate: Client$j;
|
|
78
|
+
entity: Client$k;
|
|
79
|
+
entityMapping: Client$l;
|
|
80
|
+
environments: Client$m;
|
|
81
|
+
eventCatalog: Client$n;
|
|
82
|
+
file: Client$o;
|
|
83
|
+
iban: Client$p;
|
|
84
|
+
integrationToolkit: Client$q;
|
|
85
|
+
journey: Client$r;
|
|
86
|
+
kanban: Client$s;
|
|
87
|
+
message: Client$t;
|
|
88
|
+
metering: Client$u;
|
|
89
|
+
notes: Client$v;
|
|
90
|
+
notification: Client$w;
|
|
91
|
+
organization: Client$x;
|
|
92
|
+
partnerDirectory: Client$y;
|
|
93
|
+
permissions: Client$z;
|
|
94
|
+
pricing: Client$A;
|
|
95
|
+
pricingTier: Client$B;
|
|
96
|
+
purpose: Client$C;
|
|
97
|
+
query: Client$D;
|
|
98
|
+
sandbox: Client$E;
|
|
99
|
+
sharing: Client$F;
|
|
100
|
+
submission: Client$G;
|
|
101
|
+
targeting: Client$H;
|
|
102
|
+
templateVariables: Client$I;
|
|
103
|
+
user: Client$J;
|
|
104
|
+
validationRules: Client$K;
|
|
105
|
+
webhooks: Client$L;
|
|
106
|
+
workflow: Client$M;
|
|
107
|
+
workflowDefinition: Client$N;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
type LargeResponseConfig = {
|
|
111
|
+
/** Enable large response handling. Default: true */
|
|
112
|
+
enabled?: boolean;
|
|
113
|
+
};
|
|
114
|
+
declare const applyLargeResponseInterceptor: (params: {
|
|
115
|
+
client: AxiosInstance;
|
|
116
|
+
config: LargeResponseConfig;
|
|
117
|
+
}) => void;
|
|
118
|
+
|
|
119
|
+
type RetryConfig = {
|
|
120
|
+
/** Maximum number of retries for 429 responses. Set to 0 to disable. Default: 3 */
|
|
121
|
+
maxRetries?: number;
|
|
122
|
+
/** Default delay in ms when Retry-After header is missing. Default: 1000 */
|
|
123
|
+
defaultDelayMs?: number;
|
|
124
|
+
};
|
|
125
|
+
declare const applyRetryInterceptor: (params: {
|
|
126
|
+
client: AxiosInstance;
|
|
127
|
+
config: RetryConfig;
|
|
128
|
+
}) => void;
|
|
129
|
+
|
|
130
|
+
type InterceptorUse = {
|
|
131
|
+
request: (fulfilled: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig | Promise<InternalAxiosRequestConfig>, rejected?: (error: unknown) => unknown) => void;
|
|
132
|
+
response: (fulfilled: (response: AxiosResponse) => AxiosResponse | Promise<AxiosResponse>, rejected?: (error: unknown) => unknown) => void;
|
|
133
|
+
};
|
|
134
|
+
type EpilotSDK = {
|
|
135
|
+
/** Set a Bearer token (static string or async function) for all clients */
|
|
136
|
+
authorize: (token: TokenArg) => void;
|
|
137
|
+
/** Set global default headers applied to all clients (e.g. x-epilot-org-id) */
|
|
138
|
+
headers: (headers: HeadersConfig) => void;
|
|
139
|
+
/** Register global axios interceptors applied to all clients */
|
|
140
|
+
interceptors: InterceptorUse;
|
|
141
|
+
/** Configure retry behavior for 429 Too Many Requests responses */
|
|
142
|
+
retry: (config: RetryConfig) => void;
|
|
143
|
+
/** Configure large response handling for S3-backed payloads */
|
|
144
|
+
largeResponse: (config: LargeResponseConfig) => void;
|
|
145
|
+
/** Get markdown docs. No args = general SDK help, with API name = API-specific docs */
|
|
146
|
+
help: (apiName?: string) => Promise<string>;
|
|
147
|
+
/** Get the full OpenAPI specification for an API (lazy-loaded) */
|
|
148
|
+
openapi: (apiName: string) => Promise<openapi_client_axios.Document>;
|
|
149
|
+
} & {
|
|
150
|
+
[K in keyof SDKClientMap]: ApiHandle<SDKClientMap[K]>;
|
|
151
|
+
} & Record<string, ApiHandle<AxiosInstance>>;
|
|
152
|
+
declare const createSDK: () => EpilotSDK;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Lazy-loaded help system — returns markdown docs for SDK APIs.
|
|
156
|
+
* Each doc is loaded via dynamic import() so only the requested doc affects bundle size.
|
|
157
|
+
*/
|
|
158
|
+
/**
|
|
159
|
+
* Get help for a specific API or general SDK help.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* await help() // general SDK docs
|
|
163
|
+
* await help('entity') // entity API docs
|
|
164
|
+
*/
|
|
165
|
+
declare const help: (apiName?: string) => Promise<string>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Lazy-loaded OpenAPI spec — returns the full OpenAPI JSON document for an API.
|
|
169
|
+
* Each spec is loaded via dynamic import() so only the requested spec affects bundle size.
|
|
170
|
+
*/
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Get the full OpenAPI specification for an API.
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* await openapi('entity') // full entity OpenAPI spec
|
|
177
|
+
*/
|
|
178
|
+
declare const openapi: (apiName: string) => Promise<Document>;
|
|
179
|
+
|
|
180
|
+
declare const epilot: EpilotSDK;
|
|
181
|
+
|
|
182
|
+
export { ApiHandle, type EpilotSDK, HeadersConfig, type InterceptorUse, type LargeResponseConfig, type RetryConfig, TokenArg, applyLargeResponseInterceptor, applyRetryInterceptor, createSDK, epilot, help, openapi };
|