@spooled/sdk 1.1.0 → 1.2.0
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/dist/{index-D_MpLQYY.d.cts → index-BzfyWvfc.d.cts} +105 -72
- package/dist/{index-D_MpLQYY.d.ts → index-BzfyWvfc.d.ts} +105 -72
- package/dist/index.cjs +179 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +179 -31
- package/dist/index.js.map +1 -1
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +1 -1
- package/dist/worker/index.d.ts +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -107,11 +107,11 @@ declare const DEFAULT_CONFIG: {
|
|
|
107
107
|
successThreshold: number;
|
|
108
108
|
timeout: number;
|
|
109
109
|
};
|
|
110
|
-
readonly userAgent: "@spooled/sdk-nodejs/1.
|
|
110
|
+
readonly userAgent: "@spooled/sdk-nodejs/1.2.0";
|
|
111
111
|
readonly autoRefreshToken: true;
|
|
112
112
|
};
|
|
113
113
|
/** SDK version */
|
|
114
|
-
declare const SDK_VERSION = "1.
|
|
114
|
+
declare const SDK_VERSION = "1.2.0";
|
|
115
115
|
/** API version prefix */
|
|
116
116
|
declare const API_VERSION = "v1";
|
|
117
117
|
/**
|
|
@@ -403,17 +403,32 @@ interface CurrentUserResponse {
|
|
|
403
403
|
interface ValidateTokenParams {
|
|
404
404
|
token: string;
|
|
405
405
|
}
|
|
406
|
-
/** Token validation
|
|
406
|
+
/** Token validation claims after camelCase. API `org_id` becomes `orgId`. */
|
|
407
|
+
interface TokenClaims {
|
|
408
|
+
organizationId: string;
|
|
409
|
+
orgId?: string;
|
|
410
|
+
apiKeyId: string;
|
|
411
|
+
queues: string[];
|
|
412
|
+
exp: number;
|
|
413
|
+
iat: number;
|
|
414
|
+
}
|
|
415
|
+
/** POST /auth/validate — `{ valid, error?, claims? }`. `message` is mapped from `error`. */
|
|
407
416
|
interface ValidateTokenResponse {
|
|
408
417
|
valid: boolean;
|
|
409
418
|
message?: string;
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
419
|
+
error?: string;
|
|
420
|
+
claims?: TokenClaims;
|
|
421
|
+
}
|
|
422
|
+
/** POST /auth/email/start — backend sends message + email_sent_to, not success */
|
|
423
|
+
interface StartEmailLoginResponse {
|
|
424
|
+
message: string;
|
|
425
|
+
emailSentTo: string;
|
|
426
|
+
}
|
|
427
|
+
/** GET /auth/check-email */
|
|
428
|
+
interface CheckEmailResponse {
|
|
429
|
+
exists: boolean;
|
|
430
|
+
available: boolean;
|
|
431
|
+
signupEnabled: boolean;
|
|
417
432
|
}
|
|
418
433
|
|
|
419
434
|
/**
|
|
@@ -451,21 +466,20 @@ declare class AuthResource {
|
|
|
451
466
|
me(): Promise<CurrentUserResponse>;
|
|
452
467
|
/**
|
|
453
468
|
* Validate a token
|
|
469
|
+
*
|
|
470
|
+
* POST /auth/validate is `{ valid, error?, claims? }`. Claims use `org_id`
|
|
471
|
+
* (camelCased `orgId`), not `organizationId`. Invalid tokens send `error`,
|
|
472
|
+
* not `message`.
|
|
454
473
|
*/
|
|
455
474
|
validate(params: ValidateTokenParams): Promise<ValidateTokenResponse>;
|
|
456
475
|
/**
|
|
457
|
-
* Start email-based login flow (sends
|
|
476
|
+
* Start email-based login flow (sends a 6-digit code)
|
|
458
477
|
*/
|
|
459
|
-
startEmailLogin(email: string): Promise<
|
|
460
|
-
success: boolean;
|
|
461
|
-
message: string;
|
|
462
|
-
}>;
|
|
478
|
+
startEmailLogin(email: string): Promise<StartEmailLoginResponse>;
|
|
463
479
|
/**
|
|
464
|
-
* Check
|
|
480
|
+
* Check whether an email is registered (GET /auth/check-email)
|
|
465
481
|
*/
|
|
466
|
-
checkEmail(email: string): Promise<
|
|
467
|
-
exists: boolean;
|
|
468
|
-
}>;
|
|
482
|
+
checkEmail(email: string): Promise<CheckEmailResponse>;
|
|
469
483
|
}
|
|
470
484
|
|
|
471
485
|
/**
|
|
@@ -543,8 +557,8 @@ interface Job {
|
|
|
543
557
|
organizationId: string;
|
|
544
558
|
queueName: string;
|
|
545
559
|
status: JobStatus;
|
|
546
|
-
payload:
|
|
547
|
-
result?:
|
|
560
|
+
payload: JsonValue;
|
|
561
|
+
result?: JsonValue;
|
|
548
562
|
retryCount: number;
|
|
549
563
|
maxRetries: number;
|
|
550
564
|
lastError?: string;
|
|
@@ -554,7 +568,7 @@ interface Job {
|
|
|
554
568
|
completedAt?: string;
|
|
555
569
|
expiresAt?: string;
|
|
556
570
|
priority: number;
|
|
557
|
-
tags?:
|
|
571
|
+
tags?: JsonValue;
|
|
558
572
|
timeoutSeconds: number;
|
|
559
573
|
parentJobId?: string;
|
|
560
574
|
completionWebhook?: string;
|
|
@@ -566,6 +580,8 @@ interface Job {
|
|
|
566
580
|
workflowId?: string;
|
|
567
581
|
dependencyMode?: string;
|
|
568
582
|
dependenciesMet?: boolean;
|
|
583
|
+
/** From payload.job_type on GET; list summaries send it top-level. */
|
|
584
|
+
jobType?: string;
|
|
569
585
|
}
|
|
570
586
|
/** Job summary for list responses */
|
|
571
587
|
interface JobSummary {
|
|
@@ -573,7 +589,12 @@ interface JobSummary {
|
|
|
573
589
|
queueName: string;
|
|
574
590
|
status: JobStatus;
|
|
575
591
|
priority: number;
|
|
576
|
-
|
|
592
|
+
attempt: number;
|
|
593
|
+
maxRetries: number;
|
|
594
|
+
/** From payload.job_type (empty string when absent). */
|
|
595
|
+
jobType?: string;
|
|
596
|
+
/** From list/DLQ `last_error` (null/absent when none). */
|
|
597
|
+
lastError?: string | null;
|
|
577
598
|
createdAt: string;
|
|
578
599
|
scheduledAt?: string;
|
|
579
600
|
startedAt?: string;
|
|
@@ -583,8 +604,8 @@ interface JobSummary {
|
|
|
583
604
|
interface CreateJobParams {
|
|
584
605
|
/** Queue name (1-100 chars, alphanumeric/-/_/.) */
|
|
585
606
|
queueName: string;
|
|
586
|
-
/** Job payload */
|
|
587
|
-
payload:
|
|
607
|
+
/** Job payload (any JSON) */
|
|
608
|
+
payload: JsonValue;
|
|
588
609
|
/** Priority (-100 to 100, default 0) */
|
|
589
610
|
priority?: number;
|
|
590
611
|
/** Maximum retries (0-100, default 3) */
|
|
@@ -597,8 +618,8 @@ interface CreateJobParams {
|
|
|
597
618
|
expiresAt?: Date | string;
|
|
598
619
|
/** Idempotency key for deduplication (max 255 chars) */
|
|
599
620
|
idempotencyKey?: string;
|
|
600
|
-
/** Tags for filtering */
|
|
601
|
-
tags?:
|
|
621
|
+
/** Tags for filtering (object or string array) */
|
|
622
|
+
tags?: JsonValue;
|
|
602
623
|
/** Parent job ID for DAG workflows */
|
|
603
624
|
parentJobId?: string;
|
|
604
625
|
/** Webhook URL for completion notification */
|
|
@@ -642,7 +663,7 @@ interface BatchJobStatus {
|
|
|
642
663
|
interface ClaimedJob {
|
|
643
664
|
id: string;
|
|
644
665
|
queueName: string;
|
|
645
|
-
payload:
|
|
666
|
+
payload: JsonValue;
|
|
646
667
|
retryCount: number;
|
|
647
668
|
maxRetries: number;
|
|
648
669
|
timeoutSeconds: number;
|
|
@@ -674,8 +695,8 @@ interface ClaimJobsResult {
|
|
|
674
695
|
interface CompleteJobParams {
|
|
675
696
|
/** Worker ID that owns the job */
|
|
676
697
|
workerId: string;
|
|
677
|
-
/** Optional result payload */
|
|
678
|
-
result?:
|
|
698
|
+
/** Optional result payload (any JSON) */
|
|
699
|
+
result?: JsonValue;
|
|
679
700
|
/** Lease fencing token from the claimed job (rejects stale leases when set) */
|
|
680
701
|
leaseId?: string;
|
|
681
702
|
}
|
|
@@ -705,7 +726,7 @@ interface BoostPriorityResponse {
|
|
|
705
726
|
}
|
|
706
727
|
/** Item for bulk enqueue */
|
|
707
728
|
interface BulkJobItem {
|
|
708
|
-
payload:
|
|
729
|
+
payload: JsonValue;
|
|
709
730
|
priority?: number;
|
|
710
731
|
idempotencyKey?: string;
|
|
711
732
|
scheduledAt?: Date | string;
|
|
@@ -1092,7 +1113,7 @@ interface Schedule {
|
|
|
1092
1113
|
cronExpression: string;
|
|
1093
1114
|
timezone: string;
|
|
1094
1115
|
queueName: string;
|
|
1095
|
-
payloadTemplate:
|
|
1116
|
+
payloadTemplate: JsonValue;
|
|
1096
1117
|
priority: number;
|
|
1097
1118
|
maxRetries: number;
|
|
1098
1119
|
timeoutSeconds: number;
|
|
@@ -1100,8 +1121,8 @@ interface Schedule {
|
|
|
1100
1121
|
lastRunAt?: string;
|
|
1101
1122
|
nextRunAt?: string;
|
|
1102
1123
|
runCount: number;
|
|
1103
|
-
tags?:
|
|
1104
|
-
metadata?:
|
|
1124
|
+
tags?: JsonValue;
|
|
1125
|
+
metadata?: JsonValue;
|
|
1105
1126
|
createdAt: string;
|
|
1106
1127
|
updatedAt: string;
|
|
1107
1128
|
}
|
|
@@ -1122,7 +1143,7 @@ interface CreateScheduleParams {
|
|
|
1122
1143
|
* (HTTP 422), so this is typed as non-optional to surface the omission at
|
|
1123
1144
|
* compile time rather than as a runtime 422.
|
|
1124
1145
|
*/
|
|
1125
|
-
payloadTemplate:
|
|
1146
|
+
payloadTemplate: JsonValue;
|
|
1126
1147
|
/** Job priority (-100 to 100) */
|
|
1127
1148
|
priority?: number;
|
|
1128
1149
|
/** Max retries for scheduled jobs (0-100) */
|
|
@@ -1130,9 +1151,9 @@ interface CreateScheduleParams {
|
|
|
1130
1151
|
/** Timeout in seconds (1-86400) */
|
|
1131
1152
|
timeoutSeconds?: number;
|
|
1132
1153
|
/** Tags for created jobs */
|
|
1133
|
-
tags?:
|
|
1154
|
+
tags?: JsonValue;
|
|
1134
1155
|
/** Additional metadata */
|
|
1135
|
-
metadata?:
|
|
1156
|
+
metadata?: JsonValue;
|
|
1136
1157
|
}
|
|
1137
1158
|
/** Response for creating a schedule */
|
|
1138
1159
|
interface CreateScheduleResponse {
|
|
@@ -1147,13 +1168,13 @@ interface UpdateScheduleParams {
|
|
|
1147
1168
|
description?: string;
|
|
1148
1169
|
cronExpression?: string;
|
|
1149
1170
|
timezone?: string;
|
|
1150
|
-
payloadTemplate?:
|
|
1171
|
+
payloadTemplate?: JsonValue;
|
|
1151
1172
|
priority?: number;
|
|
1152
1173
|
maxRetries?: number;
|
|
1153
1174
|
timeoutSeconds?: number;
|
|
1154
1175
|
isActive?: boolean;
|
|
1155
|
-
tags?:
|
|
1156
|
-
metadata?:
|
|
1176
|
+
tags?: JsonValue;
|
|
1177
|
+
metadata?: JsonValue;
|
|
1157
1178
|
}
|
|
1158
1179
|
/** Parameters for listing schedules */
|
|
1159
1180
|
interface ListSchedulesParams extends ListParams {
|
|
@@ -1163,7 +1184,7 @@ interface ListSchedulesParams extends ListParams {
|
|
|
1163
1184
|
/** Response for manual trigger */
|
|
1164
1185
|
interface TriggerScheduleResponse {
|
|
1165
1186
|
jobId: string;
|
|
1166
|
-
|
|
1187
|
+
triggeredAt: string;
|
|
1167
1188
|
}
|
|
1168
1189
|
/** Schedule execution run */
|
|
1169
1190
|
interface ScheduleRun {
|
|
@@ -1299,31 +1320,33 @@ interface ListWorkflowsParams extends ListParams {
|
|
|
1299
1320
|
/** Filter by status */
|
|
1300
1321
|
status?: WorkflowStatus;
|
|
1301
1322
|
}
|
|
1302
|
-
/**
|
|
1303
|
-
interface
|
|
1323
|
+
/** One edge on GET /jobs/{id}/dependencies */
|
|
1324
|
+
interface DependencyInfo {
|
|
1304
1325
|
jobId: string;
|
|
1326
|
+
queueName: string;
|
|
1305
1327
|
status: string;
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
dependents:
|
|
1312
|
-
|
|
1313
|
-
status: string;
|
|
1314
|
-
dependencyType: string;
|
|
1315
|
-
}>;
|
|
1328
|
+
}
|
|
1329
|
+
/** GET /jobs/{id}/dependencies */
|
|
1330
|
+
interface JobWithDependencies {
|
|
1331
|
+
jobId: string;
|
|
1332
|
+
dependencies: DependencyInfo[];
|
|
1333
|
+
dependents: DependencyInfo[];
|
|
1334
|
+
dependenciesMet: boolean;
|
|
1316
1335
|
}
|
|
1317
1336
|
/** Parameters for adding dependencies */
|
|
1318
1337
|
interface AddDependenciesParams {
|
|
1319
|
-
/** Job IDs that this job depends on */
|
|
1320
|
-
dependsOnJobIds
|
|
1321
|
-
|
|
1338
|
+
/** Job IDs that this job depends on (backend `depends_on`) */
|
|
1339
|
+
dependsOnJobIds?: string[];
|
|
1340
|
+
dependsOn?: string[];
|
|
1341
|
+
/** Backend `dependency_mode`: all (default) or any */
|
|
1342
|
+
dependencyMode?: "all" | "any";
|
|
1343
|
+
/** Accepted when it is `all` or `any`; other values are ignored */
|
|
1322
1344
|
dependencyType?: string;
|
|
1323
1345
|
}
|
|
1324
1346
|
/** Response for adding dependencies */
|
|
1325
1347
|
interface AddDependenciesResponse {
|
|
1326
1348
|
added: number;
|
|
1349
|
+
dependenciesMet: boolean;
|
|
1327
1350
|
dependencies: Array<{
|
|
1328
1351
|
jobId: string;
|
|
1329
1352
|
dependsOnJobId: string;
|
|
@@ -1844,10 +1867,12 @@ interface CheckSlugResponse {
|
|
|
1844
1867
|
error?: string;
|
|
1845
1868
|
suggestion?: string;
|
|
1846
1869
|
}
|
|
1847
|
-
/**
|
|
1870
|
+
/** GET/POST /organizations/webhook-token — backend sends webhook_token + webhook_url */
|
|
1848
1871
|
interface WebhookTokenResponse {
|
|
1849
|
-
/**
|
|
1850
|
-
|
|
1872
|
+
/** Org webhook token. Null on GET when none is configured. */
|
|
1873
|
+
webhookToken: string | null;
|
|
1874
|
+
/** Inbound webhook URL for this organization */
|
|
1875
|
+
webhookUrl: string;
|
|
1851
1876
|
}
|
|
1852
1877
|
|
|
1853
1878
|
/**
|
|
@@ -1905,8 +1930,8 @@ declare class OrganizationsResource {
|
|
|
1905
1930
|
*
|
|
1906
1931
|
* @example
|
|
1907
1932
|
* ```typescript
|
|
1908
|
-
* const {
|
|
1909
|
-
* console.log('Webhook token:',
|
|
1933
|
+
* const { webhookToken, webhookUrl } = await client.organizations.getWebhookToken();
|
|
1934
|
+
* console.log('Webhook token:', webhookToken);
|
|
1910
1935
|
* ```
|
|
1911
1936
|
*/
|
|
1912
1937
|
getWebhookToken(): Promise<WebhookTokenResponse>;
|
|
@@ -1918,7 +1943,7 @@ declare class OrganizationsResource {
|
|
|
1918
1943
|
*
|
|
1919
1944
|
* @example
|
|
1920
1945
|
* ```typescript
|
|
1921
|
-
* const {
|
|
1946
|
+
* const { webhookToken: newToken } = await client.organizations.regenerateWebhookToken();
|
|
1922
1947
|
* console.log('New webhook token:', newToken);
|
|
1923
1948
|
* ```
|
|
1924
1949
|
*/
|
|
@@ -1926,8 +1951,9 @@ declare class OrganizationsResource {
|
|
|
1926
1951
|
/**
|
|
1927
1952
|
* Clear/delete the webhook token for the current organization.
|
|
1928
1953
|
*
|
|
1929
|
-
*
|
|
1930
|
-
*
|
|
1954
|
+
* POST /organizations/webhook-token/clear requires `{ confirm: true }`.
|
|
1955
|
+
* An empty body 422s. The API currently rejects the operation and tells
|
|
1956
|
+
* callers to use regenerateWebhookToken() instead.
|
|
1931
1957
|
*
|
|
1932
1958
|
* @example
|
|
1933
1959
|
* ```typescript
|
|
@@ -2256,6 +2282,12 @@ interface IngestCustomWebhookParams {
|
|
|
2256
2282
|
idempotencyKey?: string;
|
|
2257
2283
|
priority?: number;
|
|
2258
2284
|
}
|
|
2285
|
+
/** POST /webhooks/{org_id}/custom — OpenAPI WebhookResponse after camelCase. */
|
|
2286
|
+
interface IngestCustomWebhookResponse {
|
|
2287
|
+
jobId?: string;
|
|
2288
|
+
queueName?: string;
|
|
2289
|
+
status?: string;
|
|
2290
|
+
}
|
|
2259
2291
|
interface IngestGitHubWebhookOptions {
|
|
2260
2292
|
/** Value for X-GitHub-Event header (e.g. "pull_request") */
|
|
2261
2293
|
githubEvent: string;
|
|
@@ -2306,12 +2338,13 @@ declare class WebhookIngestionResource {
|
|
|
2306
2338
|
/**
|
|
2307
2339
|
* Ingest a custom webhook.
|
|
2308
2340
|
*
|
|
2309
|
-
* POST /api/v1/webhooks/{org_id}/custom
|
|
2341
|
+
* POST /api/v1/webhooks/{org_id}/custom returns `{ jobId, queueName, status }`.
|
|
2342
|
+
* An older empty 200 maps to an empty object rather than throwing.
|
|
2310
2343
|
*/
|
|
2311
2344
|
custom(orgId: string, params: IngestCustomWebhookParams, opts?: {
|
|
2312
2345
|
webhookToken?: string;
|
|
2313
2346
|
forwardedProto?: string;
|
|
2314
|
-
}): Promise<
|
|
2347
|
+
}): Promise<IngestCustomWebhookResponse>;
|
|
2315
2348
|
}
|
|
2316
2349
|
|
|
2317
2350
|
/**
|
|
@@ -3394,8 +3427,8 @@ interface JobContext {
|
|
|
3394
3427
|
jobId: string;
|
|
3395
3428
|
/** Queue name */
|
|
3396
3429
|
queueName: string;
|
|
3397
|
-
/** Job payload */
|
|
3398
|
-
payload:
|
|
3430
|
+
/** Job payload (any JSON) */
|
|
3431
|
+
payload: JsonValue;
|
|
3399
3432
|
/** Current retry count */
|
|
3400
3433
|
retryCount: number;
|
|
3401
3434
|
/** Maximum retries */
|
|
@@ -3408,11 +3441,11 @@ interface JobContext {
|
|
|
3408
3441
|
log: (level: "debug" | "info" | "warn" | "error", message: string, meta?: unknown) => void;
|
|
3409
3442
|
}
|
|
3410
3443
|
/** Job handler function */
|
|
3411
|
-
type JobHandler = (context: JobContext) => Promise<
|
|
3444
|
+
type JobHandler = (context: JobContext) => Promise<JsonValue | void>;
|
|
3412
3445
|
/** Job processing result */
|
|
3413
3446
|
interface JobResult {
|
|
3414
3447
|
success: boolean;
|
|
3415
|
-
result?:
|
|
3448
|
+
result?: JsonValue;
|
|
3416
3449
|
error?: string;
|
|
3417
3450
|
}
|
|
3418
3451
|
/** Worker event types */
|
|
@@ -3441,7 +3474,7 @@ interface WorkerEventData {
|
|
|
3441
3474
|
"job:completed": {
|
|
3442
3475
|
jobId: string;
|
|
3443
3476
|
queueName: string;
|
|
3444
|
-
result?:
|
|
3477
|
+
result?: JsonValue;
|
|
3445
3478
|
};
|
|
3446
3479
|
"job:failed": {
|
|
3447
3480
|
jobId: string;
|
|
@@ -3558,4 +3591,4 @@ declare class SpooledWorker {
|
|
|
3558
3591
|
private sleep;
|
|
3559
3592
|
}
|
|
3560
3593
|
|
|
3561
|
-
export { type
|
|
3594
|
+
export { type CreateWorkflowParams as $, API_VERSION as A, type BatchJobStatus as B, type ConnectionState as C, type BulkEnqueueResponse as D, type BulkJobItem as E, type CheckEmailResponse as F, type CheckSlugResponse as G, CircuitBreaker as H, type CircuitBreakerConfig as I, CircuitState as J, type ClaimJobsParams as K, type ClaimJobsResult as L, type ClaimedJob as M, type CompleteJobParams as N, type CreateApiKeyParams as O, type CreateApiKeyResponse as P, type CreateBillingPortalParams as Q, type RealtimeConnectionOptions as R, type SubscriptionFilter as S, type CreateBillingPortalResponse as T, type CreateJobParams as U, type CreateJobResult as V, type CreateOrganizationParams as W, type CreateOrganizationResponse as X, type CreateOutgoingWebhookParams as Y, type CreateScheduleParams as Z, type CreateScheduleResponse as _, type RealtimeEventType as a, type IngestGitHubWebhookOptions as a$, type CreateWorkflowResponse as a0, type CurrentUserResponse as a1, DEFAULT_CONFIG as a2, type DashboardData as a3, DashboardResource as a4, type DashboardWorkerSummary as a5, type DebugFn as a6, type DependencyInfo as a7, type DependencyMode as a8, type FailJobParams as a9, type GrpcHeartbeatRequest as aA, type GrpcHeartbeatResponse as aB, type GrpcHeartbeatResponse_Legacy as aC, type GrpcJob as aD, GrpcJobStatus as aE, GrpcJobStatusNumber as aF, type GrpcProcessRequest as aG, type GrpcProcessResponse as aH, GrpcQueueOperations as aI, type GrpcRegisterWorkerParams as aJ, type GrpcRegisterWorkerRequest as aK, type GrpcRegisterWorkerResponse as aL, type GrpcRegisterWorkerResponse_Legacy as aM, type GrpcRenewLeaseParams as aN, type GrpcRenewLeaseRequest as aO, type GrpcRenewLeaseResponse as aP, type GrpcRenewLeaseResponse_Legacy as aQ, type GrpcStreamJobsRequest as aR, type GrpcTimestamp as aS, GrpcWorkerOperations as aT, HealthResource as aU, type HealthResponse as aV, type HeartbeatEvent as aW, type HeartbeatJobParams as aX, HttpClient as aY, type IngestCustomWebhookParams as aZ, type IngestCustomWebhookResponse as a_, type GrpcClientOptions as aa, type GrpcCompleteJobParams as ab, type GrpcCompleteJobResponse as ac, type GrpcCompleteRequest as ad, type GrpcCompleteResponse as ae, type GrpcDequeueJobParams as af, type GrpcDequeueJobResponse as ag, type GrpcDequeueRequest as ah, type GrpcDequeueResponse as ai, type GrpcDeregisterRequest as aj, type GrpcDeregisterResponse as ak, type GrpcEnqueueJobParams as al, type GrpcEnqueueJobResponse as am, type GrpcEnqueueRequest as an, type GrpcEnqueueResponse as ao, type GrpcErrorResponse as ap, type GrpcFailJobParams as aq, type GrpcFailJobResponse as ar, type GrpcFailRequest as as, type GrpcFailResponse as at, type GrpcGetJobRequest as au, type GrpcGetJobResponse as av, type GrpcGetQueueStatsRequest as aw, type GrpcGetQueueStatsResponse as ax, type GrpcGetQueueStatsResponse_Legacy as ay, type GrpcHeartbeatParams as az, type RealtimeEvent as b, type RetryDlqParams as b$, type IngestStripeWebhookOptions as b0, type InitialApiKey as b1, type Job as b2, type JobCompletedEvent as b3, type JobContext as b4, type JobCreatedEvent as b5, type JobFailedEvent as b6, type JobHandler as b7, type JobProgressEvent as b8, type JobResult as b9, type OutgoingWebhook as bA, type OutgoingWebhookDelivery as bB, type PaginatedResponse as bC, type PaginationParams as bD, type PauseQueueResponse as bE, type PlanCount as bF, type PlanLimits as bG, type PlanTier as bH, type ProcessJobsStream as bI, type PurgeDlqParams as bJ, type PurgeDlqResponse as bK, type QueueConfig as bL, type QueueConfigSummary as bM, type QueuePausedEvent as bN, type QueueResumedEvent as bO, type QueueStats as bP, type QueueSummary as bQ, QueuesResource as bR, type RealtimeEventData as bS, type RecentActivity as bT, type RefreshTokenParams as bU, type RefreshTokenResponse as bV, type RegisterWorkerParams as bW, type RegisterWorkerResponse as bX, type ResolvedConfig as bY, type ResourceUsage as bZ, type ResumeQueueResponse as b_, type JobStartedEvent as ba, type JobStats as bb, type JobStatus as bc, type JobStatusChangedEvent as bd, type JobStream as be, type JobSummary as bf, type JobSummaryStats as bg, type JobWithDependencies as bh, JobsResource as bi, type JsonArray as bj, type JsonObject as bk, type JsonPrimitive as bl, type JsonValue as bm, type ListDlqParams as bn, type ListJobsParams as bo, type ListParams as bp, type ListSchedulesParams as bq, type ListWorkflowsParams as br, type LoginParams as bs, type LoginResponse as bt, MetricsResource as bu, type Organization as bv, type OrganizationMember as bw, type OrganizationSummary as bx, type OrganizationUsage as by, OrganizationsResource as bz, type RetryConfig as c, type RetryDlqResponse as c0, SDK_VERSION as c1, type Schedule as c2, type ScheduleRun as c3, type ScheduleRunStatus as c4, type ScheduleTriggeredEvent as c5, SchedulesResource as c6, SpooledClient as c7, type SpooledClientConfig as c8, SpooledGrpcClient as c9, type WorkerEvent as cA, type WorkerEventData as cB, type WorkerHeartbeatParams as cC, type WorkerRegisteredEvent as cD, type WorkerState as cE, type WorkerStatus as cF, type WorkerSummary as cG, WorkersResource as cH, type Workflow as cI, type WorkflowJob as cJ, type WorkflowJobDefinition as cK, type WorkflowJobStatus as cL, type WorkflowResponse as cM, type WorkflowStatus as cN, WorkflowsResource as cO, asyncIterableFromStream as cP, createCircuitBreaker as cQ, createClient as cR, createHttpClient as cS, createJobStream as cT, createPaginatedResponse as cU, createProcessJobsStream as cV, dateToTimestamp as cW, resolveConfig as cX, timestampToDate as cY, validateConfig as cZ, type ActiveJob as c_, SpooledRealtime as ca, type SpooledRealtimeOptions as cb, SpooledWorker as cc, type SpooledWorkerOptions as cd, type StartEmailLoginResponse as ce, type StreamOptions as cf, type SystemInfo as cg, type TestWebhookResponse as ch, type TokenClaims as ci, type TriggerScheduleResponse as cj, type UpdateApiKeyParams as ck, type UpdateOrganizationParams as cl, type UpdateOutgoingWebhookParams as cm, type UpdateQueueConfigParams as cn, type UpdateScheduleParams as co, type UsageItem as cp, type UsageWarning as cq, type ValidateTokenParams as cr, type ValidateTokenResponse as cs, type WebhookDeliveryStatus as ct, type WebhookEventType as cu, WebhookIngestionResource as cv, type WebhookTokenResponse as cw, WebhooksResource as cx, type Worker as cy, type WorkerDeregisteredEvent as cz, type AddDependenciesParams as d, type AddDependenciesResponse as e, type AdminApiKeyResponse as f, type AdminCreateApiKeyParams as g, type AdminCreateOrganizationParams as h, type AdminCreateOrganizationResponse as i, type AdminDeleteOrganizationParams as j, type AdminListOrganizationsParams as k, type AdminOrganizationDetail as l, type AdminOrganizationList as m, type AdminOrganizationSummary as n, type AdminPlanLimits as o, type AdminPlatformStats as p, AdminResource as q, type AdminUpdateOrganizationParams as r, type AdminUsageStats as s, type ApiKeySummary as t, ApiKeysResource as u, AuthResource as v, BillingResource as w, type BillingStatus as x, type BoostPriorityResponse as y, type BulkEnqueueParams as z };
|