@tolinax/ayoune-interfaces 2026.2.15 → 2026.3.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.
- package/data/modelNames.d.ts +8 -1
- package/data/modelNames.js +7 -0
- package/data/modelsAndRights.js +70 -0
- package/data/modules.js +5 -0
- package/interfaces/IBitbucketPipeline.d.ts +45 -0
- package/interfaces/IDeploymentAction.d.ts +26 -0
- package/interfaces/IDevOpsAlert.d.ts +25 -0
- package/interfaces/IK8Cluster.d.ts +5 -0
- package/interfaces/IK8Deployment.d.ts +9 -0
- package/interfaces/IK8Pod.d.ts +57 -0
- package/interfaces/ISyncDevice.d.ts +9 -0
- package/interfaces/ISyncEvent.d.ts +15 -0
- package/interfaces/ISyncFolder.d.ts +8 -0
- package/interfaces/IUserSetting.d.ts +4 -1
- package/interfaces/index.d.ts +7 -0
- package/interfaces/index.js +7 -0
- package/package.json +1 -1
- package/interfaces/CostBucketResult.d.ts +0 -40
- package/interfaces/IAdvertiserDomainKPI.d.ts +0 -9
- package/interfaces/IGeoIPLocation.d.ts +0 -17
- package/interfaces/IGoogleAdsAccount.d.ts +0 -19
- package/interfaces/IIABCategoryMappings.d.ts +0 -11
- package/interfaces/IIndustryBudget.d.ts +0 -22
- package/interfaces/IIndustryKPIs.d.ts +0 -20
- package/interfaces/IModel.d.ts +0 -3
- package/interfaces/IModel.js +0 -2
- package/interfaces/IStreamPart.d.ts +0 -0
- package/interfaces/IStreamPart.js +0 -1
- package/interfaces/IValues.d.ts +0 -3
- package/interfaces/IValues.js +0 -2
- package/interfaces/IaYOUneAdvertisementLocation.d.ts +0 -12
- package/interfaces/IaYOUneAdvertisementLocation.js +0 -2
- package/interfaces/IaYOUneDomainMeta.d.ts +0 -6
- package/interfaces/IaYOUneDomainMeta.js +0 -2
- package/interfaces/IaYOUneKeywordKPIs.d.ts +0 -162
- package/interfaces/IaYOUneKeywordKPIs.js +0 -13
- package/interfaces/IaYOUneSocialAccounts.d.ts +0 -19
- package/interfaces/IaYOUneSocialAccounts.js +0 -2
- package/interfaces//303/216CostBucketResult.d.ts +0 -40
- package/interfaces//303/216CostBucketResult.js +0 -2
- /package/interfaces/{CostBucketResult.js → IBitbucketPipeline.js} +0 -0
- /package/interfaces/{IAdvertiserDomainKPI.js → IDeploymentAction.js} +0 -0
- /package/interfaces/{IGeoIPLocation.js → IDevOpsAlert.js} +0 -0
- /package/interfaces/{IGoogleAdsAccount.js → IK8Pod.js} +0 -0
- /package/interfaces/{IIABCategoryMappings.js → ISyncDevice.js} +0 -0
- /package/interfaces/{IIndustryBudget.js → ISyncEvent.js} +0 -0
- /package/interfaces/{IIndustryKPIs.js → ISyncFolder.js} +0 -0
package/data/modelNames.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ export declare enum aMN {
|
|
|
114
114
|
BankTurnovers = "BankTurnovers",
|
|
115
115
|
Beacons = "Beacons",
|
|
116
116
|
BeaconZones = "BeaconZones",
|
|
117
|
+
BitbucketPipelines = "BitbucketPipelines",
|
|
117
118
|
Blacklists = "Blacklists",
|
|
118
119
|
BotRequests = "BotRequests",
|
|
119
120
|
Bots = "Bots",
|
|
@@ -213,10 +214,12 @@ export declare enum aMN {
|
|
|
213
214
|
DataCollections = "DataCollections",
|
|
214
215
|
DataCollectionEntries = "DataCollectionEntries",
|
|
215
216
|
Decisions = "Decisions",
|
|
217
|
+
DeploymentActions = "DeploymentActions",
|
|
216
218
|
Departments = "Departments",
|
|
217
219
|
DepositInvoices = "DepositInvoices",
|
|
218
220
|
DesktopClients = "DesktopClients",
|
|
219
221
|
DesktopNotifications = "DesktopNotifications",
|
|
222
|
+
DevOpsAlerts = "DevOpsAlerts",
|
|
220
223
|
DiscountGroups = "DiscountGroups",
|
|
221
224
|
DMCampaigns = "DMCampaigns",
|
|
222
225
|
Documents = "Documents",
|
|
@@ -316,6 +319,7 @@ export declare enum aMN {
|
|
|
316
319
|
JournalEntries = "JournalEntries",
|
|
317
320
|
K8Clusters = "K8Clusters",
|
|
318
321
|
K8Deployments = "K8Deployments",
|
|
322
|
+
K8Pods = "K8Pods",
|
|
319
323
|
KanbanBoards = "KanbanBoards",
|
|
320
324
|
KeywordInterests = "KeywordInterests",
|
|
321
325
|
KeywordNegativeLists = "KeywordNegativeLists",
|
|
@@ -588,5 +592,8 @@ export declare enum aMN {
|
|
|
588
592
|
WorkCenters = "WorkCenters",
|
|
589
593
|
WorkLogs = "WorkLogs",
|
|
590
594
|
XingContacts = "XingContacts",
|
|
591
|
-
CostBucketResults = "CostBucketResults"
|
|
595
|
+
CostBucketResults = "CostBucketResults",
|
|
596
|
+
SyncFolders = "SyncFolders",
|
|
597
|
+
SyncDevices = "SyncDevices",
|
|
598
|
+
SyncEvents = "SyncEvents"
|
|
592
599
|
}
|
package/data/modelNames.js
CHANGED
|
@@ -118,6 +118,7 @@ var aMN;
|
|
|
118
118
|
aMN["BankTurnovers"] = "BankTurnovers";
|
|
119
119
|
aMN["Beacons"] = "Beacons";
|
|
120
120
|
aMN["BeaconZones"] = "BeaconZones";
|
|
121
|
+
aMN["BitbucketPipelines"] = "BitbucketPipelines";
|
|
121
122
|
aMN["Blacklists"] = "Blacklists";
|
|
122
123
|
aMN["BotRequests"] = "BotRequests";
|
|
123
124
|
aMN["Bots"] = "Bots";
|
|
@@ -217,10 +218,12 @@ var aMN;
|
|
|
217
218
|
aMN["DataCollections"] = "DataCollections";
|
|
218
219
|
aMN["DataCollectionEntries"] = "DataCollectionEntries";
|
|
219
220
|
aMN["Decisions"] = "Decisions";
|
|
221
|
+
aMN["DeploymentActions"] = "DeploymentActions";
|
|
220
222
|
aMN["Departments"] = "Departments";
|
|
221
223
|
aMN["DepositInvoices"] = "DepositInvoices";
|
|
222
224
|
aMN["DesktopClients"] = "DesktopClients";
|
|
223
225
|
aMN["DesktopNotifications"] = "DesktopNotifications";
|
|
226
|
+
aMN["DevOpsAlerts"] = "DevOpsAlerts";
|
|
224
227
|
aMN["DiscountGroups"] = "DiscountGroups";
|
|
225
228
|
aMN["DMCampaigns"] = "DMCampaigns";
|
|
226
229
|
aMN["Documents"] = "Documents";
|
|
@@ -320,6 +323,7 @@ var aMN;
|
|
|
320
323
|
aMN["JournalEntries"] = "JournalEntries";
|
|
321
324
|
aMN["K8Clusters"] = "K8Clusters";
|
|
322
325
|
aMN["K8Deployments"] = "K8Deployments";
|
|
326
|
+
aMN["K8Pods"] = "K8Pods";
|
|
323
327
|
aMN["KanbanBoards"] = "KanbanBoards";
|
|
324
328
|
aMN["KeywordInterests"] = "KeywordInterests";
|
|
325
329
|
aMN["KeywordNegativeLists"] = "KeywordNegativeLists";
|
|
@@ -593,4 +597,7 @@ var aMN;
|
|
|
593
597
|
aMN["WorkLogs"] = "WorkLogs";
|
|
594
598
|
aMN["XingContacts"] = "XingContacts";
|
|
595
599
|
aMN["CostBucketResults"] = "CostBucketResults";
|
|
600
|
+
aMN["SyncFolders"] = "SyncFolders";
|
|
601
|
+
aMN["SyncDevices"] = "SyncDevices";
|
|
602
|
+
aMN["SyncEvents"] = "SyncEvents";
|
|
596
603
|
})(aMN || (exports.aMN = aMN = {}));
|
package/data/modelsAndRights.js
CHANGED
|
@@ -1420,6 +1420,16 @@ const modelsAndRights = [
|
|
|
1420
1420
|
allowDuplicate: true,
|
|
1421
1421
|
updateBy: "_id",
|
|
1422
1422
|
},
|
|
1423
|
+
{
|
|
1424
|
+
plural: "BitbucketPipelines",
|
|
1425
|
+
singular: "BitbucketPipeline",
|
|
1426
|
+
module: "devops",
|
|
1427
|
+
right: "devops.bitbucketpipelines",
|
|
1428
|
+
readOnly: false,
|
|
1429
|
+
importable: false,
|
|
1430
|
+
allowDuplicate: false,
|
|
1431
|
+
updateBy: "_id",
|
|
1432
|
+
},
|
|
1423
1433
|
{
|
|
1424
1434
|
plural: "Blacklists",
|
|
1425
1435
|
singular: "Blacklist",
|
|
@@ -2380,6 +2390,16 @@ const modelsAndRights = [
|
|
|
2380
2390
|
allowDuplicate: true,
|
|
2381
2391
|
updateBy: "_id",
|
|
2382
2392
|
},
|
|
2393
|
+
{
|
|
2394
|
+
plural: "DeploymentActions",
|
|
2395
|
+
singular: "DeploymentAction",
|
|
2396
|
+
module: "devops",
|
|
2397
|
+
right: "devops.deploymentactions",
|
|
2398
|
+
readOnly: false,
|
|
2399
|
+
importable: false,
|
|
2400
|
+
allowDuplicate: false,
|
|
2401
|
+
updateBy: "_id",
|
|
2402
|
+
},
|
|
2383
2403
|
{
|
|
2384
2404
|
plural: "Departments",
|
|
2385
2405
|
singular: "Department",
|
|
@@ -2420,6 +2440,16 @@ const modelsAndRights = [
|
|
|
2420
2440
|
allowDuplicate: false,
|
|
2421
2441
|
updateBy: "_id",
|
|
2422
2442
|
},
|
|
2443
|
+
{
|
|
2444
|
+
plural: "DevOpsAlerts",
|
|
2445
|
+
singular: "DevOpsAlert",
|
|
2446
|
+
module: "devops",
|
|
2447
|
+
right: "devops.devopsalerts",
|
|
2448
|
+
readOnly: false,
|
|
2449
|
+
importable: false,
|
|
2450
|
+
allowDuplicate: false,
|
|
2451
|
+
updateBy: "_id",
|
|
2452
|
+
},
|
|
2423
2453
|
{
|
|
2424
2454
|
plural: "DiscountGroups",
|
|
2425
2455
|
singular: "DiscountGroup",
|
|
@@ -3330,6 +3360,16 @@ const modelsAndRights = [
|
|
|
3330
3360
|
allowDuplicate: false,
|
|
3331
3361
|
updateBy: "_id",
|
|
3332
3362
|
},
|
|
3363
|
+
{
|
|
3364
|
+
plural: "K8Pods",
|
|
3365
|
+
singular: "K8Pod",
|
|
3366
|
+
module: "devops",
|
|
3367
|
+
right: "devops.k8pods",
|
|
3368
|
+
readOnly: false,
|
|
3369
|
+
importable: false,
|
|
3370
|
+
allowDuplicate: false,
|
|
3371
|
+
updateBy: "_id",
|
|
3372
|
+
},
|
|
3333
3373
|
{
|
|
3334
3374
|
plural: "KanbanBoards",
|
|
3335
3375
|
singular: "KanbanBoard",
|
|
@@ -5921,6 +5961,36 @@ const modelsAndRights = [
|
|
|
5921
5961
|
allowDuplicate: false,
|
|
5922
5962
|
updateBy: "_id",
|
|
5923
5963
|
},
|
|
5964
|
+
{
|
|
5965
|
+
plural: "SyncFolders",
|
|
5966
|
+
singular: "SyncFolder",
|
|
5967
|
+
module: "sync",
|
|
5968
|
+
right: "sync.folders",
|
|
5969
|
+
readOnly: false,
|
|
5970
|
+
importable: false,
|
|
5971
|
+
allowDuplicate: false,
|
|
5972
|
+
updateBy: "_id",
|
|
5973
|
+
},
|
|
5974
|
+
{
|
|
5975
|
+
plural: "SyncDevices",
|
|
5976
|
+
singular: "SyncDevice",
|
|
5977
|
+
module: "sync",
|
|
5978
|
+
right: "sync.devices",
|
|
5979
|
+
readOnly: false,
|
|
5980
|
+
importable: false,
|
|
5981
|
+
allowDuplicate: false,
|
|
5982
|
+
updateBy: "_id",
|
|
5983
|
+
},
|
|
5984
|
+
{
|
|
5985
|
+
plural: "SyncEvents",
|
|
5986
|
+
singular: "SyncEvent",
|
|
5987
|
+
module: "sync",
|
|
5988
|
+
right: "sync.events",
|
|
5989
|
+
readOnly: true,
|
|
5990
|
+
importable: false,
|
|
5991
|
+
allowDuplicate: false,
|
|
5992
|
+
updateBy: "_id",
|
|
5993
|
+
},
|
|
5924
5994
|
];
|
|
5925
5995
|
exports.modelsAndRights = modelsAndRights;
|
|
5926
5996
|
exports.default = modelsAndRights;
|
package/data/modules.js
CHANGED
|
@@ -109,6 +109,11 @@ const aYOUneModules = [
|
|
|
109
109
|
module: "audit",
|
|
110
110
|
host: "audit.ayoune.app",
|
|
111
111
|
},
|
|
112
|
+
{
|
|
113
|
+
label: "DevOps",
|
|
114
|
+
module: "devops",
|
|
115
|
+
host: "devops-api.ayoune.app",
|
|
116
|
+
},
|
|
112
117
|
];
|
|
113
118
|
exports.aYOUneModules = aYOUneModules;
|
|
114
119
|
exports.default = aYOUneModules;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface IBitbucketPipelineStep {
|
|
3
|
+
name?: string;
|
|
4
|
+
state?: string;
|
|
5
|
+
result?: string;
|
|
6
|
+
startedOn?: Date;
|
|
7
|
+
completedOn?: Date;
|
|
8
|
+
durationInSeconds?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IBitbucketPipeline extends IDefaultFields {
|
|
11
|
+
_customerID: ObjectId;
|
|
12
|
+
_clientID?: ObjectId[];
|
|
13
|
+
_subID?: ObjectId[];
|
|
14
|
+
_project?: ObjectId;
|
|
15
|
+
pipelineUuid?: string;
|
|
16
|
+
buildNumber?: number;
|
|
17
|
+
repositorySlug?: string;
|
|
18
|
+
repositoryFullName?: string;
|
|
19
|
+
workspace?: string;
|
|
20
|
+
state?: string;
|
|
21
|
+
result?: "SUCCESSFUL" | "FAILED" | "STOPPED" | "EXPIRED";
|
|
22
|
+
trigger?: string;
|
|
23
|
+
target?: {
|
|
24
|
+
type?: string;
|
|
25
|
+
refType?: string;
|
|
26
|
+
refName?: string;
|
|
27
|
+
selector?: any;
|
|
28
|
+
};
|
|
29
|
+
commit?: {
|
|
30
|
+
hash?: string;
|
|
31
|
+
message?: string;
|
|
32
|
+
author?: string;
|
|
33
|
+
date?: Date;
|
|
34
|
+
};
|
|
35
|
+
creator?: {
|
|
36
|
+
displayName?: string;
|
|
37
|
+
uuid?: string;
|
|
38
|
+
accountId?: string;
|
|
39
|
+
};
|
|
40
|
+
steps?: IBitbucketPipelineStep[];
|
|
41
|
+
durationInSeconds?: number;
|
|
42
|
+
startedOn?: Date;
|
|
43
|
+
completedOn?: Date;
|
|
44
|
+
lastSync?: Date;
|
|
45
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface IDeploymentAction extends IDefaultFields {
|
|
3
|
+
_customerID: ObjectId;
|
|
4
|
+
_clientID?: ObjectId[];
|
|
5
|
+
_subID?: ObjectId[];
|
|
6
|
+
_cluster?: ObjectId;
|
|
7
|
+
_deployment?: ObjectId;
|
|
8
|
+
action?: "restart" | "scale" | "rollback" | "delete_pod";
|
|
9
|
+
status?: "pending" | "in_progress" | "completed" | "failed";
|
|
10
|
+
triggeredBy?: ObjectId;
|
|
11
|
+
triggeredAt?: Date;
|
|
12
|
+
completedAt?: Date;
|
|
13
|
+
params?: {
|
|
14
|
+
replicas?: number;
|
|
15
|
+
revisionNumber?: number;
|
|
16
|
+
podName?: string;
|
|
17
|
+
reason?: string;
|
|
18
|
+
};
|
|
19
|
+
result?: {
|
|
20
|
+
success?: boolean;
|
|
21
|
+
message?: string;
|
|
22
|
+
error?: string;
|
|
23
|
+
};
|
|
24
|
+
resourceName?: string;
|
|
25
|
+
resourceNamespace?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface IDevOpsAlert extends IDefaultFields {
|
|
3
|
+
_customerID: ObjectId;
|
|
4
|
+
_clientID?: ObjectId[];
|
|
5
|
+
_subID?: ObjectId[];
|
|
6
|
+
_cluster?: ObjectId;
|
|
7
|
+
_deployment?: ObjectId;
|
|
8
|
+
_pod?: ObjectId;
|
|
9
|
+
_pipeline?: ObjectId;
|
|
10
|
+
type?: "pod_crash" | "oom_killed" | "image_pull_error" | "deployment_failed" | "pipeline_failed" | "cluster_unreachable" | "high_restart_count" | "custom";
|
|
11
|
+
severity?: "info" | "warning" | "critical";
|
|
12
|
+
title?: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
resourceName?: string;
|
|
15
|
+
resourceNamespace?: string;
|
|
16
|
+
status?: "active" | "acknowledged" | "resolved";
|
|
17
|
+
acknowledgedBy?: ObjectId;
|
|
18
|
+
acknowledgedAt?: Date;
|
|
19
|
+
resolvedBy?: ObjectId;
|
|
20
|
+
resolvedAt?: Date;
|
|
21
|
+
metadata?: any;
|
|
22
|
+
occurrences?: number;
|
|
23
|
+
firstOccurrence?: Date;
|
|
24
|
+
lastOccurrence?: Date;
|
|
25
|
+
}
|
|
@@ -16,4 +16,9 @@ export interface IK8Cluster extends IDefaultFields {
|
|
|
16
16
|
accessTokenSecret: string;
|
|
17
17
|
refreshToken: string;
|
|
18
18
|
lastSync: Date;
|
|
19
|
+
provider?: "gke" | "eks" | "aks" | "self-managed";
|
|
20
|
+
environment?: "production" | "staging" | "development";
|
|
21
|
+
healthStatus?: "healthy" | "degraded" | "unreachable";
|
|
22
|
+
lastHealthCheck?: Date;
|
|
23
|
+
syncInterval?: number;
|
|
19
24
|
}
|
|
@@ -79,5 +79,14 @@ export interface IK8Deployment extends IDefaultFields {
|
|
|
79
79
|
status?: any;
|
|
80
80
|
lastSync?: Date;
|
|
81
81
|
customConfig: any;
|
|
82
|
+
image?: string;
|
|
83
|
+
imageTag?: string;
|
|
84
|
+
healthStatus?: "healthy" | "degraded" | "crashed" | "pending";
|
|
85
|
+
readyReplicas?: number;
|
|
86
|
+
availableReplicas?: number;
|
|
87
|
+
unavailableReplicas?: number;
|
|
88
|
+
lastDeployedAt?: Date;
|
|
89
|
+
lastDeployedBy?: string;
|
|
90
|
+
_repository?: ObjectId;
|
|
82
91
|
}
|
|
83
92
|
export {};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface IK8PodContainerState {
|
|
3
|
+
waiting?: {
|
|
4
|
+
reason?: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
};
|
|
7
|
+
running?: {
|
|
8
|
+
startedAt?: Date;
|
|
9
|
+
};
|
|
10
|
+
terminated?: {
|
|
11
|
+
exitCode?: number;
|
|
12
|
+
reason?: string;
|
|
13
|
+
message?: string;
|
|
14
|
+
startedAt?: Date;
|
|
15
|
+
finishedAt?: Date;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface IK8PodContainer {
|
|
19
|
+
name?: string;
|
|
20
|
+
image?: string;
|
|
21
|
+
ready?: boolean;
|
|
22
|
+
restartCount?: number;
|
|
23
|
+
state?: IK8PodContainerState;
|
|
24
|
+
lastState?: IK8PodContainerState;
|
|
25
|
+
resources?: {
|
|
26
|
+
requests?: {
|
|
27
|
+
cpu?: string;
|
|
28
|
+
memory?: string;
|
|
29
|
+
};
|
|
30
|
+
limits?: {
|
|
31
|
+
cpu?: string;
|
|
32
|
+
memory?: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface IK8Pod extends IDefaultFields {
|
|
37
|
+
_customerID: ObjectId;
|
|
38
|
+
_clientID?: ObjectId[];
|
|
39
|
+
_subID?: ObjectId[];
|
|
40
|
+
_cluster?: ObjectId;
|
|
41
|
+
_deployment?: ObjectId;
|
|
42
|
+
name?: string;
|
|
43
|
+
namespace?: string;
|
|
44
|
+
uid?: string;
|
|
45
|
+
phase?: "Pending" | "Running" | "Succeeded" | "Failed" | "Unknown";
|
|
46
|
+
nodeName?: string;
|
|
47
|
+
hostIP?: string;
|
|
48
|
+
podIP?: string;
|
|
49
|
+
startTime?: Date;
|
|
50
|
+
restartCount?: number;
|
|
51
|
+
containers?: IK8PodContainer[];
|
|
52
|
+
conditions?: any[];
|
|
53
|
+
labels?: {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
56
|
+
lastSync?: Date;
|
|
57
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface ISyncEvent extends IDefaultFields {
|
|
3
|
+
_customerID: ObjectId;
|
|
4
|
+
documentId?: ObjectId;
|
|
5
|
+
folderId?: ObjectId;
|
|
6
|
+
action: "created" | "updated" | "deleted" | "moved" | "renamed";
|
|
7
|
+
entityType: "file" | "folder";
|
|
8
|
+
name?: string;
|
|
9
|
+
parentId?: ObjectId;
|
|
10
|
+
etag?: string;
|
|
11
|
+
size?: number;
|
|
12
|
+
changedBy: string;
|
|
13
|
+
changedByUserId?: ObjectId;
|
|
14
|
+
timestamp?: Date;
|
|
15
|
+
}
|
|
@@ -429,7 +429,10 @@ interface IPrintOptions {
|
|
|
429
429
|
}
|
|
430
430
|
interface ISync {
|
|
431
431
|
desktopClient?: string;
|
|
432
|
-
folders
|
|
432
|
+
folders?: IFolders;
|
|
433
|
+
syncRootPath?: string;
|
|
434
|
+
driveLetter?: string;
|
|
435
|
+
enabled?: boolean;
|
|
433
436
|
}
|
|
434
437
|
interface IFolders {
|
|
435
438
|
documents?: string;
|
package/interfaces/index.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export * from "./IBankAccount";
|
|
|
120
120
|
export * from "./IBankTurnover";
|
|
121
121
|
export * from "./IBeacon";
|
|
122
122
|
export * from "./IBeaconZone";
|
|
123
|
+
export * from "./IBitbucketPipeline";
|
|
123
124
|
export * from "./IBlacklist";
|
|
124
125
|
export * from "./IBookmark";
|
|
125
126
|
export * from "./IBot";
|
|
@@ -228,6 +229,8 @@ export * from "./IDataCollection";
|
|
|
228
229
|
export * from "./IDataCollectionEntry";
|
|
229
230
|
export * from "./IDecision";
|
|
230
231
|
export * from "./IDefaultFields";
|
|
232
|
+
export * from "./IDeploymentAction";
|
|
233
|
+
export * from "./IDevOpsAlert";
|
|
231
234
|
export * from "./IDemographics";
|
|
232
235
|
export * from "./IDepartment";
|
|
233
236
|
export * from "./IDepositInvoice";
|
|
@@ -337,6 +340,7 @@ export * from "./IJournal";
|
|
|
337
340
|
export * from "./IJournalEntry";
|
|
338
341
|
export * from "./IK8Cluster";
|
|
339
342
|
export * from "./IK8Deployment";
|
|
343
|
+
export * from "./IK8Pod";
|
|
340
344
|
export * from "./IKanbanBoard";
|
|
341
345
|
export * from "./IKeyword";
|
|
342
346
|
export * from "./IKeywordInterest";
|
|
@@ -656,3 +660,6 @@ export * from "./IaYOUneAdvertisementDisplayLocation";
|
|
|
656
660
|
export * from "./IaYOUneAdvertisementDisplayGroup";
|
|
657
661
|
export * from "./IAddress";
|
|
658
662
|
export * from "./IPreRenderMeta";
|
|
663
|
+
export * from "./ISyncFolder";
|
|
664
|
+
export * from "./ISyncDevice";
|
|
665
|
+
export * from "./ISyncEvent";
|
package/interfaces/index.js
CHANGED
|
@@ -136,6 +136,7 @@ __exportStar(require("./IBankAccount"), exports);
|
|
|
136
136
|
__exportStar(require("./IBankTurnover"), exports);
|
|
137
137
|
__exportStar(require("./IBeacon"), exports);
|
|
138
138
|
__exportStar(require("./IBeaconZone"), exports);
|
|
139
|
+
__exportStar(require("./IBitbucketPipeline"), exports);
|
|
139
140
|
__exportStar(require("./IBlacklist"), exports);
|
|
140
141
|
__exportStar(require("./IBookmark"), exports);
|
|
141
142
|
__exportStar(require("./IBot"), exports);
|
|
@@ -244,6 +245,8 @@ __exportStar(require("./IDataCollection"), exports);
|
|
|
244
245
|
__exportStar(require("./IDataCollectionEntry"), exports);
|
|
245
246
|
__exportStar(require("./IDecision"), exports);
|
|
246
247
|
__exportStar(require("./IDefaultFields"), exports);
|
|
248
|
+
__exportStar(require("./IDeploymentAction"), exports);
|
|
249
|
+
__exportStar(require("./IDevOpsAlert"), exports);
|
|
247
250
|
__exportStar(require("./IDemographics"), exports);
|
|
248
251
|
__exportStar(require("./IDepartment"), exports);
|
|
249
252
|
__exportStar(require("./IDepositInvoice"), exports);
|
|
@@ -353,6 +356,7 @@ __exportStar(require("./IJournal"), exports);
|
|
|
353
356
|
__exportStar(require("./IJournalEntry"), exports);
|
|
354
357
|
__exportStar(require("./IK8Cluster"), exports);
|
|
355
358
|
__exportStar(require("./IK8Deployment"), exports);
|
|
359
|
+
__exportStar(require("./IK8Pod"), exports);
|
|
356
360
|
__exportStar(require("./IKanbanBoard"), exports);
|
|
357
361
|
__exportStar(require("./IKeyword"), exports);
|
|
358
362
|
__exportStar(require("./IKeywordInterest"), exports);
|
|
@@ -672,3 +676,6 @@ __exportStar(require("./IaYOUneAdvertisementDisplayLocation"), exports);
|
|
|
672
676
|
__exportStar(require("./IaYOUneAdvertisementDisplayGroup"), exports);
|
|
673
677
|
__exportStar(require("./IAddress"), exports);
|
|
674
678
|
__exportStar(require("./IPreRenderMeta"), exports);
|
|
679
|
+
__exportStar(require("./ISyncFolder"), exports);
|
|
680
|
+
__exportStar(require("./ISyncDevice"), exports);
|
|
681
|
+
__exportStar(require("./ISyncEvent"), exports);
|
package/package.json
CHANGED
|
@@ -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,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,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,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,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,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
|
-
}
|
package/interfaces/IModel.d.ts
DELETED
package/interfaces/IModel.js
DELETED
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/interfaces/IValues.d.ts
DELETED
package/interfaces/IValues.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
import { IAddress } from "./IAddress";
|
|
3
|
-
export interface IaYOUneAdvertisementLocation extends IDefaultFields {
|
|
4
|
-
_customerID?: ObjectId;
|
|
5
|
-
name?: string;
|
|
6
|
-
note?: string;
|
|
7
|
-
address?: IAddress;
|
|
8
|
-
prioritizeOwnAds?: boolean;
|
|
9
|
-
ratio?: number;
|
|
10
|
-
mediaTypes?: string[];
|
|
11
|
-
locale?: string;
|
|
12
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
declare enum Environment {
|
|
3
|
-
production = "production",
|
|
4
|
-
lab = "lab",
|
|
5
|
-
all = "all"
|
|
6
|
-
}
|
|
7
|
-
declare enum Device {
|
|
8
|
-
mobile = "mobile",
|
|
9
|
-
desktop = "desktop"
|
|
10
|
-
}
|
|
11
|
-
interface LastChecks {
|
|
12
|
-
mobile?: Date;
|
|
13
|
-
desktop?: Date;
|
|
14
|
-
priceRange?: Date;
|
|
15
|
-
price?: Date;
|
|
16
|
-
trends?: Date;
|
|
17
|
-
keyword_planner?: Date;
|
|
18
|
-
}
|
|
19
|
-
interface Cost {
|
|
20
|
-
createdAt?: Date;
|
|
21
|
-
bid?: number;
|
|
22
|
-
grp?: number;
|
|
23
|
-
cpc?: number;
|
|
24
|
-
cpd?: number;
|
|
25
|
-
cost?: number;
|
|
26
|
-
impressions?: number;
|
|
27
|
-
ctr?: number;
|
|
28
|
-
}
|
|
29
|
-
interface Annotation {
|
|
30
|
-
name?: string;
|
|
31
|
-
concept_group: {
|
|
32
|
-
name?: string;
|
|
33
|
-
type?: string;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
interface MonthlySearch {
|
|
37
|
-
year?: string;
|
|
38
|
-
month?: string;
|
|
39
|
-
monthly_searches?: number;
|
|
40
|
-
}
|
|
41
|
-
interface Related {
|
|
42
|
-
_keyword?: string;
|
|
43
|
-
}
|
|
44
|
-
interface Question {
|
|
45
|
-
_keyword?: string;
|
|
46
|
-
}
|
|
47
|
-
interface Preposition {
|
|
48
|
-
modifier?: string;
|
|
49
|
-
_keyword?: string;
|
|
50
|
-
}
|
|
51
|
-
interface Comparison {
|
|
52
|
-
modifier?: string;
|
|
53
|
-
_keyword?: string;
|
|
54
|
-
}
|
|
55
|
-
interface Alphabetical {
|
|
56
|
-
modifier?: string;
|
|
57
|
-
_keyword?: string;
|
|
58
|
-
}
|
|
59
|
-
interface Translation {
|
|
60
|
-
locale?: string;
|
|
61
|
-
_keyword?: string;
|
|
62
|
-
}
|
|
63
|
-
interface IABCategory {
|
|
64
|
-
_id?: string;
|
|
65
|
-
label?: string;
|
|
66
|
-
parent?: string;
|
|
67
|
-
count?: number;
|
|
68
|
-
}
|
|
69
|
-
export interface IaYOUneKeyword extends IDefaultFields {
|
|
70
|
-
lab?: boolean;
|
|
71
|
-
environment?: Environment;
|
|
72
|
-
keyword: string;
|
|
73
|
-
niceName?: string;
|
|
74
|
-
locale: string;
|
|
75
|
-
last_checks?: LastChecks;
|
|
76
|
-
_lastDevice?: string;
|
|
77
|
-
lastDeviceKind?: Device;
|
|
78
|
-
next_check?: Date;
|
|
79
|
-
needsCheck?: boolean;
|
|
80
|
-
needsManualIndustrySelection?: boolean;
|
|
81
|
-
active?: boolean;
|
|
82
|
-
isQuestion?: boolean;
|
|
83
|
-
isMisspelling?: boolean;
|
|
84
|
-
isMisspellingOf?: string;
|
|
85
|
-
correctSpelling?: string;
|
|
86
|
-
keywordPlanner?: boolean;
|
|
87
|
-
hasAds?: boolean;
|
|
88
|
-
hasAdsOnMobile?: boolean;
|
|
89
|
-
hasAdsOnTablet?: boolean;
|
|
90
|
-
hasAdsOnDesktop?: boolean;
|
|
91
|
-
hasPLA?: boolean;
|
|
92
|
-
hasPLAOnMobile?: boolean;
|
|
93
|
-
hasPLAOnTablet?: boolean;
|
|
94
|
-
hasPLAOnDesktop?: boolean;
|
|
95
|
-
hasSEA?: boolean;
|
|
96
|
-
hasSEAOnMobile?: boolean;
|
|
97
|
-
hasSEAOnTablet?: boolean;
|
|
98
|
-
hasSEAOnDesktop?: boolean;
|
|
99
|
-
hasFlights?: boolean;
|
|
100
|
-
hasFlightsOnMobile?: boolean;
|
|
101
|
-
hasFlightsOnTablet?: boolean;
|
|
102
|
-
hasFlightsOnDesktop?: boolean;
|
|
103
|
-
hasBooking?: boolean;
|
|
104
|
-
hasBookingOnMobile?: boolean;
|
|
105
|
-
hasBookingOnTablet?: boolean;
|
|
106
|
-
hasBookingOnDesktop?: boolean;
|
|
107
|
-
hasKnowledgeGraph?: boolean;
|
|
108
|
-
hasKnowledgeGraphsOnMobile?: boolean;
|
|
109
|
-
hasKnowledgeGraphsOnTablet?: boolean;
|
|
110
|
-
hasKnowledgeGraphOnDesktop?: boolean;
|
|
111
|
-
hasBooks?: boolean;
|
|
112
|
-
hasVideos?: boolean;
|
|
113
|
-
hasCosts?: boolean;
|
|
114
|
-
hasTrends?: boolean;
|
|
115
|
-
avgGrp?: number;
|
|
116
|
-
avgCpc?: number;
|
|
117
|
-
avgCpcGoogle?: number;
|
|
118
|
-
avgCpcIndustry?: number;
|
|
119
|
-
avgCpd?: number;
|
|
120
|
-
avgCpdIndustry?: number;
|
|
121
|
-
avgCost?: number;
|
|
122
|
-
avgCostIndustry?: number;
|
|
123
|
-
avgCtr?: number;
|
|
124
|
-
avgCtrIndustry?: number;
|
|
125
|
-
avgImpressions?: number;
|
|
126
|
-
avgImpressionsIndustry?: number;
|
|
127
|
-
breakPointMin?: number;
|
|
128
|
-
breakPointMax?: number;
|
|
129
|
-
breakPointAvg?: number;
|
|
130
|
-
costs?: Cost[];
|
|
131
|
-
domainAssumptions?: any[];
|
|
132
|
-
domainProves?: any[];
|
|
133
|
-
interest?: number;
|
|
134
|
-
competition?: string;
|
|
135
|
-
competitionIndex?: number;
|
|
136
|
-
participants?: number;
|
|
137
|
-
competitiveness?: number;
|
|
138
|
-
avgMonthlySearches?: number;
|
|
139
|
-
lowTopOfPageBidMicros?: number;
|
|
140
|
-
highTopOfPageBidMicros?: number;
|
|
141
|
-
annotations?: Annotation[];
|
|
142
|
-
monthlySearches?: MonthlySearch[];
|
|
143
|
-
type?: string;
|
|
144
|
-
kind?: string;
|
|
145
|
-
origin?: string;
|
|
146
|
-
industry?: ObjectId;
|
|
147
|
-
subIndustry?: ObjectId;
|
|
148
|
-
related?: Related[];
|
|
149
|
-
synonyms?: Related[];
|
|
150
|
-
questions?: Question[];
|
|
151
|
-
prepositions?: Preposition[];
|
|
152
|
-
comparisons?: Comparison[];
|
|
153
|
-
alphabeticals?: Alphabetical[];
|
|
154
|
-
translations?: Translation[];
|
|
155
|
-
serps?: string[];
|
|
156
|
-
IABCategories?: IABCategory[];
|
|
157
|
-
mainCategory?: string;
|
|
158
|
-
mainCategoryLabel?: string;
|
|
159
|
-
subCategory?: string;
|
|
160
|
-
subCategoryLabel?: string;
|
|
161
|
-
}
|
|
162
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var Environment;
|
|
4
|
-
(function (Environment) {
|
|
5
|
-
Environment["production"] = "production";
|
|
6
|
-
Environment["lab"] = "lab";
|
|
7
|
-
Environment["all"] = "all";
|
|
8
|
-
})(Environment || (Environment = {}));
|
|
9
|
-
var Device;
|
|
10
|
-
(function (Device) {
|
|
11
|
-
Device["mobile"] = "mobile";
|
|
12
|
-
Device["desktop"] = "desktop";
|
|
13
|
-
})(Device || (Device = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
export interface IaYOUneSocialAccount 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,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
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|