@linear/sdk 11.0.0 → 12.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.
@@ -406,6 +406,17 @@ export declare type AuthMembership = {
406
406
  /** The authorizing userId */
407
407
  userId: Scalars["String"];
408
408
  };
409
+ export declare type AuthOauthClient = {
410
+ __typename?: "AuthOauthClient";
411
+ /** OAuth application's client ID. */
412
+ clientId: Scalars["String"];
413
+ /** OAuth application's client secret. */
414
+ clientSecret: Scalars["String"];
415
+ /** The unique identifier of the entity. */
416
+ id: Scalars["ID"];
417
+ /** List of allowed redirect URIs for the application. */
418
+ redirectUris: Array<Scalars["String"]>;
419
+ };
409
420
  /** An organization. Organizations are root-level objects that contain users and teams. */
410
421
  export declare type AuthOrganization = {
411
422
  __typename?: "AuthOrganization";
@@ -3552,12 +3563,16 @@ export declare type JiraConfigurationInput = {
3552
3563
  /** Tuple for mapping Jira projects to Linear teams. */
3553
3564
  export declare type JiraLinearMapping = {
3554
3565
  __typename?: "JiraLinearMapping";
3566
+ /** Whether the sync for this mapping is bidirectional. */
3567
+ bidirectional?: Maybe<Scalars["Boolean"]>;
3555
3568
  /** The Jira id for this project. */
3556
3569
  jiraProjectId: Scalars["String"];
3557
3570
  /** The Linear team id to map to the given project. */
3558
3571
  linearTeamId: Scalars["String"];
3559
3572
  };
3560
3573
  export declare type JiraLinearMappingInput = {
3574
+ /** Whether the sync for this mapping is bidirectional. */
3575
+ bidirectional?: Maybe<Scalars["Boolean"]>;
3561
3576
  /** The Jira id for this project. */
3562
3577
  jiraProjectId: Scalars["String"];
3563
3578
  /** The Linear team id to map to the given project. */
@@ -8130,13 +8145,13 @@ export declare type SlaStatusComparator = {
8130
8145
  export declare type SlackAsksSettings = {
8131
8146
  __typename?: "SlackAsksSettings";
8132
8147
  /** The user role type that is allowed to manage Asks settings. */
8133
- canAdministrate?: Maybe<UserRoleType>;
8148
+ canAdministrate: UserRoleType;
8134
8149
  /** The mapping of Slack channel ID => Slack channel name for connected channels. */
8135
8150
  slackChannelMapping?: Maybe<Array<SlackChannelNameMapping>>;
8136
8151
  };
8137
8152
  export declare type SlackAsksSettingsInput = {
8138
8153
  /** The user role type that is allowed to manage Asks settings. */
8139
- canAdministrate?: Maybe<UserRoleType>;
8154
+ canAdministrate: UserRoleType;
8140
8155
  /** The mapping of Slack channel ID => Slack channel name for connected channels. */
8141
8156
  slackChannelMapping?: Maybe<Array<SlackChannelNameMappingInput>>;
8142
8157
  };
@@ -11262,7 +11277,7 @@ export declare type UserSettingsFragment = {
11262
11277
  };
11263
11278
  export declare type JiraLinearMappingFragment = {
11264
11279
  __typename: "JiraLinearMapping";
11265
- } & Pick<JiraLinearMapping, "jiraProjectId" | "linearTeamId">;
11280
+ } & Pick<JiraLinearMapping, "jiraProjectId" | "linearTeamId" | "bidirectional">;
11266
11281
  export declare type TeamRepoMappingFragment = {
11267
11282
  __typename: "TeamRepoMapping";
11268
11283
  } & Pick<TeamRepoMapping, "gitHubRepoId" | "linearTeamId">;
@@ -11401,6 +11416,9 @@ export declare type AuthApiKeyPayloadFragment = {
11401
11416
  export declare type AuthIntegrationFragment = {
11402
11417
  __typename: "AuthIntegration";
11403
11418
  } & Pick<AuthIntegration, "id">;
11419
+ export declare type AuthOauthClientFragment = {
11420
+ __typename: "AuthOauthClient";
11421
+ } & Pick<AuthOauthClient, "redirectUris" | "clientId" | "clientSecret" | "id">;
11404
11422
  export declare type AuthResolverResponseFragment = {
11405
11423
  __typename: "AuthResolverResponse";
11406
11424
  } & Pick<AuthResolverResponse, "email" | "lastUsedOrganizationId" | "token" | "allowDomainAccess" | "id"> & {
@@ -17217,6 +17235,7 @@ export declare const AuthApiKeyDeletePayloadFragmentDoc: DocumentNode<AuthApiKey
17217
17235
  export declare const AuthApiKeyFragmentDoc: DocumentNode<AuthApiKeyFragment, unknown>;
17218
17236
  export declare const AuthApiKeyPayloadFragmentDoc: DocumentNode<AuthApiKeyPayloadFragment, unknown>;
17219
17237
  export declare const AuthIntegrationFragmentDoc: DocumentNode<AuthIntegrationFragment, unknown>;
17238
+ export declare const AuthOauthClientFragmentDoc: DocumentNode<AuthOauthClientFragment, unknown>;
17220
17239
  export declare const AuthOrganizationFragmentDoc: DocumentNode<AuthOrganizationFragment, unknown>;
17221
17240
  export declare const AuthUserFragmentDoc: DocumentNode<AuthUserFragment, unknown>;
17222
17241
  export declare const AuthResolverResponseFragmentDoc: DocumentNode<AuthResolverResponseFragment, unknown>;