sandbox0 0.2.8 → 0.3.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 (137) hide show
  1. package/README.md +0 -2
  2. package/dist/apispec/src/apis/AuthApi.d.ts +15 -1
  3. package/dist/apispec/src/apis/AuthApi.d.ts.map +1 -1
  4. package/dist/apispec/src/apis/AuthApi.js +33 -1
  5. package/dist/apispec/src/apis/FilesApi.d.ts +15 -1
  6. package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
  7. package/dist/apispec/src/apis/FilesApi.js +41 -1
  8. package/dist/apispec/src/apis/SandboxVolumesApi.d.ts +1 -36
  9. package/dist/apispec/src/apis/SandboxVolumesApi.d.ts.map +1 -1
  10. package/dist/apispec/src/apis/SandboxVolumesApi.js +1 -110
  11. package/dist/apispec/src/apis/SandboxesApi.d.ts +7 -7
  12. package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
  13. package/dist/apispec/src/apis/SandboxesApi.js +11 -6
  14. package/dist/apispec/src/models/APIKey.d.ts +6 -0
  15. package/dist/apispec/src/models/APIKey.d.ts.map +1 -1
  16. package/dist/apispec/src/models/APIKey.js +4 -0
  17. package/dist/apispec/src/models/ClaimMountRequest.d.ts +0 -7
  18. package/dist/apispec/src/models/ClaimMountRequest.d.ts.map +1 -1
  19. package/dist/apispec/src/models/ClaimMountRequest.js +0 -3
  20. package/dist/apispec/src/models/ClaimRequest.d.ts +0 -17
  21. package/dist/apispec/src/models/ClaimRequest.d.ts.map +1 -1
  22. package/dist/apispec/src/models/ClaimRequest.js +0 -4
  23. package/dist/apispec/src/models/CloneVolumeFileEntry.d.ts +57 -0
  24. package/dist/apispec/src/models/CloneVolumeFileEntry.d.ts.map +1 -0
  25. package/dist/apispec/src/models/CloneVolumeFileEntry.js +55 -0
  26. package/dist/apispec/src/models/CloneVolumeFileResult.d.ts +65 -0
  27. package/dist/apispec/src/models/CloneVolumeFileResult.d.ts.map +1 -0
  28. package/dist/apispec/src/models/CloneVolumeFileResult.js +66 -0
  29. package/dist/apispec/src/models/CloneVolumeFilesRequest.d.ts +55 -0
  30. package/dist/apispec/src/models/CloneVolumeFilesRequest.d.ts.map +1 -0
  31. package/dist/apispec/src/models/CloneVolumeFilesRequest.js +56 -0
  32. package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts +7 -1
  33. package/dist/apispec/src/models/CreateAPIKeyRequest.d.ts.map +1 -1
  34. package/dist/apispec/src/models/CreateAPIKeyRequest.js +2 -0
  35. package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts +6 -0
  36. package/dist/apispec/src/models/CreateAPIKeyResponse.d.ts.map +1 -1
  37. package/dist/apispec/src/models/CreateAPIKeyResponse.js +4 -0
  38. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts +0 -24
  39. package/dist/apispec/src/models/CreateSandboxVolumeRequest.d.ts.map +1 -1
  40. package/dist/apispec/src/models/CreateSandboxVolumeRequest.js +0 -8
  41. package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts +6 -0
  42. package/dist/apispec/src/models/CurrentAPIKeyResponse.d.ts.map +1 -1
  43. package/dist/apispec/src/models/CurrentAPIKeyResponse.js +4 -0
  44. package/dist/apispec/src/models/ForkVolumeRequest.d.ts +0 -24
  45. package/dist/apispec/src/models/ForkVolumeRequest.d.ts.map +1 -1
  46. package/dist/apispec/src/models/ForkVolumeRequest.js +0 -8
  47. package/dist/apispec/src/models/MountStatus.d.ts +0 -6
  48. package/dist/apispec/src/models/MountStatus.d.ts.map +1 -1
  49. package/dist/apispec/src/models/MountStatus.js +0 -2
  50. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +7 -0
  51. package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
  52. package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -0
  53. package/dist/apispec/src/models/SandboxVolume.d.ts +0 -24
  54. package/dist/apispec/src/models/SandboxVolume.d.ts.map +1 -1
  55. package/dist/apispec/src/models/SandboxVolume.js +0 -12
  56. package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.d.ts +40 -0
  57. package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.d.ts.map +1 -0
  58. package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.js +46 -0
  59. package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.d.ts +34 -0
  60. package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.d.ts.map +1 -0
  61. package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.js +42 -0
  62. package/dist/apispec/src/models/VolumeMountSpec.d.ts +45 -0
  63. package/dist/apispec/src/models/VolumeMountSpec.d.ts.map +1 -0
  64. package/dist/apispec/src/models/VolumeMountSpec.js +49 -0
  65. package/dist/apispec/src/models/WebLoginExchangeRequest.d.ts +39 -0
  66. package/dist/apispec/src/models/WebLoginExchangeRequest.d.ts.map +1 -0
  67. package/dist/apispec/src/models/WebLoginExchangeRequest.js +47 -0
  68. package/dist/apispec/src/models/WebhookConfig.d.ts +1 -0
  69. package/dist/apispec/src/models/WebhookConfig.d.ts.map +1 -1
  70. package/dist/apispec/src/models/index.d.ts +7 -11
  71. package/dist/apispec/src/models/index.d.ts.map +1 -1
  72. package/dist/apispec/src/models/index.js +7 -11
  73. package/dist/client.d.ts +1 -2
  74. package/dist/client.d.ts.map +1 -1
  75. package/dist/client.js +9 -3
  76. package/dist/index.d.ts +0 -1
  77. package/dist/index.d.ts.map +1 -1
  78. package/dist/index.js +0 -1
  79. package/dist/models.d.ts +7 -0
  80. package/dist/models.d.ts.map +1 -1
  81. package/dist/resources/sandboxes.d.ts +0 -2
  82. package/dist/resources/sandboxes.d.ts.map +1 -1
  83. package/dist/resources/sandboxes.js +1 -5
  84. package/dist/resources/volumes.d.ts +2 -1
  85. package/dist/resources/volumes.d.ts.map +1 -1
  86. package/dist/resources/volumes.js +8 -0
  87. package/dist/sandbox_logs.d.ts +1 -2
  88. package/dist/sandbox_logs.d.ts.map +1 -1
  89. package/package.json +1 -1
  90. package/dist/apispec/src/models/ActiveTeam.d.ts +0 -63
  91. package/dist/apispec/src/models/ActiveTeam.d.ts.map +0 -1
  92. package/dist/apispec/src/models/ActiveTeam.js +0 -57
  93. package/dist/apispec/src/models/MountRequest.d.ts +0 -52
  94. package/dist/apispec/src/models/MountRequest.d.ts.map +0 -1
  95. package/dist/apispec/src/models/MountRequest.js +0 -52
  96. package/dist/apispec/src/models/MountResponse.d.ts +0 -51
  97. package/dist/apispec/src/models/MountResponse.d.ts.map +0 -1
  98. package/dist/apispec/src/models/MountResponse.js +0 -55
  99. package/dist/apispec/src/models/ProbePort.d.ts +0 -22
  100. package/dist/apispec/src/models/ProbePort.d.ts.map +0 -1
  101. package/dist/apispec/src/models/ProbePort.js +0 -43
  102. package/dist/apispec/src/models/SandboxLogs.d.ts +0 -57
  103. package/dist/apispec/src/models/SandboxLogs.d.ts.map +0 -1
  104. package/dist/apispec/src/models/SandboxLogs.js +0 -59
  105. package/dist/apispec/src/models/SuccessActiveTeamResponse.d.ts +0 -40
  106. package/dist/apispec/src/models/SuccessActiveTeamResponse.d.ts.map +0 -1
  107. package/dist/apispec/src/models/SuccessActiveTeamResponse.js +0 -46
  108. package/dist/apispec/src/models/SuccessMountResponse.d.ts +0 -40
  109. package/dist/apispec/src/models/SuccessMountResponse.d.ts.map +0 -1
  110. package/dist/apispec/src/models/SuccessMountResponse.js +0 -46
  111. package/dist/apispec/src/models/SuccessMountStatusResponse.d.ts +0 -40
  112. package/dist/apispec/src/models/SuccessMountStatusResponse.d.ts.map +0 -1
  113. package/dist/apispec/src/models/SuccessMountStatusResponse.js +0 -46
  114. package/dist/apispec/src/models/SuccessMountStatusResponseAllOfData.d.ts +0 -34
  115. package/dist/apispec/src/models/SuccessMountStatusResponseAllOfData.d.ts.map +0 -1
  116. package/dist/apispec/src/models/SuccessMountStatusResponseAllOfData.js +0 -42
  117. package/dist/apispec/src/models/SuccessSandboxLogsResponse.d.ts +0 -40
  118. package/dist/apispec/src/models/SuccessSandboxLogsResponse.d.ts.map +0 -1
  119. package/dist/apispec/src/models/SuccessSandboxLogsResponse.js +0 -46
  120. package/dist/apispec/src/models/SuccessUnmountedResponse.d.ts +0 -40
  121. package/dist/apispec/src/models/SuccessUnmountedResponse.d.ts.map +0 -1
  122. package/dist/apispec/src/models/SuccessUnmountedResponse.js +0 -46
  123. package/dist/apispec/src/models/SuccessUnmountedResponseAllOfData.d.ts +0 -33
  124. package/dist/apispec/src/models/SuccessUnmountedResponseAllOfData.d.ts.map +0 -1
  125. package/dist/apispec/src/models/SuccessUnmountedResponseAllOfData.js +0 -41
  126. package/dist/apispec/src/models/TplSandboxNetworkPolicy.d.ts +0 -51
  127. package/dist/apispec/src/models/TplSandboxNetworkPolicy.d.ts.map +0 -1
  128. package/dist/apispec/src/models/TplSandboxNetworkPolicy.js +0 -53
  129. package/dist/apispec/src/models/UnmountRequest.d.ts +0 -39
  130. package/dist/apispec/src/models/UnmountRequest.d.ts.map +0 -1
  131. package/dist/apispec/src/models/UnmountRequest.js +0 -47
  132. package/dist/apispec/src/models/VolumeConfig.d.ts +0 -51
  133. package/dist/apispec/src/models/VolumeConfig.d.ts.map +0 -1
  134. package/dist/apispec/src/models/VolumeConfig.js +0 -47
  135. package/dist/sandbox_volumes.d.ts +0 -10
  136. package/dist/sandbox_volumes.d.ts.map +0 -1
  137. package/dist/sandbox_volumes.js +0 -42
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { VolumeConfigFromJSON, VolumeConfigToJSON, } from './VolumeConfig.js';
15
14
  /**
16
15
  * Check if a given object implements the ClaimMountRequest interface.
17
16
  */
