@ampsec/platform-client 84.28.4 → 84.30.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/build/src/dto/contexts.dto.d.ts +10 -10
- package/build/src/dto/conversations.dto.d.ts +5 -5
- package/build/src/dto/engagementContexts.dto.d.ts +6 -6
- package/build/src/dto/engagementConversations.dto.d.ts +7 -7
- package/build/src/dto/engagementLogs.dto.d.ts +54 -0
- package/build/src/dto/engagementLogs.dto.js +23 -0
- package/build/src/dto/engagementLogs.dto.js.map +1 -0
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/index.d.ts +3 -0
- package/build/src/dto/index.js +3 -0
- package/build/src/dto/index.js.map +1 -1
- package/build/src/dto/notification.dto.d.ts +70 -66
- package/build/src/dto/notification.dto.js.map +1 -1
- package/build/src/dto/platform/platform.contexts.dto.d.ts +10 -10
- package/build/src/dto/platform/platform.dialogues.dto.d.ts +5 -5
- package/build/src/dto/platform/platform.engagementContexts.dto.d.ts +6 -6
- package/build/src/dto/platform/platform.engagementConversations.dto.d.ts +2 -2
- package/build/src/dto/tagSpecs.dto.d.ts +3 -3
- package/build/src/dto/trainingSchedules.dto.d.ts +324 -0
- package/build/src/dto/trainingSchedules.dto.js +67 -0
- package/build/src/dto/trainingSchedules.dto.js.map +1 -0
- package/build/src/services/AmpApi.d.ts +2 -0
- package/build/src/services/AmpApi.js +2 -0
- package/build/src/services/AmpApi.js.map +1 -1
- package/build/src/services/constants.d.ts +1 -0
- package/build/src/services/constants.js +1 -0
- package/build/src/services/constants.js.map +1 -1
- package/build/src/services/engagementLogs.service.d.ts +9 -0
- package/build/src/services/engagementLogs.service.js +27 -0
- package/build/src/services/engagementLogs.service.js.map +1 -0
- package/package.json +1 -1
- package/src/dto/engagementLogs.dto.ts +50 -0
- package/src/dto/flows.dto.ts +2 -1
- package/src/dto/index.ts +3 -0
- package/src/dto/notification.dto.ts +5 -0
- package/src/dto/tagSpecs.dto.ts +3 -3
- package/src/dto/trainingSchedules.dto.ts +81 -0
- package/src/services/AmpApi.ts +3 -0
- package/src/services/constants.ts +1 -0
- package/src/services/engagementLogs.service.ts +29 -0
|
@@ -50,11 +50,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
50
50
|
scheduleResolutionExpiry?: number | null | undefined;
|
|
51
51
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
52
52
|
}>>>;
|
|
53
|
+
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
53
55
|
channelId: z.ZodOptional<z.ZodString>;
|
|
54
56
|
tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
57
|
engagementChannel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
-
teamId: z.ZodOptional<z.ZodString>;
|
|
58
58
|
notificationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
findingId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -83,11 +83,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
83
83
|
scheduleResolutionExpiry?: number | null | undefined;
|
|
84
84
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
85
85
|
} | null | undefined;
|
|
86
|
+
conversationId?: string | null | undefined;
|
|
87
|
+
teamId?: string | undefined;
|
|
86
88
|
channelId?: string | undefined;
|
|
87
89
|
tone?: string | null | undefined;
|
|
88
|
-
conversationId?: string | null | undefined;
|
|
89
90
|
engagementChannel?: string | null | undefined;
|
|
90
|
-
teamId?: string | undefined;
|
|
91
91
|
notificationId?: string | null | undefined;
|
|
92
92
|
findingId?: string | null | undefined;
|
|
93
93
|
threadId?: string | null | undefined;
|
|
@@ -114,11 +114,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
114
114
|
scheduleResolutionExpiry?: number | null | undefined;
|
|
115
115
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
116
116
|
} | null | undefined;
|
|
117
|
+
conversationId?: string | null | undefined;
|
|
118
|
+
teamId?: string | undefined;
|
|
117
119
|
channelId?: string | undefined;
|
|
118
120
|
tone?: string | null | undefined;
|
|
119
|
-
conversationId?: string | null | undefined;
|
|
120
121
|
engagementChannel?: string | null | undefined;
|
|
121
|
-
teamId?: string | undefined;
|
|
122
122
|
notificationId?: string | null | undefined;
|
|
123
123
|
findingId?: string | null | undefined;
|
|
124
124
|
threadId?: string | null | undefined;
|
|
@@ -211,11 +211,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
211
211
|
scheduleResolutionExpiry?: number | null | undefined;
|
|
212
212
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
213
213
|
} | null | undefined;
|
|
214
|
+
conversationId?: string | null | undefined;
|
|
215
|
+
teamId?: string | undefined;
|
|
214
216
|
channelId?: string | undefined;
|
|
215
217
|
tone?: string | null | undefined;
|
|
216
|
-
conversationId?: string | null | undefined;
|
|
217
218
|
engagementChannel?: string | null | undefined;
|
|
218
|
-
teamId?: string | undefined;
|
|
219
219
|
notificationId?: string | null | undefined;
|
|
220
220
|
findingId?: string | null | undefined;
|
|
221
221
|
threadId?: string | null | undefined;
|
|
@@ -242,11 +242,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
242
242
|
scheduleResolutionExpiry?: number | null | undefined;
|
|
243
243
|
scheduleResolutionSubmitted?: number | null | undefined;
|
|
244
244
|
} | null | undefined;
|
|
245
|
+
conversationId?: string | null | undefined;
|
|
246
|
+
teamId?: string | undefined;
|
|
245
247
|
channelId?: string | undefined;
|
|
246
248
|
tone?: string | null | undefined;
|
|
247
|
-
conversationId?: string | null | undefined;
|
|
248
249
|
engagementChannel?: string | null | undefined;
|
|
249
|
-
teamId?: string | undefined;
|
|
250
250
|
notificationId?: string | null | undefined;
|
|
251
251
|
findingId?: string | null | undefined;
|
|
252
252
|
threadId?: string | null | undefined;
|
|
@@ -6,16 +6,16 @@ export declare const _PlatformDialogueUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
6
6
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
conversationId: z.ZodString;
|
|
8
8
|
speaker: z.ZodNativeEnum<typeof import("..").ENGAGEMENT_DIALOGUE_SPEAKER>;
|
|
9
|
-
timestamp: z.ZodString;
|
|
10
9
|
dialogueContext: z.ZodString;
|
|
10
|
+
timestamp: z.ZodString;
|
|
11
11
|
}, {
|
|
12
12
|
tid: z.ZodString;
|
|
13
13
|
}>, "strip", z.ZodTypeAny, {
|
|
14
14
|
tid: string;
|
|
15
15
|
conversationId: string;
|
|
16
16
|
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
17
|
-
timestamp: string;
|
|
18
17
|
dialogueContext: string;
|
|
18
|
+
timestamp: string;
|
|
19
19
|
id?: string | undefined;
|
|
20
20
|
createdAt?: string | undefined;
|
|
21
21
|
updatedAt?: string | undefined;
|
|
@@ -24,8 +24,8 @@ export declare const _PlatformDialogueUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
24
24
|
tid: string;
|
|
25
25
|
conversationId: string;
|
|
26
26
|
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
27
|
-
timestamp: string;
|
|
28
27
|
dialogueContext: string;
|
|
28
|
+
timestamp: string;
|
|
29
29
|
id?: string | undefined;
|
|
30
30
|
createdAt?: string | undefined;
|
|
31
31
|
updatedAt?: string | undefined;
|
|
@@ -51,8 +51,8 @@ export declare const _PlatformDialogueDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
51
51
|
deletedAt: string | null;
|
|
52
52
|
conversationId: string;
|
|
53
53
|
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
54
|
-
timestamp: string;
|
|
55
54
|
dialogueContext: string;
|
|
55
|
+
timestamp: string;
|
|
56
56
|
}, {
|
|
57
57
|
id: string;
|
|
58
58
|
tid: string;
|
|
@@ -61,8 +61,8 @@ export declare const _PlatformDialogueDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
61
61
|
deletedAt: string | null;
|
|
62
62
|
conversationId: string;
|
|
63
63
|
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
64
|
-
timestamp: string;
|
|
65
64
|
dialogueContext: string;
|
|
65
|
+
timestamp: string;
|
|
66
66
|
}>;
|
|
67
67
|
export type PlatformDialogueDto = z.infer<typeof _PlatformDialogueDto>;
|
|
68
68
|
export type PlatformDialogueUpsertDto = z.infer<typeof _PlatformDialogueUpsertDto>;
|
|
@@ -4,15 +4,15 @@ export declare const _PlatformEngagementContextUpsertDto: z.ZodObject<z.objectUt
|
|
|
4
4
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5
5
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6
6
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
contextKey: z.ZodString;
|
|
8
|
-
channel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
9
7
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
channel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
9
|
+
contextKey: z.ZodString;
|
|
10
10
|
}, {
|
|
11
11
|
tid: z.ZodString;
|
|
12
12
|
}>, "strip", z.ZodTypeAny, {
|
|
13
13
|
tid: string;
|
|
14
|
-
contextKey: string;
|
|
15
14
|
channel: import("..").EngagementChannelKind;
|
|
15
|
+
contextKey: string;
|
|
16
16
|
id?: string | undefined;
|
|
17
17
|
createdAt?: string | undefined;
|
|
18
18
|
updatedAt?: string | undefined;
|
|
@@ -20,8 +20,8 @@ export declare const _PlatformEngagementContextUpsertDto: z.ZodObject<z.objectUt
|
|
|
20
20
|
conversationId?: string | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
tid: string;
|
|
23
|
-
contextKey: string;
|
|
24
23
|
channel: import("..").EngagementChannelKind;
|
|
24
|
+
contextKey: string;
|
|
25
25
|
id?: string | undefined;
|
|
26
26
|
createdAt?: string | undefined;
|
|
27
27
|
updatedAt?: string | undefined;
|
|
@@ -45,8 +45,8 @@ export declare const _PlatformEngagementContextDto: z.ZodObject<z.objectUtil.ext
|
|
|
45
45
|
createdAt: string;
|
|
46
46
|
updatedAt: string;
|
|
47
47
|
deletedAt: string | null;
|
|
48
|
-
contextKey: string;
|
|
49
48
|
channel: import("..").EngagementChannelKind;
|
|
49
|
+
contextKey: string;
|
|
50
50
|
conversationId?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
id: string;
|
|
@@ -54,8 +54,8 @@ export declare const _PlatformEngagementContextDto: z.ZodObject<z.objectUtil.ext
|
|
|
54
54
|
createdAt: string;
|
|
55
55
|
updatedAt: string;
|
|
56
56
|
deletedAt: string | null;
|
|
57
|
-
contextKey: string;
|
|
58
57
|
channel: import("..").EngagementChannelKind;
|
|
58
|
+
contextKey: string;
|
|
59
59
|
conversationId?: string | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
export type PlatformEngagementContextDto = z.infer<typeof _PlatformEngagementContextDto>;
|
|
@@ -21,9 +21,9 @@ export declare const _PlatformEngagementConversationUpsertDto: z.ZodObject<z.obj
|
|
|
21
21
|
createdAt?: string | undefined;
|
|
22
22
|
updatedAt?: string | undefined;
|
|
23
23
|
deletedAt?: string | null | undefined;
|
|
24
|
+
dialogueIds?: string[] | undefined;
|
|
24
25
|
fid?: string | undefined;
|
|
25
26
|
contextKey?: string | undefined;
|
|
26
|
-
dialogueIds?: string[] | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
status: import("..").ENGAGEMENT_CONVERSATION_STATUS;
|
|
29
29
|
tid: string;
|
|
@@ -32,9 +32,9 @@ export declare const _PlatformEngagementConversationUpsertDto: z.ZodObject<z.obj
|
|
|
32
32
|
createdAt?: string | undefined;
|
|
33
33
|
updatedAt?: string | undefined;
|
|
34
34
|
deletedAt?: string | null | undefined;
|
|
35
|
+
dialogueIds?: string[] | undefined;
|
|
35
36
|
fid?: string | undefined;
|
|
36
37
|
contextKey?: string | undefined;
|
|
37
|
-
dialogueIds?: string[] | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
export declare const _PlatformEngagementConversationDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
40
40
|
id: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { BaseDto, BaseUpsertDto } from './base.dto';
|
|
3
3
|
/**
|
|
4
4
|
* ------------------------
|
|
5
5
|
* Base TagSpec schema
|
|
@@ -66,7 +66,7 @@ export declare const _TagSpecUpsertDto: z.ZodObject<{
|
|
|
66
66
|
config?: any;
|
|
67
67
|
notify?: boolean | undefined;
|
|
68
68
|
}>;
|
|
69
|
-
export type TagSpecUpsertDto =
|
|
69
|
+
export type TagSpecUpsertDto = BaseUpsertDto & z.infer<typeof _TagSpecUpsertDto>;
|
|
70
70
|
/**
|
|
71
71
|
* ------------------------
|
|
72
72
|
* Read DTO
|
|
@@ -104,7 +104,7 @@ export declare const _TagSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
104
104
|
config?: any;
|
|
105
105
|
notify?: boolean | undefined;
|
|
106
106
|
}>;
|
|
107
|
-
export type TagSpecDto =
|
|
107
|
+
export type TagSpecDto = BaseDto & z.infer<typeof _TagSpecDto>;
|
|
108
108
|
/**
|
|
109
109
|
* ------------------------
|
|
110
110
|
* Composite DTO
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BaseDto, BaseUpsertDto } from './base.dto';
|
|
3
|
+
/**
|
|
4
|
+
* ------------------------
|
|
5
|
+
* Enums
|
|
6
|
+
* ------------------------
|
|
7
|
+
*/
|
|
8
|
+
export declare const TrainingScheduleStatus: z.ZodEnum<["enabled", "disabled"]>;
|
|
9
|
+
export declare const TrainingFrequency: z.ZodEnum<["quarterly", "every_6_months", "yearly"]>;
|
|
10
|
+
/**
|
|
11
|
+
* ------------------------
|
|
12
|
+
* Schedule Config
|
|
13
|
+
* ------------------------
|
|
14
|
+
*/
|
|
15
|
+
export declare const _ScheduleConfig: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
16
|
+
frequency: z.ZodEnum<["quarterly", "every_6_months", "yearly"]>;
|
|
17
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
dayOfWeek: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
21
|
+
dayOfMonth?: number | undefined;
|
|
22
|
+
dayOfWeek?: number | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
25
|
+
dayOfMonth?: number | undefined;
|
|
26
|
+
dayOfWeek?: number | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
29
|
+
dayOfMonth?: number | undefined;
|
|
30
|
+
dayOfWeek?: number | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
33
|
+
dayOfMonth?: number | undefined;
|
|
34
|
+
dayOfWeek?: number | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
37
|
+
dayOfMonth?: number | undefined;
|
|
38
|
+
dayOfWeek?: number | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
41
|
+
dayOfMonth?: number | undefined;
|
|
42
|
+
dayOfWeek?: number | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
/**
|
|
45
|
+
* ------------------------
|
|
46
|
+
* Base Training Schedule
|
|
47
|
+
* ------------------------
|
|
48
|
+
*/
|
|
49
|
+
export declare const _TrainingScheduleBase: z.ZodObject<{
|
|
50
|
+
/** Tenant ID */
|
|
51
|
+
tid: z.ZodString;
|
|
52
|
+
/** Schedule name */
|
|
53
|
+
name: z.ZodString;
|
|
54
|
+
/** Optional description */
|
|
55
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
/** Enabled / Disabled */
|
|
57
|
+
status: z.ZodDefault<z.ZodEnum<["enabled", "disabled"]>>;
|
|
58
|
+
/** Training metadata */
|
|
59
|
+
trainingConfig: z.ZodObject<{
|
|
60
|
+
subject: z.ZodString;
|
|
61
|
+
videoUrl: z.ZodString;
|
|
62
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
subject: string;
|
|
65
|
+
videoUrl: string;
|
|
66
|
+
thumbnailUrl?: string | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
subject: string;
|
|
69
|
+
videoUrl: string;
|
|
70
|
+
thumbnailUrl?: string | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
/** Schedule rules */
|
|
73
|
+
scheduleConfig: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
74
|
+
frequency: z.ZodEnum<["quarterly", "every_6_months", "yearly"]>;
|
|
75
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
dayOfWeek: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
79
|
+
dayOfMonth?: number | undefined;
|
|
80
|
+
dayOfWeek?: number | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
83
|
+
dayOfMonth?: number | undefined;
|
|
84
|
+
dayOfWeek?: number | undefined;
|
|
85
|
+
}>, {
|
|
86
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
87
|
+
dayOfMonth?: number | undefined;
|
|
88
|
+
dayOfWeek?: number | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
91
|
+
dayOfMonth?: number | undefined;
|
|
92
|
+
dayOfWeek?: number | undefined;
|
|
93
|
+
}>, {
|
|
94
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
95
|
+
dayOfMonth?: number | undefined;
|
|
96
|
+
dayOfWeek?: number | undefined;
|
|
97
|
+
}, {
|
|
98
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
99
|
+
dayOfMonth?: number | undefined;
|
|
100
|
+
dayOfWeek?: number | undefined;
|
|
101
|
+
}>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
name: string;
|
|
104
|
+
status: "enabled" | "disabled";
|
|
105
|
+
tid: string;
|
|
106
|
+
scheduleConfig: {
|
|
107
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
108
|
+
dayOfMonth?: number | undefined;
|
|
109
|
+
dayOfWeek?: number | undefined;
|
|
110
|
+
};
|
|
111
|
+
trainingConfig: {
|
|
112
|
+
subject: string;
|
|
113
|
+
videoUrl: string;
|
|
114
|
+
thumbnailUrl?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
description?: string | null | undefined;
|
|
117
|
+
}, {
|
|
118
|
+
name: string;
|
|
119
|
+
tid: string;
|
|
120
|
+
scheduleConfig: {
|
|
121
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
122
|
+
dayOfMonth?: number | undefined;
|
|
123
|
+
dayOfWeek?: number | undefined;
|
|
124
|
+
};
|
|
125
|
+
trainingConfig: {
|
|
126
|
+
subject: string;
|
|
127
|
+
videoUrl: string;
|
|
128
|
+
thumbnailUrl?: string | undefined;
|
|
129
|
+
};
|
|
130
|
+
status?: "enabled" | "disabled" | undefined;
|
|
131
|
+
description?: string | null | undefined;
|
|
132
|
+
}>;
|
|
133
|
+
/**
|
|
134
|
+
* ------------------------
|
|
135
|
+
* Upsert DTO
|
|
136
|
+
* ------------------------
|
|
137
|
+
*/
|
|
138
|
+
export declare const _TrainingScheduleUpsertDto: z.ZodObject<{
|
|
139
|
+
/** Tenant ID */
|
|
140
|
+
tid: z.ZodString;
|
|
141
|
+
/** Schedule name */
|
|
142
|
+
name: z.ZodString;
|
|
143
|
+
/** Optional description */
|
|
144
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
|
+
/** Enabled / Disabled */
|
|
146
|
+
status: z.ZodDefault<z.ZodEnum<["enabled", "disabled"]>>;
|
|
147
|
+
/** Training metadata */
|
|
148
|
+
trainingConfig: z.ZodObject<{
|
|
149
|
+
subject: z.ZodString;
|
|
150
|
+
videoUrl: z.ZodString;
|
|
151
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
subject: string;
|
|
154
|
+
videoUrl: string;
|
|
155
|
+
thumbnailUrl?: string | undefined;
|
|
156
|
+
}, {
|
|
157
|
+
subject: string;
|
|
158
|
+
videoUrl: string;
|
|
159
|
+
thumbnailUrl?: string | undefined;
|
|
160
|
+
}>;
|
|
161
|
+
/** Schedule rules */
|
|
162
|
+
scheduleConfig: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
163
|
+
frequency: z.ZodEnum<["quarterly", "every_6_months", "yearly"]>;
|
|
164
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
165
|
+
dayOfWeek: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
168
|
+
dayOfMonth?: number | undefined;
|
|
169
|
+
dayOfWeek?: number | undefined;
|
|
170
|
+
}, {
|
|
171
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
172
|
+
dayOfMonth?: number | undefined;
|
|
173
|
+
dayOfWeek?: number | undefined;
|
|
174
|
+
}>, {
|
|
175
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
176
|
+
dayOfMonth?: number | undefined;
|
|
177
|
+
dayOfWeek?: number | undefined;
|
|
178
|
+
}, {
|
|
179
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
180
|
+
dayOfMonth?: number | undefined;
|
|
181
|
+
dayOfWeek?: number | undefined;
|
|
182
|
+
}>, {
|
|
183
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
184
|
+
dayOfMonth?: number | undefined;
|
|
185
|
+
dayOfWeek?: number | undefined;
|
|
186
|
+
}, {
|
|
187
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
188
|
+
dayOfMonth?: number | undefined;
|
|
189
|
+
dayOfWeek?: number | undefined;
|
|
190
|
+
}>;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
name: string;
|
|
193
|
+
status: "enabled" | "disabled";
|
|
194
|
+
tid: string;
|
|
195
|
+
scheduleConfig: {
|
|
196
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
197
|
+
dayOfMonth?: number | undefined;
|
|
198
|
+
dayOfWeek?: number | undefined;
|
|
199
|
+
};
|
|
200
|
+
trainingConfig: {
|
|
201
|
+
subject: string;
|
|
202
|
+
videoUrl: string;
|
|
203
|
+
thumbnailUrl?: string | undefined;
|
|
204
|
+
};
|
|
205
|
+
description?: string | null | undefined;
|
|
206
|
+
}, {
|
|
207
|
+
name: string;
|
|
208
|
+
tid: string;
|
|
209
|
+
scheduleConfig: {
|
|
210
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
211
|
+
dayOfMonth?: number | undefined;
|
|
212
|
+
dayOfWeek?: number | undefined;
|
|
213
|
+
};
|
|
214
|
+
trainingConfig: {
|
|
215
|
+
subject: string;
|
|
216
|
+
videoUrl: string;
|
|
217
|
+
thumbnailUrl?: string | undefined;
|
|
218
|
+
};
|
|
219
|
+
status?: "enabled" | "disabled" | undefined;
|
|
220
|
+
description?: string | null | undefined;
|
|
221
|
+
}>;
|
|
222
|
+
export type TrainingScheduleUpsertDto = BaseUpsertDto & z.infer<typeof _TrainingScheduleUpsertDto>;
|
|
223
|
+
/**
|
|
224
|
+
* ------------------------
|
|
225
|
+
* Read DTO
|
|
226
|
+
* ------------------------
|
|
227
|
+
*/
|
|
228
|
+
export declare const _TrainingScheduleDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
229
|
+
/** Tenant ID */
|
|
230
|
+
tid: z.ZodString;
|
|
231
|
+
/** Schedule name */
|
|
232
|
+
name: z.ZodString;
|
|
233
|
+
/** Optional description */
|
|
234
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
235
|
+
/** Enabled / Disabled */
|
|
236
|
+
status: z.ZodDefault<z.ZodEnum<["enabled", "disabled"]>>;
|
|
237
|
+
/** Training metadata */
|
|
238
|
+
trainingConfig: z.ZodObject<{
|
|
239
|
+
subject: z.ZodString;
|
|
240
|
+
videoUrl: z.ZodString;
|
|
241
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
subject: string;
|
|
244
|
+
videoUrl: string;
|
|
245
|
+
thumbnailUrl?: string | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
subject: string;
|
|
248
|
+
videoUrl: string;
|
|
249
|
+
thumbnailUrl?: string | undefined;
|
|
250
|
+
}>;
|
|
251
|
+
/** Schedule rules */
|
|
252
|
+
scheduleConfig: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
253
|
+
frequency: z.ZodEnum<["quarterly", "every_6_months", "yearly"]>;
|
|
254
|
+
dayOfMonth: z.ZodOptional<z.ZodNumber>;
|
|
255
|
+
dayOfWeek: z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
258
|
+
dayOfMonth?: number | undefined;
|
|
259
|
+
dayOfWeek?: number | undefined;
|
|
260
|
+
}, {
|
|
261
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
262
|
+
dayOfMonth?: number | undefined;
|
|
263
|
+
dayOfWeek?: number | undefined;
|
|
264
|
+
}>, {
|
|
265
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
266
|
+
dayOfMonth?: number | undefined;
|
|
267
|
+
dayOfWeek?: number | undefined;
|
|
268
|
+
}, {
|
|
269
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
270
|
+
dayOfMonth?: number | undefined;
|
|
271
|
+
dayOfWeek?: number | undefined;
|
|
272
|
+
}>, {
|
|
273
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
274
|
+
dayOfMonth?: number | undefined;
|
|
275
|
+
dayOfWeek?: number | undefined;
|
|
276
|
+
}, {
|
|
277
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
278
|
+
dayOfMonth?: number | undefined;
|
|
279
|
+
dayOfWeek?: number | undefined;
|
|
280
|
+
}>;
|
|
281
|
+
}, {
|
|
282
|
+
id: z.ZodString;
|
|
283
|
+
/** Last execution timestamp */
|
|
284
|
+
lastRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
/** Next scheduled execution */
|
|
286
|
+
nextRunAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
}>, "strip", z.ZodTypeAny, {
|
|
288
|
+
name: string;
|
|
289
|
+
status: "enabled" | "disabled";
|
|
290
|
+
id: string;
|
|
291
|
+
tid: string;
|
|
292
|
+
scheduleConfig: {
|
|
293
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
294
|
+
dayOfMonth?: number | undefined;
|
|
295
|
+
dayOfWeek?: number | undefined;
|
|
296
|
+
};
|
|
297
|
+
trainingConfig: {
|
|
298
|
+
subject: string;
|
|
299
|
+
videoUrl: string;
|
|
300
|
+
thumbnailUrl?: string | undefined;
|
|
301
|
+
};
|
|
302
|
+
description?: string | null | undefined;
|
|
303
|
+
lastRunAt?: string | null | undefined;
|
|
304
|
+
nextRunAt?: string | null | undefined;
|
|
305
|
+
}, {
|
|
306
|
+
name: string;
|
|
307
|
+
id: string;
|
|
308
|
+
tid: string;
|
|
309
|
+
scheduleConfig: {
|
|
310
|
+
frequency: "quarterly" | "every_6_months" | "yearly";
|
|
311
|
+
dayOfMonth?: number | undefined;
|
|
312
|
+
dayOfWeek?: number | undefined;
|
|
313
|
+
};
|
|
314
|
+
trainingConfig: {
|
|
315
|
+
subject: string;
|
|
316
|
+
videoUrl: string;
|
|
317
|
+
thumbnailUrl?: string | undefined;
|
|
318
|
+
};
|
|
319
|
+
status?: "enabled" | "disabled" | undefined;
|
|
320
|
+
description?: string | null | undefined;
|
|
321
|
+
lastRunAt?: string | null | undefined;
|
|
322
|
+
nextRunAt?: string | null | undefined;
|
|
323
|
+
}>;
|
|
324
|
+
export type TrainingScheduleDto = BaseDto & z.infer<typeof _TrainingScheduleDto>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._TrainingScheduleDto = exports._TrainingScheduleUpsertDto = exports._TrainingScheduleBase = exports._ScheduleConfig = exports.TrainingFrequency = exports.TrainingScheduleStatus = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const trainings_dto_1 = require("./trainings.dto");
|
|
6
|
+
/**
|
|
7
|
+
* ------------------------
|
|
8
|
+
* Enums
|
|
9
|
+
* ------------------------
|
|
10
|
+
*/
|
|
11
|
+
exports.TrainingScheduleStatus = zod_1.z.enum(['enabled', 'disabled']);
|
|
12
|
+
exports.TrainingFrequency = zod_1.z.enum(['quarterly', 'every_6_months', 'yearly']);
|
|
13
|
+
/**
|
|
14
|
+
* ------------------------
|
|
15
|
+
* Schedule Config
|
|
16
|
+
* ------------------------
|
|
17
|
+
*/
|
|
18
|
+
exports._ScheduleConfig = zod_1.z
|
|
19
|
+
.object({
|
|
20
|
+
frequency: exports.TrainingFrequency,
|
|
21
|
+
dayOfMonth: zod_1.z.number().min(1).max(31).optional(),
|
|
22
|
+
dayOfWeek: zod_1.z.number().min(0).max(6).optional(),
|
|
23
|
+
})
|
|
24
|
+
.refine(cfg => cfg.dayOfMonth || cfg.dayOfWeek, {
|
|
25
|
+
message: 'Either dayOfMonth or dayOfWeek must be provided',
|
|
26
|
+
})
|
|
27
|
+
.refine(cfg => !(cfg.dayOfMonth && cfg.dayOfWeek), {
|
|
28
|
+
message: 'Only one of dayOfMonth or dayOfWeek can be provided',
|
|
29
|
+
});
|
|
30
|
+
/**
|
|
31
|
+
* ------------------------
|
|
32
|
+
* Base Training Schedule
|
|
33
|
+
* ------------------------
|
|
34
|
+
*/
|
|
35
|
+
exports._TrainingScheduleBase = zod_1.z.object({
|
|
36
|
+
/** Tenant ID */
|
|
37
|
+
tid: zod_1.z.string(),
|
|
38
|
+
/** Schedule name */
|
|
39
|
+
name: zod_1.z.string(),
|
|
40
|
+
/** Optional description */
|
|
41
|
+
description: zod_1.z.string().nullish(),
|
|
42
|
+
/** Enabled / Disabled */
|
|
43
|
+
status: exports.TrainingScheduleStatus.default('enabled'),
|
|
44
|
+
/** Training metadata */
|
|
45
|
+
trainingConfig: trainings_dto_1._TrainingDto,
|
|
46
|
+
/** Schedule rules */
|
|
47
|
+
scheduleConfig: exports._ScheduleConfig,
|
|
48
|
+
});
|
|
49
|
+
/**
|
|
50
|
+
* ------------------------
|
|
51
|
+
* Upsert DTO
|
|
52
|
+
* ------------------------
|
|
53
|
+
*/
|
|
54
|
+
exports._TrainingScheduleUpsertDto = exports._TrainingScheduleBase;
|
|
55
|
+
/**
|
|
56
|
+
* ------------------------
|
|
57
|
+
* Read DTO
|
|
58
|
+
* ------------------------
|
|
59
|
+
*/
|
|
60
|
+
exports._TrainingScheduleDto = exports._TrainingScheduleBase.extend({
|
|
61
|
+
id: zod_1.z.string(),
|
|
62
|
+
/** Last execution timestamp */
|
|
63
|
+
lastRunAt: zod_1.z.string().datetime().nullish(),
|
|
64
|
+
/** Next scheduled execution */
|
|
65
|
+
nextRunAt: zod_1.z.string().datetime().nullish(),
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=trainingSchedules.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trainingSchedules.dto.js","sourceRoot":"","sources":["../../../src/dto/trainingSchedules.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAEtB,mDAA6C;AAE7C;;;;GAIG;AACU,QAAA,sBAAsB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;AAEzD,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEnF;;;;GAIG;AACU,QAAA,eAAe,GAAG,OAAC;KAC7B,MAAM,CAAC;IACN,SAAS,EAAE,yBAAiB;IAC5B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC;KACD,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,iDAAiD;CAC3D,CAAC;KACD,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC,SAAS,CAAC,EAAE;IACjD,OAAO,EAAE,qDAAqD;CAC/D,CAAC,CAAC;AAEL;;;;GAIG;AACU,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,gBAAgB;IAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IAEf,oBAAoB;IACpB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAEhB,2BAA2B;IAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAEjC,yBAAyB;IACzB,MAAM,EAAE,8BAAsB,CAAC,OAAO,CAAC,SAAS,CAAC;IAEjD,wBAAwB;IACxB,cAAc,EAAE,4BAAY;IAE5B,qBAAqB;IACrB,cAAc,EAAE,uBAAe;CAChC,CAAC,CAAC;AAEH;;;;GAIG;AACU,QAAA,0BAA0B,GAAG,6BAAqB,CAAC;AAIhE;;;;GAIG;AACU,QAAA,oBAAoB,GAAG,6BAAqB,CAAC,MAAM,CAAC;IAC/D,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IAEd,+BAA+B;IAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE;IAE1C,+BAA+B;IAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE;CAC3C,CAAC,CAAC"}
|
|
@@ -7,6 +7,7 @@ import { CohortService } from './rest/CohortService';
|
|
|
7
7
|
import { AgentsService } from './AgentsService';
|
|
8
8
|
import { EngagementService } from './engagements.service';
|
|
9
9
|
import { TrainingsService } from './trainings.service';
|
|
10
|
+
import { EngagementLogsService } from './engagementLogs.service';
|
|
10
11
|
export type AmpApiOptions = AmpRestClientOptions;
|
|
11
12
|
/**
|
|
12
13
|
* AMP API
|
|
@@ -51,6 +52,7 @@ export declare class AmpApi {
|
|
|
51
52
|
readonly users: AmpDataService<UserDto>;
|
|
52
53
|
readonly usersInsights: UsersInsightsService;
|
|
53
54
|
readonly prediction: PredictionService;
|
|
55
|
+
readonly engagementLogs: EngagementLogsService;
|
|
54
56
|
constructor(rest: RestClient);
|
|
55
57
|
static instance(options: AmpApiOptions): AmpApi;
|
|
56
58
|
}
|
|
@@ -10,6 +10,7 @@ const CohortService_1 = require("./rest/CohortService");
|
|
|
10
10
|
const AgentsService_1 = require("./AgentsService");
|
|
11
11
|
const engagements_service_1 = require("./engagements.service");
|
|
12
12
|
const trainings_service_1 = require("./trainings.service");
|
|
13
|
+
const engagementLogs_service_1 = require("./engagementLogs.service");
|
|
13
14
|
/**
|
|
14
15
|
* AMP API
|
|
15
16
|
* This client is a wrapper around the AMP REST API meant to be used by
|
|
@@ -33,6 +34,7 @@ class AmpApi {
|
|
|
33
34
|
this.customScoreCohorts = new _1.AmpEntityServiceImpl(rest, constants_1.KIND.CUSTOM_SCORE_COHORTS);
|
|
34
35
|
this.customScoreValues = new _1.AmpEntityServiceImpl(rest, constants_1.KIND.CUSTOM_SCORE_VALUES);
|
|
35
36
|
this.engagements = new engagements_service_1.EngagementService(rest);
|
|
37
|
+
this.engagementLogs = new engagementLogs_service_1.EngagementLogsService(rest);
|
|
36
38
|
this.enums = new rest_1.DefaultEnumService(rest);
|
|
37
39
|
this.findings = new _1.FindingsService(rest);
|
|
38
40
|
this.findingsInsights = new _1.FindingsInsightsService(rest, constants_1.KIND.FINDINGS_INSIGHTS);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmpApi.js","sourceRoot":"","sources":["../../../src/services/AmpApi.ts"],"names":[],"mappings":";;;AAmBA,wBAcW;AACX,2CAAmD;AACnD,iCAA0J;AAC1J,mEAA6D;AAC7D,2DAAqD;AACrD,wDAAmD;AACnD,mDAA8C;AAC9C,+DAAwD;AACxD,2DAAqD;
|
|
1
|
+
{"version":3,"file":"AmpApi.js","sourceRoot":"","sources":["../../../src/services/AmpApi.ts"],"names":[],"mappings":";;;AAmBA,wBAcW;AACX,2CAAmD;AACnD,iCAA0J;AAC1J,mEAA6D;AAC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