@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.
- package/client.d.mts +20 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -2
- package/client.d.ts.map +1 -1
- package/client.js +18 -0
- package/client.js.map +1 -1
- package/client.mjs +18 -0
- package/client.mjs.map +1 -1
- package/lib/manifest/definitions/canvas-instance.d.mts +114 -0
- package/lib/manifest/definitions/canvas-instance.d.mts.map +1 -0
- package/lib/manifest/definitions/canvas-instance.d.ts +114 -0
- package/lib/manifest/definitions/canvas-instance.d.ts.map +1 -0
- package/lib/manifest/definitions/canvas-instance.js +31 -0
- package/lib/manifest/definitions/canvas-instance.js.map +1 -0
- package/lib/manifest/definitions/canvas-instance.mjs +28 -0
- package/lib/manifest/definitions/canvas-instance.mjs.map +1 -0
- package/lib/manifest/definitions/index.d.mts +1 -0
- package/lib/manifest/definitions/index.d.mts.map +1 -1
- package/lib/manifest/definitions/index.d.ts +1 -0
- package/lib/manifest/definitions/index.d.ts.map +1 -1
- package/lib/manifest/definitions/index.js +3 -1
- package/lib/manifest/definitions/index.js.map +1 -1
- package/lib/manifest/definitions/index.mjs +1 -0
- package/lib/manifest/definitions/index.mjs.map +1 -1
- package/lib/manifest/manifest-builder.d.mts +1 -1
- package/lib/manifest/manifest-builder.d.mts.map +1 -1
- package/lib/manifest/manifest-builder.d.ts +1 -1
- package/lib/manifest/manifest-builder.d.ts.map +1 -1
- package/lib/manifest/manifest-builder.js.map +1 -1
- package/lib/manifest/manifest-builder.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/custom-objects/custom-objects.d.mts +4 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +4 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +4 -0
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +4 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +1 -0
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +1 -0
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js +3 -1
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs +1 -0
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/record-actions.d.mts +98 -0
- package/resources/custom-objects/record-actions.d.mts.map +1 -0
- package/resources/custom-objects/record-actions.d.ts +98 -0
- package/resources/custom-objects/record-actions.d.ts.map +1 -0
- package/resources/custom-objects/record-actions.js +58 -0
- package/resources/custom-objects/record-actions.js.map +1 -0
- package/resources/custom-objects/record-actions.mjs +54 -0
- package/resources/custom-objects/record-actions.mjs.map +1 -0
- package/resources/earnings-inputs.d.mts +14 -2
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts +14 -2
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/earnings-inputs.js +14 -2
- package/resources/earnings-inputs.js.map +1 -1
- package/resources/earnings-inputs.mjs +14 -2
- package/resources/earnings-inputs.mjs.map +1 -1
- package/resources/index.d.mts +4 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +8 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/record-detail-reference-options.d.mts +18 -19
- package/resources/record-detail-reference-options.d.mts.map +1 -1
- package/resources/record-detail-reference-options.d.ts +18 -19
- package/resources/record-detail-reference-options.d.ts.map +1 -1
- package/resources/record-detail-reference-options.js +13 -13
- package/resources/record-detail-reference-options.mjs +13 -13
- package/resources/record-detail-related-records.d.mts +293 -204
- package/resources/record-detail-related-records.d.mts.map +1 -1
- package/resources/record-detail-related-records.d.ts +293 -204
- package/resources/record-detail-related-records.d.ts.map +1 -1
- package/resources/record-detail-related-records.js +3 -3
- package/resources/record-detail-related-records.mjs +3 -3
- package/resources/record-details.d.mts +1676 -222
- package/resources/record-details.d.mts.map +1 -1
- package/resources/record-details.d.ts +1676 -222
- package/resources/record-details.d.ts.map +1 -1
- package/resources/record-details.js +76 -6
- package/resources/record-details.js.map +1 -1
- package/resources/record-details.mjs +76 -6
- package/resources/record-details.mjs.map +1 -1
- package/resources/scheduled-payout-labels.d.mts +267 -0
- package/resources/scheduled-payout-labels.d.mts.map +1 -0
- package/resources/scheduled-payout-labels.d.ts +267 -0
- package/resources/scheduled-payout-labels.d.ts.map +1 -0
- package/resources/scheduled-payout-labels.js +151 -0
- package/resources/scheduled-payout-labels.js.map +1 -0
- package/resources/scheduled-payout-labels.mjs +147 -0
- package/resources/scheduled-payout-labels.mjs.map +1 -0
- package/resources/scheduled-payout-types.d.mts +680 -0
- package/resources/scheduled-payout-types.d.mts.map +1 -0
- package/resources/scheduled-payout-types.d.ts +680 -0
- package/resources/scheduled-payout-types.d.ts.map +1 -0
- package/resources/scheduled-payout-types.js +546 -0
- package/resources/scheduled-payout-types.js.map +1 -0
- package/resources/scheduled-payout-types.mjs +542 -0
- package/resources/scheduled-payout-types.mjs.map +1 -0
- package/resources/scheduled-payouts.d.mts +1590 -0
- package/resources/scheduled-payouts.d.mts.map +1 -0
- package/resources/scheduled-payouts.d.ts +1590 -0
- package/resources/scheduled-payouts.d.ts.map +1 -0
- package/resources/scheduled-payouts.js +584 -0
- package/resources/scheduled-payouts.js.map +1 -0
- package/resources/scheduled-payouts.mjs +580 -0
- package/resources/scheduled-payouts.mjs.map +1 -0
- package/resources/worker-changes.d.mts +65 -10
- package/resources/worker-changes.d.mts.map +1 -1
- package/resources/worker-changes.d.ts +65 -10
- package/resources/worker-changes.d.ts.map +1 -1
- package/resources/worker-changes.js +3 -0
- package/resources/worker-changes.js.map +1 -1
- package/resources/worker-changes.mjs +3 -0
- package/resources/worker-changes.mjs.map +1 -1
- package/src/client.ts +88 -0
- package/src/lib/manifest/definitions/README.md +3 -1
- package/src/lib/manifest/definitions/canvas-instance.ts +143 -0
- package/src/lib/manifest/definitions/index.ts +17 -0
- package/src/lib/manifest/manifest-builder.ts +1 -0
- package/src/resources/custom-objects/custom-objects.ts +16 -0
- package/src/resources/custom-objects/index.ts +6 -0
- package/src/resources/custom-objects/record-actions.ts +125 -0
- package/src/resources/earnings-inputs.ts +14 -2
- package/src/resources/index.ts +35 -0
- package/src/resources/record-detail-reference-options.ts +18 -19
- package/src/resources/record-detail-related-records.ts +298 -191
- package/src/resources/record-details.ts +2031 -209
- package/src/resources/scheduled-payout-labels.ts +373 -0
- package/src/resources/scheduled-payout-types.ts +755 -0
- package/src/resources/scheduled-payouts.ts +1949 -0
- package/src/resources/worker-changes.ts +71 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -17,10 +17,11 @@ export class RecordDetails extends APIResource {
|
|
|
17
17
|
* canonical record PATCH endpoint. Includes discoverable direct fields outside the
|
|
18
18
|
* layout. Unreadable fields retain metadata with null, MASKED values; saved
|
|
19
19
|
* visibility conditions and field permissions determine the returned placements.
|
|
20
|
-
* Related-list
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
20
|
+
* Related-list sections describe the target object, relationship field, and
|
|
21
|
+
* configured columns without embedding row contents. Metadata-administration
|
|
22
|
+
* scopes are not required. Masked values contain no raw data. Values use the
|
|
23
|
+
* formats documented by data_type. References contain a scalar identifier and
|
|
24
|
+
* optional permitted display, not an expanded resource.
|
|
24
25
|
*
|
|
25
26
|
* @example HTTP
|
|
26
27
|
* Representative request and response shapes.
|
|
@@ -44,7 +45,6 @@ export class RecordDetails extends APIResource {
|
|
|
44
45
|
* },
|
|
45
46
|
* "layout": {
|
|
46
47
|
* "api_name": "string",
|
|
47
|
-
* "revision": "string",
|
|
48
48
|
* "header": {
|
|
49
49
|
* "title_field": "string",
|
|
50
50
|
* "description_field": "string",
|
|
@@ -60,7 +60,18 @@ export class RecordDetails extends APIResource {
|
|
|
60
60
|
* }
|
|
61
61
|
* ]
|
|
62
62
|
* },
|
|
63
|
-
* "fields": {}
|
|
63
|
+
* "fields": {},
|
|
64
|
+
* "actions": [
|
|
65
|
+
* {
|
|
66
|
+
* "id": "string",
|
|
67
|
+
* "api_name": "string",
|
|
68
|
+
* "name": "string",
|
|
69
|
+
* "function_api_name": "string",
|
|
70
|
+
* "visibility_preferences": [
|
|
71
|
+
* "LIST_VIEW"
|
|
72
|
+
* ]
|
|
73
|
+
* }
|
|
74
|
+
* ]
|
|
64
75
|
* }
|
|
65
76
|
* ```
|
|
66
77
|
*/
|
|
@@ -71,6 +82,69 @@ export class RecordDetails extends APIResource {
|
|
|
71
82
|
): APIPromise<RecordDetailRetrieveResponse> {
|
|
72
83
|
return this._client.get(path`/record-details/${recordID}/`, { query, ...options });
|
|
73
84
|
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Retrieves one permissioned, singular, nonpaginated Create context without
|
|
88
|
+
* persisting a record.
|
|
89
|
+
*
|
|
90
|
+
* @example HTTP
|
|
91
|
+
* Representative request and response shapes.
|
|
92
|
+
* ```
|
|
93
|
+
* GET /record-details/?object_api_name=object_api_name&layout_api_name=default HTTP/1.1
|
|
94
|
+
* Host: rest.ripplingapis.com
|
|
95
|
+
* Accept: application/json
|
|
96
|
+
* Rippling-Api-Version: 2024-08-01
|
|
97
|
+
*
|
|
98
|
+
* HTTP/1.1 200 OK
|
|
99
|
+
* Content-Type: application/json
|
|
100
|
+
*
|
|
101
|
+
* {
|
|
102
|
+
* "object_api_name": "string",
|
|
103
|
+
* "layout": {
|
|
104
|
+
* "api_name": "string",
|
|
105
|
+
* "header": {
|
|
106
|
+
* "title_field": "string",
|
|
107
|
+
* "description_field": "string",
|
|
108
|
+
* "fields": [
|
|
109
|
+
* "string"
|
|
110
|
+
* ]
|
|
111
|
+
* },
|
|
112
|
+
* "tabs": [
|
|
113
|
+
* {
|
|
114
|
+
* "id": "string",
|
|
115
|
+
* "label": "string",
|
|
116
|
+
* "sections": []
|
|
117
|
+
* }
|
|
118
|
+
* ]
|
|
119
|
+
* },
|
|
120
|
+
* "fields": {},
|
|
121
|
+
* "blockers": [
|
|
122
|
+
* {
|
|
123
|
+
* "code": "REQUIRED_INPUT_UNAVAILABLE",
|
|
124
|
+
* "field_api_name": "string",
|
|
125
|
+
* "message": "string"
|
|
126
|
+
* }
|
|
127
|
+
* ],
|
|
128
|
+
* "actions": [
|
|
129
|
+
* {
|
|
130
|
+
* "id": "string",
|
|
131
|
+
* "api_name": "string",
|
|
132
|
+
* "name": "string",
|
|
133
|
+
* "function_api_name": "string",
|
|
134
|
+
* "visibility_preferences": [
|
|
135
|
+
* "LIST_VIEW"
|
|
136
|
+
* ]
|
|
137
|
+
* }
|
|
138
|
+
* ]
|
|
139
|
+
* }
|
|
140
|
+
* ```
|
|
141
|
+
*/
|
|
142
|
+
retrieveCreate(
|
|
143
|
+
query: RecordDetailRetrieveCreateParams,
|
|
144
|
+
options?: RequestOptions,
|
|
145
|
+
): APIPromise<RecordDetailRetrieveCreateResponse> {
|
|
146
|
+
return this._client.get('/record-details/', { query, ...options });
|
|
147
|
+
}
|
|
74
148
|
}
|
|
75
149
|
|
|
76
150
|
/**
|
|
@@ -84,6 +158,12 @@ export interface RecordDetailRetrieveResponse {
|
|
|
84
158
|
*/
|
|
85
159
|
id: string;
|
|
86
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Complete authorized DETAIL_VIEW actions. Function execution and execution reads
|
|
163
|
+
* remain separately authorized.
|
|
164
|
+
*/
|
|
165
|
+
actions: Array<RecordDetailRetrieveResponse.Action>;
|
|
166
|
+
|
|
87
167
|
/**
|
|
88
168
|
* Permissions and lock state for this caller.
|
|
89
169
|
*/
|
|
@@ -91,8 +171,8 @@ export interface RecordDetailRetrieveResponse {
|
|
|
91
171
|
|
|
92
172
|
/**
|
|
93
173
|
* Discoverable direct fields plus read-only related fields used by the layout.
|
|
94
|
-
*
|
|
95
|
-
* value.
|
|
174
|
+
* Each value is the saved value loaded for this record. Unreadable fields retain
|
|
175
|
+
* metadata and layout placements with a null, MASKED value.
|
|
96
176
|
*/
|
|
97
177
|
fields: {
|
|
98
178
|
[key: string]:
|
|
@@ -130,6 +210,39 @@ export interface RecordDetailRetrieveResponse {
|
|
|
130
210
|
}
|
|
131
211
|
|
|
132
212
|
export namespace RecordDetailRetrieveResponse {
|
|
213
|
+
/**
|
|
214
|
+
* A configured action the caller can attempt through the existing Function
|
|
215
|
+
* execution API.
|
|
216
|
+
*/
|
|
217
|
+
export interface Action {
|
|
218
|
+
/**
|
|
219
|
+
* Stable native ObjectAction identifier.
|
|
220
|
+
*/
|
|
221
|
+
id: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Action API name; null for legacy actions.
|
|
225
|
+
*/
|
|
226
|
+
api_name: string | null;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Associated Function API name for the unchanged Function execution endpoints.
|
|
230
|
+
* Discovery does not grant execution or execution-read permission.
|
|
231
|
+
*/
|
|
232
|
+
function_api_name: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Action display label.
|
|
236
|
+
*/
|
|
237
|
+
name: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Configured action placements: LIST_VIEW appears in an object grid; DETAIL_VIEW
|
|
241
|
+
* appears on a record page.
|
|
242
|
+
*/
|
|
243
|
+
visibility_preferences: Array<'LIST_VIEW' | 'DETAIL_VIEW'>;
|
|
244
|
+
}
|
|
245
|
+
|
|
133
246
|
/**
|
|
134
247
|
* Permissions and lock state for this caller.
|
|
135
248
|
*/
|
|
@@ -154,7 +267,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
154
267
|
}
|
|
155
268
|
|
|
156
269
|
/**
|
|
157
|
-
* A discoverable
|
|
270
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
271
|
+
* flow.
|
|
158
272
|
*/
|
|
159
273
|
export interface DetailTextField {
|
|
160
274
|
/**
|
|
@@ -171,9 +285,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
171
285
|
data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
|
|
172
286
|
|
|
173
287
|
/**
|
|
174
|
-
* Whether you can attempt to
|
|
175
|
-
*
|
|
176
|
-
* are validated when written.
|
|
288
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
289
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
290
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
177
291
|
*/
|
|
178
292
|
editable: boolean;
|
|
179
293
|
|
|
@@ -198,7 +312,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
198
312
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
199
313
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
200
314
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
201
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
315
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
316
|
+
* by this requested flow).
|
|
202
317
|
*/
|
|
203
318
|
read_only_reason:
|
|
204
319
|
| 'PERMISSION_DENIED'
|
|
@@ -208,6 +323,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
208
323
|
| 'DERIVED'
|
|
209
324
|
| 'MASKED'
|
|
210
325
|
| 'REFERENCE_UNAVAILABLE'
|
|
326
|
+
| 'UNSUPPORTED'
|
|
211
327
|
| null;
|
|
212
328
|
|
|
213
329
|
/**
|
|
@@ -222,29 +338,38 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
222
338
|
value: string | null;
|
|
223
339
|
|
|
224
340
|
/**
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
341
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
342
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
343
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
344
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
345
|
+
* UNSUPPORTED does not determine edit permission.
|
|
229
346
|
*/
|
|
230
347
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
231
348
|
|
|
232
349
|
/**
|
|
233
|
-
* Whether
|
|
234
|
-
* access
|
|
350
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
351
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
352
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
235
353
|
*/
|
|
236
354
|
viewable: boolean;
|
|
237
355
|
|
|
238
356
|
/**
|
|
239
|
-
*
|
|
240
|
-
|
|
241
|
-
|
|
357
|
+
* Maximum accepted characters, or null when unbounded.
|
|
358
|
+
*/
|
|
359
|
+
max_length?: number | null;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
363
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
364
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
365
|
+
* Null for other fields and unsupported reference targets.
|
|
242
366
|
*/
|
|
243
367
|
reference_object?: string | null;
|
|
244
368
|
}
|
|
245
369
|
|
|
246
370
|
/**
|
|
247
|
-
* A discoverable
|
|
371
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
372
|
+
* flow.
|
|
248
373
|
*/
|
|
249
374
|
export interface DetailNumberField {
|
|
250
375
|
/**
|
|
@@ -260,9 +385,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
260
385
|
data_type: 'NUMBER';
|
|
261
386
|
|
|
262
387
|
/**
|
|
263
|
-
* Whether you can attempt to
|
|
264
|
-
*
|
|
265
|
-
* are validated when written.
|
|
388
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
389
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
390
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
266
391
|
*/
|
|
267
392
|
editable: boolean;
|
|
268
393
|
|
|
@@ -287,7 +412,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
287
412
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
288
413
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
289
414
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
290
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
415
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
416
|
+
* by this requested flow).
|
|
291
417
|
*/
|
|
292
418
|
read_only_reason:
|
|
293
419
|
| 'PERMISSION_DENIED'
|
|
@@ -297,6 +423,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
297
423
|
| 'DERIVED'
|
|
298
424
|
| 'MASKED'
|
|
299
425
|
| 'REFERENCE_UNAVAILABLE'
|
|
426
|
+
| 'UNSUPPORTED'
|
|
300
427
|
| null;
|
|
301
428
|
|
|
302
429
|
/**
|
|
@@ -311,29 +438,38 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
311
438
|
value: string | null;
|
|
312
439
|
|
|
313
440
|
/**
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
441
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
442
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
443
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
444
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
445
|
+
* UNSUPPORTED does not determine edit permission.
|
|
318
446
|
*/
|
|
319
447
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
320
448
|
|
|
321
449
|
/**
|
|
322
|
-
* Whether
|
|
323
|
-
* access
|
|
450
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
451
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
452
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
324
453
|
*/
|
|
325
454
|
viewable: boolean;
|
|
326
455
|
|
|
327
456
|
/**
|
|
328
|
-
*
|
|
329
|
-
|
|
330
|
-
|
|
457
|
+
* Configured decimal places, or null.
|
|
458
|
+
*/
|
|
459
|
+
num_of_decimal_places?: number | null;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
463
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
464
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
465
|
+
* Null for other fields and unsupported reference targets.
|
|
331
466
|
*/
|
|
332
467
|
reference_object?: string | null;
|
|
333
468
|
}
|
|
334
469
|
|
|
335
470
|
/**
|
|
336
|
-
* A discoverable
|
|
471
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
472
|
+
* flow.
|
|
337
473
|
*/
|
|
338
474
|
export interface DetailBooleanField {
|
|
339
475
|
/**
|
|
@@ -349,9 +485,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
349
485
|
data_type: 'BOOLEAN';
|
|
350
486
|
|
|
351
487
|
/**
|
|
352
|
-
* Whether you can attempt to
|
|
353
|
-
*
|
|
354
|
-
* are validated when written.
|
|
488
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
489
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
490
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
355
491
|
*/
|
|
356
492
|
editable: boolean;
|
|
357
493
|
|
|
@@ -376,7 +512,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
376
512
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
377
513
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
378
514
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
379
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
515
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
516
|
+
* by this requested flow).
|
|
380
517
|
*/
|
|
381
518
|
read_only_reason:
|
|
382
519
|
| 'PERMISSION_DENIED'
|
|
@@ -386,6 +523,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
386
523
|
| 'DERIVED'
|
|
387
524
|
| 'MASKED'
|
|
388
525
|
| 'REFERENCE_UNAVAILABLE'
|
|
526
|
+
| 'UNSUPPORTED'
|
|
389
527
|
| null;
|
|
390
528
|
|
|
391
529
|
/**
|
|
@@ -399,29 +537,33 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
399
537
|
value: boolean | null;
|
|
400
538
|
|
|
401
539
|
/**
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
540
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
541
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
542
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
543
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
544
|
+
* UNSUPPORTED does not determine edit permission.
|
|
406
545
|
*/
|
|
407
546
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
408
547
|
|
|
409
548
|
/**
|
|
410
|
-
* Whether
|
|
411
|
-
* access
|
|
549
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
550
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
551
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
412
552
|
*/
|
|
413
553
|
viewable: boolean;
|
|
414
554
|
|
|
415
555
|
/**
|
|
416
|
-
*
|
|
417
|
-
*
|
|
418
|
-
*
|
|
556
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
557
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
558
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
559
|
+
* Null for other fields and unsupported reference targets.
|
|
419
560
|
*/
|
|
420
561
|
reference_object?: string | null;
|
|
421
562
|
}
|
|
422
563
|
|
|
423
564
|
/**
|
|
424
|
-
* A discoverable
|
|
565
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
566
|
+
* flow.
|
|
425
567
|
*/
|
|
426
568
|
export interface DetailDateField {
|
|
427
569
|
/**
|
|
@@ -437,9 +579,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
437
579
|
data_type: 'DATE';
|
|
438
580
|
|
|
439
581
|
/**
|
|
440
|
-
* Whether you can attempt to
|
|
441
|
-
*
|
|
442
|
-
* are validated when written.
|
|
582
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
583
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
584
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
443
585
|
*/
|
|
444
586
|
editable: boolean;
|
|
445
587
|
|
|
@@ -464,7 +606,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
464
606
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
465
607
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
466
608
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
467
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
609
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
610
|
+
* by this requested flow).
|
|
468
611
|
*/
|
|
469
612
|
read_only_reason:
|
|
470
613
|
| 'PERMISSION_DENIED'
|
|
@@ -474,6 +617,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
474
617
|
| 'DERIVED'
|
|
475
618
|
| 'MASKED'
|
|
476
619
|
| 'REFERENCE_UNAVAILABLE'
|
|
620
|
+
| 'UNSUPPORTED'
|
|
477
621
|
| null;
|
|
478
622
|
|
|
479
623
|
/**
|
|
@@ -488,29 +632,33 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
488
632
|
value: string | null;
|
|
489
633
|
|
|
490
634
|
/**
|
|
491
|
-
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
635
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
636
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
637
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
638
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
639
|
+
* UNSUPPORTED does not determine edit permission.
|
|
495
640
|
*/
|
|
496
641
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
497
642
|
|
|
498
643
|
/**
|
|
499
|
-
* Whether
|
|
500
|
-
* access
|
|
644
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
645
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
646
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
501
647
|
*/
|
|
502
648
|
viewable: boolean;
|
|
503
649
|
|
|
504
650
|
/**
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
*
|
|
651
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
652
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
653
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
654
|
+
* Null for other fields and unsupported reference targets.
|
|
508
655
|
*/
|
|
509
656
|
reference_object?: string | null;
|
|
510
657
|
}
|
|
511
658
|
|
|
512
659
|
/**
|
|
513
|
-
* A discoverable
|
|
660
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
661
|
+
* flow.
|
|
514
662
|
*/
|
|
515
663
|
export interface DetailDateTimeField {
|
|
516
664
|
/**
|
|
@@ -526,9 +674,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
526
674
|
data_type: 'DATETIME';
|
|
527
675
|
|
|
528
676
|
/**
|
|
529
|
-
* Whether you can attempt to
|
|
530
|
-
*
|
|
531
|
-
* are validated when written.
|
|
677
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
678
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
679
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
532
680
|
*/
|
|
533
681
|
editable: boolean;
|
|
534
682
|
|
|
@@ -553,7 +701,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
553
701
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
554
702
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
555
703
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
556
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
704
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
705
|
+
* by this requested flow).
|
|
557
706
|
*/
|
|
558
707
|
read_only_reason:
|
|
559
708
|
| 'PERMISSION_DENIED'
|
|
@@ -563,6 +712,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
563
712
|
| 'DERIVED'
|
|
564
713
|
| 'MASKED'
|
|
565
714
|
| 'REFERENCE_UNAVAILABLE'
|
|
715
|
+
| 'UNSUPPORTED'
|
|
566
716
|
| null;
|
|
567
717
|
|
|
568
718
|
/**
|
|
@@ -578,29 +728,33 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
578
728
|
value: string | null;
|
|
579
729
|
|
|
580
730
|
/**
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
*
|
|
731
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
732
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
733
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
734
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
735
|
+
* UNSUPPORTED does not determine edit permission.
|
|
585
736
|
*/
|
|
586
737
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
587
738
|
|
|
588
739
|
/**
|
|
589
|
-
* Whether
|
|
590
|
-
* access
|
|
740
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
741
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
742
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
591
743
|
*/
|
|
592
744
|
viewable: boolean;
|
|
593
745
|
|
|
594
746
|
/**
|
|
595
|
-
*
|
|
596
|
-
*
|
|
597
|
-
*
|
|
747
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
748
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
749
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
750
|
+
* Null for other fields and unsupported reference targets.
|
|
598
751
|
*/
|
|
599
752
|
reference_object?: string | null;
|
|
600
753
|
}
|
|
601
754
|
|
|
602
755
|
/**
|
|
603
|
-
* A discoverable
|
|
756
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
757
|
+
* flow.
|
|
604
758
|
*/
|
|
605
759
|
export interface DetailCurrencyField {
|
|
606
760
|
/**
|
|
@@ -616,9 +770,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
616
770
|
data_type: 'CURRENCY';
|
|
617
771
|
|
|
618
772
|
/**
|
|
619
|
-
* Whether you can attempt to
|
|
620
|
-
*
|
|
621
|
-
* are validated when written.
|
|
773
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
774
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
775
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
622
776
|
*/
|
|
623
777
|
editable: boolean;
|
|
624
778
|
|
|
@@ -643,7 +797,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
643
797
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
644
798
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
645
799
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
646
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
800
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
801
|
+
* by this requested flow).
|
|
647
802
|
*/
|
|
648
803
|
read_only_reason:
|
|
649
804
|
| 'PERMISSION_DENIED'
|
|
@@ -653,6 +808,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
653
808
|
| 'DERIVED'
|
|
654
809
|
| 'MASKED'
|
|
655
810
|
| 'REFERENCE_UNAVAILABLE'
|
|
811
|
+
| 'UNSUPPORTED'
|
|
656
812
|
| null;
|
|
657
813
|
|
|
658
814
|
/**
|
|
@@ -668,23 +824,36 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
668
824
|
value: DetailCurrencyField.RecordDetailCurrency | null;
|
|
669
825
|
|
|
670
826
|
/**
|
|
671
|
-
*
|
|
672
|
-
*
|
|
673
|
-
*
|
|
674
|
-
*
|
|
827
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
828
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
829
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
830
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
831
|
+
* UNSUPPORTED does not determine edit permission.
|
|
675
832
|
*/
|
|
676
833
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
677
834
|
|
|
678
835
|
/**
|
|
679
|
-
* Whether
|
|
680
|
-
* access
|
|
836
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
837
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
838
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
681
839
|
*/
|
|
682
840
|
viewable: boolean;
|
|
683
841
|
|
|
684
842
|
/**
|
|
685
|
-
*
|
|
686
|
-
|
|
687
|
-
|
|
843
|
+
* Configured ISO 4217 currency code, or null when dynamic.
|
|
844
|
+
*/
|
|
845
|
+
currency?: string | null;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Configured decimal places, or null.
|
|
849
|
+
*/
|
|
850
|
+
num_of_decimal_places?: number | null;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
854
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
855
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
856
|
+
* Null for other fields and unsupported reference targets.
|
|
688
857
|
*/
|
|
689
858
|
reference_object?: string | null;
|
|
690
859
|
}
|
|
@@ -707,7 +876,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
707
876
|
}
|
|
708
877
|
|
|
709
878
|
/**
|
|
710
|
-
* A discoverable
|
|
879
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
880
|
+
* flow.
|
|
711
881
|
*/
|
|
712
882
|
export interface DetailChoiceField {
|
|
713
883
|
/**
|
|
@@ -723,9 +893,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
723
893
|
data_type: 'RADIO';
|
|
724
894
|
|
|
725
895
|
/**
|
|
726
|
-
* Whether you can attempt to
|
|
727
|
-
*
|
|
728
|
-
* are validated when written.
|
|
896
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
897
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
898
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
729
899
|
*/
|
|
730
900
|
editable: boolean;
|
|
731
901
|
|
|
@@ -750,7 +920,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
750
920
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
751
921
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
752
922
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
753
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
923
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
924
|
+
* by this requested flow).
|
|
754
925
|
*/
|
|
755
926
|
read_only_reason:
|
|
756
927
|
| 'PERMISSION_DENIED'
|
|
@@ -760,6 +931,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
760
931
|
| 'DERIVED'
|
|
761
932
|
| 'MASKED'
|
|
762
933
|
| 'REFERENCE_UNAVAILABLE'
|
|
934
|
+
| 'UNSUPPORTED'
|
|
763
935
|
| null;
|
|
764
936
|
|
|
765
937
|
/**
|
|
@@ -774,29 +946,33 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
774
946
|
value: string | null;
|
|
775
947
|
|
|
776
948
|
/**
|
|
777
|
-
*
|
|
778
|
-
*
|
|
779
|
-
*
|
|
780
|
-
*
|
|
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.
|
|
781
954
|
*/
|
|
782
955
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
783
956
|
|
|
784
957
|
/**
|
|
785
|
-
* Whether
|
|
786
|
-
* access
|
|
958
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
959
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
960
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
787
961
|
*/
|
|
788
962
|
viewable: boolean;
|
|
789
963
|
|
|
790
964
|
/**
|
|
791
|
-
*
|
|
792
|
-
*
|
|
793
|
-
*
|
|
965
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
966
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
967
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
968
|
+
* Null for other fields and unsupported reference targets.
|
|
794
969
|
*/
|
|
795
970
|
reference_object?: string | null;
|
|
796
971
|
}
|
|
797
972
|
|
|
798
973
|
/**
|
|
799
|
-
* A discoverable
|
|
974
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
975
|
+
* flow.
|
|
800
976
|
*/
|
|
801
977
|
export interface DetailMultiChoiceField {
|
|
802
978
|
/**
|
|
@@ -812,9 +988,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
812
988
|
data_type: 'SELECT';
|
|
813
989
|
|
|
814
990
|
/**
|
|
815
|
-
* Whether you can attempt to
|
|
816
|
-
*
|
|
817
|
-
* are validated when written.
|
|
991
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
992
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
993
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
818
994
|
*/
|
|
819
995
|
editable: boolean;
|
|
820
996
|
|
|
@@ -839,7 +1015,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
839
1015
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
840
1016
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
841
1017
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
842
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
1018
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1019
|
+
* by this requested flow).
|
|
843
1020
|
*/
|
|
844
1021
|
read_only_reason:
|
|
845
1022
|
| 'PERMISSION_DENIED'
|
|
@@ -849,6 +1026,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
849
1026
|
| 'DERIVED'
|
|
850
1027
|
| 'MASKED'
|
|
851
1028
|
| 'REFERENCE_UNAVAILABLE'
|
|
1029
|
+
| 'UNSUPPORTED'
|
|
852
1030
|
| null;
|
|
853
1031
|
|
|
854
1032
|
/**
|
|
@@ -863,29 +1041,33 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
863
1041
|
value: Array<string> | null;
|
|
864
1042
|
|
|
865
1043
|
/**
|
|
866
|
-
*
|
|
867
|
-
*
|
|
868
|
-
*
|
|
869
|
-
*
|
|
1044
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1045
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1046
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1047
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1048
|
+
* UNSUPPORTED does not determine edit permission.
|
|
870
1049
|
*/
|
|
871
1050
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
872
1051
|
|
|
873
1052
|
/**
|
|
874
|
-
* Whether
|
|
875
|
-
* access
|
|
1053
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1054
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1055
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
876
1056
|
*/
|
|
877
1057
|
viewable: boolean;
|
|
878
1058
|
|
|
879
1059
|
/**
|
|
880
|
-
*
|
|
881
|
-
*
|
|
882
|
-
*
|
|
1060
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
1061
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
1062
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
1063
|
+
* Null for other fields and unsupported reference targets.
|
|
883
1064
|
*/
|
|
884
1065
|
reference_object?: string | null;
|
|
885
1066
|
}
|
|
886
1067
|
|
|
887
1068
|
/**
|
|
888
|
-
* A discoverable
|
|
1069
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1070
|
+
* flow.
|
|
889
1071
|
*/
|
|
890
1072
|
export interface DetailReferenceField {
|
|
891
1073
|
/**
|
|
@@ -902,9 +1084,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
902
1084
|
data_type: 'OG_REFERENCE_FIELD';
|
|
903
1085
|
|
|
904
1086
|
/**
|
|
905
|
-
* Whether you can attempt to
|
|
906
|
-
*
|
|
907
|
-
* are validated when written.
|
|
1087
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1088
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1089
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
908
1090
|
*/
|
|
909
1091
|
editable: boolean;
|
|
910
1092
|
|
|
@@ -929,7 +1111,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
929
1111
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
930
1112
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
931
1113
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
932
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
1114
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1115
|
+
* by this requested flow).
|
|
933
1116
|
*/
|
|
934
1117
|
read_only_reason:
|
|
935
1118
|
| 'PERMISSION_DENIED'
|
|
@@ -939,6 +1122,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
939
1122
|
| 'DERIVED'
|
|
940
1123
|
| 'MASKED'
|
|
941
1124
|
| 'REFERENCE_UNAVAILABLE'
|
|
1125
|
+
| 'UNSUPPORTED'
|
|
942
1126
|
| null;
|
|
943
1127
|
|
|
944
1128
|
/**
|
|
@@ -948,22 +1132,26 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
948
1132
|
|
|
949
1133
|
/**
|
|
950
1134
|
* Selected record identifier in the reference_object target; null when empty or
|
|
951
|
-
* masked.
|
|
952
|
-
*
|
|
1135
|
+
* masked. Retrieve Employee records through GET /workers/{id}/, Department records
|
|
1136
|
+
* through GET /departments/{id}/, and Custom Object records through GET
|
|
1137
|
+
* /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
|
|
1138
|
+
* not have a public record endpoint; use display for their presentation.
|
|
953
1139
|
*/
|
|
954
1140
|
value: string | null;
|
|
955
1141
|
|
|
956
1142
|
/**
|
|
957
|
-
*
|
|
958
|
-
*
|
|
959
|
-
*
|
|
960
|
-
*
|
|
1143
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1144
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1145
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1146
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1147
|
+
* UNSUPPORTED does not determine edit permission.
|
|
961
1148
|
*/
|
|
962
1149
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
963
1150
|
|
|
964
1151
|
/**
|
|
965
|
-
* Whether
|
|
966
|
-
* access
|
|
1152
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1153
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1154
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
967
1155
|
*/
|
|
968
1156
|
viewable: boolean;
|
|
969
1157
|
|
|
@@ -974,9 +1162,10 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
974
1162
|
display?: DetailReferenceField.ReferenceDisplay | null;
|
|
975
1163
|
|
|
976
1164
|
/**
|
|
977
|
-
*
|
|
978
|
-
*
|
|
979
|
-
*
|
|
1165
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
1166
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
1167
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
1168
|
+
* Null for other fields and unsupported reference targets.
|
|
980
1169
|
*/
|
|
981
1170
|
reference_object?: string | null;
|
|
982
1171
|
}
|
|
@@ -1004,7 +1193,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1004
1193
|
}
|
|
1005
1194
|
|
|
1006
1195
|
/**
|
|
1007
|
-
* A discoverable
|
|
1196
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1197
|
+
* flow.
|
|
1008
1198
|
*/
|
|
1009
1199
|
export interface DetailNativeReferenceField {
|
|
1010
1200
|
/**
|
|
@@ -1021,9 +1211,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1021
1211
|
data_type: 'NATIVE_EDGE';
|
|
1022
1212
|
|
|
1023
1213
|
/**
|
|
1024
|
-
* Whether you can attempt to
|
|
1025
|
-
*
|
|
1026
|
-
* are validated when written.
|
|
1214
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1215
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1216
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1027
1217
|
*/
|
|
1028
1218
|
editable: boolean;
|
|
1029
1219
|
|
|
@@ -1048,7 +1238,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1048
1238
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1049
1239
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1050
1240
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1051
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
1241
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1242
|
+
* by this requested flow).
|
|
1052
1243
|
*/
|
|
1053
1244
|
read_only_reason:
|
|
1054
1245
|
| 'PERMISSION_DENIED'
|
|
@@ -1058,6 +1249,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1058
1249
|
| 'DERIVED'
|
|
1059
1250
|
| 'MASKED'
|
|
1060
1251
|
| 'REFERENCE_UNAVAILABLE'
|
|
1252
|
+
| 'UNSUPPORTED'
|
|
1061
1253
|
| null;
|
|
1062
1254
|
|
|
1063
1255
|
/**
|
|
@@ -1067,22 +1259,26 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1067
1259
|
|
|
1068
1260
|
/**
|
|
1069
1261
|
* Selected record identifier in the reference_object target; null when empty or
|
|
1070
|
-
* masked.
|
|
1071
|
-
*
|
|
1262
|
+
* masked. Retrieve Employee records through GET /workers/{id}/, Department records
|
|
1263
|
+
* through GET /departments/{id}/, and Custom Object records through GET
|
|
1264
|
+
* /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
|
|
1265
|
+
* not have a public record endpoint; use display for their presentation.
|
|
1072
1266
|
*/
|
|
1073
1267
|
value: string | null;
|
|
1074
1268
|
|
|
1075
1269
|
/**
|
|
1076
|
-
*
|
|
1077
|
-
*
|
|
1078
|
-
*
|
|
1079
|
-
*
|
|
1270
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1271
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1272
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1273
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1274
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1080
1275
|
*/
|
|
1081
1276
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1082
1277
|
|
|
1083
1278
|
/**
|
|
1084
|
-
* Whether
|
|
1085
|
-
* access
|
|
1279
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1280
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1281
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1086
1282
|
*/
|
|
1087
1283
|
viewable: boolean;
|
|
1088
1284
|
|
|
@@ -1093,9 +1289,10 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1093
1289
|
display?: DetailNativeReferenceField.ReferenceDisplay | null;
|
|
1094
1290
|
|
|
1095
1291
|
/**
|
|
1096
|
-
*
|
|
1097
|
-
*
|
|
1098
|
-
*
|
|
1292
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
1293
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
1294
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
1295
|
+
* Null for other fields and unsupported reference targets.
|
|
1099
1296
|
*/
|
|
1100
1297
|
reference_object?: string | null;
|
|
1101
1298
|
}
|
|
@@ -1123,7 +1320,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1123
1320
|
}
|
|
1124
1321
|
|
|
1125
1322
|
/**
|
|
1126
|
-
* A discoverable
|
|
1323
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1324
|
+
* flow.
|
|
1127
1325
|
*/
|
|
1128
1326
|
export interface DetailPercentageField {
|
|
1129
1327
|
/**
|
|
@@ -1139,9 +1337,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1139
1337
|
data_type: 'PERCENTAGE';
|
|
1140
1338
|
|
|
1141
1339
|
/**
|
|
1142
|
-
* Whether you can attempt to
|
|
1143
|
-
*
|
|
1144
|
-
* are validated when written.
|
|
1340
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1341
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1342
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1145
1343
|
*/
|
|
1146
1344
|
editable: boolean;
|
|
1147
1345
|
|
|
@@ -1166,7 +1364,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1166
1364
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1167
1365
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1168
1366
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1169
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
1367
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1368
|
+
* by this requested flow).
|
|
1170
1369
|
*/
|
|
1171
1370
|
read_only_reason:
|
|
1172
1371
|
| 'PERMISSION_DENIED'
|
|
@@ -1176,6 +1375,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1176
1375
|
| 'DERIVED'
|
|
1177
1376
|
| 'MASKED'
|
|
1178
1377
|
| 'REFERENCE_UNAVAILABLE'
|
|
1378
|
+
| 'UNSUPPORTED'
|
|
1179
1379
|
| null;
|
|
1180
1380
|
|
|
1181
1381
|
/**
|
|
@@ -1190,29 +1390,38 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1190
1390
|
value: number | null;
|
|
1191
1391
|
|
|
1192
1392
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1196
|
-
*
|
|
1393
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1394
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1395
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1396
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1397
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1197
1398
|
*/
|
|
1198
1399
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1199
1400
|
|
|
1200
1401
|
/**
|
|
1201
|
-
* Whether
|
|
1202
|
-
* access
|
|
1402
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1403
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1404
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1203
1405
|
*/
|
|
1204
1406
|
viewable: boolean;
|
|
1205
1407
|
|
|
1206
1408
|
/**
|
|
1207
|
-
*
|
|
1208
|
-
|
|
1209
|
-
|
|
1409
|
+
* Configured decimal places, or null.
|
|
1410
|
+
*/
|
|
1411
|
+
num_of_decimal_places?: number | null;
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
1415
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
1416
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
1417
|
+
* Null for other fields and unsupported reference targets.
|
|
1210
1418
|
*/
|
|
1211
1419
|
reference_object?: string | null;
|
|
1212
1420
|
}
|
|
1213
1421
|
|
|
1214
1422
|
/**
|
|
1215
|
-
* A discoverable
|
|
1423
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1424
|
+
* flow.
|
|
1216
1425
|
*/
|
|
1217
1426
|
export interface DetailTimeField {
|
|
1218
1427
|
/**
|
|
@@ -1228,9 +1437,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1228
1437
|
data_type: 'TIME';
|
|
1229
1438
|
|
|
1230
1439
|
/**
|
|
1231
|
-
* Whether you can attempt to
|
|
1232
|
-
*
|
|
1233
|
-
* are validated when written.
|
|
1440
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1441
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1442
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1234
1443
|
*/
|
|
1235
1444
|
editable: boolean;
|
|
1236
1445
|
|
|
@@ -1255,7 +1464,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1255
1464
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1256
1465
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1257
1466
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1258
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
1467
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1468
|
+
* by this requested flow).
|
|
1259
1469
|
*/
|
|
1260
1470
|
read_only_reason:
|
|
1261
1471
|
| 'PERMISSION_DENIED'
|
|
@@ -1265,6 +1475,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1265
1475
|
| 'DERIVED'
|
|
1266
1476
|
| 'MASKED'
|
|
1267
1477
|
| 'REFERENCE_UNAVAILABLE'
|
|
1478
|
+
| 'UNSUPPORTED'
|
|
1268
1479
|
| null;
|
|
1269
1480
|
|
|
1270
1481
|
/**
|
|
@@ -1278,29 +1489,33 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1278
1489
|
value: string | null;
|
|
1279
1490
|
|
|
1280
1491
|
/**
|
|
1281
|
-
*
|
|
1282
|
-
*
|
|
1283
|
-
*
|
|
1284
|
-
*
|
|
1492
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1493
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1494
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1495
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1496
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1285
1497
|
*/
|
|
1286
1498
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1287
1499
|
|
|
1288
1500
|
/**
|
|
1289
|
-
* Whether
|
|
1290
|
-
* access
|
|
1501
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1502
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1503
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1291
1504
|
*/
|
|
1292
1505
|
viewable: boolean;
|
|
1293
1506
|
|
|
1294
1507
|
/**
|
|
1295
|
-
*
|
|
1296
|
-
*
|
|
1297
|
-
*
|
|
1508
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
1509
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
1510
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
1511
|
+
* Null for other fields and unsupported reference targets.
|
|
1298
1512
|
*/
|
|
1299
1513
|
reference_object?: string | null;
|
|
1300
1514
|
}
|
|
1301
1515
|
|
|
1302
1516
|
/**
|
|
1303
|
-
* A discoverable
|
|
1517
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1518
|
+
* flow.
|
|
1304
1519
|
*/
|
|
1305
1520
|
export interface DetailUnsupportedField {
|
|
1306
1521
|
/**
|
|
@@ -1317,9 +1532,9 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1317
1532
|
data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
|
|
1318
1533
|
|
|
1319
1534
|
/**
|
|
1320
|
-
* Whether you can attempt to
|
|
1321
|
-
*
|
|
1322
|
-
* are validated when written.
|
|
1535
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1536
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1537
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1323
1538
|
*/
|
|
1324
1539
|
editable: boolean;
|
|
1325
1540
|
|
|
@@ -1344,7 +1559,8 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1344
1559
|
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1345
1560
|
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1346
1561
|
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1347
|
-
* REFERENCE_UNAVAILABLE (unavailable reference target)
|
|
1562
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1563
|
+
* by this requested flow).
|
|
1348
1564
|
*/
|
|
1349
1565
|
read_only_reason:
|
|
1350
1566
|
| 'PERMISSION_DENIED'
|
|
@@ -1354,6 +1570,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1354
1570
|
| 'DERIVED'
|
|
1355
1571
|
| 'MASKED'
|
|
1356
1572
|
| 'REFERENCE_UNAVAILABLE'
|
|
1573
|
+
| 'UNSUPPORTED'
|
|
1357
1574
|
| null;
|
|
1358
1575
|
|
|
1359
1576
|
/**
|
|
@@ -1368,23 +1585,26 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1368
1585
|
value: null;
|
|
1369
1586
|
|
|
1370
1587
|
/**
|
|
1371
|
-
*
|
|
1372
|
-
*
|
|
1373
|
-
*
|
|
1374
|
-
*
|
|
1588
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1589
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1590
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1591
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1592
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1375
1593
|
*/
|
|
1376
1594
|
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1377
1595
|
|
|
1378
1596
|
/**
|
|
1379
|
-
* Whether
|
|
1380
|
-
* access
|
|
1597
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1598
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1599
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1381
1600
|
*/
|
|
1382
1601
|
viewable: boolean;
|
|
1383
1602
|
|
|
1384
1603
|
/**
|
|
1385
|
-
*
|
|
1386
|
-
*
|
|
1387
|
-
*
|
|
1604
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
1605
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
1606
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
1607
|
+
* Null for other fields and unsupported reference targets.
|
|
1388
1608
|
*/
|
|
1389
1609
|
reference_object?: string | null;
|
|
1390
1610
|
}
|
|
@@ -1403,12 +1623,6 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1403
1623
|
*/
|
|
1404
1624
|
header: Layout.Header;
|
|
1405
1625
|
|
|
1406
|
-
/**
|
|
1407
|
-
* Opaque revision of the effective, permission-filtered layout. Compare to detect
|
|
1408
|
-
* layout changes; this is not the record write version.
|
|
1409
|
-
*/
|
|
1410
|
-
revision: string;
|
|
1411
|
-
|
|
1412
1626
|
/**
|
|
1413
1627
|
* Ordered, visible tabs.
|
|
1414
1628
|
*/
|
|
@@ -1463,8 +1677,7 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1463
1677
|
*/
|
|
1464
1678
|
export interface Section {
|
|
1465
1679
|
/**
|
|
1466
|
-
* Section identifier scoped to the effective layout.
|
|
1467
|
-
* records_link to retrieve its records.
|
|
1680
|
+
* Section identifier scoped to the effective layout.
|
|
1468
1681
|
*/
|
|
1469
1682
|
id: string;
|
|
1470
1683
|
|
|
@@ -1485,12 +1698,18 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1485
1698
|
label: string;
|
|
1486
1699
|
|
|
1487
1700
|
/**
|
|
1488
|
-
* FIELDS contains ordered field placements; RELATED_LIST describes
|
|
1489
|
-
*
|
|
1490
|
-
* render.
|
|
1701
|
+
* FIELDS contains ordered field placements; RELATED_LIST describes a deferred
|
|
1702
|
+
* related-record grid without embedding its rows; UNSUPPORTED identifies visible
|
|
1703
|
+
* content this API cannot render.
|
|
1491
1704
|
*/
|
|
1492
1705
|
type: 'FIELDS' | 'RELATED_LIST' | 'UNSUPPORTED';
|
|
1493
1706
|
|
|
1707
|
+
/**
|
|
1708
|
+
* Ordered readable columns configured for a RELATED_LIST; empty for other
|
|
1709
|
+
* sections.
|
|
1710
|
+
*/
|
|
1711
|
+
column_field_api_names?: Array<string>;
|
|
1712
|
+
|
|
1494
1713
|
/**
|
|
1495
1714
|
* Related Custom Object API name; null for other sections.
|
|
1496
1715
|
*/
|
|
@@ -1505,10 +1724,10 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1505
1724
|
reason?: 'CONTENT_NOT_SUPPORTED' | 'RELATED_OBJECT_NOT_SUPPORTED' | null;
|
|
1506
1725
|
|
|
1507
1726
|
/**
|
|
1508
|
-
*
|
|
1509
|
-
*
|
|
1727
|
+
* Field on the related Custom Object that points to this record; null for other
|
|
1728
|
+
* sections.
|
|
1510
1729
|
*/
|
|
1511
|
-
|
|
1730
|
+
relationship_field_api_name?: string | null;
|
|
1512
1731
|
}
|
|
1513
1732
|
|
|
1514
1733
|
export namespace Section {
|
|
@@ -1531,7 +1750,1608 @@ export namespace RecordDetailRetrieveResponse {
|
|
|
1531
1750
|
}
|
|
1532
1751
|
}
|
|
1533
1752
|
|
|
1534
|
-
|
|
1753
|
+
/**
|
|
1754
|
+
* Permissioned create form context; no record has been persisted.
|
|
1755
|
+
*/
|
|
1756
|
+
export interface RecordDetailRetrieveCreateResponse {
|
|
1757
|
+
/**
|
|
1758
|
+
* Empty: no record exists in create context.
|
|
1759
|
+
*/
|
|
1760
|
+
actions: Array<RecordDetailRetrieveCreateResponse.Action>;
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* Caller-safe reasons the form cannot be submitted. Hidden or unavailable field
|
|
1764
|
+
* names are not disclosed.
|
|
1765
|
+
*/
|
|
1766
|
+
blockers: Array<RecordDetailRetrieveCreateResponse.Blocker>;
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* Supported create inputs. Each value is the authorized configured default or
|
|
1770
|
+
* owner fallback for this create flow, or an EMPTY value when no eligible default
|
|
1771
|
+
* exists. Reference identifiers and display are presentation values; convert them
|
|
1772
|
+
* to the canonical record POST input shape when writing.
|
|
1773
|
+
*/
|
|
1774
|
+
fields: {
|
|
1775
|
+
[key: string]:
|
|
1776
|
+
| RecordDetailRetrieveCreateResponse.DetailTextField
|
|
1777
|
+
| RecordDetailRetrieveCreateResponse.DetailNumberField
|
|
1778
|
+
| RecordDetailRetrieveCreateResponse.DetailBooleanField
|
|
1779
|
+
| RecordDetailRetrieveCreateResponse.DetailDateField
|
|
1780
|
+
| RecordDetailRetrieveCreateResponse.DetailDateTimeField
|
|
1781
|
+
| RecordDetailRetrieveCreateResponse.DetailCurrencyField
|
|
1782
|
+
| RecordDetailRetrieveCreateResponse.DetailChoiceField
|
|
1783
|
+
| RecordDetailRetrieveCreateResponse.DetailMultiChoiceField
|
|
1784
|
+
| RecordDetailRetrieveCreateResponse.DetailReferenceField
|
|
1785
|
+
| RecordDetailRetrieveCreateResponse.DetailNativeReferenceField
|
|
1786
|
+
| RecordDetailRetrieveCreateResponse.DetailPercentageField
|
|
1787
|
+
| RecordDetailRetrieveCreateResponse.DetailTimeField
|
|
1788
|
+
| RecordDetailRetrieveCreateResponse.DetailUnsupportedField;
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* Effective create layout after visibility and permission filtering.
|
|
1793
|
+
*/
|
|
1794
|
+
layout: RecordDetailRetrieveCreateResponse.Layout;
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* Custom Object API name for this create context.
|
|
1798
|
+
*/
|
|
1799
|
+
object_api_name: string;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
export namespace RecordDetailRetrieveCreateResponse {
|
|
1803
|
+
/**
|
|
1804
|
+
* A configured action the caller can attempt through the existing Function
|
|
1805
|
+
* execution API.
|
|
1806
|
+
*/
|
|
1807
|
+
export interface Action {
|
|
1808
|
+
/**
|
|
1809
|
+
* Stable native ObjectAction identifier.
|
|
1810
|
+
*/
|
|
1811
|
+
id: string;
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* Action API name; null for legacy actions.
|
|
1815
|
+
*/
|
|
1816
|
+
api_name: string | null;
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* Associated Function API name for the unchanged Function execution endpoints.
|
|
1820
|
+
* Discovery does not grant execution or execution-read permission.
|
|
1821
|
+
*/
|
|
1822
|
+
function_api_name: string;
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* Action display label.
|
|
1826
|
+
*/
|
|
1827
|
+
name: string;
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* Configured action placements: LIST_VIEW appears in an object grid; DETAIL_VIEW
|
|
1831
|
+
* appears on a record page.
|
|
1832
|
+
*/
|
|
1833
|
+
visibility_preferences: Array<'LIST_VIEW' | 'DETAIL_VIEW'>;
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
export interface Blocker {
|
|
1837
|
+
/**
|
|
1838
|
+
* REQUIRED_INPUT_UNAVAILABLE means a required input cannot be supplied through the
|
|
1839
|
+
* form; NO_SUPPORTED_INPUTS means the form has no supported inputs.
|
|
1840
|
+
*/
|
|
1841
|
+
code: 'REQUIRED_INPUT_UNAVAILABLE' | 'NO_SUPPORTED_INPUTS';
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* Caller-safe explanation of the blocker.
|
|
1845
|
+
*/
|
|
1846
|
+
message: string;
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* Field API name when safe to disclose; null when omitted to avoid exposing an
|
|
1850
|
+
* unavailable or hidden field.
|
|
1851
|
+
*/
|
|
1852
|
+
field_api_name?: string | null;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1857
|
+
* flow.
|
|
1858
|
+
*/
|
|
1859
|
+
export interface DetailTextField {
|
|
1860
|
+
/**
|
|
1861
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1862
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1863
|
+
* read-only.
|
|
1864
|
+
*/
|
|
1865
|
+
api_name: string;
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* TEXT and LONG_TEXT contain text; EMAIL, URL, and PHONE_NUMBER contain their
|
|
1869
|
+
* respective textual values.
|
|
1870
|
+
*/
|
|
1871
|
+
data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1875
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1876
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1877
|
+
*/
|
|
1878
|
+
editable: boolean;
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* Field display name.
|
|
1882
|
+
*/
|
|
1883
|
+
label: string;
|
|
1884
|
+
|
|
1885
|
+
/**
|
|
1886
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1887
|
+
* and scalar references.
|
|
1888
|
+
*/
|
|
1889
|
+
multiple: boolean;
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* Configured choice values; empty for non-choice fields.
|
|
1893
|
+
*/
|
|
1894
|
+
options: Array<string>;
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1898
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1899
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1900
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1901
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1902
|
+
* by this requested flow).
|
|
1903
|
+
*/
|
|
1904
|
+
read_only_reason:
|
|
1905
|
+
| 'PERMISSION_DENIED'
|
|
1906
|
+
| 'RECORD_LOCKED'
|
|
1907
|
+
| 'IMMUTABLE'
|
|
1908
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
1909
|
+
| 'DERIVED'
|
|
1910
|
+
| 'MASKED'
|
|
1911
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
1912
|
+
| 'UNSUPPORTED'
|
|
1913
|
+
| null;
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* Whether a nonempty value is required by the field schema.
|
|
1917
|
+
*/
|
|
1918
|
+
required: boolean;
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* Readable text, including an empty string with value_state EMPTY; null when unset
|
|
1922
|
+
* or masked.
|
|
1923
|
+
*/
|
|
1924
|
+
value: string | null;
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1928
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1929
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1930
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1931
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1932
|
+
*/
|
|
1933
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1937
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1938
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1939
|
+
*/
|
|
1940
|
+
viewable: boolean;
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
* Maximum accepted characters, or null when unbounded.
|
|
1944
|
+
*/
|
|
1945
|
+
max_length?: number | null;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
1949
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
1950
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
1951
|
+
* Null for other fields and unsupported reference targets.
|
|
1952
|
+
*/
|
|
1953
|
+
reference_object?: string | null;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1958
|
+
* flow.
|
|
1959
|
+
*/
|
|
1960
|
+
export interface DetailNumberField {
|
|
1961
|
+
/**
|
|
1962
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1963
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1964
|
+
* read-only.
|
|
1965
|
+
*/
|
|
1966
|
+
api_name: string;
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* NUMBER contains a decimal quantity.
|
|
1970
|
+
*/
|
|
1971
|
+
data_type: 'NUMBER';
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1975
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1976
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1977
|
+
*/
|
|
1978
|
+
editable: boolean;
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* Field display name.
|
|
1982
|
+
*/
|
|
1983
|
+
label: string;
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1987
|
+
* and scalar references.
|
|
1988
|
+
*/
|
|
1989
|
+
multiple: boolean;
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* Configured choice values; empty for non-choice fields.
|
|
1993
|
+
*/
|
|
1994
|
+
options: Array<string>;
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1998
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1999
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2000
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2001
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2002
|
+
* by this requested flow).
|
|
2003
|
+
*/
|
|
2004
|
+
read_only_reason:
|
|
2005
|
+
| 'PERMISSION_DENIED'
|
|
2006
|
+
| 'RECORD_LOCKED'
|
|
2007
|
+
| 'IMMUTABLE'
|
|
2008
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2009
|
+
| 'DERIVED'
|
|
2010
|
+
| 'MASKED'
|
|
2011
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2012
|
+
| 'UNSUPPORTED'
|
|
2013
|
+
| null;
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* Whether a nonempty value is required by the field schema.
|
|
2017
|
+
*/
|
|
2018
|
+
required: boolean;
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* Decimal quantity encoded as a string to preserve precision, for example 12.50.
|
|
2022
|
+
* Units follow the configured field's meaning. Null unless value_state is PRESENT.
|
|
2023
|
+
*/
|
|
2024
|
+
value: string | null;
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2028
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2029
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2030
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2031
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2032
|
+
*/
|
|
2033
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2037
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2038
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2039
|
+
*/
|
|
2040
|
+
viewable: boolean;
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
* Configured decimal places, or null.
|
|
2044
|
+
*/
|
|
2045
|
+
num_of_decimal_places?: number | null;
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2049
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2050
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2051
|
+
* Null for other fields and unsupported reference targets.
|
|
2052
|
+
*/
|
|
2053
|
+
reference_object?: string | null;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
/**
|
|
2057
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2058
|
+
* flow.
|
|
2059
|
+
*/
|
|
2060
|
+
export interface DetailBooleanField {
|
|
2061
|
+
/**
|
|
2062
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2063
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2064
|
+
* read-only.
|
|
2065
|
+
*/
|
|
2066
|
+
api_name: string;
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* BOOLEAN contains true or false.
|
|
2070
|
+
*/
|
|
2071
|
+
data_type: 'BOOLEAN';
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2075
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2076
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2077
|
+
*/
|
|
2078
|
+
editable: boolean;
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Field display name.
|
|
2082
|
+
*/
|
|
2083
|
+
label: string;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2087
|
+
* and scalar references.
|
|
2088
|
+
*/
|
|
2089
|
+
multiple: boolean;
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* Configured choice values; empty for non-choice fields.
|
|
2093
|
+
*/
|
|
2094
|
+
options: Array<string>;
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2098
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2099
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2100
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2101
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2102
|
+
* by this requested flow).
|
|
2103
|
+
*/
|
|
2104
|
+
read_only_reason:
|
|
2105
|
+
| 'PERMISSION_DENIED'
|
|
2106
|
+
| 'RECORD_LOCKED'
|
|
2107
|
+
| 'IMMUTABLE'
|
|
2108
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2109
|
+
| 'DERIVED'
|
|
2110
|
+
| 'MASKED'
|
|
2111
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2112
|
+
| 'UNSUPPORTED'
|
|
2113
|
+
| null;
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* Whether a nonempty value is required by the field schema.
|
|
2117
|
+
*/
|
|
2118
|
+
required: boolean;
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* Whether the configured condition is true; null unless value_state is PRESENT.
|
|
2122
|
+
*/
|
|
2123
|
+
value: boolean | null;
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2127
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2128
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2129
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2130
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2131
|
+
*/
|
|
2132
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2136
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2137
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2138
|
+
*/
|
|
2139
|
+
viewable: boolean;
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2143
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2144
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2145
|
+
* Null for other fields and unsupported reference targets.
|
|
2146
|
+
*/
|
|
2147
|
+
reference_object?: string | null;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2152
|
+
* flow.
|
|
2153
|
+
*/
|
|
2154
|
+
export interface DetailDateField {
|
|
2155
|
+
/**
|
|
2156
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2157
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2158
|
+
* read-only.
|
|
2159
|
+
*/
|
|
2160
|
+
api_name: string;
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* DATE contains a calendar date without a time or timezone.
|
|
2164
|
+
*/
|
|
2165
|
+
data_type: 'DATE';
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2169
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2170
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2171
|
+
*/
|
|
2172
|
+
editable: boolean;
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* Field display name.
|
|
2176
|
+
*/
|
|
2177
|
+
label: string;
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2181
|
+
* and scalar references.
|
|
2182
|
+
*/
|
|
2183
|
+
multiple: boolean;
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* Configured choice values; empty for non-choice fields.
|
|
2187
|
+
*/
|
|
2188
|
+
options: Array<string>;
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2192
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2193
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2194
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2195
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2196
|
+
* by this requested flow).
|
|
2197
|
+
*/
|
|
2198
|
+
read_only_reason:
|
|
2199
|
+
| 'PERMISSION_DENIED'
|
|
2200
|
+
| 'RECORD_LOCKED'
|
|
2201
|
+
| 'IMMUTABLE'
|
|
2202
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2203
|
+
| 'DERIVED'
|
|
2204
|
+
| 'MASKED'
|
|
2205
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2206
|
+
| 'UNSUPPORTED'
|
|
2207
|
+
| null;
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
* Whether a nonempty value is required by the field schema.
|
|
2211
|
+
*/
|
|
2212
|
+
required: boolean;
|
|
2213
|
+
|
|
2214
|
+
/**
|
|
2215
|
+
* Calendar date in YYYY-MM-DD format, for example 2026-10-24; null unless
|
|
2216
|
+
* value_state is PRESENT.
|
|
2217
|
+
*/
|
|
2218
|
+
value: string | null;
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2222
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2223
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2224
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2225
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2226
|
+
*/
|
|
2227
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2231
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2232
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2233
|
+
*/
|
|
2234
|
+
viewable: boolean;
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2238
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2239
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2240
|
+
* Null for other fields and unsupported reference targets.
|
|
2241
|
+
*/
|
|
2242
|
+
reference_object?: string | null;
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2247
|
+
* flow.
|
|
2248
|
+
*/
|
|
2249
|
+
export interface DetailDateTimeField {
|
|
2250
|
+
/**
|
|
2251
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2252
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2253
|
+
* read-only.
|
|
2254
|
+
*/
|
|
2255
|
+
api_name: string;
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
* DATETIME contains an instant with a timezone.
|
|
2259
|
+
*/
|
|
2260
|
+
data_type: 'DATETIME';
|
|
2261
|
+
|
|
2262
|
+
/**
|
|
2263
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2264
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2265
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2266
|
+
*/
|
|
2267
|
+
editable: boolean;
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* Field display name.
|
|
2271
|
+
*/
|
|
2272
|
+
label: string;
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2276
|
+
* and scalar references.
|
|
2277
|
+
*/
|
|
2278
|
+
multiple: boolean;
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* Configured choice values; empty for non-choice fields.
|
|
2282
|
+
*/
|
|
2283
|
+
options: Array<string>;
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2287
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2288
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2289
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2290
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2291
|
+
* by this requested flow).
|
|
2292
|
+
*/
|
|
2293
|
+
read_only_reason:
|
|
2294
|
+
| 'PERMISSION_DENIED'
|
|
2295
|
+
| 'RECORD_LOCKED'
|
|
2296
|
+
| 'IMMUTABLE'
|
|
2297
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2298
|
+
| 'DERIVED'
|
|
2299
|
+
| 'MASKED'
|
|
2300
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2301
|
+
| 'UNSUPPORTED'
|
|
2302
|
+
| null;
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Whether a nonempty value is required by the field schema.
|
|
2306
|
+
*/
|
|
2307
|
+
required: boolean;
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* ISO 8601 timestamp with timezone and up to millisecond precision, matching
|
|
2311
|
+
* native record JSON responses; null unless value_state is PRESENT. System audit
|
|
2312
|
+
* timestamps are immutable.
|
|
2313
|
+
*/
|
|
2314
|
+
value: string | null;
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2318
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2319
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2320
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2321
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2322
|
+
*/
|
|
2323
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2327
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2328
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2329
|
+
*/
|
|
2330
|
+
viewable: boolean;
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2334
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2335
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2336
|
+
* Null for other fields and unsupported reference targets.
|
|
2337
|
+
*/
|
|
2338
|
+
reference_object?: string | null;
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2343
|
+
* flow.
|
|
2344
|
+
*/
|
|
2345
|
+
export interface DetailCurrencyField {
|
|
2346
|
+
/**
|
|
2347
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2348
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2349
|
+
* read-only.
|
|
2350
|
+
*/
|
|
2351
|
+
api_name: string;
|
|
2352
|
+
|
|
2353
|
+
/**
|
|
2354
|
+
* CURRENCY contains a monetary amount and its currency.
|
|
2355
|
+
*/
|
|
2356
|
+
data_type: 'CURRENCY';
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2360
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2361
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2362
|
+
*/
|
|
2363
|
+
editable: boolean;
|
|
2364
|
+
|
|
2365
|
+
/**
|
|
2366
|
+
* Field display name.
|
|
2367
|
+
*/
|
|
2368
|
+
label: string;
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2372
|
+
* and scalar references.
|
|
2373
|
+
*/
|
|
2374
|
+
multiple: boolean;
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Configured choice values; empty for non-choice fields.
|
|
2378
|
+
*/
|
|
2379
|
+
options: Array<string>;
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2383
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2384
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2385
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2386
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2387
|
+
* by this requested flow).
|
|
2388
|
+
*/
|
|
2389
|
+
read_only_reason:
|
|
2390
|
+
| 'PERMISSION_DENIED'
|
|
2391
|
+
| 'RECORD_LOCKED'
|
|
2392
|
+
| 'IMMUTABLE'
|
|
2393
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2394
|
+
| 'DERIVED'
|
|
2395
|
+
| 'MASKED'
|
|
2396
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2397
|
+
| 'UNSUPPORTED'
|
|
2398
|
+
| null;
|
|
2399
|
+
|
|
2400
|
+
/**
|
|
2401
|
+
* Whether a nonempty value is required by the field schema.
|
|
2402
|
+
*/
|
|
2403
|
+
required: boolean;
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* Currency object with an ISO 4217 currency_type and decimal-string value, for
|
|
2407
|
+
* example {"currency_type": "USD", "value": "25.00"}. The amount is in currency
|
|
2408
|
+
* units, not cents. Null unless value_state is PRESENT.
|
|
2409
|
+
*/
|
|
2410
|
+
value: DetailCurrencyField.RecordDetailCurrency | null;
|
|
2411
|
+
|
|
2412
|
+
/**
|
|
2413
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2414
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2415
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2416
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2417
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2418
|
+
*/
|
|
2419
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2423
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2424
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2425
|
+
*/
|
|
2426
|
+
viewable: boolean;
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Configured ISO 4217 currency code, or null when dynamic.
|
|
2430
|
+
*/
|
|
2431
|
+
currency?: string | null;
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* Configured decimal places, or null.
|
|
2435
|
+
*/
|
|
2436
|
+
num_of_decimal_places?: number | null;
|
|
2437
|
+
|
|
2438
|
+
/**
|
|
2439
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2440
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2441
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2442
|
+
* Null for other fields and unsupported reference targets.
|
|
2443
|
+
*/
|
|
2444
|
+
reference_object?: string | null;
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
export namespace DetailCurrencyField {
|
|
2448
|
+
/**
|
|
2449
|
+
* Platform Currency serialized with a decimal string amount to preserve precision.
|
|
2450
|
+
*/
|
|
2451
|
+
export interface RecordDetailCurrency {
|
|
2452
|
+
/**
|
|
2453
|
+
* ISO 4217 currency code, for example USD or EUR.
|
|
2454
|
+
*/
|
|
2455
|
+
currency_type: string;
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* Decimal monetary amount in currency units, for example 25.00; not integer cents.
|
|
2459
|
+
*/
|
|
2460
|
+
value: string;
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2466
|
+
* flow.
|
|
2467
|
+
*/
|
|
2468
|
+
export interface DetailChoiceField {
|
|
2469
|
+
/**
|
|
2470
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2471
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2472
|
+
* read-only.
|
|
2473
|
+
*/
|
|
2474
|
+
api_name: string;
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* RADIO contains one configured choice.
|
|
2478
|
+
*/
|
|
2479
|
+
data_type: 'RADIO';
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2483
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2484
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2485
|
+
*/
|
|
2486
|
+
editable: boolean;
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* Field display name.
|
|
2490
|
+
*/
|
|
2491
|
+
label: string;
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2495
|
+
* and scalar references.
|
|
2496
|
+
*/
|
|
2497
|
+
multiple: boolean;
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* Configured choice values; empty for non-choice fields.
|
|
2501
|
+
*/
|
|
2502
|
+
options: Array<string>;
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2506
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2507
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2508
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2509
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2510
|
+
* by this requested flow).
|
|
2511
|
+
*/
|
|
2512
|
+
read_only_reason:
|
|
2513
|
+
| 'PERMISSION_DENIED'
|
|
2514
|
+
| 'RECORD_LOCKED'
|
|
2515
|
+
| 'IMMUTABLE'
|
|
2516
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2517
|
+
| 'DERIVED'
|
|
2518
|
+
| 'MASKED'
|
|
2519
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2520
|
+
| 'UNSUPPORTED'
|
|
2521
|
+
| null;
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* Whether a nonempty value is required by the field schema.
|
|
2525
|
+
*/
|
|
2526
|
+
required: boolean;
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* One value from options, or an empty string with value_state EMPTY; null when
|
|
2530
|
+
* unset or masked.
|
|
2531
|
+
*/
|
|
2532
|
+
value: string | null;
|
|
2533
|
+
|
|
2534
|
+
/**
|
|
2535
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2536
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2537
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2538
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2539
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2540
|
+
*/
|
|
2541
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2545
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2546
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2547
|
+
*/
|
|
2548
|
+
viewable: boolean;
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2552
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2553
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2554
|
+
* Null for other fields and unsupported reference targets.
|
|
2555
|
+
*/
|
|
2556
|
+
reference_object?: string | null;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2561
|
+
* flow.
|
|
2562
|
+
*/
|
|
2563
|
+
export interface DetailMultiChoiceField {
|
|
2564
|
+
/**
|
|
2565
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2566
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2567
|
+
* read-only.
|
|
2568
|
+
*/
|
|
2569
|
+
api_name: string;
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* SELECT contains zero or more configured choices.
|
|
2573
|
+
*/
|
|
2574
|
+
data_type: 'SELECT';
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2578
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2579
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2580
|
+
*/
|
|
2581
|
+
editable: boolean;
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* Field display name.
|
|
2585
|
+
*/
|
|
2586
|
+
label: string;
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2590
|
+
* and scalar references.
|
|
2591
|
+
*/
|
|
2592
|
+
multiple: boolean;
|
|
2593
|
+
|
|
2594
|
+
/**
|
|
2595
|
+
* Configured choice values; empty for non-choice fields.
|
|
2596
|
+
*/
|
|
2597
|
+
options: Array<string>;
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2601
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2602
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2603
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2604
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2605
|
+
* by this requested flow).
|
|
2606
|
+
*/
|
|
2607
|
+
read_only_reason:
|
|
2608
|
+
| 'PERMISSION_DENIED'
|
|
2609
|
+
| 'RECORD_LOCKED'
|
|
2610
|
+
| 'IMMUTABLE'
|
|
2611
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2612
|
+
| 'DERIVED'
|
|
2613
|
+
| 'MASKED'
|
|
2614
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2615
|
+
| 'UNSUPPORTED'
|
|
2616
|
+
| null;
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* Whether a nonempty value is required by the field schema.
|
|
2620
|
+
*/
|
|
2621
|
+
required: boolean;
|
|
2622
|
+
|
|
2623
|
+
/**
|
|
2624
|
+
* Selected values from options. An empty selection is [] with value_state EMPTY;
|
|
2625
|
+
* null when unset or masked.
|
|
2626
|
+
*/
|
|
2627
|
+
value: Array<string> | null;
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2631
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2632
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2633
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2634
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2635
|
+
*/
|
|
2636
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2640
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2641
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2642
|
+
*/
|
|
2643
|
+
viewable: boolean;
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2647
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2648
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2649
|
+
* Null for other fields and unsupported reference targets.
|
|
2650
|
+
*/
|
|
2651
|
+
reference_object?: string | null;
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2656
|
+
* flow.
|
|
2657
|
+
*/
|
|
2658
|
+
export interface DetailReferenceField {
|
|
2659
|
+
/**
|
|
2660
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2661
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2662
|
+
* read-only.
|
|
2663
|
+
*/
|
|
2664
|
+
api_name: string;
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* OG_REFERENCE_FIELD identifies a reference to the object named by
|
|
2668
|
+
* reference_object, including owner_role, created_by, and last_modified_by fields.
|
|
2669
|
+
*/
|
|
2670
|
+
data_type: 'OG_REFERENCE_FIELD';
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2674
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2675
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2676
|
+
*/
|
|
2677
|
+
editable: boolean;
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* Field display name.
|
|
2681
|
+
*/
|
|
2682
|
+
label: string;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2686
|
+
* and scalar references.
|
|
2687
|
+
*/
|
|
2688
|
+
multiple: boolean;
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Configured choice values; empty for non-choice fields.
|
|
2692
|
+
*/
|
|
2693
|
+
options: Array<string>;
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2697
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2698
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2699
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2700
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2701
|
+
* by this requested flow).
|
|
2702
|
+
*/
|
|
2703
|
+
read_only_reason:
|
|
2704
|
+
| 'PERMISSION_DENIED'
|
|
2705
|
+
| 'RECORD_LOCKED'
|
|
2706
|
+
| 'IMMUTABLE'
|
|
2707
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2708
|
+
| 'DERIVED'
|
|
2709
|
+
| 'MASKED'
|
|
2710
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2711
|
+
| 'UNSUPPORTED'
|
|
2712
|
+
| null;
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* Whether a nonempty value is required by the field schema.
|
|
2716
|
+
*/
|
|
2717
|
+
required: boolean;
|
|
2718
|
+
|
|
2719
|
+
/**
|
|
2720
|
+
* Selected record identifier in the reference_object target; null when empty or
|
|
2721
|
+
* masked. Retrieve Employee records through GET /workers/{id}/, Department records
|
|
2722
|
+
* through GET /departments/{id}/, and Custom Object records through GET
|
|
2723
|
+
* /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
|
|
2724
|
+
* not have a public record endpoint; use display for their presentation.
|
|
2725
|
+
*/
|
|
2726
|
+
value: string | null;
|
|
2727
|
+
|
|
2728
|
+
/**
|
|
2729
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2730
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2731
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2732
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2733
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2734
|
+
*/
|
|
2735
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2739
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2740
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2741
|
+
*/
|
|
2742
|
+
viewable: boolean;
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* Permitted presentation of the selection, or null when unavailable. Empty and
|
|
2746
|
+
* masked references have no presentation.
|
|
2747
|
+
*/
|
|
2748
|
+
display?: DetailReferenceField.ReferenceDisplay | null;
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2752
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2753
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2754
|
+
* Null for other fields and unsupported reference targets.
|
|
2755
|
+
*/
|
|
2756
|
+
reference_object?: string | null;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
export namespace DetailReferenceField {
|
|
2760
|
+
/**
|
|
2761
|
+
* Optional presentation of a readable reference, independent of its identifier.
|
|
2762
|
+
*/
|
|
2763
|
+
export interface ReferenceDisplay {
|
|
2764
|
+
/**
|
|
2765
|
+
* Permitted display label; never synthesized from the identifier.
|
|
2766
|
+
*/
|
|
2767
|
+
label: string;
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* Permitted image URL, or null when unavailable.
|
|
2771
|
+
*/
|
|
2772
|
+
image_url?: string | null;
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* Permitted secondary text, or null when unavailable.
|
|
2776
|
+
*/
|
|
2777
|
+
secondary_label?: string | null;
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
/**
|
|
2782
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2783
|
+
* flow.
|
|
2784
|
+
*/
|
|
2785
|
+
export interface DetailNativeReferenceField {
|
|
2786
|
+
/**
|
|
2787
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2788
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2789
|
+
* read-only.
|
|
2790
|
+
*/
|
|
2791
|
+
api_name: string;
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* NATIVE_EDGE identifies a relationship using the same selected identifier and
|
|
2795
|
+
* optional presentation contract.
|
|
2796
|
+
*/
|
|
2797
|
+
data_type: 'NATIVE_EDGE';
|
|
2798
|
+
|
|
2799
|
+
/**
|
|
2800
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2801
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2802
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2803
|
+
*/
|
|
2804
|
+
editable: boolean;
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* Field display name.
|
|
2808
|
+
*/
|
|
2809
|
+
label: string;
|
|
2810
|
+
|
|
2811
|
+
/**
|
|
2812
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2813
|
+
* and scalar references.
|
|
2814
|
+
*/
|
|
2815
|
+
multiple: boolean;
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* Configured choice values; empty for non-choice fields.
|
|
2819
|
+
*/
|
|
2820
|
+
options: Array<string>;
|
|
2821
|
+
|
|
2822
|
+
/**
|
|
2823
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2824
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2825
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2826
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2827
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2828
|
+
* by this requested flow).
|
|
2829
|
+
*/
|
|
2830
|
+
read_only_reason:
|
|
2831
|
+
| 'PERMISSION_DENIED'
|
|
2832
|
+
| 'RECORD_LOCKED'
|
|
2833
|
+
| 'IMMUTABLE'
|
|
2834
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2835
|
+
| 'DERIVED'
|
|
2836
|
+
| 'MASKED'
|
|
2837
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2838
|
+
| 'UNSUPPORTED'
|
|
2839
|
+
| null;
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Whether a nonempty value is required by the field schema.
|
|
2843
|
+
*/
|
|
2844
|
+
required: boolean;
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Selected record identifier in the reference_object target; null when empty or
|
|
2848
|
+
* masked. Retrieve Employee records through GET /workers/{id}/, Department records
|
|
2849
|
+
* through GET /departments/{id}/, and Custom Object records through GET
|
|
2850
|
+
* /custom-objects/{custom_object_api_name}/records/{id}/. Other native targets may
|
|
2851
|
+
* not have a public record endpoint; use display for their presentation.
|
|
2852
|
+
*/
|
|
2853
|
+
value: string | null;
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2857
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2858
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2859
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2860
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2861
|
+
*/
|
|
2862
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2866
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2867
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2868
|
+
*/
|
|
2869
|
+
viewable: boolean;
|
|
2870
|
+
|
|
2871
|
+
/**
|
|
2872
|
+
* Permitted presentation of the selection, or null when unavailable. Empty and
|
|
2873
|
+
* masked references have no presentation.
|
|
2874
|
+
*/
|
|
2875
|
+
display?: DetailNativeReferenceField.ReferenceDisplay | null;
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
2879
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
2880
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
2881
|
+
* Null for other fields and unsupported reference targets.
|
|
2882
|
+
*/
|
|
2883
|
+
reference_object?: string | null;
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
export namespace DetailNativeReferenceField {
|
|
2887
|
+
/**
|
|
2888
|
+
* Optional presentation of a readable reference, independent of its identifier.
|
|
2889
|
+
*/
|
|
2890
|
+
export interface ReferenceDisplay {
|
|
2891
|
+
/**
|
|
2892
|
+
* Permitted display label; never synthesized from the identifier.
|
|
2893
|
+
*/
|
|
2894
|
+
label: string;
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* Permitted image URL, or null when unavailable.
|
|
2898
|
+
*/
|
|
2899
|
+
image_url?: string | null;
|
|
2900
|
+
|
|
2901
|
+
/**
|
|
2902
|
+
* Permitted secondary text, or null when unavailable.
|
|
2903
|
+
*/
|
|
2904
|
+
secondary_label?: string | null;
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2910
|
+
* flow.
|
|
2911
|
+
*/
|
|
2912
|
+
export interface DetailPercentageField {
|
|
2913
|
+
/**
|
|
2914
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2915
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2916
|
+
* read-only.
|
|
2917
|
+
*/
|
|
2918
|
+
api_name: string;
|
|
2919
|
+
|
|
2920
|
+
/**
|
|
2921
|
+
* PERCENTAGE contains a decimal ratio, where 1 means 100%.
|
|
2922
|
+
*/
|
|
2923
|
+
data_type: 'PERCENTAGE';
|
|
2924
|
+
|
|
2925
|
+
/**
|
|
2926
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2927
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2928
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2929
|
+
*/
|
|
2930
|
+
editable: boolean;
|
|
2931
|
+
|
|
2932
|
+
/**
|
|
2933
|
+
* Field display name.
|
|
2934
|
+
*/
|
|
2935
|
+
label: string;
|
|
2936
|
+
|
|
2937
|
+
/**
|
|
2938
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2939
|
+
* and scalar references.
|
|
2940
|
+
*/
|
|
2941
|
+
multiple: boolean;
|
|
2942
|
+
|
|
2943
|
+
/**
|
|
2944
|
+
* Configured choice values; empty for non-choice fields.
|
|
2945
|
+
*/
|
|
2946
|
+
options: Array<string>;
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2950
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2951
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2952
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2953
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2954
|
+
* by this requested flow).
|
|
2955
|
+
*/
|
|
2956
|
+
read_only_reason:
|
|
2957
|
+
| 'PERMISSION_DENIED'
|
|
2958
|
+
| 'RECORD_LOCKED'
|
|
2959
|
+
| 'IMMUTABLE'
|
|
2960
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
2961
|
+
| 'DERIVED'
|
|
2962
|
+
| 'MASKED'
|
|
2963
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
2964
|
+
| 'UNSUPPORTED'
|
|
2965
|
+
| null;
|
|
2966
|
+
|
|
2967
|
+
/**
|
|
2968
|
+
* Whether a nonempty value is required by the field schema.
|
|
2969
|
+
*/
|
|
2970
|
+
required: boolean;
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* JSON number containing a decimal ratio without a percent sign: 0, 0.3, 1 and 1.5
|
|
2974
|
+
* mean 0%, 30%, 100% and 150%. Null unless PRESENT.
|
|
2975
|
+
*/
|
|
2976
|
+
value: number | null;
|
|
2977
|
+
|
|
2978
|
+
/**
|
|
2979
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2980
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2981
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2982
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2983
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2984
|
+
*/
|
|
2985
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2989
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2990
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2991
|
+
*/
|
|
2992
|
+
viewable: boolean;
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* Configured decimal places, or null.
|
|
2996
|
+
*/
|
|
2997
|
+
num_of_decimal_places?: number | null;
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
3001
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
3002
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
3003
|
+
* Null for other fields and unsupported reference targets.
|
|
3004
|
+
*/
|
|
3005
|
+
reference_object?: string | null;
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
3010
|
+
* flow.
|
|
3011
|
+
*/
|
|
3012
|
+
export interface DetailTimeField {
|
|
3013
|
+
/**
|
|
3014
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
3015
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
3016
|
+
* read-only.
|
|
3017
|
+
*/
|
|
3018
|
+
api_name: string;
|
|
3019
|
+
|
|
3020
|
+
/**
|
|
3021
|
+
* TIME contains a time of day.
|
|
3022
|
+
*/
|
|
3023
|
+
data_type: 'TIME';
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
3027
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
3028
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
3029
|
+
*/
|
|
3030
|
+
editable: boolean;
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* Field display name.
|
|
3034
|
+
*/
|
|
3035
|
+
label: string;
|
|
3036
|
+
|
|
3037
|
+
/**
|
|
3038
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
3039
|
+
* and scalar references.
|
|
3040
|
+
*/
|
|
3041
|
+
multiple: boolean;
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* Configured choice values; empty for non-choice fields.
|
|
3045
|
+
*/
|
|
3046
|
+
options: Array<string>;
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
3050
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
3051
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
3052
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
3053
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
3054
|
+
* by this requested flow).
|
|
3055
|
+
*/
|
|
3056
|
+
read_only_reason:
|
|
3057
|
+
| 'PERMISSION_DENIED'
|
|
3058
|
+
| 'RECORD_LOCKED'
|
|
3059
|
+
| 'IMMUTABLE'
|
|
3060
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
3061
|
+
| 'DERIVED'
|
|
3062
|
+
| 'MASKED'
|
|
3063
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
3064
|
+
| 'UNSUPPORTED'
|
|
3065
|
+
| null;
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* Whether a nonempty value is required by the field schema.
|
|
3069
|
+
*/
|
|
3070
|
+
required: boolean;
|
|
3071
|
+
|
|
3072
|
+
/**
|
|
3073
|
+
* Time of day in HH:MM:SS format; null unless PRESENT.
|
|
3074
|
+
*/
|
|
3075
|
+
value: string | null;
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
3079
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
3080
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
3081
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
3082
|
+
* UNSUPPORTED does not determine edit permission.
|
|
3083
|
+
*/
|
|
3084
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
3088
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
3089
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
3090
|
+
*/
|
|
3091
|
+
viewable: boolean;
|
|
3092
|
+
|
|
3093
|
+
/**
|
|
3094
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
3095
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
3096
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
3097
|
+
* Null for other fields and unsupported reference targets.
|
|
3098
|
+
*/
|
|
3099
|
+
reference_object?: string | null;
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3102
|
+
/**
|
|
3103
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
3104
|
+
* flow.
|
|
3105
|
+
*/
|
|
3106
|
+
export interface DetailUnsupportedField {
|
|
3107
|
+
/**
|
|
3108
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
3109
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
3110
|
+
* read-only.
|
|
3111
|
+
*/
|
|
3112
|
+
api_name: string;
|
|
3113
|
+
|
|
3114
|
+
/**
|
|
3115
|
+
* Field types whose values this endpoint does not currently represent. Edit
|
|
3116
|
+
* permission is evaluated independently of value representation.
|
|
3117
|
+
*/
|
|
3118
|
+
data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
3122
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
3123
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
3124
|
+
*/
|
|
3125
|
+
editable: boolean;
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* Field display name.
|
|
3129
|
+
*/
|
|
3130
|
+
label: string;
|
|
3131
|
+
|
|
3132
|
+
/**
|
|
3133
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
3134
|
+
* and scalar references.
|
|
3135
|
+
*/
|
|
3136
|
+
multiple: boolean;
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* Configured choice values; empty for non-choice fields.
|
|
3140
|
+
*/
|
|
3141
|
+
options: Array<string>;
|
|
3142
|
+
|
|
3143
|
+
/**
|
|
3144
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
3145
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
3146
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
3147
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
3148
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
3149
|
+
* by this requested flow).
|
|
3150
|
+
*/
|
|
3151
|
+
read_only_reason:
|
|
3152
|
+
| 'PERMISSION_DENIED'
|
|
3153
|
+
| 'RECORD_LOCKED'
|
|
3154
|
+
| 'IMMUTABLE'
|
|
3155
|
+
| 'MANAGED_WRITE_RESTRICTED'
|
|
3156
|
+
| 'DERIVED'
|
|
3157
|
+
| 'MASKED'
|
|
3158
|
+
| 'REFERENCE_UNAVAILABLE'
|
|
3159
|
+
| 'UNSUPPORTED'
|
|
3160
|
+
| null;
|
|
3161
|
+
|
|
3162
|
+
/**
|
|
3163
|
+
* Whether a nonempty value is required by the field schema.
|
|
3164
|
+
*/
|
|
3165
|
+
required: boolean;
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* Always null. UNSUPPORTED withholds the value representation; MASKED takes
|
|
3169
|
+
* precedence for a restricted value. Neither state grants write permission.
|
|
3170
|
+
*/
|
|
3171
|
+
value: null;
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
3175
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
3176
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
3177
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
3178
|
+
* UNSUPPORTED does not determine edit permission.
|
|
3179
|
+
*/
|
|
3180
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
3184
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
3185
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
3186
|
+
*/
|
|
3187
|
+
viewable: boolean;
|
|
3188
|
+
|
|
3189
|
+
/**
|
|
3190
|
+
* Target object API name for a supported reference, such as Employee, Department,
|
|
3191
|
+
* or a Custom Object API name ending in \_\_c. The available native targets depend
|
|
3192
|
+
* on the relationships configured in the saved layout and the caller's access.
|
|
3193
|
+
* Null for other fields and unsupported reference targets.
|
|
3194
|
+
*/
|
|
3195
|
+
reference_object?: string | null;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
/**
|
|
3199
|
+
* Effective create layout after visibility and permission filtering.
|
|
3200
|
+
*/
|
|
3201
|
+
export interface Layout {
|
|
3202
|
+
/**
|
|
3203
|
+
* Resolved saved layout API name.
|
|
3204
|
+
*/
|
|
3205
|
+
api_name: string;
|
|
3206
|
+
|
|
3207
|
+
/**
|
|
3208
|
+
* Semantic record header.
|
|
3209
|
+
*/
|
|
3210
|
+
header: Layout.Header;
|
|
3211
|
+
|
|
3212
|
+
/**
|
|
3213
|
+
* Ordered, visible tabs.
|
|
3214
|
+
*/
|
|
3215
|
+
tabs: Array<Layout.Tab>;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
export namespace Layout {
|
|
3219
|
+
/**
|
|
3220
|
+
* Semantic record header.
|
|
3221
|
+
*/
|
|
3222
|
+
export interface Header {
|
|
3223
|
+
/**
|
|
3224
|
+
* Ordered summary field API names.
|
|
3225
|
+
*/
|
|
3226
|
+
fields: Array<string>;
|
|
3227
|
+
|
|
3228
|
+
/**
|
|
3229
|
+
* Description field API name, or null when unavailable.
|
|
3230
|
+
*/
|
|
3231
|
+
description_field?: string | null;
|
|
3232
|
+
|
|
3233
|
+
/**
|
|
3234
|
+
* Title field API name, or null when unavailable.
|
|
3235
|
+
*/
|
|
3236
|
+
title_field?: string | null;
|
|
3237
|
+
}
|
|
3238
|
+
|
|
3239
|
+
/**
|
|
3240
|
+
* Ordered, visible tab of sections in the effective record page layout.
|
|
3241
|
+
*/
|
|
3242
|
+
export interface Tab {
|
|
3243
|
+
/**
|
|
3244
|
+
* Stable tab identifier.
|
|
3245
|
+
*/
|
|
3246
|
+
id: string;
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* Tab display name.
|
|
3250
|
+
*/
|
|
3251
|
+
label: string;
|
|
3252
|
+
|
|
3253
|
+
/**
|
|
3254
|
+
* Ordered, visible sections.
|
|
3255
|
+
*/
|
|
3256
|
+
sections: Array<Tab.Section>;
|
|
3257
|
+
}
|
|
3258
|
+
|
|
3259
|
+
export namespace Tab {
|
|
3260
|
+
/**
|
|
3261
|
+
* Visible group of field placements, a deferred related list, or explicitly
|
|
3262
|
+
* unsupported content.
|
|
3263
|
+
*/
|
|
3264
|
+
export interface Section {
|
|
3265
|
+
/**
|
|
3266
|
+
* Section identifier scoped to the effective layout.
|
|
3267
|
+
*/
|
|
3268
|
+
id: string;
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* Suggested field columns; clients may adapt to available space.
|
|
3272
|
+
*/
|
|
3273
|
+
columns: number;
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* Ordered placements for a FIELDS section. Empty for RELATED_LIST and UNSUPPORTED
|
|
3277
|
+
* sections.
|
|
3278
|
+
*/
|
|
3279
|
+
fields: Array<Section.Field>;
|
|
3280
|
+
|
|
3281
|
+
/**
|
|
3282
|
+
* Section display name.
|
|
3283
|
+
*/
|
|
3284
|
+
label: string;
|
|
3285
|
+
|
|
3286
|
+
/**
|
|
3287
|
+
* FIELDS contains ordered field placements; RELATED_LIST describes a deferred
|
|
3288
|
+
* related-record grid without embedding its rows; UNSUPPORTED identifies visible
|
|
3289
|
+
* content this API cannot render.
|
|
3290
|
+
*/
|
|
3291
|
+
type: 'FIELDS' | 'RELATED_LIST' | 'UNSUPPORTED';
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* Ordered readable columns configured for a RELATED_LIST; empty for other
|
|
3295
|
+
* sections.
|
|
3296
|
+
*/
|
|
3297
|
+
column_field_api_names?: Array<string>;
|
|
3298
|
+
|
|
3299
|
+
/**
|
|
3300
|
+
* Related Custom Object API name; null for other sections.
|
|
3301
|
+
*/
|
|
3302
|
+
object_api_name?: string | null;
|
|
3303
|
+
|
|
3304
|
+
/**
|
|
3305
|
+
* CONTENT_NOT_SUPPORTED means this section requires a renderer outside this API;
|
|
3306
|
+
* RELATED_OBJECT_NOT_SUPPORTED means the related list targets a native object,
|
|
3307
|
+
* which this release cannot render. Null for supported field and Custom Object
|
|
3308
|
+
* related-list sections.
|
|
3309
|
+
*/
|
|
3310
|
+
reason?: 'CONTENT_NOT_SUPPORTED' | 'RELATED_OBJECT_NOT_SUPPORTED' | null;
|
|
3311
|
+
|
|
3312
|
+
/**
|
|
3313
|
+
* Field on the related Custom Object that points to this record; null for other
|
|
3314
|
+
* sections.
|
|
3315
|
+
*/
|
|
3316
|
+
relationship_field_api_name?: string | null;
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
export namespace Section {
|
|
3320
|
+
/**
|
|
3321
|
+
* Placement of a discoverable field in a saved layout; contains no field value.
|
|
3322
|
+
*/
|
|
3323
|
+
export interface Field {
|
|
3324
|
+
/**
|
|
3325
|
+
* Field API name in the response fields map.
|
|
3326
|
+
*/
|
|
3327
|
+
field: string;
|
|
3328
|
+
|
|
3329
|
+
/**
|
|
3330
|
+
* Whether this placement is read-only.
|
|
3331
|
+
*/
|
|
3332
|
+
read_only: boolean;
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3339
|
+
export interface RecordDetailRetrieveParams {
|
|
3340
|
+
/**
|
|
3341
|
+
* Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
|
|
3342
|
+
* definition or the grid's configured object.
|
|
3343
|
+
*/
|
|
3344
|
+
object_api_name: string;
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
* Select the saved Custom Object page layout by API name. Omit to use default.
|
|
3348
|
+
* Keep the resolved layout.api_name from the detail response when loading related
|
|
3349
|
+
* sections.
|
|
3350
|
+
*/
|
|
3351
|
+
layout_api_name?: string;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
export interface RecordDetailRetrieveCreateParams {
|
|
1535
3355
|
/**
|
|
1536
3356
|
* Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
|
|
1537
3357
|
* definition or the grid's configured object.
|
|
@@ -1549,6 +3369,8 @@ export interface RecordDetailRetrieveParams {
|
|
|
1549
3369
|
export declare namespace RecordDetails {
|
|
1550
3370
|
export {
|
|
1551
3371
|
type RecordDetailRetrieveResponse as RecordDetailRetrieveResponse,
|
|
3372
|
+
type RecordDetailRetrieveCreateResponse as RecordDetailRetrieveCreateResponse,
|
|
1552
3373
|
type RecordDetailRetrieveParams as RecordDetailRetrieveParams,
|
|
3374
|
+
type RecordDetailRetrieveCreateParams as RecordDetailRetrieveCreateParams,
|
|
1553
3375
|
};
|
|
1554
3376
|
}
|