sandbox0 0.3.1 → 0.3.3
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.
- package/dist/apispec/src/apis/FilesApi.d.ts +1 -15
- package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/FilesApi.js +1 -41
- package/dist/apispec/src/apis/SandboxesApi.d.ts +26 -1
- package/dist/apispec/src/apis/SandboxesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/SandboxesApi.js +74 -1
- package/dist/apispec/src/apis/index.d.ts +0 -1
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +0 -1
- package/dist/apispec/src/models/PublicGatewayAuth.d.ts +60 -0
- package/dist/apispec/src/models/PublicGatewayAuth.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayAuth.js +57 -0
- package/dist/apispec/src/models/PublicGatewayCORS.d.ts +63 -0
- package/dist/apispec/src/models/PublicGatewayCORS.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayCORS.js +51 -0
- package/dist/apispec/src/models/PublicGatewayConfig.d.ts +40 -0
- package/dist/apispec/src/models/PublicGatewayConfig.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayConfig.js +46 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts +39 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayRateLimit.js +47 -0
- package/dist/apispec/src/models/PublicGatewayRoute.d.ts +92 -0
- package/dist/apispec/src/models/PublicGatewayRoute.d.ts.map +1 -0
- package/dist/apispec/src/models/PublicGatewayRoute.js +68 -0
- package/dist/apispec/src/models/Sandbox.d.ts +7 -0
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +3 -0
- package/dist/apispec/src/models/SandboxConfig.d.ts +7 -0
- package/dist/apispec/src/models/SandboxConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxConfig.js +3 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +7 -0
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxUpdateConfig.js +3 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponse.js +46 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts +46 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessPublicGatewayResponseAllOfData.js +50 -0
- package/dist/apispec/src/models/index.d.ts +7 -34
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +7 -34
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/models.d.ts +6 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/resources/volumes.d.ts +1 -2
- package/dist/resources/volumes.d.ts.map +1 -1
- package/dist/resources/volumes.js +0 -8
- package/dist/sandbox_public_gateway.d.ts +10 -0
- package/dist/sandbox_public_gateway.d.ts.map +1 -0
- package/dist/sandbox_public_gateway.js +31 -0
- package/package.json +1 -1
- package/dist/apispec/src/apis/VolumeSyncApi.d.ts +0 -145
- package/dist/apispec/src/apis/VolumeSyncApi.d.ts.map +0 -1
- package/dist/apispec/src/apis/VolumeSyncApi.js +0 -416
- package/dist/apispec/src/models/AppendReplicaChangesRequest.d.ts +0 -46
- package/dist/apispec/src/models/AppendReplicaChangesRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/AppendReplicaChangesRequest.js +0 -52
- package/dist/apispec/src/models/AppendReplicaChangesResponse.d.ts +0 -47
- package/dist/apispec/src/models/AppendReplicaChangesResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/AppendReplicaChangesResponse.js +0 -53
- package/dist/apispec/src/models/ChangeRequest.d.ts +0 -92
- package/dist/apispec/src/models/ChangeRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/ChangeRequest.js +0 -67
- package/dist/apispec/src/models/CloneVolumeFileEntry.d.ts +0 -57
- package/dist/apispec/src/models/CloneVolumeFileEntry.d.ts.map +0 -1
- package/dist/apispec/src/models/CloneVolumeFileEntry.js +0 -55
- package/dist/apispec/src/models/CloneVolumeFileResult.d.ts +0 -65
- package/dist/apispec/src/models/CloneVolumeFileResult.d.ts.map +0 -1
- package/dist/apispec/src/models/CloneVolumeFileResult.js +0 -66
- package/dist/apispec/src/models/CloneVolumeFilesRequest.d.ts +0 -55
- package/dist/apispec/src/models/CloneVolumeFilesRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/CloneVolumeFilesRequest.js +0 -56
- package/dist/apispec/src/models/CreateVolumeSyncBootstrapRequest.d.ts +0 -52
- package/dist/apispec/src/models/CreateVolumeSyncBootstrapRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/CreateVolumeSyncBootstrapRequest.js +0 -48
- package/dist/apispec/src/models/ListVolumeSyncChangesResponse.d.ts +0 -46
- package/dist/apispec/src/models/ListVolumeSyncChangesResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/ListVolumeSyncChangesResponse.js +0 -52
- package/dist/apispec/src/models/ListVolumeSyncConflictsResponse.d.ts +0 -34
- package/dist/apispec/src/models/ListVolumeSyncConflictsResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/ListVolumeSyncConflictsResponse.js +0 -44
- package/dist/apispec/src/models/ResolveVolumeSyncConflictRequest.d.ts +0 -53
- package/dist/apispec/src/models/ResolveVolumeSyncConflictRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/ResolveVolumeSyncConflictRequest.js +0 -54
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponse.js +0 -46
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.d.ts +0 -34
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessCloneVolumeFilesResponseAllOfData.js +0 -42
- package/dist/apispec/src/models/SuccessVolumeSyncAppendResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessVolumeSyncAppendResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessVolumeSyncAppendResponse.js +0 -46
- package/dist/apispec/src/models/SuccessVolumeSyncBootstrapResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessVolumeSyncBootstrapResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessVolumeSyncBootstrapResponse.js +0 -46
- package/dist/apispec/src/models/SuccessVolumeSyncChangeListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessVolumeSyncChangeListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessVolumeSyncChangeListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessVolumeSyncConflictListResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessVolumeSyncConflictListResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessVolumeSyncConflictListResponse.js +0 -46
- package/dist/apispec/src/models/SuccessVolumeSyncConflictResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessVolumeSyncConflictResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessVolumeSyncConflictResponse.js +0 -46
- package/dist/apispec/src/models/SuccessVolumeSyncReplicaResponse.d.ts +0 -40
- package/dist/apispec/src/models/SuccessVolumeSyncReplicaResponse.d.ts.map +0 -1
- package/dist/apispec/src/models/SuccessVolumeSyncReplicaResponse.js +0 -46
- package/dist/apispec/src/models/SyncConflict.d.ts +0 -119
- package/dist/apispec/src/models/SyncConflict.d.ts.map +0 -1
- package/dist/apispec/src/models/SyncConflict.js +0 -69
- package/dist/apispec/src/models/SyncEventType.d.ts +0 -30
- package/dist/apispec/src/models/SyncEventType.d.ts.map +0 -1
- package/dist/apispec/src/models/SyncEventType.js +0 -47
- package/dist/apispec/src/models/SyncJournalEntry.d.ts +0 -154
- package/dist/apispec/src/models/SyncJournalEntry.d.ts.map +0 -1
- package/dist/apispec/src/models/SyncJournalEntry.js +0 -90
- package/dist/apispec/src/models/SyncReplica.d.ts +0 -100
- package/dist/apispec/src/models/SyncReplica.d.ts.map +0 -1
- package/dist/apispec/src/models/SyncReplica.js +0 -64
- package/dist/apispec/src/models/UpdateSyncReplicaCursorRequest.d.ts +0 -33
- package/dist/apispec/src/models/UpdateSyncReplicaCursorRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/UpdateSyncReplicaCursorRequest.js +0 -43
- package/dist/apispec/src/models/UpsertSyncReplicaRequest.d.ts +0 -58
- package/dist/apispec/src/models/UpsertSyncReplicaRequest.d.ts.map +0 -1
- package/dist/apispec/src/models/UpsertSyncReplicaRequest.js +0 -50
- package/dist/apispec/src/models/VolumeSyncBootstrap.d.ts +0 -46
- package/dist/apispec/src/models/VolumeSyncBootstrap.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncBootstrap.js +0 -52
- package/dist/apispec/src/models/VolumeSyncBootstrapCompatibilityConflictDetails.d.ts +0 -60
- package/dist/apispec/src/models/VolumeSyncBootstrapCompatibilityConflictDetails.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncBootstrapCompatibilityConflictDetails.js +0 -63
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelope.d.ts +0 -40
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelope.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelope.js +0 -48
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelopeAllOfError.d.ts +0 -46
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelopeAllOfError.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelopeAllOfError.js +0 -50
- package/dist/apispec/src/models/VolumeSyncCompatibilityIssue.d.ts +0 -63
- package/dist/apispec/src/models/VolumeSyncCompatibilityIssue.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncCompatibilityIssue.js +0 -53
- package/dist/apispec/src/models/VolumeSyncFilesystemCapabilities.d.ts +0 -45
- package/dist/apispec/src/models/VolumeSyncFilesystemCapabilities.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncFilesystemCapabilities.js +0 -51
- package/dist/apispec/src/models/VolumeSyncReplicaEnvelope.d.ts +0 -40
- package/dist/apispec/src/models/VolumeSyncReplicaEnvelope.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncReplicaEnvelope.js +0 -48
- package/dist/apispec/src/models/VolumeSyncReseedRequiredDetails.d.ts +0 -52
- package/dist/apispec/src/models/VolumeSyncReseedRequiredDetails.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncReseedRequiredDetails.js +0 -57
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelope.d.ts +0 -40
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelope.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelope.js +0 -48
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelopeAllOfError.d.ts +0 -46
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelopeAllOfError.d.ts.map +0 -1
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelopeAllOfError.js +0 -50
|
@@ -1,92 +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 { SyncEventType } from './SyncEventType.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ChangeRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface ChangeRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {SyncEventType}
|
|
22
|
-
* @memberof ChangeRequest
|
|
23
|
-
*/
|
|
24
|
-
eventType: SyncEventType;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ChangeRequest
|
|
29
|
-
*/
|
|
30
|
-
path?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ChangeRequest
|
|
35
|
-
*/
|
|
36
|
-
oldPath?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ChangeRequest
|
|
41
|
-
*/
|
|
42
|
-
entryKind?: ChangeRequestEntryKindEnum;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ChangeRequest
|
|
47
|
-
*/
|
|
48
|
-
contentBase64?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof ChangeRequest
|
|
53
|
-
*/
|
|
54
|
-
mode?: number | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ChangeRequest
|
|
59
|
-
*/
|
|
60
|
-
contentSha256?: string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof ChangeRequest
|
|
65
|
-
*/
|
|
66
|
-
sizeBytes?: number;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {{ [key: string]: any; }}
|
|
70
|
-
* @memberof ChangeRequest
|
|
71
|
-
*/
|
|
72
|
-
metadata?: {
|
|
73
|
-
[key: string]: any;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* @export
|
|
78
|
-
*/
|
|
79
|
-
export declare const ChangeRequestEntryKindEnum: {
|
|
80
|
-
readonly File: "file";
|
|
81
|
-
readonly Directory: "directory";
|
|
82
|
-
};
|
|
83
|
-
export type ChangeRequestEntryKindEnum = typeof ChangeRequestEntryKindEnum[keyof typeof ChangeRequestEntryKindEnum];
|
|
84
|
-
/**
|
|
85
|
-
* Check if a given object implements the ChangeRequest interface.
|
|
86
|
-
*/
|
|
87
|
-
export declare function instanceOfChangeRequest(value: object): value is ChangeRequest;
|
|
88
|
-
export declare function ChangeRequestFromJSON(json: any): ChangeRequest;
|
|
89
|
-
export declare function ChangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeRequest;
|
|
90
|
-
export declare function ChangeRequestToJSON(json: any): ChangeRequest;
|
|
91
|
-
export declare function ChangeRequestToJSONTyped(value?: ChangeRequest | null, ignoreDiscriminator?: boolean): any;
|
|
92
|
-
//# sourceMappingURL=ChangeRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ChangeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,SAAS,EAAE,aAAa,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,0BAA0B,CAAC;IACvC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;CACtC;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAG7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAgBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBhH"}
|
|
@@ -1,67 +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 { SyncEventTypeFromJSON, SyncEventTypeToJSON, } from './SyncEventType.js';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const ChangeRequestEntryKindEnum = {
|
|
19
|
-
File: 'file',
|
|
20
|
-
Directory: 'directory'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ChangeRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
export function instanceOfChangeRequest(value) {
|
|
26
|
-
if (!('eventType' in value) || value['eventType'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
export function ChangeRequestFromJSON(json) {
|
|
31
|
-
return ChangeRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
export function ChangeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'eventType': SyncEventTypeFromJSON(json['event_type']),
|
|
39
|
-
'path': json['path'] == null ? undefined : json['path'],
|
|
40
|
-
'oldPath': json['old_path'] == null ? undefined : json['old_path'],
|
|
41
|
-
'entryKind': json['entry_kind'] == null ? undefined : json['entry_kind'],
|
|
42
|
-
'contentBase64': json['content_base64'] == null ? undefined : json['content_base64'],
|
|
43
|
-
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
44
|
-
'contentSha256': json['content_sha256'] == null ? undefined : json['content_sha256'],
|
|
45
|
-
'sizeBytes': json['size_bytes'] == null ? undefined : json['size_bytes'],
|
|
46
|
-
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
export function ChangeRequestToJSON(json) {
|
|
50
|
-
return ChangeRequestToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
export function ChangeRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'event_type': SyncEventTypeToJSON(value['eventType']),
|
|
58
|
-
'path': value['path'],
|
|
59
|
-
'old_path': value['oldPath'],
|
|
60
|
-
'entry_kind': value['entryKind'],
|
|
61
|
-
'content_base64': value['contentBase64'],
|
|
62
|
-
'mode': value['mode'],
|
|
63
|
-
'content_sha256': value['contentSha256'],
|
|
64
|
-
'size_bytes': value['sizeBytes'],
|
|
65
|
-
'metadata': value['metadata'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -1,57 +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 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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,55 +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 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
|
-
}
|
|
@@ -1,65 +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 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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,66 +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 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
|
-
}
|
|
@@ -1,55 +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 { 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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,56 +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 { 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
|
-
}
|
|
@@ -1,52 +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 { VolumeSyncFilesystemCapabilities } from './VolumeSyncFilesystemCapabilities.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CreateVolumeSyncBootstrapRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface CreateVolumeSyncBootstrapRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CreateVolumeSyncBootstrapRequest
|
|
23
|
-
*/
|
|
24
|
-
snapshotName?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CreateVolumeSyncBootstrapRequest
|
|
29
|
-
*/
|
|
30
|
-
snapshotDescription?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof CreateVolumeSyncBootstrapRequest
|
|
35
|
-
*/
|
|
36
|
-
caseSensitive?: boolean | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {VolumeSyncFilesystemCapabilities}
|
|
40
|
-
* @memberof CreateVolumeSyncBootstrapRequest
|
|
41
|
-
*/
|
|
42
|
-
capabilities?: VolumeSyncFilesystemCapabilities;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the CreateVolumeSyncBootstrapRequest interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfCreateVolumeSyncBootstrapRequest(value: object): value is CreateVolumeSyncBootstrapRequest;
|
|
48
|
-
export declare function CreateVolumeSyncBootstrapRequestFromJSON(json: any): CreateVolumeSyncBootstrapRequest;
|
|
49
|
-
export declare function CreateVolumeSyncBootstrapRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVolumeSyncBootstrapRequest;
|
|
50
|
-
export declare function CreateVolumeSyncBootstrapRequestToJSON(json: any): CreateVolumeSyncBootstrapRequest;
|
|
51
|
-
export declare function CreateVolumeSyncBootstrapRequestToJSONTyped(value?: CreateVolumeSyncBootstrapRequest | null, ignoreDiscriminator?: boolean): any;
|
|
52
|
-
//# sourceMappingURL=CreateVolumeSyncBootstrapRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateVolumeSyncBootstrapRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/CreateVolumeSyncBootstrapRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,gCAAgC,CAAC;CACnD;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAEnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAWvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtJ"}
|
|
@@ -1,48 +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 { VolumeSyncFilesystemCapabilitiesFromJSON, VolumeSyncFilesystemCapabilitiesToJSON, } from './VolumeSyncFilesystemCapabilities.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the CreateVolumeSyncBootstrapRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfCreateVolumeSyncBootstrapRequest(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function CreateVolumeSyncBootstrapRequestFromJSON(json) {
|
|
22
|
-
return CreateVolumeSyncBootstrapRequestFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function CreateVolumeSyncBootstrapRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'snapshotName': json['snapshot_name'] == null ? undefined : json['snapshot_name'],
|
|
30
|
-
'snapshotDescription': json['snapshot_description'] == null ? undefined : json['snapshot_description'],
|
|
31
|
-
'caseSensitive': json['case_sensitive'] == null ? undefined : json['case_sensitive'],
|
|
32
|
-
'capabilities': json['capabilities'] == null ? undefined : VolumeSyncFilesystemCapabilitiesFromJSON(json['capabilities']),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function CreateVolumeSyncBootstrapRequestToJSON(json) {
|
|
36
|
-
return CreateVolumeSyncBootstrapRequestToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function CreateVolumeSyncBootstrapRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'snapshot_name': value['snapshotName'],
|
|
44
|
-
'snapshot_description': value['snapshotDescription'],
|
|
45
|
-
'case_sensitive': value['caseSensitive'],
|
|
46
|
-
'capabilities': VolumeSyncFilesystemCapabilitiesToJSON(value['capabilities']),
|
|
47
|
-
};
|
|
48
|
-
}
|