@tolinax/ayoune-interfaces 2025.16.2 → 2025.16.4

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 (43) hide show
  1. package/data/index.d.ts +4 -0
  2. package/data/index.js +20 -0
  3. package/data/modelNames.d.ts +590 -0
  4. package/data/modelNames.js +594 -0
  5. package/data/modelsAndRights.d.ts +28 -0
  6. package/data/modelsAndRights.js +5904 -0
  7. package/data/modules.d.ts +8 -0
  8. package/data/modules.js +114 -0
  9. package/data/services.d.ts +8 -0
  10. package/data/services.js +137 -0
  11. package/index.d.ts +1 -0
  12. package/index.js +1 -0
  13. package/package.json +106 -106
  14. package/interfaces/CostBucketResult.d.ts +0 -40
  15. package/interfaces/CostBucketResult.js +0 -2
  16. package/interfaces/IAdvertiserDomainKPI.d.ts +0 -9
  17. package/interfaces/IAdvertiserDomainKPI.js +0 -2
  18. package/interfaces/IGeoIPLocation.d.ts +0 -17
  19. package/interfaces/IGeoIPLocation.js +0 -2
  20. package/interfaces/IGoogleAdsAccount.d.ts +0 -19
  21. package/interfaces/IGoogleAdsAccount.js +0 -2
  22. package/interfaces/IIABCategoryMappings.d.ts +0 -11
  23. package/interfaces/IIABCategoryMappings.js +0 -2
  24. package/interfaces/IIndustryBudget.d.ts +0 -22
  25. package/interfaces/IIndustryBudget.js +0 -2
  26. package/interfaces/IIndustryKPIs.d.ts +0 -20
  27. package/interfaces/IIndustryKPIs.js +0 -2
  28. package/interfaces/IModel.d.ts +0 -3
  29. package/interfaces/IModel.js +0 -2
  30. package/interfaces/IStreamPart.d.ts +0 -0
  31. package/interfaces/IStreamPart.js +0 -1
  32. package/interfaces/IValues.d.ts +0 -3
  33. package/interfaces/IValues.js +0 -2
  34. package/interfaces/IaYOUneAdvertisementLocation.d.ts +0 -12
  35. package/interfaces/IaYOUneAdvertisementLocation.js +0 -2
  36. package/interfaces/IaYOUneDomainMeta.d.ts +0 -6
  37. package/interfaces/IaYOUneDomainMeta.js +0 -2
  38. package/interfaces/IaYOUneKeywordKPIs.d.ts +0 -162
  39. package/interfaces/IaYOUneKeywordKPIs.js +0 -13
  40. package/interfaces/IaYOUneSocialAccounts.d.ts +0 -19
  41. package/interfaces/IaYOUneSocialAccounts.js +0 -2
  42. package/interfaces//303/216CostBucketResult.d.ts +0 -40
  43. package/interfaces//303/216CostBucketResult.js +0 -2
