@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.
- package/LICENSE.txt +82 -0
- package/README.md +9 -0
- package/dist/sfdc/es/draftQueueImplementation.d.ts +2 -0
- package/dist/sfdc/es/executeAdapter.d.ts +71 -0
- package/dist/sfdc/es/language.d.ts +13 -0
- package/dist/sfdc/es/ldsWorkerApi.js +746 -0
- package/dist/sfdc/es/lightningAdapterApi.d.ts +11 -0
- package/dist/sfdc/es/main.d.ts +8 -0
- package/dist/sfdc/es/nimbusDraftQueue.d.ts +6 -0
- package/dist/sfdc/es/primingApi.d.ts +19 -0
- package/dist/sfdc/es/responses.d.ts +44 -0
- package/dist/sfdc/es/standalone-stubs/instrumentation.d.ts +21 -0
- package/dist/sfdc/es/standalone-stubs/o11y.d.ts +18 -0
- package/dist/sfdc/es/standalone-stubs/unwrap.d.ts +1 -0
- package/dist/sfdc/es/standalone.d.ts +1 -0
- package/dist/sfdc/es/ttl.d.ts +2 -0
- package/dist/standalone/es/draftQueueImplementation.d.ts +2 -0
- package/dist/standalone/es/executeAdapter.d.ts +71 -0
- package/dist/standalone/es/language.d.ts +13 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/currency.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/dateTime.shortDateFormat.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/dateTime.shortDateTimeFormat.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/dateTime.shortTimeFormat.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/locale.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/timeZone.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/@salesforce/user/Id.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/lightning/i18nCldrOptions.d.ts +2 -0
- package/dist/standalone/es/lds-runtime-mobile/src/__mocks__/lightning/i18nService.d.ts +10 -0
- package/dist/standalone/es/lds-worker-api/src/standalone-stubs/unwrap.d.ts +1 -0
- package/dist/standalone/es/lds-worker-api.js +79227 -0
- package/dist/standalone/es/lightningAdapterApi.d.ts +11 -0
- package/dist/standalone/es/main.d.ts +8 -0
- package/dist/standalone/es/nimbusDraftQueue.d.ts +6 -0
- package/dist/standalone/es/primingApi.d.ts +19 -0
- package/dist/standalone/es/responses.d.ts +44 -0
- package/dist/standalone/es/standalone-stubs/instrumentation.d.ts +21 -0
- package/dist/standalone/es/standalone-stubs/o11y.d.ts +18 -0
- package/dist/standalone/es/standalone.d.ts +1 -0
- package/dist/standalone/es/ttl.d.ts +2 -0
- package/dist/standalone/umd/draftQueueImplementation.d.ts +2 -0
- package/dist/standalone/umd/executeAdapter.d.ts +71 -0
- package/dist/standalone/umd/language.d.ts +13 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/currency.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/dateTime.shortDateFormat.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/dateTime.shortDateTimeFormat.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/dateTime.shortTimeFormat.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/locale.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/@salesforce/i18n/timeZone.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/@salesforce/user/Id.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/lightning/i18nCldrOptions.d.ts +2 -0
- package/dist/standalone/umd/lds-runtime-mobile/src/__mocks__/lightning/i18nService.d.ts +10 -0
- package/dist/standalone/umd/lds-worker-api/src/standalone-stubs/unwrap.d.ts +1 -0
- package/dist/standalone/umd/lds-worker-api.js +79250 -0
- package/dist/standalone/umd/lightningAdapterApi.d.ts +11 -0
- package/dist/standalone/umd/main.d.ts +8 -0
- package/dist/standalone/umd/nimbusDraftQueue.d.ts +6 -0
- package/dist/standalone/umd/primingApi.d.ts +19 -0
- package/dist/standalone/umd/responses.d.ts +44 -0
- package/dist/standalone/umd/standalone-stubs/instrumentation.d.ts +21 -0
- package/dist/standalone/umd/standalone-stubs/o11y.d.ts +18 -0
- package/dist/standalone/umd/standalone.d.ts +1 -0
- package/dist/standalone/umd/ttl.d.ts +2 -0
- package/package.json +74 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/adapter-testcase.schema.json +83 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/name-displayValue-response.adapter-snapshot.result.json +61 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/name-displayValue.adapter-testcase.json +67 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/objectInfos/Aircraft-objectInfo.network-mock.json +517 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/objectInfos/Pilot-objectInfo.network-mock.json +347 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue-nonIntl-fallback-response.adapter-snapshot.result.json +82 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue-nonIntl-fallback.adapter-testcase.json +25 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue-response.adapter-snapshot.result.json +82 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue.adapter-testcase.json +23 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-assignedtome.adapter-testcase.json +34 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-baseline.adapter-testcase.json +24 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-child-relationship.adapter-testcase.json +29 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-parent-relationship.adapter-testcase.json +29 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-reserved-entity-name.adapter-testcase.json +25 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/assignedtome.adapter-testcase.json +33 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/l2DataSet.js +250 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-baseline.adapter-testcase.json +21 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby-allfields-spanningfield-500records.adapter-testcase.json +28 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby-allfields-spanningfield.adapter-testcase.json +28 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby-allfields.adapter-testcase.json +21 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where-orderby.adapter-testcase.json +21 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/legacy/getTimeSheetEntry-where.adapter-testcase.json +21 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/Account.network-mock.json +2784 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/AssignedResource.network-mock.json +863 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/Case.network-mock.json +1856 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/ServiceAppointment.network-mock.json +2888 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/ServiceResource.network-mock.json +1316 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/TimeSheetEntry.network-mock.json +977 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/WorkOrder.network-mock.json +3058 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectInfos/WorkType.network-mock.json +940 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/objectinfo.adapter-testcase.json +18 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/polyfield.adapter-testcase.json +43 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-baseline.server-response.network-mock.json +416 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-child-relationship.server-response.network-mock.json +103 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-parent-relationship.server-response.network-mock.json +93 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/adapter-forward-reserved-entity-name.server-response.network-mock.json +97 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/assignedtome.server-response.network-mock.json +666 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/objectinfos.server-response.network-mock.json +210 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/polyfield.server-response.network-mock.json +724 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-assignedtome.adapter-snapshot.result.json +72 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-baseline.adapter-snapshot.result.json +245 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-child-relationship.adapter-snapshot.result.json +30 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-parent-relationship.adapter-snapshot.result.json +26 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-reserved-entity-name.adapter-snapshot.result.json +32 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/assignedtome.adapter-snapshot.result.json +70 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/objectinfos.adapter-snapshot.result.json +170 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/polyfield.adapter-snapshot.result.json +29 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/network-mock.schema.json +14 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"testCaseName": "objectInfos return dataType for fields",
|
|
3
|
+
"adapters": [
|
|
4
|
+
{
|
|
5
|
+
"name": "graphql",
|
|
6
|
+
"config": {
|
|
7
|
+
"query": "query { uiapi { objectInfos(apiNames: [\"IncludeAllDataTypes\"]) { ApiName fields { ApiName label dataType sortable } } } }",
|
|
8
|
+
"variables": {}
|
|
9
|
+
},
|
|
10
|
+
"expectedToSucceed": true,
|
|
11
|
+
"expectedResult": "./adapter-testcases/graphQL/snapshotdata/objectinfos.adapter-snapshot.result.json"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"networkMocks": [
|
|
15
|
+
"./adapter-testcases/graphQL/serverresponse/objectinfos.server-response.network-mock.json"
|
|
16
|
+
],
|
|
17
|
+
"freezeTime": true
|
|
18
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"testCaseName": "Polymorphic field is supported",
|
|
3
|
+
"adapters": [
|
|
4
|
+
{
|
|
5
|
+
"name": "getObjectInfo",
|
|
6
|
+
"config": { "objectApiName": "ServiceAppointment" }
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "getObjectInfo",
|
|
10
|
+
"config": { "objectApiName": "AssignedResource" }
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "getObjectInfo",
|
|
14
|
+
"config": { "objectApiName": "ServiceResource" }
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "getObjectInfo",
|
|
18
|
+
"config": { "objectApiName": "WorkOrder" }
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "getObjectInfo",
|
|
22
|
+
"config": { "objectApiName": "WorkType" }
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "graphql",
|
|
26
|
+
"config": {
|
|
27
|
+
"query": "{ uiapi { query { ServiceAppointment(scope: ASSIGNEDTOME) @category(name: \"recordQuery\") { edges { node { Id ParentRecord @category(name: \"polymorphicParentRelationship\") { ... on WorkOrder { Id WorkOrderNumber { value } WorkType @category(name: \"parentRelationship\") { Name { value } } } } } } } } } }",
|
|
28
|
+
"variables": {}
|
|
29
|
+
},
|
|
30
|
+
"expectedToSucceed": true,
|
|
31
|
+
"expectedResult": "./adapter-testcases/graphQL/snapshotdata/polyfield.adapter-snapshot.result.json"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"networkMocks": [
|
|
35
|
+
"./adapter-testcases/graphQL/objectInfos/ServiceAppointment.network-mock.json",
|
|
36
|
+
"./adapter-testcases/graphQL/objectInfos/AssignedResource.network-mock.json",
|
|
37
|
+
"./adapter-testcases/graphQL/objectInfos/ServiceResource.network-mock.json",
|
|
38
|
+
"./adapter-testcases/graphQL/objectInfos/WorkOrder.network-mock.json",
|
|
39
|
+
"./adapter-testcases/graphQL/objectInfos/WorkType.network-mock.json",
|
|
40
|
+
"./adapter-testcases/graphQL/serverresponse/polyfield.server-response.network-mock.json"
|
|
41
|
+
],
|
|
42
|
+
"freezeTime": true
|
|
43
|
+
}
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"data": {
|
|
5
|
+
"uiapi": {
|
|
6
|
+
"query": {
|
|
7
|
+
"WorkOrder": {
|
|
8
|
+
"edges": [
|
|
9
|
+
{
|
|
10
|
+
"node": {
|
|
11
|
+
"Id": "0WOx0000000Dw6tGAC",
|
|
12
|
+
"OwnerId": {
|
|
13
|
+
"value": "005x0000000xNhqAAE",
|
|
14
|
+
"__typename": "IDValue",
|
|
15
|
+
"displayValue": null
|
|
16
|
+
},
|
|
17
|
+
"IsDeleted": {
|
|
18
|
+
"value": false,
|
|
19
|
+
"__typename": "BooleanValue",
|
|
20
|
+
"displayValue": null
|
|
21
|
+
},
|
|
22
|
+
"WorkOrderNumber": {
|
|
23
|
+
"value": "00000001",
|
|
24
|
+
"__typename": "StringValue",
|
|
25
|
+
"displayValue": null
|
|
26
|
+
},
|
|
27
|
+
"RecordTypeId": {
|
|
28
|
+
"value": null,
|
|
29
|
+
"__typename": "IDValue",
|
|
30
|
+
"displayValue": null
|
|
31
|
+
},
|
|
32
|
+
"CreatedDate": {
|
|
33
|
+
"value": "2016-02-11T06:53:20.000Z",
|
|
34
|
+
"__typename": "DateTimeValue",
|
|
35
|
+
"displayValue": "2/10/2016, 10:53 PM"
|
|
36
|
+
},
|
|
37
|
+
"CreatedById": {
|
|
38
|
+
"value": "005x0000000xNhqAAE",
|
|
39
|
+
"__typename": "IDValue",
|
|
40
|
+
"displayValue": null
|
|
41
|
+
},
|
|
42
|
+
"LastModifiedDate": {
|
|
43
|
+
"value": "2021-06-09T22:55:47.000Z",
|
|
44
|
+
"__typename": "DateTimeValue",
|
|
45
|
+
"displayValue": "6/9/2021, 3:55 PM"
|
|
46
|
+
},
|
|
47
|
+
"LastModifiedById": {
|
|
48
|
+
"value": "005x0000000xNhqAAE",
|
|
49
|
+
"__typename": "IDValue",
|
|
50
|
+
"displayValue": null
|
|
51
|
+
},
|
|
52
|
+
"SystemModstamp": {
|
|
53
|
+
"value": "2021-06-09T22:55:47.000Z",
|
|
54
|
+
"__typename": "DateTimeValue",
|
|
55
|
+
"displayValue": "6/9/2021, 3:55 PM"
|
|
56
|
+
},
|
|
57
|
+
"MayEdit": {
|
|
58
|
+
"value": true,
|
|
59
|
+
"__typename": "BooleanValue",
|
|
60
|
+
"displayValue": null
|
|
61
|
+
},
|
|
62
|
+
"IsLocked": {
|
|
63
|
+
"value": false,
|
|
64
|
+
"__typename": "BooleanValue",
|
|
65
|
+
"displayValue": null
|
|
66
|
+
},
|
|
67
|
+
"LastViewedDate": {
|
|
68
|
+
"value": null,
|
|
69
|
+
"__typename": "DateTimeValue",
|
|
70
|
+
"displayValue": null
|
|
71
|
+
},
|
|
72
|
+
"LastReferencedDate": {
|
|
73
|
+
"value": null,
|
|
74
|
+
"__typename": "DateTimeValue",
|
|
75
|
+
"displayValue": null
|
|
76
|
+
},
|
|
77
|
+
"AccountId": {
|
|
78
|
+
"value": "001x0000004cKZHAA2",
|
|
79
|
+
"__typename": "IDValue",
|
|
80
|
+
"displayValue": null
|
|
81
|
+
},
|
|
82
|
+
"ContactId": {
|
|
83
|
+
"value": "003x0000005A0eAAAS",
|
|
84
|
+
"__typename": "IDValue",
|
|
85
|
+
"displayValue": null
|
|
86
|
+
},
|
|
87
|
+
"CaseId": {
|
|
88
|
+
"value": "500x0000002GPPDAA4",
|
|
89
|
+
"__typename": "IDValue",
|
|
90
|
+
"displayValue": null
|
|
91
|
+
},
|
|
92
|
+
"EntitlementId": {
|
|
93
|
+
"value": null,
|
|
94
|
+
"__typename": "IDValue",
|
|
95
|
+
"displayValue": null
|
|
96
|
+
},
|
|
97
|
+
"ServiceContractId": {
|
|
98
|
+
"value": null,
|
|
99
|
+
"__typename": "IDValue",
|
|
100
|
+
"displayValue": null
|
|
101
|
+
},
|
|
102
|
+
"AssetId": {
|
|
103
|
+
"value": "02ix000000074rAAAQ",
|
|
104
|
+
"__typename": "IDValue",
|
|
105
|
+
"displayValue": null
|
|
106
|
+
},
|
|
107
|
+
"Street": {
|
|
108
|
+
"value": null,
|
|
109
|
+
"__typename": "TextAreaValue",
|
|
110
|
+
"displayValue": null
|
|
111
|
+
},
|
|
112
|
+
"City": {
|
|
113
|
+
"value": "Name",
|
|
114
|
+
"__typename": "StringValue",
|
|
115
|
+
"displayValue": null
|
|
116
|
+
},
|
|
117
|
+
"State": {
|
|
118
|
+
"value": "Alabama",
|
|
119
|
+
"__typename": "StringValue",
|
|
120
|
+
"displayValue": null
|
|
121
|
+
},
|
|
122
|
+
"PostalCode": {
|
|
123
|
+
"value": null,
|
|
124
|
+
"__typename": "StringValue",
|
|
125
|
+
"displayValue": null
|
|
126
|
+
},
|
|
127
|
+
"Country": {
|
|
128
|
+
"value": "English Name",
|
|
129
|
+
"__typename": "StringValue",
|
|
130
|
+
"displayValue": null
|
|
131
|
+
},
|
|
132
|
+
"Latitude": {
|
|
133
|
+
"value": null,
|
|
134
|
+
"__typename": "LatitudeValue",
|
|
135
|
+
"displayValue": null
|
|
136
|
+
},
|
|
137
|
+
"Longitude": {
|
|
138
|
+
"value": null,
|
|
139
|
+
"__typename": "LongitudeValue",
|
|
140
|
+
"displayValue": null
|
|
141
|
+
},
|
|
142
|
+
"GeocodeAccuracy": {
|
|
143
|
+
"value": null,
|
|
144
|
+
"__typename": "PicklistValue",
|
|
145
|
+
"displayValue": null
|
|
146
|
+
},
|
|
147
|
+
"Description": {
|
|
148
|
+
"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.",
|
|
149
|
+
"__typename": "LongTextAreaValue",
|
|
150
|
+
"displayValue": null
|
|
151
|
+
},
|
|
152
|
+
"StartDate": {
|
|
153
|
+
"value": "2012-02-02T00:00:00.000Z",
|
|
154
|
+
"__typename": "DateTimeValue",
|
|
155
|
+
"displayValue": "2/1/2012, 4:00 PM"
|
|
156
|
+
},
|
|
157
|
+
"EndDate": {
|
|
158
|
+
"value": "2012-06-26T00:00:00.000Z",
|
|
159
|
+
"__typename": "DateTimeValue",
|
|
160
|
+
"displayValue": "6/25/2012, 5:00 PM"
|
|
161
|
+
},
|
|
162
|
+
"Subject": {
|
|
163
|
+
"value": "Mobile Performance Work Order",
|
|
164
|
+
"__typename": "StringValue",
|
|
165
|
+
"displayValue": null
|
|
166
|
+
},
|
|
167
|
+
"RootWorkOrderId": {
|
|
168
|
+
"value": "0WOx0000000Dw6tGAC",
|
|
169
|
+
"__typename": "IDValue",
|
|
170
|
+
"displayValue": null
|
|
171
|
+
},
|
|
172
|
+
"Status": {
|
|
173
|
+
"value": "Closed",
|
|
174
|
+
"__typename": "PicklistValue",
|
|
175
|
+
"displayValue": "Closed"
|
|
176
|
+
},
|
|
177
|
+
"Priority": {
|
|
178
|
+
"value": "Medium",
|
|
179
|
+
"__typename": "PicklistValue",
|
|
180
|
+
"displayValue": "Medium"
|
|
181
|
+
},
|
|
182
|
+
"Tax": {
|
|
183
|
+
"value": null,
|
|
184
|
+
"__typename": "CurrencyValue",
|
|
185
|
+
"displayValue": ""
|
|
186
|
+
},
|
|
187
|
+
"Subtotal": {
|
|
188
|
+
"value": 336834013,
|
|
189
|
+
"__typename": "CurrencyValue",
|
|
190
|
+
"displayValue": "$336,834,013.00"
|
|
191
|
+
},
|
|
192
|
+
"TotalPrice": {
|
|
193
|
+
"value": 284727829.79,
|
|
194
|
+
"__typename": "CurrencyValue",
|
|
195
|
+
"displayValue": "$284,727,829.79"
|
|
196
|
+
},
|
|
197
|
+
"LineItemCount": {
|
|
198
|
+
"value": 11146,
|
|
199
|
+
"__typename": "IntValue",
|
|
200
|
+
"displayValue": "11,146"
|
|
201
|
+
},
|
|
202
|
+
"Pricebook2Id": {
|
|
203
|
+
"value": null,
|
|
204
|
+
"__typename": "IDValue",
|
|
205
|
+
"displayValue": null
|
|
206
|
+
},
|
|
207
|
+
"Discount": {
|
|
208
|
+
"value": 15.46939478,
|
|
209
|
+
"__typename": "PercentValue",
|
|
210
|
+
"displayValue": "15.469"
|
|
211
|
+
},
|
|
212
|
+
"GrandTotal": {
|
|
213
|
+
"value": 284727829.79,
|
|
214
|
+
"__typename": "CurrencyValue",
|
|
215
|
+
"displayValue": "$284,727,829.79"
|
|
216
|
+
},
|
|
217
|
+
"ParentWorkOrderId": {
|
|
218
|
+
"value": null,
|
|
219
|
+
"__typename": "IDValue",
|
|
220
|
+
"displayValue": null
|
|
221
|
+
},
|
|
222
|
+
"IsClosed": {
|
|
223
|
+
"value": true,
|
|
224
|
+
"__typename": "BooleanValue",
|
|
225
|
+
"displayValue": null
|
|
226
|
+
},
|
|
227
|
+
"IsStopped": {
|
|
228
|
+
"value": false,
|
|
229
|
+
"__typename": "BooleanValue",
|
|
230
|
+
"displayValue": null
|
|
231
|
+
},
|
|
232
|
+
"StopStartDate": {
|
|
233
|
+
"value": null,
|
|
234
|
+
"__typename": "DateTimeValue",
|
|
235
|
+
"displayValue": null
|
|
236
|
+
},
|
|
237
|
+
"SlaStartDate": {
|
|
238
|
+
"value": "2016-03-16T11:32:52.000Z",
|
|
239
|
+
"__typename": "DateTimeValue",
|
|
240
|
+
"displayValue": "3/16/2016, 4:32 AM"
|
|
241
|
+
},
|
|
242
|
+
"SlaExitDate": {
|
|
243
|
+
"value": null,
|
|
244
|
+
"__typename": "DateTimeValue",
|
|
245
|
+
"displayValue": null
|
|
246
|
+
},
|
|
247
|
+
"BusinessHoursId": {
|
|
248
|
+
"value": "01mx00000004KznAAE",
|
|
249
|
+
"__typename": "IDValue",
|
|
250
|
+
"displayValue": null
|
|
251
|
+
},
|
|
252
|
+
"MilestoneStatus": {
|
|
253
|
+
"value": "",
|
|
254
|
+
"__typename": "StringValue",
|
|
255
|
+
"displayValue": null
|
|
256
|
+
},
|
|
257
|
+
"DurationInMinutes": {
|
|
258
|
+
"value": 422,
|
|
259
|
+
"__typename": "DoubleValue",
|
|
260
|
+
"displayValue": "422"
|
|
261
|
+
},
|
|
262
|
+
"DurationSource": {
|
|
263
|
+
"value": "WorkType",
|
|
264
|
+
"__typename": "PicklistValue",
|
|
265
|
+
"displayValue": "Work Type"
|
|
266
|
+
},
|
|
267
|
+
"WorkTypeId": {
|
|
268
|
+
"value": "08qx000000009xbAAA",
|
|
269
|
+
"__typename": "IDValue",
|
|
270
|
+
"displayValue": null
|
|
271
|
+
},
|
|
272
|
+
"ServiceTerritoryId": {
|
|
273
|
+
"value": "0Hhx0000000000ECAQ",
|
|
274
|
+
"__typename": "IDValue",
|
|
275
|
+
"displayValue": null
|
|
276
|
+
},
|
|
277
|
+
"LocationId": {
|
|
278
|
+
"value": null,
|
|
279
|
+
"__typename": "IDValue",
|
|
280
|
+
"displayValue": null
|
|
281
|
+
},
|
|
282
|
+
"MaintenancePlanId": {
|
|
283
|
+
"value": null,
|
|
284
|
+
"__typename": "IDValue",
|
|
285
|
+
"displayValue": null
|
|
286
|
+
},
|
|
287
|
+
"SuggestedMaintenanceDate": {
|
|
288
|
+
"value": null,
|
|
289
|
+
"__typename": "DateValue",
|
|
290
|
+
"displayValue": null
|
|
291
|
+
},
|
|
292
|
+
"MinimumCrewSize": {
|
|
293
|
+
"value": 31,
|
|
294
|
+
"__typename": "IntValue",
|
|
295
|
+
"displayValue": "31"
|
|
296
|
+
},
|
|
297
|
+
"ServiceReportTemplateId": {
|
|
298
|
+
"value": "0SLx00000000001GAA",
|
|
299
|
+
"__typename": "IDValue",
|
|
300
|
+
"displayValue": null
|
|
301
|
+
},
|
|
302
|
+
"IsGeneratedFromMaintenancePlan": {
|
|
303
|
+
"value": false,
|
|
304
|
+
"__typename": "BooleanValue",
|
|
305
|
+
"displayValue": null
|
|
306
|
+
},
|
|
307
|
+
"ServiceReportLanguage": {
|
|
308
|
+
"value": null,
|
|
309
|
+
"__typename": "PicklistValue",
|
|
310
|
+
"displayValue": null
|
|
311
|
+
},
|
|
312
|
+
"MaintenanceWorkRuleId": {
|
|
313
|
+
"value": null,
|
|
314
|
+
"__typename": "IDValue",
|
|
315
|
+
"displayValue": null
|
|
316
|
+
},
|
|
317
|
+
"AssetWarrantyId": {
|
|
318
|
+
"value": null,
|
|
319
|
+
"__typename": "IDValue",
|
|
320
|
+
"displayValue": null
|
|
321
|
+
},
|
|
322
|
+
"ProductServiceCampaignId": {
|
|
323
|
+
"value": null,
|
|
324
|
+
"__typename": "IDValue",
|
|
325
|
+
"displayValue": null
|
|
326
|
+
},
|
|
327
|
+
"ProductServiceCampaignItemId": {
|
|
328
|
+
"value": null,
|
|
329
|
+
"__typename": "IDValue",
|
|
330
|
+
"displayValue": null
|
|
331
|
+
},
|
|
332
|
+
"Work_Order_Count__c": {
|
|
333
|
+
"value": 1,
|
|
334
|
+
"__typename": "DoubleValue",
|
|
335
|
+
"displayValue": "1"
|
|
336
|
+
},
|
|
337
|
+
"External_Id__c": {
|
|
338
|
+
"value": null,
|
|
339
|
+
"__typename": "StringValue",
|
|
340
|
+
"displayValue": null
|
|
341
|
+
},
|
|
342
|
+
"FSL__IsFillInCandidate__c": {
|
|
343
|
+
"value": false,
|
|
344
|
+
"__typename": "BooleanValue",
|
|
345
|
+
"displayValue": null
|
|
346
|
+
},
|
|
347
|
+
"FSL__Prevent_Geocoding_For_Chatter_Actions__c": {
|
|
348
|
+
"value": false,
|
|
349
|
+
"__typename": "BooleanValue",
|
|
350
|
+
"displayValue": null
|
|
351
|
+
},
|
|
352
|
+
"FSL__Scheduling_Priority__c": {
|
|
353
|
+
"value": 3,
|
|
354
|
+
"__typename": "DoubleValue",
|
|
355
|
+
"displayValue": "3"
|
|
356
|
+
},
|
|
357
|
+
"FSL__VisitingHours__c": {
|
|
358
|
+
"value": null,
|
|
359
|
+
"__typename": "IDValue",
|
|
360
|
+
"displayValue": null
|
|
361
|
+
},
|
|
362
|
+
"ServiceCrewId__c": {
|
|
363
|
+
"value": null,
|
|
364
|
+
"__typename": "IDValue",
|
|
365
|
+
"displayValue": null
|
|
366
|
+
},
|
|
367
|
+
"ServiceCrewMemberId__c": {
|
|
368
|
+
"value": null,
|
|
369
|
+
"__typename": "IDValue",
|
|
370
|
+
"displayValue": null
|
|
371
|
+
},
|
|
372
|
+
"TimeSlotId__c": {
|
|
373
|
+
"value": null,
|
|
374
|
+
"__typename": "IDValue",
|
|
375
|
+
"displayValue": null
|
|
376
|
+
},
|
|
377
|
+
"ProductRequiredId__c": {
|
|
378
|
+
"value": null,
|
|
379
|
+
"__typename": "IDValue",
|
|
380
|
+
"displayValue": null
|
|
381
|
+
},
|
|
382
|
+
"Huge_Object__c": {
|
|
383
|
+
"value": null,
|
|
384
|
+
"__typename": "IDValue",
|
|
385
|
+
"displayValue": null
|
|
386
|
+
},
|
|
387
|
+
"__typename": "WorkOrder",
|
|
388
|
+
"DisplayValue": "00000001",
|
|
389
|
+
"ApiName": "WorkOrder",
|
|
390
|
+
"WeakEtag": 1623279347000,
|
|
391
|
+
"ldsRecordTypeId": {
|
|
392
|
+
"__typename": "IDValue",
|
|
393
|
+
"value": "012000000000000AAA",
|
|
394
|
+
"displayValue": null
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"cursor": "djE6MA==",
|
|
398
|
+
"__typename": "WorkOrderEdge"
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"__typename": "WorkOrderConnection",
|
|
402
|
+
"pageInfo": {
|
|
403
|
+
"hasNextPage": false,
|
|
404
|
+
"endCursor": "djE6MA==",
|
|
405
|
+
"startCursor": "djE6MA==",
|
|
406
|
+
"__typename": "PageInfo"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"__typename": "RecordQuery"
|
|
410
|
+
},
|
|
411
|
+
"__typename": "UIAPI"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"errors": []
|
|
415
|
+
}
|
|
416
|
+
}
|
|
@@ -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": "08px000000JaaBkAAJ",
|
|
12
|
+
"ServiceResources": {
|
|
13
|
+
"edges": [
|
|
14
|
+
{
|
|
15
|
+
"node": {
|
|
16
|
+
"Id": "03rx0000002rCEoAAM",
|
|
17
|
+
"ServiceAppointmentId": {
|
|
18
|
+
"value": "08px000000JaaBkAAJ",
|
|
19
|
+
"__typename": "IDValue",
|
|
20
|
+
"displayValue": null
|
|
21
|
+
},
|
|
22
|
+
"__typename": "AssignedResource",
|
|
23
|
+
"DisplayValue": "AR-26454520",
|
|
24
|
+
"ApiName": "AssignedResource",
|
|
25
|
+
"WeakEtag": 1632173528000,
|
|
26
|
+
"LastModifiedById": {
|
|
27
|
+
"__typename": "IDValue",
|
|
28
|
+
"value": "005x0000000xNhqAAE",
|
|
29
|
+
"displayValue": null
|
|
30
|
+
},
|
|
31
|
+
"LastModifiedDate": {
|
|
32
|
+
"__typename": "DateTimeValue",
|
|
33
|
+
"value": "2021-09-20T21:32:08.000Z",
|
|
34
|
+
"displayValue": "9/20/2021, 2:32 PM"
|
|
35
|
+
},
|
|
36
|
+
"SystemModstamp": {
|
|
37
|
+
"__typename": "DateTimeValue",
|
|
38
|
+
"value": "2021-09-20T21:32:08.000Z",
|
|
39
|
+
"displayValue": "9/20/2021, 2:32 PM"
|
|
40
|
+
},
|
|
41
|
+
"ldsRecordTypeId": {
|
|
42
|
+
"__typename": "IDValue",
|
|
43
|
+
"value": null,
|
|
44
|
+
"displayValue": null
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"cursor": "djE6MA==",
|
|
48
|
+
"__typename": "AssignedResourceEdge"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"__typename": "AssignedResourceConnection",
|
|
52
|
+
"pageInfo": {
|
|
53
|
+
"hasNextPage": false,
|
|
54
|
+
"endCursor": "djE6MA==",
|
|
55
|
+
"startCursor": "djE6MA==",
|
|
56
|
+
"__typename": "PageInfo"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"__typename": "ServiceAppointment",
|
|
60
|
+
"DisplayValue": "20133141",
|
|
61
|
+
"ApiName": "ServiceAppointment",
|
|
62
|
+
"WeakEtag": 1676570791000,
|
|
63
|
+
"LastModifiedById": {
|
|
64
|
+
"__typename": "IDValue",
|
|
65
|
+
"value": "005x0000000xNhqAAE",
|
|
66
|
+
"displayValue": null
|
|
67
|
+
},
|
|
68
|
+
"LastModifiedDate": {
|
|
69
|
+
"__typename": "DateTimeValue",
|
|
70
|
+
"value": "2023-02-16T18:06:31.000Z",
|
|
71
|
+
"displayValue": "2/16/2023, 10:06 AM"
|
|
72
|
+
},
|
|
73
|
+
"SystemModstamp": {
|
|
74
|
+
"__typename": "DateTimeValue",
|
|
75
|
+
"value": "2023-02-16T18:06:31.000Z",
|
|
76
|
+
"displayValue": "2/16/2023, 10:06 AM"
|
|
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": false,
|
|
91
|
+
"endCursor": "djE6MA==",
|
|
92
|
+
"startCursor": "djE6MA==",
|
|
93
|
+
"__typename": "PageInfo"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"__typename": "RecordQuery"
|
|
97
|
+
},
|
|
98
|
+
"__typename": "UIAPI"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"errors": []
|
|
102
|
+
}
|
|
103
|
+
}
|