@@ -32,7 +31,6 @@ export function ClaimMountRequestFromJSONTyped(json, ignoreDiscriminator) {
32
31
  return {
33
32
  'sandboxvolumeId': json['sandboxvolume_id'],
34
33
  'mountPoint': json['mount_point'],
35
- 'volumeConfig': json['volume_config'] == null ? undefined : VolumeConfigFromJSON(json['volume_config']),
36
34
  };
37
35
  }
38
36
  export function ClaimMountRequestToJSON(json) {
@@ -45,6 +43,5 @@ export function ClaimMountRequestToJSONTyped(value, ignoreDiscriminator = false)
45
43
  return {
46
44
  'sandboxvolume_id': value['sandboxvolumeId'],
47
45
  'mount_point': value['mountPoint'],
48
- 'volume_config': VolumeConfigToJSON(value['volumeConfig']),
49
46
  };
50
47
  }
@@ -35,23 +35,6 @@ export interface ClaimRequest {
35
35
  * @memberof ClaimRequest
36
36
  */
37
37
  mounts?: Array<ClaimMountRequest>;
38
- /**
39
- * When true, claim waits best-effort for requested bootstrap mounts to
40
- * reach a terminal state before returning. The wait is bounded by
41
- * `mount_wait_timeout_ms`.
42
- *
43
- * @type {boolean}
44
- * @memberof ClaimRequest
45
- */
46
- waitForMounts?: boolean;
47
- /**
48
- * Optional best-effort wait budget in milliseconds for bootstrap
49
- * mounts when `wait_for_mounts` is true.
50
- *
51
- * @type {number}
52
- * @memberof ClaimRequest
53
- */
54
- mountWaitTimeoutMs?: number;
55
38
  }
