@linear/sdk 2.0.0 → 2.1.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
@@ -2,10 +2,10 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
3
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Linear = {}));
5
- }(this, (function (exports) { 'use strict';
5
+ })(this, (function (exports) { 'use strict';
6
6
 
7
7
  (function() {
8
- const env = {"npm_package_name":"@linear/sdk","npm_package_version":"2.0.0"};
8
+ const env = {"npm_package_name":"@linear/sdk","npm_package_version":"2.1.0"};
9
9
  try {
10
10
  if (process) {
11
11
  process.env = Object.assign({}, process.env);
@@ -1369,34 +1369,6 @@
1369
1369
  return o;
1370
1370
  }
1371
1371
 
1372
- /** Different aggregation functions for analytical queries. */
1373
- var Aggregation;
1374
- (function (Aggregation) {
1375
- Aggregation["Avg"] = "avg";
1376
- Aggregation["Count"] = "count";
1377
- Aggregation["Max"] = "max";
1378
- Aggregation["Median"] = "median";
1379
- Aggregation["Min"] = "min";
1380
- Aggregation["P90"] = "p90";
1381
- Aggregation["P95"] = "p95";
1382
- Aggregation["P99"] = "p99";
1383
- Aggregation["Sum"] = "sum";
1384
- })(Aggregation || (Aggregation = {}));
1385
- /** All possible chart types. */
1386
- var ChartType;
1387
- (function (ChartType) {
1388
- ChartType["NivoBar"] = "nivoBar";
1389
- ChartType["NivoScatterPlot"] = "nivoScatterPlot";
1390
- })(ChartType || (ChartType = {}));
1391
- /** Different date aggregation functions for date dimension. */
1392
- var DateAggregation;
1393
- (function (DateAggregation) {
1394
- DateAggregation["Day"] = "day";
1395
- DateAggregation["Month"] = "month";
1396
- DateAggregation["ThirtyMinutes"] = "thirtyMinutes";
1397
- DateAggregation["Week"] = "week";
1398
- DateAggregation["Year"] = "year";
1399
- })(DateAggregation || (DateAggregation = {}));
1400
1372
  /** The day of the week. */
1401
1373
  var Day;
1402
1374
  (function (Day) {
@@ -1408,31 +1380,6 @@
1408
1380
  Day["Tuesday"] = "Tuesday";
1409
1381
  Day["Wednesday"] = "Wednesday";
1410
1382
  })(Day || (Day = {}));
1411
- /** All possible dimensions that can be applied to analytical queries. */
1412
- var DimensionName;
1413
- (function (DimensionName) {
1414
- DimensionName["Assignee"] = "assignee";
1415
- DimensionName["CompletedAt"] = "completedAt";
1416
- DimensionName["CreatedAt"] = "createdAt";
1417
- DimensionName["Creator"] = "creator";
1418
- DimensionName["Cycle"] = "cycle";
1419
- DimensionName["DueDate"] = "dueDate";
1420
- DimensionName["Estimate"] = "estimate";
1421
- DimensionName["Label"] = "label";
1422
- DimensionName["Priority"] = "priority";
1423
- DimensionName["Project"] = "project";
1424
- DimensionName["Roadmap"] = "roadmap";
1425
- DimensionName["SnapshotAt"] = "snapshotAt";
1426
- DimensionName["StateName"] = "stateName";
1427
- DimensionName["StateType"] = "stateType";
1428
- DimensionName["Team"] = "team";
1429
- })(DimensionName || (DimensionName = {}));
1430
- /** Different facts tables to run analytical queries against. */
1431
- var FactsTable;
1432
- (function (FactsTable) {
1433
- FactsTable["Issue"] = "issue";
1434
- FactsTable["IssueSnapshot"] = "issueSnapshot";
1435
- })(FactsTable || (FactsTable = {}));
1436
1383
  /** The type of the issue relation. */
1437
1384
  var IssueRelationType;
1438
1385
  (function (IssueRelationType) {
@@ -1440,15 +1387,6 @@
1440
1387
  IssueRelationType["Duplicate"] = "duplicate";
1441
1388
  IssueRelationType["Related"] = "related";
1442
1389
  })(IssueRelationType || (IssueRelationType = {}));
1443
- /** All possible measures that can be applied to analytical queries. */
1444
- var MeasureName;
1445
- (function (MeasureName) {
1446
- MeasureName["CycleTime"] = "cycleTime";
1447
- MeasureName["Effort"] = "effort";
1448
- MeasureName["Id"] = "id";
1449
- MeasureName["TimeToStart"] = "timeToStart";
1450
- MeasureName["TimeToTriage"] = "timeToTriage";
1451
- })(MeasureName || (MeasureName = {}));
1452
1390
  /** The different requests statuses possible for an OAuth client approval request */
1453
1391
  var OAuthClientApprovalStatus;
1454
1392
  (function (OAuthClientApprovalStatus) {
@@ -1525,6 +1463,7 @@
1525
1463
  UserFlagType["RewindBannerDismissed"] = "rewindBannerDismissed";
1526
1464
  UserFlagType["SlackCommentReactionTipShown"] = "slackCommentReactionTipShown";
1527
1465
  UserFlagType["TeamsPageIntroductionDismissed"] = "teamsPageIntroductionDismissed";
1466
+ UserFlagType["ThreadedCommentsNudgeIsSeen"] = "threadedCommentsNudgeIsSeen";
1528
1467
  UserFlagType["TriageWelcomeDismissed"] = "triageWelcomeDismissed";
1529
1468
  })(UserFlagType || (UserFlagType = {}));
1530
1469
  /** Operations that can be applied to UserFlagType */
@@ -1842,6 +1781,38 @@
1842
1781
  },
1843
1782
  ],
1844
1783
  };
1784
+ const OrganizationDomainFragmentDoc = {
1785
+ kind: "Document",
1786
+ definitions: [
1787
+ {
1788
+ kind: "FragmentDefinition",
1789
+ name: { kind: "Name", value: "OrganizationDomain" },
1790
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationDomain" } },
1791
+ selectionSet: {
1792
+ kind: "SelectionSet",
1793
+ selections: [
1794
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
1795
+ { kind: "Field", name: { kind: "Name", value: "name" } },
1796
+ { kind: "Field", name: { kind: "Name", value: "verificationEmail" } },
1797
+ { kind: "Field", name: { kind: "Name", value: "verified" } },
1798
+ { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
1799
+ { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
1800
+ { kind: "Field", name: { kind: "Name", value: "createdAt" } },
1801
+ { kind: "Field", name: { kind: "Name", value: "id" } },
1802
+ {
1803
+ kind: "Field",
1804
+ name: { kind: "Name", value: "creator" },
1805
+ selectionSet: {
1806
+ kind: "SelectionSet",
1807
+ selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
1808
+ },
1809
+ },
1810
+ { kind: "Field", name: { kind: "Name", value: "claimed" } },
1811
+ ],
1812
+ },
1813
+ },
1814
+ ],
1815
+ };
1845
1816
  const GithubRepoFragmentDoc = {
1846
1817
  kind: "Document",
1847
1818
  definitions: [
@@ -2369,196 +2340,6 @@
2369
2340
  },
2370
2341
  ],
2371
2342
  };
2372
- const UserAccountEmailChangeFragmentDoc = {
2373
- kind: "Document",
2374
- definitions: [
2375
- {
2376
- kind: "FragmentDefinition",
2377
- name: { kind: "Name", value: "UserAccountEmailChange" },
2378
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserAccountEmailChange" } },
2379
- selectionSet: {
2380
- kind: "SelectionSet",
2381
- selections: [
2382
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2383
- { kind: "Field", name: { kind: "Name", value: "id" } },
2384
- { kind: "Field", name: { kind: "Name", value: "newEmail" } },
2385
- { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2386
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
2387
- { kind: "Field", name: { kind: "Name", value: "newEmailVerifiedAt" } },
2388
- { kind: "Field", name: { kind: "Name", value: "oldEmailVerifiedAt" } },
2389
- { kind: "Field", name: { kind: "Name", value: "expiresAt" } },
2390
- { kind: "Field", name: { kind: "Name", value: "canceledAt" } },
2391
- { kind: "Field", name: { kind: "Name", value: "oldEmail" } },
2392
- ],
2393
- },
2394
- },
2395
- ],
2396
- };
2397
- const OrganizationDomainClaimPayloadFragmentDoc = {
2398
- kind: "Document",
2399
- definitions: [
2400
- {
2401
- kind: "FragmentDefinition",
2402
- name: { kind: "Name", value: "OrganizationDomainClaimPayload" },
2403
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationDomainClaimPayload" } },
2404
- selectionSet: {
2405
- kind: "SelectionSet",
2406
- selections: [
2407
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2408
- { kind: "Field", name: { kind: "Name", value: "verificationString" } },
2409
- ],
2410
- },
2411
- },
2412
- ],
2413
- };
2414
- const OrganizationDomainFragmentDoc = {
2415
- kind: "Document",
2416
- definitions: [
2417
- {
2418
- kind: "FragmentDefinition",
2419
- name: { kind: "Name", value: "OrganizationDomain" },
2420
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationDomain" } },
2421
- selectionSet: {
2422
- kind: "SelectionSet",
2423
- selections: [
2424
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2425
- { kind: "Field", name: { kind: "Name", value: "name" } },
2426
- { kind: "Field", name: { kind: "Name", value: "verificationEmail" } },
2427
- { kind: "Field", name: { kind: "Name", value: "verified" } },
2428
- { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
2429
- { kind: "Field", name: { kind: "Name", value: "archivedAt" } },
2430
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2431
- { kind: "Field", name: { kind: "Name", value: "id" } },
2432
- {
2433
- kind: "Field",
2434
- name: { kind: "Name", value: "creator" },
2435
- selectionSet: {
2436
- kind: "SelectionSet",
2437
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
2438
- },
2439
- },
2440
- { kind: "Field", name: { kind: "Name", value: "claimed" } },
2441
- ],
2442
- },
2443
- },
2444
- ],
2445
- };
2446
- const OrganizationDomainPayloadFragmentDoc = {
2447
- kind: "Document",
2448
- definitions: [
2449
- {
2450
- kind: "FragmentDefinition",
2451
- name: { kind: "Name", value: "OrganizationDomainPayload" },
2452
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationDomainPayload" } },
2453
- selectionSet: {
2454
- kind: "SelectionSet",
2455
- selections: [
2456
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2457
- { kind: "Field", name: { kind: "Name", value: "lastSyncId" } },
2458
- {
2459
- kind: "Field",
2460
- name: { kind: "Name", value: "organizationDomain" },
2461
- selectionSet: {
2462
- kind: "SelectionSet",
2463
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "OrganizationDomain" } }],
2464
- },
2465
- },
2466
- { kind: "Field", name: { kind: "Name", value: "success" } },
2467
- ],
2468
- },
2469
- },
2470
- ...OrganizationDomainFragmentDoc.definitions,
2471
- ],
2472
- };
2473
- const OrganizationDomainSimplePayloadFragmentDoc = {
2474
- kind: "Document",
2475
- definitions: [
2476
- {
2477
- kind: "FragmentDefinition",
2478
- name: { kind: "Name", value: "OrganizationDomainSimplePayload" },
2479
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "OrganizationDomainSimplePayload" } },
2480
- selectionSet: {
2481
- kind: "SelectionSet",
2482
- selections: [
2483
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2484
- { kind: "Field", name: { kind: "Name", value: "success" } },
2485
- ],
2486
- },
2487
- },
2488
- ],
2489
- };
2490
- const AuthorizedApplicationFragmentDoc = {
2491
- kind: "Document",
2492
- definitions: [
2493
- {
2494
- kind: "FragmentDefinition",
2495
- name: { kind: "Name", value: "AuthorizedApplication" },
2496
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthorizedApplication" } },
2497
- selectionSet: {
2498
- kind: "SelectionSet",
2499
- selections: [
2500
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2501
- { kind: "Field", name: { kind: "Name", value: "name" } },
2502
- { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
2503
- { kind: "Field", name: { kind: "Name", value: "appId" } },
2504
- { kind: "Field", name: { kind: "Name", value: "clientId" } },
2505
- { kind: "Field", name: { kind: "Name", value: "scope" } },
2506
- { kind: "Field", name: { kind: "Name", value: "webhooksEnabled" } },
2507
- ],
2508
- },
2509
- },
2510
- ],
2511
- };
2512
- const AuthMembershipFragmentDoc = {
2513
- kind: "Document",
2514
- definitions: [
2515
- {
2516
- kind: "FragmentDefinition",
2517
- name: { kind: "Name", value: "AuthMembership" },
2518
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AuthMembership" } },
2519
- selectionSet: {
2520
- kind: "SelectionSet",
2521
- selections: [
2522
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2523
- { kind: "Field", name: { kind: "Name", value: "userId" } },
2524
- { kind: "Field", name: { kind: "Name", value: "createdAt" } },
2525
- ],
2526
- },
2527
- },
2528
- ],
2529
- };
2530
- const WorkspaceAuthorizedApplicationFragmentDoc = {
2531
- kind: "Document",
2532
- definitions: [
2533
- {
2534
- kind: "FragmentDefinition",
2535
- name: { kind: "Name", value: "WorkspaceAuthorizedApplication" },
2536
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "WorkspaceAuthorizedApplication" } },
2537
- selectionSet: {
2538
- kind: "SelectionSet",
2539
- selections: [
2540
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
2541
- { kind: "Field", name: { kind: "Name", value: "name" } },
2542
- { kind: "Field", name: { kind: "Name", value: "imageUrl" } },
2543
- { kind: "Field", name: { kind: "Name", value: "appId" } },
2544
- { kind: "Field", name: { kind: "Name", value: "clientId" } },
2545
- { kind: "Field", name: { kind: "Name", value: "scope" } },
2546
- { kind: "Field", name: { kind: "Name", value: "totalMembers" } },
2547
- {
2548
- kind: "Field",
2549
- name: { kind: "Name", value: "memberships" },
2550
- selectionSet: {
2551
- kind: "SelectionSet",
2552
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "AuthMembership" } }],
2553
- },
2554
- },
2555
- { kind: "Field", name: { kind: "Name", value: "webhooksEnabled" } },
2556
- ],
2557
- },
2558
- },
2559
- ...AuthMembershipFragmentDoc.definitions,
2560
- ],
2561
- };
2562
2343
  const AdminJobConfigurationPayloadFragmentDoc = {
2563
2344
  kind: "Document",
2564
2345
  definitions: [
@@ -2841,6 +2622,7 @@
2841
2622
  kind: "SelectionSet",
2842
2623
  selections: [
2843
2624
  { kind: "Field", name: { kind: "Name", value: "__typename" } },
2625
+ { kind: "Field", name: { kind: "Name", value: "requestInformation" } },
2844
2626
  { kind: "Field", name: { kind: "Name", value: "metadata" } },
2845
2627
  { kind: "Field", name: { kind: "Name", value: "countryCode" } },
2846
2628
  { kind: "Field", name: { kind: "Name", value: "ip" } },
@@ -3515,23 +3297,6 @@
3515
3297
  },
3516
3298
  ],
3517
3299
  };
