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 @@ -114,9 +114,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.A

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"agent-edit-job", @"Agent edit
var command = new Command(commandName ?? @"agent-edit-job", @"Agent edit
Use a background agent to create and edit projects using a natural language prompt.

- **Edit existing project**: Provide a `project_id` to edit an existing project
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ internal static partial class ApiEndpointsCancelJobCommandApiCommand

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"cancel-job", @"Cancel job
var command = new Command(commandName ?? @"cancel-job", @"Cancel job
Cancel a running job.
");
command.Arguments.Add(JobId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ internal static partial class ApiEndpointsExportTranscriptAsBytesCommandApiComma

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"export-transcript-as-bytes", @"Export project transcript
var command = new Command(commandName ?? @"export-transcript-as-bytes", @"Export project transcript
Export the transcript from a project composition.

Supports plain text, Markdown, HTML, RTF, DOCX, and SRT (SubRip subtitle) formats.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ private static string FormatResponse(ParseResult parseResult, string value, glob

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"export-transcript", @"Export project transcript
var command = new Command(commandName ?? @"export-transcript", @"Export project transcript
Export the transcript from a project composition.

Supports plain text, Markdown, HTML, RTF, DOCX, and SRT (SubRip subtitle) formats.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.J

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-job", @"Get job status
var command = new Command(commandName ?? @"get-job", @"Get job status
Retrieve the status of any job.

The response format varies based on job type and includes type-specific fields.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.G

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-project", @"Get project details
var command = new Command(commandName ?? @"get-project", @"Get project details
Get a detailed project summary including all media files, compositions,
and existing publishes.

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

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-status", @"Check API status
var command = new Command(commandName ?? @"get-status", @"Check API status
Check API availability and validate authentication token.

This endpoint can be used to:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.I

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"import-project-media", @"Import media and sequences
var command = new Command(commandName ?? @"import-project-media", @"Import media and sequences
Import media files into a new or existing project and create compositions.

This endpoint can:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.L

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"list-agent-models", @"List agent models
var command = new Command(commandName ?? @"list-agent-models", @"List agent models
List the currently available agent models and the aliases that resolve to them.

The `model` parameter on [POST /jobs/agent](#operation/agentEditJob) accepts any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.L

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"list-jobs", @"List jobs
var command = new Command(commandName ?? @"list-jobs", @"List jobs
List recent jobs with optional filtering by project or job type.

By default, jobs created within the last 7 days are returned. Use `created_after` and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.L

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"list-projects", @"List projects
var command = new Command(commandName ?? @"list-projects", @"List projects
List projects accessible to the authenticated user within a drive.

The drive is determined from the access token.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.P

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"publish-job", @"Publish project media
var command = new Command(commandName ?? @"publish-job", @"Publish project media
Publish a project composition to create a shareable link and download the exported file.

Publishes a specific composition from a project, rendering the output as video or audio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.S

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"search", @"Search a drive
var command = new Command(commandName ?? @"search", @"Search a drive
Search the drive tied to the personal API token. Matches project names,
folder names, layout pack names, media file names, composition text,
and transcripts across projects, the drive media library, and Brand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.E

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"post-edit-in-descript-schema", @"Create Import URL
var command = new Command(commandName ?? @"post-edit-in-descript-schema", @"Create Import URL
Create an Import URL by sending a Project schema to Descript API from your service's backend.

### Import Schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ private static string FormatResponse(ParseResult parseResult, global::Descript.P

static partial void CustomizeCommand(ref Command command);

public static Command Create()
public static Command Create(string? commandName = null)
{
var command = new Command(@"get-published-project-metadata", @"Get Published Project Metadata
var command = new Command(commandName ?? @"get-published-project-metadata", @"Get Published Project Metadata
Retrieve metadata for a published Descript project by its URL slug. This endpoint provides information
about the published project including title, duration, publisher details, privacy settings, and subtitles.

Expand Down
Loading