@sentry/api 0.244.0 → 0.246.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 +13 -0
- package/dist/zod.gen.d.ts +23 -0
- package/dist/zod.js +9 -2
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -6511,6 +6511,7 @@ export type OrganizationSentryAppDetailsResponse = Array<{
|
|
|
6511
6511
|
status: string;
|
|
6512
6512
|
uuid: string;
|
|
6513
6513
|
verifyInstall: boolean;
|
|
6514
|
+
webhookHeaders: Array<string>;
|
|
6514
6515
|
isDisabled?: boolean;
|
|
6515
6516
|
author?: string | null;
|
|
6516
6517
|
overview?: string | null;
|
|
@@ -7834,6 +7835,7 @@ export type SentryAppDetailsResponse = {
|
|
|
7834
7835
|
status: string;
|
|
7835
7836
|
uuid: string;
|
|
7836
7837
|
verifyInstall: boolean;
|
|
7838
|
+
webhookHeaders: Array<string>;
|
|
7837
7839
|
isDisabled?: boolean;
|
|
7838
7840
|
author?: string | null;
|
|
7839
7841
|
overview?: string | null;
|
|
@@ -7899,6 +7901,10 @@ export type SentryAppParser = {
|
|
|
7899
7901
|
* The list of allowed origins for CORS.
|
|
7900
7902
|
*/
|
|
7901
7903
|
allowedOrigins?: Array<string>;
|
|
7904
|
+
/**
|
|
7905
|
+
* Custom headers sent with every webhook request. Each entry is a single 'Header-Name: value' pair.
|
|
7906
|
+
*/
|
|
7907
|
+
webhookHeaders?: Array<string>;
|
|
7902
7908
|
};
|
|
7903
7909
|
export type SessionsQueryResult = {
|
|
7904
7910
|
start: string;
|
|
@@ -20544,6 +20550,7 @@ export type ListOrganizationSentryAppsResponses = {
|
|
|
20544
20550
|
status: string;
|
|
20545
20551
|
uuid: string;
|
|
20546
20552
|
verifyInstall: boolean;
|
|
20553
|
+
webhookHeaders: Array<string>;
|
|
20547
20554
|
isDisabled?: boolean;
|
|
20548
20555
|
author?: string | null;
|
|
20549
20556
|
overview?: string | null;
|
|
@@ -28869,6 +28876,7 @@ export type GetSentryAppResponses = {
|
|
|
28869
28876
|
status: string;
|
|
28870
28877
|
uuid: string;
|
|
28871
28878
|
verifyInstall: boolean;
|
|
28879
|
+
webhookHeaders: Array<string>;
|
|
28872
28880
|
isDisabled?: boolean;
|
|
28873
28881
|
author?: string | null;
|
|
28874
28882
|
overview?: string | null;
|
|
@@ -28937,6 +28945,10 @@ export type UpdateSentryAppData = {
|
|
|
28937
28945
|
* The list of allowed origins for CORS.
|
|
28938
28946
|
*/
|
|
28939
28947
|
allowedOrigins?: Array<string>;
|
|
28948
|
+
/**
|
|
28949
|
+
* Custom headers sent with every webhook request. Each entry is a single 'Header-Name: value' pair.
|
|
28950
|
+
*/
|
|
28951
|
+
webhookHeaders?: Array<string>;
|
|
28940
28952
|
};
|
|
28941
28953
|
path: {
|
|
28942
28954
|
/**
|
|
@@ -28978,6 +28990,7 @@ export type UpdateSentryAppResponses = {
|
|
|
28978
28990
|
status: string;
|
|
28979
28991
|
uuid: string;
|
|
28980
28992
|
verifyInstall: boolean;
|
|
28993
|
+
webhookHeaders: Array<string>;
|
|
28981
28994
|
isDisabled?: boolean;
|
|
28982
28995
|
author?: string | null;
|
|
28983
28996
|
overview?: string | null;
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -17789,6 +17789,7 @@ export declare const zOrganizationSentryAppDetailsResponse: z.ZodArray<z.ZodObje
|
|
|
17789
17789
|
status: z.ZodString;
|
|
17790
17790
|
uuid: z.ZodString;
|
|
17791
17791
|
verifyInstall: z.ZodBoolean;
|
|
17792
|
+
webhookHeaders: z.ZodArray<z.ZodString, "many">;
|
|
17792
17793
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
17793
17794
|
author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
17794
17795
|
overview: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -17828,6 +17829,7 @@ export declare const zOrganizationSentryAppDetailsResponse: z.ZodArray<z.ZodObje
|
|
|
17828
17829
|
isAlertable: boolean;
|
|
17829
17830
|
schema: string;
|
|
17830
17831
|
verifyInstall: boolean;
|
|
17832
|
+
webhookHeaders: string[];
|
|
17831
17833
|
owner?: {
|
|
17832
17834
|
id: number;
|
|
17833
17835
|
slug: string;
|
|
@@ -17861,6 +17863,7 @@ export declare const zOrganizationSentryAppDetailsResponse: z.ZodArray<z.ZodObje
|
|
|
17861
17863
|
isAlertable: boolean;
|
|
17862
17864
|
schema: string;
|
|
17863
17865
|
verifyInstall: boolean;
|
|
17866
|
+
webhookHeaders: string[];
|
|
17864
17867
|
owner?: {
|
|
17865
17868
|
id: number;
|
|
17866
17869
|
slug: string;
|
|
@@ -22169,6 +22172,7 @@ export declare const zSentryAppDetailsResponse: z.ZodObject<{
|
|
|
22169
22172
|
status: z.ZodString;
|
|
22170
22173
|
uuid: z.ZodString;
|
|
22171
22174
|
verifyInstall: z.ZodBoolean;
|
|
22175
|
+
webhookHeaders: z.ZodArray<z.ZodString, "many">;
|
|
22172
22176
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
22173
22177
|
author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
22174
22178
|
overview: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -22208,6 +22212,7 @@ export declare const zSentryAppDetailsResponse: z.ZodObject<{
|
|
|
22208
22212
|
isAlertable: boolean;
|
|
22209
22213
|
schema: string;
|
|
22210
22214
|
verifyInstall: boolean;
|
|
22215
|
+
webhookHeaders: string[];
|
|
22211
22216
|
owner?: {
|
|
22212
22217
|
id: number;
|
|
22213
22218
|
slug: string;
|
|
@@ -22241,6 +22246,7 @@ export declare const zSentryAppDetailsResponse: z.ZodObject<{
|
|
|
22241
22246
|
isAlertable: boolean;
|
|
22242
22247
|
schema: string;
|
|
22243
22248
|
verifyInstall: boolean;
|
|
22249
|
+
webhookHeaders: string[];
|
|
22244
22250
|
owner?: {
|
|
22245
22251
|
id: number;
|
|
22246
22252
|
slug: string;
|
|
@@ -22268,6 +22274,7 @@ export declare const zSentryAppParser: z.ZodObject<{
|
|
|
22268
22274
|
overview: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
22269
22275
|
verifyInstall: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
22270
22276
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22277
|
+
webhookHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
22271
22278
|
}, "strip", z.ZodTypeAny, {
|
|
22272
22279
|
name: string;
|
|
22273
22280
|
isInternal: boolean;
|
|
@@ -22278,6 +22285,7 @@ export declare const zSentryAppParser: z.ZodObject<{
|
|
|
22278
22285
|
author?: string | null | undefined;
|
|
22279
22286
|
allowedOrigins?: string[] | undefined;
|
|
22280
22287
|
schema?: Record<string, unknown> | null | undefined;
|
|
22288
|
+
webhookHeaders?: string[] | undefined;
|
|
22281
22289
|
overview?: string | null | undefined;
|
|
22282
22290
|
redirectUrl?: string | null | undefined;
|
|
22283
22291
|
webhookUrl?: string | null | undefined;
|
|
@@ -22291,6 +22299,7 @@ export declare const zSentryAppParser: z.ZodObject<{
|
|
|
22291
22299
|
isAlertable?: boolean | undefined;
|
|
22292
22300
|
schema?: Record<string, unknown> | null | undefined;
|
|
22293
22301
|
verifyInstall?: boolean | undefined;
|
|
22302
|
+
webhookHeaders?: string[] | undefined;
|
|
22294
22303
|
overview?: string | null | undefined;
|
|
22295
22304
|
redirectUrl?: string | null | undefined;
|
|
22296
22305
|
webhookUrl?: string | null | undefined;
|
|
@@ -50034,6 +50043,7 @@ export declare const zListOrganizationSentryAppsResponse: z.ZodArray<z.ZodObject
|
|
|
50034
50043
|
status: z.ZodString;
|
|
50035
50044
|
uuid: z.ZodString;
|
|
50036
50045
|
verifyInstall: z.ZodBoolean;
|
|
50046
|
+
webhookHeaders: z.ZodArray<z.ZodString, "many">;
|
|
50037
50047
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
50038
50048
|
author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
50039
50049
|
overview: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -50073,6 +50083,7 @@ export declare const zListOrganizationSentryAppsResponse: z.ZodArray<z.ZodObject
|
|
|
50073
50083
|
isAlertable: boolean;
|
|
50074
50084
|
schema: string;
|
|
50075
50085
|
verifyInstall: boolean;
|
|
50086
|
+
webhookHeaders: string[];
|
|
50076
50087
|
owner?: {
|
|
50077
50088
|
id: number;
|
|
50078
50089
|
slug: string;
|
|
@@ -50106,6 +50117,7 @@ export declare const zListOrganizationSentryAppsResponse: z.ZodArray<z.ZodObject
|
|
|
50106
50117
|
isAlertable: boolean;
|
|
50107
50118
|
schema: string;
|
|
50108
50119
|
verifyInstall: boolean;
|
|
50120
|
+
webhookHeaders: string[];
|
|
50109
50121
|
owner?: {
|
|
50110
50122
|
id: number;
|
|
50111
50123
|
slug: string;
|
|
@@ -65901,6 +65913,7 @@ export declare const zGetSentryAppResponse: z.ZodObject<{
|
|
|
65901
65913
|
status: z.ZodString;
|
|
65902
65914
|
uuid: z.ZodString;
|
|
65903
65915
|
verifyInstall: z.ZodBoolean;
|
|
65916
|
+
webhookHeaders: z.ZodArray<z.ZodString, "many">;
|
|
65904
65917
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
65905
65918
|
author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
65906
65919
|
overview: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -65940,6 +65953,7 @@ export declare const zGetSentryAppResponse: z.ZodObject<{
|
|
|
65940
65953
|
isAlertable: boolean;
|
|
65941
65954
|
schema: string;
|
|
65942
65955
|
verifyInstall: boolean;
|
|
65956
|
+
webhookHeaders: string[];
|
|
65943
65957
|
owner?: {
|
|
65944
65958
|
id: number;
|
|
65945
65959
|
slug: string;
|
|
@@ -65973,6 +65987,7 @@ export declare const zGetSentryAppResponse: z.ZodObject<{
|
|
|
65973
65987
|
isAlertable: boolean;
|
|
65974
65988
|
schema: string;
|
|
65975
65989
|
verifyInstall: boolean;
|
|
65990
|
+
webhookHeaders: string[];
|
|
65976
65991
|
owner?: {
|
|
65977
65992
|
id: number;
|
|
65978
65993
|
slug: string;
|
|
@@ -66001,6 +66016,7 @@ export declare const zUpdateSentryAppData: z.ZodObject<{
|
|
|
66001
66016
|
overview: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
66002
66017
|
verifyInstall: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
66003
66018
|
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66019
|
+
webhookHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66004
66020
|
}, "strip", z.ZodTypeAny, {
|
|
66005
66021
|
name: string;
|
|
66006
66022
|
isInternal: boolean;
|
|
@@ -66011,6 +66027,7 @@ export declare const zUpdateSentryAppData: z.ZodObject<{
|
|
|
66011
66027
|
author?: string | null | undefined;
|
|
66012
66028
|
allowedOrigins?: string[] | undefined;
|
|
66013
66029
|
schema?: Record<string, unknown> | null | undefined;
|
|
66030
|
+
webhookHeaders?: string[] | undefined;
|
|
66014
66031
|
overview?: string | null | undefined;
|
|
66015
66032
|
redirectUrl?: string | null | undefined;
|
|
66016
66033
|
webhookUrl?: string | null | undefined;
|
|
@@ -66024,6 +66041,7 @@ export declare const zUpdateSentryAppData: z.ZodObject<{
|
|
|
66024
66041
|
isAlertable?: boolean | undefined;
|
|
66025
66042
|
schema?: Record<string, unknown> | null | undefined;
|
|
66026
66043
|
verifyInstall?: boolean | undefined;
|
|
66044
|
+
webhookHeaders?: string[] | undefined;
|
|
66027
66045
|
overview?: string | null | undefined;
|
|
66028
66046
|
redirectUrl?: string | null | undefined;
|
|
66029
66047
|
webhookUrl?: string | null | undefined;
|
|
@@ -66047,6 +66065,7 @@ export declare const zUpdateSentryAppData: z.ZodObject<{
|
|
|
66047
66065
|
author?: string | null | undefined;
|
|
66048
66066
|
allowedOrigins?: string[] | undefined;
|
|
66049
66067
|
schema?: Record<string, unknown> | null | undefined;
|
|
66068
|
+
webhookHeaders?: string[] | undefined;
|
|
66050
66069
|
overview?: string | null | undefined;
|
|
66051
66070
|
redirectUrl?: string | null | undefined;
|
|
66052
66071
|
webhookUrl?: string | null | undefined;
|
|
@@ -66066,6 +66085,7 @@ export declare const zUpdateSentryAppData: z.ZodObject<{
|
|
|
66066
66085
|
isAlertable?: boolean | undefined;
|
|
66067
66086
|
schema?: Record<string, unknown> | null | undefined;
|
|
66068
66087
|
verifyInstall?: boolean | undefined;
|
|
66088
|
+
webhookHeaders?: string[] | undefined;
|
|
66069
66089
|
overview?: string | null | undefined;
|
|
66070
66090
|
redirectUrl?: string | null | undefined;
|
|
66071
66091
|
webhookUrl?: string | null | undefined;
|
|
@@ -66107,6 +66127,7 @@ export declare const zUpdateSentryAppResponse: z.ZodObject<{
|
|
|
66107
66127
|
status: z.ZodString;
|
|
66108
66128
|
uuid: z.ZodString;
|
|
66109
66129
|
verifyInstall: z.ZodBoolean;
|
|
66130
|
+
webhookHeaders: z.ZodArray<z.ZodString, "many">;
|
|
66110
66131
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
66111
66132
|
author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
66112
66133
|
overview: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -66146,6 +66167,7 @@ export declare const zUpdateSentryAppResponse: z.ZodObject<{
|
|
|
66146
66167
|
isAlertable: boolean;
|
|
66147
66168
|
schema: string;
|
|
66148
66169
|
verifyInstall: boolean;
|
|
66170
|
+
webhookHeaders: string[];
|
|
66149
66171
|
owner?: {
|
|
66150
66172
|
id: number;
|
|
66151
66173
|
slug: string;
|
|
@@ -66179,6 +66201,7 @@ export declare const zUpdateSentryAppResponse: z.ZodObject<{
|
|
|
66179
66201
|
isAlertable: boolean;
|
|
66180
66202
|
schema: string;
|
|
66181
66203
|
verifyInstall: boolean;
|
|
66204
|
+
webhookHeaders: string[];
|
|
66182
66205
|
owner?: {
|
|
66183
66206
|
id: number;
|
|
66184
66207
|
slug: string;
|
package/dist/zod.js
CHANGED
|
@@ -7442,6 +7442,7 @@ var zOrganizationSentryAppDetailsResponse = z.array(z.object({
|
|
|
7442
7442
|
status: z.string(),
|
|
7443
7443
|
uuid: z.string(),
|
|
7444
7444
|
verifyInstall: z.boolean(),
|
|
7445
|
+
webhookHeaders: z.array(z.string()),
|
|
7445
7446
|
isDisabled: z.boolean().optional(),
|
|
7446
7447
|
author: z.union([
|
|
7447
7448
|
z.string(),
|
|
@@ -8933,6 +8934,7 @@ var zSentryAppDetailsResponse = z.object({
|
|
|
8933
8934
|
status: z.string(),
|
|
8934
8935
|
uuid: z.string(),
|
|
8935
8936
|
verifyInstall: z.boolean(),
|
|
8937
|
+
webhookHeaders: z.array(z.string()),
|
|
8936
8938
|
isDisabled: z.boolean().optional(),
|
|
8937
8939
|
author: z.union([
|
|
8938
8940
|
z.string(),
|
|
@@ -8998,7 +9000,8 @@ var zSentryAppParser = z.object({
|
|
|
8998
9000
|
z.null()
|
|
8999
9001
|
]).optional(),
|
|
9000
9002
|
verifyInstall: z.boolean().optional().default(true),
|
|
9001
|
-
allowedOrigins: z.array(z.string().max(255)).optional()
|
|
9003
|
+
allowedOrigins: z.array(z.string().max(255)).optional(),
|
|
9004
|
+
webhookHeaders: z.array(z.string().max(1024)).optional()
|
|
9002
9005
|
});
|
|
9003
9006
|
var zSessionsQueryResult = z.object({
|
|
9004
9007
|
start: z.string().datetime(),
|
|
@@ -19319,6 +19322,7 @@ var zListOrganizationSentryAppsResponse = z.array(z.object({
|
|
|
19319
19322
|
status: z.string(),
|
|
19320
19323
|
uuid: z.string(),
|
|
19321
19324
|
verifyInstall: z.boolean(),
|
|
19325
|
+
webhookHeaders: z.array(z.string()),
|
|
19322
19326
|
isDisabled: z.boolean().optional(),
|
|
19323
19327
|
author: z.union([
|
|
19324
19328
|
z.string(),
|
|
@@ -25359,6 +25363,7 @@ var zGetSentryAppResponse = z.object({
|
|
|
25359
25363
|
status: z.string(),
|
|
25360
25364
|
uuid: z.string(),
|
|
25361
25365
|
verifyInstall: z.boolean(),
|
|
25366
|
+
webhookHeaders: z.array(z.string()),
|
|
25362
25367
|
isDisabled: z.boolean().optional(),
|
|
25363
25368
|
author: z.union([
|
|
25364
25369
|
z.string(),
|
|
@@ -25425,7 +25430,8 @@ var zUpdateSentryAppData = z.object({
|
|
|
25425
25430
|
z.null()
|
|
25426
25431
|
]).optional(),
|
|
25427
25432
|
verifyInstall: z.boolean().optional().default(true),
|
|
25428
|
-
allowedOrigins: z.array(z.string().max(255)).optional()
|
|
25433
|
+
allowedOrigins: z.array(z.string().max(255)).optional(),
|
|
25434
|
+
webhookHeaders: z.array(z.string().max(1024)).optional()
|
|
25429
25435
|
}),
|
|
25430
25436
|
path: z.object({
|
|
25431
25437
|
sentry_app_id_or_slug: z.string()
|
|
@@ -25452,6 +25458,7 @@ var zUpdateSentryAppResponse = z.object({
|
|
|
25452
25458
|
status: z.string(),
|
|
25453
25459
|
uuid: z.string(),
|
|
25454
25460
|
verifyInstall: z.boolean(),
|
|
25461
|
+
webhookHeaders: z.array(z.string()),
|
|
25455
25462
|
isDisabled: z.boolean().optional(),
|
|
25456
25463
|
author: z.union([
|
|
25457
25464
|
z.string(),
|