@jsforce/jsforce-node 0.0.1 → 3.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +54 -0
  3. package/index.d.ts +4 -0
  4. package/index.js +1 -0
  5. package/lib/VERSION.d.ts +2 -0
  6. package/lib/VERSION.js +3 -0
  7. package/lib/api/analytics/types.d.ts +509 -0
  8. package/lib/api/analytics/types.js +2 -0
  9. package/lib/api/analytics.d.ts +163 -0
  10. package/lib/api/analytics.js +342 -0
  11. package/lib/api/apex.d.ts +44 -0
  12. package/lib/api/apex.js +86 -0
  13. package/lib/api/bulk.d.ts +444 -0
  14. package/lib/api/bulk.js +1372 -0
  15. package/lib/api/chatter.d.ts +133 -0
  16. package/lib/api/chatter.js +248 -0
  17. package/lib/api/metadata/schema.d.ts +16117 -0
  18. package/lib/api/metadata/schema.js +9094 -0
  19. package/lib/api/metadata.d.ts +189 -0
  20. package/lib/api/metadata.js +406 -0
  21. package/lib/api/soap/schema.d.ts +3167 -0
  22. package/lib/api/soap/schema.js +1787 -0
  23. package/lib/api/soap.d.ts +76 -0
  24. package/lib/api/soap.js +155 -0
  25. package/lib/api/streaming/extension.d.ts +94 -0
  26. package/lib/api/streaming/extension.js +151 -0
  27. package/lib/api/streaming.d.ts +160 -0
  28. package/lib/api/streaming.js +252 -0
  29. package/lib/api/tooling.d.ts +284 -0
  30. package/lib/api/tooling.js +202 -0
  31. package/lib/api/wsdl/wsdl2schema.d.ts +1 -0
  32. package/lib/api/wsdl/wsdl2schema.js +354 -0
  33. package/lib/browser/canvas.d.ts +12 -0
  34. package/lib/browser/canvas.js +77 -0
  35. package/lib/browser/client.d.ts +82 -0
  36. package/lib/browser/client.js +244 -0
  37. package/lib/browser/jsonp.d.ts +12 -0
  38. package/lib/browser/jsonp.js +69 -0
  39. package/lib/browser/registry.d.ts +3 -0
  40. package/lib/browser/registry.js +5 -0
  41. package/lib/browser/request.d.ts +10 -0
  42. package/lib/browser/request.js +202 -0
  43. package/lib/cache.d.ts +74 -0
  44. package/lib/cache.js +159 -0
  45. package/lib/connection.d.ts +355 -0
  46. package/lib/connection.js +1153 -0
  47. package/lib/core.d.ts +17 -0
  48. package/lib/core.js +55 -0
  49. package/lib/csv.d.ts +23 -0
  50. package/lib/csv.js +35 -0
  51. package/lib/date.d.ts +82 -0
  52. package/lib/date.js +201 -0
  53. package/lib/http-api.d.ts +75 -0
  54. package/lib/http-api.js +257 -0
  55. package/lib/index.d.ts +12 -0
  56. package/lib/index.js +31 -0
  57. package/lib/jsforce.d.ts +26 -0
  58. package/lib/jsforce.js +67 -0
  59. package/lib/jwtOAuth2.d.ts +8 -0
  60. package/lib/jwtOAuth2.js +23 -0
  61. package/lib/oauth2.d.ts +92 -0
  62. package/lib/oauth2.js +245 -0
  63. package/lib/process.d.ts +157 -0
  64. package/lib/process.js +143 -0
  65. package/lib/query.d.ts +341 -0
  66. package/lib/query.js +817 -0
  67. package/lib/quick-action.d.ts +44 -0
  68. package/lib/quick-action.js +46 -0
  69. package/lib/record-reference.d.ts +46 -0
  70. package/lib/record-reference.js +65 -0
  71. package/lib/record-stream.d.ts +83 -0
  72. package/lib/record-stream.js +233 -0
  73. package/lib/registry/base.d.ts +43 -0
  74. package/lib/registry/base.js +96 -0
  75. package/lib/registry/empty.d.ts +7 -0
  76. package/lib/registry/empty.js +13 -0
  77. package/lib/registry/file.d.ts +11 -0
  78. package/lib/registry/file.js +51 -0
  79. package/lib/registry/index.d.ts +8 -0
  80. package/lib/registry/index.js +21 -0
  81. package/lib/registry/sfdx.d.ts +56 -0
  82. package/lib/registry/sfdx.js +133 -0
  83. package/lib/registry/types.d.ts +47 -0
  84. package/lib/registry/types.js +2 -0
  85. package/lib/request-helper.d.ts +23 -0
  86. package/lib/request-helper.js +102 -0
  87. package/lib/request.d.ts +11 -0
  88. package/lib/request.js +75 -0
  89. package/lib/session-refresh-delegate.d.ts +31 -0
  90. package/lib/session-refresh-delegate.js +69 -0
  91. package/lib/soap.d.ts +60 -0
  92. package/lib/soap.js +246 -0
  93. package/lib/sobject.d.ts +258 -0
  94. package/lib/sobject.js +376 -0
  95. package/lib/soql-builder.d.ts +25 -0
  96. package/lib/soql-builder.js +226 -0
  97. package/lib/transport.d.ts +63 -0
  98. package/lib/transport.js +175 -0
  99. package/lib/types/common.d.ts +560 -0
  100. package/lib/types/common.js +2 -0
  101. package/lib/types/index.d.ts +7 -0
  102. package/lib/types/index.js +23 -0
  103. package/lib/types/projection.d.ts +26 -0
  104. package/lib/types/projection.js +2 -0
  105. package/lib/types/record.d.ts +44 -0
  106. package/lib/types/record.js +2 -0
  107. package/lib/types/schema.d.ts +50 -0
  108. package/lib/types/schema.js +2 -0
  109. package/lib/types/soap.d.ts +43 -0
  110. package/lib/types/soap.js +2 -0
  111. package/lib/types/standard-schema.d.ts +16199 -0
  112. package/lib/types/standard-schema.js +2 -0
  113. package/lib/types/util.d.ts +7 -0
  114. package/lib/types/util.js +2 -0
  115. package/lib/util/formatter.d.ts +8 -0
  116. package/lib/util/formatter.js +24 -0
  117. package/lib/util/function.d.ts +32 -0
  118. package/lib/util/function.js +52 -0
  119. package/lib/util/logger.d.ts +29 -0
  120. package/lib/util/logger.js +102 -0
  121. package/lib/util/promise.d.ts +19 -0
  122. package/lib/util/promise.js +25 -0
  123. package/lib/util/stream.d.ts +12 -0
  124. package/lib/util/stream.js +88 -0
  125. package/package.json +260 -6
  126. package/typings/faye/index.d.ts +16 -0
  127. package/typings/index.d.ts +1 -0
