@shipfox/api-agent-access-dto 20.2.0 → 21.0.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.
@@ -0,0 +1,2 @@
1
+ $ shipfox-swc
2
+ Successfully compiled: 4 files with swc (214.7ms)
@@ -0,0 +1 @@
1
+ $ shipfox-tsc-emit
@@ -0,0 +1,2 @@
1
+ $ shipfox-tsc-check
2
+ context canceled
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @shipfox/api-agent-access-dto
2
2
 
3
+ ## 21.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f3df1e5: Add bounded Agent Access trigger-event detail and facet discovery tools.
8
+
9
+ ## 20.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 47f6024: Add bounded paged agent-access tools for project, definition, run, annotation, and trigger-event reads.
14
+
3
15
  ## 20.2.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
+ export { AGENT_ACCESS_FACET_MAX_ITEMS, AGENT_ACCESS_FACET_VALUE_MAX_BYTES, AGENT_ACCESS_SERIALIZED_JSON_MAX_BYTES, AGENT_ACCESS_TRIGGER_DECISION_MAX_ITEMS, AGENT_ACCESS_TRIGGER_REPLAY_MAX_ITEMS, type GetTriggerEventFacetsInputDto, type GetTriggerEventFacetsResultDto, type GetTriggerEventInputDto, type GetTriggerEventResultDto, getTriggerEventFacetsInputJsonSchema, getTriggerEventFacetsInputSchema, getTriggerEventFacetsResultJsonSchema, getTriggerEventFacetsResultSchema, getTriggerEventInputJsonSchema, getTriggerEventInputSchema, getTriggerEventResultJsonSchema, getTriggerEventResultSchema, } from './schemas/diagnostic-tools.js';
1
2
  export { AGENT_ACCESS_ERROR_CODE_MAX_LENGTH, AGENT_ACCESS_ERROR_MESSAGE_MAX_LENGTH, type AgentAccessEnvelopeDto, type AgentAccessErrorDto, type AgentAccessJsonSchema, type AgentAccessObjectSchema, agentAccessEnvelopeJsonSchema, agentAccessEnvelopeSchema, agentAccessErrorSchema, agentAccessOutputSchema, } from './schemas/envelope.js';
3
+ export { AGENT_ACCESS_ANNOTATION_BODY_MAX_BYTES, AGENT_ACCESS_CONNECTION_NAME_MAX_BYTES, AGENT_ACCESS_DEFAULT_PAGE_LIMIT, AGENT_ACCESS_DIAGNOSTIC_CODE_MAX_BYTES, AGENT_ACCESS_DIAGNOSTIC_MAX_ITEMS, AGENT_ACCESS_DIAGNOSTIC_MESSAGE_MAX_BYTES, AGENT_ACCESS_DIAGNOSTIC_PATH_MAX_BYTES, AGENT_ACCESS_PAGE_LIMIT_MAX, AGENT_ACCESS_RESPONSE_MAX_BYTES, AGENT_ACCESS_TEXT_MAX_BYTES, type GetRunAnnotationsInputDto, type GetRunAnnotationsResultDto, getRunAnnotationsInputJsonSchema, getRunAnnotationsInputSchema, getRunAnnotationsResultJsonSchema, getRunAnnotationsResultSchema, type ListProjectsInputDto, type ListProjectsResultDto, type ListTriggerEventsInputDto, type ListTriggerEventsResultDto, type ListWorkflowDefinitionsInputDto, type ListWorkflowDefinitionsResultDto, type ListWorkflowRunsInputDto, type ListWorkflowRunsResultDto, listProjectsInputJsonSchema, listProjectsInputSchema, listProjectsResultJsonSchema, listProjectsResultSchema, listTriggerEventsInputJsonSchema, listTriggerEventsInputSchema, listTriggerEventsResultJsonSchema, listTriggerEventsResultSchema, listWorkflowDefinitionsInputJsonSchema, listWorkflowDefinitionsInputSchema, listWorkflowDefinitionsResultJsonSchema, listWorkflowDefinitionsResultSchema, listWorkflowRunsInputJsonSchema, listWorkflowRunsInputSchema, listWorkflowRunsResultJsonSchema, listWorkflowRunsResultSchema, } from './schemas/paged-tools.js';
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kCAAkC,EAClC,qCAAqC,EACrC,KAAK,sBAAsB,EAC3B,K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xB,gCAAgC,EAChC,4BAA4B,EAC5B,iCAAiC,EACjC,6BAA6B,EAC7B,sCAAsC,EACtC,kCAAkC,EAClC,uCAAuC,EACvC,mCAAmC,EACnC,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ export { AGENT_ACCESS_FACET_MAX_ITEMS, AGENT_ACCESS_FACET_VALUE_MAX_BYTES, AGENT_ACCESS_SERIALIZED_JSON_MAX_BYTES, AGENT_ACCESS_TRIGGER_DECISION_MAX_ITEMS, AGENT_ACCESS_TRIGGER_REPLAY_MAX_ITEMS, getTriggerEventFacetsInputJsonSchema, getTriggerEventFacetsInputSchema, getTriggerEventFacetsResultJsonSchema, getTriggerEventFacetsResultSchema, getTriggerEventInputJsonSchema, getTriggerEventInputSchema, getTriggerEventResultJsonSchema, getTriggerEventResultSchema } from './schemas/diagnostic-tools.js';
1
2
  export { AGENT_ACCESS_ERROR_CODE_MAX_LENGTH, AGENT_ACCESS_ERROR_MESSAGE_MAX_LENGTH, agentAccessEnvelopeJsonSchema, agentAccessEnvelopeSchema, agentAccessErrorSchema, agentAccessOutputSchema } from './schemas/envelope.js';
