@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
@@ -12,9 +12,9 @@ export class RecordDetailRelatedRecords extends APIResource {
12
12
  * Lists readable Custom Object records in a related-list section of the parent
13
13
  * record's effective layout.
14
14
  *
15
- * Follow records_link from the detail response. The server resolves the
16
- * relationship and saved list fields; callers cannot substitute a relationship
17
- * filter. Requires read access and token authorization for both the parent and
15
+ * Pass the parent identifiers and RELATED_LIST section id from the detail
16
+ * response. The server resolves the relationship and saved list fields; callers
17
+ * cannot substitute a relationship filter. Requires access to both the parent and
18
18
  * target Custom Objects. A section removed or hidden by layout visibility is
19
19
  * unavailable.
20
20
  *
@@ -96,7 +96,8 @@ export interface RecordDetailRelatedRecordListResponse {
96
96
 
97
97
  export namespace RecordDetailRelatedRecordListResponse {
98
98
  /**
99
- * A discoverable record field and the caller's read and write capabilities.
99
+ * A discoverable field and its initial value and capabilities for the requested
100
+ * flow.
100
101
  */
101
102
  export interface DetailTextField {
102
103
  /**
@@ -113,9 +114,9 @@ export namespace RecordDetailRelatedRecordListResponse {
113
114
  data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
114
115
 
115
116
  /**
116
- * Whether you can attempt to update this field through the API. This does not
117
- * grant permission to browse reference targets; submitted reference identifiers
118
- * are validated when written.
117
+ * Whether you can attempt to supply or change this field through the canonical
118
+ * write API for the requested flow. This does not grant permission to browse
119
+ * reference targets; submitted reference identifiers are validated when written.
119
120
  */
120
121
  editable: boolean;
121
122
 
@@ -140,7 +141,8 @@ export namespace RecordDetailRelatedRecordListResponse {
140
141
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
141
142
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
142
143
  * value), DERIVED (calculated value), MASKED (restricted value),
143
- * REFERENCE_UNAVAILABLE (unavailable reference target).
144
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
145
+ * by this requested flow).
144
146
  */
145
147
  read_only_reason:
146
148
  | 'PERMISSION_DENIED'
@@ -150,6 +152,7 @@ export namespace RecordDetailRelatedRecordListResponse {
150
152
  | 'DERIVED'
151
153
  | 'MASKED'
152
154
  | 'REFERENCE_UNAVAILABLE'
155
+ | 'UNSUPPORTED'
153
156
  | null;
154
157
 
155
158
  /**
@@ -164,29 +167,38 @@ export namespace RecordDetailRelatedRecordListResponse {
164
167
  value: string | null;
165
168
 
166
169
  /**
167
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
168
- * an empty string, or an empty array; MASKED when access to the field or a
169
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
170
- * represent the value. UNSUPPORTED does not determine edit permission.
170
+ * State of the value supplied for this requested flow: PRESENT for a readable
171
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
172
+ * empty array; MASKED when access to the field or a referenced value is
173
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
174
+ * UNSUPPORTED does not determine edit permission.
171
175
  */
172
176
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
173
177
 
174
178
  /**
175
- * Whether you can read this record's field. A referenced record may have separate
176
- * access restrictions.
179
+ * Whether the field value supplied for this requested flow is readable. Create
180
+ * responses describe only an authorized initial value and do not grant access to
181
+ * any existing record. A referenced record may have separate access restrictions.
177
182
  */
178
183
  viewable: boolean;
179
184
 
180
185
  /**
181
- * Object-graph/RQL target name for a supported reference, such as Employee,
182
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
183
- * fields and unsupported reference targets.
186
+ * Maximum accepted characters, or null when unbounded.
187
+ */
188
+ max_length?: number | null;
189
+
190
+ /**
191
+ * Target object API name for a supported reference, such as Employee, Department,
192
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
193
+ * on the relationships configured in the saved layout and the caller's access.
194
+ * Null for other fields and unsupported reference targets.
184
195
  */
185
196
  reference_object?: string | null;
186
197
  }
187
198
 
188
199
  /**
189
- * A discoverable record field and the caller's read and write capabilities.
200
+ * A discoverable field and its initial value and capabilities for the requested
201
+ * flow.
190
202
  */
191
203
  export interface DetailNumberField {
192
204
  /**
@@ -202,9 +214,9 @@ export namespace RecordDetailRelatedRecordListResponse {
202
214
  data_type: 'NUMBER';
203
215
 
204
216
  /**
205
- * Whether you can attempt to update this field through the API. This does not
206
- * grant permission to browse reference targets; submitted reference identifiers
207
- * are validated when written.
217
+ * Whether you can attempt to supply or change this field through the canonical
218
+ * write API for the requested flow. This does not grant permission to browse
219
+ * reference targets; submitted reference identifiers are validated when written.
208
220
  */
209
221
  editable: boolean;
210
222
 
@@ -229,7 +241,8 @@ export namespace RecordDetailRelatedRecordListResponse {
229
241
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
230
242
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
231
243
  * value), DERIVED (calculated value), MASKED (restricted value),
232
- * REFERENCE_UNAVAILABLE (unavailable reference target).
244
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
245
+ * by this requested flow).
233
246
  */
234
247
  read_only_reason:
235
248
  | 'PERMISSION_DENIED'
@@ -239,6 +252,7 @@ export namespace RecordDetailRelatedRecordListResponse {
239
252
  | 'DERIVED'
240
253
  | 'MASKED'
241
254
  | 'REFERENCE_UNAVAILABLE'
255
+ | 'UNSUPPORTED'
242
256
  | null;
243
257
 
244
258
  /**
@@ -253,29 +267,38 @@ export namespace RecordDetailRelatedRecordListResponse {
253
267
  value: string | null;
254
268
 
255
269
  /**
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.
270
+ * State of the value supplied for this requested flow: PRESENT for a readable
271
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
272
+ * empty array; MASKED when access to the field or a referenced value is
273
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
274
+ * UNSUPPORTED does not determine edit permission.
260
275
  */
261
276
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
262
277
 
263
278
  /**
264
- * Whether you can read this record's field. A referenced record may have separate
265
- * access restrictions.
279
+ * Whether the field value supplied for this requested flow is readable. Create
280
+ * responses describe only an authorized initial value and do not grant access to
281
+ * any existing record. A referenced record may have separate access restrictions.
266
282
  */
267
283
  viewable: boolean;
268
284
 
269
285
  /**
270
- * Object-graph/RQL target name for a supported reference, such as Employee,
271
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
272
- * fields and unsupported reference targets.
286
+ * Configured decimal places, or null.
287
+ */
288
+ num_of_decimal_places?: number | null;
289
+
290
+ /**
291
+ * Target object API name for a supported reference, such as Employee, Department,
292
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
293
+ * on the relationships configured in the saved layout and the caller's access.
294
+ * Null for other fields and unsupported reference targets.
273
295
  */
274
296
  reference_object?: string | null;
275
297
  }
276
298
 
277
299
  /**
278
- * A discoverable record field and the caller's read and write capabilities.
300
+ * A discoverable field and its initial value and capabilities for the requested
301
+ * flow.
279
302
  */
280
303
  export interface DetailBooleanField {
281
304
  /**
@@ -291,9 +314,9 @@ export namespace RecordDetailRelatedRecordListResponse {
291
314
  data_type: 'BOOLEAN';
292
315
 
293
316
  /**
294
- * Whether you can attempt to update this field through the API. This does not
295
- * grant permission to browse reference targets; submitted reference identifiers
296
- * are validated when written.
317
+ * Whether you can attempt to supply or change this field through the canonical
318
+ * write API for the requested flow. This does not grant permission to browse
319
+ * reference targets; submitted reference identifiers are validated when written.
297
320
  */
298
321
  editable: boolean;
299
322
 
@@ -318,7 +341,8 @@ export namespace RecordDetailRelatedRecordListResponse {
318
341
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
319
342
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
320
343
  * value), DERIVED (calculated value), MASKED (restricted value),
321
- * REFERENCE_UNAVAILABLE (unavailable reference target).
344
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
345
+ * by this requested flow).
322
346
  */
323
347
  read_only_reason:
324
348
  | 'PERMISSION_DENIED'
@@ -328,6 +352,7 @@ export namespace RecordDetailRelatedRecordListResponse {
328
352
  | 'DERIVED'
329
353
  | 'MASKED'
330
354
  | 'REFERENCE_UNAVAILABLE'
355
+ | 'UNSUPPORTED'
331
356
  | null;
332
357
 
333
358
  /**
@@ -341,29 +366,33 @@ export namespace RecordDetailRelatedRecordListResponse {
341
366
  value: boolean | null;
342
367
 
343
368
  /**
344
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
345
- * an empty string, or an empty array; MASKED when access to the field or a
346
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
347
- * represent the value. UNSUPPORTED does not determine edit permission.
369
+ * State of the value supplied for this requested flow: PRESENT for a readable
370
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
371
+ * empty array; MASKED when access to the field or a referenced value is
372
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
373
+ * UNSUPPORTED does not determine edit permission.
348
374
  */
349
375
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
350
376
 
351
377
  /**
352
- * Whether you can read this record's field. A referenced record may have separate
353
- * access restrictions.
378
+ * Whether the field value supplied for this requested flow is readable. Create
379
+ * responses describe only an authorized initial value and do not grant access to
380
+ * any existing record. A referenced record may have separate access restrictions.
354
381
  */
355
382
  viewable: boolean;
356
383
 
357
384
  /**
358
- * Object-graph/RQL target name for a supported reference, such as Employee,
359
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
360
- * fields and unsupported reference targets.
385
+ * Target object API name for a supported reference, such as Employee, Department,
386
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
387
+ * on the relationships configured in the saved layout and the caller's access.
388
+ * Null for other fields and unsupported reference targets.
361
389
  */
362
390
  reference_object?: string | null;
363
391
  }
364
392
 
365
393
  /**
366
- * A discoverable record field and the caller's read and write capabilities.
394
+ * A discoverable field and its initial value and capabilities for the requested
395
+ * flow.
367
396
  */
368
397
  export interface DetailDateField {
369
398
  /**
@@ -379,9 +408,9 @@ export namespace RecordDetailRelatedRecordListResponse {
379
408
  data_type: 'DATE';
380
409
 
381
410
  /**
382
- * Whether you can attempt to update this field through the API. This does not
383
- * grant permission to browse reference targets; submitted reference identifiers
384
- * are validated when written.
411
+ * Whether you can attempt to supply or change this field through the canonical
412
+ * write API for the requested flow. This does not grant permission to browse
413
+ * reference targets; submitted reference identifiers are validated when written.
385
414
  */
386
415
  editable: boolean;
387
416
 
@@ -406,7 +435,8 @@ export namespace RecordDetailRelatedRecordListResponse {
406
435
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
407
436
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
408
437
  * value), DERIVED (calculated value), MASKED (restricted value),
409
- * REFERENCE_UNAVAILABLE (unavailable reference target).
438
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
439
+ * by this requested flow).
410
440
  */
411
441
  read_only_reason:
412
442
  | 'PERMISSION_DENIED'
@@ -416,6 +446,7 @@ export namespace RecordDetailRelatedRecordListResponse {
416
446
  | 'DERIVED'
417
447
  | 'MASKED'
418
448
  | 'REFERENCE_UNAVAILABLE'
449
+ | 'UNSUPPORTED'
419
450
  | null;
420
451
 
421
452
  /**
@@ -430,29 +461,33 @@ export namespace RecordDetailRelatedRecordListResponse {
430
461
  value: string | null;
431
462
 
432
463
  /**
433
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
434
- * an empty string, or an empty array; MASKED when access to the field or a
435
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
436
- * represent the value. UNSUPPORTED does not determine edit permission.
464
+ * State of the value supplied for this requested flow: PRESENT for a readable
465
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
466
+ * empty array; MASKED when access to the field or a referenced value is
467
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
468
+ * UNSUPPORTED does not determine edit permission.
437
469
  */
438
470
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
439
471
 
440
472
  /**
441
- * Whether you can read this record's field. A referenced record may have separate
442
- * access restrictions.
473
+ * Whether the field value supplied for this requested flow is readable. Create
474
+ * responses describe only an authorized initial value and do not grant access to
475
+ * any existing record. A referenced record may have separate access restrictions.
443
476
  */
444
477
  viewable: boolean;
445
478
 
446
479
  /**
447
- * Object-graph/RQL target name for a supported reference, such as Employee,
448
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
449
- * fields and unsupported reference targets.
480
+ * Target object API name for a supported reference, such as Employee, Department,
481
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
482
+ * on the relationships configured in the saved layout and the caller's access.
483
+ * Null for other fields and unsupported reference targets.
450
484
  */
451
485
  reference_object?: string | null;
452
486
  }
453
487
 
454
488
  /**
455
- * A discoverable record field and the caller's read and write capabilities.
489
+ * A discoverable field and its initial value and capabilities for the requested
490
+ * flow.
456
491
  */
457
492
  export interface DetailDateTimeField {
458
493
  /**
@@ -468,9 +503,9 @@ export namespace RecordDetailRelatedRecordListResponse {
468
503
  data_type: 'DATETIME';
469
504
 
470
505
  /**
471
- * Whether you can attempt to update this field through the API. This does not
472
- * grant permission to browse reference targets; submitted reference identifiers
473
- * are validated when written.
506
+ * Whether you can attempt to supply or change this field through the canonical
507
+ * write API for the requested flow. This does not grant permission to browse
508
+ * reference targets; submitted reference identifiers are validated when written.
474
509
  */
475
510
  editable: boolean;
476
511
 
@@ -495,7 +530,8 @@ export namespace RecordDetailRelatedRecordListResponse {
495
530
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
496
531
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
497
532
  * value), DERIVED (calculated value), MASKED (restricted value),
498
- * REFERENCE_UNAVAILABLE (unavailable reference target).
533
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
534
+ * by this requested flow).
499
535
  */
500
536
  read_only_reason:
501
537
  | 'PERMISSION_DENIED'
@@ -505,6 +541,7 @@ export namespace RecordDetailRelatedRecordListResponse {
505
541
  | 'DERIVED'
506
542
  | 'MASKED'
507
543
  | 'REFERENCE_UNAVAILABLE'
544
+ | 'UNSUPPORTED'
508
545
  | null;
509
546
 
510
547
  /**
@@ -520,29 +557,33 @@ export namespace RecordDetailRelatedRecordListResponse {
520
557
  value: string | null;
521
558
 
522
559
  /**
523
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
524
- * an empty string, or an empty array; MASKED when access to the field or a
525
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
526
- * represent the value. UNSUPPORTED does not determine edit permission.
560
+ * State of the value supplied for this requested flow: PRESENT for a readable
561
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
562
+ * empty array; MASKED when access to the field or a referenced value is
563
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
564
+ * UNSUPPORTED does not determine edit permission.
527
565
  */
528
566
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
529
567
 
530
568
  /**
531
- * Whether you can read this record's field. A referenced record may have separate
532
- * access restrictions.
569
+ * Whether the field value supplied for this requested flow is readable. Create
570
+ * responses describe only an authorized initial value and do not grant access to
571
+ * any existing record. A referenced record may have separate access restrictions.
533
572
  */
534
573
  viewable: boolean;
535
574
 
536
575
  /**
537
- * Object-graph/RQL target name for a supported reference, such as Employee,
538
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
539
- * fields and unsupported reference targets.
576
+ * Target object API name for a supported reference, such as Employee, Department,
577
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
578
+ * on the relationships configured in the saved layout and the caller's access.
579
+ * Null for other fields and unsupported reference targets.
540
580
  */
541
581
  reference_object?: string | null;
542
582
  }
543
583
 
544
584
  /**
545
- * A discoverable record field and the caller's read and write capabilities.
585
+ * A discoverable field and its initial value and capabilities for the requested
586
+ * flow.
546
587
  */
547
588
  export interface DetailCurrencyField {
548
589
  /**
@@ -558,9 +599,9 @@ export namespace RecordDetailRelatedRecordListResponse {
558
599
  data_type: 'CURRENCY';
559
600
 
560
601
  /**
561
- * Whether you can attempt to update this field through the API. This does not
562
- * grant permission to browse reference targets; submitted reference identifiers
563
- * are validated when written.
602
+ * Whether you can attempt to supply or change this field through the canonical
603
+ * write API for the requested flow. This does not grant permission to browse
604
+ * reference targets; submitted reference identifiers are validated when written.
564
605
  */
565
606
  editable: boolean;
566
607
 
@@ -585,7 +626,8 @@ export namespace RecordDetailRelatedRecordListResponse {
585
626
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
586
627
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
587
628
  * value), DERIVED (calculated value), MASKED (restricted value),
588
- * REFERENCE_UNAVAILABLE (unavailable reference target).
629
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
630
+ * by this requested flow).
589
631
  */
590
632
  read_only_reason:
591
633
  | 'PERMISSION_DENIED'
@@ -595,6 +637,7 @@ export namespace RecordDetailRelatedRecordListResponse {
595
637
  | 'DERIVED'
596
638
  | 'MASKED'
597
639
  | 'REFERENCE_UNAVAILABLE'
640
+ | 'UNSUPPORTED'
598
641
  | null;
599
642
 
600
643
  /**
@@ -610,23 +653,36 @@ export namespace RecordDetailRelatedRecordListResponse {
610
653
  value: DetailCurrencyField.RecordDetailCurrency | null;
611
654
 
612
655
  /**
613
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
614
- * an empty string, or an empty array; MASKED when access to the field or a
615
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
616
- * represent the value. UNSUPPORTED does not determine edit permission.
656
+ * State of the value supplied for this requested flow: PRESENT for a readable
657
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
658
+ * empty array; MASKED when access to the field or a referenced value is
659
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
660
+ * UNSUPPORTED does not determine edit permission.
617
661
  */
618
662
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
619
663
 
620
664
  /**
621
- * Whether you can read this record's field. A referenced record may have separate
622
- * 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.
623
668
  */
624
669
  viewable: boolean;
625
670
 
626
671
  /**
627
- * Object-graph/RQL target name for a supported reference, such as Employee,
628
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
629
- * fields and unsupported reference targets.
672
+ * Configured ISO 4217 currency code, or null when dynamic.
673
+ */
674
+ currency?: string | null;
675
+
676
+ /**
677
+ * Configured decimal places, or null.
678
+ */
679
+ num_of_decimal_places?: number | null;
680
+
681
+ /**
682
+ * Target object API name for a supported reference, such as Employee, Department,
683
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
684
+ * on the relationships configured in the saved layout and the caller's access.
685
+ * Null for other fields and unsupported reference targets.
630
686
  */
631
687
  reference_object?: string | null;
632
688
  }
@@ -649,7 +705,8 @@ export namespace RecordDetailRelatedRecordListResponse {
649
705
  }
650
706
 
651
707
  /**
652
- * A discoverable record field and the caller's read and write capabilities.
708
+ * A discoverable field and its initial value and capabilities for the requested
709
+ * flow.
653
710
  */
654
711
  export interface DetailChoiceField {
655
712
  /**
@@ -665,9 +722,9 @@ export namespace RecordDetailRelatedRecordListResponse {
665
722
  data_type: 'RADIO';
666
723
 
667
724
  /**
668
- * Whether you can attempt to update this field through the API. This does not
669
- * grant permission to browse reference targets; submitted reference identifiers
670
- * are validated when written.
725
+ * Whether you can attempt to supply or change this field through the canonical
726
+ * write API for the requested flow. This does not grant permission to browse
727
+ * reference targets; submitted reference identifiers are validated when written.
671
728
  */
672
729
  editable: boolean;
673
730
 
@@ -692,7 +749,8 @@ export namespace RecordDetailRelatedRecordListResponse {
692
749
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
693
750
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
694
751
  * value), DERIVED (calculated value), MASKED (restricted value),
695
- * REFERENCE_UNAVAILABLE (unavailable reference target).
752
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
753
+ * by this requested flow).
696
754
  */
697
755
  read_only_reason:
698
756
  | 'PERMISSION_DENIED'
@@ -702,6 +760,7 @@ export namespace RecordDetailRelatedRecordListResponse {
702
760
  | 'DERIVED'
703
761
  | 'MASKED'
704
762
  | 'REFERENCE_UNAVAILABLE'
763
+ | 'UNSUPPORTED'
705
764
  | null;
706
765
 
707
766
  /**
@@ -716,29 +775,33 @@ export namespace RecordDetailRelatedRecordListResponse {
716
775
  value: string | null;
717
776
 
718
777
  /**
719
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
720
- * an empty string, or an empty array; MASKED when access to the field or a
721
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
722
- * represent the value. UNSUPPORTED does not determine edit permission.
778
+ * State of the value supplied for this requested flow: PRESENT for a readable
779
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
780
+ * empty array; MASKED when access to the field or a referenced value is
781
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
782
+ * UNSUPPORTED does not determine edit permission.
723
783
  */
724
784
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
725
785
 
726
786
  /**
727
- * Whether you can read this record's field. A referenced record may have separate
728
- * access restrictions.
787
+ * Whether the field value supplied for this requested flow is readable. Create
788
+ * responses describe only an authorized initial value and do not grant access to
789
+ * any existing record. A referenced record may have separate access restrictions.
729
790
  */
730
791
  viewable: boolean;
731
792
 
732
793
  /**
733
- * Object-graph/RQL target name for a supported reference, such as Employee,
734
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
735
- * fields and unsupported reference targets.
794
+ * Target object API name for a supported reference, such as Employee, Department,
795
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
796
+ * on the relationships configured in the saved layout and the caller's access.
797
+ * Null for other fields and unsupported reference targets.
736
798
  */
737
799
  reference_object?: string | null;
738
800
  }
739
801
 
740
802
  /**
741
- * A discoverable record field and the caller's read and write capabilities.
803
+ * A discoverable field and its initial value and capabilities for the requested
804
+ * flow.
742
805
  */
743
806
  export interface DetailMultiChoiceField {
744
807
  /**
@@ -754,9 +817,9 @@ export namespace RecordDetailRelatedRecordListResponse {
754
817
  data_type: 'SELECT';
755
818
 
756
819
  /**
757
- * Whether you can attempt to update this field through the API. This does not
758
- * grant permission to browse reference targets; submitted reference identifiers
759
- * are validated when written.
820
+ * Whether you can attempt to supply or change this field through the canonical
821
+ * write API for the requested flow. This does not grant permission to browse
822
+ * reference targets; submitted reference identifiers are validated when written.
760
823
  */
761
824
  editable: boolean;
762
825
 
@@ -781,7 +844,8 @@ export namespace RecordDetailRelatedRecordListResponse {
781
844
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
782
845
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
783
846
  * value), DERIVED (calculated value), MASKED (restricted value),
784
- * REFERENCE_UNAVAILABLE (unavailable reference target).
847
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
848
+ * by this requested flow).
785
849
  */
786
850
  read_only_reason:
787
851
  | 'PERMISSION_DENIED'
@@ -791,6 +855,7 @@ export namespace RecordDetailRelatedRecordListResponse {
791
855
  | 'DERIVED'
792
856
  | 'MASKED'
793
857
  | 'REFERENCE_UNAVAILABLE'
858
+ | 'UNSUPPORTED'
794
859
  | null;
795
860
 
796
861
  /**
@@ -805,29 +870,33 @@ export namespace RecordDetailRelatedRecordListResponse {
805
870
  value: Array<string> | null;
806
871
 
807
872
  /**
808
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
809
- * an empty string, or an empty array; MASKED when access to the field or a
810
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
811
- * represent the value. UNSUPPORTED does not determine edit permission.
873
+ * State of the value supplied for this requested flow: PRESENT for a readable
874
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
875
+ * empty array; MASKED when access to the field or a referenced value is
876
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
877
+ * UNSUPPORTED does not determine edit permission.
812
878
  */
813
879
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
814
880
 
815
881
  /**
816
- * Whether you can read this record's field. A referenced record may have separate
817
- * access restrictions.
882
+ * Whether the field value supplied for this requested flow is readable. Create
883
+ * responses describe only an authorized initial value and do not grant access to
884
+ * any existing record. A referenced record may have separate access restrictions.
818
885
  */
819
886
  viewable: boolean;
820
887
 
821
888
  /**
822
- * Object-graph/RQL target name for a supported reference, such as Employee,
823
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
824
- * fields and unsupported reference targets.
889
+ * Target object API name for a supported reference, such as Employee, Department,
890
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
891
+ * on the relationships configured in the saved layout and the caller's access.
892
+ * Null for other fields and unsupported reference targets.
825
893
  */
826
894
  reference_object?: string | null;
827
895
  }
828
896
 
829
897
  /**
830
- * A discoverable record field and the caller's read and write capabilities.
898
+ * A discoverable field and its initial value and capabilities for the requested
899
+ * flow.
831
900
  */
832
901
  export interface DetailReferenceField {
833
902
  /**
@@ -844,9 +913,9 @@ export namespace RecordDetailRelatedRecordListResponse {
844
913
  data_type: 'OG_REFERENCE_FIELD';
845
914
 
846
915
  /**
847
- * Whether you can attempt to update this field through the API. This does not
848
- * grant permission to browse reference targets; submitted reference identifiers
849
- * are validated when written.
916
+ * Whether you can attempt to supply or change this field through the canonical
917
+ * write API for the requested flow. This does not grant permission to browse
918
+ * reference targets; submitted reference identifiers are validated when written.
850
919
  */
851
920
  editable: boolean;
852
921
 
@@ -871,7 +940,8 @@ export namespace RecordDetailRelatedRecordListResponse {
871
940
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
872
941
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
873
942
  * value), DERIVED (calculated value), MASKED (restricted value),
874
- * REFERENCE_UNAVAILABLE (unavailable reference target).
943
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
944
+ * by this requested flow).
875
945
  */
876
946
  read_only_reason:
877
947
  | 'PERMISSION_DENIED'
@@ -881,6 +951,7 @@ export namespace RecordDetailRelatedRecordListResponse {
881
951
  | 'DERIVED'
882
952
  | 'MASKED'
883
953
  | 'REFERENCE_UNAVAILABLE'
954
+ | 'UNSUPPORTED'
884
955
  | null;
885
956
 
886
957
  /**
@@ -890,22 +961,26 @@ export namespace RecordDetailRelatedRecordListResponse {
890
961
 
891
962
  /**
892
963
  * Selected record identifier in the reference_object target; null when empty or
893
- * masked. Use the Workers GET endpoint for Employee or RoleWithCompany targets, or
894
- * the Custom Object record GET endpoint for Custom Object targets.
964
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
965
+ * through GET /departments/{id}/, and Custom Object records through GET
966
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
967
+ * not have a public record endpoint; use display for their presentation.
895
968
  */
896
969
  value: string | null;
897
970
 
898
971
  /**
899
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
900
- * an empty string, or an empty array; MASKED when access to the field or a
901
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
902
- * represent the value. UNSUPPORTED does not determine edit permission.
972
+ * State of the value supplied for this requested flow: PRESENT for a readable
973
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
974
+ * empty array; MASKED when access to the field or a referenced value is
975
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
976
+ * UNSUPPORTED does not determine edit permission.
903
977
  */
904
978
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
905
979
 
906
980
  /**
907
- * Whether you can read this record's field. A referenced record may have separate
908
- * access restrictions.
981
+ * Whether the field value supplied for this requested flow is readable. Create
982
+ * responses describe only an authorized initial value and do not grant access to
983
+ * any existing record. A referenced record may have separate access restrictions.
909
984
  */
910
985
  viewable: boolean;
911
986
 
@@ -916,9 +991,10 @@ export namespace RecordDetailRelatedRecordListResponse {
916
991
  display?: DetailReferenceField.ReferenceDisplay | null;
917
992
 
918
993
  /**
919
- * Object-graph/RQL target name for a supported reference, such as Employee,
920
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
921
- * fields and unsupported reference targets.
994
+ * Target object API name for a supported reference, such as Employee, Department,
995
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
996
+ * on the relationships configured in the saved layout and the caller's access.
997
+ * Null for other fields and unsupported reference targets.
922
998
  */
923
999
  reference_object?: string | null;
924
1000
  }
@@ -946,7 +1022,8 @@ export namespace RecordDetailRelatedRecordListResponse {
946
1022
  }
947
1023
 
948
1024
  /**
949
- * A discoverable record field and the caller's read and write capabilities.
1025
+ * A discoverable field and its initial value and capabilities for the requested
1026
+ * flow.
950
1027
  */
951
1028
  export interface DetailNativeReferenceField {
952
1029
  /**
@@ -963,9 +1040,9 @@ export namespace RecordDetailRelatedRecordListResponse {
963
1040
  data_type: 'NATIVE_EDGE';
964
1041
 
965
1042
  /**
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.
1043
+ * Whether you can attempt to supply or change this field through the canonical
1044
+ * write API for the requested flow. This does not grant permission to browse
1045
+ * reference targets; submitted reference identifiers are validated when written.
969
1046
  */
970
1047
  editable: boolean;
971
1048
 
@@ -990,7 +1067,8 @@ export namespace RecordDetailRelatedRecordListResponse {
990
1067
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
991
1068
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
992
1069
  * value), DERIVED (calculated value), MASKED (restricted value),
993
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1070
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1071
+ * by this requested flow).
994
1072
  */
995
1073
  read_only_reason:
996
1074
  | 'PERMISSION_DENIED'
@@ -1000,6 +1078,7 @@ export namespace RecordDetailRelatedRecordListResponse {
1000
1078
  | 'DERIVED'
1001
1079
  | 'MASKED'
1002
1080
  | 'REFERENCE_UNAVAILABLE'
1081
+ | 'UNSUPPORTED'
1003
1082
  | null;
1004
1083
 
1005
1084
  /**
@@ -1009,22 +1088,26 @@ export namespace RecordDetailRelatedRecordListResponse {
1009
1088
 
1010
1089
  /**
1011
1090
  * Selected record identifier in the reference_object target; null when empty or
1012
- * masked. Use the Workers GET endpoint for Employee or RoleWithCompany targets, or
1013
- * the Custom Object record GET endpoint for Custom Object targets.
1091
+ * masked. Retrieve Employee records through GET /workers/{id}/, Department records
1092
+ * through GET /departments/{id}/, and Custom Object records through GET
1093
+ * /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
1094
+ * not have a public record endpoint; use display for their presentation.
1014
1095
  */
1015
1096
  value: string | null;
1016
1097
 
1017
1098
  /**
1018
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
1019
- * an empty string, or an empty array; MASKED when access to the field or a
1020
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
1021
- * represent the value. UNSUPPORTED does not determine edit permission.
1099
+ * State of the value supplied for this requested flow: PRESENT for a readable
1100
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1101
+ * empty array; MASKED when access to the field or a referenced value is
1102
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1103
+ * UNSUPPORTED does not determine edit permission.
1022
1104
  */
1023
1105
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1024
1106
 
1025
1107
  /**
1026
- * Whether you can read this record's field. A referenced record may have separate
1027
- * access restrictions.
1108
+ * Whether the field value supplied for this requested flow is readable. Create
1109
+ * responses describe only an authorized initial value and do not grant access to
1110
+ * any existing record. A referenced record may have separate access restrictions.
1028
1111
  */
1029
1112
  viewable: boolean;
1030
1113
 
@@ -1035,9 +1118,10 @@ export namespace RecordDetailRelatedRecordListResponse {
1035
1118
  display?: DetailNativeReferenceField.ReferenceDisplay | null;
1036
1119
 
1037
1120
  /**
1038
- * Object-graph/RQL target name for a supported reference, such as Employee,
1039
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
1040
- * fields and unsupported reference targets.
1121
+ * Target object API name for a supported reference, such as Employee, Department,
1122
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1123
+ * on the relationships configured in the saved layout and the caller's access.
1124
+ * Null for other fields and unsupported reference targets.
1041
1125
  */
1042
1126
  reference_object?: string | null;
1043
1127
  }
@@ -1065,7 +1149,8 @@ export namespace RecordDetailRelatedRecordListResponse {
1065
1149
  }
1066
1150
 
1067
1151
  /**
1068
- * A discoverable record field and the caller's read and write capabilities.
1152
+ * A discoverable field and its initial value and capabilities for the requested
1153
+ * flow.
1069
1154
  */
1070
1155
  export interface DetailPercentageField {
1071
1156
  /**
@@ -1081,9 +1166,9 @@ export namespace RecordDetailRelatedRecordListResponse {
1081
1166
  data_type: 'PERCENTAGE';
1082
1167
 
1083
1168
  /**
1084
- * Whether you can attempt to update this field through the API. This does not
1085
- * grant permission to browse reference targets; submitted reference identifiers
1086
- * are validated when written.
1169
+ * Whether you can attempt to supply or change this field through the canonical
1170
+ * write API for the requested flow. This does not grant permission to browse
1171
+ * reference targets; submitted reference identifiers are validated when written.
1087
1172
  */
1088
1173
  editable: boolean;
1089
1174
 
@@ -1108,7 +1193,8 @@ export namespace RecordDetailRelatedRecordListResponse {
1108
1193
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1109
1194
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1110
1195
  * value), DERIVED (calculated value), MASKED (restricted value),
1111
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1196
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1197
+ * by this requested flow).
1112
1198
  */
1113
1199
  read_only_reason:
1114
1200
  | 'PERMISSION_DENIED'
@@ -1118,6 +1204,7 @@ export namespace RecordDetailRelatedRecordListResponse {
1118
1204
  | 'DERIVED'
1119
1205
  | 'MASKED'
1120
1206
  | 'REFERENCE_UNAVAILABLE'
1207
+ | 'UNSUPPORTED'
1121
1208
  | null;
1122
1209
 
1123
1210
  /**
@@ -1132,29 +1219,38 @@ export namespace RecordDetailRelatedRecordListResponse {
1132
1219
  value: number | null;
1133
1220
 
1134
1221
  /**
1135
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
1136
- * an empty string, or an empty array; MASKED when access to the field or a
1137
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
1138
- * represent the value. UNSUPPORTED does not determine edit permission.
1222
+ * State of the value supplied for this requested flow: PRESENT for a readable
1223
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1224
+ * empty array; MASKED when access to the field or a referenced value is
1225
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1226
+ * UNSUPPORTED does not determine edit permission.
1139
1227
  */
1140
1228
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1141
1229
 
1142
1230
  /**
1143
- * Whether you can read this record's field. A referenced record may have separate
1144
- * access restrictions.
1231
+ * Whether the field value supplied for this requested flow is readable. Create
1232
+ * responses describe only an authorized initial value and do not grant access to
1233
+ * any existing record. A referenced record may have separate access restrictions.
1145
1234
  */
1146
1235
  viewable: boolean;
1147
1236
 
1148
1237
  /**
1149
- * Object-graph/RQL target name for a supported reference, such as Employee,
1150
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
1151
- * fields and unsupported reference targets.
1238
+ * Configured decimal places, or null.
1239
+ */
1240
+ num_of_decimal_places?: number | null;
1241
+
1242
+ /**
1243
+ * Target object API name for a supported reference, such as Employee, Department,
1244
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1245
+ * on the relationships configured in the saved layout and the caller's access.
1246
+ * Null for other fields and unsupported reference targets.
1152
1247
  */
1153
1248
  reference_object?: string | null;
1154
1249
  }
1155
1250
 
1156
1251
  /**
1157
- * A discoverable record field and the caller's read and write capabilities.
1252
+ * A discoverable field and its initial value and capabilities for the requested
1253
+ * flow.
1158
1254
  */
1159
1255
  export interface DetailTimeField {
1160
1256
  /**
@@ -1170,9 +1266,9 @@ export namespace RecordDetailRelatedRecordListResponse {
1170
1266
  data_type: 'TIME';
1171
1267
 
1172
1268
  /**
1173
- * Whether you can attempt to update this field through the API. This does not
1174
- * grant permission to browse reference targets; submitted reference identifiers
1175
- * are validated when written.
1269
+ * Whether you can attempt to supply or change this field through the canonical
1270
+ * write API for the requested flow. This does not grant permission to browse
1271
+ * reference targets; submitted reference identifiers are validated when written.
1176
1272
  */
1177
1273
  editable: boolean;
1178
1274
 
@@ -1197,7 +1293,8 @@ export namespace RecordDetailRelatedRecordListResponse {
1197
1293
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1198
1294
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1199
1295
  * value), DERIVED (calculated value), MASKED (restricted value),
1200
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1296
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1297
+ * by this requested flow).
1201
1298
  */
1202
1299
  read_only_reason:
1203
1300
  | 'PERMISSION_DENIED'
@@ -1207,6 +1304,7 @@ export namespace RecordDetailRelatedRecordListResponse {
1207
1304
  | 'DERIVED'
1208
1305
  | 'MASKED'
1209
1306
  | 'REFERENCE_UNAVAILABLE'
1307
+ | 'UNSUPPORTED'
1210
1308
  | null;
1211
1309
 
1212
1310
  /**
@@ -1220,29 +1318,33 @@ export namespace RecordDetailRelatedRecordListResponse {
1220
1318
  value: string | null;
1221
1319
 
1222
1320
  /**
1223
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
1224
- * an empty string, or an empty array; MASKED when access to the field or a
1225
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
1226
- * represent the value. UNSUPPORTED does not determine edit permission.
1321
+ * State of the value supplied for this requested flow: PRESENT for a readable
1322
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1323
+ * empty array; MASKED when access to the field or a referenced value is
1324
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1325
+ * UNSUPPORTED does not determine edit permission.
1227
1326
  */
1228
1327
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1229
1328
 
1230
1329
  /**
1231
- * Whether you can read this record's field. A referenced record may have separate
1232
- * access restrictions.
1330
+ * Whether the field value supplied for this requested flow is readable. Create
1331
+ * responses describe only an authorized initial value and do not grant access to
1332
+ * any existing record. A referenced record may have separate access restrictions.
1233
1333
  */
1234
1334
  viewable: boolean;
1235
1335
 
1236
1336
  /**
1237
- * Object-graph/RQL target name for a supported reference, such as Employee,
1238
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
1239
- * fields and unsupported reference targets.
1337
+ * Target object API name for a supported reference, such as Employee, Department,
1338
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1339
+ * on the relationships configured in the saved layout and the caller's access.
1340
+ * Null for other fields and unsupported reference targets.
1240
1341
  */
1241
1342
  reference_object?: string | null;
1242
1343
  }
1243
1344
 
1244
1345
  /**
1245
- * A discoverable record field and the caller's read and write capabilities.
1346
+ * A discoverable field and its initial value and capabilities for the requested
1347
+ * flow.
1246
1348
  */
1247
1349
  export interface DetailUnsupportedField {
1248
1350
  /**
@@ -1259,9 +1361,9 @@ export namespace RecordDetailRelatedRecordListResponse {
1259
1361
  data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
1260
1362
 
1261
1363
  /**
1262
- * Whether you can attempt to update this field through the API. This does not
1263
- * grant permission to browse reference targets; submitted reference identifiers
1264
- * are validated when written.
1364
+ * Whether you can attempt to supply or change this field through the canonical
1365
+ * write API for the requested flow. This does not grant permission to browse
1366
+ * reference targets; submitted reference identifiers are validated when written.
1265
1367
  */
1266
1368
  editable: boolean;
1267
1369
 
@@ -1286,7 +1388,8 @@ export namespace RecordDetailRelatedRecordListResponse {
1286
1388
  * (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
1287
1389
  * (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
1288
1390
  * value), DERIVED (calculated value), MASKED (restricted value),
1289
- * REFERENCE_UNAVAILABLE (unavailable reference target).
1391
+ * REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
1392
+ * by this requested flow).
1290
1393
  */
1291
1394
  read_only_reason:
1292
1395
  | 'PERMISSION_DENIED'
@@ -1296,6 +1399,7 @@ export namespace RecordDetailRelatedRecordListResponse {
1296
1399
  | 'DERIVED'
1297
1400
  | 'MASKED'
1298
1401
  | 'REFERENCE_UNAVAILABLE'
1402
+ | 'UNSUPPORTED'
1299
1403
  | null;
1300
1404
 
1301
1405
  /**
@@ -1310,23 +1414,26 @@ export namespace RecordDetailRelatedRecordListResponse {
1310
1414
  value: null;
1311
1415
 
1312
1416
  /**
1313
- * PRESENT for a readable nonempty value, including false and zero; EMPTY for null,
1314
- * an empty string, or an empty array; MASKED when access to the field or a
1315
- * referenced value is restricted; or UNSUPPORTED when the endpoint does not
1316
- * represent the value. UNSUPPORTED does not determine edit permission.
1417
+ * State of the value supplied for this requested flow: PRESENT for a readable
1418
+ * nonempty value, including false and zero; EMPTY for null, an empty string, or an
1419
+ * empty array; MASKED when access to the field or a referenced value is
1420
+ * restricted; or UNSUPPORTED when the endpoint does not represent the value.
1421
+ * UNSUPPORTED does not determine edit permission.
1317
1422
  */
1318
1423
  value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
1319
1424
 
1320
1425
  /**
1321
- * Whether you can read this record's field. A referenced record may have separate
1322
- * access restrictions.
1426
+ * Whether the field value supplied for this requested flow is readable. Create
1427
+ * responses describe only an authorized initial value and do not grant access to
1428
+ * any existing record. A referenced record may have separate access restrictions.
1323
1429
  */
1324
1430
  viewable: boolean;
1325
1431
 
1326
1432
  /**
1327
- * Object-graph/RQL target name for a supported reference, such as Employee,
1328
- * RoleWithCompany, or a Custom Object API name ending in \_\_c. Null for other
1329
- * fields and unsupported reference targets.
1433
+ * Target object API name for a supported reference, such as Employee, Department,
1434
+ * or a Custom Object API name ending in \_\_c. The available native targets depend
1435
+ * on the relationships configured in the saved layout and the caller's access.
1436
+ * Null for other fields and unsupported reference targets.
1330
1437
  */
1331
1438
  reference_object?: string | null;
1332
1439
  }
@@ -1348,8 +1455,8 @@ export interface RecordDetailRelatedRecordListParams {
1348
1455
 
1349
1456
  /**
1350
1457
  * Related-list section identifier from layout.tabs[].sections[] in the record
1351
- * detail response. Use the section's records_link; the identifier is scoped to
1352
- * that effective layout.
1458
+ * detail response. Pass it with that response's object, record, and layout
1459
+ * identifiers; the section identifier is scoped to the effective layout.
1353
1460
  */
1354
1461
  section_id: string;
1355
1462