generated-types.ts 42 KB

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