@epilot/sdk 2.15.12 → 2.15.14
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/app.json +5 -0
- package/definitions/automation-runtime.json +1 -1
- package/definitions/automation.json +139 -1
- 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.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +2 -2
- 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/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.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-governance.cjs +6 -6
- package/dist/apis/data-governance.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 +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- 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/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- 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/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.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/app-5GFMQJQP.cjs +7 -0
- package/dist/app-YY2NCNQ2.js +7 -0
- package/dist/{app.d-BdFPyoJZ.d.cts → app.d-B5s8GfqF.d.cts} +4 -0
- package/dist/{app.d-BdFPyoJZ.d.ts → app.d-B5s8GfqF.d.ts} +4 -0
- package/dist/automation-UES4YTBX.js +7 -0
- package/dist/automation-ZPPNTUOZ.cjs +7 -0
- package/dist/{automation-runtime-VP4M7Z4R.js → automation-runtime-ORW5BVCD.js} +1 -1
- package/dist/{automation-runtime-DO5QSGJJ.cjs → automation-runtime-RM5EOZH2.cjs} +2 -2
- package/dist/{automation.d-Beojxb43.d.cts → automation.d-DocUQr4m.d.cts} +137 -2
- package/dist/{automation.d-Beojxb43.d.ts → automation.d-DocUQr4m.d.ts} +137 -2
- package/dist/{chunk-DVM27A7E.cjs → chunk-ADSWGLIV.cjs} +1 -1
- package/dist/chunk-LCE7N4ZL.js +14 -0
- package/dist/{chunk-ONOSCVR7.js → chunk-SVVKPKJX.js} +3 -3
- package/dist/{chunk-ENUGTVR3.cjs → chunk-WQ4S6ZH3.cjs} +3 -3
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/app.md +5 -0
- package/docs/automation.md +196 -0
- package/package.json +1 -1
- package/dist/app-4OOR6HHG.js +0 -7
- package/dist/app-KQMSUXFH.cjs +0 -7
- package/dist/automation-5NBZZJK2.cjs +0 -7
- package/dist/automation-HKXKZO4Z.js +0 -7
- package/dist/chunk-WT26LFC2.js +0 -14
|
@@ -717,9 +717,64 @@ declare namespace Components {
|
|
|
717
717
|
*/
|
|
718
718
|
remove?: string[];
|
|
719
719
|
/**
|
|
720
|
-
* Assignees to add to the thread
|
|
720
|
+
* Assignees to add to the thread. For even_distribution this may contain group IDs (prefixed "group_") whose members are candidates.
|
|
721
721
|
*/
|
|
722
722
|
add?: string[];
|
|
723
|
+
/**
|
|
724
|
+
* How assignees in `add` are resolved.
|
|
725
|
+
* - direct: assign exactly the users in `add` (default).
|
|
726
|
+
* - even_distribution: treat `add` as a candidate pool (users and/or groups)
|
|
727
|
+
* and assign the least-loaded available agent.
|
|
728
|
+
* - sequential: reserved for future use.
|
|
729
|
+
*
|
|
730
|
+
*/
|
|
731
|
+
assignment_type?: "direct" | "even_distribution" | "sequential";
|
|
732
|
+
/**
|
|
733
|
+
* Candidate condition for even_distribution: when true, skip users who
|
|
734
|
+
* are currently absent (out-of-office). Opt-in; defaults to false.
|
|
735
|
+
*
|
|
736
|
+
*/
|
|
737
|
+
only_available_users?: boolean;
|
|
738
|
+
/**
|
|
739
|
+
* Candidate condition for even_distribution: when true, only assign to
|
|
740
|
+
* users whose skills (tags) match a label on the message. Opt-in;
|
|
741
|
+
* defaults to false.
|
|
742
|
+
*
|
|
743
|
+
*/
|
|
744
|
+
match_user_skills?: boolean;
|
|
745
|
+
/**
|
|
746
|
+
* Candidate condition (with match_user_skills): label families
|
|
747
|
+
* (taxonomy slugs) that must match. A user qualifies only if it shares
|
|
748
|
+
* a label with the message within each of these categories. Leave empty
|
|
749
|
+
* to match on any label (flat OR across all categories).
|
|
750
|
+
*
|
|
751
|
+
*/
|
|
752
|
+
required_skill_categories?: string[];
|
|
753
|
+
/**
|
|
754
|
+
* How strictly required skill categories are matched (applies with
|
|
755
|
+
* match_user_skills and required skill categories set).
|
|
756
|
+
* - require_all: hard match (default) — a user must match every required
|
|
757
|
+
* category the message has a label in.
|
|
758
|
+
* - prefer: soft match — prefer the best-matching users, relaxing to
|
|
759
|
+
* fewer categories only when no better match exists; a user matching
|
|
760
|
+
* no category is never eligible (the fallback then applies).
|
|
761
|
+
*
|
|
762
|
+
*/
|
|
763
|
+
skill_match_mode?: "require_all" | "prefer";
|
|
764
|
+
/**
|
|
765
|
+
* What to do when smart assignment resolves no assignable candidate.
|
|
766
|
+
* Applies to even_distribution.
|
|
767
|
+
* - leave_unassigned: leave the thread unassigned (default).
|
|
768
|
+
* - assign_to_fallback: route to the users/groups in `fallback_assignees`.
|
|
769
|
+
*
|
|
770
|
+
*/
|
|
771
|
+
fallback?: "leave_unassigned" | "assign_to_fallback";
|
|
772
|
+
/**
|
|
773
|
+
* Target user/group IDs (group IDs prefixed "group_") to assign when
|
|
774
|
+
* `fallback` is "assign_to_fallback".
|
|
775
|
+
*
|
|
776
|
+
*/
|
|
777
|
+
fallback_assignees?: string[];
|
|
723
778
|
}
|
|
724
779
|
/**
|
|
725
780
|
* example:
|
|
@@ -3593,6 +3648,40 @@ declare namespace Components {
|
|
|
3593
3648
|
total: number;
|
|
3594
3649
|
results: AutomationFlow[];
|
|
3595
3650
|
}
|
|
3651
|
+
export interface SearchExecutionsReq {
|
|
3652
|
+
entity_id: /**
|
|
3653
|
+
* example:
|
|
3654
|
+
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
|
|
3655
|
+
*/
|
|
3656
|
+
EntityId;
|
|
3657
|
+
/**
|
|
3658
|
+
* Include flow automations in the response
|
|
3659
|
+
*/
|
|
3660
|
+
include_flows?: boolean;
|
|
3661
|
+
/**
|
|
3662
|
+
* Max number of executions to return per page
|
|
3663
|
+
*/
|
|
3664
|
+
size?: number;
|
|
3665
|
+
/**
|
|
3666
|
+
* Opaque cursor returned as next_cursor by a previous page.
|
|
3667
|
+
* Pass it to fetch the next page of results.
|
|
3668
|
+
*
|
|
3669
|
+
*/
|
|
3670
|
+
cursor?: string;
|
|
3671
|
+
}
|
|
3672
|
+
export interface SearchExecutionsResp {
|
|
3673
|
+
/**
|
|
3674
|
+
* Number of executions in this page
|
|
3675
|
+
*/
|
|
3676
|
+
total: number;
|
|
3677
|
+
results: AutomationExecution[];
|
|
3678
|
+
/**
|
|
3679
|
+
* Opaque cursor to fetch the next page of results.
|
|
3680
|
+
* Only present when more results are available.
|
|
3681
|
+
*
|
|
3682
|
+
*/
|
|
3683
|
+
next_cursor?: string;
|
|
3684
|
+
}
|
|
3596
3685
|
export interface SendEmailAction {
|
|
3597
3686
|
id?: /**
|
|
3598
3687
|
* example:
|
|
@@ -5043,6 +5132,20 @@ declare namespace Paths {
|
|
|
5043
5132
|
Components.Responses.NotFoundError;
|
|
5044
5133
|
}
|
|
5045
5134
|
}
|
|
5135
|
+
namespace SearchExecutions {
|
|
5136
|
+
export type RequestBody = Components.Schemas.SearchExecutionsReq;
|
|
5137
|
+
namespace Responses {
|
|
5138
|
+
export type $200 = Components.Schemas.SearchExecutionsResp;
|
|
5139
|
+
export type $403 = /**
|
|
5140
|
+
* example:
|
|
5141
|
+
* {
|
|
5142
|
+
* "status": 403,
|
|
5143
|
+
* "error": "Forbidden"
|
|
5144
|
+
* }
|
|
5145
|
+
*/
|
|
5146
|
+
Components.Responses.ForbiddenError;
|
|
5147
|
+
}
|
|
5148
|
+
}
|
|
5046
5149
|
namespace SearchFlows {
|
|
5047
5150
|
namespace Parameters {
|
|
5048
5151
|
export type From = number;
|
|
@@ -5186,6 +5289,20 @@ interface OperationMethods {
|
|
|
5186
5289
|
data?: Paths.StartExecution.RequestBody,
|
|
5187
5290
|
config?: AxiosRequestConfig
|
|
5188
5291
|
): OperationResponse<Paths.StartExecution.Responses.$201>
|
|
5292
|
+
/**
|
|
5293
|
+
* searchExecutions - searchExecutions
|
|
5294
|
+
*
|
|
5295
|
+
* Search automation executions of an entity with cursor-based pagination.
|
|
5296
|
+
* Returns pages of up to 100 executions, newest first.
|
|
5297
|
+
* Prefer this over GET /v1/automation/executions, which returns the full
|
|
5298
|
+
* execution history in a single response.
|
|
5299
|
+
*
|
|
5300
|
+
*/
|
|
5301
|
+
'searchExecutions'(
|
|
5302
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5303
|
+
data?: Paths.SearchExecutions.RequestBody,
|
|
5304
|
+
config?: AxiosRequestConfig
|
|
5305
|
+
): OperationResponse<Paths.SearchExecutions.Responses.$200>
|
|
5189
5306
|
/**
|
|
5190
5307
|
* bulkTriggerExecutions - bulkTriggerExecutions
|
|
5191
5308
|
*
|
|
@@ -5362,6 +5479,22 @@ interface PathsDictionary {
|
|
|
5362
5479
|
config?: AxiosRequestConfig
|
|
5363
5480
|
): OperationResponse<Paths.StartExecution.Responses.$201>
|
|
5364
5481
|
}
|
|
5482
|
+
['/v1/automation/executions:search']: {
|
|
5483
|
+
/**
|
|
5484
|
+
* searchExecutions - searchExecutions
|
|
5485
|
+
*
|
|
5486
|
+
* Search automation executions of an entity with cursor-based pagination.
|
|
5487
|
+
* Returns pages of up to 100 executions, newest first.
|
|
5488
|
+
* Prefer this over GET /v1/automation/executions, which returns the full
|
|
5489
|
+
* execution history in a single response.
|
|
5490
|
+
*
|
|
5491
|
+
*/
|
|
5492
|
+
'post'(
|
|
5493
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5494
|
+
data?: Paths.SearchExecutions.RequestBody,
|
|
5495
|
+
config?: AxiosRequestConfig
|
|
5496
|
+
): OperationResponse<Paths.SearchExecutions.Responses.$200>
|
|
5497
|
+
}
|
|
5365
5498
|
['/v1/automation/executions/bulk-jobs']: {
|
|
5366
5499
|
/**
|
|
5367
5500
|
* bulkTriggerExecutions - bulkTriggerExecutions
|
|
@@ -5569,6 +5702,8 @@ type ResumeToken = Components.Schemas.ResumeToken;
|
|
|
5569
5702
|
type RetryReq = Components.Schemas.RetryReq;
|
|
5570
5703
|
type RetryStrategy = Components.Schemas.RetryStrategy;
|
|
5571
5704
|
type SearchAutomationsResp = Components.Schemas.SearchAutomationsResp;
|
|
5705
|
+
type SearchExecutionsReq = Components.Schemas.SearchExecutionsReq;
|
|
5706
|
+
type SearchExecutionsResp = Components.Schemas.SearchExecutionsResp;
|
|
5572
5707
|
type SendEmailAction = Components.Schemas.SendEmailAction;
|
|
5573
5708
|
type SendEmailActionConfig = Components.Schemas.SendEmailActionConfig;
|
|
5574
5709
|
type SendEmailCondition = Components.Schemas.SendEmailCondition;
|
|
@@ -5600,4 +5735,4 @@ type WildcardCondition = Components.Schemas.WildcardCondition;
|
|
|
5600
5735
|
type WorkflowContextRole = Components.Schemas.WorkflowContextRole;
|
|
5601
5736
|
type WorkflowExecutionContext = Components.Schemas.WorkflowExecutionContext;
|
|
5602
5737
|
|
|
5603
|
-
export { type EntityRef as $, type ActionCondition as A, type AutomationLoopState as B, type Client as C, type AutomationTrigger as D, type BulkTriggerJob as E, type BulkTriggerRequest as F, type CancellationReason as G, type CartCheckoutAction as H, type CartCheckoutActionConfig as I, type CartCheckoutConfig as J, type Comparison as K, type ConditionStatement as L, type CopyValueMapper as M, type CreateDocumentAction as N, type OperationMethods as O, Paths as P, type CreateDocumentActionConfig as Q, type CreateDocumentConfig as R, type CustomAction as S, type DiffAdded as T, type DiffDeleted as U, type DiffUpdated as V, type EntityId as W, type EntityItemSnapshot as X, type EntityManualTrigger as Y, type EntityOperation as Z, type EntityOperationTrigger as _, Components as a, type
|
|
5738
|
+
export { type EntityRef as $, type ActionCondition as A, type AutomationLoopState as B, type Client as C, type AutomationTrigger as D, type BulkTriggerJob as E, type BulkTriggerRequest as F, type CancellationReason as G, type CartCheckoutAction as H, type CartCheckoutActionConfig as I, type CartCheckoutConfig as J, type Comparison as K, type ConditionStatement as L, type CopyValueMapper as M, type CreateDocumentAction as N, type OperationMethods as O, Paths as P, type CreateDocumentActionConfig as Q, type CreateDocumentConfig as R, type CustomAction as S, type DiffAdded as T, type DiffDeleted as U, type DiffUpdated as V, type EntityId as W, type EntityItemSnapshot as X, type EntityManualTrigger as Y, type EntityOperation as Z, type EntityOperationTrigger as _, Components as a, type StartExecutionRequest as a$, type EntitySearchFilter as a0, type EntitySearchFilterValue as a1, type EqualsIgnoreCaseCondition as a2, type ErrorCode as a3, type ErrorDetail as a4, type ErrorObject as a5, type ErrorOutput as a6, type ExecItem as a7, type ExecutionChain as a8, type ExecutionStatus as a9, type NumericCondition as aA, type OperationNode as aB, type OperationObjectNode as aC, type OrCondition as aD, type OrConditionForDiff as aE, type OrganizationId as aF, type PatchBulkJobRequest as aG, type PrefixCondition as aH, type PrimitiveJSONValue as aI, type ReceivedEmailTrigger as aJ, type RelationAttribute as aK, type ReplyEmailAction as aL, type ReplyEmailActionConfig as aM, type ReplyEmailConfig as aN, type ResumeReq as aO, type ResumeResp as aP, type ResumeToken as aQ, type RetryReq as aR, type RetryStrategy as aS, type SearchAutomationsResp as aT, type SearchExecutionsReq as aU, type SearchExecutionsResp as aV, type SendEmailAction as aW, type SendEmailActionConfig as aX, type SendEmailCondition as aY, type SendEmailConfig as aZ, type SetValueMapper as a_, type ExistsCondition as aa, type FilterConditionOnEvent as ab, type FlowExecutionCancelAction as ac, type FlowExecutionCancelActionConfig as ad, type FlowExecutionCancelConfig as ae, type FlowsTrigger as af, type ForwardEmailAction as ag, type ForwardEmailActionConfig as ah, type ForwardEmailConfig as ai, type FrontendSubmitTrigger as aj, type GetExecutionsResp as ak, type InformERPAction as al, type InformERPActionConfig as am, type InformERPConfig as an, type JobId as ao, type JourneySubmitTrigger as ap, type MapEntityAction as aq, type MapEntityActionConfig as ar, type MapEntityConfig as as, type MappingAttribute as at, type MappingAttributeMode as au, type MappingAttributeV2 as av, type MappingConfigRef as aw, type MoveThreadAction as ax, type MoveThreadConfig as ay, type NewEmailThreadTrigger as az, type PathsDictionary as b, type SuffixCondition as b0, type TriggerCondition as b1, type TriggerContext as b2, type TriggerEventAction as b3, type TriggerEventActionConfig as b4, type TriggerEventConfig as b5, type TriggerEventEntityActivity as b6, type TriggerEventEntityOperation as b7, type TriggerEventFlowAutomationTask as b8, type TriggerEventManual as b9, type TriggerEventMessaging as ba, type TriggerShareEntityAction as bb, type TriggerShareEntityActionConfig as bc, type TriggerShareEntityConfig as bd, type TriggerWebhookAction as be, type TriggerWebhookActionConfig as bf, type TriggerWebhookConfig as bg, type TriggerWorkflowAction as bh, type TriggerWorkflowActionConfig as bi, type TriggerWorkflowCondition as bj, type TriggerWorkflowConfig as bk, type WildcardCondition as bl, type WorkflowContextRole as bm, type WorkflowExecutionContext as bn, type ActionSchedule as c, type ActionScheduleSource as d, type ActivityId as e, type ActivityTrigger as f, type AnyAction as g, type AnyActionConfig as h, type AnyTrigger as i, type AnythingButCondition as j, type ApiCallerContext as k, type ApiSubmissionTrigger as l, type AppendValueMapper as m, type AssignThreadAction as n, type AssignThreadConfig as o, type AssignUsersToStep as p, type AutomationAction as q, type AutomationActionConfig as r, type AutomationActionExecutionState as s, type AutomationActionId as t, type AutomationActionIteration as u, type AutomationExecution as v, type AutomationExecutionId as w, type AutomationFlow as x, type AutomationFlowId as y, type AutomationLoop as z };
|
|
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
|
5
5
|
// src/definitions/automation-runtime.json
|
|
6
6
|
var require_automation_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/automation-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://automation.sls.epilot.io", o: [["searchFlows", "get", "/v1/automation/flows", [["schema", "q"], ["size", "q"], ["from", "q"], ["trigger_source_id", "q"], ["target_workflow", "q"], ["include_flows", "q"]]], ["createFlow", "post", "/v1/automation/flows", null, 1], ["batchGetFlows", "post", "/v1/automation/flows:batchGet", null, 1], ["getFlow", "get", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]]], ["putFlow", "put", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]], 1], ["deleteFlow", "delete", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]]], ["getExecutions", "get", "/v1/automation/executions", [["entity_id", "q"], ["size", "q"], ["from", "q"], ["include_flows", "q"]]], ["startExecution", "post", "/v1/automation/executions", null, 1], ["bulkTriggerExecutions", "post", "/v1/automation/executions/bulk-jobs", null, 1], ["getBulkJob", "get", "/v1/automation/executions/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["patchBulkJob", "patch", "/v1/automation/executions/bulk-jobs/{job_id}", [["job_id", "p", true]], 1], ["getExecution", "get", "/v1/automation/executions/{execution_id}", [["execution_id", "p", true]]], ["cancelExecution", "delete", "/v1/automation/executions/{execution_id}", [["execution_id", "p", true]]], ["retriggerAction", "post", "/v1/automation/executions/{execution_id}/{action_id}/retrigger", [["execution_id", "p", true], ["action_id", "p", true]], 1], ["resumeExecutionWithToken", "post", "/v1/automation/public/executions:resume", null, 1], ["cancelSchedule", "delete", "/v1/automation/executions/{execution_id}/schedules/{schedule_id}", [["execution_id", "p", true], ["schedule_id", "p", true]]]], v: "3.0.3" };
|
|
8
|
+
module.exports = { s: "https://automation.sls.epilot.io", o: [["searchFlows", "get", "/v1/automation/flows", [["schema", "q"], ["size", "q"], ["from", "q"], ["trigger_source_id", "q"], ["target_workflow", "q"], ["include_flows", "q"]]], ["createFlow", "post", "/v1/automation/flows", null, 1], ["batchGetFlows", "post", "/v1/automation/flows:batchGet", null, 1], ["getFlow", "get", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]]], ["putFlow", "put", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]], 1], ["deleteFlow", "delete", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]]], ["getExecutions", "get", "/v1/automation/executions", [["entity_id", "q"], ["size", "q"], ["from", "q"], ["include_flows", "q"]]], ["startExecution", "post", "/v1/automation/executions", null, 1], ["searchExecutions", "post", "/v1/automation/executions:search", null, 1], ["bulkTriggerExecutions", "post", "/v1/automation/executions/bulk-jobs", null, 1], ["getBulkJob", "get", "/v1/automation/executions/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["patchBulkJob", "patch", "/v1/automation/executions/bulk-jobs/{job_id}", [["job_id", "p", true]], 1], ["getExecution", "get", "/v1/automation/executions/{execution_id}", [["execution_id", "p", true]]], ["cancelExecution", "delete", "/v1/automation/executions/{execution_id}", [["execution_id", "p", true]]], ["retriggerAction", "post", "/v1/automation/executions/{execution_id}/{action_id}/retrigger", [["execution_id", "p", true], ["action_id", "p", true]], 1], ["resumeExecutionWithToken", "post", "/v1/automation/public/executions:resume", null, 1], ["cancelSchedule", "delete", "/v1/automation/executions/{execution_id}/schedules/{schedule_id}", [["execution_id", "p", true], ["schedule_id", "p", true]]]], v: "3.0.3" };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/automation-runtime.json
|
|
6
|
+
var require_automation_runtime = __commonJS({
|
|
7
|
+
"src/definitions/automation-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://automation.sls.epilot.io", o: [["searchFlows", "get", "/v1/automation/flows", [["schema", "q"], ["size", "q"], ["from", "q"], ["trigger_source_id", "q"], ["target_workflow", "q"], ["include_flows", "q"]]], ["createFlow", "post", "/v1/automation/flows", null, 1], ["batchGetFlows", "post", "/v1/automation/flows:batchGet", null, 1], ["getFlow", "get", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]]], ["putFlow", "put", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]], 1], ["deleteFlow", "delete", "/v1/automation/flows/{flow_id}", [["flow_id", "p", true]]], ["getExecutions", "get", "/v1/automation/executions", [["entity_id", "q"], ["size", "q"], ["from", "q"], ["include_flows", "q"]]], ["startExecution", "post", "/v1/automation/executions", null, 1], ["searchExecutions", "post", "/v1/automation/executions:search", null, 1], ["bulkTriggerExecutions", "post", "/v1/automation/executions/bulk-jobs", null, 1], ["getBulkJob", "get", "/v1/automation/executions/bulk-jobs/{job_id}", [["job_id", "p", true]]], ["patchBulkJob", "patch", "/v1/automation/executions/bulk-jobs/{job_id}", [["job_id", "p", true]], 1], ["getExecution", "get", "/v1/automation/executions/{execution_id}", [["execution_id", "p", true]]], ["cancelExecution", "delete", "/v1/automation/executions/{execution_id}", [["execution_id", "p", true]]], ["retriggerAction", "post", "/v1/automation/executions/{execution_id}/{action_id}/retrigger", [["execution_id", "p", true], ["action_id", "p", true]], 1], ["resumeExecutionWithToken", "post", "/v1/automation/public/executions:resume", null, 1], ["cancelSchedule", "delete", "/v1/automation/executions/{execution_id}/schedules/{schedule_id}", [["execution_id", "p", true], ["schedule_id", "p", true]]]], v: "3.0.3" };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_automation_runtime
|
|
14
|
+
};
|
|
@@ -33,9 +33,9 @@ var globImport_docs = __glob({
|
|
|
33
33
|
"./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
|
|
34
34
|
"./docs/address.json": () => import("./address-QVJUGMOG.js"),
|
|
35
35
|
"./docs/ai-agents.json": () => import("./ai-agents-Y6PH53PH.js"),
|
|
36
|
-
"./docs/app.json": () => import("./app-
|
|
36
|
+
"./docs/app.json": () => import("./app-YY2NCNQ2.js"),
|
|
37
37
|
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
38
|
-
"./docs/automation.json": () => import("./automation-
|
|
38
|
+
"./docs/automation.json": () => import("./automation-UES4YTBX.js"),
|
|
39
39
|
"./docs/billing.json": () => import("./billing-IV5ABNW4.js"),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-GU75577F.js"),
|
|
41
41
|
"./docs/calendar.json": () => import("./calendar-ACFIHQ2N.js"),
|
|
@@ -112,7 +112,7 @@ var globImport_definitions_json = __glob({
|
|
|
112
112
|
"./definitions/app.json": () => import("./app-VJW2KKWE.js"),
|
|
113
113
|
"./definitions/audit-logs-runtime.json": () => import("./audit-logs-runtime-76R6WRAB.js"),
|
|
114
114
|
"./definitions/audit-logs.json": () => import("./audit-logs-F2NHDISQ.js"),
|
|
115
|
-
"./definitions/automation-runtime.json": () => import("./automation-runtime-
|
|
115
|
+
"./definitions/automation-runtime.json": () => import("./automation-runtime-ORW5BVCD.js"),
|
|
116
116
|
"./definitions/automation.json": () => import("./automation-WEVRW77F.js"),
|
|
117
117
|
"./definitions/billing-runtime.json": () => import("./billing-runtime-3OCFZU2K.js"),
|
|
118
118
|
"./definitions/billing.json": () => import("./billing-ASWY7HC3.js"),
|
|
@@ -33,9 +33,9 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
33
33
|
"./docs/address-suggestions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-suggestions-IUQMYF27.cjs"))),
|
|
34
34
|
"./docs/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HA4RMRNQ.cjs"))),
|
|
35
35
|
"./docs/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-D6C5TXLD.cjs"))),
|
|
36
|
-
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-
|
|
36
|
+
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-5GFMQJQP.cjs"))),
|
|
37
37
|
"./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
|
|
38
|
-
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-
|
|
38
|
+
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-ZPPNTUOZ.cjs"))),
|
|
39
39
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-C45UEPBV.cjs"))),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-KTUWFTDX.cjs"))),
|
|
41
41
|
"./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-2YDAYG7S.cjs"))),
|
|
@@ -112,7 +112,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
112
112
|
"./definitions/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-5VPBDFW2.cjs"))),
|
|
113
113
|
"./definitions/audit-logs-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-runtime-4WMHPWNX.cjs"))),
|
|
114
114
|
"./definitions/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-RFEMBILB.cjs"))),
|
|
115
|
-
"./definitions/automation-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-runtime-
|
|
115
|
+
"./definitions/automation-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-runtime-RM5EOZH2.cjs"))),
|
|
116
116
|
"./definitions/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-HZASSUCS.cjs"))),
|
|
117
117
|
"./definitions/billing-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-runtime-PKKLWPQY.cjs"))),
|
|
118
118
|
"./definitions/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-3VZPNG6M.cjs"))),
|
package/dist/index.cjs
CHANGED
|
@@ -150,7 +150,7 @@ var _chunkW6BCTQLUcjs = require('./chunk-W6BCTQLU.cjs');
|
|
|
150
150
|
var _chunkRUZRPIHWcjs = require('./chunk-RUZRPIHW.cjs');
|
|
151
151
|
|
|
152
152
|
|
|
153
|
-
var
|
|
153
|
+
var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
@@ -158,7 +158,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunkWQ4S6ZH3cjs = require('./chunk-WQ4S6ZH3.cjs');
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
|
|
|
225
225
|
}
|
|
226
226
|
if (!entry.instance) {
|
|
227
227
|
const definition = entry.loader();
|
|
228
|
-
entry.instance =
|
|
228
|
+
entry.instance = _chunkWQ4S6ZH3cjs.createApiClient.call(void 0, {
|
|
229
229
|
definition,
|
|
230
230
|
token: state.token,
|
|
231
231
|
headers: state.globalHeaders,
|
|
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
|
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
// src/apis/_registry.ts
|
|
261
|
-
var expandDef = (mod) =>
|
|
261
|
+
var expandDef = (mod) => _chunkWQ4S6ZH3cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -293,7 +293,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
293
293
|
registerApi({
|
|
294
294
|
registry,
|
|
295
295
|
name: "automation",
|
|
296
|
-
loader: () => expandDef(
|
|
296
|
+
loader: () => expandDef(_chunkADSWGLIVcjs.require_automation_runtime.call(void 0, ))
|
|
297
297
|
});
|
|
298
298
|
registerApi({
|
|
299
299
|
registry,
|
|
@@ -601,9 +601,9 @@ var createSDK = () => {
|
|
|
601
601
|
const available = [...registry.keys()].join(", ");
|
|
602
602
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
603
603
|
}
|
|
604
|
-
return
|
|
604
|
+
return _chunkWQ4S6ZH3cjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkWQ4S6ZH3cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
607
607
|
apiName: name
|
|
608
608
|
});
|
|
609
609
|
};
|
|
@@ -651,9 +651,9 @@ var createSDK = () => {
|
|
|
651
651
|
return interceptorUse;
|
|
652
652
|
}
|
|
653
653
|
case "help":
|
|
654
|
-
return (apiName) =>
|
|
654
|
+
return (apiName) => _chunkWQ4S6ZH3cjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkWQ4S6ZH3cjs.openapi.call(void 0, apiName);
|
|
657
657
|
case "then":
|
|
658
658
|
case "catch":
|
|
659
659
|
case "finally":
|
|
@@ -683,4 +683,4 @@ var epilot = createSDK();
|
|
|
683
683
|
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkWQ4S6ZH3cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkWQ4S6ZH3cjs.help; exports.openapi = _chunkWQ4S6ZH3cjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -7,9 +7,9 @@ import { C as Client } from './access-token.d-BhRUc8I-.cjs';
|
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-D-7bTH-9.cjs';
|
|
10
|
-
import { C as Client$4 } from './app.d-
|
|
10
|
+
import { C as Client$4 } from './app.d-B5s8GfqF.cjs';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-DocUQr4m.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-N_1F759g.cjs';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-BiaeSTI3.cjs';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ import { C as Client } from './access-token.d-BhRUc8I-.js';
|
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.js';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-D-7bTH-9.js';
|
|
10
|
-
import { C as Client$4 } from './app.d-
|
|
10
|
+
import { C as Client$4 } from './app.d-B5s8GfqF.js';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-DocUQr4m.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-N_1F759g.js';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-BiaeSTI3.js';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.js';
|
package/dist/index.js
CHANGED
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
} from "./chunk-RELUU5QZ.js";
|
|
151
151
|
import {
|
|
152
152
|
require_automation_runtime
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-LCE7N4ZL.js";
|
|
154
154
|
import {
|
|
155
155
|
authorize,
|
|
156
156
|
createApiClient,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
expand,
|
|
159
159
|
help,
|
|
160
160
|
openapi
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-SVVKPKJX.js";
|
|
162
162
|
import {
|
|
163
163
|
__require
|
|
164
164
|
} from "./chunk-YPSWSI3M.js";
|
package/docs/app.md
CHANGED
|
@@ -1314,6 +1314,7 @@ const { data } = await client.listInstallations({
|
|
|
1314
1314
|
"owner_org_id": "string",
|
|
1315
1315
|
"enabled": true,
|
|
1316
1316
|
"name": "string",
|
|
1317
|
+
"icon_url": "string",
|
|
1317
1318
|
"option_values": [
|
|
1318
1319
|
{
|
|
1319
1320
|
"component_id": "string",
|
|
@@ -1394,6 +1395,7 @@ const { data } = await client.getInstallation({
|
|
|
1394
1395
|
"owner_org_id": "string",
|
|
1395
1396
|
"enabled": true,
|
|
1396
1397
|
"name": "string",
|
|
1398
|
+
"icon_url": "string",
|
|
1397
1399
|
"option_values": [
|
|
1398
1400
|
{
|
|
1399
1401
|
"component_id": "string",
|
|
@@ -1484,6 +1486,7 @@ const { data } = await client.install(
|
|
|
1484
1486
|
"owner_org_id": "string",
|
|
1485
1487
|
"enabled": true,
|
|
1486
1488
|
"name": "string",
|
|
1489
|
+
"icon_url": "string",
|
|
1487
1490
|
"option_values": [
|
|
1488
1491
|
{
|
|
1489
1492
|
"component_id": "string",
|
|
@@ -1603,6 +1606,7 @@ const { data } = await client.promoteVersion({
|
|
|
1603
1606
|
"owner_org_id": "string",
|
|
1604
1607
|
"enabled": true,
|
|
1605
1608
|
"name": "string",
|
|
1609
|
+
"icon_url": "string",
|
|
1606
1610
|
"option_values": [
|
|
1607
1611
|
{
|
|
1608
1612
|
"component_id": "string",
|
|
@@ -3418,6 +3422,7 @@ type Installation = {
|
|
|
3418
3422
|
owner_org_id?: string
|
|
3419
3423
|
enabled: boolean
|
|
3420
3424
|
name: string
|
|
3425
|
+
icon_url?: string
|
|
3421
3426
|
option_values?: Array<{
|
|
3422
3427
|
component_id: string
|
|
3423
3428
|
options: Array<{
|