56
39
  /**
57
40
  * Check if a given object implements the ClaimRequest interface.
@@ -1 +1 @@
1
- {"version":3,"file":"ClaimRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ClaimRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAClC;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAY/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,CAa9G"}
1
+ {"version":3,"file":"ClaimRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ClaimRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAU/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,CAW9G"}
@@ -30,8 +30,6 @@ export function ClaimRequestFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'template': json['template'] == null ? undefined : json['template'],
31
31
  'config': json['config'] == null ? undefined : SandboxConfigFromJSON(json['config']),
32
32
  'mounts': json['mounts'] == null ? undefined : (json['mounts'].map(ClaimMountRequestFromJSON)),
33
- 'waitForMounts': json['wait_for_mounts'] == null ? undefined : json['wait_for_mounts'],
34
- 'mountWaitTimeoutMs': json['mount_wait_timeout_ms'] == null ? undefined : json['mount_wait_timeout_ms'],
35
33
  };
36
34
  }
37
35
  export function ClaimRequestToJSON(json) {
@@ -45,7 +43,5 @@ export function ClaimRequestToJSONTyped(value, ignoreDiscriminator = false) {
45
43
  'template': value['template'],
46
44
  'config': SandboxConfigToJSON(value['config']),
47
45
  'mounts': value['mounts'] == null ? undefined : (value['mounts'].map(ClaimMountRequestToJSON)),
48
- 'wait_for_mounts': value['waitForMounts'],
49
- 'mount_wait_timeout_ms': value['mountWaitTimeoutMs'],
50
46
  };
51
47
  }
@@ -0,0 +1,57 @@
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 CloneVolumeFileEntry
16
+ */
17
+ export interface CloneVolumeFileEntry {
18
+ /**
19
+ * Source sandbox volume ID. It must belong to the same team as the target volume.
20
+ * @type {string}
21
+ * @memberof CloneVolumeFileEntry
22
+ */
23
+ sourceVolumeId: string;
24
+ /**
25
+ * Source regular file path inside the source volume.
26
+ * @type {string}
27
+ * @memberof CloneVolumeFileEntry
28
+ */
29
+ sourcePath: string;
30
+ /**
31
+ * Destination file path inside the target volume.
32
+ * @type {string}
33
+ * @memberof CloneVolumeFileEntry
34
+ */
35
+ targetPath: string;
36
+ /**
37
+ * Replace an existing destination file. Existing directories are never overwritten.
38
+ * @type {boolean}
39
+ * @memberof CloneVolumeFileEntry
40
+ */
41
+ overwrite?: boolean;
42
+ /**
43
+ * Create missing parent directories under the target path.
44
+ * @type {boolean}
45
+ * @memberof CloneVolumeFileEntry
46
+ */
47
+ createParents?: boolean;
48
+ }
49
+ /**
50
+ * Check if a given object implements the CloneVolumeFileEntry interface.
51
+ */
52
+ export declare function instanceOfCloneVolumeFileEntry(value: object): value is CloneVolumeFileEntry;
53
+ export declare function CloneVolumeFileEntryFromJSON(json: any): CloneVolumeFileEntry;
54
+ export declare function CloneVolumeFileEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloneVolumeFileEntry;
55
+ export declare function CloneVolumeFileEntryToJSON(json: any): CloneVolumeFileEntry;
56
+ export declare function CloneVolumeFileEntryToJSONTyped(value?: CloneVolumeFileEntry | null, ignoreDiscriminator?: boolean): any;
57
+ //# sourceMappingURL=CloneVolumeFileEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloneVolumeFileEntry.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CloneVolumeFileEntry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;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,CAY/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,CAa9H"}
@@ -0,0 +1,55 @@
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 CloneVolumeFileEntry interface.
16
+ */
17
+ export function instanceOfCloneVolumeFileEntry(value) {
18
+ if (!('sourceVolumeId' in value) || value['sourceVolumeId'] === undefined)
19
+ return false;
20
+ if (!('sourcePath' in value) || value['sourcePath'] === undefined)
21
+ return false;
22
+ if (!('targetPath' in value) || value['targetPath'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function CloneVolumeFileEntryFromJSON(json) {
27
+ return CloneVolumeFileEntryFromJSONTyped(json, false);
28
+ }
29
+ export function CloneVolumeFileEntryFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'sourceVolumeId': json['source_volume_id'],
35
+ 'sourcePath': json['source_path'],
36
+ 'targetPath': json['target_path'],
37
+ 'overwrite': json['overwrite'] == null ? undefined : json['overwrite'],
38
+ 'createParents': json['create_parents'] == null ? undefined : json['create_parents'],
39
+ };
40
+ }
41
+ export function CloneVolumeFileEntryToJSON(json) {
42
+ return CloneVolumeFileEntryToJSONTyped(json, false);
43
+ }
44
+ export function CloneVolumeFileEntryToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'source_volume_id': value['sourceVolumeId'],
50
+ 'source_path': value['sourcePath'],
51
+ 'target_path': value['targetPath'],
52
+ 'overwrite': value['overwrite'],
53
+ 'create_parents': value['createParents'],
54
+ };
55
+ }
@@ -0,0 +1,65 @@
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 CloneVolumeFileResult
16
+ */
17
+ export interface CloneVolumeFileResult {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CloneVolumeFileResult
22
+ */
23
+ sourceVolumeId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CloneVolumeFileResult
28
+ */
29
+ sourcePath: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CloneVolumeFileResult
34
+ */
35
+ targetPath: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CloneVolumeFileResult
40
+ */
41
+ mode: CloneVolumeFileResultModeEnum;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof CloneVolumeFileResult
46
+ */
47
+ sizeBytes: number;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const CloneVolumeFileResultModeEnum: {
53
+ readonly Cow: "cow";
54
+ readonly Copy: "copy";
55
+ };
56
+ export type CloneVolumeFileResultModeEnum = typeof CloneVolumeFileResultModeEnum[keyof typeof CloneVolumeFileResultModeEnum];
57
+ /**
58
+ * Check if a given object implements the CloneVolumeFileResult interface.
59
+ */
60
+ export declare function instanceOfCloneVolumeFileResult(value: object): value is CloneVolumeFileResult;
61
+ export declare function CloneVolumeFileResultFromJSON(json: any): CloneVolumeFileResult;
62
+ export declare function CloneVolumeFileResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloneVolumeFileResult;
63
+ export declare function CloneVolumeFileResultToJSON(json: any): CloneVolumeFileResult;
64
+ export declare function CloneVolumeFileResultToJSONTyped(value?: CloneVolumeFileResult | null, ignoreDiscriminator?: boolean): any;
65
+ //# sourceMappingURL=CloneVolumeFileResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloneVolumeFileResult.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CloneVolumeFileResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,IAAI,EAAE,6BAA6B,CAAC;IACpC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAGD;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAO7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAYjH;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,CAahI"}
@@ -0,0 +1,66 @@
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 CloneVolumeFileResultModeEnum = {
18
+ Cow: 'cow',
19
+ Copy: 'copy'
20
+ };
21
+ /**
22
+ * Check if a given object implements the CloneVolumeFileResult interface.
23
+ */
24
+ export function instanceOfCloneVolumeFileResult(value) {
25
+ if (!('sourceVolumeId' in value) || value['sourceVolumeId'] === undefined)
26
+ return false;
27
+ if (!('sourcePath' in value) || value['sourcePath'] === undefined)
28
+ return false;
29
+ if (!('targetPath' in value) || value['targetPath'] === undefined)
30
+ return false;
31
+ if (!('mode' in value) || value['mode'] === undefined)
32
+ return false;
33
+ if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ export function CloneVolumeFileResultFromJSON(json) {
38
+ return CloneVolumeFileResultFromJSONTyped(json, false);
39
+ }
40
+ export function CloneVolumeFileResultFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'sourceVolumeId': json['source_volume_id'],
46
+ 'sourcePath': json['source_path'],
47
+ 'targetPath': json['target_path'],
48
+ 'mode': json['mode'],
49
+ 'sizeBytes': json['size_bytes'],
50
+ };
51
+ }
52
+ export function CloneVolumeFileResultToJSON(json) {
53
+ return CloneVolumeFileResultToJSONTyped(json, false);
54
+ }
55
+ export function CloneVolumeFileResultToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'source_volume_id': value['sourceVolumeId'],
61
+ 'source_path': value['sourcePath'],
62
+ 'target_path': value['targetPath'],
63
+ 'mode': value['mode'],
64
+ 'size_bytes': value['sizeBytes'],
65
+ };
66
+ }
@@ -0,0 +1,55 @@
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 { CloneVolumeFileEntry } from './CloneVolumeFileEntry.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CloneVolumeFilesRequest
17
+ */
18
+ export interface CloneVolumeFilesRequest {
19
+ /**
20
+ * Clone strategy. cow_or_copy prefers copy-on-write and falls back to server-side copy.
21
+ * @type {string}
22
+ * @memberof CloneVolumeFilesRequest
23
+ */
24
+ mode?: CloneVolumeFilesRequestModeEnum;
25
+ /**
26
+ * Batch atomicity flag. Only true is currently supported.
27
+ * @type {boolean}
28
+ * @memberof CloneVolumeFilesRequest
29
+ */
30
+ atomic?: boolean;
31
+ /**
32
+ *
33
+ * @type {Array<CloneVolumeFileEntry>}
34
+ * @memberof CloneVolumeFilesRequest
35
+ */
36
+ entries: Array<CloneVolumeFileEntry>;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const CloneVolumeFilesRequestModeEnum: {
42
+ readonly CowOrCopy: "cow_or_copy";
43
+ readonly CowRequired: "cow_required";
44
+ readonly Copy: "copy";
45
+ };
46
+ export type CloneVolumeFilesRequestModeEnum = typeof CloneVolumeFilesRequestModeEnum[keyof typeof CloneVolumeFilesRequestModeEnum];
47
+ /**
48
+ * Check if a given object implements the CloneVolumeFilesRequest interface.
49
+ */
50
+ export declare function instanceOfCloneVolumeFilesRequest(value: object): value is CloneVolumeFilesRequest;
51
+ export declare function CloneVolumeFilesRequestFromJSON(json: any): CloneVolumeFilesRequest;
52
+ export declare function CloneVolumeFilesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloneVolumeFilesRequest;
53
+ export declare function CloneVolumeFilesRequestToJSON(json: any): CloneVolumeFilesRequest;
54
+ export declare function CloneVolumeFilesRequestToJSONTyped(value?: CloneVolumeFilesRequest | null, ignoreDiscriminator?: boolean): any;
55
+ //# sourceMappingURL=CloneVolumeFilesRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CloneVolumeFilesRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CloneVolumeFilesRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,+BAA+B,CAAC;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CACxC;AAGD;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;CAIlC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,OAAO,+BAA+B,CAAC,MAAM,OAAO,+BAA+B,CAAC,CAAC;AAGnI;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAUrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWpI"}
@@ -0,0 +1,56 @@
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 { CloneVolumeFileEntryFromJSON, CloneVolumeFileEntryToJSON, } from './CloneVolumeFileEntry.js';
15
+ /**
16
+ * @export
17
+ */
18
+ export const CloneVolumeFilesRequestModeEnum = {
19
+ CowOrCopy: 'cow_or_copy',
20
+ CowRequired: 'cow_required',
21
+ Copy: 'copy'
22
+ };
23
+ /**
24
+ * Check if a given object implements the CloneVolumeFilesRequest interface.
25
+ */
26
+ export function instanceOfCloneVolumeFilesRequest(value) {
27
+ if (!('entries' in value) || value['entries'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ export function CloneVolumeFilesRequestFromJSON(json) {
32
+ return CloneVolumeFilesRequestFromJSONTyped(json, false);
33
+ }
34
+ export function CloneVolumeFilesRequestFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'mode': json['mode'] == null ? undefined : json['mode'],
40
+ 'atomic': json['atomic'] == null ? undefined : json['atomic'],
41
+ 'entries': (json['entries'].map(CloneVolumeFileEntryFromJSON)),
42
+ };
43
+ }
44
+ export function CloneVolumeFilesRequestToJSON(json) {
45
+ return CloneVolumeFilesRequestToJSONTyped(json, false);
46
+ }
47
+ export function CloneVolumeFilesRequestToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'mode': value['mode'],
53
+ 'atomic': value['atomic'],
54
+ 'entries': (value['entries'].map(CloneVolumeFileEntryToJSON)),
55
+ };
56
+ }
@@ -22,7 +22,13 @@ export interface CreateAPIKeyRequest {
22
22
  */
23
23
  name: string;
24
24
  /**
25
- *
25
+ * API key scope: team or platform. Defaults to team. platform keys grant system admin access, require a system admin user session, and do not support roles.
26
+ * @type {string}
27
+ * @memberof CreateAPIKeyRequest
28
+ */
29
+ scope?: string;
30
+ /**
31
+ * Requested API key roles. Supported roles: admin, developer, builder, viewer. The roles must not grant permissions outside the authenticated caller's permissions.
26
32
  * @type {Array<string>}
27
33
  * @memberof CreateAPIKeyRequest
28
34
  */
@@ -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,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"}
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,MAAM,CAAC;IACf;;;;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,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"}
@@ -28,6 +28,7 @@ export function CreateAPIKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
28
28
  }
