@sixb/server 0.1.8 → 0.1.10

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.
@@ -41,6 +41,8 @@ export declare function sixbFailureSchema<const TCodes extends readonly [SixbErr
41
41
  retryable: z.ZodBoolean;
42
42
  at: z.ZodString;
43
43
  details: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
44
+ httpStatus: z.ZodOptional<z.ZodNumber>;
45
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
44
46
  truncated: z.ZodOptional<z.ZodLiteral<true>>;
45
47
  }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
46
48
  code: z.ZodEnum<z.Writeable<TCodes>>;
@@ -48,6 +50,8 @@ export declare function sixbFailureSchema<const TCodes extends readonly [SixbErr
48
50
  retryable: z.ZodBoolean;
49
51
  at: z.ZodString;
50
52
  details: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
53
+ httpStatus: z.ZodOptional<z.ZodNumber>;
54
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
51
55
  truncated: z.ZodOptional<z.ZodLiteral<true>>;
52
56
  }>, any> extends infer T ? { [k in keyof T]: T[k]; } : never, z.baseObjectInputType<{
53
57
  code: z.ZodEnum<z.Writeable<TCodes>>;
@@ -55,6 +59,8 @@ export declare function sixbFailureSchema<const TCodes extends readonly [SixbErr
55
59
  retryable: z.ZodBoolean;
56
60
  at: z.ZodString;
57
61
  details: z.ZodOptional<z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
62
+ httpStatus: z.ZodOptional<z.ZodNumber>;
63
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
58
64
  truncated: z.ZodOptional<z.ZodLiteral<true>>;
59
65
  }> extends infer T_1 ? { [k_1 in keyof T_1]: T_1[k_1]; } : never>;
60
66
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAwC,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAEhG,eAAO,MAAM,mBAAmB;;;;;;EAAkC,CAAA;AAElE,wBAAgB,wBAAwB,CACtC,KAAK,CAAC,MAAM,SAAS,SAAS,CAAC,aAAa,EAAE,GAAG,aAAa,EAAE,CAAC,EACjE,KAAK,EAAE,MAAM;;;;;;;;;;;;kEAId;AAED,eAAO,MAAM,qBAAqB;;;;;;EAAqC,CAAA;AAEvE,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,EAAE,GACX;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAA;AAEhC,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAShD,CAAA;AAED,sEAAsE;AACtE,eAAO,MAAM,cAAc,8EAAmE,CAAA;AAE9F,sFAAsF;AACtF,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,MAAM,SAAS,SAAS,CAAC,aAAa,EAAE,GAAG,aAAa,EAAE,CAAC,EACjE,KAAK,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;kEASd;AAiBD;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,gBAStC,CAAA"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAwC,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAEhG,eAAO,MAAM,mBAAmB;;;;;;EAAkC,CAAA;AAElE,wBAAgB,wBAAwB,CACtC,KAAK,CAAC,MAAM,SAAS,SAAS,CAAC,aAAa,EAAE,GAAG,aAAa,EAAE,CAAC,EACjE,KAAK,EAAE,MAAM;;;;;;;;;;;;kEAId;AAED,eAAO,MAAM,qBAAqB;;;;;;EAAqC,CAAA;AAEvE,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ,SAAS,EAAE,GACX;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAA;AAEhC,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAShD,CAAA;AAED,sEAAsE;AACtE,eAAO,MAAM,cAAc,8EAAmE,CAAA;AAE9F,sFAAsF;AACtF,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,MAAM,SAAS,SAAS,CAAC,aAAa,EAAE,GAAG,aAAa,EAAE,CAAC,EACjE,KAAK,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAWd;AAiBD;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,gBAStC,CAAA"}
@@ -15,7 +15,7 @@ export declare const LogsQuerySchema: z.ZodEffects<z.ZodObject<{
15
15
  beforeCursor: z.ZodOptional<z.ZodString>;
16
16
  limit: z.ZodOptional<z.ZodNumber>;
17
17
  }, "strip", z.ZodTypeAny, {
18
- kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
18
+ kind?: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection" | undefined;
19
19
  runId?: string | undefined;
20
20
  limit?: number | undefined;
21
21
  afterCursor?: string | undefined;
@@ -23,7 +23,7 @@ export declare const LogsQuerySchema: z.ZodEffects<z.ZodObject<{
23
23
  direction?: "forward" | "backward" | undefined;
24
24
  beforeCursor?: string | undefined;
25
25
  }, {
26
- kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
26
+ kind?: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection" | undefined;
27
27
  runId?: string | undefined;
28
28
  limit?: number | undefined;
29
29
  afterCursor?: string | undefined;
@@ -31,7 +31,7 @@ export declare const LogsQuerySchema: z.ZodEffects<z.ZodObject<{
31
31
  direction?: "forward" | "backward" | undefined;
32
32
  beforeCursor?: string | undefined;
33
33
  }>, {
34
- kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
34
+ kind?: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection" | undefined;
35
35
  runId?: string | undefined;
36
36
  limit?: number | undefined;
37
37
  afterCursor?: string | undefined;
@@ -39,7 +39,7 @@ export declare const LogsQuerySchema: z.ZodEffects<z.ZodObject<{
39
39
  direction?: "forward" | "backward" | undefined;
40
40
  beforeCursor?: string | undefined;
41
41
  }, {
42
- kind?: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action" | undefined;
42
+ kind?: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection" | undefined;
43
43
  runId?: string | undefined;
44
44
  limit?: number | undefined;
45
45
  afterCursor?: string | undefined;
@@ -58,10 +58,10 @@ export declare const LogLineSchema: z.ZodObject<{
58
58
  id: z.ZodString;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  id: string;
61
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
61
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
62
62
  }, {
63
63
  id: string;
64
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
64
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
65
65
  }>;
66
66
  stepId: z.ZodOptional<z.ZodString>;
67
67
  phase: z.ZodOptional<z.ZodString>;
@@ -69,7 +69,7 @@ export declare const LogLineSchema: z.ZodObject<{
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  run: {
71
71
  id: string;
72
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
72
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
73
73
  };
74
74
  phase?: string | undefined;
75
75
  attempt?: number | undefined;
@@ -77,7 +77,7 @@ export declare const LogLineSchema: z.ZodObject<{
77
77
  }, {
78
78
  run: {
79
79
  id: string;
80
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
80
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
81
81
  };
82
82
  phase?: string | undefined;
83
83
  attempt?: number | undefined;
@@ -89,7 +89,7 @@ export declare const LogLineSchema: z.ZodObject<{
89
89
  context: {
90
90
  run: {
91
91
  id: string;
92
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
92
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
93
93
  };
94
94
  phase?: string | undefined;
95
95
  attempt?: number | undefined;
@@ -104,7 +104,7 @@ export declare const LogLineSchema: z.ZodObject<{
104
104
  context: {
105
105
  run: {
106
106
  id: string;
107
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
107
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
108
108
  };
109
109
  phase?: string | undefined;
110
110
  attempt?: number | undefined;
@@ -128,10 +128,10 @@ export declare const LogsResponseSchema: z.ZodObject<{
128
128
  id: z.ZodString;
129
129
  }, "strip", z.ZodTypeAny, {
130
130
  id: string;
131
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
131
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
132
132
  }, {
133
133
  id: string;
134
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
134
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
135
135
  }>;
136
136
  stepId: z.ZodOptional<z.ZodString>;
137
137
  phase: z.ZodOptional<z.ZodString>;
@@ -139,7 +139,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  run: {
141
141
  id: string;
142
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
142
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
143
143
  };
144
144
  phase?: string | undefined;
145
145
  attempt?: number | undefined;
@@ -147,7 +147,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
147
147
  }, {
148
148
  run: {
149
149
  id: string;
150
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
150
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
151
151
  };
152
152
  phase?: string | undefined;
153
153
  attempt?: number | undefined;
@@ -159,7 +159,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
159
159
  context: {
160
160
  run: {
161
161
  id: string;
162
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
162
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
163
163
  };
164
164
  phase?: string | undefined;
165
165
  attempt?: number | undefined;
@@ -174,7 +174,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
174
174
  context: {
175
175
  run: {
176
176
  id: string;
177
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
177
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
178
178
  };
179
179
  phase?: string | undefined;
180
180
  attempt?: number | undefined;
@@ -195,7 +195,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
195
195
  context: {
196
196
  run: {
197
197
  id: string;
198
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
198
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
199
199
  };
200
200
  phase?: string | undefined;
201
201
  attempt?: number | undefined;
@@ -215,7 +215,7 @@ export declare const LogsResponseSchema: z.ZodObject<{
215
215
  context: {
216
216
  run: {
217
217
  id: string;
218
- kind: "workflow" | "agent" | "webhook" | "sync" | "pipeline" | "projection" | "action";
218
+ kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
219
219
  };
220
220
  phase?: string | undefined;
221
221
  attempt?: number | undefined;