@sentry/api 0.357.0 → 0.359.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/sdk.gen.d.ts CHANGED
@@ -1047,6 +1047,16 @@ export declare const updateOrganizationScimV2User: <ThrowOnError extends boolean
1047
1047
  * **Experimental:** This API is under active development and may change.
1048
1048
  *
1049
1049
  * Retrieve prepared UI components for installed custom integrations, including issue-link forms.
1050
+ *
1051
+ * API clients can use `filter=issue-link` to create or link an external issue through
1052
+ * an app such as Linear. The `uri` values in `schema` are paths on the app's own server.
1053
+ * Clients never call them directly; Sentry calls the app on their behalf:
1054
+ *
1055
+ * - To load a select field's choices, pass the field's `uri` to
1056
+ * `GET /sentry-app-installations/{installationUuid}/external-requests/`.
1057
+ * - To create or link the issue, send the form values with the `uri` from
1058
+ * `schema.create` or `schema.link` to
1059
+ * `POST /sentry-app-installations/{installationUuid}/external-issue-actions/`.
1050
1060
  */
1051
1061
  export declare const listOrganizationSentryAppComponents: <ThrowOnError extends boolean = false>(options: Options<ListOrganizationSentryAppComponentsData, ThrowOnError>) => import("./client").RequestResult<ListOrganizationSentryAppComponentsResponses, ListOrganizationSentryAppComponentsErrors, ThrowOnError, "fields">;
1052
1062
  /**
@@ -1796,6 +1806,8 @@ export declare const listSeerModels: <ThrowOnError extends boolean = false>(...[
1796
1806
  *
1797
1807
  * Invoke the installed app's issue-link callback and store the returned association.
1798
1808
  * Submit the app-specific form fields alongside `groupId`, `action`, and `uri`.
1809
+ * The installation UUID, form fields, and `uri` come from the organization's
1810
+ * `issue-link` Sentry App components.
1799
1811
  *
1800
1812
  * For `action=link`, the optional `expectedExternalIssueUrl` query parameter
1801
1813
  * requires an exact canonical `webUrl` match. An existing matching link is
@@ -1043,6 +1043,16 @@ export declare function createSentryClient(config?: Config): {
1043
1043
  * **Experimental:** This API is under active development and may change.
1044
1044
  *
1045
1045
  * Retrieve prepared UI components for installed custom integrations, including issue-link forms.
1046
+ *
1047
+ * API clients can use `filter=issue-link` to create or link an external issue through
1048
+ * an app such as Linear. The `uri` values in `schema` are paths on the app's own server.
1049
+ * Clients never call them directly; Sentry calls the app on their behalf:
1050
+ *
1051
+ * - To load a select field's choices, pass the field's `uri` to
1052
+ * `GET /sentry-app-installations/{installationUuid}/external-requests/`.
1053
+ * - To create or link the issue, send the form values with the `uri` from
1054
+ * `schema.create` or `schema.link` to
1055
+ * `POST /sentry-app-installations/{installationUuid}/external-issue-actions/`.
1046
1056
  */
1047
1057
  readonly listOrganizationSentryAppComponents: <ThrowOnError extends boolean = false>(options: Omit<NonNullable<sdk.Options<types.ListOrganizationSentryAppComponentsData, ThrowOnError>>, "client">) => import("./client").RequestResult<types.ListOrganizationSentryAppComponentsResponses, types.ListOrganizationSentryAppComponentsErrors, ThrowOnError, "fields">;
1048
1058
  /**
@@ -1792,6 +1802,8 @@ export declare function createSentryClient(config?: Config): {
1792
1802
  *
1793
1803
  * Invoke the installed app's issue-link callback and store the returned association.
1794
1804
  * Submit the app-specific form fields alongside `groupId`, `action`, and `uri`.
1805
+ * The installation UUID, form fields, and `uri` come from the organization's
1806
+ * `issue-link` Sentry App components.
1795
1807
  *
1796
1808
  * For `action=link`, the optional `expectedExternalIssueUrl` query parameter
1797
1809
  * requires an exact canonical `webUrl` match. An existing matching link is
@@ -3886,6 +3898,7 @@ export declare function createSentryClient(config?: Config): {
3886
3898
  photoType: string;
3887
3899
  }>;
3888
3900
  };
3901
+ installationUuid: string;
3889
3902
  }[]>>;
3890
3903
  /** Fetch a single page of `listOrganizationSentryAppInstallations` with cursors from the Link header. */
