@rxdrag/rxcms-models 0.3.48 → 0.3.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/classes/ChangeLogQueryOptions.d.ts +13 -0
  2. package/dist/classes/EnquiryQueryOptions.d.ts +1 -0
  3. package/dist/classes/LangQueryOptions.d.ts +1 -5
  4. package/dist/classes/ThemeConfigQueryOptions.d.ts +7 -0
  5. package/dist/classes/WebsiteQueryOptions.d.ts +9 -5
  6. package/dist/classes/WebsiteSettingsQueryOptions.d.ts +2 -28
  7. package/dist/classes/index.d.ts +1 -0
  8. package/dist/entries/changeLogEntry.d.ts +2 -0
  9. package/dist/entries/index.d.ts +1 -0
  10. package/dist/fields/ChangeLogFields.d.ts +9 -0
  11. package/dist/fields/EnquiryFields.d.ts +1 -0
  12. package/dist/fields/LangFields.d.ts +2 -3
  13. package/dist/fields/ThemeConfigFields.d.ts +8 -1
  14. package/dist/fields/WebsiteFields.d.ts +6 -4
  15. package/dist/fields/WebsiteSettingsFields.d.ts +2 -26
  16. package/dist/fields/index.d.ts +1 -0
  17. package/dist/index.mjs +424 -363
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/interfaces/ChangeLog.d.ts +10 -0
  20. package/dist/interfaces/ChangeLogBoolExp.d.ts +14 -0
  21. package/dist/interfaces/ChangeLogDistinctExp.d.ts +7 -0
  22. package/dist/interfaces/ChangeLogInput.d.ts +12 -0
  23. package/dist/interfaces/ChangeLogOrderBy.d.ts +7 -0
  24. package/dist/interfaces/CookieConsentStrategy.d.ts +10 -0
  25. package/dist/interfaces/Enquiry.d.ts +1 -0
  26. package/dist/interfaces/EnquiryBoolExp.d.ts +1 -0
  27. package/dist/interfaces/EnquiryDistinctExp.d.ts +1 -0
  28. package/dist/interfaces/EnquiryInput.d.ts +1 -0
  29. package/dist/interfaces/EnquiryOrderBy.d.ts +1 -0
  30. package/dist/interfaces/GaConfig.d.ts +2 -0
  31. package/dist/interfaces/Lang.d.ts +1 -3
  32. package/dist/interfaces/LangBoolExp.d.ts +1 -2
  33. package/dist/interfaces/LangDistinctExp.d.ts +2 -1
  34. package/dist/interfaces/LangInput.d.ts +1 -2
  35. package/dist/interfaces/LangOrderBy.d.ts +1 -0
  36. package/dist/interfaces/SmtpConfig.d.ts +0 -4
  37. package/dist/interfaces/ThemeConfig.d.ts +7 -0
  38. package/dist/interfaces/ThemeConfigBoolExp.d.ts +7 -0
  39. package/dist/interfaces/ThemeConfigDistinctExp.d.ts +8 -1
  40. package/dist/interfaces/ThemeConfigInput.d.ts +7 -0
  41. package/dist/interfaces/ThemeConfigOrderBy.d.ts +7 -0
  42. package/dist/interfaces/Website.d.ts +6 -3
  43. package/dist/interfaces/WebsiteBoolExp.d.ts +5 -2
  44. package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
  45. package/dist/interfaces/WebsiteInput.d.ts +5 -2
  46. package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
  47. package/dist/interfaces/WebsiteSettings.d.ts +5 -28
  48. package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +6 -13
  49. package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +3 -27
  50. package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -28
  51. package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +5 -26
  52. package/dist/interfaces/index.d.ts +6 -0
  53. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -27,7 +27,6 @@ const aggregateEntities = {
27
27
  },
28
28
  Website: {
29
29
  usersAggregate: "User",
30
- partsOfWebsiteSettingsAggregate: "WebsiteSettings",
31
30
  partsOfMediaFolderAggregate: "MediaFolder",
32
31
  partsOfEnquiryAggregate: "Enquiry",
33
32
  partsOfProductAggregate: "Product",
@@ -39,10 +38,10 @@ const aggregateEntities = {
39
38
  partsOfSpamFilterRuleAggregate: "SpamFilterRule",
40
39
  partsOfMediaAggregate: "Media",
41
40
  langsAggregate: "Lang",
42
- themesAggregate: "Theme"
41
+ themesAggregate: "Theme",
42
+ changelogsAggregate: "ChangeLog"
43
43
  },
44
44
  Lang: {
45
- webPartsOfWebsiteSettingsAggregate: "WebsiteSettings",
46
45
  webPartsOfMediaFolderAggregate: "MediaFolder",
47
46
  webPartsOfEnquiryAggregate: "Enquiry",
48
47
  webPartsOfProductAggregate: "Product",
@@ -296,41 +295,6 @@ const websiteTypeToInput = (entity) => {
296
295
  websites: convertHasManyToInput(entity.websites)
297
296
  };
298
297
  };
299
- const customerToInputCascade = (entity) => {
300
- var _a;
301
- const { enquiresAggregate, ...rest } = entity;
302
- return {
303
- ...rest,
304
- enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInput(ent)) }) : void 0,
305
- lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
306
- website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
307
- };
308
- };
309
- const customerToInput = (entity) => {
310
- const { enquiresAggregate, ...rest } = entity;
311
- return {
312
- ...rest,
313
- enquires: convertHasManyToInput(entity.enquires),
314
- lang: convertHasOneToInput(entity.lang),
315
- website: convertHasOneToInput(entity.website)
316
- };
317
- };
318
- const enquiryToInputCascade = (entity) => {
319
- return {
320
- ...entity,
321
- lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
322
- customer: entity.customer ? processHasOneClear({ sync: customerToInput(entity.customer) }) : void 0,
323
- website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
324
- };
325
- };
326
- const enquiryToInput = (entity) => {
327
- return {
328
- ...entity,
329
- lang: convertHasOneToInput(entity.lang),
330
- customer: convertHasOneToInput(entity.customer),
331
- website: convertHasOneToInput(entity.website)
332
- };
333
- };
334
298
  const productCategoryToInputCascade = (entity) => {
335
299
  var _a, _b;
336
300
  const { childrenAggregate, productsAggregate, ...rest } = entity;
@@ -713,39 +677,63 @@ const analyticsConfigToInput = (entity) => {
713
677
  website: convertHasOneToInput(entity.website)
714
678
  };
715
679
  };
