@mistralai/mistralai 2.6.1 → 2.6.2

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.
Files changed (207) hide show
  1. package/esm/lib/config.d.ts +2 -2
  2. package/esm/lib/config.js +2 -2
  3. package/esm/models/components/activitytaskcompletedresponse.d.ts +12 -0
  4. package/esm/models/components/activitytaskcompletedresponse.d.ts.map +1 -1
  5. package/esm/models/components/activitytaskcompletedresponse.js +6 -0
  6. package/esm/models/components/activitytaskcompletedresponse.js.map +1 -1
  7. package/esm/models/components/activitytaskfailedresponse.d.ts +12 -0
  8. package/esm/models/components/activitytaskfailedresponse.d.ts.map +1 -1
  9. package/esm/models/components/activitytaskfailedresponse.js +6 -0
  10. package/esm/models/components/activitytaskfailedresponse.js.map +1 -1
  11. package/esm/models/components/activitytaskretryingresponse.d.ts +12 -0
  12. package/esm/models/components/activitytaskretryingresponse.d.ts.map +1 -1
  13. package/esm/models/components/activitytaskretryingresponse.js +6 -0
  14. package/esm/models/components/activitytaskretryingresponse.js.map +1 -1
  15. package/esm/models/components/activitytaskstartedresponse.d.ts +12 -0
  16. package/esm/models/components/activitytaskstartedresponse.d.ts.map +1 -1
  17. package/esm/models/components/activitytaskstartedresponse.js +6 -0
  18. package/esm/models/components/activitytaskstartedresponse.js.map +1 -1
  19. package/esm/models/components/agentscompletionrequest.d.ts +6 -0
  20. package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
  21. package/esm/models/components/agentscompletionrequest.js +3 -0
  22. package/esm/models/components/agentscompletionrequest.js.map +1 -1
  23. package/esm/models/components/agentscompletionstreamrequest.d.ts +6 -0
  24. package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
  25. package/esm/models/components/agentscompletionstreamrequest.js +3 -0
  26. package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
  27. package/esm/models/components/authdirection.d.ts +10 -0
  28. package/esm/models/components/authdirection.d.ts.map +1 -0
  29. package/esm/models/components/authdirection.js +13 -0
  30. package/esm/models/components/authdirection.js.map +1 -0
  31. package/esm/models/components/authenticationmethodcreateorupdaterequest.d.ts +47 -0
  32. package/esm/models/components/authenticationmethodcreateorupdaterequest.d.ts.map +1 -0
  33. package/esm/models/components/authenticationmethodcreateorupdaterequest.js +46 -0
  34. package/esm/models/components/authenticationmethodcreateorupdaterequest.js.map +1 -0
  35. package/esm/models/components/chatcompletionrequest.d.ts +6 -0
  36. package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
  37. package/esm/models/components/chatcompletionrequest.js +3 -0
  38. package/esm/models/components/chatcompletionrequest.js.map +1 -1
  39. package/esm/models/components/chatcompletionstreamrequest.d.ts +6 -0
  40. package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
  41. package/esm/models/components/chatcompletionstreamrequest.js +3 -0
  42. package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
  43. package/esm/models/components/connectorauthenticationheader.d.ts +11 -2
  44. package/esm/models/components/connectorauthenticationheader.d.ts.map +1 -1
  45. package/esm/models/components/connectorauthenticationheader.js +14 -0
  46. package/esm/models/components/connectorauthenticationheader.js.map +1 -1
  47. package/esm/models/components/createconnectorrequest.d.ts +5 -0
  48. package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
  49. package/esm/models/components/createconnectorrequest.js +1 -0
  50. package/esm/models/components/createconnectorrequest.js.map +1 -1
  51. package/esm/models/components/customtaskcanceledresponse.d.ts +12 -0
  52. package/esm/models/components/customtaskcanceledresponse.d.ts.map +1 -1
  53. package/esm/models/components/customtaskcanceledresponse.js +6 -0
  54. package/esm/models/components/customtaskcanceledresponse.js.map +1 -1
  55. package/esm/models/components/customtaskcompletedresponse.d.ts +12 -0
  56. package/esm/models/components/customtaskcompletedresponse.d.ts.map +1 -1
  57. package/esm/models/components/customtaskcompletedresponse.js +6 -0
  58. package/esm/models/components/customtaskcompletedresponse.js.map +1 -1
  59. package/esm/models/components/customtaskfailedresponse.d.ts +12 -0
  60. package/esm/models/components/customtaskfailedresponse.d.ts.map +1 -1
  61. package/esm/models/components/customtaskfailedresponse.js +6 -0
  62. package/esm/models/components/customtaskfailedresponse.js.map +1 -1
  63. package/esm/models/components/customtaskinprogressresponse.d.ts +12 -0
  64. package/esm/models/components/customtaskinprogressresponse.d.ts.map +1 -1
  65. package/esm/models/components/customtaskinprogressresponse.js +6 -0
  66. package/esm/models/components/customtaskinprogressresponse.js.map +1 -1
  67. package/esm/models/components/customtaskstartedresponse.d.ts +12 -0
  68. package/esm/models/components/customtaskstartedresponse.d.ts.map +1 -1
  69. package/esm/models/components/customtaskstartedresponse.js +6 -0
  70. package/esm/models/components/customtaskstartedresponse.js.map +1 -1
  71. package/esm/models/components/customtasktimedoutresponse.d.ts +12 -0
  72. package/esm/models/components/customtasktimedoutresponse.d.ts.map +1 -1
  73. package/esm/models/components/customtasktimedoutresponse.js +6 -0
  74. package/esm/models/components/customtasktimedoutresponse.js.map +1 -1
  75. package/esm/models/components/deploymentworkerspecresponse.d.ts +5 -0
  76. package/esm/models/components/deploymentworkerspecresponse.d.ts.map +1 -1
  77. package/esm/models/components/deploymentworkerspecresponse.js +2 -0
  78. package/esm/models/components/deploymentworkerspecresponse.js.map +1 -1
  79. package/esm/models/components/extendedoauthservermetadata.d.ts +2 -0
  80. package/esm/models/components/extendedoauthservermetadata.d.ts.map +1 -1
  81. package/esm/models/components/extendedoauthservermetadata.js +2 -0
  82. package/esm/models/components/extendedoauthservermetadata.js.map +1 -1
  83. package/esm/models/components/gitcommitauthor.d.ts +12 -0
  84. package/esm/models/components/gitcommitauthor.d.ts.map +1 -0
  85. package/esm/models/components/gitcommitauthor.js +21 -0
  86. package/esm/models/components/gitcommitauthor.js.map +1 -0
  87. package/esm/models/components/gitcommitmetadata.d.ts +14 -0
  88. package/esm/models/components/gitcommitmetadata.d.ts.map +1 -0
  89. package/esm/models/components/gitcommitmetadata.js +23 -0
  90. package/esm/models/components/gitcommitmetadata.js.map +1 -0
  91. package/esm/models/components/inboundauthenticationtype.d.ts +9 -0
  92. package/esm/models/components/inboundauthenticationtype.d.ts.map +1 -0
  93. package/esm/models/components/inboundauthenticationtype.js +11 -0
  94. package/esm/models/components/inboundauthenticationtype.js.map +1 -0
  95. package/esm/models/components/index.d.ts +7 -0
  96. package/esm/models/components/index.d.ts.map +1 -1
  97. package/esm/models/components/index.js +7 -0
  98. package/esm/models/components/index.js.map +1 -1
  99. package/esm/models/components/oauth2metadatasecrets.d.ts +27 -0
  100. package/esm/models/components/oauth2metadatasecrets.d.ts.map +1 -0
  101. package/esm/models/components/oauth2metadatasecrets.js +24 -0
  102. package/esm/models/components/oauth2metadatasecrets.js.map +1 -0
  103. package/esm/models/components/observabilityerrorcode.d.ts +1 -0
  104. package/esm/models/components/observabilityerrorcode.d.ts.map +1 -1
  105. package/esm/models/components/observabilityerrorcode.js +1 -0
  106. package/esm/models/components/observabilityerrorcode.js.map +1 -1
  107. package/esm/models/components/requestedservicetier.d.ts +10 -0
  108. package/esm/models/components/requestedservicetier.d.ts.map +1 -0
  109. package/esm/models/components/requestedservicetier.js +12 -0
  110. package/esm/models/components/requestedservicetier.js.map +1 -0
  111. package/esm/models/components/updateconnectorrequest.d.ts +4 -13
  112. package/esm/models/components/updateconnectorrequest.d.ts.map +1 -1
  113. package/esm/models/components/updateconnectorrequest.js +3 -4
  114. package/esm/models/components/updateconnectorrequest.js.map +1 -1
  115. package/esm/models/components/usageinfo.d.ts +5 -0
  116. package/esm/models/components/usageinfo.d.ts.map +1 -1
  117. package/esm/models/components/usageinfo.js +4 -0
  118. package/esm/models/components/usageinfo.js.map +1 -1
  119. package/esm/models/components/workflowexecutioncanceledattributes.d.ts +4 -0
  120. package/esm/models/components/workflowexecutioncanceledattributes.d.ts.map +1 -1
  121. package/esm/models/components/workflowexecutioncanceledattributes.js +1 -0
  122. package/esm/models/components/workflowexecutioncanceledattributes.js.map +1 -1
  123. package/esm/models/components/workflowexecutioncanceledresponse.d.ts +12 -0
  124. package/esm/models/components/workflowexecutioncanceledresponse.d.ts.map +1 -1
  125. package/esm/models/components/workflowexecutioncanceledresponse.js +6 -0
  126. package/esm/models/components/workflowexecutioncanceledresponse.js.map +1 -1
  127. package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts +4 -0
  128. package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts.map +1 -1
  129. package/esm/models/components/workflowexecutioncompletedattributesresponse.js +1 -0
  130. package/esm/models/components/workflowexecutioncompletedattributesresponse.js.map +1 -1
  131. package/esm/models/components/workflowexecutioncompletedresponse.d.ts +12 -0
  132. package/esm/models/components/workflowexecutioncompletedresponse.d.ts.map +1 -1
  133. package/esm/models/components/workflowexecutioncompletedresponse.js +6 -0
  134. package/esm/models/components/workflowexecutioncompletedresponse.js.map +1 -1
  135. package/esm/models/components/workflowexecutioncontinuedasnewresponse.d.ts +12 -0
  136. package/esm/models/components/workflowexecutioncontinuedasnewresponse.d.ts.map +1 -1
  137. package/esm/models/components/workflowexecutioncontinuedasnewresponse.js +6 -0
  138. package/esm/models/components/workflowexecutioncontinuedasnewresponse.js.map +1 -1
  139. package/esm/models/components/workflowexecutionfailedattributes.d.ts +4 -0
  140. package/esm/models/components/workflowexecutionfailedattributes.d.ts.map +1 -1
  141. package/esm/models/components/workflowexecutionfailedattributes.js +1 -0
  142. package/esm/models/components/workflowexecutionfailedattributes.js.map +1 -1
  143. package/esm/models/components/workflowexecutionfailedresponse.d.ts +12 -0
  144. package/esm/models/components/workflowexecutionfailedresponse.d.ts.map +1 -1
  145. package/esm/models/components/workflowexecutionfailedresponse.js +6 -0
  146. package/esm/models/components/workflowexecutionfailedresponse.js.map +1 -1
  147. package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts +4 -0
  148. package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts.map +1 -1
  149. package/esm/models/components/workflowexecutionstartedattributesresponse.js +1 -0
  150. package/esm/models/components/workflowexecutionstartedattributesresponse.js.map +1 -1
  151. package/esm/models/components/workflowexecutionstartedresponse.d.ts +12 -0
  152. package/esm/models/components/workflowexecutionstartedresponse.d.ts.map +1 -1
  153. package/esm/models/components/workflowexecutionstartedresponse.js +6 -0
  154. package/esm/models/components/workflowexecutionstartedresponse.js.map +1 -1
  155. package/esm/models/components/workflowtaskfailedresponse.d.ts +12 -0
  156. package/esm/models/components/workflowtaskfailedresponse.d.ts.map +1 -1
  157. package/esm/models/components/workflowtaskfailedresponse.js +6 -0
  158. package/esm/models/components/workflowtaskfailedresponse.js.map +1 -1
  159. package/esm/models/components/workflowtasktimedoutresponse.d.ts +12 -0
  160. package/esm/models/components/workflowtasktimedoutresponse.d.ts.map +1 -1
  161. package/esm/models/components/workflowtasktimedoutresponse.js +6 -0
  162. package/esm/models/components/workflowtasktimedoutresponse.js.map +1 -1
  163. package/examples/src/model_management.ts +59 -0
  164. package/jsr.json +1 -1
  165. package/package.json +1 -1
  166. package/src/lib/config.ts +2 -2
  167. package/src/models/components/activitytaskcompletedresponse.ts +18 -0
  168. package/src/models/components/activitytaskfailedresponse.ts +18 -0
  169. package/src/models/components/activitytaskretryingresponse.ts +18 -0
  170. package/src/models/components/activitytaskstartedresponse.ts +18 -0
  171. package/src/models/components/agentscompletionrequest.ts +11 -0
  172. package/src/models/components/agentscompletionstreamrequest.ts +11 -0
  173. package/src/models/components/authdirection.ts +17 -0
  174. package/src/models/components/authenticationmethodcreateorupdaterequest.ts +125 -0
  175. package/src/models/components/chatcompletionrequest.ts +11 -0
  176. package/src/models/components/chatcompletionstreamrequest.ts +11 -0
  177. package/src/models/components/connectorauthenticationheader.ts +32 -2
  178. package/src/models/components/createconnectorrequest.ts +6 -0
  179. package/src/models/components/customtaskcanceledresponse.ts +18 -0
  180. package/src/models/components/customtaskcompletedresponse.ts +18 -0
  181. package/src/models/components/customtaskfailedresponse.ts +18 -0
  182. package/src/models/components/customtaskinprogressresponse.ts +18 -0
  183. package/src/models/components/customtaskstartedresponse.ts +18 -0
  184. package/src/models/components/customtasktimedoutresponse.ts +18 -0
  185. package/src/models/components/deploymentworkerspecresponse.ts +9 -0
  186. package/src/models/components/extendedoauthservermetadata.ts +4 -0
  187. package/src/models/components/gitcommitauthor.ts +40 -0
  188. package/src/models/components/gitcommitmetadata.ts +46 -0
  189. package/src/models/components/inboundauthenticationtype.ts +19 -0
  190. package/src/models/components/index.ts +7 -0
  191. package/src/models/components/oauth2metadatasecrets.ts +57 -0
  192. package/src/models/components/observabilityerrorcode.ts +1 -0
  193. package/src/models/components/requestedservicetier.ts +18 -0
  194. package/src/models/components/updateconnectorrequest.ts +17 -15
  195. package/src/models/components/usageinfo.ts +9 -0
  196. package/src/models/components/workflowexecutioncanceledattributes.ts +5 -0
  197. package/src/models/components/workflowexecutioncanceledresponse.ts +18 -0
  198. package/src/models/components/workflowexecutioncompletedattributesresponse.ts +5 -0
  199. package/src/models/components/workflowexecutioncompletedresponse.ts +18 -0
  200. package/src/models/components/workflowexecutioncontinuedasnewresponse.ts +18 -0
  201. package/src/models/components/workflowexecutionfailedattributes.ts +5 -0
  202. package/src/models/components/workflowexecutionfailedresponse.ts +18 -0
  203. package/src/models/components/workflowexecutionstartedattributesresponse.ts +5 -0
  204. package/src/models/components/workflowexecutionstartedresponse.ts +18 -0
  205. package/src/models/components/workflowtaskfailedresponse.ts +18 -0
  206. package/src/models/components/workflowtasktimedoutresponse.ts +18 -0
  207. package/examples/src/async_jobs.ts +0 -51