3
+ export { AGENT_ACCESS_ANNOTATION_BODY_MAX_BYTES, AGENT_ACCESS_CONNECTION_NAME_MAX_BYTES, AGENT_ACCESS_DEFAULT_PAGE_LIMIT, AGENT_ACCESS_DIAGNOSTIC_CODE_MAX_BYTES, AGENT_ACCESS_DIAGNOSTIC_MAX_ITEMS, AGENT_ACCESS_DIAGNOSTIC_MESSAGE_MAX_BYTES, AGENT_ACCESS_DIAGNOSTIC_PATH_MAX_BYTES, AGENT_ACCESS_PAGE_LIMIT_MAX, AGENT_ACCESS_RESPONSE_MAX_BYTES, AGENT_ACCESS_TEXT_MAX_BYTES, getRunAnnotationsInputJsonSchema, getRunAnnotationsInputSchema, getRunAnnotationsResultJsonSchema, getRunAnnotationsResultSchema, listProjectsInputJsonSchema, listProjectsInputSchema, listProjectsResultJsonSchema, listProjectsResultSchema, listTriggerEventsInputJsonSchema, listTriggerEventsInputSchema, listTriggerEventsResultJsonSchema, listTriggerEventsResultSchema, listWorkflowDefinitionsInputJsonSchema, listWorkflowDefinitionsInputSchema, listWorkflowDefinitionsResultJsonSchema, listWorkflowDefinitionsResultSchema, listWorkflowRunsInputJsonSchema, listWorkflowRunsInputSchema, listWorkflowRunsResultJsonSchema, listWorkflowRunsResultSchema } from './schemas/paged-tools.js';
2
4
 
