generated-types.ts 59 KB

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