@tolinax/ayoune-interfaces 2026.31.0 → 2026.31.1

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.
@@ -11,7 +11,7 @@ export declare enum aMN {
11
11
  Ads = "Ads",
12
12
  AdTypes = "AdTypes",
13
13
  AdHijackers = "AdHijackers",
14
- AdHijackersChecks = "AdHijackersChecks",
14
+ AdHijackerChecks = "AdHijackerChecks",
15
15
  AdvertisementAssets = "AdvertisementAssets",
16
16
  Advertisements = "Advertisements",
17
17
  AdvertiserAPIs = "AdvertiserAPIs",
@@ -261,6 +261,7 @@ export declare enum aMN {
261
261
  Domains = "Domains",
262
262
  DownloadLogs = "DownloadLogs",
263
263
  Downloads = "Downloads",
264
+ DownloadViews = "DownloadViews",
264
265
  DownloadLists = "DownloadLists",
265
266
  Drafts = "Drafts",
266
267
  DynamicContents = "DynamicContents",
@@ -280,6 +281,7 @@ export declare enum aMN {
280
281
  EventMetas = "EventMetas",
281
282
  Events = "Events",
282
283
  EventWidgets = "EventWidgets",
284
+ EventWidgetViews = "EventWidgetViews",
283
285
  ExamResults = "ExamResults",
284
286
  Exams = "Exams",
285
287
  ExportConfigs = "ExportConfigs",
@@ -339,7 +341,6 @@ export declare enum aMN {
339
341
  ImportStatusReports = "ImportStatusReports",
340
342
  Impressions = "Impressions",
341
343
  IncomeInvoices = "IncomeInvoices",
342
- index = "index",
343
344
  Industries = "Industries",
344
345
  InputFeeds = "InputFeeds",
345
346
  Insurances = "Insurances",
@@ -15,7 +15,7 @@ var aMN;
15
15
  aMN["Ads"] = "Ads";
16
16
  aMN["AdTypes"] = "AdTypes";
17
17
  aMN["AdHijackers"] = "AdHijackers";
18
- aMN["AdHijackersChecks"] = "AdHijackersChecks";
18
+ aMN["AdHijackerChecks"] = "AdHijackerChecks";
19
19
  aMN["AdvertisementAssets"] = "AdvertisementAssets";
20
20
  aMN["Advertisements"] = "Advertisements";
21
21
  aMN["AdvertiserAPIs"] = "AdvertiserAPIs";
@@ -265,6 +265,7 @@ var aMN;
265
265
  aMN["Domains"] = "Domains";
266
266
  aMN["DownloadLogs"] = "DownloadLogs";
267
267
  aMN["Downloads"] = "Downloads";
268
+ aMN["DownloadViews"] = "DownloadViews";
268
269
  aMN["DownloadLists"] = "DownloadLists";
269
270
  aMN["Drafts"] = "Drafts";
270
271
  aMN["DynamicContents"] = "DynamicContents";
@@ -284,6 +285,7 @@ var aMN;
284
285
  aMN["EventMetas"] = "EventMetas";
285
286
  aMN["Events"] = "Events";
286
287
  aMN["EventWidgets"] = "EventWidgets";
288
+ aMN["EventWidgetViews"] = "EventWidgetViews";
287
289
  aMN["ExamResults"] = "ExamResults";
288
290
  aMN["Exams"] = "Exams";
289
291
  aMN["ExportConfigs"] = "ExportConfigs";
@@ -343,7 +345,6 @@ var aMN;
343
345
  aMN["ImportStatusReports"] = "ImportStatusReports";
344
346
  aMN["Impressions"] = "Impressions";
345
347
  aMN["IncomeInvoices"] = "IncomeInvoices";
346
- aMN["index"] = "index";
347
348
  aMN["Industries"] = "Industries";
348
349
  aMN["InputFeeds"] = "InputFeeds";
349
350
  aMN["Insurances"] = "Insurances";
@@ -242,6 +242,16 @@ const modelsAndRights = [
242
242
  allowDuplicate: false,
243
243
  updateBy: "_id",
244
244
  },
245
+ {
246
+ plural: "aYOUneKeywordKPIs",
247
+ singular: "aYOUneKeywordKPI",
248
+ module: "su",
249
+ right: "su.keywordkpis",
250
+ readOnly: true,
251
+ importable: false,
252
+ allowDuplicate: false,
253
+ updateBy: "_id",
254
+ },
245
255
  {
246
256
  plural: "aYOUneKeywordPreparations",
247
257
  singular: "aYOUneKeywordPreparation",
@@ -742,6 +752,26 @@ const modelsAndRights = [
742
752
  allowDuplicate: true,
743
753
  updateBy: "_id",
744
754
  },
755
+ {
756
+ plural: "AdvertiserWeeklyDomainKPIs",
757
+ singular: "AdvertiserWeeklyDomainKPI",
758
+ module: "monitoring",
759
+ right: "monitoring.advertiserweeklydomainkpis",
760
+ readOnly: true,
761
+ importable: false,
762
+ allowDuplicate: false,
763
+ updateBy: "_id",
764
+ },
765
+ {
766
+ plural: "AdvertiserWeeklyDomainKPIsByIndustries",
767
+ singular: "AdvertiserWeeklyDomainKPIByIndustry",
768
+ module: "monitoring",
769
+ right: "monitoring.advertiserweeklydomainkpisbyindustries",
770
+ readOnly: true,
771
+ importable: false,
772
+ allowDuplicate: false,
773
+ updateBy: "_id",
774
+ },
745
775
  {
746
776
  plural: "AdwordsLogs",
747
777
  singular: "AdwordsLog",
@@ -874,7 +904,7 @@ const modelsAndRights = [
874
904
  },
875
905
  {
876
906
  plural: "AIModelCatalog",
877
- singular: "AIModelCatalogEntry",
907
+ singular: "AIModelCatalog",
878
908
  module: "ai",
879
909
  right: "ai.aimodelcatalog",
880
910
  readOnly: false,
@@ -1651,7 +1681,7 @@ const modelsAndRights = [
1651
1681
  },
1652
1682
  {
1653
1683
  plural: "AutomationNodeTypes",
1654
- singular: "AutomationNodeType",
1684
+ singular: "AutomationNodeTypeCustom",
1655
1685
  module: "automation",
1656
1686
  right: "automation.automationnodetypes",
1657
1687
  readOnly: false,
@@ -4268,7 +4298,7 @@ const modelsAndRights = [
4268
4298
  },
4269
4299
  {
4270
4300
  plural: "MarketBudgetsByIndustries",
4271
- singular: "MarketBudgetsByIndustry",
4301
+ singular: "MarketBudgetByIndustry",
4272
4302
  module: "monitoring",
4273
4303
  right: "monitoring.marketbudgets",
4274
4304
  readOnly: true,
@@ -6064,6 +6094,16 @@ const modelsAndRights = [
6064
6094
  allowDuplicate: false,
6065
6095
  updateBy: "_id",
6066
6096
  },
6097
+ {
6098
+ plural: "SuperUserLogs",
6099
+ singular: "SuperUserLog",
6100
+ module: "su",
6101
+ right: "su.superuserlogs",
6102
+ readOnly: true,
6103
+ importable: false,
6104
+ allowDuplicate: false,
6105
+ updateBy: "_id",
6106
+ },
6067
6107
  {
6068
6108
  plural: "SupplierAgreements",
6069
6109
  singular: "SupplierAgreement",
@@ -3,6 +3,17 @@ export interface IDomain extends IDefaultFields {
3
3
  _customerID: ObjectId;
4
4
  _clientID?: ObjectId[];
5
5
  _subID?: ObjectId[];
6
+ /**
7
+ * Optional reference to a specific Website document.
8
+ *
9
+ * Used when one customer hosts multiple websites on different domains
10
+ * (e.g. tolinax.com for the company site and ayoune.com for the product
11
+ * site, both belonging to the tolinax UG customer). The consumer-app
12
+ * domain-resolver loads the targeted Website by id when this field is
13
+ * set; otherwise it falls back to the first Website found for the
14
+ * customer (legacy single-website behavior).
15
+ */
16
+ _websiteID?: ObjectId;
6
17
  domain?: string;
7
18
  ayoune?: {
8
19
  private?: string;
@@ -7,6 +7,17 @@ export interface IShoppingCart extends IDefaultFields {
7
7
  _receiver?: ObjectId;
8
8
  _clientID?: ObjectId[];
9
9
  _subID?: ObjectId[];
10
+ /**
11
+ * Anonymous-visitor session token.
12
+ *
13
+ * Set by the consumer-app webshop on the first add-to-cart of an
14
+ * unauthenticated visitor. Stored as an HttpOnly cookie (`ay_cart`) on
15
+ * the client and as `sessionToken` here on the server. When the visitor
16
+ * later signs in, the server merges the guest cart's positions into the
17
+ * user's cart and clears this field. Sparse Atlas index on this field
18
+ * + `status` for fast lookup.
19
+ */
20
+ sessionToken?: string;
10
21
  status: "new" | "processing" | "finished" | "canceled";
11
22
  positions: IPosition[];
12
23
  taxes: ITax[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2026.31.0",
3
+ "version": "2026.31.1",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",