@linear/sdk 2.2.0 → 2.3.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.
@@ -403,22 +403,6 @@ export declare class CommentPayload extends Request {
403
403
  /** The comment that was created or updated. */
404
404
  get comment(): LinearFetch<Comment> | undefined;
405
405
  }
406
- /**
407
- * GitHub's commit data
408
- *
409
- * @param request - function to call the graphql client
410
- * @param data - L.CommitPayloadFragment response data
411
- */
412
- export declare class CommitPayload extends Request {
413
- constructor(request: LinearRequest, data: L.CommitPayloadFragment);
414
- added: string[];
415
- id: string;
416
- message: string;
417
- modified: string[];
418
- removed: string[];
419
- timestamp: string;
420
- url: string;
421
- }
422
406
  /**
423
407
  * ContactPayload model
424
408
  *
@@ -1138,70 +1122,6 @@ export declare class IntegrationRequestPayload extends Request {
1138
1122
  /** Whether the operation was successful. */
1139
1123
  success: boolean;
1140
1124
  }
1141
- /**
1142
- * An integration resource created by an external service.
1143
- *
1144
- * @param request - function to call the graphql client
1145
- * @param data - L.IntegrationResourceFragment response data
1146
- */
1147
- export declare class IntegrationResource extends Request {
1148
- private _integration?;
1149
- private _issue;
1150
- constructor(request: LinearRequest, data: L.IntegrationResourceFragment);
1151
- /** The time at which the entity was archived. Null if the entity has not been archived. */
1152
- archivedAt?: Date;
1153
- /** The time at which the entity was created. */
1154
- createdAt: Date;
1155
- /** The unique identifier of the entity. */
1156
- id: string;
1157
- /** The external service resource ID. */
1158
- resourceId: string;
1159
- /** The integration's type. */
1160
- resourceType: string;
1161
- /**
1162
- * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1163
- * for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
1164
- * been updated after creation.
1165
- */
1166
- updatedAt: Date;
1167
- /** Detailed information about the external resource. */
1168
- data: IntegrationResourceData;
1169
- /** Pull request information for GitHub pull requests and GitLab merge requests. */
1170
- pullRequest: PullRequestPayload;
1171
- /** The integration that the resource is associated with. */
1172
- get integration(): LinearFetch<Integration> | undefined;
1173
- /** The issue that the resource is associated with. */
1174
- get issue(): LinearFetch<Issue> | undefined;
1175
- /** Archives an integration resource. */
1176
- archive(): LinearFetch<ArchivePayload>;
1177
- }
1178
- /**
1179
- * IntegrationResourceConnection model
1180
- *
1181
- * @param request - function to call the graphql client
1182
- * @param fetch - function to trigger a refetch of this IntegrationResourceConnection model
1183
- * @param data - IntegrationResourceConnection response data
1184
- */
1185
- export declare class IntegrationResourceConnection extends Connection<IntegrationResource> {
1186
- constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IntegrationResource> | undefined>, data: L.IntegrationResourceConnectionFragment);
1187
- }
1188
- /**
1189
- * Integration resource's payload
1190
- *
1191
- * @param request - function to call the graphql client
1192
- * @param data - L.IntegrationResourceDataFragment response data
1193
- */
1194
- export declare class IntegrationResourceData extends Request {
1195
- constructor(request: LinearRequest, data: L.IntegrationResourceDataFragment);
1196
- /** The payload for an IntegrationResource of type 'githubCommit' */
1197
- githubCommit?: CommitPayload;
1198
- /** The payload for an IntegrationResource of type 'githubPullRequest' */
1199
- githubPullRequest?: PullRequestPayload;
1200
- /** The payload for an IntegrationResource of type 'gitlabMergeRequest' */
1201
- gitlabMergeRequest?: PullRequestPayload;
1202
- /** The payload for an IntegrationResource of type 'sentryIssue' */
1203
- sentryIssue?: SentryIssuePayload;
1204
- }
1205
1125
  /**
1206
1126
  * The integration resource's settings
1207
1127
  *
@@ -3092,51 +3012,6 @@ export declare class ProjectUpdateWithInteractionPayload extends Request {
3092
3012
  /** The project update that was created or updated. */
3093
3013
  get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
3094
3014
  }
