@constructive-io/react 1.19.7 → 1.19.9

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 (203) hide show
  1. package/agent/orm/input-types.d.ts +4 -4
  2. package/agent/schema-types.d.ts +4 -4
  3. package/api/hooks/index.d.ts +1 -1
  4. package/api/hooks/index.js +1 -1
  5. package/api/hooks/invalidation.d.ts +6 -0
  6. package/api/hooks/invalidation.js +16 -0
  7. package/api/hooks/mutation-keys.d.ts +12 -0
  8. package/api/hooks/mutation-keys.js +12 -2
  9. package/api/hooks/mutations/index.d.ts +1 -0
  10. package/api/hooks/mutations/index.js +1 -0
  11. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
  12. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +34 -0
  13. package/api/hooks/queries/index.d.ts +2 -0
  14. package/api/hooks/queries/index.js +2 -0
  15. package/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
  16. package/api/hooks/queries/useListSuspendedDatabasesQuery.js +38 -0
  17. package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
  18. package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +53 -0
  19. package/api/hooks/query-keys.d.ts +14 -0
  20. package/api/hooks/query-keys.js +10 -2
  21. package/api/orm/index.d.ts +2 -0
  22. package/api/orm/index.js +2 -0
  23. package/api/orm/input-types.d.ts +60 -30
  24. package/api/orm/models/index.d.ts +1 -0
  25. package/api/orm/models/index.js +4 -2
  26. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  27. package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
  28. package/api/schema-types.d.ts +22 -21
  29. package/api/types.d.ts +7 -2
  30. package/auth/hooks/mutation-keys.d.ts +6 -2
  31. package/auth/hooks/mutation-keys.js +9 -3
  32. package/auth/hooks/mutations/index.d.ts +3 -1
  33. package/auth/hooks/mutations/index.js +3 -1
  34. package/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
  35. package/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +5 -5
  36. package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
  37. package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +26 -0
  38. package/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
  39. package/auth/hooks/mutations/useSendSmsOtpMutation.js +26 -0
  40. package/auth/orm/index.d.ts +15 -5
  41. package/auth/orm/input-types.d.ts +44 -14
  42. package/auth/orm/mutation/index.d.ts +25 -9
  43. package/auth/orm/mutation/index.js +36 -12
  44. package/auth/schema-types.d.ts +29 -10
  45. package/compute/hooks/index.d.ts +1 -1
  46. package/compute/hooks/index.js +1 -1
  47. package/compute/hooks/invalidation.d.ts +12 -0
  48. package/compute/hooks/invalidation.js +32 -0
  49. package/compute/hooks/mutation-keys.d.ts +28 -0
  50. package/compute/hooks/mutation-keys.js +26 -3
  51. package/compute/hooks/mutations/index.d.ts +8 -0
  52. package/compute/hooks/mutations/index.js +8 -0
  53. package/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
  54. package/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +34 -0
  55. package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
  56. package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +34 -0
  57. package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
  58. package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +39 -0
  59. package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
  60. package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +39 -0
  61. package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
  62. package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +26 -0
  63. package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
  64. package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +26 -0
  65. package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
  66. package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +40 -0
  67. package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
  68. package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +40 -0
  69. package/compute/hooks/queries/index.d.ts +4 -0
  70. package/compute/hooks/queries/index.js +4 -0
  71. package/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
  72. package/compute/hooks/queries/useFunctionScheduleQuery.js +53 -0
  73. package/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
  74. package/compute/hooks/queries/useFunctionSchedulesQuery.js +38 -0
  75. package/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
  76. package/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +53 -0
  77. package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
  78. package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +38 -0
  79. package/compute/hooks/query-keys.d.ts +28 -0
  80. package/compute/hooks/query-keys.js +19 -3
  81. package/compute/orm/index.d.ts +14 -0
  82. package/compute/orm/index.js +4 -0
  83. package/compute/orm/input-types.d.ts +553 -4
  84. package/compute/orm/input-types.js +2 -0
  85. package/compute/orm/models/functionSchedule.d.ts +54 -0
  86. package/compute/orm/models/functionSchedule.js +104 -0
  87. package/compute/orm/models/index.d.ts +2 -0
  88. package/compute/orm/models/index.js +7 -3
  89. package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  90. package/compute/orm/models/platformFunctionSchedule.js +104 -0
  91. package/compute/orm/mutation/index.d.ts +17 -1
  92. package/compute/orm/mutation/index.js +24 -0
  93. package/compute/schema-types.d.ts +319 -1
  94. package/compute/types.d.ts +29 -0
  95. package/esm/agent/orm/input-types.d.ts +4 -4
  96. package/esm/agent/schema-types.d.ts +4 -4
  97. package/esm/api/hooks/index.d.ts +1 -1
  98. package/esm/api/hooks/index.js +1 -1
  99. package/esm/api/hooks/invalidation.d.ts +6 -0
  100. package/esm/api/hooks/invalidation.js +17 -1
  101. package/esm/api/hooks/mutation-keys.d.ts +12 -0
  102. package/esm/api/hooks/mutation-keys.js +10 -0
  103. package/esm/api/hooks/mutations/index.d.ts +1 -0
  104. package/esm/api/hooks/mutations/index.js +1 -0
  105. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
  106. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +31 -0
  107. package/esm/api/hooks/queries/index.d.ts +2 -0
  108. package/esm/api/hooks/queries/index.js +2 -0
  109. package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
  110. package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.js +32 -0
  111. package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
  112. package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +47 -0
  113. package/esm/api/hooks/query-keys.d.ts +14 -0
  114. package/esm/api/hooks/query-keys.js +8 -0
  115. package/esm/api/orm/index.d.ts +2 -0
  116. package/esm/api/orm/index.js +2 -0
  117. package/esm/api/orm/input-types.d.ts +60 -30
  118. package/esm/api/orm/models/index.d.ts +1 -0
  119. package/esm/api/orm/models/index.js +1 -0
  120. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
  121. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
  122. package/esm/api/schema-types.d.ts +22 -21
  123. package/esm/api/types.d.ts +7 -2
  124. package/esm/auth/hooks/mutation-keys.d.ts +6 -2
  125. package/esm/auth/hooks/mutation-keys.js +9 -3
  126. package/esm/auth/hooks/mutations/index.d.ts +3 -1
  127. package/esm/auth/hooks/mutations/index.js +3 -1
  128. package/esm/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
  129. package/esm/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +4 -4
  130. package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
  131. package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +23 -0
  132. package/esm/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
  133. package/esm/auth/hooks/mutations/useSendSmsOtpMutation.js +23 -0
  134. package/esm/auth/orm/index.d.ts +15 -5
  135. package/esm/auth/orm/input-types.d.ts +44 -14
  136. package/esm/auth/orm/mutation/index.d.ts +25 -9
  137. package/esm/auth/orm/mutation/index.js +36 -12
  138. package/esm/auth/schema-types.d.ts +29 -10
  139. package/esm/compute/hooks/index.d.ts +1 -1
  140. package/esm/compute/hooks/index.js +1 -1
  141. package/esm/compute/hooks/invalidation.d.ts +12 -0
  142. package/esm/compute/hooks/invalidation.js +33 -1
  143. package/esm/compute/hooks/mutation-keys.d.ts +28 -0
  144. package/esm/compute/hooks/mutation-keys.js +23 -0
  145. package/esm/compute/hooks/mutations/index.d.ts +8 -0
  146. package/esm/compute/hooks/mutations/index.js +8 -0
  147. package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
  148. package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +31 -0
  149. package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
  150. package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +31 -0
  151. package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
  152. package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +36 -0
  153. package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
  154. package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +36 -0
  155. package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
  156. package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +23 -0
  157. package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
  158. package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +23 -0
  159. package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
  160. package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +37 -0
  161. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
  162. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +37 -0
  163. package/esm/compute/hooks/queries/index.d.ts +4 -0
  164. package/esm/compute/hooks/queries/index.js +4 -0
  165. package/esm/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
  166. package/esm/compute/hooks/queries/useFunctionScheduleQuery.js +47 -0
  167. package/esm/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
  168. package/esm/compute/hooks/queries/useFunctionSchedulesQuery.js +32 -0
  169. package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
  170. package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +47 -0
  171. package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
  172. package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +32 -0
  173. package/esm/compute/hooks/query-keys.d.ts +28 -0
  174. package/esm/compute/hooks/query-keys.js +16 -0
  175. package/esm/compute/orm/index.d.ts +14 -0
  176. package/esm/compute/orm/index.js +4 -0
  177. package/esm/compute/orm/input-types.d.ts +553 -4
  178. package/esm/compute/orm/input-types.js +2 -0
  179. package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
  180. package/esm/compute/orm/models/functionSchedule.js +100 -0
  181. package/esm/compute/orm/models/index.d.ts +2 -0
  182. package/esm/compute/orm/models/index.js +2 -0
  183. package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
  184. package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
  185. package/esm/compute/orm/mutation/index.d.ts +17 -1
  186. package/esm/compute/orm/mutation/index.js +24 -0
  187. package/esm/compute/schema-types.d.ts +319 -1
  188. package/esm/compute/types.d.ts +29 -0
  189. package/esm/modules/orm/input-types.d.ts +26 -48
  190. package/esm/modules/schema-types.d.ts +17 -33
  191. package/esm/modules/types.d.ts +3 -5
  192. package/esm/remote/orm/input-types.d.ts +13 -1
  193. package/esm/remote/schema-types.d.ts +8 -1
  194. package/esm/remote/types.d.ts +1 -0
  195. package/modules/orm/input-types.d.ts +26 -48
  196. package/modules/schema-types.d.ts +17 -33
  197. package/modules/types.d.ts +3 -5
  198. package/package.json +5 -5
  199. package/remote/orm/input-types.d.ts +13 -1
  200. package/remote/schema-types.d.ts +8 -1
  201. package/remote/types.d.ts +1 -0
  202. package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
  203. package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