3
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n AGENT_ACCESS_ERROR_CODE_MAX_LENGTH,\n AGENT_ACCESS_ERROR_MESSAGE_MAX_LENGTH,\n type AgentAccessEnvelopeDto,\n type AgentAccessErrorDto,\n type AgentAccessJsonSchema,\n type AgentAccessObjectSchema,\n agentAccessEnvelopeJsonSchema,\n agentAccessEnvelopeSchema,\n agentAccessErrorSchema,\n agentAccessOutputSchema,\n} from './schemas/envelope.js';\n"],"names":["AGENT_ACCESS_ERROR_CODE_MAX_LENGTH","AGENT_ACCESS_ERROR_MESSAGE_MAX_LENGTH","agentAccessEnvelopeJsonSchema","agentAccessEnvelopeSchema","agentAccessErrorSchema","agentAccessOutputSchema"],"mappings":"AAAA,SACEA,kCAAkC,EAClCC,qCAAqC,EAKrCC,6BAA6B,EAC7BC,yBAAyB,EACzBC,sBAAsB,EACtBC,uBAAuB,QAClB,wBAAwB"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n AGENT_ACCESS_FACET_MAX_ITEMS,\n AGENT_ACCESS_FACET_VALUE_MAX_BYTES,\n AGENT_ACCESS_SERIALIZED_JSON_MAX_BYTES,\n AGENT_ACCESS_TRIGGER_DECISION_MAX_ITEMS,\n AGENT_ACCESS_TRIGGER_REPLAY_MAX_ITEMS,\n type GetTriggerEventFacetsInputDto,\n type GetTriggerEventFacetsResultDto,\n type GetTriggerEventInputDto,\n type GetTriggerEventResultDto,\n getTriggerEventFacetsInputJsonSchema,\n getTriggerEventFacetsInputSchema,\n getTriggerEventFacetsResultJsonSchema,\n getTriggerEventFacetsResultSchema,\n getTriggerEventInputJsonSchema,\n getTriggerEventInputSchema,\n getTriggerEventResultJsonSchema,\n getTriggerEventResultSchema,\n} from './schemas/diagnostic-tools.js';\nexport {\n AGENT_ACCESS_ERROR_CODE_MAX_LENGTH,\n AGENT_ACCESS_ERROR_MESSAGE_MAX_LENGTH,\n type AgentAccessEnvelopeDto,\n type AgentAccessErrorDto,\n type AgentAccessJsonSchema,\n type AgentAccessObjectSchema,\n agentAccessEnvelopeJsonSchema,\n agentAccessEnvelopeSchema,\n agentAccessErrorSchema,\n agentAccessOutputSchema,\n} from './schemas/envelope.js';\nexport {\n AGENT_ACCESS_ANNOTATION_BODY_MAX_BYTES,\n AGENT_ACCESS_CONNECTION_NAME_MAX_BYTES,\n AGENT_ACCESS_DEFAULT_PAGE_LIMIT,\n AGENT_ACCESS_DIAGNOSTIC_CODE_MAX_BYTES,\n AGENT_ACCESS_DIAGNOSTIC_MAX_ITEMS,\n AGENT_ACCESS_DIAGNOSTIC_MESSAGE_MAX_BYTES,\n AGENT_ACCESS_DIAGNOSTIC_PATH_MAX_BYTES,\n AGENT_ACCESS_PAGE_LIMIT_MAX,\n AGENT_ACCESS_RESPONSE_MAX_BYTES,\n AGENT_ACCESS_TEXT_MAX_BYTES,\n type GetRunAnnotationsInputDto,\n type GetRunAnnotationsResultDto,\n getRunAnnotationsInputJsonSchema,\n getRunAnnotationsInputSchema,\n getRunAnnotationsResultJsonSchema,\n getRunAnnotationsResultSchema,\n type ListProjectsInputDto,\n type ListProjectsResultDto,\n type ListTriggerEventsInputDto,\n type ListTriggerEventsResultDto,\n type ListWorkflowDefinitionsInputDto,\n type ListWorkflowDefinitionsResultDto,\n type ListWorkflowRunsInputDto,\n type ListWorkflowRunsResultDto,\n listProjectsInputJsonSchema,\n listProjectsInputSchema,\n listProjectsResultJsonSchema,\n listProjectsResultSchema,\n listTriggerEventsInputJsonSchema,\n listTriggerEventsInputSchema,\n listTriggerEventsResultJsonSchema,\n listTriggerEventsResultSchema,\n listWorkflowDefinitionsInputJsonSchema,\n listWorkflowDefinitionsInputSchema,\n listWorkflowDefinitionsResultJsonSchema,\n listWorkflowDefinitionsResultSchema,\n listWorkflowRunsInputJsonSchema,\n listWorkflowRunsInputSchema,\n listWorkflowRunsResultJsonSchema,\n listWorkflowRunsResultSchema,\n} from './schemas/paged-tools.js';\n"],"names":["AGENT_ACCESS_FACET_MAX_ITEMS","AGENT_ACCESS_FACET_VALUE_MAX_BYTES","AGENT_ACCESS_SERIALIZED_JSON_MAX_BYTES","AGENT_ACCESS_TRIGGER_DECISION_MAX_ITEMS","AGENT_ACCESS_TRIGGER_REPLAY_MAX_ITEMS","getTriggerEventFacetsInputJsonSchema","getTriggerEventFacetsInputSchema","getTriggerEventFacetsResultJsonSchema","getTriggerEventFacetsResultSchema","getTriggerEventInputJsonSchema","getTriggerEventInputSchema","getTriggerEventResultJsonSchema","getTriggerEventResultSchema","AGENT_ACCESS_ERROR_CODE_MAX_LENGTH","AGENT_ACCESS_ERROR_MESSAGE_MAX_LENGTH","agentAccessEnvelopeJsonSchema","agentAccessEnvelopeSchema","agentAccessErrorSchema","agentAccessOutputSchema","AGENT_ACCESS_ANNOTATION_BODY_MAX_BYTES","AGENT_ACCESS_CONNECTION_NAME_MAX_BYTES","AGENT_ACCESS_DEFAULT_PAGE_LIMIT","AGENT_ACCESS_DIAGNOSTIC_CODE_MAX_BYTES","AGENT_ACCESS_DIAGNOSTIC_MAX_ITEMS","AGENT_ACCESS_DIAGNOSTIC_MESSAGE_MAX_BYTES","AGENT_ACCESS_DIAGNOSTIC_PATH_MAX_BYTES","AGENT_ACCESS_PAGE_LIMIT_MAX","AGENT_ACCESS_RESPONSE_MAX_BYTES","AGENT_ACCESS_TEXT_MAX_BYTES","getRunAnnotationsInputJsonSchema","getRunAnnotationsInputSchema","getRunAnnotationsResultJsonSchema","getRunAnnotationsResultSchema","listProjectsInputJsonSchema","listProjectsInputSchema","listProjectsResultJsonSchema","listProjectsResultSchema","listTriggerEventsInputJsonSchema","listTriggerEventsInputSchema","listTriggerEventsResultJsonSchema","listTriggerEventsResultSchema","listWorkflowDefinitionsInputJsonSchema","listWorkflowDefinitionsInputSchema","listWorkflowDefinitionsResultJsonSchema","listWorkflowDefinitionsResultSchema","listWorkflowRunsInputJsonSchema","listWorkflowRunsInputSchema","listWorkflowRunsResultJsonSchema","listWorkflowRunsResultSchema"],"mappings":"AAAA,SACEA,4BAA4B,EAC5BC,kCAAkC,EAClCC,sCAAsC,EACtCC,uCAAuC,EACvCC,qCAAqC,EAKrCC,oCAAoC,EACpCC,gCAAgC,EAChCC,qCAAqC,EACrCC,iCAAiC,EACjCC,8BAA8B,EAC9BC,0BAA0B,EAC1BC,+BAA+B,EAC/BC,2BAA2B,QACtB,gCAAgC;AACvC,SACEC,kCAAkC,EAClCC,qCAAqC,EAKrCC,6BAA6B,EAC7BC,yBAAyB,EACzBC,sBAAsB,EACtBC,uBAAuB,QAClB,wBAAwB;AAC/B,SACEC,sCAAsC,EACtCC,sCAAsC,EACtCC,+BAA+B,EAC/BC,sCAAsC,EACtCC,iCAAiC,EACjCC,yCAAyC,EACzCC,sCAAsC,EACtCC,2BAA2B,EAC3BC,+BAA+B,EAC/BC,2BAA2B,EAG3BC,gCAAgC,EAChCC,4BAA4B,EAC5BC,iCAAiC,EACjCC,6BAA6B,EAS7BC,2BAA2B,EAC3BC,uBAAuB,EACvBC,4BAA4B,EAC5BC,wBAAwB,EACxBC,gCAAgC,EAChCC,4BAA4B,EAC5BC,iCAAiC,EACjCC,6BAA6B,EAC7BC,sCAAsC,EACtCC,kCAAkC,EAClCC,uCAAuC,EACvCC,mCAAmC,EACnCC,+BAA+B,EAC/BC,2BAA2B,EAC3BC,gCAAgC,EAChCC,4BAA4B,QACvB,2BAA2B"}
@@ -0,0 +1,322 @@
1
+ import { z } from 'zod';
2
+ export declare const AGENT_ACCESS_SERIALIZED_JSON_MAX_BYTES: number;
3
+ export declare const AGENT_ACCESS_TRIGGER_DECISION_MAX_ITEMS = 50;
4
+ export declare const AGENT_ACCESS_TRIGGER_REPLAY_MAX_ITEMS = 20;
5
+ export declare const AGENT_ACCESS_FACET_MAX_ITEMS = 50;
6
+ export declare const AGENT_ACCESS_FACET_VALUE_MAX_BYTES = 256;
7
+ export declare const getTriggerEventInputSchema: z.ZodObject<{
8
+ event_id: z.ZodString;
9
+ }, z.core.$strict>;
10
+ export declare const getTriggerEventFacetsInputSchema: z.ZodObject<{}, z.core.$strict>;
11
+ export type GetTriggerEventInputDto = z.infer<typeof getTriggerEventInputSchema>;
12
+ export type GetTriggerEventFacetsInputDto = z.infer<typeof getTriggerEventFacetsInputSchema>;
13
+ export declare const getTriggerEventResultSchema: z.ZodObject<{
14
+ id: z.ZodString;
15
+ origin: z.ZodEnum<{
16
+ cron: "cron";
17
+ dev: "dev";
18
+ integration: "integration";
19
+ manual: "manual";
20
+ }>;
21
+ provider: z.ZodNullable<z.ZodString>;
22
+ source: z.ZodString;
23
+ event: z.ZodString;
24
+ outcome: z.ZodEnum<{
25
+ discarded: "discarded";
26
+ errored: "errored";
27
+ failed: "failed";
28
+ received: "received";
29
+ routed: "routed";
30
+ }>;
31
+ matched_count: z.ZodNumber;
32
+ connection_id: z.ZodNullable<z.ZodString>;
33
+ connection_name: z.ZodNullable<z.ZodString>;
34
+ replay_of_event_id: z.ZodNullable<z.ZodString>;
35
+ received_at: z.ZodString;
36
+ processed_at: z.ZodNullable<z.ZodString>;
37
+ payload_preview: z.ZodString;
38
+ payload_preview_truncated: z.ZodOptional<z.ZodLiteral<true>>;
39
+ payload_preview_total_bytes: z.ZodOptional<z.ZodNumber>;
40
+ decisions: z.ZodArray<z.ZodObject<{
41
+ id: z.ZodString;
42
+ subscription_kind: z.ZodEnum<{
43
+ dev: "dev";
44
+ listener: "listener";
45
+ trigger: "trigger";
46
+ }>;
47
+ outcome: z.ZodEnum<{
48
+ "dispatch-error": "dispatch-error";
49
+ "filter-error": "filter-error";
50
+ triggered: "triggered";
51
+ }>;
52
+ reason: z.ZodNullable<z.ZodString>;
53
+ workflow_definition_id: z.ZodNullable<z.ZodString>;
54
+ project_id: z.ZodNullable<z.ZodString>;
55
+ workflow_run_id: z.ZodNullable<z.ZodString>;
56
+ job_id: z.ZodNullable<z.ZodString>;
57
+ }, z.core.$strict>>;
58
+ decisions_truncated: z.ZodOptional<z.ZodLiteral<true>>;
59
+ decisions_total_count: z.ZodNumber;
60
+ replays: z.ZodArray<z.ZodObject<{
61
+ id: z.ZodString;
62
+ workflow_run_id: z.ZodNullable<z.ZodString>;
63
+ created_at: z.ZodString;
64
+ }, z.core.$strict>>;
65
+ replays_truncated: z.ZodOptional<z.ZodLiteral<true>>;
66
+ replays_total_count: z.ZodNumber;
67
+ }, z.core.$strict>;
68
+ export declare const getTriggerEventFacetsResultSchema: z.ZodObject<{
69
+ sources: z.ZodArray<z.ZodObject<{
70
+ value: z.ZodString;
71
+ count: z.ZodNumber;
72
+ }, z.core.$strict>>;
73
+ events: z.ZodArray<z.ZodObject<{
74
+ value: z.ZodString;
75
+ count: z.ZodNumber;
76
+ }, z.core.$strict>>;
77
+ origins: z.ZodArray<z.ZodObject<{
78
+ value: z.ZodString;
79
+ count: z.ZodNumber;
80
+ }, z.core.$strict>>;
81
+ }, z.core.$strict>;
82
+ export type GetTriggerEventResultDto = z.infer<typeof getTriggerEventResultSchema>;
83
+ export type GetTriggerEventFacetsResultDto = z.infer<typeof getTriggerEventFacetsResultSchema>;
84
+ export declare const getTriggerEventInputJsonSchema: {
85
+ readonly type: 'object';
86
+ readonly properties: {
87
+ readonly event_id: {
88
+ readonly type: 'string';
89
+ readonly format: 'uuid';
90
+ };
91
+ };
92
+ readonly required: readonly ["event_id"];
93
+ readonly additionalProperties: false;
94
+ };
95
+ export declare const getTriggerEventFacetsInputJsonSchema: {
96
+ readonly type: 'object';
97
+ readonly properties: {};
98
+ readonly additionalProperties: false;
99
+ };
100
+ export declare const getTriggerEventResultJsonSchema: {
101
+ readonly type: 'object';
102
+ readonly properties: {
103
+ readonly id: {
104
+ readonly type: 'string';
105
+ readonly format: 'uuid';
106
+ };
107
+ readonly origin: {
108
+ readonly type: 'string';
109
+ readonly enum: readonly ["integration", "manual", "cron", "dev"];
110
+ };
111
+ readonly provider: {
112
+ readonly anyOf: readonly [Record<string, unknown>, {
113
+ readonly type: 'null';
114
+ }];
115
+ };
116
+ readonly source: {
117
+ readonly type: 'string';
118
+ readonly maxLength: 512;
119
+ };
120
+ readonly event: {
121
+ readonly type: 'string';
122
+ readonly maxLength: 512;
123
+ };
124
+ readonly outcome: {
125
+ readonly type: 'string';
126
+ readonly enum: readonly ["received", "routed", "discarded", "failed", "errored"];
127
+ };
128
+ readonly matched_count: {
129
+ readonly type: 'integer';
130
+ readonly minimum: 0;
131
+ };
132
+ readonly connection_id: {
133
+ readonly anyOf: readonly [Record<string, unknown>, {
134
+ readonly type: 'null';
135
+ }];
136
+ };
137
+ readonly connection_name: {
138
+ readonly anyOf: readonly [Record<string, unknown>, {
139
+ readonly type: 'null';
140
+ }];
141
+ };
142
+ readonly replay_of_event_id: {
143
+ readonly anyOf: readonly [Record<string, unknown>, {
144
+ readonly type: 'null';
145
+ }];
146
+ };
147
+ readonly received_at: {
148
+ readonly type: 'string';
149
+ readonly format: 'date-time';
150
+ };
151
+ readonly processed_at: {
152
+ readonly anyOf: readonly [Record<string, unknown>, {
153
+ readonly type: 'null';
154
+ }];
155
+ };
156
+ readonly payload_preview: {
157
+ readonly type: 'string';
158
+ readonly maxLength: number;
159
+ readonly contentMediaType: 'application/json';
160
+ };
161
+ readonly payload_preview_truncated: {
162
+ readonly const: true;
163
+ };
164
+ readonly payload_preview_total_bytes: {
165
+ readonly type: 'integer';
166
+ readonly minimum: 0;
167
+ };
168
+ readonly decisions: {
169
+ readonly type: 'array';
170
+ readonly maxItems: 50;
171
+ readonly items: {
172
+ readonly type: 'object';
173
+ readonly properties: {
174
+ readonly id: {
175
+ readonly type: 'string';
176
+ readonly format: 'uuid';
177
+ };
178
+ readonly subscription_kind: {
179
+ readonly type: 'string';
180
+ readonly enum: readonly ['trigger', 'listener', 'dev'];
181
+ };
182
+ readonly outcome: {
183
+ readonly type: 'string';
184
+ readonly enum: readonly ['triggered', 'filter-error', 'dispatch-error'];
185
+ };
186
+ readonly reason: {
187
+ readonly anyOf: readonly [Record<string, unknown>, {
188
+ readonly type: 'null';
189
+ }];
190
+ };
191
+ readonly workflow_definition_id: {
192
+ readonly anyOf: readonly [Record<string, unknown>, {
193
+ readonly type: 'null';
194
+ }];
195
+ };
196
+ readonly project_id: {
197
+ readonly anyOf: readonly [Record<string, unknown>, {
198
+ readonly type: 'null';
199
+ }];
200
+ };
201
+ readonly workflow_run_id: {
202
+ readonly anyOf: readonly [Record<string, unknown>, {
203
+ readonly type: 'null';
204
+ }];
205
+ };
206
+ readonly job_id: {
207
+ readonly anyOf: readonly [Record<string, unknown>, {
208
+ readonly type: 'null';
209
+ }];
210
+ };
211
+ };
212
+ readonly required: readonly ['id', 'subscription_kind', 'outcome', 'reason', 'workflow_definition_id', 'project_id', 'workflow_run_id', 'job_id'];
213
+ readonly additionalProperties: false;
214
+ };
215
+ };
216
+ readonly decisions_truncated: {
217
+ readonly const: true;
218
+ };
219
+ readonly decisions_total_count: {
220
+ readonly type: 'integer';
221
+ readonly minimum: 0;
222
+ };
223
+ readonly replays: {
224
+ readonly type: 'array';
225
+ readonly maxItems: 20;
226
+ readonly items: {
227
+ readonly type: 'object';
228
+ readonly properties: {
229
+ readonly id: {
230
+ readonly type: 'string';
231
+ readonly format: 'uuid';
232
+ };
233
+ readonly workflow_run_id: {
234
+ readonly anyOf: readonly [Record<string, unknown>, {
235
+ readonly type: 'null';
236
+ }];
237
+ };
238
+ readonly created_at: {
239
+ readonly type: 'string';
240
+ readonly format: 'date-time';
241
+ };
242
+ };
243
+ readonly required: readonly ['id', 'workflow_run_id', 'created_at'];
244
+ readonly additionalProperties: false;
245
+ };
246
+ };
247
+ readonly replays_truncated: {
248
+ readonly const: true;
249
+ };
250
+ readonly replays_total_count: {
251
+ readonly type: 'integer';
252
+ readonly minimum: 0;
253
+ };
254
+ };
255
+ readonly required: readonly ["id", "origin", "provider", "source", "event", "outcome", "matched_count", "connection_id", "connection_name", "replay_of_event_id", "received_at", "processed_at", "payload_preview", "decisions", "decisions_total_count", "replays", "replays_total_count"];
256
+ readonly additionalProperties: false;
257
+ };
258
+ export declare const getTriggerEventFacetsResultJsonSchema: {
259
+ readonly type: 'object';
260
+ readonly properties: {
261
+ readonly sources: {
262
+ readonly type: 'array';
263
+ readonly maxItems: 50;
264
+ readonly items: {
265
+ readonly type: 'object';
266
+ readonly properties: {
267
+ readonly value: {
268
+ readonly type: 'string';
269
+ readonly maxLength: 256;
270
+ };
271
+ readonly count: {
272
+ readonly type: 'integer';
273
+ readonly minimum: 0;
274
+ };
275
+ };
276
+ readonly required: readonly ['value', 'count'];
277
+ readonly additionalProperties: false;
278
+ };
279
+ };
280
+ readonly events: {
281
+ readonly type: 'array';
282
+ readonly maxItems: 50;
283
+ readonly items: {
284
+ readonly type: 'object';
285
+ readonly properties: {
286
+ readonly value: {
287
+ readonly type: 'string';
288
+ readonly maxLength: 256;
289
+ };
290
+ readonly count: {
291
+ readonly type: 'integer';
292
+ readonly minimum: 0;
293
+ };
294
+ };
295
+ readonly required: readonly ['value', 'count'];
296
+ readonly additionalProperties: false;
297
+ };
298
+ };
299
+ readonly origins: {
300
+ readonly type: 'array';
301
+ readonly maxItems: 50;
302
+ readonly items: {
303
+ readonly type: 'object';
304
+ readonly properties: {
305
+ readonly value: {
306
+ readonly type: 'string';
307
+ readonly maxLength: 256;
308
+ };
309
+ readonly count: {
310
+ readonly type: 'integer';
311
+ readonly minimum: 0;
312
+ };
313
+ };
314
+ readonly required: readonly ['value', 'count'];
315
+ readonly additionalProperties: false;
316
+ };
317
+ };
318
+ };
319
+ readonly required: readonly ["sources", "events", "origins"];
320
+ readonly additionalProperties: false;
321
+ };
322
+ //# sourceMappingURL=diagnostic-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diagnostic-tools.d.ts","sourceRoot":"","sources":["../../src/schemas/diagnostic-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAOtB,eAAO,MAAM,sCAAsC,QAAY,CAAC;AAChE,eAAO,MAAM,uCAAuC,KAAK,CAAC;AAC1D,eAAO,MAAM,qCAAqC,KAAK,CAAC;AACxD,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAC/C,eAAO,MAAM,kCAAkC,MAAM,CAAC;AAqBtD,eAAO,MAAM,0BAA0B;;kBAA0C,CAAC;AAElF,eAAO,MAAM,gCAAgC,iCAAwB,CAAC;AAEtE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACjF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AA0B7F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwB7B,CAAC;AASZ,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;kBAMnC,CAAC;AAEZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAgB/F,eAAO,MAAM,8BAA8B;mBACnC,QAAQ;;iBACD,QAAQ;2BAhBH,QAAQ;6BAAU,MAAM;;;;;CAmBA,CAAC;AAW7C,eAAO,MAAM,oCAAoC;mBACzC,QAAQ;;;CAG4B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