@linear/sdk 15.0.0 → 16.0.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.
@@ -2157,6 +2157,7 @@ export declare class IntegrationSettings extends Request {
2157
2157
  jira?: JiraSettings;
2158
2158
  jiraPersonal?: JiraPersonalSettings;
2159
2159
  notion?: NotionSettings;
2160
+ opsgenie?: OpsgenieSettings;
2160
2161
  pagerDuty?: PagerDutySettings;
2161
2162
  sentry?: SentrySettings;
2162
2163
  slack?: SlackSettings;
@@ -3584,6 +3585,17 @@ export declare class OauthToken extends Request {
3584
3585
  /** Auth user who authorized the OAuth application. */
3585
3586
  user: AuthUser;
3586
3587
  }
3588
+ /**
3589
+ * Opsgenie specific settings.
3590
+ *
3591
+ * @param request - function to call the graphql client
3592
+ * @param data - L.OpsgenieSettingsFragment response data
3593
+ */
3594
+ export declare class OpsgenieSettings extends Request {
3595
+ constructor(request: LinearRequest, data: L.OpsgenieSettingsFragment);
3596
+ /** The date when the Opsgenie API failed with an unauthorized error. */
3597
+ apiFailedWithUnauthorizedErrorAt: Date;
3598
+ }
3587
3599
  /**
3588
3600
  * An organization. Organizations are root-level objects that contain user accounts and teams.
3589
3601
  *
@@ -3867,21 +3879,6 @@ export declare class PageInfo extends Request {
3867
3879
  /** Cursor representing the first result in the paginated results. */
3868
3880
  startCursor?: string;
3869
3881
  }
3870
- /**
3871
- * Metadata about a PagerDuty schedule.
3872
- *
3873
- * @param request - function to call the graphql client
3874
- * @param data - L.PagerDutyScheduleInfoFragment response data
3875
- */
3876
- export declare class PagerDutyScheduleInfo extends Request {
3877
- constructor(request: LinearRequest, data: L.PagerDutyScheduleInfoFragment);
3878
- /** The PagerDuty schedule id. */
3879
- scheduleId: string;
3880
- /** The PagerDuty schedule name. */
3881
- scheduleName: string;
3882
- /** The URL of the schedule in PagerDuty's web app. */
3883
- url: string;
3884
- }
3885
3882
  /**
3886
3883
  * PagerDuty specific settings.
3887
3884
  *
@@ -3890,8 +3887,8 @@ export declare class PagerDutyScheduleInfo extends Request {
3890
3887
  */
3891
3888
  export declare class PagerDutySettings extends Request {
3892
3889
  constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
3893
- /** Metadata about a PagerDuty schedule. */
3894
- scheduleMapping: PagerDutyScheduleInfo[];
3890
+ /** The date when the PagerDuty API failed with an unauthorized error. */
3891
+ apiFailedWithUnauthorizedErrorAt: Date;
3895
3892
  }
3896
3893
  /**
3897
3894
  * The paid subscription of an organization.
@@ -5128,8 +5125,6 @@ export declare class Team extends Request {
5128
5125
  issueEstimationType: string;
5129
5126
  /** Whether issues without priority should be sorted first. */
5130
5127
  issueOrderingNoPriorityFirst: boolean;
5131
- /** [DEPRECATED] Whether to move issues to bottom of the column when changing state. Use setIssueSortOrderOnStateChange instead. */
5132
- issueSortOrderDefaultToBottom: boolean;
5133
5128
  /** The team's unique key. The key is used in URLs. */
5134
5129
  key: string;
5135
5130
  /** The team's name. */
@@ -6826,9 +6821,10 @@ export declare class IssueFilterSuggestionQuery extends Request {
6826
6821
  * Call the IssueFilterSuggestion query and return a IssueFilterSuggestionPayload
6827
6822
  *
6828
6823
  * @param prompt - required prompt to pass to issueFilterSuggestion
6824
+ * @param variables - variables without 'prompt' to pass into the IssueFilterSuggestionQuery
6829
6825
  * @returns parsed response from IssueFilterSuggestionQuery
6830
6826
  */
6831
- fetch(prompt: string): LinearFetch<IssueFilterSuggestionPayload>;
6827
+ fetch(prompt: string, variables?: Omit<L.IssueFilterSuggestionQueryVariables, "prompt">): LinearFetch<IssueFilterSuggestionPayload>;
6832
6828
  }
6833
6829
  /**
6834
6830
  * A fetchable IssueImportCheckCsv Query
@@ -12456,9 +12452,10 @@ export declare class LinearSdk extends Request {
12456
12452
  * Suggests filters for an issue view based on a text prompt.
12457
12453
  *
12458
12454
  * @param prompt - required prompt to pass to issueFilterSuggestion
12455
+ * @param variables - variables without 'prompt' to pass into the IssueFilterSuggestionQuery
12459
12456
  * @returns IssueFilterSuggestionPayload
12460
12457
  */
12461
- issueFilterSuggestion(prompt: string): LinearFetch<IssueFilterSuggestionPayload>;
12458
+ issueFilterSuggestion(prompt: string, variables?: Omit<L.IssueFilterSuggestionQueryVariables, "prompt">): LinearFetch<IssueFilterSuggestionPayload>;
12462
12459
  /**
12463
12460
  * Checks a CSV file validity against a specific import service.
12464
12461
  *