@epilot/automation-client 2.18.8 → 2.18.9
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/openapi.d.ts +51 -0
- package/dist/openapi.json +32 -7
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -792,6 +792,14 @@ declare namespace Components {
|
|
|
792
792
|
* eyJraWQiOiJrZXkifQ==
|
|
793
793
|
*/
|
|
794
794
|
ResumeToken;
|
|
795
|
+
trigger_context?: /**
|
|
796
|
+
* Additional contextual data for a bulk trigger automation. This would normally include additional entity IDs you'd need after a listener picks up an event.
|
|
797
|
+
* example:
|
|
798
|
+
* {
|
|
799
|
+
* "entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
800
|
+
* }
|
|
801
|
+
*/
|
|
802
|
+
TriggerContext;
|
|
795
803
|
/**
|
|
796
804
|
* Version of the flow
|
|
797
805
|
* example:
|
|
@@ -972,6 +980,14 @@ declare namespace Components {
|
|
|
972
980
|
* Time when the bulk trigger automation executions job was approved
|
|
973
981
|
*/
|
|
974
982
|
approved_at?: string; // date-time
|
|
983
|
+
trigger_context?: /**
|
|
984
|
+
* Additional contextual data for a bulk trigger automation. This would normally include additional entity IDs you'd need after a listener picks up an event.
|
|
985
|
+
* example:
|
|
986
|
+
* {
|
|
987
|
+
* "entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
988
|
+
* }
|
|
989
|
+
*/
|
|
990
|
+
TriggerContext;
|
|
975
991
|
/**
|
|
976
992
|
* Task token to approve/cancel the bulk automation job
|
|
977
993
|
* example:
|
|
@@ -1049,6 +1065,14 @@ declare namespace Components {
|
|
|
1049
1065
|
*/
|
|
1050
1066
|
AutomationFlowId;
|
|
1051
1067
|
entities_refs: EntityRef[];
|
|
1068
|
+
trigger_context?: /**
|
|
1069
|
+
* Additional contextual data for a bulk trigger automation. This would normally include additional entity IDs you'd need after a listener picks up an event.
|
|
1070
|
+
* example:
|
|
1071
|
+
* {
|
|
1072
|
+
* "entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
1073
|
+
* }
|
|
1074
|
+
*/
|
|
1075
|
+
TriggerContext;
|
|
1052
1076
|
} | {
|
|
1053
1077
|
flow_id: /**
|
|
1054
1078
|
* ID of the Automation Flow
|
|
@@ -1057,6 +1081,14 @@ declare namespace Components {
|
|
|
1057
1081
|
*/
|
|
1058
1082
|
AutomationFlowId;
|
|
1059
1083
|
entities_query: string;
|
|
1084
|
+
trigger_context?: /**
|
|
1085
|
+
* Additional contextual data for a bulk trigger automation. This would normally include additional entity IDs you'd need after a listener picks up an event.
|
|
1086
|
+
* example:
|
|
1087
|
+
* {
|
|
1088
|
+
* "entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
1089
|
+
* }
|
|
1090
|
+
*/
|
|
1091
|
+
TriggerContext;
|
|
1060
1092
|
} | {
|
|
1061
1093
|
flow_id: /**
|
|
1062
1094
|
* ID of the Automation Flow
|
|
@@ -1083,6 +1115,14 @@ declare namespace Components {
|
|
|
1083
1115
|
* ]
|
|
1084
1116
|
*/
|
|
1085
1117
|
EntitySearchFilter;
|
|
1118
|
+
trigger_context?: /**
|
|
1119
|
+
* Additional contextual data for a bulk trigger automation. This would normally include additional entity IDs you'd need after a listener picks up an event.
|
|
1120
|
+
* example:
|
|
1121
|
+
* {
|
|
1122
|
+
* "entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
1123
|
+
* }
|
|
1124
|
+
*/
|
|
1125
|
+
TriggerContext;
|
|
1086
1126
|
};
|
|
1087
1127
|
/**
|
|
1088
1128
|
* A reason for cancelling a flow execution
|
|
@@ -3019,6 +3059,16 @@ declare namespace Components {
|
|
|
3019
3059
|
comparison: Comparison;
|
|
3020
3060
|
value?: string | number | string[] | number[];
|
|
3021
3061
|
}
|
|
3062
|
+
/**
|
|
3063
|
+
* Additional contextual data for a bulk trigger automation. This would normally include additional entity IDs you'd need after a listener picks up an event.
|
|
3064
|
+
* example:
|
|
3065
|
+
* {
|
|
3066
|
+
* "entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
3067
|
+
* }
|
|
3068
|
+
*/
|
|
3069
|
+
export interface TriggerContext {
|
|
3070
|
+
[name: string]: string;
|
|
3071
|
+
}
|
|
3022
3072
|
export interface TriggerEventEntityActivity {
|
|
3023
3073
|
type?: "entity_activity";
|
|
3024
3074
|
/**
|
|
@@ -4395,6 +4445,7 @@ export type SetValueMapper = Components.Schemas.SetValueMapper;
|
|
|
4395
4445
|
export type StartExecutionRequest = Components.Schemas.StartExecutionRequest;
|
|
4396
4446
|
export type SuffixCondition = Components.Schemas.SuffixCondition;
|
|
4397
4447
|
export type TriggerCondition = Components.Schemas.TriggerCondition;
|
|
4448
|
+
export type TriggerContext = Components.Schemas.TriggerContext;
|
|
4398
4449
|
export type TriggerEventEntityActivity = Components.Schemas.TriggerEventEntityActivity;
|
|
4399
4450
|
export type TriggerEventEntityOperation = Components.Schemas.TriggerEventEntityOperation;
|
|
4400
4451
|
export type TriggerEventFlowAutomationTask = Components.Schemas.TriggerEventFlowAutomationTask;
|
package/dist/openapi.json
CHANGED
|
@@ -574,7 +574,10 @@
|
|
|
574
574
|
"entity_schema": "opportunity",
|
|
575
575
|
"entity_id": "b35a6c51-2a15-4ef1-9623-20db37b0744f"
|
|
576
576
|
}
|
|
577
|
-
]
|
|
577
|
+
],
|
|
578
|
+
"trigger_context": {
|
|
579
|
+
"entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
580
|
+
}
|
|
578
581
|
}
|
|
579
582
|
}
|
|
580
583
|
}
|
|
@@ -2930,6 +2933,9 @@
|
|
|
2930
2933
|
"resume_token": {
|
|
2931
2934
|
"$ref": "#/components/schemas/ResumeToken"
|
|
2932
2935
|
},
|
|
2936
|
+
"trigger_context": {
|
|
2937
|
+
"$ref": "#/components/schemas/TriggerContext"
|
|
2938
|
+
},
|
|
2933
2939
|
"version": {
|
|
2934
2940
|
"type": "number",
|
|
2935
2941
|
"description": "Version of the flow",
|
|
@@ -3232,13 +3238,15 @@
|
|
|
3232
3238
|
"items": {
|
|
3233
3239
|
"$ref": "#/components/schemas/EntityRef"
|
|
3234
3240
|
}
|
|
3241
|
+
},
|
|
3242
|
+
"trigger_context": {
|
|
3243
|
+
"$ref": "#/components/schemas/TriggerContext"
|
|
3235
3244
|
}
|
|
3236
3245
|
},
|
|
3237
3246
|
"required": [
|
|
3238
3247
|
"flow_id",
|
|
3239
3248
|
"entities_refs"
|
|
3240
|
-
]
|
|
3241
|
-
"additionalProperties": false
|
|
3249
|
+
]
|
|
3242
3250
|
},
|
|
3243
3251
|
{
|
|
3244
3252
|
"type": "object",
|
|
@@ -3248,13 +3256,15 @@
|
|
|
3248
3256
|
},
|
|
3249
3257
|
"entities_query": {
|
|
3250
3258
|
"type": "string"
|
|
3259
|
+
},
|
|
3260
|
+
"trigger_context": {
|
|
3261
|
+
"$ref": "#/components/schemas/TriggerContext"
|
|
3251
3262
|
}
|
|
3252
3263
|
},
|
|
3253
3264
|
"required": [
|
|
3254
3265
|
"flow_id",
|
|
3255
3266
|
"entities_query"
|
|
3256
|
-
]
|
|
3257
|
-
"additionalProperties": false
|
|
3267
|
+
]
|
|
3258
3268
|
},
|
|
3259
3269
|
{
|
|
3260
3270
|
"type": "object",
|
|
@@ -3264,13 +3274,15 @@
|
|
|
3264
3274
|
},
|
|
3265
3275
|
"entities_filter": {
|
|
3266
3276
|
"$ref": "#/components/schemas/EntitySearchFilter"
|
|
3277
|
+
},
|
|
3278
|
+
"trigger_context": {
|
|
3279
|
+
"$ref": "#/components/schemas/TriggerContext"
|
|
3267
3280
|
}
|
|
3268
3281
|
},
|
|
3269
3282
|
"required": [
|
|
3270
3283
|
"flow_id",
|
|
3271
3284
|
"entities_filter"
|
|
3272
|
-
]
|
|
3273
|
-
"additionalProperties": false
|
|
3285
|
+
]
|
|
3274
3286
|
}
|
|
3275
3287
|
]
|
|
3276
3288
|
},
|
|
@@ -3343,6 +3355,9 @@
|
|
|
3343
3355
|
"description": "Time when the bulk trigger automation executions job was approved",
|
|
3344
3356
|
"format": "date-time"
|
|
3345
3357
|
},
|
|
3358
|
+
"trigger_context": {
|
|
3359
|
+
"$ref": "#/components/schemas/TriggerContext"
|
|
3360
|
+
},
|
|
3346
3361
|
"task_token": {
|
|
3347
3362
|
"type": "string",
|
|
3348
3363
|
"description": "Task token to approve/cancel the bulk automation job",
|
|
@@ -3478,6 +3493,16 @@
|
|
|
3478
3493
|
"type": "string",
|
|
3479
3494
|
"example": "e3d3ebac-baab-4395-abf4-50b5bf1f8b74"
|
|
3480
3495
|
},
|
|
3496
|
+
"TriggerContext": {
|
|
3497
|
+
"type": "object",
|
|
3498
|
+
"additionalProperties": {
|
|
3499
|
+
"type": "string"
|
|
3500
|
+
},
|
|
3501
|
+
"description": "Additional contextual data for a bulk trigger automation. This would normally include additional entity IDs you'd need after a listener picks up an event.",
|
|
3502
|
+
"example": {
|
|
3503
|
+
"entity_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3481
3506
|
"AutomationTrigger": {
|
|
3482
3507
|
"type": "object",
|
|
3483
3508
|
"properties": {
|