generated-types.ts 40 KB

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