@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.
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/activitytaskcompletedresponse.d.ts +12 -0
- package/esm/models/components/activitytaskcompletedresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskcompletedresponse.js +6 -0
- package/esm/models/components/activitytaskcompletedresponse.js.map +1 -1
- package/esm/models/components/activitytaskfailedresponse.d.ts +12 -0
- package/esm/models/components/activitytaskfailedresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskfailedresponse.js +6 -0
- package/esm/models/components/activitytaskfailedresponse.js.map +1 -1
- package/esm/models/components/activitytaskretryingresponse.d.ts +12 -0
- package/esm/models/components/activitytaskretryingresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskretryingresponse.js +6 -0
- package/esm/models/components/activitytaskretryingresponse.js.map +1 -1
- package/esm/models/components/activitytaskstartedresponse.d.ts +12 -0
- package/esm/models/components/activitytaskstartedresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskstartedresponse.js +6 -0
- package/esm/models/components/activitytaskstartedresponse.js.map +1 -1
- package/esm/models/components/agentscompletionrequest.d.ts +6 -0
- package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionrequest.js +3 -0
- package/esm/models/components/agentscompletionrequest.js.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.d.ts +6 -0
- package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.js +3 -0
- package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
- package/esm/models/components/authdirection.d.ts +10 -0
- package/esm/models/components/authdirection.d.ts.map +1 -0
- package/esm/models/components/authdirection.js +13 -0
- package/esm/models/components/authdirection.js.map +1 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.d.ts +47 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.d.ts.map +1 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.js +46 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.js.map +1 -0
- package/esm/models/components/chatcompletionrequest.d.ts +6 -0
- package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionrequest.js +3 -0
- package/esm/models/components/chatcompletionrequest.js.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.d.ts +6 -0
- package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.js +3 -0
- package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
- package/esm/models/components/connectorauthenticationheader.d.ts +11 -2
- package/esm/models/components/connectorauthenticationheader.d.ts.map +1 -1
- package/esm/models/components/connectorauthenticationheader.js +14 -0
- package/esm/models/components/connectorauthenticationheader.js.map +1 -1
- package/esm/models/components/createconnectorrequest.d.ts +5 -0
- package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/createconnectorrequest.js +1 -0
- package/esm/models/components/createconnectorrequest.js.map +1 -1
- package/esm/models/components/customtaskcanceledresponse.d.ts +12 -0
- package/esm/models/components/customtaskcanceledresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskcanceledresponse.js +6 -0
- package/esm/models/components/customtaskcanceledresponse.js.map +1 -1
- package/esm/models/components/customtaskcompletedresponse.d.ts +12 -0
- package/esm/models/components/customtaskcompletedresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskcompletedresponse.js +6 -0
- package/esm/models/components/customtaskcompletedresponse.js.map +1 -1
- package/esm/models/components/customtaskfailedresponse.d.ts +12 -0
- package/esm/models/components/customtaskfailedresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskfailedresponse.js +6 -0
- package/esm/models/components/customtaskfailedresponse.js.map +1 -1
- package/esm/models/components/customtaskinprogressresponse.d.ts +12 -0
- package/esm/models/components/customtaskinprogressresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskinprogressresponse.js +6 -0
- package/esm/models/components/customtaskinprogressresponse.js.map +1 -1
- package/esm/models/components/customtaskstartedresponse.d.ts +12 -0
- package/esm/models/components/customtaskstartedresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskstartedresponse.js +6 -0
- package/esm/models/components/customtaskstartedresponse.js.map +1 -1
- package/esm/models/components/customtasktimedoutresponse.d.ts +12 -0
- package/esm/models/components/customtasktimedoutresponse.d.ts.map +1 -1
- package/esm/models/components/customtasktimedoutresponse.js +6 -0
- package/esm/models/components/customtasktimedoutresponse.js.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.d.ts +5 -0
- package/esm/models/components/deploymentworkerspecresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.js +2 -0
- package/esm/models/components/deploymentworkerspecresponse.js.map +1 -1
- package/esm/models/components/extendedoauthservermetadata.d.ts +2 -0
- package/esm/models/components/extendedoauthservermetadata.d.ts.map +1 -1
- package/esm/models/components/extendedoauthservermetadata.js +2 -0
- package/esm/models/components/extendedoauthservermetadata.js.map +1 -1
- package/esm/models/components/gitcommitauthor.d.ts +12 -0
- package/esm/models/components/gitcommitauthor.d.ts.map +1 -0
- package/esm/models/components/gitcommitauthor.js +21 -0
- package/esm/models/components/gitcommitauthor.js.map +1 -0
- package/esm/models/components/gitcommitmetadata.d.ts +14 -0
- package/esm/models/components/gitcommitmetadata.d.ts.map +1 -0
- package/esm/models/components/gitcommitmetadata.js +23 -0
- package/esm/models/components/gitcommitmetadata.js.map +1 -0
- package/esm/models/components/inboundauthenticationtype.d.ts +9 -0
- package/esm/models/components/inboundauthenticationtype.d.ts.map +1 -0
- package/esm/models/components/inboundauthenticationtype.js +11 -0
- package/esm/models/components/inboundauthenticationtype.js.map +1 -0
- package/esm/models/components/index.d.ts +7 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +7 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/oauth2metadatasecrets.d.ts +27 -0
- package/esm/models/components/oauth2metadatasecrets.d.ts.map +1 -0
- package/esm/models/components/oauth2metadatasecrets.js +24 -0
- package/esm/models/components/oauth2metadatasecrets.js.map +1 -0
- package/esm/models/components/observabilityerrorcode.d.ts +1 -0
- package/esm/models/components/observabilityerrorcode.d.ts.map +1 -1
- package/esm/models/components/observabilityerrorcode.js +1 -0
- package/esm/models/components/observabilityerrorcode.js.map +1 -1
- package/esm/models/components/requestedservicetier.d.ts +10 -0
- package/esm/models/components/requestedservicetier.d.ts.map +1 -0
- package/esm/models/components/requestedservicetier.js +12 -0
- package/esm/models/components/requestedservicetier.js.map +1 -0
- package/esm/models/components/updateconnectorrequest.d.ts +4 -13
- package/esm/models/components/updateconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/updateconnectorrequest.js +3 -4
- package/esm/models/components/updateconnectorrequest.js.map +1 -1
- package/esm/models/components/usageinfo.d.ts +5 -0
- package/esm/models/components/usageinfo.d.ts.map +1 -1
- package/esm/models/components/usageinfo.js +4 -0
- package/esm/models/components/usageinfo.js.map +1 -1
- package/esm/models/components/workflowexecutioncanceledattributes.d.ts +4 -0
- package/esm/models/components/workflowexecutioncanceledattributes.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncanceledattributes.js +1 -0
- package/esm/models/components/workflowexecutioncanceledattributes.js.map +1 -1
- package/esm/models/components/workflowexecutioncanceledresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutioncanceledresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncanceledresponse.js +6 -0
- package/esm/models/components/workflowexecutioncanceledresponse.js.map +1 -1
- package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncompletedattributesresponse.js +1 -0
- package/esm/models/components/workflowexecutioncompletedattributesresponse.js.map +1 -1
- package/esm/models/components/workflowexecutioncompletedresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutioncompletedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncompletedresponse.js +6 -0
- package/esm/models/components/workflowexecutioncompletedresponse.js.map +1 -1
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.js +6 -0
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionfailedattributes.d.ts +4 -0
- package/esm/models/components/workflowexecutionfailedattributes.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionfailedattributes.js +1 -0
- package/esm/models/components/workflowexecutionfailedattributes.js.map +1 -1
- package/esm/models/components/workflowexecutionfailedresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutionfailedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionfailedresponse.js +6 -0
- package/esm/models/components/workflowexecutionfailedresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.js +1 -0
- package/esm/models/components/workflowexecutionstartedattributesresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionstartedresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutionstartedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionstartedresponse.js +6 -0
- package/esm/models/components/workflowexecutionstartedresponse.js.map +1 -1
- package/esm/models/components/workflowtaskfailedresponse.d.ts +12 -0
- package/esm/models/components/workflowtaskfailedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowtaskfailedresponse.js +6 -0
- package/esm/models/components/workflowtaskfailedresponse.js.map +1 -1
- package/esm/models/components/workflowtasktimedoutresponse.d.ts +12 -0
- package/esm/models/components/workflowtasktimedoutresponse.d.ts.map +1 -1
- package/esm/models/components/workflowtasktimedoutresponse.js +6 -0
- package/esm/models/components/workflowtasktimedoutresponse.js.map +1 -1
- package/examples/src/model_management.ts +59 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/activitytaskcompletedresponse.ts +18 -0
- package/src/models/components/activitytaskfailedresponse.ts +18 -0
- package/src/models/components/activitytaskretryingresponse.ts +18 -0
- package/src/models/components/activitytaskstartedresponse.ts +18 -0
- package/src/models/components/agentscompletionrequest.ts +11 -0
- package/src/models/components/agentscompletionstreamrequest.ts +11 -0
- package/src/models/components/authdirection.ts +17 -0
- package/src/models/components/authenticationmethodcreateorupdaterequest.ts +125 -0
- package/src/models/components/chatcompletionrequest.ts +11 -0
- package/src/models/components/chatcompletionstreamrequest.ts +11 -0
- package/src/models/components/connectorauthenticationheader.ts +32 -2
- package/src/models/components/createconnectorrequest.ts +6 -0
- package/src/models/components/customtaskcanceledresponse.ts +18 -0
- package/src/models/components/customtaskcompletedresponse.ts +18 -0
- package/src/models/components/customtaskfailedresponse.ts +18 -0
- package/src/models/components/customtaskinprogressresponse.ts +18 -0
- package/src/models/components/customtaskstartedresponse.ts +18 -0
- package/src/models/components/customtasktimedoutresponse.ts +18 -0
- package/src/models/components/deploymentworkerspecresponse.ts +9 -0
- package/src/models/components/extendedoauthservermetadata.ts +4 -0
- package/src/models/components/gitcommitauthor.ts +40 -0
- package/src/models/components/gitcommitmetadata.ts +46 -0
- package/src/models/components/inboundauthenticationtype.ts +19 -0
- package/src/models/components/index.ts +7 -0
- package/src/models/components/oauth2metadatasecrets.ts +57 -0
- package/src/models/components/observabilityerrorcode.ts +1 -0
- package/src/models/components/requestedservicetier.ts +18 -0
- package/src/models/components/updateconnectorrequest.ts +17 -15
- package/src/models/components/usageinfo.ts +9 -0
- package/src/models/components/workflowexecutioncanceledattributes.ts +5 -0
- package/src/models/components/workflowexecutioncanceledresponse.ts +18 -0
- package/src/models/components/workflowexecutioncompletedattributesresponse.ts +5 -0
- package/src/models/components/workflowexecutioncompletedresponse.ts +18 -0
- package/src/models/components/workflowexecutioncontinuedasnewresponse.ts +18 -0
- package/src/models/components/workflowexecutionfailedattributes.ts +5 -0
- package/src/models/components/workflowexecutionfailedresponse.ts +18 -0
- package/src/models/components/workflowexecutionstartedattributesresponse.ts +5 -0
- package/src/models/components/workflowexecutionstartedresponse.ts +18 -0
- package/src/models/components/workflowtaskfailedresponse.ts +18 -0
- package/src/models/components/workflowtasktimedoutresponse.ts +18 -0
- package/examples/src/async_jobs.ts +0 -51
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutionfailedresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionfailedresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,+CAA+C,GAChD,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"workflowexecutionfailedresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionfailedresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,+CAA+C,GAChD,MAAM,wCAAwC,CAAC;AA4DhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAGtD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,uBAAuB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/C,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,sBAAsB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,OAAO,CACxD,2BAA2B,CAC5B;IACD,UAAU,EAAE,+CAA+C;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,gBAAgB;QACnC,uBAAuB,EAAE,oBAAoB;QAC7C,yBAAyB,EAAE,sBAAsB;QACjD,kBAAkB,EAAE,gBAAgB;QACpC,wBAAwB,EAAE,qBAAqB;QAC/C,aAAa,EAAE,YAAY;QAC3B,kBAAkB,EAAE,gBAAgB;QACpC,iBAAiB,EAAE,eAAe;QAClC,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,UAAkB,EACoD;IACtE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AAAA,CACH"}
|
|
@@ -28,6 +28,10 @@ export type WorkflowExecutionStartedAttributesResponse = {
|
|
|
28
28
|
* and encoding_options indicates the type of encryption applied.
|
|
29
29
|
*/
|
|
30
30
|
input: JSONPayloadResponse;
|
|
31
|
+
/**
|
|
32
|
+
* Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.
|
|
33
|
+
*/
|
|
34
|
+
attempt: number;
|
|
31
35
|
};
|
|
32
36
|
/** @internal */
|
|
33
37
|
export declare const WorkflowExecutionStartedAttributesResponse$inboundSchema: z.ZodType<WorkflowExecutionStartedAttributesResponse, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutionstartedattributesresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedattributesresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,0CAA0C,GAAG;IACvD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;;;;;;;OAQG;IACH,KAAK,EAAE,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"workflowexecutionstartedattributesresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedattributesresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,0CAA0C,GAAG;IACvD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;;;;;;;OAQG;IACH,KAAK,EAAE,mBAAmB,CAAC;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CAAC,0CAA0C,EAAE,OAAO,CAY3D,CAAC;AAEL,wBAAgB,kDAAkD,CAChE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,0CAA0C,EAC1C,kBAAkB,CACnB,CASA"}
|
|
@@ -12,6 +12,7 @@ export const WorkflowExecutionStartedAttributesResponse$inboundSchema = z.object
|
|
|
12
12
|
workflow_name: z.string(),
|
|
13
13
|
display_name: z.nullable(z.string()).optional(),
|
|
14
14
|
input: JSONPayloadResponse$inboundSchema,
|
|
15
|
+
attempt: z.int().default(1),
|
|
15
16
|
}).transform((v) => {
|
|
16
17
|
return remap$(v, {
|
|
17
18
|
"task_id": "taskId",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutionstartedattributesresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedattributesresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"workflowexecutionstartedattributesresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedattributesresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAkClC,gBAAgB;AAChB,MAAM,CAAC,MAAM,wDAAwD,GACF,CAAC,CAAC,MAAM,CAAC;IACxE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,KAAK,EAAE,iCAAiC;IACxC,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;QACnB,eAAe,EAAE,cAAc;QAC/B,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEL,MAAM,UAAU,kDAAkD,CAChE,UAAkB,EAIlB;IACA,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAwD,CAAC,KAAK,CAC5D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,wEAAwE,CACzE,CAAC;AAAA,CACH"}
|
|
@@ -26,6 +26,18 @@ export type WorkflowExecutionStartedResponse = {
|
|
|
26
26
|
* Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
|
|
27
27
|
*/
|
|
28
28
|
parentWorkflowExecId: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Run ID of the execution this run continued from. Non-null for continue-as-new runs.
|
|
31
|
+
*/
|
|
32
|
+
continuedRunId: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* 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.
|
|
35
|
+
*/
|
|
36
|
+
firstExecutionRunId: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Temporal schedule ID that triggered this execution, if any.
|
|
39
|
+
*/
|
|
40
|
+
scheduleId: string | null;
|
|
29
41
|
/**
|
|
30
42
|
* Execution ID of the workflow that emitted this event.
|
|
31
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutionstartedresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,0CAA0C,EAE3C,MAAM,iDAAiD,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,4BAA4B,CAAC;IACxC;;OAEG;IACH,UAAU,EAAE,0CAA0C,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,OAAO,
|
|
1
|
+
{"version":3,"file":"workflowexecutionstartedresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,0CAA0C,EAE3C,MAAM,iDAAiD,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,4BAA4B,CAAC;IACxC;;OAEG;IACH,UAAU,EAAE,0CAA0C,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,gCAAgC,EAChC,OAAO,CA8BP,CAAC;AAEH,wBAAgB,wCAAwC,CACtD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE"}
|
|
@@ -12,6 +12,9 @@ export const WorkflowExecutionStartedResponse$inboundSchema = z.object({
|
|
|
12
12
|
event_timestamp: z.int(),
|
|
13
13
|
root_workflow_exec_id: z.string(),
|
|
14
14
|
parent_workflow_exec_id: z.nullable(z.string()),
|
|
15
|
+
continued_run_id: z.nullable(z.string()),
|
|
16
|
+
first_execution_run_id: z.nullable(z.string()),
|
|
17
|
+
schedule_id: z.nullable(z.string()),
|
|
15
18
|
workflow_exec_id: z.string(),
|
|
16
19
|
workflow_run_id: z.string(),
|
|
17
20
|
workflow_name: z.string(),
|
|
@@ -23,6 +26,9 @@ export const WorkflowExecutionStartedResponse$inboundSchema = z.object({
|
|
|
23
26
|
"event_timestamp": "eventTimestamp",
|
|
24
27
|
"root_workflow_exec_id": "rootWorkflowExecId",
|
|
25
28
|
"parent_workflow_exec_id": "parentWorkflowExecId",
|
|
29
|
+
"continued_run_id": "continuedRunId",
|
|
30
|
+
"first_execution_run_id": "firstExecutionRunId",
|
|
31
|
+
"schedule_id": "scheduleId",
|
|
26
32
|
"workflow_exec_id": "workflowExecId",
|
|
27
33
|
"workflow_run_id": "workflowRunId",
|
|
28
34
|
"workflow_name": "workflowName",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutionstartedresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,wDAAwD,GACzD,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"workflowexecutionstartedresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutionstartedresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,wDAAwD,GACzD,MAAM,iDAAiD,CAAC;AA4DzD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C,GAGvD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,uBAAuB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/C,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,sBAAsB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,OAAO,CACzD,4BAA4B,CAC7B;IACD,UAAU,EAAE,wDAAwD;CACrE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,gBAAgB;QACnC,uBAAuB,EAAE,oBAAoB;QAC7C,yBAAyB,EAAE,sBAAsB;QACjD,kBAAkB,EAAE,gBAAgB;QACpC,wBAAwB,EAAE,qBAAqB;QAC/C,aAAa,EAAE,YAAY;QAC3B,kBAAkB,EAAE,gBAAgB;QACpC,iBAAiB,EAAE,eAAe;QAClC,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,wCAAwC,CACtD,UAAkB,EACqD;IACvE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAA8C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,8DAA8D,CAC/D,CAAC;AAAA,CACH"}
|
|
@@ -27,6 +27,18 @@ export type WorkflowTaskFailedResponse = {
|
|
|
27
27
|
* Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
|
|
28
28
|
*/
|
|
29
29
|
parentWorkflowExecId: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Run ID of the execution this run continued from. Non-null for continue-as-new runs.
|
|
32
|
+
*/
|
|
33
|
+
continuedRunId: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* 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.
|
|
36
|
+
*/
|
|
37
|
+
firstExecutionRunId: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Temporal schedule ID that triggered this execution, if any.
|
|
40
|
+
*/
|
|
41
|
+
scheduleId: string | null;
|
|
30
42
|
/**
|
|
31
43
|
* Execution ID of the workflow that emitted this event.
|
|
32
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowtaskfailedresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowtaskfailedresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAE3C;;;;;;;GAOG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,sBAAsB,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,4BAA4B,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"workflowtaskfailedresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowtaskfailedresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAE3C;;;;;;;GAOG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,sBAAsB,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,4BAA4B,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,OAAO,CA4BP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -12,6 +12,9 @@ export const WorkflowTaskFailedResponse$inboundSchema = z.object({
|
|
|
12
12
|
event_timestamp: z.int(),
|
|
13
13
|
root_workflow_exec_id: z.string(),
|
|
14
14
|
parent_workflow_exec_id: z.nullable(z.string()),
|
|
15
|
+
continued_run_id: z.nullable(z.string()),
|
|
16
|
+
first_execution_run_id: z.nullable(z.string()),
|
|
17
|
+
schedule_id: z.nullable(z.string()),
|
|
15
18
|
workflow_exec_id: z.string(),
|
|
16
19
|
workflow_run_id: z.string(),
|
|
17
20
|
workflow_name: z.string(),
|
|
@@ -23,6 +26,9 @@ export const WorkflowTaskFailedResponse$inboundSchema = z.object({
|
|
|
23
26
|
"event_timestamp": "eventTimestamp",
|
|
24
27
|
"root_workflow_exec_id": "rootWorkflowExecId",
|
|
25
28
|
"parent_workflow_exec_id": "parentWorkflowExecId",
|
|
29
|
+
"continued_run_id": "continuedRunId",
|
|
30
|
+
"first_execution_run_id": "firstExecutionRunId",
|
|
31
|
+
"schedule_id": "scheduleId",
|
|
26
32
|
"workflow_exec_id": "workflowExecId",
|
|
27
33
|
"workflow_run_id": "workflowRunId",
|
|
28
34
|
"workflow_name": "workflowName",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowtaskfailedresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowtaskfailedresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,0CAA0C,GAC3C,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"workflowtaskfailedresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowtaskfailedresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,0CAA0C,GAC3C,MAAM,mCAAmC,CAAC;AA6D3C,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,uBAAuB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/C,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,sBAAsB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IAC7E,UAAU,EAAE,0CAA0C;CACvD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,gBAAgB;QACnC,uBAAuB,EAAE,oBAAoB;QAC7C,yBAAyB,EAAE,sBAAsB;QACjD,kBAAkB,EAAE,gBAAgB;QACpC,wBAAwB,EAAE,qBAAqB;QAC/C,aAAa,EAAE,YAAY;QAC3B,kBAAkB,EAAE,gBAAgB;QACpC,iBAAiB,EAAE,eAAe;QAClC,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,UAAkB,EAC+C;IACjE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AAAA,CACH"}
|
|
@@ -27,6 +27,18 @@ export type WorkflowTaskTimedOutResponse = {
|
|
|
27
27
|
* Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
|
|
28
28
|
*/
|
|
29
29
|
parentWorkflowExecId: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Run ID of the execution this run continued from. Non-null for continue-as-new runs.
|
|
32
|
+
*/
|
|
33
|
+
continuedRunId: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* 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.
|
|
36
|
+
*/
|
|
37
|
+
firstExecutionRunId: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Temporal schedule ID that triggered this execution, if any.
|
|
40
|
+
*/
|
|
41
|
+
scheduleId: string | null;
|
|
30
42
|
/**
|
|
31
43
|
* Execution ID of the workflow that emitted this event.
|
|
32
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowtasktimedoutresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowtasktimedoutresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,yBAAyB,CAAC;IACrC;;OAEG;IACH,UAAU,EAAE,8BAA8B,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,OAAO,
|
|
1
|
+
{"version":3,"file":"workflowtasktimedoutresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowtasktimedoutresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,yBAAyB,CAAC;IACrC;;OAEG;IACH,UAAU,EAAE,8BAA8B,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,OAAO,CA8BP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -12,6 +12,9 @@ export const WorkflowTaskTimedOutResponse$inboundSchema = z.object({
|
|
|
12
12
|
event_timestamp: z.int(),
|
|
13
13
|
root_workflow_exec_id: z.string(),
|
|
14
14
|
parent_workflow_exec_id: z.nullable(z.string()),
|
|
15
|
+
continued_run_id: z.nullable(z.string()),
|
|
16
|
+
first_execution_run_id: z.nullable(z.string()),
|
|
17
|
+
schedule_id: z.nullable(z.string()),
|
|
15
18
|
workflow_exec_id: z.string(),
|
|
16
19
|
workflow_run_id: z.string(),
|
|
17
20
|
workflow_name: z.string(),
|
|
@@ -23,6 +26,9 @@ export const WorkflowTaskTimedOutResponse$inboundSchema = z.object({
|
|
|
23
26
|
"event_timestamp": "eventTimestamp",
|
|
24
27
|
"root_workflow_exec_id": "rootWorkflowExecId",
|
|
25
28
|
"parent_workflow_exec_id": "parentWorkflowExecId",
|
|
29
|
+
"continued_run_id": "continuedRunId",
|
|
30
|
+
"first_execution_run_id": "firstExecutionRunId",
|
|
31
|
+
"schedule_id": "scheduleId",
|
|
26
32
|
"workflow_exec_id": "workflowExecId",
|
|
27
33
|
"workflow_run_id": "workflowRunId",
|
|
28
34
|
"workflow_name": "workflowName",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowtasktimedoutresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowtasktimedoutresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,4CAA4C,GAC7C,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"workflowtasktimedoutresponse.js","sourceRoot":"","sources":["../../../src/models/components/workflowtasktimedoutresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,4CAA4C,GAC7C,MAAM,qCAAqC,CAAC;AA6D7C,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;IACxB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,uBAAuB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/C,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,sBAAsB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,OAAO,CACtD,yBAAyB,CAC1B;IACD,UAAU,EAAE,4CAA4C;CACzD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,gBAAgB;QACnC,uBAAuB,EAAE,oBAAoB;QAC7C,yBAAyB,EAAE,sBAAsB;QACjD,kBAAkB,EAAE,gBAAgB;QACpC,wBAAwB,EAAE,qBAAqB;QAC/C,aAAa,EAAE,YAAY;QAC3B,kBAAkB,EAAE,gBAAgB;QACpC,iBAAiB,EAAE,eAAe;QAClC,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,UAAkB,EACiD;IACnE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Managing fine-tuned models with `client.models.*`.
|
|
3
|
+
*
|
|
4
|
+
* The fine-tuning training API (`client.fineTuning.jobs.*`) has been retired: the
|
|
5
|
+
* fine-tuning training product was sunset and those routes now return 410 Gone,
|
|
6
|
+
* with no in-SDK replacement. The fine-tuned models you already own are still
|
|
7
|
+
* managed through `client.models.*` (retrieve, update, archive, unarchive,
|
|
8
|
+
* delete). For running large asynchronous inference jobs, see
|
|
9
|
+
* `async_batch_jobs.ts`.
|
|
10
|
+
*
|
|
11
|
+
* The read-only list and retrieve run unconditionally. Set
|
|
12
|
+
* MISTRAL_FINE_TUNED_MODEL_ID to also exercise the update / archive / unarchive
|
|
13
|
+
* management flow against a model you own.
|
|
14
|
+
*/
|
|
15
|
+
import { Mistral } from "@mistralai/mistralai";
|
|
16
|
+
|
|
17
|
+
const apiKey = process.env["MISTRAL_API_KEY"];
|
|
18
|
+
if (!apiKey) {
|
|
19
|
+
throw new Error("missing MISTRAL_API_KEY environment variable");
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const client = new Mistral({ apiKey });
|
|
23
|
+
|
|
24
|
+
const listed = await client.models.list();
|
|
25
|
+
const fineTuned = (listed.data ?? []).filter(
|
|
26
|
+
(model): model is Extract<typeof model, { type: "fine-tuned" }> =>
|
|
27
|
+
model.type === "fine-tuned",
|
|
28
|
+
);
|
|
29
|
+
console.log(`Found ${fineTuned.length} fine-tuned model(s).`);
|
|
30
|
+
|
|
31
|
+
const firstFineTuned = fineTuned[0];
|
|
32
|
+
if (firstFineTuned) {
|
|
33
|
+
const retrieved = await client.models.retrieve({
|
|
34
|
+
modelId: firstFineTuned.id,
|
|
35
|
+
});
|
|
36
|
+
console.log(retrieved);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const modelId = process.env["MISTRAL_FINE_TUNED_MODEL_ID"];
|
|
40
|
+
if (!modelId) {
|
|
41
|
+
console.log(
|
|
42
|
+
"Set MISTRAL_FINE_TUNED_MODEL_ID to run the update / archive / unarchive flow.",
|
|
43
|
+
);
|
|
44
|
+
} else {
|
|
45
|
+
const updated = await client.models.update({
|
|
46
|
+
modelId,
|
|
47
|
+
updateModelRequest: {
|
|
48
|
+
name: "my-fine-tuned-model",
|
|
49
|
+
description: "Updated via the fine-tuned model management example",
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
console.log(updated);
|
|
53
|
+
|
|
54
|
+
const archived = await client.models.archive({ modelId });
|
|
55
|
+
console.log(archived);
|
|
56
|
+
|
|
57
|
+
const unarchived = await client.models.unarchive({ modelId });
|
|
58
|
+
console.log(unarchived);
|
|
59
|
+
}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -70,8 +70,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
70
70
|
export const SDK_METADATA = {
|
|
71
71
|
language: "typescript",
|
|
72
72
|
openapiDocVersion: "1.0.0",
|
|
73
|
-
sdkVersion: "2.6.
|
|
73
|
+
sdkVersion: "2.6.2",
|
|
74
74
|
genVersion: "2.884.13",
|
|
75
75
|
userAgent:
|
|
76
|
-
"speakeasy-sdk/typescript 2.6.
|
|
76
|
+
"speakeasy-sdk/typescript 2.6.2 2.884.13 1.0.0 @mistralai/mistralai",
|
|
77
77
|
} as const;
|
|
@@ -37,6 +37,18 @@ export type ActivityTaskCompletedResponse = {
|
|
|
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 ActivityTaskCompletedResponse$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 ActivityTaskCompletedResponse$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 ActivityTaskFailedResponse = {
|
|
|
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 ActivityTaskFailedResponse$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 ActivityTaskFailedResponse$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 ActivityTaskRetryingResponse = {
|
|
|
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 ActivityTaskRetryingResponse$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 ActivityTaskRetryingResponse$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",
|
|
@@ -38,6 +38,18 @@ export type ActivityTaskStartedResponse = {
|
|
|
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 ActivityTaskStartedResponse$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 ActivityTaskStartedResponse$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",
|
|
@@ -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,
|
|
@@ -180,6 +184,10 @@ export type AgentsCompletionRequest = {
|
|
|
180
184
|
promptMode?: MistralPromptMode | null | undefined;
|
|
181
185
|
guardrails?: Array<GuardrailConfig> | null | undefined;
|
|
182
186
|
promptCacheKey?: string | null | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* Determines whether to serve the request using priority or standard capacity.
|
|
189
|
+
*/
|
|
190
|
+
serviceTier?: RequestedServiceTier | null | undefined;
|
|
183
191
|
/**
|
|
184
192
|
* The ID of the agent to use for this completion.
|
|
185
193
|
*/
|
|
@@ -326,6 +334,7 @@ export type AgentsCompletionRequest$Outbound = {
|
|
|
326
334
|
prompt_mode?: string | null | undefined;
|
|
327
335
|
guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
|
|
328
336
|
prompt_cache_key?: string | null | undefined;
|
|
337
|
+
service_tier?: string | null | undefined;
|
|
329
338
|
agent_id: string;
|
|
330
339
|
};
|
|
331
340
|
|
|
@@ -376,6 +385,7 @@ export const AgentsCompletionRequest$outboundSchema: z.ZodType<
|
|
|
376
385
|
promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
|
|
377
386
|
guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
|
|
378
387
|
promptCacheKey: z.nullable(z.string()).optional(),
|
|
388
|
+
serviceTier: z.nullable(RequestedServiceTier$outboundSchema).optional(),
|
|
379
389
|
agentId: z.string(),
|
|
380
390
|
}).transform((v) => {
|
|
381
391
|
return remap$(v, {
|
|
@@ -389,6 +399,7 @@ export const AgentsCompletionRequest$outboundSchema: z.ZodType<
|
|
|
389
399
|
reasoningEffort: "reasoning_effort",
|
|
390
400
|
promptMode: "prompt_mode",
|
|
391
401
|
promptCacheKey: "prompt_cache_key",
|
|
402
|
+
serviceTier: "service_tier",
|
|
392
403
|
agentId: "agent_id",
|
|
393
404
|
});
|
|
394
405
|
});
|
|
@@ -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,
|
|
@@ -179,6 +183,10 @@ export type AgentsCompletionStreamRequest = {
|
|
|
179
183
|
promptMode?: MistralPromptMode | null | undefined;
|
|
180
184
|
guardrails?: Array<GuardrailConfig> | null | undefined;
|
|
181
185
|
promptCacheKey?: string | null | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* Determines whether to serve the request using priority or standard capacity.
|
|
188
|
+
*/
|
|
189
|
+
serviceTier?: RequestedServiceTier | null | undefined;
|
|
182
190
|
/**
|
|
183
191
|
* The ID of the agent to use for this completion.
|
|
184
192
|
*/
|
|
@@ -326,6 +334,7 @@ export type AgentsCompletionStreamRequest$Outbound = {
|
|
|
326
334
|
prompt_mode?: string | null | undefined;
|
|
327
335
|
guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
|
|
328
336
|
prompt_cache_key?: string | null | undefined;
|
|
337
|
+
service_tier?: string | null | undefined;
|
|
329
338
|
agent_id: string;
|
|
330
339
|
};
|
|
331
340
|
|
|
@@ -376,6 +385,7 @@ export const AgentsCompletionStreamRequest$outboundSchema: z.ZodType<
|
|
|
376
385
|
promptMode: z.nullable(MistralPromptMode$outboundSchema).optional(),
|
|
377
386
|
guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
|
|
378
387
|
promptCacheKey: z.nullable(z.string()).optional(),
|
|
388
|
+
serviceTier: z.nullable(RequestedServiceTier$outboundSchema).optional(),
|
|
379
389
|
agentId: z.string(),
|
|
380
390
|
}).transform((v) => {
|
|
381
391
|
return remap$(v, {
|
|
@@ -389,6 +399,7 @@ export const AgentsCompletionStreamRequest$outboundSchema: z.ZodType<
|
|
|
389
399
|
reasoningEffort: "reasoning_effort",
|
|
390
400
|
promptMode: "prompt_mode",
|
|
391
401
|
promptCacheKey: "prompt_cache_key",
|
|
402
|
+
serviceTier: "service_tier",
|
|
392
403
|
agentId: "agent_id",
|
|
393
404
|
});
|
|
394
405
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 2086f6a291b7
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v4";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const AuthDirection = {
|
|
10
|
+
Inbound: "inbound",
|
|
11
|
+
Outbound: "outbound",
|
|
12
|
+
} as const;
|
|
13
|
+
export type AuthDirection = ClosedEnum<typeof AuthDirection>;
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const AuthDirection$outboundSchema: z.ZodEnum<typeof AuthDirection> = z
|
|
17
|
+
.enum(AuthDirection);
|