@salesforce/lds-worker-api 0.1.0-dev1

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 (120) hide show
  1. package/LICENSE.txt +82 -0
  2. package/README.md +9 -0
  3. package/dist/sfdc/es/ldsWorkerApi.js +1374 -0
  4. package/dist/sfdc/es/types/cachePurging.d.ts +50 -0
  5. package/dist/sfdc/es/types/customLuvioAdapter.d.ts +13 -0
  6. package/dist/sfdc/es/types/customOneStoreAdapter.d.ts +21 -0
  7. package/dist/sfdc/es/types/draftQueueImplementation.d.ts +2 -0
  8. package/dist/sfdc/es/types/executeAdapter.d.ts +103 -0
  9. package/dist/sfdc/es/types/language.d.ts +13 -0
  10. package/dist/sfdc/es/types/lightningAdapterApi.d.ts +15 -0
  11. package/dist/sfdc/es/types/main.d.ts +11 -0
  12. package/dist/sfdc/es/types/nimbusDraftQueue.d.ts +6 -0
  13. package/dist/sfdc/es/types/primingApi.d.ts +25 -0
  14. package/dist/sfdc/es/types/responses.d.ts +44 -0
  15. package/dist/sfdc/es/types/standalone-stubs/instrumentation.d.ts +21 -0
  16. package/dist/sfdc/es/types/standalone-stubs/o11y.d.ts +23 -0
  17. package/dist/sfdc/es/types/standalone-stubs/unwrap.d.ts +1 -0
  18. package/dist/sfdc/es/types/standalone.d.ts +1 -0
  19. package/dist/sfdc/es/types/ttl.d.ts +2 -0
  20. package/dist/standalone/es/lds-worker-api.js +134127 -0
  21. package/dist/standalone/es/types/cachePurging.d.ts +50 -0
  22. package/dist/standalone/es/types/customLuvioAdapter.d.ts +13 -0
  23. package/dist/standalone/es/types/customOneStoreAdapter.d.ts +21 -0
  24. package/dist/standalone/es/types/draftQueueImplementation.d.ts +2 -0
  25. package/dist/standalone/es/types/executeAdapter.d.ts +103 -0
  26. package/dist/standalone/es/types/language.d.ts +13 -0
  27. package/dist/standalone/es/types/lightningAdapterApi.d.ts +15 -0
  28. package/dist/standalone/es/types/main.d.ts +11 -0
  29. package/dist/standalone/es/types/nimbusDraftQueue.d.ts +6 -0
  30. package/dist/standalone/es/types/primingApi.d.ts +25 -0
  31. package/dist/standalone/es/types/responses.d.ts +44 -0
  32. package/dist/standalone/es/types/standalone-stubs/instrumentation.d.ts +21 -0
  33. package/dist/standalone/es/types/standalone-stubs/o11y.d.ts +23 -0
  34. package/dist/standalone/es/types/standalone-stubs/unwrap.d.ts +1 -0
  35. package/dist/standalone/es/types/standalone.d.ts +1 -0
  36. package/dist/standalone/es/types/ttl.d.ts +2 -0
  37. package/dist/standalone/umd/lds-worker-api.js +134154 -0
  38. package/dist/standalone/umd/types/cachePurging.d.ts +50 -0
  39. package/dist/standalone/umd/types/customLuvioAdapter.d.ts +13 -0
  40. package/dist/standalone/umd/types/customOneStoreAdapter.d.ts +21 -0
  41. package/dist/standalone/umd/types/draftQueueImplementation.d.ts +2 -0
  42. package/dist/standalone/umd/types/executeAdapter.d.ts +103 -0
  43. package/dist/standalone/umd/types/language.d.ts +13 -0
  44. package/dist/standalone/umd/types/lightningAdapterApi.d.ts +15 -0
  45. package/dist/standalone/umd/types/main.d.ts +11 -0
  46. package/dist/standalone/umd/types/nimbusDraftQueue.d.ts +6 -0
  47. package/dist/standalone/umd/types/primingApi.d.ts +25 -0
  48. package/dist/standalone/umd/types/responses.d.ts +44 -0
  49. package/dist/standalone/umd/types/standalone-stubs/instrumentation.d.ts +21 -0
  50. package/dist/standalone/umd/types/standalone-stubs/o11y.d.ts +23 -0
  51. package/dist/standalone/umd/types/standalone-stubs/unwrap.d.ts +1 -0
  52. package/dist/standalone/umd/types/standalone.d.ts +1 -0
  53. package/dist/standalone/umd/types/ttl.d.ts +2 -0
  54. package/package.json +78 -0
  55. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/adapter-testcase.schema.json +83 -0
  56. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/name-displayValue-response.adapter-snapshot.result.json +61 -0
  57. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/name-displayValue.adapter-testcase.json +67 -0
  58. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/objectInfos/Aircraft-objectInfo.network-mock.json +582 -0
  59. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/objectInfos/Pilot-objectInfo.network-mock.json +367 -0
  60. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue-nonIntl-fallback-response.adapter-snapshot.result.json +90 -0
  61. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue-nonIntl-fallback.adapter-testcase.json +25 -0
  62. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue-response.adapter-snapshot.result.json +90 -0
  63. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue.adapter-testcase.json +24 -0
  64. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-assignedtome.adapter-testcase.json +37 -0
  65. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-baseline.adapter-testcase.json +27 -0
  66. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-child-relationship.adapter-testcase.json +32 -0
  67. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-parent-relationship.adapter-testcase.json +32 -0
  68. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-reserved-entity-name.adapter-testcase.json +28 -0
  69. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/assignedtome.adapter-testcase.json +36 -0
  70. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/date-predicate.adapter-testcase.json +26 -0
  71. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/graphql-get-errors.adapter-testcase.json +26 -0
  72. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/l2DataSet.js +252 -0
  73. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-baseline.adapter-testcase.json +21 -0
  74. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby-allfields-spanningfield-500records.adapter-testcase.json +28 -0
  75. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby-allfields-spanningfield.adapter-testcase.json +28 -0
  76. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby-allfields.adapter-testcase.json +21 -0
  77. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby.adapter-testcase.json +21 -0
  78. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where.adapter-testcase.json +21 -0
  79. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/multiple-recordquery.adapter-testcase.json +31 -0
  80. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/Account.network-mock.json +2920 -0
  81. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/AssignedResource.network-mock.json +928 -0
  82. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/Case.network-mock.json +2008 -0
  83. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/ServiceAppointment.network-mock.json +3123 -0
  84. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/ServiceResource.network-mock.json +1412 -0
  85. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/TimeSheetEntry.network-mock.json +1027 -0
  86. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/User.network-mock.json +7031 -0
  87. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/WorkOrder.network-mock.json +3216 -0
  88. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/WorkType.network-mock.json +986 -0
  89. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectinfo.adapter-testcase.json +21 -0
  90. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/polyfield.adapter-testcase.json +46 -0
  91. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/polyquery-and-operator.adapter-testcase.json +31 -0
  92. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-baseline.server-response.network-mock.json +416 -0
  93. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-child-relationship.server-response.network-mock.json +103 -0
  94. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-parent-relationship.server-response.network-mock.json +93 -0
  95. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-reserved-entity-name.server-response.network-mock.json +97 -0
  96. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/assignedtome.server-response.network-mock.json +666 -0
  97. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/date-predicate.server-response.network-mock.json +56 -0
  98. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/graphql-get-errors.server-response.network-mock.json +19 -0
  99. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/multiple-recordquery.server-response.network-mock.json +201 -0
  100. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/objectinfos.server-response.network-mock.json +210 -0
  101. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/polyfield.server-response.network-mock.json +724 -0
  102. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/polyquery-and-operator.server-response.network-mock.json +103 -0
  103. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-assignedtome.adapter-snapshot.result.json +72 -0
  104. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-baseline.adapter-snapshot.result.json +245 -0
  105. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-child-relationship.adapter-snapshot.result.json +30 -0
  106. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-parent-relationship.adapter-snapshot.result.json +26 -0
  107. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-reserved-entity-name.adapter-snapshot.result.json +32 -0
  108. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/assignedtome.adapter-snapshot.result.json +70 -0
  109. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/date-predicate.adapter-snapshot.result.json +18 -0
  110. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/graphql-get-errors.adapter-snapshot.result.json +16 -0
  111. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/multiple-recordquery.adapter-snapshot.result.json +53 -0
  112. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/objectinfos.adapter-snapshot.result.json +170 -0
  113. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/polyfield.adapter-snapshot.result.json +29 -0
  114. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/polyquery-and-operator.adapter-snapshot.result.json +23 -0
  115. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/adapter-snapshot.result.json +9 -0
  116. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-metadata-fails-cache-only-adapter-call.adapter-testcase.json +16 -0
  117. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-metadata-fails-cache-only-adapter-call.l2DataSet.tsv +2 -0
  118. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-version-fails-cache-only-adapter-call.adapter-testcase.json +16 -0
  119. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-version-fails-cache-only-adapter-call.l2DataSet.tsv +2 -0
  120. package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/network-mock.schema.json +14 -0
