sandbox0 0.9.8 → 0.10.1

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 (110) hide show
  1. package/README.md +0 -15
  2. package/dist/apispec/src/apis/FilesApi.d.ts +1 -112
  3. package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
  4. package/dist/apispec/src/apis/FilesApi.js +1 -330
  5. package/dist/apispec/src/apis/index.d.ts +0 -2
  6. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  7. package/dist/apispec/src/apis/index.js +0 -2
  8. package/dist/apispec/src/models/ClaimRequest.d.ts +0 -7
  9. package/dist/apispec/src/models/ClaimRequest.d.ts.map +1 -1
  10. package/dist/apispec/src/models/ClaimRequest.js +0 -3
  11. package/dist/apispec/src/models/ClaimResponse.d.ts +0 -7
  12. package/dist/apispec/src/models/ClaimResponse.d.ts.map +1 -1
  13. package/dist/apispec/src/models/ClaimResponse.js +0 -3
  14. package/dist/apispec/src/models/ObservabilityEventSource.d.ts +0 -2
  15. package/dist/apispec/src/models/ObservabilityEventSource.d.ts.map +1 -1
  16. package/dist/apispec/src/models/ObservabilityEventSource.js +1 -3
  17. package/dist/apispec/src/models/QuotaDimension.d.ts +0 -2
  18. package/dist/apispec/src/models/QuotaDimension.d.ts.map +1 -1
  19. package/dist/apispec/src/models/QuotaDimension.js +0 -2
  20. package/dist/apispec/src/models/ResourceQuota.d.ts +1 -1
  21. package/dist/apispec/src/models/SSHProxyProjection.d.ts +1 -1
  22. package/dist/apispec/src/models/Sandbox.d.ts +0 -7
  23. package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
  24. package/dist/apispec/src/models/Sandbox.js +0 -3
  25. package/dist/apispec/src/models/SandboxResourceConfig.d.ts +1 -1
  26. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +0 -7
  27. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
  28. package/dist/apispec/src/models/SandboxTemplateSpec.js +0 -3
  29. package/dist/apispec/src/models/WebhookConfig.d.ts +1 -1
  30. package/dist/apispec/src/models/index.d.ts +0 -20
  31. package/dist/apispec/src/models/index.d.ts.map +1 -1
  32. package/dist/apispec/src/models/index.js +0 -20
  33. package/dist/client.d.ts +0 -4
  34. package/dist/client.d.ts.map +1 -1
  35. package/dist/client.js +0 -5
  36. package/dist/index.d.ts +0 -2
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/resources/sandboxes.d.ts +1 -2
  39. package/dist/resources/sandboxes.d.ts.map +1 -1
  40. package/dist/resources/sandboxes.js +0 -3
  41. package/dist/sandbox.d.ts +0 -3
  42. package/dist/sandbox.d.ts.map +1 -1
  43. package/dist/sandbox.js +0 -2
  44. package/dist/sessions.d.ts +0 -20
  45. package/dist/sessions.d.ts.map +1 -1
  46. package/dist/sessions.js +0 -36
  47. package/package.json +1 -1
  48. package/dist/apispec/src/apis/SandboxVolumesApi.d.ts +0 -73
  49. package/dist/apispec/src/apis/SandboxVolumesApi.d.ts.map +0 -1
  50. package/dist/apispec/src/apis/SandboxVolumesApi.js +0 -187
  51. package/dist/apispec/src/apis/SnapshotsApi.d.ts +0 -78
  52. package/dist/apispec/src/apis/SnapshotsApi.d.ts.map +0 -1
  53. package/dist/apispec/src/apis/SnapshotsApi.js +0 -202
  54. package/dist/apispec/src/models/ClaimMountRequest.d.ts +0 -39
  55. package/dist/apispec/src/models/ClaimMountRequest.d.ts.map +0 -1
  56. package/dist/apispec/src/models/ClaimMountRequest.js +0 -47
  57. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +0 -66
  58. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +0 -1
  59. package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +0 -54
  60. package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts +0 -84
  61. package/dist/apispec/src/models/CreateSandboxVolumeS3Config.d.ts.map +0 -1
  62. package/dist/apispec/src/models/CreateSandboxVolumeS3Config.js +0 -69
  63. package/dist/apispec/src/models/CreateSnapshotRequest.d.ts +0 -39
  64. package/dist/apispec/src/models/CreateSnapshotRequest.d.ts.map +0 -1
  65. package/dist/apispec/src/models/CreateSnapshotRequest.js +0 -45
  66. package/dist/apispec/src/models/ForkVolumeRequest.d.ts +0 -46
  67. package/dist/apispec/src/models/ForkVolumeRequest.d.ts.map +0 -1
  68. package/dist/apispec/src/models/ForkVolumeRequest.js +0 -46
  69. package/dist/apispec/src/models/MountStatus.d.ts +0 -79
  70. package/dist/apispec/src/models/MountStatus.d.ts.map +0 -1
  71. package/dist/apispec/src/models/MountStatus.js +0 -68
  72. package/dist/apispec/src/models/SandboxVolume.d.ts +0 -108
  73. package/dist/apispec/src/models/SandboxVolume.d.ts.map +0 -1
  74. package/dist/apispec/src/models/SandboxVolume.js +0 -80
  75. package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts +0 -66
  76. package/dist/apispec/src/models/SandboxVolumeS3Config.d.ts.map +0 -1
  77. package/dist/apispec/src/models/SandboxVolumeS3Config.js +0 -61
  78. package/dist/apispec/src/models/Snapshot.d.ts +0 -69
  79. package/dist/apispec/src/models/Snapshot.d.ts.map +0 -1
  80. package/dist/apispec/src/models/Snapshot.js +0 -63
  81. package/dist/apispec/src/models/SuccessSandboxVolumeListResponse.d.ts +0 -40
  82. package/dist/apispec/src/models/SuccessSandboxVolumeListResponse.d.ts.map +0 -1
  83. package/dist/apispec/src/models/SuccessSandboxVolumeListResponse.js +0 -46
  84. package/dist/apispec/src/models/SuccessSandboxVolumeResponse.d.ts +0 -40
  85. package/dist/apispec/src/models/SuccessSandboxVolumeResponse.d.ts.map +0 -1
  86. package/dist/apispec/src/models/SuccessSandboxVolumeResponse.js +0 -46
  87. package/dist/apispec/src/models/SuccessSnapshotListResponse.d.ts +0 -40
  88. package/dist/apispec/src/models/SuccessSnapshotListResponse.d.ts.map +0 -1
  89. package/dist/apispec/src/models/SuccessSnapshotListResponse.js +0 -46
  90. package/dist/apispec/src/models/SuccessSnapshotResponse.d.ts +0 -40
  91. package/dist/apispec/src/models/SuccessSnapshotResponse.d.ts.map +0 -1
  92. package/dist/apispec/src/models/SuccessSnapshotResponse.js +0 -46
  93. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts +0 -40
  94. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.d.ts.map +0 -1
  95. package/dist/apispec/src/models/SuccessVolumeFileArchiveImportResponse.js +0 -46
  96. package/dist/apispec/src/models/VolumeAccessMode.d.ts +0 -27
  97. package/dist/apispec/src/models/VolumeAccessMode.d.ts.map +0 -1
  98. package/dist/apispec/src/models/VolumeAccessMode.js +0 -44
  99. package/dist/apispec/src/models/VolumeBackend.d.ts +0 -26
  100. package/dist/apispec/src/models/VolumeBackend.d.ts.map +0 -1
  101. package/dist/apispec/src/models/VolumeBackend.js +0 -43
  102. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts +0 -51
  103. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.d.ts.map +0 -1
  104. package/dist/apispec/src/models/VolumeFileArchiveImportResponse.js +0 -55
  105. package/dist/apispec/src/models/VolumeMountSpec.d.ts +0 -45
  106. package/dist/apispec/src/models/VolumeMountSpec.d.ts.map +0 -1
  107. package/dist/apispec/src/models/VolumeMountSpec.js +0 -49
  108. package/dist/resources/volumes.d.ts +0 -31
  109. package/dist/resources/volumes.d.ts.map +0 -1
  110. package/dist/resources/volumes.js +0 -222
