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
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-avatar-videos", @"Generate avatar video from audio or text
var command = new Command(commandName ?? @"create-avatar-videos", @"Generate avatar video from audio or text
Start an asynchronous task to generate a video of an avatar speaking. Provide `speech` with `type: ""audio""` (audio file) or `type: ""text""` (text script for TTS). Poll `GET /v1/tasks/:id` to check progress and retrieve the output video URL once complete.");
command.Options.Add(XRunwayVersion);
command.Options.Add(Model);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-avatars", @"Create avatar
var command = new Command(commandName ?? @"create-avatars", @"Create avatar
Create a new avatar with a reference image and voice.");
command.Arguments.Add(NameOption);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ internal static partial class AvatarsDeleteAvatarConversationsByIdCommandApiComm

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"delete-avatar-conversations-by-id", @"Delete conversation
var command = new Command(commandName ?? @"delete-avatar-conversations-by-id", @"Delete conversation
Delete a conversation and its associated data.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ internal static partial class AvatarsDeleteAvatarsByIdCommandApiCommand

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"delete-avatars-by-id", @"Delete avatar
var command = new Command(commandName ?? @"delete-avatars-by-id", @"Delete avatar
Delete an avatar.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Pat

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"edit-avatars-by-id", @"Update avatar
var command = new Command(commandName ?? @"edit-avatars-by-id", @"Update avatar
Update an existing avatar. At least one field must be provided.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-avatar-conversations-by-id", @"Get conversation
var command = new Command(commandName ?? @"get-avatar-conversations-by-id", @"Get conversation
Get detailed information about a specific conversation, including the transcript and recording download URL when available. The conversation ID is the same value returned when the realtime session was created.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-avatar-conversations", @"List conversations
var command = new Command(commandName ?? @"get-avatar-conversations", @"List conversations
List realtime avatar conversations for the authenticated user with cursor-based pagination. Each conversation corresponds to a realtime session, and the conversation ID matches the realtime session ID. Pass `avatar` to restrict results to a single avatar.");
command.Options.Add(Cursor);
command.Options.Add(Limit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-avatar-usage", @"Get avatar usage
var command = new Command(commandName ?? @"get-avatar-usage", @"Get avatar usage
Get aggregate usage statistics for avatar conversations, including total duration, session counts, average duration, and a per-day breakdown. Per-day buckets are keyed by UTC calendar date. The date range must not exceed 90 days.");
command.Options.Add(StartDate);
command.Options.Add(EndDate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-avatars-by-id", @"Get avatar
var command = new Command(commandName ?? @"get-avatars-by-id", @"Get avatar
Get details of a specific avatar.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-avatars", @"List avatars
var command = new Command(commandName ?? @"get-avatars", @"List avatars
List avatars for the authenticated user with cursor-based pagination.");
command.Options.Add(Cursor);
command.Options.Add(Limit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-documents", @"Create document
var command = new Command(commandName ?? @"create-documents", @"Create document
Create a new knowledge document. Documents can be attached to avatars to provide additional context during conversations.");
command.Arguments.Add(NameOption);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ internal static partial class KnowledgeDeleteDocumentsByIdCommandApiCommand

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"delete-documents-by-id", @"Delete document
var command = new Command(commandName ?? @"delete-documents-by-id", @"Delete document
Delete a knowledge document. This also removes it from all avatars it was attached to.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ internal static partial class KnowledgeEditDocumentsByIdCommandApiCommand

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"edit-documents-by-id", @"Update document
var command = new Command(commandName ?? @"edit-documents-by-id", @"Update document
Update a knowledge document. At least one of `name` or `content` must be provided.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-documents-by-id", @"Get document
var command = new Command(commandName ?? @"get-documents-by-id", @"Get document
Get details of a specific knowledge document.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-documents", @"List documents
var command = new Command(commandName ?? @"get-documents", @"List documents
List knowledge documents for the authenticated user with cursor-based pagination.");
command.Options.Add(Cursor);
command.Options.Add(Limit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-generate-audio", @"Routed audio generation
var command = new Command(commandName ?? @"create-generate-audio", @"Routed audio generation
Start an audio generation task using a saved Model Router config instead of naming a model. Set input.type to speech to speak promptText verbatim, or audio to generate audio described by promptText.");
command.Options.Add(XRunwayVersion);
command.Options.Add(ConfigId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-generate-image", @"Routed image generation
var command = new Command(commandName ?? @"create-generate-image", @"Routed image generation
Start an image generation task using a saved Model Router config instead of naming a model.");
command.Options.Add(XRunwayVersion);
command.Options.Add(ConfigId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-generate-video", @"Routed video generation
var command = new Command(commandName ?? @"create-generate-video", @"Routed video generation
Start a video generation task using a saved Model Router config instead of naming a model.");
command.Options.Add(XRunwayVersion);
command.Options.Add(ConfigId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-routers", @"Create Model Router
var command = new Command(commandName ?? @"create-routers", @"Create Model Router
Create a Model Router configuration.");
command.Arguments.Add(Slug);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ internal static partial class ModelRouterDeleteRoutersByIdCommandApiCommand

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"delete-routers-by-id", @"Delete Model Router
var command = new Command(commandName ?? @"delete-routers-by-id", @"Delete Model Router
Delete a Model Router configuration. Deleted Model Routers cannot be used for generation.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Pat

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"edit-routers-by-id", @"Update Model Router
var command = new Command(commandName ?? @"edit-routers-by-id", @"Update Model Router
Update a Model Router configuration. Settings changes append a new version; name and description updates do not. Settings are merged with the current snapshot - omitted fields keep their existing values.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-routers-by-id", @"Retrieve Model Router
var command = new Command(commandName ?? @"get-routers-by-id", @"Retrieve Model Router
Retrieve a Model Router configuration by ID.");
command.Arguments.Add(Id);
command.Options.Add(XRunwayVersion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-routers-by-id-requests", @"List Model Router requests
var command = new Command(commandName ?? @"get-routers-by-id-requests", @"List Model Router requests
Paginated routing history for live Model Router requests (successful routes and failures). Playground dry runs are not recorded.");
command.Arguments.Add(Id);
command.Options.Add(Cursor);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-routers", @"List Model Routers
var command = new Command(commandName ?? @"get-routers", @"List Model Routers
List Model Router configurations for the authenticated organization with cursor-based pagination.");
command.Options.Add(Cursor);
command.Options.Add(Limit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Cre

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"create-organization-usage", @"Query credit usage
var command = new Command(commandName ?? @"create-organization-usage", @"Query credit usage
Fetch credit usage data broken down by model and day for the organization associated with the API key used to make the request. Up to 90 days of data can be queried at a time.");
command.Options.Add(XRunwayVersion);
command.Options.Add(StartDate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-organization", @"Get organization information
var command = new Command(commandName ?? @"get-organization", @"Get organization information
Get usage tier and credit balance information about the organization associated with the API key used to make the request.");
command.Options.Add(XRunwayVersion);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-organization-webapp-audit-logs-by-event-id", @"Get a linked workspace audit log entry
var command = new Command(commandName ?? @"get-organization-webapp-audit-logs-by-event-id", @"Get a linked workspace audit log entry
Get a single audit log entry, including its metadata and forensic details, for a linked Runway workspace you administer. Authorized via the account link between this API project and the workspace.");
command.Arguments.Add(EventId);
command.Options.Add(OrganizationId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-organization-webapp-audit-logs", @"List linked workspace audit logs
var command = new Command(commandName ?? @"get-organization-webapp-audit-logs", @"List linked workspace audit logs
List audit log entries for the linked Runway workspaces you administer, newest first. Authorized via the account link between this API project and the workspace.");
command.Options.Add(Cursor);
command.Options.Add(Limit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ private static string FormatResponse(ParseResult parseResult, global::Runway.Get

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-organization-webapp-usage", @"List linked workspace usage
var command = new Command(commandName ?? @"get-organization-webapp-usage", @"List linked workspace usage
List per-generation credit-usage rows for the linked Runway workspaces you administer, newest first. Unlike `/v1/organization/usage` (this API project's own usage), this reports usage from the workspace linked to this API project. Authorized via that account link.");
command.Options.Add(Cursor);
command.Options.Add(Limit);
Expand Down
Loading
Loading