@greatwait/contracts 0.1.0-alpha.6 → 0.1.0-alpha.7
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/README.md +1 -1
- package/dist/attempt-diagnostics.d.ts +8 -0
- package/dist/attempt-diagnostics.js +68 -0
- package/dist/billing.d.ts +11 -10
- package/dist/billing.js +7 -4
- package/dist/delivery.d.ts +17 -40
- package/dist/delivery.js +12 -37
- package/dist/effective-limits.d.ts +4 -4
- package/dist/endpoints.d.ts +6 -6
- package/dist/first-value-journey.js +4 -4
- package/dist/identity.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/members.d.ts +4 -4
- package/dist/operations.d.ts +296 -98
- package/dist/scheduling-records.d.ts +112 -8
- package/dist/scheduling.d.ts +253 -22
- package/dist/scheduling.js +46 -5
- package/dist/signatures.d.ts +1 -1
- package/dist/test-sink.d.ts +27 -41
- package/dist/test-sink.js +12 -31
- package/generated/v1/callback-receiver.json +4 -4
- package/generated/v1/first-value-journey.json +4 -4
- package/generated/v1/manifest.json +0 -1
- package/generated/v1/openapi.json +810 -10
- package/generated/v1/schemas/attempts.list.response.json +105 -0
- package/generated/v1/schemas/attempts.read.response.json +105 -0
- package/generated/v1/schemas/billing.notices.response.json +16 -6
- package/generated/v1/schemas/occurrences.redeliver.response.json +105 -0
- package/generated/v1/schemas/schedules.archive.response.json +50 -0
- package/generated/v1/schemas/schedules.cancel.response.json +50 -0
- package/generated/v1/schemas/schedules.create.request.json +14 -0
- package/generated/v1/schemas/schedules.create.response.json +50 -0
- package/generated/v1/schemas/schedules.list.response.json +50 -0
- package/generated/v1/schemas/schedules.pause.response.json +50 -0
- package/generated/v1/schemas/schedules.read.response.json +50 -0
- package/generated/v1/schemas/schedules.replace.request.json +14 -0
- package/generated/v1/schemas/schedules.replace.response.json +50 -0
- package/generated/v1/schemas/schedules.resume.response.json +50 -0
- package/package.json +1 -1
|
@@ -118,6 +118,111 @@
|
|
|
118
118
|
},
|
|
119
119
|
"required": ["contentType", "text", "truncated"]
|
|
120
120
|
},
|
|
121
|
+
"response": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"properties": {
|
|
124
|
+
"statusText": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"headers": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"properties": {
|
|
132
|
+
"name": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
},
|
|
135
|
+
"value": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"required": ["name", "value"]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"bodyState": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"enum": ["captured", "empty", "expired", "not_captured"]
|
|
145
|
+
},
|
|
146
|
+
"body": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"contentType": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"encoding": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"enum": ["utf8", "base64"]
|
|
155
|
+
},
|
|
156
|
+
"content": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"maxLength": 131072
|
|
159
|
+
},
|
|
160
|
+
"capturedBytes": {
|
|
161
|
+
"type": "integer",
|
|
162
|
+
"minimum": 1,
|
|
163
|
+
"maximum": 10240
|
|
164
|
+
},
|
|
165
|
+
"originalBytes": {
|
|
166
|
+
"type": "integer",
|
|
167
|
+
"minimum": 0,
|
|
168
|
+
"maximum": 9007199254740991
|
|
169
|
+
},
|
|
170
|
+
"truncated": {
|
|
171
|
+
"type": "boolean"
|
|
172
|
+
},
|
|
173
|
+
"redacted": {
|
|
174
|
+
"type": "boolean"
|
|
175
|
+
},
|
|
176
|
+
"incomplete": {
|
|
177
|
+
"type": "boolean"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": [
|
|
181
|
+
"contentType",
|
|
182
|
+
"encoding",
|
|
183
|
+
"content",
|
|
184
|
+
"capturedBytes",
|
|
185
|
+
"truncated"
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"required": ["statusText", "headers", "bodyState"]
|
|
190
|
+
},
|
|
191
|
+
"request": {
|
|
192
|
+
"type": "object",
|
|
193
|
+
"properties": {
|
|
194
|
+
"method": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"enum": ["GET", "POST", "PUT"]
|
|
197
|
+
},
|
|
198
|
+
"url": {
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
"headers": {
|
|
202
|
+
"type": "array",
|
|
203
|
+
"items": {
|
|
204
|
+
"type": "object",
|
|
205
|
+
"properties": {
|
|
206
|
+
"name": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
209
|
+
"value": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"required": ["name", "value"]
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"body": {
|
|
217
|
+
"type": "string"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"required": ["method", "url", "headers", "body"]
|
|
221
|
+
},
|
|
222
|
+
"requestState": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"enum": ["captured", "expired", "not_captured"]
|
|
225
|
+
},
|
|
121
226
|
"responseHeaders": {
|
|
122
227
|
"maxItems": 8,
|
|
123
228
|
"type": "array",
|
|
@@ -116,6 +116,111 @@
|
|
|
116
116
|
},
|
|
117
117
|
"required": ["contentType", "text", "truncated"]
|
|
118
118
|
},
|
|
119
|
+
"response": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"statusText": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"headers": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"name": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"value": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": ["name", "value"]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"bodyState": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enum": ["captured", "empty", "expired", "not_captured"]
|
|
143
|
+
},
|
|
144
|
+
"body": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"contentType": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"encoding": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": ["utf8", "base64"]
|
|
153
|
+
},
|
|
154
|
+
"content": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"maxLength": 131072
|
|
157
|
+
},
|
|
158
|
+
"capturedBytes": {
|
|
159
|
+
"type": "integer",
|
|
160
|
+
"minimum": 1,
|
|
161
|
+
"maximum": 10240
|
|
162
|
+
},
|
|
163
|
+
"originalBytes": {
|
|
164
|
+
"type": "integer",
|
|
165
|
+
"minimum": 0,
|
|
166
|
+
"maximum": 9007199254740991
|
|
167
|
+
},
|
|
168
|
+
"truncated": {
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"redacted": {
|
|
172
|
+
"type": "boolean"
|
|
173
|
+
},
|
|
174
|
+
"incomplete": {
|
|
175
|
+
"type": "boolean"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"contentType",
|
|
180
|
+
"encoding",
|
|
181
|
+
"content",
|
|
182
|
+
"capturedBytes",
|
|
183
|
+
"truncated"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": ["statusText", "headers", "bodyState"]
|
|
188
|
+
},
|
|
189
|
+
"request": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"method": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"enum": ["GET", "POST", "PUT"]
|
|
195
|
+
},
|
|
196
|
+
"url": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"headers": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"items": {
|
|
202
|
+
"type": "object",
|
|
203
|
+
"properties": {
|
|
204
|
+
"name": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"value": {
|
|
208
|
+
"type": "string"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"required": ["name", "value"]
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"body": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"required": ["method", "url", "headers", "body"]
|
|
219
|
+
},
|
|
220
|
+
"requestState": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"enum": ["captured", "expired", "not_captured"]
|
|
223
|
+
},
|
|
119
224
|
"responseHeaders": {
|
|
120
225
|
"maxItems": 8,
|
|
121
226
|
"type": "array",
|
|
@@ -137,7 +137,8 @@
|
|
|
137
137
|
"payment-failed",
|
|
138
138
|
"payment-authentication-required",
|
|
139
139
|
"payment-outcome-unresolved",
|
|
140
|
-
"service-restored"
|
|
140
|
+
"service-restored",
|
|
141
|
+
"schedule-auto-paused"
|
|
141
142
|
]
|
|
142
143
|
},
|
|
143
144
|
"occurredAt": {
|
|
@@ -177,11 +178,20 @@
|
|
|
177
178
|
]
|
|
178
179
|
},
|
|
179
180
|
"recoveryPath": {
|
|
180
|
-
"
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
"anyOf": [
|
|
182
|
+
{
|
|
183
|
+
"type": "string",
|
|
184
|
+
"enum": [
|
|
185
|
+
"#billing",
|
|
186
|
+
"#billing-funding",
|
|
187
|
+
"#billing-notification-settings"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "string",
|
|
192
|
+
"maxLength": 1024,
|
|
193
|
+
"pattern": "^\\/o\\/[A-Za-z0-9_%.-]+\\/p\\/proj_[0-9abcdefghjkmnpqrstvwxyz]{26}\\/(?:live|test)\\/schedules\\/sch_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
194
|
+
}
|
|
185
195
|
]
|
|
186
196
|
},
|
|
187
197
|
"resolvedAt": {
|
|
@@ -116,6 +116,111 @@
|
|
|
116
116
|
},
|
|
117
117
|
"required": ["contentType", "text", "truncated"]
|
|
118
118
|
},
|
|
119
|
+
"response": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"statusText": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"headers": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"name": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"value": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": ["name", "value"]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"bodyState": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enum": ["captured", "empty", "expired", "not_captured"]
|
|
143
|
+
},
|
|
144
|
+
"body": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"contentType": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"encoding": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": ["utf8", "base64"]
|
|
153
|
+
},
|
|
154
|
+
"content": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"maxLength": 131072
|
|
157
|
+
},
|
|
158
|
+
"capturedBytes": {
|
|
159
|
+
"type": "integer",
|
|
160
|
+
"minimum": 1,
|
|
161
|
+
"maximum": 10240
|
|
162
|
+
},
|
|
163
|
+
"originalBytes": {
|
|
164
|
+
"type": "integer",
|
|
165
|
+
"minimum": 0,
|
|
166
|
+
"maximum": 9007199254740991
|
|
167
|
+
},
|
|
168
|
+
"truncated": {
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"redacted": {
|
|
172
|
+
"type": "boolean"
|
|
173
|
+
},
|
|
174
|
+
"incomplete": {
|
|
175
|
+
"type": "boolean"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"contentType",
|
|
180
|
+
"encoding",
|
|
181
|
+
"content",
|
|
182
|
+
"capturedBytes",
|
|
183
|
+
"truncated"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": ["statusText", "headers", "bodyState"]
|
|
188
|
+
},
|
|
189
|
+
"request": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"method": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"enum": ["GET", "POST", "PUT"]
|
|
195
|
+
},
|
|
196
|
+
"url": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"headers": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"items": {
|
|
202
|
+
"type": "object",
|
|
203
|
+
"properties": {
|
|
204
|
+
"name": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"value": {
|
|
208
|
+
"type": "string"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"required": ["name", "value"]
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"body": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"required": ["method", "url", "headers", "body"]
|
|
219
|
+
},
|
|
220
|
+
"requestState": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"enum": ["captured", "expired", "not_captured"]
|
|
223
|
+
},
|
|
119
224
|
"responseHeaders": {
|
|
120
225
|
"maxItems": 8,
|
|
121
226
|
"type": "array",
|
|
@@ -87,6 +87,56 @@
|
|
|
87
87
|
"schedule": {
|
|
88
88
|
"type": "object",
|
|
89
89
|
"properties": {
|
|
90
|
+
"autoPauseAfterFailures": {
|
|
91
|
+
"anyOf": [
|
|
92
|
+
{
|
|
93
|
+
"type": "integer",
|
|
94
|
+
"minimum": 1,
|
|
95
|
+
"maximum": 100
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "string",
|
|
99
|
+
"const": "never"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"description": "Consecutive failed runs before automatic pause: 1–100 or \"never\". Defaults to 5 on create; omission on replace preserves the setting. One-shot schedules are unaffected."
|
|
103
|
+
},
|
|
104
|
+
"consecutiveFailedRuns": {
|
|
105
|
+
"type": "integer",
|
|
106
|
+
"minimum": 0,
|
|
107
|
+
"maximum": 9007199254740991
|
|
108
|
+
},
|
|
109
|
+
"autoPauseReason": {
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"failedRuns": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"exclusiveMinimum": 0,
|
|
117
|
+
"maximum": 9007199254740991
|
|
118
|
+
},
|
|
119
|
+
"status": {
|
|
120
|
+
"type": "integer",
|
|
121
|
+
"minimum": 100,
|
|
122
|
+
"maximum": 599
|
|
123
|
+
},
|
|
124
|
+
"diagnostic": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"maxLength": 500
|
|
127
|
+
},
|
|
128
|
+
"pausedAt": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": ["failedRuns", "diagnostic", "pausedAt"]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "null"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
90
140
|
"http": {
|
|
91
141
|
"type": "object",
|
|
92
142
|
"properties": {
|
|
@@ -87,6 +87,56 @@
|
|
|
87
87
|
"schedule": {
|
|
88
88
|
"type": "object",
|
|
89
89
|
"properties": {
|
|
90
|
+
"autoPauseAfterFailures": {
|
|
91
|
+
"anyOf": [
|
|
92
|
+
{
|
|
93
|
+
"type": "integer",
|
|
94
|
+
"minimum": 1,
|
|
95
|
+
"maximum": 100
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "string",
|
|
99
|
+
"const": "never"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"description": "Consecutive failed runs before automatic pause: 1–100 or \"never\". Defaults to 5 on create; omission on replace preserves the setting. One-shot schedules are unaffected."
|
|
103
|
+
},
|
|
104
|
+
"consecutiveFailedRuns": {
|
|
105
|
+
"type": "integer",
|
|
106
|
+
"minimum": 0,
|
|
107
|
+
"maximum": 9007199254740991
|
|
108
|
+
},
|
|
109
|
+
"autoPauseReason": {
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"failedRuns": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"exclusiveMinimum": 0,
|
|
117
|
+
"maximum": 9007199254740991
|
|
118
|
+
},
|
|
119
|
+
"status": {
|
|
120
|
+
"type": "integer",
|
|
121
|
+
"minimum": 100,
|
|
122
|
+
"maximum": 599
|
|
123
|
+
},
|
|
124
|
+
"diagnostic": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"maxLength": 500
|
|
127
|
+
},
|
|
128
|
+
"pausedAt": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": ["failedRuns", "diagnostic", "pausedAt"]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "null"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
90
140
|
"http": {
|
|
91
141
|
"type": "object",
|
|
92
142
|
"properties": {
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"properties": {
|
|
5
|
+
"autoPauseAfterFailures": {
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"type": "integer",
|
|
9
|
+
"minimum": 1,
|
|
10
|
+
"maximum": 100
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "string",
|
|
14
|
+
"const": "never"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"description": "Consecutive failed runs before automatic pause: 1–100 or \"never\". Defaults to 5 on create; omission on replace preserves the setting. One-shot schedules are unaffected."
|
|
18
|
+
},
|
|
5
19
|
"http": {
|
|
6
20
|
"type": "object",
|
|
7
21
|
"properties": {
|
|
@@ -87,6 +87,56 @@
|
|
|
87
87
|
"schedule": {
|
|
88
88
|
"type": "object",
|
|
89
89
|
"properties": {
|
|
90
|
+
"autoPauseAfterFailures": {
|
|
91
|
+
"anyOf": [
|
|
92
|
+
{
|
|
93
|
+
"type": "integer",
|
|
94
|
+
"minimum": 1,
|
|
95
|
+
"maximum": 100
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "string",
|
|
99
|
+
"const": "never"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"description": "Consecutive failed runs before automatic pause: 1–100 or \"never\". Defaults to 5 on create; omission on replace preserves the setting. One-shot schedules are unaffected."
|
|
103
|
+
},
|
|
104
|
+
"consecutiveFailedRuns": {
|
|
105
|
+
"type": "integer",
|
|
106
|
+
"minimum": 0,
|
|
107
|
+
"maximum": 9007199254740991
|
|
108
|
+
},
|
|
109
|
+
"autoPauseReason": {
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"failedRuns": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"exclusiveMinimum": 0,
|
|
117
|
+
"maximum": 9007199254740991
|
|
118
|
+
},
|
|
119
|
+
"status": {
|
|
120
|
+
"type": "integer",
|
|
121
|
+
"minimum": 100,
|
|
122
|
+
"maximum": 599
|
|
123
|
+
},
|
|
124
|
+
"diagnostic": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"maxLength": 500
|
|
127
|
+
},
|
|
128
|
+
"pausedAt": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": ["failedRuns", "diagnostic", "pausedAt"]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "null"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
90
140
|
"http": {
|
|
91
141
|
"type": "object",
|
|
92
142
|
"properties": {
|
|
@@ -7,6 +7,56 @@
|
|
|
7
7
|
"items": {
|
|
8
8
|
"type": "object",
|
|
9
9
|
"properties": {
|
|
10
|
+
"autoPauseAfterFailures": {
|
|
11
|
+
"anyOf": [
|
|
12
|
+
{
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1,
|
|
15
|
+
"maximum": 100
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "string",
|
|
19
|
+
"const": "never"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"description": "Consecutive failed runs before automatic pause: 1–100 or \"never\". Defaults to 5 on create; omission on replace preserves the setting. One-shot schedules are unaffected."
|
|
23
|
+
},
|
|
24
|
+
"consecutiveFailedRuns": {
|
|
25
|
+
"type": "integer",
|
|
26
|
+
"minimum": 0,
|
|
27
|
+
"maximum": 9007199254740991
|
|
28
|
+
},
|
|
29
|
+
"autoPauseReason": {
|
|
30
|
+
"anyOf": [
|
|
31
|
+
{
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"failedRuns": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"exclusiveMinimum": 0,
|
|
37
|
+
"maximum": 9007199254740991
|
|
38
|
+
},
|
|
39
|
+
"status": {
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"minimum": 100,
|
|
42
|
+
"maximum": 599
|
|
43
|
+
},
|
|
44
|
+
"diagnostic": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"maxLength": 500
|
|
47
|
+
},
|
|
48
|
+
"pausedAt": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": ["failedRuns", "diagnostic", "pausedAt"]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "null"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
10
60
|
"http": {
|
|
11
61
|
"type": "object",
|
|
12
62
|
"properties": {
|
|
@@ -87,6 +87,56 @@
|
|
|
87
87
|
"schedule": {
|
|
88
88
|
"type": "object",
|
|
89
89
|
"properties": {
|
|
90
|
+
"autoPauseAfterFailures": {
|
|
91
|
+
"anyOf": [
|
|
92
|
+
{
|
|
93
|
+
"type": "integer",
|
|
94
|
+
"minimum": 1,
|
|
95
|
+
"maximum": 100
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "string",
|
|
99
|
+
"const": "never"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"description": "Consecutive failed runs before automatic pause: 1–100 or \"never\". Defaults to 5 on create; omission on replace preserves the setting. One-shot schedules are unaffected."
|
|
103
|
+
},
|
|
104
|
+
"consecutiveFailedRuns": {
|
|
105
|
+
"type": "integer",
|
|
106
|
+
"minimum": 0,
|
|
107
|
+
"maximum": 9007199254740991
|
|
108
|
+
},
|
|
109
|
+
"autoPauseReason": {
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"failedRuns": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"exclusiveMinimum": 0,
|
|
117
|
+
"maximum": 9007199254740991
|
|
118
|
+
},
|
|
119
|
+
"status": {
|
|
120
|
+
"type": "integer",
|
|
121
|
+
"minimum": 100,
|
|
122
|
+
"maximum": 599
|
|
123
|
+
},
|
|
124
|
+
"diagnostic": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"maxLength": 500
|
|
127
|
+
},
|
|
128
|
+
"pausedAt": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": ["failedRuns", "diagnostic", "pausedAt"]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "null"
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
90
140
|
"http": {
|
|
91
141
|
"type": "object",
|
|
92
142
|
"properties": {
|