generated-types.ts 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460
  1. /* tslint:disable */
  2. // This file was automatically generated and should not be edited.
  3. // ====================================================
  4. // GraphQL query operation: GetAdministrators
  5. // ====================================================
  6. export interface GetAdministrators_administrators_items_user_roles {
  7. __typename: "Role";
  8. id: string;
  9. code: string;
  10. description: string;
  11. permissions: Permission[];
  12. }
  13. export interface GetAdministrators_administrators_items_user {
  14. __typename: "User";
  15. id: string;
  16. identifier: string;
  17. lastLogin: string | null;
  18. roles: GetAdministrators_administrators_items_user_roles[];
  19. }
  20. export interface GetAdministrators_administrators_items {
  21. __typename: "Administrator";
  22. id: string;
  23. firstName: string;
  24. lastName: string;
  25. emailAddress: string;
  26. user: GetAdministrators_administrators_items_user;
  27. }
  28. export interface GetAdministrators_administrators {
  29. __typename: "AdministratorList";
  30. items: GetAdministrators_administrators_items[];
  31. totalItems: number;
  32. }
  33. export interface GetAdministrators {
  34. administrators: GetAdministrators_administrators;
  35. }
  36. export interface GetAdministratorsVariables {
  37. options?: AdministratorListOptions | null;
  38. }
  39. /* tslint:disable */
  40. // This file was automatically generated and should not be edited.
  41. // ====================================================
  42. // GraphQL query operation: GetAdministrator
  43. // ====================================================
  44. export interface GetAdministrator_administrator_user_roles {
  45. __typename: "Role";
  46. id: string;
  47. code: string;
  48. description: string;
  49. permissions: Permission[];
  50. }
  51. export interface GetAdministrator_administrator_user {
  52. __typename: "User";
  53. id: string;
  54. identifier: string;
  55. lastLogin: string | null;
  56. roles: GetAdministrator_administrator_user_roles[];
  57. }
  58. export interface GetAdministrator_administrator {
  59. __typename: "Administrator";
  60. id: string;
  61. firstName: string;
  62. lastName: string;
  63. emailAddress: string;
  64. user: GetAdministrator_administrator_user;
  65. }
  66. export interface GetAdministrator {
  67. administrator: GetAdministrator_administrator | null;
  68. }
  69. export interface GetAdministratorVariables {
  70. id: string;
  71. }
  72. /* tslint:disable */
  73. // This file was automatically generated and should not be edited.
  74. // ====================================================
  75. // GraphQL mutation operation: CreateAdministrator
  76. // ====================================================
  77. export interface CreateAdministrator_createAdministrator_user_roles {
  78. __typename: "Role";
  79. id: string;
  80. code: string;
  81. description: string;
  82. permissions: Permission[];
  83. }
  84. export interface CreateAdministrator_createAdministrator_user {
  85. __typename: "User";
  86. id: string;
  87. identifier: string;
  88. lastLogin: string | null;
  89. roles: CreateAdministrator_createAdministrator_user_roles[];
  90. }
  91. export interface CreateAdministrator_createAdministrator {
  92. __typename: "Administrator";
  93. id: string;
  94. firstName: string;
  95. lastName: string;
  96. emailAddress: string;
  97. user: CreateAdministrator_createAdministrator_user;
  98. }
  99. export interface CreateAdministrator {
  100. /**
  101. * Create a new Administrator
  102. */
  103. createAdministrator: CreateAdministrator_createAdministrator;
  104. }
  105. export interface CreateAdministratorVariables {
  106. input: CreateAdministratorInput;
  107. }
  108. /* tslint:disable */
  109. // This file was automatically generated and should not be edited.
  110. // ====================================================
  111. // GraphQL mutation operation: UpdateAdministrator
  112. // ====================================================
  113. export interface UpdateAdministrator_updateAdministrator_user_roles {
  114. __typename: "Role";
  115. id: string;
  116. code: string;
  117. description: string;
  118. permissions: Permission[];
  119. }
  120. export interface UpdateAdministrator_updateAdministrator_user {
  121. __typename: "User";
  122. id: string;
  123. identifier: string;
  124. lastLogin: string | null;
  125. roles: UpdateAdministrator_updateAdministrator_user_roles[];
  126. }
  127. export interface UpdateAdministrator_updateAdministrator {
  128. __typename: "Administrator";
  129. id: string;
  130. firstName: string;
  131. lastName: string;
  132. emailAddress: string;
  133. user: UpdateAdministrator_updateAdministrator_user;
  134. }
  135. export interface UpdateAdministrator {
  136. /**
  137. * Update an existing Administrator
  138. */
  139. updateAdministrator: UpdateAdministrator_updateAdministrator;
  140. }
  141. export interface UpdateAdministratorVariables {
  142. input: UpdateAdministratorInput;
  143. }
  144. /* tslint:disable */
  145. // This file was automatically generated and should not be edited.
  146. // ====================================================
  147. // GraphQL query operation: GetRoles
  148. // ====================================================
  149. export interface GetRoles_roles_items_channels {
  150. __typename: "Channel";
  151. id: string;
  152. code: string;
  153. token: string;
  154. }
  155. export interface GetRoles_roles_items {
  156. __typename: "Role";
  157. id: string;
  158. code: string;
  159. description: string;
  160. permissions: Permission[];
  161. channels: GetRoles_roles_items_channels[];
  162. }
  163. export interface GetRoles_roles {
  164. __typename: "RoleList";
  165. items: GetRoles_roles_items[];
  166. totalItems: number;
  167. }
  168. export interface GetRoles {
  169. roles: GetRoles_roles;
  170. }
  171. export interface GetRolesVariables {
  172. options?: RoleListOptions | null;
  173. }
  174. /* tslint:disable */
  175. // This file was automatically generated and should not be edited.
  176. // ====================================================
  177. // GraphQL query operation: GetRole
  178. // ====================================================
  179. export interface GetRole_role_channels {
  180. __typename: "Channel";
  181. id: string;
  182. code: string;
  183. token: string;
  184. }
  185. export interface GetRole_role {
  186. __typename: "Role";
  187. id: string;
  188. code: string;
  189. description: string;
  190. permissions: Permission[];
  191. channels: GetRole_role_channels[];
  192. }
  193. export interface GetRole {
  194. role: GetRole_role | null;
  195. }
  196. export interface GetRoleVariables {
  197. id: string;
  198. }
  199. /* tslint:disable */
  200. // This file was automatically generated and should not be edited.
  201. // ====================================================
  202. // GraphQL mutation operation: CreateRole
  203. // ====================================================
  204. export interface CreateRole_createRole_channels {
  205. __typename: "Channel";
  206. id: string;
  207. code: string;
  208. token: string;
  209. }
  210. export interface CreateRole_createRole {
  211. __typename: "Role";
  212. id: string;
  213. code: string;
  214. description: string;
  215. permissions: Permission[];
  216. channels: CreateRole_createRole_channels[];
  217. }
  218. export interface CreateRole {
  219. /**
  220. * Create a new Role
  221. */
  222. createRole: CreateRole_createRole;
  223. }
  224. export interface CreateRoleVariables {
  225. input: CreateRoleInput;
  226. }
  227. /* tslint:disable */
  228. // This file was automatically generated and should not be edited.
  229. // ====================================================
  230. // GraphQL mutation operation: UpdateRole
  231. // ====================================================
  232. export interface UpdateRole_updateRole_channels {
  233. __typename: "Channel";
  234. id: string;
  235. code: string;
  236. token: string;
  237. }
  238. export interface UpdateRole_updateRole {
  239. __typename: "Role";
  240. id: string;
  241. code: string;
  242. description: string;
  243. permissions: Permission[];
  244. channels: UpdateRole_updateRole_channels[];
  245. }
  246. export interface UpdateRole {
  247. /**
  248. * Update an existing new Role
  249. */
  250. updateRole: UpdateRole_updateRole;
  251. }
  252. export interface UpdateRoleVariables {
  253. input: UpdateRoleInput;
  254. }
  255. /* tslint:disable */
  256. // This file was automatically generated and should not be edited.
  257. // ====================================================
  258. // GraphQL mutation operation: AssignRoleToAdministrator
  259. // ====================================================
  260. export interface AssignRoleToAdministrator_assignRoleToAdministrator_user_roles {
  261. __typename: "Role";
  262. id: string;
  263. code: string;
  264. description: string;
  265. permissions: Permission[];
  266. }
  267. export interface AssignRoleToAdministrator_assignRoleToAdministrator_user {
  268. __typename: "User";
  269. id: string;
  270. identifier: string;
  271. lastLogin: string | null;
  272. roles: AssignRoleToAdministrator_assignRoleToAdministrator_user_roles[];
  273. }
  274. export interface AssignRoleToAdministrator_assignRoleToAdministrator {
  275. __typename: "Administrator";
  276. id: string;
  277. firstName: string;
  278. lastName: string;
  279. emailAddress: string;
  280. user: AssignRoleToAdministrator_assignRoleToAdministrator_user;
  281. }
  282. export interface AssignRoleToAdministrator {
  283. /**
  284. * Assign a Role to an Administrator
  285. */
  286. assignRoleToAdministrator: AssignRoleToAdministrator_assignRoleToAdministrator;
  287. }
  288. export interface AssignRoleToAdministratorVariables {
  289. administratorId: string;
  290. roleId: string;
  291. }
  292. /* tslint:disable */
  293. // This file was automatically generated and should not be edited.
  294. // ====================================================
  295. // GraphQL mutation operation: AttemptLogin
  296. // ====================================================
  297. export interface AttemptLogin_login_user {
  298. __typename: "CurrentUser";
  299. id: string;
  300. identifier: string;
  301. channelTokens: string[];
  302. roles: string[];
  303. }
  304. export interface AttemptLogin_login {
  305. __typename: "LoginResult";
  306. user: AttemptLogin_login_user;
  307. }
  308. export interface AttemptLogin {
  309. login: AttemptLogin_login;
  310. }
  311. export interface AttemptLoginVariables {
  312. username: string;
  313. password: string;
  314. }
  315. /* tslint:disable */
  316. // This file was automatically generated and should not be edited.
  317. // ====================================================
  318. // GraphQL query operation: GetCurrentUser
  319. // ====================================================
  320. export interface GetCurrentUser_me {
  321. __typename: "CurrentUser";
  322. id: string;
  323. identifier: string;
  324. channelTokens: string[];
  325. roles: string[];
  326. }
  327. export interface GetCurrentUser {
  328. me: GetCurrentUser_me | null;
  329. }
  330. /* tslint:disable */
  331. // This file was automatically generated and should not be edited.
  332. // ====================================================
  333. // GraphQL query operation: GetServerConfig
  334. // ====================================================
  335. export interface GetServerConfig_config {
  336. __typename: "Config";
  337. customFields: any | null;
  338. }
  339. export interface GetServerConfig {
  340. config: GetServerConfig_config;
  341. }
  342. /* tslint:disable */
  343. // This file was automatically generated and should not be edited.
  344. // ====================================================
  345. // GraphQL mutation operation: CreateFacet
  346. // ====================================================
  347. export interface CreateFacet_createFacet_translations {
  348. __typename: "FacetTranslation";
  349. id: string;
  350. languageCode: LanguageCode;
  351. name: string;
  352. }
  353. export interface CreateFacet_createFacet_values_translations {
  354. __typename: "FacetValueTranslation";
  355. id: string;
  356. languageCode: LanguageCode;
  357. name: string;
  358. }
  359. export interface CreateFacet_createFacet_values {
  360. __typename: "FacetValue";
  361. id: string;
  362. languageCode: LanguageCode | null;
  363. code: string;
  364. name: string;
  365. translations: CreateFacet_createFacet_values_translations[];
  366. }
  367. export interface CreateFacet_createFacet {
  368. __typename: "Facet";
  369. id: string;
  370. languageCode: LanguageCode;
  371. code: string;
  372. name: string;
  373. translations: CreateFacet_createFacet_translations[];
  374. values: CreateFacet_createFacet_values[];
  375. }
  376. export interface CreateFacet {
  377. /**
  378. * Create a new Facet
  379. */
  380. createFacet: CreateFacet_createFacet;
  381. }
  382. export interface CreateFacetVariables {
  383. input: CreateFacetInput;
  384. }
  385. /* tslint:disable */
  386. // This file was automatically generated and should not be edited.
  387. // ====================================================
  388. // GraphQL mutation operation: UpdateFacet
  389. // ====================================================
  390. export interface UpdateFacet_updateFacet_translations {
  391. __typename: "FacetTranslation";
  392. id: string;
  393. languageCode: LanguageCode;
  394. name: string;
  395. }
  396. export interface UpdateFacet_updateFacet_values_translations {
  397. __typename: "FacetValueTranslation";
  398. id: string;
  399. languageCode: LanguageCode;
  400. name: string;
  401. }
  402. export interface UpdateFacet_updateFacet_values {
  403. __typename: "FacetValue";
  404. id: string;
  405. languageCode: LanguageCode | null;
  406. code: string;
  407. name: string;
  408. translations: UpdateFacet_updateFacet_values_translations[];
  409. }
  410. export interface UpdateFacet_updateFacet {
  411. __typename: "Facet";
  412. id: string;
  413. languageCode: LanguageCode;
  414. code: string;
  415. name: string;
  416. translations: UpdateFacet_updateFacet_translations[];
  417. values: UpdateFacet_updateFacet_values[];
  418. }
  419. export interface UpdateFacet {
  420. /**
  421. * Update an existing Facet
  422. */
  423. updateFacet: UpdateFacet_updateFacet;
  424. }
  425. export interface UpdateFacetVariables {
  426. input: UpdateFacetInput;
  427. }
  428. /* tslint:disable */
  429. // This file was automatically generated and should not be edited.
  430. // ====================================================
  431. // GraphQL mutation operation: CreateFacetValues
  432. // ====================================================
  433. export interface CreateFacetValues_createFacetValues_translations {
  434. __typename: "FacetValueTranslation";
  435. id: string;
  436. languageCode: LanguageCode;
  437. name: string;
  438. }
  439. export interface CreateFacetValues_createFacetValues {
  440. __typename: "FacetValue";
  441. id: string;
  442. languageCode: LanguageCode | null;
  443. code: string;
  444. name: string;
  445. translations: CreateFacetValues_createFacetValues_translations[];
  446. }
  447. export interface CreateFacetValues {
  448. /**
  449. * Create one or more FacetValues
  450. */
  451. createFacetValues: CreateFacetValues_createFacetValues[];
  452. }
  453. export interface CreateFacetValuesVariables {
  454. input: CreateFacetValueInput[];
  455. }
  456. /* tslint:disable */
  457. // This file was automatically generated and should not be edited.
  458. // ====================================================
  459. // GraphQL mutation operation: UpdateFacetValues
  460. // ====================================================
  461. export interface UpdateFacetValues_updateFacetValues_translations {
  462. __typename: "FacetValueTranslation";
  463. id: string;
  464. languageCode: LanguageCode;
  465. name: string;
  466. }
  467. export interface UpdateFacetValues_updateFacetValues {
  468. __typename: "FacetValue";
  469. id: string;
  470. languageCode: LanguageCode | null;
  471. code: string;
  472. name: string;
  473. translations: UpdateFacetValues_updateFacetValues_translations[];
  474. }
  475. export interface UpdateFacetValues {
  476. /**
  477. * Update one or more FacetValues
  478. */
  479. updateFacetValues: UpdateFacetValues_updateFacetValues[];
  480. }
  481. export interface UpdateFacetValuesVariables {
  482. input: UpdateFacetValueInput[];
  483. }
  484. /* tslint:disable */
  485. // This file was automatically generated and should not be edited.
  486. // ====================================================
  487. // GraphQL query operation: GetFacetList
  488. // ====================================================
  489. export interface GetFacetList_facets_items_translations {
  490. __typename: "FacetTranslation";
  491. id: string;
  492. languageCode: LanguageCode;
  493. name: string;
  494. }
  495. export interface GetFacetList_facets_items_values_translations {
  496. __typename: "FacetValueTranslation";
  497. id: string;
  498. languageCode: LanguageCode;
  499. name: string;
  500. }
  501. export interface GetFacetList_facets_items_values {
  502. __typename: "FacetValue";
  503. id: string;
  504. languageCode: LanguageCode | null;
  505. code: string;
  506. name: string;
  507. translations: GetFacetList_facets_items_values_translations[];
  508. }
  509. export interface GetFacetList_facets_items {
  510. __typename: "Facet";
  511. id: string;
  512. languageCode: LanguageCode;
  513. code: string;
  514. name: string;
  515. translations: GetFacetList_facets_items_translations[];
  516. values: GetFacetList_facets_items_values[];
  517. }
  518. export interface GetFacetList_facets {
  519. __typename: "FacetList";
  520. items: GetFacetList_facets_items[];
  521. totalItems: number;
  522. }
  523. export interface GetFacetList {
  524. facets: GetFacetList_facets;
  525. }
  526. export interface GetFacetListVariables {
  527. options?: FacetListOptions | null;
  528. languageCode?: LanguageCode | null;
  529. }
  530. /* tslint:disable */
  531. // This file was automatically generated and should not be edited.
  532. // ====================================================
  533. // GraphQL query operation: GetFacetWithValues
  534. // ====================================================
  535. export interface GetFacetWithValues_facet_translations {
  536. __typename: "FacetTranslation";
  537. id: string;
  538. languageCode: LanguageCode;
  539. name: string;
  540. }
  541. export interface GetFacetWithValues_facet_values_translations {
  542. __typename: "FacetValueTranslation";
  543. id: string;
  544. languageCode: LanguageCode;
  545. name: string;
  546. }
  547. export interface GetFacetWithValues_facet_values {
  548. __typename: "FacetValue";
  549. id: string;
  550. languageCode: LanguageCode | null;
  551. code: string;
  552. name: string;
  553. translations: GetFacetWithValues_facet_values_translations[];
  554. }
  555. export interface GetFacetWithValues_facet {
  556. __typename: "Facet";
  557. id: string;
  558. languageCode: LanguageCode;
  559. code: string;
  560. name: string;
  561. translations: GetFacetWithValues_facet_translations[];
  562. values: GetFacetWithValues_facet_values[];
  563. }
  564. export interface GetFacetWithValues {
  565. facet: GetFacetWithValues_facet | null;
  566. }
  567. export interface GetFacetWithValuesVariables {
  568. id: string;
  569. languageCode?: LanguageCode | null;
  570. }
  571. /* tslint:disable */
  572. // This file was automatically generated and should not be edited.
  573. // ====================================================
  574. // GraphQL mutation operation: RequestStarted
  575. // ====================================================
  576. export interface RequestStarted {
  577. requestStarted: number;
  578. }
  579. /* tslint:disable */
  580. // This file was automatically generated and should not be edited.
  581. // ====================================================
  582. // GraphQL mutation operation: RequestCompleted
  583. // ====================================================
  584. export interface RequestCompleted {
  585. requestCompleted: number;
  586. }
  587. /* tslint:disable */
  588. // This file was automatically generated and should not be edited.
  589. // ====================================================
  590. // GraphQL mutation operation: SetAsLoggedIn
  591. // ====================================================
  592. export interface SetAsLoggedIn_setAsLoggedIn {
  593. __typename: "UserStatus";
  594. username: string;
  595. isLoggedIn: boolean;
  596. loginTime: string;
  597. }
  598. export interface SetAsLoggedIn {
  599. setAsLoggedIn: SetAsLoggedIn_setAsLoggedIn | null;
  600. }
  601. export interface SetAsLoggedInVariables {
  602. username: string;
  603. loginTime: string;
  604. }
  605. /* tslint:disable */
  606. // This file was automatically generated and should not be edited.
  607. // ====================================================
  608. // GraphQL mutation operation: SetAsLoggedOut
  609. // ====================================================
  610. export interface SetAsLoggedOut_setAsLoggedOut {
  611. __typename: "UserStatus";
  612. username: string;
  613. isLoggedIn: boolean;
  614. loginTime: string;
  615. }
  616. export interface SetAsLoggedOut {
  617. setAsLoggedOut: SetAsLoggedOut_setAsLoggedOut | null;
  618. }
  619. /* tslint:disable */
  620. // This file was automatically generated and should not be edited.
  621. // ====================================================
  622. // GraphQL mutation operation: SetUiLanguage
  623. // ====================================================
  624. export interface SetUiLanguage {
  625. setUiLanguage: LanguageCode | null;
  626. }
  627. export interface SetUiLanguageVariables {
  628. languageCode: LanguageCode;
  629. }
  630. /* tslint:disable */
  631. // This file was automatically generated and should not be edited.
  632. // ====================================================
  633. // GraphQL query operation: GetNetworkStatus
  634. // ====================================================
  635. export interface GetNetworkStatus_networkStatus {
  636. __typename: "NetworkStatus";
  637. inFlightRequests: number;
  638. }
  639. export interface GetNetworkStatus {
  640. networkStatus: GetNetworkStatus_networkStatus;
  641. }
  642. /* tslint:disable */
  643. // This file was automatically generated and should not be edited.
  644. // ====================================================
  645. // GraphQL query operation: GetUserStatus
  646. // ====================================================
  647. export interface GetUserStatus_userStatus {
  648. __typename: "UserStatus";
  649. username: string;
  650. isLoggedIn: boolean;
  651. loginTime: string;
  652. }
  653. export interface GetUserStatus {
  654. userStatus: GetUserStatus_userStatus;
  655. }
  656. /* tslint:disable */
  657. // This file was automatically generated and should not be edited.
  658. // ====================================================
  659. // GraphQL query operation: GetUiState
  660. // ====================================================
  661. export interface GetUiState_uiState {
  662. __typename: "UiState";
  663. language: LanguageCode;
  664. }
  665. export interface GetUiState {
  666. uiState: GetUiState_uiState;
  667. }
  668. /* tslint:disable */
  669. // This file was automatically generated and should not be edited.
  670. // ====================================================
  671. // GraphQL mutation operation: UpdateProduct
  672. // ====================================================
  673. export interface UpdateProduct_updateProduct_featuredAsset {
  674. __typename: "Asset";
  675. id: string;
  676. name: string;
  677. fileSize: number;
  678. mimeType: string;
  679. type: AssetType;
  680. preview: string;
  681. source: string;
  682. }
  683. export interface UpdateProduct_updateProduct_assets {
  684. __typename: "Asset";
  685. id: string;
  686. name: string;
  687. fileSize: number;
  688. mimeType: string;
  689. type: AssetType;
  690. preview: string;
  691. source: string;
  692. }
  693. export interface UpdateProduct_updateProduct_translations {
  694. __typename: "ProductTranslation";
  695. languageCode: LanguageCode;
  696. name: string;
  697. slug: string;
  698. description: string;
  699. }
  700. export interface UpdateProduct_updateProduct_optionGroups {
  701. __typename: "ProductOptionGroup";
  702. id: string;
  703. languageCode: LanguageCode;
  704. code: string;
  705. name: string;
  706. }
  707. export interface UpdateProduct_updateProduct_variants_options {
  708. __typename: "ProductOption";
  709. id: string;
  710. code: string | null;
  711. languageCode: LanguageCode | null;
  712. name: string | null;
  713. }
  714. export interface UpdateProduct_updateProduct_variants_facetValues {
  715. __typename: "FacetValue";
  716. id: string;
  717. code: string;
  718. name: string;
  719. }
  720. export interface UpdateProduct_updateProduct_variants_translations {
  721. __typename: "ProductVariantTranslation";
  722. id: string;
  723. languageCode: LanguageCode;
  724. name: string;
  725. }
  726. export interface UpdateProduct_updateProduct_variants {
  727. __typename: "ProductVariant";
  728. id: string;
  729. languageCode: LanguageCode;
  730. name: string;
  731. price: number;
  732. sku: string;
  733. options: UpdateProduct_updateProduct_variants_options[];
  734. facetValues: UpdateProduct_updateProduct_variants_facetValues[];
  735. translations: UpdateProduct_updateProduct_variants_translations[];
  736. }
  737. export interface UpdateProduct_updateProduct {
  738. __typename: "Product";
  739. id: string;
  740. languageCode: LanguageCode;
  741. name: string;
  742. slug: string;
  743. description: string;
  744. featuredAsset: UpdateProduct_updateProduct_featuredAsset | null;
  745. assets: UpdateProduct_updateProduct_assets[];
  746. translations: UpdateProduct_updateProduct_translations[];
  747. optionGroups: UpdateProduct_updateProduct_optionGroups[];
  748. variants: UpdateProduct_updateProduct_variants[];
  749. }
  750. export interface UpdateProduct {
  751. /**
  752. * Update an existing Product
  753. */
  754. updateProduct: UpdateProduct_updateProduct;
  755. }
  756. export interface UpdateProductVariables {
  757. input: UpdateProductInput;
  758. }
  759. /* tslint:disable */
  760. // This file was automatically generated and should not be edited.
  761. // ====================================================
  762. // GraphQL mutation operation: CreateProduct
  763. // ====================================================
  764. export interface CreateProduct_createProduct_featuredAsset {
  765. __typename: "Asset";
  766. id: string;
  767. name: string;
  768. fileSize: number;
  769. mimeType: string;
  770. type: AssetType;
  771. preview: string;
  772. source: string;
  773. }
  774. export interface CreateProduct_createProduct_assets {
  775. __typename: "Asset";
  776. id: string;
  777. name: string;
  778. fileSize: number;
  779. mimeType: string;
  780. type: AssetType;
  781. preview: string;
  782. source: string;
  783. }
  784. export interface CreateProduct_createProduct_translations {
  785. __typename: "ProductTranslation";
  786. languageCode: LanguageCode;
  787. name: string;
  788. slug: string;
  789. description: string;
  790. }
  791. export interface CreateProduct_createProduct_optionGroups {
  792. __typename: "ProductOptionGroup";
  793. id: string;
  794. languageCode: LanguageCode;
  795. code: string;
  796. name: string;
  797. }
  798. export interface CreateProduct_createProduct_variants_options {
  799. __typename: "ProductOption";
  800. id: string;
  801. code: string | null;
  802. languageCode: LanguageCode | null;
  803. name: string | null;
  804. }
  805. export interface CreateProduct_createProduct_variants_facetValues {
  806. __typename: "FacetValue";
  807. id: string;
  808. code: string;
  809. name: string;
  810. }
  811. export interface CreateProduct_createProduct_variants_translations {
  812. __typename: "ProductVariantTranslation";
  813. id: string;
  814. languageCode: LanguageCode;
  815. name: string;
  816. }
  817. export interface CreateProduct_createProduct_variants {
  818. __typename: "ProductVariant";
  819. id: string;
  820. languageCode: LanguageCode;
  821. name: string;
  822. price: number;
  823. sku: string;
  824. options: CreateProduct_createProduct_variants_options[];
  825. facetValues: CreateProduct_createProduct_variants_facetValues[];
  826. translations: CreateProduct_createProduct_variants_translations[];
  827. }
  828. export interface CreateProduct_createProduct {
  829. __typename: "Product";
  830. id: string;
  831. languageCode: LanguageCode;
  832. name: string;
  833. slug: string;
  834. description: string;
  835. featuredAsset: CreateProduct_createProduct_featuredAsset | null;
  836. assets: CreateProduct_createProduct_assets[];
  837. translations: CreateProduct_createProduct_translations[];
  838. optionGroups: CreateProduct_createProduct_optionGroups[];
  839. variants: CreateProduct_createProduct_variants[];
  840. }
  841. export interface CreateProduct {
  842. /**
  843. * Create a new Product
  844. */
  845. createProduct: CreateProduct_createProduct;
  846. }
  847. export interface CreateProductVariables {
  848. input: CreateProductInput;
  849. }
  850. /* tslint:disable */
  851. // This file was automatically generated and should not be edited.
  852. // ====================================================
  853. // GraphQL mutation operation: GenerateProductVariants
  854. // ====================================================
  855. export interface GenerateProductVariants_generateVariantsForProduct_featuredAsset {
  856. __typename: "Asset";
  857. id: string;
  858. name: string;
  859. fileSize: number;
  860. mimeType: string;
  861. type: AssetType;
  862. preview: string;
  863. source: string;
  864. }
  865. export interface GenerateProductVariants_generateVariantsForProduct_assets {
  866. __typename: "Asset";
  867. id: string;
  868. name: string;
  869. fileSize: number;
  870. mimeType: string;
  871. type: AssetType;
  872. preview: string;
  873. source: string;
  874. }
  875. export interface GenerateProductVariants_generateVariantsForProduct_translations {
  876. __typename: "ProductTranslation";
  877. languageCode: LanguageCode;
  878. name: string;
  879. slug: string;
  880. description: string;
  881. }
  882. export interface GenerateProductVariants_generateVariantsForProduct_optionGroups {
  883. __typename: "ProductOptionGroup";
  884. id: string;
  885. languageCode: LanguageCode;
  886. code: string;
  887. name: string;
  888. }
  889. export interface GenerateProductVariants_generateVariantsForProduct_variants_options {
  890. __typename: "ProductOption";
  891. id: string;
  892. code: string | null;
  893. languageCode: LanguageCode | null;
  894. name: string | null;
  895. }
  896. export interface GenerateProductVariants_generateVariantsForProduct_variants_facetValues {
  897. __typename: "FacetValue";
  898. id: string;
  899. code: string;
  900. name: string;
  901. }
  902. export interface GenerateProductVariants_generateVariantsForProduct_variants_translations {
  903. __typename: "ProductVariantTranslation";
  904. id: string;
  905. languageCode: LanguageCode;
  906. name: string;
  907. }
  908. export interface GenerateProductVariants_generateVariantsForProduct_variants {
  909. __typename: "ProductVariant";
  910. id: string;
  911. languageCode: LanguageCode;
  912. name: string;
  913. price: number;
  914. sku: string;
  915. options: GenerateProductVariants_generateVariantsForProduct_variants_options[];
  916. facetValues: GenerateProductVariants_generateVariantsForProduct_variants_facetValues[];
  917. translations: GenerateProductVariants_generateVariantsForProduct_variants_translations[];
  918. }
  919. export interface GenerateProductVariants_generateVariantsForProduct {
  920. __typename: "Product";
  921. id: string;
  922. languageCode: LanguageCode;
  923. name: string;
  924. slug: string;
  925. description: string;
  926. featuredAsset: GenerateProductVariants_generateVariantsForProduct_featuredAsset | null;
  927. assets: GenerateProductVariants_generateVariantsForProduct_assets[];
  928. translations: GenerateProductVariants_generateVariantsForProduct_translations[];
  929. optionGroups: GenerateProductVariants_generateVariantsForProduct_optionGroups[];
  930. variants: GenerateProductVariants_generateVariantsForProduct_variants[];
  931. }
  932. export interface GenerateProductVariants {
  933. /**
  934. * Create a set of ProductVariants based on the OptionGroups assigned to the given Product
  935. */
  936. generateVariantsForProduct: GenerateProductVariants_generateVariantsForProduct;
  937. }
  938. export interface GenerateProductVariantsVariables {
  939. productId: string;
  940. defaultPrice?: number | null;
  941. defaultSku?: string | null;
  942. }
  943. /* tslint:disable */
  944. // This file was automatically generated and should not be edited.
  945. // ====================================================
  946. // GraphQL mutation operation: UpdateProductVariants
  947. // ====================================================
  948. export interface UpdateProductVariants_updateProductVariants_options {
  949. __typename: "ProductOption";
  950. id: string;
  951. code: string | null;
  952. languageCode: LanguageCode | null;
  953. name: string | null;
  954. }
  955. export interface UpdateProductVariants_updateProductVariants_facetValues {
  956. __typename: "FacetValue";
  957. id: string;
  958. code: string;
  959. name: string;
  960. }
  961. export interface UpdateProductVariants_updateProductVariants_translations {
  962. __typename: "ProductVariantTranslation";
  963. id: string;
  964. languageCode: LanguageCode;
  965. name: string;
  966. }
  967. export interface UpdateProductVariants_updateProductVariants {
  968. __typename: "ProductVariant";
  969. id: string;
  970. languageCode: LanguageCode;
  971. name: string;
  972. price: number;
  973. sku: string;
  974. options: UpdateProductVariants_updateProductVariants_options[];
  975. facetValues: UpdateProductVariants_updateProductVariants_facetValues[];
  976. translations: UpdateProductVariants_updateProductVariants_translations[];
  977. }
  978. export interface UpdateProductVariants {
  979. /**
  980. * Update existing ProductVariants
  981. */
  982. updateProductVariants: (UpdateProductVariants_updateProductVariants | null)[];
  983. }
  984. export interface UpdateProductVariantsVariables {
  985. input: UpdateProductVariantInput[];
  986. }
  987. /* tslint:disable */
  988. // This file was automatically generated and should not be edited.
  989. // ====================================================
  990. // GraphQL mutation operation: CreateProductOptionGroup
  991. // ====================================================
  992. export interface CreateProductOptionGroup_createProductOptionGroup_translations {
  993. __typename: "ProductOptionGroupTranslation";
  994. name: string;
  995. }
  996. export interface CreateProductOptionGroup_createProductOptionGroup_options_translations {
  997. __typename: "ProductOptionTranslation";
  998. name: string;
  999. }
  1000. export interface CreateProductOptionGroup_createProductOptionGroup_options {
  1001. __typename: "ProductOption";
  1002. id: string;
  1003. languageCode: LanguageCode | null;
  1004. name: string | null;
  1005. code: string | null;
  1006. translations: CreateProductOptionGroup_createProductOptionGroup_options_translations[];
  1007. }
  1008. export interface CreateProductOptionGroup_createProductOptionGroup {
  1009. __typename: "ProductOptionGroup";
  1010. id: string;
  1011. languageCode: LanguageCode;
  1012. code: string;
  1013. name: string;
  1014. translations: CreateProductOptionGroup_createProductOptionGroup_translations[];
  1015. options: CreateProductOptionGroup_createProductOptionGroup_options[];
  1016. }
  1017. export interface CreateProductOptionGroup {
  1018. /**
  1019. * Create a new ProductOptionGroup
  1020. */
  1021. createProductOptionGroup: CreateProductOptionGroup_createProductOptionGroup;
  1022. }
  1023. export interface CreateProductOptionGroupVariables {
  1024. input: CreateProductOptionGroupInput;
  1025. }
  1026. /* tslint:disable */
  1027. // This file was automatically generated and should not be edited.
  1028. // ====================================================
  1029. // GraphQL mutation operation: AddOptionGroupToProduct
  1030. // ====================================================
  1031. export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options {
  1032. __typename: "ProductOption";
  1033. id: string;
  1034. code: string | null;
  1035. }
  1036. export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups {
  1037. __typename: "ProductOptionGroup";
  1038. id: string;
  1039. code: string;
  1040. options: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options[];
  1041. }
  1042. export interface AddOptionGroupToProduct_addOptionGroupToProduct {
  1043. __typename: "Product";
  1044. id: string;
  1045. optionGroups: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups[];
  1046. }
  1047. export interface AddOptionGroupToProduct {
  1048. /**
  1049. * Add an OptionGroup to a Product
  1050. */
  1051. addOptionGroupToProduct: AddOptionGroupToProduct_addOptionGroupToProduct;
  1052. }
  1053. export interface AddOptionGroupToProductVariables {
  1054. productId: string;
  1055. optionGroupId: string;
  1056. }
  1057. /* tslint:disable */
  1058. // This file was automatically generated and should not be edited.
  1059. // ====================================================
  1060. // GraphQL mutation operation: RemoveOptionGroupFromProduct
  1061. // ====================================================
  1062. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups_options {
  1063. __typename: "ProductOption";
  1064. id: string;
  1065. code: string | null;
  1066. }
  1067. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups {
  1068. __typename: "ProductOptionGroup";
  1069. id: string;
  1070. code: string;
  1071. options: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups_options[];
  1072. }
  1073. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct {
  1074. __typename: "Product";
  1075. id: string;
  1076. optionGroups: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups[];
  1077. }
  1078. export interface RemoveOptionGroupFromProduct {
  1079. /**
  1080. * Remove an OptionGroup from a Product
  1081. */
  1082. removeOptionGroupFromProduct: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct;
  1083. }
  1084. export interface RemoveOptionGroupFromProductVariables {
  1085. productId: string;
  1086. optionGroupId: string;
  1087. }
  1088. /* tslint:disable */
  1089. // This file was automatically generated and should not be edited.
  1090. // ====================================================
  1091. // GraphQL mutation operation: ApplyFacetValuesToProductVariants
  1092. // ====================================================
  1093. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_options {
  1094. __typename: "ProductOption";
  1095. id: string;
  1096. code: string | null;
  1097. languageCode: LanguageCode | null;
  1098. name: string | null;
  1099. }
  1100. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_facetValues {
  1101. __typename: "FacetValue";
  1102. id: string;
  1103. code: string;
  1104. name: string;
  1105. }
  1106. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_translations {
  1107. __typename: "ProductVariantTranslation";
  1108. id: string;
  1109. languageCode: LanguageCode;
  1110. name: string;
  1111. }
  1112. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants {
  1113. __typename: "ProductVariant";
  1114. id: string;
  1115. languageCode: LanguageCode;
  1116. name: string;
  1117. price: number;
  1118. sku: string;
  1119. options: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_options[];
  1120. facetValues: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_facetValues[];
  1121. translations: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_translations[];
  1122. }
  1123. export interface ApplyFacetValuesToProductVariants {
  1124. /**
  1125. * Applies a FacetValue to the given ProductVariants
  1126. */
  1127. applyFacetValuesToProductVariants: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants[];
  1128. }
  1129. export interface ApplyFacetValuesToProductVariantsVariables {
  1130. facetValueIds: string[];
  1131. productVariantIds: string[];
  1132. }
  1133. /* tslint:disable */
  1134. // This file was automatically generated and should not be edited.
  1135. // ====================================================
  1136. // GraphQL query operation: GetProductWithVariants
  1137. // ====================================================
  1138. export interface GetProductWithVariants_product_featuredAsset {
  1139. __typename: "Asset";
  1140. id: string;
  1141. name: string;
  1142. fileSize: number;
  1143. mimeType: string;
  1144. type: AssetType;
  1145. preview: string;
  1146. source: string;
  1147. }
  1148. export interface GetProductWithVariants_product_assets {
  1149. __typename: "Asset";
  1150. id: string;
  1151. name: string;
  1152. fileSize: number;
  1153. mimeType: string;
  1154. type: AssetType;
  1155. preview: string;
  1156. source: string;
  1157. }
  1158. export interface GetProductWithVariants_product_translations {
  1159. __typename: "ProductTranslation";
  1160. languageCode: LanguageCode;
  1161. name: string;
  1162. slug: string;
  1163. description: string;
  1164. }
  1165. export interface GetProductWithVariants_product_optionGroups {
  1166. __typename: "ProductOptionGroup";
  1167. id: string;
  1168. languageCode: LanguageCode;
  1169. code: string;
  1170. name: string;
  1171. }
  1172. export interface GetProductWithVariants_product_variants_options {
  1173. __typename: "ProductOption";
  1174. id: string;
  1175. code: string | null;
  1176. languageCode: LanguageCode | null;
  1177. name: string | null;
  1178. }
  1179. export interface GetProductWithVariants_product_variants_facetValues {
  1180. __typename: "FacetValue";
  1181. id: string;
  1182. code: string;
  1183. name: string;
  1184. }
  1185. export interface GetProductWithVariants_product_variants_translations {
  1186. __typename: "ProductVariantTranslation";
  1187. id: string;
  1188. languageCode: LanguageCode;
  1189. name: string;
  1190. }
  1191. export interface GetProductWithVariants_product_variants {
  1192. __typename: "ProductVariant";
  1193. id: string;
  1194. languageCode: LanguageCode;
  1195. name: string;
  1196. price: number;
  1197. sku: string;
  1198. options: GetProductWithVariants_product_variants_options[];
  1199. facetValues: GetProductWithVariants_product_variants_facetValues[];
  1200. translations: GetProductWithVariants_product_variants_translations[];
  1201. }
  1202. export interface GetProductWithVariants_product {
  1203. __typename: "Product";
  1204. id: string;
  1205. languageCode: LanguageCode;
  1206. name: string;
  1207. slug: string;
  1208. description: string;
  1209. featuredAsset: GetProductWithVariants_product_featuredAsset | null;
  1210. assets: GetProductWithVariants_product_assets[];
  1211. translations: GetProductWithVariants_product_translations[];
  1212. optionGroups: GetProductWithVariants_product_optionGroups[];
  1213. variants: GetProductWithVariants_product_variants[];
  1214. }
  1215. export interface GetProductWithVariants {
  1216. product: GetProductWithVariants_product | null;
  1217. }
  1218. export interface GetProductWithVariantsVariables {
  1219. id: string;
  1220. languageCode?: LanguageCode | null;
  1221. }
  1222. /* tslint:disable */
  1223. // This file was automatically generated and should not be edited.
  1224. // ====================================================
  1225. // GraphQL query operation: GetProductList
  1226. // ====================================================
  1227. export interface GetProductList_products_items {
  1228. __typename: "Product";
  1229. id: string;
  1230. languageCode: LanguageCode;
  1231. name: string;
  1232. slug: string;
  1233. description: string;
  1234. }
  1235. export interface GetProductList_products {
  1236. __typename: "ProductList";
  1237. items: GetProductList_products_items[];
  1238. totalItems: number;
  1239. }
  1240. export interface GetProductList {
  1241. products: GetProductList_products;
  1242. }
  1243. export interface GetProductListVariables {
  1244. options?: ProductListOptions | null;
  1245. languageCode?: LanguageCode | null;
  1246. }
  1247. /* tslint:disable */
  1248. // This file was automatically generated and should not be edited.
  1249. // ====================================================
  1250. // GraphQL query operation: GetProductOptionGroups
  1251. // ====================================================
  1252. export interface GetProductOptionGroups_productOptionGroups_options {
  1253. __typename: "ProductOption";
  1254. id: string;
  1255. languageCode: LanguageCode | null;
  1256. code: string | null;
  1257. name: string | null;
  1258. }
  1259. export interface GetProductOptionGroups_productOptionGroups {
  1260. __typename: "ProductOptionGroup";
  1261. id: string;
  1262. languageCode: LanguageCode;
  1263. code: string;
  1264. name: string;
  1265. options: GetProductOptionGroups_productOptionGroups_options[];
  1266. }
  1267. export interface GetProductOptionGroups {
  1268. productOptionGroups: GetProductOptionGroups_productOptionGroups[];
  1269. }
  1270. export interface GetProductOptionGroupsVariables {
  1271. filterTerm?: string | null;
  1272. languageCode?: LanguageCode | null;
  1273. }
  1274. /* tslint:disable */
  1275. // This file was automatically generated and should not be edited.
  1276. // ====================================================
  1277. // GraphQL query operation: GetAssetList
  1278. // ====================================================
  1279. export interface GetAssetList_assets_items {
  1280. __typename: "Asset";
  1281. id: string;
  1282. name: string;
  1283. fileSize: number;
  1284. mimeType: string;
  1285. type: AssetType;
  1286. preview: string;
  1287. source: string;
  1288. }
  1289. export interface GetAssetList_assets {
  1290. __typename: "AssetList";
  1291. items: GetAssetList_assets_items[];
  1292. totalItems: number;
  1293. }
  1294. export interface GetAssetList {
  1295. assets: GetAssetList_assets;
  1296. }
  1297. export interface GetAssetListVariables {
  1298. options?: AssetListOptions | null;
  1299. }
  1300. /* tslint:disable */
  1301. // This file was automatically generated and should not be edited.
  1302. // ====================================================
  1303. // GraphQL mutation operation: CreateAssets
  1304. // ====================================================
  1305. export interface CreateAssets_createAssets {
  1306. __typename: "Asset";
  1307. id: string;
  1308. name: string;
  1309. fileSize: number;
  1310. mimeType: string;
  1311. type: AssetType;
  1312. preview: string;
  1313. source: string;
  1314. }
  1315. export interface CreateAssets {
  1316. /**
  1317. * Create a new Asset
  1318. */
  1319. createAssets: CreateAssets_createAssets[];
  1320. }
  1321. export interface CreateAssetsVariables {
  1322. input: CreateAssetInput[];
  1323. }
  1324. /* tslint:disable */
  1325. // This file was automatically generated and should not be edited.
  1326. // ====================================================
  1327. // GraphQL fragment: Administrator
  1328. // ====================================================
  1329. export interface Administrator_user_roles {
  1330. __typename: "Role";
  1331. id: string;
  1332. code: string;
  1333. description: string;
  1334. permissions: Permission[];
  1335. }
  1336. export interface Administrator_user {
  1337. __typename: "User";
  1338. id: string;
  1339. identifier: string;
  1340. lastLogin: string | null;
  1341. roles: Administrator_user_roles[];
  1342. }
  1343. export interface Administrator {
  1344. __typename: "Administrator";
  1345. id: string;
  1346. firstName: string;
  1347. lastName: string;
  1348. emailAddress: string;
  1349. user: Administrator_user;
  1350. }
  1351. /* tslint:disable */
  1352. // This file was automatically generated and should not be edited.
  1353. // ====================================================
  1354. // GraphQL fragment: Role
  1355. // ====================================================
  1356. export interface Role_channels {
  1357. __typename: "Channel";
  1358. id: string;
  1359. code: string;
  1360. token: string;
  1361. }
  1362. export interface Role {
  1363. __typename: "Role";
  1364. id: string;
  1365. code: string;
  1366. description: string;
  1367. permissions: Permission[];
  1368. channels: Role_channels[];
  1369. }
  1370. /* tslint:disable */
  1371. // This file was automatically generated and should not be edited.
  1372. // ====================================================
  1373. // GraphQL fragment: CurrentUser
  1374. // ====================================================
  1375. export interface CurrentUser {
  1376. __typename: "CurrentUser";
  1377. id: string;
  1378. identifier: string;
  1379. channelTokens: string[];
  1380. roles: string[];
  1381. }
  1382. /* tslint:disable */
  1383. // This file was automatically generated and should not be edited.
  1384. // ====================================================
  1385. // GraphQL fragment: FacetValue
  1386. // ====================================================
  1387. export interface FacetValue_translations {
  1388. __typename: "FacetValueTranslation";
  1389. id: string;
  1390. languageCode: LanguageCode;
  1391. name: string;
  1392. }
  1393. export interface FacetValue {
  1394. __typename: "FacetValue";
  1395. id: string;
  1396. languageCode: LanguageCode | null;
  1397. code: string;
  1398. name: string;
  1399. translations: FacetValue_translations[];
  1400. }
  1401. /* tslint:disable */
  1402. // This file was automatically generated and should not be edited.
  1403. // ====================================================
  1404. // GraphQL fragment: FacetWithValues
  1405. // ====================================================
  1406. export interface FacetWithValues_translations {
  1407. __typename: "FacetTranslation";
  1408. id: string;
  1409. languageCode: LanguageCode;
  1410. name: string;
  1411. }
  1412. export interface FacetWithValues_values_translations {
  1413. __typename: "FacetValueTranslation";
  1414. id: string;
  1415. languageCode: LanguageCode;
  1416. name: string;
  1417. }
  1418. export interface FacetWithValues_values {
  1419. __typename: "FacetValue";
  1420. id: string;
  1421. languageCode: LanguageCode | null;
  1422. code: string;
  1423. name: string;
  1424. translations: FacetWithValues_values_translations[];
  1425. }
  1426. export interface FacetWithValues {
  1427. __typename: "Facet";
  1428. id: string;
  1429. languageCode: LanguageCode;
  1430. code: string;
  1431. name: string;
  1432. translations: FacetWithValues_translations[];
  1433. values: FacetWithValues_values[];
  1434. }
  1435. /* tslint:disable */
  1436. // This file was automatically generated and should not be edited.
  1437. // ====================================================
  1438. // GraphQL fragment: Asset
  1439. // ====================================================
  1440. export interface Asset {
  1441. __typename: "Asset";
  1442. id: string;
  1443. name: string;
  1444. fileSize: number;
  1445. mimeType: string;
  1446. type: AssetType;
  1447. preview: string;
  1448. source: string;
  1449. }
  1450. /* tslint:disable */
  1451. // This file was automatically generated and should not be edited.
  1452. // ====================================================
  1453. // GraphQL fragment: ProductVariant
  1454. // ====================================================
  1455. export interface ProductVariant_options {
  1456. __typename: "ProductOption";
  1457. id: string;
  1458. code: string | null;
  1459. languageCode: LanguageCode | null;
  1460. name: string | null;
  1461. }
  1462. export interface ProductVariant_facetValues {
  1463. __typename: "FacetValue";
  1464. id: string;
  1465. code: string;
  1466. name: string;
  1467. }
  1468. export interface ProductVariant_translations {
  1469. __typename: "ProductVariantTranslation";
  1470. id: string;
  1471. languageCode: LanguageCode;
  1472. name: string;
  1473. }
  1474. export interface ProductVariant {
  1475. __typename: "ProductVariant";
  1476. id: string;
  1477. languageCode: LanguageCode;
  1478. name: string;
  1479. price: number;
  1480. sku: string;
  1481. options: ProductVariant_options[];
  1482. facetValues: ProductVariant_facetValues[];
  1483. translations: ProductVariant_translations[];
  1484. }
  1485. /* tslint:disable */
  1486. // This file was automatically generated and should not be edited.
  1487. // ====================================================
  1488. // GraphQL fragment: ProductWithVariants
  1489. // ====================================================
  1490. export interface ProductWithVariants_featuredAsset {
  1491. __typename: "Asset";
  1492. id: string;
  1493. name: string;
  1494. fileSize: number;
  1495. mimeType: string;
  1496. type: AssetType;
  1497. preview: string;
  1498. source: string;
  1499. }
  1500. export interface ProductWithVariants_assets {
  1501. __typename: "Asset";
  1502. id: string;
  1503. name: string;
  1504. fileSize: number;
  1505. mimeType: string;
  1506. type: AssetType;
  1507. preview: string;
  1508. source: string;
  1509. }
  1510. export interface ProductWithVariants_translations {
  1511. __typename: "ProductTranslation";
  1512. languageCode: LanguageCode;
  1513. name: string;
  1514. slug: string;
  1515. description: string;
  1516. }
  1517. export interface ProductWithVariants_optionGroups {
  1518. __typename: "ProductOptionGroup";
  1519. id: string;
  1520. languageCode: LanguageCode;
  1521. code: string;
  1522. name: string;
  1523. }
  1524. export interface ProductWithVariants_variants_options {
  1525. __typename: "ProductOption";
  1526. id: string;
  1527. code: string | null;
  1528. languageCode: LanguageCode | null;
  1529. name: string | null;
  1530. }
  1531. export interface ProductWithVariants_variants_facetValues {
  1532. __typename: "FacetValue";
  1533. id: string;
  1534. code: string;
  1535. name: string;
  1536. }
  1537. export interface ProductWithVariants_variants_translations {
  1538. __typename: "ProductVariantTranslation";
  1539. id: string;
  1540. languageCode: LanguageCode;
  1541. name: string;
  1542. }
  1543. export interface ProductWithVariants_variants {
  1544. __typename: "ProductVariant";
  1545. id: string;
  1546. languageCode: LanguageCode;
  1547. name: string;
  1548. price: number;
  1549. sku: string;
  1550. options: ProductWithVariants_variants_options[];
  1551. facetValues: ProductWithVariants_variants_facetValues[];
  1552. translations: ProductWithVariants_variants_translations[];
  1553. }
  1554. export interface ProductWithVariants {
  1555. __typename: "Product";
  1556. id: string;
  1557. languageCode: LanguageCode;
  1558. name: string;
  1559. slug: string;
  1560. description: string;
  1561. featuredAsset: ProductWithVariants_featuredAsset | null;
  1562. assets: ProductWithVariants_assets[];
  1563. translations: ProductWithVariants_translations[];
  1564. optionGroups: ProductWithVariants_optionGroups[];
  1565. variants: ProductWithVariants_variants[];
  1566. }
  1567. /* tslint:disable */
  1568. // This file was automatically generated and should not be edited.
  1569. // ====================================================
  1570. // GraphQL fragment: ProductOptionGroup
  1571. // ====================================================
  1572. export interface ProductOptionGroup_translations {
  1573. __typename: "ProductOptionGroupTranslation";
  1574. name: string;
  1575. }
  1576. export interface ProductOptionGroup_options_translations {
  1577. __typename: "ProductOptionTranslation";
  1578. name: string;
  1579. }
  1580. export interface ProductOptionGroup_options {
  1581. __typename: "ProductOption";
  1582. id: string;
  1583. languageCode: LanguageCode | null;
  1584. name: string | null;
  1585. code: string | null;
  1586. translations: ProductOptionGroup_options_translations[];
  1587. }
  1588. export interface ProductOptionGroup {
  1589. __typename: "ProductOptionGroup";
  1590. id: string;
  1591. languageCode: LanguageCode;
  1592. code: string;
  1593. name: string;
  1594. translations: ProductOptionGroup_translations[];
  1595. options: ProductOptionGroup_options[];
  1596. }
  1597. /* tslint:disable */
  1598. // This file was automatically generated and should not be edited.
  1599. //==============================================================
  1600. // START Enums and Input Objects
  1601. //==============================================================
  1602. export enum AssetType {
  1603. BINARY = "BINARY",
  1604. IMAGE = "IMAGE",
  1605. VIDEO = "VIDEO",
  1606. }
  1607. /**
  1608. * ISO 639-1 language code
  1609. */
  1610. export enum LanguageCode {
  1611. aa = "aa",
  1612. ab = "ab",
  1613. ae = "ae",
  1614. af = "af",
  1615. ak = "ak",
  1616. am = "am",
  1617. an = "an",
  1618. ar = "ar",
  1619. as = "as",
  1620. av = "av",
  1621. ay = "ay",
  1622. az = "az",
  1623. ba = "ba",
  1624. be = "be",
  1625. bg = "bg",
  1626. bh = "bh",
  1627. bi = "bi",
  1628. bm = "bm",
  1629. bn = "bn",
  1630. bo = "bo",
  1631. br = "br",
  1632. bs = "bs",
  1633. ca = "ca",
  1634. ce = "ce",
  1635. ch = "ch",
  1636. co = "co",
  1637. cr = "cr",
  1638. cs = "cs",
  1639. cu = "cu",
  1640. cv = "cv",
  1641. cy = "cy",
  1642. da = "da",
  1643. de = "de",
  1644. dv = "dv",
  1645. dz = "dz",
  1646. ee = "ee",
  1647. el = "el",
  1648. en = "en",
  1649. eo = "eo",
  1650. es = "es",
  1651. et = "et",
  1652. eu = "eu",
  1653. fa = "fa",
  1654. ff = "ff",
  1655. fi = "fi",
  1656. fj = "fj",
  1657. fo = "fo",
  1658. fr = "fr",
  1659. fy = "fy",
  1660. ga = "ga",
  1661. gd = "gd",
  1662. gl = "gl",
  1663. gn = "gn",
  1664. gu = "gu",
  1665. gv = "gv",
  1666. ha = "ha",
  1667. he = "he",
  1668. hi = "hi",
  1669. ho = "ho",
  1670. hr = "hr",
  1671. ht = "ht",
  1672. hu = "hu",
  1673. hy = "hy",
  1674. hz = "hz",
  1675. ia = "ia",
  1676. id = "id",
  1677. ie = "ie",
  1678. ig = "ig",
  1679. ii = "ii",
  1680. ik = "ik",
  1681. io = "io",
  1682. is = "is",
  1683. it = "it",
  1684. iu = "iu",
  1685. ja = "ja",
  1686. jv = "jv",
  1687. ka = "ka",
  1688. kg = "kg",
  1689. ki = "ki",
  1690. kj = "kj",
  1691. kk = "kk",
  1692. kl = "kl",
  1693. km = "km",
  1694. kn = "kn",
  1695. ko = "ko",
  1696. kr = "kr",
  1697. ks = "ks",
  1698. ku = "ku",
  1699. kv = "kv",
  1700. kw = "kw",
  1701. ky = "ky",
  1702. la = "la",
  1703. lb = "lb",
  1704. lg = "lg",
  1705. li = "li",
  1706. ln = "ln",
  1707. lo = "lo",
  1708. lt = "lt",
  1709. lu = "lu",
  1710. lv = "lv",
  1711. mg = "mg",
  1712. mh = "mh",
  1713. mi = "mi",
  1714. mk = "mk",
  1715. ml = "ml",
  1716. mn = "mn",
  1717. mr = "mr",
  1718. ms = "ms",
  1719. mt = "mt",
  1720. my = "my",
  1721. na = "na",
  1722. nb = "nb",
  1723. nd = "nd",
  1724. ne = "ne",
  1725. ng = "ng",
  1726. nl = "nl",
  1727. nn = "nn",
  1728. no = "no",
  1729. nr = "nr",
  1730. nv = "nv",
  1731. ny = "ny",
  1732. oc = "oc",
  1733. oj = "oj",
  1734. om = "om",
  1735. or = "or",
  1736. os = "os",
  1737. pa = "pa",
  1738. pi = "pi",
  1739. pl = "pl",
  1740. ps = "ps",
  1741. pt = "pt",
  1742. qu = "qu",
  1743. rm = "rm",
  1744. rn = "rn",
  1745. ro = "ro",
  1746. ru = "ru",
  1747. rw = "rw",
  1748. sa = "sa",
  1749. sc = "sc",
  1750. sd = "sd",
  1751. se = "se",
  1752. sg = "sg",
  1753. si = "si",
  1754. sk = "sk",
  1755. sl = "sl",
  1756. sm = "sm",
  1757. sn = "sn",
  1758. so = "so",
  1759. sq = "sq",
  1760. sr = "sr",
  1761. ss = "ss",
  1762. st = "st",
  1763. su = "su",
  1764. sv = "sv",
  1765. sw = "sw",
  1766. ta = "ta",
  1767. te = "te",
  1768. tg = "tg",
  1769. th = "th",
  1770. ti = "ti",
  1771. tk = "tk",
  1772. tl = "tl",
  1773. tn = "tn",
  1774. to = "to",
  1775. tr = "tr",
  1776. ts = "ts",
  1777. tt = "tt",
  1778. tw = "tw",
  1779. ty = "ty",
  1780. ug = "ug",
  1781. uk = "uk",
  1782. ur = "ur",
  1783. uz = "uz",
  1784. ve = "ve",
  1785. vi = "vi",
  1786. vo = "vo",
  1787. wa = "wa",
  1788. wo = "wo",
  1789. xh = "xh",
  1790. yi = "yi",
  1791. yo = "yo",
  1792. za = "za",
  1793. zh = "zh",
  1794. zu = "zu",
  1795. }
  1796. /**
  1797. * Permissions for administrators
  1798. */
  1799. export enum Permission {
  1800. Authenticated = "Authenticated",
  1801. CreateAdministrator = "CreateAdministrator",
  1802. CreateCatalog = "CreateCatalog",
  1803. CreateCustomer = "CreateCustomer",
  1804. CreateOrder = "CreateOrder",
  1805. DeleteAdministrator = "DeleteAdministrator",
  1806. DeleteCatalog = "DeleteCatalog",
  1807. DeleteCustomer = "DeleteCustomer",
  1808. DeleteOrder = "DeleteOrder",
  1809. ReadAdministrator = "ReadAdministrator",
  1810. ReadCatalog = "ReadCatalog",
  1811. ReadCustomer = "ReadCustomer",
  1812. ReadOrder = "ReadOrder",
  1813. SuperAdmin = "SuperAdmin",
  1814. UpdateAdministrator = "UpdateAdministrator",
  1815. UpdateCatalog = "UpdateCatalog",
  1816. UpdateCustomer = "UpdateCustomer",
  1817. UpdateOrder = "UpdateOrder",
  1818. }
  1819. export enum SortOrder {
  1820. ASC = "ASC",
  1821. DESC = "DESC",
  1822. }
  1823. export interface AdministratorFilterParameter {
  1824. firstName?: StringOperators | null;
  1825. lastName?: StringOperators | null;
  1826. emailAddress?: StringOperators | null;
  1827. createdAt?: DateOperators | null;
  1828. updatedAt?: DateOperators | null;
  1829. }
  1830. export interface AdministratorListOptions {
  1831. take?: number | null;
  1832. skip?: number | null;
  1833. sort?: AdministratorSortParameter | null;
  1834. filter?: AdministratorFilterParameter | null;
  1835. }
  1836. export interface AdministratorSortParameter {
  1837. id?: SortOrder | null;
  1838. createdAt?: SortOrder | null;
  1839. updatedAt?: SortOrder | null;
  1840. firstName?: SortOrder | null;
  1841. lastName?: SortOrder | null;
  1842. emailAddress?: SortOrder | null;
  1843. }
  1844. export interface AssetFilterParameter {
  1845. name?: StringOperators | null;
  1846. description?: StringOperators | null;
  1847. type?: StringOperators | null;
  1848. createdAt?: DateOperators | null;
  1849. updatedAt?: DateOperators | null;
  1850. }
  1851. export interface AssetListOptions {
  1852. take?: number | null;
  1853. skip?: number | null;
  1854. sort?: AssetSortParameter | null;
  1855. filter?: AssetFilterParameter | null;
  1856. }
  1857. export interface AssetSortParameter {
  1858. id?: SortOrder | null;
  1859. createdAt?: SortOrder | null;
  1860. updatedAt?: SortOrder | null;
  1861. name?: SortOrder | null;
  1862. description?: SortOrder | null;
  1863. }
  1864. export interface BooleanOperators {
  1865. eq?: boolean | null;
  1866. }
  1867. export interface CreateAdministratorInput {
  1868. firstName: string;
  1869. lastName: string;
  1870. emailAddress: string;
  1871. password: string;
  1872. roleIds: string[];
  1873. }
  1874. export interface CreateAssetInput {
  1875. file: any;
  1876. }
  1877. export interface CreateFacetCustomFieldsInput {
  1878. searchable?: boolean | null;
  1879. }
  1880. export interface CreateFacetInput {
  1881. code: string;
  1882. translations: FacetTranslationInput[];
  1883. values?: CreateFacetValueWithFacetInput[] | null;
  1884. customFields?: CreateFacetCustomFieldsInput | null;
  1885. }
  1886. export interface CreateFacetValueCustomFieldsInput {
  1887. link?: string | null;
  1888. available?: boolean | null;
  1889. }
  1890. export interface CreateFacetValueInput {
  1891. facetId: string;
  1892. code: string;
  1893. translations: FacetValueTranslationInput[];
  1894. customFields?: CreateFacetValueCustomFieldsInput | null;
  1895. }
  1896. export interface CreateFacetValueWithFacetInput {
  1897. code: string;
  1898. translations: FacetValueTranslationInput[];
  1899. }
  1900. export interface CreateProductCustomFieldsInput {
  1901. infoUrl?: string | null;
  1902. downloadable?: boolean | null;
  1903. }
  1904. export interface CreateProductInput {
  1905. featuredAssetId?: string | null;
  1906. assetIds?: string[] | null;
  1907. translations: ProductTranslationInput[];
  1908. customFields?: CreateProductCustomFieldsInput | null;
  1909. }
  1910. export interface CreateProductOptionGroupInput {
  1911. code: string;
  1912. translations: ProductOptionGroupTranslationInput[];
  1913. options: CreateProductOptionInput[];
  1914. customFields?: any | null;
  1915. }
  1916. export interface CreateProductOptionInput {
  1917. code: string;
  1918. translations: ProductOptionGroupTranslationInput[];
  1919. customFields?: any | null;
  1920. }
  1921. export interface CreateRoleInput {
  1922. code: string;
  1923. description: string;
  1924. permissions: Permission[];
  1925. }
  1926. export interface DateOperators {
  1927. eq?: any | null;
  1928. before?: any | null;
  1929. after?: any | null;
  1930. between?: DateRange | null;
  1931. }
  1932. export interface DateRange {
  1933. start: any;
  1934. end: any;
  1935. }
  1936. export interface FacetFilterParameter {
  1937. name?: StringOperators | null;
  1938. code?: StringOperators | null;
  1939. createdAt?: DateOperators | null;
  1940. updatedAt?: DateOperators | null;
  1941. searchable?: BooleanOperators | null;
  1942. }
  1943. export interface FacetListOptions {
  1944. take?: number | null;
  1945. skip?: number | null;
  1946. sort?: FacetSortParameter | null;
  1947. filter?: FacetFilterParameter | null;
  1948. }
  1949. export interface FacetSortParameter {
  1950. id?: SortOrder | null;
  1951. createdAt?: SortOrder | null;
  1952. updatedAt?: SortOrder | null;
  1953. name?: SortOrder | null;
  1954. code?: SortOrder | null;
  1955. searchable?: SortOrder | null;
  1956. }
  1957. export interface FacetTranslationInput {
  1958. id?: string | null;
  1959. languageCode: LanguageCode;
  1960. name?: string | null;
  1961. customFields?: any | null;
  1962. }
  1963. export interface FacetValueTranslationInput {
  1964. id?: string | null;
  1965. languageCode: LanguageCode;
  1966. name?: string | null;
  1967. customFields?: any | null;
  1968. }
  1969. export interface ProductFilterParameter {
  1970. name?: StringOperators | null;
  1971. slug?: StringOperators | null;
  1972. description?: StringOperators | null;
  1973. createdAt?: DateOperators | null;
  1974. updatedAt?: DateOperators | null;
  1975. infoUrl?: StringOperators | null;
  1976. downloadable?: BooleanOperators | null;
  1977. nickname?: StringOperators | null;
  1978. }
  1979. export interface ProductListOptions {
  1980. take?: number | null;
  1981. skip?: number | null;
  1982. sort?: ProductSortParameter | null;
  1983. filter?: ProductFilterParameter | null;
  1984. }
  1985. export interface ProductOptionGroupTranslationInput {
  1986. id?: string | null;
  1987. languageCode: LanguageCode;
  1988. name?: string | null;
  1989. customFields?: any | null;
  1990. }
  1991. export interface ProductSortParameter {
  1992. id?: SortOrder | null;
  1993. createdAt?: SortOrder | null;
  1994. updatedAt?: SortOrder | null;
  1995. name?: SortOrder | null;
  1996. slug?: SortOrder | null;
  1997. description?: SortOrder | null;
  1998. image?: SortOrder | null;
  1999. infoUrl?: SortOrder | null;
  2000. downloadable?: SortOrder | null;
  2001. nickname?: SortOrder | null;
  2002. }
  2003. export interface ProductTranslationCustomFieldsInput {
  2004. nickname?: string | null;
  2005. }
  2006. export interface ProductTranslationInput {
  2007. id?: string | null;
  2008. languageCode: LanguageCode;
  2009. name?: string | null;
  2010. slug?: string | null;
  2011. description?: string | null;
  2012. customFields?: ProductTranslationCustomFieldsInput | null;
  2013. }
  2014. export interface ProductVariantTranslationInput {
  2015. id?: string | null;
  2016. languageCode: LanguageCode;
  2017. name?: string | null;
  2018. customFields?: any | null;
  2019. }
  2020. export interface RoleFilterParameter {
  2021. code?: StringOperators | null;
  2022. description?: StringOperators | null;
  2023. createdAt?: DateOperators | null;
  2024. updatedAt?: DateOperators | null;
  2025. }
  2026. export interface RoleListOptions {
  2027. take?: number | null;
  2028. skip?: number | null;
  2029. sort?: RoleSortParameter | null;
  2030. filter?: RoleFilterParameter | null;
  2031. }
  2032. export interface RoleSortParameter {
  2033. id?: SortOrder | null;
  2034. createdAt?: SortOrder | null;
  2035. updatedAt?: SortOrder | null;
  2036. code?: SortOrder | null;
  2037. description?: SortOrder | null;
  2038. }
  2039. export interface StringOperators {
  2040. eq?: string | null;
  2041. contains?: string | null;
  2042. }
  2043. export interface UpdateAdministratorInput {
  2044. id: string;
  2045. firstName?: string | null;
  2046. lastName?: string | null;
  2047. emailAddress?: string | null;
  2048. password?: string | null;
  2049. roleIds?: string[] | null;
  2050. }
  2051. export interface UpdateFacetCustomFieldsInput {
  2052. searchable?: boolean | null;
  2053. }
  2054. export interface UpdateFacetInput {
  2055. id: string;
  2056. code?: string | null;
  2057. translations?: FacetTranslationInput[] | null;
  2058. customFields?: UpdateFacetCustomFieldsInput | null;
  2059. }
  2060. export interface UpdateFacetValueCustomFieldsInput {
  2061. link?: string | null;
  2062. available?: boolean | null;
  2063. }
  2064. export interface UpdateFacetValueInput {
  2065. id: string;
  2066. code?: string | null;
  2067. translations?: FacetValueTranslationInput[] | null;
  2068. customFields?: UpdateFacetValueCustomFieldsInput | null;
  2069. }
  2070. export interface UpdateProductCustomFieldsInput {
  2071. infoUrl?: string | null;
  2072. downloadable?: boolean | null;
  2073. }
  2074. export interface UpdateProductInput {
  2075. id: string;
  2076. featuredAssetId?: string | null;
  2077. assetIds?: string[] | null;
  2078. translations?: ProductTranslationInput[] | null;
  2079. customFields?: UpdateProductCustomFieldsInput | null;
  2080. }
  2081. export interface UpdateProductVariantInput {
  2082. id: string;
  2083. translations?: ProductVariantTranslationInput[] | null;
  2084. sku?: string | null;
  2085. price?: number | null;
  2086. customFields?: any | null;
  2087. }
  2088. export interface UpdateRoleInput {
  2089. id: string;
  2090. code?: string | null;
  2091. description?: string | null;
  2092. permissions?: Permission[] | null;
  2093. }
  2094. //==============================================================
  2095. // END Enums and Input Objects
  2096. //==============================================================