sandbox0 0.2.6 → 0.2.7

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 (67) 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/UsersApi.d.ts +31 -1
  6. package/dist/apispec/src/apis/UsersApi.d.ts.map +1 -1
  7. package/dist/apispec/src/apis/UsersApi.js +97 -1
  8. package/dist/apispec/src/models/CreateSSHPublicKeyRequest.d.ts +39 -0
  9. package/dist/apispec/src/models/CreateSSHPublicKeyRequest.d.ts.map +1 -0
  10. package/dist/apispec/src/models/CreateSSHPublicKeyRequest.js +47 -0
  11. package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts +75 -0
  12. package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts.map +1 -0
  13. package/dist/apispec/src/models/CurrentAPIKeyResponse.js +71 -0
  14. package/dist/apispec/src/models/SSHPublicKey.d.ts +75 -0
  15. package/dist/apispec/src/models/SSHPublicKey.d.ts.map +1 -0
  16. package/dist/apispec/src/models/SSHPublicKey.js +69 -0
  17. package/dist/apispec/src/models/Sandbox.d.ts +7 -0
  18. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  19. package/dist/apispec/src/models/Sandbox.js +3 -0
  20. package/dist/apispec/src/models/SandboxSSHConnection.d.ts +45 -0
  21. package/dist/apispec/src/models/SandboxSSHConnection.d.ts.map +1 -0
  22. package/dist/apispec/src/models/SandboxSSHConnection.js +51 -0
  23. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +3 -10
  24. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
  25. package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -6
  26. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.d.ts +40 -0
  27. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.d.ts.map +1 -0
  28. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponse.js +46 -0
  29. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.d.ts +34 -0
  30. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.d.ts.map +1 -0
  31. package/dist/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.js +42 -0
  32. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.d.ts +40 -0
  33. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.d.ts.map +1 -0
  34. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponse.js +46 -0
  35. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.d.ts +34 -0
  36. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.d.ts.map +1 -0
  37. package/dist/apispec/src/models/SuccessSSHPublicKeyListResponseAllOfData.js +42 -0
  38. package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.d.ts +40 -0
  39. package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.d.ts.map +1 -0
  40. package/dist/apispec/src/models/SuccessSSHPublicKeyResponse.js +46 -0
  41. package/dist/apispec/src/models/WarmProcessSpec.d.ts +67 -0
  42. package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +1 -0
  43. package/dist/apispec/src/models/WarmProcessSpec.js +58 -0
  44. package/dist/apispec/src/models/index.d.ts +10 -3
  45. package/dist/apispec/src/models/index.d.ts.map +1 -1
  46. package/dist/apispec/src/models/index.js +10 -3
  47. package/dist/resources/volumes.js +1 -1
  48. package/dist/response_normalize.d.ts.map +1 -1
  49. package/dist/response_normalize.js +1 -2
  50. package/dist/sandbox.js +1 -1
  51. package/dist/sandbox_files.js +1 -1
  52. package/dist/template_helpers.d.ts +7 -19
  53. package/dist/template_helpers.d.ts.map +1 -1
  54. package/dist/template_helpers.js +7 -26
  55. package/dist/ws_client.d.ts +13 -3
  56. package/dist/ws_client.d.ts.map +1 -1
  57. package/dist/ws_client.js +145 -28
  58. package/package.json +1 -1
  59. package/dist/apispec/src/models/ContainerMountSpec.d.ts +0 -45
  60. package/dist/apispec/src/models/ContainerMountSpec.d.ts.map +0 -1
  61. package/dist/apispec/src/models/ContainerMountSpec.js +0 -49
  62. package/dist/apispec/src/models/SharedVolumeSpec.d.ts +0 -69
  63. package/dist/apispec/src/models/SharedVolumeSpec.d.ts.map +0 -1
  64. package/dist/apispec/src/models/SharedVolumeSpec.js +0 -57
  65. package/dist/apispec/src/models/SidecarContainerSpec.d.ts +0 -85
  66. package/dist/apispec/src/models/SidecarContainerSpec.d.ts.map +0 -1
  67. package/dist/apispec/src/models/SidecarContainerSpec.js +0 -67
