@sentry/api 0.223.0 → 0.225.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/sdk.gen.d.ts +4 -0
- package/dist/types.gen.d.ts +31 -7
- package/dist/zod.gen.d.ts +69 -41
- package/dist/zod.js +22 -9
- package/package.json +1 -1
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1188,6 +1188,8 @@ export declare const listProjectUserFeedback: <ThrowOnError extends boolean = fa
|
|
|
1188
1188
|
* If feedback is rejected due to a mutability threshold, a 409 status code will be returned.
|
|
1189
1189
|
*
|
|
1190
1190
|
* Note: Feedback may be submitted with DSN authentication (see auth documentation).
|
|
1191
|
+
*
|
|
1192
|
+
* @deprecated
|
|
1191
1193
|
*/
|
|
1192
1194
|
export declare const createProjectUserFeedback: <ThrowOnError extends boolean = false>(options: Options<CreateProjectUserFeedbackData, ThrowOnError>) => import("./client").RequestResult<CreateProjectUserFeedbackResponses, CreateProjectUserFeedbackErrors, ThrowOnError, "fields">;
|
|
1193
1195
|
/**
|
|
@@ -1236,6 +1238,8 @@ export declare const deleteProjectIssues: <ThrowOnError extends boolean = false>
|
|
|
1236
1238
|
* The ``statsPeriod`` parameter can be used to select the timeline stats which should be present. Possible values are: ``""`` (disable),``"24h"`` (default), ``"14d"``
|
|
1237
1239
|
*
|
|
1238
1240
|
* User feedback items from the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget) are built off the issue platform, so to return a list of user feedback items for a specific project, filter for `issue.category:feedback`.
|
|
1241
|
+
*
|
|
1242
|
+
* @deprecated
|
|
1239
1243
|
*/
|
|
1240
1244
|
export declare const listProjectIssues: <ThrowOnError extends boolean = false>(options: Options<ListProjectIssuesData, ThrowOnError>) => import("./client").RequestResult<ListProjectIssuesResponses, ListProjectIssuesErrors, ThrowOnError, "fields">;
|
|
1241
1245
|
/**
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type AutofixStateResponse = {
|
|
|
22
22
|
* Errors are output in camel case.
|
|
23
23
|
*/
|
|
24
24
|
export type BaseDataConditionGroupValidator = {
|
|
25
|
-
id?:
|
|
25
|
+
id?: number;
|
|
26
26
|
/**
|
|
27
27
|
* * `any`
|
|
28
28
|
* * `any-short`
|
|
@@ -227,7 +227,7 @@ export type BaseDetectorTypeValidator = {
|
|
|
227
227
|
* Errors are output in camel case.
|
|
228
228
|
*/
|
|
229
229
|
condition_group?: {
|
|
230
|
-
id?:
|
|
230
|
+
id?: number;
|
|
231
231
|
/**
|
|
232
232
|
* * `any`
|
|
233
233
|
* * `any-short`
|
|
@@ -8761,6 +8761,10 @@ export type TeamDetails = {
|
|
|
8761
8761
|
* Uniquely identifies a team. This is must be available.
|
|
8762
8762
|
*/
|
|
8763
8763
|
slug: string;
|
|
8764
|
+
/**
|
|
8765
|
+
* The name of the team.
|
|
8766
|
+
*/
|
|
8767
|
+
name?: string;
|
|
8764
8768
|
};
|
|
8765
8769
|
export type TeamPost = {
|
|
8766
8770
|
/**
|
|
@@ -9034,7 +9038,7 @@ export type WorkflowValidator = {
|
|
|
9034
9038
|
* Errors are output in camel case.
|
|
9035
9039
|
*/
|
|
9036
9040
|
triggers?: {
|
|
9037
|
-
id?:
|
|
9041
|
+
id?: number;
|
|
9038
9042
|
/**
|
|
9039
9043
|
* * `any`
|
|
9040
9044
|
* * `any-short`
|
|
@@ -11969,7 +11973,7 @@ export type UpdateOrganizationDetectorData = {
|
|
|
11969
11973
|
* Errors are output in camel case.
|
|
11970
11974
|
*/
|
|
11971
11975
|
condition_group?: {
|
|
11972
|
-
id?:
|
|
11976
|
+
id?: number;
|
|
11973
11977
|
/**
|
|
11974
11978
|
* * `any`
|
|
11975
11979
|
* * `any-short`
|
|
@@ -18443,7 +18447,7 @@ export type CreateOrganizationProjectDetectorData = {
|
|
|
18443
18447
|
* Errors are output in camel case.
|
|
18444
18448
|
*/
|
|
18445
18449
|
condition_group?: {
|
|
18446
|
-
id?:
|
|
18450
|
+
id?: number;
|
|
18447
18451
|
/**
|
|
18448
18452
|
* * `any`
|
|
18449
18453
|
* * `any-short`
|
|
@@ -22215,7 +22219,7 @@ export type CreateOrganizationWorkflowData = {
|
|
|
22215
22219
|
* Errors are output in camel case.
|
|
22216
22220
|
*/
|
|
22217
22221
|
triggers?: {
|
|
22218
|
-
id?:
|
|
22222
|
+
id?: number;
|
|
22219
22223
|
/**
|
|
22220
22224
|
* * `any`
|
|
22221
22225
|
* * `any-short`
|
|
@@ -23226,7 +23230,7 @@ export type UpdateOrganizationWorkflowData = {
|
|
|
23226
23230
|
* Errors are output in camel case.
|
|
23227
23231
|
*/
|
|
23228
23232
|
triggers?: {
|
|
23229
|
-
id?:
|
|
23233
|
+
id?: number;
|
|
23230
23234
|
/**
|
|
23231
23235
|
* * `any`
|
|
23232
23236
|
* * `any-short`
|
|
@@ -29261,6 +29265,10 @@ export type UpdateTeamData = {
|
|
|
29261
29265
|
* Uniquely identifies a team. This is must be available.
|
|
29262
29266
|
*/
|
|
29263
29267
|
slug: string;
|
|
29268
|
+
/**
|
|
29269
|
+
* The name of the team.
|
|
29270
|
+
*/
|
|
29271
|
+
name?: string;
|
|
29264
29272
|
};
|
|
29265
29273
|
path: {
|
|
29266
29274
|
/**
|
|
@@ -30373,6 +30381,14 @@ export type ListProjectIssuesData = {
|
|
|
30373
30381
|
* A list of hashes of groups to return. Is not compatible with 'query' parameter. The maximum number of hashes that can be sent is 100. If more are sent, only the first 100 will be used.
|
|
30374
30382
|
*/
|
|
30375
30383
|
hashes?: string;
|
|
30384
|
+
/**
|
|
30385
|
+
* The sort order of the issues. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), and 'Date Added' (`inbox`).
|
|
30386
|
+
*/
|
|
30387
|
+
sort?: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox';
|
|
30388
|
+
/**
|
|
30389
|
+
* The maximum number of issues to return. The maximum is 100.
|
|
30390
|
+
*/
|
|
30391
|
+
limit?: number;
|
|
30376
30392
|
/**
|
|
30377
30393
|
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
30378
30394
|
*/
|
|
@@ -30602,6 +30618,14 @@ export type ListOrganizationReleasesData = {
|
|
|
30602
30618
|
* This parameter can be used to create a "starts with" filter for the version.
|
|
30603
30619
|
*/
|
|
30604
30620
|
query?: string;
|
|
30621
|
+
/**
|
|
30622
|
+
* The IDs or slugs of projects to filter releases by. This parameter may be repeated to filter by multiple projects. Omit to include all accessible projects; `-1` includes all accessible projects.
|
|
30623
|
+
*/
|
|
30624
|
+
project?: Array<string>;
|
|
30625
|
+
/**
|
|
30626
|
+
* The number of releases to return per page. Default and maximum allowed is 100.
|
|
30627
|
+
*/
|
|
30628
|
+
per_page?: number;
|
|
30605
30629
|
/**
|
|
30606
30630
|
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
30607
30631
|
*/
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -28,16 +28,16 @@ export declare const zAutofixStateResponse: z.ZodObject<{
|
|
|
28
28
|
* Errors are output in camel case.
|
|
29
29
|
*/
|
|
30
30
|
export declare const zBaseDataConditionGroupValidator: z.ZodObject<{
|
|
31
|
-
id: z.ZodOptional<z.
|
|
31
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
32
32
|
logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
|
|
33
33
|
conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
36
|
-
id?:
|
|
36
|
+
id?: number | undefined;
|
|
37
37
|
conditions?: unknown[] | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
40
|
-
id?:
|
|
40
|
+
id?: number | undefined;
|
|
41
41
|
conditions?: unknown[] | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
/**
|
|
@@ -52,16 +52,16 @@ export declare const zBaseDetectorTypeValidator: z.ZodObject<{
|
|
|
52
52
|
data_sources: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
53
53
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
54
54
|
condition_group: z.ZodOptional<z.ZodObject<{
|
|
55
|
-
id: z.ZodOptional<z.
|
|
55
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
56
56
|
logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
|
|
57
57
|
conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
60
|
-
id?:
|
|
60
|
+
id?: number | undefined;
|
|
61
61
|
conditions?: unknown[] | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
64
|
-
id?:
|
|
64
|
+
id?: number | undefined;
|
|
65
65
|
conditions?: unknown[] | undefined;
|
|
66
66
|
}>>;
|
|
67
67
|
owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -76,7 +76,7 @@ export declare const zBaseDetectorTypeValidator: z.ZodObject<{
|
|
|
76
76
|
config?: Record<string, unknown> | undefined;
|
|
77
77
|
condition_group?: {
|
|
78
78
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
79
|
-
id?:
|
|
79
|
+
id?: number | undefined;
|
|
80
80
|
conditions?: unknown[] | undefined;
|
|
81
81
|
} | undefined;
|
|
82
82
|
description?: string | null | undefined;
|
|
@@ -90,7 +90,7 @@ export declare const zBaseDetectorTypeValidator: z.ZodObject<{
|
|
|
90
90
|
config?: Record<string, unknown> | undefined;
|
|
91
91
|
condition_group?: {
|
|
92
92
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
93
|
-
id?:
|
|
93
|
+
id?: number | undefined;
|
|
94
94
|
conditions?: unknown[] | undefined;
|
|
95
95
|
} | undefined;
|
|
96
96
|
description?: string | null | undefined;
|
|
@@ -25939,10 +25939,13 @@ export declare const zTeam: z.ZodObject<{
|
|
|
25939
25939
|
*/
|
|
25940
25940
|
export declare const zTeamDetails: z.ZodObject<{
|
|
25941
25941
|
slug: z.ZodString;
|
|
25942
|
+
name: z.ZodOptional<z.ZodString>;
|
|
25942
25943
|
}, "strip", z.ZodTypeAny, {
|
|
25943
25944
|
slug: string;
|
|
25945
|
+
name?: string | undefined;
|
|
25944
25946
|
}, {
|
|
25945
25947
|
slug: string;
|
|
25948
|
+
name?: string | undefined;
|
|
25946
25949
|
}>;
|
|
25947
25950
|
export declare const zTeamPost: z.ZodObject<{
|
|
25948
25951
|
slug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -26384,16 +26387,16 @@ export declare const zWorkflowValidator: z.ZodObject<{
|
|
|
26384
26387
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
26385
26388
|
environment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
26386
26389
|
triggers: z.ZodOptional<z.ZodObject<{
|
|
26387
|
-
id: z.ZodOptional<z.
|
|
26390
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
26388
26391
|
logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
|
|
26389
26392
|
conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
26390
26393
|
}, "strip", z.ZodTypeAny, {
|
|
26391
26394
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
26392
|
-
id?:
|
|
26395
|
+
id?: number | undefined;
|
|
26393
26396
|
conditions?: unknown[] | undefined;
|
|
26394
26397
|
}, {
|
|
26395
26398
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
26396
|
-
id?:
|
|
26399
|
+
id?: number | undefined;
|
|
26397
26400
|
conditions?: unknown[] | undefined;
|
|
26398
26401
|
}>>;
|
|
26399
26402
|
action_filters: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -26407,7 +26410,7 @@ export declare const zWorkflowValidator: z.ZodObject<{
|
|
|
26407
26410
|
config?: Record<string, unknown> | undefined;
|
|
26408
26411
|
triggers?: {
|
|
26409
26412
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
26410
|
-
id?:
|
|
26413
|
+
id?: number | undefined;
|
|
26411
26414
|
conditions?: unknown[] | undefined;
|
|
26412
26415
|
} | undefined;
|
|
26413
26416
|
detector_ids?: number[] | undefined;
|
|
@@ -26421,7 +26424,7 @@ export declare const zWorkflowValidator: z.ZodObject<{
|
|
|
26421
26424
|
enabled?: boolean | undefined;
|
|
26422
26425
|
triggers?: {
|
|
26423
26426
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
26424
|
-
id?:
|
|
26427
|
+
id?: number | undefined;
|
|
26425
26428
|
conditions?: unknown[] | undefined;
|
|
26426
26429
|
} | undefined;
|
|
26427
26430
|
detector_ids?: number[] | undefined;
|
|
@@ -32310,16 +32313,16 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
|
|
|
32310
32313
|
data_sources: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
32311
32314
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32312
32315
|
condition_group: z.ZodOptional<z.ZodObject<{
|
|
32313
|
-
id: z.ZodOptional<z.
|
|
32316
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
32314
32317
|
logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
|
|
32315
32318
|
conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
32316
32319
|
}, "strip", z.ZodTypeAny, {
|
|
32317
32320
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
32318
|
-
id?:
|
|
32321
|
+
id?: number | undefined;
|
|
32319
32322
|
conditions?: unknown[] | undefined;
|
|
32320
32323
|
}, {
|
|
32321
32324
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
32322
|
-
id?:
|
|
32325
|
+
id?: number | undefined;
|
|
32323
32326
|
conditions?: unknown[] | undefined;
|
|
32324
32327
|
}>>;
|
|
32325
32328
|
owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -32334,7 +32337,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
|
|
|
32334
32337
|
config?: Record<string, unknown> | undefined;
|
|
32335
32338
|
condition_group?: {
|
|
32336
32339
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
32337
|
-
id?:
|
|
32340
|
+
id?: number | undefined;
|
|
32338
32341
|
conditions?: unknown[] | undefined;
|
|
32339
32342
|
} | undefined;
|
|
32340
32343
|
description?: string | null | undefined;
|
|
@@ -32348,7 +32351,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
|
|
|
32348
32351
|
config?: Record<string, unknown> | undefined;
|
|
32349
32352
|
condition_group?: {
|
|
32350
32353
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
32351
|
-
id?:
|
|
32354
|
+
id?: number | undefined;
|
|
32352
32355
|
conditions?: unknown[] | undefined;
|
|
32353
32356
|
} | undefined;
|
|
32354
32357
|
description?: string | null | undefined;
|
|
@@ -32375,7 +32378,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
|
|
|
32375
32378
|
config?: Record<string, unknown> | undefined;
|
|
32376
32379
|
condition_group?: {
|
|
32377
32380
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
32378
|
-
id?:
|
|
32381
|
+
id?: number | undefined;
|
|
32379
32382
|
conditions?: unknown[] | undefined;
|
|
32380
32383
|
} | undefined;
|
|
32381
32384
|
description?: string | null | undefined;
|
|
@@ -32396,7 +32399,7 @@ export declare const zUpdateOrganizationDetectorData: z.ZodObject<{
|
|
|
32396
32399
|
config?: Record<string, unknown> | undefined;
|
|
32397
32400
|
condition_group?: {
|
|
32398
32401
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
32399
|
-
id?:
|
|
32402
|
+
id?: number | undefined;
|
|
32400
32403
|
conditions?: unknown[] | undefined;
|
|
32401
32404
|
} | undefined;
|
|
32402
32405
|
description?: string | null | undefined;
|
|
@@ -44980,16 +44983,16 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
|
|
|
44980
44983
|
data_sources: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
44981
44984
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
44982
44985
|
condition_group: z.ZodOptional<z.ZodObject<{
|
|
44983
|
-
id: z.ZodOptional<z.
|
|
44986
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
44984
44987
|
logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
|
|
44985
44988
|
conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
44986
44989
|
}, "strip", z.ZodTypeAny, {
|
|
44987
44990
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
44988
|
-
id?:
|
|
44991
|
+
id?: number | undefined;
|
|
44989
44992
|
conditions?: unknown[] | undefined;
|
|
44990
44993
|
}, {
|
|
44991
44994
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
44992
|
-
id?:
|
|
44995
|
+
id?: number | undefined;
|
|
44993
44996
|
conditions?: unknown[] | undefined;
|
|
44994
44997
|
}>>;
|
|
44995
44998
|
owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -45004,7 +45007,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
|
|
|
45004
45007
|
config?: Record<string, unknown> | undefined;
|
|
45005
45008
|
condition_group?: {
|
|
45006
45009
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
45007
|
-
id?:
|
|
45010
|
+
id?: number | undefined;
|
|
45008
45011
|
conditions?: unknown[] | undefined;
|
|
45009
45012
|
} | undefined;
|
|
45010
45013
|
description?: string | null | undefined;
|
|
@@ -45018,7 +45021,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
|
|
|
45018
45021
|
config?: Record<string, unknown> | undefined;
|
|
45019
45022
|
condition_group?: {
|
|
45020
45023
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
45021
|
-
id?:
|
|
45024
|
+
id?: number | undefined;
|
|
45022
45025
|
conditions?: unknown[] | undefined;
|
|
45023
45026
|
} | undefined;
|
|
45024
45027
|
description?: string | null | undefined;
|
|
@@ -45045,7 +45048,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
|
|
|
45045
45048
|
config?: Record<string, unknown> | undefined;
|
|
45046
45049
|
condition_group?: {
|
|
45047
45050
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
45048
|
-
id?:
|
|
45051
|
+
id?: number | undefined;
|
|
45049
45052
|
conditions?: unknown[] | undefined;
|
|
45050
45053
|
} | undefined;
|
|
45051
45054
|
description?: string | null | undefined;
|
|
@@ -45066,7 +45069,7 @@ export declare const zCreateOrganizationProjectDetectorData: z.ZodObject<{
|
|
|
45066
45069
|
config?: Record<string, unknown> | undefined;
|
|
45067
45070
|
condition_group?: {
|
|
45068
45071
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
45069
|
-
id?:
|
|
45072
|
+
id?: number | undefined;
|
|
45070
45073
|
conditions?: unknown[] | undefined;
|
|
45071
45074
|
} | undefined;
|
|
45072
45075
|
description?: string | null | undefined;
|
|
@@ -54517,16 +54520,16 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
|
|
|
54517
54520
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
54518
54521
|
environment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
54519
54522
|
triggers: z.ZodOptional<z.ZodObject<{
|
|
54520
|
-
id: z.ZodOptional<z.
|
|
54523
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
54521
54524
|
logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
|
|
54522
54525
|
conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
54523
54526
|
}, "strip", z.ZodTypeAny, {
|
|
54524
54527
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
54525
|
-
id?:
|
|
54528
|
+
id?: number | undefined;
|
|
54526
54529
|
conditions?: unknown[] | undefined;
|
|
54527
54530
|
}, {
|
|
54528
54531
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
54529
|
-
id?:
|
|
54532
|
+
id?: number | undefined;
|
|
54530
54533
|
conditions?: unknown[] | undefined;
|
|
54531
54534
|
}>>;
|
|
54532
54535
|
action_filters: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -54540,7 +54543,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
|
|
|
54540
54543
|
config?: Record<string, unknown> | undefined;
|
|
54541
54544
|
triggers?: {
|
|
54542
54545
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
54543
|
-
id?:
|
|
54546
|
+
id?: number | undefined;
|
|
54544
54547
|
conditions?: unknown[] | undefined;
|
|
54545
54548
|
} | undefined;
|
|
54546
54549
|
detector_ids?: number[] | undefined;
|
|
@@ -54554,7 +54557,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
|
|
|
54554
54557
|
enabled?: boolean | undefined;
|
|
54555
54558
|
triggers?: {
|
|
54556
54559
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
54557
|
-
id?:
|
|
54560
|
+
id?: number | undefined;
|
|
54558
54561
|
conditions?: unknown[] | undefined;
|
|
54559
54562
|
} | undefined;
|
|
54560
54563
|
detector_ids?: number[] | undefined;
|
|
@@ -54578,7 +54581,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
|
|
|
54578
54581
|
config?: Record<string, unknown> | undefined;
|
|
54579
54582
|
triggers?: {
|
|
54580
54583
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
54581
|
-
id?:
|
|
54584
|
+
id?: number | undefined;
|
|
54582
54585
|
conditions?: unknown[] | undefined;
|
|
54583
54586
|
} | undefined;
|
|
54584
54587
|
detector_ids?: number[] | undefined;
|
|
@@ -54598,7 +54601,7 @@ export declare const zCreateOrganizationWorkflowData: z.ZodObject<{
|
|
|
54598
54601
|
enabled?: boolean | undefined;
|
|
54599
54602
|
triggers?: {
|
|
54600
54603
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
54601
|
-
id?:
|
|
54604
|
+
id?: number | undefined;
|
|
54602
54605
|
conditions?: unknown[] | undefined;
|
|
54603
54606
|
} | undefined;
|
|
54604
54607
|
detector_ids?: number[] | undefined;
|
|
@@ -55553,16 +55556,16 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
|
|
|
55553
55556
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
55554
55557
|
environment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
55555
55558
|
triggers: z.ZodOptional<z.ZodObject<{
|
|
55556
|
-
id: z.ZodOptional<z.
|
|
55559
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
55557
55560
|
logic_type: z.ZodEnum<["any", "any-short", "all", "none"]>;
|
|
55558
55561
|
conditions: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
55559
55562
|
}, "strip", z.ZodTypeAny, {
|
|
55560
55563
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
55561
|
-
id?:
|
|
55564
|
+
id?: number | undefined;
|
|
55562
55565
|
conditions?: unknown[] | undefined;
|
|
55563
55566
|
}, {
|
|
55564
55567
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
55565
|
-
id?:
|
|
55568
|
+
id?: number | undefined;
|
|
55566
55569
|
conditions?: unknown[] | undefined;
|
|
55567
55570
|
}>>;
|
|
55568
55571
|
action_filters: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -55576,7 +55579,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
|
|
|
55576
55579
|
config?: Record<string, unknown> | undefined;
|
|
55577
55580
|
triggers?: {
|
|
55578
55581
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
55579
|
-
id?:
|
|
55582
|
+
id?: number | undefined;
|
|
55580
55583
|
conditions?: unknown[] | undefined;
|
|
55581
55584
|
} | undefined;
|
|
55582
55585
|
detector_ids?: number[] | undefined;
|
|
@@ -55590,7 +55593,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
|
|
|
55590
55593
|
enabled?: boolean | undefined;
|
|
55591
55594
|
triggers?: {
|
|
55592
55595
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
55593
|
-
id?:
|
|
55596
|
+
id?: number | undefined;
|
|
55594
55597
|
conditions?: unknown[] | undefined;
|
|
55595
55598
|
} | undefined;
|
|
55596
55599
|
detector_ids?: number[] | undefined;
|
|
@@ -55617,7 +55620,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
|
|
|
55617
55620
|
config?: Record<string, unknown> | undefined;
|
|
55618
55621
|
triggers?: {
|
|
55619
55622
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
55620
|
-
id?:
|
|
55623
|
+
id?: number | undefined;
|
|
55621
55624
|
conditions?: unknown[] | undefined;
|
|
55622
55625
|
} | undefined;
|
|
55623
55626
|
detector_ids?: number[] | undefined;
|
|
@@ -55638,7 +55641,7 @@ export declare const zUpdateOrganizationWorkflowData: z.ZodObject<{
|
|
|
55638
55641
|
enabled?: boolean | undefined;
|
|
55639
55642
|
triggers?: {
|
|
55640
55643
|
logic_type: "any" | "any-short" | "all" | "none";
|
|
55641
|
-
id?:
|
|
55644
|
+
id?: number | undefined;
|
|
55642
55645
|
conditions?: unknown[] | undefined;
|
|
55643
55646
|
} | undefined;
|
|
55644
55647
|
detector_ids?: number[] | undefined;
|
|
@@ -67151,10 +67154,13 @@ export declare const zGetTeamResponse: z.ZodObject<{
|
|
|
67151
67154
|
export declare const zUpdateTeamData: z.ZodObject<{
|
|
67152
67155
|
body: z.ZodObject<{
|
|
67153
67156
|
slug: z.ZodString;
|
|
67157
|
+
name: z.ZodOptional<z.ZodString>;
|
|
67154
67158
|
}, "strip", z.ZodTypeAny, {
|
|
67155
67159
|
slug: string;
|
|
67160
|
+
name?: string | undefined;
|
|
67156
67161
|
}, {
|
|
67157
67162
|
slug: string;
|
|
67163
|
+
name?: string | undefined;
|
|
67158
67164
|
}>;
|
|
67159
67165
|
path: z.ZodObject<{
|
|
67160
67166
|
organization_id_or_slug: z.ZodString;
|
|
@@ -67170,6 +67176,7 @@ export declare const zUpdateTeamData: z.ZodObject<{
|
|
|
67170
67176
|
}, "strip", z.ZodTypeAny, {
|
|
67171
67177
|
body: {
|
|
67172
67178
|
slug: string;
|
|
67179
|
+
name?: string | undefined;
|
|
67173
67180
|
};
|
|
67174
67181
|
path: {
|
|
67175
67182
|
organization_id_or_slug: string;
|
|
@@ -67179,6 +67186,7 @@ export declare const zUpdateTeamData: z.ZodObject<{
|
|
|
67179
67186
|
}, {
|
|
67180
67187
|
body: {
|
|
67181
67188
|
slug: string;
|
|
67189
|
+
name?: string | undefined;
|
|
67182
67190
|
};
|
|
67183
67191
|
path: {
|
|
67184
67192
|
organization_id_or_slug: string;
|
|
@@ -69443,17 +69451,23 @@ export declare const zListProjectIssuesData: z.ZodObject<{
|
|
|
69443
69451
|
shortIdLookup: z.ZodOptional<z.ZodBoolean>;
|
|
69444
69452
|
query: z.ZodOptional<z.ZodString>;
|
|
69445
69453
|
hashes: z.ZodOptional<z.ZodString>;
|
|
69454
|
+
sort: z.ZodOptional<z.ZodEnum<["date", "new", "trends", "freq", "user", "inbox"]>>;
|
|
69455
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
69446
69456
|
cursor: z.ZodOptional<z.ZodString>;
|
|
69447
69457
|
}, "strip", z.ZodTypeAny, {
|
|
69458
|
+
limit: number;
|
|
69459
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69448
69460
|
query?: string | undefined;
|
|
69449
69461
|
cursor?: string | undefined;
|
|
69450
69462
|
statsPeriod?: string | undefined;
|
|
69451
69463
|
shortIdLookup?: boolean | undefined;
|
|
69452
69464
|
hashes?: string | undefined;
|
|
69453
69465
|
}, {
|
|
69466
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69454
69467
|
query?: string | undefined;
|
|
69455
69468
|
cursor?: string | undefined;
|
|
69456
69469
|
statsPeriod?: string | undefined;
|
|
69470
|
+
limit?: number | undefined;
|
|
69457
69471
|
shortIdLookup?: boolean | undefined;
|
|
69458
69472
|
hashes?: string | undefined;
|
|
69459
69473
|
}>>;
|
|
@@ -69463,6 +69477,8 @@ export declare const zListProjectIssuesData: z.ZodObject<{
|
|
|
69463
69477
|
project_id_or_slug: string;
|
|
69464
69478
|
};
|
|
69465
69479
|
query?: {
|
|
69480
|
+
limit: number;
|
|
69481
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69466
69482
|
query?: string | undefined;
|
|
69467
69483
|
cursor?: string | undefined;
|
|
69468
69484
|
statsPeriod?: string | undefined;
|
|
@@ -69476,9 +69492,11 @@ export declare const zListProjectIssuesData: z.ZodObject<{
|
|
|
69476
69492
|
project_id_or_slug: string;
|
|
69477
69493
|
};
|
|
69478
69494
|
query?: {
|
|
69495
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69479
69496
|
query?: string | undefined;
|
|
69480
69497
|
cursor?: string | undefined;
|
|
69481
69498
|
statsPeriod?: string | undefined;
|
|
69499
|
+
limit?: number | undefined;
|
|
69482
69500
|
shortIdLookup?: boolean | undefined;
|
|
69483
69501
|
hashes?: string | undefined;
|
|
69484
69502
|
} | undefined;
|
|
@@ -69880,13 +69898,19 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
|
|
|
69880
69898
|
}>;
|
|
69881
69899
|
query: z.ZodOptional<z.ZodObject<{
|
|
69882
69900
|
query: z.ZodOptional<z.ZodString>;
|
|
69901
|
+
project: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
69902
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
69883
69903
|
cursor: z.ZodOptional<z.ZodString>;
|
|
69884
69904
|
}, "strip", z.ZodTypeAny, {
|
|
69885
69905
|
query?: string | undefined;
|
|
69906
|
+
project?: string[] | undefined;
|
|
69886
69907
|
cursor?: string | undefined;
|
|
69908
|
+
per_page?: number | undefined;
|
|
69887
69909
|
}, {
|
|
69888
69910
|
query?: string | undefined;
|
|
69911
|
+
project?: string[] | undefined;
|
|
69889
69912
|
cursor?: string | undefined;
|
|
69913
|
+
per_page?: number | undefined;
|
|
69890
69914
|
}>>;
|
|
69891
69915
|
}, "strip", z.ZodTypeAny, {
|
|
69892
69916
|
path: {
|
|
@@ -69894,7 +69918,9 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
|
|
|
69894
69918
|
};
|
|
69895
69919
|
query?: {
|
|
69896
69920
|
query?: string | undefined;
|
|
69921
|
+
project?: string[] | undefined;
|
|
69897
69922
|
cursor?: string | undefined;
|
|
69923
|
+
per_page?: number | undefined;
|
|
69898
69924
|
} | undefined;
|
|
69899
69925
|
body?: undefined;
|
|
69900
69926
|
}, {
|
|
@@ -69903,7 +69929,9 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
|
|
|
69903
69929
|
};
|
|
69904
69930
|
query?: {
|
|
69905
69931
|
query?: string | undefined;
|
|
69932
|
+
project?: string[] | undefined;
|
|
69906
69933
|
cursor?: string | undefined;
|
|
69934
|
+
per_page?: number | undefined;
|
|
69907
69935
|
} | undefined;
|
|
69908
69936
|
body?: undefined;
|
|
69909
69937
|
}>;
|
package/dist/zod.js
CHANGED
|
@@ -14,7 +14,7 @@ var zAutofixStateResponse = z.object({
|
|
|
14
14
|
])
|
|
15
15
|
});
|
|
16
16
|
var zBaseDataConditionGroupValidator = z.object({
|
|
17
|
-
id: z.
|
|
17
|
+
id: z.number().int().optional(),
|
|
18
18
|
logic_type: z.enum([
|
|
19
19
|
"any",
|
|
20
20
|
"any-short",
|
|
@@ -30,7 +30,7 @@ var zBaseDetectorTypeValidator = z.object({
|
|
|
30
30
|
data_sources: z.array(z.unknown()).optional(),
|
|
31
31
|
config: z.record(z.unknown()).optional(),
|
|
32
32
|
condition_group: z.object({
|
|
33
|
-
id: z.
|
|
33
|
+
id: z.number().int().optional(),
|
|
34
34
|
logic_type: z.enum([
|
|
35
35
|
"any",
|
|
36
36
|
"any-short",
|
|
@@ -10266,7 +10266,8 @@ var zTeam = z.object({
|
|
|
10266
10266
|
})).optional()
|
|
10267
10267
|
});
|
|
10268
10268
|
var zTeamDetails = z.object({
|
|
10269
|
-
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/)
|
|
10269
|
+
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/),
|
|
10270
|
+
name: z.string().max(64).optional()
|
|
10270
10271
|
});
|
|
10271
10272
|
var zTeamPost = z.object({
|
|
10272
10273
|
slug: z.union([
|
|
@@ -10440,7 +10441,7 @@ var zWorkflowValidator = z.object({
|
|
|
10440
10441
|
z.null()
|
|
10441
10442
|
]).optional(),
|
|
10442
10443
|
triggers: z.object({
|
|
10443
|
-
id: z.
|
|
10444
|
+
id: z.number().int().optional(),
|
|
10444
10445
|
logic_type: z.enum([
|
|
10445
10446
|
"any",
|
|
10446
10447
|
"any-short",
|
|
@@ -12143,7 +12144,7 @@ var zUpdateOrganizationDetectorData = z.object({
|
|
|
12143
12144
|
data_sources: z.array(z.unknown()).optional(),
|
|
12144
12145
|
config: z.record(z.unknown()).optional(),
|
|
12145
12146
|
condition_group: z.object({
|
|
12146
|
-
id: z.
|
|
12147
|
+
id: z.number().int().optional(),
|
|
12147
12148
|
logic_type: z.enum([
|
|
12148
12149
|
"any",
|
|
12149
12150
|
"any-short",
|
|
@@ -17511,7 +17512,7 @@ var zCreateOrganizationProjectDetectorData = z.object({
|
|
|
17511
17512
|
data_sources: z.array(z.unknown()).optional(),
|
|
17512
17513
|
config: z.record(z.unknown()).optional(),
|
|
17513
17514
|
condition_group: z.object({
|
|
17514
|
-
id: z.
|
|
17515
|
+
id: z.number().int().optional(),
|
|
17515
17516
|
logic_type: z.enum([
|
|
17516
17517
|
"any",
|
|
17517
17518
|
"any-short",
|
|
@@ -20609,7 +20610,7 @@ var zCreateOrganizationWorkflowData = z.object({
|
|
|
20609
20610
|
z.null()
|
|
20610
20611
|
]).optional(),
|
|
20611
20612
|
triggers: z.object({
|
|
20612
|
-
id: z.
|
|
20613
|
+
id: z.number().int().optional(),
|
|
20613
20614
|
logic_type: z.enum([
|
|
20614
20615
|
"any",
|
|
20615
20616
|
"any-short",
|
|
@@ -20962,7 +20963,7 @@ var zUpdateOrganizationWorkflowData = z.object({
|
|
|
20962
20963
|
z.null()
|
|
20963
20964
|
]).optional(),
|
|
20964
20965
|
triggers: z.object({
|
|
20965
|
-
id: z.
|
|
20966
|
+
id: z.number().int().optional(),
|
|
20966
20967
|
logic_type: z.enum([
|
|
20967
20968
|
"any",
|
|
20968
20969
|
"any-short",
|
|
@@ -25717,7 +25718,8 @@ var zGetTeamResponse = z.object({
|
|
|
25717
25718
|
});
|
|
25718
25719
|
var zUpdateTeamData = z.object({
|
|
25719
25720
|
body: z.object({
|
|
25720
|
-
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/)
|
|
25721
|
+
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/),
|
|
25722
|
+
name: z.string().max(64).optional()
|
|
25721
25723
|
}),
|
|
25722
25724
|
path: z.object({
|
|
25723
25725
|
organization_id_or_slug: z.string(),
|
|
@@ -26423,6 +26425,15 @@ var zListProjectIssuesData = z.object({
|
|
|
26423
26425
|
shortIdLookup: z.boolean().optional(),
|
|
26424
26426
|
query: z.string().optional(),
|
|
26425
26427
|
hashes: z.string().optional(),
|
|
26428
|
+
sort: z.enum([
|
|
26429
|
+
"date",
|
|
26430
|
+
"new",
|
|
26431
|
+
"trends",
|
|
26432
|
+
"freq",
|
|
26433
|
+
"user",
|
|
26434
|
+
"inbox"
|
|
26435
|
+
]).optional(),
|
|
26436
|
+
limit: z.number().int().optional().default(100),
|
|
26426
26437
|
cursor: z.string().optional()
|
|
26427
26438
|
}).optional()
|
|
26428
26439
|
});
|
|
@@ -26571,6 +26582,8 @@ var zListOrganizationReleasesData = z.object({
|
|
|
26571
26582
|
}),
|
|
26572
26583
|
query: z.object({
|
|
26573
26584
|
query: z.string().optional(),
|
|
26585
|
+
project: z.array(z.string()).optional(),
|
|
26586
|
+
per_page: z.number().int().optional(),
|
|
26574
26587
|
cursor: z.string().optional()
|
|
26575
26588
|
}).optional()
|
|
26576
26589
|
});
|