@@ -0,0 +1,1787 @@
1
+ "use strict";
2
+ /**
3
+ * This file is generated from WSDL file by wsdl2schema.ts.
4
+ * Do not modify directly.
5
+ * To generate the file, run "ts-node path/to/wsdl2schema.ts path/to/wsdl.xml path/to/schema.ts"
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ApiSchemas = void 0;
9
+ exports.ApiSchemas = {
10
+ sObject: {
11
+ type: 'sObject',
12
+ props: {
13
+ type: 'string',
14
+ fieldsToNull: ['?', 'string'],
15
+ Id: '?string',
16
+ },
17
+ },
18
+ address: {
19
+ type: 'address',
20
+ props: {
21
+ city: '?string',
22
+ country: '?string',
23
+ countryCode: '?string',
24
+ geocodeAccuracy: '?string',
25
+ postalCode: '?string',
26
+ state: '?string',
27
+ stateCode: '?string',
28
+ street: '?string',
29
+ },
30
+ extends: 'location',
31
+ },
32
+ location: {
33
+ type: 'location',
34
+ props: {
35
+ latitude: '?number',
36
+ longitude: '?number',
37
+ },
38
+ },
39
+ QueryResult: {
40
+ type: 'QueryResult',
41
+ props: {
42
+ done: 'boolean',
43
+ queryLocator: '?string',
44
+ records: ['?', 'sObject'],
45
+ size: 'number',
46
+ },
47
+ },
48
+ SearchResult: {
49
+ type: 'SearchResult',
50
+ props: {
51
+ queryId: 'string',
52
+ searchRecords: ['SearchRecord'],
53
+ searchResultsMetadata: '?SearchResultsMetadata',
54
+ },
55
+ },
56
+ SearchRecord: {
57
+ type: 'SearchRecord',
58
+ props: {
59
+ record: 'sObject',
60
+ searchRecordMetadata: '?SearchRecordMetadata',
61
+ snippet: '?SearchSnippet',
62
+ },
63
+ },
64
+ SearchRecordMetadata: {
65
+ type: 'SearchRecordMetadata',
66
+ props: {
67
+ searchPromoted: 'boolean',
68
+ spellCorrected: 'boolean',
69
+ },
70
+ },
71
+ SearchSnippet: {
72
+ type: 'SearchSnippet',
73
+ props: {
74
+ text: '?string',
75
+ wholeFields: ['NameValuePair'],
76
+ },
77
+ },
78
+ SearchResultsMetadata: {
79
+ type: 'SearchResultsMetadata',
80
+ props: {
81
+ entityLabelMetadata: ['LabelsSearchMetadata'],
82
+ entityMetadata: ['EntitySearchMetadata'],
83
+ },
84
+ },
85
+ LabelsSearchMetadata: {
86
+ type: 'LabelsSearchMetadata',
87
+ props: {
88
+ entityFieldLabels: ['NameValuePair'],
89
+ entityName: 'string',
90
+ },
91
+ },
92
+ EntitySearchMetadata: {
93
+ type: 'EntitySearchMetadata',
94
+ props: {
95
+ entityName: 'string',
96
+ errorMetadata: '?EntityErrorMetadata',
97
+ fieldMetadata: ['FieldLevelSearchMetadata'],
98
+ intentQueryMetadata: '?EntityIntentQueryMetadata',
99
+ searchPromotionMetadata: '?EntitySearchPromotionMetadata',
100
+ spellCorrectionMetadata: '?EntitySpellCorrectionMetadata',
101
+ },
102
+ },
103
+ FieldLevelSearchMetadata: {
104
+ type: 'FieldLevelSearchMetadata',
105
+ props: {
106
+ label: '?string',
107
+ name: 'string',
108
+ type: '?string',
109
+ },
110
+ },
111
+ EntitySpellCorrectionMetadata: {
112
+ type: 'EntitySpellCorrectionMetadata',
113
+ props: {
114
+ correctedQuery: 'string',
115
+ hasNonCorrectedResults: 'boolean',
116
+ },
117
+ },
118
+ EntitySearchPromotionMetadata: {
119
+ type: 'EntitySearchPromotionMetadata',
120
+ props: {
121
+ promotedResultCount: 'number',
122
+ },
123
+ },
124
+ EntityIntentQueryMetadata: {
125
+ type: 'EntityIntentQueryMetadata',
126
+ props: {
127
+ intentQuery: 'boolean',
128
+ message: '?string',
129
+ },
130
+ },
131
+ EntityErrorMetadata: {
132
+ type: 'EntityErrorMetadata',
133
+ props: {
134
+ errorCode: '?string',
135
+ message: '?string',
136
+ },
137
+ },
138
+ RelationshipReferenceTo: {
139
+ type: 'RelationshipReferenceTo',
140
+ props: {
141
+ referenceTo: ['string'],
142
+ },
143
+ },
144
+ RecordTypesSupported: {
145
+ type: 'RecordTypesSupported',
146
+ props: {
147
+ recordTypeInfos: ['RecordTypeInfo'],
148
+ },
149
+ },
150
+ JunctionIdListNames: {
151
+ type: 'JunctionIdListNames',
152
+ props: {
153
+ names: ['string'],
154
+ },
155
+ },
156
+ SearchLayoutButtonsDisplayed: {
157
+ type: 'SearchLayoutButtonsDisplayed',
158
+ props: {
159
+ applicable: 'boolean',
160
+ buttons: ['SearchLayoutButton'],
161
+ },
162
+ },
163
+ SearchLayoutButton: {
164
+ type: 'SearchLayoutButton',
165
+ props: {
166
+ apiName: 'string',
167
+ label: 'string',
168
+ },
169
+ },
170
+ SearchLayoutFieldsDisplayed: {
171
+ type: 'SearchLayoutFieldsDisplayed',
172
+ props: {
173
+ applicable: 'boolean',
174
+ fields: ['SearchLayoutField'],
175
+ },
176
+ },
177
+ SearchLayoutField: {
178
+ type: 'SearchLayoutField',
179
+ props: {
180
+ apiName: 'string',
181
+ label: 'string',
182
+ sortable: 'boolean',
183
+ },
184
+ },
185
+ NameValuePair: {
186
+ type: 'NameValuePair',
187
+ props: {
188
+ name: 'string',
189
+ value: 'string',
190
+ },
191
+ },
192
+ NameObjectValuePair: {
193
+ type: 'NameObjectValuePair',
194
+ props: {
195
+ isVisible: '?boolean',
196
+ name: 'string',
197
+ value: ['any'],
198
+ },
199
+ },
200
+ GetUpdatedResult: {
201
+ type: 'GetUpdatedResult',
202
+ props: {
203
+ ids: ['string'],
204
+ latestDateCovered: 'string',
205
+ },
206
+ },
207
+ GetDeletedResult: {
208
+ type: 'GetDeletedResult',
209
+ props: {
210
+ deletedRecords: ['DeletedRecord'],
211
+ earliestDateAvailable: 'string',
212
+ latestDateCovered: 'string',
213
+ },
214
+ },
215
+ DeletedRecord: {
216
+ type: 'DeletedRecord',
217
+ props: {
218
+ deletedDate: 'string',
219
+ id: 'string',
220
+ },
221
+ },
222
+ GetServerTimestampResult: {
223
+ type: 'GetServerTimestampResult',
224
+ props: {
225
+ timestamp: 'string',
226
+ },
227
+ },
228
+ InvalidateSessionsResult: {
229
+ type: 'InvalidateSessionsResult',
230
+ props: {
231
+ errors: ['Error'],
232
+ success: 'boolean',
233
+ },
234
+ },
235
+ SetPasswordResult: {
236
+ type: 'SetPasswordResult',
237
+ props: {},
238
+ },
239
+ ChangeOwnPasswordResult: {
240
+ type: 'ChangeOwnPasswordResult',
241
+ props: {},
242
+ },
243
+ ResetPasswordResult: {
244
+ type: 'ResetPasswordResult',
245
+ props: {
246
+ password: 'string',
247
+ },
248
+ },
249
+ GetUserInfoResult: {
250
+ type: 'GetUserInfoResult',
251
+ props: {
252
+ accessibilityMode: 'boolean',
253
+ chatterExternal: 'boolean',
254
+ currencySymbol: '?string',
255
+ orgAttachmentFileSizeLimit: 'number',
256
+ orgDefaultCurrencyIsoCode: '?string',
257
+ orgDefaultCurrencyLocale: '?string',
258
+ orgDisallowHtmlAttachments: 'boolean',
259
+ orgHasPersonAccounts: 'boolean',
260
+ organizationId: 'string',
261
+ organizationMultiCurrency: 'boolean',
262
+ organizationName: 'string',
263
+ profileId: 'string',
264
+ roleId: '?string',
265
+ sessionSecondsValid: 'number',
266
+ userDefaultCurrencyIsoCode: '?string',
267
+ userEmail: 'string',
268
+ userFullName: 'string',
269
+ userId: 'string',
270
+ userLanguage: 'string',
271
+ userLocale: 'string',
272
+ userName: 'string',
273
+ userTimeZone: 'string',
274
+ userType: 'string',
275
+ userUiSkin: 'string',
276
+ },
277
+ },
278
+ LoginResult: {
279
+ type: 'LoginResult',
280
+ props: {
281
+ metadataServerUrl: '?string',
282
+ passwordExpired: 'boolean',
283
+ sandbox: 'boolean',
284
+ serverUrl: '?string',
285
+ sessionId: '?string',
286
+ userId: '?string',
287
+ userInfo: '?GetUserInfoResult',
288
+ },
289
+ },
290
+ ExtendedErrorDetails: {
291
+ type: 'ExtendedErrorDetails',
292
+ props: {
293
+ extendedErrorCode: 'string',
294
+ },
295
+ },
296
+ Error: {
297
+ type: 'Error',
298
+ props: {
299
+ extendedErrorDetails: ['?', 'ExtendedErrorDetails'],
300
+ fields: ['?', 'string'],
301
+ message: 'string',
302
+ statusCode: 'string',
303
+ },
304
+ },
305
+ SendEmailError: {
306
+ type: 'SendEmailError',
307
+ props: {
308
+ fields: ['?', 'string'],
309
+ message: 'string',
310
+ statusCode: 'string',
311
+ targetObjectId: '?string',
312
+ },
313
+ },
314
+ SaveResult: {
315
+ type: 'SaveResult',
316
+ props: {
317
+ errors: ['Error'],
318
+ id: '?string',
319
+ success: 'boolean',
320
+ },
321
+ },
322
+ RenderEmailTemplateError: {
323
+ type: 'RenderEmailTemplateError',
324
+ props: {
325
+ fieldName: 'string',
326
+ message: 'string',
327
+ offset: 'number',
328
+ statusCode: 'string',
329
+ },
330
+ },
331
+ UpsertResult: {
332
+ type: 'UpsertResult',
333
+ props: {
334
+ created: 'boolean',
335
+ errors: ['Error'],
336
+ id: '?string',
337
+ success: 'boolean',
338
+ },
339
+ },
340
+ PerformQuickActionResult: {
341
+ type: 'PerformQuickActionResult',
342
+ props: {
343
+ contextId: '?string',
344
+ created: 'boolean',
345
+ errors: ['Error'],
346
+ feedItemIds: ['?', 'string'],
347
+ ids: ['?', 'string'],
348
+ success: 'boolean',
349
+ successMessage: '?string',
350
+ },
351
+ },
352
+ QuickActionTemplateResult: {
353
+ type: 'QuickActionTemplateResult',
354
+ props: {
355
+ contextId: '?string',
356
+ defaultValueFormulas: '?sObject',
357
+ defaultValues: '?sObject',
358
+ errors: ['Error'],
359
+ success: 'boolean',
360
+ },
361
+ },
362
+ MergeRequest: {
363
+ type: 'MergeRequest',
364
+ props: {
365
+ additionalInformationMap: ['AdditionalInformationMap'],
366
+ masterRecord: 'sObject',
367
+ recordToMergeIds: ['string'],
368
+ },
369
+ },
370
+ MergeResult: {
371
+ type: 'MergeResult',
372
+ props: {
373
+ errors: ['Error'],
374
+ id: '?string',
375
+ mergedRecordIds: ['string'],
376
+ success: 'boolean',
377
+ updatedRelatedIds: ['string'],
378
+ },
379
+ },
380
+ ProcessRequest: {
381
+ type: 'ProcessRequest',
382
+ props: {
383
+ comments: '?string',
384
+ nextApproverIds: ['?', 'string'],
385
+ },
386
+ },
387
+ ProcessSubmitRequest: {
388
+ type: 'ProcessSubmitRequest',
389
+ props: {
390
+ objectId: 'string',
391
+ submitterId: '?string',
392
+ processDefinitionNameOrId: '?string',
393
+ skipEntryCriteria: '?boolean',
394
+ },
395
+ extends: 'ProcessRequest',
396
+ },
397
+ ProcessWorkitemRequest: {
398
+ type: 'ProcessWorkitemRequest',
399
+ props: {
400
+ action: 'string',
401
+ workitemId: 'string',
402
+ },
403
+ extends: 'ProcessRequest',
404
+ },
405
+ PerformQuickActionRequest: {
406
+ type: 'PerformQuickActionRequest',
407
+ props: {
408
+ contextId: '?string',
409
+ quickActionName: 'string',
410
+ records: ['?', 'sObject'],
411
+ },
412
+ },
413
+ DescribeAvailableQuickActionResult: {
414
+ type: 'DescribeAvailableQuickActionResult',
415
+ props: {
416
+ actionEnumOrId: 'string',
417
+ label: 'string',
418
+ name: 'string',
419
+ type: 'string',
420
+ },
421
+ },
422
+ DescribeQuickActionResult: {
423
+ type: 'DescribeQuickActionResult',
424
+ props: {
425
+ accessLevelRequired: '?string',
426
+ actionEnumOrId: 'string',
427
+ canvasApplicationId: '?string',
428
+ canvasApplicationName: '?string',
429
+ colors: ['DescribeColor'],
430
+ contextSobjectType: '?string',
431
+ defaultValues: ['?', 'DescribeQuickActionDefaultValue'],
432
+ flowDevName: '?string',
433
+ flowRecordIdVar: '?string',
434
+ height: '?number',
435
+ iconName: '?string',
436
+ iconUrl: '?string',
437
+ icons: ['DescribeIcon'],
438
+ label: 'string',
439
+ layout: '?DescribeLayoutSection',
440
+ lightningComponentBundleId: '?string',
441
+ lightningComponentBundleName: '?string',
442
+ lightningComponentQualifiedName: '?string',
443
+ miniIconUrl: '?string',
444
+ mobileExtensionDisplayMode: '?string',
445
+ mobileExtensionId: '?string',
446
+ name: 'string',
447
+ showQuickActionLcHeader: 'boolean',
448
+ showQuickActionVfHeader: 'boolean',
449
+ targetParentField: '?string',
450
+ targetRecordTypeId: '?string',
451
+ targetSobjectType: '?string',
452
+ type: 'string',
453
+ visualforcePageName: '?string',
454
+ visualforcePageUrl: '?string',
455
+ width: '?number',
456
+ },
457
+ },
458
+ DescribeQuickActionDefaultValue: {
459
+ type: 'DescribeQuickActionDefaultValue',
460
+ props: {
461
+ defaultValue: '?string',
462
+ field: 'string',
463
+ },
464
+ },
465
+ DescribeVisualForceResult: {
466
+ type: 'DescribeVisualForceResult',
467
+ props: {
468
+ domain: 'string',
469
+ },
470
+ },
471
+ ProcessResult: {
472
+ type: 'ProcessResult',
473
+ props: {
474
+ actorIds: ['string'],
475
+ entityId: '?string',
476
+ errors: ['Error'],
477
+ instanceId: '?string',
478
+ instanceStatus: '?string',
479
+ newWorkitemIds: ['?', 'string'],
480
+ success: 'boolean',
481
+ },
482
+ },
483
+ DeleteResult: {
484
+ type: 'DeleteResult',
485
+ props: {
486
+ errors: ['?', 'Error'],
487
+ id: '?string',
488
+ success: 'boolean',
489
+ },
490
+ },
491
+ UndeleteResult: {
492
+ type: 'UndeleteResult',
493
+ props: {
494
+ errors: ['Error'],
495
+ id: '?string',
496
+ success: 'boolean',
497
+ },
498
+ },
499
+ DeleteByExampleResult: {
500
+ type: 'DeleteByExampleResult',
501
+ props: {
502
+ entity: '?sObject',
503
+ errors: ['?', 'Error'],
504
+ rowCount: 'number',
505
+ success: 'boolean',
506
+ },
507
+ },
508
+ EmptyRecycleBinResult: {
509
+ type: 'EmptyRecycleBinResult',
510
+ props: {
511
+ errors: ['Error'],
512
+ id: '?string',
513
+ success: 'boolean',
514
+ },
515
+ },
516
+ LeadConvert: {
517
+ type: 'LeadConvert',
518
+ props: {
519
+ accountId: '?string',
520
+ accountRecord: '?sObject',
521
+ bypassAccountDedupeCheck: '?boolean',
522
+ bypassContactDedupeCheck: '?boolean',
523
+ contactId: '?string',
524
+ contactRecord: '?sObject',
525
+ convertedStatus: 'string',
526
+ doNotCreateOpportunity: 'boolean',
527
+ leadId: 'string',
528
+ opportunityId: '?string',
529
+ opportunityName: '?string',
530
+ opportunityRecord: '?sObject',
531
+ overwriteLeadSource: 'boolean',
532
+ ownerId: '?string',
533
+ sendNotificationEmail: 'boolean',
534
+ },
535
+ },
536
+ LeadConvertResult: {
537
+ type: 'LeadConvertResult',
538
+ props: {
539
+ accountId: '?string',
540
+ contactId: '?string',
541
+ errors: ['Error'],
542
+ leadId: '?string',
543
+ opportunityId: '?string',
544
+ success: 'boolean',
545
+ },
546
+ },
547
+ DescribeSObjectResult: {
548
+ type: 'DescribeSObjectResult',
549
+ props: {
550
+ actionOverrides: ['?', 'ActionOverride'],
551
+ activateable: 'boolean',
552
+ childRelationships: ['ChildRelationship'],
553
+ compactLayoutable: 'boolean',
554
+ createable: 'boolean',
555
+ custom: 'boolean',
556
+ customSetting: 'boolean',
557
+ dataTranslationEnabled: '?boolean',
558
+ deepCloneable: 'boolean',
559
+ defaultImplementation: '?string',
560
+ deletable: 'boolean',
561
+ deprecatedAndHidden: 'boolean',
562
+ feedEnabled: 'boolean',
563
+ fields: ['?', 'Field'],
564
+ hasSubtypes: 'boolean',
565
+ idEnabled: 'boolean',
566
+ implementedBy: '?string',
567
+ implementsInterfaces: '?string',
568
+ isInterface: 'boolean',
569
+ isSubtype: 'boolean',
570
+ keyPrefix: '?string',
571
+ label: 'string',
572
+ labelPlural: 'string',
573
+ layoutable: 'boolean',
574
+ mergeable: 'boolean',
575
+ mruEnabled: 'boolean',
576
+ name: 'string',
577
+ namedLayoutInfos: ['NamedLayoutInfo'],
578
+ networkScopeFieldName: '?string',
579
+ queryable: 'boolean',
580
+ recordTypeInfos: ['RecordTypeInfo'],
581
+ replicateable: 'boolean',
582
+ retrieveable: 'boolean',
583
+ searchLayoutable: '?boolean',
584
+ searchable: 'boolean',
585
+ supportedScopes: ['?', 'ScopeInfo'],
586
+ triggerable: '?boolean',
587
+ undeletable: 'boolean',
588
+ updateable: 'boolean',
589
+ urlDetail: '?string',
590
+ urlEdit: '?string',
591
+ urlNew: '?string',
592
+ },
593
+ },
594
+ DescribeGlobalSObjectResult: {
595
+ type: 'DescribeGlobalSObjectResult',
596
+ props: {
597
+ activateable: 'boolean',
598
+ createable: 'boolean',
599
+ custom: 'boolean',
600
+ customSetting: 'boolean',
601
+ dataTranslationEnabled: '?boolean',
602
+ deepCloneable: 'boolean',
603
+ deletable: 'boolean',
604
+ deprecatedAndHidden: 'boolean',
605
+ feedEnabled: 'boolean',
606
+ hasSubtypes: 'boolean',
607
+ idEnabled: 'boolean',
608
+ isInterface: 'boolean',
609
+ isSubtype: 'boolean',
610
+ keyPrefix: '?string',
611
+ label: 'string',
612
+ labelPlural: 'string',
613
+ layoutable: 'boolean',
614
+ mergeable: 'boolean',
615
+ mruEnabled: 'boolean',
616
+ name: 'string',
617
+ queryable: 'boolean',
618
+ replicateable: 'boolean',
619
+ retrieveable: 'boolean',
620
+ searchable: 'boolean',
621
+ triggerable: 'boolean',
622
+ undeletable: 'boolean',
623
+ updateable: 'boolean',
624
+ },
625
+ },
626
+ ChildRelationship: {
627
+ type: 'ChildRelationship',
628
+ props: {
629
+ cascadeDelete: 'boolean',
630
+ childSObject: 'string',
631
+ deprecatedAndHidden: 'boolean',
632
+ field: 'string',
633
+ junctionIdListNames: ['?', 'string'],
634
+ junctionReferenceTo: ['?', 'string'],
635
+ relationshipName: '?string',
636
+ restrictedDelete: '?boolean',
637
+ },
638
+ },
639
+ DescribeGlobalResult: {
640
+ type: 'DescribeGlobalResult',
641
+ props: {
642
+ encoding: '?string',
643
+ maxBatchSize: 'number',
644
+ sobjects: ['DescribeGlobalSObjectResult'],
645
+ },
646
+ },
647
+ DescribeGlobalTheme: {
648
+ type: 'DescribeGlobalTheme',
649
+ props: {
650
+ global: 'DescribeGlobalResult',
651
+ theme: 'DescribeThemeResult',
652
+ },
653
+ },
654
+ ScopeInfo: {
655
+ type: 'ScopeInfo',
656
+ props: {
657
+ label: 'string',
658
+ name: 'string',
659
+ },
660
+ },
661
+ StringList: {
662
+ type: 'StringList',
663
+ props: {
664
+ values: ['string'],
665
+ },
666
+ },
667
+ ChangeEventHeader: {
668
+ type: 'ChangeEventHeader',
669
+ props: {
670
+ entityName: 'string',
671
+ recordIds: ['string'],
672
+ commitTimestamp: 'number',
673
+ commitNumber: 'number',
674
+ commitUser: 'string',
675
+ diffFields: ['string'],
676
+ changeType: 'string',
677
+ changeOrigin: 'string',
678
+ transactionKey: 'string',
679
+ sequenceNumber: 'number',
680
+ nulledFields: ['string'],
681
+ changedFields: ['string'],
682
+ },
683
+ },
684
+ FilteredLookupInfo: {
685
+ type: 'FilteredLookupInfo',
686
+ props: {
687
+ controllingFields: ['string'],
688
+ dependent: 'boolean',
689
+ optionalFilter: 'boolean',
690
+ },
691
+ },
692
+ Field: {
693
+ type: 'Field',
694
+ props: {
695
+ aggregatable: 'boolean',
696
+ aiPredictionField: 'boolean',
697
+ autoNumber: 'boolean',
698
+ byteLength: 'number',
699
+ calculated: 'boolean',
700
+ calculatedFormula: '?string',
701
+ cascadeDelete: '?boolean',
702
+ caseSensitive: 'boolean',
703
+ compoundFieldName: '?string',
704
+ controllerName: '?string',
705
+ createable: 'boolean',
706
+ custom: 'boolean',
707
+ dataTranslationEnabled: '?boolean',
708
+ defaultValue: '?any',
709
+ defaultValueFormula: '?string',
710
+ defaultedOnCreate: 'boolean',
711
+ dependentPicklist: '?boolean',
712
+ deprecatedAndHidden: 'boolean',
713
+ digits: 'number',
714
+ displayLocationInDecimal: '?boolean',
715
+ encrypted: '?boolean',
716
+ externalId: '?boolean',
717
+ extraTypeInfo: '?string',
718
+ filterable: 'boolean',
719
+ filteredLookupInfo: '?FilteredLookupInfo',
720
+ formulaTreatNullNumberAsZero: '?boolean',
721
+ groupable: 'boolean',
722
+ highScaleNumber: '?boolean',
723
+ htmlFormatted: '?boolean',
724
+ idLookup: 'boolean',
725
+ inlineHelpText: '?string',
726
+ label: 'string',
727
+ length: 'number',
728
+ mask: '?string',
729
+ maskType: '?string',
730
+ name: 'string',
731
+ nameField: 'boolean',
732
+ namePointing: '?boolean',
733
+ nillable: 'boolean',
734
+ permissionable: 'boolean',
735
+ picklistValues: ['?', 'PicklistEntry'],
736
+ polymorphicForeignKey: 'boolean',
737
+ precision: 'number',
738
+ queryByDistance: 'boolean',
739
+ referenceTargetField: '?string',
740
+ referenceTo: ['?', 'string'],
741
+ relationshipName: '?string',
742
+ relationshipOrder: '?number',
743
+ restrictedDelete: '?boolean',
744
+ restrictedPicklist: 'boolean',
745
+ scale: 'number',
746
+ searchPrefilterable: 'boolean',
747
+ soapType: 'string',
748
+ sortable: '?boolean',
749
+ type: 'string',
750
+ unique: 'boolean',
751
+ updateable: 'boolean',
752
+ writeRequiresMasterRead: '?boolean',
753
+ },
754
+ },
755
+ PicklistEntry: {
756
+ type: 'PicklistEntry',
757
+ props: {
758
+ active: 'boolean',
759
+ defaultValue: 'boolean',
760
+ label: '?string',
761
+ validFor: '?string',
762
+ value: 'string',
763
+ },
764
+ },
765
+ DescribeDataCategoryGroupResult: {
766
+ type: 'DescribeDataCategoryGroupResult',
767
+ props: {
768
+ categoryCount: 'number',
769
+ description: 'string',
770
+ label: 'string',
771
+ name: 'string',
772
+ sobject: 'string',
773
+ },
774
+ },
775
+ DescribeDataCategoryGroupStructureResult: {
776
+ type: 'DescribeDataCategoryGroupStructureResult',
777
+ props: {
778
+ description: 'string',
779
+ label: 'string',
780
+ name: 'string',
781
+ sobject: 'string',
782
+ topCategories: ['DataCategory'],
783
+ },
784
+ },
785
+ DataCategoryGroupSobjectTypePair: {
786
+ type: 'DataCategoryGroupSobjectTypePair',
787
+ props: {
788
+ dataCategoryGroupName: 'string',
789
+ sobject: 'string',
790
+ },
791
+ },
792
+ DataCategory: {
793
+ type: 'DataCategory',
794
+ props: {
795
+ childCategories: ['DataCategory'],
796
+ label: 'string',
797
+ name: 'string',
798
+ },
799
+ },
800
+ DescribeDataCategoryMappingResult: {
801
+ type: 'DescribeDataCategoryMappingResult',
802
+ props: {
803
+ dataCategoryGroupId: 'string',
804
+ dataCategoryGroupLabel: 'string',
805
+ dataCategoryGroupName: 'string',
806
+ dataCategoryId: 'string',
807
+ dataCategoryLabel: 'string',
808
+ dataCategoryName: 'string',
809
+ id: 'string',
810
+ mappedEntity: 'string',
811
+ mappedField: 'string',
812
+ },
813
+ },
814
+ KnowledgeSettings: {
815
+ type: 'KnowledgeSettings',
816
+ props: {
817
+ defaultLanguage: '?string',
818
+ knowledgeEnabled: 'boolean',
819
+ languages: ['KnowledgeLanguageItem'],
820
+ },
821
+ },
822
+ KnowledgeLanguageItem: {
823
+ type: 'KnowledgeLanguageItem',
824
+ props: {
825
+ active: 'boolean',
826
+ assigneeId: '?string',
827
+ name: 'string',
828
+ },
829
+ },
830
+ FieldDiff: {
831
+ type: 'FieldDiff',
832
+ props: {
833
+ difference: 'string',
834
+ name: 'string',
835
+ },
836
+ },
837
+ AdditionalInformationMap: {
838
+ type: 'AdditionalInformationMap',
839
+ props: {
840
+ name: 'string',
841
+ value: 'string',
842
+ },
843
+ },
844
+ MatchRecord: {
845
+ type: 'MatchRecord',
846
+ props: {
847
+ additionalInformation: ['AdditionalInformationMap'],
848
+ fieldDiffs: ['FieldDiff'],
849
+ matchConfidence: 'number',
850
+ record: 'sObject',
851
+ },
852
+ },
853
+ MatchResult: {
854
+ type: 'MatchResult',
855
+ props: {
856
+ entityType: 'string',
857
+ errors: ['Error'],
858
+ matchEngine: 'string',
859
+ matchRecords: ['MatchRecord'],
860
+ rule: 'string',
861
+ size: 'number',
862
+ success: 'boolean',
863
+ },
864
+ },
865
+ DuplicateResult: {
866
+ type: 'DuplicateResult',
867
+ props: {
868
+ allowSave: 'boolean',
869
+ duplicateRule: 'string',
870
+ duplicateRuleEntityType: 'string',
871
+ errorMessage: '?string',
872
+ matchResults: ['MatchResult'],
873
+ },
874
+ },
875
+ DuplicateError: {
876
+ type: 'DuplicateError',
877
+ props: {
878
+ duplicateResult: 'DuplicateResult',
879
+ },
880
+ extends: 'Error',
881
+ },
882
+ DescribeNounResult: {
883
+ type: 'DescribeNounResult',
884
+ props: {
885
+ caseValues: ['NameCaseValue'],
886
+ developerName: 'string',
887
+ gender: '?string',
888
+ name: 'string',
889
+ pluralAlias: '?string',
890
+ startsWith: '?string',
891
+ },
892
+ },
893
+ NameCaseValue: {
894
+ type: 'NameCaseValue',
895
+ props: {
896
+ article: '?string',
897
+ caseType: '?string',
898
+ number: '?string',
899
+ possessive: '?string',
900
+ value: '?string',
901
+ },
902
+ },
903
+ FindDuplicatesResult: {
904
+ type: 'FindDuplicatesResult',
905
+ props: {
906
+ duplicateResults: ['DuplicateResult'],
907
+ errors: ['Error'],
908
+ success: 'boolean',
909
+ },
910
+ },
911
+ DescribeAppMenuResult: {
912
+ type: 'DescribeAppMenuResult',
913
+ props: {
914
+ appMenuItems: ['DescribeAppMenuItem'],
915
+ },
916
+ },
917
+ DescribeAppMenuItem: {
918
+ type: 'DescribeAppMenuItem',
919
+ props: {
920
+ colors: ['DescribeColor'],
921
+ content: 'string',
922
+ icons: ['DescribeIcon'],
923
+ label: 'string',
924
+ name: 'string',
925
+ type: 'string',
926
+ url: 'string',
927
+ },
928
+ },
929
+ DescribeThemeResult: {
930
+ type: 'DescribeThemeResult',
931
+ props: {
932
+ themeItems: ['DescribeThemeItem'],
933
+ },
934
+ },
935
+ DescribeThemeItem: {
936
+ type: 'DescribeThemeItem',
937
+ props: {
938
+ colors: ['DescribeColor'],
939
+ icons: ['DescribeIcon'],
940
+ name: 'string',
941
+ },
942
+ },
943
+ DescribeSoftphoneLayoutResult: {
944
+ type: 'DescribeSoftphoneLayoutResult',
945
+ props: {
946
+ callTypes: ['DescribeSoftphoneLayoutCallType'],
947
+ id: 'string',
948
+ name: 'string',
949
+ },
950
+ },
951
+ DescribeSoftphoneLayoutCallType: {
952
+ type: 'DescribeSoftphoneLayoutCallType',
953
+ props: {
954
+ infoFields: ['DescribeSoftphoneLayoutInfoField'],
955
+ name: 'string',
956
+ screenPopOptions: ['DescribeSoftphoneScreenPopOption'],
957
+ screenPopsOpenWithin: '?string',
958
+ sections: ['DescribeSoftphoneLayoutSection'],
959
+ },
960
+ },
961
+ DescribeSoftphoneScreenPopOption: {
962
+ type: 'DescribeSoftphoneScreenPopOption',
963
+ props: {
964
+ matchType: 'string',
965
+ screenPopData: 'string',
966
+ screenPopType: 'string',
967
+ },
968
+ },
969
+ DescribeSoftphoneLayoutInfoField: {
970
+ type: 'DescribeSoftphoneLayoutInfoField',
971
+ props: {
972
+ name: 'string',
973
+ },
974
+ },
975
+ DescribeSoftphoneLayoutSection: {
976
+ type: 'DescribeSoftphoneLayoutSection',
977
+ props: {
978
+ entityApiName: 'string',
979
+ items: ['DescribeSoftphoneLayoutItem'],
980
+ },
981
+ },
982
+ DescribeSoftphoneLayoutItem: {
983
+ type: 'DescribeSoftphoneLayoutItem',
984
+ props: {
985
+ itemApiName: 'string',
986
+ },
987
+ },
988
+ DescribeCompactLayoutsResult: {
989
+ type: 'DescribeCompactLayoutsResult',
990
+ props: {
991
+ compactLayouts: ['DescribeCompactLayout'],
992
+ defaultCompactLayoutId: 'string',
993
+ recordTypeCompactLayoutMappings: ['RecordTypeCompactLayoutMapping'],
994
+ },
995
+ },
996
+ DescribeCompactLayout: {
997
+ type: 'DescribeCompactLayout',
998
+ props: {
999
+ actions: ['DescribeLayoutButton'],
1000
+ fieldItems: ['DescribeLayoutItem'],
1001
+ id: 'string',
1002
+ imageItems: ['DescribeLayoutItem'],
1003
+ label: 'string',
1004
+ name: 'string',
1005
+ objectType: 'string',
1006
+ },
1007
+ },
1008
+ RecordTypeCompactLayoutMapping: {
1009
+ type: 'RecordTypeCompactLayoutMapping',
1010
+ props: {
1011
+ available: 'boolean',
1012
+ compactLayoutId: '?string',
1013
+ compactLayoutName: 'string',
1014
+ recordTypeId: 'string',
1015
+ recordTypeName: 'string',
1016
+ },
1017
+ },
1018
+ DescribePathAssistantsResult: {
1019
+ type: 'DescribePathAssistantsResult',
1020
+ props: {
1021
+ pathAssistants: ['DescribePathAssistant'],
1022
+ },
1023
+ },
1024
+ DescribePathAssistant: {
1025
+ type: 'DescribePathAssistant',
1026
+ props: {
1027
+ active: 'boolean',
1028
+ animationRule: ['?', 'DescribeAnimationRule'],
1029
+ apiName: 'string',
1030
+ label: 'string',
1031
+ pathPicklistField: 'string',
1032
+ picklistsForRecordType: ['?', 'PicklistForRecordType'],
1033
+ recordTypeId: '?string',
1034
+ steps: ['DescribePathAssistantStep'],
1035
+ },
1036
+ },
1037
+ DescribePathAssistantStep: {
1038
+ type: 'DescribePathAssistantStep',
1039
+ props: {
1040
+ closed: 'boolean',
1041
+ converted: 'boolean',
1042
+ fields: ['DescribePathAssistantField'],
1043
+ info: '?string',
1044
+ layoutSection: '?DescribeLayoutSection',
1045
+ picklistLabel: 'string',
1046
+ picklistValue: 'string',
1047
+ won: 'boolean',
1048
+ },
1049
+ },
1050
+ DescribePathAssistantField: {
1051
+ type: 'DescribePathAssistantField',
1052
+ props: {
1053
+ apiName: 'string',
1054
+ label: 'string',
1055
+ readOnly: 'boolean',
1056
+ required: 'boolean',
1057
+ },
1058
+ },
1059
+ DescribeAnimationRule: {
1060
+ type: 'DescribeAnimationRule',
1061
+ props: {
1062
+ animationFrequency: 'string',
1063
+ isActive: 'boolean',
1064
+ recordTypeContext: 'string',
1065
+ recordTypeId: '?string',
1066
+ targetField: 'string',
1067
+ targetFieldChangeToValues: 'string',
1068
+ },
1069
+ },
1070
+ DescribeApprovalLayoutResult: {
1071
+ type: 'DescribeApprovalLayoutResult',
1072
+ props: {
1073
+ approvalLayouts: ['DescribeApprovalLayout'],
1074
+ },
1075
+ },
1076
+ DescribeApprovalLayout: {
1077
+ type: 'DescribeApprovalLayout',
1078
+ props: {
1079
+ id: 'string',
1080
+ label: 'string',
1081
+ layoutItems: ['DescribeLayoutItem'],
1082
+ name: 'string',
1083
+ },
1084
+ },
1085
+ DescribeLayoutResult: {
1086
+ type: 'DescribeLayoutResult',
1087
+ props: {
1088
+ layouts: ['DescribeLayout'],
1089
+ recordTypeMappings: ['RecordTypeMapping'],
1090
+ recordTypeSelectorRequired: 'boolean',
1091
+ },
1092
+ },
1093
+ DescribeLayout: {
1094
+ type: 'DescribeLayout',
1095
+ props: {
1096
+ buttonLayoutSection: '?DescribeLayoutButtonSection',
1097
+ detailLayoutSections: ['DescribeLayoutSection'],
1098
+ editLayoutSections: ['DescribeLayoutSection'],
1099
+ feedView: '?DescribeLayoutFeedView',
1100
+ highlightsPanelLayoutSection: '?DescribeLayoutSection',
1101
+ id: '?string',
1102
+ quickActionList: '?DescribeQuickActionListResult',
1103
+ relatedContent: '?RelatedContent',
1104
+ relatedLists: ['RelatedList'],
1105
+ saveOptions: ['DescribeLayoutSaveOption'],
1106
+ },
1107
+ },
1108
+ DescribeQuickActionListResult: {
1109
+ type: 'DescribeQuickActionListResult',
1110
+ props: {
1111
+ quickActionListItems: ['DescribeQuickActionListItemResult'],
1112
+ },
1113
+ },
1114
+ DescribeQuickActionListItemResult: {
1115
+ type: 'DescribeQuickActionListItemResult',
1116
+ props: {
1117
+ accessLevelRequired: '?string',
1118
+ colors: ['DescribeColor'],
1119
+ iconUrl: '?string',
1120
+ icons: ['DescribeIcon'],
1121
+ label: 'string',
1122
+ miniIconUrl: 'string',
1123
+ quickActionName: 'string',
1124
+ targetSobjectType: '?string',
1125
+ type: 'string',
1126
+ },
1127
+ },
1128
+ DescribeLayoutFeedView: {
1129
+ type: 'DescribeLayoutFeedView',
1130
+ props: {
1131
+ feedFilters: ['DescribeLayoutFeedFilter'],
1132
+ },
1133
+ },
1134
+ DescribeLayoutFeedFilter: {
1135
+ type: 'DescribeLayoutFeedFilter',
1136
+ props: {
1137
+ label: 'string',
1138
+ name: 'string',
1139
+ type: 'string',
1140
+ },
1141
+ },
1142
+ DescribeLayoutSaveOption: {
1143
+ type: 'DescribeLayoutSaveOption',
1144
+ props: {
1145
+ defaultValue: 'boolean',
1146
+ isDisplayed: 'boolean',
1147
+ label: 'string',
1148
+ name: 'string',
1149
+ restHeaderName: 'string',
1150
+ soapHeaderName: 'string',
1151
+ },
1152
+ },
1153
+ DescribeLayoutSection: {
1154
+ type: 'DescribeLayoutSection',
1155
+ props: {
1156
+ collapsed: 'boolean',
1157
+ columns: 'number',
1158
+ heading: '?string',
1159
+ layoutRows: ['DescribeLayoutRow'],
1160
+ layoutSectionId: '?string',
1161
+ parentLayoutId: 'string',
1162
+ rows: 'number',
1163
+ tabOrder: 'string',
1164
+ useCollapsibleSection: 'boolean',
1165
+ useHeading: 'boolean',
1166
+ },
1167
+ },
1168
+ DescribeLayoutButtonSection: {
1169
+ type: 'DescribeLayoutButtonSection',
1170
+ props: {
1171
+ detailButtons: ['DescribeLayoutButton'],
1172
+ },
1173
+ },
1174
+ DescribeLayoutRow: {
1175
+ type: 'DescribeLayoutRow',
1176
+ props: {
1177
+ layoutItems: ['DescribeLayoutItem'],
1178
+ numItems: 'number',
1179
+ },
1180
+ },
1181
+ DescribeLayoutItem: {
1182
+ type: 'DescribeLayoutItem',
1183
+ props: {
1184
+ editableForNew: 'boolean',
1185
+ editableForUpdate: 'boolean',
1186
+ label: '?string',
1187
+ layoutComponents: ['DescribeLayoutComponent'],
1188
+ placeholder: 'boolean',
1189
+ required: 'boolean',
1190
+ },
1191
+ },
1192
+ DescribeLayoutButton: {
1193
+ type: 'DescribeLayoutButton',
1194
+ props: {
1195
+ behavior: '?string',
1196
+ colors: ['DescribeColor'],
1197
+ content: '?string',
1198
+ contentSource: '?string',
1199
+ custom: 'boolean',
1200
+ encoding: '?string',
1201
+ height: '?number',
1202
+ icons: ['DescribeIcon'],
1203
+ label: '?string',
1204
+ menubar: '?boolean',
1205
+ name: '?string',
1206
+ overridden: 'boolean',
1207
+ resizeable: '?boolean',
1208
+ scrollbars: '?boolean',
1209
+ showsLocation: '?boolean',
1210
+ showsStatus: '?boolean',
1211
+ toolbar: '?boolean',
1212
+ url: '?string',
1213
+ width: '?number',
1214
+ windowPosition: '?string',
1215
+ },
1216
+ },
1217
+ DescribeLayoutComponent: {
1218
+ type: 'DescribeLayoutComponent',
1219
+ props: {
1220
+ displayLines: 'number',
1221
+ tabOrder: 'number',
1222
+ type: 'string',
1223
+ value: '?string',
1224
+ },
1225
+ },
1226
+ FieldComponent: {
1227
+ type: 'FieldComponent',
1228
+ props: {
1229
+ field: 'Field',
1230
+ },
1231
+ extends: 'DescribeLayoutComponent',
1232
+ },
1233
+ FieldLayoutComponent: {
1234
+ type: 'FieldLayoutComponent',
1235
+ props: {
1236
+ components: ['DescribeLayoutComponent'],
1237
+ fieldType: 'string',
1238
+ },
1239
+ extends: 'DescribeLayoutComponent',
1240
+ },
1241
+ VisualforcePage: {
1242
+ type: 'VisualforcePage',
1243
+ props: {
1244
+ showLabel: 'boolean',
1245
+ showScrollbars: 'boolean',
1246
+ suggestedHeight: 'string',
1247
+ suggestedWidth: 'string',
1248
+ url: 'string',
1249
+ },
1250
+ extends: 'DescribeLayoutComponent',
1251
+ },
1252
+ Canvas: {
1253
+ type: 'Canvas',
1254
+ props: {
1255
+ displayLocation: 'string',
1256
+ referenceId: 'string',
1257
+ showLabel: 'boolean',
1258
+ showScrollbars: 'boolean',
1259
+ suggestedHeight: 'string',
1260
+ suggestedWidth: 'string',
1261
+ },
1262
+ extends: 'DescribeLayoutComponent',
1263
+ },
1264
+ ReportChartComponent: {
1265
+ type: 'ReportChartComponent',
1266
+ props: {
1267
+ cacheData: 'boolean',
1268
+ contextFilterableField: 'string',
1269
+ error: 'string',
1270
+ hideOnError: 'boolean',
1271
+ includeContext: 'boolean',
1272
+ showTitle: 'boolean',
1273
+ size: 'string',
1274
+ },
1275
+ extends: 'DescribeLayoutComponent',
1276
+ },
1277
+ AnalyticsCloudComponent: {
1278
+ type: 'AnalyticsCloudComponent',
1279
+ props: {
1280
+ error: 'string',
1281
+ filter: 'string',
1282
+ height: 'string',
1283
+ hideOnError: 'boolean',
1284
+ showSharing: 'boolean',
1285
+ showTitle: 'boolean',
1286
+ width: 'string',
1287
+ },
1288
+ extends: 'DescribeLayoutComponent',
1289
+ },
1290
+ CustomLinkComponent: {
1291
+ type: 'CustomLinkComponent',
1292
+ props: {
1293
+ customLink: 'DescribeLayoutButton',
1294
+ },
1295
+ extends: 'DescribeLayoutComponent',
1296
+ },
1297
+ NamedLayoutInfo: {
1298
+ type: 'NamedLayoutInfo',
1299
+ props: {
1300
+ name: 'string',
1301
+ },
1302
+ },
1303
+ RecordTypeInfo: {
1304
+ type: 'RecordTypeInfo',
1305
+ props: {
1306
+ active: 'boolean',
1307
+ available: 'boolean',
1308
+ defaultRecordTypeMapping: 'boolean',
1309
+ developerName: 'string',
1310
+ master: 'boolean',
1311
+ name: 'string',
1312
+ recordTypeId: '?string',
1313
+ },
1314
+ },
1315
+ RecordTypeMapping: {
1316
+ type: 'RecordTypeMapping',
1317
+ props: {
1318
+ active: 'boolean',
1319
+ available: 'boolean',
1320
+ defaultRecordTypeMapping: 'boolean',
1321
+ developerName: 'string',
1322
+ layoutId: 'string',
1323
+ master: 'boolean',
1324
+ name: 'string',
1325
+ picklistsForRecordType: ['?', 'PicklistForRecordType'],
1326
+ recordTypeId: '?string',
1327
+ },
1328
+ },
1329
+ PicklistForRecordType: {
1330
+ type: 'PicklistForRecordType',
1331
+ props: {
1332
+ picklistName: 'string',
1333
+ picklistValues: ['?', 'PicklistEntry'],
1334
+ },
1335
+ },
1336
+ RelatedContent: {
1337
+ type: 'RelatedContent',
1338
+ props: {
1339
+ relatedContentItems: ['DescribeRelatedContentItem'],
1340
+ },
1341
+ },
1342
+ DescribeRelatedContentItem: {
1343
+ type: 'DescribeRelatedContentItem',
1344
+ props: {
1345
+ describeLayoutItem: 'DescribeLayoutItem',
1346
+ },
1347
+ },
1348
+ RelatedList: {
1349
+ type: 'RelatedList',
1350
+ props: {
1351
+ accessLevelRequiredForCreate: '?string',
1352
+ buttons: ['?', 'DescribeLayoutButton'],
1353
+ columns: ['RelatedListColumn'],
1354
+ custom: 'boolean',
1355
+ field: '?string',
1356
+ label: 'string',
1357
+ limitRows: 'number',
1358
+ name: 'string',
1359
+ sobject: '?string',
1360
+ sort: ['RelatedListSort'],
1361
+ },
1362
+ },
1363
+ RelatedListColumn: {
1364
+ type: 'RelatedListColumn',
1365
+ props: {
1366
+ field: '?string',
1367
+ fieldApiName: 'string',
1368
+ format: '?string',
1369
+ label: 'string',
1370
+ lookupId: '?string',
1371
+ name: 'string',
1372
+ sortable: 'boolean',
1373
+ },
1374
+ },
1375
+ RelatedListSort: {
1376
+ type: 'RelatedListSort',
1377
+ props: {
1378
+ ascending: 'boolean',
1379
+ column: 'string',
1380
+ },
1381
+ },
1382
+ EmailFileAttachment: {
1383
+ type: 'EmailFileAttachment',
1384
+ props: {
1385
+ body: '?string',
1386
+ contentType: '?string',
1387
+ fileName: 'string',
1388
+ id: '?string',
1389
+ inline: '?boolean',
1390
+ },
1391
+ },
1392
+ Email: {
1393
+ type: 'Email',
1394
+ props: {
1395
+ bccSender: '?boolean',
1396
+ emailPriority: '?string',
1397
+ replyTo: '?string',
1398
+ saveAsActivity: '?boolean',
1399
+ senderDisplayName: '?string',
1400
+ subject: '?string',
1401
+ useSignature: '?boolean',
1402
+ },
1403
+ },
1404
+ MassEmailMessage: {
1405
+ type: 'MassEmailMessage',
1406
+ props: {
1407
+ description: '?string',
1408
+ targetObjectIds: '?string',
1409
+ templateId: 'string',
1410
+ whatIds: '?string',
1411
+ },
1412
+ extends: 'Email',
1413
+ },
1414
+ SingleEmailMessage: {
1415
+ type: 'SingleEmailMessage',
1416
+ props: {
1417
+ bccAddresses: '?string',
1418
+ ccAddresses: '?string',
1419
+ charset: '?string',
1420
+ documentAttachments: ['string'],
1421
+ entityAttachments: ['string'],
1422
+ fileAttachments: ['EmailFileAttachment'],
1423
+ htmlBody: '?string',
1424
+ inReplyTo: '?string',
1425
+ optOutPolicy: '?string',
1426
+ orgWideEmailAddressId: '?string',
1427
+ plainTextBody: '?string',
1428
+ references: '?string',
1429
+ targetObjectId: '?string',
1430
+ templateId: '?string',
1431
+ templateName: '?string',
1432
+ toAddresses: '?string',
1433
+ treatBodiesAsTemplate: '?boolean',
1434
+ treatTargetObjectAsRecipient: '?boolean',
1435
+ whatId: '?string',
1436
+ },
1437
+ extends: 'Email',
1438
+ },
1439
+ SendEmailResult: {
1440
+ type: 'SendEmailResult',
1441
+ props: {
1442
+ errors: ['SendEmailError'],
1443
+ success: 'boolean',
1444
+ },
1445
+ },
1446
+ ListViewColumn: {
1447
+ type: 'ListViewColumn',
1448
+ props: {
1449
+ ascendingLabel: '?string',
1450
+ descendingLabel: '?string',
1451
+ fieldNameOrPath: 'string',
1452
+ hidden: 'boolean',
1453
+ label: 'string',
1454
+ searchable: 'boolean',
1455
+ selectListItem: 'string',
1456
+ sortDirection: '?string',
1457
+ sortIndex: '?number',
1458
+ sortable: 'boolean',
1459
+ type: 'string',
1460
+ },
1461
+ },
1462
+ ListViewOrderBy: {
1463
+ type: 'ListViewOrderBy',
1464
+ props: {
1465
+ fieldNameOrPath: 'string',
1466
+ nullsPosition: '?string',
1467
+ sortDirection: '?string',
1468
+ },
1469
+ },
1470
+ DescribeSoqlListView: {
1471
+ type: 'DescribeSoqlListView',
1472
+ props: {
1473
+ columns: ['ListViewColumn'],
1474
+ id: 'string',
1475
+ orderBy: ['ListViewOrderBy'],
1476
+ query: 'string',
1477
+ relatedEntityId: '?string',
1478
+ scope: '?string',
1479
+ scopeEntityId: '?string',
1480
+ sobjectType: 'string',
1481
+ whereCondition: '?SoqlWhereCondition',
1482
+ },
1483
+ },
1484
+ DescribeSoqlListViewsRequest: {
1485
+ type: 'DescribeSoqlListViewsRequest',
1486
+ props: {
1487
+ listViewParams: ['DescribeSoqlListViewParams'],
1488
+ },
1489
+ },
1490
+ DescribeSoqlListViewParams: {
1491
+ type: 'DescribeSoqlListViewParams',
1492
+ props: {
1493
+ developerNameOrId: 'string',
1494
+ sobjectType: '?string',
1495
+ },
1496
+ },
1497
+ DescribeSoqlListViewResult: {
1498
+ type: 'DescribeSoqlListViewResult',
1499
+ props: {
1500
+ describeSoqlListViews: ['DescribeSoqlListView'],
1501
+ },
1502
+ },
1503
+ ExecuteListViewRequest: {
1504
+ type: 'ExecuteListViewRequest',
1505
+ props: {
1506
+ developerNameOrId: 'string',
1507
+ limit: '?number',
1508
+ offset: '?number',
1509
+ orderBy: ['ListViewOrderBy'],
1510
+ sobjectType: 'string',
1511
+ },
1512
+ },
1513
+ ExecuteListViewResult: {
1514
+ type: 'ExecuteListViewResult',
1515
+ props: {
1516
+ columns: ['ListViewColumn'],
1517
+ developerName: 'string',
1518
+ done: 'boolean',
1519
+ id: 'string',
1520
+ label: 'string',
1521
+ records: ['ListViewRecord'],
1522
+ size: 'number',
1523
+ },
1524
+ },
1525
+ ListViewRecord: {
1526
+ type: 'ListViewRecord',
1527
+ props: {
1528
+ columns: ['ListViewRecordColumn'],
1529
+ },
1530
+ },
1531
+ ListViewRecordColumn: {
1532
+ type: 'ListViewRecordColumn',
1533
+ props: {
1534
+ fieldNameOrPath: 'string',
1535
+ value: '?string',
1536
+ },
1537
+ },
1538
+ SoqlWhereCondition: {
1539
+ type: 'SoqlWhereCondition',
1540
+ props: {},
1541
+ },
1542
+ SoqlCondition: {
1543
+ type: 'SoqlCondition',
1544
+ props: {
1545
+ field: 'string',
1546
+ operator: 'string',
1547
+ values: ['string'],
1548
+ },
1549
+ extends: 'SoqlWhereCondition',
1550
+ },
1551
+ SoqlNotCondition: {
1552
+ type: 'SoqlNotCondition',
1553
+ props: {
1554
+ condition: 'SoqlWhereCondition',
1555
+ },
1556
+ extends: 'SoqlWhereCondition',
1557
+ },
1558
+ SoqlConditionGroup: {
1559
+ type: 'SoqlConditionGroup',
1560
+ props: {
1561
+ conditions: ['SoqlWhereCondition'],
1562
+ conjunction: 'string',
1563
+ },
1564
+ extends: 'SoqlWhereCondition',
1565
+ },
1566
+ SoqlSubQueryCondition: {
1567
+ type: 'SoqlSubQueryCondition',
1568
+ props: {
1569
+ field: 'string',
1570
+ operator: 'string',
1571
+ subQuery: 'string',
1572
+ },
1573
+ extends: 'SoqlWhereCondition',
1574
+ },
1575
+ DescribeSearchLayoutResult: {
1576
+ type: 'DescribeSearchLayoutResult',
1577
+ props: {
1578
+ errorMsg: '?string',
1579
+ label: '?string',
1580
+ limitRows: '?number',
1581
+ objectType: 'string',
1582
+ searchColumns: ['?', 'DescribeColumn'],
1583
+ },
1584
+ },
1585
+ DescribeColumn: {
1586
+ type: 'DescribeColumn',
1587
+ props: {
1588
+ field: 'string',
1589
+ format: '?string',
1590
+ label: 'string',
1591
+ name: 'string',
1592
+ },
1593
+ },
1594
+ DescribeSearchScopeOrderResult: {
1595
+ type: 'DescribeSearchScopeOrderResult',
1596
+ props: {
1597
+ keyPrefix: 'string',
1598
+ name: 'string',
1599
+ },
1600
+ },
1601
+ DescribeSearchableEntityResult: {
1602
+ type: 'DescribeSearchableEntityResult',
1603
+ props: {
1604
+ label: 'string',
1605
+ name: 'string',
1606
+ pluralLabel: 'string',
1607
+ },
1608
+ },
1609
+ DescribeTabSetResult: {
1610
+ type: 'DescribeTabSetResult',
1611
+ props: {
1612
+ description: 'string',
1613
+ label: 'string',
1614
+ logoUrl: 'string',
1615
+ namespace: '?string',
1616
+ selected: 'boolean',
1617
+ tabSetId: 'string',
1618
+ tabs: ['DescribeTab'],
1619
+ },
1620
+ },
1621
+ DescribeTab: {
1622
+ type: 'DescribeTab',
1623
+ props: {
1624
+ colors: ['DescribeColor'],
1625
+ custom: 'boolean',
1626
+ iconUrl: 'string',
1627
+ icons: ['DescribeIcon'],
1628
+ label: 'string',
1629
+ miniIconUrl: 'string',
1630
+ name: 'string',
1631
+ sobjectName: '?string',
1632
+ url: 'string',
1633
+ },
1634
+ },
1635
+ DescribeColor: {
1636
+ type: 'DescribeColor',
1637
+ props: {
1638
+ color: 'string',
1639
+ context: 'string',
1640
+ theme: 'string',
1641
+ },
1642
+ },
1643
+ DescribeIcon: {
1644
+ type: 'DescribeIcon',
1645
+ props: {
1646
+ contentType: 'string',
1647
+ height: '?number',
1648
+ theme: 'string',
1649
+ url: 'string',
1650
+ width: '?number',
1651
+ },
1652
+ },
1653
+ ActionOverride: {
1654
+ type: 'ActionOverride',
1655
+ props: {
1656
+ formFactor: 'string',
1657
+ isAvailableInTouch: 'boolean',
1658
+ name: 'string',
1659
+ pageId: 'string',
1660
+ url: '?string',
1661
+ },
1662
+ },
1663
+ RenderEmailTemplateRequest: {
1664
+ type: 'RenderEmailTemplateRequest',
1665
+ props: {
1666
+ escapeHtmlInMergeFields: '?boolean',
1667
+ templateBodies: 'string',
1668
+ whatId: '?string',
1669
+ whoId: '?string',
1670
+ },
1671
+ },
1672
+ RenderEmailTemplateBodyResult: {
1673
+ type: 'RenderEmailTemplateBodyResult',
1674
+ props: {
1675
+ errors: ['RenderEmailTemplateError'],
1676
+ mergedBody: '?string',
1677
+ success: 'boolean',
1678
+ },
1679
+ },
1680
+ RenderEmailTemplateResult: {
1681
+ type: 'RenderEmailTemplateResult',
1682
+ props: {
1683
+ bodyResults: '?RenderEmailTemplateBodyResult',
1684
+ errors: ['Error'],
1685
+ success: 'boolean',
1686
+ },
1687
+ },
1688
+ RenderStoredEmailTemplateRequest: {
1689
+ type: 'RenderStoredEmailTemplateRequest',
1690
+ props: {
1691
+ attachmentRetrievalOption: '?string',
1692
+ templateId: 'string',
1693
+ updateTemplateUsage: '?boolean',
1694
+ whatId: '?string',
1695
+ whoId: '?string',
1696
+ },
1697
+ },
1698
+ RenderStoredEmailTemplateResult: {
1699
+ type: 'RenderStoredEmailTemplateResult',
1700
+ props: {
1701
+ errors: ['Error'],
1702
+ renderedEmail: '?SingleEmailMessage',
1703
+ success: 'boolean',
1704
+ },
1705
+ },
1706
+ LimitInfo: {
1707
+ type: 'LimitInfo',
1708
+ props: {
1709
+ current: 'number',
1710
+ limit: 'number',
1711
+ type: 'string',
1712
+ },
1713
+ },
1714
+ OwnerChangeOption: {
1715
+ type: 'OwnerChangeOption',
1716
+ props: {
1717
+ type: 'string',
1718
+ execute: 'boolean',
1719
+ },
1720
+ },
1721
+ ApiFault: {
1722
+ type: 'ApiFault',
1723
+ props: {
1724
+ exceptionCode: 'string',
1725
+ exceptionMessage: 'string',
1726
+ extendedErrorDetails: ['?', 'ExtendedErrorDetails'],
1727
+ },
1728
+ },
1729
+ ApiQueryFault: {
1730
+ type: 'ApiQueryFault',
1731
+ props: {
1732
+ row: 'number',
1733
+ column: 'number',
1734
+ },
1735
+ extends: 'ApiFault',
1736
+ },
1737
+ LoginFault: {
1738
+ type: 'LoginFault',
1739
+ props: {},
1740
+ extends: 'ApiFault',
1741
+ },
1742
+ InvalidQueryLocatorFault: {
1743
+ type: 'InvalidQueryLocatorFault',
1744
+ props: {},
1745
+ extends: 'ApiFault',
1746
+ },
1747
+ InvalidNewPasswordFault: {
1748
+ type: 'InvalidNewPasswordFault',
1749
+ props: {},
1750
+ extends: 'ApiFault',
1751
+ },
1752
+ InvalidOldPasswordFault: {
1753
+ type: 'InvalidOldPasswordFault',
1754
+ props: {},
1755
+ extends: 'ApiFault',
1756
+ },
1757
+ InvalidIdFault: {
1758
+ type: 'InvalidIdFault',
1759
+ props: {},
1760
+ extends: 'ApiFault',
1761
+ },
1762
+ UnexpectedErrorFault: {
1763
+ type: 'UnexpectedErrorFault',
1764
+ props: {},
1765
+ extends: 'ApiFault',
1766
+ },
1767
+ InvalidFieldFault: {
1768
+ type: 'InvalidFieldFault',
1769
+ props: {},
1770
+ extends: 'ApiQueryFault',
1771
+ },
1772
+ InvalidSObjectFault: {
1773
+ type: 'InvalidSObjectFault',
1774
+ props: {},
1775
+ extends: 'ApiQueryFault',
1776
+ },
1777
+ MalformedQueryFault: {
1778
+ type: 'MalformedQueryFault',
1779
+ props: {},
1780
+ extends: 'ApiQueryFault',
1781
+ },
1782
+ MalformedSearchFault: {
1783
+ type: 'MalformedSearchFault',
1784
+ props: {},
1785
+ extends: 'ApiQueryFault',
1786
+ },
1787
+ };