@@ -0,0 +1,125 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: b4ab75565bc0
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { smartUnion } from "../../types/smartUnion.js";
9
+ import {
10
+ AuthDirection,
11
+ AuthDirection$outboundSchema,
12
+ } from "./authdirection.js";
13
+ import {
14
+ ConnectorAuthenticationHeader,
15
+ ConnectorAuthenticationHeader$Outbound,
16
+ ConnectorAuthenticationHeader$outboundSchema,
17
+ } from "./connectorauthenticationheader.js";
18
+ import {
19
+ ExtendedOAuthServerMetadata,
20
+ ExtendedOAuthServerMetadata$Outbound,
21
+ ExtendedOAuthServerMetadata$outboundSchema,
22
+ } from "./extendedoauthservermetadata.js";
23
+ import {
24
+ InboundAuthenticationType,
25
+ InboundAuthenticationType$outboundSchema,
26
+ } from "./inboundauthenticationtype.js";
27
+ import {
28
+ Oauth2MetadataSecrets,
29
+ Oauth2MetadataSecrets$Outbound,
30
+ Oauth2MetadataSecrets$outboundSchema,
31
+ } from "./oauth2metadatasecrets.js";
32
+ import {
33
+ OutboundAuthenticationType,
34
+ OutboundAuthenticationType$outboundSchema,
35
+ } from "./outboundauthenticationtype.js";
36
+
37
+ /**
38
+ * The type of authentication method (e.g. oauth2, bearer, none).
39
+ */
40
+ export type MethodType = OutboundAuthenticationType | InboundAuthenticationType;
41
+
42
+ export type AuthenticationMethodCreateOrUpdateRequest = {
43
+ /**
44
+ * The type of authentication method (e.g. oauth2, bearer, none).
45
+ */
46
+ methodType: OutboundAuthenticationType | InboundAuthenticationType;
47
+ authDirection?: AuthDirection | undefined;
48
+ /**
49
+ * Set of headers to connect to the connector
50
+ */
51
+ headers?: Array<ConnectorAuthenticationHeader> | null | undefined;
52
+ /**
53
+ * New OAuth2 client credentials (client_id and client_secret).
54
+ */
55
+ oauth2MetadataSecrets?: Oauth2MetadataSecrets | null | undefined;
56
+ /**
57
+ * New OAuth2 authorization server metadata.
58
+ */
59
+ oauth2ServerMetadata?: ExtendedOAuthServerMetadata | null | undefined;
60
+ };
61
+
62
+ /** @internal */
63
+ export type MethodType$Outbound = string | string;
64
+
65
+ /** @internal */
66
+ export const MethodType$outboundSchema: z.ZodType<
67
+ MethodType$Outbound,
68
+ MethodType
69
+ > = smartUnion([
70
+ OutboundAuthenticationType$outboundSchema,
71
+ InboundAuthenticationType$outboundSchema,
72
+ ]);
73
+
74
+ export function methodTypeToJSON(methodType: MethodType): string {
75
+ return JSON.stringify(MethodType$outboundSchema.parse(methodType));
76
+ }
77
+
78
+ /** @internal */
79
+ export type AuthenticationMethodCreateOrUpdateRequest$Outbound = {
80
+ method_type: string | string;
81
+ auth_direction?: string | undefined;
82
+ headers?: Array<ConnectorAuthenticationHeader$Outbound> | null | undefined;
83
+ oauth2_metadata_secrets?: Oauth2MetadataSecrets$Outbound | null | undefined;
84
+ oauth2_server_metadata?:
85
+ | ExtendedOAuthServerMetadata$Outbound
86
+ | null
87
+ | undefined;
88
+ };
89
+
90
+ /** @internal */
91
+ export const AuthenticationMethodCreateOrUpdateRequest$outboundSchema:
92
+ z.ZodType<
93
+ AuthenticationMethodCreateOrUpdateRequest$Outbound,
94
+ AuthenticationMethodCreateOrUpdateRequest
95
+ > = z.object({
96
+ methodType: smartUnion([
97
+ OutboundAuthenticationType$outboundSchema,
98
+ InboundAuthenticationType$outboundSchema,
99
+ ]),
100
+ authDirection: AuthDirection$outboundSchema.optional(),
101
+ headers: z.nullable(z.array(ConnectorAuthenticationHeader$outboundSchema))
102
+ .optional(),
103
+ oauth2MetadataSecrets: z.nullable(Oauth2MetadataSecrets$outboundSchema)
104
+ .optional(),
105
+ oauth2ServerMetadata: z.nullable(ExtendedOAuthServerMetadata$outboundSchema)
106
+ .optional(),
107
+ }).transform((v) => {
108
+ return remap$(v, {
109
+ methodType: "method_type",
110
+ authDirection: "auth_direction",
111
+ oauth2MetadataSecrets: "oauth2_metadata_secrets",
112
+ oauth2ServerMetadata: "oauth2_server_metadata",
113
+ });
114
+ });
115
+
116
+ export function authenticationMethodCreateOrUpdateRequestToJSON(
117
+ authenticationMethodCreateOrUpdateRequest:
118
+ AuthenticationMethodCreateOrUpdateRequest,
119
+ ): string {
120
+ return JSON.stringify(
121
+ AuthenticationMethodCreateOrUpdateRequest$outboundSchema.parse(
122
+ authenticationMethodCreateOrUpdateRequest,
123
+ ),
124
+ );
125
+ }
@@ -49,6 +49,10 @@ import {
49
49
  ReasoningEffort,
50
50
  ReasoningEffort$outboundSchema,
51
51
  } from "./reasoningeffort.js";