680
+ const websiteSettingsToInputCascade = (entity) => {
681
+ return {
682
+ ...entity,
683
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
684
+ };
685
+ };
686
+ const websiteSettingsToInput = (entity) => {
687
+ return {
688
+ ...entity,
689
+ website: convertHasOneToInput(entity.website)
690
+ };
691
+ };
692
+ const changeLogToInputCascade = (entity) => {
693
+ return {
694
+ ...entity,
695
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
696
+ };
697
+ };
698
+ const changeLogToInput = (entity) => {
699
+ return {
700
+ ...entity,
701
+ website: convertHasOneToInput(entity.website)
702
+ };
703
+ };
716
704
  const websiteToInputCascade = (entity) => {
717
705
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
718
- const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, ...rest } = entity;
706
+ const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, ...rest } = entity;
719
707
  return {
720
708
  ...rest,
721
709
  websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
722
710
  owner: entity.owner ? processHasOneClear({ sync: userToInput(entity.owner) }) : void 0,
723
711
  users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0,
724
- partsOfWebsiteSettings: entity.partsOfWebsiteSettings ? processHasManyClear({ sync: (_b = entity.partsOfWebsiteSettings) == null ? void 0 : _b.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
725
- partsOfMediaFolder: entity.partsOfMediaFolder ? processHasManyClear({ sync: (_c = entity.partsOfMediaFolder) == null ? void 0 : _c.map((ent) => mediaFolderToInput(ent)) }) : void 0,
726
- partsOfEnquiry: entity.partsOfEnquiry ? processHasManyClear({ sync: (_d = entity.partsOfEnquiry) == null ? void 0 : _d.map((ent) => enquiryToInput(ent)) }) : void 0,
727
- partsOfProduct: entity.partsOfProduct ? processHasManyClear({ sync: (_e = entity.partsOfProduct) == null ? void 0 : _e.map((ent) => productToInput(ent)) }) : void 0,
728
- partsOfPost: entity.partsOfPost ? processHasManyClear({ sync: (_f = entity.partsOfPost) == null ? void 0 : _f.map((ent) => postToInput(ent)) }) : void 0,
729
- partsOfPostCategory: entity.partsOfPostCategory ? processHasManyClear({ sync: (_g = entity.partsOfPostCategory) == null ? void 0 : _g.map((ent) => postCategoryToInput(ent)) }) : void 0,
730
- partsOfTag: entity.partsOfTag ? processHasManyClear({ sync: (_h = entity.partsOfTag) == null ? void 0 : _h.map((ent) => tagToInput(ent)) }) : void 0,
731
- partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_i = entity.partsOfCustomer) == null ? void 0 : _i.map((ent) => customerToInput(ent)) }) : void 0,
732
- partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_j = entity.partsOfProductCategory) == null ? void 0 : _j.map((ent) => productCategoryToInput(ent)) }) : void 0,
733
- partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_k = entity.partsOfSpamFilterRule) == null ? void 0 : _k.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
734
- partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_l = entity.partsOfMedia) == null ? void 0 : _l.map((ent) => mediaToInput(ent)) }) : void 0,
735
- langs: entity.langs ? processHasManyClear({ sync: (_m = entity.langs) == null ? void 0 : _m.map((ent) => langToInput(ent)) }) : void 0,
712
+ partsOfMediaFolder: entity.partsOfMediaFolder ? processHasManyClear({ sync: (_b = entity.partsOfMediaFolder) == null ? void 0 : _b.map((ent) => mediaFolderToInput(ent)) }) : void 0,
713
+ partsOfEnquiry: entity.partsOfEnquiry ? processHasManyClear({ sync: (_c = entity.partsOfEnquiry) == null ? void 0 : _c.map((ent) => enquiryToInput(ent)) }) : void 0,
714
+ partsOfProduct: entity.partsOfProduct ? processHasManyClear({ sync: (_d = entity.partsOfProduct) == null ? void 0 : _d.map((ent) => productToInput(ent)) }) : void 0,
715
+ partsOfPost: entity.partsOfPost ? processHasManyClear({ sync: (_e = entity.partsOfPost) == null ? void 0 : _e.map((ent) => postToInput(ent)) }) : void 0,
716
+ partsOfPostCategory: entity.partsOfPostCategory ? processHasManyClear({ sync: (_f = entity.partsOfPostCategory) == null ? void 0 : _f.map((ent) => postCategoryToInput(ent)) }) : void 0,
717
+ partsOfTag: entity.partsOfTag ? processHasManyClear({ sync: (_g = entity.partsOfTag) == null ? void 0 : _g.map((ent) => tagToInput(ent)) }) : void 0,
718
+ partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_h = entity.partsOfCustomer) == null ? void 0 : _h.map((ent) => customerToInput(ent)) }) : void 0,
719
+ partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_i = entity.partsOfProductCategory) == null ? void 0 : _i.map((ent) => productCategoryToInput(ent)) }) : void 0,
720
+ partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_j = entity.partsOfSpamFilterRule) == null ? void 0 : _j.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
721
+ partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_k = entity.partsOfMedia) == null ? void 0 : _k.map((ent) => mediaToInput(ent)) }) : void 0,
722
+ langs: entity.langs ? processHasManyClear({ sync: (_l = entity.langs) == null ? void 0 : _l.map((ent) => langToInput(ent)) }) : void 0,
736
723
  baseLang: entity.baseLang ? processHasOneClear({ sync: langToInput(entity.baseLang) }) : void 0,
737
- themes: entity.themes ? processHasManyClear({ sync: (_n = entity.themes) == null ? void 0 : _n.map((ent) => themeToInput(ent)) }) : void 0,
738
- analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0
724
+ themes: entity.themes ? processHasManyClear({ sync: (_m = entity.themes) == null ? void 0 : _m.map((ent) => themeToInput(ent)) }) : void 0,
725
+ analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0,
726
+ settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInput(entity.settings) }) : void 0,
727
+ changelogs: entity.changelogs ? processHasManyClear({ sync: (_n = entity.changelogs) == null ? void 0 : _n.map((ent) => changeLogToInput(ent)) }) : void 0
739
728
  };
740
729
  };
741
730
  const websiteToInput = (entity) => {
742
- const { usersAggregate, partsOfWebsiteSettingsAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, ...rest } = entity;
731
+ const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, changelogsAggregate, ...rest } = entity;
743
732
  return {
744
733
  ...rest,
745
734
  websiteType: convertHasOneToInput(entity.websiteType),
746
735
  owner: convertHasOneToInput(entity.owner),
747
736
  users: convertHasManyToInput(entity.users),
748
- partsOfWebsiteSettings: convertHasManyToInput(entity.partsOfWebsiteSettings),
749
737
  partsOfMediaFolder: convertHasManyToInput(entity.partsOfMediaFolder),
750
738
  partsOfEnquiry: convertHasManyToInput(entity.partsOfEnquiry),
751
739
  partsOfProduct: convertHasManyToInput(entity.partsOfProduct),
@@ -759,49 +747,70 @@ const websiteToInput = (entity) => {
759
747
  langs: convertHasManyToInput(entity.langs),
760
748
  baseLang: convertHasOneToInput(entity.baseLang),
761
749
  themes: convertHasManyToInput(entity.themes),
762
- analyticsConfig: convertHasOneToInput(entity.analyticsConfig)
750
+ analyticsConfig: convertHasOneToInput(entity.analyticsConfig),
751
+ settings: convertHasOneToInput(entity.settings),
752
+ changelogs: convertHasManyToInput(entity.changelogs)
763
753
  };
764
754
  };
765
- const websiteSettingsToInputCascade = (entity) => {
755
+ const customerToInputCascade = (entity) => {
756
+ var _a;
757
+ const { enquiresAggregate, ...rest } = entity;
758
+ return {
759
+ ...rest,
760
+ enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInput(ent)) }) : void 0,
761
+ lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
762
+ website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
763
+ };
764
+ };
765
+ const customerToInput = (entity) => {
766
+ const { enquiresAggregate, ...rest } = entity;
767
+ return {
768
+ ...rest,
769
+ enquires: convertHasManyToInput(entity.enquires),
770
+ lang: convertHasOneToInput(entity.lang),
771
+ website: convertHasOneToInput(entity.website)
772
+ };
773
+ };
774
+ const enquiryToInputCascade = (entity) => {
766
775
  return {
767
776
  ...entity,
768
777
  lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
778
+ customer: entity.customer ? processHasOneClear({ sync: customerToInput(entity.customer) }) : void 0,
769
779
  website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
770
780
  };
771
781
  };
772
- const websiteSettingsToInput = (entity) => {
782
+ const enquiryToInput = (entity) => {
773
783
  return {
774
784
  ...entity,
775
785
  lang: convertHasOneToInput(entity.lang),
786
+ customer: convertHasOneToInput(entity.customer),
776
787
  website: convertHasOneToInput(entity.website)
777
788
  };
778
789
  };
779
790
  const langToInputCascade = (entity) => {
780
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
781
- const { webPartsOfWebsiteSettingsAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, ...rest } = entity;
791
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
792
+ const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, ...rest } = entity;
782
793
  return {
783
794
  ...rest,
784
- webPartsOfWebsiteSettings: entity.webPartsOfWebsiteSettings ? processHasManyClear({ sync: (_a = entity.webPartsOfWebsiteSettings) == null ? void 0 : _a.map((ent) => websiteSettingsToInput(ent)) }) : void 0,
785
- webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_b = entity.webPartsOfMediaFolder) == null ? void 0 : _b.map((ent) => mediaFolderToInput(ent)) }) : void 0,
786
- webPartsOfEnquiry: entity.webPartsOfEnquiry ? processHasManyClear({ sync: (_c = entity.webPartsOfEnquiry) == null ? void 0 : _c.map((ent) => enquiryToInput(ent)) }) : void 0,
787
- webPartsOfProduct: entity.webPartsOfProduct ? processHasManyClear({ sync: (_d = entity.webPartsOfProduct) == null ? void 0 : _d.map((ent) => productToInput(ent)) }) : void 0,
788
- webPartsOfPost: entity.webPartsOfPost ? processHasManyClear({ sync: (_e = entity.webPartsOfPost) == null ? void 0 : _e.map((ent) => postToInput(ent)) }) : void 0,
789
- webPartsOfPostCategory: entity.webPartsOfPostCategory ? processHasManyClear({ sync: (_f = entity.webPartsOfPostCategory) == null ? void 0 : _f.map((ent) => postCategoryToInput(ent)) }) : void 0,
790
- webPartsOfTag: entity.webPartsOfTag ? processHasManyClear({ sync: (_g = entity.webPartsOfTag) == null ? void 0 : _g.map((ent) => tagToInput(ent)) }) : void 0,
791
- webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_h = entity.webPartsOfCustomer) == null ? void 0 : _h.map((ent) => customerToInput(ent)) }) : void 0,
792
- webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_i = entity.webPartsOfProductCategory) == null ? void 0 : _i.map((ent) => productCategoryToInput(ent)) }) : void 0,
793
- webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_j = entity.webPartsOfSpamFilterRule) == null ? void 0 : _j.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
794
- webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_k = entity.webPartsOfMedia) == null ? void 0 : _k.map((ent) => mediaToInput(ent)) }) : void 0,
795
- websites: entity.websites ? processHasManyClear({ sync: (_l = entity.websites) == null ? void 0 : _l.map((ent) => websiteToInput(ent)) }) : void 0,
796
- baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_m = entity.baseLangOf) == null ? void 0 : _m.map((ent) => websiteToInput(ent)) }) : void 0,
797
- themes: entity.themes ? processHasManyClear({ sync: (_n = entity.themes) == null ? void 0 : _n.map((ent) => themeToInput(ent)) }) : void 0
795
+ webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) => mediaFolderToInput(ent)) }) : void 0,
796
+ webPartsOfEnquiry: entity.webPartsOfEnquiry ? processHasManyClear({ sync: (_b = entity.webPartsOfEnquiry) == null ? void 0 : _b.map((ent) => enquiryToInput(ent)) }) : void 0,
797
+ webPartsOfProduct: entity.webPartsOfProduct ? processHasManyClear({ sync: (_c = entity.webPartsOfProduct) == null ? void 0 : _c.map((ent) => productToInput(ent)) }) : void 0,
798
+ webPartsOfPost: entity.webPartsOfPost ? processHasManyClear({ sync: (_d = entity.webPartsOfPost) == null ? void 0 : _d.map((ent) => postToInput(ent)) }) : void 0,
799
+ webPartsOfPostCategory: entity.webPartsOfPostCategory ? processHasManyClear({ sync: (_e = entity.webPartsOfPostCategory) == null ? void 0 : _e.map((ent) => postCategoryToInput(ent)) }) : void 0,
800
+ webPartsOfTag: entity.webPartsOfTag ? processHasManyClear({ sync: (_f = entity.webPartsOfTag) == null ? void 0 : _f.map((ent) => tagToInput(ent)) }) : void 0,
801
+ webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_g = entity.webPartsOfCustomer) == null ? void 0 : _g.map((ent) => customerToInput(ent)) }) : void 0,
802
+ webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_h = entity.webPartsOfProductCategory) == null ? void 0 : _h.map((ent) => productCategoryToInput(ent)) }) : void 0,
803
+ webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_i = entity.webPartsOfSpamFilterRule) == null ? void 0 : _i.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
804
+ webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_j = entity.webPartsOfMedia) == null ? void 0 : _j.map((ent) => mediaToInput(ent)) }) : void 0,
805
+ websites: entity.websites ? processHasManyClear({ sync: (_k = entity.websites) == null ? void 0 : _k.map((ent) => websiteToInput(ent)) }) : void 0,
806
+ baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_l = entity.baseLangOf) == null ? void 0 : _l.map((ent) => websiteToInput(ent)) }) : void 0,
807
+ themes: entity.themes ? processHasManyClear({ sync: (_m = entity.themes) == null ? void 0 : _m.map((ent) => themeToInput(ent)) }) : void 0
798
808
  };
799
809
  };
