@ampsec/platform-client 82.2.0 → 82.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.
@@ -1,7 +1,19 @@
1
1
  import { z } from 'zod';
2
2
  export declare const _ContextMeta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3
3
  tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
- getInstructionsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
+ includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6
+ customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ includeCustomInstructions?: boolean | null | undefined;
10
+ customInstructions?: string | null | undefined;
11
+ includeOnlyCustomInstructions?: boolean | null | undefined;
12
+ }, {
13
+ includeCustomInstructions?: boolean | null | undefined;
14
+ customInstructions?: string | null | undefined;
15
+ includeOnlyCustomInstructions?: boolean | null | undefined;
16
+ }>>>;
5
17
  markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6
18
  scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
19
  scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9,7 +21,11 @@ export declare const _ContextMeta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
21
  scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
22
  }, "strip", z.ZodTypeAny, {
11
23
  tone?: string | null | undefined;
12
- getInstructionsEnabled?: boolean | null | undefined;
24
+ instructions?: {
25
+ includeCustomInstructions?: boolean | null | undefined;
26
+ customInstructions?: string | null | undefined;
27
+ includeOnlyCustomInstructions?: boolean | null | undefined;
28
+ } | null | undefined;
13
29
  markCompleteEnabled?: boolean | null | undefined;
14
30
  scheduleResolutionSignal?: string | null | undefined;
15
31
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -17,7 +33,11 @@ export declare const _ContextMeta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
33
  scheduleResolutionSubmitted?: number | null | undefined;
18
34
  }, {
19
35
  tone?: string | null | undefined;
20
- getInstructionsEnabled?: boolean | null | undefined;
36
+ instructions?: {
37
+ includeCustomInstructions?: boolean | null | undefined;
38
+ customInstructions?: string | null | undefined;
39
+ includeOnlyCustomInstructions?: boolean | null | undefined;
40
+ } | null | undefined;
21
41
  markCompleteEnabled?: boolean | null | undefined;
22
42
  scheduleResolutionSignal?: string | null | undefined;
23
43
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -44,7 +64,19 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
44
64
  engagementChannel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
65
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
46
66
  tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
- getInstructionsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
67
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
68
+ includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
69
+ customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ includeCustomInstructions?: boolean | null | undefined;
73
+ customInstructions?: string | null | undefined;
74
+ includeOnlyCustomInstructions?: boolean | null | undefined;
75
+ }, {
76
+ includeCustomInstructions?: boolean | null | undefined;
77
+ customInstructions?: string | null | undefined;
78
+ includeOnlyCustomInstructions?: boolean | null | undefined;
79
+ }>>>;
48
80
  markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
81
  scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
82
  scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -52,7 +84,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
52
84
  scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