52
+ import {
53
+ RequestedServiceTier,
54
+ RequestedServiceTier$outboundSchema,
55
+ } from "./requestedservicetier.js";
52
56
  import {
53
57
  ResponseFormat,
54
58
  ResponseFormat$Outbound,
@@ -204,6 +208,10 @@ export type ChatCompletionRequest = {
204
208
  promptMode?: MistralPromptMode | null | undefined;
205
209
  guardrails?: Array<GuardrailConfig> | null | undefined;
206
210
  promptCacheKey?: string | null | undefined;
211
+ /**
212
+ * Determines whether to serve the request using priority or standard capacity.
213
+ */
214
+ serviceTier?: RequestedServiceTier | null | undefined;
207
215
  /**
208
216
  * Whether to inject a safety prompt before all conversations.
209
217
  */
@@ -349,6 +357,7 @@ export type ChatCompletionRequest$Outbound = {
349
357
  prompt_mode?: string | null | undefined;
350
358
  guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
351
359
  prompt_cache_key?: string | null | undefined;
360
+ service_tier?: string | null | undefined;
352
361
  safe_prompt?: boolean | undefined;
353
362
  };
354
363
 
@@ -402,6 +411,7 @@ export const ChatCompletionRequest$outboundSchema: z.ZodType<
402
411
  promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
403
412
  guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
404
413
  promptCacheKey: z.nullable(z.string()).optional(),
414
+ serviceTier: z.nullable(RequestedServiceTier$outboundSchema).optional(),
405
415
  safePrompt: z.boolean().optional(),
406
416
  }).transform((v) => {
407
417
  return remap$(v, {
@@ -416,6 +426,7 @@ export const ChatCompletionRequest$outboundSchema: z.ZodType<
416
426
  reasoningEffort: "reasoning_effort",
417
427
  promptMode: "prompt_mode",
418
428
  promptCacheKey: "prompt_cache_key",
429
+ serviceTier: "service_tier",
419
430
  safePrompt: "safe_prompt",
420
431
  });
421
432
  });
