generated-types.ts 59 KB

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