@sentry/api 0.290.0 → 0.291.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/zod.js CHANGED
@@ -20,7 +20,11 @@ var zAutofixPostResponse = z.object({
20
20
  });
21
21
  var zAutofixStateResponse = z.object({
22
22
  formatted: z.object({
23
- format: z.enum(["markdown", "xml"]),
23
+ format: z.enum([
24
+ "markdown",
25
+ "xml",
26
+ "json"
27
+ ]),
24
28
  content: z.string()
25
29
  }).optional(),
26
30
  autofix: z.union([
@@ -2378,6 +2382,30 @@ var zDiscoverSavedQuery = z.object({
2378
2382
  z.string(),
2379
2383
  z.null()
2380
2384
  ]).optional(),
2385
+ rollup: z.union([
2386
+ z.number().int(),
2387
+ z.null()
2388
+ ]).optional(),
2389
+ aggregations: z.union([
2390
+ z.array(z.array(z.unknown())),
2391
+ z.null()
2392
+ ]).optional(),
2393
+ groupby: z.union([
2394
+ z.array(z.string()),
2395
+ z.null()
2396
+ ]).optional(),
2397
+ conditions: z.union([
2398
+ z.array(z.array(z.unknown())),
2399
+ z.null()
2400
+ ]).optional(),
2401
+ limit: z.union([
2402
+ z.number().int().gte(0).lte(1000),
2403
+ z.null()
2404
+ ]).optional(),
2405
+ version: z.union([
2406
+ z.number().int().gte(1).lte(2),
2407
+ z.null()
2408
+ ]).optional(),
2381
2409
  environment: z.union([
2382
2410
  z.array(z.string()),
2383
2411
  z.null()
@@ -2386,6 +2414,10 @@ var zDiscoverSavedQuery = z.object({
2386
2414
  z.string(),
2387
2415
  z.null()
2388
2416
  ]).optional(),
2417
+ widths: z.union([
2418
+ z.array(z.string()),
2419
+ z.null()
2420
+ ]).optional(),
2389
2421
  yAxis: z.union([
2390
2422
  z.array(z.string()),
2391
2423
  z.null()
@@ -2420,6 +2452,7 @@ var zDiscoverSavedQueryListResponse = z.array(z.object({
2420
2452
  topEvents: z.number().int().optional(),
2421
2453
  interval: z.string().optional(),
2422
2454
  exploreQuery: z.record(z.unknown()).optional(),
2455
+ lastVisited: z.string().optional(),
2423
2456
  id: z.string(),
2424
2457
  name: z.string(),
2425
2458
  projects: z.array(z.number().int()),
@@ -2503,6 +2536,7 @@ var zDiscoverSavedQueryModel = z.object({
2503
2536
  topEvents: z.number().int().optional(),
2504
2537
  interval: z.string().optional(),
2505
2538
  exploreQuery: z.record(z.unknown()).optional(),
2539
+ lastVisited: z.string().optional(),
2506
2540
  id: z.string(),
2507
2541
  name: z.string(),
2508
2542
  projects: z.array(z.number().int()),
@@ -2569,6 +2603,19 @@ var zDiscoverSavedQueryModel = z.object({
2569
2603
  }))
2570
2604
  })
2571
2605
  });
2606
+ var zDynamicSamplingBias = z.object({
2607
+ id: z.enum([
2608
+ "boostEnvironments",
2609
+ "boostKeyTransactions",
2610
+ "boostLatestRelease",
2611
+ "boostLowVolumeTransactions",
2612
+ "boostReplayId",
2613
+ "ignoreHealthChecks",
2614
+ "minimumSampleRate",
2615
+ "recalibrationRule"
2616
+ ]),
2617
+ active: z.boolean().optional().default(false)
2618
+ });
2572
2619
  var zDynamicSdkLoaderOption = z.object({
2573
2620
  hasReplay: z.boolean().optional(),
2574
2621
  hasPerformance: z.boolean().optional(),
@@ -2838,6 +2885,7 @@ var zExternalIssueLinkResponse = z.object({
2838
2885
  displayName: z.string()
2839
2886
  });
2840
2887
  var zExternalTeam = z.object({
2888
+ team_id: z.number().int(),
2841
2889
  external_name: z.string(),
2842
2890
  provider: z.enum([
2843
2891
  "github",
@@ -4051,6 +4099,15 @@ var zGroupValidator = z.object({
4051
4099
  "low",
4052
4100
  "medium",
4053
4101
  "high"
4102
+ ]),
4103
+ ignoreDuration: z.number().int().gte(0),
4104
+ ignoreCount: z.number().int().gte(0),
4105
+ ignoreWindow: z.number().int().gte(0).lte(10080),
4106
+ ignoreUserCount: z.number().int().gte(0),
4107
+ ignoreUserWindow: z.number().int().gte(0).lte(10080),
4108
+ snoozeDuration: z.union([
4109
+ z.number().int().gte(0),
4110
+ z.null()
4054
4111
  ])
4055
4112
  });
4056
4113
  var zInCommitValidator = z.object({
@@ -4514,7 +4571,11 @@ var zIssueEventDetailsResponse = z.object({
4514
4571
  z.null()
4515
4572
  ]),
4516
4573
  formatted: z.object({
4517
- format: z.enum(["markdown", "xml"]),
4574
+ format: z.enum([
4575
+ "markdown",
4576
+ "xml",
4577
+ "json"
4578
+ ]),
4518
4579
  content: z.string()
4519
4580
  }).optional()
4520
4581
  });
@@ -5313,6 +5374,61 @@ var zListOrgTeamResponse = z.array(z.object({
5313
5374
  status: z.string()
5314
5375
  })).optional()
5315
5376
  }));
5377
+ var zListOrganizationAiConversationsResponse = z.array(z.object({
5378
+ conversationId: z.string(),
5379
+ title: z.union([
5380
+ z.string(),
5381
+ z.null()
5382
+ ]),
5383
+ projectId: z.union([
5384
+ z.number().int(),
5385
+ z.null()
5386
+ ]),
5387
+ flow: z.array(z.string()),
5388
+ errors: z.number().int(),
5389
+ llmCalls: z.number().int(),
5390
+ toolCalls: z.number().int(),
5391
+ totalTokens: z.number().int(),
5392
+ inputTokens: z.number().int(),
5393
+ outputTokens: z.number().int(),
5394
+ totalCost: z.number(),
5395
+ generationDuration: z.number(),
5396
+ startTimestamp: z.number().int(),
5397
+ endTimestamp: z.number().int(),
5398
+ traceCount: z.number().int(),
5399
+ traceIds: z.array(z.string()),
5400
+ firstInput: z.union([
5401
+ z.string(),
5402
+ z.null()
5403
+ ]),
5404
+ lastOutput: z.union([
5405
+ z.string(),
5406
+ z.null()
5407
+ ]),
5408
+ user: z.union([
5409
+ z.object({
5410
+ id: z.union([
5411
+ z.string(),
5412
+ z.null()
5413
+ ]),
5414
+ email: z.union([
5415
+ z.string(),
5416
+ z.null()
5417
+ ]),
5418
+ username: z.union([
5419
+ z.string(),
5420
+ z.null()
5421
+ ]),
5422
+ ip_address: z.union([
5423
+ z.string(),
5424
+ z.null()
5425
+ ])
5426
+ }),
5427
+ z.null()
5428
+ ]),
5429
+ toolNames: z.array(z.string()),
5430
+ toolErrors: z.number().int()
5431
+ }));
5316
5432
  var zListOrganizationClientKeysResponse = z.array(z.object({
5317
5433
  id: z.string(),
5318
5434
  name: z.string(),
@@ -7160,6 +7276,20 @@ var zMonitor = z.object({
7160
7276
  email: z.string().optional()
7161
7277
  })
7162
7278
  });
7279
+ var zMonitorAlertRuleTargetValidator = z.object({
7280
+ target_identifier: z.number().int(),
7281
+ target_type: z.string()
7282
+ });
7283
+ var zMonitorAlertRuleValidator = z.object({
7284
+ environment: z.union([
7285
+ z.string().max(64),
7286
+ z.null()
7287
+ ]).optional(),
7288
+ targets: z.array(z.object({
7289
+ target_identifier: z.number().int(),
7290
+ target_type: z.string()
7291
+ }))
7292
+ });
7163
7293
  var zMonitorList = z.array(z.object({
7164
7294
  alertRule: z.object({
7165
7295
  targets: z.array(z.object({
@@ -7924,7 +8054,17 @@ var zMonitorValidator = z.object({
7924
8054
  z.string(),
7925
8055
  z.null()
7926
8056
  ]).optional(),
7927
- is_muted: z.boolean().optional()
8057
+ is_muted: z.boolean().optional(),
8058
+ alert_rule: z.object({
8059
+ environment: z.union([
8060
+ z.string().max(64),
8061
+ z.null()
8062
+ ]).optional(),
8063
+ targets: z.array(z.object({
8064
+ target_identifier: z.number().int(),
8065
+ target_type: z.string()
8066
+ }))
8067
+ }).optional()
7928
8068
  });
7929
8069
  var zNotificationAction = z.object({
7930
8070
  trigger_type: z.string(),
@@ -7932,7 +8072,9 @@ var zNotificationAction = z.object({
7932
8072
  integration_id: z.number().int().optional(),
7933
8073
  target_identifier: z.string().optional(),
7934
8074
  target_display: z.string().optional(),
7935
- projects: z.array(z.string()).optional()
8075
+ projects: z.array(z.string()).optional(),
8076
+ sentry_app_id: z.number().int().optional(),
8077
+ target_type: z.string().optional().default("specific")
7936
8078
  });
7937
8079
  var zOrgReleaseResponse = z.object({
7938
8080
  ref: z.union([
@@ -8242,7 +8384,8 @@ var zOrganizationDetailsPut = z.object({
8242
8384
  ]).optional(),
8243
8385
  issueAlertsThreadFlag: z.boolean().optional(),
8244
8386
  metricAlertsThreadFlag: z.boolean().optional(),
8245
- cancelDeletion: z.boolean().optional()
8387
+ cancelDeletion: z.boolean().optional(),
8388
+ apdexThreshold: z.number().int().optional()
8246
8389
  });
8247
8390
  var zOrganizationEnvironmentResponse = z.array(z.object({
8248
8391
  id: z.string(),
@@ -8769,6 +8912,107 @@ var zOrganizationIssueView = z.object({
8769
8912
  starred: z.boolean(),
8770
8913
  stars: z.number().int()
8771
8914
  });
8915
+ var zOrganizationIssueViewList = z.array(z.object({
8916
+ id: z.string(),
8917
+ createdBy: z.union([
8918
+ z.object({
8919
+ identities: z.array(z.object({
8920
+ id: z.string(),
8921
+ name: z.string(),
8922
+ organization: z.object({
8923
+ slug: z.string(),
8924
+ name: z.string()
8925
+ }),
8926
+ provider: z.object({
8927
+ id: z.string(),
8928
+ name: z.string()
8929
+ }),
8930
+ dateVerified: z.string().datetime(),
8931
+ dateSynced: z.string().datetime()
8932
+ })).optional(),
8933
+ avatar: z.object({
8934
+ avatarType: z.string().optional(),
8935
+ avatarUuid: z.union([
8936
+ z.string(),
8937
+ z.null()
8938
+ ]).optional(),
8939
+ avatarUrl: z.union([
8940
+ z.string(),
8941
+ z.null()
8942
+ ]).optional()
8943
+ }).optional(),
8944
+ authenticators: z.array(z.unknown()).optional(),
8945
+ canReset2fa: z.boolean().optional(),
8946
+ id: z.string(),
8947
+ name: z.string(),
8948
+ username: z.string(),
8949
+ email: z.string(),
8950
+ avatarUrl: z.string(),
8951
+ isActive: z.boolean(),
8952
+ isSuspended: z.boolean(),
8953
+ hasPasswordAuth: z.boolean(),
8954
+ isManaged: z.boolean(),
8955
+ dateJoined: z.string().datetime(),
8956
+ lastLogin: z.union([
8957
+ z.string().datetime(),
8958
+ z.null()
8959
+ ]),
8960
+ has2fa: z.boolean(),
8961
+ lastActive: z.union([
8962
+ z.string().datetime(),
8963
+ z.null()
8964
+ ]),
8965
+ isSuperuser: z.boolean(),
8966
+ isStaff: z.boolean(),
8967
+ experiments: z.record(z.unknown()),
8968
+ emails: z.array(z.object({
8969
+ id: z.string(),
8970
+ email: z.string(),
8971
+ is_verified: z.boolean()
8972
+ }))
8973
+ }),
8974
+ z.null()
8975
+ ]),
8976
+ name: z.string(),
8977
+ query: z.string(),
8978
+ querySort: z.enum([
8979
+ "date",
8980
+ "new",
8981
+ "trends",
8982
+ "freq",
8983
+ "user",
8984
+ "inbox",
8985
+ "recommended"
8986
+ ]),
8987
+ projects: z.array(z.number().int()),
8988
+ environments: z.array(z.string()),
8989
+ timeFilters: z.object({
8990
+ start: z.union([
8991
+ z.string(),
8992
+ z.null()
8993
+ ]).optional(),
8994
+ end: z.union([
8995
+ z.string(),
8996
+ z.null()
8997
+ ]).optional(),
8998
+ period: z.union([
8999
+ z.string(),
9000
+ z.null()
9001
+ ]).optional(),
9002
+ utc: z.union([
9003
+ z.boolean(),
9004
+ z.null()
9005
+ ]).optional()
9006
+ }),
9007
+ lastVisited: z.union([
9008
+ z.string(),
9009
+ z.null()
9010
+ ]),
9011
+ dateCreated: z.string(),
9012
+ dateUpdated: z.string(),
9013
+ starred: z.boolean(),
9014
+ stars: z.number().int()
9015
+ }));
8772
9016
  var zOrganizationMember = z.object({
8773
9017
  externalUsers: z.array(z.object({
8774
9018
  externalId: z.string().optional(),
@@ -8861,6 +9105,12 @@ var zOrganizationMember = z.object({
8861
9105
  });
8862
9106
  var zOrganizationMemberRequest = z.object({
8863
9107
  email: z.string().email().max(75),
9108
+ role: z.enum([
9109
+ "member",
9110
+ "admin",
9111
+ "manager",
9112
+ "owner"
9113
+ ]).optional(),
8864
9114
  orgRole: z.enum([
8865
9115
  "billing",
8866
9116
  "member",
@@ -8868,11 +9118,13 @@ var zOrganizationMemberRequest = z.object({
8868
9118
  "owner",
8869
9119
  "admin"
8870
9120
  ]).optional(),
9121
+ teams: z.array(z.unknown()).optional(),
8871
9122
  teamRoles: z.union([
8872
9123
  z.array(z.record(z.unknown())),
8873
9124
  z.null()
8874
9125
  ]).optional(),
8875
- reinvite: z.boolean().optional()
9126
+ reinvite: z.boolean().optional(),
9127
+ regenerate: z.boolean().optional()
8876
9128
  });
8877
9129
  var zOrganizationMemberScim = z.object({
8878
9130
  active: z.boolean().optional(),
@@ -9157,6 +9409,15 @@ var zOrganizationRelease = z.object({
9157
9409
  z.null()
9158
9410
  ]).optional()
9159
9411
  })).optional(),
9412
+ status: z.string().optional(),
9413
+ headCommits: z.array(z.object({
9414
+ currentId: z.string().max(64),
9415
+ repository: z.string().max(64),
9416
+ previousId: z.union([
9417
+ z.string().max(64),
9418
+ z.null()
9419
+ ]).optional()
9420
+ })).optional(),
9160
9421
  refs: z.array(z.object({
9161
9422
  commit: z.string(),
9162
9423
  repository: z.string().max(200),
@@ -9836,7 +10097,69 @@ var zOutgoingNotificationAction = z.object({
9836
10097
  ])
9837
10098
  });
9838
10099
  var zProjectAdmin = z.object({
10100
+ digestsMinDelay: z.number().int().gte(60).lte(3600),
10101
+ digestsMaxDelay: z.number().int().gte(60).lte(3600),
10102
+ securityToken: z.string().max(255).regex(/^[-a-zA-Z0-9+\/=\s]+$/),
10103
+ securityTokenHeader: z.string().max(64).regex(/^[a-zA-Z0-9_\-]+$/),
9839
10104
  isBookmarked: z.boolean().optional(),
10105
+ autofixAutomationTuning: z.enum([
10106
+ "off",
10107
+ "super_low",
10108
+ "low",
10109
+ "medium",
10110
+ "high",
10111
+ "always"
10112
+ ]).optional(),
10113
+ seerScannerAutomation: z.boolean().optional(),
10114
+ preprodSizeStatusChecksEnabled: z.boolean().optional(),
10115
+ preprodSizeStatusChecksRules: z.record(z.unknown()).optional(),
10116
+ preprodSizePrCommentsEnabled: z.boolean().optional(),
10117
+ preprodSizePrCommentsRules: z.record(z.unknown()).optional(),
10118
+ preprodSnapshotStatusChecksEnabled: z.boolean().optional(),
10119
+ preprodSnapshotStatusChecksFailOnAdded: z.boolean().optional(),
10120
+ preprodSnapshotStatusChecksFailOnRemoved: z.boolean().optional(),
10121
+ preprodSnapshotStatusChecksFailOnChanged: z.boolean().optional(),
10122
+ preprodSnapshotStatusChecksFailOnRenamed: z.boolean().optional(),
10123
+ preprodSizeEnabledByCustomer: z.union([
10124
+ z.boolean(),
10125
+ z.null()
10126
+ ]).optional(),
10127
+ preprodDistributionEnabledByCustomer: z.union([
10128
+ z.boolean(),
10129
+ z.null()
10130
+ ]).optional(),
10131
+ preprodDistributionPrCommentsEnabledByCustomer: z.union([
10132
+ z.boolean(),
10133
+ z.null()
10134
+ ]).optional(),
10135
+ preprodSnapshotPrCommentsEnabled: z.union([
10136
+ z.boolean(),
10137
+ z.null()
10138
+ ]).optional(),
10139
+ preprodSnapshotPrCommentsPostOnAdded: z.union([
10140
+ z.boolean(),
10141
+ z.null()
10142
+ ]).optional(),
10143
+ preprodSnapshotPrCommentsPostOnRemoved: z.union([
10144
+ z.boolean(),
10145
+ z.null()
10146
+ ]).optional(),
10147
+ preprodSnapshotPrCommentsPostOnChanged: z.union([
10148
+ z.boolean(),
10149
+ z.null()
10150
+ ]).optional(),
10151
+ preprodSnapshotPrCommentsPostOnRenamed: z.union([
10152
+ z.boolean(),
10153
+ z.null()
10154
+ ]).optional(),
10155
+ preprodSizeEnabledQuery: z.union([
10156
+ z.string(),
10157
+ z.null()
10158
+ ]).optional(),
10159
+ preprodDistributionEnabledQuery: z.union([
10160
+ z.string(),
10161
+ z.null()
10162
+ ]).optional(),
9840
10163
  name: z.string().max(200).optional(),
9841
10164
  slug: z.string().max(100).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/).optional(),
9842
10165
  platform: z.union([
@@ -9851,8 +10174,75 @@ var zProjectAdmin = z.object({
9851
10174
  ]).optional(),
9852
10175
  highlightContext: z.record(z.unknown()).optional(),
9853
10176
  highlightTags: z.array(z.string()).optional(),
10177
+ verifySSL: z.boolean().optional(),
10178
+ defaultEnvironment: z.union([
10179
+ z.string(),
10180
+ z.null()
10181
+ ]).optional(),
10182
+ dataScrubber: z.boolean().optional(),
10183
+ dataScrubberDefaults: z.boolean().optional(),
10184
+ sensitiveFields: z.array(z.string()).optional(),
10185
+ safeFields: z.array(z.string()).optional(),
10186
+ storeCrashReports: z.union([
10187
+ z.number().int().gte(-1).lte(100),
10188
+ z.null()
10189
+ ]).optional(),
10190
+ relayPiiConfig: z.union([
10191
+ z.string(),
10192
+ z.null()
10193
+ ]).optional(),
10194
+ builtinSymbolSources: z.array(z.string()).optional(),
10195
+ symbolSources: z.union([
10196
+ z.string(),
10197
+ z.null()
10198
+ ]).optional(),
10199
+ scrubIPAddresses: z.boolean().optional(),
10200
+ groupingConfig: z.union([
10201
+ z.string(),
10202
+ z.null()
10203
+ ]).optional(),
10204
+ groupingEnhancements: z.union([
10205
+ z.string(),
10206
+ z.null()
10207
+ ]).optional(),
10208
+ fingerprintingRules: z.union([
10209
+ z.string(),
10210
+ z.null()
10211
+ ]).optional(),
10212
+ secondaryGroupingConfig: z.union([
10213
+ z.string(),
10214
+ z.null()
10215
+ ]).optional(),
10216
+ secondaryGroupingExpiry: z.union([
10217
+ z.number().int().gte(1),
10218
+ z.null()
10219
+ ]).optional(),
10220
+ scrapeJavaScript: z.boolean().optional(),
9854
10221
  enableAutoReleaseCreation: z.boolean().optional(),
9855
- scmSourceContextEnabled: z.boolean().optional()
10222
+ allowedDomains: z.array(z.string()).optional(),
10223
+ copy_from_project: z.number().int().optional(),
10224
+ targetSampleRate: z.number().gte(0).lte(1).optional(),
10225
+ dynamicSamplingBiases: z.array(z.object({
10226
+ id: z.enum([
10227
+ "boostEnvironments",
10228
+ "boostKeyTransactions",
10229
+ "boostLatestRelease",
10230
+ "boostLowVolumeTransactions",
10231
+ "boostReplayId",
10232
+ "ignoreHealthChecks",
10233
+ "minimumSampleRate",
10234
+ "recalibrationRule"
10235
+ ]),
10236
+ active: z.boolean().optional().default(false)
10237
+ })).optional(),
10238
+ tempestFetchScreenshots: z.boolean().optional(),
10239
+ scmSourceContextEnabled: z.boolean().optional(),
10240
+ debugFilesRole: z.enum([
10241
+ "member",
10242
+ "admin",
10243
+ "manager",
10244
+ "owner"
10245
+ ]).nullable().optional()
9856
10246
  });
9857
10247
  var zProjectEventDetailsResponse = z.object({
9858
10248
  id: z.string(),
@@ -10764,6 +11154,14 @@ var zReplayDeletionJobCreateData = z.object({
10764
11154
  z.null()
10765
11155
  ])
10766
11156
  });
11157
+ var zRetrieveOrganizationAiConversationResponse = z.object({
11158
+ conversationId: z.string(),
11159
+ title: z.union([
11160
+ z.string(),
11161
+ z.null()
11162
+ ]),
11163
+ spans: z.array(z.record(z.unknown()))
11164
+ });
10767
11165
  var zScimListResponseEnvelopeScimMemberIndexResponse = z.object({
10768
11166
  schemas: z.array(z.string()),
10769
11167
  totalResults: z.number().int(),
@@ -10826,7 +11224,8 @@ var zScimPatchRequest = z.object({
10826
11224
  op: z.string(),
10827
11225
  value: z.unknown(),
10828
11226
  path: z.string().optional()
10829
- })).max(100)
11227
+ })).max(100),
11228
+ schemas: z.array(z.string()).optional()
10830
11229
  });
10831
11230
  var zScimTeamPatchOperation = z.object({
10832
11231
  op: z.string(),
@@ -10834,6 +11233,7 @@ var zScimTeamPatchOperation = z.object({
10834
11233
  path: z.string().optional()
10835
11234
  });
10836
11235
  var zScimTeamPatchRequest = z.object({
11236
+ schemas: z.array(z.string()),
10837
11237
  Operations: z.array(z.object({
10838
11238
  op: z.string(),
10839
11239
  value: z.record(z.unknown()).optional(),
@@ -10914,6 +11314,24 @@ var zSentryAppParser = z.object({
10914
11314
  z.array(z.string()),
10915
11315
  z.null()
10916
11316
  ]).optional(),
11317
+ features: z.union([
11318
+ z.array(z.union([
11319
+ z.literal(0),
11320
+ z.literal(1),
11321
+ z.literal(2),
11322
+ z.literal(3),
11323
+ z.literal(4),
11324
+ z.literal(5),
11325
+ z.literal(6),
11326
+ z.literal(7),
11327
+ z.literal(8),
11328
+ z.literal(9),
11329
+ z.literal(11),
11330
+ z.literal(12),
11331
+ z.literal("")
11332
+ ])),
11333
+ z.null()
11334
+ ]).optional(),
10917
11335
  schema: z.union([
10918
11336
  z.record(z.unknown()),
10919
11337
  z.null()
@@ -12507,6 +12925,12 @@ var zExternalUserWritable = z.object({
12507
12925
  });
12508
12926
  var zOrganizationMemberRequestWritable = z.object({
12509
12927
  email: z.string().email().max(75),
12928
+ role: z.enum([
12929
+ "member",
12930
+ "admin",
12931
+ "manager",
12932
+ "owner"
12933
+ ]).optional(),
12510
12934
  orgRole: z.enum([
12511
12935
  "billing",
12512
12936
  "member",
@@ -12514,12 +12938,14 @@ var zOrganizationMemberRequestWritable = z.object({
12514
12938
  "owner",
12515
12939
  "admin"
12516
12940
  ]).optional(),
12941
+ teams: z.array(z.unknown()).optional(),
12517
12942
  teamRoles: z.union([
12518
12943
  z.array(z.record(z.unknown())),
12519
12944
  z.null()
12520
12945
  ]).optional(),
12521
12946
  sendInvite: z.boolean().optional().default(true),
12522
- reinvite: z.boolean().optional()
12947
+ reinvite: z.boolean().optional(),
12948
+ regenerate: z.boolean().optional()
12523
12949
  });
12524
12950
  var zListOrganizationsData = z.object({
12525
12951
  body: z.never().optional(),
@@ -12697,7 +13123,8 @@ var zUpdateOrganizationData = z.object({
12697
13123
  ]).optional(),
12698
13124
  issueAlertsThreadFlag: z.boolean().optional(),
12699
13125
  metricAlertsThreadFlag: z.boolean().optional(),
12700
- cancelDeletion: z.boolean().optional()
13126
+ cancelDeletion: z.boolean().optional(),
13127
+ apdexThreshold: z.number().int().optional()
12701
13128
  }).optional(),
12702
13129
  path: z.object({
12703
13130
  organization_id_or_slug: z.string()
@@ -13050,6 +13477,101 @@ var zUpdateOrganizationResponse = z.object({
13050
13477
  ])
13051
13478
  }))
13052
13479
  });
13480
+ var zListOrganizationAiConversationsData = z.object({
13481
+ body: z.never().optional(),
13482
+ path: z.object({
13483
+ organization_id_or_slug: z.string()
13484
+ }),
13485
+ query: z.object({
13486
+ project: z.array(z.union([z.number().int(), z.string()])).optional(),
13487
+ environment: z.array(z.string()).optional(),
13488
+ statsPeriod: z.string().optional(),
13489
+ start: z.string().datetime().optional(),
13490
+ end: z.string().datetime().optional(),
13491
+ query: z.string().optional(),
13492
+ cursor: z.string().min(1).optional(),
13493
+ per_page: z.number().int().optional()
13494
+ }).optional()
13495
+ });
13496
+ var zListOrganizationAiConversationsResponse2 = z.array(z.object({
13497
+ conversationId: z.string(),
13498
+ title: z.union([
13499
+ z.string(),
13500
+ z.null()
13501
+ ]),
13502
+ projectId: z.union([
13503
+ z.number().int(),
13504
+ z.null()
13505
+ ]),
13506
+ flow: z.array(z.string()),
13507
+ errors: z.number().int(),
13508
+ llmCalls: z.number().int(),
13509
+ toolCalls: z.number().int(),
13510
+ totalTokens: z.number().int(),
13511
+ inputTokens: z.number().int(),
13512
+ outputTokens: z.number().int(),
13513
+ totalCost: z.number(),
13514
+ generationDuration: z.number(),
13515
+ startTimestamp: z.number().int(),
13516
+ endTimestamp: z.number().int(),
13517
+ traceCount: z.number().int(),
13518
+ traceIds: z.array(z.string()),
13519
+ firstInput: z.union([
13520
+ z.string(),
13521
+ z.null()
13522
+ ]),
13523
+ lastOutput: z.union([
13524
+ z.string(),
13525
+ z.null()
13526
+ ]),
13527
+ user: z.union([
13528
+ z.object({
13529
+ id: z.union([
13530
+ z.string(),
13531
+ z.null()
13532
+ ]),
13533
+ email: z.union([
13534
+ z.string(),
13535
+ z.null()
13536
+ ]),
13537
+ username: z.union([
13538
+ z.string(),
13539
+ z.null()
13540
+ ]),
13541
+ ip_address: z.union([
13542
+ z.string(),
13543
+ z.null()
13544
+ ])
13545
+ }),
13546
+ z.null()
13547
+ ]),
13548
+ toolNames: z.array(z.string()),
13549
+ toolErrors: z.number().int()
13550
+ }));
13551
+ var zRetrieveOrganizationAiConversationData = z.object({
13552
+ body: z.never().optional(),
13553
+ path: z.object({
13554
+ organization_id_or_slug: z.string(),
13555
+ conversation_id: z.string()
13556
+ }),
13557
+ query: z.object({
13558
+ project: z.array(z.union([z.number().int(), z.string()])).optional(),
13559
+ environment: z.array(z.string()).optional(),
13560
+ statsPeriod: z.string().optional(),
13561
+ start: z.string().datetime().optional(),
13562
+ end: z.string().datetime().optional(),
13563
+ cursor: z.string().min(1).optional(),
13564
+ per_page: z.number().int().optional()
13565
+ }).optional()
13566
+ });
13567
+ var zRetrieveOrganizationAiConversationResponse2 = z.object({
13568
+ conversationId: z.string(),
13569
+ title: z.union([
13570
+ z.string(),
13571
+ z.null()
13572
+ ]),
13573
+ spans: z.array(z.record(z.unknown()))
13574
+ });
13053
13575
  var zGetOrganizationConfigIntegrationsData = z.object({
13054
13576
  body: z.never().optional(),
13055
13577
  path: z.object({
@@ -14281,6 +14803,7 @@ var zListOrganizationDiscoverSavedQueriesResponse = z.array(z.object({
14281
14803
  topEvents: z.number().int().optional(),
14282
14804
  interval: z.string().optional(),
14283
14805
  exploreQuery: z.record(z.unknown()).optional(),
14806
+ lastVisited: z.string().optional(),
14284
14807
  id: z.string(),
14285
14808
  name: z.string(),
14286
14809
  projects: z.array(z.number().int()),
@@ -14376,6 +14899,30 @@ var zCreateOrganizationDiscoverSavedQueryData = z.object({
14376
14899
  z.string(),
14377
14900
  z.null()
14378
14901
  ]).optional(),
14902
+ rollup: z.union([
14903
+ z.number().int(),
14904
+ z.null()
14905
+ ]).optional(),
14906
+ aggregations: z.union([
14907
+ z.array(z.array(z.unknown())),
14908
+ z.null()
14909
+ ]).optional(),
14910
+ groupby: z.union([
14911
+ z.array(z.string()),
14912
+ z.null()
14913
+ ]).optional(),
14914
+ conditions: z.union([
14915
+ z.array(z.array(z.unknown())),
14916
+ z.null()
14917
+ ]).optional(),
14918
+ limit: z.union([
14919
+ z.number().int().gte(0).lte(1000),
14920
+ z.null()
14921
+ ]).optional(),
14922
+ version: z.union([
14923
+ z.number().int().gte(1).lte(2),
14924
+ z.null()
14925
+ ]).optional(),
14379
14926
  environment: z.union([
14380
14927
  z.array(z.string()),
14381
14928
  z.null()
@@ -14384,6 +14931,10 @@ var zCreateOrganizationDiscoverSavedQueryData = z.object({
14384
14931
  z.string(),
14385
14932
  z.null()
14386
14933
  ]).optional(),
14934
+ widths: z.union([
14935
+ z.array(z.string()),
14936
+ z.null()
14937
+ ]).optional(),
14387
14938
  yAxis: z.union([
14388
14939
  z.array(z.string()),
14389
14940
  z.null()
@@ -14423,6 +14974,7 @@ var zCreateOrganizationDiscoverSavedQueryResponse = z.object({
14423
14974
  topEvents: z.number().int().optional(),
14424
14975
  interval: z.string().optional(),
14425
14976
  exploreQuery: z.record(z.unknown()).optional(),
14977
+ lastVisited: z.string().optional(),
14426
14978
  id: z.string(),
14427
14979
  name: z.string(),
14428
14980
  projects: z.array(z.number().int()),
@@ -14523,6 +15075,7 @@ var zGetOrganizationDiscoverSavedQueryResponse = z.object({
14523
15075
  topEvents: z.number().int().optional(),
14524
15076
  interval: z.string().optional(),
14525
15077
  exploreQuery: z.record(z.unknown()).optional(),
15078
+ lastVisited: z.string().optional(),
14526
15079
  id: z.string(),
14527
15080
  name: z.string(),
14528
15081
  projects: z.array(z.number().int()),
@@ -14618,6 +15171,30 @@ var zUpdateOrganizationDiscoverSavedQueryData = z.object({
14618
15171
  z.string(),
14619
15172
  z.null()
14620
15173
  ]).optional(),
15174
+ rollup: z.union([
15175
+ z.number().int(),
15176
+ z.null()
15177
+ ]).optional(),
15178
+ aggregations: z.union([
15179
+ z.array(z.array(z.unknown())),
15180
+ z.null()
15181
+ ]).optional(),
15182
+ groupby: z.union([
15183
+ z.array(z.string()),
15184
+ z.null()
15185
+ ]).optional(),
15186
+ conditions: z.union([
15187
+ z.array(z.array(z.unknown())),
15188
+ z.null()
15189
+ ]).optional(),
15190
+ limit: z.union([
15191
+ z.number().int().gte(0).lte(1000),
15192
+ z.null()
15193
+ ]).optional(),
15194
+ version: z.union([
15195
+ z.number().int().gte(1).lte(2),
15196
+ z.null()
15197
+ ]).optional(),
14621
15198
  environment: z.union([
14622
15199
  z.array(z.string()),
14623
15200
  z.null()
@@ -14626,6 +15203,10 @@ var zUpdateOrganizationDiscoverSavedQueryData = z.object({
14626
15203
  z.string(),
14627
15204
  z.null()
14628
15205
  ]).optional(),
15206
+ widths: z.union([
15207
+ z.array(z.string()),
15208
+ z.null()
15209
+ ]).optional(),
14629
15210
  yAxis: z.union([
14630
15211
  z.array(z.string()),
14631
15212
  z.null()
@@ -14666,6 +15247,7 @@ var zUpdateOrganizationDiscoverSavedQueryResponse = z.object({
14666
15247
  topEvents: z.number().int().optional(),
14667
15248
  interval: z.string().optional(),
14668
15249
  exploreQuery: z.record(z.unknown()).optional(),
15250
+ lastVisited: z.string().optional(),
14669
15251
  id: z.string(),
14670
15252
  name: z.string(),
14671
15253
  projects: z.array(z.number().int()),
@@ -15332,6 +15914,128 @@ var zUpdateOrganizationForwardingResponse = z.object({
15332
15914
  dateAdded: z.string().datetime(),
15333
15915
  dateUpdated: z.string().datetime()
15334
15916
  });
15917
+ var zListOrganizationIssueViewsData = z.object({
15918
+ body: z.never().optional(),
15919
+ path: z.object({
15920
+ organization_id_or_slug: z.string()
15921
+ }),
15922
+ query: z.object({
15923
+ createdBy: z.enum(["me", "others"]).optional(),
15924
+ sort: z.array(z.enum([
15925
+ "popularity",
15926
+ "-popularity",
15927
+ "visited",
15928
+ "-visited",
15929
+ "name",
15930
+ "-name",
15931
+ "created",
15932
+ "-created"
15933
+ ])).optional().default(["-visited"]),
15934
+ query: z.string().min(1).optional(),
15935
+ cursor: z.string().min(1).optional()
15936
+ }).optional()
15937
+ });
15938
+ var zListOrganizationIssueViewsResponse = z.array(z.object({
15939
+ id: z.string(),
15940
+ createdBy: z.union([
15941
+ z.object({
15942
+ identities: z.array(z.object({
15943
+ id: z.string(),
15944
+ name: z.string(),
15945
+ organization: z.object({
15946
+ slug: z.string(),
15947
+ name: z.string()
15948
+ }),
15949
+ provider: z.object({
15950
+ id: z.string(),
15951
+ name: z.string()
15952
+ }),
15953
+ dateVerified: z.string().datetime(),
15954
+ dateSynced: z.string().datetime()
15955
+ })).optional(),
15956
+ avatar: z.object({
15957
+ avatarType: z.string().optional(),
15958
+ avatarUuid: z.union([
15959
+ z.string(),
15960
+ z.null()
15961
+ ]).optional(),
15962
+ avatarUrl: z.union([
15963
+ z.string(),
15964
+ z.null()
15965
+ ]).optional()
15966
+ }).optional(),
15967
+ authenticators: z.array(z.unknown()).optional(),
15968
+ canReset2fa: z.boolean().optional(),
15969
+ id: z.string(),
15970
+ name: z.string(),
15971
+ username: z.string(),
15972
+ email: z.string(),
15973
+ avatarUrl: z.string(),
15974
+ isActive: z.boolean(),
15975
+ isSuspended: z.boolean(),
15976
+ hasPasswordAuth: z.boolean(),
15977
+ isManaged: z.boolean(),
15978
+ dateJoined: z.string().datetime(),
15979
+ lastLogin: z.union([
15980
+ z.string().datetime(),
15981
+ z.null()
15982
+ ]),
15983
+ has2fa: z.boolean(),
15984
+ lastActive: z.union([
15985
+ z.string().datetime(),
15986
+ z.null()
15987
+ ]),
15988
+ isSuperuser: z.boolean(),
15989
+ isStaff: z.boolean(),
15990
+ experiments: z.record(z.unknown()),
15991
+ emails: z.array(z.object({
15992
+ id: z.string(),
15993
+ email: z.string(),
15994
+ is_verified: z.boolean()
15995
+ }))
15996
+ }),
15997
+ z.null()
15998
+ ]),
15999
+ name: z.string(),
16000
+ query: z.string(),
16001
+ querySort: z.enum([
16002
+ "date",
16003
+ "new",
16004
+ "trends",
16005
+ "freq",
16006
+ "user",
16007
+ "inbox",
16008
+ "recommended"
16009
+ ]),
16010
+ projects: z.array(z.number().int()),
16011
+ environments: z.array(z.string()),
16012
+ timeFilters: z.object({
16013
+ start: z.union([
16014
+ z.string(),
16015
+ z.null()
16016
+ ]).optional(),
16017
+ end: z.union([
16018
+ z.string(),
16019
+ z.null()
16020
+ ]).optional(),
16021
+ period: z.union([
16022
+ z.string(),
16023
+ z.null()
16024
+ ]).optional(),
16025
+ utc: z.union([
16026
+ z.boolean(),
16027
+ z.null()
16028
+ ]).optional()
16029
+ }),
16030
+ lastVisited: z.union([
16031
+ z.string(),
16032
+ z.null()
16033
+ ]),
16034
+ dateCreated: z.string(),
16035
+ dateUpdated: z.string(),
16036
+ starred: z.boolean(),
16037
+ stars: z.number().int()
16038
+ }));
15335
16039
  var zCreateOrganizationIssueViewData = z.object({
15336
16040
  body: z.object({
15337
16041
  name: z.string(),
@@ -15969,6 +16673,15 @@ var zUpdateOrganizationIssuesData = z.object({
15969
16673
  "low",
15970
16674
  "medium",
15971
16675
  "high"
16676
+ ]),
16677
+ ignoreDuration: z.number().int().gte(0),
16678
+ ignoreCount: z.number().int().gte(0),
16679
+ ignoreWindow: z.number().int().gte(0).lte(10080),
16680
+ ignoreUserCount: z.number().int().gte(0),
16681
+ ignoreUserWindow: z.number().int().gte(0).lte(10080),
16682
+ snoozeDuration: z.union([
16683
+ z.number().int().gte(0),
16684
+ z.null()
15972
16685
  ])
15973
16686
  }),
15974
16687
  path: z.object({
@@ -16040,6 +16753,7 @@ var zListOrganizationMembersData = z.object({
16040
16753
  organization_id_or_slug: z.string()
16041
16754
  }),
16042
16755
  query: z.object({
16756
+ query: z.string().optional(),
16043
16757
  cursor: z.string().min(1).optional()
16044
16758
  }).optional()
16045
16759
  });
@@ -16136,6 +16850,12 @@ var zListOrganizationMembersResponse = z.array(z.object({
16136
16850
  var zAddOrganizationMemberData = z.object({
16137
16851
  body: z.object({
16138
16852
  email: z.string().email().max(75),
16853
+ role: z.enum([
16854
+ "member",
16855
+ "admin",
16856
+ "manager",
16857
+ "owner"
16858
+ ]).optional(),
16139
16859
  orgRole: z.enum([
16140
16860
  "billing",
16141
16861
  "member",
@@ -16143,12 +16863,14 @@ var zAddOrganizationMemberData = z.object({
16143
16863
  "owner",
16144
16864
  "admin"
16145
16865
  ]).optional(),
16866
+ teams: z.array(z.unknown()).optional(),
16146
16867
  teamRoles: z.union([
16147
16868
  z.array(z.record(z.unknown())),
16148
16869
  z.null()
16149
16870
  ]).optional(),
16150
16871
  sendInvite: z.boolean().optional().default(true),
16151
- reinvite: z.boolean().optional()
16872
+ reinvite: z.boolean().optional(),
16873
+ regenerate: z.boolean().optional()
16152
16874
  }),
16153
16875
  path: z.object({
16154
16876
  organization_id_or_slug: z.string()
@@ -17420,7 +18142,17 @@ var zCreateOrganizationMonitorData = z.object({
17420
18142
  z.string(),
17421
18143
  z.null()
17422
18144
  ]).optional(),
17423
- is_muted: z.boolean().optional()
18145
+ is_muted: z.boolean().optional(),
18146
+ alert_rule: z.object({
18147
+ environment: z.union([
18148
+ z.string().max(64),
18149
+ z.null()
18150
+ ]).optional(),
18151
+ targets: z.array(z.object({
18152
+ target_identifier: z.number().int(),
18153
+ target_type: z.string()
18154
+ }))
18155
+ }).optional()
17424
18156
  }),
17425
18157
  path: z.object({
17426
18158
  organization_id_or_slug: z.string()
@@ -18346,7 +19078,17 @@ var zUpdateOrganizationMonitorData = z.object({
18346
19078
  z.string(),
18347
19079
  z.null()
18348
19080
  ]).optional(),
18349
- is_muted: z.boolean().optional()
19081
+ is_muted: z.boolean().optional(),
19082
+ alert_rule: z.object({
19083
+ environment: z.union([
19084
+ z.string().max(64),
19085
+ z.null()
19086
+ ]).optional(),
19087
+ targets: z.array(z.object({
19088
+ target_identifier: z.number().int(),
19089
+ target_type: z.string()
19090
+ }))
19091
+ }).optional()
18350
19092
  }),
18351
19093
  path: z.object({
18352
19094
  organization_id_or_slug: z.string(),
@@ -18596,7 +19338,9 @@ var zCreateOrganizationNotificationsActionData = z.object({
18596
19338
  integration_id: z.number().int().optional(),
18597
19339
  target_identifier: z.string().optional(),
18598
19340
  target_display: z.string().optional(),
18599
- projects: z.array(z.string()).optional()
19341
+ projects: z.array(z.string()).optional(),
19342
+ sentry_app_id: z.number().int().optional(),
19343
+ target_type: z.string().optional().default("specific")
18600
19344
  }),
18601
19345
  path: z.object({
18602
19346
  organization_id_or_slug: z.string()
@@ -18687,7 +19431,9 @@ var zUpdateOrganizationNotificationsActionData = z.object({
18687
19431
  integration_id: z.number().int().optional(),
18688
19432
  target_identifier: z.string().optional(),
18689
19433
  target_display: z.string().optional(),
18690
- projects: z.array(z.string()).optional()
19434
+ projects: z.array(z.string()).optional(),
19435
+ sentry_app_id: z.number().int().optional(),
19436
+ target_type: z.string().optional().default("specific")
18691
19437
  }),
18692
19438
  path: z.object({
18693
19439
  organization_id_or_slug: z.string(),
@@ -20894,6 +21640,15 @@ var zUpdateOrganizationReleaseData = z.object({
20894
21640
  z.null()
20895
21641
  ]).optional()
20896
21642
  })).optional(),
21643
+ status: z.string().optional(),
21644
+ headCommits: z.array(z.object({
21645
+ currentId: z.string().max(64),
21646
+ repository: z.string().max(64),
21647
+ previousId: z.union([
21648
+ z.string().max(64),
21649
+ z.null()
21650
+ ]).optional()
21651
+ })).optional(),
20897
21652
  refs: z.array(z.object({
20898
21653
  commit: z.string(),
20899
21654
  repository: z.string().max(200),
@@ -22481,6 +23236,7 @@ var zGetOrganizationScimV2GroupResponse = z.object({
22481
23236
  });
22482
23237
  var zUpdateOrganizationScimV2GroupData = z.object({
22483
23238
  body: z.object({
23239
+ schemas: z.array(z.string()),
22484
23240
  Operations: z.array(z.object({
22485
23241
  op: z.string(),
22486
23242
  value: z.record(z.unknown()).optional(),
@@ -22607,7 +23363,8 @@ var zUpdateOrganizationScimV2UserData = z.object({
22607
23363
  op: z.string(),
22608
23364
  value: z.unknown(),
22609
23365
  path: z.string().optional()
22610
- })).max(100)
23366
+ })).max(100),
23367
+ schemas: z.array(z.string()).optional()
22611
23368
  }),
22612
23369
  path: z.object({
22613
23370
  organization_id_or_slug: z.string(),
@@ -24700,7 +25457,69 @@ var zGetProjectResponse = z.object({
24700
25457
  });
24701
25458
  var zUpdateProjectData = z.object({
24702
25459
  body: z.object({
25460
+ digestsMinDelay: z.number().int().gte(60).lte(3600),
25461
+ digestsMaxDelay: z.number().int().gte(60).lte(3600),
25462
+ securityToken: z.string().max(255).regex(/^[-a-zA-Z0-9+\/=\s]+$/),
25463
+ securityTokenHeader: z.string().max(64).regex(/^[a-zA-Z0-9_\-]+$/),
24703
25464
  isBookmarked: z.boolean().optional(),
25465
+ autofixAutomationTuning: z.enum([
25466
+ "off",
25467
+ "super_low",
25468
+ "low",
25469
+ "medium",
25470
+ "high",
25471
+ "always"
25472
+ ]).optional(),
25473
+ seerScannerAutomation: z.boolean().optional(),
25474
+ preprodSizeStatusChecksEnabled: z.boolean().optional(),
25475
+ preprodSizeStatusChecksRules: z.record(z.unknown()).optional(),
25476
+ preprodSizePrCommentsEnabled: z.boolean().optional(),
25477
+ preprodSizePrCommentsRules: z.record(z.unknown()).optional(),
25478
+ preprodSnapshotStatusChecksEnabled: z.boolean().optional(),
25479
+ preprodSnapshotStatusChecksFailOnAdded: z.boolean().optional(),
25480
+ preprodSnapshotStatusChecksFailOnRemoved: z.boolean().optional(),
25481
+ preprodSnapshotStatusChecksFailOnChanged: z.boolean().optional(),
25482
+ preprodSnapshotStatusChecksFailOnRenamed: z.boolean().optional(),
25483
+ preprodSizeEnabledByCustomer: z.union([
25484
+ z.boolean(),
25485
+ z.null()
25486
+ ]).optional(),
25487
+ preprodDistributionEnabledByCustomer: z.union([
25488
+ z.boolean(),
25489
+ z.null()
25490
+ ]).optional(),
25491
+ preprodDistributionPrCommentsEnabledByCustomer: z.union([
25492
+ z.boolean(),
25493
+ z.null()
25494
+ ]).optional(),
25495
+ preprodSnapshotPrCommentsEnabled: z.union([
25496
+ z.boolean(),
25497
+ z.null()
25498
+ ]).optional(),
25499
+ preprodSnapshotPrCommentsPostOnAdded: z.union([
25500
+ z.boolean(),
25501
+ z.null()
25502
+ ]).optional(),
25503
+ preprodSnapshotPrCommentsPostOnRemoved: z.union([
25504
+ z.boolean(),
25505
+ z.null()
25506
+ ]).optional(),
25507
+ preprodSnapshotPrCommentsPostOnChanged: z.union([
25508
+ z.boolean(),
25509
+ z.null()
25510
+ ]).optional(),
25511
+ preprodSnapshotPrCommentsPostOnRenamed: z.union([
25512
+ z.boolean(),
25513
+ z.null()
25514
+ ]).optional(),
25515
+ preprodSizeEnabledQuery: z.union([
25516
+ z.string(),
25517
+ z.null()
25518
+ ]).optional(),
25519
+ preprodDistributionEnabledQuery: z.union([
25520
+ z.string(),
25521
+ z.null()
25522
+ ]).optional(),
24704
25523
  name: z.string().max(200).optional(),
24705
25524
  slug: z.string().max(100).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/).optional(),
24706
25525
  platform: z.union([
@@ -24715,9 +25534,76 @@ var zUpdateProjectData = z.object({
24715
25534
  ]).optional(),
24716
25535
  highlightContext: z.record(z.unknown()).optional(),
24717
25536
  highlightTags: z.array(z.string()).optional(),
25537
+ verifySSL: z.boolean().optional(),
25538
+ defaultEnvironment: z.union([
25539
+ z.string(),
25540
+ z.null()
25541
+ ]).optional(),
25542
+ dataScrubber: z.boolean().optional(),
25543
+ dataScrubberDefaults: z.boolean().optional(),
25544
+ sensitiveFields: z.array(z.string()).optional(),
25545
+ safeFields: z.array(z.string()).optional(),
25546
+ storeCrashReports: z.union([
25547
+ z.number().int().gte(-1).lte(100),
25548
+ z.null()
25549
+ ]).optional(),
25550
+ relayPiiConfig: z.union([
25551
+ z.string(),
25552
+ z.null()
25553
+ ]).optional(),
25554
+ builtinSymbolSources: z.array(z.string()).optional(),
25555
+ symbolSources: z.union([
25556
+ z.string(),
25557
+ z.null()
25558
+ ]).optional(),
25559
+ scrubIPAddresses: z.boolean().optional(),
25560
+ groupingConfig: z.union([
25561
+ z.string(),
25562
+ z.null()
25563
+ ]).optional(),
25564
+ groupingEnhancements: z.union([
25565
+ z.string(),
25566
+ z.null()
25567
+ ]).optional(),
25568
+ fingerprintingRules: z.union([
25569
+ z.string(),
25570
+ z.null()
25571
+ ]).optional(),
25572
+ secondaryGroupingConfig: z.union([
25573
+ z.string(),
25574
+ z.null()
25575
+ ]).optional(),
25576
+ secondaryGroupingExpiry: z.union([
25577
+ z.number().int().gte(1),
25578
+ z.null()
25579
+ ]).optional(),
25580
+ scrapeJavaScript: z.boolean().optional(),
24718
25581
  enableAutoReleaseCreation: z.boolean().optional(),
24719
- scmSourceContextEnabled: z.boolean().optional()
24720
- }).optional(),
25582
+ allowedDomains: z.array(z.string()).optional(),
25583
+ copy_from_project: z.number().int().optional(),
25584
+ targetSampleRate: z.number().gte(0).lte(1).optional(),
25585
+ dynamicSamplingBiases: z.array(z.object({
25586
+ id: z.enum([
25587
+ "boostEnvironments",
25588
+ "boostKeyTransactions",
25589
+ "boostLatestRelease",
25590
+ "boostLowVolumeTransactions",
25591
+ "boostReplayId",
25592
+ "ignoreHealthChecks",
25593
+ "minimumSampleRate",
25594
+ "recalibrationRule"
25595
+ ]),
25596
+ active: z.boolean().optional().default(false)
25597
+ })).optional(),
25598
+ tempestFetchScreenshots: z.boolean().optional(),
25599
+ scmSourceContextEnabled: z.boolean().optional(),
25600
+ debugFilesRole: z.enum([
25601
+ "member",
25602
+ "admin",
25603
+ "manager",
25604
+ "owner"
25605
+ ]).nullable().optional()
25606
+ }),
24721
25607
  path: z.object({
24722
25608
  organization_id_or_slug: z.string(),
24723
25609
  project_id_or_slug: z.string()
@@ -26846,7 +27732,17 @@ var zUpdateProjectMonitorData = z.object({
26846
27732
  z.string(),
26847
27733
  z.null()
26848
27734
  ]).optional(),
26849
- is_muted: z.boolean().optional()
27735
+ is_muted: z.boolean().optional(),
27736
+ alert_rule: z.object({
27737
+ environment: z.union([
27738
+ z.string().max(64),
27739
+ z.null()
27740
+ ]).optional(),
27741
+ targets: z.array(z.object({
27742
+ target_identifier: z.number().int(),
27743
+ target_type: z.string()
27744
+ }))
27745
+ }).optional()
26850
27746
  }),
26851
27747
  path: z.object({
26852
27748
  organization_id_or_slug: z.string(),
@@ -29316,6 +30212,24 @@ var zUpdateSentryAppData = z.object({
29316
30212
  z.array(z.string()),
29317
30213
  z.null()
29318
30214
  ]).optional(),
30215
+ features: z.union([
30216
+ z.array(z.union([
30217
+ z.literal(0),
30218
+ z.literal(1),
30219
+ z.literal(2),
30220
+ z.literal(3),
30221
+ z.literal(4),
30222
+ z.literal(5),
30223
+ z.literal(6),
30224
+ z.literal(7),
30225
+ z.literal(8),
30226
+ z.literal(9),
30227
+ z.literal(11),
30228
+ z.literal(12),
30229
+ z.literal("")
30230
+ ])),
30231
+ z.null()
30232
+ ]).optional(),
29319
30233
  schema: z.union([
29320
30234
  z.record(z.unknown()),
29321
30235
  z.null()
@@ -29718,6 +30632,7 @@ var zUpdateTeamResponse = z.object({
29718
30632
  });
29719
30633
  var zCreateTeamExternalTeamData = z.object({
29720
30634
  body: z.object({
30635
+ team_id: z.number().int(),
29721
30636
  external_name: z.string(),
29722
30637
  provider: z.enum([
29723
30638
  "github",
@@ -29774,6 +30689,7 @@ var zDeleteTeamExternalTeamData = z.object({
29774
30689
  var zDeleteTeamExternalTeamResponse = z.void();
29775
30690
  var zUpdateTeamExternalTeamData = z.object({
29776
30691
  body: z.object({
30692
+ team_id: z.number().int(),
29777
30693
  external_name: z.string(),
29778
30694
  provider: z.enum([
29779
30695
  "github",
@@ -30851,6 +31767,15 @@ var zUpdateOrganizationIssueData = z.object({
30851
31767
  "low",
30852
31768
  "medium",
30853
31769
  "high"
31770
+ ]),
31771
+ ignoreDuration: z.number().int().gte(0),
31772
+ ignoreCount: z.number().int().gte(0),
31773
+ ignoreWindow: z.number().int().gte(0).lte(10080),
31774
+ ignoreUserCount: z.number().int().gte(0),
31775
+ ignoreUserWindow: z.number().int().gte(0).lte(10080),
31776
+ snoozeDuration: z.union([
31777
+ z.number().int().gte(0),
31778
+ z.null()
30854
31779
  ])
30855
31780
  }),
30856
31781
  path: z.object({
@@ -31084,12 +32009,20 @@ var zGetOrganizationIssueAutofixStateData = z.object({
31084
32009
  issue_id: z.string()
31085
32010
  }),
31086
32011
  query: z.object({
31087
- llmFormat: z.enum(["markdown", "xml"]).optional()
32012
+ llmFormat: z.enum([
32013
+ "json",
32014
+ "markdown",
32015
+ "xml"
32016
+ ]).optional()
31088
32017
  }).optional()
31089
32018
  });
31090
32019
  var zGetOrganizationIssueAutofixStateResponse = z.object({
31091
32020
  formatted: z.object({
31092
- format: z.enum(["markdown", "xml"]),
32021
+ format: z.enum([
32022
+ "markdown",
32023
+ "xml",
32024
+ "json"
32025
+ ]),
31093
32026
  content: z.string()
31094
32027
  }).optional(),
31095
32028
  autofix: z.union([
@@ -31235,7 +32168,11 @@ var zGetOrganizationIssueEventData = z.object({
31235
32168
  }),
31236
32169
  query: z.object({
31237
32170
  environment: z.array(z.string()).optional(),
31238
- llmFormat: z.enum(["markdown", "xml"]).optional()
32171
+ llmFormat: z.enum([
32172
+ "json",
32173
+ "markdown",
32174
+ "xml"
32175
+ ]).optional()
31239
32176
  }).optional()
31240
32177
  });
31241
32178
  var zGetOrganizationIssueEventResponse = z.object({
@@ -31548,7 +32485,11 @@ var zGetOrganizationIssueEventResponse = z.object({
31548
32485
  z.null()
31549
32486
  ]),
31550
32487
  formatted: z.object({
31551
- format: z.enum(["markdown", "xml"]),
32488
+ format: z.enum([
32489
+ "markdown",
32490
+ "xml",
32491
+ "json"
32492
+ ]),
31552
32493
  content: z.string()
31553
32494
  }).optional()
31554
32495
  });
@@ -32102,6 +33043,9 @@ export {
32102
33043
  zScimMemberProvision,
32103
33044
  zScimListResponseEnvelopeScimTeamIndexResponse,
32104
33045
  zScimListResponseEnvelopeScimMemberIndexResponse,
33046
+ zRetrieveOrganizationAiConversationResponse2,
33047
+ zRetrieveOrganizationAiConversationResponse,
33048
+ zRetrieveOrganizationAiConversationData,
32105
33049
  zResolveOrganizationShortIdResponse,
32106
33050
  zResolveOrganizationShortIdData,
32107
33051
  zResolveOrganizationEventIdResponse,
@@ -32159,6 +33103,7 @@ export {
32159
33103
  zOrganizationMemberRequestWritable,
32160
33104
  zOrganizationMemberRequest,
32161
33105
  zOrganizationMember,
33106
+ zOrganizationIssueViewList,
32162
33107
  zOrganizationIssueView,
32163
33108
  zOrganizationIntegrationResponse,
32164
33109
  zOrganizationGroupIndexPutResponse,
@@ -32172,6 +33117,8 @@ export {
32172
33117
  zNotificationAction,
32173
33118
  zMonitorValidator,
32174
33119
  zMonitorList,
33120
+ zMonitorAlertRuleValidator,
33121
+ zMonitorAlertRuleTargetValidator,
32175
33122
  zMonitor,
32176
33123
  zListWorkflow,
32177
33124
  zListTraceItemAttributesResponse,
@@ -32306,6 +33253,8 @@ export {
32306
33253
  zListOrganizationMemberResponse,
32307
33254
  zListOrganizationIssuesResponse,
32308
33255
  zListOrganizationIssuesData,
33256
+ zListOrganizationIssueViewsResponse,
33257
+ zListOrganizationIssueViewsData,
32309
33258
  zListOrganizationIssueTagValuesResponse,
32310
33259
  zListOrganizationIssueTagValuesData,
32311
33260
  zListOrganizationIssueHashesResponse,
@@ -32332,6 +33281,9 @@ export {
32332
33281
  zListOrganizationDashboardsResponse,
32333
33282
  zListOrganizationDashboardsData,
32334
33283
  zListOrganizationClientKeysResponse,
33284
+ zListOrganizationAiConversationsResponse2,
33285
+ zListOrganizationAiConversationsResponse,
33286
+ zListOrganizationAiConversationsData,
32335
33287
  zListOrgTeamResponse,
32336
33288
  zListOrgMembersResponse,
32337
33289
  zListMemberOnTeamResponse,
@@ -32473,6 +33425,7 @@ export {
32473
33425
  zEnvironmentProject,
32474
33426
  zEnvironment,
32475
33427
  zDynamicSdkLoaderOption,
33428
+ zDynamicSamplingBias,
32476
33429
  zDiscoverSavedQueryModel,
32477
33430
  zDiscoverSavedQueryListResponse,
32478
33431
  zDiscoverSavedQuery,