Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 16
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-4a89aa730a0c5dad44fa86cfa4f14b10fa44a076dfe6d5d6a2eb1cf8569bf526.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-b0de8fe3df00ba634727ad67463d6e2163588f28ce241f4ea45ccff2a25c271f.yml
17 changes: 17 additions & 0 deletions src/resources/applications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ export class Applications extends APIResource {
}

export interface ApplicationGenerateContentResponse {
/**
* The response from the model specified in the application.
*/
suggestion: string;

/**
* The name of the output field.
*/
title?: string;
}

Expand All @@ -29,8 +35,19 @@ export interface ApplicationGenerateContentParams {

export namespace ApplicationGenerateContentParams {
export interface Input {
/**
* The unique identifier for the input field from the application. All input types
* from the No-code application are supported (i.e. Text input, Dropdown, File
* upload, Image input). The identifier should be the name of the input type.
*/
id: string;

/**
* The value for the input field. If file is required you will need to pass a
* `file_id`. See
* [here](https://dev.writer.com/api-guides/api-reference/file-api/upload-files)
* for the Files API.
*/
value: Array<string>;
}
}
Expand Down