@salesforce/lds-worker-api 0.131.0
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 +89 -0
- package/dist/sfdc/es/language.d.ts +13 -0
- package/dist/sfdc/es/ldsWorkerApi.js +761 -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 +23 -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 +89 -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 +77826 -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 +23 -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 +89 -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 +77849 -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 +23 -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 +550 -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 +86 -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 +86 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/createRecord/scalar-displayValue.adapter-testcase.json +24 -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/date-predicate.adapter-testcase.json +23 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/graphql-get-errors.adapter-testcase.json +23 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/l2DataSet.js +252 -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/multiple-recordquery.adapter-testcase.json +28 -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/User.network-mock.json +6604 -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/polyquery-and-operator.adapter-testcase.json +28 -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/date-predicate.server-response.network-mock.json +56 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/graphql-get-errors.server-response.network-mock.json +19 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/multiple-recordquery.server-response.network-mock.json +201 -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/serverresponse/polyquery-and-operator.server-response.network-mock.json +103 -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/date-predicate.adapter-snapshot.result.json +18 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/graphql-get-errors.adapter-snapshot.result.json +16 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/multiple-recordquery.adapter-snapshot.result.json +53 -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/graphQL/snapshotdata/polyquery-and-operator.adapter-snapshot.result.json +23 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/adapter-snapshot.result.json +9 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-metadata-fails-cache-only-adapter-call.adapter-testcase.json +16 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-metadata-fails-cache-only-adapter-call.l2DataSet.tsv +2 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-version-fails-cache-only-adapter-call.adapter-testcase.json +16 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/metadataVersion/old-version-fails-cache-only-adapter-call.l2DataSet.tsv +2 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/network-mock.schema.json +14 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"data": {
|
|
5
|
+
"uiapi": {
|
|
6
|
+
"query": {
|
|
7
|
+
"Account": {
|
|
8
|
+
"edges": [
|
|
9
|
+
{
|
|
10
|
+
"node": {
|
|
11
|
+
"Id": "001x0000004cKZHAA2",
|
|
12
|
+
"__typename": "Account",
|
|
13
|
+
"DisplayValue": "A001_2_10001",
|
|
14
|
+
"ApiName": "Account",
|
|
15
|
+
"WeakEtag": 1457231388000,
|
|
16
|
+
"LastModifiedById": {
|
|
17
|
+
"__typename": "IDValue",
|
|
18
|
+
"value": "005x0000000xNhqAAE",
|
|
19
|
+
"displayValue": null
|
|
20
|
+
},
|
|
21
|
+
"LastModifiedDate": {
|
|
22
|
+
"__typename": "DateTimeValue",
|
|
23
|
+
"value": "2016-03-06T02:29:47.000Z",
|
|
24
|
+
"displayValue": "3/5/2016, 6:29 PM"
|
|
25
|
+
},
|
|
26
|
+
"SystemModstamp": {
|
|
27
|
+
"__typename": "DateTimeValue",
|
|
28
|
+
"value": "2016-03-06T02:29:48.000Z",
|
|
29
|
+
"displayValue": "3/5/2016, 6:29 PM"
|
|
30
|
+
},
|
|
31
|
+
"ldsRecordTypeId": {
|
|
32
|
+
"__typename": "IDValue",
|
|
33
|
+
"value": "012000000000000AAA",
|
|
34
|
+
"displayValue": null
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"cursor": "djE6MA==",
|
|
38
|
+
"__typename": "AccountEdge"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"__typename": "AccountConnection",
|
|
42
|
+
"pageInfo": {
|
|
43
|
+
"hasNextPage": true,
|
|
44
|
+
"endCursor": "djE6MA==",
|
|
45
|
+
"startCursor": "djE6MA==",
|
|
46
|
+
"__typename": "PageInfo"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"__typename": "RecordQuery"
|
|
50
|
+
},
|
|
51
|
+
"__typename": "UIAPI"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"errors": []
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"errors": [
|
|
5
|
+
{
|
|
6
|
+
"extensions": { "ErrorType": "ValidationError" },
|
|
7
|
+
"locations": [{ "column": 13, "line": 10 }],
|
|
8
|
+
"message": "Validation error of type FieldUndefined: Field 'MayEdit' in type 'TimeSheetEntry' is undefined @ 'uiapi/query/TimeSheetEntry/edges/node/MayEdit'",
|
|
9
|
+
"paths": []
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"extensions": { "ErrorType": "ValidationError" },
|
|
13
|
+
"locations": [{ "column": 13, "line": 15 }],
|
|
14
|
+
"message": "Validation error of type FieldUndefined: Field 'IsLocked' in type 'TimeSheetEntry' is undefined @ 'uiapi/query/TimeSheetEntry/edges/node/IsLocked'",
|
|
15
|
+
"paths": []
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"data": {
|
|
5
|
+
"uiapi": {
|
|
6
|
+
"query": {
|
|
7
|
+
"Account": {
|
|
8
|
+
"edges": [
|
|
9
|
+
{
|
|
10
|
+
"node": {
|
|
11
|
+
"Id": "001x0000004cKZHAA2",
|
|
12
|
+
"__typename": "Account",
|
|
13
|
+
"DisplayValue": "A001_2_10001",
|
|
14
|
+
"ApiName": "Account",
|
|
15
|
+
"WeakEtag": 1457231388000,
|
|
16
|
+
"LastModifiedById": {
|
|
17
|
+
"__typename": "IDValue",
|
|
18
|
+
"value": "005x0000000xNhqAAE",
|
|
19
|
+
"displayValue": null
|
|
20
|
+
},
|
|
21
|
+
"LastModifiedDate": {
|
|
22
|
+
"__typename": "DateTimeValue",
|
|
23
|
+
"value": "2016-03-06T02:29:47.000Z",
|
|
24
|
+
"displayValue": "3/5/2016, 6:29 PM"
|
|
25
|
+
},
|
|
26
|
+
"SystemModstamp": {
|
|
27
|
+
"__typename": "DateTimeValue",
|
|
28
|
+
"value": "2016-03-06T02:29:48.000Z",
|
|
29
|
+
"displayValue": "3/5/2016, 6:29 PM"
|
|
30
|
+
},
|
|
31
|
+
"ldsRecordTypeId": {
|
|
32
|
+
"__typename": "IDValue",
|
|
33
|
+
"value": "012000000000000AAA",
|
|
34
|
+
"displayValue": null
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"cursor": "djE6MA==",
|
|
38
|
+
"__typename": "AccountEdge"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"__typename": "AccountConnection",
|
|
42
|
+
"pageInfo": {
|
|
43
|
+
"hasNextPage": true,
|
|
44
|
+
"endCursor": "djE6MA==",
|
|
45
|
+
"startCursor": "djE6MA==",
|
|
46
|
+
"__typename": "PageInfo"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"ServiceAppointment": {
|
|
50
|
+
"edges": [
|
|
51
|
+
{
|
|
52
|
+
"node": {
|
|
53
|
+
"Id": "08px000000JOa8mAAD",
|
|
54
|
+
"AppointmentNumber": {
|
|
55
|
+
"value": "19474374",
|
|
56
|
+
"__typename": "StringValue",
|
|
57
|
+
"displayValue": null
|
|
58
|
+
},
|
|
59
|
+
"OwnerId": {
|
|
60
|
+
"value": "005x0000000xPQsAAM",
|
|
61
|
+
"__typename": "IDValue",
|
|
62
|
+
"displayValue": null
|
|
63
|
+
},
|
|
64
|
+
"__typename": "ServiceAppointment",
|
|
65
|
+
"DisplayValue": "19474374",
|
|
66
|
+
"ApiName": "ServiceAppointment",
|
|
67
|
+
"WeakEtag": 1522877275000,
|
|
68
|
+
"LastModifiedById": {
|
|
69
|
+
"__typename": "IDValue",
|
|
70
|
+
"value": "005x0000000xNhvAAE",
|
|
71
|
+
"displayValue": null
|
|
72
|
+
},
|
|
73
|
+
"LastModifiedDate": {
|
|
74
|
+
"__typename": "DateTimeValue",
|
|
75
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
76
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
77
|
+
},
|
|
78
|
+
"SystemModstamp": {
|
|
79
|
+
"__typename": "DateTimeValue",
|
|
80
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
81
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
82
|
+
},
|
|
83
|
+
"ldsRecordTypeId": {
|
|
84
|
+
"__typename": "IDValue",
|
|
85
|
+
"value": "012000000000000AAA",
|
|
86
|
+
"displayValue": null
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"cursor": "djE6MA==",
|
|
90
|
+
"__typename": "ServiceAppointmentEdge"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"__typename": "ServiceAppointmentConnection",
|
|
94
|
+
"pageInfo": {
|
|
95
|
+
"hasNextPage": true,
|
|
96
|
+
"endCursor": "djE6MA==",
|
|
97
|
+
"startCursor": "djE6MA==",
|
|
98
|
+
"__typename": "PageInfo"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"second": {
|
|
102
|
+
"edges": [
|
|
103
|
+
{
|
|
104
|
+
"node": {
|
|
105
|
+
"Id": "08px000000JOa8mAAD",
|
|
106
|
+
"AccountId": {
|
|
107
|
+
"value": "001x0000004cKfzAAE",
|
|
108
|
+
"__typename": "IDValue",
|
|
109
|
+
"displayValue": null
|
|
110
|
+
},
|
|
111
|
+
"OwnerId": {
|
|
112
|
+
"value": "005x0000000xPQsAAM",
|
|
113
|
+
"__typename": "IDValue",
|
|
114
|
+
"displayValue": null
|
|
115
|
+
},
|
|
116
|
+
"__typename": "ServiceAppointment",
|
|
117
|
+
"DisplayValue": "19474374",
|
|
118
|
+
"ApiName": "ServiceAppointment",
|
|
119
|
+
"WeakEtag": 1522877275000,
|
|
120
|
+
"LastModifiedById": {
|
|
121
|
+
"__typename": "IDValue",
|
|
122
|
+
"value": "005x0000000xNhvAAE",
|
|
123
|
+
"displayValue": null
|
|
124
|
+
},
|
|
125
|
+
"LastModifiedDate": {
|
|
126
|
+
"__typename": "DateTimeValue",
|
|
127
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
128
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
129
|
+
},
|
|
130
|
+
"SystemModstamp": {
|
|
131
|
+
"__typename": "DateTimeValue",
|
|
132
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
133
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
134
|
+
},
|
|
135
|
+
"ldsRecordTypeId": {
|
|
136
|
+
"__typename": "IDValue",
|
|
137
|
+
"value": "012000000000000AAA",
|
|
138
|
+
"displayValue": null
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"cursor": "djE6MA==",
|
|
142
|
+
"__typename": "ServiceAppointmentEdge"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"node": {
|
|
146
|
+
"Id": "08px000000JOa8nAAD",
|
|
147
|
+
"AccountId": {
|
|
148
|
+
"value": "001x0000004cKfzAAE",
|
|
149
|
+
"__typename": "IDValue",
|
|
150
|
+
"displayValue": null
|
|
151
|
+
},
|
|
152
|
+
"OwnerId": {
|
|
153
|
+
"value": "005x0000000xPQsAAM",
|
|
154
|
+
"__typename": "IDValue",
|
|
155
|
+
"displayValue": null
|
|
156
|
+
},
|
|
157
|
+
"__typename": "ServiceAppointment",
|
|
158
|
+
"DisplayValue": "19474375",
|
|
159
|
+
"ApiName": "ServiceAppointment",
|
|
160
|
+
"WeakEtag": 1522877275000,
|
|
161
|
+
"LastModifiedById": {
|
|
162
|
+
"__typename": "IDValue",
|
|
163
|
+
"value": "005x0000000xNhvAAE",
|
|
164
|
+
"displayValue": null
|
|
165
|
+
},
|
|
166
|
+
"LastModifiedDate": {
|
|
167
|
+
"__typename": "DateTimeValue",
|
|
168
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
169
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
170
|
+
},
|
|
171
|
+
"SystemModstamp": {
|
|
172
|
+
"__typename": "DateTimeValue",
|
|
173
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
174
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
175
|
+
},
|
|
176
|
+
"ldsRecordTypeId": {
|
|
177
|
+
"__typename": "IDValue",
|
|
178
|
+
"value": "012000000000000AAA",
|
|
179
|
+
"displayValue": null
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"cursor": "djE6MQ==",
|
|
183
|
+
"__typename": "ServiceAppointmentEdge"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"__typename": "ServiceAppointmentConnection",
|
|
187
|
+
"pageInfo": {
|
|
188
|
+
"hasNextPage": true,
|
|
189
|
+
"endCursor": "djE6MQ==",
|
|
190
|
+
"startCursor": "djE6MA==",
|
|
191
|
+
"__typename": "PageInfo"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"__typename": "RecordQuery"
|
|
195
|
+
},
|
|
196
|
+
"__typename": "UIAPI"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"errors": []
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"data": {
|
|
5
|
+
"uiapi": {
|
|
6
|
+
"objectInfos": [
|
|
7
|
+
{
|
|
8
|
+
"ApiName": "IncludeAllDataTypes",
|
|
9
|
+
"fields": [
|
|
10
|
+
{
|
|
11
|
+
"ApiName": "ShippingLatitude",
|
|
12
|
+
"label": "Shipping Latitude",
|
|
13
|
+
"dataType": "DOUBLE",
|
|
14
|
+
"sortable": true,
|
|
15
|
+
"__typename": "Field"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"ApiName": "LastModifiedDate",
|
|
19
|
+
"label": "Last Modified Date",
|
|
20
|
+
"dataType": "DATETIME",
|
|
21
|
+
"sortable": true,
|
|
22
|
+
"__typename": "Field"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"ApiName": "ChannelProgramName",
|
|
26
|
+
"label": "Channel Program Name",
|
|
27
|
+
"dataType": "STRING",
|
|
28
|
+
"sortable": false,
|
|
29
|
+
"__typename": "Field"
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
{
|
|
33
|
+
"ApiName": "Industry",
|
|
34
|
+
"label": "Industry",
|
|
35
|
+
"dataType": "PICKLIST",
|
|
36
|
+
"sortable": true,
|
|
37
|
+
"__typename": "Field"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"ApiName": "CreatedById",
|
|
41
|
+
"label": "Created By ID",
|
|
42
|
+
"dataType": "REFERENCE",
|
|
43
|
+
"sortable": true,
|
|
44
|
+
"__typename": "Field"
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
{
|
|
48
|
+
"ApiName": "IsDeleted",
|
|
49
|
+
"label": "Deleted",
|
|
50
|
+
"dataType": "BOOLEAN",
|
|
51
|
+
"sortable": true,
|
|
52
|
+
"__typename": "Field"
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
{
|
|
56
|
+
"ApiName": "ShippingStreet",
|
|
57
|
+
"label": "Shipping Street",
|
|
58
|
+
"dataType": "TEXTAREA",
|
|
59
|
+
"sortable": true,
|
|
60
|
+
"__typename": "Field"
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
{
|
|
64
|
+
"ApiName": "AnnualRevenue",
|
|
65
|
+
"label": "Annual Revenue",
|
|
66
|
+
"dataType": "CURRENCY",
|
|
67
|
+
"sortable": true,
|
|
68
|
+
"__typename": "Field"
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
{
|
|
72
|
+
"ApiName": "Website",
|
|
73
|
+
"label": "Website",
|
|
74
|
+
"dataType": "URL",
|
|
75
|
+
"sortable": true,
|
|
76
|
+
"__typename": "Field"
|
|
77
|
+
},
|
|
78
|
+
|
|
79
|
+
{
|
|
80
|
+
"ApiName": "NumberOfEmployees",
|
|
81
|
+
"label": "Employees",
|
|
82
|
+
"dataType": "INT",
|
|
83
|
+
"sortable": true,
|
|
84
|
+
"__typename": "Field"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"ApiName": "BillingAddress",
|
|
88
|
+
"label": "Billing Address",
|
|
89
|
+
"dataType": "ADDRESS",
|
|
90
|
+
"sortable": false,
|
|
91
|
+
"__typename": "Field"
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
{
|
|
95
|
+
"ApiName": "Phone",
|
|
96
|
+
"label": "Account Phone",
|
|
97
|
+
"dataType": "PHONE",
|
|
98
|
+
"sortable": true,
|
|
99
|
+
"__typename": "Field"
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
{
|
|
103
|
+
"ApiName": "LastActivityDate",
|
|
104
|
+
"label": "Last Activity",
|
|
105
|
+
"dataType": "DATE",
|
|
106
|
+
"sortable": true,
|
|
107
|
+
"__typename": "Field"
|
|
108
|
+
},
|
|
109
|
+
|
|
110
|
+
{
|
|
111
|
+
"ApiName": "SuppliedEmail",
|
|
112
|
+
"label": "Email Address",
|
|
113
|
+
"dataType": "EMAIL",
|
|
114
|
+
"sortable": true,
|
|
115
|
+
"__typename": "Field"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"ApiName": "EncryptedText_Field_1__c",
|
|
119
|
+
"label": "EncryptedText Field 1",
|
|
120
|
+
"dataType": "ENCRYPTEDSTRING",
|
|
121
|
+
"sortable": true,
|
|
122
|
+
"__typename": "Field"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"ApiName": "VersionData",
|
|
126
|
+
"label": "Version Data",
|
|
127
|
+
"dataType": "BASE64",
|
|
128
|
+
"sortable": false,
|
|
129
|
+
"__typename": "Field"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"ApiName": "JSON_Field_1__c",
|
|
133
|
+
"label": "JSON Field 1",
|
|
134
|
+
"dataType": "JSON",
|
|
135
|
+
"sortable": false,
|
|
136
|
+
"__typename": "Field"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"ApiName": "Custom_Field_1__c",
|
|
140
|
+
"label": "Custom Field 1",
|
|
141
|
+
"dataType": "LONG",
|
|
142
|
+
"sortable": true,
|
|
143
|
+
"__typename": "Field"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"ApiName": "Custom_Field_2__c",
|
|
147
|
+
"label": "Custom Field 2",
|
|
148
|
+
"dataType": "LOCATION",
|
|
149
|
+
"sortable": true,
|
|
150
|
+
"__typename": "Field"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"ApiName": "Custom_Field_3__c",
|
|
154
|
+
"label": "Custom Field 3",
|
|
155
|
+
"dataType": "MULTIPICKLIST",
|
|
156
|
+
"sortable": false,
|
|
157
|
+
"__typename": "Field"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"ApiName": "Custom_Field_4__c",
|
|
161
|
+
"label": "Custom Field 4",
|
|
162
|
+
"dataType": "COMBOBOX",
|
|
163
|
+
"sortable": false,
|
|
164
|
+
"__typename": "Field"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"ApiName": "Custom_Field_5__c",
|
|
168
|
+
"label": "Custom Field 5",
|
|
169
|
+
"dataType": "COMPLEXVALUE",
|
|
170
|
+
"sortable": false,
|
|
171
|
+
"__typename": "Field"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"ApiName": "Custom_Field_6__c",
|
|
175
|
+
"label": "Custom Field 6",
|
|
176
|
+
"dataType": "JUNCTIONIDLIST",
|
|
177
|
+
"sortable": false,
|
|
178
|
+
"__typename": "Field"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"ApiName": "Probability",
|
|
182
|
+
"label": "Probability (%)",
|
|
183
|
+
"dataType": "PERCENT",
|
|
184
|
+
"sortable": false,
|
|
185
|
+
"__typename": "Field"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"ApiName": "Flight_Time",
|
|
189
|
+
"label": "Flight Time",
|
|
190
|
+
"dataType": "TIME",
|
|
191
|
+
"sortable": false,
|
|
192
|
+
"__typename": "Field"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"ApiName": "OldValue",
|
|
196
|
+
"label": "Old Value",
|
|
197
|
+
"dataType": "ANYTYPE",
|
|
198
|
+
"sortable": true,
|
|
199
|
+
"__typename": "Field"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"__typename": "ObjectInfo"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"__typename": "UIAPI"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"errors": []
|
|
209
|
+
}
|
|
210
|
+
}
|