Skip to content

Commit

Permalink
chore: release new version 2.14.0 for epilot/automation-client
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Bot committed Oct 15, 2024
1 parent 7b49910 commit 0e33cc7
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 35 deletions.
4 changes: 2 additions & 2 deletions clients/automation-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/automation-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/automation-client",
"version": "2.13.3",
"version": "2.14.0",
"description": "Client library for epilot automation API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
25 changes: 16 additions & 9 deletions clients/automation-client/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,14 @@ declare namespace Components {
* The id of the configured scheduler which will be added on automation triggered
*/
configuredScheduleId?: string;
numberOfUnits?: number;
timePeriod?: "minutes" | "hours" | "days" | "weeks" | "months";
timeRelation?: "after" | "before";
source: /* The source of the schedule_at timestamp that will be used to schedule the action */ ActionScheduleSource;
}
/**
* The source of the schedule_at timestamp that will be used to schedule the action
*/
export interface ActionScheduleSource {
/**
* The id of the action or trigger
* The iGd of the action or trigger
*/
id: string;
origin: "trigger" | "action";
Expand Down Expand Up @@ -857,6 +854,10 @@ declare namespace Components {
* 8c086140-f33e-4bb7-a993-50c0f2402c7b
*/
task_token?: string;
/**
* Entity ID of the report file entity
*/
report_file_entity_id?: string;
/**
* List of entities & their automation execution id & status
*/
Expand All @@ -868,11 +869,7 @@ declare namespace Components {
* 7791b04a-16d2-44a2-9af9-2d59c25c512f
*/
AutomationFlowId;
entity_ids?: /**
* example:
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
*/
EntityId[];
entities_refs?: EntityRef[];
entities_query?: string;
}
/**
Expand Down Expand Up @@ -1458,6 +1455,14 @@ declare namespace Components {
};
};
}
export interface EntityRef {
entity_id: /**
* example:
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
*/
EntityId;
entity_schema: string;
}
export interface EqualsIgnoreCaseCondition {
"equals-ignore-case"?: string;
}
Expand All @@ -1484,6 +1489,7 @@ declare namespace Components {
* e3d3ebac-baab-4395-abf4-50b5bf1f8b74
*/
EntityId;
entity_schema?: string;
execution_id?: /**
* example:
* 9baf184f-bc81-4128-bca3-d974c90a12c4
Expand Down Expand Up @@ -3165,6 +3171,7 @@ export type EntityItemSnapshot = Components.Schemas.EntityItemSnapshot;
export type EntityManualTrigger = Components.Schemas.EntityManualTrigger;
export type EntityOperation = Components.Schemas.EntityOperation;
export type EntityOperationTrigger = Components.Schemas.EntityOperationTrigger;
export type EntityRef = Components.Schemas.EntityRef;
export type EqualsIgnoreCaseCondition = Components.Schemas.EqualsIgnoreCaseCondition;
export type ErrorCode = Components.Schemas.ErrorCode;
export type ErrorDetail = Components.Schemas.ErrorDetail;
Expand Down
48 changes: 25 additions & 23 deletions clients/automation-client/src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@
"properties": {
"id": {
"type": "string",
"description": "The id of the action or trigger"
"description": "The iGd of the action or trigger"
},
"origin": {
"type": "string",
Expand Down Expand Up @@ -2115,26 +2115,6 @@
"type": "string",
"description": "The id of the configured scheduler which will be added on automation triggered"
},
"numberOfUnits": {
"type": "number"
},
"timePeriod": {
"type": "string",
"enum": [
"minutes",
"hours",
"days",
"weeks",
"months"
]
},
"timeRelation": {
"type": "string",
"enum": [
"after",
"before"
]
},
"source": {
"$ref": "#/components/schemas/ActionScheduleSource"
}
Expand Down Expand Up @@ -2453,10 +2433,10 @@
"flow_id": {
"$ref": "#/components/schemas/AutomationFlowId"
},
"entity_ids": {
"entities_refs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EntityId"
"$ref": "#/components/schemas/EntityRef"
}
},
"entities_query": {
Expand All @@ -2467,6 +2447,21 @@
"flow_id"
]
},
"EntityRef": {
"type": "object",
"required": [
"entity_id",
"entity_schema"
],
"properties": {
"entity_id": {
"$ref": "#/components/schemas/EntityId"
},
"entity_schema": {
"type": "string"
}
}
},
"BulkTriggerJob": {
"type": "object",
"required": [
Expand Down Expand Up @@ -2525,6 +2520,10 @@
"description": "Task token to approve/cancel the bulk automation job",
"example": "8c086140-f33e-4bb7-a993-50c0f2402c7b"
},
"report_file_entity_id": {
"type": "string",
"description": "Entity ID of the report file entity"
},
"execution_summary": {
"type": "array",
"description": "List of entities & their automation execution id & status",
Expand All @@ -2545,6 +2544,9 @@
"entity_id": {
"$ref": "#/components/schemas/EntityId"
},
"entity_schema": {
"type": "string"
},
"execution_id": {
"$ref": "#/components/schemas/AutomationExecutionId"
},
Expand Down

0 comments on commit 0e33cc7

Please sign in to comment.