@rh-support/utils 2.2.0-alpha.0 → 2.4.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/lib/esm/index.d.ts +0 -4
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +0 -4
- package/lib/esm/searchApiUtils.js +1 -1
- package/package.json +4 -8
- package/lib/esm/graphqlClientUtils.d.ts +0 -4
- package/lib/esm/graphqlClientUtils.d.ts.map +0 -1
- package/lib/esm/graphqlClientUtils.js +0 -36
- package/lib/esm/graphqlFetchUtils.d.ts +0 -22
- package/lib/esm/graphqlFetchUtils.d.ts.map +0 -1
- package/lib/esm/graphqlFetchUtils.js +0 -48
- package/lib/esm/graphqlMutationUtils.d.ts +0 -6
- package/lib/esm/graphqlMutationUtils.d.ts.map +0 -1
- package/lib/esm/graphqlMutationUtils.js +0 -112
- package/lib/esm/graphqlQueries.d.ts +0 -3
- package/lib/esm/graphqlQueries.d.ts.map +0 -1
- package/lib/esm/graphqlQueries.js +0 -54
package/lib/esm/index.d.ts
CHANGED
|
@@ -25,8 +25,4 @@ export * from './outlier';
|
|
|
25
25
|
export * from './sentry';
|
|
26
26
|
export * from './constants/preferredLanguages';
|
|
27
27
|
export * from './tncUtil';
|
|
28
|
-
export * from './graphqlClientUtils';
|
|
29
|
-
export * from './graphqlQueries';
|
|
30
|
-
export * from './graphqlFetchUtils';
|
|
31
|
-
export * from './graphqlMutationUtils';
|
|
32
28
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gCAAgC,CAAC;AAC/C,cAAc,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gCAAgC,CAAC;AAC/C,cAAc,WAAW,CAAC"}
|
package/lib/esm/index.js
CHANGED
|
@@ -25,7 +25,3 @@ export * from './outlier';
|
|
|
25
25
|
export * from './sentry';
|
|
26
26
|
export * from './constants/preferredLanguages';
|
|
27
27
|
export * from './tncUtil';
|
|
28
|
-
export * from './graphqlClientUtils';
|
|
29
|
-
export * from './graphqlQueries';
|
|
30
|
-
export * from './graphqlFetchUtils';
|
|
31
|
-
export * from './graphqlMutationUtils';
|
|
@@ -5,7 +5,7 @@ export const issuesDefaultParamsObj = {
|
|
|
5
5
|
fq: [documentKindToInclude, '-internalTags:helper_solution'],
|
|
6
6
|
start: 0,
|
|
7
7
|
rows: 10,
|
|
8
|
-
fl: 'id, allTitle, publishedTitle, view_uri, resource_uri, uri, issue, lastModifiedDate, kcsState, kcsRateUp, kcsRateDown, documentKind, publishedAbstract, abstract, authorSSOName, tag, snippet',
|
|
8
|
+
fl: 'id, allTitle, publishedTitle, view_uri, resource_uri, uri, issue, lastModifiedDate, kcsState, kcsRateUp, kcsRateDown, documentKind, publishedAbstract, abstract, authorSSOName, tag, snippet, cve_threatSeverity',
|
|
9
9
|
seQueryFields: false,
|
|
10
10
|
hl: true,
|
|
11
11
|
'hl.fl': 'abstract, publishedAbstract, issue',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/utils",
|
|
3
|
-
"version": "2.2
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "Vikas Rathee <vrathee@redhat.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -41,21 +41,17 @@
|
|
|
41
41
|
"prepublishOnly": "npm run build"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@
|
|
45
|
-
"@cee-eng/hydrajs": "4.17.26",
|
|
46
|
-
"graphql": "^16.9.0",
|
|
44
|
+
"@cee-eng/hydrajs": "4.17.33",
|
|
47
45
|
"localforage": "^1.10.0",
|
|
48
46
|
"lodash": "^4.17.21",
|
|
49
47
|
"qs": "^6.7.0",
|
|
50
48
|
"solr-query-builder": "1.0.1"
|
|
51
49
|
},
|
|
52
50
|
"dependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"@cee-eng/hydrajs": "4.17.26",
|
|
51
|
+
"@cee-eng/hydrajs": "4.17.33",
|
|
55
52
|
"@rh-support/types": "2.0.4",
|
|
56
53
|
"date-fns": "3.6.0",
|
|
57
54
|
"dompurify": "^2.2.6",
|
|
58
|
-
"graphql": "^16.9.0",
|
|
59
55
|
"localforage": "^1.10.0",
|
|
60
56
|
"lodash": "^4.17.21",
|
|
61
57
|
"lucene": "^2.1.1",
|
|
@@ -79,5 +75,5 @@
|
|
|
79
75
|
"defaults and supports es6-module",
|
|
80
76
|
"maintained node versions"
|
|
81
77
|
],
|
|
82
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "908b440e3c6cd625c77178c3205f4e2908630446"
|
|
83
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlClientUtils.d.ts","sourceRoot":"","sources":["../../src/graphqlClientUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiB,MAAM,gBAAgB,CAAC;AAqC7D,QAAA,MAAM,aAAa,8DAGjB,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ApolloClient, InMemoryCache } from '@apollo/client';
|
|
2
|
-
// import { setContext } from '@apollo/client/link/context';
|
|
3
|
-
// import { onError } from '@apollo/client/link/error';
|
|
4
|
-
console.log('graphql client file1');
|
|
5
|
-
// const httpLink = createHttpLink({
|
|
6
|
-
// uri: 'http://localhost:4000/graphql',
|
|
7
|
-
// });
|
|
8
|
-
// Auth link to include authentication tokens
|
|
9
|
-
// const authLink = setContext((_, { headers }) => {
|
|
10
|
-
// const token = localStorage.getItem('authToken');
|
|
11
|
-
// return {
|
|
12
|
-
// headers: {
|
|
13
|
-
// ...headers,
|
|
14
|
-
// authorization: token ? `Bearer ${token}` : '',
|
|
15
|
-
// },
|
|
16
|
-
// };
|
|
17
|
-
// });
|
|
18
|
-
// Error handling link
|
|
19
|
-
// const errorLink = onError(({ graphQLErrors, networkError }) => {
|
|
20
|
-
// if (graphQLErrors) {
|
|
21
|
-
// graphQLErrors.forEach(({ message, locations, path }) =>
|
|
22
|
-
// console.error(`[GraphQL error]: Message: ${message}, Location: ${JSON.stringify(locations)}, Path: ${path}`)
|
|
23
|
-
// );
|
|
24
|
-
// }
|
|
25
|
-
// if (networkError) {
|
|
26
|
-
// console.error(`[Network error]: ${networkError}`);
|
|
27
|
-
// }
|
|
28
|
-
// });
|
|
29
|
-
// Combine links
|
|
30
|
-
// const link = ApolloLink.from([authLink, errorLink as unknown as ApolloLink, httpLink]);
|
|
31
|
-
// Initialize Apollo Client
|
|
32
|
-
const graphqlClient = new ApolloClient({
|
|
33
|
-
uri: 'http://localhost:4000/graphql',
|
|
34
|
-
cache: new InMemoryCache(),
|
|
35
|
-
});
|
|
36
|
-
export { graphqlClient };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DocumentNode } from 'graphql';
|
|
2
|
-
export interface GraphQLRequest<TVariables> {
|
|
3
|
-
query: DocumentNode;
|
|
4
|
-
variables?: TVariables;
|
|
5
|
-
}
|
|
6
|
-
export interface GraphQLResponse<TData> {
|
|
7
|
-
data?: TData;
|
|
8
|
-
errors?: Array<{
|
|
9
|
-
message: string;
|
|
10
|
-
locations?: Array<{
|
|
11
|
-
line: number;
|
|
12
|
-
column: number;
|
|
13
|
-
}>;
|
|
14
|
-
path?: Array<string | number>;
|
|
15
|
-
}>;
|
|
16
|
-
}
|
|
17
|
-
export declare function getAuthToken(): string | null;
|
|
18
|
-
export declare function getAuthHeaders(): {
|
|
19
|
-
[key: string]: string;
|
|
20
|
-
};
|
|
21
|
-
export declare function graphqlFetch<TData, TVariables = {}>(request: GraphQLRequest<TVariables>): Promise<TData>;
|
|
22
|
-
//# sourceMappingURL=graphqlFetchUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlFetchUtils.d.ts","sourceRoot":"","sources":["../../src/graphqlFetchUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,WAAW,cAAc,CAAC,UAAU;IACtC,KAAK,EAAE,YAAY,CAAC;IACpB,SAAS,CAAC,EAAE,UAAU,CAAC;CAC1B;AAED,MAAM,WAAW,eAAe,CAAC,KAAK;IAClC,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACpD,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;KACjC,CAAC,CAAC;CACN;AAED,wBAAgB,YAAY,IAAI,MAAM,GAAG,IAAI,CAE5C;AAED,wBAAgB,cAAc,IAAI;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAQ1D;AAED,wBAAsB,YAAY,CAAC,KAAK,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAgC9G"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
export function getAuthToken() {
|
|
11
|
-
var _a;
|
|
12
|
-
return ((_a = window === null || window === void 0 ? void 0 : window.sessionjs) === null || _a === void 0 ? void 0 : _a.getEncodedToken()) || '';
|
|
13
|
-
}
|
|
14
|
-
export function getAuthHeaders() {
|
|
15
|
-
const token = getAuthToken();
|
|
16
|
-
if (token) {
|
|
17
|
-
return {
|
|
18
|
-
Authorization: `Bearer ${token}`,
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
return {};
|
|
22
|
-
}
|
|
23
|
-
export function graphqlFetch(request) {
|
|
24
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
-
var _a, _b, _c;
|
|
26
|
-
const { query, variables } = request;
|
|
27
|
-
const queryString = typeof query === 'string' ? query : (_a = query.loc) === null || _a === void 0 ? void 0 : _a.source.body;
|
|
28
|
-
const response = yield fetch('https://vpn.graphql.dev.redhat.com/graphql', {
|
|
29
|
-
method: 'POST',
|
|
30
|
-
headers: Object.assign({ 'Content-Type': 'application/json', 'apollographql-client-name': 'portal-case-management', 'apollographql-client-version': 'latest' }, getAuthHeaders()),
|
|
31
|
-
body: JSON.stringify({
|
|
32
|
-
query: queryString,
|
|
33
|
-
variables,
|
|
34
|
-
}),
|
|
35
|
-
});
|
|
36
|
-
const responseBody = yield response.json();
|
|
37
|
-
if (!response.ok) {
|
|
38
|
-
throw new Error(((_c = (_b = responseBody.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.message) || 'Network response was not ok');
|
|
39
|
-
}
|
|
40
|
-
if (responseBody.errors) {
|
|
41
|
-
throw new Error(responseBody.errors.map((err) => err.message).join(', '));
|
|
42
|
-
}
|
|
43
|
-
if (!responseBody.data) {
|
|
44
|
-
throw new Error('No data returned from GraphQL');
|
|
45
|
-
}
|
|
46
|
-
return responseBody.data;
|
|
47
|
-
});
|
|
48
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const CREATE_SESSION: import("@apollo/client").DocumentNode;
|
|
2
|
-
declare const UPDATE_SESSION: import("@apollo/client").DocumentNode;
|
|
3
|
-
declare const CREATE_SESSION_RESOURCE: import("@apollo/client").DocumentNode;
|
|
4
|
-
declare const UPDATE_SESSION_RESOURCE: import("@apollo/client").DocumentNode;
|
|
5
|
-
export { CREATE_SESSION, UPDATE_SESSION, CREATE_SESSION_RESOURCE, UPDATE_SESSION_RESOURCE };
|
|
6
|
-
//# sourceMappingURL=graphqlMutationUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlMutationUtils.d.ts","sourceRoot":"","sources":["../../src/graphqlMutationUtils.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,cAAc,uCA+CnB,CAAC;AAEF,QAAA,MAAM,cAAc,uCA+CnB,CAAC;AAEF,QAAA,MAAM,uBAAuB,uCAM5B,CAAC;AAEF,QAAA,MAAM,uBAAuB,uCAM5B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { gql } from '@apollo/client';
|
|
2
|
-
const CREATE_SESSION = gql `
|
|
3
|
-
mutation CreateSession($input: CreateSessionInput!) {
|
|
4
|
-
pcm_create_session(input: $input) {
|
|
5
|
-
id
|
|
6
|
-
isActive
|
|
7
|
-
createdBy
|
|
8
|
-
modifiedBy
|
|
9
|
-
createdDate
|
|
10
|
-
modifiedDate
|
|
11
|
-
userAgent
|
|
12
|
-
originatingSystem
|
|
13
|
-
hasVisitedResources
|
|
14
|
-
referrerUrl
|
|
15
|
-
caseCreationError
|
|
16
|
-
isInternal
|
|
17
|
-
isResolved
|
|
18
|
-
isActive
|
|
19
|
-
pcmSessionDetails {
|
|
20
|
-
id
|
|
21
|
-
environment
|
|
22
|
-
description
|
|
23
|
-
sessionId
|
|
24
|
-
product
|
|
25
|
-
version
|
|
26
|
-
summary
|
|
27
|
-
issue
|
|
28
|
-
environment
|
|
29
|
-
periodicityOfIssue
|
|
30
|
-
timeFramesAndUrgency
|
|
31
|
-
type
|
|
32
|
-
severity
|
|
33
|
-
sla
|
|
34
|
-
accountNumber
|
|
35
|
-
folderNumber
|
|
36
|
-
contactSsoUsername
|
|
37
|
-
notifiedUsersInternal
|
|
38
|
-
notifiedUsersExternal
|
|
39
|
-
clusterId
|
|
40
|
-
noClusterIdReason
|
|
41
|
-
caseAlternateId
|
|
42
|
-
phoneCountryCode
|
|
43
|
-
noClusterIdReasonExplanation
|
|
44
|
-
phoneAreaCodePrefixLineNumber
|
|
45
|
-
screenSessionRequested
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
`;
|
|
50
|
-
const UPDATE_SESSION = gql `
|
|
51
|
-
mutation UpdateSession($input: UpdateSessionInput!) {
|
|
52
|
-
pcm_update_session(input: $input) {
|
|
53
|
-
id
|
|
54
|
-
isActive
|
|
55
|
-
createdBy
|
|
56
|
-
modifiedBy
|
|
57
|
-
createdDate
|
|
58
|
-
modifiedDate
|
|
59
|
-
userAgent
|
|
60
|
-
originatingSystem
|
|
61
|
-
hasVisitedResources
|
|
62
|
-
referrerUrl
|
|
63
|
-
caseCreationError
|
|
64
|
-
isInternal
|
|
65
|
-
isResolved
|
|
66
|
-
isActive
|
|
67
|
-
pcmSessionDetails {
|
|
68
|
-
id
|
|
69
|
-
environment
|
|
70
|
-
description
|
|
71
|
-
sessionId
|
|
72
|
-
product
|
|
73
|
-
version
|
|
74
|
-
summary
|
|
75
|
-
issue
|
|
76
|
-
environment
|
|
77
|
-
periodicityOfIssue
|
|
78
|
-
timeFramesAndUrgency
|
|
79
|
-
type
|
|
80
|
-
severity
|
|
81
|
-
sla
|
|
82
|
-
accountNumber
|
|
83
|
-
folderNumber
|
|
84
|
-
contactSsoUsername
|
|
85
|
-
notifiedUsersInternal
|
|
86
|
-
notifiedUsersExternal
|
|
87
|
-
clusterId
|
|
88
|
-
noClusterIdReason
|
|
89
|
-
caseAlternateId
|
|
90
|
-
phoneCountryCode
|
|
91
|
-
noClusterIdReasonExplanation
|
|
92
|
-
phoneAreaCodePrefixLineNumber
|
|
93
|
-
screenSessionRequested
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
`;
|
|
98
|
-
const CREATE_SESSION_RESOURCE = gql `
|
|
99
|
-
mutation CreateSessionResource($input: CreateSessionResourceInput!) {
|
|
100
|
-
pcm_create_session_resource(input: $input) {
|
|
101
|
-
resourceOriginId
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
`;
|
|
105
|
-
const UPDATE_SESSION_RESOURCE = gql `
|
|
106
|
-
mutation UpdateSessionResource($input: UpdateSessionResourceInput!) {
|
|
107
|
-
pcm_update_session_resource(input: $input) {
|
|
108
|
-
resourceOriginId
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
`;
|
|
112
|
-
export { CREATE_SESSION, UPDATE_SESSION, CREATE_SESSION_RESOURCE, UPDATE_SESSION_RESOURCE };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlQueries.d.ts","sourceRoot":"","sources":["../../src/graphqlQueries.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,uCAmDhB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { gql } from '@apollo/client';
|
|
2
|
-
const GET_SESSION = gql `
|
|
3
|
-
query Pcm_session($filters: SessionFilterInput, $first: Int!) {
|
|
4
|
-
pcm_session(filters: $filters, first: $first) {
|
|
5
|
-
edges {
|
|
6
|
-
node {
|
|
7
|
-
id
|
|
8
|
-
isActive
|
|
9
|
-
createdBy
|
|
10
|
-
modifiedBy
|
|
11
|
-
createdDate
|
|
12
|
-
modifiedDate
|
|
13
|
-
userAgent
|
|
14
|
-
originatingSystem
|
|
15
|
-
hasVisitedResources
|
|
16
|
-
referrerUrl
|
|
17
|
-
caseCreationError
|
|
18
|
-
isInternal
|
|
19
|
-
isResolved
|
|
20
|
-
isActive
|
|
21
|
-
pcmSessionDetails {
|
|
22
|
-
id
|
|
23
|
-
environment
|
|
24
|
-
description
|
|
25
|
-
sessionId
|
|
26
|
-
product
|
|
27
|
-
version
|
|
28
|
-
summary
|
|
29
|
-
issue
|
|
30
|
-
environment
|
|
31
|
-
periodicityOfIssue
|
|
32
|
-
timeFramesAndUrgency
|
|
33
|
-
type
|
|
34
|
-
severity
|
|
35
|
-
sla
|
|
36
|
-
accountNumber
|
|
37
|
-
folderNumber
|
|
38
|
-
contactSsoUsername
|
|
39
|
-
notifiedUsersInternal
|
|
40
|
-
notifiedUsersExternal
|
|
41
|
-
clusterId
|
|
42
|
-
noClusterIdReason
|
|
43
|
-
caseAlternateId
|
|
44
|
-
phoneCountryCode
|
|
45
|
-
noClusterIdReasonExplanation
|
|
46
|
-
phoneAreaCodePrefixLineNumber
|
|
47
|
-
screenSessionRequested
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
`;
|
|
54
|
-
export { GET_SESSION };
|