@rxdrag/rxcms-models 0.3.48 → 0.3.49
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.
- package/dist/classes/LangQueryOptions.d.ts +1 -5
- package/dist/classes/ThemeConfigQueryOptions.d.ts +7 -0
- package/dist/classes/WebsiteQueryOptions.d.ts +4 -5
- package/dist/classes/WebsiteSettingsQueryOptions.d.ts +2 -28
- package/dist/fields/LangFields.d.ts +2 -3
- package/dist/fields/ThemeConfigFields.d.ts +8 -1
- package/dist/fields/WebsiteFields.d.ts +4 -4
- package/dist/fields/WebsiteSettingsFields.d.ts +2 -26
- package/dist/index.mjs +322 -359
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/CookieConsentStrategy.d.ts +10 -0
- package/dist/interfaces/GaConfig.d.ts +2 -0
- package/dist/interfaces/Lang.d.ts +1 -3
- package/dist/interfaces/LangBoolExp.d.ts +1 -2
- package/dist/interfaces/LangDistinctExp.d.ts +2 -1
- package/dist/interfaces/LangInput.d.ts +1 -2
- package/dist/interfaces/LangOrderBy.d.ts +1 -0
- package/dist/interfaces/SmtpConfig.d.ts +0 -4
- package/dist/interfaces/ThemeConfig.d.ts +7 -0
- package/dist/interfaces/ThemeConfigBoolExp.d.ts +7 -0
- package/dist/interfaces/ThemeConfigDistinctExp.d.ts +8 -1
- package/dist/interfaces/ThemeConfigInput.d.ts +7 -0
- package/dist/interfaces/ThemeConfigOrderBy.d.ts +7 -0
- package/dist/interfaces/Website.d.ts +3 -3
- package/dist/interfaces/WebsiteBoolExp.d.ts +3 -2
- package/dist/interfaces/WebsiteDistinctExp.d.ts +2 -1
- package/dist/interfaces/WebsiteInput.d.ts +3 -2
- package/dist/interfaces/WebsiteOrderBy.d.ts +1 -0
- package/dist/interfaces/WebsiteSettings.d.ts +5 -28
- package/dist/interfaces/WebsiteSettingsBoolExp.d.ts +6 -13
- package/dist/interfaces/WebsiteSettingsDistinctExp.d.ts +3 -27
- package/dist/interfaces/WebsiteSettingsInput.d.ts +5 -28
- package/dist/interfaces/WebsiteSettingsOrderBy.d.ts +5 -26
- package/dist/interfaces/index.d.ts +1 -0
- 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",
|
|
@@ -42,7 +41,6 @@ const aggregateEntities = {
|
|
|
42
41
|
themesAggregate: "Theme"
|
|
43
42
|
},
|
|
44
43
|
Lang: {
|
|
45
|
-
webPartsOfWebsiteSettingsAggregate: "WebsiteSettings",
|
|
46
44
|
webPartsOfMediaFolderAggregate: "MediaFolder",
|
|
47
45
|
webPartsOfEnquiryAggregate: "Enquiry",
|
|
48
46
|
webPartsOfProductAggregate: "Product",
|
|
@@ -296,41 +294,6 @@ const websiteTypeToInput = (entity) => {
|
|
|
296
294
|
websites: convertHasManyToInput(entity.websites)
|
|
297
295
|
};
|
|
298
296
|
};
|
|
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
297
|
const productCategoryToInputCascade = (entity) => {
|
|
335
298
|
var _a, _b;
|
|
336
299
|
const { childrenAggregate, productsAggregate, ...rest } = entity;
|
|
@@ -713,39 +676,50 @@ const analyticsConfigToInput = (entity) => {
|
|
|
713
676
|
website: convertHasOneToInput(entity.website)
|
|
714
677
|
};
|
|
715
678
|
};
|
|
679
|
+
const websiteSettingsToInputCascade = (entity) => {
|
|
680
|
+
return {
|
|
681
|
+
...entity,
|
|
682
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
const websiteSettingsToInput = (entity) => {
|
|
686
|
+
return {
|
|
687
|
+
...entity,
|
|
688
|
+
website: convertHasOneToInput(entity.website)
|
|
689
|
+
};
|
|
690
|
+
};
|
|
716
691
|
const websiteToInputCascade = (entity) => {
|
|
717
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m
|
|
718
|
-
const { usersAggregate,
|
|
692
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
693
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, ...rest } = entity;
|
|
719
694
|
return {
|
|
720
695
|
...rest,
|
|
721
696
|
websiteType: entity.websiteType ? processHasOneClear({ sync: websiteTypeToInput(entity.websiteType) }) : void 0,
|
|
722
697
|
owner: entity.owner ? processHasOneClear({ sync: userToInput(entity.owner) }) : void 0,
|
|
723
698
|
users: entity.users ? processHasManyClear({ sync: (_a = entity.users) == null ? void 0 : _a.map((ent) => userToInput(ent)) }) : void 0,
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
langs: entity.langs ? processHasManyClear({ sync: (_m = entity.langs) == null ? void 0 : _m.map((ent) => langToInput(ent)) }) : void 0,
|
|
699
|
+
partsOfMediaFolder: entity.partsOfMediaFolder ? processHasManyClear({ sync: (_b = entity.partsOfMediaFolder) == null ? void 0 : _b.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
700
|
+
partsOfEnquiry: entity.partsOfEnquiry ? processHasManyClear({ sync: (_c = entity.partsOfEnquiry) == null ? void 0 : _c.map((ent) => enquiryToInput(ent)) }) : void 0,
|
|
701
|
+
partsOfProduct: entity.partsOfProduct ? processHasManyClear({ sync: (_d = entity.partsOfProduct) == null ? void 0 : _d.map((ent) => productToInput(ent)) }) : void 0,
|
|
702
|
+
partsOfPost: entity.partsOfPost ? processHasManyClear({ sync: (_e = entity.partsOfPost) == null ? void 0 : _e.map((ent) => postToInput(ent)) }) : void 0,
|
|
703
|
+
partsOfPostCategory: entity.partsOfPostCategory ? processHasManyClear({ sync: (_f = entity.partsOfPostCategory) == null ? void 0 : _f.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
704
|
+
partsOfTag: entity.partsOfTag ? processHasManyClear({ sync: (_g = entity.partsOfTag) == null ? void 0 : _g.map((ent) => tagToInput(ent)) }) : void 0,
|
|
705
|
+
partsOfCustomer: entity.partsOfCustomer ? processHasManyClear({ sync: (_h = entity.partsOfCustomer) == null ? void 0 : _h.map((ent) => customerToInput(ent)) }) : void 0,
|
|
706
|
+
partsOfProductCategory: entity.partsOfProductCategory ? processHasManyClear({ sync: (_i = entity.partsOfProductCategory) == null ? void 0 : _i.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
707
|
+
partsOfSpamFilterRule: entity.partsOfSpamFilterRule ? processHasManyClear({ sync: (_j = entity.partsOfSpamFilterRule) == null ? void 0 : _j.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
708
|
+
partsOfMedia: entity.partsOfMedia ? processHasManyClear({ sync: (_k = entity.partsOfMedia) == null ? void 0 : _k.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
709
|
+
langs: entity.langs ? processHasManyClear({ sync: (_l = entity.langs) == null ? void 0 : _l.map((ent) => langToInput(ent)) }) : void 0,
|
|
736
710
|
baseLang: entity.baseLang ? processHasOneClear({ sync: langToInput(entity.baseLang) }) : void 0,
|
|
737
|
-
themes: entity.themes ? processHasManyClear({ sync: (
|
|
738
|
-
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0
|
|
711
|
+
themes: entity.themes ? processHasManyClear({ sync: (_m = entity.themes) == null ? void 0 : _m.map((ent) => themeToInput(ent)) }) : void 0,
|
|
712
|
+
analyticsConfig: entity.analyticsConfig ? processHasOneClear({ sync: analyticsConfigToInput(entity.analyticsConfig) }) : void 0,
|
|
713
|
+
settings: entity.settings ? processHasOneClear({ sync: websiteSettingsToInput(entity.settings) }) : void 0
|
|
739
714
|
};
|
|
740
715
|
};
|
|
741
716
|
const websiteToInput = (entity) => {
|
|
742
|
-
const { usersAggregate,
|
|
717
|
+
const { usersAggregate, partsOfMediaFolderAggregate, partsOfEnquiryAggregate, partsOfProductAggregate, partsOfPostAggregate, partsOfPostCategoryAggregate, partsOfTagAggregate, partsOfCustomerAggregate, partsOfProductCategoryAggregate, partsOfSpamFilterRuleAggregate, partsOfMediaAggregate, langsAggregate, themesAggregate, ...rest } = entity;
|
|
743
718
|
return {
|
|
744
719
|
...rest,
|
|
745
720
|
websiteType: convertHasOneToInput(entity.websiteType),
|
|
746
721
|
owner: convertHasOneToInput(entity.owner),
|
|
747
722
|
users: convertHasManyToInput(entity.users),
|
|
748
|
-
partsOfWebsiteSettings: convertHasManyToInput(entity.partsOfWebsiteSettings),
|
|
749
723
|
partsOfMediaFolder: convertHasManyToInput(entity.partsOfMediaFolder),
|
|
750
724
|
partsOfEnquiry: convertHasManyToInput(entity.partsOfEnquiry),
|
|
751
725
|
partsOfProduct: convertHasManyToInput(entity.partsOfProduct),
|
|
@@ -759,49 +733,69 @@ const websiteToInput = (entity) => {
|
|
|
759
733
|
langs: convertHasManyToInput(entity.langs),
|
|
760
734
|
baseLang: convertHasOneToInput(entity.baseLang),
|
|
761
735
|
themes: convertHasManyToInput(entity.themes),
|
|
762
|
-
analyticsConfig: convertHasOneToInput(entity.analyticsConfig)
|
|
736
|
+
analyticsConfig: convertHasOneToInput(entity.analyticsConfig),
|
|
737
|
+
settings: convertHasOneToInput(entity.settings)
|
|
763
738
|
};
|
|
764
739
|
};
|
|
765
|
-
const
|
|
740
|
+
const customerToInputCascade = (entity) => {
|
|
741
|
+
var _a;
|
|
742
|
+
const { enquiresAggregate, ...rest } = entity;
|
|
743
|
+
return {
|
|
744
|
+
...rest,
|
|
745
|
+
enquires: entity.enquires ? processHasManyClear({ sync: (_a = entity.enquires) == null ? void 0 : _a.map((ent) => enquiryToInput(ent)) }) : void 0,
|
|
746
|
+
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
747
|
+
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
const customerToInput = (entity) => {
|
|
751
|
+
const { enquiresAggregate, ...rest } = entity;
|
|
752
|
+
return {
|
|
753
|
+
...rest,
|
|
754
|
+
enquires: convertHasManyToInput(entity.enquires),
|
|
755
|
+
lang: convertHasOneToInput(entity.lang),
|
|
756
|
+
website: convertHasOneToInput(entity.website)
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
const enquiryToInputCascade = (entity) => {
|
|
766
760
|
return {
|
|
767
761
|
...entity,
|
|
768
762
|
lang: entity.lang ? processHasOneClear({ sync: langToInput(entity.lang) }) : void 0,
|
|
763
|
+
customer: entity.customer ? processHasOneClear({ sync: customerToInput(entity.customer) }) : void 0,
|
|
769
764
|
website: entity.website ? processHasOneClear({ sync: websiteToInput(entity.website) }) : void 0
|
|
770
765
|
};
|
|
771
766
|
};
|
|
772
|
-
const
|
|
767
|
+
const enquiryToInput = (entity) => {
|
|
773
768
|
return {
|
|
774
769
|
...entity,
|
|
775
770
|
lang: convertHasOneToInput(entity.lang),
|
|
771
|
+
customer: convertHasOneToInput(entity.customer),
|
|
776
772
|
website: convertHasOneToInput(entity.website)
|
|
777
773
|
};
|
|
778
774
|
};
|
|
779
775
|
const langToInputCascade = (entity) => {
|
|
780
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m
|
|
781
|
-
const {
|
|
776
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
777
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, ...rest } = entity;
|
|
782
778
|
return {
|
|
783
779
|
...rest,
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
themes: entity.themes ? processHasManyClear({ sync: (_n = entity.themes) == null ? void 0 : _n.map((ent) => themeToInput(ent)) }) : void 0
|
|
780
|
+
webPartsOfMediaFolder: entity.webPartsOfMediaFolder ? processHasManyClear({ sync: (_a = entity.webPartsOfMediaFolder) == null ? void 0 : _a.map((ent) => mediaFolderToInput(ent)) }) : void 0,
|
|
781
|
+
webPartsOfEnquiry: entity.webPartsOfEnquiry ? processHasManyClear({ sync: (_b = entity.webPartsOfEnquiry) == null ? void 0 : _b.map((ent) => enquiryToInput(ent)) }) : void 0,
|
|
782
|
+
webPartsOfProduct: entity.webPartsOfProduct ? processHasManyClear({ sync: (_c = entity.webPartsOfProduct) == null ? void 0 : _c.map((ent) => productToInput(ent)) }) : void 0,
|
|
783
|
+
webPartsOfPost: entity.webPartsOfPost ? processHasManyClear({ sync: (_d = entity.webPartsOfPost) == null ? void 0 : _d.map((ent) => postToInput(ent)) }) : void 0,
|
|
784
|
+
webPartsOfPostCategory: entity.webPartsOfPostCategory ? processHasManyClear({ sync: (_e = entity.webPartsOfPostCategory) == null ? void 0 : _e.map((ent) => postCategoryToInput(ent)) }) : void 0,
|
|
785
|
+
webPartsOfTag: entity.webPartsOfTag ? processHasManyClear({ sync: (_f = entity.webPartsOfTag) == null ? void 0 : _f.map((ent) => tagToInput(ent)) }) : void 0,
|
|
786
|
+
webPartsOfCustomer: entity.webPartsOfCustomer ? processHasManyClear({ sync: (_g = entity.webPartsOfCustomer) == null ? void 0 : _g.map((ent) => customerToInput(ent)) }) : void 0,
|
|
787
|
+
webPartsOfProductCategory: entity.webPartsOfProductCategory ? processHasManyClear({ sync: (_h = entity.webPartsOfProductCategory) == null ? void 0 : _h.map((ent) => productCategoryToInput(ent)) }) : void 0,
|
|
788
|
+
webPartsOfSpamFilterRule: entity.webPartsOfSpamFilterRule ? processHasManyClear({ sync: (_i = entity.webPartsOfSpamFilterRule) == null ? void 0 : _i.map((ent) => spamFilterRuleToInput(ent)) }) : void 0,
|
|
789
|
+
webPartsOfMedia: entity.webPartsOfMedia ? processHasManyClear({ sync: (_j = entity.webPartsOfMedia) == null ? void 0 : _j.map((ent) => mediaToInput(ent)) }) : void 0,
|
|
790
|
+
websites: entity.websites ? processHasManyClear({ sync: (_k = entity.websites) == null ? void 0 : _k.map((ent) => websiteToInput(ent)) }) : void 0,
|
|
791
|
+
baseLangOf: entity.baseLangOf ? processHasManyClear({ sync: (_l = entity.baseLangOf) == null ? void 0 : _l.map((ent) => websiteToInput(ent)) }) : void 0,
|
|
792
|
+
themes: entity.themes ? processHasManyClear({ sync: (_m = entity.themes) == null ? void 0 : _m.map((ent) => themeToInput(ent)) }) : void 0
|
|
798
793
|
};
|
|
799
794
|
};
|
|
800
795
|
const langToInput = (entity) => {
|
|
801
|
-
const {
|
|
796
|
+
const { webPartsOfMediaFolderAggregate, webPartsOfEnquiryAggregate, webPartsOfProductAggregate, webPartsOfPostAggregate, webPartsOfPostCategoryAggregate, webPartsOfTagAggregate, webPartsOfCustomerAggregate, webPartsOfProductCategoryAggregate, webPartsOfSpamFilterRuleAggregate, webPartsOfMediaAggregate, websitesAggregate, baseLangOfAggregate, themesAggregate, ...rest } = entity;
|
|
802
797
|
return {
|
|
803
798
|
...rest,
|
|
804
|
-
webPartsOfWebsiteSettings: convertHasManyToInput(entity.webPartsOfWebsiteSettings),
|
|
805
799
|
webPartsOfMediaFolder: convertHasManyToInput(entity.webPartsOfMediaFolder),
|
|
806
800
|
webPartsOfEnquiry: convertHasManyToInput(entity.webPartsOfEnquiry),
|
|
807
801
|
webPartsOfProduct: convertHasManyToInput(entity.webPartsOfProduct),
|
|
@@ -1037,6 +1031,7 @@ var WebsiteDistinctEnum = /* @__PURE__ */ ((WebsiteDistinctEnum2) => {
|
|
|
1037
1031
|
WebsiteDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1038
1032
|
WebsiteDistinctEnum2["updatedBy"] = "updatedBy";
|
|
1039
1033
|
WebsiteDistinctEnum2["description"] = "description";
|
|
1034
|
+
WebsiteDistinctEnum2["title"] = "title";
|
|
1040
1035
|
return WebsiteDistinctEnum2;
|
|
1041
1036
|
})(WebsiteDistinctEnum || {});
|
|
1042
1037
|
const LangEntityName = "Lang";
|
|
@@ -1051,6 +1046,7 @@ var LangDistinctEnum = /* @__PURE__ */ ((LangDistinctEnum2) => {
|
|
|
1051
1046
|
LangDistinctEnum2["circleIcon"] = "circleIcon";
|
|
1052
1047
|
LangDistinctEnum2["cnName"] = "cnName";
|
|
1053
1048
|
LangDistinctEnum2["htmlLang"] = "htmlLang";
|
|
1049
|
+
LangDistinctEnum2["urlFragment"] = "urlFragment";
|
|
1054
1050
|
return LangDistinctEnum2;
|
|
1055
1051
|
})(LangDistinctEnum || {});
|
|
1056
1052
|
const WebsiteTypeEntityName = "WebsiteType";
|
|
@@ -1152,19 +1148,11 @@ const WebsiteSettingsEntityLabel = "";
|
|
|
1152
1148
|
var WebsiteSettingsDistinctEnum = /* @__PURE__ */ ((WebsiteSettingsDistinctEnum2) => {
|
|
1153
1149
|
WebsiteSettingsDistinctEnum2["id"] = "id";
|
|
1154
1150
|
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
1151
|
WebsiteSettingsDistinctEnum2["noticeEmail"] = "noticeEmail";
|
|
1152
|
+
WebsiteSettingsDistinctEnum2["useCustomizedSmtp"] = "useCustomizedSmtp";
|
|
1165
1153
|
WebsiteSettingsDistinctEnum2["createdAt"] = "createdAt";
|
|
1166
1154
|
WebsiteSettingsDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1167
|
-
WebsiteSettingsDistinctEnum2["
|
|
1155
|
+
WebsiteSettingsDistinctEnum2["replyToEmail"] = "replyToEmail";
|
|
1168
1156
|
return WebsiteSettingsDistinctEnum2;
|
|
1169
1157
|
})(WebsiteSettingsDistinctEnum || {});
|
|
1170
1158
|
const ThemeEntityName = "Theme";
|
|
@@ -1464,6 +1452,13 @@ var ThemeConfigDistinctEnum = /* @__PURE__ */ ((ThemeConfigDistinctEnum2) => {
|
|
|
1464
1452
|
ThemeConfigDistinctEnum2["fax"] = "fax";
|
|
1465
1453
|
ThemeConfigDistinctEnum2["mobile"] = "mobile";
|
|
1466
1454
|
ThemeConfigDistinctEnum2["wechat"] = "wechat";
|
|
1455
|
+
ThemeConfigDistinctEnum2["domain"] = "domain";
|
|
1456
|
+
ThemeConfigDistinctEnum2["svgIcon"] = "svgIcon";
|
|
1457
|
+
ThemeConfigDistinctEnum2["themeColor"] = "themeColor";
|
|
1458
|
+
ThemeConfigDistinctEnum2["pngIcon"] = "pngIcon";
|
|
1459
|
+
ThemeConfigDistinctEnum2["icoIcon"] = "icoIcon";
|
|
1460
|
+
ThemeConfigDistinctEnum2["appleTouchIcon"] = "appleTouchIcon";
|
|
1461
|
+
ThemeConfigDistinctEnum2["redirects"] = "redirects";
|
|
1467
1462
|
return ThemeConfigDistinctEnum2;
|
|
1468
1463
|
})(ThemeConfigDistinctEnum || {});
|
|
1469
1464
|
const AnalyticsConfigEntityName = "AnalyticsConfig";
|
|
@@ -1543,6 +1538,11 @@ var StyleConfigDistinctEnum = /* @__PURE__ */ ((StyleConfigDistinctEnum2) => {
|
|
|
1543
1538
|
StyleConfigDistinctEnum2["updatedAt"] = "updatedAt";
|
|
1544
1539
|
return StyleConfigDistinctEnum2;
|
|
1545
1540
|
})(StyleConfigDistinctEnum || {});
|
|
1541
|
+
var CookieConsentStrategy = /* @__PURE__ */ ((CookieConsentStrategy2) => {
|
|
1542
|
+
CookieConsentStrategy2["EU_ONLY"] = "EU_ONLY";
|
|
1543
|
+
CookieConsentStrategy2["ALWAYS_SHOW"] = "ALWAYS_SHOW";
|
|
1544
|
+
return CookieConsentStrategy2;
|
|
1545
|
+
})(CookieConsentStrategy || {});
|
|
1546
1546
|
class RoleQueryOptions extends QueryOptions {
|
|
1547
1547
|
constructor(fields, queryArgs) {
|
|
1548
1548
|
super(RoleEntityName, fields, queryArgs);
|
|
@@ -1653,207 +1653,6 @@ class WebsiteTypeQueryOptions extends QueryOptions {
|
|
|
1653
1653
|
return this;
|
|
1654
1654
|
}
|
|
1655
1655
|
}
|
|
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
1656
|
class ProductCategoryQueryOptions extends QueryOptions {
|
|
1858
1657
|
constructor(fields, queryArgs) {
|
|
1859
1658
|
super(ProductCategoryEntityName, fields, queryArgs);
|
|
@@ -2113,6 +1912,34 @@ class ThemeConfigQueryOptions extends QueryOptions {
|
|
|
2113
1912
|
this.addField("wechat");
|
|
2114
1913
|
return this;
|
|
2115
1914
|
}
|
|
1915
|
+
domain() {
|
|
1916
|
+
this.addField("domain");
|
|
1917
|
+
return this;
|
|
1918
|
+
}
|
|
1919
|
+
svgIcon() {
|
|
1920
|
+
this.addField("svgIcon");
|
|
1921
|
+
return this;
|
|
1922
|
+
}
|
|
1923
|
+
themeColor() {
|
|
1924
|
+
this.addField("themeColor");
|
|
1925
|
+
return this;
|
|
1926
|
+
}
|
|
1927
|
+
pngIcon() {
|
|
1928
|
+
this.addField("pngIcon");
|
|
1929
|
+
return this;
|
|
1930
|
+
}
|
|
1931
|
+
icoIcon() {
|
|
1932
|
+
this.addField("icoIcon");
|
|
1933
|
+
return this;
|
|
1934
|
+
}
|
|
1935
|
+
appleTouchIcon() {
|
|
1936
|
+
this.addField("appleTouchIcon");
|
|
1937
|
+
return this;
|
|
1938
|
+
}
|
|
1939
|
+
redirects() {
|
|
1940
|
+
this.addField("redirects");
|
|
1941
|
+
return this;
|
|
1942
|
+
}
|
|
2116
1943
|
contactAvatar(options) {
|
|
2117
1944
|
if (Array.isArray(options)) {
|
|
2118
1945
|
this._associations["contactAvatar"] = new MediaQueryOptions(options);
|
|
@@ -3315,6 +3142,53 @@ class AnalyticsConfigQueryOptions extends QueryOptions {
|
|
|
3315
3142
|
return this;
|
|
3316
3143
|
}
|
|
3317
3144
|
}
|
|
3145
|
+
class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
3146
|
+
constructor(fields, queryArgs) {
|
|
3147
|
+
super(WebsiteSettingsEntityName, fields, queryArgs);
|
|
3148
|
+
}
|
|
3149
|
+
id() {
|
|
3150
|
+
this.addField("id");
|
|
3151
|
+
return this;
|
|
3152
|
+
}
|
|
3153
|
+
/**
|
|
3154
|
+
* 邮件配置
|
|
3155
|
+
*/
|
|
3156
|
+
smtpConfig() {
|
|
3157
|
+
this.addField("smtpConfig");
|
|
3158
|
+
return this;
|
|
3159
|
+
}
|
|
3160
|
+
/**
|
|
3161
|
+
* 通知邮箱
|
|
3162
|
+
*/
|
|
3163
|
+
noticeEmail() {
|
|
3164
|
+
this.addField("noticeEmail");
|
|
3165
|
+
return this;
|
|
3166
|
+
}
|
|
3167
|
+
useCustomizedSmtp() {
|
|
3168
|
+
this.addField("useCustomizedSmtp");
|
|
3169
|
+
return this;
|
|
3170
|
+
}
|
|
3171
|
+
createdAt() {
|
|
3172
|
+
this.addField("createdAt");
|
|
3173
|
+
return this;
|
|
3174
|
+
}
|
|
3175
|
+
updatedAt() {
|
|
3176
|
+
this.addField("updatedAt");
|
|
3177
|
+
return this;
|
|
3178
|
+
}
|
|
3179
|
+
replyToEmail() {
|
|
3180
|
+
this.addField("replyToEmail");
|
|
3181
|
+
return this;
|
|
3182
|
+
}
|
|
3183
|
+
website(options) {
|
|
3184
|
+
if (Array.isArray(options)) {
|
|
3185
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3186
|
+
} else {
|
|
3187
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3188
|
+
}
|
|
3189
|
+
return this;
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3318
3192
|
class WebsiteQueryOptions extends QueryOptions {
|
|
3319
3193
|
constructor(fields, queryArgs) {
|
|
3320
3194
|
super(WebsiteEntityName, fields, queryArgs);
|
|
@@ -3376,6 +3250,10 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3376
3250
|
this.addField("description");
|
|
3377
3251
|
return this;
|
|
3378
3252
|
}
|
|
3253
|
+
title() {
|
|
3254
|
+
this.addField("title");
|
|
3255
|
+
return this;
|
|
3256
|
+
}
|
|
3379
3257
|
websiteType(options) {
|
|
3380
3258
|
if (Array.isArray(options)) {
|
|
3381
3259
|
this._associations["websiteType"] = new WebsiteTypeQueryOptions(options);
|
|
@@ -3404,18 +3282,6 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3404
3282
|
this._aggregates["usersAggregate"] = aggregate;
|
|
3405
3283
|
return this;
|
|
3406
3284
|
}
|
|
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
3285
|
partsOfMediaFolder(options) {
|
|
3420
3286
|
if (Array.isArray(options)) {
|
|
3421
3287
|
this._associations["partsOfMediaFolder"] = new MediaFolderQueryOptions(options);
|
|
@@ -3576,78 +3442,177 @@ class WebsiteQueryOptions extends QueryOptions {
|
|
|
3576
3442
|
}
|
|
3577
3443
|
return this;
|
|
3578
3444
|
}
|
|
3445
|
+
settings(options) {
|
|
3446
|
+
if (Array.isArray(options)) {
|
|
3447
|
+
this._associations["settings"] = new WebsiteSettingsQueryOptions(options);
|
|
3448
|
+
} else {
|
|
3449
|
+
this._associations["settings"] = options || new WebsiteSettingsQueryOptions(["id"]);
|
|
3450
|
+
}
|
|
3451
|
+
return this;
|
|
3452
|
+
}
|
|
3579
3453
|
}
|
|
3580
|
-
class
|
|
3454
|
+
class CustomerQueryOptions extends QueryOptions {
|
|
3581
3455
|
constructor(fields, queryArgs) {
|
|
3582
|
-
super(
|
|
3456
|
+
super(CustomerEntityName, fields, queryArgs);
|
|
3583
3457
|
}
|
|
3584
3458
|
id() {
|
|
3585
3459
|
this.addField("id");
|
|
3586
3460
|
return this;
|
|
3587
3461
|
}
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
*/
|
|
3591
|
-
smtpConfig() {
|
|
3592
|
-
this.addField("smtpConfig");
|
|
3462
|
+
company() {
|
|
3463
|
+
this.addField("company");
|
|
3593
3464
|
return this;
|
|
3594
3465
|
}
|
|
3595
|
-
|
|
3596
|
-
this.addField("
|
|
3466
|
+
createdAt() {
|
|
3467
|
+
this.addField("createdAt");
|
|
3597
3468
|
return this;
|
|
3598
3469
|
}
|
|
3599
|
-
|
|
3600
|
-
this.addField("
|
|
3470
|
+
updatedAt() {
|
|
3471
|
+
this.addField("updatedAt");
|
|
3601
3472
|
return this;
|
|
3602
3473
|
}
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
*/
|
|
3606
|
-
websiteName() {
|
|
3607
|
-
this.addField("websiteName");
|
|
3474
|
+
content() {
|
|
3475
|
+
this.addField("content");
|
|
3608
3476
|
return this;
|
|
3609
3477
|
}
|
|
3610
3478
|
/**
|
|
3611
|
-
*
|
|
3479
|
+
* 邮箱
|
|
3612
3480
|
*/
|
|
3613
|
-
|
|
3614
|
-
this.addField("
|
|
3481
|
+
email() {
|
|
3482
|
+
this.addField("email");
|
|
3615
3483
|
return this;
|
|
3616
3484
|
}
|
|
3617
3485
|
/**
|
|
3618
|
-
*
|
|
3486
|
+
* 电话
|
|
3619
3487
|
*/
|
|
3620
|
-
|
|
3621
|
-
this.addField("
|
|
3488
|
+
tel() {
|
|
3489
|
+
this.addField("tel");
|
|
3622
3490
|
return this;
|
|
3623
3491
|
}
|
|
3624
3492
|
/**
|
|
3625
|
-
*
|
|
3493
|
+
* 电话2
|
|
3626
3494
|
*/
|
|
3627
|
-
|
|
3628
|
-
this.addField("
|
|
3495
|
+
tel2() {
|
|
3496
|
+
this.addField("tel2");
|
|
3497
|
+
return this;
|
|
3498
|
+
}
|
|
3499
|
+
name() {
|
|
3500
|
+
this.addField("name");
|
|
3501
|
+
return this;
|
|
3502
|
+
}
|
|
3503
|
+
mobile() {
|
|
3504
|
+
this.addField("mobile");
|
|
3505
|
+
return this;
|
|
3506
|
+
}
|
|
3507
|
+
whatsApp() {
|
|
3508
|
+
this.addField("whatsApp");
|
|
3509
|
+
return this;
|
|
3510
|
+
}
|
|
3511
|
+
linkedIn() {
|
|
3512
|
+
this.addField("linkedIn");
|
|
3513
|
+
return this;
|
|
3514
|
+
}
|
|
3515
|
+
twitter() {
|
|
3516
|
+
this.addField("twitter");
|
|
3629
3517
|
return this;
|
|
3630
3518
|
}
|
|
3631
|
-
|
|
3632
|
-
this.addField("
|
|
3519
|
+
facebook() {
|
|
3520
|
+
this.addField("facebook");
|
|
3633
3521
|
return this;
|
|
3634
3522
|
}
|
|
3635
|
-
|
|
3636
|
-
this.addField("
|
|
3523
|
+
instagram() {
|
|
3524
|
+
this.addField("instagram");
|
|
3637
3525
|
return this;
|
|
3638
3526
|
}
|
|
3639
3527
|
/**
|
|
3640
|
-
*
|
|
3528
|
+
* 简介
|
|
3641
3529
|
*/
|
|
3642
|
-
|
|
3643
|
-
this.addField("
|
|
3530
|
+
summary() {
|
|
3531
|
+
this.addField("summary");
|
|
3532
|
+
return this;
|
|
3533
|
+
}
|
|
3534
|
+
enquires(options) {
|
|
3535
|
+
if (Array.isArray(options)) {
|
|
3536
|
+
this._associations["enquires"] = new EnquiryQueryOptions(options);
|
|
3537
|
+
} else {
|
|
3538
|
+
this._associations["enquires"] = options || new EnquiryQueryOptions(["id"]);
|
|
3539
|
+
}
|
|
3540
|
+
return this;
|
|
3541
|
+
}
|
|
3542
|
+
enquiresAggregate(aggregate) {
|
|
3543
|
+
this._aggregates["enquiresAggregate"] = aggregate;
|
|
3544
|
+
return this;
|
|
3545
|
+
}
|
|
3546
|
+
lang(options) {
|
|
3547
|
+
if (Array.isArray(options)) {
|
|
3548
|
+
this._associations["lang"] = new LangQueryOptions(options);
|
|
3549
|
+
} else {
|
|
3550
|
+
this._associations["lang"] = options || new LangQueryOptions(["id"]);
|
|
3551
|
+
}
|
|
3552
|
+
return this;
|
|
3553
|
+
}
|
|
3554
|
+
website(options) {
|
|
3555
|
+
if (Array.isArray(options)) {
|
|
3556
|
+
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
3557
|
+
} else {
|
|
3558
|
+
this._associations["website"] = options || new WebsiteQueryOptions(["id"]);
|
|
3559
|
+
}
|
|
3560
|
+
return this;
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
class EnquiryQueryOptions extends QueryOptions {
|
|
3564
|
+
constructor(fields, queryArgs) {
|
|
3565
|
+
super(EnquiryEntityName, fields, queryArgs);
|
|
3566
|
+
}
|
|
3567
|
+
id() {
|
|
3568
|
+
this.addField("id");
|
|
3569
|
+
return this;
|
|
3570
|
+
}
|
|
3571
|
+
title() {
|
|
3572
|
+
this.addField("title");
|
|
3573
|
+
return this;
|
|
3574
|
+
}
|
|
3575
|
+
company() {
|
|
3576
|
+
this.addField("company");
|
|
3577
|
+
return this;
|
|
3578
|
+
}
|
|
3579
|
+
name() {
|
|
3580
|
+
this.addField("name");
|
|
3581
|
+
return this;
|
|
3582
|
+
}
|
|
3583
|
+
email() {
|
|
3584
|
+
this.addField("email");
|
|
3585
|
+
return this;
|
|
3586
|
+
}
|
|
3587
|
+
message() {
|
|
3588
|
+
this.addField("message");
|
|
3589
|
+
return this;
|
|
3590
|
+
}
|
|
3591
|
+
fromUrl() {
|
|
3592
|
+
this.addField("fromUrl");
|
|
3593
|
+
return this;
|
|
3594
|
+
}
|
|
3595
|
+
formIp() {
|
|
3596
|
+
this.addField("formIp");
|
|
3597
|
+
return this;
|
|
3598
|
+
}
|
|
3599
|
+
userAgent() {
|
|
3600
|
+
this.addField("userAgent");
|
|
3644
3601
|
return this;
|
|
3645
3602
|
}
|
|
3646
3603
|
/**
|
|
3647
|
-
*
|
|
3604
|
+
* 来源cta
|
|
3648
3605
|
*/
|
|
3649
|
-
|
|
3650
|
-
this.addField("
|
|
3606
|
+
fromCta() {
|
|
3607
|
+
this.addField("fromCta");
|
|
3608
|
+
return this;
|
|
3609
|
+
}
|
|
3610
|
+
read() {
|
|
3611
|
+
this.addField("read");
|
|
3612
|
+
return this;
|
|
3613
|
+
}
|
|
3614
|
+
spam() {
|
|
3615
|
+
this.addField("spam");
|
|
3651
3616
|
return this;
|
|
3652
3617
|
}
|
|
3653
3618
|
createdAt() {
|
|
@@ -3670,6 +3635,14 @@ class WebsiteSettingsQueryOptions extends QueryOptions {
|
|
|
3670
3635
|
}
|
|
3671
3636
|
return this;
|
|
3672
3637
|
}
|
|
3638
|
+
customer(options) {
|
|
3639
|
+
if (Array.isArray(options)) {
|
|
3640
|
+
this._associations["customer"] = new CustomerQueryOptions(options);
|
|
3641
|
+
} else {
|
|
3642
|
+
this._associations["customer"] = options || new CustomerQueryOptions(["id"]);
|
|
3643
|
+
}
|
|
3644
|
+
return this;
|
|
3645
|
+
}
|
|
3673
3646
|
website(options) {
|
|
3674
3647
|
if (Array.isArray(options)) {
|
|
3675
3648
|
this._associations["website"] = new WebsiteQueryOptions(options);
|
|
@@ -3734,16 +3707,8 @@ class LangQueryOptions extends QueryOptions {
|
|
|
3734
3707
|
this.addField("htmlLang");
|
|
3735
3708
|
return this;
|
|
3736
3709
|
}
|
|
3737
|
-
|
|
3738
|
-
|
|
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;
|
|
3710
|
+
urlFragment() {
|
|
3711
|
+
this.addField("urlFragment");
|
|
3747
3712
|
return this;
|
|
3748
3713
|
}
|
|
3749
3714
|
webPartsOfMediaFolder(options) {
|
|
@@ -4711,6 +4676,7 @@ var WebsiteFields = /* @__PURE__ */ ((WebsiteFields2) => {
|
|
|
4711
4676
|
WebsiteFields2["updatedAt"] = "updatedAt";
|
|
4712
4677
|
WebsiteFields2["updatedBy"] = "updatedBy";
|
|
4713
4678
|
WebsiteFields2["description"] = "description";
|
|
4679
|
+
WebsiteFields2["title"] = "title";
|
|
4714
4680
|
return WebsiteFields2;
|
|
4715
4681
|
})(WebsiteFields || {});
|
|
4716
4682
|
var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
@@ -4718,8 +4684,6 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
4718
4684
|
WebsiteAssciations2["owner"] = "owner";
|
|
4719
4685
|
WebsiteAssciations2["users"] = "users";
|
|
4720
4686
|
WebsiteAssciations2["usersAggregate"] = "usersAggregate";
|
|
4721
|
-
WebsiteAssciations2["partsOfWebsiteSettings"] = "partsOfWebsiteSettings";
|
|
4722
|
-
WebsiteAssciations2["partsOfWebsiteSettingsAggregate"] = "partsOfWebsiteSettingsAggregate";
|
|
4723
4687
|
WebsiteAssciations2["partsOfMediaFolder"] = "partsOfMediaFolder";
|
|
4724
4688
|
WebsiteAssciations2["partsOfMediaFolderAggregate"] = "partsOfMediaFolderAggregate";
|
|
4725
4689
|
WebsiteAssciations2["partsOfEnquiry"] = "partsOfEnquiry";
|
|
@@ -4746,6 +4710,7 @@ var WebsiteAssciations = /* @__PURE__ */ ((WebsiteAssciations2) => {
|
|
|
4746
4710
|
WebsiteAssciations2["themes"] = "themes";
|
|
4747
4711
|
WebsiteAssciations2["themesAggregate"] = "themesAggregate";
|
|
4748
4712
|
WebsiteAssciations2["analyticsConfig"] = "analyticsConfig";
|
|
4713
|
+
WebsiteAssciations2["settings"] = "settings";
|
|
4749
4714
|
return WebsiteAssciations2;
|
|
4750
4715
|
})(WebsiteAssciations || {});
|
|
4751
4716
|
var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
@@ -4758,11 +4723,10 @@ var LangFields = /* @__PURE__ */ ((LangFields2) => {
|
|
|
4758
4723
|
LangFields2["circleIcon"] = "circleIcon";
|
|
4759
4724
|
LangFields2["cnName"] = "cnName";
|
|
4760
4725
|
LangFields2["htmlLang"] = "htmlLang";
|
|
4726
|
+
LangFields2["urlFragment"] = "urlFragment";
|
|
4761
4727
|
return LangFields2;
|
|
4762
4728
|
})(LangFields || {});
|
|
4763
4729
|
var LangAssciations = /* @__PURE__ */ ((LangAssciations2) => {
|
|
4764
|
-
LangAssciations2["webPartsOfWebsiteSettings"] = "webPartsOfWebsiteSettings";
|
|
4765
|
-
LangAssciations2["webPartsOfWebsiteSettingsAggregate"] = "webPartsOfWebsiteSettingsAggregate";
|
|
4766
4730
|
LangAssciations2["webPartsOfMediaFolder"] = "webPartsOfMediaFolder";
|
|
4767
4731
|
LangAssciations2["webPartsOfMediaFolderAggregate"] = "webPartsOfMediaFolderAggregate";
|
|
4768
4732
|
LangAssciations2["webPartsOfEnquiry"] = "webPartsOfEnquiry";
|
|
@@ -4919,23 +4883,14 @@ var EnquiryAssciations = /* @__PURE__ */ ((EnquiryAssciations2) => {
|
|
|
4919
4883
|
var WebsiteSettingsFields = /* @__PURE__ */ ((WebsiteSettingsFields2) => {
|
|
4920
4884
|
WebsiteSettingsFields2["id"] = "id";
|
|
4921
4885
|
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
4886
|
WebsiteSettingsFields2["noticeEmail"] = "noticeEmail";
|
|
4887
|
+
WebsiteSettingsFields2["useCustomizedSmtp"] = "useCustomizedSmtp";
|
|
4932
4888
|
WebsiteSettingsFields2["createdAt"] = "createdAt";
|
|
4933
4889
|
WebsiteSettingsFields2["updatedAt"] = "updatedAt";
|
|
4934
|
-
WebsiteSettingsFields2["
|
|
4890
|
+
WebsiteSettingsFields2["replyToEmail"] = "replyToEmail";
|
|
4935
4891
|
return WebsiteSettingsFields2;
|
|
4936
4892
|
})(WebsiteSettingsFields || {});
|
|
4937
4893
|
var WebsiteSettingsAssciations = /* @__PURE__ */ ((WebsiteSettingsAssciations2) => {
|
|
4938
|
-
WebsiteSettingsAssciations2["lang"] = "lang";
|
|
4939
4894
|
WebsiteSettingsAssciations2["website"] = "website";
|
|
4940
4895
|
return WebsiteSettingsAssciations2;
|
|
4941
4896
|
})(WebsiteSettingsAssciations || {});
|
|
@@ -5186,6 +5141,13 @@ var ThemeConfigFields = /* @__PURE__ */ ((ThemeConfigFields2) => {
|
|
|
5186
5141
|
ThemeConfigFields2["fax"] = "fax";
|
|
5187
5142
|
ThemeConfigFields2["mobile"] = "mobile";
|
|
5188
5143
|
ThemeConfigFields2["wechat"] = "wechat";
|
|
5144
|
+
ThemeConfigFields2["domain"] = "domain";
|
|
5145
|
+
ThemeConfigFields2["svgIcon"] = "svgIcon";
|
|
5146
|
+
ThemeConfigFields2["themeColor"] = "themeColor";
|
|
5147
|
+
ThemeConfigFields2["pngIcon"] = "pngIcon";
|
|
5148
|
+
ThemeConfigFields2["icoIcon"] = "icoIcon";
|
|
5149
|
+
ThemeConfigFields2["appleTouchIcon"] = "appleTouchIcon";
|
|
5150
|
+
ThemeConfigFields2["redirects"] = "redirects";
|
|
5189
5151
|
return ThemeConfigFields2;
|
|
5190
5152
|
})(ThemeConfigFields || {});
|
|
5191
5153
|
var ThemeConfigAssciations = /* @__PURE__ */ ((ThemeConfigAssciations2) => {
|
|
@@ -5315,6 +5277,7 @@ export {
|
|
|
5315
5277
|
ComponentCategoryEntityName,
|
|
5316
5278
|
ComponentCategoryFields,
|
|
5317
5279
|
ComponentCategoryQueryOptions,
|
|
5280
|
+
CookieConsentStrategy,
|
|
5318
5281
|
CustomerAssciations,
|
|
5319
5282
|
CustomerDistinctEnum,
|
|
5320
5283
|
CustomerEntityLabel,
|