@qawolf/api-contracts 0.139.0 → 0.141.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.
Files changed (75) hide show
  1. package/LICENSE +21 -0
  2. package/dist/v1/attempt/get.d.ts +2 -0
  3. package/dist/v1/attempt/get.d.ts.map +1 -1
  4. package/dist/v1/attempt/get.js +4 -0
  5. package/dist/v1/attempt/get.js.map +1 -1
  6. package/dist/v1/build/create.d.ts +1 -4
  7. package/dist/v1/build/create.d.ts.map +1 -1
  8. package/dist/v1/build/delete.d.ts +1 -4
  9. package/dist/v1/build/delete.d.ts.map +1 -1
  10. package/dist/v1/build/get.d.ts +1 -4
  11. package/dist/v1/build/get.d.ts.map +1 -1
  12. package/dist/v1/build/index.d.ts +5 -17
  13. package/dist/v1/build/index.d.ts.map +1 -1
  14. package/dist/v1/build/list.d.ts +1 -4
  15. package/dist/v1/build/list.d.ts.map +1 -1
  16. package/dist/v1/build/requestUpload.d.ts +1 -1
  17. package/dist/v1/build/requestUpload.js +3 -3
  18. package/dist/v1/build/requestUpload.js.map +1 -1
  19. package/dist/v1/build/resource.d.ts +2 -8
  20. package/dist/v1/build/resource.d.ts.map +1 -1
  21. package/dist/v1/build/resource.js +5 -6
  22. package/dist/v1/build/resource.js.map +1 -1
  23. package/dist/v1/extensibleValue.d.ts +8 -0
  24. package/dist/v1/extensibleValue.d.ts.map +1 -0
  25. package/dist/v1/extensibleValue.js +10 -0
  26. package/dist/v1/extensibleValue.js.map +1 -0
  27. package/dist/v1/index.d.ts +292 -70
  28. package/dist/v1/index.d.ts.map +1 -1
  29. package/dist/v1/index.js +4 -6
  30. package/dist/v1/index.js.map +1 -1
  31. package/dist/v1/investigation/finding.d.ts +1 -0
  32. package/dist/v1/investigation/finding.d.ts.map +1 -1
  33. package/dist/v1/investigation/finding.js +4 -0
  34. package/dist/v1/investigation/finding.js.map +1 -1
  35. package/dist/v1/investigation/get.d.ts +10 -0
  36. package/dist/v1/investigation/get.d.ts.map +1 -1
  37. package/dist/v1/investigation/get.js +11 -0
  38. package/dist/v1/investigation/get.js.map +1 -1
  39. package/dist/v1/investigation/index.d.ts +10 -0
  40. package/dist/v1/investigation/index.d.ts.map +1 -1
  41. package/dist/v1/issue/contracts.d.ts +36 -0
  42. package/dist/v1/issue/contracts.d.ts.map +1 -1
  43. package/dist/v1/issue/contracts.js +2 -0
  44. package/dist/v1/issue/contracts.js.map +1 -1
  45. package/dist/v1/issue/requestFix.d.ts +42 -0
  46. package/dist/v1/issue/requestFix.d.ts.map +1 -0
  47. package/dist/v1/issue/requestFix.js +52 -0
  48. package/dist/v1/issue/requestFix.js.map +1 -0
  49. package/dist/v1/run/flowAttempts.d.ts +3 -0
  50. package/dist/v1/run/flowAttempts.d.ts.map +1 -1
  51. package/dist/v1/run/flowAttempts.js +4 -0
  52. package/dist/v1/run/flowAttempts.js.map +1 -1
  53. package/dist/v1/run/get.d.ts +8 -8
  54. package/dist/v1/run/versions.d.ts +1 -4
  55. package/dist/v1/run/versions.d.ts.map +1 -1
  56. package/dist/v1/run/versions.js +1 -8
  57. package/dist/v1/run/versions.js.map +1 -1
  58. package/dist/v1/runner/catalog.d.ts +10 -10
  59. package/dist/v1/runner/identity.d.ts +4 -4
  60. package/dist/v1/runner/index.d.ts +4 -4
  61. package/dist/v1/runner/list.d.ts +2 -2
  62. package/dist/v1/runner/runFlow.d.ts +4 -4
  63. package/dist/v1/tag/contracts.d.ts +62 -0
  64. package/dist/v1/tag/contracts.d.ts.map +1 -0
  65. package/dist/v1/tag/contracts.js +7 -0
  66. package/dist/v1/tag/contracts.js.map +1 -0
  67. package/dist/v1/usage/breakdown.d.ts +79 -0
  68. package/dist/v1/usage/breakdown.d.ts.map +1 -0
  69. package/dist/v1/usage/breakdown.js +99 -0
  70. package/dist/v1/usage/breakdown.js.map +1 -0
  71. package/dist/v1/usage/index.d.ts +79 -0
  72. package/dist/v1/usage/index.d.ts.map +1 -0
  73. package/dist/v1/usage/index.js +5 -0
  74. package/dist/v1/usage/index.js.map +1 -0
  75. package/package.json +7 -6
@@ -225,6 +225,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
225
225
  }>;
