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
@@ -21,12 +21,6 @@ export interface CreateAPIKeyRequest {
21
21
  * @memberof CreateAPIKeyRequest
22
22
  */
23
23
  name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateAPIKeyRequest
28
- */
29
- type: CreateAPIKeyRequestTypeEnum;
30
24
  /**
31
25
  *
32
26
  * @type {Array<string>}
@@ -40,14 +34,6 @@ export interface CreateAPIKeyRequest {
40
34
  */
41
35
  expiresIn?: string;
42
36
  }
43
- /**
44
- * @export
45
- */
46
- export declare const CreateAPIKeyRequestTypeEnum: {
47
- readonly User: "user";
48
- readonly Service: "service";
49
- };
50
- export type CreateAPIKeyRequestTypeEnum = typeof CreateAPIKeyRequestTypeEnum[keyof typeof CreateAPIKeyRequestTypeEnum];
51
37
  /**
52
38
  * Check if a given object implements the CreateAPIKeyRequest interface.
53
39
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAPIKeyRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateAPIKeyRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,2BAA2B,CAAC;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAGvH;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAIzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAW7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY5H"}
1
+ {"version":3,"file":"CreateAPIKeyRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateAPIKeyRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAU7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5H"}
@@ -11,21 +11,12 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- /**
15
- * @export
16
- */
17
- export const CreateAPIKeyRequestTypeEnum = {
18
- User: 'user',
19
- Service: 'service'
20
- };
21
14
  /**
22
15
  * Check if a given object implements the CreateAPIKeyRequest interface.
23
16
  */
24
17
  export function instanceOfCreateAPIKeyRequest(value) {
25
18
  if (!('name' in value) || value['name'] === undefined)
26
19
  return false;
27
- if (!('type' in value) || value['type'] === undefined)
28
- return false;
29
20
  return true;
30
21
  }
31
22
  export function CreateAPIKeyRequestFromJSON(json) {
@@ -37,7 +28,6 @@ export function CreateAPIKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
37
28
  }
38
29
  return {
39
30
  'name': json['name'],
40
- 'type': json['type'],
41
31
  'roles': json['roles'] == null ? undefined : json['roles'],
42
32
  'expiresIn': json['expires_in'] == null ? undefined : json['expires_in'],
43
33
  };
@@ -51,7 +41,6 @@ export function CreateAPIKeyRequestToJSONTyped(value, ignoreDiscriminator = fals
51
41
  }
52
42
  return {
53
43
  'name': value['name'],
54
- 'type': value['type'],
55
44
  'roles': value['roles'],
56
45
  'expires_in': value['expiresIn'],
57
46
  };
