@sentry/api 0.207.0 → 0.208.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/types.gen.d.ts +12 -2
- package/dist/zod.gen.d.ts +14 -0
- package/dist/zod.js +12 -2
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export type ClientOptions = {
|
|
|
6
6
|
*/
|
|
7
7
|
export type AutofixPostResponse = {
|
|
8
8
|
run_id: number;
|
|
9
|
+
sentry_run_id: string | null;
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
11
12
|
* Response type for the GET endpoint
|
|
@@ -2536,9 +2537,13 @@ export type ExplorerAutofixRequest = {
|
|
|
2536
2537
|
*/
|
|
2537
2538
|
stopping_point?: 'root_cause' | 'solution' | 'code_changes' | 'open_pr';
|
|
2538
2539
|
/**
|
|
2539
|
-
*
|
|
2540
|
+
* **Deprecated** in favor of sentry_run_id; retained for backward compatibility. The existing run's numeric Seer id to continue. If neither run_id nor sentry_run_id is provided, starts a new run.
|
|
2540
2541
|
*/
|
|
2541
2542
|
run_id?: number;
|
|
2543
|
+
/**
|
|
2544
|
+
* Existing run's UUID to continue. Preferred over run_id, and takes precedence when both are given.
|
|
2545
|
+
*/
|
|
2546
|
+
sentry_run_id?: string;
|
|
2542
2547
|
/**
|
|
2543
2548
|
* Coding agent integration ID. Required for coding_agent_handoff step (unless provider is specified).
|
|
2544
2549
|
*/
|
|
@@ -32149,9 +32154,13 @@ export type CreateOrganizationIssueAutofixData = {
|
|
|
32149
32154
|
*/
|
|
32150
32155
|
stopping_point?: 'root_cause' | 'solution' | 'code_changes' | 'open_pr';
|
|
32151
32156
|
/**
|
|
32152
|
-
*
|
|
32157
|
+
* **Deprecated** in favor of sentry_run_id; retained for backward compatibility. The existing run's numeric Seer id to continue. If neither run_id nor sentry_run_id is provided, starts a new run.
|
|
32153
32158
|
*/
|
|
32154
32159
|
run_id?: number;
|
|
32160
|
+
/**
|
|
32161
|
+
* Existing run's UUID to continue. Preferred over run_id, and takes precedence when both are given.
|
|
32162
|
+
*/
|
|
32163
|
+
sentry_run_id?: string;
|
|
32155
32164
|
/**
|
|
32156
32165
|
* Coding agent integration ID. Required for coding_agent_handoff step (unless provider is specified).
|
|
32157
32166
|
*/
|
|
@@ -32214,6 +32223,7 @@ export type CreateOrganizationIssueAutofixResponses = {
|
|
|
32214
32223
|
*/
|
|
32215
32224
|
202: {
|
|
32216
32225
|
run_id: number;
|
|
32226
|
+
sentry_run_id: string | null;
|
|
32217
32227
|
};
|
|
32218
32228
|
};
|
|
32219
32229
|
export type CreateOrganizationIssueAutofixResponse = CreateOrganizationIssueAutofixResponses[keyof CreateOrganizationIssueAutofixResponses];
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -4,10 +4,13 @@ import { z } from 'zod';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const zAutofixPostResponse: z.ZodObject<{
|
|
6
6
|
run_id: z.ZodNumber;
|
|
7
|
+
sentry_run_id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
|
8
9
|
run_id: number;
|
|
10
|
+
sentry_run_id: string | null;
|
|
9
11
|
}, {
|
|
10
12
|
run_id: number;
|
|
13
|
+
sentry_run_id: string | null;
|
|
11
14
|
}>;
|
|
12
15
|
/**
|
|
13
16
|
* Response type for the GET endpoint
|
|
@@ -5310,6 +5313,7 @@ export declare const zExplorerAutofixRequest: z.ZodObject<{
|
|
|
5310
5313
|
step: z.ZodOptional<z.ZodEnum<["root_cause", "solution", "code_changes", "open_pr", "coding_agent_handoff"]>>;
|
|
5311
5314
|
stopping_point: z.ZodOptional<z.ZodEnum<["root_cause", "solution", "code_changes", "open_pr"]>>;
|
|
5312
5315
|
run_id: z.ZodOptional<z.ZodNumber>;
|
|
5316
|
+
sentry_run_id: z.ZodOptional<z.ZodString>;
|
|
5313
5317
|
integration_id: z.ZodOptional<z.ZodNumber>;
|
|
5314
5318
|
provider: z.ZodOptional<z.ZodString>;
|
|
5315
5319
|
user_context: z.ZodOptional<z.ZodString>;
|
|
@@ -5320,6 +5324,7 @@ export declare const zExplorerAutofixRequest: z.ZodObject<{
|
|
|
5320
5324
|
referrer?: string | undefined;
|
|
5321
5325
|
integration_id?: number | undefined;
|
|
5322
5326
|
run_id?: number | undefined;
|
|
5327
|
+
sentry_run_id?: string | undefined;
|
|
5323
5328
|
provider?: string | undefined;
|
|
5324
5329
|
step?: "root_cause" | "solution" | "code_changes" | "open_pr" | "coding_agent_handoff" | undefined;
|
|
5325
5330
|
stopping_point?: "root_cause" | "solution" | "code_changes" | "open_pr" | undefined;
|
|
@@ -5330,6 +5335,7 @@ export declare const zExplorerAutofixRequest: z.ZodObject<{
|
|
|
5330
5335
|
referrer?: string | undefined;
|
|
5331
5336
|
integration_id?: number | undefined;
|
|
5332
5337
|
run_id?: number | undefined;
|
|
5338
|
+
sentry_run_id?: string | undefined;
|
|
5333
5339
|
provider?: string | undefined;
|
|
5334
5340
|
step?: "root_cause" | "solution" | "code_changes" | "open_pr" | "coding_agent_handoff" | undefined;
|
|
5335
5341
|
stopping_point?: "root_cause" | "solution" | "code_changes" | "open_pr" | undefined;
|
|
@@ -73085,6 +73091,7 @@ export declare const zCreateOrganizationIssueAutofixData: z.ZodObject<{
|
|
|
73085
73091
|
step: z.ZodOptional<z.ZodEnum<["root_cause", "solution", "code_changes", "open_pr", "coding_agent_handoff"]>>;
|
|
73086
73092
|
stopping_point: z.ZodOptional<z.ZodEnum<["root_cause", "solution", "code_changes", "open_pr"]>>;
|
|
73087
73093
|
run_id: z.ZodOptional<z.ZodNumber>;
|
|
73094
|
+
sentry_run_id: z.ZodOptional<z.ZodString>;
|
|
73088
73095
|
integration_id: z.ZodOptional<z.ZodNumber>;
|
|
73089
73096
|
provider: z.ZodOptional<z.ZodString>;
|
|
73090
73097
|
user_context: z.ZodOptional<z.ZodString>;
|
|
@@ -73095,6 +73102,7 @@ export declare const zCreateOrganizationIssueAutofixData: z.ZodObject<{
|
|
|
73095
73102
|
referrer?: string | undefined;
|
|
73096
73103
|
integration_id?: number | undefined;
|
|
73097
73104
|
run_id?: number | undefined;
|
|
73105
|
+
sentry_run_id?: string | undefined;
|
|
73098
73106
|
provider?: string | undefined;
|
|
73099
73107
|
step?: "root_cause" | "solution" | "code_changes" | "open_pr" | "coding_agent_handoff" | undefined;
|
|
73100
73108
|
stopping_point?: "root_cause" | "solution" | "code_changes" | "open_pr" | undefined;
|
|
@@ -73105,6 +73113,7 @@ export declare const zCreateOrganizationIssueAutofixData: z.ZodObject<{
|
|
|
73105
73113
|
referrer?: string | undefined;
|
|
73106
73114
|
integration_id?: number | undefined;
|
|
73107
73115
|
run_id?: number | undefined;
|
|
73116
|
+
sentry_run_id?: string | undefined;
|
|
73108
73117
|
provider?: string | undefined;
|
|
73109
73118
|
step?: "root_cause" | "solution" | "code_changes" | "open_pr" | "coding_agent_handoff" | undefined;
|
|
73110
73119
|
stopping_point?: "root_cause" | "solution" | "code_changes" | "open_pr" | undefined;
|
|
@@ -73133,6 +73142,7 @@ export declare const zCreateOrganizationIssueAutofixData: z.ZodObject<{
|
|
|
73133
73142
|
referrer?: string | undefined;
|
|
73134
73143
|
integration_id?: number | undefined;
|
|
73135
73144
|
run_id?: number | undefined;
|
|
73145
|
+
sentry_run_id?: string | undefined;
|
|
73136
73146
|
provider?: string | undefined;
|
|
73137
73147
|
step?: "root_cause" | "solution" | "code_changes" | "open_pr" | "coding_agent_handoff" | undefined;
|
|
73138
73148
|
stopping_point?: "root_cause" | "solution" | "code_changes" | "open_pr" | undefined;
|
|
@@ -73150,6 +73160,7 @@ export declare const zCreateOrganizationIssueAutofixData: z.ZodObject<{
|
|
|
73150
73160
|
referrer?: string | undefined;
|
|
73151
73161
|
integration_id?: number | undefined;
|
|
73152
73162
|
run_id?: number | undefined;
|
|
73163
|
+
sentry_run_id?: string | undefined;
|
|
73153
73164
|
provider?: string | undefined;
|
|
73154
73165
|
step?: "root_cause" | "solution" | "code_changes" | "open_pr" | "coding_agent_handoff" | undefined;
|
|
73155
73166
|
stopping_point?: "root_cause" | "solution" | "code_changes" | "open_pr" | undefined;
|
|
@@ -73163,10 +73174,13 @@ export declare const zCreateOrganizationIssueAutofixData: z.ZodObject<{
|
|
|
73163
73174
|
*/
|
|
73164
73175
|
export declare const zCreateOrganizationIssueAutofixResponse: z.ZodObject<{
|
|
73165
73176
|
run_id: z.ZodNumber;
|
|
73177
|
+
sentry_run_id: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
73166
73178
|
}, "strip", z.ZodTypeAny, {
|
|
73167
73179
|
run_id: number;
|
|
73180
|
+
sentry_run_id: string | null;
|
|
73168
73181
|
}, {
|
|
73169
73182
|
run_id: number;
|
|
73183
|
+
sentry_run_id: string | null;
|
|
73170
73184
|
}>;
|
|
73171
73185
|
export declare const zListOrganizationIssueEventsData: z.ZodObject<{
|
|
73172
73186
|
body: z.ZodOptional<z.ZodNever>;
|
package/dist/zod.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// src/zod.gen.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
var zAutofixPostResponse = z.object({
|
|
4
|
-
run_id: z.number().int()
|
|
4
|
+
run_id: z.number().int(),
|
|
5
|
+
sentry_run_id: z.union([
|
|
6
|
+
z.string(),
|
|
7
|
+
z.null()
|
|
8
|
+
])
|
|
5
9
|
});
|
|
6
10
|
var zAutofixStateResponse = z.object({
|
|
7
11
|
autofix: z.union([
|
|
@@ -2379,6 +2383,7 @@ var zExplorerAutofixRequest = z.object({
|
|
|
2379
2383
|
"open_pr"
|
|
2380
2384
|
]).optional(),
|
|
2381
2385
|
run_id: z.number().int().optional(),
|
|
2386
|
+
sentry_run_id: z.string().uuid().optional(),
|
|
2382
2387
|
integration_id: z.number().int().optional(),
|
|
2383
2388
|
provider: z.string().optional(),
|
|
2384
2389
|
user_context: z.string().max(1000).optional(),
|
|
@@ -27554,6 +27559,7 @@ var zCreateOrganizationIssueAutofixData = z.object({
|
|
|
27554
27559
|
"open_pr"
|
|
27555
27560
|
]).optional(),
|
|
27556
27561
|
run_id: z.number().int().optional(),
|
|
27562
|
+
sentry_run_id: z.string().uuid().optional(),
|
|
27557
27563
|
integration_id: z.number().int().optional(),
|
|
27558
27564
|
provider: z.string().optional(),
|
|
27559
27565
|
user_context: z.string().max(1000).optional(),
|
|
@@ -27568,7 +27574,11 @@ var zCreateOrganizationIssueAutofixData = z.object({
|
|
|
27568
27574
|
query: z.never().optional()
|
|
27569
27575
|
});
|
|
27570
27576
|
var zCreateOrganizationIssueAutofixResponse = z.object({
|
|
27571
|
-
run_id: z.number().int()
|
|
27577
|
+
run_id: z.number().int(),
|
|
27578
|
+
sentry_run_id: z.union([
|
|
27579
|
+
z.string(),
|
|
27580
|
+
z.null()
|
|
27581
|
+
])
|
|
27572
27582
|
});
|
|
27573
27583
|
var zListOrganizationIssueEventsData = z.object({
|
|
27574
27584
|
body: z.never().optional(),
|