@linear/sdk 2.3.0 → 2.4.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.
@@ -2734,6 +2734,8 @@ export declare class ProjectMilestone extends Request {
2734
2734
  id: string;
2735
2735
  /** The name of the project milestone. */
2736
2736
  name: string;
2737
+ /** The order of the milestone in relation to other milestones within a project. */
2738
+ sortOrder: number;
2737
2739
  /** The planned completion date of the milestone. */
2738
2740
  targetDate?: L.Scalars["TimelessDate"];
2739
2741
  /**
@@ -4150,6 +4152,54 @@ export declare class WebhookPayload extends Request {
4150
4152
  /** The webhook entity being mutated. */
4151
4153
  get webhook(): LinearFetch<Webhook> | undefined;
4152
4154
  }
4155
+ /**
4156
+ * WorkflowCronJobDefinition model
4157
+ *
4158
+ * @param request - function to call the graphql client
4159
+ * @param data - L.WorkflowCronJobDefinitionFragment response data
4160
+ */
4161
+ export declare class WorkflowCronJobDefinition extends Request {
4162
+ private _creator;
4163
+ private _team;
4164
+ constructor(request: LinearRequest, data: L.WorkflowCronJobDefinitionFragment);
4165
+ /** An array of activities that will be executed as part of the workflow cron job. */
4166
+ activities: Record<string, unknown>;
4167
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
4168
+ archivedAt?: Date;
4169
+ /** The time at which the entity was created. */
4170
+ createdAt: Date;
4171
+ /** The description of the workflow cron job. */
4172
+ description?: string;
4173
+ enabled: boolean;
4174
+ /** The unique identifier of the entity. */
4175
+ id: string;
4176
+ /** The name of the workflow cron job. */
4177
+ name: string;
4178
+ /** Cron schedule which is used to execute the workflow cron job. */
4179
+ schedule: Record<string, unknown>;
4180
+ /** The sort order of the workflow cron job definition within its siblings. */
4181
+ sortOrder: string;
4182
+ /**
4183
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
4184
+ * 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
4185
+ * been updated after creation.
4186
+ */
4187
+ updatedAt: Date;
4188
+ /** The user who created the workflow cron job. */
4189
+ get creator(): LinearFetch<User> | undefined;
4190
+ /** The team associated with the workflow cron job. */
4191
+ get team(): LinearFetch<Team> | undefined;
4192
+ }
4193
+ /**
4194
+ * WorkflowCronJobDefinitionConnection model
4195
+ *
4196
+ * @param request - function to call the graphql client
4197
+ * @param fetch - function to trigger a refetch of this WorkflowCronJobDefinitionConnection model
4198
+ * @param data - WorkflowCronJobDefinitionConnection response data
4199
+ */
4200
+ export declare class WorkflowCronJobDefinitionConnection extends Connection<WorkflowCronJobDefinition> {
4201
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<WorkflowCronJobDefinition> | undefined>, data: L.WorkflowCronJobDefinitionConnectionFragment);
4202
+ }
4153
4203
  /**
4154
4204
  * WorkflowDefinition model
4155
4205
  *
@@ -4177,8 +4227,6 @@ export declare class WorkflowDefinition extends Request {
4177
4227
  id: string;
4178
4228
  /** The name of the workflow. */
4179
4229
  name: string;
4180
- /** Cron schedule which is used to execute the workflow. Only applicable for cron based workflows. */
4181
- schedule: Record<string, unknown>;
4182
4230
  /** The sort order of the workflow definition within its siblings. */
4183
4231
  sortOrder: string;
4184
4232
  /**