@rippling/rippling-sdk 0.2.0-alpha.111 → 0.2.0-alpha.113

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 (145) hide show
  1. package/client.d.mts +20 -2
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +20 -2
  4. package/client.d.ts.map +1 -1
  5. package/client.js +18 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +18 -0
  8. package/client.mjs.map +1 -1
  9. package/lib/manifest/definitions/canvas-instance.d.mts +114 -0
  10. package/lib/manifest/definitions/canvas-instance.d.mts.map +1 -0
  11. package/lib/manifest/definitions/canvas-instance.d.ts +114 -0
  12. package/lib/manifest/definitions/canvas-instance.d.ts.map +1 -0
  13. package/lib/manifest/definitions/canvas-instance.js +31 -0
  14. package/lib/manifest/definitions/canvas-instance.js.map +1 -0
  15. package/lib/manifest/definitions/canvas-instance.mjs +28 -0
  16. package/lib/manifest/definitions/canvas-instance.mjs.map +1 -0
  17. package/lib/manifest/definitions/index.d.mts +1 -0
  18. package/lib/manifest/definitions/index.d.mts.map +1 -1
  19. package/lib/manifest/definitions/index.d.ts +1 -0
  20. package/lib/manifest/definitions/index.d.ts.map +1 -1
  21. package/lib/manifest/definitions/index.js +3 -1
  22. package/lib/manifest/definitions/index.js.map +1 -1
  23. package/lib/manifest/definitions/index.mjs +1 -0
  24. package/lib/manifest/definitions/index.mjs.map +1 -1
  25. package/lib/manifest/manifest-builder.d.mts +1 -1
  26. package/lib/manifest/manifest-builder.d.mts.map +1 -1
  27. package/lib/manifest/manifest-builder.d.ts +1 -1
  28. package/lib/manifest/manifest-builder.d.ts.map +1 -1
  29. package/lib/manifest/manifest-builder.js.map +1 -1
  30. package/lib/manifest/manifest-builder.mjs.map +1 -1
  31. package/package.json +1 -1
  32. package/resources/custom-objects/custom-objects.d.mts +4 -0
  33. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  34. package/resources/custom-objects/custom-objects.d.ts +4 -0
  35. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  36. package/resources/custom-objects/custom-objects.js +4 -0
  37. package/resources/custom-objects/custom-objects.js.map +1 -1
  38. package/resources/custom-objects/custom-objects.mjs +4 -0
  39. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  40. package/resources/custom-objects/index.d.mts +1 -0
  41. package/resources/custom-objects/index.d.mts.map +1 -1
  42. package/resources/custom-objects/index.d.ts +1 -0
  43. package/resources/custom-objects/index.d.ts.map +1 -1
  44. package/resources/custom-objects/index.js +3 -1
  45. package/resources/custom-objects/index.js.map +1 -1
  46. package/resources/custom-objects/index.mjs +1 -0
  47. package/resources/custom-objects/index.mjs.map +1 -1
  48. package/resources/custom-objects/record-actions.d.mts +98 -0
  49. package/resources/custom-objects/record-actions.d.mts.map +1 -0
  50. package/resources/custom-objects/record-actions.d.ts +98 -0
  51. package/resources/custom-objects/record-actions.d.ts.map +1 -0
  52. package/resources/custom-objects/record-actions.js +58 -0
  53. package/resources/custom-objects/record-actions.js.map +1 -0
  54. package/resources/custom-objects/record-actions.mjs +54 -0
  55. package/resources/custom-objects/record-actions.mjs.map +1 -0
  56. package/resources/earnings-inputs.d.mts +14 -2
  57. package/resources/earnings-inputs.d.mts.map +1 -1
  58. package/resources/earnings-inputs.d.ts +14 -2
  59. package/resources/earnings-inputs.d.ts.map +1 -1
  60. package/resources/earnings-inputs.js +14 -2
  61. package/resources/earnings-inputs.js.map +1 -1
  62. package/resources/earnings-inputs.mjs +14 -2
  63. package/resources/earnings-inputs.mjs.map +1 -1
  64. package/resources/index.d.mts +4 -1
  65. package/resources/index.d.mts.map +1 -1
  66. package/resources/index.d.ts +4 -1
  67. package/resources/index.d.ts.map +1 -1
  68. package/resources/index.js +8 -2
  69. package/resources/index.js.map +1 -1
  70. package/resources/index.mjs +3 -0
  71. package/resources/index.mjs.map +1 -1
  72. package/resources/record-detail-reference-options.d.mts +18 -19
  73. package/resources/record-detail-reference-options.d.mts.map +1 -1
  74. package/resources/record-detail-reference-options.d.ts +18 -19
  75. package/resources/record-detail-reference-options.d.ts.map +1 -1
  76. package/resources/record-detail-reference-options.js +13 -13
  77. package/resources/record-detail-reference-options.mjs +13 -13
  78. package/resources/record-detail-related-records.d.mts +293 -204
  79. package/resources/record-detail-related-records.d.mts.map +1 -1
  80. package/resources/record-detail-related-records.d.ts +293 -204
  81. package/resources/record-detail-related-records.d.ts.map +1 -1
  82. package/resources/record-detail-related-records.js +3 -3
  83. package/resources/record-detail-related-records.mjs +3 -3
  84. package/resources/record-details.d.mts +1676 -222
  85. package/resources/record-details.d.mts.map +1 -1
  86. package/resources/record-details.d.ts +1676 -222
  87. package/resources/record-details.d.ts.map +1 -1
  88. package/resources/record-details.js +76 -6
  89. package/resources/record-details.js.map +1 -1
  90. package/resources/record-details.mjs +76 -6
  91. package/resources/record-details.mjs.map +1 -1
  92. package/resources/scheduled-payout-labels.d.mts +267 -0
  93. package/resources/scheduled-payout-labels.d.mts.map +1 -0
  94. package/resources/scheduled-payout-labels.d.ts +267 -0
  95. package/resources/scheduled-payout-labels.d.ts.map +1 -0
  96. package/resources/scheduled-payout-labels.js +151 -0
  97. package/resources/scheduled-payout-labels.js.map +1 -0
  98. package/resources/scheduled-payout-labels.mjs +147 -0
  99. package/resources/scheduled-payout-labels.mjs.map +1 -0
  100. package/resources/scheduled-payout-types.d.mts +680 -0
  101. package/resources/scheduled-payout-types.d.mts.map +1 -0
  102. package/resources/scheduled-payout-types.d.ts +680 -0
  103. package/resources/scheduled-payout-types.d.ts.map +1 -0
  104. package/resources/scheduled-payout-types.js +546 -0
  105. package/resources/scheduled-payout-types.js.map +1 -0
  106. package/resources/scheduled-payout-types.mjs +542 -0
  107. package/resources/scheduled-payout-types.mjs.map +1 -0
  108. package/resources/scheduled-payouts.d.mts +1590 -0
  109. package/resources/scheduled-payouts.d.mts.map +1 -0
  110. package/resources/scheduled-payouts.d.ts +1590 -0
  111. package/resources/scheduled-payouts.d.ts.map +1 -0
  112. package/resources/scheduled-payouts.js +584 -0
  113. package/resources/scheduled-payouts.js.map +1 -0
  114. package/resources/scheduled-payouts.mjs +580 -0
  115. package/resources/scheduled-payouts.mjs.map +1 -0
  116. package/resources/worker-changes.d.mts +65 -10
  117. package/resources/worker-changes.d.mts.map +1 -1
  118. package/resources/worker-changes.d.ts +65 -10
  119. package/resources/worker-changes.d.ts.map +1 -1
  120. package/resources/worker-changes.js +3 -0
  121. package/resources/worker-changes.js.map +1 -1
  122. package/resources/worker-changes.mjs +3 -0
  123. package/resources/worker-changes.mjs.map +1 -1
  124. package/src/client.ts +88 -0
  125. package/src/lib/manifest/definitions/README.md +3 -1
  126. package/src/lib/manifest/definitions/canvas-instance.ts +143 -0
  127. package/src/lib/manifest/definitions/index.ts +17 -0
  128. package/src/lib/manifest/manifest-builder.ts +1 -0
  129. package/src/resources/custom-objects/custom-objects.ts +16 -0
  130. package/src/resources/custom-objects/index.ts +6 -0
  131. package/src/resources/custom-objects/record-actions.ts +125 -0
  132. package/src/resources/earnings-inputs.ts +14 -2
  133. package/src/resources/index.ts +35 -0
  134. package/src/resources/record-detail-reference-options.ts +18 -19
  135. package/src/resources/record-detail-related-records.ts +298 -191
  136. package/src/resources/record-details.ts +2031 -209
  137. package/src/resources/scheduled-payout-labels.ts +373 -0
  138. package/src/resources/scheduled-payout-types.ts +755 -0
  139. package/src/resources/scheduled-payouts.ts +1949 -0
  140. package/src/resources/worker-changes.ts +71 -10
  141. package/src/version.ts +1 -1
  142. package/version.d.mts +1 -1
  143. package/version.d.ts +1 -1
  144. package/version.js +1 -1
  145. package/version.mjs +1 -1
@@ -13,10 +13,11 @@ export declare class RecordDetails extends APIResource {
13
13
  * canonical record PATCH endpoint. Includes discoverable direct fields outside the
14
14
  * layout. Unreadable fields retain metadata with null, MASKED values; saved
15
15
  * visibility conditions and field permissions determine the returned placements.
16
- * Related-list contents load separately through each section's records_link.
17
- * Metadata-administration scopes are not required. Masked values contain no raw
18
- * data. Values use the formats documented by data_type. References contain a
19
- * scalar identifier and optional permitted display, not an expanded resource.
16
+ * Related-list sections describe the target object, relationship field, and
17
+ * configured columns without embedding row contents. Metadata-administration
18
+ * scopes are not required. Masked values contain no raw data. Values use the
19
+ * formats documented by data_type. References contain a scalar identifier and
20
+ * optional permitted display, not an expanded resource.
20
21
  *
21
22
  * @example HTTP
22
23
  * Representative request and response shapes.
@@ -40,7 +41,6 @@ export declare class RecordDetails extends APIResource {
40
41
  * },
41
42
  * "layout": {
42
43
  * "api_name": "string",
43
- * "revision": "string",
44
44
  * "header": {
45
45
  * "title_field": "string",
46
46
  * "description_field": "string",
@@ -56,11 +56,79 @@ export declare class RecordDetails extends APIResource {
56
56
  * }
57
57
  * ]
58
58
  * },
59
- * "fields": {}
59
+ * "fields": {},
60
+ * "actions": [
61
+ * {
62
+ * "id": "string",
63
+ * "api_name": "string",
64
+ * "name": "string",
65
+ * "function_api_name": "string",
66
+ * "visibility_preferences": [
67
+ * "LIST_VIEW"
68
+ * ]
69
+ * }
70
+ * ]
60
71
  * }