3891
3904
  readonly listOrganizationSentryAppInstallations: (options: Omit<NonNullable<Parameters<typeof pagination.fetchPage_listOrganizationSentryAppInstallations>[0]>, "client">, cursor?: Parameters<typeof pagination.fetchPage_listOrganizationSentryAppInstallations>[1]) => Promise<import("./sentry-pagination").PaginatedResponse<{
@@ -6369,6 +6382,7 @@ export declare function createSentryClient(config?: Config): {
6369
6382
  photoType: string;
6370
6383
  }>;
6371
6384
  };
6385
+ installationUuid: string;
6372
6386
  }>>;
6373
6387
  /** Eagerly fetch all pages of `listOrganizationSentryAppInstallations`. Bounded by `maxPages` (default 50). */
6374
6388
  readonly listOrganizationSentryAppInstallations: (options: Omit<NonNullable<Parameters<typeof pagination.paginateAll_listOrganizationSentryAppInstallations>[0]>, "client">, paginateOptions?: Parameters<typeof pagination.paginateAll_listOrganizationSentryAppInstallations>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
@@ -8787,6 +8801,7 @@ export declare function createSentryClient(config?: Config): {
8787
8801
  photoType: string;
8788
8802
  }>;
8789
8803
  };
8804
+ installationUuid: string;
8790
8805
  }>>;
8791
8806
  /** Paginate `listOrganizationSentryAppInstallations` up to `limit` items; see PaginateUpToOptions. */
8792
8807
  readonly listOrganizationSentryAppInstallations: (options: Omit<NonNullable<Parameters<typeof pagination.paginateUpTo_listOrganizationSentryAppInstallations>[0]>, "client">, paginateOptions: Parameters<typeof pagination.paginateUpTo_listOrganizationSentryAppInstallations>[1]) => Promise<import("./sentry-pagination").PaginatedCollection<{
@@ -10099,6 +10099,7 @@ export type SentryAppComponentsResponse = Array<{
10099
10099
  photoType: string;
10100
10100
  }>;
10101
10101
  };
10102
+ installationUuid: string;
10102
10103
  }>;
10103
10104
  export type SentryAppDetailsResponse = {
10104
10105
  allowedOrigins: Array<string>;
@@ -25403,6 +25404,7 @@ export type ListOrganizationSentryAppComponentsResponses = {
25403
25404
  photoType: string;
25404
25405
  }>;
25405
25406
  };
25407
+ installationUuid: string;
25406
25408
  }>;
25407
25409
  };
25408
25410
  export type ListOrganizationSentryAppComponentsResponse = ListOrganizationSentryAppComponentsResponses[keyof ListOrganizationSentryAppComponentsResponses];
@@ -6164,6 +6164,7 @@ export declare const vSentryAppComponentsResponse: v.ArraySchema<v.ObjectSchema<
6164
6164
  readonly photoType: v.StringSchema<undefined>;
6165
6165
  }, undefined>, undefined>;
6166
6166
  }, undefined>;
6167
+ readonly installationUuid: v.StringSchema<undefined>;
6167
6168
  }, undefined>, undefined>;
6168
6169
  export declare const vSentryAppDetailsResponse: v.ObjectSchema<{
6169
6170
  readonly allowedOrigins: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -13047,6 +13048,7 @@ export declare const vListOrganizationSentryAppComponentsResponse: v.ArraySchema
13047
13048
  readonly photoType: v.StringSchema<undefined>;
13048
13049
  }, undefined>, undefined>;
13049
13050
  }, undefined>;
13051
+ readonly installationUuid: v.StringSchema<undefined>;
13050
13052
  }, undefined>, undefined>;
13051
13053
  export declare const vListOrganizationSentryAppsData: v.ObjectSchema<{
13052
13054
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
package/dist/valibot.js CHANGED
@@ -7746,7 +7746,8 @@ var vSentryAppComponentsResponse = v.array(v.object({
7746
7746
  color: v.boolean(),
7747
7747
  photoType: v.string()
7748
7748
  }))
7749
- })
7749
+ }),
7750
+ installationUuid: v.string()
7750
7751
  }));
