generated-types.ts 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656
  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?: CreateFacetValueWithFacetInput[] | 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 CreateFacetValueWithFacetInput {
  1257. code: string;
  1258. translations: FacetValueTranslationInput[];
  1259. }
  1260. export interface CreateProductCustomFieldsInput {
  1261. infoUrl?: string | null;
  1262. downloadable?: boolean | null;
  1263. }
  1264. export interface CreateProductInput {
  1265. image?: string | null;
  1266. translations: ProductTranslationInput[];
  1267. optionGroupCodes?: string[] | null;
  1268. customFields?: CreateProductCustomFieldsInput | null;
  1269. }
  1270. export interface CreateProductOptionGroupInput {
  1271. code: string;
  1272. translations: ProductOptionGroupTranslationInput[];
  1273. options: CreateProductOptionInput[];
  1274. customFields?: any | null;
  1275. }
  1276. export interface CreateProductOptionInput {
  1277. code: string;
  1278. translations: ProductOptionGroupTranslationInput[];
  1279. customFields?: any | null;
  1280. }
  1281. export interface DateOperators {
  1282. eq?: any | null;
  1283. before?: any | null;
  1284. after?: any | null;
  1285. between?: DateRange | null;
  1286. }
  1287. export interface DateRange {
  1288. start: any;
  1289. end: any;
  1290. }
  1291. export interface FacetFilterParameter {
  1292. name?: StringOperators | null;
  1293. code?: StringOperators | null;
  1294. createdAt?: DateOperators | null;
  1295. updatedAt?: DateOperators | null;
  1296. searchable?: BooleanOperators | null;
  1297. }
  1298. export interface FacetListOptions {
  1299. take?: number | null;
  1300. skip?: number | null;
  1301. sort?: FacetSortParameter | null;
  1302. filter?: FacetFilterParameter | null;
  1303. }
  1304. export interface FacetSortParameter {
  1305. id?: SortOrder | null;
  1306. createdAt?: SortOrder | null;
  1307. updatedAt?: SortOrder | null;
  1308. name?: SortOrder | null;
  1309. code?: SortOrder | null;
  1310. searchable?: SortOrder | null;
  1311. }
  1312. export interface FacetTranslationInput {
  1313. id?: string | null;
  1314. languageCode: LanguageCode;
  1315. name: string;
  1316. customFields?: any | null;
  1317. }
  1318. export interface FacetValueTranslationInput {
  1319. id?: string | null;
  1320. languageCode: LanguageCode;
  1321. name: string;
  1322. customFields?: any | null;
  1323. }
  1324. export interface ProductFilterParameter {
  1325. name?: StringOperators | null;
  1326. slug?: StringOperators | null;
  1327. description?: StringOperators | null;
  1328. createdAt?: DateOperators | null;
  1329. updatedAt?: DateOperators | null;
  1330. infoUrl?: StringOperators | null;
  1331. downloadable?: BooleanOperators | null;
  1332. nickname?: StringOperators | null;
  1333. }
  1334. export interface ProductListOptions {
  1335. take?: number | null;
  1336. skip?: number | null;
  1337. sort?: ProductSortParameter | null;
  1338. filter?: ProductFilterParameter | null;
  1339. }
  1340. export interface ProductOptionGroupTranslationInput {
  1341. id?: string | null;
  1342. languageCode: LanguageCode;
  1343. name: string;
  1344. customFields?: any | null;
  1345. }
  1346. export interface ProductSortParameter {
  1347. id?: SortOrder | null;
  1348. createdAt?: SortOrder | null;
  1349. updatedAt?: SortOrder | null;
  1350. name?: SortOrder | null;
  1351. slug?: SortOrder | null;
  1352. description?: SortOrder | null;
  1353. image?: SortOrder | null;
  1354. infoUrl?: SortOrder | null;
  1355. downloadable?: SortOrder | null;
  1356. nickname?: SortOrder | null;
  1357. }
  1358. export interface ProductTranslationCustomFieldsInput {
  1359. nickname?: string | null;
  1360. }
  1361. export interface ProductTranslationInput {
  1362. id?: string | null;
  1363. languageCode: LanguageCode;
  1364. name: string;
  1365. slug: string;
  1366. description: string;
  1367. customFields?: ProductTranslationCustomFieldsInput | null;
  1368. }
  1369. export interface ProductVariantTranslationInput {
  1370. id?: string | null;
  1371. languageCode: LanguageCode;
  1372. name: string;
  1373. customFields?: any | null;
  1374. }
  1375. export interface StringOperators {
  1376. eq?: string | null;
  1377. contains?: string | null;
  1378. }
  1379. export interface UpdateFacetCustomFieldsInput {
  1380. searchable?: boolean | null;
  1381. }
  1382. export interface UpdateFacetInput {
  1383. id: string;
  1384. code: string;
  1385. translations: FacetTranslationInput[];
  1386. customFields?: UpdateFacetCustomFieldsInput | null;
  1387. }
  1388. export interface UpdateFacetValueCustomFieldsInput {
  1389. link?: string | null;
  1390. available?: boolean | null;
  1391. }
  1392. export interface UpdateFacetValueInput {
  1393. id: string;
  1394. code: string;
  1395. translations: FacetValueTranslationInput[];
  1396. customFields?: UpdateFacetValueCustomFieldsInput | null;
  1397. }
  1398. export interface UpdateProductCustomFieldsInput {
  1399. infoUrl?: string | null;
  1400. downloadable?: boolean | null;
  1401. }
  1402. export interface UpdateProductInput {
  1403. id: string;
  1404. image?: string | null;
  1405. translations: ProductTranslationInput[];
  1406. optionGroupCodes?: string[] | null;
  1407. customFields?: UpdateProductCustomFieldsInput | null;
  1408. }
  1409. export interface UpdateProductVariantInput {
  1410. id: string;
  1411. translations: ProductVariantTranslationInput[];
  1412. sku: string;
  1413. image?: string | null;
  1414. price: number;
  1415. customFields?: any | null;
  1416. }
  1417. //==============================================================
  1418. // END Enums and Input Objects
  1419. //==============================================================