This commit is contained in:
2026-08-21 18:12:55 +04:00
parent f34fa6055c
commit 3c5157281e
1285 changed files with 4016 additions and 3302 deletions

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
)
// GetRequest struct to get background API task status and result

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/internal/validators"
)
// ListRequest struct to get list of audits
@@ -38,6 +38,14 @@ type ListRequest struct {
// Required: false
UpdateTimeTo uint64 `url:"updateTimeTo,omitempty" json:"updateTimeTo,omitempty"`
// Find all tasks created after point in time (unixtime)
// Required: false
CreatedTimeAt uint64 `url:"createdTimeAt,omitempty" json:"createdTimeAt,omitempty"`
// Find all tasks created after before in time (unixtime)
// Required: false
CreatedTimeTo uint64 `url:"createdTimeTo,omitempty" json:"createdTimeTo,omitempty"`
// Page number
// Default: 0
// Default: 0

View File

@@ -48,6 +48,9 @@ type ItemTask struct {
// Updated time
UpdatedTime uint64 `json:"updatedTime"`
// Time of creation
CreatedTime uint64 `json:"createdTime"`
}
// List of tasks

View File

@@ -1,7 +1,7 @@
// User API tasks interface
package tasks
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v15/interfaces"
import "repository.basistech.ru/BASIS/dynamix-golang-sdk/v16/interfaces"
// Structure for creating request to tasks
type Tasks struct {