@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,103 @@
1
+ {
2
+ "status": 200,
3
+ "body": {
4
+ "data": {
5
+ "uiapi": {
6
+ "query": {
7
+ "ServiceAppointment": {
8
+ "edges": [
9
+ {
10
+ "node": {
11
+ "Id": "08px000000JOa8mAAD",
12
+ "Owner": {
13
+ "FirstName": {
14
+ "value": "u204_1_3038_f",
15
+ "__typename": "StringValue",
16
+ "displayValue": null
17
+ },
18
+ "__typename": "User",
19
+ "Id": "005x0000000xPQsAAM",
20
+ "DisplayValue": "u204_1_3038_f u204_1_3038_l",
21
+ "ApiName": "User",
22
+ "WeakEtag": 1530595657000,
23
+ "LastModifiedById": {
24
+ "__typename": "IDValue",
25
+ "value": "005x0000000xNhqAAE",
26
+ "displayValue": null
27
+ },
28
+ "LastModifiedDate": {
29
+ "__typename": "DateTimeValue",
30
+ "value": "2016-07-12T05:44:34.000Z",
31
+ "displayValue": null
32
+ },
33
+ "SystemModstamp": {
34
+ "__typename": "DateTimeValue",
35
+ "value": "2018-07-03T05:27:37.000Z",
36
+ "displayValue": null
37
+ },
38
+ "ldsRecordTypeId": {
39
+ "__typename": "IDValue",
40
+ "value": null,
41
+ "displayValue": null
42
+ },
43
+ "Name": {
44
+ "value": "u204_1_3038_f u204_1_3038_l",
45
+ "__typename": "StringValue",
46
+ "displayValue": null
47
+ }
48
+ },
49
+ "OwnerId": {
50
+ "value": "005x0000000xPQsAAM",
51
+ "__typename": "IDValue",
52
+ "displayValue": null
53
+ },
54
+ "Status": {
55
+ "value": "None",
56
+ "__typename": "PicklistValue",
57
+ "displayValue": "None"
58
+ },
59
+ "__typename": "ServiceAppointment",
60
+ "DisplayValue": "19474374",
61
+ "ApiName": "ServiceAppointment",
62
+ "WeakEtag": 1522877275000,
63
+ "LastModifiedById": {
64
+ "__typename": "IDValue",
65
+ "value": "005x0000000xNhvAAE",
66
+ "displayValue": null
67
+ },
68
+ "LastModifiedDate": {
69
+ "__typename": "DateTimeValue",
70
+ "value": "2018-04-04T21:27:55.000Z",
71
+ "displayValue": "4/4/2018, 2:27 PM"
72
+ },
73
+ "SystemModstamp": {
74
+ "__typename": "DateTimeValue",
75
+ "value": "2018-04-04T21:27:55.000Z",
76
+ "displayValue": "4/4/2018, 2:27 PM"
77
+ },
78
+ "ldsRecordTypeId": {
79
+ "__typename": "IDValue",
80
+ "value": "012000000000000AAA",
81
+ "displayValue": null
82
+ }
83
+ },
84
+ "cursor": "djE6MA==",
85
+ "__typename": "ServiceAppointmentEdge"
86
+ }
87
+ ],
88
+ "__typename": "ServiceAppointmentConnection",
89
+ "pageInfo": {
90
+ "hasNextPage": true,
91
+ "endCursor": "djE6MA==",
92
+ "startCursor": "djE6MA==",
93
+ "__typename": "PageInfo"
94
+ }
95
+ },
96
+ "__typename": "RecordQuery"
97
+ },
98
+ "__typename": "UIAPI"
99
+ }
100
+ },
101
+ "errors": []
102
+ }
103
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "data": {
3
+ "data": {
4
+ "uiapi": {
5
+ "query": {
6
+ "ServiceAppointment": {
7
+ "edges": [
8
+ {
9
+ "node": {
10
+ "Id": "08px000000JaaA8AAJ",
11
+ "ServiceResources": {
12
+ "edges": [
13
+ {
14
+ "node": {
15
+ "Id": "03rx0000002rCJ0AAM",
16
+ "_drafts": null
17
+ }
18
+ },
19
+ {
20
+ "node": {
21
+ "Id": "03rx0000002rCG6AAM",
22
+ "_drafts": null
23
+ }
24
+ },
25
+ {
26
+ "node": {
27
+ "Id": "03rx0000002rGYxAAM",
28
+ "_drafts": null
29
+ }
30
+ },
31
+ {
32
+ "node": {
33
+ "Id": "03rx0000002rGQFAA2",
34
+ "_drafts": null
35
+ }
36
+ },
37
+ {
38
+ "node": {
39
+ "Id": "03rx0000002rGW3AAM",
40
+ "_drafts": null
41
+ }
42
+ },
43
+ {
44
+ "node": {
45
+ "Id": "03rx0000002rGT9AAM",
46
+ "_drafts": null
47
+ }
48
+ },
49
+ {
50
+ "node": {
51
+ "Id": "03rx0000002rCDCAA2",
52
+ "_drafts": null
53
+ }
54
+ },
55
+ {
56
+ "node": {
57
+ "Id": "03rx0000002rCLuAAM",
58
+ "_drafts": null
59
+ }
60
+ }
61
+ ]
62
+ },
63
+ "_drafts": null
64
+ }
65
+ }
66
+ ]
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,245 @@
1
+ {
2
+ "data": {
3
+ "data": {
4
+ "uiapi": {
5
+ "query": {
6
+ "WorkOrder": {
7
+ "edges": [
8
+ {
9
+ "node": {
10
+ "Id": "0WOx0000000Dw6tGAC",
11
+ "OwnerId": {
12
+ "value": "005x0000000xNhqAAE"
13
+ },
14
+ "IsDeleted": {
15
+ "value": false
16
+ },
17
+ "WorkOrderNumber": {
18
+ "value": "00000001"
19
+ },
20
+ "RecordTypeId": {
21
+ "value": "012000000000000AAA"
22
+ },
23
+ "CreatedDate": {
24
+ "value": "2016-02-11T06:53:20.000Z"
25
+ },
26
+ "CreatedById": {
27
+ "value": "005x0000000xNhqAAE"
28
+ },
29
+ "LastModifiedDate": {
30
+ "value": "2021-06-09T22:55:47.000Z"
31
+ },
32
+ "LastModifiedById": {
33
+ "value": "005x0000000xNhqAAE"
34
+ },
35
+ "SystemModstamp": {
36
+ "value": "2021-06-09T22:55:47.000Z"
37
+ },
38
+ "MayEdit": {
39
+ "value": true
40
+ },
41
+ "IsLocked": {
42
+ "value": false
43
+ },
44
+ "LastViewedDate": {
45
+ "value": null
46
+ },
47
+ "LastReferencedDate": {
48
+ "value": null
49
+ },
50
+ "AccountId": {
51
+ "value": "001x0000004cKZHAA2"
52
+ },
53
+ "ContactId": {
54
+ "value": "003x0000005A0eAAAS"
55
+ },
56
+ "CaseId": {
57
+ "value": "500x0000002GPPDAA4"
58
+ },
59
+ "EntitlementId": {
60
+ "value": null
61
+ },
62
+ "ServiceContractId": {
63
+ "value": null
64
+ },
65
+ "AssetId": {
66
+ "value": "02ix000000074rAAAQ"
67
+ },
68
+ "Street": {
69
+ "value": null
70
+ },
71
+ "City": {
72
+ "value": "Name"
73
+ },
74
+ "State": {
75
+ "value": "Alabama"
76
+ },
77
+ "PostalCode": {
78
+ "value": null
79
+ },
80
+ "Country": {
81
+ "value": "English Name"
82
+ },
83
+ "Latitude": {
84
+ "value": null
85
+ },
86
+ "Longitude": {
87
+ "value": null
88
+ },
89
+ "GeocodeAccuracy": {
90
+ "value": null
91
+ },
92
+ "Description": {
93
+ "value": "Performance engineering encompasses the techniques applied during a systems development life cycle to ensure the non-functional requirements for performance (such as throughput, latency, or memory usage) will be met. It may be alternatively referred to as systems performance engineering within systems engineering, and software performance engineering or application performance engineering within software engineering."
94
+ },
95
+ "StartDate": {
96
+ "value": "2012-02-02T00:00:00.000Z"
97
+ },
98
+ "EndDate": {
99
+ "value": "2012-06-26T00:00:00.000Z"
100
+ },
101
+ "Subject": {
102
+ "value": "Mobile Performance Work Order"
103
+ },
104
+ "RootWorkOrderId": {
105
+ "value": "0WOx0000000Dw6tGAC"
106
+ },
107
+ "Status": {
108
+ "value": "Closed"
109
+ },
110
+ "Priority": {
111
+ "value": "Medium"
112
+ },
113
+ "Tax": {
114
+ "value": null
115
+ },
116
+ "Subtotal": {
117
+ "value": 336834013
118
+ },
119
+ "TotalPrice": {
120
+ "value": 284727829.79
121
+ },
122
+ "LineItemCount": {
123
+ "value": 11146
124
+ },
125
+ "Pricebook2Id": {
126
+ "value": null
127
+ },
128
+ "Discount": {
129
+ "value": 15.46939478
130
+ },
131
+ "GrandTotal": {
132
+ "value": 284727829.79
133
+ },
134
+ "ParentWorkOrderId": {
135
+ "value": null
136
+ },
137
+ "IsClosed": {
138
+ "value": true
139
+ },
140
+ "IsStopped": {
141
+ "value": false
142
+ },
143
+ "StopStartDate": {
144
+ "value": null
145
+ },
146
+ "SlaStartDate": {
147
+ "value": "2016-03-16T11:32:52.000Z"
148
+ },
149
+ "SlaExitDate": {
150
+ "value": null
151
+ },
152
+ "BusinessHoursId": {
153
+ "value": "01mx00000004KznAAE"
154
+ },
155
+ "MilestoneStatus": {
156
+ "value": ""
157
+ },
158
+ "DurationInMinutes": {
159
+ "value": 422
160
+ },
161
+ "DurationSource": {
162
+ "value": "WorkType"
163
+ },
164
+ "WorkTypeId": {
165
+ "value": "08qx000000009xbAAA"
166
+ },
167
+ "ServiceTerritoryId": {
168
+ "value": "0Hhx0000000000ECAQ"
169
+ },
170
+ "LocationId": {
171
+ "value": null
172
+ },
173
+ "MaintenancePlanId": {
174
+ "value": null
175
+ },
176
+ "SuggestedMaintenanceDate": {
177
+ "value": null
178
+ },
179
+ "MinimumCrewSize": {
180
+ "value": 31
181
+ },
182
+ "ServiceReportTemplateId": {
183
+ "value": "0SLx00000000001GAA"
184
+ },
185
+ "IsGeneratedFromMaintenancePlan": {
186
+ "value": false
187
+ },
188
+ "ServiceReportLanguage": {
189
+ "value": null
190
+ },
191
+ "MaintenanceWorkRuleId": {
192
+ "value": null
193
+ },
194
+ "AssetWarrantyId": {
195
+ "value": null
196
+ },
197
+ "ProductServiceCampaignId": {
198
+ "value": null
199
+ },
200
+ "ProductServiceCampaignItemId": {
201
+ "value": null
202
+ },
203
+ "Work_Order_Count__c": {
204
+ "value": 1
205
+ },
206
+ "External_Id__c": {
207
+ "value": null
208
+ },
209
+ "FSL__IsFillInCandidate__c": {
210
+ "value": false
211
+ },
212
+ "FSL__Prevent_Geocoding_For_Chatter_Actions__c": {
213
+ "value": false
214
+ },
215
+ "FSL__Scheduling_Priority__c": {
216
+ "value": 3
217
+ },
218
+ "FSL__VisitingHours__c": {
219
+ "value": null
220
+ },
221
+ "ServiceCrewId__c": {
222
+ "value": null
223
+ },
224
+ "ServiceCrewMemberId__c": {
225
+ "value": null
226
+ },
227
+ "TimeSlotId__c": {
228
+ "value": null
229
+ },
230
+ "ProductRequiredId__c": {
231
+ "value": null
232
+ },
233
+ "Huge_Object__c": {
234
+ "value": null
235
+ },
236
+ "_drafts": null
237
+ }
238
+ }
239
+ ]
240
+ }
241
+ }
242
+ }
243
+ }
244
+ }
245
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "data": {
3
+ "data": {
4
+ "uiapi": {
5
+ "query": {
6
+ "ServiceAppointment": {
7
+ "edges": [
8
+ {
9
+ "node": {
10
+ "Id": "08px000000JaaBkAAJ",
11
+ "ServiceResources": {
12
+ "edges": [
13
+ {
14
+ "node": {
15
+ "Id": "03rx0000002rCEoAAM",
16
+ "_drafts": null
17
+ }
18
+ }
19
+ ]
20
+ },
21
+ "_drafts": null
22
+ }
23
+ }
24
+ ]
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "data": {
3
+ "data": {
4
+ "uiapi": {
5
+ "query": {
6
+ "ServiceAppointment": {
7
+ "edges": [
8
+ {
9
+ "node": {
10
+ "Id": "08px00000000QXzAAM",
11
+ "Account": {
12
+ "Id": "001x0000004cKfzAAE",
13
+ "Name": {
14
+ "value": "A001_3_20017"
15
+ }
16
+ },
17
+ "_drafts": null
18
+ }
19
+ }
20
+ ]
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "data": {
3
+ "data": {
4
+ "uiapi": {
5
+ "query": {
6
+ "Case": {
7
+ "edges": [
8
+ {
9
+ "node": {
10
+ "Id": "500x0000002GPP9AAO",
11
+ "CaseNumber": {
12
+ "value": "00001004"
13
+ },
14
+ "_drafts": null
15
+ }
16
+ },
17
+ {
18
+ "node": {
19
+ "Id": "500x0000002GPPBAA4",
20
+ "CaseNumber": {
21
+ "value": "00001006"
22
+ },
23
+ "_drafts": null
24
+ }
25
+ }
26
+ ]
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "data": {
3
+ "uiapi": {
4
+ "query": {
5
+ "ServiceAppointment": {
6
+ "edges": [
7
+ {
8
+ "node": {
9
+ "Id": "08px000000JaaA8AAJ",
10
+ "ServiceResources": {
11
+ "edges": [
12
+ {
13
+ "node": {
14
+ "Id": "03rx0000002rCJ0AAM",
15
+ "_drafts": null
16
+ }
17
+ },
18
+ {
19
+ "node": {
20
+ "Id": "03rx0000002rCG6AAM",
21
+ "_drafts": null
22
+ }
23
+ },
24
+ {
25
+ "node": {
26
+ "Id": "03rx0000002rGYxAAM",
27
+ "_drafts": null
28
+ }
29
+ },
30
+ {
31
+ "node": {
32
+ "Id": "03rx0000002rGQFAA2",
33
+ "_drafts": null
34
+ }
35
+ },
36
+ {
37
+ "node": {
38
+ "Id": "03rx0000002rGW3AAM",
39
+ "_drafts": null
40
+ }
41
+ },
42
+ {
43
+ "node": {
44
+ "Id": "03rx0000002rGT9AAM",
45
+ "_drafts": null
46
+ }
47
+ },
48
+ {
49
+ "node": {
50
+ "Id": "03rx0000002rCDCAA2",
51
+ "_drafts": null
52
+ }
53
+ },
54
+ {
55
+ "node": {
56
+ "Id": "03rx0000002rCLuAAM",
57
+ "_drafts": null
58
+ }
59
+ }
60
+ ]
61
+ },
62
+ "_drafts": null
63
+ }
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "data": {
3
+ "uiapi": {
4
+ "query": {
5
+ "Account": {
6
+ "edges": [
7
+ {
8
+ "node": {
9
+ "Id": "001x0000004cKZHAA2",
10
+ "_drafts": null
11
+ }
12
+ }
13
+ ]
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "errors": [
3
+ {
4
+ "paths": [],
5
+ "message": "Validation error of type FieldUndefined: Field 'MayEdit' in type 'TimeSheetEntry' is undefined @ 'uiapi/query/TimeSheetEntry/edges/node/MayEdit'",
6
+ "extensions": { "ErrorType": "ValidationError" },
7
+ "locations": [{ "line": 10, "column": 13 }]
8
+ },
9
+ {
10
+ "paths": [],
11
+ "message": "Validation error of type FieldUndefined: Field 'IsLocked' in type 'TimeSheetEntry' is undefined @ 'uiapi/query/TimeSheetEntry/edges/node/IsLocked'",
12
+ "extensions": { "ErrorType": "ValidationError" },
13
+ "locations": [{ "line": 15, "column": 13 }]
14
+ }
15
+ ]
16
+ }