85
  }, "strip", z.ZodTypeAny, {
54
86
  tone?: string | null | undefined;
55
- getInstructionsEnabled?: boolean | null | undefined;
87
+ instructions?: {
88
+ includeCustomInstructions?: boolean | null | undefined;
89
+ customInstructions?: string | null | undefined;
90
+ includeOnlyCustomInstructions?: boolean | null | undefined;
91
+ } | null | undefined;
56
92
  markCompleteEnabled?: boolean | null | undefined;
57
93
  scheduleResolutionSignal?: string | null | undefined;
58
94
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -60,7 +96,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
60
96
  scheduleResolutionSubmitted?: number | null | undefined;
61
97
  }, {
62
98
  tone?: string | null | undefined;
63
- getInstructionsEnabled?: boolean | null | undefined;
99
+ instructions?: {
100
+ includeCustomInstructions?: boolean | null | undefined;
101
+ customInstructions?: string | null | undefined;
102
+ includeOnlyCustomInstructions?: boolean | null | undefined;
103
+ } | null | undefined;
64
104
  markCompleteEnabled?: boolean | null | undefined;
65
105
  scheduleResolutionSignal?: string | null | undefined;
66
106
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -75,7 +115,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
75
115
  extId?: string | null | undefined;
76
116
  meta?: {
77
117
  tone?: string | null | undefined;
78
- getInstructionsEnabled?: boolean | null | undefined;
118
+ instructions?: {
119
+ includeCustomInstructions?: boolean | null | undefined;
120
+ customInstructions?: string | null | undefined;
121
+ includeOnlyCustomInstructions?: boolean | null | undefined;
122
+ } | null | undefined;
79
123
  markCompleteEnabled?: boolean | null | undefined;
80
124
  scheduleResolutionSignal?: string | null | undefined;
81
125
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -101,7 +145,11 @@ export declare const _ContextDto: z.ZodObject<z.objectUtil.extendShape<{
101
145
  extId?: string | null | undefined;
102
146
  meta?: {
103
147
  tone?: string | null | undefined;
104
- getInstructionsEnabled?: boolean | null | undefined;
148
+ instructions?: {
149
+ includeCustomInstructions?: boolean | null | undefined;
150
+ customInstructions?: string | null | undefined;
151
+ includeOnlyCustomInstructions?: boolean | null | undefined;
152
+ } | null | undefined;
105
153
  markCompleteEnabled?: boolean | null | undefined;
106
154
  scheduleResolutionSignal?: string | null | undefined;
107
155
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -129,7 +177,19 @@ export declare const _ContextUpsertDto: z.ZodObject<{
129
177
  extId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
178
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
131
179
  tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
- getInstructionsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
180
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
181
+ includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
182
+ customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ includeCustomInstructions?: boolean | null | undefined;
186
+ customInstructions?: string | null | undefined;
187
+ includeOnlyCustomInstructions?: boolean | null | undefined;
188
+ }, {
189
+ includeCustomInstructions?: boolean | null | undefined;
190
+ customInstructions?: string | null | undefined;
191
+ includeOnlyCustomInstructions?: boolean | null | undefined;
192
+ }>>>;
133
193
  markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
134
194
  scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
195
  scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -137,7 +197,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
137
197
  scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
138
198
  }, "strip", z.ZodTypeAny, {
139
199
  tone?: string | null | undefined;
140
- getInstructionsEnabled?: boolean | null | undefined;
200
+ instructions?: {
201
+ includeCustomInstructions?: boolean | null | undefined;
202
+ customInstructions?: string | null | undefined;
203
+ includeOnlyCustomInstructions?: boolean | null | undefined;
204
+ } | null | undefined;
141
205
  markCompleteEnabled?: boolean | null | undefined;
142
206
  scheduleResolutionSignal?: string | null | undefined;
143
207
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -145,7 +209,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
145
209
  scheduleResolutionSubmitted?: number | null | undefined;
146
210
  }, {
147
211
  tone?: string | null | undefined;
148
- getInstructionsEnabled?: boolean | null | undefined;
212
+ instructions?: {
213
+ includeCustomInstructions?: boolean | null | undefined;
214
+ customInstructions?: string | null | undefined;
215
+ includeOnlyCustomInstructions?: boolean | null | undefined;
216
+ } | null | undefined;
149
217
  markCompleteEnabled?: boolean | null | undefined;
150
218
  scheduleResolutionSignal?: string | null | undefined;
151
219
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -171,7 +239,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
171
239
  extId?: string | null | undefined;
172
240
  meta?: {
173
241
  tone?: string | null | undefined;
174
- getInstructionsEnabled?: boolean | null | undefined;
242
+ instructions?: {
243
+ includeCustomInstructions?: boolean | null | undefined;
244
+ customInstructions?: string | null | undefined;
245
+ includeOnlyCustomInstructions?: boolean | null | undefined;
246
+ } | null | undefined;
175
247
  markCompleteEnabled?: boolean | null | undefined;
176
248
  scheduleResolutionSignal?: string | null | undefined;
177
249
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -197,7 +269,11 @@ export declare const _ContextUpsertDto: z.ZodObject<{
197
269
  extId?: string | null | undefined;
198
270
  meta?: {
199
271
  tone?: string | null | undefined;
200
- getInstructionsEnabled?: boolean | null | undefined;
272
+ instructions?: {
273
+ includeCustomInstructions?: boolean | null | undefined;
274
+ customInstructions?: string | null | undefined;
275
+ includeOnlyCustomInstructions?: boolean | null | undefined;
276
+ } | null | undefined;
201
277
  markCompleteEnabled?: boolean | null | undefined;
202
278
  scheduleResolutionSignal?: string | null | undefined;
203
279
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -6,7 +6,14 @@ const base_dto_1 = require("./base.dto");
6
6
  exports._ContextMeta = zod_1.z
7
7
  .object({
8
8
  tone: zod_1.z.string().nullish(),
9
- getInstructionsEnabled: zod_1.z.boolean().nullish(),
9
+ instructions: zod_1.z
10
+ .object({
11
+ includeCustomInstructions: zod_1.z.boolean().nullish(),
12
+ customInstructions: zod_1.z.string().nullish(),
13
+ // ignored when `includeCustomInstructions` is `false`
14
+ includeOnlyCustomInstructions: zod_1.z.boolean().nullish(),
15
+ })
16
+ .nullish(),
10
17
  markCompleteEnabled: zod_1.z.boolean().nullish(),
11
18
  scheduleResolutionSignal: zod_1.z.string().nullish(),
12
19
  scheduleResolutionWorkflowId: zod_1.z.string().nullish(),
@@ -1 +1 @@
1
- {"version":3,"file":"contexts.dto.js","sourceRoot":"","sources":["../../../src/dto/contexts.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAExC,QAAA,YAAY,GAAG,OAAC;KAC1B,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,sBAAsB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAC7C,mBAAmB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAC1C,wBAAwB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9C,4BAA4B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAClD,wB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,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACpC,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACvC,IAAI,EAAE,oBAAY;CACnB,CAAC,CAAC;AAIU,QAAA,iBAAiB,GAAG,mBAAW,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC"}
@@ -884,6 +884,19 @@ export declare const _FlowFilter: z.ZodObject<{
884
884
  } | undefined)[];
885
885
  custom?: Record<string, unknown> | undefined;
886
886
  }>;
887
+ export declare const _FlowInstructionsDetails: z.ZodObject<{
888
+ includeCustomInstructions: z.ZodOptional<z.ZodBoolean>;
889
+ customInstructions: z.ZodOptional<z.ZodString>;
890
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodBoolean>;
891
+ }, "strip", z.ZodTypeAny, {
892
+ includeCustomInstructions?: boolean | undefined;
893
+ customInstructions?: string | undefined;
894
+ includeOnlyCustomInstructions?: boolean | undefined;
895
+ }, {
896
+ includeCustomInstructions?: boolean | undefined;
897
+ customInstructions?: string | undefined;
898
+ includeOnlyCustomInstructions?: boolean | undefined;
899
+ }>;
887
900
  export declare const _FlowInterval: z.ZodObject<{
888
901
  minutes: z.ZodNumber;
889
902
  value: z.ZodOptional<z.ZodNumber>;
@@ -949,7 +962,21 @@ export declare const _FlowLaunchAction: z.ZodObject<{
949
962
  }>;
950
963
  export type FlowActionButton = z.infer<typeof _FlowActionButton>;
951
964
  export declare const _FlowActions: z.ZodObject<{
965
+ /** @deprecated */
952
966
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
967
+ getInstructionsAction: z.ZodOptional<z.ZodObject<{
968
+ includeCustomInstructions: z.ZodOptional<z.ZodBoolean>;
969
+ customInstructions: z.ZodOptional<z.ZodString>;
970
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodBoolean>;
971
+ }, "strip", z.ZodTypeAny, {
972
+ includeCustomInstructions?: boolean | undefined;
973
+ customInstructions?: string | undefined;
974
+ includeOnlyCustomInstructions?: boolean | undefined;
975
+ }, {
976
+ includeCustomInstructions?: boolean | undefined;
977
+ customInstructions?: string | undefined;
978
+ includeOnlyCustomInstructions?: boolean | undefined;
979
+ }>>;
953
980
  includeMarkComplete: z.ZodOptional<z.ZodBoolean>;
954
981
  /**
955
982
  * @deprecated Use expirationAction instead
@@ -1070,6 +1097,11 @@ export declare const _FlowActions: z.ZodObject<{
1070
1097
  }>, "many">>;
1071
1098
  }, "strip", z.ZodTypeAny, {
1072
1099
  includeInstructions?: boolean | undefined;
1100
+ getInstructionsAction?: {
1101
+ includeCustomInstructions?: boolean | undefined;
1102
+ customInstructions?: string | undefined;
1103
+ includeOnlyCustomInstructions?: boolean | undefined;
1104
+ } | undefined;
1073
1105
  includeMarkComplete?: boolean | undefined;
1074
1106
  expirationActionId?: string | undefined;
1075
1107
  expirationAction?: {
@@ -1112,6 +1144,11 @@ export declare const _FlowActions: z.ZodObject<{
1112
1144
  }[] | undefined;
1113
1145
  }, {
1114
1146
  includeInstructions?: boolean | undefined;
1147
+ getInstructionsAction?: {
1148
+ includeCustomInstructions?: boolean | undefined;
1149
+ customInstructions?: string | undefined;
1150
+ includeOnlyCustomInstructions?: boolean | undefined;
1151
+ } | undefined;
1115
1152
  includeMarkComplete?: boolean | undefined;
1116
1153
  expirationActionId?: string | undefined;
1117
1154
  expirationAction?: {
@@ -1513,7 +1550,21 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1513
1550
  units?: string | undefined;
1514
1551
  }>>;
1515
1552
  actions: z.ZodOptional<z.ZodObject<{
1553
+ /** @deprecated */
1516
1554
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
1555
+ getInstructionsAction: z.ZodOptional<z.ZodObject<{
1556
+ includeCustomInstructions: z.ZodOptional<z.ZodBoolean>;
1557
+ customInstructions: z.ZodOptional<z.ZodString>;
1558
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodBoolean>;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ includeCustomInstructions?: boolean | undefined;
1561
+ customInstructions?: string | undefined;
1562
+ includeOnlyCustomInstructions?: boolean | undefined;
1563
+ }, {
1564
+ includeCustomInstructions?: boolean | undefined;
1565
+ customInstructions?: string | undefined;
1566
+ includeOnlyCustomInstructions?: boolean | undefined;
1567
+ }>>;
1517
1568
  includeMarkComplete: z.ZodOptional<z.ZodBoolean>;
1518
1569
  /**
1519
1570
  * @deprecated Use expirationAction instead
@@ -1634,6 +1685,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1634
1685
  }>, "many">>;
1635
1686
  }, "strip", z.ZodTypeAny, {
1636
1687
  includeInstructions?: boolean | undefined;
1688
+ getInstructionsAction?: {
1689
+ includeCustomInstructions?: boolean | undefined;
1690
+ customInstructions?: string | undefined;
1691
+ includeOnlyCustomInstructions?: boolean | undefined;
1692
+ } | undefined;
1637
1693
  includeMarkComplete?: boolean | undefined;
1638
1694
  expirationActionId?: string | undefined;
1639
1695
  expirationAction?: {
@@ -1676,6 +1732,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1676
1732
  }[] | undefined;
1677
1733
  }, {
1678
1734
  includeInstructions?: boolean | undefined;
1735
+ getInstructionsAction?: {
1736
+ includeCustomInstructions?: boolean | undefined;
1737
+ customInstructions?: string | undefined;
1738
+ includeOnlyCustomInstructions?: boolean | undefined;
1739
+ } | undefined;
1679
1740
  includeMarkComplete?: boolean | undefined;
1680
1741
  expirationActionId?: string | undefined;
1681
1742
  expirationAction?: {
@@ -2040,6 +2101,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2040
2101
  engagementChannelCids: string[];
2041
2102
  actions?: {
2042
2103
  includeInstructions?: boolean | undefined;
2104
+ getInstructionsAction?: {
2105
+ includeCustomInstructions?: boolean | undefined;
2106
+ customInstructions?: string | undefined;
2107
+ includeOnlyCustomInstructions?: boolean | undefined;
2108
+ } | undefined;
2043
2109
  includeMarkComplete?: boolean | undefined;
2044
2110
  expirationActionId?: string | undefined;
2045
2111
  expirationAction?: {
@@ -2227,6 +2293,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
2227
2293
  engagementChannelCids: string[];
2228
2294
  actions?: {
2229
2295
  includeInstructions?: boolean | undefined;
2296
+ getInstructionsAction?: {
2297
+ includeCustomInstructions?: boolean | undefined;
2298
+ customInstructions?: string | undefined;
2299
+ includeOnlyCustomInstructions?: boolean | undefined;
2300
+ } | undefined;
2230
2301
  includeMarkComplete?: boolean | undefined;
2231
2302
  expirationActionId?: string | undefined;
2232
2303
  expirationAction?: {
@@ -2585,7 +2656,21 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2585
2656
  units?: string | undefined;
2586
2657
  }>>;
2587
2658
  actions: z.ZodOptional<z.ZodObject<{
2659
+ /** @deprecated */
2588
2660
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
2661
+ getInstructionsAction: z.ZodOptional<z.ZodObject<{
2662
+ includeCustomInstructions: z.ZodOptional<z.ZodBoolean>;
2663
+ customInstructions: z.ZodOptional<z.ZodString>;
2664
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodBoolean>;
2665
+ }, "strip", z.ZodTypeAny, {
2666
+ includeCustomInstructions?: boolean | undefined;
2667
+ customInstructions?: string | undefined;
2668
+ includeOnlyCustomInstructions?: boolean | undefined;
2669
+ }, {
2670
+ includeCustomInstructions?: boolean | undefined;
2671
+ customInstructions?: string | undefined;
2672
+ includeOnlyCustomInstructions?: boolean | undefined;
2673
+ }>>;
2589
2674
  includeMarkComplete: z.ZodOptional<z.ZodBoolean>;
2590
2675
  /**
2591
2676
  * @deprecated Use expirationAction instead
@@ -2706,6 +2791,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2706
2791
  }>, "many">>;
2707
2792
  }, "strip", z.ZodTypeAny, {
2708
2793
  includeInstructions?: boolean | undefined;
2794
+ getInstructionsAction?: {
2795
+ includeCustomInstructions?: boolean | undefined;
2796
+ customInstructions?: string | undefined;
2797
+ includeOnlyCustomInstructions?: boolean | undefined;
2798
+ } | undefined;
2709
2799
  includeMarkComplete?: boolean | undefined;
2710
2800
  expirationActionId?: string | undefined;
2711
2801
  expirationAction?: {
@@ -2748,6 +2838,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
2748
2838
  }[] | undefined;
2749
2839
  }, {
2750
2840
  includeInstructions?: boolean | undefined;
2841
+ getInstructionsAction?: {
2842
+ includeCustomInstructions?: boolean | undefined;
2843
+ customInstructions?: string | undefined;
2844
+ includeOnlyCustomInstructions?: boolean | undefined;
2845
+ } | undefined;
2751
2846
  includeMarkComplete?: boolean | undefined;
2752
2847
  expirationActionId?: string | undefined;
2753
2848
  expirationAction?: {
@@ -3117,6 +3212,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
3117
3212
  deletedAt?: string | null | undefined;
3118
3213
  actions?: {
3119
3214
  includeInstructions?: boolean | undefined;
3215
+ getInstructionsAction?: {
3216
+ includeCustomInstructions?: boolean | undefined;
3217
+ customInstructions?: string | undefined;
3218
+ includeOnlyCustomInstructions?: boolean | undefined;
3219
+ } | undefined;
3120
3220
  includeMarkComplete?: boolean | undefined;
3121
3221
  expirationActionId?: string | undefined;
3122
3222
  expirationAction?: {
@@ -3296,6 +3396,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
3296
3396
  deletedAt?: string | null | undefined;
3297
3397
  actions?: {
3298
3398
  includeInstructions?: boolean | undefined;
3399
+ getInstructionsAction?: {
3400
+ includeCustomInstructions?: boolean | undefined;
3401
+ customInstructions?: string | undefined;
3402
+ includeOnlyCustomInstructions?: boolean | undefined;
3403
+ } | undefined;
3299
3404
  includeMarkComplete?: boolean | undefined;
3300
3405
  expirationActionId?: string | undefined;
3301
3406
  expirationAction?: {
@@ -3457,7 +3562,21 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3457
3562
  updatedAt: z.ZodOptional<z.ZodString>;
3458
3563
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3459
3564
  actions: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3565
+ /** @deprecated */
3460
3566
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
3567
+ getInstructionsAction: z.ZodOptional<z.ZodObject<{
3568
+ includeCustomInstructions: z.ZodOptional<z.ZodBoolean>;
3569
+ customInstructions: z.ZodOptional<z.ZodString>;
3570
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodBoolean>;
3571
+ }, "strip", z.ZodTypeAny, {
3572
+ includeCustomInstructions?: boolean | undefined;
3573
+ customInstructions?: string | undefined;
3574
+ includeOnlyCustomInstructions?: boolean | undefined;
3575
+ }, {
3576
+ includeCustomInstructions?: boolean | undefined;
3577
+ customInstructions?: string | undefined;
3578
+ includeOnlyCustomInstructions?: boolean | undefined;
3579
+ }>>;
3461
3580
  includeMarkComplete: z.ZodOptional<z.ZodBoolean>;
3462
3581
  /**
3463
3582
  * @deprecated Use expirationAction instead
@@ -3578,6 +3697,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3578
3697
  }>, "many">>;
3579
3698
  }, "strip", z.ZodTypeAny, {
3580
3699
  includeInstructions?: boolean | undefined;
3700
+ getInstructionsAction?: {
3701
+ includeCustomInstructions?: boolean | undefined;
3702
+ customInstructions?: string | undefined;
3703
+ includeOnlyCustomInstructions?: boolean | undefined;
3704
+ } | undefined;
3581
3705
  includeMarkComplete?: boolean | undefined;
3582
3706
  expirationActionId?: string | undefined;
3583
3707
  expirationAction?: {
@@ -3620,6 +3744,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
3620
3744
  }[] | undefined;
3621
3745
  }, {
3622
3746
  includeInstructions?: boolean | undefined;
3747
+ getInstructionsAction?: {
3748
+ includeCustomInstructions?: boolean | undefined;
3749
+ customInstructions?: string | undefined;
3750
+ includeOnlyCustomInstructions?: boolean | undefined;
3751
+ } | undefined;
3623
3752
  includeMarkComplete?: boolean | undefined;
3624
3753
  expirationActionId?: string | undefined;
3625
3754
  expirationAction?: {
@@ -4079,6 +4208,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4079
4208
  deletedAt?: string | null | undefined;
4080
4209
  actions?: {
4081
4210
  includeInstructions?: boolean | undefined;
4211
+ getInstructionsAction?: {
4212
+ includeCustomInstructions?: boolean | undefined;
4213
+ customInstructions?: string | undefined;
4214
+ includeOnlyCustomInstructions?: boolean | undefined;
4215
+ } | undefined;
4082
4216
  includeMarkComplete?: boolean | undefined;
4083
4217
  expirationActionId?: string | undefined;
4084
4218
  expirationAction?: {
@@ -4251,6 +4385,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
4251
4385
  deletedAt?: string | null | undefined;
4252
4386
  actions?: {
4253
4387
  includeInstructions?: boolean | undefined;
4388
+ getInstructionsAction?: {
4389
+ includeCustomInstructions?: boolean | undefined;
4390
+ customInstructions?: string | undefined;
4391
+ includeOnlyCustomInstructions?: boolean | undefined;
4392
+ } | undefined;
4254
4393
  includeMarkComplete?: boolean | undefined;
4255
4394
  expirationActionId?: string | undefined;
4256
4395
  expirationAction?: {
@@ -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._EngagementEscalationConfig = exports._EmailChannelRedirection = exports._TeamsChannelRedirection = exports._SlackChannelRedirection = exports.EngagementRedirectionKind = 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.ENGAGEMENT_TRIGGER_SOURCE = 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._EngagementEscalationConfig = exports._EmailChannelRedirection = exports._TeamsChannelRedirection = exports._SlackChannelRedirection = exports.EngagementRedirectionKind = exports._FlowRewardsConfig = exports._FlowActions = exports._FlowLaunchAction = exports._FlowActionButton = exports._FlowInterval = exports._FlowInstructionsDetails = 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.ENGAGEMENT_TRIGGER_SOURCE = 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");
@@ -123,6 +123,11 @@ exports._FlowFilter = zod_1.z.object({
123
123
  cohorts: zod_1.z.array(exports._AmplifierCohortDto.optional()),
124
124
  custom: zod_1.z.record(zod_1.z.unknown()).optional(),
125
125
  });
126
+ exports._FlowInstructionsDetails = zod_1.z.object({
127
+ includeCustomInstructions: zod_1.z.boolean().optional(),
128
+ customInstructions: zod_1.z.string().optional(),
129
+ includeOnlyCustomInstructions: zod_1.z.boolean().optional(),
130
+ });
126
131
  const _FlowTone = zod_1.z.object({
127
132
  kind: zod_1.z.string().optional(),
128
133
  });
@@ -157,7 +162,9 @@ const _FlowActionDetails = zod_1.z.object({
157
162
  responseMessage: zod_1.z.string().optional(),
158
163
  });
159
164
  exports._FlowActions = zod_1.z.object({
165
+ /** @deprecated */
160
166
  includeInstructions: zod_1.z.boolean().optional(),
167
+ getInstructionsAction: exports._FlowInstructionsDetails.optional(),
161
168
  includeMarkComplete: zod_1.z.boolean().optional(),
162
169
  // TODO instructions contact address???
163
170
  /**
@@ -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,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,8CAAiB,CAAA;IACjB,4DAA+B,CAAA;AACjC,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;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;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EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC7B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,qBAAa,CAAC,KAAK,CAAC,MAAM;IAClC,KAAK,EAAE,qBAAa,CAAC,KAAK,CAAC,UAAU;IACrC,KAAK,EAAE,wBAAgB,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"}
@@ -7,7 +7,19 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
7
7
  extId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
8
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- getInstructionsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ includeCustomInstructions?: boolean | null | undefined;
16
+ customInstructions?: string | null | undefined;
17
+ includeOnlyCustomInstructions?: boolean | null | undefined;
18
+ }, {
19
+ includeCustomInstructions?: boolean | null | undefined;
20
+ customInstructions?: string | null | undefined;
21
+ includeOnlyCustomInstructions?: boolean | null | undefined;
22
+ }>>>;
11
23
  markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
24
  scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
25
  scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -15,7 +27,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
15
27
  scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
28
  }, "strip", z.ZodTypeAny, {
17
29
  tone?: string | null | undefined;
18
- getInstructionsEnabled?: boolean | null | undefined;
30
+ instructions?: {
31
+ includeCustomInstructions?: boolean | null | undefined;
32
+ customInstructions?: string | null | undefined;
33
+ includeOnlyCustomInstructions?: boolean | null | undefined;
34
+ } | null | undefined;
19
35
  markCompleteEnabled?: boolean | null | undefined;
20
36
  scheduleResolutionSignal?: string | null | undefined;
21
37
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -23,7 +39,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
23
39
  scheduleResolutionSubmitted?: number | null | undefined;
24
40
  }, {
25
41
  tone?: string | null | undefined;
26
- getInstructionsEnabled?: boolean | null | undefined;
42
+ instructions?: {
43
+ includeCustomInstructions?: boolean | null | undefined;
44
+ customInstructions?: string | null | undefined;
45
+ includeOnlyCustomInstructions?: boolean | null | undefined;
46
+ } | null | undefined;
27
47
  markCompleteEnabled?: boolean | null | undefined;
28
48
  scheduleResolutionSignal?: string | null | undefined;
29
49
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -52,7 +72,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
52
72
  extId?: string | null | undefined;
53
73
  meta?: {
54
74
  tone?: string | null | undefined;
55
- getInstructionsEnabled?: boolean | null | undefined;
75
+ instructions?: {
76
+ includeCustomInstructions?: boolean | null | undefined;
77
+ customInstructions?: string | null | undefined;
78
+ includeOnlyCustomInstructions?: boolean | null | undefined;
79
+ } | null | undefined;
56
80
  markCompleteEnabled?: boolean | null | undefined;
57
81
  scheduleResolutionSignal?: string | null | undefined;
58
82
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -79,7 +103,11 @@ export declare const _PlatformContextUpsertDto: z.ZodObject<z.objectUtil.extendS
79
103
  extId?: string | null | undefined;
80
104
  meta?: {
81
105
  tone?: string | null | undefined;
82
- getInstructionsEnabled?: boolean | null | undefined;
106
+ instructions?: {
107
+ includeCustomInstructions?: boolean | null | undefined;
108
+ customInstructions?: string | null | undefined;
109
+ includeOnlyCustomInstructions?: boolean | null | undefined;
110
+ } | null | undefined;
83
111
  markCompleteEnabled?: boolean | null | undefined;
84
112
  scheduleResolutionSignal?: string | null | undefined;
85
113
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -118,7 +146,19 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
118
146
  engagementChannel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
147
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
120
148
  tone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
- getInstructionsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
149
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
150
+ includeCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
151
+ customInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ includeCustomInstructions?: boolean | null | undefined;
155
+ customInstructions?: string | null | undefined;
156
+ includeOnlyCustomInstructions?: boolean | null | undefined;
157
+ }, {
158
+ includeCustomInstructions?: boolean | null | undefined;
159
+ customInstructions?: string | null | undefined;
160
+ includeOnlyCustomInstructions?: boolean | null | undefined;
161
+ }>>>;
122
162
  markCompleteEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
123
163
  scheduleResolutionSignal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
164
  scheduleResolutionWorkflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -126,7 +166,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
126
166
  scheduleResolutionSubmitted: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
127
167
  }, "strip", z.ZodTypeAny, {
128
168
  tone?: string | null | undefined;
129
- getInstructionsEnabled?: boolean | null | undefined;
169
+ instructions?: {
170
+ includeCustomInstructions?: boolean | null | undefined;
171
+ customInstructions?: string | null | undefined;
172
+ includeOnlyCustomInstructions?: boolean | null | undefined;
173
+ } | null | undefined;
130
174
  markCompleteEnabled?: boolean | null | undefined;
131
175
  scheduleResolutionSignal?: string | null | undefined;
132
176
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -134,7 +178,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
134
178
  scheduleResolutionSubmitted?: number | null | undefined;
135
179
  }, {
136
180
  tone?: string | null | undefined;
137
- getInstructionsEnabled?: boolean | null | undefined;
181
+ instructions?: {
182
+ includeCustomInstructions?: boolean | null | undefined;
183
+ customInstructions?: string | null | undefined;
184
+ includeOnlyCustomInstructions?: boolean | null | undefined;
185
+ } | null | undefined;
138
186
  markCompleteEnabled?: boolean | null | undefined;
139
187
  scheduleResolutionSignal?: string | null | undefined;
140
188
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -152,7 +200,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
152
200
  extId?: string | null | undefined;
153
201
  meta?: {
154
202
  tone?: string | null | undefined;
155
- getInstructionsEnabled?: boolean | null | undefined;
203
+ instructions?: {
204
+ includeCustomInstructions?: boolean | null | undefined;
205
+ customInstructions?: string | null | undefined;
206
+ includeOnlyCustomInstructions?: boolean | null | undefined;
207
+ } | null | undefined;
156
208
  markCompleteEnabled?: boolean | null | undefined;
157
209
  scheduleResolutionSignal?: string | null | undefined;
158
210
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -179,7 +231,11 @@ export declare const _PlatformContextDto: z.ZodObject<z.objectUtil.extendShape<z
179
231
  extId?: string | null | undefined;
180
232
  meta?: {
181
233
  tone?: string | null | undefined;
182
- getInstructionsEnabled?: boolean | null | undefined;
234
+ instructions?: {
235
+ includeCustomInstructions?: boolean | null | undefined;
236
+ customInstructions?: string | null | undefined;
237
+ includeOnlyCustomInstructions?: boolean | null | undefined;
238
+ } | null | undefined;
183
239
  markCompleteEnabled?: boolean | null | undefined;
184
240
  scheduleResolutionSignal?: string | null | undefined;
185
241
  scheduleResolutionWorkflowId?: string | null | undefined;
@@ -199,6 +199,19 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
199
199
  }>>;
200
200
  actions: z.ZodOptional<z.ZodObject<{
201
201
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
202
+ getInstructionsAction: z.ZodOptional<z.ZodObject<{
203
+ includeCustomInstructions: z.ZodOptional<z.ZodBoolean>;
204
+ customInstructions: z.ZodOptional<z.ZodString>;
205
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodBoolean>;
206
+ }, "strip", z.ZodTypeAny, {
207
+ includeCustomInstructions?: boolean | undefined;
208
+ customInstructions?: string | undefined;
209
+ includeOnlyCustomInstructions?: boolean | undefined;
210
+ }, {
211
+ includeCustomInstructions?: boolean | undefined;
212
+ customInstructions?: string | undefined;
213
+ includeOnlyCustomInstructions?: boolean | undefined;
214
+ }>>;
202
215
  includeMarkComplete: z.ZodOptional<z.ZodBoolean>;
203
216
  expirationActionId: z.ZodOptional<z.ZodString>;
204
217
  expirationAction: z.ZodOptional<z.ZodObject<{
@@ -307,6 +320,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
307
320
  }>, "many">>;
308
321
  }, "strip", z.ZodTypeAny, {
309
322
  includeInstructions?: boolean | undefined;
323
+ getInstructionsAction?: {
324
+ includeCustomInstructions?: boolean | undefined;
325
+ customInstructions?: string | undefined;
326
+ includeOnlyCustomInstructions?: boolean | undefined;
327
+ } | undefined;
310
328
  includeMarkComplete?: boolean | undefined;
311
329
  expirationActionId?: string | undefined;
312
330
  expirationAction?: {
@@ -349,6 +367,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
349
367
  }[] | undefined;
350
368
  }, {
351
369
  includeInstructions?: boolean | undefined;
370
+ getInstructionsAction?: {
371
+ includeCustomInstructions?: boolean | undefined;
372
+ customInstructions?: string | undefined;
373
+ includeOnlyCustomInstructions?: boolean | undefined;
374
+ } | undefined;
352
375
  includeMarkComplete?: boolean | undefined;
353
376
  expirationActionId?: string | undefined;
354
377
  expirationAction?: {
@@ -715,6 +738,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
715
738
  deletedAt?: string | null | undefined;
716
739
  actions?: {
717
740
  includeInstructions?: boolean | undefined;
741
+ getInstructionsAction?: {
742
+ includeCustomInstructions?: boolean | undefined;
743
+ customInstructions?: string | undefined;
744
+ includeOnlyCustomInstructions?: boolean | undefined;
745
+ } | undefined;
718
746
  includeMarkComplete?: boolean | undefined;
719
747
  expirationActionId?: string | undefined;
720
748
  expirationAction?: {
@@ -894,6 +922,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
894
922
  deletedAt?: string | null | undefined;
895
923
  actions?: {
896
924
  includeInstructions?: boolean | undefined;
925
+ getInstructionsAction?: {
926
+ includeCustomInstructions?: boolean | undefined;
927
+ customInstructions?: string | undefined;
928
+ includeOnlyCustomInstructions?: boolean | undefined;
929
+ } | undefined;
897
930
  includeMarkComplete?: boolean | undefined;
898
931
  expirationActionId?: string | undefined;
899
932
  expirationAction?: {
@@ -1244,6 +1277,19 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1244
1277
  }>>;
1245
1278
  actions: z.ZodOptional<z.ZodObject<{
1246
1279
  includeInstructions: z.ZodOptional<z.ZodBoolean>;
1280
+ getInstructionsAction: z.ZodOptional<z.ZodObject<{
1281
+ includeCustomInstructions: z.ZodOptional<z.ZodBoolean>;
1282
+ customInstructions: z.ZodOptional<z.ZodString>;
1283
+ includeOnlyCustomInstructions: z.ZodOptional<z.ZodBoolean>;
1284
+ }, "strip", z.ZodTypeAny, {
1285
+ includeCustomInstructions?: boolean | undefined;
1286
+ customInstructions?: string | undefined;
1287
+ includeOnlyCustomInstructions?: boolean | undefined;
1288
+ }, {
1289
+ includeCustomInstructions?: boolean | undefined;
1290
+ customInstructions?: string | undefined;
1291
+ includeOnlyCustomInstructions?: boolean | undefined;
1292
+ }>>;
1247
1293
  includeMarkComplete: z.ZodOptional<z.ZodBoolean>;
1248
1294
  expirationActionId: z.ZodOptional<z.ZodString>;
1249
1295
  expirationAction: z.ZodOptional<z.ZodObject<{
@@ -1352,6 +1398,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1352
1398
  }>, "many">>;
1353
1399
  }, "strip", z.ZodTypeAny, {
1354
1400
  includeInstructions?: boolean | undefined;
1401
+ getInstructionsAction?: {
1402
+ includeCustomInstructions?: boolean | undefined;
1403
+ customInstructions?: string | undefined;
1404
+ includeOnlyCustomInstructions?: boolean | undefined;
1405
+ } | undefined;
1355
1406
  includeMarkComplete?: boolean | undefined;
1356
1407
  expirationActionId?: string | undefined;
1357
1408
  expirationAction?: {
@@ -1394,6 +1445,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1394
1445
  }[] | undefined;
1395
1446
  }, {
1396
1447
  includeInstructions?: boolean | undefined;
1448
+ getInstructionsAction?: {
1449
+ includeCustomInstructions?: boolean | undefined;
1450
+ customInstructions?: string | undefined;
1451
+ includeOnlyCustomInstructions?: boolean | undefined;
1452
+ } | undefined;
1397
1453
  includeMarkComplete?: boolean | undefined;
1398
1454
  expirationActionId?: string | undefined;
1399
1455
  expirationAction?: {
@@ -1755,6 +1811,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1755
1811
  engagementChannelCids: string[];
1756
1812
  actions?: {
1757
1813
  includeInstructions?: boolean | undefined;
1814
+ getInstructionsAction?: {
1815
+ includeCustomInstructions?: boolean | undefined;
1816
+ customInstructions?: string | undefined;
1817
+ includeOnlyCustomInstructions?: boolean | undefined;
1818
+ } | undefined;
1758
1819
  includeMarkComplete?: boolean | undefined;
1759
1820
  expirationActionId?: string | undefined;
1760
1821
  expirationAction?: {
@@ -1942,6 +2003,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
1942
2003
  engagementChannelCids: string[];
1943
2004
  actions?: {
1944
2005
  includeInstructions?: boolean | undefined;
2006
+ getInstructionsAction?: {
2007
+ includeCustomInstructions?: boolean | undefined;
2008
+ customInstructions?: string | undefined;
2009
+ includeOnlyCustomInstructions?: boolean | undefined;
2010
+ } | undefined;
1945
2011
  includeMarkComplete?: boolean | undefined;
1946
2012
  expirationActionId?: string | undefined;
1947
2013
  expirationAction?: {
@@ -115,9 +115,9 @@ declare const _FindingContent: z.ZodObject<{
115
115
  }, {
116
116
  kind: string;
117
117
  title: string;
118
+ instructions?: any;
118
119
  displayText?: string | undefined;
119
120
  timeToComplete?: string | undefined;
120
- instructions?: any;
121
121
  }>;
122
122
  export type FindingContent = z.infer<typeof _FindingContent>;
123
123
  declare const _PromptTemplateContent: z.ZodObject<{
@@ -162,9 +162,9 @@ declare const _Integration: z.ZodObject<{
162
162
  }, {
163
163
  kind: string;
164
164
  title: string;
165
+ instructions?: any;
165
166
  displayText?: string | undefined;
166
167
  timeToComplete?: string | undefined;
167
- instructions?: any;
168
168
  }>;
169
169
  domains: z.ZodArray<z.ZodObject<{
170
170
  name: z.ZodString;
@@ -208,9 +208,9 @@ declare const _Integration: z.ZodObject<{
208
208
  findings: {
209
209
  kind: string;
210
210
  title: string;
211
+ instructions?: any;
211
212
  displayText?: string | undefined;
212
213
  timeToComplete?: string | undefined;
213
- instructions?: any;
214
214
  };
215
215
  logo: string;
216
216
  providerKey: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "82.2.0",
3
+ "version": "82.3.1",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -4,7 +4,14 @@ import {UPSERT_DTO_MASK, _BaseDto} from './base.dto';
4
4
  export const _ContextMeta = z
5
5
  .object({
6
6
  tone: z.string().nullish(),
7
- getInstructionsEnabled: z.boolean().nullish(),
7
+ instructions: z
8
+ .object({
9
+ includeCustomInstructions: z.boolean().nullish(),
10
+ customInstructions: z.string().nullish(),
11
+ // ignored when `includeCustomInstructions` is `false`
12
+ includeOnlyCustomInstructions: z.boolean().nullish(),
13
+ })
14
+ .nullish(),
8
15
  markCompleteEnabled: z.boolean().nullish(),
9
16
  scheduleResolutionSignal: z.string().nullish(),
10
17
  scheduleResolutionWorkflowId: z.string().nullish(),
@@ -146,6 +146,11 @@ export const _FlowFilter = z.object({
146
146
  cohorts: z.array(_AmplifierCohortDto.optional()),
147
147
  custom: z.record(z.unknown()).optional(),
148
148
  });
149
+ export const _FlowInstructionsDetails = z.object({
150
+ includeCustomInstructions: z.boolean().optional(),
151
+ customInstructions: z.string().optional(),
152
+ includeOnlyCustomInstructions: z.boolean().optional(),
153
+ });
149
154
  const _FlowTone = z.object({
150
155
  kind: z.string().optional(),
151
156
  });
@@ -187,7 +192,9 @@ const _FlowActionDetails = z.object({
187
192
  });
188
193
 
189
194
  export const _FlowActions = z.object({
195
+ /** @deprecated */
190
196
  includeInstructions: z.boolean().optional(),
197
+ getInstructionsAction: _FlowInstructionsDetails.optional(),
191
198
  includeMarkComplete: z.boolean().optional(),
192
199
  // TODO instructions contact address???
193
200
  /**