generated-types.ts 59 KB

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