@tolinax/ayoune-interfaces 2025.4.1 → 2025.7.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.
- package/interfaces/IDataCollection.d.ts +24 -0
- package/interfaces/IDataCollection.js +2 -0
- package/interfaces/IDataCollectionEntry.d.ts +16 -0
- package/interfaces/IDataCollectionEntry.js +2 -0
- package/interfaces/IaYOUneProxyUser.d.ts +10 -0
- package/interfaces/index.d.ts +3 -0
- package/interfaces/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
interface IDataCollectionGroupField {
|
|
3
|
+
name: string;
|
|
4
|
+
help: string;
|
|
5
|
+
_attribute: ObjectId;
|
|
6
|
+
attribute: string;
|
|
7
|
+
}
|
|
8
|
+
interface IDataCollectionGroup {
|
|
9
|
+
name: string;
|
|
10
|
+
help: string;
|
|
11
|
+
fields: IDataCollectionGroupField[];
|
|
12
|
+
}
|
|
13
|
+
export interface IDataCollection extends IDefaultFields {
|
|
14
|
+
_customerID: ObjectId;
|
|
15
|
+
_clientID?: ObjectId[];
|
|
16
|
+
_subID?: ObjectId[];
|
|
17
|
+
name?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
help?: string;
|
|
20
|
+
interval?: 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
21
|
+
reminder?: boolean;
|
|
22
|
+
groups: IDataCollectionGroup[];
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
interface IDataCollectionEntryValue {
|
|
3
|
+
_attribute: ObjectId;
|
|
4
|
+
attribute: string;
|
|
5
|
+
value: any;
|
|
6
|
+
}
|
|
7
|
+
export interface IDataCollectionEntry extends IDefaultFields {
|
|
8
|
+
_customerID: ObjectId;
|
|
9
|
+
_clientID?: ObjectId[];
|
|
10
|
+
_subID?: ObjectId[];
|
|
11
|
+
_consumerID: ObjectId;
|
|
12
|
+
date: Date;
|
|
13
|
+
note?: string;
|
|
14
|
+
values: IDataCollectionEntryValue[];
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -13,6 +13,7 @@ export interface IaYOUneProxyUserKeyword {
|
|
|
13
13
|
export interface IaYOUneProxyUserAccount {
|
|
14
14
|
username: string;
|
|
15
15
|
password: string;
|
|
16
|
+
lastLogin: Date;
|
|
16
17
|
}
|
|
17
18
|
export interface IaYOUneProxyUserActiveTimes {
|
|
18
19
|
morning: number;
|
|
@@ -58,9 +59,13 @@ export interface IaYOUneProxyUser extends IDefaultFields {
|
|
|
58
59
|
environments: string[];
|
|
59
60
|
lockedUntil?: Date;
|
|
60
61
|
lastCrawl?: Date;
|
|
62
|
+
lastCrawlSocial?: Date;
|
|
61
63
|
lastCookieDrop?: Date;
|
|
62
64
|
lastUrl?: string;
|
|
65
|
+
lastUrlSocial?: string;
|
|
63
66
|
crawlCount: number;
|
|
67
|
+
crawlCountSocial: number;
|
|
68
|
+
socialMedia: Boolean;
|
|
64
69
|
segments: IaYOUneProxyUserSegment[];
|
|
65
70
|
keywords: IaYOUneProxyUserKeyword[];
|
|
66
71
|
username?: string;
|
|
@@ -71,6 +76,11 @@ export interface IaYOUneProxyUser extends IDefaultFields {
|
|
|
71
76
|
bing: IaYOUneProxyUserAccount;
|
|
72
77
|
yandex: IaYOUneProxyUserAccount;
|
|
73
78
|
amazon: IaYOUneProxyUserAccount;
|
|
79
|
+
facebook: IaYOUneProxyUserAccount;
|
|
80
|
+
instagram: IaYOUneProxyUserAccount;
|
|
81
|
+
tiktok: IaYOUneProxyUserAccount;
|
|
82
|
+
reddit: IaYOUneProxyUserAccount;
|
|
83
|
+
x: IaYOUneProxyUserAccount;
|
|
74
84
|
};
|
|
75
85
|
phoneNumber?: string;
|
|
76
86
|
demographic: IDemographics;
|
package/interfaces/index.d.ts
CHANGED
|
@@ -221,6 +221,8 @@ export * from "./IDashBoard";
|
|
|
221
221
|
export * from "./IDataPool";
|
|
222
222
|
export * from "./IDataSource";
|
|
223
223
|
export * from "./IDataSources";
|
|
224
|
+
export * from "./IDataCollection";
|
|
225
|
+
export * from "./IDataCollectionEntry";
|
|
224
226
|
export * from "./IDecision";
|
|
225
227
|
export * from "./IDefaultFields";
|
|
226
228
|
export * from "./IDemographics";
|
|
@@ -328,6 +330,7 @@ export * from "./IInvoice";
|
|
|
328
330
|
export * from "./IIoTDevice";
|
|
329
331
|
export * from "./IJobOffer";
|
|
330
332
|
export * from "./IJournal";
|
|
333
|
+
export * from "./IJournalEntry";
|
|
331
334
|
export * from "./IK8Cluster";
|
|
332
335
|
export * from "./IK8Deployment";
|
|
333
336
|
export * from "./IKanbanBoard";
|
package/interfaces/index.js
CHANGED
|
@@ -237,6 +237,8 @@ __exportStar(require("./IDashBoard"), exports);
|
|
|
237
237
|
__exportStar(require("./IDataPool"), exports);
|
|
238
238
|
__exportStar(require("./IDataSource"), exports);
|
|
239
239
|
__exportStar(require("./IDataSources"), exports);
|
|
240
|
+
__exportStar(require("./IDataCollection"), exports);
|
|
241
|
+
__exportStar(require("./IDataCollectionEntry"), exports);
|
|
240
242
|
__exportStar(require("./IDecision"), exports);
|
|
241
243
|
__exportStar(require("./IDefaultFields"), exports);
|
|
242
244
|
__exportStar(require("./IDemographics"), exports);
|
|
@@ -344,6 +346,7 @@ __exportStar(require("./IInvoice"), exports);
|
|
|
344
346
|
__exportStar(require("./IIoTDevice"), exports);
|
|
345
347
|
__exportStar(require("./IJobOffer"), exports);
|
|
346
348
|
__exportStar(require("./IJournal"), exports);
|
|
349
|
+
__exportStar(require("./IJournalEntry"), exports);
|
|
347
350
|
__exportStar(require("./IK8Cluster"), exports);
|
|
348
351
|
__exportStar(require("./IK8Deployment"), exports);
|
|
349
352
|
__exportStar(require("./IKanbanBoard"), exports);
|