SHARE
TWEET

Untitled

a guest Dec 2nd, 2019 157 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. type company {
  2.   name: String!
  3.   site: String!
  4.   phone: String!
  5.   email: String!
  6.   logo: String!
  7. }
  8.  
  9. type contact {
  10.   firstName: String!
  11.   lastName: String!
  12.   email: String!
  13.   image: String!
  14.   phone: String!
  15.   notes: String!
  16.   isCustomer: Boolean!
  17.   contactCompany: company!
  18. }
  19.  
  20. type cpq {
  21.   name: String!
  22.   description: String!
  23.   image: String!
  24.   configuration: JSONObject!
  25. }
  26.  
  27. type crmSettings {
  28.   crmMenuConfig: menuConfig!
  29.   crmPagesSettings: pagesConfig!
  30. }
  31.  
  32. type gs {
  33.   name: String!
  34.   image: String!
  35.   description: String!
  36.   configuration: JSONObject!
  37. }
  38.  
  39. type item {
  40.   name: String!
  41.   type: String!
  42.   description: String!
  43.   image: String!
  44.   code: String!
  45.   price: Float!
  46.   minQuantity: Float!
  47.   availableQuantity: Float!
  48. }
  49.  
  50. type itemOfQuote {
  51.   itemToQuote: item!
  52.   quoteToItem: quote!
  53. }
  54.  
  55. """
  56. The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
  57. """
  58. scalar JSONObject
  59.  
  60. type menuConfig {
  61.   name: JSONObject!
  62.   description: String!
  63.   configuration: JSONObject!
  64. }
  65.  
  66. type pagesConfig {
  67.   name: String!
  68.   description: String!
  69.   configuration: JSONObject!
  70. }
  71.  
  72. type Query {
  73.   user(firstName: StringQuery, lastName: StringQuery, email: StringQuery, password: StringQuery, phone: StringQuery, notes: StringQuery): user
  74.   role(name: StringQuery, notes: StringQuery): role
  75.   menuConfig(description: StringQuery): menuConfig
  76.   pagesConfig(name: StringQuery, description: StringQuery): pagesConfig
  77.   item(name: StringQuery, type: StringQuery, description: StringQuery, image: StringQuery, code: StringQuery): item
  78.   crmSettings: crmSettings
  79.   contact(firstName: StringQuery, lastName: StringQuery, email: StringQuery, image: StringQuery, phone: StringQuery, notes: StringQuery): contact
  80.   company(name: StringQuery, site: StringQuery, phone: StringQuery, email: StringQuery, logo: StringQuery): company
  81.   quote(name: StringQuery, currStatus: StringQuery): quote
  82.   itemOfQuote: itemOfQuote
  83.   cpq(name: StringQuery, description: StringQuery, image: StringQuery): cpq
  84.   gs(name: StringQuery, image: StringQuery, description: StringQuery): gs
  85. }
  86.  
  87. type quote {
  88.   name: String!
  89.   probability: Float!
  90.   expCloseDate: Time!
  91.   currStatus: String!
  92.   quoteCustomer: contact!
  93. }
  94.  
  95. type role {
  96.   name: String!
  97.   notes: String!
  98.   roleMenuConfig: menuConfig!
  99.   rolePagesConfig: pagesConfig!
  100. }
  101.  
  102. input StringQuery {
  103.   ilike: String!
  104.   match: String
  105. }
  106.  
  107. scalar Time
  108.  
  109. type user {
  110.   firstName: String!
  111.   lastName: String!
  112.   email: String!
  113.   password: String!
  114.   phone: String!
  115.   notes: String!
  116.   image: String
  117.   roleOfUser: role!
  118.   userMenuConfig: menuConfig!
  119.   userPagesConfig: pagesConfig!
  120. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top