generated-types.ts 58 KB

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