3518
- const EmailSubscribePayloadFragmentDoc = {
3519
- kind: "Document",
3520
- definitions: [
3521
- {
3522
- kind: "FragmentDefinition",
3523
- name: { kind: "Name", value: "EmailSubscribePayload" },
3524
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EmailSubscribePayload" } },
3525
- selectionSet: {
3526
- kind: "SelectionSet",
3527
- selections: [
3528
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
3529
- { kind: "Field", name: { kind: "Name", value: "success" } },
3530
- ],
3531
- },
3532
- },
3533
- ],
3534
- };
3535
3300
  const EmailUnsubscribePayloadFragmentDoc = {
3536
3301
  kind: "Document",
3537
3302
  definitions: [
@@ -7611,23 +7376,6 @@
7611
7376
  },
7612
7377
  ],
7613
7378
  };
7614
- const UserSubscribeToNewsletterPayloadFragmentDoc = {
7615
- kind: "Document",
7616
- definitions: [
7617
- {
7618
- kind: "FragmentDefinition",
7619
- name: { kind: "Name", value: "UserSubscribeToNewsletterPayload" },
7620
- typeCondition: { kind: "NamedType", name: { kind: "Name", value: "UserSubscribeToNewsletterPayload" } },
7621
- selectionSet: {
7622
- kind: "SelectionSet",
7623
- selections: [
7624
- { kind: "Field", name: { kind: "Name", value: "__typename" } },
7625
- { kind: "Field", name: { kind: "Name", value: "success" } },
7626
- ],
7627
- },
7628
- },
7629
- ],
7630
- };
7631
7379
  const ViewPreferencesFragmentDoc = {
7632
7380
  kind: "Document",
7633
7381
  definitions: [
@@ -20887,47 +20635,6 @@
20887
20635
  ...DocumentPayloadFragmentDoc.definitions,
20888
20636
  ],
20889
20637
  };