226
226
  artifacts: z.ZodObject<{
227
227
  logsUrl: z.ZodOptional<z.ZodURL>;
228
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
228
229
  traceUrl: z.ZodOptional<z.ZodURL>;
229
230
  videoUrl: z.ZodOptional<z.ZodURL>;
230
231
  }, z.core.$strip>;
@@ -400,6 +401,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
400
401
  }, z.core.$strip>;
401
402
  evidence: z.ZodOptional<z.ZodObject<{
402
403
  logsUrl: z.ZodOptional<z.ZodURL>;
404
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
403
405
  traceUrl: z.ZodOptional<z.ZodURL>;
404
406
  videoUrl: z.ZodOptional<z.ZodURL>;
405
407
  }, z.core.$strip>>;
@@ -446,10 +448,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
446
448
  environmentId: z.ZodOptional<EnvironmentId>;
447
449
  fileName: z.ZodString;
448
450
  id: z.ZodString;
449
- platform: z.ZodEnum<{
450
- android: "android";
451
- ios: "ios";
452
- }>;
451
+ platform: z.ZodString;
453
452
  sizeBytes: z.ZodOptional<z.ZodNumber>;
454
453
  version: z.ZodOptional<z.ZodString>;
455
454
  url: z.ZodURL;
@@ -486,10 +485,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
486
485
  environmentId: z.ZodOptional<EnvironmentId>;
487
486
  fileName: z.ZodString;
488
487
  id: z.ZodString;
489
- platform: z.ZodEnum<{
490
- android: "android";
491
- ios: "ios";
492
- }>;
488
+ platform: z.ZodString;
493
489
  sizeBytes: z.ZodOptional<z.ZodNumber>;
494
490
  version: z.ZodOptional<z.ZodString>;
495
491
  url: z.ZodURL;
@@ -526,10 +522,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
526
522
  environmentId: z.ZodOptional<EnvironmentId>;
527
523
  fileName: z.ZodString;
528
524
  id: z.ZodString;
529
- platform: z.ZodEnum<{
530
- android: "android";
531
- ios: "ios";
532
- }>;
525
+ platform: z.ZodString;
533
526
  sizeBytes: z.ZodOptional<z.ZodNumber>;
534
527
  version: z.ZodOptional<z.ZodString>;
535
528
  url: z.ZodURL;
@@ -570,10 +563,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
570
563
  environmentId: z.ZodOptional<EnvironmentId>;
571
564
  fileName: z.ZodString;
572
565
  id: z.ZodString;
573
- platform: z.ZodEnum<{
574
- android: "android";
575
- ios: "ios";
576
- }>;
566
+ platform: z.ZodString;
577
567
  sizeBytes: z.ZodOptional<z.ZodNumber>;
578
568
  version: z.ZodOptional<z.ZodString>;
579
569
  url: z.ZodURL;
@@ -616,7 +606,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
616
606
  readonly openWorldHint: false;
617
607
  readonly readOnlyHint: false;
618
608
  };
619
- readonly description: "Get a URL to upload an app build: an .apk, .aab or .ipa, up to 1 GB by default. PUT the file there with uploadHeaders, then call build.create with the buildId.";
609
+ readonly description: "Get a URL to upload an app build: an .apk, .aab, .ipa, or a Linux Electron app as a .deb or .rpm, up to 1 GB by default. PUT the file there with uploadHeaders, then call build.create with the buildId.";
620
610
  readonly input: z.ZodObject<{
621
611
  buildId: z.ZodOptional<z.ZodString>;
622
612
  fileName: z.ZodString;
@@ -1967,6 +1957,15 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
1967
1957
  flowId: FlowId;
1968
1958
  reason: z.ZodString;
1969
1959
  }, z.core.$strip>>;
1960
+ transferredFlows: z.ZodOptional<z.ZodArray<z.ZodObject<{
1961
+ flowId: FlowId;
1962
+ runId: RunId;
1963
+ status: z.ZodEnum<{
1964
+ "checkpoint-pending": "checkpoint-pending";
1965
+ "checkpoint-saved": "checkpoint-saved";
1966
+ "source-unavailable": "source-unavailable";
1967
+ }>;
1968
+ }, z.core.$strip>>>;
1970
1969
  waitingFlowIds: z.ZodArray<FlowId>;
1971
1970
  }, z.core.$strip>>;
1972
1971
  findings: z.ZodArray<z.ZodObject<{
@@ -2030,6 +2029,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2030
2029
  text: z.ZodOptional<z.ZodString>;
2031
2030
  type: z.ZodString;
2032
2031
  }, z.core.$strip>>;
2032
+ revalidationSkippedAttemptId: z.ZodOptional<z.ZodString>;
2033
2033
  state: z.ZodString;
2034
2034
  steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
2035
2035
  subSessionIds: z.ZodArray<ChatSessionId>;
@@ -2769,6 +2769,42 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
2769
2769
  }, z.core.$strip>;
2770
2770
  }, z.core.$strip>;
2771
2771
  };
