deepline 0.3.306 → 0.3.308

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.
Files changed (104) hide show
  1. package/README.md +2 -1
  2. package/dist/bundling-sources/sdk/src/client.ts +270 -11
  3. package/dist/bundling-sources/sdk/src/compat.ts +27 -9
  4. package/dist/bundling-sources/sdk/src/index.ts +35 -0
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/batch-runtime.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/batching-types.ts +3 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +46 -16
  9. package/dist/bundling-sources/shared_libs/play-runtime/fullenrich-batching.ts +24 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/run-event-query.ts +872 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +10 -5
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +4 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +720 -19
  14. package/dist/cli/auth-LWNR7TQB.js +31 -0
  15. package/dist/cli/{auth-WTC7LCQ6.mjs → auth-ZWX4BF5K.mjs} +4 -4
  16. package/dist/cli/{billing-VQM65LVP.mjs → billing-CLV5QRFQ.mjs} +4 -4
  17. package/dist/cli/{billing-3DYTHO32.js → billing-H24FGAKE.js} +70 -70
  18. package/dist/cli/{chunk-WV64SNDV.mjs → chunk-3GIUCJAT.mjs} +1 -1
  19. package/dist/cli/{chunk-5V56XCQN.mjs → chunk-ABMGEW3C.mjs} +1 -1
  20. package/dist/cli/{chunk-UT3VLSLM.mjs → chunk-ASWZTTKT.mjs} +13 -5
  21. package/dist/cli/{chunk-FJ3DANI4.mjs → chunk-BPD7TR27.mjs} +1 -1
  22. package/dist/cli/{chunk-7XORS6WQ.mjs → chunk-CXU7ME5X.mjs} +2 -2
  23. package/dist/cli/{chunk-RODIZCGU.js → chunk-GBFIAI4L.js} +68 -60
  24. package/dist/cli/{chunk-OZIFVQRY.js → chunk-GONK2N7U.js} +1 -1
  25. package/dist/cli/{chunk-LLGF6V6I.mjs → chunk-HGI6RGHB.mjs} +653 -5
  26. package/dist/cli/{chunk-FZNO6B4W.js → chunk-IFIGQWHC.js} +6 -6
  27. package/dist/cli/{chunk-6CRUYVU7.mjs → chunk-JUAVGRD7.mjs} +4 -4
  28. package/dist/cli/{chunk-SZQPJW2L.js → chunk-O7NNH76S.js} +6 -6
  29. package/dist/cli/{chunk-2IKIG333.js → chunk-QJBJZVG6.js} +15 -4
  30. package/dist/cli/{chunk-M6HCRRV2.js → chunk-QTCFSRGC.js} +4 -4
  31. package/dist/cli/{chunk-W7ELTWDM.js → chunk-SRZ6XDX3.js} +26 -26
  32. package/dist/cli/{chunk-4PSSDZQB.mjs → chunk-T3P4NRZU.mjs} +1 -1
  33. package/dist/cli/{chunk-PHNAFCSB.js → chunk-TH3YBIJT.js} +852 -204
  34. package/dist/cli/{chunk-U37SW6IK.js → chunk-UGTYNMRX.js} +48 -48
  35. package/dist/cli/{chunk-2KR56MPF.js → chunk-WEZVPZPE.js} +2 -2
  36. package/dist/cli/{chunk-UABLQKTZ.mjs → chunk-WXLOW623.mjs} +11 -0
  37. package/dist/cli/{chunk-QDC4XTO3.mjs → chunk-XFYVL7EM.mjs} +2 -2
  38. package/dist/cli/{chunk-5HS5EEFE.mjs → chunk-XSDL3NHZ.mjs} +3 -3
  39. package/dist/cli/{chunk-MMNZ6GBT.js → chunk-YEJMVAD3.js} +6 -6
  40. package/dist/cli/{chunk-WWPI4GJI.mjs → chunk-YSZSERRZ.mjs} +1 -1
  41. package/dist/cli/{chunk-OF7QP2XX.js → chunk-ZHHF24O5.js} +15 -15
  42. package/dist/cli/client-3J76AMVE.js +20 -0
  43. package/dist/cli/{client-DCEK34D5.mjs → client-A5ILG5GT.mjs} +3 -3
  44. package/dist/cli/{csv-LXBF5UIV.mjs → csv-NZ7KAYEF.mjs} +3 -3
  45. package/dist/cli/{csv-H42JDJ6G.js → csv-VSSAAXFX.js} +12 -12
  46. package/dist/cli/{db-DP5GU4MU.js → db-ICLEBSNO.js} +20 -20
  47. package/dist/cli/{db-3O5CFLNP.mjs → db-YSAJUBLD.mjs} +4 -4
  48. package/dist/cli/{executions-QC2UZKIP.mjs → executions-MUJRAT5R.mjs} +4 -4
  49. package/dist/cli/{executions-5FFTPHEX.js → executions-XCAJB5TF.js} +6 -6
  50. package/dist/cli/{feedback-JCGE6JFW.mjs → feedback-6C7Y2SCJ.mjs} +3 -3
  51. package/dist/cli/{feedback-XAU3FI5S.js → feedback-DBZMBHZG.js} +6 -6
  52. package/dist/cli/git-2NSE4WIK.js +23 -0
  53. package/dist/cli/{git-S3Y3E2NL.mjs → git-EAH67ITA.mjs} +4 -4
  54. package/dist/cli/index.js +79 -77
  55. package/dist/cli/index.mjs +33 -31
  56. package/dist/cli/{legacy-noops-TXOUX4FX.js → legacy-noops-EJTOLTVO.js} +7 -7
  57. package/dist/cli/{legacy-noops-FQF2IRVS.mjs → legacy-noops-O5INQP6Q.mjs} +4 -4
  58. package/dist/cli/{monitors-4BQCO6B7.js → monitors-5OYO2DPJ.js} +85 -85
  59. package/dist/cli/{monitors-F3PELPSH.mjs → monitors-SBBBMUFY.mjs} +4 -4
  60. package/dist/cli/{org-VQM6OOLK.js → org-SJRPJG42.js} +60 -60
  61. package/dist/cli/{org-ER5J3ATG.mjs → org-Z7LTOL3H.mjs} +4 -4
  62. package/dist/cli/{play-B5H2RN4N.mjs → play-2JTIEOZM.mjs} +472 -55
  63. package/dist/cli/{play-WKZPAOW3.js → play-VQJ6ABZ2.js} +961 -544
  64. package/dist/cli/{providers-5TEA2FJG.js → providers-43MR5XOV.js} +7 -7
  65. package/dist/cli/{providers-6ODEAYC2.mjs → providers-MX4CV2EH.mjs} +4 -4
  66. package/dist/cli/{quickstart-GJYCNMFC.js → quickstart-A6W3HEE2.js} +5 -5
  67. package/dist/cli/{quickstart-BCYT7BCY.mjs → quickstart-Y4YLKRZ3.mjs} +3 -3
  68. package/dist/cli/{search-KKJ535OX.js → search-AMUFSAFP.js} +6 -6
  69. package/dist/cli/{search-RY547KOT.mjs → search-FRKDLJQG.mjs} +5 -5
  70. package/dist/cli/{secrets-U42ZEYIU.mjs → secrets-E4EX7O3J.mjs} +4 -4
  71. package/dist/cli/{secrets-RFGDXSEW.js → secrets-XITHKZW2.js} +13 -13
  72. package/dist/cli/{sessions-ZRTWHMIH.js → sessions-6HJFDIR2.js} +5 -5
  73. package/dist/cli/{sessions-YWEFB62D.mjs → sessions-6YXAUJII.mjs} +4 -4
  74. package/dist/cli/{settings-XUWFXIL7.js → settings-J5NRLCV2.js} +74 -74
  75. package/dist/cli/{settings-AS4U6NVP.mjs → settings-LBJSZIET.mjs} +7 -7
  76. package/dist/cli/{setup-2QPWP2FI.js → setup-2ES4CTO5.js} +41 -41
  77. package/dist/cli/{setup-2GUIV2EW.mjs → setup-75FENNVH.mjs} +6 -6
  78. package/dist/cli/skills-VLTAVA4K.js +28 -0
  79. package/dist/cli/{skills-5QS7ERVF.mjs → skills-XGZDUXW6.mjs} +4 -4
  80. package/dist/cli/{tools-PVWSGCZD.mjs → tools-2LEKXOGY.mjs} +58 -42
  81. package/dist/cli/{tools-J47LIO2H.js → tools-ZOQOGDKI.js} +111 -95
  82. package/dist/cli/update-5CZOVYQT.js +28 -0
  83. package/dist/cli/{update-KS4TRSZI.mjs → update-SNK3IN3I.mjs} +6 -6
  84. package/dist/cli/{workflow-QCLR7GVC.mjs → workflow-G7ZM3MAC.mjs} +5 -5
  85. package/dist/cli/{workflow-HQRUUTTL.js → workflow-W3AYTB3J.js} +15 -15
  86. package/dist/{client-Dj8MAkDc.d.mts → client-DpnkGBn-.d.mts} +324 -11
  87. package/dist/{client-DsrFGXJf.d.ts → client-ypdBvf1o.d.ts} +324 -11
  88. package/dist/index.d.mts +2 -2
  89. package/dist/index.d.ts +2 -2
  90. package/dist/index.js +8 -6
  91. package/dist/index.mjs +5 -3
  92. package/dist/install-integrity.json +73 -72
  93. package/dist/plays/run-request.d.mts +1 -1
  94. package/dist/plays/run-request.d.ts +1 -1
  95. package/dist/release.d.mts +1 -1
  96. package/dist/release.d.ts +1 -1
  97. package/dist/release.js +2 -2
  98. package/dist/release.mjs +1 -1
  99. package/package.json +1 -1
  100. package/dist/cli/auth-ZT3UF33R.js +0 -31
  101. package/dist/cli/client-UQXVU2T6.js +0 -20
  102. package/dist/cli/git-CNO2UFZE.js +0 -23
  103. package/dist/cli/skills-4E5KYW2Y.js +0 -28
  104. package/dist/cli/update-GZKGOMKD.js +0 -28