@@ -13,7 +13,7 @@ export type AppModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'APPS_TABLE_ID
13
13
  /** Methods to use when ordering `BillingModule`. */
14
14
  export type BillingModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'BALANCES_TABLE_ID_ASC' | 'BALANCES_TABLE_ID_DESC' | 'BALANCES_TABLE_NAME_ASC' | 'BALANCES_TABLE_NAME_DESC' | 'CREDIT_PACKS_TABLE_ID_ASC' | 'CREDIT_PACKS_TABLE_ID_DESC' | 'CREDIT_PACKS_TABLE_NAME_ASC' | 'CREDIT_PACKS_TABLE_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_CAPABILITIES_ASC' | 'DEFAULT_CAPABILITIES_DESC' | 'DEFAULT_METER_CATALOG_ASC' | 'DEFAULT_METER_CATALOG_DESC' | 'GRANT_METER_CREDITS_FUNCTION_ASC' | 'GRANT_METER_CREDITS_FUNCTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LEDGER_TABLE_ID_ASC' | 'LEDGER_TABLE_ID_DESC' | 'LEDGER_TABLE_NAME_ASC' | 'LEDGER_TABLE_NAME_DESC' | 'METERS_TABLE_ID_ASC' | 'METERS_TABLE_ID_DESC' | 'METERS_TABLE_NAME_ASC' | 'METERS_TABLE_NAME_DESC' | 'METER_CREDITS_TABLE_ID_ASC' | 'METER_CREDITS_TABLE_ID_DESC' | 'METER_CREDITS_TABLE_NAME_ASC' | 'METER_CREDITS_TABLE_NAME_DESC' | 'METER_DEFAULTS_TABLE_ID_ASC' | 'METER_DEFAULTS_TABLE_ID_DESC' | 'METER_DEFAULTS_TABLE_NAME_ASC' | 'METER_DEFAULTS_TABLE_NAME_DESC' | 'METER_SOURCES_TABLE_ID_ASC' | 'METER_SOURCES_TABLE_ID_DESC' | 'METER_SOURCES_TABLE_NAME_ASC' | 'METER_SOURCES_TABLE_NAME_DESC' | 'NATURAL' | 'PLAN_SUBSCRIPTIONS_TABLE_ID_ASC' | 'PLAN_SUBSCRIPTIONS_TABLE_ID_DESC' | 'PLAN_SUBSCRIPTIONS_TABLE_NAME_ASC' | 'PLAN_SUBSCRIPTIONS_TABLE_NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'RECORD_USAGE_FUNCTION_ASC' | 'RECORD_USAGE_FUNCTION_DESC' | 'ROLLUP_USAGE_SUMMARY_FUNCTION_ASC' | 'ROLLUP_USAGE_SUMMARY_FUNCTION_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SWEEP_EXPIRED_SUBSCRIPTIONS_FUNCTION_ASC' | 'SWEEP_EXPIRED_SUBSCRIPTIONS_FUNCTION_DESC';
15
15
  /** Methods to use when ordering `BillingProviderModule`. */