3095
- /**
3096
- * Pull request data
3097
- *
3098
- * @param request - function to call the graphql client
3099
- * @param data - L.PullRequestPayloadFragment response data
3100
- */
3101
- export declare class PullRequestPayload extends Request {
3102
- constructor(request: LinearRequest, data: L.PullRequestPayloadFragment);
3103
- branch: string;
3104
- closedAt: string;
3105
- createdAt: string;
3106
- draft: boolean;
3107
- id: string;
3108
- mergedAt: string;
3109
- number: number;
3110
- repoLogin: string;
3111
- repoName: string;
3112
- reviewers?: string[];
3113
- status: string;
3114
- title: string;
3115
- updatedAt: string;
3116
- url: string;
3117
- userId: string;
3118
- userLogin: string;
3119
- reviews?: PullRequestReview[];
3120
- }
3121
- /**
3122
- * Pull request review data
3123
- *
3124
- * @param request - function to call the graphql client
3125
- * @param data - L.PullRequestReviewFragment response data
3126
- */
3127
- export declare class PullRequestReview extends Request {
3128
- constructor(request: LinearRequest, data: L.PullRequestReviewFragment);
3129
- /** The ID of the review. */
3130
- id: number;
3131
- /** The user ID of the reviewer. */
3132
- reviewerId: number;
3133
- /** The login of the reviewer. */
3134
- reviewerLogin: string;
3135
- /** The state of the review. */
3136
- state: string;
3137
- /** The timestamp of review submission. */
3138
- submittedAt: string;
3139
- }
3140
3015
  /**
3141
3016
  * A user's web browser push notification subscription.
3142
3017
  *
@@ -3451,37 +3326,6 @@ export declare class SamlConfigurationPayload extends Request {
3451
3326
  /** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
3452
3327
  ssoSignAlgo?: string;
3453
3328
  }
3454
- /**
3455
- * Sentry issue data
3456
- *
3457
- * @param request - function to call the graphql client
3458
- * @param data - L.SentryIssuePayloadFragment response data
3459
- */
3460
- export declare class SentryIssuePayload extends Request {
3461
- constructor(request: LinearRequest, data: L.SentryIssuePayloadFragment);
3462
- /** The Sentry identifier of the actor who created the issue. */
3463
- actorId: number;
3464
- /** The name of the Sentry actor who created this issue. */
3465
- actorName: string;
3466
- /** The type of the actor who created the issue. */
3467
- actorType: string;
3468
- /** The date this issue was first seen. */
3469
- firstSeen: string;
3470
- /** The name of the first release version this issue appeared on, if available. */
3471
- firstVersion?: string;
3472
- /** The Sentry identifier for the issue. */
3473
- issueId: string;
3474
- /** The title of the issue. */
3475
- issueTitle: string;
3476
- /** The Sentry identifier of the project this issue belongs to. */
3477
- projectId: number;
3478
- /** The slug of the project this issue belongs to. */
3479
- projectSlug: string;
3480
- /** The shortId of the issue. */
3481
- shortId: string;
3482
- /** The description of the issue. */
3483
- webUrl: string;
3484
- }
3485
3329
  /**
3486
3330
  * Sentry specific settings.
3487
3331
  *
@@ -5268,21 +5112,6 @@ export declare class IntegrationRequestMutation extends Request {
5268
5112
  */
5269
5113
  fetch(input: L.IntegrationRequestInput): LinearFetch<IntegrationRequestPayload>;
5270
5114
  }
5271
- /**
5272
- * A fetchable ArchiveIntegrationResource Mutation
5273
- *
5274
- * @param request - function to call the graphql client
5275
- */
5276
- export declare class ArchiveIntegrationResourceMutation extends Request {
5277
- constructor(request: LinearRequest);
5278
- /**
5279
- * Call the ArchiveIntegrationResource mutation and return a ArchivePayload
5280
- *
5281
- * @param id - required id to pass to archiveIntegrationResource
5282
- * @returns parsed response from ArchiveIntegrationResourceMutation
5283
- */
5284
- fetch(id: string): LinearFetch<ArchivePayload>;
5285
- }
5286
5115
  /**
5287
5116
  * A fetchable IntegrationSentryConnect Mutation
5288
5117
  *
@@ -9768,13 +9597,6 @@ export declare class LinearSdk extends Request {
9768
9597
  * @returns IntegrationRequestPayload
9769
9598
  */
9770
9599
  integrationRequest(input: L.IntegrationRequestInput): LinearFetch<IntegrationRequestPayload>;
9771
- /**
9772
- * Archives an integration resource.
9773
- *
9774
- * @param id - required id to pass to archiveIntegrationResource
9775
- * @returns ArchivePayload
9776
- */
9777
- archiveIntegrationResource(id: string): LinearFetch<ArchivePayload>;
9778
9600
  /**
9779
9601
  * Integrates the organization with Sentry.
9780
9602
  *