29
29
  return {
30
30
  'name': json['name'],
31
+ 'scope': json['scope'] == null ? undefined : json['scope'],
31
32
  'roles': json['roles'] == null ? undefined : json['roles'],
32
33
  'expiresIn': json['expires_in'] == null ? undefined : json['expires_in'],
33
34
  };
@@ -41,6 +42,7 @@ export function CreateAPIKeyRequestToJSONTyped(value, ignoreDiscriminator = fals
41
42
  }
42
43
  return {
43
44
  'name': value['name'],
45
+ 'scope': value['scope'],
44
46
  'roles': value['roles'],
45
47
  'expires_in': value['expiresIn'],
46
48
  };
@@ -27,6 +27,12 @@ export interface CreateAPIKeyResponse {
27
27
  * @memberof CreateAPIKeyResponse
28
28
  */
29
29
  name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateAPIKeyResponse
34
+ */
35
+ scope: string;
30
36
  /**
31
37
  *
32
38
  * @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,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,CAQ3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAc/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,CAe9H"}
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,KAAK,EAAE,MAAM,CAAC;IACd;;;;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,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAe/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,CAgB9H"}
@@ -19,6 +19,8 @@ export function instanceOfCreateAPIKeyResponse(value) {
19
19
  return false;
20
20
  if (!('name' in value) || value['name'] === undefined)
21
21
  return false;
22
+ if (!('scope' in value) || value['scope'] === undefined)
23
+ return false;
22
24
  if (!('roles' in value) || value['roles'] === undefined)
23
25
  return false;
24
26
  if (!('teamId' in value) || value['teamId'] === undefined)
@@ -39,6 +41,7 @@ export function CreateAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
39
41
  return {
40
42
  'id': json['id'],
41
43
  'name': json['name'],
44
+ 'scope': json['scope'],
42
45
  'roles': json['roles'],
43
46
  'teamId': json['team_id'],
44
47
  'key': json['key'] == null ? undefined : json['key'],
@@ -56,6 +59,7 @@ export function CreateAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = fal
56
59
  return {
57
60
  'id': value['id'],
58
61
  'name': value['name'],
62
+ 'scope': value['scope'],
59
63
  'roles': value['roles'],
60
64
  'team_id': value['teamId'],
61
65
  'key': value['key'],
@@ -28,30 +28,6 @@ export interface CreateSandboxVolumeRequest {
28
28
  * @memberof CreateSandboxVolumeRequest
29
29
  */
30
30
  defaultPosixGid?: number;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof CreateSandboxVolumeRequest
35
- */
36
- cacheSize?: string;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof CreateSandboxVolumeRequest
41
- */
42
- prefetch?: number;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof CreateSandboxVolumeRequest
47
- */
48
- bufferSize?: string;
49
- /**
50
- *
51
- * @type {boolean}
52
- * @memberof CreateSandboxVolumeRequest
53
- */
54
- writeback?: boolean;
55
31
  /**
56
32
  *
57
33
  * @type {VolumeAccessMode}
@@ -1 +1 @@
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;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;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,CAc3H;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,CAe1I"}
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;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;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,CAU3H;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,CAW1I"}
@@ -28,10 +28,6 @@ export function CreateSandboxVolumeRequestFromJSONTyped(json, ignoreDiscriminato
28
28
  return {
29
29
  'defaultPosixUid': json['default_posix_uid'] == null ? undefined : json['default_posix_uid'],
30
30
  'defaultPosixGid': json['default_posix_gid'] == null ? undefined : json['default_posix_gid'],
31
- 'cacheSize': json['cache_size'] == null ? undefined : json['cache_size'],
32
- 'prefetch': json['prefetch'] == null ? undefined : json['prefetch'],
33
- 'bufferSize': json['buffer_size'] == null ? undefined : json['buffer_size'],
34
- 'writeback': json['writeback'] == null ? undefined : json['writeback'],
35
31
  'accessMode': json['access_mode'] == null ? undefined : VolumeAccessModeFromJSON(json['access_mode']),
36
32
  };
37
33
  }
@@ -45,10 +41,6 @@ export function CreateSandboxVolumeRequestToJSONTyped(value, ignoreDiscriminator
45
41
  return {
46
42
  'default_posix_uid': value['defaultPosixUid'],
47
43
  'default_posix_gid': value['defaultPosixGid'],
48
- 'cache_size': value['cacheSize'],
49
- 'prefetch': value['prefetch'],
50
- 'buffer_size': value['bufferSize'],
51
- 'writeback': value['writeback'],
52
44
  'access_mode': VolumeAccessModeToJSON(value['accessMode']),
53
45
  };
54
46
  }
@@ -33,6 +33,12 @@ export interface CurrentAPIKeyResponse {
33
33
  * @memberof CurrentAPIKeyResponse
34
34
  */
35
35
  createdBy: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CurrentAPIKeyResponse
40
+ */
41
+ scope: string;
36
42
  /**
37
43
  *
38
44
  * @type {Array<string>}
@@ -1 +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"}
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,MAAM,CAAC;IACd;;;;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,CAU7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;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,CAgBhI"}
@@ -21,6 +21,8 @@ export function instanceOfCurrentAPIKeyResponse(value) {
21
21
  return false;
22
22
  if (!('createdBy' in value) || value['createdBy'] === undefined)
23
23
  return false;
24
+ if (!('scope' in value) || value['scope'] === undefined)
25
+ return false;
24
26
  if (!('roles' in value) || value['roles'] === undefined)
25
27
  return false;
26
28
  if (!('permissions' in value) || value['permissions'] === undefined)
@@ -42,6 +44,7 @@ export function CurrentAPIKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
42
44
  'id': json['id'],
43
45
  'teamId': json['team_id'],
44
46
  'createdBy': json['created_by'],
47
+ 'scope': json['scope'],
45
48
  'roles': json['roles'],
46
49
  'permissions': json['permissions'],
47
50
  'isActive': json['is_active'],
@@ -59,6 +62,7 @@ export function CurrentAPIKeyResponseToJSONTyped(value, ignoreDiscriminator = fa
59
62
  'id': value['id'],
60
63
  'team_id': value['teamId'],
61
64
  'created_by': value['createdBy'],
65
+ 'scope': value['scope'],
62
66
  'roles': value['roles'],
63
67
  'permissions': value['permissions'],
64
68
  'is_active': value['isActive'],