@ampsec/platform-client 81.1.1 → 81.3.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/build/src/dto/contexts.dto.d.ts +99 -0
- package/build/src/dto/contexts.dto.js +22 -0
- package/build/src/dto/contexts.dto.js.map +1 -0
- package/build/src/dto/conversations.dto.d.ts +158 -0
- package/build/src/dto/conversations.dto.js +28 -0
- package/build/src/dto/conversations.dto.js.map +1 -0
- package/build/src/dto/engagementConversations.dto.d.ts +1 -9
- package/build/src/dto/engagementConversations.dto.js +3 -13
- package/build/src/dto/engagementConversations.dto.js.map +1 -1
- package/build/src/dto/enums/engagementConversationStatus.d.ts +4 -0
- package/build/src/dto/enums/engagementConversationStatus.js +9 -0
- package/build/src/dto/enums/engagementConversationStatus.js.map +1 -0
- package/build/src/dto/enums/engagementDialogueSpeaker.d.ts +4 -0
- package/build/src/dto/enums/engagementDialogueSpeaker.js +9 -0
- package/build/src/dto/enums/engagementDialogueSpeaker.js.map +1 -0
- package/build/src/dto/enums/index.d.ts +2 -0
- package/build/src/dto/enums/index.js +2 -0
- package/build/src/dto/enums/index.js.map +1 -1
- package/build/src/dto/flows.dto.d.ts +213 -0
- package/build/src/dto/flows.dto.js +12 -1
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/index.d.ts +2 -0
- package/build/src/dto/index.js +2 -0
- package/build/src/dto/index.js.map +1 -1
- package/build/src/dto/platform/index.d.ts +3 -0
- package/build/src/dto/platform/index.js +3 -0
- package/build/src/dto/platform/index.js.map +1 -1
- package/build/src/dto/platform/platform.contexts.dto.d.ts +106 -0
- package/build/src/dto/platform/platform.contexts.dto.js +12 -0
- package/build/src/dto/platform/platform.contexts.dto.js.map +1 -0
- package/build/src/dto/platform/platform.conversations.dto.d.ts +59 -0
- package/build/src/dto/platform/platform.conversations.dto.js +12 -0
- package/build/src/dto/platform/platform.conversations.dto.js.map +1 -0
- package/build/src/dto/platform/platform.dialogues.dto.d.ts +68 -0
- package/build/src/dto/platform/platform.dialogues.dto.js +12 -0
- package/build/src/dto/platform/platform.dialogues.dto.js.map +1 -0
- package/build/src/dto/platform/platform.engagementConversations.dto.d.ts +6 -6
- package/build/src/dto/platform/platform.flows.dto.d.ts +102 -0
- package/package.json +1 -1
- package/src/dto/contexts.dto.ts +24 -0
- package/src/dto/conversations.dto.ts +40 -0
- package/src/dto/engagementConversations.dto.ts +1 -11
- package/src/dto/enums/engagementConversationStatus.ts +4 -0
- package/src/dto/enums/engagementDialogueSpeaker.ts +4 -0
- package/src/dto/enums/index.ts +2 -0
- package/src/dto/flows.dto.ts +12 -1
- package/src/dto/index.ts +2 -0
- package/src/dto/platform/index.ts +3 -0
- package/src/dto/platform/platform.contexts.dto.ts +14 -0
- package/src/dto/platform/platform.conversations.dto.ts +14 -0
- package/src/dto/platform/platform.dialogues.dto.ts +14 -0
|
@@ -866,6 +866,29 @@ export declare const _FlowActionButton: z.ZodObject<{
|
|
|
866
866
|
findingStatus: FindingStatus | null;
|
|
867
867
|
actionLabel: string;
|
|
868
868
|
}>;
|
|
869
|
+
export declare const _FlowLaunchAction: z.ZodObject<{
|
|
870
|
+
id: z.ZodString;
|
|
871
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
872
|
+
actionId: z.ZodNullable<z.ZodString>;
|
|
873
|
+
}, "strip", z.ZodTypeAny, {
|
|
874
|
+
actionId: string | null;
|
|
875
|
+
}, {
|
|
876
|
+
actionId: string | null;
|
|
877
|
+
}>, "many">;
|
|
878
|
+
findingStatus: z.ZodNullable<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
879
|
+
}, "strip", z.ZodTypeAny, {
|
|
880
|
+
id: string;
|
|
881
|
+
actions: {
|
|
882
|
+
actionId: string | null;
|
|
883
|
+
}[];
|
|
884
|
+
findingStatus: FindingStatus | null;
|
|
885
|
+
}, {
|
|
886
|
+
id: string;
|
|
887
|
+
actions: {
|
|
888
|
+
actionId: string | null;
|
|
889
|
+
}[];
|
|
890
|
+
findingStatus: FindingStatus | null;
|
|
891
|
+
}>;
|
|
869
892
|
export type FlowActionButton = z.infer<typeof _FlowActionButton>;
|
|
870
893
|
export declare const _FlowActions: z.ZodObject<{
|
|
871
894
|
includeInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -938,6 +961,29 @@ export declare const _FlowActions: z.ZodObject<{
|
|
|
938
961
|
findingStatus?: FindingStatus | null | undefined;
|
|
939
962
|
responseMessage?: string | undefined;
|
|
940
963
|
}>>;
|
|
964
|
+
launchActionsV2: z.ZodOptional<z.ZodObject<{
|
|
965
|
+
id: z.ZodString;
|
|
966
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
967
|
+
actionId: z.ZodNullable<z.ZodString>;
|
|
968
|
+
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
actionId: string | null;
|
|
970
|
+
}, {
|
|
971
|
+
actionId: string | null;
|
|
972
|
+
}>, "many">;
|
|
973
|
+
findingStatus: z.ZodNullable<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
|
+
id: string;
|
|
976
|
+
actions: {
|
|
977
|
+
actionId: string | null;
|
|
978
|
+
}[];
|
|
979
|
+
findingStatus: FindingStatus | null;
|
|
980
|
+
}, {
|
|
981
|
+
id: string;
|
|
982
|
+
actions: {
|
|
983
|
+
actionId: string | null;
|
|
984
|
+
}[];
|
|
985
|
+
findingStatus: FindingStatus | null;
|
|
986
|
+
}>>;
|
|
941
987
|
actionButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
942
988
|
id: z.ZodString;
|
|
943
989
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -991,6 +1037,13 @@ export declare const _FlowActions: z.ZodObject<{
|
|
|
991
1037
|
findingStatus?: FindingStatus | null | undefined;
|
|
992
1038
|
responseMessage?: string | undefined;
|
|
993
1039
|
} | undefined;
|
|
1040
|
+
launchActionsV2?: {
|
|
1041
|
+
id: string;
|
|
1042
|
+
actions: {
|
|
1043
|
+
actionId: string | null;
|
|
1044
|
+
}[];
|
|
1045
|
+
findingStatus: FindingStatus | null;
|
|
1046
|
+
} | undefined;
|
|
994
1047
|
actionButtons?: {
|
|
995
1048
|
id: string;
|
|
996
1049
|
actions: {
|
|
@@ -1026,6 +1079,13 @@ export declare const _FlowActions: z.ZodObject<{
|
|
|
1026
1079
|
findingStatus?: FindingStatus | null | undefined;
|
|
1027
1080
|
responseMessage?: string | undefined;
|
|
1028
1081
|
} | undefined;
|
|
1082
|
+
launchActionsV2?: {
|
|
1083
|
+
id: string;
|
|
1084
|
+
actions: {
|
|
1085
|
+
actionId: string | null;
|
|
1086
|
+
}[];
|
|
1087
|
+
findingStatus: FindingStatus | null;
|
|
1088
|
+
} | undefined;
|
|
1029
1089
|
actionButtons?: {
|
|
1030
1090
|
id: string;
|
|
1031
1091
|
actions: {
|
|
@@ -1388,6 +1448,29 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1388
1448
|
findingStatus?: FindingStatus | null | undefined;
|
|
1389
1449
|
responseMessage?: string | undefined;
|
|
1390
1450
|
}>>;
|
|
1451
|
+
launchActionsV2: z.ZodOptional<z.ZodObject<{
|
|
1452
|
+
id: z.ZodString;
|
|
1453
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
1454
|
+
actionId: z.ZodNullable<z.ZodString>;
|
|
1455
|
+
}, "strip", z.ZodTypeAny, {
|
|
1456
|
+
actionId: string | null;
|
|
1457
|
+
}, {
|
|
1458
|
+
actionId: string | null;
|
|
1459
|
+
}>, "many">;
|
|
1460
|
+
findingStatus: z.ZodNullable<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1461
|
+
}, "strip", z.ZodTypeAny, {
|
|
1462
|
+
id: string;
|
|
1463
|
+
actions: {
|
|
1464
|
+
actionId: string | null;
|
|
1465
|
+
}[];
|
|
1466
|
+
findingStatus: FindingStatus | null;
|
|
1467
|
+
}, {
|
|
1468
|
+
id: string;
|
|
1469
|
+
actions: {
|
|
1470
|
+
actionId: string | null;
|
|
1471
|
+
}[];
|
|
1472
|
+
findingStatus: FindingStatus | null;
|
|
1473
|
+
}>>;
|
|
1391
1474
|
actionButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1392
1475
|
id: z.ZodString;
|
|
1393
1476
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -1441,6 +1524,13 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1441
1524
|
findingStatus?: FindingStatus | null | undefined;
|
|
1442
1525
|
responseMessage?: string | undefined;
|
|
1443
1526
|
} | undefined;
|
|
1527
|
+
launchActionsV2?: {
|
|
1528
|
+
id: string;
|
|
1529
|
+
actions: {
|
|
1530
|
+
actionId: string | null;
|
|
1531
|
+
}[];
|
|
1532
|
+
findingStatus: FindingStatus | null;
|
|
1533
|
+
} | undefined;
|
|
1444
1534
|
actionButtons?: {
|
|
1445
1535
|
id: string;
|
|
1446
1536
|
actions: {
|
|
@@ -1476,6 +1566,13 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1476
1566
|
findingStatus?: FindingStatus | null | undefined;
|
|
1477
1567
|
responseMessage?: string | undefined;
|
|
1478
1568
|
} | undefined;
|
|
1569
|
+
launchActionsV2?: {
|
|
1570
|
+
id: string;
|
|
1571
|
+
actions: {
|
|
1572
|
+
actionId: string | null;
|
|
1573
|
+
}[];
|
|
1574
|
+
findingStatus: FindingStatus | null;
|
|
1575
|
+
} | undefined;
|
|
1479
1576
|
actionButtons?: {
|
|
1480
1577
|
id: string;
|
|
1481
1578
|
actions: {
|
|
@@ -1665,6 +1762,13 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1665
1762
|
findingStatus?: FindingStatus | null | undefined;
|
|
1666
1763
|
responseMessage?: string | undefined;
|
|
1667
1764
|
} | undefined;
|
|
1765
|
+
launchActionsV2?: {
|
|
1766
|
+
id: string;
|
|
1767
|
+
actions: {
|
|
1768
|
+
actionId: string | null;
|
|
1769
|
+
}[];
|
|
1770
|
+
findingStatus: FindingStatus | null;
|
|
1771
|
+
} | undefined;
|
|
1668
1772
|
actionButtons?: {
|
|
1669
1773
|
id: string;
|
|
1670
1774
|
actions: {
|
|
@@ -1807,6 +1911,13 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1807
1911
|
findingStatus?: FindingStatus | null | undefined;
|
|
1808
1912
|
responseMessage?: string | undefined;
|
|
1809
1913
|
} | undefined;
|
|
1914
|
+
launchActionsV2?: {
|
|
1915
|
+
id: string;
|
|
1916
|
+
actions: {
|
|
1917
|
+
actionId: string | null;
|
|
1918
|
+
}[];
|
|
1919
|
+
findingStatus: FindingStatus | null;
|
|
1920
|
+
} | undefined;
|
|
1810
1921
|
actionButtons?: {
|
|
1811
1922
|
id: string;
|
|
1812
1923
|
actions: {
|
|
@@ -2165,6 +2276,29 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2165
2276
|
findingStatus?: FindingStatus | null | undefined;
|
|
2166
2277
|
responseMessage?: string | undefined;
|
|
2167
2278
|
}>>;
|
|
2279
|
+
launchActionsV2: z.ZodOptional<z.ZodObject<{
|
|
2280
|
+
id: z.ZodString;
|
|
2281
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
2282
|
+
actionId: z.ZodNullable<z.ZodString>;
|
|
2283
|
+
}, "strip", z.ZodTypeAny, {
|
|
2284
|
+
actionId: string | null;
|
|
2285
|
+
}, {
|
|
2286
|
+
actionId: string | null;
|
|
2287
|
+
}>, "many">;
|
|
2288
|
+
findingStatus: z.ZodNullable<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
2289
|
+
}, "strip", z.ZodTypeAny, {
|
|
2290
|
+
id: string;
|
|
2291
|
+
actions: {
|
|
2292
|
+
actionId: string | null;
|
|
2293
|
+
}[];
|
|
2294
|
+
findingStatus: FindingStatus | null;
|
|
2295
|
+
}, {
|
|
2296
|
+
id: string;
|
|
2297
|
+
actions: {
|
|
2298
|
+
actionId: string | null;
|
|
2299
|
+
}[];
|
|
2300
|
+
findingStatus: FindingStatus | null;
|
|
2301
|
+
}>>;
|
|
2168
2302
|
actionButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2169
2303
|
id: z.ZodString;
|
|
2170
2304
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -2218,6 +2352,13 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2218
2352
|
findingStatus?: FindingStatus | null | undefined;
|
|
2219
2353
|
responseMessage?: string | undefined;
|
|
2220
2354
|
} | undefined;
|
|
2355
|
+
launchActionsV2?: {
|
|
2356
|
+
id: string;
|
|
2357
|
+
actions: {
|
|
2358
|
+
actionId: string | null;
|
|
2359
|
+
}[];
|
|
2360
|
+
findingStatus: FindingStatus | null;
|
|
2361
|
+
} | undefined;
|
|
2221
2362
|
actionButtons?: {
|
|
2222
2363
|
id: string;
|
|
2223
2364
|
actions: {
|
|
@@ -2253,6 +2394,13 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2253
2394
|
findingStatus?: FindingStatus | null | undefined;
|
|
2254
2395
|
responseMessage?: string | undefined;
|
|
2255
2396
|
} | undefined;
|
|
2397
|
+
launchActionsV2?: {
|
|
2398
|
+
id: string;
|
|
2399
|
+
actions: {
|
|
2400
|
+
actionId: string | null;
|
|
2401
|
+
}[];
|
|
2402
|
+
findingStatus: FindingStatus | null;
|
|
2403
|
+
} | undefined;
|
|
2256
2404
|
actionButtons?: {
|
|
2257
2405
|
id: string;
|
|
2258
2406
|
actions: {
|
|
@@ -2447,6 +2595,13 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2447
2595
|
findingStatus?: FindingStatus | null | undefined;
|
|
2448
2596
|
responseMessage?: string | undefined;
|
|
2449
2597
|
} | undefined;
|
|
2598
|
+
launchActionsV2?: {
|
|
2599
|
+
id: string;
|
|
2600
|
+
actions: {
|
|
2601
|
+
actionId: string | null;
|
|
2602
|
+
}[];
|
|
2603
|
+
findingStatus: FindingStatus | null;
|
|
2604
|
+
} | undefined;
|
|
2450
2605
|
actionButtons?: {
|
|
2451
2606
|
id: string;
|
|
2452
2607
|
actions: {
|
|
@@ -2581,6 +2736,13 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2581
2736
|
findingStatus?: FindingStatus | null | undefined;
|
|
2582
2737
|
responseMessage?: string | undefined;
|
|
2583
2738
|
} | undefined;
|
|
2739
|
+
launchActionsV2?: {
|
|
2740
|
+
id: string;
|
|
2741
|
+
actions: {
|
|
2742
|
+
actionId: string | null;
|
|
2743
|
+
}[];
|
|
2744
|
+
findingStatus: FindingStatus | null;
|
|
2745
|
+
} | undefined;
|
|
2584
2746
|
actionButtons?: {
|
|
2585
2747
|
id: string;
|
|
2586
2748
|
actions: {
|
|
@@ -2742,6 +2904,29 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2742
2904
|
findingStatus?: FindingStatus | null | undefined;
|
|
2743
2905
|
responseMessage?: string | undefined;
|
|
2744
2906
|
}>>;
|
|
2907
|
+
launchActionsV2: z.ZodOptional<z.ZodObject<{
|
|
2908
|
+
id: z.ZodString;
|
|
2909
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
2910
|
+
actionId: z.ZodNullable<z.ZodString>;
|
|
2911
|
+
}, "strip", z.ZodTypeAny, {
|
|
2912
|
+
actionId: string | null;
|
|
2913
|
+
}, {
|
|
2914
|
+
actionId: string | null;
|
|
2915
|
+
}>, "many">;
|
|
2916
|
+
findingStatus: z.ZodNullable<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
2917
|
+
}, "strip", z.ZodTypeAny, {
|
|
2918
|
+
id: string;
|
|
2919
|
+
actions: {
|
|
2920
|
+
actionId: string | null;
|
|
2921
|
+
}[];
|
|
2922
|
+
findingStatus: FindingStatus | null;
|
|
2923
|
+
}, {
|
|
2924
|
+
id: string;
|
|
2925
|
+
actions: {
|
|
2926
|
+
actionId: string | null;
|
|
2927
|
+
}[];
|
|
2928
|
+
findingStatus: FindingStatus | null;
|
|
2929
|
+
}>>;
|
|
2745
2930
|
actionButtons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2746
2931
|
id: z.ZodString;
|
|
2747
2932
|
actions: z.ZodArray<z.ZodObject<{
|
|
@@ -2795,6 +2980,13 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2795
2980
|
findingStatus?: FindingStatus | null | undefined;
|
|
2796
2981
|
responseMessage?: string | undefined;
|
|
2797
2982
|
} | undefined;
|
|
2983
|
+
launchActionsV2?: {
|
|
2984
|
+
id: string;
|
|
2985
|
+
actions: {
|
|
2986
|
+
actionId: string | null;
|
|
2987
|
+
}[];
|
|
2988
|
+
findingStatus: FindingStatus | null;
|
|
2989
|
+
} | undefined;
|
|
2798
2990
|
actionButtons?: {
|
|
2799
2991
|
id: string;
|
|
2800
2992
|
actions: {
|
|
@@ -2830,6 +3022,13 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2830
3022
|
findingStatus?: FindingStatus | null | undefined;
|
|
2831
3023
|
responseMessage?: string | undefined;
|
|
2832
3024
|
} | undefined;
|
|
3025
|
+
launchActionsV2?: {
|
|
3026
|
+
id: string;
|
|
3027
|
+
actions: {
|
|
3028
|
+
actionId: string | null;
|
|
3029
|
+
}[];
|
|
3030
|
+
findingStatus: FindingStatus | null;
|
|
3031
|
+
} | undefined;
|
|
2833
3032
|
actionButtons?: {
|
|
2834
3033
|
id: string;
|
|
2835
3034
|
actions: {
|
|
@@ -3114,6 +3313,13 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
3114
3313
|
findingStatus?: FindingStatus | null | undefined;
|
|
3115
3314
|
responseMessage?: string | undefined;
|
|
3116
3315
|
} | undefined;
|
|
3316
|
+
launchActionsV2?: {
|
|
3317
|
+
id: string;
|
|
3318
|
+
actions: {
|
|
3319
|
+
actionId: string | null;
|
|
3320
|
+
}[];
|
|
3321
|
+
findingStatus: FindingStatus | null;
|
|
3322
|
+
} | undefined;
|
|
3117
3323
|
actionButtons?: {
|
|
3118
3324
|
id: string;
|
|
3119
3325
|
actions: {
|
|
@@ -3241,6 +3447,13 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
3241
3447
|
findingStatus?: FindingStatus | null | undefined;
|
|
3242
3448
|
responseMessage?: string | undefined;
|
|
3243
3449
|
} | undefined;
|
|
3450
|
+
launchActionsV2?: {
|
|
3451
|
+
id: string;
|
|
3452
|
+
actions: {
|
|
3453
|
+
actionId: string | null;
|
|
3454
|
+
}[];
|
|
3455
|
+
findingStatus: FindingStatus | null;
|
|
3456
|
+
} | undefined;
|
|
3244
3457
|
actionButtons?: {
|
|
3245
3458
|
id: string;
|
|
3246
3459
|
actions: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._ActiveEngagementFilterCriteria = exports._ActiveEngagement = exports._EngagementState = exports.EngagementState = exports._FlowSpecFilter = exports._FlowSpecUpsertDto = exports._FlowSpecDto = exports._TeamsChannelRedirection = exports._SlackChannelRedirection = exports.EngagementRedirectionKind = exports._EngagementEscalationConfig = exports._FlowRewardsConfig = exports._FlowActions = exports._FlowActionButton = exports._FlowInterval = exports._FlowFilter = exports._AmplifierCohortDto = exports.CohortKind = exports._FlowTriggerFilter = exports._FlowSpecCreateDto = exports._FlowStateFilter = exports._FlowStateUpsertDto = exports._FlowStateDto = exports._FlowStateStatusDto = exports._FlowHistoryEntry = exports._FlowSystemEventDto = exports._FlowTriggerEventDto = exports.FlowSpecStatusKind = exports.CUSTOM_FINDINGS_CID = exports.EMAIL_CID = void 0;
|
|
3
|
+
exports._ActiveEngagementFilterCriteria = exports._ActiveEngagement = exports._EngagementState = exports.EngagementState = exports._FlowSpecFilter = exports._FlowSpecUpsertDto = exports._FlowSpecDto = exports._TeamsChannelRedirection = exports._SlackChannelRedirection = exports.EngagementRedirectionKind = exports._EngagementEscalationConfig = exports._FlowRewardsConfig = exports._FlowActions = exports._FlowLaunchAction = exports._FlowActionButton = exports._FlowInterval = exports._FlowFilter = exports._AmplifierCohortDto = exports.CohortKind = exports._FlowTriggerFilter = exports._FlowSpecCreateDto = exports._FlowStateFilter = exports._FlowStateUpsertDto = exports._FlowStateDto = exports._FlowStateStatusDto = exports._FlowHistoryEntry = exports._FlowSystemEventDto = exports._FlowTriggerEventDto = exports.FlowSpecStatusKind = exports.CUSTOM_FINDINGS_CID = exports.EMAIL_CID = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const base_dto_1 = require("./base.dto");
|
|
6
6
|
const FilterCriteria_1 = require("../FilterCriteria");
|
|
@@ -129,6 +129,16 @@ exports._FlowActionButton = zod_1.z.object({
|
|
|
129
129
|
findingStatus: zod_1.z.nativeEnum(enums_1.FindingStatus).nullable(),
|
|
130
130
|
actionLabel: zod_1.z.string().max(24),
|
|
131
131
|
});
|
|
132
|
+
exports._FlowLaunchAction = zod_1.z.object({
|
|
133
|
+
id: zod_1.z.string(),
|
|
134
|
+
actions: zod_1.z
|
|
135
|
+
.object({
|
|
136
|
+
actionId: zod_1.z.string().nullable(),
|
|
137
|
+
})
|
|
138
|
+
.array()
|
|
139
|
+
.max(6),
|
|
140
|
+
findingStatus: zod_1.z.nativeEnum(enums_1.FindingStatus).nullable(),
|
|
141
|
+
});
|
|
132
142
|
const _FlowActionDetails = zod_1.z.object({
|
|
133
143
|
actionId: zod_1.z.string().nullable(),
|
|
134
144
|
findingStatus: zod_1.z.nativeEnum(enums_1.FindingStatus).optional().nullable(),
|
|
@@ -158,6 +168,7 @@ exports._FlowActions = zod_1.z.object({
|
|
|
158
168
|
resolveNowAction: _FlowActionDetails.optional(),
|
|
159
169
|
scheduleResolutionAction: _FlowActionDetails.optional(),
|
|
160
170
|
launchAction: _FlowActionDetails.optional(),
|
|
171
|
+
launchActionsV2: exports._FlowLaunchAction.optional(),
|
|
161
172
|
// TODO: validate and adjust max actions supported after v0
|
|
162
173
|
actionButtons: zod_1.z.array(exports._FlowActionButton).max(6).optional(),
|
|
163
174
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.dto.js","sourceRoot":"","sources":["../../../src/dto/flows.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAoD;AACpD,sDAAiE;AACjE,mCAAsC;AAEzB,QAAA,SAAS,GAAG,cAAc,CAAC;AAC3B,QAAA,mBAAmB,GAAG,cAAc,CAAC;AAElD,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,yCAAmB,CAAA;AACrB,CAAC,EANW,kBAAkB,kCAAlB,kBAAkB,QAM7B;AAED;;;;GAIG;AACU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,IAAI,EAAE,OAAC;SACJ,MAAM,CAAC;QACN,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC7B,CAAC;SACD,QAAQ,EAAE;IACb,MAAM,EAAE,OAAC;SAC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AgB,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAGU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAC,CAAC,CAAC,KAAK,CAAC,kCAAiB,CAAC,CAAC"}
|
package/build/src/dto/index.d.ts
CHANGED
package/build/src/dto/index.js
CHANGED
|
@@ -55,4 +55,6 @@ __exportStar(require("./users.dto"), exports);
|
|
|
55
55
|
__exportStar(require("./messagingChannels"), exports);
|
|
56
56
|
__exportStar(require("./cohort.dto"), exports);
|
|
57
57
|
__exportStar(require("./actionExecution.dto"), exports);
|
|
58
|
+
__exportStar(require("./conversations.dto"), exports);
|
|
59
|
+
__exportStar(require("./contexts.dto"), exports);
|
|
58
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,yDAAuC;AACvC,wCAAsB;AACtB,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC;AACzC,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,yDAAuC;AACvC,8CAA4B;AAC5B,wCAAsB;AACtB,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,oDAAkC;AAClC,+CAA6B;AAC7B,8CAA4B;AAC5B,sDAAoC;AACpC,+CAA6B;AAC7B,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,yDAAuC;AACvC,wCAAsB;AACtB,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC;AACzC,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,yDAAuC;AACvC,8CAA4B;AAC5B,wCAAsB;AACtB,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,oDAAkC;AAClC,+CAA6B;AAC7B,8CAA4B;AAC5B,sDAAoC;AACpC,+CAA6B;AAC7B,wDAAsC;AACtC,sDAAoC;AACpC,iDAA+B"}
|
|
@@ -27,3 +27,6 @@ export * from './platform.users.dto';
|
|
|
27
27
|
export * from './tenant.based.dto';
|
|
28
28
|
export * from './platform.actionExecution.dto';
|
|
29
29
|
export * from './platform.ops.dto';
|
|
30
|
+
export * from './platform.contexts.dto';
|
|
31
|
+
export * from './platform.conversations.dto';
|
|
32
|
+
export * from './platform.dialogues.dto';
|
|
@@ -43,4 +43,7 @@ __exportStar(require("./platform.users.dto"), exports);
|
|
|
43
43
|
__exportStar(require("./tenant.based.dto"), exports);
|
|
44
44
|
__exportStar(require("./platform.actionExecution.dto"), exports);
|
|
45
45
|
__exportStar(require("./platform.ops.dto"), exports);
|
|
46
|
+
__exportStar(require("./platform.contexts.dto"), exports);
|
|
47
|
+
__exportStar(require("./platform.conversations.dto"), exports);
|
|
48
|
+
__exportStar(require("./platform.dialogues.dto"), exports);
|
|
46
49
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,8DAA4C;AAC5C,oEAAkD;AAClD,yEAAuD;AACvD,oEAAkD;AAClD,kEAAgD;AAChD,0DAAwC;AACxC,uDAAqC;AACrC,mEAAiD;AACjD,yDAAuC;AACvC,8DAA4C;AAC5C,2DAAyC;AACzC,+DAA6C;AAC7C,iEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,4DAA0C;AAC1C,yDAAuC;AACvC,6DAA2C;AAC3C,wDAAsC;AACtC,uDAAqC;AACrC,qDAAmC;AACnC,iEAA+C;AAC/C,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,8DAA4C;AAC5C,oEAAkD;AAClD,yEAAuD;AACvD,oEAAkD;AAClD,kEAAgD;AAChD,0DAAwC;AACxC,uDAAqC;AACrC,mEAAiD;AACjD,yDAAuC;AACvC,8DAA4C;AAC5C,2DAAyC;AACzC,+DAA6C;AAC7C,iEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,4DAA0C;AAC1C,yDAAuC;AACvC,6DAA2C;AAC3C,wDAAsC;AACtC,uDAAqC;AACrC,qDAAmC;AACnC,iEAA+C;AAC/C,qDAAmC;AACnC,0DAAwC;AACxC,+DAA6C;AAC7C,2DAAyC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
5
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
extId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
fid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
conversationId: z.ZodString;
|
|
11
|
+
speaker: z.ZodNativeEnum<typeof import("..").ENGAGEMENT_DIALOGUE_SPEAKER>;
|
|
12
|
+
engagementChannel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
13
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
dialogueContext: z.ZodString;
|
|
15
|
+
notificationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, {
|
|
18
|
+
engagementChannel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
19
|
+
}>, {
|
|
20
|
+
tid: z.ZodString;
|
|
21
|
+
}>, "strip", z.ZodTypeAny, {
|
|
22
|
+
tid: string;
|
|
23
|
+
conversationId: string;
|
|
24
|
+
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
25
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
26
|
+
dialogueContext: string;
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
createdAt?: string | undefined;
|
|
29
|
+
updatedAt?: string | undefined;
|
|
30
|
+
deletedAt?: string | null | undefined;
|
|
31
|
+
extId?: string | null | undefined;
|
|
32
|
+
fid?: string | null | undefined;
|
|
33
|
+
channelId?: string | undefined;
|
|
34
|
+
teamId?: string | undefined;
|
|
35
|
+
notificationId?: string | null | undefined;
|
|
36
|
+
threadId?: string | null | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
tid: string;
|
|
39
|
+
conversationId: string;
|
|
40
|
+
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
41
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
42
|
+
dialogueContext: string;
|
|
43
|
+
id?: string | undefined;
|
|
44
|
+
createdAt?: string | undefined;
|
|
45
|
+
updatedAt?: string | undefined;
|
|
46
|
+
deletedAt?: string | null | undefined;
|
|
47
|
+
extId?: string | null | undefined;
|
|
48
|
+
fid?: string | null | undefined;
|
|
49
|
+
channelId?: string | undefined;
|
|
50
|
+
teamId?: string | undefined;
|
|
51
|
+
notificationId?: string | null | undefined;
|
|
52
|
+
threadId?: string | null | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
createdAt: z.ZodString;
|
|
57
|
+
updatedAt: z.ZodString;
|
|
58
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
59
|
+
}, {
|
|
60
|
+
conversationId: z.ZodString;
|
|
61
|
+
speaker: z.ZodNativeEnum<typeof import("..").ENGAGEMENT_DIALOGUE_SPEAKER>;
|
|
62
|
+
dialogueContext: z.ZodString;
|
|
63
|
+
extId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
notificationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
fid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
69
|
+
engagementChannel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
70
|
+
}>, {
|
|
71
|
+
tid: z.ZodString;
|
|
72
|
+
}>, "strip", z.ZodTypeAny, {
|
|
73
|
+
id: string;
|
|
74
|
+
tid: string;
|
|
75
|
+
createdAt: string;
|
|
76
|
+
updatedAt: string;
|
|
77
|
+
deletedAt: string | null;
|
|
78
|
+
conversationId: string;
|
|
79
|
+
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
80
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
81
|
+
dialogueContext: string;
|
|
82
|
+
extId?: string | null | undefined;
|
|
83
|
+
fid?: string | null | undefined;
|
|
84
|
+
channelId?: string | undefined;
|
|
85
|
+
teamId?: string | undefined;
|
|
86
|
+
notificationId?: string | null | undefined;
|
|
87
|
+
threadId?: string | null | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
id: string;
|
|
90
|
+
tid: string;
|
|
91
|
+
createdAt: string;
|
|
92
|
+
updatedAt: string;
|
|
93
|
+
deletedAt: string | null;
|
|
94
|
+
conversationId: string;
|
|
95
|
+
speaker: import("..").ENGAGEMENT_DIALOGUE_SPEAKER;
|
|
96
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
97
|
+
dialogueContext: string;
|
|
98
|
+
extId?: string | null | undefined;
|
|
99
|
+
fid?: string | null | undefined;
|
|
100
|
+
channelId?: string | undefined;
|
|
101
|
+
teamId?: string | undefined;
|
|
102
|
+
notificationId?: string | null | undefined;
|
|
103
|
+
threadId?: string | null | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
export type PlatformContextDto = z.infer<typeof _PlatformContextDto>;
|
|
106
|
+
export type PlatformContextUpsertDto = z.infer<typeof _PlatformContextUpsertDto>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._PlatformContextDto = exports._PlatformContextUpsertDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const contexts_dto_1 = require("../contexts.dto");
|
|
6
|
+
exports._PlatformContextUpsertDto = contexts_dto_1._ContextUpsertDto.extend({
|
|
7
|
+
tid: zod_1.z.string(),
|
|
8
|
+
});
|
|
9
|
+
exports._PlatformContextDto = contexts_dto_1._ContextDto.extend({
|
|
10
|
+
tid: zod_1.z.string(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=platform.contexts.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.contexts.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.contexts.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,kDAA+D;AAElD,QAAA,yBAAyB,GAAG,gCAAiB,CAAC,MAAM,CAAC;IAChE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEU,QAAA,mBAAmB,GAAG,0BAAW,CAAC,MAAM,CAAC;IACpD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const _PlatformConversationUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
5
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
dialogueIds: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
engagementChannel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
9
|
+
}, {
|
|
10
|
+
dialogueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11
|
+
engagementChannel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
12
|
+
}>, {
|
|
13
|
+
tid: z.ZodString;
|
|
14
|
+
}>, "strip", z.ZodTypeAny, {
|
|
15
|
+
tid: string;
|
|
16
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
17
|
+
id?: string | undefined;
|
|
18
|
+
createdAt?: string | undefined;
|
|
19
|
+
updatedAt?: string | undefined;
|
|
20
|
+
deletedAt?: string | null | undefined;
|
|
21
|
+
dialogueIds?: string[] | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
tid: string;
|
|
24
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
createdAt?: string | undefined;
|
|
27
|
+
updatedAt?: string | undefined;
|
|
28
|
+
deletedAt?: string | null | undefined;
|
|
29
|
+
dialogueIds?: string[] | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const _PlatformConversationDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
createdAt: z.ZodString;
|
|
34
|
+
updatedAt: z.ZodString;
|
|
35
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
36
|
+
}, {
|
|
37
|
+
dialogueIds: z.ZodArray<z.ZodString, "many">;
|
|
38
|
+
engagementChannel: z.ZodNativeEnum<typeof import("..").EngagementChannelKind>;
|
|
39
|
+
}>, {
|
|
40
|
+
tid: z.ZodString;
|
|
41
|
+
}>, "strip", z.ZodTypeAny, {
|
|
42
|
+
id: string;
|
|
43
|
+
tid: string;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
updatedAt: string;
|
|
46
|
+
deletedAt: string | null;
|
|
47
|
+
dialogueIds: string[];
|
|
48
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
49
|
+
}, {
|
|
50
|
+
id: string;
|
|
51
|
+
tid: string;
|
|
52
|
+
createdAt: string;
|
|
53
|
+
updatedAt: string;
|
|
54
|
+
deletedAt: string | null;
|
|
55
|
+
dialogueIds: string[];
|
|
56
|
+
engagementChannel: import("..").EngagementChannelKind;
|
|
57
|
+
}>;
|
|
58
|
+
export type PlatformConversationDto = z.infer<typeof _PlatformConversationDto>;
|
|
59
|
+
export type PlatformConversationUpsertDto = z.infer<typeof _PlatformConversationUpsertDto>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._PlatformConversationDto = exports._PlatformConversationUpsertDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const conversations_dto_1 = require("../conversations.dto");
|
|
6
|
+
exports._PlatformConversationUpsertDto = conversations_dto_1._ConversationUpsertDto.extend({
|
|
7
|
+
tid: zod_1.z.string(),
|
|
8
|
+
});
|
|
9
|
+
exports._PlatformConversationDto = conversations_dto_1._ConversationDto.extend({
|
|
10
|
+
tid: zod_1.z.string(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=platform.conversations.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.conversations.dto.js","sourceRoot":"","sources":["../../../../src/dto/platform/platform.conversations.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,4DAA8E;AAEjE,QAAA,8BAA8B,GAAG,0CAAsB,CAAC,MAAM,CAAC;IAC1E,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,oCAAgB,CAAC,MAAM,CAAC;IAC9D,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC"}
|