Repository navigation
Expand file tree
/
Copy pathen.objects.generated.ts
More file actions
396 lines (393 loc) · 12.5 KB
/
Copy pathen.objects.generated.ts
File metadata and controls
396 lines (393 loc) · 12.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
/**
* Auto-generated by 'os i18n extract' for locale 'en'.
* Edit translations in place; re-run extract (with --merge) to fill new gaps.
* Do not hand-edit the structure — only the leaf string values.
* Merge only fills gaps: correcting a source label/description does not
* push the correction into a leaf here that already holds a translation —
* a present-but-stale string is not a gap, so it is left as-is. Re-translate
* it by hand when its source changes; nothing here or in `os i18n check`
* tells a leaf a translator updated on purpose from one nobody has looked
* at since the source moved.
*/
import type { TranslationData } from '@objectstack/spec/system';
export const enObjects: NonNullable<TranslationData['objects']> = {
sys_approval_request: {
label: "Approval Request",
pluralLabel: "Approval Requests",
description: "Live approval instance tracked per submission",
fields: {
id: {
label: "Request ID"
},
display_title: {
label: "Title",
help: "Record title: the label of the flow that opened this request, else its source (computed on read)"
},
organization_id: {
label: "Organization",
help: "Organization of the record this request is about (falls back to the acting context when the record has none)"
},
process_name: {
label: "Source",
help: "Origin of the request — `flow:<flowName|nodeId>` for node-driven approvals"
},
process_label: {
label: "Flow",
help: "Label of the flow that opened this request, as it stood when the request was opened"
},
object_name: {
label: "Object"
},
record_id: {
label: "Record"
},
submitter_id: {
label: "Submitter"
},
submitter_comment: {
label: "Submitter Comment"
},
status: {
label: "Status",
help: "Lifecycle state of the request",
options: {
pending: "Pending",
approved: "Approved",
rejected: "Rejected",
recalled: "Recalled",
returned: "Returned",
cancelled: "Cancelled"
}
},
cancel_reason: {
label: "Cancellation Reason",
help: "Why the platform voided this request (set only when the status is cancelled)",
options: {
record_deleted: "Related record deleted"
}
},
current_step: {
label: "Current Step",
help: "Machine name of the step awaiting approval"
},
current_step_label: {
label: "Approval Step",
help: "Label of the step awaiting approval, as it stood when the request reached it"
},
current_step_index: {
label: "Current Step Index"
},
pending_approvers: {
label: "Pending Approvers",
help: "Comma-separated user ids who can act on the current step"
},
pending_approver_labels: {
label: "Waiting On",
help: "Who the request is waiting on: the name of each pending approver, or the slot address when it names no person"
},
payload_json: {
label: "Snapshot",
help: "Record snapshot at submission time"
},
flow_run_id: {
label: "Flow Run",
help: "Suspended automation run id this request gates. The decision resumes it."
},
flow_node_id: {
label: "Flow Node",
help: "Approval node id within the flow that opened this request."
},
node_config_json: {
label: "Node Config",
help: "Snapshot of the Approval node config (approvers/behavior) for node-driven requests."
},
completed_at: {
label: "Completed At"
},
created_at: {
label: "Created At"
},
updated_at: {
label: "Updated At"
}
},
_views: {
all_requests: {
label: "All"
},
my_pending: {
label: "My Pending",
emptyState: {
title: "No pending approvals",
message: "You're all caught up."
}
},
submitted_by_me: {
label: "I Submitted"
},
completed: {
label: "Completed"
}
},
_actions: {
approval_approve: {
label: "Approve",
description: "Approve this request? Your approval is recorded, and the request moves on once this step has the approvals it requires.",
successMessage: "Approved \"{{ result.request.record_title }}\"",
params: {
comment: {
label: "Comment"
},
attachments: {
label: "Attachments"
}
}
},
approval_reject: {
label: "Reject",
description: "Reject this request? A rejection is final for every approver.",
successMessage: "Rejected \"{{ result.request.record_title }}\"",
params: {
comment: {
label: "Comment"
},
attachments: {
label: "Attachments"
}
}
},
approval_reassign: {
label: "Reassign",
successMessage: "Reassigned \"{{ result.request.record_title }}\"",
params: {
to: {
label: "New approver",
helpText: "User to hand this step to"
},
comment: {
label: "Comment"
}
}
},
approval_send_back: {
label: "Send back",
successMessage: "Sent \"{{ result.request.record_title }}\" back for revision",
params: {
comment: {
label: "Reason"
}
}
},
approval_request_info: {
label: "Request info",
successMessage: "Information requested on \"{{ result.request.record_title }}\"",
params: {
comment: {
label: "What do you need?"
}
}
},
approval_remind: {
label: "Send reminder",
successMessage: "Reminder sent for \"{{ result.request.record_title }}\"",
params: {
comment: {
label: "Note"
}
}
},
approval_recall: {
label: "Recall",
description: "Recall this request? Approvers can no longer act on it and the record is unlocked.",
successMessage: "Recalled \"{{ result.request.record_title }}\"",
params: {
comment: {
label: "Comment"
}
}
},
approval_resubmit: {
label: "Resubmit",
successMessage: "Resubmitted \"{{ result.request.record_title }}\"",
params: {
comment: {
label: "What changed?"
}
}
},
approval_comment: {
label: "Reply",
successMessage: "Reply posted on \"{{ result.request.record_title }}\"",
params: {
comment: {
label: "Comment"
},
attachments: {
label: "Attachments"
}
}
}
}
},
sys_approval_action: {
label: "Approval Action",
pluralLabel: "Approval Actions",
description: "Append-only audit trail for approval actions",
fields: {
id: {
label: "Action ID"
},
display_title: {
label: "Title",
help: "Record title: the action and, when recorded, its step (computed on read)"
},
organization_id: {
label: "Organization",
help: "Tenant that owns this action (mirrors the parent request)"
},
request_id: {
label: "Request"
},
step_name: {
label: "Step",
help: "Machine name of the step at the time of the action"
},
step_label: {
label: "Approval Step",
help: "Label of the step at the time of the action"
},
object_name: {
label: "Object",
help: "Object of the record the request is about"
},
record_id: {
label: "Record",
help: "The record the request is about"
},
step_index: {
label: "Step Index"
},
action: {
label: "Action",
options: {
submit: "Submit",
approve: "Approve",
reject: "Reject",
recall: "Recall",
escalate: "Escalate",
reassign: "Reassign",
remind: "Remind",
request_info: "Request Info",
comment: "Comment",
revise: "Revise",
resubmit: "Resubmit",
ooo_substitute: "Out-of-Office Substitution",
cancel: "Cancel"
}
},
actor_id: {
label: "Actor",
help: "The user who took this action. Empty when no person is recorded: a system-initiated action, or a decision recorded before the deciding user was captured, which still shows the slot it was taken as."
},
acted_as: {
label: "Acted As",
help: "The pending-approver slot this action was taken as, in the slot’s stored spelling: a user id, an email, or a position address. Empty when no slot admitted the action, such as the submitter’s own actions, system actions and admin overrides."
},
acted_as_label: {
label: "Acting As",
help: "The slot this action was taken as, for display: the name of the person it names, or its address when it names no person"
},
comment: {
label: "Comment"
},
via_override: {
label: "Via Admin Override",
help: "True when the actor held no slot in the request’s pending-approver slate and was admitted to this action only by the privileged override, which lets a platform or organization admin act on any pending request so that one nobody in its slate can decide never stays stuck."
},
reassign_from: {
label: "Reassigned From",
help: "The pending-approver slot that was handed over, in the slot’s stored spelling: a user id, an email, or a position address (reassign actions only)."
},
reassign_to: {
label: "Reassigned To",
help: "The pending-approver address the slot was handed to, in its stored spelling: a user id, an email, or a position address (reassign actions only)."
},
attachments: {
label: "Attachments",
help: "Files supporting this action — e.g. a signed contract or evidence."
},
created_at: {
label: "Created At"
}
},
_views: {
recent: {
label: "Recent",
emptyState: {
title: "No approval actions yet",
message: "Actions are logged automatically when approvals progress."
}
},
by_actor: {
label: "By Actor"
},
all_actions: {
label: "All"
}
}
},
sys_approval_delegation: {
label: "Approval Delegation",
pluralLabel: "Approval Delegations",
description: "While someone is away, approvals assigned to them personally go to their delegate.",
fields: {
id: {
label: "Delegation ID"
},
display_title: {
label: "Title",
help: "Record title: the delegator and the delegate (computed on read)"
},
delegator_id: {
label: "Delegator",
help: "The user going out of office. You can delegate only your own approvals, so this is always you: it starts as you and offers no one else. Their individually-routed approver slots are rerouted while active."
},
delegate_id: {
label: "Delegate",
help: "The backup who receives the delegator's approvals while this rule is active. Acts under their own identity."
},
valid_from: {
label: "Valid From",
help: "Rule is inactive before this instant. Null = active immediately. Checked each time an approval is routed, so the rule starts on time without any scheduled job."
},
valid_until: {
label: "Valid Until",
help: "The rule stops applying at this time (UTC). Leave empty for no end date."
},
reason: {
label: "Reason",
help: "Why the delegation exists (e.g. \"Annual leave 5/26–5/30\"). Recorded on the substitution audit row."
},
organization_id: {
label: "Organization",
help: "The organization this delegation belongs to. It reroutes only the approvals opened in this organization."
},
created_at: {
label: "Created At"
},
updated_at: {
label: "Updated At"
}
},
_views: {
active: {
label: "Active",
emptyState: {
title: "No delegations",
message: "Declare an out-of-office delegation so approvals route to a backup while you are away."
}
}
}
}
};