@sentry/api 0.264.0 → 0.266.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 +39 -2
- package/dist/valibot.gen.d.ts +20 -1
- package/dist/valibot.js +23 -4
- package/dist/zod.gen.d.ts +90 -3
- package/dist/zod.js +23 -4
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -12,6 +12,13 @@ export type AutofixPostResponse = {
|
|
|
12
12
|
* Response type for the GET endpoint
|
|
13
13
|
*/
|
|
14
14
|
export type AutofixStateResponse = {
|
|
15
|
+
/**
|
|
16
|
+
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
17
|
+
*/
|
|
18
|
+
formatted?: {
|
|
19
|
+
format: 'markdown' | 'xml';
|
|
20
|
+
content: string;
|
|
21
|
+
};
|
|
15
22
|
autofix: {
|
|
16
23
|
[key: string]: unknown;
|
|
17
24
|
} | null;
|
|
@@ -3810,6 +3817,13 @@ export type IssueEventDetailsResponse = {
|
|
|
3810
3817
|
resolvedWith: Array<string>;
|
|
3811
3818
|
nextEventID: string | null;
|
|
3812
3819
|
previousEventID: string | null;
|
|
3820
|
+
/**
|
|
3821
|
+
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
3822
|
+
*/
|
|
3823
|
+
formatted?: {
|
|
3824
|
+
format: 'markdown' | 'xml';
|
|
3825
|
+
content: string;
|
|
3826
|
+
};
|
|
3813
3827
|
};
|
|
3814
3828
|
export type LatestBaseSnapshotResponse = {
|
|
3815
3829
|
head_artifact_id?: string;
|
|
@@ -29253,7 +29267,7 @@ export type GetProjectInstallableBuildLatestData = {
|
|
|
29253
29267
|
*/
|
|
29254
29268
|
buildVersion?: string;
|
|
29255
29269
|
/**
|
|
29256
|
-
* Current build number. Accepts a plain integer (e.g. 42) or a version string of two
|
|
29270
|
+
* Current build number. Accepts a plain integer (e.g. 42) or a version string of two or more period-separated integers (e.g. 1.2.3), each up to 6 digits. Groups beyond the third are dropped. Either this or mainBinaryIdentifier must be provided when buildVersion is set.
|
|
29257
29271
|
*/
|
|
29258
29272
|
buildNumber?: number | string;
|
|
29259
29273
|
/**
|
|
@@ -34073,7 +34087,12 @@ export type GetOrganizationIssueAutofixStateData = {
|
|
|
34073
34087
|
*/
|
|
34074
34088
|
issue_id: string;
|
|
34075
34089
|
};
|
|
34076
|
-
query?:
|
|
34090
|
+
query?: {
|
|
34091
|
+
/**
|
|
34092
|
+
* If set, adds a `formatted` field to the response with the autofix rendered as the requested format for LLM consumption.
|
|
34093
|
+
*/
|
|
34094
|
+
llmFormat?: 'markdown' | 'xml';
|
|
34095
|
+
};
|
|
34077
34096
|
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/autofix/';
|
|
34078
34097
|
};
|
|
34079
34098
|
export type GetOrganizationIssueAutofixStateErrors = {
|
|
@@ -34095,6 +34114,13 @@ export type GetOrganizationIssueAutofixStateResponses = {
|
|
|
34095
34114
|
* Response type for the GET endpoint
|
|
34096
34115
|
*/
|
|
34097
34116
|
200: {
|
|
34117
|
+
/**
|
|
34118
|
+
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
34119
|
+
*/
|
|
34120
|
+
formatted?: {
|
|
34121
|
+
format: 'markdown' | 'xml';
|
|
34122
|
+
content: string;
|
|
34123
|
+
};
|
|
34098
34124
|
autofix: {
|
|
34099
34125
|
[key: string]: unknown;
|
|
34100
34126
|
} | null;
|
|
@@ -34340,6 +34366,10 @@ export type GetOrganizationIssueEventData = {
|
|
|
34340
34366
|
* The name of environments to filter by.
|
|
34341
34367
|
*/
|
|
34342
34368
|
environment?: Array<string>;
|
|
34369
|
+
/**
|
|
34370
|
+
* If set, adds a `formatted` field to the response with the event rendered as the requested format for LLM consumption.
|
|
34371
|
+
*/
|
|
34372
|
+
llmFormat?: 'markdown' | 'xml';
|
|
34343
34373
|
};
|
|
34344
34374
|
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/events/{event_id}/';
|
|
34345
34375
|
};
|
|
@@ -34527,6 +34557,13 @@ export type GetOrganizationIssueEventResponses = {
|
|
|
34527
34557
|
resolvedWith: Array<string>;
|
|
34528
34558
|
nextEventID: string | null;
|
|
34529
34559
|
previousEventID: string | null;
|
|
34560
|
+
/**
|
|
34561
|
+
* The ``formatted`` field the mixin adds to a response when ``?llmFormat`` is requested.
|
|
34562
|
+
*/
|
|
34563
|
+
formatted?: {
|
|
34564
|
+
format: 'markdown' | 'xml';
|
|
34565
|
+
content: string;
|
|
34566
|
+
};
|
|
34530
34567
|
};
|
|
34531
34568
|
};
|
|
34532
34569
|
export type GetOrganizationIssueEventResponse = GetOrganizationIssueEventResponses[keyof GetOrganizationIssueEventResponses];
|
package/dist/valibot.gen.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export declare const vAutofixPostResponse: v.ObjectSchema<{
|
|
|
10
10
|
* Response type for the GET endpoint
|
|
11
11
|
*/
|
|
12
12
|
export declare const vAutofixStateResponse: v.ObjectSchema<{
|
|
13
|
+
readonly formatted: v.OptionalSchema<v.ObjectSchema<{
|
|
14
|
+
readonly format: v.PicklistSchema<["markdown", "xml"], undefined>;
|
|
15
|
+
readonly content: v.StringSchema<undefined>;
|
|
16
|
+
}, undefined>, undefined>;
|
|
13
17
|
readonly autofix: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, v.NullSchema<undefined>], undefined>;
|
|
14
18
|
}, undefined>;
|
|
15
19
|
/**
|
|
@@ -2080,6 +2084,10 @@ export declare const vIssueEventDetailsResponse: v.ObjectSchema<{
|
|
|
2080
2084
|
readonly resolvedWith: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2081
2085
|
readonly nextEventID: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
2082
2086
|
readonly previousEventID: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
2087
|
+
readonly formatted: v.OptionalSchema<v.ObjectSchema<{
|
|
2088
|
+
readonly format: v.PicklistSchema<["markdown", "xml"], undefined>;
|
|
2089
|
+
readonly content: v.StringSchema<undefined>;
|
|
2090
|
+
}, undefined>, undefined>;
|
|
2083
2091
|
}, undefined>;
|
|
2084
2092
|
export declare const vLatestBaseSnapshotResponse: v.ObjectSchema<{
|
|
2085
2093
|
readonly head_artifact_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -16627,12 +16635,18 @@ export declare const vGetOrganizationIssueAutofixStateData: v.ObjectSchema<{
|
|
|
16627
16635
|
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
16628
16636
|
readonly issue_id: v.StringSchema<undefined>;
|
|
16629
16637
|
}, undefined>;
|
|
16630
|
-
readonly query: v.OptionalSchema<v.
|
|
16638
|
+
readonly query: v.OptionalSchema<v.ObjectSchema<{
|
|
16639
|
+
readonly llmFormat: v.OptionalSchema<v.PicklistSchema<["markdown", "xml"], undefined>, undefined>;
|
|
16640
|
+
}, undefined>, undefined>;
|
|
16631
16641
|
}, undefined>;
|
|
16632
16642
|
/**
|
|
16633
16643
|
* Response type for the GET endpoint
|
|
16634
16644
|
*/
|
|
16635
16645
|
export declare const vGetOrganizationIssueAutofixStateResponse: v.ObjectSchema<{
|
|
16646
|
+
readonly formatted: v.OptionalSchema<v.ObjectSchema<{
|
|
16647
|
+
readonly format: v.PicklistSchema<["markdown", "xml"], undefined>;
|
|
16648
|
+
readonly content: v.StringSchema<undefined>;
|
|
16649
|
+
}, undefined>, undefined>;
|
|
16636
16650
|
readonly autofix: v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, v.NullSchema<undefined>], undefined>;
|
|
16637
16651
|
}, undefined>;
|
|
16638
16652
|
export declare const vStartOrganizationIssueAutofixData: v.ObjectSchema<{
|
|
@@ -16718,6 +16732,7 @@ export declare const vGetOrganizationIssueEventData: v.ObjectSchema<{
|
|
|
16718
16732
|
}, undefined>;
|
|
16719
16733
|
readonly query: v.OptionalSchema<v.ObjectSchema<{
|
|
16720
16734
|
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
16735
|
+
readonly llmFormat: v.OptionalSchema<v.PicklistSchema<["markdown", "xml"], undefined>, undefined>;
|
|
16721
16736
|
}, undefined>, undefined>;
|
|
16722
16737
|
}, undefined>;
|
|
16723
16738
|
export declare const vGetOrganizationIssueEventResponse: v.ObjectSchema<{
|
|
@@ -16853,6 +16868,10 @@ export declare const vGetOrganizationIssueEventResponse: v.ObjectSchema<{
|
|
|
16853
16868
|
readonly resolvedWith: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
16854
16869
|
readonly nextEventID: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
16855
16870
|
readonly previousEventID: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
16871
|
+
readonly formatted: v.OptionalSchema<v.ObjectSchema<{
|
|
16872
|
+
readonly format: v.PicklistSchema<["markdown", "xml"], undefined>;
|
|
16873
|
+
readonly content: v.StringSchema<undefined>;
|
|
16874
|
+
}, undefined>, undefined>;
|
|
16856
16875
|
}, undefined>;
|
|
16857
16876
|
export declare const vListOrganizationIssueExternalIssuesData: v.ObjectSchema<{
|
|
16858
16877
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
package/dist/valibot.js
CHANGED
|
@@ -5,6 +5,10 @@ var vAutofixPostResponse = v.object({
|
|
|
5
5
|
sentry_run_id: v.union([v.string(), v.null()])
|
|
6
6
|
});
|
|
7
7
|
var vAutofixStateResponse = v.object({
|
|
8
|
+
formatted: v.optional(v.object({
|
|
9
|
+
format: v.picklist(["markdown", "xml"]),
|
|
10
|
+
content: v.string()
|
|
11
|
+
})),
|
|
8
12
|
autofix: v.union([v.record(v.string(), v.unknown()), v.null()])
|
|
9
13
|
});
|
|
10
14
|
var vBaseDataConditionGroupValidator = v.object({
|
|
@@ -2846,7 +2850,11 @@ var vIssueEventDetailsResponse = v.object({
|
|
|
2846
2850
|
sdkUpdates: v.array(v.record(v.string(), v.unknown())),
|
|
2847
2851
|
resolvedWith: v.array(v.string()),
|
|
2848
2852
|
nextEventID: v.union([v.string(), v.null()]),
|
|
2849
|
-
previousEventID: v.union([v.string(), v.null()])
|
|
2853
|
+
previousEventID: v.union([v.string(), v.null()]),
|
|
2854
|
+
formatted: v.optional(v.object({
|
|
2855
|
+
format: v.picklist(["markdown", "xml"]),
|
|
2856
|
+
content: v.string()
|
|
2857
|
+
}))
|
|
2850
2858
|
});
|
|
2851
2859
|
var vLatestBaseSnapshotResponse = v.object({
|
|
2852
2860
|
head_artifact_id: v.optional(v.string()),
|
|
@@ -20970,9 +20978,15 @@ var vGetOrganizationIssueAutofixStateData = v.object({
|
|
|
20970
20978
|
organization_id_or_slug: v.string(),
|
|
20971
20979
|
issue_id: v.string()
|
|
20972
20980
|
}),
|
|
20973
|
-
query: v.optional(v.
|
|
20981
|
+
query: v.optional(v.object({
|
|
20982
|
+
llmFormat: v.optional(v.picklist(["markdown", "xml"]))
|
|
20983
|
+
}))
|
|
20974
20984
|
});
|
|
20975
20985
|
var vGetOrganizationIssueAutofixStateResponse = v.object({
|
|
20986
|
+
formatted: v.optional(v.object({
|
|
20987
|
+
format: v.picklist(["markdown", "xml"]),
|
|
20988
|
+
content: v.string()
|
|
20989
|
+
})),
|
|
20976
20990
|
autofix: v.union([v.record(v.string(), v.unknown()), v.null()])
|
|
20977
20991
|
});
|
|
20978
20992
|
var vStartOrganizationIssueAutofixData = v.object({
|
|
@@ -21070,7 +21084,8 @@ var vGetOrganizationIssueEventData = v.object({
|
|
|
21070
21084
|
])
|
|
21071
21085
|
}),
|
|
21072
21086
|
query: v.optional(v.object({
|
|
21073
|
-
environment: v.optional(v.array(v.string()))
|
|
21087
|
+
environment: v.optional(v.array(v.string())),
|
|
21088
|
+
llmFormat: v.optional(v.picklist(["markdown", "xml"]))
|
|
21074
21089
|
}))
|
|
21075
21090
|
});
|
|
21076
21091
|
var vGetOrganizationIssueEventResponse = v.object({
|
|
@@ -21216,7 +21231,11 @@ var vGetOrganizationIssueEventResponse = v.object({
|
|
|
21216
21231
|
sdkUpdates: v.array(v.record(v.string(), v.unknown())),
|
|
21217
21232
|
resolvedWith: v.array(v.string()),
|
|
21218
21233
|
nextEventID: v.union([v.string(), v.null()]),
|
|
21219
|
-
previousEventID: v.union([v.string(), v.null()])
|
|
21234
|
+
previousEventID: v.union([v.string(), v.null()]),
|
|
21235
|
+
formatted: v.optional(v.object({
|
|
21236
|
+
format: v.picklist(["markdown", "xml"]),
|
|
21237
|
+
content: v.string()
|
|
21238
|
+
}))
|
|
21220
21239
|
});
|
|
21221
21240
|
var vListOrganizationIssueExternalIssuesData = v.object({
|
|
21222
21241
|
body: v.optional(v.never()),
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -16,11 +16,29 @@ export declare const zAutofixPostResponse: z.ZodObject<{
|
|
|
16
16
|
* Response type for the GET endpoint
|
|
17
17
|
*/
|
|
18
18
|
export declare const zAutofixStateResponse: z.ZodObject<{
|
|
19
|
+
formatted: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
format: z.ZodEnum<["markdown", "xml"]>;
|
|
21
|
+
content: z.ZodString;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
format: "markdown" | "xml";
|
|
24
|
+
content: string;
|
|
25
|
+
}, {
|
|
26
|
+
format: "markdown" | "xml";
|
|
27
|
+
content: string;
|
|
28
|
+
}>>;
|
|
19
29
|
autofix: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>;
|
|
20
30
|
}, "strip", z.ZodTypeAny, {
|
|
21
31
|
autofix: Record<string, unknown> | null;
|
|
32
|
+
formatted?: {
|
|
33
|
+
format: "markdown" | "xml";
|
|
34
|
+
content: string;
|
|
35
|
+
} | undefined;
|
|
22
36
|
}, {
|
|
23
37
|
autofix: Record<string, unknown> | null;
|
|
38
|
+
formatted?: {
|
|
39
|
+
format: "markdown" | "xml";
|
|
40
|
+
content: string;
|
|
41
|
+
} | undefined;
|
|
24
42
|
}>;
|
|
25
43
|
/**
|
|
26
44
|
* Allows parameters to be defined in snake case, but passed as camel case.
|
|
@@ -9778,6 +9796,16 @@ export declare const zIssueEventDetailsResponse: z.ZodObject<{
|
|
|
9778
9796
|
resolvedWith: z.ZodArray<z.ZodString, "many">;
|
|
9779
9797
|
nextEventID: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
9780
9798
|
previousEventID: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
9799
|
+
formatted: z.ZodOptional<z.ZodObject<{
|
|
9800
|
+
format: z.ZodEnum<["markdown", "xml"]>;
|
|
9801
|
+
content: z.ZodString;
|
|
9802
|
+
}, "strip", z.ZodTypeAny, {
|
|
9803
|
+
format: "markdown" | "xml";
|
|
9804
|
+
content: string;
|
|
9805
|
+
}, {
|
|
9806
|
+
format: "markdown" | "xml";
|
|
9807
|
+
content: string;
|
|
9808
|
+
}>>;
|
|
9781
9809
|
}, "strip", z.ZodTypeAny, {
|
|
9782
9810
|
entries: unknown[];
|
|
9783
9811
|
user: {
|
|
@@ -9893,6 +9921,10 @@ export declare const zIssueEventDetailsResponse: z.ZodObject<{
|
|
|
9893
9921
|
resolvedWith: string[];
|
|
9894
9922
|
nextEventID: string | null;
|
|
9895
9923
|
previousEventID: string | null;
|
|
9924
|
+
formatted?: {
|
|
9925
|
+
format: "markdown" | "xml";
|
|
9926
|
+
content: string;
|
|
9927
|
+
} | undefined;
|
|
9896
9928
|
dateCreated?: string | undefined;
|
|
9897
9929
|
groupingConfig?: {
|
|
9898
9930
|
id: string;
|
|
@@ -10026,6 +10058,10 @@ export declare const zIssueEventDetailsResponse: z.ZodObject<{
|
|
|
10026
10058
|
resolvedWith: string[];
|
|
10027
10059
|
nextEventID: string | null;
|
|
10028
10060
|
previousEventID: string | null;
|
|
10061
|
+
formatted?: {
|
|
10062
|
+
format: "markdown" | "xml";
|
|
10063
|
+
content: string;
|
|
10064
|
+
} | undefined;
|
|
10029
10065
|
dateCreated?: string | undefined;
|
|
10030
10066
|
groupingConfig?: {
|
|
10031
10067
|
id: string;
|
|
@@ -81569,31 +81605,59 @@ export declare const zGetOrganizationIssueAutofixStateData: z.ZodObject<{
|
|
|
81569
81605
|
organization_id_or_slug: string;
|
|
81570
81606
|
issue_id: string;
|
|
81571
81607
|
}>;
|
|
81572
|
-
query: z.ZodOptional<z.
|
|
81608
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
81609
|
+
llmFormat: z.ZodOptional<z.ZodEnum<["markdown", "xml"]>>;
|
|
81610
|
+
}, "strip", z.ZodTypeAny, {
|
|
81611
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81612
|
+
}, {
|
|
81613
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81614
|
+
}>>;
|
|
81573
81615
|
}, "strip", z.ZodTypeAny, {
|
|
81574
81616
|
path: {
|
|
81575
81617
|
organization_id_or_slug: string;
|
|
81576
81618
|
issue_id: string;
|
|
81577
81619
|
};
|
|
81578
|
-
query?:
|
|
81620
|
+
query?: {
|
|
81621
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81622
|
+
} | undefined;
|
|
81579
81623
|
body?: undefined;
|
|
81580
81624
|
}, {
|
|
81581
81625
|
path: {
|
|
81582
81626
|
organization_id_or_slug: string;
|
|
81583
81627
|
issue_id: string;
|
|
81584
81628
|
};
|
|
81585
|
-
query?:
|
|
81629
|
+
query?: {
|
|
81630
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81631
|
+
} | undefined;
|
|
81586
81632
|
body?: undefined;
|
|
81587
81633
|
}>;
|
|
81588
81634
|
/**
|
|
81589
81635
|
* Response type for the GET endpoint
|
|
81590
81636
|
*/
|
|
81591
81637
|
export declare const zGetOrganizationIssueAutofixStateResponse: z.ZodObject<{
|
|
81638
|
+
formatted: z.ZodOptional<z.ZodObject<{
|
|
81639
|
+
format: z.ZodEnum<["markdown", "xml"]>;
|
|
81640
|
+
content: z.ZodString;
|
|
81641
|
+
}, "strip", z.ZodTypeAny, {
|
|
81642
|
+
format: "markdown" | "xml";
|
|
81643
|
+
content: string;
|
|
81644
|
+
}, {
|
|
81645
|
+
format: "markdown" | "xml";
|
|
81646
|
+
content: string;
|
|
81647
|
+
}>>;
|
|
81592
81648
|
autofix: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>;
|
|
81593
81649
|
}, "strip", z.ZodTypeAny, {
|
|
81594
81650
|
autofix: Record<string, unknown> | null;
|
|
81651
|
+
formatted?: {
|
|
81652
|
+
format: "markdown" | "xml";
|
|
81653
|
+
content: string;
|
|
81654
|
+
} | undefined;
|
|
81595
81655
|
}, {
|
|
81596
81656
|
autofix: Record<string, unknown> | null;
|
|
81657
|
+
formatted?: {
|
|
81658
|
+
format: "markdown" | "xml";
|
|
81659
|
+
content: string;
|
|
81660
|
+
} | undefined;
|
|
81597
81661
|
}>;
|
|
81598
81662
|
export declare const zStartOrganizationIssueAutofixData: z.ZodObject<{
|
|
81599
81663
|
body: z.ZodOptional<z.ZodObject<{
|
|
@@ -81900,10 +81964,13 @@ export declare const zGetOrganizationIssueEventData: z.ZodObject<{
|
|
|
81900
81964
|
}>;
|
|
81901
81965
|
query: z.ZodOptional<z.ZodObject<{
|
|
81902
81966
|
environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81967
|
+
llmFormat: z.ZodOptional<z.ZodEnum<["markdown", "xml"]>>;
|
|
81903
81968
|
}, "strip", z.ZodTypeAny, {
|
|
81904
81969
|
environment?: string[] | undefined;
|
|
81970
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81905
81971
|
}, {
|
|
81906
81972
|
environment?: string[] | undefined;
|
|
81973
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81907
81974
|
}>>;
|
|
81908
81975
|
}, "strip", z.ZodTypeAny, {
|
|
81909
81976
|
path: {
|
|
@@ -81913,6 +81980,7 @@ export declare const zGetOrganizationIssueEventData: z.ZodObject<{
|
|
|
81913
81980
|
};
|
|
81914
81981
|
query?: {
|
|
81915
81982
|
environment?: string[] | undefined;
|
|
81983
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81916
81984
|
} | undefined;
|
|
81917
81985
|
body?: undefined;
|
|
81918
81986
|
}, {
|
|
@@ -81923,6 +81991,7 @@ export declare const zGetOrganizationIssueEventData: z.ZodObject<{
|
|
|
81923
81991
|
};
|
|
81924
81992
|
query?: {
|
|
81925
81993
|
environment?: string[] | undefined;
|
|
81994
|
+
llmFormat?: "markdown" | "xml" | undefined;
|
|
81926
81995
|
} | undefined;
|
|
81927
81996
|
body?: undefined;
|
|
81928
81997
|
}>;
|
|
@@ -82299,6 +82368,16 @@ export declare const zGetOrganizationIssueEventResponse: z.ZodObject<{
|
|
|
82299
82368
|
resolvedWith: z.ZodArray<z.ZodString, "many">;
|
|
82300
82369
|
nextEventID: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
82301
82370
|
previousEventID: z.ZodUnion<[z.ZodString, z.ZodNull]>;
|
|
82371
|
+
formatted: z.ZodOptional<z.ZodObject<{
|
|
82372
|
+
format: z.ZodEnum<["markdown", "xml"]>;
|
|
82373
|
+
content: z.ZodString;
|
|
82374
|
+
}, "strip", z.ZodTypeAny, {
|
|
82375
|
+
format: "markdown" | "xml";
|
|
82376
|
+
content: string;
|
|
82377
|
+
}, {
|
|
82378
|
+
format: "markdown" | "xml";
|
|
82379
|
+
content: string;
|
|
82380
|
+
}>>;
|
|
82302
82381
|
}, "strip", z.ZodTypeAny, {
|
|
82303
82382
|
entries: unknown[];
|
|
82304
82383
|
user: {
|
|
@@ -82414,6 +82493,10 @@ export declare const zGetOrganizationIssueEventResponse: z.ZodObject<{
|
|
|
82414
82493
|
resolvedWith: string[];
|
|
82415
82494
|
nextEventID: string | null;
|
|
82416
82495
|
previousEventID: string | null;
|
|
82496
|
+
formatted?: {
|
|
82497
|
+
format: "markdown" | "xml";
|
|
82498
|
+
content: string;
|
|
82499
|
+
} | undefined;
|
|
82417
82500
|
dateCreated?: string | undefined;
|
|
82418
82501
|
groupingConfig?: {
|
|
82419
82502
|
id: string;
|
|
@@ -82547,6 +82630,10 @@ export declare const zGetOrganizationIssueEventResponse: z.ZodObject<{
|
|
|
82547
82630
|
resolvedWith: string[];
|
|
82548
82631
|
nextEventID: string | null;
|
|
82549
82632
|
previousEventID: string | null;
|
|
82633
|
+
formatted?: {
|
|
82634
|
+
format: "markdown" | "xml";
|
|
82635
|
+
content: string;
|
|
82636
|
+
} | undefined;
|
|
82550
82637
|
dateCreated?: string | undefined;
|
|
82551
82638
|
groupingConfig?: {
|
|
82552
82639
|
id: string;
|
package/dist/zod.js
CHANGED
|
@@ -8,6 +8,10 @@ var zAutofixPostResponse = z.object({
|
|
|
8
8
|
])
|
|
9
9
|
});
|
|
10
10
|
var zAutofixStateResponse = z.object({
|
|
11
|
+
formatted: z.object({
|
|
12
|
+
format: z.enum(["markdown", "xml"]),
|
|
13
|
+
content: z.string()
|
|
14
|
+
}).optional(),
|
|
11
15
|
autofix: z.union([
|
|
12
16
|
z.record(z.unknown()),
|
|
13
17
|
z.null()
|
|
@@ -4350,7 +4354,11 @@ var zIssueEventDetailsResponse = z.object({
|
|
|
4350
4354
|
previousEventID: z.union([
|
|
4351
4355
|
z.string(),
|
|
4352
4356
|
z.null()
|
|
4353
|
-
])
|
|
4357
|
+
]),
|
|
4358
|
+
formatted: z.object({
|
|
4359
|
+
format: z.enum(["markdown", "xml"]),
|
|
4360
|
+
content: z.string()
|
|
4361
|
+
}).optional()
|
|
4354
4362
|
});
|
|
4355
4363
|
var zLatestBaseSnapshotResponse = z.object({
|
|
4356
4364
|
head_artifact_id: z.string().optional(),
|
|
@@ -30624,9 +30632,15 @@ var zGetOrganizationIssueAutofixStateData = z.object({
|
|
|
30624
30632
|
organization_id_or_slug: z.string(),
|
|
30625
30633
|
issue_id: z.string()
|
|
30626
30634
|
}),
|
|
30627
|
-
query: z.
|
|
30635
|
+
query: z.object({
|
|
30636
|
+
llmFormat: z.enum(["markdown", "xml"]).optional()
|
|
30637
|
+
}).optional()
|
|
30628
30638
|
});
|
|
30629
30639
|
var zGetOrganizationIssueAutofixStateResponse = z.object({
|
|
30640
|
+
formatted: z.object({
|
|
30641
|
+
format: z.enum(["markdown", "xml"]),
|
|
30642
|
+
content: z.string()
|
|
30643
|
+
}).optional(),
|
|
30630
30644
|
autofix: z.union([
|
|
30631
30645
|
z.record(z.unknown()),
|
|
30632
30646
|
z.null()
|
|
@@ -30769,7 +30783,8 @@ var zGetOrganizationIssueEventData = z.object({
|
|
|
30769
30783
|
])
|
|
30770
30784
|
}),
|
|
30771
30785
|
query: z.object({
|
|
30772
|
-
environment: z.array(z.string()).optional()
|
|
30786
|
+
environment: z.array(z.string()).optional(),
|
|
30787
|
+
llmFormat: z.enum(["markdown", "xml"]).optional()
|
|
30773
30788
|
}).optional()
|
|
30774
30789
|
});
|
|
30775
30790
|
var zGetOrganizationIssueEventResponse = z.object({
|
|
@@ -31080,7 +31095,11 @@ var zGetOrganizationIssueEventResponse = z.object({
|
|
|
31080
31095
|
previousEventID: z.union([
|
|
31081
31096
|
z.string(),
|
|
31082
31097
|
z.null()
|
|
31083
|
-
])
|
|
31098
|
+
]),
|
|
31099
|
+
formatted: z.object({
|
|
31100
|
+
format: z.enum(["markdown", "xml"]),
|
|
31101
|
+
content: z.string()
|
|
31102
|
+
}).optional()
|
|
31084
31103
|
});
|
|
31085
31104
|
var zListOrganizationIssueExternalIssuesData = z.object({
|
|
31086
31105
|
body: z.never().optional(),
|