2772
+ requestFix: {
2773
+ readonly annotationJustifications: {
2774
+ readonly destructiveHint: "Starts a fix and never removes or overwrites data.";
2775
+ readonly openWorldHint: "Starts a workflow in the team's own repository on its code host.";
2776
+ readonly readOnlyHint: "Records a fix and starts the team's coding agent.";
2777
+ };
2778
+ readonly annotations: {
2779
+ readonly destructiveHint: false;
2780
+ readonly openWorldHint: true;
2781
+ readonly readOnlyHint: false;
2782
+ };
2783
+ readonly description: string;
2784
+ readonly input: z.ZodObject<{
2785
+ issueId: IssueId;
2786
+ repository: z.ZodOptional<z.ZodString>;
2787
+ }, z.core.$strip>;
2788
+ readonly kind: "write";
2789
+ readonly name: "issue.requestFix";
2790
+ readonly output: z.ZodObject<{
2791
+ fix: z.ZodObject<{
2792
+ id: z.ZodString;
2793
+ repository: z.ZodString;
2794
+ state: z.ZodEnum<{
2795
+ failed: "failed";
2796
+ sent: "sent";
2797
+ fixing: "fixing";
2798
+ "pull-request-open": "pull-request-open";
2799
+ "no-fix": "no-fix";
2800
+ }>;
2801
+ }, z.core.$strip>;
2802
+ outcome: z.ZodEnum<{
2803
+ requested: "requested";
2804
+ "joined-open-fix": "joined-open-fix";
2805
+ }>;
2806
+ }, z.core.$strip>;
2807
+ };
2772
2808
  update: {
2773
2809
  readonly annotationJustifications: {
2774
2810
  readonly destructiveHint: "Can overwrite existing issue fields or send irreversible integration messages.";
@@ -4008,10 +4044,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4008
4044
  environmentId: z.ZodOptional<EnvironmentId>;
4009
4045
  fileName: z.ZodString;
4010
4046
  id: z.ZodString;
4011
- platform: z.ZodEnum<{
4012
- android: "android";
4013
- ios: "ios";
4014
- }>;
4047
+ platform: z.ZodString;
4015
4048
  sizeBytes: z.ZodOptional<z.ZodNumber>;
4016
4049
  version: z.ZodOptional<z.ZodString>;
4017
4050
  url: z.ZodURL;
@@ -4028,10 +4061,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4028
4061
  buildId: z.ZodOptional<z.ZodString>;
4029
4062
  version: z.ZodOptional<z.ZodString>;
4030
4063
  }, z.core.$strip>>;
4031
- platform: z.ZodEnum<{
4032
- android: "android";
4033
- ios: "ios";
4034
- }>;
4064
+ platform: z.ZodString;
4035
4065
  unreportedAttempts: z.ZodNumber;
4036
4066
  warnings: z.ZodArray<z.ZodString>;
4037
4067
  }, z.core.$strip>>;
@@ -4044,6 +4074,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4044
4074
  status: z.ZodLiteral<"passed">;
4045
4075
  url: z.ZodOptional<z.ZodURL>;
4046
4076
  logsUrl: z.ZodOptional<z.ZodURL>;
4077
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
4047
4078
  traceUrl: z.ZodOptional<z.ZodURL>;
4048
4079
  videoUrl: z.ZodOptional<z.ZodURL>;
4049
4080
  }, z.core.$strip>, z.ZodObject<{
@@ -4054,6 +4085,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4054
4085
  status: z.ZodLiteral<"failed">;
4055
4086
  url: z.ZodOptional<z.ZodURL>;
4056
4087
  logsUrl: z.ZodOptional<z.ZodURL>;
4088
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
4057
4089
  traceUrl: z.ZodOptional<z.ZodURL>;
4058
4090
  videoUrl: z.ZodOptional<z.ZodURL>;
4059
4091
  }, z.core.$strip>, z.ZodObject<{
@@ -4072,6 +4104,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4072
4104
  status: z.ZodLiteral<"passed">;
4073
4105
  url: z.ZodOptional<z.ZodURL>;
4074
4106
  logsUrl: z.ZodOptional<z.ZodURL>;
4107
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
4075
4108
  traceUrl: z.ZodOptional<z.ZodURL>;
4076
4109
  videoUrl: z.ZodOptional<z.ZodURL>;
4077
4110
  }, z.core.$strip>]>>>;
@@ -4107,6 +4140,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4107
4140
  status: z.ZodLiteral<"passed">;
4108
4141
  url: z.ZodOptional<z.ZodURL>;
4109
4142
  logsUrl: z.ZodOptional<z.ZodURL>;
4143
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
4110
4144
  traceUrl: z.ZodOptional<z.ZodURL>;
4111
4145
  videoUrl: z.ZodOptional<z.ZodURL>;
4112
4146
  }, z.core.$strip>, z.ZodObject<{
@@ -4117,6 +4151,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4117
4151
  status: z.ZodLiteral<"failed">;
4118
4152
  url: z.ZodOptional<z.ZodURL>;
4119
4153
  logsUrl: z.ZodOptional<z.ZodURL>;
4154
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
4120
4155
  traceUrl: z.ZodOptional<z.ZodURL>;
4121
4156
  videoUrl: z.ZodOptional<z.ZodURL>;
4122
4157
  }, z.core.$strip>, z.ZodObject<{
@@ -4135,6 +4170,7 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4135
4170
  status: z.ZodLiteral<"passed">;
4136
4171
  url: z.ZodOptional<z.ZodURL>;
4137
4172
  logsUrl: z.ZodOptional<z.ZodURL>;
4173
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
4138
4174
  traceUrl: z.ZodOptional<z.ZodURL>;
4139
4175
  videoUrl: z.ZodOptional<z.ZodURL>;
4140
4176
  }, z.core.$strip>]>>>;
