generated-types.ts 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375
  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_assets {
  658. __typename: "Asset";
  659. description: string | null;
  660. name: string;
  661. preview: string;
  662. type: AssetType;
  663. }
  664. export interface UpdateProduct_updateProduct_translations {
  665. __typename: "ProductTranslation";
  666. languageCode: LanguageCode;
  667. name: string;
  668. slug: string;
  669. description: string;
  670. }
  671. export interface UpdateProduct_updateProduct_optionGroups {
  672. __typename: "ProductOptionGroup";
  673. id: string;
  674. languageCode: LanguageCode;
  675. code: string;
  676. name: string;
  677. }
  678. export interface UpdateProduct_updateProduct_variants_options {
  679. __typename: "ProductOption";
  680. id: string;
  681. code: string | null;
  682. languageCode: LanguageCode | null;
  683. name: string | null;
  684. }
  685. export interface UpdateProduct_updateProduct_variants_facetValues {
  686. __typename: "FacetValue";
  687. id: string;
  688. code: string;
  689. name: string;
  690. }
  691. export interface UpdateProduct_updateProduct_variants_translations {
  692. __typename: "ProductVariantTranslation";
  693. id: string;
  694. languageCode: LanguageCode;
  695. name: string;
  696. }
  697. export interface UpdateProduct_updateProduct_variants {
  698. __typename: "ProductVariant";
  699. id: string;
  700. languageCode: LanguageCode;
  701. name: string;
  702. price: number;
  703. sku: string;
  704. image: string | null;
  705. options: UpdateProduct_updateProduct_variants_options[];
  706. facetValues: UpdateProduct_updateProduct_variants_facetValues[];
  707. translations: UpdateProduct_updateProduct_variants_translations[];
  708. }
  709. export interface UpdateProduct_updateProduct {
  710. __typename: "Product";
  711. id: string;
  712. languageCode: LanguageCode;
  713. name: string;
  714. slug: string;
  715. image: string;
  716. description: string;
  717. assets: UpdateProduct_updateProduct_assets[];
  718. translations: UpdateProduct_updateProduct_translations[];
  719. optionGroups: UpdateProduct_updateProduct_optionGroups[];
  720. variants: UpdateProduct_updateProduct_variants[];
  721. }
  722. export interface UpdateProduct {
  723. /**
  724. * Update an existing Product
  725. */
  726. updateProduct: UpdateProduct_updateProduct;
  727. }
  728. export interface UpdateProductVariables {
  729. input: UpdateProductInput;
  730. }
  731. /* tslint:disable */
  732. // This file was automatically generated and should not be edited.
  733. // ====================================================
  734. // GraphQL mutation operation: CreateProduct
  735. // ====================================================
  736. export interface CreateProduct_createProduct_assets {
  737. __typename: "Asset";
  738. description: string | null;
  739. name: string;
  740. preview: string;
  741. type: AssetType;
  742. }
  743. export interface CreateProduct_createProduct_translations {
  744. __typename: "ProductTranslation";
  745. languageCode: LanguageCode;
  746. name: string;
  747. slug: string;
  748. description: string;
  749. }
  750. export interface CreateProduct_createProduct_optionGroups {
  751. __typename: "ProductOptionGroup";
  752. id: string;
  753. languageCode: LanguageCode;
  754. code: string;
  755. name: string;
  756. }
  757. export interface CreateProduct_createProduct_variants_options {
  758. __typename: "ProductOption";
  759. id: string;
  760. code: string | null;
  761. languageCode: LanguageCode | null;
  762. name: string | null;
  763. }
  764. export interface CreateProduct_createProduct_variants_facetValues {
  765. __typename: "FacetValue";
  766. id: string;
  767. code: string;
  768. name: string;
  769. }
  770. export interface CreateProduct_createProduct_variants_translations {
  771. __typename: "ProductVariantTranslation";
  772. id: string;
  773. languageCode: LanguageCode;
  774. name: string;
  775. }
  776. export interface CreateProduct_createProduct_variants {
  777. __typename: "ProductVariant";
  778. id: string;
  779. languageCode: LanguageCode;
  780. name: string;
  781. price: number;
  782. sku: string;
  783. image: string | null;
  784. options: CreateProduct_createProduct_variants_options[];
  785. facetValues: CreateProduct_createProduct_variants_facetValues[];
  786. translations: CreateProduct_createProduct_variants_translations[];
  787. }
  788. export interface CreateProduct_createProduct {
  789. __typename: "Product";
  790. id: string;
  791. languageCode: LanguageCode;
  792. name: string;
  793. slug: string;
  794. image: string;
  795. description: string;
  796. assets: CreateProduct_createProduct_assets[];
  797. translations: CreateProduct_createProduct_translations[];
  798. optionGroups: CreateProduct_createProduct_optionGroups[];
  799. variants: CreateProduct_createProduct_variants[];
  800. }
  801. export interface CreateProduct {
  802. /**
  803. * Create a new Product
  804. */
  805. createProduct: CreateProduct_createProduct;
  806. }
  807. export interface CreateProductVariables {
  808. input: CreateProductInput;
  809. }
  810. /* tslint:disable */
  811. // This file was automatically generated and should not be edited.
  812. // ====================================================
  813. // GraphQL mutation operation: GenerateProductVariants
  814. // ====================================================
  815. export interface GenerateProductVariants_generateVariantsForProduct_assets {
  816. __typename: "Asset";
  817. description: string | null;
  818. name: string;
  819. preview: string;
  820. type: AssetType;
  821. }
  822. export interface GenerateProductVariants_generateVariantsForProduct_translations {
  823. __typename: "ProductTranslation";
  824. languageCode: LanguageCode;
  825. name: string;
  826. slug: string;
  827. description: string;
  828. }
  829. export interface GenerateProductVariants_generateVariantsForProduct_optionGroups {
  830. __typename: "ProductOptionGroup";
  831. id: string;
  832. languageCode: LanguageCode;
  833. code: string;
  834. name: string;
  835. }
  836. export interface GenerateProductVariants_generateVariantsForProduct_variants_options {
  837. __typename: "ProductOption";
  838. id: string;
  839. code: string | null;
  840. languageCode: LanguageCode | null;
  841. name: string | null;
  842. }
  843. export interface GenerateProductVariants_generateVariantsForProduct_variants_facetValues {
  844. __typename: "FacetValue";
  845. id: string;
  846. code: string;
  847. name: string;
  848. }
  849. export interface GenerateProductVariants_generateVariantsForProduct_variants_translations {
  850. __typename: "ProductVariantTranslation";
  851. id: string;
  852. languageCode: LanguageCode;
  853. name: string;
  854. }
  855. export interface GenerateProductVariants_generateVariantsForProduct_variants {
  856. __typename: "ProductVariant";
  857. id: string;
  858. languageCode: LanguageCode;
  859. name: string;
  860. price: number;
  861. sku: string;
  862. image: string | null;
  863. options: GenerateProductVariants_generateVariantsForProduct_variants_options[];
  864. facetValues: GenerateProductVariants_generateVariantsForProduct_variants_facetValues[];
  865. translations: GenerateProductVariants_generateVariantsForProduct_variants_translations[];
  866. }
  867. export interface GenerateProductVariants_generateVariantsForProduct {
  868. __typename: "Product";
  869. id: string;
  870. languageCode: LanguageCode;
  871. name: string;
  872. slug: string;
  873. image: string;
  874. description: string;
  875. assets: GenerateProductVariants_generateVariantsForProduct_assets[];
  876. translations: GenerateProductVariants_generateVariantsForProduct_translations[];
  877. optionGroups: GenerateProductVariants_generateVariantsForProduct_optionGroups[];
  878. variants: GenerateProductVariants_generateVariantsForProduct_variants[];
  879. }
  880. export interface GenerateProductVariants {
  881. /**
  882. * Create a set of ProductVariants based on the OptionGroups assigned to the given Product
  883. */
  884. generateVariantsForProduct: GenerateProductVariants_generateVariantsForProduct;
  885. }
  886. export interface GenerateProductVariantsVariables {
  887. productId: string;
  888. defaultPrice?: number | null;
  889. defaultSku?: string | null;
  890. }
  891. /* tslint:disable */
  892. // This file was automatically generated and should not be edited.
  893. // ====================================================
  894. // GraphQL mutation operation: UpdateProductVariants
  895. // ====================================================
  896. export interface UpdateProductVariants_updateProductVariants_options {
  897. __typename: "ProductOption";
  898. id: string;
  899. code: string | null;
  900. languageCode: LanguageCode | null;
  901. name: string | null;
  902. }
  903. export interface UpdateProductVariants_updateProductVariants_facetValues {
  904. __typename: "FacetValue";
  905. id: string;
  906. code: string;
  907. name: string;
  908. }
  909. export interface UpdateProductVariants_updateProductVariants_translations {
  910. __typename: "ProductVariantTranslation";
  911. id: string;
  912. languageCode: LanguageCode;
  913. name: string;
  914. }
  915. export interface UpdateProductVariants_updateProductVariants {
  916. __typename: "ProductVariant";
  917. id: string;
  918. languageCode: LanguageCode;
  919. name: string;
  920. price: number;
  921. sku: string;
  922. image: string | null;
  923. options: UpdateProductVariants_updateProductVariants_options[];
  924. facetValues: UpdateProductVariants_updateProductVariants_facetValues[];
  925. translations: UpdateProductVariants_updateProductVariants_translations[];
  926. }
  927. export interface UpdateProductVariants {
  928. /**
  929. * Update existing ProductVariants
  930. */
  931. updateProductVariants: (UpdateProductVariants_updateProductVariants | null)[];
  932. }
  933. export interface UpdateProductVariantsVariables {
  934. input: UpdateProductVariantInput[];
  935. }
  936. /* tslint:disable */
  937. // This file was automatically generated and should not be edited.
  938. // ====================================================
  939. // GraphQL mutation operation: CreateProductOptionGroup
  940. // ====================================================
  941. export interface CreateProductOptionGroup_createProductOptionGroup_translations {
  942. __typename: "ProductOptionGroupTranslation";
  943. name: string;
  944. }
  945. export interface CreateProductOptionGroup_createProductOptionGroup_options_translations {
  946. __typename: "ProductOptionTranslation";
  947. name: string;
  948. }
  949. export interface CreateProductOptionGroup_createProductOptionGroup_options {
  950. __typename: "ProductOption";
  951. id: string;
  952. languageCode: LanguageCode | null;
  953. name: string | null;
  954. code: string | null;
  955. translations: CreateProductOptionGroup_createProductOptionGroup_options_translations[];
  956. }
  957. export interface CreateProductOptionGroup_createProductOptionGroup {
  958. __typename: "ProductOptionGroup";
  959. id: string;
  960. languageCode: LanguageCode;
  961. code: string;
  962. name: string;
  963. translations: CreateProductOptionGroup_createProductOptionGroup_translations[];
  964. options: CreateProductOptionGroup_createProductOptionGroup_options[];
  965. }
  966. export interface CreateProductOptionGroup {
  967. /**
  968. * Create a new ProductOptionGroup
  969. */
  970. createProductOptionGroup: CreateProductOptionGroup_createProductOptionGroup;
  971. }
  972. export interface CreateProductOptionGroupVariables {
  973. input: CreateProductOptionGroupInput;
  974. }
  975. /* tslint:disable */
  976. // This file was automatically generated and should not be edited.
  977. // ====================================================
  978. // GraphQL mutation operation: AddOptionGroupToProduct
  979. // ====================================================
  980. export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options {
  981. __typename: "ProductOption";
  982. id: string;
  983. code: string | null;
  984. }
  985. export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups {
  986. __typename: "ProductOptionGroup";
  987. id: string;
  988. code: string;
  989. options: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options[];
  990. }
  991. export interface AddOptionGroupToProduct_addOptionGroupToProduct {
  992. __typename: "Product";
  993. id: string;
  994. optionGroups: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups[];
  995. }
  996. export interface AddOptionGroupToProduct {
  997. /**
  998. * Add an OptionGroup to a Product
  999. */
  1000. addOptionGroupToProduct: AddOptionGroupToProduct_addOptionGroupToProduct;
  1001. }
  1002. export interface AddOptionGroupToProductVariables {
  1003. productId: string;
  1004. optionGroupId: string;
  1005. }
  1006. /* tslint:disable */
  1007. // This file was automatically generated and should not be edited.
  1008. // ====================================================
  1009. // GraphQL mutation operation: RemoveOptionGroupFromProduct
  1010. // ====================================================
  1011. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups_options {
  1012. __typename: "ProductOption";
  1013. id: string;
  1014. code: string | null;
  1015. }
  1016. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups {
  1017. __typename: "ProductOptionGroup";
  1018. id: string;
  1019. code: string;
  1020. options: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups_options[];
  1021. }
  1022. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct {
  1023. __typename: "Product";
  1024. id: string;
  1025. optionGroups: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups[];
  1026. }
  1027. export interface RemoveOptionGroupFromProduct {
  1028. /**
  1029. * Remove an OptionGroup from a Product
  1030. */
  1031. removeOptionGroupFromProduct: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct;
  1032. }
  1033. export interface RemoveOptionGroupFromProductVariables {
  1034. productId: string;
  1035. optionGroupId: string;
  1036. }
  1037. /* tslint:disable */
  1038. // This file was automatically generated and should not be edited.
  1039. // ====================================================
  1040. // GraphQL mutation operation: ApplyFacetValuesToProductVariants
  1041. // ====================================================
  1042. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_options {
  1043. __typename: "ProductOption";
  1044. id: string;
  1045. code: string | null;
  1046. languageCode: LanguageCode | null;
  1047. name: string | null;
  1048. }
  1049. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_facetValues {
  1050. __typename: "FacetValue";
  1051. id: string;
  1052. code: string;
  1053. name: string;
  1054. }
  1055. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_translations {
  1056. __typename: "ProductVariantTranslation";
  1057. id: string;
  1058. languageCode: LanguageCode;
  1059. name: string;
  1060. }
  1061. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants {
  1062. __typename: "ProductVariant";
  1063. id: string;
  1064. languageCode: LanguageCode;
  1065. name: string;
  1066. price: number;
  1067. sku: string;
  1068. image: string | null;
  1069. options: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_options[];
  1070. facetValues: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_facetValues[];
  1071. translations: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_translations[];
  1072. }
  1073. export interface ApplyFacetValuesToProductVariants {
  1074. /**
  1075. * Applies a FacetValue to the given ProductVariants
  1076. */
  1077. applyFacetValuesToProductVariants: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants[];
  1078. }
  1079. export interface ApplyFacetValuesToProductVariantsVariables {
  1080. facetValueIds: string[];
  1081. productVariantIds: string[];
  1082. }
  1083. /* tslint:disable */
  1084. // This file was automatically generated and should not be edited.
  1085. // ====================================================
  1086. // GraphQL query operation: GetProductWithVariants
  1087. // ====================================================
  1088. export interface GetProductWithVariants_product_assets {
  1089. __typename: "Asset";
  1090. description: string | null;
  1091. name: string;
  1092. preview: string;
  1093. type: AssetType;
  1094. }
  1095. export interface GetProductWithVariants_product_translations {
  1096. __typename: "ProductTranslation";
  1097. languageCode: LanguageCode;
  1098. name: string;
  1099. slug: string;
  1100. description: string;
  1101. }
  1102. export interface GetProductWithVariants_product_optionGroups {
  1103. __typename: "ProductOptionGroup";
  1104. id: string;
  1105. languageCode: LanguageCode;
  1106. code: string;
  1107. name: string;
  1108. }
  1109. export interface GetProductWithVariants_product_variants_options {
  1110. __typename: "ProductOption";
  1111. id: string;
  1112. code: string | null;
  1113. languageCode: LanguageCode | null;
  1114. name: string | null;
  1115. }
  1116. export interface GetProductWithVariants_product_variants_facetValues {
  1117. __typename: "FacetValue";
  1118. id: string;
  1119. code: string;
  1120. name: string;
  1121. }
  1122. export interface GetProductWithVariants_product_variants_translations {
  1123. __typename: "ProductVariantTranslation";
  1124. id: string;
  1125. languageCode: LanguageCode;
  1126. name: string;
  1127. }
  1128. export interface GetProductWithVariants_product_variants {
  1129. __typename: "ProductVariant";
  1130. id: string;
  1131. languageCode: LanguageCode;
  1132. name: string;
  1133. price: number;
  1134. sku: string;
  1135. image: string | null;
  1136. options: GetProductWithVariants_product_variants_options[];
  1137. facetValues: GetProductWithVariants_product_variants_facetValues[];
  1138. translations: GetProductWithVariants_product_variants_translations[];
  1139. }
  1140. export interface GetProductWithVariants_product {
  1141. __typename: "Product";
  1142. id: string;
  1143. languageCode: LanguageCode;
  1144. name: string;
  1145. slug: string;
  1146. image: string;
  1147. description: string;
  1148. assets: GetProductWithVariants_product_assets[];
  1149. translations: GetProductWithVariants_product_translations[];
  1150. optionGroups: GetProductWithVariants_product_optionGroups[];
  1151. variants: GetProductWithVariants_product_variants[];
  1152. }
  1153. export interface GetProductWithVariants {
  1154. product: GetProductWithVariants_product | null;
  1155. }
  1156. export interface GetProductWithVariantsVariables {
  1157. id: string;
  1158. languageCode?: LanguageCode | null;
  1159. }
  1160. /* tslint:disable */
  1161. // This file was automatically generated and should not be edited.
  1162. // ====================================================
  1163. // GraphQL query operation: GetProductList
  1164. // ====================================================
  1165. export interface GetProductList_products_items {
  1166. __typename: "Product";
  1167. id: string;
  1168. languageCode: LanguageCode;
  1169. name: string;
  1170. slug: string;
  1171. description: string;
  1172. }
  1173. export interface GetProductList_products {
  1174. __typename: "ProductList";
  1175. items: GetProductList_products_items[];
  1176. totalItems: number;
  1177. }
  1178. export interface GetProductList {
  1179. products: GetProductList_products;
  1180. }
  1181. export interface GetProductListVariables {
  1182. options?: ProductListOptions | null;
  1183. languageCode?: LanguageCode | null;
  1184. }
  1185. /* tslint:disable */
  1186. // This file was automatically generated and should not be edited.
  1187. // ====================================================
  1188. // GraphQL query operation: GetProductOptionGroups
  1189. // ====================================================
  1190. export interface GetProductOptionGroups_productOptionGroups_options {
  1191. __typename: "ProductOption";
  1192. id: string;
  1193. languageCode: LanguageCode | null;
  1194. code: string | null;
  1195. name: string | null;
  1196. }
  1197. export interface GetProductOptionGroups_productOptionGroups {
  1198. __typename: "ProductOptionGroup";
  1199. id: string;
  1200. languageCode: LanguageCode;
  1201. code: string;
  1202. name: string;
  1203. options: GetProductOptionGroups_productOptionGroups_options[];
  1204. }
  1205. export interface GetProductOptionGroups {
  1206. productOptionGroups: GetProductOptionGroups_productOptionGroups[];
  1207. }
  1208. export interface GetProductOptionGroupsVariables {
  1209. filterTerm?: string | null;
  1210. languageCode?: LanguageCode | null;
  1211. }
  1212. /* tslint:disable */
  1213. // This file was automatically generated and should not be edited.
  1214. // ====================================================
  1215. // GraphQL query operation: GetAssetList
  1216. // ====================================================
  1217. export interface GetAssetList_assets_items {
  1218. __typename: "Asset";
  1219. id: string;
  1220. name: string;
  1221. mimetype: string;
  1222. type: AssetType;
  1223. preview: string;
  1224. source: string;
  1225. }
  1226. export interface GetAssetList_assets {
  1227. __typename: "AssetList";
  1228. items: GetAssetList_assets_items[];
  1229. totalItems: number;
  1230. }
  1231. export interface GetAssetList {
  1232. assets: GetAssetList_assets;
  1233. }
  1234. export interface GetAssetListVariables {
  1235. options?: AssetListOptions | null;
  1236. }
  1237. /* tslint:disable */
  1238. // This file was automatically generated and should not be edited.
  1239. // ====================================================
  1240. // GraphQL mutation operation: CreateAsset
  1241. // ====================================================
  1242. export interface CreateAsset_createAsset {
  1243. __typename: "Asset";
  1244. id: string;
  1245. name: string;
  1246. mimetype: string;
  1247. type: AssetType;
  1248. preview: string;
  1249. source: string;
  1250. }
  1251. export interface CreateAsset {
  1252. /**
  1253. * Create a new Asset
  1254. */
  1255. createAsset: CreateAsset_createAsset;
  1256. }
  1257. export interface CreateAssetVariables {
  1258. input: CreateAssetInput;
  1259. }
  1260. /* tslint:disable */
  1261. // This file was automatically generated and should not be edited.
  1262. // ====================================================
  1263. // GraphQL fragment: Administrator
  1264. // ====================================================
  1265. export interface Administrator_user_roles {
  1266. __typename: "Role";
  1267. code: string;
  1268. description: string;
  1269. permissions: Permission[];
  1270. }
  1271. export interface Administrator_user {
  1272. __typename: "User";
  1273. id: string;
  1274. identifier: string;
  1275. lastLogin: string | null;
  1276. roles: Administrator_user_roles[];
  1277. }
  1278. export interface Administrator {
  1279. __typename: "Administrator";
  1280. id: string;
  1281. firstName: string;
  1282. lastName: string;
  1283. emailAddress: string;
  1284. user: Administrator_user;
  1285. }
  1286. /* tslint:disable */
  1287. // This file was automatically generated and should not be edited.
  1288. // ====================================================
  1289. // GraphQL fragment: Role
  1290. // ====================================================
  1291. export interface Role_channels {
  1292. __typename: "Channel";
  1293. id: string;
  1294. code: string;
  1295. token: string;
  1296. }
  1297. export interface Role {
  1298. __typename: "Role";
  1299. id: string;
  1300. code: string;
  1301. description: string;
  1302. permissions: Permission[];
  1303. channels: Role_channels[];
  1304. }
  1305. /* tslint:disable */
  1306. // This file was automatically generated and should not be edited.
  1307. // ====================================================
  1308. // GraphQL fragment: CurrentUser
  1309. // ====================================================
  1310. export interface CurrentUser {
  1311. __typename: "CurrentUser";
  1312. id: string;
  1313. identifier: string;
  1314. channelTokens: string[];
  1315. roles: string[];
  1316. }
  1317. /* tslint:disable */
  1318. // This file was automatically generated and should not be edited.
  1319. // ====================================================
  1320. // GraphQL fragment: FacetValue
  1321. // ====================================================
  1322. export interface FacetValue_translations {
  1323. __typename: "FacetValueTranslation";
  1324. id: string;
  1325. languageCode: LanguageCode;
  1326. name: string;
  1327. }
  1328. export interface FacetValue {
  1329. __typename: "FacetValue";
  1330. id: string;
  1331. languageCode: LanguageCode | null;
  1332. code: string;
  1333. name: string;
  1334. translations: FacetValue_translations[];
  1335. }
  1336. /* tslint:disable */
  1337. // This file was automatically generated and should not be edited.
  1338. // ====================================================
  1339. // GraphQL fragment: FacetWithValues
  1340. // ====================================================
  1341. export interface FacetWithValues_translations {
  1342. __typename: "FacetTranslation";
  1343. id: string;
  1344. languageCode: LanguageCode;
  1345. name: string;
  1346. }
  1347. export interface FacetWithValues_values_translations {
  1348. __typename: "FacetValueTranslation";
  1349. id: string;
  1350. languageCode: LanguageCode;
  1351. name: string;
  1352. }
  1353. export interface FacetWithValues_values {
  1354. __typename: "FacetValue";
  1355. id: string;
  1356. languageCode: LanguageCode | null;
  1357. code: string;
  1358. name: string;
  1359. translations: FacetWithValues_values_translations[];
  1360. }
  1361. export interface FacetWithValues {
  1362. __typename: "Facet";
  1363. id: string;
  1364. languageCode: LanguageCode;
  1365. code: string;
  1366. name: string;
  1367. translations: FacetWithValues_translations[];
  1368. values: FacetWithValues_values[];
  1369. }
  1370. /* tslint:disable */
  1371. // This file was automatically generated and should not be edited.
  1372. // ====================================================
  1373. // GraphQL fragment: ProductVariant
  1374. // ====================================================
  1375. export interface ProductVariant_options {
  1376. __typename: "ProductOption";
  1377. id: string;
  1378. code: string | null;
  1379. languageCode: LanguageCode | null;
  1380. name: string | null;
  1381. }
  1382. export interface ProductVariant_facetValues {
  1383. __typename: "FacetValue";
  1384. id: string;
  1385. code: string;
  1386. name: string;
  1387. }
  1388. export interface ProductVariant_translations {
  1389. __typename: "ProductVariantTranslation";
  1390. id: string;
  1391. languageCode: LanguageCode;
  1392. name: string;
  1393. }
  1394. export interface ProductVariant {
  1395. __typename: "ProductVariant";
  1396. id: string;
  1397. languageCode: LanguageCode;
  1398. name: string;
  1399. price: number;
  1400. sku: string;
  1401. image: string | null;
  1402. options: ProductVariant_options[];
  1403. facetValues: ProductVariant_facetValues[];
  1404. translations: ProductVariant_translations[];
  1405. }
  1406. /* tslint:disable */
  1407. // This file was automatically generated and should not be edited.
  1408. // ====================================================
  1409. // GraphQL fragment: ProductWithVariants
  1410. // ====================================================
  1411. export interface ProductWithVariants_assets {
  1412. __typename: "Asset";
  1413. description: string | null;
  1414. name: string;
  1415. preview: string;
  1416. type: AssetType;
  1417. }
  1418. export interface ProductWithVariants_translations {
  1419. __typename: "ProductTranslation";
  1420. languageCode: LanguageCode;
  1421. name: string;
  1422. slug: string;
  1423. description: string;
  1424. }
  1425. export interface ProductWithVariants_optionGroups {
  1426. __typename: "ProductOptionGroup";
  1427. id: string;
  1428. languageCode: LanguageCode;
  1429. code: string;
  1430. name: string;
  1431. }
  1432. export interface ProductWithVariants_variants_options {
  1433. __typename: "ProductOption";
  1434. id: string;
  1435. code: string | null;
  1436. languageCode: LanguageCode | null;
  1437. name: string | null;
  1438. }
  1439. export interface ProductWithVariants_variants_facetValues {
  1440. __typename: "FacetValue";
  1441. id: string;
  1442. code: string;
  1443. name: string;
  1444. }
  1445. export interface ProductWithVariants_variants_translations {
  1446. __typename: "ProductVariantTranslation";
  1447. id: string;
  1448. languageCode: LanguageCode;
  1449. name: string;
  1450. }
  1451. export interface ProductWithVariants_variants {
  1452. __typename: "ProductVariant";
  1453. id: string;
  1454. languageCode: LanguageCode;
  1455. name: string;
  1456. price: number;
  1457. sku: string;
  1458. image: string | null;
  1459. options: ProductWithVariants_variants_options[];
  1460. facetValues: ProductWithVariants_variants_facetValues[];
  1461. translations: ProductWithVariants_variants_translations[];
  1462. }
  1463. export interface ProductWithVariants {
  1464. __typename: "Product";
  1465. id: string;
  1466. languageCode: LanguageCode;
  1467. name: string;
  1468. slug: string;
  1469. image: string;
  1470. description: string;
  1471. assets: ProductWithVariants_assets[];
  1472. translations: ProductWithVariants_translations[];
  1473. optionGroups: ProductWithVariants_optionGroups[];
  1474. variants: ProductWithVariants_variants[];
  1475. }
  1476. /* tslint:disable */
  1477. // This file was automatically generated and should not be edited.
  1478. // ====================================================
  1479. // GraphQL fragment: ProductOptionGroup
  1480. // ====================================================
  1481. export interface ProductOptionGroup_translations {
  1482. __typename: "ProductOptionGroupTranslation";
  1483. name: string;
  1484. }
  1485. export interface ProductOptionGroup_options_translations {
  1486. __typename: "ProductOptionTranslation";
  1487. name: string;
  1488. }
  1489. export interface ProductOptionGroup_options {
  1490. __typename: "ProductOption";
  1491. id: string;
  1492. languageCode: LanguageCode | null;
  1493. name: string | null;
  1494. code: string | null;
  1495. translations: ProductOptionGroup_options_translations[];
  1496. }
  1497. export interface ProductOptionGroup {
  1498. __typename: "ProductOptionGroup";
  1499. id: string;
  1500. languageCode: LanguageCode;
  1501. code: string;
  1502. name: string;
  1503. translations: ProductOptionGroup_translations[];
  1504. options: ProductOptionGroup_options[];
  1505. }
  1506. /* tslint:disable */
  1507. // This file was automatically generated and should not be edited.
  1508. // ====================================================
  1509. // GraphQL fragment: Asset
  1510. // ====================================================
  1511. export interface Asset {
  1512. __typename: "Asset";
  1513. id: string;
  1514. name: string;
  1515. mimetype: string;
  1516. type: AssetType;
  1517. preview: string;
  1518. source: string;
  1519. }
  1520. /* tslint:disable */
  1521. // This file was automatically generated and should not be edited.
  1522. //==============================================================
  1523. // START Enums and Input Objects
  1524. //==============================================================
  1525. export enum AssetType {
  1526. BINARY = "BINARY",
  1527. IMAGE = "IMAGE",
  1528. VIDEO = "VIDEO",
  1529. }
  1530. /**
  1531. * ISO 639-1 language code
  1532. */
  1533. export enum LanguageCode {
  1534. aa = "aa",
  1535. ab = "ab",
  1536. ae = "ae",
  1537. af = "af",
  1538. ak = "ak",
  1539. am = "am",
  1540. an = "an",
  1541. ar = "ar",
  1542. as = "as",
  1543. av = "av",
  1544. ay = "ay",
  1545. az = "az",
  1546. ba = "ba",
  1547. be = "be",
  1548. bg = "bg",
  1549. bh = "bh",
  1550. bi = "bi",
  1551. bm = "bm",
  1552. bn = "bn",
  1553. bo = "bo",
  1554. br = "br",
  1555. bs = "bs",
  1556. ca = "ca",
  1557. ce = "ce",
  1558. ch = "ch",
  1559. co = "co",
  1560. cr = "cr",
  1561. cs = "cs",
  1562. cu = "cu",
  1563. cv = "cv",
  1564. cy = "cy",
  1565. da = "da",
  1566. de = "de",
  1567. dv = "dv",
  1568. dz = "dz",
  1569. ee = "ee",
  1570. el = "el",
  1571. en = "en",
  1572. eo = "eo",
  1573. es = "es",
  1574. et = "et",
  1575. eu = "eu",
  1576. fa = "fa",
  1577. ff = "ff",
  1578. fi = "fi",
  1579. fj = "fj",
  1580. fo = "fo",
  1581. fr = "fr",
  1582. fy = "fy",
  1583. ga = "ga",
  1584. gd = "gd",
  1585. gl = "gl",
  1586. gn = "gn",
  1587. gu = "gu",
  1588. gv = "gv",
  1589. ha = "ha",
  1590. he = "he",
  1591. hi = "hi",
  1592. ho = "ho",
  1593. hr = "hr",
  1594. ht = "ht",
  1595. hu = "hu",
  1596. hy = "hy",
  1597. hz = "hz",
  1598. ia = "ia",
  1599. id = "id",
  1600. ie = "ie",
  1601. ig = "ig",
  1602. ii = "ii",
  1603. ik = "ik",
  1604. io = "io",
  1605. is = "is",
  1606. it = "it",
  1607. iu = "iu",
  1608. ja = "ja",
  1609. jv = "jv",
  1610. ka = "ka",
  1611. kg = "kg",
  1612. ki = "ki",
  1613. kj = "kj",
  1614. kk = "kk",
  1615. kl = "kl",
  1616. km = "km",
  1617. kn = "kn",
  1618. ko = "ko",
  1619. kr = "kr",
  1620. ks = "ks",
  1621. ku = "ku",
  1622. kv = "kv",
  1623. kw = "kw",
  1624. ky = "ky",
  1625. la = "la",
  1626. lb = "lb",
  1627. lg = "lg",
  1628. li = "li",
  1629. ln = "ln",
  1630. lo = "lo",
  1631. lt = "lt",
  1632. lu = "lu",
  1633. lv = "lv",
  1634. mg = "mg",
  1635. mh = "mh",
  1636. mi = "mi",
  1637. mk = "mk",
  1638. ml = "ml",
  1639. mn = "mn",
  1640. mr = "mr",
  1641. ms = "ms",
  1642. mt = "mt",
  1643. my = "my",
  1644. na = "na",
  1645. nb = "nb",
  1646. nd = "nd",
  1647. ne = "ne",
  1648. ng = "ng",
  1649. nl = "nl",
  1650. nn = "nn",
  1651. no = "no",
  1652. nr = "nr",
  1653. nv = "nv",
  1654. ny = "ny",
  1655. oc = "oc",
  1656. oj = "oj",
  1657. om = "om",
  1658. or = "or",
  1659. os = "os",
  1660. pa = "pa",
  1661. pi = "pi",
  1662. pl = "pl",
  1663. ps = "ps",
  1664. pt = "pt",
  1665. qu = "qu",
  1666. rm = "rm",
  1667. rn = "rn",
  1668. ro = "ro",
  1669. ru = "ru",
  1670. rw = "rw",
  1671. sa = "sa",
  1672. sc = "sc",
  1673. sd = "sd",
  1674. se = "se",
  1675. sg = "sg",
  1676. si = "si",
  1677. sk = "sk",
  1678. sl = "sl",
  1679. sm = "sm",
  1680. sn = "sn",
  1681. so = "so",
  1682. sq = "sq",
  1683. sr = "sr",
  1684. ss = "ss",
  1685. st = "st",
  1686. su = "su",
  1687. sv = "sv",
  1688. sw = "sw",
  1689. ta = "ta",
  1690. te = "te",
  1691. tg = "tg",
  1692. th = "th",
  1693. ti = "ti",
  1694. tk = "tk",
  1695. tl = "tl",
  1696. tn = "tn",
  1697. to = "to",
  1698. tr = "tr",
  1699. ts = "ts",
  1700. tt = "tt",
  1701. tw = "tw",
  1702. ty = "ty",
  1703. ug = "ug",
  1704. uk = "uk",
  1705. ur = "ur",
  1706. uz = "uz",
  1707. ve = "ve",
  1708. vi = "vi",
  1709. vo = "vo",
  1710. wa = "wa",
  1711. wo = "wo",
  1712. xh = "xh",
  1713. yi = "yi",
  1714. yo = "yo",
  1715. za = "za",
  1716. zh = "zh",
  1717. zu = "zu",
  1718. }
  1719. /**
  1720. * Permissions for administrators
  1721. */
  1722. export enum Permission {
  1723. Authenticated = "Authenticated",
  1724. CreateAdministrator = "CreateAdministrator",
  1725. CreateCatalog = "CreateCatalog",
  1726. CreateCustomer = "CreateCustomer",
  1727. CreateOrder = "CreateOrder",
  1728. DeleteAdministrator = "DeleteAdministrator",
  1729. DeleteCatalog = "DeleteCatalog",
  1730. DeleteCustomer = "DeleteCustomer",
  1731. DeleteOrder = "DeleteOrder",
  1732. ReadAdministrator = "ReadAdministrator",
  1733. ReadCatalog = "ReadCatalog",
  1734. ReadCustomer = "ReadCustomer",
  1735. ReadOrder = "ReadOrder",
  1736. SuperAdmin = "SuperAdmin",
  1737. UpdateAdministrator = "UpdateAdministrator",
  1738. UpdateCatalog = "UpdateCatalog",
  1739. UpdateCustomer = "UpdateCustomer",
  1740. UpdateOrder = "UpdateOrder",
  1741. }
  1742. export enum SortOrder {
  1743. ASC = "ASC",
  1744. DESC = "DESC",
  1745. }
  1746. export interface AdministratorFilterParameter {
  1747. firstName?: StringOperators | null;
  1748. lastName?: StringOperators | null;
  1749. emailAddress?: StringOperators | null;
  1750. createdAt?: DateOperators | null;
  1751. updatedAt?: DateOperators | null;
  1752. }
  1753. export interface AdministratorListOptions {
  1754. take?: number | null;
  1755. skip?: number | null;
  1756. sort?: AdministratorSortParameter | null;
  1757. filter?: AdministratorFilterParameter | null;
  1758. }
  1759. export interface AdministratorSortParameter {
  1760. id?: SortOrder | null;
  1761. createdAt?: SortOrder | null;
  1762. updatedAt?: SortOrder | null;
  1763. firstName?: SortOrder | null;
  1764. lastName?: SortOrder | null;
  1765. emailAddress?: SortOrder | null;
  1766. }
  1767. export interface AssetFilterParameter {
  1768. name?: StringOperators | null;
  1769. description?: StringOperators | null;
  1770. type?: StringOperators | null;
  1771. createdAt?: DateOperators | null;
  1772. updatedAt?: DateOperators | null;
  1773. }
  1774. export interface AssetListOptions {
  1775. take?: number | null;
  1776. skip?: number | null;
  1777. sort?: AssetSortParameter | null;
  1778. filter?: AssetFilterParameter | null;
  1779. }
  1780. export interface AssetSortParameter {
  1781. id?: SortOrder | null;
  1782. createdAt?: SortOrder | null;
  1783. updatedAt?: SortOrder | null;
  1784. name?: SortOrder | null;
  1785. description?: SortOrder | null;
  1786. }
  1787. export interface BooleanOperators {
  1788. eq?: boolean | null;
  1789. }
  1790. export interface CreateAdministratorInput {
  1791. firstName: string;
  1792. lastName: string;
  1793. emailAddress: string;
  1794. password: string;
  1795. roleIds: string[];
  1796. }
  1797. export interface CreateAssetInput {
  1798. file: any;
  1799. }
  1800. export interface CreateFacetCustomFieldsInput {
  1801. searchable?: boolean | null;
  1802. }
  1803. export interface CreateFacetInput {
  1804. code: string;
  1805. translations: FacetTranslationInput[];
  1806. values?: CreateFacetValueWithFacetInput[] | null;
  1807. customFields?: CreateFacetCustomFieldsInput | null;
  1808. }
  1809. export interface CreateFacetValueCustomFieldsInput {
  1810. link?: string | null;
  1811. available?: boolean | null;
  1812. }
  1813. export interface CreateFacetValueInput {
  1814. facetId: string;
  1815. code: string;
  1816. translations: FacetValueTranslationInput[];
  1817. customFields?: CreateFacetValueCustomFieldsInput | null;
  1818. }
  1819. export interface CreateFacetValueWithFacetInput {
  1820. code: string;
  1821. translations: FacetValueTranslationInput[];
  1822. }
  1823. export interface CreateProductCustomFieldsInput {
  1824. infoUrl?: string | null;
  1825. downloadable?: boolean | null;
  1826. }
  1827. export interface CreateProductInput {
  1828. image?: string | null;
  1829. translations: ProductTranslationInput[];
  1830. optionGroupCodes?: string[] | null;
  1831. customFields?: CreateProductCustomFieldsInput | null;
  1832. }
  1833. export interface CreateProductOptionGroupInput {
  1834. code: string;
  1835. translations: ProductOptionGroupTranslationInput[];
  1836. options: CreateProductOptionInput[];
  1837. customFields?: any | null;
  1838. }
  1839. export interface CreateProductOptionInput {
  1840. code: string;
  1841. translations: ProductOptionGroupTranslationInput[];
  1842. customFields?: any | null;
  1843. }
  1844. export interface CreateRoleInput {
  1845. code: string;
  1846. description: string;
  1847. permissions: Permission[];
  1848. }
  1849. export interface DateOperators {
  1850. eq?: any | null;
  1851. before?: any | null;
  1852. after?: any | null;
  1853. between?: DateRange | null;
  1854. }
  1855. export interface DateRange {
  1856. start: any;
  1857. end: any;
  1858. }
  1859. export interface FacetFilterParameter {
  1860. name?: StringOperators | null;
  1861. code?: StringOperators | null;
  1862. createdAt?: DateOperators | null;
  1863. updatedAt?: DateOperators | null;
  1864. searchable?: BooleanOperators | null;
  1865. }
  1866. export interface FacetListOptions {
  1867. take?: number | null;
  1868. skip?: number | null;
  1869. sort?: FacetSortParameter | null;
  1870. filter?: FacetFilterParameter | null;
  1871. }
  1872. export interface FacetSortParameter {
  1873. id?: SortOrder | null;
  1874. createdAt?: SortOrder | null;
  1875. updatedAt?: SortOrder | null;
  1876. name?: SortOrder | null;
  1877. code?: SortOrder | null;
  1878. searchable?: SortOrder | null;
  1879. }
  1880. export interface FacetTranslationInput {
  1881. id?: string | null;
  1882. languageCode: LanguageCode;
  1883. name: string;
  1884. customFields?: any | null;
  1885. }
  1886. export interface FacetValueTranslationInput {
  1887. id?: string | null;
  1888. languageCode: LanguageCode;
  1889. name: string;
  1890. customFields?: any | null;
  1891. }
  1892. export interface ProductFilterParameter {
  1893. name?: StringOperators | null;
  1894. slug?: StringOperators | null;
  1895. description?: StringOperators | null;
  1896. createdAt?: DateOperators | null;
  1897. updatedAt?: DateOperators | null;
  1898. infoUrl?: StringOperators | null;
  1899. downloadable?: BooleanOperators | null;
  1900. nickname?: StringOperators | null;
  1901. }
  1902. export interface ProductListOptions {
  1903. take?: number | null;
  1904. skip?: number | null;
  1905. sort?: ProductSortParameter | null;
  1906. filter?: ProductFilterParameter | null;
  1907. }
  1908. export interface ProductOptionGroupTranslationInput {
  1909. id?: string | null;
  1910. languageCode: LanguageCode;
  1911. name: string;
  1912. customFields?: any | null;
  1913. }
  1914. export interface ProductSortParameter {
  1915. id?: SortOrder | null;
  1916. createdAt?: SortOrder | null;
  1917. updatedAt?: SortOrder | null;
  1918. name?: SortOrder | null;
  1919. slug?: SortOrder | null;
  1920. description?: SortOrder | null;
  1921. image?: SortOrder | null;
  1922. infoUrl?: SortOrder | null;
  1923. downloadable?: SortOrder | null;
  1924. nickname?: SortOrder | null;
  1925. }
  1926. export interface ProductTranslationCustomFieldsInput {
  1927. nickname?: string | null;
  1928. }
  1929. export interface ProductTranslationInput {
  1930. id?: string | null;
  1931. languageCode: LanguageCode;
  1932. name: string;
  1933. slug: string;
  1934. description: string;
  1935. customFields?: ProductTranslationCustomFieldsInput | null;
  1936. }
  1937. export interface ProductVariantTranslationInput {
  1938. id?: string | null;
  1939. languageCode: LanguageCode;
  1940. name: string;
  1941. customFields?: any | null;
  1942. }
  1943. export interface RoleFilterParameter {
  1944. code?: StringOperators | null;
  1945. description?: StringOperators | null;
  1946. createdAt?: DateOperators | null;
  1947. updatedAt?: DateOperators | null;
  1948. }
  1949. export interface RoleListOptions {
  1950. take?: number | null;
  1951. skip?: number | null;
  1952. sort?: RoleSortParameter | null;
  1953. filter?: RoleFilterParameter | null;
  1954. }
  1955. export interface RoleSortParameter {
  1956. id?: SortOrder | null;
  1957. createdAt?: SortOrder | null;
  1958. updatedAt?: SortOrder | null;
  1959. code?: SortOrder | null;
  1960. description?: SortOrder | null;
  1961. }
  1962. export interface StringOperators {
  1963. eq?: string | null;
  1964. contains?: string | null;
  1965. }
  1966. export interface UpdateAdministratorInput {
  1967. id: string;
  1968. firstName: string;
  1969. lastName: string;
  1970. emailAddress: string;
  1971. password?: string | null;
  1972. roleIds: string[];
  1973. }
  1974. export interface UpdateFacetCustomFieldsInput {
  1975. searchable?: boolean | null;
  1976. }
  1977. export interface UpdateFacetInput {
  1978. id: string;
  1979. code: string;
  1980. translations: FacetTranslationInput[];
  1981. customFields?: UpdateFacetCustomFieldsInput | null;
  1982. }
  1983. export interface UpdateFacetValueCustomFieldsInput {
  1984. link?: string | null;
  1985. available?: boolean | null;
  1986. }
  1987. export interface UpdateFacetValueInput {
  1988. id: string;
  1989. code: string;
  1990. translations: FacetValueTranslationInput[];
  1991. customFields?: UpdateFacetValueCustomFieldsInput | null;
  1992. }
  1993. export interface UpdateProductCustomFieldsInput {
  1994. infoUrl?: string | null;
  1995. downloadable?: boolean | null;
  1996. }
  1997. export interface UpdateProductInput {
  1998. id: string;
  1999. image?: string | null;
  2000. translations: ProductTranslationInput[];
  2001. optionGroupCodes?: string[] | null;
  2002. customFields?: UpdateProductCustomFieldsInput | null;
  2003. }
  2004. export interface UpdateProductVariantInput {
  2005. id: string;
  2006. translations: ProductVariantTranslationInput[];
  2007. sku: string;
  2008. image?: string | null;
  2009. price: number;
  2010. customFields?: any | null;
  2011. }
  2012. export interface UpdateRoleInput {
  2013. id: string;
  2014. code: string;
  2015. description: string;
  2016. permissions: Permission[];
  2017. }
  2018. //==============================================================
  2019. // END Enums and Input Objects
  2020. //==============================================================