@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
@@ -9,9 +9,9 @@ export declare class RecordDetailRelatedRecords extends APIResource {
9
9
  * Lists readable Custom Object records in a related-list section of the parent
10
10
  * record's effective layout.
11
11
  *
12
- * Follow records_link from the detail response. The server resolves the
13
- * relationship and saved list fields; callers cannot substitute a relationship
14
- * filter. Requires read access and token authorization for both the parent and
12
+ * Pass the parent identifiers and RELATED_LIST section id from the detail
13
+ * response. The server resolves the relationship and saved list fields; callers
14
+ * cannot substitute a relationship filter. Requires access to both the parent and
15
15
  * target Custom Objects. A section removed or hidden by layout visibility is
16
16
  * unavailable.
17
17
  *
@@ -65,7 +65,8 @@ export interface RecordDetailRelatedRecordListResponse {
65
65
  }
66
66
  export declare namespace RecordDetailRelatedRecordListResponse {
67
67
  /**
68
- * A discoverable record field and the caller's read and write capabilities.
68
+ * A discoverable field and its initial value and capabilities for the requested
69
+ * flow.
69
70
  */
70
71
  interface DetailTextField {
71
72
  /**
@@ -80,9 +81,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
80
81
  */
81
82
  data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
82
83
  /**
83
- * Whether you can attempt to update this field through the API. This does not
84
- * grant permission to browse reference targets; submitted reference identifiers
85
- * are validated when written.
84
+ * Whether you can attempt to supply or change this field through the canonical
85
+ * write API for the requested flow. This does not grant permission to browse
86
+ * reference targets; submitted reference identifiers are validated when written.
86
87
  */
87
88
  editable: boolean;
88
89
  /**
@@ -103,9 +104,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
103
104
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
104
105
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
105
106
  * value), DERIVED (calculated value), MASKED (restricted value),
106
- * REFERENCE_UNAVAILABLE (unavailable reference target).
107
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
108
+ * by this requested flow).
107
109
  */
108
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
110
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
109
111
  /**
110
112
  * Whether a nonempty value is required by the field schema.
111
113
  */
@@ -116,26 +118,34 @@ export declare namespace RecordDetailRelatedRecordListResponse {
116
118
  */
117
119
  value: string | null;
118
120
  /**
119
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
120
- * an empty string, or an empty array; MASKED when access to the field or a
121
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
122
- * represent the value. UNSUPPORTED does not determine edit permission.
121
+ * State of the value supplied for this requested flow: PRESENT for a readable
122
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
123
+ * empty array; MASKED when access to the field or a referenced value is
124
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
125
+ * UNSUPPORTED does not determine edit permission.
123
126
  */
124
127
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
125
128
  /**
126
- * Whether you can read this record's field. A referenced record may have separate
127
- * access restrictions.
129
+ * Whether the field value supplied for this requested flow is readable. Create
130
+ * responses describe only an authorized initial value and do not grant access to
131
+ * any existing record. A referenced record may have separate access restrictions.
128
132
  */
129
133
  viewable: boolean;
130
134
  /**
131
- * Object-graph/RQL target name for a supported reference, such as Employee,
132
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
133
- * fields and unsupported reference targets.
135
+ * Maximum accepted characters, or null when unbounded.
136
+ */
137
+ max_length?: number | null;
138
+ /**
139
+ * Target object API name for a supported reference, such as Employee, Department,
140
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
141
+ * on the relationships configured in the saved layout and the caller's access.
142
+ * Null for other fields and unsupported reference targets.
134
143
  */
135
144
  reference_object?: string | null;
136
145
  }
137
146
  /**
138
- * A discoverable record field and the caller's read and write capabilities.
147
+ * A discoverable field and its initial value and capabilities for the requested
148
+ * flow.
139
149
  */
140
150
  interface DetailNumberField {
141
151
  /**
@@ -149,9 +159,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
149
159
  */
150
160
  data_type: 'NUMBER';
151
161
  /**
152
- * Whether you can attempt to update this field through the API. This does not
153
- * grant permission to browse reference targets; submitted reference identifiers
154
- * are validated when written.
162
+ * Whether you can attempt to supply or change this field through the canonical
163
+ * write API for the requested flow. This does not grant permission to browse
164
+ * reference targets; submitted reference identifiers are validated when written.
155
165
  */
156
166
  editable: boolean;
157
167
  /**
@@ -172,9 +182,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
172
182
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
173
183
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
174
184
  * value), DERIVED (calculated value), MASKED (restricted value),
175
- * REFERENCE_UNAVAILABLE (unavailable reference target).
185
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
186
+ * by this requested flow).
176
187
  */
177
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
188
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
178
189
  /**
179
190
  * Whether a nonempty value is required by the field schema.
180
191
  */
@@ -185,26 +196,34 @@ export declare namespace RecordDetailRelatedRecordListResponse {
185
196
  */
186
197
  value: string | null;
187
198
  /**
188
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
189
- * an empty string, or an empty array; MASKED when access to the field or a
190
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
191
- * represent the value. UNSUPPORTED does not determine edit permission.
199
+ * State of the value supplied for this requested flow: PRESENT for a readable
200
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
201
+ * empty array; MASKED when access to the field or a referenced value is
202
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
203
+ * UNSUPPORTED does not determine edit permission.
192
204
  */
193
205
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
194
206
  /**
195
- * Whether you can read this record's field. A referenced record may have separate
196
- * access restrictions.
207
+ * Whether the field value supplied for this requested flow is readable. Create
208
+ * responses describe only an authorized initial value and do not grant access to
209
+ * any existing record. A referenced record may have separate access restrictions.
197
210
  */
198
211
  viewable: boolean;
199
212
  /**
200
- * Object-graph/RQL target name for a supported reference, such as Employee,
201
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
202
- * fields and unsupported reference targets.
213
+ * Configured decimal places, or null.
214
+ */
215
+ num_of_decimal_places?: number | null;
216
+ /**
217
+ * Target object API name for a supported reference, such as Employee, Department,
218
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
219
+ * on the relationships configured in the saved layout and the caller's access.
220
+ * Null for other fields and unsupported reference targets.
203
221
  */
204
222
  reference_object?: string | null;
205
223
  }
206
224
  /**
207
- * 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.
208
227
  */
209
228
  interface DetailBooleanField {
210
229
  /**
@@ -218,9 +237,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
218
237
  */
219
238
  data_type: 'BOOLEAN';
220
239
  /**
221
- * Whether you can attempt to update this field through the API. This does not
222
- * grant permission to browse reference targets; submitted reference identifiers
223
- * are validated when written.
240
+ * Whether you can attempt to supply or change this field through the canonical
241
+ * write API for the requested flow. This does not grant permission to browse
242
+ * reference targets; submitted reference identifiers are validated when written.
224
243
  */
225
244
  editable: boolean;
226
245
  /**
@@ -241,9 +260,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
241
260
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
242
261
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
243
262
  * value), DERIVED (calculated value), MASKED (restricted value),
244
- * REFERENCE_UNAVAILABLE (unavailable reference target).
263
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
264
+ * by this requested flow).
245
265
  */
246
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
266
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
247
267
  /**
248
268
  * Whether a nonempty value is required by the field schema.
249
269
  */
@@ -253,26 +273,30 @@ export declare namespace RecordDetailRelatedRecordListResponse {
253
273
  */
254
274
  value: boolean | null;
255
275
  /**
256
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
257
- * an empty string, or an empty array; MASKED when access to the field or a
258
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
259
- * represent the value. UNSUPPORTED does not determine edit permission.
276
+ * State of the value supplied for this requested flow: PRESENT for a readable
277
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
278
+ * empty array; MASKED when access to the field or a referenced value is
279
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
280
+ * UNSUPPORTED does not determine edit permission.
260
281
  */
261
282
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
262
283
  /**
263
- * Whether you can read this record's field. A referenced record may have separate
264
- * access restrictions.
284
+ * Whether the field value supplied for this requested flow is readable. Create
285
+ * responses describe only an authorized initial value and do not grant access to
286
+ * any existing record. A referenced record may have separate access restrictions.
265
287
  */
266
288
  viewable: boolean;
267
289
  /**
268
- * Object-graph/RQL target name for a supported reference, such as Employee,
269
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
270
- * fields and unsupported reference targets.
290
+ * Target object API name for a supported reference, such as Employee, Department,
291
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
292
+ * on the relationships configured in the saved layout and the caller's access.
293
+ * Null for other fields and unsupported reference targets.
271
294
  */
272
295
  reference_object?: string | null;
273
296
  }
274
297
  /**
275
- * A discoverable record field and the caller's read and write capabilities.
298
+ * A discoverable field and its initial value and capabilities for the requested
299
+ * flow.
276
300
  */
277
301
  interface DetailDateField {
278
302
  /**
@@ -286,9 +310,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
286
310
  */
287
311
  data_type: 'DATE';
288
312
  /**
289
- * Whether you can attempt to update this field through the API. This does not
290
- * grant permission to browse reference targets; submitted reference identifiers
291
- * are validated when written.
313
+ * Whether you can attempt to supply or change this field through the canonical
314
+ * write API for the requested flow. This does not grant permission to browse
315
+ * reference targets; submitted reference identifiers are validated when written.
292
316
  */
293
317
  editable: boolean;
294
318
  /**
@@ -309,9 +333,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
309
333
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
310
334
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
311
335
  * value), DERIVED (calculated value), MASKED (restricted value),
312
- * REFERENCE_UNAVAILABLE (unavailable reference target).
336
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
337
+ * by this requested flow).
313
338
  */
314
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
339
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
315
340
  /**
316
341
  * Whether a nonempty value is required by the field schema.
317
342
  */
@@ -322,26 +347,30 @@ export declare namespace RecordDetailRelatedRecordListResponse {
322
347
  */
323
348
  value: string | null;
324
349
  /**
325
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
326
- * an empty string, or an empty array; MASKED when access to the field or a
327
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
328
- * represent the value. UNSUPPORTED does not determine edit permission.
350
+ * State of the value supplied for this requested flow: PRESENT for a readable
351
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
352
+ * empty array; MASKED when access to the field or a referenced value is
353
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
354
+ * UNSUPPORTED does not determine edit permission.
329
355
  */
330
356
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
331
357
  /**
332
- * Whether you can read this record's field. A referenced record may have separate
333
- * access restrictions.
358
+ * Whether the field value supplied for this requested flow is readable. Create
359
+ * responses describe only an authorized initial value and do not grant access to
360
+ * any existing record. A referenced record may have separate access restrictions.
334
361
  */
335
362
  viewable: boolean;
336
363
  /**
337
- * Object-graph/RQL target name for a supported reference, such as Employee,
338
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
339
- * fields and unsupported reference targets.
364
+ * Target object API name for a supported reference, such as Employee, Department,
365
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
366
+ * on the relationships configured in the saved layout and the caller's access.
367
+ * Null for other fields and unsupported reference targets.
340
368
  */
341
369
  reference_object?: string | null;
342
370
  }
343
371
  /**
344
- * A discoverable record field and the caller's read and write capabilities.
372
+ * A discoverable field and its initial value and capabilities for the requested
373
+ * flow.
345
374
  */
346
375
  interface DetailDateTimeField {
347
376
  /**
@@ -355,9 +384,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
355
384
  */
356
385
  data_type: 'DATETIME';
357
386
  /**
358
- * Whether you can attempt to update this field through the API. This does not
359
- * grant permission to browse reference targets; submitted reference identifiers
360
- * are validated when written.
387
+ * Whether you can attempt to supply or change this field through the canonical
388
+ * write API for the requested flow. This does not grant permission to browse
389
+ * reference targets; submitted reference identifiers are validated when written.
361
390
  */
362
391
  editable: boolean;
363
392
  /**
@@ -378,9 +407,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
378
407
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
379
408
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
380
409
  * value), DERIVED (calculated value), MASKED (restricted value),
381
- * REFERENCE_UNAVAILABLE (unavailable reference target).
410
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
411
+ * by this requested flow).
382
412
  */
383
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
413
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
384
414
  /**
385
415
  * Whether a nonempty value is required by the field schema.
386
416
  */
@@ -392,26 +422,30 @@ export declare namespace RecordDetailRelatedRecordListResponse {
392
422
  */
393
423
  value: string | null;
394
424
  /**
395
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
396
- * an empty string, or an empty array; MASKED when access to the field or a
397
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
398
- * represent the value. UNSUPPORTED does not determine edit permission.
425
+ * State of the value supplied for this requested flow: PRESENT for a readable
426
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
427
+ * empty array; MASKED when access to the field or a referenced value is
428
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
429
+ * UNSUPPORTED does not determine edit permission.
399
430
  */
400
431
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
401
432
  /**
402
- * Whether you can read this record's field. A referenced record may have separate
403
- * access restrictions.
433
+ * Whether the field value supplied for this requested flow is readable. Create
434
+ * responses describe only an authorized initial value and do not grant access to
435
+ * any existing record. A referenced record may have separate access restrictions.
404
436
  */
405
437
  viewable: boolean;
406
438
  /**
407
- * Object-graph/RQL target name for a supported reference, such as Employee,
408
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
409
- * fields and unsupported reference targets.
439
+ * Target object API name for a supported reference, such as Employee, Department,
440
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
441
+ * on the relationships configured in the saved layout and the caller's access.
442
+ * Null for other fields and unsupported reference targets.
410
443
  */
411
444
  reference_object?: string | null;
412
445
  }
413
446
  /**
414
- * A discoverable record field and the caller's read and write capabilities.
447
+ * A discoverable field and its initial value and capabilities for the requested
448
+ * flow.
415
449
  */
416
450
  interface DetailCurrencyField {
417
451
  /**
@@ -425,9 +459,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
425
459
  */
426
460
  data_type: 'CURRENCY';
427
461
  /**
428
- * Whether you can attempt to update this field through the API. This does not
429
- * grant permission to browse reference targets; submitted reference identifiers
430
- * are validated when written.
462
+ * Whether you can attempt to supply or change this field through the canonical
463
+ * write API for the requested flow. This does not grant permission to browse
464
+ * reference targets; submitted reference identifiers are validated when written.
431
465
  */
432
466
  editable: boolean;
433
467
  /**
@@ -448,9 +482,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
448
482
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
449
483
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
450
484
  * value), DERIVED (calculated value), MASKED (restricted value),
451
- * REFERENCE_UNAVAILABLE (unavailable reference target).
485
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
486
+ * by this requested flow).
452
487
  */
453
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
488
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
454
489
  /**
455
490
  * Whether a nonempty value is required by the field schema.
456
491
  */
@@ -462,21 +497,32 @@ export declare namespace RecordDetailRelatedRecordListResponse {
462
497
  */
463
498
  value: DetailCurrencyField.RecordDetailCurrency | null;
464
499
  /**
465
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
466
- * an empty string, or an empty array; MASKED when access to the field or a
467
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
468
- * represent the value. UNSUPPORTED does not determine edit permission.
500
+ * State of the value supplied for this requested flow: PRESENT for a readable
501
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
502
+ * empty array; MASKED when access to the field or a referenced value is
503
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
504
+ * UNSUPPORTED does not determine edit permission.
469
505
  */
470
506
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
471
507
  /**
472
- * Whether you can read this record's field. A referenced record may have separate
473
- * access restrictions.
508
+ * Whether the field value supplied for this requested flow is readable. Create
509
+ * responses describe only an authorized initial value and do not grant access to
510
+ * any existing record. A referenced record may have separate access restrictions.
474
511
  */
475
512
  viewable: boolean;
476
513
  /**
477
- * Object-graph/RQL target name for a supported reference, such as Employee,
478
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
479
- * fields and unsupported reference targets.
514
+ * Configured ISO 4217 currency code, or null when dynamic.
515
+ */
516
+ currency?: string | null;
517
+ /**
518
+ * Configured decimal places, or null.
519
+ */
520
+ num_of_decimal_places?: number | null;
521
+ /**
522
+ * Target object API name for a supported reference, such as Employee, Department,
523
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
524
+ * on the relationships configured in the saved layout and the caller's access.
525
+ * Null for other fields and unsupported reference targets.
480
526
  */
481
527
  reference_object?: string | null;
482
528
  }
@@ -496,7 +542,8 @@ export declare namespace RecordDetailRelatedRecordListResponse {
496
542
  }
497
543
  }
498
544
  /**
499
- * A discoverable record field and the caller's read and write capabilities.
545
+ * A discoverable field and its initial value and capabilities for the requested
546
+ * flow.
500
547
  */
501
548
  interface DetailChoiceField {
502
549
  /**
@@ -510,9 +557,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
510
557
  */
511
558
  data_type: 'RADIO';
512
559
  /**
513
- * Whether you can attempt to update this field through the API. This does not
514
- * grant permission to browse reference targets; submitted reference identifiers
515
- * are validated when written.
560
+ * Whether you can attempt to supply or change this field through the canonical
561
+ * write API for the requested flow. This does not grant permission to browse
562
+ * reference targets; submitted reference identifiers are validated when written.
516
563
  */
517
564
  editable: boolean;
518
565
  /**
@@ -533,9 +580,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
533
580
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
534
581
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
535
582
  * value), DERIVED (calculated value), MASKED (restricted value),
536
- * REFERENCE_UNAVAILABLE (unavailable reference target).
583
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
584
+ * by this requested flow).
537
585
  */
538
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
586
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
539
587
  /**
540
588
  * Whether a nonempty value is required by the field schema.
541
589
  */
@@ -546,26 +594,30 @@ export declare namespace RecordDetailRelatedRecordListResponse {
546
594
  */
547
595
  value: string | null;
548
596
  /**
549
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
550
- * an empty string, or an empty array; MASKED when access to the field or a
551
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
552
- * represent the value. UNSUPPORTED does not determine edit permission.
597
+ * State of the value supplied for this requested flow: PRESENT for a readable
598
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
599
+ * empty array; MASKED when access to the field or a referenced value is
600
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
601
+ * UNSUPPORTED does not determine edit permission.
553
602
  */
554
603
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
555
604
  /**
556
- * Whether you can read this record's field. A referenced record may have separate
557
- * access restrictions.
605
+ * Whether the field value supplied for this requested flow is readable. Create
606
+ * responses describe only an authorized initial value and do not grant access to
607
+ * any existing record. A referenced record may have separate access restrictions.
558
608
  */
559
609
  viewable: boolean;
560
610
  /**
561
- * Object-graph/RQL target name for a supported reference, such as Employee,
562
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
563
- * fields and unsupported reference targets.
611
+ * Target object API name for a supported reference, such as Employee, Department,
612
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
613
+ * on the relationships configured in the saved layout and the caller's access.
614
+ * Null for other fields and unsupported reference targets.
564
615
  */
565
616
  reference_object?: string | null;
566
617
  }
567
618
  /**
568
- * A discoverable record field and the caller's read and write capabilities.
619
+ * A discoverable field and its initial value and capabilities for the requested
620
+ * flow.
569
621
  */
570
622
  interface DetailMultiChoiceField {
571
623
  /**
@@ -579,9 +631,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
579
631
  */
580
632
  data_type: 'SELECT';
581
633
  /**
582
- * Whether you can attempt to update this field through the API. This does not
583
- * grant permission to browse reference targets; submitted reference identifiers
584
- * are validated when written.
634
+ * Whether you can attempt to supply or change this field through the canonical
635
+ * write API for the requested flow. This does not grant permission to browse
636
+ * reference targets; submitted reference identifiers are validated when written.
585
637
  */
586
638
  editable: boolean;
587
639
  /**
@@ -602,9 +654,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
602
654
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
603
655
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
604
656
  * value), DERIVED (calculated value), MASKED (restricted value),
605
- * REFERENCE_UNAVAILABLE (unavailable reference target).
657
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
658
+ * by this requested flow).
606
659
  */
607
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
660
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
608
661
  /**
609
662
  * Whether a nonempty value is required by the field schema.
610
663
  */
@@ -615,26 +668,30 @@ export declare namespace RecordDetailRelatedRecordListResponse {
615
668
  */
616
669
  value: Array<string> | null;
617
670
  /**
618
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
619
- * an empty string, or an empty array; MASKED when access to the field or a
620
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
621
- * represent the value. UNSUPPORTED does not determine edit permission.
671
+ * State of the value supplied for this requested flow: PRESENT for a readable
672
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
673
+ * empty array; MASKED when access to the field or a referenced value is
674
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
675
+ * UNSUPPORTED does not determine edit permission.
622
676
  */
623
677
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
624
678
  /**
625
- * Whether you can read this record's field. A referenced record may have separate
626
- * access restrictions.
679
+ * Whether the field value supplied for this requested flow is readable. Create
680
+ * responses describe only an authorized initial value and do not grant access to
681
+ * any existing record. A referenced record may have separate access restrictions.
627
682
  */
628
683
  viewable: boolean;
629
684
  /**
630
- * Object-graph/RQL target name for a supported reference, such as Employee,
631
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
632
- * fields and unsupported reference targets.
685
+ * Target object API name for a supported reference, such as Employee, Department,
686
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
687
+ * on the relationships configured in the saved layout and the caller's access.
688
+ * Null for other fields and unsupported reference targets.
633
689
  */
634
690
  reference_object?: string | null;
635
691
  }
636
692
  /**
637
- * A discoverable record field and the caller's read and write capabilities.
693
+ * A discoverable field and its initial value and capabilities for the requested
694
+ * flow.
638
695
  */
639
696
  interface DetailReferenceField {
640
697
  /**
@@ -649,9 +706,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
649
706
  */
650
707
  data_type: 'OG_REFERENCE_FIELD';
651
708
  /**
652
- * Whether you can attempt to update this field through the API. This does not
653
- * grant permission to browse reference targets; submitted reference identifiers
654
- * are validated when written.
709
+ * Whether you can attempt to supply or change this field through the canonical
710
+ * write API for the requested flow. This does not grant permission to browse
711
+ * reference targets; submitted reference identifiers are validated when written.
655
712
  */
656
713
  editable: boolean;
657
714
  /**
@@ -672,29 +729,34 @@ export declare namespace RecordDetailRelatedRecordListResponse {
672
729
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
673
730
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
674
731
  * value), DERIVED (calculated value), MASKED (restricted value),
675
- * REFERENCE_UNAVAILABLE (unavailable reference target).
732
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
733
+ * by this requested flow).
676
734
  */
677
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
735
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
678
736
  /**
679
737
  * Whether a nonempty value is required by the field schema.
680
738
  */
681
739
  required: boolean;
682
740
  /**
683
741
  * Selected record identifier in the reference_object target; null when empty or
684
- * masked. Use the Workers GET endpoint for Employee or RoleWithCompany targets, or
685
- * the Custom Object record GET endpoint for Custom Object targets.
742
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
743
+ * through GET /departments/{id}/, and Custom Object records through GET
744
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
745
+ * not have a public record endpoint; use display for their presentation.
686
746
  */
687
747
  value: string | null;
688
748
  /**
689
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
690
- * an empty string, or an empty array; MASKED when access to the field or a
691
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
692
- * represent the value. UNSUPPORTED does not determine edit permission.
749
+ * State of the value supplied for this requested flow: PRESENT for a readable
750
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
751
+ * empty array; MASKED when access to the field or a referenced value is
752
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
753
+ * UNSUPPORTED does not determine edit permission.
693
754
  */
694
755
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
695
756
  /**
696
- * Whether you can read this record's field. A referenced record may have separate
697
- * access restrictions.
757
+ * Whether the field value supplied for this requested flow is readable. Create
758
+ * responses describe only an authorized initial value and do not grant access to
759
+ * any existing record. A referenced record may have separate access restrictions.
698
760
  */
699
761
  viewable: boolean;
700
762
  /**
@@ -703,9 +765,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
703
765
  */
704
766
  display?: DetailReferenceField.ReferenceDisplay | null;
705
767
  /**
706
- * Object-graph/RQL target name for a supported reference, such as Employee,
707
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
708
- * 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.
709
772
  */
710
773
  reference_object?: string | null;
711
774
  }
@@ -729,7 +792,8 @@ export declare namespace RecordDetailRelatedRecordListResponse {
729
792
  }
730
793
  }
731
794
  /**
732
- * A discoverable record field and the caller's read and write capabilities.
795
+ * A discoverable field and its initial value and capabilities for the requested
796
+ * flow.
733
797
  */
734
798
  interface DetailNativeReferenceField {
735
799
  /**
@@ -744,9 +808,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
744
808
  */
745
809
  data_type: 'NATIVE_EDGE';
746
810
  /**
747
- * Whether you can attempt to update this field through the API. This does not
748
- * grant permission to browse reference targets; submitted reference identifiers
749
- * are validated when written.
811
+ * Whether you can attempt to supply or change this field through the canonical
812
+ * write API for the requested flow. This does not grant permission to browse
813
+ * reference targets; submitted reference identifiers are validated when written.
750
814
  */
751
815
  editable: boolean;
752
816
  /**
@@ -767,29 +831,34 @@ export declare namespace RecordDetailRelatedRecordListResponse {
767
831
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
768
832
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
769
833
  * value), DERIVED (calculated value), MASKED (restricted value),
770
- * REFERENCE_UNAVAILABLE (unavailable reference target).
834
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
835
+ * by this requested flow).
771
836
  */
772
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
837
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
773
838
  /**
774
839
  * Whether a nonempty value is required by the field schema.
775
840
  */
776
841
  required: boolean;
777
842
  /**
778
843
  * Selected record identifier in the reference_object target; null when empty or
779
- * masked. Use the Workers GET endpoint for Employee or RoleWithCompany targets, or
780
- * the Custom Object record GET endpoint for Custom Object targets.
844
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
845
+ * through GET /departments/{id}/, and Custom Object records through GET
846
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
847
+ * not have a public record endpoint; use display for their presentation.
781
848
  */
782
849
  value: string | null;
783
850
  /**
784
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
785
- * an empty string, or an empty array; MASKED when access to the field or a
786
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
787
- * represent the value. UNSUPPORTED does not determine edit permission.
851
+ * State of the value supplied for this requested flow: PRESENT for a readable
852
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
853
+ * empty array; MASKED when access to the field or a referenced value is
854
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
855
+ * UNSUPPORTED does not determine edit permission.
788
856
  */
789
857
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
790
858
  /**
791
- * Whether you can read this record's field. A referenced record may have separate
792
- * access restrictions.
859
+ * Whether the field value supplied for this requested flow is readable. Create
860
+ * responses describe only an authorized initial value and do not grant access to
861
+ * any existing record. A referenced record may have separate access restrictions.
793
862
  */
794
863
  viewable: boolean;
795
864
  /**
@@ -798,9 +867,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
798
867
  */
799
868
  display?: DetailNativeReferenceField.ReferenceDisplay | null;
800
869
  /**
801
- * Object-graph/RQL target name for a supported reference, such as Employee,
802
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
803
- * fields and unsupported reference targets.
870
+ * Target object API name for a supported reference, such as Employee, Department,
871
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
872
+ * on the relationships configured in the saved layout and the caller's access.
873
+ * Null for other fields and unsupported reference targets.
804
874
  */
805
875
  reference_object?: string | null;
806
876
  }
@@ -824,7 +894,8 @@ export declare namespace RecordDetailRelatedRecordListResponse {
824
894
  }
825
895
  }
826
896
  /**
827
- * A discoverable record field and the caller's read and write capabilities.
897
+ * A discoverable field and its initial value and capabilities for the requested
898
+ * flow.
828
899
  */
829
900
  interface DetailPercentageField {
830
901
  /**
@@ -838,9 +909,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
838
909
  */
839
910
  data_type: 'PERCENTAGE';
840
911
  /**
841
- * Whether you can attempt to update this field through the API. This does not
842
- * grant permission to browse reference targets; submitted reference identifiers
843
- * are validated when written.
912
+ * Whether you can attempt to supply or change this field through the canonical
913
+ * write API for the requested flow. This does not grant permission to browse
914
+ * reference targets; submitted reference identifiers are validated when written.
844
915
  */
845
916
  editable: boolean;
846
917
  /**
@@ -861,9 +932,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
861
932
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
862
933
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
863
934
  * value), DERIVED (calculated value), MASKED (restricted value),
864
- * REFERENCE_UNAVAILABLE (unavailable reference target).
935
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
936
+ * by this requested flow).
865
937
  */
866
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
938
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
867
939
  /**
868
940
  * Whether a nonempty value is required by the field schema.
869
941
  */
@@ -874,26 +946,34 @@ export declare namespace RecordDetailRelatedRecordListResponse {
874
946
  */
875
947
  value: number | null;
876
948
  /**
877
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
878
- * an empty string, or an empty array; MASKED when access to the field or a
879
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
880
- * represent the value. UNSUPPORTED does not determine edit permission.
949
+ * State of the value supplied for this requested flow: PRESENT for a readable
950
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
951
+ * empty array; MASKED when access to the field or a referenced value is
952
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
953
+ * UNSUPPORTED does not determine edit permission.
881
954
  */
882
955
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
883
956
  /**
884
- * Whether you can read this record's field. A referenced record may have separate
885
- * access restrictions.
957
+ * Whether the field value supplied for this requested flow is readable. Create
958
+ * responses describe only an authorized initial value and do not grant access to
959
+ * any existing record. A referenced record may have separate access restrictions.
886
960
  */
887
961
  viewable: boolean;
888
962
  /**
889
- * Object-graph/RQL target name for a supported reference, such as Employee,
890
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
891
- * fields and unsupported reference targets.
963
+ * Configured decimal places, or null.
964
+ */
965
+ num_of_decimal_places?: number | null;
966
+ /**
967
+ * Target object API name for a supported reference, such as Employee, Department,
968
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
969
+ * on the relationships configured in the saved layout and the caller's access.
970
+ * Null for other fields and unsupported reference targets.
892
971
  */
893
972
  reference_object?: string | null;
894
973
  }
895
974
  /**
896
- * A discoverable record field and the caller's read and write capabilities.
975
+ * A discoverable field and its initial value and capabilities for the requested
976
+ * flow.
897
977
  */
898
978
  interface DetailTimeField {
899
979
  /**
@@ -907,9 +987,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
907
987
  */
908
988
  data_type: 'TIME';
909
989
  /**
910
- * Whether you can attempt to update this field through the API. This does not
911
- * grant permission to browse reference targets; submitted reference identifiers
912
- * are validated when written.
990
+ * Whether you can attempt to supply or change this field through the canonical
991
+ * write API for the requested flow. This does not grant permission to browse
992
+ * reference targets; submitted reference identifiers are validated when written.
913
993
  */
914
994
  editable: boolean;
915
995
  /**
@@ -930,9 +1010,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
930
1010
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
931
1011
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
932
1012
  * value), DERIVED (calculated value), MASKED (restricted value),
933
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1013
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1014
+ * by this requested flow).
934
1015
  */
935
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
1016
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
936
1017
  /**
937
1018
  * Whether a nonempty value is required by the field schema.
938
1019
  */
@@ -942,26 +1023,30 @@ export declare namespace RecordDetailRelatedRecordListResponse {
942
1023
  */
943
1024
  value: string | null;
944
1025
  /**
945
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
946
- * an empty string, or an empty array; MASKED when access to the field or a
947
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
948
- * represent the value. UNSUPPORTED does not determine edit permission.
1026
+ * State of the value supplied for this requested flow: PRESENT for a readable
1027
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1028
+ * empty array; MASKED when access to the field or a referenced value is
1029
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1030
+ * UNSUPPORTED does not determine edit permission.
949
1031
  */
950
1032
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
951
1033
  /**
952
- * Whether you can read this record's field. A referenced record may have separate
953
- * access restrictions.
1034
+ * Whether the field value supplied for this requested flow is readable. Create
1035
+ * responses describe only an authorized initial value and do not grant access to
1036
+ * any existing record. A referenced record may have separate access restrictions.
954
1037
  */
955
1038
  viewable: boolean;
956
1039
  /**
957
- * Object-graph/RQL target name for a supported reference, such as Employee,
958
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
959
- * fields and unsupported reference targets.
1040
+ * Target object API name for a supported reference, such as Employee, Department,
1041
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1042
+ * on the relationships configured in the saved layout and the caller's access.
1043
+ * Null for other fields and unsupported reference targets.
960
1044
  */
961
1045
  reference_object?: string | null;
962
1046
  }
963
1047
  /**
964
- * A discoverable record field and the caller's read and write capabilities.
1048
+ * A discoverable field and its initial value and capabilities for the requested
1049
+ * flow.
965
1050
  */
966
1051
  interface DetailUnsupportedField {
967
1052
  /**
@@ -976,9 +1061,9 @@ export declare namespace RecordDetailRelatedRecordListResponse {
976
1061
  */
977
1062
  data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
978
1063
  /**
979
- * Whether you can attempt to update this field through the API. This does not
980
- * grant permission to browse reference targets; submitted reference identifiers
981
- * are validated when written.
1064
+ * Whether you can attempt to supply or change this field through the canonical
1065
+ * write API for the requested flow. This does not grant permission to browse
1066
+ * reference targets; submitted reference identifiers are validated when written.
982
1067
  */
983
1068
  editable: boolean;
984
1069
  /**
@@ -999,9 +1084,10 @@ export declare namespace RecordDetailRelatedRecordListResponse {
999
1084
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1000
1085
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1001
1086
  * value), DERIVED (calculated value), MASKED (restricted value),
1002
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1087
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1088
+ * by this requested flow).
1003
1089
  */
1004
- read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | null;
1090
+ read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
1005
1091
  /**
1006
1092
  * Whether a nonempty value is required by the field schema.
1007
1093
  */
@@ -1012,21 +1098,24 @@ export declare namespace RecordDetailRelatedRecordListResponse {
1012
1098
  */
1013
1099
  value: null;
1014
1100
  /**
1015
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
1016
- * an empty string, or an empty array; MASKED when access to the field or a
1017
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
1018
- * represent the value. UNSUPPORTED does not determine edit permission.
1101
+ * State of the value supplied for this requested flow: PRESENT for a readable
1102
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1103
+ * empty array; MASKED when access to the field or a referenced value is
1104
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1105
+ * UNSUPPORTED does not determine edit permission.
1019
1106
  */
1020
1107
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1021
1108
  /**
1022
- * Whether you can read this record's field. A referenced record may have separate
1023
- * access restrictions.
1109
+ * Whether the field value supplied for this requested flow is readable. Create
1110
+ * responses describe only an authorized initial value and do not grant access to
1111
+ * any existing record. A referenced record may have separate access restrictions.
1024
1112
  */
1025
1113
  viewable: boolean;
1026
1114
  /**
1027
- * Object-graph/RQL target name for a supported reference, such as Employee,
1028
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
1029
- * fields and unsupported reference targets.
1115
+ * Target object API name for a supported reference, such as Employee, Department,
1116
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1117
+ * on the relationships configured in the saved layout and the caller's access.
1118
+ * Null for other fields and unsupported reference targets.
1030
1119
  */
1031
1120
  reference_object?: string | null;
1032
1121
  }
@@ -1045,8 +1134,8 @@ export interface RecordDetailRelatedRecordListParams {
1045
1134
  record_id: string;
1046
1135
  /**
1047
1136
  * Related-list section identifier from layout.tabs[].sections[] in the record
1048
- * detail response. Use the section's records_link; the identifier is scoped to
1049
- * that effective layout.
1137
+ * detail response. Pass it with that response's object, record, and layout
1138
+ * identifiers; the section identifier is scoped to the effective layout.
1050
1139
  */
1051
1140
  section_id: string;
1052
1141
  /**