Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 83 additions & 83 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 3.4.1
version: 3.4.2
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand All @@ -53,6 +53,7 @@ typescript:
enumFormat: union
envVarPrefix: OPPER
exportZodModelNamespace: false
flatAdditionalProperties: false
flattenGlobalSecurity: true
flatteningOrder: parameters-first
formStringArrayEncodeMode: encoded-string
Expand All @@ -79,6 +80,7 @@ typescript:
outputModelSuffix: output
packageName: opperai
preApplyUnionDiscriminators: true
preserveModelFieldNames: false
responseFormat: flat
sseFlatResponse: false
templateVersion: v2
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.680.11
speakeasyVersion: 1.684.0
sources:
FastAPI:
sourceNamespace: fast-api
sourceRevisionDigest: sha256:68b0cbe004a918df9af2bdb9f14fb8603d166eee2514fe752773b87a0b06a602
sourceBlobDigest: sha256:9a8a62a66b7d61f0a406be7b4c63c1b2d555b9ce44d9e3f998d10c31df1d5009
sourceRevisionDigest: sha256:6522b69ef193ee16fcf8f65f292d670af40fb1884a8cea87b9385ee968c34eaa
sourceBlobDigest: sha256:b90403a05311d63e4d5c21bfc296167fad5943f0aebad0629f417ff8b7ca0897
tags:
- latest
- main
Expand All @@ -12,10 +12,10 @@ targets:
opper:
source: FastAPI
sourceNamespace: fast-api
sourceRevisionDigest: sha256:68b0cbe004a918df9af2bdb9f14fb8603d166eee2514fe752773b87a0b06a602
sourceBlobDigest: sha256:9a8a62a66b7d61f0a406be7b4c63c1b2d555b9ce44d9e3f998d10c31df1d5009
sourceRevisionDigest: sha256:6522b69ef193ee16fcf8f65f292d670af40fb1884a8cea87b9385ee968c34eaa
sourceBlobDigest: sha256:b90403a05311d63e4d5c21bfc296167fad5943f0aebad0629f417ff8b7ca0897
codeSamplesNamespace: fast-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:5c5b7fb4892a2ddb5a8cf1e04b161f2742e976efee6a8b613f3d666aa8474a96
codeSamplesRevisionDigest: sha256:182c5d12ca99446c0743918581d37c159646c4822469b66cb0e1c3d63ee3fcf4
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# AppApiPublicV2FunctionsCallFunctionRequest
# CallFunctionRequest

## Example Usage

```typescript
import { AppApiPublicV2FunctionsCallFunctionRequest } from "opperai/models";
import { CallFunctionRequest } from "opperai/models";

let value: AppApiPublicV2FunctionsCallFunctionRequest = {
let value: CallFunctionRequest = {
input: {
"x": 4,
"y": 5,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# AppApiPublicV2FunctionCallCallFunctionResponse
# CallFunctionResponse

## Example Usage

```typescript
import { AppApiPublicV2FunctionCallCallFunctionResponse } from "opperai/models";
import { CallFunctionResponse } from "opperai/models";