800
810
  const langToInput = (entity) => {
801
- const { webPartsOfWebsiteSettingsAggregate, webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, ...rest } = entity;
811
+ const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, ...rest } = entity;
802
812
  return {
803
813
  ...rest,
804
- webPartsOfWebsiteSettings: convertHasManyToInput(entity.webPartsOfWebsiteSettings),
805
814
  webPartsOfMediaFolder: convertHasManyToInput(entity.webPartsOfMediaFolder),
806
815
  webPartsOfEnquiry: convertHasManyToInput(entity.webPartsOfEnquiry),
807
816
  webPartsOfProduct: convertHasManyToInput(entity.webPartsOfProduct),
@@ -1037,6 +1046,7 @@ var WebsiteDistinctEnum = /* @__PURE__ */ ((WebsiteDistinctEnum2) => {
1037
1046
  WebsiteDistinctEnum2["updatedAt"] = "updatedAt";
1038
1047
  WebsiteDistinctEnum2["updatedBy"] = "updatedBy";
1039
1048
  WebsiteDistinctEnum2["description"] = "description";
1049
+ WebsiteDistinctEnum2["title"] = "title";
1040
1050
  return WebsiteDistinctEnum2;
1041
1051
  })(WebsiteDistinctEnum || {});
1042
1052
  const LangEntityName = "Lang";
@@ -1051,6 +1061,7 @@ var LangDistinctEnum = /* @__PURE__ */ ((LangDistinctEnum2) => {
1051
1061
  LangDistinctEnum2["circleIcon"] = "circleIcon";
1052
1062
  LangDistinctEnum2["cnName"] = "cnName";
1053
1063
  LangDistinctEnum2["htmlLang"] = "htmlLang";
1064
+ LangDistinctEnum2["urlFragment"] = "urlFragment";
1054
1065
  return LangDistinctEnum2;
1055
1066
  })(LangDistinctEnum || {});
1056
1067
  const WebsiteTypeEntityName = "WebsiteType";
@@ -1142,6 +1153,7 @@ var EnquiryDistinctEnum = /* @__PURE__ */ ((EnquiryDistinctEnum2) => {
1142
1153
  EnquiryDistinctEnum2["fromCta"] = "fromCta";
1143
1154
  EnquiryDistinctEnum2["read"] = "read";
1144
1155
  EnquiryDistinctEnum2["spam"] = "spam";
1156
+ EnquiryDistinctEnum2["mobile"] = "mobile";
1145
1157
  EnquiryDistinctEnum2["createdAt"] = "createdAt";
1146
1158
  EnquiryDistinctEnum2["updatedAt"] = "updatedAt";
1147
1159
  EnquiryDistinctEnum2["content"] = "content";
@@ -1152,19 +1164,11 @@ const WebsiteSettingsEntityLabel = "";
1152
1164
  var WebsiteSettingsDistinctEnum = /* @__PURE__ */ ((WebsiteSettingsDistinctEnum2) => {
1153
1165
  WebsiteSettingsDistinctEnum2["id"] = "id";
1154
1166
  WebsiteSettingsDistinctEnum2["smtpConfig"] = "smtpConfig";
1155
- WebsiteSettingsDistinctEnum2["whatsapp"] = "whatsapp";
1156
- WebsiteSettingsDistinctEnum2["robots"] = "robots";
1157
- WebsiteSettingsDistinctEnum2["websiteName"] = "websiteName";
1158
- WebsiteSettingsDistinctEnum2["domain"] = "domain";
1159
- WebsiteSettingsDistinctEnum2["openRobots"] = "openRobots";
1160
- WebsiteSettingsDistinctEnum2["map301"] = "map301";
1161
- WebsiteSettingsDistinctEnum2["headerCode"] = "headerCode";
1162
- WebsiteSettingsDistinctEnum2["footerCode"] = "footerCode";
1163
- WebsiteSettingsDistinctEnum2["gaTrackingId"] = "gaTrackingId";
1164
1167
  WebsiteSettingsDistinctEnum2["noticeEmail"] = "noticeEmail";
1168
+ WebsiteSettingsDistinctEnum2["useCustomizedSmtp"] = "useCustomizedSmtp";
1165
1169
  WebsiteSettingsDistinctEnum2["createdAt"] = "createdAt";
1166
1170
  WebsiteSettingsDistinctEnum2["updatedAt"] = "updatedAt";
1167
- WebsiteSettingsDistinctEnum2["content"] = "content";
1171
+ WebsiteSettingsDistinctEnum2["replyToEmail"] = "replyToEmail";
1168
1172
  return WebsiteSettingsDistinctEnum2;
1169
1173
  })(WebsiteSettingsDistinctEnum || {});
1170
1174
  const ThemeEntityName = "Theme";
@@ -1464,6 +1468,13 @@ var ThemeConfigDistinctEnum = /* @__PURE__ */ ((ThemeConfigDistinctEnum2) => {
1464
1468
  ThemeConfigDistinctEnum2["fax"] = "fax";
1465
1469
  ThemeConfigDistinctEnum2["mobile"] = "mobile";
1466
1470
  ThemeConfigDistinctEnum2["wechat"] = "wechat";
1471
+ ThemeConfigDistinctEnum2["domain"] = "domain";
1472
+ ThemeConfigDistinctEnum2["svgIcon"] = "svgIcon";
1473
+ ThemeConfigDistinctEnum2["themeColor"] = "themeColor";
1474
+ ThemeConfigDistinctEnum2["pngIcon"] = "pngIcon";
1475
+ ThemeConfigDistinctEnum2["icoIcon"] = "icoIcon";
1476
+ ThemeConfigDistinctEnum2["appleTouchIcon"] = "appleTouchIcon";
1477
+ ThemeConfigDistinctEnum2["redirects"] = "redirects";
1467
1478
  return ThemeConfigDistinctEnum2;
1468
1479
  })(ThemeConfigDistinctEnum || {});
1469
1480
  const AnalyticsConfigEntityName = "AnalyticsConfig";
@@ -1543,6 +1554,20 @@ var StyleConfigDistinctEnum = /* @__PURE__ */ ((StyleConfigDistinctEnum2) => {
1543
1554
  StyleConfigDistinctEnum2["updatedAt"] = "updatedAt";
1544
1555
  return StyleConfigDistinctEnum2;
1545
1556
  })(StyleConfigDistinctEnum || {});
1557
+ var CookieConsentStrategy = /* @__PURE__ */ ((CookieConsentStrategy2) => {
1558
+ CookieConsentStrategy2["EU_ONLY"] = "EU_ONLY";
1559
+ CookieConsentStrategy2["ALWAYS_SHOW"] = "ALWAYS_SHOW";
1560
+ return CookieConsentStrategy2;
1561
+ })(CookieConsentStrategy || {});
1562
+ const ChangeLogEntityName = "ChangeLog";
1563
+ const ChangeLogEntityLabel = "";
1564
+ var ChangeLogDistinctEnum = /* @__PURE__ */ ((ChangeLogDistinctEnum2) => {
1565
+ ChangeLogDistinctEnum2["id"] = "id";
1566
+ ChangeLogDistinctEnum2["title"] = "title";
1567
+ ChangeLogDistinctEnum2["description"] = "description";
1568
+ ChangeLogDistinctEnum2["createdAt"] = "createdAt";
1569
+ return ChangeLogDistinctEnum2;
1570
+ })(ChangeLogDistinctEnum || {});
1546
1571
  class RoleQueryOptions extends QueryOptions {
1547
1572
  constructor(fields, queryArgs) {
1548
1573
  super(RoleEntityName, fields, queryArgs);
@@ -1653,207 +1678,6 @@ class WebsiteTypeQueryOptions extends QueryOptions {
1653
1678
  return this;
1654
1679
  }
1655
1680
  }
1656
- class CustomerQueryOptions extends QueryOptions {
1657
- constructor(fields, queryArgs) {
1658
- super(CustomerEntityName, fields, queryArgs);
1659
- }
1660
- id() {
1661
- this.addField("id");
1662
- return this;
1663
- }
1664
- company() {
1665
- this.addField("company");
1666
- return this;
1667
- }
1668
- createdAt() {
1669
- this.addField("createdAt");
1670
- return this;
1671
- }
1672
- updatedAt() {
1673
- this.addField("updatedAt");
1674
- return this;
1675
- }
1676
- content() {
1677
- this.addField("content");
1678
- return this;
1679
- }
1680
- /**
1681
- * 邮箱
1682
- */
1683
- email() {
1684
- this.addField("email");
1685
- return this;
1686
- }
1687
- /**
1688
- * 电话
1689
- */
1690
- tel() {
1691
- this.addField("tel");
1692
- return this;
1693
- }
1694
- /**
1695
- * 电话2
1696
- */
1697
- tel2() {
1698
- this.addField("tel2");
1699
- return this;
1700
- }
1701
- name() {
1702
- this.addField("name");
1703
- return this;
1704
- }
1705
- mobile() {
1706
- this.addField("mobile");
1707
- return this;
1708
- }
1709
- whatsApp() {
1710
- this.addField("whatsApp");
1711
- return this;
1712
- }
1713
- linkedIn() {
1714
- this.addField("linkedIn");
1715
- return this;
1716
- }
1717
- twitter() {
1718
- this.addField("twitter");
1719
- return this;
1720
- }
1721
- facebook() {
1722
- this.addField("facebook");
1723
- return this;
1724
- }
1725
- instagram() {
1726
- this.addField("instagram");
1727
- return this;
1728
- }
1729
- /**
1730
- * 简介
1731
- */
1732
- summary() {
1733
- this.addField("summary");
1734
- return this;
1735
- }
1736
- enquires(options) {
1737
- if (Array.isArray(options)) {
1738
- this._associations["enquires"] = new EnquiryQueryOptions(options);
1739
- } else {
1740
- this._associations["enquires"] = options || new EnquiryQueryOptions(["id"]);
1741
- }
1742
- return this;
1743
- }
1744
- enquiresAggregate(aggregate) {
1745
- this._aggregates["enquiresAggregate"] = aggregate;
1746
- return this;
1747
- }
1748
- lang(options) {
1749
- if (Array.isArray(options)) {
1750
- this._associations["lang"] = new LangQueryOptions(options);
1751
- } else {
1752
- this._associations["lang"] = options || new LangQueryOptions(["id"]);
1753
- }
1754
- return this;
1755
- }
1756
- website(options) {
1757
- if (Array.isArray(options)) {
1758
- this._associations["website"] = new WebsiteQueryOptions(options);
1759
- } else {
1760
- this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
1761
- }
1762
- return this;
1763
- }
1764
- }
1765
- class EnquiryQueryOptions extends QueryOptions {
1766
- constructor(fields, queryArgs) {
1767
- super(EnquiryEntityName, fields, queryArgs);
1768
- }
1769
- id() {
1770
- this.addField("id");
1771
- return this;
1772
- }
1773
- title() {
1774
- this.addField("title");
1775
- return this;
1776
- }
1777
- company() {
1778
- this.addField("company");
1779
- return this;
1780
- }
1781
- name() {
1782
- this.addField("name");
1783
- return this;
1784
- }
1785
- email() {
1786
- this.addField("email");
1787
- return this;
1788
- }
1789
- message() {
1790
- this.addField("message");
1791
- return this;
1792
- }
1793
- fromUrl() {
1794
- this.addField("fromUrl");
1795
- return this;
1796
- }
1797
- formIp() {
1798
- this.addField("formIp");
1799
- return this;
1800
- }
1801
- userAgent() {
1802
- this.addField("userAgent");
1803
- return this;
1804
- }
1805
- /**
1806
- * 来源cta
1807
- */
1808
- fromCta() {
1809
- this.addField("fromCta");
1810
- return this;
1811
- }
1812
- read() {
1813
- this.addField("read");
1814
- return this;
1815
- }
1816
- spam() {
1817
- this.addField("spam");
1818
- return this;
1819
- }
1820
- createdAt() {
1821
- this.addField("createdAt");
1822
- return this;
1823
- }
1824
- updatedAt() {
1825
- this.addField("updatedAt");
1826
- return this;
1827
- }
1828
- content() {
1829
- this.addField("content");
1830
- return this;
1831
- }
1832
- lang(options) {
1833
- if (Array.isArray(options)) {
1834
- this._associations["lang"] = new LangQueryOptions(options);
1835
- } else {
1836
- this._associations["lang"] = options || new LangQueryOptions(["id"]);
1837
- }
1838
- return this;
1839
- }
1840
- customer(options) {
1841
- if (Array.isArray(options)) {
1842
- this._associations["customer"] = new CustomerQueryOptions(options);
1843
- } else {
1844
- this._associations["customer"] = options || new CustomerQueryOptions(["id"]);
1845
- }
1846
- return this;
1847
- }
1848
- website(options) {
1849
- if (Array.isArray(options)) {
1850
- this._associations["website"] = new WebsiteQueryOptions(options);
1851
- } else {
1852
- this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
1853
- }
1854
- return this;
1855
- }
1856
- }
1857
1681
  class ProductCategoryQueryOptions extends QueryOptions {
1858
1682
  constructor(fields, queryArgs) {
1859
1683
  super(ProductCategoryEntityName, fields, queryArgs);
@@ -2105,12 +1929,40 @@ class ThemeConfigQueryOptions extends QueryOptions {
2105
1929
  this.addField("fax");
2106
1930
  return this;
2107
1931
  }
2108
- mobile() {
2109
- this.addField("mobile");
1932
+ mobile() {
1933
+ this.addField("mobile");
1934
+ return this;
1935
+ }
1936
+ wechat() {
1937
+ this.addField("wechat");
1938
+ return this;
1939
+ }
1940
+ domain() {
1941
+ this.addField("domain");
1942
+ return this;
1943
+ }
1944
+ svgIcon() {
1945
+ this.addField("svgIcon");
1946
+ return this;
1947
+ }
1948
+ themeColor() {
1949
+ this.addField("themeColor");
1950
+ return this;
1951
+ }
1952
+ pngIcon() {
1953
+ this.addField("pngIcon");
1954
+ return this;
1955
+ }
1956
+ icoIcon() {
1957
+ this.addField("icoIcon");
1958
+ return this;
1959
+ }
1960
+ appleTouchIcon() {
1961
+ this.addField("appleTouchIcon");
2110
1962
  return this;
2111
1963
  }
2112
- wechat() {
2113
- this.addField("wechat");
1964
+ redirects() {
1965
+ this.addField("redirects");
2114
1966
  return this;
2115
1967
  }
2116
1968
  contactAvatar(options) {
@@ -3315,6 +3167,82 @@ class AnalyticsConfigQueryOptions extends QueryOptions {
3315
3167
  return this;
3316
3168
  }
3317
3169
  }
3170
+ class WebsiteSettingsQueryOptions extends QueryOptions {
3171
+ constructor(fields, queryArgs) {
3172
+ super(WebsiteSettingsEntityName, fields, queryArgs);
3173
+ }
3174
+ id() {
3175
+ this.addField("id");
3176
+ return this;
3177
+ }
3178
+ /**
3179
+ * 邮件配置
3180
+ */
3181
+ smtpConfig() {
3182
+ this.addField("smtpConfig");
3183
+ return this;
3184
+ }
3185
+ /**
3186
+ * 通知邮箱
3187
+ */
3188
+ noticeEmail() {
3189
+ this.addField("noticeEmail");
3190
+ return this;
3191
+ }
3192
+ useCustomizedSmtp() {
3193
+ this.addField("useCustomizedSmtp");
3194
+ return this;
3195
+ }
3196
+ createdAt() {
3197
+ this.addField("createdAt");
3198
+ return this;
3199
+ }
3200
+ updatedAt() {
3201
+ this.addField("updatedAt");
3202
+ return this;
3203
+ }
3204
+ replyToEmail() {
3205
+ this.addField("replyToEmail");
3206
+ return this;
3207
+ }
3208
+ website(options) {
3209
+ if (Array.isArray(options)) {
3210
+ this._associations["website"] = new WebsiteQueryOptions(options);
3211
+ } else {
3212
+ this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
3213
+ }
3214
+ return this;
3215
+ }
3216
+ }
3217
+ class ChangeLogQueryOptions extends QueryOptions {
3218
+ constructor(fields, queryArgs) {
3219
+ super(ChangeLogEntityName, fields, queryArgs);
3220
+ }
3221
+ id() {
3222
+ this.addField("id");
3223
+ return this;
3224
+ }
3225
+ title() {
3226
+ this.addField("title");
3227
+ return this;
3228
+ }
3229
+ description() {
3230
+ this.addField("description");
3231
+ return this;
3232
+ }
3233
+ createdAt() {
3234
+ this.addField("createdAt");
3235
+ return this;
3236
+ }
3237
+ website(options) {
3238
+ if (Array.isArray(options)) {
3239
+ this._associations["website"] = new WebsiteQueryOptions(options);
3240
+ } else {
3241
+ this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
3242
+ }
3243
+ return this;
3244
+ }
3245
+ }
3318
3246
  class WebsiteQueryOptions extends QueryOptions {
3319
3247
  constructor(fields, queryArgs) {
3320
3248
  super(WebsiteEntityName, fields, queryArgs);
@@ -3376,6 +3304,10 @@ class WebsiteQueryOptions extends QueryOptions {
3376
3304
  this.addField("description");
3377
3305
  return this;
3378
3306
  }
3307
+ title() {
3308
+ this.addField("title");
3309
+ return this;
3310
+ }
3379
3311
  websiteType(options) {
3380
3312
  if (Array.isArray(options)) {
3381
3313
  this._associations["websiteType"] = new WebsiteTypeQueryOptions(options);
@@ -3404,18 +3336,6 @@ class WebsiteQueryOptions extends QueryOptions {
3404
3336
  this._aggregates["usersAggregate"] = aggregate;
3405
3337
  return this;
3406
3338
  }
3407
- partsOfWebsiteSettings(options) {
3408
- if (Array.isArray(options)) {
3409
- this._associations["partsOfWebsiteSettings"] = new WebsiteSettingsQueryOptions(options);
3410
- } else {
3411
- this._associations["partsOfWebsiteSettings"] = options || new WebsiteSettingsQueryOptions(["id"]);
3412
- }
3413
- return this;
3414
- }
3415
- partsOfWebsiteSettingsAggregate(aggregate) {
3416
- this._aggregates["partsOfWebsiteSettingsAggregate"] = aggregate;
3417
- return this;
3418
- }
3419
3339
  partsOfMediaFolder(options) {
3420
3340
  if (Array.isArray(options)) {
3421
3341
  this._associations["partsOfMediaFolder"] = new MediaFolderQueryOptions(options);
@@ -3576,78 +3496,193 @@ class WebsiteQueryOptions extends QueryOptions {
3576
3496
  }
3577
3497
  return this;
3578
3498
  }
3499
+ settings(options) {
3500
+ if (Array.isArray(options)) {
3501
+ this._associations["settings"] = new WebsiteSettingsQueryOptions(options);
3502
+ } else {
3503
+ this._associations["settings"] = options || new WebsiteSettingsQueryOptions(["id"]);
3504
+ }
3505
+ return this;
3506
+ }
3507
+ changelogs(options) {
3508
+ if (Array.isArray(options)) {
3509
+ this._associations["changelogs"] = new ChangeLogQueryOptions(options);
3510
+ } else {
3511
+ this._associations["changelogs"] = options || new ChangeLogQueryOptions(["id"]);
3512
+ }
3513
+ return this;
3514
+ }
3515
+ changelogsAggregate(aggregate) {
3516
+ this._aggregates["changelogsAggregate"] = aggregate;
3517
+ return this;
3518
+ }
3579
3519
  }
3580
- class WebsiteSettingsQueryOptions extends QueryOptions {
3520
+ class CustomerQueryOptions extends QueryOptions {
3581
3521
  constructor(fields, queryArgs) {
3582
- super(WebsiteSettingsEntityName, fields, queryArgs);
3522
+ super(CustomerEntityName, fields, queryArgs);
3583
3523
  }
3584
3524
  id() {
3585
3525
  this.addField("id");
3586
3526
  return this;
3587
3527
  }
3588
- /**
3589
- * 邮件配置
3590
- */
3591
- smtpConfig() {
3592
- this.addField("smtpConfig");
3528
+ company() {
3529
+ this.addField("company");
3593
3530
  return this;
3594
3531
  }
3595
- whatsapp() {
3596
- this.addField("whatsapp");
3532
+ createdAt() {
3533
+ this.addField("createdAt");
3597
3534
  return this;
3598
3535
  }
3599
- robots() {
3600
- this.addField("robots");
3536
+ updatedAt() {
3537
+ this.addField("updatedAt");
3601
3538
  return this;
3602
3539
  }
3603
- /**
3604
- * 站点名称
3605
- */
3606
- websiteName() {
3607
- this.addField("websiteName");
3540
+ content() {
3541
+ this.addField("content");
3608
3542
  return this;
3609
3543
  }
3610
3544
  /**
3611
- * 域名
3545
+ * 邮箱
3612
3546
  */
3613
- domain() {
3614
- this.addField("domain");
3547
+ email() {
3548
+ this.addField("email");
3615
3549
  return this;
3616
3550
  }
3617
3551
  /**
3618
- * 打开iRobots
3552
+ * 电话
3619
3553
  */
3620
- openRobots() {
3621
- this.addField("openRobots");
3554
+ tel() {
3555
+ this.addField("tel");
3622
3556
  return this;
3623
3557
  }
3624
3558
  /**
3625
- * 301映射表
3559
+ * 电话2
3626
3560
  */
3627
- map301() {
3628
- this.addField("map301");
3561
+ tel2() {
3562
+ this.addField("tel2");
3629
3563
  return this;
3630
3564
  }
3631
- headerCode() {
3632
- this.addField("headerCode");
3565
+ name() {
3566
+ this.addField("name");
3567
+ return this;
3568
+ }
3569
+ mobile() {
3570
+ this.addField("mobile");
3571
+ return this;
3572
+ }
3573
+ whatsApp() {
3574
+ this.addField("whatsApp");
3575
+ return this;
3576
+ }
3577
+ linkedIn() {
3578
+ this.addField("linkedIn");
3579
+ return this;
3580
+ }
3581
+ twitter() {
3582
+ this.addField("twitter");
3583
+ return this;
3584
+ }
3585
+ facebook() {
3586
+ this.addField("facebook");
3633
3587
  return this;
3634
3588
  }
3635
- footerCode() {
3636
- this.addField("footerCode");
3589
+ instagram() {
3590
+ this.addField("instagram");
3637
3591
  return this;
3638
3592
  }
3639
3593
  /**
3640
- * GA跟踪码
3594
+ * 简介
3641
3595
  */
3642
- gaTrackingId() {
3643
- this.addField("gaTrackingId");
3596
+ summary() {
3597
+ this.addField("summary");
3598
+ return this;
3599
+ }
3600
+ enquires(options) {
3601
+ if (Array.isArray(options)) {
3602
+ this._associations["enquires"] = new EnquiryQueryOptions(options);
3603
+ } else {
3604
+ this._associations["enquires"] = options || new EnquiryQueryOptions(["id"]);
3605
+ }
3606
+ return this;
3607
+ }
3608
+ enquiresAggregate(aggregate) {
3609
+ this._aggregates["enquiresAggregate"] = aggregate;
3610
+ return this;
3611
+ }
3612
+ lang(options) {
3613
+ if (Array.isArray(options)) {
3614
+ this._associations["lang"] = new LangQueryOptions(options);
3615
+ } else {
3616
+ this._associations["lang"] = options || new LangQueryOptions(["id"]);
3617
+ }
3618
+ return this;
3619
+ }
3620
+ website(options) {
3621
+ if (Array.isArray(options)) {
3622
+ this._associations["website"] = new WebsiteQueryOptions(options);
3623
+ } else {
3624
+ this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
3625
+ }
3626
+ return this;
3627
+ }
3628
+ }
3629
+ class EnquiryQueryOptions extends QueryOptions {
3630
+ constructor(fields, queryArgs) {
3631
+ super(EnquiryEntityName, fields, queryArgs);
3632
+ }
3633
+ id() {
3634
+ this.addField("id");
3635
+ return this;
3636
+ }
3637
+ title() {
3638
+ this.addField("title");
3639
+ return this;
3640
+ }
3641
+ company() {
3642
+ this.addField("company");
3643
+ return this;
3644
+ }
3645
+ name() {
3646
+ this.addField("name");
3647
+ return this;
3648
+ }
3649
+ email() {
3650
+ this.addField("email");
3651
+ return this;
3652
+ }
3653
+ message() {
3654
+ this.addField("message");
3655
+ return this;
3656
+ }
3657
+ fromUrl() {
3658
+ this.addField("fromUrl");
3659
+ return this;
3660
+ }
3661
+ formIp() {
3662
+ this.addField("formIp");
3663
+ return this;
3664
+ }
3665
+ userAgent() {
3666
+ this.addField("userAgent");
3644
3667
  return this;
3645
3668
  }
3646
3669
  /**
3647
- * 通知邮箱
3670
+ * 来源cta
3648
3671
  */
3649
- noticeEmail() {
3650
- this.addField("noticeEmail");
3672
+ fromCta() {
3673
+ this.addField("fromCta");
3674
+ return this;
3675
+ }
3676
+ read() {
3677
+ this.addField("read");
3678
+ return this;
3679
+ }
3680
+ spam() {
3681
+ this.addField("spam");
3682
+ return this;
3683
+ }
3684
+ mobile() {
3685
+ this.addField("mobile");
3651
3686
  return this;
3652
3687
  }
3653
3688
  createdAt() {
@@ -3670,6 +3705,14 @@ class WebsiteSettingsQueryOptions extends QueryOptions {
3670
3705
  }
3671
3706
  return this;
3672
3707
  }
3708
+ customer(options) {
3709
+ if (Array.isArray(options)) {
3710
+ this._associations["customer"] = new CustomerQueryOptions(options);
3711
+ } else {
3712
+ this._associations["customer"] = options || new CustomerQueryOptions(["id"]);
3713
+ }
3714
+ return this;
3715
+ }
3673
3716
  website(options) {
3674
3717
  if (Array.isArray(options)) {
3675
3718
  this._associations["website"] = new WebsiteQueryOptions(options);
@@ -3734,16 +3777,8 @@ class LangQueryOptions extends QueryOptions {
3734
3777
  this.addField("htmlLang");
3735
3778
  return this;
3736
3779
  }
3737
- webPartsOfWebsiteSettings(options) {
3738
- if (Array.isArray(options)) {
3739
- this._associations["webPartsOfWebsiteSettings"] = new WebsiteSettingsQueryOptions(options);
3740
- } else {
3741
- this._associations["webPartsOfWebsiteSettings"] = options || new WebsiteSettingsQueryOptions(["id"]);
3742
- }
3743
- return this;
3744
- }
3745
- webPartsOfWebsiteSettingsAggregate(aggregate) {
3746
- this._aggregates["webPartsOfWebsiteSettingsAggregate"] = aggregate;
3780
+ urlFragment() {
3781
+ this.addField("urlFragment");
3747
3782
  return this;
3748
3783
  }
3749
3784
  webPartsOfMediaFolder(options) {
@@ -4583,6 +4618,11 @@ const styleConfigEntry = {
4583
4618
  entityLabel: StyleConfigEntityLabel,
4584
4619
  toInput: styleConfigToInput
4585
4620
  };
4621
+ const changeLogEntry = {
4622
+ entityName: ChangeLogEntityName,
4623
+ entityLabel: ChangeLogEntityLabel,
4624
+ toInput: changeLogToInput
4625
+ };
4586
4626
  var UserFields = /* @__PURE__ */ ((UserFields2) => {
4587
4627
  UserFields2["id"] = "id";
4588
4628
  UserFields2["loginName"] = "loginName";
@@ -4711,6 +4751,7 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
4711
4751
  WebsiteFields2["updatedAt"] = "updatedAt";
4712
4752
  WebsiteFields2["updatedBy"] = "updatedBy";
4713
4753
  WebsiteFields2["description"] = "description";
4754
+ WebsiteFields2["title"] = "title";
4714
4755
  return WebsiteFields2;
4715
4756
  })(WebsiteFields || {});
4716
4757
  var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
@@ -4718,8 +4759,6 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
4718
4759
  WebsiteAssciations2["owner"] = "owner";
4719
4760
  WebsiteAssciations2["users"] = "users";
4720
4761
  WebsiteAssciations2["usersAggregate"] = "usersAggregate";
4721
- WebsiteAssciations2["partsOfWebsiteSettings"] = "partsOfWebsiteSettings";
4722
- WebsiteAssciations2["partsOfWebsiteSettingsAggregate"] = "partsOfWebsiteSettingsAggregate";
4723
4762
  WebsiteAssciations2["partsOfMediaFolder"] = "partsOfMediaFolder";
4724
4763
  WebsiteAssciations2["partsOfMediaFolderAggregate"] = "partsOfMediaFolderAggregate";
4725
4764
  WebsiteAssciations2["partsOfEnquiry"] = "partsOfEnquiry";
@@ -4746,6 +4785,9 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
4746
4785
  WebsiteAssciations2["themes"] = "themes";
4747
4786
  WebsiteAssciations2["themesAggregate"] = "themesAggregate";
4748
4787
  WebsiteAssciations2["analyticsConfig"] = "analyticsConfig";
4788
+ WebsiteAssciations2["settings"] = "settings";
4789
+ WebsiteAssciations2["changelogs"] = "changelogs";
4790
+ WebsiteAssciations2["changelogsAggregate"] = "changelogsAggregate";
4749
4791
  return WebsiteAssciations2;
4750
4792
  })(WebsiteAssciations || {});
4751
4793
  var LangFields = /* @__PURE__ */ ((LangFields2) => {
@@ -4758,11 +4800,10 @@ var LangFields = /* @__PURE__ */ ((LangFields2) => {
4758
4800
  LangFields2["circleIcon"] = "circleIcon";
4759
4801
  LangFields2["cnName"] = "cnName";
4760
4802
  LangFields2["htmlLang"] = "htmlLang";
4803
+ LangFields2["urlFragment"] = "urlFragment";
4761
4804
  return LangFields2;
4762
4805
  })(LangFields || {});
4763
4806
  var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
4764
- LangAssciations2["webPartsOfWebsiteSettings"] = "webPartsOfWebsiteSettings";
4765
- LangAssciations2["webPartsOfWebsiteSettingsAggregate"] = "webPartsOfWebsiteSettingsAggregate";
4766
4807
  LangAssciations2["webPartsOfMediaFolder"] = "webPartsOfMediaFolder";
4767
4808
  LangAssciations2["webPartsOfMediaFolderAggregate"] = "webPartsOfMediaFolderAggregate";
4768
4809
  LangAssciations2["webPartsOfEnquiry"] = "webPartsOfEnquiry";
@@ -4905,6 +4946,7 @@ var EnquiryFields = /* @__PURE__ */ ((EnquiryFields2) => {
4905
4946
  EnquiryFields2["fromCta"] = "fromCta";
4906
4947
  EnquiryFields2["read"] = "read";
4907
4948
  EnquiryFields2["spam"] = "spam";
4949
+ EnquiryFields2["mobile"] = "mobile";
4908
4950
  EnquiryFields2["createdAt"] = "createdAt";
4909
4951
  EnquiryFields2["updatedAt"] = "updatedAt";
4910
4952
  EnquiryFields2["content"] = "content";
@@ -4919,23 +4961,14 @@ var EnquiryAssciations = /* @__PURE__ */ ((EnquiryAssciations2) => {
4919
4961
  var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
4920
4962
  WebsiteSettingsFields2["id"] = "id";
4921
4963
  WebsiteSettingsFields2["smtpConfig"] = "smtpConfig";
4922
- WebsiteSettingsFields2["whatsapp"] = "whatsapp";
4923
- WebsiteSettingsFields2["robots"] = "robots";
4924
- WebsiteSettingsFields2["websiteName"] = "websiteName";
4925
- WebsiteSettingsFields2["domain"] = "domain";
4926
- WebsiteSettingsFields2["openRobots"] = "openRobots";
4927
- WebsiteSettingsFields2["map301"] = "map301";
4928
- WebsiteSettingsFields2["headerCode"] = "headerCode";
4929
- WebsiteSettingsFields2["footerCode"] = "footerCode";
4930
- WebsiteSettingsFields2["gaTrackingId"] = "gaTrackingId";
4931
4964
  WebsiteSettingsFields2["noticeEmail"] = "noticeEmail";
4965
+ WebsiteSettingsFields2["useCustomizedSmtp"] = "useCustomizedSmtp";
4932
4966
  WebsiteSettingsFields2["createdAt"] = "createdAt";
4933
4967
  WebsiteSettingsFields2["updatedAt"] = "updatedAt";
4934
- WebsiteSettingsFields2["content"] = "content";
4968
+ WebsiteSettingsFields2["replyToEmail"] = "replyToEmail";
4935
4969
  return WebsiteSettingsFields2;
4936
4970
  })(WebsiteSettingsFields || {});
4937
4971
  var WebsiteSettingsAssciations = /* @__PURE__ */ ((WebsiteSettingsAssciations2) => {
4938
- WebsiteSettingsAssciations2["lang"] = "lang";
4939
4972
  WebsiteSettingsAssciations2["website"] = "website";
4940
4973
  return WebsiteSettingsAssciations2;
4941
4974
  })(WebsiteSettingsAssciations || {});
@@ -5186,6 +5219,13 @@ var ThemeConfigFields = /* @__PURE__ */ ((ThemeConfigFields2) => {
5186
5219
  ThemeConfigFields2["fax"] = "fax";
5187
5220
  ThemeConfigFields2["mobile"] = "mobile";
5188
5221
  ThemeConfigFields2["wechat"] = "wechat";
5222
+ ThemeConfigFields2["domain"] = "domain";
5223
+ ThemeConfigFields2["svgIcon"] = "svgIcon";
5224
+ ThemeConfigFields2["themeColor"] = "themeColor";
5225
+ ThemeConfigFields2["pngIcon"] = "pngIcon";
5226
+ ThemeConfigFields2["icoIcon"] = "icoIcon";
5227
+ ThemeConfigFields2["appleTouchIcon"] = "appleTouchIcon";
5228
+ ThemeConfigFields2["redirects"] = "redirects";
5189
5229
  return ThemeConfigFields2;
5190
5230
  })(ThemeConfigFields || {});
5191
5231
  var ThemeConfigAssciations = /* @__PURE__ */ ((ThemeConfigAssciations2) => {
@@ -5289,6 +5329,17 @@ var StyleConfigAssciations = /* @__PURE__ */ ((StyleConfigAssciations2) => {
5289
5329
  StyleConfigAssciations2["theme"] = "theme";
5290
5330
  return StyleConfigAssciations2;
5291
5331
  })(StyleConfigAssciations || {});
5332
+ var ChangeLogFields = /* @__PURE__ */ ((ChangeLogFields2) => {
5333
+ ChangeLogFields2["id"] = "id";
5334
+ ChangeLogFields2["title"] = "title";
5335
+ ChangeLogFields2["description"] = "description";
5336
+ ChangeLogFields2["createdAt"] = "createdAt";
5337
+ return ChangeLogFields2;
5338
+ })(ChangeLogFields || {});
5339
+ var ChangeLogAssciations = /* @__PURE__ */ ((ChangeLogAssciations2) => {
5340
+ ChangeLogAssciations2["website"] = "website";
5341
+ return ChangeLogAssciations2;
5342
+ })(ChangeLogAssciations || {});
5292
5343
  export {
5293
5344
  AbilityAssciations,
5294
5345
  AbilityDistinctEnum,
@@ -5309,12 +5360,19 @@ export {
5309
5360
  AttachmentOnProductEntityName,
5310
5361
  AttachmentOnProductFields,
5311
5362
  AttachmentOnProductQueryOptions,
5363
+ ChangeLogAssciations,
5364
+ ChangeLogDistinctEnum,
5365
+ ChangeLogEntityLabel,
5366
+ ChangeLogEntityName,
5367
+ ChangeLogFields,
5368
+ ChangeLogQueryOptions,
5312
5369
  ComponentCategoryAssciations,
5313
5370
  ComponentCategoryDistinctEnum,
5314
5371
  ComponentCategoryEntityLabel,
5315
5372
  ComponentCategoryEntityName,
5316
5373
  ComponentCategoryFields,
5317
5374
  ComponentCategoryQueryOptions,
5375
+ CookieConsentStrategy,
5318
5376
  CustomerAssciations,
5319
5377
  CustomerDistinctEnum,
5320
5378
  CustomerEntityLabel,
@@ -5516,6 +5574,9 @@ export {
5516
5574
  attachmentOnProductEntry,
5517
5575
  attachmentOnProductToInput,
5518
5576
  attachmentOnProductToInputCascade,
5577
+ changeLogEntry,
5578
+ changeLogToInput,
5579
+ changeLogToInputCascade,
5519
5580
  componentCategoryEntry,
5520
5581
  componentCategoryToInput,
5521
5582
  componentCategoryToInputCascade,