|
1 |
| -/** |
2 |
| - * `BuildInfoResponse` must be kept in sync with the go struct in buildinfo.go. |
3 |
| - */ |
4 |
| -exportinterfaceBuildInfoResponse{ |
5 |
| -external_url:string |
6 |
| -version:string |
7 |
| -} |
8 |
| - |
9 |
| -exportinterfaceLoginResponse{ |
10 |
| -session_token:string |
11 |
| -} |
12 |
| - |
13 |
| -exportinterfaceCreateUserRequest{ |
14 |
| -username:string |
15 |
| -email:string |
16 |
| -password:string |
17 |
| -organization_id:string |
18 |
| -} |
19 |
| - |
20 |
| -exportinterfaceUserResponse{ |
21 |
| -readonlyid:string |
22 |
| -readonlyusername:string |
23 |
| -readonlyemail:string |
24 |
| -readonlycreated_at:string |
25 |
| -readonlystatus:"active"|"suspended" |
26 |
| -readonlyorganization_ids:string[] |
27 |
| -readonlyroles:{name:string;display_name:string}[] |
28 |
| -} |
29 |
| - |
30 |
| -/** |
31 |
| - * `Organization` must be kept in sync with the go struct in organizations.go |
32 |
| - */ |
33 |
| -exportinterfaceOrganization{ |
34 |
| -id:string |
35 |
| -name:string |
36 |
| -created_at:string |
37 |
| -updated_at:string |
38 |
| -} |
39 |
| - |
40 |
| -exportinterfaceProvisioner{ |
41 |
| -id:string |
42 |
| -name:string |
43 |
| -} |
44 |
| - |
45 |
| -// This must be kept in sync with the `Template` struct in the back-end |
46 |
| -exportinterfaceTemplate{ |
47 |
| -id:string |
48 |
| -created_at:string |
49 |
| -updated_at:string |
50 |
| -organization_id:string |
51 |
| -name:string |
52 |
| -provisioner:string |
53 |
| -active_version_id:string |
54 |
| -} |
55 |
| - |
56 |
| -exportinterfaceCreateTemplateRequest{ |
57 |
| -name:string |
58 |
| -organizationId:string |
59 |
| -provisioner:string |
60 |
| -} |
61 |
| - |
62 |
| -exportinterfaceCreateWorkspaceRequest{ |
63 |
| -name:string |
64 |
| -template_id:string |
65 |
| -organization_id:string |
66 |
| -} |
67 |
| - |
68 |
| -exportinterfaceWorkspaceBuild{ |
69 |
| -id:string |
70 |
| -} |
71 |
| - |
72 |
| -exportinterfaceWorkspace{ |
73 |
| -id:string |
74 |
| -created_at:string |
75 |
| -updated_at:string |
76 |
| -owner_id:string |
77 |
| -template_id:string |
78 |
| -name:string |
79 |
| -autostart_schedule:string |
80 |
| -autostop_schedule:string |
81 |
| -latest_build:WorkspaceBuild |
82 |
| -} |
83 |
| - |
84 |
| -exportinterfaceWorkspaceResource{ |
85 |
| -id:string |
86 |
| -agents?:WorkspaceAgent[] |
87 |
| -} |
88 |
| - |
89 |
| -exportinterfaceWorkspaceAgent{ |
90 |
| -id:string |
91 |
| -name:string |
92 |
| -operating_system:string |
93 |
| -} |
94 |
| - |
95 |
| -exportinterfaceAPIKeyResponse{ |
96 |
| -key:string |
97 |
| -} |
98 |
| - |
99 | 1 | exportinterfaceUserAgent{
|
100 | 2 | readonlybrowser:string
|
101 | 3 | readonlydevice:string
|
102 | 4 | readonlyip_address:string
|
103 | 5 | readonlyos:string
|
104 | 6 | }
|
105 | 7 |
|
106 |
| -exportinterfaceWorkspaceAutostartRequest{ |
107 |
| -schedule:string |
108 |
| -} |
109 |
| - |
110 |
| -exportinterfaceWorkspaceAutostopRequest{ |
111 |
| -schedule:string |
112 |
| -} |
113 |
| - |
114 |
| -exportinterfaceUpdateProfileRequest{ |
115 |
| -readonlyusername:string |
116 |
| -readonlyemail:string |
117 |
| -} |
118 |
| - |
119 | 8 | exportinterfaceReconnectingPTYRequest{
|
120 | 9 | readonlydata?:string
|
121 | 10 | readonlyheight?:number
|
|