let value: AppApiPublicV2FunctionCallCallFunctionResponse = {
spanId: "fe8c2e6e-0531-4ec9-92e0-5633b8cd9b3a",
let value: CallFunctionResponse = {
spanId: "e9cdfdda-24c9-49c9-b80b-1a2728c3f909",
message: "The sum of 1 and 3 is 4",
jsonPayload: {
"sum": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CallFunctionFunctionsFunctionIdCallPostRequest } from "opperai/models/o

let value: CallFunctionFunctionsFunctionIdCallPostRequest = {
functionId: "771b74ef-3e63-4e30-89a1-837525070c24",
appApiPublicV2FunctionsCallFunctionRequest: {
callFunctionRequest: {
input: {
"x": 4,
"y": 5,
Expand All @@ -33,7 +33,7 @@ let value: CallFunctionFunctionsFunctionIdCallPostRequest = {

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `appApiPublicV2FunctionsCallFunctionRequest` | [models.AppApiPublicV2FunctionsCallFunctionRequest](../../models/appapipublicv2functionscallfunctionrequest.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `callFunctionRequest` | [models.CallFunctionRequest](../../models/callfunctionrequest.md) | :heavy_check_mark: | N/A |
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { CallFunctionRevisionFunctionsFunctionIdCallRevisionIdPostRequest } from
let value: CallFunctionRevisionFunctionsFunctionIdCallRevisionIdPostRequest = {
functionId: "bd5c888f-ced7-4001-933d-0de6d9e4c217",
revisionId: "7845175b-c54e-4fe1-b8fb-1e34dbf28957",
appApiPublicV2FunctionsCallFunctionRequest: {
callFunctionRequest: {
input: {
"x": 4,
"y": 5,
Expand All @@ -34,8 +34,8 @@ let value: CallFunctionRevisionFunctionsFunctionIdCallRevisionIdPostRequest = {

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `revisionId` | *string* | :heavy_check_mark: | The id of the revision to call |
| `appApiPublicV2FunctionsCallFunctionRequest` | [models.AppApiPublicV2FunctionsCallFunctionRequest](../../models/appapipublicv2functionscallfunctionrequest.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `revisionId` | *string* | :heavy_check_mark: | The id of the revision to call |
| `callFunctionRequest` | [models.CallFunctionRequest](../../models/callfunctionrequest.md) | :heavy_check_mark: | N/A |
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { StreamFunctionFunctionsFunctionIdCallStreamPostRequest } from "opperai/

let value: StreamFunctionFunctionsFunctionIdCallStreamPostRequest = {
functionId: "c3ca1b27-b06d-4da0-9bb3-c09b9a4e67bb",
appApiPublicV2FunctionsCallFunctionRequest: {
callFunctionRequest: {
input: {
"x": 4,
"y": 5,
Expand All @@ -33,7 +33,7 @@ let value: StreamFunctionFunctionsFunctionIdCallStreamPostRequest = {

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `appApiPublicV2FunctionsCallFunctionRequest` | [models.AppApiPublicV2FunctionsCallFunctionRequest](../../models/appapipublicv2functionscallfunctionrequest.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `callFunctionRequest` | [models.CallFunctionRequest](../../models/callfunctionrequest.md) | :heavy_check_mark: | N/A |
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let value:
StreamFunctionRevisionFunctionsFunctionIdCallStreamRevisionIdPostRequest = {
functionId: "6c1256fb-29fc-4d4a-9db7-250250736273",
revisionId: "c8d8f228-67ba-4b69-9ce9-cc136b704f92",
appApiPublicV2FunctionsCallFunctionRequest: {
callFunctionRequest: {
input: {
"x": 4,
"y": 5,
Expand All @@ -35,8 +35,8 @@ let value:

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `revisionId` | *string* | :heavy_check_mark: | The id of the revision to call |
| `appApiPublicV2FunctionsCallFunctionRequest` | [models.AppApiPublicV2FunctionsCallFunctionRequest](../../models/appapipublicv2functionscallfunctionrequest.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| `functionId` | *string* | :heavy_check_mark: | The id of the function to call |
| `revisionId` | *string* | :heavy_check_mark: | The id of the revision to call |
| `callFunctionRequest` | [models.CallFunctionRequest](../../models/callfunctionrequest.md) | :heavy_check_mark: | N/A |
4 changes: 2 additions & 2 deletions docs/models/operations/updatespanspansspanidpatchrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ let value: UpdateSpanSpansSpanIdPatchRequest = {
spanId: "c4686ca8-5f9f-483e-8cc2-e12731bcf9e5",
updateSpanRequest: {
name: "my span",
startTime: new Date("2026-01-02T11:36:47.278310Z"),
startTime: new Date("2026-01-12T08:55:07.820327Z"),
type: "email_tool",
endTime: new Date("2026-01-02T11:36:47.278372Z"),
endTime: new Date("2026-01-12T08:55:07.820389Z"),
input: "Hello, world!",
output: "Hello, world!",
error: "Exception: This is an error message",
Expand Down
Loading