sandbox0 0.2.6 → 0.2.8

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 (113) hide show
  1. package/README.md +3 -1
  2. package/dist/apispec/src/apis/ApiKeysApi.d.ts +11 -1
  3. package/dist/apispec/src/apis/ApiKeysApi.d.ts.map +1 -1
  4. package/dist/apispec/src/apis/ApiKeysApi.js +32 -1
  5. package/dist/apispec/src/apis/ContextsApi.d.ts +6 -4
  6. package/dist/apispec/src/apis/ContextsApi.d.ts.map +1 -1
  7. package/dist/apispec/src/apis/ContextsApi.js +6 -4
  8. package/dist/apispec/src/apis/SandboxesApi.d.ts +21 -1
  9. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  10. package/dist/apispec/src/apis/SandboxesApi.js +57 -1
  11. package/dist/apispec/src/apis/UsersApi.d.ts +31 -1
  12. package/dist/apispec/src/apis/UsersApi.d.ts.map +1 -1
  13. package/dist/apispec/src/apis/UsersApi.js +97 -1
  14. package/dist/apispec/src/models/APIKey.d.ts +0 -6
  15. package/dist/apispec/src/models/APIKey.d.ts.map +1 -1
  16. package/dist/apispec/src/models/APIKey.js +0 -4
  17. package/dist/apispec/src/models/ContextInputRequest.d.ts +1 -1
  18. package/dist/apispec/src/models/ContextWebSocketInput.d.ts +1 -1
  19. package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts +0 -14
  20. package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts.map +1 -1
  21. package/dist/apispec/src/models/CreateAPIKeyRequest.js +0 -11
  22. package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts +0 -6
  23. package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts.map +1 -1
  24. package/dist/apispec/src/models/CreateAPIKeyResponse.js +0 -4
  25. package/dist/apispec/src/models/CreateSSHPublicKeyRequest.d.ts +39 -0
  26. package/dist/apispec/src/models/CreateSSHPublicKeyRequest.d.ts.map +1 -0
  27. package/dist/apispec/src/models/CreateSSHPublicKeyRequest.js +47 -0
  28. package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts +69 -0
  29. package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts.map +1 -0
  30. package/dist/apispec/src/models/CurrentAPIKeyResponse.js +67 -0
  31. package/dist/apispec/src/models/HTTPGetAction.d.ts +2 -3
  32. package/dist/apispec/src/models/HTTPGetAction.d.ts.map +1 -1
  33. package/dist/apispec/src/models/HTTPGetAction.js +2 -3
  34. package/dist/apispec/src/models/SSHPublicKey.d.ts +75 -0
  35. package/dist/apispec/src/models/SSHPublicKey.d.ts.map +1 -0
  36. package/dist/apispec/src/models/SSHPublicKey.js +69 -0
  37. package/dist/apispec/src/models/Sandbox.d.ts +7 -0
  38. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  39. package/dist/apispec/src/models/Sandbox.js +3 -0
  40. package/dist/apispec/src/models/SandboxLogs.d.ts +57 -0
  41. package/dist/apispec/src/models/SandboxLogs.d.ts.map +1 -0
  42. package/dist/apispec/src/models/SandboxLogs.js +59 -0
  43. package/dist/apispec/src/models/SandboxProbeSet.d.ts +46 -0
  44. package/dist/apispec/src/models/SandboxProbeSet.d.ts.map +1 -0
  45. package/dist/apispec/src/models/SandboxProbeSet.js +46 -0
  46. package/dist/apispec/src/models/SandboxProbeSpec.d.ts +66 -0
  47. package/dist/apispec/src/models/SandboxProbeSpec.d.ts.map +1 -0
  48. package/dist/apispec/src/models/SandboxProbeSpec.js +54 -0
  49. package/dist/apispec/src/models/SandboxSSHConnection.d.ts +45 -0
  50. package/dist/apispec/src/models/SandboxSSHConnection.d.ts.map +1 -0
  51. package/dist/apispec/src/models/SandboxSSHConnection.js +51 -0
  52. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +3 -10
  53. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
  54. package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -6
  55. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.d.ts +40 -0
  56. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.d.ts.map +1 -0
  57. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.js +46 -0
  58. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.d.ts +34 -0
  59. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.d.ts.map +1 -0
  60. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.js +42 -0
  61. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.d.ts +40 -0
  62. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.d.ts.map +1 -0
  63. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.js +46 -0
  64. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.d.ts +34 -0
  65. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.d.ts.map +1 -0
  66. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.js +42 -0
  67. package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.d.ts +40 -0
  68. package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.d.ts.map +1 -0
  69. package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.js +46 -0
  70. package/dist/apispec/src/models/SuccessSandboxLogsResponse.d.ts +40 -0
  71. package/dist/apispec/src/models/SuccessSandboxLogsResponse.d.ts.map +1 -0
  72. package/dist/apispec/src/models/SuccessSandboxLogsResponse.js +46 -0
  73. package/dist/apispec/src/models/TCPSocketAction.d.ts +2 -3
  74. package/dist/apispec/src/models/TCPSocketAction.d.ts.map +1 -1
  75. package/dist/apispec/src/models/TCPSocketAction.js +2 -3
  76. package/dist/apispec/src/models/WarmProcessSpec.d.ts +80 -0
  77. package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +1 -0
  78. package/dist/apispec/src/models/WarmProcessSpec.js +63 -0
  79. package/dist/apispec/src/models/index.d.ts +14 -4
  80. package/dist/apispec/src/models/index.d.ts.map +1 -1
  81. package/dist/apispec/src/models/index.js +14 -4
  82. package/dist/client.d.ts +5 -0
  83. package/dist/client.d.ts.map +1 -1
  84. package/dist/client.js +92 -0
  85. package/dist/index.d.ts +1 -0
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +1 -0
  88. package/dist/models.d.ts +15 -0
  89. package/dist/models.d.ts.map +1 -1
  90. package/dist/resources/volumes.js +1 -1
  91. package/dist/response_normalize.d.ts.map +1 -1
  92. package/dist/response_normalize.js +1 -2
  93. package/dist/sandbox.js +1 -1
  94. package/dist/sandbox_files.js +1 -1
  95. package/dist/sandbox_logs.d.ts +9 -0
  96. package/dist/sandbox_logs.d.ts.map +1 -0
  97. package/dist/sandbox_logs.js +10 -0
  98. package/dist/template_helpers.d.ts +7 -19
  99. package/dist/template_helpers.d.ts.map +1 -1
  100. package/dist/template_helpers.js +7 -26
  101. package/dist/ws_client.d.ts +13 -3
  102. package/dist/ws_client.d.ts.map +1 -1
  103. package/dist/ws_client.js +145 -28
  104. package/package.json +1 -1
  105. package/dist/apispec/src/models/ContainerMountSpec.d.ts +0 -45
  106. package/dist/apispec/src/models/ContainerMountSpec.d.ts.map +0 -1
  107. package/dist/apispec/src/models/ContainerMountSpec.js +0 -49
  108. package/dist/apispec/src/models/SharedVolumeSpec.d.ts +0 -69
  109. package/dist/apispec/src/models/SharedVolumeSpec.d.ts.map +0 -1
  110. package/dist/apispec/src/models/SharedVolumeSpec.js +0 -57
  111. package/dist/apispec/src/models/SidecarContainerSpec.d.ts +0 -85
  112. package/dist/apispec/src/models/SidecarContainerSpec.d.ts.map +0 -1
  113. package/dist/apispec/src/models/SidecarContainerSpec.js +0 -67
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { CurrentAPIKeyResponseFromJSON, CurrentAPIKeyResponseToJSON, } from './CurrentAPIKeyResponse.js';
15
+ /**
16
+ * Check if a given object implements the SuccessCurrentAPIKeyResponseAllOfData interface.
17
+ */
18
+ export function instanceOfSuccessCurrentAPIKeyResponseAllOfData(value) {
19
+ return true;
20
+ }
21
+ export function SuccessCurrentAPIKeyResponseAllOfDataFromJSON(json) {
22
+ return SuccessCurrentAPIKeyResponseAllOfDataFromJSONTyped(json, false);
23
+ }
24
+ export function SuccessCurrentAPIKeyResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'apiKey': json['api_key'] == null ? undefined : CurrentAPIKeyResponseFromJSON(json['api_key']),
30
+ };
31
+ }
32
+ export function SuccessCurrentAPIKeyResponseAllOfDataToJSON(json) {
33
+ return SuccessCurrentAPIKeyResponseAllOfDataToJSONTyped(json, false);
34
+ }
35
+ export function SuccessCurrentAPIKeyResponseAllOfDataToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'api_key': CurrentAPIKeyResponseToJSON(value['apiKey']),
41
+ };
42
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
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 { SuccessSSHPublicKeyListResponseAllOfData } from './SuccessSSHPublicKeyListResponseAllOfData.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessSSHPublicKeyListResponse
17
+ */
18
+ export interface SuccessSSHPublicKeyListResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessSSHPublicKeyListResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {SuccessSSHPublicKeyListResponseAllOfData}
28
+ * @memberof SuccessSSHPublicKeyListResponse
29
+ */
30
+ data?: SuccessSSHPublicKeyListResponseAllOfData;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessSSHPublicKeyListResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessSSHPublicKeyListResponse(value: object): value is SuccessSSHPublicKeyListResponse;
36
+ export declare function SuccessSSHPublicKeyListResponseFromJSON(json: any): SuccessSSHPublicKeyListResponse;
37
+ export declare function SuccessSSHPublicKeyListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSSHPublicKeyListResponse;
38
+ export declare function SuccessSSHPublicKeyListResponseToJSON(json: any): SuccessSSHPublicKeyListResponse;
39
+ export declare function SuccessSSHPublicKeyListResponseToJSONTyped(value?: SuccessSSHPublicKeyListResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessSSHPublicKeyListResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessSSHPublicKeyListResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSSHPublicKeyListResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC;AAQ3G;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,wCAAwC,CAAC;CACnD;AAED;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,+BAA+B,CAGjH;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAElG;AAED,wBAAgB,4CAA4C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,+BAA+B,CASrI;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,+BAA+B,CAEhG;AAED,wBAAgB,0CAA0C,CAAC,KAAK,CAAC,EAAE,+BAA+B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpJ"}
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SuccessSSHPublicKeyListResponseAllOfDataFromJSON, SuccessSSHPublicKeyListResponseAllOfDataToJSON, } from './SuccessSSHPublicKeyListResponseAllOfData.js';
15
+ /**
16
+ * Check if a given object implements the SuccessSSHPublicKeyListResponse interface.
17
+ */
18
+ export function instanceOfSuccessSSHPublicKeyListResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessSSHPublicKeyListResponseFromJSON(json) {
24
+ return SuccessSSHPublicKeyListResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessSSHPublicKeyListResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : SuccessSSHPublicKeyListResponseAllOfDataFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessSSHPublicKeyListResponseToJSON(json) {
36
+ return SuccessSSHPublicKeyListResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessSSHPublicKeyListResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': SuccessSSHPublicKeyListResponseAllOfDataToJSON(value['data']),
45
+ };
46
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
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 { SSHPublicKey } from './SSHPublicKey.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessSSHPublicKeyListResponseAllOfData
17
+ */
18
+ export interface SuccessSSHPublicKeyListResponseAllOfData {
19
+ /**
20
+ *
21
+ * @type {Array<SSHPublicKey>}
22
+ * @memberof SuccessSSHPublicKeyListResponseAllOfData
23
+ */
24
+ sshKeys?: Array<SSHPublicKey>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SuccessSSHPublicKeyListResponseAllOfData interface.
28
+ */
29
+ export declare function instanceOfSuccessSSHPublicKeyListResponseAllOfData(value: object): value is SuccessSSHPublicKeyListResponseAllOfData;
30
+ export declare function SuccessSSHPublicKeyListResponseAllOfDataFromJSON(json: any): SuccessSSHPublicKeyListResponseAllOfData;
31
+ export declare function SuccessSSHPublicKeyListResponseAllOfDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSSHPublicKeyListResponseAllOfData;
32
+ export declare function SuccessSSHPublicKeyListResponseAllOfDataToJSON(json: any): SuccessSSHPublicKeyListResponseAllOfData;
33
+ export declare function SuccessSSHPublicKeyListResponseAllOfDataToJSONTyped(value?: SuccessSSHPublicKeyListResponseAllOfData | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=SuccessSSHPublicKeyListResponseAllOfData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessSSHPublicKeyListResponseAllOfData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQnD;;;;GAIG;AACH,MAAM,WAAW,wCAAwC;IACrD;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,kDAAkD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wCAAwC,CAEnI;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAEpH;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CAQvJ;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAElH;AAED,wBAAgB,mDAAmD,CAAC,KAAK,CAAC,EAAE,wCAAwC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStK"}
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SSHPublicKeyFromJSON, SSHPublicKeyToJSON, } from './SSHPublicKey.js';
15
+ /**
16
+ * Check if a given object implements the SuccessSSHPublicKeyListResponseAllOfData interface.
17
+ */
18
+ export function instanceOfSuccessSSHPublicKeyListResponseAllOfData(value) {
19
+ return true;
20
+ }
21
+ export function SuccessSSHPublicKeyListResponseAllOfDataFromJSON(json) {
22
+ return SuccessSSHPublicKeyListResponseAllOfDataFromJSONTyped(json, false);
23
+ }
24
+ export function SuccessSSHPublicKeyListResponseAllOfDataFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'sshKeys': json['ssh_keys'] == null ? undefined : (json['ssh_keys'].map(SSHPublicKeyFromJSON)),
30
+ };
31
+ }
32
+ export function SuccessSSHPublicKeyListResponseAllOfDataToJSON(json) {
33
+ return SuccessSSHPublicKeyListResponseAllOfDataToJSONTyped(json, false);
34
+ }
35
+ export function SuccessSSHPublicKeyListResponseAllOfDataToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'ssh_keys': value['sshKeys'] == null ? undefined : (value['sshKeys'].map(SSHPublicKeyToJSON)),
41
+ };
42
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
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 { SSHPublicKey } from './SSHPublicKey.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessSSHPublicKeyResponse
17
+ */
18
+ export interface SuccessSSHPublicKeyResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessSSHPublicKeyResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {SSHPublicKey}
28
+ * @memberof SuccessSSHPublicKeyResponse
29
+ */
30
+ data?: SSHPublicKey;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessSSHPublicKeyResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessSSHPublicKeyResponse(value: object): value is SuccessSSHPublicKeyResponse;
36
+ export declare function SuccessSSHPublicKeyResponseFromJSON(json: any): SuccessSSHPublicKeyResponse;
37
+ export declare function SuccessSSHPublicKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSSHPublicKeyResponse;
38
+ export declare function SuccessSSHPublicKeyResponseToJSON(json: any): SuccessSSHPublicKeyResponse;
39
+ export declare function SuccessSSHPublicKeyResponseToJSONTyped(value?: SuccessSSHPublicKeyResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessSSHPublicKeyResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessSSHPublicKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSSHPublicKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQnD;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAGzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAS7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5I"}
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SSHPublicKeyFromJSON, SSHPublicKeyToJSON, } from './SSHPublicKey.js';
15
+ /**
16
+ * Check if a given object implements the SuccessSSHPublicKeyResponse interface.
17
+ */
18
+ export function instanceOfSuccessSSHPublicKeyResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessSSHPublicKeyResponseFromJSON(json) {
24
+ return SuccessSSHPublicKeyResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessSSHPublicKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : SSHPublicKeyFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessSSHPublicKeyResponseToJSON(json) {
36
+ return SuccessSSHPublicKeyResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessSSHPublicKeyResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': SSHPublicKeyToJSON(value['data']),
45
+ };
46
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
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 { SandboxLogs } from './SandboxLogs.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessSandboxLogsResponse
17
+ */
18
+ export interface SuccessSandboxLogsResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessSandboxLogsResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {SandboxLogs}
28
+ * @memberof SuccessSandboxLogsResponse
29
+ */
30
+ data?: SandboxLogs;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessSandboxLogsResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessSandboxLogsResponse(value: object): value is SuccessSandboxLogsResponse;
36
+ export declare function SuccessSandboxLogsResponseFromJSON(json: any): SuccessSandboxLogsResponse;
37
+ export declare function SuccessSandboxLogsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessSandboxLogsResponse;
38
+ export declare function SuccessSandboxLogsResponseToJSON(json: any): SuccessSandboxLogsResponse;
39
+ export declare function SuccessSandboxLogsResponseToJSONTyped(value?: SuccessSandboxLogsResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessSandboxLogsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessSandboxLogsResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessSandboxLogsResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAGvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1I"}
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SandboxLogsFromJSON, SandboxLogsToJSON, } from './SandboxLogs.js';
15
+ /**
16
+ * Check if a given object implements the SuccessSandboxLogsResponse interface.
17
+ */
18
+ export function instanceOfSuccessSandboxLogsResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessSandboxLogsResponseFromJSON(json) {
24
+ return SuccessSandboxLogsResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessSandboxLogsResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : SandboxLogsFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessSandboxLogsResponseToJSON(json) {
36
+ return SuccessSandboxLogsResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessSandboxLogsResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': SandboxLogsToJSON(value['data']),
45
+ };
46
+ }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ProbePort } from './ProbePort.js';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -18,10 +17,10 @@ import type { ProbePort } from './ProbePort.js';
18
17
  export interface TCPSocketAction {
19
18
  /**
20
19
  *
21
- * @type {ProbePort}
20
+ * @type {number}
22
21
  * @memberof TCPSocketAction
23
22
  */
24
- port: ProbePort;
23
+ port: number;
25
24
  /**
26
25
  *
27
26
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"TCPSocketAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TCPSocketAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpH"}
1
+ {"version":3,"file":"TCPSocketAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TCPSocketAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpH"}
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { ProbePortFromJSON, ProbePortToJSON, } from './ProbePort.js';
15
14
  /**
16
15
  * Check if a given object implements the TCPSocketAction interface.
17
16
  */
@@ -28,7 +27,7 @@ export function TCPSocketActionFromJSONTyped(json, ignoreDiscriminator) {
28
27
  return json;
29
28
  }
30
29
  return {
31
- 'port': ProbePortFromJSON(json['port']),
30
+ 'port': json['port'],
32
31
  'host': json['host'] == null ? undefined : json['host'],
33
32
  };
34
33
  }