@@ -49,6 +49,10 @@ import {
49
49
  ReasoningEffort,
50
50
  ReasoningEffort$outboundSchema,
51
51
  } from "./reasoningeffort.js";
52
+ import {
53
+ RequestedServiceTier,
54
+ RequestedServiceTier$outboundSchema,
55
+ } from "./requestedservicetier.js";
52
56
  import {
53
57
  ResponseFormat,
54
58
  ResponseFormat$Outbound,
@@ -201,6 +205,10 @@ export type ChatCompletionStreamRequest = {
201
205
  promptMode?: MistralPromptMode | null | undefined;
202
206
  guardrails?: Array<GuardrailConfig> | null | undefined;
203
207
  promptCacheKey?: string | null | undefined;
208
+ /**
209
+ * Determines whether to serve the request using priority or standard capacity.
210
+ */
211
+ serviceTier?: RequestedServiceTier | null | undefined;
204
212
  /**
205
213
  * Whether to inject a safety prompt before all conversations.
206
214
  */
@@ -350,6 +358,7 @@ export type ChatCompletionStreamRequest$Outbound = {
350
358
  prompt_mode?: string | null | undefined;
351
359
  guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
352
360
  prompt_cache_key?: string | null | undefined;
361
+ service_tier?: string | null | undefined;
353
362
  safe_prompt?: boolean | undefined;
354
363
  };
355
364
 
@@ -403,6 +412,7 @@ export const ChatCompletionStreamRequest$outboundSchema: z.ZodType<
403
412
  promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
404
413
  guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
405
414
  promptCacheKey: z.nullable(z.string()).optional(),
415
+ serviceTier: z.nullable(RequestedServiceTier$outboundSchema).optional(),
406
416
  safePrompt: z.boolean().optional(),
407
417
  }).transform((v) => {
408
418
  return remap$(v, {
@@ -417,6 +427,7 @@ export const ChatCompletionStreamRequest$outboundSchema: z.ZodType<
417
427
  reasoningEffort: "reasoning_effort",
418
428
  promptMode: "prompt_mode",
419
429
  promptCacheKey: "prompt_cache_key",
430
+ serviceTier: "service_tier",
420
431
  safePrompt: "safe_prompt",
421
432
  });
422
433
  });
