@sentry/api 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.gen.d.ts +1165 -7
- package/dist/valibot.gen.d.ts +1025 -415
- package/dist/valibot.js +417 -417
- package/dist/zod.gen.d.ts +23 -23
- package/dist/zod.js +1173 -401
- package/package.json +1 -1
package/dist/zod.js
CHANGED
|
@@ -1529,11 +1529,11 @@ var zActionFilterValidator = /* @__PURE__ */ z.object({
|
|
|
1529
1529
|
type: /* @__PURE__ */ z.enum(["opsgenie"]),
|
|
1530
1530
|
data: /* @__PURE__ */ z.object({
|
|
1531
1531
|
priority: /* @__PURE__ */ z.enum([
|
|
1532
|
-
"P2",
|
|
1533
1532
|
"P1",
|
|
1534
|
-
"
|
|
1533
|
+
"P2",
|
|
1534
|
+
"P3",
|
|
1535
1535
|
"P4",
|
|
1536
|
-
"
|
|
1536
|
+
"P5"
|
|
1537
1537
|
]).register(z.globalRegistry, {
|
|
1538
1538
|
description: "The priority of the opsgenie action"
|
|
1539
1539
|
}).optional()
|
|
@@ -3835,24 +3835,50 @@ var zDetailedProject = /* @__PURE__ */ z.object({
|
|
|
3835
3835
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
3836
3836
|
description: "Features enabled for the organization"
|
|
3837
3837
|
}).optional(),
|
|
3838
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
3839
|
-
|
|
3838
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
3839
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
3840
|
+
}).optional(),
|
|
3841
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
3842
|
+
description: "Scopes the requesting user has in the organization"
|
|
3843
|
+
}).optional(),
|
|
3840
3844
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
3841
|
-
task: /* @__PURE__ */ z.string().
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3845
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3846
|
+
description: "Onboarding task key, such as create_project"
|
|
3847
|
+
}).nullable(),
|
|
3848
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3849
|
+
description: "Task status: complete or skipped"
|
|
3850
|
+
}),
|
|
3851
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
3852
|
+
description: "When the task's completion was marked as seen, or null"
|
|
3853
|
+
}).nullable(),
|
|
3854
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
3855
|
+
description: "When the task was completed or skipped"
|
|
3856
|
+
}),
|
|
3857
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
3858
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
3859
|
+
})
|
|
3860
|
+
})).register(z.globalRegistry, {
|
|
3861
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
3862
|
+
}).optional(),
|
|
3863
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3864
|
+
description: "Organization ID"
|
|
3865
|
+
}),
|
|
3866
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3867
|
+
description: "Organization slug"
|
|
3868
|
+
}),
|
|
3849
3869
|
status: /* @__PURE__ */ z.object({
|
|
3850
|
-
id: /* @__PURE__ */ z.string(),
|
|
3851
|
-
|
|
3870
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3871
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
3872
|
+
}),
|
|
3873
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3874
|
+
description: "Status label, such as active or pending deletion"
|
|
3875
|
+
})
|
|
3852
3876
|
}).register(z.globalRegistry, {
|
|
3853
3877
|
description: "Organization status"
|
|
3854
3878
|
}),
|
|
3855
|
-
name: /* @__PURE__ */ z.string(),
|
|
3879
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3880
|
+
description: "Organization name, or its slug when it has no name"
|
|
3881
|
+
}),
|
|
3856
3882
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
3857
3883
|
description: "When the organization was created (ISO 8601)"
|
|
3858
3884
|
}),
|
|
@@ -3870,8 +3896,12 @@ var zDetailedProject = /* @__PURE__ */ z.object({
|
|
|
3870
3896
|
description: "Organization avatar"
|
|
3871
3897
|
}),
|
|
3872
3898
|
links: /* @__PURE__ */ z.object({
|
|
3873
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
3874
|
-
|
|
3899
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3900
|
+
description: "Base URL of the organization"
|
|
3901
|
+
}),
|
|
3902
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
3903
|
+
description: "Base URL of the API for the organization's region"
|
|
3904
|
+
})
|
|
3875
3905
|
}).register(z.globalRegistry, {
|
|
3876
3906
|
description: "Organization and region URLs"
|
|
3877
3907
|
}),
|
|
@@ -3884,7 +3914,9 @@ var zDetailedProject = /* @__PURE__ */ z.object({
|
|
|
3884
3914
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
3885
3915
|
description: "Whether members can create projects"
|
|
3886
3916
|
}),
|
|
3887
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
3917
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
3918
|
+
description: "Whether Sentry superusers can access the organization"
|
|
3919
|
+
})
|
|
3888
3920
|
}),
|
|
3889
3921
|
platforms: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
|
|
3890
3922
|
processingIssues: /* @__PURE__ */ z.int(),
|
|
@@ -7728,24 +7760,50 @@ var zListOrgTeamResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
7728
7760
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
7729
7761
|
description: "Features enabled for the organization"
|
|
7730
7762
|
}).optional(),
|
|
7731
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
7732
|
-
|
|
7763
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
7764
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
7765
|
+
}).optional(),
|
|
7766
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
7767
|
+
description: "Scopes the requesting user has in the organization"
|
|
7768
|
+
}).optional(),
|
|
7733
7769
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
7734
|
-
task: /* @__PURE__ */ z.string().
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7770
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7771
|
+
description: "Onboarding task key, such as create_project"
|
|
7772
|
+
}).nullable(),
|
|
7773
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7774
|
+
description: "Task status: complete or skipped"
|
|
7775
|
+
}),
|
|
7776
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
7777
|
+
description: "When the task's completion was marked as seen, or null"
|
|
7778
|
+
}).nullable(),
|
|
7779
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
7780
|
+
description: "When the task was completed or skipped"
|
|
7781
|
+
}),
|
|
7782
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
7783
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
7784
|
+
})
|
|
7785
|
+
})).register(z.globalRegistry, {
|
|
7786
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
7787
|
+
}).optional(),
|
|
7788
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7789
|
+
description: "Organization ID"
|
|
7790
|
+
}),
|
|
7791
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7792
|
+
description: "Organization slug"
|
|
7793
|
+
}),
|
|
7742
7794
|
status: /* @__PURE__ */ z.object({
|
|
7743
|
-
id: /* @__PURE__ */ z.string(),
|
|
7744
|
-
|
|
7795
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7796
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
7797
|
+
}),
|
|
7798
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7799
|
+
description: "Status label, such as active or pending deletion"
|
|
7800
|
+
})
|
|
7745
7801
|
}).register(z.globalRegistry, {
|
|
7746
7802
|
description: "Organization status"
|
|
7747
7803
|
}),
|
|
7748
|
-
name: /* @__PURE__ */ z.string(),
|
|
7804
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7805
|
+
description: "Organization name, or its slug when it has no name"
|
|
7806
|
+
}),
|
|
7749
7807
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
7750
7808
|
description: "When the organization was created (ISO 8601)"
|
|
7751
7809
|
}),
|
|
@@ -7763,8 +7821,12 @@ var zListOrgTeamResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
7763
7821
|
description: "Organization avatar"
|
|
7764
7822
|
}),
|
|
7765
7823
|
links: /* @__PURE__ */ z.object({
|
|
7766
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
7767
|
-
|
|
7824
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7825
|
+
description: "Base URL of the organization"
|
|
7826
|
+
}),
|
|
7827
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
7828
|
+
description: "Base URL of the API for the organization's region"
|
|
7829
|
+
})
|
|
7768
7830
|
}).register(z.globalRegistry, {
|
|
7769
7831
|
description: "Organization and region URLs"
|
|
7770
7832
|
}),
|
|
@@ -7777,7 +7839,9 @@ var zListOrgTeamResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
7777
7839
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
7778
7840
|
description: "Whether members can create projects"
|
|
7779
7841
|
}),
|
|
7780
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
7842
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
7843
|
+
description: "Whether Sentry superusers can access the organization"
|
|
7844
|
+
})
|
|
7781
7845
|
}).optional(),
|
|
7782
7846
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
7783
7847
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -8432,24 +8496,50 @@ var zListOrganizations = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
8432
8496
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
8433
8497
|
description: "Features enabled for the organization"
|
|
8434
8498
|
}).optional(),
|
|
8435
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
8436
|
-
|
|
8499
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
8500
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
8501
|
+
}).optional(),
|
|
8502
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
8503
|
+
description: "Scopes the requesting user has in the organization"
|
|
8504
|
+
}).optional(),
|
|
8437
8505
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
8438
|
-
task: /* @__PURE__ */ z.string().
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8506
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8507
|
+
description: "Onboarding task key, such as create_project"
|
|
8508
|
+
}).nullable(),
|
|
8509
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8510
|
+
description: "Task status: complete or skipped"
|
|
8511
|
+
}),
|
|
8512
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
8513
|
+
description: "When the task's completion was marked as seen, or null"
|
|
8514
|
+
}).nullable(),
|
|
8515
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
8516
|
+
description: "When the task was completed or skipped"
|
|
8517
|
+
}),
|
|
8518
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
8519
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
8520
|
+
})
|
|
8521
|
+
})).register(z.globalRegistry, {
|
|
8522
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
8523
|
+
}).optional(),
|
|
8524
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8525
|
+
description: "Organization ID"
|
|
8526
|
+
}),
|
|
8527
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8528
|
+
description: "Organization slug"
|
|
8529
|
+
}),
|
|
8446
8530
|
status: /* @__PURE__ */ z.object({
|
|
8447
|
-
id: /* @__PURE__ */ z.string(),
|
|
8448
|
-
|
|
8531
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8532
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
8533
|
+
}),
|
|
8534
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8535
|
+
description: "Status label, such as active or pending deletion"
|
|
8536
|
+
})
|
|
8449
8537
|
}).register(z.globalRegistry, {
|
|
8450
8538
|
description: "Organization status"
|
|
8451
8539
|
}),
|
|
8452
|
-
name: /* @__PURE__ */ z.string(),
|
|
8540
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8541
|
+
description: "Organization name, or its slug when it has no name"
|
|
8542
|
+
}),
|
|
8453
8543
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
8454
8544
|
description: "When the organization was created (ISO 8601)"
|
|
8455
8545
|
}),
|
|
@@ -8467,8 +8557,12 @@ var zListOrganizations = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
8467
8557
|
description: "Organization avatar"
|
|
8468
8558
|
}),
|
|
8469
8559
|
links: /* @__PURE__ */ z.object({
|
|
8470
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
8471
|
-
|
|
8560
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8561
|
+
description: "Base URL of the organization"
|
|
8562
|
+
}),
|
|
8563
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
8564
|
+
description: "Base URL of the API for the organization's region"
|
|
8565
|
+
})
|
|
8472
8566
|
}).register(z.globalRegistry, {
|
|
8473
8567
|
description: "Organization and region URLs"
|
|
8474
8568
|
}),
|
|
@@ -8481,7 +8575,9 @@ var zListOrganizations = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
|
8481
8575
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8482
8576
|
description: "Whether members can create projects"
|
|
8483
8577
|
}),
|
|
8484
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
8578
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
8579
|
+
description: "Whether Sentry superusers can access the organization"
|
|
8580
|
+
})
|
|
8485
8581
|
}));
|
|
8486
8582
|
var zListProjectDebugFilesResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
8487
8583
|
id: /* @__PURE__ */ z.string(),
|
|
@@ -11467,24 +11563,50 @@ var zOrganizationSummary = /* @__PURE__ */ z.object({
|
|
|
11467
11563
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11468
11564
|
description: "Features enabled for the organization"
|
|
11469
11565
|
}).optional(),
|
|
11470
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
11471
|
-
|
|
11566
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
11567
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
11568
|
+
}).optional(),
|
|
11569
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11570
|
+
description: "Scopes the requesting user has in the organization"
|
|
11571
|
+
}).optional(),
|
|
11472
11572
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11473
|
-
task: /* @__PURE__ */ z.string().
|
|
11474
|
-
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11573
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11574
|
+
description: "Onboarding task key, such as create_project"
|
|
11575
|
+
}).nullable(),
|
|
11576
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11577
|
+
description: "Task status: complete or skipped"
|
|
11578
|
+
}),
|
|
11579
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11580
|
+
description: "When the task's completion was marked as seen, or null"
|
|
11581
|
+
}).nullable(),
|
|
11582
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11583
|
+
description: "When the task was completed or skipped"
|
|
11584
|
+
}),
|
|
11585
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
11586
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
11587
|
+
})
|
|
11588
|
+
})).register(z.globalRegistry, {
|
|
11589
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
11590
|
+
}).optional(),
|
|
11591
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11592
|
+
description: "Organization ID"
|
|
11593
|
+
}),
|
|
11594
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11595
|
+
description: "Organization slug"
|
|
11596
|
+
}),
|
|
11481
11597
|
status: /* @__PURE__ */ z.object({
|
|
11482
|
-
id: /* @__PURE__ */ z.string(),
|
|
11483
|
-
|
|
11598
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11599
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
11600
|
+
}),
|
|
11601
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11602
|
+
description: "Status label, such as active or pending deletion"
|
|
11603
|
+
})
|
|
11484
11604
|
}).register(z.globalRegistry, {
|
|
11485
11605
|
description: "Organization status"
|
|
11486
11606
|
}),
|
|
11487
|
-
name: /* @__PURE__ */ z.string(),
|
|
11607
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11608
|
+
description: "Organization name, or its slug when it has no name"
|
|
11609
|
+
}),
|
|
11488
11610
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11489
11611
|
description: "When the organization was created (ISO 8601)"
|
|
11490
11612
|
}),
|
|
@@ -11502,8 +11624,12 @@ var zOrganizationSummary = /* @__PURE__ */ z.object({
|
|
|
11502
11624
|
description: "Organization avatar"
|
|
11503
11625
|
}),
|
|
11504
11626
|
links: /* @__PURE__ */ z.object({
|
|
11505
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
11506
|
-
|
|
11627
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11628
|
+
description: "Base URL of the organization"
|
|
11629
|
+
}),
|
|
11630
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11631
|
+
description: "Base URL of the API for the organization's region"
|
|
11632
|
+
})
|
|
11507
11633
|
}).register(z.globalRegistry, {
|
|
11508
11634
|
description: "Organization and region URLs"
|
|
11509
11635
|
}),
|
|
@@ -11516,7 +11642,9 @@ var zOrganizationSummary = /* @__PURE__ */ z.object({
|
|
|
11516
11642
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11517
11643
|
description: "Whether members can create projects"
|
|
11518
11644
|
}),
|
|
11519
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
11645
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11646
|
+
description: "Whether Sentry superusers can access the organization"
|
|
11647
|
+
})
|
|
11520
11648
|
});
|
|
11521
11649
|
var zOrganizationTraceMetaResponse = /* @__PURE__ */ z.object({
|
|
11522
11650
|
uptimeCount: /* @__PURE__ */ z.int().optional(),
|
|
@@ -11666,24 +11794,50 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11666
11794
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11667
11795
|
description: "Features enabled for the organization"
|
|
11668
11796
|
}).optional(),
|
|
11669
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
11670
|
-
|
|
11797
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
11798
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
11799
|
+
}).optional(),
|
|
11800
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11801
|
+
description: "Scopes the requesting user has in the organization"
|
|
11802
|
+
}).optional(),
|
|
11671
11803
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11672
|
-
task: /* @__PURE__ */ z.string().
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
|
|
11804
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11805
|
+
description: "Onboarding task key, such as create_project"
|
|
11806
|
+
}).nullable(),
|
|
11807
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11808
|
+
description: "Task status: complete or skipped"
|
|
11809
|
+
}),
|
|
11810
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11811
|
+
description: "When the task's completion was marked as seen, or null"
|
|
11812
|
+
}).nullable(),
|
|
11813
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11814
|
+
description: "When the task was completed or skipped"
|
|
11815
|
+
}),
|
|
11816
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
11817
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
11818
|
+
})
|
|
11819
|
+
})).register(z.globalRegistry, {
|
|
11820
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
11821
|
+
}).optional(),
|
|
11822
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11823
|
+
description: "Organization ID"
|
|
11824
|
+
}),
|
|
11825
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11826
|
+
description: "Organization slug"
|
|
11827
|
+
}),
|
|
11680
11828
|
status: /* @__PURE__ */ z.object({
|
|
11681
|
-
id: /* @__PURE__ */ z.string(),
|
|
11682
|
-
|
|
11829
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11830
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
11831
|
+
}),
|
|
11832
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11833
|
+
description: "Status label, such as active or pending deletion"
|
|
11834
|
+
})
|
|
11683
11835
|
}).register(z.globalRegistry, {
|
|
11684
11836
|
description: "Organization status"
|
|
11685
11837
|
}),
|
|
11686
|
-
name: /* @__PURE__ */ z.string(),
|
|
11838
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11839
|
+
description: "Organization name, or its slug when it has no name"
|
|
11840
|
+
}),
|
|
11687
11841
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11688
11842
|
description: "When the organization was created (ISO 8601)"
|
|
11689
11843
|
}),
|
|
@@ -11701,8 +11855,12 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11701
11855
|
description: "Organization avatar"
|
|
11702
11856
|
}),
|
|
11703
11857
|
links: /* @__PURE__ */ z.object({
|
|
11704
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
11705
|
-
|
|
11858
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11859
|
+
description: "Base URL of the organization"
|
|
11860
|
+
}),
|
|
11861
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11862
|
+
description: "Base URL of the API for the organization's region"
|
|
11863
|
+
})
|
|
11706
11864
|
}).register(z.globalRegistry, {
|
|
11707
11865
|
description: "Organization and region URLs"
|
|
11708
11866
|
}),
|
|
@@ -11715,16 +11873,32 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11715
11873
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11716
11874
|
description: "Whether members can create projects"
|
|
11717
11875
|
}),
|
|
11718
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean(),
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
-
|
|
11876
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11877
|
+
description: "Whether Sentry superusers can access the organization"
|
|
11878
|
+
}),
|
|
11879
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11880
|
+
description: "Deprecated, use orgRole"
|
|
11881
|
+
}).optional(),
|
|
11882
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11883
|
+
description: "The requesting user's role in the organization"
|
|
11884
|
+
}).optional(),
|
|
11885
|
+
targetSampleRate: /* @__PURE__ */ z.number().register(z.globalRegistry, {
|
|
11886
|
+
description: "Target sample rate for dynamic sampling, from 0 to 1"
|
|
11887
|
+
}).optional(),
|
|
11888
|
+
samplingMode: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11889
|
+
description: "Where dynamic sampling target rates are set: organization or project"
|
|
11890
|
+
}).optional(),
|
|
11723
11891
|
planSampleRate: /* @__PURE__ */ z.number().optional(),
|
|
11724
11892
|
desiredSampleRate: /* @__PURE__ */ z.number().optional(),
|
|
11725
|
-
experiments: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.string()),
|
|
11726
|
-
|
|
11727
|
-
|
|
11893
|
+
experiments: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11894
|
+
description: "Experiment assignments for the organization, mapping each experiment name to active or control"
|
|
11895
|
+
}),
|
|
11896
|
+
isDefault: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11897
|
+
description: "Whether this is the default organization of a single-organization install"
|
|
11898
|
+
}),
|
|
11899
|
+
defaultRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11900
|
+
description: "Role that new members get by default"
|
|
11901
|
+
}),
|
|
11728
11902
|
orgRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11729
11903
|
id: /* @__PURE__ */ z.string(),
|
|
11730
11904
|
name: /* @__PURE__ */ z.string(),
|
|
@@ -11737,7 +11911,9 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11737
11911
|
is_global: /* @__PURE__ */ z.boolean(),
|
|
11738
11912
|
isGlobal: /* @__PURE__ */ z.boolean(),
|
|
11739
11913
|
minimumTeamRole: /* @__PURE__ */ z.string()
|
|
11740
|
-
})),
|
|
11914
|
+
})).register(z.globalRegistry, {
|
|
11915
|
+
description: "Organization roles available in the organization"
|
|
11916
|
+
}),
|
|
11741
11917
|
teamRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11742
11918
|
id: /* @__PURE__ */ z.string(),
|
|
11743
11919
|
name: /* @__PURE__ */ z.string(),
|
|
@@ -11748,47 +11924,125 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11748
11924
|
isRetired: /* @__PURE__ */ z.boolean(),
|
|
11749
11925
|
isTeamRolesAllowed: /* @__PURE__ */ z.boolean(),
|
|
11750
11926
|
isMinimumRoleFor: /* @__PURE__ */ z.string().nullable()
|
|
11751
|
-
})),
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11927
|
+
})).register(z.globalRegistry, {
|
|
11928
|
+
description: "Team roles available in the organization"
|
|
11929
|
+
}),
|
|
11930
|
+
openMembership: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11931
|
+
description: "Whether members can freely join any team"
|
|
11932
|
+
}),
|
|
11933
|
+
allowSharedIssues: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11934
|
+
description: "Whether limited details of issues can be shared with anonymous users"
|
|
11935
|
+
}),
|
|
11936
|
+
enhancedPrivacy: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11937
|
+
description: "Whether enhanced privacy controls limit personally identifiable information (PII) and source code in things like notifications"
|
|
11938
|
+
}),
|
|
11939
|
+
dataScrubber: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11940
|
+
description: "Whether server-side data scrubbing is required for all projects"
|
|
11941
|
+
}),
|
|
11942
|
+
dataScrubberDefaults: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11943
|
+
description: "Whether the default scrubbers apply to all projects, to keep things like passwords and credit cards from being stored"
|
|
11944
|
+
}),
|
|
11945
|
+
sensitiveFields: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11946
|
+
description: "Additional field names that data scrubbing matches in all projects"
|
|
11947
|
+
}),
|
|
11948
|
+
safeFields: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11949
|
+
description: "Field names that data scrubbers ignore in all projects"
|
|
11950
|
+
}),
|
|
11951
|
+
storeCrashReports: /* @__PURE__ */ z.int().register(z.globalRegistry, {
|
|
11952
|
+
description: "How many native crash reports to store per issue; 0 is disabled and -1 is unlimited"
|
|
11953
|
+
}),
|
|
11954
|
+
attachmentsRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11955
|
+
description: "Role required to download event attachments, such as native crash reports or log files"
|
|
11956
|
+
}),
|
|
11957
|
+
debugFilesRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11958
|
+
description: "Role required to download debug information files, ProGuard mappings and source maps"
|
|
11959
|
+
}),
|
|
11960
|
+
eventsMemberAdmin: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11961
|
+
description: "Whether members can delete events, through the event:admin scope"
|
|
11962
|
+
}),
|
|
11963
|
+
alertsMemberWrite: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11964
|
+
description: "Whether members can create, edit and delete alert rules, through the alerts:write scope"
|
|
11965
|
+
}),
|
|
11966
|
+
scrubIPAddresses: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11967
|
+
description: "Whether IP addresses are kept from being stored for new events in all projects"
|
|
11968
|
+
}),
|
|
11969
|
+
scrapeJavaScript: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11970
|
+
description: "Whether Sentry scrapes missing JavaScript source context when possible"
|
|
11971
|
+
}),
|
|
11972
|
+
allowJoinRequests: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11973
|
+
description: "Whether users can request to join the organization"
|
|
11974
|
+
}),
|
|
11975
|
+
relayPiiConfig: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11976
|
+
description: "Advanced data scrubbing rules of the organization as a JSON string, or null"
|
|
11977
|
+
}).nullable(),
|
|
11978
|
+
relayDsnEndpoint: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11979
|
+
description: "Relay base URL used when displaying Client Key DSNs, or null"
|
|
11980
|
+
}).nullable(),
|
|
11769
11981
|
trustedRelays: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11770
|
-
name: /* @__PURE__ */ z.string().
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11982
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11983
|
+
description: "Name of the Relay"
|
|
11984
|
+
}).optional(),
|
|
11985
|
+
description: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11986
|
+
description: "Description of the Relay"
|
|
11987
|
+
}).optional(),
|
|
11988
|
+
publicKey: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
11989
|
+
description: "Public key of the Relay"
|
|
11990
|
+
}).optional(),
|
|
11991
|
+
created: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11992
|
+
description: "When the Relay was added"
|
|
11993
|
+
}).optional(),
|
|
11994
|
+
lastModified: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11995
|
+
description: "When the Relay was added or its name or description last changed"
|
|
11996
|
+
}).optional()
|
|
11997
|
+
})).register(z.globalRegistry, {
|
|
11998
|
+
description: "Local Relays registered for the organization"
|
|
11999
|
+
}),
|
|
12000
|
+
pendingAccessRequests: /* @__PURE__ */ z.int().register(z.globalRegistry, {
|
|
12001
|
+
description: "Number of pending requests to join teams in the organization"
|
|
12002
|
+
}),
|
|
12003
|
+
hideAiFeatures: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12004
|
+
description: "Whether AI features are hidden for the organization"
|
|
12005
|
+
}),
|
|
11778
12006
|
aggregatedDataConsent: /* @__PURE__ */ z.boolean(),
|
|
11779
|
-
isDynamicallySampled: /* @__PURE__ */ z.boolean(),
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
12007
|
+
isDynamicallySampled: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12008
|
+
description: "Whether dynamic sampling keeps less than all events, for the organization or any of its projects"
|
|
12009
|
+
}),
|
|
12010
|
+
issueAlertsThreadFlag: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12011
|
+
description: "Whether the Slack integration posts replies in threads for issue alert notifications"
|
|
12012
|
+
}),
|
|
12013
|
+
metricAlertsThreadFlag: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12014
|
+
description: "Whether the Slack integration posts replies in threads for metric alert notifications"
|
|
12015
|
+
}),
|
|
12016
|
+
requiresSso: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12017
|
+
description: "Whether the requesting user must sign in with SSO to access the organization"
|
|
12018
|
+
}),
|
|
12019
|
+
defaultAutofixAutomationTuning: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12020
|
+
description: "Default Autofix automation tuning for new projects"
|
|
12021
|
+
}),
|
|
12022
|
+
defaultSeerScannerAutomation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12023
|
+
description: "Default issue scanner automation for new projects; on seat-based Seer plans, new projects always have it on"
|
|
12024
|
+
}),
|
|
12025
|
+
enableSeerCoding: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12026
|
+
description: "Whether Seer coding is enabled for the organization"
|
|
12027
|
+
}),
|
|
12028
|
+
defaultCodingAgent: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12029
|
+
description: "Coding agent that automated Autofix runs on new projects hand off to, or seer; applies to seat-based Seer plans"
|
|
12030
|
+
}),
|
|
12031
|
+
defaultCodingAgentIntegrationId: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12032
|
+
description: "Integration ID of the default coding agent, or null"
|
|
12033
|
+
}).nullable(),
|
|
12034
|
+
defaultAutomatedRunStoppingPoint: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12035
|
+
description: "Step where automated Autofix runs on new projects stop by default"
|
|
12036
|
+
}),
|
|
12037
|
+
autoEnableCodeReview: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12038
|
+
description: "Whether code review is turned on for GitHub repositories when they're added"
|
|
12039
|
+
}),
|
|
12040
|
+
autoOpenPrs: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12041
|
+
description: "Whether automated Autofix runs on new projects open pull requests by default"
|
|
12042
|
+
}),
|
|
12043
|
+
defaultCodeReviewTriggers: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
12044
|
+
description: "Code review triggers that GitHub repositories get when they're added"
|
|
12045
|
+
}),
|
|
11792
12046
|
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11793
12047
|
id: /* @__PURE__ */ z.string(),
|
|
11794
12048
|
slug: /* @__PURE__ */ z.string(),
|
|
@@ -11827,24 +12081,50 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11827
12081
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
11828
12082
|
description: "Features enabled for the organization"
|
|
11829
12083
|
}).optional(),
|
|
11830
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
11831
|
-
|
|
12084
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
12085
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
12086
|
+
}).optional(),
|
|
12087
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
12088
|
+
description: "Scopes the requesting user has in the organization"
|
|
12089
|
+
}).optional(),
|
|
11832
12090
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11833
|
-
task: /* @__PURE__ */ z.string().
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
12091
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12092
|
+
description: "Onboarding task key, such as create_project"
|
|
12093
|
+
}).nullable(),
|
|
12094
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12095
|
+
description: "Task status: complete or skipped"
|
|
12096
|
+
}),
|
|
12097
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
12098
|
+
description: "When the task's completion was marked as seen, or null"
|
|
12099
|
+
}).nullable(),
|
|
12100
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
12101
|
+
description: "When the task was completed or skipped"
|
|
12102
|
+
}),
|
|
12103
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
12104
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
12105
|
+
})
|
|
12106
|
+
})).register(z.globalRegistry, {
|
|
12107
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
12108
|
+
}).optional(),
|
|
12109
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12110
|
+
description: "Organization ID"
|
|
12111
|
+
}),
|
|
12112
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12113
|
+
description: "Organization slug"
|
|
12114
|
+
}),
|
|
11841
12115
|
status: /* @__PURE__ */ z.object({
|
|
11842
|
-
id: /* @__PURE__ */ z.string(),
|
|
11843
|
-
|
|
12116
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12117
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
12118
|
+
}),
|
|
12119
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12120
|
+
description: "Status label, such as active or pending deletion"
|
|
12121
|
+
})
|
|
11844
12122
|
}).register(z.globalRegistry, {
|
|
11845
12123
|
description: "Organization status"
|
|
11846
12124
|
}),
|
|
11847
|
-
name: /* @__PURE__ */ z.string(),
|
|
12125
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12126
|
+
description: "Organization name, or its slug when it has no name"
|
|
12127
|
+
}),
|
|
11848
12128
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
11849
12129
|
description: "When the organization was created (ISO 8601)"
|
|
11850
12130
|
}),
|
|
@@ -11862,8 +12142,12 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11862
12142
|
description: "Organization avatar"
|
|
11863
12143
|
}),
|
|
11864
12144
|
links: /* @__PURE__ */ z.object({
|
|
11865
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
11866
|
-
|
|
12145
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12146
|
+
description: "Base URL of the organization"
|
|
12147
|
+
}),
|
|
12148
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
12149
|
+
description: "Base URL of the API for the organization's region"
|
|
12150
|
+
})
|
|
11867
12151
|
}).register(z.globalRegistry, {
|
|
11868
12152
|
description: "Organization and region URLs"
|
|
11869
12153
|
}),
|
|
@@ -11876,7 +12160,9 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11876
12160
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
11877
12161
|
description: "Whether members can create projects"
|
|
11878
12162
|
}),
|
|
11879
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
12163
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
12164
|
+
description: "Whether Sentry superusers can access the organization"
|
|
12165
|
+
})
|
|
11880
12166
|
}).optional(),
|
|
11881
12167
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11882
12168
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -11945,7 +12231,9 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
11945
12231
|
color: /* @__PURE__ */ z.string(),
|
|
11946
12232
|
status: /* @__PURE__ */ z.string()
|
|
11947
12233
|
})).optional()
|
|
11948
|
-
})),
|
|
12234
|
+
})).register(z.globalRegistry, {
|
|
12235
|
+
description: "Active teams of the organization"
|
|
12236
|
+
}),
|
|
11949
12237
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
11950
12238
|
latestDeploys: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.string())).nullish(),
|
|
11951
12239
|
options: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()).optional(),
|
|
@@ -12031,7 +12319,9 @@ var zOrganizationWithProjectsAndTeams = /* @__PURE__ */ z.object({
|
|
|
12031
12319
|
}).register(z.globalRegistry, {
|
|
12032
12320
|
description: "Latest release of the project"
|
|
12033
12321
|
}).nullable()
|
|
12034
|
-
}))
|
|
12322
|
+
})).register(z.globalRegistry, {
|
|
12323
|
+
description: "Active projects of the organization"
|
|
12324
|
+
})
|
|
12035
12325
|
});
|
|
12036
12326
|
var zOutcomesResponse = /* @__PURE__ */ z.object({
|
|
12037
12327
|
start: /* @__PURE__ */ z.string(),
|
|
@@ -14700,24 +14990,50 @@ var zTeam = /* @__PURE__ */ z.object({
|
|
|
14700
14990
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
14701
14991
|
description: "Features enabled for the organization"
|
|
14702
14992
|
}).optional(),
|
|
14703
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
14704
|
-
|
|
14993
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
14994
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
14995
|
+
}).optional(),
|
|
14996
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
14997
|
+
description: "Scopes the requesting user has in the organization"
|
|
14998
|
+
}).optional(),
|
|
14705
14999
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
14706
|
-
task: /* @__PURE__ */ z.string().
|
|
14707
|
-
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
15000
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15001
|
+
description: "Onboarding task key, such as create_project"
|
|
15002
|
+
}).nullable(),
|
|
15003
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15004
|
+
description: "Task status: complete or skipped"
|
|
15005
|
+
}),
|
|
15006
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
15007
|
+
description: "When the task's completion was marked as seen, or null"
|
|
15008
|
+
}).nullable(),
|
|
15009
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
15010
|
+
description: "When the task was completed or skipped"
|
|
15011
|
+
}),
|
|
15012
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
15013
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
15014
|
+
})
|
|
15015
|
+
})).register(z.globalRegistry, {
|
|
15016
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
15017
|
+
}).optional(),
|
|
15018
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15019
|
+
description: "Organization ID"
|
|
15020
|
+
}),
|
|
15021
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15022
|
+
description: "Organization slug"
|
|
15023
|
+
}),
|
|
14714
15024
|
status: /* @__PURE__ */ z.object({
|
|
14715
|
-
id: /* @__PURE__ */ z.string(),
|
|
14716
|
-
|
|
15025
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15026
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
15027
|
+
}),
|
|
15028
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15029
|
+
description: "Status label, such as active or pending deletion"
|
|
15030
|
+
})
|
|
14717
15031
|
}).register(z.globalRegistry, {
|
|
14718
15032
|
description: "Organization status"
|
|
14719
15033
|
}),
|
|
14720
|
-
name: /* @__PURE__ */ z.string(),
|
|
15034
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15035
|
+
description: "Organization name, or its slug when it has no name"
|
|
15036
|
+
}),
|
|
14721
15037
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
14722
15038
|
description: "When the organization was created (ISO 8601)"
|
|
14723
15039
|
}),
|
|
@@ -14735,8 +15051,12 @@ var zTeam = /* @__PURE__ */ z.object({
|
|
|
14735
15051
|
description: "Organization avatar"
|
|
14736
15052
|
}),
|
|
14737
15053
|
links: /* @__PURE__ */ z.object({
|
|
14738
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
14739
|
-
|
|
15054
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15055
|
+
description: "Base URL of the organization"
|
|
15056
|
+
}),
|
|
15057
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
15058
|
+
description: "Base URL of the API for the organization's region"
|
|
15059
|
+
})
|
|
14740
15060
|
}).register(z.globalRegistry, {
|
|
14741
15061
|
description: "Organization and region URLs"
|
|
14742
15062
|
}),
|
|
@@ -14749,7 +15069,9 @@ var zTeam = /* @__PURE__ */ z.object({
|
|
|
14749
15069
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
14750
15070
|
description: "Whether members can create projects"
|
|
14751
15071
|
}),
|
|
14752
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
15072
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
15073
|
+
description: "Whether Sentry superusers can access the organization"
|
|
15074
|
+
})
|
|
14753
15075
|
}).optional(),
|
|
14754
15076
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
14755
15077
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -15219,11 +15541,11 @@ var zWorkflowAction = /* @__PURE__ */ z.union([
|
|
|
15219
15541
|
type: /* @__PURE__ */ z.enum(["opsgenie"]),
|
|
15220
15542
|
data: /* @__PURE__ */ z.object({
|
|
15221
15543
|
priority: /* @__PURE__ */ z.enum([
|
|
15222
|
-
"P2",
|
|
15223
15544
|
"P1",
|
|
15224
|
-
"
|
|
15545
|
+
"P2",
|
|
15546
|
+
"P3",
|
|
15225
15547
|
"P4",
|
|
15226
|
-
"
|
|
15548
|
+
"P5"
|
|
15227
15549
|
]).register(z.globalRegistry, {
|
|
15228
15550
|
description: "The priority of the opsgenie action"
|
|
15229
15551
|
}).optional()
|
|
@@ -16966,11 +17288,11 @@ var zWorkflowValidator = /* @__PURE__ */ z.object({
|
|
|
16966
17288
|
type: /* @__PURE__ */ z.enum(["opsgenie"]),
|
|
16967
17289
|
data: /* @__PURE__ */ z.object({
|
|
16968
17290
|
priority: /* @__PURE__ */ z.enum([
|
|
16969
|
-
"P2",
|
|
16970
17291
|
"P1",
|
|
16971
|
-
"
|
|
17292
|
+
"P2",
|
|
17293
|
+
"P3",
|
|
16972
17294
|
"P4",
|
|
16973
|
-
"
|
|
17295
|
+
"P5"
|
|
16974
17296
|
]).register(z.globalRegistry, {
|
|
16975
17297
|
description: "The priority of the opsgenie action"
|
|
16976
17298
|
}).optional()
|
|
@@ -17296,24 +17618,50 @@ var zListOrganizationsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.objec
|
|
|
17296
17618
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
17297
17619
|
description: "Features enabled for the organization"
|
|
17298
17620
|
}).optional(),
|
|
17299
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
17300
|
-
|
|
17621
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
17622
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
17623
|
+
}).optional(),
|
|
17624
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
17625
|
+
description: "Scopes the requesting user has in the organization"
|
|
17626
|
+
}).optional(),
|
|
17301
17627
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17302
|
-
task: /* @__PURE__ */ z.string().
|
|
17303
|
-
|
|
17304
|
-
|
|
17305
|
-
|
|
17306
|
-
|
|
17307
|
-
|
|
17308
|
-
|
|
17309
|
-
|
|
17628
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17629
|
+
description: "Onboarding task key, such as create_project"
|
|
17630
|
+
}).nullable(),
|
|
17631
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17632
|
+
description: "Task status: complete or skipped"
|
|
17633
|
+
}),
|
|
17634
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17635
|
+
description: "When the task's completion was marked as seen, or null"
|
|
17636
|
+
}).nullable(),
|
|
17637
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17638
|
+
description: "When the task was completed or skipped"
|
|
17639
|
+
}),
|
|
17640
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
17641
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
17642
|
+
})
|
|
17643
|
+
})).register(z.globalRegistry, {
|
|
17644
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
17645
|
+
}).optional(),
|
|
17646
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17647
|
+
description: "Organization ID"
|
|
17648
|
+
}),
|
|
17649
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17650
|
+
description: "Organization slug"
|
|
17651
|
+
}),
|
|
17310
17652
|
status: /* @__PURE__ */ z.object({
|
|
17311
|
-
id: /* @__PURE__ */ z.string(),
|
|
17312
|
-
|
|
17653
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17654
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
17655
|
+
}),
|
|
17656
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17657
|
+
description: "Status label, such as active or pending deletion"
|
|
17658
|
+
})
|
|
17313
17659
|
}).register(z.globalRegistry, {
|
|
17314
17660
|
description: "Organization status"
|
|
17315
17661
|
}),
|
|
17316
|
-
name: /* @__PURE__ */ z.string(),
|
|
17662
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17663
|
+
description: "Organization name, or its slug when it has no name"
|
|
17664
|
+
}),
|
|
17317
17665
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17318
17666
|
description: "When the organization was created (ISO 8601)"
|
|
17319
17667
|
}),
|
|
@@ -17331,8 +17679,12 @@ var zListOrganizationsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.objec
|
|
|
17331
17679
|
description: "Organization avatar"
|
|
17332
17680
|
}),
|
|
17333
17681
|
links: /* @__PURE__ */ z.object({
|
|
17334
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
17335
|
-
|
|
17682
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17683
|
+
description: "Base URL of the organization"
|
|
17684
|
+
}),
|
|
17685
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17686
|
+
description: "Base URL of the API for the organization's region"
|
|
17687
|
+
})
|
|
17336
17688
|
}).register(z.globalRegistry, {
|
|
17337
17689
|
description: "Organization and region URLs"
|
|
17338
17690
|
}),
|
|
@@ -17345,7 +17697,9 @@ var zListOrganizationsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.objec
|
|
|
17345
17697
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
17346
17698
|
description: "Whether members can create projects"
|
|
17347
17699
|
}),
|
|
17348
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
17700
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
17701
|
+
description: "Whether Sentry superusers can access the organization"
|
|
17702
|
+
})
|
|
17349
17703
|
}));
|
|
17350
17704
|
var zGetOrganizationPath = /* @__PURE__ */ z.object({
|
|
17351
17705
|
organization_id_or_slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -17361,24 +17715,50 @@ var zGetOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17361
17715
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
17362
17716
|
description: "Features enabled for the organization"
|
|
17363
17717
|
}).optional(),
|
|
17364
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
17365
|
-
|
|
17718
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
17719
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
17720
|
+
}).optional(),
|
|
17721
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
17722
|
+
description: "Scopes the requesting user has in the organization"
|
|
17723
|
+
}).optional(),
|
|
17366
17724
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17367
|
-
task: /* @__PURE__ */ z.string().
|
|
17368
|
-
|
|
17369
|
-
|
|
17370
|
-
|
|
17371
|
-
|
|
17372
|
-
|
|
17373
|
-
|
|
17374
|
-
|
|
17725
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17726
|
+
description: "Onboarding task key, such as create_project"
|
|
17727
|
+
}).nullable(),
|
|
17728
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17729
|
+
description: "Task status: complete or skipped"
|
|
17730
|
+
}),
|
|
17731
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17732
|
+
description: "When the task's completion was marked as seen, or null"
|
|
17733
|
+
}).nullable(),
|
|
17734
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17735
|
+
description: "When the task was completed or skipped"
|
|
17736
|
+
}),
|
|
17737
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
17738
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
17739
|
+
})
|
|
17740
|
+
})).register(z.globalRegistry, {
|
|
17741
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
17742
|
+
}).optional(),
|
|
17743
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17744
|
+
description: "Organization ID"
|
|
17745
|
+
}),
|
|
17746
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17747
|
+
description: "Organization slug"
|
|
17748
|
+
}),
|
|
17375
17749
|
status: /* @__PURE__ */ z.object({
|
|
17376
|
-
id: /* @__PURE__ */ z.string(),
|
|
17377
|
-
|
|
17750
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17751
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
17752
|
+
}),
|
|
17753
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17754
|
+
description: "Status label, such as active or pending deletion"
|
|
17755
|
+
})
|
|
17378
17756
|
}).register(z.globalRegistry, {
|
|
17379
17757
|
description: "Organization status"
|
|
17380
17758
|
}),
|
|
17381
|
-
name: /* @__PURE__ */ z.string(),
|
|
17759
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17760
|
+
description: "Organization name, or its slug when it has no name"
|
|
17761
|
+
}),
|
|
17382
17762
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17383
17763
|
description: "When the organization was created (ISO 8601)"
|
|
17384
17764
|
}),
|
|
@@ -17396,8 +17776,12 @@ var zGetOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17396
17776
|
description: "Organization avatar"
|
|
17397
17777
|
}),
|
|
17398
17778
|
links: /* @__PURE__ */ z.object({
|
|
17399
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
17400
|
-
|
|
17779
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17780
|
+
description: "Base URL of the organization"
|
|
17781
|
+
}),
|
|
17782
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17783
|
+
description: "Base URL of the API for the organization's region"
|
|
17784
|
+
})
|
|
17401
17785
|
}).register(z.globalRegistry, {
|
|
17402
17786
|
description: "Organization and region URLs"
|
|
17403
17787
|
}),
|
|
@@ -17410,7 +17794,9 @@ var zGetOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17410
17794
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
17411
17795
|
description: "Whether members can create projects"
|
|
17412
17796
|
}),
|
|
17413
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
17797
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
17798
|
+
description: "Whether Sentry superusers can access the organization"
|
|
17799
|
+
})
|
|
17414
17800
|
});
|
|
17415
17801
|
var zUpdateOrganizationBody = /* @__PURE__ */ z.object({
|
|
17416
17802
|
slug: /* @__PURE__ */ z.string().max(50).register(z.globalRegistry, {
|
|
@@ -17543,24 +17929,50 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17543
17929
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
17544
17930
|
description: "Features enabled for the organization"
|
|
17545
17931
|
}).optional(),
|
|
17546
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
17547
|
-
|
|
17932
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
17933
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
17934
|
+
}).optional(),
|
|
17935
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
17936
|
+
description: "Scopes the requesting user has in the organization"
|
|
17937
|
+
}).optional(),
|
|
17548
17938
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17549
|
-
task: /* @__PURE__ */ z.string().
|
|
17550
|
-
|
|
17551
|
-
|
|
17552
|
-
|
|
17553
|
-
|
|
17554
|
-
|
|
17555
|
-
|
|
17556
|
-
|
|
17939
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17940
|
+
description: "Onboarding task key, such as create_project"
|
|
17941
|
+
}).nullable(),
|
|
17942
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17943
|
+
description: "Task status: complete or skipped"
|
|
17944
|
+
}),
|
|
17945
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17946
|
+
description: "When the task's completion was marked as seen, or null"
|
|
17947
|
+
}).nullable(),
|
|
17948
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17949
|
+
description: "When the task was completed or skipped"
|
|
17950
|
+
}),
|
|
17951
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
17952
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
17953
|
+
})
|
|
17954
|
+
})).register(z.globalRegistry, {
|
|
17955
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
17956
|
+
}).optional(),
|
|
17957
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17958
|
+
description: "Organization ID"
|
|
17959
|
+
}),
|
|
17960
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17961
|
+
description: "Organization slug"
|
|
17962
|
+
}),
|
|
17557
17963
|
status: /* @__PURE__ */ z.object({
|
|
17558
|
-
id: /* @__PURE__ */ z.string(),
|
|
17559
|
-
|
|
17964
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17965
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
17966
|
+
}),
|
|
17967
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17968
|
+
description: "Status label, such as active or pending deletion"
|
|
17969
|
+
})
|
|
17560
17970
|
}).register(z.globalRegistry, {
|
|
17561
17971
|
description: "Organization status"
|
|
17562
17972
|
}),
|
|
17563
|
-
name: /* @__PURE__ */ z.string(),
|
|
17973
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17974
|
+
description: "Organization name, or its slug when it has no name"
|
|
17975
|
+
}),
|
|
17564
17976
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17565
17977
|
description: "When the organization was created (ISO 8601)"
|
|
17566
17978
|
}),
|
|
@@ -17578,8 +17990,12 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17578
17990
|
description: "Organization avatar"
|
|
17579
17991
|
}),
|
|
17580
17992
|
links: /* @__PURE__ */ z.object({
|
|
17581
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
17582
|
-
|
|
17993
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17994
|
+
description: "Base URL of the organization"
|
|
17995
|
+
}),
|
|
17996
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
17997
|
+
description: "Base URL of the API for the organization's region"
|
|
17998
|
+
})
|
|
17583
17999
|
}).register(z.globalRegistry, {
|
|
17584
18000
|
description: "Organization and region URLs"
|
|
17585
18001
|
}),
|
|
@@ -17592,16 +18008,32 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17592
18008
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
17593
18009
|
description: "Whether members can create projects"
|
|
17594
18010
|
}),
|
|
17595
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean(),
|
|
17596
|
-
|
|
17597
|
-
|
|
17598
|
-
|
|
17599
|
-
|
|
18011
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18012
|
+
description: "Whether Sentry superusers can access the organization"
|
|
18013
|
+
}),
|
|
18014
|
+
role: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18015
|
+
description: "Deprecated, use orgRole"
|
|
18016
|
+
}).optional(),
|
|
18017
|
+
orgRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18018
|
+
description: "The requesting user's role in the organization"
|
|
18019
|
+
}).optional(),
|
|
18020
|
+
targetSampleRate: /* @__PURE__ */ z.number().register(z.globalRegistry, {
|
|
18021
|
+
description: "Target sample rate for dynamic sampling, from 0 to 1"
|
|
18022
|
+
}).optional(),
|
|
18023
|
+
samplingMode: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18024
|
+
description: "Where dynamic sampling target rates are set: organization or project"
|
|
18025
|
+
}).optional(),
|
|
17600
18026
|
planSampleRate: /* @__PURE__ */ z.number().optional(),
|
|
17601
18027
|
desiredSampleRate: /* @__PURE__ */ z.number().optional(),
|
|
17602
|
-
experiments: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.string()),
|
|
17603
|
-
|
|
17604
|
-
|
|
18028
|
+
experiments: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
18029
|
+
description: "Experiment assignments for the organization, mapping each experiment name to active or control"
|
|
18030
|
+
}),
|
|
18031
|
+
isDefault: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18032
|
+
description: "Whether this is the default organization of a single-organization install"
|
|
18033
|
+
}),
|
|
18034
|
+
defaultRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18035
|
+
description: "Role that new members get by default"
|
|
18036
|
+
}),
|
|
17605
18037
|
orgRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17606
18038
|
id: /* @__PURE__ */ z.string(),
|
|
17607
18039
|
name: /* @__PURE__ */ z.string(),
|
|
@@ -17614,7 +18046,9 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17614
18046
|
is_global: /* @__PURE__ */ z.boolean(),
|
|
17615
18047
|
isGlobal: /* @__PURE__ */ z.boolean(),
|
|
17616
18048
|
minimumTeamRole: /* @__PURE__ */ z.string()
|
|
17617
|
-
})),
|
|
18049
|
+
})).register(z.globalRegistry, {
|
|
18050
|
+
description: "Organization roles available in the organization"
|
|
18051
|
+
}),
|
|
17618
18052
|
teamRoleList: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17619
18053
|
id: /* @__PURE__ */ z.string(),
|
|
17620
18054
|
name: /* @__PURE__ */ z.string(),
|
|
@@ -17625,47 +18059,125 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17625
18059
|
isRetired: /* @__PURE__ */ z.boolean(),
|
|
17626
18060
|
isTeamRolesAllowed: /* @__PURE__ */ z.boolean(),
|
|
17627
18061
|
isMinimumRoleFor: /* @__PURE__ */ z.string().nullable()
|
|
17628
|
-
})),
|
|
17629
|
-
|
|
17630
|
-
|
|
17631
|
-
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
|
|
17635
|
-
|
|
17636
|
-
|
|
17637
|
-
|
|
17638
|
-
|
|
17639
|
-
|
|
17640
|
-
|
|
17641
|
-
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
|
|
17645
|
-
|
|
18062
|
+
})).register(z.globalRegistry, {
|
|
18063
|
+
description: "Team roles available in the organization"
|
|
18064
|
+
}),
|
|
18065
|
+
openMembership: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18066
|
+
description: "Whether members can freely join any team"
|
|
18067
|
+
}),
|
|
18068
|
+
allowSharedIssues: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18069
|
+
description: "Whether limited details of issues can be shared with anonymous users"
|
|
18070
|
+
}),
|
|
18071
|
+
enhancedPrivacy: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18072
|
+
description: "Whether enhanced privacy controls limit personally identifiable information (PII) and source code in things like notifications"
|
|
18073
|
+
}),
|
|
18074
|
+
dataScrubber: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18075
|
+
description: "Whether server-side data scrubbing is required for all projects"
|
|
18076
|
+
}),
|
|
18077
|
+
dataScrubberDefaults: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18078
|
+
description: "Whether the default scrubbers apply to all projects, to keep things like passwords and credit cards from being stored"
|
|
18079
|
+
}),
|
|
18080
|
+
sensitiveFields: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
18081
|
+
description: "Additional field names that data scrubbing matches in all projects"
|
|
18082
|
+
}),
|
|
18083
|
+
safeFields: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
18084
|
+
description: "Field names that data scrubbers ignore in all projects"
|
|
18085
|
+
}),
|
|
18086
|
+
storeCrashReports: /* @__PURE__ */ z.int().register(z.globalRegistry, {
|
|
18087
|
+
description: "How many native crash reports to store per issue; 0 is disabled and -1 is unlimited"
|
|
18088
|
+
}),
|
|
18089
|
+
attachmentsRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18090
|
+
description: "Role required to download event attachments, such as native crash reports or log files"
|
|
18091
|
+
}),
|
|
18092
|
+
debugFilesRole: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18093
|
+
description: "Role required to download debug information files, ProGuard mappings and source maps"
|
|
18094
|
+
}),
|
|
18095
|
+
eventsMemberAdmin: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18096
|
+
description: "Whether members can delete events, through the event:admin scope"
|
|
18097
|
+
}),
|
|
18098
|
+
alertsMemberWrite: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18099
|
+
description: "Whether members can create, edit and delete alert rules, through the alerts:write scope"
|
|
18100
|
+
}),
|
|
18101
|
+
scrubIPAddresses: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18102
|
+
description: "Whether IP addresses are kept from being stored for new events in all projects"
|
|
18103
|
+
}),
|
|
18104
|
+
scrapeJavaScript: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18105
|
+
description: "Whether Sentry scrapes missing JavaScript source context when possible"
|
|
18106
|
+
}),
|
|
18107
|
+
allowJoinRequests: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18108
|
+
description: "Whether users can request to join the organization"
|
|
18109
|
+
}),
|
|
18110
|
+
relayPiiConfig: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18111
|
+
description: "Advanced data scrubbing rules of the organization as a JSON string, or null"
|
|
18112
|
+
}).nullable(),
|
|
18113
|
+
relayDsnEndpoint: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18114
|
+
description: "Relay base URL used when displaying Client Key DSNs, or null"
|
|
18115
|
+
}).nullable(),
|
|
17646
18116
|
trustedRelays: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17647
|
-
name: /* @__PURE__ */ z.string().
|
|
17648
|
-
|
|
17649
|
-
|
|
17650
|
-
|
|
17651
|
-
|
|
17652
|
-
|
|
17653
|
-
|
|
17654
|
-
|
|
18117
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18118
|
+
description: "Name of the Relay"
|
|
18119
|
+
}).optional(),
|
|
18120
|
+
description: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18121
|
+
description: "Description of the Relay"
|
|
18122
|
+
}).optional(),
|
|
18123
|
+
publicKey: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18124
|
+
description: "Public key of the Relay"
|
|
18125
|
+
}).optional(),
|
|
18126
|
+
created: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
18127
|
+
description: "When the Relay was added"
|
|
18128
|
+
}).optional(),
|
|
18129
|
+
lastModified: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
18130
|
+
description: "When the Relay was added or its name or description last changed"
|
|
18131
|
+
}).optional()
|
|
18132
|
+
})).register(z.globalRegistry, {
|
|
18133
|
+
description: "Local Relays registered for the organization"
|
|
18134
|
+
}),
|
|
18135
|
+
pendingAccessRequests: /* @__PURE__ */ z.int().register(z.globalRegistry, {
|
|
18136
|
+
description: "Number of pending requests to join teams in the organization"
|
|
18137
|
+
}),
|
|
18138
|
+
hideAiFeatures: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18139
|
+
description: "Whether AI features are hidden for the organization"
|
|
18140
|
+
}),
|
|
17655
18141
|
aggregatedDataConsent: /* @__PURE__ */ z.boolean(),
|
|
17656
|
-
isDynamicallySampled: /* @__PURE__ */ z.boolean(),
|
|
17657
|
-
|
|
17658
|
-
|
|
17659
|
-
|
|
17660
|
-
|
|
17661
|
-
|
|
17662
|
-
|
|
17663
|
-
|
|
17664
|
-
|
|
17665
|
-
|
|
17666
|
-
|
|
17667
|
-
|
|
17668
|
-
|
|
18142
|
+
isDynamicallySampled: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18143
|
+
description: "Whether dynamic sampling keeps less than all events, for the organization or any of its projects"
|
|
18144
|
+
}),
|
|
18145
|
+
issueAlertsThreadFlag: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18146
|
+
description: "Whether the Slack integration posts replies in threads for issue alert notifications"
|
|
18147
|
+
}),
|
|
18148
|
+
metricAlertsThreadFlag: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18149
|
+
description: "Whether the Slack integration posts replies in threads for metric alert notifications"
|
|
18150
|
+
}),
|
|
18151
|
+
requiresSso: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18152
|
+
description: "Whether the requesting user must sign in with SSO to access the organization"
|
|
18153
|
+
}),
|
|
18154
|
+
defaultAutofixAutomationTuning: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18155
|
+
description: "Default Autofix automation tuning for new projects"
|
|
18156
|
+
}),
|
|
18157
|
+
defaultSeerScannerAutomation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18158
|
+
description: "Default issue scanner automation for new projects; on seat-based Seer plans, new projects always have it on"
|
|
18159
|
+
}),
|
|
18160
|
+
enableSeerCoding: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18161
|
+
description: "Whether Seer coding is enabled for the organization"
|
|
18162
|
+
}),
|
|
18163
|
+
defaultCodingAgent: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18164
|
+
description: "Coding agent that automated Autofix runs on new projects hand off to, or seer; applies to seat-based Seer plans"
|
|
18165
|
+
}),
|
|
18166
|
+
defaultCodingAgentIntegrationId: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18167
|
+
description: "Integration ID of the default coding agent, or null"
|
|
18168
|
+
}).nullable(),
|
|
18169
|
+
defaultAutomatedRunStoppingPoint: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18170
|
+
description: "Step where automated Autofix runs on new projects stop by default"
|
|
18171
|
+
}),
|
|
18172
|
+
autoEnableCodeReview: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18173
|
+
description: "Whether code review is turned on for GitHub repositories when they're added"
|
|
18174
|
+
}),
|
|
18175
|
+
autoOpenPrs: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18176
|
+
description: "Whether automated Autofix runs on new projects open pull requests by default"
|
|
18177
|
+
}),
|
|
18178
|
+
defaultCodeReviewTriggers: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
18179
|
+
description: "Code review triggers that GitHub repositories get when they're added"
|
|
18180
|
+
}),
|
|
17669
18181
|
teams: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17670
18182
|
id: /* @__PURE__ */ z.string(),
|
|
17671
18183
|
slug: /* @__PURE__ */ z.string(),
|
|
@@ -17704,24 +18216,50 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17704
18216
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
17705
18217
|
description: "Features enabled for the organization"
|
|
17706
18218
|
}).optional(),
|
|
17707
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
17708
|
-
|
|
18219
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
18220
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
18221
|
+
}).optional(),
|
|
18222
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
18223
|
+
description: "Scopes the requesting user has in the organization"
|
|
18224
|
+
}).optional(),
|
|
17709
18225
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17710
|
-
task: /* @__PURE__ */ z.string().
|
|
17711
|
-
|
|
17712
|
-
|
|
17713
|
-
|
|
17714
|
-
|
|
17715
|
-
|
|
17716
|
-
|
|
17717
|
-
|
|
18226
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18227
|
+
description: "Onboarding task key, such as create_project"
|
|
18228
|
+
}).nullable(),
|
|
18229
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18230
|
+
description: "Task status: complete or skipped"
|
|
18231
|
+
}),
|
|
18232
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
18233
|
+
description: "When the task's completion was marked as seen, or null"
|
|
18234
|
+
}).nullable(),
|
|
18235
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
18236
|
+
description: "When the task was completed or skipped"
|
|
18237
|
+
}),
|
|
18238
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
18239
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
18240
|
+
})
|
|
18241
|
+
})).register(z.globalRegistry, {
|
|
18242
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
18243
|
+
}).optional(),
|
|
18244
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18245
|
+
description: "Organization ID"
|
|
18246
|
+
}),
|
|
18247
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18248
|
+
description: "Organization slug"
|
|
18249
|
+
}),
|
|
17718
18250
|
status: /* @__PURE__ */ z.object({
|
|
17719
|
-
id: /* @__PURE__ */ z.string(),
|
|
17720
|
-
|
|
18251
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18252
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
18253
|
+
}),
|
|
18254
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18255
|
+
description: "Status label, such as active or pending deletion"
|
|
18256
|
+
})
|
|
17721
18257
|
}).register(z.globalRegistry, {
|
|
17722
18258
|
description: "Organization status"
|
|
17723
18259
|
}),
|
|
17724
|
-
name: /* @__PURE__ */ z.string(),
|
|
18260
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18261
|
+
description: "Organization name, or its slug when it has no name"
|
|
18262
|
+
}),
|
|
17725
18263
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
17726
18264
|
description: "When the organization was created (ISO 8601)"
|
|
17727
18265
|
}),
|
|
@@ -17739,8 +18277,12 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17739
18277
|
description: "Organization avatar"
|
|
17740
18278
|
}),
|
|
17741
18279
|
links: /* @__PURE__ */ z.object({
|
|
17742
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
17743
|
-
|
|
18280
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18281
|
+
description: "Base URL of the organization"
|
|
18282
|
+
}),
|
|
18283
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
18284
|
+
description: "Base URL of the API for the organization's region"
|
|
18285
|
+
})
|
|
17744
18286
|
}).register(z.globalRegistry, {
|
|
17745
18287
|
description: "Organization and region URLs"
|
|
17746
18288
|
}),
|
|
@@ -17753,7 +18295,9 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17753
18295
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
17754
18296
|
description: "Whether members can create projects"
|
|
17755
18297
|
}),
|
|
17756
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
18298
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
18299
|
+
description: "Whether Sentry superusers can access the organization"
|
|
18300
|
+
})
|
|
17757
18301
|
}).optional(),
|
|
17758
18302
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17759
18303
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -17822,7 +18366,9 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17822
18366
|
color: /* @__PURE__ */ z.string(),
|
|
17823
18367
|
status: /* @__PURE__ */ z.string()
|
|
17824
18368
|
})).optional()
|
|
17825
|
-
})),
|
|
18369
|
+
})).register(z.globalRegistry, {
|
|
18370
|
+
description: "Active teams of the organization"
|
|
18371
|
+
}),
|
|
17826
18372
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
17827
18373
|
latestDeploys: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.string())).nullish(),
|
|
17828
18374
|
options: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown()).optional(),
|
|
@@ -17908,7 +18454,9 @@ var zUpdateOrganizationResponse = /* @__PURE__ */ z.object({
|
|
|
17908
18454
|
}).register(z.globalRegistry, {
|
|
17909
18455
|
description: "Latest release of the project"
|
|
17910
18456
|
}).nullable()
|
|
17911
|
-
}))
|
|
18457
|
+
})).register(z.globalRegistry, {
|
|
18458
|
+
description: "Active projects of the organization"
|
|
18459
|
+
})
|
|
17912
18460
|
});
|
|
17913
18461
|
var zListOrganizationAiConversationsPath = /* @__PURE__ */ z.object({
|
|
17914
18462
|
organization_id_or_slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
@@ -29249,24 +29797,50 @@ var zListOrganizationTeamsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.o
|
|
|
29249
29797
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
29250
29798
|
description: "Features enabled for the organization"
|
|
29251
29799
|
}).optional(),
|
|
29252
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
29253
|
-
|
|
29800
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
29801
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
29802
|
+
}).optional(),
|
|
29803
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
29804
|
+
description: "Scopes the requesting user has in the organization"
|
|
29805
|
+
}).optional(),
|
|
29254
29806
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
29255
|
-
task: /* @__PURE__ */ z.string().
|
|
29256
|
-
|
|
29257
|
-
|
|
29258
|
-
|
|
29259
|
-
|
|
29260
|
-
|
|
29261
|
-
|
|
29262
|
-
|
|
29807
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29808
|
+
description: "Onboarding task key, such as create_project"
|
|
29809
|
+
}).nullable(),
|
|
29810
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29811
|
+
description: "Task status: complete or skipped"
|
|
29812
|
+
}),
|
|
29813
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
29814
|
+
description: "When the task's completion was marked as seen, or null"
|
|
29815
|
+
}).nullable(),
|
|
29816
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
29817
|
+
description: "When the task was completed or skipped"
|
|
29818
|
+
}),
|
|
29819
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
29820
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
29821
|
+
})
|
|
29822
|
+
})).register(z.globalRegistry, {
|
|
29823
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
29824
|
+
}).optional(),
|
|
29825
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29826
|
+
description: "Organization ID"
|
|
29827
|
+
}),
|
|
29828
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29829
|
+
description: "Organization slug"
|
|
29830
|
+
}),
|
|
29263
29831
|
status: /* @__PURE__ */ z.object({
|
|
29264
|
-
id: /* @__PURE__ */ z.string(),
|
|
29265
|
-
|
|
29832
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29833
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
29834
|
+
}),
|
|
29835
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29836
|
+
description: "Status label, such as active or pending deletion"
|
|
29837
|
+
})
|
|
29266
29838
|
}).register(z.globalRegistry, {
|
|
29267
29839
|
description: "Organization status"
|
|
29268
29840
|
}),
|
|
29269
|
-
name: /* @__PURE__ */ z.string(),
|
|
29841
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29842
|
+
description: "Organization name, or its slug when it has no name"
|
|
29843
|
+
}),
|
|
29270
29844
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
29271
29845
|
description: "When the organization was created (ISO 8601)"
|
|
29272
29846
|
}),
|
|
@@ -29284,8 +29858,12 @@ var zListOrganizationTeamsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.o
|
|
|
29284
29858
|
description: "Organization avatar"
|
|
29285
29859
|
}),
|
|
29286
29860
|
links: /* @__PURE__ */ z.object({
|
|
29287
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
29288
|
-
|
|
29861
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29862
|
+
description: "Base URL of the organization"
|
|
29863
|
+
}),
|
|
29864
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
29865
|
+
description: "Base URL of the API for the organization's region"
|
|
29866
|
+
})
|
|
29289
29867
|
}).register(z.globalRegistry, {
|
|
29290
29868
|
description: "Organization and region URLs"
|
|
29291
29869
|
}),
|
|
@@ -29298,7 +29876,9 @@ var zListOrganizationTeamsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */ z.o
|
|
|
29298
29876
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
29299
29877
|
description: "Whether members can create projects"
|
|
29300
29878
|
}),
|
|
29301
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
29879
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
29880
|
+
description: "Whether Sentry superusers can access the organization"
|
|
29881
|
+
})
|
|
29302
29882
|
}).optional(),
|
|
29303
29883
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
29304
29884
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -29419,24 +29999,50 @@ var zCreateOrganizationTeamResponse = /* @__PURE__ */ z.object({
|
|
|
29419
29999
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
29420
30000
|
description: "Features enabled for the organization"
|
|
29421
30001
|
}).optional(),
|
|
29422
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
29423
|
-
|
|
30002
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
30003
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
30004
|
+
}).optional(),
|
|
30005
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
30006
|
+
description: "Scopes the requesting user has in the organization"
|
|
30007
|
+
}).optional(),
|
|
29424
30008
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
29425
|
-
task: /* @__PURE__ */ z.string().
|
|
29426
|
-
|
|
29427
|
-
|
|
29428
|
-
|
|
29429
|
-
|
|
29430
|
-
|
|
29431
|
-
|
|
29432
|
-
|
|
30009
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30010
|
+
description: "Onboarding task key, such as create_project"
|
|
30011
|
+
}).nullable(),
|
|
30012
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30013
|
+
description: "Task status: complete or skipped"
|
|
30014
|
+
}),
|
|
30015
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
30016
|
+
description: "When the task's completion was marked as seen, or null"
|
|
30017
|
+
}).nullable(),
|
|
30018
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
30019
|
+
description: "When the task was completed or skipped"
|
|
30020
|
+
}),
|
|
30021
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
30022
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
30023
|
+
})
|
|
30024
|
+
})).register(z.globalRegistry, {
|
|
30025
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
30026
|
+
}).optional(),
|
|
30027
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30028
|
+
description: "Organization ID"
|
|
30029
|
+
}),
|
|
30030
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30031
|
+
description: "Organization slug"
|
|
30032
|
+
}),
|
|
29433
30033
|
status: /* @__PURE__ */ z.object({
|
|
29434
|
-
id: /* @__PURE__ */ z.string(),
|
|
29435
|
-
|
|
30034
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30035
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
30036
|
+
}),
|
|
30037
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30038
|
+
description: "Status label, such as active or pending deletion"
|
|
30039
|
+
})
|
|
29436
30040
|
}).register(z.globalRegistry, {
|
|
29437
30041
|
description: "Organization status"
|
|
29438
30042
|
}),
|
|
29439
|
-
name: /* @__PURE__ */ z.string(),
|
|
30043
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30044
|
+
description: "Organization name, or its slug when it has no name"
|
|
30045
|
+
}),
|
|
29440
30046
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
29441
30047
|
description: "When the organization was created (ISO 8601)"
|
|
29442
30048
|
}),
|
|
@@ -29454,8 +30060,12 @@ var zCreateOrganizationTeamResponse = /* @__PURE__ */ z.object({
|
|
|
29454
30060
|
description: "Organization avatar"
|
|
29455
30061
|
}),
|
|
29456
30062
|
links: /* @__PURE__ */ z.object({
|
|
29457
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
29458
|
-
|
|
30063
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30064
|
+
description: "Base URL of the organization"
|
|
30065
|
+
}),
|
|
30066
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30067
|
+
description: "Base URL of the API for the organization's region"
|
|
30068
|
+
})
|
|
29459
30069
|
}).register(z.globalRegistry, {
|
|
29460
30070
|
description: "Organization and region URLs"
|
|
29461
30071
|
}),
|
|
@@ -29468,7 +30078,9 @@ var zCreateOrganizationTeamResponse = /* @__PURE__ */ z.object({
|
|
|
29468
30078
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
29469
30079
|
description: "Whether members can create projects"
|
|
29470
30080
|
}),
|
|
29471
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
30081
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
30082
|
+
description: "Whether Sentry superusers can access the organization"
|
|
30083
|
+
})
|
|
29472
30084
|
}).optional(),
|
|
29473
30085
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
29474
30086
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -29981,24 +30593,50 @@ var zListOrganizationUserTeamsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */
|
|
|
29981
30593
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
29982
30594
|
description: "Features enabled for the organization"
|
|
29983
30595
|
}).optional(),
|
|
29984
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
29985
|
-
|
|
30596
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
30597
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
30598
|
+
}).optional(),
|
|
30599
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
30600
|
+
description: "Scopes the requesting user has in the organization"
|
|
30601
|
+
}).optional(),
|
|
29986
30602
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
29987
|
-
task: /* @__PURE__ */ z.string().
|
|
29988
|
-
|
|
29989
|
-
|
|
29990
|
-
|
|
29991
|
-
|
|
29992
|
-
|
|
29993
|
-
|
|
29994
|
-
|
|
30603
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30604
|
+
description: "Onboarding task key, such as create_project"
|
|
30605
|
+
}).nullable(),
|
|
30606
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30607
|
+
description: "Task status: complete or skipped"
|
|
30608
|
+
}),
|
|
30609
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
30610
|
+
description: "When the task's completion was marked as seen, or null"
|
|
30611
|
+
}).nullable(),
|
|
30612
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
30613
|
+
description: "When the task was completed or skipped"
|
|
30614
|
+
}),
|
|
30615
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
30616
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
30617
|
+
})
|
|
30618
|
+
})).register(z.globalRegistry, {
|
|
30619
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
30620
|
+
}).optional(),
|
|
30621
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30622
|
+
description: "Organization ID"
|
|
30623
|
+
}),
|
|
30624
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30625
|
+
description: "Organization slug"
|
|
30626
|
+
}),
|
|
29995
30627
|
status: /* @__PURE__ */ z.object({
|
|
29996
|
-
id: /* @__PURE__ */ z.string(),
|
|
29997
|
-
|
|
30628
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30629
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
30630
|
+
}),
|
|
30631
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30632
|
+
description: "Status label, such as active or pending deletion"
|
|
30633
|
+
})
|
|
29998
30634
|
}).register(z.globalRegistry, {
|
|
29999
30635
|
description: "Organization status"
|
|
30000
30636
|
}),
|
|
30001
|
-
name: /* @__PURE__ */ z.string(),
|
|
30637
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30638
|
+
description: "Organization name, or its slug when it has no name"
|
|
30639
|
+
}),
|
|
30002
30640
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
30003
30641
|
description: "When the organization was created (ISO 8601)"
|
|
30004
30642
|
}),
|
|
@@ -30016,8 +30654,12 @@ var zListOrganizationUserTeamsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */
|
|
|
30016
30654
|
description: "Organization avatar"
|
|
30017
30655
|
}),
|
|
30018
30656
|
links: /* @__PURE__ */ z.object({
|
|
30019
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
30020
|
-
|
|
30657
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30658
|
+
description: "Base URL of the organization"
|
|
30659
|
+
}),
|
|
30660
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
30661
|
+
description: "Base URL of the API for the organization's region"
|
|
30662
|
+
})
|
|
30021
30663
|
}).register(z.globalRegistry, {
|
|
30022
30664
|
description: "Organization and region URLs"
|
|
30023
30665
|
}),
|
|
@@ -30030,7 +30672,9 @@ var zListOrganizationUserTeamsResponse = /* @__PURE__ */ z.array(/* @__PURE__ */
|
|
|
30030
30672
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
30031
30673
|
description: "Whether members can create projects"
|
|
30032
30674
|
}),
|
|
30033
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
30675
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
30676
|
+
description: "Whether Sentry superusers can access the organization"
|
|
30677
|
+
})
|
|
30034
30678
|
}).optional(),
|
|
30035
30679
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
30036
30680
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -31823,11 +32467,11 @@ var zCreateOrganizationWorkflowBody = /* @__PURE__ */ z.object({
|
|
|
31823
32467
|
type: /* @__PURE__ */ z.enum(["opsgenie"]),
|
|
31824
32468
|
data: /* @__PURE__ */ z.object({
|
|
31825
32469
|
priority: /* @__PURE__ */ z.enum([
|
|
31826
|
-
"P2",
|
|
31827
32470
|
"P1",
|
|
31828
|
-
"
|
|
32471
|
+
"P2",
|
|
32472
|
+
"P3",
|
|
31829
32473
|
"P4",
|
|
31830
|
-
"
|
|
32474
|
+
"P5"
|
|
31831
32475
|
]).register(z.globalRegistry, {
|
|
31832
32476
|
description: "The priority of the opsgenie action"
|
|
31833
32477
|
}).optional()
|
|
@@ -33848,11 +34492,11 @@ var zUpdateOrganizationWorkflowBody = /* @__PURE__ */ z.object({
|
|
|
33848
34492
|
type: /* @__PURE__ */ z.enum(["opsgenie"]),
|
|
33849
34493
|
data: /* @__PURE__ */ z.object({
|
|
33850
34494
|
priority: /* @__PURE__ */ z.enum([
|
|
33851
|
-
"P2",
|
|
33852
34495
|
"P1",
|
|
33853
|
-
"
|
|
34496
|
+
"P2",
|
|
34497
|
+
"P3",
|
|
33854
34498
|
"P4",
|
|
33855
|
-
"
|
|
34499
|
+
"P5"
|
|
33856
34500
|
]).register(z.globalRegistry, {
|
|
33857
34501
|
description: "The priority of the opsgenie action"
|
|
33858
34502
|
}).optional()
|
|
@@ -34223,24 +34867,50 @@ var zGetProjectResponse = /* @__PURE__ */ z.object({
|
|
|
34223
34867
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
34224
34868
|
description: "Features enabled for the organization"
|
|
34225
34869
|
}).optional(),
|
|
34226
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
34227
|
-
|
|
34870
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
34871
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
34872
|
+
}).optional(),
|
|
34873
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
34874
|
+
description: "Scopes the requesting user has in the organization"
|
|
34875
|
+
}).optional(),
|
|
34228
34876
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
34229
|
-
task: /* @__PURE__ */ z.string().
|
|
34230
|
-
|
|
34231
|
-
|
|
34232
|
-
|
|
34233
|
-
|
|
34234
|
-
|
|
34235
|
-
|
|
34236
|
-
|
|
34877
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34878
|
+
description: "Onboarding task key, such as create_project"
|
|
34879
|
+
}).nullable(),
|
|
34880
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34881
|
+
description: "Task status: complete or skipped"
|
|
34882
|
+
}),
|
|
34883
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
34884
|
+
description: "When the task's completion was marked as seen, or null"
|
|
34885
|
+
}).nullable(),
|
|
34886
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
34887
|
+
description: "When the task was completed or skipped"
|
|
34888
|
+
}),
|
|
34889
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
34890
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
34891
|
+
})
|
|
34892
|
+
})).register(z.globalRegistry, {
|
|
34893
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
34894
|
+
}).optional(),
|
|
34895
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34896
|
+
description: "Organization ID"
|
|
34897
|
+
}),
|
|
34898
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34899
|
+
description: "Organization slug"
|
|
34900
|
+
}),
|
|
34237
34901
|
status: /* @__PURE__ */ z.object({
|
|
34238
|
-
id: /* @__PURE__ */ z.string(),
|
|
34239
|
-
|
|
34902
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34903
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
34904
|
+
}),
|
|
34905
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34906
|
+
description: "Status label, such as active or pending deletion"
|
|
34907
|
+
})
|
|
34240
34908
|
}).register(z.globalRegistry, {
|
|
34241
34909
|
description: "Organization status"
|
|
34242
34910
|
}),
|
|
34243
|
-
name: /* @__PURE__ */ z.string(),
|
|
34911
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34912
|
+
description: "Organization name, or its slug when it has no name"
|
|
34913
|
+
}),
|
|
34244
34914
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
34245
34915
|
description: "When the organization was created (ISO 8601)"
|
|
34246
34916
|
}),
|
|
@@ -34258,8 +34928,12 @@ var zGetProjectResponse = /* @__PURE__ */ z.object({
|
|
|
34258
34928
|
description: "Organization avatar"
|
|
34259
34929
|
}),
|
|
34260
34930
|
links: /* @__PURE__ */ z.object({
|
|
34261
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
34262
|
-
|
|
34931
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34932
|
+
description: "Base URL of the organization"
|
|
34933
|
+
}),
|
|
34934
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
34935
|
+
description: "Base URL of the API for the organization's region"
|
|
34936
|
+
})
|
|
34263
34937
|
}).register(z.globalRegistry, {
|
|
34264
34938
|
description: "Organization and region URLs"
|
|
34265
34939
|
}),
|
|
@@ -34272,7 +34946,9 @@ var zGetProjectResponse = /* @__PURE__ */ z.object({
|
|
|
34272
34946
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
34273
34947
|
description: "Whether members can create projects"
|
|
34274
34948
|
}),
|
|
34275
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
34949
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
34950
|
+
description: "Whether Sentry superusers can access the organization"
|
|
34951
|
+
})
|
|
34276
34952
|
}),
|
|
34277
34953
|
platforms: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
|
|
34278
34954
|
processingIssues: /* @__PURE__ */ z.int(),
|
|
@@ -34622,24 +35298,50 @@ var zUpdateProjectResponse = /* @__PURE__ */ z.object({
|
|
|
34622
35298
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
34623
35299
|
description: "Features enabled for the organization"
|
|
34624
35300
|
}).optional(),
|
|
34625
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
34626
|
-
|
|
35301
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
35302
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
35303
|
+
}).optional(),
|
|
35304
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
35305
|
+
description: "Scopes the requesting user has in the organization"
|
|
35306
|
+
}).optional(),
|
|
34627
35307
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
34628
|
-
task: /* @__PURE__ */ z.string().
|
|
34629
|
-
|
|
34630
|
-
|
|
34631
|
-
|
|
34632
|
-
|
|
34633
|
-
|
|
34634
|
-
|
|
34635
|
-
|
|
35308
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35309
|
+
description: "Onboarding task key, such as create_project"
|
|
35310
|
+
}).nullable(),
|
|
35311
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35312
|
+
description: "Task status: complete or skipped"
|
|
35313
|
+
}),
|
|
35314
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
35315
|
+
description: "When the task's completion was marked as seen, or null"
|
|
35316
|
+
}).nullable(),
|
|
35317
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
35318
|
+
description: "When the task was completed or skipped"
|
|
35319
|
+
}),
|
|
35320
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
35321
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
35322
|
+
})
|
|
35323
|
+
})).register(z.globalRegistry, {
|
|
35324
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
35325
|
+
}).optional(),
|
|
35326
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35327
|
+
description: "Organization ID"
|
|
35328
|
+
}),
|
|
35329
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35330
|
+
description: "Organization slug"
|
|
35331
|
+
}),
|
|
34636
35332
|
status: /* @__PURE__ */ z.object({
|
|
34637
|
-
id: /* @__PURE__ */ z.string(),
|
|
34638
|
-
|
|
35333
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35334
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
35335
|
+
}),
|
|
35336
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35337
|
+
description: "Status label, such as active or pending deletion"
|
|
35338
|
+
})
|
|
34639
35339
|
}).register(z.globalRegistry, {
|
|
34640
35340
|
description: "Organization status"
|
|
34641
35341
|
}),
|
|
34642
|
-
name: /* @__PURE__ */ z.string(),
|
|
35342
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35343
|
+
description: "Organization name, or its slug when it has no name"
|
|
35344
|
+
}),
|
|
34643
35345
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
34644
35346
|
description: "When the organization was created (ISO 8601)"
|
|
34645
35347
|
}),
|
|
@@ -34657,8 +35359,12 @@ var zUpdateProjectResponse = /* @__PURE__ */ z.object({
|
|
|
34657
35359
|
description: "Organization avatar"
|
|
34658
35360
|
}),
|
|
34659
35361
|
links: /* @__PURE__ */ z.object({
|
|
34660
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
34661
|
-
|
|
35362
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35363
|
+
description: "Base URL of the organization"
|
|
35364
|
+
}),
|
|
35365
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
35366
|
+
description: "Base URL of the API for the organization's region"
|
|
35367
|
+
})
|
|
34662
35368
|
}).register(z.globalRegistry, {
|
|
34663
35369
|
description: "Organization and region URLs"
|
|
34664
35370
|
}),
|
|
@@ -34671,7 +35377,9 @@ var zUpdateProjectResponse = /* @__PURE__ */ z.object({
|
|
|
34671
35377
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
34672
35378
|
description: "Whether members can create projects"
|
|
34673
35379
|
}),
|
|
34674
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
35380
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
35381
|
+
description: "Whether Sentry superusers can access the organization"
|
|
35382
|
+
})
|
|
34675
35383
|
}),
|
|
34676
35384
|
platforms: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()),
|
|
34677
35385
|
processingIssues: /* @__PURE__ */ z.int(),
|
|
@@ -40379,24 +41087,50 @@ var zGetTeamResponse = /* @__PURE__ */ z.object({
|
|
|
40379
41087
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
40380
41088
|
description: "Features enabled for the organization"
|
|
40381
41089
|
}).optional(),
|
|
40382
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
40383
|
-
|
|
41090
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
41091
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
41092
|
+
}).optional(),
|
|
41093
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
41094
|
+
description: "Scopes the requesting user has in the organization"
|
|
41095
|
+
}).optional(),
|
|
40384
41096
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
40385
|
-
task: /* @__PURE__ */ z.string().
|
|
40386
|
-
|
|
40387
|
-
|
|
40388
|
-
|
|
40389
|
-
|
|
40390
|
-
|
|
40391
|
-
|
|
40392
|
-
|
|
41097
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41098
|
+
description: "Onboarding task key, such as create_project"
|
|
41099
|
+
}).nullable(),
|
|
41100
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41101
|
+
description: "Task status: complete or skipped"
|
|
41102
|
+
}),
|
|
41103
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
41104
|
+
description: "When the task's completion was marked as seen, or null"
|
|
41105
|
+
}).nullable(),
|
|
41106
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
41107
|
+
description: "When the task was completed or skipped"
|
|
41108
|
+
}),
|
|
41109
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
41110
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
41111
|
+
})
|
|
41112
|
+
})).register(z.globalRegistry, {
|
|
41113
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
41114
|
+
}).optional(),
|
|
41115
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41116
|
+
description: "Organization ID"
|
|
41117
|
+
}),
|
|
41118
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41119
|
+
description: "Organization slug"
|
|
41120
|
+
}),
|
|
40393
41121
|
status: /* @__PURE__ */ z.object({
|
|
40394
|
-
id: /* @__PURE__ */ z.string(),
|
|
40395
|
-
|
|
41122
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41123
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
41124
|
+
}),
|
|
41125
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41126
|
+
description: "Status label, such as active or pending deletion"
|
|
41127
|
+
})
|
|
40396
41128
|
}).register(z.globalRegistry, {
|
|
40397
41129
|
description: "Organization status"
|
|
40398
41130
|
}),
|
|
40399
|
-
name: /* @__PURE__ */ z.string(),
|
|
41131
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41132
|
+
description: "Organization name, or its slug when it has no name"
|
|
41133
|
+
}),
|
|
40400
41134
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
40401
41135
|
description: "When the organization was created (ISO 8601)"
|
|
40402
41136
|
}),
|
|
@@ -40414,8 +41148,12 @@ var zGetTeamResponse = /* @__PURE__ */ z.object({
|
|
|
40414
41148
|
description: "Organization avatar"
|
|
40415
41149
|
}),
|
|
40416
41150
|
links: /* @__PURE__ */ z.object({
|
|
40417
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
40418
|
-
|
|
41151
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41152
|
+
description: "Base URL of the organization"
|
|
41153
|
+
}),
|
|
41154
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41155
|
+
description: "Base URL of the API for the organization's region"
|
|
41156
|
+
})
|
|
40419
41157
|
}).register(z.globalRegistry, {
|
|
40420
41158
|
description: "Organization and region URLs"
|
|
40421
41159
|
}),
|
|
@@ -40428,7 +41166,9 @@ var zGetTeamResponse = /* @__PURE__ */ z.object({
|
|
|
40428
41166
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
40429
41167
|
description: "Whether members can create projects"
|
|
40430
41168
|
}),
|
|
40431
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
41169
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
41170
|
+
description: "Whether Sentry superusers can access the organization"
|
|
41171
|
+
})
|
|
40432
41172
|
}).optional(),
|
|
40433
41173
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
40434
41174
|
stats: /* @__PURE__ */ z.union([
|
|
@@ -40554,24 +41294,50 @@ var zUpdateTeamResponse = /* @__PURE__ */ z.object({
|
|
|
40554
41294
|
features: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
40555
41295
|
description: "Features enabled for the organization"
|
|
40556
41296
|
}).optional(),
|
|
40557
|
-
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).
|
|
40558
|
-
|
|
41297
|
+
extraOptions: /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.record(/* @__PURE__ */ z.string(), /* @__PURE__ */ z.unknown())).register(z.globalRegistry, {
|
|
41298
|
+
description: "Server-wide options that the Sentry UI reads"
|
|
41299
|
+
}).optional(),
|
|
41300
|
+
access: /* @__PURE__ */ z.array(/* @__PURE__ */ z.string()).register(z.globalRegistry, {
|
|
41301
|
+
description: "Scopes the requesting user has in the organization"
|
|
41302
|
+
}).optional(),
|
|
40559
41303
|
onboardingTasks: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
40560
|
-
task: /* @__PURE__ */ z.string().
|
|
40561
|
-
|
|
40562
|
-
|
|
40563
|
-
|
|
40564
|
-
|
|
40565
|
-
|
|
40566
|
-
|
|
40567
|
-
|
|
41304
|
+
task: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41305
|
+
description: "Onboarding task key, such as create_project"
|
|
41306
|
+
}).nullable(),
|
|
41307
|
+
status: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41308
|
+
description: "Task status: complete or skipped"
|
|
41309
|
+
}),
|
|
41310
|
+
completionSeen: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
41311
|
+
description: "When the task's completion was marked as seen, or null"
|
|
41312
|
+
}).nullable(),
|
|
41313
|
+
dateCompleted: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
41314
|
+
description: "When the task was completed or skipped"
|
|
41315
|
+
}),
|
|
41316
|
+
data: /* @__PURE__ */ z.unknown().register(z.globalRegistry, {
|
|
41317
|
+
description: "Extra data recorded for the task, which depends on the task"
|
|
41318
|
+
})
|
|
41319
|
+
})).register(z.globalRegistry, {
|
|
41320
|
+
description: "Onboarding tasks the organization has completed or skipped"
|
|
41321
|
+
}).optional(),
|
|
41322
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41323
|
+
description: "Organization ID"
|
|
41324
|
+
}),
|
|
41325
|
+
slug: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41326
|
+
description: "Organization slug"
|
|
41327
|
+
}),
|
|
40568
41328
|
status: /* @__PURE__ */ z.object({
|
|
40569
|
-
id: /* @__PURE__ */ z.string(),
|
|
40570
|
-
|
|
41329
|
+
id: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41330
|
+
description: "Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval"
|
|
41331
|
+
}),
|
|
41332
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41333
|
+
description: "Status label, such as active or pending deletion"
|
|
41334
|
+
})
|
|
40571
41335
|
}).register(z.globalRegistry, {
|
|
40572
41336
|
description: "Organization status"
|
|
40573
41337
|
}),
|
|
40574
|
-
name: /* @__PURE__ */ z.string(),
|
|
41338
|
+
name: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41339
|
+
description: "Organization name, or its slug when it has no name"
|
|
41340
|
+
}),
|
|
40575
41341
|
dateCreated: /* @__PURE__ */ z.iso.datetime().register(z.globalRegistry, {
|
|
40576
41342
|
description: "When the organization was created (ISO 8601)"
|
|
40577
41343
|
}),
|
|
@@ -40589,8 +41355,12 @@ var zUpdateTeamResponse = /* @__PURE__ */ z.object({
|
|
|
40589
41355
|
description: "Organization avatar"
|
|
40590
41356
|
}),
|
|
40591
41357
|
links: /* @__PURE__ */ z.object({
|
|
40592
|
-
organizationUrl: /* @__PURE__ */ z.string(),
|
|
40593
|
-
|
|
41358
|
+
organizationUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41359
|
+
description: "Base URL of the organization"
|
|
41360
|
+
}),
|
|
41361
|
+
regionUrl: /* @__PURE__ */ z.string().register(z.globalRegistry, {
|
|
41362
|
+
description: "Base URL of the API for the organization's region"
|
|
41363
|
+
})
|
|
40594
41364
|
}).register(z.globalRegistry, {
|
|
40595
41365
|
description: "Organization and region URLs"
|
|
40596
41366
|
}),
|
|
@@ -40603,7 +41373,9 @@ var zUpdateTeamResponse = /* @__PURE__ */ z.object({
|
|
|
40603
41373
|
allowMemberProjectCreation: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
40604
41374
|
description: "Whether members can create projects"
|
|
40605
41375
|
}),
|
|
40606
|
-
allowSuperuserAccess: /* @__PURE__ */ z.boolean()
|
|
41376
|
+
allowSuperuserAccess: /* @__PURE__ */ z.boolean().register(z.globalRegistry, {
|
|
41377
|
+
description: "Whether Sentry superusers can access the organization"
|
|
41378
|
+
})
|
|
40607
41379
|
}).optional(),
|
|
40608
41380
|
projects: /* @__PURE__ */ z.array(/* @__PURE__ */ z.object({
|
|
40609
41381
|
stats: /* @__PURE__ */ z.union([
|