@@ -4415,18 +4451,18 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
4415
4451
  failureReason: z.ZodLiteral<"runner-target-mismatch">;
4416
4452
  outcome: z.ZodLiteral<"failure">;
4417
4453
  requiredRunnerName: z.ZodEnum<{
4418
- android: "android";
4419
- ios: "ios";
4420
4454
  basic: "basic";
4421
4455
  playwright: "playwright";
4456
+ android: "android";
4457
+ ios: "ios";
4422
4458
  windows: "windows";
4423
4459
  mac: "mac";
4424
4460
  }>;
4425
4461
  runnerName: z.ZodEnum<{
4426
- android: "android";
4427
- ios: "ios";
4428
4462
  basic: "basic";
4429
4463
  playwright: "playwright";
4464
+ android: "android";
4465
+ ios: "ios";
4430
4466
  windows: "windows";
4431
4467
  mac: "mac";
4432
4468
  }>;
@@ -5062,10 +5098,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5062
5098
  id: z.ZodString;
5063
5099
  initialUrl: z.ZodOptional<z.ZodURL>;
5064
5100
  runnerName: z.ZodOptional<z.ZodEnum<{
5065
- android: "android";
5066
- ios: "ios";
5067
5101
  basic: "basic";
5068
5102
  playwright: "playwright";
5103
+ android: "android";
5104
+ ios: "ios";
5069
5105
  windows: "windows";
5070
5106
  mac: "mac";
5071
5107
  }>>;
@@ -5077,10 +5113,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5077
5113
  gpuAccelerated: z.ZodBoolean;
5078
5114
  id: z.ZodString;
5079
5115
  runnerName: z.ZodEnum<{
5080
- android: "android";
5081
- ios: "ios";
5082
5116
  basic: "basic";
5083
5117
  playwright: "playwright";
5118
+ android: "android";
5119
+ ios: "ios";
5084
5120
  windows: "windows";
5085
5121
  mac: "mac";
5086
5122
  }>;
@@ -5112,10 +5148,10 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
5112
5148
  gpuAccelerated: z.ZodBoolean;
5113
5149
  id: z.ZodString;
5114
5150
  runnerName: z.ZodEnum<{
5115
- android: "android";
5116
- ios: "ios";
5117
5151
  basic: "basic";
5118
5152
  playwright: "playwright";
5153
+ android: "android";
5154
+ ios: "ios";
5119
5155
  windows: "windows";
5120
5156
  mac: "mac";
5121
5157
  }>;
@@ -6587,6 +6623,81 @@ export declare const makeContractsV1: <EnvironmentId extends PublicIdSchema, Flo
6587
6623
  }, z.core.$strip>;
6588
6624
  };
6589
6625
  };
6626
+ usage: {
6627
+ breakdown: {
6628
+ readonly annotationJustifications: {
6629
+ readonly destructiveHint: "Only reads usage.";
6630
+ readonly openWorldHint: "Reads QA Wolf usage records only.";
6631
+ readonly readOnlyHint: "Adds up recorded usage without changing anything.";
6632
+ };
6633
+ readonly annotations: {
6634
+ readonly destructiveHint: false;
6635
+ readonly openWorldHint: false;
6636
+ readonly readOnlyHint: true;
6637
+ };
6638
+ readonly description: "Show where credits went over a range of UTC days, grouped by time, workspace, environment, platform, source, trigger or user. Use it to find what uses the most credits, or to build a usage dashboard. Credits only, no dollar amounts.";
6639
+ readonly input: z.ZodObject<{
6640
+ from: z.ZodString;
6641
+ groupBy: z.ZodDefault<z.ZodArray<z.ZodEnum<{
6642
+ user: "user";
6643
+ environment: "environment";
6644
+ trigger: "trigger";
6645
+ workspace: "workspace";
6646
+ platform: "platform";
6647
+ source: "source";
6648
+ day: "day";
6649
+ week: "week";
6650
+ month: "month";
6651
+ }>>>;
6652
+ limit: z.ZodDefault<z.ZodNumber>;
6653
+ scope: z.ZodDefault<z.ZodEnum<{
6654
+ organization: "organization";
6655
+ workspace: "workspace";
6656
+ }>>;
6657
+ to: z.ZodString;
6658
+ workspaceId: z.ZodOptional<WorkspaceId>;
6659
+ }, z.core.$strip>;
6660
+ readonly kind: "read";
6661
+ readonly name: "usage.breakdown";
6662
+ readonly output: z.ZodObject<{
6663
+ labels: z.ZodObject<{
6664
+ environments: z.ZodRecord<z.ZodString, z.ZodString>;
6665
+ triggers: z.ZodRecord<z.ZodString, z.ZodString>;
6666
+ users: z.ZodRecord<z.ZodString, z.ZodString>;
6667
+ workspaces: z.ZodRecord<z.ZodString, z.ZodString>;
6668
+ }, z.core.$strip>;
6669
+ others: z.ZodOptional<z.ZodObject<{
6670
+ flowRuns: z.ZodNumber;
6671
+ runCredits: z.ZodNumber;
6672
+ sessionCredits: z.ZodNumber;
6673
+ sessionSeconds: z.ZodNumber;
6674
+ }, z.core.$strip>>;
6675
+ rows: z.ZodArray<z.ZodObject<{
6676
+ flowRuns: z.ZodNumber;
6677
+ runCredits: z.ZodNumber;
6678
+ sessionCredits: z.ZodNumber;
6679
+ sessionSeconds: z.ZodNumber;
6680
+ group: z.ZodObject<{
6681
+ day: z.ZodOptional<z.ZodString>;
6682
+ environment: z.ZodOptional<z.ZodString>;
6683
+ month: z.ZodOptional<z.ZodString>;
6684
+ platform: z.ZodOptional<z.ZodString>;
6685
+ source: z.ZodOptional<z.ZodString>;
6686
+ trigger: z.ZodOptional<z.ZodString>;
6687
+ user: z.ZodOptional<z.ZodString>;
6688
+ week: z.ZodOptional<z.ZodString>;
6689
+ workspace: z.ZodOptional<z.ZodString>;
6690
+ }, z.core.$strip>;
6691
+ }, z.core.$strip>>;
6692
+ totals: z.ZodObject<{
6693
+ flowRuns: z.ZodNumber;
6694
+ runCredits: z.ZodNumber;
6695
+ sessionCredits: z.ZodNumber;
6696
+ sessionSeconds: z.ZodNumber;
6697
+ }, z.core.$strip>;
6698
+ }, z.core.$strip>;
6699
+ };
6700
+ };
6590
6701
  };
