@grantjs/schema 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +117 -0
  3. package/package.json +35 -0
  4. package/src/generated/graphql.ts +9969 -0
  5. package/src/generated/resolvers.ts +5468 -0
  6. package/src/index.ts +30 -0
  7. package/src/operations/api-keys/create-api-key.graphql +11 -0
  8. package/src/operations/api-keys/delete-api-key.graphql +17 -0
  9. package/src/operations/api-keys/exchange-api-key.graphql +6 -0
  10. package/src/operations/api-keys/get-api-keys.graphql +42 -0
  11. package/src/operations/api-keys/revoke-api-key.graphql +17 -0
  12. package/src/operations/auth/login.graphql +19 -0
  13. package/src/operations/auth/refreshSession.graphql +7 -0
  14. package/src/operations/auth/register.graphql +19 -0
  15. package/src/operations/auth/requestPasswordReset.graphql +7 -0
  16. package/src/operations/auth/resendVerification.graphql +6 -0
  17. package/src/operations/auth/resetPassword.graphql +7 -0
  18. package/src/operations/auth/verifyEmail.graphql +6 -0
  19. package/src/operations/groups/createGroup.graphql +10 -0
  20. package/src/operations/groups/deleteGroup.graphql +9 -0
  21. package/src/operations/groups/getGroups.graphql +47 -0
  22. package/src/operations/groups/updateGroup.graphql +10 -0
  23. package/src/operations/me/change-my-password.graphql +6 -0
  24. package/src/operations/me/create-my-secondary-account.graphql +30 -0
  25. package/src/operations/me/create-my-user-authentication-method.graphql +13 -0
  26. package/src/operations/me/delete-my-accounts.graphql +9 -0
  27. package/src/operations/me/delete-my-user-authentication-method.graphql +13 -0
  28. package/src/operations/me/logout-my-user.graphql +5 -0
  29. package/src/operations/me/me.graphql +22 -0
  30. package/src/operations/me/my-user-authentication-methods.graphql +13 -0
  31. package/src/operations/me/my-user-data-export.graphql +45 -0
  32. package/src/operations/me/my-user-sessions.graphql +21 -0
  33. package/src/operations/me/revoke-my-user-session.graphql +6 -0
  34. package/src/operations/me/set-my-primary-authentication-method.graphql +13 -0
  35. package/src/operations/me/update-my-users.graphql +9 -0
  36. package/src/operations/me/upload-my-user-picture.graphql +6 -0
  37. package/src/operations/organization-invitations/acceptInvitation.graphql +20 -0
  38. package/src/operations/organization-invitations/getInvitation.graphql +27 -0
  39. package/src/operations/organization-invitations/getOrganizationInvitations.graphql +17 -0
  40. package/src/operations/organization-invitations/inviteMember.graphql +13 -0
  41. package/src/operations/organization-invitations/renewInvitation.graphql +13 -0
  42. package/src/operations/organization-invitations/resendInvitationEmail.graphql +13 -0
  43. package/src/operations/organization-invitations/revokeInvitation.graphql +8 -0
  44. package/src/operations/organization-members/getOrganizationMembers.graphql +50 -0
  45. package/src/operations/organization-members/removeOrganizationMember.graphql +24 -0
  46. package/src/operations/organization-members/updateOrganizationMember.graphql +24 -0
  47. package/src/operations/organizations/createOrganization.graphql +9 -0
  48. package/src/operations/organizations/deleteOrganization.graphql +9 -0
  49. package/src/operations/organizations/getOrganizations.graphql +33 -0
  50. package/src/operations/organizations/updateOrganization.graphql +9 -0
  51. package/src/operations/permissions/createPermission.graphql +17 -0
  52. package/src/operations/permissions/deletePermission.graphql +12 -0
  53. package/src/operations/permissions/getPermissions.graphql +43 -0
  54. package/src/operations/permissions/updatePermission.graphql +17 -0
  55. package/src/operations/project-apps/create-project-app.graphql +13 -0
  56. package/src/operations/project-apps/delete-project-app.graphql +11 -0
  57. package/src/operations/project-apps/get-project-apps.graphql +50 -0
  58. package/src/operations/project-apps/update-project-app.graphql +20 -0
  59. package/src/operations/projects/createProject.graphql +10 -0
  60. package/src/operations/projects/deleteProject.graphql +10 -0
  61. package/src/operations/projects/getProjectAppFormData.graphql +21 -0
  62. package/src/operations/projects/getProjects.graphql +48 -0
  63. package/src/operations/projects/updateProject.graphql +10 -0
  64. package/src/operations/resources/createResource.graphql +12 -0
  65. package/src/operations/resources/deleteResource.graphql +12 -0
  66. package/src/operations/resources/getResources.graphql +40 -0
  67. package/src/operations/resources/updateResource.graphql +12 -0
  68. package/src/operations/roles/createRole.graphql +10 -0
  69. package/src/operations/roles/deleteRole.graphql +9 -0
  70. package/src/operations/roles/getRoles.graphql +46 -0
  71. package/src/operations/roles/updateRole.graphql +10 -0
  72. package/src/operations/signing-keys/get-signing-keys.graphql +11 -0
  73. package/src/operations/signing-keys/rotate-signing-key.graphql +10 -0
  74. package/src/operations/tags/createTag.graphql +9 -0
  75. package/src/operations/tags/deleteTag.graphql +9 -0
  76. package/src/operations/tags/getTags.graphql +20 -0
  77. package/src/operations/tags/updateTag.graphql +9 -0
  78. package/src/operations/users/createUser.graphql +9 -0
  79. package/src/operations/users/deleteUser.graphql +8 -0
  80. package/src/operations/users/getUsers.graphql +50 -0
  81. package/src/operations/users/updateUser.graphql +9 -0
  82. package/src/operations/users/uploadUserPicture.graphql +6 -0
  83. package/src/project-oauth.types.ts +37 -0
  84. package/src/schema/account-project-api-keys/inputs/add-account-project-api-key.graphql +6 -0
  85. package/src/schema/account-project-api-keys/inputs/query-account-project-api-keys.graphql +5 -0
  86. package/src/schema/account-project-api-keys/inputs/remove-account-project-api-key.graphql +5 -0
  87. package/src/schema/account-project-api-keys/types/account-project-api-key.graphql +14 -0
  88. package/src/schema/account-project-tags/inputs/add-account-project-tag.graphql +6 -0
  89. package/src/schema/account-project-tags/inputs/query-account-project-tag.graphql +5 -0
  90. package/src/schema/account-project-tags/inputs/remove-account-project-tag.graphql +5 -0
  91. package/src/schema/account-project-tags/inputs/update-account-project-tag.graphql +6 -0
  92. package/src/schema/account-project-tags/types/account-project-tag.graphql +13 -0
  93. package/src/schema/account-projects/inputs/add-account-project.graphql +4 -0
  94. package/src/schema/account-projects/inputs/query-account-project.graphql +3 -0
  95. package/src/schema/account-projects/inputs/query-account-projects.graphql +3 -0
  96. package/src/schema/account-projects/inputs/remove-account-project.graphql +4 -0
  97. package/src/schema/account-projects/types/account-project.graphql +10 -0
  98. package/src/schema/account-roles/inputs/add-account-role.graphql +4 -0
  99. package/src/schema/account-roles/inputs/query-account-roles.graphql +3 -0
  100. package/src/schema/account-roles/inputs/remove-account-role.graphql +4 -0
  101. package/src/schema/account-roles/types/account-role.graphql +10 -0
  102. package/src/schema/account-tags/inputs/add-account-tag.graphql +5 -0
  103. package/src/schema/account-tags/inputs/query-account-tags.graphql +3 -0
  104. package/src/schema/account-tags/inputs/remove-account-tag.graphql +4 -0
  105. package/src/schema/account-tags/inputs/update-account-tag.graphql +5 -0
  106. package/src/schema/account-tags/types/account-tag.graphql +11 -0
  107. package/src/schema/accounts/inputs/account-sort.graphql +4 -0
  108. package/src/schema/accounts/inputs/create-account.graphql +7 -0
  109. package/src/schema/accounts/inputs/query-accounts.graphql +7 -0
  110. package/src/schema/accounts/types/account-page.graphql +5 -0
  111. package/src/schema/accounts/types/account-searchable-field.graphql +3 -0
  112. package/src/schema/accounts/types/account-sortable-field.graphql +5 -0
  113. package/src/schema/accounts/types/account-type.graphql +4 -0
  114. package/src/schema/accounts/types/account.graphql +11 -0
  115. package/src/schema/accounts/types/create-account-result.graphql +8 -0
  116. package/src/schema/api-keys/inputs/api-key-sort.graphql +4 -0
  117. package/src/schema/api-keys/inputs/create-api-key.graphql +10 -0
  118. package/src/schema/api-keys/inputs/delete-api-key.graphql +5 -0
  119. package/src/schema/api-keys/inputs/exchange-api-key.graphql +5 -0
  120. package/src/schema/api-keys/inputs/revoke-api-key.graphql +4 -0
  121. package/src/schema/api-keys/mutations/create-api-key.graphql +3 -0
  122. package/src/schema/api-keys/mutations/delete-api-key.graphql +3 -0
  123. package/src/schema/api-keys/mutations/exchange-api-key.graphql +3 -0
  124. package/src/schema/api-keys/mutations/revoke-api-key.graphql +3 -0
  125. package/src/schema/api-keys/queries/get-api-keys.graphql +10 -0
  126. package/src/schema/api-keys/types/api-key-page.graphql +5 -0
  127. package/src/schema/api-keys/types/api-key-searchable-field.graphql +5 -0
  128. package/src/schema/api-keys/types/api-key-sortable-field.graphql +6 -0
  129. package/src/schema/api-keys/types/api-key.graphql +21 -0
  130. package/src/schema/api-keys/types/create-api-key-result.graphql +9 -0
  131. package/src/schema/api-keys/types/exchange-api-key-result.graphql +4 -0
  132. package/src/schema/auth/inputs/is-authorized.graphql +13 -0
  133. package/src/schema/auth/inputs/login.graphql +5 -0
  134. package/src/schema/auth/inputs/register.graphql +6 -0
  135. package/src/schema/auth/inputs/request-password-reset.graphql +3 -0
  136. package/src/schema/auth/inputs/resend-verification.graphql +3 -0
  137. package/src/schema/auth/inputs/reset-password.graphql +4 -0
  138. package/src/schema/auth/inputs/verify-email.graphql +3 -0
  139. package/src/schema/auth/mutations/login.graphql +3 -0
  140. package/src/schema/auth/mutations/refresh-session.graphql +4 -0
  141. package/src/schema/auth/mutations/register.graphql +3 -0
  142. package/src/schema/auth/mutations/request-password-reset.graphql +3 -0
  143. package/src/schema/auth/mutations/resend-verification.graphql +3 -0
  144. package/src/schema/auth/mutations/reset-password.graphql +3 -0
  145. package/src/schema/auth/mutations/verify-email.graphql +3 -0
  146. package/src/schema/auth/queries/is-authorized.graphql +3 -0
  147. package/src/schema/auth/types/authorization-reason.graphql +10 -0
  148. package/src/schema/auth/types/authorization-result.graphql +7 -0
  149. package/src/schema/auth/types/login-response.graphql +8 -0
  150. package/src/schema/auth/types/refresh-session-response.graphql +4 -0
  151. package/src/schema/auth/types/request-password-reset-response.graphql +5 -0
  152. package/src/schema/auth/types/resend-verification-response.graphql +5 -0
  153. package/src/schema/auth/types/reset-password-response.graphql +5 -0
  154. package/src/schema/auth/types/token-type.graphql +6 -0
  155. package/src/schema/auth/types/verify-email-response.graphql +5 -0
  156. package/src/schema/base.graphql +47 -0
  157. package/src/schema/group-permissions/inputs/add-group-permission.graphql +4 -0
  158. package/src/schema/group-permissions/inputs/query-group-permissions.graphql +4 -0
  159. package/src/schema/group-permissions/inputs/remove-group-permission.graphql +4 -0
  160. package/src/schema/group-permissions/types/group-permission.graphql +10 -0
  161. package/src/schema/group-tags/inputs/add-group-tag.graphql +5 -0
  162. package/src/schema/group-tags/inputs/query-group-tags.graphql +4 -0
  163. package/src/schema/group-tags/inputs/remove-group-tag.graphql +4 -0
  164. package/src/schema/group-tags/inputs/update-group-tag.graphql +5 -0
  165. package/src/schema/group-tags/types/group-tag.graphql +11 -0
  166. package/src/schema/groups/inputs/create-group.graphql +9 -0
  167. package/src/schema/groups/inputs/group-sort.graphql +4 -0
  168. package/src/schema/groups/inputs/update-group.graphql +9 -0
  169. package/src/schema/groups/mutations/create-group.graphql +3 -0
  170. package/src/schema/groups/mutations/delete-group.graphql +3 -0
  171. package/src/schema/groups/mutations/update-group.graphql +3 -0
  172. package/src/schema/groups/queries/get-groups.graphql +11 -0
  173. package/src/schema/groups/types/group-page.graphql +5 -0
  174. package/src/schema/groups/types/group-searchable-field.graphql +4 -0
  175. package/src/schema/groups/types/group-sortable-field.graphql +3 -0
  176. package/src/schema/groups/types/group.graphql +11 -0
  177. package/src/schema/me/input/change-my-password.graphql +5 -0
  178. package/src/schema/me/input/create-my-user-authentication-method.graphql +7 -0
  179. package/src/schema/me/input/delete-my-accounts.graphql +3 -0
  180. package/src/schema/me/input/my-user-sessions.graphql +6 -0
  181. package/src/schema/me/input/update-my-user-authentication-method.graphql +7 -0
  182. package/src/schema/me/input/update-my-user.graphql +4 -0
  183. package/src/schema/me/input/upload-my-user-picture.graphql +5 -0
  184. package/src/schema/me/mutations/change-my-password.graphql +3 -0
  185. package/src/schema/me/mutations/create-my-secondary-account.graphql +3 -0
  186. package/src/schema/me/mutations/create-my-user-authentication-method.graphql +5 -0
  187. package/src/schema/me/mutations/delete-my-accounts.graphql +3 -0
  188. package/src/schema/me/mutations/delete-my-user-authentication-method.graphql +3 -0
  189. package/src/schema/me/mutations/logout-my-user.graphql +3 -0
  190. package/src/schema/me/mutations/revoke-my-user-session.graphql +3 -0
  191. package/src/schema/me/mutations/set-my-primary-authentication-method.graphql +3 -0
  192. package/src/schema/me/mutations/update-my-user.graphql +3 -0
  193. package/src/schema/me/mutations/upload-my-user-picture.graphql +3 -0
  194. package/src/schema/me/queries/me.graphql +3 -0
  195. package/src/schema/me/queries/my-user-authentication-methods.graphql +3 -0
  196. package/src/schema/me/queries/my-user-data-export.graphql +3 -0
  197. package/src/schema/me/queries/my-user-sessions.graphql +3 -0
  198. package/src/schema/me/types/change-my-password-result.graphql +4 -0
  199. package/src/schema/me/types/create-my-secondary-account-result.graphql +4 -0
  200. package/src/schema/me/types/logout-my-user-response.graphql +3 -0
  201. package/src/schema/me/types/me-response.graphql +6 -0
  202. package/src/schema/me/types/revoke-my-user-session-result.graphql +4 -0
  203. package/src/schema/organization-groups/inputs/add-organization-group.graphql +4 -0
  204. package/src/schema/organization-groups/inputs/query-organization-groups.graphql +3 -0
  205. package/src/schema/organization-groups/inputs/remove-organization-group.graphql +4 -0
  206. package/src/schema/organization-groups/types/organization-group.graphql +10 -0
  207. package/src/schema/organization-invitations/inputs/accept-invitation.graphql +4 -0
  208. package/src/schema/organization-invitations/inputs/create-organization-invitation.graphql +10 -0
  209. package/src/schema/organization-invitations/inputs/invite-member.graphql +5 -0
  210. package/src/schema/organization-invitations/inputs/organization-invitation-sort.graphql +4 -0
  211. package/src/schema/organization-invitations/inputs/update-organization-invitation.graphql +7 -0
  212. package/src/schema/organization-invitations/inputs/user-registration-data.graphql +5 -0
  213. package/src/schema/organization-invitations/mutations/accept-invitation.graphql +3 -0
  214. package/src/schema/organization-invitations/mutations/invite-member.graphql +3 -0
  215. package/src/schema/organization-invitations/mutations/renew-invitation.graphql +3 -0
  216. package/src/schema/organization-invitations/mutations/resend-invitation-email.graphql +3 -0
  217. package/src/schema/organization-invitations/mutations/revoke-invitation.graphql +3 -0
  218. package/src/schema/organization-invitations/queries/get-invitation.graphql +3 -0
  219. package/src/schema/organization-invitations/queries/get-organization-invitations.graphql +11 -0
  220. package/src/schema/organization-invitations/types/accept-invitation-result.graphql +7 -0
  221. package/src/schema/organization-invitations/types/organization-invitation-page.graphql +5 -0
  222. package/src/schema/organization-invitations/types/organization-invitation-searchable-field.graphql +3 -0
  223. package/src/schema/organization-invitations/types/organization-invitation-sortable-field.graphql +6 -0
  224. package/src/schema/organization-invitations/types/organization-invitation-status.graphql +6 -0
  225. package/src/schema/organization-invitations/types/organization-invitation.graphql +18 -0
  226. package/src/schema/organization-members/inputs/organization-member-sort.graphql +4 -0
  227. package/src/schema/organization-members/inputs/remove-organization-member.graphql +3 -0
  228. package/src/schema/organization-members/inputs/update-organization-member.graphql +4 -0
  229. package/src/schema/organization-members/mutations/remove-organization-member.graphql +3 -0
  230. package/src/schema/organization-members/mutations/update-organization-member.graphql +3 -0
  231. package/src/schema/organization-members/queries/get-organization-members.graphql +10 -0
  232. package/src/schema/organization-members/types/member-type.graphql +4 -0
  233. package/src/schema/organization-members/types/organization-member-page.graphql +5 -0
  234. package/src/schema/organization-members/types/organization-member-searchable-field.graphql +4 -0
  235. package/src/schema/organization-members/types/organization-member-sortable-field.graphql +6 -0
  236. package/src/schema/organization-members/types/organization-member.graphql +11 -0
  237. package/src/schema/organization-permissions/inputs/add-organization-permission.graphql +4 -0
  238. package/src/schema/organization-permissions/inputs/query-organization-permissions.graphql +4 -0
  239. package/src/schema/organization-permissions/inputs/remove-organization-permission.graphql +4 -0
  240. package/src/schema/organization-permissions/types/organization-permission.graphql +10 -0
  241. package/src/schema/organization-project-api-keys/inputs/add-organization-project-api-key.graphql +6 -0
  242. package/src/schema/organization-project-api-keys/inputs/query-organization-project-api-keys.graphql +5 -0
  243. package/src/schema/organization-project-api-keys/inputs/remove-organization-project-api-key.graphql +5 -0
  244. package/src/schema/organization-project-api-keys/types/organization-project-api-key.graphql +14 -0
  245. package/src/schema/organization-project-tags/inputs/add-organization-project-tag.graphql +6 -0
  246. package/src/schema/organization-project-tags/inputs/query-organization-project-tag.graphql +5 -0
  247. package/src/schema/organization-project-tags/inputs/remove-organization-project-tag.graphql +5 -0
  248. package/src/schema/organization-project-tags/inputs/update-organization-project-tag.graphql +6 -0
  249. package/src/schema/organization-project-tags/types/organization-project-tag.graphql +13 -0
  250. package/src/schema/organization-projects/inputs/add-organization-project.graphql +4 -0
  251. package/src/schema/organization-projects/inputs/query-organization-projects.graphql +4 -0
  252. package/src/schema/organization-projects/inputs/remove-organization-project.graphql +4 -0
  253. package/src/schema/organization-projects/types/organization-project.graphql +10 -0
  254. package/src/schema/organization-roles/inputs/add-organization-role.graphql +4 -0
  255. package/src/schema/organization-roles/inputs/query-organization-roles.graphql +3 -0
  256. package/src/schema/organization-roles/inputs/remove-organization-role.graphql +4 -0
  257. package/src/schema/organization-roles/types/organization-role.graphql +10 -0
  258. package/src/schema/organization-tags/inputs/add-organization-tag.graphql +5 -0
  259. package/src/schema/organization-tags/inputs/query-organization-tags.graphql +3 -0
  260. package/src/schema/organization-tags/inputs/remove-organization-tag.graphql +4 -0
  261. package/src/schema/organization-tags/inputs/update-organization-tag.graphql +5 -0
  262. package/src/schema/organization-tags/types/organization-tag.graphql +11 -0
  263. package/src/schema/organization-users/inputs/add-organization-user.graphql +4 -0
  264. package/src/schema/organization-users/inputs/query-organization-users.graphql +4 -0
  265. package/src/schema/organization-users/inputs/remove-organization-user.graphql +4 -0
  266. package/src/schema/organization-users/types/organization-user.graphql +10 -0
  267. package/src/schema/organizations/inputs/create-organization.graphql +4 -0
  268. package/src/schema/organizations/inputs/organization-sort.graphql +4 -0
  269. package/src/schema/organizations/inputs/update-organization.graphql +4 -0
  270. package/src/schema/organizations/mutations/create-organization.graphql +3 -0
  271. package/src/schema/organizations/mutations/delete-organization.graphql +3 -0
  272. package/src/schema/organizations/mutations/update-organization.graphql +3 -0
  273. package/src/schema/organizations/queries/get-organizations.graphql +10 -0
  274. package/src/schema/organizations/types/organization-page.graphql +5 -0
  275. package/src/schema/organizations/types/organization-searchable-field.graphql +4 -0
  276. package/src/schema/organizations/types/organization-sortable-field.graphql +5 -0
  277. package/src/schema/organizations/types/organization.graphql +14 -0
  278. package/src/schema/permission-tags/inputs/add-permission-tag.graphql +5 -0
  279. package/src/schema/permission-tags/inputs/query-permission-tags.graphql +4 -0
  280. package/src/schema/permission-tags/inputs/remove-permission-tag.graphql +4 -0
  281. package/src/schema/permission-tags/inputs/update-permission-tag.graphql +5 -0
  282. package/src/schema/permission-tags/types/permission-tag.graphql +11 -0
  283. package/src/schema/permissions/inputs/create-permission.graphql +10 -0
  284. package/src/schema/permissions/inputs/permission-sort.graphql +4 -0
  285. package/src/schema/permissions/inputs/update-permission.graphql +10 -0
  286. package/src/schema/permissions/mutations/create-permission.graphql +3 -0
  287. package/src/schema/permissions/mutations/delete-permission.graphql +3 -0
  288. package/src/schema/permissions/mutations/update-permission.graphql +3 -0
  289. package/src/schema/permissions/queries/get-permissions.graphql +11 -0
  290. package/src/schema/permissions/types/permission-page.graphql +5 -0
  291. package/src/schema/permissions/types/permission-searchable-field.graphql +5 -0
  292. package/src/schema/permissions/types/permission-sortable-field.graphql +4 -0
  293. package/src/schema/permissions/types/permission.graphql +13 -0
  294. package/src/schema/project-app-tags/inputs/add-project-app-tag.graphql +5 -0
  295. package/src/schema/project-app-tags/inputs/query-project-app-tags.graphql +4 -0
  296. package/src/schema/project-app-tags/inputs/remove-project-app-tag.graphql +4 -0
  297. package/src/schema/project-app-tags/inputs/update-project-app-tag.graphql +5 -0
  298. package/src/schema/project-app-tags/types/project-app-tag.graphql +9 -0
  299. package/src/schema/project-apps/inputs/create-project-app.graphql +26 -0
  300. package/src/schema/project-apps/inputs/project-app-sort.graphql +4 -0
  301. package/src/schema/project-apps/inputs/update-project-app.graphql +29 -0
  302. package/src/schema/project-apps/mutations/create-project-app.graphql +6 -0
  303. package/src/schema/project-apps/mutations/delete-project-app.graphql +3 -0
  304. package/src/schema/project-apps/mutations/update-project-app.graphql +6 -0
  305. package/src/schema/project-apps/queries/get-project-apps.graphql +14 -0
  306. package/src/schema/project-apps/types/create-project-app-result.graphql +23 -0
  307. package/src/schema/project-apps/types/project-app-page.graphql +5 -0
  308. package/src/schema/project-apps/types/project-app-searchable-field.graphql +3 -0
  309. package/src/schema/project-apps/types/project-app-sortable-field.graphql +4 -0
  310. package/src/schema/project-apps/types/project-app.graphql +29 -0
  311. package/src/schema/project-groups/inputs/add-project-group.graphql +4 -0
  312. package/src/schema/project-groups/inputs/query-project-groups.graphql +3 -0
  313. package/src/schema/project-groups/inputs/remove-project-group.graphql +4 -0
  314. package/src/schema/project-groups/types/project-group.graphql +10 -0
  315. package/src/schema/project-permissions/inputs/add-project-permission.graphql +4 -0
  316. package/src/schema/project-permissions/inputs/query-group-permissions.graphql +4 -0
  317. package/src/schema/project-permissions/inputs/remove-project-permission.graphql +4 -0
  318. package/src/schema/project-permissions/types/project-permission.graphql +10 -0
  319. package/src/schema/project-resources/inputs/add-project-resource.graphql +4 -0
  320. package/src/schema/project-resources/inputs/query-project-resources.graphql +4 -0
  321. package/src/schema/project-resources/inputs/remove-project-resource.graphql +4 -0
  322. package/src/schema/project-resources/types/project-resource.graphql +10 -0
  323. package/src/schema/project-roles/inputs/add-project-role.graphql +4 -0
  324. package/src/schema/project-roles/inputs/query-project-roles.graphql +3 -0
  325. package/src/schema/project-roles/inputs/remove-project-role.graphql +4 -0
  326. package/src/schema/project-roles/types/project-role.graphql +10 -0
  327. package/src/schema/project-tags/inputs/add-project-tag.graphql +5 -0
  328. package/src/schema/project-tags/inputs/query-project-tags.graphql +4 -0
  329. package/src/schema/project-tags/inputs/remove-project-tag.graphql +4 -0
  330. package/src/schema/project-tags/inputs/update-project-tag.graphql +5 -0
  331. package/src/schema/project-tags/types/project-tag.graphql +11 -0
  332. package/src/schema/project-user-api-keys/inputs/add-project-user-api-key.graphql +5 -0
  333. package/src/schema/project-user-api-keys/inputs/query-project-user-api-keys.graphql +4 -0
  334. package/src/schema/project-user-api-keys/inputs/remove-project-user-api-key.graphql +5 -0
  335. package/src/schema/project-user-api-keys/types/project-user-api-key.graphql +12 -0
  336. package/src/schema/project-users/inputs/add-project-user.graphql +4 -0
  337. package/src/schema/project-users/inputs/query-project-users.graphql +4 -0
  338. package/src/schema/project-users/inputs/remove-project-user.graphql +4 -0
  339. package/src/schema/project-users/types/project-user.graphql +10 -0
  340. package/src/schema/projects/inputs/create-project.graphql +7 -0
  341. package/src/schema/projects/inputs/project-sort.graphql +4 -0
  342. package/src/schema/projects/inputs/update-project.graphql +7 -0
  343. package/src/schema/projects/mutations/create-project.graphql +3 -0
  344. package/src/schema/projects/mutations/delete-project.graphql +3 -0
  345. package/src/schema/projects/mutations/update-project.graphql +3 -0
  346. package/src/schema/projects/queries/get-projects.graphql +11 -0
  347. package/src/schema/projects/types/project-page.graphql +5 -0
  348. package/src/schema/projects/types/project-searchable-field.graphql +5 -0
  349. package/src/schema/projects/types/project-sortable-field.graphql +5 -0
  350. package/src/schema/projects/types/project.graphql +17 -0
  351. package/src/schema/resource-tags/inputs/add-resource-tag.graphql +5 -0
  352. package/src/schema/resource-tags/inputs/query-resource-tags.graphql +4 -0
  353. package/src/schema/resource-tags/inputs/remove-resource-tag.graphql +4 -0
  354. package/src/schema/resource-tags/inputs/update-resource-tag.graphql +5 -0
  355. package/src/schema/resource-tags/types/resource-tag.graphql +11 -0
  356. package/src/schema/resources/inputs/create-resource.graphql +10 -0
  357. package/src/schema/resources/inputs/resource-sort.graphql +4 -0
  358. package/src/schema/resources/inputs/update-resource.graphql +10 -0
  359. package/src/schema/resources/mutations/create-resource.graphql +3 -0
  360. package/src/schema/resources/mutations/delete-resource.graphql +3 -0
  361. package/src/schema/resources/mutations/update-resource.graphql +3 -0
  362. package/src/schema/resources/queries/get-resources.graphql +12 -0
  363. package/src/schema/resources/types/resource-page.graphql +5 -0
  364. package/src/schema/resources/types/resource-searchable-field.graphql +5 -0
  365. package/src/schema/resources/types/resource-sortable-field.graphql +6 -0
  366. package/src/schema/resources/types/resource.graphql +12 -0
  367. package/src/schema/role-groups/inputs/add-role-group.graphql +4 -0
  368. package/src/schema/role-groups/inputs/query-role-groups.graphql +4 -0
  369. package/src/schema/role-groups/inputs/remove-role-group.graphql +4 -0
  370. package/src/schema/role-groups/types/role-group.graphql +10 -0
  371. package/src/schema/role-tags/inputs/add-role-tag.graphql +5 -0
  372. package/src/schema/role-tags/inputs/query-role-tags.graphql +4 -0
  373. package/src/schema/role-tags/inputs/remove-role-tag.graphql +4 -0
  374. package/src/schema/role-tags/inputs/update-role-tag.graphql +5 -0
  375. package/src/schema/role-tags/types/role-tag.graphql +11 -0
  376. package/src/schema/roles/inputs/create-role.graphql +9 -0
  377. package/src/schema/roles/inputs/role-sort.graphql +4 -0
  378. package/src/schema/roles/inputs/update-role.graphql +9 -0
  379. package/src/schema/roles/mutations/create-role.graphql +3 -0
  380. package/src/schema/roles/mutations/delete-role.graphql +3 -0
  381. package/src/schema/roles/mutations/update-role.graphql +3 -0
  382. package/src/schema/roles/queries/get-roles.graphql +11 -0
  383. package/src/schema/roles/types/role-page.graphql +5 -0
  384. package/src/schema/roles/types/role-searchable-field.graphql +4 -0
  385. package/src/schema/roles/types/role-sortable-field.graphql +3 -0
  386. package/src/schema/roles/types/role.graphql +11 -0
  387. package/src/schema/root.graphql +6 -0
  388. package/src/schema/signing-keys/mutations/rotate-signing-key.graphql +8 -0
  389. package/src/schema/signing-keys/queries/get-signing-keys.graphql +7 -0
  390. package/src/schema/signing-keys/types/signing-key.graphql +26 -0
  391. package/src/schema/tags/inputs/create-tag.graphql +5 -0
  392. package/src/schema/tags/inputs/tag-sort.graphql +4 -0
  393. package/src/schema/tags/inputs/update-tag.graphql +5 -0
  394. package/src/schema/tags/mutations/create-tag.graphql +3 -0
  395. package/src/schema/tags/mutations/delete-tag.graphql +3 -0
  396. package/src/schema/tags/mutations/update-tag.graphql +3 -0
  397. package/src/schema/tags/queries/get-tags.graphql +10 -0
  398. package/src/schema/tags/types/tag-page.graphql +5 -0
  399. package/src/schema/tags/types/tag-searchable-field.graphql +3 -0
  400. package/src/schema/tags/types/tag-sortable-field.graphql +6 -0
  401. package/src/schema/tags/types/tag.graphql +9 -0
  402. package/src/schema/user-authentication-method/inputs/create-user-authentication-method.graphql +8 -0
  403. package/src/schema/user-authentication-method/inputs/delete-user-authentication-method.graphql +3 -0
  404. package/src/schema/user-authentication-method/inputs/get-user-authentication-methods.graphql +4 -0
  405. package/src/schema/user-authentication-method/inputs/update-user-authentication-method.graphql +7 -0
  406. package/src/schema/user-authentication-method/types/user-authentication-email-provider-action.graphql +5 -0
  407. package/src/schema/user-authentication-method/types/user-authentication-method-provider.graphql +5 -0
  408. package/src/schema/user-authentication-method/types/user-authentication-method.graphql +14 -0
  409. package/src/schema/user-roles/inputs/add-user-role.graphql +4 -0
  410. package/src/schema/user-roles/inputs/query-user-roles.graphql +4 -0
  411. package/src/schema/user-roles/inputs/remove-user-role.graphql +4 -0
  412. package/src/schema/user-roles/types/user-role.graphql +10 -0
  413. package/src/schema/user-sessions/inputs/create-user-session.graphql +9 -0
  414. package/src/schema/user-sessions/inputs/delete-user-session.graphql +3 -0
  415. package/src/schema/user-sessions/inputs/get-user-sessions.graphql +13 -0
  416. package/src/schema/user-sessions/inputs/update-user-session.graphql +6 -0
  417. package/src/schema/user-sessions/inputs/user-session-sort.graphql +4 -0
  418. package/src/schema/user-sessions/types/user-session-page.graphql +5 -0
  419. package/src/schema/user-sessions/types/user-session-searchable-field.graphql +6 -0
  420. package/src/schema/user-sessions/types/user-session-sortable-field.graphql +3 -0
  421. package/src/schema/user-sessions/types/user-session.graphql +16 -0
  422. package/src/schema/user-tags/inputs/add-user-tag.graphql +5 -0
  423. package/src/schema/user-tags/inputs/query-user-tags.graphql +4 -0
  424. package/src/schema/user-tags/inputs/remove-user-tag.graphql +4 -0
  425. package/src/schema/user-tags/inputs/update-user-tag.graphql +5 -0
  426. package/src/schema/user-tags/types/user-tag.graphql +11 -0
  427. package/src/schema/users/inputs/create-user.graphql +9 -0
  428. package/src/schema/users/inputs/update-user.graphql +9 -0
  429. package/src/schema/users/inputs/upload-user-picture.graphql +7 -0
  430. package/src/schema/users/inputs/user-sort.graphql +4 -0
  431. package/src/schema/users/mutations/create-user.graphql +3 -0
  432. package/src/schema/users/mutations/delete-user.graphql +3 -0
  433. package/src/schema/users/mutations/update-user.graphql +3 -0
  434. package/src/schema/users/mutations/upload-user-picture.graphql +3 -0
  435. package/src/schema/users/queries/get-users.graphql +11 -0
  436. package/src/schema/users/types/upload-user-picture-result.graphql +4 -0
  437. package/src/schema/users/types/user-data-export.graphql +55 -0
  438. package/src/schema/users/types/user-page.graphql +5 -0
  439. package/src/schema/users/types/user-searchable-field.graphql +3 -0
  440. package/src/schema/users/types/user-sortable-field.graphql +3 -0
  441. package/src/schema/users/types/user.graphql +13 -0
