scrapely-client-python 3.1.3__py3-none-any.whl

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.

Potentially problematic release.


This version of scrapely-client-python might be problematic. Click here for more details.

Files changed (65) hide show
  1. scrapely_client/__init__.py +30 -0
  2. scrapely_client/_charging.py +186 -0
  3. scrapely_client/_client_registry.py +136 -0
  4. scrapely_client/_consts.py +96 -0
  5. scrapely_client/_docs.py +37 -0
  6. scrapely_client/_literals.py +539 -0
  7. scrapely_client/_logging.py +180 -0
  8. scrapely_client/_models.py +4172 -0
  9. scrapely_client/_pagination.py +220 -0
  10. scrapely_client/_resource_clients/__init__.py +84 -0
  11. scrapely_client/_resource_clients/_resource_client.py +567 -0
  12. scrapely_client/_resource_clients/actor.py +1042 -0
  13. scrapely_client/_resource_clients/actor_collection.py +377 -0
  14. scrapely_client/_resource_clients/actor_env_var.py +154 -0
  15. scrapely_client/_resource_clients/actor_env_var_collection.py +165 -0
  16. scrapely_client/_resource_clients/actor_version.py +254 -0
  17. scrapely_client/_resource_clients/actor_version_collection.py +232 -0
  18. scrapely_client/_resource_clients/build.py +244 -0
  19. scrapely_client/_resource_clients/build_collection.py +164 -0
  20. scrapely_client/_resource_clients/dataset.py +1151 -0
  21. scrapely_client/_resource_clients/dataset_collection.py +244 -0
  22. scrapely_client/_resource_clients/key_value_store.py +906 -0
  23. scrapely_client/_resource_clients/key_value_store_collection.py +243 -0
  24. scrapely_client/_resource_clients/log.py +225 -0
  25. scrapely_client/_resource_clients/request_queue.py +1167 -0
  26. scrapely_client/_resource_clients/request_queue_collection.py +240 -0
  27. scrapely_client/_resource_clients/run.py +875 -0
  28. scrapely_client/_resource_clients/run_collection.py +226 -0
  29. scrapely_client/_resource_clients/schedule.py +243 -0
  30. scrapely_client/_resource_clients/schedule_collection.py +260 -0
  31. scrapely_client/_resource_clients/store_collection.py +242 -0
  32. scrapely_client/_resource_clients/task.py +793 -0
  33. scrapely_client/_resource_clients/task_collection.py +322 -0
  34. scrapely_client/_resource_clients/user.py +262 -0
  35. scrapely_client/_resource_clients/webhook.py +292 -0
  36. scrapely_client/_resource_clients/webhook_collection.py +281 -0
  37. scrapely_client/_resource_clients/webhook_dispatch.py +84 -0
  38. scrapely_client/_resource_clients/webhook_dispatch_collection.py +158 -0
  39. scrapely_client/_scrapely_client.py +837 -0
  40. scrapely_client/_statistics.py +29 -0
  41. scrapely_client/_status_message_watcher.py +197 -0
  42. scrapely_client/_streamed_log.py +250 -0
  43. scrapely_client/_typeddicts.py +408 -0
  44. scrapely_client/_utils/__init__.py +0 -0
  45. scrapely_client/_utils/crypto.py +87 -0
  46. scrapely_client/_utils/encoding.py +133 -0
  47. scrapely_client/_utils/errors.py +33 -0
  48. scrapely_client/_utils/http.py +137 -0
  49. scrapely_client/_utils/time.py +32 -0
  50. scrapely_client/_utils/try_import.py +61 -0
  51. scrapely_client/errors.py +190 -0
  52. scrapely_client/http_clients/__init__.py +10 -0
  53. scrapely_client/http_clients/_base.py +430 -0
  54. scrapely_client/http_clients/_impit.py +598 -0
  55. scrapely_client/http_compressors/__init__.py +18 -0
  56. scrapely_client/http_compressors/_base.py +25 -0
  57. scrapely_client/http_compressors/_brotli.py +38 -0
  58. scrapely_client/http_compressors/_gzip.py +38 -0
  59. scrapely_client/http_compressors/_resolve.py +38 -0
  60. scrapely_client/py.typed +0 -0
  61. scrapely_client/types.py +52 -0
  62. scrapely_client_python-3.1.3.dist-info/METADATA +269 -0
  63. scrapely_client_python-3.1.3.dist-info/RECORD +65 -0
  64. scrapely_client_python-3.1.3.dist-info/WHEEL +4 -0
  65. scrapely_client_python-3.1.3.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,539 @@
