@sentry/api 0.307.0 → 0.308.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/error-results.gen.d.ts +11 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +62 -0
- package/dist/pagination.gen.d.ts +31 -1
- package/dist/sdk.gen.d.ts +65 -1
- package/dist/types.gen.d.ts +426 -3
- package/dist/valibot.gen.d.ts +214 -0
- package/dist/valibot.js +229 -0
- package/dist/zod.gen.d.ts +892 -54
- package/dist/zod.js +289 -0
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -3946,6 +3946,17 @@ export type IntegrationIssueConfigResponse = {
|
|
|
3946
3946
|
[key: string]: unknown;
|
|
3947
3947
|
}>;
|
|
3948
3948
|
};
|
|
3949
|
+
export type IntegrationRepositoriesResponse = {
|
|
3950
|
+
repos: Array<{
|
|
3951
|
+
name: string;
|
|
3952
|
+
identifier: string;
|
|
3953
|
+
isInstalled: boolean;
|
|
3954
|
+
defaultBranch: string | null;
|
|
3955
|
+
externalId: string;
|
|
3956
|
+
url: string | null;
|
|
3957
|
+
}>;
|
|
3958
|
+
searchable?: boolean;
|
|
3959
|
+
};
|
|
3949
3960
|
export type IssueEventDetailsResponse = {
|
|
3950
3961
|
id: string;
|
|
3951
3962
|
groupID: string | null;
|
|
@@ -4122,6 +4133,35 @@ export type IssueEventDetailsResponse = {
|
|
|
4122
4133
|
content: string;
|
|
4123
4134
|
};
|
|
4124
4135
|
};
|
|
4136
|
+
export type IssueIntegrationsResponse = Array<{
|
|
4137
|
+
id: string;
|
|
4138
|
+
name: string;
|
|
4139
|
+
icon: string | null;
|
|
4140
|
+
domainName: string | null;
|
|
4141
|
+
accountType: string | null;
|
|
4142
|
+
scopes: Array<string> | null;
|
|
4143
|
+
outOfDate: boolean | null;
|
|
4144
|
+
status: string;
|
|
4145
|
+
provider: {
|
|
4146
|
+
key: string;
|
|
4147
|
+
slug: string;
|
|
4148
|
+
name: string;
|
|
4149
|
+
canAdd: boolean;
|
|
4150
|
+
canDisable: boolean;
|
|
4151
|
+
features: Array<string>;
|
|
4152
|
+
aspects: {
|
|
4153
|
+
[key: string]: unknown;
|
|
4154
|
+
};
|
|
4155
|
+
};
|
|
4156
|
+
externalIssues: Array<{
|
|
4157
|
+
id: string;
|
|
4158
|
+
key: string;
|
|
4159
|
+
url: string;
|
|
4160
|
+
title: string | null;
|
|
4161
|
+
description: string | null;
|
|
4162
|
+
displayName: string;
|
|
4163
|
+
}>;
|
|
4164
|
+
}>;
|
|
4125
4165
|
export type LatestBaseSnapshotResponse = {
|
|
4126
4166
|
head_artifact_id?: string;
|
|
4127
4167
|
project_id?: string;
|
|
@@ -8456,6 +8496,13 @@ export type OutgoingNotificationAction = {
|
|
|
8456
8496
|
targetIdentifier: string | null;
|
|
8457
8497
|
targetDisplay: string | null;
|
|
8458
8498
|
};
|
|
8499
|
+
export type PlatformExternalIssueResponse = {
|
|
8500
|
+
id: string;
|
|
8501
|
+
issueId: string;
|
|
8502
|
+
serviceType: string;
|
|
8503
|
+
displayName: string;
|
|
8504
|
+
webUrl: string;
|
|
8505
|
+
};
|
|
8459
8506
|
export type ProjectAdmin = {
|
|
8460
8507
|
/**
|
|
8461
8508
|
* Minimum time in seconds to wait before sending an issue digest email.
|
|
@@ -9629,6 +9676,31 @@ export type ScimTeamRequestBody = {
|
|
|
9629
9676
|
export type SeerModelsResponse = {
|
|
9630
9677
|
models: Array<string>;
|
|
9631
9678
|
};
|
|
9679
|
+
export type SentryAppComponentsResponse = Array<{
|
|
9680
|
+
uuid: string;
|
|
9681
|
+
type: string;
|
|
9682
|
+
schema: {
|
|
9683
|
+
[key: string]: unknown;
|
|
9684
|
+
};
|
|
9685
|
+
error: string | {
|
|
9686
|
+
detail?: string;
|
|
9687
|
+
context?: {
|
|
9688
|
+
[key: string]: unknown;
|
|
9689
|
+
};
|
|
9690
|
+
};
|
|
9691
|
+
sentryApp: {
|
|
9692
|
+
uuid: string;
|
|
9693
|
+
slug: string;
|
|
9694
|
+
name: string;
|
|
9695
|
+
avatars: Array<{
|
|
9696
|
+
avatarType: string;
|
|
9697
|
+
avatarUuid: string;
|
|
9698
|
+
avatarUrl: string;
|
|
9699
|
+
color: boolean;
|
|
9700
|
+
photoType: string;
|
|
9701
|
+
}>;
|
|
9702
|
+
};
|
|
9703
|
+
}>;
|
|
9632
9704
|
export type SentryAppDetailsResponse = {
|
|
9633
9705
|
allowedOrigins: Array<string>;
|
|
9634
9706
|
avatars: Array<{
|
|
@@ -9665,6 +9737,25 @@ export type SentryAppDetailsResponse = {
|
|
|
9665
9737
|
slug: string;
|
|
9666
9738
|
};
|
|
9667
9739
|
};
|
|
9740
|
+
export type SentryAppExternalRequestOptionsResponse = {
|
|
9741
|
+
choices: Array<Array<string>>;
|
|
9742
|
+
defaultValue?: string;
|
|
9743
|
+
};
|
|
9744
|
+
export type SentryAppInstallationExternalIssueActions = {
|
|
9745
|
+
/**
|
|
9746
|
+
* The numeric Sentry issue ID.
|
|
9747
|
+
*/
|
|
9748
|
+
groupId: string;
|
|
9749
|
+
/**
|
|
9750
|
+
* The action to perform: `link` or `create`.
|
|
9751
|
+
*/
|
|
9752
|
+
action: 'link' | 'create';
|
|
9753
|
+
/**
|
|
9754
|
+
* The relative callback URI from the app's issue-link form.
|
|
9755
|
+
*/
|
|
9756
|
+
uri: string;
|
|
9757
|
+
[key: string]: unknown | string | 'link' | 'create';
|
|
9758
|
+
};
|
|
9668
9759
|
export type SentryAppParser = {
|
|
9669
9760
|
/**
|
|
9670
9761
|
* The name of the custom integration.
|
|
@@ -11019,10 +11110,14 @@ export type WorkflowValidator = {
|
|
|
11019
11110
|
* ```
|
|
11020
11111
|
*
|
|
11021
11112
|
* **De-escalation**
|
|
11113
|
+
* - `comparison`: The priority threshold the issue must de-escalate below.
|
|
11114
|
+
* - `75`: High priority
|
|
11115
|
+
* - `50`: Medium priority
|
|
11116
|
+
* - `25`: Low priority
|
|
11022
11117
|
* ```json
|
|
11023
11118
|
* {
|
|
11024
11119
|
* "type": "issue_priority_deescalating",
|
|
11025
|
-
* "comparison":
|
|
11120
|
+
* "comparison": 75,
|
|
11026
11121
|
* "conditionResult": true
|
|
11027
11122
|
* }
|
|
11028
11123
|
* ```
|
|
@@ -16254,6 +16349,62 @@ export type GetOrganizationIntegrationResponses = {
|
|
|
16254
16349
|
};
|
|
16255
16350
|
};
|
|
16256
16351
|
export type GetOrganizationIntegrationResponse = GetOrganizationIntegrationResponses[keyof GetOrganizationIntegrationResponses];
|
|
16352
|
+
export type ListOrganizationIntegrationRepositoriesData = {
|
|
16353
|
+
body?: never;
|
|
16354
|
+
path: {
|
|
16355
|
+
/**
|
|
16356
|
+
* The ID or slug of the organization the resource belongs to.
|
|
16357
|
+
*/
|
|
16358
|
+
organization_id_or_slug: string;
|
|
16359
|
+
/**
|
|
16360
|
+
* The ID of the integration installed on the organization.
|
|
16361
|
+
*/
|
|
16362
|
+
integration_id: string;
|
|
16363
|
+
};
|
|
16364
|
+
query?: {
|
|
16365
|
+
/**
|
|
16366
|
+
* Repository name to search for.
|
|
16367
|
+
*/
|
|
16368
|
+
search?: string;
|
|
16369
|
+
/**
|
|
16370
|
+
* Only return repositories that are not already installed in Sentry.
|
|
16371
|
+
*/
|
|
16372
|
+
installableOnly?: boolean;
|
|
16373
|
+
/**
|
|
16374
|
+
* Only search repositories accessible to the integration installation.
|
|
16375
|
+
*/
|
|
16376
|
+
accessibleOnly?: boolean;
|
|
16377
|
+
};
|
|
16378
|
+
url: '/api/0/organizations/{organization_id_or_slug}/integrations/{integration_id}/repos/';
|
|
16379
|
+
};
|
|
16380
|
+
export type ListOrganizationIntegrationRepositoriesErrors = {
|
|
16381
|
+
/**
|
|
16382
|
+
* Bad Request
|
|
16383
|
+
*/
|
|
16384
|
+
400: unknown;
|
|
16385
|
+
/**
|
|
16386
|
+
* Forbidden
|
|
16387
|
+
*/
|
|
16388
|
+
403: unknown;
|
|
16389
|
+
/**
|
|
16390
|
+
* Not Found
|
|
16391
|
+
*/
|
|
16392
|
+
404: unknown;
|
|
16393
|
+
};
|
|
16394
|
+
export type ListOrganizationIntegrationRepositoriesResponses = {
|
|
16395
|
+
200: {
|
|
16396
|
+
repos: Array<{
|
|
16397
|
+
name: string;
|
|
16398
|
+
identifier: string;
|
|
16399
|
+
isInstalled: boolean;
|
|
16400
|
+
defaultBranch: string | null;
|
|
16401
|
+
externalId: string;
|
|
16402
|
+
url: string | null;
|
|
16403
|
+
}>;
|
|
16404
|
+
searchable?: boolean;
|
|
16405
|
+
};
|
|
16406
|
+
};
|
|
16407
|
+
export type ListOrganizationIntegrationRepositoriesResponse = ListOrganizationIntegrationRepositoriesResponses[keyof ListOrganizationIntegrationRepositoriesResponses];
|
|
16257
16408
|
export type DeleteOrganizationIssuesData = {
|
|
16258
16409
|
body?: never;
|
|
16259
16410
|
path: {
|
|
@@ -24130,6 +24281,68 @@ export type UpdateOrganizationScimV2UserResponses = {
|
|
|
24130
24281
|
204: void;
|
|
24131
24282
|
};
|
|
24132
24283
|
export type UpdateOrganizationScimV2UserResponse = UpdateOrganizationScimV2UserResponses[keyof UpdateOrganizationScimV2UserResponses];
|
|
24284
|
+
export type ListOrganizationSentryAppComponentsData = {
|
|
24285
|
+
body?: never;
|
|
24286
|
+
path: {
|
|
24287
|
+
/**
|
|
24288
|
+
* The ID or slug of the organization the resource belongs to.
|
|
24289
|
+
*/
|
|
24290
|
+
organization_id_or_slug: string;
|
|
24291
|
+
};
|
|
24292
|
+
query?: {
|
|
24293
|
+
/**
|
|
24294
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
24295
|
+
*/
|
|
24296
|
+
cursor?: string;
|
|
24297
|
+
/**
|
|
24298
|
+
* Filter components by type, such as `issue-link`.
|
|
24299
|
+
*/
|
|
24300
|
+
filter?: string;
|
|
24301
|
+
};
|
|
24302
|
+
url: '/api/0/organizations/{organization_id_or_slug}/sentry-app-components/';
|
|
24303
|
+
};
|
|
24304
|
+
export type ListOrganizationSentryAppComponentsErrors = {
|
|
24305
|
+
/**
|
|
24306
|
+
* Unauthorized
|
|
24307
|
+
*/
|
|
24308
|
+
401: unknown;
|
|
24309
|
+
/**
|
|
24310
|
+
* Forbidden
|
|
24311
|
+
*/
|
|
24312
|
+
403: unknown;
|
|
24313
|
+
/**
|
|
24314
|
+
* Not Found
|
|
24315
|
+
*/
|
|
24316
|
+
404: unknown;
|
|
24317
|
+
};
|
|
24318
|
+
export type ListOrganizationSentryAppComponentsResponses = {
|
|
24319
|
+
200: Array<{
|
|
24320
|
+
uuid: string;
|
|
24321
|
+
type: string;
|
|
24322
|
+
schema: {
|
|
24323
|
+
[key: string]: unknown;
|
|
24324
|
+
};
|
|
24325
|
+
error: string | {
|
|
24326
|
+
detail?: string;
|
|
24327
|
+
context?: {
|
|
24328
|
+
[key: string]: unknown;
|
|
24329
|
+
};
|
|
24330
|
+
};
|
|
24331
|
+
sentryApp: {
|
|
24332
|
+
uuid: string;
|
|
24333
|
+
slug: string;
|
|
24334
|
+
name: string;
|
|
24335
|
+
avatars: Array<{
|
|
24336
|
+
avatarType: string;
|
|
24337
|
+
avatarUuid: string;
|
|
24338
|
+
avatarUrl: string;
|
|
24339
|
+
color: boolean;
|
|
24340
|
+
photoType: string;
|
|
24341
|
+
}>;
|
|
24342
|
+
};
|
|
24343
|
+
}>;
|
|
24344
|
+
};
|
|
24345
|
+
export type ListOrganizationSentryAppComponentsResponse = ListOrganizationSentryAppComponentsResponses[keyof ListOrganizationSentryAppComponentsResponses];
|
|
24133
24346
|
export type ListOrganizationSentryAppsData = {
|
|
24134
24347
|
body?: never;
|
|
24135
24348
|
path: {
|
|
@@ -26167,10 +26380,14 @@ export type CreateOrganizationWorkflowData = {
|
|
|
26167
26380
|
* ```
|
|
26168
26381
|
*
|
|
26169
26382
|
* **De-escalation**
|
|
26383
|
+
* - `comparison`: The priority threshold the issue must de-escalate below.
|
|
26384
|
+
* - `75`: High priority
|
|
26385
|
+
* - `50`: Medium priority
|
|
26386
|
+
* - `25`: Low priority
|
|
26170
26387
|
* ```json
|
|
26171
26388
|
* {
|
|
26172
26389
|
* "type": "issue_priority_deescalating",
|
|
26173
|
-
* "comparison":
|
|
26390
|
+
* "comparison": 75,
|
|
26174
26391
|
* "conditionResult": true
|
|
26175
26392
|
* }
|
|
26176
26393
|
* ```
|
|
@@ -27191,10 +27408,14 @@ export type UpdateOrganizationWorkflowData = {
|
|
|
27191
27408
|
* ```
|
|
27192
27409
|
*
|
|
27193
27410
|
* **De-escalation**
|
|
27411
|
+
* - `comparison`: The priority threshold the issue must de-escalate below.
|
|
27412
|
+
* - `75`: High priority
|
|
27413
|
+
* - `50`: Medium priority
|
|
27414
|
+
* - `25`: Low priority
|
|
27194
27415
|
* ```json
|
|
27195
27416
|
* {
|
|
27196
27417
|
* "type": "issue_priority_deescalating",
|
|
27197
|
-
* "comparison":
|
|
27418
|
+
* "comparison": 75,
|
|
27198
27419
|
* "conditionResult": true
|
|
27199
27420
|
* }
|
|
27200
27421
|
* ```
|
|
@@ -33580,6 +33801,112 @@ export type ListSeerModelsResponses = {
|
|
|
33580
33801
|
};
|
|
33581
33802
|
};
|
|
33582
33803
|
export type ListSeerModelsResponse = ListSeerModelsResponses[keyof ListSeerModelsResponses];
|
|
33804
|
+
export type ExecuteSentryAppInstallationExternalIssueActionData = {
|
|
33805
|
+
body: {
|
|
33806
|
+
/**
|
|
33807
|
+
* The numeric Sentry issue ID.
|
|
33808
|
+
*/
|
|
33809
|
+
groupId: string;
|
|
33810
|
+
/**
|
|
33811
|
+
* The action to perform: `link` or `create`.
|
|
33812
|
+
*/
|
|
33813
|
+
action: 'link' | 'create';
|
|
33814
|
+
/**
|
|
33815
|
+
* The relative callback URI from the app's issue-link form.
|
|
33816
|
+
*/
|
|
33817
|
+
uri: string;
|
|
33818
|
+
[key: string]: unknown | string | 'link' | 'create';
|
|
33819
|
+
};
|
|
33820
|
+
path: {
|
|
33821
|
+
/**
|
|
33822
|
+
* The UUID of the Sentry App installation.
|
|
33823
|
+
*/
|
|
33824
|
+
uuid: string;
|
|
33825
|
+
};
|
|
33826
|
+
query?: never;
|
|
33827
|
+
url: '/api/0/sentry-app-installations/{uuid}/external-issue-actions/';
|
|
33828
|
+
};
|
|
33829
|
+
export type ExecuteSentryAppInstallationExternalIssueActionErrors = {
|
|
33830
|
+
/**
|
|
33831
|
+
* Bad Request
|
|
33832
|
+
*/
|
|
33833
|
+
400: unknown;
|
|
33834
|
+
/**
|
|
33835
|
+
* Unauthorized
|
|
33836
|
+
*/
|
|
33837
|
+
401: unknown;
|
|
33838
|
+
/**
|
|
33839
|
+
* Forbidden
|
|
33840
|
+
*/
|
|
33841
|
+
403: unknown;
|
|
33842
|
+
/**
|
|
33843
|
+
* Not Found
|
|
33844
|
+
*/
|
|
33845
|
+
404: unknown;
|
|
33846
|
+
};
|
|
33847
|
+
export type ExecuteSentryAppInstallationExternalIssueActionResponses = {
|
|
33848
|
+
200: {
|
|
33849
|
+
id: string;
|
|
33850
|
+
issueId: string;
|
|
33851
|
+
serviceType: string;
|
|
33852
|
+
displayName: string;
|
|
33853
|
+
webUrl: string;
|
|
33854
|
+
};
|
|
33855
|
+
};
|
|
33856
|
+
export type ExecuteSentryAppInstallationExternalIssueActionResponse = ExecuteSentryAppInstallationExternalIssueActionResponses[keyof ExecuteSentryAppInstallationExternalIssueActionResponses];
|
|
33857
|
+
export type GetSentryAppInstallationExternalRequestOptionsData = {
|
|
33858
|
+
body?: never;
|
|
33859
|
+
path: {
|
|
33860
|
+
/**
|
|
33861
|
+
* The UUID of the Sentry App installation.
|
|
33862
|
+
*/
|
|
33863
|
+
uuid: string;
|
|
33864
|
+
};
|
|
33865
|
+
query: {
|
|
33866
|
+
/**
|
|
33867
|
+
* The relative URI of the select field's options callback.
|
|
33868
|
+
*/
|
|
33869
|
+
uri: string;
|
|
33870
|
+
/**
|
|
33871
|
+
* The Sentry project ID to include in the options request.
|
|
33872
|
+
*/
|
|
33873
|
+
projectId?: number;
|
|
33874
|
+
/**
|
|
33875
|
+
* The search text for select options.
|
|
33876
|
+
*/
|
|
33877
|
+
query?: string;
|
|
33878
|
+
/**
|
|
33879
|
+
* A JSON-encoded object containing the values of fields this select depends on.
|
|
33880
|
+
*/
|
|
33881
|
+
dependentData?: string;
|
|
33882
|
+
};
|
|
33883
|
+
url: '/api/0/sentry-app-installations/{uuid}/external-requests/';
|
|
33884
|
+
};
|
|
33885
|
+
export type GetSentryAppInstallationExternalRequestOptionsErrors = {
|
|
33886
|
+
/**
|
|
33887
|
+
* Bad Request
|
|
33888
|
+
*/
|
|
33889
|
+
400: unknown;
|
|
33890
|
+
/**
|
|
33891
|
+
* Unauthorized
|
|
33892
|
+
*/
|
|
33893
|
+
401: unknown;
|
|
33894
|
+
/**
|
|
33895
|
+
* Forbidden
|
|
33896
|
+
*/
|
|
33897
|
+
403: unknown;
|
|
33898
|
+
/**
|
|
33899
|
+
* Not Found
|
|
33900
|
+
*/
|
|
33901
|
+
404: unknown;
|
|
33902
|
+
};
|
|
33903
|
+
export type GetSentryAppInstallationExternalRequestOptionsResponses = {
|
|
33904
|
+
200: {
|
|
33905
|
+
choices: Array<Array<string>>;
|
|
33906
|
+
defaultValue?: string;
|
|
33907
|
+
};
|
|
33908
|
+
};
|
|
33909
|
+
export type GetSentryAppInstallationExternalRequestOptionsResponse = GetSentryAppInstallationExternalRequestOptionsResponses[keyof GetSentryAppInstallationExternalRequestOptionsResponses];
|
|
33583
33910
|
export type DeleteSentryAppData = {
|
|
33584
33911
|
body?: never;
|
|
33585
33912
|
path: {
|
|
@@ -36634,6 +36961,46 @@ export type ListOrganizationIssueExternalIssuesResponses = {
|
|
|
36634
36961
|
}>;
|
|
36635
36962
|
};
|
|
36636
36963
|
export type ListOrganizationIssueExternalIssuesResponse = ListOrganizationIssueExternalIssuesResponses[keyof ListOrganizationIssueExternalIssuesResponses];
|
|
36964
|
+
export type DeleteOrganizationIssueExternalIssueData = {
|
|
36965
|
+
body?: never;
|
|
36966
|
+
path: {
|
|
36967
|
+
/**
|
|
36968
|
+
* The ID or slug of the organization the resource belongs to.
|
|
36969
|
+
*/
|
|
36970
|
+
organization_id_or_slug: string;
|
|
36971
|
+
/**
|
|
36972
|
+
* The ID of the issue you'd like to query.
|
|
36973
|
+
*/
|
|
36974
|
+
issue_id: string;
|
|
36975
|
+
/**
|
|
36976
|
+
* The ID of the custom integration issue link to remove.
|
|
36977
|
+
*/
|
|
36978
|
+
external_issue_id: string;
|
|
36979
|
+
};
|
|
36980
|
+
query?: never;
|
|
36981
|
+
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/external-issues/{external_issue_id}/';
|
|
36982
|
+
};
|
|
36983
|
+
export type DeleteOrganizationIssueExternalIssueErrors = {
|
|
36984
|
+
/**
|
|
36985
|
+
* Unauthorized
|
|
36986
|
+
*/
|
|
36987
|
+
401: unknown;
|
|
36988
|
+
/**
|
|
36989
|
+
* Forbidden
|
|
36990
|
+
*/
|
|
36991
|
+
403: unknown;
|
|
36992
|
+
/**
|
|
36993
|
+
* Not Found
|
|
36994
|
+
*/
|
|
36995
|
+
404: unknown;
|
|
36996
|
+
};
|
|
36997
|
+
export type DeleteOrganizationIssueExternalIssueResponses = {
|
|
36998
|
+
/**
|
|
36999
|
+
* No Content
|
|
37000
|
+
*/
|
|
37001
|
+
204: void;
|
|
37002
|
+
};
|
|
37003
|
+
export type DeleteOrganizationIssueExternalIssueResponse = DeleteOrganizationIssueExternalIssueResponses[keyof DeleteOrganizationIssueExternalIssueResponses];
|
|
36637
37004
|
export type ListOrganizationIssueHashesData = {
|
|
36638
37005
|
body?: never;
|
|
36639
37006
|
path: {
|
|
@@ -36822,6 +37189,62 @@ export type ListOrganizationIssueHashesResponses = {
|
|
|
36822
37189
|
}>;
|
|
36823
37190
|
};
|
|
36824
37191
|
export type ListOrganizationIssueHashesResponse = ListOrganizationIssueHashesResponses[keyof ListOrganizationIssueHashesResponses];
|
|
37192
|
+
export type ListOrganizationIssueIntegrationsData = {
|
|
37193
|
+
body?: never;
|
|
37194
|
+
path: {
|
|
37195
|
+
/**
|
|
37196
|
+
* The ID or slug of the organization the resource belongs to.
|
|
37197
|
+
*/
|
|
37198
|
+
organization_id_or_slug: string;
|
|
37199
|
+
/**
|
|
37200
|
+
* The ID of the issue you'd like to query.
|
|
37201
|
+
*/
|
|
37202
|
+
issue_id: string;
|
|
37203
|
+
};
|
|
37204
|
+
query?: {
|
|
37205
|
+
/**
|
|
37206
|
+
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
37207
|
+
*/
|
|
37208
|
+
cursor?: string;
|
|
37209
|
+
/**
|
|
37210
|
+
* The maximum number of integrations to return per page (1–100).
|
|
37211
|
+
*/
|
|
37212
|
+
per_page?: number;
|
|
37213
|
+
};
|
|
37214
|
+
url: '/api/0/organizations/{organization_id_or_slug}/issues/{issue_id}/integrations/';
|
|
37215
|
+
};
|
|
37216
|
+
export type ListOrganizationIssueIntegrationsResponses = {
|
|
37217
|
+
200: Array<{
|
|
37218
|
+
id: string;
|
|
37219
|
+
name: string;
|
|
37220
|
+
icon: string | null;
|
|
37221
|
+
domainName: string | null;
|
|
37222
|
+
accountType: string | null;
|
|
37223
|
+
scopes: Array<string> | null;
|
|
37224
|
+
outOfDate: boolean | null;
|
|
37225
|
+
status: string;
|
|
37226
|
+
provider: {
|
|
37227
|
+
key: string;
|
|
37228
|
+
slug: string;
|
|
37229
|
+
name: string;
|
|
37230
|
+
canAdd: boolean;
|
|
37231
|
+
canDisable: boolean;
|
|
37232
|
+
features: Array<string>;
|
|
37233
|
+
aspects: {
|
|
37234
|
+
[key: string]: unknown;
|
|
37235
|
+
};
|
|
37236
|
+
};
|
|
37237
|
+
externalIssues: Array<{
|
|
37238
|
+
id: string;
|
|
37239
|
+
key: string;
|
|
37240
|
+
url: string;
|
|
37241
|
+
title: string | null;
|
|
37242
|
+
description: string | null;
|
|
37243
|
+
displayName: string;
|
|
37244
|
+
}>;
|
|
37245
|
+
}>;
|
|
37246
|
+
};
|
|
37247
|
+
export type ListOrganizationIssueIntegrationsResponse = ListOrganizationIssueIntegrationsResponses[keyof ListOrganizationIssueIntegrationsResponses];
|
|
36825
37248
|
export type DeleteOrganizationIssueIntegrationData = {
|
|
36826
37249
|
body?: never;
|
|
36827
37250
|
path: {
|