@constructive-io/react 0.6.2 → 0.6.3

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 (469) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +18 -18
  4. package/admin/hooks/invalidation.js +45 -45
  5. package/admin/hooks/mutation-keys.d.ts +36 -36
  6. package/admin/hooks/mutation-keys.js +22 -22
  7. package/admin/hooks/mutations/index.d.ts +9 -9
  8. package/admin/hooks/mutations/index.js +9 -9
  9. package/admin/hooks/queries/index.d.ts +6 -6
  10. package/admin/hooks/queries/index.js +6 -6
  11. package/admin/hooks/query-keys.d.ts +42 -42
  12. package/admin/hooks/query-keys.js +25 -25
  13. package/admin/orm/index.d.ts +6 -6
  14. package/admin/orm/index.js +6 -6
  15. package/admin/orm/input-types.d.ts +489 -667
  16. package/admin/orm/models/appAchievement.d.ts +1 -1
  17. package/admin/orm/models/appAdminGrant.d.ts +1 -1
  18. package/admin/orm/models/appGrant.d.ts +1 -1
  19. package/admin/orm/models/appLevel.d.ts +1 -1
  20. package/admin/orm/models/appLevelRequirement.d.ts +1 -1
  21. package/admin/orm/models/appLimit.d.ts +1 -1
  22. package/admin/orm/models/appLimitDefault.d.ts +1 -1
  23. package/admin/orm/models/appMembership.d.ts +1 -1
  24. package/admin/orm/models/appMembershipDefault.d.ts +1 -1
  25. package/admin/orm/models/appOwnerGrant.d.ts +1 -1
  26. package/admin/orm/models/appPermission.d.ts +1 -1
  27. package/admin/orm/models/appPermissionDefault.d.ts +1 -1
  28. package/admin/orm/models/appStep.d.ts +1 -1
  29. package/admin/orm/models/claimedInvite.d.ts +1 -1
  30. package/admin/orm/models/index.d.ts +3 -3
  31. package/admin/orm/models/index.js +7 -7
  32. package/admin/orm/models/invite.d.ts +1 -1
  33. package/admin/orm/models/membershipType.d.ts +1 -1
  34. package/admin/orm/models/orgAdminGrant.d.ts +1 -1
  35. package/admin/orm/models/orgChartEdge.d.ts +1 -1
  36. package/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  37. package/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  38. package/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  39. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  40. package/admin/orm/models/orgGrant.d.ts +1 -1
  41. package/admin/orm/models/orgInvite.d.ts +1 -1
  42. package/admin/orm/models/orgLimit.d.ts +1 -1
  43. package/admin/orm/models/orgLimitDefault.d.ts +1 -1
  44. package/admin/orm/models/orgMember.d.ts +1 -1
  45. package/admin/orm/models/orgMembership.d.ts +1 -1
  46. package/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  47. package/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  48. package/admin/orm/models/orgPermission.d.ts +1 -1
  49. package/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  50. package/admin/orm/query-builder.d.ts +6 -4
  51. package/admin/orm/query-builder.js +13 -5
  52. package/admin/orm/select-types.d.ts +4 -2
  53. package/admin/schema-types.d.ts +475 -983
  54. package/admin/types.d.ts +55 -29
  55. package/auth/hooks/index.d.ts +1 -1
  56. package/auth/hooks/index.js +1 -1
  57. package/auth/hooks/invalidation.d.ts +6 -6
  58. package/auth/hooks/invalidation.js +15 -15
  59. package/auth/hooks/mutation-keys.d.ts +12 -12
  60. package/auth/hooks/mutation-keys.js +8 -8
  61. package/auth/hooks/mutations/index.d.ts +3 -3
  62. package/auth/hooks/mutations/index.js +3 -3
  63. package/auth/hooks/queries/index.d.ts +2 -2
  64. package/auth/hooks/queries/index.js +2 -2
  65. package/auth/hooks/query-keys.d.ts +14 -14
  66. package/auth/hooks/query-keys.js +9 -9
  67. package/auth/orm/index.d.ts +2 -2
  68. package/auth/orm/index.js +2 -2
  69. package/auth/orm/input-types.d.ts +196 -162
  70. package/auth/orm/models/auditLog.d.ts +1 -1
  71. package/auth/orm/models/connectedAccount.d.ts +1 -1
  72. package/auth/orm/models/cryptoAddress.d.ts +1 -1
  73. package/auth/orm/models/email.d.ts +1 -1
  74. package/auth/orm/models/index.d.ts +1 -1
  75. package/auth/orm/models/index.js +3 -3
  76. package/auth/orm/models/phoneNumber.d.ts +1 -1
  77. package/auth/orm/models/roleType.d.ts +1 -1
  78. package/auth/orm/models/user.d.ts +1 -1
  79. package/auth/orm/query-builder.d.ts +6 -4
  80. package/auth/orm/query-builder.js +13 -5
  81. package/auth/orm/select-types.d.ts +4 -2
  82. package/auth/schema-types.d.ts +226 -270
  83. package/auth/types.d.ts +23 -4
  84. package/esm/admin/hooks/index.d.ts +1 -1
  85. package/esm/admin/hooks/index.js +1 -1
  86. package/esm/admin/hooks/invalidation.d.ts +18 -18
  87. package/esm/admin/hooks/invalidation.js +46 -46
  88. package/esm/admin/hooks/mutation-keys.d.ts +36 -36
  89. package/esm/admin/hooks/mutation-keys.js +21 -21
  90. package/esm/admin/hooks/mutations/index.d.ts +9 -9
  91. package/esm/admin/hooks/mutations/index.js +9 -9
  92. package/esm/admin/hooks/queries/index.d.ts +6 -6
  93. package/esm/admin/hooks/queries/index.js +6 -6
  94. package/esm/admin/hooks/query-keys.d.ts +42 -42
  95. package/esm/admin/hooks/query-keys.js +24 -24
  96. package/esm/admin/orm/index.d.ts +6 -6
  97. package/esm/admin/orm/index.js +6 -6
  98. package/esm/admin/orm/input-types.d.ts +489 -667
  99. package/esm/admin/orm/models/appAchievement.d.ts +1 -1
  100. package/esm/admin/orm/models/appAdminGrant.d.ts +1 -1
  101. package/esm/admin/orm/models/appGrant.d.ts +1 -1
  102. package/esm/admin/orm/models/appLevel.d.ts +1 -1
  103. package/esm/admin/orm/models/appLevelRequirement.d.ts +1 -1
  104. package/esm/admin/orm/models/appLimit.d.ts +1 -1
  105. package/esm/admin/orm/models/appLimitDefault.d.ts +1 -1
  106. package/esm/admin/orm/models/appMembership.d.ts +1 -1
  107. package/esm/admin/orm/models/appMembershipDefault.d.ts +1 -1
  108. package/esm/admin/orm/models/appOwnerGrant.d.ts +1 -1
  109. package/esm/admin/orm/models/appPermission.d.ts +1 -1
  110. package/esm/admin/orm/models/appPermissionDefault.d.ts +1 -1
  111. package/esm/admin/orm/models/appStep.d.ts +1 -1
  112. package/esm/admin/orm/models/claimedInvite.d.ts +1 -1
  113. package/esm/admin/orm/models/index.d.ts +3 -3
  114. package/esm/admin/orm/models/index.js +3 -3
  115. package/esm/admin/orm/models/invite.d.ts +1 -1
  116. package/esm/admin/orm/models/membershipType.d.ts +1 -1
  117. package/esm/admin/orm/models/orgAdminGrant.d.ts +1 -1
  118. package/esm/admin/orm/models/orgChartEdge.d.ts +1 -1
  119. package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
  120. package/esm/admin/orm/models/orgClaimedInvite.d.ts +1 -1
  121. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
  122. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  123. package/esm/admin/orm/models/orgGrant.d.ts +1 -1
  124. package/esm/admin/orm/models/orgInvite.d.ts +1 -1
  125. package/esm/admin/orm/models/orgLimit.d.ts +1 -1
  126. package/esm/admin/orm/models/orgLimitDefault.d.ts +1 -1
  127. package/esm/admin/orm/models/orgMember.d.ts +1 -1
  128. package/esm/admin/orm/models/orgMembership.d.ts +1 -1
  129. package/esm/admin/orm/models/orgMembershipDefault.d.ts +1 -1
  130. package/esm/admin/orm/models/orgOwnerGrant.d.ts +1 -1
  131. package/esm/admin/orm/models/orgPermission.d.ts +1 -1
  132. package/esm/admin/orm/models/orgPermissionDefault.d.ts +1 -1
  133. package/esm/admin/orm/query-builder.d.ts +6 -4
  134. package/esm/admin/orm/query-builder.js +13 -5
  135. package/esm/admin/orm/select-types.d.ts +4 -2
  136. package/esm/admin/schema-types.d.ts +475 -983
  137. package/esm/admin/types.d.ts +55 -29
  138. package/esm/auth/hooks/index.d.ts +1 -1
  139. package/esm/auth/hooks/index.js +1 -1
  140. package/esm/auth/hooks/invalidation.d.ts +6 -6
  141. package/esm/auth/hooks/invalidation.js +16 -16
  142. package/esm/auth/hooks/mutation-keys.d.ts +12 -12
  143. package/esm/auth/hooks/mutation-keys.js +7 -7
  144. package/esm/auth/hooks/mutations/index.d.ts +3 -3
  145. package/esm/auth/hooks/mutations/index.js +3 -3
  146. package/esm/auth/hooks/queries/index.d.ts +2 -2
  147. package/esm/auth/hooks/queries/index.js +2 -2
  148. package/esm/auth/hooks/query-keys.d.ts +14 -14
  149. package/esm/auth/hooks/query-keys.js +8 -8
  150. package/esm/auth/orm/index.d.ts +2 -2
  151. package/esm/auth/orm/index.js +2 -2
  152. package/esm/auth/orm/input-types.d.ts +196 -162
  153. package/esm/auth/orm/models/auditLog.d.ts +1 -1
  154. package/esm/auth/orm/models/connectedAccount.d.ts +1 -1
  155. package/esm/auth/orm/models/cryptoAddress.d.ts +1 -1
  156. package/esm/auth/orm/models/email.d.ts +1 -1
  157. package/esm/auth/orm/models/index.d.ts +1 -1
  158. package/esm/auth/orm/models/index.js +1 -1
  159. package/esm/auth/orm/models/phoneNumber.d.ts +1 -1
  160. package/esm/auth/orm/models/roleType.d.ts +1 -1
  161. package/esm/auth/orm/models/user.d.ts +1 -1
  162. package/esm/auth/orm/query-builder.d.ts +6 -4
  163. package/esm/auth/orm/query-builder.js +13 -5
  164. package/esm/auth/orm/select-types.d.ts +4 -2
  165. package/esm/auth/schema-types.d.ts +226 -270
  166. package/esm/auth/types.d.ts +23 -4
  167. package/esm/objects/orm/input-types.d.ts +40 -42
  168. package/esm/objects/orm/models/commit.d.ts +1 -1
  169. package/esm/objects/orm/models/getAllRecord.d.ts +1 -1
  170. package/esm/objects/orm/models/object.d.ts +1 -1
  171. package/esm/objects/orm/models/ref.d.ts +1 -1
  172. package/esm/objects/orm/models/store.d.ts +1 -1
  173. package/esm/objects/orm/query-builder.d.ts +6 -4
  174. package/esm/objects/orm/query-builder.js +13 -5
  175. package/esm/objects/orm/select-types.d.ts +4 -2
  176. package/esm/objects/schema-types.d.ts +37 -67
  177. package/esm/objects/types.d.ts +13 -0
  178. package/esm/public/hooks/index.d.ts +1 -1
  179. package/esm/public/hooks/index.js +1 -1
  180. package/esm/public/hooks/invalidation.d.ts +34 -40
  181. package/esm/public/hooks/invalidation.js +80 -96
  182. package/esm/public/hooks/mutation-keys.d.ts +70 -82
  183. package/esm/public/hooks/mutation-keys.js +43 -50
  184. package/esm/public/hooks/mutations/index.d.ts +17 -20
  185. package/esm/public/hooks/mutations/index.js +17 -20
  186. package/esm/public/hooks/queries/index.d.ts +12 -14
  187. package/esm/public/hooks/queries/index.js +12 -14
  188. package/esm/public/hooks/query-keys.d.ts +80 -94
  189. package/esm/public/hooks/query-keys.js +46 -54
  190. package/esm/public/orm/index.d.ts +17 -19
  191. package/esm/public/orm/index.js +12 -14
  192. package/esm/public/orm/input-types.d.ts +2426 -2179
  193. package/esm/public/orm/input-types.js +0 -3
  194. package/esm/public/orm/models/api.d.ts +1 -1
  195. package/esm/public/orm/models/apiModule.d.ts +1 -1
  196. package/esm/public/orm/models/apiSchema.d.ts +1 -1
  197. package/esm/public/orm/models/app.d.ts +1 -1
  198. package/esm/public/orm/models/appAchievement.d.ts +1 -1
  199. package/esm/public/orm/models/appAdminGrant.d.ts +1 -1
  200. package/esm/public/orm/models/appGrant.d.ts +1 -1
  201. package/esm/public/orm/models/appLevel.d.ts +1 -1
  202. package/esm/public/orm/models/appLevelRequirement.d.ts +1 -1
  203. package/esm/public/orm/models/appLimit.d.ts +1 -1
  204. package/esm/public/orm/models/appLimitDefault.d.ts +1 -1
  205. package/esm/public/orm/models/appMembership.d.ts +1 -1
  206. package/esm/public/orm/models/appMembershipDefault.d.ts +1 -1
  207. package/esm/public/orm/models/appOwnerGrant.d.ts +1 -1
  208. package/esm/public/orm/models/appPermission.d.ts +1 -1
  209. package/esm/public/orm/models/appPermissionDefault.d.ts +1 -1
  210. package/esm/public/orm/models/appStep.d.ts +1 -1
  211. package/esm/public/orm/models/astMigration.d.ts +1 -1
  212. package/esm/public/orm/models/auditLog.d.ts +1 -1
  213. package/esm/public/orm/models/checkConstraint.d.ts +1 -1
  214. package/esm/public/orm/models/claimedInvite.d.ts +1 -1
  215. package/esm/public/orm/models/commit.d.ts +1 -1
  216. package/esm/public/orm/models/connectedAccount.d.ts +1 -1
  217. package/esm/public/orm/models/connectedAccountsModule.d.ts +1 -1
  218. package/esm/public/orm/models/cryptoAddress.d.ts +1 -1
  219. package/esm/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  220. package/esm/public/orm/models/cryptoAuthModule.d.ts +1 -1
  221. package/esm/public/orm/models/database.d.ts +1 -1
  222. package/esm/public/orm/models/databaseProvisionModule.d.ts +1 -1
  223. package/esm/public/orm/models/defaultIdsModule.d.ts +1 -1
  224. package/esm/public/orm/models/defaultPrivilege.d.ts +1 -1
  225. package/esm/public/orm/models/denormalizedTableField.d.ts +1 -1
  226. package/esm/public/orm/models/domain.d.ts +1 -1
  227. package/esm/public/orm/models/email.d.ts +1 -1
  228. package/esm/public/orm/models/emailsModule.d.ts +1 -1
  229. package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  230. package/esm/public/orm/models/field.d.ts +1 -1
  231. package/esm/public/orm/models/fieldModule.d.ts +1 -1
  232. package/esm/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  233. package/esm/public/orm/models/fullTextSearch.d.ts +1 -1
  234. package/esm/public/orm/models/getAllRecord.d.ts +1 -1
  235. package/esm/public/orm/models/hierarchyModule.d.ts +1 -1
  236. package/esm/public/orm/models/index.d.ts +6 -7
  237. package/esm/public/orm/models/index.js +6 -7
  238. package/esm/public/orm/models/indexModel.d.ts +1 -1
  239. package/esm/public/orm/models/invite.d.ts +1 -1
  240. package/esm/public/orm/models/invitesModule.d.ts +1 -1
  241. package/esm/public/orm/models/levelsModule.d.ts +1 -1
  242. package/esm/public/orm/models/limitsModule.d.ts +1 -1
  243. package/esm/public/orm/models/membershipType.d.ts +1 -1
  244. package/esm/public/orm/models/membershipTypesModule.d.ts +1 -1
  245. package/esm/public/orm/models/membershipsModule.d.ts +1 -1
  246. package/esm/public/orm/models/nodeTypeRegistry.d.ts +1 -1
  247. package/esm/public/orm/models/object.d.ts +1 -1
  248. package/esm/public/orm/models/orgAdminGrant.d.ts +1 -1
  249. package/esm/public/orm/models/orgChartEdge.d.ts +1 -1
  250. package/esm/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  251. package/esm/public/orm/models/orgClaimedInvite.d.ts +1 -1
  252. package/esm/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  253. package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  254. package/esm/public/orm/models/orgGrant.d.ts +1 -1
  255. package/esm/public/orm/models/orgInvite.d.ts +1 -1
  256. package/esm/public/orm/models/orgLimit.d.ts +1 -1
  257. package/esm/public/orm/models/orgLimitDefault.d.ts +1 -1
  258. package/esm/public/orm/models/orgMember.d.ts +1 -1
  259. package/esm/public/orm/models/orgMembership.d.ts +1 -1
  260. package/esm/public/orm/models/orgMembershipDefault.d.ts +1 -1
  261. package/esm/public/orm/models/orgOwnerGrant.d.ts +1 -1
  262. package/esm/public/orm/models/orgPermission.d.ts +1 -1
  263. package/esm/public/orm/models/orgPermissionDefault.d.ts +1 -1
  264. package/esm/public/orm/models/permissionsModule.d.ts +1 -1
  265. package/esm/public/orm/models/phoneNumber.d.ts +1 -1
  266. package/esm/public/orm/models/phoneNumbersModule.d.ts +1 -1
  267. package/esm/public/orm/models/policy.d.ts +1 -1
  268. package/esm/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  269. package/esm/public/orm/models/profilesModule.d.ts +1 -1
  270. package/esm/public/orm/models/ref.d.ts +1 -1
  271. package/esm/public/orm/models/relationProvision.d.ts +1 -1
  272. package/esm/public/orm/models/rlsModule.d.ts +1 -1
  273. package/esm/public/orm/models/roleType.d.ts +1 -1
  274. package/esm/public/orm/models/schema.d.ts +1 -1
  275. package/esm/public/orm/models/schemaGrant.d.ts +1 -1
  276. package/esm/public/orm/models/secretsModule.d.ts +1 -1
  277. package/esm/public/orm/models/secureTableProvision.d.ts +1 -1
  278. package/esm/public/orm/models/sessionsModule.d.ts +1 -1
  279. package/esm/public/orm/models/site.d.ts +1 -1
  280. package/esm/public/orm/models/siteMetadatum.d.ts +1 -1
  281. package/esm/public/orm/models/siteModule.d.ts +1 -1
  282. package/esm/public/orm/models/siteTheme.d.ts +1 -1
  283. package/esm/public/orm/models/sqlMigration.d.ts +1 -1
  284. package/esm/public/orm/models/store.d.ts +1 -1
  285. package/esm/public/orm/models/table.d.ts +1 -1
  286. package/esm/public/orm/models/tableGrant.d.ts +1 -1
  287. package/esm/public/orm/models/tableTemplateModule.d.ts +1 -1
  288. package/esm/public/orm/models/trigger.d.ts +1 -1
  289. package/esm/public/orm/models/triggerFunction.d.ts +1 -1
  290. package/esm/public/orm/models/uniqueConstraint.d.ts +1 -1
  291. package/esm/public/orm/models/user.d.ts +1 -1
  292. package/esm/public/orm/models/userAuthModule.d.ts +1 -1
  293. package/esm/public/orm/models/usersModule.d.ts +1 -1
  294. package/esm/public/orm/models/uuidModule.d.ts +1 -1
  295. package/esm/public/orm/models/view.d.ts +1 -1
  296. package/esm/public/orm/models/viewGrant.d.ts +1 -1
  297. package/esm/public/orm/models/viewRule.d.ts +1 -1
  298. package/esm/public/orm/models/viewTable.d.ts +1 -1
  299. package/esm/public/orm/mutation/index.d.ts +9 -9
  300. package/esm/public/orm/mutation/index.js +12 -12
  301. package/esm/public/orm/query-builder.d.ts +6 -4
  302. package/esm/public/orm/query-builder.js +13 -5
  303. package/esm/public/orm/select-types.d.ts +4 -2
  304. package/esm/public/schema-types.d.ts +6895 -6506
  305. package/esm/public/types.d.ts +369 -63
  306. package/objects/orm/input-types.d.ts +40 -42
  307. package/objects/orm/models/commit.d.ts +1 -1
  308. package/objects/orm/models/getAllRecord.d.ts +1 -1
  309. package/objects/orm/models/object.d.ts +1 -1
  310. package/objects/orm/models/ref.d.ts +1 -1
  311. package/objects/orm/models/store.d.ts +1 -1
  312. package/objects/orm/query-builder.d.ts +6 -4
  313. package/objects/orm/query-builder.js +13 -5
  314. package/objects/orm/select-types.d.ts +4 -2
  315. package/objects/schema-types.d.ts +37 -67
  316. package/objects/types.d.ts +13 -0
  317. package/package.json +3 -3
  318. package/public/hooks/index.d.ts +1 -1
  319. package/public/hooks/index.js +1 -1
  320. package/public/hooks/invalidation.d.ts +34 -40
  321. package/public/hooks/invalidation.js +79 -95
  322. package/public/hooks/mutation-keys.d.ts +70 -82
  323. package/public/hooks/mutation-keys.js +46 -53
  324. package/public/hooks/mutations/index.d.ts +17 -20
  325. package/public/hooks/mutations/index.js +17 -20
  326. package/public/hooks/queries/index.d.ts +12 -14
  327. package/public/hooks/queries/index.js +12 -14
  328. package/public/hooks/query-keys.d.ts +80 -94
  329. package/public/hooks/query-keys.js +49 -57
  330. package/public/orm/index.d.ts +17 -19
  331. package/public/orm/index.js +12 -14
  332. package/public/orm/input-types.d.ts +2426 -2179
  333. package/public/orm/input-types.js +0 -3
  334. package/public/orm/models/api.d.ts +1 -1
  335. package/public/orm/models/apiModule.d.ts +1 -1
  336. package/public/orm/models/apiSchema.d.ts +1 -1
  337. package/public/orm/models/app.d.ts +1 -1
  338. package/public/orm/models/appAchievement.d.ts +1 -1
  339. package/public/orm/models/appAdminGrant.d.ts +1 -1
  340. package/public/orm/models/appGrant.d.ts +1 -1
  341. package/public/orm/models/appLevel.d.ts +1 -1
  342. package/public/orm/models/appLevelRequirement.d.ts +1 -1
  343. package/public/orm/models/appLimit.d.ts +1 -1
  344. package/public/orm/models/appLimitDefault.d.ts +1 -1
  345. package/public/orm/models/appMembership.d.ts +1 -1
  346. package/public/orm/models/appMembershipDefault.d.ts +1 -1
  347. package/public/orm/models/appOwnerGrant.d.ts +1 -1
  348. package/public/orm/models/appPermission.d.ts +1 -1
  349. package/public/orm/models/appPermissionDefault.d.ts +1 -1
  350. package/public/orm/models/appStep.d.ts +1 -1
  351. package/public/orm/models/astMigration.d.ts +1 -1
  352. package/public/orm/models/auditLog.d.ts +1 -1
  353. package/public/orm/models/checkConstraint.d.ts +1 -1
  354. package/public/orm/models/claimedInvite.d.ts +1 -1
  355. package/public/orm/models/commit.d.ts +1 -1
  356. package/public/orm/models/connectedAccount.d.ts +1 -1
  357. package/public/orm/models/connectedAccountsModule.d.ts +1 -1
  358. package/public/orm/models/cryptoAddress.d.ts +1 -1
  359. package/public/orm/models/cryptoAddressesModule.d.ts +1 -1
  360. package/public/orm/models/cryptoAuthModule.d.ts +1 -1
  361. package/public/orm/models/database.d.ts +1 -1
  362. package/public/orm/models/databaseProvisionModule.d.ts +1 -1
  363. package/public/orm/models/defaultIdsModule.d.ts +1 -1
  364. package/public/orm/models/defaultPrivilege.d.ts +1 -1
  365. package/public/orm/models/denormalizedTableField.d.ts +1 -1
  366. package/public/orm/models/domain.d.ts +1 -1
  367. package/public/orm/models/email.d.ts +1 -1
  368. package/public/orm/models/emailsModule.d.ts +1 -1
  369. package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
  370. package/public/orm/models/field.d.ts +1 -1
  371. package/public/orm/models/fieldModule.d.ts +1 -1
  372. package/public/orm/models/foreignKeyConstraint.d.ts +1 -1
  373. package/public/orm/models/fullTextSearch.d.ts +1 -1
  374. package/public/orm/models/getAllRecord.d.ts +1 -1
  375. package/public/orm/models/hierarchyModule.d.ts +1 -1
  376. package/public/orm/models/index.d.ts +6 -7
  377. package/public/orm/models/index.js +15 -17
  378. package/public/orm/models/indexModel.d.ts +1 -1
  379. package/public/orm/models/invite.d.ts +1 -1
  380. package/public/orm/models/invitesModule.d.ts +1 -1
  381. package/public/orm/models/levelsModule.d.ts +1 -1
  382. package/public/orm/models/limitsModule.d.ts +1 -1
  383. package/public/orm/models/membershipType.d.ts +1 -1
  384. package/public/orm/models/membershipTypesModule.d.ts +1 -1
  385. package/public/orm/models/membershipsModule.d.ts +1 -1
  386. package/public/orm/models/nodeTypeRegistry.d.ts +1 -1
  387. package/public/orm/models/object.d.ts +1 -1
  388. package/public/orm/models/orgAdminGrant.d.ts +1 -1
  389. package/public/orm/models/orgChartEdge.d.ts +1 -1
  390. package/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
  391. package/public/orm/models/orgClaimedInvite.d.ts +1 -1
  392. package/public/orm/models/orgGetManagersRecord.d.ts +1 -1
  393. package/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
  394. package/public/orm/models/orgGrant.d.ts +1 -1
  395. package/public/orm/models/orgInvite.d.ts +1 -1
  396. package/public/orm/models/orgLimit.d.ts +1 -1
  397. package/public/orm/models/orgLimitDefault.d.ts +1 -1
  398. package/public/orm/models/orgMember.d.ts +1 -1
  399. package/public/orm/models/orgMembership.d.ts +1 -1
  400. package/public/orm/models/orgMembershipDefault.d.ts +1 -1
  401. package/public/orm/models/orgOwnerGrant.d.ts +1 -1
  402. package/public/orm/models/orgPermission.d.ts +1 -1
  403. package/public/orm/models/orgPermissionDefault.d.ts +1 -1
  404. package/public/orm/models/permissionsModule.d.ts +1 -1
  405. package/public/orm/models/phoneNumber.d.ts +1 -1
  406. package/public/orm/models/phoneNumbersModule.d.ts +1 -1
  407. package/public/orm/models/policy.d.ts +1 -1
  408. package/public/orm/models/primaryKeyConstraint.d.ts +1 -1
  409. package/public/orm/models/profilesModule.d.ts +1 -1
  410. package/public/orm/models/ref.d.ts +1 -1
  411. package/public/orm/models/relationProvision.d.ts +1 -1
  412. package/public/orm/models/rlsModule.d.ts +1 -1
  413. package/public/orm/models/roleType.d.ts +1 -1
  414. package/public/orm/models/schema.d.ts +1 -1
  415. package/public/orm/models/schemaGrant.d.ts +1 -1
  416. package/public/orm/models/secretsModule.d.ts +1 -1
  417. package/public/orm/models/secureTableProvision.d.ts +1 -1
  418. package/public/orm/models/sessionsModule.d.ts +1 -1
  419. package/public/orm/models/site.d.ts +1 -1
  420. package/public/orm/models/siteMetadatum.d.ts +1 -1
  421. package/public/orm/models/siteModule.d.ts +1 -1
  422. package/public/orm/models/siteTheme.d.ts +1 -1
  423. package/public/orm/models/sqlMigration.d.ts +1 -1
  424. package/public/orm/models/store.d.ts +1 -1
  425. package/public/orm/models/table.d.ts +1 -1
  426. package/public/orm/models/tableGrant.d.ts +1 -1
  427. package/public/orm/models/tableTemplateModule.d.ts +1 -1
  428. package/public/orm/models/trigger.d.ts +1 -1
  429. package/public/orm/models/triggerFunction.d.ts +1 -1
  430. package/public/orm/models/uniqueConstraint.d.ts +1 -1
  431. package/public/orm/models/user.d.ts +1 -1
  432. package/public/orm/models/userAuthModule.d.ts +1 -1
  433. package/public/orm/models/usersModule.d.ts +1 -1
  434. package/public/orm/models/uuidModule.d.ts +1 -1
  435. package/public/orm/models/view.d.ts +1 -1
  436. package/public/orm/models/viewGrant.d.ts +1 -1
  437. package/public/orm/models/viewRule.d.ts +1 -1
  438. package/public/orm/models/viewTable.d.ts +1 -1
  439. package/public/orm/mutation/index.d.ts +9 -9
  440. package/public/orm/mutation/index.js +12 -12
  441. package/public/orm/query-builder.d.ts +6 -4
  442. package/public/orm/query-builder.js +13 -5
  443. package/public/orm/select-types.d.ts +4 -2
  444. package/public/schema-types.d.ts +6895 -6506
  445. package/public/types.d.ts +369 -63
  446. package/esm/public/hooks/mutations/useCreateTableModuleMutation.d.ts +0 -34
  447. package/esm/public/hooks/mutations/useCreateTableModuleMutation.js +0 -31
  448. package/esm/public/hooks/mutations/useDeleteTableModuleMutation.d.ts +0 -38
  449. package/esm/public/hooks/mutations/useDeleteTableModuleMutation.js +0 -36
  450. package/esm/public/hooks/mutations/useUpdateTableModuleMutation.d.ts +0 -40
  451. package/esm/public/hooks/mutations/useUpdateTableModuleMutation.js +0 -37
  452. package/esm/public/hooks/queries/useTableModuleQuery.d.ts +0 -65
  453. package/esm/public/hooks/queries/useTableModuleQuery.js +0 -47
  454. package/esm/public/hooks/queries/useTableModulesQuery.d.ts +0 -69
  455. package/esm/public/hooks/queries/useTableModulesQuery.js +0 -32
  456. package/esm/public/orm/models/tableModule.d.ts +0 -56
  457. package/esm/public/orm/models/tableModule.js +0 -94
  458. package/public/hooks/mutations/useCreateTableModuleMutation.d.ts +0 -34
  459. package/public/hooks/mutations/useCreateTableModuleMutation.js +0 -34
  460. package/public/hooks/mutations/useDeleteTableModuleMutation.d.ts +0 -38
  461. package/public/hooks/mutations/useDeleteTableModuleMutation.js +0 -39
  462. package/public/hooks/mutations/useUpdateTableModuleMutation.d.ts +0 -40
  463. package/public/hooks/mutations/useUpdateTableModuleMutation.js +0 -40
  464. package/public/hooks/queries/useTableModuleQuery.d.ts +0 -65
  465. package/public/hooks/queries/useTableModuleQuery.js +0 -53
  466. package/public/hooks/queries/useTableModulesQuery.d.ts +0 -69
  467. package/public/hooks/queries/useTableModulesQuery.js +0 -38
  468. package/public/orm/models/tableModule.d.ts +0 -56
  469. package/public/orm/models/tableModule.js +0 -98