16
- export type BillingProviderModuleOrderBy = 'ACTIVATE_PLAN_SUBSCRIPTION_FUNCTION_ASC' | 'ACTIVATE_PLAN_SUBSCRIPTION_FUNCTION_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'APPLY_PROVIDER_OBSERVATION_FUNCTION_ASC' | 'APPLY_PROVIDER_OBSERVATION_FUNCTION_DESC' | 'BILLING_CUSTOMERS_TABLE_ID_ASC' | 'BILLING_CUSTOMERS_TABLE_ID_DESC' | 'BILLING_CUSTOMERS_TABLE_NAME_ASC' | 'BILLING_CUSTOMERS_TABLE_NAME_DESC' | 'BILLING_DISPUTES_TABLE_ID_ASC' | 'BILLING_DISPUTES_TABLE_ID_DESC' | 'BILLING_DISPUTES_TABLE_NAME_ASC' | 'BILLING_DISPUTES_TABLE_NAME_DESC' | 'BILLING_HEALTH_TABLE_ID_ASC' | 'BILLING_HEALTH_TABLE_ID_DESC' | 'BILLING_HEALTH_TABLE_NAME_ASC' | 'BILLING_HEALTH_TABLE_NAME_DESC' | 'BILLING_INVOICES_TABLE_ID_ASC' | 'BILLING_INVOICES_TABLE_ID_DESC' | 'BILLING_INVOICES_TABLE_NAME_ASC' | 'BILLING_INVOICES_TABLE_NAME_DESC' | 'BILLING_OPERATIONS_TABLE_ID_ASC' | 'BILLING_OPERATIONS_TABLE_ID_DESC' | 'BILLING_OPERATIONS_TABLE_NAME_ASC' | 'BILLING_OPERATIONS_TABLE_NAME_DESC' | 'BILLING_PRICES_TABLE_ID_ASC' | 'BILLING_PRICES_TABLE_ID_DESC' | 'BILLING_PRICES_TABLE_NAME_ASC' | 'BILLING_PRICES_TABLE_NAME_DESC' | 'BILLING_PRODUCTS_TABLE_ID_ASC' | 'BILLING_PRODUCTS_TABLE_ID_DESC' | 'BILLING_PRODUCTS_TABLE_NAME_ASC' | 'BILLING_PRODUCTS_TABLE_NAME_DESC' | 'BILLING_PROVIDER_STATE_TABLE_ID_ASC' | 'BILLING_PROVIDER_STATE_TABLE_ID_DESC' | 'BILLING_PROVIDER_STATE_TABLE_NAME_ASC' | 'BILLING_PROVIDER_STATE_TABLE_NAME_DESC' | 'BILLING_REFUNDS_TABLE_ID_ASC' | 'BILLING_REFUNDS_TABLE_ID_DESC' | 'BILLING_REFUNDS_TABLE_NAME_ASC' | 'BILLING_REFUNDS_TABLE_NAME_DESC' | 'BILLING_SUBSCRIPTIONS_TABLE_ID_ASC' | 'BILLING_SUBSCRIPTIONS_TABLE_ID_DESC' | 'BILLING_SUBSCRIPTIONS_TABLE_NAME_ASC' | 'BILLING_SUBSCRIPTIONS_TABLE_NAME_DESC' | 'BILLING_WEBHOOK_EVENTS_TABLE_ID_ASC' | 'BILLING_WEBHOOK_EVENTS_TABLE_ID_DESC' | 'BILLING_WEBHOOK_EVENTS_TABLE_NAME_ASC' | 'BILLING_WEBHOOK_EVENTS_TABLE_NAME_DESC' | 'CLEAR_SCHEDULED_CHANGE_FUNCTION_ASC' | 'CLEAR_SCHEDULED_CHANGE_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FINISH_BILLING_OPERATION_FUNCTION_ASC' | 'FINISH_BILLING_OPERATION_FUNCTION_DESC' | 'GET_ACTIVE_PLAN_PRICING_FUNCTION_ASC' | 'GET_ACTIVE_PLAN_PRICING_FUNCTION_DESC' | 'GET_ACTIVE_PLAN_SUBSCRIPTION_FUNCTION_ASC' | 'GET_ACTIVE_PLAN_SUBSCRIPTION_FUNCTION_DESC' | 'GET_BILLING_CUSTOMER_FUNCTION_ASC' | 'GET_BILLING_CUSTOMER_FUNCTION_DESC' | 'GET_BILLING_PRICE_FUNCTION_ASC' | 'GET_BILLING_PRICE_FUNCTION_DESC' | 'GET_BILLING_PRODUCT_FUNCTION_ASC' | 'GET_BILLING_PRODUCT_FUNCTION_DESC' | 'GET_BILLING_PROVIDER_STATE_FUNCTION_ASC' | 'GET_BILLING_PROVIDER_STATE_FUNCTION_DESC' | 'GET_BILLING_SUBSCRIPTION_BY_ENTITY_FUNCTION_ASC' | 'GET_BILLING_SUBSCRIPTION_BY_ENTITY_FUNCTION_DESC' | 'GET_BILLING_SUBSCRIPTION_BY_EXTERNAL_ID_FUNCTION_ASC' | 'GET_BILLING_SUBSCRIPTION_BY_EXTERNAL_ID_FUNCTION_DESC' | 'GET_BILLING_SUBSCRIPTION_FUNCTION_ASC' | 'GET_BILLING_SUBSCRIPTION_FUNCTION_DESC' | 'GET_FALLBACK_FREE_PLAN_FUNCTION_ASC' | 'GET_FALLBACK_FREE_PLAN_FUNCTION_DESC' | 'GET_PLAN_PRICING_BY_EXTERNAL_PRICE_FUNCTION_ASC' | 'GET_PLAN_PRICING_BY_EXTERNAL_PRICE_FUNCTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LIST_DUE_RECONCILIATIONS_FUNCTION_ASC' | 'LIST_DUE_RECONCILIATIONS_FUNCTION_DESC' | 'LIST_PENDING_USAGE_SYNC_FUNCTION_ASC' | 'LIST_PENDING_USAGE_SYNC_FUNCTION_DESC' | 'MARK_USAGE_SYNCED_FUNCTION_ASC' | 'MARK_USAGE_SYNCED_FUNCTION_DESC' | 'NATURAL' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PREPARE_SCHEDULED_CHANGE_FUNCTION_ASC' | 'PREPARE_SCHEDULED_CHANGE_FUNCTION_DESC' | 'PRICES_TABLE_ID_ASC' | 'PRICES_TABLE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PROCESS_BILLING_EVENT_FUNCTION_ASC' | 'PROCESS_BILLING_EVENT_FUNCTION_DESC' | 'PRODUCTS_TABLE_ID_ASC' | 'PRODUCTS_TABLE_ID_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RECORD_BILLING_HEALTH_FUNCTION_ASC' | 'RECORD_BILLING_HEALTH_FUNCTION_DESC' | 'RECORD_DISPUTE_FUNCTION_ASC' | 'RECORD_DISPUTE_FUNCTION_DESC' | 'RECORD_REFUND_FUNCTION_ASC' | 'RECORD_REFUND_FUNCTION_DESC' | 'RESERVE_BILLING_OPERATION_FUNCTION_ASC' | 'RESERVE_BILLING_OPERATION_FUNCTION_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SUBSCRIPTIONS_TABLE_ID_ASC' | 'SUBSCRIPTIONS_TABLE_ID_DESC' | 'SWEEP_OVERDUE_SUBSCRIPTIONS_FUNCTION_ASC' | 'SWEEP_OVERDUE_SUBSCRIPTIONS_FUNCTION_DESC' | 'UPSERT_BILLING_CUSTOMER_FUNCTION_ASC' | 'UPSERT_BILLING_CUSTOMER_FUNCTION_DESC' | 'UPSERT_BILLING_PRICE_FUNCTION_ASC' | 'UPSERT_BILLING_PRICE_FUNCTION_DESC' | 'UPSERT_BILLING_PRODUCT_FUNCTION_ASC' | 'UPSERT_BILLING_PRODUCT_FUNCTION_DESC' | 'UPSERT_BILLING_SUBSCRIPTION_FUNCTION_ASC' | 'UPSERT_BILLING_SUBSCRIPTION_FUNCTION_DESC' | 'UPSERT_INVOICE_FUNCTION_ASC' | 'UPSERT_INVOICE_FUNCTION_DESC';
16
+ export type BillingProviderModuleOrderBy = 'ACTIVATE_PLAN_SUBSCRIPTION_FUNCTION_ASC' | 'ACTIVATE_PLAN_SUBSCRIPTION_FUNCTION_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'APPLY_PROVIDER_OBSERVATION_FUNCTION_ASC' | 'APPLY_PROVIDER_OBSERVATION_FUNCTION_DESC' | 'BILLING_CUSTOMERS_TABLE_ID_ASC' | 'BILLING_CUSTOMERS_TABLE_ID_DESC' | 'BILLING_CUSTOMERS_TABLE_NAME_ASC' | 'BILLING_CUSTOMERS_TABLE_NAME_DESC' | 'BILLING_DISPUTES_TABLE_ID_ASC' | 'BILLING_DISPUTES_TABLE_ID_DESC' | 'BILLING_DISPUTES_TABLE_NAME_ASC' | 'BILLING_DISPUTES_TABLE_NAME_DESC' | 'BILLING_HEALTH_TABLE_ID_ASC' | 'BILLING_HEALTH_TABLE_ID_DESC' | 'BILLING_HEALTH_TABLE_NAME_ASC' | 'BILLING_HEALTH_TABLE_NAME_DESC' | 'BILLING_INVOICES_TABLE_ID_ASC' | 'BILLING_INVOICES_TABLE_ID_DESC' | 'BILLING_INVOICES_TABLE_NAME_ASC' | 'BILLING_INVOICES_TABLE_NAME_DESC' | 'BILLING_OPERATIONS_TABLE_ID_ASC' | 'BILLING_OPERATIONS_TABLE_ID_DESC' | 'BILLING_OPERATIONS_TABLE_NAME_ASC' | 'BILLING_OPERATIONS_TABLE_NAME_DESC' | 'BILLING_PRICES_TABLE_ID_ASC' | 'BILLING_PRICES_TABLE_ID_DESC' | 'BILLING_PRICES_TABLE_NAME_ASC' | 'BILLING_PRICES_TABLE_NAME_DESC' | 'BILLING_PRODUCTS_TABLE_ID_ASC' | 'BILLING_PRODUCTS_TABLE_ID_DESC' | 'BILLING_PRODUCTS_TABLE_NAME_ASC' | 'BILLING_PRODUCTS_TABLE_NAME_DESC' | 'BILLING_PROVIDER_STATE_TABLE_ID_ASC' | 'BILLING_PROVIDER_STATE_TABLE_ID_DESC' | 'BILLING_PROVIDER_STATE_TABLE_NAME_ASC' | 'BILLING_PROVIDER_STATE_TABLE_NAME_DESC' | 'BILLING_REFUNDS_TABLE_ID_ASC' | 'BILLING_REFUNDS_TABLE_ID_DESC' | 'BILLING_REFUNDS_TABLE_NAME_ASC' | 'BILLING_REFUNDS_TABLE_NAME_DESC' | 'BILLING_SUBSCRIPTIONS_TABLE_ID_ASC' | 'BILLING_SUBSCRIPTIONS_TABLE_ID_DESC' | 'BILLING_SUBSCRIPTIONS_TABLE_NAME_ASC' | 'BILLING_SUBSCRIPTIONS_TABLE_NAME_DESC' | 'BILLING_WEBHOOK_EVENTS_TABLE_ID_ASC' | 'BILLING_WEBHOOK_EVENTS_TABLE_ID_DESC' | 'BILLING_WEBHOOK_EVENTS_TABLE_NAME_ASC' | 'BILLING_WEBHOOK_EVENTS_TABLE_NAME_DESC' | 'BIND_CHECKOUT_SESSION_FUNCTION_ASC' | 'BIND_CHECKOUT_SESSION_FUNCTION_DESC' | 'CLEAR_SCHEDULED_CHANGE_FUNCTION_ASC' | 'CLEAR_SCHEDULED_CHANGE_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'FINISH_BILLING_OPERATION_FUNCTION_ASC' | 'FINISH_BILLING_OPERATION_FUNCTION_DESC' | 'GET_ACTIVE_PLAN_PRICING_FUNCTION_ASC' | 'GET_ACTIVE_PLAN_PRICING_FUNCTION_DESC' | 'GET_ACTIVE_PLAN_SUBSCRIPTION_FUNCTION_ASC' | 'GET_ACTIVE_PLAN_SUBSCRIPTION_FUNCTION_DESC' | 'GET_BILLING_CUSTOMER_FUNCTION_ASC' | 'GET_BILLING_CUSTOMER_FUNCTION_DESC' | 'GET_BILLING_PRICE_FUNCTION_ASC' | 'GET_BILLING_PRICE_FUNCTION_DESC' | 'GET_BILLING_PRODUCT_FUNCTION_ASC' | 'GET_BILLING_PRODUCT_FUNCTION_DESC' | 'GET_BILLING_PROVIDER_STATE_FUNCTION_ASC' | 'GET_BILLING_PROVIDER_STATE_FUNCTION_DESC' | 'GET_BILLING_SUBSCRIPTION_BY_ENTITY_FUNCTION_ASC' | 'GET_BILLING_SUBSCRIPTION_BY_ENTITY_FUNCTION_DESC' | 'GET_BILLING_SUBSCRIPTION_BY_EXTERNAL_ID_FUNCTION_ASC' | 'GET_BILLING_SUBSCRIPTION_BY_EXTERNAL_ID_FUNCTION_DESC' | 'GET_BILLING_SUBSCRIPTION_FUNCTION_ASC' | 'GET_BILLING_SUBSCRIPTION_FUNCTION_DESC' | 'GET_FALLBACK_FREE_PLAN_FUNCTION_ASC' | 'GET_FALLBACK_FREE_PLAN_FUNCTION_DESC' | 'GET_PLAN_PRICING_BY_EXTERNAL_PRICE_FUNCTION_ASC' | 'GET_PLAN_PRICING_BY_EXTERNAL_PRICE_FUNCTION_DESC' | 'HAS_DUE_RECONCILIATIONS_FUNCTION_ASC' | 'HAS_DUE_RECONCILIATIONS_FUNCTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LIST_DUE_RECONCILIATIONS_FUNCTION_ASC' | 'LIST_DUE_RECONCILIATIONS_FUNCTION_DESC' | 'LIST_PENDING_USAGE_SYNC_FUNCTION_ASC' | 'LIST_PENDING_USAGE_SYNC_FUNCTION_DESC' | 'MARK_USAGE_SYNCED_FUNCTION_ASC' | 'MARK_USAGE_SYNCED_FUNCTION_DESC' | 'NATURAL' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PREPARE_SCHEDULED_CHANGE_FUNCTION_ASC' | 'PREPARE_SCHEDULED_CHANGE_FUNCTION_DESC' | 'PRICES_TABLE_ID_ASC' | 'PRICES_TABLE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PROCESS_BILLING_EVENT_FUNCTION_ASC' | 'PROCESS_BILLING_EVENT_FUNCTION_DESC' | 'PRODUCTS_TABLE_ID_ASC' | 'PRODUCTS_TABLE_ID_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RECORD_BILLING_HEALTH_FUNCTION_ASC' | 'RECORD_BILLING_HEALTH_FUNCTION_DESC' | 'RECORD_DISPUTE_FUNCTION_ASC' | 'RECORD_DISPUTE_FUNCTION_DESC' | 'RECORD_REFUND_FUNCTION_ASC' | 'RECORD_REFUND_FUNCTION_DESC' | 'RESERVE_BILLING_OPERATION_FUNCTION_ASC' | 'RESERVE_BILLING_OPERATION_FUNCTION_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SUBSCRIPTIONS_TABLE_ID_ASC' | 'SUBSCRIPTIONS_TABLE_ID_DESC' | 'SWEEP_OVERDUE_SUBSCRIPTIONS_FUNCTION_ASC' | 'SWEEP_OVERDUE_SUBSCRIPTIONS_FUNCTION_DESC' | 'UPSERT_BILLING_CUSTOMER_FUNCTION_ASC' | 'UPSERT_BILLING_CUSTOMER_FUNCTION_DESC' | 'UPSERT_BILLING_PRICE_FUNCTION_ASC' | 'UPSERT_BILLING_PRICE_FUNCTION_DESC' | 'UPSERT_BILLING_PRODUCT_FUNCTION_ASC' | 'UPSERT_BILLING_PRODUCT_FUNCTION_DESC' | 'UPSERT_BILLING_SUBSCRIPTION_FUNCTION_ASC' | 'UPSERT_BILLING_SUBSCRIPTION_FUNCTION_DESC' | 'UPSERT_INVOICE_FUNCTION_ASC' | 'UPSERT_INVOICE_FUNCTION_DESC' | 'USAGE_SYNC_SHARD_COUNT_ASC' | 'USAGE_SYNC_SHARD_COUNT_DESC';
17
17
  /** Methods to use when ordering `BlueprintConstruction`. */
