@daytonaio/api-client 0.0.0-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/package.json +25 -0
  2. package/src/api/api-keys-api.d.ts +220 -0
  3. package/src/api/api-keys-api.js +428 -0
  4. package/src/api/api-keys-api.js.map +1 -0
  5. package/src/api/docker-registry-api.d.ts +299 -0
  6. package/src/api/docker-registry-api.js +592 -0
  7. package/src/api/docker-registry-api.js.map +1 -0
  8. package/src/api/object-storage-api.d.ts +74 -0
  9. package/src/api/object-storage-api.js +127 -0
  10. package/src/api/object-storage-api.js.map +1 -0
  11. package/src/api/organizations-api.d.ts +927 -0
  12. package/src/api/organizations-api.js +1891 -0
  13. package/src/api/organizations-api.js.map +1 -0
  14. package/src/api/preview-api.d.ts +143 -0
  15. package/src/api/preview-api.js +265 -0
  16. package/src/api/preview-api.js.map +1 -0
  17. package/src/api/runners-api.d.ts +204 -0
  18. package/src/api/runners-api.js +402 -0
  19. package/src/api/runners-api.js.map +1 -0
  20. package/src/api/sandbox-api.d.ts +598 -0
  21. package/src/api/sandbox-api.js +1212 -0
  22. package/src/api/sandbox-api.js.map +1 -0
  23. package/src/api/snapshots-api.d.ts +320 -0
  24. package/src/api/snapshots-api.js +629 -0
  25. package/src/api/snapshots-api.js.map +1 -0
  26. package/src/api/toolbox-api.d.ts +1724 -0
  27. package/src/api/toolbox-api.js +3501 -0
  28. package/src/api/toolbox-api.js.map +1 -0
  29. package/src/api/users-api.d.ts +300 -0
  30. package/src/api/users-api.js +599 -0
  31. package/src/api/users-api.js.map +1 -0
  32. package/src/api/volumes-api.d.ts +227 -0
  33. package/src/api/volumes-api.js +447 -0
  34. package/src/api/volumes-api.js.map +1 -0
  35. package/src/api/workspace-api.d.ts +654 -0
  36. package/src/api/workspace-api.js +1269 -0
  37. package/src/api/workspace-api.js.map +1 -0
  38. package/src/api.d.ts +23 -0
  39. package/src/api.js +41 -0
  40. package/src/api.js.map +1 -0
  41. package/src/base.d.ts +66 -0
  42. package/src/base.js +68 -0
  43. package/src/base.js.map +1 -0
  44. package/src/common.d.ts +65 -0
  45. package/src/common.js +146 -0
  46. package/src/common.js.map +1 -0
  47. package/src/configuration.d.ts +91 -0
  48. package/src/configuration.js +105 -0
  49. package/src/configuration.js.map +1 -0
  50. package/src/index.d.ts +14 -0
  51. package/src/index.js +32 -0
  52. package/src/index.js.map +1 -0
  53. package/src/models/account-provider.d.ts +30 -0
  54. package/src/models/account-provider.js +4 -0
  55. package/src/models/account-provider.js.map +1 -0
  56. package/src/models/api-key-list.d.ts +66 -0
  57. package/src/models/api-key-list.js +16 -0
  58. package/src/models/api-key-list.js.map +1 -0
  59. package/src/models/api-key-response.d.ts +60 -0
  60. package/src/models/api-key-response.js +16 -0
  61. package/src/models/api-key-response.js.map +1 -0
  62. package/src/models/build-info.d.ts +42 -0
  63. package/src/models/build-info.js +4 -0
  64. package/src/models/build-info.js.map +1 -0
  65. package/src/models/command.d.ts +36 -0
  66. package/src/models/command.js +4 -0
  67. package/src/models/command.js.map +1 -0
  68. package/src/models/completion-context.d.ts +30 -0
  69. package/src/models/completion-context.js +4 -0
  70. package/src/models/completion-context.js.map +1 -0
  71. package/src/models/completion-item.d.ts +60 -0
  72. package/src/models/completion-item.js +4 -0
  73. package/src/models/completion-item.js.map +1 -0
  74. package/src/models/completion-list.d.ts +31 -0
  75. package/src/models/completion-list.js +16 -0
  76. package/src/models/completion-list.js.map +1 -0
  77. package/src/models/create-api-key.d.ts +48 -0
  78. package/src/models/create-api-key.js +16 -0
  79. package/src/models/create-api-key.js.map +1 -0
  80. package/src/models/create-build-info.d.ts +30 -0
  81. package/src/models/create-build-info.js +4 -0
  82. package/src/models/create-build-info.js.map +1 -0
  83. package/src/models/create-docker-registry.d.ts +67 -0
  84. package/src/models/create-docker-registry.js +11 -0
  85. package/src/models/create-docker-registry.js.map +1 -0
  86. package/src/models/create-linked-account.d.ts +30 -0
  87. package/src/models/create-linked-account.js +4 -0
  88. package/src/models/create-linked-account.js.map +1 -0
  89. package/src/models/create-organization-invitation.d.ts +47 -0
  90. package/src/models/create-organization-invitation.js +9 -0
  91. package/src/models/create-organization-invitation.js.map +1 -0
  92. package/src/models/create-organization-quota.d.ts +72 -0
  93. package/src/models/create-organization-quota.js +4 -0
  94. package/src/models/create-organization-quota.js.map +1 -0
  95. package/src/models/create-organization-role.d.ts +48 -0
  96. package/src/models/create-organization-role.js +16 -0
  97. package/src/models/create-organization-role.js.map +1 -0
  98. package/src/models/create-organization.d.ts +24 -0
  99. package/src/models/create-organization.js +4 -0
  100. package/src/models/create-organization.js.map +1 -0
  101. package/src/models/create-runner.d.ts +96 -0
  102. package/src/models/create-runner.js +15 -0
  103. package/src/models/create-runner.js.map +1 -0
  104. package/src/models/create-sandbox.d.ts +126 -0
  105. package/src/models/create-sandbox.js +27 -0
  106. package/src/models/create-sandbox.js.map +1 -0
  107. package/src/models/create-session-request.d.ts +24 -0
  108. package/src/models/create-session-request.js +4 -0
  109. package/src/models/create-session-request.js.map +1 -0
  110. package/src/models/create-snapshot.d.ts +73 -0
  111. package/src/models/create-snapshot.js +16 -0
  112. package/src/models/create-snapshot.js.map +1 -0
  113. package/src/models/create-user.d.ts +60 -0
  114. package/src/models/create-user.js +21 -0
  115. package/src/models/create-user.js.map +1 -0
  116. package/src/models/create-volume.d.ts +24 -0
  117. package/src/models/create-volume.js +4 -0
  118. package/src/models/create-volume.js.map +1 -0
  119. package/src/models/create-workspace.d.ts +126 -0
  120. package/src/models/create-workspace.js +27 -0
  121. package/src/models/create-workspace.js.map +1 -0
  122. package/src/models/docker-registry.d.ts +73 -0
  123. package/src/models/docker-registry.js +11 -0
  124. package/src/models/docker-registry.js.map +1 -0
  125. package/src/models/execute-request.d.ts +36 -0
  126. package/src/models/execute-request.js +4 -0
  127. package/src/models/execute-request.js.map +1 -0
  128. package/src/models/execute-response.d.ts +30 -0
  129. package/src/models/execute-response.js +4 -0
  130. package/src/models/execute-response.js.map +1 -0
  131. package/src/models/file-info.d.ts +66 -0
  132. package/src/models/file-info.js +4 -0
  133. package/src/models/file-info.js.map +1 -0
  134. package/src/models/file-status.d.ts +42 -0
  135. package/src/models/file-status.js +4 -0
  136. package/src/models/file-status.js.map +1 -0
  137. package/src/models/git-add-request.d.ts +30 -0
  138. package/src/models/git-add-request.js +4 -0
  139. package/src/models/git-add-request.js.map +1 -0
  140. package/src/models/git-branch-request.d.ts +30 -0
  141. package/src/models/git-branch-request.js +4 -0
  142. package/src/models/git-branch-request.js.map +1 -0
  143. package/src/models/git-checkout-request.d.ts +30 -0
  144. package/src/models/git-checkout-request.js +4 -0
  145. package/src/models/git-checkout-request.js.map +1 -0
  146. package/src/models/git-clone-request.d.ts +54 -0
  147. package/src/models/git-clone-request.js +4 -0
  148. package/src/models/git-clone-request.js.map +1 -0
  149. package/src/models/git-commit-info.d.ts +48 -0
  150. package/src/models/git-commit-info.js +4 -0
  151. package/src/models/git-commit-info.js.map +1 -0
  152. package/src/models/git-commit-request.d.ts +42 -0
  153. package/src/models/git-commit-request.js +4 -0
  154. package/src/models/git-commit-request.js.map +1 -0
  155. package/src/models/git-commit-response.d.ts +24 -0
  156. package/src/models/git-commit-response.js +4 -0
  157. package/src/models/git-commit-response.js.map +1 -0
  158. package/src/models/git-delete-branch-request.d.ts +30 -0
  159. package/src/models/git-delete-branch-request.js +4 -0
  160. package/src/models/git-delete-branch-request.js.map +1 -0
  161. package/src/models/git-repo-request.d.ts +36 -0
  162. package/src/models/git-repo-request.js +4 -0
  163. package/src/models/git-repo-request.js.map +1 -0
  164. package/src/models/git-status.d.ts +49 -0
  165. package/src/models/git-status.js +16 -0
  166. package/src/models/git-status.js.map +1 -0
  167. package/src/models/index.d.ts +89 -0
  168. package/src/models/index.js +106 -0
  169. package/src/models/index.js.map +1 -0
  170. package/src/models/list-branch-response.d.ts +24 -0
  171. package/src/models/list-branch-response.js +4 -0
  172. package/src/models/list-branch-response.js.map +1 -0
  173. package/src/models/lsp-completion-params.d.ts +50 -0
  174. package/src/models/lsp-completion-params.js +16 -0
  175. package/src/models/lsp-completion-params.js.map +1 -0
  176. package/src/models/lsp-document-request.d.ts +36 -0
  177. package/src/models/lsp-document-request.js +4 -0
  178. package/src/models/lsp-document-request.js.map +1 -0
  179. package/src/models/lsp-location.d.ts +31 -0
  180. package/src/models/lsp-location.js +16 -0
  181. package/src/models/lsp-location.js.map +1 -0
  182. package/src/models/lsp-server-request.d.ts +30 -0
  183. package/src/models/lsp-server-request.js +4 -0
  184. package/src/models/lsp-server-request.js.map +1 -0
  185. package/src/models/lsp-symbol.d.ts +37 -0
  186. package/src/models/lsp-symbol.js +16 -0
  187. package/src/models/lsp-symbol.js.map +1 -0
  188. package/src/models/match.d.ts +36 -0
  189. package/src/models/match.js +4 -0
  190. package/src/models/match.js.map +1 -0
  191. package/src/models/organization-invitation.d.ts +97 -0
  192. package/src/models/organization-invitation.js +27 -0
  193. package/src/models/organization-invitation.js.map +1 -0
  194. package/src/models/organization-role.d.ts +72 -0
  195. package/src/models/organization-role.js +16 -0
  196. package/src/models/organization-role.js.map +1 -0
  197. package/src/models/organization-suspension.d.ts +30 -0
  198. package/src/models/organization-suspension.js +4 -0
  199. package/src/models/organization-suspension.js.map +1 -0
  200. package/src/models/organization-user.d.ts +72 -0
  201. package/src/models/organization-user.js +21 -0
  202. package/src/models/organization-user.js.map +1 -0
  203. package/src/models/organization.d.ts +78 -0
  204. package/src/models/organization.js +4 -0
  205. package/src/models/organization.js.map +1 -0
  206. package/src/models/paginated-snapshots-dto.d.ts +43 -0
  207. package/src/models/paginated-snapshots-dto.js +16 -0
  208. package/src/models/paginated-snapshots-dto.js.map +1 -0
  209. package/src/models/port-preview-url.d.ts +30 -0
  210. package/src/models/port-preview-url.js +4 -0
  211. package/src/models/port-preview-url.js.map +1 -0
  212. package/src/models/position.d.ts +30 -0
  213. package/src/models/position.js +4 -0
  214. package/src/models/position.js.map +1 -0
  215. package/src/models/project-dir-response.d.ts +24 -0
  216. package/src/models/project-dir-response.js +4 -0
  217. package/src/models/project-dir-response.js.map +1 -0
  218. package/src/models/range.d.ts +31 -0
  219. package/src/models/range.js +16 -0
  220. package/src/models/range.js.map +1 -0
  221. package/src/models/registry-push-access-dto.d.ts +54 -0
  222. package/src/models/registry-push-access-dto.js +4 -0
  223. package/src/models/registry-push-access-dto.js.map +1 -0
  224. package/src/models/replace-request.d.ts +36 -0
  225. package/src/models/replace-request.js +4 -0
  226. package/src/models/replace-request.js.map +1 -0
  227. package/src/models/replace-result.d.ts +36 -0
  228. package/src/models/replace-result.js +4 -0
  229. package/src/models/replace-result.js.map +1 -0
  230. package/src/models/runner-region.d.ts +22 -0
  231. package/src/models/runner-region.js +26 -0
  232. package/src/models/runner-region.js.map +1 -0
  233. package/src/models/runner-snapshot-dto.d.ts +36 -0
  234. package/src/models/runner-snapshot-dto.js +4 -0
  235. package/src/models/runner-snapshot-dto.js.map +1 -0
  236. package/src/models/runner-state.d.ts +24 -0
  237. package/src/models/runner-state.js +28 -0
  238. package/src/models/runner-state.js.map +1 -0
  239. package/src/models/runner.d.ts +129 -0
  240. package/src/models/runner.js +16 -0
  241. package/src/models/runner.js.map +1 -0
  242. package/src/models/sandbox-class.d.ts +22 -0
  243. package/src/models/sandbox-class.js +26 -0
  244. package/src/models/sandbox-class.js.map +1 -0
  245. package/src/models/sandbox-info.d.ts +37 -0
  246. package/src/models/sandbox-info.js +4 -0
  247. package/src/models/sandbox-info.js.map +1 -0
  248. package/src/models/sandbox-labels.d.ts +26 -0
  249. package/src/models/sandbox-labels.js +4 -0
  250. package/src/models/sandbox-labels.js.map +1 -0
  251. package/src/models/sandbox-state.d.ts +35 -0
  252. package/src/models/sandbox-state.js +39 -0
  253. package/src/models/sandbox-state.js.map +1 -0
  254. package/src/models/sandbox-volume.d.ts +30 -0
  255. package/src/models/sandbox-volume.js +4 -0
  256. package/src/models/sandbox-volume.js.map +1 -0
  257. package/src/models/sandbox.d.ts +190 -0
  258. package/src/models/sandbox.js +29 -0
  259. package/src/models/sandbox.js.map +1 -0
  260. package/src/models/search-files-response.d.ts +24 -0
  261. package/src/models/search-files-response.js +4 -0
  262. package/src/models/search-files-response.js.map +1 -0
  263. package/src/models/session-execute-request.d.ts +37 -0
  264. package/src/models/session-execute-request.js +4 -0
  265. package/src/models/session-execute-request.js.map +1 -0
  266. package/src/models/session-execute-response.d.ts +36 -0
  267. package/src/models/session-execute-response.js +4 -0
  268. package/src/models/session-execute-response.js.map +1 -0
  269. package/src/models/session.d.ts +31 -0
  270. package/src/models/session.js +16 -0
  271. package/src/models/session.js.map +1 -0
  272. package/src/models/set-snapshot-general-status-dto.d.ts +24 -0
  273. package/src/models/set-snapshot-general-status-dto.js +4 -0
  274. package/src/models/set-snapshot-general-status-dto.js.map +1 -0
  275. package/src/models/snapshot-dto.d.ts +128 -0
  276. package/src/models/snapshot-dto.js +16 -0
  277. package/src/models/snapshot-dto.js.map +1 -0
  278. package/src/models/snapshot-state.d.ts +29 -0
  279. package/src/models/snapshot-state.js +33 -0
  280. package/src/models/snapshot-state.js.map +1 -0
  281. package/src/models/storage-access-dto.d.ts +54 -0
  282. package/src/models/storage-access-dto.js +4 -0
  283. package/src/models/storage-access-dto.js.map +1 -0
  284. package/src/models/toggle-state.d.ts +24 -0
  285. package/src/models/toggle-state.js +4 -0
  286. package/src/models/toggle-state.js.map +1 -0
  287. package/src/models/update-assigned-organization-roles.d.ts +24 -0
  288. package/src/models/update-assigned-organization-roles.js +4 -0
  289. package/src/models/update-assigned-organization-roles.js.map +1 -0
  290. package/src/models/update-docker-registry.d.ts +36 -0
  291. package/src/models/update-docker-registry.js +4 -0
  292. package/src/models/update-docker-registry.js.map +1 -0
  293. package/src/models/update-organization-invitation.d.ts +41 -0
  294. package/src/models/update-organization-invitation.js +9 -0
  295. package/src/models/update-organization-invitation.js.map +1 -0
  296. package/src/models/update-organization-member-role.d.ts +29 -0
  297. package/src/models/update-organization-member-role.js +9 -0
  298. package/src/models/update-organization-member-role.js.map +1 -0
  299. package/src/models/update-organization-quota.d.ts +72 -0
  300. package/src/models/update-organization-quota.js +4 -0
  301. package/src/models/update-organization-quota.js.map +1 -0
  302. package/src/models/update-organization-role.d.ts +48 -0
  303. package/src/models/update-organization-role.js +16 -0
  304. package/src/models/update-organization-role.js.map +1 -0
  305. package/src/models/usage-overview.d.ts +60 -0
  306. package/src/models/usage-overview.js +4 -0
  307. package/src/models/usage-overview.js.map +1 -0
  308. package/src/models/user-public-key.d.ts +30 -0
  309. package/src/models/user-public-key.js +4 -0
  310. package/src/models/user-public-key.js.map +1 -0
  311. package/src/models/user.d.ts +43 -0
  312. package/src/models/user.js +16 -0
  313. package/src/models/user.js.map +1 -0
  314. package/src/models/volume-dto.d.ts +67 -0
  315. package/src/models/volume-dto.js +16 -0
  316. package/src/models/volume-dto.js.map +1 -0
  317. package/src/models/volume-state.d.ts +26 -0
  318. package/src/models/volume-state.js +30 -0
  319. package/src/models/volume-state.js.map +1 -0
  320. package/src/models/workspace.d.ts +229 -0
  321. package/src/models/workspace.js +36 -0
  322. package/src/models/workspace.js.map +1 -0
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona
6
+ * Daytona AI platform API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: support@daytona.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.Configuration = void 0;
17
+ class Configuration {
18
+ /**
19
+ * parameter for apiKey security
20
+ * @param name security name
21
+ * @memberof Configuration
22
+ */
23
+ apiKey;
24
+ /**
25
+ * parameter for basic security
26
+ *
27
+ * @type {string}
28
+ * @memberof Configuration
29
+ */
30
+ username;
31
+ /**
32
+ * parameter for basic security
33
+ *
34
+ * @type {string}
35
+ * @memberof Configuration
36
+ */
37
+ password;
38
+ /**
39
+ * parameter for oauth2 security
40
+ * @param name security name
41
+ * @param scopes oauth2 scope
42
+ * @memberof Configuration
43
+ */
44
+ accessToken;
45
+ /**
46
+ * override base path
47
+ *
48
+ * @type {string}
49
+ * @memberof Configuration
50
+ */
51
+ basePath;
52
+ /**
53
+ * override server index
54
+ *
55
+ * @type {number}
56
+ * @memberof Configuration
57
+ */
58
+ serverIndex;
59
+ /**
60
+ * base options for axios calls
61
+ *
62
+ * @type {any}
63
+ * @memberof Configuration
64
+ */
65
+ baseOptions;
66
+ /**
67
+ * The FormData constructor that will be used to create multipart form data
68
+ * requests. You can inject this here so that execution environments that
69
+ * do not support the FormData class can still run the generated client.
70
+ *
71
+ * @type {new () => FormData}
72
+ */
73
+ formDataCtor;
74
+ constructor(param = {}) {
75
+ this.apiKey = param.apiKey;
76
+ this.username = param.username;
77
+ this.password = param.password;
78
+ this.accessToken = param.accessToken;
79
+ this.basePath = param.basePath;
80
+ this.serverIndex = param.serverIndex;
81
+ this.baseOptions = {
82
+ ...param.baseOptions,
83
+ headers: {
84
+ ...param.baseOptions?.headers,
85
+ },
86
+ };
87
+ this.formDataCtor = param.formDataCtor;
88
+ }
89
+ /**
90
+ * Check if the given MIME is a JSON MIME.
91
+ * JSON MIME examples:
92
+ * application/json
93
+ * application/json; charset=UTF8
94
+ * APPLICATION/JSON
95
+ * application/vnd.company+json
96
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
97
+ * @return True if the given MIME is JSON, false otherwise.
98
+ */
99
+ isJsonMime(mime) {
100
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
101
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
102
+ }
103
+ }
104
+ exports.Configuration = Configuration;
105
+ //# sourceMappingURL=configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../libs/api-client/src/configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH,MAAa,aAAa;IACxB;;;;OAIG;IACH,MAAM,CAA8F;IACpG;;;;;OAKG;IACH,QAAQ,CAAS;IACjB;;;;;OAKG;IACH,QAAQ,CAAS;IACjB;;;;;OAKG;IACH,WAAW,CAIgD;IAC3D;;;;;OAKG;IACH,QAAQ,CAAS;IACjB;;;;;OAKG;IACH,WAAW,CAAS;IACpB;;;;;OAKG;IACH,WAAW,CAAM;IACjB;;;;;;OAMG;IACH,YAAY,CAAgB;IAE5B,YAAY,QAAiC,EAAE;QAC7C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAA;QAC1B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAA;QACpC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAA;QACpC,IAAI,CAAC,WAAW,GAAG;YACjB,GAAG,KAAK,CAAC,WAAW;YACpB,OAAO,EAAE;gBACP,GAAG,KAAK,CAAC,WAAW,EAAE,OAAO;aAC9B;SACF,CAAA;QACD,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAA;IACxC,CAAC;IAED;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAY;QAC5B,MAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAA;QACzG,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAA;IACvG,CAAC;CACF;AA5FD,sCA4FC"}
package/src/index.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export * from './api';
13
+ export * from './configuration';
14
+ export * from './models';
package/src/index.js ADDED
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ /**
19
+ * Daytona
20
+ * Daytona AI platform API Docs
21
+ *
22
+ * The version of the OpenAPI document: 1.0
23
+ * Contact: support@daytona.com
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ */
29
+ __exportStar(require("./api"), exports);
30
+ __exportStar(require("./configuration"), exports);
31
+ __exportStar(require("./models"), exports);
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/api-client/src/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB;;;;;;;;;;GAUG;AAEH,wCAAqB;AACrB,kDAA+B;AAC/B,2CAAwB"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface AccountProvider
16
+ */
17
+ export interface AccountProvider {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountProvider
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountProvider
28
+ */
29
+ displayName: string;
30
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=account-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account-provider.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/account-provider.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiKeyList
16
+ */
17
+ export interface ApiKeyList {
18
+ /**
19
+ * The name of the API key
20
+ * @type {string}
21
+ * @memberof ApiKeyList
22
+ */
23
+ name: string;
24
+ /**
25
+ * The masked API key value
26
+ * @type {string}
27
+ * @memberof ApiKeyList
28
+ */
29
+ value: string;
30
+ /**
31
+ * When the API key was created
32
+ * @type {Date}
33
+ * @memberof ApiKeyList
34
+ */
35
+ createdAt: Date;
36
+ /**
37
+ * The list of organization resource permissions assigned to the API key
38
+ * @type {Array<string>}
39
+ * @memberof ApiKeyList
40
+ */
41
+ permissions: Array<ApiKeyListPermissionsEnum>;
42
+ /**
43
+ * When the API key was last used
44
+ * @type {Date}
45
+ * @memberof ApiKeyList
46
+ */
47
+ lastUsedAt: Date | null;
48
+ /**
49
+ * When the API key expires
50
+ * @type {Date}
51
+ * @memberof ApiKeyList
52
+ */
53
+ expiresAt: Date | null;
54
+ }
55
+ export declare const ApiKeyListPermissionsEnum: {
56
+ readonly WRITE_REGISTRIES: "write:registries";
57
+ readonly DELETE_REGISTRIES: "delete:registries";
58
+ readonly WRITE_SNAPSHOTS: "write:snapshots";
59
+ readonly DELETE_SNAPSHOTS: "delete:snapshots";
60
+ readonly WRITE_SANDBOXES: "write:sandboxes";
61
+ readonly DELETE_SANDBOXES: "delete:sandboxes";
62
+ readonly READ_VOLUMES: "read:volumes";
63
+ readonly WRITE_VOLUMES: "write:volumes";
64
+ readonly DELETE_VOLUMES: "delete:volumes";
65
+ };
66
+ export type ApiKeyListPermissionsEnum = (typeof ApiKeyListPermissionsEnum)[keyof typeof ApiKeyListPermissionsEnum];
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ApiKeyListPermissionsEnum = void 0;
5
+ exports.ApiKeyListPermissionsEnum = {
6
+ WRITE_REGISTRIES: 'write:registries',
7
+ DELETE_REGISTRIES: 'delete:registries',
8
+ WRITE_SNAPSHOTS: 'write:snapshots',
9
+ DELETE_SNAPSHOTS: 'delete:snapshots',
10
+ WRITE_SANDBOXES: 'write:sandboxes',
11
+ DELETE_SANDBOXES: 'delete:sandboxes',
12
+ READ_VOLUMES: 'read:volumes',
13
+ WRITE_VOLUMES: 'write:volumes',
14
+ DELETE_VOLUMES: 'delete:volumes',
15
+ };
16
+ //# sourceMappingURL=api-key-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key-list.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AA0DP,QAAA,yBAAyB,GAAG;IACvC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;CACxB,CAAA"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiKeyResponse
16
+ */
17
+ export interface ApiKeyResponse {
18
+ /**
19
+ * The name of the API key
20
+ * @type {string}
21
+ * @memberof ApiKeyResponse
22
+ */
23
+ name: string;
24
+ /**
25
+ * The API key value
26
+ * @type {string}
27
+ * @memberof ApiKeyResponse
28
+ */
29
+ value: string;
30
+ /**
31
+ * When the API key was created
32
+ * @type {Date}
33
+ * @memberof ApiKeyResponse
34
+ */
35
+ createdAt: Date;
36
+ /**
37
+ * The list of organization resource permissions assigned to the API key
38
+ * @type {Array<string>}
39
+ * @memberof ApiKeyResponse
40
+ */
41
+ permissions: Array<ApiKeyResponsePermissionsEnum>;
42
+ /**
43
+ * When the API key expires
44
+ * @type {Date}
45
+ * @memberof ApiKeyResponse
46
+ */
47
+ expiresAt: Date | null;
48
+ }
49
+ export declare const ApiKeyResponsePermissionsEnum: {
50
+ readonly WRITE_REGISTRIES: "write:registries";
51
+ readonly DELETE_REGISTRIES: "delete:registries";
52
+ readonly WRITE_SNAPSHOTS: "write:snapshots";
53
+ readonly DELETE_SNAPSHOTS: "delete:snapshots";
54
+ readonly WRITE_SANDBOXES: "write:sandboxes";
55
+ readonly DELETE_SANDBOXES: "delete:sandboxes";
56
+ readonly READ_VOLUMES: "read:volumes";
57
+ readonly WRITE_VOLUMES: "write:volumes";
58
+ readonly DELETE_VOLUMES: "delete:volumes";
59
+ };
60
+ export type ApiKeyResponsePermissionsEnum = (typeof ApiKeyResponsePermissionsEnum)[keyof typeof ApiKeyResponsePermissionsEnum];
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ApiKeyResponsePermissionsEnum = void 0;
5
+ exports.ApiKeyResponsePermissionsEnum = {
6
+ WRITE_REGISTRIES: 'write:registries',
7
+ DELETE_REGISTRIES: 'delete:registries',
8
+ WRITE_SNAPSHOTS: 'write:snapshots',
9
+ DELETE_SNAPSHOTS: 'delete:snapshots',
10
+ WRITE_SANDBOXES: 'write:sandboxes',
11
+ DELETE_SANDBOXES: 'delete:sandboxes',
12
+ READ_VOLUMES: 'read:volumes',
13
+ WRITE_VOLUMES: 'write:volumes',
14
+ DELETE_VOLUMES: 'delete:volumes',
15
+ };
16
+ //# sourceMappingURL=api-key-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-key-response.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/api-key-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAoDP,QAAA,6BAA6B,GAAG;IAC3C,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;IACpC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;CACxB,CAAA"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BuildInfo
16
+ */
17
+ export interface BuildInfo {
18
+ /**
19
+ * The Dockerfile content used for the build
20
+ * @type {string}
21
+ * @memberof BuildInfo
22
+ */
23
+ dockerfileContent?: string;
24
+ /**
25
+ * The context hashes used for the build
26
+ * @type {Array<string>}
27
+ * @memberof BuildInfo
28
+ */
29
+ contextHashes?: Array<string>;
30
+ /**
31
+ * The creation timestamp
32
+ * @type {Date}
33
+ * @memberof BuildInfo
34
+ */
35
+ createdAt: Date;
36
+ /**
37
+ * The last update timestamp
38
+ * @type {Date}
39
+ * @memberof BuildInfo
40
+ */
41
+ updatedAt: Date;
42
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=build-info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-info.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/build-info.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Command
16
+ */
17
+ export interface Command {
18
+ /**
19
+ * The ID of the command
20
+ * @type {string}
21
+ * @memberof Command
22
+ */
23
+ id: string;
24
+ /**
25
+ * The command that was executed
26
+ * @type {string}
27
+ * @memberof Command
28
+ */
29
+ command: string;
30
+ /**
31
+ * The exit code of the command
32
+ * @type {number}
33
+ * @memberof Command
34
+ */
35
+ exitCode?: number;
36
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/command.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CompletionContext
16
+ */
17
+ export interface CompletionContext {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof CompletionContext
22
+ */
23
+ triggerKind: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CompletionContext
28
+ */
29
+ triggerCharacter?: string;
30
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=completion-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completion-context.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/completion-context.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CompletionItem
16
+ */
17
+ export interface CompletionItem {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CompletionItem
22
+ */
23
+ label: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof CompletionItem
28
+ */
29
+ kind?: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CompletionItem
34
+ */
35
+ detail?: string;
36
+ /**
37
+ *
38
+ * @type {object}
39
+ * @memberof CompletionItem
40
+ */
41
+ documentation?: object;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CompletionItem
46
+ */
47
+ sortText?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof CompletionItem
52
+ */
53
+ filterText?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof CompletionItem
58
+ */
59
+ insertText?: string;
60
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=completion-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completion-item.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/completion-item.ts"],"names":[],"mappings":";AAAA,oBAAoB"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Daytona
3
+ * Daytona AI platform API Docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: support@daytona.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CompletionItem } from './completion-item';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CompletionList
17
+ */
18
+ export interface CompletionList {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof CompletionList
23
+ */
24
+ isIncomplete: boolean;
25
+ /**
26
+ *
27
+ * @type {Array<CompletionItem>}
28
+ * @memberof CompletionList
29
+ */
30
+ items: Array<CompletionItem>;
31
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Daytona
6
+ * Daytona AI platform API Docs
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: support@daytona.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=completion-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completion-list.js","sourceRoot":"","sources":["../../../../../libs/api-client/src/models/completion-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}