7751
7752
  var vSentryAppDetailsResponse = v.object({
7752
7753
  allowedOrigins: v.array(v.string()),
@@ -16431,7 +16432,8 @@ var vListOrganizationSentryAppComponentsResponse = v.array(v.object({
16431
16432
  color: v.boolean(),
16432
16433
  photoType: v.string()
16433
16434
  }))
16434
- })
16435
+ }),
16436
+ installationUuid: v.string()
16435
16437
  }));
16436
16438
  var vListOrganizationSentryAppsData = v.object({
16437
16439
  body: v.optional(v.never()),
package/dist/zod.gen.d.ts CHANGED
@@ -29993,6 +29993,7 @@ export declare const zSentryAppComponentsResponse: z.ZodArray<z.ZodObject<{
29993
29993
  photoType: string;
29994
29994
  }[];
29995
29995
  }>;
29996
+ installationUuid: z.ZodString;
29996
29997
  }, "strip", z.ZodTypeAny, {
29997
29998
  error: string | {
29998
29999
  context?: Record<string, unknown> | undefined;
@@ -30013,6 +30014,7 @@ export declare const zSentryAppComponentsResponse: z.ZodArray<z.ZodObject<{
30013
30014
  photoType: string;
30014
30015
  }[];
30015
30016
  };
30017
+ installationUuid: string;
30016
30018
  }, {
30017
30019
  error: string | {
30018
30020
  context?: Record<string, unknown> | undefined;
@@ -30033,6 +30035,7 @@ export declare const zSentryAppComponentsResponse: z.ZodArray<z.ZodObject<{
30033
30035
  photoType: string;
30034
30036
  }[];
30035
30037
  };
30038
+ installationUuid: string;
30036
30039
  }>, "many">;
30037
30040
  export declare const zSentryAppDetailsResponse: z.ZodObject<{
30038
30041
  allowedOrigins: z.ZodArray<z.ZodString, "many">;
@@ -64172,6 +64175,7 @@ export declare const zListOrganizationSentryAppComponentsResponse: z.ZodArray<z.
64172
64175
  photoType: string;
64173
64176
  }[];
64174
64177
  }>;
64178
+ installationUuid: z.ZodString;
64175
64179
  }, "strip", z.ZodTypeAny, {
64176
64180
  error: string | {
64177
64181
  context?: Record<string, unknown> | undefined;
@@ -64192,6 +64196,7 @@ export declare const zListOrganizationSentryAppComponentsResponse: z.ZodArray<z.
64192
64196
  photoType: string;
64193
64197
  }[];
64194
64198
  };
64199
+ installationUuid: string;
64195
64200
  }, {
64196
64201
  error: string | {
64197
64202
  context?: Record<string, unknown> | undefined;
@@ -64212,6 +64217,7 @@ export declare const zListOrganizationSentryAppComponentsResponse: z.ZodArray<z.
64212
64217
  photoType: string;
64213
64218
  }[];
64214
64219
  };
64220
+ installationUuid: string;
64215
64221
  }>, "many">;
64216
64222
  export declare const zListOrganizationSentryAppsData: z.ZodObject<{
64217
64223
  body: z.ZodOptional<z.ZodNever>;
package/dist/zod.js CHANGED
@@ -11826,7 +11826,8 @@ var zSentryAppComponentsResponse = z.array(z.object({
11826
11826
  color: z.boolean(),
11827
11827
  photoType: z.string()
11828
11828
  }))
11829
- })
11829
+ }),
11830
+ installationUuid: z.string()
11830
11831
  }));
11831
11832
  var zSentryAppDetailsResponse = z.object({
11832
11833
  allowedOrigins: z.array(z.string()),
@@ -24402,7 +24403,8 @@ var zListOrganizationSentryAppComponentsResponse = z.array(z.object({
24402
24403
  color: z.boolean(),
24403
24404
  photoType: z.string()
24404
24405
  }))
24405
- })
24406
+ }),
24407
+ installationUuid: z.string()
24406
24408
  }));
24407
24409
  var zListOrganizationSentryAppsData = z.object({
24408
24410
  body: z.never().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.357.0",
3
+ "version": "0.359.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",