@@ -52,3 +52,46 @@ type createFolderResult struct {
5252type uploadURLResult struct {
5353 URL string `json:"url"`
5454}
55+
56+ type remoteDlAddResult struct {
57+ ID string `json:"id"`
58+ FolderID string `json:"folderid"`
59+ }
60+
61+ type remoteDlStatusResult map [string ]remoteDlStatusItem
62+
63+ type remoteDlStatusItem struct {
64+ ID string `json:"id"`
65+ RemoteURL string `json:"remoteurl"`
66+ Status string `json:"status"`
67+ BytesLoaded interface {} `json:"bytes_loaded"`
68+ BytesTotal interface {} `json:"bytes_total"`
69+ FolderID string `json:"folderid"`
70+ Added string `json:"added"`
71+ LastUpdate string `json:"last_update"`
72+ ExtID bool `json:"extid"`
73+ URL bool `json:"url"`
74+ }
75+
76+ type fileInfoResult map [string ]fileInfoItem
77+
78+ type fileInfoItem struct {
79+ ID string `json:"id"`
80+ Name string `json:"name"`
81+ Size int64 `json:"size"`
82+ Type string `json:"type"`
83+ Converted bool `json:"converted"`
84+ Status int `json:"status"`
85+ }
86+
87+ type conversionResult []conversionItem
88+
89+ type conversionItem struct {
90+ Name string `json:"name"`
91+ FolderID string `json:"folderid"`
92+ Status string `json:"status"`
93+ Progress int `json:"progress"`
94+ Retries int `json:"retries"`
95+ Link string `json:"link"`
96+ LinkID string `json:"linkid"`
97+ }
0 commit comments