// npx ts-node app/javascript/packages/store/src/graphql/testEntry.ts Up

import Queries from './queries';

import Mutations from './mutations';

const GQQueries = {
  APPS: Queries.APPS,
  APP: Queries.APP,
  OAUTH_APPS: Queries.OAUTH_APPS,
  OAUTH_APP: Queries.OAUTH_APP,
  AUTHORIZED_OAUTH_APPS: Queries.AUTHORIZED_OAUTH_APPS,
  AGENTS: Queries.AGENTS,
  ROLE_AGENTS: Queries.ROLE_AGENTS,
  PENDING_AGENTS: Queries.PENDING_AGENTS,
  AGENT: Queries.AGENT,
  SEGMENT: Queries.SEGMENT,
  CONVERSATIONS: Queries.CONVERSATIONS,
  CONVERSATIONS_COUNTS: Queries.CONVERSATIONS_COUNTS,
  CONVERSATION: Queries.CONVERSATION,
  CONVERSATION_WITH_LAST_MESSAGE: Queries.CONVERSATION_WITH_LAST_MESSAGE,
  CURRENT_USER: Queries.CURRENT_USER,
  APP_USER: Queries.APP_USER,
  APP_USER_CONVERSATIONS: Queries.APP_USER_CONVERSATIONS,
  APP_USER_VISITS: Queries.APP_USER_VISITS,
  CAMPAIGNS: Queries.CAMPAIGNS,
  CAMPAIGN_SUBSCRIPTION_TOGGLE: Queries.CAMPAIGN_SUBSCRIPTION_TOGGLE,
  CAMPAIGN: Queries.CAMPAIGN,
  CAMPAIGN_METRICS: Queries.CAMPAIGN_METRICS,
  ASSIGNMENT_RULES: Queries.ASSIGNMENT_RULES,
  QUICK_REPLIES: Queries.QUICK_REPLIES,
  QUICK_REPLY: Queries.QUICK_REPLY,
  ARTICLE_SETTINGS: Queries.ARTICLE_SETTINGS,
  ARTICLES: Queries.ARTICLES,
  ARTICLES_UNCATEGORIZED: Queries.ARTICLES_UNCATEGORIZED,
  ARTICLE: Queries.ARTICLE,
  ARTICLE_COLLECTIONS: Queries.ARTICLE_COLLECTIONS,
  ARTICLE_COLLECTION: Queries.ARTICLE_COLLECTION,
  ARTICLE_COLLECTION_WITH_SECTIONS: Queries.ARTICLE_COLLECTION_WITH_SECTIONS,
  BOT_TASKS: Queries.BOT_TASKS,
  BOT_TASK: Queries.BOT_TASK,
  BOT_TASK_METRICS: Queries.BOT_TASK_METRICS,
  DASHBOARD: Queries.DASHBOARD,
  APP_PACKAGES: Queries.APP_PACKAGES,
  AGENT_APP_PACKAGES: Queries.AGENT_APP_PACKAGES,
  APP_PACKAGE: Queries.APP_PACKAGE,
  AGENT_APP_PACKAGE: Queries.AGENT_APP_PACKAGE,
  APP_PACKAGES_BY_CAPABILITY: Queries.APP_PACKAGES_BY_CAPABILITY,
  APP_PACKAGE_HOOK: Queries.APP_PACKAGE_HOOK,
  EVENT_TYPES: Queries.EVENT_TYPES,
  OUTGOING_WEBHOOKS: Queries.OUTGOING_WEBHOOKS,
  EDITOR_APP_PACKAGES: Queries.EDITOR_APP_PACKAGES,
  APP_PACKAGE_INTEGRATIONS: Queries.APP_PACKAGE_INTEGRATIONS,
  PLANS: Queries.PLANS,
  USER_TRANSACTIONS: Queries.USER_TRANSACTIONS,
  SUBSCRIPTION_TRANSACTIONS: Queries.SUBSCRIPTION_TRANSACTIONS,
  SUBSCRIPTION_DETAILS: Queries.SUBSCRIPTION_DETAILS,
  UPDATE_SUBSCRIPTION_PLAN: Queries.UPDATE_SUBSCRIPTION_PLAN,
  UPDATE_APP: Mutations.UPDATE_APP,
  DESTROY_APP: Mutations.DESTROY_APP,
  CREATE_APP: Mutations.CREATE_APP,
  APP_USER_UPDATE_STATE: Mutations.APP_USER_UPDATE_STATE,
  APP_USER_UPDATE: Mutations.APP_USER_UPDATE,
  SYNC_EXTERNAL_PROFILE: Mutations.SYNC_EXTERNAL_PROFILE,
  START_CONVERSATION: Mutations.START_CONVERSATION,
  INSERT_COMMMENT: Mutations.INSERT_COMMMENT,
  TYPING_NOTIFIER: Mutations.TYPING_NOTIFIER,
  INSERT_APP_BLOCK_COMMMENT: Mutations.INSERT_APP_BLOCK_COMMMENT,

  SEND_TRIGGER: Mutations.SEND_TRIGGER,
  INSERT_NOTE: Mutations.INSERT_NOTE,
  ASSIGN_USER: Mutations.ASSIGN_USER,
  CREATE_ASSIGNMENT_RULE: Mutations.CREATE_ASSIGNMENT_RULE,
  UPDATE_RULE_PRIORITIES: Mutations.UPDATE_RULE_PRIORITIES,
  EDIT_ASSIGNMENT_RULE: Mutations.EDIT_ASSIGNMENT_RULE,
  DELETE_ASSIGNMENT_RULE: Mutations.DELETE_ASSIGNMENT_RULE,
  UPDATE_CONVERSATION_TAG_LIST: Mutations.UPDATE_CONVERSATION_TAG_LIST,
  UPDATE_CONVERSATION_STATE: Mutations.UPDATE_CONVERSATION_STATE,
  TOGGLE_CONVERSATION_PRIORITY: Mutations.TOGGLE_CONVERSATION_PRIORITY,
  UPDATE_CAMPAIGN: Mutations.UPDATE_CAMPAIGN,
  DELETE_CAMPAIGN: Mutations.DELETE_CAMPAIGN,
  DELIVER_CAMPAIGN: Mutations.DELIVER_CAMPAIGN,
  PURGE_METRICS: Mutations.PURGE_METRICS,
  CREATE_CAMPAIGN: Mutations.CREATE_CAMPAIGN,
  PREDICATES_SEARCH: Mutations.PREDICATES_SEARCH,
  PREDICATES_DELETE: Mutations.PREDICATES_DELETE,
  PREDICATES_CREATE: Mutations.PREDICATES_CREATE,
  PREDICATES_UPDATE: Mutations.PREDICATES_UPDATE,
  WEBHOOK_DELETE: Mutations.WEBHOOK_DELETE,
  WEBHOOK_CREATE: Mutations.WEBHOOK_CREATE,
  WEBHOOK_UPDATE: Mutations.WEBHOOK_UPDATE,
  QUICK_REPLY_CREATE: Mutations.QUICK_REPLY_CREATE,
  QUICK_REPLY_UPDATE: Mutations.QUICK_REPLY_UPDATE,
  QUICK_REPLY_DELETE: Mutations.QUICK_REPLY_DELETE,
  INVITE_AGENT: Mutations.INVITE_AGENT,
  UPDATE_AGENT: Mutations.UPDATE_AGENT,
  UPDATE_AGENT_ROLE: Mutations.UPDATE_AGENT_ROLE,
  CREATE_ARTICLE: Mutations.CREATE_ARTICLE,
  EDIT_ARTICLE: Mutations.EDIT_ARTICLE,
  ARTICLE_BLOB_ATTACH: Mutations.ARTICLE_BLOB_ATTACH,
  TOGGLE_ARTICLE: Mutations.TOGGLE_ARTICLE,
  ARTICLE_ASSIGN_AUTHOR: Mutations.ARTICLE_ASSIGN_AUTHOR,
  DELETE_ARTICLE: Mutations.DELETE_ARTICLE,
  CREATE_DIRECT_UPLOAD: Mutations.CREATE_DIRECT_UPLOAD,
  CREATE_URL_UPLOAD: Mutations.CREATE_URL_UPLOAD,
  REORDER_ARTICLE: Mutations.REORDER_ARTICLE,
  ARTICLE_COLLECTION_CREATE: Mutations.ARTICLE_COLLECTION_CREATE,
  ARTICLE_COLLECTION_CHANGE: Mutations.ARTICLE_COLLECTION_CHANGE,
  ARTICLE_COLLECTION_EDIT: Mutations.ARTICLE_COLLECTION_EDIT,
  ARTICLE_COLLECTION_DELETE: Mutations.ARTICLE_COLLECTION_DELETE,
  ARTICLE_SECTION_CREATE: Mutations.ARTICLE_SECTION_CREATE,
  ARTICLE_SECTION_EDIT: Mutations.ARTICLE_SECTION_EDIT,
  ARTICLE_SECTION_DELETE: Mutations.ARTICLE_SECTION_DELETE,
  ADD_ARTICLES_TO_COLLECTION: Mutations.ADD_ARTICLES_TO_COLLECTION,
  ARTICLE_SETTINGS_UPDATE: Mutations.ARTICLE_SETTINGS_UPDATE,
  ARTICLE_SETTINGS_DELETE_LANG: Mutations.ARTICLE_SETTINGS_DELETE_LANG,
  CREATE_BOT_TASK: Mutations.CREATE_BOT_TASK,
  UPDATE_BOT_TASK: Mutations.UPDATE_BOT_TASK,
  DELETE_BOT_TASK: Mutations.DELETE_BOT_TASK,
  CREATE_OAUTH_APP: Mutations.CREATE_OAUTH_APP,
  UPDATE_OAUTH_APP: Mutations.UPDATE_OAUTH_APP,
  DELETE_OAUTH_APP: Mutations.DELETE_OAUTH_APP,
  CREATE_INTEGRATION: Mutations.CREATE_INTEGRATION,
  UPDATE_INTEGRATION: Mutations.UPDATE_INTEGRATION,
  DELETE_INTEGRATION: Mutations.DELETE_INTEGRATION,
  CREATE_PACKAGE: Mutations.CREATE_PACKAGE,
  UPDATE_PACKAGE: Mutations.UPDATE_PACKAGE,
  DELETE_PACKAGE: Mutations.DELETE_PACKAGE,
};

// example
// npx babel-node ./app/javascript/src/graphql/entry.mjs APPS
var myArgs = process.argv.slice(2);
console.log(GQQueries[myArgs[0]]);
//console.log(Direction[myArgs[0]])