20890
- const EmailSubscribeDocument = {
20891
- kind: "Document",
20892
- definitions: [
20893
- {
20894
- kind: "OperationDefinition",
20895
- operation: "mutation",
20896
- name: { kind: "Name", value: "emailSubscribe" },
20897
- variableDefinitions: [
20898
- {
20899
- kind: "VariableDefinition",
20900
- variable: { kind: "Variable", name: { kind: "Name", value: "input" } },
20901
- type: {
20902
- kind: "NonNullType",
20903
- type: { kind: "NamedType", name: { kind: "Name", value: "EmailSubscribeInput" } },
20904
- },
20905
- },
20906
- ],
20907
- selectionSet: {
20908
- kind: "SelectionSet",
20909
- selections: [
20910
- {
20911
- kind: "Field",
20912
- name: { kind: "Name", value: "emailSubscribe" },
20913
- arguments: [
20914
- {
20915
- kind: "Argument",
20916
- name: { kind: "Name", value: "input" },
20917
- value: { kind: "Variable", name: { kind: "Name", value: "input" } },
20918
- },
20919
- ],
20920
- selectionSet: {
20921
- kind: "SelectionSet",
20922
- selections: [{ kind: "FragmentSpread", name: { kind: "Name", value: "EmailSubscribePayload" } }],
20923
- },
20924
- },
20925
- ],
20926
- },
20927
- },
20928
- ...EmailSubscribePayloadFragmentDoc.definitions,
20929
- ],
20930
- };
20931
20638
  const EmailTokenUserAccountAuthDocument = {
20932
20639
  kind: "Document",
20933
20640
  definitions: [
@@ -26762,32 +26469,6 @@
26762
26469
  ...UserSettingsPayloadFragmentDoc.definitions,
26763
26470
  ],
26764
26471
  };
