137 lines
3.4 KiB
TypeScript
137 lines
3.4 KiB
TypeScript
/**
|
|
* @generated SignedSource<<799dc16fa7e9b770dbaba857b2d887ef>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
export type ReauthenticationReason = "POLICY_REQUIREMENT" | "SENSITIVE_ACTION" | "SESSION_EXPIRED";
|
|
export type AssumeOrganizationSessionInput = {
|
|
continue: string;
|
|
organizationId: string;
|
|
};
|
|
export type AssumePageMutation$variables = {
|
|
input: AssumeOrganizationSessionInput;
|
|
};
|
|
export type AssumePageMutation$data = {
|
|
readonly assumeOrganizationSession: {
|
|
readonly result: {
|
|
readonly __typename: "PasswordRequired";
|
|
readonly reason: ReauthenticationReason;
|
|
} | {
|
|
readonly __typename: "SAMLAuthenticationRequired";
|
|
readonly reason: ReauthenticationReason;
|
|
} | {
|
|
// This will never be '%other', but we need some
|
|
// value in case none of the concrete values match.
|
|
readonly __typename: "%other";
|
|
};
|
|
} | null | undefined;
|
|
};
|
|
export type AssumePageMutation = {
|
|
response: AssumePageMutation$data;
|
|
variables: AssumePageMutation$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "input"
|
|
}
|
|
],
|
|
v1 = [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "reason",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
v2 = [
|
|
{
|
|
"alias": null,
|
|
"args": [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "input",
|
|
"variableName": "input"
|
|
}
|
|
],
|
|
"concreteType": "AssumeOrganizationSessionPayload",
|
|
"kind": "LinkedField",
|
|
"name": "assumeOrganizationSession",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": null,
|
|
"kind": "LinkedField",
|
|
"name": "result",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "__typename",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": (v1/*: any*/),
|
|
"type": "PasswordRequired",
|
|
"abstractKey": null
|
|
},
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": (v1/*: any*/),
|
|
"type": "SAMLAuthenticationRequired",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
];
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "AssumePageMutation",
|
|
"selections": (v2/*: any*/),
|
|
"type": "Mutation",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Operation",
|
|
"name": "AssumePageMutation",
|
|
"selections": (v2/*: any*/)
|
|
},
|
|
"params": {
|
|
"cacheID": "d8d9f257921f8f642821de2af7f22bcb",
|
|
"id": null,
|
|
"metadata": {},
|
|
"name": "AssumePageMutation",
|
|
"operationKind": "mutation",
|
|
"text": "mutation AssumePageMutation(\n $input: AssumeOrganizationSessionInput!\n) {\n assumeOrganizationSession(input: $input) {\n result {\n __typename\n ... on PasswordRequired {\n reason\n }\n ... on SAMLAuthenticationRequired {\n reason\n }\n }\n }\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "289d3534a87fa6cdb46384af573d5a57";
|
|
|
|
export default node;
|