18
18
  export type BlueprintConstructionOrderBy = 'BLUEPRINT_ID_ASC' | 'BLUEPRINT_ID_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TABLE_MAP_ASC' | 'TABLE_MAP_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
19
19
  /** Methods to use when ordering `Blueprint`. */
@@ -63,7 +63,7 @@ export type EmailSenderModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'DATAB
63
63
  /** Methods to use when ordering `EmailsModule`. */
64
64
  export type EmailsModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
65
65
  /** Methods to use when ordering `EntityTypeProvision`. */
66
- export type EntityTypeProvisionOrderBy = 'AGENTS_ASC' | 'AGENTS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FUNCTIONS_ASC' | 'FUNCTIONS_DESC' | 'GRAPHS_ASC' | 'GRAPHS_DESC' | 'HAS_INVITES_ASC' | 'HAS_INVITES_DESC' | 'HAS_INVITE_ACHIEVEMENTS_ASC' | 'HAS_INVITE_ACHIEVEMENTS_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'NAMESPACES_ASC' | 'NAMESPACES_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OUT_AGENT_MODULE_ID_ASC' | 'OUT_AGENT_MODULE_ID_DESC' | 'OUT_BUCKETS_TABLE_ID_ASC' | 'OUT_BUCKETS_TABLE_ID_DESC' | 'OUT_DEFINITIONS_TABLE_ID_ASC' | 'OUT_DEFINITIONS_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_EXECUTION_LOGS_TABLE_ID_ASC' | 'OUT_EXECUTION_LOGS_TABLE_ID_DESC' | 'OUT_FILES_TABLE_ID_ASC' | 'OUT_FILES_TABLE_ID_DESC' | 'OUT_FUNCTION_MODULE_ID_ASC' | 'OUT_FUNCTION_MODULE_ID_DESC' | 'OUT_GRAPHS_TABLE_ID_ASC' | 'OUT_GRAPHS_TABLE_ID_DESC' | 'OUT_GRAPH_MODULE_ID_ASC' | 'OUT_GRAPH_MODULE_ID_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC' | 'OUT_INVITES_MODULE_ID_ASC' | 'OUT_INVITES_MODULE_ID_DESC' | 'OUT_INVOCATIONS_TABLE_ID_ASC' | 'OUT_INVOCATIONS_TABLE_ID_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_NAMESPACES_TABLE_ID_ASC' | 'OUT_NAMESPACES_TABLE_ID_DESC' | 'OUT_NAMESPACE_EVENTS_TABLE_ID_ASC' | 'OUT_NAMESPACE_EVENTS_TABLE_ID_DESC' | 'OUT_NAMESPACE_MODULE_ID_ASC' | 'OUT_NAMESPACE_MODULE_ID_DESC' | 'OUT_PATH_SHARES_TABLE_ID_ASC' | 'OUT_PATH_SHARES_TABLE_ID_DESC' | 'OUT_STORAGE_MODULE_ID_ASC' | 'OUT_STORAGE_MODULE_ID_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'STORAGE_ASC' | 'STORAGE_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC';
66
+ export type EntityTypeProvisionOrderBy = 'AGENTS_ASC' | 'AGENTS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FUNCTIONS_ASC' | 'FUNCTIONS_DESC' | 'GRAPHS_ASC' | 'GRAPHS_DESC' | 'HAS_INVITES_ASC' | 'HAS_INVITES_DESC' | 'HAS_INVITE_ACHIEVEMENTS_ASC' | 'HAS_INVITE_ACHIEVEMENTS_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'NAMESPACES_ASC' | 'NAMESPACES_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OUT_AGENT_MODULE_ID_ASC' | 'OUT_AGENT_MODULE_ID_DESC' | 'OUT_DEFINITIONS_TABLE_ID_ASC' | 'OUT_DEFINITIONS_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_EXECUTION_LOGS_TABLE_ID_ASC' | 'OUT_EXECUTION_LOGS_TABLE_ID_DESC' | 'OUT_FUNCTION_MODULE_ID_ASC' | 'OUT_FUNCTION_MODULE_ID_DESC' | 'OUT_GRAPHS_TABLE_ID_ASC' | 'OUT_GRAPHS_TABLE_ID_DESC' | 'OUT_GRAPH_MODULE_ID_ASC' | 'OUT_GRAPH_MODULE_ID_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC' | 'OUT_INVITES_MODULE_ID_ASC' | 'OUT_INVITES_MODULE_ID_DESC' | 'OUT_INVOCATIONS_TABLE_ID_ASC' | 'OUT_INVOCATIONS_TABLE_ID_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_NAMESPACES_TABLE_ID_ASC' | 'OUT_NAMESPACES_TABLE_ID_DESC' | 'OUT_NAMESPACE_EVENTS_TABLE_ID_ASC' | 'OUT_NAMESPACE_EVENTS_TABLE_ID_DESC' | 'OUT_NAMESPACE_MODULE_ID_ASC' | 'OUT_NAMESPACE_MODULE_ID_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'STORAGE_ASC' | 'STORAGE_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC';
67
67
  /** Methods to use when ordering `EventsModule`. */
68
68
  export type EventsModuleOrderBy = 'ACHIEVEMENT_REWARDS_TABLE_ID_ASC' | 'ACHIEVEMENT_REWARDS_TABLE_ID_DESC' | 'ACHIEVEMENT_REWARDS_TABLE_NAME_ASC' | 'ACHIEVEMENT_REWARDS_TABLE_NAME_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_CAPABILITIES_ASC' | 'DEFAULT_CAPABILITIES_DESC' | 'ENTITY_FIELD_ASC' | 'ENTITY_FIELD_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'EVENTS_TABLE_ID_ASC' | 'EVENTS_TABLE_ID_DESC' | 'EVENTS_TABLE_NAME_ASC' | 'EVENTS_TABLE_NAME_DESC' | 'EVENT_AGGREGATES_TABLE_ID_ASC' | 'EVENT_AGGREGATES_TABLE_ID_DESC' | 'EVENT_AGGREGATES_TABLE_NAME_ASC' | 'EVENT_AGGREGATES_TABLE_NAME_DESC' | 'EVENT_TYPES_TABLE_ID_ASC' | 'EVENT_TYPES_TABLE_ID_DESC' | 'EVENT_TYPES_TABLE_NAME_ASC' | 'EVENT_TYPES_TABLE_NAME_DESC' | 'EXPIRE_GRANTS_ASC' | 'EXPIRE_GRANTS_DESC' | 'GRANT_ACHIEVEMENT_ASC' | 'GRANT_ACHIEVEMENT_DESC' | 'ID_ASC' | 'ID_DESC' | 'INTERVAL_ASC' | 'INTERVAL_DESC' | 'LEVELS_TABLE_ID_ASC' | 'LEVELS_TABLE_ID_DESC' | 'LEVELS_TABLE_NAME_ASC' | 'LEVELS_TABLE_NAME_DESC' | 'LEVEL_ACHIEVED_ASC' | 'LEVEL_ACHIEVED_DESC' | 'LEVEL_GRANTS_TABLE_ID_ASC' | 'LEVEL_GRANTS_TABLE_ID_DESC' | 'LEVEL_GRANTS_TABLE_NAME_ASC' | 'LEVEL_GRANTS_TABLE_NAME_DESC' | 'LEVEL_REQUIREMENTS_TABLE_ID_ASC' | 'LEVEL_REQUIREMENTS_TABLE_ID_DESC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_ASC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_DESC' | 'NATURAL' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PREMAKE_ASC' | 'PREMAKE_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'RECOMPUTE_CAPABILITIES_ASC' | 'RECOMPUTE_CAPABILITIES_DESC' | 'RECORD_ERROR_ASC' | 'RECORD_ERROR_DESC' | 'RECORD_EVENT_ASC' | 'RECORD_EVENT_DESC' | 'REMOVE_EVENT_ASC' | 'REMOVE_EVENT_DESC' | 'RETENTION_ASC' | 'RETENTION_DESC' | 'REVOKE_ACHIEVEMENT_ASC' | 'REVOKE_ACHIEVEMENT_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'STEPS_REQUIRED_ASC' | 'STEPS_REQUIRED_DESC' | 'TG_ACHIEVEMENT_REWARD_ASC' | 'TG_ACHIEVEMENT_REWARD_DESC' | 'TG_CHECK_ACHIEVEMENTS_ASC' | 'TG_CHECK_ACHIEVEMENTS_DESC' | 'TG_EVENT_ASC' | 'TG_EVENT_BOOL_ASC' | 'TG_EVENT_BOOL_DESC' | 'TG_EVENT_DESC' | 'TG_EVENT_TOGGLE_ASC' | 'TG_EVENT_TOGGLE_BOOL_ASC' | 'TG_EVENT_TOGGLE_BOOL_DESC' | 'TG_EVENT_TOGGLE_DESC' | 'TG_LEVEL_GRANT_SYNC_ASC' | 'TG_LEVEL_GRANT_SYNC_DESC' | 'TG_UPDATE_AGGREGATES_ASC' | 'TG_UPDATE_AGGREGATES_DESC' | 'TRUST_LADDER_ASC' | 'TRUST_LADDER_DESC' | 'UPSERT_AGGREGATE_ASC' | 'UPSERT_AGGREGATE_DESC';
69
69
  /** Methods to use when ordering `FileRefField`. */
@@ -123,7 +123,7 @@ export type PagesModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'CREATED_AT_
123
123
  /** Methods to use when ordering `PhoneNumbersModule`. */
124
124
  export type PhoneNumbersModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
125
125
  /** Methods to use when ordering `PlansModule`. */
126
- export type PlansModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'APPLY_BILLING_PLAN_FUNCTION_ASC' | 'APPLY_BILLING_PLAN_FUNCTION_DESC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_ASC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_DESC' | 'APPLY_PLAN_CAPS_FUNCTION_ASC' | 'APPLY_PLAN_CAPS_FUNCTION_DESC' | 'APPLY_PLAN_FUNCTION_ASC' | 'APPLY_PLAN_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PLANS_TABLE_ID_ASC' | 'PLANS_TABLE_ID_DESC' | 'PLANS_TABLE_NAME_ASC' | 'PLANS_TABLE_NAME_DESC' | 'PLAN_CAPS_TABLE_ID_ASC' | 'PLAN_CAPS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_ID_ASC' | 'PLAN_LIMITS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_NAME_ASC' | 'PLAN_LIMITS_TABLE_NAME_DESC' | 'PLAN_METER_LIMITS_TABLE_ID_ASC' | 'PLAN_METER_LIMITS_TABLE_ID_DESC' | 'PLAN_OVERRIDES_TABLE_ID_ASC' | 'PLAN_OVERRIDES_TABLE_ID_DESC' | 'PLAN_PRICING_TABLE_ID_ASC' | 'PLAN_PRICING_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC';
126
+ export type PlansModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'APPLY_BILLING_PLAN_FUNCTION_ASC' | 'APPLY_BILLING_PLAN_FUNCTION_DESC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_ASC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_DESC' | 'APPLY_PLAN_CAPS_FUNCTION_ASC' | 'APPLY_PLAN_CAPS_FUNCTION_DESC' | 'APPLY_PLAN_FUNCTION_ASC' | 'APPLY_PLAN_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PLANS_TABLE_ID_ASC' | 'PLANS_TABLE_ID_DESC' | 'PLANS_TABLE_NAME_ASC' | 'PLANS_TABLE_NAME_DESC' | 'PLAN_CAPS_TABLE_ID_ASC' | 'PLAN_CAPS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_ID_ASC' | 'PLAN_LIMITS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_NAME_ASC' | 'PLAN_LIMITS_TABLE_NAME_DESC' | 'PLAN_METER_LIMITS_TABLE_ID_ASC' | 'PLAN_METER_LIMITS_TABLE_ID_DESC' | 'PLAN_PRICING_TABLE_ID_ASC' | 'PLAN_PRICING_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC';
127
127
  /** Methods to use when ordering `PrincipalAuthModule`. */
128
128
  export type PrincipalAuthModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'AUDITS_TABLE_ID_ASC' | 'AUDITS_TABLE_ID_DESC' | 'CREATE_ORG_API_KEY_FUNCTION_ASC' | 'CREATE_ORG_API_KEY_FUNCTION_DESC' | 'CREATE_ORG_PRINCIPAL_FUNCTION_ASC' | 'CREATE_ORG_PRINCIPAL_FUNCTION_DESC' | 'CREATE_PRINCIPAL_FUNCTION_ASC' | 'CREATE_PRINCIPAL_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_ASC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_DESC' | 'DELETE_PRINCIPAL_FUNCTION_ASC' | 'DELETE_PRINCIPAL_FUNCTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPALS_TABLE_ID_ASC' | 'PRINCIPALS_TABLE_ID_DESC' | 'PRINCIPALS_TABLE_NAME_ASC' | 'PRINCIPALS_TABLE_NAME_DESC' | 'PRINCIPAL_ENTITIES_TABLE_ID_ASC' | 'PRINCIPAL_ENTITIES_TABLE_ID_DESC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_ASC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'REVOKE_ORG_API_KEY_FUNCTION_ASC' | 'REVOKE_ORG_API_KEY_FUNCTION_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SWEEP_EXPIRED_PRINCIPALS_FUNCTION_ASC' | 'SWEEP_EXPIRED_PRINCIPALS_FUNCTION_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC';
129
129
  /** Methods to use when ordering `ProfilesModule`. */
