diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45c97ff..ceeeb7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: env: XDEBUG_MODE: coverage with: - version: "10.1" + version: "10.5" php_version: "8.2" php_extensions: intl xdebug coverage_clover: clover.xml diff --git a/src/Models/Backlog.php b/src/Models/Backlog.php index 9fb356a..501df35 100644 --- a/src/Models/Backlog.php +++ b/src/Models/Backlog.php @@ -39,6 +39,34 @@ class Backlog extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, 'active' => true, 'canceled' => false, 'closed' => false, diff --git a/src/Models/Board.php b/src/Models/Board.php index f4d24c7..c61d44a 100644 --- a/src/Models/Board.php +++ b/src/Models/Board.php @@ -20,6 +20,8 @@ class Board extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'board_type' => null, @@ -37,9 +39,62 @@ class Board extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Epic.php b/src/Models/Epic.php index 0183456..bcb9afc 100644 --- a/src/Models/Epic.php +++ b/src/Models/Epic.php @@ -20,6 +20,8 @@ class Epic extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'epic_type' => null, @@ -37,9 +39,65 @@ class Epic extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'ui' => '{}', + 'avatar' => '', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Flow.php b/src/Models/Flow.php index ef568ac..37da2dc 100644 --- a/src/Models/Flow.php +++ b/src/Models/Flow.php @@ -20,15 +20,73 @@ class Flow extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'flow_type' => null, 'note_id' => null, 'tag_id' => null, 'team_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'flow' => '{}', 'meta' => '{}', diff --git a/src/Models/Milestone.php b/src/Models/Milestone.php index 3cce3d7..b09ff42 100644 --- a/src/Models/Milestone.php +++ b/src/Models/Milestone.php @@ -20,6 +20,8 @@ class Milestone extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'milestone_type' => null, @@ -37,9 +39,65 @@ class Milestone extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Note.php b/src/Models/Note.php index 6289c83..2cad8dc 100644 --- a/src/Models/Note.php +++ b/src/Models/Note.php @@ -19,12 +19,70 @@ class Note extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'note_type' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Project.php b/src/Models/Project.php index dbcc160..e37f8fc 100644 --- a/src/Models/Project.php +++ b/src/Models/Project.php @@ -20,6 +20,8 @@ class Project extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'project_type' => null, @@ -37,9 +39,65 @@ class Project extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Release.php b/src/Models/Release.php index 2aa4144..a55dc35 100644 --- a/src/Models/Release.php +++ b/src/Models/Release.php @@ -20,6 +20,8 @@ class Release extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'release_type' => null, @@ -37,9 +39,65 @@ class Release extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Roadmap.php b/src/Models/Roadmap.php index a86e4e3..0bae426 100644 --- a/src/Models/Roadmap.php +++ b/src/Models/Roadmap.php @@ -20,6 +20,8 @@ class Roadmap extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'roadmap_type' => null, @@ -37,9 +39,65 @@ class Roadmap extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Source.php b/src/Models/Source.php index a6a80c8..99b5d78 100644 --- a/src/Models/Source.php +++ b/src/Models/Source.php @@ -20,6 +20,8 @@ class Source extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'source_type' => null, @@ -37,9 +39,65 @@ class Source extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Sprint.php b/src/Models/Sprint.php index c1db5e4..aa7258f 100644 --- a/src/Models/Sprint.php +++ b/src/Models/Sprint.php @@ -20,6 +20,8 @@ class Sprint extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'sprint_type' => null, @@ -37,9 +39,65 @@ class Sprint extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Tag.php b/src/Models/Tag.php index 85bca8f..5700906 100644 --- a/src/Models/Tag.php +++ b/src/Models/Tag.php @@ -20,6 +20,8 @@ class Tag extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'tag_type' => null, @@ -37,9 +39,65 @@ class Tag extends Model 'team_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'ui' => '{}', + 'avatar' => '', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Team.php b/src/Models/Team.php index e99c086..114bfdb 100644 --- a/src/Models/Team.php +++ b/src/Models/Team.php @@ -20,6 +20,8 @@ class Team extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'team_type' => null, @@ -37,9 +39,65 @@ class Team extends Model 'tag_id' => null, 'ticket_id' => null, 'version_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}', diff --git a/src/Models/Ticket.php b/src/Models/Ticket.php index 25d01fc..b52da50 100644 --- a/src/Models/Ticket.php +++ b/src/Models/Ticket.php @@ -43,6 +43,34 @@ class Ticket extends Model 'team_id' => null, 'version_id' => null, 'version_fixed_id' => null, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, 'active' => true, 'canceled' => false, 'closed' => false, diff --git a/src/Models/Version.php b/src/Models/Version.php index be11584..e16ce53 100644 --- a/src/Models/Version.php +++ b/src/Models/Version.php @@ -20,6 +20,8 @@ class Version extends Model * @var array */ protected $attributes = [ + 'created_by_id' => null, + 'modified_by_id' => null, 'owned_by_id' => null, 'parent_id' => null, 'version_type' => null, @@ -37,9 +39,65 @@ class Version extends Model 'tag_id' => null, 'team_id' => null, 'ticket_id' => null, - 'content' => '', - 'summary' => '', - 'status' => 1, + 'created_at' => null, + 'updated_at' => null, + 'deleted_at' => null, + 'start_at' => null, + 'planned_start_at' => null, + 'end_at' => null, + 'planned_end_at' => null, + 'canceled_at' => null, + 'closed_at' => null, + 'embargo_at' => null, + 'fixed_at' => null, + 'postponed_at' => null, + 'published_at' => null, + 'released_at' => null, + 'resumed_at' => null, + 'resolved_at' => null, + 'suspended_at' => null, + 'gids' => 0, + 'po' => 0, + 'pg' => 0, + 'pw' => 0, + 'only_admin' => false, + 'only_user' => false, + 'only_guest' => false, + 'allow_public' => false, + 'status' => 0, + 'rank' => 0, + 'size' => 0, + 'active' => true, + 'canceled' => false, + 'closed' => false, + 'completed' => false, + 'duplicate' => false, + 'fixed' => false, + 'flagged' => false, + 'internal' => false, + 'locked' => false, + 'pending' => false, + 'planned' => false, + 'problem' => false, + 'published' => false, + 'released' => false, + 'retired' => false, + 'resolved' => false, + 'suspended' => false, + 'unknown' => false, + 'label' => '', + 'title' => '', + 'byline' => '', + 'slug' => null, + 'url' => '', + 'description' => '', + 'introduction' => '', + 'content' => null, + 'summary' => null, + 'icon' => '', + 'image' => '', + 'avatar' => '', + 'ui' => '{}', 'assets' => '{}', 'backlog' => '{}', 'board' => '{}',