@tolinax/ayoune-interfaces 2026.40.0 → 2026.41.0

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.
@@ -41,6 +41,20 @@ export interface IModelAndRight {
41
41
  singular: string;
42
42
  module: string;
43
43
  right: string;
44
+ /**
45
+ * Additional rights beyond the default `right` + standard `.new|.edit|.delete`
46
+ * extensions. Use for scoped access variants where the base right grants full
47
+ * access and a child right grants a restricted slice.
48
+ *
49
+ * Example: Credentials has `right: "config.credentials"` (full access) plus
50
+ * `childRights: ["config.credentials.consumer"]` — the latter grants
51
+ * read-only access scoped to credentials whose `_consumerID` points to a
52
+ * consumer the user is linked to via editor/editors/team/g_* fields.
53
+ *
54
+ * Admin-rights UI SHOULD enumerate these alongside the base right so they
55
+ * can be granted independently.
56
+ */
57
+ childRights?: string[];
44
58
  readOnly: boolean;
45
59
  importable: boolean;
46
60
  allowDuplicate: boolean;
@@ -55,6 +69,7 @@ export interface IModelAndRight {
55
69
  piiLevel?: PIILevel;
56
70
  availableInSDK?: boolean;
57
71
  sdkOperations?: SDKOperation[];
72
+ allowStreaming?: boolean;
58
73
  }
59
74
  declare const modelsAndRights: IModelAndRight[];
60
75
  export default modelsAndRights;
@@ -762,6 +762,7 @@ const modelsAndRights = [
762
762
  allowDuplicate: false,
763
763
  updateBy: "_id",
764
764
  availableInSDK: false,
765
+ allowStreaming: true,
765
766
  },
766
767
  {
767
768
  plural: "Ads",
@@ -773,6 +774,7 @@ const modelsAndRights = [
773
774
  allowDuplicate: false,
774
775
  updateBy: "_id",
775
776
  availableInSDK: false,
777
+ allowStreaming: true,
776
778
  },
777
779
  {
778
780
  plural: "AdTypes",
@@ -2876,11 +2878,13 @@ const modelsAndRights = [
2876
2878
  singular: "Credential",
2877
2879
  module: "config",
2878
2880
  right: "config.credentials",
2881
+ childRights: ["config.credentials.consumer"],
2879
2882
  readOnly: false,
2880
2883
  importable: false,
2881
2884
  allowDuplicate: false,
2882
2885
  updateBy: "_id",
2883
2886
  availableInSDK: false,
2887
+ piiLevel: "high",
2884
2888
  },
2885
2889
  {
2886
2890
  plural: "Credits",
@@ -5217,6 +5221,7 @@ const modelsAndRights = [
5217
5221
  allowDuplicate: false,
5218
5222
  updateBy: "_id",
5219
5223
  availableInSDK: false,
5224
+ allowStreaming: true,
5220
5225
  },
5221
5226
  {
5222
5227
  plural: "Organics",
@@ -5228,6 +5233,7 @@ const modelsAndRights = [
5228
5233
  allowDuplicate: false,
5229
5234
  updateBy: "_id",
5230
5235
  availableInSDK: false,
5236
+ allowStreaming: true,
5231
5237
  },
5232
5238
  {
5233
5239
  plural: "OutgoingMails",
@@ -5730,6 +5736,7 @@ const modelsAndRights = [
5730
5736
  allowDuplicate: false,
5731
5737
  updateBy: "_id",
5732
5738
  availableInSDK: false,
5739
+ allowStreaming: true,
5733
5740
  },
5734
5741
  {
5735
5742
  plural: "ProductListingAdsResults",
@@ -5741,6 +5748,7 @@ const modelsAndRights = [
5741
5748
  allowDuplicate: false,
5742
5749
  updateBy: "_id",
5743
5750
  availableInSDK: false,
5751
+ allowStreaming: true,
5744
5752
  },
5745
5753
  {
5746
5754
  plural: "ProductLists",
@@ -6386,6 +6394,7 @@ const modelsAndRights = [
6386
6394
  allowDuplicate: false,
6387
6395
  updateBy: "_id",
6388
6396
  availableInSDK: false,
6397
+ allowStreaming: true,
6389
6398
  },
6390
6399
  {
6391
6400
  plural: "ServiceAssignments",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2026.40.0",
3
+ "version": "2026.41.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",