immich/mobile/openapi/test/workflows_api_test.dart

84 lines
2.3 KiB
Dart

//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.18
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:test/test.dart';
/// tests for WorkflowsApi
void main() {
// final instance = WorkflowsApi();
group('tests for WorkflowsApi', () {
// Create a workflow
//
// Create a new workflow, the workflow can also be created with empty filters and actions.
//
//Future<WorkflowResponseDto> createWorkflow(WorkflowCreateDto workflowCreateDto) async
test('test createWorkflow', () async {
// TODO
});
// Delete a workflow
//
// Delete a workflow by its ID.
//
//Future deleteWorkflow(String id) async
test('test deleteWorkflow', () async {
// TODO
});
// Retrieve a workflow
//
// Retrieve information about a specific workflow by its ID.
//
//Future<WorkflowResponseDto> getWorkflow(String id) async
test('test getWorkflow', () async {
// TODO
});
// Retrieve a workflow
//
// Retrieve a workflow details without ids, default values, etc.
//
//Future<WorkflowShareResponseDto> getWorkflowForShare(String id) async
test('test getWorkflowForShare', () async {
// TODO
});
// List all workflow triggers
//
// Retrieve a list of all available workflow triggers.
//
//Future<List<WorkflowTriggerResponseDto>> getWorkflowTriggers() async
test('test getWorkflowTriggers', () async {
// TODO
});
// List all workflows
//
// Retrieve a list of workflows available to the authenticated user.
//
//Future<List<WorkflowResponseDto>> searchWorkflows({ String description, bool enabled, String id, String name, WorkflowTrigger trigger }) async
test('test searchWorkflows', () async {
// TODO
});
// Update a workflow
//
// Update the information of a specific workflow by its ID. This endpoint can be used to update the workflow name, description, trigger type, filters and actions order, etc.
//
//Future<WorkflowResponseDto> updateWorkflow(String id, WorkflowUpdateDto workflowUpdateDto) async
test('test updateWorkflow', () async {
// TODO
});
});
}