@@ -162,6 +162,13 @@ export interface InternetAddressFilter {
162
162
  export interface FullTextFilter {
163
163
  matches?: string;
164
164
  }
165
+ export interface VectorFilter {
166
+ isNull?: boolean;
167
+ equalTo?: number[];
168
+ notEqualTo?: number[];
169
+ distinctFrom?: number[];
170
+ notDistinctFrom?: number[];
171
+ }
165
172
  export interface StringListFilter {
166
173
  isNull?: boolean;
167
174
  equalTo?: string[];
@@ -243,6 +250,10 @@ export interface AppPermission {
243
250
  bitstr?: string | null;
244
251
  /** Human-readable description of what this permission allows */
245
252
  description?: string | null;
253
+ /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
254
+ descriptionTrgmSimilarity?: number | null;
255
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
256
+ searchScore?: number | null;
246
257
  }
247
258
  /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */
248
259
  export interface OrgPermission {
@@ -255,6 +266,10 @@ export interface OrgPermission {
255
266
  bitstr?: string | null;
256
267
  /** Human-readable description of what this permission allows */
257
268
  description?: string | null;
269
+ /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
270
+ descriptionTrgmSimilarity?: number | null;
271
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
272
+ searchScore?: number | null;
258
273
  }
259
274
  /** Defines the specific requirements that must be met to achieve a level */
260
275
  export interface AppLevelRequirement {
@@ -271,6 +286,10 @@ export interface AppLevelRequirement {
271
286
  priority?: number | null;
272
287
  createdAt?: string | null;
273
288
  updatedAt?: string | null;
289
+ /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
290
+ descriptionTrgmSimilarity?: number | null;
291
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
292
+ searchScore?: number | null;
274
293
  }
275
294
  /** Simplified view of active members in an entity, used for listing who belongs to an org or group */
276
295
  export interface OrgMember {
@@ -360,17 +379,6 @@ export interface OrgLimitDefault {
360
379
  /** Default maximum usage allowed for this limit */
361
380
  max?: number | null;
362
381
  }
363
- /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
364
- export interface MembershipType {
365
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
366
- id: number;
367
- /** Human-readable name of the membership type */
368
- name?: string | null;
369
- /** Description of what this membership type represents */
370
- description?: string | null;
371
- /** Short prefix used to namespace tables and functions for this membership scope */
372
- prefix?: string | null;
373
- }
374
382
  /** Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table */
375
383
  export interface OrgChartEdgeGrant {
376
384
  id: string;
@@ -390,6 +398,27 @@ export interface OrgChartEdgeGrant {
390
398
  positionLevel?: number | null;
391
399
  /** Timestamp when this grant or revocation was recorded */
392
400
  createdAt?: string | null;
401
+ /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */
402
+ positionTitleTrgmSimilarity?: number | null;
403
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
404
+ searchScore?: number | null;
405
+ }
406
+ /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
407
+ export interface MembershipType {
408
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
409
+ id: number;
410
+ /** Human-readable name of the membership type */
411
+ name?: string | null;
412
+ /** Description of what this membership type represents */
413
+ description?: string | null;
414
+ /** Short prefix used to namespace tables and functions for this membership scope */
415
+ prefix?: string | null;
416
+ /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
417
+ descriptionTrgmSimilarity?: number | null;
418
+ /** TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. */
419
+ prefixTrgmSimilarity?: number | null;
420
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
421
+ searchScore?: number | null;
393
422
  }
394
423
  /** Tracks per-actor usage counts against configurable maximum limits */
395
424
  export interface AppLimit {
@@ -518,6 +547,10 @@ export interface OrgChartEdge {
518
547
  positionTitle?: string | null;
519
548
  /** Numeric seniority level for this position (higher = more senior) */
520
549
  positionLevel?: number | null;
550
+ /** TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. */
551
+ positionTitleTrgmSimilarity?: number | null;
552
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
553
+ searchScore?: number | null;
521
554
  }
522
555
  /** Default membership settings per entity, controlling initial approval and verification state for new members */
523
556
  export interface OrgMembershipDefault {
@@ -535,44 +568,6 @@ export interface OrgMembershipDefault {
535
568
  /** When a group is created, whether to auto-add existing org members as group members */
536
569
  createGroupsCascadeMembers?: boolean | null;
537
570
  }
538
- /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
539
- export interface Invite {
540
- id: string;
541
- /** Email address of the invited recipient */
542
- email?: ConstructiveInternalTypeEmail | null;
543
- /** User ID of the member who sent this invitation */
544
- senderId?: string | null;
545
- /** Unique random hex token used to redeem this invitation */
546
- inviteToken?: string | null;
547
- /** Whether this invitation is still valid and can be redeemed */
548
- inviteValid?: boolean | null;
549
- /** Maximum number of times this invite can be claimed; -1 means unlimited */
550
- inviteLimit?: number | null;
551
- /** Running count of how many times this invite has been claimed */
552
- inviteCount?: number | null;
553
- /** Whether this invite can be claimed by multiple recipients */
554
- multiple?: boolean | null;
555
- /** Optional JSON payload of additional invite metadata */
556
- data?: Record<string, unknown> | null;
557
- /** Timestamp after which this invitation can no longer be redeemed */
558
- expiresAt?: string | null;
559
- createdAt?: string | null;
560
- updatedAt?: string | null;
561
- }
562
- /** Defines available levels that users can achieve by completing requirements */
563
- export interface AppLevel {
564
- id: string;
565
- /** Unique name of the level */
566
- name?: string | null;
567
- /** Human-readable description of what this level represents */
568
- description?: string | null;
569
- /** Badge or icon image associated with this level */
570
- image?: ConstructiveInternalTypeImage | null;
571
- /** Optional owner (actor) who created or manages this level */
572
- ownerId?: string | null;
573
- createdAt?: string | null;
574
- updatedAt?: string | null;
575
- }
576
571
  /** Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status */
577
572
  export interface AppMembership {
578
573
  id: string;
@@ -632,6 +627,52 @@ export interface OrgMembership {
632
627
  profileId?: string | null;
633
628
  }
634
629
  /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
630
+ export interface Invite {
631
+ id: string;
632
+ /** Email address of the invited recipient */
633
+ email?: ConstructiveInternalTypeEmail | null;
634
+ /** User ID of the member who sent this invitation */
635
+ senderId?: string | null;
636
+ /** Unique random hex token used to redeem this invitation */
637
+ inviteToken?: string | null;
638
+ /** Whether this invitation is still valid and can be redeemed */
639
+ inviteValid?: boolean | null;
640
+ /** Maximum number of times this invite can be claimed; -1 means unlimited */
641
+ inviteLimit?: number | null;
642
+ /** Running count of how many times this invite has been claimed */
643
+ inviteCount?: number | null;
644
+ /** Whether this invite can be claimed by multiple recipients */
645
+ multiple?: boolean | null;
646
+ /** Optional JSON payload of additional invite metadata */
647
+ data?: Record<string, unknown> | null;
648
+ /** Timestamp after which this invitation can no longer be redeemed */
649
+ expiresAt?: string | null;
650
+ createdAt?: string | null;
651
+ updatedAt?: string | null;
652
+ /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */
653
+ inviteTokenTrgmSimilarity?: number | null;
654
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
655
+ searchScore?: number | null;
656
+ }
657
+ /** Defines available levels that users can achieve by completing requirements */
658
+ export interface AppLevel {
659
+ id: string;
660
+ /** Unique name of the level */
661
+ name?: string | null;
662
+ /** Human-readable description of what this level represents */
663
+ description?: string | null;
664
+ /** Badge or icon image associated with this level */
665
+ image?: ConstructiveInternalTypeImage | null;
666
+ /** Optional owner (actor) who created or manages this level */
667
+ ownerId?: string | null;
668
+ createdAt?: string | null;
669
+ updatedAt?: string | null;
670
+ /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
671
+ descriptionTrgmSimilarity?: number | null;
672
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
673
+ searchScore?: number | null;
674
+ }
675
+ /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
635
676
  export interface OrgInvite {
636
677
  id: string;
637
678
  /** Email address of the invited recipient */
@@ -657,6 +698,10 @@ export interface OrgInvite {
657
698
  createdAt?: string | null;
658
699
  updatedAt?: string | null;
659
700
  entityId?: string | null;
701
+ /** TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. */
702
+ inviteTokenTrgmSimilarity?: number | null;
703
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
704
+ searchScore?: number | null;
660
705
  }
661
706
  export interface ConnectionResult<T> {
662
707
  nodes: T[];
@@ -697,10 +742,10 @@ export interface AppLimitDefaultRelations {
697
742
  }
698
743
  export interface OrgLimitDefaultRelations {
699
744
  }
700
- export interface MembershipTypeRelations {
701
- }
702
745
  export interface OrgChartEdgeGrantRelations {
703
746
  }
747
+ export interface MembershipTypeRelations {
748
+ }
704
749
  export interface AppLimitRelations {
705
750
  }
706
751
  export interface AppAchievementRelations {
@@ -723,14 +768,14 @@ export interface OrgChartEdgeRelations {
723
768
  }
724
769
  export interface OrgMembershipDefaultRelations {
725
770
  }
726
- export interface InviteRelations {
727
- }
728
- export interface AppLevelRelations {
729
- }
730
771
  export interface AppMembershipRelations {
731
772
  }
732
773
  export interface OrgMembershipRelations {
733
774
  }
775
+ export interface InviteRelations {
776
+ }
777
+ export interface AppLevelRelations {
778
+ }
734
779
  export interface OrgInviteRelations {
735
780
  }
736
781
  export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & OrgGetManagersRecordRelations;
@@ -747,8 +792,8 @@ export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations;
747
792
  export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations;
748
793
  export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations;
749
794
  export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
750
- export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
751
795
  export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations;
796
+ export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
752
797
  export type AppLimitWithRelations = AppLimit & AppLimitRelations;
753
798
  export type AppAchievementWithRelations = AppAchievement & AppAchievementRelations;
754
799
  export type AppStepWithRelations = AppStep & AppStepRelations;
@@ -760,10 +805,10 @@ export type OrgClaimedInviteWithRelations = OrgClaimedInvite & OrgClaimedInviteR
760
805
  export type OrgGrantWithRelations = OrgGrant & OrgGrantRelations;
761
806
  export type OrgChartEdgeWithRelations = OrgChartEdge & OrgChartEdgeRelations;
762
807
  export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations;
763
- export type InviteWithRelations = Invite & InviteRelations;
764
- export type AppLevelWithRelations = AppLevel & AppLevelRelations;
765
808
  export type AppMembershipWithRelations = AppMembership & AppMembershipRelations;
766
809
  export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations;
810
+ export type InviteWithRelations = Invite & InviteRelations;
811
+ export type AppLevelWithRelations = AppLevel & AppLevelRelations;
767
812
  export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
768
813
  export type OrgGetManagersRecordSelect = {
769
814
  userId?: boolean;
@@ -779,6 +824,8 @@ export type AppPermissionSelect = {
779
824
  bitnum?: boolean;
780
825
  bitstr?: boolean;
781
826
  description?: boolean;
827
+ descriptionTrgmSimilarity?: boolean;
828
+ searchScore?: boolean;
782
829
  };
783
830
  export type OrgPermissionSelect = {
784
831
  id?: boolean;
@@ -786,6 +833,8 @@ export type OrgPermissionSelect = {
786
833
  bitnum?: boolean;
787
834
  bitstr?: boolean;
788
835
  description?: boolean;
836
+ descriptionTrgmSimilarity?: boolean;
837
+ searchScore?: boolean;
789
838
  };
790
839
  export type AppLevelRequirementSelect = {
791
840
  id?: boolean;
@@ -796,6 +845,8 @@ export type AppLevelRequirementSelect = {
796
845
  priority?: boolean;
797
846
  createdAt?: boolean;
798
847
  updatedAt?: boolean;
848
+ descriptionTrgmSimilarity?: boolean;
849
+ searchScore?: boolean;
799
850
  };
800
851
  export type OrgMemberSelect = {
801
852
  id?: boolean;
@@ -856,12 +907,6 @@ export type OrgLimitDefaultSelect = {
856
907
  name?: boolean;
857
908
  max?: boolean;
858
909
  };
859
- export type MembershipTypeSelect = {
860
- id?: boolean;
861
- name?: boolean;
862
- description?: boolean;
863
- prefix?: boolean;
864
- };
865
910
  export type OrgChartEdgeGrantSelect = {
866
911
  id?: boolean;
867
912
  entityId?: boolean;
@@ -872,6 +917,17 @@ export type OrgChartEdgeGrantSelect = {
872
917
  positionTitle?: boolean;
873
918
  positionLevel?: boolean;
874
919
  createdAt?: boolean;
920
+ positionTitleTrgmSimilarity?: boolean;
921
+ searchScore?: boolean;
922
+ };
923
+ export type MembershipTypeSelect = {
924
+ id?: boolean;
925
+ name?: boolean;
926
+ description?: boolean;
927
+ prefix?: boolean;
928
+ descriptionTrgmSimilarity?: boolean;
929
+ prefixTrgmSimilarity?: boolean;
930
+ searchScore?: boolean;
875
931
  };
876
932
  export type AppLimitSelect = {
877
933
  id?: boolean;
@@ -958,6 +1014,8 @@ export type OrgChartEdgeSelect = {
958
1014
  parentId?: boolean;
959
1015
  positionTitle?: boolean;
960
1016
  positionLevel?: boolean;
1017
+ positionTitleTrgmSimilarity?: boolean;
1018
+ searchScore?: boolean;
961
1019
  };
962
1020
  export type OrgMembershipDefaultSelect = {
963
1021
  id?: boolean;
@@ -970,29 +1028,6 @@ export type OrgMembershipDefaultSelect = {
970
1028
  deleteMemberCascadeGroups?: boolean;
971
1029
  createGroupsCascadeMembers?: boolean;
972
1030
  };
973
- export type InviteSelect = {
974
- id?: boolean;
975
- email?: boolean;
976
- senderId?: boolean;
977
- inviteToken?: boolean;
978
- inviteValid?: boolean;
979
- inviteLimit?: boolean;
980
- inviteCount?: boolean;
981
- multiple?: boolean;
982
- data?: boolean;
983
- expiresAt?: boolean;
984
- createdAt?: boolean;
985
- updatedAt?: boolean;
986
- };
987
- export type AppLevelSelect = {
988
- id?: boolean;
989
- name?: boolean;
990
- description?: boolean;
991
- image?: boolean;
992
- ownerId?: boolean;
993
- createdAt?: boolean;
994
- updatedAt?: boolean;
995
- };
996
1031
  export type AppMembershipSelect = {
997
1032
  id?: boolean;
998
1033
  createdAt?: boolean;
@@ -1029,6 +1064,33 @@ export type OrgMembershipSelect = {
1029
1064
  entityId?: boolean;
1030
1065
  profileId?: boolean;
1031
1066
  };
1067
+ export type InviteSelect = {
1068
+ id?: boolean;
1069
+ email?: boolean;
1070
+ senderId?: boolean;
1071
+ inviteToken?: boolean;
1072
+ inviteValid?: boolean;
1073
+ inviteLimit?: boolean;
1074
+ inviteCount?: boolean;
1075
+ multiple?: boolean;
1076
+ data?: boolean;
1077
+ expiresAt?: boolean;
1078
+ createdAt?: boolean;
1079
+ updatedAt?: boolean;
1080
+ inviteTokenTrgmSimilarity?: boolean;
1081
+ searchScore?: boolean;
1082
+ };
1083
+ export type AppLevelSelect = {
1084
+ id?: boolean;
1085
+ name?: boolean;
1086
+ description?: boolean;
1087
+ image?: boolean;
1088
+ ownerId?: boolean;
1089
+ createdAt?: boolean;
1090
+ updatedAt?: boolean;
1091
+ descriptionTrgmSimilarity?: boolean;
1092
+ searchScore?: boolean;
1093
+ };
1032
1094
  export type OrgInviteSelect = {
1033
1095
  id?: boolean;
1034
1096
  email?: boolean;
@@ -1044,6 +1106,8 @@ export type OrgInviteSelect = {
1044
1106
  createdAt?: boolean;
1045
1107
  updatedAt?: boolean;
1046
1108
  entityId?: boolean;
1109
+ inviteTokenTrgmSimilarity?: boolean;
1110
+ searchScore?: boolean;
1047
1111
  };
1048
1112
  export interface OrgGetManagersRecordFilter {
1049
1113
  userId?: UUIDFilter;
@@ -1065,6 +1129,8 @@ export interface AppPermissionFilter {
1065
1129
  bitnum?: IntFilter;
1066
1130
  bitstr?: BitStringFilter;
1067
1131
  description?: StringFilter;
1132
+ descriptionTrgmSimilarity?: FloatFilter;
1133
+ searchScore?: FloatFilter;
1068
1134
  and?: AppPermissionFilter[];
1069
1135
  or?: AppPermissionFilter[];
1070
1136
  not?: AppPermissionFilter;
@@ -1075,6 +1141,8 @@ export interface OrgPermissionFilter {
1075
1141
  bitnum?: IntFilter;
1076
1142
  bitstr?: BitStringFilter;
1077
1143
  description?: StringFilter;
1144
+ descriptionTrgmSimilarity?: FloatFilter;
1145
+ searchScore?: FloatFilter;
1078
1146
  and?: OrgPermissionFilter[];
1079
1147
  or?: OrgPermissionFilter[];
1080
1148
  not?: OrgPermissionFilter;
@@ -1088,6 +1156,8 @@ export interface AppLevelRequirementFilter {
1088
1156
  priority?: IntFilter;
1089
1157
  createdAt?: DatetimeFilter;
1090
1158
  updatedAt?: DatetimeFilter;
1159
+ descriptionTrgmSimilarity?: FloatFilter;
1160
+ searchScore?: FloatFilter;
1091
1161
  and?: AppLevelRequirementFilter[];
1092
1162
  or?: AppLevelRequirementFilter[];
1093
1163
  not?: AppLevelRequirementFilter;
@@ -1178,15 +1248,6 @@ export interface OrgLimitDefaultFilter {
1178
1248
  or?: OrgLimitDefaultFilter[];
1179
1249
  not?: OrgLimitDefaultFilter;
1180
1250
  }
1181
- export interface MembershipTypeFilter {
1182
- id?: IntFilter;
1183
- name?: StringFilter;
1184
- description?: StringFilter;
1185
- prefix?: StringFilter;
1186
- and?: MembershipTypeFilter[];
1187
- or?: MembershipTypeFilter[];
1188
- not?: MembershipTypeFilter;
1189
- }
1190
1251
  export interface OrgChartEdgeGrantFilter {
1191
1252
  id?: UUIDFilter;
1192
1253
  entityId?: UUIDFilter;
@@ -1197,10 +1258,24 @@ export interface OrgChartEdgeGrantFilter {
1197
1258
  positionTitle?: StringFilter;
1198
1259
  positionLevel?: IntFilter;
1199
1260
  createdAt?: DatetimeFilter;
1261
+ positionTitleTrgmSimilarity?: FloatFilter;
1262
+ searchScore?: FloatFilter;
1200
1263
  and?: OrgChartEdgeGrantFilter[];
1201
1264
  or?: OrgChartEdgeGrantFilter[];
1202
1265
  not?: OrgChartEdgeGrantFilter;
1203
1266
  }
1267
+ export interface MembershipTypeFilter {
1268
+ id?: IntFilter;
1269
+ name?: StringFilter;
1270
+ description?: StringFilter;
1271
+ prefix?: StringFilter;
1272
+ descriptionTrgmSimilarity?: FloatFilter;
1273
+ prefixTrgmSimilarity?: FloatFilter;
1274
+ searchScore?: FloatFilter;
1275
+ and?: MembershipTypeFilter[];
1276
+ or?: MembershipTypeFilter[];
1277
+ not?: MembershipTypeFilter;
1278
+ }
1204
1279
  export interface AppLimitFilter {
1205
1280
  id?: UUIDFilter;
1206
1281
  name?: StringFilter;
@@ -1313,6 +1388,8 @@ export interface OrgChartEdgeFilter {
1313
1388
  parentId?: UUIDFilter;
1314
1389
  positionTitle?: StringFilter;
1315
1390
  positionLevel?: IntFilter;
1391
+ positionTitleTrgmSimilarity?: FloatFilter;
1392
+ searchScore?: FloatFilter;
1316
1393
  and?: OrgChartEdgeFilter[];
1317
1394
  or?: OrgChartEdgeFilter[];
1318
1395
  not?: OrgChartEdgeFilter;
@@ -1331,35 +1408,6 @@ export interface OrgMembershipDefaultFilter {
1331
1408
  or?: OrgMembershipDefaultFilter[];
1332
1409
  not?: OrgMembershipDefaultFilter;
1333
1410
  }
1334
- export interface InviteFilter {
1335
- id?: UUIDFilter;
1336
- email?: StringFilter;
1337
- senderId?: UUIDFilter;
1338
- inviteToken?: StringFilter;
1339
- inviteValid?: BooleanFilter;
1340
- inviteLimit?: IntFilter;
1341
- inviteCount?: IntFilter;
1342
- multiple?: BooleanFilter;
1343
- data?: JSONFilter;
1344
- expiresAt?: DatetimeFilter;
1345
- createdAt?: DatetimeFilter;
1346
- updatedAt?: DatetimeFilter;
1347
- and?: InviteFilter[];
1348
- or?: InviteFilter[];
1349
- not?: InviteFilter;
1350
- }
1351
- export interface AppLevelFilter {
1352
- id?: UUIDFilter;
1353
- name?: StringFilter;
1354
- description?: StringFilter;
1355
- image?: StringFilter;
1356
- ownerId?: UUIDFilter;
1357
- createdAt?: DatetimeFilter;
1358
- updatedAt?: DatetimeFilter;
1359
- and?: AppLevelFilter[];
1360
- or?: AppLevelFilter[];
1361
- not?: AppLevelFilter;
1362
- }
1363
1411
  export interface AppMembershipFilter {
1364
1412
  id?: UUIDFilter;
1365
1413
  createdAt?: DatetimeFilter;
@@ -1402,6 +1450,39 @@ export interface OrgMembershipFilter {
1402
1450
  or?: OrgMembershipFilter[];
1403
1451
  not?: OrgMembershipFilter;
1404
1452
  }
1453
+ export interface InviteFilter {
1454
+ id?: UUIDFilter;
1455
+ email?: StringFilter;
1456
+ senderId?: UUIDFilter;
1457
+ inviteToken?: StringFilter;
1458
+ inviteValid?: BooleanFilter;
1459
+ inviteLimit?: IntFilter;
1460
+ inviteCount?: IntFilter;
1461
+ multiple?: BooleanFilter;
1462
+ data?: JSONFilter;
1463
+ expiresAt?: DatetimeFilter;
1464
+ createdAt?: DatetimeFilter;
1465
+ updatedAt?: DatetimeFilter;
1466
+ inviteTokenTrgmSimilarity?: FloatFilter;
1467
+ searchScore?: FloatFilter;
1468
+ and?: InviteFilter[];
1469
+ or?: InviteFilter[];
1470
+ not?: InviteFilter;
1471
+ }
1472
+ export interface AppLevelFilter {
1473
+ id?: UUIDFilter;
1474
+ name?: StringFilter;
1475
+ description?: StringFilter;
1476
+ image?: StringFilter;
1477
+ ownerId?: UUIDFilter;
1478
+ createdAt?: DatetimeFilter;
1479
+ updatedAt?: DatetimeFilter;
1480
+ descriptionTrgmSimilarity?: FloatFilter;
1481
+ searchScore?: FloatFilter;
1482
+ and?: AppLevelFilter[];
1483
+ or?: AppLevelFilter[];
1484
+ not?: AppLevelFilter;
1485
+ }
1405
1486
  export interface OrgInviteFilter {
1406
1487
  id?: UUIDFilter;
1407
1488
  email?: StringFilter;
@@ -1417,295 +1498,17 @@ export interface OrgInviteFilter {
1417
1498
  createdAt?: DatetimeFilter;
1418
1499
  updatedAt?: DatetimeFilter;
1419
1500
  entityId?: UUIDFilter;
1501
+ inviteTokenTrgmSimilarity?: FloatFilter;
1502
+ searchScore?: FloatFilter;
1420
1503
  and?: OrgInviteFilter[];
1421
1504
  or?: OrgInviteFilter[];
1422
1505
  not?: OrgInviteFilter;
1423
1506
  }
1424
- export interface OrgGetManagersRecordCondition {
1425
- userId?: string | null;
1426
- depth?: number | null;
1427
- }
1428
- export interface OrgGetSubordinatesRecordCondition {
1429
- userId?: string | null;
1430
- depth?: number | null;
1431
- }
1432
- export interface AppPermissionCondition {
1433
- id?: string | null;
1434
- name?: string | null;
1435
- bitnum?: number | null;
1436
- bitstr?: string | null;
1437
- description?: string | null;
1438
- }
1439
- export interface OrgPermissionCondition {
1440
- id?: string | null;
1441
- name?: string | null;
1442
- bitnum?: number | null;
1443
- bitstr?: string | null;
1444
- description?: string | null;
1445
- }
1446
- export interface AppLevelRequirementCondition {
1447
- id?: string | null;
1448
- name?: string | null;
1449
- level?: string | null;
1450
- description?: string | null;
1451
- requiredCount?: number | null;
1452
- priority?: number | null;
1453
- createdAt?: string | null;
1454
- updatedAt?: string | null;
1455
- }
1456
- export interface OrgMemberCondition {
1457
- id?: string | null;
1458
- isAdmin?: boolean | null;
1459
- actorId?: string | null;
1460
- entityId?: string | null;
1461
- }
1462
- export interface AppPermissionDefaultCondition {
1463
- id?: string | null;
1464
- permissions?: string | null;
1465
- }
1466
- export interface OrgPermissionDefaultCondition {
1467
- id?: string | null;
1468
- permissions?: string | null;
1469
- entityId?: string | null;
1470
- }
1471
- export interface AppAdminGrantCondition {
1472
- id?: string | null;
1473
- isGrant?: boolean | null;
1474
- actorId?: string | null;
1475
- grantorId?: string | null;
1476
- createdAt?: string | null;
1477
- updatedAt?: string | null;
1478
- }
1479
- export interface AppOwnerGrantCondition {
1480
- id?: string | null;
1481
- isGrant?: boolean | null;
1482
- actorId?: string | null;
1483
- grantorId?: string | null;
1484
- createdAt?: string | null;
1485
- updatedAt?: string | null;
1486
- }
1487
- export interface OrgAdminGrantCondition {
1488
- id?: string | null;
1489
- isGrant?: boolean | null;
1490
- actorId?: string | null;
1491
- entityId?: string | null;
1492
- grantorId?: string | null;
1493
- createdAt?: string | null;
1494
- updatedAt?: string | null;
1495
- }
1496
- export interface OrgOwnerGrantCondition {
1497
- id?: string | null;
1498
- isGrant?: boolean | null;
1499
- actorId?: string | null;
1500
- entityId?: string | null;
1501
- grantorId?: string | null;
1502
- createdAt?: string | null;
1503
- updatedAt?: string | null;
1504
- }
1505
- export interface AppLimitDefaultCondition {
1506
- id?: string | null;
1507
- name?: string | null;
1508
- max?: number | null;
1509
- }
1510
- export interface OrgLimitDefaultCondition {
1511
- id?: string | null;
1512
- name?: string | null;
1513
- max?: number | null;
1514
- }
1515
- export interface MembershipTypeCondition {
1516
- id?: number | null;
1517
- name?: string | null;
1518
- description?: string | null;
1519
- prefix?: string | null;
1520
- }
1521
- export interface OrgChartEdgeGrantCondition {
1522
- id?: string | null;
1523
- entityId?: string | null;
1524
- childId?: string | null;
1525
- parentId?: string | null;
1526
- grantorId?: string | null;
1527
- isGrant?: boolean | null;
1528
- positionTitle?: string | null;
1529
- positionLevel?: number | null;
1530
- createdAt?: string | null;
1531
- }
1532
- export interface AppLimitCondition {
1533
- id?: string | null;
1534
- name?: string | null;
1535
- actorId?: string | null;
1536
- num?: number | null;
1537
- max?: number | null;
1538
- }
1539
- export interface AppAchievementCondition {
1540
- id?: string | null;
1541
- actorId?: string | null;
1542
- name?: string | null;
1543
- count?: number | null;
1544
- createdAt?: string | null;
1545
- updatedAt?: string | null;
1546
- }
1547
- export interface AppStepCondition {
1548
- id?: string | null;
1549
- actorId?: string | null;
1550
- name?: string | null;
1551
- count?: number | null;
1552
- createdAt?: string | null;
1553
- updatedAt?: string | null;
1554
- }
1555
- export interface ClaimedInviteCondition {
1556
- id?: string | null;
1557
- data?: unknown | null;
1558
- senderId?: string | null;
1559
- receiverId?: string | null;
1560
- createdAt?: string | null;
1561
- updatedAt?: string | null;
1562
- }
1563
- export interface AppGrantCondition {
1564
- id?: string | null;
1565
- permissions?: string | null;
1566
- isGrant?: boolean | null;
1567
- actorId?: string | null;
1568
- grantorId?: string | null;
1569
- createdAt?: string | null;
1570
- updatedAt?: string | null;
1571
- }
1572
- export interface AppMembershipDefaultCondition {
1573
- id?: string | null;
1574
- createdAt?: string | null;
1575
- updatedAt?: string | null;
1576
- createdBy?: string | null;
1577
- updatedBy?: string | null;
1578
- isApproved?: boolean | null;
1579
- isVerified?: boolean | null;
1580
- }
1581
- export interface OrgLimitCondition {
1582
- id?: string | null;
1583
- name?: string | null;
1584
- actorId?: string | null;
1585
- num?: number | null;
1586
- max?: number | null;
1587
- entityId?: string | null;
1588
- }
1589
- export interface OrgClaimedInviteCondition {
1590
- id?: string | null;
1591
- data?: unknown | null;
1592
- senderId?: string | null;
1593
- receiverId?: string | null;
1594
- createdAt?: string | null;
1595
- updatedAt?: string | null;
1596
- entityId?: string | null;
1597
- }
1598
- export interface OrgGrantCondition {
1599
- id?: string | null;
1600
- permissions?: string | null;
1601
- isGrant?: boolean | null;
1602
- actorId?: string | null;
1603
- entityId?: string | null;
1604
- grantorId?: string | null;
1605
- createdAt?: string | null;
1606
- updatedAt?: string | null;
1607
- }
1608
- export interface OrgChartEdgeCondition {
1609
- id?: string | null;
1610
- createdAt?: string | null;
1611
- updatedAt?: string | null;
1612
- entityId?: string | null;
1613
- childId?: string | null;
1614
- parentId?: string | null;
1615
- positionTitle?: string | null;
1616
- positionLevel?: number | null;
1617
- }
1618
- export interface OrgMembershipDefaultCondition {
1619
- id?: string | null;
1620
- createdAt?: string | null;
1621
- updatedAt?: string | null;
1622
- createdBy?: string | null;
1623
- updatedBy?: string | null;
1624
- isApproved?: boolean | null;
1625
- entityId?: string | null;
1626
- deleteMemberCascadeGroups?: boolean | null;
1627
- createGroupsCascadeMembers?: boolean | null;
1628
- }
1629
- export interface InviteCondition {
1630
- id?: string | null;
1631
- email?: unknown | null;
1632
- senderId?: string | null;
1633
- inviteToken?: string | null;
1634
- inviteValid?: boolean | null;
1635
- inviteLimit?: number | null;
1636
- inviteCount?: number | null;
1637
- multiple?: boolean | null;
1638
- data?: unknown | null;
1639
- expiresAt?: string | null;
1640
- createdAt?: string | null;
1641
- updatedAt?: string | null;
1642
- }
1643
- export interface AppLevelCondition {
1644
- id?: string | null;
1645
- name?: string | null;
1646
- description?: string | null;
1647
- image?: unknown | null;
1648
- ownerId?: string | null;
1649
- createdAt?: string | null;
1650
- updatedAt?: string | null;
1651
- }
1652
- export interface AppMembershipCondition {
1653
- id?: string | null;
1654
- createdAt?: string | null;
1655
- updatedAt?: string | null;
1656
- createdBy?: string | null;
1657
- updatedBy?: string | null;
1658
- isApproved?: boolean | null;
1659
- isBanned?: boolean | null;
1660
- isDisabled?: boolean | null;
1661
- isVerified?: boolean | null;
1662
- isActive?: boolean | null;
1663
- isOwner?: boolean | null;
1664
- isAdmin?: boolean | null;
1665
- permissions?: string | null;
1666
- granted?: string | null;
1667
- actorId?: string | null;
1668
- profileId?: string | null;
1669
- }
1670
- export interface OrgMembershipCondition {
1671
- id?: string | null;
1672
- createdAt?: string | null;
1673
- updatedAt?: string | null;
1674
- createdBy?: string | null;
1675
- updatedBy?: string | null;
1676
- isApproved?: boolean | null;
1677
- isBanned?: boolean | null;
1678
- isDisabled?: boolean | null;
1679
- isActive?: boolean | null;
1680
- isOwner?: boolean | null;
1681
- isAdmin?: boolean | null;
1682
- permissions?: string | null;
1683
- granted?: string | null;
1684
- actorId?: string | null;
1685
- entityId?: string | null;
1686
- profileId?: string | null;
1687
- }
1688
- export interface OrgInviteCondition {
1689
- id?: string | null;
1690
- email?: unknown | null;
1691
- senderId?: string | null;
1692
- receiverId?: string | null;
1693
- inviteToken?: string | null;
1694
- inviteValid?: boolean | null;
1695
- inviteLimit?: number | null;
1696
- inviteCount?: number | null;
1697
- multiple?: boolean | null;
1698
- data?: unknown | null;
1699
- expiresAt?: string | null;
1700
- createdAt?: string | null;
1701
- updatedAt?: string | null;
1702
- entityId?: string | null;
1703
- }
1704
1507
  export type OrgGetManagersRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
1705
1508
  export type OrgGetSubordinatesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
1706
- export type AppPermissionOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
1707
- export type OrgPermissionOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
1708
- export type AppLevelRequirementOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'REQUIRED_COUNT_ASC' | 'REQUIRED_COUNT_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1509
+ export type AppPermissionOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1510
+ export type OrgPermissionOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1511
+ export type AppLevelRequirementOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LEVEL_ASC' | 'LEVEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'REQUIRED_COUNT_ASC' | 'REQUIRED_COUNT_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1709
1512
  export type OrgMemberOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1710
1513
  export type AppPermissionDefaultOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC';
1711
1514
  export type OrgPermissionDefaultOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
@@ -1715,8 +1518,8 @@ export type OrgAdminGrantOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NAT
1715
1518
  export type OrgOwnerGrantOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1716
1519
  export type AppLimitDefaultOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
1717
1520
  export type OrgLimitDefaultOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
1718
- export type MembershipTypeOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
1719
- export type OrgChartEdgeGrantOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
1521
+ export type OrgChartEdgeGrantOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1522
+ export type MembershipTypeOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'PREFIX_TRGM_SIMILARITY_ASC' | 'PREFIX_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1720
1523
  export type AppLimitOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC';
1721
1524
  export type AppAchievementOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1722
1525
  export type AppStepOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'COUNT_ASC' | 'COUNT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -1726,13 +1529,13 @@ export type AppMembershipDefaultOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'
1726
1529
  export type OrgLimitOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'NUM_ASC' | 'NUM_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1727
1530
  export type OrgClaimedInviteOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1728
1531
  export type OrgGrantOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1729
- export type OrgChartEdgeOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC';
1532
+ export type OrgChartEdgeOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'POSITION_TITLE_TRGM_SIMILARITY_ASC' | 'POSITION_TITLE_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1730
1533
  export type OrgMembershipDefaultOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_GROUPS_ASC' | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC';
1731
- export type InviteOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1732
- export type AppLevelOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1733
1534
  export type AppMembershipOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1734
1535
  export type OrgMembershipOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
1735
- export type OrgInviteOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
1536
+ export type InviteOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1537
+ export type AppLevelOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1538
+ export type OrgInviteOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'INVITE_TOKEN_TRGM_SIMILARITY_ASC' | 'INVITE_TOKEN_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
1736
1539
  export interface CreateOrgGetManagersRecordInput {
1737
1540
  clientMutationId?: string;
1738
1541
  orgGetManagersRecord: {
@@ -1787,6 +1590,8 @@ export interface AppPermissionPatch {
1787
1590
  bitnum?: number | null;
1788
1591
  bitstr?: string | null;
1789
1592
  description?: string | null;
1593
+ descriptionTrgmSimilarity?: number | null;
1594
+ searchScore?: number | null;
1790
1595
  }
1791
1596
  export interface UpdateAppPermissionInput {
1792
1597
  clientMutationId?: string;
@@ -1811,6 +1616,8 @@ export interface OrgPermissionPatch {
1811
1616
  bitnum?: number | null;
1812
1617
  bitstr?: string | null;
1813
1618
  description?: string | null;
1619
+ descriptionTrgmSimilarity?: number | null;
1620
+ searchScore?: number | null;
1814
1621
  }
1815
1622
  export interface UpdateOrgPermissionInput {
1816
1623
  clientMutationId?: string;
@@ -1837,6 +1644,8 @@ export interface AppLevelRequirementPatch {
1837
1644
  description?: string | null;
1838
1645
  requiredCount?: number | null;
1839
1646
  priority?: number | null;
1647
+ descriptionTrgmSimilarity?: number | null;
1648
+ searchScore?: number | null;
1840
1649
  }
1841
1650
  export interface UpdateAppLevelRequirementInput {
1842
1651
  clientMutationId?: string;
@@ -2039,28 +1848,6 @@ export interface DeleteOrgLimitDefaultInput {
2039
1848
  clientMutationId?: string;
2040
1849
  id: string;
2041
1850
  }
2042
- export interface CreateMembershipTypeInput {
2043
- clientMutationId?: string;
2044
- membershipType: {
2045
- name: string;
2046
- description: string;
2047
- prefix: string;
2048
- };
2049
- }
2050
- export interface MembershipTypePatch {
2051
- name?: string | null;
2052
- description?: string | null;
2053
- prefix?: string | null;
2054
- }
2055
- export interface UpdateMembershipTypeInput {
2056
- clientMutationId?: string;
2057
- id: number;
2058
- membershipTypePatch: MembershipTypePatch;
2059
- }
2060
- export interface DeleteMembershipTypeInput {
2061
- clientMutationId?: string;
2062
- id: number;
2063
- }
2064
1851
  export interface CreateOrgChartEdgeGrantInput {
2065
1852
  clientMutationId?: string;
2066
1853
  orgChartEdgeGrant: {
@@ -2081,6 +1868,8 @@ export interface OrgChartEdgeGrantPatch {
2081
1868
  isGrant?: boolean | null;
2082
1869
  positionTitle?: string | null;
2083
1870
  positionLevel?: number | null;
1871
+ positionTitleTrgmSimilarity?: number | null;
1872
+ searchScore?: number | null;
2084
1873
  }
2085
1874
  export interface UpdateOrgChartEdgeGrantInput {
2086
1875
  clientMutationId?: string;
@@ -2091,6 +1880,31 @@ export interface DeleteOrgChartEdgeGrantInput {
2091
1880
  clientMutationId?: string;
2092
1881
  id: string;
2093
1882
  }
1883
+ export interface CreateMembershipTypeInput {
1884
+ clientMutationId?: string;
1885
+ membershipType: {
1886
+ name: string;
1887
+ description: string;
1888
+ prefix: string;
1889
+ };
1890
+ }
1891
+ export interface MembershipTypePatch {
1892
+ name?: string | null;
1893
+ description?: string | null;
1894
+ prefix?: string | null;
1895
+ descriptionTrgmSimilarity?: number | null;
1896
+ prefixTrgmSimilarity?: number | null;
1897
+ searchScore?: number | null;
1898
+ }
1899
+ export interface UpdateMembershipTypeInput {
1900
+ clientMutationId?: string;
1901
+ id: number;
1902
+ membershipTypePatch: MembershipTypePatch;
1903
+ }
1904
+ export interface DeleteMembershipTypeInput {
1905
+ clientMutationId?: string;
1906
+ id: number;
1907
+ }
2094
1908
  export interface CreateAppLimitInput {
2095
1909
  clientMutationId?: string;
2096
1910
  appLimit: {
@@ -2321,6 +2135,8 @@ export interface OrgChartEdgePatch {
2321
2135
  parentId?: string | null;
2322
2136
  positionTitle?: string | null;
2323
2137
  positionLevel?: number | null;
2138
+ positionTitleTrgmSimilarity?: number | null;
2139
+ searchScore?: number | null;
2324
2140
  }
2325
2141
  export interface UpdateOrgChartEdgeInput {
2326
2142
  clientMutationId?: string;
@@ -2359,64 +2175,6 @@ export interface DeleteOrgMembershipDefaultInput {
2359
2175
  clientMutationId?: string;
2360
2176
  id: string;
2361
2177
  }
2362
- export interface CreateInviteInput {
2363
- clientMutationId?: string;
2364
- invite: {
2365
- email?: ConstructiveInternalTypeEmail;
2366
- senderId?: string;
2367
- inviteToken?: string;
2368
- inviteValid?: boolean;
2369
- inviteLimit?: number;
2370
- inviteCount?: number;
2371
- multiple?: boolean;
2372
- data?: Record<string, unknown>;
2373
- expiresAt?: string;
2374
- };
2375
- }
2376
- export interface InvitePatch {
2377
- email?: ConstructiveInternalTypeEmail | null;
2378
- senderId?: string | null;
2379
- inviteToken?: string | null;
2380
- inviteValid?: boolean | null;
2381
- inviteLimit?: number | null;
2382
- inviteCount?: number | null;
2383
- multiple?: boolean | null;
2384
- data?: Record<string, unknown> | null;
2385
- expiresAt?: string | null;
2386
- }
2387
- export interface UpdateInviteInput {
2388
- clientMutationId?: string;
2389
- id: string;
2390
- invitePatch: InvitePatch;
2391
- }
2392
- export interface DeleteInviteInput {
2393
- clientMutationId?: string;
2394
- id: string;
2395
- }
2396
- export interface CreateAppLevelInput {
2397
- clientMutationId?: string;
2398
- appLevel: {
2399
- name: string;
2400
- description?: string;
2401
- image?: ConstructiveInternalTypeImage;
2402
- ownerId?: string;
2403
- };
2404
- }
2405
- export interface AppLevelPatch {
2406
- name?: string | null;
2407
- description?: string | null;
2408
- image?: ConstructiveInternalTypeImage | null;
2409
- ownerId?: string | null;
2410
- }
2411
- export interface UpdateAppLevelInput {
2412
- clientMutationId?: string;
2413
- id: string;
2414
- appLevelPatch: AppLevelPatch;
2415
- }
2416
- export interface DeleteAppLevelInput {
2417
- clientMutationId?: string;
2418
- id: string;
2419
- }
2420
2178
  export interface CreateAppMembershipInput {
2421
2179
  clientMutationId?: string;
2422
2180
  appMembership: {
@@ -2501,6 +2259,68 @@ export interface DeleteOrgMembershipInput {
2501
2259
  clientMutationId?: string;
2502
2260
  id: string;
2503
2261
  }
2262
+ export interface CreateInviteInput {
2263
+ clientMutationId?: string;
2264
+ invite: {
2265
+ email?: ConstructiveInternalTypeEmail;
2266
+ senderId?: string;
2267
+ inviteToken?: string;
2268
+ inviteValid?: boolean;
2269
+ inviteLimit?: number;
2270
+ inviteCount?: number;
2271
+ multiple?: boolean;
2272
+ data?: Record<string, unknown>;
2273
+ expiresAt?: string;
2274
+ };
2275
+ }
2276
+ export interface InvitePatch {
2277
+ email?: ConstructiveInternalTypeEmail | null;
2278
+ senderId?: string | null;
2279
+ inviteToken?: string | null;
2280
+ inviteValid?: boolean | null;
2281
+ inviteLimit?: number | null;
2282
+ inviteCount?: number | null;
2283
+ multiple?: boolean | null;
2284
+ data?: Record<string, unknown> | null;
2285
+ expiresAt?: string | null;
2286
+ inviteTokenTrgmSimilarity?: number | null;
2287
+ searchScore?: number | null;
2288
+ }
2289
+ export interface UpdateInviteInput {
2290
+ clientMutationId?: string;
2291
+ id: string;
2292
+ invitePatch: InvitePatch;
2293
+ }
2294
+ export interface DeleteInviteInput {
2295
+ clientMutationId?: string;
2296
+ id: string;
2297
+ }
2298
+ export interface CreateAppLevelInput {
2299
+ clientMutationId?: string;
2300
+ appLevel: {
2301
+ name: string;
2302
+ description?: string;
2303
+ image?: ConstructiveInternalTypeImage;
2304
+ ownerId?: string;
2305
+ };
2306
+ }
2307
+ export interface AppLevelPatch {
2308
+ name?: string | null;
2309
+ description?: string | null;
2310
+ image?: ConstructiveInternalTypeImage | null;
2311
+ ownerId?: string | null;
2312
+ descriptionTrgmSimilarity?: number | null;
2313
+ searchScore?: number | null;
2314
+ }
2315
+ export interface UpdateAppLevelInput {
2316
+ clientMutationId?: string;
2317
+ id: string;
2318
+ appLevelPatch: AppLevelPatch;
2319
+ }
2320
+ export interface DeleteAppLevelInput {
2321
+ clientMutationId?: string;
2322
+ id: string;
2323
+ }
2504
2324
  export interface CreateOrgInviteInput {
2505
2325
  clientMutationId?: string;
2506
2326
  orgInvite: {
@@ -2529,6 +2349,8 @@ export interface OrgInvitePatch {
2529
2349
  data?: Record<string, unknown> | null;
2530
2350
  expiresAt?: string | null;
2531
2351
  entityId?: string | null;
2352
+ inviteTokenTrgmSimilarity?: number | null;
2353
+ searchScore?: number | null;
2532
2354
  }
2533
2355
  export interface UpdateOrgInviteInput {
2534
2356
  clientMutationId?: string;
@@ -3161,51 +2983,6 @@ export type DeleteOrgLimitDefaultPayloadSelect = {
3161
2983
  select: OrgLimitDefaultEdgeSelect;
3162
2984
  };
3163
2985
  };
3164
- export interface CreateMembershipTypePayload {
3165
- clientMutationId?: string | null;
3166
- /** The `MembershipType` that was created by this mutation. */
3167
- membershipType?: MembershipType | null;
3168
- membershipTypeEdge?: MembershipTypeEdge | null;
3169
- }
3170
- export type CreateMembershipTypePayloadSelect = {
3171
- clientMutationId?: boolean;
3172
- membershipType?: {
3173
- select: MembershipTypeSelect;
3174
- };
3175
- membershipTypeEdge?: {
3176
- select: MembershipTypeEdgeSelect;
3177
- };
3178
- };
3179
- export interface UpdateMembershipTypePayload {
3180
- clientMutationId?: string | null;
3181
- /** The `MembershipType` that was updated by this mutation. */
3182
- membershipType?: MembershipType | null;
3183
- membershipTypeEdge?: MembershipTypeEdge | null;
3184
- }
3185
- export type UpdateMembershipTypePayloadSelect = {
3186
- clientMutationId?: boolean;
3187
- membershipType?: {
3188
- select: MembershipTypeSelect;
3189
- };
3190
- membershipTypeEdge?: {
3191
- select: MembershipTypeEdgeSelect;
3192
- };
3193
- };
3194
- export interface DeleteMembershipTypePayload {
3195
- clientMutationId?: string | null;
3196
- /** The `MembershipType` that was deleted by this mutation. */
3197
- membershipType?: MembershipType | null;
3198
- membershipTypeEdge?: MembershipTypeEdge | null;
3199
- }
3200
- export type DeleteMembershipTypePayloadSelect = {
3201
- clientMutationId?: boolean;
3202
- membershipType?: {
3203
- select: MembershipTypeSelect;
3204
- };
3205
- membershipTypeEdge?: {
3206
- select: MembershipTypeEdgeSelect;
3207
- };
3208
- };
3209
2986
  export interface CreateOrgChartEdgeGrantPayload {
3210
2987
  clientMutationId?: string | null;
3211
2988
  /** The `OrgChartEdgeGrant` that was created by this mutation. */
@@ -3247,8 +3024,53 @@ export type DeleteOrgChartEdgeGrantPayloadSelect = {
3247
3024
  orgChartEdgeGrant?: {
3248
3025
  select: OrgChartEdgeGrantSelect;
3249
3026
  };
3250
- orgChartEdgeGrantEdge?: {
3251
- select: OrgChartEdgeGrantEdgeSelect;
3027
+ orgChartEdgeGrantEdge?: {
3028
+ select: OrgChartEdgeGrantEdgeSelect;
3029
+ };
3030
+ };
3031
+ export interface CreateMembershipTypePayload {
3032
+ clientMutationId?: string | null;
3033
+ /** The `MembershipType` that was created by this mutation. */
3034
+ membershipType?: MembershipType | null;
3035
+ membershipTypeEdge?: MembershipTypeEdge | null;
3036
+ }
3037
+ export type CreateMembershipTypePayloadSelect = {
3038
+ clientMutationId?: boolean;
3039
+ membershipType?: {
3040
+ select: MembershipTypeSelect;
3041
+ };
3042
+ membershipTypeEdge?: {
3043
+ select: MembershipTypeEdgeSelect;
3044
+ };
3045
+ };
3046
+ export interface UpdateMembershipTypePayload {
3047
+ clientMutationId?: string | null;
3048
+ /** The `MembershipType` that was updated by this mutation. */
3049
+ membershipType?: MembershipType | null;
3050
+ membershipTypeEdge?: MembershipTypeEdge | null;
3051
+ }
3052
+ export type UpdateMembershipTypePayloadSelect = {
3053
+ clientMutationId?: boolean;
3054
+ membershipType?: {
3055
+ select: MembershipTypeSelect;
3056
+ };
3057
+ membershipTypeEdge?: {
3058
+ select: MembershipTypeEdgeSelect;
3059
+ };
3060
+ };
3061
+ export interface DeleteMembershipTypePayload {
3062
+ clientMutationId?: string | null;
3063
+ /** The `MembershipType` that was deleted by this mutation. */
3064
+ membershipType?: MembershipType | null;
3065
+ membershipTypeEdge?: MembershipTypeEdge | null;
3066
+ }
3067
+ export type DeleteMembershipTypePayloadSelect = {
3068
+ clientMutationId?: boolean;
3069
+ membershipType?: {
3070
+ select: MembershipTypeSelect;
3071
+ };
3072
+ membershipTypeEdge?: {
3073
+ select: MembershipTypeEdgeSelect;
3252
3074
  };
3253
3075
  };
3254
3076
  export interface CreateAppLimitPayload {
@@ -3746,96 +3568,6 @@ export type DeleteOrgMembershipDefaultPayloadSelect = {
3746
3568
  select: OrgMembershipDefaultEdgeSelect;
3747
3569
  };
3748
3570
  };
3749
- export interface CreateInvitePayload {
3750
- clientMutationId?: string | null;
3751
- /** The `Invite` that was created by this mutation. */
3752
- invite?: Invite | null;
3753
- inviteEdge?: InviteEdge | null;
3754
- }
3755
- export type CreateInvitePayloadSelect = {
3756
- clientMutationId?: boolean;
3757
- invite?: {
3758
- select: InviteSelect;
3759
- };
3760
- inviteEdge?: {
3761
- select: InviteEdgeSelect;
3762
- };
3763
- };
3764
- export interface UpdateInvitePayload {
3765
- clientMutationId?: string | null;
3766
- /** The `Invite` that was updated by this mutation. */
3767
- invite?: Invite | null;
3768
- inviteEdge?: InviteEdge | null;
3769
- }
3770
- export type UpdateInvitePayloadSelect = {
3771
- clientMutationId?: boolean;
3772
- invite?: {
3773
- select: InviteSelect;
3774
- };
3775
- inviteEdge?: {
3776
- select: InviteEdgeSelect;
3777
- };
3778
- };
3779
- export interface DeleteInvitePayload {
3780
- clientMutationId?: string | null;
3781
- /** The `Invite` that was deleted by this mutation. */
3782
- invite?: Invite | null;
3783
- inviteEdge?: InviteEdge | null;
3784
- }
3785
- export type DeleteInvitePayloadSelect = {
3786
- clientMutationId?: boolean;
3787
- invite?: {
3788
- select: InviteSelect;
3789
- };
3790
- inviteEdge?: {
3791
- select: InviteEdgeSelect;
3792
- };
3793
- };
3794
- export interface CreateAppLevelPayload {
3795
- clientMutationId?: string | null;
3796
- /** The `AppLevel` that was created by this mutation. */
3797
- appLevel?: AppLevel | null;
3798
- appLevelEdge?: AppLevelEdge | null;
3799
- }
3800
- export type CreateAppLevelPayloadSelect = {
3801
- clientMutationId?: boolean;
3802
- appLevel?: {
3803
- select: AppLevelSelect;
3804
- };
3805
- appLevelEdge?: {
3806
- select: AppLevelEdgeSelect;
3807
- };
3808
- };
3809
- export interface UpdateAppLevelPayload {
3810
- clientMutationId?: string | null;
3811
- /** The `AppLevel` that was updated by this mutation. */
3812
- appLevel?: AppLevel | null;
3813
- appLevelEdge?: AppLevelEdge | null;
3814
- }
3815
- export type UpdateAppLevelPayloadSelect = {
3816
- clientMutationId?: boolean;
3817
- appLevel?: {
3818
- select: AppLevelSelect;
3819
- };
3820
- appLevelEdge?: {
3821
- select: AppLevelEdgeSelect;
3822
- };
3823
- };
3824
- export interface DeleteAppLevelPayload {
3825
- clientMutationId?: string | null;
3826
- /** The `AppLevel` that was deleted by this mutation. */
3827
- appLevel?: AppLevel | null;
3828
- appLevelEdge?: AppLevelEdge | null;
3829
- }
3830
- export type DeleteAppLevelPayloadSelect = {
3831
- clientMutationId?: boolean;
3832
- appLevel?: {
3833
- select: AppLevelSelect;
3834
- };
3835
- appLevelEdge?: {
3836
- select: AppLevelEdgeSelect;
3837
- };
3838
- };
3839
3571
  export interface CreateAppMembershipPayload {
3840
3572
  clientMutationId?: string | null;
3841
3573
  /** The `AppMembership` that was created by this mutation. */
@@ -3926,6 +3658,96 @@ export type DeleteOrgMembershipPayloadSelect = {
3926
3658
  select: OrgMembershipEdgeSelect;
3927
3659
  };
3928
3660
  };
3661
+ export interface CreateInvitePayload {
3662
+ clientMutationId?: string | null;
3663
+ /** The `Invite` that was created by this mutation. */
3664
+ invite?: Invite | null;
3665
+ inviteEdge?: InviteEdge | null;
3666
+ }
3667
+ export type CreateInvitePayloadSelect = {
3668
+ clientMutationId?: boolean;
3669
+ invite?: {
3670
+ select: InviteSelect;
3671
+ };
3672
+ inviteEdge?: {
3673
+ select: InviteEdgeSelect;
3674
+ };
3675
+ };
3676
+ export interface UpdateInvitePayload {
3677
+ clientMutationId?: string | null;
3678
+ /** The `Invite` that was updated by this mutation. */
3679
+ invite?: Invite | null;
3680
+ inviteEdge?: InviteEdge | null;
3681
+ }
3682
+ export type UpdateInvitePayloadSelect = {
3683
+ clientMutationId?: boolean;
3684
+ invite?: {
3685
+ select: InviteSelect;
3686
+ };
3687
+ inviteEdge?: {
3688
+ select: InviteEdgeSelect;
3689
+ };
3690
+ };
3691
+ export interface DeleteInvitePayload {
3692
+ clientMutationId?: string | null;
3693
+ /** The `Invite` that was deleted by this mutation. */
3694
+ invite?: Invite | null;
3695
+ inviteEdge?: InviteEdge | null;
3696
+ }
3697
+ export type DeleteInvitePayloadSelect = {
3698
+ clientMutationId?: boolean;
3699
+ invite?: {
3700
+ select: InviteSelect;
3701
+ };
3702
+ inviteEdge?: {
3703
+ select: InviteEdgeSelect;
3704
+ };
3705
+ };
3706
+ export interface CreateAppLevelPayload {
3707
+ clientMutationId?: string | null;
3708
+ /** The `AppLevel` that was created by this mutation. */
3709
+ appLevel?: AppLevel | null;
3710
+ appLevelEdge?: AppLevelEdge | null;
3711
+ }
3712
+ export type CreateAppLevelPayloadSelect = {
3713
+ clientMutationId?: boolean;
3714
+ appLevel?: {
3715
+ select: AppLevelSelect;
3716
+ };
3717
+ appLevelEdge?: {
3718
+ select: AppLevelEdgeSelect;
3719
+ };
3720
+ };
3721
+ export interface UpdateAppLevelPayload {
3722
+ clientMutationId?: string | null;
3723
+ /** The `AppLevel` that was updated by this mutation. */
3724
+ appLevel?: AppLevel | null;
3725
+ appLevelEdge?: AppLevelEdge | null;
3726
+ }
3727
+ export type UpdateAppLevelPayloadSelect = {
3728
+ clientMutationId?: boolean;
3729
+ appLevel?: {
3730
+ select: AppLevelSelect;
3731
+ };
3732
+ appLevelEdge?: {
3733
+ select: AppLevelEdgeSelect;
3734
+ };
3735
+ };
3736
+ export interface DeleteAppLevelPayload {
3737
+ clientMutationId?: string | null;
3738
+ /** The `AppLevel` that was deleted by this mutation. */
3739
+ appLevel?: AppLevel | null;
3740
+ appLevelEdge?: AppLevelEdge | null;
3741
+ }
3742
+ export type DeleteAppLevelPayloadSelect = {
3743
+ clientMutationId?: boolean;
3744
+ appLevel?: {
3745
+ select: AppLevelSelect;
3746
+ };
3747
+ appLevelEdge?: {
3748
+ select: AppLevelEdgeSelect;
3749
+ };
3750
+ };
3929
3751
  export interface CreateOrgInvitePayload {
3930
3752
  clientMutationId?: string | null;
3931
3753
  /** The `OrgInvite` that was created by this mutation. */
@@ -4132,18 +3954,6 @@ export type OrgLimitDefaultEdgeSelect = {
4132
3954
  select: OrgLimitDefaultSelect;
4133
3955
  };
4134
3956
  };
4135
- /** A `MembershipType` edge in the connection. */
4136
- export interface MembershipTypeEdge {
4137
- cursor?: string | null;
4138
- /** The `MembershipType` at the end of the edge. */
4139
- node?: MembershipType | null;
4140
- }
4141
- export type MembershipTypeEdgeSelect = {
4142
- cursor?: boolean;
4143
- node?: {
4144
- select: MembershipTypeSelect;
4145
- };
4146
- };
4147
3957
  /** A `OrgChartEdgeGrant` edge in the connection. */
4148
3958
  export interface OrgChartEdgeGrantEdge {
4149
3959
  cursor?: string | null;
@@ -4156,6 +3966,18 @@ export type OrgChartEdgeGrantEdgeSelect = {
4156
3966
  select: OrgChartEdgeGrantSelect;
4157
3967
  };
4158
3968
  };
3969
+ /** A `MembershipType` edge in the connection. */
3970
+ export interface MembershipTypeEdge {
3971
+ cursor?: string | null;
3972
+ /** The `MembershipType` at the end of the edge. */
3973
+ node?: MembershipType | null;
3974
+ }
3975
+ export type MembershipTypeEdgeSelect = {
3976
+ cursor?: boolean;
3977
+ node?: {
3978
+ select: MembershipTypeSelect;
3979
+ };
3980
+ };
4159
3981
  /** A `AppLimit` edge in the connection. */
4160
3982
  export interface AppLimitEdge {
4161
3983
  cursor?: string | null;
@@ -4288,30 +4110,6 @@ export type OrgMembershipDefaultEdgeSelect = {
4288
4110
  select: OrgMembershipDefaultSelect;
4289
4111
  };
4290
4112
  };
4291
- /** A `Invite` edge in the connection. */
4292
- export interface InviteEdge {
4293
- cursor?: string | null;
4294
- /** The `Invite` at the end of the edge. */
4295
- node?: Invite | null;
4296
- }
4297
- export type InviteEdgeSelect = {
4298
- cursor?: boolean;
4299
- node?: {
4300
- select: InviteSelect;
4301
- };
4302
- };
4303
- /** A `AppLevel` edge in the connection. */
4304
- export interface AppLevelEdge {
4305
- cursor?: string | null;
4306
- /** The `AppLevel` at the end of the edge. */
4307
- node?: AppLevel | null;
4308
- }
4309
- export type AppLevelEdgeSelect = {
4310
- cursor?: boolean;
4311
- node?: {
4312
- select: AppLevelSelect;
4313
- };
4314
- };
4315
4113
  /** A `AppMembership` edge in the connection. */
4316
4114
  export interface AppMembershipEdge {
4317
4115
  cursor?: string | null;
@@ -4336,6 +4134,30 @@ export type OrgMembershipEdgeSelect = {
4336
4134
  select: OrgMembershipSelect;
4337
4135
  };
4338
4136
  };
4137
+ /** A `Invite` edge in the connection. */
4138
+ export interface InviteEdge {
4139
+ cursor?: string | null;
4140
+ /** The `Invite` at the end of the edge. */
4141
+ node?: Invite | null;
4142
+ }
4143
+ export type InviteEdgeSelect = {
4144
+ cursor?: boolean;
4145
+ node?: {
4146
+ select: InviteSelect;
4147
+ };
4148
+ };
4149
+ /** A `AppLevel` edge in the connection. */
4150
+ export interface AppLevelEdge {
4151
+ cursor?: string | null;
4152
+ /** The `AppLevel` at the end of the edge. */
4153
+ node?: AppLevel | null;
4154
+ }
4155
+ export type AppLevelEdgeSelect = {
4156
+ cursor?: boolean;
4157
+ node?: {
4158
+ select: AppLevelSelect;
4159
+ };
4160
+ };
4339
4161
  /** A `OrgInvite` edge in the connection. */
4340
4162
  export interface OrgInviteEdge {
4341
4163
  cursor?: string | null;