@futo-org/backups-orchestrator-api 0.39.0 → 0.40.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.
- package/dist/backends/local.backend.js +6 -0
- package/dist/backends/local.backend.js.map +1 -1
- package/dist/dto/auth.dto.d.ts +15 -9
- package/dist/dto/auth.dto.js +15 -49
- package/dist/dto/auth.dto.js.map +1 -1
- package/dist/dto/backend.dto.d.ts +35 -12
- package/dist/dto/backend.dto.js +20 -57
- package/dist/dto/backend.dto.js.map +1 -1
- package/dist/dto/filesystem.dto.d.ts +20 -9
- package/dist/dto/filesystem.dto.js +21 -46
- package/dist/dto/filesystem.dto.js.map +1 -1
- package/dist/dto/integrations.dto.d.ts +83 -34
- package/dist/dto/integrations.dto.js +64 -173
- package/dist/dto/integrations.dto.js.map +1 -1
- package/dist/dto/onboarding.dto.d.ts +23 -15
- package/dist/dto/onboarding.dto.js +23 -75
- package/dist/dto/onboarding.dto.js.map +1 -1
- package/dist/dto/repository.dto.d.ts +550 -128
- package/dist/dto/repository.dto.js +181 -430
- package/dist/dto/repository.dto.js.map +1 -1
- package/dist/dto/runningTasks.dto.d.ts +31 -10
- package/dist/dto/runningTasks.dto.js +25 -49
- package/dist/dto/runningTasks.dto.js.map +1 -1
- package/dist/dto/schedule.dto.d.ts +61 -23
- package/dist/dto/schedule.dto.js +47 -130
- package/dist/dto/schedule.dto.js.map +1 -1
- package/dist/dto/ticket.dto.d.ts +11 -5
- package/dist/dto/ticket.dto.js +13 -30
- package/dist/dto/ticket.dto.js.map +1 -1
- package/dist/repositories/runHistory.repository.d.ts +4 -4
- package/package.json +5 -5
|
@@ -1,130 +1,552 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
export declare
|
|
4
|
-
keepLast
|
|
5
|
-
keepWithin
|
|
6
|
-
keepWithinHourly
|
|
7
|
-
keepWithinDaily
|
|
8
|
-
keepWithinWeekly
|
|
9
|
-
keepWithinMonthly
|
|
10
|
-
keepWithinYearly
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
lastBackupDuration?: number;
|
|
23
|
-
sizeBytes: number;
|
|
24
|
-
}
|
|
25
|
-
export declare class RepositoryMeterDto {
|
|
26
|
-
sizeBytes: number;
|
|
27
|
-
objectCount: number;
|
|
28
|
-
lastUpdated?: string;
|
|
29
|
-
}
|
|
30
|
-
export declare class RepositoryWithMetricsDto extends RepositoryDto {
|
|
31
|
-
metrics: RepositoryMetricsDto;
|
|
32
|
-
meter?: RepositoryMeterDto;
|
|
33
|
-
}
|
|
34
|
-
export declare class RepositoryBackendDto {
|
|
35
|
-
id: string;
|
|
36
|
-
type: BackendType;
|
|
37
|
-
online: boolean;
|
|
38
|
-
}
|
|
39
|
-
export declare class RepositoryBackendsDto {
|
|
40
|
-
primary: RepositoryBackendDto;
|
|
41
|
-
secondary: RepositoryBackendDto[];
|
|
42
|
-
}
|
|
43
|
-
export declare class RepositoryConfigurationDto {
|
|
44
|
-
paths: string[];
|
|
45
|
-
retentionPolicy: RetentionPolicyDto | null;
|
|
46
|
-
}
|
|
47
|
-
export declare class LocalRepositoryDto extends RepositoryWithMetricsDto {
|
|
48
|
-
backends?: RepositoryBackendsDto;
|
|
49
|
-
configuration?: RepositoryConfigurationDto;
|
|
50
|
-
}
|
|
51
|
-
export declare class RepositoryCreateRequestDto {
|
|
52
|
-
name: string;
|
|
53
|
-
worm: boolean;
|
|
54
|
-
site?: string;
|
|
55
|
-
paths?: string[];
|
|
56
|
-
}
|
|
57
|
-
export declare class RepositoryCreateResponseDto {
|
|
58
|
-
repository: LocalRepositoryDto;
|
|
59
|
-
}
|
|
60
|
-
export declare class RepositoryPrimaryBackendReconfigureRequestDto {
|
|
61
|
-
backendId: string;
|
|
62
|
-
}
|
|
63
|
-
export declare class RepositoryUpdateRequestDto {
|
|
64
|
-
name?: string;
|
|
65
|
-
worm?: boolean;
|
|
66
|
-
paths?: string[];
|
|
67
|
-
retentionPolicy?: RetentionPolicyDto | null;
|
|
68
|
-
}
|
|
69
|
-
export declare class RepositoryUpdateResponseDto {
|
|
70
|
-
repository: LocalRepositoryDto;
|
|
71
|
-
}
|
|
72
|
-
export declare class RepositoryListResponseDto {
|
|
73
|
-
repositories: LocalRepositoryDto[];
|
|
74
|
-
}
|
|
75
|
-
export declare class RepositoryCheckImportResponseDto {
|
|
76
|
-
readable: boolean;
|
|
77
|
-
}
|
|
78
|
-
export declare class RunDto {
|
|
79
|
-
id: string;
|
|
80
|
-
repositoryId: string;
|
|
81
|
-
start: string;
|
|
82
|
-
end?: string;
|
|
83
|
-
logFilePath: string;
|
|
84
|
-
status: TaskStatus;
|
|
85
|
-
type: RunType;
|
|
86
|
-
}
|
|
87
|
-
export declare class RunHistoryResponseDto {
|
|
88
|
-
runs: RunDto[];
|
|
89
|
-
}
|
|
90
|
-
export declare class RunResponseDto {
|
|
91
|
-
run: RunDto;
|
|
92
|
-
}
|
|
93
|
-
export declare class SnapshotSummaryDto {
|
|
94
|
-
filesNew: number;
|
|
95
|
-
filesChanged: number;
|
|
96
|
-
filesUnmodified: number;
|
|
97
|
-
totalFiles: number;
|
|
98
|
-
totalBytes: number;
|
|
99
|
-
dataAdded: number;
|
|
100
|
-
}
|
|
101
|
-
export declare class SnapshotDto {
|
|
102
|
-
id: string;
|
|
103
|
-
time: string;
|
|
104
|
-
paths: string[];
|
|
105
|
-
tags?: string[];
|
|
106
|
-
summary?: SnapshotSummaryDto;
|
|
107
|
-
}
|
|
108
|
-
export declare class ListSnapshotsResponseDto {
|
|
109
|
-
snapshots: SnapshotDto[];
|
|
110
|
-
}
|
|
111
|
-
export declare class GetSnapshotResponseDto {
|
|
112
|
-
snapshot: SnapshotDto;
|
|
113
|
-
}
|
|
114
|
-
export declare class RepositorySnapshotRestoreRequestDto {
|
|
115
|
-
target?: string;
|
|
116
|
-
include?: string[];
|
|
117
|
-
}
|
|
118
|
-
export declare class RepositorySnapshotRestoreFromPointRequestDto {
|
|
119
|
-
yuccaConfig?: string;
|
|
120
|
-
include?: string[];
|
|
121
|
-
}
|
|
122
|
-
export declare class LogResponseDto {
|
|
123
|
-
logId: string;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { TaskStatus, TaskType } from '../enum';
|
|
3
|
+
export declare const RetentionPolicySchema: z.ZodObject<{
|
|
4
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
5
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
6
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
7
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
8
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
9
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
10
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RetentionPolicyDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
13
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
14
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
15
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
16
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
17
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
18
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
19
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>, false>;
|
|
21
|
+
export declare class RetentionPolicyDto extends RetentionPolicyDto_base {
|
|
124
22
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
23
|
+
declare const RepositoryDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
24
|
+
id: z.ZodString;
|
|
25
|
+
worm: z.ZodBoolean;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
28
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>, false>;
|
|
30
|
+
export declare class RepositoryDto extends RepositoryDto_base {
|
|
130
31
|
}
|
|
32
|
+
declare const RepositoryMetricsDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
33
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
35
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
36
|
+
sizeBytes: z.ZodInt;
|
|
37
|
+
}, z.core.$strip>, false>;
|
|
38
|
+
export declare class RepositoryMetricsDto extends RepositoryMetricsDto_base {
|
|
39
|
+
}
|
|
40
|
+
declare const RepositoryMeterDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
41
|
+
sizeBytes: z.ZodInt;
|
|
42
|
+
objectCount: z.ZodInt;
|
|
43
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
}, z.core.$strip>, false>;
|
|
45
|
+
export declare class RepositoryMeterDto extends RepositoryMeterDto_base {
|
|
46
|
+
}
|
|
47
|
+
declare const RepositoryWithMetricsDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
worm: z.ZodBoolean;
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
52
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
53
|
+
metrics: z.ZodObject<{
|
|
54
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
56
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
57
|
+
sizeBytes: z.ZodInt;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
meter: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
sizeBytes: z.ZodInt;
|
|
61
|
+
objectCount: z.ZodInt;
|
|
62
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
}, z.core.$strip>, false>;
|
|
65
|
+
export declare class RepositoryWithMetricsDto extends RepositoryWithMetricsDto_base {
|
|
66
|
+
}
|
|
67
|
+
declare const RepositoryBackendDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
70
|
+
online: z.ZodBoolean;
|
|
71
|
+
}, z.core.$strip>, false>;
|
|
72
|
+
export declare class RepositoryBackendDto extends RepositoryBackendDto_base {
|
|
73
|
+
}
|
|
74
|
+
declare const RepositoryBackendsDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
75
|
+
primary: z.ZodObject<{
|
|
76
|
+
id: z.ZodString;
|
|
77
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
78
|
+
online: z.ZodBoolean;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
secondary: z.ZodArray<z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
83
|
+
online: z.ZodBoolean;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
}, z.core.$strip>, false>;
|
|
86
|
+
export declare class RepositoryBackendsDto extends RepositoryBackendsDto_base {
|
|
87
|
+
}
|
|
88
|
+
declare const RepositoryConfigurationDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
89
|
+
paths: z.ZodArray<z.ZodString>;
|
|
90
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
91
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
92
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
93
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
94
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
95
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
96
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
97
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>>>;
|
|
99
|
+
}, z.core.$strip>, false>;
|
|
100
|
+
export declare class RepositoryConfigurationDto extends RepositoryConfigurationDto_base {
|
|
101
|
+
}
|
|
102
|
+
declare const LocalRepositoryDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
worm: z.ZodBoolean;
|
|
105
|
+
name: z.ZodString;
|
|
106
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
107
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
108
|
+
metrics: z.ZodObject<{
|
|
109
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
111
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
112
|
+
sizeBytes: z.ZodInt;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
meter: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
sizeBytes: z.ZodInt;
|
|
116
|
+
objectCount: z.ZodInt;
|
|
117
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
backends: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
primary: z.ZodObject<{
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
123
|
+
online: z.ZodBoolean;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
secondary: z.ZodArray<z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
128
|
+
online: z.ZodBoolean;
|
|
129
|
+
}, z.core.$strip>>;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
paths: z.ZodArray<z.ZodString>;
|
|
133
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
134
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
135
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
136
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
137
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
138
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
139
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
140
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
141
|
+
}, z.core.$strip>>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
}, z.core.$strip>, false>;
|
|
144
|
+
export declare class LocalRepositoryDto extends LocalRepositoryDto_base {
|
|
145
|
+
}
|
|
146
|
+
declare const RepositoryCreateRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
147
|
+
name: z.ZodString;
|
|
148
|
+
worm: z.ZodBoolean;
|
|
149
|
+
site: z.ZodOptional<z.ZodString>;
|
|
150
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
|
+
}, z.core.$strip>, false>;
|
|
152
|
+
export declare class RepositoryCreateRequestDto extends RepositoryCreateRequestDto_base {
|
|
153
|
+
}
|
|
154
|
+
declare const RepositoryCreateResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
155
|
+
repository: z.ZodObject<{
|
|
156
|
+
id: z.ZodString;
|
|
157
|
+
worm: z.ZodBoolean;
|
|
158
|
+
name: z.ZodString;
|
|
159
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
160
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
161
|
+
metrics: z.ZodObject<{
|
|
162
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
164
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
165
|
+
sizeBytes: z.ZodInt;
|
|
166
|
+
}, z.core.$strip>;
|
|
167
|
+
meter: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
sizeBytes: z.ZodInt;
|
|
169
|
+
objectCount: z.ZodInt;
|
|
170
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
backends: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
primary: z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
176
|
+
online: z.ZodBoolean;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
secondary: z.ZodArray<z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
181
|
+
online: z.ZodBoolean;
|
|
182
|
+
}, z.core.$strip>>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
185
|
+
paths: z.ZodArray<z.ZodString>;
|
|
186
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
187
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
188
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
189
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
190
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
191
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
192
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
193
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
194
|
+
}, z.core.$strip>>>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
}, z.core.$strip>, false>;
|
|
198
|
+
export declare class RepositoryCreateResponseDto extends RepositoryCreateResponseDto_base {
|
|
199
|
+
}
|
|
200
|
+
declare const RepositoryPrimaryBackendReconfigureRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
201
|
+
backendId: z.ZodString;
|
|
202
|
+
}, z.core.$strip>, false>;
|
|
203
|
+
export declare class RepositoryPrimaryBackendReconfigureRequestDto extends RepositoryPrimaryBackendReconfigureRequestDto_base {
|
|
204
|
+
}
|
|
205
|
+
declare const RepositoryUpdateRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
206
|
+
name: z.ZodOptional<z.ZodString>;
|
|
207
|
+
worm: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
209
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
210
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
211
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
212
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
213
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
214
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
215
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
216
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, z.core.$strip>>>;
|
|
218
|
+
}, z.core.$strip>, false>;
|
|
219
|
+
export declare class RepositoryUpdateRequestDto extends RepositoryUpdateRequestDto_base {
|
|
220
|
+
}
|
|
221
|
+
declare const RepositoryUpdateResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
222
|
+
repository: z.ZodObject<{
|
|
223
|
+
id: z.ZodString;
|
|
224
|
+
worm: z.ZodBoolean;
|
|
225
|
+
name: z.ZodString;
|
|
226
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
227
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
228
|
+
metrics: z.ZodObject<{
|
|
229
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
231
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
232
|
+
sizeBytes: z.ZodInt;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
meter: z.ZodOptional<z.ZodObject<{
|
|
235
|
+
sizeBytes: z.ZodInt;
|
|
236
|
+
objectCount: z.ZodInt;
|
|
237
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
+
}, z.core.$strip>>;
|
|
239
|
+
backends: z.ZodOptional<z.ZodObject<{
|
|
240
|
+
primary: z.ZodObject<{
|
|
241
|
+
id: z.ZodString;
|
|
242
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
243
|
+
online: z.ZodBoolean;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
secondary: z.ZodArray<z.ZodObject<{
|
|
246
|
+
id: z.ZodString;
|
|
247
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
248
|
+
online: z.ZodBoolean;
|
|
249
|
+
}, z.core.$strip>>;
|
|
250
|
+
}, z.core.$strip>>;
|
|
251
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
252
|
+
paths: z.ZodArray<z.ZodString>;
|
|
253
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
254
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
255
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
256
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
257
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
258
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
259
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
260
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
261
|
+
}, z.core.$strip>>>;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
}, z.core.$strip>, false>;
|
|
265
|
+
export declare class RepositoryUpdateResponseDto extends RepositoryUpdateResponseDto_base {
|
|
266
|
+
}
|
|
267
|
+
declare const RepositoryListResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
268
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
269
|
+
id: z.ZodString;
|
|
270
|
+
worm: z.ZodBoolean;
|
|
271
|
+
name: z.ZodString;
|
|
272
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
273
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
274
|
+
metrics: z.ZodObject<{
|
|
275
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
277
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
278
|
+
sizeBytes: z.ZodInt;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
meter: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
sizeBytes: z.ZodInt;
|
|
282
|
+
objectCount: z.ZodInt;
|
|
283
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
|
+
}, z.core.$strip>>;
|
|
285
|
+
backends: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
primary: z.ZodObject<{
|
|
287
|
+
id: z.ZodString;
|
|
288
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
289
|
+
online: z.ZodBoolean;
|
|
290
|
+
}, z.core.$strip>;
|
|
291
|
+
secondary: z.ZodArray<z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
294
|
+
online: z.ZodBoolean;
|
|
295
|
+
}, z.core.$strip>>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
paths: z.ZodArray<z.ZodString>;
|
|
299
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
300
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
301
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
302
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
303
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
304
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
305
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
306
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
307
|
+
}, z.core.$strip>>>;
|
|
308
|
+
}, z.core.$strip>>;
|
|
309
|
+
}, z.core.$strip>>;
|
|
310
|
+
}, z.core.$strip>, false>;
|
|
311
|
+
export declare class RepositoryListResponseDto extends RepositoryListResponseDto_base {
|
|
312
|
+
}
|
|
313
|
+
declare const RepositoryCheckImportResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
314
|
+
readable: z.ZodBoolean;
|
|
315
|
+
}, z.core.$strip>, false>;
|
|
316
|
+
export declare class RepositoryCheckImportResponseDto extends RepositoryCheckImportResponseDto_base {
|
|
317
|
+
}
|
|
318
|
+
declare const RunDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
319
|
+
id: z.ZodString;
|
|
320
|
+
repositoryId: z.ZodString;
|
|
321
|
+
start: z.ZodString;
|
|
322
|
+
end: z.ZodOptional<z.ZodString>;
|
|
323
|
+
logFilePath: z.ZodString;
|
|
324
|
+
status: z.ZodEnum<typeof TaskStatus>;
|
|
325
|
+
type: z.ZodEnum<typeof TaskType>;
|
|
326
|
+
}, z.core.$strip>, false>;
|
|
327
|
+
export declare class RunDto extends RunDto_base {
|
|
328
|
+
}
|
|
329
|
+
declare const RunHistoryResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
330
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
331
|
+
id: z.ZodString;
|
|
332
|
+
repositoryId: z.ZodString;
|
|
333
|
+
start: z.ZodString;
|
|
334
|
+
end: z.ZodOptional<z.ZodString>;
|
|
335
|
+
logFilePath: z.ZodString;
|
|
336
|
+
status: z.ZodEnum<typeof TaskStatus>;
|
|
337
|
+
type: z.ZodEnum<typeof TaskType>;
|
|
338
|
+
}, z.core.$strip>>;
|
|
339
|
+
}, z.core.$strip>, false>;
|
|
340
|
+
export declare class RunHistoryResponseDto extends RunHistoryResponseDto_base {
|
|
341
|
+
}
|
|
342
|
+
declare const RunResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
343
|
+
run: z.ZodObject<{
|
|
344
|
+
id: z.ZodString;
|
|
345
|
+
repositoryId: z.ZodString;
|
|
346
|
+
start: z.ZodString;
|
|
347
|
+
end: z.ZodOptional<z.ZodString>;
|
|
348
|
+
logFilePath: z.ZodString;
|
|
349
|
+
status: z.ZodEnum<typeof TaskStatus>;
|
|
350
|
+
type: z.ZodEnum<typeof TaskType>;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
}, z.core.$strip>, false>;
|
|
353
|
+
export declare class RunResponseDto extends RunResponseDto_base {
|
|
354
|
+
}
|
|
355
|
+
declare const SnapshotSummaryDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
356
|
+
filesNew: z.ZodInt;
|
|
357
|
+
filesChanged: z.ZodInt;
|
|
358
|
+
filesUnmodified: z.ZodInt;
|
|
359
|
+
totalFiles: z.ZodInt;
|
|
360
|
+
totalBytes: z.ZodInt;
|
|
361
|
+
dataAdded: z.ZodInt;
|
|
362
|
+
}, z.core.$strip>, false>;
|
|
363
|
+
export declare class SnapshotSummaryDto extends SnapshotSummaryDto_base {
|
|
364
|
+
}
|
|
365
|
+
declare const SnapshotDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
366
|
+
id: z.ZodString;
|
|
367
|
+
time: z.ZodString;
|
|
368
|
+
paths: z.ZodArray<z.ZodString>;
|
|
369
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
370
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
filesNew: z.ZodInt;
|
|
372
|
+
filesChanged: z.ZodInt;
|
|
373
|
+
filesUnmodified: z.ZodInt;
|
|
374
|
+
totalFiles: z.ZodInt;
|
|
375
|
+
totalBytes: z.ZodInt;
|
|
376
|
+
dataAdded: z.ZodInt;
|
|
377
|
+
}, z.core.$strip>>;
|
|
378
|
+
}, z.core.$strip>, false>;
|
|
379
|
+
export declare class SnapshotDto extends SnapshotDto_base {
|
|
380
|
+
}
|
|
381
|
+
declare const ListSnapshotsResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
382
|
+
snapshots: z.ZodArray<z.ZodObject<{
|
|
383
|
+
id: z.ZodString;
|
|
384
|
+
time: z.ZodString;
|
|
385
|
+
paths: z.ZodArray<z.ZodString>;
|
|
386
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
387
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
388
|
+
filesNew: z.ZodInt;
|
|
389
|
+
filesChanged: z.ZodInt;
|
|
390
|
+
filesUnmodified: z.ZodInt;
|
|
391
|
+
totalFiles: z.ZodInt;
|
|
392
|
+
totalBytes: z.ZodInt;
|
|
393
|
+
dataAdded: z.ZodInt;
|
|
394
|
+
}, z.core.$strip>>;
|
|
395
|
+
}, z.core.$strip>>;
|
|
396
|
+
}, z.core.$strip>, false>;
|
|
397
|
+
export declare class ListSnapshotsResponseDto extends ListSnapshotsResponseDto_base {
|
|
398
|
+
}
|
|
399
|
+
declare const GetSnapshotResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
400
|
+
snapshot: z.ZodObject<{
|
|
401
|
+
id: z.ZodString;
|
|
402
|
+
time: z.ZodString;
|
|
403
|
+
paths: z.ZodArray<z.ZodString>;
|
|
404
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
405
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
406
|
+
filesNew: z.ZodInt;
|
|
407
|
+
filesChanged: z.ZodInt;
|
|
408
|
+
filesUnmodified: z.ZodInt;
|
|
409
|
+
totalFiles: z.ZodInt;
|
|
410
|
+
totalBytes: z.ZodInt;
|
|
411
|
+
dataAdded: z.ZodInt;
|
|
412
|
+
}, z.core.$strip>>;
|
|
413
|
+
}, z.core.$strip>;
|
|
414
|
+
}, z.core.$strip>, false>;
|
|
415
|
+
export declare class GetSnapshotResponseDto extends GetSnapshotResponseDto_base {
|
|
416
|
+
}
|
|
417
|
+
declare const RepositorySnapshotRestoreRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
418
|
+
target: z.ZodOptional<z.ZodString>;
|
|
419
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
420
|
+
}, z.core.$strip>, false>;
|
|
421
|
+
export declare class RepositorySnapshotRestoreRequestDto extends RepositorySnapshotRestoreRequestDto_base {
|
|
422
|
+
}
|
|
423
|
+
declare const RepositorySnapshotRestoreFromPointRequestDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
424
|
+
yuccaConfig: z.ZodOptional<z.ZodString>;
|
|
425
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
426
|
+
}, z.core.$strip>, false>;
|
|
427
|
+
export declare class RepositorySnapshotRestoreFromPointRequestDto extends RepositorySnapshotRestoreFromPointRequestDto_base {
|
|
428
|
+
}
|
|
429
|
+
declare const LogResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
430
|
+
logId: z.ZodString;
|
|
431
|
+
}, z.core.$strip>, false>;
|
|
432
|
+
export declare class LogResponseDto extends LogResponseDto_base {
|
|
433
|
+
}
|
|
434
|
+
declare const InspectedLocalRepositoryDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
435
|
+
id: z.ZodString;
|
|
436
|
+
worm: z.ZodBoolean;
|
|
437
|
+
name: z.ZodString;
|
|
438
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
439
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
440
|
+
metrics: z.ZodObject<{
|
|
441
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
443
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
444
|
+
sizeBytes: z.ZodInt;
|
|
445
|
+
}, z.core.$strip>;
|
|
446
|
+
meter: z.ZodOptional<z.ZodObject<{
|
|
447
|
+
sizeBytes: z.ZodInt;
|
|
448
|
+
objectCount: z.ZodInt;
|
|
449
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
450
|
+
}, z.core.$strip>>;
|
|
451
|
+
backends: z.ZodOptional<z.ZodObject<{
|
|
452
|
+
primary: z.ZodObject<{
|
|
453
|
+
id: z.ZodString;
|
|
454
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
455
|
+
online: z.ZodBoolean;
|
|
456
|
+
}, z.core.$strip>;
|
|
457
|
+
secondary: z.ZodArray<z.ZodObject<{
|
|
458
|
+
id: z.ZodString;
|
|
459
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
460
|
+
online: z.ZodBoolean;
|
|
461
|
+
}, z.core.$strip>>;
|
|
462
|
+
}, z.core.$strip>>;
|
|
463
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
464
|
+
paths: z.ZodArray<z.ZodString>;
|
|
465
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
466
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
467
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
468
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
469
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
470
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
471
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
472
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
473
|
+
}, z.core.$strip>>>;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
476
|
+
id: z.ZodString;
|
|
477
|
+
time: z.ZodString;
|
|
478
|
+
paths: z.ZodArray<z.ZodString>;
|
|
479
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
480
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
filesNew: z.ZodInt;
|
|
482
|
+
filesChanged: z.ZodInt;
|
|
483
|
+
filesUnmodified: z.ZodInt;
|
|
484
|
+
totalFiles: z.ZodInt;
|
|
485
|
+
totalBytes: z.ZodInt;
|
|
486
|
+
dataAdded: z.ZodInt;
|
|
487
|
+
}, z.core.$strip>>;
|
|
488
|
+
}, z.core.$strip>>>;
|
|
489
|
+
}, z.core.$strip>, false>;
|
|
490
|
+
export declare class InspectedLocalRepositoryDto extends InspectedLocalRepositoryDto_base {
|
|
491
|
+
}
|
|
492
|
+
declare const RepositoryInspectResponseDto_base: import("nestjs-zod").ZodDto<z.ZodObject<{
|
|
493
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
494
|
+
id: z.ZodString;
|
|
495
|
+
worm: z.ZodBoolean;
|
|
496
|
+
name: z.ZodString;
|
|
497
|
+
siteCode: z.ZodNullable<z.ZodString>;
|
|
498
|
+
storageClusterCode: z.ZodNullable<z.ZodString>;
|
|
499
|
+
metrics: z.ZodObject<{
|
|
500
|
+
lastBackup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
501
|
+
lastBackupStatus: z.ZodOptional<z.ZodEnum<typeof TaskStatus>>;
|
|
502
|
+
lastBackupDuration: z.ZodOptional<z.ZodInt>;
|
|
503
|
+
sizeBytes: z.ZodInt;
|
|
504
|
+
}, z.core.$strip>;
|
|
505
|
+
meter: z.ZodOptional<z.ZodObject<{
|
|
506
|
+
sizeBytes: z.ZodInt;
|
|
507
|
+
objectCount: z.ZodInt;
|
|
508
|
+
lastUpdated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
509
|
+
}, z.core.$strip>>;
|
|
510
|
+
backends: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
primary: z.ZodObject<{
|
|
512
|
+
id: z.ZodString;
|
|
513
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
514
|
+
online: z.ZodBoolean;
|
|
515
|
+
}, z.core.$strip>;
|
|
516
|
+
secondary: z.ZodArray<z.ZodObject<{
|
|
517
|
+
id: z.ZodString;
|
|
518
|
+
type: z.ZodEnum<typeof import("../enum").BackendType>;
|
|
519
|
+
online: z.ZodBoolean;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
}, z.core.$strip>>;
|
|
522
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
|
523
|
+
paths: z.ZodArray<z.ZodString>;
|
|
524
|
+
retentionPolicy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
525
|
+
keepLast: z.ZodOptional<z.ZodInt>;
|
|
526
|
+
keepWithin: z.ZodOptional<z.ZodString>;
|
|
527
|
+
keepWithinHourly: z.ZodOptional<z.ZodString>;
|
|
528
|
+
keepWithinDaily: z.ZodOptional<z.ZodString>;
|
|
529
|
+
keepWithinWeekly: z.ZodOptional<z.ZodString>;
|
|
530
|
+
keepWithinMonthly: z.ZodOptional<z.ZodString>;
|
|
531
|
+
keepWithinYearly: z.ZodOptional<z.ZodString>;
|
|
532
|
+
}, z.core.$strip>>>;
|
|
533
|
+
}, z.core.$strip>>;
|
|
534
|
+
snapshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
535
|
+
id: z.ZodString;
|
|
536
|
+
time: z.ZodString;
|
|
537
|
+
paths: z.ZodArray<z.ZodString>;
|
|
538
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
539
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
540
|
+
filesNew: z.ZodInt;
|
|
541
|
+
filesChanged: z.ZodInt;
|
|
542
|
+
filesUnmodified: z.ZodInt;
|
|
543
|
+
totalFiles: z.ZodInt;
|
|
544
|
+
totalBytes: z.ZodInt;
|
|
545
|
+
dataAdded: z.ZodInt;
|
|
546
|
+
}, z.core.$strip>>;
|
|
547
|
+
}, z.core.$strip>>>;
|
|
548
|
+
}, z.core.$strip>>;
|
|
549
|
+
}, z.core.$strip>, false>;
|
|
550
|
+
export declare class RepositoryInspectResponseDto extends RepositoryInspectResponseDto_base {
|
|
551
|
+
}
|
|
552
|
+
export {};
|