generated-types.ts 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820
  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: string[];
  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 | null;
  23. lastName: string | null;
  24. emailAddress: string | null;
  25. user: GetAdministrators_administrators_items_user | null;
  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 mutation operation: AttemptLogin
  42. // ====================================================
  43. export interface AttemptLogin_login_user {
  44. __typename: "CurrentUser";
  45. id: string;
  46. identifier: string;
  47. channelTokens: string[];
  48. roles: string[];
  49. }
  50. export interface AttemptLogin_login {
  51. __typename: "LoginResult";
  52. user: AttemptLogin_login_user;
  53. authToken: string;
  54. }
  55. export interface AttemptLogin {
  56. login: AttemptLogin_login;
  57. }
  58. export interface AttemptLoginVariables {
  59. username: string;
  60. password: string;
  61. }
  62. /* tslint:disable */
  63. // This file was automatically generated and should not be edited.
  64. // ====================================================
  65. // GraphQL query operation: GetCurrentUser
  66. // ====================================================
  67. export interface GetCurrentUser_me {
  68. __typename: "CurrentUser";
  69. id: string;
  70. identifier: string;
  71. channelTokens: string[];
  72. roles: string[];
  73. }
  74. export interface GetCurrentUser {
  75. me: GetCurrentUser_me | null;
  76. }
  77. /* tslint:disable */
  78. // This file was automatically generated and should not be edited.
  79. // ====================================================
  80. // GraphQL mutation operation: CreateFacet
  81. // ====================================================
  82. export interface CreateFacet_createFacet_translations {
  83. __typename: "FacetTranslation";
  84. id: string;
  85. languageCode: LanguageCode;
  86. name: string;
  87. }
  88. export interface CreateFacet_createFacet_values_translations {
  89. __typename: "FacetValueTranslation";
  90. id: string;
  91. languageCode: LanguageCode;
  92. name: string;
  93. }
  94. export interface CreateFacet_createFacet_values {
  95. __typename: "FacetValue";
  96. id: string;
  97. languageCode: LanguageCode | null;
  98. code: string;
  99. name: string;
  100. translations: CreateFacet_createFacet_values_translations[];
  101. }
  102. export interface CreateFacet_createFacet {
  103. __typename: "Facet";
  104. id: string;
  105. languageCode: LanguageCode;
  106. code: string;
  107. name: string;
  108. translations: CreateFacet_createFacet_translations[];
  109. values: CreateFacet_createFacet_values[];
  110. }
  111. export interface CreateFacet {
  112. /**
  113. * Create a new Facet
  114. */
  115. createFacet: CreateFacet_createFacet;
  116. }
  117. export interface CreateFacetVariables {
  118. input: CreateFacetInput;
  119. }
  120. /* tslint:disable */
  121. // This file was automatically generated and should not be edited.
  122. // ====================================================
  123. // GraphQL mutation operation: UpdateFacet
  124. // ====================================================
  125. export interface UpdateFacet_updateFacet_translations {
  126. __typename: "FacetTranslation";
  127. id: string;
  128. languageCode: LanguageCode;
  129. name: string;
  130. }
  131. export interface UpdateFacet_updateFacet_values_translations {
  132. __typename: "FacetValueTranslation";
  133. id: string;
  134. languageCode: LanguageCode;
  135. name: string;
  136. }
  137. export interface UpdateFacet_updateFacet_values {
  138. __typename: "FacetValue";
  139. id: string;
  140. languageCode: LanguageCode | null;
  141. code: string;
  142. name: string;
  143. translations: UpdateFacet_updateFacet_values_translations[];
  144. }
  145. export interface UpdateFacet_updateFacet {
  146. __typename: "Facet";
  147. id: string;
  148. languageCode: LanguageCode;
  149. code: string;
  150. name: string;
  151. translations: UpdateFacet_updateFacet_translations[];
  152. values: UpdateFacet_updateFacet_values[];
  153. }
  154. export interface UpdateFacet {
  155. /**
  156. * Update an existing Facet
  157. */
  158. updateFacet: UpdateFacet_updateFacet;
  159. }
  160. export interface UpdateFacetVariables {
  161. input: UpdateFacetInput;
  162. }
  163. /* tslint:disable */
  164. // This file was automatically generated and should not be edited.
  165. // ====================================================
  166. // GraphQL mutation operation: CreateFacetValues
  167. // ====================================================
  168. export interface CreateFacetValues_createFacetValues_translations {
  169. __typename: "FacetValueTranslation";
  170. id: string;
  171. languageCode: LanguageCode;
  172. name: string;
  173. }
  174. export interface CreateFacetValues_createFacetValues {
  175. __typename: "FacetValue";
  176. id: string;
  177. languageCode: LanguageCode | null;
  178. code: string;
  179. name: string;
  180. translations: CreateFacetValues_createFacetValues_translations[];
  181. }
  182. export interface CreateFacetValues {
  183. /**
  184. * Create one or more FacetValues
  185. */
  186. createFacetValues: CreateFacetValues_createFacetValues[];
  187. }
  188. export interface CreateFacetValuesVariables {
  189. input: CreateFacetValueInput[];
  190. }
  191. /* tslint:disable */
  192. // This file was automatically generated and should not be edited.
  193. // ====================================================
  194. // GraphQL mutation operation: UpdateFacetValues
  195. // ====================================================
  196. export interface UpdateFacetValues_updateFacetValues_translations {
  197. __typename: "FacetValueTranslation";
  198. id: string;
  199. languageCode: LanguageCode;
  200. name: string;
  201. }
  202. export interface UpdateFacetValues_updateFacetValues {
  203. __typename: "FacetValue";
  204. id: string;
  205. languageCode: LanguageCode | null;
  206. code: string;
  207. name: string;
  208. translations: UpdateFacetValues_updateFacetValues_translations[];
  209. }
  210. export interface UpdateFacetValues {
  211. /**
  212. * Update one or more FacetValues
  213. */
  214. updateFacetValues: UpdateFacetValues_updateFacetValues[];
  215. }
  216. export interface UpdateFacetValuesVariables {
  217. input: UpdateFacetValueInput[];
  218. }
  219. /* tslint:disable */
  220. // This file was automatically generated and should not be edited.
  221. // ====================================================
  222. // GraphQL query operation: GetFacetList
  223. // ====================================================
  224. export interface GetFacetList_facets_items_translations {
  225. __typename: "FacetTranslation";
  226. id: string;
  227. languageCode: LanguageCode;
  228. name: string;
  229. }
  230. export interface GetFacetList_facets_items_values_translations {
  231. __typename: "FacetValueTranslation";
  232. id: string;
  233. languageCode: LanguageCode;
  234. name: string;
  235. }
  236. export interface GetFacetList_facets_items_values {
  237. __typename: "FacetValue";
  238. id: string;
  239. languageCode: LanguageCode | null;
  240. code: string;
  241. name: string;
  242. translations: GetFacetList_facets_items_values_translations[];
  243. }
  244. export interface GetFacetList_facets_items {
  245. __typename: "Facet";
  246. id: string;
  247. languageCode: LanguageCode;
  248. code: string;
  249. name: string;
  250. translations: GetFacetList_facets_items_translations[];
  251. values: GetFacetList_facets_items_values[];
  252. }
  253. export interface GetFacetList_facets {
  254. __typename: "FacetList";
  255. items: GetFacetList_facets_items[];
  256. totalItems: number;
  257. }
  258. export interface GetFacetList {
  259. facets: GetFacetList_facets;
  260. }
  261. export interface GetFacetListVariables {
  262. options?: FacetListOptions | null;
  263. languageCode?: LanguageCode | null;
  264. }
  265. /* tslint:disable */
  266. // This file was automatically generated and should not be edited.
  267. // ====================================================
  268. // GraphQL query operation: GetFacetWithValues
  269. // ====================================================
  270. export interface GetFacetWithValues_facet_translations {
  271. __typename: "FacetTranslation";
  272. id: string;
  273. languageCode: LanguageCode;
  274. name: string;
  275. }
  276. export interface GetFacetWithValues_facet_values_translations {
  277. __typename: "FacetValueTranslation";
  278. id: string;
  279. languageCode: LanguageCode;
  280. name: string;
  281. }
  282. export interface GetFacetWithValues_facet_values {
  283. __typename: "FacetValue";
  284. id: string;
  285. languageCode: LanguageCode | null;
  286. code: string;
  287. name: string;
  288. translations: GetFacetWithValues_facet_values_translations[];
  289. }
  290. export interface GetFacetWithValues_facet {
  291. __typename: "Facet";
  292. id: string;
  293. languageCode: LanguageCode;
  294. code: string;
  295. name: string;
  296. translations: GetFacetWithValues_facet_translations[];
  297. values: GetFacetWithValues_facet_values[];
  298. }
  299. export interface GetFacetWithValues {
  300. facet: GetFacetWithValues_facet | null;
  301. }
  302. export interface GetFacetWithValuesVariables {
  303. id: string;
  304. languageCode?: LanguageCode | null;
  305. }
  306. /* tslint:disable */
  307. // This file was automatically generated and should not be edited.
  308. // ====================================================
  309. // GraphQL mutation operation: RequestStarted
  310. // ====================================================
  311. export interface RequestStarted {
  312. requestStarted: number;
  313. }
  314. /* tslint:disable */
  315. // This file was automatically generated and should not be edited.
  316. // ====================================================
  317. // GraphQL mutation operation: RequestCompleted
  318. // ====================================================
  319. export interface RequestCompleted {
  320. requestCompleted: number;
  321. }
  322. /* tslint:disable */
  323. // This file was automatically generated and should not be edited.
  324. // ====================================================
  325. // GraphQL mutation operation: SetAsLoggedIn
  326. // ====================================================
  327. export interface SetAsLoggedIn_setAsLoggedIn {
  328. __typename: "UserStatus";
  329. username: string;
  330. isLoggedIn: boolean;
  331. loginTime: string;
  332. }
  333. export interface SetAsLoggedIn {
  334. setAsLoggedIn: SetAsLoggedIn_setAsLoggedIn | null;
  335. }
  336. export interface SetAsLoggedInVariables {
  337. username: string;
  338. loginTime: string;
  339. }
  340. /* tslint:disable */
  341. // This file was automatically generated and should not be edited.
  342. // ====================================================
  343. // GraphQL mutation operation: SetAsLoggedOut
  344. // ====================================================
  345. export interface SetAsLoggedOut_setAsLoggedOut {
  346. __typename: "UserStatus";
  347. username: string;
  348. isLoggedIn: boolean;
  349. loginTime: string;
  350. }
  351. export interface SetAsLoggedOut {
  352. setAsLoggedOut: SetAsLoggedOut_setAsLoggedOut | null;
  353. }
  354. /* tslint:disable */
  355. // This file was automatically generated and should not be edited.
  356. // ====================================================
  357. // GraphQL mutation operation: SetUiLanguage
  358. // ====================================================
  359. export interface SetUiLanguage {
  360. setUiLanguage: LanguageCode | null;
  361. }
  362. export interface SetUiLanguageVariables {
  363. languageCode: LanguageCode;
  364. }
  365. /* tslint:disable */
  366. // This file was automatically generated and should not be edited.
  367. // ====================================================
  368. // GraphQL query operation: GetNetworkStatus
  369. // ====================================================
  370. export interface GetNetworkStatus_networkStatus {
  371. __typename: "NetworkStatus";
  372. inFlightRequests: number;
  373. }
  374. export interface GetNetworkStatus {
  375. networkStatus: GetNetworkStatus_networkStatus;
  376. }
  377. /* tslint:disable */
  378. // This file was automatically generated and should not be edited.
  379. // ====================================================
  380. // GraphQL query operation: GetUserStatus
  381. // ====================================================
  382. export interface GetUserStatus_userStatus {
  383. __typename: "UserStatus";
  384. username: string;
  385. isLoggedIn: boolean;
  386. loginTime: string;
  387. }
  388. export interface GetUserStatus {
  389. userStatus: GetUserStatus_userStatus;
  390. }
  391. /* tslint:disable */
  392. // This file was automatically generated and should not be edited.
  393. // ====================================================
  394. // GraphQL query operation: GetUiState
  395. // ====================================================
  396. export interface GetUiState_uiState {
  397. __typename: "UiState";
  398. language: LanguageCode;
  399. }
  400. export interface GetUiState {
  401. uiState: GetUiState_uiState;
  402. }
  403. /* tslint:disable */
  404. // This file was automatically generated and should not be edited.
  405. // ====================================================
  406. // GraphQL mutation operation: UpdateProduct
  407. // ====================================================
  408. export interface UpdateProduct_updateProduct_translations {
  409. __typename: "ProductTranslation";
  410. languageCode: LanguageCode;
  411. name: string;
  412. slug: string;
  413. description: string;
  414. }
  415. export interface UpdateProduct_updateProduct_optionGroups {
  416. __typename: "ProductOptionGroup";
  417. id: string;
  418. languageCode: LanguageCode;
  419. code: string;
  420. name: string;
  421. }
  422. export interface UpdateProduct_updateProduct_variants_options {
  423. __typename: "ProductOption";
  424. id: string;
  425. code: string | null;
  426. languageCode: LanguageCode | null;
  427. name: string | null;
  428. }
  429. export interface UpdateProduct_updateProduct_variants_facetValues {
  430. __typename: "FacetValue";
  431. id: string;
  432. code: string;
  433. name: string;
  434. }
  435. export interface UpdateProduct_updateProduct_variants_translations {
  436. __typename: "ProductVariantTranslation";
  437. id: string;
  438. languageCode: LanguageCode;
  439. name: string;
  440. }
  441. export interface UpdateProduct_updateProduct_variants {
  442. __typename: "ProductVariant";
  443. id: string;
  444. languageCode: LanguageCode;
  445. name: string;
  446. price: number;
  447. sku: string;
  448. image: string | null;
  449. options: UpdateProduct_updateProduct_variants_options[];
  450. facetValues: UpdateProduct_updateProduct_variants_facetValues[];
  451. translations: UpdateProduct_updateProduct_variants_translations[];
  452. }
  453. export interface UpdateProduct_updateProduct {
  454. __typename: "Product";
  455. id: string;
  456. languageCode: LanguageCode;
  457. name: string;
  458. slug: string;
  459. image: string;
  460. description: string;
  461. translations: UpdateProduct_updateProduct_translations[];
  462. optionGroups: UpdateProduct_updateProduct_optionGroups[];
  463. variants: UpdateProduct_updateProduct_variants[];
  464. }
  465. export interface UpdateProduct {
  466. /**
  467. * Update an existing Product
  468. */
  469. updateProduct: UpdateProduct_updateProduct;
  470. }
  471. export interface UpdateProductVariables {
  472. input: UpdateProductInput;
  473. }
  474. /* tslint:disable */
  475. // This file was automatically generated and should not be edited.
  476. // ====================================================
  477. // GraphQL mutation operation: CreateProduct
  478. // ====================================================
  479. export interface CreateProduct_createProduct_translations {
  480. __typename: "ProductTranslation";
  481. languageCode: LanguageCode;
  482. name: string;
  483. slug: string;
  484. description: string;
  485. }
  486. export interface CreateProduct_createProduct_optionGroups {
  487. __typename: "ProductOptionGroup";
  488. id: string;
  489. languageCode: LanguageCode;
  490. code: string;
  491. name: string;
  492. }
  493. export interface CreateProduct_createProduct_variants_options {
  494. __typename: "ProductOption";
  495. id: string;
  496. code: string | null;
  497. languageCode: LanguageCode | null;
  498. name: string | null;
  499. }
  500. export interface CreateProduct_createProduct_variants_facetValues {
  501. __typename: "FacetValue";
  502. id: string;
  503. code: string;
  504. name: string;
  505. }
  506. export interface CreateProduct_createProduct_variants_translations {
  507. __typename: "ProductVariantTranslation";
  508. id: string;
  509. languageCode: LanguageCode;
  510. name: string;
  511. }
  512. export interface CreateProduct_createProduct_variants {
  513. __typename: "ProductVariant";
  514. id: string;
  515. languageCode: LanguageCode;
  516. name: string;
  517. price: number;
  518. sku: string;
  519. image: string | null;
  520. options: CreateProduct_createProduct_variants_options[];
  521. facetValues: CreateProduct_createProduct_variants_facetValues[];
  522. translations: CreateProduct_createProduct_variants_translations[];
  523. }
  524. export interface CreateProduct_createProduct {
  525. __typename: "Product";
  526. id: string;
  527. languageCode: LanguageCode;
  528. name: string;
  529. slug: string;
  530. image: string;
  531. description: string;
  532. translations: CreateProduct_createProduct_translations[];
  533. optionGroups: CreateProduct_createProduct_optionGroups[];
  534. variants: CreateProduct_createProduct_variants[];
  535. }
  536. export interface CreateProduct {
  537. /**
  538. * Create a new Product
  539. */
  540. createProduct: CreateProduct_createProduct;
  541. }
  542. export interface CreateProductVariables {
  543. input: CreateProductInput;
  544. }
  545. /* tslint:disable */
  546. // This file was automatically generated and should not be edited.
  547. // ====================================================
  548. // GraphQL mutation operation: GenerateProductVariants
  549. // ====================================================
  550. export interface GenerateProductVariants_generateVariantsForProduct_translations {
  551. __typename: "ProductTranslation";
  552. languageCode: LanguageCode;
  553. name: string;
  554. slug: string;
  555. description: string;
  556. }
  557. export interface GenerateProductVariants_generateVariantsForProduct_optionGroups {
  558. __typename: "ProductOptionGroup";
  559. id: string;
  560. languageCode: LanguageCode;
  561. code: string;
  562. name: string;
  563. }
  564. export interface GenerateProductVariants_generateVariantsForProduct_variants_options {
  565. __typename: "ProductOption";
  566. id: string;
  567. code: string | null;
  568. languageCode: LanguageCode | null;
  569. name: string | null;
  570. }
  571. export interface GenerateProductVariants_generateVariantsForProduct_variants_facetValues {
  572. __typename: "FacetValue";
  573. id: string;
  574. code: string;
  575. name: string;
  576. }
  577. export interface GenerateProductVariants_generateVariantsForProduct_variants_translations {
  578. __typename: "ProductVariantTranslation";
  579. id: string;
  580. languageCode: LanguageCode;
  581. name: string;
  582. }
  583. export interface GenerateProductVariants_generateVariantsForProduct_variants {
  584. __typename: "ProductVariant";
  585. id: string;
  586. languageCode: LanguageCode;
  587. name: string;
  588. price: number;
  589. sku: string;
  590. image: string | null;
  591. options: GenerateProductVariants_generateVariantsForProduct_variants_options[];
  592. facetValues: GenerateProductVariants_generateVariantsForProduct_variants_facetValues[];
  593. translations: GenerateProductVariants_generateVariantsForProduct_variants_translations[];
  594. }
  595. export interface GenerateProductVariants_generateVariantsForProduct {
  596. __typename: "Product";
  597. id: string;
  598. languageCode: LanguageCode;
  599. name: string;
  600. slug: string;
  601. image: string;
  602. description: string;
  603. translations: GenerateProductVariants_generateVariantsForProduct_translations[];
  604. optionGroups: GenerateProductVariants_generateVariantsForProduct_optionGroups[];
  605. variants: GenerateProductVariants_generateVariantsForProduct_variants[];
  606. }
  607. export interface GenerateProductVariants {
  608. /**
  609. * Create a set of ProductVariants based on the OptionGroups assigned to the given Product
  610. */
  611. generateVariantsForProduct: GenerateProductVariants_generateVariantsForProduct;
  612. }
  613. export interface GenerateProductVariantsVariables {
  614. productId: string;
  615. defaultPrice?: number | null;
  616. defaultSku?: string | null;
  617. }
  618. /* tslint:disable */
  619. // This file was automatically generated and should not be edited.
  620. // ====================================================
  621. // GraphQL mutation operation: UpdateProductVariants
  622. // ====================================================
  623. export interface UpdateProductVariants_updateProductVariants_options {
  624. __typename: "ProductOption";
  625. id: string;
  626. code: string | null;
  627. languageCode: LanguageCode | null;
  628. name: string | null;
  629. }
  630. export interface UpdateProductVariants_updateProductVariants_facetValues {
  631. __typename: "FacetValue";
  632. id: string;
  633. code: string;
  634. name: string;
  635. }
  636. export interface UpdateProductVariants_updateProductVariants_translations {
  637. __typename: "ProductVariantTranslation";
  638. id: string;
  639. languageCode: LanguageCode;
  640. name: string;
  641. }
  642. export interface UpdateProductVariants_updateProductVariants {
  643. __typename: "ProductVariant";
  644. id: string;
  645. languageCode: LanguageCode;
  646. name: string;
  647. price: number;
  648. sku: string;
  649. image: string | null;
  650. options: UpdateProductVariants_updateProductVariants_options[];
  651. facetValues: UpdateProductVariants_updateProductVariants_facetValues[];
  652. translations: UpdateProductVariants_updateProductVariants_translations[];
  653. }
  654. export interface UpdateProductVariants {
  655. /**
  656. * Update existing ProductVariants
  657. */
  658. updateProductVariants: (UpdateProductVariants_updateProductVariants | null)[];
  659. }
  660. export interface UpdateProductVariantsVariables {
  661. input: UpdateProductVariantInput[];
  662. }
  663. /* tslint:disable */
  664. // This file was automatically generated and should not be edited.
  665. // ====================================================
  666. // GraphQL mutation operation: CreateProductOptionGroup
  667. // ====================================================
  668. export interface CreateProductOptionGroup_createProductOptionGroup_translations {
  669. __typename: "ProductOptionGroupTranslation";
  670. name: string;
  671. }
  672. export interface CreateProductOptionGroup_createProductOptionGroup_options_translations {
  673. __typename: "ProductOptionTranslation";
  674. name: string;
  675. }
  676. export interface CreateProductOptionGroup_createProductOptionGroup_options {
  677. __typename: "ProductOption";
  678. id: string;
  679. languageCode: LanguageCode | null;
  680. name: string | null;
  681. code: string | null;
  682. translations: CreateProductOptionGroup_createProductOptionGroup_options_translations[];
  683. }
  684. export interface CreateProductOptionGroup_createProductOptionGroup {
  685. __typename: "ProductOptionGroup";
  686. id: string;
  687. languageCode: LanguageCode;
  688. code: string;
  689. name: string;
  690. translations: CreateProductOptionGroup_createProductOptionGroup_translations[];
  691. options: CreateProductOptionGroup_createProductOptionGroup_options[];
  692. }
  693. export interface CreateProductOptionGroup {
  694. /**
  695. * Create a new ProductOptionGroup
  696. */
  697. createProductOptionGroup: CreateProductOptionGroup_createProductOptionGroup;
  698. }
  699. export interface CreateProductOptionGroupVariables {
  700. input: CreateProductOptionGroupInput;
  701. }
  702. /* tslint:disable */
  703. // This file was automatically generated and should not be edited.
  704. // ====================================================
  705. // GraphQL mutation operation: AddOptionGroupToProduct
  706. // ====================================================
  707. export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options {
  708. __typename: "ProductOption";
  709. id: string;
  710. code: string | null;
  711. }
  712. export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups {
  713. __typename: "ProductOptionGroup";
  714. id: string;
  715. code: string;
  716. options: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options[];
  717. }
  718. export interface AddOptionGroupToProduct_addOptionGroupToProduct {
  719. __typename: "Product";
  720. id: string;
  721. optionGroups: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups[];
  722. }
  723. export interface AddOptionGroupToProduct {
  724. /**
  725. * Add an OptionGroup to a Product
  726. */
  727. addOptionGroupToProduct: AddOptionGroupToProduct_addOptionGroupToProduct;
  728. }
  729. export interface AddOptionGroupToProductVariables {
  730. productId: string;
  731. optionGroupId: string;
  732. }
  733. /* tslint:disable */
  734. // This file was automatically generated and should not be edited.
  735. // ====================================================
  736. // GraphQL mutation operation: RemoveOptionGroupFromProduct
  737. // ====================================================
  738. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups_options {
  739. __typename: "ProductOption";
  740. id: string;
  741. code: string | null;
  742. }
  743. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups {
  744. __typename: "ProductOptionGroup";
  745. id: string;
  746. code: string;
  747. options: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups_options[];
  748. }
  749. export interface RemoveOptionGroupFromProduct_removeOptionGroupFromProduct {
  750. __typename: "Product";
  751. id: string;
  752. optionGroups: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct_optionGroups[];
  753. }
  754. export interface RemoveOptionGroupFromProduct {
  755. /**
  756. * Remove an OptionGroup from a Product
  757. */
  758. removeOptionGroupFromProduct: RemoveOptionGroupFromProduct_removeOptionGroupFromProduct;
  759. }
  760. export interface RemoveOptionGroupFromProductVariables {
  761. productId: string;
  762. optionGroupId: string;
  763. }
  764. /* tslint:disable */
  765. // This file was automatically generated and should not be edited.
  766. // ====================================================
  767. // GraphQL mutation operation: ApplyFacetValuesToProductVariants
  768. // ====================================================
  769. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_options {
  770. __typename: "ProductOption";
  771. id: string;
  772. code: string | null;
  773. languageCode: LanguageCode | null;
  774. name: string | null;
  775. }
  776. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_facetValues {
  777. __typename: "FacetValue";
  778. id: string;
  779. code: string;
  780. name: string;
  781. }
  782. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_translations {
  783. __typename: "ProductVariantTranslation";
  784. id: string;
  785. languageCode: LanguageCode;
  786. name: string;
  787. }
  788. export interface ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants {
  789. __typename: "ProductVariant";
  790. id: string;
  791. languageCode: LanguageCode;
  792. name: string;
  793. price: number;
  794. sku: string;
  795. image: string | null;
  796. options: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_options[];
  797. facetValues: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_facetValues[];
  798. translations: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants_translations[];
  799. }
  800. export interface ApplyFacetValuesToProductVariants {
  801. /**
  802. * Applies a FacetValue to the given ProductVariants
  803. */
  804. applyFacetValuesToProductVariants: ApplyFacetValuesToProductVariants_applyFacetValuesToProductVariants[];
  805. }
  806. export interface ApplyFacetValuesToProductVariantsVariables {
  807. facetValueIds: string[];
  808. productVariantIds: string[];
  809. }
  810. /* tslint:disable */
  811. // This file was automatically generated and should not be edited.
  812. // ====================================================
  813. // GraphQL query operation: GetProductWithVariants
  814. // ====================================================
  815. export interface GetProductWithVariants_product_translations {
  816. __typename: "ProductTranslation";
  817. languageCode: LanguageCode;
  818. name: string;
  819. slug: string;
  820. description: string;
  821. }
  822. export interface GetProductWithVariants_product_optionGroups {
  823. __typename: "ProductOptionGroup";
  824. id: string;
  825. languageCode: LanguageCode;
  826. code: string;
  827. name: string;
  828. }
  829. export interface GetProductWithVariants_product_variants_options {
  830. __typename: "ProductOption";
  831. id: string;
  832. code: string | null;
  833. languageCode: LanguageCode | null;
  834. name: string | null;
  835. }
  836. export interface GetProductWithVariants_product_variants_facetValues {
  837. __typename: "FacetValue";
  838. id: string;
  839. code: string;
  840. name: string;
  841. }
  842. export interface GetProductWithVariants_product_variants_translations {
  843. __typename: "ProductVariantTranslation";
  844. id: string;
  845. languageCode: LanguageCode;
  846. name: string;
  847. }
  848. export interface GetProductWithVariants_product_variants {
  849. __typename: "ProductVariant";
  850. id: string;
  851. languageCode: LanguageCode;
  852. name: string;
  853. price: number;
  854. sku: string;
  855. image: string | null;
  856. options: GetProductWithVariants_product_variants_options[];
  857. facetValues: GetProductWithVariants_product_variants_facetValues[];
  858. translations: GetProductWithVariants_product_variants_translations[];
  859. }
  860. export interface GetProductWithVariants_product {
  861. __typename: "Product";
  862. id: string;
  863. languageCode: LanguageCode;
  864. name: string;
  865. slug: string;
  866. image: string;
  867. description: string;
  868. translations: GetProductWithVariants_product_translations[];
  869. optionGroups: GetProductWithVariants_product_optionGroups[];
  870. variants: GetProductWithVariants_product_variants[];
  871. }
  872. export interface GetProductWithVariants {
  873. product: GetProductWithVariants_product | null;
  874. }
  875. export interface GetProductWithVariantsVariables {
  876. id: string;
  877. languageCode?: LanguageCode | null;
  878. }
  879. /* tslint:disable */
  880. // This file was automatically generated and should not be edited.
  881. // ====================================================
  882. // GraphQL query operation: GetProductList
  883. // ====================================================
  884. export interface GetProductList_products_items {
  885. __typename: "Product";
  886. id: string;
  887. languageCode: LanguageCode;
  888. name: string;
  889. slug: string;
  890. description: string;
  891. }
  892. export interface GetProductList_products {
  893. __typename: "ProductList";
  894. items: GetProductList_products_items[];
  895. totalItems: number;
  896. }
  897. export interface GetProductList {
  898. products: GetProductList_products;
  899. }
  900. export interface GetProductListVariables {
  901. options?: ProductListOptions | null;
  902. languageCode?: LanguageCode | null;
  903. }
  904. /* tslint:disable */
  905. // This file was automatically generated and should not be edited.
  906. // ====================================================
  907. // GraphQL query operation: GetProductOptionGroups
  908. // ====================================================
  909. export interface GetProductOptionGroups_productOptionGroups_options {
  910. __typename: "ProductOption";
  911. id: string;
  912. languageCode: LanguageCode | null;
  913. code: string | null;
  914. name: string | null;
  915. }
  916. export interface GetProductOptionGroups_productOptionGroups {
  917. __typename: "ProductOptionGroup";
  918. id: string;
  919. languageCode: LanguageCode;
  920. code: string;
  921. name: string;
  922. options: GetProductOptionGroups_productOptionGroups_options[];
  923. }
  924. export interface GetProductOptionGroups {
  925. productOptionGroups: GetProductOptionGroups_productOptionGroups[];
  926. }
  927. export interface GetProductOptionGroupsVariables {
  928. filterTerm?: string | null;
  929. languageCode?: LanguageCode | null;
  930. }
  931. /* tslint:disable */
  932. // This file was automatically generated and should not be edited.
  933. // ====================================================
  934. // GraphQL fragment: Administrator
  935. // ====================================================
  936. export interface Administrator_user_roles {
  937. __typename: "Role";
  938. code: string;
  939. description: string;
  940. permissions: string[];
  941. }
  942. export interface Administrator_user {
  943. __typename: "User";
  944. id: string;
  945. identifier: string;
  946. lastLogin: string | null;
  947. roles: Administrator_user_roles[];
  948. }
  949. export interface Administrator {
  950. __typename: "Administrator";
  951. id: string;
  952. firstName: string | null;
  953. lastName: string | null;
  954. emailAddress: string | null;
  955. user: Administrator_user | null;
  956. }
  957. /* tslint:disable */
  958. // This file was automatically generated and should not be edited.
  959. // ====================================================
  960. // GraphQL fragment: CurrentUser
  961. // ====================================================
  962. export interface CurrentUser {
  963. __typename: "CurrentUser";
  964. id: string;
  965. identifier: string;
  966. channelTokens: string[];
  967. roles: string[];
  968. }
  969. /* tslint:disable */
  970. // This file was automatically generated and should not be edited.
  971. // ====================================================
  972. // GraphQL fragment: FacetValue
  973. // ====================================================
  974. export interface FacetValue_translations {
  975. __typename: "FacetValueTranslation";
  976. id: string;
  977. languageCode: LanguageCode;
  978. name: string;
  979. }
  980. export interface FacetValue {
  981. __typename: "FacetValue";
  982. id: string;
  983. languageCode: LanguageCode | null;
  984. code: string;
  985. name: string;
  986. translations: FacetValue_translations[];
  987. }
  988. /* tslint:disable */
  989. // This file was automatically generated and should not be edited.
  990. // ====================================================
  991. // GraphQL fragment: FacetWithValues
  992. // ====================================================
  993. export interface FacetWithValues_translations {
  994. __typename: "FacetTranslation";
  995. id: string;
  996. languageCode: LanguageCode;
  997. name: string;
  998. }
  999. export interface FacetWithValues_values_translations {
  1000. __typename: "FacetValueTranslation";
  1001. id: string;
  1002. languageCode: LanguageCode;
  1003. name: string;
  1004. }
  1005. export interface FacetWithValues_values {
  1006. __typename: "FacetValue";
  1007. id: string;
  1008. languageCode: LanguageCode | null;
  1009. code: string;
  1010. name: string;
  1011. translations: FacetWithValues_values_translations[];
  1012. }
  1013. export interface FacetWithValues {
  1014. __typename: "Facet";
  1015. id: string;
  1016. languageCode: LanguageCode;
  1017. code: string;
  1018. name: string;
  1019. translations: FacetWithValues_translations[];
  1020. values: FacetWithValues_values[];
  1021. }
  1022. /* tslint:disable */
  1023. // This file was automatically generated and should not be edited.
  1024. // ====================================================
  1025. // GraphQL fragment: ProductVariant
  1026. // ====================================================
  1027. export interface ProductVariant_options {
  1028. __typename: "ProductOption";
  1029. id: string;
  1030. code: string | null;
  1031. languageCode: LanguageCode | null;
  1032. name: string | null;
  1033. }
  1034. export interface ProductVariant_facetValues {
  1035. __typename: "FacetValue";
  1036. id: string;
  1037. code: string;
  1038. name: string;
  1039. }
  1040. export interface ProductVariant_translations {
  1041. __typename: "ProductVariantTranslation";
  1042. id: string;
  1043. languageCode: LanguageCode;
  1044. name: string;
  1045. }
  1046. export interface ProductVariant {
  1047. __typename: "ProductVariant";
  1048. id: string;
  1049. languageCode: LanguageCode;
  1050. name: string;
  1051. price: number;
  1052. sku: string;
  1053. image: string | null;
  1054. options: ProductVariant_options[];
  1055. facetValues: ProductVariant_facetValues[];
  1056. translations: ProductVariant_translations[];
  1057. }
  1058. /* tslint:disable */
  1059. // This file was automatically generated and should not be edited.
  1060. // ====================================================
  1061. // GraphQL fragment: ProductWithVariants
  1062. // ====================================================
  1063. export interface ProductWithVariants_translations {
  1064. __typename: "ProductTranslation";
  1065. languageCode: LanguageCode;
  1066. name: string;
  1067. slug: string;
  1068. description: string;
  1069. }
  1070. export interface ProductWithVariants_optionGroups {
  1071. __typename: "ProductOptionGroup";
  1072. id: string;
  1073. languageCode: LanguageCode;
  1074. code: string;
  1075. name: string;
  1076. }
  1077. export interface ProductWithVariants_variants_options {
  1078. __typename: "ProductOption";
  1079. id: string;
  1080. code: string | null;
  1081. languageCode: LanguageCode | null;
  1082. name: string | null;
  1083. }
  1084. export interface ProductWithVariants_variants_facetValues {
  1085. __typename: "FacetValue";
  1086. id: string;
  1087. code: string;
  1088. name: string;
  1089. }
  1090. export interface ProductWithVariants_variants_translations {
  1091. __typename: "ProductVariantTranslation";
  1092. id: string;
  1093. languageCode: LanguageCode;
  1094. name: string;
  1095. }
  1096. export interface ProductWithVariants_variants {
  1097. __typename: "ProductVariant";
  1098. id: string;
  1099. languageCode: LanguageCode;
  1100. name: string;
  1101. price: number;
  1102. sku: string;
  1103. image: string | null;
  1104. options: ProductWithVariants_variants_options[];
  1105. facetValues: ProductWithVariants_variants_facetValues[];
  1106. translations: ProductWithVariants_variants_translations[];
  1107. }
  1108. export interface ProductWithVariants {
  1109. __typename: "Product";
  1110. id: string;
  1111. languageCode: LanguageCode;
  1112. name: string;
  1113. slug: string;
  1114. image: string;
  1115. description: string;
  1116. translations: ProductWithVariants_translations[];
  1117. optionGroups: ProductWithVariants_optionGroups[];
  1118. variants: ProductWithVariants_variants[];
  1119. }
  1120. /* tslint:disable */
  1121. // This file was automatically generated and should not be edited.
  1122. // ====================================================
  1123. // GraphQL fragment: ProductOptionGroup
  1124. // ====================================================
  1125. export interface ProductOptionGroup_translations {
  1126. __typename: "ProductOptionGroupTranslation";
  1127. name: string;
  1128. }
  1129. export interface ProductOptionGroup_options_translations {
  1130. __typename: "ProductOptionTranslation";
  1131. name: string;
  1132. }
  1133. export interface ProductOptionGroup_options {
  1134. __typename: "ProductOption";
  1135. id: string;
  1136. languageCode: LanguageCode | null;
  1137. name: string | null;
  1138. code: string | null;
  1139. translations: ProductOptionGroup_options_translations[];
  1140. }
  1141. export interface ProductOptionGroup {
  1142. __typename: "ProductOptionGroup";
  1143. id: string;
  1144. languageCode: LanguageCode;
  1145. code: string;
  1146. name: string;
  1147. translations: ProductOptionGroup_translations[];
  1148. options: ProductOptionGroup_options[];
  1149. }
  1150. /* tslint:disable */
  1151. // This file was automatically generated and should not be edited.
  1152. //==============================================================
  1153. // START Enums and Input Objects
  1154. //==============================================================
  1155. /**
  1156. * ISO 639-1 language code
  1157. */
  1158. export enum LanguageCode {
  1159. aa = "aa",
  1160. ab = "ab",
  1161. ae = "ae",
  1162. af = "af",
  1163. ak = "ak",
  1164. am = "am",
  1165. an = "an",
  1166. ar = "ar",
  1167. as = "as",
  1168. av = "av",
  1169. ay = "ay",
  1170. az = "az",
  1171. ba = "ba",
  1172. be = "be",
  1173. bg = "bg",
  1174. bh = "bh",
  1175. bi = "bi",
  1176. bm = "bm",
  1177. bn = "bn",
  1178. bo = "bo",
  1179. br = "br",
  1180. bs = "bs",
  1181. ca = "ca",
  1182. ce = "ce",
  1183. ch = "ch",
  1184. co = "co",
  1185. cr = "cr",
  1186. cs = "cs",
  1187. cu = "cu",
  1188. cv = "cv",
  1189. cy = "cy",
  1190. da = "da",
  1191. de = "de",
  1192. dv = "dv",
  1193. dz = "dz",
  1194. ee = "ee",
  1195. el = "el",
  1196. en = "en",
  1197. eo = "eo",
  1198. es = "es",
  1199. et = "et",
  1200. eu = "eu",
  1201. fa = "fa",
  1202. ff = "ff",
  1203. fi = "fi",
  1204. fj = "fj",
  1205. fo = "fo",
  1206. fr = "fr",
  1207. fy = "fy",
  1208. ga = "ga",
  1209. gd = "gd",
  1210. gl = "gl",
  1211. gn = "gn",
  1212. gu = "gu",
  1213. gv = "gv",
  1214. ha = "ha",
  1215. he = "he",
  1216. hi = "hi",
  1217. ho = "ho",
  1218. hr = "hr",
  1219. ht = "ht",
  1220. hu = "hu",
  1221. hy = "hy",
  1222. hz = "hz",
  1223. ia = "ia",
  1224. id = "id",
  1225. ie = "ie",
  1226. ig = "ig",
  1227. ii = "ii",
  1228. ik = "ik",
  1229. io = "io",
  1230. is = "is",
  1231. it = "it",
  1232. iu = "iu",
  1233. ja = "ja",
  1234. jv = "jv",
  1235. ka = "ka",
  1236. kg = "kg",
  1237. ki = "ki",
  1238. kj = "kj",
  1239. kk = "kk",
  1240. kl = "kl",
  1241. km = "km",
  1242. kn = "kn",
  1243. ko = "ko",
  1244. kr = "kr",
  1245. ks = "ks",
  1246. ku = "ku",
  1247. kv = "kv",
  1248. kw = "kw",
  1249. ky = "ky",
  1250. la = "la",
  1251. lb = "lb",
  1252. lg = "lg",
  1253. li = "li",
  1254. ln = "ln",
  1255. lo = "lo",
  1256. lt = "lt",
  1257. lu = "lu",
  1258. lv = "lv",
  1259. mg = "mg",
  1260. mh = "mh",
  1261. mi = "mi",
  1262. mk = "mk",
  1263. ml = "ml",
  1264. mn = "mn",
  1265. mr = "mr",
  1266. ms = "ms",
  1267. mt = "mt",
  1268. my = "my",
  1269. na = "na",
  1270. nb = "nb",
  1271. nd = "nd",
  1272. ne = "ne",
  1273. ng = "ng",
  1274. nl = "nl",
  1275. nn = "nn",
  1276. no = "no",
  1277. nr = "nr",
  1278. nv = "nv",
  1279. ny = "ny",
  1280. oc = "oc",
  1281. oj = "oj",
  1282. om = "om",
  1283. or = "or",
  1284. os = "os",
  1285. pa = "pa",
  1286. pi = "pi",
  1287. pl = "pl",
  1288. ps = "ps",
  1289. pt = "pt",
  1290. qu = "qu",
  1291. rm = "rm",
  1292. rn = "rn",
  1293. ro = "ro",
  1294. ru = "ru",
  1295. rw = "rw",
  1296. sa = "sa",
  1297. sc = "sc",
  1298. sd = "sd",
  1299. se = "se",
  1300. sg = "sg",
  1301. si = "si",
  1302. sk = "sk",
  1303. sl = "sl",
  1304. sm = "sm",
  1305. sn = "sn",
  1306. so = "so",
  1307. sq = "sq",
  1308. sr = "sr",
  1309. ss = "ss",
  1310. st = "st",
  1311. su = "su",
  1312. sv = "sv",
  1313. sw = "sw",
  1314. ta = "ta",
  1315. te = "te",
  1316. tg = "tg",
  1317. th = "th",
  1318. ti = "ti",
  1319. tk = "tk",
  1320. tl = "tl",
  1321. tn = "tn",
  1322. to = "to",
  1323. tr = "tr",
  1324. ts = "ts",
  1325. tt = "tt",
  1326. tw = "tw",
  1327. ty = "ty",
  1328. ug = "ug",
  1329. uk = "uk",
  1330. ur = "ur",
  1331. uz = "uz",
  1332. ve = "ve",
  1333. vi = "vi",
  1334. vo = "vo",
  1335. wa = "wa",
  1336. wo = "wo",
  1337. xh = "xh",
  1338. yi = "yi",
  1339. yo = "yo",
  1340. za = "za",
  1341. zh = "zh",
  1342. zu = "zu",
  1343. }
  1344. export enum SortOrder {
  1345. ASC = "ASC",
  1346. DESC = "DESC",
  1347. }
  1348. export interface AdministratorFilterParameter {
  1349. firstName?: StringOperators | null;
  1350. lastName?: StringOperators | null;
  1351. emailAddress?: StringOperators | null;
  1352. createdAt?: DateOperators | null;
  1353. updatedAt?: DateOperators | null;
  1354. }
  1355. export interface AdministratorListOptions {
  1356. take?: number | null;
  1357. skip?: number | null;
  1358. sort?: AdministratorSortParameter | null;
  1359. filter?: AdministratorFilterParameter | null;
  1360. }
  1361. export interface AdministratorSortParameter {
  1362. id?: SortOrder | null;
  1363. createdAt?: SortOrder | null;
  1364. updatedAt?: SortOrder | null;
  1365. firstName?: SortOrder | null;
  1366. lastName?: SortOrder | null;
  1367. emailAddress?: SortOrder | null;
  1368. }
  1369. export interface BooleanOperators {
  1370. eq?: boolean | null;
  1371. }
  1372. export interface CreateFacetCustomFieldsInput {
  1373. searchable?: boolean | null;
  1374. }
  1375. export interface CreateFacetInput {
  1376. code: string;
  1377. translations: FacetTranslationInput[];
  1378. values?: CreateFacetValueWithFacetInput[] | null;
  1379. customFields?: CreateFacetCustomFieldsInput | null;
  1380. }
  1381. export interface CreateFacetValueCustomFieldsInput {
  1382. link?: string | null;
  1383. available?: boolean | null;
  1384. }
  1385. export interface CreateFacetValueInput {
  1386. facetId: string;
  1387. code: string;
  1388. translations: FacetValueTranslationInput[];
  1389. customFields?: CreateFacetValueCustomFieldsInput | null;
  1390. }
  1391. export interface CreateFacetValueWithFacetInput {
  1392. code: string;
  1393. translations: FacetValueTranslationInput[];
  1394. }
  1395. export interface CreateProductCustomFieldsInput {
  1396. infoUrl?: string | null;
  1397. downloadable?: boolean | null;
  1398. }
  1399. export interface CreateProductInput {
  1400. image?: string | null;
  1401. translations: ProductTranslationInput[];
  1402. optionGroupCodes?: string[] | null;
  1403. customFields?: CreateProductCustomFieldsInput | null;
  1404. }
  1405. export interface CreateProductOptionGroupInput {
  1406. code: string;
  1407. translations: ProductOptionGroupTranslationInput[];
  1408. options: CreateProductOptionInput[];
  1409. customFields?: any | null;
  1410. }
  1411. export interface CreateProductOptionInput {
  1412. code: string;
  1413. translations: ProductOptionGroupTranslationInput[];
  1414. customFields?: any | null;
  1415. }
  1416. export interface DateOperators {
  1417. eq?: any | null;
  1418. before?: any | null;
  1419. after?: any | null;
  1420. between?: DateRange | null;
  1421. }
  1422. export interface DateRange {
  1423. start: any;
  1424. end: any;
  1425. }
  1426. export interface FacetFilterParameter {
  1427. name?: StringOperators | null;
  1428. code?: StringOperators | null;
  1429. createdAt?: DateOperators | null;
  1430. updatedAt?: DateOperators | null;
  1431. searchable?: BooleanOperators | null;
  1432. }
  1433. export interface FacetListOptions {
  1434. take?: number | null;
  1435. skip?: number | null;
  1436. sort?: FacetSortParameter | null;
  1437. filter?: FacetFilterParameter | null;
  1438. }
  1439. export interface FacetSortParameter {
  1440. id?: SortOrder | null;
  1441. createdAt?: SortOrder | null;
  1442. updatedAt?: SortOrder | null;
  1443. name?: SortOrder | null;
  1444. code?: SortOrder | null;
  1445. searchable?: SortOrder | null;
  1446. }
  1447. export interface FacetTranslationInput {
  1448. id?: string | null;
  1449. languageCode: LanguageCode;
  1450. name: string;
  1451. customFields?: any | null;
  1452. }
  1453. export interface FacetValueTranslationInput {
  1454. id?: string | null;
  1455. languageCode: LanguageCode;
  1456. name: string;
  1457. customFields?: any | null;
  1458. }
  1459. export interface ProductFilterParameter {
  1460. name?: StringOperators | null;
  1461. slug?: StringOperators | null;
  1462. description?: StringOperators | null;
  1463. createdAt?: DateOperators | null;
  1464. updatedAt?: DateOperators | null;
  1465. infoUrl?: StringOperators | null;
  1466. downloadable?: BooleanOperators | null;
  1467. nickname?: StringOperators | null;
  1468. }
  1469. export interface ProductListOptions {
  1470. take?: number | null;
  1471. skip?: number | null;
  1472. sort?: ProductSortParameter | null;
  1473. filter?: ProductFilterParameter | null;
  1474. }
  1475. export interface ProductOptionGroupTranslationInput {
  1476. id?: string | null;
  1477. languageCode: LanguageCode;
  1478. name: string;
  1479. customFields?: any | null;
  1480. }
  1481. export interface ProductSortParameter {
  1482. id?: SortOrder | null;
  1483. createdAt?: SortOrder | null;
  1484. updatedAt?: SortOrder | null;
  1485. name?: SortOrder | null;
  1486. slug?: SortOrder | null;
  1487. description?: SortOrder | null;
  1488. image?: SortOrder | null;
  1489. infoUrl?: SortOrder | null;
  1490. downloadable?: SortOrder | null;
  1491. nickname?: SortOrder | null;
  1492. }
  1493. export interface ProductTranslationCustomFieldsInput {
  1494. nickname?: string | null;
  1495. }
  1496. export interface ProductTranslationInput {
  1497. id?: string | null;
  1498. languageCode: LanguageCode;
  1499. name: string;
  1500. slug: string;
  1501. description: string;
  1502. customFields?: ProductTranslationCustomFieldsInput | null;
  1503. }
  1504. export interface ProductVariantTranslationInput {
  1505. id?: string | null;
  1506. languageCode: LanguageCode;
  1507. name: string;
  1508. customFields?: any | null;
  1509. }
  1510. export interface StringOperators {
  1511. eq?: string | null;
  1512. contains?: string | null;
  1513. }
  1514. export interface UpdateFacetCustomFieldsInput {
  1515. searchable?: boolean | null;
  1516. }
  1517. export interface UpdateFacetInput {
  1518. id: string;
  1519. code: string;
  1520. translations: FacetTranslationInput[];
  1521. customFields?: UpdateFacetCustomFieldsInput | null;
  1522. }
  1523. export interface UpdateFacetValueCustomFieldsInput {
  1524. link?: string | null;
  1525. available?: boolean | null;
  1526. }
  1527. export interface UpdateFacetValueInput {
  1528. id: string;
  1529. code: string;
  1530. translations: FacetValueTranslationInput[];
  1531. customFields?: UpdateFacetValueCustomFieldsInput | null;
  1532. }
  1533. export interface UpdateProductCustomFieldsInput {
  1534. infoUrl?: string | null;
  1535. downloadable?: boolean | null;
  1536. }
  1537. export interface UpdateProductInput {
  1538. id: string;
  1539. image?: string | null;
  1540. translations: ProductTranslationInput[];
  1541. optionGroupCodes?: string[] | null;
  1542. customFields?: UpdateProductCustomFieldsInput | null;
  1543. }
  1544. export interface UpdateProductVariantInput {
  1545. id: string;
  1546. translations: ProductVariantTranslationInput[];
  1547. sku: string;
  1548. image?: string | null;
  1549. price: number;
  1550. customFields?: any | null;
  1551. }
  1552. //==============================================================
  1553. // END Enums and Input Objects
  1554. //==============================================================