@@ -0,0 +1,8 @@
1
+ interface IaYOUneModule {
2
+ label: string;
3
+ module: string;
4
+ host: string;
5
+ }
6
+ declare const aYOUneModules: IaYOUneModule[];
7
+ export default aYOUneModules;
8
+ export { aYOUneModules };
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.aYOUneModules = void 0;
4
+ const aYOUneModules = [
5
+ {
6
+ label: "Artificial Intelligence",
7
+ module: "ai",
8
+ host: "ai.ayoune.app",
9
+ },
10
+ {
11
+ label: "Asset store",
12
+ module: "assetstore",
13
+ host: "assetstore.ayoune.app",
14
+ },
15
+ {
16
+ label: "Customer Relationship Management",
17
+ module: "crm",
18
+ host: "crm.ayoune.app",
19
+ },
20
+ {
21
+ label: "Project management",
22
+ module: "pm",
23
+ host: "pm.ayoune.app",
24
+ },
25
+ {
26
+ label: "Content management system",
27
+ module: "cms",
28
+ host: "cms.ayoune.app",
29
+ },
30
+ {
31
+ label: "Marketing",
32
+ module: "marketing",
33
+ host: "marketing.ayoune.app",
34
+ },
35
+ {
36
+ label: "Automation",
37
+ module: "automation",
38
+ host: "automation.ayoune.app",
39
+ },
40
+ { label: "Sale", module: "sale", host: "sale.ayoune.app" },
41
+ {
42
+ label: "Product information management",
43
+ module: "pim",
44
+ host: "pim.ayoune.app",
45
+ },
46
+ { label: "Hub", module: "hub", host: "hub.ayoune.app" },
47
+ {
48
+ label: "Human Resources",
49
+ module: "hr",
50
+ host: "hr.ayoune.app",
51
+ },
52
+ {
53
+ label: "Service Desk",
54
+ module: "service",
55
+ host: "service.ayoune.app",
56
+ },
57
+ {
58
+ label: "Purchase",
59
+ module: "purchase",
60
+ host: "purchase.ayoune.app",
61
+ },
62
+ {
63
+ label: "Accounting",
64
+ module: "accounting",
65
+ host: "accounting.ayoune.app",
66
+ },
67
+ {
68
+ label: "E Commerce",
69
+ module: "ecommerce",
70
+ host: "ecommerce.ayoune.app",
71
+ },
72
+ {
73
+ label: "Monitoring",
74
+ module: "monitoring",
75
+ host: "monitoring.ayoune.app",
76
+ },
77
+ {
78
+ label: "Research",
79
+ module: "research",
80
+ host: "research.ayoune.app",
81
+ },
82
+ {
83
+ label: "Production",
84
+ module: "production",
85
+ host: "production.ayoune.app",
86
+ },
87
+ {
88
+ label: "Affiliate",
89
+ module: "affiliate",
90
+ host: "affiliate.ayoune.app",
91
+ },
92
+ {
93
+ label: "Reporting",
94
+ module: "reporting",
95
+ host: "reporting.ayoune.app",
96
+ },
97
+ {
98
+ label: "Export",
99
+ module: "export",
100
+ host: "export.ayoune.app",
101
+ },
102
+ {
103
+ label: "Configuration",
104
+ module: "config",
105
+ host: "config.ayoune.app",
106
+ },
107
+ {
108
+ label: "Audit",
109
+ module: "audit",
110
+ host: "audit.ayoune.app",
111
+ },
112
+ ];
113
+ exports.aYOUneModules = aYOUneModules;
114
+ exports.default = aYOUneModules;
@@ -0,0 +1,8 @@
1
+ export interface IaYOUneService {
2
+ label: string;
3
+ module: string;
4
+ host: string;
5
+ }
6
+ declare const aYOUneServices: IaYOUneService[];
7
+ export default aYOUneServices;
8
+ export { aYOUneServices };
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.aYOUneServices = void 0;
4
+ const aYOUneServices = [
5
+ {
6
+ label: "Barcodes",
7
+ module: "global",
8
+ host: "bc.ayoune.app",
9
+ },
10
+ {
11
+ label: "Aggregation",
12
+ module: "global",
13
+ host: "aggregation.ayoune.app",
14
+ },
15
+ {
16
+ label: "Browser Automations",
17
+ module: "automation",
18
+ host: "browser-automations.ayoune.app",
19
+ },
20
+ {
21
+ label: "Datatables",
22
+ module: "global",
23
+ host: "datatables.ayoune.app",
24
+ },
25
+ {
26
+ label: "Exports",
27
+ module: "exports",
28
+ host: "exports.ayoune.app",
29
+ },
30
+ {
31
+ label: "Middleware",
32
+ module: "global",
33
+ host: "mw.ayoune.app",
34
+ },
35
+ {
36
+ label: "Replacer",
37
+ module: "global",
38
+ host: "replacer.ayoune.app",
39
+ },
40
+ {
41
+ label: "Services",
42
+ module: "services",
43
+ host: "services.ayoune.app",
44
+ },
45
+ {
46
+ label: "Endpoints",
47
+ module: "global",
48
+ host: "endpoints.ayoune.app",
49
+ },
50
+ {
51
+ label: "Gists",
52
+ module: "pm",
53
+ host: "gists.ayoune.app",
54
+ },
55
+ {
56
+ label: "Text to Speech",
57
+ module: "global",
58
+ host: "tts.ayoune.app",
59
+ },
60
+ {
61
+ label: "Statistics",
62
+ module: "metrics",
63
+ host: "stats.ayoune.app",
64
+ },
65
+ {
66
+ label: "Statistics",
67
+ module: "stats",
68
+ host: "stats.ayoune.app",
69
+ },
70
+ {
71
+ label: "Video Generation",
72
+ module: "cms",
73
+ host: "video-generation.ayoune.app",
74
+ },
75
+ {
76
+ label: "Image Generation",
77
+ module: "cms",
78
+ host: "image-generation.ayoune.app",
79
+ },
80
+ {
81
+ label: "Text Generation",
82
+ module: "text",
83
+ host: "text-generation.ayoune.app",
84
+ },
85
+ {
86
+ label: "Serp Html Archive",
87
+ module: "research",
88
+ host: "serp-html-archive.ayoune.app",
89
+ },
90
+ {
91
+ label: "Config files",
92
+ module: "global",
93
+ host: "configs.ayoune.app",
94
+ },
95
+ {
96
+ label: "GraphQl",
97
+ module: "global",
98
+ host: "graph.ayoune.app",
99
+ },
100
+ {
101
+ label: "Dynamic Content",
102
+ module: "cms",
103
+ host: "dc.ayoune.app",
104
+ },
105
+ {
106
+ label: "Media",
107
+ module: "cms",
108
+ host: "media.ayoune.app",
109
+ },
110
+ {
111
+ label: "Text Spinner",
112
+ module: "cms",
113
+ host: "spinner.ayoune.app",
114
+ },
115
+ {
116
+ label: "Content Snippets",
117
+ module: "cms",
118
+ host: "snippets.ayoune.app",
119
+ },
120
+ {
121
+ label: "Downloads",
122
+ module: "cms",
123
+ host: "downloads.ayoune.app",
124
+ },
125
+ {
126
+ label: "Scripts",
127
+ module: "global",
128
+ host: "scripts.ayoune.app",
129
+ },
130
+ {
131
+ label: "Documents",
132
+ module: "crm",
133
+ host: "documents.ayoune.app",
134
+ },
135
+ ];
136
+ exports.aYOUneServices = aYOUneServices;
137
+ exports.default = aYOUneServices;
package/index.d.ts CHANGED
@@ -2,3 +2,4 @@ declare global {
2
2
  export type ObjectId = string | any;
3
3
  }
