26
26
$ref : ' #/ActionType'
27
27
cursor :
28
28
$ref : ' ./common.yml#/cursor'
29
+ notifications :
30
+ $ref : ' #/Notifications'
29
31
createdAt :
30
32
$ref : ' ./common.yml#/createdAt'
31
33
updatedAt :
@@ -41,7 +43,7 @@ TaskV1:
41
43
type : object
42
44
additionalProperties : false
43
45
deprecated : true
44
- description : The V1 task object, please use methods and types that don 't contain the V1 suffix.
46
+ description : The V1 task object, please use methods and types that doesn 't contain the V1 suffix.
45
47
properties :
46
48
taskID :
47
49
$ref : ' ./common.yml#/taskID'
@@ -63,6 +65,8 @@ TaskV1:
63
65
$ref : ' #/ActionType'
64
66
cursor :
65
67
$ref : ' ./common.yml#/cursor'
68
+ notifications :
69
+ $ref : ' #/Notifications'
66
70
createdAt :
67
71
$ref : ' ./common.yml#/createdAt'
68
72
updatedAt :
@@ -105,6 +109,8 @@ TaskCreate:
105
109
$ref : ' #/TaskInput'
106
110
cursor :
107
111
$ref : ' ./common.yml#/cursor'
112
+ notifications :
113
+ $ref : ' #/Notifications'
108
114
required :
109
115
- sourceID
110
116
- destinationID
@@ -175,6 +181,8 @@ TaskUpdate:
175
181
description : Whether the task is enabled.
176
182
failureThreshold :
177
183
$ref : ' #/failureThreshold'
184
+ notifications :
185
+ $ref : ' #/Notifications'
178
186
179
187
TaskUpdateV1 :
180
188
type : object
@@ -553,3 +561,24 @@ ShopifyMarket:
553
561
- countries
554
562
- currencies
555
563
- locales
564
+
565
+ Notifications :
566
+ type : object
567
+ additionalProperties : false
568
+ description : Notifications settings for a task.
569
+ properties :
570
+ email :
571
+ title : emailNotifications
572
+ type : object
573
+ additionalProperties : false
574
+ properties :
575
+ enabled :
576
+ description : Whether to send email notifications, note that this doesn't prevent the task from being blocked.
577
+ type : boolean
578
+ criticalThreshold :
579
+ description : The number of critical failures in a row before blocking the task and sending a notification.
580
+ type : integer
581
+ minimum : 1
582
+ maximum : 10
583
+ required :
584
+ - email
0 commit comments