generated-types.ts 59 KB

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