@linear/sdk 65.0.0 → 65.1.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/_generated_documents.d.ts +136 -10
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +76 -0
- 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 +1 -1
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
|
*
|
|
@@ -9754,6 +9828,8 @@ export declare class Team extends Request {
|
|
|
9754
9828
|
aiDiscussionSummariesEnabled: boolean;
|
|
9755
9829
|
/** Whether to enable resolved thread AI summaries. */
|
|
9756
9830
|
aiThreadSummariesEnabled: boolean;
|
|
9831
|
+
/** Whether all members in the workspace can join the team. Only used for public teams. */
|
|
9832
|
+
allMembersCanJoin?: boolean;
|
|
9757
9833
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
|
9758
9834
|
archivedAt?: Date;
|
|
9759
9835
|
/** Period after which automatically closed and completed issues are automatically archived in months. */
|