@shipeasy/openapi 3.3.0 → 3.4.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.
@@ -2041,6 +2041,42 @@ var zAnswerOpsQuestionRequest = z.object({
2041
2041
  selected: z.array(z.string().max(120)).max(4).optional(),
2042
2042
  other: z.string().max(1e4).optional()
2043
2043
  });
2044
+ var zOpsQaNoteKind = z.enum([
2045
+ "narrowing",
2046
+ "clarification",
2047
+ "verification",
2048
+ "correction"
2049
+ ]);
2050
+ var zOpsQaNoteVerdict = z.enum(["pass", "fail"]);
2051
+ var zOpsQaNote = z.object({
2052
+ id: z.string(),
2053
+ feedbackId: z.string(),
2054
+ kind: zOpsQaNoteKind,
2055
+ verdict: zOpsQaNoteVerdict.nullable(),
2056
+ body: z.string(),
2057
+ authorEmail: z.string().nullable(),
2058
+ authorAgent: z.enum([
2059
+ "jarvis",
2060
+ "claude",
2061
+ "cursor",
2062
+ "copilot",
2063
+ "jules"
2064
+ ]).nullable(),
2065
+ createdAt: z.string()
2066
+ });
2067
+ var zListOpsQaNotesResponse = z.array(zOpsQaNote);
2068
+ var zCreateOpsQaNoteRequest = z.object({
2069
+ kind: zOpsQaNoteKind,
2070
+ body: z.string().min(1).max(1e4),
2071
+ verdict: zOpsQaNoteVerdict.optional(),
2072
+ agent: z.enum([
2073
+ "jarvis",
2074
+ "claude",
2075
+ "cursor",
2076
+ "copilot",
2077
+ "jules"
2078
+ ]).optional()
2079
+ });
2044
2080
  var zOpsAgentProfile = z.object({
2045
2081
  connectorId: z.string(),
2046
2082
  provider: z.enum([
@@ -2097,6 +2133,14 @@ var zAlertCompositeSpec = z.object({
2097
2133
  op: z.enum(["and", "or"]),
2098
2134
  rules: z.array(z.string().min(1)).min(2)
2099
2135
  });
2136
+ var zAlertRuleNotify = z.object({
2137
+ slackChannel: z.object({
2138
+ id: z.string().min(1),
2139
+ name: z.string().min(1)
2140
+ }).nullish(),
2141
+ email: z.email().nullish(),
2142
+ inApp: z.boolean().nullish()
2143
+ }).nullable();
2100
2144
  var zListAlertRulesResponse = z.array(z.object({
2101
2145
  id: z.string(),
2102
2146
  name: z.string(),
@@ -2142,7 +2186,7 @@ var zListAlertRulesResponse = z.array(z.object({
2142
2186
  "info"
2143
2187
  ]),
2144
2188
  enabled: z.boolean(),
2145
- notify: zNotificationTarget,
2189
+ notify: zAlertRuleNotify,
2146
2190
  createdAt: z.string(),
2147
2191
  updatedAt: z.string()
2148
2192
  }));
@@ -2189,7 +2233,7 @@ var zCreateAlertRuleRequest = z.object({
2189
2233
  "info"
2190
2234
  ]).optional().default("warn"),
2191
2235
  enabled: z.boolean().optional().default(true),
2192
- notify: zNotificationTarget.optional()
2236
+ notify: zAlertRuleNotify.optional()
2193
2237
  });
2194
2238
  var zCreateAlertRuleResponse = z.object({
2195
2239
  id: z.string()
@@ -2239,7 +2283,7 @@ var zUpdateAlertRuleRequest = z.object({
2239
2283
  "info"
2240
2284
  ]).optional(),
2241
2285
  enabled: z.boolean().optional(),
2242
- notify: zNotificationTarget.optional()
2286
+ notify: zAlertRuleNotify.optional()
2243
2287
  });
2244
2288
  var zUpdateAlertRuleResponse = z.object({
2245
2289
  id: z.string()
@@ -2866,7 +2910,13 @@ var zKeyRecord = z.object({
2866
2910
  name: z.string().nullable(),
2867
2911
  description: z.string().nullable(),
2868
2912
  scopes: z.array(z.string()).nullable(),
2869
- last4: z.string().nullable()
2913
+ last4: z.string().nullable(),
2914
+ origin: z.enum([
2915
+ "cli",
2916
+ "mobile",
2917
+ "dashboard",
2918
+ "api"
2919
+ ])
2870
2920
  });
2871
2921
  var zListKeysResponse = z.object({
2872
2922
  data: z.array(zKeyRecord),
@@ -2926,7 +2976,8 @@ var zSearchHit = z.object({
2926
2976
  "experiment",
2927
2977
  "config",
2928
2978
  "killswitch",
2929
- "metric"
2979
+ "metric",
2980
+ "ops"
2930
2981
  ]),
2931
2982
  id: z.string(),
2932
2983
  name: z.string(),
@@ -3641,6 +3692,24 @@ var zCancelOpsQuestionPath = z.object({
3641
3692
  questionId: zResourceId
3642
3693
  });
3643
3694
  var zCancelOpsQuestionResponse = zOpsQuestion;
3695
+ var zListOpsQaNotesHeaders = z.object({
3696
+ "X-Project-Id": z.string().optional()
3697
+ });
3698
+ var zListOpsQaNotesPath = z.object({
3699
+ handle: zResourceId
3700
+ });
3701
+ var zListOpsQaNotesQuery = z.object({
3702
+ kind: zOpsQaNoteKind.optional()
3703
+ });
3704
+ var zListOpsQaNotesResponse2 = zListOpsQaNotesResponse;
3705
+ var zCreateOpsQaNoteBody = zCreateOpsQaNoteRequest;
3706
+ var zCreateOpsQaNoteHeaders = z.object({
3707
+ "X-Project-Id": z.string().optional()
3708
+ });
3709
+ var zCreateOpsQaNotePath = z.object({
3710
+ handle: zResourceId
3711
+ });
3712
+ var zCreateOpsQaNoteResponse = zOpsQaNote;
3644
3713
  var zListOpsAgentsHeaders = z.object({
3645
3714
  "X-Project-Id": z.string().optional()
3646
3715
  });
@@ -4221,6 +4290,11 @@ export {
4221
4290
  zAskOpsQuestionsRequest,
4222
4291
  zAskOpsQuestionsResponse,
4223
4292
  zAnswerOpsQuestionRequest,
4293
+ zOpsQaNoteKind,
4294
+ zOpsQaNoteVerdict,
4295
+ zOpsQaNote,
4296
+ zListOpsQaNotesResponse,
4297
+ zCreateOpsQaNoteRequest,
4224
4298
  zOpsAgentProfile,
4225
4299
  zListOpsAgentsResponse,
4226
4300
  zOpsCommentAuthorType,
@@ -4232,6 +4306,7 @@ export {
4232
4306
  zNotifyOpsResponse,
4233
4307
  zListSlackChannelsResponse,
4234
4308
  zAlertCompositeSpec,
4309
+ zAlertRuleNotify,
4235
4310
  zListAlertRulesResponse,
4236
4311
  zCreateAlertRuleRequest,
4237
4312
  zCreateAlertRuleResponse,
@@ -4620,6 +4695,14 @@ export {
4620
4695
  zCancelOpsQuestionHeaders,
4621
4696
  zCancelOpsQuestionPath,
4622
4697
  zCancelOpsQuestionResponse,
4698
+ zListOpsQaNotesHeaders,
4699
+ zListOpsQaNotesPath,
4700
+ zListOpsQaNotesQuery,
4701
+ zListOpsQaNotesResponse2,
4702
+ zCreateOpsQaNoteBody,
4703
+ zCreateOpsQaNoteHeaders,
4704
+ zCreateOpsQaNotePath,
4705
+ zCreateOpsQaNoteResponse,
4623
4706
  zListOpsAgentsHeaders,
4624
4707
  zListOpsAgentsResponse2,
4625
4708
  zListOpsCommentsHeaders,
@@ -4797,4 +4880,4 @@ export {
4797
4880
  zSetEntityTagsPath,
4798
4881
  zSetEntityTagsResponse
4799
4882
  };
4800
- //# sourceMappingURL=chunk-ZYK74ZIW.js.map
4883
+ //# sourceMappingURL=chunk-Z3CY5Y44.js.map