@wular/coder 0.4.9 → 0.4.10

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.
Files changed (547) hide show
  1. package/dist/actions-C3Mgpl9J.js +2 -0
  2. package/dist/adapter-BeezVK-B.js +1 -0
  3. package/dist/{adapter-YCvP9H2n.js → adapter-ChaISKgI.js} +42 -42
  4. package/dist/{adapter-B2RXnvqt.js → adapter-MD6ahqPR.js} +6 -6
  5. package/dist/{add-CvBTpxgY.js → add-B26QSwPY.js} +2 -2
  6. package/dist/add-BbXuvqj1.js +1 -0
  7. package/dist/add-Bk8drM-8.js +1 -0
  8. package/dist/add-CD_L-WW8.js +2 -0
  9. package/dist/agent-B8ItyuHN.js +8 -0
  10. package/dist/{agent-vYm7Geh-.js → agent-DHpMqHVi.js} +1 -1
  11. package/dist/alias-CScCzXhS.js +2 -0
  12. package/dist/{app-CJPFaLIV.js → app-wHQJHu6N.js} +1 -1
  13. package/dist/approvals-BIGQBbCM.js +2 -0
  14. package/dist/{approve-CBuGu3du.js → approve-BnZ3v-3c.js} +1 -1
  15. package/dist/approve-DFSy7Z72.js +2 -0
  16. package/dist/apps-6BgpUsFh.js +372 -0
  17. package/dist/archive-CU0nhUeJ.js +4 -0
  18. package/dist/{archive-C89Z4kSx.js → archive-CY2lvp_c.js} +2 -2
  19. package/dist/args-BekfmD9t.js +1 -0
  20. package/dist/ask-CLDgHB_Y.js +4 -0
  21. package/dist/auth-C3KrIUf1.js +1 -0
  22. package/dist/auth-CGeSfgNb.js +1 -0
  23. package/dist/builtin/coder/agent.json +5 -9
  24. package/dist/chat-AbW-LOHo.js +13 -0
  25. package/dist/chat-bridge-WK-pKNfw.js +2 -0
  26. package/dist/chat-bwKd3y6V.js +1 -0
  27. package/dist/cli-Fp28pM4Y.js +9 -0
  28. package/dist/cli.js +1 -1
  29. package/dist/client-DzwzCsue.js +22 -0
  30. package/dist/config-DoVedq6T.js +3 -0
  31. package/dist/{connection-BtUZA2St.js → connection-5V8doFL7.js} +1 -1
  32. package/dist/connection-Cb0TK201.js +1 -0
  33. package/dist/conversation-DT-35cEt.js +1 -0
  34. package/dist/create-CrjRdQip.js +1 -0
  35. package/dist/credentials-DoL9w8D1.js +1 -0
  36. package/dist/dash/standalone/server/build-index.json +1 -1
  37. package/dist/dash/standalone/server/manifest.json +1317 -1303
  38. package/dist/dash/standalone/server/modules-server-server-react-server/src/client/{index.8e150ef2bc6a5f4e.js → index.843431e3538fd9a4.js} +7 -11
  39. package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{defaults.e6ce0944639198a2.js → defaults.1b615366c56838a1.js} +27 -1
  40. package/dist/dash/standalone/server/modules-server-server-react-server/src/core/event-prompt.87f064ca0141e796.js +30 -0
  41. package/dist/dash/standalone/server/modules-server-server-react-server/src/core/task/{log-view.871cbff2605b5cfd.js → log-view.60308a11f7001eb7.js} +10 -0
  42. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{load.4f942c7f68b2e273.js → load.7ae462ef36271be8.js} +15 -2
  43. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/api/{types.9f59e6c761d6aac4.js → types.79f9092cdb5a00d1.js} +4 -0
  44. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/connect/{page.a2a16ead424b2185.js → page.806027fde54ab723.js} +3 -3
  45. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/create/[id]/{page.90e312759b87cfa2.js → page.bd04d2d3eba00676.js} +2 -2
  46. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{loading.787d09fb0b2b6b57.js → loading.e348ec45e9ed951b.js} +2 -2
  47. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{notify.5fc5e4346dcbfc32.js → notify.857748e260c691e3.js} +1 -1
  48. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{page.1641da62504df30a.js → page.25153459858542f9.js} +9 -9
  49. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/account/{sign-out.5dac3bf780c74354.js → sign-out.ff98573f362d76f3.js} +4 -4
  50. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agent-menu.f1dacbfebc27a656.js → agent-menu.2ed0e66d131fc148.js} +3 -3
  51. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{agents-grid.5da78e9a741b028a.js → agents-grid.8efd14bc39281da9.js} +22 -13
  52. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{connect-apps.722bc3e4ec1f9fad.js → connect-apps.d1e67db29b12dc0a.js} +5 -5
  53. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{loading.2815a010098aa676.js → loading.fac1132ad9c4248e.js} +5 -5
  54. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.b01992337eeca2dc.js → page.0f7d5e3e42462870.js} +15 -20
  55. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{layout.8aeb0fddffe22ad5.js → layout.05210ffa6038791f.js} +19 -19
  56. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{loading.50692149df9abb28.js → loading.388aeaf0c2edf8f8.js} +1 -1
  57. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{page.e2e23101c05b9548.js → page.19fe116c0f802cb1.js} +80 -30
  58. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{loading.31d2c13229ae9222.js → loading.4da9e2ba3fea937f.js} +2 -2
  59. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.11c7b50d6119efe6.js → page.f87fd8eb66f73af0.js} +37 -30
  60. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{platform-actions.92ac7aa258e706a4.js → platform-actions.b6c3d3184e167d0b.js} +68 -41
  61. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.fc530622fa2292a0.js → agent-settings-form.28220621573033d7.js} +47 -72
  62. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{loading.bf17bd39f41db826.js → loading.ad1a4c9b000d269a.js} +1 -1
  63. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{page.6e95dfe07dfebf4b.js → page.2f7467868f599ebc.js} +15 -21
  64. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{loading.7b17368ee81275ab.js → loading.ec94096015346f2c.js} +2 -2
  65. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/tasks/{page.0bd3da9b3227b12f.js → page.a92a36a8ce21088c.js} +1 -1
  66. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{loading.d2cc33cf044a92a3.js → loading.8f998a9c511e1fb3.js} +3 -3
  67. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/usage/{page.91c43fbc54e37646.js → page.8935a5fe5c08bcf1.js} +7 -7
  68. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/{versions-list.23e4131cdf71daa5.js → versions-list.5b97ab6d40e2e639.js} +6 -6
  69. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{loading.47c4c8f31b4f17cc.js → loading.bedcc1aba372fbce.js} +5 -5
  70. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/edit/{page.cbd2bad8fede6fef.js → page.14760e9eedd6ff8e.js} +13 -24
  71. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-pills.d8e785c45f5410a6.js → agent-pills.f987c12bcbc5c850.js} +13 -7
  72. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{agent-toggle.a6e27ac4171bfdb0.js → agent-toggle.a6ee8bd882178e29.js} +3 -3
  73. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.96bdca9762ff3e2e.js → hero.8be1dd4ea3ed6e17.js} +6 -6
  74. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{instructions.ca0c09d4849bfc30.js → instructions.85b1cd986a9edbb5.js} +1 -1
  75. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{connect-repositories.258f6c2c5f1b1b17.js → connect-repositories.59d89152fe845af2.js} +1 -1
  76. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{editor.20c42102ed262db7.js → editor.77f68d431408745b.js} +36 -76
  77. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/editor/{import-picker.b8093a7ca97656a5.js → import-picker.a7b01817a821819a.js} +15 -16
  78. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{loading.6012b36c10c68657.js → loading.ee001af7a96e3972.js} +6 -6
  79. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/new/{page.1ebdb0247922fc14.js → page.c4570fd80bdda68c.js} +11 -19
  80. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{layout.6d2242d49ae9dd35.js → layout.19006c2d7dc8d114.js} +13 -13
  81. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{operator-apps.a56516bc0ba79187.js → operator-apps.d350a52d27f69fa6.js} +7 -7
  82. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/operator/{page.af19494c89ac62c0.js → page.4a652f5080c2b863.js} +8 -9
  83. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{page.c720853404d94114.js → page.d39f7a1719f50c6d.js} +2 -2
  84. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.9b96914a4fa4e2a9.js → connections-list.ff7e1dadcd4df17f.js} +36 -31
  85. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.dbaa8f3d82445b90.js → credentials-list.87a1f8ab71eb4bed.js} +204 -240
  86. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials.c4b01484d183549d.js → credentials.a535c9c6dd8b4cdf.js} +10 -11
  87. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{engines-list.5c03e83663a6a9b7.js → engines-list.29fffd07c1c3b771.js} +7 -7
  88. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.df5ee5d74bec0f5b.js → list.0c87d55cf4ef382c.js} +43 -33
  89. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{loading.480b8f915bae18c1.js → loading.7ca95dcb4fb3362b.js} +1 -1
  90. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{models-list.2835a48d1edeb6d1.js → models-list.6fea9faddb8300bb.js} +147 -137
  91. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{page.1d53415d55e77fee.js → page.295245052b93af90.js} +23 -23
  92. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{runners-list.bf5746f48e3f78f5.js → runners-list.a4a38e54d834a1ec.js} +18 -19
  93. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{secrets-list.b0dedc1567efc09f.js → secrets-list.50f487766f87383c.js} +23 -15
  94. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{layout.567d27e39d42d719.js → layout.c42e0ab39cb2c0e0.js} +5 -5
  95. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{model-options.2eacf7f8ac0032df.js → model-options.a96c11d11674f598.js} +13 -0
  96. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{page.bac05d6e87953d0e.js → page.6997506eaa1a4824.js} +1 -1
  97. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{settings-head.5e2dff2550b3b73e.js → settings-head.bbc7ced8dd5491eb.js} +1 -1
  98. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/{tunnel-guide.d6fae1c5d62f2c74.js → tunnel-guide.29eee1a0b1852168.js} +1 -1
  99. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{create-link.03989d2f7585a045.js → create-link.9458b49dc99bbaaa.js} +5 -5
  100. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{outcome-dialog.4debc1a8c644df4b.js → outcome-dialog.894c73f9abee3ce1.js} +5 -4
  101. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/setup/{page.43c969f59a710781.js → page.77e402bb6e8e7f7e.js} +7 -7
  102. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{activity.3755ae6065c3fc28.js → activity.fcda6f18c8207c99.js} +22 -27
  103. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{loading.9efbed6531879838.js → loading.56520888d5270b88.js} +6 -9
  104. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{page.7b92dcd08095b934.js → page.d0f039221a27b8ef.js} +7 -7
  105. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-actions.62422b873f98ee8e.js → task-actions.f5f2016d2dc7f422.js} +14 -12
  106. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/[id]/{task-view.ae0e9c9dffe0ff9f.js → task-view.a292baa2410cdf64.js} +129 -66
  107. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer-data.ff108c0ef82a4d7b.js → composer-data.309a194fc7fa34be.js} +3 -3
  108. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.fdad306647cbaa59.js → composer.2d4122eb33addbdd.js} +29 -41
  109. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{task.af5001e51d2f612b.js → task.a0c68180db5fb4c1.js} +26 -2
  110. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-list.952f37a9486aebe7.js → tasks-list.021bdc2f3d90af2d.js} +34 -31
  111. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/list/{tasks-section.1247d4765d0e1bdc.js → tasks-section.13f64b0836ae406b.js} +10 -10
  112. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{page.cf74c55e6528c7c9.js → page.b78f0df100410db0.js} +5 -5
  113. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{custom-range.2d55812ec086b540.js → custom-range.2e21c7f891966c15.js} +3 -3
  114. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{day-chart.08d378cca93d3ab1.js → day-chart.261b6651df2d3966.js} +2 -2
  115. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{loading.7aed78a276b08a4f.js → loading.97d277dbab9c15cf.js} +4 -5
  116. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{metric.ada350d2b7449b39.js → metric.5ff3636065481c44.js} +1 -1
  117. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{page.fed9345ebac3e1b3.js → page.93c2306069c03c68.js} +11 -18
  118. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{range-bar.b1296c2378128472.js → range-bar.2197d8f43216d104.js} +4 -4
  119. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/usage/{top-agents.e215d44e00192271.js → top-agents.18fc469e781e2305.js} +6 -10
  120. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{layout.b7e3af142b17941b.js → layout.185dbc99875e208a.js} +11 -3
  121. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/login/{page.226544940a39fd3a.js → page.a82be2fd23e9ac67.js} +2 -7
  122. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/zone.0515a688ee5ff6ca.js +17 -0
  123. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{drawer.8287e5a02144e4f1.js → drawer.d3e61538dbc8ec39.js} +2 -2
  124. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{foreign-link.86f0cc228353da6e.js → foreign-link.1f4217895ff1e835.js} +3 -3
  125. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/heads.37e35439c02fc636.js +16 -0
  126. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{loading-card.0c6ac62ff3ccf38a.js → loading-card.cc76fc9708142525.js} +5 -5
  127. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{page-head.bd54e52ac4a7a89c.js → page-head.85f15db7b648d48c.js} +4 -3
  128. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{stream.1cc355a530dcc5e3.js → stream.95a2468086aceb84.js} +3 -3
  129. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{task-toasts.63f673632770924d.js → task-toasts.e1a484113e1df660.js} +11 -7
  130. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/{theme-choices.5f59814a635caeec.js → theme-choices.85100ed66d6f9200.js} +2 -2
  131. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{back.5681714d0cf45454.js → back.180765bdadf6d602.js} +3 -3
  132. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{org.4d84ad0ac340fbe2.js → org.572ad93c7707ab27.js} +1 -1
  133. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/nav/{side-toggle.249400957d6a7527.js → side-toggle.489faf1a259479f7.js} +2 -2
  134. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{badge.0851f234f300c694.js → badge.c0bc352791a95fd6.js} +1 -1
  135. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{button.983daea9e687fc5d.js → button.ce9e6cdb08ca86db.js} +1 -1
  136. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{card.c08471eaa0bc1cec.js → card.9f0d45b73bc78b4f.js} +9 -5
  137. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{collapse.762eba56417214ca.js → collapse.93e4d1b20c2873ed.js} +13 -3
  138. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{combo.efb84f0cca771948.js → combo.54270c0251466fda.js} +3 -22
  139. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{confirm.53edc755945b0563.js → confirm.c1281f9b12854210.js} +3 -3
  140. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{copy.0b23d7dc05757df5.js → copy.bd6fc1577a393965.js} +2 -2
  141. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{filter.1983b85dd0679af6.js → filter.3a452a262f040973.js} +6 -6
  142. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{icons.a34176f37808cd66.js → icons.e36c72f54750663a.js} +0 -1
  143. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu-items.a8e580a0c90631ff.js → menu-items.1d082ac4dae8f3d4.js} +1 -1
  144. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{menu.a41edd5cde1c90cf.js → menu.ee45bace979944b6.js} +2 -2
  145. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{modal.b5f74ebf59590fa6.js → modal.25d53e5b41b9c4e5.js} +2 -2
  146. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{select.36c6f21ce6aa720f.js → select.2eb33e5bea28d804.js} +28 -23
  147. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{tail.a8a951c757376590.js → tail.04132db0c5033d4f.js} +4 -3
  148. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/{toolbar.9621ef221a896a8e.js → toolbar.24036899654de6df.js} +2 -2
  149. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{action.1a6356d5b722cafb.js → action.968bcab0f5e3665d.js} +2 -2
  150. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{client.d25e6dcc6704eb60.js → client.189224c16057d7a1.js} +1 -1
  151. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/follow.bfb9bcff3c1366d7.js +32 -0
  152. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{format.6a7d1beaf4d09d9c.js → format.ceeaafa10a0563f3.js} +1 -0
  153. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/utils/{paged.18f5872fc5aebe96.js → paged.0e54c3044f8ca567.js} +1 -7
  154. package/dist/dash/standalone/static/assets/chunks/action-410bdc82c416bc01.js +1 -0
  155. package/dist/dash/standalone/static/assets/chunks/agent-pills-0c0b8d40b9bfc78f.js +2 -0
  156. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-5a2601316e2ab283.js +1 -0
  157. package/dist/dash/standalone/static/assets/chunks/{agent-toggle-b2f2c22e63dedc1f.js → agent-toggle-5ede0c449e88cb9d.js} +1 -1
  158. package/dist/dash/standalone/static/assets/chunks/agents-grid-ffb18df48e951ecb.js +1 -0
  159. package/dist/dash/standalone/static/assets/chunks/{back-1d1b062f0e1b29b7.js → back-602db2cfdccf2e7f.js} +1 -1
  160. package/dist/dash/standalone/static/assets/chunks/combo-df2685e277db02c0.js +1 -0
  161. package/dist/dash/standalone/static/assets/chunks/composer-08e49d49c0c3ee94.js +1 -0
  162. package/dist/dash/standalone/static/assets/chunks/composer-data-5fed6c271a4791ca.js +1 -0
  163. package/dist/dash/standalone/static/assets/chunks/composer-e1cefed81ea89b7e.js +1 -0
  164. package/dist/dash/standalone/static/assets/chunks/{confirm-1cb4d8df3974f34a.js → confirm-d163e6865d66dfab.js} +1 -1
  165. package/dist/dash/standalone/static/assets/chunks/connect-apps-ce3c9d049ebad459.js +1 -0
  166. package/dist/dash/standalone/static/assets/chunks/{connect-repositories-995d55b3f166337d.js → connect-repositories-0aa9abc77b9c3d48.js} +1 -1
  167. package/dist/dash/standalone/static/assets/chunks/connections-list-6eddeb8583ded10f.js +1 -0
  168. package/dist/dash/standalone/static/assets/chunks/{copy-c938369a1bfe75fd.js → copy-0cc00656953531be.js} +1 -1
  169. package/dist/dash/standalone/static/assets/chunks/create-link-bc365f8dfe88e6b3.js +1 -0
  170. package/dist/dash/standalone/static/assets/chunks/credentials-list-1b6a81e9b4934dc8.js +1 -0
  171. package/dist/dash/standalone/static/assets/chunks/{custom-range-4eeb710748887f3a.js → custom-range-cae5567874db83ca.js} +1 -1
  172. package/dist/dash/standalone/static/assets/chunks/defaults-52f30e83d7666f7a.js +1 -0
  173. package/dist/dash/standalone/static/assets/chunks/editor-d55d247a1d7de5f0.js +6 -0
  174. package/dist/dash/standalone/static/assets/chunks/engines-list-288559344de4d4b9.js +1 -0
  175. package/dist/dash/standalone/static/assets/chunks/{field-657227821326b5b3.js → field-693bb870ad0bdee8.js} +1 -1
  176. package/dist/dash/standalone/static/assets/chunks/format-a27067f0186e78ac.js +1 -0
  177. package/dist/dash/standalone/static/assets/chunks/instructions-3f18e035338b0d0b.js +1 -0
  178. package/dist/dash/standalone/static/assets/chunks/instructions-a3d7688e421f2a08.js +2 -0
  179. package/dist/dash/standalone/static/assets/chunks/list-2a59237cb7cb0a7c.js +1 -0
  180. package/dist/dash/standalone/static/assets/chunks/model-options-8d2170eebe0d061d.js +1 -0
  181. package/dist/dash/standalone/static/assets/chunks/models-list-5ed9ee02f9b66d98.js +1 -0
  182. package/dist/dash/standalone/static/assets/chunks/{notice-cd32ca98bbc10844.js → notice-7d84ffab32ff24ca.js} +1 -1
  183. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-3cffe3507ea92af2.js +1 -0
  184. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-f6fb8c69efa66508.js +1 -0
  185. package/dist/dash/standalone/static/assets/chunks/platform-actions-4dc31567d00c4cb2.js +1 -0
  186. package/dist/dash/standalone/static/assets/chunks/platform-actions-ecd7200f7749c258.js +1 -0
  187. package/dist/dash/standalone/static/assets/chunks/runners-list-984246a8f9450da1.js +1 -0
  188. package/dist/dash/standalone/static/assets/chunks/{runtime-e8b9eb1e537215ed-1.js → runtime-6e12333f12903a62-1.js} +1 -1
  189. package/dist/dash/standalone/static/assets/chunks/secrets-list-88f8b30abbab52f0.js +1 -0
  190. package/dist/dash/standalone/static/assets/chunks/{segmented-24da438244eedc8f.js → segmented-79c9c69b702e0b90.js} +1 -1
  191. package/dist/dash/standalone/static/assets/chunks/shared-init-6e12333f12903a62-2.js +1 -0
  192. package/dist/dash/standalone/static/assets/chunks/shared-init-962398d15ee67c92.js +5 -0
  193. package/dist/dash/standalone/static/assets/chunks/shared-init-ae95a674d381c095.js +2 -0
  194. package/dist/dash/standalone/static/assets/chunks/side-toggle-7ada95cc7601eb49.js +1 -0
  195. package/dist/dash/standalone/static/assets/chunks/tail-99e29a541a072002.js +1 -0
  196. package/dist/dash/standalone/static/assets/chunks/task-95daa40d39de664f.js +1 -0
  197. package/dist/dash/standalone/static/assets/chunks/task-actions-1cdca1e8d3eee490.js +1 -0
  198. package/dist/dash/standalone/static/assets/chunks/task-view-fdcde0e31f63b737.js +5 -0
  199. package/dist/dash/standalone/static/assets/chunks/tasks-list-3ad1c93deff4fb2e.js +1 -0
  200. package/dist/dash/standalone/static/assets/chunks/types-3eca2c7f47c46054.js +1 -0
  201. package/dist/dash/standalone/static/assets/chunks/{versions-list-31f31eb1923a0ded.js → versions-list-60ac4d8f715bf5f7.js} +1 -1
  202. package/dist/dash/standalone/static/assets/chunks/{wular-pnext-e8b9eb1e537215ed-0.js → wular-pnext-6e12333f12903a62-0.js} +1 -1
  203. package/dist/dash/standalone/static/assets/create-param-id-da3f7e20689fe51a.css +1 -0
  204. package/dist/dash/standalone/static/assets/{dash-param-org-account-3f646d473e3bd795.css → dash-param-org-account-9471bec93c444232.css} +1 -1
  205. package/dist/dash/standalone/static/assets/dash-param-org-agents-64500e78caae32df.css +1 -0
  206. package/dist/dash/standalone/static/assets/dash-param-org-agents-new-c067c22928a2d7cc.css +1 -0
  207. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-9dec87710e04f949.css +1 -0
  208. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-779c474301e04440.css +1 -0
  209. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-c7d594b5232630c2.css +1 -0
  210. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-a80e62570716fdb9.css +1 -0
  211. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-ce278252012297b9.css +1 -0
  212. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-d3b6d701eb8e1403.css +1 -0
  213. package/dist/dash/standalone/static/assets/{dash-param-org-67f7811b1343c064.css → dash-param-org-bcfa3de29341d5ba.css} +1 -1
  214. package/dist/dash/standalone/static/assets/dash-param-org-operator-b7bc6447cc27c9ce.css +1 -0
  215. package/dist/dash/standalone/static/assets/{dash-param-org-settings-a851a659784d94b5.css → dash-param-org-settings-6d6902345d88a687.css} +1 -1
  216. package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-85c7af9a89eef06e.css +1 -0
  217. package/dist/dash/standalone/static/assets/{dash-param-org-setup-1b708aa5bb2f83ef.css → dash-param-org-setup-173efecd7b990c2e.css} +1 -1
  218. package/dist/dash/standalone/static/assets/dash-param-org-tasks-ae0bc03f468e63cc.css +1 -0
  219. package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-7325d8cff5be3592.css +1 -0
  220. package/dist/dash/standalone/static/assets/{dash-param-org-operator-56742192a9aafc19.css → dash-param-org-usage-517b2a7ae462ac57.css} +1 -1
  221. package/dist/dash/standalone/static/assets/global-87e1762113874559.css +1 -0
  222. package/dist/dash/standalone/static/assets/pnext-client-0b3b70f1aefb9947.js +1 -0
  223. package/dist/dash/standalone/static/assets/pnext-client-0d90849808b6eb05.js +1 -0
  224. package/dist/dash/standalone/static/assets/pnext-client-12faa1754e3ef3be.js +1 -0
  225. package/dist/dash/standalone/static/assets/pnext-client-23384b239b81a761.js +1 -0
  226. package/dist/dash/standalone/static/assets/pnext-client-23e200dd9b7a79c0.js +1 -0
  227. package/dist/dash/standalone/static/assets/pnext-client-2562299eef46e62c.js +1 -0
  228. package/dist/dash/standalone/static/assets/pnext-client-3a4ada64991e6a40.js +1 -0
  229. package/dist/dash/standalone/static/assets/pnext-client-71e7ecdfcf86be84.js +1 -0
  230. package/dist/dash/standalone/static/assets/pnext-client-726c29bbb81054c0.js +1 -0
  231. package/dist/dash/standalone/static/assets/pnext-client-825e9f5b63950ef4.js +1 -0
  232. package/dist/dash/standalone/static/assets/pnext-client-894cff70289fb7a3.js +1 -0
  233. package/dist/dash/standalone/static/assets/pnext-client-8f96a4b8a00ff460.js +1 -0
  234. package/dist/dash/standalone/static/assets/pnext-client-9bc9b14c08020649.js +1 -0
  235. package/dist/dash/standalone/static/assets/pnext-client-ab36b406301fd2a4.js +1 -0
  236. package/dist/dash/standalone/static/assets/pnext-client-b8c585cae8da7778.js +1 -0
  237. package/dist/dash/standalone/static/assets/pnext-client-bab4305b41abb15a.js +1 -0
  238. package/dist/dash/standalone/static/assets/pnext-client-bd80926822b3993d.js +1 -0
  239. package/dist/dash/standalone/static/assets/pnext-client-cd4c7b4318fa1846.js +1 -0
  240. package/dist/dash/standalone/static/assets/pnext-client-db55344d00b7888f.js +1 -0
  241. package/dist/dash/standalone/static/assets/pnext-client-eddcd5df2b28120f.js +1 -0
  242. package/dist/default-tTTSBdXq.js +1 -0
  243. package/dist/delete-DM2sA12f.js +2 -0
  244. package/dist/{delete-DS6P_fun.js → delete-DR37NTr1.js} +2 -2
  245. package/dist/disable-Dz_zLPX5.js +1 -0
  246. package/dist/{discover-pKrMDvpW.js → discover-CqabH4Fx.js} +2 -2
  247. package/dist/dispatch-BJZqI7sj.js +8 -0
  248. package/dist/{dist-C3wD7GfG.js → dist-B2jiMMxZ.js} +2 -2
  249. package/dist/{dist-DkATuPBB.js → dist-ClCNj65n.js} +2 -2
  250. package/dist/{dist-BTornX7Y.js → dist-DAnSqY1s.js} +2 -2
  251. package/dist/docs-BV9SC67g.js +2 -0
  252. package/dist/{docs-sFUXzJbk.js → docs-b2mAKC8Z.js} +1 -1
  253. package/dist/drive-CU2HOCfR.js +1 -0
  254. package/dist/{enable-BWvDv7dP.js → enable-Cfeki-ne.js} +1 -1
  255. package/dist/env-DSddo-fz.js +1 -0
  256. package/dist/exec-DcWxZar6.js +3 -0
  257. package/dist/executor-LkokKTTd.js +11 -0
  258. package/dist/flow/builtin/review.d.ts +2 -2
  259. package/dist/flow/builtin/review.js +7 -14
  260. package/dist/flow/index.d.ts +1 -1
  261. package/dist/flow/index.js +1 -1
  262. package/dist/flow-BQcdyrVK.js +1 -0
  263. package/dist/history-D_A5odLI.js +8 -0
  264. package/dist/http-CXaW1e7x.js +1 -0
  265. package/dist/init-DU_S43NG.js +1 -0
  266. package/dist/integrations-DPxWtNnS.js +2 -0
  267. package/dist/integrations-Dwvxl7i2.js +1 -0
  268. package/dist/lib/broker.js +2 -2
  269. package/dist/{list-BDpYPbJF.js → list-7yd9K7d8.js} +1 -1
  270. package/dist/list-BJ0j5eP9.js +4 -0
  271. package/dist/list-Boaz5b5n.js +2 -0
  272. package/dist/{list-CaFQOnfI.js → list-CIS-GYO1.js} +1 -1
  273. package/dist/list-CR0_Emod2.js +4 -0
  274. package/dist/list-CnHZriYt.js +3 -0
  275. package/dist/list-_EH6c041.js +1 -0
  276. package/dist/list-i2r3Nlyz.js +1 -0
  277. package/dist/load-C-GZnuok.js +2 -0
  278. package/dist/local-Fs-dx_dP.js +5 -0
  279. package/dist/log-view-CL3_S0IQ.js +3 -0
  280. package/dist/{login-CpHx_RCq.js → login-CzD2EMD_.js} +1 -1
  281. package/dist/login-DISw6--d.js +1 -0
  282. package/dist/{logout-zSQBDPCK.js → logout-DMnc5yri.js} +1 -1
  283. package/dist/{maintenance-DuIspk-y.js → maintenance-BVDuG9Hg.js} +1 -1
  284. package/dist/match-BfjPZ7gJ.js +1 -0
  285. package/dist/mcp-B-hy3eM-.js +11 -0
  286. package/dist/mcp-CbN-QcpF.js +1 -0
  287. package/dist/mcp-server-DQqSgD3P.js +1 -0
  288. package/dist/model-Ckyoyji3.js +1 -0
  289. package/dist/models-VaiIYlOW.js +1 -0
  290. package/dist/prompt-DQyPCLUo.js +8 -0
  291. package/dist/prompts-CEf7z4i_.js +77 -0
  292. package/dist/push-BNomfHJ3.js +1 -0
  293. package/dist/reconnect-Bd_jna1M.js +1 -0
  294. package/dist/refresh-D-broYEx.js +1 -0
  295. package/dist/remote-f-uny3XZ.js +3 -0
  296. package/dist/remove-CCYHc1FN.js +1 -0
  297. package/dist/remove-DMTz_c25.js +1 -0
  298. package/dist/remove-DdcQ-6by.js +1 -0
  299. package/dist/{remove-BcewhH1U.js → remove-VtavIuGm.js} +1 -1
  300. package/dist/rename-CKMyelWN.js +1 -0
  301. package/dist/{result-Bg557zR6.js → result-CH3_tVXO.js} +2 -2
  302. package/dist/result-DvOqIwhh.js +18 -0
  303. package/dist/{resume-fnx4FUQF.js → resume-6j3RUpqa.js} +2 -2
  304. package/dist/{review-CAHDqPq8.js → review-B4ETH5ki.js} +2 -2
  305. package/dist/{index-vd37q3fn.d.ts → review-DDYD3Yvq.d.ts} +173 -74
  306. package/dist/{rotate-key-Dpx_WmuU.js → rotate-key-Byk_wI73.js} +1 -1
  307. package/dist/run-DKJW7qwy.js +2 -0
  308. package/dist/run-DkYzyUnp.js +5 -0
  309. package/dist/run-LCE1XiyU.js +2 -0
  310. package/dist/runner-CxtzTgVq.js +1 -0
  311. package/dist/runner-Dnu1Vx_i.js +1 -0
  312. package/dist/runner.json +1 -0
  313. package/dist/runner.tgz +0 -0
  314. package/dist/runners-vsoGeyuc.js +36 -0
  315. package/dist/schema-Brm7WIKd.js +8 -0
  316. package/dist/schema.d.ts +2 -2
  317. package/dist/schema.js +1 -1
  318. package/dist/{sdk-CWerLcF5.d.ts → sdk-CKTCrtGe.d.ts} +660 -376
  319. package/dist/sdk.d.ts +4 -5
  320. package/dist/sdk.js +1 -1
  321. package/dist/serve-C1zag2nr.js +1 -0
  322. package/dist/{serve-w-9qRCP1.js → serve-C6tsUF0D.js} +2 -2
  323. package/dist/serve-CCxSxXgv.js +1 -0
  324. package/dist/serve-D8J-sEqm.js +12 -0
  325. package/dist/{server-Bw_YmgCf.js → server-B4SRYM2L.js} +1 -1
  326. package/dist/setup-host-EaP4GPKB.js +6 -0
  327. package/dist/show-CjUG_aIp.js +1 -0
  328. package/dist/show-xdsqD6de.js +1 -0
  329. package/dist/slack-Kpj-G9FE.js +5 -0
  330. package/dist/{status-PO1YXbt4.js → status-BxV_ITeF.js} +1 -1
  331. package/dist/steer-DZ3nkHfC.js +4 -0
  332. package/dist/{stop-CkvoZEAH.js → stop-DGTUYxd6.js} +2 -2
  333. package/dist/stop-qDw_DjOB.js +1 -0
  334. package/dist/task-C506SkPR.js +1 -0
  335. package/dist/task-CQmx_2SI.js +7 -0
  336. package/dist/task-Ls_-kcSx.js +1 -0
  337. package/dist/test-DF_qVK6S.js +1 -0
  338. package/dist/tools-S3eRQOVm.js +1 -0
  339. package/dist/{types-C1tWi5lP.d.ts → types-8zO5Tc9c.d.ts} +91 -26
  340. package/dist/{types-B42Oh0zF.js → types-D_xnfP7m.js} +1 -1
  341. package/dist/unalias-CklkAN1B.js +1 -0
  342. package/dist/update-CZaFjwOJ.js +2 -0
  343. package/dist/upgrade-CUhFmPhl.js +2 -0
  344. package/dist/usage-DTAlb2rC.js +1 -0
  345. package/dist/views-LmbLfqpu.js +5 -0
  346. package/dist/watch-CJruitc6.js +5 -0
  347. package/dist/watch-p0j69fVA.js +9 -0
  348. package/dist/wire-DshFMRsS.js +1 -0
  349. package/dist/worker-BHXjDzRp.js +1 -0
  350. package/dist/worker-nyRZuq4g.js +2 -0
  351. package/dist/{workflow-BKxG9OUk.js → workflow-CJJUiSfv.js} +1 -1
  352. package/docs/agents/coder.md +7 -7
  353. package/docs/agents/index.md +17 -19
  354. package/docs/agents/prompt.md +220 -0
  355. package/docs/cli.md +2 -2
  356. package/docs/config.md +5 -3
  357. package/docs/mcp.md +1 -1
  358. package/docs/review.md +1 -1
  359. package/docs/sdk.md +1 -1
  360. package/docs/self-host.md +7 -9
  361. package/package.json +2 -1
  362. package/dist/actions-5TDwmn_z.js +0 -20
  363. package/dist/adapter-sKt1J1Cm.js +0 -1
  364. package/dist/add-BftLUw05.js +0 -1
  365. package/dist/add-CXAGrCnC.js +0 -1
  366. package/dist/add-Ck_y_nKX.js +0 -2
  367. package/dist/agent-ChnedLBv.js +0 -8
  368. package/dist/alias-BpgVDY6_.js +0 -2
  369. package/dist/approvals-CE8dXZhE.js +0 -2
  370. package/dist/approve-dWW4qt76.js +0 -2
  371. package/dist/apps-B60OpAHX.js +0 -242
  372. package/dist/archive-CmRVm4iS.js +0 -4
  373. package/dist/archive-sweep-EiiXIqjr.js +0 -1
  374. package/dist/args-CxsMr9Un.js +0 -1
  375. package/dist/ask-Bou8zg-4.js +0 -4
  376. package/dist/auth-CImjIcG5.js +0 -1
  377. package/dist/auth-CWzSsiSC.js +0 -1
  378. package/dist/chat-Bbzlea60.js +0 -1
  379. package/dist/chat-Djps0Seg.js +0 -13
  380. package/dist/chat-bridge-CvspGKBc.js +0 -2
  381. package/dist/cli-ZUdhZnuW.js +0 -9
  382. package/dist/config-CF3_A3NX.js +0 -3
  383. package/dist/config-D2FxHWwi.js +0 -14
  384. package/dist/connection-BCRJHTgp.js +0 -1
  385. package/dist/create-Z0QxarzN.js +0 -1
  386. package/dist/credentials-Dt2uP3AQ.js +0 -1
  387. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/responsive.82549d958fae8f00.css.pnext-asset.js +0 -0
  388. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/zone.dbc84f981415d8f7.js +0 -10
  389. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/frame/heads.20414ddcb2d08bcd.js +0 -51
  390. package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/comps/ui/card.15f7435f202831c3.css.pnext-asset.js +0 -0
  391. package/dist/dash/standalone/static/assets/chunks/action-977f2355e308d7d0.js +0 -1
  392. package/dist/dash/standalone/static/assets/chunks/agent-pills-e75e6ac80d515ffc.js +0 -1
  393. package/dist/dash/standalone/static/assets/chunks/agent-settings-form-09f23ed893d441c7.js +0 -1
  394. package/dist/dash/standalone/static/assets/chunks/agents-grid-bb4f3e4d38b2f459.js +0 -1
  395. package/dist/dash/standalone/static/assets/chunks/combo-126d5709a0b3a5bd.js +0 -1
  396. package/dist/dash/standalone/static/assets/chunks/composer-6bf94d1087a6e6a6.js +0 -1
  397. package/dist/dash/standalone/static/assets/chunks/composer-9c1fe67a0de73997.js +0 -1
  398. package/dist/dash/standalone/static/assets/chunks/connect-apps-32c169b6e00711ff.js +0 -1
  399. package/dist/dash/standalone/static/assets/chunks/connections-list-a102e909edff14d4.js +0 -1
  400. package/dist/dash/standalone/static/assets/chunks/create-link-a147953f343355ec.js +0 -1
  401. package/dist/dash/standalone/static/assets/chunks/credentials-list-31e0fbc1ef0d003e.js +0 -1
  402. package/dist/dash/standalone/static/assets/chunks/defaults-dcc0eccad4e8585b.js +0 -1
  403. package/dist/dash/standalone/static/assets/chunks/editor-79560c0f91cfc2f6.js +0 -7
  404. package/dist/dash/standalone/static/assets/chunks/engines-list-d22f50040e6842ae.js +0 -1
  405. package/dist/dash/standalone/static/assets/chunks/format-b19b8eec331414f4.js +0 -1
  406. package/dist/dash/standalone/static/assets/chunks/instructions-a08bb02650dedb8d.js +0 -2
  407. package/dist/dash/standalone/static/assets/chunks/instructions-a1f10bc3c2866e3f.js +0 -1
  408. package/dist/dash/standalone/static/assets/chunks/list-a0cc9bdb05fc71d4.js +0 -1
  409. package/dist/dash/standalone/static/assets/chunks/model-options-3a57918eaa4a2a82.js +0 -1
  410. package/dist/dash/standalone/static/assets/chunks/models-list-63ab774de3bf3788.js +0 -1
  411. package/dist/dash/standalone/static/assets/chunks/outcome-dialog-4ab62d613bee243a.js +0 -1
  412. package/dist/dash/standalone/static/assets/chunks/platform-actions-40824017c7b5b910.js +0 -1
  413. package/dist/dash/standalone/static/assets/chunks/platform-actions-a515643f341df568.js +0 -1
  414. package/dist/dash/standalone/static/assets/chunks/runners-list-a9f4f71695f7b376.js +0 -1
  415. package/dist/dash/standalone/static/assets/chunks/secrets-list-34e09c332363564c.js +0 -1
  416. package/dist/dash/standalone/static/assets/chunks/shared-init-02aaa49ed4606a76.js +0 -2
  417. package/dist/dash/standalone/static/assets/chunks/shared-init-03e620f936463465.js +0 -5
  418. package/dist/dash/standalone/static/assets/chunks/shared-init-6f8c76316a2cd9da.js +0 -1
  419. package/dist/dash/standalone/static/assets/chunks/shared-init-e8b9eb1e537215ed-2.js +0 -1
  420. package/dist/dash/standalone/static/assets/chunks/side-toggle-8563e6056e862225.js +0 -1
  421. package/dist/dash/standalone/static/assets/chunks/tail-ebdefca4d5c23266.js +0 -1
  422. package/dist/dash/standalone/static/assets/chunks/task-6ae2bb4f1b384140.js +0 -1
  423. package/dist/dash/standalone/static/assets/chunks/task-actions-462507b76bda4657.js +0 -1
  424. package/dist/dash/standalone/static/assets/chunks/task-view-341d79730a341007.js +0 -5
  425. package/dist/dash/standalone/static/assets/chunks/tasks-list-6037ecd098332564.js +0 -1
  426. package/dist/dash/standalone/static/assets/create-param-id-8fa3e9101430f26a.css +0 -1
  427. package/dist/dash/standalone/static/assets/dash-param-org-agents-0ddb989cab5b0fbf.css +0 -1
  428. package/dist/dash/standalone/static/assets/dash-param-org-agents-new-504d1a906feabb6f.css +0 -1
  429. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-edit-7cd987a1a42a3b44.css +0 -1
  430. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-fcdddf2dc26453ce.css +0 -1
  431. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-platforms-26b84d659dbca7f4.css +0 -1
  432. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-settings-97ff652f9fe5979d.css +0 -1
  433. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-tasks-d47377c0f877c5c0.css +0 -1
  434. package/dist/dash/standalone/static/assets/dash-param-org-agents-param-slug-usage-6a09580f11d669b7.css +0 -1
  435. package/dist/dash/standalone/static/assets/dash-param-org-settings-param-tab-06283106fffbd5c6.css +0 -1
  436. package/dist/dash/standalone/static/assets/dash-param-org-tasks-9cb2bb12389c9a04.css +0 -1
  437. package/dist/dash/standalone/static/assets/dash-param-org-tasks-param-id-a87fa0eaa02e4008.css +0 -1
  438. package/dist/dash/standalone/static/assets/dash-param-org-usage-786c91a7640542e6.css +0 -1
  439. package/dist/dash/standalone/static/assets/global-eee296f070a9bb95.css +0 -1
  440. package/dist/dash/standalone/static/assets/pnext-client-17c3ee29b7487596.js +0 -1
  441. package/dist/dash/standalone/static/assets/pnext-client-1eaa8deb5395345f.js +0 -1
  442. package/dist/dash/standalone/static/assets/pnext-client-29e2b964470f6587.js +0 -1
  443. package/dist/dash/standalone/static/assets/pnext-client-2a1e756934e7be1a.js +0 -1
  444. package/dist/dash/standalone/static/assets/pnext-client-31e64d49f6132b26.js +0 -1
  445. package/dist/dash/standalone/static/assets/pnext-client-3d13328ad0b1148b.js +0 -1
  446. package/dist/dash/standalone/static/assets/pnext-client-4ac29d3e9f1a91be.js +0 -1
  447. package/dist/dash/standalone/static/assets/pnext-client-7d479b3375e3c07e.js +0 -1
  448. package/dist/dash/standalone/static/assets/pnext-client-9eac45990b233b55.js +0 -1
  449. package/dist/dash/standalone/static/assets/pnext-client-a8c9c169322e7e3d.js +0 -1
  450. package/dist/dash/standalone/static/assets/pnext-client-b622d087a38b1b77.js +0 -1
  451. package/dist/dash/standalone/static/assets/pnext-client-b7fea94dfda72453.js +0 -1
  452. package/dist/dash/standalone/static/assets/pnext-client-cc8e5e6c95040688.js +0 -1
  453. package/dist/dash/standalone/static/assets/pnext-client-d16e2a42b0a274c0.js +0 -1
  454. package/dist/dash/standalone/static/assets/pnext-client-dbccfef0cbb6b18d.js +0 -1
  455. package/dist/dash/standalone/static/assets/pnext-client-e74706ae238018e5.js +0 -1
  456. package/dist/dash/standalone/static/assets/pnext-client-ebe7c9692619ea00.js +0 -1
  457. package/dist/dash/standalone/static/assets/pnext-client-ef8d348060493085.js +0 -1
  458. package/dist/dash/standalone/static/assets/pnext-client-fcdfa8b2c8824449.js +0 -1
  459. package/dist/dash/standalone/static/assets/pnext-client-ff36e2f8a0522759.js +0 -1
  460. package/dist/default-DcYwZCnl.js +0 -1
  461. package/dist/default-EXRzdZUY.js +0 -1
  462. package/dist/delete-Bmn2_TiV.js +0 -2
  463. package/dist/disable-CnCxTC3X.js +0 -1
  464. package/dist/discover-CBP4Uw0N.js +0 -1
  465. package/dist/dispatch-D3Dqxijf.js +0 -8
  466. package/dist/docs-3SW1O9iS.js +0 -2
  467. package/dist/env-C_DoQYl5.js +0 -1
  468. package/dist/exec-BsXFIdTl.js +0 -11
  469. package/dist/executor-5j-Ewzzb.js +0 -11
  470. package/dist/flow-CuUq-MDm.js +0 -1
  471. package/dist/http-Cg_wYcZT.js +0 -1
  472. package/dist/init-Dgj6V-aS.js +0 -1
  473. package/dist/integrations-D3OgJk6Y.js +0 -1
  474. package/dist/integrations-DsFX2KCq.js +0 -1
  475. package/dist/list-B6lwbCEp.js +0 -1
  476. package/dist/list-BE3xmX_4.js +0 -1
  477. package/dist/list-BVIAyAAE.js +0 -4
  478. package/dist/list-Bggy3HZY.js +0 -4
  479. package/dist/list-CLtqMYPK.js +0 -2
  480. package/dist/list-DkO78ZEF.js +0 -3
  481. package/dist/load-CRmQB1LD.js +0 -2
  482. package/dist/local-ccKBhpQc.js +0 -1
  483. package/dist/log-view-DB4nXHXO.js +0 -3
  484. package/dist/login-BCdXHQ7z.js +0 -1
  485. package/dist/match-Kt3vFTl1.js +0 -1
  486. package/dist/mcp-O8VTfzdL.js +0 -12
  487. package/dist/mcp-YhyTUMIM.js +0 -11
  488. package/dist/mcp-server-DGzme0YX.js +0 -1
  489. package/dist/model-Bzpwl_95.js +0 -1
  490. package/dist/models-CdvmuaLv.js +0 -1
  491. package/dist/prompt-C--TI1qn.js +0 -8
  492. package/dist/push-vt81gcxD.js +0 -1
  493. package/dist/reconnect-BfghDbl1.js +0 -1
  494. package/dist/refresh-yXJ13FAf.js +0 -1
  495. package/dist/remote-oQs6My_3.js +0 -1
  496. package/dist/remove-5iAM2aTO.js +0 -1
  497. package/dist/remove-BZCA-gdU.js +0 -1
  498. package/dist/remove-BwhcR6ig.js +0 -1
  499. package/dist/rename-lyssPQfD.js +0 -1
  500. package/dist/result-jeiRJTzA.js +0 -18
  501. package/dist/review-CJS59vO-.d.ts +0 -157
  502. package/dist/run-CLy9a2MO.js +0 -2
  503. package/dist/run-DU4G8gNw.js +0 -2
  504. package/dist/run-D_pl9GF_.js +0 -5
  505. package/dist/runner-DME7ohjt.js +0 -1
  506. package/dist/runner-zT5Oyrfr.js +0 -1
  507. package/dist/runners-CNhxPjg8.js +0 -36
  508. package/dist/schema-BSlHRFSP.js +0 -8
  509. package/dist/serve-FG2LgXxM.js +0 -9
  510. package/dist/serve-UE1fcf4t.js +0 -1
  511. package/dist/serve-wQgyxwdY.js +0 -1
  512. package/dist/setup-host-BsbDs4lJ.js +0 -6
  513. package/dist/show-Cajmf606.js +0 -1
  514. package/dist/show-D0qTuXRU.js +0 -1
  515. package/dist/slack-C_RlVDz7.js +0 -3
  516. package/dist/steer-i6w87g_t.js +0 -4
  517. package/dist/stop-CJ0PHvKp.js +0 -1
  518. package/dist/task-DTN_fIGC.js +0 -1
  519. package/dist/task-DXHKWB_J.js +0 -5
  520. package/dist/task-IoBYe7ok.js +0 -1
  521. package/dist/test-BTkKFbnx.js +0 -1
  522. package/dist/tools-B-2oi2wI.js +0 -1
  523. package/dist/unalias-Cqx7i_L0.js +0 -1
  524. package/dist/update-MNyeVXyy.js +0 -2
  525. package/dist/upgrade-CGSkY0FY.js +0 -2
  526. package/dist/usage-sx-FR0bz.js +0 -1
  527. package/dist/views-BhsnL0nr.js +0 -5
  528. package/dist/watch-IL2eEgwD.js +0 -9
  529. package/dist/watch-qfr7aSfo.js +0 -5
  530. package/dist/wire-B5rc5Av6.js +0 -1
  531. package/dist/worker-BBZ36xL0.js +0 -1
  532. package/dist/worker-D2csFtoH.js +0 -9
  533. /package/dist/dash/standalone/server/modules-server-server-react-server/src/core/{errors.5954bd9bd05e8230.js → errors.0a735590a5412ea6.js} +0 -0
  534. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/(list)/{page.76589c15dee1732d.css.pnext-asset.js → page.cf7460a024706f75.css.pnext-asset.js} +0 -0
  535. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/platforms/{page.3ffef848a0b0dda3.css.pnext-asset.js → page.c811938ae8a8f1df.css.pnext-asset.js} +0 -0
  536. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/[slug]/(tabs)/settings/{agent-settings-form.2d19ea3a4d380e0d.css.pnext-asset.js → agent-settings-form.ca926c58d15044aa.css.pnext-asset.js} +0 -0
  537. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/agents/agent/{hero.13019680f38b0630.css.pnext-asset.js → hero.1bef5dca89b5942c.css.pnext-asset.js} +0 -0
  538. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{operator/page.9002a449f872a10e.css.pnext-asset.js → settings/[tab]/connections-list.46786fe36b121a43.css.pnext-asset.js} +0 -0
  539. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{connections-list.f742847e4887f072.css.pnext-asset.js → credentials-list.f7c27f170ec1e868.css.pnext-asset.js} +0 -0
  540. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{credentials-list.98e0b34932a6ee4c.css.pnext-asset.js → list.8cbee173a5aff98d.css.pnext-asset.js} +0 -0
  541. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/settings/[tab]/{list.e0ce46919b75ef76.css.pnext-asset.js → runners-list.53c7ea80b6fb734c.css.pnext-asset.js} +0 -0
  542. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/{settings/[tab]/runners-list.a835c9a264cf8903.css.pnext-asset.js → tasks/[id]/task-view.57990cfd2bdf5c11.css.pnext-asset.js} +0 -0
  543. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{[id]/task-view.38b1b7ef3976ba71.css.pnext-asset.js → composer.5b8687662e1629fa.css.pnext-asset.js} +0 -0
  544. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/dash/[org]/tasks/{composer.79c015348f861749.css.pnext-asset.js → list/tasks-list.abbbc9ace4d866e5.css.pnext-asset.js} +0 -0
  545. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{dash/[org]/tasks/list/tasks-list.2282a7cef8b15bd8.css.pnext-asset.js → globals.c8fd2b8b01e7077b.css.pnext-asset.js} +0 -0
  546. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/app/{dash/[org]/usage/usage.775df2f43187c487.css.pnext-asset.js → responsive.ebc5f7d77b4b86a0.css.pnext-asset.js} +0 -0
  547. /package/dist/dash/standalone/server/modules-server-server-react-server/src/server/dash/{app/globals.dccea8b03fa4b6d2.css.pnext-asset.js → comps/ui/card.f80288cc42f9bcae.css.pnext-asset.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{l as e}from"./slack-C_RlVDz7.js";import{D as t,E as n,d as r,f as i,l as a,n as o,r as s,u as c}from"./dist-BTornX7Y.js";import{_ as l,a as u,c as d,d as f,f as p,l as m,m as h,r as g,t as _}from"./dist-DkATuPBB.js";import{createHmac as ee}from"node:crypto";import te from"crypto";import{AsyncLocalStorage as ne}from"async_hooks";var v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);const re=`linear-signature`,ie=`linear-timestamp`;var ae=class{constructor(e){this.secret=e}createHandler(){let e=new Map,t=async(t,n)=>{let r=this.getHttpAdapter(t,n);try{if(r.method!==`POST`)return r.send(405,`Method not allowed`);let t=r.signature;if(!t)return r.send(400,`Missing webhook signature`);let n=await r.readRawBody(),i;try{i=this.parseVerifiedPayload(n,t,r.timestamp)}catch{return r.send(400,`Invalid webhook`)}let a=this.collectHandlers(e,i.type);return await Promise.all(a.map(e=>e(i))),r.send(200,`OK`)}catch{return r.send(500,`Internal server error`)}};return t.on=function(t,n){let r=e.get(t)||[];r.push(n),e.set(t,r)},t.off=function(t,n){let r=e.get(t);if(r){let i=r.indexOf(n);i>-1&&(r.splice(i,1),r.length===0&&e.delete(t))}},t.removeAllListeners=function(t){t?e.delete(t):e.clear()},t}isFetchRequest(e){return typeof e==`object`&&!!e&&`arrayBuffer`in e&&typeof Reflect.get(e,`arrayBuffer`)==`function`}createFetchAdapter(e){return{method:e.method,signature:e.headers.get(re),timestamp:e.headers.get(ie),readRawBody:async()=>Buffer.from(await e.arrayBuffer()),send:(e,t)=>new Response(t,{status:e})}}createNodeAdapter(e,t){let n=e.headers[re],r=Array.isArray(n)?n[0]??null:n??null,i=e.headers[ie],a=Array.isArray(i)?i[0]??null:i??null;return{method:e.method||``,signature:r,timestamp:a,readRawBody:async()=>{let t=[];for await(let n of e)t.push(Buffer.from(n));return Buffer.concat(t)},send:(e,n)=>{t.statusCode=e,t.end(n)}}}getHttpAdapter(e,t){return this.isFetchRequest(e)?this.createFetchAdapter(e):this.createNodeAdapter(e,t)}parseVerifiedPayload(e,t,n){let r=this.parseBodyAsWebhookPayload(e),i=n??r.webhookTimestamp;if(!this.verify(e,t,i))throw Error(`Invalid webhook signature`);return r}parseBodyAsWebhookPayload(e){return JSON.parse(e.toString())}collectHandlers(e,t){let n=e.get(t)||[],r=e.get(`*`)||[];return[...n,...r]}verify(e,t,n){let r=Buffer.from(te.createHmac(`sha256`,this.secret).update(e).digest(`hex`)),i=Buffer.from(t);if(r.length!==i.length||!te.timingSafeEqual(r,i))throw Error(`Invalid webhook signature`);if(n){let e=typeof n==`string`?parseInt(n,10):n;if(isNaN(e))throw Error(`Invalid webhook timestamp: ${n}`);if(Math.abs(new Date().getTime()-e)>6e4)throw Error(`Invalid webhook timestamp`)}return!0}parseData(e,t,n){if(!this.verify(e,t,n))throw Error(`Invalid webhook signature`);return this.parseBodyAsWebhookPayload(e)}};let y=function(e){return e.FeatureNotAccessible=`FeatureNotAccessible`,e.InvalidInput=`InvalidInput`,e.Ratelimited=`Ratelimited`,e.NetworkError=`NetworkError`,e.AuthenticationError=`AuthenticationError`,e.Forbidden=`Forbidden`,e.BootstrapError=`BootstrapError`,e.Unknown=`Unknown`,e.InternalError=`InternalError`,e.Other=`Other`,e.UserError=`UserError`,e.GraphqlError=`GraphqlError`,e.LockTimeout=`LockTimeout`,e.UsageLimitExceeded=`UsageLimitExceeded`,e}({});function oe(e){return Object.entries(e).reduce((e,[t,n])=>{let r=`${t}@${encodeURIComponent(n)}`;return e?`${e} ${r}`:r},``)}function se(e){return e?`${e.charAt(0).toUpperCase()}${e.slice(1)}`:void 0}function ce(e){return e!=null}function b(e,t){return Object.keys(e).find(n=>e[n]===t)}const le={[y.FeatureNotAccessible]:`feature not accessible`,[y.InvalidInput]:`invalid input`,[y.Ratelimited]:`ratelimited`,[y.NetworkError]:`network error`,[y.AuthenticationError]:`authentication error`,[y.Forbidden]:`forbidden`,[y.BootstrapError]:`bootstrap error`,[y.Unknown]:`unknown`,[y.InternalError]:`internal error`,[y.Other]:`other`,[y.UserError]:`user error`,[y.GraphqlError]:`graphql error`,[y.LockTimeout]:`lock timeout`,[y.UsageLimitExceeded]:`usage limit exceeded`};function ue(e){return b(le,e)??y.Unknown}const de=`Unknown error from LinearClient`;var fe=class{type;message;userError;path;constructor(e){this.type=ue(e?.extensions?.type),this.userError=e?.extensions?.userError,this.path=e?.path,this.message=e?.extensions?.userPresentableMessage??e?.message??e?.extensions?.type??de}},x=class extends Error{type;errors;query;variables;data;status;raw;constructor(e,t,n){super(Array.from(new Set([se(e?.message?.split(`: {`)?.[0]),e?.response?.error,t?.[0]?.message].filter(ce))).filter(ce).join(` - `)??de),this.type=n,this.errors=t,this.query=e?.request?.query,this.variables=e?.request?.variables,this.status=e?.response?.status,this.data=e?.response?.data,this.raw=e}},pe=class extends x{constructor(e,t){super(e,t,y.FeatureNotAccessible)}},me=class extends x{constructor(e,t){super(e,t,y.InvalidInput)}},he=class extends x{constructor(e,t){super(e,t,y.Ratelimited);let n=e?.response?.headers;this.retryAfter=this.parseNumber(n?.get(`retry-after`)),this.requestsLimit=this.parseNumber(n?.get(`x-ratelimit-requests-limit`)),this.requestsRemaining=this.parseNumber(n?.get(`x-ratelimit-requests-remaining`)),this.requestsResetAt=this.parseNumber(n?.get(`x-ratelimit-requests-reset`)),this.complexityLimit=this.parseNumber(n?.get(`x-ratelimit-complexity-limit`)),this.complexityRemaining=this.parseNumber(n?.get(`x-ratelimit-complexity-remaining`)),this.complexityResetAt=this.parseNumber(n?.get(`x-ratelimit-complexity-reset`))}retryAfter;requestsLimit;requestsRemaining;requestsResetAt;complexityLimit;complexityRemaining;complexityResetAt;parseNumber(e){if(e!=null&&e!==``)return Number(e)??void 0}},ge=class extends x{constructor(e,t){super(e,t,y.NetworkError)}},_e=class extends x{constructor(e,t){super(e,t,y.AuthenticationError)}},ve=class extends x{constructor(e,t){super(e,t,y.Forbidden)}},ye=class extends x{constructor(e,t){super(e,t,y.BootstrapError)}},be=class extends x{constructor(e,t){super(e,t,y.Unknown)}},xe=class extends x{constructor(e,t){super(e,t,y.InternalError)}},Se=class extends x{constructor(e,t){super(e,t,y.Other)}},Ce=class extends x{constructor(e,t){super(e,t,y.UserError)}},we=class extends x{constructor(e,t){super(e,t,y.GraphqlError)}},Te=class extends x{constructor(e,t){super(e,t,y.LockTimeout)}},Ee=class extends x{constructor(e,t){super(e,t,y.UsageLimitExceeded)}};const De={[y.FeatureNotAccessible]:pe,[y.InvalidInput]:me,[y.Ratelimited]:he,[y.NetworkError]:ge,[y.AuthenticationError]:_e,[y.Forbidden]:ve,[y.BootstrapError]:ye,[y.Unknown]:be,[y.InternalError]:xe,[y.Other]:Se,[y.UserError]:Ce,[y.GraphqlError]:we,[y.LockTimeout]:Te,[y.UsageLimitExceeded]:Ee};function Oe(e){if(e instanceof x)return e;let t=(e?.response?.errors??[]).map(e=>new fe(e)),n=e?.response?.status;return new(De[t[0]?.type??(n===403?y.Forbidden:n===429?y.Ratelimited:`${n}`.startsWith(`4`)?y.AuthenticationError:n===500?y.InternalError:`${n}`.startsWith(`5`)?y.NetworkError:y.Unknown)]??x)(e,t)}var ke=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):void 0})),Ae=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=n(ke());function n(e){return e&&e.__esModule?e:{default:e}}function r(e){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}var i=10,a=2;function o(e){return s(e,[])}function s(e,t){switch(r(e)){case`string`:return JSON.stringify(e);case`function`:return e.name?`[function ${e.name}]`:`[function]`;case`object`:return e===null?`null`:c(e,t);default:return String(e)}}function c(e,t){if(t.indexOf(e)!==-1)return`[Circular]`;var n=[].concat(t,[e]),r=d(e);if(r!==void 0){var i=r.call(e);if(i!==e)return typeof i==`string`?i:s(i,n)}else if(Array.isArray(e))return u(e,n);return l(e,n)}function l(e,t){var n=Object.keys(e);return n.length===0?`{}`:t.length>a?`[`+f(e)+`]`:`{ `+n.map(function(n){var r=s(e[n],t);return n+`: `+r}).join(`, `)+` }`}function u(e,t){if(e.length===0)return`[]`;if(t.length>a)return`[Array]`;for(var n=Math.min(i,e.length),r=e.length-n,o=[],c=0;c<n;++c)o.push(s(e[c],t));return r===1?o.push(`... 1 more item`):r>1&&o.push(`... ${r} more items`),`[`+o.join(`, `)+`]`}function d(e){var n=e[String(t.default)];if(typeof n==`function`)return n;if(typeof e.inspect==`function`)return e.inspect}function f(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,``).replace(/]$/,``);if(t===`Object`&&typeof e.constructor==`function`){var n=e.constructor.name;if(typeof n==`string`&&n!==``)return n}return t}})),je=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e,t){if(!e)throw Error(t??`Unexpected invariant triggered.`)}})),Me=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(je()),n=r(ke());function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var r=e.prototype.toJSON;typeof r==`function`||(0,t.default)(0),e.prototype.inspect=r,n.default&&(e.prototype[n.default]=r)}})),Ne=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isNode=a,e.Token=e.Location=void 0;var t=n(Me());function n(e){return e&&e.__esModule?e:{default:e}}var r=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}var t=e.prototype;return t.toJSON=function(){return{start:this.start,end:this.end}},e}();e.Location=r,(0,t.default)(r);var i=function(){function e(e,t,n,r,i,a,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=a,this.next=null}var t=e.prototype;return t.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();e.Token=i,(0,t.default)(i);function a(e){return e!=null&&typeof e.kind==`string`}})),Pe=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.visit=o,e.visitInParallel=s,e.getVisitFn=c,e.BREAK=e.QueryDocumentKeys=void 0;var t=r(Ae()),n=Ne();function r(e){return e&&e.__esModule?e:{default:e}}var i={Name:[],Document:[`definitions`],OperationDefinition:[`name`,`variableDefinitions`,`directives`,`selectionSet`],VariableDefinition:[`variable`,`type`,`defaultValue`,`directives`],Variable:[`name`],SelectionSet:[`selections`],Field:[`alias`,`name`,`arguments`,`directives`,`selectionSet`],Argument:[`name`,`value`],FragmentSpread:[`name`,`directives`],InlineFragment:[`typeCondition`,`directives`,`selectionSet`],FragmentDefinition:[`name`,`variableDefinitions`,`typeCondition`,`directives`,`selectionSet`],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[`values`],ObjectValue:[`fields`],ObjectField:[`name`,`value`],Directive:[`name`,`arguments`],NamedType:[`name`],ListType:[`type`],NonNullType:[`type`],SchemaDefinition:[`description`,`directives`,`operationTypes`],OperationTypeDefinition:[`type`],ScalarTypeDefinition:[`description`,`name`,`directives`],ObjectTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],FieldDefinition:[`description`,`name`,`arguments`,`type`,`directives`],InputValueDefinition:[`description`,`name`,`type`,`defaultValue`,`directives`],InterfaceTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],UnionTypeDefinition:[`description`,`name`,`directives`,`types`],EnumTypeDefinition:[`description`,`name`,`directives`,`values`],EnumValueDefinition:[`description`,`name`,`directives`],InputObjectTypeDefinition:[`description`,`name`,`directives`,`fields`],DirectiveDefinition:[`description`,`name`,`arguments`,`locations`],SchemaExtension:[`directives`,`operationTypes`],ScalarTypeExtension:[`name`,`directives`],ObjectTypeExtension:[`name`,`interfaces`,`directives`,`fields`],InterfaceTypeExtension:[`name`,`interfaces`,`directives`,`fields`],UnionTypeExtension:[`name`,`directives`,`types`],EnumTypeExtension:[`name`,`directives`,`values`],InputObjectTypeExtension:[`name`,`directives`,`fields`]};e.QueryDocumentKeys=i;var a=Object.freeze({});e.BREAK=a;function o(e,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i,s=void 0,l=Array.isArray(e),u=[e],d=-1,f=[],p=void 0,m=void 0,h=void 0,g=[],_=[],ee=e;do{d++;var te=d===u.length,ne=te&&f.length!==0;if(te){if(m=_.length===0?void 0:g[g.length-1],p=h,h=_.pop(),ne){if(l)p=p.slice();else{for(var v={},re=0,ie=Object.keys(p);re<ie.length;re++){var ae=ie[re];v[ae]=p[ae]}p=v}for(var y=0,oe=0;oe<f.length;oe++){var se=f[oe][0],ce=f[oe][1];l&&(se-=y),l&&ce===null?(p.splice(se,1),y++):p[se]=ce}}d=s.index,u=s.keys,f=s.edits,l=s.inArray,s=s.prev}else{if(m=h?l?d:u[d]:void 0,p=h?h[m]:ee,p==null)continue;h&&g.push(m)}var b=void 0;if(!Array.isArray(p)){if(!(0,n.isNode)(p))throw Error(`Invalid AST Node: ${(0,t.default)(p)}.`);var le=c(r,p.kind,te);if(le){if(b=le.call(r,p,m,h,g,_),b===a)break;if(b===!1){if(!te){g.pop();continue}}else if(b!==void 0&&(f.push([m,b]),!te))if((0,n.isNode)(b))p=b;else{g.pop();continue}}}b===void 0&&ne&&f.push([m,p]),te?g.pop():(s={inArray:l,index:d,keys:u,edits:f,prev:s},l=Array.isArray(p),u=l?p:o[p.kind]??[],d=-1,f=[],h&&_.push(h),h=p)}while(s!==void 0);return f.length!==0&&(ee=f[f.length-1][1]),ee}function s(e){var t=Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(t[r]==null){var i=c(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(o===!1)t[r]=n;else if(o===a)t[r]=a;else if(o!==void 0)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r]==null){var i=c(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(o!==void 0&&o!==!1)return o}}else t[r]===n&&(t[r]=null)}}}function c(e,t,n){var r=e[t];if(r){if(!n&&typeof r==`function`)return r;var i=n?r.leave:r.enter;if(typeof i==`function`)return i}else{var a=n?e.leave:e.enter;if(a){if(typeof a==`function`)return a;var o=a[t];if(typeof o==`function`)return o}}}})),Fe=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.dedentBlockStringValue=t,e.getBlockStringIndentation=r,e.printBlockString=i;function t(e){var t=e.split(/\r\n|[\n\r]/g),i=r(e);if(i!==0)for(var a=1;a<t.length;a++)t[a]=t[a].slice(i);for(var o=0;o<t.length&&n(t[o]);)++o;for(var s=t.length;s>o&&n(t[s-1]);)--s;return t.slice(o,s).join(`
1
+ import{s as e}from"./slack-Kpj-G9FE.js";import{D as t,E as n,d as r,f as i,i as a,l as o,n as s,r as c,u as l}from"./dist-DAnSqY1s.js";import{_ as u,a as d,c as f,d as p,f as m,l as h,m as ee,r as g,t as _}from"./dist-ClCNj65n.js";import{AsyncLocalStorage as te}from"async_hooks";import ne from"crypto";var v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);const re=`linear-signature`,ie=`linear-timestamp`;var ae=class{constructor(e){this.secret=e}createHandler(){let e=new Map,t=async(t,n)=>{let r=this.getHttpAdapter(t,n);try{if(r.method!==`POST`)return r.send(405,`Method not allowed`);let t=r.signature;if(!t)return r.send(400,`Missing webhook signature`);let n=await r.readRawBody(),i;try{i=this.parseVerifiedPayload(n,t,r.timestamp)}catch{return r.send(400,`Invalid webhook`)}let a=this.collectHandlers(e,i.type);return await Promise.all(a.map(e=>e(i))),r.send(200,`OK`)}catch{return r.send(500,`Internal server error`)}};return t.on=function(t,n){let r=e.get(t)||[];r.push(n),e.set(t,r)},t.off=function(t,n){let r=e.get(t);if(r){let i=r.indexOf(n);i>-1&&(r.splice(i,1),r.length===0&&e.delete(t))}},t.removeAllListeners=function(t){t?e.delete(t):e.clear()},t}isFetchRequest(e){return typeof e==`object`&&!!e&&`arrayBuffer`in e&&typeof Reflect.get(e,`arrayBuffer`)==`function`}createFetchAdapter(e){return{method:e.method,signature:e.headers.get(re),timestamp:e.headers.get(ie),readRawBody:async()=>Buffer.from(await e.arrayBuffer()),send:(e,t)=>new Response(t,{status:e})}}createNodeAdapter(e,t){let n=e.headers[re],r=Array.isArray(n)?n[0]??null:n??null,i=e.headers[ie],a=Array.isArray(i)?i[0]??null:i??null;return{method:e.method||``,signature:r,timestamp:a,readRawBody:async()=>{let t=[];for await(let n of e)t.push(Buffer.from(n));return Buffer.concat(t)},send:(e,n)=>{t.statusCode=e,t.end(n)}}}getHttpAdapter(e,t){return this.isFetchRequest(e)?this.createFetchAdapter(e):this.createNodeAdapter(e,t)}parseVerifiedPayload(e,t,n){let r=this.parseBodyAsWebhookPayload(e),i=n??r.webhookTimestamp;if(!this.verify(e,t,i))throw Error(`Invalid webhook signature`);return r}parseBodyAsWebhookPayload(e){return JSON.parse(e.toString())}collectHandlers(e,t){let n=e.get(t)||[],r=e.get(`*`)||[];return[...n,...r]}verify(e,t,n){let r=Buffer.from(ne.createHmac(`sha256`,this.secret).update(e).digest(`hex`)),i=Buffer.from(t);if(r.length!==i.length||!ne.timingSafeEqual(r,i))throw Error(`Invalid webhook signature`);if(n){let e=typeof n==`string`?parseInt(n,10):n;if(isNaN(e))throw Error(`Invalid webhook timestamp: ${n}`);if(Math.abs(new Date().getTime()-e)>6e4)throw Error(`Invalid webhook timestamp`)}return!0}parseData(e,t,n){if(!this.verify(e,t,n))throw Error(`Invalid webhook signature`);return this.parseBodyAsWebhookPayload(e)}};let y=function(e){return e.FeatureNotAccessible=`FeatureNotAccessible`,e.InvalidInput=`InvalidInput`,e.Ratelimited=`Ratelimited`,e.NetworkError=`NetworkError`,e.AuthenticationError=`AuthenticationError`,e.Forbidden=`Forbidden`,e.BootstrapError=`BootstrapError`,e.Unknown=`Unknown`,e.InternalError=`InternalError`,e.Other=`Other`,e.UserError=`UserError`,e.GraphqlError=`GraphqlError`,e.LockTimeout=`LockTimeout`,e.UsageLimitExceeded=`UsageLimitExceeded`,e}({});function oe(e){return Object.entries(e).reduce((e,[t,n])=>{let r=`${t}@${encodeURIComponent(n)}`;return e?`${e} ${r}`:r},``)}function se(e){return e?`${e.charAt(0).toUpperCase()}${e.slice(1)}`:void 0}function ce(e){return e!=null}function b(e,t){return Object.keys(e).find(n=>e[n]===t)}const le={[y.FeatureNotAccessible]:`feature not accessible`,[y.InvalidInput]:`invalid input`,[y.Ratelimited]:`ratelimited`,[y.NetworkError]:`network error`,[y.AuthenticationError]:`authentication error`,[y.Forbidden]:`forbidden`,[y.BootstrapError]:`bootstrap error`,[y.Unknown]:`unknown`,[y.InternalError]:`internal error`,[y.Other]:`other`,[y.UserError]:`user error`,[y.GraphqlError]:`graphql error`,[y.LockTimeout]:`lock timeout`,[y.UsageLimitExceeded]:`usage limit exceeded`};function ue(e){return b(le,e)??y.Unknown}const de=`Unknown error from LinearClient`;var fe=class{type;message;userError;path;constructor(e){this.type=ue(e?.extensions?.type),this.userError=e?.extensions?.userError,this.path=e?.path,this.message=e?.extensions?.userPresentableMessage??e?.message??e?.extensions?.type??de}},x=class extends Error{type;errors;query;variables;data;status;raw;constructor(e,t,n){super(Array.from(new Set([se(e?.message?.split(`: {`)?.[0]),e?.response?.error,t?.[0]?.message].filter(ce))).filter(ce).join(` - `)??de),this.type=n,this.errors=t,this.query=e?.request?.query,this.variables=e?.request?.variables,this.status=e?.response?.status,this.data=e?.response?.data,this.raw=e}},pe=class extends x{constructor(e,t){super(e,t,y.FeatureNotAccessible)}},me=class extends x{constructor(e,t){super(e,t,y.InvalidInput)}},he=class extends x{constructor(e,t){super(e,t,y.Ratelimited);let n=e?.response?.headers;this.retryAfter=this.parseNumber(n?.get(`retry-after`)),this.requestsLimit=this.parseNumber(n?.get(`x-ratelimit-requests-limit`)),this.requestsRemaining=this.parseNumber(n?.get(`x-ratelimit-requests-remaining`)),this.requestsResetAt=this.parseNumber(n?.get(`x-ratelimit-requests-reset`)),this.complexityLimit=this.parseNumber(n?.get(`x-ratelimit-complexity-limit`)),this.complexityRemaining=this.parseNumber(n?.get(`x-ratelimit-complexity-remaining`)),this.complexityResetAt=this.parseNumber(n?.get(`x-ratelimit-complexity-reset`))}retryAfter;requestsLimit;requestsRemaining;requestsResetAt;complexityLimit;complexityRemaining;complexityResetAt;parseNumber(e){if(e!=null&&e!==``)return Number(e)??void 0}},ge=class extends x{constructor(e,t){super(e,t,y.NetworkError)}},_e=class extends x{constructor(e,t){super(e,t,y.AuthenticationError)}},ve=class extends x{constructor(e,t){super(e,t,y.Forbidden)}},ye=class extends x{constructor(e,t){super(e,t,y.BootstrapError)}},be=class extends x{constructor(e,t){super(e,t,y.Unknown)}},xe=class extends x{constructor(e,t){super(e,t,y.InternalError)}},Se=class extends x{constructor(e,t){super(e,t,y.Other)}},Ce=class extends x{constructor(e,t){super(e,t,y.UserError)}},we=class extends x{constructor(e,t){super(e,t,y.GraphqlError)}},Te=class extends x{constructor(e,t){super(e,t,y.LockTimeout)}},Ee=class extends x{constructor(e,t){super(e,t,y.UsageLimitExceeded)}};const De={[y.FeatureNotAccessible]:pe,[y.InvalidInput]:me,[y.Ratelimited]:he,[y.NetworkError]:ge,[y.AuthenticationError]:_e,[y.Forbidden]:ve,[y.BootstrapError]:ye,[y.Unknown]:be,[y.InternalError]:xe,[y.Other]:Se,[y.UserError]:Ce,[y.GraphqlError]:we,[y.LockTimeout]:Te,[y.UsageLimitExceeded]:Ee};function Oe(e){if(e instanceof x)return e;let t=(e?.response?.errors??[]).map(e=>new fe(e)),n=e?.response?.status;return new(De[t[0]?.type??(n===403?y.Forbidden:n===429?y.Ratelimited:`${n}`.startsWith(`4`)?y.AuthenticationError:n===500?y.InternalError:`${n}`.startsWith(`5`)?y.NetworkError:y.Unknown)]??x)(e,t)}var ke=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):void 0})),Ae=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=n(ke());function n(e){return e&&e.__esModule?e:{default:e}}function r(e){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}var i=10,a=2;function o(e){return s(e,[])}function s(e,t){switch(r(e)){case`string`:return JSON.stringify(e);case`function`:return e.name?`[function ${e.name}]`:`[function]`;case`object`:return e===null?`null`:c(e,t);default:return String(e)}}function c(e,t){if(t.indexOf(e)!==-1)return`[Circular]`;var n=[].concat(t,[e]),r=d(e);if(r!==void 0){var i=r.call(e);if(i!==e)return typeof i==`string`?i:s(i,n)}else if(Array.isArray(e))return u(e,n);return l(e,n)}function l(e,t){var n=Object.keys(e);return n.length===0?`{}`:t.length>a?`[`+f(e)+`]`:`{ `+n.map(function(n){var r=s(e[n],t);return n+`: `+r}).join(`, `)+` }`}function u(e,t){if(e.length===0)return`[]`;if(t.length>a)return`[Array]`;for(var n=Math.min(i,e.length),r=e.length-n,o=[],c=0;c<n;++c)o.push(s(e[c],t));return r===1?o.push(`... 1 more item`):r>1&&o.push(`... ${r} more items`),`[`+o.join(`, `)+`]`}function d(e){var n=e[String(t.default)];if(typeof n==`function`)return n;if(typeof e.inspect==`function`)return e.inspect}function f(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,``).replace(/]$/,``);if(t===`Object`&&typeof e.constructor==`function`){var n=e.constructor.name;if(typeof n==`string`&&n!==``)return n}return t}})),je=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(e,t){if(!e)throw Error(t??`Unexpected invariant triggered.`)}})),Me=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(je()),n=r(ke());function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var r=e.prototype.toJSON;typeof r==`function`||(0,t.default)(0),e.prototype.inspect=r,n.default&&(e.prototype[n.default]=r)}})),Ne=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isNode=a,e.Token=e.Location=void 0;var t=n(Me());function n(e){return e&&e.__esModule?e:{default:e}}var r=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}var t=e.prototype;return t.toJSON=function(){return{start:this.start,end:this.end}},e}();e.Location=r,(0,t.default)(r);var i=function(){function e(e,t,n,r,i,a,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=a,this.next=null}var t=e.prototype;return t.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();e.Token=i,(0,t.default)(i);function a(e){return e!=null&&typeof e.kind==`string`}})),Pe=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.visit=o,e.visitInParallel=s,e.getVisitFn=c,e.BREAK=e.QueryDocumentKeys=void 0;var t=r(Ae()),n=Ne();function r(e){return e&&e.__esModule?e:{default:e}}var i={Name:[],Document:[`definitions`],OperationDefinition:[`name`,`variableDefinitions`,`directives`,`selectionSet`],VariableDefinition:[`variable`,`type`,`defaultValue`,`directives`],Variable:[`name`],SelectionSet:[`selections`],Field:[`alias`,`name`,`arguments`,`directives`,`selectionSet`],Argument:[`name`,`value`],FragmentSpread:[`name`,`directives`],InlineFragment:[`typeCondition`,`directives`,`selectionSet`],FragmentDefinition:[`name`,`variableDefinitions`,`typeCondition`,`directives`,`selectionSet`],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[`values`],ObjectValue:[`fields`],ObjectField:[`name`,`value`],Directive:[`name`,`arguments`],NamedType:[`name`],ListType:[`type`],NonNullType:[`type`],SchemaDefinition:[`description`,`directives`,`operationTypes`],OperationTypeDefinition:[`type`],ScalarTypeDefinition:[`description`,`name`,`directives`],ObjectTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],FieldDefinition:[`description`,`name`,`arguments`,`type`,`directives`],InputValueDefinition:[`description`,`name`,`type`,`defaultValue`,`directives`],InterfaceTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],UnionTypeDefinition:[`description`,`name`,`directives`,`types`],EnumTypeDefinition:[`description`,`name`,`directives`,`values`],EnumValueDefinition:[`description`,`name`,`directives`],InputObjectTypeDefinition:[`description`,`name`,`directives`,`fields`],DirectiveDefinition:[`description`,`name`,`arguments`,`locations`],SchemaExtension:[`directives`,`operationTypes`],ScalarTypeExtension:[`name`,`directives`],ObjectTypeExtension:[`name`,`interfaces`,`directives`,`fields`],InterfaceTypeExtension:[`name`,`interfaces`,`directives`,`fields`],UnionTypeExtension:[`name`,`directives`,`types`],EnumTypeExtension:[`name`,`directives`,`values`],InputObjectTypeExtension:[`name`,`directives`,`fields`]};e.QueryDocumentKeys=i;var a=Object.freeze({});e.BREAK=a;function o(e,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:i,s=void 0,l=Array.isArray(e),u=[e],d=-1,f=[],p=void 0,m=void 0,h=void 0,ee=[],g=[],_=e;do{d++;var te=d===u.length,ne=te&&f.length!==0;if(te){if(m=g.length===0?void 0:ee[ee.length-1],p=h,h=g.pop(),ne){if(l)p=p.slice();else{for(var v={},re=0,ie=Object.keys(p);re<ie.length;re++){var ae=ie[re];v[ae]=p[ae]}p=v}for(var y=0,oe=0;oe<f.length;oe++){var se=f[oe][0],ce=f[oe][1];l&&(se-=y),l&&ce===null?(p.splice(se,1),y++):p[se]=ce}}d=s.index,u=s.keys,f=s.edits,l=s.inArray,s=s.prev}else{if(m=h?l?d:u[d]:void 0,p=h?h[m]:_,p==null)continue;h&&ee.push(m)}var b=void 0;if(!Array.isArray(p)){if(!(0,n.isNode)(p))throw Error(`Invalid AST Node: ${(0,t.default)(p)}.`);var le=c(r,p.kind,te);if(le){if(b=le.call(r,p,m,h,ee,g),b===a)break;if(b===!1){if(!te){ee.pop();continue}}else if(b!==void 0&&(f.push([m,b]),!te))if((0,n.isNode)(b))p=b;else{ee.pop();continue}}}b===void 0&&ne&&f.push([m,p]),te?ee.pop():(s={inArray:l,index:d,keys:u,edits:f,prev:s},l=Array.isArray(p),u=l?p:o[p.kind]??[],d=-1,f=[],h&&g.push(h),h=p)}while(s!==void 0);return f.length!==0&&(_=f[f.length-1][1]),_}function s(e){var t=Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(t[r]==null){var i=c(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(o===!1)t[r]=n;else if(o===a)t[r]=a;else if(o!==void 0)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r]==null){var i=c(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(o!==void 0&&o!==!1)return o}}else t[r]===n&&(t[r]=null)}}}function c(e,t,n){var r=e[t];if(r){if(!n&&typeof r==`function`)return r;var i=n?r.leave:r.enter;if(typeof i==`function`)return i}else{var a=n?e.leave:e.enter;if(a){if(typeof a==`function`)return a;var o=a[t];if(typeof o==`function`)return o}}}})),Fe=v((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.dedentBlockStringValue=t,e.getBlockStringIndentation=r,e.printBlockString=i;function t(e){var t=e.split(/\r\n|[\n\r]/g),i=r(e);if(i!==0)for(var a=1;a<t.length;a++)t[a]=t[a].slice(i);for(var o=0;o<t.length&&n(t[o]);)++o;for(var s=t.length;s>o&&n(t[s-1]);)--s;return t.slice(o,s).join(`
2
2
  `)}function n(e){for(var t=0;t<e.length;++t)if(e[t]!==` `&&e[t]!==` `)return!1;return!0}function r(e){for(var t=!0,n=!0,r=0,i=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:e.charCodeAt(a+1)===10&&++a;case 10:t=!1,n=!0,r=0;break;case 9:case 32:++r;break;default:n&&!t&&(i===null||r<i)&&(i=r),n=!1}return i??0}function i(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=e.indexOf(`
3
3
  `)===-1,i=e[0]===` `||e[0]===` `,a=e[e.length-1]===`"`,o=e[e.length-1]===`\\`,s=!r||a||o||n,c=``;return s&&!(r&&i)&&(c+=`
4
4
  `+t),c+=t?e.replace(/\n/g,`
@@ -49829,9 +49829,9 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
49829
49829
  id
49830
49830
  }
49831
49831
  success
49832
- }`);var C=class{_request;constructor(e){this._request=e}async paginate(e,t){let n=e.bind(this),r=await n(t),i=r.nodes;for(;r.pageInfo.hasNextPage;)r=await n({first:50,...t,after:r.pageInfo.endCursor}),i.push(...r.nodes);return i}};function w(e){return{...e,first:e.first??(e.after?50:void 0),last:e.last??(e.before?50:void 0)}}var Hl=class extends C{pageInfo;nodes;constructor(e){super(e),this.pageInfo=new P(e,{hasNextPage:!1,hasPreviousPage:!1,__typename:`PageInfo`}),this.nodes=[]}},T=class extends Hl{_fetch;constructor(e,t,n,r){super(e),this._fetch=t,this.nodes=n,this.pageInfo=r}_appendNodes(e){this.nodes=e?[...this.nodes??[],...e]:this.nodes}_prependNodes(e){this.nodes=e?[...e,...this.nodes??[]]:this.nodes}_appendPageInfo(e){this.pageInfo&&(this.pageInfo.endCursor=e?.endCursor??this.pageInfo.startCursor,this.pageInfo.hasNextPage=e?.hasNextPage??this.pageInfo.hasNextPage)}_prependPageInfo(e){this.pageInfo&&(this.pageInfo.startCursor=e?.startCursor??this.pageInfo.startCursor,this.pageInfo.hasPreviousPage=e?.hasPreviousPage??this.pageInfo.hasPreviousPage)}async fetchNext(){if(this.pageInfo?.hasNextPage){let e=await this._fetch({after:this.pageInfo?.endCursor});this._appendNodes(e?.nodes),this._appendPageInfo(e?.pageInfo)}return Promise.resolve(this)}async fetchPrevious(){if(this.pageInfo?.hasPreviousPage){let e=await this._fetch({before:this.pageInfo?.startCursor});this._prependNodes(e?.nodes),this._prependPageInfo(e?.pageInfo)}return Promise.resolve(this)}};function E(e){try{return e?new Date(e):void 0}catch{return}}function Ul(e){try{return e?JSON.parse(e):void 0}catch{return}}var D=class extends C{constructor(e,t){super(e),this.avatarUrl=t.avatarUrl??void 0,this.id=t.id??void 0,this.name=t.name??void 0,this.subType=t.subType??void 0,this.type=t.type,this.userDisplayName=t.userDisplayName??void 0}avatarUrl;id;name;subType;type;userDisplayName},Wl=class extends C{_agentSession;_sourceComment;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.ephemeral=t.ephemeral,this.id=t.id,this.signalMetadata=Ul(t.signalMetadata)??void 0,this.sourceMetadata=Ul(t.sourceMetadata)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.signal=t.signal??void 0,this.content=t.content,this._agentSession=t.agentSession,this._sourceComment=t.sourceComment??void 0,this._user=t.user}archivedAt;createdAt;ephemeral;id;signalMetadata;sourceMetadata;updatedAt;signal;content;get agentSession(){return new lh(this._request).fetch(this._agentSession.id)}get agentSessionId(){return this._agentSession?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}create(e){return new r_(this._request).fetch(e)}},Gl=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Wl(e,t)),new P(e,n.pageInfo))}},Kl=class extends C{_agentActivity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._agentActivity=t.agentActivity}lastSyncId;success;get agentActivity(){return new ch(this._request).fetch(this._agentActivity.id)}get agentActivityId(){return this._agentActivity?.id}},ql=class extends C{_appUser;_comment;_creator;_dismissedBy;_issue;_sourceComment;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.context=Ul(t.context)??{},this.createdAt=E(t.createdAt)??new Date,this.dismissedAt=E(t.dismissedAt)??void 0,this.endedAt=E(t.endedAt)??void 0,this.externalLink=t.externalLink??void 0,this.externalUrls=Ul(t.externalUrls)??{},this.id=t.id,this.plan=Ul(t.plan)??void 0,this.sourceMetadata=Ul(t.sourceMetadata)??void 0,this.startedAt=E(t.startedAt)??void 0,this.summary=t.summary??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this.externalLinks=t.externalLinks.map(t=>new Yl(e,t)),this.status=t.status,this.type=t.type??void 0,this._appUser=t.appUser,this._comment=t.comment??void 0,this._creator=t.creator??void 0,this._dismissedBy=t.dismissedBy??void 0,this._issue=t.issue??void 0,this._sourceComment=t.sourceComment??void 0}archivedAt;context;createdAt;dismissedAt;endedAt;externalLink;externalUrls;id;plan;sourceMetadata;startedAt;summary;updatedAt;url;externalLinks;status;type;get appUser(){return new Z(this._request).fetch(this._appUser.id)}get appUserId(){return this._appUser?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get commentId(){return this._comment?.id}get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get dismissedBy(){return this._dismissedBy?.id?new Z(this._request).fetch(this._dismissedBy?.id):void 0}get dismissedById(){return this._dismissedBy?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}activities(e){return new _S(this._request,this.id,e).fetch(e)}update(e){return new o_(this._request).fetch(this.id,e)}},Jl=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new ql(e,t)),new P(e,n.pageInfo))}},Yl=class extends C{constructor(e,t){super(e),this.label=t.label,this.url=t.url}label;url},Xl=class extends C{_agentSession;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._agentSession=t.agentSession}lastSyncId;success;get agentSession(){return new lh(this._request).fetch(this._agentSession.id)}get agentSessionId(){return this._agentSession?.id}},Zl=class extends C{_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._updatedBy=t.updatedBy??void 0}archivedAt;createdAt;id;updatedAt;get updatedBy(){return this._updatedBy?.id?new Z(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}},Ql=class extends C{constructor(e,t){super(e),this.clientId=t.clientId,this.description=t.description??void 0,this.developer=t.developer,this.developerUrl=t.developerUrl,this.id=t.id,this.imageUrl=t.imageUrl??void 0,this.name=t.name}clientId;description;developer;developerUrl;id;imageUrl;name},$l=class extends C{constructor(e,t){super(e),this.archive=t.archive,this.databaseVersion=t.databaseVersion,this.includesDependencies=t.includesDependencies,this.totalCount=t.totalCount}archive;databaseVersion;includesDependencies;totalCount},eu=class extends C{_integration;constructor(e,t){super(e),this.addBot=t.addBot,this.lastSyncId=t.lastSyncId,this.success=t.success,this.mapping=new cm(e,t.mapping),this._integration=t.integration??void 0}addBot;lastSyncId;success;mapping;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},tu=class extends C{_creator;_externalUserCreator;_issue;_originalIssue;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.bodyData=t.bodyData??void 0,this.createdAt=E(t.createdAt)??new Date,this.groupBySource=t.groupBySource,this.id=t.id,this.metadata=t.metadata,this.source=t.source??void 0,this.sourceType=t.sourceType??void 0,this.subtitle=t.subtitle??void 0,this.title=t.title,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0,this._externalUserCreator=t.externalUserCreator??void 0,this._issue=t.issue,this._originalIssue=t.originalIssue??void 0}archivedAt;bodyData;createdAt;groupBySource;id;metadata;source;sourceType;subtitle;title;updatedAt;url;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get externalUserCreator(){return this._externalUserCreator?.id?new z(this._request).fetch(this._externalUserCreator?.id):void 0}get externalUserCreatorId(){return this._externalUserCreator?.id}get issue(){return new U(this._request).fetch(this._issue.id)}get issueId(){return this._issue?.id}get originalIssue(){return this._originalIssue?.id?new U(this._request).fetch(this._originalIssue?.id):void 0}get originalIssueId(){return this._originalIssue?.id}create(e){return new l_(this._request).fetch(e)}delete(){return new u_(this._request).fetch(this.id)}update(e){return new C_(this._request).fetch(this.id,e)}},nu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new tu(e,t)),new P(e,n.pageInfo))}},O=class extends C{_attachment;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._attachment=t.attachment}lastSyncId;success;get attachment(){return new fh(this._request).fetch(this._attachment.id)}get attachmentId(){return this._attachment?.id}},ru=class extends C{_actor;constructor(e,t){super(e),this.actorId=t.actorId??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.countryCode=t.countryCode??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.ip=t.ip??void 0,this.metadata=t.metadata??void 0,this.requestInformation=t.requestInformation??void 0,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._actor=t.actor??void 0}actorId;archivedAt;countryCode;createdAt;id;ip;metadata;requestInformation;type;updatedAt;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get organization(){return new G(this._request).fetch()}},iu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new ru(e,t)),new P(e,n.pageInfo))}},au=class extends C{constructor(e,t){super(e),this.description=t.description,this.type=t.type}description;type},ou=class extends C{constructor(e,t){super(e),this.allowedAuthServices=t.allowedAuthServices,this.createdAt=E(t.createdAt)??new Date,this.deletionRequestedAt=E(t.deletionRequestedAt)??void 0,this.enabled=t.enabled,this.hideNonPrimaryOrganizations=t.hideNonPrimaryOrganizations,this.id=t.id,this.logoUrl=t.logoUrl??void 0,this.name=t.name,this.previousUrlKeys=t.previousUrlKeys,this.region=t.region,this.samlEnabled=t.samlEnabled,this.scimEnabled=t.scimEnabled,this.serviceId=t.serviceId,this.urlKey=t.urlKey,this.userCount=t.userCount??void 0,this.releaseChannel=t.releaseChannel}allowedAuthServices;createdAt;deletionRequestedAt;enabled;hideNonPrimaryOrganizations;id;logoUrl;name;previousUrlKeys;region;samlEnabled;scimEnabled;serviceId;urlKey;userCount;releaseChannel},su=class extends C{constructor(e,t){super(e),this.allowDomainAccess=t.allowDomainAccess??void 0,this.email=t.email,this.id=t.id,this.lastUsedOrganizationId=t.lastUsedOrganizationId??void 0,this.service=t.service??void 0,this.token=t.token??void 0,this.availableOrganizations=t.availableOrganizations?t.availableOrganizations.map(t=>new ou(e,t)):void 0,this.lockedOrganizations=t.lockedOrganizations?t.lockedOrganizations.map(t=>new ou(e,t)):void 0,this.lockedUsers=t.lockedUsers.map(t=>new cu(e,t)),this.users=t.users.map(t=>new cu(e,t))}allowDomainAccess;email;id;lastUsedOrganizationId;service;token;availableOrganizations;lockedOrganizations;lockedUsers;users},cu=class extends C{constructor(e,t){super(e),this.active=t.active,this.avatarUrl=t.avatarUrl??void 0,this.createdAt=E(t.createdAt)??new Date,this.displayName=t.displayName,this.email=t.email,this.id=t.id,this.name=t.name,this.userAccountId=t.userAccountId,this.organization=new ou(e,t.organization),this.role=t.role}active;avatarUrl;createdAt;displayName;email;id;name;userAccountId;organization;role},lu=class extends C{constructor(e,t){super(e),this.browserType=t.browserType??void 0,this.client=t.client??void 0,this.countryCodes=t.countryCodes,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.ip=t.ip??void 0,this.isCurrentSession=t.isCurrentSession,this.lastActiveAt=E(t.lastActiveAt)??void 0,this.location=t.location??void 0,this.locationCity=t.locationCity??void 0,this.locationCountry=t.locationCountry??void 0,this.locationCountryCode=t.locationCountryCode??void 0,this.locationRegionCode=t.locationRegionCode??void 0,this.name=t.name,this.operatingSystem=t.operatingSystem??void 0,this.service=t.service??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.userAgent=t.userAgent??void 0,this.type=t.type}browserType;client;countryCodes;createdAt;id;ip;isCurrentSession;lastActiveAt;location;locationCity;locationCountry;locationCountryCode;locationRegionCode;name;operatingSystem;service;updatedAt;userAgent;type},uu=class extends C{_agentSession;_externalUser;_initiativeUpdate;_issue;_parent;_projectUpdate;_resolvingComment;_resolvingUser;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body,this.createdAt=E(t.createdAt)??new Date,this.documentContentId=t.documentContentId??void 0,this.editedAt=E(t.editedAt)??void 0,this.id=t.id,this.initiativeUpdateId=t.initiativeUpdateId??void 0,this.issueId=t.issueId??void 0,this.parentId=t.parentId??void 0,this.projectUpdateId=t.projectUpdateId??void 0,this.quotedText=t.quotedText??void 0,this.reactionData=t.reactionData,this.resolvedAt=E(t.resolvedAt)??void 0,this.resolvingCommentId=t.resolvingCommentId??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.documentContent=t.documentContent?new Ku(e,t.documentContent):void 0,this.externalThread=t.externalThread?new dm(e,t.externalThread):void 0,this.reactions=t.reactions.map(t=>new Gp(e,t)),this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new fd(e,t)):void 0,this._agentSession=t.agentSession??void 0,this._externalUser=t.externalUser??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._issue=t.issue??void 0,this._parent=t.parent??void 0,this._projectUpdate=t.projectUpdate??void 0,this._resolvingComment=t.resolvingComment??void 0,this._resolvingUser=t.resolvingUser??void 0,this._user=t.user??void 0}archivedAt;body;createdAt;documentContentId;editedAt;id;initiativeUpdateId;issueId;parentId;projectUpdateId;quotedText;reactionData;resolvedAt;resolvingCommentId;updatedAt;url;reactions;syncedWith;botActor;documentContent;externalThread;get agentSession(){return this._agentSession?.id?new lh(this._request).fetch(this._agentSession?.id):void 0}get agentSessionId(){return this._agentSession?.id}get externalUser(){return this._externalUser?.id?new z(this._request).fetch(this._externalUser?.id):void 0}get externalUserId(){return this._externalUser?.id}get initiativeUpdate(){return this._initiativeUpdate?.id?new V(this._request).fetch(this._initiativeUpdate?.id):void 0}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get parent(){return this._parent?.id?new F(this._request).fetch({id:this._parent?.id}):void 0}get projectUpdate(){return this._projectUpdate?.id?new J(this._request).fetch(this._projectUpdate?.id):void 0}get resolvingComment(){return this._resolvingComment?.id?new F(this._request).fetch({id:this._resolvingComment?.id}):void 0}get resolvingUser(){return this._resolvingUser?.id?new Z(this._request).fetch(this._resolvingUser?.id):void 0}get resolvingUserId(){return this._resolvingUser?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}children(e){return new vS(this._request,e).fetch(e)}createdIssues(e){return new yS(this._request,e).fetch(e)}create(e){return new w_(this._request).fetch(e)}delete(){return new T_(this._request).fetch(this.id)}update(e,t){return new O_(this._request).fetch(this.id,e,t)}},du=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new uu(e,t)),new P(e,n.pageInfo))}},fu=class extends C{_comment;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._comment=t.comment}lastSyncId;success;get comment(){return new F(this._request).fetch({id:this._comment.id})}get commentId(){return this._comment?.id}},pu=class extends C{constructor(e,t){super(e),this.success=t.success}success},mu=class extends C{constructor(e,t){super(e),this.success=t.success}success},hu=class extends C{constructor(e,t){super(e),this.organization=new ou(e,t.organization),this.user=new cu(e,t.user)}organization;user},gu=class extends C{_creator;_owner;_team;_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.feedItemFilterData=t.feedItemFilterData??void 0,this.filterData=t.filterData,this.filters=t.filters,this.icon=t.icon??void 0,this.id=t.id,this.initiativeFilterData=t.initiativeFilterData??void 0,this.modelName=t.modelName,this.name=t.name,this.projectFilterData=t.projectFilterData??void 0,this.shared=t.shared,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.organizationViewPreferences=t.organizationViewPreferences?new Km(e,t.organizationViewPreferences):void 0,this.userViewPreferences=t.userViewPreferences?new Km(e,t.userViewPreferences):void 0,this.viewPreferencesValues=t.viewPreferencesValues?new Ym(e,t.viewPreferencesValues):void 0,this._creator=t.creator,this._owner=t.owner,this._team=t.team??void 0,this._updatedBy=t.updatedBy??void 0}archivedAt;color;createdAt;description;feedItemFilterData;filterData;filters;icon;id;initiativeFilterData;modelName;name;projectFilterData;shared;slugId;updatedAt;organizationViewPreferences;userViewPreferences;viewPreferencesValues;get creator(){return new Z(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}get owner(){return new Z(this._request).fetch(this._owner.id)}get ownerId(){return this._owner?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get updatedBy(){return this._updatedBy?.id?new Z(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}initiatives(e){return new bS(this._request,this.id,e).fetch(e)}issues(e){return new xS(this._request,this.id,e).fetch(e)}projects(e){return new SS(this._request,this.id,e).fetch(e)}create(e){return new P_(this._request).fetch(e)}delete(){return new F_(this._request).fetch(this.id)}update(e){return new I_(this._request).fetch(this.id,e)}},_u=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new gu(e,t)),new P(e,n.pageInfo))}},vu=class extends C{constructor(e,t){super(e),this.hasSubscribers=t.hasSubscribers}hasSubscribers},yu=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return new I(this._request).fetch(this._customView.id)}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},bu=class extends C{_customView;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._customView=t.customView}lastSyncId;success;get customView(){return new I(this._request).fetch(this._customView.id)}get customViewId(){return this._customView?.id}},xu=class extends C{_integration;_owner;_status;_tier;constructor(e,t){super(e),this.approximateNeedCount=t.approximateNeedCount,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.domains=t.domains,this.externalIds=t.externalIds,this.id=t.id,this.logoUrl=t.logoUrl??void 0,this.mainSourceId=t.mainSourceId??void 0,this.name=t.name,this.revenue=t.revenue??void 0,this.size=t.size??void 0,this.slackChannelId=t.slackChannelId??void 0,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.needs=t.needs.map(t=>new Cu(e,t)),this._integration=t.integration??void 0,this._owner=t.owner??void 0,this._status=t.status,this._tier=t.tier??void 0}approximateNeedCount;archivedAt;createdAt;domains;externalIds;id;logoUrl;mainSourceId;name;revenue;size;slackChannelId;slugId;updatedAt;url;needs;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}get owner(){return this._owner?.id?new Z(this._request).fetch(this._owner?.id):void 0}get ownerId(){return this._owner?.id}get status(){return new Th(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}get tier(){return this._tier?.id?new Dh(this._request).fetch(this._tier?.id):void 0}get tierId(){return this._tier?.id}create(e){return new L_(this._request).fetch(e)}delete(){return new R_(this._request).fetch(this.id)}update(e){return new $_(this._request).fetch(this.id,e)}},Su=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new xu(e,t)),new P(e,n.pageInfo))}},Cu=class extends C{_attachment;_comment;_creator;_customer;_issue;_originalIssue;_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.priority=t.priority,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this.projectAttachment=t.projectAttachment?new up(e,t.projectAttachment):void 0,this._attachment=t.attachment??void 0,this._comment=t.comment??void 0,this._creator=t.creator??void 0,this._customer=t.customer??void 0,this._issue=t.issue??void 0,this._originalIssue=t.originalIssue??void 0,this._project=t.project??void 0}archivedAt;body;createdAt;id;priority;updatedAt;url;projectAttachment;get attachment(){return this._attachment?.id?new fh(this._request).fetch(this._attachment?.id):void 0}get attachmentId(){return this._attachment?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get commentId(){return this._comment?.id}get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get originalIssue(){return this._originalIssue?.id?new U(this._request).fetch(this._originalIssue?.id):void 0}get originalIssueId(){return this._originalIssue?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}archive(){return new B_(this._request).fetch(this.id)}create(e){return new V_(this._request).fetch(e)}delete(e){return new U_(this._request).fetch(this.id,e)}unarchive(){return new W_(this._request).fetch(this.id)}update(e){return new G_(this._request).fetch(this.id,e)}},wu=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new Ch(this._request).fetch({id:this._entity?.id}):void 0}get entityId(){return this._entity?.id}},Tu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Cu(e,t)),new P(e,n.pageInfo))}},Eu=class extends C{_actor;_customerNeed;_externalUserActor;_relatedIssue;_relatedProject;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerNeedId=t.customerNeedId,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._customerNeed=t.customerNeed,this._externalUserActor=t.externalUserActor??void 0,this._relatedIssue=t.relatedIssue??void 0,this._relatedProject=t.relatedProject??void 0,this._user=t.user}archivedAt;createdAt;customerNeedId;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get customerNeed(){return new Ch(this._request).fetch({id:this._customerNeed.id})}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get relatedIssue(){return this._relatedIssue?.id?new U(this._request).fetch(this._relatedIssue?.id):void 0}get relatedIssueId(){return this._relatedIssue?.id}get relatedProject(){return this._relatedProject?.id?new K(this._request).fetch(this._relatedProject?.id):void 0}get relatedProjectId(){return this._relatedProject?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Du=class extends C{_need;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._need=t.need}lastSyncId;success;get need(){return new Ch(this._request).fetch({id:this._need.id})}get needId(){return this._need?.id}},Ou=class extends C{_need;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.updatedRelatedNeeds=t.updatedRelatedNeeds.map(t=>new Cu(e,t)),this._need=t.need}lastSyncId;success;updatedRelatedNeeds;get need(){return new Ch(this._request).fetch({id:this._need.id})}get needId(){return this._need?.id}},ku=class extends C{_actor;_customer;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerId=t.customerId,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._customer=t.customer,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;customerId;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get customer(){return new L(this._request).fetch(this._customer.id)}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Au=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return new L(this._request).fetch(this._customer.id)}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},ju=class extends C{_customer;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._customer=t.customer}lastSyncId;success;get customer(){return new L(this._request).fetch(this._customer.id)}get customerId(){return this._customer?.id}},Mu=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.displayName=t.displayName,this.id=t.id,this.name=t.name,this.position=t.position,this.updatedAt=E(t.updatedAt)??new Date,this.type=t.type??void 0}archivedAt;color;createdAt;description;displayName;id;name;position;updatedAt;type;create(e){return new K_(this._request).fetch(e)}delete(){return new q_(this._request).fetch(this.id)}update(e){return new J_(this._request).fetch(this.id,e)}},Nu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Mu(e,t)),new P(e,n.pageInfo))}},Pu=class extends C{_status;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._status=t.status}lastSyncId;success;get status(){return new Th(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}},Fu=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.displayName=t.displayName,this.id=t.id,this.name=t.name,this.position=t.position,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;color;createdAt;description;displayName;id;name;position;updatedAt;create(e){return new Y_(this._request).fetch(e)}delete(){return new X_(this._request).fetch(this.id)}update(e){return new Z_(this._request).fetch(this.id,e)}},Iu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Fu(e,t)),new P(e,n.pageInfo))}},Lu=class extends C{_tier;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._tier=t.tier}lastSyncId;success;get tier(){return new Dh(this._request).fetch(this._tier.id)}get tierId(){return this._tier?.id}},Ru=class extends C{_inheritedFrom;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.completedAt=E(t.completedAt)??void 0,this.completedIssueCountHistory=t.completedIssueCountHistory,this.completedScopeHistory=t.completedScopeHistory,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.endsAt=E(t.endsAt)??new Date,this.id=t.id,this.inProgressScopeHistory=t.inProgressScopeHistory,this.isActive=t.isActive,this.isFuture=t.isFuture,this.isNext=t.isNext,this.isPast=t.isPast,this.isPrevious=t.isPrevious,this.issueCountHistory=t.issueCountHistory,this.name=t.name??void 0,this.number=t.number,this.progress=t.progress,this.scopeHistory=t.scopeHistory,this.startsAt=E(t.startsAt)??new Date,this.updatedAt=E(t.updatedAt)??new Date,this._inheritedFrom=t.inheritedFrom??void 0,this._team=t.team}archivedAt;autoArchivedAt;completedAt;completedIssueCountHistory;completedScopeHistory;createdAt;description;endsAt;id;inProgressScopeHistory;isActive;isFuture;isNext;isPast;isPrevious;issueCountHistory;name;number;progress;scopeHistory;startsAt;updatedAt;get inheritedFrom(){return this._inheritedFrom?.id?new R(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}issues(e){return new CS(this._request,this.id,e).fetch(e)}uncompletedIssuesUponClose(e){return new wS(this._request,this.id,e).fetch(e)}archive(){return new tv(this._request).fetch(this.id)}create(e){return new nv(this._request).fetch(e)}update(e){return new av(this._request).fetch(this.id,e)}},zu=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new R(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Bu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Ru(e,t)),new P(e,n.pageInfo))}},Vu=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return new R(this._request).fetch(this._cycle.id)}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},Hu=class extends C{_cycle;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._cycle=t.cycle??void 0}lastSyncId;success;get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}},k=class extends C{constructor(e,t){super(e),this.entityId=t.entityId,this.lastSyncId=t.lastSyncId,this.success=t.success}entityId;lastSyncId;success},Uu=class extends C{_creator;_initiative;_issue;_lastAppliedTemplate;_project;_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.documentContentId=t.documentContentId??void 0,this.hiddenAt=E(t.hiddenAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.title=t.title,this.trashed=t.trashed??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._project=t.project??void 0,this._updatedBy=t.updatedBy??void 0}archivedAt;color;content;createdAt;documentContentId;hiddenAt;icon;id;slugId;sortOrder;title;trashed;updatedAt;url;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new X(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get updatedBy(){return this._updatedBy?.id?new Z(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}comments(e){return new TS(this._request,this.id,e).fetch(e)}create(e){return new ov(this._request).fetch(e)}delete(){return new sv(this._request).fetch(this.id)}unarchive(){return new cv(this._request).fetch(this.id)}update(e){return new lv(this._request).fetch(this.id,e)}},Wu=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new jh(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Gu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Uu(e,t)),new P(e,n.pageInfo))}},Ku=class extends C{_document;_initiative;_issue;_project;_projectMilestone;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.content=t.content??void 0,this.contentState=t.contentState??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.restoredAt=E(t.restoredAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.aiPromptRules=t.aiPromptRules?new Zl(e,t.aiPromptRules):void 0,this.welcomeMessage=t.welcomeMessage?new eh(e,t.welcomeMessage):void 0,this._document=t.document??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._project=t.project??void 0,this._projectMilestone=t.projectMilestone??void 0}archivedAt;content;contentState;createdAt;id;restoredAt;updatedAt;aiPromptRules;welcomeMessage;get document(){return this._document?.id?new jh(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new q(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}},qu=class extends C{constructor(e,t){super(e),this.success=t.success,this.history=t.history.map(t=>new Ju(e,t))}success;history},Ju=class extends C{constructor(e,t){super(e),this.actorIds=t.actorIds??void 0,this.contentDataSnapshotAt=E(t.contentDataSnapshotAt)??new Date,this.createdAt=E(t.createdAt)??new Date,this.id=t.id}actorIds;contentDataSnapshotAt;createdAt;id},Yu=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.documentId=t.documentId,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.parentCommentId=t.parentCommentId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;commentId;createdAt;documentId;emailedAt;id;parentCommentId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Xu=class extends C{_document;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._document=t.document}lastSyncId;success;get document(){return new jh(this._request).fetch(this._document.id)}get documentId(){return this._document?.id}},Zu=class extends C{constructor(e,t){super(e),this.totalCount=t.totalCount,this.archivePayload=new $l(e,t.archivePayload),this.pageInfo=new P(e,t.pageInfo),this.nodes=t.nodes.map(t=>new Qu(e,t))}totalCount;nodes;archivePayload;pageInfo},Qu=class extends C{_creator;_initiative;_issue;_lastAppliedTemplate;_project;_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.documentContentId=t.documentContentId??void 0,this.hiddenAt=E(t.hiddenAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.metadata=t.metadata,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.title=t.title,this.trashed=t.trashed??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._project=t.project??void 0,this._updatedBy=t.updatedBy??void 0}archivedAt;color;content;createdAt;documentContentId;hiddenAt;icon;id;metadata;slugId;sortOrder;title;trashed;updatedAt;url;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new X(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get updatedBy(){return this._updatedBy?.id?new Z(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}},$u=class extends C{_customerNeed;_initiative;_initiativeUpdate;_issue;_parentComment;_project;_projectUpdate;_team;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.bodyData=Ul(t.bodyData)??{},this.createdAt=E(t.createdAt)??new Date,this.data=t.data??void 0,this.id=t.id,this.isAutogenerated=t.isAutogenerated,this.updatedAt=E(t.updatedAt)??new Date,this._customerNeed=t.customerNeed??void 0,this._initiative=t.initiative??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._issue=t.issue??void 0,this._parentComment=t.parentComment??void 0,this._project=t.project??void 0,this._projectUpdate=t.projectUpdate??void 0,this._team=t.team??void 0,this._user=t.user}archivedAt;bodyData;createdAt;data;id;isAutogenerated;updatedAt;get customerNeed(){return this._customerNeed?.id?new Ch(this._request).fetch({id:this._customerNeed?.id}):void 0}get customerNeedId(){return this._customerNeed?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get initiativeUpdate(){return this._initiativeUpdate?.id?new V(this._request).fetch(this._initiativeUpdate?.id):void 0}get initiativeUpdateId(){return this._initiativeUpdate?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get parentCommentId(){return this._parentComment?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectUpdate(){return this._projectUpdate?.id?new J(this._request).fetch(this._projectUpdate?.id):void 0}get projectUpdateId(){return this._projectUpdate?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},ed=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new $u(e,t)),new P(e,n.pageInfo))}},td=class extends C{_creator;_team;_template;constructor(e,t){super(e),this.address=t.address,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerRequestsEnabled=t.customerRequestsEnabled,this.enabled=t.enabled,this.forwardingEmailAddress=t.forwardingEmailAddress??void 0,this.id=t.id,this.issueCanceledAutoReply=t.issueCanceledAutoReply??void 0,this.issueCanceledAutoReplyEnabled=t.issueCanceledAutoReplyEnabled,this.issueCompletedAutoReply=t.issueCompletedAutoReply??void 0,this.issueCompletedAutoReplyEnabled=t.issueCompletedAutoReplyEnabled,this.issueCreatedAutoReply=t.issueCreatedAutoReply??void 0,this.issueCreatedAutoReplyEnabled=t.issueCreatedAutoReplyEnabled,this.repliesEnabled=t.repliesEnabled,this.senderName=t.senderName??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.useUserNamesInReplies=t.useUserNamesInReplies,this.sesDomainIdentity=t.sesDomainIdentity?new im(e,t.sesDomainIdentity):void 0,this.type=t.type,this._creator=t.creator??void 0,this._team=t.team??void 0,this._template=t.template??void 0}address;archivedAt;createdAt;customerRequestsEnabled;enabled;forwardingEmailAddress;id;issueCanceledAutoReply;issueCanceledAutoReplyEnabled;issueCompletedAutoReply;issueCompletedAutoReplyEnabled;issueCreatedAutoReply;issueCreatedAutoReplyEnabled;repliesEnabled;senderName;updatedAt;useUserNamesInReplies;sesDomainIdentity;type;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get template(){return this._template?.id?new X(this._request).fetch(this._template?.id):void 0}get templateId(){return this._template?.id}create(e){return new uv(this._request).fetch(e)}delete(){return new dv(this._request).fetch(this.id)}update(e){return new pv(this._request).fetch(this.id,e)}},nd=class extends C{_emailIntakeAddress;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._emailIntakeAddress=t.emailIntakeAddress}lastSyncId;success;get emailIntakeAddress(){return new Ph(this._request).fetch(this._emailIntakeAddress.id)}get emailIntakeAddressId(){return this._emailIntakeAddress?.id}},rd=class extends C{constructor(e,t){super(e),this.success=t.success}success},id=class extends C{constructor(e,t){super(e),this.authType=t.authType,this.success=t.success}authType;success},ad=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.name=t.name,this.source=t.source,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0}archivedAt;createdAt;id;name;source;updatedAt;url;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}create(e){return new _v(this._request).fetch(e)}delete(){return new vv(this._request).fetch(this.id)}},od=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new ad(e,t)),new P(e,n.pageInfo))}},sd=class extends C{_emoji;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._emoji=t.emoji}lastSyncId;success;get emoji(){return new Fh(this._request).fetch(this._emoji.id)}get emojiId(){return this._emoji?.id}},cd=class extends C{_creator;_initiative;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.label=t.label,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator,this._initiative=t.initiative??void 0}archivedAt;createdAt;id;label;sortOrder;updatedAt;url;get creator(){return new Z(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}create(e){return new yv(this._request).fetch(e)}delete(){return new bv(this._request).fetch(this.id)}update(e){return new xv(this._request).fetch(this.id,e)}},ld=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new cd(e,t)),new P(e,n.pageInfo))}},ud=class extends C{_entityExternalLink;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entityExternalLink=t.entityExternalLink}lastSyncId;success;get entityExternalLink(){return new Lh(this._request).fetch(this._entityExternalLink.id)}get entityExternalLinkId(){return this._entityExternalLink?.id}},dd=class extends C{constructor(e,t){super(e),this.success=t.success}success},fd=class extends C{constructor(e,t){super(e),this.id=t.id,this.service=t.service,this.metadata=t.metadata??void 0}id;service;metadata},pd=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.avatarUrl=t.avatarUrl??void 0,this.createdAt=E(t.createdAt)??new Date,this.displayName=t.displayName,this.email=t.email??void 0,this.id=t.id,this.lastSeen=E(t.lastSeen)??void 0,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;avatarUrl;createdAt;displayName;email;id;lastSeen;name;updatedAt;get organization(){return new G(this._request).fetch()}},md=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new pd(e,t)),new P(e,n.pageInfo))}},hd=class extends C{_customView;_customer;_cycle;_document;_initiative;_issue;_label;_owner;_parent;_predefinedViewTeam;_project;_projectLabel;_projectTeam;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.folderName=t.folderName??void 0,this.id=t.id,this.predefinedViewType=t.predefinedViewType??void 0,this.sortOrder=t.sortOrder,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this.initiativeTab=t.initiativeTab??void 0,this.projectTab=t.projectTab??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._document=t.document??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._label=t.label??void 0,this._owner=t.owner,this._parent=t.parent??void 0,this._predefinedViewTeam=t.predefinedViewTeam??void 0,this._project=t.project??void 0,this._projectLabel=t.projectLabel??void 0,this._projectTeam=t.projectTeam??void 0,this._user=t.user??void 0}archivedAt;createdAt;folderName;id;predefinedViewType;sortOrder;type;updatedAt;url;initiativeTab;projectTab;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get document(){return this._document?.id?new jh(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get owner(){return new Z(this._request).fetch(this._owner.id)}get ownerId(){return this._owner?.id}get parent(){return this._parent?.id?new zh(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get predefinedViewTeam(){return this._predefinedViewTeam?.id?new Y(this._request).fetch(this._predefinedViewTeam?.id):void 0}get predefinedViewTeamId(){return this._predefinedViewTeam?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectLabel(){return this._projectLabel?.id?new bg(this._request).fetch(this._projectLabel?.id):void 0}get projectLabelId(){return this._projectLabel?.id}get projectTeam(){return this._projectTeam?.id?new Y(this._request).fetch(this._projectTeam?.id):void 0}get projectTeamId(){return this._projectTeam?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}children(e){return new ES(this._request,this.id,e).fetch(e)}create(e){return new Sv(this._request).fetch(e)}delete(){return new Cv(this._request).fetch(this.id)}update(e){return new wv(this._request).fetch(this.id,e)}},gd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new hd(e,t)),new P(e,n.pageInfo))}},_d=class extends C{_favorite;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._favorite=t.favorite}lastSyncId;success;get favorite(){return new zh(this._request).fetch(this._favorite.id)}get favoriteId(){return this._favorite?.id}},vd=class extends C{_attachment;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._attachment=t.attachment}lastSyncId;success;get attachment(){return new fh(this._request).fetch(this._attachment.id)}get attachmentId(){return this._attachment?.id}},yd=class extends C{_state;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.branchPattern=t.branchPattern??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this.targetBranch=t.targetBranch?new Sd(e,t.targetBranch):void 0,this.event=t.event,this._state=t.state??void 0,this._team=t.team}archivedAt;branchPattern;createdAt;id;updatedAt;targetBranch;event;get state(){return this._state?.id?new Q(this._request).fetch(this._state?.id):void 0}get stateId(){return this._state?.id}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}create(e){return new Ev(this._request).fetch(e)}delete(){return new Dv(this._request).fetch(this.id)}update(e){return new Ov(this._request).fetch(this.id,e)}},bd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new yd(e,t)),new P(e,n.pageInfo))}},xd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.gitAutomationState=new yd(e,t.gitAutomationState)}lastSyncId;success;gitAutomationState},Sd=class extends C{_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.branchPattern=t.branchPattern,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.isRegex=t.isRegex,this.updatedAt=E(t.updatedAt)??new Date,this._team=t.team}archivedAt;branchPattern;createdAt;id;isRegex;updatedAt;get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}create(e){return new kv(this._request).fetch(e)}delete(){return new Av(this._request).fetch(this.id)}update(e){return new jv(this._request).fetch(this.id,e)}},Cd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.targetBranch=new Sd(e,t.targetBranch)}lastSyncId;success;targetBranch},wd=class extends C{_integration;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.webhookSecret=t.webhookSecret,this._integration=t.integration??void 0}lastSyncId;success;webhookSecret;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Td=class extends C{constructor(e,t){super(e),this.success=t.success}success},Ed=class extends C{_integration;constructor(e,t){super(e),this.installUrl=t.installUrl,this.lastSyncId=t.lastSyncId,this.setupUrl=t.setupUrl,this.success=t.success,this.webhookSecret=t.webhookSecret,this._integration=t.integration??void 0}installUrl;lastSyncId;setupUrl;success;webhookSecret;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Dd=class extends C{_integration;constructor(e,t){super(e),this.error=t.error??void 0,this.errorResponseBody=t.errorResponseBody??void 0,this.errorResponseHeaders=t.errorResponseHeaders??void 0,this.lastSyncId=t.lastSyncId,this.success=t.success,this.webhookSecret=t.webhookSecret,this._integration=t.integration??void 0}error;errorResponseBody;errorResponseHeaders;lastSyncId;success;webhookSecret;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Od=class extends C{_integration;constructor(e,t){super(e),this.error=t.error??void 0,this.errorResponseBody=t.errorResponseBody??void 0,this.errorResponseHeaders=t.errorResponseHeaders??void 0,this.lastSyncId=t.lastSyncId,this.success=t.success,this._integration=t.integration??void 0}error;errorResponseBody;errorResponseHeaders;lastSyncId;success;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},kd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.url=t.url??void 0}lastSyncId;success;url},Ad=class extends C{_creator;_integrationsSettings;_lastUpdate;_owner;_parentInitiative;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.completedAt=E(t.completedAt)??void 0,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.healthUpdatedAt=E(t.healthUpdatedAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.name=t.name,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.startedAt=E(t.startedAt)??void 0,this.targetDate=t.targetDate??void 0,this.trashed=t.trashed??void 0,this.updateReminderFrequency=t.updateReminderFrequency??void 0,this.updateReminderFrequencyInWeeks=t.updateReminderFrequencyInWeeks??void 0,this.updateRemindersHour=t.updateRemindersHour??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.documentContent=t.documentContent?new Ku(e,t.documentContent):void 0,this.frequencyResolution=t.frequencyResolution,this.health=t.health??void 0,this.status=t.status,this.targetDateResolution=t.targetDateResolution??void 0,this.updateRemindersDay=t.updateRemindersDay??void 0,this._creator=t.creator??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._lastUpdate=t.lastUpdate??void 0,this._owner=t.owner??void 0,this._parentInitiative=t.parentInitiative??void 0}archivedAt;color;completedAt;content;createdAt;description;healthUpdatedAt;icon;id;name;slugId;sortOrder;startedAt;targetDate;trashed;updateReminderFrequency;updateReminderFrequencyInWeeks;updateRemindersHour;updatedAt;url;documentContent;frequencyResolution;health;status;targetDateResolution;updateRemindersDay;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Zh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get lastUpdate(){return this._lastUpdate?.id?new V(this._request).fetch(this._lastUpdate?.id):void 0}get lastUpdateId(){return this._lastUpdate?.id}get organization(){return new G(this._request).fetch()}get owner(){return this._owner?.id?new Z(this._request).fetch(this._owner?.id):void 0}get ownerId(){return this._owner?.id}get parentInitiative(){return this._parentInitiative?.id?new B(this._request).fetch(this._parentInitiative?.id):void 0}get parentInitiativeId(){return this._parentInitiative?.id}documents(e){return new DS(this._request,this.id,e).fetch(e)}history(e){return new OS(this._request,this.id,e).fetch(e)}initiativeUpdates(e){return new kS(this._request,this.id,e).fetch(e)}links(e){return new AS(this._request,this.id,e).fetch(e)}projects(e){return new jS(this._request,this.id,e).fetch(e)}subInitiatives(e){return new MS(this._request,this.id,e).fetch(e)}archive(){return new Fv(this._request).fetch(this.id)}create(e){return new Iv(this._request).fetch(e)}delete(){return new Lv(this._request).fetch(this.id)}unarchive(){return new Wv(this._request).fetch(this.id)}update(){return new V(this._request).fetch(this.id)}},jd=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new B(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Md=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Ad(e,t)),new P(e,n.pageInfo))}},Nd=class extends C{_initiative;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.entries=t.entries,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._initiative=t.initiative}archivedAt;createdAt;entries;id;updatedAt;get initiative(){return new B(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}},Pd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Nd(e,t)),new P(e,n.pageInfo))}},Fd=class extends C{_actor;_comment;_document;_externalUserActor;_initiative;_initiativeUpdate;_parentComment;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.initiativeId=t.initiativeId,this.initiativeUpdateId=t.initiativeUpdateId??void 0,this.parentCommentId=t.parentCommentId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._comment=t.comment??void 0,this._document=t.document??void 0,this._externalUserActor=t.externalUserActor??void 0,this._initiative=t.initiative??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._parentComment=t.parentComment??void 0,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;initiativeId;initiativeUpdateId;parentCommentId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get document(){return this._document?.id?new jh(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeUpdate(){return this._initiativeUpdate?.id?new V(this._request).fetch(this._initiativeUpdate?.id):void 0}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Id=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return new B(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},Ld=class extends C{_initiative;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._initiative=t.initiative}lastSyncId;success;get initiative(){return new B(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}},Rd=class extends C{_initiative;_relatedInitiative;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._initiative=t.initiative,this._relatedInitiative=t.relatedInitiative,this._user=t.user??void 0}archivedAt;createdAt;id;sortOrder;updatedAt;get initiative(){return new B(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get relatedInitiative(){return new B(this._request).fetch(this._relatedInitiative.id)}get relatedInitiativeId(){return this._relatedInitiative?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new Rv(this._request).fetch(e)}delete(){return new zv(this._request).fetch(this.id)}update(e){return new Bv(this._request).fetch(this.id,e)}},zd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Rd(e,t)),new P(e,n.pageInfo))}},Bd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.initiativeRelation=new Rd(e,t.initiativeRelation)}lastSyncId;success;initiativeRelation},Vd=class extends C{_initiative;_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._initiative=t.initiative,this._project=t.project}archivedAt;createdAt;id;sortOrder;updatedAt;get initiative(){return new B(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get project(){return new K(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}create(e){return new Vv(this._request).fetch(e)}delete(){return new Hv(this._request).fetch(this.id)}update(e){return new Uv(this._request).fetch(this.id,e)}},Hd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Vd(e,t)),new P(e,n.pageInfo))}},Ud=class extends C{_initiativeToProject;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._initiativeToProject=t.initiativeToProject}lastSyncId;success;get initiativeToProject(){return new Uh(this._request).fetch(this._initiativeToProject.id)}get initiativeToProjectId(){return this._initiativeToProject?.id}},Wd=class extends C{_initiative;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body,this.commentCount=t.commentCount,this.createdAt=E(t.createdAt)??new Date,this.diff=t.diff??void 0,this.diffMarkdown=t.diffMarkdown??void 0,this.editedAt=E(t.editedAt)??void 0,this.id=t.id,this.isDiffHidden=t.isDiffHidden,this.isStale=t.isStale,this.reactionData=t.reactionData,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.reactions=t.reactions.map(t=>new Gp(e,t)),this.health=t.health,this._initiative=t.initiative,this._user=t.user}archivedAt;body;commentCount;createdAt;diff;diffMarkdown;editedAt;id;isDiffHidden;isStale;reactionData;slugId;updatedAt;url;reactions;health;get initiative(){return new B(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}comments(e){return new NS(this._request,this.id,e).fetch(e)}archive(){return new Kv(this._request).fetch(this.id)}create(e){return new qv(this._request).fetch(e)}unarchive(){return new Jv(this._request).fetch(this.id)}update(e){return new Yv(this._request).fetch(this.id,e)}},Gd=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new V(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Kd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Wd(e,t)),new P(e,n.pageInfo))}},qd=class extends C{_initiativeUpdate;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._initiativeUpdate=t.initiativeUpdate}lastSyncId;success;get initiativeUpdate(){return new V(this._request).fetch(this._initiativeUpdate.id)}get initiativeUpdateId(){return this._initiativeUpdate?.id}},Jd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Yd=class extends C{_creator;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.service=t.service,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator,this._team=t.team??void 0}archivedAt;createdAt;id;service;updatedAt;get creator(){return new Z(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}archive(){return new Xv(this._request).fetch(this.id)}delete(e){return new Qv(this._request).fetch(this.id,e)}},Xd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Yd(e,t)),new P(e,n.pageInfo))}},Zd=class extends C{constructor(e,t){super(e),this.hasAllScopes=t.hasAllScopes,this.missingScopes=t.missingScopes??void 0}hasAllScopes;missingScopes},A=class extends C{_integration;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._integration=t.integration??void 0}lastSyncId;success;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Qd=class extends C{constructor(e,t){super(e),this.success=t.success}success},$d=class extends C{constructor(e,t){super(e),this.name=t.name,this.success=t.success}name;success},ef=class extends C{_integration;_template;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.foreignEntityId=t.foreignEntityId??void 0,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._integration=t.integration,this._template=t.template}archivedAt;createdAt;foreignEntityId;id;updatedAt;get integration(){return new H(this._request).fetch(this._integration.id)}get integrationId(){return this._integration?.id}get template(){return new X(this._request).fetch(this._template.id)}get templateId(){return this._template?.id}create(e){return new Ay(this._request).fetch(e)}delete(){return new jy(this._request).fetch(this.id)}},tf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new ef(e,t)),new P(e,n.pageInfo))}},nf=class extends C{_integrationTemplate;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._integrationTemplate=t.integrationTemplate}lastSyncId;success;get integrationTemplate(){return new Jh(this._request).fetch(this._integrationTemplate.id)}get integrationTemplateId(){return this._integrationTemplate?.id}},rf=class extends C{_initiative;_project;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.slackInitiativeUpdateCreated=t.slackInitiativeUpdateCreated??void 0,this.slackIssueAddedToTriage=t.slackIssueAddedToTriage??void 0,this.slackIssueAddedToView=t.slackIssueAddedToView??void 0,this.slackIssueCreated=t.slackIssueCreated??void 0,this.slackIssueNewComment=t.slackIssueNewComment??void 0,this.slackIssueSlaBreached=t.slackIssueSlaBreached??void 0,this.slackIssueSlaHighRisk=t.slackIssueSlaHighRisk??void 0,this.slackIssueStatusChangedAll=t.slackIssueStatusChangedAll??void 0,this.slackIssueStatusChangedDone=t.slackIssueStatusChangedDone??void 0,this.slackProjectUpdateCreated=t.slackProjectUpdateCreated??void 0,this.slackProjectUpdateCreatedToTeam=t.slackProjectUpdateCreatedToTeam??void 0,this.slackProjectUpdateCreatedToWorkspace=t.slackProjectUpdateCreatedToWorkspace??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this._initiative=t.initiative??void 0,this._project=t.project??void 0,this._team=t.team??void 0}archivedAt;createdAt;id;slackInitiativeUpdateCreated;slackIssueAddedToTriage;slackIssueAddedToView;slackIssueCreated;slackIssueNewComment;slackIssueSlaBreached;slackIssueSlaHighRisk;slackIssueStatusChangedAll;slackIssueStatusChangedDone;slackProjectUpdateCreated;slackProjectUpdateCreatedToTeam;slackProjectUpdateCreatedToWorkspace;updatedAt;contextViewType;get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}create(e){return new Ny(this._request).fetch(e)}update(e){return new Py(this._request).fetch(this.id,e)}},af=class extends C{_integrationsSettings;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._integrationsSettings=t.integrationsSettings}lastSyncId;success;get integrationsSettings(){return new Zh(this._request).fetch(this._integrationsSettings.id)}get integrationsSettingsId(){return this._integrationsSettings?.id}},of=class extends C{_asksExternalUserRequester;_asksRequester;_assignee;_creator;_cycle;_delegate;_externalUserCreator;_favorite;_lastAppliedTemplate;_parent;_project;_projectMilestone;_recurringIssueTemplate;_snoozedBy;_sourceComment;_state;_team;constructor(e,t){super(e),this.addedToCycleAt=E(t.addedToCycleAt)??void 0,this.addedToProjectAt=E(t.addedToProjectAt)??void 0,this.addedToTeamAt=E(t.addedToTeamAt)??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.autoClosedAt=E(t.autoClosedAt)??void 0,this.boardOrder=t.boardOrder,this.branchName=t.branchName,this.canceledAt=E(t.canceledAt)??void 0,this.completedAt=E(t.completedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerTicketCount=t.customerTicketCount,this.description=t.description??void 0,this.dueDate=t.dueDate??void 0,this.estimate=t.estimate??void 0,this.id=t.id,this.identifier=t.identifier,this.labelIds=t.labelIds,this.number=t.number,this.previousIdentifiers=t.previousIdentifiers,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.reactionData=t.reactionData,this.slaBreachesAt=E(t.slaBreachesAt)??void 0,this.slaHighRiskAt=E(t.slaHighRiskAt)??void 0,this.slaMediumRiskAt=E(t.slaMediumRiskAt)??void 0,this.slaStartedAt=E(t.slaStartedAt)??void 0,this.slaType=t.slaType??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.sortOrder=t.sortOrder,this.startedAt=E(t.startedAt)??void 0,this.startedTriageAt=E(t.startedTriageAt)??void 0,this.subIssueSortOrder=t.subIssueSortOrder??void 0,this.title=t.title,this.trashed=t.trashed??void 0,this.triagedAt=E(t.triagedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.sharedAccess=new kf(e,t.sharedAccess),this.reactions=t.reactions.map(t=>new Gp(e,t)),this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new fd(e,t)):void 0,this.integrationSourceType=t.integrationSourceType??void 0,this._asksExternalUserRequester=t.asksExternalUserRequester??void 0,this._asksRequester=t.asksRequester??void 0,this._assignee=t.assignee??void 0,this._creator=t.creator??void 0,this._cycle=t.cycle??void 0,this._delegate=t.delegate??void 0,this._externalUserCreator=t.externalUserCreator??void 0,this._favorite=t.favorite??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._parent=t.parent??void 0,this._project=t.project??void 0,this._projectMilestone=t.projectMilestone??void 0,this._recurringIssueTemplate=t.recurringIssueTemplate??void 0,this._snoozedBy=t.snoozedBy??void 0,this._sourceComment=t.sourceComment??void 0,this._state=t.state,this._team=t.team}addedToCycleAt;addedToProjectAt;addedToTeamAt;archivedAt;autoArchivedAt;autoClosedAt;boardOrder;branchName;canceledAt;completedAt;createdAt;customerTicketCount;description;dueDate;estimate;id;identifier;labelIds;number;previousIdentifiers;priority;priorityLabel;prioritySortOrder;reactionData;slaBreachesAt;slaHighRiskAt;slaMediumRiskAt;slaStartedAt;slaType;snoozedUntilAt;sortOrder;startedAt;startedTriageAt;subIssueSortOrder;title;trashed;triagedAt;updatedAt;url;reactions;syncedWith;botActor;sharedAccess;integrationSourceType;get asksExternalUserRequester(){return this._asksExternalUserRequester?.id?new z(this._request).fetch(this._asksExternalUserRequester?.id):void 0}get asksExternalUserRequesterId(){return this._asksExternalUserRequester?.id}get asksRequester(){return this._asksRequester?.id?new Z(this._request).fetch(this._asksRequester?.id):void 0}get asksRequesterId(){return this._asksRequester?.id}get assignee(){return this._assignee?.id?new Z(this._request).fetch(this._assignee?.id):void 0}get assigneeId(){return this._assignee?.id}get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get delegate(){return this._delegate?.id?new Z(this._request).fetch(this._delegate?.id):void 0}get delegateId(){return this._delegate?.id}get externalUserCreator(){return this._externalUserCreator?.id?new z(this._request).fetch(this._externalUserCreator?.id):void 0}get externalUserCreatorId(){return this._externalUserCreator?.id}get favorite(){return this._favorite?.id?new zh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new X(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get parent(){return this._parent?.id?new U(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new q(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}get recurringIssueTemplate(){return this._recurringIssueTemplate?.id?new X(this._request).fetch(this._recurringIssueTemplate?.id):void 0}get recurringIssueTemplateId(){return this._recurringIssueTemplate?.id}get snoozedBy(){return this._snoozedBy?.id?new Z(this._request).fetch(this._snoozedBy?.id):void 0}get snoozedById(){return this._snoozedBy?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}get state(){return new Q(this._request).fetch(this._state.id)}get stateId(){return this._state?.id}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}attachments(e){return new PS(this._request,this.id,e).fetch(e)}children(e){return new FS(this._request,this.id,e).fetch(e)}comments(e){return new IS(this._request,this.id,e).fetch(e)}documents(e){return new LS(this._request,this.id,e).fetch(e)}formerAttachments(e){return new RS(this._request,this.id,e).fetch(e)}formerNeeds(e){return new zS(this._request,this.id,e).fetch(e)}history(e){return new BS(this._request,this.id,e).fetch(e)}inverseRelations(e){return new VS(this._request,this.id,e).fetch(e)}labels(e){return new HS(this._request,this.id,e).fetch(e)}needs(e){return new US(this._request,this.id,e).fetch(e)}relations(e){return new WS(this._request,this.id,e).fetch(e)}stateHistory(e){return new GS(this._request,this.id,e).fetch(e)}subscribers(e){return new KS(this._request,this.id,e).fetch(e)}archive(e){return new Iy(this._request).fetch(this.id,e)}create(e){return new zy(this._request).fetch(e)}delete(e){return new By(this._request).fetch(this.id,e)}unarchive(){return new sb(this._request).fetch(this.id)}update(e){return new lb(this._request).fetch(this.id,e)}},sf=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new U(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},cf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.issues=t.issues.map(t=>new of(e,t))}lastSyncId;success;issues},j=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new of(e,t)),new P(e,n.pageInfo))}},lf=class extends C{constructor(e,t){super(e),this.filter=t.filter??void 0,this.logId=t.logId??void 0}filter;logId},uf=class extends C{_actor;_attachment;_fromAssignee;_fromCycle;_fromDelegate;_fromParent;_fromProject;_fromProjectMilestone;_fromState;_fromTeam;_issue;_toAssignee;_toConvertedProject;_toCycle;_toDelegate;_toParent;_toProject;_toProjectMilestone;_toState;_toTeam;_triageResponsibilityTeam;constructor(e,t){super(e),this.actorId=t.actorId??void 0,this.addedLabelIds=t.addedLabelIds??void 0,this.archived=t.archived??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.attachmentId=t.attachmentId??void 0,this.autoArchived=t.autoArchived??void 0,this.autoClosed=t.autoClosed??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerNeedId=t.customerNeedId??void 0,this.fromAssigneeId=t.fromAssigneeId??void 0,this.fromCycleId=t.fromCycleId??void 0,this.fromDueDate=t.fromDueDate??void 0,this.fromEstimate=t.fromEstimate??void 0,this.fromParentId=t.fromParentId??void 0,this.fromPriority=t.fromPriority??void 0,this.fromProjectId=t.fromProjectId??void 0,this.fromSlaBreached=t.fromSlaBreached??void 0,this.fromSlaBreachesAt=E(t.fromSlaBreachesAt)??void 0,this.fromSlaStartedAt=E(t.fromSlaStartedAt)??void 0,this.fromSlaType=t.fromSlaType??void 0,this.fromStateId=t.fromStateId??void 0,this.fromTeamId=t.fromTeamId??void 0,this.fromTitle=t.fromTitle??void 0,this.id=t.id,this.removedLabelIds=t.removedLabelIds??void 0,this.toAssigneeId=t.toAssigneeId??void 0,this.toConvertedProjectId=t.toConvertedProjectId??void 0,this.toCycleId=t.toCycleId??void 0,this.toDueDate=t.toDueDate??void 0,this.toEstimate=t.toEstimate??void 0,this.toParentId=t.toParentId??void 0,this.toPriority=t.toPriority??void 0,this.toProjectId=t.toProjectId??void 0,this.toSlaBreached=t.toSlaBreached??void 0,this.toSlaBreachesAt=E(t.toSlaBreachesAt)??void 0,this.toSlaStartedAt=E(t.toSlaStartedAt)??void 0,this.toSlaType=t.toSlaType??void 0,this.toStateId=t.toStateId??void 0,this.toTeamId=t.toTeamId??void 0,this.toTitle=t.toTitle??void 0,this.trashed=t.trashed??void 0,this.triageResponsibilityAutoAssigned=t.triageResponsibilityAutoAssigned??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.updatedDescription=t.updatedDescription??void 0,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.issueImport=t.issueImport?new ff(e,t.issueImport):void 0,this.actors=t.actors?t.actors.map(t=>new Pm(e,t)):void 0,this.addedLabels=t.addedLabels?t.addedLabels.map(t=>new vf(e,t)):void 0,this.descriptionUpdatedBy=t.descriptionUpdatedBy?t.descriptionUpdatedBy.map(t=>new Pm(e,t)):void 0,this.relationChanges=t.relationChanges?t.relationChanges.map(t=>new Tf(e,t)):void 0,this.removedLabels=t.removedLabels?t.removedLabels.map(t=>new vf(e,t)):void 0,this.triageResponsibilityNotifiedUsers=t.triageResponsibilityNotifiedUsers?t.triageResponsibilityNotifiedUsers.map(t=>new Pm(e,t)):void 0,this._actor=t.actor??void 0,this._attachment=t.attachment??void 0,this._fromAssignee=t.fromAssignee??void 0,this._fromCycle=t.fromCycle??void 0,this._fromDelegate=t.fromDelegate??void 0,this._fromParent=t.fromParent??void 0,this._fromProject=t.fromProject??void 0,this._fromProjectMilestone=t.fromProjectMilestone??void 0,this._fromState=t.fromState??void 0,this._fromTeam=t.fromTeam??void 0,this._issue=t.issue,this._toAssignee=t.toAssignee??void 0,this._toConvertedProject=t.toConvertedProject??void 0,this._toCycle=t.toCycle??void 0,this._toDelegate=t.toDelegate??void 0,this._toParent=t.toParent??void 0,this._toProject=t.toProject??void 0,this._toProjectMilestone=t.toProjectMilestone??void 0,this._toState=t.toState??void 0,this._toTeam=t.toTeam??void 0,this._triageResponsibilityTeam=t.triageResponsibilityTeam??void 0}actorId;addedLabelIds;archived;archivedAt;attachmentId;autoArchived;autoClosed;createdAt;customerNeedId;fromAssigneeId;fromCycleId;fromDueDate;fromEstimate;fromParentId;fromPriority;fromProjectId;fromSlaBreached;fromSlaBreachesAt;fromSlaStartedAt;fromSlaType;fromStateId;fromTeamId;fromTitle;id;removedLabelIds;toAssigneeId;toConvertedProjectId;toCycleId;toDueDate;toEstimate;toParentId;toPriority;toProjectId;toSlaBreached;toSlaBreachesAt;toSlaStartedAt;toSlaType;toStateId;toTeamId;toTitle;trashed;triageResponsibilityAutoAssigned;updatedAt;updatedDescription;actors;addedLabels;descriptionUpdatedBy;relationChanges;removedLabels;triageResponsibilityNotifiedUsers;botActor;issueImport;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get attachment(){return this._attachment?.id?new fh(this._request).fetch(this._attachment?.id):void 0}get fromAssignee(){return this._fromAssignee?.id?new Z(this._request).fetch(this._fromAssignee?.id):void 0}get fromCycle(){return this._fromCycle?.id?new R(this._request).fetch(this._fromCycle?.id):void 0}get fromDelegate(){return this._fromDelegate?.id?new Z(this._request).fetch(this._fromDelegate?.id):void 0}get fromDelegateId(){return this._fromDelegate?.id}get fromParent(){return this._fromParent?.id?new U(this._request).fetch(this._fromParent?.id):void 0}get fromProject(){return this._fromProject?.id?new K(this._request).fetch(this._fromProject?.id):void 0}get fromProjectMilestone(){return this._fromProjectMilestone?.id?new q(this._request).fetch(this._fromProjectMilestone?.id):void 0}get fromProjectMilestoneId(){return this._fromProjectMilestone?.id}get fromState(){return this._fromState?.id?new Q(this._request).fetch(this._fromState?.id):void 0}get fromTeam(){return this._fromTeam?.id?new Y(this._request).fetch(this._fromTeam?.id):void 0}get issue(){return new U(this._request).fetch(this._issue.id)}get issueId(){return this._issue?.id}get toAssignee(){return this._toAssignee?.id?new Z(this._request).fetch(this._toAssignee?.id):void 0}get toConvertedProject(){return this._toConvertedProject?.id?new K(this._request).fetch(this._toConvertedProject?.id):void 0}get toCycle(){return this._toCycle?.id?new R(this._request).fetch(this._toCycle?.id):void 0}get toDelegate(){return this._toDelegate?.id?new Z(this._request).fetch(this._toDelegate?.id):void 0}get toDelegateId(){return this._toDelegate?.id}get toParent(){return this._toParent?.id?new U(this._request).fetch(this._toParent?.id):void 0}get toProject(){return this._toProject?.id?new K(this._request).fetch(this._toProject?.id):void 0}get toProjectMilestone(){return this._toProjectMilestone?.id?new q(this._request).fetch(this._toProjectMilestone?.id):void 0}get toProjectMilestoneId(){return this._toProjectMilestone?.id}get toState(){return this._toState?.id?new Q(this._request).fetch(this._toState?.id):void 0}get toTeam(){return this._toTeam?.id?new Y(this._request).fetch(this._toTeam?.id):void 0}get triageResponsibilityTeam(){return this._triageResponsibilityTeam?.id?new Y(this._request).fetch(this._triageResponsibilityTeam?.id):void 0}get triageResponsibilityTeamId(){return this._triageResponsibilityTeam?.id}},df=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new uf(e,t)),new P(e,n.pageInfo))}},ff=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.creatorId=t.creatorId??void 0,this.csvFileUrl=t.csvFileUrl??void 0,this.displayName=t.displayName,this.error=t.error??void 0,this.errorMetadata=t.errorMetadata??void 0,this.id=t.id,this.mapping=t.mapping??void 0,this.progress=t.progress??void 0,this.service=t.service,this.serviceMetadata=t.serviceMetadata??void 0,this.status=t.status,this.teamName=t.teamName??void 0,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;createdAt;creatorId;csvFileUrl;displayName;error;errorMetadata;id;mapping;progress;service;serviceMetadata;status;teamName;updatedAt;delete(e){return new qy(this._request).fetch(e)}update(e){return new Yy(this._request).fetch(this.id,e)}},pf=class extends C{constructor(e,t){super(e),this.success=t.success}success},mf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.issueImport=t.issueImport?new ff(e,t.issueImport):void 0}lastSyncId;success;issueImport},hf=class extends C{constructor(e,t){super(e),this.count=t.count??void 0,this.error=t.error??void 0,this.success=t.success}count;error;success},gf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.issueImport=t.issueImport?new ff(e,t.issueImport):void 0}lastSyncId;success;issueImport},_f=class extends C{constructor(e,t){super(e),this.canSync=t.canSync,this.error=t.error??void 0}canSync;error},vf=class extends C{_creator;_inheritedFrom;_parent;_retiredBy;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.isGroup=t.isGroup,this.lastAppliedAt=E(t.lastAppliedAt)??void 0,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0,this._inheritedFrom=t.inheritedFrom??void 0,this._parent=t.parent??void 0,this._retiredBy=t.retiredBy??void 0,this._team=t.team??void 0}archivedAt;color;createdAt;description;id;isGroup;lastAppliedAt;name;updatedAt;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get inheritedFrom(){return this._inheritedFrom?.id?new W(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get organization(){return new G(this._request).fetch()}get parent(){return this._parent?.id?new W(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get retiredBy(){return this._retiredBy?.id?new Z(this._request).fetch(this._retiredBy?.id):void 0}get retiredById(){return this._retiredBy?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}children(e){return new qS(this._request,this.id,e).fetch(e)}issues(e){return new JS(this._request,this.id,e).fetch(e)}create(e,t){return new Xy(this._request).fetch(e,t)}delete(){return new Zy(this._request).fetch(this.id)}update(e,t){return new eb(this._request).fetch(this.id,e,t)}},yf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new vf(e,t)),new P(e,n.pageInfo))}},bf=class extends C{_issueLabel;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._issueLabel=t.issueLabel}lastSyncId;success;get issueLabel(){return new W(this._request).fetch(this._issueLabel.id)}get issueLabelId(){return this._issueLabel?.id}},xf=class extends C{_actor;_comment;_externalUserActor;_issue;_parentComment;_team;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.issueId=t.issueId,this.parentCommentId=t.parentCommentId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.subscriptions=t.subscriptions?t.subscriptions.map(t=>new Gf(e,t)):void 0,this.category=t.category,this._actor=t.actor??void 0,this._comment=t.comment??void 0,this._externalUserActor=t.externalUserActor??void 0,this._issue=t.issue,this._parentComment=t.parentComment??void 0,this._team=t.team,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;issueId;parentCommentId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;subscriptions;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get issue(){return new U(this._request).fetch(this._issue.id)}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},M=class extends C{_issue;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._issue=t.issue??void 0}lastSyncId;success;get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}},Sf=class extends C{constructor(e,t){super(e),this.label=t.label,this.priority=t.priority}label;priority},Cf=class extends C{_issue;_relatedIssue;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._issue=t.issue,this._relatedIssue=t.relatedIssue}archivedAt;createdAt;id;type;updatedAt;get issue(){return new U(this._request).fetch(this._issue.id)}get issueId(){return this._issue?.id}get relatedIssue(){return new U(this._request).fetch(this._relatedIssue.id)}get relatedIssueId(){return this._relatedIssue?.id}create(e,t){return new tb(this._request).fetch(e,t)}delete(){return new nb(this._request).fetch(this.id)}update(e){return new rb(this._request).fetch(this.id,e)}},wf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Cf(e,t)),new P(e,n.pageInfo))}},Tf=class extends C{constructor(e,t){super(e),this.identifier=t.identifier,this.type=t.type}identifier;type},Ef=class extends C{_issueRelation;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._issueRelation=t.issueRelation}lastSyncId;success;get issueRelation(){return new ag(this._request).fetch(this._issueRelation.id)}get issueRelationId(){return this._issueRelation?.id}},Df=class extends C{constructor(e,t){super(e),this.totalCount=t.totalCount,this.archivePayload=new $l(e,t.archivePayload),this.pageInfo=new P(e,t.pageInfo),this.nodes=t.nodes.map(t=>new Of(e,t))}totalCount;nodes;archivePayload;pageInfo},Of=class extends C{_asksExternalUserRequester;_asksRequester;_assignee;_creator;_cycle;_delegate;_externalUserCreator;_favorite;_lastAppliedTemplate;_parent;_project;_projectMilestone;_recurringIssueTemplate;_snoozedBy;_sourceComment;_state;_team;constructor(e,t){super(e),this.addedToCycleAt=E(t.addedToCycleAt)??void 0,this.addedToProjectAt=E(t.addedToProjectAt)??void 0,this.addedToTeamAt=E(t.addedToTeamAt)??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.autoClosedAt=E(t.autoClosedAt)??void 0,this.boardOrder=t.boardOrder,this.branchName=t.branchName,this.canceledAt=E(t.canceledAt)??void 0,this.completedAt=E(t.completedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerTicketCount=t.customerTicketCount,this.description=t.description??void 0,this.dueDate=t.dueDate??void 0,this.estimate=t.estimate??void 0,this.id=t.id,this.identifier=t.identifier,this.labelIds=t.labelIds,this.metadata=t.metadata,this.number=t.number,this.previousIdentifiers=t.previousIdentifiers,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.reactionData=t.reactionData,this.slaBreachesAt=E(t.slaBreachesAt)??void 0,this.slaHighRiskAt=E(t.slaHighRiskAt)??void 0,this.slaMediumRiskAt=E(t.slaMediumRiskAt)??void 0,this.slaStartedAt=E(t.slaStartedAt)??void 0,this.slaType=t.slaType??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.sortOrder=t.sortOrder,this.startedAt=E(t.startedAt)??void 0,this.startedTriageAt=E(t.startedTriageAt)??void 0,this.subIssueSortOrder=t.subIssueSortOrder??void 0,this.title=t.title,this.trashed=t.trashed??void 0,this.triagedAt=E(t.triagedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.sharedAccess=new kf(e,t.sharedAccess),this.reactions=t.reactions.map(t=>new Gp(e,t)),this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new fd(e,t)):void 0,this.integrationSourceType=t.integrationSourceType??void 0,this._asksExternalUserRequester=t.asksExternalUserRequester??void 0,this._asksRequester=t.asksRequester??void 0,this._assignee=t.assignee??void 0,this._creator=t.creator??void 0,this._cycle=t.cycle??void 0,this._delegate=t.delegate??void 0,this._externalUserCreator=t.externalUserCreator??void 0,this._favorite=t.favorite??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._parent=t.parent??void 0,this._project=t.project??void 0,this._projectMilestone=t.projectMilestone??void 0,this._recurringIssueTemplate=t.recurringIssueTemplate??void 0,this._snoozedBy=t.snoozedBy??void 0,this._sourceComment=t.sourceComment??void 0,this._state=t.state,this._team=t.team}addedToCycleAt;addedToProjectAt;addedToTeamAt;archivedAt;autoArchivedAt;autoClosedAt;boardOrder;branchName;canceledAt;completedAt;createdAt;customerTicketCount;description;dueDate;estimate;id;identifier;labelIds;metadata;number;previousIdentifiers;priority;priorityLabel;prioritySortOrder;reactionData;slaBreachesAt;slaHighRiskAt;slaMediumRiskAt;slaStartedAt;slaType;snoozedUntilAt;sortOrder;startedAt;startedTriageAt;subIssueSortOrder;title;trashed;triagedAt;updatedAt;url;reactions;syncedWith;botActor;sharedAccess;integrationSourceType;get asksExternalUserRequester(){return this._asksExternalUserRequester?.id?new z(this._request).fetch(this._asksExternalUserRequester?.id):void 0}get asksExternalUserRequesterId(){return this._asksExternalUserRequester?.id}get asksRequester(){return this._asksRequester?.id?new Z(this._request).fetch(this._asksRequester?.id):void 0}get asksRequesterId(){return this._asksRequester?.id}get assignee(){return this._assignee?.id?new Z(this._request).fetch(this._assignee?.id):void 0}get assigneeId(){return this._assignee?.id}get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get delegate(){return this._delegate?.id?new Z(this._request).fetch(this._delegate?.id):void 0}get delegateId(){return this._delegate?.id}get externalUserCreator(){return this._externalUserCreator?.id?new z(this._request).fetch(this._externalUserCreator?.id):void 0}get externalUserCreatorId(){return this._externalUserCreator?.id}get favorite(){return this._favorite?.id?new zh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new X(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get parent(){return this._parent?.id?new U(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new q(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}get recurringIssueTemplate(){return this._recurringIssueTemplate?.id?new X(this._request).fetch(this._recurringIssueTemplate?.id):void 0}get recurringIssueTemplateId(){return this._recurringIssueTemplate?.id}get snoozedBy(){return this._snoozedBy?.id?new Z(this._request).fetch(this._snoozedBy?.id):void 0}get snoozedById(){return this._snoozedBy?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}get state(){return new Q(this._request).fetch(this._state.id)}get stateId(){return this._state?.id}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}},kf=class extends C{constructor(e,t){super(e),this.isShared=t.isShared,this.sharedWithCount=t.sharedWithCount,this.viewerHasOnlySharedAccess=t.viewerHasOnlySharedAccess,this.sharedWithUsers=t.sharedWithUsers.map(t=>new Pm(e,t))}isShared;sharedWithCount;viewerHasOnlySharedAccess;sharedWithUsers},Af=class extends C{_state;constructor(e,t){super(e),this.endedAt=E(t.endedAt)??void 0,this.id=t.id,this.startedAt=E(t.startedAt)??new Date,this.stateId=t.stateId,this._state=t.state??void 0}endedAt;id;startedAt;stateId;get state(){return this._state?.id?new Q(this._request).fetch(this._state?.id):void 0}},jf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Af(e,t)),new P(e,n.pageInfo))}},Mf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.title=t.title}lastSyncId;title},Nf=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return new W(this._request).fetch(this._label.id)}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},Pf=class extends C{constructor(e,t){super(e),this.success=t.success}success},Ff=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}archive(){return new gb(this._request).fetch(this.id)}unarchive(){return new Tb(this._request).fetch(this.id)}update(e){return new Db(this._request).fetch(this.id,e)}},If=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Lf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.notifications=t.notifications.map(t=>new Ff(e,t))}lastSyncId;success;notifications},Rf=class extends C{constructor(e,t){super(e),this.appsAndIntegrations=new N(e,t.appsAndIntegrations),this.assignments=new N(e,t.assignments),this.commentsAndReplies=new N(e,t.commentsAndReplies),this.customers=new N(e,t.customers),this.documentChanges=new N(e,t.documentChanges),this.feed=new N(e,t.feed),this.mentions=new N(e,t.mentions),this.postsAndUpdates=new N(e,t.postsAndUpdates),this.reactions=new N(e,t.reactions),this.reminders=new N(e,t.reminders),this.reviews=new N(e,t.reviews),this.statusChanges=new N(e,t.statusChanges),this.subscriptions=new N(e,t.subscriptions),this.system=new N(e,t.system),this.triage=new N(e,t.triage)}appsAndIntegrations;assignments;commentsAndReplies;customers;documentChanges;feed;mentions;postsAndUpdates;reactions;reminders;reviews;statusChanges;subscriptions;system;triage},N=class extends C{constructor(e,t){super(e),this.desktop=t.desktop,this.email=t.email,this.mobile=t.mobile,this.slack=t.slack}desktop;email;mobile;slack},zf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>{switch(t.__typename){case`CustomerNeedNotification`:return new Eu(e,t);case`CustomerNotification`:return new ku(e,t);case`DocumentNotification`:return new Yu(e,t);case`InitiativeNotification`:return new Fd(e,t);case`IssueNotification`:return new xf(e,t);case`OauthClientApprovalNotification`:return new Yf(e,t);case`PostNotification`:return new sp(e,t);case`ProjectNotification`:return new Sp(e,t);case`PullRequestNotification`:return new zp(e,t);case`WelcomeMessageNotification`:return new th(e,t);default:return new Ff(e,t)}}),new P(e,n.pageInfo))}},Bf=class extends C{constructor(e,t){super(e),this.mobile=t.mobile?new Vf(e,t.mobile):void 0}mobile},Vf=class extends C{constructor(e,t){super(e),this.notificationsDisabled=t.notificationsDisabled??void 0,this.schedule=t.schedule?new Uf(e,t.schedule):void 0}notificationsDisabled;schedule},Hf=class extends C{constructor(e,t){super(e),this.end=t.end??void 0,this.start=t.start??void 0}end;start},Uf=class extends C{constructor(e,t){super(e),this.disabled=t.disabled??void 0,this.friday=new Hf(e,t.friday),this.monday=new Hf(e,t.monday),this.saturday=new Hf(e,t.saturday),this.sunday=new Hf(e,t.sunday),this.thursday=new Hf(e,t.thursday),this.tuesday=new Hf(e,t.tuesday),this.wednesday=new Hf(e,t.wednesday)}disabled;friday;monday;saturday;sunday;thursday;tuesday;wednesday},Wf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Gf=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new Sb(this._request).fetch(e)}delete(){return new Cb(this._request).fetch(this.id)}update(e){return new wb(this._request).fetch(this.id,e)}},Kf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>{switch(t.__typename){case`CustomViewNotificationSubscription`:return new yu(e,t);case`CustomerNotificationSubscription`:return new Au(e,t);case`CycleNotificationSubscription`:return new Vu(e,t);case`InitiativeNotificationSubscription`:return new Id(e,t);case`LabelNotificationSubscription`:return new Nf(e,t);case`ProjectNotificationSubscription`:return new Cp(e,t);case`TeamNotificationSubscription`:return new vm(e,t);case`UserNotificationSubscription`:return new Lm(e,t);default:return new Gf(e,t)}}),new P(e,n.pageInfo))}},qf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Jf=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.denyReason=t.denyReason??void 0,this.id=t.id,this.newlyRequestedScopes=t.newlyRequestedScopes??void 0,this.oauthClientId=t.oauthClientId,this.requestReason=t.requestReason??void 0,this.requesterId=t.requesterId,this.responderId=t.responderId??void 0,this.scopes=t.scopes,this.updatedAt=E(t.updatedAt)??new Date,this.status=t.status}archivedAt;createdAt;denyReason;id;newlyRequestedScopes;oauthClientId;requestReason;requesterId;responderId;scopes;updatedAt;status},Yf=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.oauthClientApprovalId=t.oauthClientApprovalId,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.oauthClientApproval=new Jf(e,t.oauthClientApproval),this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;oauthClientApprovalId;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;oauthClientApproval;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Xf=class extends C{_slackProjectChannelIntegration;constructor(e,t){super(e),this.aiDiscussionSummariesEnabled=t.aiDiscussionSummariesEnabled,this.aiThreadSummariesEnabled=t.aiThreadSummariesEnabled,this.allowMembersToInvite=t.allowMembersToInvite??void 0,this.allowedAuthServices=t.allowedAuthServices,this.allowedFileUploadContentTypes=t.allowedFileUploadContentTypes??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.createdIssueCount=t.createdIssueCount,this.customerCount=t.customerCount,this.customersConfiguration=t.customersConfiguration,this.customersEnabled=t.customersEnabled,this.deletionRequestedAt=E(t.deletionRequestedAt)??void 0,this.feedEnabled=t.feedEnabled,this.fiscalYearStartMonth=t.fiscalYearStartMonth,this.gitBranchFormat=t.gitBranchFormat??void 0,this.gitLinkbackDescriptionsEnabled=t.gitLinkbackDescriptionsEnabled,this.gitLinkbackMessagesEnabled=t.gitLinkbackMessagesEnabled,this.gitPublicLinkbackMessagesEnabled=t.gitPublicLinkbackMessagesEnabled,this.hideNonPrimaryOrganizations=t.hideNonPrimaryOrganizations,this.hipaaComplianceEnabled=t.hipaaComplianceEnabled,this.id=t.id,this.initiativeUpdateReminderFrequencyInWeeks=t.initiativeUpdateReminderFrequencyInWeeks??void 0,this.initiativeUpdateRemindersHour=t.initiativeUpdateRemindersHour,this.logoUrl=t.logoUrl??void 0,this.name=t.name,this.periodUploadVolume=t.periodUploadVolume,this.previousUrlKeys=t.previousUrlKeys,this.projectUpdateReminderFrequencyInWeeks=t.projectUpdateReminderFrequencyInWeeks??void 0,this.projectUpdateRemindersHour=t.projectUpdateRemindersHour,this.restrictLabelManagementToAdmins=t.restrictLabelManagementToAdmins??void 0,this.restrictTeamCreationToAdmins=t.restrictTeamCreationToAdmins??void 0,this.roadmapEnabled=t.roadmapEnabled,this.samlEnabled=t.samlEnabled,this.scimEnabled=t.scimEnabled,this.securitySettings=t.securitySettings,this.slackProjectChannelPrefix=t.slackProjectChannelPrefix,this.trialEndsAt=E(t.trialEndsAt)??void 0,this.trialStartsAt=E(t.trialStartsAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.urlKey=t.urlKey,this.userCount=t.userCount,this.subscription=t.subscription?new op(e,t.subscription):void 0,this.ipRestrictions=t.ipRestrictions?t.ipRestrictions.map(t=>new rp(e,t)):void 0,this.projectStatuses=t.projectStatuses.map(t=>new Ap(e,t)),this.defaultFeedSummarySchedule=t.defaultFeedSummarySchedule??void 0,this.initiativeUpdateRemindersDay=t.initiativeUpdateRemindersDay,this.projectUpdateRemindersDay=t.projectUpdateRemindersDay,this.projectUpdatesReminderFrequency=t.projectUpdatesReminderFrequency,this.releaseChannel=t.releaseChannel,this.slaDayCount=t.slaDayCount,this._slackProjectChannelIntegration=t.slackProjectChannelIntegration??void 0}aiDiscussionSummariesEnabled;aiThreadSummariesEnabled;allowMembersToInvite;allowedAuthServices;allowedFileUploadContentTypes;archivedAt;createdAt;createdIssueCount;customerCount;customersConfiguration;customersEnabled;deletionRequestedAt;feedEnabled;fiscalYearStartMonth;gitBranchFormat;gitLinkbackDescriptionsEnabled;gitLinkbackMessagesEnabled;gitPublicLinkbackMessagesEnabled;hideNonPrimaryOrganizations;hipaaComplianceEnabled;id;initiativeUpdateReminderFrequencyInWeeks;initiativeUpdateRemindersHour;logoUrl;name;periodUploadVolume;previousUrlKeys;projectUpdateReminderFrequencyInWeeks;projectUpdateRemindersHour;restrictLabelManagementToAdmins;restrictTeamCreationToAdmins;roadmapEnabled;samlEnabled;scimEnabled;securitySettings;slackProjectChannelPrefix;trialEndsAt;trialStartsAt;updatedAt;urlKey;userCount;ipRestrictions;projectStatuses;subscription;defaultFeedSummarySchedule;initiativeUpdateRemindersDay;projectUpdateRemindersDay;projectUpdatesReminderFrequency;releaseChannel;slaDayCount;get slackProjectChannelIntegration(){return this._slackProjectChannelIntegration?.id?new H(this._request).fetch(this._slackProjectChannelIntegration?.id):void 0}get slackProjectChannelIntegrationId(){return this._slackProjectChannelIntegration?.id}integrations(e){return new YS(this._request,e).fetch(e)}labels(e){return new XS(this._request,e).fetch(e)}projectLabels(e){return new ZS(this._request,e).fetch(e)}teams(e){return new QS(this._request,e).fetch(e)}templates(e){return new $S(this._request,e).fetch(e)}users(e){return new eC(this._request,e).fetch(e)}delete(e){return new kb(this._request).fetch(e)}update(e){return new Lb(this._request).fetch(e)}},Zf=class extends C{constructor(e,t){super(e),this.success=t.success}success},Qf=class extends C{constructor(e,t){super(e),this.success=t.success}success},$f=class extends C{constructor(e,t){super(e),this.exists=t.exists,this.success=t.success}exists;success},ep=class extends C{_invitee;_inviter;constructor(e,t){super(e),this.acceptedAt=E(t.acceptedAt)??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.email=t.email,this.expiresAt=E(t.expiresAt)??void 0,this.external=t.external,this.id=t.id,this.metadata=t.metadata??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.role=t.role,this._invitee=t.invitee??void 0,this._inviter=t.inviter}acceptedAt;archivedAt;createdAt;email;expiresAt;external;id;metadata;updatedAt;role;get invitee(){return this._invitee?.id?new Z(this._request).fetch(this._invitee?.id):void 0}get inviteeId(){return this._invitee?.id}get inviter(){return new Z(this._request).fetch(this._inviter.id)}get inviterId(){return this._inviter?.id}get organization(){return new G(this._request).fetch()}create(e){return new Mb(this._request).fetch(e)}delete(){return new Nb(this._request).fetch(this.id)}update(e){return new Pb(this._request).fetch(this.id,e)}},tp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new ep(e,t)),new P(e,n.pageInfo))}},np=class extends C{_organizationInvite;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._organizationInvite=t.organizationInvite}lastSyncId;success;get organizationInvite(){return new _g(this._request).fetch(this._organizationInvite.id)}get organizationInviteId(){return this._organizationInvite?.id}},rp=class extends C{constructor(e,t){super(e),this.description=t.description??void 0,this.enabled=t.enabled,this.range=t.range,this.type=t.type}description;enabled;range;type},ip=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success;get organization(){return new G(this._request).fetch()}},ap=class extends C{constructor(e,t){super(e),this.success=t.success}success},P=class extends C{constructor(e,t){super(e),this.endCursor=t.endCursor??void 0,this.hasNextPage=t.hasNextPage,this.hasPreviousPage=t.hasPreviousPage,this.startCursor=t.startCursor??void 0}endCursor;hasNextPage;hasPreviousPage;startCursor},op=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.cancelAt=E(t.cancelAt)??void 0,this.canceledAt=E(t.canceledAt)??void 0,this.collectionMethod=t.collectionMethod,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.nextBillingAt=E(t.nextBillingAt)??void 0,this.pendingChangeType=t.pendingChangeType??void 0,this.seats=t.seats,this.seatsMaximum=t.seatsMaximum??void 0,this.seatsMinimum=t.seatsMinimum??void 0,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0}archivedAt;cancelAt;canceledAt;collectionMethod;createdAt;id;nextBillingAt;pendingChangeType;seats;seatsMaximum;seatsMinimum;type;updatedAt;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}},sp=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.parentCommentId=t.parentCommentId??void 0,this.postId=t.postId,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;parentCommentId;postId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},cp=class extends C{_convertedFromIssue;_creator;_favorite;_integrationsSettings;_lastAppliedTemplate;_lastUpdate;_lead;_status;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.canceledAt=E(t.canceledAt)??void 0,this.color=t.color,this.completedAt=E(t.completedAt)??void 0,this.completedIssueCountHistory=t.completedIssueCountHistory,this.completedScopeHistory=t.completedScopeHistory,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description,this.healthUpdatedAt=E(t.healthUpdatedAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.inProgressScopeHistory=t.inProgressScopeHistory,this.issueCountHistory=t.issueCountHistory,this.labelIds=t.labelIds,this.name=t.name,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.progress=t.progress,this.projectUpdateRemindersPausedUntilAt=E(t.projectUpdateRemindersPausedUntilAt)??void 0,this.scope=t.scope,this.scopeHistory=t.scopeHistory,this.slackIssueComments=t.slackIssueComments,this.slackIssueStatuses=t.slackIssueStatuses,this.slackNewIssue=t.slackNewIssue,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.startDate=t.startDate??void 0,this.startedAt=E(t.startedAt)??void 0,this.state=t.state,this.targetDate=t.targetDate??void 0,this.trashed=t.trashed??void 0,this.updateReminderFrequency=t.updateReminderFrequency??void 0,this.updateReminderFrequencyInWeeks=t.updateReminderFrequencyInWeeks??void 0,this.updateRemindersHour=t.updateRemindersHour??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.documentContent=t.documentContent?new Ku(e,t.documentContent):void 0,this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new fd(e,t)):void 0,this.frequencyResolution=t.frequencyResolution,this.health=t.health??void 0,this.startDateResolution=t.startDateResolution??void 0,this.targetDateResolution=t.targetDateResolution??void 0,this.updateRemindersDay=t.updateRemindersDay??void 0,this._convertedFromIssue=t.convertedFromIssue??void 0,this._creator=t.creator??void 0,this._favorite=t.favorite??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._lastUpdate=t.lastUpdate??void 0,this._lead=t.lead??void 0,this._status=t.status}archivedAt;autoArchivedAt;canceledAt;color;completedAt;completedIssueCountHistory;completedScopeHistory;content;createdAt;description;healthUpdatedAt;icon;id;inProgressScopeHistory;issueCountHistory;labelIds;name;priority;priorityLabel;prioritySortOrder;progress;projectUpdateRemindersPausedUntilAt;scope;scopeHistory;slackIssueComments;slackIssueStatuses;slackNewIssue;slugId;sortOrder;startDate;startedAt;state;targetDate;trashed;updateReminderFrequency;updateReminderFrequencyInWeeks;updateRemindersHour;updatedAt;url;syncedWith;documentContent;frequencyResolution;health;startDateResolution;targetDateResolution;updateRemindersDay;get convertedFromIssue(){return this._convertedFromIssue?.id?new U(this._request).fetch(this._convertedFromIssue?.id):void 0}get convertedFromIssueId(){return this._convertedFromIssue?.id}get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get favorite(){return this._favorite?.id?new zh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Zh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new X(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get lastUpdate(){return this._lastUpdate?.id?new J(this._request).fetch(this._lastUpdate?.id):void 0}get lastUpdateId(){return this._lastUpdate?.id}get lead(){return this._lead?.id?new Z(this._request).fetch(this._lead?.id):void 0}get leadId(){return this._lead?.id}get status(){return new Tg(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}attachments(e){return new tC(this._request,this.id,e).fetch(e)}comments(e){return new nC(this._request,this.id,e).fetch(e)}documents(e){return new rC(this._request,this.id,e).fetch(e)}externalLinks(e){return new iC(this._request,this.id,e).fetch(e)}history(e){return new aC(this._request,this.id,e).fetch(e)}initiativeToProjects(e){return new oC(this._request,this.id,e).fetch(e)}initiatives(e){return new sC(this._request,this.id,e).fetch(e)}inverseRelations(e){return new cC(this._request,this.id,e).fetch(e)}issues(e){return new lC(this._request,this.id,e).fetch(e)}labels(e){return new uC(this._request,this.id,e).fetch(e)}members(e){return new dC(this._request,this.id,e).fetch(e)}needs(e){return new fC(this._request,this.id,e).fetch(e)}projectMilestones(e){return new pC(this._request,this.id,e).fetch(e)}projectUpdates(e){return new mC(this._request,this.id,e).fetch(e)}relations(e){return new hC(this._request,this.id,e).fetch(e)}teams(e){return new gC(this._request,this.id,e).fetch(e)}archive(e){return new zb(this._request).fetch(this.id,e)}create(e,t){return new Bb(this._request).fetch(e,t)}delete(){return new Vb(this._request).fetch(this.id)}unarchive(){return new ax(this._request).fetch(this.id)}update(){return new J(this._request).fetch(this.id)}},lp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new K(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},up=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.metadata=t.metadata,this.source=t.source??void 0,this.sourceType=t.sourceType??void 0,this.subtitle=t.subtitle??void 0,this.title=t.title,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0}archivedAt;createdAt;id;metadata;source;sourceType;subtitle;title;updatedAt;url;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}},dp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new up(e,t)),new P(e,n.pageInfo))}},fp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new cp(e,t)),new P(e,n.pageInfo))}},pp=class extends C{constructor(e,t){super(e),this.filter=t.filter??void 0,this.logId=t.logId??void 0}filter;logId},mp=class extends C{_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.entries=t.entries,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._project=t.project}archivedAt;createdAt;entries;id;updatedAt;get project(){return new K(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}},hp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new mp(e,t)),new P(e,n.pageInfo))}},gp=class extends C{_creator;_parent;_retiredBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.isGroup=t.isGroup,this.lastAppliedAt=E(t.lastAppliedAt)??void 0,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0,this._parent=t.parent??void 0,this._retiredBy=t.retiredBy??void 0}archivedAt;color;createdAt;description;id;isGroup;lastAppliedAt;name;updatedAt;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}get parent(){return this._parent?.id?new bg(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get retiredBy(){return this._retiredBy?.id?new Z(this._request).fetch(this._retiredBy?.id):void 0}get retiredById(){return this._retiredBy?.id}children(e){return new _C(this._request,this.id,e).fetch(e)}projects(e){return new vC(this._request,this.id,e).fetch(e)}create(e){return new Ub(this._request).fetch(e)}delete(){return new Wb(this._request).fetch(this.id)}update(e){return new qb(this._request).fetch(this.id,e)}},_p=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new gp(e,t)),new P(e,n.pageInfo))}},vp=class extends C{_projectLabel;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectLabel=t.projectLabel}lastSyncId;success;get projectLabel(){return new bg(this._request).fetch(this._projectLabel.id)}get projectLabelId(){return this._projectLabel?.id}},yp=class extends C{_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.name=t.name,this.progress=t.progress,this.sortOrder=t.sortOrder,this.targetDate=t.targetDate??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.documentContent=t.documentContent?new Ku(e,t.documentContent):void 0,this.status=t.status,this._project=t.project}archivedAt;createdAt;description;id;name;progress;sortOrder;targetDate;updatedAt;documentContent;status;get project(){return new K(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}issues(e){return new yC(this._request,this.id,e).fetch(e)}create(e){return new Jb(this._request).fetch(e)}delete(){return new Yb(this._request).fetch(this.id)}update(e){return new Xb(this._request).fetch(this.id,e)}},bp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new yp(e,t)),new P(e,n.pageInfo))}},xp=class extends C{_projectMilestone;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectMilestone=t.projectMilestone}lastSyncId;success;get projectMilestone(){return new q(this._request).fetch(this._projectMilestone.id)}get projectMilestoneId(){return this._projectMilestone?.id}},Sp=class extends C{_actor;_comment;_document;_externalUserActor;_parentComment;_project;_projectUpdate;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.parentCommentId=t.parentCommentId??void 0,this.projectId=t.projectId,this.projectMilestoneId=t.projectMilestoneId??void 0,this.projectUpdateId=t.projectUpdateId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._comment=t.comment??void 0,this._document=t.document??void 0,this._externalUserActor=t.externalUserActor??void 0,this._parentComment=t.parentComment??void 0,this._project=t.project,this._projectUpdate=t.projectUpdate??void 0,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;parentCommentId;projectId;projectMilestoneId;projectUpdateId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get document(){return this._document?.id?new jh(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get project(){return new K(this._request).fetch(this._project.id)}get projectUpdate(){return this._projectUpdate?.id?new J(this._request).fetch(this._projectUpdate?.id):void 0}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Cp=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return new K(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},wp=class extends C{_project;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._project=t.project??void 0}lastSyncId;success;get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}},Tp=class extends C{_project;_projectMilestone;_relatedProject;_relatedProjectMilestone;_user;constructor(e,t){super(e),this.anchorType=t.anchorType,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.relatedAnchorType=t.relatedAnchorType,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._project=t.project,this._projectMilestone=t.projectMilestone??void 0,this._relatedProject=t.relatedProject,this._relatedProjectMilestone=t.relatedProjectMilestone??void 0,this._user=t.user??void 0}anchorType;archivedAt;createdAt;id;relatedAnchorType;type;updatedAt;get project(){return new K(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new q(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}get relatedProject(){return new K(this._request).fetch(this._relatedProject.id)}get relatedProjectId(){return this._relatedProject?.id}get relatedProjectMilestone(){return this._relatedProjectMilestone?.id?new q(this._request).fetch(this._relatedProjectMilestone?.id):void 0}get relatedProjectMilestoneId(){return this._relatedProjectMilestone?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new Zb(this._request).fetch(e)}delete(){return new Qb(this._request).fetch(this.id)}update(e){return new $b(this._request).fetch(this.id,e)}},Ep=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Tp(e,t)),new P(e,n.pageInfo))}},Dp=class extends C{_projectRelation;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectRelation=t.projectRelation}lastSyncId;success;get projectRelation(){return new Cg(this._request).fetch(this._projectRelation.id)}get projectRelationId(){return this._projectRelation?.id}},Op=class extends C{constructor(e,t){super(e),this.totalCount=t.totalCount,this.archivePayload=new $l(e,t.archivePayload),this.pageInfo=new P(e,t.pageInfo),this.nodes=t.nodes.map(t=>new kp(e,t))}totalCount;nodes;archivePayload;pageInfo},kp=class extends C{_convertedFromIssue;_creator;_favorite;_integrationsSettings;_lastAppliedTemplate;_lastUpdate;_lead;_status;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.canceledAt=E(t.canceledAt)??void 0,this.color=t.color,this.completedAt=E(t.completedAt)??void 0,this.completedIssueCountHistory=t.completedIssueCountHistory,this.completedScopeHistory=t.completedScopeHistory,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description,this.healthUpdatedAt=E(t.healthUpdatedAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.inProgressScopeHistory=t.inProgressScopeHistory,this.issueCountHistory=t.issueCountHistory,this.labelIds=t.labelIds,this.metadata=t.metadata,this.name=t.name,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.progress=t.progress,this.projectUpdateRemindersPausedUntilAt=E(t.projectUpdateRemindersPausedUntilAt)??void 0,this.scope=t.scope,this.scopeHistory=t.scopeHistory,this.slackIssueComments=t.slackIssueComments,this.slackIssueStatuses=t.slackIssueStatuses,this.slackNewIssue=t.slackNewIssue,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.startDate=t.startDate??void 0,this.startedAt=E(t.startedAt)??void 0,this.state=t.state,this.targetDate=t.targetDate??void 0,this.trashed=t.trashed??void 0,this.updateReminderFrequency=t.updateReminderFrequency??void 0,this.updateReminderFrequencyInWeeks=t.updateReminderFrequencyInWeeks??void 0,this.updateRemindersHour=t.updateRemindersHour??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.documentContent=t.documentContent?new Ku(e,t.documentContent):void 0,this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new fd(e,t)):void 0,this.frequencyResolution=t.frequencyResolution,this.health=t.health??void 0,this.startDateResolution=t.startDateResolution??void 0,this.targetDateResolution=t.targetDateResolution??void 0,this.updateRemindersDay=t.updateRemindersDay??void 0,this._convertedFromIssue=t.convertedFromIssue??void 0,this._creator=t.creator??void 0,this._favorite=t.favorite??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._lastUpdate=t.lastUpdate??void 0,this._lead=t.lead??void 0,this._status=t.status}archivedAt;autoArchivedAt;canceledAt;color;completedAt;completedIssueCountHistory;completedScopeHistory;content;createdAt;description;healthUpdatedAt;icon;id;inProgressScopeHistory;issueCountHistory;labelIds;metadata;name;priority;priorityLabel;prioritySortOrder;progress;projectUpdateRemindersPausedUntilAt;scope;scopeHistory;slackIssueComments;slackIssueStatuses;slackNewIssue;slugId;sortOrder;startDate;startedAt;state;targetDate;trashed;updateReminderFrequency;updateReminderFrequencyInWeeks;updateRemindersHour;updatedAt;url;syncedWith;documentContent;frequencyResolution;health;startDateResolution;targetDateResolution;updateRemindersDay;get convertedFromIssue(){return this._convertedFromIssue?.id?new U(this._request).fetch(this._convertedFromIssue?.id):void 0}get convertedFromIssueId(){return this._convertedFromIssue?.id}get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get favorite(){return this._favorite?.id?new zh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Zh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new X(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get lastUpdate(){return this._lastUpdate?.id?new J(this._request).fetch(this._lastUpdate?.id):void 0}get lastUpdateId(){return this._lastUpdate?.id}get lead(){return this._lead?.id?new Z(this._request).fetch(this._lead?.id):void 0}get leadId(){return this._lead?.id}get status(){return new Tg(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}},Ap=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.indefinite=t.indefinite,this.name=t.name,this.position=t.position,this.updatedAt=E(t.updatedAt)??new Date,this.type=t.type}archivedAt;color;createdAt;description;id;indefinite;name;position;updatedAt;type;archive(){return new tx(this._request).fetch(this.id)}create(e){return new nx(this._request).fetch(e)}unarchive(){return new rx(this._request).fetch(this.id)}update(e){return new ix(this._request).fetch(this.id,e)}},jp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new Tg(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Mp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Ap(e,t)),new P(e,n.pageInfo))}},Np=class extends C{_status;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._status=t.status}lastSyncId;success;get status(){return new Tg(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}},Pp=class extends C{_project;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body,this.commentCount=t.commentCount,this.createdAt=E(t.createdAt)??new Date,this.diff=t.diff??void 0,this.diffMarkdown=t.diffMarkdown??void 0,this.editedAt=E(t.editedAt)??void 0,this.id=t.id,this.isDiffHidden=t.isDiffHidden,this.isStale=t.isStale,this.reactionData=t.reactionData,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.reactions=t.reactions.map(t=>new Gp(e,t)),this.health=t.health,this._project=t.project,this._user=t.user}archivedAt;body;commentCount;createdAt;diff;diffMarkdown;editedAt;id;isDiffHidden;isStale;reactionData;slugId;updatedAt;url;reactions;health;get project(){return new K(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}comments(e){return new bC(this._request,this.id,e).fetch(e)}archive(){return new sx(this._request).fetch(this.id)}create(e){return new cx(this._request).fetch(e)}delete(){return new lx(this._request).fetch(this.id)}unarchive(){return new ux(this._request).fetch(this.id)}update(e){return new dx(this._request).fetch(this.id,e)}},Fp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new J(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Ip=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Pp(e,t)),new P(e,n.pageInfo))}},Lp=class extends C{_projectUpdate;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectUpdate=t.projectUpdate}lastSyncId;success;get projectUpdate(){return new J(this._request).fetch(this._projectUpdate.id)}get projectUpdateId(){return this._projectUpdate?.id}},Rp=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},zp=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.pullRequestCommentId=t.pullRequestCommentId??void 0,this.pullRequestId=t.pullRequestId,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;pullRequestCommentId;pullRequestId;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Bp=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;createdAt;id;updatedAt;create(e){return new fx(this._request).fetch(e)}delete(){return new px(this._request).fetch(this.id)}},Vp=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.entity=new Bp(e,t.entity)}lastSyncId;success;entity},Hp=class extends C{constructor(e,t){super(e),this.success=t.success}success},Up=class extends C{constructor(e,t){super(e),this.identifier=t.identifier??void 0,this.kind=t.kind,this.limits=t.limits.map(t=>new Wp(e,t))}identifier;kind;limits},Wp=class extends C{constructor(e,t){super(e),this.allowedAmount=t.allowedAmount,this.period=t.period,this.remainingAmount=t.remainingAmount,this.requestedAmount=t.requestedAmount,this.reset=t.reset,this.type=t.type}allowedAmount;period;remainingAmount;requestedAmount;reset;type},Gp=class extends C{_comment;_externalUser;_initiativeUpdate;_issue;_projectUpdate;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emoji=t.emoji,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._comment=t.comment??void 0,this._externalUser=t.externalUser??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._issue=t.issue??void 0,this._projectUpdate=t.projectUpdate??void 0,this._user=t.user??void 0}archivedAt;createdAt;emoji;id;updatedAt;get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get commentId(){return this._comment?.id}get externalUser(){return this._externalUser?.id?new z(this._request).fetch(this._externalUser?.id):void 0}get externalUserId(){return this._externalUser?.id}get initiativeUpdate(){return this._initiativeUpdate?.id?new V(this._request).fetch(this._initiativeUpdate?.id):void 0}get initiativeUpdateId(){return this._initiativeUpdate?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get projectUpdate(){return this._projectUpdate?.id?new J(this._request).fetch(this._projectUpdate?.id):void 0}get projectUpdateId(){return this._projectUpdate?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new mx(this._request).fetch(e)}delete(){return new hx(this._request).fetch(this.id)}},Kp=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.reaction=new Gp(e,t.reaction)}lastSyncId;success;reaction},qp=class extends C{constructor(e,t){super(e),this.confidence=t.confidence,this.hostname=t.hostname??void 0,this.repositoryFullName=t.repositoryFullName}confidence;hostname;repositoryFullName},Jp=class extends C{constructor(e,t){super(e),this.suggestions=t.suggestions.map(t=>new qp(e,t))}suggestions},Yp=class extends C{_creator;_owner;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.name=t.name,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator,this._owner=t.owner??void 0}archivedAt;color;createdAt;description;id;name;slugId;sortOrder;updatedAt;url;get creator(){return new Z(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}get owner(){return this._owner?.id?new Z(this._request).fetch(this._owner?.id):void 0}get ownerId(){return this._owner?.id}projects(e){return new xC(this._request,this.id,e).fetch(e)}archive(){return new yx(this._request).fetch(this.id)}create(e){return new bx(this._request).fetch(e)}delete(){return new xx(this._request).fetch(this.id)}unarchive(){return new Tx(this._request).fetch(this.id)}update(e){return new Ex(this._request).fetch(this.id,e)}},Xp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new jg(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Zp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Yp(e,t)),new P(e,n.pageInfo))}},Qp=class extends C{_roadmap;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._roadmap=t.roadmap}lastSyncId;success;get roadmap(){return new jg(this._request).fetch(this._roadmap.id)}get roadmapId(){return this._roadmap?.id}},$p=class extends C{_project;_roadmap;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._project=t.project,this._roadmap=t.roadmap}archivedAt;createdAt;id;sortOrder;updatedAt;get project(){return new K(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get roadmap(){return new jg(this._request).fetch(this._roadmap.id)}get roadmapId(){return this._roadmap?.id}create(e){return new Sx(this._request).fetch(e)}delete(){return new Cx(this._request).fetch(this.id)}update(e){return new wx(this._request).fetch(this.id,e)}},em=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new $p(e,t)),new P(e,n.pageInfo))}},tm=class extends C{_roadmapToProject;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._roadmapToProject=t.roadmapToProject}lastSyncId;success;get roadmapToProject(){return new Mg(this._request).fetch(this._roadmapToProject.id)}get roadmapToProjectId(){return this._roadmapToProject?.id}},nm=class extends C{constructor(e,t){super(e),this.enabled=t.enabled,this.results=t.results.map(t=>new rm(e,t))}enabled;results},rm=class extends C{_document;_initiative;_issue;_project;constructor(e,t){super(e),this.id=t.id,this.type=t.type,this._document=t.document??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._project=t.project??void 0}id;type;get document(){return this._document?.id?new jh(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new U(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}},im=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.canSendFromCustomDomain=t.canSendFromCustomDomain,this.createdAt=E(t.createdAt)??new Date,this.domain=t.domain,this.id=t.id,this.region=t.region,this.updatedAt=E(t.updatedAt)??new Date,this.dnsRecords=t.dnsRecords.map(t=>new am(e,t)),this._creator=t.creator??void 0}archivedAt;canSendFromCustomDomain;createdAt;domain;id;region;updatedAt;dnsRecords;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new G(this._request).fetch()}},am=class extends C{constructor(e,t){super(e),this.content=t.content,this.isVerified=t.isVerified,this.name=t.name,this.type=t.type}content;isVerified;name;type},om=class extends C{constructor(e,t){super(e),this.hasDefaultAsk=t.hasDefaultAsk,this.id=t.id}hasDefaultAsk;id},sm=class extends C{_integration;constructor(e,t){super(e),this.addBot=t.addBot,this.lastSyncId=t.lastSyncId,this.nudgeToConnectMainSlackIntegration=t.nudgeToConnectMainSlackIntegration??void 0,this.nudgeToUpdateMainSlackIntegration=t.nudgeToUpdateMainSlackIntegration??void 0,this.success=t.success,this._integration=t.integration??void 0}addBot;lastSyncId;nudgeToConnectMainSlackIntegration;nudgeToUpdateMainSlackIntegration;success;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},cm=class extends C{constructor(e,t){super(e),this.aiTitles=t.aiTitles??void 0,this.autoCreateOnBotMention=t.autoCreateOnBotMention??void 0,this.autoCreateOnEmoji=t.autoCreateOnEmoji??void 0,this.autoCreateOnMessage=t.autoCreateOnMessage??void 0,this.autoCreateTemplateId=t.autoCreateTemplateId??void 0,this.botAdded=t.botAdded??void 0,this.id=t.id,this.isPrivate=t.isPrivate??void 0,this.isShared=t.isShared??void 0,this.name=t.name,this.postAcceptedFromTriageUpdates=t.postAcceptedFromTriageUpdates??void 0,this.postCancellationUpdates=t.postCancellationUpdates??void 0,this.postCompletionUpdates=t.postCompletionUpdates??void 0,this.teams=t.teams.map(t=>new om(e,t))}aiTitles;autoCreateOnBotMention;autoCreateOnEmoji;autoCreateOnMessage;autoCreateTemplateId;botAdded;id;isPrivate;isShared;name;postAcceptedFromTriageUpdates;postCancellationUpdates;postCompletionUpdates;teams},lm=class extends C{constructor(e,t){super(e),this.samlSsoUrl=t.samlSsoUrl,this.success=t.success}samlSsoUrl;success},um=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},dm=class extends C{constructor(e,t){super(e),this.displayName=t.displayName??void 0,this.id=t.id??void 0,this.isConnected=t.isConnected,this.isPersonalIntegrationConnected=t.isPersonalIntegrationConnected,this.isPersonalIntegrationRequired=t.isPersonalIntegrationRequired,this.name=t.name??void 0,this.subType=t.subType??void 0,this.type=t.type,this.url=t.url??void 0}displayName;id;isConnected;isPersonalIntegrationConnected;isPersonalIntegrationRequired;name;subType;type;url},fm=class extends C{_activeCycle;_defaultIssueState;_defaultProjectTemplate;_defaultTemplateForMembers;_defaultTemplateForNonMembers;_draftWorkflowState;_integrationsSettings;_markedAsDuplicateWorkflowState;_mergeWorkflowState;_mergeableWorkflowState;_reviewWorkflowState;_startWorkflowState;_triageIssueState;_triageResponsibility;constructor(e,t){super(e),this.aiDiscussionSummariesEnabled=t.aiDiscussionSummariesEnabled,this.aiThreadSummariesEnabled=t.aiThreadSummariesEnabled,this.allMembersCanJoin=t.allMembersCanJoin??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivePeriod=t.autoArchivePeriod,this.autoCloseChildIssues=t.autoCloseChildIssues??void 0,this.autoCloseParentIssues=t.autoCloseParentIssues??void 0,this.autoClosePeriod=t.autoClosePeriod??void 0,this.autoCloseStateId=t.autoCloseStateId??void 0,this.color=t.color??void 0,this.createdAt=E(t.createdAt)??new Date,this.cycleCalenderUrl=t.cycleCalenderUrl,this.cycleCooldownTime=t.cycleCooldownTime,this.cycleDuration=t.cycleDuration,this.cycleIssueAutoAssignCompleted=t.cycleIssueAutoAssignCompleted,this.cycleIssueAutoAssignStarted=t.cycleIssueAutoAssignStarted,this.cycleLockToActive=t.cycleLockToActive,this.cycleStartDay=t.cycleStartDay,this.cyclesEnabled=t.cyclesEnabled,this.defaultIssueEstimate=t.defaultIssueEstimate,this.defaultTemplateForMembersId=t.defaultTemplateForMembersId??void 0,this.defaultTemplateForNonMembersId=t.defaultTemplateForNonMembersId??void 0,this.description=t.description??void 0,this.displayName=t.displayName,this.groupIssueHistory=t.groupIssueHistory,this.icon=t.icon??void 0,this.id=t.id,this.inheritIssueEstimation=t.inheritIssueEstimation,this.inheritWorkflowStatuses=t.inheritWorkflowStatuses,this.inviteHash=t.inviteHash,this.issueCount=t.issueCount,this.issueEstimationAllowZero=t.issueEstimationAllowZero,this.issueEstimationExtended=t.issueEstimationExtended,this.issueEstimationType=t.issueEstimationType,this.issueOrderingNoPriorityFirst=t.issueOrderingNoPriorityFirst,this.issueSortOrderDefaultToBottom=t.issueSortOrderDefaultToBottom,this.key=t.key,this.name=t.name,this.private=t.private,this.requirePriorityToLeaveTriage=t.requirePriorityToLeaveTriage,this.retiredAt=E(t.retiredAt)??void 0,this.scimGroupName=t.scimGroupName??void 0,this.scimManaged=t.scimManaged,this.securitySettings=t.securitySettings,this.setIssueSortOrderOnStateChange=t.setIssueSortOrderOnStateChange,this.slackIssueComments=t.slackIssueComments,this.slackIssueStatuses=t.slackIssueStatuses,this.slackNewIssue=t.slackNewIssue,this.timezone=t.timezone,this.triageEnabled=t.triageEnabled,this.upcomingCycleCount=t.upcomingCycleCount,this.updatedAt=E(t.updatedAt)??new Date,this._activeCycle=t.activeCycle??void 0,this._defaultIssueState=t.defaultIssueState??void 0,this._defaultProjectTemplate=t.defaultProjectTemplate??void 0,this._defaultTemplateForMembers=t.defaultTemplateForMembers??void 0,this._defaultTemplateForNonMembers=t.defaultTemplateForNonMembers??void 0,this._draftWorkflowState=t.draftWorkflowState??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._markedAsDuplicateWorkflowState=t.markedAsDuplicateWorkflowState??void 0,this._mergeWorkflowState=t.mergeWorkflowState??void 0,this._mergeableWorkflowState=t.mergeableWorkflowState??void 0,this._reviewWorkflowState=t.reviewWorkflowState??void 0,this._startWorkflowState=t.startWorkflowState??void 0,this._triageIssueState=t.triageIssueState??void 0,this._triageResponsibility=t.triageResponsibility??void 0}aiDiscussionSummariesEnabled;aiThreadSummariesEnabled;allMembersCanJoin;archivedAt;autoArchivePeriod;autoCloseChildIssues;autoCloseParentIssues;autoClosePeriod;autoCloseStateId;color;createdAt;cycleCalenderUrl;cycleCooldownTime;cycleDuration;cycleIssueAutoAssignCompleted;cycleIssueAutoAssignStarted;cycleLockToActive;cycleStartDay;cyclesEnabled;defaultIssueEstimate;defaultTemplateForMembersId;defaultTemplateForNonMembersId;description;displayName;groupIssueHistory;icon;id;inheritIssueEstimation;inheritWorkflowStatuses;inviteHash;issueCount;issueEstimationAllowZero;issueEstimationExtended;issueEstimationType;issueOrderingNoPriorityFirst;issueSortOrderDefaultToBottom;key;name;private;requirePriorityToLeaveTriage;retiredAt;scimGroupName;scimManaged;securitySettings;setIssueSortOrderOnStateChange;slackIssueComments;slackIssueStatuses;slackNewIssue;timezone;triageEnabled;upcomingCycleCount;updatedAt;get activeCycle(){return this._activeCycle?.id?new R(this._request).fetch(this._activeCycle?.id):void 0}get activeCycleId(){return this._activeCycle?.id}get defaultIssueState(){return this._defaultIssueState?.id?new Q(this._request).fetch(this._defaultIssueState?.id):void 0}get defaultIssueStateId(){return this._defaultIssueState?.id}get defaultProjectTemplate(){return this._defaultProjectTemplate?.id?new X(this._request).fetch(this._defaultProjectTemplate?.id):void 0}get defaultProjectTemplateId(){return this._defaultProjectTemplate?.id}get defaultTemplateForMembers(){return this._defaultTemplateForMembers?.id?new X(this._request).fetch(this._defaultTemplateForMembers?.id):void 0}get defaultTemplateForNonMembers(){return this._defaultTemplateForNonMembers?.id?new X(this._request).fetch(this._defaultTemplateForNonMembers?.id):void 0}get draftWorkflowState(){return this._draftWorkflowState?.id?new Q(this._request).fetch(this._draftWorkflowState?.id):void 0}get draftWorkflowStateId(){return this._draftWorkflowState?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Zh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get markedAsDuplicateWorkflowState(){return this._markedAsDuplicateWorkflowState?.id?new Q(this._request).fetch(this._markedAsDuplicateWorkflowState?.id):void 0}get markedAsDuplicateWorkflowStateId(){return this._markedAsDuplicateWorkflowState?.id}get mergeWorkflowState(){return this._mergeWorkflowState?.id?new Q(this._request).fetch(this._mergeWorkflowState?.id):void 0}get mergeWorkflowStateId(){return this._mergeWorkflowState?.id}get mergeableWorkflowState(){return this._mergeableWorkflowState?.id?new Q(this._request).fetch(this._mergeableWorkflowState?.id):void 0}get mergeableWorkflowStateId(){return this._mergeableWorkflowState?.id}get organization(){return new G(this._request).fetch()}get reviewWorkflowState(){return this._reviewWorkflowState?.id?new Q(this._request).fetch(this._reviewWorkflowState?.id):void 0}get reviewWorkflowStateId(){return this._reviewWorkflowState?.id}get startWorkflowState(){return this._startWorkflowState?.id?new Q(this._request).fetch(this._startWorkflowState?.id):void 0}get startWorkflowStateId(){return this._startWorkflowState?.id}get triageIssueState(){return this._triageIssueState?.id?new Q(this._request).fetch(this._triageIssueState?.id):void 0}get triageIssueStateId(){return this._triageIssueState?.id}get triageResponsibility(){return this._triageResponsibility?.id?new Jg(this._request).fetch(this._triageResponsibility?.id):void 0}get triageResponsibilityId(){return this._triageResponsibility?.id}cycles(e){return new SC(this._request,this.id,e).fetch(e)}gitAutomationStates(e){return new CC(this._request,this.id,e).fetch(e)}issues(e){return new wC(this._request,this.id,e).fetch(e)}labels(e){return new TC(this._request,this.id,e).fetch(e)}members(e){return new EC(this._request,this.id,e).fetch(e)}memberships(e){return new DC(this._request,this.id,e).fetch(e)}projects(e){return new OC(this._request,this.id,e).fetch(e)}states(e){return new kC(this._request,this.id,e).fetch(e)}templates(e){return new AC(this._request,this.id,e).fetch(e)}webhooks(e){return new jC(this._request,this.id,e).fetch(e)}create(e,t){return new Ox(this._request).fetch(e,t)}delete(){return new Ax(this._request).fetch(this.id)}unarchive(){return new Fx(this._request).fetch(this.id)}update(e,t){return new Ix(this._request).fetch(this.id,e,t)}},pm=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new Y(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},mm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new fm(e,t)),new P(e,n.pageInfo))}},hm=class extends C{_team;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.owner=t.owner,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._team=t.team,this._user=t.user}archivedAt;createdAt;id;owner;sortOrder;updatedAt;get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}create(e){return new Mx(this._request).fetch(e)}delete(e){return new Nx(this._request).fetch(this.id,e)}update(e){return new Px(this._request).fetch(this.id,e)}},gm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new hm(e,t)),new P(e,n.pageInfo))}},_m=class extends C{_teamMembership;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._teamMembership=t.teamMembership??void 0}lastSyncId;success;get teamMembership(){return this._teamMembership?.id?new Bg(this._request).fetch(this._teamMembership?.id):void 0}get teamMembershipId(){return this._teamMembership?.id}},vm=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},ym=class extends C{_team;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._team=t.team??void 0}lastSyncId;success;get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}},bm=class extends C{_creator;_inheritedFrom;_lastUpdatedBy;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.lastAppliedAt=E(t.lastAppliedAt)??void 0,this.name=t.name,this.sortOrder=t.sortOrder,this.templateData=Ul(t.templateData)??{},this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0,this._inheritedFrom=t.inheritedFrom??void 0,this._lastUpdatedBy=t.lastUpdatedBy??void 0,this._team=t.team??void 0}archivedAt;createdAt;description;id;lastAppliedAt;name;sortOrder;templateData;type;updatedAt;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get inheritedFrom(){return this._inheritedFrom?.id?new X(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get lastUpdatedBy(){return this._lastUpdatedBy?.id?new Z(this._request).fetch(this._lastUpdatedBy?.id):void 0}get lastUpdatedById(){return this._lastUpdatedBy?.id}get organization(){return new G(this._request).fetch()}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}create(e){return new Lx(this._request).fetch(e)}delete(){return new Rx(this._request).fetch(this.id)}update(e){return new zx(this._request).fetch(this.id,e)}},xm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new bm(e,t)),new P(e,n.pageInfo))}},Sm=class extends C{_template;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._template=t.template}lastSyncId;success;get template(){return new X(this._request).fetch(this._template.id)}get templateId(){return this._template?.id}},Cm=class extends C{_integration;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.externalId=t.externalId??void 0,this.externalUrl=t.externalUrl??void 0,this.id=t.id,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date,this.entries=t.entries?t.entries.map(t=>new Tm(e,t)):void 0,this._integration=t.integration??void 0}archivedAt;createdAt;externalId;externalUrl;id;name;updatedAt;entries;get integration(){return this._integration?.id?new H(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}get organization(){return new G(this._request).fetch()}create(e){return new Bx(this._request).fetch(e)}delete(){return new Vx(this._request).fetch(this.id)}update(e){return new Ux(this._request).fetch(this.id,e)}},wm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Cm(e,t)),new P(e,n.pageInfo))}},Tm=class extends C{constructor(e,t){super(e),this.endsAt=E(t.endsAt)??new Date,this.startsAt=E(t.startsAt)??new Date,this.userEmail=t.userEmail??void 0,this.userId=t.userId??void 0}endsAt;startsAt;userEmail;userId},Em=class extends C{_timeSchedule;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._timeSchedule=t.timeSchedule}lastSyncId;success;get timeSchedule(){return new Gg(this._request).fetch(this._timeSchedule.id)}get timeScheduleId(){return this._timeSchedule?.id}},Dm=class extends C{_currentUser;_team;_timeSchedule;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this.manualSelection=t.manualSelection?new km(e,t.manualSelection):void 0,this.action=t.action,this._currentUser=t.currentUser??void 0,this._team=t.team,this._timeSchedule=t.timeSchedule??void 0}archivedAt;createdAt;id;updatedAt;manualSelection;action;get currentUser(){return this._currentUser?.id?new Z(this._request).fetch(this._currentUser?.id):void 0}get currentUserId(){return this._currentUser?.id}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get timeSchedule(){return this._timeSchedule?.id?new Gg(this._request).fetch(this._timeSchedule?.id):void 0}get timeScheduleId(){return this._timeSchedule?.id}create(e){return new Kx(this._request).fetch(e)}delete(){return new qx(this._request).fetch(this.id)}update(e){return new Jx(this._request).fetch(this.id,e)}},Om=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Dm(e,t)),new P(e,n.pageInfo))}},km=class extends C{constructor(e,t){super(e),this.userIds=t.userIds}userIds},Am=class extends C{_triageResponsibility;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._triageResponsibility=t.triageResponsibility}lastSyncId;success;get triageResponsibility(){return new Jg(this._request).fetch(this._triageResponsibility.id)}get triageResponsibilityId(){return this._triageResponsibility?.id}},jm=class extends C{constructor(e,t){super(e),this.assetUrl=t.assetUrl,this.contentType=t.contentType,this.filename=t.filename,this.metaData=t.metaData??void 0,this.size=t.size,this.uploadUrl=t.uploadUrl,this.headers=t.headers.map(t=>new Mm(e,t))}assetUrl;contentType;filename;metaData;size;uploadUrl;headers},Mm=class extends C{constructor(e,t){super(e),this.key=t.key,this.value=t.value}key;value},Nm=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.uploadFile=t.uploadFile?new jm(e,t.uploadFile):void 0}lastSyncId;success;uploadFile},Pm=class extends C{constructor(e,t){super(e),this.active=t.active,this.admin=t.admin,this.app=t.app,this.archivedAt=E(t.archivedAt)??void 0,this.avatarBackgroundColor=t.avatarBackgroundColor,this.avatarUrl=t.avatarUrl??void 0,this.calendarHash=t.calendarHash??void 0,this.canAccessAnyPublicTeam=t.canAccessAnyPublicTeam,this.createdAt=E(t.createdAt)??new Date,this.createdIssueCount=t.createdIssueCount,this.description=t.description??void 0,this.disableReason=t.disableReason??void 0,this.displayName=t.displayName,this.email=t.email,this.gitHubUserId=t.gitHubUserId??void 0,this.guest=t.guest,this.id=t.id,this.initials=t.initials,this.inviteHash=t.inviteHash,this.isAssignable=t.isAssignable,this.isMe=t.isMe,this.isMentionable=t.isMentionable,this.lastSeen=E(t.lastSeen)??void 0,this.name=t.name,this.owner=t.owner,this.statusEmoji=t.statusEmoji??void 0,this.statusLabel=t.statusLabel??void 0,this.statusUntilAt=E(t.statusUntilAt)??void 0,this.supportsAgentSessions=t.supportsAgentSessions,this.timezone=t.timezone??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url}active;admin;app;archivedAt;avatarBackgroundColor;avatarUrl;calendarHash;canAccessAnyPublicTeam;createdAt;createdIssueCount;description;disableReason;displayName;email;gitHubUserId;guest;id;initials;inviteHash;isAssignable;isMe;isMentionable;lastSeen;name;owner;statusEmoji;statusLabel;statusUntilAt;supportsAgentSessions;timezone;updatedAt;url;get organization(){return new G(this._request).fetch()}assignedIssues(e){return new MC(this._request,this.id,e).fetch(e)}createdIssues(e){return new NC(this._request,this.id,e).fetch(e)}delegatedIssues(e){return new PC(this._request,this.id,e).fetch(e)}drafts(e){return new FC(this._request,this.id,e).fetch(e)}teamMemberships(e){return new IC(this._request,this.id,e).fetch(e)}teams(e){return new LC(this._request,this.id,e).fetch(e)}suspend(e){return new rS(this._request).fetch(this.id,e)}unsuspend(e){return new aS(this._request).fetch(this.id,e)}update(e){return new oS(this._request).fetch(this.id,e)}},Fm=class extends C{constructor(e,t){super(e),this.success=t.success}success},Im=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Pm(e,t)),new P(e,n.pageInfo))}},Lm=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new B(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new W(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new K(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Z(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Rm=class extends C{_user;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._user=t.user??void 0}lastSyncId;success;get user(){return this._user?.id?new Z(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},zm=class extends C{_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoAssignToSelf=t.autoAssignToSelf,this.calendarHash=t.calendarHash??void 0,this.createdAt=E(t.createdAt)??new Date,this.feedLastSeenTime=E(t.feedLastSeenTime)??void 0,this.id=t.id,this.showFullUserNames=t.showFullUserNames,this.subscribedToChangelog=t.subscribedToChangelog,this.subscribedToDPA=t.subscribedToDPA,this.subscribedToInviteAccepted=t.subscribedToInviteAccepted,this.subscribedToPrivacyLegalUpdates=t.subscribedToPrivacyLegalUpdates,this.unsubscribedFrom=t.unsubscribedFrom,this.updatedAt=E(t.updatedAt)??new Date,this.notificationCategoryPreferences=new Rf(e,t.notificationCategoryPreferences),this.notificationChannelPreferences=new N(e,t.notificationChannelPreferences),this.notificationDeliveryPreferences=new Bf(e,t.notificationDeliveryPreferences),this.theme=t.theme?new Gm(e,t.theme):void 0,this.feedSummarySchedule=t.feedSummarySchedule??void 0,this._user=t.user}archivedAt;autoAssignToSelf;calendarHash;createdAt;feedLastSeenTime;id;showFullUserNames;subscribedToChangelog;subscribedToDPA;subscribedToInviteAccepted;subscribedToPrivacyLegalUpdates;unsubscribedFrom;updatedAt;notificationCategoryPreferences;notificationChannelPreferences;notificationDeliveryPreferences;theme;feedSummarySchedule;get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}update(e){return new nS(this._request).fetch(this.id,e)}},Bm=class extends C{constructor(e,t){super(e),this.accent=t.accent,this.base=t.base,this.contrast=t.contrast}accent;base;contrast},Vm=class extends C{constructor(e,t){super(e),this.accent=t.accent,this.base=t.base,this.contrast=t.contrast,this.sidebar=t.sidebar?new Bm(e,t.sidebar):void 0}accent;base;contrast;sidebar},Hm=class extends C{constructor(e,t){super(e),this.flag=t.flag??void 0,this.lastSyncId=t.lastSyncId,this.success=t.success,this.value=t.value??void 0}flag;lastSyncId;success;value},Um=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Wm=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success;get userSettings(){return new Xg(this._request).fetch()}},Gm=class extends C{constructor(e,t){super(e),this.custom=t.custom?new Vm(e,t.custom):void 0,this.preset=t.preset}custom;preset},Km=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this.viewType=t.viewType,this.preferences=new Ym(e,t.preferences)}archivedAt;createdAt;id;type;updatedAt;viewType;preferences;create(e){return new sS(this._request).fetch(e)}delete(){return new cS(this._request).fetch(this.id)}update(e){return new lS(this._request).fetch(this.id,e)}},qm=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.viewPreferences=new Km(e,t.viewPreferences)}lastSyncId;success;viewPreferences},Jm=class extends C{constructor(e,t){super(e),this.active=t.active,this.id=t.id}active;id},Ym=class extends C{constructor(e,t){super(e),this.closedIssuesOrderedByRecency=t.closedIssuesOrderedByRecency??void 0,this.customViewFieldDateCreated=t.customViewFieldDateCreated??void 0,this.customViewFieldDateUpdated=t.customViewFieldDateUpdated??void 0,this.customViewFieldOwner=t.customViewFieldOwner??void 0,this.customViewFieldVisibility=t.customViewFieldVisibility??void 0,this.customViewsOrdering=t.customViewsOrdering??void 0,this.customerFieldDomains=t.customerFieldDomains??void 0,this.customerFieldOwner=t.customerFieldOwner??void 0,this.customerFieldRequestCount=t.customerFieldRequestCount??void 0,this.customerFieldRevenue=t.customerFieldRevenue??void 0,this.customerFieldSize=t.customerFieldSize??void 0,this.customerFieldSource=t.customerFieldSource??void 0,this.customerFieldStatus=t.customerFieldStatus??void 0,this.customerFieldTier=t.customerFieldTier??void 0,this.customerPageNeedsFieldIssueIdentifier=t.customerPageNeedsFieldIssueIdentifier??void 0,this.customerPageNeedsFieldIssuePriority=t.customerPageNeedsFieldIssuePriority??void 0,this.customerPageNeedsFieldIssueStatus=t.customerPageNeedsFieldIssueStatus??void 0,this.customerPageNeedsFieldIssueTargetDueDate=t.customerPageNeedsFieldIssueTargetDueDate??void 0,this.customerPageNeedsShowCompletedIssuesAndProjects=t.customerPageNeedsShowCompletedIssuesAndProjects??void 0,this.customerPageNeedsShowImportantFirst=t.customerPageNeedsShowImportantFirst??void 0,this.customerPageNeedsViewGrouping=t.customerPageNeedsViewGrouping??void 0,this.customerPageNeedsViewOrdering=t.customerPageNeedsViewOrdering??void 0,this.customersViewOrdering=t.customersViewOrdering??void 0,this.dashboardFieldDateCreated=t.dashboardFieldDateCreated??void 0,this.dashboardFieldDateUpdated=t.dashboardFieldDateUpdated??void 0,this.dashboardFieldOwner=t.dashboardFieldOwner??void 0,this.dashboardsOrdering=t.dashboardsOrdering??void 0,this.embeddedCustomerNeedsShowImportantFirst=t.embeddedCustomerNeedsShowImportantFirst??void 0,this.embeddedCustomerNeedsViewOrdering=t.embeddedCustomerNeedsViewOrdering??void 0,this.fieldAssignee=t.fieldAssignee??void 0,this.fieldCustomerCount=t.fieldCustomerCount??void 0,this.fieldCustomerRevenue=t.fieldCustomerRevenue??void 0,this.fieldCycle=t.fieldCycle??void 0,this.fieldDateArchived=t.fieldDateArchived??void 0,this.fieldDateCreated=t.fieldDateCreated??void 0,this.fieldDateMyActivity=t.fieldDateMyActivity??void 0,this.fieldDateUpdated=t.fieldDateUpdated??void 0,this.fieldDueDate=t.fieldDueDate??void 0,this.fieldEstimate=t.fieldEstimate??void 0,this.fieldId=t.fieldId??void 0,this.fieldLabels=t.fieldLabels??void 0,this.fieldLinkCount=t.fieldLinkCount??void 0,this.fieldMilestone=t.fieldMilestone??void 0,this.fieldPreviewLinks=t.fieldPreviewLinks??void 0,this.fieldPriority=t.fieldPriority??void 0,this.fieldProject=t.fieldProject??void 0,this.fieldPullRequests=t.fieldPullRequests??void 0,this.fieldRelease=t.fieldRelease??void 0,this.fieldSentryIssues=t.fieldSentryIssues??void 0,this.fieldSla=t.fieldSla??void 0,this.fieldStatus=t.fieldStatus??void 0,this.fieldTimeInCurrentStatus=t.fieldTimeInCurrentStatus??void 0,this.hiddenColumns=t.hiddenColumns??void 0,this.hiddenRows=t.hiddenRows??void 0,this.inboxViewOrdering=t.inboxViewOrdering??void 0,this.initiativeFieldActivity=t.initiativeFieldActivity??void 0,this.initiativeFieldDescription=t.initiativeFieldDescription??void 0,this.initiativeFieldHealth=t.initiativeFieldHealth??void 0,this.initiativeFieldInitiativeHealth=t.initiativeFieldInitiativeHealth??void 0,this.initiativeFieldOwner=t.initiativeFieldOwner??void 0,this.initiativeFieldProjects=t.initiativeFieldProjects??void 0,this.initiativeFieldTargetDate=t.initiativeFieldTargetDate??void 0,this.initiativeFieldTeams=t.initiativeFieldTeams??void 0,this.initiativeGrouping=t.initiativeGrouping??void 0,this.initiativesViewOrdering=t.initiativesViewOrdering??void 0,this.issueGrouping=t.issueGrouping??void 0,this.issueGroupingLabelGroupId=t.issueGroupingLabelGroupId??void 0,this.issueNesting=t.issueNesting??void 0,this.issueSubGrouping=t.issueSubGrouping??void 0,this.issueSubGroupingLabelGroupId=t.issueSubGroupingLabelGroupId??void 0,this.layout=t.layout??void 0,this.memberFieldJoined=t.memberFieldJoined??void 0,this.memberFieldStatus=t.memberFieldStatus??void 0,this.memberFieldTeams=t.memberFieldTeams??void 0,this.projectCustomerNeedsShowCompletedIssuesLast=t.projectCustomerNeedsShowCompletedIssuesLast??void 0,this.projectCustomerNeedsShowImportantFirst=t.projectCustomerNeedsShowImportantFirst??void 0,this.projectCustomerNeedsViewGrouping=t.projectCustomerNeedsViewGrouping??void 0,this.projectCustomerNeedsViewOrdering=t.projectCustomerNeedsViewOrdering??void 0,this.projectFieldActivity=t.projectFieldActivity??void 0,this.projectFieldCustomerCount=t.projectFieldCustomerCount??void 0,this.projectFieldCustomerRevenue=t.projectFieldCustomerRevenue??void 0,this.projectFieldDateCompleted=t.projectFieldDateCompleted??void 0,this.projectFieldDateCreated=t.projectFieldDateCreated??void 0,this.projectFieldDateUpdated=t.projectFieldDateUpdated??void 0,this.projectFieldDescription=t.projectFieldDescription??void 0,this.projectFieldDescriptionBoard=t.projectFieldDescriptionBoard??void 0,this.projectFieldHealth=t.projectFieldHealth??void 0,this.projectFieldHealthTimeline=t.projectFieldHealthTimeline??void 0,this.projectFieldInitiatives=t.projectFieldInitiatives??void 0,this.projectFieldLabels=t.projectFieldLabels??void 0,this.projectFieldLead=t.projectFieldLead??void 0,this.projectFieldLeadTimeline=t.projectFieldLeadTimeline??void 0,this.projectFieldMembers=t.projectFieldMembers??void 0,this.projectFieldMembersBoard=t.projectFieldMembersBoard??void 0,this.projectFieldMembersList=t.projectFieldMembersList??void 0,this.projectFieldMembersTimeline=t.projectFieldMembersTimeline??void 0,this.projectFieldMilestone=t.projectFieldMilestone??void 0,this.projectFieldMilestoneTimeline=t.projectFieldMilestoneTimeline??void 0,this.projectFieldPredictions=t.projectFieldPredictions??void 0,this.projectFieldPredictionsTimeline=t.projectFieldPredictionsTimeline??void 0,this.projectFieldPriority=t.projectFieldPriority??void 0,this.projectFieldRelations=t.projectFieldRelations??void 0,this.projectFieldRelationsTimeline=t.projectFieldRelationsTimeline??void 0,this.projectFieldRoadmaps=t.projectFieldRoadmaps??void 0,this.projectFieldRoadmapsBoard=t.projectFieldRoadmapsBoard??void 0,this.projectFieldRoadmapsList=t.projectFieldRoadmapsList??void 0,this.projectFieldRoadmapsTimeline=t.projectFieldRoadmapsTimeline??void 0,this.projectFieldRolloutStage=t.projectFieldRolloutStage??void 0,this.projectFieldStartDate=t.projectFieldStartDate??void 0,this.projectFieldStatus=t.projectFieldStatus??void 0,this.projectFieldStatusTimeline=t.projectFieldStatusTimeline??void 0,this.projectFieldTargetDate=t.projectFieldTargetDate??void 0,this.projectFieldTeams=t.projectFieldTeams??void 0,this.projectFieldTeamsBoard=t.projectFieldTeamsBoard??void 0,this.projectFieldTeamsList=t.projectFieldTeamsList??void 0,this.projectFieldTeamsTimeline=t.projectFieldTeamsTimeline??void 0,this.projectGroupOrdering=t.projectGroupOrdering??void 0,this.projectGrouping=t.projectGrouping??void 0,this.projectGroupingDateResolution=t.projectGroupingDateResolution??void 0,this.projectGroupingLabelGroupId=t.projectGroupingLabelGroupId??void 0,this.projectLayout=t.projectLayout??void 0,this.projectShowEmptyGroups=t.projectShowEmptyGroups??void 0,this.projectShowEmptyGroupsBoard=t.projectShowEmptyGroupsBoard??void 0,this.projectShowEmptyGroupsList=t.projectShowEmptyGroupsList??void 0,this.projectShowEmptyGroupsTimeline=t.projectShowEmptyGroupsTimeline??void 0,this.projectShowEmptySubGroups=t.projectShowEmptySubGroups??void 0,this.projectShowEmptySubGroupsBoard=t.projectShowEmptySubGroupsBoard??void 0,this.projectShowEmptySubGroupsList=t.projectShowEmptySubGroupsList??void 0,this.projectShowEmptySubGroupsTimeline=t.projectShowEmptySubGroupsTimeline??void 0,this.projectSubGrouping=t.projectSubGrouping??void 0,this.projectSubGroupingLabelGroupId=t.projectSubGroupingLabelGroupId??void 0,this.projectViewOrdering=t.projectViewOrdering??void 0,this.projectZoomLevel=t.projectZoomLevel??void 0,this.releasePipelinesViewOrdering=t.releasePipelinesViewOrdering??void 0,this.reviewFieldAvatar=t.reviewFieldAvatar??void 0,this.reviewFieldChecks=t.reviewFieldChecks??void 0,this.reviewFieldIdentifier=t.reviewFieldIdentifier??void 0,this.reviewFieldPreviewLinks=t.reviewFieldPreviewLinks??void 0,this.reviewFieldRepository=t.reviewFieldRepository??void 0,this.reviewGrouping=t.reviewGrouping??void 0,this.reviewViewOrdering=t.reviewViewOrdering??void 0,this.searchResultType=t.searchResultType??void 0,this.searchViewOrdering=t.searchViewOrdering??void 0,this.showArchivedItems=t.showArchivedItems??void 0,this.showCompletedAgentSessions=t.showCompletedAgentSessions??void 0,this.showCompletedIssues=t.showCompletedIssues??void 0,this.showCompletedProjects=t.showCompletedProjects??void 0,this.showCompletedReviews=t.showCompletedReviews??void 0,this.showDraftReviews=t.showDraftReviews??void 0,this.showEmptyGroups=t.showEmptyGroups??void 0,this.showEmptyGroupsBoard=t.showEmptyGroupsBoard??void 0,this.showEmptyGroupsList=t.showEmptyGroupsList??void 0,this.showEmptySubGroups=t.showEmptySubGroups??void 0,this.showEmptySubGroupsBoard=t.showEmptySubGroupsBoard??void 0,this.showEmptySubGroupsList=t.showEmptySubGroupsList??void 0,this.showNestedInitiatives=t.showNestedInitiatives??void 0,this.showParents=t.showParents??void 0,this.showReadItems=t.showReadItems??void 0,this.showSnoozedItems=t.showSnoozedItems??void 0,this.showSubInitiativeProjects=t.showSubInitiativeProjects??void 0,this.showSubIssues=t.showSubIssues??void 0,this.showSubTeamIssues=t.showSubTeamIssues??void 0,this.showSubTeamProjects=t.showSubTeamProjects??void 0,this.showSupervisedIssues=t.showSupervisedIssues??void 0,this.showTriageIssues=t.showTriageIssues??void 0,this.showUnreadItemsFirst=t.showUnreadItemsFirst??void 0,this.teamFieldCycle=t.teamFieldCycle??void 0,this.teamFieldDateCreated=t.teamFieldDateCreated??void 0,this.teamFieldDateUpdated=t.teamFieldDateUpdated??void 0,this.teamFieldIdentifier=t.teamFieldIdentifier??void 0,this.teamFieldMembers=t.teamFieldMembers??void 0,this.teamFieldMembership=t.teamFieldMembership??void 0,this.teamFieldOwner=t.teamFieldOwner??void 0,this.teamFieldProjects=t.teamFieldProjects??void 0,this.teamViewOrdering=t.teamViewOrdering??void 0,this.timelineChronologyShowCycleTeamIds=t.timelineChronologyShowCycleTeamIds??void 0,this.timelineChronologyShowWeekNumbers=t.timelineChronologyShowWeekNumbers??void 0,this.timelineZoomScale=t.timelineZoomScale??void 0,this.triageViewOrdering=t.triageViewOrdering??void 0,this.viewOrdering=t.viewOrdering??void 0,this.viewOrderingDirection=t.viewOrderingDirection??void 0,this.workspaceMembersViewOrdering=t.workspaceMembersViewOrdering??void 0,this.projectLabelGroupColumns=t.projectLabelGroupColumns?t.projectLabelGroupColumns.map(t=>new Jm(e,t)):void 0}closedIssuesOrderedByRecency;customViewFieldDateCreated;customViewFieldDateUpdated;customViewFieldOwner;customViewFieldVisibility;customViewsOrdering;customerFieldDomains;customerFieldOwner;customerFieldRequestCount;customerFieldRevenue;customerFieldSize;customerFieldSource;customerFieldStatus;customerFieldTier;customerPageNeedsFieldIssueIdentifier;customerPageNeedsFieldIssuePriority;customerPageNeedsFieldIssueStatus;customerPageNeedsFieldIssueTargetDueDate;customerPageNeedsShowCompletedIssuesAndProjects;customerPageNeedsShowImportantFirst;customerPageNeedsViewGrouping;customerPageNeedsViewOrdering;customersViewOrdering;dashboardFieldDateCreated;dashboardFieldDateUpdated;dashboardFieldOwner;dashboardsOrdering;embeddedCustomerNeedsShowImportantFirst;embeddedCustomerNeedsViewOrdering;fieldAssignee;fieldCustomerCount;fieldCustomerRevenue;fieldCycle;fieldDateArchived;fieldDateCreated;fieldDateMyActivity;fieldDateUpdated;fieldDueDate;fieldEstimate;fieldId;fieldLabels;fieldLinkCount;fieldMilestone;fieldPreviewLinks;fieldPriority;fieldProject;fieldPullRequests;fieldRelease;fieldSentryIssues;fieldSla;fieldStatus;fieldTimeInCurrentStatus;hiddenColumns;hiddenRows;inboxViewOrdering;initiativeFieldActivity;initiativeFieldDescription;initiativeFieldHealth;initiativeFieldInitiativeHealth;initiativeFieldOwner;initiativeFieldProjects;initiativeFieldTargetDate;initiativeFieldTeams;initiativeGrouping;initiativesViewOrdering;issueGrouping;issueGroupingLabelGroupId;issueNesting;issueSubGrouping;issueSubGroupingLabelGroupId;layout;memberFieldJoined;memberFieldStatus;memberFieldTeams;projectCustomerNeedsShowCompletedIssuesLast;projectCustomerNeedsShowImportantFirst;projectCustomerNeedsViewGrouping;projectCustomerNeedsViewOrdering;projectFieldActivity;projectFieldCustomerCount;projectFieldCustomerRevenue;projectFieldDateCompleted;projectFieldDateCreated;projectFieldDateUpdated;projectFieldDescription;projectFieldDescriptionBoard;projectFieldHealth;projectFieldHealthTimeline;projectFieldInitiatives;projectFieldLabels;projectFieldLead;projectFieldLeadTimeline;projectFieldMembers;projectFieldMembersBoard;projectFieldMembersList;projectFieldMembersTimeline;projectFieldMilestone;projectFieldMilestoneTimeline;projectFieldPredictions;projectFieldPredictionsTimeline;projectFieldPriority;projectFieldRelations;projectFieldRelationsTimeline;projectFieldRoadmaps;projectFieldRoadmapsBoard;projectFieldRoadmapsList;projectFieldRoadmapsTimeline;projectFieldRolloutStage;projectFieldStartDate;projectFieldStatus;projectFieldStatusTimeline;projectFieldTargetDate;projectFieldTeams;projectFieldTeamsBoard;projectFieldTeamsList;projectFieldTeamsTimeline;projectGroupOrdering;projectGrouping;projectGroupingDateResolution;projectGroupingLabelGroupId;projectLayout;projectShowEmptyGroups;projectShowEmptyGroupsBoard;projectShowEmptyGroupsList;projectShowEmptyGroupsTimeline;projectShowEmptySubGroups;projectShowEmptySubGroupsBoard;projectShowEmptySubGroupsList;projectShowEmptySubGroupsTimeline;projectSubGrouping;projectSubGroupingLabelGroupId;projectViewOrdering;projectZoomLevel;releasePipelinesViewOrdering;reviewFieldAvatar;reviewFieldChecks;reviewFieldIdentifier;reviewFieldPreviewLinks;reviewFieldRepository;reviewGrouping;reviewViewOrdering;searchResultType;searchViewOrdering;showArchivedItems;showCompletedAgentSessions;showCompletedIssues;showCompletedProjects;showCompletedReviews;showDraftReviews;showEmptyGroups;showEmptyGroupsBoard;showEmptyGroupsList;showEmptySubGroups;showEmptySubGroupsBoard;showEmptySubGroupsList;showNestedInitiatives;showParents;showReadItems;showSnoozedItems;showSubInitiativeProjects;showSubIssues;showSubTeamIssues;showSubTeamProjects;showSupervisedIssues;showTriageIssues;showUnreadItemsFirst;teamFieldCycle;teamFieldDateCreated;teamFieldDateUpdated;teamFieldIdentifier;teamFieldMembers;teamFieldMembership;teamFieldOwner;teamFieldProjects;teamViewOrdering;timelineChronologyShowCycleTeamIds;timelineChronologyShowWeekNumbers;timelineZoomScale;triageViewOrdering;viewOrdering;viewOrderingDirection;workspaceMembersViewOrdering;projectLabelGroupColumns},Xm=class extends C{_creator;_team;constructor(e,t){super(e),this.allPublicTeams=t.allPublicTeams,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.enabled=t.enabled,this.id=t.id,this.label=t.label??void 0,this.resourceTypes=t.resourceTypes,this.secret=t.secret??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this._creator=t.creator??void 0,this._team=t.team??void 0}allPublicTeams;archivedAt;createdAt;enabled;id;label;resourceTypes;secret;updatedAt;url;get creator(){return this._creator?.id?new Z(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get team(){return this._team?.id?new Y(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}create(e){return new uS(this._request).fetch(e)}delete(){return new dS(this._request).fetch(this.id)}rotateSecret(){return new fS(this._request).fetch(this.id)}update(e){return new pS(this._request).fetch(this.id,e)}},Zm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Xm(e,t)),new P(e,n.pageInfo))}},Qm=class extends C{_webhook;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._webhook=t.webhook}lastSyncId;success;get webhook(){return new e_(this._request).fetch(this._webhook.id)}get webhookId(){return this._webhook?.id}},$m=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.secret=t.secret,this.success=t.success}lastSyncId;secret;success},eh=class extends C{_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.enabled=t.enabled,this.id=t.id,this.title=t.title??void 0,this.updatedAt=E(t.updatedAt)??new Date,this._updatedBy=t.updatedBy??void 0}archivedAt;createdAt;enabled;id;title;updatedAt;get updatedBy(){return this._updatedBy?.id?new Z(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}},th=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.welcomeMessageId=t.welcomeMessageId,this.botActor=t.botActor?new D(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;welcomeMessageId;botActor;category;get actor(){return this._actor?.id?new Z(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new z(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Z(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},nh=class extends C{_inheritedFrom;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.name=t.name,this.position=t.position,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._inheritedFrom=t.inheritedFrom??void 0,this._team=t.team}archivedAt;color;createdAt;description;id;name;position;type;updatedAt;get inheritedFrom(){return this._inheritedFrom?.id?new Q(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get team(){return new Y(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}issues(e){return new RC(this._request,this.id,e).fetch(e)}archive(){return new mS(this._request).fetch(this.id)}create(e){return new hS(this._request).fetch(e)}update(e){return new gS(this._request).fetch(this.id,e)}},rh=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new Q(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},ih=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new nh(e,t)),new P(e,n.pageInfo))}},ah=class extends C{_workflowState;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._workflowState=t.workflowState}lastSyncId;success;get workflowState(){return new Q(this._request).fetch(this._workflowState.id)}get workflowStateId(){return this._workflowState?.id}},oh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ue.toString(),e)).administrableTeams;return new mm(this._request,t=>this.fetch(w({...e,...t})),t)}},sh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(We.toString(),e)).agentActivities;return new Gl(this._request,t=>this.fetch(w({...e,...t})),t)}},ch=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ge.toString(),{id:e})).agentActivity;return new Wl(this._request,t)}},lh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ke.toString(),{id:e})).agentSession;return new ql(this._request,t)}},uh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Je.toString(),e)).agentSessions;return new Jl(this._request,t=>this.fetch(w({...e,...t})),t)}},dh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ye.toString(),{clientId:e})).applicationInfo;return new Ql(this._request,t)}},fh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xe.toString(),{id:e})).attachment;return new tu(this._request,t)}},ph=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ze.toString(),{id:e})).attachmentIssue;return new of(this._request,t)}},mh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qe.toString(),e)).attachments;return new nu(this._request,t=>this.fetch(w({...e,...t})),t)}},hh=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request($e.toString(),{url:e,...t})).attachmentsForURL;return new nu(this._request,n=>this.fetch(e,w({...t,...n})),n)}},gh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(et.toString(),e)).auditEntries;return new iu(this._request,t=>this.fetch(w({...e,...t})),t)}},_h=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(tt.toString(),{})).auditEntryTypes.map(e=>new au(this._request,e))}},vh=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(nt.toString(),{})).authenticationSessions.map(e=>new lu(this._request,e))}},yh=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(rt.toString(),{})).availableUsers;return new su(this._request,e)}},F=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(it.toString(),e)).comment;return new uu(this._request,t)}},bh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(st.toString(),e)).comments;return new du(this._request,t=>this.fetch(w({...e,...t})),t)}},I=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ct.toString(),{id:e})).customView;return new gu(this._request,t)}},xh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ft.toString(),{id:e})).customViewHasSubscribers;return new vu(this._request,t)}},Sh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(pt.toString(),e)).customViews;return new _u(this._request,t=>this.fetch(w({...e,...t})),t)}},L=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(mt.toString(),{id:e})).customer;return new xu(this._request,t)}},Ch=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ht.toString(),e)).customerNeed;return new Cu(this._request,t)}},wh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gt.toString(),e)).customerNeeds;return new Tu(this._request,t=>this.fetch(w({...e,...t})),t)}},Th=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_t.toString(),{id:e})).customerStatus;return new Mu(this._request,t)}},Eh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vt.toString(),e)).customerStatuses;return new Nu(this._request,t=>this.fetch(w({...e,...t})),t)}},Dh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yt.toString(),{id:e})).customerTier;return new Fu(this._request,t)}},Oh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(bt.toString(),e)).customerTiers;return new Iu(this._request,t=>this.fetch(w({...e,...t})),t)}},kh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(xt.toString(),e)).customers;return new Su(this._request,t=>this.fetch(w({...e,...t})),t)}},R=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(St.toString(),{id:e})).cycle;return new Ru(this._request,t)}},Ah=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Tt.toString(),e)).cycles;return new Bu(this._request,t=>this.fetch(w({...e,...t})),t)}},jh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Et.toString(),{id:e})).document;return new Uu(this._request,t)}},Mh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ot.toString(),{id:e})).documentContentHistory;return new qu(this._request,t)}},Nh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kt.toString(),e)).documents;return new Gu(this._request,t=>this.fetch(w({...e,...t})),t)}},Ph=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(At.toString(),{id:e})).emailIntakeAddress;return new td(this._request,t)}},Fh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(jt.toString(),{id:e})).emoji;return new ad(this._request,t)}},Ih=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mt.toString(),e)).emojis;return new od(this._request,t=>this.fetch(w({...e,...t})),t)}},Lh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nt.toString(),{id:e})).entityExternalLink;return new cd(this._request,t)}},z=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pt.toString(),{id:e})).externalUser;return new pd(this._request,t)}},Rh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ft.toString(),e)).externalUsers;return new md(this._request,t=>this.fetch(w({...e,...t})),t)}},zh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(It.toString(),{id:e})).favorite;return new hd(this._request,t)}},Bh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rt.toString(),e)).favorites;return new gd(this._request,t=>this.fetch(w({...e,...t})),t)}},B=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zt.toString(),{id:e})).initiative;return new Ad(this._request,t)}},Vh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Kt.toString(),{id:e})).initiativeRelation;return new Tp(this._request,t)}},Hh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qt.toString(),e)).initiativeRelations;return new zd(this._request,t=>this.fetch(w({...e,...t})),t)}},Uh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Jt.toString(),{id:e})).initiativeToProject;return new Vd(this._request,t)}},Wh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Yt.toString(),e)).initiativeToProjects;return new Hd(this._request,t=>this.fetch(w({...e,...t})),t)}},V=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xt.toString(),{id:e})).initiativeUpdate;return new Wd(this._request,t)}},Gh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qt.toString(),e)).initiativeUpdates;return new Kd(this._request,t=>this.fetch(w({...e,...t})),t)}},Kh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request($t.toString(),e)).initiatives;return new Md(this._request,t=>this.fetch(w({...e,...t})),t)}},H=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(en.toString(),{id:e})).integration;return new Yd(this._request,t)}},qh=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(tn.toString(),{integrationId:e,scopes:t})).integrationHasScopes;return new Zd(this._request,n)}},Jh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(nn.toString(),{id:e})).integrationTemplate;return new ef(this._request,t)}},Yh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(rn.toString(),e)).integrationTemplates;return new tf(this._request,t=>this.fetch(w({...e,...t})),t)}},Xh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(an.toString(),e)).integrations;return new Xd(this._request,t=>this.fetch(w({...e,...t})),t)}},Zh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(on.toString(),{id:e})).integrationsSettings;return new rf(this._request,t)}},U=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(sn.toString(),{id:e})).issue;return new of(this._request,t)}},Qh=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xn.toString(),{fileKey:e,...t})).issueFigmaFileKeySearch;return new j(this._request,n=>this.fetch(e,w({...t,...n})),n)}},$h=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Sn.toString(),{prompt:e,...t})).issueFilterSuggestion;return new lf(this._request,n)}},eg=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Cn.toString(),{csvUrl:e,service:t})).issueImportCheckCSV;return new pf(this._request,n)}},tg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wn.toString(),{issueImportId:e})).issueImportCheckSync;return new _f(this._request,t)}},ng=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(Tn.toString(),{jiraEmail:e,jiraHostname:t,jiraProject:n,jiraToken:r,jql:i})).issueImportJqlCheck;return new hf(this._request,a)}},W=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(En.toString(),{id:e})).issueLabel;return new vf(this._request,t)}},rg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kn.toString(),e)).issueLabels;return new yf(this._request,t=>this.fetch(w({...e,...t})),t)}},ig=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(An.toString(),{})).issuePriorityValues.map(e=>new Sf(this._request,e))}},ag=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(jn.toString(),{id:e})).issueRelation;return new Cf(this._request,t)}},og=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mn.toString(),e)).issueRelations;return new wf(this._request,t=>this.fetch(w({...e,...t})),t)}},sg=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Nn.toString(),{candidateRepositories:e,issueId:t,...n})).issueRepositorySuggestions;return new Jp(this._request,r)}},cg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pn.toString(),e)).issueSearch;return new j(this._request,t=>this.fetch(w({...e,...t})),t)}},lg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fn.toString(),{request:e})).issueTitleSuggestionFromCustomerRequest;return new Mf(this._request,t)}},ug=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(In.toString(),{branchName:e})).issueVcsBranchSearch;return t?new of(this._request,t):void 0}},dg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ln.toString(),e)).issues;return new j(this._request,t=>this.fetch(w({...e,...t})),t)}},fg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rn.toString(),{id:e})).notification;switch(t.__typename){case`CustomerNeedNotification`:return new Eu(this._request,t);case`CustomerNotification`:return new ku(this._request,t);case`DocumentNotification`:return new Yu(this._request,t);case`InitiativeNotification`:return new Fd(this._request,t);case`IssueNotification`:return new xf(this._request,t);case`OauthClientApprovalNotification`:return new Yf(this._request,t);case`PostNotification`:return new sp(this._request,t);case`ProjectNotification`:return new Sp(this._request,t);case`PullRequestNotification`:return new zp(this._request,t);case`WelcomeMessageNotification`:return new th(this._request,t);default:return new Ff(this._request,t)}}},pg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zn.toString(),{id:e})).notificationSubscription;switch(t.__typename){case`CustomViewNotificationSubscription`:return new yu(this._request,t);case`CustomerNotificationSubscription`:return new Au(this._request,t);case`CycleNotificationSubscription`:return new Vu(this._request,t);case`InitiativeNotificationSubscription`:return new Id(this._request,t);case`LabelNotificationSubscription`:return new Nf(this._request,t);case`ProjectNotificationSubscription`:return new Cp(this._request,t);case`TeamNotificationSubscription`:return new vm(this._request,t);case`UserNotificationSubscription`:return new Lm(this._request,t);default:return new Gf(this._request,t)}}},mg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bn.toString(),e)).notificationSubscriptions;return new Kf(this._request,t=>this.fetch(w({...e,...t})),t)}},hg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Vn.toString(),e)).notifications;return new zf(this._request,t=>this.fetch(w({...e,...t})),t)}},G=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Hn.toString(),{})).organization;return new Xf(this._request,e)}},gg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Yn.toString(),{urlKey:e})).organizationExists;return new $f(this._request,t)}},_g=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xn.toString(),{id:e})).organizationInvite;return new ep(this._request,t)}},vg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Zn.toString(),e)).organizationInvites;return new tp(this._request,t=>this.fetch(w({...e,...t})),t)}},K=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qn.toString(),{id:e})).project;return new cp(this._request,t)}},yg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(hr.toString(),{prompt:e})).projectFilterSuggestion;return new pp(this._request,t)}},bg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gr.toString(),{id:e})).projectLabel;return new gp(this._request,t)}},xg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yr.toString(),e)).projectLabels;return new _p(this._request,t=>this.fetch(w({...e,...t})),t)}},q=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(br.toString(),{id:e})).projectMilestone;return new yp(this._request,t)}},Sg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sr.toString(),e)).projectMilestones;return new bp(this._request,t=>this.fetch(w({...e,...t})),t)}},Cg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Cr.toString(),{id:e})).projectRelation;return new Tp(this._request,t)}},wg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wr.toString(),e)).projectRelations;return new Ep(this._request,t=>this.fetch(w({...e,...t})),t)}},Tg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Tr.toString(),{id:e})).projectStatus;return new Ap(this._request,t)}},Eg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Er.toString(),e)).projectStatuses;return new Mp(this._request,t=>this.fetch(w({...e,...t})),t)}},J=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Dr.toString(),{id:e})).projectUpdate;return new Pp(this._request,t)}},Dg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kr.toString(),e)).projectUpdates;return new Ip(this._request,t=>this.fetch(w({...e,...t})),t)}},Og=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ar.toString(),e)).projects;return new fp(this._request,t=>this.fetch(w({...e,...t})),t)}},kg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(jr.toString(),e)).pushSubscriptionTest;return new Hp(this._request,t)}},Ag=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Mr.toString(),{})).rateLimitStatus;return new Up(this._request,e)}},jg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nr.toString(),{id:e})).roadmap;return new Yp(this._request,t)}},Mg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fr.toString(),{id:e})).roadmapToProject;return new $p(this._request,t)}},Ng=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ir.toString(),e)).roadmapToProjects;return new em(this._request,t=>this.fetch(w({...e,...t})),t)}},Pg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Lr.toString(),e)).roadmaps;return new Zp(this._request,t=>this.fetch(w({...e,...t})),t)}},Fg=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Rr.toString(),{term:e,...t})).searchDocuments;return new Zu(this._request,n)}},Ig=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(zr.toString(),{term:e,...t})).searchIssues;return new Df(this._request,n)}},Lg=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Br.toString(),{term:e,...t})).searchProjects;return new Op(this._request,n)}},Rg=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Vr.toString(),{query:e,...t})).semanticSearch;return new nm(this._request,n)}},zg=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Hr.toString(),{email:e,type:t,...n})).ssoUrlFromEmail;return new lm(this._request,r)}},Y=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ur.toString(),{id:e})).team;return new fm(this._request,t)}},Bg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ei.toString(),{id:e})).teamMembership;return new hm(this._request,t)}},Vg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ti.toString(),e)).teamMemberships;return new gm(this._request,t=>this.fetch(w({...e,...t})),t)}},Hg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ni.toString(),e)).teams;return new mm(this._request,t=>this.fetch(w({...e,...t})),t)}},X=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ri.toString(),{id:e})).template;return new bm(this._request,t)}},Ug=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(ii.toString(),{})).templates.map(e=>new bm(this._request,e))}},Wg=class extends C{constructor(e){super(e)}async fetch(e){return(await this._request(ai.toString(),{integrationType:e})).templatesForIntegration.map(e=>new bm(this._request,e))}},Gg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(oi.toString(),{id:e})).timeSchedule;return new Cm(this._request,t)}},Kg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(si.toString(),e)).timeSchedules;return new wm(this._request,t=>this.fetch(w({...e,...t})),t)}},qg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ci.toString(),e)).triageResponsibilities;return new Om(this._request,t=>this.fetch(w({...e,...t})),t)}},Jg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(li.toString(),{id:e})).triageResponsibility;return new Dm(this._request,t)}},Z=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ui.toString(),{id:e})).user;return new Pm(this._request,t)}},Yg=class extends C{constructor(e){super(e)}async fetch(e){return(await this._request(_i.toString(),{id:e})).userSessions.map(e=>new lu(this._request,e))}},Xg=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(vi.toString(),{})).userSettings;return new zm(this._request,e)}},Zg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yi.toString(),e)).users;return new Im(this._request,t=>this.fetch(w({...e,...t})),t)}},Qg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(bi.toString(),{integrationId:e})).verifyGitHubEnterpriseServerInstallation;return new Td(this._request,t)}},$g=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(xi.toString(),{})).viewer;return new Pm(this._request,e)}},e_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Si.toString(),{id:e})).webhook;return new Xm(this._request,t)}},t_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ci.toString(),e)).webhooks;return new Zm(this._request,t=>this.fetch(w({...e,...t})),t)}},Q=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wi.toString(),{id:e})).workflowState;return new nh(this._request,t)}},n_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ei.toString(),e)).workflowStates;return new ih(this._request,t=>this.fetch(w({...e,...t})),t)}},r_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Di.toString(),{input:e})).agentActivityCreate;return new Kl(this._request,t)}},i_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Oi.toString(),{input:e})).agentSessionCreateOnComment;return new Xl(this._request,t)}},a_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ki.toString(),{input:e})).agentSessionCreateOnIssue;return new Xl(this._request,t)}},o_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ai.toString(),{id:e,input:t})).agentSessionUpdate;return new Xl(this._request,n)}},s_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ji.toString(),{id:e,input:t})).agentSessionUpdateExternalUrl;return new Xl(this._request,n)}},c_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mi.toString(),{input:e})).airbyteIntegrationConnect;return new A(this._request,t)}},l_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ni.toString(),{input:e})).attachmentCreate;return new O(this._request,t)}},u_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pi.toString(),{id:e})).attachmentDelete;return new k(this._request,t)}},d_=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(Fi.toString(),{channelId:e,issueId:t,messageId:n,url:r,...i})).attachmentLinkDiscord;return new O(this._request,a)}},f_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ii.toString(),{conversationId:e,issueId:t,...n})).attachmentLinkFront;return new vd(this._request,r)}},p_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Li.toString(),{issueId:e,url:t,...n})).attachmentLinkGitHubIssue;return new O(this._request,r)}},m_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ri.toString(),{issueId:e,url:t,...n})).attachmentLinkGitHubPR;return new O(this._request,r)}},h_=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(zi.toString(),{issueId:e,number:t,projectPathWithNamespace:n,url:r,...i})).attachmentLinkGitLabMR;return new O(this._request,a)}},g_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Bi.toString(),{conversationId:e,issueId:t,...n})).attachmentLinkIntercom;return new O(this._request,r)}},__=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Vi.toString(),{issueId:e,jiraIssueId:t,...n})).attachmentLinkJiraIssue;return new O(this._request,r)}},v_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Hi.toString(),{issueId:e,url:t,...n})).attachmentLinkSalesforce;return new O(this._request,r)}},y_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ui.toString(),{issueId:e,url:t,...n})).attachmentLinkSlack;return new O(this._request,r)}},b_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Wi.toString(),{issueId:e,url:t,...n})).attachmentLinkURL;return new O(this._request,r)}},x_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Gi.toString(),{issueId:e,ticketId:t,...n})).attachmentLinkZendesk;return new O(this._request,r)}},S_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ki.toString(),{id:e})).attachmentSyncToSlack;return new O(this._request,t)}},C_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(qi.toString(),{id:e,input:t})).attachmentUpdate;return new O(this._request,n)}},w_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ji.toString(),{input:e})).commentCreate;return new fu(this._request,t)}},T_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Yi.toString(),{id:e})).commentDelete;return new k(this._request,t)}},E_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Xi.toString(),{id:e,...t})).commentResolve;return new fu(this._request,n)}},D_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Zi.toString(),{id:e})).commentUnresolve;return new fu(this._request,t)}},O_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Qi.toString(),{id:e,input:t,...n})).commentUpdate;return new fu(this._request,r)}},k_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request($i.toString(),{input:e})).contactCreate;return new pu(this._request,t)}},A_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ea.toString(),e)).createCsvExportReport;return new mu(this._request,t)}},j_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ta.toString(),{initiativeId:e,...t})).createInitiativeUpdateReminder;return new Jd(this._request,n)}},M_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(na.toString(),{input:e,...t})).createOrganizationFromOnboarding;return new hu(this._request,n)}},N_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ra.toString(),{projectId:e,...t})).createProjectUpdateReminder;return new Rp(this._request,n)}},P_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ia.toString(),{input:e})).customViewCreate;return new bu(this._request,t)}},F_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(aa.toString(),{id:e})).customViewDelete;return new k(this._request,t)}},I_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(oa.toString(),{id:e,input:t})).customViewUpdate;return new bu(this._request,n)}},L_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(sa.toString(),{input:e})).customerCreate;return new ju(this._request,t)}},R_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ca.toString(),{id:e})).customerDelete;return new k(this._request,t)}},z_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(la.toString(),{sourceCustomerId:e,targetCustomerId:t})).customerMerge;return new ju(this._request,n)}},B_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ua.toString(),{id:e})).customerNeedArchive;return new wu(this._request,t)}},V_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(da.toString(),{input:e})).customerNeedCreate;return new Du(this._request,t)}},H_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fa.toString(),{input:e})).customerNeedCreateFromAttachment;return new Du(this._request,t)}},U_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(pa.toString(),{id:e,...t})).customerNeedDelete;return new k(this._request,n)}},W_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ma.toString(),{id:e})).customerNeedUnarchive;return new wu(this._request,t)}},G_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ha.toString(),{id:e,input:t})).customerNeedUpdate;return new Ou(this._request,n)}},K_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ga.toString(),{input:e})).customerStatusCreate;return new Pu(this._request,t)}},q_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_a.toString(),{id:e})).customerStatusDelete;return new k(this._request,t)}},J_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(va.toString(),{id:e,input:t})).customerStatusUpdate;return new Pu(this._request,n)}},Y_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ya.toString(),{input:e})).customerTierCreate;return new Lu(this._request,t)}},X_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ba.toString(),{id:e})).customerTierDelete;return new k(this._request,t)}},Z_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xa.toString(),{id:e,input:t})).customerTierUpdate;return new Lu(this._request,n)}},Q_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sa.toString(),{id:e})).customerUnsync;return new ju(this._request,t)}},$_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ca.toString(),{id:e,input:t})).customerUpdate;return new ju(this._request,n)}},ev=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wa.toString(),{input:e})).customerUpsert;return new ju(this._request,t)}},tv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ta.toString(),{id:e})).cycleArchive;return new zu(this._request,t)}},nv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ea.toString(),{input:e})).cycleCreate;return new Hu(this._request,t)}},rv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Da.toString(),{input:e})).cycleShiftAll;return new Hu(this._request,t)}},iv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Oa.toString(),{id:e})).cycleStartUpcomingCycleToday;return new Hu(this._request,t)}},av=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ka.toString(),{id:e,input:t})).cycleUpdate;return new Hu(this._request,n)}},ov=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Aa.toString(),{input:e})).documentCreate;return new Xu(this._request,t)}},sv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ja.toString(),{id:e})).documentDelete;return new Wu(this._request,t)}},cv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ma.toString(),{id:e})).documentUnarchive;return new Wu(this._request,t)}},lv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Na.toString(),{id:e,input:t})).documentUpdate;return new Xu(this._request,n)}},uv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pa.toString(),{input:e})).emailIntakeAddressCreate;return new nd(this._request,t)}},dv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fa.toString(),{id:e})).emailIntakeAddressDelete;return new k(this._request,t)}},fv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ia.toString(),{id:e})).emailIntakeAddressRotate;return new nd(this._request,t)}},pv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(La.toString(),{id:e,input:t})).emailIntakeAddressUpdate;return new nd(this._request,n)}},mv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ra.toString(),{input:e})).emailTokenUserAccountAuth;return new su(this._request,t)}},hv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(za.toString(),{input:e})).emailUnsubscribe;return new rd(this._request,t)}},gv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ba.toString(),{input:e})).emailUserAccountAuthChallenge;return new id(this._request,t)}},_v=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Va.toString(),{input:e})).emojiCreate;return new sd(this._request,t)}},vv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ha.toString(),{id:e})).emojiDelete;return new k(this._request,t)}},yv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ua.toString(),{input:e})).entityExternalLinkCreate;return new ud(this._request,t)}},bv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Wa.toString(),{id:e})).entityExternalLinkDelete;return new k(this._request,t)}},xv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ga.toString(),{id:e,input:t})).entityExternalLinkUpdate;return new ud(this._request,n)}},Sv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ka.toString(),{input:e})).favoriteCreate;return new _d(this._request,t)}},Cv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qa.toString(),{id:e})).favoriteDelete;return new k(this._request,t)}},wv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ja.toString(),{id:e,input:t})).favoriteUpdate;return new _d(this._request,n)}},Tv=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(Ya.toString(),{contentType:e,filename:t,size:n,...r})).fileUpload;return new Nm(this._request,i)}},Ev=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xa.toString(),{input:e})).gitAutomationStateCreate;return new xd(this._request,t)}},Dv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Za.toString(),{id:e})).gitAutomationStateDelete;return new k(this._request,t)}},Ov=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Qa.toString(),{id:e,input:t})).gitAutomationStateUpdate;return new xd(this._request,n)}},kv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request($a.toString(),{input:e})).gitAutomationTargetBranchCreate;return new Cd(this._request,t)}},Av=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(eo.toString(),{id:e})).gitAutomationTargetBranchDelete;return new k(this._request,t)}},jv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(to.toString(),{id:e,input:t})).gitAutomationTargetBranchUpdate;return new Cd(this._request,n)}},Mv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(no.toString(),{input:e})).googleUserAccountAuth;return new su(this._request,t)}},Nv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ro.toString(),{url:e})).imageUploadFromUrl;return new kd(this._request,t)}},Pv=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(io.toString(),{contentType:e,filename:t,size:n,...r})).importFileUpload;return new Nm(this._request,i)}},Fv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ao.toString(),{id:e})).initiativeArchive;return new jd(this._request,t)}},Iv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(oo.toString(),{input:e})).initiativeCreate;return new Ld(this._request,t)}},Lv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(so.toString(),{id:e})).initiativeDelete;return new k(this._request,t)}},Rv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(co.toString(),{input:e})).initiativeRelationCreate;return new Bd(this._request,t)}},zv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(lo.toString(),{id:e})).initiativeRelationDelete;return new k(this._request,t)}},Bv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(uo.toString(),{id:e,input:t})).initiativeRelationUpdate;return new k(this._request,n)}},Vv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fo.toString(),{input:e})).initiativeToProjectCreate;return new Ud(this._request,t)}},Hv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(po.toString(),{id:e})).initiativeToProjectDelete;return new k(this._request,t)}},Uv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(mo.toString(),{id:e,input:t})).initiativeToProjectUpdate;return new Ud(this._request,n)}},Wv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ho.toString(),{id:e})).initiativeUnarchive;return new jd(this._request,t)}},Gv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(go.toString(),{id:e,input:t})).initiativeUpdate;return new Ld(this._request,n)}},Kv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_o.toString(),{id:e})).initiativeUpdateArchive;return new Gd(this._request,t)}},qv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vo.toString(),{input:e})).initiativeUpdateCreate;return new qd(this._request,t)}},Jv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yo.toString(),{id:e})).initiativeUpdateUnarchive;return new Gd(this._request,t)}},Yv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(bo.toString(),{id:e,input:t})).initiativeUpdateUpdate;return new qd(this._request,n)}},Xv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(xo.toString(),{id:e})).integrationArchive;return new k(this._request,t)}},Zv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(So.toString(),{code:e,redirectUri:t})).integrationAsksConnectChannel;return new eu(this._request,n)}},Qv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Co.toString(),{id:e,...t})).integrationDelete;return new k(this._request,n)}},$v=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(wo.toString(),{code:e,redirectUri:t})).integrationDiscord;return new A(this._request,n)}},ey=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(To.toString(),{code:e,redirectUri:t})).integrationFigma;return new A(this._request,n)}},ty=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Eo.toString(),{code:e,redirectUri:t})).integrationFront;return new A(this._request,n)}},ny=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Do.toString(),{githubUrl:e,organizationName:t})).integrationGitHubEnterpriseServerConnect;return new Ed(this._request,n)}},ry=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Oo.toString(),{code:e,...t})).integrationGitHubPersonal;return new A(this._request,n)}},iy=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(ko.toString(),{})).integrationGithubCommitCreate;return new wd(this._request,e)}},ay=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ao.toString(),{code:e,installationId:t,...n})).integrationGithubConnect;return new A(this._request,r)}},oy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(jo.toString(),{code:e,installationId:t})).integrationGithubImportConnect;return new A(this._request,n)}},sy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mo.toString(),{id:e})).integrationGithubImportRefresh;return new A(this._request,t)}},cy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(No.toString(),{accessToken:e,gitlabUrl:t})).integrationGitlabConnect;return new Dd(this._request,n)}},ly=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Po.toString(),{integrationId:e})).integrationGitlabTestConnection;return new Od(this._request,t)}},uy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Fo.toString(),{code:e,redirectUri:t})).integrationGong;return new A(this._request,n)}},dy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Io.toString(),{code:e})).integrationGoogleSheets;return new A(this._request,t)}},fy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Lo.toString(),{code:e,redirectUri:t,...n})).integrationIntercom;return new A(this._request,r)}},py=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Ro.toString(),{})).integrationIntercomDelete;return new A(this._request,e)}},my=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zo.toString(),{input:e})).integrationIntercomSettingsUpdate;return new A(this._request,t)}},hy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bo.toString(),e)).integrationJiraPersonal;return new A(this._request,t)}},gy=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Vo.toString(),{})).integrationLoom;return new A(this._request,e)}},_y=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ho.toString(),{input:e})).integrationRequest;return new Qd(this._request,t)}},vy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Uo.toString(),{code:e,redirectUri:t,subdomain:n})).integrationSalesforce;return new A(this._request,r)}},yy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Wo.toString(),{code:e,installationId:t,organizationSlug:n})).integrationSentryConnect;return new A(this._request,r)}},by=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Go.toString(),{code:e,redirectUri:t,...n})).integrationSlack;return new A(this._request,r)}},xy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ko.toString(),{code:e,redirectUri:t})).integrationSlackAsks;return new A(this._request,n)}},Sy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(qo.toString(),{code:e,customViewId:t,redirectUri:n})).integrationSlackCustomViewNotifications;return new sm(this._request,r)}},Cy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Jo.toString(),{code:e,customerId:t,redirectUri:n})).integrationSlackCustomerChannelLink;return new um(this._request,r)}},wy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Yo.toString(),{code:e,redirectUri:t})).integrationSlackImportEmojis;return new A(this._request,n)}},Ty=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xo.toString(),{integrationId:e})).integrationSlackOrAsksUpdateSlackTeamName;return new $d(this._request,t)}},Ey=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Zo.toString(),{code:e,redirectUri:t})).integrationSlackOrgProjectUpdatesPost;return new sm(this._request,n)}},Dy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Qo.toString(),{code:e,redirectUri:t})).integrationSlackPersonal;return new A(this._request,n)}},Oy=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request($o.toString(),{code:e,redirectUri:t,teamId:n,...r})).integrationSlackPost;return new sm(this._request,i)}},ky=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(es.toString(),{code:e,projectId:t,redirectUri:n,service:r})).integrationSlackProjectPost;return new sm(this._request,i)}},Ay=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ts.toString(),{input:e})).integrationTemplateCreate;return new nf(this._request,t)}},jy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ns.toString(),{id:e})).integrationTemplateDelete;return new k(this._request,t)}},My=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(rs.toString(),{code:e,redirectUri:t,scope:n,subdomain:r})).integrationZendesk;return new A(this._request,i)}},Ny=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(is.toString(),{input:e})).integrationsSettingsCreate;return new af(this._request,t)}},Py=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(as.toString(),{id:e,input:t})).integrationsSettingsUpdate;return new af(this._request,n)}},Fy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(os.toString(),{id:e,labelId:t})).issueAddLabel;return new M(this._request,n)}},Iy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ss.toString(),{id:e,...t})).issueArchive;return new sf(this._request,n)}},Ly=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(cs.toString(),{input:e})).issueBatchCreate;return new cf(this._request,t)}},Ry=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ls.toString(),{ids:e,input:t})).issueBatchUpdate;return new cf(this._request,n)}},zy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(us.toString(),{input:e})).issueCreate;return new M(this._request,t)}},By=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ds.toString(),{id:e,...t})).issueDelete;return new sf(this._request,n)}},Vy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fs.toString(),{attachmentId:e})).issueExternalSyncDisable;return new M(this._request,t)}},Hy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(ps.toString(),{asanaTeamName:e,asanaToken:t,...n})).issueImportCreateAsana;return new gf(this._request,r)}},Uy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ms.toString(),{csvUrl:e,...t})).issueImportCreateCSVJira;return new gf(this._request,n)}},Wy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(hs.toString(),{clubhouseGroupName:e,clubhouseToken:t,...n})).issueImportCreateClubhouse;return new gf(this._request,r)}},Gy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gs.toString(),e)).issueImportCreateGithub;return new gf(this._request,t)}},Ky=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(_s.toString(),{jiraEmail:e,jiraHostname:t,jiraProject:n,jiraToken:r,...i})).issueImportCreateJira;return new gf(this._request,a)}},qy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vs.toString(),{issueImportId:e})).issueImportDelete;return new mf(this._request,t)}},Jy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ys.toString(),{issueImportId:e,mapping:t})).issueImportProcess;return new gf(this._request,n)}},Yy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(bs.toString(),{id:e,input:t})).issueImportUpdate;return new gf(this._request,n)}},Xy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xs.toString(),{input:e,...t})).issueLabelCreate;return new bf(this._request,n)}},Zy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ss.toString(),{id:e})).issueLabelDelete;return new k(this._request,t)}},Qy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Cs.toString(),{id:e})).issueLabelRestore;return new bf(this._request,t)}},$y=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ws.toString(),{id:e})).issueLabelRetire;return new bf(this._request,t)}},eb=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ts.toString(),{id:e,input:t,...n})).issueLabelUpdate;return new bf(this._request,r)}},tb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Es.toString(),{input:e,...t})).issueRelationCreate;return new Ef(this._request,n)}},nb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ds.toString(),{id:e})).issueRelationDelete;return new k(this._request,t)}},rb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Os.toString(),{id:e,input:t})).issueRelationUpdate;return new Ef(this._request,n)}},ib=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ks.toString(),{id:e,reminderAt:t})).issueReminder;return new M(this._request,n)}},ab=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(As.toString(),{id:e,labelId:t})).issueRemoveLabel;return new M(this._request,n)}},ob=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(js.toString(),{id:e,...t})).issueSubscribe;return new M(this._request,n)}},sb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ms.toString(),{id:e})).issueUnarchive;return new sf(this._request,t)}},cb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ns.toString(),{id:e,...t})).issueUnsubscribe;return new M(this._request,n)}},lb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ps.toString(),{id:e,input:t})).issueUpdate;return new M(this._request,n)}},ub=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fs.toString(),{input:e})).joinOrganizationFromOnboarding;return new hu(this._request,t)}},db=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Is.toString(),{organizationId:e})).leaveOrganization;return new hu(this._request,t)}},fb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ls.toString(),e)).logout;return new Pf(this._request,t)}},pb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rs.toString(),e)).logoutAllSessions;return new Pf(this._request,t)}},mb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zs.toString(),e)).logoutOtherSessions;return new Pf(this._request,t)}},hb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bs.toString(),{sessionId:e})).logoutSession;return new Pf(this._request,t)}},gb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Vs.toString(),{id:e})).notificationArchive;return new If(this._request,t)}},_b=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Hs.toString(),{input:e})).notificationArchiveAll;return new Lf(this._request,t)}},vb=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Us.toString(),{category:e,channel:t,subscribe:n})).notificationCategoryChannelSubscriptionUpdate;return new Wm(this._request,r)}},yb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ws.toString(),{input:e,readAt:t})).notificationMarkReadAll;return new Lf(this._request,n)}},bb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Gs.toString(),{input:e})).notificationMarkUnreadAll;return new Lf(this._request,t)}},xb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ks.toString(),{input:e,snoozedUntilAt:t})).notificationSnoozeAll;return new Lf(this._request,n)}},Sb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qs.toString(),{input:e})).notificationSubscriptionCreate;return new qf(this._request,t)}},Cb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Js.toString(),{id:e})).notificationSubscriptionDelete;return new k(this._request,t)}},wb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ys.toString(),{id:e,input:t})).notificationSubscriptionUpdate;return new qf(this._request,n)}},Tb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xs.toString(),{id:e})).notificationUnarchive;return new If(this._request,t)}},Eb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Zs.toString(),{input:e,unsnoozedAt:t})).notificationUnsnoozeAll;return new Lf(this._request,n)}},Db=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Qs.toString(),{id:e,input:t})).notificationUpdate;return new Wf(this._request,n)}},Ob=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request($s.toString(),{})).organizationCancelDelete;return new Zf(this._request,e)}},kb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ec.toString(),{input:e})).organizationDelete;return new Qf(this._request,t)}},Ab=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(tc.toString(),{})).organizationDeleteChallenge;return new Qf(this._request,e)}},jb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(nc.toString(),{id:e})).organizationDomainDelete;return new k(this._request,t)}},Mb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(rc.toString(),{input:e})).organizationInviteCreate;return new np(this._request,t)}},Nb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ic.toString(),{id:e})).organizationInviteDelete;return new k(this._request,t)}},Pb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ac.toString(),{id:e,input:t})).organizationInviteUpdate;return new np(this._request,n)}},Fb=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(oc.toString(),{})).organizationStartTrial;return new ap(this._request,e)}},Ib=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(sc.toString(),{input:e})).organizationStartTrialForPlan;return new ap(this._request,t)}},Lb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(cc.toString(),{input:e})).organizationUpdate;return new ip(this._request,t)}},Rb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(lc.toString(),{id:e,labelId:t})).projectAddLabel;return new wp(this._request,n)}},zb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(uc.toString(),{id:e,...t})).projectArchive;return new lp(this._request,n)}},Bb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(dc.toString(),{input:e,...t})).projectCreate;return new wp(this._request,n)}},Vb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fc.toString(),{id:e})).projectDelete;return new lp(this._request,t)}},Hb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(pc.toString(),{projectId:e,syncSource:t})).projectExternalSyncDisable;return new wp(this._request,n)}},Ub=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(mc.toString(),{input:e})).projectLabelCreate;return new vp(this._request,t)}},Wb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(hc.toString(),{id:e})).projectLabelDelete;return new k(this._request,t)}},Gb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gc.toString(),{id:e})).projectLabelRestore;return new vp(this._request,t)}},Kb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_c.toString(),{id:e})).projectLabelRetire;return new vp(this._request,t)}},qb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(vc.toString(),{id:e,input:t})).projectLabelUpdate;return new vp(this._request,n)}},Jb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yc.toString(),{input:e})).projectMilestoneCreate;return new xp(this._request,t)}},Yb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(bc.toString(),{id:e})).projectMilestoneDelete;return new k(this._request,t)}},Xb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xc.toString(),{id:e,input:t})).projectMilestoneUpdate;return new xp(this._request,n)}},Zb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sc.toString(),{input:e})).projectRelationCreate;return new Dp(this._request,t)}},Qb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Cc.toString(),{id:e})).projectRelationDelete;return new k(this._request,t)}},$b=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(wc.toString(),{id:e,input:t})).projectRelationUpdate;return new Dp(this._request,n)}},ex=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Tc.toString(),{id:e,labelId:t})).projectRemoveLabel;return new wp(this._request,n)}},tx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ec.toString(),{id:e})).projectStatusArchive;return new jp(this._request,t)}},nx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Dc.toString(),{input:e})).projectStatusCreate;return new Np(this._request,t)}},rx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Oc.toString(),{id:e})).projectStatusUnarchive;return new jp(this._request,t)}},ix=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(kc.toString(),{id:e,input:t})).projectStatusUpdate;return new Np(this._request,n)}},ax=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ac.toString(),{id:e})).projectUnarchive;return new lp(this._request,t)}},ox=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(jc.toString(),{id:e,input:t})).projectUpdate;return new wp(this._request,n)}},sx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mc.toString(),{id:e})).projectUpdateArchive;return new Fp(this._request,t)}},cx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nc.toString(),{input:e})).projectUpdateCreate;return new Lp(this._request,t)}},lx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pc.toString(),{id:e})).projectUpdateDelete;return new k(this._request,t)}},ux=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fc.toString(),{id:e})).projectUpdateUnarchive;return new Fp(this._request,t)}},dx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ic.toString(),{id:e,input:t})).projectUpdateUpdate;return new Lp(this._request,n)}},fx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Lc.toString(),{input:e})).pushSubscriptionCreate;return new Vp(this._request,t)}},px=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rc.toString(),{id:e})).pushSubscriptionDelete;return new Vp(this._request,t)}},mx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zc.toString(),{input:e})).reactionCreate;return new Kp(this._request,t)}},hx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bc.toString(),{id:e})).reactionDelete;return new k(this._request,t)}},gx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Vc.toString(),{id:e,...t})).refreshGoogleSheetsData;return new A(this._request,n)}},_x=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Hc.toString(),{id:e})).resendOrganizationInvite;return new k(this._request,t)}},vx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Uc.toString(),{email:e})).resendOrganizationInviteByEmail;return new k(this._request,t)}},yx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Wc.toString(),{id:e})).roadmapArchive;return new Xp(this._request,t)}},bx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Gc.toString(),{input:e})).roadmapCreate;return new Qp(this._request,t)}},xx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Kc.toString(),{id:e})).roadmapDelete;return new k(this._request,t)}},Sx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qc.toString(),{input:e})).roadmapToProjectCreate;return new tm(this._request,t)}},Cx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Jc.toString(),{id:e})).roadmapToProjectDelete;return new k(this._request,t)}},wx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Yc.toString(),{id:e,input:t})).roadmapToProjectUpdate;return new tm(this._request,n)}},Tx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xc.toString(),{id:e})).roadmapUnarchive;return new Xp(this._request,t)}},Ex=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Zc.toString(),{id:e,input:t})).roadmapUpdate;return new Qp(this._request,n)}},Dx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qc.toString(),{input:e})).samlTokenUserAccountAuth;return new su(this._request,t)}},Ox=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request($c.toString(),{input:e,...t})).teamCreate;return new ym(this._request,n)}},kx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(el.toString(),{id:e})).teamCyclesDelete;return new ym(this._request,t)}},Ax=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(tl.toString(),{id:e})).teamDelete;return new k(this._request,t)}},jx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(nl.toString(),{id:e})).teamKeyDelete;return new k(this._request,t)}},Mx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(rl.toString(),{input:e})).teamMembershipCreate;return new _m(this._request,t)}},Nx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(il.toString(),{id:e,...t})).teamMembershipDelete;return new k(this._request,n)}},Px=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(al.toString(),{id:e,input:t})).teamMembershipUpdate;return new _m(this._request,n)}},Fx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ol.toString(),{id:e})).teamUnarchive;return new pm(this._request,t)}},Ix=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(sl.toString(),{id:e,input:t,...n})).teamUpdate;return new ym(this._request,r)}},Lx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(cl.toString(),{input:e})).templateCreate;return new Sm(this._request,t)}},Rx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ll.toString(),{id:e})).templateDelete;return new k(this._request,t)}},zx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ul.toString(),{id:e,input:t})).templateUpdate;return new Sm(this._request,n)}},Bx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(dl.toString(),{input:e})).timeScheduleCreate;return new Em(this._request,t)}},Vx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fl.toString(),{id:e})).timeScheduleDelete;return new k(this._request,t)}},Hx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(pl.toString(),{id:e})).timeScheduleRefreshIntegrationSchedule;return new Em(this._request,t)}},Ux=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ml.toString(),{id:e,input:t})).timeScheduleUpdate;return new Em(this._request,n)}},Wx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(hl.toString(),{externalId:e,input:t})).timeScheduleUpsertExternal;return new Em(this._request,n)}},Gx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gl.toString(),{input:e})).trackAnonymousEvent;return new dd(this._request,t)}},Kx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_l.toString(),{input:e})).triageResponsibilityCreate;return new Am(this._request,t)}},qx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vl.toString(),{id:e})).triageResponsibilityDelete;return new k(this._request,t)}},Jx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(yl.toString(),{id:e,input:t})).triageResponsibilityUpdate;return new Am(this._request,n)}},Yx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(bl.toString(),{id:e,role:t})).userChangeRole;return new Fm(this._request,n)}},Xx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xl.toString(),{code:e,redirectUri:t})).userDiscordConnect;return new Rm(this._request,n)}},Zx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sl.toString(),{service:e})).userExternalUserDisconnect;return new Rm(this._request,t)}},Qx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Cl.toString(),{flag:e,operation:t})).userFlagUpdate;return new Hm(this._request,n)}},$x=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wl.toString(),{id:e})).userRevokeAllSessions;return new Fm(this._request,t)}},eS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Tl.toString(),{id:e,sessionId:t})).userRevokeSession;return new Fm(this._request,n)}},tS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(El.toString(),e)).userSettingsFlagsReset;return new Um(this._request,t)}},nS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Dl.toString(),{id:e,input:t})).userSettingsUpdate;return new Wm(this._request,n)}},rS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ol.toString(),{id:e,...t})).userSuspend;return new Fm(this._request,n)}},iS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kl.toString(),{id:e})).userUnlinkFromIdentityProvider;return new Fm(this._request,t)}},aS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Al.toString(),{id:e,...t})).userUnsuspend;return new Fm(this._request,n)}},oS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(jl.toString(),{id:e,input:t})).userUpdate;return new Rm(this._request,n)}},sS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ml.toString(),{input:e})).viewPreferencesCreate;return new qm(this._request,t)}},cS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nl.toString(),{id:e})).viewPreferencesDelete;return new k(this._request,t)}},lS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Pl.toString(),{id:e,input:t})).viewPreferencesUpdate;return new qm(this._request,n)}},uS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fl.toString(),{input:e})).webhookCreate;return new Qm(this._request,t)}},dS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Il.toString(),{id:e})).webhookDelete;return new k(this._request,t)}},fS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ll.toString(),{id:e})).webhookRotateSecret;return new $m(this._request,t)}},pS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Rl.toString(),{id:e,input:t})).webhookUpdate;return new Qm(this._request,n)}},mS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zl.toString(),{id:e})).workflowStateArchive;return new rh(this._request,t)}},hS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bl.toString(),{input:e})).workflowStateCreate;return new ah(this._request,t)}},gS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Vl.toString(),{id:e,input:t})).workflowStateUpdate;return new ah(this._request,n)}},_S=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(qe.toString(),{id:this._id,...this._variables,...e})).agentSession.activities;return new Gl(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},vS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(at.toString(),e)).comment.children;return new du(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},yS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(ot.toString(),e)).comment.createdIssues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},bS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(lt.toString(),{id:this._id,...this._variables,...e})).customView.initiatives;return new Md(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},xS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ut.toString(),{id:this._id,...this._variables,...e})).customView.issues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},SS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(dt.toString(),{id:this._id,...this._variables,...e})).customView.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},CS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ct.toString(),{id:this._id,...this._variables,...e})).cycle.issues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},wS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(wt.toString(),{id:this._id,...this._variables,...e})).cycle.uncompletedIssuesUponClose;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},TS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Dt.toString(),{id:this._id,...this._variables,...e})).document.comments;return new du(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},ES=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Lt.toString(),{id:this._id,...this._variables,...e})).favorite.children;return new gd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},DS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Bt.toString(),{id:this._id,...this._variables,...e})).initiative.documents;return new Gu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},OS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Vt.toString(),{id:this._id,...this._variables,...e})).initiative.history;return new Pd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},kS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ht.toString(),{id:this._id,...this._variables,...e})).initiative.initiativeUpdates;return new Kd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},AS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ut.toString(),{id:this._id,...this._variables,...e})).initiative.links;return new ld(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},jS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Wt.toString(),{id:this._id,...this._variables,...e})).initiative.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},MS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Gt.toString(),{id:this._id,...this._variables,...e})).initiative.subInitiatives;return new Md(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},NS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Zt.toString(),{id:this._id,...this._variables,...e})).initiativeUpdate.comments;return new du(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},PS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(cn.toString(),{id:this._id,...this._variables,...e})).issue.attachments;return new nu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},FS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ln.toString(),{id:this._id,...this._variables,...e})).issue.children;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},IS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(un.toString(),{id:this._id,...this._variables,...e})).issue.comments;return new du(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},LS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(dn.toString(),{id:this._id,...this._variables,...e})).issue.documents;return new Gu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},RS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(fn.toString(),{id:this._id,...this._variables,...e})).issue.formerAttachments;return new nu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},zS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(pn.toString(),{id:this._id,...this._variables,...e})).issue.formerNeeds;return new Tu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},BS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(mn.toString(),{id:this._id,...this._variables,...e})).issue.history;return new df(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},VS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(hn.toString(),{id:this._id,...this._variables,...e})).issue.inverseRelations;return new wf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},HS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(gn.toString(),{id:this._id,...this._variables,...e})).issue.labels;return new yf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},US=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(_n.toString(),{id:this._id,...this._variables,...e})).issue.needs;return new Tu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},WS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(vn.toString(),{id:this._id,...this._variables,...e})).issue.relations;return new wf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},GS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(yn.toString(),{id:this._id,...this._variables,...e})).issue.stateHistory;return new jf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},KS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(bn.toString(),{id:this._id,...this._variables,...e})).issue.subscribers;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},qS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Dn.toString(),{id:this._id,...this._variables,...e})).issueLabel.children;return new yf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},JS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(On.toString(),{id:this._id,...this._variables,...e})).issueLabel.issues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},YS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Un.toString(),e)).organization.integrations;return new Xd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},XS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Wn.toString(),e)).organization.labels;return new yf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},ZS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Gn.toString(),e)).organization.projectLabels;return new _p(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},QS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Kn.toString(),e)).organization.teams;return new mm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},$S=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(qn.toString(),e)).organization.templates;return new xm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},eC=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Jn.toString(),e)).organization.users;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},tC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request($n.toString(),{id:this._id,...this._variables,...e})).project.attachments;return new dp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},nC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(er.toString(),{id:this._id,...this._variables,...e})).project.comments;return new du(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},rC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(tr.toString(),{id:this._id,...this._variables,...e})).project.documents;return new Gu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},iC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(nr.toString(),{id:this._id,...this._variables,...e})).project.externalLinks;return new ld(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},aC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(rr.toString(),{id:this._id,...this._variables,...e})).project.history;return new hp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},oC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ir.toString(),{id:this._id,...this._variables,...e})).project.initiativeToProjects;return new Hd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},sC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ar.toString(),{id:this._id,...this._variables,...e})).project.initiatives;return new Md(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},cC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(or.toString(),{id:this._id,...this._variables,...e})).project.inverseRelations;return new Ep(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},lC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(sr.toString(),{id:this._id,...this._variables,...e})).project.issues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},uC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(cr.toString(),{id:this._id,...this._variables,...e})).project.labels;return new _p(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},dC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(lr.toString(),{id:this._id,...this._variables,...e})).project.members;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},fC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ur.toString(),{id:this._id,...this._variables,...e})).project.needs;return new Tu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},pC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(dr.toString(),{id:this._id,...this._variables,...e})).project.projectMilestones;return new bp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},mC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(fr.toString(),{id:this._id,...this._variables,...e})).project.projectUpdates;return new Ip(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},hC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(pr.toString(),{id:this._id,...this._variables,...e})).project.relations;return new Ep(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},gC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(mr.toString(),{id:this._id,...this._variables,...e})).project.teams;return new mm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},_C=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(_r.toString(),{id:this._id,...this._variables,...e})).projectLabel.children;return new _p(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},vC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(vr.toString(),{id:this._id,...this._variables,...e})).projectLabel.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},yC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(xr.toString(),{id:this._id,...this._variables,...e})).projectMilestone.issues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},bC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Or.toString(),{id:this._id,...this._variables,...e})).projectUpdate.comments;return new du(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},xC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Pr.toString(),{id:this._id,...this._variables,...e})).roadmap.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},SC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Wr.toString(),{id:this._id,...this._variables,...e})).team.cycles;return new Bu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},CC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Gr.toString(),{id:this._id,...this._variables,...e})).team.gitAutomationStates;return new bd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},wC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Kr.toString(),{id:this._id,...this._variables,...e})).team.issues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},TC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(qr.toString(),{id:this._id,...this._variables,...e})).team.labels;return new yf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},EC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Jr.toString(),{id:this._id,...this._variables,...e})).team.members;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},DC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Yr.toString(),{id:this._id,...this._variables,...e})).team.memberships;return new gm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},OC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Xr.toString(),{id:this._id,...this._variables,...e})).team.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},kC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Zr.toString(),{id:this._id,...this._variables,...e})).team.states;return new ih(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},AC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Qr.toString(),{id:this._id,...this._variables,...e})).team.templates;return new xm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},jC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request($r.toString(),{id:this._id,...this._variables,...e})).team.webhooks;return new Zm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},MC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(di.toString(),{id:this._id,...this._variables,...e})).user.assignedIssues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},NC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(fi.toString(),{id:this._id,...this._variables,...e})).user.createdIssues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},PC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(pi.toString(),{id:this._id,...this._variables,...e})).user.delegatedIssues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},FC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(mi.toString(),{id:this._id,...this._variables,...e})).user.drafts;return new ed(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},IC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(hi.toString(),{id:this._id,...this._variables,...e})).user.teamMemberships;return new gm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},LC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(gi.toString(),{id:this._id,...this._variables,...e})).user.teams;return new mm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},RC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ti.toString(),{id:this._id,...this._variables,...e})).workflowState.issues;return new j(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},zC=class extends C{constructor(e){super(e)}administrableTeams(e){return new oh(this._request).fetch(e)}agentActivities(e){return new sh(this._request).fetch(e)}agentActivity(e){return new ch(this._request).fetch(e)}agentSession(e){return new lh(this._request).fetch(e)}agentSessions(e){return new uh(this._request).fetch(e)}applicationInfo(e){return new dh(this._request).fetch(e)}attachment(e){return new fh(this._request).fetch(e)}attachmentIssue(e){return new ph(this._request).fetch(e)}attachments(e){return new mh(this._request).fetch(e)}attachmentsForURL(e,t){return new hh(this._request).fetch(e,t)}auditEntries(e){return new gh(this._request).fetch(e)}get auditEntryTypes(){return new _h(this._request).fetch()}get authenticationSessions(){return new vh(this._request).fetch()}get availableUsers(){return new yh(this._request).fetch()}comment(e){return new F(this._request).fetch(e)}comments(e){return new bh(this._request).fetch(e)}customView(e){return new I(this._request).fetch(e)}customViewHasSubscribers(e){return new xh(this._request).fetch(e)}customViews(e){return new Sh(this._request).fetch(e)}customer(e){return new L(this._request).fetch(e)}customerNeed(e){return new Ch(this._request).fetch(e)}customerNeeds(e){return new wh(this._request).fetch(e)}customerStatus(e){return new Th(this._request).fetch(e)}customerStatuses(e){return new Eh(this._request).fetch(e)}customerTier(e){return new Dh(this._request).fetch(e)}customerTiers(e){return new Oh(this._request).fetch(e)}customers(e){return new kh(this._request).fetch(e)}cycle(e){return new R(this._request).fetch(e)}cycles(e){return new Ah(this._request).fetch(e)}document(e){return new jh(this._request).fetch(e)}documentContentHistory(e){return new Mh(this._request).fetch(e)}documents(e){return new Nh(this._request).fetch(e)}emailIntakeAddress(e){return new Ph(this._request).fetch(e)}emoji(e){return new Fh(this._request).fetch(e)}emojis(e){return new Ih(this._request).fetch(e)}entityExternalLink(e){return new Lh(this._request).fetch(e)}externalUser(e){return new z(this._request).fetch(e)}externalUsers(e){return new Rh(this._request).fetch(e)}favorite(e){return new zh(this._request).fetch(e)}favorites(e){return new Bh(this._request).fetch(e)}initiative(e){return new B(this._request).fetch(e)}initiativeRelation(e){return new Vh(this._request).fetch(e)}initiativeRelations(e){return new Hh(this._request).fetch(e)}initiativeToProject(e){return new Uh(this._request).fetch(e)}initiativeToProjects(e){return new Wh(this._request).fetch(e)}initiativeUpdate(e){return new V(this._request).fetch(e)}initiativeUpdates(e){return new Gh(this._request).fetch(e)}initiatives(e){return new Kh(this._request).fetch(e)}integration(e){return new H(this._request).fetch(e)}integrationHasScopes(e,t){return new qh(this._request).fetch(e,t)}integrationTemplate(e){return new Jh(this._request).fetch(e)}integrationTemplates(e){return new Yh(this._request).fetch(e)}integrations(e){return new Xh(this._request).fetch(e)}integrationsSettings(e){return new Zh(this._request).fetch(e)}issue(e){return new U(this._request).fetch(e)}issueFigmaFileKeySearch(e,t){return new Qh(this._request).fetch(e,t)}issueFilterSuggestion(e,t){return new $h(this._request).fetch(e,t)}issueImportCheckCSV(e,t){return new eg(this._request).fetch(e,t)}issueImportCheckSync(e){return new tg(this._request).fetch(e)}issueImportJqlCheck(e,t,n,r,i){return new ng(this._request).fetch(e,t,n,r,i)}issueLabel(e){return new W(this._request).fetch(e)}issueLabels(e){return new rg(this._request).fetch(e)}get issuePriorityValues(){return new ig(this._request).fetch()}issueRelation(e){return new ag(this._request).fetch(e)}issueRelations(e){return new og(this._request).fetch(e)}issueRepositorySuggestions(e,t,n){return new sg(this._request).fetch(e,t,n)}issueSearch(e){return new cg(this._request).fetch(e)}issueTitleSuggestionFromCustomerRequest(e){return new lg(this._request).fetch(e)}issueVcsBranchSearch(e){return new ug(this._request).fetch(e)}issues(e){return new dg(this._request).fetch(e)}notification(e){return new fg(this._request).fetch(e)}notificationSubscription(e){return new pg(this._request).fetch(e)}notificationSubscriptions(e){return new mg(this._request).fetch(e)}notifications(e){return new hg(this._request).fetch(e)}get organization(){return new G(this._request).fetch()}organizationExists(e){return new gg(this._request).fetch(e)}organizationInvite(e){return new _g(this._request).fetch(e)}organizationInvites(e){return new vg(this._request).fetch(e)}project(e){return new K(this._request).fetch(e)}projectFilterSuggestion(e){return new yg(this._request).fetch(e)}projectLabel(e){return new bg(this._request).fetch(e)}projectLabels(e){return new xg(this._request).fetch(e)}projectMilestone(e){return new q(this._request).fetch(e)}projectMilestones(e){return new Sg(this._request).fetch(e)}projectRelation(e){return new Cg(this._request).fetch(e)}projectRelations(e){return new wg(this._request).fetch(e)}projectStatus(e){return new Tg(this._request).fetch(e)}projectStatuses(e){return new Eg(this._request).fetch(e)}projectUpdate(e){return new J(this._request).fetch(e)}projectUpdates(e){return new Dg(this._request).fetch(e)}projects(e){return new Og(this._request).fetch(e)}pushSubscriptionTest(e){return new kg(this._request).fetch(e)}get rateLimitStatus(){return new Ag(this._request).fetch()}roadmap(e){return new jg(this._request).fetch(e)}roadmapToProject(e){return new Mg(this._request).fetch(e)}roadmapToProjects(e){return new Ng(this._request).fetch(e)}roadmaps(e){return new Pg(this._request).fetch(e)}searchDocuments(e,t){return new Fg(this._request).fetch(e,t)}searchIssues(e,t){return new Ig(this._request).fetch(e,t)}searchProjects(e,t){return new Lg(this._request).fetch(e,t)}semanticSearch(e,t){return new Rg(this._request).fetch(e,t)}ssoUrlFromEmail(e,t,n){return new zg(this._request).fetch(e,t,n)}team(e){return new Y(this._request).fetch(e)}teamMembership(e){return new Bg(this._request).fetch(e)}teamMemberships(e){return new Vg(this._request).fetch(e)}teams(e){return new Hg(this._request).fetch(e)}template(e){return new X(this._request).fetch(e)}get templates(){return new Ug(this._request).fetch()}templatesForIntegration(e){return new Wg(this._request).fetch(e)}timeSchedule(e){return new Gg(this._request).fetch(e)}timeSchedules(e){return new Kg(this._request).fetch(e)}triageResponsibilities(e){return new qg(this._request).fetch(e)}triageResponsibility(e){return new Jg(this._request).fetch(e)}user(e){return new Z(this._request).fetch(e)}userSessions(e){return new Yg(this._request).fetch(e)}get userSettings(){return new Xg(this._request).fetch()}users(e){return new Zg(this._request).fetch(e)}verifyGitHubEnterpriseServerInstallation(e){return new Qg(this._request).fetch(e)}get viewer(){return new $g(this._request).fetch()}webhook(e){return new e_(this._request).fetch(e)}webhooks(e){return new t_(this._request).fetch(e)}workflowState(e){return new Q(this._request).fetch(e)}workflowStates(e){return new n_(this._request).fetch(e)}createAgentActivity(e){return new r_(this._request).fetch(e)}agentSessionCreateOnComment(e){return new i_(this._request).fetch(e)}agentSessionCreateOnIssue(e){return new a_(this._request).fetch(e)}updateAgentSession(e,t){return new o_(this._request).fetch(e,t)}agentSessionUpdateExternalUrl(e,t){return new s_(this._request).fetch(e,t)}airbyteIntegrationConnect(e){return new c_(this._request).fetch(e)}createAttachment(e){return new l_(this._request).fetch(e)}deleteAttachment(e){return new u_(this._request).fetch(e)}attachmentLinkDiscord(e,t,n,r,i){return new d_(this._request).fetch(e,t,n,r,i)}attachmentLinkFront(e,t,n){return new f_(this._request).fetch(e,t,n)}attachmentLinkGitHubIssue(e,t,n){return new p_(this._request).fetch(e,t,n)}attachmentLinkGitHubPR(e,t,n){return new m_(this._request).fetch(e,t,n)}attachmentLinkGitLabMR(e,t,n,r,i){return new h_(this._request).fetch(e,t,n,r,i)}attachmentLinkIntercom(e,t,n){return new g_(this._request).fetch(e,t,n)}attachmentLinkJiraIssue(e,t,n){return new __(this._request).fetch(e,t,n)}attachmentLinkSalesforce(e,t,n){return new v_(this._request).fetch(e,t,n)}attachmentLinkSlack(e,t,n){return new y_(this._request).fetch(e,t,n)}attachmentLinkURL(e,t,n){return new b_(this._request).fetch(e,t,n)}attachmentLinkZendesk(e,t,n){return new x_(this._request).fetch(e,t,n)}attachmentSyncToSlack(e){return new S_(this._request).fetch(e)}updateAttachment(e,t){return new C_(this._request).fetch(e,t)}createComment(e){return new w_(this._request).fetch(e)}deleteComment(e){return new T_(this._request).fetch(e)}commentResolve(e,t){return new E_(this._request).fetch(e,t)}commentUnresolve(e){return new D_(this._request).fetch(e)}updateComment(e,t,n){return new O_(this._request).fetch(e,t,n)}createContact(e){return new k_(this._request).fetch(e)}createCsvExportReport(e){return new A_(this._request).fetch(e)}createInitiativeUpdateReminder(e,t){return new j_(this._request).fetch(e,t)}createOrganizationFromOnboarding(e,t){return new M_(this._request).fetch(e,t)}createProjectUpdateReminder(e,t){return new N_(this._request).fetch(e,t)}createCustomView(e){return new P_(this._request).fetch(e)}deleteCustomView(e){return new F_(this._request).fetch(e)}updateCustomView(e,t){return new I_(this._request).fetch(e,t)}createCustomer(e){return new L_(this._request).fetch(e)}deleteCustomer(e){return new R_(this._request).fetch(e)}customerMerge(e,t){return new z_(this._request).fetch(e,t)}archiveCustomerNeed(e){return new B_(this._request).fetch(e)}createCustomerNeed(e){return new V_(this._request).fetch(e)}customerNeedCreateFromAttachment(e){return new H_(this._request).fetch(e)}deleteCustomerNeed(e,t){return new U_(this._request).fetch(e,t)}unarchiveCustomerNeed(e){return new W_(this._request).fetch(e)}updateCustomerNeed(e,t){return new G_(this._request).fetch(e,t)}createCustomerStatus(e){return new K_(this._request).fetch(e)}deleteCustomerStatus(e){return new q_(this._request).fetch(e)}updateCustomerStatus(e,t){return new J_(this._request).fetch(e,t)}createCustomerTier(e){return new Y_(this._request).fetch(e)}deleteCustomerTier(e){return new X_(this._request).fetch(e)}updateCustomerTier(e,t){return new Z_(this._request).fetch(e,t)}customerUnsync(e){return new Q_(this._request).fetch(e)}updateCustomer(e,t){return new $_(this._request).fetch(e,t)}customerUpsert(e){return new ev(this._request).fetch(e)}archiveCycle(e){return new tv(this._request).fetch(e)}createCycle(e){return new nv(this._request).fetch(e)}cycleShiftAll(e){return new rv(this._request).fetch(e)}cycleStartUpcomingCycleToday(e){return new iv(this._request).fetch(e)}updateCycle(e,t){return new av(this._request).fetch(e,t)}createDocument(e){return new ov(this._request).fetch(e)}deleteDocument(e){return new sv(this._request).fetch(e)}unarchiveDocument(e){return new cv(this._request).fetch(e)}updateDocument(e,t){return new lv(this._request).fetch(e,t)}createEmailIntakeAddress(e){return new uv(this._request).fetch(e)}deleteEmailIntakeAddress(e){return new dv(this._request).fetch(e)}emailIntakeAddressRotate(e){return new fv(this._request).fetch(e)}updateEmailIntakeAddress(e,t){return new pv(this._request).fetch(e,t)}emailTokenUserAccountAuth(e){return new mv(this._request).fetch(e)}emailUnsubscribe(e){return new hv(this._request).fetch(e)}emailUserAccountAuthChallenge(e){return new gv(this._request).fetch(e)}createEmoji(e){return new _v(this._request).fetch(e)}deleteEmoji(e){return new vv(this._request).fetch(e)}createEntityExternalLink(e){return new yv(this._request).fetch(e)}deleteEntityExternalLink(e){return new bv(this._request).fetch(e)}updateEntityExternalLink(e,t){return new xv(this._request).fetch(e,t)}createFavorite(e){return new Sv(this._request).fetch(e)}deleteFavorite(e){return new Cv(this._request).fetch(e)}updateFavorite(e,t){return new wv(this._request).fetch(e,t)}fileUpload(e,t,n,r){return new Tv(this._request).fetch(e,t,n,r)}createGitAutomationState(e){return new Ev(this._request).fetch(e)}deleteGitAutomationState(e){return new Dv(this._request).fetch(e)}updateGitAutomationState(e,t){return new Ov(this._request).fetch(e,t)}createGitAutomationTargetBranch(e){return new kv(this._request).fetch(e)}deleteGitAutomationTargetBranch(e){return new Av(this._request).fetch(e)}updateGitAutomationTargetBranch(e,t){return new jv(this._request).fetch(e,t)}googleUserAccountAuth(e){return new Mv(this._request).fetch(e)}imageUploadFromUrl(e){return new Nv(this._request).fetch(e)}importFileUpload(e,t,n,r){return new Pv(this._request).fetch(e,t,n,r)}archiveInitiative(e){return new Fv(this._request).fetch(e)}createInitiative(e){return new Iv(this._request).fetch(e)}deleteInitiative(e){return new Lv(this._request).fetch(e)}createInitiativeRelation(e){return new Rv(this._request).fetch(e)}deleteInitiativeRelation(e){return new zv(this._request).fetch(e)}updateInitiativeRelation(e,t){return new Bv(this._request).fetch(e,t)}createInitiativeToProject(e){return new Vv(this._request).fetch(e)}deleteInitiativeToProject(e){return new Hv(this._request).fetch(e)}updateInitiativeToProject(e,t){return new Uv(this._request).fetch(e,t)}unarchiveInitiative(e){return new Wv(this._request).fetch(e)}updateInitiative(e,t){return new Gv(this._request).fetch(e,t)}archiveInitiativeUpdate(e){return new Kv(this._request).fetch(e)}createInitiativeUpdate(e){return new qv(this._request).fetch(e)}unarchiveInitiativeUpdate(e){return new Jv(this._request).fetch(e)}updateInitiativeUpdate(e,t){return new Yv(this._request).fetch(e,t)}archiveIntegration(e){return new Xv(this._request).fetch(e)}integrationAsksConnectChannel(e,t){return new Zv(this._request).fetch(e,t)}deleteIntegration(e,t){return new Qv(this._request).fetch(e,t)}integrationDiscord(e,t){return new $v(this._request).fetch(e,t)}integrationFigma(e,t){return new ey(this._request).fetch(e,t)}integrationFront(e,t){return new ty(this._request).fetch(e,t)}integrationGitHubEnterpriseServerConnect(e,t){return new ny(this._request).fetch(e,t)}integrationGitHubPersonal(e,t){return new ry(this._request).fetch(e,t)}get createIntegrationGithubCommit(){return new iy(this._request).fetch()}integrationGithubConnect(e,t,n){return new ay(this._request).fetch(e,t,n)}integrationGithubImportConnect(e,t){return new oy(this._request).fetch(e,t)}integrationGithubImportRefresh(e){return new sy(this._request).fetch(e)}integrationGitlabConnect(e,t){return new cy(this._request).fetch(e,t)}integrationGitlabTestConnection(e){return new ly(this._request).fetch(e)}integrationGong(e,t){return new uy(this._request).fetch(e,t)}integrationGoogleSheets(e){return new dy(this._request).fetch(e)}integrationIntercom(e,t,n){return new fy(this._request).fetch(e,t,n)}get deleteIntegrationIntercom(){return new py(this._request).fetch()}updateIntegrationIntercomSettings(e){return new my(this._request).fetch(e)}integrationJiraPersonal(e){return new hy(this._request).fetch(e)}get integrationLoom(){return new gy(this._request).fetch()}integrationRequest(e){return new _y(this._request).fetch(e)}integrationSalesforce(e,t,n){return new vy(this._request).fetch(e,t,n)}integrationSentryConnect(e,t,n){return new yy(this._request).fetch(e,t,n)}integrationSlack(e,t,n){return new by(this._request).fetch(e,t,n)}integrationSlackAsks(e,t){return new xy(this._request).fetch(e,t)}integrationSlackCustomViewNotifications(e,t,n){return new Sy(this._request).fetch(e,t,n)}integrationSlackCustomerChannelLink(e,t,n){return new Cy(this._request).fetch(e,t,n)}integrationSlackImportEmojis(e,t){return new wy(this._request).fetch(e,t)}integrationSlackOrAsksUpdateSlackTeamName(e){return new Ty(this._request).fetch(e)}integrationSlackOrgProjectUpdatesPost(e,t){return new Ey(this._request).fetch(e,t)}integrationSlackPersonal(e,t){return new Dy(this._request).fetch(e,t)}integrationSlackPost(e,t,n,r){return new Oy(this._request).fetch(e,t,n,r)}integrationSlackProjectPost(e,t,n,r){return new ky(this._request).fetch(e,t,n,r)}createIntegrationTemplate(e){return new Ay(this._request).fetch(e)}deleteIntegrationTemplate(e){return new jy(this._request).fetch(e)}integrationZendesk(e,t,n,r){return new My(this._request).fetch(e,t,n,r)}createIntegrationsSettings(e){return new Ny(this._request).fetch(e)}updateIntegrationsSettings(e,t){return new Py(this._request).fetch(e,t)}issueAddLabel(e,t){return new Fy(this._request).fetch(e,t)}archiveIssue(e,t){return new Iy(this._request).fetch(e,t)}createIssueBatch(e){return new Ly(this._request).fetch(e)}updateIssueBatch(e,t){return new Ry(this._request).fetch(e,t)}createIssue(e){return new zy(this._request).fetch(e)}deleteIssue(e,t){return new By(this._request).fetch(e,t)}issueExternalSyncDisable(e){return new Vy(this._request).fetch(e)}issueImportCreateAsana(e,t,n){return new Hy(this._request).fetch(e,t,n)}issueImportCreateCSVJira(e,t){return new Uy(this._request).fetch(e,t)}issueImportCreateClubhouse(e,t,n){return new Wy(this._request).fetch(e,t,n)}issueImportCreateGithub(e){return new Gy(this._request).fetch(e)}issueImportCreateJira(e,t,n,r,i){return new Ky(this._request).fetch(e,t,n,r,i)}deleteIssueImport(e){return new qy(this._request).fetch(e)}issueImportProcess(e,t){return new Jy(this._request).fetch(e,t)}updateIssueImport(e,t){return new Yy(this._request).fetch(e,t)}createIssueLabel(e,t){return new Xy(this._request).fetch(e,t)}deleteIssueLabel(e){return new Zy(this._request).fetch(e)}issueLabelRestore(e){return new Qy(this._request).fetch(e)}issueLabelRetire(e){return new $y(this._request).fetch(e)}updateIssueLabel(e,t,n){return new eb(this._request).fetch(e,t,n)}createIssueRelation(e,t){return new tb(this._request).fetch(e,t)}deleteIssueRelation(e){return new nb(this._request).fetch(e)}updateIssueRelation(e,t){return new rb(this._request).fetch(e,t)}issueReminder(e,t){return new ib(this._request).fetch(e,t)}issueRemoveLabel(e,t){return new ab(this._request).fetch(e,t)}issueSubscribe(e,t){return new ob(this._request).fetch(e,t)}unarchiveIssue(e){return new sb(this._request).fetch(e)}issueUnsubscribe(e,t){return new cb(this._request).fetch(e,t)}updateIssue(e,t){return new lb(this._request).fetch(e,t)}joinOrganizationFromOnboarding(e){return new ub(this._request).fetch(e)}leaveOrganization(e){return new db(this._request).fetch(e)}logout(e){return new fb(this._request).fetch(e)}logoutAllSessions(e){return new pb(this._request).fetch(e)}logoutOtherSessions(e){return new mb(this._request).fetch(e)}logoutSession(e){return new hb(this._request).fetch(e)}archiveNotification(e){return new gb(this._request).fetch(e)}notificationArchiveAll(e){return new _b(this._request).fetch(e)}updateNotificationCategoryChannelSubscription(e,t,n){return new vb(this._request).fetch(e,t,n)}notificationMarkReadAll(e,t){return new yb(this._request).fetch(e,t)}notificationMarkUnreadAll(e){return new bb(this._request).fetch(e)}notificationSnoozeAll(e,t){return new xb(this._request).fetch(e,t)}createNotificationSubscription(e){return new Sb(this._request).fetch(e)}deleteNotificationSubscription(e){return new Cb(this._request).fetch(e)}updateNotificationSubscription(e,t){return new wb(this._request).fetch(e,t)}unarchiveNotification(e){return new Tb(this._request).fetch(e)}notificationUnsnoozeAll(e,t){return new Eb(this._request).fetch(e,t)}updateNotification(e,t){return new Db(this._request).fetch(e,t)}get deleteOrganizationCancel(){return new Ob(this._request).fetch()}deleteOrganization(e){return new kb(this._request).fetch(e)}get organizationDeleteChallenge(){return new Ab(this._request).fetch()}deleteOrganizationDomain(e){return new jb(this._request).fetch(e)}createOrganizationInvite(e){return new Mb(this._request).fetch(e)}deleteOrganizationInvite(e){return new Nb(this._request).fetch(e)}updateOrganizationInvite(e,t){return new Pb(this._request).fetch(e,t)}get organizationStartTrial(){return new Fb(this._request).fetch()}organizationStartTrialForPlan(e){return new Ib(this._request).fetch(e)}updateOrganization(e){return new Lb(this._request).fetch(e)}projectAddLabel(e,t){return new Rb(this._request).fetch(e,t)}archiveProject(e,t){return new zb(this._request).fetch(e,t)}createProject(e,t){return new Bb(this._request).fetch(e,t)}deleteProject(e){return new Vb(this._request).fetch(e)}projectExternalSyncDisable(e,t){return new Hb(this._request).fetch(e,t)}createProjectLabel(e){return new Ub(this._request).fetch(e)}deleteProjectLabel(e){return new Wb(this._request).fetch(e)}projectLabelRestore(e){return new Gb(this._request).fetch(e)}projectLabelRetire(e){return new Kb(this._request).fetch(e)}updateProjectLabel(e,t){return new qb(this._request).fetch(e,t)}createProjectMilestone(e){return new Jb(this._request).fetch(e)}deleteProjectMilestone(e){return new Yb(this._request).fetch(e)}updateProjectMilestone(e,t){return new Xb(this._request).fetch(e,t)}createProjectRelation(e){return new Zb(this._request).fetch(e)}deleteProjectRelation(e){return new Qb(this._request).fetch(e)}updateProjectRelation(e,t){return new $b(this._request).fetch(e,t)}projectRemoveLabel(e,t){return new ex(this._request).fetch(e,t)}archiveProjectStatus(e){return new tx(this._request).fetch(e)}createProjectStatus(e){return new nx(this._request).fetch(e)}unarchiveProjectStatus(e){return new rx(this._request).fetch(e)}updateProjectStatus(e,t){return new ix(this._request).fetch(e,t)}unarchiveProject(e){return new ax(this._request).fetch(e)}updateProject(e,t){return new ox(this._request).fetch(e,t)}archiveProjectUpdate(e){return new sx(this._request).fetch(e)}createProjectUpdate(e){return new cx(this._request).fetch(e)}deleteProjectUpdate(e){return new lx(this._request).fetch(e)}unarchiveProjectUpdate(e){return new ux(this._request).fetch(e)}updateProjectUpdate(e,t){return new dx(this._request).fetch(e,t)}createPushSubscription(e){return new fx(this._request).fetch(e)}deletePushSubscription(e){return new px(this._request).fetch(e)}createReaction(e){return new mx(this._request).fetch(e)}deleteReaction(e){return new hx(this._request).fetch(e)}refreshGoogleSheetsData(e,t){return new gx(this._request).fetch(e,t)}resendOrganizationInvite(e){return new _x(this._request).fetch(e)}resendOrganizationInviteByEmail(e){return new vx(this._request).fetch(e)}archiveRoadmap(e){return new yx(this._request).fetch(e)}createRoadmap(e){return new bx(this._request).fetch(e)}deleteRoadmap(e){return new xx(this._request).fetch(e)}createRoadmapToProject(e){return new Sx(this._request).fetch(e)}deleteRoadmapToProject(e){return new Cx(this._request).fetch(e)}updateRoadmapToProject(e,t){return new wx(this._request).fetch(e,t)}unarchiveRoadmap(e){return new Tx(this._request).fetch(e)}updateRoadmap(e,t){return new Ex(this._request).fetch(e,t)}samlTokenUserAccountAuth(e){return new Dx(this._request).fetch(e)}createTeam(e,t){return new Ox(this._request).fetch(e,t)}deleteTeamCycles(e){return new kx(this._request).fetch(e)}deleteTeam(e){return new Ax(this._request).fetch(e)}deleteTeamKey(e){return new jx(this._request).fetch(e)}createTeamMembership(e){return new Mx(this._request).fetch(e)}deleteTeamMembership(e,t){return new Nx(this._request).fetch(e,t)}updateTeamMembership(e,t){return new Px(this._request).fetch(e,t)}unarchiveTeam(e){return new Fx(this._request).fetch(e)}updateTeam(e,t,n){return new Ix(this._request).fetch(e,t,n)}createTemplate(e){return new Lx(this._request).fetch(e)}deleteTemplate(e){return new Rx(this._request).fetch(e)}updateTemplate(e,t){return new zx(this._request).fetch(e,t)}createTimeSchedule(e){return new Bx(this._request).fetch(e)}deleteTimeSchedule(e){return new Vx(this._request).fetch(e)}timeScheduleRefreshIntegrationSchedule(e){return new Hx(this._request).fetch(e)}updateTimeSchedule(e,t){return new Ux(this._request).fetch(e,t)}timeScheduleUpsertExternal(e,t){return new Wx(this._request).fetch(e,t)}trackAnonymousEvent(e){return new Gx(this._request).fetch(e)}createTriageResponsibility(e){return new Kx(this._request).fetch(e)}deleteTriageResponsibility(e){return new qx(this._request).fetch(e)}updateTriageResponsibility(e,t){return new Jx(this._request).fetch(e,t)}userChangeRole(e,t){return new Yx(this._request).fetch(e,t)}userDiscordConnect(e,t){return new Xx(this._request).fetch(e,t)}userExternalUserDisconnect(e){return new Zx(this._request).fetch(e)}updateUserFlag(e,t){return new Qx(this._request).fetch(e,t)}userRevokeAllSessions(e){return new $x(this._request).fetch(e)}userRevokeSession(e,t){return new eS(this._request).fetch(e,t)}userSettingsFlagsReset(e){return new tS(this._request).fetch(e)}updateUserSettings(e,t){return new nS(this._request).fetch(e,t)}suspendUser(e,t){return new rS(this._request).fetch(e,t)}userUnlinkFromIdentityProvider(e){return new iS(this._request).fetch(e)}unsuspendUser(e,t){return new aS(this._request).fetch(e,t)}updateUser(e,t){return new oS(this._request).fetch(e,t)}createViewPreferences(e){return new sS(this._request).fetch(e)}deleteViewPreferences(e){return new cS(this._request).fetch(e)}updateViewPreferences(e,t){return new lS(this._request).fetch(e,t)}createWebhook(e){return new uS(this._request).fetch(e)}deleteWebhook(e){return new dS(this._request).fetch(e)}rotateSecretWebhook(e){return new fS(this._request).fetch(e)}updateWebhook(e,t){return new pS(this._request).fetch(e,t)}archiveWorkflowState(e){return new mS(this._request).fetch(e)}createWorkflowState(e){return new hS(this._request).fetch(e)}updateWorkflowState(e,t){return new gS(this._request).fetch(e,t)}};function BC({apiKey:e,accessToken:t,apiUrl:n,headers:r,...i}){if(!t&&!e)throw Error(`No accessToken or apiKey provided to the LinearClient - create one here: https://linear.app/settings/account/security`);return{headers:{Authorization:t?t.startsWith(`Bearer `)?t:`Bearer ${t}`:e??``,...r,"User-Agent":oe({[process.env.npm_package_name??`@linear/sdk`]:process.env.npm_package_version??`unknown`})},apiUrl:n??`https://api.linear.app/graphql`,...i}}var VC=class extends zC{options;client;constructor(e){let t=BC(e),n=new Re(t.apiUrl,t);super((e,t)=>this.client.request(e,t).catch(e=>{throw Oe(e)})),this.options=t,this.client=n}},HC=class extends i{fromAst(e){return t(e).trim()}toAst(e){return n(e)}renderPostable(e){return typeof e==`string`?e:`raw`in e?e.raw:`markdown`in e?this.fromMarkdown(e.markdown):`ast`in e?this.fromAst(e.ast):super.renderPostable(e)}};function UC(e){let t=[];e.title&&t.push(`**${$(e.title)}**`),e.subtitle&&t.push($(e.subtitle)),(e.title||e.subtitle)&&e.children.length>0&&t.push(``),e.imageUrl&&(t.push(`![](${e.imageUrl})`),t.push(``));for(let n=0;n<e.children.length;n++){let r=e.children[n],i=WC(r);i.length>0&&(t.push(...i),n<e.children.length-1&&t.push(``))}return t.join(`
49833
- `)}function WC(e){switch(e.type){case`text`:return GC(e);case`fields`:return KC(e);case`actions`:return JC(e);case`section`:return e.children.flatMap(WC);case`image`:return e.alt?[`![${$(e.alt)}](${e.url})`]:[`![](${e.url})`];case`link`:return[`[${$(e.label)}](${e.url})`];case`divider`:return[`---`];case`table`:return qC(e);default:{let t=o(e);return t?[t]:[]}}}function GC(e){let t=e.content;switch(e.style){case`bold`:return[`**${t}**`];case`muted`:return[`_${t}_`];default:return[t]}}function KC(e){return e.children.map(e=>`**${$(e.label)}:** ${$(e.value)}`)}function qC(e){return l(e)}function JC(e){return[e.children.map(e=>e.type===`link-button`?`[${$(e.label)}](${e.url})`:`**[${$(e.label)}]**`).join(` • `)]}function $(e){return e.replace(/\\/g,`\\\\`).replace(/\*/g,`\\*`).replace(/_/g,`\\_`).replace(/\[/g,`\\[`).replace(/\]/g,`\\]`)}function YC(e,t){let n=p(e),r=n?UC(n):t.renderPostable(e);return s(r,`linear`)}function XC(e){if(!e.agentSessionId)throw new u(`linear`,`Expected a Linear agent session thread`)}var ZC=/^https:\/\/linear\.app\/\S+\/profiles\/([^/?#]+)/;function QC(e){let t=e.match(ZC);return t?t[1]:``}function $C(e){return typeof e==`number`?Date.now()+e*1e3:null}var ew=/^([^:]+):c:([^:]+):s:([^:]+)$/,tw=/^([^:]+):c:([^:]+)$/,nw=/^([^:]+):s:([^:]+)$/,rw=`linear:installation`,iw=3e5;function aw(e){let{content:t}=e;if(`body`in t)return t.body;let n=t.action.trim()||`Action`,r=t.parameter.trim(),i=t.result?.trim(),a=r?`${n}: ${r}`:n;return i?`${a}
49834
- ${i}`:a}function ow(e){if(e)return e.split(`,`).map(e=>e.trim()).filter(Boolean)}function sw(e){return typeof e==`function`?async()=>await e():()=>Promise.resolve(e)}var cw=class{name=`linear`;userName;get linearClient(){return this.getClient()}get client(){return this.linearClient}mode;shouldRecommendAgentSessions;webhookSecret;webhookVerifier;accessTokenProvider=null;chat=null;logger;defaultBotUserId=null;defaultOrganizationId=null;formatConverter=new HC;requestContext=new ne;defaultClient=null;oauthClientId=null;oauthClientSecret=null;clientCredentials=null;accessTokenExpiry=null;apiUrl;encryptionKey;constructor(e={}){let t=e.webhookVerifier,n=t?void 0:e.webhookSecret??process.env.LINEAR_WEBHOOK_SECRET;if(!(n||t))throw new u(`linear`,`webhookSecret or webhookVerifier is required. Set LINEAR_WEBHOOK_SECRET, provide webhookSecret in config, or provide a webhookVerifier.`);this.webhookSecret=n,this.webhookVerifier=t,this.logger=e.logger??new a(`info`).child(`linear`),this.mode=e.mode??`comments`,this.shouldRecommendAgentSessions=e.mode===void 0&&typeof e.accessToken==`function`&&!!t,this.userName=e.userName??process.env.LINEAR_BOT_USERNAME??`linear-bot`,this.apiUrl=e.apiUrl??process.env.LINEAR_API_URL;let r=e.encryptionKey??process.env.LINEAR_ENCRYPTION_KEY;if(r&&(this.encryptionKey=d(r)),`apiKey`in e&&e.apiKey){this.defaultClient=new VC({apiKey:e.apiKey,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}if(`accessToken`in e&&e.accessToken){if(typeof e.accessToken==`function`){this.accessTokenProvider=sw(e.accessToken);return}this.defaultClient=new VC({accessToken:e.accessToken,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}if(`clientCredentials`in e&&e.clientCredentials){let t=this.normalizeClientCredentials(e.clientCredentials,`config`);this.clientCredentials=t;return}if(`clientId`in e||`clientSecret`in e){let t=e;if(!(t.clientId&&t.clientSecret))throw new u(`linear`,`clientId and clientSecret are required together for multi-tenant OAuth.`);this.oauthClientId=t.clientId,this.oauthClientSecret=t.clientSecret;return}let i=process.env.LINEAR_API_KEY;if(i){this.defaultClient=new VC({apiKey:i,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}let o=process.env.LINEAR_ACCESS_TOKEN;if(o){this.defaultClient=new VC({accessToken:o,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}let s=process.env.LINEAR_CLIENT_CREDENTIALS_CLIENT_ID,c=process.env.LINEAR_CLIENT_CREDENTIALS_CLIENT_SECRET;if(s&&c){this.clientCredentials=this.normalizeClientCredentials({clientId:s,clientSecret:c,scopes:ow(process.env.LINEAR_CLIENT_CREDENTIALS_SCOPES)},`env`);return}let l=process.env.LINEAR_CLIENT_ID,f=process.env.LINEAR_CLIENT_SECRET;if(l&&f){this.oauthClientId=l,this.oauthClientSecret=f;return}throw new u(`linear`,`Authentication is required. Set LINEAR_API_KEY, LINEAR_ACCESS_TOKEN, LINEAR_CLIENT_CREDENTIALS_CLIENT_ID/LINEAR_CLIENT_CREDENTIALS_CLIENT_SECRET, or LINEAR_CLIENT_ID/LINEAR_CLIENT_SECRET, or provide auth in config.`)}async initialize(e){if(this.chat=e,this.shouldRecommendAgentSessions&&(this.shouldRecommendAgentSessions=!1,this.logger.info(`Agent sessions are recommended for Linear bots. Set mode: "agent-sessions" to enable them.`)),this.clientCredentials&&await this.refreshClientCredentialsToken(),this.defaultClient)try{let e=await this.fetchClientIdentity(this.defaultClient);this.defaultBotUserId=e.botUserId,this.defaultOrganizationId=e.organizationId,this.logger.info(`Linear auth completed`,{botUserId:this.defaultBotUserId,displayName:e.displayName,organizationId:this.defaultOrganizationId})}catch(e){this.logger.warn(`Could not fetch Linear bot user ID`,{error:e})}else if(this.accessTokenProvider)try{await this.resolveConnectIdentity(),this.logger.info(`Linear auth completed (Vercel Connect)`,{botUserId:this.defaultBotUserId,organizationId:this.defaultOrganizationId})}catch(e){this.logger.warn(`Could not fetch Linear bot user ID (Vercel Connect); will retry on first webhook`,{error:e})}else this.isMultiTenantMode()&&this.logger.info(`Linear adapter initialized in multi-tenant mode`)}isConnectMode(){return this.accessTokenProvider!==null}getConnectClient(e){return new VC({accessToken:e,...this.apiUrl?{apiUrl:this.apiUrl}:{}})}async resolveConnectIdentity(){let e=this.accessTokenProvider;if(!e)return;let t=await e(),n=await this.fetchClientIdentity(this.getConnectClient(t));this.defaultBotUserId=n.botUserId,this.defaultOrganizationId=n.organizationId}async withConnectClient(e,t){let n=this.accessTokenProvider;if(!n)return await t();if(this.defaultBotUserId===null)try{await this.resolveConnectIdentity()}catch(e){this.logger.warn(`Could not resolve Linear bot identity for Vercel Connect webhook`,{error:e})}if(!this.defaultBotUserId)throw new g(`linear`,`No Linear bot identity available in Vercel Connect mode. The viewer lookup failed — check the connector token and its scopes.`);let r=await n(),i=this.getConnectClient(r),a={accessToken:r,botUserId:this.defaultBotUserId,expiresAt:null,organizationId:e??this.defaultOrganizationId??``};return await this.requestContext.run({client:i,installation:a},async()=>await t())}normalizeClientCredentials(e,t){if(!(e.clientId&&e.clientSecret))throw new u(`linear`,`clientCredentials.clientId and clientCredentials.clientSecret are required in ${t}.`);return{clientId:e.clientId,clientSecret:e.clientSecret,scopes:e.scopes??[`read`,`write`,`comments:create`,`issues:create`,...this.mode===`agent-sessions`?[`app:mentionable`]:[]]}}getClient(){let e=this.requestContext.getStore();if(e?.client)return e.client;if(this.defaultClient)return this.defaultClient;throw new g(`linear`,`No Linear access token available. In multi-tenant or Vercel Connect mode, ensure the webhook is being processed, or wrap the call in withInstallation() for out-of-webhook operations (cron jobs, workflows).`)}get organizationId(){let e=this.requestContext.getStore()?.installation.organizationId??this.defaultOrganizationId;if(!e)throw new g(`linear`,`No Linear organization ID available. Ensure the adapter has been initialized or use withInstallation().`);return e}get botUserId(){let e=this.requestContext.getStore()?.installation.botUserId??this.defaultBotUserId;if(!e)throw new _(`No bot user ID available in context. Ensure the adapter has been initialized and authenticated properly.`,`linear`);return e}isMultiTenantMode(){return!!(this.oauthClientId&&this.oauthClientSecret)}installationKey(e){return`${rw}:${e}`}async setInstallation(e,t){if(!this.chat)throw new u(`linear`,`Adapter not initialized. Ensure chat.initialize() has been called first.`);let n=this.encryptInstallation(t);await this.chat.getState().set(this.installationKey(e),n),this.logger.info(`Linear installation saved`,{organizationId:e})}async getInstallation(e){if(!this.chat)throw new u(`linear`,`Adapter not initialized. Ensure chat.initialize() has been called first.`);let t=this.requestContext.getStore();if(t&&t.installation.organizationId===e)return t.installation;let n=await this.chat.getState().get(this.installationKey(e));return n?this.decryptInstallation(n):null}encryptInstallation(e){return this.encryptionKey?{...e,accessToken:f(e.accessToken,this.encryptionKey),...e.refreshToken?{refreshToken:f(e.refreshToken,this.encryptionKey)}:{}}:e}decryptInstallation(e){let t=this.maybeDecrypt(e.accessToken),n=e.refreshToken===void 0?void 0:this.maybeDecrypt(e.refreshToken);return{botUserId:e.botUserId,expiresAt:e.expiresAt,organizationId:e.organizationId,accessToken:t,...n===void 0?{}:{refreshToken:n}}}maybeDecrypt(e){return this.encryptionKey&&h(e)?m(e,this.encryptionKey):e}async deleteInstallation(e){if(!this.chat)throw new u(`linear`,`Adapter not initialized. Ensure chat.initialize() has been called first.`);await this.chat.getState().delete(this.installationKey(e)),this.logger.info(`Linear installation deleted`,{organizationId:e})}async getUser(e){try{await this.ensureValidToken();let t=await this.getClient().user(e);return{avatarUrl:t.avatarUrl??void 0,email:t.email??void 0,fullName:t.name,isBot:!1,userId:t.id,userName:t.displayName}}catch{return null}}async handleOAuthCallback(e,t){if(!(this.oauthClientId&&this.oauthClientSecret))throw new u(`linear`,`clientId and clientSecret are required for OAuth. Pass them in createLinearAdapter().`);if(!t.redirectUri)throw new u(`linear`,`redirectUri is required for handleOAuthCallback().`);let n=new URL(e.url),r=n.searchParams.get(`error`);if(r){let e=n.searchParams.get(`error_description`);throw new g(`linear`,`Linear OAuth failed: ${e?`${r} - ${e}`:r}`)}let i=n.searchParams.get(`code`);if(!i)throw new u(`linear`,`Missing 'code' query parameter in OAuth callback request.`);let a=await this.fetchOAuthToken(new URLSearchParams({code:i,redirect_uri:t.redirectUri,client_id:this.oauthClientId,client_secret:this.oauthClientSecret,grant_type:`authorization_code`}),`Failed to exchange Linear OAuth code`),o=new VC({accessToken:a.access_token,...this.apiUrl?{apiUrl:this.apiUrl}:{}}),s=await this.fetchClientIdentity(o),c={accessToken:a.access_token,botUserId:s.botUserId,expiresAt:$C(a.expires_in),organizationId:s.organizationId,refreshToken:a.refresh_token};return await this.setInstallation(s.organizationId,c),{organizationId:s.organizationId,installation:c}}async withInstallation(e,t){if(this.isConnectMode()){let n=typeof e==`string`?e:e.organizationId;return await this.withConnectClient(n,t)}if(!this.isMultiTenantMode())return await t();let n=typeof e==`string`?await this.requireInstallation(e):await this.refreshInstallation(e),r={installation:n,client:new VC({accessToken:n.accessToken,...this.apiUrl?{apiUrl:this.apiUrl}:{}})};return await this.requestContext.run(r,async()=>await t())}async fetchClientIdentity(e){let t=await e.client.rawRequest(`
49832
+ }`);var C=class{_request;constructor(e){this._request=e}async paginate(e,t){let n=e.bind(this),r=await n(t),i=r.nodes;for(;r.pageInfo.hasNextPage;)r=await n({first:50,...t,after:r.pageInfo.endCursor}),i.push(...r.nodes);return i}};function w(e){return{...e,first:e.first??(e.after?50:void 0),last:e.last??(e.before?50:void 0)}}var Hl=class extends C{pageInfo;nodes;constructor(e){super(e),this.pageInfo=new P(e,{hasNextPage:!1,hasPreviousPage:!1,__typename:`PageInfo`}),this.nodes=[]}},T=class extends Hl{_fetch;constructor(e,t,n,r){super(e),this._fetch=t,this.nodes=n,this.pageInfo=r}_appendNodes(e){this.nodes=e?[...this.nodes??[],...e]:this.nodes}_prependNodes(e){this.nodes=e?[...e,...this.nodes??[]]:this.nodes}_appendPageInfo(e){this.pageInfo&&(this.pageInfo.endCursor=e?.endCursor??this.pageInfo.startCursor,this.pageInfo.hasNextPage=e?.hasNextPage??this.pageInfo.hasNextPage)}_prependPageInfo(e){this.pageInfo&&(this.pageInfo.startCursor=e?.startCursor??this.pageInfo.startCursor,this.pageInfo.hasPreviousPage=e?.hasPreviousPage??this.pageInfo.hasPreviousPage)}async fetchNext(){if(this.pageInfo?.hasNextPage){let e=await this._fetch({after:this.pageInfo?.endCursor});this._appendNodes(e?.nodes),this._appendPageInfo(e?.pageInfo)}return Promise.resolve(this)}async fetchPrevious(){if(this.pageInfo?.hasPreviousPage){let e=await this._fetch({before:this.pageInfo?.startCursor});this._prependNodes(e?.nodes),this._prependPageInfo(e?.pageInfo)}return Promise.resolve(this)}};function E(e){try{return e?new Date(e):void 0}catch{return}}function D(e){try{return e?JSON.parse(e):void 0}catch{return}}var O=class extends C{constructor(e,t){super(e),this.avatarUrl=t.avatarUrl??void 0,this.id=t.id??void 0,this.name=t.name??void 0,this.subType=t.subType??void 0,this.type=t.type,this.userDisplayName=t.userDisplayName??void 0}avatarUrl;id;name;subType;type;userDisplayName},Ul=class extends C{_agentSession;_sourceComment;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.ephemeral=t.ephemeral,this.id=t.id,this.signalMetadata=D(t.signalMetadata)??void 0,this.sourceMetadata=D(t.sourceMetadata)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.signal=t.signal??void 0,this.content=t.content,this._agentSession=t.agentSession,this._sourceComment=t.sourceComment??void 0,this._user=t.user}archivedAt;createdAt;ephemeral;id;signalMetadata;sourceMetadata;updatedAt;signal;content;get agentSession(){return new lh(this._request).fetch(this._agentSession.id)}get agentSessionId(){return this._agentSession?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}create(e){return new n_(this._request).fetch(e)}},Wl=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Ul(e,t)),new P(e,n.pageInfo))}},Gl=class extends C{_agentActivity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._agentActivity=t.agentActivity}lastSyncId;success;get agentActivity(){return new ch(this._request).fetch(this._agentActivity.id)}get agentActivityId(){return this._agentActivity?.id}},Kl=class extends C{_appUser;_comment;_creator;_dismissedBy;_issue;_sourceComment;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.context=D(t.context)??{},this.createdAt=E(t.createdAt)??new Date,this.dismissedAt=E(t.dismissedAt)??void 0,this.endedAt=E(t.endedAt)??void 0,this.externalLink=t.externalLink??void 0,this.externalUrls=D(t.externalUrls)??{},this.id=t.id,this.plan=D(t.plan)??void 0,this.sourceMetadata=D(t.sourceMetadata)??void 0,this.startedAt=E(t.startedAt)??void 0,this.summary=t.summary??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this.externalLinks=t.externalLinks.map(t=>new Jl(e,t)),this.status=t.status,this.type=t.type??void 0,this._appUser=t.appUser,this._comment=t.comment??void 0,this._creator=t.creator??void 0,this._dismissedBy=t.dismissedBy??void 0,this._issue=t.issue??void 0,this._sourceComment=t.sourceComment??void 0}archivedAt;context;createdAt;dismissedAt;endedAt;externalLink;externalUrls;id;plan;sourceMetadata;startedAt;summary;updatedAt;url;externalLinks;status;type;get appUser(){return new Q(this._request).fetch(this._appUser.id)}get appUserId(){return this._appUser?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get commentId(){return this._comment?.id}get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get dismissedBy(){return this._dismissedBy?.id?new Q(this._request).fetch(this._dismissedBy?.id):void 0}get dismissedById(){return this._dismissedBy?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}activities(e){return new gS(this._request,this.id,e).fetch(e)}update(e){return new a_(this._request).fetch(this.id,e)}},ql=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Kl(e,t)),new P(e,n.pageInfo))}},Jl=class extends C{constructor(e,t){super(e),this.label=t.label,this.url=t.url}label;url},Yl=class extends C{_agentSession;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._agentSession=t.agentSession}lastSyncId;success;get agentSession(){return new lh(this._request).fetch(this._agentSession.id)}get agentSessionId(){return this._agentSession?.id}},Xl=class extends C{_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._updatedBy=t.updatedBy??void 0}archivedAt;createdAt;id;updatedAt;get updatedBy(){return this._updatedBy?.id?new Q(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}},Zl=class extends C{constructor(e,t){super(e),this.clientId=t.clientId,this.description=t.description??void 0,this.developer=t.developer,this.developerUrl=t.developerUrl,this.id=t.id,this.imageUrl=t.imageUrl??void 0,this.name=t.name}clientId;description;developer;developerUrl;id;imageUrl;name},Ql=class extends C{constructor(e,t){super(e),this.archive=t.archive,this.databaseVersion=t.databaseVersion,this.includesDependencies=t.includesDependencies,this.totalCount=t.totalCount}archive;databaseVersion;includesDependencies;totalCount},$l=class extends C{_integration;constructor(e,t){super(e),this.addBot=t.addBot,this.lastSyncId=t.lastSyncId,this.success=t.success,this.mapping=new cm(e,t.mapping),this._integration=t.integration??void 0}addBot;lastSyncId;success;mapping;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},eu=class extends C{_creator;_externalUserCreator;_issue;_originalIssue;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.bodyData=t.bodyData??void 0,this.createdAt=E(t.createdAt)??new Date,this.groupBySource=t.groupBySource,this.id=t.id,this.metadata=t.metadata,this.source=t.source??void 0,this.sourceType=t.sourceType??void 0,this.subtitle=t.subtitle??void 0,this.title=t.title,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0,this._externalUserCreator=t.externalUserCreator??void 0,this._issue=t.issue,this._originalIssue=t.originalIssue??void 0}archivedAt;bodyData;createdAt;groupBySource;id;metadata;source;sourceType;subtitle;title;updatedAt;url;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get externalUserCreator(){return this._externalUserCreator?.id?new B(this._request).fetch(this._externalUserCreator?.id):void 0}get externalUserCreatorId(){return this._externalUserCreator?.id}get issue(){return new W(this._request).fetch(this._issue.id)}get issueId(){return this._issue?.id}get originalIssue(){return this._originalIssue?.id?new W(this._request).fetch(this._originalIssue?.id):void 0}get originalIssueId(){return this._originalIssue?.id}create(e){return new c_(this._request).fetch(e)}delete(){return new l_(this._request).fetch(this.id)}update(e){return new S_(this._request).fetch(this.id,e)}},tu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new eu(e,t)),new P(e,n.pageInfo))}},k=class extends C{_attachment;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._attachment=t.attachment}lastSyncId;success;get attachment(){return new fh(this._request).fetch(this._attachment.id)}get attachmentId(){return this._attachment?.id}},nu=class extends C{_actor;constructor(e,t){super(e),this.actorId=t.actorId??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.countryCode=t.countryCode??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.ip=t.ip??void 0,this.metadata=t.metadata??void 0,this.requestInformation=t.requestInformation??void 0,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._actor=t.actor??void 0}actorId;archivedAt;countryCode;createdAt;id;ip;metadata;requestInformation;type;updatedAt;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get organization(){return new K(this._request).fetch()}},ru=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new nu(e,t)),new P(e,n.pageInfo))}},iu=class extends C{constructor(e,t){super(e),this.description=t.description,this.type=t.type}description;type},au=class extends C{constructor(e,t){super(e),this.allowedAuthServices=t.allowedAuthServices,this.createdAt=E(t.createdAt)??new Date,this.deletionRequestedAt=E(t.deletionRequestedAt)??void 0,this.enabled=t.enabled,this.hideNonPrimaryOrganizations=t.hideNonPrimaryOrganizations,this.id=t.id,this.logoUrl=t.logoUrl??void 0,this.name=t.name,this.previousUrlKeys=t.previousUrlKeys,this.region=t.region,this.samlEnabled=t.samlEnabled,this.scimEnabled=t.scimEnabled,this.serviceId=t.serviceId,this.urlKey=t.urlKey,this.userCount=t.userCount??void 0,this.releaseChannel=t.releaseChannel}allowedAuthServices;createdAt;deletionRequestedAt;enabled;hideNonPrimaryOrganizations;id;logoUrl;name;previousUrlKeys;region;samlEnabled;scimEnabled;serviceId;urlKey;userCount;releaseChannel},ou=class extends C{constructor(e,t){super(e),this.allowDomainAccess=t.allowDomainAccess??void 0,this.email=t.email,this.id=t.id,this.lastUsedOrganizationId=t.lastUsedOrganizationId??void 0,this.service=t.service??void 0,this.token=t.token??void 0,this.availableOrganizations=t.availableOrganizations?t.availableOrganizations.map(t=>new au(e,t)):void 0,this.lockedOrganizations=t.lockedOrganizations?t.lockedOrganizations.map(t=>new au(e,t)):void 0,this.lockedUsers=t.lockedUsers.map(t=>new su(e,t)),this.users=t.users.map(t=>new su(e,t))}allowDomainAccess;email;id;lastUsedOrganizationId;service;token;availableOrganizations;lockedOrganizations;lockedUsers;users},su=class extends C{constructor(e,t){super(e),this.active=t.active,this.avatarUrl=t.avatarUrl??void 0,this.createdAt=E(t.createdAt)??new Date,this.displayName=t.displayName,this.email=t.email,this.id=t.id,this.name=t.name,this.userAccountId=t.userAccountId,this.organization=new au(e,t.organization),this.role=t.role}active;avatarUrl;createdAt;displayName;email;id;name;userAccountId;organization;role},cu=class extends C{constructor(e,t){super(e),this.browserType=t.browserType??void 0,this.client=t.client??void 0,this.countryCodes=t.countryCodes,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.ip=t.ip??void 0,this.isCurrentSession=t.isCurrentSession,this.lastActiveAt=E(t.lastActiveAt)??void 0,this.location=t.location??void 0,this.locationCity=t.locationCity??void 0,this.locationCountry=t.locationCountry??void 0,this.locationCountryCode=t.locationCountryCode??void 0,this.locationRegionCode=t.locationRegionCode??void 0,this.name=t.name,this.operatingSystem=t.operatingSystem??void 0,this.service=t.service??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.userAgent=t.userAgent??void 0,this.type=t.type}browserType;client;countryCodes;createdAt;id;ip;isCurrentSession;lastActiveAt;location;locationCity;locationCountry;locationCountryCode;locationRegionCode;name;operatingSystem;service;updatedAt;userAgent;type},lu=class extends C{_agentSession;_externalUser;_initiativeUpdate;_issue;_parent;_projectUpdate;_resolvingComment;_resolvingUser;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body,this.createdAt=E(t.createdAt)??new Date,this.documentContentId=t.documentContentId??void 0,this.editedAt=E(t.editedAt)??void 0,this.id=t.id,this.initiativeUpdateId=t.initiativeUpdateId??void 0,this.issueId=t.issueId??void 0,this.parentId=t.parentId??void 0,this.projectUpdateId=t.projectUpdateId??void 0,this.quotedText=t.quotedText??void 0,this.reactionData=t.reactionData,this.resolvedAt=E(t.resolvedAt)??void 0,this.resolvingCommentId=t.resolvingCommentId??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.documentContent=t.documentContent?new Gu(e,t.documentContent):void 0,this.externalThread=t.externalThread?new dm(e,t.externalThread):void 0,this.reactions=t.reactions.map(t=>new Gp(e,t)),this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new dd(e,t)):void 0,this._agentSession=t.agentSession??void 0,this._externalUser=t.externalUser??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._issue=t.issue??void 0,this._parent=t.parent??void 0,this._projectUpdate=t.projectUpdate??void 0,this._resolvingComment=t.resolvingComment??void 0,this._resolvingUser=t.resolvingUser??void 0,this._user=t.user??void 0}archivedAt;body;createdAt;documentContentId;editedAt;id;initiativeUpdateId;issueId;parentId;projectUpdateId;quotedText;reactionData;resolvedAt;resolvingCommentId;updatedAt;url;reactions;syncedWith;botActor;documentContent;externalThread;get agentSession(){return this._agentSession?.id?new lh(this._request).fetch(this._agentSession?.id):void 0}get agentSessionId(){return this._agentSession?.id}get externalUser(){return this._externalUser?.id?new B(this._request).fetch(this._externalUser?.id):void 0}get externalUserId(){return this._externalUser?.id}get initiativeUpdate(){return this._initiativeUpdate?.id?new H(this._request).fetch(this._initiativeUpdate?.id):void 0}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get parent(){return this._parent?.id?new F(this._request).fetch({id:this._parent?.id}):void 0}get projectUpdate(){return this._projectUpdate?.id?new Y(this._request).fetch(this._projectUpdate?.id):void 0}get resolvingComment(){return this._resolvingComment?.id?new F(this._request).fetch({id:this._resolvingComment?.id}):void 0}get resolvingUser(){return this._resolvingUser?.id?new Q(this._request).fetch(this._resolvingUser?.id):void 0}get resolvingUserId(){return this._resolvingUser?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}children(e){return new _S(this._request,e).fetch(e)}createdIssues(e){return new vS(this._request,e).fetch(e)}create(e){return new C_(this._request).fetch(e)}delete(){return new w_(this._request).fetch(this.id)}update(e,t){return new D_(this._request).fetch(this.id,e,t)}},uu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new lu(e,t)),new P(e,n.pageInfo))}},du=class extends C{_comment;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._comment=t.comment}lastSyncId;success;get comment(){return new F(this._request).fetch({id:this._comment.id})}get commentId(){return this._comment?.id}},fu=class extends C{constructor(e,t){super(e),this.success=t.success}success},pu=class extends C{constructor(e,t){super(e),this.success=t.success}success},mu=class extends C{constructor(e,t){super(e),this.organization=new au(e,t.organization),this.user=new su(e,t.user)}organization;user},hu=class extends C{_creator;_owner;_team;_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.feedItemFilterData=t.feedItemFilterData??void 0,this.filterData=t.filterData,this.filters=t.filters,this.icon=t.icon??void 0,this.id=t.id,this.initiativeFilterData=t.initiativeFilterData??void 0,this.modelName=t.modelName,this.name=t.name,this.projectFilterData=t.projectFilterData??void 0,this.shared=t.shared,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.organizationViewPreferences=t.organizationViewPreferences?new Km(e,t.organizationViewPreferences):void 0,this.userViewPreferences=t.userViewPreferences?new Km(e,t.userViewPreferences):void 0,this.viewPreferencesValues=t.viewPreferencesValues?new Ym(e,t.viewPreferencesValues):void 0,this._creator=t.creator,this._owner=t.owner,this._team=t.team??void 0,this._updatedBy=t.updatedBy??void 0}archivedAt;color;createdAt;description;feedItemFilterData;filterData;filters;icon;id;initiativeFilterData;modelName;name;projectFilterData;shared;slugId;updatedAt;organizationViewPreferences;userViewPreferences;viewPreferencesValues;get creator(){return new Q(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}get owner(){return new Q(this._request).fetch(this._owner.id)}get ownerId(){return this._owner?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get updatedBy(){return this._updatedBy?.id?new Q(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}initiatives(e){return new yS(this._request,this.id,e).fetch(e)}issues(e){return new bS(this._request,this.id,e).fetch(e)}projects(e){return new xS(this._request,this.id,e).fetch(e)}create(e){return new N_(this._request).fetch(e)}delete(){return new P_(this._request).fetch(this.id)}update(e){return new F_(this._request).fetch(this.id,e)}},gu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new hu(e,t)),new P(e,n.pageInfo))}},_u=class extends C{constructor(e,t){super(e),this.hasSubscribers=t.hasSubscribers}hasSubscribers},vu=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return new I(this._request).fetch(this._customView.id)}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},yu=class extends C{_customView;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._customView=t.customView}lastSyncId;success;get customView(){return new I(this._request).fetch(this._customView.id)}get customViewId(){return this._customView?.id}},bu=class extends C{_integration;_owner;_status;_tier;constructor(e,t){super(e),this.approximateNeedCount=t.approximateNeedCount,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.domains=t.domains,this.externalIds=t.externalIds,this.id=t.id,this.logoUrl=t.logoUrl??void 0,this.mainSourceId=t.mainSourceId??void 0,this.name=t.name,this.revenue=t.revenue??void 0,this.size=t.size??void 0,this.slackChannelId=t.slackChannelId??void 0,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.needs=t.needs.map(t=>new Su(e,t)),this._integration=t.integration??void 0,this._owner=t.owner??void 0,this._status=t.status,this._tier=t.tier??void 0}approximateNeedCount;archivedAt;createdAt;domains;externalIds;id;logoUrl;mainSourceId;name;revenue;size;slackChannelId;slugId;updatedAt;url;needs;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}get owner(){return this._owner?.id?new Q(this._request).fetch(this._owner?.id):void 0}get ownerId(){return this._owner?.id}get status(){return new Th(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}get tier(){return this._tier?.id?new Dh(this._request).fetch(this._tier?.id):void 0}get tierId(){return this._tier?.id}create(e){return new I_(this._request).fetch(e)}delete(){return new L_(this._request).fetch(this.id)}update(e){return new Q_(this._request).fetch(this.id,e)}},xu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new bu(e,t)),new P(e,n.pageInfo))}},Su=class extends C{_attachment;_comment;_creator;_customer;_issue;_originalIssue;_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.priority=t.priority,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this.projectAttachment=t.projectAttachment?new up(e,t.projectAttachment):void 0,this._attachment=t.attachment??void 0,this._comment=t.comment??void 0,this._creator=t.creator??void 0,this._customer=t.customer??void 0,this._issue=t.issue??void 0,this._originalIssue=t.originalIssue??void 0,this._project=t.project??void 0}archivedAt;body;createdAt;id;priority;updatedAt;url;projectAttachment;get attachment(){return this._attachment?.id?new fh(this._request).fetch(this._attachment?.id):void 0}get attachmentId(){return this._attachment?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get commentId(){return this._comment?.id}get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get originalIssue(){return this._originalIssue?.id?new W(this._request).fetch(this._originalIssue?.id):void 0}get originalIssueId(){return this._originalIssue?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}archive(){return new z_(this._request).fetch(this.id)}create(e){return new B_(this._request).fetch(e)}delete(e){return new H_(this._request).fetch(this.id,e)}unarchive(){return new U_(this._request).fetch(this.id)}update(e){return new W_(this._request).fetch(this.id,e)}},Cu=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new Ch(this._request).fetch({id:this._entity?.id}):void 0}get entityId(){return this._entity?.id}},wu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Su(e,t)),new P(e,n.pageInfo))}},Tu=class extends C{_actor;_customerNeed;_externalUserActor;_relatedIssue;_relatedProject;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerNeedId=t.customerNeedId,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._customerNeed=t.customerNeed,this._externalUserActor=t.externalUserActor??void 0,this._relatedIssue=t.relatedIssue??void 0,this._relatedProject=t.relatedProject??void 0,this._user=t.user}archivedAt;createdAt;customerNeedId;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get customerNeed(){return new Ch(this._request).fetch({id:this._customerNeed.id})}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get relatedIssue(){return this._relatedIssue?.id?new W(this._request).fetch(this._relatedIssue?.id):void 0}get relatedIssueId(){return this._relatedIssue?.id}get relatedProject(){return this._relatedProject?.id?new q(this._request).fetch(this._relatedProject?.id):void 0}get relatedProjectId(){return this._relatedProject?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Eu=class extends C{_need;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._need=t.need}lastSyncId;success;get need(){return new Ch(this._request).fetch({id:this._need.id})}get needId(){return this._need?.id}},Du=class extends C{_need;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.updatedRelatedNeeds=t.updatedRelatedNeeds.map(t=>new Su(e,t)),this._need=t.need}lastSyncId;success;updatedRelatedNeeds;get need(){return new Ch(this._request).fetch({id:this._need.id})}get needId(){return this._need?.id}},Ou=class extends C{_actor;_customer;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerId=t.customerId,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._customer=t.customer,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;customerId;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get customer(){return new L(this._request).fetch(this._customer.id)}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},ku=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return new L(this._request).fetch(this._customer.id)}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},Au=class extends C{_customer;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._customer=t.customer}lastSyncId;success;get customer(){return new L(this._request).fetch(this._customer.id)}get customerId(){return this._customer?.id}},ju=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.displayName=t.displayName,this.id=t.id,this.name=t.name,this.position=t.position,this.updatedAt=E(t.updatedAt)??new Date,this.type=t.type??void 0}archivedAt;color;createdAt;description;displayName;id;name;position;updatedAt;type;create(e){return new G_(this._request).fetch(e)}delete(){return new K_(this._request).fetch(this.id)}update(e){return new q_(this._request).fetch(this.id,e)}},Mu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new ju(e,t)),new P(e,n.pageInfo))}},Nu=class extends C{_status;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._status=t.status}lastSyncId;success;get status(){return new Th(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}},Pu=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.displayName=t.displayName,this.id=t.id,this.name=t.name,this.position=t.position,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;color;createdAt;description;displayName;id;name;position;updatedAt;create(e){return new J_(this._request).fetch(e)}delete(){return new Y_(this._request).fetch(this.id)}update(e){return new X_(this._request).fetch(this.id,e)}},Fu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Pu(e,t)),new P(e,n.pageInfo))}},Iu=class extends C{_tier;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._tier=t.tier}lastSyncId;success;get tier(){return new Dh(this._request).fetch(this._tier.id)}get tierId(){return this._tier?.id}},Lu=class extends C{_inheritedFrom;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.completedAt=E(t.completedAt)??void 0,this.completedIssueCountHistory=t.completedIssueCountHistory,this.completedScopeHistory=t.completedScopeHistory,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.endsAt=E(t.endsAt)??new Date,this.id=t.id,this.inProgressScopeHistory=t.inProgressScopeHistory,this.isActive=t.isActive,this.isFuture=t.isFuture,this.isNext=t.isNext,this.isPast=t.isPast,this.isPrevious=t.isPrevious,this.issueCountHistory=t.issueCountHistory,this.name=t.name??void 0,this.number=t.number,this.progress=t.progress,this.scopeHistory=t.scopeHistory,this.startsAt=E(t.startsAt)??new Date,this.updatedAt=E(t.updatedAt)??new Date,this._inheritedFrom=t.inheritedFrom??void 0,this._team=t.team}archivedAt;autoArchivedAt;completedAt;completedIssueCountHistory;completedScopeHistory;createdAt;description;endsAt;id;inProgressScopeHistory;isActive;isFuture;isNext;isPast;isPrevious;issueCountHistory;name;number;progress;scopeHistory;startsAt;updatedAt;get inheritedFrom(){return this._inheritedFrom?.id?new R(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}issues(e){return new SS(this._request,this.id,e).fetch(e)}uncompletedIssuesUponClose(e){return new CS(this._request,this.id,e).fetch(e)}archive(){return new ev(this._request).fetch(this.id)}create(e){return new tv(this._request).fetch(e)}update(e){return new iv(this._request).fetch(this.id,e)}},Ru=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new R(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},zu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Lu(e,t)),new P(e,n.pageInfo))}},Bu=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return new R(this._request).fetch(this._cycle.id)}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},Vu=class extends C{_cycle;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._cycle=t.cycle??void 0}lastSyncId;success;get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}},A=class extends C{constructor(e,t){super(e),this.entityId=t.entityId,this.lastSyncId=t.lastSyncId,this.success=t.success}entityId;lastSyncId;success},Hu=class extends C{_creator;_initiative;_issue;_lastAppliedTemplate;_project;_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.documentContentId=t.documentContentId??void 0,this.hiddenAt=E(t.hiddenAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.title=t.title,this.trashed=t.trashed??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._project=t.project??void 0,this._updatedBy=t.updatedBy??void 0}archivedAt;color;content;createdAt;documentContentId;hiddenAt;icon;id;slugId;sortOrder;title;trashed;updatedAt;url;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new Z(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get updatedBy(){return this._updatedBy?.id?new Q(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}comments(e){return new wS(this._request,this.id,e).fetch(e)}create(e){return new av(this._request).fetch(e)}delete(){return new ov(this._request).fetch(this.id)}unarchive(){return new sv(this._request).fetch(this.id)}update(e){return new cv(this._request).fetch(this.id,e)}},Uu=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new z(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Wu=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Hu(e,t)),new P(e,n.pageInfo))}},Gu=class extends C{_document;_initiative;_issue;_project;_projectMilestone;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.content=t.content??void 0,this.contentState=t.contentState??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.restoredAt=E(t.restoredAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.aiPromptRules=t.aiPromptRules?new Xl(e,t.aiPromptRules):void 0,this.welcomeMessage=t.welcomeMessage?new eh(e,t.welcomeMessage):void 0,this._document=t.document??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._project=t.project??void 0,this._projectMilestone=t.projectMilestone??void 0}archivedAt;content;contentState;createdAt;id;restoredAt;updatedAt;aiPromptRules;welcomeMessage;get document(){return this._document?.id?new z(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new J(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}},Ku=class extends C{constructor(e,t){super(e),this.success=t.success,this.history=t.history.map(t=>new qu(e,t))}success;history},qu=class extends C{constructor(e,t){super(e),this.actorIds=t.actorIds??void 0,this.contentDataSnapshotAt=E(t.contentDataSnapshotAt)??new Date,this.createdAt=E(t.createdAt)??new Date,this.id=t.id}actorIds;contentDataSnapshotAt;createdAt;id},Ju=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.documentId=t.documentId,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.parentCommentId=t.parentCommentId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;commentId;createdAt;documentId;emailedAt;id;parentCommentId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Yu=class extends C{_document;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._document=t.document}lastSyncId;success;get document(){return new z(this._request).fetch(this._document.id)}get documentId(){return this._document?.id}},Xu=class extends C{constructor(e,t){super(e),this.totalCount=t.totalCount,this.archivePayload=new Ql(e,t.archivePayload),this.pageInfo=new P(e,t.pageInfo),this.nodes=t.nodes.map(t=>new Zu(e,t))}totalCount;nodes;archivePayload;pageInfo},Zu=class extends C{_creator;_initiative;_issue;_lastAppliedTemplate;_project;_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.documentContentId=t.documentContentId??void 0,this.hiddenAt=E(t.hiddenAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.metadata=t.metadata,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.title=t.title,this.trashed=t.trashed??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._project=t.project??void 0,this._updatedBy=t.updatedBy??void 0}archivedAt;color;content;createdAt;documentContentId;hiddenAt;icon;id;metadata;slugId;sortOrder;title;trashed;updatedAt;url;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new Z(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get updatedBy(){return this._updatedBy?.id?new Q(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}},Qu=class extends C{_customerNeed;_initiative;_initiativeUpdate;_issue;_parentComment;_project;_projectUpdate;_team;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.bodyData=D(t.bodyData)??{},this.createdAt=E(t.createdAt)??new Date,this.data=t.data??void 0,this.id=t.id,this.isAutogenerated=t.isAutogenerated,this.updatedAt=E(t.updatedAt)??new Date,this._customerNeed=t.customerNeed??void 0,this._initiative=t.initiative??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._issue=t.issue??void 0,this._parentComment=t.parentComment??void 0,this._project=t.project??void 0,this._projectUpdate=t.projectUpdate??void 0,this._team=t.team??void 0,this._user=t.user}archivedAt;bodyData;createdAt;data;id;isAutogenerated;updatedAt;get customerNeed(){return this._customerNeed?.id?new Ch(this._request).fetch({id:this._customerNeed?.id}):void 0}get customerNeedId(){return this._customerNeed?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get initiativeUpdate(){return this._initiativeUpdate?.id?new H(this._request).fetch(this._initiativeUpdate?.id):void 0}get initiativeUpdateId(){return this._initiativeUpdate?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get parentCommentId(){return this._parentComment?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectUpdate(){return this._projectUpdate?.id?new Y(this._request).fetch(this._projectUpdate?.id):void 0}get projectUpdateId(){return this._projectUpdate?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},$u=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Qu(e,t)),new P(e,n.pageInfo))}},ed=class extends C{_creator;_team;_template;constructor(e,t){super(e),this.address=t.address,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerRequestsEnabled=t.customerRequestsEnabled,this.enabled=t.enabled,this.forwardingEmailAddress=t.forwardingEmailAddress??void 0,this.id=t.id,this.issueCanceledAutoReply=t.issueCanceledAutoReply??void 0,this.issueCanceledAutoReplyEnabled=t.issueCanceledAutoReplyEnabled,this.issueCompletedAutoReply=t.issueCompletedAutoReply??void 0,this.issueCompletedAutoReplyEnabled=t.issueCompletedAutoReplyEnabled,this.issueCreatedAutoReply=t.issueCreatedAutoReply??void 0,this.issueCreatedAutoReplyEnabled=t.issueCreatedAutoReplyEnabled,this.repliesEnabled=t.repliesEnabled,this.senderName=t.senderName??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.useUserNamesInReplies=t.useUserNamesInReplies,this.sesDomainIdentity=t.sesDomainIdentity?new im(e,t.sesDomainIdentity):void 0,this.type=t.type,this._creator=t.creator??void 0,this._team=t.team??void 0,this._template=t.template??void 0}address;archivedAt;createdAt;customerRequestsEnabled;enabled;forwardingEmailAddress;id;issueCanceledAutoReply;issueCanceledAutoReplyEnabled;issueCompletedAutoReply;issueCompletedAutoReplyEnabled;issueCreatedAutoReply;issueCreatedAutoReplyEnabled;repliesEnabled;senderName;updatedAt;useUserNamesInReplies;sesDomainIdentity;type;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get template(){return this._template?.id?new Z(this._request).fetch(this._template?.id):void 0}get templateId(){return this._template?.id}create(e){return new lv(this._request).fetch(e)}delete(){return new uv(this._request).fetch(this.id)}update(e){return new fv(this._request).fetch(this.id,e)}},td=class extends C{_emailIntakeAddress;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._emailIntakeAddress=t.emailIntakeAddress}lastSyncId;success;get emailIntakeAddress(){return new Nh(this._request).fetch(this._emailIntakeAddress.id)}get emailIntakeAddressId(){return this._emailIntakeAddress?.id}},nd=class extends C{constructor(e,t){super(e),this.success=t.success}success},rd=class extends C{constructor(e,t){super(e),this.authType=t.authType,this.success=t.success}authType;success},id=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.name=t.name,this.source=t.source,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0}archivedAt;createdAt;id;name;source;updatedAt;url;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}create(e){return new gv(this._request).fetch(e)}delete(){return new _v(this._request).fetch(this.id)}},ad=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new id(e,t)),new P(e,n.pageInfo))}},od=class extends C{_emoji;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._emoji=t.emoji}lastSyncId;success;get emoji(){return new Ph(this._request).fetch(this._emoji.id)}get emojiId(){return this._emoji?.id}},sd=class extends C{_creator;_initiative;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.label=t.label,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator,this._initiative=t.initiative??void 0}archivedAt;createdAt;id;label;sortOrder;updatedAt;url;get creator(){return new Q(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}create(e){return new vv(this._request).fetch(e)}delete(){return new yv(this._request).fetch(this.id)}update(e){return new bv(this._request).fetch(this.id,e)}},cd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new sd(e,t)),new P(e,n.pageInfo))}},ld=class extends C{_entityExternalLink;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entityExternalLink=t.entityExternalLink}lastSyncId;success;get entityExternalLink(){return new Ih(this._request).fetch(this._entityExternalLink.id)}get entityExternalLinkId(){return this._entityExternalLink?.id}},ud=class extends C{constructor(e,t){super(e),this.success=t.success}success},dd=class extends C{constructor(e,t){super(e),this.id=t.id,this.service=t.service,this.metadata=t.metadata??void 0}id;service;metadata},fd=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.avatarUrl=t.avatarUrl??void 0,this.createdAt=E(t.createdAt)??new Date,this.displayName=t.displayName,this.email=t.email??void 0,this.id=t.id,this.lastSeen=E(t.lastSeen)??void 0,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;avatarUrl;createdAt;displayName;email;id;lastSeen;name;updatedAt;get organization(){return new K(this._request).fetch()}},pd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new fd(e,t)),new P(e,n.pageInfo))}},md=class extends C{_customView;_customer;_cycle;_document;_initiative;_issue;_label;_owner;_parent;_predefinedViewTeam;_project;_projectLabel;_projectTeam;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.folderName=t.folderName??void 0,this.id=t.id,this.predefinedViewType=t.predefinedViewType??void 0,this.sortOrder=t.sortOrder,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this.initiativeTab=t.initiativeTab??void 0,this.projectTab=t.projectTab??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._document=t.document??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._label=t.label??void 0,this._owner=t.owner,this._parent=t.parent??void 0,this._predefinedViewTeam=t.predefinedViewTeam??void 0,this._project=t.project??void 0,this._projectLabel=t.projectLabel??void 0,this._projectTeam=t.projectTeam??void 0,this._user=t.user??void 0}archivedAt;createdAt;folderName;id;predefinedViewType;sortOrder;type;updatedAt;url;initiativeTab;projectTab;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get document(){return this._document?.id?new z(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get owner(){return new Q(this._request).fetch(this._owner.id)}get ownerId(){return this._owner?.id}get parent(){return this._parent?.id?new Rh(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get predefinedViewTeam(){return this._predefinedViewTeam?.id?new X(this._request).fetch(this._predefinedViewTeam?.id):void 0}get predefinedViewTeamId(){return this._predefinedViewTeam?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectLabel(){return this._projectLabel?.id?new yg(this._request).fetch(this._projectLabel?.id):void 0}get projectLabelId(){return this._projectLabel?.id}get projectTeam(){return this._projectTeam?.id?new X(this._request).fetch(this._projectTeam?.id):void 0}get projectTeamId(){return this._projectTeam?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}children(e){return new TS(this._request,this.id,e).fetch(e)}create(e){return new xv(this._request).fetch(e)}delete(){return new Sv(this._request).fetch(this.id)}update(e){return new Cv(this._request).fetch(this.id,e)}},hd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new md(e,t)),new P(e,n.pageInfo))}},gd=class extends C{_favorite;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._favorite=t.favorite}lastSyncId;success;get favorite(){return new Rh(this._request).fetch(this._favorite.id)}get favoriteId(){return this._favorite?.id}},_d=class extends C{_attachment;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._attachment=t.attachment}lastSyncId;success;get attachment(){return new fh(this._request).fetch(this._attachment.id)}get attachmentId(){return this._attachment?.id}},vd=class extends C{_state;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.branchPattern=t.branchPattern??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this.targetBranch=t.targetBranch?new xd(e,t.targetBranch):void 0,this.event=t.event,this._state=t.state??void 0,this._team=t.team}archivedAt;branchPattern;createdAt;id;updatedAt;targetBranch;event;get state(){return this._state?.id?new $(this._request).fetch(this._state?.id):void 0}get stateId(){return this._state?.id}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}create(e){return new Tv(this._request).fetch(e)}delete(){return new Ev(this._request).fetch(this.id)}update(e){return new Dv(this._request).fetch(this.id,e)}},yd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new vd(e,t)),new P(e,n.pageInfo))}},bd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.gitAutomationState=new vd(e,t.gitAutomationState)}lastSyncId;success;gitAutomationState},xd=class extends C{_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.branchPattern=t.branchPattern,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.isRegex=t.isRegex,this.updatedAt=E(t.updatedAt)??new Date,this._team=t.team}archivedAt;branchPattern;createdAt;id;isRegex;updatedAt;get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}create(e){return new Ov(this._request).fetch(e)}delete(){return new kv(this._request).fetch(this.id)}update(e){return new Av(this._request).fetch(this.id,e)}},Sd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.targetBranch=new xd(e,t.targetBranch)}lastSyncId;success;targetBranch},Cd=class extends C{_integration;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.webhookSecret=t.webhookSecret,this._integration=t.integration??void 0}lastSyncId;success;webhookSecret;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},wd=class extends C{constructor(e,t){super(e),this.success=t.success}success},Td=class extends C{_integration;constructor(e,t){super(e),this.installUrl=t.installUrl,this.lastSyncId=t.lastSyncId,this.setupUrl=t.setupUrl,this.success=t.success,this.webhookSecret=t.webhookSecret,this._integration=t.integration??void 0}installUrl;lastSyncId;setupUrl;success;webhookSecret;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Ed=class extends C{_integration;constructor(e,t){super(e),this.error=t.error??void 0,this.errorResponseBody=t.errorResponseBody??void 0,this.errorResponseHeaders=t.errorResponseHeaders??void 0,this.lastSyncId=t.lastSyncId,this.success=t.success,this.webhookSecret=t.webhookSecret,this._integration=t.integration??void 0}error;errorResponseBody;errorResponseHeaders;lastSyncId;success;webhookSecret;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Dd=class extends C{_integration;constructor(e,t){super(e),this.error=t.error??void 0,this.errorResponseBody=t.errorResponseBody??void 0,this.errorResponseHeaders=t.errorResponseHeaders??void 0,this.lastSyncId=t.lastSyncId,this.success=t.success,this._integration=t.integration??void 0}error;errorResponseBody;errorResponseHeaders;lastSyncId;success;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Od=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.url=t.url??void 0}lastSyncId;success;url},kd=class extends C{_creator;_integrationsSettings;_lastUpdate;_owner;_parentInitiative;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.completedAt=E(t.completedAt)??void 0,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.healthUpdatedAt=E(t.healthUpdatedAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.name=t.name,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.startedAt=E(t.startedAt)??void 0,this.targetDate=t.targetDate??void 0,this.trashed=t.trashed??void 0,this.updateReminderFrequency=t.updateReminderFrequency??void 0,this.updateReminderFrequencyInWeeks=t.updateReminderFrequencyInWeeks??void 0,this.updateRemindersHour=t.updateRemindersHour??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.documentContent=t.documentContent?new Gu(e,t.documentContent):void 0,this.frequencyResolution=t.frequencyResolution,this.health=t.health??void 0,this.status=t.status,this.targetDateResolution=t.targetDateResolution??void 0,this.updateRemindersDay=t.updateRemindersDay??void 0,this._creator=t.creator??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._lastUpdate=t.lastUpdate??void 0,this._owner=t.owner??void 0,this._parentInitiative=t.parentInitiative??void 0}archivedAt;color;completedAt;content;createdAt;description;healthUpdatedAt;icon;id;name;slugId;sortOrder;startedAt;targetDate;trashed;updateReminderFrequency;updateReminderFrequencyInWeeks;updateRemindersHour;updatedAt;url;documentContent;frequencyResolution;health;status;targetDateResolution;updateRemindersDay;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Xh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get lastUpdate(){return this._lastUpdate?.id?new H(this._request).fetch(this._lastUpdate?.id):void 0}get lastUpdateId(){return this._lastUpdate?.id}get organization(){return new K(this._request).fetch()}get owner(){return this._owner?.id?new Q(this._request).fetch(this._owner?.id):void 0}get ownerId(){return this._owner?.id}get parentInitiative(){return this._parentInitiative?.id?new V(this._request).fetch(this._parentInitiative?.id):void 0}get parentInitiativeId(){return this._parentInitiative?.id}documents(e){return new ES(this._request,this.id,e).fetch(e)}history(e){return new DS(this._request,this.id,e).fetch(e)}initiativeUpdates(e){return new OS(this._request,this.id,e).fetch(e)}links(e){return new kS(this._request,this.id,e).fetch(e)}projects(e){return new AS(this._request,this.id,e).fetch(e)}subInitiatives(e){return new jS(this._request,this.id,e).fetch(e)}archive(){return new Pv(this._request).fetch(this.id)}create(e){return new Fv(this._request).fetch(e)}delete(){return new Iv(this._request).fetch(this.id)}unarchive(){return new Uv(this._request).fetch(this.id)}update(){return new H(this._request).fetch(this.id)}},Ad=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new V(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},jd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new kd(e,t)),new P(e,n.pageInfo))}},Md=class extends C{_initiative;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.entries=t.entries,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._initiative=t.initiative}archivedAt;createdAt;entries;id;updatedAt;get initiative(){return new V(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}},Nd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Md(e,t)),new P(e,n.pageInfo))}},Pd=class extends C{_actor;_comment;_document;_externalUserActor;_initiative;_initiativeUpdate;_parentComment;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.initiativeId=t.initiativeId,this.initiativeUpdateId=t.initiativeUpdateId??void 0,this.parentCommentId=t.parentCommentId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._comment=t.comment??void 0,this._document=t.document??void 0,this._externalUserActor=t.externalUserActor??void 0,this._initiative=t.initiative??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._parentComment=t.parentComment??void 0,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;initiativeId;initiativeUpdateId;parentCommentId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get document(){return this._document?.id?new z(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeUpdate(){return this._initiativeUpdate?.id?new H(this._request).fetch(this._initiativeUpdate?.id):void 0}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Fd=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return new V(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},Id=class extends C{_initiative;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._initiative=t.initiative}lastSyncId;success;get initiative(){return new V(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}},Ld=class extends C{_initiative;_relatedInitiative;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._initiative=t.initiative,this._relatedInitiative=t.relatedInitiative,this._user=t.user??void 0}archivedAt;createdAt;id;sortOrder;updatedAt;get initiative(){return new V(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get relatedInitiative(){return new V(this._request).fetch(this._relatedInitiative.id)}get relatedInitiativeId(){return this._relatedInitiative?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new Lv(this._request).fetch(e)}delete(){return new Rv(this._request).fetch(this.id)}update(e){return new zv(this._request).fetch(this.id,e)}},Rd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Ld(e,t)),new P(e,n.pageInfo))}},zd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.initiativeRelation=new Ld(e,t.initiativeRelation)}lastSyncId;success;initiativeRelation},Bd=class extends C{_initiative;_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._initiative=t.initiative,this._project=t.project}archivedAt;createdAt;id;sortOrder;updatedAt;get initiative(){return new V(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get project(){return new q(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}create(e){return new Bv(this._request).fetch(e)}delete(){return new Vv(this._request).fetch(this.id)}update(e){return new Hv(this._request).fetch(this.id,e)}},Vd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Bd(e,t)),new P(e,n.pageInfo))}},Hd=class extends C{_initiativeToProject;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._initiativeToProject=t.initiativeToProject}lastSyncId;success;get initiativeToProject(){return new Hh(this._request).fetch(this._initiativeToProject.id)}get initiativeToProjectId(){return this._initiativeToProject?.id}},Ud=class extends C{_initiative;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body,this.commentCount=t.commentCount,this.createdAt=E(t.createdAt)??new Date,this.diff=t.diff??void 0,this.diffMarkdown=t.diffMarkdown??void 0,this.editedAt=E(t.editedAt)??void 0,this.id=t.id,this.isDiffHidden=t.isDiffHidden,this.isStale=t.isStale,this.reactionData=t.reactionData,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.reactions=t.reactions.map(t=>new Gp(e,t)),this.health=t.health,this._initiative=t.initiative,this._user=t.user}archivedAt;body;commentCount;createdAt;diff;diffMarkdown;editedAt;id;isDiffHidden;isStale;reactionData;slugId;updatedAt;url;reactions;health;get initiative(){return new V(this._request).fetch(this._initiative.id)}get initiativeId(){return this._initiative?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}comments(e){return new MS(this._request,this.id,e).fetch(e)}archive(){return new Gv(this._request).fetch(this.id)}create(e){return new Kv(this._request).fetch(e)}unarchive(){return new qv(this._request).fetch(this.id)}update(e){return new Jv(this._request).fetch(this.id,e)}},Wd=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new H(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Gd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Ud(e,t)),new P(e,n.pageInfo))}},Kd=class extends C{_initiativeUpdate;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._initiativeUpdate=t.initiativeUpdate}lastSyncId;success;get initiativeUpdate(){return new H(this._request).fetch(this._initiativeUpdate.id)}get initiativeUpdateId(){return this._initiativeUpdate?.id}},qd=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Jd=class extends C{_creator;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.service=t.service,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator,this._team=t.team??void 0}archivedAt;createdAt;id;service;updatedAt;get creator(){return new Q(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}archive(){return new Yv(this._request).fetch(this.id)}delete(e){return new Zv(this._request).fetch(this.id,e)}},Yd=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Jd(e,t)),new P(e,n.pageInfo))}},Xd=class extends C{constructor(e,t){super(e),this.hasAllScopes=t.hasAllScopes,this.missingScopes=t.missingScopes??void 0}hasAllScopes;missingScopes},j=class extends C{_integration;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._integration=t.integration??void 0}lastSyncId;success;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},Zd=class extends C{constructor(e,t){super(e),this.success=t.success}success},Qd=class extends C{constructor(e,t){super(e),this.name=t.name,this.success=t.success}name;success},$d=class extends C{_integration;_template;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.foreignEntityId=t.foreignEntityId??void 0,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._integration=t.integration,this._template=t.template}archivedAt;createdAt;foreignEntityId;id;updatedAt;get integration(){return new U(this._request).fetch(this._integration.id)}get integrationId(){return this._integration?.id}get template(){return new Z(this._request).fetch(this._template.id)}get templateId(){return this._template?.id}create(e){return new ky(this._request).fetch(e)}delete(){return new Ay(this._request).fetch(this.id)}},ef=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new $d(e,t)),new P(e,n.pageInfo))}},tf=class extends C{_integrationTemplate;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._integrationTemplate=t.integrationTemplate}lastSyncId;success;get integrationTemplate(){return new qh(this._request).fetch(this._integrationTemplate.id)}get integrationTemplateId(){return this._integrationTemplate?.id}},nf=class extends C{_initiative;_project;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.slackInitiativeUpdateCreated=t.slackInitiativeUpdateCreated??void 0,this.slackIssueAddedToTriage=t.slackIssueAddedToTriage??void 0,this.slackIssueAddedToView=t.slackIssueAddedToView??void 0,this.slackIssueCreated=t.slackIssueCreated??void 0,this.slackIssueNewComment=t.slackIssueNewComment??void 0,this.slackIssueSlaBreached=t.slackIssueSlaBreached??void 0,this.slackIssueSlaHighRisk=t.slackIssueSlaHighRisk??void 0,this.slackIssueStatusChangedAll=t.slackIssueStatusChangedAll??void 0,this.slackIssueStatusChangedDone=t.slackIssueStatusChangedDone??void 0,this.slackProjectUpdateCreated=t.slackProjectUpdateCreated??void 0,this.slackProjectUpdateCreatedToTeam=t.slackProjectUpdateCreatedToTeam??void 0,this.slackProjectUpdateCreatedToWorkspace=t.slackProjectUpdateCreatedToWorkspace??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this._initiative=t.initiative??void 0,this._project=t.project??void 0,this._team=t.team??void 0}archivedAt;createdAt;id;slackInitiativeUpdateCreated;slackIssueAddedToTriage;slackIssueAddedToView;slackIssueCreated;slackIssueNewComment;slackIssueSlaBreached;slackIssueSlaHighRisk;slackIssueStatusChangedAll;slackIssueStatusChangedDone;slackProjectUpdateCreated;slackProjectUpdateCreatedToTeam;slackProjectUpdateCreatedToWorkspace;updatedAt;contextViewType;get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}create(e){return new My(this._request).fetch(e)}update(e){return new Ny(this._request).fetch(this.id,e)}},rf=class extends C{_integrationsSettings;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._integrationsSettings=t.integrationsSettings}lastSyncId;success;get integrationsSettings(){return new Xh(this._request).fetch(this._integrationsSettings.id)}get integrationsSettingsId(){return this._integrationsSettings?.id}},af=class extends C{_asksExternalUserRequester;_asksRequester;_assignee;_creator;_cycle;_delegate;_externalUserCreator;_favorite;_lastAppliedTemplate;_parent;_project;_projectMilestone;_recurringIssueTemplate;_snoozedBy;_sourceComment;_state;_team;constructor(e,t){super(e),this.addedToCycleAt=E(t.addedToCycleAt)??void 0,this.addedToProjectAt=E(t.addedToProjectAt)??void 0,this.addedToTeamAt=E(t.addedToTeamAt)??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.autoClosedAt=E(t.autoClosedAt)??void 0,this.boardOrder=t.boardOrder,this.branchName=t.branchName,this.canceledAt=E(t.canceledAt)??void 0,this.completedAt=E(t.completedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerTicketCount=t.customerTicketCount,this.description=t.description??void 0,this.dueDate=t.dueDate??void 0,this.estimate=t.estimate??void 0,this.id=t.id,this.identifier=t.identifier,this.labelIds=t.labelIds,this.number=t.number,this.previousIdentifiers=t.previousIdentifiers,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.reactionData=t.reactionData,this.slaBreachesAt=E(t.slaBreachesAt)??void 0,this.slaHighRiskAt=E(t.slaHighRiskAt)??void 0,this.slaMediumRiskAt=E(t.slaMediumRiskAt)??void 0,this.slaStartedAt=E(t.slaStartedAt)??void 0,this.slaType=t.slaType??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.sortOrder=t.sortOrder,this.startedAt=E(t.startedAt)??void 0,this.startedTriageAt=E(t.startedTriageAt)??void 0,this.subIssueSortOrder=t.subIssueSortOrder??void 0,this.title=t.title,this.trashed=t.trashed??void 0,this.triagedAt=E(t.triagedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.sharedAccess=new kf(e,t.sharedAccess),this.reactions=t.reactions.map(t=>new Gp(e,t)),this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new dd(e,t)):void 0,this.integrationSourceType=t.integrationSourceType??void 0,this._asksExternalUserRequester=t.asksExternalUserRequester??void 0,this._asksRequester=t.asksRequester??void 0,this._assignee=t.assignee??void 0,this._creator=t.creator??void 0,this._cycle=t.cycle??void 0,this._delegate=t.delegate??void 0,this._externalUserCreator=t.externalUserCreator??void 0,this._favorite=t.favorite??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._parent=t.parent??void 0,this._project=t.project??void 0,this._projectMilestone=t.projectMilestone??void 0,this._recurringIssueTemplate=t.recurringIssueTemplate??void 0,this._snoozedBy=t.snoozedBy??void 0,this._sourceComment=t.sourceComment??void 0,this._state=t.state,this._team=t.team}addedToCycleAt;addedToProjectAt;addedToTeamAt;archivedAt;autoArchivedAt;autoClosedAt;boardOrder;branchName;canceledAt;completedAt;createdAt;customerTicketCount;description;dueDate;estimate;id;identifier;labelIds;number;previousIdentifiers;priority;priorityLabel;prioritySortOrder;reactionData;slaBreachesAt;slaHighRiskAt;slaMediumRiskAt;slaStartedAt;slaType;snoozedUntilAt;sortOrder;startedAt;startedTriageAt;subIssueSortOrder;title;trashed;triagedAt;updatedAt;url;reactions;syncedWith;botActor;sharedAccess;integrationSourceType;get asksExternalUserRequester(){return this._asksExternalUserRequester?.id?new B(this._request).fetch(this._asksExternalUserRequester?.id):void 0}get asksExternalUserRequesterId(){return this._asksExternalUserRequester?.id}get asksRequester(){return this._asksRequester?.id?new Q(this._request).fetch(this._asksRequester?.id):void 0}get asksRequesterId(){return this._asksRequester?.id}get assignee(){return this._assignee?.id?new Q(this._request).fetch(this._assignee?.id):void 0}get assigneeId(){return this._assignee?.id}get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get delegate(){return this._delegate?.id?new Q(this._request).fetch(this._delegate?.id):void 0}get delegateId(){return this._delegate?.id}get externalUserCreator(){return this._externalUserCreator?.id?new B(this._request).fetch(this._externalUserCreator?.id):void 0}get externalUserCreatorId(){return this._externalUserCreator?.id}get favorite(){return this._favorite?.id?new Rh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new Z(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get parent(){return this._parent?.id?new W(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new J(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}get recurringIssueTemplate(){return this._recurringIssueTemplate?.id?new Z(this._request).fetch(this._recurringIssueTemplate?.id):void 0}get recurringIssueTemplateId(){return this._recurringIssueTemplate?.id}get snoozedBy(){return this._snoozedBy?.id?new Q(this._request).fetch(this._snoozedBy?.id):void 0}get snoozedById(){return this._snoozedBy?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}get state(){return new $(this._request).fetch(this._state.id)}get stateId(){return this._state?.id}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}attachments(e){return new NS(this._request,this.id,e).fetch(e)}children(e){return new PS(this._request,this.id,e).fetch(e)}comments(e){return new FS(this._request,this.id,e).fetch(e)}documents(e){return new IS(this._request,this.id,e).fetch(e)}formerAttachments(e){return new LS(this._request,this.id,e).fetch(e)}formerNeeds(e){return new RS(this._request,this.id,e).fetch(e)}history(e){return new zS(this._request,this.id,e).fetch(e)}inverseRelations(e){return new BS(this._request,this.id,e).fetch(e)}labels(e){return new VS(this._request,this.id,e).fetch(e)}needs(e){return new HS(this._request,this.id,e).fetch(e)}relations(e){return new US(this._request,this.id,e).fetch(e)}stateHistory(e){return new WS(this._request,this.id,e).fetch(e)}subscribers(e){return new GS(this._request,this.id,e).fetch(e)}archive(e){return new Fy(this._request).fetch(this.id,e)}create(e){return new Ry(this._request).fetch(e)}delete(e){return new zy(this._request).fetch(this.id,e)}unarchive(){return new ob(this._request).fetch(this.id)}update(e){return new cb(this._request).fetch(this.id,e)}},of=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new W(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},sf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.issues=t.issues.map(t=>new af(e,t))}lastSyncId;success;issues},M=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new af(e,t)),new P(e,n.pageInfo))}},cf=class extends C{constructor(e,t){super(e),this.filter=t.filter??void 0,this.logId=t.logId??void 0}filter;logId},lf=class extends C{_actor;_attachment;_fromAssignee;_fromCycle;_fromDelegate;_fromParent;_fromProject;_fromProjectMilestone;_fromState;_fromTeam;_issue;_toAssignee;_toConvertedProject;_toCycle;_toDelegate;_toParent;_toProject;_toProjectMilestone;_toState;_toTeam;_triageResponsibilityTeam;constructor(e,t){super(e),this.actorId=t.actorId??void 0,this.addedLabelIds=t.addedLabelIds??void 0,this.archived=t.archived??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.attachmentId=t.attachmentId??void 0,this.autoArchived=t.autoArchived??void 0,this.autoClosed=t.autoClosed??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerNeedId=t.customerNeedId??void 0,this.fromAssigneeId=t.fromAssigneeId??void 0,this.fromCycleId=t.fromCycleId??void 0,this.fromDueDate=t.fromDueDate??void 0,this.fromEstimate=t.fromEstimate??void 0,this.fromParentId=t.fromParentId??void 0,this.fromPriority=t.fromPriority??void 0,this.fromProjectId=t.fromProjectId??void 0,this.fromSlaBreached=t.fromSlaBreached??void 0,this.fromSlaBreachesAt=E(t.fromSlaBreachesAt)??void 0,this.fromSlaStartedAt=E(t.fromSlaStartedAt)??void 0,this.fromSlaType=t.fromSlaType??void 0,this.fromStateId=t.fromStateId??void 0,this.fromTeamId=t.fromTeamId??void 0,this.fromTitle=t.fromTitle??void 0,this.id=t.id,this.removedLabelIds=t.removedLabelIds??void 0,this.toAssigneeId=t.toAssigneeId??void 0,this.toConvertedProjectId=t.toConvertedProjectId??void 0,this.toCycleId=t.toCycleId??void 0,this.toDueDate=t.toDueDate??void 0,this.toEstimate=t.toEstimate??void 0,this.toParentId=t.toParentId??void 0,this.toPriority=t.toPriority??void 0,this.toProjectId=t.toProjectId??void 0,this.toSlaBreached=t.toSlaBreached??void 0,this.toSlaBreachesAt=E(t.toSlaBreachesAt)??void 0,this.toSlaStartedAt=E(t.toSlaStartedAt)??void 0,this.toSlaType=t.toSlaType??void 0,this.toStateId=t.toStateId??void 0,this.toTeamId=t.toTeamId??void 0,this.toTitle=t.toTitle??void 0,this.trashed=t.trashed??void 0,this.triageResponsibilityAutoAssigned=t.triageResponsibilityAutoAssigned??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.updatedDescription=t.updatedDescription??void 0,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.issueImport=t.issueImport?new df(e,t.issueImport):void 0,this.actors=t.actors?t.actors.map(t=>new Pm(e,t)):void 0,this.addedLabels=t.addedLabels?t.addedLabels.map(t=>new _f(e,t)):void 0,this.descriptionUpdatedBy=t.descriptionUpdatedBy?t.descriptionUpdatedBy.map(t=>new Pm(e,t)):void 0,this.relationChanges=t.relationChanges?t.relationChanges.map(t=>new Tf(e,t)):void 0,this.removedLabels=t.removedLabels?t.removedLabels.map(t=>new _f(e,t)):void 0,this.triageResponsibilityNotifiedUsers=t.triageResponsibilityNotifiedUsers?t.triageResponsibilityNotifiedUsers.map(t=>new Pm(e,t)):void 0,this._actor=t.actor??void 0,this._attachment=t.attachment??void 0,this._fromAssignee=t.fromAssignee??void 0,this._fromCycle=t.fromCycle??void 0,this._fromDelegate=t.fromDelegate??void 0,this._fromParent=t.fromParent??void 0,this._fromProject=t.fromProject??void 0,this._fromProjectMilestone=t.fromProjectMilestone??void 0,this._fromState=t.fromState??void 0,this._fromTeam=t.fromTeam??void 0,this._issue=t.issue,this._toAssignee=t.toAssignee??void 0,this._toConvertedProject=t.toConvertedProject??void 0,this._toCycle=t.toCycle??void 0,this._toDelegate=t.toDelegate??void 0,this._toParent=t.toParent??void 0,this._toProject=t.toProject??void 0,this._toProjectMilestone=t.toProjectMilestone??void 0,this._toState=t.toState??void 0,this._toTeam=t.toTeam??void 0,this._triageResponsibilityTeam=t.triageResponsibilityTeam??void 0}actorId;addedLabelIds;archived;archivedAt;attachmentId;autoArchived;autoClosed;createdAt;customerNeedId;fromAssigneeId;fromCycleId;fromDueDate;fromEstimate;fromParentId;fromPriority;fromProjectId;fromSlaBreached;fromSlaBreachesAt;fromSlaStartedAt;fromSlaType;fromStateId;fromTeamId;fromTitle;id;removedLabelIds;toAssigneeId;toConvertedProjectId;toCycleId;toDueDate;toEstimate;toParentId;toPriority;toProjectId;toSlaBreached;toSlaBreachesAt;toSlaStartedAt;toSlaType;toStateId;toTeamId;toTitle;trashed;triageResponsibilityAutoAssigned;updatedAt;updatedDescription;actors;addedLabels;descriptionUpdatedBy;relationChanges;removedLabels;triageResponsibilityNotifiedUsers;botActor;issueImport;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get attachment(){return this._attachment?.id?new fh(this._request).fetch(this._attachment?.id):void 0}get fromAssignee(){return this._fromAssignee?.id?new Q(this._request).fetch(this._fromAssignee?.id):void 0}get fromCycle(){return this._fromCycle?.id?new R(this._request).fetch(this._fromCycle?.id):void 0}get fromDelegate(){return this._fromDelegate?.id?new Q(this._request).fetch(this._fromDelegate?.id):void 0}get fromDelegateId(){return this._fromDelegate?.id}get fromParent(){return this._fromParent?.id?new W(this._request).fetch(this._fromParent?.id):void 0}get fromProject(){return this._fromProject?.id?new q(this._request).fetch(this._fromProject?.id):void 0}get fromProjectMilestone(){return this._fromProjectMilestone?.id?new J(this._request).fetch(this._fromProjectMilestone?.id):void 0}get fromProjectMilestoneId(){return this._fromProjectMilestone?.id}get fromState(){return this._fromState?.id?new $(this._request).fetch(this._fromState?.id):void 0}get fromTeam(){return this._fromTeam?.id?new X(this._request).fetch(this._fromTeam?.id):void 0}get issue(){return new W(this._request).fetch(this._issue.id)}get issueId(){return this._issue?.id}get toAssignee(){return this._toAssignee?.id?new Q(this._request).fetch(this._toAssignee?.id):void 0}get toConvertedProject(){return this._toConvertedProject?.id?new q(this._request).fetch(this._toConvertedProject?.id):void 0}get toCycle(){return this._toCycle?.id?new R(this._request).fetch(this._toCycle?.id):void 0}get toDelegate(){return this._toDelegate?.id?new Q(this._request).fetch(this._toDelegate?.id):void 0}get toDelegateId(){return this._toDelegate?.id}get toParent(){return this._toParent?.id?new W(this._request).fetch(this._toParent?.id):void 0}get toProject(){return this._toProject?.id?new q(this._request).fetch(this._toProject?.id):void 0}get toProjectMilestone(){return this._toProjectMilestone?.id?new J(this._request).fetch(this._toProjectMilestone?.id):void 0}get toProjectMilestoneId(){return this._toProjectMilestone?.id}get toState(){return this._toState?.id?new $(this._request).fetch(this._toState?.id):void 0}get toTeam(){return this._toTeam?.id?new X(this._request).fetch(this._toTeam?.id):void 0}get triageResponsibilityTeam(){return this._triageResponsibilityTeam?.id?new X(this._request).fetch(this._triageResponsibilityTeam?.id):void 0}get triageResponsibilityTeamId(){return this._triageResponsibilityTeam?.id}},uf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new lf(e,t)),new P(e,n.pageInfo))}},df=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.creatorId=t.creatorId??void 0,this.csvFileUrl=t.csvFileUrl??void 0,this.displayName=t.displayName,this.error=t.error??void 0,this.errorMetadata=t.errorMetadata??void 0,this.id=t.id,this.mapping=t.mapping??void 0,this.progress=t.progress??void 0,this.service=t.service,this.serviceMetadata=t.serviceMetadata??void 0,this.status=t.status,this.teamName=t.teamName??void 0,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;createdAt;creatorId;csvFileUrl;displayName;error;errorMetadata;id;mapping;progress;service;serviceMetadata;status;teamName;updatedAt;delete(e){return new Ky(this._request).fetch(e)}update(e){return new Jy(this._request).fetch(this.id,e)}},ff=class extends C{constructor(e,t){super(e),this.success=t.success}success},pf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.issueImport=t.issueImport?new df(e,t.issueImport):void 0}lastSyncId;success;issueImport},mf=class extends C{constructor(e,t){super(e),this.count=t.count??void 0,this.error=t.error??void 0,this.success=t.success}count;error;success},hf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.issueImport=t.issueImport?new df(e,t.issueImport):void 0}lastSyncId;success;issueImport},gf=class extends C{constructor(e,t){super(e),this.canSync=t.canSync,this.error=t.error??void 0}canSync;error},_f=class extends C{_creator;_inheritedFrom;_parent;_retiredBy;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.isGroup=t.isGroup,this.lastAppliedAt=E(t.lastAppliedAt)??void 0,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0,this._inheritedFrom=t.inheritedFrom??void 0,this._parent=t.parent??void 0,this._retiredBy=t.retiredBy??void 0,this._team=t.team??void 0}archivedAt;color;createdAt;description;id;isGroup;lastAppliedAt;name;updatedAt;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get inheritedFrom(){return this._inheritedFrom?.id?new G(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get organization(){return new K(this._request).fetch()}get parent(){return this._parent?.id?new G(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get retiredBy(){return this._retiredBy?.id?new Q(this._request).fetch(this._retiredBy?.id):void 0}get retiredById(){return this._retiredBy?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}children(e){return new KS(this._request,this.id,e).fetch(e)}issues(e){return new qS(this._request,this.id,e).fetch(e)}create(e,t){return new Yy(this._request).fetch(e,t)}delete(){return new Xy(this._request).fetch(this.id)}update(e,t){return new $y(this._request).fetch(this.id,e,t)}},vf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new _f(e,t)),new P(e,n.pageInfo))}},yf=class extends C{_issueLabel;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._issueLabel=t.issueLabel}lastSyncId;success;get issueLabel(){return new G(this._request).fetch(this._issueLabel.id)}get issueLabelId(){return this._issueLabel?.id}},bf=class extends C{_actor;_comment;_externalUserActor;_issue;_parentComment;_team;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.issueId=t.issueId,this.parentCommentId=t.parentCommentId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.subscriptions=t.subscriptions?t.subscriptions.map(t=>new Gf(e,t)):void 0,this.category=t.category,this._actor=t.actor??void 0,this._comment=t.comment??void 0,this._externalUserActor=t.externalUserActor??void 0,this._issue=t.issue,this._parentComment=t.parentComment??void 0,this._team=t.team,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;issueId;parentCommentId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;subscriptions;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get issue(){return new W(this._request).fetch(this._issue.id)}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},xf=class extends C{_issue;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._issue=t.issue??void 0}lastSyncId;success;get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}},Sf=class extends C{constructor(e,t){super(e),this.label=t.label,this.priority=t.priority}label;priority},Cf=class extends C{_issue;_relatedIssue;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._issue=t.issue,this._relatedIssue=t.relatedIssue}archivedAt;createdAt;id;type;updatedAt;get issue(){return new W(this._request).fetch(this._issue.id)}get issueId(){return this._issue?.id}get relatedIssue(){return new W(this._request).fetch(this._relatedIssue.id)}get relatedIssueId(){return this._relatedIssue?.id}create(e,t){return new eb(this._request).fetch(e,t)}delete(){return new tb(this._request).fetch(this.id)}update(e){return new nb(this._request).fetch(this.id,e)}},wf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Cf(e,t)),new P(e,n.pageInfo))}},Tf=class extends C{constructor(e,t){super(e),this.identifier=t.identifier,this.type=t.type}identifier;type},Ef=class extends C{_issueRelation;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._issueRelation=t.issueRelation}lastSyncId;success;get issueRelation(){return new ig(this._request).fetch(this._issueRelation.id)}get issueRelationId(){return this._issueRelation?.id}},Df=class extends C{constructor(e,t){super(e),this.totalCount=t.totalCount,this.archivePayload=new Ql(e,t.archivePayload),this.pageInfo=new P(e,t.pageInfo),this.nodes=t.nodes.map(t=>new Of(e,t))}totalCount;nodes;archivePayload;pageInfo},Of=class extends C{_asksExternalUserRequester;_asksRequester;_assignee;_creator;_cycle;_delegate;_externalUserCreator;_favorite;_lastAppliedTemplate;_parent;_project;_projectMilestone;_recurringIssueTemplate;_snoozedBy;_sourceComment;_state;_team;constructor(e,t){super(e),this.addedToCycleAt=E(t.addedToCycleAt)??void 0,this.addedToProjectAt=E(t.addedToProjectAt)??void 0,this.addedToTeamAt=E(t.addedToTeamAt)??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.autoClosedAt=E(t.autoClosedAt)??void 0,this.boardOrder=t.boardOrder,this.branchName=t.branchName,this.canceledAt=E(t.canceledAt)??void 0,this.completedAt=E(t.completedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.customerTicketCount=t.customerTicketCount,this.description=t.description??void 0,this.dueDate=t.dueDate??void 0,this.estimate=t.estimate??void 0,this.id=t.id,this.identifier=t.identifier,this.labelIds=t.labelIds,this.metadata=t.metadata,this.number=t.number,this.previousIdentifiers=t.previousIdentifiers,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.reactionData=t.reactionData,this.slaBreachesAt=E(t.slaBreachesAt)??void 0,this.slaHighRiskAt=E(t.slaHighRiskAt)??void 0,this.slaMediumRiskAt=E(t.slaMediumRiskAt)??void 0,this.slaStartedAt=E(t.slaStartedAt)??void 0,this.slaType=t.slaType??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.sortOrder=t.sortOrder,this.startedAt=E(t.startedAt)??void 0,this.startedTriageAt=E(t.startedTriageAt)??void 0,this.subIssueSortOrder=t.subIssueSortOrder??void 0,this.title=t.title,this.trashed=t.trashed??void 0,this.triagedAt=E(t.triagedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.sharedAccess=new kf(e,t.sharedAccess),this.reactions=t.reactions.map(t=>new Gp(e,t)),this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new dd(e,t)):void 0,this.integrationSourceType=t.integrationSourceType??void 0,this._asksExternalUserRequester=t.asksExternalUserRequester??void 0,this._asksRequester=t.asksRequester??void 0,this._assignee=t.assignee??void 0,this._creator=t.creator??void 0,this._cycle=t.cycle??void 0,this._delegate=t.delegate??void 0,this._externalUserCreator=t.externalUserCreator??void 0,this._favorite=t.favorite??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._parent=t.parent??void 0,this._project=t.project??void 0,this._projectMilestone=t.projectMilestone??void 0,this._recurringIssueTemplate=t.recurringIssueTemplate??void 0,this._snoozedBy=t.snoozedBy??void 0,this._sourceComment=t.sourceComment??void 0,this._state=t.state,this._team=t.team}addedToCycleAt;addedToProjectAt;addedToTeamAt;archivedAt;autoArchivedAt;autoClosedAt;boardOrder;branchName;canceledAt;completedAt;createdAt;customerTicketCount;description;dueDate;estimate;id;identifier;labelIds;metadata;number;previousIdentifiers;priority;priorityLabel;prioritySortOrder;reactionData;slaBreachesAt;slaHighRiskAt;slaMediumRiskAt;slaStartedAt;slaType;snoozedUntilAt;sortOrder;startedAt;startedTriageAt;subIssueSortOrder;title;trashed;triagedAt;updatedAt;url;reactions;syncedWith;botActor;sharedAccess;integrationSourceType;get asksExternalUserRequester(){return this._asksExternalUserRequester?.id?new B(this._request).fetch(this._asksExternalUserRequester?.id):void 0}get asksExternalUserRequesterId(){return this._asksExternalUserRequester?.id}get asksRequester(){return this._asksRequester?.id?new Q(this._request).fetch(this._asksRequester?.id):void 0}get asksRequesterId(){return this._asksRequester?.id}get assignee(){return this._assignee?.id?new Q(this._request).fetch(this._assignee?.id):void 0}get assigneeId(){return this._assignee?.id}get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get delegate(){return this._delegate?.id?new Q(this._request).fetch(this._delegate?.id):void 0}get delegateId(){return this._delegate?.id}get externalUserCreator(){return this._externalUserCreator?.id?new B(this._request).fetch(this._externalUserCreator?.id):void 0}get externalUserCreatorId(){return this._externalUserCreator?.id}get favorite(){return this._favorite?.id?new Rh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new Z(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get parent(){return this._parent?.id?new W(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new J(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}get recurringIssueTemplate(){return this._recurringIssueTemplate?.id?new Z(this._request).fetch(this._recurringIssueTemplate?.id):void 0}get recurringIssueTemplateId(){return this._recurringIssueTemplate?.id}get snoozedBy(){return this._snoozedBy?.id?new Q(this._request).fetch(this._snoozedBy?.id):void 0}get snoozedById(){return this._snoozedBy?.id}get sourceComment(){return this._sourceComment?.id?new F(this._request).fetch({id:this._sourceComment?.id}):void 0}get sourceCommentId(){return this._sourceComment?.id}get state(){return new $(this._request).fetch(this._state.id)}get stateId(){return this._state?.id}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}},kf=class extends C{constructor(e,t){super(e),this.isShared=t.isShared,this.sharedWithCount=t.sharedWithCount,this.viewerHasOnlySharedAccess=t.viewerHasOnlySharedAccess,this.sharedWithUsers=t.sharedWithUsers.map(t=>new Pm(e,t))}isShared;sharedWithCount;viewerHasOnlySharedAccess;sharedWithUsers},Af=class extends C{_state;constructor(e,t){super(e),this.endedAt=E(t.endedAt)??void 0,this.id=t.id,this.startedAt=E(t.startedAt)??new Date,this.stateId=t.stateId,this._state=t.state??void 0}endedAt;id;startedAt;stateId;get state(){return this._state?.id?new $(this._request).fetch(this._state?.id):void 0}},jf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Af(e,t)),new P(e,n.pageInfo))}},Mf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.title=t.title}lastSyncId;title},Nf=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return new G(this._request).fetch(this._label.id)}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},Pf=class extends C{constructor(e,t){super(e),this.success=t.success}success},Ff=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}archive(){return new hb(this._request).fetch(this.id)}unarchive(){return new wb(this._request).fetch(this.id)}update(e){return new Eb(this._request).fetch(this.id,e)}},If=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Lf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.notifications=t.notifications.map(t=>new Ff(e,t))}lastSyncId;success;notifications},Rf=class extends C{constructor(e,t){super(e),this.appsAndIntegrations=new N(e,t.appsAndIntegrations),this.assignments=new N(e,t.assignments),this.commentsAndReplies=new N(e,t.commentsAndReplies),this.customers=new N(e,t.customers),this.documentChanges=new N(e,t.documentChanges),this.feed=new N(e,t.feed),this.mentions=new N(e,t.mentions),this.postsAndUpdates=new N(e,t.postsAndUpdates),this.reactions=new N(e,t.reactions),this.reminders=new N(e,t.reminders),this.reviews=new N(e,t.reviews),this.statusChanges=new N(e,t.statusChanges),this.subscriptions=new N(e,t.subscriptions),this.system=new N(e,t.system),this.triage=new N(e,t.triage)}appsAndIntegrations;assignments;commentsAndReplies;customers;documentChanges;feed;mentions;postsAndUpdates;reactions;reminders;reviews;statusChanges;subscriptions;system;triage},N=class extends C{constructor(e,t){super(e),this.desktop=t.desktop,this.email=t.email,this.mobile=t.mobile,this.slack=t.slack}desktop;email;mobile;slack},zf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>{switch(t.__typename){case`CustomerNeedNotification`:return new Tu(e,t);case`CustomerNotification`:return new Ou(e,t);case`DocumentNotification`:return new Ju(e,t);case`InitiativeNotification`:return new Pd(e,t);case`IssueNotification`:return new bf(e,t);case`OauthClientApprovalNotification`:return new Yf(e,t);case`PostNotification`:return new sp(e,t);case`ProjectNotification`:return new Sp(e,t);case`PullRequestNotification`:return new zp(e,t);case`WelcomeMessageNotification`:return new th(e,t);default:return new Ff(e,t)}}),new P(e,n.pageInfo))}},Bf=class extends C{constructor(e,t){super(e),this.mobile=t.mobile?new Vf(e,t.mobile):void 0}mobile},Vf=class extends C{constructor(e,t){super(e),this.notificationsDisabled=t.notificationsDisabled??void 0,this.schedule=t.schedule?new Uf(e,t.schedule):void 0}notificationsDisabled;schedule},Hf=class extends C{constructor(e,t){super(e),this.end=t.end??void 0,this.start=t.start??void 0}end;start},Uf=class extends C{constructor(e,t){super(e),this.disabled=t.disabled??void 0,this.friday=new Hf(e,t.friday),this.monday=new Hf(e,t.monday),this.saturday=new Hf(e,t.saturday),this.sunday=new Hf(e,t.sunday),this.thursday=new Hf(e,t.thursday),this.tuesday=new Hf(e,t.tuesday),this.wednesday=new Hf(e,t.wednesday)}disabled;friday;monday;saturday;sunday;thursday;tuesday;wednesday},Wf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Gf=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new xb(this._request).fetch(e)}delete(){return new Sb(this._request).fetch(this.id)}update(e){return new Cb(this._request).fetch(this.id,e)}},Kf=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>{switch(t.__typename){case`CustomViewNotificationSubscription`:return new vu(e,t);case`CustomerNotificationSubscription`:return new ku(e,t);case`CycleNotificationSubscription`:return new Bu(e,t);case`InitiativeNotificationSubscription`:return new Fd(e,t);case`LabelNotificationSubscription`:return new Nf(e,t);case`ProjectNotificationSubscription`:return new Cp(e,t);case`TeamNotificationSubscription`:return new vm(e,t);case`UserNotificationSubscription`:return new Lm(e,t);default:return new Gf(e,t)}}),new P(e,n.pageInfo))}},qf=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Jf=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.denyReason=t.denyReason??void 0,this.id=t.id,this.newlyRequestedScopes=t.newlyRequestedScopes??void 0,this.oauthClientId=t.oauthClientId,this.requestReason=t.requestReason??void 0,this.requesterId=t.requesterId,this.responderId=t.responderId??void 0,this.scopes=t.scopes,this.updatedAt=E(t.updatedAt)??new Date,this.status=t.status}archivedAt;createdAt;denyReason;id;newlyRequestedScopes;oauthClientId;requestReason;requesterId;responderId;scopes;updatedAt;status},Yf=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.oauthClientApprovalId=t.oauthClientApprovalId,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.oauthClientApproval=new Jf(e,t.oauthClientApproval),this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;oauthClientApprovalId;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;oauthClientApproval;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Xf=class extends C{_slackProjectChannelIntegration;constructor(e,t){super(e),this.aiDiscussionSummariesEnabled=t.aiDiscussionSummariesEnabled,this.aiThreadSummariesEnabled=t.aiThreadSummariesEnabled,this.allowMembersToInvite=t.allowMembersToInvite??void 0,this.allowedAuthServices=t.allowedAuthServices,this.allowedFileUploadContentTypes=t.allowedFileUploadContentTypes??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.createdIssueCount=t.createdIssueCount,this.customerCount=t.customerCount,this.customersConfiguration=t.customersConfiguration,this.customersEnabled=t.customersEnabled,this.deletionRequestedAt=E(t.deletionRequestedAt)??void 0,this.feedEnabled=t.feedEnabled,this.fiscalYearStartMonth=t.fiscalYearStartMonth,this.gitBranchFormat=t.gitBranchFormat??void 0,this.gitLinkbackDescriptionsEnabled=t.gitLinkbackDescriptionsEnabled,this.gitLinkbackMessagesEnabled=t.gitLinkbackMessagesEnabled,this.gitPublicLinkbackMessagesEnabled=t.gitPublicLinkbackMessagesEnabled,this.hideNonPrimaryOrganizations=t.hideNonPrimaryOrganizations,this.hipaaComplianceEnabled=t.hipaaComplianceEnabled,this.id=t.id,this.initiativeUpdateReminderFrequencyInWeeks=t.initiativeUpdateReminderFrequencyInWeeks??void 0,this.initiativeUpdateRemindersHour=t.initiativeUpdateRemindersHour,this.logoUrl=t.logoUrl??void 0,this.name=t.name,this.periodUploadVolume=t.periodUploadVolume,this.previousUrlKeys=t.previousUrlKeys,this.projectUpdateReminderFrequencyInWeeks=t.projectUpdateReminderFrequencyInWeeks??void 0,this.projectUpdateRemindersHour=t.projectUpdateRemindersHour,this.restrictLabelManagementToAdmins=t.restrictLabelManagementToAdmins??void 0,this.restrictTeamCreationToAdmins=t.restrictTeamCreationToAdmins??void 0,this.roadmapEnabled=t.roadmapEnabled,this.samlEnabled=t.samlEnabled,this.scimEnabled=t.scimEnabled,this.securitySettings=t.securitySettings,this.slackProjectChannelPrefix=t.slackProjectChannelPrefix,this.trialEndsAt=E(t.trialEndsAt)??void 0,this.trialStartsAt=E(t.trialStartsAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.urlKey=t.urlKey,this.userCount=t.userCount,this.subscription=t.subscription?new op(e,t.subscription):void 0,this.ipRestrictions=t.ipRestrictions?t.ipRestrictions.map(t=>new rp(e,t)):void 0,this.projectStatuses=t.projectStatuses.map(t=>new Ap(e,t)),this.defaultFeedSummarySchedule=t.defaultFeedSummarySchedule??void 0,this.initiativeUpdateRemindersDay=t.initiativeUpdateRemindersDay,this.projectUpdateRemindersDay=t.projectUpdateRemindersDay,this.projectUpdatesReminderFrequency=t.projectUpdatesReminderFrequency,this.releaseChannel=t.releaseChannel,this.slaDayCount=t.slaDayCount,this._slackProjectChannelIntegration=t.slackProjectChannelIntegration??void 0}aiDiscussionSummariesEnabled;aiThreadSummariesEnabled;allowMembersToInvite;allowedAuthServices;allowedFileUploadContentTypes;archivedAt;createdAt;createdIssueCount;customerCount;customersConfiguration;customersEnabled;deletionRequestedAt;feedEnabled;fiscalYearStartMonth;gitBranchFormat;gitLinkbackDescriptionsEnabled;gitLinkbackMessagesEnabled;gitPublicLinkbackMessagesEnabled;hideNonPrimaryOrganizations;hipaaComplianceEnabled;id;initiativeUpdateReminderFrequencyInWeeks;initiativeUpdateRemindersHour;logoUrl;name;periodUploadVolume;previousUrlKeys;projectUpdateReminderFrequencyInWeeks;projectUpdateRemindersHour;restrictLabelManagementToAdmins;restrictTeamCreationToAdmins;roadmapEnabled;samlEnabled;scimEnabled;securitySettings;slackProjectChannelPrefix;trialEndsAt;trialStartsAt;updatedAt;urlKey;userCount;ipRestrictions;projectStatuses;subscription;defaultFeedSummarySchedule;initiativeUpdateRemindersDay;projectUpdateRemindersDay;projectUpdatesReminderFrequency;releaseChannel;slaDayCount;get slackProjectChannelIntegration(){return this._slackProjectChannelIntegration?.id?new U(this._request).fetch(this._slackProjectChannelIntegration?.id):void 0}get slackProjectChannelIntegrationId(){return this._slackProjectChannelIntegration?.id}integrations(e){return new JS(this._request,e).fetch(e)}labels(e){return new YS(this._request,e).fetch(e)}projectLabels(e){return new XS(this._request,e).fetch(e)}teams(e){return new ZS(this._request,e).fetch(e)}templates(e){return new QS(this._request,e).fetch(e)}users(e){return new $S(this._request,e).fetch(e)}delete(e){return new Ob(this._request).fetch(e)}update(e){return new Ib(this._request).fetch(e)}},Zf=class extends C{constructor(e,t){super(e),this.success=t.success}success},Qf=class extends C{constructor(e,t){super(e),this.success=t.success}success},$f=class extends C{constructor(e,t){super(e),this.exists=t.exists,this.success=t.success}exists;success},ep=class extends C{_invitee;_inviter;constructor(e,t){super(e),this.acceptedAt=E(t.acceptedAt)??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.email=t.email,this.expiresAt=E(t.expiresAt)??void 0,this.external=t.external,this.id=t.id,this.metadata=t.metadata??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.role=t.role,this._invitee=t.invitee??void 0,this._inviter=t.inviter}acceptedAt;archivedAt;createdAt;email;expiresAt;external;id;metadata;updatedAt;role;get invitee(){return this._invitee?.id?new Q(this._request).fetch(this._invitee?.id):void 0}get inviteeId(){return this._invitee?.id}get inviter(){return new Q(this._request).fetch(this._inviter.id)}get inviterId(){return this._inviter?.id}get organization(){return new K(this._request).fetch()}create(e){return new jb(this._request).fetch(e)}delete(){return new Mb(this._request).fetch(this.id)}update(e){return new Nb(this._request).fetch(this.id,e)}},tp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new ep(e,t)),new P(e,n.pageInfo))}},np=class extends C{_organizationInvite;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._organizationInvite=t.organizationInvite}lastSyncId;success;get organizationInvite(){return new gg(this._request).fetch(this._organizationInvite.id)}get organizationInviteId(){return this._organizationInvite?.id}},rp=class extends C{constructor(e,t){super(e),this.description=t.description??void 0,this.enabled=t.enabled,this.range=t.range,this.type=t.type}description;enabled;range;type},ip=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success;get organization(){return new K(this._request).fetch()}},ap=class extends C{constructor(e,t){super(e),this.success=t.success}success},P=class extends C{constructor(e,t){super(e),this.endCursor=t.endCursor??void 0,this.hasNextPage=t.hasNextPage,this.hasPreviousPage=t.hasPreviousPage,this.startCursor=t.startCursor??void 0}endCursor;hasNextPage;hasPreviousPage;startCursor},op=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.cancelAt=E(t.cancelAt)??void 0,this.canceledAt=E(t.canceledAt)??void 0,this.collectionMethod=t.collectionMethod,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.nextBillingAt=E(t.nextBillingAt)??void 0,this.pendingChangeType=t.pendingChangeType??void 0,this.seats=t.seats,this.seatsMaximum=t.seatsMaximum??void 0,this.seatsMinimum=t.seatsMinimum??void 0,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0}archivedAt;cancelAt;canceledAt;collectionMethod;createdAt;id;nextBillingAt;pendingChangeType;seats;seatsMaximum;seatsMinimum;type;updatedAt;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}},sp=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.parentCommentId=t.parentCommentId??void 0,this.postId=t.postId,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;parentCommentId;postId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},cp=class extends C{_convertedFromIssue;_creator;_favorite;_integrationsSettings;_lastAppliedTemplate;_lastUpdate;_lead;_status;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.canceledAt=E(t.canceledAt)??void 0,this.color=t.color,this.completedAt=E(t.completedAt)??void 0,this.completedIssueCountHistory=t.completedIssueCountHistory,this.completedScopeHistory=t.completedScopeHistory,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description,this.healthUpdatedAt=E(t.healthUpdatedAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.inProgressScopeHistory=t.inProgressScopeHistory,this.issueCountHistory=t.issueCountHistory,this.labelIds=t.labelIds,this.name=t.name,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.progress=t.progress,this.projectUpdateRemindersPausedUntilAt=E(t.projectUpdateRemindersPausedUntilAt)??void 0,this.scope=t.scope,this.scopeHistory=t.scopeHistory,this.slackIssueComments=t.slackIssueComments,this.slackIssueStatuses=t.slackIssueStatuses,this.slackNewIssue=t.slackNewIssue,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.startDate=t.startDate??void 0,this.startedAt=E(t.startedAt)??void 0,this.state=t.state,this.targetDate=t.targetDate??void 0,this.trashed=t.trashed??void 0,this.updateReminderFrequency=t.updateReminderFrequency??void 0,this.updateReminderFrequencyInWeeks=t.updateReminderFrequencyInWeeks??void 0,this.updateRemindersHour=t.updateRemindersHour??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.documentContent=t.documentContent?new Gu(e,t.documentContent):void 0,this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new dd(e,t)):void 0,this.frequencyResolution=t.frequencyResolution,this.health=t.health??void 0,this.startDateResolution=t.startDateResolution??void 0,this.targetDateResolution=t.targetDateResolution??void 0,this.updateRemindersDay=t.updateRemindersDay??void 0,this._convertedFromIssue=t.convertedFromIssue??void 0,this._creator=t.creator??void 0,this._favorite=t.favorite??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._lastUpdate=t.lastUpdate??void 0,this._lead=t.lead??void 0,this._status=t.status}archivedAt;autoArchivedAt;canceledAt;color;completedAt;completedIssueCountHistory;completedScopeHistory;content;createdAt;description;healthUpdatedAt;icon;id;inProgressScopeHistory;issueCountHistory;labelIds;name;priority;priorityLabel;prioritySortOrder;progress;projectUpdateRemindersPausedUntilAt;scope;scopeHistory;slackIssueComments;slackIssueStatuses;slackNewIssue;slugId;sortOrder;startDate;startedAt;state;targetDate;trashed;updateReminderFrequency;updateReminderFrequencyInWeeks;updateRemindersHour;updatedAt;url;syncedWith;documentContent;frequencyResolution;health;startDateResolution;targetDateResolution;updateRemindersDay;get convertedFromIssue(){return this._convertedFromIssue?.id?new W(this._request).fetch(this._convertedFromIssue?.id):void 0}get convertedFromIssueId(){return this._convertedFromIssue?.id}get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get favorite(){return this._favorite?.id?new Rh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Xh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new Z(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get lastUpdate(){return this._lastUpdate?.id?new Y(this._request).fetch(this._lastUpdate?.id):void 0}get lastUpdateId(){return this._lastUpdate?.id}get lead(){return this._lead?.id?new Q(this._request).fetch(this._lead?.id):void 0}get leadId(){return this._lead?.id}get status(){return new wg(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}attachments(e){return new eC(this._request,this.id,e).fetch(e)}comments(e){return new tC(this._request,this.id,e).fetch(e)}documents(e){return new nC(this._request,this.id,e).fetch(e)}externalLinks(e){return new rC(this._request,this.id,e).fetch(e)}history(e){return new iC(this._request,this.id,e).fetch(e)}initiativeToProjects(e){return new aC(this._request,this.id,e).fetch(e)}initiatives(e){return new oC(this._request,this.id,e).fetch(e)}inverseRelations(e){return new sC(this._request,this.id,e).fetch(e)}issues(e){return new cC(this._request,this.id,e).fetch(e)}labels(e){return new lC(this._request,this.id,e).fetch(e)}members(e){return new uC(this._request,this.id,e).fetch(e)}needs(e){return new dC(this._request,this.id,e).fetch(e)}projectMilestones(e){return new fC(this._request,this.id,e).fetch(e)}projectUpdates(e){return new pC(this._request,this.id,e).fetch(e)}relations(e){return new mC(this._request,this.id,e).fetch(e)}teams(e){return new hC(this._request,this.id,e).fetch(e)}archive(e){return new Rb(this._request).fetch(this.id,e)}create(e,t){return new zb(this._request).fetch(e,t)}delete(){return new Bb(this._request).fetch(this.id)}unarchive(){return new ix(this._request).fetch(this.id)}update(){return new Y(this._request).fetch(this.id)}},lp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new q(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},up=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.metadata=t.metadata,this.source=t.source??void 0,this.sourceType=t.sourceType??void 0,this.subtitle=t.subtitle??void 0,this.title=t.title,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator??void 0}archivedAt;createdAt;id;metadata;source;sourceType;subtitle;title;updatedAt;url;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}},dp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new up(e,t)),new P(e,n.pageInfo))}},fp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new cp(e,t)),new P(e,n.pageInfo))}},pp=class extends C{constructor(e,t){super(e),this.filter=t.filter??void 0,this.logId=t.logId??void 0}filter;logId},mp=class extends C{_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.entries=t.entries,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._project=t.project}archivedAt;createdAt;entries;id;updatedAt;get project(){return new q(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}},hp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new mp(e,t)),new P(e,n.pageInfo))}},gp=class extends C{_creator;_parent;_retiredBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.isGroup=t.isGroup,this.lastAppliedAt=E(t.lastAppliedAt)??void 0,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0,this._parent=t.parent??void 0,this._retiredBy=t.retiredBy??void 0}archivedAt;color;createdAt;description;id;isGroup;lastAppliedAt;name;updatedAt;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}get parent(){return this._parent?.id?new yg(this._request).fetch(this._parent?.id):void 0}get parentId(){return this._parent?.id}get retiredBy(){return this._retiredBy?.id?new Q(this._request).fetch(this._retiredBy?.id):void 0}get retiredById(){return this._retiredBy?.id}children(e){return new gC(this._request,this.id,e).fetch(e)}projects(e){return new _C(this._request,this.id,e).fetch(e)}create(e){return new Hb(this._request).fetch(e)}delete(){return new Ub(this._request).fetch(this.id)}update(e){return new Kb(this._request).fetch(this.id,e)}},_p=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new gp(e,t)),new P(e,n.pageInfo))}},vp=class extends C{_projectLabel;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectLabel=t.projectLabel}lastSyncId;success;get projectLabel(){return new yg(this._request).fetch(this._projectLabel.id)}get projectLabelId(){return this._projectLabel?.id}},yp=class extends C{_project;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.name=t.name,this.progress=t.progress,this.sortOrder=t.sortOrder,this.targetDate=t.targetDate??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.documentContent=t.documentContent?new Gu(e,t.documentContent):void 0,this.status=t.status,this._project=t.project}archivedAt;createdAt;description;id;name;progress;sortOrder;targetDate;updatedAt;documentContent;status;get project(){return new q(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}issues(e){return new vC(this._request,this.id,e).fetch(e)}create(e){return new qb(this._request).fetch(e)}delete(){return new Jb(this._request).fetch(this.id)}update(e){return new Yb(this._request).fetch(this.id,e)}},bp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new yp(e,t)),new P(e,n.pageInfo))}},xp=class extends C{_projectMilestone;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectMilestone=t.projectMilestone}lastSyncId;success;get projectMilestone(){return new J(this._request).fetch(this._projectMilestone.id)}get projectMilestoneId(){return this._projectMilestone?.id}},Sp=class extends C{_actor;_comment;_document;_externalUserActor;_parentComment;_project;_projectUpdate;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.commentId=t.commentId??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.parentCommentId=t.parentCommentId??void 0,this.projectId=t.projectId,this.projectMilestoneId=t.projectMilestoneId??void 0,this.projectUpdateId=t.projectUpdateId??void 0,this.reactionEmoji=t.reactionEmoji??void 0,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._comment=t.comment??void 0,this._document=t.document??void 0,this._externalUserActor=t.externalUserActor??void 0,this._parentComment=t.parentComment??void 0,this._project=t.project,this._projectUpdate=t.projectUpdate??void 0,this._user=t.user}archivedAt;commentId;createdAt;emailedAt;id;parentCommentId;projectId;projectMilestoneId;projectUpdateId;reactionEmoji;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get document(){return this._document?.id?new z(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get parentComment(){return this._parentComment?.id?new F(this._request).fetch({id:this._parentComment?.id}):void 0}get project(){return new q(this._request).fetch(this._project.id)}get projectUpdate(){return this._projectUpdate?.id?new Y(this._request).fetch(this._projectUpdate?.id):void 0}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Cp=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return new q(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},wp=class extends C{_project;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._project=t.project??void 0}lastSyncId;success;get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}},Tp=class extends C{_project;_projectMilestone;_relatedProject;_relatedProjectMilestone;_user;constructor(e,t){super(e),this.anchorType=t.anchorType,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.relatedAnchorType=t.relatedAnchorType,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._project=t.project,this._projectMilestone=t.projectMilestone??void 0,this._relatedProject=t.relatedProject,this._relatedProjectMilestone=t.relatedProjectMilestone??void 0,this._user=t.user??void 0}anchorType;archivedAt;createdAt;id;relatedAnchorType;type;updatedAt;get project(){return new q(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get projectMilestone(){return this._projectMilestone?.id?new J(this._request).fetch(this._projectMilestone?.id):void 0}get projectMilestoneId(){return this._projectMilestone?.id}get relatedProject(){return new q(this._request).fetch(this._relatedProject.id)}get relatedProjectId(){return this._relatedProject?.id}get relatedProjectMilestone(){return this._relatedProjectMilestone?.id?new J(this._request).fetch(this._relatedProjectMilestone?.id):void 0}get relatedProjectMilestoneId(){return this._relatedProjectMilestone?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new Xb(this._request).fetch(e)}delete(){return new Zb(this._request).fetch(this.id)}update(e){return new Qb(this._request).fetch(this.id,e)}},Ep=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Tp(e,t)),new P(e,n.pageInfo))}},Dp=class extends C{_projectRelation;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectRelation=t.projectRelation}lastSyncId;success;get projectRelation(){return new Sg(this._request).fetch(this._projectRelation.id)}get projectRelationId(){return this._projectRelation?.id}},Op=class extends C{constructor(e,t){super(e),this.totalCount=t.totalCount,this.archivePayload=new Ql(e,t.archivePayload),this.pageInfo=new P(e,t.pageInfo),this.nodes=t.nodes.map(t=>new kp(e,t))}totalCount;nodes;archivePayload;pageInfo},kp=class extends C{_convertedFromIssue;_creator;_favorite;_integrationsSettings;_lastAppliedTemplate;_lastUpdate;_lead;_status;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivedAt=E(t.autoArchivedAt)??void 0,this.canceledAt=E(t.canceledAt)??void 0,this.color=t.color,this.completedAt=E(t.completedAt)??void 0,this.completedIssueCountHistory=t.completedIssueCountHistory,this.completedScopeHistory=t.completedScopeHistory,this.content=t.content??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description,this.healthUpdatedAt=E(t.healthUpdatedAt)??void 0,this.icon=t.icon??void 0,this.id=t.id,this.inProgressScopeHistory=t.inProgressScopeHistory,this.issueCountHistory=t.issueCountHistory,this.labelIds=t.labelIds,this.metadata=t.metadata,this.name=t.name,this.priority=t.priority,this.priorityLabel=t.priorityLabel,this.prioritySortOrder=t.prioritySortOrder,this.progress=t.progress,this.projectUpdateRemindersPausedUntilAt=E(t.projectUpdateRemindersPausedUntilAt)??void 0,this.scope=t.scope,this.scopeHistory=t.scopeHistory,this.slackIssueComments=t.slackIssueComments,this.slackIssueStatuses=t.slackIssueStatuses,this.slackNewIssue=t.slackNewIssue,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.startDate=t.startDate??void 0,this.startedAt=E(t.startedAt)??void 0,this.state=t.state,this.targetDate=t.targetDate??void 0,this.trashed=t.trashed??void 0,this.updateReminderFrequency=t.updateReminderFrequency??void 0,this.updateReminderFrequencyInWeeks=t.updateReminderFrequencyInWeeks??void 0,this.updateRemindersHour=t.updateRemindersHour??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.documentContent=t.documentContent?new Gu(e,t.documentContent):void 0,this.syncedWith=t.syncedWith?t.syncedWith.map(t=>new dd(e,t)):void 0,this.frequencyResolution=t.frequencyResolution,this.health=t.health??void 0,this.startDateResolution=t.startDateResolution??void 0,this.targetDateResolution=t.targetDateResolution??void 0,this.updateRemindersDay=t.updateRemindersDay??void 0,this._convertedFromIssue=t.convertedFromIssue??void 0,this._creator=t.creator??void 0,this._favorite=t.favorite??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._lastAppliedTemplate=t.lastAppliedTemplate??void 0,this._lastUpdate=t.lastUpdate??void 0,this._lead=t.lead??void 0,this._status=t.status}archivedAt;autoArchivedAt;canceledAt;color;completedAt;completedIssueCountHistory;completedScopeHistory;content;createdAt;description;healthUpdatedAt;icon;id;inProgressScopeHistory;issueCountHistory;labelIds;metadata;name;priority;priorityLabel;prioritySortOrder;progress;projectUpdateRemindersPausedUntilAt;scope;scopeHistory;slackIssueComments;slackIssueStatuses;slackNewIssue;slugId;sortOrder;startDate;startedAt;state;targetDate;trashed;updateReminderFrequency;updateReminderFrequencyInWeeks;updateRemindersHour;updatedAt;url;syncedWith;documentContent;frequencyResolution;health;startDateResolution;targetDateResolution;updateRemindersDay;get convertedFromIssue(){return this._convertedFromIssue?.id?new W(this._request).fetch(this._convertedFromIssue?.id):void 0}get convertedFromIssueId(){return this._convertedFromIssue?.id}get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get favorite(){return this._favorite?.id?new Rh(this._request).fetch(this._favorite?.id):void 0}get favoriteId(){return this._favorite?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Xh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get lastAppliedTemplate(){return this._lastAppliedTemplate?.id?new Z(this._request).fetch(this._lastAppliedTemplate?.id):void 0}get lastAppliedTemplateId(){return this._lastAppliedTemplate?.id}get lastUpdate(){return this._lastUpdate?.id?new Y(this._request).fetch(this._lastUpdate?.id):void 0}get lastUpdateId(){return this._lastUpdate?.id}get lead(){return this._lead?.id?new Q(this._request).fetch(this._lead?.id):void 0}get leadId(){return this._lead?.id}get status(){return new wg(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}},Ap=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.indefinite=t.indefinite,this.name=t.name,this.position=t.position,this.updatedAt=E(t.updatedAt)??new Date,this.type=t.type}archivedAt;color;createdAt;description;id;indefinite;name;position;updatedAt;type;archive(){return new ex(this._request).fetch(this.id)}create(e){return new tx(this._request).fetch(e)}unarchive(){return new nx(this._request).fetch(this.id)}update(e){return new rx(this._request).fetch(this.id,e)}},jp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new wg(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Mp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Ap(e,t)),new P(e,n.pageInfo))}},Np=class extends C{_status;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._status=t.status}lastSyncId;success;get status(){return new wg(this._request).fetch(this._status.id)}get statusId(){return this._status?.id}},Pp=class extends C{_project;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.body=t.body,this.commentCount=t.commentCount,this.createdAt=E(t.createdAt)??new Date,this.diff=t.diff??void 0,this.diffMarkdown=t.diffMarkdown??void 0,this.editedAt=E(t.editedAt)??void 0,this.id=t.id,this.isDiffHidden=t.isDiffHidden,this.isStale=t.isStale,this.reactionData=t.reactionData,this.slugId=t.slugId,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this.reactions=t.reactions.map(t=>new Gp(e,t)),this.health=t.health,this._project=t.project,this._user=t.user}archivedAt;body;commentCount;createdAt;diff;diffMarkdown;editedAt;id;isDiffHidden;isStale;reactionData;slugId;updatedAt;url;reactions;health;get project(){return new q(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}comments(e){return new yC(this._request,this.id,e).fetch(e)}archive(){return new ox(this._request).fetch(this.id)}create(e){return new sx(this._request).fetch(e)}delete(){return new cx(this._request).fetch(this.id)}unarchive(){return new lx(this._request).fetch(this.id)}update(e){return new ux(this._request).fetch(this.id,e)}},Fp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new Y(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Ip=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Pp(e,t)),new P(e,n.pageInfo))}},Lp=class extends C{_projectUpdate;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._projectUpdate=t.projectUpdate}lastSyncId;success;get projectUpdate(){return new Y(this._request).fetch(this._projectUpdate.id)}get projectUpdateId(){return this._projectUpdate?.id}},Rp=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},zp=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.pullRequestCommentId=t.pullRequestCommentId??void 0,this.pullRequestId=t.pullRequestId,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;pullRequestCommentId;pullRequestId;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Bp=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date}archivedAt;createdAt;id;updatedAt;create(e){return new dx(this._request).fetch(e)}delete(){return new fx(this._request).fetch(this.id)}},Vp=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.entity=new Bp(e,t.entity)}lastSyncId;success;entity},Hp=class extends C{constructor(e,t){super(e),this.success=t.success}success},Up=class extends C{constructor(e,t){super(e),this.identifier=t.identifier??void 0,this.kind=t.kind,this.limits=t.limits.map(t=>new Wp(e,t))}identifier;kind;limits},Wp=class extends C{constructor(e,t){super(e),this.allowedAmount=t.allowedAmount,this.period=t.period,this.remainingAmount=t.remainingAmount,this.requestedAmount=t.requestedAmount,this.reset=t.reset,this.type=t.type}allowedAmount;period;remainingAmount;requestedAmount;reset;type},Gp=class extends C{_comment;_externalUser;_initiativeUpdate;_issue;_projectUpdate;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emoji=t.emoji,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this._comment=t.comment??void 0,this._externalUser=t.externalUser??void 0,this._initiativeUpdate=t.initiativeUpdate??void 0,this._issue=t.issue??void 0,this._projectUpdate=t.projectUpdate??void 0,this._user=t.user??void 0}archivedAt;createdAt;emoji;id;updatedAt;get comment(){return this._comment?.id?new F(this._request).fetch({id:this._comment?.id}):void 0}get commentId(){return this._comment?.id}get externalUser(){return this._externalUser?.id?new B(this._request).fetch(this._externalUser?.id):void 0}get externalUserId(){return this._externalUser?.id}get initiativeUpdate(){return this._initiativeUpdate?.id?new H(this._request).fetch(this._initiativeUpdate?.id):void 0}get initiativeUpdateId(){return this._initiativeUpdate?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get projectUpdate(){return this._projectUpdate?.id?new Y(this._request).fetch(this._projectUpdate?.id):void 0}get projectUpdateId(){return this._projectUpdate?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}create(e){return new px(this._request).fetch(e)}delete(){return new mx(this._request).fetch(this.id)}},Kp=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.reaction=new Gp(e,t.reaction)}lastSyncId;success;reaction},qp=class extends C{constructor(e,t){super(e),this.confidence=t.confidence,this.hostname=t.hostname??void 0,this.repositoryFullName=t.repositoryFullName}confidence;hostname;repositoryFullName},Jp=class extends C{constructor(e,t){super(e),this.suggestions=t.suggestions.map(t=>new qp(e,t))}suggestions},Yp=class extends C{_creator;_owner;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.name=t.name,this.slugId=t.slugId,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url,this._creator=t.creator,this._owner=t.owner??void 0}archivedAt;color;createdAt;description;id;name;slugId;sortOrder;updatedAt;url;get creator(){return new Q(this._request).fetch(this._creator.id)}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}get owner(){return this._owner?.id?new Q(this._request).fetch(this._owner?.id):void 0}get ownerId(){return this._owner?.id}projects(e){return new bC(this._request,this.id,e).fetch(e)}archive(){return new vx(this._request).fetch(this.id)}create(e){return new yx(this._request).fetch(e)}delete(){return new bx(this._request).fetch(this.id)}unarchive(){return new wx(this._request).fetch(this.id)}update(e){return new Tx(this._request).fetch(this.id,e)}},Xp=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new Ag(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},Zp=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Yp(e,t)),new P(e,n.pageInfo))}},Qp=class extends C{_roadmap;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._roadmap=t.roadmap}lastSyncId;success;get roadmap(){return new Ag(this._request).fetch(this._roadmap.id)}get roadmapId(){return this._roadmap?.id}},$p=class extends C{_project;_roadmap;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._project=t.project,this._roadmap=t.roadmap}archivedAt;createdAt;id;sortOrder;updatedAt;get project(){return new q(this._request).fetch(this._project.id)}get projectId(){return this._project?.id}get roadmap(){return new Ag(this._request).fetch(this._roadmap.id)}get roadmapId(){return this._roadmap?.id}create(e){return new xx(this._request).fetch(e)}delete(){return new Sx(this._request).fetch(this.id)}update(e){return new Cx(this._request).fetch(this.id,e)}},em=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new $p(e,t)),new P(e,n.pageInfo))}},tm=class extends C{_roadmapToProject;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._roadmapToProject=t.roadmapToProject}lastSyncId;success;get roadmapToProject(){return new jg(this._request).fetch(this._roadmapToProject.id)}get roadmapToProjectId(){return this._roadmapToProject?.id}},nm=class extends C{constructor(e,t){super(e),this.enabled=t.enabled,this.results=t.results.map(t=>new rm(e,t))}enabled;results},rm=class extends C{_document;_initiative;_issue;_project;constructor(e,t){super(e),this.id=t.id,this.type=t.type,this._document=t.document??void 0,this._initiative=t.initiative??void 0,this._issue=t.issue??void 0,this._project=t.project??void 0}id;type;get document(){return this._document?.id?new z(this._request).fetch(this._document?.id):void 0}get documentId(){return this._document?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get issue(){return this._issue?.id?new W(this._request).fetch(this._issue?.id):void 0}get issueId(){return this._issue?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}},im=class extends C{_creator;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.canSendFromCustomDomain=t.canSendFromCustomDomain,this.createdAt=E(t.createdAt)??new Date,this.domain=t.domain,this.id=t.id,this.region=t.region,this.updatedAt=E(t.updatedAt)??new Date,this.dnsRecords=t.dnsRecords.map(t=>new am(e,t)),this._creator=t.creator??void 0}archivedAt;canSendFromCustomDomain;createdAt;domain;id;region;updatedAt;dnsRecords;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get organization(){return new K(this._request).fetch()}},am=class extends C{constructor(e,t){super(e),this.content=t.content,this.isVerified=t.isVerified,this.name=t.name,this.type=t.type}content;isVerified;name;type},om=class extends C{constructor(e,t){super(e),this.hasDefaultAsk=t.hasDefaultAsk,this.id=t.id}hasDefaultAsk;id},sm=class extends C{_integration;constructor(e,t){super(e),this.addBot=t.addBot,this.lastSyncId=t.lastSyncId,this.nudgeToConnectMainSlackIntegration=t.nudgeToConnectMainSlackIntegration??void 0,this.nudgeToUpdateMainSlackIntegration=t.nudgeToUpdateMainSlackIntegration??void 0,this.success=t.success,this._integration=t.integration??void 0}addBot;lastSyncId;nudgeToConnectMainSlackIntegration;nudgeToUpdateMainSlackIntegration;success;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}},cm=class extends C{constructor(e,t){super(e),this.aiTitles=t.aiTitles??void 0,this.autoCreateOnBotMention=t.autoCreateOnBotMention??void 0,this.autoCreateOnEmoji=t.autoCreateOnEmoji??void 0,this.autoCreateOnMessage=t.autoCreateOnMessage??void 0,this.autoCreateTemplateId=t.autoCreateTemplateId??void 0,this.botAdded=t.botAdded??void 0,this.id=t.id,this.isPrivate=t.isPrivate??void 0,this.isShared=t.isShared??void 0,this.name=t.name,this.postAcceptedFromTriageUpdates=t.postAcceptedFromTriageUpdates??void 0,this.postCancellationUpdates=t.postCancellationUpdates??void 0,this.postCompletionUpdates=t.postCompletionUpdates??void 0,this.teams=t.teams.map(t=>new om(e,t))}aiTitles;autoCreateOnBotMention;autoCreateOnEmoji;autoCreateOnMessage;autoCreateTemplateId;botAdded;id;isPrivate;isShared;name;postAcceptedFromTriageUpdates;postCancellationUpdates;postCompletionUpdates;teams},lm=class extends C{constructor(e,t){super(e),this.samlSsoUrl=t.samlSsoUrl,this.success=t.success}samlSsoUrl;success},um=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},dm=class extends C{constructor(e,t){super(e),this.displayName=t.displayName??void 0,this.id=t.id??void 0,this.isConnected=t.isConnected,this.isPersonalIntegrationConnected=t.isPersonalIntegrationConnected,this.isPersonalIntegrationRequired=t.isPersonalIntegrationRequired,this.name=t.name??void 0,this.subType=t.subType??void 0,this.type=t.type,this.url=t.url??void 0}displayName;id;isConnected;isPersonalIntegrationConnected;isPersonalIntegrationRequired;name;subType;type;url},fm=class extends C{_activeCycle;_defaultIssueState;_defaultProjectTemplate;_defaultTemplateForMembers;_defaultTemplateForNonMembers;_draftWorkflowState;_integrationsSettings;_markedAsDuplicateWorkflowState;_mergeWorkflowState;_mergeableWorkflowState;_reviewWorkflowState;_startWorkflowState;_triageIssueState;_triageResponsibility;constructor(e,t){super(e),this.aiDiscussionSummariesEnabled=t.aiDiscussionSummariesEnabled,this.aiThreadSummariesEnabled=t.aiThreadSummariesEnabled,this.allMembersCanJoin=t.allMembersCanJoin??void 0,this.archivedAt=E(t.archivedAt)??void 0,this.autoArchivePeriod=t.autoArchivePeriod,this.autoCloseChildIssues=t.autoCloseChildIssues??void 0,this.autoCloseParentIssues=t.autoCloseParentIssues??void 0,this.autoClosePeriod=t.autoClosePeriod??void 0,this.autoCloseStateId=t.autoCloseStateId??void 0,this.color=t.color??void 0,this.createdAt=E(t.createdAt)??new Date,this.cycleCalenderUrl=t.cycleCalenderUrl,this.cycleCooldownTime=t.cycleCooldownTime,this.cycleDuration=t.cycleDuration,this.cycleIssueAutoAssignCompleted=t.cycleIssueAutoAssignCompleted,this.cycleIssueAutoAssignStarted=t.cycleIssueAutoAssignStarted,this.cycleLockToActive=t.cycleLockToActive,this.cycleStartDay=t.cycleStartDay,this.cyclesEnabled=t.cyclesEnabled,this.defaultIssueEstimate=t.defaultIssueEstimate,this.defaultTemplateForMembersId=t.defaultTemplateForMembersId??void 0,this.defaultTemplateForNonMembersId=t.defaultTemplateForNonMembersId??void 0,this.description=t.description??void 0,this.displayName=t.displayName,this.groupIssueHistory=t.groupIssueHistory,this.icon=t.icon??void 0,this.id=t.id,this.inheritIssueEstimation=t.inheritIssueEstimation,this.inheritWorkflowStatuses=t.inheritWorkflowStatuses,this.inviteHash=t.inviteHash,this.issueCount=t.issueCount,this.issueEstimationAllowZero=t.issueEstimationAllowZero,this.issueEstimationExtended=t.issueEstimationExtended,this.issueEstimationType=t.issueEstimationType,this.issueOrderingNoPriorityFirst=t.issueOrderingNoPriorityFirst,this.issueSortOrderDefaultToBottom=t.issueSortOrderDefaultToBottom,this.key=t.key,this.name=t.name,this.private=t.private,this.requirePriorityToLeaveTriage=t.requirePriorityToLeaveTriage,this.retiredAt=E(t.retiredAt)??void 0,this.scimGroupName=t.scimGroupName??void 0,this.scimManaged=t.scimManaged,this.securitySettings=t.securitySettings,this.setIssueSortOrderOnStateChange=t.setIssueSortOrderOnStateChange,this.slackIssueComments=t.slackIssueComments,this.slackIssueStatuses=t.slackIssueStatuses,this.slackNewIssue=t.slackNewIssue,this.timezone=t.timezone,this.triageEnabled=t.triageEnabled,this.upcomingCycleCount=t.upcomingCycleCount,this.updatedAt=E(t.updatedAt)??new Date,this._activeCycle=t.activeCycle??void 0,this._defaultIssueState=t.defaultIssueState??void 0,this._defaultProjectTemplate=t.defaultProjectTemplate??void 0,this._defaultTemplateForMembers=t.defaultTemplateForMembers??void 0,this._defaultTemplateForNonMembers=t.defaultTemplateForNonMembers??void 0,this._draftWorkflowState=t.draftWorkflowState??void 0,this._integrationsSettings=t.integrationsSettings??void 0,this._markedAsDuplicateWorkflowState=t.markedAsDuplicateWorkflowState??void 0,this._mergeWorkflowState=t.mergeWorkflowState??void 0,this._mergeableWorkflowState=t.mergeableWorkflowState??void 0,this._reviewWorkflowState=t.reviewWorkflowState??void 0,this._startWorkflowState=t.startWorkflowState??void 0,this._triageIssueState=t.triageIssueState??void 0,this._triageResponsibility=t.triageResponsibility??void 0}aiDiscussionSummariesEnabled;aiThreadSummariesEnabled;allMembersCanJoin;archivedAt;autoArchivePeriod;autoCloseChildIssues;autoCloseParentIssues;autoClosePeriod;autoCloseStateId;color;createdAt;cycleCalenderUrl;cycleCooldownTime;cycleDuration;cycleIssueAutoAssignCompleted;cycleIssueAutoAssignStarted;cycleLockToActive;cycleStartDay;cyclesEnabled;defaultIssueEstimate;defaultTemplateForMembersId;defaultTemplateForNonMembersId;description;displayName;groupIssueHistory;icon;id;inheritIssueEstimation;inheritWorkflowStatuses;inviteHash;issueCount;issueEstimationAllowZero;issueEstimationExtended;issueEstimationType;issueOrderingNoPriorityFirst;issueSortOrderDefaultToBottom;key;name;private;requirePriorityToLeaveTriage;retiredAt;scimGroupName;scimManaged;securitySettings;setIssueSortOrderOnStateChange;slackIssueComments;slackIssueStatuses;slackNewIssue;timezone;triageEnabled;upcomingCycleCount;updatedAt;get activeCycle(){return this._activeCycle?.id?new R(this._request).fetch(this._activeCycle?.id):void 0}get activeCycleId(){return this._activeCycle?.id}get defaultIssueState(){return this._defaultIssueState?.id?new $(this._request).fetch(this._defaultIssueState?.id):void 0}get defaultIssueStateId(){return this._defaultIssueState?.id}get defaultProjectTemplate(){return this._defaultProjectTemplate?.id?new Z(this._request).fetch(this._defaultProjectTemplate?.id):void 0}get defaultProjectTemplateId(){return this._defaultProjectTemplate?.id}get defaultTemplateForMembers(){return this._defaultTemplateForMembers?.id?new Z(this._request).fetch(this._defaultTemplateForMembers?.id):void 0}get defaultTemplateForNonMembers(){return this._defaultTemplateForNonMembers?.id?new Z(this._request).fetch(this._defaultTemplateForNonMembers?.id):void 0}get draftWorkflowState(){return this._draftWorkflowState?.id?new $(this._request).fetch(this._draftWorkflowState?.id):void 0}get draftWorkflowStateId(){return this._draftWorkflowState?.id}get integrationsSettings(){return this._integrationsSettings?.id?new Xh(this._request).fetch(this._integrationsSettings?.id):void 0}get integrationsSettingsId(){return this._integrationsSettings?.id}get markedAsDuplicateWorkflowState(){return this._markedAsDuplicateWorkflowState?.id?new $(this._request).fetch(this._markedAsDuplicateWorkflowState?.id):void 0}get markedAsDuplicateWorkflowStateId(){return this._markedAsDuplicateWorkflowState?.id}get mergeWorkflowState(){return this._mergeWorkflowState?.id?new $(this._request).fetch(this._mergeWorkflowState?.id):void 0}get mergeWorkflowStateId(){return this._mergeWorkflowState?.id}get mergeableWorkflowState(){return this._mergeableWorkflowState?.id?new $(this._request).fetch(this._mergeableWorkflowState?.id):void 0}get mergeableWorkflowStateId(){return this._mergeableWorkflowState?.id}get organization(){return new K(this._request).fetch()}get reviewWorkflowState(){return this._reviewWorkflowState?.id?new $(this._request).fetch(this._reviewWorkflowState?.id):void 0}get reviewWorkflowStateId(){return this._reviewWorkflowState?.id}get startWorkflowState(){return this._startWorkflowState?.id?new $(this._request).fetch(this._startWorkflowState?.id):void 0}get startWorkflowStateId(){return this._startWorkflowState?.id}get triageIssueState(){return this._triageIssueState?.id?new $(this._request).fetch(this._triageIssueState?.id):void 0}get triageIssueStateId(){return this._triageIssueState?.id}get triageResponsibility(){return this._triageResponsibility?.id?new qg(this._request).fetch(this._triageResponsibility?.id):void 0}get triageResponsibilityId(){return this._triageResponsibility?.id}cycles(e){return new xC(this._request,this.id,e).fetch(e)}gitAutomationStates(e){return new SC(this._request,this.id,e).fetch(e)}issues(e){return new CC(this._request,this.id,e).fetch(e)}labels(e){return new wC(this._request,this.id,e).fetch(e)}members(e){return new TC(this._request,this.id,e).fetch(e)}memberships(e){return new EC(this._request,this.id,e).fetch(e)}projects(e){return new DC(this._request,this.id,e).fetch(e)}states(e){return new OC(this._request,this.id,e).fetch(e)}templates(e){return new kC(this._request,this.id,e).fetch(e)}webhooks(e){return new AC(this._request,this.id,e).fetch(e)}create(e,t){return new Dx(this._request).fetch(e,t)}delete(){return new kx(this._request).fetch(this.id)}unarchive(){return new Px(this._request).fetch(this.id)}update(e,t){return new Fx(this._request).fetch(this.id,e,t)}},pm=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new X(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},mm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new fm(e,t)),new P(e,n.pageInfo))}},hm=class extends C{_team;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.owner=t.owner,this.sortOrder=t.sortOrder,this.updatedAt=E(t.updatedAt)??new Date,this._team=t.team,this._user=t.user}archivedAt;createdAt;id;owner;sortOrder;updatedAt;get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}create(e){return new jx(this._request).fetch(e)}delete(e){return new Mx(this._request).fetch(this.id,e)}update(e){return new Nx(this._request).fetch(this.id,e)}},gm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new hm(e,t)),new P(e,n.pageInfo))}},_m=class extends C{_teamMembership;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._teamMembership=t.teamMembership??void 0}lastSyncId;success;get teamMembership(){return this._teamMembership?.id?new zg(this._request).fetch(this._teamMembership?.id):void 0}get teamMembershipId(){return this._teamMembership?.id}},vm=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team,this._user=t.user??void 0}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},ym=class extends C{_team;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._team=t.team??void 0}lastSyncId;success;get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}},bm=class extends C{_creator;_inheritedFrom;_lastUpdatedBy;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.lastAppliedAt=E(t.lastAppliedAt)??void 0,this.name=t.name,this.sortOrder=t.sortOrder,this.templateData=D(t.templateData)??{},this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._creator=t.creator??void 0,this._inheritedFrom=t.inheritedFrom??void 0,this._lastUpdatedBy=t.lastUpdatedBy??void 0,this._team=t.team??void 0}archivedAt;createdAt;description;id;lastAppliedAt;name;sortOrder;templateData;type;updatedAt;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get inheritedFrom(){return this._inheritedFrom?.id?new Z(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get lastUpdatedBy(){return this._lastUpdatedBy?.id?new Q(this._request).fetch(this._lastUpdatedBy?.id):void 0}get lastUpdatedById(){return this._lastUpdatedBy?.id}get organization(){return new K(this._request).fetch()}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}create(e){return new Ix(this._request).fetch(e)}delete(){return new Lx(this._request).fetch(this.id)}update(e){return new Rx(this._request).fetch(this.id,e)}},xm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new bm(e,t)),new P(e,n.pageInfo))}},Sm=class extends C{_template;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._template=t.template}lastSyncId;success;get template(){return new Z(this._request).fetch(this._template.id)}get templateId(){return this._template?.id}},Cm=class extends C{_integration;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.externalId=t.externalId??void 0,this.externalUrl=t.externalUrl??void 0,this.id=t.id,this.name=t.name,this.updatedAt=E(t.updatedAt)??new Date,this.entries=t.entries?t.entries.map(t=>new Tm(e,t)):void 0,this._integration=t.integration??void 0}archivedAt;createdAt;externalId;externalUrl;id;name;updatedAt;entries;get integration(){return this._integration?.id?new U(this._request).fetch(this._integration?.id):void 0}get integrationId(){return this._integration?.id}get organization(){return new K(this._request).fetch()}create(e){return new zx(this._request).fetch(e)}delete(){return new Bx(this._request).fetch(this.id)}update(e){return new Hx(this._request).fetch(this.id,e)}},wm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Cm(e,t)),new P(e,n.pageInfo))}},Tm=class extends C{constructor(e,t){super(e),this.endsAt=E(t.endsAt)??new Date,this.startsAt=E(t.startsAt)??new Date,this.userEmail=t.userEmail??void 0,this.userId=t.userId??void 0}endsAt;startsAt;userEmail;userId},Em=class extends C{_timeSchedule;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._timeSchedule=t.timeSchedule}lastSyncId;success;get timeSchedule(){return new Wg(this._request).fetch(this._timeSchedule.id)}get timeScheduleId(){return this._timeSchedule?.id}},Dm=class extends C{_currentUser;_team;_timeSchedule;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.updatedAt=E(t.updatedAt)??new Date,this.manualSelection=t.manualSelection?new km(e,t.manualSelection):void 0,this.action=t.action,this._currentUser=t.currentUser??void 0,this._team=t.team,this._timeSchedule=t.timeSchedule??void 0}archivedAt;createdAt;id;updatedAt;manualSelection;action;get currentUser(){return this._currentUser?.id?new Q(this._request).fetch(this._currentUser?.id):void 0}get currentUserId(){return this._currentUser?.id}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}get timeSchedule(){return this._timeSchedule?.id?new Wg(this._request).fetch(this._timeSchedule?.id):void 0}get timeScheduleId(){return this._timeSchedule?.id}create(e){return new Gx(this._request).fetch(e)}delete(){return new Kx(this._request).fetch(this.id)}update(e){return new qx(this._request).fetch(this.id,e)}},Om=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Dm(e,t)),new P(e,n.pageInfo))}},km=class extends C{constructor(e,t){super(e),this.userIds=t.userIds}userIds},Am=class extends C{_triageResponsibility;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._triageResponsibility=t.triageResponsibility}lastSyncId;success;get triageResponsibility(){return new qg(this._request).fetch(this._triageResponsibility.id)}get triageResponsibilityId(){return this._triageResponsibility?.id}},jm=class extends C{constructor(e,t){super(e),this.assetUrl=t.assetUrl,this.contentType=t.contentType,this.filename=t.filename,this.metaData=t.metaData??void 0,this.size=t.size,this.uploadUrl=t.uploadUrl,this.headers=t.headers.map(t=>new Mm(e,t))}assetUrl;contentType;filename;metaData;size;uploadUrl;headers},Mm=class extends C{constructor(e,t){super(e),this.key=t.key,this.value=t.value}key;value},Nm=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.uploadFile=t.uploadFile?new jm(e,t.uploadFile):void 0}lastSyncId;success;uploadFile},Pm=class extends C{constructor(e,t){super(e),this.active=t.active,this.admin=t.admin,this.app=t.app,this.archivedAt=E(t.archivedAt)??void 0,this.avatarBackgroundColor=t.avatarBackgroundColor,this.avatarUrl=t.avatarUrl??void 0,this.calendarHash=t.calendarHash??void 0,this.canAccessAnyPublicTeam=t.canAccessAnyPublicTeam,this.createdAt=E(t.createdAt)??new Date,this.createdIssueCount=t.createdIssueCount,this.description=t.description??void 0,this.disableReason=t.disableReason??void 0,this.displayName=t.displayName,this.email=t.email,this.gitHubUserId=t.gitHubUserId??void 0,this.guest=t.guest,this.id=t.id,this.initials=t.initials,this.inviteHash=t.inviteHash,this.isAssignable=t.isAssignable,this.isMe=t.isMe,this.isMentionable=t.isMentionable,this.lastSeen=E(t.lastSeen)??void 0,this.name=t.name,this.owner=t.owner,this.statusEmoji=t.statusEmoji??void 0,this.statusLabel=t.statusLabel??void 0,this.statusUntilAt=E(t.statusUntilAt)??void 0,this.supportsAgentSessions=t.supportsAgentSessions,this.timezone=t.timezone??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url}active;admin;app;archivedAt;avatarBackgroundColor;avatarUrl;calendarHash;canAccessAnyPublicTeam;createdAt;createdIssueCount;description;disableReason;displayName;email;gitHubUserId;guest;id;initials;inviteHash;isAssignable;isMe;isMentionable;lastSeen;name;owner;statusEmoji;statusLabel;statusUntilAt;supportsAgentSessions;timezone;updatedAt;url;get organization(){return new K(this._request).fetch()}assignedIssues(e){return new jC(this._request,this.id,e).fetch(e)}createdIssues(e){return new MC(this._request,this.id,e).fetch(e)}delegatedIssues(e){return new NC(this._request,this.id,e).fetch(e)}drafts(e){return new PC(this._request,this.id,e).fetch(e)}teamMemberships(e){return new FC(this._request,this.id,e).fetch(e)}teams(e){return new IC(this._request,this.id,e).fetch(e)}suspend(e){return new nS(this._request).fetch(this.id,e)}unsuspend(e){return new iS(this._request).fetch(this.id,e)}update(e){return new aS(this._request).fetch(this.id,e)}},Fm=class extends C{constructor(e,t){super(e),this.success=t.success}success},Im=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Pm(e,t)),new P(e,n.pageInfo))}},Lm=class extends C{_customView;_customer;_cycle;_initiative;_label;_project;_subscriber;_team;_user;constructor(e,t){super(e),this.active=t.active,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.notificationSubscriptionTypes=t.notificationSubscriptionTypes,this.updatedAt=E(t.updatedAt)??new Date,this.contextViewType=t.contextViewType??void 0,this.userContextViewType=t.userContextViewType??void 0,this._customView=t.customView??void 0,this._customer=t.customer??void 0,this._cycle=t.cycle??void 0,this._initiative=t.initiative??void 0,this._label=t.label??void 0,this._project=t.project??void 0,this._subscriber=t.subscriber,this._team=t.team??void 0,this._user=t.user}active;archivedAt;createdAt;id;notificationSubscriptionTypes;updatedAt;contextViewType;userContextViewType;get customView(){return this._customView?.id?new I(this._request).fetch(this._customView?.id):void 0}get customViewId(){return this._customView?.id}get customer(){return this._customer?.id?new L(this._request).fetch(this._customer?.id):void 0}get customerId(){return this._customer?.id}get cycle(){return this._cycle?.id?new R(this._request).fetch(this._cycle?.id):void 0}get cycleId(){return this._cycle?.id}get initiative(){return this._initiative?.id?new V(this._request).fetch(this._initiative?.id):void 0}get initiativeId(){return this._initiative?.id}get label(){return this._label?.id?new G(this._request).fetch(this._label?.id):void 0}get labelId(){return this._label?.id}get project(){return this._project?.id?new q(this._request).fetch(this._project?.id):void 0}get projectId(){return this._project?.id}get subscriber(){return new Q(this._request).fetch(this._subscriber.id)}get subscriberId(){return this._subscriber?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},Rm=class extends C{_user;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._user=t.user??void 0}lastSyncId;success;get user(){return this._user?.id?new Q(this._request).fetch(this._user?.id):void 0}get userId(){return this._user?.id}},zm=class extends C{_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.autoAssignToSelf=t.autoAssignToSelf,this.calendarHash=t.calendarHash??void 0,this.createdAt=E(t.createdAt)??new Date,this.feedLastSeenTime=E(t.feedLastSeenTime)??void 0,this.id=t.id,this.showFullUserNames=t.showFullUserNames,this.subscribedToChangelog=t.subscribedToChangelog,this.subscribedToDPA=t.subscribedToDPA,this.subscribedToInviteAccepted=t.subscribedToInviteAccepted,this.subscribedToPrivacyLegalUpdates=t.subscribedToPrivacyLegalUpdates,this.unsubscribedFrom=t.unsubscribedFrom,this.updatedAt=E(t.updatedAt)??new Date,this.notificationCategoryPreferences=new Rf(e,t.notificationCategoryPreferences),this.notificationChannelPreferences=new N(e,t.notificationChannelPreferences),this.notificationDeliveryPreferences=new Bf(e,t.notificationDeliveryPreferences),this.theme=t.theme?new Gm(e,t.theme):void 0,this.feedSummarySchedule=t.feedSummarySchedule??void 0,this._user=t.user}archivedAt;autoAssignToSelf;calendarHash;createdAt;feedLastSeenTime;id;showFullUserNames;subscribedToChangelog;subscribedToDPA;subscribedToInviteAccepted;subscribedToPrivacyLegalUpdates;unsubscribedFrom;updatedAt;notificationCategoryPreferences;notificationChannelPreferences;notificationDeliveryPreferences;theme;feedSummarySchedule;get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}update(e){return new tS(this._request).fetch(this.id,e)}},Bm=class extends C{constructor(e,t){super(e),this.accent=t.accent,this.base=t.base,this.contrast=t.contrast}accent;base;contrast},Vm=class extends C{constructor(e,t){super(e),this.accent=t.accent,this.base=t.base,this.contrast=t.contrast,this.sidebar=t.sidebar?new Bm(e,t.sidebar):void 0}accent;base;contrast;sidebar},Hm=class extends C{constructor(e,t){super(e),this.flag=t.flag??void 0,this.lastSyncId=t.lastSyncId,this.success=t.success,this.value=t.value??void 0}flag;lastSyncId;success;value},Um=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success},Wm=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success}lastSyncId;success;get userSettings(){return new Yg(this._request).fetch()}},Gm=class extends C{constructor(e,t){super(e),this.custom=t.custom?new Vm(e,t.custom):void 0,this.preset=t.preset}custom;preset},Km=class extends C{constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.id=t.id,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this.viewType=t.viewType,this.preferences=new Ym(e,t.preferences)}archivedAt;createdAt;id;type;updatedAt;viewType;preferences;create(e){return new oS(this._request).fetch(e)}delete(){return new sS(this._request).fetch(this.id)}update(e){return new cS(this._request).fetch(this.id,e)}},qm=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this.viewPreferences=new Km(e,t.viewPreferences)}lastSyncId;success;viewPreferences},Jm=class extends C{constructor(e,t){super(e),this.active=t.active,this.id=t.id}active;id},Ym=class extends C{constructor(e,t){super(e),this.closedIssuesOrderedByRecency=t.closedIssuesOrderedByRecency??void 0,this.customViewFieldDateCreated=t.customViewFieldDateCreated??void 0,this.customViewFieldDateUpdated=t.customViewFieldDateUpdated??void 0,this.customViewFieldOwner=t.customViewFieldOwner??void 0,this.customViewFieldVisibility=t.customViewFieldVisibility??void 0,this.customViewsOrdering=t.customViewsOrdering??void 0,this.customerFieldDomains=t.customerFieldDomains??void 0,this.customerFieldOwner=t.customerFieldOwner??void 0,this.customerFieldRequestCount=t.customerFieldRequestCount??void 0,this.customerFieldRevenue=t.customerFieldRevenue??void 0,this.customerFieldSize=t.customerFieldSize??void 0,this.customerFieldSource=t.customerFieldSource??void 0,this.customerFieldStatus=t.customerFieldStatus??void 0,this.customerFieldTier=t.customerFieldTier??void 0,this.customerPageNeedsFieldIssueIdentifier=t.customerPageNeedsFieldIssueIdentifier??void 0,this.customerPageNeedsFieldIssuePriority=t.customerPageNeedsFieldIssuePriority??void 0,this.customerPageNeedsFieldIssueStatus=t.customerPageNeedsFieldIssueStatus??void 0,this.customerPageNeedsFieldIssueTargetDueDate=t.customerPageNeedsFieldIssueTargetDueDate??void 0,this.customerPageNeedsShowCompletedIssuesAndProjects=t.customerPageNeedsShowCompletedIssuesAndProjects??void 0,this.customerPageNeedsShowImportantFirst=t.customerPageNeedsShowImportantFirst??void 0,this.customerPageNeedsViewGrouping=t.customerPageNeedsViewGrouping??void 0,this.customerPageNeedsViewOrdering=t.customerPageNeedsViewOrdering??void 0,this.customersViewOrdering=t.customersViewOrdering??void 0,this.dashboardFieldDateCreated=t.dashboardFieldDateCreated??void 0,this.dashboardFieldDateUpdated=t.dashboardFieldDateUpdated??void 0,this.dashboardFieldOwner=t.dashboardFieldOwner??void 0,this.dashboardsOrdering=t.dashboardsOrdering??void 0,this.embeddedCustomerNeedsShowImportantFirst=t.embeddedCustomerNeedsShowImportantFirst??void 0,this.embeddedCustomerNeedsViewOrdering=t.embeddedCustomerNeedsViewOrdering??void 0,this.fieldAssignee=t.fieldAssignee??void 0,this.fieldCustomerCount=t.fieldCustomerCount??void 0,this.fieldCustomerRevenue=t.fieldCustomerRevenue??void 0,this.fieldCycle=t.fieldCycle??void 0,this.fieldDateArchived=t.fieldDateArchived??void 0,this.fieldDateCreated=t.fieldDateCreated??void 0,this.fieldDateMyActivity=t.fieldDateMyActivity??void 0,this.fieldDateUpdated=t.fieldDateUpdated??void 0,this.fieldDueDate=t.fieldDueDate??void 0,this.fieldEstimate=t.fieldEstimate??void 0,this.fieldId=t.fieldId??void 0,this.fieldLabels=t.fieldLabels??void 0,this.fieldLinkCount=t.fieldLinkCount??void 0,this.fieldMilestone=t.fieldMilestone??void 0,this.fieldPreviewLinks=t.fieldPreviewLinks??void 0,this.fieldPriority=t.fieldPriority??void 0,this.fieldProject=t.fieldProject??void 0,this.fieldPullRequests=t.fieldPullRequests??void 0,this.fieldRelease=t.fieldRelease??void 0,this.fieldSentryIssues=t.fieldSentryIssues??void 0,this.fieldSla=t.fieldSla??void 0,this.fieldStatus=t.fieldStatus??void 0,this.fieldTimeInCurrentStatus=t.fieldTimeInCurrentStatus??void 0,this.hiddenColumns=t.hiddenColumns??void 0,this.hiddenRows=t.hiddenRows??void 0,this.inboxViewOrdering=t.inboxViewOrdering??void 0,this.initiativeFieldActivity=t.initiativeFieldActivity??void 0,this.initiativeFieldDescription=t.initiativeFieldDescription??void 0,this.initiativeFieldHealth=t.initiativeFieldHealth??void 0,this.initiativeFieldInitiativeHealth=t.initiativeFieldInitiativeHealth??void 0,this.initiativeFieldOwner=t.initiativeFieldOwner??void 0,this.initiativeFieldProjects=t.initiativeFieldProjects??void 0,this.initiativeFieldTargetDate=t.initiativeFieldTargetDate??void 0,this.initiativeFieldTeams=t.initiativeFieldTeams??void 0,this.initiativeGrouping=t.initiativeGrouping??void 0,this.initiativesViewOrdering=t.initiativesViewOrdering??void 0,this.issueGrouping=t.issueGrouping??void 0,this.issueGroupingLabelGroupId=t.issueGroupingLabelGroupId??void 0,this.issueNesting=t.issueNesting??void 0,this.issueSubGrouping=t.issueSubGrouping??void 0,this.issueSubGroupingLabelGroupId=t.issueSubGroupingLabelGroupId??void 0,this.layout=t.layout??void 0,this.memberFieldJoined=t.memberFieldJoined??void 0,this.memberFieldStatus=t.memberFieldStatus??void 0,this.memberFieldTeams=t.memberFieldTeams??void 0,this.projectCustomerNeedsShowCompletedIssuesLast=t.projectCustomerNeedsShowCompletedIssuesLast??void 0,this.projectCustomerNeedsShowImportantFirst=t.projectCustomerNeedsShowImportantFirst??void 0,this.projectCustomerNeedsViewGrouping=t.projectCustomerNeedsViewGrouping??void 0,this.projectCustomerNeedsViewOrdering=t.projectCustomerNeedsViewOrdering??void 0,this.projectFieldActivity=t.projectFieldActivity??void 0,this.projectFieldCustomerCount=t.projectFieldCustomerCount??void 0,this.projectFieldCustomerRevenue=t.projectFieldCustomerRevenue??void 0,this.projectFieldDateCompleted=t.projectFieldDateCompleted??void 0,this.projectFieldDateCreated=t.projectFieldDateCreated??void 0,this.projectFieldDateUpdated=t.projectFieldDateUpdated??void 0,this.projectFieldDescription=t.projectFieldDescription??void 0,this.projectFieldDescriptionBoard=t.projectFieldDescriptionBoard??void 0,this.projectFieldHealth=t.projectFieldHealth??void 0,this.projectFieldHealthTimeline=t.projectFieldHealthTimeline??void 0,this.projectFieldInitiatives=t.projectFieldInitiatives??void 0,this.projectFieldLabels=t.projectFieldLabels??void 0,this.projectFieldLead=t.projectFieldLead??void 0,this.projectFieldLeadTimeline=t.projectFieldLeadTimeline??void 0,this.projectFieldMembers=t.projectFieldMembers??void 0,this.projectFieldMembersBoard=t.projectFieldMembersBoard??void 0,this.projectFieldMembersList=t.projectFieldMembersList??void 0,this.projectFieldMembersTimeline=t.projectFieldMembersTimeline??void 0,this.projectFieldMilestone=t.projectFieldMilestone??void 0,this.projectFieldMilestoneTimeline=t.projectFieldMilestoneTimeline??void 0,this.projectFieldPredictions=t.projectFieldPredictions??void 0,this.projectFieldPredictionsTimeline=t.projectFieldPredictionsTimeline??void 0,this.projectFieldPriority=t.projectFieldPriority??void 0,this.projectFieldRelations=t.projectFieldRelations??void 0,this.projectFieldRelationsTimeline=t.projectFieldRelationsTimeline??void 0,this.projectFieldRoadmaps=t.projectFieldRoadmaps??void 0,this.projectFieldRoadmapsBoard=t.projectFieldRoadmapsBoard??void 0,this.projectFieldRoadmapsList=t.projectFieldRoadmapsList??void 0,this.projectFieldRoadmapsTimeline=t.projectFieldRoadmapsTimeline??void 0,this.projectFieldRolloutStage=t.projectFieldRolloutStage??void 0,this.projectFieldStartDate=t.projectFieldStartDate??void 0,this.projectFieldStatus=t.projectFieldStatus??void 0,this.projectFieldStatusTimeline=t.projectFieldStatusTimeline??void 0,this.projectFieldTargetDate=t.projectFieldTargetDate??void 0,this.projectFieldTeams=t.projectFieldTeams??void 0,this.projectFieldTeamsBoard=t.projectFieldTeamsBoard??void 0,this.projectFieldTeamsList=t.projectFieldTeamsList??void 0,this.projectFieldTeamsTimeline=t.projectFieldTeamsTimeline??void 0,this.projectGroupOrdering=t.projectGroupOrdering??void 0,this.projectGrouping=t.projectGrouping??void 0,this.projectGroupingDateResolution=t.projectGroupingDateResolution??void 0,this.projectGroupingLabelGroupId=t.projectGroupingLabelGroupId??void 0,this.projectLayout=t.projectLayout??void 0,this.projectShowEmptyGroups=t.projectShowEmptyGroups??void 0,this.projectShowEmptyGroupsBoard=t.projectShowEmptyGroupsBoard??void 0,this.projectShowEmptyGroupsList=t.projectShowEmptyGroupsList??void 0,this.projectShowEmptyGroupsTimeline=t.projectShowEmptyGroupsTimeline??void 0,this.projectShowEmptySubGroups=t.projectShowEmptySubGroups??void 0,this.projectShowEmptySubGroupsBoard=t.projectShowEmptySubGroupsBoard??void 0,this.projectShowEmptySubGroupsList=t.projectShowEmptySubGroupsList??void 0,this.projectShowEmptySubGroupsTimeline=t.projectShowEmptySubGroupsTimeline??void 0,this.projectSubGrouping=t.projectSubGrouping??void 0,this.projectSubGroupingLabelGroupId=t.projectSubGroupingLabelGroupId??void 0,this.projectViewOrdering=t.projectViewOrdering??void 0,this.projectZoomLevel=t.projectZoomLevel??void 0,this.releasePipelinesViewOrdering=t.releasePipelinesViewOrdering??void 0,this.reviewFieldAvatar=t.reviewFieldAvatar??void 0,this.reviewFieldChecks=t.reviewFieldChecks??void 0,this.reviewFieldIdentifier=t.reviewFieldIdentifier??void 0,this.reviewFieldPreviewLinks=t.reviewFieldPreviewLinks??void 0,this.reviewFieldRepository=t.reviewFieldRepository??void 0,this.reviewGrouping=t.reviewGrouping??void 0,this.reviewViewOrdering=t.reviewViewOrdering??void 0,this.searchResultType=t.searchResultType??void 0,this.searchViewOrdering=t.searchViewOrdering??void 0,this.showArchivedItems=t.showArchivedItems??void 0,this.showCompletedAgentSessions=t.showCompletedAgentSessions??void 0,this.showCompletedIssues=t.showCompletedIssues??void 0,this.showCompletedProjects=t.showCompletedProjects??void 0,this.showCompletedReviews=t.showCompletedReviews??void 0,this.showDraftReviews=t.showDraftReviews??void 0,this.showEmptyGroups=t.showEmptyGroups??void 0,this.showEmptyGroupsBoard=t.showEmptyGroupsBoard??void 0,this.showEmptyGroupsList=t.showEmptyGroupsList??void 0,this.showEmptySubGroups=t.showEmptySubGroups??void 0,this.showEmptySubGroupsBoard=t.showEmptySubGroupsBoard??void 0,this.showEmptySubGroupsList=t.showEmptySubGroupsList??void 0,this.showNestedInitiatives=t.showNestedInitiatives??void 0,this.showParents=t.showParents??void 0,this.showReadItems=t.showReadItems??void 0,this.showSnoozedItems=t.showSnoozedItems??void 0,this.showSubInitiativeProjects=t.showSubInitiativeProjects??void 0,this.showSubIssues=t.showSubIssues??void 0,this.showSubTeamIssues=t.showSubTeamIssues??void 0,this.showSubTeamProjects=t.showSubTeamProjects??void 0,this.showSupervisedIssues=t.showSupervisedIssues??void 0,this.showTriageIssues=t.showTriageIssues??void 0,this.showUnreadItemsFirst=t.showUnreadItemsFirst??void 0,this.teamFieldCycle=t.teamFieldCycle??void 0,this.teamFieldDateCreated=t.teamFieldDateCreated??void 0,this.teamFieldDateUpdated=t.teamFieldDateUpdated??void 0,this.teamFieldIdentifier=t.teamFieldIdentifier??void 0,this.teamFieldMembers=t.teamFieldMembers??void 0,this.teamFieldMembership=t.teamFieldMembership??void 0,this.teamFieldOwner=t.teamFieldOwner??void 0,this.teamFieldProjects=t.teamFieldProjects??void 0,this.teamViewOrdering=t.teamViewOrdering??void 0,this.timelineChronologyShowCycleTeamIds=t.timelineChronologyShowCycleTeamIds??void 0,this.timelineChronologyShowWeekNumbers=t.timelineChronologyShowWeekNumbers??void 0,this.timelineZoomScale=t.timelineZoomScale??void 0,this.triageViewOrdering=t.triageViewOrdering??void 0,this.viewOrdering=t.viewOrdering??void 0,this.viewOrderingDirection=t.viewOrderingDirection??void 0,this.workspaceMembersViewOrdering=t.workspaceMembersViewOrdering??void 0,this.projectLabelGroupColumns=t.projectLabelGroupColumns?t.projectLabelGroupColumns.map(t=>new Jm(e,t)):void 0}closedIssuesOrderedByRecency;customViewFieldDateCreated;customViewFieldDateUpdated;customViewFieldOwner;customViewFieldVisibility;customViewsOrdering;customerFieldDomains;customerFieldOwner;customerFieldRequestCount;customerFieldRevenue;customerFieldSize;customerFieldSource;customerFieldStatus;customerFieldTier;customerPageNeedsFieldIssueIdentifier;customerPageNeedsFieldIssuePriority;customerPageNeedsFieldIssueStatus;customerPageNeedsFieldIssueTargetDueDate;customerPageNeedsShowCompletedIssuesAndProjects;customerPageNeedsShowImportantFirst;customerPageNeedsViewGrouping;customerPageNeedsViewOrdering;customersViewOrdering;dashboardFieldDateCreated;dashboardFieldDateUpdated;dashboardFieldOwner;dashboardsOrdering;embeddedCustomerNeedsShowImportantFirst;embeddedCustomerNeedsViewOrdering;fieldAssignee;fieldCustomerCount;fieldCustomerRevenue;fieldCycle;fieldDateArchived;fieldDateCreated;fieldDateMyActivity;fieldDateUpdated;fieldDueDate;fieldEstimate;fieldId;fieldLabels;fieldLinkCount;fieldMilestone;fieldPreviewLinks;fieldPriority;fieldProject;fieldPullRequests;fieldRelease;fieldSentryIssues;fieldSla;fieldStatus;fieldTimeInCurrentStatus;hiddenColumns;hiddenRows;inboxViewOrdering;initiativeFieldActivity;initiativeFieldDescription;initiativeFieldHealth;initiativeFieldInitiativeHealth;initiativeFieldOwner;initiativeFieldProjects;initiativeFieldTargetDate;initiativeFieldTeams;initiativeGrouping;initiativesViewOrdering;issueGrouping;issueGroupingLabelGroupId;issueNesting;issueSubGrouping;issueSubGroupingLabelGroupId;layout;memberFieldJoined;memberFieldStatus;memberFieldTeams;projectCustomerNeedsShowCompletedIssuesLast;projectCustomerNeedsShowImportantFirst;projectCustomerNeedsViewGrouping;projectCustomerNeedsViewOrdering;projectFieldActivity;projectFieldCustomerCount;projectFieldCustomerRevenue;projectFieldDateCompleted;projectFieldDateCreated;projectFieldDateUpdated;projectFieldDescription;projectFieldDescriptionBoard;projectFieldHealth;projectFieldHealthTimeline;projectFieldInitiatives;projectFieldLabels;projectFieldLead;projectFieldLeadTimeline;projectFieldMembers;projectFieldMembersBoard;projectFieldMembersList;projectFieldMembersTimeline;projectFieldMilestone;projectFieldMilestoneTimeline;projectFieldPredictions;projectFieldPredictionsTimeline;projectFieldPriority;projectFieldRelations;projectFieldRelationsTimeline;projectFieldRoadmaps;projectFieldRoadmapsBoard;projectFieldRoadmapsList;projectFieldRoadmapsTimeline;projectFieldRolloutStage;projectFieldStartDate;projectFieldStatus;projectFieldStatusTimeline;projectFieldTargetDate;projectFieldTeams;projectFieldTeamsBoard;projectFieldTeamsList;projectFieldTeamsTimeline;projectGroupOrdering;projectGrouping;projectGroupingDateResolution;projectGroupingLabelGroupId;projectLayout;projectShowEmptyGroups;projectShowEmptyGroupsBoard;projectShowEmptyGroupsList;projectShowEmptyGroupsTimeline;projectShowEmptySubGroups;projectShowEmptySubGroupsBoard;projectShowEmptySubGroupsList;projectShowEmptySubGroupsTimeline;projectSubGrouping;projectSubGroupingLabelGroupId;projectViewOrdering;projectZoomLevel;releasePipelinesViewOrdering;reviewFieldAvatar;reviewFieldChecks;reviewFieldIdentifier;reviewFieldPreviewLinks;reviewFieldRepository;reviewGrouping;reviewViewOrdering;searchResultType;searchViewOrdering;showArchivedItems;showCompletedAgentSessions;showCompletedIssues;showCompletedProjects;showCompletedReviews;showDraftReviews;showEmptyGroups;showEmptyGroupsBoard;showEmptyGroupsList;showEmptySubGroups;showEmptySubGroupsBoard;showEmptySubGroupsList;showNestedInitiatives;showParents;showReadItems;showSnoozedItems;showSubInitiativeProjects;showSubIssues;showSubTeamIssues;showSubTeamProjects;showSupervisedIssues;showTriageIssues;showUnreadItemsFirst;teamFieldCycle;teamFieldDateCreated;teamFieldDateUpdated;teamFieldIdentifier;teamFieldMembers;teamFieldMembership;teamFieldOwner;teamFieldProjects;teamViewOrdering;timelineChronologyShowCycleTeamIds;timelineChronologyShowWeekNumbers;timelineZoomScale;triageViewOrdering;viewOrdering;viewOrderingDirection;workspaceMembersViewOrdering;projectLabelGroupColumns},Xm=class extends C{_creator;_team;constructor(e,t){super(e),this.allPublicTeams=t.allPublicTeams,this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.enabled=t.enabled,this.id=t.id,this.label=t.label??void 0,this.resourceTypes=t.resourceTypes,this.secret=t.secret??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.url=t.url??void 0,this._creator=t.creator??void 0,this._team=t.team??void 0}allPublicTeams;archivedAt;createdAt;enabled;id;label;resourceTypes;secret;updatedAt;url;get creator(){return this._creator?.id?new Q(this._request).fetch(this._creator?.id):void 0}get creatorId(){return this._creator?.id}get team(){return this._team?.id?new X(this._request).fetch(this._team?.id):void 0}get teamId(){return this._team?.id}create(e){return new lS(this._request).fetch(e)}delete(){return new uS(this._request).fetch(this.id)}rotateSecret(){return new dS(this._request).fetch(this.id)}update(e){return new fS(this._request).fetch(this.id,e)}},Zm=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new Xm(e,t)),new P(e,n.pageInfo))}},Qm=class extends C{_webhook;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._webhook=t.webhook}lastSyncId;success;get webhook(){return new $g(this._request).fetch(this._webhook.id)}get webhookId(){return this._webhook?.id}},$m=class extends C{constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.secret=t.secret,this.success=t.success}lastSyncId;secret;success},eh=class extends C{_updatedBy;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.enabled=t.enabled,this.id=t.id,this.title=t.title??void 0,this.updatedAt=E(t.updatedAt)??new Date,this._updatedBy=t.updatedBy??void 0}archivedAt;createdAt;enabled;id;title;updatedAt;get updatedBy(){return this._updatedBy?.id?new Q(this._request).fetch(this._updatedBy?.id):void 0}get updatedById(){return this._updatedBy?.id}},th=class extends C{_actor;_externalUserActor;_user;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.createdAt=E(t.createdAt)??new Date,this.emailedAt=E(t.emailedAt)??void 0,this.id=t.id,this.readAt=E(t.readAt)??void 0,this.snoozedUntilAt=E(t.snoozedUntilAt)??void 0,this.type=t.type,this.unsnoozedAt=E(t.unsnoozedAt)??void 0,this.updatedAt=E(t.updatedAt)??new Date,this.welcomeMessageId=t.welcomeMessageId,this.botActor=t.botActor?new O(e,t.botActor):void 0,this.category=t.category,this._actor=t.actor??void 0,this._externalUserActor=t.externalUserActor??void 0,this._user=t.user}archivedAt;createdAt;emailedAt;id;readAt;snoozedUntilAt;type;unsnoozedAt;updatedAt;welcomeMessageId;botActor;category;get actor(){return this._actor?.id?new Q(this._request).fetch(this._actor?.id):void 0}get actorId(){return this._actor?.id}get externalUserActor(){return this._externalUserActor?.id?new B(this._request).fetch(this._externalUserActor?.id):void 0}get externalUserActorId(){return this._externalUserActor?.id}get user(){return new Q(this._request).fetch(this._user.id)}get userId(){return this._user?.id}},nh=class extends C{_inheritedFrom;_team;constructor(e,t){super(e),this.archivedAt=E(t.archivedAt)??void 0,this.color=t.color,this.createdAt=E(t.createdAt)??new Date,this.description=t.description??void 0,this.id=t.id,this.name=t.name,this.position=t.position,this.type=t.type,this.updatedAt=E(t.updatedAt)??new Date,this._inheritedFrom=t.inheritedFrom??void 0,this._team=t.team}archivedAt;color;createdAt;description;id;name;position;type;updatedAt;get inheritedFrom(){return this._inheritedFrom?.id?new $(this._request).fetch(this._inheritedFrom?.id):void 0}get inheritedFromId(){return this._inheritedFrom?.id}get team(){return new X(this._request).fetch(this._team.id)}get teamId(){return this._team?.id}issues(e){return new LC(this._request,this.id,e).fetch(e)}archive(){return new pS(this._request).fetch(this.id)}create(e){return new mS(this._request).fetch(e)}update(e){return new hS(this._request).fetch(this.id,e)}},rh=class extends C{_entity;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._entity=t.entity??void 0}lastSyncId;success;get entity(){return this._entity?.id?new $(this._request).fetch(this._entity?.id):void 0}get entityId(){return this._entity?.id}},ih=class extends T{constructor(e,t,n){super(e,t,n.nodes.map(t=>new nh(e,t)),new P(e,n.pageInfo))}},ah=class extends C{_workflowState;constructor(e,t){super(e),this.lastSyncId=t.lastSyncId,this.success=t.success,this._workflowState=t.workflowState}lastSyncId;success;get workflowState(){return new $(this._request).fetch(this._workflowState.id)}get workflowStateId(){return this._workflowState?.id}},oh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ue.toString(),e)).administrableTeams;return new mm(this._request,t=>this.fetch(w({...e,...t})),t)}},sh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(We.toString(),e)).agentActivities;return new Wl(this._request,t=>this.fetch(w({...e,...t})),t)}},ch=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ge.toString(),{id:e})).agentActivity;return new Ul(this._request,t)}},lh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ke.toString(),{id:e})).agentSession;return new Kl(this._request,t)}},uh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Je.toString(),e)).agentSessions;return new ql(this._request,t=>this.fetch(w({...e,...t})),t)}},dh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ye.toString(),{clientId:e})).applicationInfo;return new Zl(this._request,t)}},fh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xe.toString(),{id:e})).attachment;return new eu(this._request,t)}},ph=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ze.toString(),{id:e})).attachmentIssue;return new af(this._request,t)}},mh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qe.toString(),e)).attachments;return new tu(this._request,t=>this.fetch(w({...e,...t})),t)}},hh=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request($e.toString(),{url:e,...t})).attachmentsForURL;return new tu(this._request,n=>this.fetch(e,w({...t,...n})),n)}},gh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(et.toString(),e)).auditEntries;return new ru(this._request,t=>this.fetch(w({...e,...t})),t)}},_h=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(tt.toString(),{})).auditEntryTypes.map(e=>new iu(this._request,e))}},vh=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(nt.toString(),{})).authenticationSessions.map(e=>new cu(this._request,e))}},yh=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(rt.toString(),{})).availableUsers;return new ou(this._request,e)}},F=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(it.toString(),e)).comment;return new lu(this._request,t)}},bh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(st.toString(),e)).comments;return new uu(this._request,t=>this.fetch(w({...e,...t})),t)}},I=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ct.toString(),{id:e})).customView;return new hu(this._request,t)}},xh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ft.toString(),{id:e})).customViewHasSubscribers;return new _u(this._request,t)}},Sh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(pt.toString(),e)).customViews;return new gu(this._request,t=>this.fetch(w({...e,...t})),t)}},L=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(mt.toString(),{id:e})).customer;return new bu(this._request,t)}},Ch=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ht.toString(),e)).customerNeed;return new Su(this._request,t)}},wh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gt.toString(),e)).customerNeeds;return new wu(this._request,t=>this.fetch(w({...e,...t})),t)}},Th=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_t.toString(),{id:e})).customerStatus;return new ju(this._request,t)}},Eh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vt.toString(),e)).customerStatuses;return new Mu(this._request,t=>this.fetch(w({...e,...t})),t)}},Dh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yt.toString(),{id:e})).customerTier;return new Pu(this._request,t)}},Oh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(bt.toString(),e)).customerTiers;return new Fu(this._request,t=>this.fetch(w({...e,...t})),t)}},kh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(xt.toString(),e)).customers;return new xu(this._request,t=>this.fetch(w({...e,...t})),t)}},R=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(St.toString(),{id:e})).cycle;return new Lu(this._request,t)}},Ah=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Tt.toString(),e)).cycles;return new zu(this._request,t=>this.fetch(w({...e,...t})),t)}},z=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Et.toString(),{id:e})).document;return new Hu(this._request,t)}},jh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ot.toString(),{id:e})).documentContentHistory;return new Ku(this._request,t)}},Mh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kt.toString(),e)).documents;return new Wu(this._request,t=>this.fetch(w({...e,...t})),t)}},Nh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(At.toString(),{id:e})).emailIntakeAddress;return new ed(this._request,t)}},Ph=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(jt.toString(),{id:e})).emoji;return new id(this._request,t)}},Fh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mt.toString(),e)).emojis;return new ad(this._request,t=>this.fetch(w({...e,...t})),t)}},Ih=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nt.toString(),{id:e})).entityExternalLink;return new sd(this._request,t)}},B=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pt.toString(),{id:e})).externalUser;return new fd(this._request,t)}},Lh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ft.toString(),e)).externalUsers;return new pd(this._request,t=>this.fetch(w({...e,...t})),t)}},Rh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(It.toString(),{id:e})).favorite;return new md(this._request,t)}},zh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rt.toString(),e)).favorites;return new hd(this._request,t=>this.fetch(w({...e,...t})),t)}},V=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zt.toString(),{id:e})).initiative;return new kd(this._request,t)}},Bh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Kt.toString(),{id:e})).initiativeRelation;return new Tp(this._request,t)}},Vh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qt.toString(),e)).initiativeRelations;return new Rd(this._request,t=>this.fetch(w({...e,...t})),t)}},Hh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Jt.toString(),{id:e})).initiativeToProject;return new Bd(this._request,t)}},Uh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Yt.toString(),e)).initiativeToProjects;return new Vd(this._request,t=>this.fetch(w({...e,...t})),t)}},H=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xt.toString(),{id:e})).initiativeUpdate;return new Ud(this._request,t)}},Wh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qt.toString(),e)).initiativeUpdates;return new Gd(this._request,t=>this.fetch(w({...e,...t})),t)}},Gh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request($t.toString(),e)).initiatives;return new jd(this._request,t=>this.fetch(w({...e,...t})),t)}},U=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(en.toString(),{id:e})).integration;return new Jd(this._request,t)}},Kh=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(tn.toString(),{integrationId:e,scopes:t})).integrationHasScopes;return new Xd(this._request,n)}},qh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(nn.toString(),{id:e})).integrationTemplate;return new $d(this._request,t)}},Jh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(rn.toString(),e)).integrationTemplates;return new ef(this._request,t=>this.fetch(w({...e,...t})),t)}},Yh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(an.toString(),e)).integrations;return new Yd(this._request,t=>this.fetch(w({...e,...t})),t)}},Xh=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(on.toString(),{id:e})).integrationsSettings;return new nf(this._request,t)}},W=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(sn.toString(),{id:e})).issue;return new af(this._request,t)}},Zh=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xn.toString(),{fileKey:e,...t})).issueFigmaFileKeySearch;return new M(this._request,n=>this.fetch(e,w({...t,...n})),n)}},Qh=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Sn.toString(),{prompt:e,...t})).issueFilterSuggestion;return new cf(this._request,n)}},$h=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Cn.toString(),{csvUrl:e,service:t})).issueImportCheckCSV;return new ff(this._request,n)}},eg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wn.toString(),{issueImportId:e})).issueImportCheckSync;return new gf(this._request,t)}},tg=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(Tn.toString(),{jiraEmail:e,jiraHostname:t,jiraProject:n,jiraToken:r,jql:i})).issueImportJqlCheck;return new mf(this._request,a)}},G=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(En.toString(),{id:e})).issueLabel;return new _f(this._request,t)}},ng=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kn.toString(),e)).issueLabels;return new vf(this._request,t=>this.fetch(w({...e,...t})),t)}},rg=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(An.toString(),{})).issuePriorityValues.map(e=>new Sf(this._request,e))}},ig=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(jn.toString(),{id:e})).issueRelation;return new Cf(this._request,t)}},ag=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mn.toString(),e)).issueRelations;return new wf(this._request,t=>this.fetch(w({...e,...t})),t)}},og=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Nn.toString(),{candidateRepositories:e,issueId:t,...n})).issueRepositorySuggestions;return new Jp(this._request,r)}},sg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pn.toString(),e)).issueSearch;return new M(this._request,t=>this.fetch(w({...e,...t})),t)}},cg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fn.toString(),{request:e})).issueTitleSuggestionFromCustomerRequest;return new Mf(this._request,t)}},lg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(In.toString(),{branchName:e})).issueVcsBranchSearch;return t?new af(this._request,t):void 0}},ug=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ln.toString(),e)).issues;return new M(this._request,t=>this.fetch(w({...e,...t})),t)}},dg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rn.toString(),{id:e})).notification;switch(t.__typename){case`CustomerNeedNotification`:return new Tu(this._request,t);case`CustomerNotification`:return new Ou(this._request,t);case`DocumentNotification`:return new Ju(this._request,t);case`InitiativeNotification`:return new Pd(this._request,t);case`IssueNotification`:return new bf(this._request,t);case`OauthClientApprovalNotification`:return new Yf(this._request,t);case`PostNotification`:return new sp(this._request,t);case`ProjectNotification`:return new Sp(this._request,t);case`PullRequestNotification`:return new zp(this._request,t);case`WelcomeMessageNotification`:return new th(this._request,t);default:return new Ff(this._request,t)}}},fg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zn.toString(),{id:e})).notificationSubscription;switch(t.__typename){case`CustomViewNotificationSubscription`:return new vu(this._request,t);case`CustomerNotificationSubscription`:return new ku(this._request,t);case`CycleNotificationSubscription`:return new Bu(this._request,t);case`InitiativeNotificationSubscription`:return new Fd(this._request,t);case`LabelNotificationSubscription`:return new Nf(this._request,t);case`ProjectNotificationSubscription`:return new Cp(this._request,t);case`TeamNotificationSubscription`:return new vm(this._request,t);case`UserNotificationSubscription`:return new Lm(this._request,t);default:return new Gf(this._request,t)}}},pg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bn.toString(),e)).notificationSubscriptions;return new Kf(this._request,t=>this.fetch(w({...e,...t})),t)}},mg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Vn.toString(),e)).notifications;return new zf(this._request,t=>this.fetch(w({...e,...t})),t)}},K=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Hn.toString(),{})).organization;return new Xf(this._request,e)}},hg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Yn.toString(),{urlKey:e})).organizationExists;return new $f(this._request,t)}},gg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xn.toString(),{id:e})).organizationInvite;return new ep(this._request,t)}},_g=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Zn.toString(),e)).organizationInvites;return new tp(this._request,t=>this.fetch(w({...e,...t})),t)}},q=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qn.toString(),{id:e})).project;return new cp(this._request,t)}},vg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(hr.toString(),{prompt:e})).projectFilterSuggestion;return new pp(this._request,t)}},yg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gr.toString(),{id:e})).projectLabel;return new gp(this._request,t)}},bg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yr.toString(),e)).projectLabels;return new _p(this._request,t=>this.fetch(w({...e,...t})),t)}},J=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(br.toString(),{id:e})).projectMilestone;return new yp(this._request,t)}},xg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sr.toString(),e)).projectMilestones;return new bp(this._request,t=>this.fetch(w({...e,...t})),t)}},Sg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Cr.toString(),{id:e})).projectRelation;return new Tp(this._request,t)}},Cg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wr.toString(),e)).projectRelations;return new Ep(this._request,t=>this.fetch(w({...e,...t})),t)}},wg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Tr.toString(),{id:e})).projectStatus;return new Ap(this._request,t)}},Tg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Er.toString(),e)).projectStatuses;return new Mp(this._request,t=>this.fetch(w({...e,...t})),t)}},Y=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Dr.toString(),{id:e})).projectUpdate;return new Pp(this._request,t)}},Eg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kr.toString(),e)).projectUpdates;return new Ip(this._request,t=>this.fetch(w({...e,...t})),t)}},Dg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ar.toString(),e)).projects;return new fp(this._request,t=>this.fetch(w({...e,...t})),t)}},Og=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(jr.toString(),e)).pushSubscriptionTest;return new Hp(this._request,t)}},kg=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Mr.toString(),{})).rateLimitStatus;return new Up(this._request,e)}},Ag=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nr.toString(),{id:e})).roadmap;return new Yp(this._request,t)}},jg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fr.toString(),{id:e})).roadmapToProject;return new $p(this._request,t)}},Mg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ir.toString(),e)).roadmapToProjects;return new em(this._request,t=>this.fetch(w({...e,...t})),t)}},Ng=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Lr.toString(),e)).roadmaps;return new Zp(this._request,t=>this.fetch(w({...e,...t})),t)}},Pg=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Rr.toString(),{term:e,...t})).searchDocuments;return new Xu(this._request,n)}},Fg=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(zr.toString(),{term:e,...t})).searchIssues;return new Df(this._request,n)}},Ig=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Br.toString(),{term:e,...t})).searchProjects;return new Op(this._request,n)}},Lg=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Vr.toString(),{query:e,...t})).semanticSearch;return new nm(this._request,n)}},Rg=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Hr.toString(),{email:e,type:t,...n})).ssoUrlFromEmail;return new lm(this._request,r)}},X=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ur.toString(),{id:e})).team;return new fm(this._request,t)}},zg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ei.toString(),{id:e})).teamMembership;return new hm(this._request,t)}},Bg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ti.toString(),e)).teamMemberships;return new gm(this._request,t=>this.fetch(w({...e,...t})),t)}},Vg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ni.toString(),e)).teams;return new mm(this._request,t=>this.fetch(w({...e,...t})),t)}},Z=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ri.toString(),{id:e})).template;return new bm(this._request,t)}},Hg=class extends C{constructor(e){super(e)}async fetch(){return(await this._request(ii.toString(),{})).templates.map(e=>new bm(this._request,e))}},Ug=class extends C{constructor(e){super(e)}async fetch(e){return(await this._request(ai.toString(),{integrationType:e})).templatesForIntegration.map(e=>new bm(this._request,e))}},Wg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(oi.toString(),{id:e})).timeSchedule;return new Cm(this._request,t)}},Gg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(si.toString(),e)).timeSchedules;return new wm(this._request,t=>this.fetch(w({...e,...t})),t)}},Kg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ci.toString(),e)).triageResponsibilities;return new Om(this._request,t=>this.fetch(w({...e,...t})),t)}},qg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(li.toString(),{id:e})).triageResponsibility;return new Dm(this._request,t)}},Q=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ui.toString(),{id:e})).user;return new Pm(this._request,t)}},Jg=class extends C{constructor(e){super(e)}async fetch(e){return(await this._request(_i.toString(),{id:e})).userSessions.map(e=>new cu(this._request,e))}},Yg=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(vi.toString(),{})).userSettings;return new zm(this._request,e)}},Xg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yi.toString(),e)).users;return new Im(this._request,t=>this.fetch(w({...e,...t})),t)}},Zg=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(bi.toString(),{integrationId:e})).verifyGitHubEnterpriseServerInstallation;return new wd(this._request,t)}},Qg=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(xi.toString(),{})).viewer;return new Pm(this._request,e)}},$g=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Si.toString(),{id:e})).webhook;return new Xm(this._request,t)}},e_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ci.toString(),e)).webhooks;return new Zm(this._request,t=>this.fetch(w({...e,...t})),t)}},$=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wi.toString(),{id:e})).workflowState;return new nh(this._request,t)}},t_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ei.toString(),e)).workflowStates;return new ih(this._request,t=>this.fetch(w({...e,...t})),t)}},n_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Di.toString(),{input:e})).agentActivityCreate;return new Gl(this._request,t)}},r_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Oi.toString(),{input:e})).agentSessionCreateOnComment;return new Yl(this._request,t)}},i_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ki.toString(),{input:e})).agentSessionCreateOnIssue;return new Yl(this._request,t)}},a_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ai.toString(),{id:e,input:t})).agentSessionUpdate;return new Yl(this._request,n)}},o_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ji.toString(),{id:e,input:t})).agentSessionUpdateExternalUrl;return new Yl(this._request,n)}},s_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mi.toString(),{input:e})).airbyteIntegrationConnect;return new j(this._request,t)}},c_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ni.toString(),{input:e})).attachmentCreate;return new k(this._request,t)}},l_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pi.toString(),{id:e})).attachmentDelete;return new A(this._request,t)}},u_=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(Fi.toString(),{channelId:e,issueId:t,messageId:n,url:r,...i})).attachmentLinkDiscord;return new k(this._request,a)}},d_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ii.toString(),{conversationId:e,issueId:t,...n})).attachmentLinkFront;return new _d(this._request,r)}},f_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Li.toString(),{issueId:e,url:t,...n})).attachmentLinkGitHubIssue;return new k(this._request,r)}},p_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ri.toString(),{issueId:e,url:t,...n})).attachmentLinkGitHubPR;return new k(this._request,r)}},m_=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(zi.toString(),{issueId:e,number:t,projectPathWithNamespace:n,url:r,...i})).attachmentLinkGitLabMR;return new k(this._request,a)}},h_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Bi.toString(),{conversationId:e,issueId:t,...n})).attachmentLinkIntercom;return new k(this._request,r)}},g_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Vi.toString(),{issueId:e,jiraIssueId:t,...n})).attachmentLinkJiraIssue;return new k(this._request,r)}},__=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Hi.toString(),{issueId:e,url:t,...n})).attachmentLinkSalesforce;return new k(this._request,r)}},v_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ui.toString(),{issueId:e,url:t,...n})).attachmentLinkSlack;return new k(this._request,r)}},y_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Wi.toString(),{issueId:e,url:t,...n})).attachmentLinkURL;return new k(this._request,r)}},b_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Gi.toString(),{issueId:e,ticketId:t,...n})).attachmentLinkZendesk;return new k(this._request,r)}},x_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ki.toString(),{id:e})).attachmentSyncToSlack;return new k(this._request,t)}},S_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(qi.toString(),{id:e,input:t})).attachmentUpdate;return new k(this._request,n)}},C_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ji.toString(),{input:e})).commentCreate;return new du(this._request,t)}},w_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Yi.toString(),{id:e})).commentDelete;return new A(this._request,t)}},T_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Xi.toString(),{id:e,...t})).commentResolve;return new du(this._request,n)}},E_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Zi.toString(),{id:e})).commentUnresolve;return new du(this._request,t)}},D_=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Qi.toString(),{id:e,input:t,...n})).commentUpdate;return new du(this._request,r)}},O_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request($i.toString(),{input:e})).contactCreate;return new fu(this._request,t)}},k_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ea.toString(),e)).createCsvExportReport;return new pu(this._request,t)}},A_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ta.toString(),{initiativeId:e,...t})).createInitiativeUpdateReminder;return new qd(this._request,n)}},j_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(na.toString(),{input:e,...t})).createOrganizationFromOnboarding;return new mu(this._request,n)}},M_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ra.toString(),{projectId:e,...t})).createProjectUpdateReminder;return new Rp(this._request,n)}},N_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ia.toString(),{input:e})).customViewCreate;return new yu(this._request,t)}},P_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(aa.toString(),{id:e})).customViewDelete;return new A(this._request,t)}},F_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(oa.toString(),{id:e,input:t})).customViewUpdate;return new yu(this._request,n)}},I_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(sa.toString(),{input:e})).customerCreate;return new Au(this._request,t)}},L_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ca.toString(),{id:e})).customerDelete;return new A(this._request,t)}},R_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(la.toString(),{sourceCustomerId:e,targetCustomerId:t})).customerMerge;return new Au(this._request,n)}},z_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ua.toString(),{id:e})).customerNeedArchive;return new Cu(this._request,t)}},B_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(da.toString(),{input:e})).customerNeedCreate;return new Eu(this._request,t)}},V_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fa.toString(),{input:e})).customerNeedCreateFromAttachment;return new Eu(this._request,t)}},H_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(pa.toString(),{id:e,...t})).customerNeedDelete;return new A(this._request,n)}},U_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ma.toString(),{id:e})).customerNeedUnarchive;return new Cu(this._request,t)}},W_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ha.toString(),{id:e,input:t})).customerNeedUpdate;return new Du(this._request,n)}},G_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ga.toString(),{input:e})).customerStatusCreate;return new Nu(this._request,t)}},K_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_a.toString(),{id:e})).customerStatusDelete;return new A(this._request,t)}},q_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(va.toString(),{id:e,input:t})).customerStatusUpdate;return new Nu(this._request,n)}},J_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ya.toString(),{input:e})).customerTierCreate;return new Iu(this._request,t)}},Y_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ba.toString(),{id:e})).customerTierDelete;return new A(this._request,t)}},X_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xa.toString(),{id:e,input:t})).customerTierUpdate;return new Iu(this._request,n)}},Z_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sa.toString(),{id:e})).customerUnsync;return new Au(this._request,t)}},Q_=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ca.toString(),{id:e,input:t})).customerUpdate;return new Au(this._request,n)}},$_=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wa.toString(),{input:e})).customerUpsert;return new Au(this._request,t)}},ev=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ta.toString(),{id:e})).cycleArchive;return new Ru(this._request,t)}},tv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ea.toString(),{input:e})).cycleCreate;return new Vu(this._request,t)}},nv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Da.toString(),{input:e})).cycleShiftAll;return new Vu(this._request,t)}},rv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Oa.toString(),{id:e})).cycleStartUpcomingCycleToday;return new Vu(this._request,t)}},iv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ka.toString(),{id:e,input:t})).cycleUpdate;return new Vu(this._request,n)}},av=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Aa.toString(),{input:e})).documentCreate;return new Yu(this._request,t)}},ov=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ja.toString(),{id:e})).documentDelete;return new Uu(this._request,t)}},sv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ma.toString(),{id:e})).documentUnarchive;return new Uu(this._request,t)}},cv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Na.toString(),{id:e,input:t})).documentUpdate;return new Yu(this._request,n)}},lv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pa.toString(),{input:e})).emailIntakeAddressCreate;return new td(this._request,t)}},uv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fa.toString(),{id:e})).emailIntakeAddressDelete;return new A(this._request,t)}},dv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ia.toString(),{id:e})).emailIntakeAddressRotate;return new td(this._request,t)}},fv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(La.toString(),{id:e,input:t})).emailIntakeAddressUpdate;return new td(this._request,n)}},pv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ra.toString(),{input:e})).emailTokenUserAccountAuth;return new ou(this._request,t)}},mv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(za.toString(),{input:e})).emailUnsubscribe;return new nd(this._request,t)}},hv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ba.toString(),{input:e})).emailUserAccountAuthChallenge;return new rd(this._request,t)}},gv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Va.toString(),{input:e})).emojiCreate;return new od(this._request,t)}},_v=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ha.toString(),{id:e})).emojiDelete;return new A(this._request,t)}},vv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ua.toString(),{input:e})).entityExternalLinkCreate;return new ld(this._request,t)}},yv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Wa.toString(),{id:e})).entityExternalLinkDelete;return new A(this._request,t)}},bv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ga.toString(),{id:e,input:t})).entityExternalLinkUpdate;return new ld(this._request,n)}},xv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ka.toString(),{input:e})).favoriteCreate;return new gd(this._request,t)}},Sv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qa.toString(),{id:e})).favoriteDelete;return new A(this._request,t)}},Cv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ja.toString(),{id:e,input:t})).favoriteUpdate;return new gd(this._request,n)}},wv=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(Ya.toString(),{contentType:e,filename:t,size:n,...r})).fileUpload;return new Nm(this._request,i)}},Tv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xa.toString(),{input:e})).gitAutomationStateCreate;return new bd(this._request,t)}},Ev=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Za.toString(),{id:e})).gitAutomationStateDelete;return new A(this._request,t)}},Dv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Qa.toString(),{id:e,input:t})).gitAutomationStateUpdate;return new bd(this._request,n)}},Ov=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request($a.toString(),{input:e})).gitAutomationTargetBranchCreate;return new Sd(this._request,t)}},kv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(eo.toString(),{id:e})).gitAutomationTargetBranchDelete;return new A(this._request,t)}},Av=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(to.toString(),{id:e,input:t})).gitAutomationTargetBranchUpdate;return new Sd(this._request,n)}},jv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(no.toString(),{input:e})).googleUserAccountAuth;return new ou(this._request,t)}},Mv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ro.toString(),{url:e})).imageUploadFromUrl;return new Od(this._request,t)}},Nv=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(io.toString(),{contentType:e,filename:t,size:n,...r})).importFileUpload;return new Nm(this._request,i)}},Pv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ao.toString(),{id:e})).initiativeArchive;return new Ad(this._request,t)}},Fv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(oo.toString(),{input:e})).initiativeCreate;return new Id(this._request,t)}},Iv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(so.toString(),{id:e})).initiativeDelete;return new A(this._request,t)}},Lv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(co.toString(),{input:e})).initiativeRelationCreate;return new zd(this._request,t)}},Rv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(lo.toString(),{id:e})).initiativeRelationDelete;return new A(this._request,t)}},zv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(uo.toString(),{id:e,input:t})).initiativeRelationUpdate;return new A(this._request,n)}},Bv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fo.toString(),{input:e})).initiativeToProjectCreate;return new Hd(this._request,t)}},Vv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(po.toString(),{id:e})).initiativeToProjectDelete;return new A(this._request,t)}},Hv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(mo.toString(),{id:e,input:t})).initiativeToProjectUpdate;return new Hd(this._request,n)}},Uv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ho.toString(),{id:e})).initiativeUnarchive;return new Ad(this._request,t)}},Wv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(go.toString(),{id:e,input:t})).initiativeUpdate;return new Id(this._request,n)}},Gv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_o.toString(),{id:e})).initiativeUpdateArchive;return new Wd(this._request,t)}},Kv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vo.toString(),{input:e})).initiativeUpdateCreate;return new Kd(this._request,t)}},qv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yo.toString(),{id:e})).initiativeUpdateUnarchive;return new Wd(this._request,t)}},Jv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(bo.toString(),{id:e,input:t})).initiativeUpdateUpdate;return new Kd(this._request,n)}},Yv=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(xo.toString(),{id:e})).integrationArchive;return new A(this._request,t)}},Xv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(So.toString(),{code:e,redirectUri:t})).integrationAsksConnectChannel;return new $l(this._request,n)}},Zv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Co.toString(),{id:e,...t})).integrationDelete;return new A(this._request,n)}},Qv=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(wo.toString(),{code:e,redirectUri:t})).integrationDiscord;return new j(this._request,n)}},$v=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(To.toString(),{code:e,redirectUri:t})).integrationFigma;return new j(this._request,n)}},ey=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Eo.toString(),{code:e,redirectUri:t})).integrationFront;return new j(this._request,n)}},ty=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Do.toString(),{githubUrl:e,organizationName:t})).integrationGitHubEnterpriseServerConnect;return new Td(this._request,n)}},ny=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Oo.toString(),{code:e,...t})).integrationGitHubPersonal;return new j(this._request,n)}},ry=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(ko.toString(),{})).integrationGithubCommitCreate;return new Cd(this._request,e)}},iy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ao.toString(),{code:e,installationId:t,...n})).integrationGithubConnect;return new j(this._request,r)}},ay=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(jo.toString(),{code:e,installationId:t})).integrationGithubImportConnect;return new j(this._request,n)}},oy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mo.toString(),{id:e})).integrationGithubImportRefresh;return new j(this._request,t)}},sy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(No.toString(),{accessToken:e,gitlabUrl:t})).integrationGitlabConnect;return new Ed(this._request,n)}},cy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Po.toString(),{integrationId:e})).integrationGitlabTestConnection;return new Dd(this._request,t)}},ly=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Fo.toString(),{code:e,redirectUri:t})).integrationGong;return new j(this._request,n)}},uy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Io.toString(),{code:e})).integrationGoogleSheets;return new j(this._request,t)}},dy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Lo.toString(),{code:e,redirectUri:t,...n})).integrationIntercom;return new j(this._request,r)}},fy=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Ro.toString(),{})).integrationIntercomDelete;return new j(this._request,e)}},py=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zo.toString(),{input:e})).integrationIntercomSettingsUpdate;return new j(this._request,t)}},my=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bo.toString(),e)).integrationJiraPersonal;return new j(this._request,t)}},hy=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(Vo.toString(),{})).integrationLoom;return new j(this._request,e)}},gy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ho.toString(),{input:e})).integrationRequest;return new Zd(this._request,t)}},_y=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Uo.toString(),{code:e,redirectUri:t,subdomain:n})).integrationSalesforce;return new j(this._request,r)}},vy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Wo.toString(),{code:e,installationId:t,organizationSlug:n})).integrationSentryConnect;return new j(this._request,r)}},yy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Go.toString(),{code:e,redirectUri:t,...n})).integrationSlack;return new j(this._request,r)}},by=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ko.toString(),{code:e,redirectUri:t})).integrationSlackAsks;return new j(this._request,n)}},xy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(qo.toString(),{code:e,customViewId:t,redirectUri:n})).integrationSlackCustomViewNotifications;return new sm(this._request,r)}},Sy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Jo.toString(),{code:e,customerId:t,redirectUri:n})).integrationSlackCustomerChannelLink;return new um(this._request,r)}},Cy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Yo.toString(),{code:e,redirectUri:t})).integrationSlackImportEmojis;return new j(this._request,n)}},wy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xo.toString(),{integrationId:e})).integrationSlackOrAsksUpdateSlackTeamName;return new Qd(this._request,t)}},Ty=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Zo.toString(),{code:e,redirectUri:t})).integrationSlackOrgProjectUpdatesPost;return new sm(this._request,n)}},Ey=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Qo.toString(),{code:e,redirectUri:t})).integrationSlackPersonal;return new j(this._request,n)}},Dy=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request($o.toString(),{code:e,redirectUri:t,teamId:n,...r})).integrationSlackPost;return new sm(this._request,i)}},Oy=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(es.toString(),{code:e,projectId:t,redirectUri:n,service:r})).integrationSlackProjectPost;return new sm(this._request,i)}},ky=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ts.toString(),{input:e})).integrationTemplateCreate;return new tf(this._request,t)}},Ay=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ns.toString(),{id:e})).integrationTemplateDelete;return new A(this._request,t)}},jy=class extends C{constructor(e){super(e)}async fetch(e,t,n,r){let i=(await this._request(rs.toString(),{code:e,redirectUri:t,scope:n,subdomain:r})).integrationZendesk;return new j(this._request,i)}},My=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(is.toString(),{input:e})).integrationsSettingsCreate;return new rf(this._request,t)}},Ny=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(as.toString(),{id:e,input:t})).integrationsSettingsUpdate;return new rf(this._request,n)}},Py=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(os.toString(),{id:e,labelId:t})).issueAddLabel;return new xf(this._request,n)}},Fy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ss.toString(),{id:e,...t})).issueArchive;return new of(this._request,n)}},Iy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(cs.toString(),{input:e})).issueBatchCreate;return new sf(this._request,t)}},Ly=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ls.toString(),{ids:e,input:t})).issueBatchUpdate;return new sf(this._request,n)}},Ry=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(us.toString(),{input:e})).issueCreate;return new xf(this._request,t)}},zy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ds.toString(),{id:e,...t})).issueDelete;return new of(this._request,n)}},By=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fs.toString(),{attachmentId:e})).issueExternalSyncDisable;return new xf(this._request,t)}},Vy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(ps.toString(),{asanaTeamName:e,asanaToken:t,...n})).issueImportCreateAsana;return new hf(this._request,r)}},Hy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ms.toString(),{csvUrl:e,...t})).issueImportCreateCSVJira;return new hf(this._request,n)}},Uy=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(hs.toString(),{clubhouseGroupName:e,clubhouseToken:t,...n})).issueImportCreateClubhouse;return new hf(this._request,r)}},Wy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gs.toString(),e)).issueImportCreateGithub;return new hf(this._request,t)}},Gy=class extends C{constructor(e){super(e)}async fetch(e,t,n,r,i){let a=(await this._request(_s.toString(),{jiraEmail:e,jiraHostname:t,jiraProject:n,jiraToken:r,...i})).issueImportCreateJira;return new hf(this._request,a)}},Ky=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vs.toString(),{issueImportId:e})).issueImportDelete;return new pf(this._request,t)}},qy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ys.toString(),{issueImportId:e,mapping:t})).issueImportProcess;return new hf(this._request,n)}},Jy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(bs.toString(),{id:e,input:t})).issueImportUpdate;return new hf(this._request,n)}},Yy=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xs.toString(),{input:e,...t})).issueLabelCreate;return new yf(this._request,n)}},Xy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ss.toString(),{id:e})).issueLabelDelete;return new A(this._request,t)}},Zy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Cs.toString(),{id:e})).issueLabelRestore;return new yf(this._request,t)}},Qy=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ws.toString(),{id:e})).issueLabelRetire;return new yf(this._request,t)}},$y=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Ts.toString(),{id:e,input:t,...n})).issueLabelUpdate;return new yf(this._request,r)}},eb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Es.toString(),{input:e,...t})).issueRelationCreate;return new Ef(this._request,n)}},tb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ds.toString(),{id:e})).issueRelationDelete;return new A(this._request,t)}},nb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Os.toString(),{id:e,input:t})).issueRelationUpdate;return new Ef(this._request,n)}},rb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ks.toString(),{id:e,reminderAt:t})).issueReminder;return new xf(this._request,n)}},ib=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(As.toString(),{id:e,labelId:t})).issueRemoveLabel;return new xf(this._request,n)}},ab=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(js.toString(),{id:e,...t})).issueSubscribe;return new xf(this._request,n)}},ob=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ms.toString(),{id:e})).issueUnarchive;return new of(this._request,t)}},sb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ns.toString(),{id:e,...t})).issueUnsubscribe;return new xf(this._request,n)}},cb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ps.toString(),{id:e,input:t})).issueUpdate;return new xf(this._request,n)}},lb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fs.toString(),{input:e})).joinOrganizationFromOnboarding;return new mu(this._request,t)}},ub=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Is.toString(),{organizationId:e})).leaveOrganization;return new mu(this._request,t)}},db=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ls.toString(),e)).logout;return new Pf(this._request,t)}},fb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rs.toString(),e)).logoutAllSessions;return new Pf(this._request,t)}},pb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zs.toString(),e)).logoutOtherSessions;return new Pf(this._request,t)}},mb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bs.toString(),{sessionId:e})).logoutSession;return new Pf(this._request,t)}},hb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Vs.toString(),{id:e})).notificationArchive;return new If(this._request,t)}},gb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Hs.toString(),{input:e})).notificationArchiveAll;return new Lf(this._request,t)}},_b=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(Us.toString(),{category:e,channel:t,subscribe:n})).notificationCategoryChannelSubscriptionUpdate;return new Wm(this._request,r)}},vb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ws.toString(),{input:e,readAt:t})).notificationMarkReadAll;return new Lf(this._request,n)}},yb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Gs.toString(),{input:e})).notificationMarkUnreadAll;return new Lf(this._request,t)}},bb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ks.toString(),{input:e,snoozedUntilAt:t})).notificationSnoozeAll;return new Lf(this._request,n)}},xb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qs.toString(),{input:e})).notificationSubscriptionCreate;return new qf(this._request,t)}},Sb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Js.toString(),{id:e})).notificationSubscriptionDelete;return new A(this._request,t)}},Cb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ys.toString(),{id:e,input:t})).notificationSubscriptionUpdate;return new qf(this._request,n)}},wb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xs.toString(),{id:e})).notificationUnarchive;return new If(this._request,t)}},Tb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Zs.toString(),{input:e,unsnoozedAt:t})).notificationUnsnoozeAll;return new Lf(this._request,n)}},Eb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Qs.toString(),{id:e,input:t})).notificationUpdate;return new Wf(this._request,n)}},Db=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request($s.toString(),{})).organizationCancelDelete;return new Zf(this._request,e)}},Ob=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ec.toString(),{input:e})).organizationDelete;return new Qf(this._request,t)}},kb=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(tc.toString(),{})).organizationDeleteChallenge;return new Qf(this._request,e)}},Ab=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(nc.toString(),{id:e})).organizationDomainDelete;return new A(this._request,t)}},jb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(rc.toString(),{input:e})).organizationInviteCreate;return new np(this._request,t)}},Mb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ic.toString(),{id:e})).organizationInviteDelete;return new A(this._request,t)}},Nb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ac.toString(),{id:e,input:t})).organizationInviteUpdate;return new np(this._request,n)}},Pb=class extends C{constructor(e){super(e)}async fetch(){let e=(await this._request(oc.toString(),{})).organizationStartTrial;return new ap(this._request,e)}},Fb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(sc.toString(),{input:e})).organizationStartTrialForPlan;return new ap(this._request,t)}},Ib=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(cc.toString(),{input:e})).organizationUpdate;return new ip(this._request,t)}},Lb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(lc.toString(),{id:e,labelId:t})).projectAddLabel;return new wp(this._request,n)}},Rb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(uc.toString(),{id:e,...t})).projectArchive;return new lp(this._request,n)}},zb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(dc.toString(),{input:e,...t})).projectCreate;return new wp(this._request,n)}},Bb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fc.toString(),{id:e})).projectDelete;return new lp(this._request,t)}},Vb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(pc.toString(),{projectId:e,syncSource:t})).projectExternalSyncDisable;return new wp(this._request,n)}},Hb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(mc.toString(),{input:e})).projectLabelCreate;return new vp(this._request,t)}},Ub=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(hc.toString(),{id:e})).projectLabelDelete;return new A(this._request,t)}},Wb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gc.toString(),{id:e})).projectLabelRestore;return new vp(this._request,t)}},Gb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_c.toString(),{id:e})).projectLabelRetire;return new vp(this._request,t)}},Kb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(vc.toString(),{id:e,input:t})).projectLabelUpdate;return new vp(this._request,n)}},qb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(yc.toString(),{input:e})).projectMilestoneCreate;return new xp(this._request,t)}},Jb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(bc.toString(),{id:e})).projectMilestoneDelete;return new A(this._request,t)}},Yb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xc.toString(),{id:e,input:t})).projectMilestoneUpdate;return new xp(this._request,n)}},Xb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sc.toString(),{input:e})).projectRelationCreate;return new Dp(this._request,t)}},Zb=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Cc.toString(),{id:e})).projectRelationDelete;return new A(this._request,t)}},Qb=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(wc.toString(),{id:e,input:t})).projectRelationUpdate;return new Dp(this._request,n)}},$b=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Tc.toString(),{id:e,labelId:t})).projectRemoveLabel;return new wp(this._request,n)}},ex=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ec.toString(),{id:e})).projectStatusArchive;return new jp(this._request,t)}},tx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Dc.toString(),{input:e})).projectStatusCreate;return new Np(this._request,t)}},nx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Oc.toString(),{id:e})).projectStatusUnarchive;return new jp(this._request,t)}},rx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(kc.toString(),{id:e,input:t})).projectStatusUpdate;return new Np(this._request,n)}},ix=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ac.toString(),{id:e})).projectUnarchive;return new lp(this._request,t)}},ax=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(jc.toString(),{id:e,input:t})).projectUpdate;return new wp(this._request,n)}},ox=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Mc.toString(),{id:e})).projectUpdateArchive;return new Fp(this._request,t)}},sx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nc.toString(),{input:e})).projectUpdateCreate;return new Lp(this._request,t)}},cx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Pc.toString(),{id:e})).projectUpdateDelete;return new A(this._request,t)}},lx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fc.toString(),{id:e})).projectUpdateUnarchive;return new Fp(this._request,t)}},ux=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ic.toString(),{id:e,input:t})).projectUpdateUpdate;return new Lp(this._request,n)}},dx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Lc.toString(),{input:e})).pushSubscriptionCreate;return new Vp(this._request,t)}},fx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Rc.toString(),{id:e})).pushSubscriptionDelete;return new Vp(this._request,t)}},px=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zc.toString(),{input:e})).reactionCreate;return new Kp(this._request,t)}},mx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bc.toString(),{id:e})).reactionDelete;return new A(this._request,t)}},hx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Vc.toString(),{id:e,...t})).refreshGoogleSheetsData;return new j(this._request,n)}},gx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Hc.toString(),{id:e})).resendOrganizationInvite;return new A(this._request,t)}},_x=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Uc.toString(),{email:e})).resendOrganizationInviteByEmail;return new A(this._request,t)}},vx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Wc.toString(),{id:e})).roadmapArchive;return new Xp(this._request,t)}},yx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Gc.toString(),{input:e})).roadmapCreate;return new Qp(this._request,t)}},bx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Kc.toString(),{id:e})).roadmapDelete;return new A(this._request,t)}},xx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(qc.toString(),{input:e})).roadmapToProjectCreate;return new tm(this._request,t)}},Sx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Jc.toString(),{id:e})).roadmapToProjectDelete;return new A(this._request,t)}},Cx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Yc.toString(),{id:e,input:t})).roadmapToProjectUpdate;return new tm(this._request,n)}},wx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Xc.toString(),{id:e})).roadmapUnarchive;return new Xp(this._request,t)}},Tx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Zc.toString(),{id:e,input:t})).roadmapUpdate;return new Qp(this._request,n)}},Ex=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Qc.toString(),{input:e})).samlTokenUserAccountAuth;return new ou(this._request,t)}},Dx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request($c.toString(),{input:e,...t})).teamCreate;return new ym(this._request,n)}},Ox=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(el.toString(),{id:e})).teamCyclesDelete;return new ym(this._request,t)}},kx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(tl.toString(),{id:e})).teamDelete;return new A(this._request,t)}},Ax=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(nl.toString(),{id:e})).teamKeyDelete;return new A(this._request,t)}},jx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(rl.toString(),{input:e})).teamMembershipCreate;return new _m(this._request,t)}},Mx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(il.toString(),{id:e,...t})).teamMembershipDelete;return new A(this._request,n)}},Nx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(al.toString(),{id:e,input:t})).teamMembershipUpdate;return new _m(this._request,n)}},Px=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ol.toString(),{id:e})).teamUnarchive;return new pm(this._request,t)}},Fx=class extends C{constructor(e){super(e)}async fetch(e,t,n){let r=(await this._request(sl.toString(),{id:e,input:t,...n})).teamUpdate;return new ym(this._request,r)}},Ix=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(cl.toString(),{input:e})).templateCreate;return new Sm(this._request,t)}},Lx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(ll.toString(),{id:e})).templateDelete;return new A(this._request,t)}},Rx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ul.toString(),{id:e,input:t})).templateUpdate;return new Sm(this._request,n)}},zx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(dl.toString(),{input:e})).timeScheduleCreate;return new Em(this._request,t)}},Bx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(fl.toString(),{id:e})).timeScheduleDelete;return new A(this._request,t)}},Vx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(pl.toString(),{id:e})).timeScheduleRefreshIntegrationSchedule;return new Em(this._request,t)}},Hx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(ml.toString(),{id:e,input:t})).timeScheduleUpdate;return new Em(this._request,n)}},Ux=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(hl.toString(),{externalId:e,input:t})).timeScheduleUpsertExternal;return new Em(this._request,n)}},Wx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(gl.toString(),{input:e})).trackAnonymousEvent;return new ud(this._request,t)}},Gx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(_l.toString(),{input:e})).triageResponsibilityCreate;return new Am(this._request,t)}},Kx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(vl.toString(),{id:e})).triageResponsibilityDelete;return new A(this._request,t)}},qx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(yl.toString(),{id:e,input:t})).triageResponsibilityUpdate;return new Am(this._request,n)}},Jx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(bl.toString(),{id:e,role:t})).userChangeRole;return new Fm(this._request,n)}},Yx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(xl.toString(),{code:e,redirectUri:t})).userDiscordConnect;return new Rm(this._request,n)}},Xx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Sl.toString(),{service:e})).userExternalUserDisconnect;return new Rm(this._request,t)}},Zx=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Cl.toString(),{flag:e,operation:t})).userFlagUpdate;return new Hm(this._request,n)}},Qx=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(wl.toString(),{id:e})).userRevokeAllSessions;return new Fm(this._request,t)}},$x=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Tl.toString(),{id:e,sessionId:t})).userRevokeSession;return new Fm(this._request,n)}},eS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(El.toString(),e)).userSettingsFlagsReset;return new Um(this._request,t)}},tS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Dl.toString(),{id:e,input:t})).userSettingsUpdate;return new Wm(this._request,n)}},nS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Ol.toString(),{id:e,...t})).userSuspend;return new Fm(this._request,n)}},rS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(kl.toString(),{id:e})).userUnlinkFromIdentityProvider;return new Fm(this._request,t)}},iS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Al.toString(),{id:e,...t})).userUnsuspend;return new Fm(this._request,n)}},aS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(jl.toString(),{id:e,input:t})).userUpdate;return new Rm(this._request,n)}},oS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ml.toString(),{input:e})).viewPreferencesCreate;return new qm(this._request,t)}},sS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Nl.toString(),{id:e})).viewPreferencesDelete;return new A(this._request,t)}},cS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Pl.toString(),{id:e,input:t})).viewPreferencesUpdate;return new qm(this._request,n)}},lS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Fl.toString(),{input:e})).webhookCreate;return new Qm(this._request,t)}},uS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Il.toString(),{id:e})).webhookDelete;return new A(this._request,t)}},dS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Ll.toString(),{id:e})).webhookRotateSecret;return new $m(this._request,t)}},fS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Rl.toString(),{id:e,input:t})).webhookUpdate;return new Qm(this._request,n)}},pS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(zl.toString(),{id:e})).workflowStateArchive;return new rh(this._request,t)}},mS=class extends C{constructor(e){super(e)}async fetch(e){let t=(await this._request(Bl.toString(),{input:e})).workflowStateCreate;return new ah(this._request,t)}},hS=class extends C{constructor(e){super(e)}async fetch(e,t){let n=(await this._request(Vl.toString(),{id:e,input:t})).workflowStateUpdate;return new ah(this._request,n)}},gS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(qe.toString(),{id:this._id,...this._variables,...e})).agentSession.activities;return new Wl(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},_S=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(at.toString(),e)).comment.children;return new uu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},vS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(ot.toString(),e)).comment.createdIssues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},yS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(lt.toString(),{id:this._id,...this._variables,...e})).customView.initiatives;return new jd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},bS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ut.toString(),{id:this._id,...this._variables,...e})).customView.issues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},xS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(dt.toString(),{id:this._id,...this._variables,...e})).customView.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},SS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ct.toString(),{id:this._id,...this._variables,...e})).cycle.issues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},CS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(wt.toString(),{id:this._id,...this._variables,...e})).cycle.uncompletedIssuesUponClose;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},wS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Dt.toString(),{id:this._id,...this._variables,...e})).document.comments;return new uu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},TS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Lt.toString(),{id:this._id,...this._variables,...e})).favorite.children;return new hd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},ES=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Bt.toString(),{id:this._id,...this._variables,...e})).initiative.documents;return new Wu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},DS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Vt.toString(),{id:this._id,...this._variables,...e})).initiative.history;return new Nd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},OS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ht.toString(),{id:this._id,...this._variables,...e})).initiative.initiativeUpdates;return new Gd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},kS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ut.toString(),{id:this._id,...this._variables,...e})).initiative.links;return new cd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},AS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Wt.toString(),{id:this._id,...this._variables,...e})).initiative.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},jS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Gt.toString(),{id:this._id,...this._variables,...e})).initiative.subInitiatives;return new jd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},MS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Zt.toString(),{id:this._id,...this._variables,...e})).initiativeUpdate.comments;return new uu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},NS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(cn.toString(),{id:this._id,...this._variables,...e})).issue.attachments;return new tu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},PS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ln.toString(),{id:this._id,...this._variables,...e})).issue.children;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},FS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(un.toString(),{id:this._id,...this._variables,...e})).issue.comments;return new uu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},IS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(dn.toString(),{id:this._id,...this._variables,...e})).issue.documents;return new Wu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},LS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(fn.toString(),{id:this._id,...this._variables,...e})).issue.formerAttachments;return new tu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},RS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(pn.toString(),{id:this._id,...this._variables,...e})).issue.formerNeeds;return new wu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},zS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(mn.toString(),{id:this._id,...this._variables,...e})).issue.history;return new uf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},BS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(hn.toString(),{id:this._id,...this._variables,...e})).issue.inverseRelations;return new wf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},VS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(gn.toString(),{id:this._id,...this._variables,...e})).issue.labels;return new vf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},HS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(_n.toString(),{id:this._id,...this._variables,...e})).issue.needs;return new wu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},US=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(vn.toString(),{id:this._id,...this._variables,...e})).issue.relations;return new wf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},WS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(yn.toString(),{id:this._id,...this._variables,...e})).issue.stateHistory;return new jf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},GS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(bn.toString(),{id:this._id,...this._variables,...e})).issue.subscribers;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},KS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Dn.toString(),{id:this._id,...this._variables,...e})).issueLabel.children;return new vf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},qS=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(On.toString(),{id:this._id,...this._variables,...e})).issueLabel.issues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},JS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Un.toString(),e)).organization.integrations;return new Yd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},YS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Wn.toString(),e)).organization.labels;return new vf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},XS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Gn.toString(),e)).organization.projectLabels;return new _p(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},ZS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Kn.toString(),e)).organization.teams;return new mm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},QS=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(qn.toString(),e)).organization.templates;return new xm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},$S=class extends C{_variables;constructor(e,t){super(e),this._variables=t}async fetch(e){let t=(await this._request(Jn.toString(),e)).organization.users;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},eC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request($n.toString(),{id:this._id,...this._variables,...e})).project.attachments;return new dp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},tC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(er.toString(),{id:this._id,...this._variables,...e})).project.comments;return new uu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},nC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(tr.toString(),{id:this._id,...this._variables,...e})).project.documents;return new Wu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},rC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(nr.toString(),{id:this._id,...this._variables,...e})).project.externalLinks;return new cd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},iC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(rr.toString(),{id:this._id,...this._variables,...e})).project.history;return new hp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},aC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ir.toString(),{id:this._id,...this._variables,...e})).project.initiativeToProjects;return new Vd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},oC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ar.toString(),{id:this._id,...this._variables,...e})).project.initiatives;return new jd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},sC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(or.toString(),{id:this._id,...this._variables,...e})).project.inverseRelations;return new Ep(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},cC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(sr.toString(),{id:this._id,...this._variables,...e})).project.issues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},lC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(cr.toString(),{id:this._id,...this._variables,...e})).project.labels;return new _p(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},uC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(lr.toString(),{id:this._id,...this._variables,...e})).project.members;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},dC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(ur.toString(),{id:this._id,...this._variables,...e})).project.needs;return new wu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},fC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(dr.toString(),{id:this._id,...this._variables,...e})).project.projectMilestones;return new bp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},pC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(fr.toString(),{id:this._id,...this._variables,...e})).project.projectUpdates;return new Ip(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},mC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(pr.toString(),{id:this._id,...this._variables,...e})).project.relations;return new Ep(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},hC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(mr.toString(),{id:this._id,...this._variables,...e})).project.teams;return new mm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},gC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(_r.toString(),{id:this._id,...this._variables,...e})).projectLabel.children;return new _p(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},_C=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(vr.toString(),{id:this._id,...this._variables,...e})).projectLabel.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},vC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(xr.toString(),{id:this._id,...this._variables,...e})).projectMilestone.issues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},yC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Or.toString(),{id:this._id,...this._variables,...e})).projectUpdate.comments;return new uu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},bC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Pr.toString(),{id:this._id,...this._variables,...e})).roadmap.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},xC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Wr.toString(),{id:this._id,...this._variables,...e})).team.cycles;return new zu(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},SC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Gr.toString(),{id:this._id,...this._variables,...e})).team.gitAutomationStates;return new yd(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},CC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Kr.toString(),{id:this._id,...this._variables,...e})).team.issues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},wC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(qr.toString(),{id:this._id,...this._variables,...e})).team.labels;return new vf(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},TC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Jr.toString(),{id:this._id,...this._variables,...e})).team.members;return new Im(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},EC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Yr.toString(),{id:this._id,...this._variables,...e})).team.memberships;return new gm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},DC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Xr.toString(),{id:this._id,...this._variables,...e})).team.projects;return new fp(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},OC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Zr.toString(),{id:this._id,...this._variables,...e})).team.states;return new ih(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},kC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Qr.toString(),{id:this._id,...this._variables,...e})).team.templates;return new xm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},AC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request($r.toString(),{id:this._id,...this._variables,...e})).team.webhooks;return new Zm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},jC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(di.toString(),{id:this._id,...this._variables,...e})).user.assignedIssues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},MC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(fi.toString(),{id:this._id,...this._variables,...e})).user.createdIssues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},NC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(pi.toString(),{id:this._id,...this._variables,...e})).user.delegatedIssues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},PC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(mi.toString(),{id:this._id,...this._variables,...e})).user.drafts;return new $u(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},FC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(hi.toString(),{id:this._id,...this._variables,...e})).user.teamMemberships;return new gm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},IC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(gi.toString(),{id:this._id,...this._variables,...e})).user.teams;return new mm(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},LC=class extends C{_id;_variables;constructor(e,t,n){super(e),this._id=t,this._variables=n}async fetch(e){let t=(await this._request(Ti.toString(),{id:this._id,...this._variables,...e})).workflowState.issues;return new M(this._request,t=>this.fetch(w({...this._variables,...e,...t})),t)}},RC=class extends C{constructor(e){super(e)}administrableTeams(e){return new oh(this._request).fetch(e)}agentActivities(e){return new sh(this._request).fetch(e)}agentActivity(e){return new ch(this._request).fetch(e)}agentSession(e){return new lh(this._request).fetch(e)}agentSessions(e){return new uh(this._request).fetch(e)}applicationInfo(e){return new dh(this._request).fetch(e)}attachment(e){return new fh(this._request).fetch(e)}attachmentIssue(e){return new ph(this._request).fetch(e)}attachments(e){return new mh(this._request).fetch(e)}attachmentsForURL(e,t){return new hh(this._request).fetch(e,t)}auditEntries(e){return new gh(this._request).fetch(e)}get auditEntryTypes(){return new _h(this._request).fetch()}get authenticationSessions(){return new vh(this._request).fetch()}get availableUsers(){return new yh(this._request).fetch()}comment(e){return new F(this._request).fetch(e)}comments(e){return new bh(this._request).fetch(e)}customView(e){return new I(this._request).fetch(e)}customViewHasSubscribers(e){return new xh(this._request).fetch(e)}customViews(e){return new Sh(this._request).fetch(e)}customer(e){return new L(this._request).fetch(e)}customerNeed(e){return new Ch(this._request).fetch(e)}customerNeeds(e){return new wh(this._request).fetch(e)}customerStatus(e){return new Th(this._request).fetch(e)}customerStatuses(e){return new Eh(this._request).fetch(e)}customerTier(e){return new Dh(this._request).fetch(e)}customerTiers(e){return new Oh(this._request).fetch(e)}customers(e){return new kh(this._request).fetch(e)}cycle(e){return new R(this._request).fetch(e)}cycles(e){return new Ah(this._request).fetch(e)}document(e){return new z(this._request).fetch(e)}documentContentHistory(e){return new jh(this._request).fetch(e)}documents(e){return new Mh(this._request).fetch(e)}emailIntakeAddress(e){return new Nh(this._request).fetch(e)}emoji(e){return new Ph(this._request).fetch(e)}emojis(e){return new Fh(this._request).fetch(e)}entityExternalLink(e){return new Ih(this._request).fetch(e)}externalUser(e){return new B(this._request).fetch(e)}externalUsers(e){return new Lh(this._request).fetch(e)}favorite(e){return new Rh(this._request).fetch(e)}favorites(e){return new zh(this._request).fetch(e)}initiative(e){return new V(this._request).fetch(e)}initiativeRelation(e){return new Bh(this._request).fetch(e)}initiativeRelations(e){return new Vh(this._request).fetch(e)}initiativeToProject(e){return new Hh(this._request).fetch(e)}initiativeToProjects(e){return new Uh(this._request).fetch(e)}initiativeUpdate(e){return new H(this._request).fetch(e)}initiativeUpdates(e){return new Wh(this._request).fetch(e)}initiatives(e){return new Gh(this._request).fetch(e)}integration(e){return new U(this._request).fetch(e)}integrationHasScopes(e,t){return new Kh(this._request).fetch(e,t)}integrationTemplate(e){return new qh(this._request).fetch(e)}integrationTemplates(e){return new Jh(this._request).fetch(e)}integrations(e){return new Yh(this._request).fetch(e)}integrationsSettings(e){return new Xh(this._request).fetch(e)}issue(e){return new W(this._request).fetch(e)}issueFigmaFileKeySearch(e,t){return new Zh(this._request).fetch(e,t)}issueFilterSuggestion(e,t){return new Qh(this._request).fetch(e,t)}issueImportCheckCSV(e,t){return new $h(this._request).fetch(e,t)}issueImportCheckSync(e){return new eg(this._request).fetch(e)}issueImportJqlCheck(e,t,n,r,i){return new tg(this._request).fetch(e,t,n,r,i)}issueLabel(e){return new G(this._request).fetch(e)}issueLabels(e){return new ng(this._request).fetch(e)}get issuePriorityValues(){return new rg(this._request).fetch()}issueRelation(e){return new ig(this._request).fetch(e)}issueRelations(e){return new ag(this._request).fetch(e)}issueRepositorySuggestions(e,t,n){return new og(this._request).fetch(e,t,n)}issueSearch(e){return new sg(this._request).fetch(e)}issueTitleSuggestionFromCustomerRequest(e){return new cg(this._request).fetch(e)}issueVcsBranchSearch(e){return new lg(this._request).fetch(e)}issues(e){return new ug(this._request).fetch(e)}notification(e){return new dg(this._request).fetch(e)}notificationSubscription(e){return new fg(this._request).fetch(e)}notificationSubscriptions(e){return new pg(this._request).fetch(e)}notifications(e){return new mg(this._request).fetch(e)}get organization(){return new K(this._request).fetch()}organizationExists(e){return new hg(this._request).fetch(e)}organizationInvite(e){return new gg(this._request).fetch(e)}organizationInvites(e){return new _g(this._request).fetch(e)}project(e){return new q(this._request).fetch(e)}projectFilterSuggestion(e){return new vg(this._request).fetch(e)}projectLabel(e){return new yg(this._request).fetch(e)}projectLabels(e){return new bg(this._request).fetch(e)}projectMilestone(e){return new J(this._request).fetch(e)}projectMilestones(e){return new xg(this._request).fetch(e)}projectRelation(e){return new Sg(this._request).fetch(e)}projectRelations(e){return new Cg(this._request).fetch(e)}projectStatus(e){return new wg(this._request).fetch(e)}projectStatuses(e){return new Tg(this._request).fetch(e)}projectUpdate(e){return new Y(this._request).fetch(e)}projectUpdates(e){return new Eg(this._request).fetch(e)}projects(e){return new Dg(this._request).fetch(e)}pushSubscriptionTest(e){return new Og(this._request).fetch(e)}get rateLimitStatus(){return new kg(this._request).fetch()}roadmap(e){return new Ag(this._request).fetch(e)}roadmapToProject(e){return new jg(this._request).fetch(e)}roadmapToProjects(e){return new Mg(this._request).fetch(e)}roadmaps(e){return new Ng(this._request).fetch(e)}searchDocuments(e,t){return new Pg(this._request).fetch(e,t)}searchIssues(e,t){return new Fg(this._request).fetch(e,t)}searchProjects(e,t){return new Ig(this._request).fetch(e,t)}semanticSearch(e,t){return new Lg(this._request).fetch(e,t)}ssoUrlFromEmail(e,t,n){return new Rg(this._request).fetch(e,t,n)}team(e){return new X(this._request).fetch(e)}teamMembership(e){return new zg(this._request).fetch(e)}teamMemberships(e){return new Bg(this._request).fetch(e)}teams(e){return new Vg(this._request).fetch(e)}template(e){return new Z(this._request).fetch(e)}get templates(){return new Hg(this._request).fetch()}templatesForIntegration(e){return new Ug(this._request).fetch(e)}timeSchedule(e){return new Wg(this._request).fetch(e)}timeSchedules(e){return new Gg(this._request).fetch(e)}triageResponsibilities(e){return new Kg(this._request).fetch(e)}triageResponsibility(e){return new qg(this._request).fetch(e)}user(e){return new Q(this._request).fetch(e)}userSessions(e){return new Jg(this._request).fetch(e)}get userSettings(){return new Yg(this._request).fetch()}users(e){return new Xg(this._request).fetch(e)}verifyGitHubEnterpriseServerInstallation(e){return new Zg(this._request).fetch(e)}get viewer(){return new Qg(this._request).fetch()}webhook(e){return new $g(this._request).fetch(e)}webhooks(e){return new e_(this._request).fetch(e)}workflowState(e){return new $(this._request).fetch(e)}workflowStates(e){return new t_(this._request).fetch(e)}createAgentActivity(e){return new n_(this._request).fetch(e)}agentSessionCreateOnComment(e){return new r_(this._request).fetch(e)}agentSessionCreateOnIssue(e){return new i_(this._request).fetch(e)}updateAgentSession(e,t){return new a_(this._request).fetch(e,t)}agentSessionUpdateExternalUrl(e,t){return new o_(this._request).fetch(e,t)}airbyteIntegrationConnect(e){return new s_(this._request).fetch(e)}createAttachment(e){return new c_(this._request).fetch(e)}deleteAttachment(e){return new l_(this._request).fetch(e)}attachmentLinkDiscord(e,t,n,r,i){return new u_(this._request).fetch(e,t,n,r,i)}attachmentLinkFront(e,t,n){return new d_(this._request).fetch(e,t,n)}attachmentLinkGitHubIssue(e,t,n){return new f_(this._request).fetch(e,t,n)}attachmentLinkGitHubPR(e,t,n){return new p_(this._request).fetch(e,t,n)}attachmentLinkGitLabMR(e,t,n,r,i){return new m_(this._request).fetch(e,t,n,r,i)}attachmentLinkIntercom(e,t,n){return new h_(this._request).fetch(e,t,n)}attachmentLinkJiraIssue(e,t,n){return new g_(this._request).fetch(e,t,n)}attachmentLinkSalesforce(e,t,n){return new __(this._request).fetch(e,t,n)}attachmentLinkSlack(e,t,n){return new v_(this._request).fetch(e,t,n)}attachmentLinkURL(e,t,n){return new y_(this._request).fetch(e,t,n)}attachmentLinkZendesk(e,t,n){return new b_(this._request).fetch(e,t,n)}attachmentSyncToSlack(e){return new x_(this._request).fetch(e)}updateAttachment(e,t){return new S_(this._request).fetch(e,t)}createComment(e){return new C_(this._request).fetch(e)}deleteComment(e){return new w_(this._request).fetch(e)}commentResolve(e,t){return new T_(this._request).fetch(e,t)}commentUnresolve(e){return new E_(this._request).fetch(e)}updateComment(e,t,n){return new D_(this._request).fetch(e,t,n)}createContact(e){return new O_(this._request).fetch(e)}createCsvExportReport(e){return new k_(this._request).fetch(e)}createInitiativeUpdateReminder(e,t){return new A_(this._request).fetch(e,t)}createOrganizationFromOnboarding(e,t){return new j_(this._request).fetch(e,t)}createProjectUpdateReminder(e,t){return new M_(this._request).fetch(e,t)}createCustomView(e){return new N_(this._request).fetch(e)}deleteCustomView(e){return new P_(this._request).fetch(e)}updateCustomView(e,t){return new F_(this._request).fetch(e,t)}createCustomer(e){return new I_(this._request).fetch(e)}deleteCustomer(e){return new L_(this._request).fetch(e)}customerMerge(e,t){return new R_(this._request).fetch(e,t)}archiveCustomerNeed(e){return new z_(this._request).fetch(e)}createCustomerNeed(e){return new B_(this._request).fetch(e)}customerNeedCreateFromAttachment(e){return new V_(this._request).fetch(e)}deleteCustomerNeed(e,t){return new H_(this._request).fetch(e,t)}unarchiveCustomerNeed(e){return new U_(this._request).fetch(e)}updateCustomerNeed(e,t){return new W_(this._request).fetch(e,t)}createCustomerStatus(e){return new G_(this._request).fetch(e)}deleteCustomerStatus(e){return new K_(this._request).fetch(e)}updateCustomerStatus(e,t){return new q_(this._request).fetch(e,t)}createCustomerTier(e){return new J_(this._request).fetch(e)}deleteCustomerTier(e){return new Y_(this._request).fetch(e)}updateCustomerTier(e,t){return new X_(this._request).fetch(e,t)}customerUnsync(e){return new Z_(this._request).fetch(e)}updateCustomer(e,t){return new Q_(this._request).fetch(e,t)}customerUpsert(e){return new $_(this._request).fetch(e)}archiveCycle(e){return new ev(this._request).fetch(e)}createCycle(e){return new tv(this._request).fetch(e)}cycleShiftAll(e){return new nv(this._request).fetch(e)}cycleStartUpcomingCycleToday(e){return new rv(this._request).fetch(e)}updateCycle(e,t){return new iv(this._request).fetch(e,t)}createDocument(e){return new av(this._request).fetch(e)}deleteDocument(e){return new ov(this._request).fetch(e)}unarchiveDocument(e){return new sv(this._request).fetch(e)}updateDocument(e,t){return new cv(this._request).fetch(e,t)}createEmailIntakeAddress(e){return new lv(this._request).fetch(e)}deleteEmailIntakeAddress(e){return new uv(this._request).fetch(e)}emailIntakeAddressRotate(e){return new dv(this._request).fetch(e)}updateEmailIntakeAddress(e,t){return new fv(this._request).fetch(e,t)}emailTokenUserAccountAuth(e){return new pv(this._request).fetch(e)}emailUnsubscribe(e){return new mv(this._request).fetch(e)}emailUserAccountAuthChallenge(e){return new hv(this._request).fetch(e)}createEmoji(e){return new gv(this._request).fetch(e)}deleteEmoji(e){return new _v(this._request).fetch(e)}createEntityExternalLink(e){return new vv(this._request).fetch(e)}deleteEntityExternalLink(e){return new yv(this._request).fetch(e)}updateEntityExternalLink(e,t){return new bv(this._request).fetch(e,t)}createFavorite(e){return new xv(this._request).fetch(e)}deleteFavorite(e){return new Sv(this._request).fetch(e)}updateFavorite(e,t){return new Cv(this._request).fetch(e,t)}fileUpload(e,t,n,r){return new wv(this._request).fetch(e,t,n,r)}createGitAutomationState(e){return new Tv(this._request).fetch(e)}deleteGitAutomationState(e){return new Ev(this._request).fetch(e)}updateGitAutomationState(e,t){return new Dv(this._request).fetch(e,t)}createGitAutomationTargetBranch(e){return new Ov(this._request).fetch(e)}deleteGitAutomationTargetBranch(e){return new kv(this._request).fetch(e)}updateGitAutomationTargetBranch(e,t){return new Av(this._request).fetch(e,t)}googleUserAccountAuth(e){return new jv(this._request).fetch(e)}imageUploadFromUrl(e){return new Mv(this._request).fetch(e)}importFileUpload(e,t,n,r){return new Nv(this._request).fetch(e,t,n,r)}archiveInitiative(e){return new Pv(this._request).fetch(e)}createInitiative(e){return new Fv(this._request).fetch(e)}deleteInitiative(e){return new Iv(this._request).fetch(e)}createInitiativeRelation(e){return new Lv(this._request).fetch(e)}deleteInitiativeRelation(e){return new Rv(this._request).fetch(e)}updateInitiativeRelation(e,t){return new zv(this._request).fetch(e,t)}createInitiativeToProject(e){return new Bv(this._request).fetch(e)}deleteInitiativeToProject(e){return new Vv(this._request).fetch(e)}updateInitiativeToProject(e,t){return new Hv(this._request).fetch(e,t)}unarchiveInitiative(e){return new Uv(this._request).fetch(e)}updateInitiative(e,t){return new Wv(this._request).fetch(e,t)}archiveInitiativeUpdate(e){return new Gv(this._request).fetch(e)}createInitiativeUpdate(e){return new Kv(this._request).fetch(e)}unarchiveInitiativeUpdate(e){return new qv(this._request).fetch(e)}updateInitiativeUpdate(e,t){return new Jv(this._request).fetch(e,t)}archiveIntegration(e){return new Yv(this._request).fetch(e)}integrationAsksConnectChannel(e,t){return new Xv(this._request).fetch(e,t)}deleteIntegration(e,t){return new Zv(this._request).fetch(e,t)}integrationDiscord(e,t){return new Qv(this._request).fetch(e,t)}integrationFigma(e,t){return new $v(this._request).fetch(e,t)}integrationFront(e,t){return new ey(this._request).fetch(e,t)}integrationGitHubEnterpriseServerConnect(e,t){return new ty(this._request).fetch(e,t)}integrationGitHubPersonal(e,t){return new ny(this._request).fetch(e,t)}get createIntegrationGithubCommit(){return new ry(this._request).fetch()}integrationGithubConnect(e,t,n){return new iy(this._request).fetch(e,t,n)}integrationGithubImportConnect(e,t){return new ay(this._request).fetch(e,t)}integrationGithubImportRefresh(e){return new oy(this._request).fetch(e)}integrationGitlabConnect(e,t){return new sy(this._request).fetch(e,t)}integrationGitlabTestConnection(e){return new cy(this._request).fetch(e)}integrationGong(e,t){return new ly(this._request).fetch(e,t)}integrationGoogleSheets(e){return new uy(this._request).fetch(e)}integrationIntercom(e,t,n){return new dy(this._request).fetch(e,t,n)}get deleteIntegrationIntercom(){return new fy(this._request).fetch()}updateIntegrationIntercomSettings(e){return new py(this._request).fetch(e)}integrationJiraPersonal(e){return new my(this._request).fetch(e)}get integrationLoom(){return new hy(this._request).fetch()}integrationRequest(e){return new gy(this._request).fetch(e)}integrationSalesforce(e,t,n){return new _y(this._request).fetch(e,t,n)}integrationSentryConnect(e,t,n){return new vy(this._request).fetch(e,t,n)}integrationSlack(e,t,n){return new yy(this._request).fetch(e,t,n)}integrationSlackAsks(e,t){return new by(this._request).fetch(e,t)}integrationSlackCustomViewNotifications(e,t,n){return new xy(this._request).fetch(e,t,n)}integrationSlackCustomerChannelLink(e,t,n){return new Sy(this._request).fetch(e,t,n)}integrationSlackImportEmojis(e,t){return new Cy(this._request).fetch(e,t)}integrationSlackOrAsksUpdateSlackTeamName(e){return new wy(this._request).fetch(e)}integrationSlackOrgProjectUpdatesPost(e,t){return new Ty(this._request).fetch(e,t)}integrationSlackPersonal(e,t){return new Ey(this._request).fetch(e,t)}integrationSlackPost(e,t,n,r){return new Dy(this._request).fetch(e,t,n,r)}integrationSlackProjectPost(e,t,n,r){return new Oy(this._request).fetch(e,t,n,r)}createIntegrationTemplate(e){return new ky(this._request).fetch(e)}deleteIntegrationTemplate(e){return new Ay(this._request).fetch(e)}integrationZendesk(e,t,n,r){return new jy(this._request).fetch(e,t,n,r)}createIntegrationsSettings(e){return new My(this._request).fetch(e)}updateIntegrationsSettings(e,t){return new Ny(this._request).fetch(e,t)}issueAddLabel(e,t){return new Py(this._request).fetch(e,t)}archiveIssue(e,t){return new Fy(this._request).fetch(e,t)}createIssueBatch(e){return new Iy(this._request).fetch(e)}updateIssueBatch(e,t){return new Ly(this._request).fetch(e,t)}createIssue(e){return new Ry(this._request).fetch(e)}deleteIssue(e,t){return new zy(this._request).fetch(e,t)}issueExternalSyncDisable(e){return new By(this._request).fetch(e)}issueImportCreateAsana(e,t,n){return new Vy(this._request).fetch(e,t,n)}issueImportCreateCSVJira(e,t){return new Hy(this._request).fetch(e,t)}issueImportCreateClubhouse(e,t,n){return new Uy(this._request).fetch(e,t,n)}issueImportCreateGithub(e){return new Wy(this._request).fetch(e)}issueImportCreateJira(e,t,n,r,i){return new Gy(this._request).fetch(e,t,n,r,i)}deleteIssueImport(e){return new Ky(this._request).fetch(e)}issueImportProcess(e,t){return new qy(this._request).fetch(e,t)}updateIssueImport(e,t){return new Jy(this._request).fetch(e,t)}createIssueLabel(e,t){return new Yy(this._request).fetch(e,t)}deleteIssueLabel(e){return new Xy(this._request).fetch(e)}issueLabelRestore(e){return new Zy(this._request).fetch(e)}issueLabelRetire(e){return new Qy(this._request).fetch(e)}updateIssueLabel(e,t,n){return new $y(this._request).fetch(e,t,n)}createIssueRelation(e,t){return new eb(this._request).fetch(e,t)}deleteIssueRelation(e){return new tb(this._request).fetch(e)}updateIssueRelation(e,t){return new nb(this._request).fetch(e,t)}issueReminder(e,t){return new rb(this._request).fetch(e,t)}issueRemoveLabel(e,t){return new ib(this._request).fetch(e,t)}issueSubscribe(e,t){return new ab(this._request).fetch(e,t)}unarchiveIssue(e){return new ob(this._request).fetch(e)}issueUnsubscribe(e,t){return new sb(this._request).fetch(e,t)}updateIssue(e,t){return new cb(this._request).fetch(e,t)}joinOrganizationFromOnboarding(e){return new lb(this._request).fetch(e)}leaveOrganization(e){return new ub(this._request).fetch(e)}logout(e){return new db(this._request).fetch(e)}logoutAllSessions(e){return new fb(this._request).fetch(e)}logoutOtherSessions(e){return new pb(this._request).fetch(e)}logoutSession(e){return new mb(this._request).fetch(e)}archiveNotification(e){return new hb(this._request).fetch(e)}notificationArchiveAll(e){return new gb(this._request).fetch(e)}updateNotificationCategoryChannelSubscription(e,t,n){return new _b(this._request).fetch(e,t,n)}notificationMarkReadAll(e,t){return new vb(this._request).fetch(e,t)}notificationMarkUnreadAll(e){return new yb(this._request).fetch(e)}notificationSnoozeAll(e,t){return new bb(this._request).fetch(e,t)}createNotificationSubscription(e){return new xb(this._request).fetch(e)}deleteNotificationSubscription(e){return new Sb(this._request).fetch(e)}updateNotificationSubscription(e,t){return new Cb(this._request).fetch(e,t)}unarchiveNotification(e){return new wb(this._request).fetch(e)}notificationUnsnoozeAll(e,t){return new Tb(this._request).fetch(e,t)}updateNotification(e,t){return new Eb(this._request).fetch(e,t)}get deleteOrganizationCancel(){return new Db(this._request).fetch()}deleteOrganization(e){return new Ob(this._request).fetch(e)}get organizationDeleteChallenge(){return new kb(this._request).fetch()}deleteOrganizationDomain(e){return new Ab(this._request).fetch(e)}createOrganizationInvite(e){return new jb(this._request).fetch(e)}deleteOrganizationInvite(e){return new Mb(this._request).fetch(e)}updateOrganizationInvite(e,t){return new Nb(this._request).fetch(e,t)}get organizationStartTrial(){return new Pb(this._request).fetch()}organizationStartTrialForPlan(e){return new Fb(this._request).fetch(e)}updateOrganization(e){return new Ib(this._request).fetch(e)}projectAddLabel(e,t){return new Lb(this._request).fetch(e,t)}archiveProject(e,t){return new Rb(this._request).fetch(e,t)}createProject(e,t){return new zb(this._request).fetch(e,t)}deleteProject(e){return new Bb(this._request).fetch(e)}projectExternalSyncDisable(e,t){return new Vb(this._request).fetch(e,t)}createProjectLabel(e){return new Hb(this._request).fetch(e)}deleteProjectLabel(e){return new Ub(this._request).fetch(e)}projectLabelRestore(e){return new Wb(this._request).fetch(e)}projectLabelRetire(e){return new Gb(this._request).fetch(e)}updateProjectLabel(e,t){return new Kb(this._request).fetch(e,t)}createProjectMilestone(e){return new qb(this._request).fetch(e)}deleteProjectMilestone(e){return new Jb(this._request).fetch(e)}updateProjectMilestone(e,t){return new Yb(this._request).fetch(e,t)}createProjectRelation(e){return new Xb(this._request).fetch(e)}deleteProjectRelation(e){return new Zb(this._request).fetch(e)}updateProjectRelation(e,t){return new Qb(this._request).fetch(e,t)}projectRemoveLabel(e,t){return new $b(this._request).fetch(e,t)}archiveProjectStatus(e){return new ex(this._request).fetch(e)}createProjectStatus(e){return new tx(this._request).fetch(e)}unarchiveProjectStatus(e){return new nx(this._request).fetch(e)}updateProjectStatus(e,t){return new rx(this._request).fetch(e,t)}unarchiveProject(e){return new ix(this._request).fetch(e)}updateProject(e,t){return new ax(this._request).fetch(e,t)}archiveProjectUpdate(e){return new ox(this._request).fetch(e)}createProjectUpdate(e){return new sx(this._request).fetch(e)}deleteProjectUpdate(e){return new cx(this._request).fetch(e)}unarchiveProjectUpdate(e){return new lx(this._request).fetch(e)}updateProjectUpdate(e,t){return new ux(this._request).fetch(e,t)}createPushSubscription(e){return new dx(this._request).fetch(e)}deletePushSubscription(e){return new fx(this._request).fetch(e)}createReaction(e){return new px(this._request).fetch(e)}deleteReaction(e){return new mx(this._request).fetch(e)}refreshGoogleSheetsData(e,t){return new hx(this._request).fetch(e,t)}resendOrganizationInvite(e){return new gx(this._request).fetch(e)}resendOrganizationInviteByEmail(e){return new _x(this._request).fetch(e)}archiveRoadmap(e){return new vx(this._request).fetch(e)}createRoadmap(e){return new yx(this._request).fetch(e)}deleteRoadmap(e){return new bx(this._request).fetch(e)}createRoadmapToProject(e){return new xx(this._request).fetch(e)}deleteRoadmapToProject(e){return new Sx(this._request).fetch(e)}updateRoadmapToProject(e,t){return new Cx(this._request).fetch(e,t)}unarchiveRoadmap(e){return new wx(this._request).fetch(e)}updateRoadmap(e,t){return new Tx(this._request).fetch(e,t)}samlTokenUserAccountAuth(e){return new Ex(this._request).fetch(e)}createTeam(e,t){return new Dx(this._request).fetch(e,t)}deleteTeamCycles(e){return new Ox(this._request).fetch(e)}deleteTeam(e){return new kx(this._request).fetch(e)}deleteTeamKey(e){return new Ax(this._request).fetch(e)}createTeamMembership(e){return new jx(this._request).fetch(e)}deleteTeamMembership(e,t){return new Mx(this._request).fetch(e,t)}updateTeamMembership(e,t){return new Nx(this._request).fetch(e,t)}unarchiveTeam(e){return new Px(this._request).fetch(e)}updateTeam(e,t,n){return new Fx(this._request).fetch(e,t,n)}createTemplate(e){return new Ix(this._request).fetch(e)}deleteTemplate(e){return new Lx(this._request).fetch(e)}updateTemplate(e,t){return new Rx(this._request).fetch(e,t)}createTimeSchedule(e){return new zx(this._request).fetch(e)}deleteTimeSchedule(e){return new Bx(this._request).fetch(e)}timeScheduleRefreshIntegrationSchedule(e){return new Vx(this._request).fetch(e)}updateTimeSchedule(e,t){return new Hx(this._request).fetch(e,t)}timeScheduleUpsertExternal(e,t){return new Ux(this._request).fetch(e,t)}trackAnonymousEvent(e){return new Wx(this._request).fetch(e)}createTriageResponsibility(e){return new Gx(this._request).fetch(e)}deleteTriageResponsibility(e){return new Kx(this._request).fetch(e)}updateTriageResponsibility(e,t){return new qx(this._request).fetch(e,t)}userChangeRole(e,t){return new Jx(this._request).fetch(e,t)}userDiscordConnect(e,t){return new Yx(this._request).fetch(e,t)}userExternalUserDisconnect(e){return new Xx(this._request).fetch(e)}updateUserFlag(e,t){return new Zx(this._request).fetch(e,t)}userRevokeAllSessions(e){return new Qx(this._request).fetch(e)}userRevokeSession(e,t){return new $x(this._request).fetch(e,t)}userSettingsFlagsReset(e){return new eS(this._request).fetch(e)}updateUserSettings(e,t){return new tS(this._request).fetch(e,t)}suspendUser(e,t){return new nS(this._request).fetch(e,t)}userUnlinkFromIdentityProvider(e){return new rS(this._request).fetch(e)}unsuspendUser(e,t){return new iS(this._request).fetch(e,t)}updateUser(e,t){return new aS(this._request).fetch(e,t)}createViewPreferences(e){return new oS(this._request).fetch(e)}deleteViewPreferences(e){return new sS(this._request).fetch(e)}updateViewPreferences(e,t){return new cS(this._request).fetch(e,t)}createWebhook(e){return new lS(this._request).fetch(e)}deleteWebhook(e){return new uS(this._request).fetch(e)}rotateSecretWebhook(e){return new dS(this._request).fetch(e)}updateWebhook(e,t){return new fS(this._request).fetch(e,t)}archiveWorkflowState(e){return new pS(this._request).fetch(e)}createWorkflowState(e){return new mS(this._request).fetch(e)}updateWorkflowState(e,t){return new hS(this._request).fetch(e,t)}};function zC({apiKey:e,accessToken:t,apiUrl:n,headers:r,...i}){if(!t&&!e)throw Error(`No accessToken or apiKey provided to the LinearClient - create one here: https://linear.app/settings/account/security`);return{headers:{Authorization:t?t.startsWith(`Bearer `)?t:`Bearer ${t}`:e??``,...r,"User-Agent":oe({[process.env.npm_package_name??`@linear/sdk`]:process.env.npm_package_version??`unknown`})},apiUrl:n??`https://api.linear.app/graphql`,...i}}var BC=class extends RC{options;client;constructor(e){let t=zC(e),n=new Re(t.apiUrl,t);super((e,t)=>this.client.request(e,t).catch(e=>{throw Oe(e)})),this.options=t,this.client=n}},VC=class extends i{fromAst(e){return t(e).trim()}toAst(e){return n(e)}renderPostable(e){return typeof e==`string`?e:`raw`in e?e.raw:`markdown`in e?this.fromMarkdown(e.markdown):`ast`in e?this.fromAst(e.ast):super.renderPostable(e)}};function HC(e){let t=[];e.title&&t.push(`**${JC(e.title)}**`),e.subtitle&&t.push(JC(e.subtitle)),(e.title||e.subtitle)&&e.children.length>0&&t.push(``),e.imageUrl&&(t.push(`![](${e.imageUrl})`),t.push(``));for(let n=0;n<e.children.length;n++){let r=e.children[n],i=UC(r);i.length>0&&(t.push(...i),n<e.children.length-1&&t.push(``))}return t.join(`
49833
+ `)}function UC(e){switch(e.type){case`text`:return WC(e);case`fields`:return GC(e);case`actions`:return qC(e);case`section`:return e.children.flatMap(UC);case`image`:return e.alt?[`![${JC(e.alt)}](${e.url})`]:[`![](${e.url})`];case`link`:return[`[${JC(e.label)}](${e.url})`];case`divider`:return[`---`];case`table`:return KC(e);default:{let t=s(e);return t?[t]:[]}}}function WC(e){let t=e.content;switch(e.style){case`bold`:return[`**${t}**`];case`muted`:return[`_${t}_`];default:return[t]}}function GC(e){return e.children.map(e=>`**${JC(e.label)}:** ${JC(e.value)}`)}function KC(e){return u(e)}function qC(e){return[e.children.map(e=>e.type===`link-button`?`[${JC(e.label)}](${e.url})`:`**[${JC(e.label)}]**`).join(` • `)]}function JC(e){return e.replace(/\\/g,`\\\\`).replace(/\*/g,`\\*`).replace(/_/g,`\\_`).replace(/\[/g,`\\[`).replace(/\]/g,`\\]`)}function YC(e,t){let n=m(e),r=n?HC(n):t.renderPostable(e);return c(r,`linear`)}function XC(e){if(!e.agentSessionId)throw new d(`linear`,`Expected a Linear agent session thread`)}var ZC=/^https:\/\/linear\.app\/\S+\/profiles\/([^/?#]+)/;function QC(e){let t=e.match(ZC);return t?t[1]:``}function $C(e){return typeof e==`number`?Date.now()+e*1e3:null}var ew=/^([^:]+):c:([^:]+):s:([^:]+)$/,tw=/^([^:]+):c:([^:]+)$/,nw=/^([^:]+):s:([^:]+)$/,rw=`linear:installation`,iw=3e5;function aw(e){let{content:t}=e;if(`body`in t)return t.body;let n=t.action.trim()||`Action`,r=t.parameter.trim(),i=t.result?.trim(),a=r?`${n}: ${r}`:n;return i?`${a}
49834
+ ${i}`:a}function ow(e){if(e)return e.split(`,`).map(e=>e.trim()).filter(Boolean)}function sw(e){return typeof e==`function`?async()=>await e():()=>Promise.resolve(e)}var cw=class{name=`linear`;userName;get linearClient(){return this.getClient()}get client(){return this.linearClient}mode;shouldRecommendAgentSessions;webhookSecret;webhookVerifier;accessTokenProvider=null;chat=null;logger;defaultBotUserId=null;defaultOrganizationId=null;formatConverter=new VC;requestContext=new te;defaultClient=null;oauthClientId=null;oauthClientSecret=null;clientCredentials=null;accessTokenExpiry=null;apiUrl;encryptionKey;constructor(e={}){let t=e.webhookVerifier,n=t?void 0:e.webhookSecret??process.env.LINEAR_WEBHOOK_SECRET;if(!(n||t))throw new d(`linear`,`webhookSecret or webhookVerifier is required. Set LINEAR_WEBHOOK_SECRET, provide webhookSecret in config, or provide a webhookVerifier.`);this.webhookSecret=n,this.webhookVerifier=t,this.logger=e.logger??new o(`info`).child(`linear`),this.mode=e.mode??`comments`,this.shouldRecommendAgentSessions=e.mode===void 0&&typeof e.accessToken==`function`&&!!t,this.userName=e.userName??process.env.LINEAR_BOT_USERNAME??`linear-bot`,this.apiUrl=e.apiUrl??process.env.LINEAR_API_URL;let r=e.encryptionKey??process.env.LINEAR_ENCRYPTION_KEY;if(r&&(this.encryptionKey=f(r)),`apiKey`in e&&e.apiKey){this.defaultClient=new BC({apiKey:e.apiKey,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}if(`accessToken`in e&&e.accessToken){if(typeof e.accessToken==`function`){this.accessTokenProvider=sw(e.accessToken);return}this.defaultClient=new BC({accessToken:e.accessToken,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}if(`clientCredentials`in e&&e.clientCredentials){let t=this.normalizeClientCredentials(e.clientCredentials,`config`);this.clientCredentials=t;return}if(`clientId`in e||`clientSecret`in e){let t=e;if(!(t.clientId&&t.clientSecret))throw new d(`linear`,`clientId and clientSecret are required together for multi-tenant OAuth.`);this.oauthClientId=t.clientId,this.oauthClientSecret=t.clientSecret;return}let i=process.env.LINEAR_API_KEY;if(i){this.defaultClient=new BC({apiKey:i,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}let a=process.env.LINEAR_ACCESS_TOKEN;if(a){this.defaultClient=new BC({accessToken:a,...this.apiUrl?{apiUrl:this.apiUrl}:{}});return}let s=process.env.LINEAR_CLIENT_CREDENTIALS_CLIENT_ID,c=process.env.LINEAR_CLIENT_CREDENTIALS_CLIENT_SECRET;if(s&&c){this.clientCredentials=this.normalizeClientCredentials({clientId:s,clientSecret:c,scopes:ow(process.env.LINEAR_CLIENT_CREDENTIALS_SCOPES)},`env`);return}let l=process.env.LINEAR_CLIENT_ID,u=process.env.LINEAR_CLIENT_SECRET;if(l&&u){this.oauthClientId=l,this.oauthClientSecret=u;return}throw new d(`linear`,`Authentication is required. Set LINEAR_API_KEY, LINEAR_ACCESS_TOKEN, LINEAR_CLIENT_CREDENTIALS_CLIENT_ID/LINEAR_CLIENT_CREDENTIALS_CLIENT_SECRET, or LINEAR_CLIENT_ID/LINEAR_CLIENT_SECRET, or provide auth in config.`)}async initialize(e){if(this.chat=e,this.shouldRecommendAgentSessions&&(this.shouldRecommendAgentSessions=!1,this.logger.info(`Agent sessions are recommended for Linear bots. Set mode: "agent-sessions" to enable them.`)),this.clientCredentials&&await this.refreshClientCredentialsToken(),this.defaultClient)try{let e=await this.fetchClientIdentity(this.defaultClient);this.defaultBotUserId=e.botUserId,this.defaultOrganizationId=e.organizationId,this.logger.info(`Linear auth completed`,{botUserId:this.defaultBotUserId,displayName:e.displayName,organizationId:this.defaultOrganizationId})}catch(e){this.logger.warn(`Could not fetch Linear bot user ID`,{error:e})}else if(this.accessTokenProvider)try{await this.resolveConnectIdentity(),this.logger.info(`Linear auth completed (Vercel Connect)`,{botUserId:this.defaultBotUserId,organizationId:this.defaultOrganizationId})}catch(e){this.logger.warn(`Could not fetch Linear bot user ID (Vercel Connect); will retry on first webhook`,{error:e})}else this.isMultiTenantMode()&&this.logger.info(`Linear adapter initialized in multi-tenant mode`)}isConnectMode(){return this.accessTokenProvider!==null}getConnectClient(e){return new BC({accessToken:e,...this.apiUrl?{apiUrl:this.apiUrl}:{}})}async resolveConnectIdentity(){let e=this.accessTokenProvider;if(!e)return;let t=await e(),n=await this.fetchClientIdentity(this.getConnectClient(t));this.defaultBotUserId=n.botUserId,this.defaultOrganizationId=n.organizationId}async withConnectClient(e,t){let n=this.accessTokenProvider;if(!n)return await t();if(this.defaultBotUserId===null)try{await this.resolveConnectIdentity()}catch(e){this.logger.warn(`Could not resolve Linear bot identity for Vercel Connect webhook`,{error:e})}if(!this.defaultBotUserId)throw new g(`linear`,`No Linear bot identity available in Vercel Connect mode. The viewer lookup failed — check the connector token and its scopes.`);let r=await n(),i=this.getConnectClient(r),a={accessToken:r,botUserId:this.defaultBotUserId,expiresAt:null,organizationId:e??this.defaultOrganizationId??``};return await this.requestContext.run({client:i,installation:a},async()=>await t())}normalizeClientCredentials(e,t){if(!(e.clientId&&e.clientSecret))throw new d(`linear`,`clientCredentials.clientId and clientCredentials.clientSecret are required in ${t}.`);return{clientId:e.clientId,clientSecret:e.clientSecret,scopes:e.scopes??[`read`,`write`,`comments:create`,`issues:create`,...this.mode===`agent-sessions`?[`app:mentionable`]:[]]}}getClient(){let e=this.requestContext.getStore();if(e?.client)return e.client;if(this.defaultClient)return this.defaultClient;throw new g(`linear`,`No Linear access token available. In multi-tenant or Vercel Connect mode, ensure the webhook is being processed, or wrap the call in withInstallation() for out-of-webhook operations (cron jobs, workflows).`)}get organizationId(){let e=this.requestContext.getStore()?.installation.organizationId??this.defaultOrganizationId;if(!e)throw new g(`linear`,`No Linear organization ID available. Ensure the adapter has been initialized or use withInstallation().`);return e}get botUserId(){let e=this.requestContext.getStore()?.installation.botUserId??this.defaultBotUserId;if(!e)throw new _(`No bot user ID available in context. Ensure the adapter has been initialized and authenticated properly.`,`linear`);return e}isMultiTenantMode(){return!!(this.oauthClientId&&this.oauthClientSecret)}installationKey(e){return`${rw}:${e}`}async setInstallation(e,t){if(!this.chat)throw new d(`linear`,`Adapter not initialized. Ensure chat.initialize() has been called first.`);let n=this.encryptInstallation(t);await this.chat.getState().set(this.installationKey(e),n),this.logger.info(`Linear installation saved`,{organizationId:e})}async getInstallation(e){if(!this.chat)throw new d(`linear`,`Adapter not initialized. Ensure chat.initialize() has been called first.`);let t=this.requestContext.getStore();if(t&&t.installation.organizationId===e)return t.installation;let n=await this.chat.getState().get(this.installationKey(e));return n?this.decryptInstallation(n):null}encryptInstallation(e){return this.encryptionKey?{...e,accessToken:p(e.accessToken,this.encryptionKey),...e.refreshToken?{refreshToken:p(e.refreshToken,this.encryptionKey)}:{}}:e}decryptInstallation(e){let t=this.maybeDecrypt(e.accessToken),n=e.refreshToken===void 0?void 0:this.maybeDecrypt(e.refreshToken);return{botUserId:e.botUserId,expiresAt:e.expiresAt,organizationId:e.organizationId,accessToken:t,...n===void 0?{}:{refreshToken:n}}}maybeDecrypt(e){return this.encryptionKey&&ee(e)?h(e,this.encryptionKey):e}async deleteInstallation(e){if(!this.chat)throw new d(`linear`,`Adapter not initialized. Ensure chat.initialize() has been called first.`);await this.chat.getState().delete(this.installationKey(e)),this.logger.info(`Linear installation deleted`,{organizationId:e})}async getUser(e){try{await this.ensureValidToken();let t=await this.getClient().user(e);return{avatarUrl:t.avatarUrl??void 0,email:t.email??void 0,fullName:t.name,isBot:!1,userId:t.id,userName:t.displayName}}catch{return null}}async handleOAuthCallback(e,t){if(!(this.oauthClientId&&this.oauthClientSecret))throw new d(`linear`,`clientId and clientSecret are required for OAuth. Pass them in createLinearAdapter().`);if(!t.redirectUri)throw new d(`linear`,`redirectUri is required for handleOAuthCallback().`);let n=new URL(e.url),r=n.searchParams.get(`error`);if(r){let e=n.searchParams.get(`error_description`);throw new g(`linear`,`Linear OAuth failed: ${e?`${r} - ${e}`:r}`)}let i=n.searchParams.get(`code`);if(!i)throw new d(`linear`,`Missing 'code' query parameter in OAuth callback request.`);let a=await this.fetchOAuthToken(new URLSearchParams({code:i,redirect_uri:t.redirectUri,client_id:this.oauthClientId,client_secret:this.oauthClientSecret,grant_type:`authorization_code`}),`Failed to exchange Linear OAuth code`),o=new BC({accessToken:a.access_token,...this.apiUrl?{apiUrl:this.apiUrl}:{}}),s=await this.fetchClientIdentity(o),c={accessToken:a.access_token,botUserId:s.botUserId,expiresAt:$C(a.expires_in),organizationId:s.organizationId,refreshToken:a.refresh_token};return await this.setInstallation(s.organizationId,c),{organizationId:s.organizationId,installation:c}}async withInstallation(e,t){if(this.isConnectMode()){let n=typeof e==`string`?e:e.organizationId;return await this.withConnectClient(n,t)}if(!this.isMultiTenantMode())return await t();let n=typeof e==`string`?await this.requireInstallation(e):await this.refreshInstallation(e),r={installation:n,client:new BC({accessToken:n.accessToken,...this.apiUrl?{apiUrl:this.apiUrl}:{}})};return await this.requestContext.run(r,async()=>await t())}async fetchClientIdentity(e){let t=await e.client.rawRequest(`
49835
49835
  query LinearAdapterViewerOrganization {
49836
49836
  viewer {
49837
49837
  id
@@ -49841,5 +49841,5 @@ ${i}`:a}function ow(e){if(e)return e.split(`,`).map(e=>e.trim()).filter(Boolean)
49841
49841
  }
49842
49842
  }
49843
49843
  }
49844
- `);if(!t.data)throw new g(`linear`,`Failed to resolve client identity for Linear installation.`);return{botUserId:t.data.viewer.id,displayName:t.data.viewer.displayName,organizationId:t.data.viewer.organization.id}}async fetchOAuthToken(e,t){let n=await fetch(`https://api.linear.app/oauth/token`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:e});if(!n.ok){let e=await n.text();throw new g(`linear`,`${t}: ${n.status} ${e}`)}return await n.json()}async refreshInstallation(e){if(!(e.refreshToken&&this.oauthClientId&&this.oauthClientSecret)||e.expiresAt!==null&&e.expiresAt>Date.now()+iw)return e;let t=await this.fetchOAuthToken(new URLSearchParams({refresh_token:e.refreshToken,grant_type:`refresh_token`,client_id:this.oauthClientId,client_secret:this.oauthClientSecret}),`Failed to refresh Linear OAuth token`),n={...e,accessToken:t.access_token,expiresAt:$C(t.expires_in),refreshToken:t.refresh_token??e.refreshToken};return await this.setInstallation(e.organizationId,n),n}async requireInstallation(e){let t=await this.getInstallation(e);if(!t)throw new g(`linear`,`No installation found for organization ${e}`);return await this.refreshInstallation(t)}async refreshClientCredentialsToken(){if(!this.clientCredentials)return;let{clientId:e,clientSecret:t,scopes:n}=this.clientCredentials,r=await this.fetchOAuthToken(new URLSearchParams({grant_type:`client_credentials`,client_id:e,client_secret:t,scope:n.join(`,`)}),`Failed to fetch Linear client credentials token`);this.defaultClient=new VC({accessToken:r.access_token,...this.apiUrl?{apiUrl:this.apiUrl}:{}}),this.accessTokenExpiry=typeof r.expires_in==`number`?Date.now()+r.expires_in*1e3-36e5:null,this.logger.info(`Linear client credentials token obtained`,{expiresIn:typeof r.expires_in==`number`?`${Math.round(r.expires_in/86400)} days`:`unknown`})}async ensureValidToken(){this.requestContext.getStore()||this.clientCredentials&&this.accessTokenExpiry&&Date.now()>this.accessTokenExpiry&&(this.logger.info(`Linear access token expired, refreshing...`),await this.refreshClientCredentialsToken())}async parseMessageFromComment(e,t,n){let r;if(e.userId){let t=await e.user;if(!t)throw new _(`User with ID ${e.userId} not found for comment ${e.id}`,`linear`);r={type:`user`,id:t.id,displayName:t.displayName,fullName:t.name,email:t.email,avatarUrl:t.avatarUrl??void 0}}else{let t=await e.botActor;if(!t)throw new _(`Comment ${e.id} has no userId and no botActor, cannot determine author.`,`linear`);r={type:`bot`,id:t.id??this.botUserId,displayName:t.userDisplayName??t.name??`unknown`,fullName:t.name??t.userDisplayName??`unknown`,email:void 0,avatarUrl:t.avatarUrl??void 0}}let i={id:e.id,body:e.body,issueId:t,user:r,parentId:e.parentId??void 0,createdAt:e.createdAt.toISOString(),updatedAt:e.updatedAt.toISOString(),url:e.url??void 0};return this.parseMessage(n?{kind:`agent_session_comment`,comment:i,agentSessionId:n,organizationId:this.organizationId}:{kind:`comment`,comment:i,organizationId:this.organizationId})}parseMessageFromAgentSessionEvent(e){let t=e.agentSession.issueId??e.agentSession.issue?.id;if(!t)return null;if(e.action===`prompted`){let{agentActivity:n}=e;if(!n)return this.logger.warn(`Missing agent activity for prompted action`,{agentSessionId:e.agentSession.id}),null;let r=n.content,i={id:n.sourceCommentId??n.id,body:r.body,issueId:t,user:{type:`user`,id:n.user.id,displayName:QC(n.user.url),fullName:n.user.name,email:n.user.email,avatarUrl:n.user.avatarUrl??void 0},parentId:e.agentSession.comment?.id,createdAt:n.createdAt,updatedAt:n.createdAt,url:e.agentSession.url??void 0};return this.parseMessage({kind:`agent_session_comment`,organizationId:e.organizationId,comment:i,agentSessionId:e.agentSession.id,agentSessionPromptContext:e.promptContext??void 0})}if(e.action===`created`){let{agentSession:n}=e;if(n.appUserId!==this.botUserId)return this.logger.warn(`Ignoring agent session event from another bot`,{agentSessionId:e.agentSession.id,appUserId:n.appUserId}),null;let r=n.comment??{id:`agent-session-${n.id}`,body:e.promptContext??``},i={id:r.id,body:r.body,issueId:t,user:n.creator?{type:`user`,id:n.creator.id,displayName:QC(n.creator.url),fullName:n.creator.name,email:n.creator.email,avatarUrl:n.creator.avatarUrl??void 0}:{type:`bot`,id:`linear-automation`,displayName:`Linear automation`,fullName:`Linear automation`,email:void 0,avatarUrl:void 0},parentId:void 0,createdAt:e.createdAt,updatedAt:e.createdAt,url:e.agentSession.url??void 0};return this.parseMessage({kind:`agent_session_comment`,organizationId:e.organizationId,comment:i,agentSessionId:e.agentSession.id,agentSessionPromptContext:e.promptContext??void 0})}return this.logger.warn(`Unsupported agent session event action`,{action:e.action,agentSessionId:e.agentSession.id,issueId:t}),null}async parseMessageFromAgentActivity(e,t){let n=await t.agentActivity;if(!(t.success&&n))throw new _(`Failed to create Linear agent activity for session ${e.agentSessionId}`,`linear`);let r=await n.sourceComment;if(!r)throw new _(`Failed to resolve source comment for Linear agent activity ${n.id}`,`linear`);if(!n.agentSessionId)throw new _(`Missing agentSessionId for Linear agent activity ${n.id}`,`linear`);return this.parseMessageFromComment(r,e.issueId,n.agentSessionId)}async handleWebhook(e,t){if(this.webhookVerifier)return await this.handleVerifiedWebhook(e,t);let n=new ae(this.webhookSecret).createHandler();return n.on(`OAuthApp`,async e=>await this.onOAuthAppEvent(e)),n.on(`Comment`,async e=>await this.onCommentEvent(e,t)),n.on(`AgentSessionEvent`,async e=>await this.onAgentSessionEvent(e,t)),n.on(`Reaction`,async e=>await this.onReactionEvent(e)),await n(e)}async handleVerifiedWebhook(e,t){let n=await e.text(),r;try{r=await this.webhookVerifier?.(e,n)}catch(e){return this.logger.warn(`Linear webhook verifier rejected the request`,{error:e}),new Response(`Invalid webhook`,{status:401})}if(!r)return new Response(`Invalid webhook`,{status:401});let i=typeof r==`string`?r:n,a;try{a=JSON.parse(i)}catch{return new Response(`Invalid webhook`,{status:400})}try{await this.dispatchWebhookEvent(a,t)}catch(e){return this.logger.error(`Linear webhook handler failed`,{error:e}),new Response(`Internal server error`,{status:500})}return new Response(`OK`,{status:200})}async dispatchWebhookEvent(e,t){switch(e.type){case`OAuthApp`:await this.onOAuthAppEvent(e);break;case`Comment`:await this.onCommentEvent(e,t);break;case`AgentSessionEvent`:await this.onAgentSessionEvent(e,t);break;case`Reaction`:await this.onReactionEvent(e);break;default:this.logger.debug(`Ignoring unhandled Linear webhook type`,{type:e.type})}}async onOAuthAppEvent(e){if(e.action===`revoked`)try{await this.deleteInstallation(e.organizationId)}catch(t){this.logger.error(`Failed to delete Linear installation on revoke`,{organizationId:e.organizationId,error:t})}}async onCommentEvent(e,t){await this.withWebhookInstallation(e.organizationId,()=>{this.mode===`comments`&&e.action===`create`&&this.handleCommentCreated(e,t)})}async onAgentSessionEvent(e,t){await this.withWebhookInstallation(e.organizationId,()=>{if(this.mode!==`agent-sessions`){this.logger.warn(`Received AgentSessionEvent webhook but adapter is not in agent-sessions mode, ignoring`);return}this.handleAgentSessionEvent(e,t)})}async onReactionEvent(e){await this.withWebhookInstallation(e.organizationId,()=>{this.handleReaction(e)})}async withWebhookInstallation(e,t){if(this.isConnectMode()){await this.withConnectClient(e,t);return}if(!this.isMultiTenantMode())return await t();let n=await this.getInstallation(e);if(!n){this.logger.warn(`No Linear installation found for organization`,{organizationId:e});return}await this.withInstallation(n,t)}handleCommentCreated(e,t){if(!this.chat){this.logger.warn(`Chat instance not initialized, ignoring comment`);return}let{data:n}=e;if(!n.issueId){this.logger.debug(`Ignoring non-issue comment`,{commentId:n.id});return}if(!n.user){this.logger.debug(`Ignoring comment with no user`,{commentId:n.id});return}let r=n.parentId||n.id,i=this.encodeThreadId({issueId:n.issueId,commentId:r}),a={body:n.body,createdAt:n.createdAt,id:n.id,issueId:n.issueId,parentId:n.parentId??void 0,updatedAt:n.updatedAt,url:e.url??void 0,user:{type:`user`,id:n.user.id,displayName:QC(n.user.url),fullName:n.user.name,email:n.user.email,avatarUrl:n.user.avatarUrl??void 0}},o=this.parseMessage({kind:`comment`,comment:a,organizationId:e.organizationId});this.chat.processMessage(this,i,o,t)}handleAgentSessionEvent(e,t){if(!this.chat){this.logger.warn(`Chat instance not initialized, ignoring agent session event`);return}let n=this.parseMessageFromAgentSessionEvent(e);if(!n){this.logger.warn(`Unable to build message for Linear agent session event`,{agentSessionId:e.agentSession.id});return}this.chat.processMessage(this,n.threadId,n,t)}handleReaction(e){if(!this.chat)return;let{data:t}=e;this.logger.debug(`Received reaction webhook`,{reactionId:t.id,emoji:t.emoji,commentId:t.commentId,action:e.action})}async postMessage(e,t){await this.ensureValidToken();let n=this.getClient(),r=this.decodeThreadId(e),i=YC(t,this.formatConverter);if(r.agentSessionId)return XC(r),await this.parseMessageFromAgentActivity(r,await n.createAgentActivity({agentSessionId:r.agentSessionId,content:{type:He.Response,body:i}}));let a=await(await n.createComment({issueId:r.issueId,body:i,parentId:r.commentId})).comment;if(!a)throw this.logger.error(`Linear comment creation returned no comment`,{issueId:r.issueId,threadId:e}),new _(`Failed to create comment on Linear issue`,`linear`);return{id:a.id,threadId:e,raw:{kind:`comment`,comment:{id:a.id,body:a.body,issueId:r.issueId,parentId:r.commentId,user:{type:`bot`,id:this.botUserId,displayName:this.userName,fullName:this.userName,email:void 0,avatarUrl:void 0},createdAt:a.createdAt.toISOString(),updatedAt:a.updatedAt.toISOString(),url:a.url},organizationId:this.organizationId}}}async editMessage(e,t,n){await this.ensureValidToken();let r=this.getClient(),{issueId:i,agentSessionId:a}=this.decodeThreadId(e);if(a)throw new _(`Linear agent session activities are append-only and cannot be edited`,`linear`);let o=YC(n,this.formatConverter),s=await(await r.updateComment(t,{body:o})).comment;if(!s)throw this.logger.error(`Linear comment update returned no comment`,{messageId:t,threadId:e}),new _(`Failed to update comment on Linear`,`linear`);return{id:s.id,threadId:e,raw:{kind:`comment`,comment:{id:s.id,body:s.body,issueId:i,parentId:s.parentId??void 0,user:{type:`bot`,id:this.botUserId,displayName:this.userName,fullName:this.userName,email:void 0,avatarUrl:void 0},createdAt:s.createdAt.toISOString(),updatedAt:s.updatedAt.toISOString(),url:s.url},organizationId:this.organizationId}}}async deleteMessage(e,t){let{agentSessionId:n}=this.decodeThreadId(e);if(n)throw new _(`Linear agent session activities are append-only and cannot be deleted`,`linear`);await this.ensureValidToken(),await this.getClient().deleteComment(t)}async addReaction(e,t,n){await this.ensureValidToken();let r=this.resolveEmoji(n);await this.getClient().createReaction({commentId:t,emoji:r})}async removeReaction(e,t,n){this.logger.warn(`removeReaction is not fully supported on Linear - reaction ID lookup would be required`)}async startTyping(e,t){await this.ensureValidToken();let n=this.decodeThreadId(e);if(n.agentSessionId){await this.getClient().createAgentActivity({agentSessionId:n.agentSessionId,content:{type:He.Thought,body:t??`Thinking...`},ephemeral:!0});return}this.logger.warn(`startTyping is only supported in agent session threads. Ignoring for comment thread.`)}async stream(e,t,n){await this.ensureValidToken();let r=this.decodeThreadId(e);return r.agentSessionId?(XC(r),this.streamInAgentSession(r,t,n)):this.streamAsComment(e,t,n)}async streamInAgentSession(e,t,n){let i=new r,a=this.getClient();XC(e);let o=``,s=async(t,n=i.getCommittableText(),r=!1)=>{let s=n.slice(o.length).trim();if(s||r)return o=n,await a.createAgentActivity({agentSessionId:e.agentSessionId,content:{type:t,body:s}})};for await(let n of t){if(typeof n==`string`){i.push(n);continue}if(n.type===`markdown_text`){i.push(n.text);continue}if(n.type===`task_update`){await s(He.Thought),n.status===`error`?await a.createAgentActivity({agentSessionId:e.agentSessionId,content:{type:He.Error,body:[n.title,n.output].filter(Boolean).join(`
49845
- `)}}):await a.createAgentActivity({agentSessionId:e.agentSessionId,content:{type:He.Action,action:n.title,parameter:``,result:n.output},ephemeral:n.status!==`complete`});continue}n.type===`plan_update`&&await this.getClient().updateAgentSession(e.agentSessionId,{plan:[{content:n.title,status:`completed`}]})}let c=await s(He.Response,i.finish(),!0);if(!c)throw Error(`Failed to flush final markdown delta for agent session stream`);return await this.parseMessageFromAgentActivity(e,c)}async streamAsComment(e,t,n){let i=n?.updateIntervalMs??500,a=await this.postMessage(e,`...`),o=a.threadId||e,s=new r,c=`...`,l=!1,u=null,d=null,f=()=>{d=setTimeout(()=>{u=p()},i)},p=async()=>{if(l||!a)return;let e=s.render();if(e!==c)try{a=await this.editMessage(o,a.id,{markdown:e}),c=e,o=a.threadId||o}catch(e){this.logger.warn(`Linear fallback stream edit failed`,{error:e})}l||f()};f();try{for await(let e of t)typeof e==`string`?s.push(e):e.type===`markdown_text`&&s.push(e.text)}finally{l=!0,d&&clearTimeout(d)}u&&await u;let m=s.finish();return m!==c&&a&&(a=await this.editMessage(o,a.id,{markdown:m})),a}async fetchMessages(e,t){await this.ensureValidToken();let n=this.decodeThreadId(e);return n.agentSessionId?(XC(n),await this.fetchAgentSessionMessages(n,t)):n.commentId?await this.fetchCommentThread(n.issueId,n.commentId,t):await this.fetchIssueComments(n.issueId,t)}async fetchAgentSessionMessages(e,t){let n=this.getClient(),r=await n.agentSession(e.agentSessionId),i=r.issueId;if(!i||i!==e.issueId)throw new u(`linear`,`Agent session does not belong to this issue`);let a=await r.comment;if(!a)return await this.fetchAgentSessionActivities(r,i,t);let o=await n.comments({filter:{parent:{id:{eq:a.id}}},...t?.direction===`forward`?{first:t?.limit??50}:{last:t?.limit??50}});return{messages:await this.commentsToMessages([a,...o.nodes],i,r.id),nextCursor:o.pageInfo.hasNextPage?o.pageInfo.endCursor??void 0:void 0}}async fetchAgentSessionActivities(e,t,n){let r=n?.direction===`forward`,i=await e.activities({...r?{first:n?.limit??50,...n?.cursor?{after:n.cursor}:{}}:{last:n?.limit??50,...n?.cursor?{before:n.cursor}:{}}}),a=[...i.nodes].sort((e,t)=>e.createdAt.getTime()-t.createdAt.getTime()),o=await Promise.all(a.map(async n=>{let r=await n.user,i=n.content.type!==He.Prompt,a=i?this.userName:`unknown`,o={type:i?`bot`:`user`,id:r?.id??n.userId??(i?this.botUserId:`unknown`),displayName:r?.displayName??r?.name??a,fullName:r?.name??r?.displayName??a,email:r?.email??void 0,avatarUrl:r?.avatarUrl??void 0};return this.parseMessage({kind:`agent_session_comment`,organizationId:this.organizationId,agentSessionId:e.id,comment:{id:n.sourceCommentId??n.id,body:aw(n),issueId:t,user:o,parentId:void 0,createdAt:n.createdAt.toISOString(),updatedAt:n.updatedAt.toISOString(),url:e.url??void 0}})})),s=i.pageInfo,c;return r&&s.hasNextPage?c=s.endCursor??void 0:!r&&s.hasPreviousPage&&(c=s.startCursor??void 0),{messages:o,nextCursor:c}}async fetchIssueComments(e,t){let n=await(await this.getClient().issue(e)).comments({first:t?.limit??50});return{messages:await this.commentsToMessages(n.nodes,e,void 0),nextCursor:n.pageInfo.hasNextPage?n.pageInfo.endCursor??void 0:void 0}}async fetchCommentThread(e,t,n){let r=this.getClient(),i=await r.comment({id:t});if(!i.issueId||i.issueId!==e)throw new u(`linear`,`Comment does not belong to this issue`);let a=await r.comments({filter:{parent:{id:{eq:t}}},...n?.direction===`forward`?{first:n?.limit??50}:{last:n?.limit??50}}),o=await this.commentsToMessages([i],i.issueId,void 0),s=await this.commentsToMessages(a.nodes,i.issueId,void 0);return{messages:[...o,...s],nextCursor:a.pageInfo.hasNextPage?a.pageInfo.endCursor??void 0:void 0}}async commentsToMessages(e,t,n){let r=[];for(let i of e)r.push(await this.parseMessageFromComment(i,t,n));return r}async fetchThread(e){await this.ensureValidToken();let{issueId:t,agentSessionId:n}=this.decodeThreadId(e),r=await this.getClient().issue(t);return{id:e,channelId:t,channelName:`${r.identifier}: ${r.title}`,isDM:!1,metadata:{issueId:t,agentSessionId:n,identifier:r.identifier,title:r.title,url:r.url}}}encodeThreadId(e){return e.agentSessionId?e.commentId?`linear:${e.issueId}:c:${e.commentId}:s:${e.agentSessionId}`:`linear:${e.issueId}:s:${e.agentSessionId}`:e.commentId?`linear:${e.issueId}:c:${e.commentId}`:`linear:${e.issueId}`}decodeThreadId(e){if(!e.startsWith(`linear:`))throw new u(`linear`,`Invalid Linear thread ID: ${e}`);let t=e.slice(7);if(!t)throw new u(`linear`,`Invalid Linear thread ID format: ${e}`);let n=t.match(ew);if(n)return{issueId:n[1],commentId:n[2],agentSessionId:n[3]};let r=t.match(nw);if(r)return{issueId:r[1],agentSessionId:r[2]};let i=t.match(tw);return i?{issueId:i[1],commentId:i[2]}:{issueId:t}}channelIdFromThreadId(e){let{issueId:t}=this.decodeThreadId(e);return`linear:${t}`}parseMessage(e){let t=e.comment.body,n=this.formatConverter.toAst(t);return new c({id:e.comment.id,isMention:e.kind===`agent_session_comment`||void 0,threadId:e.kind===`agent_session_comment`?this.encodeThreadId({issueId:e.comment.issueId,agentSessionId:e.agentSessionId}):this.encodeThreadId({issueId:e.comment.issueId,commentId:e.comment.id}),text:t,formatted:n,author:{userId:e.comment.user.id,userName:e.comment.user.displayName,fullName:e.comment.user.fullName,isBot:e.comment.user.type===`bot`,isMe:e.comment.user.id===this.botUserId},metadata:{dateSent:e.comment.createdAt?new Date(e.comment.createdAt):new Date,edited:e.comment.createdAt!==e.comment.updatedAt,editedAt:e.comment.createdAt!==e.comment.updatedAt&&e.comment.updatedAt?new Date(e.comment.updatedAt):void 0},attachments:[],raw:e})}renderFormatted(e){return this.formatConverter.fromAst(e)}resolveEmoji(e){let t=typeof e==`string`?e:e.name;return{thumbs_up:`👍`,thumbs_down:`👎`,heart:`❤️`,fire:`🔥`,rocket:`🚀`,eyes:`👀`,check:`✅`,warning:`⚠️`,sparkles:`✨`,wave:`👋`,raised_hands:`🙌`,laugh:`😄`,hooray:`🎉`,confused:`😕`}[t]||t}async fetchSubject(e){let t=e.comment?.issueId;if(!t)return null;try{await this.ensureValidToken();let e=await this.getClient().issue(t),n=await e.state,r=await e.assignee,i=await e.labels();return{type:`issue`,id:e.identifier,title:e.title,description:e.description??void 0,status:n?.name,url:e.url,assignee:r?{id:r.id,name:r.displayName}:void 0,labels:i.nodes.map(e=>e.name),raw:e}}catch(e){return this.logger.debug(`Failed to fetch subject`,{issueId:t,error:e}),null}}};function lw(t,n,r,i=Date.now()){if(!r||!n)return!1;let a=ee(`sha256`,r).update(t).digest();if(!e(Buffer.from(n,`hex`),a))return!1;let o=JSON.parse(t).webhookTimestamp;return typeof o==`number`&&Math.abs(i-o)<=6e4}var uw=class extends cw{organization;installedSelf;saveSelf;constructor(e,t,n,r){super(e),this.organization=t,this.installedSelf=n,this.saveSelf=r}async initialize(e){this.chat=e}async resolveConnectIdentity(){let e=this.organization&&await this.installedSelf?.(this.organization);if(!e){await super.resolveConnectIdentity(),this.defaultBotUserId&&this.defaultOrganizationId===this.organization&&await this.saveSelf?.(this.organization,this.defaultBotUserId);return}this.defaultBotUserId=e,this.defaultOrganizationId=this.organization}bound(e){return this.requestContext.getStore()?e():this.organization?this.withInstallation(this.organization,e):Promise.reject(Error(`No Linear workspace to post for`))}postMessage(e,t){return this.bound(()=>super.postMessage(e,t))}startTyping(e,t){return this.bound(()=>super.startTyping(e,t))}postProblem(e,t){let{agentSessionId:n}=this.decodeThreadId(e);return n?this.bound(async()=>{await this.ensureValidToken(),await this.getClient().createAgentActivity({agentSessionId:n,content:{type:`error`,body:t}})}):this.postMessage(e,t)}};function dw(e){let t=e.credentials?.webhookSecret,n=e.installationId;return new uw({mode:`agent-sessions`,userName:e.name,apiUrl:`https://api.linear.app/graphql`,encryptionKey:``,accessToken:()=>n?e.token(n):Promise.reject(Error(`The webhook names no Linear workspace`)),webhookVerifier:(e,n)=>lw(n,e.headers.get(`linear-signature`),t),logger:new a(`error`)},n,e.installedSelf,e.saveSelf)}export{dw as linearAdapter};
49844
+ `);if(!t.data)throw new g(`linear`,`Failed to resolve client identity for Linear installation.`);return{botUserId:t.data.viewer.id,displayName:t.data.viewer.displayName,organizationId:t.data.viewer.organization.id}}async fetchOAuthToken(e,t){let n=await fetch(`https://api.linear.app/oauth/token`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:e});if(!n.ok){let e=await n.text();throw new g(`linear`,`${t}: ${n.status} ${e}`)}return await n.json()}async refreshInstallation(e){if(!(e.refreshToken&&this.oauthClientId&&this.oauthClientSecret)||e.expiresAt!==null&&e.expiresAt>Date.now()+iw)return e;let t=await this.fetchOAuthToken(new URLSearchParams({refresh_token:e.refreshToken,grant_type:`refresh_token`,client_id:this.oauthClientId,client_secret:this.oauthClientSecret}),`Failed to refresh Linear OAuth token`),n={...e,accessToken:t.access_token,expiresAt:$C(t.expires_in),refreshToken:t.refresh_token??e.refreshToken};return await this.setInstallation(e.organizationId,n),n}async requireInstallation(e){let t=await this.getInstallation(e);if(!t)throw new g(`linear`,`No installation found for organization ${e}`);return await this.refreshInstallation(t)}async refreshClientCredentialsToken(){if(!this.clientCredentials)return;let{clientId:e,clientSecret:t,scopes:n}=this.clientCredentials,r=await this.fetchOAuthToken(new URLSearchParams({grant_type:`client_credentials`,client_id:e,client_secret:t,scope:n.join(`,`)}),`Failed to fetch Linear client credentials token`);this.defaultClient=new BC({accessToken:r.access_token,...this.apiUrl?{apiUrl:this.apiUrl}:{}}),this.accessTokenExpiry=typeof r.expires_in==`number`?Date.now()+r.expires_in*1e3-36e5:null,this.logger.info(`Linear client credentials token obtained`,{expiresIn:typeof r.expires_in==`number`?`${Math.round(r.expires_in/86400)} days`:`unknown`})}async ensureValidToken(){this.requestContext.getStore()||this.clientCredentials&&this.accessTokenExpiry&&Date.now()>this.accessTokenExpiry&&(this.logger.info(`Linear access token expired, refreshing...`),await this.refreshClientCredentialsToken())}async parseMessageFromComment(e,t,n){let r;if(e.userId){let t=await e.user;if(!t)throw new _(`User with ID ${e.userId} not found for comment ${e.id}`,`linear`);r={type:`user`,id:t.id,displayName:t.displayName,fullName:t.name,email:t.email,avatarUrl:t.avatarUrl??void 0}}else{let t=await e.botActor;if(!t)throw new _(`Comment ${e.id} has no userId and no botActor, cannot determine author.`,`linear`);r={type:`bot`,id:t.id??this.botUserId,displayName:t.userDisplayName??t.name??`unknown`,fullName:t.name??t.userDisplayName??`unknown`,email:void 0,avatarUrl:t.avatarUrl??void 0}}let i={id:e.id,body:e.body,issueId:t,user:r,parentId:e.parentId??void 0,createdAt:e.createdAt.toISOString(),updatedAt:e.updatedAt.toISOString(),url:e.url??void 0};return this.parseMessage(n?{kind:`agent_session_comment`,comment:i,agentSessionId:n,organizationId:this.organizationId}:{kind:`comment`,comment:i,organizationId:this.organizationId})}parseMessageFromAgentSessionEvent(e){let t=e.agentSession.issueId??e.agentSession.issue?.id;if(!t)return null;if(e.action===`prompted`){let{agentActivity:n}=e;if(!n)return this.logger.warn(`Missing agent activity for prompted action`,{agentSessionId:e.agentSession.id}),null;let r=n.content,i={id:n.sourceCommentId??n.id,body:r.body,issueId:t,user:{type:`user`,id:n.user.id,displayName:QC(n.user.url),fullName:n.user.name,email:n.user.email,avatarUrl:n.user.avatarUrl??void 0},parentId:e.agentSession.comment?.id,createdAt:n.createdAt,updatedAt:n.createdAt,url:e.agentSession.url??void 0};return this.parseMessage({kind:`agent_session_comment`,organizationId:e.organizationId,comment:i,agentSessionId:e.agentSession.id,agentSessionPromptContext:e.promptContext??void 0})}if(e.action===`created`){let{agentSession:n}=e;if(n.appUserId!==this.botUserId)return this.logger.warn(`Ignoring agent session event from another bot`,{agentSessionId:e.agentSession.id,appUserId:n.appUserId}),null;let r=n.comment??{id:`agent-session-${n.id}`,body:e.promptContext??``},i={id:r.id,body:r.body,issueId:t,user:n.creator?{type:`user`,id:n.creator.id,displayName:QC(n.creator.url),fullName:n.creator.name,email:n.creator.email,avatarUrl:n.creator.avatarUrl??void 0}:{type:`bot`,id:`linear-automation`,displayName:`Linear automation`,fullName:`Linear automation`,email:void 0,avatarUrl:void 0},parentId:void 0,createdAt:e.createdAt,updatedAt:e.createdAt,url:e.agentSession.url??void 0};return this.parseMessage({kind:`agent_session_comment`,organizationId:e.organizationId,comment:i,agentSessionId:e.agentSession.id,agentSessionPromptContext:e.promptContext??void 0})}return this.logger.warn(`Unsupported agent session event action`,{action:e.action,agentSessionId:e.agentSession.id,issueId:t}),null}async parseMessageFromAgentActivity(e,t){let n=await t.agentActivity;if(!(t.success&&n))throw new _(`Failed to create Linear agent activity for session ${e.agentSessionId}`,`linear`);let r=await n.sourceComment;if(!r)throw new _(`Failed to resolve source comment for Linear agent activity ${n.id}`,`linear`);if(!n.agentSessionId)throw new _(`Missing agentSessionId for Linear agent activity ${n.id}`,`linear`);return this.parseMessageFromComment(r,e.issueId,n.agentSessionId)}async handleWebhook(e,t){if(this.webhookVerifier)return await this.handleVerifiedWebhook(e,t);let n=new ae(this.webhookSecret).createHandler();return n.on(`OAuthApp`,async e=>await this.onOAuthAppEvent(e)),n.on(`Comment`,async e=>await this.onCommentEvent(e,t)),n.on(`AgentSessionEvent`,async e=>await this.onAgentSessionEvent(e,t)),n.on(`Reaction`,async e=>await this.onReactionEvent(e)),await n(e)}async handleVerifiedWebhook(e,t){let n=await e.text(),r;try{r=await this.webhookVerifier?.(e,n)}catch(e){return this.logger.warn(`Linear webhook verifier rejected the request`,{error:e}),new Response(`Invalid webhook`,{status:401})}if(!r)return new Response(`Invalid webhook`,{status:401});let i=typeof r==`string`?r:n,a;try{a=JSON.parse(i)}catch{return new Response(`Invalid webhook`,{status:400})}try{await this.dispatchWebhookEvent(a,t)}catch(e){return this.logger.error(`Linear webhook handler failed`,{error:e}),new Response(`Internal server error`,{status:500})}return new Response(`OK`,{status:200})}async dispatchWebhookEvent(e,t){switch(e.type){case`OAuthApp`:await this.onOAuthAppEvent(e);break;case`Comment`:await this.onCommentEvent(e,t);break;case`AgentSessionEvent`:await this.onAgentSessionEvent(e,t);break;case`Reaction`:await this.onReactionEvent(e);break;default:this.logger.debug(`Ignoring unhandled Linear webhook type`,{type:e.type})}}async onOAuthAppEvent(e){if(e.action===`revoked`)try{await this.deleteInstallation(e.organizationId)}catch(t){this.logger.error(`Failed to delete Linear installation on revoke`,{organizationId:e.organizationId,error:t})}}async onCommentEvent(e,t){await this.withWebhookInstallation(e.organizationId,()=>{this.mode===`comments`&&e.action===`create`&&this.handleCommentCreated(e,t)})}async onAgentSessionEvent(e,t){await this.withWebhookInstallation(e.organizationId,()=>{if(this.mode!==`agent-sessions`){this.logger.warn(`Received AgentSessionEvent webhook but adapter is not in agent-sessions mode, ignoring`);return}this.handleAgentSessionEvent(e,t)})}async onReactionEvent(e){await this.withWebhookInstallation(e.organizationId,()=>{this.handleReaction(e)})}async withWebhookInstallation(e,t){if(this.isConnectMode()){await this.withConnectClient(e,t);return}if(!this.isMultiTenantMode())return await t();let n=await this.getInstallation(e);if(!n){this.logger.warn(`No Linear installation found for organization`,{organizationId:e});return}await this.withInstallation(n,t)}handleCommentCreated(e,t){if(!this.chat){this.logger.warn(`Chat instance not initialized, ignoring comment`);return}let{data:n}=e;if(!n.issueId){this.logger.debug(`Ignoring non-issue comment`,{commentId:n.id});return}if(!n.user){this.logger.debug(`Ignoring comment with no user`,{commentId:n.id});return}let r=n.parentId||n.id,i=this.encodeThreadId({issueId:n.issueId,commentId:r}),a={body:n.body,createdAt:n.createdAt,id:n.id,issueId:n.issueId,parentId:n.parentId??void 0,updatedAt:n.updatedAt,url:e.url??void 0,user:{type:`user`,id:n.user.id,displayName:QC(n.user.url),fullName:n.user.name,email:n.user.email,avatarUrl:n.user.avatarUrl??void 0}},o=this.parseMessage({kind:`comment`,comment:a,organizationId:e.organizationId});this.chat.processMessage(this,i,o,t)}handleAgentSessionEvent(e,t){if(!this.chat){this.logger.warn(`Chat instance not initialized, ignoring agent session event`);return}let n=this.parseMessageFromAgentSessionEvent(e);if(!n){this.logger.warn(`Unable to build message for Linear agent session event`,{agentSessionId:e.agentSession.id});return}this.chat.processMessage(this,n.threadId,n,t)}handleReaction(e){if(!this.chat)return;let{data:t}=e;this.logger.debug(`Received reaction webhook`,{reactionId:t.id,emoji:t.emoji,commentId:t.commentId,action:e.action})}async postMessage(e,t){await this.ensureValidToken();let n=this.getClient(),r=this.decodeThreadId(e),i=YC(t,this.formatConverter);if(r.agentSessionId)return XC(r),await this.parseMessageFromAgentActivity(r,await n.createAgentActivity({agentSessionId:r.agentSessionId,content:{type:He.Response,body:i}}));let a=await(await n.createComment({issueId:r.issueId,body:i,parentId:r.commentId})).comment;if(!a)throw this.logger.error(`Linear comment creation returned no comment`,{issueId:r.issueId,threadId:e}),new _(`Failed to create comment on Linear issue`,`linear`);return{id:a.id,threadId:e,raw:{kind:`comment`,comment:{id:a.id,body:a.body,issueId:r.issueId,parentId:r.commentId,user:{type:`bot`,id:this.botUserId,displayName:this.userName,fullName:this.userName,email:void 0,avatarUrl:void 0},createdAt:a.createdAt.toISOString(),updatedAt:a.updatedAt.toISOString(),url:a.url},organizationId:this.organizationId}}}async editMessage(e,t,n){await this.ensureValidToken();let r=this.getClient(),{issueId:i,agentSessionId:a}=this.decodeThreadId(e);if(a)throw new _(`Linear agent session activities are append-only and cannot be edited`,`linear`);let o=YC(n,this.formatConverter),s=await(await r.updateComment(t,{body:o})).comment;if(!s)throw this.logger.error(`Linear comment update returned no comment`,{messageId:t,threadId:e}),new _(`Failed to update comment on Linear`,`linear`);return{id:s.id,threadId:e,raw:{kind:`comment`,comment:{id:s.id,body:s.body,issueId:i,parentId:s.parentId??void 0,user:{type:`bot`,id:this.botUserId,displayName:this.userName,fullName:this.userName,email:void 0,avatarUrl:void 0},createdAt:s.createdAt.toISOString(),updatedAt:s.updatedAt.toISOString(),url:s.url},organizationId:this.organizationId}}}async deleteMessage(e,t){let{agentSessionId:n}=this.decodeThreadId(e);if(n)throw new _(`Linear agent session activities are append-only and cannot be deleted`,`linear`);await this.ensureValidToken(),await this.getClient().deleteComment(t)}async addReaction(e,t,n){await this.ensureValidToken();let r=this.resolveEmoji(n);await this.getClient().createReaction({commentId:t,emoji:r})}async removeReaction(e,t,n){this.logger.warn(`removeReaction is not fully supported on Linear - reaction ID lookup would be required`)}async startTyping(e,t){await this.ensureValidToken();let n=this.decodeThreadId(e);if(n.agentSessionId){await this.getClient().createAgentActivity({agentSessionId:n.agentSessionId,content:{type:He.Thought,body:t??`Thinking...`},ephemeral:!0});return}this.logger.warn(`startTyping is only supported in agent session threads. Ignoring for comment thread.`)}async stream(e,t,n){await this.ensureValidToken();let r=this.decodeThreadId(e);return r.agentSessionId?(XC(r),this.streamInAgentSession(r,t,n)):this.streamAsComment(e,t,n)}async streamInAgentSession(e,t,n){let i=new r,a=this.getClient();XC(e);let o=``,s=async(t,n=i.getCommittableText(),r=!1)=>{let s=n.slice(o.length).trim();if(s||r)return o=n,await a.createAgentActivity({agentSessionId:e.agentSessionId,content:{type:t,body:s}})};for await(let n of t){if(typeof n==`string`){i.push(n);continue}if(n.type===`markdown_text`){i.push(n.text);continue}if(n.type===`task_update`){await s(He.Thought),n.status===`error`?await a.createAgentActivity({agentSessionId:e.agentSessionId,content:{type:He.Error,body:[n.title,n.output].filter(Boolean).join(`
49845
+ `)}}):await a.createAgentActivity({agentSessionId:e.agentSessionId,content:{type:He.Action,action:n.title,parameter:``,result:n.output},ephemeral:n.status!==`complete`});continue}n.type===`plan_update`&&await this.getClient().updateAgentSession(e.agentSessionId,{plan:[{content:n.title,status:`completed`}]})}let c=await s(He.Response,i.finish(),!0);if(!c)throw Error(`Failed to flush final markdown delta for agent session stream`);return await this.parseMessageFromAgentActivity(e,c)}async streamAsComment(e,t,n){let i=n?.updateIntervalMs??500,a=await this.postMessage(e,`...`),o=a.threadId||e,s=new r,c=`...`,l=!1,u=null,d=null,f=()=>{d=setTimeout(()=>{u=p()},i)},p=async()=>{if(l||!a)return;let e=s.render();if(e!==c)try{a=await this.editMessage(o,a.id,{markdown:e}),c=e,o=a.threadId||o}catch(e){this.logger.warn(`Linear fallback stream edit failed`,{error:e})}l||f()};f();try{for await(let e of t)typeof e==`string`?s.push(e):e.type===`markdown_text`&&s.push(e.text)}finally{l=!0,d&&clearTimeout(d)}u&&await u;let m=s.finish();return m!==c&&a&&(a=await this.editMessage(o,a.id,{markdown:m})),a}async fetchMessages(e,t){await this.ensureValidToken();let n=this.decodeThreadId(e);return n.agentSessionId?(XC(n),await this.fetchAgentSessionMessages(n,t)):n.commentId?await this.fetchCommentThread(n.issueId,n.commentId,t):await this.fetchIssueComments(n.issueId,t)}async fetchAgentSessionMessages(e,t){let n=this.getClient(),r=await n.agentSession(e.agentSessionId),i=r.issueId;if(!i||i!==e.issueId)throw new d(`linear`,`Agent session does not belong to this issue`);let a=await r.comment;if(!a)return await this.fetchAgentSessionActivities(r,i,t);let o=await n.comments({filter:{parent:{id:{eq:a.id}}},...t?.direction===`forward`?{first:t?.limit??50}:{last:t?.limit??50}});return{messages:await this.commentsToMessages([a,...o.nodes],i,r.id),nextCursor:o.pageInfo.hasNextPage?o.pageInfo.endCursor??void 0:void 0}}async fetchAgentSessionActivities(e,t,n){let r=n?.direction===`forward`,i=await e.activities({...r?{first:n?.limit??50,...n?.cursor?{after:n.cursor}:{}}:{last:n?.limit??50,...n?.cursor?{before:n.cursor}:{}}}),a=[...i.nodes].sort((e,t)=>e.createdAt.getTime()-t.createdAt.getTime()),o=await Promise.all(a.map(async n=>{let r=await n.user,i=n.content.type!==He.Prompt,a=i?this.userName:`unknown`,o={type:i?`bot`:`user`,id:r?.id??n.userId??(i?this.botUserId:`unknown`),displayName:r?.displayName??r?.name??a,fullName:r?.name??r?.displayName??a,email:r?.email??void 0,avatarUrl:r?.avatarUrl??void 0};return this.parseMessage({kind:`agent_session_comment`,organizationId:this.organizationId,agentSessionId:e.id,comment:{id:n.sourceCommentId??n.id,body:aw(n),issueId:t,user:o,parentId:void 0,createdAt:n.createdAt.toISOString(),updatedAt:n.updatedAt.toISOString(),url:e.url??void 0}})})),s=i.pageInfo,c;return r&&s.hasNextPage?c=s.endCursor??void 0:!r&&s.hasPreviousPage&&(c=s.startCursor??void 0),{messages:o,nextCursor:c}}async fetchIssueComments(e,t){let n=await(await this.getClient().issue(e)).comments({first:t?.limit??50});return{messages:await this.commentsToMessages(n.nodes,e,void 0),nextCursor:n.pageInfo.hasNextPage?n.pageInfo.endCursor??void 0:void 0}}async fetchCommentThread(e,t,n){let r=this.getClient(),i=await r.comment({id:t});if(!i.issueId||i.issueId!==e)throw new d(`linear`,`Comment does not belong to this issue`);let a=await r.comments({filter:{parent:{id:{eq:t}}},...n?.direction===`forward`?{first:n?.limit??50}:{last:n?.limit??50}}),o=await this.commentsToMessages([i],i.issueId,void 0),s=await this.commentsToMessages(a.nodes,i.issueId,void 0);return{messages:[...o,...s],nextCursor:a.pageInfo.hasNextPage?a.pageInfo.endCursor??void 0:void 0}}async commentsToMessages(e,t,n){let r=[];for(let i of e)r.push(await this.parseMessageFromComment(i,t,n));return r}async fetchThread(e){await this.ensureValidToken();let{issueId:t,agentSessionId:n}=this.decodeThreadId(e),r=await this.getClient().issue(t);return{id:e,channelId:t,channelName:`${r.identifier}: ${r.title}`,isDM:!1,metadata:{issueId:t,agentSessionId:n,identifier:r.identifier,title:r.title,url:r.url}}}encodeThreadId(e){return e.agentSessionId?e.commentId?`linear:${e.issueId}:c:${e.commentId}:s:${e.agentSessionId}`:`linear:${e.issueId}:s:${e.agentSessionId}`:e.commentId?`linear:${e.issueId}:c:${e.commentId}`:`linear:${e.issueId}`}decodeThreadId(e){if(!e.startsWith(`linear:`))throw new d(`linear`,`Invalid Linear thread ID: ${e}`);let t=e.slice(7);if(!t)throw new d(`linear`,`Invalid Linear thread ID format: ${e}`);let n=t.match(ew);if(n)return{issueId:n[1],commentId:n[2],agentSessionId:n[3]};let r=t.match(nw);if(r)return{issueId:r[1],agentSessionId:r[2]};let i=t.match(tw);return i?{issueId:i[1],commentId:i[2]}:{issueId:t}}channelIdFromThreadId(e){let{issueId:t}=this.decodeThreadId(e);return`linear:${t}`}parseMessage(e){let t=e.comment.body,n=this.formatConverter.toAst(t);return new l({id:e.comment.id,isMention:e.kind===`agent_session_comment`||void 0,threadId:e.kind===`agent_session_comment`?this.encodeThreadId({issueId:e.comment.issueId,agentSessionId:e.agentSessionId}):this.encodeThreadId({issueId:e.comment.issueId,commentId:e.comment.id}),text:t,formatted:n,author:{userId:e.comment.user.id,userName:e.comment.user.displayName,fullName:e.comment.user.fullName,isBot:e.comment.user.type===`bot`,isMe:e.comment.user.id===this.botUserId},metadata:{dateSent:e.comment.createdAt?new Date(e.comment.createdAt):new Date,edited:e.comment.createdAt!==e.comment.updatedAt,editedAt:e.comment.createdAt!==e.comment.updatedAt&&e.comment.updatedAt?new Date(e.comment.updatedAt):void 0},attachments:[],raw:e})}renderFormatted(e){return this.formatConverter.fromAst(e)}resolveEmoji(e){let t=typeof e==`string`?e:e.name;return{thumbs_up:`👍`,thumbs_down:`👎`,heart:`❤️`,fire:`🔥`,rocket:`🚀`,eyes:`👀`,check:`✅`,warning:`⚠️`,sparkles:`✨`,wave:`👋`,raised_hands:`🙌`,laugh:`😄`,hooray:`🎉`,confused:`😕`}[t]||t}async fetchSubject(e){let t=e.comment?.issueId;if(!t)return null;try{await this.ensureValidToken();let e=await this.getClient().issue(t),n=await e.state,r=await e.assignee,i=await e.labels();return{type:`issue`,id:e.identifier,title:e.title,description:e.description??void 0,status:n?.name,url:e.url,assignee:r?{id:r.id,name:r.displayName}:void 0,labels:i.nodes.map(e=>e.name),raw:e}}catch(e){return this.logger.debug(`Failed to fetch subject`,{issueId:t,error:e}),null}}},lw=class extends cw{organization;installedSelf;saveSelf;constructor(e,t,n,r){super(e),this.organization=t,this.installedSelf=n,this.saveSelf=r}async initialize(e){this.chat=e}async resolveConnectIdentity(){let e=this.organization&&await this.installedSelf?.(this.organization);if(!e){await super.resolveConnectIdentity(),this.defaultBotUserId&&this.defaultOrganizationId===this.organization&&await this.saveSelf?.(this.organization,this.defaultBotUserId);return}this.defaultBotUserId=e,this.defaultOrganizationId=this.organization}bound(e){return this.requestContext.getStore()?e():this.organization?this.withInstallation(this.organization,e):Promise.reject(Error(`No Linear workspace to post for`))}postMessage(e,t){return this.bound(()=>super.postMessage(e,t))}addReaction(e,t,n){return this.bound(()=>super.addReaction(e,t,a.toGChat(n)))}startTyping(e,t){return this.bound(()=>super.startTyping(e,t))}postProgress(e,t){let{agentSessionId:n}=this.decodeThreadId(e);return n?this.bound(async()=>{await this.ensureValidToken();let e=await this.getClient().createAgentActivity({agentSessionId:n,content:{type:`thought`,body:t}}),r=await e.agentActivity;if(!e.success||!r)throw Error(`Linear progress activity failed`);return{id:r.id}}):this.postMessage(e,{markdown:t})}postProblem(e,t){let{agentSessionId:n}=this.decodeThreadId(e);return n?this.bound(async()=>{await this.ensureValidToken(),await this.getClient().createAgentActivity({agentSessionId:n,content:{type:`error`,body:t}})}):this.postMessage(e,t)}};function uw(t){let n=t.credentials?.webhookSecret,r=t.installationId;return new lw({mode:`agent-sessions`,userName:t.name,apiUrl:`https://api.linear.app/graphql`,encryptionKey:``,accessToken:()=>r?t.token(r):Promise.reject(Error(`The webhook names no Linear workspace`)),webhookVerifier:(t,r)=>e(r,t.headers.get(`linear-signature`),n),logger:new o(`error`)},r,t.installedSelf,t.saveSelf)}export{uw as linearAdapter};