@@ -3,17 +3,17 @@
3
3
  var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
4
4
 
5
5
 
6
- var _chunkPHNAFCSBjs = require('./chunk-PHNAFCSB.js');
6
+ var _chunkTH3YBIJTjs = require('./chunk-TH3YBIJT.js');
7
7
  require('./chunk-LA46MMTL.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
14
- require('./chunk-M6HCRRV2.js');
13
+ var _chunkYEJMVAD3js = require('./chunk-YEJMVAD3.js');
14
+ require('./chunk-QTCFSRGC.js');
15
15
  require('./chunk-XNYIZMNQ.js');
16
- require('./chunk-OZIFVQRY.js');
16
+ require('./chunk-GONK2N7U.js');
17
17
 
18
18
 
19
19
  var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
@@ -1600,18 +1600,18 @@ function noticeToStderr(command) {
1600
1600
  );
1601
1601
  }
1602
1602
  function emitPassThrough(command, payload, options) {
1603
- const json = _chunkMMNZ6GBTjs.shouldEmitJson.call(void 0, options.json);
1603
+ const json = _chunkYEJMVAD3js.shouldEmitJson.call(void 0, options.json);
1604
1604
  const deprecation = migrationDeprecation(command);
1605
1605
  if (json) {
1606
1606
  const enriched = payload && typeof payload === "object" && !Array.isArray(payload) ? { ...payload, deprecation } : { result: payload, deprecation };
1607
- _chunkMMNZ6GBTjs.printJson.call(void 0, enriched);
1607
+ _chunkYEJMVAD3js.printJson.call(void 0, enriched);
1608
1608
  return;
1609
1609
  }
1610
- _chunkMMNZ6GBTjs.printJson.call(void 0, payload);
1610
+ _chunkYEJMVAD3js.printJson.call(void 0, payload);
1611
1611
  noticeToStderr(command);
1612
1612
  }