4
4
  export * from "./interfaces";
5
+ export * from "./data";
package/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./interfaces"), exports);
18
+ __exportStar(require("./data"), exports);
package/package.json CHANGED
@@ -1,106 +1,106 @@
1
- {
2
- "name": "@tolinax/ayoune-interfaces",
3
- "version": "2025.16.2",
4
- "description": "Houses TypeScript interfaces for aYOUne",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "npx tsc",
9
- "copy-package": "cpx package.json dist",
10
- "prerelease": "npm run build",
11
- "release": "release-it --ci",
12
- "postrelease": "npm run release-package",
13
- "prerelease-package": "npm run copy-package",
14
- "release-package": "cd dist && npm publish",
15
- "test": "echo \"Error: no test specified\" && exit 1"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "git+https://github.com/tolinax/ayoune-interfaces.git"
20
- },
21
- "keywords": [
22
- "typescript",
23
- "interfaces"
24
- ],
25
- "author": "tolinax",
26
- "license": "MIT",
27
- "bugs": {
28
- "url": "https://github.com/tolinax/ayoune-interfaces/issues"
29
- },
30
- "homepage": "https://github.com/tolinax/ayoune-interfaces#readme",
31
- "release-it": {
32
- "git": {
33
- "changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}",
34
- "requireCleanWorkingDir": false,
35
- "addUntrackedFiles": true,
36
- "commit": true,
37
- "push": true,
38
- "commitMessage": "ci(chore): release v${version}\n\n${changelog}",
39
- "tag": true
40
- },
41
- "npm": {
42
- "publish": false
43
- },
44
- "plugins": {
45
- "@release-it/conventional-changelog": {
46
- "preset": {
47
- "name": "conventionalcommits",
48
- "header": "# Changelog",
49
- "types": [
50
- {
51
- "type": "feat",
52
- "section": "Features"
53
- },
54
- {
55
- "type": "fix",
56
- "section": "Bug Fixes"
57
- },
58
- {
59
- "type": "chore",
60
- "section": "Chores"
61
- },
62
- {
63
- "type": "docs",
64
- "section": "Docs"
65
- },
66
- {
67
- "type": "style",
68
- "section": "Style changes"
69
- },
70
- {
71
- "type": "refactor",
72
- "section": "Refactorings"
73
- },
74
- {
75
- "type": "perf",
76
- "section": "Performance"
77
- },
78
- {
79
- "type": "test",
80
- "section": "Tests"
81
- },
82
- {
83
- "type": "ci",
84
- "section": "Continous Integration"
85
- },
86
- {
87
- "type": "build",
88
- "section": "Build Process"
89
- },
90
- {
91
- "type": "infra",
92
- "section": "Infrastructure"
93
- }
94
- ]
95
- },
96
- "infile": "CHANGELOG.md"
97
- }
98
- }
99
- },
100
- "dependencies": {},
101
- "devDependencies": {
102
- "@release-it/conventional-changelog": "^5.0.0",
103
- "cpx": "^1.5.0",
104
- "typescript": "^5.3.3"
105
- }
106
- }
1
+ {
2
+ "name": "@tolinax/ayoune-interfaces",
3
+ "version": "2025.16.4",
4
+ "description": "Houses TypeScript interfaces for aYOUne",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "npx tsc",
9
+ "copy-package": "cpx package.json dist",
10
+ "prerelease": "npm run build",
11
+ "release": "release-it --ci",
12
+ "postrelease": "npm run release-package",
13
+ "prerelease-package": "npm run copy-package",
14
+ "release-package": "cd dist && npm publish",
15
+ "test": "echo \"Error: no test specified\" && exit 1"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/ayoune/ayoune-interfaces.git"
20
+ },
21
+ "keywords": [
22
+ "typescript",
23
+ "interfaces"
24
+ ],
25
+ "author": "tolinax",
26
+ "license": "MIT",
27
+ "bugs": {
28
+ "url": "https://github.com/ayoune/ayoune-interfaces/issues"
29
+ },
30
+ "homepage": "https://github.com/ayoune/ayoune-interfaces#readme",
31
+ "release-it": {
32
+ "git": {
33
+ "changelog": "git log --pretty=format:\"* %s (%h)\" ${from}...${to}",
34
+ "requireCleanWorkingDir": false,
35
+ "addUntrackedFiles": true,
36
+ "commit": true,
37
+ "push": true,
38
+ "commitMessage": "ci(chore): release v${version}\n\n${changelog}",
39
+ "tag": true
40
+ },
41
+ "npm": {
42
+ "publish": false
43
+ },
44
+ "plugins": {
45
+ "@release-it/conventional-changelog": {
46
+ "preset": {
47
+ "name": "conventionalcommits",
48
+ "header": "# Changelog",
49
+ "types": [
50
+ {
51
+ "type": "feat",
52
+ "section": "Features"
53
+ },
54
+ {
55
+ "type": "fix",
56
+ "section": "Bug Fixes"
57
+ },
58
+ {
59
+ "type": "chore",
60
+ "section": "Chores"
61
+ },
62
+ {
63
+ "type": "docs",
64
+ "section": "Docs"
65
+ },
66
+ {
67
+ "type": "style",
68
+ "section": "Style changes"
69
+ },
70
+ {
71
+ "type": "refactor",
72
+ "section": "Refactorings"
73
+ },
74
+ {
75
+ "type": "perf",
76
+ "section": "Performance"
77
+ },
78
+ {
79
+ "type": "test",
80
+ "section": "Tests"
81
+ },
82
+ {
83
+ "type": "ci",
84
+ "section": "Continous Integration"
85
+ },
86
+ {
87
+ "type": "build",
88
+ "section": "Build Process"
89
+ },
90
+ {
91
+ "type": "infra",
92
+ "section": "Infrastructure"
93
+ }
94
+ ]
95
+ },
96
+ "infile": "CHANGELOG.md"
97
+ }
98
+ }
99
+ },
100
+ "dependencies": {},
101
+ "devDependencies": {
102
+ "@release-it/conventional-changelog": "^5.0.0",
103
+ "cpx": "^1.5.0",
104
+ "typescript": "^5.3.3"
105
+ }
106
+ }
@@ -1,40 +0,0 @@
1
- import { IDefaultFields } from "./IDefaultFields";
2
- export interface ICostBucketResult extends IDefaultFields {
3
- lab: boolean;
4
- environment: "production" | "lab" | "all";
5
- _customerID: ObjectId;
6
- _research: ObjectId;
7
- date?: Date;
8
- numKeywords?: number;
9
- bid?: number;
10
- maxCPC?: number;
11
- avgCPC?: number;
12
- minCPC?: number;
13
- maxCost?: number;
14
- avgCost?: number;
15
- minCost?: number;
16
- maxClicks?: number;
17
- avgClicks?: number;
18
- minClicks?: number;
19
- maxImpressions?: number;
20
- avgImpressions?: number;
21
- minImpressions?: number;
22
- maxConversions?: number;
23
- avgConversions?: number;
24
- minConversions?: number;
25
- maxConversionRate?: number;
26
- avgConversionRate?: number;
27
- minConversionRate?: number;
28
- maxCTR?: number;
29
- avgCTR?: number;
30
- minCTR?: number;
31
- maxCPA?: number;
32
- avgCPA?: number;
33
- minCPA?: number;
34
- maxAds?: number;
35
- breakPointMin?: number;
36
- breakPointMax?: number;
37
- breakPointAvg?: number;
38
- market?: string;
39
- category?: string;
40
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import { IDefaultFields } from "./IDefaultFields";
2
- export interface IAdvertiserWeeklyDomainKPI extends IDefaultFields {
3
- _customerID?: ObjectId;
4
- domain?: string;
5
- device?: string;
6
- iab?: string;
7
- iabLabel?: string;
8
- benchmark?: string;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- export interface IGeoIPLocationTracking {
2
- ip?: string;
3
- range?: number[];
4
- country?: string;
5
- region?: string;
6
- eu?: string;
7
- timezone?: string;
8
- city?: string;
9
- ll?: number[];
10
- metro?: number;
11
- area?: number;
12
- device?: string;
13
- query?: string;
14
- url?: string;
15
- fingerprint?: string;
16
- referrer?: string;
17
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- import { IDefaultFields } from "./IDefaultFields";
2
- export interface IGoogleAdsAccount extends IDefaultFields {
3
- name: string;
4
- meta: {
5
- active: boolean;
6
- oAuthLink: string;
7
- keyGenLink: string;
8
- };
9
- googleAdsClient: {
10
- client_id: string;
11
- client_secret: string;
12
- developer_token: string;
13
- };
14
- customerClient: {
15
- customer_id: string;
16
- login_customer_id: string;
17
- refresh_token: string;
18
- };
19
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- import { IDefaultFields } from "./IDefaultFields";
2
- interface Mapping {
3
- IABCategory: string;
4
- label: string;
5
- }
6
- export interface IIABCategoryMapping extends IDefaultFields {
7
- _id?: ObjectId;
8
- _customerID?: ObjectId;
9
- mappings: Mapping[];
10
- }
11
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- import { IDefaultFields } from "./IDefaultFields";
2
- export interface IMarketBudget extends IDefaultFields {
3
- lab: boolean;
4
- environment: "production" | "lab" | "all";
5
- _industry: ObjectId;
6
- _company: ObjectId;
7
- date: Date;
8
- domain?: string;
9
- host?: string;
10
- ads: number;
11
- avgPosition: number;
12
- avgMonthlySearches: number;
13
- avgCPC: number;
14
- impressions: number;
15
- deliveryRate: number;
16
- termsCount: number;
17
- terms: any[];
18
- budget: number;
19
- market?: string;
20
- region?: string;
21
- device?: string;
22
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- import { IDefaultFields } from "./IDefaultFields";
2
- export interface IIndustryKPI extends IDefaultFields {
3
- lab: boolean;
4
- environment: "production" | "lab" | "all";
5
- _industry: ObjectId;
6
- date: Date;
7
- host?: string;
8
- ads: number;
9
- avgPosition: number;
10
- avgMonthlySearches: number;
11
- avgCPC: number;
12
- impressions: number;
13
- deliveryRate: number;
14
- termsCount: number;
15
- terms: any[];
16
- budget: number;
17
- market?: string;
18
- region?: string;
19
- device?: string;
20
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface IModel<T extends Document> {
2
- dataTable?(query?: any, options?: any): Promise<any>;
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });