@objectstack/platform-objects 14.3.0 → 14.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -916,14 +916,64 @@ var enObjects = {
916
916
  label: "Ban Expires",
917
917
  help: "When set, the ban auto-clears at this time."
918
918
  },
919
+ failed_login_count: {
920
+ label: "Failed Login Count",
921
+ help: "Consecutive failed sign-in attempts; reset to 0 on success. Maintained by the auth manager."
922
+ },
923
+ locked_until: {
924
+ label: "Locked Until",
925
+ help: "When set and in the future, sign-in is rejected (brute-force lockout). Auto-clears past this time; an admin can clear it early via Unlock."
926
+ },
927
+ password_changed_at: {
928
+ label: "Password Changed At",
929
+ help: "Timestamp of the last password change. Backs password_expiry_days; system-managed."
930
+ },
931
+ phone_number: {
932
+ label: "Phone Number",
933
+ help: "Sign-in phone number (E.164 recommended). Unique per user; managed by better-auth when the phoneNumber plugin is enabled."
934
+ },
935
+ phone_number_verified: {
936
+ label: "Phone Verified",
937
+ help: "Whether the phone number has been verified (OTP verification requires SMS infrastructure; false until that ships). System-managed."
938
+ },
939
+ must_change_password: {
940
+ label: "Must Change Password",
941
+ help: "When true, the user is blocked (403 PASSWORD_EXPIRED) until they change their password. Stamped by the admin user-management routes; system-managed."
942
+ },
943
+ mfa_required_at: {
944
+ label: "MFA Required At",
945
+ help: "When enforced MFA first applied to this user (grace-period clock). Backs mfa_required; system-managed."
946
+ },
947
+ last_login_at: {
948
+ label: "Last Login At",
949
+ help: "Timestamp of the last successful sign-in. Stamped by the auth manager; system-managed."
950
+ },
951
+ last_login_ip: {
952
+ label: "Last Login IP",
953
+ help: "Client IP of the last successful sign-in (from the trusted proxy forwarded header). System-managed."
954
+ },
955
+ ai_access: {
956
+ label: "AI Access",
957
+ help: "Whether this user holds an AI seat \u2014 grants access to the in-UI AI agents (build / ask). The framework synthesizes the `ai_seat` capability from this flag (plugin-hono-server resolveCtx). Assignment is capped by the licensed / purchased seat count (enforced by @objectstack/security-enterprise AiSeatPlugin). Owned by objectql (better-auth is oblivious to this column)."
958
+ },
919
959
  image: {
920
960
  label: "Profile Image"
921
961
  },
922
962
  manager_id: {
923
- label: "Manager"
963
+ label: "Manager",
964
+ help: "This user's direct manager. Forms the reporting chain the `own_and_reports` hierarchy scope walks (ADR-0057 / @objectstack/security-enterprise)."
924
965
  },
925
966
  primary_business_unit_id: {
926
- label: "Primary Business Unit"
967
+ label: "Primary Business Unit",
968
+ help: "The user's primary business unit \u2014 a denormalised projection of sys_business_unit_member.is_primary, maintained by plugin-sharing (ADR-0057 addendum D12). Lets a user-lookup filter candidates by business unit without traversing the membership junction. Do not edit directly; set it via business-unit membership."
969
+ },
970
+ source: {
971
+ label: "Identity Source",
972
+ help: "How this identity was created \u2014 idp_provisioned (federated SSO JIT) or env_native (local signup / app end-user). System-managed; do not edit.",
973
+ options: {
974
+ idp_provisioned: "IdP-Provisioned",
975
+ env_native: "Env-Native"
976
+ }
927
977
  },
