@sentry/api 0.307.0 → 0.309.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
@@ -4271,6 +4271,23 @@ var zIntegrationIssueConfigResponse = z.object({
4271
4271
  linkIssueConfig: z.array(z.record(z.unknown())).optional(),
4272
4272
  createIssueConfig: z.array(z.record(z.unknown())).optional()
4273
4273
  });
4274
+ var zIntegrationRepositoriesResponse = z.object({
4275
+ repos: z.array(z.object({
4276
+ name: z.string(),
4277
+ identifier: z.string(),
4278
+ isInstalled: z.boolean(),
4279
+ defaultBranch: z.union([
4280
+ z.string(),
4281
+ z.null()
4282
+ ]),
4283
+ externalId: z.string(),
4284
+ url: z.union([
4285
+ z.string(),
4286
+ z.null()
4287
+ ])
4288
+ })),
4289
+ searchable: z.boolean().optional()
4290
+ });
4274
4291
  var zIssueEventDetailsResponse = z.object({
4275
4292
  id: z.string(),
4276
4293
  groupID: z.union([
@@ -4589,6 +4606,54 @@ var zIssueEventDetailsResponse = z.object({
4589
4606
  content: z.string()
4590
4607
  }).optional()
4591
4608
  });
4609
+ var zIssueIntegrationsResponse = z.array(z.object({
4610
+ id: z.string(),
4611
+ name: z.string(),
4612
+ icon: z.union([
4613
+ z.string(),
4614
+ z.null()
4615
+ ]),
4616
+ domainName: z.union([
4617
+ z.string(),
4618
+ z.null()
4619
+ ]),
4620
+ accountType: z.union([
4621
+ z.string(),
4622
+ z.null()
4623
+ ]),
4624
+ scopes: z.union([
4625
+ z.array(z.string()),
4626
+ z.null()
4627
+ ]),
4628
+ outOfDate: z.union([
4629
+ z.boolean(),
4630
+ z.null()
4631
+ ]),
4632
+ status: z.string(),
4633
+ provider: z.object({
4634
+ key: z.string(),
4635
+ slug: z.string(),
4636
+ name: z.string(),
4637
+ canAdd: z.boolean(),
4638
+ canDisable: z.boolean(),
4639
+ features: z.array(z.string()),
4640
+ aspects: z.record(z.unknown())
4641
+ }),
4642
+ externalIssues: z.array(z.object({
4643
+ id: z.string(),
4644
+ key: z.string(),
4645
+ url: z.string(),
4646
+ title: z.union([
4647
+ z.string(),
4648
+ z.null()
4649
+ ]),
4650
+ description: z.union([
4651
+ z.string(),
4652
+ z.null()
4653
+ ]),
4654
+ displayName: z.string()
4655
+ }))
4656
+ }));
4592
4657
  var zLatestBaseSnapshotResponse = z.object({
4593
4658
  head_artifact_id: z.string().optional(),
4594
4659
  project_id: z.string().optional(),
@@ -10145,6 +10210,13 @@ var zOutgoingNotificationAction = z.object({
10145
10210
  z.null()
10146
10211
  ])
10147
10212
  });
10213
+ var zPlatformExternalIssueResponse = z.object({
10214
+ id: z.string(),
10215
+ issueId: z.string(),
10216
+ serviceType: z.string(),
10217
+ displayName: z.string(),
10218
+ webUrl: z.string()
10219
+ });
10148
10220
  var zProjectAdmin = z.object({
10149
10221
  digestsMinDelay: z.number().int().gte(60).lte(3600),
10150
10222
  digestsMaxDelay: z.number().int().gte(60).lte(3600),
@@ -11301,6 +11373,30 @@ var zScimTeamRequestBody = z.object({
11301
11373
  var zSeerModelsResponse = z.object({
11302
11374
  models: z.array(z.string())
11303
11375
  });
11376
+ var zSentryAppComponentsResponse = z.array(z.object({
11377
+ uuid: z.string(),
11378
+ type: z.string(),
11379
+ schema: z.record(z.unknown()),
11380
+ error: z.union([
11381
+ z.string(),
11382
+ z.object({
11383
+ detail: z.string().optional(),
11384
+ context: z.record(z.unknown()).optional()
11385
+ })
11386
+ ]),
11387
+ sentryApp: z.object({
11388
+ uuid: z.string(),
11389
+ slug: z.string(),
11390
+ name: z.string(),
11391
+ avatars: z.array(z.object({
11392
+ avatarType: z.string(),
11393
+ avatarUuid: z.string(),
11394
+ avatarUrl: z.string(),
11395
+ color: z.boolean(),
11396
+ photoType: z.string()
11397
+ }))
11398
+ })
11399
+ }));
11304
11400
  var zSentryAppDetailsResponse = z.object({
11305
11401
  allowedOrigins: z.array(z.string()),
11306
11402
  avatars: z.array(z.object({
@@ -11355,6 +11451,15 @@ var zSentryAppDetailsResponse = z.object({
11355
11451
  slug: z.string()
11356
11452
  }).optional()
11357
11453
  });
11454
+ var zSentryAppExternalRequestOptionsResponse = z.object({
11455
+ choices: z.array(z.array(z.string())),
11456
+ defaultValue: z.string().optional()
11457
+ });
11458
+ var zSentryAppInstallationExternalIssueActions = z.object({
11459
+ groupId: z.string(),
11460
+ action: z.enum(["link", "create"]),
11461
+ uri: z.string()
11462
+ });
11358
11463
  var zSentryAppParser = z.object({
11359
11464
  name: z.string(),
11360
11465
  scopes: z.union([
@@ -16375,6 +16480,35 @@ var zGetOrganizationIntegrationResponse = z.object({
16375
16480
  z.null()
16376
16481
  ])
16377
16482
  });
16483
+ var zListOrganizationIntegrationRepositoriesData = z.object({
16484
+ body: z.never().optional(),
16485
+ path: z.object({
16486
+ organization_id_or_slug: z.string(),
16487
+ integration_id: z.string()
16488
+ }),
16489
+ query: z.object({
16490
+ search: z.string().optional(),
16491
+ installableOnly: z.boolean().optional(),
16492
+ accessibleOnly: z.boolean().optional()
16493
+ }).optional()
16494
+ });
16495
+ var zListOrganizationIntegrationRepositoriesResponse = z.object({
16496
+ repos: z.array(z.object({
16497
+ name: z.string(),
16498
+ identifier: z.string(),
16499
+ isInstalled: z.boolean(),
16500
+ defaultBranch: z.union([
16501
+ z.string(),
16502
+ z.null()
16503
+ ]),
16504
+ externalId: z.string(),
16505
+ url: z.union([
16506
+ z.string(),
16507
+ z.null()
16508
+ ])
16509
+ })),
16510
+ searchable: z.boolean().optional()
16511
+ });
16378
16512
  var zDeleteOrganizationIssuesData = z.object({
16379
16513
  body: z.never().optional(),
16380
16514
  path: z.object({
@@ -23473,6 +23607,40 @@ var zUpdateOrganizationScimV2UserData = z.object({
23473
23607
  query: z.never().optional()
23474
23608
  });
23475
23609
  var zUpdateOrganizationScimV2UserResponse = z.void();
23610
+ var zListOrganizationSentryAppComponentsData = z.object({
23611
+ body: z.never().optional(),
23612
+ path: z.object({
23613
+ organization_id_or_slug: z.string()
23614
+ }),
23615
+ query: z.object({
23616
+ cursor: z.string().min(1).optional(),
23617
+ filter: z.string().optional()
23618
+ }).optional()
23619
+ });
23620
+ var zListOrganizationSentryAppComponentsResponse = z.array(z.object({
23621
+ uuid: z.string(),
23622
+ type: z.string(),
23623
+ schema: z.record(z.unknown()),
23624
+ error: z.union([
23625
+ z.string(),
23626
+ z.object({
23627
+ detail: z.string().optional(),
23628
+ context: z.record(z.unknown()).optional()
23629
+ })
23630
+ ]),
23631
+ sentryApp: z.object({
23632
+ uuid: z.string(),
23633
+ slug: z.string(),
23634
+ name: z.string(),
23635
+ avatars: z.array(z.object({
23636
+ avatarType: z.string(),
23637
+ avatarUuid: z.string(),
23638
+ avatarUrl: z.string(),
23639
+ color: z.boolean(),
23640
+ photoType: z.string()
23641
+ }))
23642
+ })
23643
+ }));
23476
23644
  var zListOrganizationSentryAppsData = z.object({
23477
23645
  body: z.never().optional(),
23478
23646
  path: z.object({
@@ -30277,6 +30445,40 @@ var zListSeerModelsData = z.object({
30277
30445
  var zListSeerModelsResponse = z.object({
30278
30446
  models: z.array(z.string())
30279
30447
  });
30448
+ var zExecuteSentryAppInstallationExternalIssueActionData = z.object({
30449
+ body: z.object({
30450
+ groupId: z.string(),
30451
+ action: z.enum(["link", "create"]),
30452
+ uri: z.string()
30453
+ }),
30454
+ path: z.object({
30455
+ uuid: z.string()
30456
+ }),
30457
+ query: z.never().optional()
30458
+ });
30459
+ var zExecuteSentryAppInstallationExternalIssueActionResponse = z.object({
30460
+ id: z.string(),
30461
+ issueId: z.string(),
30462
+ serviceType: z.string(),
30463
+ displayName: z.string(),
30464
+ webUrl: z.string()
30465
+ });
30466
+ var zGetSentryAppInstallationExternalRequestOptionsData = z.object({
30467
+ body: z.never().optional(),
30468
+ path: z.object({
30469
+ uuid: z.string()
30470
+ }),
30471
+ query: z.object({
30472
+ uri: z.string().min(1),
30473
+ projectId: z.number().int().optional(),
30474
+ query: z.string().min(1).optional(),
30475
+ dependentData: z.string().min(1).optional()
30476
+ })
30477
+ });
30478
+ var zGetSentryAppInstallationExternalRequestOptionsResponse = z.object({
30479
+ choices: z.array(z.array(z.string())),
30480
+ defaultValue: z.string().optional()
30481
+ });
30280
30482
  var zDeleteSentryAppData = z.object({
30281
30483
  body: z.never().optional(),
30282
30484
  path: z.object({
@@ -32659,6 +32861,16 @@ var zListOrganizationIssueExternalIssuesResponse = z.array(z.object({
32659
32861
  displayName: z.string(),
32660
32862
  webUrl: z.string()
32661
32863
  }));
32864
+ var zDeleteOrganizationIssueExternalIssueData = z.object({
32865
+ body: z.never().optional(),
32866
+ path: z.object({
32867
+ organization_id_or_slug: z.string(),
32868
+ issue_id: z.string(),
32869
+ external_issue_id: z.string()
32870
+ }),
32871
+ query: z.never().optional()
32872
+ });
32873
+ var zDeleteOrganizationIssueExternalIssueResponse = z.void();
32662
32874
  var zListOrganizationIssueHashesData = z.object({
32663
32875
  body: z.never().optional(),
32664
32876
  path: z.object({
@@ -32938,6 +33150,65 @@ var zListOrganizationIssueHashesResponse = z.array(z.object({
32938
33150
  z.null()
32939
33151
  ])
32940
33152
  }));
33153
+ var zListOrganizationIssueIntegrationsData = z.object({
33154
+ body: z.never().optional(),
33155
+ path: z.object({
33156
+ organization_id_or_slug: z.string(),
33157
+ issue_id: z.string()
33158
+ }),
33159
+ query: z.object({
33160
+ cursor: z.string().min(1).optional(),
33161
+ per_page: z.number().int().optional()
33162
+ }).optional()
33163
+ });
33164
+ var zListOrganizationIssueIntegrationsResponse = z.array(z.object({
33165
+ id: z.string(),
33166
+ name: z.string(),
33167
+ icon: z.union([
33168
+ z.string(),
33169
+ z.null()
33170
+ ]),
33171
+ domainName: z.union([
33172
+ z.string(),
33173
+ z.null()
33174
+ ]),
33175
+ accountType: z.union([
33176
+ z.string(),
33177
+ z.null()
33178
+ ]),
33179
+ scopes: z.union([
33180
+ z.array(z.string()),
33181
+ z.null()
33182
+ ]),
33183
+ outOfDate: z.union([
33184
+ z.boolean(),
33185
+ z.null()
33186
+ ]),
33187
+ status: z.string(),
33188
+ provider: z.object({
33189
+ key: z.string(),
33190
+ slug: z.string(),
33191
+ name: z.string(),
33192
+ canAdd: z.boolean(),
33193
+ canDisable: z.boolean(),
33194
+ features: z.array(z.string()),
33195
+ aspects: z.record(z.unknown())
33196
+ }),
33197
+ externalIssues: z.array(z.object({
33198
+ id: z.string(),
33199
+ key: z.string(),
33200
+ url: z.string(),
33201
+ title: z.union([
33202
+ z.string(),
33203
+ z.null()
33204
+ ]),
33205
+ description: z.union([
33206
+ z.string(),
33207
+ z.null()
33208
+ ]),
33209
+ displayName: z.string()
33210
+ }))
33211
+ }));
32941
33212
  var zDeleteOrganizationIssueIntegrationData = z.object({
32942
33213
  body: z.never().optional(),
32943
33214
  path: z.object({
@@ -33186,7 +33457,10 @@ export {
33186
33457
  zShortIdLookupResponse,
33187
33458
  zSessionsQueryResult,
33188
33459
  zSentryAppParser,
33460
+ zSentryAppInstallationExternalIssueActions,
33461
+ zSentryAppExternalRequestOptionsResponse,
33189
33462
  zSentryAppDetailsResponse,
33463
+ zSentryAppComponentsResponse,
33190
33464
  zSeerModelsResponse,
33191
33465
  zScimTeamRequestBody,
33192
33466
  zScimTeamPatchRequest,
@@ -33236,6 +33510,7 @@ export {
33236
33510
  zProjectEventsResponseDict,
33237
33511
  zProjectEventDetailsResponse,
33238
33512
  zProjectAdmin,
33513
+ zPlatformExternalIssueResponse,
33239
33514
  zOutgoingNotificationAction,
33240
33515
  zOutcomesResponse,
33241
33516
  zOrganizationWithProjectsAndTeams,
@@ -33364,6 +33639,8 @@ export {
33364
33639
  zListOrganizationSentryAppsData,
33365
33640
  zListOrganizationSentryAppInstallationsResponse,
33366
33641
  zListOrganizationSentryAppInstallationsData,
33642
+ zListOrganizationSentryAppComponentsResponse,
33643
+ zListOrganizationSentryAppComponentsData,
33367
33644
  zListOrganizationScimV2UsersResponse,
33368
33645
  zListOrganizationScimV2UsersData,
33369
33646
  zListOrganizationScimV2GroupsResponse,
@@ -33413,6 +33690,8 @@ export {
33413
33690
  zListOrganizationIssueViewsData,
33414
33691
  zListOrganizationIssueTagValuesResponse,
33415
33692
  zListOrganizationIssueTagValuesData,
33693
+ zListOrganizationIssueIntegrationsResponse,
33694
+ zListOrganizationIssueIntegrationsData,
33416
33695
  zListOrganizationIssueHashesResponse,
33417
33696
  zListOrganizationIssueHashesData,
33418
33697
  zListOrganizationIssueExternalIssuesResponse,
@@ -33422,6 +33701,8 @@ export {
33422
33701
  zListOrganizationIntegrationsResponse,
33423
33702
  zListOrganizationIntegrationsData,
33424
33703
  zListOrganizationIntegrationResponse,
33704
+ zListOrganizationIntegrationRepositoriesResponse,
33705
+ zListOrganizationIntegrationRepositoriesData,
33425
33706
  zListOrganizationForwardingResponse,
33426
33707
  zListOrganizationForwardingData,
33427
33708
  zListOrganizationEventsTimeseriesResponse,
@@ -33455,7 +33736,9 @@ export {
33455
33736
  zLayout,
33456
33737
  zLatestInstallableBuildResponse,
33457
33738
  zLatestBaseSnapshotResponse,
33739
+ zIssueIntegrationsResponse,
33458
33740
  zIssueEventDetailsResponse,
33741
+ zIntegrationRepositoriesResponse,
33459
33742
  zIntegrationIssueConfigResponse,
33460
33743
  zInstallInfoResponse,
33461
33744
  zInCommitValidator,
@@ -33470,6 +33753,8 @@ export {
33470
33753
  zGetTeamResponse,
33471
33754
  zGetTeamData,
33472
33755
  zGetSentryAppResponse,
33756
+ zGetSentryAppInstallationExternalRequestOptionsResponse,
33757
+ zGetSentryAppInstallationExternalRequestOptionsData,
33473
33758
  zGetSentryAppData,
33474
33759
  zGetReplayViewedBy,
33475
33760
  zGetReplayRecordingSegment,
@@ -33576,6 +33861,8 @@ export {
33576
33861
  zExternalIssueLinkResponse,
33577
33862
  zExternalActor,
33578
33863
  zExplorerAutofixRequest,
33864
+ zExecuteSentryAppInstallationExternalIssueActionResponse,
33865
+ zExecuteSentryAppInstallationExternalIssueActionData,
33579
33866
  zEventIdLookupResponse,
33580
33867
  zEventAttachmentDetailsResponse,
33581
33868
  zEnvironmentProject,
@@ -33640,6 +33927,8 @@ export {
33640
33927
  zDeleteOrganizationIssuesData,
33641
33928
  zDeleteOrganizationIssueIntegrationResponse,
33642
33929
  zDeleteOrganizationIssueIntegrationData,
33930
+ zDeleteOrganizationIssueExternalIssueResponse,
33931
+ zDeleteOrganizationIssueExternalIssueData,
33643
33932
  zDeleteOrganizationIssueData,
33644
33933
  zDeleteOrganizationIntegrationResponse,
33645
33934
  zDeleteOrganizationIntegrationData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.307.0",
3
+ "version": "0.309.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",