6591
6702
  export declare const publicContractsV1: {
6592
6703
  activity: {
@@ -6801,6 +6912,7 @@ export declare const publicContractsV1: {
6801
6912
  }>;
6802
6913
  artifacts: z.ZodObject<{
6803
6914
  logsUrl: z.ZodOptional<z.ZodURL>;
6915
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
6804
6916
  traceUrl: z.ZodOptional<z.ZodURL>;
6805
6917
  videoUrl: z.ZodOptional<z.ZodURL>;
6806
6918
  }, z.core.$strip>;
@@ -6976,6 +7088,7 @@ export declare const publicContractsV1: {
6976
7088
  }, z.core.$strip>;
6977
7089
  evidence: z.ZodOptional<z.ZodObject<{
6978
7090
  logsUrl: z.ZodOptional<z.ZodURL>;
7091
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
6979
7092
  traceUrl: z.ZodOptional<z.ZodURL>;
6980
7093
  videoUrl: z.ZodOptional<z.ZodURL>;
6981
7094
  }, z.core.$strip>>;
@@ -7022,10 +7135,7 @@ export declare const publicContractsV1: {
7022
7135
  environmentId: z.ZodOptional<PublicIdSchema>;
7023
7136
  fileName: z.ZodString;
7024
7137
  id: z.ZodString;
7025
- platform: z.ZodEnum<{
7026
- android: "android";
7027
- ios: "ios";
7028
- }>;
7138
+ platform: z.ZodString;
7029
7139
  sizeBytes: z.ZodOptional<z.ZodNumber>;
7030
7140
  version: z.ZodOptional<z.ZodString>;
7031
7141
  url: z.ZodURL;
@@ -7062,10 +7172,7 @@ export declare const publicContractsV1: {
7062
7172
  environmentId: z.ZodOptional<PublicIdSchema>;
7063
7173
  fileName: z.ZodString;
7064
7174
  id: z.ZodString;
7065
- platform: z.ZodEnum<{
7066
- android: "android";
7067
- ios: "ios";
7068
- }>;
7175
+ platform: z.ZodString;
7069
7176
  sizeBytes: z.ZodOptional<z.ZodNumber>;
7070
7177
  version: z.ZodOptional<z.ZodString>;
7071
7178
  url: z.ZodURL;
@@ -7102,10 +7209,7 @@ export declare const publicContractsV1: {
7102
7209
  environmentId: z.ZodOptional<PublicIdSchema>;
7103
7210
  fileName: z.ZodString;
7104
7211
  id: z.ZodString;
7105
- platform: z.ZodEnum<{
7106
- android: "android";
7107
- ios: "ios";
7108
- }>;
7212
+ platform: z.ZodString;
7109
7213
  sizeBytes: z.ZodOptional<z.ZodNumber>;
7110
7214
  version: z.ZodOptional<z.ZodString>;
7111
7215
  url: z.ZodURL;
@@ -7146,10 +7250,7 @@ export declare const publicContractsV1: {
7146
7250
  environmentId: z.ZodOptional<PublicIdSchema>;
7147
7251
  fileName: z.ZodString;
7148
7252
  id: z.ZodString;
7149
- platform: z.ZodEnum<{
7150
- android: "android";
7151
- ios: "ios";
7152
- }>;
7253
+ platform: z.ZodString;
7153
7254
  sizeBytes: z.ZodOptional<z.ZodNumber>;
7154
7255
  version: z.ZodOptional<z.ZodString>;
7155
7256
  url: z.ZodURL;
@@ -7192,7 +7293,7 @@ export declare const publicContractsV1: {
7192
7293
  readonly openWorldHint: false;
7193
7294
  readonly readOnlyHint: false;
7194
7295
  };
7195
- readonly description: "Get a URL to upload an app build: an .apk, .aab or .ipa, up to 1 GB by default. PUT the file there with uploadHeaders, then call build.create with the buildId.";
7296
+ readonly description: "Get a URL to upload an app build: an .apk, .aab, .ipa, or a Linux Electron app as a .deb or .rpm, up to 1 GB by default. PUT the file there with uploadHeaders, then call build.create with the buildId.";
7196
7297
  readonly input: z.ZodObject<{
7197
7298
  buildId: z.ZodOptional<z.ZodString>;
7198
7299
  fileName: z.ZodString;
@@ -8543,6 +8644,15 @@ export declare const publicContractsV1: {
8543
8644
  flowId: PublicIdSchema;
8544
8645
  reason: z.ZodString;
8545
8646
  }, z.core.$strip>>;
8647
+ transferredFlows: z.ZodOptional<z.ZodArray<z.ZodObject<{
8648
+ flowId: PublicIdSchema;
8649
+ runId: PublicIdSchema;
8650
+ status: z.ZodEnum<{
8651
+ "checkpoint-pending": "checkpoint-pending";
8652
+ "checkpoint-saved": "checkpoint-saved";
8653
+ "source-unavailable": "source-unavailable";
8654
+ }>;
8655
+ }, z.core.$strip>>>;
8546
8656
  waitingFlowIds: z.ZodArray<PublicIdSchema>;
8547
8657
  }, z.core.$strip>>;
8548
8658
  findings: z.ZodArray<z.ZodObject<{
@@ -8606,6 +8716,7 @@ export declare const publicContractsV1: {
8606
8716
  text: z.ZodOptional<z.ZodString>;
8607
8717
  type: z.ZodString;
8608
8718
  }, z.core.$strip>>;
8719
+ revalidationSkippedAttemptId: z.ZodOptional<z.ZodString>;
8609
8720
  state: z.ZodString;
8610
8721
  steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
8611
8722
  subSessionIds: z.ZodArray<PublicIdSchema>;
@@ -9345,6 +9456,42 @@ export declare const publicContractsV1: {
9345
9456
  }, z.core.$strip>;
9346
9457
  }, z.core.$strip>;
9347
9458
  };
9459
+ requestFix: {
9460
+ readonly annotationJustifications: {
9461
+ readonly destructiveHint: "Starts a fix and never removes or overwrites data.";
9462
+ readonly openWorldHint: "Starts a workflow in the team's own repository on its code host.";
9463
+ readonly readOnlyHint: "Records a fix and starts the team's coding agent.";
9464
+ };
9465
+ readonly annotations: {
9466
+ readonly destructiveHint: false;
9467
+ readonly openWorldHint: true;
9468
+ readonly readOnlyHint: false;
9469
+ };
9470
+ readonly description: string;
9471
+ readonly input: z.ZodObject<{
9472
+ issueId: PublicIdSchema;
9473
+ repository: z.ZodOptional<z.ZodString>;
9474
+ }, z.core.$strip>;
9475
+ readonly kind: "write";
9476
+ readonly name: "issue.requestFix";
9477
+ readonly output: z.ZodObject<{
9478
+ fix: z.ZodObject<{
9479
+ id: z.ZodString;
9480
+ repository: z.ZodString;
9481
+ state: z.ZodEnum<{
9482
+ failed: "failed";
9483
+ sent: "sent";
9484
+ fixing: "fixing";
9485
+ "pull-request-open": "pull-request-open";
9486
+ "no-fix": "no-fix";
9487
+ }>;
9488
+ }, z.core.$strip>;
9489
+ outcome: z.ZodEnum<{
9490
+ requested: "requested";
9491
+ "joined-open-fix": "joined-open-fix";
9492
+ }>;
9493
+ }, z.core.$strip>;
9494
+ };
9348
9495
  update: {
9349
9496
  readonly annotationJustifications: {
9350
9497
  readonly destructiveHint: "Can overwrite existing issue fields or send irreversible integration messages.";
@@ -10584,10 +10731,7 @@ export declare const publicContractsV1: {
10584
10731
  environmentId: z.ZodOptional<PublicIdSchema>;
10585
10732
  fileName: z.ZodString;
10586
10733
  id: z.ZodString;
10587
- platform: z.ZodEnum<{
10588
- android: "android";
10589
- ios: "ios";
10590
- }>;
10734
+ platform: z.ZodString;
10591
10735
  sizeBytes: z.ZodOptional<z.ZodNumber>;
10592
10736
  version: z.ZodOptional<z.ZodString>;
10593
10737
  url: z.ZodURL;
@@ -10604,10 +10748,7 @@ export declare const publicContractsV1: {
10604
10748
  buildId: z.ZodOptional<z.ZodString>;
10605
10749
  version: z.ZodOptional<z.ZodString>;
10606
10750
  }, z.core.$strip>>;
10607
- platform: z.ZodEnum<{
10608
- android: "android";
10609
- ios: "ios";
10610
- }>;
10751
+ platform: z.ZodString;
10611
10752
  unreportedAttempts: z.ZodNumber;
10612
10753
  warnings: z.ZodArray<z.ZodString>;
10613
10754
  }, z.core.$strip>>;
@@ -10620,6 +10761,7 @@ export declare const publicContractsV1: {
10620
10761
  status: z.ZodLiteral<"passed">;
10621
10762
  url: z.ZodOptional<z.ZodURL>;
10622
10763
  logsUrl: z.ZodOptional<z.ZodURL>;
10764
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
10623
10765
  traceUrl: z.ZodOptional<z.ZodURL>;
10624
10766
  videoUrl: z.ZodOptional<z.ZodURL>;
10625
10767
  }, z.core.$strip>, z.ZodObject<{
@@ -10630,6 +10772,7 @@ export declare const publicContractsV1: {
10630
10772
  status: z.ZodLiteral<"failed">;
10631
10773
  url: z.ZodOptional<z.ZodURL>;
10632
10774
  logsUrl: z.ZodOptional<z.ZodURL>;
10775
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
10633
10776
  traceUrl: z.ZodOptional<z.ZodURL>;
10634
10777
  videoUrl: z.ZodOptional<z.ZodURL>;
10635
10778
  }, z.core.$strip>, z.ZodObject<{
@@ -10648,6 +10791,7 @@ export declare const publicContractsV1: {
10648
10791
  status: z.ZodLiteral<"passed">;
10649
10792
  url: z.ZodOptional<z.ZodURL>;
10650
10793
  logsUrl: z.ZodOptional<z.ZodURL>;
10794
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
10651
10795
  traceUrl: z.ZodOptional<z.ZodURL>;
10652
10796
  videoUrl: z.ZodOptional<z.ZodURL>;
10653
10797
  }, z.core.$strip>]>>>;
@@ -10683,6 +10827,7 @@ export declare const publicContractsV1: {
10683
10827
  status: z.ZodLiteral<"passed">;
10684
10828
  url: z.ZodOptional<z.ZodURL>;
10685
10829
  logsUrl: z.ZodOptional<z.ZodURL>;
10830
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
10686
10831
  traceUrl: z.ZodOptional<z.ZodURL>;
10687
10832
  videoUrl: z.ZodOptional<z.ZodURL>;
10688
10833
  }, z.core.$strip>, z.ZodObject<{
@@ -10693,6 +10838,7 @@ export declare const publicContractsV1: {
10693
10838
  status: z.ZodLiteral<"failed">;
10694
10839
  url: z.ZodOptional<z.ZodURL>;
10695
10840
  logsUrl: z.ZodOptional<z.ZodURL>;
10841
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
10696
10842
  traceUrl: z.ZodOptional<z.ZodURL>;
10697
10843
  videoUrl: z.ZodOptional<z.ZodURL>;
10698
10844
  }, z.core.$strip>, z.ZodObject<{
@@ -10711,6 +10857,7 @@ export declare const publicContractsV1: {
10711
10857
  status: z.ZodLiteral<"passed">;
10712
10858
  url: z.ZodOptional<z.ZodURL>;
10713
10859
  logsUrl: z.ZodOptional<z.ZodURL>;
10860
+ networkLogsUrl: z.ZodOptional<z.ZodURL>;
10714
10861
  traceUrl: z.ZodOptional<z.ZodURL>;
10715
10862
  videoUrl: z.ZodOptional<z.ZodURL>;
10716
10863
  }, z.core.$strip>]>>>;
@@ -10991,18 +11138,18 @@ export declare const publicContractsV1: {
10991
11138
  failureReason: z.ZodLiteral<"runner-target-mismatch">;
10992
11139
  outcome: z.ZodLiteral<"failure">;
10993
11140
  requiredRunnerName: z.ZodEnum<{
10994
- android: "android";
10995
- ios: "ios";
10996
11141
  basic: "basic";
10997
11142
  playwright: "playwright";
11143
+ android: "android";
11144
+ ios: "ios";
10998
11145
  windows: "windows";
10999
11146
  mac: "mac";
11000
11147
  }>;
11001
11148
  runnerName: z.ZodEnum<{
11002
- android: "android";
11003
- ios: "ios";
11004
11149
  basic: "basic";
11005
11150
  playwright: "playwright";
11151
+ android: "android";
11152
+ ios: "ios";
11006
11153
  windows: "windows";
11007
11154
  mac: "mac";
11008
11155
  }>;
@@ -11638,10 +11785,10 @@ export declare const publicContractsV1: {
11638
11785
  id: z.ZodString;
11639
11786
  initialUrl: z.ZodOptional<z.ZodURL>;
11640
11787
  runnerName: z.ZodOptional<z.ZodEnum<{
11641
- android: "android";
11642
- ios: "ios";
11643
11788
  basic: "basic";
11644
11789
  playwright: "playwright";
11790
+ android: "android";
11791
+ ios: "ios";
11645
11792
  windows: "windows";
11646
11793
  mac: "mac";
11647
11794
  }>>;
@@ -11653,10 +11800,10 @@ export declare const publicContractsV1: {
11653
11800
  gpuAccelerated: z.ZodBoolean;
11654
11801
  id: z.ZodString;
11655
11802
  runnerName: z.ZodEnum<{
11656
- android: "android";
11657
- ios: "ios";
11658
11803
  basic: "basic";
11659
11804
  playwright: "playwright";
11805
+ android: "android";
11806
+ ios: "ios";
11660
11807
  windows: "windows";
11661
11808
  mac: "mac";
11662
11809
  }>;
@@ -11688,10 +11835,10 @@ export declare const publicContractsV1: {
11688
11835
  gpuAccelerated: z.ZodBoolean;
11689
11836
  id: z.ZodString;
11690
11837
  runnerName: z.ZodEnum<{
11691
- android: "android";
11692
- ios: "ios";
11693
11838
  basic: "basic";
11694
11839
  playwright: "playwright";
11840
+ android: "android";
11841
+ ios: "ios";
11695
11842
  windows: "windows";
11696
11843
  mac: "mac";
11697
11844
  }>;
@@ -13163,5 +13310,80 @@ export declare const publicContractsV1: {
13163
13310
  }, z.core.$strip>;
13164
13311
  };
13165
13312
  };
13313
+ usage: {
13314
+ breakdown: {
13315
+ readonly annotationJustifications: {
13316
+ readonly destructiveHint: "Only reads usage.";
13317
+ readonly openWorldHint: "Reads QA Wolf usage records only.";
13318
+ readonly readOnlyHint: "Adds up recorded usage without changing anything.";
13319
+ };
13320
+ readonly annotations: {
13321
+ readonly destructiveHint: false;
13322
+ readonly openWorldHint: false;
13323
+ readonly readOnlyHint: true;
13324
+ };
13325
+ readonly description: "Show where credits went over a range of UTC days, grouped by time, workspace, environment, platform, source, trigger or user. Use it to find what uses the most credits, or to build a usage dashboard. Credits only, no dollar amounts.";
13326
+ readonly input: z.ZodObject<{
13327
+ from: z.ZodString;
13328
+ groupBy: z.ZodDefault<z.ZodArray<z.ZodEnum<{
13329
+ user: "user";
13330
+ environment: "environment";
13331
+ trigger: "trigger";
13332
+ workspace: "workspace";
13333
+ platform: "platform";
13334
+ source: "source";
13335
+ day: "day";
13336
+ week: "week";
13337
+ month: "month";
13338
+ }>>>;
13339
+ limit: z.ZodDefault<z.ZodNumber>;
13340
+ scope: z.ZodDefault<z.ZodEnum<{
13341
+ organization: "organization";
13342
+ workspace: "workspace";
13343
+ }>>;
13344
+ to: z.ZodString;
13345
+ workspaceId: z.ZodOptional<PublicIdSchema>;
13346
+ }, z.core.$strip>;
13347
+ readonly kind: "read";
13348
+ readonly name: "usage.breakdown";
13349
+ readonly output: z.ZodObject<{
13350
+ labels: z.ZodObject<{
13351
+ environments: z.ZodRecord<z.ZodString, z.ZodString>;
13352
+ triggers: z.ZodRecord<z.ZodString, z.ZodString>;
13353
+ users: z.ZodRecord<z.ZodString, z.ZodString>;
13354
+ workspaces: z.ZodRecord<z.ZodString, z.ZodString>;
13355
+ }, z.core.$strip>;
13356
+ others: z.ZodOptional<z.ZodObject<{
13357
+ flowRuns: z.ZodNumber;
13358
+ runCredits: z.ZodNumber;
13359
+ sessionCredits: z.ZodNumber;
13360
+ sessionSeconds: z.ZodNumber;
13361
+ }, z.core.$strip>>;
13362
+ rows: z.ZodArray<z.ZodObject<{
13363
+ flowRuns: z.ZodNumber;
13364
+ runCredits: z.ZodNumber;
13365
+ sessionCredits: z.ZodNumber;
13366
+ sessionSeconds: z.ZodNumber;
13367
+ group: z.ZodObject<{
13368
+ day: z.ZodOptional<z.ZodString>;
13369
+ environment: z.ZodOptional<z.ZodString>;
13370
+ month: z.ZodOptional<z.ZodString>;
13371
+ platform: z.ZodOptional<z.ZodString>;
13372
+ source: z.ZodOptional<z.ZodString>;
13373
+ trigger: z.ZodOptional<z.ZodString>;
13374
+ user: z.ZodOptional<z.ZodString>;
13375
+ week: z.ZodOptional<z.ZodString>;
13376
+ workspace: z.ZodOptional<z.ZodString>;
13377
+ }, z.core.$strip>;
13378
+ }, z.core.$strip>>;
13379
+ totals: z.ZodObject<{
13380
+ flowRuns: z.ZodNumber;
13381
+ runCredits: z.ZodNumber;
13382
+ sessionCredits: z.ZodNumber;
13383
+ sessionSeconds: z.ZodNumber;
13384
+ }, z.core.$strip>;
13385
+ }, z.core.$strip>;
13386
+ };
13387
+ };
13166
13388
  };
13167
13389
  //# sourceMappingURL=index.d.ts.map