generated-types.ts 58 KB

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