add auth
Some checks failed
Build and Publish / build-release (push) Has been cancelled

This commit is contained in:
2026-05-15 10:19:57 -05:00
parent a06c5ece5d
commit c81b1673d4
20 changed files with 488 additions and 76 deletions

View File

@@ -144,7 +144,10 @@ defmodule WorkloadServiceWeb.Schemas.Task do
application_id: %Schema{type: :string},
policy_type: %Schema{type: :string, enum: ["car", "life", "fire"]},
task_info: %Schema{oneOf: [QuoteTaskInfo, SolicitationTaskInfo]},
status: %Schema{type: :string, enum: ["created", "draft", "approved", "completed"]},
status: %Schema{
type: :string,
enum: ["created", "draft", "approval_requested", "approved", "completed"]
},
created_at: %Schema{type: :string, format: :"date-time"}
}
})
@@ -167,7 +170,10 @@ defmodule WorkloadServiceWeb.Schemas.Task do
nullable: true
},
attachments: %Schema{type: :array, items: %Schema{type: :string}},
status: %Schema{type: :string, enum: ["created", "draft", "approved", "completed"]},
status: %Schema{
type: :string,
enum: ["created", "draft", "approval_requested", "approved", "completed"]
},
created_at: %Schema{type: :string, format: :"date-time"},
updated_at: %Schema{type: :string, format: :"date-time"}
}