@linear/sdk 65.0.0 → 65.2.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/README.md +3 -1
- package/dist/_generated_documents.d.ts +591 -12
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +155 -1
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.min.js +1 -1
- package/dist/index-cjs.min.js.map +1 -1
- package/dist/index-es.min.js +1 -1
- package/dist/index-es.min.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +3 -4
package/dist/_generated_sdk.d.ts
CHANGED
|
@@ -6265,6 +6265,36 @@ export declare class IssueSlaWebhookPayload {
|
|
|
6265
6265
|
/** The issue that the SLA event is about. */
|
|
6266
6266
|
issueData: IssueWebhookPayload;
|
|
6267
6267
|
}
|
|
6268
|
+
/**
|
|
6269
|
+
* A continuous period of time during which an issue remained in a specific workflow state.
|
|
6270
|
+
*
|
|
6271
|
+
* @param request - function to call the graphql client
|
|
6272
|
+
* @param data - L.IssueStateSpanFragment response data
|
|
6273
|
+
*/
|
|
6274
|
+
export declare class IssueStateSpan extends Request {
|
|
6275
|
+
private _state?;
|
|
6276
|
+
constructor(request: LinearRequest, data: L.IssueStateSpanFragment);
|
|
6277
|
+
/** The timestamp when the issue left this state. Null if the issue is currently in this state. */
|
|
6278
|
+
endedAt?: Date;
|
|
6279
|
+
/** The unique identifier of the state span. */
|
|
6280
|
+
id: string;
|
|
6281
|
+
/** The timestamp when the issue entered this state. */
|
|
6282
|
+
startedAt: Date;
|
|
6283
|
+
/** The workflow state identifier for this span. */
|
|
6284
|
+
stateId: string;
|
|
6285
|
+
/** The workflow state for this span. */
|
|
6286
|
+
get state(): LinearFetch<WorkflowState> | undefined;
|
|
6287
|
+
}
|
|
6288
|
+
/**
|
|
6289
|
+
* IssueStateSpanConnection model
|
|
6290
|
+
*
|
|
6291
|
+
* @param request - function to call the graphql client
|
|
6292
|
+
* @param fetch - function to trigger a refetch of this IssueStateSpanConnection model
|
|
6293
|
+
* @param data - IssueStateSpanConnection response data
|
|
6294
|
+
*/
|
|
6295
|
+
export declare class IssueStateSpanConnection extends Connection<IssueStateSpan> {
|
|
6296
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<IssueStateSpan> | undefined>, data: L.IssueStateSpanConnectionFragment);
|
|
6297
|
+
}
|
|
6268
6298
|
/**
|
|
6269
6299
|
* Payload for a terminal issue status change notification.
|
|
6270
6300
|
*
|
|
@@ -8085,6 +8115,22 @@ export declare class ProjectLabel extends Request {
|
|
|
8085
8115
|
/** Updates a project label. */
|
|
8086
8116
|
update(input: L.ProjectLabelUpdateInput): LinearFetch<ProjectLabelPayload>;
|
|
8087
8117
|
}
|
|
8118
|
+
/**
|
|
8119
|
+
* Certain properties of a project label.
|
|
8120
|
+
*
|
|
8121
|
+
* @param data - L.ProjectLabelChildWebhookPayloadFragment response data
|
|
8122
|
+
*/
|
|
8123
|
+
export declare class ProjectLabelChildWebhookPayload {
|
|
8124
|
+
constructor(data: L.ProjectLabelChildWebhookPayloadFragment);
|
|
8125
|
+
/** The color of the project label. */
|
|
8126
|
+
color: string;
|
|
8127
|
+
/** The ID of the project label. */
|
|
8128
|
+
id: string;
|
|
8129
|
+
/** The name of the project label. */
|
|
8130
|
+
name: string;
|
|
8131
|
+
/** The parent ID of the project label. */
|
|
8132
|
+
parentId?: string;
|
|
8133
|
+
}
|
|
8088
8134
|
/**
|
|
8089
8135
|
* ProjectLabelConnection model
|
|
8090
8136
|
*
|
|
@@ -8113,6 +8159,34 @@ export declare class ProjectLabelPayload extends Request {
|
|
|
8113
8159
|
/** The ID of label that was created or updated. */
|
|
8114
8160
|
get projectLabelId(): string | undefined;
|
|
8115
8161
|
}
|
|
8162
|
+
/**
|
|
8163
|
+
* Payload for a project label webhook.
|
|
8164
|
+
*
|
|
8165
|
+
* @param data - L.ProjectLabelWebhookPayloadFragment response data
|
|
8166
|
+
*/
|
|
8167
|
+
export declare class ProjectLabelWebhookPayload {
|
|
8168
|
+
constructor(data: L.ProjectLabelWebhookPayloadFragment);
|
|
8169
|
+
/** The time at which the entity was archived. */
|
|
8170
|
+
archivedAt?: string;
|
|
8171
|
+
/** The color of the project label. */
|
|
8172
|
+
color: string;
|
|
8173
|
+
/** The time at which the entity was created. */
|
|
8174
|
+
createdAt: string;
|
|
8175
|
+
/** The creator ID of the project label. */
|
|
8176
|
+
creatorId?: string;
|
|
8177
|
+
/** The label's description. */
|
|
8178
|
+
description?: string;
|
|
8179
|
+
/** The ID of the entity. */
|
|
8180
|
+
id: string;
|
|
8181
|
+
/** Whether the label is a group. */
|
|
8182
|
+
isGroup: boolean;
|
|
8183
|
+
/** The name of the project label. */
|
|
8184
|
+
name: string;
|
|
8185
|
+
/** The parent ID of the project label. */
|
|
8186
|
+
parentId?: string;
|
|
8187
|
+
/** The time at which the entity was updated. */
|
|
8188
|
+
updatedAt: string;
|
|
8189
|
+
}
|
|
8116
8190
|
/**
|
|
8117
8191
|
* A milestone for a project.
|
|
8118
8192
|
*
|
|
@@ -9311,6 +9385,84 @@ export declare class ReactionWebhookPayload {
|
|
|
9311
9385
|
/** The user that created the reaction. */
|
|
9312
9386
|
user?: UserChildWebhookPayload;
|
|
9313
9387
|
}
|
|
9388
|
+
/**
|
|
9389
|
+
* A generic payload return from entity archive mutations.
|
|
9390
|
+
*
|
|
9391
|
+
* @param request - function to call the graphql client
|
|
9392
|
+
* @param data - L.ReleaseArchivePayloadFragment response data
|
|
9393
|
+
*/
|
|
9394
|
+
export declare class ReleaseArchivePayload extends Request {
|
|
9395
|
+
constructor(request: LinearRequest, data: L.ReleaseArchivePayloadFragment);
|
|
9396
|
+
/** The identifier of the last sync operation. */
|
|
9397
|
+
lastSyncId: number;
|
|
9398
|
+
/** Whether the operation was successful. */
|
|
9399
|
+
success: boolean;
|
|
9400
|
+
}
|
|
9401
|
+
/**
|
|
9402
|
+
* ReleasePayload model
|
|
9403
|
+
*
|
|
9404
|
+
* @param request - function to call the graphql client
|
|
9405
|
+
* @param data - L.ReleasePayloadFragment response data
|
|
9406
|
+
*/
|
|
9407
|
+
export declare class ReleasePayload extends Request {
|
|
9408
|
+
constructor(request: LinearRequest, data: L.ReleasePayloadFragment);
|
|
9409
|
+
/** The identifier of the last sync operation. */
|
|
9410
|
+
lastSyncId: number;
|
|
9411
|
+
/** Whether the operation was successful. */
|
|
9412
|
+
success: boolean;
|
|
9413
|
+
}
|
|
9414
|
+
/**
|
|
9415
|
+
* A generic payload return from entity archive mutations.
|
|
9416
|
+
*
|
|
9417
|
+
* @param request - function to call the graphql client
|
|
9418
|
+
* @param data - L.ReleasePipelineArchivePayloadFragment response data
|
|
9419
|
+
*/
|
|
9420
|
+
export declare class ReleasePipelineArchivePayload extends Request {
|
|
9421
|
+
constructor(request: LinearRequest, data: L.ReleasePipelineArchivePayloadFragment);
|
|
9422
|
+
/** The identifier of the last sync operation. */
|
|
9423
|
+
lastSyncId: number;
|
|
9424
|
+
/** Whether the operation was successful. */
|
|
9425
|
+
success: boolean;
|
|
9426
|
+
}
|
|
9427
|
+
/**
|
|
9428
|
+
* ReleasePipelinePayload model
|
|
9429
|
+
*
|
|
9430
|
+
* @param request - function to call the graphql client
|
|
9431
|
+
* @param data - L.ReleasePipelinePayloadFragment response data
|
|
9432
|
+
*/
|
|
9433
|
+
export declare class ReleasePipelinePayload extends Request {
|
|
9434
|
+
constructor(request: LinearRequest, data: L.ReleasePipelinePayloadFragment);
|
|
9435
|
+
/** The identifier of the last sync operation. */
|
|
9436
|
+
lastSyncId: number;
|
|
9437
|
+
/** Whether the operation was successful. */
|
|
9438
|
+
success: boolean;
|
|
9439
|
+
}
|
|
9440
|
+
/**
|
|
9441
|
+
* A generic payload return from entity archive mutations.
|
|
9442
|
+
*
|
|
9443
|
+
* @param request - function to call the graphql client
|
|
9444
|
+
* @param data - L.ReleaseStageArchivePayloadFragment response data
|
|
9445
|
+
*/
|
|
9446
|
+
export declare class ReleaseStageArchivePayload extends Request {
|
|
9447
|
+
constructor(request: LinearRequest, data: L.ReleaseStageArchivePayloadFragment);
|
|
9448
|
+
/** The identifier of the last sync operation. */
|
|
9449
|
+
lastSyncId: number;
|
|
9450
|
+
/** Whether the operation was successful. */
|
|
9451
|
+
success: boolean;
|
|
9452
|
+
}
|
|
9453
|
+
/**
|
|
9454
|
+
* ReleaseStagePayload model
|
|
9455
|
+
*
|
|
9456
|
+
* @param request - function to call the graphql client
|
|
9457
|
+
* @param data - L.ReleaseStagePayloadFragment response data
|
|
9458
|
+
*/
|
|
9459
|
+
export declare class ReleaseStagePayload extends Request {
|
|
9460
|
+
constructor(request: LinearRequest, data: L.ReleaseStagePayloadFragment);
|
|
9461
|
+
/** The identifier of the last sync operation. */
|
|
9462
|
+
lastSyncId: number;
|
|
9463
|
+
/** Whether the operation was successful. */
|
|
9464
|
+
success: boolean;
|
|
9465
|
+
}
|
|
9314
9466
|
/**
|
|
9315
9467
|
* RepositorySuggestion model
|
|
9316
9468
|
*
|
|
@@ -9754,6 +9906,8 @@ export declare class Team extends Request {
|
|
|
9754
9906
|
aiDiscussionSummariesEnabled: boolean;
|
|
9755
9907
|
/** Whether to enable resolved thread AI summaries. */
|
|
9756
9908
|
aiThreadSummariesEnabled: boolean;
|
|
9909
|
+
/** Whether all members in the workspace can join the team. Only used for public teams. */
|
|
9910
|
+
allMembersCanJoin?: boolean;
|
|
9757
9911
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
|
9758
9912
|
archivedAt?: Date;
|
|
9759
9913
|
/** Period after which automatically closed and completed issues are automatically archived in months. */
|
|
@@ -23146,5 +23300,5 @@ export declare class LinearSdk extends Request {
|
|
|
23146
23300
|
*/
|
|
23147
23301
|
updateWorkflowState(id: string, input: L.WorkflowStateUpdateInput): LinearFetch<WorkflowStatePayload>;
|
|
23148
23302
|
}
|
|
23149
|
-
export { AgentActivitySignal, AgentActivityType, AgentSessionStatus, AgentSessionType, AuthenticationSessionType, ContextViewType, CustomerStatusType, CustomerVisibilityMode, CyclePeriod, DateResolutionType, Day, EmailIntakeAddressType, ExternalSyncService, FacetPageSource, FeedSummarySchedule, FrequencyResolutionType, GitAutomationStates, GitLinkKind, GithubOrgType, IdentityProviderType, InitiativeStatus, InitiativeTab, InitiativeUpdateHealthType, IntegrationService, IssueRelationType, IssueSuggestionState, IssueSuggestionType, NotificationCategory, NotificationChannel, OAuthClientApprovalStatus, OrganizationDomainAuthType, OrganizationInviteStatus, OtherNotificationType, PaginationNulls, PaginationOrderBy, PaginationSortOrder, PostType, ProductIntelligenceScope, ProjectMilestoneStatus, ProjectStatusType, ProjectTab, ProjectUpdateHealthType, ProjectUpdateReminderFrequency, PullRequestMergeMethod, PullRequestReviewTool, PullRequestStatus, PushSubscriptionType, ReleaseChannel, SLADayCountType, SemanticSearchResultType, SendStrategy, SlaStatus, SlackChannelType, TeamRoleType, TriageResponsibilityAction, UserContextViewType, UserFlagType, UserFlagUpdateOperation, UserRoleType, UserSettingsThemeDeviceType, UserSettingsThemeMode, UserSettingsThemePreset, ViewPreferencesType, ViewType, } from "./_generated_documents";
|
|
23303
|
+
export { AgentActivitySignal, AgentActivityType, AgentSessionStatus, AgentSessionType, AuthenticationSessionType, ContextViewType, CustomerStatusType, CustomerVisibilityMode, CyclePeriod, DateResolutionType, Day, EmailIntakeAddressType, ExternalSyncService, FacetPageSource, FeedSummarySchedule, FrequencyResolutionType, GitAutomationStates, GitLinkKind, GithubOrgType, IdentityProviderType, InitiativeStatus, InitiativeTab, InitiativeUpdateHealthType, IntegrationService, IssueRelationType, IssueSuggestionState, IssueSuggestionType, NotificationCategory, NotificationChannel, OAuthClientApprovalStatus, OrganizationDomainAuthType, OrganizationInviteStatus, OtherNotificationType, PaginationNulls, PaginationOrderBy, PaginationSortOrder, PostType, ProductIntelligenceScope, ProjectMilestoneStatus, ProjectStatusType, ProjectTab, ProjectUpdateHealthType, ProjectUpdateReminderFrequency, PullRequestMergeMethod, PullRequestReviewTool, PullRequestStatus, PushSubscriptionType, ReleaseChannel, ReleaseStageType, SLADayCountType, SemanticSearchResultType, SendStrategy, SlaStatus, SlackChannelType, TeamRoleType, TriageResponsibilityAction, UserContextViewType, UserFlagType, UserFlagUpdateOperation, UserRoleType, UserSettingsThemeDeviceType, UserSettingsThemeMode, UserSettingsThemePreset, ViewPreferencesType, ViewType, } from "./_generated_documents";
|
|
23150
23304
|
//# sourceMappingURL=_generated_sdk.d.ts.map
|