1
+ # generated by postprocess_generated_models
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Literal
6
+
7
+ ActorJobStatus = (
8
+ Literal[
9
+ 'READY',
10
+ 'RUNNING',
11
+ 'SUCCEEDED',
12
+ 'FAILED',
13
+ 'TIMING-OUT',
14
+ 'TIMED-OUT',
15
+ 'ABORTING',
16
+ 'ABORTED',
17
+ ]
18
+ | str
19
+ )
20
+ """Status of an Actor job (run or build)."""
21
+
22
+
23
+ ActorPermissionLevel = (
24
+ Literal[
25
+ 'LIMITED_PERMISSIONS',
26
+ 'FULL_PERMISSIONS',
27
+ ]
28
+ | str
29
+ )
30
+ """Determines the permission level that the Actor requires to run. For details, see Actor permissions."""
31
+
32
+
33
+ ErrorType = (
34
+ Literal[
35
+ '3d-secure-auth-failed',
36
+ 'access-right-already-exists',
37
+ 'action-not-found',
38
+ 'actor-already-rented',
39
+ 'actor-can-not-be-rented',
40
+ 'actor-disabled',
41
+ 'actor-is-not-rented',
42
+ 'actor-memory-limit-exceeded',
43
+ 'actor-name-exists-new-owner',
44
+ 'actor-name-not-unique',
45
+ 'actor-not-found',
46
+ 'actor-not-github-actor',
47
+ 'actor-not-public',
48
+ 'actor-permission-level-not-supported-for-agentic-payments',
49
+ 'actor-review-already-exists',
50
+ 'actor-run-failed',
51
+ 'actor-standby-not-supported-for-agentic-payments',
52
+ 'actor-task-name-not-unique',
53
+ 'agentic-payment-info-retrieval-error',
54
+ 'agentic-payment-information-missing',
55
+ 'agentic-payment-insufficient-amount',
56
+ 'agentic-payment-provider-internal-error',
57
+ 'agentic-payment-provider-unauthorized',
58
+ 'airtable-webhook-deprecated',
59
+ 'already-subscribed-to-paid-actor',
60
+ 'apify-plan-required-to-use-paid-actor',
61
+ 'apify-signup-not-allowed',
62
+ 'auth-method-not-supported',
63
+ 'authorization-server-not-found',
64
+ 'auto-issue-date-invalid',
65
+ 'background-check-required',
66
+ 'billing-system-error',
67
+ 'black-friday-plan-expired',
68
+ 'braintree-error',
69
+ 'braintree-not-linked',
70
+ 'braintree-operation-timed-out',
71
+ 'braintree-unsupported-currency',
72
+ 'build-not-found',
73
+ 'build-outdated',
74
+ 'cannot-add-apify-events-to-ppe-actor',
75
+ 'cannot-add-multiple-pricing-infos',
76
+ 'cannot-add-pricing-info-that-alters-past',
77
+ 'cannot-add-second-future-pricing-info',
78
+ 'cannot-build-actor-from-webhook',
79
+ 'cannot-change-billing-interval',
80
+ 'cannot-change-owner',
81
+ 'cannot-charge-apify-event',
82
+ 'cannot-charge-non-pay-per-event-actor',
83
+ 'cannot-comment-as-other-user',
84
+ 'cannot-copy-actor-task',
85
+ 'cannot-create-payout',
86
+ 'cannot-create-public-actor',
87
+ 'cannot-create-tax-transaction',
88
+ 'cannot-delete-critical-actor',
89
+ 'cannot-delete-invoice',
90
+ 'cannot-delete-paid-actor',
91
+ 'cannot-disable-one-time-event-for-apify-start-event',
92
+ 'cannot-disable-organization-with-enabled-members',
93
+ 'cannot-disable-user-with-subscription',
94
+ 'cannot-link-oauth-to-unverified-email',
95
+ 'cannot-metamorph-to-pay-per-result-actor',
96
+ 'cannot-modify-actor-pricing-too-frequently',
97
+ 'cannot-modify-actor-pricing-with-immediate-effect',
98
+ 'cannot-monetize-without-payout-billing-info',
99
+ 'cannot-override-paid-actor-trial',
100
+ 'cannot-permanently-delete-subscription',
101
+ 'cannot-publish-actor',
102
+ 'cannot-reduce-last-full-token',
103
+ 'cannot-reimburse-more-than-original-charge',
104
+ 'cannot-reimburse-non-rental-charge',
105
+ 'cannot-remove-own-actor-from-recently-used',
106
+ 'cannot-remove-payment-method',
107
+ 'cannot-remove-pricing-info',
108
+ 'cannot-remove-running-run',
109
+ 'cannot-remove-user-with-public-actors',
110
+ 'cannot-remove-user-with-subscription',
111
+ 'cannot-remove-user-with-unpaid-invoice',
112
+ 'cannot-rename-env-var',
113
+ 'cannot-rent-paid-actor',
114
+ 'cannot-review-own-actor',
115
+ 'cannot-set-access-rights-for-owner',
116
+ 'cannot-set-is-status-message-terminal',
117
+ 'cannot-unpublish-critical-actor',
118
+ 'cannot-unpublish-paid-actor',
119
+ 'cannot-unpublish-profile',
120
+ 'cannot-update-invoice-field',
121
+ 'concurrent-runs-limit-exceeded',
122
+ 'concurrent-update-detected',
123
+ 'conference-token-not-found',
124
+ 'content-encoding-forbidden-for-html',
125
+ 'coupon-already-redeemed',
126
+ 'coupon-expired',
127
+ 'coupon-for-new-customers',
128
+ 'coupon-for-subscribed-users',
129
+ 'coupon-limits-are-in-conflict-with-current-limits',
130
+ 'coupon-max-number-of-redemptions-reached',
131
+ 'coupon-not-found',
132
+ 'coupon-not-unique',
133
+ 'coupons-disabled',
134
+ 'create-github-issue-not-allowed',
135
+ 'creator-plan-not-available',
136
+ 'cron-expression-invalid',
137
+ 'daily-ai-token-limit-exceeded',
138
+ 'daily-publication-limit-exceeded',
139
+ 'dataset-does-not-have-fields-schema',
140
+ 'dataset-does-not-have-schema',
141
+ 'dataset-locked',
142
+ 'dataset-schema-invalid',
143
+ 'dcr-not-supported',
144
+ 'default-dataset-not-found',
145
+ 'deleting-default-build',
146
+ 'deleting-unfinished-build',
147
+ 'email-already-taken',
148
+ 'email-already-taken-removed-user',
149
+ 'email-domain-not-allowed-for-coupon',
150
+ 'email-invalid',
151
+ 'email-not-allowed',
152
+ 'email-not-valid',
153
+ 'email-update-too-soon',
154
+ 'elevated-permissions-needed',
155
+ 'env-var-already-exists',
156
+ 'exchange-rate-fetch-failed',
157
+ 'expired-conference-token',
158
+ 'failed-to-charge-user',
159
+ 'final-invoice-negative',
160
+ 'full-permission-actor-blocked-for-admin',
161
+ 'full-permission-actor-not-approved',
162
+ 'github-branch-empty',
163
+ 'github-issue-already-exists',
164
+ 'github-public-key-not-found',
165
+ 'github-repository-not-found',
166
+ 'github-signature-does-not-match-payload',
167
+ 'github-user-not-authorized-for-issues',
168
+ 'gmail-not-allowed',
169
+ 'id-does-not-match',
170
+ 'incompatible-billing-interval',
171
+ 'incomplete-payout-billing-info',
172
+ 'inconsistent-currencies',
173
+ 'incorrect-pricing-modifier-prefix',
174
+ 'input-json-invalid-characters',
175
+ 'input-json-not-object',
176
+ 'input-json-too-long',
177
+ 'input-update-collision',
178
+ 'insufficient-permissions',
179
+ 'insufficient-permissions-to-change-field',
180
+ 'insufficient-security-measures',
181
+ 'insufficient-tax-country-evidence',
182
+ 'integration-auth-error',
183
+ 'internal-server-error',
184
+ 'invalid-billing-info',
185
+ 'invalid-billing-period-for-payout',
186
+ 'invalid-build',
187
+ 'invalid-client-key',
188
+ 'invalid-collection',
189
+ 'invalid-conference-login-password',
190
+ 'invalid-content-type-header',
191
+ 'invalid-credentials',
192
+ 'invalid-git-auth-token',
193
+ 'invalid-github-issue-url',
194
+ 'invalid-header',
195
+ 'invalid-id',
196
+ 'invalid-idempotency-key',
197
+ 'invalid-input',
198
+ 'invalid-input-schema',
199
+ 'invalid-invoice',
200
+ 'invalid-invoice-type',
201
+ 'invalid-issue-date',
202
+ 'invalid-label-params',
203
+ 'invalid-main-account-user-id',
204
+ 'invalid-oauth-app',
205
+ 'invalid-oauth-scope',
206
+ 'invalid-one-time-invoice',
207
+ 'invalid-parameter',
208
+ 'invalid-payout-status',
209
+ 'invalid-picture-url',
210
+ 'invalid-record-key',
211
+ 'invalid-request',
212
+ 'invalid-resource-type',
213
+ 'invalid-signature',
214
+ 'invalid-subscription-plan',
215
+ 'invalid-tax-number',
216
+ 'invalid-tax-number-format',
217
+ 'invalid-token',
218
+ 'invalid-token-type',
219
+ 'invalid-two-factor-code',
220
+ 'invalid-two-factor-code-or-recovery-code',
221
+ 'invalid-two-factor-recovery-code',
222
+ 'invalid-username',
223
+ 'invalid-value',
224
+ 'invitation-invalid-resource-type',
225
+ 'invitation-no-longer-valid',
226
+ 'invoice-canceled',
227
+ 'invoice-cannot-be-refunded-due-to-too-high-amount',
228
+ 'invoice-incomplete',
229
+ 'invoice-is-draft',
230
+ 'invoice-locked',
231
+ 'invoice-must-be-buffer',
232
+ 'invoice-not-canceled',
233
+ 'invoice-not-draft',
234
+ 'invoice-not-found',
235
+ 'invoice-outdated',
236
+ 'invoice-paid-already',
237
+ 'issue-already-connected-to-github',
238
+ 'issue-not-found',
239
+ 'issues-bad-request',
240
+ 'issuer-not-registered',
241
+ 'job-finished',
242
+ 'label-already-linked',
243
+ 'last-api-token',
244
+ 'limit-reached',
245
+ 'max-items-must-be-greater-than-zero',
246
+ 'max-metamorphs-exceeded',
247
+ 'max-total-charge-usd-below-minimum',
248
+ 'max-total-charge-usd-must-be-greater-than-zero',
249
+ 'method-not-allowed',
250
+ 'migration-disabled',
251
+ 'missing-actor-rights',
252
+ 'missing-api-token',
253
+ 'missing-billing-info',
254
+ 'missing-line-items',
255
+ 'missing-payment-date',
256
+ 'missing-payout-billing-info',
257
+ 'missing-proxy-password',
258
+ 'missing-reporting-fields',
259
+ 'missing-resource-name',
260
+ 'missing-settings',
261
+ 'missing-username',
262
+ 'monthly-usage-limit-too-low',
263
+ 'more-than-one-update-not-allowed',
264
+ 'multiple-records-found',
265
+ 'must-be-admin',
266
+ 'name-not-unique',
267
+ 'next-runtime-computation-failed',
268
+ 'no-columns-in-exported-dataset',
269
+ 'no-payment-attempt-for-refund-found',
270
+ 'no-payment-method-available',
271
+ 'no-team-account-seats-available',
272
+ 'non-temporary-email',
273
+ 'not-enough-usage-to-run-paid-actor',
274
+ 'not-implemented',
275
+ 'not-supported-currencies',
276
+ 'o-auth-service-already-connected',
277
+ 'o-auth-service-not-connected',
278
+ 'oauth-resource-access-failed',
279
+ 'one-time-invoice-already-marked-paid',
280
+ 'only-drafts-can-be-deleted',
281
+ 'operation-canceled',
282
+ 'operation-not-allowed',
283
+ 'operation-timed-out',
284
+ 'organization-cannot-own-itself',
285
+ 'organization-role-not-found',
286
+ 'overlapping-payout-billing-periods',
287
+ 'own-token-required',
288
+ 'page-not-found',
289
+ 'param-not-one-of',
290
+ 'parameter-required',
291
+ 'parameters-mismatched',
292
+ 'password-reset-email-already-sent',
293
+ 'password-reset-token-expired',
294
+ 'pay-as-you-go-without-monthly-interval',
295
+ 'payment-attempt-status-message-required',
296
+ 'payout-already-paid',
297
+ 'payout-canceled',
298
+ 'payout-invalid-state',
299
+ 'payout-must-be-approved-to-be-marked-paid',
300
+ 'payout-not-found',
301
+ 'payout-number-already-exists',
302
+ 'phone-number-invalid',
303
+ 'phone-number-landline',
304
+ 'phone-number-opted-out',
305
+ 'phone-verification-disabled',
306
+ 'platform-feature-disabled',
307
+ 'price-overrides-validation-failed',
308
+ 'pricing-model-not-supported',
309
+ 'promotional-plan-not-available',
310
+ 'proxy-auth-ip-not-unique',
311
+ 'public-actor-disabled',
312
+ 'query-timeout',
313
+ 'quoted-price-outdated',
314
+ 'rate-limit-exceeded',
315
+ 'recaptcha-invalid',
316
+ 'recaptcha-required',
317
+ 'record-not-found',
318
+ 'record-not-public',
319
+ 'record-or-token-not-found',
320
+ 'record-too-large',
321
+ 'redirect-uri-mismatch',
322
+ 'reduced-plan-not-available',
323
+ 'rental-charge-already-reimbursed',
324
+ 'rental-not-allowed',
325
+ 'request-aborted-prematurely',
326
+ 'request-handled-or-locked',
327
+ 'request-id-invalid',
328
+ 'request-queue-duplicate-requests',
329
+ 'request-too-large',
330
+ 'requested-dataset-view-does-not-exist',
331
+ 'resume-token-expired',
332
+ 'run-failed',
333
+ 'run-input-body-not-valid-json',
334
+ 'run-timeout-exceeded',
335
+ 'russia-is-evil',
336
+ 'same-user',
337
+ 'schedule-actor-not-found',
338
+ 'schedule-actor-task-not-found',
339
+ 'schedule-name-not-unique',
340
+ 'schema-validation',
341
+ 'schema-validation-error',
342
+ 'schema-validation-failed',
343
+ 'service-worker-registration-not-allowed',
344
+ 'sign-up-method-not-allowed',
345
+ 'slack-integration-not-custom',
346
+ 'socket-closed',
347
+ 'socket-destroyed',
348
+ 'store-schema-invalid',
349
+ 'store-terms-not-accepted',
350
+ 'stripe-enabled',
351
+ 'stripe-generic-decline',
352
+ 'stripe-not-enabled',
353
+ 'stripe-not-enabled-for-user',
354
+ 'tagged-build-required',
355
+ 'tax-country-invalid',
356
+ 'tax-number-invalid',
357
+ 'tax-number-validation-failed',
358
+ 'taxamo-call-failed',
359
+ 'taxamo-request-failed',
360
+ 'testing-error',
361
+ 'token-not-provided',
362
+ 'too-few-versions',
363
+ 'too-many-actor-tasks',
364
+ 'too-many-actors',
365
+ 'too-many-labels-on-resource',
366
+ 'too-many-mcp-connectors',
367
+ 'too-many-o-auth-apps',
368
+ 'too-many-organizations',
369
+ 'too-many-requests',
370
+ 'too-many-schedules',
371
+ 'too-many-ui-access-keys',
372
+ 'too-many-user-labels',
373
+ 'too-many-values',
374
+ 'too-many-versions',
375
+ 'too-many-webhooks',
376
+ 'unexpected-route',
377
+ 'unknown-build-tag',
378
+ 'unknown-payment-provider',
379
+ 'unsubscribe-token-invalid',
380
+ 'unsupported-actor-pricing-model-for-agentic-payments',
381
+ 'unsupported-content-encoding',
382
+ 'unsupported-file-type-for-issue',
383
+ 'unsupported-file-type-image-expected',
384
+ 'unsupported-file-type-text-or-json-expected',
385
+ 'unsupported-permission',
386
+ 'upcoming-subscription-bill-not-up-to-date',
387
+ 'user-already-exists',
388
+ 'user-already-verified',
389
+ 'user-creates-organizations-too-fast',
390
+ 'user-disabled',
391
+ 'user-email-is-disposable',
392
+ 'user-email-not-set',
393
+ 'user-email-not-verified',
394
+ 'user-has-no-subscription',
395
+ 'user-integration-not-found',
396
+ 'user-is-already-invited',
397
+ 'user-is-already-organization-member',
398
+ 'user-is-not-member-of-organization',
399
+ 'user-is-not-organization',
400
+ 'user-is-organization',
401
+ 'user-is-organization-owner',
402
+ 'user-is-removed',
403
+ 'user-not-found',
404
+ 'user-not-logged-in',
405
+ 'user-not-verified',
406
+ 'user-or-token-not-found',
407
+ 'user-plan-not-allowed-for-coupon',
408
+ 'user-problem-with-card',
409
+ 'user-record-not-found',
410
+ 'username-already-taken',
411
+ 'username-missing',
412
+ 'username-not-allowed',
413
+ 'username-removal-forbidden',
414
+ 'username-required',
415
+ 'verification-email-already-sent',
416
+ 'verification-token-expired',
417
+ 'version-already-exists',
418
+ 'versions-size-exceeded',
419
+ 'weak-password',
420
+ 'x402-agentic-payment-already-finalized',
421
+ 'x402-agentic-payment-insufficient-amount',
422
+ 'x402-agentic-payment-malformed-token',
423
+ 'x402-agentic-payment-settlement-failed',
424
+ 'x402-agentic-payment-settlement-in-progress',
425
+ 'x402-agentic-payment-settlement-stuck',
426
+ 'x402-agentic-payment-unauthorized',
427
+ 'x402-payment-required',
428
+ 'zero-invoice',
429
+ ]
430
+ | str
431
+ )
432
+ """Machine-processable error type identifier."""
433
+
434
+
435
+ GeneralAccess = (
436
+ Literal[
437
+ 'ANYONE_WITH_ID_CAN_READ',
438
+ 'ANYONE_WITH_NAME_CAN_READ',
439
+ 'FOLLOW_USER_SETTING',
440
+ 'RESTRICTED',
441
+ ]
442
+ | str
443
+ )
444
+ """Defines the general access level for the resource."""
445
+
446
+
447
+ HttpMethod = (
448
+ Literal[
449
+ 'GET',
450
+ 'HEAD',
451
+ 'POST',
452
+ 'PUT',
453
+ 'DELETE',
454
+ 'CONNECT',
455
+ 'OPTIONS',
456
+ 'TRACE',
457
+ 'PATCH',
458
+ ]
459
+ | str
460
+ )
461
+
462
+
463
+ RunOrigin = (
464
+ Literal[
465
+ 'DEVELOPMENT',
466
+ 'WEB',
467
+ 'API',
468
+ 'SCHEDULER',
469
+ 'TEST',
470
+ 'WEBHOOK',
471
+ 'ACTOR',
472
+ 'CLI',
473
+ 'CI',
474
+ 'STANDBY',
475
+ 'MCP',
476
+ ]
477
+ | str
478
+ )
479
+
480
+
481
+ SourceCodeFileFormat = (
482
+ Literal[
483
+ 'BASE64',
484
+ 'TEXT',
485
+ ]
486
+ | str
487
+ )
488
+
489
+
490
+ StorageOwnership = (
491
+ Literal[
492
+ 'ownedByMe',
493
+ 'sharedWithMe',
494
+ ]
495
+ | str
496
+ )
497
+
498
+
499
+ VersionSourceType = (
500
+ Literal[
501
+ 'SOURCE_FILES',
502
+ 'GIT_REPO',
503
+ 'TARBALL',
504
+ 'GITHUB_GIST',
505
+ 'SOURCE_CODE',
506
+ ]
507
+ | str
508
+ )
509
+
510
+
511
+ WebhookDispatchStatus = (
512
+ Literal[
513
+ 'ACTIVE',
514
+ 'SUCCEEDED',
515
+ 'FAILED',
516
+ ]
517
+ | str
518
+ )
519
+ """Status of the webhook dispatch indicating whether the HTTP request was successful."""
520
+
521
+
522
+ WebhookEventType = (
523
+ Literal[
524
+ 'ACTOR.BUILD.ABORTED',
525
+ 'ACTOR.BUILD.CREATED',
526
+ 'ACTOR.BUILD.FAILED',
527
+ 'ACTOR.BUILD.SUCCEEDED',
528
+ 'ACTOR.BUILD.TIMED_OUT',
529
+ 'ACTOR.RUN.ABORTED',
530
+ 'ACTOR.RUN.CREATED',
531
+ 'ACTOR.RUN.FAILED',
532
+ 'ACTOR.RUN.RESURRECTED',
533
+ 'ACTOR.RUN.SUCCEEDED',
534
+ 'ACTOR.RUN.TIMED_OUT',
535
+ 'TEST',
536
+ ]
537
+ | str
538
+ )
539
+ """Type of event that triggers the webhook."""