@@ -0,0 +1,928 @@
1
+ {
2
+ "body": {
3
+ "apiName": "AssignedResource",
4
+ "associateEntityType": null,
5
+ "associateParentEntity": null,
6
+ "childRelationships": [
7
+ {
8
+ "childObjectApiName": "ActivityHistory",
9
+ "fieldName": "WhatId",
10
+ "junctionIdListNames": [],
11
+ "junctionReferenceTo": [],
12
+ "relationshipName": "ActivityHistories"
13
+ },
14
+ {
15
+ "childObjectApiName": "AssignedResourceFeed",
16
+ "fieldName": "ParentId",
17
+ "junctionIdListNames": [],
18
+ "junctionReferenceTo": [],
19
+ "relationshipName": "Feeds"
20
+ },
21
+ {
22
+ "childObjectApiName": "AttachedContentDocument",
23
+ "fieldName": "LinkedEntityId",
24
+ "junctionIdListNames": [],
25
+ "junctionReferenceTo": [],
26
+ "relationshipName": "AttachedContentDocuments"
27
+ },
28
+ {
29
+ "childObjectApiName": "CombinedAttachment",
30
+ "fieldName": "ParentId",
31
+ "junctionIdListNames": [],
32
+ "junctionReferenceTo": [],
33
+ "relationshipName": "CombinedAttachments"
34
+ },
35
+ {
36
+ "childObjectApiName": "ContentDocumentLink",
37
+ "fieldName": "LinkedEntityId",
38
+ "junctionIdListNames": [],
39
+ "junctionReferenceTo": [],
40
+ "relationshipName": "ContentDocumentLinks"
41
+ },
42
+ {
43
+ "childObjectApiName": "EmailMessage",
44
+ "fieldName": "RelatedToId",
45
+ "junctionIdListNames": [],
46
+ "junctionReferenceTo": [],
47
+ "relationshipName": "Emails"
48
+ },
49
+ {
50
+ "childObjectApiName": "EntitySubscription",
51
+ "fieldName": "ParentId",
52
+ "junctionIdListNames": [],
53
+ "junctionReferenceTo": [],
54
+ "relationshipName": "FeedSubscriptionsForEntity"
55
+ },
56
+ {
57
+ "childObjectApiName": "Event",
58
+ "fieldName": "WhatId",
59
+ "junctionIdListNames": [],
60
+ "junctionReferenceTo": [],
61
+ "relationshipName": "Events"
62
+ },
63
+ {
64
+ "childObjectApiName": "OpenActivity",
65
+ "fieldName": "WhatId",
66
+ "junctionIdListNames": [],
67
+ "junctionReferenceTo": [],
68
+ "relationshipName": "OpenActivities"
69
+ },
70
+ {
71
+ "childObjectApiName": "ProcessInstance",
72
+ "fieldName": "TargetObjectId",
73
+ "junctionIdListNames": [],
74
+ "junctionReferenceTo": [],
75
+ "relationshipName": "ProcessInstances"
76
+ },
77
+ {
78
+ "childObjectApiName": "ProcessInstanceHistory",
79
+ "fieldName": "TargetObjectId",
80
+ "junctionIdListNames": [],
81
+ "junctionReferenceTo": [],
82
+ "relationshipName": "ProcessSteps"
83
+ },
84
+ {
85
+ "childObjectApiName": "RecordAction",
86
+ "fieldName": "RecordId",
87
+ "junctionIdListNames": [],
88
+ "junctionReferenceTo": [],
89
+ "relationshipName": "RecordActions"
90
+ },
91
+ {
92
+ "childObjectApiName": "RecordActionHistory",
93
+ "fieldName": "ParentRecordId",
94
+ "junctionIdListNames": [],
95
+ "junctionReferenceTo": [],
96
+ "relationshipName": "RecordActionHistories"
97
+ },
98
+ {
99
+ "childObjectApiName": "Task",
100
+ "fieldName": "WhatId",
101
+ "junctionIdListNames": [],
102
+ "junctionReferenceTo": [],
103
+ "relationshipName": "Tasks"
104
+ }
105
+ ],
106
+ "compactLayoutable": true,
107
+ "createable": true,
108
+ "custom": false,
109
+ "defaultRecordTypeId": null,
110
+ "deletable": true,
111
+ "dependentFields": {},
112
+ "eTag": "ffd65d1a6528e81da973d8139cc29612",
113
+ "feedEnabled": true,
114
+ "fields": {
115
+ "ActualTravelTime": {
116
+ "apiName": "ActualTravelTime",
117
+ "calculated": false,
118
+ "compound": false,
119
+ "compoundComponentName": null,
120
+ "compoundFieldName": null,
121
+ "controllerName": null,
122
+ "controllingFields": [],
123
+ "createable": false,
124
+ "custom": false,
125
+ "dataType": "Double",
126
+ "externalId": false,
127
+ "extraTypeInfo": null,
128
+ "filterable": true,
129
+ "filteredLookupInfo": null,
130
+ "highScaleNumber": false,
131
+ "htmlFormatted": false,
132
+ "inlineHelpText": null,
133
+ "label": "Actual Travel Time (Minutes)",
134
+ "length": 0,
135
+ "maskType": null,
136
+ "nameField": false,
137
+ "polymorphicForeignKey": false,
138
+ "precision": 18,
139
+ "reference": false,
140
+ "referenceTargetField": null,
141
+ "referenceToInfos": [],
142
+ "relationshipName": null,
143
+ "required": false,
144
+ "scale": 2,
145
+ "searchPrefilterable": false,
146
+ "sortable": true,
147
+ "unique": false,
148
+ "updateable": false
149
+ },
150
+ "AssignedResourceNumber": {
151
+ "apiName": "AssignedResourceNumber",
152
+ "calculated": false,
153
+ "compound": false,
154
+ "compoundComponentName": null,
155
+ "compoundFieldName": null,
156
+ "controllerName": null,
157
+ "controllingFields": [],
158
+ "createable": false,
159
+ "custom": false,
160
+ "dataType": "String",
161
+ "externalId": false,
162
+ "extraTypeInfo": null,
163
+ "filterable": true,
164
+ "filteredLookupInfo": null,
165
+ "highScaleNumber": false,
166
+ "htmlFormatted": false,
167
+ "inlineHelpText": null,
168
+ "label": "Assigned Resource Number",
169
+ "length": 255,
170
+ "maskType": null,
171
+ "nameField": true,
172
+ "polymorphicForeignKey": false,
173
+ "precision": 0,
174
+ "reference": false,
175
+ "referenceTargetField": null,
176
+ "referenceToInfos": [],
177
+ "relationshipName": null,
178
+ "required": true,
179
+ "scale": 0,
180
+ "searchPrefilterable": false,
181
+ "sortable": true,
182
+ "unique": false,
183
+ "updateable": false
184
+ },
185
+ "CloneSourceId": {
186
+ "apiName": "CloneSourceId",
187
+ "calculated": false,
188
+ "compound": false,
189
+ "compoundComponentName": null,
190
+ "compoundFieldName": null,
191
+ "controllerName": null,
192
+ "controllingFields": [],
193
+ "createable": false,
194
+ "custom": false,
195
+ "dataType": "Reference",
196
+ "externalId": false,
197
+ "extraTypeInfo": null,
198
+ "filterable": true,
199
+ "filteredLookupInfo": null,
200
+ "highScaleNumber": false,
201
+ "htmlFormatted": false,
202
+ "inlineHelpText": null,
203
+ "label": "Clone Source",
204
+ "length": 18,
205
+ "maskType": null,
206
+ "nameField": false,
207
+ "polymorphicForeignKey": false,
208
+ "precision": 0,
209
+ "reference": true,
210
+ "referenceTargetField": null,
211
+ "referenceToInfos": [],
212
+ "relationshipName": null,
213
+ "required": false,
214
+ "scale": 0,
215
+ "searchPrefilterable": false,
216
+ "sortable": true,
217
+ "unique": false,
218
+ "updateable": false
219
+ },
220
+ "CreatedById": {
221
+ "apiName": "CreatedById",
222
+ "calculated": false,
223
+ "compound": false,
224
+ "compoundComponentName": null,
225
+ "compoundFieldName": null,
226
+ "controllerName": null,
227
+ "controllingFields": [],
228
+ "createable": false,
229
+ "custom": false,
230
+ "dataType": "Reference",
231
+ "externalId": false,
232
+ "extraTypeInfo": null,
233
+ "filterable": true,
234
+ "filteredLookupInfo": null,
235
+ "highScaleNumber": false,
236
+ "htmlFormatted": false,
237
+ "inlineHelpText": null,
238
+ "label": "Created By ID",
239
+ "length": 18,
240
+ "maskType": null,
241
+ "nameField": false,
242
+ "polymorphicForeignKey": false,
243
+ "precision": 0,
244
+ "reference": true,
245
+ "referenceTargetField": null,
246
+ "referenceToInfos": [
247
+ {
248
+ "apiName": "User",
249
+ "nameFields": ["FirstName", "LastName", "Name"]
250
+ }
251
+ ],
252
+ "relationshipName": "CreatedBy",
253
+ "required": true,
254
+ "scale": 0,
255
+ "searchPrefilterable": false,
256
+ "sortable": true,
257
+ "unique": false,
258
+ "updateable": false
259
+ },
260
+ "CreatedDate": {
261
+ "apiName": "CreatedDate",
262
+ "calculated": false,
263
+ "compound": false,
264
+ "compoundComponentName": null,
265
+ "compoundFieldName": null,
266
+ "controllerName": null,
267
+ "controllingFields": [],
268
+ "createable": true,
269
+ "custom": false,
270
+ "dataType": "DateTime",
271
+ "externalId": false,
272
+ "extraTypeInfo": null,
273
+ "filterable": true,
274
+ "filteredLookupInfo": null,
275
+ "highScaleNumber": false,
276
+ "htmlFormatted": false,
277
+ "inlineHelpText": null,
278
+ "label": "Created Date",
279
+ "length": 0,
280
+ "maskType": null,
281
+ "nameField": false,
282
+ "polymorphicForeignKey": false,
283
+ "precision": 0,
284
+ "reference": false,
285
+ "referenceTargetField": null,
286
+ "referenceToInfos": [],
287
+ "relationshipName": null,
288
+ "required": true,
289
+ "scale": 0,
290
+ "searchPrefilterable": false,
291
+ "sortable": true,
292
+ "unique": false,
293
+ "updateable": false
294
+ },
295
+ "EstimatedTravelTime": {
296
+ "apiName": "EstimatedTravelTime",
297
+ "calculated": false,
298
+ "compound": false,
299
+ "compoundComponentName": null,
300
+ "compoundFieldName": null,
301
+ "controllerName": null,
302
+ "controllingFields": [],
303
+ "createable": true,
304
+ "custom": false,
305
+ "dataType": "Double",
306
+ "externalId": false,
307
+ "extraTypeInfo": null,
308
+ "filterable": true,
309
+ "filteredLookupInfo": null,
310
+ "highScaleNumber": false,
311
+ "htmlFormatted": false,
312
+ "inlineHelpText": null,
313
+ "label": "Estimated Travel Time (Minutes)",
314
+ "length": 0,
315
+ "maskType": null,
316
+ "nameField": false,
317
+ "polymorphicForeignKey": false,
318
+ "precision": 18,
319
+ "reference": false,
320
+ "referenceTargetField": null,
321
+ "referenceToInfos": [],
322
+ "relationshipName": null,
323
+ "required": false,
324
+ "scale": 2,
325
+ "searchPrefilterable": false,
326
+ "sortable": true,
327
+ "unique": false,
328
+ "updateable": true
329
+ },
330
+ "FSL__EstimatedTravelDistanceFrom__c": {
331
+ "apiName": "FSL__EstimatedTravelDistanceFrom__c",
332
+ "calculated": false,
333
+ "compound": false,
334
+ "compoundComponentName": null,
335
+ "compoundFieldName": null,
336
+ "controllerName": null,
337
+ "controllingFields": [],
338
+ "createable": true,
339
+ "custom": true,
340
+ "dataType": "Double",
341
+ "externalId": false,
342
+ "extraTypeInfo": null,
343
+ "filterable": true,
344
+ "filteredLookupInfo": null,
345
+ "highScaleNumber": false,
346
+ "htmlFormatted": false,
347
+ "inlineHelpText": null,
348
+ "label": "Approximate Travel Distance From",
349
+ "length": 0,
350
+ "maskType": null,
351
+ "nameField": false,
352
+ "polymorphicForeignKey": false,
353
+ "precision": 18,
354
+ "reference": false,
355
+ "referenceTargetField": null,
356
+ "referenceToInfos": [],
357
+ "relationshipName": null,
358
+ "required": false,
359
+ "scale": 2,
360
+ "searchPrefilterable": false,
361
+ "sortable": true,
362
+ "unique": false,
363
+ "updateable": true
364
+ },
365
+ "FSL__EstimatedTravelDistanceTo__c": {
366
+ "apiName": "FSL__EstimatedTravelDistanceTo__c",
367
+ "calculated": false,
368
+ "compound": false,
369
+ "compoundComponentName": null,
370
+ "compoundFieldName": null,
371
+ "controllerName": null,
372
+ "controllingFields": [],
373
+ "createable": true,
374
+ "custom": true,
375
+ "dataType": "Double",
376
+ "externalId": false,
377
+ "extraTypeInfo": null,
378
+ "filterable": true,
379
+ "filteredLookupInfo": null,
380
+ "highScaleNumber": false,
381
+ "htmlFormatted": false,
382
+ "inlineHelpText": null,
383
+ "label": "Approximate Travel Distance To",
384
+ "length": 0,
385
+ "maskType": null,
386
+ "nameField": false,
387
+ "polymorphicForeignKey": false,
388
+ "precision": 18,
389
+ "reference": false,
390
+ "referenceTargetField": null,
391
+ "referenceToInfos": [],
392
+ "relationshipName": null,
393
+ "required": false,
394
+ "scale": 2,
395
+ "searchPrefilterable": false,
396
+ "sortable": true,
397
+ "unique": false,
398
+ "updateable": true
399
+ },
400
+ "FSL__EstimatedTravelTimeFrom__c": {
401
+ "apiName": "FSL__EstimatedTravelTimeFrom__c",
402
+ "calculated": false,
403
+ "compound": false,
404
+ "compoundComponentName": null,
405
+ "compoundFieldName": null,
406
+ "controllerName": null,
407
+ "controllingFields": [],
408
+ "createable": true,
409
+ "custom": true,
410
+ "dataType": "Double",
411
+ "externalId": false,
412
+ "extraTypeInfo": null,
413
+ "filterable": true,
414
+ "filteredLookupInfo": null,
415
+ "highScaleNumber": false,
416
+ "htmlFormatted": false,
417
+ "inlineHelpText": null,
418
+ "label": "Approximate Travel Time From (Minutes)",
419
+ "length": 0,
420
+ "maskType": null,
421
+ "nameField": false,
422
+ "polymorphicForeignKey": false,
423
+ "precision": 18,
424
+ "reference": false,
425
+ "referenceTargetField": null,
426
+ "referenceToInfos": [],
427
+ "relationshipName": null,
428
+ "required": false,
429
+ "scale": 2,
430
+ "searchPrefilterable": false,
431
+ "sortable": true,
432
+ "unique": false,
433
+ "updateable": true
434
+ },
435
+ "FSL__Last_Updated_Epoch__c": {
436
+ "apiName": "FSL__Last_Updated_Epoch__c",
437
+ "calculated": false,
438
+ "compound": false,
439
+ "compoundComponentName": null,
440
+ "compoundFieldName": null,
441
+ "controllerName": null,
442
+ "controllingFields": [],
443
+ "createable": true,
444
+ "custom": true,
445
+ "dataType": "Double",
446
+ "externalId": false,
447
+ "extraTypeInfo": null,
448
+ "filterable": true,
449
+ "filteredLookupInfo": null,
450
+ "highScaleNumber": false,
451
+ "htmlFormatted": false,
452
+ "inlineHelpText": null,
453
+ "label": "Last Updated Epoch",
454
+ "length": 0,
455
+ "maskType": null,
456
+ "nameField": false,
457
+ "polymorphicForeignKey": false,
458
+ "precision": 18,
459
+ "reference": false,
460
+ "referenceTargetField": null,
461
+ "referenceToInfos": [],
462
+ "relationshipName": null,
463
+ "required": false,
464
+ "scale": 0,
465
+ "searchPrefilterable": false,
466
+ "sortable": true,
467
+ "unique": false,
468
+ "updateable": true
469
+ },
470
+ "FSL__UpdatedByOptimization__c": {
471
+ "apiName": "FSL__UpdatedByOptimization__c",
472
+ "calculated": false,
473
+ "compound": false,
474
+ "compoundComponentName": null,
475
+ "compoundFieldName": null,
476
+ "controllerName": null,
477
+ "controllingFields": [],
478
+ "createable": true,
479
+ "custom": true,
480
+ "dataType": "Boolean",
481
+ "externalId": false,
482
+ "extraTypeInfo": null,
483
+ "filterable": true,
484
+ "filteredLookupInfo": null,
485
+ "highScaleNumber": false,
486
+ "htmlFormatted": false,
487
+ "inlineHelpText": null,
488
+ "label": "UpdatedByOptimization",
489
+ "length": 0,
490
+ "maskType": null,
491
+ "nameField": false,
492
+ "polymorphicForeignKey": false,
493
+ "precision": 0,
494
+ "reference": false,
495
+ "referenceTargetField": null,
496
+ "referenceToInfos": [],
497
+ "relationshipName": null,
498
+ "required": true,
499
+ "scale": 0,
500
+ "searchPrefilterable": false,
501
+ "sortable": true,
502
+ "unique": false,
503
+ "updateable": true
504
+ },
505
+ "FSL__calculated_duration__c": {
506
+ "apiName": "FSL__calculated_duration__c",
507
+ "calculated": false,
508
+ "compound": false,
509
+ "compoundComponentName": null,
510
+ "compoundFieldName": null,
511
+ "controllerName": null,
512
+ "controllingFields": [],
513
+ "createable": true,
514
+ "custom": true,
515
+ "dataType": "Double",
516
+ "externalId": false,
517
+ "extraTypeInfo": null,
518
+ "filterable": true,
519
+ "filteredLookupInfo": null,
520
+ "highScaleNumber": false,
521
+ "htmlFormatted": false,
522
+ "inlineHelpText": null,
523
+ "label": "calculated duration (Minutes)",
524
+ "length": 0,
525
+ "maskType": null,
526
+ "nameField": false,
527
+ "polymorphicForeignKey": false,
528
+ "precision": 18,
529
+ "reference": false,
530
+ "referenceTargetField": null,
531
+ "referenceToInfos": [],
532
+ "relationshipName": null,
533
+ "required": false,
534
+ "scale": 0,
535
+ "searchPrefilterable": false,
536
+ "sortable": true,
537
+ "unique": false,
538
+ "updateable": true
539
+ },
540
+ "Id": {
541
+ "apiName": "Id",
542
+ "calculated": false,
543
+ "compound": false,
544
+ "compoundComponentName": null,
545
+ "compoundFieldName": null,
546
+ "controllerName": null,
547
+ "controllingFields": [],
548
+ "createable": false,
549
+ "custom": false,
550
+ "dataType": "String",
551
+ "externalId": false,
552
+ "extraTypeInfo": null,
553
+ "filterable": true,
554
+ "filteredLookupInfo": null,
555
+ "highScaleNumber": false,
556
+ "htmlFormatted": false,
557
+ "inlineHelpText": null,
558
+ "label": "Assigned Resource ID",
559
+ "length": 18,
560
+ "maskType": null,
561
+ "nameField": false,
562
+ "polymorphicForeignKey": false,
563
+ "precision": 0,
564
+ "reference": false,
565
+ "referenceTargetField": null,
566
+ "referenceToInfos": [],
567
+ "relationshipName": null,
568
+ "required": true,
569
+ "scale": 0,
570
+ "searchPrefilterable": false,
571
+ "sortable": true,
572
+ "unique": false,
573
+ "updateable": false
574
+ },
575
+ "IsDeleted": {
576
+ "apiName": "IsDeleted",
577
+ "calculated": false,
578
+ "compound": false,
579
+ "compoundComponentName": null,
580
+ "compoundFieldName": null,
581
+ "controllerName": null,
582
+ "controllingFields": [],
583
+ "createable": false,
584
+ "custom": false,
585
+ "dataType": "Boolean",
586
+ "externalId": false,
587
+ "extraTypeInfo": null,
588
+ "filterable": true,
589
+ "filteredLookupInfo": null,
590
+ "highScaleNumber": false,
591
+ "htmlFormatted": false,
592
+ "inlineHelpText": null,
593
+ "label": "Deleted",
594
+ "length": 0,
595
+ "maskType": null,
596
+ "nameField": false,
597
+ "polymorphicForeignKey": false,
598
+ "precision": 0,
599
+ "reference": false,
600
+ "referenceTargetField": null,
601
+ "referenceToInfos": [],
602
+ "relationshipName": null,
603
+ "required": true,
604
+ "scale": 0,
605
+ "searchPrefilterable": false,
606
+ "sortable": true,
607
+ "unique": false,
608
+ "updateable": false
609
+ },
610
+ "IsLocked": {
611
+ "apiName": "IsLocked",
612
+ "calculated": false,
613
+ "compound": false,
614
+ "compoundComponentName": null,
615
+ "compoundFieldName": null,
616
+ "controllerName": null,
617
+ "controllingFields": [],
618
+ "createable": false,
619
+ "custom": false,
620
+ "dataType": "Boolean",
621
+ "externalId": false,
622
+ "extraTypeInfo": null,
623
+ "filterable": true,
624
+ "filteredLookupInfo": null,
625
+ "highScaleNumber": false,
626
+ "htmlFormatted": false,
627
+ "inlineHelpText": null,
628
+ "label": "Is Locked",
629
+ "length": 0,
630
+ "maskType": null,
631
+ "nameField": false,
632
+ "polymorphicForeignKey": false,
633
+ "precision": 0,
634
+ "reference": false,
635
+ "referenceTargetField": null,
636
+ "referenceToInfos": [],
637
+ "relationshipName": null,
638
+ "required": true,
639
+ "scale": 0,
640
+ "searchPrefilterable": false,
641
+ "sortable": true,
642
+ "unique": false,
643
+ "updateable": false
644
+ },
645
+ "LastModifiedById": {
646
+ "apiName": "LastModifiedById",
647
+ "calculated": false,
648
+ "compound": false,
649
+ "compoundComponentName": null,
650
+ "compoundFieldName": null,
651
+ "controllerName": null,
652
+ "controllingFields": [],
653
+ "createable": false,
654
+ "custom": false,
655
+ "dataType": "Reference",
656
+ "externalId": false,
657
+ "extraTypeInfo": null,
658
+ "filterable": true,
659
+ "filteredLookupInfo": null,
660
+ "highScaleNumber": false,
661
+ "htmlFormatted": false,
662
+ "inlineHelpText": null,
663
+ "label": "Last Modified By ID",
664
+ "length": 18,
665
+ "maskType": null,
666
+ "nameField": false,
667
+ "polymorphicForeignKey": false,
668
+ "precision": 0,
669
+ "reference": true,
670
+ "referenceTargetField": null,
671
+ "referenceToInfos": [
672
+ {
673
+ "apiName": "User",
674
+ "nameFields": ["FirstName", "LastName", "Name"]
675
+ }
676
+ ],
677
+ "relationshipName": "LastModifiedBy",
678
+ "required": true,
679
+ "scale": 0,
680
+ "searchPrefilterable": false,
681
+ "sortable": true,
682
+ "unique": false,
683
+ "updateable": false
684
+ },
685
+ "LastModifiedDate": {
686
+ "apiName": "LastModifiedDate",
687
+ "calculated": false,
688
+ "compound": false,
689
+ "compoundComponentName": null,
690
+ "compoundFieldName": null,
691
+ "controllerName": null,
692
+ "controllingFields": [],
693
+ "createable": true,
694
+ "custom": false,
695
+ "dataType": "DateTime",
696
+ "externalId": false,
697
+ "extraTypeInfo": null,
698
+ "filterable": true,
699
+ "filteredLookupInfo": null,
700
+ "highScaleNumber": false,
701
+ "htmlFormatted": false,
702
+ "inlineHelpText": null,
703
+ "label": "Last Modified Date",
704
+ "length": 0,
705
+ "maskType": null,
706
+ "nameField": false,
707
+ "polymorphicForeignKey": false,
708
+ "precision": 0,
709
+ "reference": false,
710
+ "referenceTargetField": null,
711
+ "referenceToInfos": [],
712
+ "relationshipName": null,
713
+ "required": true,
714
+ "scale": 0,
715
+ "searchPrefilterable": false,
716
+ "sortable": true,
717
+ "unique": false,
718
+ "updateable": true
719
+ },
720
+ "MayEdit": {
721
+ "apiName": "MayEdit",
722
+ "calculated": false,
723
+ "compound": false,
724
+ "compoundComponentName": null,
725
+ "compoundFieldName": null,
726
+ "controllerName": null,
727
+ "controllingFields": [],
728
+ "createable": false,
729
+ "custom": false,
730
+ "dataType": "Boolean",
731
+ "externalId": false,
732
+ "extraTypeInfo": null,
733
+ "filterable": true,
734
+ "filteredLookupInfo": null,
735
+ "highScaleNumber": false,
736
+ "htmlFormatted": false,
737
+ "inlineHelpText": null,
738
+ "label": "May Edit",
739
+ "length": 0,
740
+ "maskType": null,
741
+ "nameField": false,
742
+ "polymorphicForeignKey": false,
743
+ "precision": 0,
744
+ "reference": false,
745
+ "referenceTargetField": null,
746
+ "referenceToInfos": [],
747
+ "relationshipName": null,
748
+ "required": true,
749
+ "scale": 0,
750
+ "searchPrefilterable": false,
751
+ "sortable": true,
752
+ "unique": false,
753
+ "updateable": false
754
+ },
755
+ "ServiceAppointmentId": {
756
+ "apiName": "ServiceAppointmentId",
757
+ "calculated": false,
758
+ "compound": false,
759
+ "compoundComponentName": null,
760
+ "compoundFieldName": null,
761
+ "controllerName": null,
762
+ "controllingFields": [],
763
+ "createable": true,
764
+ "custom": false,
765
+ "dataType": "Reference",
766
+ "externalId": false,
767
+ "extraTypeInfo": null,
768
+ "filterable": true,
769
+ "filteredLookupInfo": null,
770
+ "highScaleNumber": false,
771
+ "htmlFormatted": false,
772
+ "inlineHelpText": null,
773
+ "label": "Service Appointment ID",
774
+ "length": 18,
775
+ "maskType": null,
776
+ "nameField": false,
777
+ "polymorphicForeignKey": false,
778
+ "precision": 0,
779
+ "reference": true,
780
+ "referenceTargetField": null,
781
+ "referenceToInfos": [
782
+ {
783
+ "apiName": "ServiceAppointment",
784
+ "nameFields": ["AppointmentNumber"]
785
+ }
786
+ ],
787
+ "relationshipName": "ServiceAppointment",
788
+ "required": true,
789
+ "scale": 0,
790
+ "searchPrefilterable": false,
791
+ "sortable": true,
792
+ "unique": false,
793
+ "updateable": false
794
+ },
795
+ "ServiceCrewId": {
796
+ "apiName": "ServiceCrewId",
797
+ "calculated": false,
798
+ "compound": false,
799
+ "compoundComponentName": null,
800
+ "compoundFieldName": null,
801
+ "controllerName": null,
802
+ "controllingFields": [],
803
+ "createable": true,
804
+ "custom": false,
805
+ "dataType": "Reference",
806
+ "externalId": false,
807
+ "extraTypeInfo": null,
808
+ "filterable": true,
809
+ "filteredLookupInfo": null,
810
+ "highScaleNumber": false,
811
+ "htmlFormatted": false,
812
+ "inlineHelpText": null,
813
+ "label": "Service Crew ID",
814
+ "length": 18,
815
+ "maskType": null,
816
+ "nameField": false,
817
+ "polymorphicForeignKey": false,
818
+ "precision": 0,
819
+ "reference": true,
820
+ "referenceTargetField": null,
821
+ "referenceToInfos": [
822
+ {
823
+ "apiName": "ServiceCrew",
824
+ "nameFields": ["Name"]
825
+ }
826
+ ],
827
+ "relationshipName": "ServiceCrew",
828
+ "required": false,
829
+ "scale": 0,
830
+ "searchPrefilterable": false,
831
+ "sortable": true,
832
+ "unique": false,
833
+ "updateable": true
834
+ },
835
+ "ServiceResourceId": {
836
+ "apiName": "ServiceResourceId",
837
+ "calculated": false,
838
+ "compound": false,
839
+ "compoundComponentName": null,
840
+ "compoundFieldName": null,
841
+ "controllerName": null,
842
+ "controllingFields": [],
843
+ "createable": true,
844
+ "custom": false,
845
+ "dataType": "Reference",
846
+ "externalId": false,
847
+ "extraTypeInfo": null,
848
+ "filterable": true,
849
+ "filteredLookupInfo": null,
850
+ "highScaleNumber": false,
851
+ "htmlFormatted": false,
852
+ "inlineHelpText": null,
853
+ "label": "Service Resource ID",
854
+ "length": 18,
855
+ "maskType": null,
856
+ "nameField": false,
857
+ "polymorphicForeignKey": false,
858
+ "precision": 0,
859
+ "reference": true,
860
+ "referenceTargetField": null,
861
+ "referenceToInfos": [
862
+ {
863
+ "apiName": "ServiceResource",
864
+ "nameFields": ["Name"]
865
+ }
866
+ ],
867
+ "relationshipName": "ServiceResource",
868
+ "required": true,
869
+ "scale": 0,
870
+ "searchPrefilterable": false,
871
+ "sortable": true,
872
+ "unique": false,
873
+ "updateable": true
874
+ },
875
+ "SystemModstamp": {
876
+ "apiName": "SystemModstamp",
877
+ "calculated": false,
878
+ "compound": false,
879
+ "compoundComponentName": null,
880
+ "compoundFieldName": null,
881
+ "controllerName": null,
882
+ "controllingFields": [],
883
+ "createable": false,
884
+ "custom": false,
885
+ "dataType": "DateTime",
886
+ "externalId": false,
887
+ "extraTypeInfo": null,
888
+ "filterable": true,
889
+ "filteredLookupInfo": null,
890
+ "highScaleNumber": false,
891
+ "htmlFormatted": false,
892
+ "inlineHelpText": null,
893
+ "label": "System Modstamp",
894
+ "length": 0,
895
+ "maskType": null,
896
+ "nameField": false,
897
+ "polymorphicForeignKey": false,
898
+ "precision": 0,
899
+ "reference": false,
900
+ "referenceTargetField": null,
901
+ "referenceToInfos": [],
902
+ "relationshipName": null,
903
+ "required": true,
904
+ "scale": 0,
905
+ "searchPrefilterable": false,
906
+ "sortable": true,
907
+ "unique": false,
908
+ "updateable": false
909
+ }
910
+ },
911
+ "keyPrefix": "03r",
912
+ "label": "Assigned Resource",
913
+ "labelPlural": "Assigned Resources",
914
+ "layoutable": true,
915
+ "mruEnabled": false,
916
+ "nameFields": ["AssignedResourceNumber"],
917
+ "queryable": true,
918
+ "recordTypeInfos": {},
919
+ "searchLayoutable": true,
920
+ "searchable": false,
921
+ "themeInfo": {
922
+ "color": "7E8BE4",
923
+ "iconUrl": "https://corsa04-basic-2015680170.vpod.t.force.com/img/icon/t4v35/standard/service_resource_120.png"
924
+ },
925
+ "updateable": true
926
+ },
927
+ "status": 200
928
+ }