@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.
package/dist/index-cjs.js CHANGED
@@ -85459,6 +85459,7 @@ const JiraLinearMappingFragmentDoc = {
85459
85459
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
85460
85460
  { kind: "Field", name: { kind: "Name", value: "jiraProjectId" } },
85461
85461
  { kind: "Field", name: { kind: "Name", value: "linearTeamId" } },
85462
+ { kind: "Field", name: { kind: "Name", value: "bidirectional" } },
85462
85463
  ],
85463
85464
  },
85464
85465
  },
@@ -86372,6 +86373,26 @@ const AuthIntegrationFragmentDoc = {
86372
86373
  },
86373
86374
  ],
86374
86375
  };
86376
+ const AuthOauthClientFragmentDoc = {
86377
+ kind: "Document",
86378
+ definitions: [
86379
+ {
86380
+ kind: "FragmentDefinition",
86381
+ name: { kind: "Name", value: "AuthOauthClient" },
86382
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClient" } },
86383
+ selectionSet: {
86384
+ kind: "SelectionSet",
86385
+ selections: [
86386
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
86387
+ { kind: "Field", name: { kind: "Name", value: "redirectUris" } },
86388
+ { kind: "Field", name: { kind: "Name", value: "clientId" } },
86389
+ { kind: "Field", name: { kind: "Name", value: "clientSecret" } },
86390
+ { kind: "Field", name: { kind: "Name", value: "id" } },
86391
+ ],
86392
+ },
86393
+ },
86394
+ ],
86395
+ };
86375
86396
  const AuthOrganizationFragmentDoc = {
86376
86397
  kind: "Document",
86377
86398
  definitions: [
@@ -114265,6 +114286,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
114265
114286
  AuthApiKeyFragmentDoc: AuthApiKeyFragmentDoc,
114266
114287
  AuthApiKeyPayloadFragmentDoc: AuthApiKeyPayloadFragmentDoc,
114267
114288
  AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
114289
+ AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
114268
114290
  AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
114269
114291
  AuthUserFragmentDoc: AuthUserFragmentDoc,
114270
114292
  AuthResolverResponseFragmentDoc: AuthResolverResponseFragmentDoc,
@@ -115261,6 +115283,21 @@ class AuthIntegration extends Request {
115261
115283
  this.id = data.id;
115262
115284
  }
115263
115285
  }
115286
+ /**
115287
+ * AuthOauthClient model
115288
+ *
115289
+ * @param request - function to call the graphql client
115290
+ * @param data - L.AuthOauthClientFragment response data
115291
+ */
115292
+ class AuthOauthClient extends Request {
115293
+ constructor(request, data) {
115294
+ super(request);
115295
+ this.clientId = data.clientId;
115296
+ this.clientSecret = data.clientSecret;
115297
+ this.id = data.id;
115298
+ this.redirectUris = data.redirectUris;
115299
+ }
115300
+ }
115264
115301
  /**
115265
115302
  * An organization. Organizations are root-level objects that contain users and teams.
115266
115303
  *
@@ -117685,7 +117722,9 @@ class IssueSearchResultConnection extends Connection {
117685
117722
  */
117686
117723
  class JiraLinearMapping extends Request {
117687
117724
  constructor(request, data) {
117725
+ var _a;
117688
117726
  super(request);
117727
+ this.bidirectional = (_a = data.bidirectional) !== null && _a !== void 0 ? _a : undefined;
117689
117728
  this.jiraProjectId = data.jiraProjectId;
117690
117729
  this.linearTeamId = data.linearTeamId;
117691
117730
  }
@@ -132634,6 +132673,7 @@ exports.AuthApiKey = AuthApiKey;
132634
132673
  exports.AuthApiKeyDeletePayload = AuthApiKeyDeletePayload;
132635
132674
  exports.AuthApiKeyPayload = AuthApiKeyPayload;
132636
132675
  exports.AuthIntegration = AuthIntegration;
132676
+ exports.AuthOauthClient = AuthOauthClient;
132637
132677
  exports.AuthOrganization = AuthOrganization;
132638
132678
  exports.AuthResolverResponse = AuthResolverResponse;
132639
132679
  exports.AuthUser = AuthUser;