@@ -0,0 +1,50 @@
1
+ query GetOrganizationMembers(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $search: String
6
+ $sort: OrganizationMemberSortInput
7
+ $status: OrganizationInvitationStatus
8
+ ) {
9
+ organizationMembers(
10
+ scope: $scope
11
+ page: $page
12
+ limit: $limit
13
+ search: $search
14
+ sort: $sort
15
+ status: $status
16
+ ) {
17
+ members {
18
+ id
19
+ name
20
+ email
21
+ type
22
+ role {
23
+ id
24
+ name
25
+ description
26
+ }
27
+ status
28
+ user {
29
+ id
30
+ name
31
+ }
32
+ invitation {
33
+ id
34
+ email
35
+ status
36
+ expiresAt
37
+ invitedAt
38
+ createdAt
39
+ token
40
+ inviter {
41
+ id
42
+ name
43
+ }
44
+ }
45
+ createdAt
46
+ }
47
+ totalCount
48
+ hasNextPage
49
+ }
50
+ }
@@ -0,0 +1,24 @@
1
+ mutation RemoveOrganizationMember($userId: ID!, $input: RemoveOrganizationMemberInput!) {
2
+ removeOrganizationMember(userId: $userId, input: $input) {
3
+ id
4
+ name
5
+ email
6
+ type
7
+ role {
8
+ id
9
+ name
10
+ description
11
+ }
12
+ status
13
+ user {
14
+ id
15
+ name
16
+ }
17
+ invitation {
18
+ id
19
+ email
20
+ status
21
+ }
22
+ createdAt
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ mutation UpdateOrganizationMember($userId: ID!, $input: UpdateOrganizationMemberInput!) {
2
+ updateOrganizationMember(userId: $userId, input: $input) {
3
+ id
4
+ name
5
+ email
6
+ type
7
+ role {
8
+ id
9
+ name
10
+ description
11
+ }
12
+ status
13
+ user {
14
+ id
15
+ name
16
+ }
17
+ invitation {
18
+ id
19
+ email
20
+ status
21
+ }
22
+ createdAt
23
+ }
24
+ }
@@ -0,0 +1,9 @@
1
+ mutation CreateOrganization($input: CreateOrganizationInput!) {
2
+ createOrganization(input: $input) {
3
+ id
4
+ name
5
+ slug
6
+ createdAt
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ mutation DeleteOrganization($id: ID!, $scope: Scope!) {
2
+ deleteOrganization(id: $id, scope: $scope) {
3
+ id
4
+ name
5
+ slug
6
+ createdAt
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,33 @@
1
+ query GetOrganizations(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $sort: OrganizationSortInput
6
+ $search: String
7
+ $ids: [ID!]
8
+ ) {
9
+ organizations(
10
+ scope: $scope
11
+ page: $page
12
+ limit: $limit
13
+ sort: $sort
14
+ search: $search
15
+ ids: $ids
16
+ ) {
17
+ organizations {
18
+ id
19
+ name
20
+ slug
21
+ createdAt
22
+ updatedAt
23
+ tags {
24
+ id
25
+ name
26
+ color
27
+ isPrimary
28
+ }
29
+ }
30
+ totalCount
31
+ hasNextPage
32
+ }
33
+ }
@@ -0,0 +1,9 @@
1
+ mutation UpdateOrganization($id: ID!, $input: UpdateOrganizationInput!) {
2
+ updateOrganization(id: $id, input: $input) {
3
+ id
4
+ name
5
+ slug
6
+ createdAt
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,17 @@
1
+ mutation CreatePermission($input: CreatePermissionInput!) {
2
+ createPermission(input: $input) {
3
+ id
4
+ name
5
+ action
6
+ description
7
+ resourceId
8
+ resource {
9
+ id
10
+ name
11
+ slug
12
+ }
13
+ condition
14
+ createdAt
15
+ updatedAt
16
+ }
17
+ }
@@ -0,0 +1,12 @@
1
+ mutation DeletePermission($id: ID!, $scope: Scope!) {
2
+ deletePermission(id: $id, scope: $scope) {
3
+ id
4
+ name
5
+ action
6
+ description
7
+ resourceId
8
+ condition
9
+ createdAt
10
+ updatedAt
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ query GetPermissions(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $sort: PermissionSortInput
6
+ $search: String
7
+ $ids: [ID!]
8
+ $tagIds: [ID!]
9
+ ) {
10
+ permissions(
11
+ scope: $scope
12
+ page: $page
13
+ limit: $limit
14
+ sort: $sort
15
+ search: $search
16
+ ids: $ids
17
+ tagIds: $tagIds
18
+ ) {
19
+ permissions {
20
+ id
21
+ name
22
+ action
23
+ description
24
+ resourceId
25
+ resource {
26
+ id
27
+ name
28
+ slug
29
+ }
30
+ condition
31
+ tags {
32
+ id
33
+ name
34
+ color
35
+ isPrimary
36
+ }
37
+ createdAt
38
+ updatedAt
39
+ }
40
+ totalCount
41
+ hasNextPage
42
+ }
43
+ }
@@ -0,0 +1,17 @@
1
+ mutation UpdatePermission($id: ID!, $input: UpdatePermissionInput!) {
2
+ updatePermission(id: $id, input: $input) {
3
+ id
4
+ name
5
+ action
6
+ description
7
+ resourceId
8
+ resource {
9
+ id
10
+ name
11
+ slug
12
+ }
13
+ condition
14
+ createdAt
15
+ updatedAt
16
+ }
17
+ }
@@ -0,0 +1,13 @@
1
+ mutation CreateProjectApp($input: CreateProjectAppInput!) {
2
+ createProjectApp(input: $input) {
3
+ id
4
+ clientId
5
+ clientSecret
6
+ name
7
+ redirectUris
8
+ enabledProviders
9
+ allowSignUp
10
+ signUpRoleId
11
+ createdAt
12
+ }
13
+ }
@@ -0,0 +1,11 @@
1
+ mutation DeleteProjectApp($id: ID!, $scope: Scope!) {
2
+ deleteProjectApp(id: $id, scope: $scope) {
3
+ id
4
+ name
5
+ redirectUris
6
+ scopes
7
+ createdAt
8
+ updatedAt
9
+ deletedAt
10
+ }
11
+ }
@@ -0,0 +1,50 @@
1
+ query GetProjectApps(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $search: String
6
+ $sort: ProjectAppSortInput
7
+ $ids: [ID!]
8
+ $tagIds: [ID!]
9
+ ) {
10
+ projectApps(
11
+ scope: $scope
12
+ page: $page
13
+ limit: $limit
14
+ search: $search
15
+ sort: $sort
16
+ ids: $ids
17
+ tagIds: $tagIds
18
+ ) {
19
+ projectApps {
20
+ id
21
+ projectId
22
+ clientId
23
+ name
24
+ redirectUris
25
+ scopes
26
+ enabledProviders
27
+ allowSignUp
28
+ signUpRoleId
29
+ signUpRole {
30
+ id
31
+ name
32
+ }
33
+ createdAt
34
+ updatedAt
35
+ deletedAt
36
+ project {
37
+ id
38
+ name
39
+ }
40
+ tags {
41
+ id
42
+ name
43
+ color
44
+ isPrimary
45
+ }
46
+ }
47
+ totalCount
48
+ hasNextPage
49
+ }
50
+ }
@@ -0,0 +1,20 @@
1
+ mutation UpdateProjectApp($id: ID!, $input: UpdateProjectAppInput!) {
2
+ updateProjectApp(id: $id, input: $input) {
3
+ id
4
+ projectId
5
+ clientId
6
+ name
7
+ redirectUris
8
+ scopes
9
+ enabledProviders
10
+ allowSignUp
11
+ signUpRoleId
12
+ createdAt
13
+ updatedAt
14
+ deletedAt
15
+ project {
16
+ id
17
+ name
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,10 @@
1
+ mutation CreateProject($input: CreateProjectInput!) {
2
+ createProject(input: $input) {
3
+ id
4
+ name
5
+ slug
6
+ description
7
+ createdAt
8
+ updatedAt
9
+ }
10
+ }
@@ -0,0 +1,10 @@
1
+ mutation DeleteProject($id: ID!, $scope: Scope!) {
2
+ deleteProject(id: $id, scope: $scope) {
3
+ id
4
+ name
5
+ slug
6
+ description
7
+ createdAt
8
+ updatedAt
9
+ }
10
+ }
@@ -0,0 +1,21 @@
1
+ query GetProjectAppFormData($scope: Scope!, $projectId: ID!) {
2
+ projects(scope: $scope, ids: [$projectId], limit: 1) {
3
+ projects {
4
+ id
5
+ roles {
6
+ id
7
+ name
8
+ }
9
+ permissions {
10
+ id
11
+ name
12
+ description
13
+ action
14
+ resource {
15
+ id
16
+ slug
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,48 @@
1
+ query GetProjects(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $sort: ProjectSortInput
6
+ $search: String
7
+ $ids: [ID!]
8
+ $tagIds: [ID!]
9
+ ) {
10
+ projects(
11
+ scope: $scope
12
+ page: $page
13
+ limit: $limit
14
+ sort: $sort
15
+ search: $search
16
+ ids: $ids
17
+ tagIds: $tagIds
18
+ ) {
19
+ projects {
20
+ id
21
+ name
22
+ slug
23
+ description
24
+ createdAt
25
+ updatedAt
26
+ organizationTags {
27
+ id
28
+ name
29
+ color
30
+ isPrimary
31
+ }
32
+ accountTags {
33
+ id
34
+ name
35
+ color
36
+ isPrimary
37
+ }
38
+ tags {
39
+ id
40
+ name
41
+ color
42
+ isPrimary
43
+ }
44
+ }
45
+ totalCount
46
+ hasNextPage
47
+ }
48
+ }
@@ -0,0 +1,10 @@
1
+ mutation UpdateProject($id: ID!, $input: UpdateProjectInput!) {
2
+ updateProject(id: $id, input: $input) {
3
+ id
4
+ name
5
+ slug
6
+ description
7
+ createdAt
8
+ updatedAt
9
+ }
10
+ }
@@ -0,0 +1,12 @@
1
+ mutation CreateResource($input: CreateResourceInput!) {
2
+ createResource(input: $input) {
3
+ id
4
+ name
5
+ slug
6
+ description
7
+ actions
8
+ isActive
9
+ createdAt
10
+ updatedAt
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ mutation DeleteResource($id: ID!, $scope: Scope!) {
2
+ deleteResource(id: $id, scope: $scope) {
3
+ id
4
+ name
5
+ slug
6
+ description
7
+ actions
8
+ isActive
9
+ createdAt
10
+ updatedAt
11
+ }
12
+ }
@@ -0,0 +1,40 @@
1
+ query GetResources(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $sort: ResourceSortInput
6
+ $search: String
7
+ $ids: [ID!]
8
+ $tagIds: [ID!]
9
+ $isActive: Boolean
10
+ ) {
11
+ resources(
12
+ scope: $scope
13
+ page: $page
14
+ limit: $limit
15
+ sort: $sort
16
+ search: $search
17
+ ids: $ids
18
+ tagIds: $tagIds
19
+ isActive: $isActive
20
+ ) {
21
+ resources {
22
+ id
23
+ name
24
+ slug
25
+ description
26
+ actions
27
+ isActive
28
+ createdAt
29
+ updatedAt
30
+ tags {
31
+ id
32
+ name
33
+ color
34
+ isPrimary
35
+ }
36
+ }
37
+ totalCount
38
+ hasNextPage
39
+ }
40
+ }
@@ -0,0 +1,12 @@
1
+ mutation UpdateResource($id: ID!, $input: UpdateResourceInput!) {
2
+ updateResource(id: $id, input: $input) {
3
+ id
4
+ name
5
+ slug
6
+ description
7
+ actions
8
+ isActive
9
+ createdAt
10
+ updatedAt
11
+ }
12
+ }
@@ -0,0 +1,10 @@
1
+ mutation CreateRole($input: CreateRoleInput!) {
2
+ createRole(input: $input) {
3
+ id
4
+ name
5
+ description
6
+ metadata
7
+ createdAt
8
+ updatedAt
9
+ }
10
+ }
@@ -0,0 +1,9 @@
1
+ mutation DeleteRole($id: ID!, $scope: Scope!) {
2
+ deleteRole(id: $id, scope: $scope) {
3
+ id
4
+ name
5
+ description
6
+ createdAt
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,46 @@
1
+ query GetRoles(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $sort: RoleSortInput
6
+ $search: String
7
+ $ids: [ID!]
8
+ $tagIds: [ID!]
9
+ ) {
10
+ roles(
11
+ scope: $scope
12
+ page: $page
13
+ limit: $limit
14
+ sort: $sort
15
+ search: $search
16
+ ids: $ids
17
+ tagIds: $tagIds
18
+ ) {
19
+ roles {
20
+ id
21
+ name
22
+ description
23
+ metadata
24
+ createdAt
25
+ updatedAt
26
+ groups {
27
+ id
28
+ name
29
+ tags {
30
+ id
31
+ name
32
+ color
33
+ isPrimary
34
+ }
35
+ }
36
+ tags {
37
+ id
38
+ name
39
+ color
40
+ isPrimary
41
+ }
42
+ }
43
+ totalCount
44
+ hasNextPage
45
+ }
46
+ }
@@ -0,0 +1,10 @@
1
+ mutation UpdateRole($id: ID!, $input: UpdateRoleInput!) {
2
+ updateRole(id: $id, input: $input) {
3
+ id
4
+ name
5
+ description
6
+ metadata
7
+ createdAt
8
+ updatedAt
9
+ }
10
+ }
@@ -0,0 +1,11 @@
1
+ query GetSigningKeys($scope: Scope!) {
2
+ signingKeys(scope: $scope) {
3
+ id
4
+ kid
5
+ active
6
+ createdAt
7
+ updatedAt
8
+ rotatedAt
9
+ publicKeyPem
10
+ }
11
+ }
@@ -0,0 +1,10 @@
1
+ mutation RotateSigningKey($scope: Scope!) {
2
+ rotateSigningKey(scope: $scope) {
3
+ id
4
+ kid
5
+ active
6
+ createdAt
7
+ rotatedAt
8
+ publicKeyPem
9
+ }
10
+ }
@@ -0,0 +1,9 @@
1
+ mutation CreateTag($input: CreateTagInput!) {
2
+ createTag(input: $input) {
3
+ id
4
+ name
5
+ color
6
+ createdAt
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ mutation DeleteTag($id: ID!, $scope: Scope!) {
2
+ deleteTag(id: $id, scope: $scope) {
3
+ id
4
+ name
5
+ color
6
+ createdAt
7
+ updatedAt
8
+ }
9
+ }
@@ -0,0 +1,20 @@
1
+ query GetTags(
2
+ $scope: Scope!
3
+ $page: Int
4
+ $limit: Int
5
+ $sort: TagSortInput
6
+ $search: String
7
+ $ids: [ID!]
8
+ ) {
9
+ tags(scope: $scope, page: $page, limit: $limit, sort: $sort, search: $search, ids: $ids) {
10
+ tags {
11
+ id
12
+ name
13
+ color
14
+ createdAt
15
+ updatedAt
16
+ }
17
+ totalCount
18
+ hasNextPage
19
+ }
20
+ }