@@ -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;;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E,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(),
@@ -0,0 +1,45 @@
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 SandboxSSHConnection
16
+ */
17
+ export interface SandboxSSHConnection {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SandboxSSHConnection
22
+ */
23
+ host: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SandboxSSHConnection
28
+ */
29
+ port: number;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SandboxSSHConnection
34
+ */
35
+ username: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SandboxSSHConnection interface.
39
+ */
40
+ export declare function instanceOfSandboxSSHConnection(value: object): value is SandboxSSHConnection;
41
+ export declare function SandboxSSHConnectionFromJSON(json: any): SandboxSSHConnection;
42
+ export declare function SandboxSSHConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SandboxSSHConnection;
43
+ export declare function SandboxSSHConnectionToJSON(json: any): SandboxSSHConnection;
44
+ export declare function SandboxSSHConnectionToJSONTyped(value?: SandboxSSHConnection | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=SandboxSSHConnection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SandboxSSHConnection.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxSSHConnection.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAK3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAU/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9H"}
@@ -0,0 +1,51 @@
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 SandboxSSHConnection interface.
16
+ */
17
+ export function instanceOfSandboxSSHConnection(value) {
18
+ if (!('host' in value) || value['host'] === undefined)
19
+ return false;
20
+ if (!('port' in value) || value['port'] === undefined)
21
+ return false;
22
+ if (!('username' in value) || value['username'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function SandboxSSHConnectionFromJSON(json) {
27
+ return SandboxSSHConnectionFromJSONTyped(json, false);
28
+ }
29
+ export function SandboxSSHConnectionFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'host': json['host'],
35
+ 'port': json['port'],
36
+ 'username': json['username'],
37
+ };
38
+ }
39
+ export function SandboxSSHConnectionToJSON(json) {
40
+ return SandboxSSHConnectionToJSONTyped(json, false);
41
+ }
42
+ export function SandboxSSHConnectionToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'host': value['host'],
48
+ 'port': value['port'],
49
+ 'username': value['username'],
50
+ };
51
+ }
@@ -13,8 +13,7 @@ import type { PoolStrategy } from './PoolStrategy.js';
13
13
  import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
14
14
  import type { ContainerSpec } from './ContainerSpec.js';
15
15
  import type { LifecyclePolicy } from './LifecyclePolicy.js';
16
- import type { SidecarContainerSpec } from './SidecarContainerSpec.js';
17
- import type { SharedVolumeSpec } from './SharedVolumeSpec.js';
16
+ import type { WarmProcessSpec } from './WarmProcessSpec.js';
18
17
  import type { PodSpecOverride } from './PodSpecOverride.js';
19
18
  /**
20
19
  *
@@ -48,16 +47,10 @@ export interface SandboxTemplateSpec {
48
47
  mainContainer?: ContainerSpec;
49
48
  /**
50
49
  *
51
- * @type {Array<SidecarContainerSpec>}
50
+ * @type {Array<WarmProcessSpec>}
52
51
  * @memberof SandboxTemplateSpec
53
52
  */
54
- sidecars?: Array<SidecarContainerSpec>;
55
- /**
56
- *
57
- * @type {Array<SharedVolumeSpec>}
58
- * @memberof SandboxTemplateSpec
59
- */
60
- sharedVolumes?: Array<SharedVolumeSpec>;
53
+ warmProcesses?: Array<WarmProcessSpec>;
61
54
  /**
62
55
  *
63
56
  * @type {PodSpecOverride}
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC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AAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAoB7G;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,CAqB5H"}
@@ -15,8 +15,7 @@ import { PoolStrategyFromJSON, PoolStrategyToJSON, } from './PoolStrategy.js';
15
15
  import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
16
16
  import { ContainerSpecFromJSON, ContainerSpecToJSON, } from './ContainerSpec.js';
17
17
  import { LifecyclePolicyFromJSON, LifecyclePolicyToJSON, } from './LifecyclePolicy.js';
18
- import { SidecarContainerSpecFromJSON, SidecarContainerSpecToJSON, } from './SidecarContainerSpec.js';
19
- import { SharedVolumeSpecFromJSON, SharedVolumeSpecToJSON, } from './SharedVolumeSpec.js';
18
+ import { WarmProcessSpecFromJSON, WarmProcessSpecToJSON, } from './WarmProcessSpec.js';
20
19
  import { PodSpecOverrideFromJSON, PodSpecOverrideToJSON, } from './PodSpecOverride.js';
21
20
  /**
22
21
  * Check if a given object implements the SandboxTemplateSpec interface.
@@ -36,8 +35,7 @@ export function SandboxTemplateSpecFromJSONTyped(json, ignoreDiscriminator) {
36
35
  'displayName': json['displayName'] == null ? undefined : json['displayName'],
37
36
  'tags': json['tags'] == null ? undefined : json['tags'],
38
37
  'mainContainer': json['mainContainer'] == null ? undefined : ContainerSpecFromJSON(json['mainContainer']),
39
- 'sidecars': json['sidecars'] == null ? undefined : (json['sidecars'].map(SidecarContainerSpecFromJSON)),
40
- 'sharedVolumes': json['sharedVolumes'] == null ? undefined : (json['sharedVolumes'].map(SharedVolumeSpecFromJSON)),
38
+ 'warmProcesses': json['warmProcesses'] == null ? undefined : (json['warmProcesses'].map(WarmProcessSpecFromJSON)),
41
39
  'pod': json['pod'] == null ? undefined : PodSpecOverrideFromJSON(json['pod']),
42
40
  'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
43
41
  'pool': json['pool'] == null ? undefined : PoolStrategyFromJSON(json['pool']),
@@ -60,8 +58,7 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
60
58
  'displayName': value['displayName'],
61
59
  'tags': value['tags'],
62
60
  'mainContainer': ContainerSpecToJSON(value['mainContainer']),
63
- 'sidecars': value['sidecars'] == null ? undefined : (value['sidecars'].map(SidecarContainerSpecToJSON)),
64
- 'sharedVolumes': value['sharedVolumes'] == null ? undefined : (value['sharedVolumes'].map(SharedVolumeSpecToJSON)),
61
+ 'warmProcesses': value['warmProcesses'] == null ? undefined : (value['warmProcesses'].map(WarmProcessSpecToJSON)),
65
62
  'pod': PodSpecOverrideToJSON(value['pod']),
66
63
  'network': SandboxNetworkPolicyToJSON(value['network']),
67
64
  'pool': PoolStrategyToJSON(value['pool']),
@@ -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 { SuccessCurrentAPIKeyResponseAllOfData } from './SuccessCurrentAPIKeyResponseAllOfData.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessCurrentAPIKeyResponse
17
+ */
18
+ export interface SuccessCurrentAPIKeyResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessCurrentAPIKeyResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {SuccessCurrentAPIKeyResponseAllOfData}
28
+ * @memberof SuccessCurrentAPIKeyResponse
29
+ */
30
+ data?: SuccessCurrentAPIKeyResponseAllOfData;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessCurrentAPIKeyResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessCurrentAPIKeyResponse(value: object): value is SuccessCurrentAPIKeyResponse;
36
+ export declare function SuccessCurrentAPIKeyResponseFromJSON(json: any): SuccessCurrentAPIKeyResponse;
37
+ export declare function SuccessCurrentAPIKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessCurrentAPIKeyResponse;
38
+ export declare function SuccessCurrentAPIKeyResponseToJSON(json: any): SuccessCurrentAPIKeyResponse;
39
+ export declare function SuccessCurrentAPIKeyResponseToJSONTyped(value?: SuccessCurrentAPIKeyResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessCurrentAPIKeyResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessCurrentAPIKeyResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessCurrentAPIKeyResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAQrG;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qCAAqC,CAAC;CAChD;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAG3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9I"}
@@ -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 { SuccessCurrentAPIKeyResponseAllOfDataFromJSON, SuccessCurrentAPIKeyResponseAllOfDataToJSON, } from './SuccessCurrentAPIKeyResponseAllOfData.js';
15
+ /**
16
+ * Check if a given object implements the SuccessCurrentAPIKeyResponse interface.
17
+ */
18
+ export function instanceOfSuccessCurrentAPIKeyResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessCurrentAPIKeyResponseFromJSON(json) {
24
+ return SuccessCurrentAPIKeyResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessCurrentAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : SuccessCurrentAPIKeyResponseAllOfDataFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessCurrentAPIKeyResponseToJSON(json) {
36
+ return SuccessCurrentAPIKeyResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessCurrentAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': SuccessCurrentAPIKeyResponseAllOfDataToJSON(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 { CurrentAPIKeyResponse } from './CurrentAPIKeyResponse.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessCurrentAPIKeyResponseAllOfData
17
+ */
18
+ export interface SuccessCurrentAPIKeyResponseAllOfData {
19
+ /**
20
+ *
21
+ * @type {CurrentAPIKeyResponse}
22
+ * @memberof SuccessCurrentAPIKeyResponseAllOfData
23
+ */
24
+ apiKey?: CurrentAPIKeyResponse;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SuccessCurrentAPIKeyResponseAllOfData interface.
28
+ */
29
+ export declare function instanceOfSuccessCurrentAPIKeyResponseAllOfData(value: object): value is SuccessCurrentAPIKeyResponseAllOfData;
30
+ export declare function SuccessCurrentAPIKeyResponseAllOfDataFromJSON(json: any): SuccessCurrentAPIKeyResponseAllOfData;
31
+ export declare function SuccessCurrentAPIKeyResponseAllOfDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessCurrentAPIKeyResponseAllOfData;
32
+ export declare function SuccessCurrentAPIKeyResponseAllOfDataToJSON(json: any): SuccessCurrentAPIKeyResponseAllOfData;
33
+ export declare function SuccessCurrentAPIKeyResponseAllOfDataToJSONTyped(value?: SuccessCurrentAPIKeyResponseAllOfData | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=SuccessCurrentAPIKeyResponseAllOfData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessCurrentAPIKeyResponseAllOfData.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessCurrentAPIKeyResponseAllOfData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qCAAqC,CAE7H;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAQjJ;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE5G;AAED,wBAAgB,gDAAgD,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAShK"}
@@ -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"}