@linear/sdk 14.0.0 → 15.0.1

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.
@@ -548,6 +548,8 @@ export declare class AuthOrganizationDomain extends Request {
548
548
  */
549
549
  export declare class AuthOrganizationInvite extends Request {
550
550
  constructor(request: LinearRequest, data: L.AuthOrganizationInviteFragment);
551
+ /** The time at which the invite will be expiring. Null, if the invite shouldn't expire. */
552
+ expiresAt?: Date;
551
553
  /** The unique identifier of the entity. */
552
554
  id: string;
553
555
  }
@@ -5466,8 +5468,6 @@ export declare class TimeSchedule extends Request {
5466
5468
  archivedAt?: Date;
5467
5469
  /** The time at which the entity was created. */
5468
5470
  createdAt: Date;
5469
- /** User presentable error message, if an error occurred while updating the schedule. */
5470
- error?: string;
5471
5471
  /** The identifier of the external schedule. */
5472
5472
  externalId?: string;
5473
5473
  /** The URL to the external schedule. */
@@ -5536,7 +5536,7 @@ export declare class TimeSchedulePayload extends Request {
5536
5536
  * @param data - L.TriageResponsibilityFragment response data
5537
5537
  */
5538
5538
  export declare class TriageResponsibility extends Request {
5539
- private _integration;
5539
+ private _currentUser?;
5540
5540
  private _team;
5541
5541
  constructor(request: LinearRequest, data: L.TriageResponsibilityFragment);
5542
5542
  /** The time at which the entity was archived. Null if the entity has not been archived. */
@@ -5545,18 +5545,16 @@ export declare class TriageResponsibility extends Request {
5545
5545
  createdAt: Date;
5546
5546
  /** The unique identifier of the entity. */
5547
5547
  id: string;
5548
- /** Set of users used for triage responsibility. */
5549
- manualSelection?: L.Scalars["JSONObject"];
5550
- /** Schedule used for triage responsibility. */
5551
- schedule?: L.Scalars["JSONObject"];
5552
5548
  /**
5553
5549
  * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
5554
5550
  * 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
5555
5551
  * been updated after creation.
5556
5552
  */
5557
5553
  updatedAt: Date;
5558
- /** The integration used for scheduling. */
5559
- get integration(): LinearFetch<Integration> | undefined;
5554
+ /** Set of users used for triage responsibility. */
5555
+ manualSelection?: TriageResponsibilityManualSelection;
5556
+ /** The user currently responsible for triage. */
5557
+ get currentUser(): LinearFetch<User> | undefined;
5560
5558
  /** The team to which the triage responsibility belongs to. */
5561
5559
  get team(): LinearFetch<Team> | undefined;
5562
5560
  }
@@ -5570,6 +5568,30 @@ export declare class TriageResponsibility extends Request {
5570
5568
  export declare class TriageResponsibilityConnection extends Connection<TriageResponsibility> {
5571
5569
  constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<TriageResponsibility> | undefined>, data: L.TriageResponsibilityConnectionFragment);
5572
5570
  }
5571
+ /**
5572
+ * TriageResponsibilityManualSelection model
5573
+ *
5574
+ * @param request - function to call the graphql client
5575
+ * @param data - L.TriageResponsibilityManualSelectionFragment response data
5576
+ */
5577
+ export declare class TriageResponsibilityManualSelection extends Request {
5578
+ constructor(request: LinearRequest, data: L.TriageResponsibilityManualSelectionFragment);
5579
+ /** The set of users responsible for triage. */
5580
+ userIds: string[];
5581
+ }
5582
+ /**
5583
+ * TriageResponsibilityPayload model
5584
+ *
5585
+ * @param request - function to call the graphql client
5586
+ * @param data - L.TriageResponsibilityPayloadFragment response data
5587
+ */
5588
+ export declare class TriageResponsibilityPayload extends Request {
5589
+ constructor(request: LinearRequest, data: L.TriageResponsibilityPayloadFragment);
5590
+ /** The identifier of the last sync operation. */
5591
+ lastSyncId: number;
5592
+ /** Whether the operation was successful. */
5593
+ success: boolean;
5594
+ }
5573
5595
  /**
5574
5596
  * Object representing Google Cloud upload policy, plus additional data.
5575
5597
  *