generated-types.ts 59 KB

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