Skip to content

Commit b8c3c41

Browse files
feat(specs): add subscriptionAction to ingestion specs (generated)
algolia/api-clients-automation#4587 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent f12e4a5 commit b8c3c41

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

packages/ingestion/model/task.ts

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export type Task = {
5050

5151
action?: ActionType;
5252

53+
subscriptionAction?: ActionType;
54+
5355
/**
5456
* Date of the last cursor in RFC 3339 format.
5557
*/

packages/ingestion/model/taskCreate.ts

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export type TaskCreate = {
2121

2222
action: ActionType;
2323

24+
subscriptionAction?: ActionType;
25+
2426
/**
2527
* Cron expression for the task\'s schedule.
2628
*/

packages/ingestion/model/taskUpdate.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3+
import type { ActionType } from './actionType';
34
import type { Notifications } from './notifications';
45
import type { Policies } from './policies';
56
import type { TaskInput } from './taskInput';
@@ -25,6 +26,8 @@ export type TaskUpdate = {
2526
*/
2627
enabled?: boolean;
2728

29+
subscriptionAction?: ActionType;
30+
2831
/**
2932
* Maximum accepted percentage of failures for a task run to finish successfully.
3033
*/

0 commit comments

Comments
 (0)