@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-umd.js CHANGED
@@ -9,7 +9,7 @@
9
9
  var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
10
10
 
11
11
  (function() {
12
- const env = {"npm_package_name":"linear","npm_package_version":"11.0.0"};
12
+ const env = {"npm_package_name":"linear","npm_package_version":"12.0.0"};
13
13
  try {
14
14
  if (process) {
15
15
  process.env = Object.assign({}, process.env);
@@ -3433,6 +3433,7 @@
3433
3433
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
3434
3434
  { kind: "Field", name: { kind: "Name", value: "jiraProjectId" } },
3435
3435
  { kind: "Field", name: { kind: "Name", value: "linearTeamId" } },
3436
+ { kind: "Field", name: { kind: "Name", value: "bidirectional" } },
3436
3437
  ],
3437
3438
  },
3438
3439
  },
@@ -4346,6 +4347,26 @@
4346
4347
  },
4347
4348
  ],
4348
4349
  };
4350
+ const AuthOauthClientFragmentDoc = {
4351
+ kind: "Document",
4352
+ definitions: [
4353
+ {
4354
+ kind: "FragmentDefinition",
4355
+ name: { kind: "Name", value: "AuthOauthClient" },
4356
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthOauthClient" } },
4357
+ selectionSet: {
4358
+ kind: "SelectionSet",
4359
+ selections: [
4360
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
4361
+ { kind: "Field", name: { kind: "Name", value: "redirectUris" } },
4362
+ { kind: "Field", name: { kind: "Name", value: "clientId" } },
4363
+ { kind: "Field", name: { kind: "Name", value: "clientSecret" } },
4364
+ { kind: "Field", name: { kind: "Name", value: "id" } },
4365
+ ],
4366
+ },
4367
+ },
4368
+ ],
4369
+ };
4349
4370
  const AuthOrganizationFragmentDoc = {
4350
4371
  kind: "Document",
4351
4372
  definitions: [
@@ -32239,6 +32260,7 @@
32239
32260
  AuthApiKeyFragmentDoc: AuthApiKeyFragmentDoc,
32240
32261
  AuthApiKeyPayloadFragmentDoc: AuthApiKeyPayloadFragmentDoc,
32241
32262
  AuthIntegrationFragmentDoc: AuthIntegrationFragmentDoc,
32263
+ AuthOauthClientFragmentDoc: AuthOauthClientFragmentDoc,
32242
32264
  AuthOrganizationFragmentDoc: AuthOrganizationFragmentDoc,
32243
32265
  AuthUserFragmentDoc: AuthUserFragmentDoc,
32244
32266
  AuthResolverResponseFragmentDoc: AuthResolverResponseFragmentDoc,
@@ -33235,6 +33257,21 @@
33235
33257
  this.id = data.id;
33236
33258
  }
33237
33259
  }
33260
+ /**
33261
+ * AuthOauthClient model
33262
+ *
33263
+ * @param request - function to call the graphql client
33264
+ * @param data - L.AuthOauthClientFragment response data
33265
+ */
33266
+ class AuthOauthClient extends Request {
33267
+ constructor(request, data) {
33268
+ super(request);
33269
+ this.clientId = data.clientId;
33270
+ this.clientSecret = data.clientSecret;
33271
+ this.id = data.id;
33272
+ this.redirectUris = data.redirectUris;
33273
+ }
33274
+ }
33238
33275
  /**
33239
33276
  * An organization. Organizations are root-level objects that contain users and teams.
33240
33277
  *
@@ -35659,7 +35696,9 @@
35659
35696
  */
35660
35697
  class JiraLinearMapping extends Request {
35661
35698
  constructor(request, data) {
35699
+ var _a;
35662
35700
  super(request);
35701
+ this.bidirectional = (_a = data.bidirectional) !== null && _a !== void 0 ? _a : undefined;
35663
35702
  this.jiraProjectId = data.jiraProjectId;
35664
35703
  this.linearTeamId = data.linearTeamId;
35665
35704
  }
@@ -50608,6 +50647,7 @@
50608
50647
  exports.AuthApiKeyDeletePayload = AuthApiKeyDeletePayload;
50609
50648
  exports.AuthApiKeyPayload = AuthApiKeyPayload;
50610
50649
  exports.AuthIntegration = AuthIntegration;
50650
+ exports.AuthOauthClient = AuthOauthClient;
50611
50651
  exports.AuthOrganization = AuthOrganization;
50612
50652
  exports.AuthResolverResponse = AuthResolverResponse;
50613
50653
  exports.AuthUser = AuthUser;