@@ -11,8 +11,8 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type ConnectorAuthenticationHeader = {
13
13
  name: string;
14
- isRequired: boolean;
15
- isSecret: boolean;
14
+ isRequired?: boolean | undefined;
15
+ isSecret?: boolean | undefined;
16
16
  };
17
17
 
18
18
  /** @internal */
@@ -29,7 +29,37 @@ export const ConnectorAuthenticationHeader$inboundSchema: z.ZodType<
29
29
  "is_secret": "isSecret",
30
30
  });
31
31
  });
32
+ /** @internal */
33
+ export type ConnectorAuthenticationHeader$Outbound = {
34
+ name: string;
35
+ is_required: boolean;
36
+ is_secret: boolean;
37
+ };
32
38
 
39
+ /** @internal */
40
+ export const ConnectorAuthenticationHeader$outboundSchema: z.ZodType<
41
+ ConnectorAuthenticationHeader$Outbound,
42
+ ConnectorAuthenticationHeader
43
+ > = z.object({
44
+ name: z.string(),
45
+ isRequired: z.boolean().default(true),
46
+ isSecret: z.boolean().default(true),
47
+ }).transform((v) => {
48
+ return remap$(v, {
49
+ isRequired: "is_required",
50
+ isSecret: "is_secret",
51
+ });
52
+ });
53
+
54
+ export function connectorAuthenticationHeaderToJSON(
55
+ connectorAuthenticationHeader: ConnectorAuthenticationHeader,
56
+ ): string {
57
+ return JSON.stringify(
58
+ ConnectorAuthenticationHeader$outboundSchema.parse(
59
+ connectorAuthenticationHeader,
60
+ ),
61
+ );
62
+ }
33
63
  export function connectorAuthenticationHeaderFromJSON(
34
64
  jsonString: string,
35
65
  ): SafeParseResult<ConnectorAuthenticationHeader, SDKValidationError> {
@@ -31,6 +31,10 @@ import {
31
31
  * (no ``shared_global``).
32
32
  */
33
33
  export type CreateConnectorRequest = {
34
+ /**
35
+ * Protocol of the connector. Only 'mcp' is supported on the public endpoint; creating HTTP connectors here is explicitly refused.
36
+ */
37
+ protocol?: "mcp" | undefined;
34
38
  /**
35
39
  * The name of the connector. Should be 64 char length maximum, alphanumeric, only underscores/dashes.
36
40
  */
@@ -83,6 +87,7 @@ export type CreateConnectorRequest = {
83
87
 
84
88
  /** @internal */
85
89
  export type CreateConnectorRequest$Outbound = {
90
+ protocol: "mcp";
86
91
  name: string;
87
92
  title?: string | null | undefined;
88
93
  description: string;
@@ -104,6 +109,7 @@ export const CreateConnectorRequest$outboundSchema: z.ZodType<
104
109
  CreateConnectorRequest$Outbound,
105
110
  CreateConnectorRequest
106
111
  > = z.object({
112
+ protocol: z.literal("mcp").default("mcp" as const),
107
113
  name: z.string(),
108
114
  title: z.nullable(z.string()).optional(),
109
115
  description: z.string(),
@@ -37,6 +37,18 @@ export type CustomTaskCanceledResponse = {
37
37
  * Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
38
38
  */
39
39
  parentWorkflowExecId: string | null;
40
+ /**
41
+ * Run ID of the execution this run continued from. Non-null for continue-as-new runs.
42
+ */
43
+ continuedRunId: string | null;
44
+ /**
45
+ * Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.
46
+ */
47
+ firstExecutionRunId: string | null;
48
+ /**
49
+ * Temporal schedule ID that triggered this execution, if any.
50
+ */
51
+ scheduleId: string | null;
40
52
  /**
41
53
  * Execution ID of the workflow that emitted this event.
42
54
  */
@@ -68,6 +80,9 @@ export const CustomTaskCanceledResponse$inboundSchema: z.ZodType<
68
80
  event_timestamp: z.int(),
69
81
  root_workflow_exec_id: z.string(),
70
82
  parent_workflow_exec_id: z.nullable(z.string()),
83
+ continued_run_id: z.nullable(z.string()),
84
+ first_execution_run_id: z.nullable(z.string()),
85
+ schedule_id: z.nullable(z.string()),
71
86
  workflow_exec_id: z.string(),
72
87
  workflow_run_id: z.string(),
73
88
  workflow_name: z.string(),
@@ -79,6 +94,9 @@ export const CustomTaskCanceledResponse$inboundSchema: z.ZodType<
79
94
  "event_timestamp": "eventTimestamp",
80
95
  "root_workflow_exec_id": "rootWorkflowExecId",
81
96
  "parent_workflow_exec_id": "parentWorkflowExecId",
97
+ "continued_run_id": "continuedRunId",
98
+ "first_execution_run_id": "firstExecutionRunId",
99
+ "schedule_id": "scheduleId",
82
100
  "workflow_exec_id": "workflowExecId",
83
101
  "workflow_run_id": "workflowRunId",
84
102
  "workflow_name": "workflowName",
@@ -37,6 +37,18 @@ export type CustomTaskCompletedResponse = {
37
37
  * Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
38
38
  */
39
39
  parentWorkflowExecId: string | null;
40
+ /**
41
+ * Run ID of the execution this run continued from. Non-null for continue-as-new runs.
42
+ */
43
+ continuedRunId: string | null;
44
+ /**
45
+ * Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.
46
+ */
47
+ firstExecutionRunId: string | null;
48
+ /**
49
+ * Temporal schedule ID that triggered this execution, if any.
50
+ */
51
+ scheduleId: string | null;
40
52
  /**
41
53
  * Execution ID of the workflow that emitted this event.
42
54
  */
@@ -68,6 +80,9 @@ export const CustomTaskCompletedResponse$inboundSchema: z.ZodType<
68
80
  event_timestamp: z.int(),
69
81
  root_workflow_exec_id: z.string(),
70
82
  parent_workflow_exec_id: z.nullable(z.string()),
83
+ continued_run_id: z.nullable(z.string()),
84
+ first_execution_run_id: z.nullable(z.string()),
85
+ schedule_id: z.nullable(z.string()),
71
86
  workflow_exec_id: z.string(),
72
87
  workflow_run_id: z.string(),
73
88
  workflow_name: z.string(),
@@ -81,6 +96,9 @@ export const CustomTaskCompletedResponse$inboundSchema: z.ZodType<
81
96
  "event_timestamp": "eventTimestamp",
82
97
  "root_workflow_exec_id": "rootWorkflowExecId",
83
98
  "parent_workflow_exec_id": "parentWorkflowExecId",
99
+ "continued_run_id": "continuedRunId",
100
+ "first_execution_run_id": "firstExecutionRunId",
101
+ "schedule_id": "scheduleId",
84
102
  "workflow_exec_id": "workflowExecId",
85
103
  "workflow_run_id": "workflowRunId",
86
104
  "workflow_name": "workflowName",
@@ -37,6 +37,18 @@ export type CustomTaskFailedResponse = {
37
37
  * Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
38
38
  */
39
39
  parentWorkflowExecId: string | null;
40
+ /**
41
+ * Run ID of the execution this run continued from. Non-null for continue-as-new runs.
42
+ */
43
+ continuedRunId: string | null;
44
+ /**
45
+ * Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.
46
+ */
47
+ firstExecutionRunId: string | null;
48
+ /**
49
+ * Temporal schedule ID that triggered this execution, if any.
50
+ */
51
+ scheduleId: string | null;
40
52
  /**
41
53
  * Execution ID of the workflow that emitted this event.
42
54
  */
@@ -68,6 +80,9 @@ export const CustomTaskFailedResponse$inboundSchema: z.ZodType<
68
80
  event_timestamp: z.int(),
69
81
  root_workflow_exec_id: z.string(),
70
82
  parent_workflow_exec_id: z.nullable(z.string()),
83
+ continued_run_id: z.nullable(z.string()),
84
+ first_execution_run_id: z.nullable(z.string()),
85
+ schedule_id: z.nullable(z.string()),
71
86
  workflow_exec_id: z.string(),
72
87
  workflow_run_id: z.string(),
73
88
  workflow_name: z.string(),
@@ -79,6 +94,9 @@ export const CustomTaskFailedResponse$inboundSchema: z.ZodType<
79
94
  "event_timestamp": "eventTimestamp",
80
95
  "root_workflow_exec_id": "rootWorkflowExecId",
81
96
  "parent_workflow_exec_id": "parentWorkflowExecId",
97
+ "continued_run_id": "continuedRunId",
98
+ "first_execution_run_id": "firstExecutionRunId",
99
+ "schedule_id": "scheduleId",
82
100
  "workflow_exec_id": "workflowExecId",
83
101
  "workflow_run_id": "workflowRunId",
84
102
  "workflow_name": "workflowName",
@@ -38,6 +38,18 @@ export type CustomTaskInProgressResponse = {
38
38
  * Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
39
39
  */
40
40
  parentWorkflowExecId: string | null;
41
+ /**
42
+ * Run ID of the execution this run continued from. Non-null for continue-as-new runs.
43
+ */
44
+ continuedRunId: string | null;
45
+ /**
46
+ * Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.
47
+ */
48
+ firstExecutionRunId: string | null;
49
+ /**
50
+ * Temporal schedule ID that triggered this execution, if any.
51
+ */
52
+ scheduleId: string | null;
41
53
  /**
42
54
  * Execution ID of the workflow that emitted this event.
43
55
  */
@@ -69,6 +81,9 @@ export const CustomTaskInProgressResponse$inboundSchema: z.ZodType<
69
81
  event_timestamp: z.int(),
70
82
  root_workflow_exec_id: z.string(),
71
83
  parent_workflow_exec_id: z.nullable(z.string()),
84
+ continued_run_id: z.nullable(z.string()),
85
+ first_execution_run_id: z.nullable(z.string()),
86
+ schedule_id: z.nullable(z.string()),
72
87
  workflow_exec_id: z.string(),
73
88
  workflow_run_id: z.string(),
74
89
  workflow_name: z.string(),
@@ -82,6 +97,9 @@ export const CustomTaskInProgressResponse$inboundSchema: z.ZodType<
82
97
  "event_timestamp": "eventTimestamp",
83
98
  "root_workflow_exec_id": "rootWorkflowExecId",
84
99
  "parent_workflow_exec_id": "parentWorkflowExecId",
100
+ "continued_run_id": "continuedRunId",
101
+ "first_execution_run_id": "firstExecutionRunId",
102
+ "schedule_id": "scheduleId",
85
103
  "workflow_exec_id": "workflowExecId",
86
104
  "workflow_run_id": "workflowRunId",
87
105
  "workflow_name": "workflowName",
@@ -38,6 +38,18 @@ export type CustomTaskStartedResponse = {
38
38
  * Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
39
39
  */
40
40
  parentWorkflowExecId: string | null;
41
+ /**
42
+ * Run ID of the execution this run continued from. Non-null for continue-as-new runs.
43
+ */
44
+ continuedRunId: string | null;
45
+ /**
46
+ * Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.
47
+ */
48
+ firstExecutionRunId: string | null;
49
+ /**
50
+ * Temporal schedule ID that triggered this execution, if any.
51
+ */
52
+ scheduleId: string | null;
41
53
  /**
42
54
  * Execution ID of the workflow that emitted this event.
43
55
  */
@@ -69,6 +81,9 @@ export const CustomTaskStartedResponse$inboundSchema: z.ZodType<
69
81
  event_timestamp: z.int(),
70
82
  root_workflow_exec_id: z.string(),
71
83
  parent_workflow_exec_id: z.nullable(z.string()),
84
+ continued_run_id: z.nullable(z.string()),
85
+ first_execution_run_id: z.nullable(z.string()),
86
+ schedule_id: z.nullable(z.string()),
72
87
  workflow_exec_id: z.string(),
73
88
  workflow_run_id: z.string(),
74
89
  workflow_name: z.string(),
@@ -80,6 +95,9 @@ export const CustomTaskStartedResponse$inboundSchema: z.ZodType<
80
95
  "event_timestamp": "eventTimestamp",
81
96
  "root_workflow_exec_id": "rootWorkflowExecId",
82
97
  "parent_workflow_exec_id": "parentWorkflowExecId",
98
+ "continued_run_id": "continuedRunId",
99
+ "first_execution_run_id": "firstExecutionRunId",
100
+ "schedule_id": "scheduleId",
83
101
  "workflow_exec_id": "workflowExecId",
84
102
  "workflow_run_id": "workflowRunId",
85
103
  "workflow_name": "workflowName",
@@ -37,6 +37,18 @@ export type CustomTaskTimedOutResponse = {
37
37
  * Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
38
38
  */
39
39
  parentWorkflowExecId: string | null;
40
+ /**
41
+ * Run ID of the execution this run continued from. Non-null for continue-as-new runs.
42
+ */
43
+ continuedRunId: string | null;
44
+ /**
45
+ * Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.
46
+ */
47
+ firstExecutionRunId: string | null;
48
+ /**
49
+ * Temporal schedule ID that triggered this execution, if any.
50
+ */
51
+ scheduleId: string | null;
40
52
  /**
41
53
  * Execution ID of the workflow that emitted this event.
42
54
  */
@@ -68,6 +80,9 @@ export const CustomTaskTimedOutResponse$inboundSchema: z.ZodType<
68
80
  event_timestamp: z.int(),
69
81
  root_workflow_exec_id: z.string(),
70
82
  parent_workflow_exec_id: z.nullable(z.string()),
83
+ continued_run_id: z.nullable(z.string()),
84
+ first_execution_run_id: z.nullable(z.string()),
85
+ schedule_id: z.nullable(z.string()),
71
86
  workflow_exec_id: z.string(),
72
87
  workflow_run_id: z.string(),
73
88
  workflow_name: z.string(),
@@ -81,6 +96,9 @@ export const CustomTaskTimedOutResponse$inboundSchema: z.ZodType<
81
96
  "event_timestamp": "eventTimestamp",
82
97
  "root_workflow_exec_id": "rootWorkflowExecId",
83
98
  "parent_workflow_exec_id": "parentWorkflowExecId",
99
+ "continued_run_id": "continuedRunId",
100
+ "first_execution_run_id": "firstExecutionRunId",
101
+ "schedule_id": "scheduleId",
84
102
  "workflow_exec_id": "workflowExecId",
85
103
  "workflow_run_id": "workflowRunId",
86
104
  "workflow_name": "workflowName",
@@ -8,6 +8,10 @@ import { remap as remap$ } from "../../lib/primitives.js";
8
8
  import { safeParse } from "../../lib/schemas.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import {
12
+ GitCommitMetadata,
13
+ GitCommitMetadata$inboundSchema,
14
+ } from "./gitcommitmetadata.js";
11
15
 
12
16
  export type DeploymentWorkerSpecResponse = {
13
17
  githubUrl: string;
@@ -16,7 +20,11 @@ export type DeploymentWorkerSpecResponse = {
16
20
  entrypoint?: string | null | undefined;
17
21
  workingDir?: string | null | undefined;
18
22
  restartedAt?: string | null | undefined;
23
+ /**
24
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
25
+ */
19
26
  commitSha?: string | null | undefined;
27
+ commit?: GitCommitMetadata | null | undefined;
20
28
  };
21
29
 
22
30
  /** @internal */
@@ -31,6 +39,7 @@ export const DeploymentWorkerSpecResponse$inboundSchema: z.ZodType<
31
39
  working_dir: z.nullable(z.string()).optional(),
32
40
  restarted_at: z.nullable(z.string()).optional(),
33
41
  commit_sha: z.nullable(z.string()).optional(),
42
+ commit: z.nullable(GitCommitMetadata$inboundSchema).optional(),
34
43
  }).transform((v) => {
35
44
  return remap$(v, {
36
45
  "github_url": "githubUrl",
@@ -44,6 +44,7 @@ export type ExtendedOAuthServerMetadata = {
44
44
  codeChallengeMethodsSupported?: Array<string> | null | undefined;
45
45
  clientIdMetadataDocumentSupported?: boolean | null | undefined;
46
46
  xResourceUrl?: string | null | undefined;
47
+ xScope?: string | null | undefined;
47
48
  };
48
49
 
49
50
  /** @internal */
@@ -83,6 +84,7 @@ export type ExtendedOAuthServerMetadata$Outbound = {
83
84
  code_challenge_methods_supported?: Array<string> | null | undefined;
84
85
  client_id_metadata_document_supported?: boolean | null | undefined;
85
86
  x_resource_url?: string | null | undefined;
87
+ x_scope?: string | null | undefined;
86
88
  };
87
89
 
88
90
  /** @internal */
@@ -120,6 +122,7 @@ export const ExtendedOAuthServerMetadata$outboundSchema: z.ZodType<
120
122
  codeChallengeMethodsSupported: z.nullable(z.array(z.string())).optional(),
121
123
  clientIdMetadataDocumentSupported: z.nullable(z.boolean()).optional(),
122
124
  xResourceUrl: z.nullable(z.string()).optional(),
125
+ xScope: z.nullable(z.string()).optional(),
123
126
  }).transform((v) => {
124
127
  return remap$(v, {
125
128
  authorizationEndpoint: "authorization_endpoint",
@@ -149,6 +152,7 @@ export const ExtendedOAuthServerMetadata$outboundSchema: z.ZodType<
149
152
  codeChallengeMethodsSupported: "code_challenge_methods_supported",
150
153
  clientIdMetadataDocumentSupported: "client_id_metadata_document_supported",
151
154
  xResourceUrl: "x_resource_url",
155
+ xScope: "x_scope",
152
156
  });
153
157
  });
154
158
 
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: f2dd415a6130
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { safeParse } from "../../lib/schemas.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type GitCommitAuthor = {
13
+ name?: string | null | undefined;
14
+ username?: string | null | undefined;
15
+ htmlUrl?: string | null | undefined;
16
+ };
17
+
18
+ /** @internal */
19
+ export const GitCommitAuthor$inboundSchema: z.ZodType<
20
+ GitCommitAuthor,
21
+ unknown
22
+ > = z.object({
23
+ name: z.nullable(z.string()).optional(),
24
+ username: z.nullable(z.string()).optional(),
25
+ html_url: z.nullable(z.string()).optional(),
26
+ }).transform((v) => {
27
+ return remap$(v, {
28
+ "html_url": "htmlUrl",
29
+ });
30
+ });
31
+
32
+ export function gitCommitAuthorFromJSON(
33
+ jsonString: string,
34
+ ): SafeParseResult<GitCommitAuthor, SDKValidationError> {
35
+ return safeParse(
36
+ jsonString,
37
+ (x) => GitCommitAuthor$inboundSchema.parse(JSON.parse(x)),
38
+ `Failed to parse 'GitCommitAuthor' from JSON`,
39
+ );
40
+ }
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 67b86956d92b
4
+ */
5
+
6
+ import * as z from "zod/v4";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+ import { safeParse } from "../../lib/schemas.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import {
12
+ GitCommitAuthor,
13
+ GitCommitAuthor$inboundSchema,
14
+ } from "./gitcommitauthor.js";
15
+
16
+ export type GitCommitMetadata = {
17
+ sha: string;
18
+ message?: string | null | undefined;
19
+ author?: GitCommitAuthor | null | undefined;
20
+ htmlUrl?: string | null | undefined;
21
+ };
22
+
23
+ /** @internal */
24
+ export const GitCommitMetadata$inboundSchema: z.ZodType<
25
+ GitCommitMetadata,
26
+ unknown
27
+ > = z.object({
28
+ sha: z.string(),
29
+ message: z.nullable(z.string()).optional(),
30
+ author: z.nullable(GitCommitAuthor$inboundSchema).optional(),
31
+ html_url: z.nullable(z.string()).optional(),
32
+ }).transform((v) => {
33
+ return remap$(v, {
34
+ "html_url": "htmlUrl",
35
+ });
36
+ });
37
+
38
+ export function gitCommitMetadataFromJSON(
39
+ jsonString: string,
40
+ ): SafeParseResult<GitCommitMetadata, SDKValidationError> {
41
+ return safeParse(
42
+ jsonString,
43
+ (x) => GitCommitMetadata$inboundSchema.parse(JSON.parse(x)),
44
+ `Failed to parse 'GitCommitMetadata' from JSON`,
45
+ );
46
+ }