@epilot/sdk 2.4.3 → 2.4.4-alpha.0
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/README.md +1 -0
- package/definitions/app-runtime.json +1 -1
- package/definitions/app.json +346 -10
- package/definitions/calendar-runtime.json +1 -0
- package/definitions/calendar.json +675 -0
- package/definitions/customer-portal.json +29 -0
- package/definitions/notes.json +175 -130
- package/definitions/pricing.json +5 -1
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-HE4B6FOA.js → _index-5FB6F5YY.js} +3 -0
- package/dist/{_index-55HAH24D.cjs → _index-DB2VV4PQ.cjs} +4 -1
- package/dist/apis/_registry.d.ts +8 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.d.ts +9 -12
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.d.ts +9 -12
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.d.ts +9 -12
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.d.ts +9 -12
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.d.ts +9 -12
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.d.ts +9 -12
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.d.ts +9 -12
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.d.ts +9 -12
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.d.ts +9 -12
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +38 -0
- package/dist/apis/calendar.d.ts +15 -0
- package/dist/apis/calendar.js +38 -0
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.d.ts +9 -12
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.d.ts +9 -12
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.d.ts +9 -12
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.d.ts +9 -12
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.d.ts +9 -12
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.d.ts +9 -12
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.d.ts +9 -12
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.d.ts +9 -12
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.d.ts +9 -12
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.d.ts +9 -12
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.d.ts +9 -12
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.d.ts +9 -12
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.d.ts +9 -12
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.d.ts +9 -12
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.d.ts +9 -12
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.d.ts +9 -12
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.d.ts +9 -12
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.ts +9 -12
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.d.ts +9 -12
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.d.ts +9 -12
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.d.ts +9 -12
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.d.ts +9 -12
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.d.ts +9 -12
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.d.ts +9 -12
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.d.ts +9 -12
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.d.ts +9 -12
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.d.ts +9 -12
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.d.ts +9 -12
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.d.ts +9 -12
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.d.ts +9 -12
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.d.ts +9 -12
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.d.ts +9 -12
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.d.ts +9 -12
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.d.ts +9 -591
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.d.ts +9 -12
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.d.ts +9 -12
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.d.ts +9 -12
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.d.ts +9 -12
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.d.ts +9 -12
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.d.ts +9 -12
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.d.ts +9 -12
- package/dist/apis/workflow.js +1 -1
- package/dist/authorize.d.ts +3 -0
- package/dist/bin/cli.d.ts +1 -0
- package/dist/bin/cli.js +1 -1
- package/dist/calendar-2YDAYG7S.cjs +7 -0
- package/dist/calendar-ACFIHQ2N.js +7 -0
- package/dist/calendar-runtime-6CMMEQMG.js +5 -0
- package/dist/calendar-runtime-G4SN5PDY.cjs +5 -0
- package/dist/{chunk-AM5TSEMU.cjs → chunk-CD4OX2U6.cjs} +4 -2
- package/dist/chunk-CKLEBO4K.cjs +14 -0
- package/dist/chunk-JNH37UUH.js +14 -0
- package/dist/{chunk-M25MI6ZX.js → chunk-TSV242UN.js} +4 -2
- package/dist/client-factory.d.ts +9 -0
- package/dist/client-map.d.ts +102 -0
- package/dist/compact.d.ts +22 -0
- package/dist/help.d.ts +12 -0
- package/dist/index.cjs +25 -17
- package/dist/index.d.ts +12 -180
- package/dist/index.js +21 -13
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/dist/large-response.d.ts +9 -0
- package/dist/openapi.d.ts +12 -0
- package/dist/overrides.d.ts +9 -0
- package/dist/proxy.d.ts +14 -0
- package/dist/registry.d.ts +19 -0
- package/dist/retry.d.ts +11 -0
- package/dist/sdk.d.ts +29 -0
- package/dist/types.d.ts +53 -0
- package/docs/calendar.md +441 -0
- package/package.json +10 -1
- package/dist/README-6MG272KM.cjs +0 -7
- package/dist/README-7N542PBL.js +0 -7
- package/dist/access-token.d-CnmUTOlq.d.cts +0 -552
- package/dist/access-token.d-CnmUTOlq.d.ts +0 -552
- package/dist/address-suggestions.d-_YwTOR-9.d.cts +0 -339
- package/dist/address-suggestions.d-_YwTOR-9.d.ts +0 -339
- package/dist/address.d-CwAPOVxa.d.cts +0 -437
- package/dist/address.d-CwAPOVxa.d.ts +0 -437
- package/dist/ai-agents.d-OkXfr2bz.d.cts +0 -1339
- package/dist/ai-agents.d-OkXfr2bz.d.ts +0 -1339
- package/dist/apis/access-token.d.cts +0 -18
- package/dist/apis/address-suggestions.d.cts +0 -18
- package/dist/apis/address.d.cts +0 -18
- package/dist/apis/ai-agents.d.cts +0 -18
- package/dist/apis/app.d.cts +0 -18
- package/dist/apis/audit-logs.d.cts +0 -18
- package/dist/apis/automation.d.cts +0 -18
- package/dist/apis/billing.d.cts +0 -18
- package/dist/apis/blueprint-manifest.d.cts +0 -18
- package/dist/apis/configuration-hub.d.cts +0 -18
- package/dist/apis/consent.d.cts +0 -18
- package/dist/apis/customer-portal.d.cts +0 -18
- package/dist/apis/dashboard.d.cts +0 -18
- package/dist/apis/data-governance.d.cts +0 -18
- package/dist/apis/deduplication.d.cts +0 -18
- package/dist/apis/design.d.cts +0 -18
- package/dist/apis/document.d.cts +0 -18
- package/dist/apis/email-settings.d.cts +0 -18
- package/dist/apis/email-template.d.cts +0 -18
- package/dist/apis/entity-mapping.d.cts +0 -18
- package/dist/apis/entity.d.cts +0 -18
- package/dist/apis/environments.d.cts +0 -18
- package/dist/apis/event-catalog.d.cts +0 -18
- package/dist/apis/file.d.cts +0 -18
- package/dist/apis/iban.d.cts +0 -18
- package/dist/apis/integration-toolkit.d.cts +0 -18
- package/dist/apis/journey.d.cts +0 -18
- package/dist/apis/kanban.d.cts +0 -18
- package/dist/apis/message.d.cts +0 -18
- package/dist/apis/metering.d.cts +0 -18
- package/dist/apis/notes.d.cts +0 -18
- package/dist/apis/notification.d.cts +0 -18
- package/dist/apis/organization.d.cts +0 -18
- package/dist/apis/partner-directory.d.cts +0 -18
- package/dist/apis/permissions.d.cts +0 -18
- package/dist/apis/pricing-tier.d.cts +0 -18
- package/dist/apis/pricing.d.cts +0 -18
- package/dist/apis/purpose.d.cts +0 -18
- package/dist/apis/query.d.cts +0 -18
- package/dist/apis/sandbox.d.cts +0 -18
- package/dist/apis/sharing.d.cts +0 -18
- package/dist/apis/submission.d.cts +0 -18
- package/dist/apis/target.d.cts +0 -597
- package/dist/apis/targeting.d.cts +0 -18
- package/dist/apis/template-variables.d.cts +0 -18
- package/dist/apis/user.d.cts +0 -18
- package/dist/apis/validation-rules.d.cts +0 -18
- package/dist/apis/webhooks.d.cts +0 -18
- package/dist/apis/workflow-definition.d.cts +0 -18
- package/dist/apis/workflow.d.cts +0 -18
- package/dist/app.d-u7Dq42kU.d.cts +0 -3391
- package/dist/app.d-u7Dq42kU.d.ts +0 -3391
- package/dist/audit-logs.d-BRToFqeX.d.cts +0 -287
- package/dist/audit-logs.d-BRToFqeX.d.ts +0 -287
- package/dist/automation.d-Du6-uiz5.d.cts +0 -5283
- package/dist/automation.d-Du6-uiz5.d.ts +0 -5283
- package/dist/billing.d-Bs8Ku9qE.d.cts +0 -993
- package/dist/billing.d-Bs8Ku9qE.d.ts +0 -993
- package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +0 -4343
- package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +0 -4343
- package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
- package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
- package/dist/consent.d-C2PROHhX.d.cts +0 -265
- package/dist/consent.d-C2PROHhX.d.ts +0 -265
- package/dist/customer-portal.d-DyZ2n2dW.d.cts +0 -16728
- package/dist/customer-portal.d-DyZ2n2dW.d.ts +0 -16728
- package/dist/dashboard.d-CsGcA74I.d.cts +0 -440
- package/dist/dashboard.d-CsGcA74I.d.ts +0 -440
- package/dist/data-governance.d-BbZ466j5.d.cts +0 -1178
- package/dist/data-governance.d-BbZ466j5.d.ts +0 -1178
- package/dist/deduplication.d-D5GYddVu.d.cts +0 -218
- package/dist/deduplication.d-D5GYddVu.d.ts +0 -218
- package/dist/design.d-BRre8iLg.d.cts +0 -2346
- package/dist/design.d-BRre8iLg.d.ts +0 -2346
- package/dist/document.d-DN37pjdx.d.cts +0 -648
- package/dist/document.d-DN37pjdx.d.ts +0 -648
- package/dist/email-settings.d-B7Q_xT25.d.cts +0 -2417
- package/dist/email-settings.d-B7Q_xT25.d.ts +0 -2417
- package/dist/email-template.d-gtQkdaXM.d.cts +0 -1188
- package/dist/email-template.d-gtQkdaXM.d.ts +0 -1188
- package/dist/entity-mapping.d-DKSW3sfy.d.cts +0 -1092
- package/dist/entity-mapping.d-DKSW3sfy.d.ts +0 -1092
- package/dist/entity.d-BHR9dEon.d.cts +0 -18479
- package/dist/entity.d-BHR9dEon.d.ts +0 -18479
- package/dist/environments.d-BvqvN-PD.d.cts +0 -382
- package/dist/environments.d-BvqvN-PD.d.ts +0 -382
- package/dist/event-catalog.d-ENw6HO-w.d.cts +0 -1511
- package/dist/event-catalog.d-ENw6HO-w.d.ts +0 -1511
- package/dist/file.d-DcTJxjp7.d.cts +0 -2992
- package/dist/file.d-DcTJxjp7.d.ts +0 -2992
- package/dist/iban.d-BwdiGbxi.d.cts +0 -70
- package/dist/iban.d-BwdiGbxi.d.ts +0 -70
- package/dist/index.d.cts +0 -180
- package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +0 -5796
- package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +0 -5796
- package/dist/journey.d-ClXO0xK8.d.cts +0 -1931
- package/dist/journey.d-ClXO0xK8.d.ts +0 -1931
- package/dist/kanban.d-BHnSRCYW.d.cts +0 -760
- package/dist/kanban.d-BHnSRCYW.d.ts +0 -760
- package/dist/message.d-B5UuSqgw.d.cts +0 -3811
- package/dist/message.d-B5UuSqgw.d.ts +0 -3811
- package/dist/metering.d-DvtPv7wk.d.cts +0 -1841
- package/dist/metering.d-DvtPv7wk.d.ts +0 -1841
- package/dist/notes.d-BC-scR42.d.cts +0 -1046
- package/dist/notes.d-BC-scR42.d.ts +0 -1046
- package/dist/notification.d-BfBL3lga.d.cts +0 -1147
- package/dist/notification.d-BfBL3lga.d.ts +0 -1147
- package/dist/organization.d-DqwnNxMg.d.cts +0 -1271
- package/dist/organization.d-DqwnNxMg.d.ts +0 -1271
- package/dist/partner-directory.d-BCIjHoGs.d.cts +0 -2337
- package/dist/partner-directory.d-BCIjHoGs.d.ts +0 -2337
- package/dist/permissions.d-l6AT8SYP.d.cts +0 -1279
- package/dist/permissions.d-l6AT8SYP.d.ts +0 -1279
- package/dist/pricing-tier.d-Cg0jl6n_.d.cts +0 -81
- package/dist/pricing-tier.d-Cg0jl6n_.d.ts +0 -81
- package/dist/pricing.d-BHpMU4KU.d.cts +0 -12255
- package/dist/pricing.d-BHpMU4KU.d.ts +0 -12255
- package/dist/purpose.d-CbIYfTua.d.cts +0 -372
- package/dist/purpose.d-CbIYfTua.d.ts +0 -372
- package/dist/query.d-Cmp78IhZ.d.cts +0 -2375
- package/dist/query.d-Cmp78IhZ.d.ts +0 -2375
- package/dist/sandbox.d-BdbOFzDu.d.cts +0 -465
- package/dist/sandbox.d-BdbOFzDu.d.ts +0 -465
- package/dist/sharing.d-sOXq-gtz.d.cts +0 -571
- package/dist/sharing.d-sOXq-gtz.d.ts +0 -571
- package/dist/submission.d-BamwfhXw.d.cts +0 -469
- package/dist/submission.d-BamwfhXw.d.ts +0 -469
- package/dist/targeting.d-BNmcVsNS.d.cts +0 -2057
- package/dist/targeting.d-BNmcVsNS.d.ts +0 -2057
- package/dist/template-variables.d-Ble9TSBa.d.cts +0 -1320
- package/dist/template-variables.d-Ble9TSBa.d.ts +0 -1320
- package/dist/types-ChU9Acbv.d.cts +0 -37
- package/dist/types-ChU9Acbv.d.ts +0 -37
- package/dist/user.d-D18fe97W.d.cts +0 -2270
- package/dist/user.d-D18fe97W.d.ts +0 -2270
- package/dist/validation-rules.d-Db5c5zTf.d.cts +0 -807
- package/dist/validation-rules.d-Db5c5zTf.d.ts +0 -807
- package/dist/webhooks.d-pLHIL_io.d.cts +0 -1256
- package/dist/webhooks.d-pLHIL_io.d.ts +0 -1256
- package/dist/workflow-definition.d-DOeb0KVV.d.cts +0 -1922
- package/dist/workflow-definition.d-DOeb0KVV.d.ts +0 -1922
- package/dist/workflow.d-CMSKt8oN.d.cts +0 -3151
- package/dist/workflow.d-CMSKt8oN.d.ts +0 -3151
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
-
|
|
3
|
-
/* Auto-copied from audit-logs-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare namespace Components {
|
|
9
|
-
namespace Schemas {
|
|
10
|
-
export interface Caller {
|
|
11
|
-
/**
|
|
12
|
-
* Email of the user
|
|
13
|
-
* example:
|
|
14
|
-
* max.mustermann@mail.com
|
|
15
|
-
*/
|
|
16
|
-
user_email?: string;
|
|
17
|
-
/**
|
|
18
|
-
* ID of the user
|
|
19
|
-
* example:
|
|
20
|
-
* 123456
|
|
21
|
-
*/
|
|
22
|
-
user_id?: string;
|
|
23
|
-
trigger_type?: "user" | "api" | "automation";
|
|
24
|
-
}
|
|
25
|
-
export interface Event {
|
|
26
|
-
/**
|
|
27
|
-
* ID of the log event
|
|
28
|
-
* example:
|
|
29
|
-
* 2843c005-c5b0-4df2-94ee-1ca2ddd998ac
|
|
30
|
-
*/
|
|
31
|
-
id?: string; // uuid
|
|
32
|
-
/**
|
|
33
|
-
* ID of the organization
|
|
34
|
-
* example:
|
|
35
|
-
* 123456
|
|
36
|
-
*/
|
|
37
|
-
org_id?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Name of the service
|
|
40
|
-
* example:
|
|
41
|
-
* workflows
|
|
42
|
-
*/
|
|
43
|
-
service_name?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Action that was performed
|
|
46
|
-
* example:
|
|
47
|
-
* deleteWorkflow
|
|
48
|
-
*/
|
|
49
|
-
event_name?: string;
|
|
50
|
-
/**
|
|
51
|
-
* HTTP status code
|
|
52
|
-
* example:
|
|
53
|
-
* 200
|
|
54
|
-
*/
|
|
55
|
-
status_code?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Timestamp of the event
|
|
58
|
-
* example:
|
|
59
|
-
* 2021-06-01T12:00:00Z
|
|
60
|
-
*/
|
|
61
|
-
timestamp?: string;
|
|
62
|
-
caller?: Caller;
|
|
63
|
-
http?: HttpContext;
|
|
64
|
-
/**
|
|
65
|
-
* Contains the stringified request body
|
|
66
|
-
* example:
|
|
67
|
-
* {"workflow_id": "123456"}
|
|
68
|
-
*/
|
|
69
|
-
detail?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Description of the event
|
|
72
|
-
* example:
|
|
73
|
-
* Workflow with ID 123456 was deleted
|
|
74
|
-
*/
|
|
75
|
-
activity?: string;
|
|
76
|
-
/**
|
|
77
|
-
* URL of the ressource that was modified
|
|
78
|
-
*/
|
|
79
|
-
source_url?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface HttpContext {
|
|
82
|
-
/**
|
|
83
|
-
* HTTP method
|
|
84
|
-
* example:
|
|
85
|
-
* GET
|
|
86
|
-
*/
|
|
87
|
-
method?: string;
|
|
88
|
-
/**
|
|
89
|
-
* IP address of the caller
|
|
90
|
-
* example:
|
|
91
|
-
*/
|
|
92
|
-
ip?: string;
|
|
93
|
-
/**
|
|
94
|
-
* HTTP headers
|
|
95
|
-
* example:
|
|
96
|
-
* {
|
|
97
|
-
* "Authorization": "Bearer token"
|
|
98
|
-
* }
|
|
99
|
-
*/
|
|
100
|
-
headers?: {
|
|
101
|
-
[key: string]: any;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Query parameters
|
|
105
|
-
* example:
|
|
106
|
-
* {
|
|
107
|
-
* "limit": 50,
|
|
108
|
-
* "page": 0
|
|
109
|
-
* }
|
|
110
|
-
*/
|
|
111
|
-
query?: {
|
|
112
|
-
[key: string]: any;
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Path parameters
|
|
116
|
-
* example:
|
|
117
|
-
* {
|
|
118
|
-
* "eventId": "2843c005-c5b0-4df2-94ee-1ca2ddd998ac"
|
|
119
|
-
* }
|
|
120
|
-
*/
|
|
121
|
-
pathParams?: {
|
|
122
|
-
[key: string]: any;
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* Path of the request
|
|
126
|
-
* example:
|
|
127
|
-
* /v1/logs
|
|
128
|
-
*/
|
|
129
|
-
path?: string;
|
|
130
|
-
/**
|
|
131
|
-
* Domain name of the request
|
|
132
|
-
* example:
|
|
133
|
-
* audit-logs.sls.epilot.io
|
|
134
|
-
*/
|
|
135
|
-
domainName?: string;
|
|
136
|
-
}
|
|
137
|
-
export interface SearchOptions {
|
|
138
|
-
/**
|
|
139
|
-
* Maximum number of results to return
|
|
140
|
-
* example:
|
|
141
|
-
* 50
|
|
142
|
-
*/
|
|
143
|
-
limit?: number;
|
|
144
|
-
/**
|
|
145
|
-
* Page number to return
|
|
146
|
-
* example:
|
|
147
|
-
* 0
|
|
148
|
-
*/
|
|
149
|
-
page?: number;
|
|
150
|
-
/**
|
|
151
|
-
* Timestamp of the event in ISO 8601 format
|
|
152
|
-
* example:
|
|
153
|
-
* 2021-06-01T12:00:00Z
|
|
154
|
-
*/
|
|
155
|
-
timestamp?: {
|
|
156
|
-
from?: string;
|
|
157
|
-
to?: string;
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* Name of the service that triggered the event
|
|
161
|
-
* example:
|
|
162
|
-
* workflows
|
|
163
|
-
*/
|
|
164
|
-
service_name?: string;
|
|
165
|
-
/**
|
|
166
|
-
* Action that was performed (event name)
|
|
167
|
-
* example:
|
|
168
|
-
* deleteWorkflow
|
|
169
|
-
*/
|
|
170
|
-
event_name?: string;
|
|
171
|
-
/**
|
|
172
|
-
* Outcome of the event i.e. success or failed events
|
|
173
|
-
*/
|
|
174
|
-
outcome?: "success" | "failure";
|
|
175
|
-
/**
|
|
176
|
-
* HTTP method
|
|
177
|
-
* example:
|
|
178
|
-
* POST
|
|
179
|
-
*/
|
|
180
|
-
method?: string;
|
|
181
|
-
user?: {
|
|
182
|
-
/**
|
|
183
|
-
* Email of the user who initiated the event
|
|
184
|
-
* example:
|
|
185
|
-
* max.mustermann@mail.com
|
|
186
|
-
*/
|
|
187
|
-
email?: string;
|
|
188
|
-
/**
|
|
189
|
-
* ID of the user who initiated the event
|
|
190
|
-
* example:
|
|
191
|
-
* 123456
|
|
192
|
-
*/
|
|
193
|
-
user_id?: string;
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
declare namespace Paths {
|
|
199
|
-
namespace GetLogById {
|
|
200
|
-
namespace Parameters {
|
|
201
|
-
export type LogId = string;
|
|
202
|
-
}
|
|
203
|
-
export interface PathParameters {
|
|
204
|
-
logId: Parameters.LogId;
|
|
205
|
-
}
|
|
206
|
-
namespace Responses {
|
|
207
|
-
export interface $200 {
|
|
208
|
-
log?: Components.Schemas.Event;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
namespace GetLogs {
|
|
213
|
-
export type RequestBody = Components.Schemas.SearchOptions;
|
|
214
|
-
namespace Responses {
|
|
215
|
-
export interface $200 {
|
|
216
|
-
logs?: Components.Schemas.Event[];
|
|
217
|
-
/**
|
|
218
|
-
* Total number of logs
|
|
219
|
-
* example:
|
|
220
|
-
* 1
|
|
221
|
-
*/
|
|
222
|
-
total?: number;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
interface OperationMethods {
|
|
230
|
-
/**
|
|
231
|
-
* getLogs - getLogs
|
|
232
|
-
*
|
|
233
|
-
* Retrieve Audit Log events. Optionally, you can filter them by organization.
|
|
234
|
-
*/
|
|
235
|
-
'getLogs'(
|
|
236
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
237
|
-
data?: Paths.GetLogs.RequestBody,
|
|
238
|
-
config?: AxiosRequestConfig
|
|
239
|
-
): OperationResponse<Paths.GetLogs.Responses.$200>
|
|
240
|
-
/**
|
|
241
|
-
* getLogById - getLogById
|
|
242
|
-
*
|
|
243
|
-
* Retrieve Audit Log events
|
|
244
|
-
*/
|
|
245
|
-
'getLogById'(
|
|
246
|
-
parameters?: Parameters<Paths.GetLogById.PathParameters> | null,
|
|
247
|
-
data?: any,
|
|
248
|
-
config?: AxiosRequestConfig
|
|
249
|
-
): OperationResponse<Paths.GetLogById.Responses.$200>
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
interface PathsDictionary {
|
|
253
|
-
['/v1/logs']: {
|
|
254
|
-
/**
|
|
255
|
-
* getLogs - getLogs
|
|
256
|
-
*
|
|
257
|
-
* Retrieve Audit Log events. Optionally, you can filter them by organization.
|
|
258
|
-
*/
|
|
259
|
-
'post'(
|
|
260
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
261
|
-
data?: Paths.GetLogs.RequestBody,
|
|
262
|
-
config?: AxiosRequestConfig
|
|
263
|
-
): OperationResponse<Paths.GetLogs.Responses.$200>
|
|
264
|
-
}
|
|
265
|
-
['/v1/logs/{logId}']: {
|
|
266
|
-
/**
|
|
267
|
-
* getLogById - getLogById
|
|
268
|
-
*
|
|
269
|
-
* Retrieve Audit Log events
|
|
270
|
-
*/
|
|
271
|
-
'get'(
|
|
272
|
-
parameters?: Parameters<Paths.GetLogById.PathParameters> | null,
|
|
273
|
-
data?: any,
|
|
274
|
-
config?: AxiosRequestConfig
|
|
275
|
-
): OperationResponse<Paths.GetLogById.Responses.$200>
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
type Caller = Components.Schemas.Caller;
|
|
283
|
-
type Event = Components.Schemas.Event;
|
|
284
|
-
type HttpContext = Components.Schemas.HttpContext;
|
|
285
|
-
type SearchOptions = Components.Schemas.SearchOptions;
|
|
286
|
-
|
|
287
|
-
export { type Client as C, type Event as E, type HttpContext as H, type OperationMethods as O, Paths as P, type SearchOptions as S, Components as a, type PathsDictionary as b, type Caller as c };
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
-
|
|
3
|
-
/* Auto-copied from audit-logs-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare namespace Components {
|
|
9
|
-
namespace Schemas {
|
|
10
|
-
export interface Caller {
|
|
11
|
-
/**
|
|
12
|
-
* Email of the user
|
|
13
|
-
* example:
|
|
14
|
-
* max.mustermann@mail.com
|
|
15
|
-
*/
|
|
16
|
-
user_email?: string;
|
|
17
|
-
/**
|
|
18
|
-
* ID of the user
|
|
19
|
-
* example:
|
|
20
|
-
* 123456
|
|
21
|
-
*/
|
|
22
|
-
user_id?: string;
|
|
23
|
-
trigger_type?: "user" | "api" | "automation";
|
|
24
|
-
}
|
|
25
|
-
export interface Event {
|
|
26
|
-
/**
|
|
27
|
-
* ID of the log event
|
|
28
|
-
* example:
|
|
29
|
-
* 2843c005-c5b0-4df2-94ee-1ca2ddd998ac
|
|
30
|
-
*/
|
|
31
|
-
id?: string; // uuid
|
|
32
|
-
/**
|
|
33
|
-
* ID of the organization
|
|
34
|
-
* example:
|
|
35
|
-
* 123456
|
|
36
|
-
*/
|
|
37
|
-
org_id?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Name of the service
|
|
40
|
-
* example:
|
|
41
|
-
* workflows
|
|
42
|
-
*/
|
|
43
|
-
service_name?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Action that was performed
|
|
46
|
-
* example:
|
|
47
|
-
* deleteWorkflow
|
|
48
|
-
*/
|
|
49
|
-
event_name?: string;
|
|
50
|
-
/**
|
|
51
|
-
* HTTP status code
|
|
52
|
-
* example:
|
|
53
|
-
* 200
|
|
54
|
-
*/
|
|
55
|
-
status_code?: number;
|
|
56
|
-
/**
|
|
57
|
-
* Timestamp of the event
|
|
58
|
-
* example:
|
|
59
|
-
* 2021-06-01T12:00:00Z
|
|
60
|
-
*/
|
|
61
|
-
timestamp?: string;
|
|
62
|
-
caller?: Caller;
|
|
63
|
-
http?: HttpContext;
|
|
64
|
-
/**
|
|
65
|
-
* Contains the stringified request body
|
|
66
|
-
* example:
|
|
67
|
-
* {"workflow_id": "123456"}
|
|
68
|
-
*/
|
|
69
|
-
detail?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Description of the event
|
|
72
|
-
* example:
|
|
73
|
-
* Workflow with ID 123456 was deleted
|
|
74
|
-
*/
|
|
75
|
-
activity?: string;
|
|
76
|
-
/**
|
|
77
|
-
* URL of the ressource that was modified
|
|
78
|
-
*/
|
|
79
|
-
source_url?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface HttpContext {
|
|
82
|
-
/**
|
|
83
|
-
* HTTP method
|
|
84
|
-
* example:
|
|
85
|
-
* GET
|
|
86
|
-
*/
|
|
87
|
-
method?: string;
|
|
88
|
-
/**
|
|
89
|
-
* IP address of the caller
|
|
90
|
-
* example:
|
|
91
|
-
*/
|
|
92
|
-
ip?: string;
|
|
93
|
-
/**
|
|
94
|
-
* HTTP headers
|
|
95
|
-
* example:
|
|
96
|
-
* {
|
|
97
|
-
* "Authorization": "Bearer token"
|
|
98
|
-
* }
|
|
99
|
-
*/
|
|
100
|
-
headers?: {
|
|
101
|
-
[key: string]: any;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Query parameters
|
|
105
|
-
* example:
|
|
106
|
-
* {
|
|
107
|
-
* "limit": 50,
|
|
108
|
-
* "page": 0
|
|
109
|
-
* }
|
|
110
|
-
*/
|
|
111
|
-
query?: {
|
|
112
|
-
[key: string]: any;
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Path parameters
|
|
116
|
-
* example:
|
|
117
|
-
* {
|
|
118
|
-
* "eventId": "2843c005-c5b0-4df2-94ee-1ca2ddd998ac"
|
|
119
|
-
* }
|
|
120
|
-
*/
|
|
121
|
-
pathParams?: {
|
|
122
|
-
[key: string]: any;
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* Path of the request
|
|
126
|
-
* example:
|
|
127
|
-
* /v1/logs
|
|
128
|
-
*/
|
|
129
|
-
path?: string;
|
|
130
|
-
/**
|
|
131
|
-
* Domain name of the request
|
|
132
|
-
* example:
|
|
133
|
-
* audit-logs.sls.epilot.io
|
|
134
|
-
*/
|
|
135
|
-
domainName?: string;
|
|
136
|
-
}
|
|
137
|
-
export interface SearchOptions {
|
|
138
|
-
/**
|
|
139
|
-
* Maximum number of results to return
|
|
140
|
-
* example:
|
|
141
|
-
* 50
|
|
142
|
-
*/
|
|
143
|
-
limit?: number;
|
|
144
|
-
/**
|
|
145
|
-
* Page number to return
|
|
146
|
-
* example:
|
|
147
|
-
* 0
|
|
148
|
-
*/
|
|
149
|
-
page?: number;
|
|
150
|
-
/**
|
|
151
|
-
* Timestamp of the event in ISO 8601 format
|
|
152
|
-
* example:
|
|
153
|
-
* 2021-06-01T12:00:00Z
|
|
154
|
-
*/
|
|
155
|
-
timestamp?: {
|
|
156
|
-
from?: string;
|
|
157
|
-
to?: string;
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* Name of the service that triggered the event
|
|
161
|
-
* example:
|
|
162
|
-
* workflows
|
|
163
|
-
*/
|
|
164
|
-
service_name?: string;
|
|
165
|
-
/**
|
|
166
|
-
* Action that was performed (event name)
|
|
167
|
-
* example:
|
|
168
|
-
* deleteWorkflow
|
|
169
|
-
*/
|
|
170
|
-
event_name?: string;
|
|
171
|
-
/**
|
|
172
|
-
* Outcome of the event i.e. success or failed events
|
|
173
|
-
*/
|
|
174
|
-
outcome?: "success" | "failure";
|
|
175
|
-
/**
|
|
176
|
-
* HTTP method
|
|
177
|
-
* example:
|
|
178
|
-
* POST
|
|
179
|
-
*/
|
|
180
|
-
method?: string;
|
|
181
|
-
user?: {
|
|
182
|
-
/**
|
|
183
|
-
* Email of the user who initiated the event
|
|
184
|
-
* example:
|
|
185
|
-
* max.mustermann@mail.com
|
|
186
|
-
*/
|
|
187
|
-
email?: string;
|
|
188
|
-
/**
|
|
189
|
-
* ID of the user who initiated the event
|
|
190
|
-
* example:
|
|
191
|
-
* 123456
|
|
192
|
-
*/
|
|
193
|
-
user_id?: string;
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
declare namespace Paths {
|
|
199
|
-
namespace GetLogById {
|
|
200
|
-
namespace Parameters {
|
|
201
|
-
export type LogId = string;
|
|
202
|
-
}
|
|
203
|
-
export interface PathParameters {
|
|
204
|
-
logId: Parameters.LogId;
|
|
205
|
-
}
|
|
206
|
-
namespace Responses {
|
|
207
|
-
export interface $200 {
|
|
208
|
-
log?: Components.Schemas.Event;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
namespace GetLogs {
|
|
213
|
-
export type RequestBody = Components.Schemas.SearchOptions;
|
|
214
|
-
namespace Responses {
|
|
215
|
-
export interface $200 {
|
|
216
|
-
logs?: Components.Schemas.Event[];
|
|
217
|
-
/**
|
|
218
|
-
* Total number of logs
|
|
219
|
-
* example:
|
|
220
|
-
* 1
|
|
221
|
-
*/
|
|
222
|
-
total?: number;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
interface OperationMethods {
|
|
230
|
-
/**
|
|
231
|
-
* getLogs - getLogs
|
|
232
|
-
*
|
|
233
|
-
* Retrieve Audit Log events. Optionally, you can filter them by organization.
|
|
234
|
-
*/
|
|
235
|
-
'getLogs'(
|
|
236
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
237
|
-
data?: Paths.GetLogs.RequestBody,
|
|
238
|
-
config?: AxiosRequestConfig
|
|
239
|
-
): OperationResponse<Paths.GetLogs.Responses.$200>
|
|
240
|
-
/**
|
|
241
|
-
* getLogById - getLogById
|
|
242
|
-
*
|
|
243
|
-
* Retrieve Audit Log events
|
|
244
|
-
*/
|
|
245
|
-
'getLogById'(
|
|
246
|
-
parameters?: Parameters<Paths.GetLogById.PathParameters> | null,
|
|
247
|
-
data?: any,
|
|
248
|
-
config?: AxiosRequestConfig
|
|
249
|
-
): OperationResponse<Paths.GetLogById.Responses.$200>
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
interface PathsDictionary {
|
|
253
|
-
['/v1/logs']: {
|
|
254
|
-
/**
|
|
255
|
-
* getLogs - getLogs
|
|
256
|
-
*
|
|
257
|
-
* Retrieve Audit Log events. Optionally, you can filter them by organization.
|
|
258
|
-
*/
|
|
259
|
-
'post'(
|
|
260
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
261
|
-
data?: Paths.GetLogs.RequestBody,
|
|
262
|
-
config?: AxiosRequestConfig
|
|
263
|
-
): OperationResponse<Paths.GetLogs.Responses.$200>
|
|
264
|
-
}
|
|
265
|
-
['/v1/logs/{logId}']: {
|
|
266
|
-
/**
|
|
267
|
-
* getLogById - getLogById
|
|
268
|
-
*
|
|
269
|
-
* Retrieve Audit Log events
|
|
270
|
-
*/
|
|
271
|
-
'get'(
|
|
272
|
-
parameters?: Parameters<Paths.GetLogById.PathParameters> | null,
|
|
273
|
-
data?: any,
|
|
274
|
-
config?: AxiosRequestConfig
|
|
275
|
-
): OperationResponse<Paths.GetLogById.Responses.$200>
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
type Caller = Components.Schemas.Caller;
|
|
283
|
-
type Event = Components.Schemas.Event;
|
|
284
|
-
type HttpContext = Components.Schemas.HttpContext;
|
|
285
|
-
type SearchOptions = Components.Schemas.SearchOptions;
|
|
286
|
-
|
|
287
|
-
export { type Client as C, type Event as E, type HttpContext as H, type OperationMethods as O, Paths as P, type SearchOptions as S, Components as a, type PathsDictionary as b, type Caller as c };
|