@tolinax/ayoune-interfaces 2024.116.0 → 2024.118.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/IAutomationCheck.d.ts +2 -4
- package/interfaces/IBrowserAutomation.d.ts +2 -5
- package/interfaces/ICostUsageTrackingFields.d.ts +8 -0
- package/interfaces/ICostUsageTrackingFields.js +2 -0
- package/interfaces/IExportConfig.d.ts +2 -4
- package/interfaces/IImageGenerator.d.ts +2 -5
- package/interfaces/IMiddleware.d.ts +2 -5
- package/interfaces/IQuery.d.ts +2 -5
- package/interfaces/IService.d.ts +2 -5
- package/interfaces/ISetting.d.ts +68 -0
- package/interfaces/IStream.d.ts +2 -1
- package/interfaces/ITextGenerator.d.ts +2 -5
- package/interfaces/IUserFunction.d.ts +2 -5
- package/interfaces/IVideoGenerator.d.ts +2 -6
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
2
|
import { IDataSource } from "./IDataSource";
|
|
3
|
-
|
|
3
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
4
|
+
export interface IAutomationCheck extends IDefaultFields, ICostUsageTrackingFields {
|
|
4
5
|
_customerID: ObjectId;
|
|
5
6
|
_clientID: ObjectId[];
|
|
6
7
|
_subID: ObjectId[];
|
|
@@ -20,9 +21,6 @@ export interface IAutomationCheck extends IDefaultFields {
|
|
|
20
21
|
runs?: number;
|
|
21
22
|
nextRun?: Date;
|
|
22
23
|
lastRun?: Date;
|
|
23
|
-
lastExecutionTime?: number;
|
|
24
|
-
totalExecutionTime?: number;
|
|
25
|
-
numExecutions?: number;
|
|
26
24
|
useQuery?: boolean;
|
|
27
25
|
_query?: ObjectId;
|
|
28
26
|
dataSource: IDataSource;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
2
3
|
export interface InputValue {
|
|
3
4
|
key?: string;
|
|
4
5
|
defaultValue?: string;
|
|
@@ -15,7 +16,7 @@ export interface Step {
|
|
|
15
16
|
count?: number;
|
|
16
17
|
params?: StepParam[];
|
|
17
18
|
}
|
|
18
|
-
export interface IBrowserAutomation extends IDefaultFields {
|
|
19
|
+
export interface IBrowserAutomation extends IDefaultFields, ICostUsageTrackingFields {
|
|
19
20
|
_customerID: ObjectId;
|
|
20
21
|
_clientID?: ObjectId[];
|
|
21
22
|
_subID?: ObjectId[];
|
|
@@ -26,10 +27,6 @@ export interface IBrowserAutomation extends IDefaultFields {
|
|
|
26
27
|
steps?: Step[];
|
|
27
28
|
nextRun?: Date;
|
|
28
29
|
lastRun?: Date;
|
|
29
|
-
lastExecutionTime?: number;
|
|
30
|
-
totalExecutionTime?: number;
|
|
31
|
-
numExecutions?: number;
|
|
32
|
-
lastResult?: string;
|
|
33
30
|
scheduled?: boolean;
|
|
34
31
|
scheduledInterval?: number;
|
|
35
32
|
timeFrame?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
2
|
import { IRecipient } from "./IRecipient";
|
|
3
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
3
4
|
export interface IExportEntry {
|
|
4
5
|
file: ObjectId;
|
|
5
6
|
fileName: string;
|
|
@@ -19,7 +20,7 @@ export interface IExportFieldOverride {
|
|
|
19
20
|
field: string;
|
|
20
21
|
value: string;
|
|
21
22
|
}
|
|
22
|
-
export interface IExportConfig extends IDefaultFields {
|
|
23
|
+
export interface IExportConfig extends IDefaultFields, ICostUsageTrackingFields {
|
|
23
24
|
_customerID: ObjectId;
|
|
24
25
|
_consumerID?: ObjectId;
|
|
25
26
|
_clientID?: ObjectId[];
|
|
@@ -58,9 +59,6 @@ export interface IExportConfig extends IDefaultFields {
|
|
|
58
59
|
runs?: number;
|
|
59
60
|
nextRun?: Date;
|
|
60
61
|
lastRun?: Date;
|
|
61
|
-
lastExecutionTime?: number;
|
|
62
|
-
totalExecutionTime?: number;
|
|
63
|
-
numExecutions?: number;
|
|
64
62
|
recipients?: IRecipient[];
|
|
65
63
|
exports?: IExportEntry[];
|
|
66
64
|
defineFields?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
2
|
import { IDataSource } from "./IDataSource";
|
|
3
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
3
4
|
export interface IOverlay {
|
|
4
5
|
type: "text" | "caption" | "image";
|
|
5
6
|
fileId?: string;
|
|
@@ -18,7 +19,7 @@ export interface IOverlay {
|
|
|
18
19
|
fontSize?: number;
|
|
19
20
|
fontWeight?: string;
|
|
20
21
|
}
|
|
21
|
-
export interface IImageGenerator extends IDefaultFields {
|
|
22
|
+
export interface IImageGenerator extends IDefaultFields, ICostUsageTrackingFields {
|
|
22
23
|
_customerID: ObjectId;
|
|
23
24
|
createdBy: ObjectId;
|
|
24
25
|
_clientID?: ObjectId[];
|
|
@@ -40,9 +41,5 @@ export interface IImageGenerator extends IDefaultFields {
|
|
|
40
41
|
overlays?: IOverlay[];
|
|
41
42
|
nextRun?: Date;
|
|
42
43
|
lastRun?: Date;
|
|
43
|
-
lastExecutionTime?: number;
|
|
44
|
-
totalExecutionTime?: number;
|
|
45
|
-
numExecutions?: number;
|
|
46
|
-
lastResult?: string;
|
|
47
44
|
lastLiveFile?: ObjectId;
|
|
48
45
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
|
|
2
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
3
|
+
export interface IMiddleware extends IDefaultFields, ICostUsageTrackingFields {
|
|
3
4
|
_customerID: ObjectId;
|
|
4
5
|
_user: ObjectId;
|
|
5
6
|
_clientID?: ObjectId[];
|
|
@@ -16,10 +17,6 @@ export interface IMiddleware extends IDefaultFields {
|
|
|
16
17
|
lastPipeline?: string;
|
|
17
18
|
lastData?: string;
|
|
18
19
|
lastUpdateOptions?: string;
|
|
19
|
-
lastExecution?: Date;
|
|
20
|
-
lastExecutionTime?: number;
|
|
21
|
-
totalExecutionTime?: number;
|
|
22
|
-
numExecutions?: number;
|
|
23
20
|
inputParams?: {
|
|
24
21
|
key?: string;
|
|
25
22
|
selector?: string;
|
package/interfaces/IQuery.d.ts
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
2
|
import { IDataSource } from "./IDataSource";
|
|
3
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
3
4
|
export interface IQueryCache {
|
|
4
5
|
lastCached?: Date;
|
|
5
6
|
enabled: boolean;
|
|
6
7
|
time?: number;
|
|
7
8
|
data?: string;
|
|
8
9
|
}
|
|
9
|
-
export interface IQuery extends IDefaultFields {
|
|
10
|
+
export interface IQuery extends IDefaultFields, ICostUsageTrackingFields {
|
|
10
11
|
_customerID: ObjectId;
|
|
11
12
|
_clientID?: ObjectId[];
|
|
12
13
|
_subID?: ObjectId[];
|
|
13
14
|
name?: string;
|
|
14
15
|
dataSource: IDataSource;
|
|
15
16
|
cacheTime?: number;
|
|
16
|
-
lastRun?: Date;
|
|
17
|
-
lastExecutionTime?: number;
|
|
18
|
-
totalExecutionTime?: number;
|
|
19
|
-
numExecutions?: number;
|
|
20
17
|
cache: IQueryCache;
|
|
21
18
|
}
|
package/interfaces/IService.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
2
3
|
export interface IServiceField {
|
|
3
4
|
required?: boolean;
|
|
4
5
|
example?: any;
|
|
@@ -8,7 +9,7 @@ export interface IServiceField {
|
|
|
8
9
|
advanced?: boolean;
|
|
9
10
|
default?: any;
|
|
10
11
|
}
|
|
11
|
-
export interface IService extends IDefaultFields {
|
|
12
|
+
export interface IService extends IDefaultFields, ICostUsageTrackingFields {
|
|
12
13
|
_customerID: ObjectId;
|
|
13
14
|
_clientID?: ObjectId[];
|
|
14
15
|
_subID?: ObjectId[];
|
|
@@ -31,8 +32,4 @@ export interface IService extends IDefaultFields {
|
|
|
31
32
|
lastInput?: string;
|
|
32
33
|
lastQuery?: string;
|
|
33
34
|
lastData?: string;
|
|
34
|
-
lastExecution?: Date;
|
|
35
|
-
lastExecutionTime?: number;
|
|
36
|
-
totalExecutionTime?: number;
|
|
37
|
-
numExecutions?: number;
|
|
38
35
|
}
|
package/interfaces/ISetting.d.ts
CHANGED
|
@@ -938,6 +938,73 @@ interface LinkPortalCustomArea {
|
|
|
938
938
|
title: string;
|
|
939
939
|
content: string;
|
|
940
940
|
}
|
|
941
|
+
interface OpenGraph {
|
|
942
|
+
title: string;
|
|
943
|
+
description: string;
|
|
944
|
+
image: string;
|
|
945
|
+
locale: string;
|
|
946
|
+
url: string;
|
|
947
|
+
type: string;
|
|
948
|
+
video: string;
|
|
949
|
+
audio: string;
|
|
950
|
+
}
|
|
951
|
+
interface MetaTag {
|
|
952
|
+
name: string;
|
|
953
|
+
property: string;
|
|
954
|
+
content: string;
|
|
955
|
+
schema: string;
|
|
956
|
+
}
|
|
957
|
+
interface SEOAttributes {
|
|
958
|
+
title: string;
|
|
959
|
+
description: string;
|
|
960
|
+
robots: string;
|
|
961
|
+
canonical: string;
|
|
962
|
+
openGraph: OpenGraph;
|
|
963
|
+
additionalMetaTags: MetaTag[];
|
|
964
|
+
}
|
|
965
|
+
interface KnowledgeBaseSettings {
|
|
966
|
+
showReadingTime: boolean;
|
|
967
|
+
showAuthor: boolean;
|
|
968
|
+
showExcerpt: boolean;
|
|
969
|
+
showViews: boolean;
|
|
970
|
+
showLikes: boolean;
|
|
971
|
+
showShares: boolean;
|
|
972
|
+
seo: SEOAttributes;
|
|
973
|
+
}
|
|
974
|
+
interface BlogSettings extends KnowledgeBaseSettings {
|
|
975
|
+
mainVideoPlatform: string;
|
|
976
|
+
}
|
|
977
|
+
interface ISupportPortal {
|
|
978
|
+
active: boolean;
|
|
979
|
+
title: string;
|
|
980
|
+
defaultLanguage: string;
|
|
981
|
+
description: string;
|
|
982
|
+
color1: string;
|
|
983
|
+
color2: string;
|
|
984
|
+
useIcon: boolean;
|
|
985
|
+
showChat: boolean;
|
|
986
|
+
chatBot: boolean;
|
|
987
|
+
showFaqs: boolean;
|
|
988
|
+
showGlossar: boolean;
|
|
989
|
+
showBlog: boolean;
|
|
990
|
+
showUniversity: boolean;
|
|
991
|
+
showChecklists: boolean;
|
|
992
|
+
showBugs: boolean;
|
|
993
|
+
bugProjects: ObjectId[];
|
|
994
|
+
showAnnouncements: boolean;
|
|
995
|
+
showTicketCreation: boolean;
|
|
996
|
+
knowledgeBase: KnowledgeBaseSettings;
|
|
997
|
+
blog: BlogSettings;
|
|
998
|
+
ticketCreationProject?: ObjectId;
|
|
999
|
+
ticketCreationButtonText?: string;
|
|
1000
|
+
showReleaseNotes: boolean;
|
|
1001
|
+
releaseNotesProjects: ObjectId[];
|
|
1002
|
+
showChangelogs: boolean;
|
|
1003
|
+
changeLogsProjects: ObjectId[];
|
|
1004
|
+
showRoadMap: boolean;
|
|
1005
|
+
roadMapProjects: ObjectId[];
|
|
1006
|
+
seo: SEOAttributes;
|
|
1007
|
+
}
|
|
941
1008
|
interface ILinkPortal {
|
|
942
1009
|
title: string;
|
|
943
1010
|
description: string;
|
|
@@ -999,6 +1066,7 @@ export interface ISetting extends IDefaultFields {
|
|
|
999
1066
|
slides: SlidesSettings;
|
|
1000
1067
|
customerportal: ISettingCustomerPortal;
|
|
1001
1068
|
linkPortal: ILinkPortal;
|
|
1069
|
+
supportPortal: ISupportPortal;
|
|
1002
1070
|
[x: string]: any;
|
|
1003
1071
|
}
|
|
1004
1072
|
export {};
|
package/interfaces/IStream.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
2
|
import { IDetailsOptions, IDownloadKey } from "./IDownload";
|
|
3
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
3
4
|
interface IStreamPart {
|
|
4
5
|
_file?: ObjectId;
|
|
5
6
|
fileId?: string;
|
|
@@ -62,7 +63,7 @@ interface IStreamOptions {
|
|
|
62
63
|
waveSize?: number;
|
|
63
64
|
shareUrl?: string;
|
|
64
65
|
}
|
|
65
|
-
export interface IStream extends IDefaultFields {
|
|
66
|
+
export interface IStream extends IDefaultFields, ICostUsageTrackingFields {
|
|
66
67
|
_customerID: ObjectId;
|
|
67
68
|
_clientID?: ObjectId[];
|
|
68
69
|
_subID?: ObjectId[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
2
|
import { ITxtStats } from "./ITxtStats";
|
|
3
3
|
import { IDataSource } from "./IDataSource";
|
|
4
|
-
|
|
4
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
5
|
+
export interface ITextGenerator extends IDefaultFields, ICostUsageTrackingFields {
|
|
5
6
|
_customerID: ObjectId;
|
|
6
7
|
createdBy: ObjectId;
|
|
7
8
|
_clientID: ObjectId[];
|
|
@@ -25,8 +26,4 @@ export interface ITextGenerator extends IDefaultFields {
|
|
|
25
26
|
}[];
|
|
26
27
|
nextRun?: Date;
|
|
27
28
|
lastRun?: Date;
|
|
28
|
-
lastExecutionTime?: number;
|
|
29
|
-
totalExecutionTime?: number;
|
|
30
|
-
numExecutions?: number;
|
|
31
|
-
lastResult?: string;
|
|
32
29
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
|
|
2
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
3
|
+
export interface IUserFunction extends IDefaultFields, ICostUsageTrackingFields {
|
|
3
4
|
_customerID: ObjectId;
|
|
4
5
|
createdBy: ObjectId;
|
|
5
6
|
_clientID: ObjectId[];
|
|
@@ -11,8 +12,4 @@ export interface IUserFunction extends IDefaultFields {
|
|
|
11
12
|
script?: string;
|
|
12
13
|
nextRun?: Date;
|
|
13
14
|
lastRun?: Date;
|
|
14
|
-
lastExecutionTime?: number;
|
|
15
|
-
totalExecutionTime?: number;
|
|
16
|
-
numExecutions?: number;
|
|
17
|
-
lastResult?: string;
|
|
18
15
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ICostUsageTrackingFields } from "./ICostUsageTrackingFields";
|
|
2
3
|
export interface IText {
|
|
3
4
|
useText?: boolean;
|
|
4
5
|
_textGenerator?: ObjectId;
|
|
@@ -76,7 +77,7 @@ export interface IScene {
|
|
|
76
77
|
audio?: IAudio;
|
|
77
78
|
elements?: ISceneElement[];
|
|
78
79
|
}
|
|
79
|
-
export interface IVideoGenerator extends IDefaultFields {
|
|
80
|
+
export interface IVideoGenerator extends IDefaultFields, ICostUsageTrackingFields {
|
|
80
81
|
_customerID: ObjectId;
|
|
81
82
|
createdBy: ObjectId;
|
|
82
83
|
_clientID?: ObjectId[];
|
|
@@ -100,9 +101,4 @@ export interface IVideoGenerator extends IDefaultFields {
|
|
|
100
101
|
scenes?: IScene[];
|
|
101
102
|
nextRun?: Date;
|
|
102
103
|
lastRun?: Date;
|
|
103
|
-
lastExecutionTime?: number;
|
|
104
|
-
totalExecutionTime?: number;
|
|
105
|
-
numExecutions?: number;
|
|
106
|
-
lastResult?: string;
|
|
107
|
-
lastUsage?: string;
|
|
108
104
|
}
|