61
72
  * ```
62
73
  */
63
74
  retrieve(recordID: string, query: RecordDetailRetrieveParams, options?: RequestOptions): APIPromise<RecordDetailRetrieveResponse>;
75
+ /**
76
+ * Retrieves one permissioned, singular, nonpaginated Create context without
77
+ * persisting a record.
78
+ *
79
+ * @example HTTP
80
+ * Representative request and response shapes.
81
+ * ```
82
+ * GET /record-details/?object_api_name=object_api_name&layout_api_name=default HTTP/1.1
83
+ * Host: rest.ripplingapis.com
84
+ * Accept: application/json
85
+ * Rippling-Api-Version: 2024-08-01
86
+ *
87
+ * HTTP/1.1 200 OK
88
+ * Content-Type: application/json
89
+ *
90
+ * {
91
+ * "object_api_name": "string",
92
+ * "layout": {
93
+ * "api_name": "string",
94
+ * "header": {
95
+ * "title_field": "string",
96
+ * "description_field": "string",
97
+ * "fields": [
98
+ * "string"
99
+ * ]
100
+ * },
101
+ * "tabs": [
102
+ * {
103
+ * "id": "string",
104
+ * "label": "string",
105
+ * "sections": []
106
+ * }
107
+ * ]
108
+ * },
109
+ * "fields": {},
110
+ * "blockers": [
111
+ * {
112
+ * "code": "REQUIRED_INPUT_UNAVAILABLE",
113
+ * "field_api_name": "string",
114
+ * "message": "string"
115
+ * }
116
+ * ],
117
+ * "actions": [
118
+ * {
119
+ * "id": "string",
120
+ * "api_name": "string",
121
+ * "name": "string",
122
+ * "function_api_name": "string",
123
+ * "visibility_preferences": [
124
+ * "LIST_VIEW"
125
+ * ]
126
+ * }
127
+ * ]
128
+ * }
129
+ * ```
130
+ */
131
+ retrieveCreate(query: RecordDetailRetrieveCreateParams, options?: RequestOptions): APIPromise<RecordDetailRetrieveCreateResponse>;
64
132
  }
65
133
  /**
66
134
  * Record values, edit capabilities, and the effective page layout for one readable
@@ -72,14 +140,19 @@ export interface RecordDetailRetrieveResponse {
72
140
  * query endpoint. Use it with object_api_name for canonical record GET and PATCH.
73
141
  */
74
142
  id: string;
143
+ /**
144
+ * Complete authorized DETAIL_VIEW actions. Function execution and execution reads
145
+ * remain separately authorized.
146
+ */
147
+ actions: Array<RecordDetailRetrieveResponse.Action>;
75
148
  /**
76
149
  * Permissions and lock state for this caller.
77
150
  */
78
151
  capabilities: RecordDetailRetrieveResponse.Capabilities;
79
152
  /**
80
153
  * Discoverable direct fields plus read-only related fields used by the layout.
81
- * Unreadable fields retain metadata and layout placements with a null, MASKED
82
- * value.
154
+ * Each value is the saved value loaded for this record. Unreadable fields retain
155
+ * metadata and layout placements with a null, MASKED value.
83
156
  */
84
157
  fields: {
85
158
  [key: string]: RecordDetailRetrieveResponse.DetailTextField | RecordDetailRetrieveResponse.DetailNumberField | RecordDetailRetrieveResponse.DetailBooleanField | RecordDetailRetrieveResponse.DetailDateField | RecordDetailRetrieveResponse.DetailDateTimeField | RecordDetailRetrieveResponse.DetailCurrencyField | RecordDetailRetrieveResponse.DetailChoiceField | RecordDetailRetrieveResponse.DetailMultiChoiceField | RecordDetailRetrieveResponse.DetailReferenceField | RecordDetailRetrieveResponse.DetailNativeReferenceField | RecordDetailRetrieveResponse.DetailPercentageField | RecordDetailRetrieveResponse.DetailTimeField | RecordDetailRetrieveResponse.DetailUnsupportedField;
@@ -100,6 +173,34 @@ export interface RecordDetailRetrieveResponse {
100
173
  updated_at: string;
101
174
  }
102
175
  export declare namespace RecordDetailRetrieveResponse {
176
+ /**
177
+ * A configured action the caller can attempt through the existing Function
178
+ * execution API.
179
+ */
180
+ interface Action {
181
+ /**
182
+ * Stable native ObjectAction identifier.
183
+ */
184
+ id: string;
185
+ /**
186
+ * Action API name; null for legacy actions.
187
+ */
188
+ api_name: string | null;
189
+ /**
190
+ * Associated Function API name for the unchanged Function execution endpoints.
191
+ * Discovery does not grant execution or execution-read permission.
192
+ */
193
+ function_api_name: string;
194
+ /**
195
+ * Action display label.
196
+ */
197
+ name: string;
198
+ /**
199
+ * Configured action placements: LIST_VIEW appears in an object grid; DETAIL_VIEW
200
+ * appears on a record page.
201
+ */
202
+ visibility_preferences: Array<'LIST_VIEW' | 'DETAIL_VIEW'>;
203
+ }
103
204
  /**
104
205
  * Permissions and lock state for this caller.
105
206
  */
@@ -121,7 +222,8 @@ export declare namespace RecordDetailRetrieveResponse {
121
222
  locked: boolean;
122
223
  }
123
224
  /**
124
- * A discoverable record field and the caller's read and write capabilities.
225
+ * A discoverable field and its initial value and capabilities for the requested
226
+ * flow.
125
227
  */
126
228
  interface DetailTextField {
127
229
  /**
@@ -136,9 +238,9 @@ export declare namespace RecordDetailRetrieveResponse {
136
238
  */
137
239
  data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
138
240
  /**
139
- * Whether you can attempt to update this field through the API. This does not
140
- * grant permission to browse reference targets; submitted reference identifiers
141
- * are validated when written.
241
+ * Whether you can attempt to supply or change this field through the canonical
242
+ * write API for the requested flow. This does not grant permission to browse
243
+ * reference targets; submitted reference identifiers are validated when written.
142
244
  */
143
245
  editable: boolean;
144
246
  /**
@@ -159,9 +261,10 @@ export declare namespace RecordDetailRetrieveResponse {
159
261
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
160
262
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
161
263
  * value), DERIVED (calculated value), MASKED (restricted value),
162
- * REFERENCE_UNAVAILABLE (unavailable reference target).
264
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
265
+ * by this requested flow).
163
266
  */
164
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
267
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
165
268
  /**
166
269
  * Whether a nonempty value is required by the field schema.
167
270
  */
@@ -172,26 +275,34 @@ export declare namespace RecordDetailRetrieveResponse {
172
275
  */
173
276
  value: string | null;
174
277
  /**
175
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
176
- * an empty string, or an empty array; MASKED when access to the field or a
177
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
178
- * represent the value. UNSUPPORTED does not determine edit permission.
278
+ * State of the value supplied for this requested flow: PRESENT for a readable
279
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
280
+ * empty array; MASKED when access to the field or a referenced value is
281
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
282
+ * UNSUPPORTED does not determine edit permission.
179
283
  */
180
284
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
181
285
  /**
182
- * Whether you can read this record's field. A referenced record may have separate
183
- * access restrictions.
286
+ * Whether the field value supplied for this requested flow is readable. Create
287
+ * responses describe only an authorized initial value and do not grant access to
288
+ * any existing record. A referenced record may have separate access restrictions.
184
289
  */
185
290
  viewable: boolean;
186
291
  /**
187
- * Object-graph/RQL target name for a supported reference, such as Employee,
188
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
189
- * fields and unsupported reference targets.
292
+ * Maximum accepted characters, or null when unbounded.
293
+ */
294
+ max_length?: number | null;
295
+ /**
296
+ * Target object API name for a supported reference, such as Employee, Department,
297
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
298
+ * on the relationships configured in the saved layout and the caller's access.
299
+ * Null for other fields and unsupported reference targets.
190
300
  */
191
301
  reference_object?: string | null;
192
302
  }
193
303
  /**
194
- * A discoverable record field and the caller's read and write capabilities.
304
+ * A discoverable field and its initial value and capabilities for the requested
305
+ * flow.
195
306
  */
196
307
  interface DetailNumberField {
197
308
  /**
@@ -205,9 +316,9 @@ export declare namespace RecordDetailRetrieveResponse {
205
316
  */
206
317
  data_type: 'NUMBER';
207
318
  /**
208
- * Whether you can attempt to update this field through the API. This does not
209
- * grant permission to browse reference targets; submitted reference identifiers
210
- * are validated when written.
319
+ * Whether you can attempt to supply or change this field through the canonical
320
+ * write API for the requested flow. This does not grant permission to browse
321
+ * reference targets; submitted reference identifiers are validated when written.
211
322
  */
212
323
  editable: boolean;
213
324
  /**
@@ -228,9 +339,10 @@ export declare namespace RecordDetailRetrieveResponse {
228
339
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
229
340
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
230
341
  * value), DERIVED (calculated value), MASKED (restricted value),
231
- * REFERENCE_UNAVAILABLE (unavailable reference target).
342
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
343
+ * by this requested flow).
232
344
  */
233
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
345
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
234
346
  /**
235
347
  * Whether a nonempty value is required by the field schema.
236
348
  */
@@ -241,26 +353,34 @@ export declare namespace RecordDetailRetrieveResponse {
241
353
  */
242
354
  value: string | null;
243
355
  /**
244
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
245
- * an empty string, or an empty array; MASKED when access to the field or a
246
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
247
- * represent the value. UNSUPPORTED does not determine edit permission.
356
+ * State of the value supplied for this requested flow: PRESENT for a readable
357
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
358
+ * empty array; MASKED when access to the field or a referenced value is
359
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
360
+ * UNSUPPORTED does not determine edit permission.
248
361
  */
249
362
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
250
363
  /**
251
- * Whether you can read this record's field. A referenced record may have separate
252
- * access restrictions.
364
+ * Whether the field value supplied for this requested flow is readable. Create
365
+ * responses describe only an authorized initial value and do not grant access to
366
+ * any existing record. A referenced record may have separate access restrictions.
253
367
  */
254
368
  viewable: boolean;
255
369
  /**
256
- * Object-graph/RQL target name for a supported reference, such as Employee,
257
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
258
- * fields and unsupported reference targets.
370
+ * Configured decimal places, or null.
371
+ */
372
+ num_of_decimal_places?: number | null;
373
+ /**
374
+ * Target object API name for a supported reference, such as Employee, Department,
375
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
376
+ * on the relationships configured in the saved layout and the caller's access.
377
+ * Null for other fields and unsupported reference targets.
259
378
  */
260
379
  reference_object?: string | null;
261
380
  }
262
381
  /**
263
- * A discoverable record field and the caller's read and write capabilities.
382
+ * A discoverable field and its initial value and capabilities for the requested
383
+ * flow.
264
384
  */
265
385
  interface DetailBooleanField {
266
386
  /**
@@ -274,9 +394,9 @@ export declare namespace RecordDetailRetrieveResponse {
274
394
  */
275
395
  data_type: 'BOOLEAN';
276
396
  /**
277
- * Whether you can attempt to update this field through the API. This does not
278
- * grant permission to browse reference targets; submitted reference identifiers
279
- * are validated when written.
397
+ * Whether you can attempt to supply or change this field through the canonical
398
+ * write API for the requested flow. This does not grant permission to browse
399
+ * reference targets; submitted reference identifiers are validated when written.
280
400
  */
281
401
  editable: boolean;
282
402
  /**
@@ -297,9 +417,10 @@ export declare namespace RecordDetailRetrieveResponse {
297
417
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
298
418
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
299
419
  * value), DERIVED (calculated value), MASKED (restricted value),
300
- * REFERENCE_UNAVAILABLE (unavailable reference target).
420
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
421
+ * by this requested flow).
301
422
  */
302
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
423
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
303
424
  /**
304
425
  * Whether a nonempty value is required by the field schema.
305
426
  */
@@ -309,26 +430,30 @@ export declare namespace RecordDetailRetrieveResponse {
309
430
  */
310
431
  value: boolean | null;
311
432
  /**
312
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
313
- * an empty string, or an empty array; MASKED when access to the field or a
314
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
315
- * represent the value. UNSUPPORTED does not determine edit permission.
433
+ * State of the value supplied for this requested flow: PRESENT for a readable
434
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
435
+ * empty array; MASKED when access to the field or a referenced value is
436
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
437
+ * UNSUPPORTED does not determine edit permission.
316
438
  */
317
439
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
318
440
  /**
319
- * Whether you can read this record's field. A referenced record may have separate
320
- * access restrictions.
441
+ * Whether the field value supplied for this requested flow is readable. Create
442
+ * responses describe only an authorized initial value and do not grant access to
443
+ * any existing record. A referenced record may have separate access restrictions.
321
444
  */
322
445
  viewable: boolean;
323
446
  /**
324
- * Object-graph/RQL target name for a supported reference, such as Employee,
325
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
326
- * fields and unsupported reference targets.
447
+ * Target object API name for a supported reference, such as Employee, Department,
448
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
449
+ * on the relationships configured in the saved layout and the caller's access.
450
+ * Null for other fields and unsupported reference targets.
327
451
  */
328
452
  reference_object?: string | null;
329
453
  }
330
454
  /**
331
- * A discoverable record field and the caller's read and write capabilities.
455
+ * A discoverable field and its initial value and capabilities for the requested
456
+ * flow.
332
457
  */
333
458
  interface DetailDateField {
334
459
  /**
@@ -342,9 +467,9 @@ export declare namespace RecordDetailRetrieveResponse {
342
467
  */
343
468
  data_type: 'DATE';
344
469
  /**
345
- * Whether you can attempt to update this field through the API. This does not
346
- * grant permission to browse reference targets; submitted reference identifiers
347
- * are validated when written.
470
+ * Whether you can attempt to supply or change this field through the canonical
471
+ * write API for the requested flow. This does not grant permission to browse
472
+ * reference targets; submitted reference identifiers are validated when written.
348
473
  */
349
474
  editable: boolean;
350
475
  /**
@@ -365,9 +490,10 @@ export declare namespace RecordDetailRetrieveResponse {
365
490
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
366
491
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
367
492
  * value), DERIVED (calculated value), MASKED (restricted value),
368
- * REFERENCE_UNAVAILABLE (unavailable reference target).
493
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
494
+ * by this requested flow).
369
495
  */
370
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
496
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
371
497
  /**
372
498
  * Whether a nonempty value is required by the field schema.
373
499
  */
@@ -378,26 +504,30 @@ export declare namespace RecordDetailRetrieveResponse {
378
504
  */
379
505
  value: string | null;
380
506
  /**
381
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
382
- * an empty string, or an empty array; MASKED when access to the field or a
383
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
384
- * represent the value. UNSUPPORTED does not determine edit permission.
507
+ * State of the value supplied for this requested flow: PRESENT for a readable
508
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
509
+ * empty array; MASKED when access to the field or a referenced value is
510
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
511
+ * UNSUPPORTED does not determine edit permission.
385
512
  */
386
513
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
387
514
  /**
388
- * Whether you can read this record's field. A referenced record may have separate
389
- * access restrictions.
515
+ * Whether the field value supplied for this requested flow is readable. Create
516
+ * responses describe only an authorized initial value and do not grant access to
517
+ * any existing record. A referenced record may have separate access restrictions.
390
518
  */
391
519
  viewable: boolean;
392
520
  /**
393
- * Object-graph/RQL target name for a supported reference, such as Employee,
394
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
395
- * fields and unsupported reference targets.
521
+ * Target object API name for a supported reference, such as Employee, Department,
522
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
523
+ * on the relationships configured in the saved layout and the caller's access.
524
+ * Null for other fields and unsupported reference targets.
396
525
  */
397
526
  reference_object?: string | null;
398
527
  }
399
528
  /**
400
- * A discoverable record field and the caller's read and write capabilities.
529
+ * A discoverable field and its initial value and capabilities for the requested
530
+ * flow.
401
531
  */
402
532
  interface DetailDateTimeField {
403
533
  /**
@@ -411,9 +541,9 @@ export declare namespace RecordDetailRetrieveResponse {
411
541
  */
412
542
  data_type: 'DATETIME';
413
543
  /**
414
- * Whether you can attempt to update this field through the API. This does not
415
- * grant permission to browse reference targets; submitted reference identifiers
416
- * are validated when written.
544
+ * Whether you can attempt to supply or change this field through the canonical
545
+ * write API for the requested flow. This does not grant permission to browse
546
+ * reference targets; submitted reference identifiers are validated when written.
417
547
  */
418
548
  editable: boolean;
419
549
  /**
@@ -434,9 +564,10 @@ export declare namespace RecordDetailRetrieveResponse {
434
564
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
435
565
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
436
566
  * value), DERIVED (calculated value), MASKED (restricted value),
437
- * REFERENCE_UNAVAILABLE (unavailable reference target).
567
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
568
+ * by this requested flow).
438
569
  */
439
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
570
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
440
571
  /**
441
572
  * Whether a nonempty value is required by the field schema.
442
573
  */
@@ -448,26 +579,30 @@ export declare namespace RecordDetailRetrieveResponse {
448
579
  */
449
580
  value: string | null;
450
581
  /**
451
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
452
- * an empty string, or an empty array; MASKED when access to the field or a
453
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
454
- * represent the value. UNSUPPORTED does not determine edit permission.
582
+ * State of the value supplied for this requested flow: PRESENT for a readable
583
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
584
+ * empty array; MASKED when access to the field or a referenced value is
585
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
586
+ * UNSUPPORTED does not determine edit permission.
455
587
  */
456
588
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
457
589
  /**
458
- * Whether you can read this record's field. A referenced record may have separate
459
- * access restrictions.
590
+ * Whether the field value supplied for this requested flow is readable. Create
591
+ * responses describe only an authorized initial value and do not grant access to
592
+ * any existing record. A referenced record may have separate access restrictions.
460
593
  */
461
594
  viewable: boolean;
462
595
  /**
463
- * Object-graph/RQL target name for a supported reference, such as Employee,
464
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
465
- * fields and unsupported reference targets.
596
+ * Target object API name for a supported reference, such as Employee, Department,
597
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
598
+ * on the relationships configured in the saved layout and the caller's access.
599
+ * Null for other fields and unsupported reference targets.
466
600
  */
467
601
  reference_object?: string | null;
468
602
  }
469
603
  /**
470
- * A discoverable record field and the caller's read and write capabilities.
604
+ * A discoverable field and its initial value and capabilities for the requested
605
+ * flow.
471
606
  */
472
607
  interface DetailCurrencyField {
473
608
  /**
@@ -481,9 +616,9 @@ export declare namespace RecordDetailRetrieveResponse {
481
616
  */
482
617
  data_type: 'CURRENCY';
483
618
  /**
484
- * Whether you can attempt to update this field through the API. This does not
485
- * grant permission to browse reference targets; submitted reference identifiers
486
- * are validated when written.
619
+ * Whether you can attempt to supply or change this field through the canonical
620
+ * write API for the requested flow. This does not grant permission to browse
621
+ * reference targets; submitted reference identifiers are validated when written.
487
622
  */
488
623
  editable: boolean;
489
624
  /**
@@ -504,9 +639,10 @@ export declare namespace RecordDetailRetrieveResponse {
504
639
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
505
640
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
506
641
  * value), DERIVED (calculated value), MASKED (restricted value),
507
- * REFERENCE_UNAVAILABLE (unavailable reference target).
642
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
643
+ * by this requested flow).
508
644
  */
509
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
645
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
510
646
  /**
511
647
  * Whether a nonempty value is required by the field schema.
512
648
  */
@@ -518,21 +654,32 @@ export declare namespace RecordDetailRetrieveResponse {
518
654
  */
519
655
  value: DetailCurrencyField.RecordDetailCurrency | null;
520
656
  /**
521
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
522
- * an empty string, or an empty array; MASKED when access to the field or a
523
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
524
- * represent the value. UNSUPPORTED does not determine edit permission.
657
+ * State of the value supplied for this requested flow: PRESENT for a readable
658
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
659
+ * empty array; MASKED when access to the field or a referenced value is
660
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
661
+ * UNSUPPORTED does not determine edit permission.
525
662
  */
526
663
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
527
664
  /**
528
- * Whether you can read this record's field. A referenced record may have separate
529
- * access restrictions.
665
+ * Whether the field value supplied for this requested flow is readable. Create
666
+ * responses describe only an authorized initial value and do not grant access to
667
+ * any existing record. A referenced record may have separate access restrictions.
530
668
  */
531
669
  viewable: boolean;
532
670
  /**
533
- * Object-graph/RQL target name for a supported reference, such as Employee,
534
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
535
- * fields and unsupported reference targets.
671
+ * Configured ISO 4217 currency code, or null when dynamic.
672
+ */
673
+ currency?: string | null;
674
+ /**
675
+ * Configured decimal places, or null.
676
+ */
677
+ num_of_decimal_places?: number | null;
678
+ /**
679
+ * Target object API name for a supported reference, such as Employee, Department,
680
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
681
+ * on the relationships configured in the saved layout and the caller's access.
682
+ * Null for other fields and unsupported reference targets.
536
683
  */
537
684
  reference_object?: string | null;
538
685
  }
@@ -552,7 +699,8 @@ export declare namespace RecordDetailRetrieveResponse {
552
699
  }
553
700
  }
554
701
  /**
555
- * A discoverable record field and the caller's read and write capabilities.
702
+ * A discoverable field and its initial value and capabilities for the requested
703
+ * flow.
556
704
  */
557
705
  interface DetailChoiceField {
558
706
  /**
@@ -566,9 +714,9 @@ export declare namespace RecordDetailRetrieveResponse {
566
714
  */
567
715
  data_type: 'RADIO';
568
716
  /**
569
- * Whether you can attempt to update this field through the API. This does not
570
- * grant permission to browse reference targets; submitted reference identifiers
571
- * are validated when written.
717
+ * Whether you can attempt to supply or change this field through the canonical
718
+ * write API for the requested flow. This does not grant permission to browse
719
+ * reference targets; submitted reference identifiers are validated when written.
572
720
  */
573
721
  editable: boolean;
574
722
  /**
@@ -589,9 +737,10 @@ export declare namespace RecordDetailRetrieveResponse {
589
737
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
590
738
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
591
739
  * value), DERIVED (calculated value), MASKED (restricted value),
592
- * REFERENCE_UNAVAILABLE (unavailable reference target).
740
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
741
+ * by this requested flow).
593
742
  */
594
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
743
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
595
744
  /**
596
745
  * Whether a nonempty value is required by the field schema.
597
746
  */
@@ -602,26 +751,30 @@ export declare namespace RecordDetailRetrieveResponse {
602
751
  */
603
752
  value: string | null;
604
753
  /**
605
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
606
- * an empty string, or an empty array; MASKED when access to the field or a
607
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
608
- * represent the value. UNSUPPORTED does not determine edit permission.
754
+ * State of the value supplied for this requested flow: PRESENT for a readable
755
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
756
+ * empty array; MASKED when access to the field or a referenced value is
757
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
758
+ * UNSUPPORTED does not determine edit permission.
609
759
  */
610
760
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
611
761
  /**
612
- * Whether you can read this record's field. A referenced record may have separate
613
- * access restrictions.
762
+ * Whether the field value supplied for this requested flow is readable. Create
763
+ * responses describe only an authorized initial value and do not grant access to
764
+ * any existing record. A referenced record may have separate access restrictions.
614
765
  */
615
766
  viewable: boolean;
616
767
  /**
617
- * Object-graph/RQL target name for a supported reference, such as Employee,
618
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
619
- * fields and unsupported reference targets.
768
+ * Target object API name for a supported reference, such as Employee, Department,
769
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
770
+ * on the relationships configured in the saved layout and the caller's access.
771
+ * Null for other fields and unsupported reference targets.
620
772
  */
621
773
  reference_object?: string | null;
622
774
  }
623
775
  /**
624
- * A discoverable record field and the caller's read and write capabilities.
776
+ * A discoverable field and its initial value and capabilities for the requested
777
+ * flow.
625
778
  */
626
779
  interface DetailMultiChoiceField {
627
780
  /**
@@ -635,9 +788,9 @@ export declare namespace RecordDetailRetrieveResponse {
635
788
  */
636
789
  data_type: 'SELECT';
637
790
  /**
638
- * Whether you can attempt to update this field through the API. This does not
639
- * grant permission to browse reference targets; submitted reference identifiers
640
- * are validated when written.
791
+ * Whether you can attempt to supply or change this field through the canonical
792
+ * write API for the requested flow. This does not grant permission to browse
793
+ * reference targets; submitted reference identifiers are validated when written.
641
794
  */
642
795
  editable: boolean;
643
796
  /**
@@ -658,9 +811,10 @@ export declare namespace RecordDetailRetrieveResponse {
658
811
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
659
812
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
660
813
  * value), DERIVED (calculated value), MASKED (restricted value),
661
- * REFERENCE_UNAVAILABLE (unavailable reference target).
814
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
815
+ * by this requested flow).
662
816
  */
663
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
817
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
664
818
  /**
665
819
  * Whether a nonempty value is required by the field schema.
666
820
  */
@@ -671,26 +825,30 @@ export declare namespace RecordDetailRetrieveResponse {
671
825
  */
672
826
  value: Array<string> | null;
673
827
  /**
674
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
675
- * an empty string, or an empty array; MASKED when access to the field or a
676
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
677
- * represent the value. UNSUPPORTED does not determine edit permission.
828
+ * State of the value supplied for this requested flow: PRESENT for a readable
829
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
830
+ * empty array; MASKED when access to the field or a referenced value is
831
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
832
+ * UNSUPPORTED does not determine edit permission.
678
833
  */
679
834
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
680
835
  /**
681
- * Whether you can read this record's field. A referenced record may have separate
682
- * access restrictions.
836
+ * Whether the field value supplied for this requested flow is readable. Create
837
+ * responses describe only an authorized initial value and do not grant access to
838
+ * any existing record. A referenced record may have separate access restrictions.
683
839
  */
684
840
  viewable: boolean;
685
841
  /**
686
- * Object-graph/RQL target name for a supported reference, such as Employee,
687
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
688
- * fields and unsupported reference targets.
842
+ * Target object API name for a supported reference, such as Employee, Department,
843
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
844
+ * on the relationships configured in the saved layout and the caller's access.
845
+ * Null for other fields and unsupported reference targets.
689
846
  */
690
847
  reference_object?: string | null;
691
848
  }
692
849
  /**
693
- * A discoverable record field and the caller's read and write capabilities.
850
+ * A discoverable field and its initial value and capabilities for the requested
851
+ * flow.
694
852
  */
695
853
  interface DetailReferenceField {
696
854
  /**
@@ -705,9 +863,9 @@ export declare namespace RecordDetailRetrieveResponse {
705
863
  */
706
864
  data_type: 'OG_REFERENCE_FIELD';
707
865
  /**
708
- * Whether you can attempt to update this field through the API. This does not
709
- * grant permission to browse reference targets; submitted reference identifiers
710
- * are validated when written.
866
+ * Whether you can attempt to supply or change this field through the canonical
867
+ * write API for the requested flow. This does not grant permission to browse
868
+ * reference targets; submitted reference identifiers are validated when written.
711
869
  */
712
870
  editable: boolean;
713
871
  /**
@@ -728,29 +886,34 @@ export declare namespace RecordDetailRetrieveResponse {
728
886
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
729
887
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
730
888
  * value), DERIVED (calculated value), MASKED (restricted value),
731
- * REFERENCE_UNAVAILABLE (unavailable reference target).
889
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
890
+ * by this requested flow).
732
891
  */
733
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
892
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
734
893
  /**
735
894
  * Whether a nonempty value is required by the field schema.
736
895
  */
737
896
  required: boolean;
738
897
  /**
739
898
  * Selected record identifier in the reference_object target; null when empty or
740
- * masked. Use the Workers GET endpoint for Employee or RoleWithCompany targets, or
741
- * the Custom Object record GET endpoint for Custom Object targets.
899
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
900
+ * through GET /departments/{id}/, and Custom Object records through GET
901
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
902
+ * not have a public record endpoint; use display for their presentation.
742
903
  */
743
904
  value: string | null;
744
905
  /**
745
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
746
- * an empty string, or an empty array; MASKED when access to the field or a
747
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
748
- * represent the value. UNSUPPORTED does not determine edit permission.
906
+ * State of the value supplied for this requested flow: PRESENT for a readable
907
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
908
+ * empty array; MASKED when access to the field or a referenced value is
909
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
910
+ * UNSUPPORTED does not determine edit permission.
749
911
  */
750
912
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
751
913
  /**
752
- * Whether you can read this record's field. A referenced record may have separate
753
- * access restrictions.
914
+ * Whether the field value supplied for this requested flow is readable. Create
915
+ * responses describe only an authorized initial value and do not grant access to
916
+ * any existing record. A referenced record may have separate access restrictions.
754
917
  */
755
918
  viewable: boolean;
756
919
  /**
@@ -759,9 +922,10 @@ export declare namespace RecordDetailRetrieveResponse {
759
922
  */
760
923
  display?: DetailReferenceField.ReferenceDisplay | null;
761
924
  /**
762
- * Object-graph/RQL target name for a supported reference, such as Employee,
763
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
764
- * fields and unsupported reference targets.
925
+ * Target object API name for a supported reference, such as Employee, Department,
926
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
927
+ * on the relationships configured in the saved layout and the caller's access.
928
+ * Null for other fields and unsupported reference targets.
765
929
  */
766
930
  reference_object?: string | null;
767
931
  }
@@ -785,7 +949,8 @@ export declare namespace RecordDetailRetrieveResponse {
785
949
  }
786
950
  }
787
951
  /**
788
- * A discoverable record field and the caller's read and write capabilities.
952
+ * A discoverable field and its initial value and capabilities for the requested
953
+ * flow.
789
954
  */
790
955
  interface DetailNativeReferenceField {
791
956
  /**
@@ -800,9 +965,9 @@ export declare namespace RecordDetailRetrieveResponse {
800
965
  */
801
966
  data_type: 'NATIVE_EDGE';
802
967
  /**
803
- * Whether you can attempt to update this field through the API. This does not
804
- * grant permission to browse reference targets; submitted reference identifiers
805
- * are validated when written.
968
+ * Whether you can attempt to supply or change this field through the canonical
969
+ * write API for the requested flow. This does not grant permission to browse
970
+ * reference targets; submitted reference identifiers are validated when written.
806
971
  */
807
972
  editable: boolean;
808
973
  /**
@@ -823,29 +988,34 @@ export declare namespace RecordDetailRetrieveResponse {
823
988
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
824
989
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
825
990
  * value), DERIVED (calculated value), MASKED (restricted value),
826
- * REFERENCE_UNAVAILABLE (unavailable reference target).
991
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
992
+ * by this requested flow).
827
993
  */
828
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
994
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
829
995
  /**
830
996
  * Whether a nonempty value is required by the field schema.
831
997
  */
832
998
  required: boolean;
833
999
  /**
834
1000
  * Selected record identifier in the reference_object target; null when empty or
835
- * masked. Use the Workers GET endpoint for Employee or RoleWithCompany targets, or
836
- * the Custom Object record GET endpoint for Custom Object targets.
1001
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
1002
+ * through GET /departments/{id}/, and Custom Object records through GET
1003
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
1004
+ * not have a public record endpoint; use display for their presentation.
837
1005
  */
838
1006
  value: string | null;
839
1007
  /**
840
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
841
- * an empty string, or an empty array; MASKED when access to the field or a
842
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
843
- * represent the value. UNSUPPORTED does not determine edit permission.
1008
+ * State of the value supplied for this requested flow: PRESENT for a readable
1009
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1010
+ * empty array; MASKED when access to the field or a referenced value is
1011
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1012
+ * UNSUPPORTED does not determine edit permission.
844
1013
  */
845
1014
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
846
1015
  /**
847
- * Whether you can read this record's field. A referenced record may have separate
848
- * access restrictions.
1016
+ * Whether the field value supplied for this requested flow is readable. Create
1017
+ * responses describe only an authorized initial value and do not grant access to
1018
+ * any existing record. A referenced record may have separate access restrictions.
849
1019
  */
850
1020
  viewable: boolean;
851
1021
  /**
@@ -854,9 +1024,10 @@ export declare namespace RecordDetailRetrieveResponse {
854
1024
  */
855
1025
  display?: DetailNativeReferenceField.ReferenceDisplay | null;
856
1026
  /**
857
- * Object-graph/RQL target name for a supported reference, such as Employee,
858
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
859
- * fields and unsupported reference targets.
1027
+ * Target object API name for a supported reference, such as Employee, Department,
1028
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1029
+ * on the relationships configured in the saved layout and the caller's access.
1030
+ * Null for other fields and unsupported reference targets.
860
1031
  */
861
1032
  reference_object?: string | null;
862
1033
  }
@@ -880,7 +1051,8 @@ export declare namespace RecordDetailRetrieveResponse {
880
1051
  }
881
1052
  }
882
1053
  /**
883
- * A discoverable record field and the caller's read and write capabilities.
1054
+ * A discoverable field and its initial value and capabilities for the requested
1055
+ * flow.
884
1056
  */
885
1057
  interface DetailPercentageField {
886
1058
  /**
@@ -894,9 +1066,9 @@ export declare namespace RecordDetailRetrieveResponse {
894
1066
  */
895
1067
  data_type: 'PERCENTAGE';
896
1068
  /**
897
- * Whether you can attempt to update this field through the API. This does not
898
- * grant permission to browse reference targets; submitted reference identifiers
899
- * are validated when written.
1069
+ * Whether you can attempt to supply or change this field through the canonical
1070
+ * write API for the requested flow. This does not grant permission to browse
1071
+ * reference targets; submitted reference identifiers are validated when written.
900
1072
  */
901
1073
  editable: boolean;
902
1074
  /**
@@ -917,9 +1089,10 @@ export declare namespace RecordDetailRetrieveResponse {
917
1089
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
918
1090
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
919
1091
  * value), DERIVED (calculated value), MASKED (restricted value),
920
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1092
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1093
+ * by this requested flow).
921
1094
  */
922
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
1095
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
923
1096
  /**
924
1097
  * Whether a nonempty value is required by the field schema.
925
1098
  */
@@ -930,26 +1103,34 @@ export declare namespace RecordDetailRetrieveResponse {
930
1103
  */
931
1104
  value: number | null;
932
1105
  /**
933
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
934
- * an empty string, or an empty array; MASKED when access to the field or a
935
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
936
- * represent the value. UNSUPPORTED does not determine edit permission.
1106
+ * State of the value supplied for this requested flow: PRESENT for a readable
1107
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1108
+ * empty array; MASKED when access to the field or a referenced value is
1109
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1110
+ * UNSUPPORTED does not determine edit permission.
937
1111
  */
938
1112
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
939
1113
  /**
940
- * Whether you can read this record's field. A referenced record may have separate
941
- * access restrictions.
1114
+ * Whether the field value supplied for this requested flow is readable. Create
1115
+ * responses describe only an authorized initial value and do not grant access to
1116
+ * any existing record. A referenced record may have separate access restrictions.
942
1117
  */
943
1118
  viewable: boolean;
944
1119
  /**
945
- * Object-graph/RQL target name for a supported reference, such as Employee,
946
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
947
- * fields and unsupported reference targets.
1120
+ * Configured decimal places, or null.
1121
+ */
1122
+ num_of_decimal_places?: number | null;
1123
+ /**
1124
+ * Target object API name for a supported reference, such as Employee, Department,
1125
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1126
+ * on the relationships configured in the saved layout and the caller's access.
1127
+ * Null for other fields and unsupported reference targets.
948
1128
  */
949
1129
  reference_object?: string | null;
950
1130
  }
951
1131
  /**
952
- * A discoverable record field and the caller's read and write capabilities.
1132
+ * A discoverable field and its initial value and capabilities for the requested
1133
+ * flow.
953
1134
  */
954
1135
  interface DetailTimeField {
955
1136
  /**
@@ -963,9 +1144,9 @@ export declare namespace RecordDetailRetrieveResponse {
963
1144
  */
964
1145
  data_type: 'TIME';
965
1146
  /**
966
- * Whether you can attempt to update this field through the API. This does not
967
- * grant permission to browse reference targets; submitted reference identifiers
968
- * are validated when written.
1147
+ * Whether you can attempt to supply or change this field through the canonical
1148
+ * write API for the requested flow. This does not grant permission to browse
1149
+ * reference targets; submitted reference identifiers are validated when written.
969
1150
  */
970
1151
  editable: boolean;
971
1152
  /**
@@ -986,9 +1167,10 @@ export declare namespace RecordDetailRetrieveResponse {
986
1167
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
987
1168
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
988
1169
  * value), DERIVED (calculated value), MASKED (restricted value),
989
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1170
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1171
+ * by this requested flow).
990
1172
  */
991
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
1173
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
992
1174
  /**
993
1175
  * Whether a nonempty value is required by the field schema.
994
1176
  */
@@ -998,26 +1180,30 @@ export declare namespace RecordDetailRetrieveResponse {
998
1180
  */
999
1181
  value: string | null;
1000
1182
  /**
1001
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
1002
- * an empty string, or an empty array; MASKED when access to the field or a
1003
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
1004
- * represent the value. UNSUPPORTED does not determine edit permission.
1183
+ * State of the value supplied for this requested flow: PRESENT for a readable
1184
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1185
+ * empty array; MASKED when access to the field or a referenced value is
1186
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1187
+ * UNSUPPORTED does not determine edit permission.
1005
1188
  */
1006
1189
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1007
1190
  /**
1008
- * Whether you can read this record's field. A referenced record may have separate
1009
- * access restrictions.
1191
+ * Whether the field value supplied for this requested flow is readable. Create
1192
+ * responses describe only an authorized initial value and do not grant access to
1193
+ * any existing record. A referenced record may have separate access restrictions.
1010
1194
  */
1011
1195
  viewable: boolean;
1012
1196
  /**
1013
- * Object-graph/RQL target name for a supported reference, such as Employee,
1014
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
1015
- * fields and unsupported reference targets.
1197
+ * Target object API name for a supported reference, such as Employee, Department,
1198
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1199
+ * on the relationships configured in the saved layout and the caller's access.
1200
+ * Null for other fields and unsupported reference targets.
1016
1201
  */
1017
1202
  reference_object?: string | null;
1018
1203
  }
1019
1204
  /**
1020
- * A discoverable record field and the caller's read and write capabilities.
1205
+ * A discoverable field and its initial value and capabilities for the requested
1206
+ * flow.
1021
1207
  */
1022
1208
  interface DetailUnsupportedField {
1023
1209
  /**
@@ -1032,9 +1218,9 @@ export declare namespace RecordDetailRetrieveResponse {
1032
1218
  */
1033
1219
  data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
1034
1220
  /**
1035
- * Whether you can attempt to update this field through the API. This does not
1036
- * grant permission to browse reference targets; submitted reference identifiers
1037
- * are validated when written.
1221
+ * Whether you can attempt to supply or change this field through the canonical
1222
+ * write API for the requested flow. This does not grant permission to browse
1223
+ * reference targets; submitted reference identifiers are validated when written.
1038
1224
  */
1039
1225
  editable: boolean;
1040
1226
  /**
@@ -1055,9 +1241,10 @@ export declare namespace RecordDetailRetrieveResponse {
1055
1241
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1056
1242
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1057
1243
  * value), DERIVED (calculated value), MASKED (restricted value),
1058
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1244
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1245
+ * by this requested flow).
1059
1246
  */
1060
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
1247
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1061
1248
  /**
1062
1249
  * Whether a nonempty value is required by the field schema.
1063
1250
  */
@@ -1068,21 +1255,24 @@ export declare namespace RecordDetailRetrieveResponse {
1068
1255
  */
1069
1256
  value: null;
1070
1257
  /**
1071
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
1072
- * an empty string, or an empty array; MASKED when access to the field or a
1073
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
1074
- * represent the value. UNSUPPORTED does not determine edit permission.
1258
+ * State of the value supplied for this requested flow: PRESENT for a readable
1259
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1260
+ * empty array; MASKED when access to the field or a referenced value is
1261
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1262
+ * UNSUPPORTED does not determine edit permission.
1075
1263
  */
1076
1264
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1077
1265
  /**
1078
- * Whether you can read this record's field. A referenced record may have separate
1079
- * access restrictions.
1266
+ * Whether the field value supplied for this requested flow is readable. Create
1267
+ * responses describe only an authorized initial value and do not grant access to
1268
+ * any existing record. A referenced record may have separate access restrictions.
1080
1269
  */
1081
1270
  viewable: boolean;
1082
1271
  /**
1083
- * Object-graph/RQL target name for a supported reference, such as Employee,
1084
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
1085
- * fields and unsupported reference targets.
1272
+ * Target object API name for a supported reference, such as Employee, Department,
1273
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1274
+ * on the relationships configured in the saved layout and the caller's access.
1275
+ * Null for other fields and unsupported reference targets.
1086
1276
  */
1087
1277
  reference_object?: string | null;
1088
1278
  }
@@ -1098,11 +1288,6 @@ export declare namespace RecordDetailRetrieveResponse {
1098
1288
  * Semantic record header.
1099
1289
  */
1100
1290
  header: Layout.Header;
1101
- /**
1102
- * Opaque revision of the effective, permission-filtered layout. Compare to detect
1103
- * layout changes; this is not the record write version.
1104
- */
1105
- revision: string;
1106
1291
  /**
1107
1292
  * Ordered, visible tabs.
1108
1293
  */
@@ -1150,8 +1335,7 @@ export declare namespace RecordDetailRetrieveResponse {
1150
1335
  */
1151
1336
  interface Section {
1152
1337
  /**
1153
- * Section identifier scoped to the effective layout. Use a RELATED_LIST section's
1154
- * records_link to retrieve its records.
1338
+ * Section identifier scoped to the effective layout.
1155
1339
  */
1156
1340
  id: string;
1157
1341
  /**
@@ -1168,11 +1352,16 @@ export declare namespace RecordDetailRetrieveResponse {
1168
1352
  */
1169
1353
  label: string;
1170
1354
  /**
1171
- * FIELDS contains ordered field placements; RELATED_LIST describes records loaded
1172
- * through records_link; UNSUPPORTED identifies visible content this API cannot
1173
- * render.
1355
+ * FIELDS contains ordered field placements; RELATED_LIST describes a deferred
1356
+ * related-record grid without embedding its rows; UNSUPPORTED identifies visible
1357
+ * content this API cannot render.
1174
1358
  */
1175
1359
  type: 'FIELDS' | 'RELATED_LIST' | 'UNSUPPORTED';
1360
+ /**
1361
+ * Ordered readable columns configured for a RELATED_LIST; empty for other
1362
+ * sections.
1363
+ */
1364
+ column_field_api_names?: Array<string>;
1176
1365
  /**
1177
1366
  * Related Custom Object API name; null for other sections.
1178
1367
  */
@@ -1185,10 +1374,10 @@ export declare namespace RecordDetailRetrieveResponse {
1185
1374
  */
1186
1375
  reason?: 'CONTENT_NOT_SUPPORTED' | 'RELATED_OBJECT_NOT_SUPPORTED' | null;
1187
1376
  /**
1188
- * Authorized related-record collection URL, including the resolved layout; null
1189
- * for other sections.
1377
+ * Field on the related Custom Object that points to this record; null for other
1378
+ * sections.
1190
1379
  */
1191
- records_link?: string | null;
1380
+ relationship_field_api_name?: string | null;
1192
1381
  }
1193
1382
  namespace Section {
1194
1383
  /**
@@ -1208,7 +1397,1272 @@ export declare namespace RecordDetailRetrieveResponse {
1208
1397
  }
1209
1398
  }
1210
1399
  }
1211
- export interface RecordDetailRetrieveParams {
1400
+ /**
1401
+ * Permissioned create form context; no record has been persisted.
1402
+ */
1403
+ export interface RecordDetailRetrieveCreateResponse {
1404
+ /**
1405
+ * Empty: no record exists in create context.
1406
+ */
1407
+ actions: Array<RecordDetailRetrieveCreateResponse.Action>;
1408
+ /**
1409
+ * Caller-safe reasons the form cannot be submitted. Hidden or unavailable field
1410
+ * names are not disclosed.
1411
+ */
1412
+ blockers: Array<RecordDetailRetrieveCreateResponse.Blocker>;
1413
+ /**
1414
+ * Supported create inputs. Each value is the authorized configured default or
1415
+ * owner fallback for this create flow, or an EMPTY value when no eligible default
1416
+ * exists. Reference identifiers and display are presentation values; convert them
1417
+ * to the canonical record POST input shape when writing.
1418
+ */
1419
+ fields: {
1420
+ [key: string]: RecordDetailRetrieveCreateResponse.DetailTextField | RecordDetailRetrieveCreateResponse.DetailNumberField | RecordDetailRetrieveCreateResponse.DetailBooleanField | RecordDetailRetrieveCreateResponse.DetailDateField | RecordDetailRetrieveCreateResponse.DetailDateTimeField | RecordDetailRetrieveCreateResponse.DetailCurrencyField | RecordDetailRetrieveCreateResponse.DetailChoiceField | RecordDetailRetrieveCreateResponse.DetailMultiChoiceField | RecordDetailRetrieveCreateResponse.DetailReferenceField | RecordDetailRetrieveCreateResponse.DetailNativeReferenceField | RecordDetailRetrieveCreateResponse.DetailPercentageField | RecordDetailRetrieveCreateResponse.DetailTimeField | RecordDetailRetrieveCreateResponse.DetailUnsupportedField;
1421
+ };
1422
+ /**
1423
+ * Effective create layout after visibility and permission filtering.
1424
+ */
1425
+ layout: RecordDetailRetrieveCreateResponse.Layout;
1426
+ /**
1427
+ * Custom Object API name for this create context.
1428
+ */
1429
+ object_api_name: string;
1430
+ }
1431
+ export declare namespace RecordDetailRetrieveCreateResponse {
1432
+ /**
1433
+ * A configured action the caller can attempt through the existing Function
1434
+ * execution API.
1435
+ */
1436
+ interface Action {
1437
+ /**
1438
+ * Stable native ObjectAction identifier.
1439
+ */
1440
+ id: string;
1441
+ /**
1442
+ * Action API name; null for legacy actions.
1443
+ */
1444
+ api_name: string | null;
1445
+ /**
1446
+ * Associated Function API name for the unchanged Function execution endpoints.
1447
+ * Discovery does not grant execution or execution-read permission.
1448
+ */
1449
+ function_api_name: string;
1450
+ /**
1451
+ * Action display label.
1452
+ */
1453
+ name: string;
1454
+ /**
1455
+ * Configured action placements: LIST_VIEW appears in an object grid; DETAIL_VIEW
1456
+ * appears on a record page.
1457
+ */
1458
+ visibility_preferences: Array<'LIST_VIEW' | 'DETAIL_VIEW'>;
1459
+ }
1460
+ interface Blocker {
1461
+ /**
1462
+ * REQUIRED_INPUT_UNAVAILABLE means a required input cannot be supplied through the
1463
+ * form; NO_SUPPORTED_INPUTS means the form has no supported inputs.
1464
+ */
1465
+ code: 'REQUIRED_INPUT_UNAVAILABLE' | 'NO_SUPPORTED_INPUTS';
1466
+ /**
1467
+ * Caller-safe explanation of the blocker.
1468
+ */
1469
+ message: string;
1470
+ /**
1471
+ * Field API name when safe to disclose; null when omitted to avoid exposing an
1472
+ * unavailable or hidden field.
1473
+ */
1474
+ field_api_name?: string | null;
1475
+ }
1476
+ /**
1477
+ * A discoverable field and its initial value and capabilities for the requested
1478
+ * flow.
1479
+ */
1480
+ interface DetailTextField {
1481
+ /**
1482
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1483
+ * keys come from the Custom Object field definition; dotted related keys are
1484
+ * read-only.
1485
+ */
1486
+ api_name: string;
1487
+ /**
1488
+ * TEXT and LONG_TEXT contain text; EMAIL, URL, and PHONE_NUMBER contain their
1489
+ * respective textual values.
1490
+ */
1491
+ data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
1492
+ /**
1493
+ * Whether you can attempt to supply or change this field through the canonical
1494
+ * write API for the requested flow. This does not grant permission to browse
1495
+ * reference targets; submitted reference identifiers are validated when written.
1496
+ */
1497
+ editable: boolean;
1498
+ /**
1499
+ * Field display name.
1500
+ */
1501
+ label: string;
1502
+ /**
1503
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1504
+ * and scalar references.
1505
+ */
1506
+ multiple: boolean;
1507
+ /**
1508
+ * Configured choice values; empty for non-choice fields.
1509
+ */
1510
+ options: Array<string>;
1511
+ /**
1512
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1513
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1514
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1515
+ * value), DERIVED (calculated value), MASKED (restricted value),
1516
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1517
+ * by this requested flow).
1518
+ */
1519
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1520
+ /**
1521
+ * Whether a nonempty value is required by the field schema.
1522
+ */
1523
+ required: boolean;
1524
+ /**
1525
+ * Readable text, including an empty string with value_state EMPTY; null when unset
1526
+ * or masked.
1527
+ */
1528
+ value: string | null;
1529
+ /**
1530
+ * State of the value supplied for this requested flow: PRESENT for a readable
1531
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1532
+ * empty array; MASKED when access to the field or a referenced value is
1533
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1534
+ * UNSUPPORTED does not determine edit permission.
1535
+ */
1536
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1537
+ /**
1538
+ * Whether the field value supplied for this requested flow is readable. Create
1539
+ * responses describe only an authorized initial value and do not grant access to
1540
+ * any existing record. A referenced record may have separate access restrictions.
1541
+ */
1542
+ viewable: boolean;
1543
+ /**
1544
+ * Maximum accepted characters, or null when unbounded.
1545
+ */
1546
+ max_length?: number | null;
1547
+ /**
1548
+ * Target object API name for a supported reference, such as Employee, Department,
1549
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1550
+ * on the relationships configured in the saved layout and the caller's access.
1551
+ * Null for other fields and unsupported reference targets.
1552
+ */
1553
+ reference_object?: string | null;
1554
+ }
1555
+ /**
1556
+ * A discoverable field and its initial value and capabilities for the requested
1557
+ * flow.
1558
+ */
1559
+ interface DetailNumberField {
1560
+ /**
1561
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1562
+ * keys come from the Custom Object field definition; dotted related keys are
1563
+ * read-only.
1564
+ */
1565
+ api_name: string;
1566
+ /**
1567
+ * NUMBER contains a decimal quantity.
1568
+ */
1569
+ data_type: 'NUMBER';
1570
+ /**
1571
+ * Whether you can attempt to supply or change this field through the canonical
1572
+ * write API for the requested flow. This does not grant permission to browse
1573
+ * reference targets; submitted reference identifiers are validated when written.
1574
+ */
1575
+ editable: boolean;
1576
+ /**
1577
+ * Field display name.
1578
+ */
1579
+ label: string;
1580
+ /**
1581
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1582
+ * and scalar references.
1583
+ */
1584
+ multiple: boolean;
1585
+ /**
1586
+ * Configured choice values; empty for non-choice fields.
1587
+ */
1588
+ options: Array<string>;
1589
+ /**
1590
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1591
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1592
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1593
+ * value), DERIVED (calculated value), MASKED (restricted value),
1594
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1595
+ * by this requested flow).
1596
+ */
1597
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1598
+ /**
1599
+ * Whether a nonempty value is required by the field schema.
1600
+ */
1601
+ required: boolean;
1602
+ /**
1603
+ * Decimal quantity encoded as a string to preserve precision, for example 12.50.
1604
+ * Units follow the configured field's meaning. Null unless value_state is PRESENT.
1605
+ */
1606
+ value: string | null;
1607
+ /**
1608
+ * State of the value supplied for this requested flow: PRESENT for a readable
1609
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1610
+ * empty array; MASKED when access to the field or a referenced value is
1611
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1612
+ * UNSUPPORTED does not determine edit permission.
1613
+ */
1614
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1615
+ /**
1616
+ * Whether the field value supplied for this requested flow is readable. Create
1617
+ * responses describe only an authorized initial value and do not grant access to
1618
+ * any existing record. A referenced record may have separate access restrictions.
1619
+ */
1620
+ viewable: boolean;
1621
+ /**
1622
+ * Configured decimal places, or null.
1623
+ */
1624
+ num_of_decimal_places?: number | null;
1625
+ /**
1626
+ * Target object API name for a supported reference, such as Employee, Department,
1627
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1628
+ * on the relationships configured in the saved layout and the caller's access.
1629
+ * Null for other fields and unsupported reference targets.
1630
+ */
1631
+ reference_object?: string | null;
1632
+ }
1633
+ /**
1634
+ * A discoverable field and its initial value and capabilities for the requested
1635
+ * flow.
1636
+ */
1637
+ interface DetailBooleanField {
1638
+ /**
1639
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1640
+ * keys come from the Custom Object field definition; dotted related keys are
1641
+ * read-only.
1642
+ */
1643
+ api_name: string;
1644
+ /**
1645
+ * BOOLEAN contains true or false.
1646
+ */
1647
+ data_type: 'BOOLEAN';
1648
+ /**
1649
+ * Whether you can attempt to supply or change this field through the canonical
1650
+ * write API for the requested flow. This does not grant permission to browse
1651
+ * reference targets; submitted reference identifiers are validated when written.
1652
+ */
1653
+ editable: boolean;
1654
+ /**
1655
+ * Field display name.
1656
+ */
1657
+ label: string;
1658
+ /**
1659
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1660
+ * and scalar references.
1661
+ */
1662
+ multiple: boolean;
1663
+ /**
1664
+ * Configured choice values; empty for non-choice fields.
1665
+ */
1666
+ options: Array<string>;
1667
+ /**
1668
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1669
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1670
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1671
+ * value), DERIVED (calculated value), MASKED (restricted value),
1672
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1673
+ * by this requested flow).
1674
+ */
1675
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1676
+ /**
1677
+ * Whether a nonempty value is required by the field schema.
1678
+ */
1679
+ required: boolean;
1680
+ /**
1681
+ * Whether the configured condition is true; null unless value_state is PRESENT.
1682
+ */
1683
+ value: boolean | null;
1684
+ /**
1685
+ * State of the value supplied for this requested flow: PRESENT for a readable
1686
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1687
+ * empty array; MASKED when access to the field or a referenced value is
1688
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1689
+ * UNSUPPORTED does not determine edit permission.
1690
+ */
1691
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1692
+ /**
1693
+ * Whether the field value supplied for this requested flow is readable. Create
1694
+ * responses describe only an authorized initial value and do not grant access to
1695
+ * any existing record. A referenced record may have separate access restrictions.
1696
+ */
1697
+ viewable: boolean;
1698
+ /**
1699
+ * Target object API name for a supported reference, such as Employee, Department,
1700
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1701
+ * on the relationships configured in the saved layout and the caller's access.
1702
+ * Null for other fields and unsupported reference targets.
1703
+ */
1704
+ reference_object?: string | null;
1705
+ }
1706
+ /**
1707
+ * A discoverable field and its initial value and capabilities for the requested
1708
+ * flow.
1709
+ */
1710
+ interface DetailDateField {
1711
+ /**
1712
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1713
+ * keys come from the Custom Object field definition; dotted related keys are
1714
+ * read-only.
1715
+ */
1716
+ api_name: string;
1717
+ /**
1718
+ * DATE contains a calendar date without a time or timezone.
1719
+ */
1720
+ data_type: 'DATE';
1721
+ /**
1722
+ * Whether you can attempt to supply or change this field through the canonical
1723
+ * write API for the requested flow. This does not grant permission to browse
1724
+ * reference targets; submitted reference identifiers are validated when written.
1725
+ */
1726
+ editable: boolean;
1727
+ /**
1728
+ * Field display name.
1729
+ */
1730
+ label: string;
1731
+ /**
1732
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1733
+ * and scalar references.
1734
+ */
1735
+ multiple: boolean;
1736
+ /**
1737
+ * Configured choice values; empty for non-choice fields.
1738
+ */
1739
+ options: Array<string>;
1740
+ /**
1741
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1742
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1743
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1744
+ * value), DERIVED (calculated value), MASKED (restricted value),
1745
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1746
+ * by this requested flow).
1747
+ */
1748
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1749
+ /**
1750
+ * Whether a nonempty value is required by the field schema.
1751
+ */
1752
+ required: boolean;
1753
+ /**
1754
+ * Calendar date in YYYY-MM-DD format, for example 2026-10-24; null unless
1755
+ * value_state is PRESENT.
1756
+ */
1757
+ value: string | null;
1758
+ /**
1759
+ * State of the value supplied for this requested flow: PRESENT for a readable
1760
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1761
+ * empty array; MASKED when access to the field or a referenced value is
1762
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1763
+ * UNSUPPORTED does not determine edit permission.
1764
+ */
1765
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1766
+ /**
1767
+ * Whether the field value supplied for this requested flow is readable. Create
1768
+ * responses describe only an authorized initial value and do not grant access to
1769
+ * any existing record. A referenced record may have separate access restrictions.
1770
+ */
1771
+ viewable: boolean;
1772
+ /**
1773
+ * Target object API name for a supported reference, such as Employee, Department,
1774
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1775
+ * on the relationships configured in the saved layout and the caller's access.
1776
+ * Null for other fields and unsupported reference targets.
1777
+ */
1778
+ reference_object?: string | null;
1779
+ }
1780
+ /**
1781
+ * A discoverable field and its initial value and capabilities for the requested
1782
+ * flow.
1783
+ */
1784
+ interface DetailDateTimeField {
1785
+ /**
1786
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1787
+ * keys come from the Custom Object field definition; dotted related keys are
1788
+ * read-only.
1789
+ */
1790
+ api_name: string;
1791
+ /**
1792
+ * DATETIME contains an instant with a timezone.
1793
+ */
1794
+ data_type: 'DATETIME';
1795
+ /**
1796
+ * Whether you can attempt to supply or change this field through the canonical
1797
+ * write API for the requested flow. This does not grant permission to browse
1798
+ * reference targets; submitted reference identifiers are validated when written.
1799
+ */
1800
+ editable: boolean;
1801
+ /**
1802
+ * Field display name.
1803
+ */
1804
+ label: string;
1805
+ /**
1806
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1807
+ * and scalar references.
1808
+ */
1809
+ multiple: boolean;
1810
+ /**
1811
+ * Configured choice values; empty for non-choice fields.
1812
+ */
1813
+ options: Array<string>;
1814
+ /**
1815
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1816
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1817
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1818
+ * value), DERIVED (calculated value), MASKED (restricted value),
1819
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1820
+ * by this requested flow).
1821
+ */
1822
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1823
+ /**
1824
+ * Whether a nonempty value is required by the field schema.
1825
+ */
1826
+ required: boolean;
1827
+ /**
1828
+ * ISO 8601 timestamp with timezone and up to millisecond precision, matching
1829
+ * native record JSON responses; null unless value_state is PRESENT. System audit
1830
+ * timestamps are immutable.
1831
+ */
1832
+ value: string | null;
1833
+ /**
1834
+ * State of the value supplied for this requested flow: PRESENT for a readable
1835
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1836
+ * empty array; MASKED when access to the field or a referenced value is
1837
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1838
+ * UNSUPPORTED does not determine edit permission.
1839
+ */
1840
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1841
+ /**
1842
+ * Whether the field value supplied for this requested flow is readable. Create
1843
+ * responses describe only an authorized initial value and do not grant access to
1844
+ * any existing record. A referenced record may have separate access restrictions.
1845
+ */
1846
+ viewable: boolean;
1847
+ /**
1848
+ * Target object API name for a supported reference, such as Employee, Department,
1849
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1850
+ * on the relationships configured in the saved layout and the caller's access.
1851
+ * Null for other fields and unsupported reference targets.
1852
+ */
1853
+ reference_object?: string | null;
1854
+ }
1855
+ /**
1856
+ * A discoverable field and its initial value and capabilities for the requested
1857
+ * flow.
1858
+ */
1859
+ interface DetailCurrencyField {
1860
+ /**
1861
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1862
+ * keys come from the Custom Object field definition; dotted related keys are
1863
+ * read-only.
1864
+ */
1865
+ api_name: string;
1866
+ /**
1867
+ * CURRENCY contains a monetary amount and its currency.
1868
+ */
1869
+ data_type: 'CURRENCY';
1870
+ /**
1871
+ * Whether you can attempt to supply or change this field through the canonical
1872
+ * write API for the requested flow. This does not grant permission to browse
1873
+ * reference targets; submitted reference identifiers are validated when written.
1874
+ */
1875
+ editable: boolean;
1876
+ /**
1877
+ * Field display name.
1878
+ */
1879
+ label: string;
1880
+ /**
1881
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1882
+ * and scalar references.
1883
+ */
1884
+ multiple: boolean;
1885
+ /**
1886
+ * Configured choice values; empty for non-choice fields.
1887
+ */
1888
+ options: Array<string>;
1889
+ /**
1890
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1891
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1892
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1893
+ * value), DERIVED (calculated value), MASKED (restricted value),
1894
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1895
+ * by this requested flow).
1896
+ */
1897
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1898
+ /**
1899
+ * Whether a nonempty value is required by the field schema.
1900
+ */
1901
+ required: boolean;
1902
+ /**
1903
+ * Currency object with an ISO 4217 currency_type and decimal-string value, for
1904
+ * example {"currency_type": "USD", "value": "25.00"}. The amount is in currency
1905
+ * units, not cents. Null unless value_state is PRESENT.
1906
+ */
1907
+ value: DetailCurrencyField.RecordDetailCurrency | null;
1908
+ /**
1909
+ * State of the value supplied for this requested flow: PRESENT for a readable
1910
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1911
+ * empty array; MASKED when access to the field or a referenced value is
1912
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1913
+ * UNSUPPORTED does not determine edit permission.
1914
+ */
1915
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1916
+ /**
1917
+ * Whether the field value supplied for this requested flow is readable. Create
1918
+ * responses describe only an authorized initial value and do not grant access to
1919
+ * any existing record. A referenced record may have separate access restrictions.
1920
+ */
1921
+ viewable: boolean;
1922
+ /**
1923
+ * Configured ISO 4217 currency code, or null when dynamic.
1924
+ */
1925
+ currency?: string | null;
1926
+ /**
1927
+ * Configured decimal places, or null.
1928
+ */
1929
+ num_of_decimal_places?: number | null;
1930
+ /**
1931
+ * Target object API name for a supported reference, such as Employee, Department,
1932
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1933
+ * on the relationships configured in the saved layout and the caller's access.
1934
+ * Null for other fields and unsupported reference targets.
1935
+ */
1936
+ reference_object?: string | null;
1937
+ }
1938
+ namespace DetailCurrencyField {
1939
+ /**
1940
+ * Platform Currency serialized with a decimal string amount to preserve precision.
1941
+ */
1942
+ interface RecordDetailCurrency {
1943
+ /**
1944
+ * ISO 4217 currency code, for example USD or EUR.
1945
+ */
1946
+ currency_type: string;
1947
+ /**
1948
+ * Decimal monetary amount in currency units, for example 25.00; not integer cents.
1949
+ */
1950
+ value: string;
1951
+ }
1952
+ }
1953
+ /**
1954
+ * A discoverable field and its initial value and capabilities for the requested
1955
+ * flow.
1956
+ */
1957
+ interface DetailChoiceField {
1958
+ /**
1959
+ * Field key used by layout placements and canonical record PATCH changes. Direct
1960
+ * keys come from the Custom Object field definition; dotted related keys are
1961
+ * read-only.
1962
+ */
1963
+ api_name: string;
1964
+ /**
1965
+ * RADIO contains one configured choice.
1966
+ */
1967
+ data_type: 'RADIO';
1968
+ /**
1969
+ * Whether you can attempt to supply or change this field through the canonical
1970
+ * write API for the requested flow. This does not grant permission to browse
1971
+ * reference targets; submitted reference identifiers are validated when written.
1972
+ */
1973
+ editable: boolean;
1974
+ /**
1975
+ * Field display name.
1976
+ */
1977
+ label: string;
1978
+ /**
1979
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
1980
+ * and scalar references.
1981
+ */
1982
+ multiple: boolean;
1983
+ /**
1984
+ * Configured choice values; empty for non-choice fields.
1985
+ */
1986
+ options: Array<string>;
1987
+ /**
1988
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
1989
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1990
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1991
+ * value), DERIVED (calculated value), MASKED (restricted value),
1992
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1993
+ * by this requested flow).
1994
+ */
1995
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1996
+ /**
1997
+ * Whether a nonempty value is required by the field schema.
1998
+ */
1999
+ required: boolean;
2000
+ /**
2001
+ * One value from options, or an empty string with value_state EMPTY; null when
2002
+ * unset or masked.
2003
+ */
2004
+ value: string | null;
2005
+ /**
2006
+ * State of the value supplied for this requested flow: PRESENT for a readable
2007
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
2008
+ * empty array; MASKED when access to the field or a referenced value is
2009
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
2010
+ * UNSUPPORTED does not determine edit permission.
2011
+ */
2012
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
2013
+ /**
2014
+ * Whether the field value supplied for this requested flow is readable. Create
2015
+ * responses describe only an authorized initial value and do not grant access to
2016
+ * any existing record. A referenced record may have separate access restrictions.
2017
+ */
2018
+ viewable: boolean;
2019
+ /**
2020
+ * Target object API name for a supported reference, such as Employee, Department,
2021
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
2022
+ * on the relationships configured in the saved layout and the caller's access.
2023
+ * Null for other fields and unsupported reference targets.
2024
+ */
2025
+ reference_object?: string | null;
2026
+ }
2027
+ /**
2028
+ * A discoverable field and its initial value and capabilities for the requested
2029
+ * flow.
2030
+ */
2031
+ interface DetailMultiChoiceField {
2032
+ /**
2033
+ * Field key used by layout placements and canonical record PATCH changes. Direct
2034
+ * keys come from the Custom Object field definition; dotted related keys are
2035
+ * read-only.
2036
+ */
2037
+ api_name: string;
2038
+ /**
2039
+ * SELECT contains zero or more configured choices.
2040
+ */
2041
+ data_type: 'SELECT';
2042
+ /**
2043
+ * Whether you can attempt to supply or change this field through the canonical
2044
+ * write API for the requested flow. This does not grant permission to browse
2045
+ * reference targets; submitted reference identifiers are validated when written.
2046
+ */
2047
+ editable: boolean;
2048
+ /**
2049
+ * Field display name.
2050
+ */
2051
+ label: string;
2052
+ /**
2053
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
2054
+ * and scalar references.
2055
+ */
2056
+ multiple: boolean;
2057
+ /**
2058
+ * Configured choice values; empty for non-choice fields.
2059
+ */
2060
+ options: Array<string>;
2061
+ /**
2062
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
2063
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
2064
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
2065
+ * value), DERIVED (calculated value), MASKED (restricted value),
2066
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
2067
+ * by this requested flow).
2068
+ */
2069
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
2070
+ /**
2071
+ * Whether a nonempty value is required by the field schema.
2072
+ */
2073
+ required: boolean;
2074
+ /**
2075
+ * Selected values from options. An empty selection is [] with value_state EMPTY;
2076
+ * null when unset or masked.
2077
+ */
2078
+ value: Array<string> | null;
2079
+ /**
2080
+ * State of the value supplied for this requested flow: PRESENT for a readable
2081
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
2082
+ * empty array; MASKED when access to the field or a referenced value is
2083
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
2084
+ * UNSUPPORTED does not determine edit permission.
2085
+ */
2086
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
2087
+ /**
2088
+ * Whether the field value supplied for this requested flow is readable. Create
2089
+ * responses describe only an authorized initial value and do not grant access to
2090
+ * any existing record. A referenced record may have separate access restrictions.
2091
+ */
2092
+ viewable: boolean;
2093
+ /**
2094
+ * Target object API name for a supported reference, such as Employee, Department,
2095
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
2096
+ * on the relationships configured in the saved layout and the caller's access.
2097
+ * Null for other fields and unsupported reference targets.
2098
+ */
2099
+ reference_object?: string | null;
2100
+ }
2101
+ /**
2102
+ * A discoverable field and its initial value and capabilities for the requested
2103
+ * flow.
2104
+ */
2105
+ interface DetailReferenceField {
2106
+ /**
2107
+ * Field key used by layout placements and canonical record PATCH changes. Direct
2108
+ * keys come from the Custom Object field definition; dotted related keys are
2109
+ * read-only.
2110
+ */
2111
+ api_name: string;
2112
+ /**
2113
+ * OG_REFERENCE_FIELD identifies a reference to the object named by
2114
+ * reference_object, including owner_role, created_by, and last_modified_by fields.
2115
+ */
2116
+ data_type: 'OG_REFERENCE_FIELD';
2117
+ /**
2118
+ * Whether you can attempt to supply or change this field through the canonical
2119
+ * write API for the requested flow. This does not grant permission to browse
2120
+ * reference targets; submitted reference identifiers are validated when written.
2121
+ */
2122
+ editable: boolean;
2123
+ /**
2124
+ * Field display name.
2125
+ */
2126
+ label: string;
2127
+ /**
2128
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
2129
+ * and scalar references.
2130
+ */
2131
+ multiple: boolean;
2132
+ /**
2133
+ * Configured choice values; empty for non-choice fields.
2134
+ */
2135
+ options: Array<string>;
2136
+ /**
2137
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
2138
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
2139
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
2140
+ * value), DERIVED (calculated value), MASKED (restricted value),
2141
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
2142
+ * by this requested flow).
2143
+ */
2144
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
2145
+ /**
2146
+ * Whether a nonempty value is required by the field schema.
2147
+ */
2148
+ required: boolean;
2149
+ /**
2150
+ * Selected record identifier in the reference_object target; null when empty or
2151
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
2152
+ * through GET /departments/{id}/, and Custom Object records through GET
2153
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
2154
+ * not have a public record endpoint; use display for their presentation.
2155
+ */
2156
+ value: string | null;
2157
+ /**
2158
+ * State of the value supplied for this requested flow: PRESENT for a readable
2159
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
2160
+ * empty array; MASKED when access to the field or a referenced value is
2161
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
2162
+ * UNSUPPORTED does not determine edit permission.
2163
+ */
2164
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
2165
+ /**
2166
+ * Whether the field value supplied for this requested flow is readable. Create
2167
+ * responses describe only an authorized initial value and do not grant access to
2168
+ * any existing record. A referenced record may have separate access restrictions.
2169
+ */
2170
+ viewable: boolean;
2171
+ /**
2172
+ * Permitted presentation of the selection, or null when unavailable. Empty and
2173
+ * masked references have no presentation.
2174
+ */
2175
+ display?: DetailReferenceField.ReferenceDisplay | null;
2176
+ /**
2177
+ * Target object API name for a supported reference, such as Employee, Department,
2178
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
2179
+ * on the relationships configured in the saved layout and the caller's access.
2180
+ * Null for other fields and unsupported reference targets.
2181
+ */
2182
+ reference_object?: string | null;
2183
+ }
2184
+ namespace DetailReferenceField {
2185
+ /**
2186
+ * Optional presentation of a readable reference, independent of its identifier.
2187
+ */
2188
+ interface ReferenceDisplay {
2189
+ /**
2190
+ * Permitted display label; never synthesized from the identifier.
2191
+ */
2192
+ label: string;
2193
+ /**
2194
+ * Permitted image URL, or null when unavailable.
2195
+ */
2196
+ image_url?: string | null;
2197
+ /**
2198
+ * Permitted secondary text, or null when unavailable.
2199
+ */
2200
+ secondary_label?: string | null;
2201
+ }
2202
+ }
2203
+ /**
2204
+ * A discoverable field and its initial value and capabilities for the requested
2205
+ * flow.
2206
+ */
2207
+ interface DetailNativeReferenceField {
2208
+ /**
2209
+ * Field key used by layout placements and canonical record PATCH changes. Direct
2210
+ * keys come from the Custom Object field definition; dotted related keys are
2211
+ * read-only.
2212
+ */
2213
+ api_name: string;
2214
+ /**
2215
+ * NATIVE_EDGE identifies a relationship using the same selected identifier and
2216
+ * optional presentation contract.
2217
+ */
2218
+ data_type: 'NATIVE_EDGE';
2219
+ /**
2220
+ * Whether you can attempt to supply or change this field through the canonical
2221
+ * write API for the requested flow. This does not grant permission to browse
2222
+ * reference targets; submitted reference identifiers are validated when written.
2223
+ */
2224
+ editable: boolean;
2225
+ /**
2226
+ * Field display name.
2227
+ */
2228
+ label: string;
2229
+ /**
2230
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
2231
+ * and scalar references.
2232
+ */
2233
+ multiple: boolean;
2234
+ /**
2235
+ * Configured choice values; empty for non-choice fields.
2236
+ */
2237
+ options: Array<string>;
2238
+ /**
2239
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
2240
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
2241
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
2242
+ * value), DERIVED (calculated value), MASKED (restricted value),
2243
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
2244
+ * by this requested flow).
2245
+ */
2246
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
2247
+ /**
2248
+ * Whether a nonempty value is required by the field schema.
2249
+ */
2250
+ required: boolean;
2251
+ /**
2252
+ * Selected record identifier in the reference_object target; null when empty or
2253
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
2254
+ * through GET /departments/{id}/, and Custom Object records through GET
2255
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
2256
+ * not have a public record endpoint; use display for their presentation.
2257
+ */
2258
+ value: string | null;
2259
+ /**
2260
+ * State of the value supplied for this requested flow: PRESENT for a readable
2261
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
2262
+ * empty array; MASKED when access to the field or a referenced value is
2263
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
2264
+ * UNSUPPORTED does not determine edit permission.
2265
+ */
2266
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
2267
+ /**
2268
+ * Whether the field value supplied for this requested flow is readable. Create
2269
+ * responses describe only an authorized initial value and do not grant access to
2270
+ * any existing record. A referenced record may have separate access restrictions.
2271
+ */
2272
+ viewable: boolean;
2273
+ /**
2274
+ * Permitted presentation of the selection, or null when unavailable. Empty and
2275
+ * masked references have no presentation.
2276
+ */
2277
+ display?: DetailNativeReferenceField.ReferenceDisplay | null;
2278
+ /**
2279
+ * Target object API name for a supported reference, such as Employee, Department,
2280
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
2281
+ * on the relationships configured in the saved layout and the caller's access.
2282
+ * Null for other fields and unsupported reference targets.
2283
+ */
2284
+ reference_object?: string | null;
2285
+ }
2286
+ namespace DetailNativeReferenceField {
2287
+ /**
2288
+ * Optional presentation of a readable reference, independent of its identifier.
2289
+ */
2290
+ interface ReferenceDisplay {
2291
+ /**
2292
+ * Permitted display label; never synthesized from the identifier.
2293
+ */
2294
+ label: string;
2295
+ /**
2296
+ * Permitted image URL, or null when unavailable.
2297
+ */
2298
+ image_url?: string | null;
2299
+ /**
2300
+ * Permitted secondary text, or null when unavailable.
2301
+ */
2302
+ secondary_label?: string | null;
2303
+ }
2304
+ }
2305
+ /**
2306
+ * A discoverable field and its initial value and capabilities for the requested
2307
+ * flow.
2308
+ */
2309
+ interface DetailPercentageField {
2310
+ /**
2311
+ * Field key used by layout placements and canonical record PATCH changes. Direct
2312
+ * keys come from the Custom Object field definition; dotted related keys are
2313
+ * read-only.
2314
+ */
2315
+ api_name: string;
2316
+ /**
2317
+ * PERCENTAGE contains a decimal ratio, where 1 means 100%.
2318
+ */
2319
+ data_type: 'PERCENTAGE';
2320
+ /**
2321
+ * Whether you can attempt to supply or change this field through the canonical
2322
+ * write API for the requested flow. This does not grant permission to browse
2323
+ * reference targets; submitted reference identifiers are validated when written.
2324
+ */
2325
+ editable: boolean;
2326
+ /**
2327
+ * Field display name.
2328
+ */
2329
+ label: string;
2330
+ /**
2331
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
2332
+ * and scalar references.
2333
+ */
2334
+ multiple: boolean;
2335
+ /**
2336
+ * Configured choice values; empty for non-choice fields.
2337
+ */
2338
+ options: Array<string>;
2339
+ /**
2340
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
2341
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
2342
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
2343
+ * value), DERIVED (calculated value), MASKED (restricted value),
2344
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
2345
+ * by this requested flow).
2346
+ */
2347
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
2348
+ /**
2349
+ * Whether a nonempty value is required by the field schema.
2350
+ */
2351
+ required: boolean;
2352
+ /**
2353
+ * JSON number containing a decimal ratio without a percent sign: 0, 0.3, 1 and 1.5
2354
+ * mean 0%, 30%, 100% and 150%. Null unless PRESENT.
2355
+ */
2356
+ value: number | null;
2357
+ /**
2358
+ * State of the value supplied for this requested flow: PRESENT for a readable
2359
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
2360
+ * empty array; MASKED when access to the field or a referenced value is
2361
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
2362
+ * UNSUPPORTED does not determine edit permission.
2363
+ */
2364
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
2365
+ /**
2366
+ * Whether the field value supplied for this requested flow is readable. Create
2367
+ * responses describe only an authorized initial value and do not grant access to
2368
+ * any existing record. A referenced record may have separate access restrictions.
2369
+ */
2370
+ viewable: boolean;
2371
+ /**
2372
+ * Configured decimal places, or null.
2373
+ */
2374
+ num_of_decimal_places?: number | null;
2375
+ /**
2376
+ * Target object API name for a supported reference, such as Employee, Department,
2377
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
2378
+ * on the relationships configured in the saved layout and the caller's access.
2379
+ * Null for other fields and unsupported reference targets.
2380
+ */
2381
+ reference_object?: string | null;
2382
+ }
2383
+ /**
2384
+ * A discoverable field and its initial value and capabilities for the requested
2385
+ * flow.
2386
+ */
2387
+ interface DetailTimeField {
2388
+ /**
2389
+ * Field key used by layout placements and canonical record PATCH changes. Direct
2390
+ * keys come from the Custom Object field definition; dotted related keys are
2391
+ * read-only.
2392
+ */
2393
+ api_name: string;
2394
+ /**
2395
+ * TIME contains a time of day.
2396
+ */
2397
+ data_type: 'TIME';
2398
+ /**
2399
+ * Whether you can attempt to supply or change this field through the canonical
2400
+ * write API for the requested flow. This does not grant permission to browse
2401
+ * reference targets; submitted reference identifiers are validated when written.
2402
+ */
2403
+ editable: boolean;
2404
+ /**
2405
+ * Field display name.
2406
+ */
2407
+ label: string;
2408
+ /**
2409
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
2410
+ * and scalar references.
2411
+ */
2412
+ multiple: boolean;
2413
+ /**
2414
+ * Configured choice values; empty for non-choice fields.
2415
+ */
2416
+ options: Array<string>;
2417
+ /**
2418
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
2419
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
2420
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
2421
+ * value), DERIVED (calculated value), MASKED (restricted value),
2422
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
2423
+ * by this requested flow).
2424
+ */
2425
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
2426
+ /**
2427
+ * Whether a nonempty value is required by the field schema.
2428
+ */
2429
+ required: boolean;
2430
+ /**
2431
+ * Time of day in HH:MM:SS format; null unless PRESENT.
2432
+ */
2433
+ value: string | null;
2434
+ /**
2435
+ * State of the value supplied for this requested flow: PRESENT for a readable
2436
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
2437
+ * empty array; MASKED when access to the field or a referenced value is
2438
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
2439
+ * UNSUPPORTED does not determine edit permission.
2440
+ */
2441
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
2442
+ /**
2443
+ * Whether the field value supplied for this requested flow is readable. Create
2444
+ * responses describe only an authorized initial value and do not grant access to
2445
+ * any existing record. A referenced record may have separate access restrictions.
2446
+ */
2447
+ viewable: boolean;
2448
+ /**
2449
+ * Target object API name for a supported reference, such as Employee, Department,
2450
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
2451
+ * on the relationships configured in the saved layout and the caller's access.
2452
+ * Null for other fields and unsupported reference targets.
2453
+ */
2454
+ reference_object?: string | null;
2455
+ }
2456
+ /**
2457
+ * A discoverable field and its initial value and capabilities for the requested
2458
+ * flow.
2459
+ */
2460
+ interface DetailUnsupportedField {
2461
+ /**
2462
+ * Field key used by layout placements and canonical record PATCH changes. Direct
2463
+ * keys come from the Custom Object field definition; dotted related keys are
2464
+ * read-only.
2465
+ */
2466
+ api_name: string;
2467
+ /**
2468
+ * Field types whose values this endpoint does not currently represent. Edit
2469
+ * permission is evaluated independently of value representation.
2470
+ */
2471
+ data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
2472
+ /**
2473
+ * Whether you can attempt to supply or change this field through the canonical
2474
+ * write API for the requested flow. This does not grant permission to browse
2475
+ * reference targets; submitted reference identifiers are validated when written.
2476
+ */
2477
+ editable: boolean;
2478
+ /**
2479
+ * Field display name.
2480
+ */
2481
+ label: string;
2482
+ /**
2483
+ * Whether this field accepts multiple selections. True for SELECT; false for RADIO
2484
+ * and scalar references.
2485
+ */
2486
+ multiple: boolean;
2487
+ /**
2488
+ * Configured choice values; empty for non-choice fields.
2489
+ */
2490
+ options: Array<string>;
2491
+ /**
2492
+ * Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
2493
+ * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
2494
+ * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
2495
+ * value), DERIVED (calculated value), MASKED (restricted value),
2496
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
2497
+ * by this requested flow).
2498
+ */
2499
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
2500
+ /**
2501
+ * Whether a nonempty value is required by the field schema.
2502
+ */
2503
+ required: boolean;
2504
+ /**
2505
+ * Always null. UNSUPPORTED withholds the value representation; MASKED takes
2506
+ * precedence for a restricted value. Neither state grants write permission.
2507
+ */
2508
+ value: null;
2509
+ /**
2510
+ * State of the value supplied for this requested flow: PRESENT for a readable
2511
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
2512
+ * empty array; MASKED when access to the field or a referenced value is
2513
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
2514
+ * UNSUPPORTED does not determine edit permission.
2515
+ */
2516
+ value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
2517
+ /**
2518
+ * Whether the field value supplied for this requested flow is readable. Create
2519
+ * responses describe only an authorized initial value and do not grant access to
2520
+ * any existing record. A referenced record may have separate access restrictions.
2521
+ */
2522
+ viewable: boolean;
2523
+ /**
2524
+ * Target object API name for a supported reference, such as Employee, Department,
2525
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
2526
+ * on the relationships configured in the saved layout and the caller's access.
2527
+ * Null for other fields and unsupported reference targets.
2528
+ */
2529
+ reference_object?: string | null;
2530
+ }
2531
+ /**
2532
+ * Effective create layout after visibility and permission filtering.
2533
+ */
2534
+ interface Layout {
2535
+ /**
2536
+ * Resolved saved layout API name.
2537
+ */
2538
+ api_name: string;
2539
+ /**
2540
+ * Semantic record header.
2541
+ */
2542
+ header: Layout.Header;
2543
+ /**
2544
+ * Ordered, visible tabs.
2545
+ */
2546
+ tabs: Array<Layout.Tab>;
2547
+ }
2548
+ namespace Layout {
2549
+ /**
2550
+ * Semantic record header.
2551
+ */
2552
+ interface Header {
2553
+ /**
2554
+ * Ordered summary field API names.
2555
+ */
2556
+ fields: Array<string>;
2557
+ /**
2558
+ * Description field API name, or null when unavailable.
2559
+ */
2560
+ description_field?: string | null;
2561
+ /**
2562
+ * Title field API name, or null when unavailable.
2563
+ */
2564
+ title_field?: string | null;
2565
+ }
2566
+ /**
2567
+ * Ordered, visible tab of sections in the effective record page layout.
2568
+ */
2569
+ interface Tab {
2570
+ /**
2571
+ * Stable tab identifier.
2572
+ */
2573
+ id: string;
2574
+ /**
2575
+ * Tab display name.
2576
+ */
2577
+ label: string;
2578
+ /**
2579
+ * Ordered, visible sections.
2580
+ */
2581
+ sections: Array<Tab.Section>;
2582
+ }
2583
+ namespace Tab {
2584
+ /**
2585
+ * Visible group of field placements, a deferred related list, or explicitly
2586
+ * unsupported content.
2587
+ */
2588
+ interface Section {
2589
+ /**
2590
+ * Section identifier scoped to the effective layout.
2591
+ */
2592
+ id: string;
2593
+ /**
2594
+ * Suggested field columns; clients may adapt to available space.
2595
+ */
2596
+ columns: number;
2597
+ /**
2598
+ * Ordered placements for a FIELDS section. Empty for RELATED_LIST and UNSUPPORTED
2599
+ * sections.
2600
+ */
2601
+ fields: Array<Section.Field>;
2602
+ /**
2603
+ * Section display name.
2604
+ */
2605
+ label: string;
2606
+ /**
2607
+ * FIELDS contains ordered field placements; RELATED_LIST describes a deferred
2608
+ * related-record grid without embedding its rows; UNSUPPORTED identifies visible
2609
+ * content this API cannot render.
2610
+ */
2611
+ type: 'FIELDS' | 'RELATED_LIST' | 'UNSUPPORTED';
2612
+ /**
2613
+ * Ordered readable columns configured for a RELATED_LIST; empty for other
2614
+ * sections.
2615
+ */
2616
+ column_field_api_names?: Array<string>;
2617
+ /**
2618
+ * Related Custom Object API name; null for other sections.
2619
+ */
2620
+ object_api_name?: string | null;
2621
+ /**
2622
+ * CONTENT_NOT_SUPPORTED means this section requires a renderer outside this API;
2623
+ * RELATED_OBJECT_NOT_SUPPORTED means the related list targets a native object,
2624
+ * which this release cannot render. Null for supported field and Custom Object
2625
+ * related-list sections.
2626
+ */
2627
+ reason?: 'CONTENT_NOT_SUPPORTED' | 'RELATED_OBJECT_NOT_SUPPORTED' | null;
2628
+ /**
2629
+ * Field on the related Custom Object that points to this record; null for other
2630
+ * sections.
2631
+ */
2632
+ relationship_field_api_name?: string | null;
2633
+ }
2634
+ namespace Section {
2635
+ /**
2636
+ * Placement of a discoverable field in a saved layout; contains no field value.
2637
+ */
2638
+ interface Field {
2639
+ /**
2640
+ * Field API name in the response fields map.
2641
+ */
2642
+ field: string;
2643
+ /**
2644
+ * Whether this placement is read-only.
2645
+ */
2646
+ read_only: boolean;
2647
+ }
2648
+ }
2649
+ }
2650
+ }
2651
+ }
2652
+ export interface RecordDetailRetrieveParams {
2653
+ /**
2654
+ * Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
2655
+ * definition or the grid's configured object.
2656
+ */
2657
+ object_api_name: string;
2658
+ /**
2659
+ * Select the saved Custom Object page layout by API name. Omit to use default.
2660
+ * Keep the resolved layout.api_name from the detail response when loading related
2661
+ * sections.
2662
+ */
2663
+ layout_api_name?: string;
2664
+ }
2665
+ export interface RecordDetailRetrieveCreateParams {
1212
2666
  /**
1213
2667
  * Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
1214
2668
  * definition or the grid's configured object.
@@ -1222,6 +2676,6 @@ export interface RecordDetailRetrieveParams {
1222
2676
  layout_api_name?: string;
1223
2677
  }
1224
2678
  export declare namespace RecordDetails {
1225
- export { type RecordDetailRetrieveResponse as RecordDetailRetrieveResponse, type RecordDetailRetrieveParams as RecordDetailRetrieveParams, };
2679
+ export { type RecordDetailRetrieveResponse as RecordDetailRetrieveResponse, type RecordDetailRetrieveCreateResponse as RecordDetailRetrieveCreateResponse, type RecordDetailRetrieveParams as RecordDetailRetrieveParams, type RecordDetailRetrieveCreateParams as RecordDetailRetrieveCreateParams, };
1226
2680
  }
1227
2681
  //# sourceMappingURL=record-details.d.mts.map