26765
- const UserSubscribeToNewsletterDocument = {
26766
- kind: "Document",
26767
- definitions: [
26768
- {
26769
- kind: "OperationDefinition",
26770
- operation: "mutation",
26771
- name: { kind: "Name", value: "userSubscribeToNewsletter" },
26772
- selectionSet: {
26773
- kind: "SelectionSet",
26774
- selections: [
26775
- {
26776
- kind: "Field",
26777
- name: { kind: "Name", value: "userSubscribeToNewsletter" },
26778
- selectionSet: {
26779
- kind: "SelectionSet",
26780
- selections: [
26781
- { kind: "FragmentSpread", name: { kind: "Name", value: "UserSubscribeToNewsletterPayload" } },
26782
- ],
26783
- },
26784
- },
26785
- ],
26786
- },
26787
- },
26788
- ...UserSubscribeToNewsletterPayloadFragmentDoc.definitions,
26789
- ],
26790
- };
26791
26472
  const SuspendUserDocument = {
26792
26473
  kind: "Document",
26793
26474
  definitions: [
@@ -27305,14 +26986,8 @@
27305
26986
 
27306
26987
  var _generated_documents = /*#__PURE__*/Object.freeze({
27307
26988
  __proto__: null,
27308
- get Aggregation () { return Aggregation; },
27309
- get ChartType () { return ChartType; },
27310
- get DateAggregation () { return DateAggregation; },
27311
26989
  get Day () { return Day; },
27312
- get DimensionName () { return DimensionName; },
27313
- get FactsTable () { return FactsTable; },
27314
26990
  get IssueRelationType () { return IssueRelationType; },
27315
- get MeasureName () { return MeasureName; },
27316
26991
  get OAuthClientApprovalStatus () { return OAuthClientApprovalStatus; },
27317
26992
  get OrganizationDomainAuthType () { return OrganizationDomainAuthType; },
27318
26993
  get PaginationOrderBy () { return PaginationOrderBy; },
@@ -27334,6 +27009,7 @@
27334
27009
  UserFragmentDoc: UserFragmentDoc,
27335
27010
  UserAccountFragmentDoc: UserAccountFragmentDoc,
27336
27011
  SyncResponseFragmentDoc: SyncResponseFragmentDoc,
27012
+ OrganizationDomainFragmentDoc: OrganizationDomainFragmentDoc,
27337
27013
  GithubRepoFragmentDoc: GithubRepoFragmentDoc,
27338
27014
  GithubOrgFragmentDoc: GithubOrgFragmentDoc,
27339
27015
  GithubOAuthTokenPayloadFragmentDoc: GithubOAuthTokenPayloadFragmentDoc,
@@ -27353,14 +27029,6 @@
27353
27029
  IntegrationSettingsFragmentDoc: IntegrationSettingsFragmentDoc,
27354
27030
  SamlConfigurationPayloadFragmentDoc: SamlConfigurationPayloadFragmentDoc,
27355
27031
  UserSettingsFragmentDoc: UserSettingsFragmentDoc,
27356
- UserAccountEmailChangeFragmentDoc: UserAccountEmailChangeFragmentDoc,
27357
- OrganizationDomainClaimPayloadFragmentDoc: OrganizationDomainClaimPayloadFragmentDoc,
27358
- OrganizationDomainFragmentDoc: OrganizationDomainFragmentDoc,
27359
- OrganizationDomainPayloadFragmentDoc: OrganizationDomainPayloadFragmentDoc,
27360
- OrganizationDomainSimplePayloadFragmentDoc: OrganizationDomainSimplePayloadFragmentDoc,
27361
- AuthorizedApplicationFragmentDoc: AuthorizedApplicationFragmentDoc,
27362
- AuthMembershipFragmentDoc: AuthMembershipFragmentDoc,
27363
- WorkspaceAuthorizedApplicationFragmentDoc: WorkspaceAuthorizedApplicationFragmentDoc,
27364
27032
  AdminJobConfigurationPayloadFragmentDoc: AdminJobConfigurationPayloadFragmentDoc,
27365
27033
  AdminJobStatusPayloadFragmentDoc: AdminJobStatusPayloadFragmentDoc,
27366
27034
  ApiKeyFragmentDoc: ApiKeyFragmentDoc,
@@ -27392,7 +27060,6 @@
27392
27060
  DocumentFragmentDoc: DocumentFragmentDoc,
27393
27061
  DocumentConnectionFragmentDoc: DocumentConnectionFragmentDoc,
27394
27062
  DocumentPayloadFragmentDoc: DocumentPayloadFragmentDoc,
27395
- EmailSubscribePayloadFragmentDoc: EmailSubscribePayloadFragmentDoc,
27396
27063
  EmailUnsubscribePayloadFragmentDoc: EmailUnsubscribePayloadFragmentDoc,
27397
27064
  EmailUserAccountAuthChallengeResponseFragmentDoc: EmailUserAccountAuthChallengeResponseFragmentDoc,
27398
27065
  EmojiFragmentDoc: EmojiFragmentDoc,
@@ -27515,7 +27182,6 @@
27515
27182
  UserSettingsFlagPayloadFragmentDoc: UserSettingsFlagPayloadFragmentDoc,
27516
27183
  UserSettingsFlagsResetPayloadFragmentDoc: UserSettingsFlagsResetPayloadFragmentDoc,
27517
27184
  UserSettingsPayloadFragmentDoc: UserSettingsPayloadFragmentDoc,
27518
- UserSubscribeToNewsletterPayloadFragmentDoc: UserSubscribeToNewsletterPayloadFragmentDoc,
27519
27185
  ViewPreferencesFragmentDoc: ViewPreferencesFragmentDoc,
27520
27186
  ViewPreferencesPayloadFragmentDoc: ViewPreferencesPayloadFragmentDoc,
27521
27187
  WebhookFragmentDoc: WebhookFragmentDoc,
@@ -27695,7 +27361,6 @@
27695
27361
  CreateDocumentDocument: CreateDocumentDocument,
27696
27362
  DeleteDocumentDocument: DeleteDocumentDocument,
27697
27363
  UpdateDocumentDocument: UpdateDocumentDocument,
27698
- EmailSubscribeDocument: EmailSubscribeDocument,
27699
27364
  EmailTokenUserAccountAuthDocument: EmailTokenUserAccountAuthDocument,
27700
27365
  EmailUnsubscribeDocument: EmailUnsubscribeDocument,
27701
27366
  EmailUserAccountAuthChallengeDocument: EmailUserAccountAuthChallengeDocument,
@@ -27825,7 +27490,6 @@
27825
27490
  UserSettingsFlagIncrementDocument: UserSettingsFlagIncrementDocument,
27826
27491
  UserSettingsFlagsResetDocument: UserSettingsFlagsResetDocument,
27827
27492
  UpdateUserSettingsDocument: UpdateUserSettingsDocument,
27828
- UserSubscribeToNewsletterDocument: UserSubscribeToNewsletterDocument,
27829
27493
  SuspendUserDocument: SuspendUserDocument,
27830
27494
  UnsuspendUserDocument: UnsuspendUserDocument,
27831
27495
  UpdateUserDocument: UpdateUserDocument,
@@ -28169,7 +27833,7 @@
28169
27833
  */
28170
27834
  class AuditEntry extends Request {
28171
27835
  constructor(request, data) {
28172
- var _a, _b, _c, _d, _e, _f, _g, _h;
27836
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
28173
27837
  super(request);
28174
27838
  this.actorId = (_a = data.actorId) !== null && _a !== void 0 ? _a : undefined;
28175
27839
  this.archivedAt = (_b = parseDate(data.archivedAt)) !== null && _b !== void 0 ? _b : undefined;
@@ -28178,9 +27842,10 @@
28178
27842
  this.id = data.id;
28179
27843
  this.ip = (_e = data.ip) !== null && _e !== void 0 ? _e : undefined;
28180
27844
  this.metadata = (_f = parseJson(data.metadata)) !== null && _f !== void 0 ? _f : undefined;
27845
+ this.requestInformation = (_g = parseJson(data.requestInformation)) !== null && _g !== void 0 ? _g : undefined;
28181
27846
  this.type = data.type;
28182
- this.updatedAt = (_g = parseDate(data.updatedAt)) !== null && _g !== void 0 ? _g : new Date();
28183
- this._actor = (_h = data.actor) !== null && _h !== void 0 ? _h : undefined;
27847
+ this.updatedAt = (_h = parseDate(data.updatedAt)) !== null && _h !== void 0 ? _h : new Date();
27848
+ this._actor = (_j = data.actor) !== null && _j !== void 0 ? _j : undefined;
28184
27849
  }
28185
27850
  /** The user that caused the audit entry to be created. */
28186
27851
  get actor() {
@@ -28213,20 +27878,6 @@
28213
27878
  this.type = data.type;
28214
27879
  }
28215
27880
  }
28216
- /**
28217
- * [INTERNAL] An OAuth userId/createdDate tuple
28218
- *
28219
- * @param request - function to call the graphql client
28220
- * @param data - L.AuthMembershipFragment response data
28221
- */
28222
- class AuthMembership extends Request {
28223
- constructor(request, data) {
28224
- var _a;
28225
- super(request);
28226
- this.createdAt = (_a = parseDate(data.createdAt)) !== null && _a !== void 0 ? _a : new Date();
28227
- this.userId = data.userId;
28228
- }
28229
- }
28230
27881
  /**
28231
27882
  * AuthResolverResponse model
28232
27883
  *
@@ -28248,24 +27899,6 @@
28248
27899
  this.users = data.users.map(node => new User(request, node));
28249
27900
  }
28250
27901
  }
28251
- /**
28252
- * [INTERNAL] Public information of the OAuth application, plus the authorized scopes for a given user.
28253
- *
28254
- * @param request - function to call the graphql client
28255
- * @param data - L.AuthorizedApplicationFragment response data
28256
- */
28257
- class AuthorizedApplication extends Request {
28258
- constructor(request, data) {
28259
- var _a;
28260
- super(request);
28261
- this.appId = data.appId;
28262
- this.clientId = data.clientId;
28263
- this.imageUrl = (_a = data.imageUrl) !== null && _a !== void 0 ? _a : undefined;
28264
- this.name = data.name;
28265
- this.scope = data.scope;
28266
- this.webhooksEnabled = data.webhooksEnabled;
28267
- }
28268
- }
28269
27902
  /**
28270
27903
  * A comment associated with an issue.
28271
27904
  *
@@ -28655,18 +28288,6 @@
28655
28288
  return new DocumentQuery(this._request).fetch(this._document.id);
28656
28289
  }
28657
28290
  }
28658
- /**
28659
- * EmailSubscribePayload model
28660
- *
28661
- * @param request - function to call the graphql client
28662
- * @param data - L.EmailSubscribePayloadFragment response data
28663
- */
28664
- class EmailSubscribePayload extends Request {
28665
- constructor(request, data) {
28666
- super(request);
28667
- this.success = data.success;
28668
- }
28669
- }
28670
28291
  /**
28671
28292
  * EmailUnsubscribePayload model
28672
28293
  *
@@ -30599,44 +30220,6 @@
30599
30220
  return new DeleteOrganizationDomainMutation(this._request).fetch(this.id);
30600
30221
  }
30601
30222
  }
30602
- /**
30603
- * [INTERNAL] Domain claim request response.
30604
- *
30605
- * @param request - function to call the graphql client
30606
- * @param data - L.OrganizationDomainClaimPayloadFragment response data
30607
- */
30608
- class OrganizationDomainClaimPayload extends Request {
30609
- constructor(request, data) {
30610
- super(request);
30611
- this.verificationString = data.verificationString;
30612
- }
30613
- }
30614
- /**
30615
- * [INTERNAL] Organization domain operation response.
30616
- *
30617
- * @param request - function to call the graphql client
30618
- * @param data - L.OrganizationDomainPayloadFragment response data
30619
- */
30620
- class OrganizationDomainPayload extends Request {
30621
- constructor(request, data) {
30622
- super(request);
30623
- this.lastSyncId = data.lastSyncId;
30624
- this.success = data.success;
30625
- this.organizationDomain = new OrganizationDomain(request, data.organizationDomain);
30626
- }
30627
- }
30628
- /**
30629
- * [INTERNAL] Organization domain operation response.
30630
- *
30631
- * @param request - function to call the graphql client
30632
- * @param data - L.OrganizationDomainSimplePayloadFragment response data
30633
- */
30634
- class OrganizationDomainSimplePayload extends Request {
30635
- constructor(request, data) {
30636
- super(request);
30637
- this.success = data.success;
30638
- }
30639
- }
30640
30223
  /**
30641
30224
  * OrganizationExistsPayload model
30642
30225
  *
@@ -32275,27 +31858,6 @@
32275
31858
  this.users = data.users.map(node => new User(request, node));
32276
31859
  }
32277
31860
  }
32278
- /**
32279
- * [INTERNAL] An email change verification challenge.
32280
- *
32281
- * @param request - function to call the graphql client
32282
- * @param data - L.UserAccountEmailChangeFragment response data
32283
- */
32284
- class UserAccountEmailChange extends Request {
32285
- constructor(request, data) {
32286
- var _a, _b, _c, _d, _e, _f;
32287
- super(request);
32288
- this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
32289
- this.canceledAt = (_b = parseDate(data.canceledAt)) !== null && _b !== void 0 ? _b : undefined;
32290
- this.expiresAt = (_c = parseDate(data.expiresAt)) !== null && _c !== void 0 ? _c : new Date();
32291
- this.id = data.id;
32292
- this.newEmail = data.newEmail;
32293
- this.newEmailVerifiedAt = (_d = parseDate(data.newEmailVerifiedAt)) !== null && _d !== void 0 ? _d : undefined;
32294
- this.oldEmail = data.oldEmail;
32295
- this.oldEmailVerifiedAt = (_e = parseDate(data.oldEmailVerifiedAt)) !== null && _e !== void 0 ? _e : undefined;
32296
- this.updatedAt = (_f = parseDate(data.updatedAt)) !== null && _f !== void 0 ? _f : new Date();
32297
- }
32298
- }
32299
31861
  /**
32300
31862
  * UserAdminPayload model
32301
31863
  *
@@ -32435,18 +31997,6 @@
32435
31997
  return new UserSettingsQuery(this._request).fetch();
32436
31998
  }
32437
31999
  }
32438
- /**
32439
- * UserSubscribeToNewsletterPayload model
32440
- *
32441
- * @param request - function to call the graphql client
32442
- * @param data - L.UserSubscribeToNewsletterPayloadFragment response data
32443
- */
32444
- class UserSubscribeToNewsletterPayload extends Request {
32445
- constructor(request, data) {
32446
- super(request);
32447
- this.success = data.success;
32448
- }
32449
- }
32450
32000
  /**
32451
32001
  * View preferences.
32452
32002
  *
@@ -32675,26 +32225,6 @@
32675
32225
  return new WorkflowStateQuery(this._request).fetch(this._workflowState.id);
32676
32226
  }
32677
32227
  }
32678
- /**
32679
- * [INTERNAL] Public information of the OAuth application, plus the userIds and scopes for those users.
32680
- *
32681
- * @param request - function to call the graphql client
32682
- * @param data - L.WorkspaceAuthorizedApplicationFragment response data
32683
- */
32684
- class WorkspaceAuthorizedApplication extends Request {
32685
- constructor(request, data) {
32686
- var _a;
32687
- super(request);
32688
- this.appId = data.appId;
32689
- this.clientId = data.clientId;
32690
- this.imageUrl = (_a = data.imageUrl) !== null && _a !== void 0 ? _a : undefined;
32691
- this.name = data.name;
32692
- this.scope = data.scope;
32693
- this.totalMembers = data.totalMembers;
32694
- this.webhooksEnabled = data.webhooksEnabled;
32695
- this.memberships = data.memberships.map(node => new AuthMembership(request, node));
32696
- }
32697
- }
32698
32228
  /**
32699
32229
  * Zendesk specific settings.
32700
32230
  *
@@ -35320,31 +34850,6 @@
35320
34850
  });
35321
34851
  }
35322
34852
  }
35323
- /**
35324
- * A fetchable EmailSubscribe Mutation
35325
- *
35326
- * @param request - function to call the graphql client
35327
- */
35328
- class EmailSubscribeMutation extends Request {
35329
- constructor(request) {
35330
- super(request);
35331
- }
35332
- /**
35333
- * Call the EmailSubscribe mutation and return a EmailSubscribePayload
35334
- *
35335
- * @param input - required input to pass to emailSubscribe
35336
- * @returns parsed response from EmailSubscribeMutation
35337
- */
35338
- fetch(input) {
35339
- return __awaiter(this, void 0, void 0, function* () {
35340
- const response = yield this._request(EmailSubscribeDocument, {
35341
- input,
35342
- });
35343
- const data = response.emailSubscribe;
35344
- return new EmailSubscribePayload(this._request, data);
35345
- });
35346
- }
35347
- }
35348
34853
  /**
35349
34854
  * A fetchable EmailTokenUserAccountAuth Mutation
35350
34855
  *
@@ -38643,28 +38148,6 @@
38643
38148
  });
38644
38149
  }
38645
38150
  }
38646
- /**
38647
- * A fetchable UserSubscribeToNewsletter Mutation
38648
- *
38649
- * @param request - function to call the graphql client
38650
- */
38651
- class UserSubscribeToNewsletterMutation extends Request {
38652
- constructor(request) {
38653
- super(request);
38654
- }
38655
- /**
38656
- * Call the UserSubscribeToNewsletter mutation and return a UserSubscribeToNewsletterPayload
38657
- *
38658
- * @returns parsed response from UserSubscribeToNewsletterMutation
38659
- */
38660
- fetch() {
38661
- return __awaiter(this, void 0, void 0, function* () {
38662
- const response = yield this._request(UserSubscribeToNewsletterDocument, {});
38663
- const data = response.userSubscribeToNewsletter;
38664
- return new UserSubscribeToNewsletterPayload(this._request, data);
38665
- });
38666
- }
38667
- }
38668
38151
  /**
38669
38152
  * A fetchable SuspendUser Mutation
38670
38153
  *
@@ -41702,15 +41185,6 @@
41702
41185
  updateDocument(id, input) {
41703
41186
  return new UpdateDocumentMutation(this._request).fetch(id, input);
41704
41187
  }
41705
- /**
41706
- * Subscribes the email to the newsletter.
41707
- *
41708
- * @param input - required input to pass to emailSubscribe
41709
- * @returns EmailSubscribePayload
41710
- */
41711
- emailSubscribe(input) {
41712
- return new EmailSubscribeMutation(this._request).fetch(input);
41713
- }
41714
41188
  /**
41715
41189
  * Authenticates a user account via email and authentication token.
41716
41190
  *
@@ -42929,14 +42403,6 @@
42929
42403
  updateUserSettings(id, input) {
42930
42404
  return new UpdateUserSettingsMutation(this._request).fetch(id, input);
42931
42405
  }
42932
- /**
42933
- * Subscribes user to changelog newsletter.
42934
- *
42935
- * @returns UserSubscribeToNewsletterPayload
42936
- */
42937
- get userSubscribeToNewsletter() {
42938
- return new UserSubscribeToNewsletterMutation(this._request).fetch();
42939
- }
42940
42406
  /**
42941
42407
  * Suspends a user. Can only be called by an admin.
42942
42408
  *
@@ -43143,10 +42609,8 @@
43143
42609
  exports.AuditEntryConnection = AuditEntryConnection;
43144
42610
  exports.AuditEntryType = AuditEntryType;
43145
42611
  exports.AuditEntryTypesQuery = AuditEntryTypesQuery;
43146
- exports.AuthMembership = AuthMembership;
43147
42612
  exports.AuthResolverResponse = AuthResolverResponse;
43148
42613
  exports.AuthenticationLinearError = AuthenticationLinearError;
43149
- exports.AuthorizedApplication = AuthorizedApplication;
43150
42614
  exports.AvailableUsersQuery = AvailableUsersQuery;
43151
42615
  exports.BootstrapLinearError = BootstrapLinearError;
43152
42616
  exports.Comment = Comment;
@@ -43246,8 +42710,6 @@
43246
42710
  exports.DocumentPayload = DocumentPayload;
43247
42711
  exports.DocumentQuery = DocumentQuery;
43248
42712
  exports.DocumentsQuery = DocumentsQuery;
43249
- exports.EmailSubscribeMutation = EmailSubscribeMutation;
43250
- exports.EmailSubscribePayload = EmailSubscribePayload;
43251
42713
  exports.EmailTokenUserAccountAuthMutation = EmailTokenUserAccountAuthMutation;
43252
42714
  exports.EmailUnsubscribeMutation = EmailUnsubscribeMutation;
43253
42715
  exports.EmailUnsubscribePayload = EmailUnsubscribePayload;
@@ -43421,9 +42883,6 @@
43421
42883
  exports.OrganizationDeleteChallengeMutation = OrganizationDeleteChallengeMutation;
43422
42884
  exports.OrganizationDeletePayload = OrganizationDeletePayload;
43423
42885
  exports.OrganizationDomain = OrganizationDomain;
43424
- exports.OrganizationDomainClaimPayload = OrganizationDomainClaimPayload;
43425
- exports.OrganizationDomainPayload = OrganizationDomainPayload;
43426
- exports.OrganizationDomainSimplePayload = OrganizationDomainSimplePayload;
43427
42886
  exports.OrganizationExistsPayload = OrganizationExistsPayload;
43428
42887
  exports.OrganizationExistsQuery = OrganizationExistsQuery;
43429
42888
  exports.OrganizationInvite = OrganizationInvite;
@@ -43581,7 +43040,6 @@
43581
43040
  exports.UploadPayload = UploadPayload;
43582
43041
  exports.User = User;
43583
43042
  exports.UserAccount = UserAccount;
43584
- exports.UserAccountEmailChange = UserAccountEmailChange;
43585
43043
  exports.UserAdminPayload = UserAdminPayload;
43586
43044
  exports.UserAuthorizedApplication = UserAuthorizedApplication;
43587
43045
  exports.UserConnection = UserConnection;
@@ -43603,8 +43061,6 @@
43603
43061
  exports.UserSettingsFlagsResetPayload = UserSettingsFlagsResetPayload;
43604
43062
  exports.UserSettingsPayload = UserSettingsPayload;
43605
43063
  exports.UserSettingsQuery = UserSettingsQuery;
43606
- exports.UserSubscribeToNewsletterMutation = UserSubscribeToNewsletterMutation;
43607
- exports.UserSubscribeToNewsletterPayload = UserSubscribeToNewsletterPayload;
43608
43064
  exports.User_AssignedIssuesQuery = User_AssignedIssuesQuery;
43609
43065
  exports.User_CreatedIssuesQuery = User_CreatedIssuesQuery;
43610
43066
  exports.User_TeamMembershipsQuery = User_TeamMembershipsQuery;
@@ -43629,9 +43085,8 @@
43629
43085
  exports.WorkflowStateQuery = WorkflowStateQuery;
43630
43086
  exports.WorkflowState_IssuesQuery = WorkflowState_IssuesQuery;
43631
43087
  exports.WorkflowStatesQuery = WorkflowStatesQuery;
43632
- exports.WorkspaceAuthorizedApplication = WorkspaceAuthorizedApplication;
43633
43088
  exports.ZendeskSettings = ZendeskSettings;
43634
43089
  exports.parseLinearError = parseLinearError;
43635
43090
 
43636
- })));
43091
+ }));
43637
43092
  //# sourceMappingURL=index-umd.js.map