1613
1613
  function client() {
1614
- return new (0, _chunkPHNAFCSBjs.DeeplineClient)();
1614
+ return new (0, _chunkTH3YBIJTjs.DeeplineClient)();
1615
1615
  }
1616
1616
  function clientWithTimeout(timeoutSeconds) {
1617
1617
  if (!timeoutSeconds) return client();
@@ -1619,7 +1619,7 @@ function clientWithTimeout(timeoutSeconds) {
1619
1619
  if (!Number.isFinite(seconds) || seconds <= 0) {
1620
1620
  throw new Error("--timeout must be a positive number of seconds.");
1621
1621
  }
1622
- return new (0, _chunkPHNAFCSBjs.DeeplineClient)({ timeout: seconds * 1e3 });
1622
+ return new (0, _chunkTH3YBIJTjs.DeeplineClient)({ timeout: seconds * 1e3 });
1623
1623
  }
1624
1624
  function readStatus(payload) {
1625
1625
  if (!payload || typeof payload !== "object") return null;
@@ -1673,7 +1673,7 @@ async function transformOne(api, workflowId, outDir, publish) {
1673
1673
  await _promises.writeFile.call(void 0, file, compiled.sourceCode, "utf8");
1674
1674
  let published = false;
1675
1675
  if (publish) {
1676
- const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WKZPAOW3.js")));
1676
+ const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-VQJ6ABZ2.js")));
1677
1677
  const code = await handlePlayPublish([file]);
1678
1678
  if (code !== 0) {
1679
1679
  return {
@@ -1748,10 +1748,10 @@ async function handleTransform(id, options) {
1748
1748
  for (const workflowId of ids) {
1749
1749
  outcomes.push(await transformOne(api, workflowId, outDir, publish));
1750
1750
  }
1751
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
1751
+ _chunkYEJMVAD3js.printCommandEnvelope.call(void 0,
1752
1752
  { outcomes, deprecation: null },
1753
1753
  {
1754
- json: _chunkMMNZ6GBTjs.shouldEmitJson.call(void 0, options.json),
1754
+ json: _chunkYEJMVAD3js.shouldEmitJson.call(void 0, options.json),
1755
1755
  text: renderTransformReport(outcomes)
1756
1756
  }
1757
1757
  );
@@ -1772,11 +1772,11 @@ async function handleDelete(id, options) {
1772
1772
  }
1773
1773
  async function handleDisable(id, options) {
1774
1774
  const result = await client().disableWorkflow(id);
1775
- _chunkMMNZ6GBTjs.printJson.call(void 0, result);
1775
+ _chunkYEJMVAD3js.printJson.call(void 0, result);
1776
1776
  }
1777
1777
  async function handleEnable(id, options) {
1778
1778
  const result = await client().enableWorkflow(id);
1779
- _chunkMMNZ6GBTjs.printJson.call(void 0, result);
1779
+ _chunkYEJMVAD3js.printJson.call(void 0, result);
1780
1780
  }
1781
1781
  async function handleApply(options) {
1782
1782
  const body = await readJsonOption(options.payload, options.file);
@@ -1841,7 +1841,7 @@ async function handleTail(id, runId, options) {
1841
1841
  if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
1842
1842
  return;
1843
1843
  }
1844
- await _chunkMMNZ6GBTjs.sleep.call(void 0, intervalMs);
1844
+ await _chunkYEJMVAD3js.sleep.call(void 0, intervalMs);
1845
1845
  }
1846
1846
  }
1847
1847
  function registerWorkflowCommands(program) {
@@ -313,6 +313,9 @@ type PlayRuntimeSelection = {
313
313
  sandboxPlacementPolicy?: string;
314
314
  };
315
315
 
316
+ declare const RUN_LOG_LEVELS: readonly ["debug", "info", "warn", "error"];
317
+ type RunLogLevel = (typeof RUN_LOG_LEVELS)[number];
318
+
316
319
  /**
317
320
  * Canonical, producer-facing description of what a play is doing.
318
321
  *
@@ -3435,6 +3438,233 @@ type ToolExecution<TData = unknown, TMeta = Record<string, unknown>> = {
3435
3438
  [key: string]: unknown;
3436
3439
  };
3437
3440
 
3441
+ /** Public criteria shared by the API, SDK and CLI; no database/runtime imports. */
3442
+ type RunEventScalar = string | number | boolean | null;
3443
+ type RunEventField = keyof typeof RUN_EVENT_QUERY_FIELD_CATALOG | `context.${string}`;
3444
+ type RunEventFieldOperators<T extends RunEventScalar = RunEventScalar> = {
3445
+ eq?: T;
3446
+ ne?: T;
3447
+ gt?: Exclude<T, boolean | null>;
3448
+ gte?: Exclude<T, boolean | null>;
3449
+ lt?: Exclude<T, boolean | null>;
3450
+ lte?: Exclude<T, boolean | null>;
3451
+ exists?: boolean;
3452
+ in?: readonly T[];
3453
+ };
3454
+ type Filter<T extends RunEventScalar> = T | RunEventFieldOperators<T>;
3455
+ type RunEventWhere = {
3456
+ eventId?: Filter<string>;
3457
+ orgId?: Filter<string>;
3458
+ runtimeScope?: Filter<string>;
3459
+ runId?: Filter<string>;
3460
+ playName?: Filter<string>;
3461
+ occurredAt?: Filter<string>;
3462
+ kind?: Filter<string>;
3463
+ source?: Filter<string | null>;
3464
+ status?: Filter<string | null>;
3465
+ level?: Filter<RunLogLevel | null>;
3466
+ stepId?: Filter<string | null>;
3467
+ stepKind?: Filter<string | null>;
3468
+ datasetId?: Filter<string | null>;
3469
+ phase?: Filter<string | null>;
3470
+ provider?: Filter<string | null>;
3471
+ operation?: Filter<string | null>;
3472
+ producerAttempt?: Filter<number | null>;
3473
+ context?: Readonly<Record<string, Filter<RunEventScalar>>>;
3474
+ and?: readonly RunEventWhere[];
3475
+ or?: readonly RunEventWhere[];
3476
+ } & {
3477
+ [K in `context.${string}`]?: Filter<RunEventScalar>;
3478
+ };
3479
+ type RunEventQueryCriteria = {
3480
+ since?: string | number;
3481
+ until?: string | number;
3482
+ where?: RunEventWhere | string;
3483
+ runId?: string;
3484
+ stepId?: string;
3485
+ minLevel?: RunLogLevel;
3486
+ text?: string;
3487
+ playName?: string;
3488
+ kind?: string;
3489
+ };
3490
+ type NormalizedRunEventQuery = Omit<RunEventQueryCriteria, 'since' | 'until' | 'where'> & {
3491
+ since: string;
3492
+ until: string;
3493
+ where?: RunEventWhere;
3494
+ };
3495
+ type RunEventQueryOptions = {
3496
+ limit?: number;
3497
+ cursor?: string;
3498
+ includePayloads?: boolean;
3499
+ };
3500
+ type RunEventMeasure = {
3501
+ op: 'count';
3502
+ as?: string;
3503
+ } | {
3504
+ op: 'sum';
3505
+ field: RunEventField;
3506
+ as?: string;
3507
+ };
3508
+ type RunEventSummaryOptions = {
3509
+ groupBy: readonly RunEventField[];
3510
+ measures?: readonly RunEventMeasure[];
3511
+ limit?: number;
3512
+ cursor?: string;
3513
+ };
3514
+ type RunEventQueryEvent = {
3515
+ eventId: string;
3516
+ occurredAt: string;
3517
+ ingestedAt: string;
3518
+ runId: string;
3519
+ playName: string;
3520
+ kind: string;
3521
+ level: RunLogLevel | null;
3522
+ message: string | null;
3523
+ source?: string;
3524
+ stepId?: string;
3525
+ status?: string;
3526
+ stepKind?: string;
3527
+ datasetId?: string;
3528
+ phase?: string;
3529
+ provider?: string;
3530
+ operation?: string;
3531
+ producerAttempt?: number;
3532
+ context?: Record<string, RunEventScalar>;
3533
+ eventPayload?: Record<string, unknown>;
3534
+ payload?: unknown;
3535
+ };
3536
+ type RunEventQueryPage = {
3537
+ returnedCount: number;
3538
+ hasMore: boolean;
3539
+ nextCursor: string | null;
3540
+ };
3541
+ type RunEventQueryRetention = {
3542
+ retainedSince: string;
3543
+ retentionDays: 7;
3544
+ };
3545
+ type ResultBase = {
3546
+ query: NormalizedRunEventQuery;
3547
+ retention: RunEventQueryRetention;
3548
+ };
3549
+ type RunEventLogsResult = ResultBase & {
3550
+ logs: RunEventQueryEvent[];
3551
+ page: RunEventQueryPage;
3552
+ };
3553
+ type RunEventEventsResult = ResultBase & {
3554
+ events: RunEventQueryEvent[];
3555
+ page: RunEventQueryPage;
3556
+ };
3557
+ type RunEventCountResult = ResultBase & {
3558
+ matchedCount: number;
3559
+ exact: true;
3560
+ };
3561
+ type RunEventGroupValue = RunEventScalar | {
3562
+ missing: true;
3563
+ };
3564
+ type RunEventSummaryResult = ResultBase & {
3565
+ groupBy: readonly RunEventField[];
3566
+ measures: readonly RunEventMeasure[];
3567
+ groups: Array<{
3568
+ keys: Record<string, RunEventGroupValue>;
3569
+ measures: Record<string, number>;
3570
+ }>;
3571
+ page: RunEventQueryPage;
3572
+ };
3573
+ type RunEventFieldDescriptor = {
3574
+ field: RunEventField;
3575
+ type: 'string' | 'number' | 'timestamp' | 'level';
3576
+ nullable: boolean;
3577
+ operators: readonly string[];
3578
+ groupable: boolean;
3579
+ summable: boolean;
3580
+ };
3581
+ type RunEventFieldsResult = {
3582
+ fields: readonly RunEventFieldDescriptor[];
3583
+ context: {
3584
+ field: 'context.<key>';
3585
+ type: 'scalar';
3586
+ operators: readonly string[];
3587
+ groupable: true;
3588
+ summable: true;
3589
+ missing: 'distinct_from_null';
3590
+ };
3591
+ };
3592
+ /** Supported fields are declared, never inferred from rows or raw payloads. */
3593
+ declare const RUN_EVENT_QUERY_FIELD_CATALOG: {
3594
+ readonly eventId: {
3595
+ readonly type: "string";
3596
+ readonly nullable: false;
3597
+ };
3598
+ readonly orgId: {
3599
+ readonly type: "string";
3600
+ readonly nullable: false;
3601
+ };
3602
+ readonly runtimeScope: {
3603
+ readonly type: "string";
3604
+ readonly nullable: false;
3605
+ };
3606
+ readonly runId: {
3607
+ readonly type: "string";
3608
+ readonly nullable: false;
3609
+ };
3610
+ readonly playName: {
3611
+ readonly type: "string";
3612
+ readonly nullable: false;
3613
+ };
3614
+ readonly kind: {
3615
+ readonly type: "string";
3616
+ readonly nullable: false;
3617
+ };
3618
+ readonly source: {
3619
+ readonly type: "string";
3620
+ readonly nullable: true;
3621
+ };
3622
+ readonly occurredAt: {
3623
+ readonly type: "timestamp";
3624
+ readonly nullable: false;
3625
+ };
3626
+ readonly status: {
3627
+ readonly type: "string";
3628
+ readonly nullable: true;
3629
+ };
3630
+ readonly level: {
3631
+ readonly type: "level";
3632
+ readonly nullable: true;
3633
+ };
3634
+ readonly stepId: {
3635
+ readonly type: "string";
3636
+ readonly nullable: true;
3637
+ };
3638
+ readonly stepKind: {
3639
+ readonly type: "string";
3640
+ readonly nullable: true;
3641
+ };
3642
+ readonly datasetId: {
3643
+ readonly type: "string";
3644
+ readonly nullable: true;
3645
+ };
3646
+ readonly phase: {
3647
+ readonly type: "string";
3648
+ readonly nullable: true;
3649
+ };
3650
+ readonly provider: {
3651
+ readonly type: "string";
3652
+ readonly nullable: true;
3653
+ };
3654
+ readonly operation: {
3655
+ readonly type: "string";
3656
+ readonly nullable: true;
3657
+ };
3658
+ readonly producerAttempt: {
3659
+ readonly type: "number";
3660
+ readonly nullable: true;
3661
+ };
3662
+ };
3663
+ declare class RunEventQueryInputError extends TypeError {
3664
+ readonly code: string;
3665
+ constructor(message: string, code?: string);
3666
+ }
3667
+
3438
3668
  /**
3439
3669
  * Monitor authoring and typing for the Deepline SDK.
3440
3670
  *
@@ -4141,6 +4371,72 @@ type RunsEventPayload = {
4141
4371
  /** Stored structured failure details, or null when absent. */
4142
4372
  errorPayload: unknown | null;
4143
4373
  };
4374
+ /** Structured log criteria; relative `since` values such as `1h` are resolved once. */
4375
+ type RunsLogCriteria = Omit<RunEventQueryCriteria, 'runId'> & {
4376
+ /** Read an explicitly authorized Preview scope using its runtime credential. */
4377
+ runtime?: PlayRuntimeSelection;
4378
+ };
4379
+ /** One structured log page; filters are evaluated before the page limit. */
4380
+ type RunsLogsQueryOptions = RunsLogCriteria & RunEventQueryOptions;
4381
+ type RunQueryResultWithRuntime<T extends {
4382
+ query: NormalizedRunEventQuery;
4383
+ }> = Omit<T, 'query'> & {
4384
+ query: T['query'] & {
4385
+ runtime?: PlayRuntimeSelection;
4386
+ };
4387
+ };
4388
+ type RunLogQueryResult<T extends {
4389
+ query: NormalizedRunEventQuery;
4390
+ }> = Omit<T, 'query'> & {
4391
+ query: Omit<T['query'], 'runId'> & {
4392
+ runtime?: PlayRuntimeSelection;
4393
+ };
4394
+ };
4395
+ type RunsLogsQueryResult = RunLogQueryResult<RunEventLogsResult>;
4396
+ type RunsLogsCountResult = RunLogQueryResult<RunEventCountResult>;
4397
+ type RunsLogsSummaryOptions = RunsLogCriteria & RunEventSummaryOptions;
4398
+ type RunsLogsSummaryResult = RunLogQueryResult<RunEventSummaryResult>;
4399
+ /** Event criteria may span the active organization or target one run. */
4400
+ type RunsEventsCriteria = RunsLogCriteria & {
4401
+ runId?: string;
4402
+ };
4403
+ type RunsEventsListOptions = RunsEventsCriteria & RunEventQueryOptions;
4404
+ type RunsEventsListResult = RunQueryResultWithRuntime<RunEventEventsResult>;
4405
+ type RunsEventsCountResult = RunQueryResultWithRuntime<RunEventCountResult>;
4406
+ type RunsEventsSummaryResult = RunQueryResultWithRuntime<RunEventSummaryResult>;
4407
+ type RunsEventsSummaryOptions = RunsEventsCriteria & RunEventSummaryOptions;
4408
+ type RunsEventsFieldsOptions = {
4409
+ runtime?: PlayRuntimeSelection;
4410
+ };
4411
+ /**
4412
+ * Use `client.runs.logs(runId, options)` for the established text reader, or
4413
+ * `client.runs.logs.query/count/summarize/fields` for structured retained logs.
4414
+ */
4415
+ type RunsLogsNamespace = {
4416
+ (runId: string, options?: RunsLogsOptions): Promise<RunsLogsResult>;
4417
+ /** Filter retained log records, newest first, in one server page. */
4418
+ query: (runId: string, options?: RunsLogsQueryOptions) => Promise<RunsLogsQueryResult>;
4419
+ /** Exact count of matching retained records; does not list or retrieve payloads. */
4420
+ count: (runId: string, criteria?: RunsLogCriteria) => Promise<RunsLogsCountResult>;
4421
+ /** Group matching retained records; groups have their own continuation cursor. */
4422
+ summarize: (runId: string, options: RunsLogsSummaryOptions) => Promise<RunsLogsSummaryResult>;
4423
+ /** Discover filter fields, operators, types and availability. */
4424
+ fields: (options?: RunsEventsFieldsOptions) => Promise<RunEventFieldsResult>;
4425
+ };
4426
+ /**
4427
+ * Use `client.runs.events` for lifecycle, receipt and organization-wide events.
4428
+ * Omit `runId` to query the active organization's retained events.
4429
+ */
4430
+ type RunsEventsNamespace = {
4431
+ /** Filter retained events, newest first, in one server page. */
4432
+ list: (options?: RunsEventsListOptions) => Promise<RunsEventsListResult>;
4433
+ /** Exact count of matching retained events without listing or payload reads. */
4434
+ count: (criteria?: RunsEventsCriteria) => Promise<RunsEventsCountResult>;
4435
+ /** Group matching retained events with an independent continuation cursor. */
4436
+ summarize: (options: RunsEventsSummaryOptions) => Promise<RunsEventsSummaryResult>;
4437
+ /** Discover declared filter fields, operators, types and availability. */
4438
+ fields: (options?: RunsEventsFieldsOptions) => Promise<RunEventFieldsResult>;
4439
+ };
4144
4440
  /** One persisted runtime-sheet row returned by `client.runs.exportDatasetRows(...)`. */
4145
4441
  type PlaySheetRow = {
4146
4442
  key?: string;
@@ -4193,7 +4489,7 @@ type PlaySecretCheck = {
4193
4489
  secret: PlaySecretMetadata | null;
4194
4490
  };
4195
4491
  /**
4196
- * Use `client.runs` (`/api/v2/runs`) to watch, stop, read logs, and export durable dataset rows.
4492
+ * Use `client.runs` to watch, stop, query logs/events, and export durable dataset rows.
4197
4493
  *
4198
4494
  * @sdkReference client 020 client.runs
4199
4495
  */
@@ -4231,8 +4527,10 @@ type RunsNamespace = {
4231
4527
  watch: (runId: string, options?: RunsWatchOptions) => Promise<PlayStatus>;
4232
4528
  /** @deprecated Use `watch`; retained as a source-compatible alias. */
4233
4529
  tail: (runId: string, options?: RunsTailOptions) => Promise<PlayStatus>;
4234
- /** Read a run's retained text tail, full stream (`all`) or terminal failure window (`failed`). For structured filters and payloads, see [run logs and events](run-events.md). */
4235
- logs: (runId: string, options?: RunsLogsOptions) => Promise<RunsLogsResult>;
4530
+ /** Call for the retained text tail, full stream (`all`) or terminal failure window (`failed`). Use `logs.query/count/summarize/fields` for structured filters and exact aggregates; see [run logs and events](run-events.md). */
4531
+ logs: RunsLogsNamespace;
4532
+ /** Use `events.list/count/summarize/fields` for lifecycle, receipt and organization-wide events; see [run logs and events](run-events.md). */
4533
+ events: RunsEventsNamespace;
4236
4534
  /** Search existing events across the active organization; default last hour, up to 200 events per page (ten with payloads). See [run logs and events](run-events.md) for the catalog, query fields and response types. */
4237
4535
  searchEvents: (options?: RunsEventSearchOptions) => Promise<RunsEventSearchResult>;
4238
4536
  /** Export persisted rows for a runtime-sheet dataset/table namespace. */
@@ -4972,13 +5270,9 @@ type MonitorsRepairResult = {
4972
5270
  health: MonitorsHealth;
4973
5271
  };
4974
5272
  /**
4975
- * Public monitors namespace exposed as `client.monitors`.
4976
- *
4977
- * Mirrors the /api/v2/monitors resource family so the monitors CLI and
4978
- * programmatic callers share one product surface — every `deepline monitors`
4979
- * verb maps to a method here. Monitors are fully expressible as SDK code: author
4980
- * a definition with {@link defineMonitor}, then check/deploy/list/get/update/
4981
- * delete/reactivate through this namespace.
5273
+ * Use `client.monitors` for the /api/v2/monitors resource family.
5274
+ * Every `deepline monitors` verb maps here. Author a definition with {@link defineMonitor},
5275
+ * then check/deploy/list/get/update/delete/reactivate through this namespace.
4982
5276
  *
4983
5277
  * @sdkReference client 040 client.monitors
4984
5278
  */
@@ -6227,6 +6521,25 @@ declare class DeeplineClient {
6227
6521
  * ```
6228
6522
  */
6229
6523
  getRunLogs(runId: string, options?: RunsLogsOptions): Promise<RunsLogsResult>;
6524
+ /** Query one page of this run's retained logs. `where` accepts typed objects or the shared filter language. */
6525
+ private queryRunLogs;
6526
+ /** Count matching retained logs exactly, without fetching list pages or saved results. */
6527
+ private countRunLogs;
6528
+ /** Summarize retained logs with explicit group pagination and count or numeric sums. */
6529
+ private summarizeRunLogs;
6530
+ /** Query one page of retained lifecycle, log and receipt events in the active organization. */
6531
+ private listRunEvents;
6532
+ /** Count matching retained events exactly in one server query. */
6533
+ private countRunEvents;
6534
+ /**
6535
+ * Group retained events with exact counts, numeric sums and continuation.
6536
+ * Fractional sums use JavaScript number precision.
6537
+ */
6538
+ private summarizeRunEvents;
6539
+ /** Discover query fields and their recorded types; custom scalar fields use `context.<key>`. */
6540
+ private getRunEventFields;
6541
+ private postRunEventQuery;
6542
+ private assertRunLogQueryRunId;
6230
6543
  /** Read structured history across the active organization without requiring a run ID. Defaults to the last hour, newest first; use the returned cursor and exact time bounds to continue. See [run logs and events](run-events.md) for all kinds, indexed fields, payloads and SDK/API response types. */
6231
6544
  searchRunEvents(options?: RunsEventSearchOptions): Promise<RunsEventSearchResult>;
6232
6545
  /**
@@ -6849,4 +7162,4 @@ declare class DeeplineClient {
6849
7162
  }>;
6850
7163
  }
6851
7164
 
6852
- export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListPage as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityState as aA, type PlayActivityTarget as aB, type PlayBootstrapEntityKind as aC, type PlayBootstrapFinderKind as aD, type PlayCostEstimate as aE, type PlayCronTriggerConfig as aF, type PlayLiveEvent as aG, type PlayPath as aH, type PlayRunActionPackage as aI, type PlayRunActivityProjection as aJ, type PlayRunDatasetActions as aK, type PlayRunPackage as aL, type PlayRunResult as aM, type PlayRunStart as aN, type PlaySettings as aO, type PlaySettingsPatch as aP, type PlaySettingsPathsPage as aQ, type PlaySettingsResult as aR, type PlaySheetRow as aS, type PlaySheetRowsResult as aT, type PlayTriggerConfigUpdate as aU, type PlayTriggerConfigUpdateResult as aV, type PlayTriggerConfigView as aW, type PlayWebhookAuthConfig as aX, type PlayWebhookTriggerConfig as aY, type PlaysActivityResponse as aZ, type PlaysListOptions as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, PLAY_BOOTSTRAP_COMPANY_FIELDS as ap, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as aq, PLAY_BOOTSTRAP_CONTACT_FIELDS as ar, PLAY_BOOTSTRAP_FINDER_KINDS as as, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as at, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as au, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as av, PLAY_BOOTSTRAP_SOURCE_KINDS as aw, PLAY_BOOTSTRAP_STAGE_KINDS as ax, PLAY_BOOTSTRAP_TEMPLATES as ay, type PlayActivityObservation as az, type ExecutionByKeyResult as b, fileInputBindingsFromStaticPipeline as b$, type PublishPlayVersionRequest as b0, type RerunOptions as b1, type RerunPlayRunResult as b2, type RunChildrenPage as b3, type RunLifecycleStatus as b4, type RunToolReceiptResult as b5, type RunToolReceiptsResponse as b6, type RunsChildrenOptions as b7, type RunsEventPayload as b8, type RunsEventSearchEntry as b9, type WorkspacesNamespace as bA, defineMonitor as bB, formatPlayBootstrapFinderKinds as bC, formatPlayBootstrapFinderKindsForSentence as bD, formatPlayBootstrapTemplates as bE, isPlayBootstrapFinderKind as bF, isPlayBootstrapTemplate as bG, isStopAllPlayRunsDryRunResult as bH, CSV_DATA_INPUT_KEY as bI, type FileInputBinding as bJ, type LocalFileInput as bK, type MintStagedFileUpload as bL, PLAY_FILES_STAGE_MINT_PATH as bM, PLAY_FILES_STAGE_PATH as bN, PLAY_RUN_START_PATH as bO, PLAY_RUN_START_STREAM_PATH as bP, type PlayRunHttp as bQ, type ResolvedStartPlayRunRequest as bR, STAGE_LEGACY_MULTIPART_MAX_BYTES as bS, type StagedFileCodec as bT, type StagedFileInputs as bU, type StagedFileUpload as bV, buildNamedPlayRunRequest as bW, buildPlayRunStartBody as bX, createSessionPlayRunHttp as bY, createStagedFileUpload as bZ, fileInputBindingsFromPlaySchema as b_, type RunsEventSearchOptions as ba, type RunsEventSearchResult as bb, type RunsHistoryItem as bc, type RunsHistoryOptions as bd, type RunsHistoryPage as be, type RunsListOptions as bf, type RunsListPage as bg, type RunsLogsOptions as bh, type RunsLogsResult as bi, type RunsNamespace as bj, type RunsTailOptions as bk, type RunsWatchOptions as bl, type SearchOptions as bm, type SearchResult as bn, type SearchResultItem as bo, type SearchType as bp, type StartPlayRunRequest as bq, type StopAllCandidate as br, type StopAllPlayRunsDryRunResult as bs, type StopAllPlayRunsResult as bt, type StopAllPlayRunsStopResult as bu, type StopAllRunsOptions as bv, type ToolExecution as bw, type ToolSearchOptions as bx, type ToolSearchResult as by, type WorkspaceCreateResult as bz, type PlayDetail as c, getDottedInputValue as c0, isPlayRunPackage as c1, mintStagedPlayFileUploads as c2, normalizePlayRunStart as c3, playRunFileInputBindings as c4, setDottedInputValue as c5, stageFileInputs as c6, stagePlayFiles as c7, stagedFileContentType as c8, startPlayRun as c9, webStagedFileCodec as ca, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };
7165
+ export { type MonitorFleetStatus as $, DeeplineClient as A, type BillingNamespace as B, type ClearPlayHistoryResult as C, type DeeplineClientOptions as D, type ExecutionRecovery as E, type DeeplineToolCategory as F, type LiveEventEnvelope as G, MONITOR_JOB_RECONCILIATION_STATES as H, type IngestionStorageRepairResult as I, MONITOR_JOB_STATES as J, type MonitorBatchNamespace as K, type LegacyMonitorStatusFilter as L, MONITOR_JOB_PHASES as M, type MonitorCheckResult as N, type MonitorDefinition as O, type PlayListItem as P, type MonitorDeleteResult as Q, type ResolvedConfig as R, type StopPlayRunResult as S, type ToolDefinition as T, type MonitorDependents as U, type MonitorDeployResult as V, type MonitorDetail as W, type MonitorFleetDeactivateOptions as X, type MonitorFleetGetOptions as Y, type MonitorFleetReactivateOptions as Z, type MonitorFleetResult as _, type ToolMetadata as a, type PlaysListOptions as a$, type MonitorFleetSyncOptions as a0, type MonitorFleetWaitOptions as a1, type MonitorFleetsNamespace as a2, type MonitorJobDeployOptions as a3, type MonitorJobLogsOptions as a4, type MonitorJobPhase as a5, type MonitorJobReconciliationState as a6, type MonitorJobResult as a7, type MonitorJobState as a8, type MonitorJobWaitOptions as a9, type PlayActivityObservation as aA, type PlayActivityState as aB, type PlayActivityTarget as aC, type PlayBootstrapEntityKind as aD, type PlayBootstrapFinderKind as aE, type PlayCostEstimate as aF, type PlayCronTriggerConfig as aG, type PlayLiveEvent as aH, type PlayPath as aI, type PlayRunActionPackage as aJ, type PlayRunActivityProjection as aK, type PlayRunDatasetActions as aL, type PlayRunPackage as aM, type PlayRunResult as aN, type PlayRunStart as aO, type PlaySettings as aP, type PlaySettingsPatch as aQ, type PlaySettingsPathsPage as aR, type PlaySettingsResult as aS, type PlaySheetRow as aT, type PlaySheetRowsResult as aU, type PlayTriggerConfigUpdate as aV, type PlayTriggerConfigUpdateResult as aW, type PlayTriggerConfigView as aX, type PlayWebhookAuthConfig as aY, type PlayWebhookTriggerConfig as aZ, type PlaysActivityResponse as a_, type MonitorJobsNamespace as aa, type MonitorListEntry as ab, type MonitorPayload as ac, type MonitorReactivateResult as ad, type MonitorSpec as ae, type MonitorState as af, type MonitorStateFilter as ag, type MonitorUpdateChangeSummary as ah, type MonitorUpdateResult as ai, type MonitorsAccessStatus as aj, type MonitorsAvailableOptions as ak, type MonitorsAvailableResult as al, type MonitorsListOptions as am, type MonitorsListResult as an, type MonitorsNamespace as ao, type NormalizedRunEventQuery as ap, PLAY_BOOTSTRAP_COMPANY_FIELDS as aq, PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY as ar, PLAY_BOOTSTRAP_CONTACT_FIELDS as as, PLAY_BOOTSTRAP_FINDER_KINDS as at, PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER as au, PLAY_BOOTSTRAP_PEOPLE_PROVIDER_CATEGORY as av, PLAY_BOOTSTRAP_PROVIDER_CATEGORY_BY_FINDER as aw, PLAY_BOOTSTRAP_SOURCE_KINDS as ax, PLAY_BOOTSTRAP_STAGE_KINDS as ay, PLAY_BOOTSTRAP_TEMPLATES as az, type ExecutionByKeyResult as b, type StopAllPlayRunsStopResult as b$, type PlaysListPage as b0, type PublishPlayVersionRequest as b1, type RerunOptions as b2, type RerunPlayRunResult as b3, type RunChildrenPage as b4, type RunEventCountResult as b5, type RunEventField as b6, type RunEventFieldDescriptor as b7, type RunEventFieldOperators as b8, type RunEventFieldsResult as b9, type RunsEventsSummaryOptions as bA, type RunsEventsSummaryResult as bB, type RunsHistoryItem as bC, type RunsHistoryOptions as bD, type RunsHistoryPage as bE, type RunsListOptions as bF, type RunsListPage as bG, type RunsLogCriteria as bH, type RunsLogsCountResult as bI, type RunsLogsNamespace as bJ, type RunsLogsOptions as bK, type RunsLogsQueryOptions as bL, type RunsLogsQueryResult as bM, type RunsLogsResult as bN, type RunsLogsSummaryOptions as bO, type RunsLogsSummaryResult as bP, type RunsNamespace as bQ, type RunsTailOptions as bR, type RunsWatchOptions as bS, type SearchOptions as bT, type SearchResult as bU, type SearchResultItem as bV, type SearchType as bW, type StartPlayRunRequest as bX, type StopAllCandidate as bY, type StopAllPlayRunsDryRunResult as bZ, type StopAllPlayRunsResult as b_, type RunEventGroupValue as ba, type RunEventMeasure as bb, type RunEventQueryCriteria as bc, type RunEventQueryEvent as bd, RunEventQueryInputError as be, type RunEventQueryOptions as bf, type RunEventQueryPage as bg, type RunEventQueryRetention as bh, type RunEventScalar as bi, type RunEventSummaryOptions as bj, type RunEventSummaryResult as bk, type RunEventWhere as bl, type RunLifecycleStatus as bm, type RunToolReceiptResult as bn, type RunToolReceiptsResponse as bo, type RunsChildrenOptions as bp, type RunsEventPayload as bq, type RunsEventSearchEntry as br, type RunsEventSearchOptions as bs, type RunsEventSearchResult as bt, type RunsEventsCountResult as bu, type RunsEventsCriteria as bv, type RunsEventsFieldsOptions as bw, type RunsEventsListOptions as bx, type RunsEventsListResult as by, type RunsEventsNamespace as bz, type PlayDetail as c, type StopAllRunsOptions as c0, type ToolExecution as c1, type ToolSearchOptions as c2, type ToolSearchResult as c3, type WorkspaceCreateResult as c4, type WorkspacesNamespace as c5, defineMonitor as c6, formatPlayBootstrapFinderKinds as c7, formatPlayBootstrapFinderKindsForSentence as c8, formatPlayBootstrapTemplates as c9, normalizePlayRunStart as cA, playRunFileInputBindings as cB, setDottedInputValue as cC, stageFileInputs as cD, stagePlayFiles as cE, stagedFileContentType as cF, startPlayRun as cG, webStagedFileCodec as cH, isPlayBootstrapFinderKind as ca, isPlayBootstrapTemplate as cb, isStopAllPlayRunsDryRunResult as cc, CSV_DATA_INPUT_KEY as cd, type FileInputBinding as ce, type LocalFileInput as cf, type MintStagedFileUpload as cg, PLAY_FILES_STAGE_MINT_PATH as ch, PLAY_FILES_STAGE_PATH as ci, PLAY_RUN_START_PATH as cj, PLAY_RUN_START_STREAM_PATH as ck, type PlayRunHttp as cl, type ResolvedStartPlayRunRequest as cm, STAGE_LEGACY_MULTIPART_MAX_BYTES as cn, type StagedFileCodec as co, type StagedFileInputs as cp, type StagedFileUpload as cq, buildNamedPlayRunRequest as cr, buildPlayRunStartBody as cs, createSessionPlayRunHttp as ct, createStagedFileUpload as cu, fileInputBindingsFromPlaySchema as cv, fileInputBindingsFromStaticPipeline as cw, getDottedInputValue as cx, isPlayRunPackage as cy, mintStagedPlayFileUploads as cz, type PlayRunListItem as d, type PlayRevisionSummary as e, type PublishPlayVersionResult as f, type PlayStatus as g, type BillingCreditPool as h, type BillingInvoiceEntry as i, type BillingInvoicesResult as j, type BillingPaymentMethodSummary as k, type BillingRecentUsageEntry as l, type BillingSubscriptionCancelResult as m, type BillingSubscriptionStatus as n, type BillingTopUpReceipt as o, type BillingTopUpResult as p, type BillingUsageEvent as q, type BillingUsageOptions as r, type BillingUsageResult as s, type ChildRunSummary as t, type ClearPlayHistoryRequest as u, type CreateNotificationGroupInput as v, type CreateNotificationGroupResult as w, type CustomerDbQueryResult as x, DEEPLINE_TOOL_CATEGORIES as y, type DbNamespace as z };