928
978
  id: {
929
979
  label: "User ID"
@@ -966,6 +1016,14 @@ var enObjects = {
966
1016
  label: "Unban User",
967
1017
  successMessage: "User unbanned"
968
1018
  },
1019
+ unlock_user: {
1020
+ label: "Unlock Account",
1021
+ successMessage: "Account unlocked"
1022
+ },
1023
+ create_user: {
1024
+ label: "Create User",
1025
+ successMessage: "User created"
1026
+ },
969
1027
  set_user_password: {
970
1028
  label: "Set Password",
971
1029
  successMessage: "Password updated"
@@ -1027,6 +1085,18 @@ var enObjects = {
1027
1085
  expires_at: {
1028
1086
  label: "Expires At"
1029
1087
  },
1088
+ last_activity_at: {
1089
+ label: "Last Activity At",
1090
+ help: "Timestamp of the last request on this session; drives idle-timeout. System-managed."
1091
+ },
1092
+ revoked_at: {
1093
+ label: "Revoked At",
1094
+ help: "When set, this session was revoked (idle / absolute-max / concurrent-cap / admin). System-managed."
1095
+ },
1096
+ revoke_reason: {
1097
+ label: "Revoke Reason",
1098
+ help: "Why the session was revoked (idle_timeout, absolute_max, concurrent_cap, \u2026)."
1099
+ },
1030
1100
  active_organization_id: {
1031
1101
  label: "Active Organization"
1032
1102
  },
@@ -1125,6 +1195,10 @@ var enObjects = {
1125
1195
  password: {
1126
1196
  label: "Password Hash",
1127
1197
  help: "Hashed password for email/password provider"
1198
+ },
1199
+ previous_password_hashes: {
1200
+ label: "Previous Password Hashes",
1201
+ help: "JSON array of prior password hashes (bounded by password_history_count); reuse-prevention only. System-managed."
1128
1202
  }
1129
1203
  },
1130
1204
  _views: {
@@ -1195,6 +1269,10 @@ var enObjects = {
1195
1269
  label: "Metadata",
1196
1270
  help: "JSON-serialized organization metadata"
1197
1271
  },
1272
+ require_mfa: {
1273
+ label: "Require Multi-Factor Auth",
1274
+ help: "When true, every member of this organization must enroll an authenticator app to access data."
1275
+ },
1198
1276
  id: {
1199
1277
  label: "Organization ID"
1200
1278
  },
@@ -1519,6 +1597,9 @@ var enObjects = {
1519
1597
  }
1520
1598
  },
1521
1599
  _views: {
1600
+ org_chart: {
1601
+ label: "Org Chart"
1602
+ },
1522
1603
  active: {
1523
1604
  label: "Active"
1524
1605
  },
@@ -2100,263 +2181,57 @@ var enObjects = {
2100
2181
  }
2101
2182
  }
2102
2183
  },
2103
- sys_audit_log: {
2104
- label: "Audit Log",
2105
- pluralLabel: "Audit Logs",
2106
- description: "Immutable audit trail for platform events",
2107
- fields: {
2108
- created_at: {
2109
- label: "Timestamp"
2110
- },
2111
- action: {
2112
- label: "Action",
2113
- help: "Action type (snake_case)",
2114
- options: {
2115
- create: "create",
2116
- update: "update",
2117
- delete: "delete",
2118
- restore: "restore",
2119
- login: "login",
2120
- logout: "logout",
2121
- permission_change: "permission_change",
2122
- config_change: "config_change",
2123
- export: "export",
2124
- import: "import"
2125
- }
2126
- },
2127
- user_id: {
2128
- label: "Actor",
2129
- help: "User who performed the action (null for system actions)"
2130
- },
2131
- object_name: {
2132
- label: "Object",
2133
- help: "Target object (e.g. sys_user, project_task)"
2134
- },
2135
- record_id: {
2136
- label: "Record ID",
2137
- help: "ID of the affected record"
2138
- },
2139
- old_value: {
2140
- label: "Old Value",
2141
- help: "JSON-serialized previous state"
2142
- },
2143
- new_value: {
2144
- label: "New Value",
2145
- help: "JSON-serialized new state"
2146
- },
2147
- ip_address: {
2148
- label: "IP Address"
2149
- },
2150
- user_agent: {
2151
- label: "User Agent"
2152
- },
2153
- tenant_id: {
2154
- label: "Tenant",
2155
- help: "Tenant context for multi-tenant isolation"
2156
- },
2157
- metadata: {
2158
- label: "Metadata",
2159
- help: "JSON-serialized additional context"
2160
- },
2161
- id: {
2162
- label: "Audit Log ID"
2163
- }
2164
- },
2165
- _views: {
2166
- recent: {
2167
- label: "Recent"
2168
- },
2169
- writes_only: {
2170
- label: "Writes"
2171
- },
2172
- auth_events: {
2173
- label: "Auth"
2174
- },
2175
- config_changes: {
2176
- label: "Config"
2177
- },
2178
- all_events: {
2179
- label: "All"
2180
- }
2181
- }
2182
- },
2183
- sys_presence: {
2184
- label: "Presence",
2185
- pluralLabel: "Presences",
2186
- description: "Real-time user presence and activity tracking",
2184
+ sys_notification: {
2185
+ label: "Notification",
2186
+ pluralLabel: "Notifications",
2187
+ description: "Per-user notification inbox entries",
2187
2188
  fields: {
2188
2189
  id: {
2189
- label: "Presence ID"
2190
- },
2191
- created_at: {
2192
- label: "Created At"
2193
- },
2194
- updated_at: {
2195
- label: "Updated At"
2196
- },
2197
- user_id: {
2198
- label: "User"
2199
- },
2200
- session_id: {
2201
- label: "Session"
2202
- },
2203
- status: {
2204
- label: "Status",
2205
- options: {
2206
- online: "Online",
2207
- away: "Away",
2208
- busy: "Busy",
2209
- offline: "Offline"
2210
- }
2190
+ label: "Notification ID"
2211
2191
  },
2212
- last_seen: {
2213
- label: "Last Seen"
2192
+ topic: {
2193
+ label: "Topic",
2194
+ help: "Notification topic, e.g. task.assigned, collab.mention"
2214
2195
  },
2215
- current_location: {
2216
- label: "Current Location"
2196
+ payload: {
2197
+ label: "Payload",
2198
+ help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
2217
2199
  },
2218
- device: {
2219
- label: "Device",
2200
+ severity: {
2201
+ label: "Severity",
2202
+ help: "Severity hint for rendering / filtering",
2220
2203
  options: {
2221
- desktop: "Desktop",
2222
- mobile: "Mobile",
2223
- tablet: "Tablet",
2224
- other: "Other"
2204
+ info: "info",
2205
+ warning: "warning",
2206
+ critical: "critical"
2225
2207
  }
2226
2208
  },
2227
- custom_status: {
2228
- label: "Custom Status"
2229
- },
2230
- metadata: {
2231
- label: "Metadata",
2232
- help: "Arbitrary JSON metadata associated with the presence state (matches PresenceStateSchema.metadata)."
2233
- }
2234
- }
2235
- },
2236
- sys_activity: {
2237
- label: "Activity",
2238
- pluralLabel: "Activities",
2239
- description: "Recent activity stream entries (lightweight, denormalized)",
2240
- fields: {
2241
- id: {
2242
- label: "Activity ID"
2243
- },
2244
- timestamp: {
2245
- label: "Timestamp"
2209
+ dedup_key: {
2210
+ label: "Dedup Key",
2211
+ help: "Idempotency key within a topic window; a repeat emit is a no-op"
2246
2212
  },
2247
- type: {
2248
- label: "Type",
2249
- options: {
2250
- created: "created",
2251
- updated: "updated",
2252
- deleted: "deleted",
2253
- commented: "commented",
2254
- mentioned: "mentioned",
2255
- shared: "shared",
2256
- assigned: "assigned",
2257
- completed: "completed",
2258
- login: "login",
2259
- logout: "logout",
2260
- system: "system"
2261
- }
2213
+ source_object: {
2214
+ label: "Source Object",
2215
+ help: "Object name of the related record (e.g. lead, opportunity)"
2262
2216
  },
2263
- summary: {
2264
- label: "Summary",
2265
- help: "Human-readable one-line summary"
2217
+ source_id: {
2218
+ label: "Source Record",
2219
+ help: "Record id within source_object"
2266
2220
  },
2267
2221
  actor_id: {
2268
- label: "Actor"
2269
- },
2270
- actor_name: {
2271
- label: "Actor Name"
2272
- },
2273
- actor_avatar_url: {
2274
- label: "Actor Avatar"
2275
- },
2276
- object_name: {
2277
- label: "Object",
2278
- help: "Target object short name (e.g. account, sys_user)"
2279
- },
2280
- record_id: {
2281
- label: "Record ID"
2282
- },
2283
- record_label: {
2284
- label: "Record Label",
2285
- help: "Display label of the target record at write time"
2286
- },
2287
- url: {
2288
- label: "URL",
2289
- help: "Optional deep-link to the activity target"
2290
- },
2291
- environment_id: {
2292
- label: "Project",
2293
- help: "Environment context (multi-environment deployments)"
2294
- },
2295
- metadata: {
2296
- label: "Metadata",
2297
- help: "JSON-serialized additional context"
2298
- }
2299
- }
2300
- },
2301
- sys_comment: {
2302
- label: "Comment",
2303
- pluralLabel: "Comments",
2304
- description: "Threaded comments attached to records via thread_id",
2305
- fields: {
2306
- id: {
2307
- label: "Comment ID"
2308
- },
2309
- thread_id: {
2310
- label: "Thread",
2311
- help: "Thread identifier \u2014 conventionally `{object}:{record_id}` (e.g. `sys_user:abc123`)"
2312
- },
2313
- parent_id: {
2314
- label: "Parent Comment",
2315
- help: "Optional parent comment for nested replies"
2316
- },
2317
- reply_count: {
2318
- label: "Reply Count"
2319
- },
2320
- author_id: {
2321
- label: "Author"
2322
- },
2323
- author_name: {
2324
- label: "Author Name"
2325
- },
2326
- author_avatar_url: {
2327
- label: "Author Avatar"
2328
- },
2329
- body: {
2330
- label: "Body",
2331
- help: "Comment text (Markdown supported)"
2332
- },
2333
- mentions: {
2334
- label: "Mentions",
2335
- help: "JSON array of @mention objects"
2336
- },
2337
- reactions: {
2338
- label: "Reactions",
2339
- help: "JSON array of emoji reaction objects"
2340
- },
2341
- is_edited: {
2342
- label: "Edited"
2343
- },
2344
- edited_at: {
2345
- label: "Edited At"
2346
- },
2347
- visibility: {
2348
- label: "Visibility",
2349
- options: {
2350
- public: "public",
2351
- internal: "internal",
2352
- private: "private"
2353
- }
2222
+ label: "Actor",
2223
+ help: "User who caused the notification (mentioner, assigner)"
2354
2224
  },
2355
2225
  created_at: {
2356
2226
  label: "Created At"
2227
+ }
2228
+ },
2229
+ _views: {
2230
+ recent: {
2231
+ label: "Recent"
2357
2232
  },
2358
- updated_at: {
2359
- label: "Updated At"
2233
+ by_topic: {
2234
+ label: "By Topic"
2360
2235
  }
2361
2236
  }
2362
2237
  },
@@ -2421,60 +2296,6 @@ var enObjects = {
2421
2296
  }
2422
2297
  }
2423
2298
  },
2424
- sys_notification: {
2425
- label: "Notification",
2426
- pluralLabel: "Notifications",
2427
- description: "Per-user notification inbox entries",
2428
- fields: {
2429
- id: {
2430
- label: "Notification ID"
2431
- },
2432
- topic: {
2433
- label: "Topic",
2434
- help: "Notification topic, e.g. task.assigned, collab.mention"
2435
- },
2436
- payload: {
2437
- label: "Payload",
2438
- help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
2439
- },
2440
- severity: {
2441
- label: "Severity",
2442
- help: "Severity hint for rendering / filtering",
2443
- options: {
2444
- info: "info",
2445
- warning: "warning",
2446
- critical: "critical"
2447
- }
2448
- },
2449
- dedup_key: {
2450
- label: "Dedup Key",
2451
- help: "Idempotency key within a topic window; a repeat emit is a no-op"
2452
- },
2453
- source_object: {
2454
- label: "Source Object",
2455
- help: "Object name of the related record (e.g. lead, opportunity)"
2456
- },
2457
- source_id: {
2458
- label: "Source Record",
2459
- help: "Record id within source_object"
2460
- },
2461
- actor_id: {
2462
- label: "Actor",
2463
- help: "User who caused the notification (mentioner, assigner)"
2464
- },
2465
- created_at: {
2466
- label: "Created At"
2467
- }
2468
- },
2469
- _views: {
2470
- recent: {
2471
- label: "Recent"
2472
- },
2473
- by_topic: {
2474
- label: "By Topic"
2475
- }
2476
- }
2477
- },
2478
2299
  sys_email: {
2479
2300
  label: "Email",
2480
2301
  pluralLabel: "Emails",
@@ -3379,6 +3200,11 @@ var enObjects = {
3379
3200
  label: "Ciphertext",
3380
3201
  help: "Provider-encoded ciphertext blob (base64 / JSON). Implementation-defined; only the matching ICryptoProvider can read it."
3381
3202
  }
3203
+ },
3204
+ _views: {
3205
+ all: {
3206
+ label: "All Secrets"
3207
+ }
3382
3208
  }
3383
3209
  },
3384
3210
  sys_setting_audit: {
@@ -3454,6 +3280,11 @@ var enObjects = {
3454
3280
  label: "Request ID",
3455
3281
  help: "Correlates with sys_audit_log / tracing."
3456
3282
  }
3283
+ },
3284
+ _views: {
3285
+ recent: {
3286
+ label: "Recent"
3287
+ }
3457
3288
  }
3458
3289
  }
3459
3290
  };
@@ -3663,14 +3494,64 @@ var zhCNObjects = {
3663
3494
  label: "\u5C01\u7981\u5230\u671F\u65F6\u95F4",
3664
3495
  help: "\u8BBE\u7F6E\u540E\uFF0C\u5230\u8FBE\u8BE5\u65F6\u95F4\u4F1A\u81EA\u52A8\u89E3\u9664\u5C01\u7981\u3002"
3665
3496
  },
3497
+ failed_login_count: {
3498
+ label: "Failed Login Count",
3499
+ help: "Consecutive failed sign-in attempts; reset to 0 on success. Maintained by the auth manager."
3500
+ },
3501
+ locked_until: {
3502
+ label: "Locked Until",
3503
+ help: "When set and in the future, sign-in is rejected (brute-force lockout). Auto-clears past this time; an admin can clear it early via Unlock."
3504
+ },
3505
+ password_changed_at: {
3506
+ label: "Password Changed At",
3507
+ help: "Timestamp of the last password change. Backs password_expiry_days; system-managed."
3508
+ },
3509
+ phone_number: {
3510
+ label: "Phone Number",
3511
+ help: "Sign-in phone number (E.164 recommended). Unique per user; managed by better-auth when the phoneNumber plugin is enabled."
3512
+ },
3513
+ phone_number_verified: {
3514
+ label: "Phone Verified",
3515
+ help: "Whether the phone number has been verified (OTP verification requires SMS infrastructure; false until that ships). System-managed."
3516
+ },
3517
+ must_change_password: {
3518
+ label: "Must Change Password",
3519
+ help: "When true, the user is blocked (403 PASSWORD_EXPIRED) until they change their password. Stamped by the admin user-management routes; system-managed."
3520
+ },
3521
+ mfa_required_at: {
3522
+ label: "MFA Required At",
3523
+ help: "When enforced MFA first applied to this user (grace-period clock). Backs mfa_required; system-managed."
3524
+ },
3525
+ last_login_at: {
3526
+ label: "Last Login At",
3527
+ help: "Timestamp of the last successful sign-in. Stamped by the auth manager; system-managed."
3528
+ },
3529
+ last_login_ip: {
3530
+ label: "Last Login IP",
3531
+ help: "Client IP of the last successful sign-in (from the trusted proxy forwarded header). System-managed."
3532
+ },
3533
+ ai_access: {
3534
+ label: "AI Access",
3535
+ help: "Whether this user holds an AI seat \u2014 grants access to the in-UI AI agents (build / ask). The framework synthesizes the `ai_seat` capability from this flag (plugin-hono-server resolveCtx). Assignment is capped by the licensed / purchased seat count (enforced by @objectstack/security-enterprise AiSeatPlugin). Owned by objectql (better-auth is oblivious to this column)."
3536
+ },
3666
3537
  image: {
3667
3538
  label: "\u5934\u50CF"
3668
3539
  },
3669
3540
  manager_id: {
3670
- label: "\u7ECF\u7406"
3541
+ label: "\u7ECF\u7406",
3542
+ help: "This user's direct manager. Forms the reporting chain the `own_and_reports` hierarchy scope walks (ADR-0057 / @objectstack/security-enterprise)."
3671
3543
  },
3672
3544
  primary_business_unit_id: {
3673
- label: "\u4E3B\u5C5E\u4E1A\u52A1\u5355\u5143"
3545
+ label: "\u4E3B\u5C5E\u4E1A\u52A1\u5355\u5143",
3546
+ help: "The user's primary business unit \u2014 a denormalised projection of sys_business_unit_member.is_primary, maintained by plugin-sharing (ADR-0057 addendum D12). Lets a user-lookup filter candidates by business unit without traversing the membership junction. Do not edit directly; set it via business-unit membership."
3547
+ },
3548
+ source: {
3549
+ label: "Identity Source",
3550
+ help: "How this identity was created \u2014 idp_provisioned (federated SSO JIT) or env_native (local signup / app end-user). System-managed; do not edit.",
3551
+ options: {
3552
+ idp_provisioned: "IdP-Provisioned",
3553
+ env_native: "Env-Native"
3554
+ }
3674
3555
  },
3675
3556
  id: {
3676
3557
  label: "\u7528\u6237 ID"
@@ -3713,6 +3594,14 @@ var zhCNObjects = {
3713
3594
  label: "\u89E3\u9664\u5C01\u7981",
3714
3595
  successMessage: "\u7528\u6237\u5DF2\u89E3\u9664\u5C01\u7981"
3715
3596
  },
3597
+ unlock_user: {
3598
+ label: "Unlock Account",
3599
+ successMessage: "Account unlocked"
3600
+ },
3601
+ create_user: {
3602
+ label: "Create User",
3603
+ successMessage: "User created"
3604
+ },
3716
3605
  set_user_password: {
3717
3606
  label: "\u8BBE\u7F6E\u5BC6\u7801",
3718
3607
  successMessage: "\u5BC6\u7801\u5DF2\u66F4\u65B0"
@@ -3774,6 +3663,18 @@ var zhCNObjects = {
3774
3663
  expires_at: {
3775
3664
  label: "\u8FC7\u671F\u65F6\u95F4"
3776
3665
  },
3666
+ last_activity_at: {
3667
+ label: "Last Activity At",
3668
+ help: "Timestamp of the last request on this session; drives idle-timeout. System-managed."
3669
+ },
3670
+ revoked_at: {
3671
+ label: "Revoked At",
3672
+ help: "When set, this session was revoked (idle / absolute-max / concurrent-cap / admin). System-managed."
3673
+ },
3674
+ revoke_reason: {
3675
+ label: "Revoke Reason",
3676
+ help: "Why the session was revoked (idle_timeout, absolute_max, concurrent_cap, \u2026)."
3677
+ },
3777
3678
  active_organization_id: {
3778
3679
  label: "\u5F53\u524D\u7EC4\u7EC7"
3779
3680
  },
@@ -3872,6 +3773,10 @@ var zhCNObjects = {
3872
3773
  password: {
3873
3774
  label: "\u5BC6\u7801\u54C8\u5E0C",
3874
3775
  help: "\u90AE\u7BB1/\u5BC6\u7801\u63D0\u4F9B\u65B9\u4F7F\u7528\u7684\u5BC6\u7801\u54C8\u5E0C"
3776
+ },
3777
+ previous_password_hashes: {
3778
+ label: "Previous Password Hashes",
3779
+ help: "JSON array of prior password hashes (bounded by password_history_count); reuse-prevention only. System-managed."
3875
3780
  }
3876
3781
  },
3877
3782
  _views: {
@@ -3942,6 +3847,10 @@ var zhCNObjects = {
3942
3847
  label: "\u5143\u6570\u636E",
3943
3848
  help: "JSON \u5E8F\u5217\u5316\u7684\u7EC4\u7EC7\u5143\u6570\u636E"
3944
3849
  },
3850
+ require_mfa: {
3851
+ label: "Require Multi-Factor Auth",
3852
+ help: "When true, every member of this organization must enroll an authenticator app to access data."
3853
+ },
3945
3854
  id: {
3946
3855
  label: "\u7EC4\u7EC7 ID"
3947
3856
  },
@@ -4266,6 +4175,9 @@ var zhCNObjects = {
4266
4175
  }
4267
4176
  },
4268
4177
  _views: {
4178
+ org_chart: {
4179
+ label: "Org Chart"
4180
+ },
4269
4181
  active: {
4270
4182
  label: "\u542F\u7528"
4271
4183
  },
@@ -4847,263 +4759,57 @@ var zhCNObjects = {
4847
4759
  }
4848
4760
  }
4849
4761
  },
4850
- sys_audit_log: {
4851
- label: "\u5BA1\u8BA1\u65E5\u5FD7",
4852
- pluralLabel: "\u5BA1\u8BA1\u65E5\u5FD7",
4853
- description: "\u5E73\u53F0\u4E8B\u4EF6\u7684\u4E0D\u53EF\u53D8\u5BA1\u8BA1\u8FFD\u8E2A",
4854
- fields: {
4855
- created_at: {
4856
- label: "\u65F6\u95F4\u6233"
4857
- },
4858
- action: {
4859
- label: "\u64CD\u4F5C",
4860
- help: "\u64CD\u4F5C\u7C7B\u578B\uFF08snake_case\uFF09",
4861
- options: {
4862
- create: "\u521B\u5EFA",
4863
- update: "\u66F4\u65B0",
4864
- delete: "\u5220\u9664",
4865
- restore: "\u6062\u590D",
4866
- login: "\u767B\u5F55",
4867
- logout: "\u767B\u51FA",
4868
- permission_change: "\u6743\u9650\u53D8\u66F4",
4869
- config_change: "\u914D\u7F6E\u53D8\u66F4",
4870
- export: "\u5BFC\u51FA",
4871
- import: "\u5BFC\u5165"
4872
- }
4873
- },
4874
- user_id: {
4875
- label: "\u6267\u884C\u4EBA",
4876
- help: "\u6267\u884C\u8BE5\u64CD\u4F5C\u7684\u7528\u6237\uFF08\u7CFB\u7EDF\u64CD\u4F5C\u65F6\u4E3A null\uFF09"
4877
- },
4878
- object_name: {
4879
- label: "\u5BF9\u8C61",
4880
- help: "\u76EE\u6807\u5BF9\u8C61\uFF08\u4F8B\u5982 sys_user\u3001project_task\uFF09"
4881
- },
4882
- record_id: {
4883
- label: "\u8BB0\u5F55 ID",
4884
- help: "\u53D7\u5F71\u54CD\u8BB0\u5F55\u7684 ID"
4885
- },
4886
- old_value: {
4887
- label: "\u65E7\u503C",
4888
- help: "\u65E7\u72B6\u6001\u7684 JSON \u5E8F\u5217\u5316\u5185\u5BB9"
4889
- },
4890
- new_value: {
4891
- label: "\u65B0\u503C",
4892
- help: "\u65B0\u72B6\u6001\u7684 JSON \u5E8F\u5217\u5316\u5185\u5BB9"
4893
- },
4894
- ip_address: {
4895
- label: "IP \u5730\u5740"
4896
- },
4897
- user_agent: {
4898
- label: "\u7528\u6237\u4EE3\u7406"
4899
- },
4900
- tenant_id: {
4901
- label: "\u79DF\u6237",
4902
- help: "\u7528\u4E8E\u591A\u79DF\u6237\u9694\u79BB\u7684\u79DF\u6237\u4E0A\u4E0B\u6587"
4903
- },
4904
- metadata: {
4905
- label: "\u5143\u6570\u636E",
4906
- help: "\u9644\u52A0\u4E0A\u4E0B\u6587\u7684 JSON \u5E8F\u5217\u5316\u5185\u5BB9"
4907
- },
4908
- id: {
4909
- label: "\u5BA1\u8BA1\u65E5\u5FD7 ID"
4910
- }
4911
- },
4912
- _views: {
4913
- recent: {
4914
- label: "\u6700\u8FD1"
4915
- },
4916
- writes_only: {
4917
- label: "\u5199\u5165"
4918
- },
4919
- auth_events: {
4920
- label: "\u8BA4\u8BC1"
4921
- },
4922
- config_changes: {
4923
- label: "\u914D\u7F6E"
4924
- },
4925
- all_events: {
4926
- label: "\u5168\u90E8"
4927
- }
4928
- }
4929
- },
4930
- sys_presence: {
4931
- label: "\u5728\u7EBF\u72B6\u6001",
4932
- pluralLabel: "\u5728\u7EBF\u72B6\u6001",
4933
- description: "\u5B9E\u65F6\u7528\u6237\u5728\u7EBF\u4E0E\u6D3B\u52A8\u8DDF\u8E2A",
4762
+ sys_notification: {
4763
+ label: "\u901A\u77E5",
4764
+ pluralLabel: "\u901A\u77E5",
4765
+ description: "\u6309\u7528\u6237\u5B58\u50A8\u7684\u901A\u77E5\u6536\u4EF6\u7BB1\u6761\u76EE",
4934
4766
  fields: {
4935
4767
  id: {
4936
- label: "\u5728\u7EBF\u72B6\u6001 ID"
4937
- },
4938
- created_at: {
4939
- label: "\u521B\u5EFA\u65F6\u95F4"
4940
- },
4941
- updated_at: {
4942
- label: "\u66F4\u65B0\u65F6\u95F4"
4943
- },
4944
- user_id: {
4945
- label: "\u7528\u6237"
4946
- },
4947
- session_id: {
4948
- label: "\u4F1A\u8BDD"
4949
- },
4950
- status: {
4951
- label: "\u72B6\u6001",
4952
- options: {
4953
- online: "\u5728\u7EBF",
4954
- away: "\u79BB\u5F00",
4955
- busy: "\u5FD9\u788C",
4956
- offline: "\u79BB\u7EBF"
4957
- }
4768
+ label: "\u901A\u77E5 ID"
4958
4769
  },
4959
- last_seen: {
4960
- label: "\u6700\u8FD1\u5728\u7EBF\u65F6\u95F4"
4770
+ topic: {
4771
+ label: "Topic",
4772
+ help: "Notification topic, e.g. task.assigned, collab.mention"
4961
4773
  },
4962
- current_location: {
4963
- label: "\u5F53\u524D\u4F4D\u7F6E"
4774
+ payload: {
4775
+ label: "Payload",
4776
+ help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
4964
4777
  },
4965
- device: {
4966
- label: "\u8BBE\u5907",
4778
+ severity: {
4779
+ label: "Severity",
4780
+ help: "Severity hint for rendering / filtering",
4967
4781
  options: {
4968
- desktop: "\u684C\u9762\u7AEF",
4969
- mobile: "\u79FB\u52A8\u7AEF",
4970
- tablet: "\u5E73\u677F\u7AEF",
4971
- other: "\u5176\u4ED6"
4782
+ info: "info",
4783
+ warning: "warning",
4784
+ critical: "critical"
4972
4785
  }
4973
4786
  },
4974
- custom_status: {
4975
- label: "\u81EA\u5B9A\u4E49\u72B6\u6001"
4976
- },
4977
- metadata: {
4978
- label: "\u5143\u6570\u636E",
4979
- help: "\u4E0E\u5728\u7EBF\u72B6\u6001\u5173\u8054\u7684\u4EFB\u610F JSON \u5143\u6570\u636E\uFF08\u5BF9\u5E94 PresenceStateSchema.metadata\uFF09\u3002"
4980
- }
4981
- }
4982
- },
4983
- sys_activity: {
4984
- label: "\u6D3B\u52A8",
4985
- pluralLabel: "\u6D3B\u52A8",
4986
- description: "\u6700\u8FD1\u6D3B\u52A8\u6D41\u6761\u76EE\uFF08\u8F7B\u91CF\u3001\u53BB\u89C4\u8303\u5316\uFF09",
4987
- fields: {
4988
- id: {
4989
- label: "\u6D3B\u52A8 ID"
4990
- },
4991
- timestamp: {
4992
- label: "\u65F6\u95F4\u6233"
4787
+ dedup_key: {
4788
+ label: "Dedup Key",
4789
+ help: "Idempotency key within a topic window; a repeat emit is a no-op"
4993
4790
  },
4994
- type: {
4995
- label: "\u7C7B\u578B",
4996
- options: {
4997
- created: "\u5DF2\u521B\u5EFA",
4998
- updated: "\u5DF2\u66F4\u65B0",
4999
- deleted: "\u5DF2\u5220\u9664",
5000
- commented: "\u5DF2\u8BC4\u8BBA",
5001
- mentioned: "\u88AB\u63D0\u53CA",
5002
- shared: "\u5DF2\u5171\u4EAB",
5003
- assigned: "\u5DF2\u5206\u914D",
5004
- completed: "\u5DF2\u5B8C\u6210",
5005
- login: "\u767B\u5F55",
5006
- logout: "\u767B\u51FA",
5007
- system: "\u7CFB\u7EDF"
5008
- }
4791
+ source_object: {
4792
+ label: "\u6765\u6E90\u5BF9\u8C61",
4793
+ help: "\u5173\u8054\u8BB0\u5F55\u7684\u5BF9\u8C61\u540D\u79F0\uFF08\u4F8B\u5982 lead\u3001opportunity\uFF09"
5009
4794
  },
5010
- summary: {
5011
- label: "\u6458\u8981",
5012
- help: "\u4EBA\u7C7B\u53EF\u8BFB\u7684\u5355\u884C\u6458\u8981"
4795
+ source_id: {
4796
+ label: "\u6765\u6E90\u8BB0\u5F55",
4797
+ help: "source_object \u4E2D\u7684\u8BB0\u5F55 ID"
5013
4798
  },
5014
4799
  actor_id: {
5015
- label: "\u6267\u884C\u4EBA"
5016
- },
5017
- actor_name: {
5018
- label: "\u6267\u884C\u4EBA\u540D\u79F0"
5019
- },
5020
- actor_avatar_url: {
5021
- label: "\u6267\u884C\u4EBA\u5934\u50CF"
5022
- },
5023
- object_name: {
5024
- label: "\u5BF9\u8C61",
5025
- help: "\u76EE\u6807\u5BF9\u8C61\u77ED\u540D\u79F0\uFF08\u4F8B\u5982 account\u3001sys_user\uFF09"
5026
- },
5027
- record_id: {
5028
- label: "\u8BB0\u5F55 ID"
5029
- },
5030
- record_label: {
5031
- label: "\u8BB0\u5F55\u6807\u7B7E",
5032
- help: "\u5199\u5165\u65F6\u76EE\u6807\u8BB0\u5F55\u7684\u663E\u793A\u6807\u7B7E"
5033
- },
5034
- url: {
5035
- label: "URL",
5036
- help: "\u6307\u5411\u6D3B\u52A8\u76EE\u6807\u7684\u53EF\u9009\u6DF1\u5EA6\u94FE\u63A5"
5037
- },
5038
- environment_id: {
5039
- label: "\u9879\u76EE",
5040
- help: "\u9879\u76EE\u4E0A\u4E0B\u6587\uFF08\u591A\u9879\u76EE\u90E8\u7F72\uFF09"
5041
- },
5042
- metadata: {
5043
- label: "\u5143\u6570\u636E",
5044
- help: "\u9644\u52A0\u4E0A\u4E0B\u6587\u7684 JSON \u5E8F\u5217\u5316\u5185\u5BB9"
5045
- }
5046
- }
5047
- },
5048
- sys_comment: {
5049
- label: "\u8BC4\u8BBA",
5050
- pluralLabel: "\u8BC4\u8BBA",
5051
- description: "\u901A\u8FC7 thread_id \u9644\u52A0\u5230\u8BB0\u5F55\u7684\u7EBF\u7A0B\u5316\u8BC4\u8BBA",
5052
- fields: {
5053
- id: {
5054
- label: "\u8BC4\u8BBA ID"
5055
- },
5056
- thread_id: {
5057
- label: "\u7EBF\u7A0B",
5058
- help: "\u7EBF\u7A0B\u6807\u8BC6\u2014\u2014\u7EA6\u5B9A\u683C\u5F0F\u4E3A `{object}:{record_id}`\uFF08\u4F8B\u5982 `sys_user:abc123`\uFF09"
5059
- },
5060
- parent_id: {
5061
- label: "\u7236\u8BC4\u8BBA",
5062
- help: "\u53EF\u9009\u7684\u7236\u8BC4\u8BBA\uFF0C\u7528\u4E8E\u5D4C\u5957\u56DE\u590D"
5063
- },
5064
- reply_count: {
5065
- label: "\u56DE\u590D\u6570"
5066
- },
5067
- author_id: {
5068
- label: "\u4F5C\u8005"
5069
- },
5070
- author_name: {
5071
- label: "\u4F5C\u8005\u540D\u79F0"
5072
- },
5073
- author_avatar_url: {
5074
- label: "\u4F5C\u8005\u5934\u50CF"
5075
- },
5076
- body: {
5077
- label: "\u6B63\u6587",
5078
- help: "\u8BC4\u8BBA\u6587\u672C\uFF08\u652F\u6301 Markdown\uFF09"
5079
- },
5080
- mentions: {
5081
- label: "\u63D0\u53CA",
5082
- help: "@mention \u5BF9\u8C61\u7684 JSON \u6570\u7EC4"
5083
- },
5084
- reactions: {
5085
- label: "\u56DE\u5E94",
5086
- help: "\u8868\u60C5\u56DE\u5E94\u5BF9\u8C61\u7684 JSON \u6570\u7EC4"
5087
- },
5088
- is_edited: {
5089
- label: "\u5DF2\u7F16\u8F91"
5090
- },
5091
- edited_at: {
5092
- label: "\u7F16\u8F91\u65F6\u95F4"
5093
- },
5094
- visibility: {
5095
- label: "\u53EF\u89C1\u6027",
5096
- options: {
5097
- public: "\u516C\u5F00",
5098
- internal: "\u5185\u90E8",
5099
- private: "\u79C1\u6709"
5100
- }
4800
+ label: "\u6267\u884C\u4EBA",
4801
+ help: "\u89E6\u53D1\u8BE5\u901A\u77E5\u7684\u7528\u6237\uFF08\u63D0\u53CA\u4EBA\u3001\u5206\u914D\u4EBA\uFF09"
5101
4802
  },
5102
4803
  created_at: {
5103
4804
  label: "\u521B\u5EFA\u65F6\u95F4"
4805
+ }
4806
+ },
4807
+ _views: {
4808
+ recent: {
4809
+ label: "Recent"
5104
4810
  },
5105
- updated_at: {
5106
- label: "\u66F4\u65B0\u65F6\u95F4"
4811
+ by_topic: {
4812
+ label: "By Topic"
5107
4813
  }
5108
4814
  }
5109
4815
  },
@@ -5168,60 +4874,6 @@ var zhCNObjects = {
5168
4874
  }
5169
4875
  }
5170
4876
  },
5171
- sys_notification: {
5172
- label: "\u901A\u77E5",
5173
- pluralLabel: "\u901A\u77E5",
5174
- description: "\u6309\u7528\u6237\u5B58\u50A8\u7684\u901A\u77E5\u6536\u4EF6\u7BB1\u6761\u76EE",
5175
- fields: {
5176
- id: {
5177
- label: "\u901A\u77E5 ID"
5178
- },
5179
- topic: {
5180
- label: "Topic",
5181
- help: "Notification topic, e.g. task.assigned, collab.mention"
5182
- },
5183
- payload: {
5184
- label: "Payload",
5185
- help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
5186
- },
5187
- severity: {
5188
- label: "Severity",
5189
- help: "Severity hint for rendering / filtering",
5190
- options: {
5191
- info: "info",
5192
- warning: "warning",
5193
- critical: "critical"
5194
- }
5195
- },
5196
- dedup_key: {
5197
- label: "Dedup Key",
5198
- help: "Idempotency key within a topic window; a repeat emit is a no-op"
5199
- },
5200
- source_object: {
5201
- label: "\u6765\u6E90\u5BF9\u8C61",
5202
- help: "\u5173\u8054\u8BB0\u5F55\u7684\u5BF9\u8C61\u540D\u79F0\uFF08\u4F8B\u5982 lead\u3001opportunity\uFF09"
5203
- },
5204
- source_id: {
5205
- label: "\u6765\u6E90\u8BB0\u5F55",
5206
- help: "source_object \u4E2D\u7684\u8BB0\u5F55 ID"
5207
- },
5208
- actor_id: {
5209
- label: "\u6267\u884C\u4EBA",
5210
- help: "\u89E6\u53D1\u8BE5\u901A\u77E5\u7684\u7528\u6237\uFF08\u63D0\u53CA\u4EBA\u3001\u5206\u914D\u4EBA\uFF09"
5211
- },
5212
- created_at: {
5213
- label: "\u521B\u5EFA\u65F6\u95F4"
5214
- }
5215
- },
5216
- _views: {
5217
- recent: {
5218
- label: "Recent"
5219
- },
5220
- by_topic: {
5221
- label: "By Topic"
5222
- }
5223
- }
5224
- },
5225
4877
  sys_email: {
5226
4878
  label: "\u90AE\u4EF6",
5227
4879
  pluralLabel: "\u90AE\u4EF6",
@@ -6126,6 +5778,11 @@ var zhCNObjects = {
6126
5778
  label: "\u5BC6\u6587",
6127
5779
  help: "\u63D0\u4F9B\u65B9\u7F16\u7801\u540E\u7684\u5BC6\u6587\u6570\u636E\uFF08base64 / JSON\uFF09\u3002\u5B9E\u73B0\u5B9A\u4E49\uFF1B\u4EC5\u5339\u914D\u7684 ICryptoProvider \u53EF\u8BFB\u53D6\u3002"
6128
5780
  }
5781
+ },
5782
+ _views: {
5783
+ all: {
5784
+ label: "All Secrets"
5785
+ }
6129
5786
  }
6130
5787
  },
6131
5788
  sys_setting_audit: {
@@ -6201,6 +5858,11 @@ var zhCNObjects = {
6201
5858
  label: "\u8BF7\u6C42 ID",
6202
5859
  help: "\u4E0E sys_audit_log / tracing \u5173\u8054\u3002"
6203
5860
  }
5861
+ },
5862
+ _views: {
5863
+ recent: {
5864
+ label: "Recent"
5865
+ }
6204
5866
  }
6205
5867
  }
6206
5868
  };
@@ -6374,14 +6036,64 @@ var jaJPObjects = {
6374
6036
  label: "\u5229\u7528\u505C\u6B62\u671F\u9650",
6375
6037
  help: "\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u3053\u306E\u65E5\u6642\u306B\u5229\u7528\u505C\u6B62\u304C\u81EA\u52D5\u89E3\u9664\u3055\u308C\u307E\u3059\u3002"
6376
6038
  },
6039
+ failed_login_count: {
6040
+ label: "Failed Login Count",
6041
+ help: "Consecutive failed sign-in attempts; reset to 0 on success. Maintained by the auth manager."
6042
+ },
6043
+ locked_until: {
6044
+ label: "Locked Until",
6045
+ help: "When set and in the future, sign-in is rejected (brute-force lockout). Auto-clears past this time; an admin can clear it early via Unlock."
6046
+ },
6047
+ password_changed_at: {
6048
+ label: "Password Changed At",
6049
+ help: "Timestamp of the last password change. Backs password_expiry_days; system-managed."
6050
+ },
6051
+ phone_number: {
6052
+ label: "Phone Number",
6053
+ help: "Sign-in phone number (E.164 recommended). Unique per user; managed by better-auth when the phoneNumber plugin is enabled."
6054
+ },
6055
+ phone_number_verified: {
6056
+ label: "Phone Verified",
6057
+ help: "Whether the phone number has been verified (OTP verification requires SMS infrastructure; false until that ships). System-managed."
6058
+ },
6059
+ must_change_password: {
6060
+ label: "Must Change Password",
6061
+ help: "When true, the user is blocked (403 PASSWORD_EXPIRED) until they change their password. Stamped by the admin user-management routes; system-managed."
6062
+ },
6063
+ mfa_required_at: {
6064
+ label: "MFA Required At",
6065
+ help: "When enforced MFA first applied to this user (grace-period clock). Backs mfa_required; system-managed."
6066
+ },
6067
+ last_login_at: {
6068
+ label: "Last Login At",
6069
+ help: "Timestamp of the last successful sign-in. Stamped by the auth manager; system-managed."
6070
+ },
6071
+ last_login_ip: {
6072
+ label: "Last Login IP",
6073
+ help: "Client IP of the last successful sign-in (from the trusted proxy forwarded header). System-managed."
6074
+ },
6075
+ ai_access: {
6076
+ label: "AI Access",
6077
+ help: "Whether this user holds an AI seat \u2014 grants access to the in-UI AI agents (build / ask). The framework synthesizes the `ai_seat` capability from this flag (plugin-hono-server resolveCtx). Assignment is capped by the licensed / purchased seat count (enforced by @objectstack/security-enterprise AiSeatPlugin). Owned by objectql (better-auth is oblivious to this column)."
6078
+ },
6377
6079
  image: {
6378
6080
  label: "\u30D7\u30ED\u30D5\u30A3\u30FC\u30EB\u753B\u50CF"
6379
6081
  },
6380
6082
  manager_id: {
6381
- label: "\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC"
6083
+ label: "\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC",
6084
+ help: "This user's direct manager. Forms the reporting chain the `own_and_reports` hierarchy scope walks (ADR-0057 / @objectstack/security-enterprise)."
6382
6085
  },
6383
6086
  primary_business_unit_id: {
6384
- label: "\u4E3B\u6240\u5C5E\u30D3\u30B8\u30CD\u30B9\u30E6\u30CB\u30C3\u30C8"
6087
+ label: "\u4E3B\u6240\u5C5E\u30D3\u30B8\u30CD\u30B9\u30E6\u30CB\u30C3\u30C8",
6088
+ help: "The user's primary business unit \u2014 a denormalised projection of sys_business_unit_member.is_primary, maintained by plugin-sharing (ADR-0057 addendum D12). Lets a user-lookup filter candidates by business unit without traversing the membership junction. Do not edit directly; set it via business-unit membership."
6089
+ },
6090
+ source: {
6091
+ label: "Identity Source",
6092
+ help: "How this identity was created \u2014 idp_provisioned (federated SSO JIT) or env_native (local signup / app end-user). System-managed; do not edit.",
6093
+ options: {
6094
+ idp_provisioned: "IdP-Provisioned",
6095
+ env_native: "Env-Native"
6096
+ }
6385
6097
  },
6386
6098
  id: {
6387
6099
  label: "\u30E6\u30FC\u30B6\u30FC ID"
@@ -6424,6 +6136,14 @@ var jaJPObjects = {
6424
6136
  label: "\u5229\u7528\u505C\u6B62\u3092\u89E3\u9664",
6425
6137
  successMessage: "\u30E6\u30FC\u30B6\u30FC\u306E\u5229\u7528\u505C\u6B62\u3092\u89E3\u9664\u3057\u307E\u3057\u305F"
6426
6138
  },
6139
+ unlock_user: {
6140
+ label: "Unlock Account",
6141
+ successMessage: "Account unlocked"
6142
+ },
6143
+ create_user: {
6144
+ label: "Create User",
6145
+ successMessage: "User created"
6146
+ },
6427
6147
  set_user_password: {
6428
6148
  label: "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A2D\u5B9A",
6429
6149
  successMessage: "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F"
@@ -6485,6 +6205,18 @@ var jaJPObjects = {
6485
6205
  expires_at: {
6486
6206
  label: "\u6709\u52B9\u671F\u9650"
6487
6207
  },
6208
+ last_activity_at: {
6209
+ label: "Last Activity At",
6210
+ help: "Timestamp of the last request on this session; drives idle-timeout. System-managed."
6211
+ },
6212
+ revoked_at: {
6213
+ label: "Revoked At",
6214
+ help: "When set, this session was revoked (idle / absolute-max / concurrent-cap / admin). System-managed."
6215
+ },
6216
+ revoke_reason: {
6217
+ label: "Revoke Reason",
6218
+ help: "Why the session was revoked (idle_timeout, absolute_max, concurrent_cap, \u2026)."
6219
+ },
6488
6220
  active_organization_id: {
6489
6221
  label: "\u30A2\u30AF\u30C6\u30A3\u30D6\u7D44\u7E54"
6490
6222
  },
@@ -6583,6 +6315,10 @@ var jaJPObjects = {
6583
6315
  password: {
6584
6316
  label: "\u30D1\u30B9\u30EF\u30FC\u30C9\u30CF\u30C3\u30B7\u30E5",
6585
6317
  help: "\u30E1\u30FC\u30EB/\u30D1\u30B9\u30EF\u30FC\u30C9\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u7528\u306E\u30CF\u30C3\u30B7\u30E5\u5316\u30D1\u30B9\u30EF\u30FC\u30C9"
6318
+ },
6319
+ previous_password_hashes: {
6320
+ label: "Previous Password Hashes",
6321
+ help: "JSON array of prior password hashes (bounded by password_history_count); reuse-prevention only. System-managed."
6586
6322
  }
6587
6323
  },
6588
6324
  _views: {
@@ -6653,6 +6389,10 @@ var jaJPObjects = {
6653
6389
  label: "\u30E1\u30BF\u30C7\u30FC\u30BF",
6654
6390
  help: "JSON \u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u3055\u308C\u305F\u7D44\u7E54\u30E1\u30BF\u30C7\u30FC\u30BF"
6655
6391
  },
6392
+ require_mfa: {
6393
+ label: "Require Multi-Factor Auth",
6394
+ help: "When true, every member of this organization must enroll an authenticator app to access data."
6395
+ },
6656
6396
  id: {
6657
6397
  label: "\u7D44\u7E54 ID"
6658
6398
  },
@@ -6977,6 +6717,9 @@ var jaJPObjects = {
6977
6717
  }
6978
6718
  },
6979
6719
  _views: {
6720
+ org_chart: {
6721
+ label: "Org Chart"
6722
+ },
6980
6723
  active: {
6981
6724
  label: "\u6709\u52B9"
6982
6725
  },
@@ -7558,263 +7301,57 @@ var jaJPObjects = {
7558
7301
  }
7559
7302
  }
7560
7303
  },
7561
- sys_audit_log: {
7562
- label: "\u76E3\u67FB\u30ED\u30B0",
7563
- pluralLabel: "\u76E3\u67FB\u30ED\u30B0",
7564
- description: "\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u30A4\u30D9\u30F3\u30C8\u306E\u4E0D\u5909\u306E\u76E3\u67FB\u8A3C\u8DE1",
7565
- fields: {
7566
- created_at: {
7567
- label: "\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7"
7568
- },
7569
- action: {
7570
- label: "\u30A2\u30AF\u30B7\u30E7\u30F3",
7571
- help: "\u30A2\u30AF\u30B7\u30E7\u30F3\u30BF\u30A4\u30D7\uFF08snake_case\uFF09",
7572
- options: {
7573
- create: "\u4F5C\u6210",
7574
- update: "\u66F4\u65B0",
7575
- delete: "\u524A\u9664",
7576
- restore: "\u5FA9\u5143",
7577
- login: "\u30ED\u30B0\u30A4\u30F3",
7578
- logout: "\u30ED\u30B0\u30A2\u30A6\u30C8",
7579
- permission_change: "\u6A29\u9650\u5909\u66F4",
7580
- config_change: "\u69CB\u6210\u5909\u66F4",
7581
- export: "\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",
7582
- import: "\u30A4\u30F3\u30DD\u30FC\u30C8"
7583
- }
7584
- },
7585
- user_id: {
7586
- label: "\u64CD\u4F5C\u8005",
7587
- help: "\u30A2\u30AF\u30B7\u30E7\u30F3\u3092\u5B9F\u884C\u3057\u305F\u30E6\u30FC\u30B6\u30FC\uFF08\u30B7\u30B9\u30C6\u30E0\u64CD\u4F5C\u306E\u5834\u5408\u306F null\uFF09"
7588
- },
7589
- object_name: {
7590
- label: "\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",
7591
- help: "\u5BFE\u8C61\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\uFF08\u4F8B: sys_user\u3001project_task\uFF09"
7592
- },
7593
- record_id: {
7594
- label: "\u30EC\u30B3\u30FC\u30C9 ID",
7595
- help: "\u5F71\u97FF\u3092\u53D7\u3051\u305F\u30EC\u30B3\u30FC\u30C9\u306E ID"
7596
- },
7597
- old_value: {
7598
- label: "\u5909\u66F4\u524D\u306E\u5024",
7599
- help: "JSON \u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u3055\u308C\u305F\u4EE5\u524D\u306E\u72B6\u614B"
7600
- },
7601
- new_value: {
7602
- label: "\u5909\u66F4\u5F8C\u306E\u5024",
7603
- help: "JSON \u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u3055\u308C\u305F\u65B0\u3057\u3044\u72B6\u614B"
7604
- },
7605
- ip_address: {
7606
- label: "IP \u30A2\u30C9\u30EC\u30B9"
7607
- },
7608
- user_agent: {
7609
- label: "\u30E6\u30FC\u30B6\u30FC\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8"
7610
- },
7611
- tenant_id: {
7612
- label: "\u30C6\u30CA\u30F3\u30C8",
7613
- help: "\u30DE\u30EB\u30C1\u30C6\u30CA\u30F3\u30C8\u5206\u96E2\u306E\u305F\u3081\u306E\u30C6\u30CA\u30F3\u30C8\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8"
7614
- },
7615
- metadata: {
7616
- label: "\u30E1\u30BF\u30C7\u30FC\u30BF",
7617
- help: "JSON \u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u3055\u308C\u305F\u8FFD\u52A0\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8"
7618
- },
7619
- id: {
7620
- label: "\u76E3\u67FB\u30ED\u30B0 ID"
7621
- }
7622
- },
7623
- _views: {
7624
- recent: {
7625
- label: "\u6700\u8FD1"
7626
- },
7627
- writes_only: {
7628
- label: "\u66F8\u304D\u8FBC\u307F"
7629
- },
7630
- auth_events: {
7631
- label: "\u8A8D\u8A3C"
7632
- },
7633
- config_changes: {
7634
- label: "\u69CB\u6210\u5909\u66F4"
7635
- },
7636
- all_events: {
7637
- label: "\u3059\u3079\u3066"
7638
- }
7639
- }
7640
- },
7641
- sys_presence: {
7642
- label: "\u5728\u5E2D\u72B6\u6CC1",
7643
- pluralLabel: "\u5728\u5E2D\u72B6\u6CC1",
7644
- description: "\u30EA\u30A2\u30EB\u30BF\u30A4\u30E0\u306E\u30E6\u30FC\u30B6\u30FC\u5728\u5E2D\u72B6\u6CC1\u3068\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3\u8FFD\u8DE1",
7304
+ sys_notification: {
7305
+ label: "\u901A\u77E5",
7306
+ pluralLabel: "\u901A\u77E5",
7307
+ description: "\u30E6\u30FC\u30B6\u30FC\u3054\u3068\u306E\u901A\u77E5\u53D7\u4FE1\u30DC\u30C3\u30AF\u30B9\u30A8\u30F3\u30C8\u30EA",
7645
7308
  fields: {
7646
7309
  id: {
7647
- label: "\u5728\u5E2D ID"
7648
- },
7649
- created_at: {
7650
- label: "\u4F5C\u6210\u65E5\u6642"
7651
- },
7652
- updated_at: {
7653
- label: "\u66F4\u65B0\u65E5\u6642"
7654
- },
7655
- user_id: {
7656
- label: "\u30E6\u30FC\u30B6\u30FC"
7657
- },
7658
- session_id: {
7659
- label: "\u30BB\u30C3\u30B7\u30E7\u30F3"
7660
- },
7661
- status: {
7662
- label: "\u30B9\u30C6\u30FC\u30BF\u30B9",
7663
- options: {
7664
- online: "\u30AA\u30F3\u30E9\u30A4\u30F3",
7665
- away: "\u96E2\u5E2D\u4E2D",
7666
- busy: "\u53D6\u308A\u8FBC\u307F\u4E2D",
7667
- offline: "\u30AA\u30D5\u30E9\u30A4\u30F3"
7668
- }
7310
+ label: "\u901A\u77E5 ID"
7669
7311
  },
7670
- last_seen: {
7671
- label: "\u6700\u7D42\u78BA\u8A8D\u65E5\u6642"
7312
+ topic: {
7313
+ label: "Topic",
7314
+ help: "Notification topic, e.g. task.assigned, collab.mention"
7672
7315
  },
7673
- current_location: {
7674
- label: "\u73FE\u5728\u5730"
7316
+ payload: {
7317
+ label: "Payload",
7318
+ help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
7675
7319
  },
7676
- device: {
7677
- label: "\u30C7\u30D0\u30A4\u30B9",
7320
+ severity: {
7321
+ label: "Severity",
7322
+ help: "Severity hint for rendering / filtering",
7678
7323
  options: {
7679
- desktop: "\u30C7\u30B9\u30AF\u30C8\u30C3\u30D7",
7680
- mobile: "\u30E2\u30D0\u30A4\u30EB",
7681
- tablet: "\u30BF\u30D6\u30EC\u30C3\u30C8",
7682
- other: "\u305D\u306E\u4ED6"
7324
+ info: "info",
7325
+ warning: "warning",
7326
+ critical: "critical"
7683
7327
  }
7684
7328
  },
7685
- custom_status: {
7686
- label: "\u30AB\u30B9\u30BF\u30E0\u30B9\u30C6\u30FC\u30BF\u30B9"
7687
- },
7688
- metadata: {
7689
- label: "\u30E1\u30BF\u30C7\u30FC\u30BF",
7690
- help: "\u5728\u5E2D\u72B6\u614B\u306B\u95A2\u9023\u4ED8\u3051\u3089\u308C\u305F\u4EFB\u610F\u306E JSON \u30E1\u30BF\u30C7\u30FC\u30BF\uFF08PresenceStateSchema.metadata \u306B\u5BFE\u5FDC\uFF09\u3002"
7691
- }
7692
- }
7693
- },
7694
- sys_activity: {
7695
- label: "\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3",
7696
- pluralLabel: "\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3",
7697
- description: "\u6700\u8FD1\u306E\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3\u30B9\u30C8\u30EA\u30FC\u30E0\u30A8\u30F3\u30C8\u30EA\uFF08\u8EFD\u91CF\u3001\u975E\u6B63\u898F\u5316\uFF09",
7698
- fields: {
7699
- id: {
7700
- label: "\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3 ID"
7701
- },
7702
- timestamp: {
7703
- label: "\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7"
7329
+ dedup_key: {
7330
+ label: "Dedup Key",
7331
+ help: "Idempotency key within a topic window; a repeat emit is a no-op"
7704
7332
  },
7705
- type: {
7706
- label: "\u30BF\u30A4\u30D7",
7707
- options: {
7708
- created: "\u4F5C\u6210",
7709
- updated: "\u66F4\u65B0",
7710
- deleted: "\u524A\u9664",
7711
- commented: "\u30B3\u30E1\u30F3\u30C8",
7712
- mentioned: "\u30E1\u30F3\u30B7\u30E7\u30F3",
7713
- shared: "\u5171\u6709",
7714
- assigned: "\u5272\u308A\u5F53\u3066",
7715
- completed: "\u5B8C\u4E86",
7716
- login: "\u30ED\u30B0\u30A4\u30F3",
7717
- logout: "\u30ED\u30B0\u30A2\u30A6\u30C8",
7718
- system: "\u30B7\u30B9\u30C6\u30E0"
7719
- }
7333
+ source_object: {
7334
+ label: "\u30BD\u30FC\u30B9\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",
7335
+ help: "\u95A2\u9023\u30EC\u30B3\u30FC\u30C9\u306E\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u540D\uFF08\u4F8B: lead\u3001opportunity\uFF09"
7720
7336
  },
7721
- summary: {
7722
- label: "\u30B5\u30DE\u30EA\u30FC",
7723
- help: "\u5224\u5225\u3057\u3084\u3059\u3044 1 \u884C\u30B5\u30DE\u30EA\u30FC"
7337
+ source_id: {
7338
+ label: "\u30BD\u30FC\u30B9\u30EC\u30B3\u30FC\u30C9",
7339
+ help: "source_object \u5185\u306E\u30EC\u30B3\u30FC\u30C9 ID"
7724
7340
  },
7725
7341
  actor_id: {
7726
- label: "\u64CD\u4F5C\u8005"
7727
- },
7728
- actor_name: {
7729
- label: "\u64CD\u4F5C\u8005\u540D"
7730
- },
7731
- actor_avatar_url: {
7732
- label: "\u64CD\u4F5C\u8005\u30A2\u30D0\u30BF\u30FC"
7733
- },
7734
- object_name: {
7735
- label: "\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",
7736
- help: "\u5BFE\u8C61\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u77ED\u3044\u540D\u524D\uFF08\u4F8B: account\u3001sys_user\uFF09"
7737
- },
7738
- record_id: {
7739
- label: "\u30EC\u30B3\u30FC\u30C9 ID"
7740
- },
7741
- record_label: {
7742
- label: "\u30EC\u30B3\u30FC\u30C9\u8868\u793A\u540D",
7743
- help: "\u66F8\u304D\u8FBC\u307F\u6642\u70B9\u306E\u5BFE\u8C61\u30EC\u30B3\u30FC\u30C9\u306E\u8868\u793A\u540D"
7744
- },
7745
- url: {
7746
- label: "URL",
7747
- help: "\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3\u30BF\u30FC\u30B2\u30C3\u30C8\u3078\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u30C7\u30A3\u30FC\u30D7\u30EA\u30F3\u30AF"
7748
- },
7749
- environment_id: {
7750
- label: "\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",
7751
- help: "\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\uFF08\u30DE\u30EB\u30C1\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30C7\u30D7\u30ED\u30A4\u30E1\u30F3\u30C8\uFF09"
7752
- },
7753
- metadata: {
7754
- label: "\u30E1\u30BF\u30C7\u30FC\u30BF",
7755
- help: "JSON \u30B7\u30EA\u30A2\u30E9\u30A4\u30BA\u3055\u308C\u305F\u8FFD\u52A0\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8"
7756
- }
7757
- }
7758
- },
7759
- sys_comment: {
7760
- label: "\u30B3\u30E1\u30F3\u30C8",
7761
- pluralLabel: "\u30B3\u30E1\u30F3\u30C8",
7762
- description: "thread_id \u3092\u4ECB\u3057\u3066\u30EC\u30B3\u30FC\u30C9\u306B\u6DFB\u4ED8\u3055\u308C\u305F\u30B9\u30EC\u30C3\u30C9\u30B3\u30E1\u30F3\u30C8",
7763
- fields: {
7764
- id: {
7765
- label: "\u30B3\u30E1\u30F3\u30C8 ID"
7766
- },
7767
- thread_id: {
7768
- label: "\u30B9\u30EC\u30C3\u30C9",
7769
- help: "\u30B9\u30EC\u30C3\u30C9\u8B58\u5225\u5B50 \u2014 \u901A\u5E38\u306F `{object}:{record_id}`\uFF08\u4F8B: `sys_user:abc123`\uFF09"
7770
- },
7771
- parent_id: {
7772
- label: "\u89AA\u30B3\u30E1\u30F3\u30C8",
7773
- help: "\u30CD\u30B9\u30C8\u3057\u305F\u8FD4\u4FE1\u7528\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u89AA\u30B3\u30E1\u30F3\u30C8"
7774
- },
7775
- reply_count: {
7776
- label: "\u8FD4\u4FE1\u6570"
7777
- },
7778
- author_id: {
7779
- label: "\u6295\u7A3F\u8005"
7780
- },
7781
- author_name: {
7782
- label: "\u6295\u7A3F\u8005\u540D"
7783
- },
7784
- author_avatar_url: {
7785
- label: "\u6295\u7A3F\u8005\u30A2\u30D0\u30BF\u30FC"
7786
- },
7787
- body: {
7788
- label: "\u672C\u6587",
7789
- help: "\u30B3\u30E1\u30F3\u30C8\u30C6\u30AD\u30B9\u30C8\uFF08Markdown \u5BFE\u5FDC\uFF09"
7790
- },
7791
- mentions: {
7792
- label: "\u30E1\u30F3\u30B7\u30E7\u30F3",
7793
- help: "@\u30E1\u30F3\u30B7\u30E7\u30F3\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E JSON \u914D\u5217"
7794
- },
7795
- reactions: {
7796
- label: "\u30EA\u30A2\u30AF\u30B7\u30E7\u30F3",
7797
- help: "\u7D75\u6587\u5B57\u30EA\u30A2\u30AF\u30B7\u30E7\u30F3\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E JSON \u914D\u5217"
7798
- },
7799
- is_edited: {
7800
- label: "\u7DE8\u96C6\u6E08\u307F"
7801
- },
7802
- edited_at: {
7803
- label: "\u7DE8\u96C6\u65E5\u6642"
7804
- },
7805
- visibility: {
7806
- label: "\u516C\u958B\u7BC4\u56F2",
7807
- options: {
7808
- public: "\u516C\u958B",
7809
- internal: "\u5185\u90E8",
7810
- private: "\u975E\u516C\u958B"
7811
- }
7342
+ label: "\u64CD\u4F5C\u8005",
7343
+ help: "\u901A\u77E5\u3092\u5F15\u304D\u8D77\u3053\u3057\u305F\u30E6\u30FC\u30B6\u30FC\uFF08\u30E1\u30F3\u30B7\u30E7\u30F3\u8005\u3001\u62C5\u5F53\u8005\uFF09"
7812
7344
  },
7813
7345
  created_at: {
7814
7346
  label: "\u4F5C\u6210\u65E5\u6642"
7347
+ }
7348
+ },
7349
+ _views: {
7350
+ recent: {
7351
+ label: "Recent"
7815
7352
  },
7816
- updated_at: {
7817
- label: "\u66F4\u65B0\u65E5\u6642"
7353
+ by_topic: {
7354
+ label: "By Topic"
7818
7355
  }
7819
7356
  }
7820
7357
  },
@@ -7866,70 +7403,16 @@ var jaJPObjects = {
7866
7403
  }
7867
7404
  },
7868
7405
  uploaded_by: {
7869
- label: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u8005"
7870
- },
7871
- description: {
7872
- label: "\u8AAC\u660E"
7873
- },
7874
- created_at: {
7875
- label: "\u4F5C\u6210\u65E5\u6642"
7876
- },
7877
- updated_at: {
7878
- label: "\u66F4\u65B0\u65E5\u6642"
7879
- }
7880
- }
7881
- },
7882
- sys_notification: {
7883
- label: "\u901A\u77E5",
7884
- pluralLabel: "\u901A\u77E5",
7885
- description: "\u30E6\u30FC\u30B6\u30FC\u3054\u3068\u306E\u901A\u77E5\u53D7\u4FE1\u30DC\u30C3\u30AF\u30B9\u30A8\u30F3\u30C8\u30EA",
7886
- fields: {
7887
- id: {
7888
- label: "\u901A\u77E5 ID"
7889
- },
7890
- topic: {
7891
- label: "Topic",
7892
- help: "Notification topic, e.g. task.assigned, collab.mention"
7893
- },
7894
- payload: {
7895
- label: "Payload",
7896
- help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
7897
- },
7898
- severity: {
7899
- label: "Severity",
7900
- help: "Severity hint for rendering / filtering",
7901
- options: {
7902
- info: "info",
7903
- warning: "warning",
7904
- critical: "critical"
7905
- }
7906
- },
7907
- dedup_key: {
7908
- label: "Dedup Key",
7909
- help: "Idempotency key within a topic window; a repeat emit is a no-op"
7910
- },
7911
- source_object: {
7912
- label: "\u30BD\u30FC\u30B9\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8",
7913
- help: "\u95A2\u9023\u30EC\u30B3\u30FC\u30C9\u306E\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u540D\uFF08\u4F8B: lead\u3001opportunity\uFF09"
7914
- },
7915
- source_id: {
7916
- label: "\u30BD\u30FC\u30B9\u30EC\u30B3\u30FC\u30C9",
7917
- help: "source_object \u5185\u306E\u30EC\u30B3\u30FC\u30C9 ID"
7918
- },
7919
- actor_id: {
7920
- label: "\u64CD\u4F5C\u8005",
7921
- help: "\u901A\u77E5\u3092\u5F15\u304D\u8D77\u3053\u3057\u305F\u30E6\u30FC\u30B6\u30FC\uFF08\u30E1\u30F3\u30B7\u30E7\u30F3\u8005\u3001\u62C5\u5F53\u8005\uFF09"
7406
+ label: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u8005"
7407
+ },
7408
+ description: {
7409
+ label: "\u8AAC\u660E"
7922
7410
  },
7923
7411
  created_at: {
7924
7412
  label: "\u4F5C\u6210\u65E5\u6642"
7925
- }
7926
- },
7927
- _views: {
7928
- recent: {
7929
- label: "Recent"
7930
7413
  },
7931
- by_topic: {
7932
- label: "By Topic"
7414
+ updated_at: {
7415
+ label: "\u66F4\u65B0\u65E5\u6642"
7933
7416
  }
7934
7417
  }
7935
7418
  },
@@ -8837,6 +8320,11 @@ var jaJPObjects = {
8837
8320
  label: "\u6697\u53F7\u6587",
8838
8321
  help: "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u30A8\u30F3\u30B3\u30FC\u30C9\u3055\u308C\u305F\u6697\u53F7\u6587 blob\uFF08base64 / JSON\uFF09\u3002\u5B9F\u88C5\u5B9A\u7FA9\u306E\u305F\u3081\u3001\u5BFE\u5FDC\u3059\u308B ICryptoProvider \u306E\u307F\u304C\u8AAD\u307F\u53D6\u308A\u53EF\u80FD\u3002"
8839
8322
  }
8323
+ },
8324
+ _views: {
8325
+ all: {
8326
+ label: "All Secrets"
8327
+ }
8840
8328
  }
8841
8329
  },
8842
8330
  sys_setting_audit: {
@@ -8912,6 +8400,11 @@ var jaJPObjects = {
8912
8400
  label: "\u30EA\u30AF\u30A8\u30B9\u30C8 ID",
8913
8401
  help: "sys_audit_log / \u30C8\u30EC\u30FC\u30B7\u30F3\u30B0\u3068\u306E\u76F8\u95A2\u7528\u3002"
8914
8402
  }
8403
+ },
8404
+ _views: {
8405
+ recent: {
8406
+ label: "Recent"
8407
+ }
8915
8408
  }
8916
8409
  }
8917
8410
  };
@@ -9081,14 +8574,64 @@ var esESObjects = {
9081
8574
  label: "El bloqueo caduca el",
9082
8575
  help: "Si se establece, el bloqueo se elimina autom\xE1ticamente en ese momento."
9083
8576
  },
8577
+ failed_login_count: {
8578
+ label: "Failed Login Count",
8579
+ help: "Consecutive failed sign-in attempts; reset to 0 on success. Maintained by the auth manager."
8580
+ },
8581
+ locked_until: {
8582
+ label: "Locked Until",
8583
+ help: "When set and in the future, sign-in is rejected (brute-force lockout). Auto-clears past this time; an admin can clear it early via Unlock."
8584
+ },
8585
+ password_changed_at: {
8586
+ label: "Password Changed At",
8587
+ help: "Timestamp of the last password change. Backs password_expiry_days; system-managed."
8588
+ },
8589
+ phone_number: {
8590
+ label: "Phone Number",
8591
+ help: "Sign-in phone number (E.164 recommended). Unique per user; managed by better-auth when the phoneNumber plugin is enabled."
8592
+ },
8593
+ phone_number_verified: {
8594
+ label: "Phone Verified",
8595
+ help: "Whether the phone number has been verified (OTP verification requires SMS infrastructure; false until that ships). System-managed."
8596
+ },
8597
+ must_change_password: {
8598
+ label: "Must Change Password",
8599
+ help: "When true, the user is blocked (403 PASSWORD_EXPIRED) until they change their password. Stamped by the admin user-management routes; system-managed."
8600
+ },
8601
+ mfa_required_at: {
8602
+ label: "MFA Required At",
8603
+ help: "When enforced MFA first applied to this user (grace-period clock). Backs mfa_required; system-managed."
8604
+ },
8605
+ last_login_at: {
8606
+ label: "Last Login At",
8607
+ help: "Timestamp of the last successful sign-in. Stamped by the auth manager; system-managed."
8608
+ },
8609
+ last_login_ip: {
8610
+ label: "Last Login IP",
8611
+ help: "Client IP of the last successful sign-in (from the trusted proxy forwarded header). System-managed."
8612
+ },
8613
+ ai_access: {
8614
+ label: "AI Access",
8615
+ help: "Whether this user holds an AI seat \u2014 grants access to the in-UI AI agents (build / ask). The framework synthesizes the `ai_seat` capability from this flag (plugin-hono-server resolveCtx). Assignment is capped by the licensed / purchased seat count (enforced by @objectstack/security-enterprise AiSeatPlugin). Owned by objectql (better-auth is oblivious to this column)."
8616
+ },
9084
8617
  image: {
9085
8618
  label: "Imagen de perfil"
9086
8619
  },
9087
8620
  manager_id: {
9088
- label: "Gerente"
8621
+ label: "Gerente",
8622
+ help: "This user's direct manager. Forms the reporting chain the `own_and_reports` hierarchy scope walks (ADR-0057 / @objectstack/security-enterprise)."
9089
8623
  },
9090
8624
  primary_business_unit_id: {
9091
- label: "Unidad de negocio principal"
8625
+ label: "Unidad de negocio principal",
8626
+ help: "The user's primary business unit \u2014 a denormalised projection of sys_business_unit_member.is_primary, maintained by plugin-sharing (ADR-0057 addendum D12). Lets a user-lookup filter candidates by business unit without traversing the membership junction. Do not edit directly; set it via business-unit membership."
8627
+ },
8628
+ source: {
8629
+ label: "Identity Source",
8630
+ help: "How this identity was created \u2014 idp_provisioned (federated SSO JIT) or env_native (local signup / app end-user). System-managed; do not edit.",
8631
+ options: {
8632
+ idp_provisioned: "IdP-Provisioned",
8633
+ env_native: "Env-Native"
8634
+ }
9092
8635
  },
9093
8636
  id: {
9094
8637
  label: "ID de usuario"
@@ -9131,6 +8674,14 @@ var esESObjects = {
9131
8674
  label: "Desbloquear usuario",
9132
8675
  successMessage: "Usuario desbloqueado"
9133
8676
  },
8677
+ unlock_user: {
8678
+ label: "Unlock Account",
8679
+ successMessage: "Account unlocked"
8680
+ },
8681
+ create_user: {
8682
+ label: "Create User",
8683
+ successMessage: "User created"
8684
+ },
9134
8685
  set_user_password: {
9135
8686
  label: "Establecer contrase\xF1a",
9136
8687
  successMessage: "Contrase\xF1a actualizada"
@@ -9192,6 +8743,18 @@ var esESObjects = {
9192
8743
  expires_at: {
9193
8744
  label: "Caduca el"
9194
8745
  },
8746
+ last_activity_at: {
8747
+ label: "Last Activity At",
8748
+ help: "Timestamp of the last request on this session; drives idle-timeout. System-managed."
8749
+ },
8750
+ revoked_at: {
8751
+ label: "Revoked At",
8752
+ help: "When set, this session was revoked (idle / absolute-max / concurrent-cap / admin). System-managed."
8753
+ },
8754
+ revoke_reason: {
8755
+ label: "Revoke Reason",
8756
+ help: "Why the session was revoked (idle_timeout, absolute_max, concurrent_cap, \u2026)."
8757
+ },
9195
8758
  active_organization_id: {
9196
8759
  label: "Organizaci\xF3n activa"
9197
8760
  },
@@ -9290,6 +8853,10 @@ var esESObjects = {
9290
8853
  password: {
9291
8854
  label: "Hash de la contrase\xF1a",
9292
8855
  help: "Hash de la contrase\xF1a para el proveedor de correo electr\xF3nico/contrase\xF1a."
8856
+ },
8857
+ previous_password_hashes: {
8858
+ label: "Previous Password Hashes",
8859
+ help: "JSON array of prior password hashes (bounded by password_history_count); reuse-prevention only. System-managed."
9293
8860
  }
9294
8861
  },
9295
8862
  _views: {
@@ -9360,6 +8927,10 @@ var esESObjects = {
9360
8927
  label: "Metadatos",
9361
8928
  help: "Metadatos de la organizaci\xF3n serializados en JSON."
9362
8929
  },
8930
+ require_mfa: {
8931
+ label: "Require Multi-Factor Auth",
8932
+ help: "When true, every member of this organization must enroll an authenticator app to access data."
8933
+ },
9363
8934
  id: {
9364
8935
  label: "ID de organizaci\xF3n"
9365
8936
  },
@@ -9684,6 +9255,9 @@ var esESObjects = {
9684
9255
  }
9685
9256
  },
9686
9257
  _views: {
9258
+ org_chart: {
9259
+ label: "Org Chart"
9260
+ },
9687
9261
  active: {
9688
9262
  label: "Activo"
9689
9263
  },
@@ -10265,263 +9839,57 @@ var esESObjects = {
10265
9839
  }
10266
9840
  }
10267
9841
  },
10268
- sys_audit_log: {
10269
- label: "Registro de auditor\xEDa",
10270
- pluralLabel: "Registros de auditor\xEDa",
10271
- description: "Registro de auditor\xEDa inmutable para eventos de la plataforma",
10272
- fields: {
10273
- created_at: {
10274
- label: "Marca temporal"
10275
- },
10276
- action: {
10277
- label: "Acci\xF3n",
10278
- help: "Tipo de acci\xF3n (snake_case).",
10279
- options: {
10280
- create: "Crear",
10281
- update: "Actualizar",
10282
- delete: "Eliminar",
10283
- restore: "Restaurar",
10284
- login: "Inicio de sesi\xF3n",
10285
- logout: "Cierre de sesi\xF3n",
10286
- permission_change: "Cambio de permisos",
10287
- config_change: "Cambio de configuraci\xF3n",
10288
- export: "Exportar",
10289
- import: "Importar"
10290
- }
10291
- },
10292
- user_id: {
10293
- label: "Actor",
10294
- help: "Usuario que realiz\xF3 la acci\xF3n (null para acciones del sistema)."
10295
- },
10296
- object_name: {
10297
- label: "Objeto",
10298
- help: "Objeto de destino (p. ej. sys_user, project_task)."
10299
- },
10300
- record_id: {
10301
- label: "ID de registro",
10302
- help: "ID del registro afectado."
10303
- },
10304
- old_value: {
10305
- label: "Valor anterior",
10306
- help: "Estado anterior serializado en JSON."
10307
- },
10308
- new_value: {
10309
- label: "Valor nuevo",
10310
- help: "Estado nuevo serializado en JSON."
10311
- },
10312
- ip_address: {
10313
- label: "Direcci\xF3n IP"
10314
- },
10315
- user_agent: {
10316
- label: "Agente de usuario"
10317
- },
10318
- tenant_id: {
10319
- label: "Inquilino",
10320
- help: "Contexto del tenant para el aislamiento multi-tenant."
10321
- },
10322
- metadata: {
10323
- label: "Metadatos",
10324
- help: "Contexto adicional serializado en JSON."
10325
- },
10326
- id: {
10327
- label: "ID de registro de auditor\xEDa"
10328
- }
10329
- },
10330
- _views: {
10331
- recent: {
10332
- label: "Recientes"
10333
- },
10334
- writes_only: {
10335
- label: "Escrituras"
10336
- },
10337
- auth_events: {
10338
- label: "Autenticaci\xF3n"
10339
- },
10340
- config_changes: {
10341
- label: "Configuraci\xF3n"
10342
- },
10343
- all_events: {
10344
- label: "Todos"
10345
- }
10346
- }
10347
- },
10348
- sys_presence: {
10349
- label: "Presencia",
10350
- pluralLabel: "Presencias",
10351
- description: "Seguimiento en tiempo real de presencia y actividad de usuarios",
9842
+ sys_notification: {
9843
+ label: "Notificaci\xF3n",
9844
+ pluralLabel: "Notificaciones",
9845
+ description: "Entradas del buz\xF3n de notificaciones por usuario",
10352
9846
  fields: {
10353
9847
  id: {
10354
- label: "ID de presencia"
10355
- },
10356
- created_at: {
10357
- label: "Creado el"
10358
- },
10359
- updated_at: {
10360
- label: "Actualizado el"
10361
- },
10362
- user_id: {
10363
- label: "Usuario"
10364
- },
10365
- session_id: {
10366
- label: "Sesi\xF3n"
10367
- },
10368
- status: {
10369
- label: "Estado",
10370
- options: {
10371
- online: "En l\xEDnea",
10372
- away: "Ausente",
10373
- busy: "Ocupado",
10374
- offline: "Desconectado"
10375
- }
9848
+ label: "ID de notificaci\xF3n"
10376
9849
  },
10377
- last_seen: {
10378
- label: "Visto por \xFAltima vez"
9850
+ topic: {
9851
+ label: "Topic",
9852
+ help: "Notification topic, e.g. task.assigned, collab.mention"
10379
9853
  },
10380
- current_location: {
10381
- label: "Ubicaci\xF3n actual"
9854
+ payload: {
9855
+ label: "Payload",
9856
+ help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
10382
9857
  },
10383
- device: {
10384
- label: "Dispositivo",
9858
+ severity: {
9859
+ label: "Severity",
9860
+ help: "Severity hint for rendering / filtering",
10385
9861
  options: {
10386
- desktop: "Escritorio",
10387
- mobile: "M\xF3vil",
10388
- tablet: "Tableta",
10389
- other: "Otro"
9862
+ info: "info",
9863
+ warning: "warning",
9864
+ critical: "critical"
10390
9865
  }
10391
9866
  },
10392
- custom_status: {
10393
- label: "Estado personalizado"
10394
- },
10395
- metadata: {
10396
- label: "Metadatos",
10397
- help: "Metadatos JSON arbitrarios asociados al estado de presencia (coincide con PresenceStateSchema.metadata)."
10398
- }
10399
- }
10400
- },
10401
- sys_activity: {
10402
- label: "Actividad",
10403
- pluralLabel: "Actividades",
10404
- description: "Entradas recientes del flujo de actividad (ligeras y desnormalizadas).",
10405
- fields: {
10406
- id: {
10407
- label: "ID de actividad"
10408
- },
10409
- timestamp: {
10410
- label: "Marca temporal"
9867
+ dedup_key: {
9868
+ label: "Dedup Key",
9869
+ help: "Idempotency key within a topic window; a repeat emit is a no-op"
10411
9870
  },
10412
- type: {
10413
- label: "Tipo",
10414
- options: {
10415
- created: "Creado",
10416
- updated: "Actualizado",
10417
- deleted: "Eliminado",
10418
- commented: "Comentado",
10419
- mentioned: "Mencionado",
10420
- shared: "Compartido",
10421
- assigned: "Asignado",
10422
- completed: "Completado",
10423
- login: "Inicio de sesi\xF3n",
10424
- logout: "Cierre de sesi\xF3n",
10425
- system: "Sistema"
10426
- }
9871
+ source_object: {
9872
+ label: "Objeto de origen",
9873
+ help: "Nombre del objeto del registro relacionado (p. ej. lead, opportunity)."
10427
9874
  },
10428
- summary: {
10429
- label: "Resumen",
10430
- help: "Resumen legible de una l\xEDnea."
9875
+ source_id: {
9876
+ label: "Registro de origen",
9877
+ help: "ID del registro dentro de source_object."
10431
9878
  },
10432
9879
  actor_id: {
10433
- label: "Actor"
10434
- },
10435
- actor_name: {
10436
- label: "Nombre del actor"
10437
- },
10438
- actor_avatar_url: {
10439
- label: "Avatar del actor"
10440
- },
10441
- object_name: {
10442
- label: "Objeto",
10443
- help: "Nombre corto del objeto de destino (p. ej. account, sys_user)."
10444
- },
10445
- record_id: {
10446
- label: "ID de registro"
10447
- },
10448
- record_label: {
10449
- label: "Nombre visible del registro",
10450
- help: "Nombre visible del registro de destino en el momento de escritura."
10451
- },
10452
- url: {
10453
- label: "URL",
10454
- help: "Enlace profundo opcional al destino de la actividad."
10455
- },
10456
- environment_id: {
10457
- label: "Proyecto",
10458
- help: "Contexto del proyecto (implementaciones multiproyecto)."
10459
- },
10460
- metadata: {
10461
- label: "Metadatos",
10462
- help: "Contexto adicional serializado en JSON."
10463
- }
10464
- }
10465
- },
10466
- sys_comment: {
10467
- label: "Comentario",
10468
- pluralLabel: "Comentarios",
10469
- description: "Comentarios en hilo adjuntos a registros mediante thread_id.",
10470
- fields: {
10471
- id: {
10472
- label: "ID de comentario"
10473
- },
10474
- thread_id: {
10475
- label: "Hilo",
10476
- help: "Identificador del hilo; por convenci\xF3n `{object}:{record_id}` (p. ej. `sys_user:abc123`)."
10477
- },
10478
- parent_id: {
10479
- label: "Comentario principal",
10480
- help: "Comentario principal opcional para respuestas anidadas."
10481
- },
10482
- reply_count: {
10483
- label: "N\xFAmero de respuestas"
10484
- },
10485
- author_id: {
10486
- label: "Autor"
10487
- },
10488
- author_name: {
10489
- label: "Nombre del autor"
10490
- },
10491
- author_avatar_url: {
10492
- label: "Avatar del autor"
10493
- },
10494
- body: {
10495
- label: "Contenido",
10496
- help: "Texto del comentario (compatible con Markdown)."
10497
- },
10498
- mentions: {
10499
- label: "Menciones",
10500
- help: "Matriz JSON de objetos @mention."
10501
- },
10502
- reactions: {
10503
- label: "Reacciones",
10504
- help: "Matriz JSON de objetos de reacci\xF3n emoji."
10505
- },
10506
- is_edited: {
10507
- label: "Editado"
10508
- },
10509
- edited_at: {
10510
- label: "Editado el"
10511
- },
10512
- visibility: {
10513
- label: "Visibilidad",
10514
- options: {
10515
- public: "P\xFAblico",
10516
- internal: "Interno",
10517
- private: "Privado"
10518
- }
9880
+ label: "Actor",
9881
+ help: "Usuario que provoc\xF3 la notificaci\xF3n (quien menciona, quien asigna)."
10519
9882
  },
10520
9883
  created_at: {
10521
9884
  label: "Creado el"
9885
+ }
9886
+ },
9887
+ _views: {
9888
+ recent: {
9889
+ label: "Recent"
10522
9890
  },
10523
- updated_at: {
10524
- label: "Actualizado el"
9891
+ by_topic: {
9892
+ label: "By Topic"
10525
9893
  }
10526
9894
  }
10527
9895
  },
@@ -10586,60 +9954,6 @@ var esESObjects = {
10586
9954
  }
10587
9955
  }
10588
9956
  },
10589
- sys_notification: {
10590
- label: "Notificaci\xF3n",
10591
- pluralLabel: "Notificaciones",
10592
- description: "Entradas del buz\xF3n de notificaciones por usuario",
10593
- fields: {
10594
- id: {
10595
- label: "ID de notificaci\xF3n"
10596
- },
10597
- topic: {
10598
- label: "Topic",
10599
- help: "Notification topic, e.g. task.assigned, collab.mention"
10600
- },
10601
- payload: {
10602
- label: "Payload",
10603
- help: "Template inputs carried to channels (title/body/url/actor/source/\u2026)"
10604
- },
10605
- severity: {
10606
- label: "Severity",
10607
- help: "Severity hint for rendering / filtering",
10608
- options: {
10609
- info: "info",
10610
- warning: "warning",
10611
- critical: "critical"
10612
- }
10613
- },
10614
- dedup_key: {
10615
- label: "Dedup Key",
10616
- help: "Idempotency key within a topic window; a repeat emit is a no-op"
10617
- },
10618
- source_object: {
10619
- label: "Objeto de origen",
10620
- help: "Nombre del objeto del registro relacionado (p. ej. lead, opportunity)."
10621
- },
10622
- source_id: {
10623
- label: "Registro de origen",
10624
- help: "ID del registro dentro de source_object."
10625
- },
10626
- actor_id: {
10627
- label: "Actor",
10628
- help: "Usuario que provoc\xF3 la notificaci\xF3n (quien menciona, quien asigna)."
10629
- },
10630
- created_at: {
10631
- label: "Creado el"
10632
- }
10633
- },
10634
- _views: {
10635
- recent: {
10636
- label: "Recent"
10637
- },
10638
- by_topic: {
10639
- label: "By Topic"
10640
- }
10641
- }
10642
- },
10643
9957
  sys_email: {
10644
9958
  label: "Correo",
10645
9959
  pluralLabel: "Correos",
@@ -11544,6 +10858,11 @@ var esESObjects = {
11544
10858
  label: "Texto cifrado",
11545
10859
  help: "Blob de texto cifrado codificado por el proveedor (base64 / JSON). La implementaci\xF3n lo define; solo el ICryptoProvider correspondiente puede leerlo."
11546
10860
  }
10861
+ },
10862
+ _views: {
10863
+ all: {
10864
+ label: "All Secrets"
10865
+ }
11547
10866
  }
11548
10867
  },
11549
10868
  sys_setting_audit: {
@@ -11619,6 +10938,11 @@ var esESObjects = {
11619
10938
  label: "ID de solicitud",
11620
10939
  help: "Se correlaciona con sys_audit_log / tracing."
11621
10940
  }
10941
+ },
10942
+ _views: {
10943
+ recent: {
10944
+ label: "Recent"
10945
+ }
11622
10946
  }
11623
10947
  }
11624
10948
  };