@@ -790,6 +790,8 @@ export interface BillingProviderModuleFilter {
790
790
  billingWebhookEventsTableId?: UUIDFilter;
791
791
  /** Filter by the object’s `billingWebhookEventsTableName` field. */
792
792
  billingWebhookEventsTableName?: StringFilter;
793
+ /** Filter by the object’s `bindCheckoutSessionFunction` field. */
794
+ bindCheckoutSessionFunction?: StringFilter;
793
795
  /** Filter by the object’s `clearScheduledChangeFunction` field. */
794
796
  clearScheduledChangeFunction?: StringFilter;
795
797
  /** Filter by the object’s `databaseId` field. */
@@ -818,6 +820,8 @@ export interface BillingProviderModuleFilter {
818
820
  getFallbackFreePlanFunction?: StringFilter;
819
821
  /** Filter by the object’s `getPlanPricingByExternalPriceFunction` field. */
820
822
  getPlanPricingByExternalPriceFunction?: StringFilter;
823
+ /** Filter by the object’s `hasDueReconciliationsFunction` field. */
824
+ hasDueReconciliationsFunction?: StringFilter;
821
825
  /** Filter by the object’s `id` field. */
822
826
  id?: UUIDFilter;
823
827
  /** Filter by the object’s `listDueReconciliationsFunction` field. */
@@ -870,6 +874,8 @@ export interface BillingProviderModuleFilter {
870
874
  upsertBillingSubscriptionFunction?: StringFilter;
871
875
  /** Filter by the object’s `upsertInvoiceFunction` field. */
872
876
  upsertInvoiceFunction?: StringFilter;
877
+ /** Filter by the object’s `usageSyncShardCount` field. */
878
+ usageSyncShardCount?: IntFilter;
873
879
  }
874
880
  /** An input for mutations affecting `BillingProviderModule` */
875
881
  export interface BillingProviderModuleInput {
@@ -898,6 +904,7 @@ export interface BillingProviderModuleInput {
898
904
  billingSubscriptionsTableName?: string;
899
905
  billingWebhookEventsTableId?: string;
900
906
  billingWebhookEventsTableName?: string;
907
+ bindCheckoutSessionFunction?: string;
901
908
  clearScheduledChangeFunction?: string;
902
909
  databaseId: string;
903
910
  finishBillingOperationFunction?: string;
@@ -912,6 +919,7 @@ export interface BillingProviderModuleInput {
912
919
  getBillingSubscriptionFunction?: string;
913
920
  getFallbackFreePlanFunction?: string;
914
921
  getPlanPricingByExternalPriceFunction?: string;
922
+ hasDueReconciliationsFunction?: string;
915
923
  id?: string;
916
924
  listDueReconciliationsFunction?: string;
917
925
  listPendingUsageSyncFunction?: string;
@@ -936,6 +944,7 @@ export interface BillingProviderModuleInput {
936
944
  upsertBillingProductFunction?: string;
937
945
  upsertBillingSubscriptionFunction?: string;
938
946
  upsertInvoiceFunction?: string;
947
+ usageSyncShardCount?: number;
939
948
  }
940
949
  /** Represents an update to a `BillingProviderModule`. Fields that are set will be updated. */
941
950
  export interface BillingProviderModulePatch {
@@ -964,6 +973,7 @@ export interface BillingProviderModulePatch {
964
973
  billingSubscriptionsTableName?: string;
965
974
  billingWebhookEventsTableId?: string;
966
975
  billingWebhookEventsTableName?: string;
976
+ bindCheckoutSessionFunction?: string;
967
977
  clearScheduledChangeFunction?: string;
968
978
  databaseId?: string;
969
979
  finishBillingOperationFunction?: string;
@@ -978,6 +988,7 @@ export interface BillingProviderModulePatch {
978
988
  getBillingSubscriptionFunction?: string;
979
989
  getFallbackFreePlanFunction?: string;
980
990
  getPlanPricingByExternalPriceFunction?: string;
991
+ hasDueReconciliationsFunction?: string;
981
992
  id?: string;
982
993
  listDueReconciliationsFunction?: string;
983
994
  listPendingUsageSyncFunction?: string;
@@ -1002,6 +1013,7 @@ export interface BillingProviderModulePatch {
1002
1013
  upsertBillingProductFunction?: string;
1003
1014
  upsertBillingSubscriptionFunction?: string;
1004
1015
  upsertInvoiceFunction?: string;
1016
+ usageSyncShardCount?: number;
1005
1017
  }
1006
1018
  /** A filter to be used against `BlueprintConstruction` object types. All fields are combined with a logical ‘and.’ */
1007
1019
  export interface BlueprintConstructionFilter {
@@ -4120,8 +4132,6 @@ export interface EntityTypeProvisionFilter {
4120
4132
  or?: EntityTypeProvisionFilter[];
4121
4133
  /** Filter by the object’s `outAgentModuleId` field. */
4122
4134
  outAgentModuleId?: UUIDFilter;
4123
- /** Filter by the object’s `outBucketsTableId` field. */
4124
- outBucketsTableId?: UUIDFilter;
4125
4135
  /** Filter by the object’s `outDefinitionsTableId` field. */
4126
4136
  outDefinitionsTableId?: UUIDFilter;
4127
4137
  /** Filter by the object’s `outEntityTableId` field. */
@@ -4130,8 +4140,6 @@ export interface EntityTypeProvisionFilter {
4130
4140
  outEntityTableName?: StringFilter;
4131
4141
  /** Filter by the object’s `outExecutionLogsTableId` field. */
4132
4142
  outExecutionLogsTableId?: UUIDFilter;
4133
- /** Filter by the object’s `outFilesTableId` field. */
4134
- outFilesTableId?: UUIDFilter;
4135
4143
  /** Filter by the object’s `outFunctionModuleId` field. */
4136
4144
  outFunctionModuleId?: UUIDFilter;
4137
4145
  /** Filter by the object’s `outGraphModuleId` field. */
@@ -4152,10 +4160,6 @@ export interface EntityTypeProvisionFilter {
4152
4160
  outNamespaceModuleId?: UUIDFilter;
4153
4161
  /** Filter by the object’s `outNamespacesTableId` field. */
4154
4162
  outNamespacesTableId?: UUIDFilter;
4155
- /** Filter by the object’s `outPathSharesTableId` field. */
4156
- outPathSharesTableId?: UUIDFilter;
4157
- /** Filter by the object’s `outStorageModuleId` field. */
4158
- outStorageModuleId?: UUIDFilter;
4159
4163
  /** Filter by the object’s `parentEntity` field. */
4160
4164
  parentEntity?: StringFilter;
4161
4165
  /** Filter by the object’s `prefix` field. */
@@ -4272,8 +4276,6 @@ export interface EntityTypeProvisionInput {
4272
4276
  */
4273
4277
  namespaces?: unknown;
4274
4278
  outAgentModuleId?: string;
4275
- /** Output: the UUID of the generated buckets table (e.g. data_room_buckets). Populated by the trigger when storage is non-NULL and non-empty. */
4276
- outBucketsTableId?: string;
4277
4279
  outDefinitionsTableId?: string;
4278
4280
  /**
4279
4281
  * Output: the UUID of the created entity table. Populated by the trigger.
@@ -4283,8 +4285,6 @@ export interface EntityTypeProvisionInput {
4283
4285
  /** Output: the name of the created entity table (e.g. 'data_rooms'). Populated by the trigger. */
4284
4286
  outEntityTableName?: string;
4285
4287
  outExecutionLogsTableId?: string;
4286
- /** Output: the UUID of the generated files table (e.g. data_room_files). Populated by the trigger when storage is non-NULL and non-empty. */
4287
- outFilesTableId?: string;
4288
4288
  outFunctionModuleId?: string;
4289
4289
  outGraphModuleId?: string;
4290
4290
  outGraphsTableId?: string;
@@ -4320,9 +4320,6 @@ export interface EntityTypeProvisionInput {
4320
4320
  * Populated by the trigger when namespaces is non-NULL. NULL otherwise.
4321
4321
  */
4322
4322
  outNamespacesTableId?: string;
4323
- outPathSharesTableId?: string;
4324
- /** Output: the UUID of the storage_module row created for this entity type. Populated by the trigger when storage is non-NULL and non-empty. */
4325
- outStorageModuleId?: string;
4326
4323
  /**
4327
4324
  * Prefix of the parent entity type. The trigger resolves this to a membership_type integer
4328
4325
  * by looking up memberships_module WHERE prefix = parent_entity.
@@ -4362,7 +4359,6 @@ export interface EntityTypeProvisionInput {
4362
4359
  * - key (text) module discriminator, max 16 chars, lowercase snake_case.
4363
4360
  * Defaults to 'default' (omitted from table names).
4364
4361
  * Non-default keys become infixes: {prefix}_{key}_buckets.
4365
- * (storage_key accepted for backward compat)
4366
4362
  * - upload_url_expiry_seconds (integer) presigned PUT URL expiry override
4367
4363
  * - download_url_expiry_seconds (integer) presigned GET URL expiry override
4368
4364
  * - default_max_file_size (bigint) global max file size in bytes for this module
@@ -4379,7 +4375,7 @@ export interface EntityTypeProvisionInput {
4379
4375
  * Each bucket: { name (required), description, is_public, allowed_mime_types, max_file_size, allowed_origins }
4380
4376
  * - provisions (jsonb object) per-table customization keyed by "files" or "buckets".
4381
4377
  * Each value: { nodes, fields, grants, use_rls, policies }.
4382
- * Example (single module, backward compat):
4378
+ * Example (single module):
4383
4379
  * storage := '[{"buckets": [{"name": "documents"}]}]'::jsonb
4384
4380
  * Example (multi-module):
4385
4381
  * storage := '[{"has_path_shares": true, "buckets": [{"name": "documents"}]}, {"key": "fn", "has_custom_keys": true, "buckets": [{"name": "functions"}]}]'::jsonb
@@ -4527,8 +4523,6 @@ export interface EntityTypeProvisionPatch {
4527
4523
  */
4528
4524
  namespaces?: unknown;
4529
4525
  outAgentModuleId?: string;
4530
- /** Output: the UUID of the generated buckets table (e.g. data_room_buckets). Populated by the trigger when storage is non-NULL and non-empty. */
4531
- outBucketsTableId?: string;
4532
4526
  outDefinitionsTableId?: string;
4533
4527
  /**
4534
4528
  * Output: the UUID of the created entity table. Populated by the trigger.
@@ -4538,8 +4532,6 @@ export interface EntityTypeProvisionPatch {
4538
4532
  /** Output: the name of the created entity table (e.g. 'data_rooms'). Populated by the trigger. */
4539
4533
  outEntityTableName?: string;
4540
4534
  outExecutionLogsTableId?: string;
4541
- /** Output: the UUID of the generated files table (e.g. data_room_files). Populated by the trigger when storage is non-NULL and non-empty. */
4542
- outFilesTableId?: string;
4543
4535
  outFunctionModuleId?: string;
4544
4536
  outGraphModuleId?: string;
4545
4537
  outGraphsTableId?: string;
@@ -4575,9 +4567,6 @@ export interface EntityTypeProvisionPatch {
4575
4567
  * Populated by the trigger when namespaces is non-NULL. NULL otherwise.
4576
4568
  */
4577
4569
  outNamespacesTableId?: string;
4578
- outPathSharesTableId?: string;
4579
- /** Output: the UUID of the storage_module row created for this entity type. Populated by the trigger when storage is non-NULL and non-empty. */
4580
- outStorageModuleId?: string;
4581
4570
  /**
4582
4571
  * Prefix of the parent entity type. The trigger resolves this to a membership_type integer
4583
4572
  * by looking up memberships_module WHERE prefix = parent_entity.
@@ -4617,7 +4606,6 @@ export interface EntityTypeProvisionPatch {
4617
4606
  * - key (text) module discriminator, max 16 chars, lowercase snake_case.
4618
4607
  * Defaults to 'default' (omitted from table names).
4619
4608
  * Non-default keys become infixes: {prefix}_{key}_buckets.
4620
- * (storage_key accepted for backward compat)
4621
4609
  * - upload_url_expiry_seconds (integer) presigned PUT URL expiry override
4622
4610
  * - download_url_expiry_seconds (integer) presigned GET URL expiry override
4623
4611
  * - default_max_file_size (bigint) global max file size in bytes for this module
@@ -4634,7 +4622,7 @@ export interface EntityTypeProvisionPatch {
4634
4622
  * Each bucket: { name (required), description, is_public, allowed_mime_types, max_file_size, allowed_origins }
4635
4623
  * - provisions (jsonb object) per-table customization keyed by "files" or "buckets".
4636
4624
  * Each value: { nodes, fields, grants, use_rls, policies }.
4637
- * Example (single module, backward compat):
4625
+ * Example (single module):
4638
4626
  * storage := '[{"buckets": [{"name": "documents"}]}]'::jsonb
4639
4627
  * Example (multi-module):
4640
4628
  * storage := '[{"has_path_shares": true, "buckets": [{"name": "documents"}]}, {"key": "fn", "has_custom_keys": true, "buckets": [{"name": "functions"}]}]'::jsonb
@@ -7769,8 +7757,6 @@ export interface PlansModuleFilter {
7769
7757
  planLimitsTableName?: StringFilter;
7770
7758
  /** Filter by the object’s `planMeterLimitsTableId` field. */
7771
7759
  planMeterLimitsTableId?: UUIDFilter;
7772
- /** Filter by the object’s `planOverridesTableId` field. */
7773
- planOverridesTableId?: UUIDFilter;
7774
7760
  /** Filter by the object’s `planPricingTableId` field. */
7775
7761
  planPricingTableId?: UUIDFilter;
7776
7762
  /** Filter by the object’s `plansTableId` field. */
@@ -7803,7 +7789,6 @@ export interface PlansModuleInput {
7803
7789
  planLimitsTableId?: string;
7804
7790
  planLimitsTableName?: string;
7805
7791
  planMeterLimitsTableId?: string;
7806
- planOverridesTableId?: string;
7807
7792
  planPricingTableId?: string;
7808
7793
  plansTableId?: string;
7809
7794
  plansTableName?: string;
@@ -7827,7 +7812,6 @@ export interface PlansModulePatch {
7827
7812
  planLimitsTableId?: string;
7828
7813
  planLimitsTableName?: string;
7829
7814
  planMeterLimitsTableId?: string;
7830
- planOverridesTableId?: string;
7831
7815
  planPricingTableId?: string;
7832
7816
  plansTableId?: string;
7833
7817
  plansTableName?: string;
@@ -159,6 +159,7 @@ export interface BillingProviderModule {
159
159
  billingSubscriptionsTableName: string | null;
160
160
  billingWebhookEventsTableId: string | null;
161
161
  billingWebhookEventsTableName: string | null;
162
+ bindCheckoutSessionFunction: string | null;
162
163
  clearScheduledChangeFunction: string | null;
163
164
  databaseId: string | null;
164
165
  finishBillingOperationFunction: string | null;
@@ -173,6 +174,7 @@ export interface BillingProviderModule {
173
174
  getBillingSubscriptionFunction: string | null;
174
175
  getFallbackFreePlanFunction: string | null;
175
176
  getPlanPricingByExternalPriceFunction: string | null;
177
+ hasDueReconciliationsFunction: string | null;
176
178
  id: string | null;
177
179
  listDueReconciliationsFunction: string | null;
178
180
  listPendingUsageSyncFunction: string | null;
@@ -197,6 +199,7 @@ export interface BillingProviderModule {
197
199
  upsertBillingProductFunction: string | null;
198
200
  upsertBillingSubscriptionFunction: string | null;
199
201
  upsertInvoiceFunction: string | null;
202
+ usageSyncShardCount: number | null;
200
203
  }
201
204
  export interface Blueprint {
202
205
  createdAt: string | null;
@@ -665,12 +668,10 @@ export interface EntityTypeProvision {
665
668
  name: string | null;
666
669
  namespaces: unknown | null;
667
670
  outAgentModuleId: string | null;
668
- outBucketsTableId: string | null;
669
671
  outDefinitionsTableId: string | null;
670
672
  outEntityTableId: string | null;
671
673
  outEntityTableName: string | null;
672
674
  outExecutionLogsTableId: string | null;
673
- outFilesTableId: string | null;
674
675
  outFunctionModuleId: string | null;
675
676
  outGraphModuleId: string | null;
676
677
  outGraphsTableId: string | null;
@@ -681,8 +682,6 @@ export interface EntityTypeProvision {
681
682
  outNamespaceEventsTableId: string | null;
682
683
  outNamespaceModuleId: string | null;
683
684
  outNamespacesTableId: string | null;
684
- outPathSharesTableId: string | null;
685
- outStorageModuleId: string | null;
686
685
  parentEntity: string | null;
687
686
  prefix: string | null;
688
687
  skipEntityPolicies: boolean | null;
@@ -1344,7 +1343,6 @@ export interface PlansModule {
1344
1343
  planLimitsTableId: string | null;
1345
1344
  planLimitsTableName: string | null;
1346
1345
  planMeterLimitsTableId: string | null;
1347
- planOverridesTableId: string | null;
1348
1346
  planPricingTableId: string | null;
1349
1347
  plansTableId: string | null;
1350
1348
  plansTableName: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/react",
3
- "version": "1.19.7",
3
+ "version": "1.19.9",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive React - Auto-generated React Query hooks and ORM client",
6
6
  "main": "index.js",
@@ -41,8 +41,8 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@0no-co/graphql.web": "^1.3.3",
44
- "@constructive-io/graphql-query": "^4.20.7",
45
- "@constructive-io/graphql-types": "^3.33.5",
44
+ "@constructive-io/graphql-query": "^4.20.8",
45
+ "@constructive-io/graphql-types": "^3.33.6",
46
46
  "@tanstack/react-query": "^5.90.21",
47
47
  "gql-ast": "^3.25.0",
48
48
  "graphql": "16.13.0"
@@ -51,7 +51,7 @@
51
51
  "react": "^18.0.0 || ^19.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@constructive-io/graphql-codegen": "^5.23.7",
54
+ "@constructive-io/graphql-codegen": "^5.23.8",
55
55
  "@types/node": "^22.19.11",
56
56
  "@types/react": "^19.2.18",
57
57
  "makage": "^0.8.0",
@@ -59,5 +59,5 @@
59
59
  "tsx": "^4.19.0",
60
60
  "typescript": "^6.0.3"
61
61
  },
62
- "gitHead": "1bab719e353dad566819d58ba7912dd335ef51c4"
62
+ "gitHead": "a95137c03998f4ef18aaba770bdeb598077e5b51"
63
63
  }
@@ -251,6 +251,8 @@ export interface Machine {
251
251
  policy?: Record<string, unknown> | null;
252
252
  /** Principal this machine acts as (set with the row by <machines_table>_enroll) */
253
253
  principalId?: string | null;
254
+ /** Relay the runner was enrolled against (wss://...); clients attach through the same one */
255
+ relayUrl?: string | null;
254
256
  /** When enrollment was revoked; the relay refuses a revoked machine */
255
257
  revokedAt?: string | null;
256
258
  /** Hash of the enrollment credential the runner presents */
@@ -371,6 +373,7 @@ export type MachineSelect = {
371
373
  ownerId?: boolean;
372
374
  policy?: boolean;
373
375
  principalId?: boolean;
376
+ relayUrl?: boolean;
374
377
  revokedAt?: boolean;
375
378
  tokenHash?: boolean;
376
379
  updatedAt?: boolean;
@@ -472,6 +475,8 @@ export interface MachineFilter {
472
475
  policy?: JSONFilter;
473
476
  /** Filter by the object’s `principalId` field. */
474
477
  principalId?: UUIDFilter;
478
+ /** Filter by the object’s `relayUrl` field. */
479
+ relayUrl?: StringFilter;
475
480
  /** Filter by the object’s `revokedAt` field. */
476
481
  revokedAt?: DatetimeFilter;
477
482
  /** Filter by the object’s `tokenHash` field. */
@@ -583,7 +588,7 @@ export interface MachineSessionFilter {
583
588
  /** Filter by the object’s `updatedByPrincipal` field. */
584
589
  updatedByPrincipal?: UUIDFilter;
585
590
  }
586
- export type MachineOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'FACTS_ASC' | 'FACTS_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_SHARED_ASC' | 'IS_SHARED_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'LAST_SEEN_AT_ASC' | 'LAST_SEEN_AT_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'POLICY_ASC' | 'POLICY_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'TOKEN_HASH_ASC' | 'TOKEN_HASH_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
591
+ export type MachineOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'FACTS_ASC' | 'FACTS_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_SHARED_ASC' | 'IS_SHARED_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'LAST_SEEN_AT_ASC' | 'LAST_SEEN_AT_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'POLICY_ASC' | 'POLICY_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'RELAY_URL_ASC' | 'RELAY_URL_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'TOKEN_HASH_ASC' | 'TOKEN_HASH_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
587
592
  export type MachineMessageOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RECORDED_AT_ASC' | 'RECORDED_AT_DESC' | 'SEQ_ASC' | 'SEQ_DESC' | 'SESSION_ID_ASC' | 'SESSION_ID_DESC';
588
593
  export type MachineSessionOrderBy = 'AGENT_MODE_ASC' | 'AGENT_MODE_DESC' | 'AGENT_SESSION_REF_ASC' | 'AGENT_SESSION_REF_DESC' | 'ARGS_ASC' | 'ARGS_DESC' | 'COLS_ASC' | 'COLS_DESC' | 'COMMAND_ASC' | 'COMMAND_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'CWD_ASC' | 'CWD_DESC' | 'ENDED_AT_ASC' | 'ENDED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENV_ASC' | 'ENV_DESC' | 'EXIT_CODE_ASC' | 'EXIT_CODE_DESC' | 'ID_ASC' | 'ID_DESC' | 'INTERACTIVE_ASC' | 'INTERACTIVE_DESC' | 'LAST_ACTIVITY_AT_ASC' | 'LAST_ACTIVITY_AT_DESC' | 'LAST_SEQ_ASC' | 'LAST_SEQ_DESC' | 'MACHINE_ID_ASC' | 'MACHINE_ID_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PID_ASC' | 'PID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RUN_ID_ASC' | 'RUN_ID_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATE_ASC' | 'STATE_DESC' | 'TERM_ROWS_ASC' | 'TERM_ROWS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
589
594
  export interface CreateMachineInput {
@@ -599,6 +604,7 @@ export interface CreateMachineInput {
599
604
  ownerId: string;
600
605
  policy?: Record<string, unknown>;
601
606
  principalId?: string;
607
+ relayUrl?: string;
602
608
  revokedAt?: string;
603
609
  tokenHash: string;
604
610
  updatedBy?: string;
@@ -616,6 +622,7 @@ export interface MachinePatch {
616
622
  ownerId?: string | null;
617
623
  policy?: Record<string, unknown> | null;
618
624
  principalId?: string | null;
625
+ relayUrl?: string | null;
619
626
  revokedAt?: string | null;
620
627
  tokenHash?: string | null;
621
628
  updatedBy?: string | null;
@@ -733,6 +740,7 @@ export interface MachinesEnrollInput {
733
740
  entityId?: string;
734
741
  isShared?: boolean;
735
742
  label?: string;
743
+ relayUrl?: string;
736
744
  tokenHash?: string;
737
745
  }
738
746
  export interface ProvisionBucketInput {
@@ -784,6 +792,8 @@ export interface MachineInput {
784
792
  policy?: Record<string, unknown>;
785
793
  /** Principal this machine acts as (set with the row by <machines_table>_enroll) */
786
794
  principalId?: string;
795
+ /** Relay the runner was enrolled against (wss://...); clients attach through the same one */
796
+ relayUrl?: string;
787
797
  /** When enrollment was revoked; the relay refuses a revoked machine */
788
798
  revokedAt?: string;
789
799
  /** Hash of the enrollment credential the runner presents */
@@ -1275,6 +1285,8 @@ export interface MachineFilter {
1275
1285
  policy?: JSONFilter;
1276
1286
  /** Filter by the object’s `principalId` field. */
1277
1287
  principalId?: UUIDFilter;
1288
+ /** Filter by the object’s `relayUrl` field. */
1289
+ relayUrl?: StringFilter;
1278
1290
  /** Filter by the object’s `revokedAt` field. */
1279
1291
  revokedAt?: DatetimeFilter;
1280
1292
  /** Filter by the object’s `tokenHash` field. */
@@ -7,7 +7,7 @@ import type { Machine, MachineMessage, MachineSession, BigIntFilter, BooleanFilt
7
7
  /** Methods to use when ordering `MachineMessage`. */
8
8
  export type MachineMessageOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RECORDED_AT_ASC' | 'RECORDED_AT_DESC' | 'SEQ_ASC' | 'SEQ_DESC' | 'SESSION_ID_ASC' | 'SESSION_ID_DESC';
9
9
  /** Methods to use when ordering `Machine`. */
10
- export type MachineOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'FACTS_ASC' | 'FACTS_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_SHARED_ASC' | 'IS_SHARED_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'LAST_SEEN_AT_ASC' | 'LAST_SEEN_AT_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'POLICY_ASC' | 'POLICY_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'TOKEN_HASH_ASC' | 'TOKEN_HASH_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
10
+ export type MachineOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'FACTS_ASC' | 'FACTS_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_SHARED_ASC' | 'IS_SHARED_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'LAST_SEEN_AT_ASC' | 'LAST_SEEN_AT_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'POLICY_ASC' | 'POLICY_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'RELAY_URL_ASC' | 'RELAY_URL_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'TOKEN_HASH_ASC' | 'TOKEN_HASH_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
11
11
  /** Methods to use when ordering `MachineSession`. */
12
12
  export type MachineSessionOrderBy = 'AGENT_MODE_ASC' | 'AGENT_MODE_DESC' | 'AGENT_SESSION_REF_ASC' | 'AGENT_SESSION_REF_DESC' | 'ARGS_ASC' | 'ARGS_DESC' | 'COLS_ASC' | 'COLS_DESC' | 'COMMAND_ASC' | 'COMMAND_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'CWD_ASC' | 'CWD_DESC' | 'ENDED_AT_ASC' | 'ENDED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENV_ASC' | 'ENV_DESC' | 'EXIT_CODE_ASC' | 'EXIT_CODE_DESC' | 'ID_ASC' | 'ID_DESC' | 'INTERACTIVE_ASC' | 'INTERACTIVE_DESC' | 'LAST_ACTIVITY_AT_ASC' | 'LAST_ACTIVITY_AT_DESC' | 'LAST_SEQ_ASC' | 'LAST_SEQ_DESC' | 'MACHINE_ID_ASC' | 'MACHINE_ID_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PID_ASC' | 'PID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RUN_ID_ASC' | 'RUN_ID_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATE_ASC' | 'STATE_DESC' | 'TERM_ROWS_ASC' | 'TERM_ROWS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
13
13
  export interface CreateMachineInput {
@@ -76,6 +76,8 @@ export interface MachineFilter {
76
76
  policy?: JSONFilter;
77
77
  /** Filter by the object’s `principalId` field. */
78
78
  principalId?: UUIDFilter;
79
+ /** Filter by the object’s `relayUrl` field. */
80
+ relayUrl?: StringFilter;
79
81
  /** Filter by the object’s `revokedAt` field. */
80
82
  revokedAt?: DatetimeFilter;
81
83
  /** Filter by the object’s `tokenHash` field. */
@@ -109,6 +111,8 @@ export interface MachineInput {
109
111
  policy?: unknown;
110
112
  /** Principal this machine acts as (set with the row by <machines_table>_enroll) */
111
113
  principalId?: string;
114
+ /** Relay the runner was enrolled against (wss://...); clients attach through the same one */
115
+ relayUrl?: string;
112
116
  /** When enrollment was revoked; the relay refuses a revoked machine */
113
117
  revokedAt?: string;
114
118
  /** Hash of the enrollment credential the runner presents */
@@ -212,6 +216,8 @@ export interface MachinePatch {
212
216
  policy?: unknown;
213
217
  /** Principal this machine acts as (set with the row by <machines_table>_enroll) */
214
218
  principalId?: string;
219
+ /** Relay the runner was enrolled against (wss://...); clients attach through the same one */
220
+ relayUrl?: string;
215
221
  /** When enrollment was revoked; the relay refuses a revoked machine */
216
222
  revokedAt?: string;
217
223
  /** Hash of the enrollment credential the runner presents */
@@ -416,6 +422,7 @@ export interface MachinesEnrollInput {
416
422
  entityId?: string;
417
423
  isShared?: boolean;
418
424
  label?: string;
425
+ relayUrl?: string;
419
426
  tokenHash?: string;
420
427
  }
421
428
  export interface ProvisionBucketInput {
package/remote/types.d.ts CHANGED
@@ -16,6 +16,7 @@ export interface Machine {
16
16
  ownerId: string | null;
17
17
  policy: unknown | null;
18
18
  principalId: string | null;
19
+ relayUrl: string | null;
19
20
  revokedAt: string | null;
20
21
  tokenHash: string | null;
21
22
  updatedAt: string | null;
@@ -1,20 +0,0 @@
1
- /**
2
- * Custom mutation hook for provisionNewUser
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
- import type { ProvisionNewUserVariables } from '../../orm/mutation';
8
- import type { ProvisionNewUserPayloadSelect, ProvisionNewUserPayload } from '../../orm/input-types';
9
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
10
- export type { ProvisionNewUserVariables } from '../../orm/mutation';
11
- export type { ProvisionNewUserPayloadSelect } from '../../orm/input-types';
12
- export declare function useProvisionNewUserMutation<S extends ProvisionNewUserPayloadSelect>(params: {
13
- selection: {
14
- fields: S & ProvisionNewUserPayloadSelect;
15
- } & HookStrictSelect<NoInfer<S>, ProvisionNewUserPayloadSelect>;
16
- } & Omit<UseMutationOptions<{
17
- provisionNewUser: InferSelectResult<ProvisionNewUserPayload, S> | null;
18
- }, Error, ProvisionNewUserVariables>, 'mutationFn'>): UseMutationResult<{
19
- provisionNewUser: InferSelectResult<ProvisionNewUserPayload, S> | null;
20
- }, Error, ProvisionNewUserVariables>;
@@ -1,20 +0,0 @@
1
- /**
2
- * Custom mutation hook for provisionNewUser
3
- * @generated by @constructive-io/graphql-codegen
4
- * DO NOT EDIT - changes will be overwritten
5
- */
6
- import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
7
- import type { ProvisionNewUserVariables } from '../../orm/mutation';
8
- import type { ProvisionNewUserPayloadSelect, ProvisionNewUserPayload } from '../../orm/input-types';
9
- import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
10
- export type { ProvisionNewUserVariables } from '../../orm/mutation';
11
- export type { ProvisionNewUserPayloadSelect } from '../../orm/input-types';
12
- export declare function useProvisionNewUserMutation<S extends ProvisionNewUserPayloadSelect>(params: {
13
- selection: {
14
- fields: S & ProvisionNewUserPayloadSelect;
15
- } & HookStrictSelect<NoInfer<S>, ProvisionNewUserPayloadSelect>;
16
- } & Omit<UseMutationOptions<{
17
- provisionNewUser: InferSelectResult<ProvisionNewUserPayload, S> | null;
18
- }, Error, ProvisionNewUserVariables>, 'mutationFn'>): UseMutationResult<{
19
- provisionNewUser: InferSelectResult<ProvisionNewUserPayload, S> | null;
20
- }, Error, ProvisionNewUserVariables>;