sandbox0 0.1.12 → 0.1.13
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/AuthApi.d.ts +0 -1
- package/dist/apispec/src/apis/AuthApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/AuthApi.js +0 -3
- package/dist/apispec/src/apis/UsersApi.d.ts +11 -11
- package/dist/apispec/src/apis/UsersApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/UsersApi.js +34 -34
- package/dist/apispec/src/apis/VolumeSyncApi.d.ts +145 -0
- package/dist/apispec/src/apis/VolumeSyncApi.d.ts.map +1 -0
- package/dist/apispec/src/apis/VolumeSyncApi.js +416 -0
- package/dist/apispec/src/apis/index.d.ts +1 -0
- package/dist/apispec/src/apis/index.d.ts.map +1 -1
- package/dist/apispec/src/apis/index.js +1 -0
- package/dist/apispec/src/models/AppendReplicaChangesRequest.d.ts +46 -0
- package/dist/apispec/src/models/AppendReplicaChangesRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/AppendReplicaChangesRequest.js +52 -0
- package/dist/apispec/src/models/AppendReplicaChangesResponse.d.ts +47 -0
- package/dist/apispec/src/models/AppendReplicaChangesResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/AppendReplicaChangesResponse.js +53 -0
- package/dist/apispec/src/models/ChangeRequest.d.ts +92 -0
- package/dist/apispec/src/models/ChangeRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ChangeRequest.js +67 -0
- package/dist/apispec/src/models/CreateVolumeSyncBootstrapRequest.d.ts +52 -0
- package/dist/apispec/src/models/CreateVolumeSyncBootstrapRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/CreateVolumeSyncBootstrapRequest.js +48 -0
- package/dist/apispec/src/models/ListVolumeSyncChangesResponse.d.ts +46 -0
- package/dist/apispec/src/models/ListVolumeSyncChangesResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/ListVolumeSyncChangesResponse.js +52 -0
- package/dist/apispec/src/models/ListVolumeSyncConflictsResponse.d.ts +34 -0
- package/dist/apispec/src/models/ListVolumeSyncConflictsResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/ListVolumeSyncConflictsResponse.js +44 -0
- package/dist/apispec/src/models/ResolveVolumeSyncConflictRequest.d.ts +53 -0
- package/dist/apispec/src/models/ResolveVolumeSyncConflictRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/ResolveVolumeSyncConflictRequest.js +54 -0
- package/dist/apispec/src/models/SuccessVolumeSyncAppendResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeSyncAppendResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeSyncAppendResponse.js +46 -0
- package/dist/apispec/src/models/SuccessVolumeSyncBootstrapResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeSyncBootstrapResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeSyncBootstrapResponse.js +46 -0
- package/dist/apispec/src/models/SuccessVolumeSyncChangeListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeSyncChangeListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeSyncChangeListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessVolumeSyncConflictListResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeSyncConflictListResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeSyncConflictListResponse.js +46 -0
- package/dist/apispec/src/models/SuccessVolumeSyncConflictResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeSyncConflictResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeSyncConflictResponse.js +46 -0
- package/dist/apispec/src/models/SuccessVolumeSyncReplicaResponse.d.ts +40 -0
- package/dist/apispec/src/models/SuccessVolumeSyncReplicaResponse.d.ts.map +1 -0
- package/dist/apispec/src/models/SuccessVolumeSyncReplicaResponse.js +46 -0
- package/dist/apispec/src/models/SyncConflict.d.ts +119 -0
- package/dist/apispec/src/models/SyncConflict.d.ts.map +1 -0
- package/dist/apispec/src/models/SyncConflict.js +69 -0
- package/dist/apispec/src/models/SyncEventType.d.ts +30 -0
- package/dist/apispec/src/models/SyncEventType.d.ts.map +1 -0
- package/dist/apispec/src/models/SyncEventType.js +47 -0
- package/dist/apispec/src/models/SyncJournalEntry.d.ts +154 -0
- package/dist/apispec/src/models/SyncJournalEntry.d.ts.map +1 -0
- package/dist/apispec/src/models/SyncJournalEntry.js +90 -0
- package/dist/apispec/src/models/SyncReplica.d.ts +100 -0
- package/dist/apispec/src/models/SyncReplica.d.ts.map +1 -0
- package/dist/apispec/src/models/SyncReplica.js +64 -0
- package/dist/apispec/src/models/UpdateSyncReplicaCursorRequest.d.ts +33 -0
- package/dist/apispec/src/models/UpdateSyncReplicaCursorRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/UpdateSyncReplicaCursorRequest.js +43 -0
- package/dist/apispec/src/models/UpsertSyncReplicaRequest.d.ts +58 -0
- package/dist/apispec/src/models/UpsertSyncReplicaRequest.d.ts.map +1 -0
- package/dist/apispec/src/models/UpsertSyncReplicaRequest.js +50 -0
- package/dist/apispec/src/models/VolumeSyncBootstrap.d.ts +46 -0
- package/dist/apispec/src/models/VolumeSyncBootstrap.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncBootstrap.js +52 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapCompatibilityConflictDetails.d.ts +60 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapCompatibilityConflictDetails.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapCompatibilityConflictDetails.js +63 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelope.d.ts +40 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelope.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelope.js +48 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelopeAllOfError.d.ts +46 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelopeAllOfError.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncBootstrapConflictErrorEnvelopeAllOfError.js +50 -0
- package/dist/apispec/src/models/VolumeSyncCompatibilityIssue.d.ts +63 -0
- package/dist/apispec/src/models/VolumeSyncCompatibilityIssue.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncCompatibilityIssue.js +53 -0
- package/dist/apispec/src/models/VolumeSyncFilesystemCapabilities.d.ts +45 -0
- package/dist/apispec/src/models/VolumeSyncFilesystemCapabilities.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncFilesystemCapabilities.js +51 -0
- package/dist/apispec/src/models/VolumeSyncReplicaEnvelope.d.ts +40 -0
- package/dist/apispec/src/models/VolumeSyncReplicaEnvelope.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncReplicaEnvelope.js +48 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredDetails.d.ts +52 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredDetails.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredDetails.js +57 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelope.d.ts +40 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelope.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelope.js +48 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelopeAllOfError.d.ts +46 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelopeAllOfError.d.ts.map +1 -0
- package/dist/apispec/src/models/VolumeSyncReseedRequiredErrorEnvelopeAllOfError.js +50 -0
- package/dist/apispec/src/models/index.d.ts +29 -0
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +29 -0
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const SyncEventType: {
|
|
17
|
+
readonly Create: "create";
|
|
18
|
+
readonly Write: "write";
|
|
19
|
+
readonly Remove: "remove";
|
|
20
|
+
readonly Rename: "rename";
|
|
21
|
+
readonly Chmod: "chmod";
|
|
22
|
+
readonly Invalidate: "invalidate";
|
|
23
|
+
};
|
|
24
|
+
export type SyncEventType = typeof SyncEventType[keyof typeof SyncEventType];
|
|
25
|
+
export declare function instanceOfSyncEventType(value: any): boolean;
|
|
26
|
+
export declare function SyncEventTypeFromJSON(json: any): SyncEventType;
|
|
27
|
+
export declare function SyncEventTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncEventType;
|
|
28
|
+
export declare function SyncEventTypeToJSON(value?: SyncEventType | null): any;
|
|
29
|
+
export declare function SyncEventTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SyncEventType;
|
|
30
|
+
//# sourceMappingURL=SyncEventType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SyncEventType.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SyncEventType.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAG7E,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS3D;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAEjG;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,GAAG,CAErE;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAEhG"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SyncEventType = {
|
|
19
|
+
Create: 'create',
|
|
20
|
+
Write: 'write',
|
|
21
|
+
Remove: 'remove',
|
|
22
|
+
Rename: 'rename',
|
|
23
|
+
Chmod: 'chmod',
|
|
24
|
+
Invalidate: 'invalidate'
|
|
25
|
+
};
|
|
26
|
+
export function instanceOfSyncEventType(value) {
|
|
27
|
+
for (const key in SyncEventType) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(SyncEventType, key)) {
|
|
29
|
+
if (SyncEventType[key] === value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
export function SyncEventTypeFromJSON(json) {
|
|
37
|
+
return SyncEventTypeFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SyncEventTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
export function SyncEventTypeToJSON(value) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
export function SyncEventTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
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 SyncJournalEntry
|
|
17
|
+
*/
|
|
18
|
+
export interface SyncJournalEntry {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SyncJournalEntry
|
|
23
|
+
*/
|
|
24
|
+
seq?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SyncJournalEntry
|
|
29
|
+
*/
|
|
30
|
+
volumeId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SyncJournalEntry
|
|
35
|
+
*/
|
|
36
|
+
teamId?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SyncJournalEntry
|
|
41
|
+
*/
|
|
42
|
+
source?: SyncJournalEntrySourceEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SyncJournalEntry
|
|
47
|
+
*/
|
|
48
|
+
replicaId?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {SyncEventType}
|
|
52
|
+
* @memberof SyncJournalEntry
|
|
53
|
+
*/
|
|
54
|
+
eventType?: SyncEventType;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SyncJournalEntry
|
|
59
|
+
*/
|
|
60
|
+
path?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SyncJournalEntry
|
|
65
|
+
*/
|
|
66
|
+
normalizedPath?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SyncJournalEntry
|
|
71
|
+
*/
|
|
72
|
+
oldPath?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SyncJournalEntry
|
|
77
|
+
*/
|
|
78
|
+
normalizedOldPath?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof SyncJournalEntry
|
|
83
|
+
*/
|
|
84
|
+
tombstone?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof SyncJournalEntry
|
|
89
|
+
*/
|
|
90
|
+
entryKind?: SyncJournalEntryEntryKindEnum | null;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof SyncJournalEntry
|
|
95
|
+
*/
|
|
96
|
+
mode?: number | null;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof SyncJournalEntry
|
|
101
|
+
*/
|
|
102
|
+
contentRef?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof SyncJournalEntry
|
|
107
|
+
*/
|
|
108
|
+
contentSha256?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {number}
|
|
112
|
+
* @memberof SyncJournalEntry
|
|
113
|
+
*/
|
|
114
|
+
sizeBytes?: number | null;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {{ [key: string]: any; }}
|
|
118
|
+
* @memberof SyncJournalEntry
|
|
119
|
+
*/
|
|
120
|
+
metadata?: {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
} | null;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {Date}
|
|
126
|
+
* @memberof SyncJournalEntry
|
|
127
|
+
*/
|
|
128
|
+
createdAt?: Date;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @export
|
|
132
|
+
*/
|
|
133
|
+
export declare const SyncJournalEntrySourceEnum: {
|
|
134
|
+
readonly Replica: "replica";
|
|
135
|
+
readonly Sandbox: "sandbox";
|
|
136
|
+
};
|
|
137
|
+
export type SyncJournalEntrySourceEnum = typeof SyncJournalEntrySourceEnum[keyof typeof SyncJournalEntrySourceEnum];
|
|
138
|
+
/**
|
|
139
|
+
* @export
|
|
140
|
+
*/
|
|
141
|
+
export declare const SyncJournalEntryEntryKindEnum: {
|
|
142
|
+
readonly File: "file";
|
|
143
|
+
readonly Directory: "directory";
|
|
144
|
+
};
|
|
145
|
+
export type SyncJournalEntryEntryKindEnum = typeof SyncJournalEntryEntryKindEnum[keyof typeof SyncJournalEntryEntryKindEnum];
|
|
146
|
+
/**
|
|
147
|
+
* Check if a given object implements the SyncJournalEntry interface.
|
|
148
|
+
*/
|
|
149
|
+
export declare function instanceOfSyncJournalEntry(value: object): value is SyncJournalEntry;
|
|
150
|
+
export declare function SyncJournalEntryFromJSON(json: any): SyncJournalEntry;
|
|
151
|
+
export declare function SyncJournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncJournalEntry;
|
|
152
|
+
export declare function SyncJournalEntryToJSON(json: any): SyncJournalEntry;
|
|
153
|
+
export declare function SyncJournalEntryToJSONTyped(value?: SyncJournalEntry | null, ignoreDiscriminator?: boolean): any;
|
|
154
|
+
//# sourceMappingURL=SyncJournalEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SyncJournalEntry.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SyncJournalEntry.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACjD;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,GAAG,IAAI,CAAC;IAC1C;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAEpH;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAyBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA0BtH"}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 SyncJournalEntrySourceEnum = {
|
|
19
|
+
Replica: 'replica',
|
|
20
|
+
Sandbox: 'sandbox'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const SyncJournalEntryEntryKindEnum = {
|
|
26
|
+
File: 'file',
|
|
27
|
+
Directory: 'directory'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the SyncJournalEntry interface.
|
|
31
|
+
*/
|
|
32
|
+
export function instanceOfSyncJournalEntry(value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function SyncJournalEntryFromJSON(json) {
|
|
36
|
+
return SyncJournalEntryFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SyncJournalEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'seq': json['seq'] == null ? undefined : json['seq'],
|
|
44
|
+
'volumeId': json['volume_id'] == null ? undefined : json['volume_id'],
|
|
45
|
+
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
46
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
47
|
+
'replicaId': json['replica_id'] == null ? undefined : json['replica_id'],
|
|
48
|
+
'eventType': json['event_type'] == null ? undefined : SyncEventTypeFromJSON(json['event_type']),
|
|
49
|
+
'path': json['path'] == null ? undefined : json['path'],
|
|
50
|
+
'normalizedPath': json['normalized_path'] == null ? undefined : json['normalized_path'],
|
|
51
|
+
'oldPath': json['old_path'] == null ? undefined : json['old_path'],
|
|
52
|
+
'normalizedOldPath': json['normalized_old_path'] == null ? undefined : json['normalized_old_path'],
|
|
53
|
+
'tombstone': json['tombstone'] == null ? undefined : json['tombstone'],
|
|
54
|
+
'entryKind': json['entry_kind'] == null ? undefined : json['entry_kind'],
|
|
55
|
+
'mode': json['mode'] == null ? undefined : json['mode'],
|
|
56
|
+
'contentRef': json['content_ref'] == null ? undefined : json['content_ref'],
|
|
57
|
+
'contentSha256': json['content_sha256'] == null ? undefined : json['content_sha256'],
|
|
58
|
+
'sizeBytes': json['size_bytes'] == null ? undefined : json['size_bytes'],
|
|
59
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
60
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function SyncJournalEntryToJSON(json) {
|
|
64
|
+
return SyncJournalEntryToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function SyncJournalEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'seq': value['seq'],
|
|
72
|
+
'volume_id': value['volumeId'],
|
|
73
|
+
'team_id': value['teamId'],
|
|
74
|
+
'source': value['source'],
|
|
75
|
+
'replica_id': value['replicaId'],
|
|
76
|
+
'event_type': SyncEventTypeToJSON(value['eventType']),
|
|
77
|
+
'path': value['path'],
|
|
78
|
+
'normalized_path': value['normalizedPath'],
|
|
79
|
+
'old_path': value['oldPath'],
|
|
80
|
+
'normalized_old_path': value['normalizedOldPath'],
|
|
81
|
+
'tombstone': value['tombstone'],
|
|
82
|
+
'entry_kind': value['entryKind'],
|
|
83
|
+
'mode': value['mode'],
|
|
84
|
+
'content_ref': value['contentRef'],
|
|
85
|
+
'content_sha256': value['contentSha256'],
|
|
86
|
+
'size_bytes': value['sizeBytes'],
|
|
87
|
+
'metadata': value['metadata'],
|
|
88
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 SyncReplica
|
|
17
|
+
*/
|
|
18
|
+
export interface SyncReplica {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SyncReplica
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SyncReplica
|
|
29
|
+
*/
|
|
30
|
+
volumeId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SyncReplica
|
|
35
|
+
*/
|
|
36
|
+
teamId?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SyncReplica
|
|
41
|
+
*/
|
|
42
|
+
displayName?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SyncReplica
|
|
47
|
+
*/
|
|
48
|
+
platform?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SyncReplica
|
|
53
|
+
*/
|
|
54
|
+
rootPath?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof SyncReplica
|
|
59
|
+
*/
|
|
60
|
+
caseSensitive?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {VolumeSyncFilesystemCapabilities}
|
|
64
|
+
* @memberof SyncReplica
|
|
65
|
+
*/
|
|
66
|
+
capabilities?: VolumeSyncFilesystemCapabilities;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof SyncReplica
|
|
71
|
+
*/
|
|
72
|
+
lastSeenAt?: Date;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof SyncReplica
|
|
77
|
+
*/
|
|
78
|
+
lastAppliedSeq?: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof SyncReplica
|
|
83
|
+
*/
|
|
84
|
+
createdAt?: Date;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {Date}
|
|
88
|
+
* @memberof SyncReplica
|
|
89
|
+
*/
|
|
90
|
+
updatedAt?: Date;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the SyncReplica interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfSyncReplica(value: object): value is SyncReplica;
|
|
96
|
+
export declare function SyncReplicaFromJSON(json: any): SyncReplica;
|
|
97
|
+
export declare function SyncReplicaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncReplica;
|
|
98
|
+
export declare function SyncReplicaToJSON(json: any): SyncReplica;
|
|
99
|
+
export declare function SyncReplicaToJSONTyped(value?: SyncReplica | null, ignoreDiscriminator?: boolean): any;
|
|
100
|
+
//# sourceMappingURL=SyncReplica.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SyncReplica.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SyncReplica.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,gCAAgC,CAAC;IAChD;;;;OAIG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAEzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAmB7F;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,CAoB5G"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 SyncReplica interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSyncReplica(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SyncReplicaFromJSON(json) {
|
|
22
|
+
return SyncReplicaFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SyncReplicaFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
30
|
+
'volumeId': json['volume_id'] == null ? undefined : json['volume_id'],
|
|
31
|
+
'teamId': json['team_id'] == null ? undefined : json['team_id'],
|
|
32
|
+
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
33
|
+
'platform': json['platform'] == null ? undefined : json['platform'],
|
|
34
|
+
'rootPath': json['root_path'] == null ? undefined : json['root_path'],
|
|
35
|
+
'caseSensitive': json['case_sensitive'] == null ? undefined : json['case_sensitive'],
|
|
36
|
+
'capabilities': json['capabilities'] == null ? undefined : VolumeSyncFilesystemCapabilitiesFromJSON(json['capabilities']),
|
|
37
|
+
'lastSeenAt': json['last_seen_at'] == null ? undefined : (new Date(json['last_seen_at'])),
|
|
38
|
+
'lastAppliedSeq': json['last_applied_seq'] == null ? undefined : json['last_applied_seq'],
|
|
39
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
40
|
+
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function SyncReplicaToJSON(json) {
|
|
44
|
+
return SyncReplicaToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function SyncReplicaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'volume_id': value['volumeId'],
|
|
53
|
+
'team_id': value['teamId'],
|
|
54
|
+
'display_name': value['displayName'],
|
|
55
|
+
'platform': value['platform'],
|
|
56
|
+
'root_path': value['rootPath'],
|
|
57
|
+
'case_sensitive': value['caseSensitive'],
|
|
58
|
+
'capabilities': VolumeSyncFilesystemCapabilitiesToJSON(value['capabilities']),
|
|
59
|
+
'last_seen_at': value['lastSeenAt'] == null ? value['lastSeenAt'] : value['lastSeenAt'].toISOString(),
|
|
60
|
+
'last_applied_seq': value['lastAppliedSeq'],
|
|
61
|
+
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
62
|
+
'updated_at': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 UpdateSyncReplicaCursorRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateSyncReplicaCursorRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateSyncReplicaCursorRequest
|
|
22
|
+
*/
|
|
23
|
+
lastAppliedSeq: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpdateSyncReplicaCursorRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpdateSyncReplicaCursorRequest(value: object): value is UpdateSyncReplicaCursorRequest;
|
|
29
|
+
export declare function UpdateSyncReplicaCursorRequestFromJSON(json: any): UpdateSyncReplicaCursorRequest;
|
|
30
|
+
export declare function UpdateSyncReplicaCursorRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSyncReplicaCursorRequest;
|
|
31
|
+
export declare function UpdateSyncReplicaCursorRequestToJSON(json: any): UpdateSyncReplicaCursorRequest;
|
|
32
|
+
export declare function UpdateSyncReplicaCursorRequestToJSONTyped(value?: UpdateSyncReplicaCursorRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=UpdateSyncReplicaCursorRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateSyncReplicaCursorRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/UpdateSyncReplicaCursorRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAG/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAQnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASlJ"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 UpdateSyncReplicaCursorRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUpdateSyncReplicaCursorRequest(value) {
|
|
18
|
+
if (!('lastAppliedSeq' in value) || value['lastAppliedSeq'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function UpdateSyncReplicaCursorRequestFromJSON(json) {
|
|
23
|
+
return UpdateSyncReplicaCursorRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function UpdateSyncReplicaCursorRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'lastAppliedSeq': json['last_applied_seq'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function UpdateSyncReplicaCursorRequestToJSON(json) {
|
|
34
|
+
return UpdateSyncReplicaCursorRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function UpdateSyncReplicaCursorRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'last_applied_seq': value['lastAppliedSeq'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 UpsertSyncReplicaRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpsertSyncReplicaRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpsertSyncReplicaRequest
|
|
23
|
+
*/
|
|
24
|
+
displayName?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpsertSyncReplicaRequest
|
|
29
|
+
*/
|
|
30
|
+
platform?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UpsertSyncReplicaRequest
|
|
35
|
+
*/
|
|
36
|
+
rootPath?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof UpsertSyncReplicaRequest
|
|
41
|
+
*/
|
|
42
|
+
caseSensitive?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {VolumeSyncFilesystemCapabilities}
|
|
46
|
+
* @memberof UpsertSyncReplicaRequest
|
|
47
|
+
*/
|
|
48
|
+
capabilities?: VolumeSyncFilesystemCapabilities;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the UpsertSyncReplicaRequest interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfUpsertSyncReplicaRequest(value: object): value is UpsertSyncReplicaRequest;
|
|
54
|
+
export declare function UpsertSyncReplicaRequestFromJSON(json: any): UpsertSyncReplicaRequest;
|
|
55
|
+
export declare function UpsertSyncReplicaRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertSyncReplicaRequest;
|
|
56
|
+
export declare function UpsertSyncReplicaRequestToJSON(json: any): UpsertSyncReplicaRequest;
|
|
57
|
+
export declare function UpsertSyncReplicaRequestToJSONTyped(value?: UpsertSyncReplicaRequest | null, ignoreDiscriminator?: boolean): any;
|
|
58
|
+
//# sourceMappingURL=UpsertSyncReplicaRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpsertSyncReplicaRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/UpsertSyncReplicaRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,gCAAgC,CAAC;CACnD;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAEnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAYvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAatI"}
|