@@ -27,12 +27,6 @@ export interface CreateAPIKeyResponse {
27
27
  * @memberof CreateAPIKeyResponse
28
28
  */
29
29
  name: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof CreateAPIKeyResponse
34
- */
35
- type: string;
36
30
  /**
37
31
  *
38
32
  * @type {Array<string>}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAS3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,E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G,GAAG,CAe9H"}
@@ -19,8 +19,6 @@ export function instanceOfCreateAPIKeyResponse(value) {
19
19
  return false;
20
20
  if (!('name' in value) || value['name'] === undefined)
21
21
  return false;
22
- if (!('type' in value) || value['type'] === undefined)
23
- return false;
24
22
  if (!('roles' in value) || value['roles'] === undefined)
25
23
  return false;
26
24
  if (!('teamId' in value) || value['teamId'] === undefined)
@@ -41,7 +39,6 @@ export function CreateAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
41
39
  return {
42
40
  'id': json['id'],
43
41
  'name': json['name'],
44
- 'type': json['type'],
45
42
  'roles': json['roles'],
46
43
  'teamId': json['team_id'],
47
44
  'key': json['key'] == null ? undefined : json['key'],
@@ -59,7 +56,6 @@ export function CreateAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = fal
59
56
  return {
60
57
  'id': value['id'],
61
58
  'name': value['name'],
62
- 'type': value['type'],
63
59
  'roles': value['roles'],
64
60
  'team_id': value['teamId'],
65
61
  'key': value['key'],
@@ -0,0 +1,39 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateSSHPublicKeyRequest
16
+ */
17
+ export interface CreateSSHPublicKeyRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateSSHPublicKeyRequest
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateSSHPublicKeyRequest
28
+ */
29
+ publicKey: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CreateSSHPublicKeyRequest interface.
33
+ */
34
+ export declare function instanceOfCreateSSHPublicKeyRequest(value: object): value is CreateSSHPublicKeyRequest;
35
+ export declare function CreateSSHPublicKeyRequestFromJSON(json: any): CreateSSHPublicKeyRequest;
36
+ export declare function CreateSSHPublicKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSSHPublicKeyRequest;
37
+ export declare function CreateSSHPublicKeyRequestToJSON(json: any): CreateSSHPublicKeyRequest;
38
+ export declare function CreateSSHPublicKeyRequestToJSONTyped(value?: CreateSSHPublicKeyRequest | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=CreateSSHPublicKeyRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateSSHPublicKeyRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateSSHPublicKeyRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAIrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CASzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxI"}
@@ -0,0 +1,47 @@
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
+ /**
15
+ * Check if a given object implements the CreateSSHPublicKeyRequest interface.
16
+ */
17
+ export function instanceOfCreateSSHPublicKeyRequest(value) {
18
+ if (!('name' in value) || value['name'] === undefined)
19
+ return false;
20
+ if (!('publicKey' in value) || value['publicKey'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function CreateSSHPublicKeyRequestFromJSON(json) {
25
+ return CreateSSHPublicKeyRequestFromJSONTyped(json, false);
26
+ }
27
+ export function CreateSSHPublicKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'name': json['name'],
33
+ 'publicKey': json['public_key'],
34
+ };
35
+ }
36
+ export function CreateSSHPublicKeyRequestToJSON(json) {
37
+ return CreateSSHPublicKeyRequestToJSONTyped(json, false);
38
+ }
39
+ export function CreateSSHPublicKeyRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'public_key': value['publicKey'],
46
+ };
47
+ }
@@ -0,0 +1,69 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CurrentAPIKeyResponse
16
+ */
17
+ export interface CurrentAPIKeyResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CurrentAPIKeyResponse
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CurrentAPIKeyResponse
28
+ */
29
+ teamId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CurrentAPIKeyResponse
34
+ */
35
+ createdBy: string;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof CurrentAPIKeyResponse
40
+ */
41
+ roles: Array<string>;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof CurrentAPIKeyResponse
46
+ */
47
+ permissions: Array<string>;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof CurrentAPIKeyResponse
52
+ */
53
+ isActive: boolean;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof CurrentAPIKeyResponse
58
+ */
59
+ expiresAt: Date;
60
+ }
61
+ /**
62
+ * Check if a given object implements the CurrentAPIKeyResponse interface.
63
+ */
64
+ export declare function instanceOfCurrentAPIKeyResponse(value: object): value is CurrentAPIKeyResponse;
65
+ export declare function CurrentAPIKeyResponseFromJSON(json: any): CurrentAPIKeyResponse;
66
+ export declare function CurrentAPIKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentAPIKeyResponse;
67
+ export declare function CurrentAPIKeyResponseToJSON(json: any): CurrentAPIKeyResponse;
68
+ export declare function CurrentAPIKeyResponseToJSONTyped(value?: CurrentAPIKeyResponse | null, ignoreDiscriminator?: boolean): any;
69
+ //# sourceMappingURL=CurrentAPIKeyResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CurrentAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CurrentAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAS7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAcjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehI"}
@@ -0,0 +1,67 @@
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
+ /**
15
+ * Check if a given object implements the CurrentAPIKeyResponse interface.
16
+ */
17
+ export function instanceOfCurrentAPIKeyResponse(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('teamId' in value) || value['teamId'] === undefined)
21
+ return false;
22
+ if (!('createdBy' in value) || value['createdBy'] === undefined)
23
+ return false;
24
+ if (!('roles' in value) || value['roles'] === undefined)
25
+ return false;
26
+ if (!('permissions' in value) || value['permissions'] === undefined)
27
+ return false;
28
+ if (!('isActive' in value) || value['isActive'] === undefined)
29
+ return false;
30
+ if (!('expiresAt' in value) || value['expiresAt'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function CurrentAPIKeyResponseFromJSON(json) {
35
+ return CurrentAPIKeyResponseFromJSONTyped(json, false);
36
+ }
37
+ export function CurrentAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'id': json['id'],
43
+ 'teamId': json['team_id'],
44
+ 'createdBy': json['created_by'],
45
+ 'roles': json['roles'],
46
+ 'permissions': json['permissions'],
47
+ 'isActive': json['is_active'],
48
+ 'expiresAt': (new Date(json['expires_at'])),
49
+ };
50
+ }
51
+ export function CurrentAPIKeyResponseToJSON(json) {
52
+ return CurrentAPIKeyResponseToJSONTyped(json, false);
53
+ }
54
+ export function CurrentAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'id': value['id'],
60
+ 'team_id': value['teamId'],
61
+ 'created_by': value['createdBy'],
62
+ 'roles': value['roles'],
63
+ 'permissions': value['permissions'],
64
+ 'is_active': value['isActive'],
65
+ 'expires_at': value['expiresAt'].toISOString(),
66
+ };
67
+ }
@@ -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
  import type { HTTPHeader } from './HTTPHeader.js';
