@sentry/api 0.178.0 → 0.180.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.
@@ -17888,6 +17888,14 @@ export type ListAnOrganizationSProjectsData = {
17888
17888
  * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
17889
17889
  */
17890
17890
  cursor?: string;
17891
+ /**
17892
+ * Limit the number of rows to return in the result. Default and maximum allowed is 100.
17893
+ */
17894
+ per_page?: number;
17895
+ /**
17896
+ * Filter projects by name or slug.
17897
+ */
17898
+ query?: string;
17891
17899
  };
17892
17900
  url: '/api/0/organizations/{organization_id_or_slug}/projects/';
17893
17901
  };
@@ -20940,6 +20948,14 @@ export type ListAnOrganizationSTeamsData = {
20940
20948
  * A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
20941
20949
  */
20942
20950
  cursor?: string;
20951
+ /**
20952
+ * Limit the number of rows to return in the result. Default and maximum allowed is 100.
20953
+ */
20954
+ per_page?: number;
20955
+ /**
20956
+ * Filter teams by name or slug.
20957
+ */
20958
+ query?: string;
20943
20959
  };
20944
20960
  url: '/api/0/organizations/{organization_id_or_slug}/teams/';
20945
20961
  };
package/dist/zod.gen.d.ts CHANGED
@@ -43931,17 +43931,25 @@ export declare const zListAnOrganizationSProjectsData: z.ZodObject<{
43931
43931
  }>;
43932
43932
  query: z.ZodOptional<z.ZodObject<{
43933
43933
  cursor: z.ZodOptional<z.ZodString>;
43934
+ per_page: z.ZodOptional<z.ZodNumber>;
43935
+ query: z.ZodOptional<z.ZodString>;
43934
43936
  }, "strip", z.ZodTypeAny, {
43937
+ query?: string | undefined;
43935
43938
  cursor?: string | undefined;
43939
+ per_page?: number | undefined;
43936
43940
  }, {
43941
+ query?: string | undefined;
43937
43942
  cursor?: string | undefined;
43943
+ per_page?: number | undefined;
43938
43944
  }>>;
43939
43945
  }, "strip", z.ZodTypeAny, {
43940
43946
  path: {
43941
43947
  organization_id_or_slug: string;
43942
43948
  };
43943
43949
  query?: {
43950
+ query?: string | undefined;
43944
43951
  cursor?: string | undefined;
43952
+ per_page?: number | undefined;
43945
43953
  } | undefined;
43946
43954
  body?: undefined;
43947
43955
  }, {
@@ -43949,7 +43957,9 @@ export declare const zListAnOrganizationSProjectsData: z.ZodObject<{
43949
43957
  organization_id_or_slug: string;
43950
43958
  };
43951
43959
  query?: {
43960
+ query?: string | undefined;
43952
43961
  cursor?: string | undefined;
43962
+ per_page?: number | undefined;
43953
43963
  } | undefined;
43954
43964
  body?: undefined;
43955
43965
  }>;
@@ -50789,11 +50799,17 @@ export declare const zListAnOrganizationSTeamsData: z.ZodObject<{
50789
50799
  query: z.ZodOptional<z.ZodObject<{
50790
50800
  detailed: z.ZodOptional<z.ZodString>;
50791
50801
  cursor: z.ZodOptional<z.ZodString>;
50802
+ per_page: z.ZodOptional<z.ZodNumber>;
50803
+ query: z.ZodOptional<z.ZodString>;
50792
50804
  }, "strip", z.ZodTypeAny, {
50805
+ query?: string | undefined;
50793
50806
  cursor?: string | undefined;
50807
+ per_page?: number | undefined;
50794
50808
  detailed?: string | undefined;
50795
50809
  }, {
50810
+ query?: string | undefined;
50796
50811
  cursor?: string | undefined;
50812
+ per_page?: number | undefined;
50797
50813
  detailed?: string | undefined;
50798
50814
  }>>;
50799
50815
  }, "strip", z.ZodTypeAny, {
@@ -50801,7 +50817,9 @@ export declare const zListAnOrganizationSTeamsData: z.ZodObject<{
50801
50817
  organization_id_or_slug: string;
50802
50818
  };
50803
50819
  query?: {
50820
+ query?: string | undefined;
50804
50821
  cursor?: string | undefined;
50822
+ per_page?: number | undefined;
50805
50823
  detailed?: string | undefined;
50806
50824
  } | undefined;
50807
50825
  body?: undefined;
@@ -50810,7 +50828,9 @@ export declare const zListAnOrganizationSTeamsData: z.ZodObject<{
50810
50828
  organization_id_or_slug: string;
50811
50829
  };
50812
50830
  query?: {
50831
+ query?: string | undefined;
50813
50832
  cursor?: string | undefined;
50833
+ per_page?: number | undefined;
50814
50834
  detailed?: string | undefined;
50815
50835
  } | undefined;
50816
50836
  body?: undefined;
package/dist/zod.js CHANGED
@@ -17041,7 +17041,9 @@ var zListAnOrganizationSProjectsData = z.object({
17041
17041
  organization_id_or_slug: z.string()
17042
17042
  }),
17043
17043
  query: z.object({
17044
- cursor: z.string().min(1).optional()
17044
+ cursor: z.string().min(1).optional(),
17045
+ per_page: z.number().int().optional(),
17046
+ query: z.string().optional()
17045
17047
  }).optional()
17046
17048
  });
17047
17049
  var zListAnOrganizationSProjectsResponse = z.array(z.object({
@@ -19409,7 +19411,9 @@ var zListAnOrganizationSTeamsData = z.object({
19409
19411
  }),
19410
19412
  query: z.object({
19411
19413
  detailed: z.string().optional(),
19412
- cursor: z.string().min(1).optional()
19414
+ cursor: z.string().min(1).optional(),
19415
+ per_page: z.number().int().optional(),
19416
+ query: z.string().optional()
19413
19417
  }).optional()
19414
19418
  });
19415
19419
  var zListAnOrganizationSTeamsResponse = z.array(z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.178.0",
3
+ "version": "0.180.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",