@@ -40,7 +39,7 @@ export function TCPSocketActionToJSONTyped(value, ignoreDiscriminator = false) {
40
39
  return value;
41
40
  }
42
41
  return {
43
- 'port': ProbePortToJSON(value['port']),
42
+ 'port': value['port'],
44
43
  'host': value['host'],
45
44
  };
46
45
  }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
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 { SandboxProbeSet } from './SandboxProbeSet.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WarmProcessSpec
17
+ */
18
+ export interface WarmProcessSpec {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof WarmProcessSpec
23
+ */
24
+ name?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof WarmProcessSpec
29
+ */
30
+ type: WarmProcessSpecTypeEnum;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof WarmProcessSpec
35
+ */
36
+ alias?: string;
37
+ /**
38
+ *
39
+ * @type {Array<string>}
40
+ * @memberof WarmProcessSpec
41
+ */
42
+ command?: Array<string>;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof WarmProcessSpec
47
+ */
48
+ cwd?: string;
49
+ /**
50
+ *
51
+ * @type {{ [key: string]: string; }}
52
+ * @memberof WarmProcessSpec
53
+ */
54
+ envVars?: {
55
+ [key: string]: string;
56
+ };
57
+ /**
58
+ *
59
+ * @type {SandboxProbeSet}
60
+ * @memberof WarmProcessSpec
61
+ */
62
+ probes?: SandboxProbeSet;
63
+ }
64
+ /**
65
+ * @export
66
+ */
67
+ export declare const WarmProcessSpecTypeEnum: {
68
+ readonly Repl: "repl";
69
+ readonly Cmd: "cmd";
70
+ };
71
+ export type WarmProcessSpecTypeEnum = typeof WarmProcessSpecTypeEnum[keyof typeof WarmProcessSpecTypeEnum];
72
+ /**
73
+ * Check if a given object implements the WarmProcessSpec interface.
74
+ */
75
+ export declare function instanceOfWarmProcessSpec(value: object): value is WarmProcessSpec;
76
+ export declare function WarmProcessSpecFromJSON(json: any): WarmProcessSpec;
77
+ export declare function WarmProcessSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): WarmProcessSpec;
78
+ export declare function WarmProcessSpecToJSON(json: any): WarmProcessSpec;
79
+ export declare function WarmProcessSpecToJSONTyped(value?: WarmProcessSpec | null, ignoreDiscriminator?: boolean): any;
80
+ //# sourceMappingURL=WarmProcessSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WarmProcessSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/WarmProcessSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;CAC5B;AAGD;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAG3G;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAcrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAepH"}
@@ -0,0 +1,63 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SandboxProbeSetFromJSON, SandboxProbeSetToJSON, } from './SandboxProbeSet.js';
15
+ /**
16
+ * @export
17
+ */
18
+ export const WarmProcessSpecTypeEnum = {
19
+ Repl: 'repl',
20
+ Cmd: 'cmd'
21
+ };
22
+ /**
23
+ * Check if a given object implements the WarmProcessSpec interface.
24
+ */
25
+ export function instanceOfWarmProcessSpec(value) {
26
+ if (!('type' in value) || value['type'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function WarmProcessSpecFromJSON(json) {
31
+ return WarmProcessSpecFromJSONTyped(json, false);
32
+ }
33
+ export function WarmProcessSpecFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'name': json['name'] == null ? undefined : json['name'],
39
+ 'type': json['type'],
40
+ 'alias': json['alias'] == null ? undefined : json['alias'],
41
+ 'command': json['command'] == null ? undefined : json['command'],
42
+ 'cwd': json['cwd'] == null ? undefined : json['cwd'],
43
+ 'envVars': json['envVars'] == null ? undefined : json['envVars'],
44
+ 'probes': json['probes'] == null ? undefined : SandboxProbeSetFromJSON(json['probes']),
45
+ };
46
+ }
47
+ export function WarmProcessSpecToJSON(json) {
48
+ return WarmProcessSpecToJSONTyped(json, false);
49
+ }
50
+ export function WarmProcessSpecToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'name': value['name'],
56
+ 'type': value['type'],
57
+ 'alias': value['alias'],
58
+ 'command': value['command'],
59
+ 'cwd': value['cwd'],
60
+ 'envVars': value['envVars'],
61
+ 'probes': SandboxProbeSetToJSON(value['probes']),
62
+ };
63
+ }