14
13
  /**
15
14
  *
@@ -25,10 +24,10 @@ export interface HTTPGetAction {
25
24
  path?: string;
26
25
  /**
27
26
  *
28
- * @type {ProbePort}
27
+ * @type {number}
29
28
  * @memberof HTTPGetAction
30
29
  */
31
- port: ProbePort;
30
+ port: number;
32
31
  /**
33
32
  *
34
33
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"HTTPGetAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPGetAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC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,KAAK,CAAC,UAAU,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAG7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAYjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahH"}
@@ -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
  import { HTTPHeaderFromJSON, HTTPHeaderToJSON, } from './HTTPHeader.js';
16
15
  /**
17
16
  * Check if a given object implements the HTTPGetAction interface.
@@ -30,7 +29,7 @@ export function HTTPGetActionFromJSONTyped(json, ignoreDiscriminator) {
30
29
  }
31
30
  return {
32
31
  'path': json['path'] == null ? undefined : json['path'],
33
- 'port': ProbePortFromJSON(json['port']),
32
+ 'port': json['port'],
34
33
  'host': json['host'] == null ? undefined : json['host'],
35
34
  'scheme': json['scheme'] == null ? undefined : json['scheme'],
36
35
  'httpHeaders': json['httpHeaders'] == null ? undefined : (json['httpHeaders'].map(HTTPHeaderFromJSON)),
@@ -45,7 +44,7 @@ export function HTTPGetActionToJSONTyped(value, ignoreDiscriminator = false) {
45
44
  }
46
45
  return {
47
46
  'path': value['path'],
48
- 'port': ProbePortToJSON(value['port']),
47
+ 'port': value['port'],
49
48
  'host': value['host'],
50
49
  'scheme': value['scheme'],
51
50
  'httpHeaders': value['httpHeaders'] == null ? undefined : (value['httpHeaders'].map(HTTPHeaderToJSON)),
@@ -0,0 +1,75 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface SSHPublicKey
16
+ */
17
+ export interface SSHPublicKey {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SSHPublicKey
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SSHPublicKey
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SSHPublicKey
34
+ */
35
+ publicKey: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SSHPublicKey
40
+ */
41
+ keyType: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SSHPublicKey
46
+ */
47
+ fingerprintSha256: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SSHPublicKey
52
+ */
53
+ comment?: string;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof SSHPublicKey
58
+ */
59
+ createdAt: Date;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof SSHPublicKey
64
+ */
65
+ updatedAt: Date;
66
+ }
67
+ /**
68
+ * Check if a given object implements the SSHPublicKey interface.
69
+ */
70
+ export declare function instanceOfSSHPublicKey(value: object): value is SSHPublicKey;
71
+ export declare function SSHPublicKeyFromJSON(json: any): SSHPublicKey;
72
+ export declare function SSHPublicKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SSHPublicKey;
73
+ export declare function SSHPublicKeyToJSON(json: any): SSHPublicKey;
74
+ export declare function SSHPublicKeyToJSONTyped(value?: SSHPublicKey | null, ignoreDiscriminator?: boolean): any;
75
+ //# sourceMappingURL=SSHPublicKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SSHPublicKey.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SSHPublicKey.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAS3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAe/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB9G"}
@@ -0,0 +1,69 @@
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
+ /**
15
+ * Check if a given object implements the SSHPublicKey interface.
16
+ */
17
+ export function instanceOfSSHPublicKey(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ if (!('publicKey' in value) || value['publicKey'] === undefined)
23
+ return false;
24
+ if (!('keyType' in value) || value['keyType'] === undefined)
25
+ return false;
26
+ if (!('fingerprintSha256' in value) || value['fingerprintSha256'] === undefined)
27
+ return false;
28
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
29
+ return false;
30
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ export function SSHPublicKeyFromJSON(json) {
35
+ return SSHPublicKeyFromJSONTyped(json, false);
36
+ }
37
+ export function SSHPublicKeyFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'id': json['id'],
43
+ 'name': json['name'],
44
+ 'publicKey': json['public_key'],
45
+ 'keyType': json['key_type'],
46
+ 'fingerprintSha256': json['fingerprint_sha256'],
47
+ 'comment': json['comment'] == null ? undefined : json['comment'],
48
+ 'createdAt': (new Date(json['created_at'])),
49
+ 'updatedAt': (new Date(json['updated_at'])),
50
+ };
51
+ }
52
+ export function SSHPublicKeyToJSON(json) {
53
+ return SSHPublicKeyToJSONTyped(json, false);
54
+ }
55
+ export function SSHPublicKeyToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'name': value['name'],
62
+ 'public_key': value['publicKey'],
63
+ 'key_type': value['keyType'],
64
+ 'fingerprint_sha256': value['fingerprintSha256'],
65
+ 'comment': value['comment'],
66
+ 'created_at': value['createdAt'].toISOString(),
67
+ 'updated_at': value['updatedAt'].toISOString(),
68
+ };
69
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { SandboxSSHConnection } from './SandboxSSHConnection.js';
12
13
  import type { ExposedPortConfig } from './ExposedPortConfig.js';