@@ -1,39 +0,0 @@
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 ClaimMountRequest
16
- */
17
- export interface ClaimMountRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ClaimMountRequest
22
- */
23
- sandboxvolumeId: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ClaimMountRequest
28
- */
29
- mountPoint: string;
30
- }
31
- /**
32
- * Check if a given object implements the ClaimMountRequest interface.
33
- */
34
- export declare function instanceOfClaimMountRequest(value: object): value is ClaimMountRequest;
35
- export declare function ClaimMountRequestFromJSON(json: any): ClaimMountRequest;
36
- export declare function ClaimMountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClaimMountRequest;
37
- export declare function ClaimMountRequestToJSON(json: any): ClaimMountRequest;
38
- export declare function ClaimMountRequestToJSONTyped(value?: ClaimMountRequest | null, ignoreDiscriminator?: boolean): any;
39
- //# sourceMappingURL=ClaimMountRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClaimMountRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ClaimMountRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAIrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxH"}
@@ -1,47 +0,0 @@
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 ClaimMountRequest interface.
16
- */
17
- export function instanceOfClaimMountRequest(value) {
18
- if (!('sandboxvolumeId' in value) || value['sandboxvolumeId'] === undefined)
19
- return false;
20
- if (!('mountPoint' in value) || value['mountPoint'] === undefined)
21
- return false;
22
- return true;
23
- }
24
- export function ClaimMountRequestFromJSON(json) {
25
- return ClaimMountRequestFromJSONTyped(json, false);
26
- }
27
- export function ClaimMountRequestFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'sandboxvolumeId': json['sandboxvolume_id'],
33
- 'mountPoint': json['mount_point'],
34
- };
35
- }
36
- export function ClaimMountRequestToJSON(json) {
37
- return ClaimMountRequestToJSONTyped(json, false);
38
- }
39
- export function ClaimMountRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'sandboxvolume_id': value['sandboxvolumeId'],
45
- 'mount_point': value['mountPoint'],
46
- };
47
- }
@@ -1,66 +0,0 @@
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 { VolumeAccessMode } from './VolumeAccessMode.js';
13
- import type { CreateSandboxVolumeS3Config } from './CreateSandboxVolumeS3Config.js';
14
- import type { VolumeBackend } from './VolumeBackend.js';
15
- /**
16
- *
17
- * @export
18
- * @interface CreateSandboxVolumeRequest
19
- */
20
- export interface CreateSandboxVolumeRequest {
21
- /**
22
- * Optional snapshot ID used to initialize the new volume from immutable snapshot state.
23
- * @type {string}
24
- * @memberof CreateSandboxVolumeRequest
25
- */
26
- snapshotId?: string;
27
- /**
28
- *
29
- * @type {VolumeBackend}
30
- * @memberof CreateSandboxVolumeRequest
31
- */
32
- backend?: VolumeBackend;
33
- /**
34
- *
35
- * @type {CreateSandboxVolumeS3Config}
36
- * @memberof CreateSandboxVolumeRequest
37
- */
38
- s3?: CreateSandboxVolumeS3Config;
39
- /**
40
- * Default POSIX UID used by external volume access paths that do not carry caller identity. Defaults to 0 when omitted on create.
41
- * @type {number}
42
- * @memberof CreateSandboxVolumeRequest
43
- */
44
- defaultPosixUid?: number;
45
- /**
46
- * Default POSIX GID used by external volume access paths that do not carry caller identity. Defaults to 0 when omitted on create.
47
- * @type {number}
48
- * @memberof CreateSandboxVolumeRequest
49
- */
50
- defaultPosixGid?: number;
51
- /**
52
- *
53
- * @type {VolumeAccessMode}
54
- * @memberof CreateSandboxVolumeRequest
55
- */
56
- accessMode?: VolumeAccessMode;
57
- }
58
- /**
59
- * Check if a given object implements the CreateSandboxVolumeRequest interface.
60
- */
61
- export declare function instanceOfCreateSandboxVolumeRequest(value: object): value is CreateSandboxVolumeRequest;
62
- export declare function CreateSandboxVolumeRequestFromJSON(json: any): CreateSandboxVolumeRequest;
63
- export declare function CreateSandboxVolumeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSandboxVolumeRequest;
64
- export declare function CreateSandboxVolumeRequestToJSON(json: any): CreateSandboxVolumeRequest;
65
- export declare function CreateSandboxVolumeRequestToJSONTyped(value?: CreateSandboxVolumeRequest | null, ignoreDiscriminator?: boolean): any;
66
- //# sourceMappingURL=CreateSandboxVolumeRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSandboxVolumeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateSandboxVolumeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,EAAE,CAAC,EAAE,2BAA2B,CAAC;IACjC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAa3H;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,CAc1I"}
@@ -1,54 +0,0 @@
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 { VolumeAccessModeFromJSON, VolumeAccessModeToJSON, } from './VolumeAccessMode.js';
15
- import { CreateSandboxVolumeS3ConfigFromJSON, CreateSandboxVolumeS3ConfigToJSON, } from './CreateSandboxVolumeS3Config.js';
16
- import { VolumeBackendFromJSON, VolumeBackendToJSON, } from './VolumeBackend.js';
17
- /**
18
- * Check if a given object implements the CreateSandboxVolumeRequest interface.
19
- */
20
- export function instanceOfCreateSandboxVolumeRequest(value) {
21
- return true;
22
- }
23
- export function CreateSandboxVolumeRequestFromJSON(json) {
24
- return CreateSandboxVolumeRequestFromJSONTyped(json, false);
25
- }
26
- export function CreateSandboxVolumeRequestFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'snapshotId': json['snapshot_id'] == null ? undefined : json['snapshot_id'],
32
- 'backend': json['backend'] == null ? undefined : VolumeBackendFromJSON(json['backend']),
33
- 's3': json['s3'] == null ? undefined : CreateSandboxVolumeS3ConfigFromJSON(json['s3']),
34
- 'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
35
- 'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
36
- 'accessMode': json['access_mode'] == null ? undefined : VolumeAccessModeFromJSON(json['access_mode']),
37
- };
38
- }
39
- export function CreateSandboxVolumeRequestToJSON(json) {
40
- return CreateSandboxVolumeRequestToJSONTyped(json, false);
41
- }
42
- export function CreateSandboxVolumeRequestToJSONTyped(value, ignoreDiscriminator = false) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'snapshot_id': value['snapshotId'],
48
- 'backend': VolumeBackendToJSON(value['backend']),
49
- 's3': CreateSandboxVolumeS3ConfigToJSON(value['s3']),
50
- 'default_posix_uid': value['defaultPosixUid'],
51
- 'default_posix_gid': value['defaultPosixGid'],
52
- 'access_mode': VolumeAccessModeToJSON(value['accessMode']),
53
- };
54
- }
@@ -1,84 +0,0 @@
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 CreateSandboxVolumeS3Config
16
- */
17
- export interface CreateSandboxVolumeS3Config {
18
- /**
19
- * S3-compatible provider. ali is Aliyun OSS; r2 is Cloudflare R2.
20
- * @type {string}
21
- * @memberof CreateSandboxVolumeS3Config
22
- */
23
- provider?: CreateSandboxVolumeS3ConfigProviderEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateSandboxVolumeS3Config
28
- */
29
- bucket: string;
30
- /**
31
- * Optional object key prefix to expose as the volume root.
32
- * @type {string}
33
- * @memberof CreateSandboxVolumeS3Config
34
- */
35
- prefix?: string;
36
- /**
37
- * AWS region for the target bucket. Required for provider aws unless endpoint_url is provided.
38
- * @type {string}
39
- * @memberof CreateSandboxVolumeS3Config
40
- */
41
- region?: string;
42
- /**
43
- * Optional endpoint override. Required for ali and r2. For aws, endpoint_url can be used instead of region for S3-compatible endpoints.
44
- * @type {string}
45
- * @memberof CreateSandboxVolumeS3Config
46
- */
47
- endpointUrl?: string;
48
- /**
49
- * Access key for this S3 backend volume. Required with secret_key. Stored encrypted and omitted from API responses.
50
- * @type {string}
51
- * @memberof CreateSandboxVolumeS3Config
52
- */
53
- accessKey: string;
54
- /**
55
- * Secret key for this S3 backend volume. Required with access_key. Stored encrypted and omitted from API responses.
56
- * @type {string}
57
- * @memberof CreateSandboxVolumeS3Config
58
- */
59
- secretKey: string;
60
- /**
61
- * Optional temporary credential session token.
62
- * @type {string}
63
- * @memberof CreateSandboxVolumeS3Config
64
- */
65
- sessionToken?: string;
66
- }
67
- /**
68
- * @export
69
- */
70
- export declare const CreateSandboxVolumeS3ConfigProviderEnum: {
71
- readonly Aws: "aws";
72
- readonly Ali: "ali";
73
- readonly R2: "r2";
74
- };
75
- export type CreateSandboxVolumeS3ConfigProviderEnum = typeof CreateSandboxVolumeS3ConfigProviderEnum[keyof typeof CreateSandboxVolumeS3ConfigProviderEnum];
76
- /**
77
- * Check if a given object implements the CreateSandboxVolumeS3Config interface.
78
- */
79
- export declare function instanceOfCreateSandboxVolumeS3Config(value: object): value is CreateSandboxVolumeS3Config;
80
- export declare function CreateSandboxVolumeS3ConfigFromJSON(json: any): CreateSandboxVolumeS3Config;
81
- export declare function CreateSandboxVolumeS3ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSandboxVolumeS3Config;
82
- export declare function CreateSandboxVolumeS3ConfigToJSON(json: any): CreateSandboxVolumeS3Config;
83
- export declare function CreateSandboxVolumeS3ConfigToJSONTyped(value?: CreateSandboxVolumeS3Config | null, ignoreDiscriminator?: boolean): any;
84
- //# sourceMappingURL=CreateSandboxVolumeS3Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSandboxVolumeS3Config.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateSandboxVolumeS3Config.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,uCAAuC,CAAC;IACnD;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;;CAI1C,CAAC;AACX,MAAM,MAAM,uCAAuC,GAAG,OAAO,uCAAuC,CAAC,MAAM,OAAO,uCAAuC,CAAC,CAAC;AAG3J;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAKzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAe7H;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,CAgB5I"}
@@ -1,69 +0,0 @@
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
- * @export
16
- */
17
- export const CreateSandboxVolumeS3ConfigProviderEnum = {
18
- Aws: 'aws',
19
- Ali: 'ali',
20
- R2: 'r2'
21
- };
22
- /**
23
- * Check if a given object implements the CreateSandboxVolumeS3Config interface.
24
- */
25
- export function instanceOfCreateSandboxVolumeS3Config(value) {
26
- if (!('bucket' in value) || value['bucket'] === undefined)
27
- return false;
28
- if (!('accessKey' in value) || value['accessKey'] === undefined)
29
- return false;
30
- if (!('secretKey' in value) || value['secretKey'] === undefined)
31
- return false;
32
- return true;
33
- }
34
- export function CreateSandboxVolumeS3ConfigFromJSON(json) {
35
- return CreateSandboxVolumeS3ConfigFromJSONTyped(json, false);
36
- }
37
- export function CreateSandboxVolumeS3ConfigFromJSONTyped(json, ignoreDiscriminator) {
38
- if (json == null) {
39
- return json;
40
- }
41
- return {
42
- 'provider': json['provider'] == null ? undefined : json['provider'],
43
- 'bucket': json['bucket'],
44
- 'prefix': json['prefix'] == null ? undefined : json['prefix'],
45
- 'region': json['region'] == null ? undefined : json['region'],
46
- 'endpointUrl': json['endpoint_url'] == null ? undefined : json['endpoint_url'],
47
- 'accessKey': json['access_key'],
48
- 'secretKey': json['secret_key'],
49
- 'sessionToken': json['session_token'] == null ? undefined : json['session_token'],
50
- };
51
- }
52
- export function CreateSandboxVolumeS3ConfigToJSON(json) {
53
- return CreateSandboxVolumeS3ConfigToJSONTyped(json, false);
54
- }
55
- export function CreateSandboxVolumeS3ConfigToJSONTyped(value, ignoreDiscriminator = false) {
56
- if (value == null) {
57
- return value;
58
- }
59
- return {
60
- 'provider': value['provider'],
61
- 'bucket': value['bucket'],
62
- 'prefix': value['prefix'],
63
- 'region': value['region'],
64
- 'endpoint_url': value['endpointUrl'],
65
- 'access_key': value['accessKey'],
66
- 'secret_key': value['secretKey'],
67
- 'session_token': value['sessionToken'],
68
- };
69
- }
@@ -1,39 +0,0 @@
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 CreateSnapshotRequest
16
- */
17
- export interface CreateSnapshotRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateSnapshotRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateSnapshotRequest
28
- */
29
- description?: string;
30
- }
31
- /**
32
- * Check if a given object implements the CreateSnapshotRequest interface.
33
- */
34
- export declare function instanceOfCreateSnapshotRequest(value: object): value is CreateSnapshotRequest;
35
- export declare function CreateSnapshotRequestFromJSON(json: any): CreateSnapshotRequest;
36
- export declare function CreateSnapshotRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSnapshotRequest;
37
- export declare function CreateSnapshotRequestToJSON(json: any): CreateSnapshotRequest;
38
- export declare function CreateSnapshotRequestToJSONTyped(value?: CreateSnapshotRequest | null, ignoreDiscriminator?: boolean): any;
39
- //# sourceMappingURL=CreateSnapshotRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateSnapshotRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateSnapshotRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;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,CAUhI"}
@@ -1,45 +0,0 @@
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 CreateSnapshotRequest interface.
16
- */
17
- export function instanceOfCreateSnapshotRequest(value) {
18
- if (!('name' in value) || value['name'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function CreateSnapshotRequestFromJSON(json) {
23
- return CreateSnapshotRequestFromJSONTyped(json, false);
24
- }
25
- export function CreateSnapshotRequestFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'name': json['name'],
31
- 'description': json['description'] == null ? undefined : json['description'],
32
- };
33
- }
34
- export function CreateSnapshotRequestToJSON(json) {
35
- return CreateSnapshotRequestToJSONTyped(json, false);
36
- }
37
- export function CreateSnapshotRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'name': value['name'],
43
- 'description': value['description'],
44
- };
45
- }
@@ -1,46 +0,0 @@
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 { VolumeAccessMode } from './VolumeAccessMode.js';
13
- /**
14
- *
15
- * @export
16
- * @interface ForkVolumeRequest
17
- */
18
- export interface ForkVolumeRequest {
19
- /**
20
- * Override the default POSIX UID for external volume access paths. Inherits from the source volume when omitted.
21
- * @type {number}
22
- * @memberof ForkVolumeRequest
23
- */
24
- defaultPosixUid?: number;
25
- /**
26
- * Override the default POSIX GID for external volume access paths. Inherits from the source volume when omitted.
27
- * @type {number}
28
- * @memberof ForkVolumeRequest
29
- */
30
- defaultPosixGid?: number;
31
- /**
32
- *
33
- * @type {VolumeAccessMode}
34
- * @memberof ForkVolumeRequest
35
- */
36
- accessMode?: VolumeAccessMode;
37
- }
38
- /**
39
- * Check if a given object implements the ForkVolumeRequest interface.
40
- */
41
- export declare function instanceOfForkVolumeRequest(value: object): value is ForkVolumeRequest;
42
- export declare function ForkVolumeRequestFromJSON(json: any): ForkVolumeRequest;
43
- export declare function ForkVolumeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForkVolumeRequest;
44
- export declare function ForkVolumeRequestToJSON(json: any): ForkVolumeRequest;
45
- export declare function ForkVolumeRequestToJSONTyped(value?: ForkVolumeRequest | null, ignoreDiscriminator?: boolean): any;
46
- //# sourceMappingURL=ForkVolumeRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ForkVolumeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ForkVolumeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CACjC;AAID;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAUzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxH"}
@@ -1,46 +0,0 @@
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 { VolumeAccessModeFromJSON, VolumeAccessModeToJSON, } from './VolumeAccessMode.js';
15
- /**
16
- * Check if a given object implements the ForkVolumeRequest interface.
17
- */
18
- export function instanceOfForkVolumeRequest(value) {
19
- return true;
20
- }
21
- export function ForkVolumeRequestFromJSON(json) {
22
- return ForkVolumeRequestFromJSONTyped(json, false);
23
- }
24
- export function ForkVolumeRequestFromJSONTyped(json, ignoreDiscriminator) {
25
- if (json == null) {
26
- return json;
27
- }
28
- return {
29
- 'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
30
- 'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
31
- 'accessMode': json['access_mode'] == null ? undefined : VolumeAccessModeFromJSON(json['access_mode']),
32
- };
33
- }
34
- export function ForkVolumeRequestToJSON(json) {
35
- return ForkVolumeRequestToJSONTyped(json, false);
36
- }
37
- export function ForkVolumeRequestToJSONTyped(value, ignoreDiscriminator = false) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'default_posix_uid': value['defaultPosixUid'],
43
- 'default_posix_gid': value['defaultPosixGid'],
44
- 'access_mode': VolumeAccessModeToJSON(value['accessMode']),
45
- };
46
- }
@@ -1,79 +0,0 @@
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 MountStatus
16
- */
17
- export interface MountStatus {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof MountStatus
22
- */
23
- sandboxvolumeId: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof MountStatus
28
- */
29
- mountPoint: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof MountStatus
34
- */
35
- state: MountStatusStateEnum;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof MountStatus
40
- */
41
- mountedAt?: string;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof MountStatus
46
- */
47
- mountedDurationSec?: number;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof MountStatus
52
- */
53
- errorCode?: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof MountStatus
58
- */
59
- errorMessage?: string;
60
- }
61
- /**
62
- * @export
63
- */
64
- export declare const MountStatusStateEnum: {
65
- readonly Pending: "pending";
66
- readonly Mounting: "mounting";
67
- readonly Mounted: "mounted";
68
- readonly Failed: "failed";
69
- };
70
- export type MountStatusStateEnum = typeof MountStatusStateEnum[keyof typeof MountStatusStateEnum];
71
- /**
72
- * Check if a given object implements the MountStatus interface.
73
- */
74
- export declare function instanceOfMountStatus(value: object): value is MountStatus;
75
- export declare function MountStatusFromJSON(json: any): MountStatus;
76
- export declare function MountStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): MountStatus;
77
- export declare function MountStatusToJSON(json: any): MountStatus;
78
- export declare function MountStatusToJSONTyped(value?: MountStatus | null, ignoreDiscriminator?: boolean): any;
79
- //# sourceMappingURL=MountStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MountStatus.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/MountStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAKzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAc7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe5G"}