@sentry/api 0.214.0 → 0.215.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 +9 -9
- package/dist/zod.gen.d.ts +5 -5
- package/dist/zod.js +4 -1
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -4849,7 +4849,7 @@ export type MonitorList = Array<{
|
|
|
4849
4849
|
*/
|
|
4850
4850
|
export type MonitorValidator = {
|
|
4851
4851
|
/**
|
|
4852
|
-
* The project slug to associate the monitor to.
|
|
4852
|
+
* The project ID or slug to associate the monitor to.
|
|
4853
4853
|
*/
|
|
4854
4854
|
project: string;
|
|
4855
4855
|
/**
|
|
@@ -5553,7 +5553,7 @@ export type NotificationAction = {
|
|
|
5553
5553
|
*/
|
|
5554
5554
|
target_display?: string;
|
|
5555
5555
|
/**
|
|
5556
|
-
* List of
|
|
5556
|
+
* List of project IDs or slugs that the Notification Action is created for.
|
|
5557
5557
|
*/
|
|
5558
5558
|
projects?: Array<string>;
|
|
5559
5559
|
};
|
|
@@ -15171,7 +15171,7 @@ export type CreateOrganizationMonitorData = {
|
|
|
15171
15171
|
*/
|
|
15172
15172
|
body: {
|
|
15173
15173
|
/**
|
|
15174
|
-
* The project slug to associate the monitor to.
|
|
15174
|
+
* The project ID or slug to associate the monitor to.
|
|
15175
15175
|
*/
|
|
15176
15176
|
project: string;
|
|
15177
15177
|
/**
|
|
@@ -16138,7 +16138,7 @@ export type UpdateOrganizationMonitorData = {
|
|
|
16138
16138
|
*/
|
|
16139
16139
|
body: {
|
|
16140
16140
|
/**
|
|
16141
|
-
* The project slug to associate the monitor to.
|
|
16141
|
+
* The project ID or slug to associate the monitor to.
|
|
16142
16142
|
*/
|
|
16143
16143
|
project: string;
|
|
16144
16144
|
/**
|
|
@@ -17089,7 +17089,7 @@ export type CreateOrganizationNotificationsActionData = {
|
|
|
17089
17089
|
*/
|
|
17090
17090
|
target_display?: string;
|
|
17091
17091
|
/**
|
|
17092
|
-
* List of
|
|
17092
|
+
* List of project IDs or slugs that the Notification Action is created for.
|
|
17093
17093
|
*/
|
|
17094
17094
|
projects?: Array<string>;
|
|
17095
17095
|
};
|
|
@@ -17222,7 +17222,7 @@ export type UpdateOrganizationNotificationsActionData = {
|
|
|
17222
17222
|
*/
|
|
17223
17223
|
target_display?: string;
|
|
17224
17224
|
/**
|
|
17225
|
-
* List of
|
|
17225
|
+
* List of project IDs or slugs that the Notification Action is created for.
|
|
17226
17226
|
*/
|
|
17227
17227
|
projects?: Array<string>;
|
|
17228
17228
|
};
|
|
@@ -17748,9 +17748,9 @@ export type ListOrganizationPreprodartifactsSnapshotsLatestBaseData = {
|
|
|
17748
17748
|
*/
|
|
17749
17749
|
branch?: string;
|
|
17750
17750
|
/**
|
|
17751
|
-
* Project ID to scope the lookup.
|
|
17751
|
+
* Project ID or slug to scope the lookup.
|
|
17752
17752
|
*/
|
|
17753
|
-
project?: number;
|
|
17753
|
+
project?: number | string;
|
|
17754
17754
|
/**
|
|
17755
17755
|
* Set to '1' or 'true' to strip image metadata to display_name, image_file_name, group, description, and image_url only.
|
|
17756
17756
|
*/
|
|
@@ -25984,7 +25984,7 @@ export type UpdateProjectMonitorData = {
|
|
|
25984
25984
|
*/
|
|
25985
25985
|
body: {
|
|
25986
25986
|
/**
|
|
25987
|
-
* The project slug to associate the monitor to.
|
|
25987
|
+
* The project ID or slug to associate the monitor to.
|
|
25988
25988
|
*/
|
|
25989
25989
|
project: string;
|
|
25990
25990
|
/**
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -44031,23 +44031,23 @@ export declare const zListOrganizationPreprodartifactsSnapshotsLatestBaseData: z
|
|
|
44031
44031
|
query: z.ZodObject<{
|
|
44032
44032
|
app_id: z.ZodString;
|
|
44033
44033
|
branch: z.ZodOptional<z.ZodString>;
|
|
44034
|
-
project: z.ZodOptional<z.ZodNumber
|
|
44034
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
44035
44035
|
compact_metadata: z.ZodOptional<z.ZodString>;
|
|
44036
44036
|
}, "strip", z.ZodTypeAny, {
|
|
44037
44037
|
app_id: string;
|
|
44038
|
-
project?: number | undefined;
|
|
44038
|
+
project?: string | number | undefined;
|
|
44039
44039
|
compact_metadata?: string | undefined;
|
|
44040
44040
|
branch?: string | undefined;
|
|
44041
44041
|
}, {
|
|
44042
44042
|
app_id: string;
|
|
44043
|
-
project?: number | undefined;
|
|
44043
|
+
project?: string | number | undefined;
|
|
44044
44044
|
compact_metadata?: string | undefined;
|
|
44045
44045
|
branch?: string | undefined;
|
|
44046
44046
|
}>;
|
|
44047
44047
|
}, "strip", z.ZodTypeAny, {
|
|
44048
44048
|
query: {
|
|
44049
44049
|
app_id: string;
|
|
44050
|
-
project?: number | undefined;
|
|
44050
|
+
project?: string | number | undefined;
|
|
44051
44051
|
compact_metadata?: string | undefined;
|
|
44052
44052
|
branch?: string | undefined;
|
|
44053
44053
|
};
|
|
@@ -44058,7 +44058,7 @@ export declare const zListOrganizationPreprodartifactsSnapshotsLatestBaseData: z
|
|
|
44058
44058
|
}, {
|
|
44059
44059
|
query: {
|
|
44060
44060
|
app_id: string;
|
|
44061
|
-
project?: number | undefined;
|
|
44061
|
+
project?: string | number | undefined;
|
|
44062
44062
|
compact_metadata?: string | undefined;
|
|
44063
44063
|
branch?: string | undefined;
|
|
44064
44064
|
};
|
package/dist/zod.js
CHANGED
|
@@ -17169,7 +17169,10 @@ var zListOrganizationPreprodartifactsSnapshotsLatestBaseData = z.object({
|
|
|
17169
17169
|
query: z.object({
|
|
17170
17170
|
app_id: z.string(),
|
|
17171
17171
|
branch: z.string().optional(),
|
|
17172
|
-
project: z.
|
|
17172
|
+
project: z.union([
|
|
17173
|
+
z.number().int(),
|
|
17174
|
+
z.string()
|
|
17175
|
+
]).optional(),
|
|
17173
17176
|
compact_metadata: z.string().optional()
|
|
17174
17177
|
})
|
|
17175
17178
|
});
|