13
14
  import type { SandboxPowerState } from './SandboxPowerState.js';
14
15
  /**
@@ -77,6 +78,12 @@ export interface Sandbox {
77
78
  * @memberof Sandbox
78
79
  */
79
80
  podName: string;
81
+ /**
82
+ *
83
+ * @type {SandboxSSHConnection}
84
+ * @memberof Sandbox
85
+ */
86
+ ssh?: SandboxSSHConnection;
80
87
  /**
81
88
  * Soft expiration timestamp. Zero value means not set.
82
89
  * @type {Date}
@@ -1 +1 @@
1
- {"version":3,"file":"Sandbox.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Sandbox.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQ7D;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACxC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,IAAI,CAAC;IACpB;;;;OAIG;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AK,CAAC,iBAAiB,CAAC,CAAC;IACxC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,aAAa,EAAE,IAAI,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAcjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAsBrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAuBpG"}
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { SandboxSSHConnectionFromJSON, SandboxSSHConnectionToJSON, } from './SandboxSSHConnection.js';
14
15
  import { ExposedPortConfigFromJSON, ExposedPortConfigToJSON, } from './ExposedPortConfig.js';
15
16
  import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
16
17
  /**
@@ -61,6 +62,7 @@ export function SandboxFromJSONTyped(json, ignoreDiscriminator) {
61
62
  'autoResume': json['auto_resume'],
62
63
  'exposedPorts': json['exposed_ports'] == null ? undefined : (json['exposed_ports'].map(ExposedPortConfigFromJSON)),
63
64
  'podName': json['pod_name'],
65
+ 'ssh': json['ssh'] == null ? undefined : SandboxSSHConnectionFromJSON(json['ssh']),
64
66
  'expiresAt': (new Date(json['expires_at'])),
65
67
  'hardExpiresAt': (new Date(json['hard_expires_at'])),
66
68
  'claimedAt': (new Date(json['claimed_at'])),
@@ -85,6 +87,7 @@ export function SandboxToJSONTyped(value, ignoreDiscriminator = false) {
85
87
  'auto_resume': value['autoResume'],
86
88
  'exposed_ports': value['exposedPorts'] == null ? undefined : (value['exposedPorts'].map(ExposedPortConfigToJSON)),
87
89
  'pod_name': value['podName'],
90
+ 'ssh': SandboxSSHConnectionToJSON(value['ssh']),
88
91
  'expires_at': value['expiresAt'].toISOString(),
89
92
  'hard_expires_at': value['hardExpiresAt'].toISOString(),
90
93
  'claimed_at': value['claimedAt'].toISOString(),