@salesforce/lds-worker-api 1.100.2

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