@homeflare/distilled-proxmox-backup 0.2.0
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/LICENSE +201 -0
- package/README.md +102 -0
- package/dist/credentials.d.ts +50 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +105 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +100 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +73 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +19 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +158 -0
- package/dist/protocol.js.map +1 -0
- package/dist/protocol.test.d.ts +2 -0
- package/dist/protocol.test.d.ts.map +1 -0
- package/dist/protocol.test.js +75 -0
- package/dist/protocol.test.js.map +1 -0
- package/dist/retry.d.ts +53 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +46 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/access.d.ts +587 -0
- package/dist/services/access.d.ts.map +1 -0
- package/dist/services/access.js +787 -0
- package/dist/services/access.js.map +1 -0
- package/dist/services/admin.d.ts +1110 -0
- package/dist/services/admin.d.ts.map +1 -0
- package/dist/services/admin.js +1428 -0
- package/dist/services/admin.js.map +1 -0
- package/dist/services/backup.d.ts +224 -0
- package/dist/services/backup.d.ts.map +1 -0
- package/dist/services/backup.js +325 -0
- package/dist/services/backup.js.map +1 -0
- package/dist/services/config.d.ts +3662 -0
- package/dist/services/config.d.ts.map +1 -0
- package/dist/services/config.js +4445 -0
- package/dist/services/config.js.map +1 -0
- package/dist/services/index.d.ts +14 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +15 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/nodes.d.ts +1441 -0
- package/dist/services/nodes.d.ts.map +1 -0
- package/dist/services/nodes.js +1829 -0
- package/dist/services/nodes.js.map +1 -0
- package/dist/services/ping.d.ts +15 -0
- package/dist/services/ping.d.ts.map +1 -0
- package/dist/services/ping.js +21 -0
- package/dist/services/ping.js.map +1 -0
- package/dist/services/pull.d.ts +54 -0
- package/dist/services/pull.d.ts.map +1 -0
- package/dist/services/pull.js +47 -0
- package/dist/services/pull.js.map +1 -0
- package/dist/services/push.d.ts +50 -0
- package/dist/services/push.d.ts.map +1 -0
- package/dist/services/push.js +45 -0
- package/dist/services/push.js.map +1 -0
- package/dist/services/reader.d.ts +68 -0
- package/dist/services/reader.d.ts.map +1 -0
- package/dist/services/reader.js +89 -0
- package/dist/services/reader.js.map +1 -0
- package/dist/services/root.d.ts +14 -0
- package/dist/services/root.d.ts.map +1 -0
- package/dist/services/root.js +19 -0
- package/dist/services/root.js.map +1 -0
- package/dist/services/status.d.ts +78 -0
- package/dist/services/status.d.ts.map +1 -0
- package/dist/services/status.js +97 -0
- package/dist/services/status.js.map +1 -0
- package/dist/services/tape.d.ts +711 -0
- package/dist/services/tape.d.ts.map +1 -0
- package/dist/services/tape.js +986 -0
- package/dist/services/tape.js.map +1 -0
- package/dist/services/version.d.ts +17 -0
- package/dist/services/version.d.ts.map +1 -0
- package/dist/services/version.js +25 -0
- package/dist/services/version.js.map +1 -0
- package/dist/task.d.ts +48 -0
- package/dist/task.d.ts.map +1 -0
- package/dist/task.js +57 -0
- package/dist/task.js.map +1 -0
- package/dist/traits.d.ts +13 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +15 -0
- package/dist/traits.js.map +1 -0
- package/package.json +81 -0
- package/src/credentials.ts +139 -0
- package/src/errors.ts +126 -0
- package/src/index.ts +36 -0
- package/src/protocol.test.ts +128 -0
- package/src/protocol.ts +196 -0
- package/src/retry.ts +79 -0
- package/src/services/access.ts +1787 -0
- package/src/services/admin.ts +3258 -0
- package/src/services/backup.ts +698 -0
- package/src/services/config.ts +10561 -0
- package/src/services/index.ts +14 -0
- package/src/services/nodes.ts +4313 -0
- package/src/services/ping.ts +43 -0
- package/src/services/pull.ts +118 -0
- package/src/services/push.ts +108 -0
- package/src/services/reader.ts +196 -0
- package/src/services/root.ts +39 -0
- package/src/services/status.ts +233 -0
- package/src/services/tape.ts +2257 -0
- package/src/services/version.ts +49 -0
- package/src/task.ts +84 -0
- package/src/traits.ts +46 -0
|
@@ -0,0 +1,4445 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (apidoc.js, via scripts/apidoc.ts — see its header). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.js";
|
|
5
|
+
import { ProxmoxBackupProtocol, } from "../protocol.js";
|
|
6
|
+
import * as Retry from "../retry.js";
|
|
7
|
+
export const CreateConfigAccessAdRequestMode = S.String;
|
|
8
|
+
export const CreateConfigAccessAdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
9
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
10
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
11
|
+
capath: S.optional(S.String),
|
|
12
|
+
comment: S.optional(S.String),
|
|
13
|
+
default: S.optional(S.String),
|
|
14
|
+
filter: S.optional(S.String),
|
|
15
|
+
mode: S.optional(CreateConfigAccessAdRequestMode),
|
|
16
|
+
password: S.optional(S.String),
|
|
17
|
+
port: S.optional(S.String),
|
|
18
|
+
realm: S.String,
|
|
19
|
+
server1: S.String,
|
|
20
|
+
server2: S.optional(S.String),
|
|
21
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
22
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
23
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
24
|
+
verify: S.optional(S.String),
|
|
25
|
+
}).pipe(T.Http({
|
|
26
|
+
method: "POST",
|
|
27
|
+
uri: "/config/access/ad",
|
|
28
|
+
code: 200,
|
|
29
|
+
contentType: "form-urlencoded",
|
|
30
|
+
}))).annotate({
|
|
31
|
+
identifier: "CreateConfigAccessAdRequest",
|
|
32
|
+
});
|
|
33
|
+
export const CreateConfigAccessAdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
34
|
+
identifier: "CreateConfigAccessAdResponse",
|
|
35
|
+
});
|
|
36
|
+
export const CreateConfigAccessLdapRequestMode = S.String;
|
|
37
|
+
export const CreateConfigAccessLdapRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
38
|
+
base_dn: S.String.pipe(T.Body("base-dn")),
|
|
39
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
40
|
+
capath: S.optional(S.String),
|
|
41
|
+
comment: S.optional(S.String),
|
|
42
|
+
default: S.optional(S.String),
|
|
43
|
+
filter: S.optional(S.String),
|
|
44
|
+
mode: S.optional(CreateConfigAccessLdapRequestMode),
|
|
45
|
+
password: S.optional(S.String),
|
|
46
|
+
port: S.optional(S.String),
|
|
47
|
+
realm: S.String,
|
|
48
|
+
server1: S.String,
|
|
49
|
+
server2: S.optional(S.String),
|
|
50
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
51
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
52
|
+
user_attr: S.String.pipe(T.Body("user-attr")),
|
|
53
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
54
|
+
verify: S.optional(S.String),
|
|
55
|
+
}).pipe(T.Http({
|
|
56
|
+
method: "POST",
|
|
57
|
+
uri: "/config/access/ldap",
|
|
58
|
+
code: 200,
|
|
59
|
+
contentType: "form-urlencoded",
|
|
60
|
+
}))).annotate({
|
|
61
|
+
identifier: "CreateConfigAccessLdapRequest",
|
|
62
|
+
});
|
|
63
|
+
export const CreateConfigAccessLdapResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
64
|
+
identifier: "CreateConfigAccessLdapResponse",
|
|
65
|
+
});
|
|
66
|
+
export const CreateConfigAccessOpenidRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
67
|
+
acr_values: S.optional(S.String.pipe(T.Body("acr-values"))),
|
|
68
|
+
audiences: S.optional(S.String),
|
|
69
|
+
autocreate: S.optional(S.String),
|
|
70
|
+
client_id: S.String.pipe(T.Body("client-id")),
|
|
71
|
+
client_key: S.optional(S.String.pipe(T.Body("client-key"))),
|
|
72
|
+
comment: S.optional(S.String),
|
|
73
|
+
default: S.optional(S.String),
|
|
74
|
+
issuer_url: S.String.pipe(T.Body("issuer-url")),
|
|
75
|
+
prompt: S.optional(S.String),
|
|
76
|
+
realm: S.String,
|
|
77
|
+
scopes: S.optional(S.String),
|
|
78
|
+
username_claim: S.optional(S.String.pipe(T.Body("username-claim"))),
|
|
79
|
+
}).pipe(T.Http({
|
|
80
|
+
method: "POST",
|
|
81
|
+
uri: "/config/access/openid",
|
|
82
|
+
code: 200,
|
|
83
|
+
contentType: "form-urlencoded",
|
|
84
|
+
}))).annotate({
|
|
85
|
+
identifier: "CreateConfigAccessOpenidRequest",
|
|
86
|
+
});
|
|
87
|
+
export const CreateConfigAccessOpenidResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
88
|
+
identifier: "CreateConfigAccessOpenidResponse",
|
|
89
|
+
});
|
|
90
|
+
export const CreateConfigAcmeAccountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
91
|
+
contact: S.String,
|
|
92
|
+
directory: S.optional(S.String),
|
|
93
|
+
eab_hmac_key: S.optional(S.String),
|
|
94
|
+
eab_kid: S.optional(S.String),
|
|
95
|
+
name: S.optional(S.String),
|
|
96
|
+
tos_url: S.optional(S.String),
|
|
97
|
+
}).pipe(T.Http({
|
|
98
|
+
method: "POST",
|
|
99
|
+
uri: "/config/acme/account",
|
|
100
|
+
code: 200,
|
|
101
|
+
contentType: "form-urlencoded",
|
|
102
|
+
}))).annotate({
|
|
103
|
+
identifier: "CreateConfigAcmeAccountRequest",
|
|
104
|
+
});
|
|
105
|
+
export const CreateConfigAcmeAccountResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
106
|
+
identifier: "CreateConfigAcmeAccountResponse",
|
|
107
|
+
});
|
|
108
|
+
export const CreateConfigAcmePluginRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
109
|
+
api: S.String,
|
|
110
|
+
data: S.String,
|
|
111
|
+
disable: S.optional(S.String),
|
|
112
|
+
id: S.String,
|
|
113
|
+
type: S.String,
|
|
114
|
+
validation_delay: S.optional(S.String.pipe(T.Body("validation-delay"))),
|
|
115
|
+
}).pipe(T.Http({
|
|
116
|
+
method: "POST",
|
|
117
|
+
uri: "/config/acme/plugins",
|
|
118
|
+
code: 200,
|
|
119
|
+
contentType: "form-urlencoded",
|
|
120
|
+
}))).annotate({
|
|
121
|
+
identifier: "CreateConfigAcmePluginRequest",
|
|
122
|
+
});
|
|
123
|
+
export const CreateConfigAcmePluginResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
124
|
+
identifier: "CreateConfigAcmePluginResponse",
|
|
125
|
+
});
|
|
126
|
+
export const CreateConfigChangerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
127
|
+
eject_before_unload: S.optional(S.String.pipe(T.Body("eject-before-unload"))),
|
|
128
|
+
export_slots: S.optional(S.String.pipe(T.Body("export-slots"))),
|
|
129
|
+
name: S.String,
|
|
130
|
+
path: S.String,
|
|
131
|
+
}).pipe(T.Http({
|
|
132
|
+
method: "POST",
|
|
133
|
+
uri: "/config/changer",
|
|
134
|
+
code: 200,
|
|
135
|
+
contentType: "form-urlencoded",
|
|
136
|
+
}))).annotate({
|
|
137
|
+
identifier: "CreateConfigChangerRequest",
|
|
138
|
+
});
|
|
139
|
+
export const CreateConfigChangerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
140
|
+
identifier: "CreateConfigChangerResponse",
|
|
141
|
+
});
|
|
142
|
+
export const CreateConfigDatastoreRequestNotificationMode = S.String;
|
|
143
|
+
export const CreateConfigDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
144
|
+
backend: S.optional(S.String),
|
|
145
|
+
backing_device: S.optional(S.String.pipe(T.Body("backing-device"))),
|
|
146
|
+
comment: S.optional(S.String),
|
|
147
|
+
counter_reset_schedule: S.optional(S.String.pipe(T.Body("counter-reset-schedule"))),
|
|
148
|
+
gc_on_unmount: S.optional(S.String.pipe(T.Body("gc-on-unmount"))),
|
|
149
|
+
gc_schedule: S.optional(S.String.pipe(T.Body("gc-schedule"))),
|
|
150
|
+
keep_daily: S.optional(S.String.pipe(T.Body("keep-daily"))),
|
|
151
|
+
keep_hourly: S.optional(S.String.pipe(T.Body("keep-hourly"))),
|
|
152
|
+
keep_last: S.optional(S.String.pipe(T.Body("keep-last"))),
|
|
153
|
+
keep_monthly: S.optional(S.String.pipe(T.Body("keep-monthly"))),
|
|
154
|
+
keep_weekly: S.optional(S.String.pipe(T.Body("keep-weekly"))),
|
|
155
|
+
keep_yearly: S.optional(S.String.pipe(T.Body("keep-yearly"))),
|
|
156
|
+
maintenance_mode: S.optional(S.String.pipe(T.Body("maintenance-mode"))),
|
|
157
|
+
name: S.String,
|
|
158
|
+
notification_mode: S.optional(CreateConfigDatastoreRequestNotificationMode.pipe(T.Body("notification-mode"))),
|
|
159
|
+
notification_thresholds: S.optional(S.String.pipe(T.Body("notification-thresholds"))),
|
|
160
|
+
notify: S.optional(S.String),
|
|
161
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
162
|
+
overwrite_in_use: S.optional(S.String.pipe(T.Body("overwrite-in-use"))),
|
|
163
|
+
path: S.String,
|
|
164
|
+
prune_schedule: S.optional(S.String.pipe(T.Body("prune-schedule"))),
|
|
165
|
+
reuse_datastore: S.optional(S.String.pipe(T.Body("reuse-datastore"))),
|
|
166
|
+
tuning: S.optional(S.String),
|
|
167
|
+
verify_new: S.optional(S.String.pipe(T.Body("verify-new"))),
|
|
168
|
+
}).pipe(T.Http({
|
|
169
|
+
method: "POST",
|
|
170
|
+
uri: "/config/datastore",
|
|
171
|
+
code: 200,
|
|
172
|
+
contentType: "form-urlencoded",
|
|
173
|
+
}))).annotate({
|
|
174
|
+
identifier: "CreateConfigDatastoreRequest",
|
|
175
|
+
});
|
|
176
|
+
export const CreateConfigDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
177
|
+
identifier: "CreateConfigDatastoreResponse",
|
|
178
|
+
});
|
|
179
|
+
export const CreateConfigDriveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
180
|
+
changer: S.optional(S.String),
|
|
181
|
+
changer_drivenum: S.optional(S.String.pipe(T.Body("changer-drivenum"))),
|
|
182
|
+
name: S.String,
|
|
183
|
+
path: S.String,
|
|
184
|
+
}).pipe(T.Http({
|
|
185
|
+
method: "POST",
|
|
186
|
+
uri: "/config/drive",
|
|
187
|
+
code: 200,
|
|
188
|
+
contentType: "form-urlencoded",
|
|
189
|
+
}))).annotate({
|
|
190
|
+
identifier: "CreateConfigDriveRequest",
|
|
191
|
+
});
|
|
192
|
+
export const CreateConfigDriveResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
193
|
+
identifier: "CreateConfigDriveResponse",
|
|
194
|
+
});
|
|
195
|
+
export const CreateConfigEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
196
|
+
id: S.String,
|
|
197
|
+
key: S.optional(S.String),
|
|
198
|
+
}).pipe(T.Http({
|
|
199
|
+
method: "POST",
|
|
200
|
+
uri: "/config/encryption-keys",
|
|
201
|
+
code: 200,
|
|
202
|
+
contentType: "form-urlencoded",
|
|
203
|
+
}))).annotate({
|
|
204
|
+
identifier: "CreateConfigEncryptionKeyRequest",
|
|
205
|
+
});
|
|
206
|
+
export const CreateConfigEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
207
|
+
identifier: "CreateConfigEncryptionKeyResponse",
|
|
208
|
+
});
|
|
209
|
+
export const CreateConfigMediaPoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
210
|
+
allocation: S.optional(S.String),
|
|
211
|
+
comment: S.optional(S.String),
|
|
212
|
+
encrypt: S.optional(S.String),
|
|
213
|
+
name: S.String,
|
|
214
|
+
retention: S.optional(S.String),
|
|
215
|
+
template: S.optional(S.String),
|
|
216
|
+
}).pipe(T.Http({
|
|
217
|
+
method: "POST",
|
|
218
|
+
uri: "/config/media-pool",
|
|
219
|
+
code: 200,
|
|
220
|
+
contentType: "form-urlencoded",
|
|
221
|
+
}))).annotate({
|
|
222
|
+
identifier: "CreateConfigMediaPoolRequest",
|
|
223
|
+
});
|
|
224
|
+
export const CreateConfigMediaPoolResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
225
|
+
identifier: "CreateConfigMediaPoolResponse",
|
|
226
|
+
});
|
|
227
|
+
export const CreateConfigMetricsInfluxdbHttpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
228
|
+
bucket: S.optional(S.String),
|
|
229
|
+
comment: S.optional(S.String),
|
|
230
|
+
enable: S.optional(S.String),
|
|
231
|
+
max_body_size: S.optional(S.String.pipe(T.Body("max-body-size"))),
|
|
232
|
+
name: S.String,
|
|
233
|
+
organization: S.optional(S.String),
|
|
234
|
+
token: S.optional(S.String),
|
|
235
|
+
url: S.String,
|
|
236
|
+
verify_tls: S.optional(S.String.pipe(T.Body("verify-tls"))),
|
|
237
|
+
}).pipe(T.Http({
|
|
238
|
+
method: "POST",
|
|
239
|
+
uri: "/config/metrics/influxdb-http",
|
|
240
|
+
code: 200,
|
|
241
|
+
contentType: "form-urlencoded",
|
|
242
|
+
}))).annotate({
|
|
243
|
+
identifier: "CreateConfigMetricsInfluxdbHttpRequest",
|
|
244
|
+
});
|
|
245
|
+
export const CreateConfigMetricsInfluxdbHttpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
246
|
+
identifier: "CreateConfigMetricsInfluxdbHttpResponse",
|
|
247
|
+
});
|
|
248
|
+
export const CreateConfigMetricsInfluxdbUdpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
249
|
+
comment: S.optional(S.String),
|
|
250
|
+
enable: S.optional(S.String),
|
|
251
|
+
host: S.String,
|
|
252
|
+
mtu: S.optional(S.String),
|
|
253
|
+
name: S.String,
|
|
254
|
+
}).pipe(T.Http({
|
|
255
|
+
method: "POST",
|
|
256
|
+
uri: "/config/metrics/influxdb-udp",
|
|
257
|
+
code: 200,
|
|
258
|
+
contentType: "form-urlencoded",
|
|
259
|
+
}))).annotate({
|
|
260
|
+
identifier: "CreateConfigMetricsInfluxdbUdpRequest",
|
|
261
|
+
});
|
|
262
|
+
export const CreateConfigMetricsInfluxdbUdpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
263
|
+
identifier: "CreateConfigMetricsInfluxdbUdpResponse",
|
|
264
|
+
});
|
|
265
|
+
export const CreateConfigNotificationEndpointGotifyRequestOrigin = S.String;
|
|
266
|
+
export const CreateConfigNotificationEndpointGotifyRequest =
|
|
267
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
268
|
+
comment: S.optional(S.String),
|
|
269
|
+
disable: S.optional(S.String),
|
|
270
|
+
filter: S.optional(S.String),
|
|
271
|
+
name: S.String,
|
|
272
|
+
origin: S.optional(CreateConfigNotificationEndpointGotifyRequestOrigin),
|
|
273
|
+
server: S.String,
|
|
274
|
+
token: S.String,
|
|
275
|
+
}).pipe(T.Http({
|
|
276
|
+
method: "POST",
|
|
277
|
+
uri: "/config/notifications/endpoints/gotify",
|
|
278
|
+
code: 200,
|
|
279
|
+
contentType: "form-urlencoded",
|
|
280
|
+
}))).annotate({
|
|
281
|
+
identifier: "CreateConfigNotificationEndpointGotifyRequest",
|
|
282
|
+
});
|
|
283
|
+
export const CreateConfigNotificationEndpointGotifyResponse =
|
|
284
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
285
|
+
identifier: "CreateConfigNotificationEndpointGotifyResponse",
|
|
286
|
+
});
|
|
287
|
+
export const CreateConfigNotificationEndpointSendmailRequestMailtoList =
|
|
288
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
289
|
+
export const CreateConfigNotificationEndpointSendmailRequestMailtoUserList =
|
|
290
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
291
|
+
export const CreateConfigNotificationEndpointSendmailRequestOrigin = S.String;
|
|
292
|
+
export const CreateConfigNotificationEndpointSendmailRequest =
|
|
293
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
294
|
+
author: S.optional(S.String),
|
|
295
|
+
comment: S.optional(S.String),
|
|
296
|
+
disable: S.optional(S.String),
|
|
297
|
+
filter: S.optional(S.String),
|
|
298
|
+
from_address: S.optional(S.String.pipe(T.Body("from-address"))),
|
|
299
|
+
mailto: S.optional(CreateConfigNotificationEndpointSendmailRequestMailtoList),
|
|
300
|
+
mailto_user: S.optional(CreateConfigNotificationEndpointSendmailRequestMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
301
|
+
name: S.String,
|
|
302
|
+
origin: S.optional(CreateConfigNotificationEndpointSendmailRequestOrigin),
|
|
303
|
+
}).pipe(T.Http({
|
|
304
|
+
method: "POST",
|
|
305
|
+
uri: "/config/notifications/endpoints/sendmail",
|
|
306
|
+
code: 200,
|
|
307
|
+
contentType: "form-urlencoded",
|
|
308
|
+
}))).annotate({
|
|
309
|
+
identifier: "CreateConfigNotificationEndpointSendmailRequest",
|
|
310
|
+
});
|
|
311
|
+
export const CreateConfigNotificationEndpointSendmailResponse =
|
|
312
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
313
|
+
identifier: "CreateConfigNotificationEndpointSendmailResponse",
|
|
314
|
+
});
|
|
315
|
+
export const CreateConfigNotificationEndpointSmtpRequestMailtoList =
|
|
316
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
317
|
+
export const CreateConfigNotificationEndpointSmtpRequestMailtoUserList =
|
|
318
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
319
|
+
export const CreateConfigNotificationEndpointSmtpRequestMode = S.String;
|
|
320
|
+
export const CreateConfigNotificationEndpointSmtpRequestOrigin = S.String;
|
|
321
|
+
export const CreateConfigNotificationEndpointSmtpRequest =
|
|
322
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
323
|
+
author: S.optional(S.String),
|
|
324
|
+
comment: S.optional(S.String),
|
|
325
|
+
disable: S.optional(S.String),
|
|
326
|
+
from_address: S.String.pipe(T.Body("from-address")),
|
|
327
|
+
mailto: S.optional(CreateConfigNotificationEndpointSmtpRequestMailtoList),
|
|
328
|
+
mailto_user: S.optional(CreateConfigNotificationEndpointSmtpRequestMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
329
|
+
mode: S.optional(CreateConfigNotificationEndpointSmtpRequestMode),
|
|
330
|
+
name: S.String,
|
|
331
|
+
origin: S.optional(CreateConfigNotificationEndpointSmtpRequestOrigin),
|
|
332
|
+
password: S.optional(S.String),
|
|
333
|
+
port: S.optional(S.String),
|
|
334
|
+
server: S.String,
|
|
335
|
+
username: S.optional(S.String),
|
|
336
|
+
}).pipe(T.Http({
|
|
337
|
+
method: "POST",
|
|
338
|
+
uri: "/config/notifications/endpoints/smtp",
|
|
339
|
+
code: 200,
|
|
340
|
+
contentType: "form-urlencoded",
|
|
341
|
+
}))).annotate({
|
|
342
|
+
identifier: "CreateConfigNotificationEndpointSmtpRequest",
|
|
343
|
+
});
|
|
344
|
+
export const CreateConfigNotificationEndpointSmtpResponse =
|
|
345
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
346
|
+
identifier: "CreateConfigNotificationEndpointSmtpResponse",
|
|
347
|
+
});
|
|
348
|
+
export const CreateConfigNotificationEndpointWebhookRequestHeaderList =
|
|
349
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
350
|
+
export const CreateConfigNotificationEndpointWebhookRequestMethod = S.String;
|
|
351
|
+
export const CreateConfigNotificationEndpointWebhookRequestOrigin = S.String;
|
|
352
|
+
export const CreateConfigNotificationEndpointWebhookRequestSecretList =
|
|
353
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
354
|
+
export const CreateConfigNotificationEndpointWebhookRequest =
|
|
355
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
356
|
+
body: S.optional(S.String),
|
|
357
|
+
comment: S.optional(S.String),
|
|
358
|
+
disable: S.optional(S.String),
|
|
359
|
+
header: S.optional(CreateConfigNotificationEndpointWebhookRequestHeaderList),
|
|
360
|
+
method: CreateConfigNotificationEndpointWebhookRequestMethod,
|
|
361
|
+
name: S.String,
|
|
362
|
+
origin: S.optional(CreateConfigNotificationEndpointWebhookRequestOrigin),
|
|
363
|
+
secret: S.optional(CreateConfigNotificationEndpointWebhookRequestSecretList),
|
|
364
|
+
url: S.String,
|
|
365
|
+
}).pipe(T.Http({
|
|
366
|
+
method: "POST",
|
|
367
|
+
uri: "/config/notifications/endpoints/webhook",
|
|
368
|
+
code: 200,
|
|
369
|
+
contentType: "form-urlencoded",
|
|
370
|
+
}))).annotate({
|
|
371
|
+
identifier: "CreateConfigNotificationEndpointWebhookRequest",
|
|
372
|
+
});
|
|
373
|
+
export const CreateConfigNotificationEndpointWebhookResponse =
|
|
374
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
375
|
+
identifier: "CreateConfigNotificationEndpointWebhookResponse",
|
|
376
|
+
});
|
|
377
|
+
export const CreateConfigNotificationMatcherRequestMatchCalendarList =
|
|
378
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
379
|
+
export const CreateConfigNotificationMatcherRequestMatchFieldList =
|
|
380
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
381
|
+
export const CreateConfigNotificationMatcherRequestMatchSeverityList =
|
|
382
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
383
|
+
export const CreateConfigNotificationMatcherRequestMode = S.String;
|
|
384
|
+
export const CreateConfigNotificationMatcherRequestOrigin = S.String;
|
|
385
|
+
export const CreateConfigNotificationMatcherRequestTargetList =
|
|
386
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
387
|
+
export const CreateConfigNotificationMatcherRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
388
|
+
comment: S.optional(S.String),
|
|
389
|
+
disable: S.optional(S.String),
|
|
390
|
+
invert_match: S.optional(S.String.pipe(T.Body("invert-match"))),
|
|
391
|
+
match_calendar: S.optional(CreateConfigNotificationMatcherRequestMatchCalendarList.pipe(T.Body("match-calendar"))),
|
|
392
|
+
match_field: S.optional(CreateConfigNotificationMatcherRequestMatchFieldList.pipe(T.Body("match-field"))),
|
|
393
|
+
match_severity: S.optional(CreateConfigNotificationMatcherRequestMatchSeverityList.pipe(T.Body("match-severity"))),
|
|
394
|
+
mode: S.optional(CreateConfigNotificationMatcherRequestMode),
|
|
395
|
+
name: S.String,
|
|
396
|
+
origin: S.optional(CreateConfigNotificationMatcherRequestOrigin),
|
|
397
|
+
target: S.optional(CreateConfigNotificationMatcherRequestTargetList),
|
|
398
|
+
}).pipe(T.Http({
|
|
399
|
+
method: "POST",
|
|
400
|
+
uri: "/config/notifications/matchers",
|
|
401
|
+
code: 200,
|
|
402
|
+
contentType: "form-urlencoded",
|
|
403
|
+
}))).annotate({
|
|
404
|
+
identifier: "CreateConfigNotificationMatcherRequest",
|
|
405
|
+
});
|
|
406
|
+
export const CreateConfigNotificationMatcherResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
407
|
+
identifier: "CreateConfigNotificationMatcherResponse",
|
|
408
|
+
});
|
|
409
|
+
export const CreateConfigPruneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
410
|
+
comment: S.optional(S.String),
|
|
411
|
+
disable: S.optional(S.String),
|
|
412
|
+
id: S.String,
|
|
413
|
+
keep_daily: S.optional(S.String.pipe(T.Body("keep-daily"))),
|
|
414
|
+
keep_hourly: S.optional(S.String.pipe(T.Body("keep-hourly"))),
|
|
415
|
+
keep_last: S.optional(S.String.pipe(T.Body("keep-last"))),
|
|
416
|
+
keep_monthly: S.optional(S.String.pipe(T.Body("keep-monthly"))),
|
|
417
|
+
keep_weekly: S.optional(S.String.pipe(T.Body("keep-weekly"))),
|
|
418
|
+
keep_yearly: S.optional(S.String.pipe(T.Body("keep-yearly"))),
|
|
419
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
420
|
+
ns: S.optional(S.String),
|
|
421
|
+
schedule: S.String,
|
|
422
|
+
store: S.String,
|
|
423
|
+
}).pipe(T.Http({
|
|
424
|
+
method: "POST",
|
|
425
|
+
uri: "/config/prune",
|
|
426
|
+
code: 200,
|
|
427
|
+
contentType: "form-urlencoded",
|
|
428
|
+
}))).annotate({
|
|
429
|
+
identifier: "CreateConfigPruneRequest",
|
|
430
|
+
});
|
|
431
|
+
export const CreateConfigPruneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
432
|
+
identifier: "CreateConfigPruneResponse",
|
|
433
|
+
});
|
|
434
|
+
export const CreateConfigRemoteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
435
|
+
auth_id: S.String.pipe(T.Body("auth-id")),
|
|
436
|
+
comment: S.optional(S.String),
|
|
437
|
+
fingerprint: S.optional(S.String),
|
|
438
|
+
host: S.String,
|
|
439
|
+
name: S.String,
|
|
440
|
+
password: S.String,
|
|
441
|
+
port: S.optional(S.String),
|
|
442
|
+
use_node_proxy: S.optional(S.String.pipe(T.Body("use-node-proxy"))),
|
|
443
|
+
}).pipe(T.Http({
|
|
444
|
+
method: "POST",
|
|
445
|
+
uri: "/config/remote",
|
|
446
|
+
code: 200,
|
|
447
|
+
contentType: "form-urlencoded",
|
|
448
|
+
}))).annotate({
|
|
449
|
+
identifier: "CreateConfigRemoteRequest",
|
|
450
|
+
});
|
|
451
|
+
export const CreateConfigRemoteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
452
|
+
identifier: "CreateConfigRemoteResponse",
|
|
453
|
+
});
|
|
454
|
+
export const CreateConfigS3RequestProviderQuirksItem = S.String;
|
|
455
|
+
export const CreateConfigS3RequestProviderQuirksList = /*@__PURE__*/ S.Array(CreateConfigS3RequestProviderQuirksItem);
|
|
456
|
+
export const CreateConfigS3Request = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
457
|
+
access_key: S.String.pipe(T.Body("access-key")),
|
|
458
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
459
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
460
|
+
endpoint: S.String,
|
|
461
|
+
fingerprint: S.optional(S.String),
|
|
462
|
+
id: S.String,
|
|
463
|
+
path_style: S.optional(S.String.pipe(T.Body("path-style"))),
|
|
464
|
+
port: S.optional(S.String),
|
|
465
|
+
provider_quirks: S.optional(CreateConfigS3RequestProviderQuirksList.pipe(T.Body("provider-quirks"))),
|
|
466
|
+
put_rate_limit: S.optional(S.String.pipe(T.Body("put-rate-limit"))),
|
|
467
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
468
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
469
|
+
region: S.optional(S.String),
|
|
470
|
+
secret_key: S.String.pipe(T.Body("secret-key")),
|
|
471
|
+
}).pipe(T.Http({
|
|
472
|
+
method: "POST",
|
|
473
|
+
uri: "/config/s3",
|
|
474
|
+
code: 200,
|
|
475
|
+
contentType: "form-urlencoded",
|
|
476
|
+
}))).annotate({
|
|
477
|
+
identifier: "CreateConfigS3Request",
|
|
478
|
+
});
|
|
479
|
+
export const CreateConfigS3Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
480
|
+
identifier: "CreateConfigS3Response",
|
|
481
|
+
});
|
|
482
|
+
export const CreateConfigTapeBackupJobRequestGroupFilterList =
|
|
483
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
484
|
+
export const CreateConfigTapeBackupJobRequestNotificationMode = S.String;
|
|
485
|
+
export const CreateConfigTapeBackupJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
486
|
+
comment: S.optional(S.String),
|
|
487
|
+
drive: S.String,
|
|
488
|
+
eject_media: S.optional(S.String.pipe(T.Body("eject-media"))),
|
|
489
|
+
export_media_set: S.optional(S.String.pipe(T.Body("export-media-set"))),
|
|
490
|
+
group_filter: S.optional(CreateConfigTapeBackupJobRequestGroupFilterList.pipe(T.Body("group-filter"))),
|
|
491
|
+
id: S.String,
|
|
492
|
+
latest_only: S.optional(S.String.pipe(T.Body("latest-only"))),
|
|
493
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
494
|
+
notification_mode: S.optional(CreateConfigTapeBackupJobRequestNotificationMode.pipe(T.Body("notification-mode"))),
|
|
495
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
496
|
+
ns: S.optional(S.String),
|
|
497
|
+
pool: S.String,
|
|
498
|
+
schedule: S.optional(S.String),
|
|
499
|
+
store: S.String,
|
|
500
|
+
worker_threads: S.optional(S.String.pipe(T.Body("worker-threads"))),
|
|
501
|
+
}).pipe(T.Http({
|
|
502
|
+
method: "POST",
|
|
503
|
+
uri: "/config/tape-backup-job",
|
|
504
|
+
code: 200,
|
|
505
|
+
contentType: "form-urlencoded",
|
|
506
|
+
}))).annotate({
|
|
507
|
+
identifier: "CreateConfigTapeBackupJobRequest",
|
|
508
|
+
});
|
|
509
|
+
export const CreateConfigTapeBackupJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
510
|
+
identifier: "CreateConfigTapeBackupJobResponse",
|
|
511
|
+
});
|
|
512
|
+
export const CreateConfigTapeEncryptionKeyRequestKdf = S.String;
|
|
513
|
+
export const CreateConfigTapeEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
514
|
+
hint: S.optional(S.String),
|
|
515
|
+
kdf: S.optional(CreateConfigTapeEncryptionKeyRequestKdf),
|
|
516
|
+
key: S.optional(S.String),
|
|
517
|
+
password: S.String,
|
|
518
|
+
}).pipe(T.Http({
|
|
519
|
+
method: "POST",
|
|
520
|
+
uri: "/config/tape-encryption-keys",
|
|
521
|
+
code: 200,
|
|
522
|
+
contentType: "form-urlencoded",
|
|
523
|
+
}))).annotate({
|
|
524
|
+
identifier: "CreateConfigTapeEncryptionKeyRequest",
|
|
525
|
+
});
|
|
526
|
+
export const CreateConfigTapeEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
527
|
+
identifier: "CreateConfigTapeEncryptionKeyResponse",
|
|
528
|
+
});
|
|
529
|
+
export const CreateConfigTrafficControlRequestNetworkList =
|
|
530
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
531
|
+
export const CreateConfigTrafficControlRequestTimeframeList =
|
|
532
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
533
|
+
export const CreateConfigTrafficControlRequestUsersList = /*@__PURE__*/ S.Array(S.String);
|
|
534
|
+
export const CreateConfigTrafficControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
535
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
536
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
537
|
+
comment: S.optional(S.String),
|
|
538
|
+
name: S.String,
|
|
539
|
+
network: CreateConfigTrafficControlRequestNetworkList,
|
|
540
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
541
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
542
|
+
timeframe: S.optional(CreateConfigTrafficControlRequestTimeframeList),
|
|
543
|
+
users: S.optional(CreateConfigTrafficControlRequestUsersList),
|
|
544
|
+
}).pipe(T.Http({
|
|
545
|
+
method: "POST",
|
|
546
|
+
uri: "/config/traffic-control",
|
|
547
|
+
code: 200,
|
|
548
|
+
contentType: "form-urlencoded",
|
|
549
|
+
}))).annotate({
|
|
550
|
+
identifier: "CreateConfigTrafficControlRequest",
|
|
551
|
+
});
|
|
552
|
+
export const CreateConfigTrafficControlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
553
|
+
identifier: "CreateConfigTrafficControlResponse",
|
|
554
|
+
});
|
|
555
|
+
export const DeleteConfigAccessAdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
556
|
+
realm: S.String.pipe(T.Label()),
|
|
557
|
+
digest: S.optional(S.String),
|
|
558
|
+
}).pipe(T.Http({
|
|
559
|
+
method: "DELETE",
|
|
560
|
+
uri: "/config/access/ad/{realm}",
|
|
561
|
+
code: 200,
|
|
562
|
+
contentType: "form-urlencoded",
|
|
563
|
+
}))).annotate({
|
|
564
|
+
identifier: "DeleteConfigAccessAdRequest",
|
|
565
|
+
});
|
|
566
|
+
export const DeleteConfigAccessAdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
567
|
+
identifier: "DeleteConfigAccessAdResponse",
|
|
568
|
+
});
|
|
569
|
+
export const DeleteConfigAccessLdapRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
570
|
+
realm: S.String.pipe(T.Label()),
|
|
571
|
+
digest: S.optional(S.String),
|
|
572
|
+
}).pipe(T.Http({
|
|
573
|
+
method: "DELETE",
|
|
574
|
+
uri: "/config/access/ldap/{realm}",
|
|
575
|
+
code: 200,
|
|
576
|
+
contentType: "form-urlencoded",
|
|
577
|
+
}))).annotate({
|
|
578
|
+
identifier: "DeleteConfigAccessLdapRequest",
|
|
579
|
+
});
|
|
580
|
+
export const DeleteConfigAccessLdapResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
581
|
+
identifier: "DeleteConfigAccessLdapResponse",
|
|
582
|
+
});
|
|
583
|
+
export const DeleteConfigAccessOpenidRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
584
|
+
realm: S.String.pipe(T.Label()),
|
|
585
|
+
digest: S.optional(S.String),
|
|
586
|
+
}).pipe(T.Http({
|
|
587
|
+
method: "DELETE",
|
|
588
|
+
uri: "/config/access/openid/{realm}",
|
|
589
|
+
code: 200,
|
|
590
|
+
contentType: "form-urlencoded",
|
|
591
|
+
}))).annotate({
|
|
592
|
+
identifier: "DeleteConfigAccessOpenidRequest",
|
|
593
|
+
});
|
|
594
|
+
export const DeleteConfigAccessOpenidResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
595
|
+
identifier: "DeleteConfigAccessOpenidResponse",
|
|
596
|
+
});
|
|
597
|
+
export const DeleteConfigAcmeAccountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
598
|
+
name: S.String.pipe(T.Label()),
|
|
599
|
+
force: S.optional(S.String),
|
|
600
|
+
}).pipe(T.Http({
|
|
601
|
+
method: "DELETE",
|
|
602
|
+
uri: "/config/acme/account/{name}",
|
|
603
|
+
code: 200,
|
|
604
|
+
contentType: "form-urlencoded",
|
|
605
|
+
}))).annotate({
|
|
606
|
+
identifier: "DeleteConfigAcmeAccountRequest",
|
|
607
|
+
});
|
|
608
|
+
export const DeleteConfigAcmeAccountResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
609
|
+
identifier: "DeleteConfigAcmeAccountResponse",
|
|
610
|
+
});
|
|
611
|
+
export const DeleteConfigAcmePluginRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
612
|
+
id: S.String.pipe(T.Label()),
|
|
613
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/config/acme/plugins/{id}", code: 200 }))).annotate({
|
|
614
|
+
identifier: "DeleteConfigAcmePluginRequest",
|
|
615
|
+
});
|
|
616
|
+
export const DeleteConfigAcmePluginResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
617
|
+
identifier: "DeleteConfigAcmePluginResponse",
|
|
618
|
+
});
|
|
619
|
+
export const DeleteConfigChangerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
620
|
+
name: S.String.pipe(T.Label()),
|
|
621
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/config/changer/{name}", code: 200 }))).annotate({
|
|
622
|
+
identifier: "DeleteConfigChangerRequest",
|
|
623
|
+
});
|
|
624
|
+
export const DeleteConfigChangerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
625
|
+
identifier: "DeleteConfigChangerResponse",
|
|
626
|
+
});
|
|
627
|
+
export const DeleteConfigDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
628
|
+
name: S.String.pipe(T.Label()),
|
|
629
|
+
destroy_data: S.optional(S.String.pipe(T.Body("destroy-data"))),
|
|
630
|
+
digest: S.optional(S.String),
|
|
631
|
+
keep_job_configs: S.optional(S.String.pipe(T.Body("keep-job-configs"))),
|
|
632
|
+
}).pipe(T.Http({
|
|
633
|
+
method: "DELETE",
|
|
634
|
+
uri: "/config/datastore/{name}",
|
|
635
|
+
code: 200,
|
|
636
|
+
contentType: "form-urlencoded",
|
|
637
|
+
}))).annotate({
|
|
638
|
+
identifier: "DeleteConfigDatastoreRequest",
|
|
639
|
+
});
|
|
640
|
+
export const DeleteConfigDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
641
|
+
identifier: "DeleteConfigDatastoreResponse",
|
|
642
|
+
});
|
|
643
|
+
export const DeleteConfigDriveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
644
|
+
name: S.String.pipe(T.Label()),
|
|
645
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/config/drive/{name}", code: 200 }))).annotate({
|
|
646
|
+
identifier: "DeleteConfigDriveRequest",
|
|
647
|
+
});
|
|
648
|
+
export const DeleteConfigDriveResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
649
|
+
identifier: "DeleteConfigDriveResponse",
|
|
650
|
+
});
|
|
651
|
+
export const DeleteConfigEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
652
|
+
id: S.String.pipe(T.Label()),
|
|
653
|
+
digest: S.optional(S.String),
|
|
654
|
+
}).pipe(T.Http({
|
|
655
|
+
method: "DELETE",
|
|
656
|
+
uri: "/config/encryption-keys/{id}",
|
|
657
|
+
code: 200,
|
|
658
|
+
contentType: "form-urlencoded",
|
|
659
|
+
}))).annotate({
|
|
660
|
+
identifier: "DeleteConfigEncryptionKeyRequest",
|
|
661
|
+
});
|
|
662
|
+
export const DeleteConfigEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
663
|
+
identifier: "DeleteConfigEncryptionKeyResponse",
|
|
664
|
+
});
|
|
665
|
+
export const DeleteConfigMediaPoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
666
|
+
name: S.String.pipe(T.Label()),
|
|
667
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/config/media-pool/{name}", code: 200 }))).annotate({
|
|
668
|
+
identifier: "DeleteConfigMediaPoolRequest",
|
|
669
|
+
});
|
|
670
|
+
export const DeleteConfigMediaPoolResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
671
|
+
identifier: "DeleteConfigMediaPoolResponse",
|
|
672
|
+
});
|
|
673
|
+
export const DeleteConfigMetricsInfluxdbHttpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
674
|
+
name: S.String.pipe(T.Label()),
|
|
675
|
+
digest: S.optional(S.String),
|
|
676
|
+
}).pipe(T.Http({
|
|
677
|
+
method: "DELETE",
|
|
678
|
+
uri: "/config/metrics/influxdb-http/{name}",
|
|
679
|
+
code: 200,
|
|
680
|
+
contentType: "form-urlencoded",
|
|
681
|
+
}))).annotate({
|
|
682
|
+
identifier: "DeleteConfigMetricsInfluxdbHttpRequest",
|
|
683
|
+
});
|
|
684
|
+
export const DeleteConfigMetricsInfluxdbHttpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
685
|
+
identifier: "DeleteConfigMetricsInfluxdbHttpResponse",
|
|
686
|
+
});
|
|
687
|
+
export const DeleteConfigMetricsInfluxdbUdpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
688
|
+
name: S.String.pipe(T.Label()),
|
|
689
|
+
digest: S.optional(S.String),
|
|
690
|
+
}).pipe(T.Http({
|
|
691
|
+
method: "DELETE",
|
|
692
|
+
uri: "/config/metrics/influxdb-udp/{name}",
|
|
693
|
+
code: 200,
|
|
694
|
+
contentType: "form-urlencoded",
|
|
695
|
+
}))).annotate({
|
|
696
|
+
identifier: "DeleteConfigMetricsInfluxdbUdpRequest",
|
|
697
|
+
});
|
|
698
|
+
export const DeleteConfigMetricsInfluxdbUdpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
699
|
+
identifier: "DeleteConfigMetricsInfluxdbUdpResponse",
|
|
700
|
+
});
|
|
701
|
+
export const DeleteConfigNotificationEndpointGotifyRequest =
|
|
702
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
703
|
+
name: S.String.pipe(T.Label()),
|
|
704
|
+
}).pipe(T.Http({
|
|
705
|
+
method: "DELETE",
|
|
706
|
+
uri: "/config/notifications/endpoints/gotify/{name}",
|
|
707
|
+
code: 200,
|
|
708
|
+
}))).annotate({
|
|
709
|
+
identifier: "DeleteConfigNotificationEndpointGotifyRequest",
|
|
710
|
+
});
|
|
711
|
+
export const DeleteConfigNotificationEndpointGotifyResponse =
|
|
712
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
713
|
+
identifier: "DeleteConfigNotificationEndpointGotifyResponse",
|
|
714
|
+
});
|
|
715
|
+
export const DeleteConfigNotificationEndpointSendmailRequest =
|
|
716
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
717
|
+
name: S.String.pipe(T.Label()),
|
|
718
|
+
}).pipe(T.Http({
|
|
719
|
+
method: "DELETE",
|
|
720
|
+
uri: "/config/notifications/endpoints/sendmail/{name}",
|
|
721
|
+
code: 200,
|
|
722
|
+
}))).annotate({
|
|
723
|
+
identifier: "DeleteConfigNotificationEndpointSendmailRequest",
|
|
724
|
+
});
|
|
725
|
+
export const DeleteConfigNotificationEndpointSendmailResponse =
|
|
726
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
727
|
+
identifier: "DeleteConfigNotificationEndpointSendmailResponse",
|
|
728
|
+
});
|
|
729
|
+
export const DeleteConfigNotificationEndpointSmtpRequest =
|
|
730
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
731
|
+
name: S.String.pipe(T.Label()),
|
|
732
|
+
}).pipe(T.Http({
|
|
733
|
+
method: "DELETE",
|
|
734
|
+
uri: "/config/notifications/endpoints/smtp/{name}",
|
|
735
|
+
code: 200,
|
|
736
|
+
}))).annotate({
|
|
737
|
+
identifier: "DeleteConfigNotificationEndpointSmtpRequest",
|
|
738
|
+
});
|
|
739
|
+
export const DeleteConfigNotificationEndpointSmtpResponse =
|
|
740
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
741
|
+
identifier: "DeleteConfigNotificationEndpointSmtpResponse",
|
|
742
|
+
});
|
|
743
|
+
export const DeleteConfigNotificationEndpointWebhookRequest =
|
|
744
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
745
|
+
name: S.String.pipe(T.Label()),
|
|
746
|
+
}).pipe(T.Http({
|
|
747
|
+
method: "DELETE",
|
|
748
|
+
uri: "/config/notifications/endpoints/webhook/{name}",
|
|
749
|
+
code: 200,
|
|
750
|
+
}))).annotate({
|
|
751
|
+
identifier: "DeleteConfigNotificationEndpointWebhookRequest",
|
|
752
|
+
});
|
|
753
|
+
export const DeleteConfigNotificationEndpointWebhookResponse =
|
|
754
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
755
|
+
identifier: "DeleteConfigNotificationEndpointWebhookResponse",
|
|
756
|
+
});
|
|
757
|
+
export const DeleteConfigNotificationMatcherRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
758
|
+
name: S.String.pipe(T.Label()),
|
|
759
|
+
}).pipe(T.Http({
|
|
760
|
+
method: "DELETE",
|
|
761
|
+
uri: "/config/notifications/matchers/{name}",
|
|
762
|
+
code: 200,
|
|
763
|
+
}))).annotate({
|
|
764
|
+
identifier: "DeleteConfigNotificationMatcherRequest",
|
|
765
|
+
});
|
|
766
|
+
export const DeleteConfigNotificationMatcherResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
767
|
+
identifier: "DeleteConfigNotificationMatcherResponse",
|
|
768
|
+
});
|
|
769
|
+
export const DeleteConfigPruneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
770
|
+
id: S.String.pipe(T.Label()),
|
|
771
|
+
digest: S.optional(S.String),
|
|
772
|
+
}).pipe(T.Http({
|
|
773
|
+
method: "DELETE",
|
|
774
|
+
uri: "/config/prune/{id}",
|
|
775
|
+
code: 200,
|
|
776
|
+
contentType: "form-urlencoded",
|
|
777
|
+
}))).annotate({
|
|
778
|
+
identifier: "DeleteConfigPruneRequest",
|
|
779
|
+
});
|
|
780
|
+
export const DeleteConfigPruneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
781
|
+
identifier: "DeleteConfigPruneResponse",
|
|
782
|
+
});
|
|
783
|
+
export const DeleteConfigRemoteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
784
|
+
name: S.String.pipe(T.Label()),
|
|
785
|
+
digest: S.optional(S.String),
|
|
786
|
+
}).pipe(T.Http({
|
|
787
|
+
method: "DELETE",
|
|
788
|
+
uri: "/config/remote/{name}",
|
|
789
|
+
code: 200,
|
|
790
|
+
contentType: "form-urlencoded",
|
|
791
|
+
}))).annotate({
|
|
792
|
+
identifier: "DeleteConfigRemoteRequest",
|
|
793
|
+
});
|
|
794
|
+
export const DeleteConfigRemoteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
795
|
+
identifier: "DeleteConfigRemoteResponse",
|
|
796
|
+
});
|
|
797
|
+
export const DeleteConfigS3Request = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
798
|
+
id: S.String.pipe(T.Label()),
|
|
799
|
+
digest: S.optional(S.String),
|
|
800
|
+
}).pipe(T.Http({
|
|
801
|
+
method: "DELETE",
|
|
802
|
+
uri: "/config/s3/{id}",
|
|
803
|
+
code: 200,
|
|
804
|
+
contentType: "form-urlencoded",
|
|
805
|
+
}))).annotate({
|
|
806
|
+
identifier: "DeleteConfigS3Request",
|
|
807
|
+
});
|
|
808
|
+
export const DeleteConfigS3Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
809
|
+
identifier: "DeleteConfigS3Response",
|
|
810
|
+
});
|
|
811
|
+
export const DeleteConfigSyncRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
812
|
+
id: S.String.pipe(T.Label()),
|
|
813
|
+
digest: S.optional(S.String),
|
|
814
|
+
}).pipe(T.Http({
|
|
815
|
+
method: "DELETE",
|
|
816
|
+
uri: "/config/sync/{id}",
|
|
817
|
+
code: 200,
|
|
818
|
+
contentType: "form-urlencoded",
|
|
819
|
+
}))).annotate({
|
|
820
|
+
identifier: "DeleteConfigSyncRequest",
|
|
821
|
+
});
|
|
822
|
+
export const DeleteConfigSyncResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
823
|
+
identifier: "DeleteConfigSyncResponse",
|
|
824
|
+
});
|
|
825
|
+
export const DeleteConfigTapeBackupJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
826
|
+
id: S.String.pipe(T.Label()),
|
|
827
|
+
digest: S.optional(S.String),
|
|
828
|
+
}).pipe(T.Http({
|
|
829
|
+
method: "DELETE",
|
|
830
|
+
uri: "/config/tape-backup-job/{id}",
|
|
831
|
+
code: 200,
|
|
832
|
+
contentType: "form-urlencoded",
|
|
833
|
+
}))).annotate({
|
|
834
|
+
identifier: "DeleteConfigTapeBackupJobRequest",
|
|
835
|
+
});
|
|
836
|
+
export const DeleteConfigTapeBackupJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
837
|
+
identifier: "DeleteConfigTapeBackupJobResponse",
|
|
838
|
+
});
|
|
839
|
+
export const DeleteConfigTapeEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
840
|
+
fingerprint: S.String.pipe(T.Label()),
|
|
841
|
+
digest: S.optional(S.String),
|
|
842
|
+
}).pipe(T.Http({
|
|
843
|
+
method: "DELETE",
|
|
844
|
+
uri: "/config/tape-encryption-keys/{fingerprint}",
|
|
845
|
+
code: 200,
|
|
846
|
+
contentType: "form-urlencoded",
|
|
847
|
+
}))).annotate({
|
|
848
|
+
identifier: "DeleteConfigTapeEncryptionKeyRequest",
|
|
849
|
+
});
|
|
850
|
+
export const DeleteConfigTapeEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
851
|
+
identifier: "DeleteConfigTapeEncryptionKeyResponse",
|
|
852
|
+
});
|
|
853
|
+
export const DeleteConfigTrafficControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
854
|
+
name: S.String.pipe(T.Label()),
|
|
855
|
+
digest: S.optional(S.String),
|
|
856
|
+
}).pipe(T.Http({
|
|
857
|
+
method: "DELETE",
|
|
858
|
+
uri: "/config/traffic-control/{name}",
|
|
859
|
+
code: 200,
|
|
860
|
+
contentType: "form-urlencoded",
|
|
861
|
+
}))).annotate({
|
|
862
|
+
identifier: "DeleteConfigTrafficControlRequest",
|
|
863
|
+
});
|
|
864
|
+
export const DeleteConfigTrafficControlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
865
|
+
identifier: "DeleteConfigTrafficControlResponse",
|
|
866
|
+
});
|
|
867
|
+
export const DeleteConfigVerifyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
868
|
+
id: S.String.pipe(T.Label()),
|
|
869
|
+
digest: S.optional(S.String),
|
|
870
|
+
}).pipe(T.Http({
|
|
871
|
+
method: "DELETE",
|
|
872
|
+
uri: "/config/verify/{id}",
|
|
873
|
+
code: 200,
|
|
874
|
+
contentType: "form-urlencoded",
|
|
875
|
+
}))).annotate({
|
|
876
|
+
identifier: "DeleteConfigVerifyRequest",
|
|
877
|
+
});
|
|
878
|
+
export const DeleteConfigVerifyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
879
|
+
identifier: "DeleteConfigVerifyResponse",
|
|
880
|
+
});
|
|
881
|
+
export const GetConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config", code: 200 }))).annotate({
|
|
882
|
+
identifier: "GetConfigRequest",
|
|
883
|
+
});
|
|
884
|
+
export const GetConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
885
|
+
identifier: "GetConfigResponse",
|
|
886
|
+
});
|
|
887
|
+
export const GetConfigAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access", code: 200 }))).annotate({
|
|
888
|
+
identifier: "GetConfigAccessRequest",
|
|
889
|
+
});
|
|
890
|
+
export const GetConfigAccessResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
891
|
+
identifier: "GetConfigAccessResponse",
|
|
892
|
+
});
|
|
893
|
+
export const GetConfigAccessAdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
894
|
+
realm: S.String.pipe(T.Label()),
|
|
895
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/access/ad/{realm}", code: 200 }))).annotate({
|
|
896
|
+
identifier: "GetConfigAccessAdRequest",
|
|
897
|
+
});
|
|
898
|
+
export const GetConfigAccessAdResponseMode = S.String;
|
|
899
|
+
export const GetConfigAccessAdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
900
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
901
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
902
|
+
capath: S.optional(S.String),
|
|
903
|
+
comment: S.optional(S.String),
|
|
904
|
+
default: S.optional(S.Unknown),
|
|
905
|
+
filter: S.optional(S.String),
|
|
906
|
+
mode: S.optional(GetConfigAccessAdResponseMode),
|
|
907
|
+
port: S.optional(S.Number),
|
|
908
|
+
realm: S.String,
|
|
909
|
+
server1: S.String,
|
|
910
|
+
server2: S.optional(S.String),
|
|
911
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
912
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
913
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
914
|
+
verify: S.optional(S.Unknown),
|
|
915
|
+
})).annotate({
|
|
916
|
+
identifier: "GetConfigAccessAdResponse",
|
|
917
|
+
});
|
|
918
|
+
export const GetConfigAccessLdapRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
919
|
+
realm: S.String.pipe(T.Label()),
|
|
920
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/access/ldap/{realm}", code: 200 }))).annotate({
|
|
921
|
+
identifier: "GetConfigAccessLdapRequest",
|
|
922
|
+
});
|
|
923
|
+
export const GetConfigAccessLdapResponseMode = S.String;
|
|
924
|
+
export const GetConfigAccessLdapResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
925
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
926
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
927
|
+
capath: S.optional(S.String),
|
|
928
|
+
comment: S.optional(S.String),
|
|
929
|
+
default: S.optional(S.Unknown),
|
|
930
|
+
filter: S.optional(S.String),
|
|
931
|
+
mode: S.optional(GetConfigAccessLdapResponseMode),
|
|
932
|
+
port: S.optional(S.Number),
|
|
933
|
+
realm: S.String,
|
|
934
|
+
server1: S.String,
|
|
935
|
+
server2: S.optional(S.String),
|
|
936
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
937
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
938
|
+
user_attr: S.optional(S.String.pipe(T.Body("user-attr"))),
|
|
939
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
940
|
+
verify: S.optional(S.Unknown),
|
|
941
|
+
})).annotate({
|
|
942
|
+
identifier: "GetConfigAccessLdapResponse",
|
|
943
|
+
});
|
|
944
|
+
export const GetConfigAccessOpenidRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
945
|
+
realm: S.String.pipe(T.Label()),
|
|
946
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/access/openid/{realm}", code: 200 }))).annotate({
|
|
947
|
+
identifier: "GetConfigAccessOpenidRequest",
|
|
948
|
+
});
|
|
949
|
+
export const GetConfigAccessOpenidResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
950
|
+
acr_values: S.optional(S.String.pipe(T.Body("acr-values"))),
|
|
951
|
+
audiences: S.optional(S.String),
|
|
952
|
+
autocreate: S.optional(S.Unknown),
|
|
953
|
+
client_id: S.optional(S.String.pipe(T.Body("client-id"))),
|
|
954
|
+
client_key: S.optional(S.String.pipe(T.Body("client-key"))),
|
|
955
|
+
comment: S.optional(S.String),
|
|
956
|
+
default: S.optional(S.Unknown),
|
|
957
|
+
issuer_url: S.optional(S.String.pipe(T.Body("issuer-url"))),
|
|
958
|
+
prompt: S.optional(S.String),
|
|
959
|
+
realm: S.String,
|
|
960
|
+
scopes: S.optional(S.String),
|
|
961
|
+
username_claim: S.optional(S.String.pipe(T.Body("username-claim"))),
|
|
962
|
+
})).annotate({
|
|
963
|
+
identifier: "GetConfigAccessOpenidResponse",
|
|
964
|
+
});
|
|
965
|
+
export const GetConfigAccessPamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access/pam", code: 200 }))).annotate({
|
|
966
|
+
identifier: "GetConfigAccessPamRequest",
|
|
967
|
+
});
|
|
968
|
+
export const GetConfigAccessPamResponseType = S.String;
|
|
969
|
+
export const GetConfigAccessPamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
970
|
+
comment: S.optional(S.String),
|
|
971
|
+
default: S.optional(S.Unknown),
|
|
972
|
+
realm: S.String,
|
|
973
|
+
type: GetConfigAccessPamResponseType,
|
|
974
|
+
})).annotate({
|
|
975
|
+
identifier: "GetConfigAccessPamResponse",
|
|
976
|
+
});
|
|
977
|
+
export const GetConfigAccessPbsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access/pbs", code: 200 }))).annotate({
|
|
978
|
+
identifier: "GetConfigAccessPbsRequest",
|
|
979
|
+
});
|
|
980
|
+
export const GetConfigAccessPbsResponseType = S.String;
|
|
981
|
+
export const GetConfigAccessPbsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
982
|
+
comment: S.optional(S.String),
|
|
983
|
+
default: S.optional(S.Unknown),
|
|
984
|
+
realm: S.String,
|
|
985
|
+
type: GetConfigAccessPbsResponseType,
|
|
986
|
+
})).annotate({
|
|
987
|
+
identifier: "GetConfigAccessPbsResponse",
|
|
988
|
+
});
|
|
989
|
+
export const GetConfigAccessTfaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access/tfa", code: 200 }))).annotate({
|
|
990
|
+
identifier: "GetConfigAccessTfaRequest",
|
|
991
|
+
});
|
|
992
|
+
export const GetConfigAccessTfaResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
993
|
+
identifier: "GetConfigAccessTfaResponse",
|
|
994
|
+
});
|
|
995
|
+
export const GetConfigAccessTfaWebauthnRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access/tfa/webauthn", code: 200 }))).annotate({
|
|
996
|
+
identifier: "GetConfigAccessTfaWebauthnRequest",
|
|
997
|
+
});
|
|
998
|
+
export const GetConfigAccessTfaWebauthnResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
999
|
+
allow_subdomains: S.optional(S.Unknown.pipe(T.Body("allow-subdomains"))),
|
|
1000
|
+
id: S.String,
|
|
1001
|
+
origin: S.optional(S.String),
|
|
1002
|
+
rp: S.String,
|
|
1003
|
+
})).annotate({
|
|
1004
|
+
identifier: "GetConfigAccessTfaWebauthnResponse",
|
|
1005
|
+
});
|
|
1006
|
+
export const GetConfigAcmeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/acme", code: 200 }))).annotate({
|
|
1007
|
+
identifier: "GetConfigAcmeRequest",
|
|
1008
|
+
});
|
|
1009
|
+
export const GetConfigAcmeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1010
|
+
identifier: "GetConfigAcmeResponse",
|
|
1011
|
+
});
|
|
1012
|
+
export const GetConfigAcmeAccountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1013
|
+
name: S.String.pipe(T.Label()),
|
|
1014
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/acme/account/{name}", code: 200 }))).annotate({
|
|
1015
|
+
identifier: "GetConfigAcmeAccountRequest",
|
|
1016
|
+
});
|
|
1017
|
+
export const GetConfigAcmeAccountResponseAccountContactList =
|
|
1018
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1019
|
+
export const GetConfigAcmeAccountResponseAccountExternalAccountBinding =
|
|
1020
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1021
|
+
payload: S.String,
|
|
1022
|
+
protected: S.String,
|
|
1023
|
+
signature: S.String,
|
|
1024
|
+
})).annotate({
|
|
1025
|
+
identifier: "GetConfigAcmeAccountResponseAccountExternalAccountBinding",
|
|
1026
|
+
});
|
|
1027
|
+
export const GetConfigAcmeAccountResponseAccountStatus = S.String;
|
|
1028
|
+
export const GetConfigAcmeAccountResponseAccount = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1029
|
+
contact: GetConfigAcmeAccountResponseAccountContactList,
|
|
1030
|
+
externalAccountBinding: S.optional(GetConfigAcmeAccountResponseAccountExternalAccountBinding),
|
|
1031
|
+
onlyReturnExisting: S.Unknown,
|
|
1032
|
+
orders: S.optional(S.String),
|
|
1033
|
+
status: GetConfigAcmeAccountResponseAccountStatus,
|
|
1034
|
+
termsOfServiceAgreed: S.optional(S.Unknown),
|
|
1035
|
+
})).annotate({
|
|
1036
|
+
identifier: "GetConfigAcmeAccountResponseAccount",
|
|
1037
|
+
});
|
|
1038
|
+
export const GetConfigAcmeAccountResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1039
|
+
account: GetConfigAcmeAccountResponseAccount,
|
|
1040
|
+
directory: S.String,
|
|
1041
|
+
location: S.String,
|
|
1042
|
+
tos: S.optional(S.String),
|
|
1043
|
+
})).annotate({
|
|
1044
|
+
identifier: "GetConfigAcmeAccountResponse",
|
|
1045
|
+
});
|
|
1046
|
+
export const GetConfigAcmePluginRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1047
|
+
id: S.String.pipe(T.Label()),
|
|
1048
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/acme/plugins/{id}", code: 200 }))).annotate({
|
|
1049
|
+
identifier: "GetConfigAcmePluginRequest",
|
|
1050
|
+
});
|
|
1051
|
+
export const GetConfigAcmePluginResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1052
|
+
api: S.optional(S.String),
|
|
1053
|
+
data: S.optional(S.String),
|
|
1054
|
+
disable: S.optional(S.Unknown),
|
|
1055
|
+
plugin: S.String,
|
|
1056
|
+
type: S.String,
|
|
1057
|
+
validation_delay: S.optional(S.Number.pipe(T.Body("validation-delay"))),
|
|
1058
|
+
})).annotate({
|
|
1059
|
+
identifier: "GetConfigAcmePluginResponse",
|
|
1060
|
+
});
|
|
1061
|
+
export const GetConfigAcmeTosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1062
|
+
directory: S.optional(S.String.pipe(T.Query())),
|
|
1063
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/acme/tos", code: 200 }))).annotate({
|
|
1064
|
+
identifier: "GetConfigAcmeTosRequest",
|
|
1065
|
+
});
|
|
1066
|
+
export const GetConfigAcmeTosResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
1067
|
+
identifier: "GetConfigAcmeTosResponse",
|
|
1068
|
+
});
|
|
1069
|
+
export const GetConfigChangerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1070
|
+
name: S.String.pipe(T.Label()),
|
|
1071
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/changer/{name}", code: 200 }))).annotate({
|
|
1072
|
+
identifier: "GetConfigChangerRequest",
|
|
1073
|
+
});
|
|
1074
|
+
export const GetConfigChangerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1075
|
+
eject_before_unload: S.optional(S.Unknown.pipe(T.Body("eject-before-unload"))),
|
|
1076
|
+
export_slots: S.optional(S.String.pipe(T.Body("export-slots"))),
|
|
1077
|
+
name: S.String,
|
|
1078
|
+
path: S.String,
|
|
1079
|
+
})).annotate({
|
|
1080
|
+
identifier: "GetConfigChangerResponse",
|
|
1081
|
+
});
|
|
1082
|
+
export const GetConfigDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1083
|
+
name: S.String.pipe(T.Label()),
|
|
1084
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/datastore/{name}", code: 200 }))).annotate({
|
|
1085
|
+
identifier: "GetConfigDatastoreRequest",
|
|
1086
|
+
});
|
|
1087
|
+
export const GetConfigDatastoreResponseNotificationMode = S.String;
|
|
1088
|
+
export const GetConfigDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1089
|
+
backend: S.optional(S.String),
|
|
1090
|
+
backing_device: S.optional(S.String.pipe(T.Body("backing-device"))),
|
|
1091
|
+
comment: S.optional(S.String),
|
|
1092
|
+
counter_reset_schedule: S.optional(S.String.pipe(T.Body("counter-reset-schedule"))),
|
|
1093
|
+
gc_on_unmount: S.optional(S.Unknown.pipe(T.Body("gc-on-unmount"))),
|
|
1094
|
+
gc_schedule: S.optional(S.String.pipe(T.Body("gc-schedule"))),
|
|
1095
|
+
keep_daily: S.optional(S.Number.pipe(T.Body("keep-daily"))),
|
|
1096
|
+
keep_hourly: S.optional(S.Number.pipe(T.Body("keep-hourly"))),
|
|
1097
|
+
keep_last: S.optional(S.Number.pipe(T.Body("keep-last"))),
|
|
1098
|
+
keep_monthly: S.optional(S.Number.pipe(T.Body("keep-monthly"))),
|
|
1099
|
+
keep_weekly: S.optional(S.Number.pipe(T.Body("keep-weekly"))),
|
|
1100
|
+
keep_yearly: S.optional(S.Number.pipe(T.Body("keep-yearly"))),
|
|
1101
|
+
maintenance_mode: S.optional(S.String.pipe(T.Body("maintenance-mode"))),
|
|
1102
|
+
name: S.String,
|
|
1103
|
+
notification_mode: S.optional(GetConfigDatastoreResponseNotificationMode.pipe(T.Body("notification-mode"))),
|
|
1104
|
+
notification_thresholds: S.optional(S.String.pipe(T.Body("notification-thresholds"))),
|
|
1105
|
+
notify: S.optional(S.String),
|
|
1106
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
1107
|
+
path: S.String,
|
|
1108
|
+
prune_schedule: S.optional(S.String.pipe(T.Body("prune-schedule"))),
|
|
1109
|
+
tuning: S.optional(S.String),
|
|
1110
|
+
verify_new: S.optional(S.Unknown.pipe(T.Body("verify-new"))),
|
|
1111
|
+
})).annotate({
|
|
1112
|
+
identifier: "GetConfigDatastoreResponse",
|
|
1113
|
+
});
|
|
1114
|
+
export const GetConfigDriveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1115
|
+
name: S.String.pipe(T.Label()),
|
|
1116
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/drive/{name}", code: 200 }))).annotate({
|
|
1117
|
+
identifier: "GetConfigDriveRequest",
|
|
1118
|
+
});
|
|
1119
|
+
export const GetConfigDriveResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1120
|
+
changer: S.optional(S.String),
|
|
1121
|
+
changer_drivenum: S.optional(S.Number.pipe(T.Body("changer-drivenum"))),
|
|
1122
|
+
name: S.String,
|
|
1123
|
+
path: S.String,
|
|
1124
|
+
})).annotate({
|
|
1125
|
+
identifier: "GetConfigDriveResponse",
|
|
1126
|
+
});
|
|
1127
|
+
export const GetConfigMediaPoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1128
|
+
name: S.String.pipe(T.Label()),
|
|
1129
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/media-pool/{name}", code: 200 }))).annotate({
|
|
1130
|
+
identifier: "GetConfigMediaPoolRequest",
|
|
1131
|
+
});
|
|
1132
|
+
export const GetConfigMediaPoolResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1133
|
+
allocation: S.optional(S.String),
|
|
1134
|
+
comment: S.optional(S.String),
|
|
1135
|
+
encrypt: S.optional(S.String),
|
|
1136
|
+
name: S.String,
|
|
1137
|
+
retention: S.optional(S.String),
|
|
1138
|
+
template: S.optional(S.String),
|
|
1139
|
+
})).annotate({
|
|
1140
|
+
identifier: "GetConfigMediaPoolResponse",
|
|
1141
|
+
});
|
|
1142
|
+
export const GetConfigMetricsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/metrics", code: 200 }))).annotate({
|
|
1143
|
+
identifier: "GetConfigMetricsRequest",
|
|
1144
|
+
});
|
|
1145
|
+
export const GetConfigMetricsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1146
|
+
identifier: "GetConfigMetricsResponse",
|
|
1147
|
+
});
|
|
1148
|
+
export const GetConfigMetricsInfluxdbHttpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1149
|
+
name: S.String.pipe(T.Label()),
|
|
1150
|
+
}).pipe(T.Http({
|
|
1151
|
+
method: "GET",
|
|
1152
|
+
uri: "/config/metrics/influxdb-http/{name}",
|
|
1153
|
+
code: 200,
|
|
1154
|
+
}))).annotate({
|
|
1155
|
+
identifier: "GetConfigMetricsInfluxdbHttpRequest",
|
|
1156
|
+
});
|
|
1157
|
+
export const GetConfigMetricsInfluxdbHttpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1158
|
+
bucket: S.optional(S.String),
|
|
1159
|
+
comment: S.optional(S.String),
|
|
1160
|
+
enable: S.optional(S.Unknown),
|
|
1161
|
+
max_body_size: S.optional(S.Number.pipe(T.Body("max-body-size"))),
|
|
1162
|
+
name: S.String,
|
|
1163
|
+
organization: S.optional(S.String),
|
|
1164
|
+
token: S.optional(S.String),
|
|
1165
|
+
url: S.String,
|
|
1166
|
+
verify_tls: S.optional(S.Unknown.pipe(T.Body("verify-tls"))),
|
|
1167
|
+
})).annotate({
|
|
1168
|
+
identifier: "GetConfigMetricsInfluxdbHttpResponse",
|
|
1169
|
+
});
|
|
1170
|
+
export const GetConfigMetricsInfluxdbUdpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1171
|
+
name: S.String.pipe(T.Label()),
|
|
1172
|
+
}).pipe(T.Http({
|
|
1173
|
+
method: "GET",
|
|
1174
|
+
uri: "/config/metrics/influxdb-udp/{name}",
|
|
1175
|
+
code: 200,
|
|
1176
|
+
}))).annotate({
|
|
1177
|
+
identifier: "GetConfigMetricsInfluxdbUdpRequest",
|
|
1178
|
+
});
|
|
1179
|
+
export const GetConfigMetricsInfluxdbUdpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1180
|
+
comment: S.optional(S.String),
|
|
1181
|
+
enable: S.optional(S.Unknown),
|
|
1182
|
+
host: S.String,
|
|
1183
|
+
mtu: S.optional(S.Number),
|
|
1184
|
+
name: S.String,
|
|
1185
|
+
})).annotate({
|
|
1186
|
+
identifier: "GetConfigMetricsInfluxdbUdpResponse",
|
|
1187
|
+
});
|
|
1188
|
+
export const GetConfigNotificationEndpointGotifyRequest =
|
|
1189
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1190
|
+
name: S.String.pipe(T.Label()),
|
|
1191
|
+
}).pipe(T.Http({
|
|
1192
|
+
method: "GET",
|
|
1193
|
+
uri: "/config/notifications/endpoints/gotify/{name}",
|
|
1194
|
+
code: 200,
|
|
1195
|
+
}))).annotate({
|
|
1196
|
+
identifier: "GetConfigNotificationEndpointGotifyRequest",
|
|
1197
|
+
});
|
|
1198
|
+
export const GetConfigNotificationEndpointGotifyResponseOrigin = S.String;
|
|
1199
|
+
export const GetConfigNotificationEndpointGotifyResponse =
|
|
1200
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1201
|
+
comment: S.optional(S.String),
|
|
1202
|
+
disable: S.optional(S.Unknown),
|
|
1203
|
+
filter: S.optional(S.String),
|
|
1204
|
+
name: S.String,
|
|
1205
|
+
origin: S.optional(GetConfigNotificationEndpointGotifyResponseOrigin),
|
|
1206
|
+
server: S.String,
|
|
1207
|
+
})).annotate({
|
|
1208
|
+
identifier: "GetConfigNotificationEndpointGotifyResponse",
|
|
1209
|
+
});
|
|
1210
|
+
export const GetConfigNotificationEndpointsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1211
|
+
method: "GET",
|
|
1212
|
+
uri: "/config/notifications/endpoints",
|
|
1213
|
+
code: 200,
|
|
1214
|
+
}))).annotate({
|
|
1215
|
+
identifier: "GetConfigNotificationEndpointsRequest",
|
|
1216
|
+
});
|
|
1217
|
+
export const GetConfigNotificationEndpointsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1218
|
+
identifier: "GetConfigNotificationEndpointsResponse",
|
|
1219
|
+
});
|
|
1220
|
+
export const GetConfigNotificationEndpointSendmailRequest =
|
|
1221
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1222
|
+
name: S.String.pipe(T.Label()),
|
|
1223
|
+
}).pipe(T.Http({
|
|
1224
|
+
method: "GET",
|
|
1225
|
+
uri: "/config/notifications/endpoints/sendmail/{name}",
|
|
1226
|
+
code: 200,
|
|
1227
|
+
}))).annotate({
|
|
1228
|
+
identifier: "GetConfigNotificationEndpointSendmailRequest",
|
|
1229
|
+
});
|
|
1230
|
+
export const GetConfigNotificationEndpointSendmailResponseMailtoList =
|
|
1231
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1232
|
+
export const GetConfigNotificationEndpointSendmailResponseMailtoUserList =
|
|
1233
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1234
|
+
export const GetConfigNotificationEndpointSendmailResponseOrigin = S.String;
|
|
1235
|
+
export const GetConfigNotificationEndpointSendmailResponse =
|
|
1236
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1237
|
+
author: S.optional(S.String),
|
|
1238
|
+
comment: S.optional(S.String),
|
|
1239
|
+
disable: S.optional(S.Unknown),
|
|
1240
|
+
filter: S.optional(S.String),
|
|
1241
|
+
from_address: S.optional(S.String.pipe(T.Body("from-address"))),
|
|
1242
|
+
mailto: S.optional(GetConfigNotificationEndpointSendmailResponseMailtoList),
|
|
1243
|
+
mailto_user: S.optional(GetConfigNotificationEndpointSendmailResponseMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
1244
|
+
name: S.String,
|
|
1245
|
+
origin: S.optional(GetConfigNotificationEndpointSendmailResponseOrigin),
|
|
1246
|
+
})).annotate({
|
|
1247
|
+
identifier: "GetConfigNotificationEndpointSendmailResponse",
|
|
1248
|
+
});
|
|
1249
|
+
export const GetConfigNotificationEndpointSmtpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1250
|
+
name: S.String.pipe(T.Label()),
|
|
1251
|
+
}).pipe(T.Http({
|
|
1252
|
+
method: "GET",
|
|
1253
|
+
uri: "/config/notifications/endpoints/smtp/{name}",
|
|
1254
|
+
code: 200,
|
|
1255
|
+
}))).annotate({
|
|
1256
|
+
identifier: "GetConfigNotificationEndpointSmtpRequest",
|
|
1257
|
+
});
|
|
1258
|
+
export const GetConfigNotificationEndpointSmtpResponseMailtoList =
|
|
1259
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1260
|
+
export const GetConfigNotificationEndpointSmtpResponseMailtoUserList =
|
|
1261
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1262
|
+
export const GetConfigNotificationEndpointSmtpResponseMode = S.String;
|
|
1263
|
+
export const GetConfigNotificationEndpointSmtpResponseOrigin = S.String;
|
|
1264
|
+
export const GetConfigNotificationEndpointSmtpResponse =
|
|
1265
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1266
|
+
author: S.optional(S.String),
|
|
1267
|
+
comment: S.optional(S.String),
|
|
1268
|
+
disable: S.optional(S.Unknown),
|
|
1269
|
+
from_address: S.optional(S.String.pipe(T.Body("from-address"))),
|
|
1270
|
+
mailto: S.optional(GetConfigNotificationEndpointSmtpResponseMailtoList),
|
|
1271
|
+
mailto_user: S.optional(GetConfigNotificationEndpointSmtpResponseMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
1272
|
+
mode: S.optional(GetConfigNotificationEndpointSmtpResponseMode),
|
|
1273
|
+
name: S.String,
|
|
1274
|
+
origin: S.optional(GetConfigNotificationEndpointSmtpResponseOrigin),
|
|
1275
|
+
port: S.optional(S.Number),
|
|
1276
|
+
server: S.String,
|
|
1277
|
+
username: S.optional(S.String),
|
|
1278
|
+
})).annotate({
|
|
1279
|
+
identifier: "GetConfigNotificationEndpointSmtpResponse",
|
|
1280
|
+
});
|
|
1281
|
+
export const GetConfigNotificationEndpointWebhookRequest =
|
|
1282
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1283
|
+
name: S.String.pipe(T.Label()),
|
|
1284
|
+
}).pipe(T.Http({
|
|
1285
|
+
method: "GET",
|
|
1286
|
+
uri: "/config/notifications/endpoints/webhook/{name}",
|
|
1287
|
+
code: 200,
|
|
1288
|
+
}))).annotate({
|
|
1289
|
+
identifier: "GetConfigNotificationEndpointWebhookRequest",
|
|
1290
|
+
});
|
|
1291
|
+
export const GetConfigNotificationEndpointWebhookResponseHeaderList =
|
|
1292
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1293
|
+
export const GetConfigNotificationEndpointWebhookResponseMethod = S.String;
|
|
1294
|
+
export const GetConfigNotificationEndpointWebhookResponseOrigin = S.String;
|
|
1295
|
+
export const GetConfigNotificationEndpointWebhookResponseSecretList =
|
|
1296
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1297
|
+
export const GetConfigNotificationEndpointWebhookResponse =
|
|
1298
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1299
|
+
body: S.optional(S.String),
|
|
1300
|
+
comment: S.optional(S.String),
|
|
1301
|
+
disable: S.optional(S.Unknown),
|
|
1302
|
+
header: S.optional(GetConfigNotificationEndpointWebhookResponseHeaderList),
|
|
1303
|
+
method: GetConfigNotificationEndpointWebhookResponseMethod,
|
|
1304
|
+
name: S.String,
|
|
1305
|
+
origin: S.optional(GetConfigNotificationEndpointWebhookResponseOrigin),
|
|
1306
|
+
secret: S.optional(GetConfigNotificationEndpointWebhookResponseSecretList),
|
|
1307
|
+
url: S.String,
|
|
1308
|
+
})).annotate({
|
|
1309
|
+
identifier: "GetConfigNotificationEndpointWebhookResponse",
|
|
1310
|
+
});
|
|
1311
|
+
export const GetConfigNotificationMatcherRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1312
|
+
name: S.String.pipe(T.Label()),
|
|
1313
|
+
}).pipe(T.Http({
|
|
1314
|
+
method: "GET",
|
|
1315
|
+
uri: "/config/notifications/matchers/{name}",
|
|
1316
|
+
code: 200,
|
|
1317
|
+
}))).annotate({
|
|
1318
|
+
identifier: "GetConfigNotificationMatcherRequest",
|
|
1319
|
+
});
|
|
1320
|
+
export const GetConfigNotificationMatcherResponseMatchCalendarList =
|
|
1321
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1322
|
+
export const GetConfigNotificationMatcherResponseMatchFieldList =
|
|
1323
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1324
|
+
export const GetConfigNotificationMatcherResponseMatchSeverityList =
|
|
1325
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1326
|
+
export const GetConfigNotificationMatcherResponseMode = S.String;
|
|
1327
|
+
export const GetConfigNotificationMatcherResponseOrigin = S.String;
|
|
1328
|
+
export const GetConfigNotificationMatcherResponseTargetList =
|
|
1329
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1330
|
+
export const GetConfigNotificationMatcherResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1331
|
+
comment: S.optional(S.String),
|
|
1332
|
+
disable: S.optional(S.Unknown),
|
|
1333
|
+
invert_match: S.optional(S.Unknown.pipe(T.Body("invert-match"))),
|
|
1334
|
+
match_calendar: S.optional(GetConfigNotificationMatcherResponseMatchCalendarList.pipe(T.Body("match-calendar"))),
|
|
1335
|
+
match_field: S.optional(GetConfigNotificationMatcherResponseMatchFieldList.pipe(T.Body("match-field"))),
|
|
1336
|
+
match_severity: S.optional(GetConfigNotificationMatcherResponseMatchSeverityList.pipe(T.Body("match-severity"))),
|
|
1337
|
+
mode: S.optional(GetConfigNotificationMatcherResponseMode),
|
|
1338
|
+
name: S.String,
|
|
1339
|
+
origin: S.optional(GetConfigNotificationMatcherResponseOrigin),
|
|
1340
|
+
target: S.optional(GetConfigNotificationMatcherResponseTargetList),
|
|
1341
|
+
})).annotate({
|
|
1342
|
+
identifier: "GetConfigNotificationMatcherResponse",
|
|
1343
|
+
});
|
|
1344
|
+
export const GetConfigNotificationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/notifications", code: 200 }))).annotate({
|
|
1345
|
+
identifier: "GetConfigNotificationsRequest",
|
|
1346
|
+
});
|
|
1347
|
+
export const GetConfigNotificationsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1348
|
+
identifier: "GetConfigNotificationsResponse",
|
|
1349
|
+
});
|
|
1350
|
+
export const GetConfigNotificationTargetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1351
|
+
name: S.String.pipe(T.Label()),
|
|
1352
|
+
}).pipe(T.Http({
|
|
1353
|
+
method: "GET",
|
|
1354
|
+
uri: "/config/notifications/targets/{name}",
|
|
1355
|
+
code: 200,
|
|
1356
|
+
}))).annotate({
|
|
1357
|
+
identifier: "GetConfigNotificationTargetRequest",
|
|
1358
|
+
});
|
|
1359
|
+
export const GetConfigNotificationTargetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1360
|
+
identifier: "GetConfigNotificationTargetResponse",
|
|
1361
|
+
});
|
|
1362
|
+
export const GetConfigPruneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1363
|
+
id: S.String.pipe(T.Label()),
|
|
1364
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/prune/{id}", code: 200 }))).annotate({
|
|
1365
|
+
identifier: "GetConfigPruneRequest",
|
|
1366
|
+
});
|
|
1367
|
+
export const GetConfigPruneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1368
|
+
comment: S.optional(S.String),
|
|
1369
|
+
disable: S.optional(S.Unknown),
|
|
1370
|
+
id: S.String,
|
|
1371
|
+
keep_daily: S.optional(S.Number.pipe(T.Body("keep-daily"))),
|
|
1372
|
+
keep_hourly: S.optional(S.Number.pipe(T.Body("keep-hourly"))),
|
|
1373
|
+
keep_last: S.optional(S.Number.pipe(T.Body("keep-last"))),
|
|
1374
|
+
keep_monthly: S.optional(S.Number.pipe(T.Body("keep-monthly"))),
|
|
1375
|
+
keep_weekly: S.optional(S.Number.pipe(T.Body("keep-weekly"))),
|
|
1376
|
+
keep_yearly: S.optional(S.Number.pipe(T.Body("keep-yearly"))),
|
|
1377
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
1378
|
+
ns: S.optional(S.String),
|
|
1379
|
+
schedule: S.String,
|
|
1380
|
+
store: S.String,
|
|
1381
|
+
})).annotate({
|
|
1382
|
+
identifier: "GetConfigPruneResponse",
|
|
1383
|
+
});
|
|
1384
|
+
export const GetConfigRemoteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1385
|
+
name: S.String.pipe(T.Label()),
|
|
1386
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/remote/{name}", code: 200 }))).annotate({
|
|
1387
|
+
identifier: "GetConfigRemoteRequest",
|
|
1388
|
+
});
|
|
1389
|
+
export const GetConfigRemoteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1390
|
+
auth_id: S.optional(S.String.pipe(T.Body("auth-id"))),
|
|
1391
|
+
comment: S.optional(S.String),
|
|
1392
|
+
fingerprint: S.optional(S.String),
|
|
1393
|
+
host: S.String,
|
|
1394
|
+
name: S.String,
|
|
1395
|
+
port: S.optional(S.Number),
|
|
1396
|
+
use_node_proxy: S.optional(S.Unknown.pipe(T.Body("use-node-proxy"))),
|
|
1397
|
+
})).annotate({
|
|
1398
|
+
identifier: "GetConfigRemoteResponse",
|
|
1399
|
+
});
|
|
1400
|
+
export const GetConfigRemoteScanRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1401
|
+
name: S.String.pipe(T.Label()),
|
|
1402
|
+
store: S.String.pipe(T.Label()),
|
|
1403
|
+
}).pipe(T.Http({
|
|
1404
|
+
method: "GET",
|
|
1405
|
+
uri: "/config/remote/{name}/scan/{store}",
|
|
1406
|
+
code: 200,
|
|
1407
|
+
}))).annotate({
|
|
1408
|
+
identifier: "GetConfigRemoteScanRequest",
|
|
1409
|
+
});
|
|
1410
|
+
export const GetConfigRemoteScanResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1411
|
+
identifier: "GetConfigRemoteScanResponse",
|
|
1412
|
+
});
|
|
1413
|
+
export const GetConfigS3Request = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1414
|
+
id: S.String.pipe(T.Label()),
|
|
1415
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/s3/{id}", code: 200 }))).annotate({
|
|
1416
|
+
identifier: "GetConfigS3Request",
|
|
1417
|
+
});
|
|
1418
|
+
export const GetConfigS3ResponseProviderQuirksItem = S.String;
|
|
1419
|
+
export const GetConfigS3ResponseProviderQuirksList = /*@__PURE__*/ S.Array(GetConfigS3ResponseProviderQuirksItem);
|
|
1420
|
+
export const GetConfigS3Response = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1421
|
+
access_key: S.optional(S.String.pipe(T.Body("access-key"))),
|
|
1422
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
1423
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
1424
|
+
endpoint: S.String,
|
|
1425
|
+
fingerprint: S.optional(S.String),
|
|
1426
|
+
id: S.String,
|
|
1427
|
+
path_style: S.optional(S.Unknown.pipe(T.Body("path-style"))),
|
|
1428
|
+
port: S.optional(S.Number),
|
|
1429
|
+
provider_quirks: S.optional(GetConfigS3ResponseProviderQuirksList.pipe(T.Body("provider-quirks"))),
|
|
1430
|
+
put_rate_limit: S.optional(S.Number.pipe(T.Body("put-rate-limit"))),
|
|
1431
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
1432
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
1433
|
+
region: S.optional(S.String),
|
|
1434
|
+
})).annotate({
|
|
1435
|
+
identifier: "GetConfigS3Response",
|
|
1436
|
+
});
|
|
1437
|
+
export const GetConfigS3ListBucketsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1438
|
+
id: S.String.pipe(T.Label()),
|
|
1439
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/s3/{id}/list-buckets", code: 200 }))).annotate({
|
|
1440
|
+
identifier: "GetConfigS3ListBucketsRequest",
|
|
1441
|
+
});
|
|
1442
|
+
export const GetConfigS3ListBucketsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1443
|
+
identifier: "GetConfigS3ListBucketsResponse",
|
|
1444
|
+
});
|
|
1445
|
+
export const GetConfigSyncRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1446
|
+
id: S.String.pipe(T.Label()),
|
|
1447
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/sync/{id}", code: 200 }))).annotate({
|
|
1448
|
+
identifier: "GetConfigSyncRequest",
|
|
1449
|
+
});
|
|
1450
|
+
export const GetConfigSyncResponseAssociatedKeyList = /*@__PURE__*/ S.Array(S.String);
|
|
1451
|
+
export const GetConfigSyncResponseGroupFilterList = /*@__PURE__*/ S.Array(S.String);
|
|
1452
|
+
export const GetConfigSyncResponseSyncDirection = S.String;
|
|
1453
|
+
export const GetConfigSyncResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1454
|
+
active_encryption_key: S.optional(S.String.pipe(T.Body("active-encryption-key"))),
|
|
1455
|
+
associated_key: S.optional(GetConfigSyncResponseAssociatedKeyList.pipe(T.Body("associated-key"))),
|
|
1456
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
1457
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
1458
|
+
comment: S.optional(S.String),
|
|
1459
|
+
encrypted_only: S.optional(S.Unknown.pipe(T.Body("encrypted-only"))),
|
|
1460
|
+
group_filter: S.optional(GetConfigSyncResponseGroupFilterList.pipe(T.Body("group-filter"))),
|
|
1461
|
+
id: S.String,
|
|
1462
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
1463
|
+
ns: S.optional(S.String),
|
|
1464
|
+
owner: S.optional(S.String),
|
|
1465
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
1466
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
1467
|
+
remote: S.optional(S.String),
|
|
1468
|
+
remote_ns: S.optional(S.String.pipe(T.Body("remote-ns"))),
|
|
1469
|
+
remote_store: S.optional(S.String.pipe(T.Body("remote-store"))),
|
|
1470
|
+
remove_vanished: S.optional(S.Unknown.pipe(T.Body("remove-vanished"))),
|
|
1471
|
+
resync_corrupt: S.optional(S.Unknown.pipe(T.Body("resync-corrupt"))),
|
|
1472
|
+
run_on_mount: S.optional(S.Unknown.pipe(T.Body("run-on-mount"))),
|
|
1473
|
+
schedule: S.optional(S.String),
|
|
1474
|
+
store: S.String,
|
|
1475
|
+
sync_direction: S.optional(GetConfigSyncResponseSyncDirection.pipe(T.Body("sync-direction"))),
|
|
1476
|
+
transfer_last: S.optional(S.Number.pipe(T.Body("transfer-last"))),
|
|
1477
|
+
unmount_on_done: S.optional(S.Unknown.pipe(T.Body("unmount-on-done"))),
|
|
1478
|
+
verified_only: S.optional(S.Unknown.pipe(T.Body("verified-only"))),
|
|
1479
|
+
worker_threads: S.optional(S.Number.pipe(T.Body("worker-threads"))),
|
|
1480
|
+
})).annotate({
|
|
1481
|
+
identifier: "GetConfigSyncResponse",
|
|
1482
|
+
});
|
|
1483
|
+
export const GetConfigTapeBackupJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1484
|
+
id: S.String.pipe(T.Label()),
|
|
1485
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/tape-backup-job/{id}", code: 200 }))).annotate({
|
|
1486
|
+
identifier: "GetConfigTapeBackupJobRequest",
|
|
1487
|
+
});
|
|
1488
|
+
export const GetConfigTapeBackupJobResponseGroupFilterList =
|
|
1489
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1490
|
+
export const GetConfigTapeBackupJobResponseNotificationMode = S.String;
|
|
1491
|
+
export const GetConfigTapeBackupJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1492
|
+
comment: S.optional(S.String),
|
|
1493
|
+
drive: S.String,
|
|
1494
|
+
eject_media: S.optional(S.Unknown.pipe(T.Body("eject-media"))),
|
|
1495
|
+
export_media_set: S.optional(S.Unknown.pipe(T.Body("export-media-set"))),
|
|
1496
|
+
group_filter: S.optional(GetConfigTapeBackupJobResponseGroupFilterList.pipe(T.Body("group-filter"))),
|
|
1497
|
+
id: S.String,
|
|
1498
|
+
latest_only: S.optional(S.Unknown.pipe(T.Body("latest-only"))),
|
|
1499
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
1500
|
+
notification_mode: S.optional(GetConfigTapeBackupJobResponseNotificationMode.pipe(T.Body("notification-mode"))),
|
|
1501
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
1502
|
+
ns: S.optional(S.String),
|
|
1503
|
+
pool: S.String,
|
|
1504
|
+
schedule: S.optional(S.String),
|
|
1505
|
+
store: S.String,
|
|
1506
|
+
worker_threads: S.optional(S.Number.pipe(T.Body("worker-threads"))),
|
|
1507
|
+
})).annotate({
|
|
1508
|
+
identifier: "GetConfigTapeBackupJobResponse",
|
|
1509
|
+
});
|
|
1510
|
+
export const GetConfigTapeEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1511
|
+
fingerprint: S.String.pipe(T.Label()),
|
|
1512
|
+
}).pipe(T.Http({
|
|
1513
|
+
method: "GET",
|
|
1514
|
+
uri: "/config/tape-encryption-keys/{fingerprint}",
|
|
1515
|
+
code: 200,
|
|
1516
|
+
}))).annotate({
|
|
1517
|
+
identifier: "GetConfigTapeEncryptionKeyRequest",
|
|
1518
|
+
});
|
|
1519
|
+
export const GetConfigTapeEncryptionKeyResponseKdf = S.String;
|
|
1520
|
+
export const GetConfigTapeEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1521
|
+
created: S.Number,
|
|
1522
|
+
fingerprint: S.optional(S.String),
|
|
1523
|
+
hint: S.optional(S.String),
|
|
1524
|
+
kdf: GetConfigTapeEncryptionKeyResponseKdf,
|
|
1525
|
+
modified: S.Number,
|
|
1526
|
+
path: S.optional(S.String),
|
|
1527
|
+
})).annotate({
|
|
1528
|
+
identifier: "GetConfigTapeEncryptionKeyResponse",
|
|
1529
|
+
});
|
|
1530
|
+
export const GetConfigTrafficControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1531
|
+
name: S.String.pipe(T.Label()),
|
|
1532
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/traffic-control/{name}", code: 200 }))).annotate({
|
|
1533
|
+
identifier: "GetConfigTrafficControlRequest",
|
|
1534
|
+
});
|
|
1535
|
+
export const GetConfigTrafficControlResponseNetworkList = /*@__PURE__*/ S.Array(S.String);
|
|
1536
|
+
export const GetConfigTrafficControlResponseTimeframeList =
|
|
1537
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1538
|
+
export const GetConfigTrafficControlResponseUsersList = /*@__PURE__*/ S.Array(S.String);
|
|
1539
|
+
export const GetConfigTrafficControlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1540
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
1541
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
1542
|
+
comment: S.optional(S.String),
|
|
1543
|
+
name: S.String,
|
|
1544
|
+
network: GetConfigTrafficControlResponseNetworkList,
|
|
1545
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
1546
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
1547
|
+
timeframe: S.optional(GetConfigTrafficControlResponseTimeframeList),
|
|
1548
|
+
users: S.optional(GetConfigTrafficControlResponseUsersList),
|
|
1549
|
+
})).annotate({
|
|
1550
|
+
identifier: "GetConfigTrafficControlResponse",
|
|
1551
|
+
});
|
|
1552
|
+
export const GetConfigVerifyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1553
|
+
id: S.String.pipe(T.Label()),
|
|
1554
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/verify/{id}", code: 200 }))).annotate({
|
|
1555
|
+
identifier: "GetConfigVerifyRequest",
|
|
1556
|
+
});
|
|
1557
|
+
export const GetConfigVerifyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1558
|
+
comment: S.optional(S.String),
|
|
1559
|
+
id: S.String,
|
|
1560
|
+
ignore_verified: S.optional(S.Unknown.pipe(T.Body("ignore-verified"))),
|
|
1561
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
1562
|
+
ns: S.optional(S.String),
|
|
1563
|
+
outdated_after: S.optional(S.Number.pipe(T.Body("outdated-after"))),
|
|
1564
|
+
read_threads: S.optional(S.Number.pipe(T.Body("read-threads"))),
|
|
1565
|
+
schedule: S.optional(S.String),
|
|
1566
|
+
store: S.String,
|
|
1567
|
+
verify_threads: S.optional(S.Number.pipe(T.Body("verify-threads"))),
|
|
1568
|
+
})).annotate({
|
|
1569
|
+
identifier: "GetConfigVerifyResponse",
|
|
1570
|
+
});
|
|
1571
|
+
export const ListConfigAccessAdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access/ad", code: 200 }))).annotate({
|
|
1572
|
+
identifier: "ListConfigAccessAdRequest",
|
|
1573
|
+
});
|
|
1574
|
+
export const ListConfigAccessAdResponseBodyItemMode = S.String;
|
|
1575
|
+
export const ListConfigAccessAdResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1576
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
1577
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
1578
|
+
capath: S.optional(S.String),
|
|
1579
|
+
comment: S.optional(S.String),
|
|
1580
|
+
default: S.optional(S.Unknown),
|
|
1581
|
+
filter: S.optional(S.String),
|
|
1582
|
+
mode: S.optional(ListConfigAccessAdResponseBodyItemMode),
|
|
1583
|
+
port: S.optional(S.Number),
|
|
1584
|
+
realm: S.String,
|
|
1585
|
+
server1: S.String,
|
|
1586
|
+
server2: S.optional(S.String),
|
|
1587
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
1588
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
1589
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
1590
|
+
verify: S.optional(S.Unknown),
|
|
1591
|
+
})).annotate({
|
|
1592
|
+
identifier: "ListConfigAccessAdResponseBodyItem",
|
|
1593
|
+
});
|
|
1594
|
+
export const ListConfigAccessAdResponseBodyList = /*@__PURE__*/ S.Array(ListConfigAccessAdResponseBodyItem);
|
|
1595
|
+
export const ListConfigAccessAdResponse = /*@__PURE__*/ S.suspend(() => ListConfigAccessAdResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1596
|
+
identifier: "ListConfigAccessAdResponse",
|
|
1597
|
+
});
|
|
1598
|
+
export const ListConfigAccessLdapRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access/ldap", code: 200 }))).annotate({
|
|
1599
|
+
identifier: "ListConfigAccessLdapRequest",
|
|
1600
|
+
});
|
|
1601
|
+
export const ListConfigAccessLdapResponseBodyItemMode = S.String;
|
|
1602
|
+
export const ListConfigAccessLdapResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1603
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
1604
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
1605
|
+
capath: S.optional(S.String),
|
|
1606
|
+
comment: S.optional(S.String),
|
|
1607
|
+
default: S.optional(S.Unknown),
|
|
1608
|
+
filter: S.optional(S.String),
|
|
1609
|
+
mode: S.optional(ListConfigAccessLdapResponseBodyItemMode),
|
|
1610
|
+
port: S.optional(S.Number),
|
|
1611
|
+
realm: S.String,
|
|
1612
|
+
server1: S.String,
|
|
1613
|
+
server2: S.optional(S.String),
|
|
1614
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
1615
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
1616
|
+
user_attr: S.optional(S.String.pipe(T.Body("user-attr"))),
|
|
1617
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
1618
|
+
verify: S.optional(S.Unknown),
|
|
1619
|
+
})).annotate({
|
|
1620
|
+
identifier: "ListConfigAccessLdapResponseBodyItem",
|
|
1621
|
+
});
|
|
1622
|
+
export const ListConfigAccessLdapResponseBodyList = /*@__PURE__*/ S.Array(ListConfigAccessLdapResponseBodyItem);
|
|
1623
|
+
export const ListConfigAccessLdapResponse = /*@__PURE__*/ S.suspend(() => ListConfigAccessLdapResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1624
|
+
identifier: "ListConfigAccessLdapResponse",
|
|
1625
|
+
});
|
|
1626
|
+
export const ListConfigAccessOpenidRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/access/openid", code: 200 }))).annotate({
|
|
1627
|
+
identifier: "ListConfigAccessOpenidRequest",
|
|
1628
|
+
});
|
|
1629
|
+
export const ListConfigAccessOpenidResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1630
|
+
acr_values: S.optional(S.String.pipe(T.Body("acr-values"))),
|
|
1631
|
+
audiences: S.optional(S.String),
|
|
1632
|
+
autocreate: S.optional(S.Unknown),
|
|
1633
|
+
client_id: S.optional(S.String.pipe(T.Body("client-id"))),
|
|
1634
|
+
client_key: S.optional(S.String.pipe(T.Body("client-key"))),
|
|
1635
|
+
comment: S.optional(S.String),
|
|
1636
|
+
default: S.optional(S.Unknown),
|
|
1637
|
+
issuer_url: S.optional(S.String.pipe(T.Body("issuer-url"))),
|
|
1638
|
+
prompt: S.optional(S.String),
|
|
1639
|
+
realm: S.String,
|
|
1640
|
+
scopes: S.optional(S.String),
|
|
1641
|
+
username_claim: S.optional(S.String.pipe(T.Body("username-claim"))),
|
|
1642
|
+
})).annotate({
|
|
1643
|
+
identifier: "ListConfigAccessOpenidResponseBodyItem",
|
|
1644
|
+
});
|
|
1645
|
+
export const ListConfigAccessOpenidResponseBodyList = /*@__PURE__*/ S.Array(ListConfigAccessOpenidResponseBodyItem);
|
|
1646
|
+
export const ListConfigAccessOpenidResponse = /*@__PURE__*/ S.suspend(() => ListConfigAccessOpenidResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1647
|
+
identifier: "ListConfigAccessOpenidResponse",
|
|
1648
|
+
});
|
|
1649
|
+
export const ListConfigAcmeAccountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/acme/account", code: 200 }))).annotate({
|
|
1650
|
+
identifier: "ListConfigAcmeAccountRequest",
|
|
1651
|
+
});
|
|
1652
|
+
export const ListConfigAcmeAccountResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1653
|
+
name: S.String,
|
|
1654
|
+
})).annotate({
|
|
1655
|
+
identifier: "ListConfigAcmeAccountResponseBodyItem",
|
|
1656
|
+
});
|
|
1657
|
+
export const ListConfigAcmeAccountResponseBodyList = /*@__PURE__*/ S.Array(ListConfigAcmeAccountResponseBodyItem);
|
|
1658
|
+
export const ListConfigAcmeAccountResponse = /*@__PURE__*/ S.suspend(() => ListConfigAcmeAccountResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1659
|
+
identifier: "ListConfigAcmeAccountResponse",
|
|
1660
|
+
});
|
|
1661
|
+
export const ListConfigAcmeChallengeSchemaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1662
|
+
method: "GET",
|
|
1663
|
+
uri: "/config/acme/challenge-schema",
|
|
1664
|
+
code: 200,
|
|
1665
|
+
}))).annotate({
|
|
1666
|
+
identifier: "ListConfigAcmeChallengeSchemaRequest",
|
|
1667
|
+
});
|
|
1668
|
+
export const ListConfigAcmeChallengeSchemaResponseBodyItem =
|
|
1669
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1670
|
+
id: S.String,
|
|
1671
|
+
name: S.String,
|
|
1672
|
+
schema: S.Unknown,
|
|
1673
|
+
type: S.String,
|
|
1674
|
+
})).annotate({
|
|
1675
|
+
identifier: "ListConfigAcmeChallengeSchemaResponseBodyItem",
|
|
1676
|
+
});
|
|
1677
|
+
export const ListConfigAcmeChallengeSchemaResponseBodyList =
|
|
1678
|
+
/*@__PURE__*/ S.Array(ListConfigAcmeChallengeSchemaResponseBodyItem);
|
|
1679
|
+
export const ListConfigAcmeChallengeSchemaResponse = /*@__PURE__*/ S.suspend(() => ListConfigAcmeChallengeSchemaResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1680
|
+
identifier: "ListConfigAcmeChallengeSchemaResponse",
|
|
1681
|
+
});
|
|
1682
|
+
export const ListConfigAcmeDirectoriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/acme/directories", code: 200 }))).annotate({
|
|
1683
|
+
identifier: "ListConfigAcmeDirectoriesRequest",
|
|
1684
|
+
});
|
|
1685
|
+
export const ListConfigAcmeDirectoriesResponseBodyItem =
|
|
1686
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1687
|
+
name: S.String,
|
|
1688
|
+
url: S.String,
|
|
1689
|
+
})).annotate({
|
|
1690
|
+
identifier: "ListConfigAcmeDirectoriesResponseBodyItem",
|
|
1691
|
+
});
|
|
1692
|
+
export const ListConfigAcmeDirectoriesResponseBodyList = /*@__PURE__*/ S.Array(ListConfigAcmeDirectoriesResponseBodyItem);
|
|
1693
|
+
export const ListConfigAcmeDirectoriesResponse = /*@__PURE__*/ S.suspend(() => ListConfigAcmeDirectoriesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1694
|
+
identifier: "ListConfigAcmeDirectoriesResponse",
|
|
1695
|
+
});
|
|
1696
|
+
export const ListConfigAcmePluginsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/acme/plugins", code: 200 }))).annotate({
|
|
1697
|
+
identifier: "ListConfigAcmePluginsRequest",
|
|
1698
|
+
});
|
|
1699
|
+
export const ListConfigAcmePluginsResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1700
|
+
api: S.optional(S.String),
|
|
1701
|
+
data: S.optional(S.String),
|
|
1702
|
+
disable: S.optional(S.Unknown),
|
|
1703
|
+
plugin: S.String,
|
|
1704
|
+
type: S.String,
|
|
1705
|
+
validation_delay: S.optional(S.Number.pipe(T.Body("validation-delay"))),
|
|
1706
|
+
})).annotate({
|
|
1707
|
+
identifier: "ListConfigAcmePluginsResponseBodyItem",
|
|
1708
|
+
});
|
|
1709
|
+
export const ListConfigAcmePluginsResponseBodyList = /*@__PURE__*/ S.Array(ListConfigAcmePluginsResponseBodyItem);
|
|
1710
|
+
export const ListConfigAcmePluginsResponse = /*@__PURE__*/ S.suspend(() => ListConfigAcmePluginsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1711
|
+
identifier: "ListConfigAcmePluginsResponse",
|
|
1712
|
+
});
|
|
1713
|
+
export const ListConfigChangerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/changer", code: 200 }))).annotate({
|
|
1714
|
+
identifier: "ListConfigChangerRequest",
|
|
1715
|
+
});
|
|
1716
|
+
export const ListConfigChangerResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1717
|
+
eject_before_unload: S.optional(S.Unknown.pipe(T.Body("eject-before-unload"))),
|
|
1718
|
+
export_slots: S.optional(S.String.pipe(T.Body("export-slots"))),
|
|
1719
|
+
name: S.String,
|
|
1720
|
+
path: S.String,
|
|
1721
|
+
})).annotate({
|
|
1722
|
+
identifier: "ListConfigChangerResponseBodyItem",
|
|
1723
|
+
});
|
|
1724
|
+
export const ListConfigChangerResponseBodyList = /*@__PURE__*/ S.Array(ListConfigChangerResponseBodyItem);
|
|
1725
|
+
export const ListConfigChangerResponse = /*@__PURE__*/ S.suspend(() => ListConfigChangerResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1726
|
+
identifier: "ListConfigChangerResponse",
|
|
1727
|
+
});
|
|
1728
|
+
export const ListConfigDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/datastore", code: 200 }))).annotate({
|
|
1729
|
+
identifier: "ListConfigDatastoreRequest",
|
|
1730
|
+
});
|
|
1731
|
+
export const ListConfigDatastoreResponseBodyItemNotificationMode = S.String;
|
|
1732
|
+
export const ListConfigDatastoreResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1733
|
+
backend: S.optional(S.String),
|
|
1734
|
+
backing_device: S.optional(S.String.pipe(T.Body("backing-device"))),
|
|
1735
|
+
comment: S.optional(S.String),
|
|
1736
|
+
counter_reset_schedule: S.optional(S.String.pipe(T.Body("counter-reset-schedule"))),
|
|
1737
|
+
gc_on_unmount: S.optional(S.Unknown.pipe(T.Body("gc-on-unmount"))),
|
|
1738
|
+
gc_schedule: S.optional(S.String.pipe(T.Body("gc-schedule"))),
|
|
1739
|
+
keep_daily: S.optional(S.Number.pipe(T.Body("keep-daily"))),
|
|
1740
|
+
keep_hourly: S.optional(S.Number.pipe(T.Body("keep-hourly"))),
|
|
1741
|
+
keep_last: S.optional(S.Number.pipe(T.Body("keep-last"))),
|
|
1742
|
+
keep_monthly: S.optional(S.Number.pipe(T.Body("keep-monthly"))),
|
|
1743
|
+
keep_weekly: S.optional(S.Number.pipe(T.Body("keep-weekly"))),
|
|
1744
|
+
keep_yearly: S.optional(S.Number.pipe(T.Body("keep-yearly"))),
|
|
1745
|
+
maintenance_mode: S.optional(S.String.pipe(T.Body("maintenance-mode"))),
|
|
1746
|
+
name: S.String,
|
|
1747
|
+
notification_mode: S.optional(ListConfigDatastoreResponseBodyItemNotificationMode.pipe(T.Body("notification-mode"))),
|
|
1748
|
+
notification_thresholds: S.optional(S.String.pipe(T.Body("notification-thresholds"))),
|
|
1749
|
+
notify: S.optional(S.String),
|
|
1750
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
1751
|
+
path: S.String,
|
|
1752
|
+
prune_schedule: S.optional(S.String.pipe(T.Body("prune-schedule"))),
|
|
1753
|
+
tuning: S.optional(S.String),
|
|
1754
|
+
verify_new: S.optional(S.Unknown.pipe(T.Body("verify-new"))),
|
|
1755
|
+
})).annotate({
|
|
1756
|
+
identifier: "ListConfigDatastoreResponseBodyItem",
|
|
1757
|
+
});
|
|
1758
|
+
export const ListConfigDatastoreResponseBodyList = /*@__PURE__*/ S.Array(ListConfigDatastoreResponseBodyItem);
|
|
1759
|
+
export const ListConfigDatastoreResponse = /*@__PURE__*/ S.suspend(() => ListConfigDatastoreResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1760
|
+
identifier: "ListConfigDatastoreResponse",
|
|
1761
|
+
});
|
|
1762
|
+
export const ListConfigDriveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/drive", code: 200 }))).annotate({
|
|
1763
|
+
identifier: "ListConfigDriveRequest",
|
|
1764
|
+
});
|
|
1765
|
+
export const ListConfigDriveResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1766
|
+
changer: S.optional(S.String),
|
|
1767
|
+
changer_drivenum: S.optional(S.Number.pipe(T.Body("changer-drivenum"))),
|
|
1768
|
+
name: S.String,
|
|
1769
|
+
path: S.String,
|
|
1770
|
+
})).annotate({
|
|
1771
|
+
identifier: "ListConfigDriveResponseBodyItem",
|
|
1772
|
+
});
|
|
1773
|
+
export const ListConfigDriveResponseBodyList = /*@__PURE__*/ S.Array(ListConfigDriveResponseBodyItem);
|
|
1774
|
+
export const ListConfigDriveResponse = /*@__PURE__*/ S.suspend(() => ListConfigDriveResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1775
|
+
identifier: "ListConfigDriveResponse",
|
|
1776
|
+
});
|
|
1777
|
+
export const ListConfigEncryptionKeysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1778
|
+
include_archived: S.optional(S.String.pipe(T.Query("include-archived"))),
|
|
1779
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/encryption-keys", code: 200 }))).annotate({
|
|
1780
|
+
identifier: "ListConfigEncryptionKeysRequest",
|
|
1781
|
+
});
|
|
1782
|
+
export const ListConfigEncryptionKeysResponseBodyItemKdf = S.String;
|
|
1783
|
+
export const ListConfigEncryptionKeysResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1784
|
+
archived_at: S.optional(S.Number.pipe(T.Body("archived-at"))),
|
|
1785
|
+
created: S.Number,
|
|
1786
|
+
fingerprint: S.optional(S.String),
|
|
1787
|
+
hint: S.optional(S.String),
|
|
1788
|
+
id: S.String,
|
|
1789
|
+
kdf: ListConfigEncryptionKeysResponseBodyItemKdf,
|
|
1790
|
+
modified: S.Number,
|
|
1791
|
+
path: S.optional(S.String),
|
|
1792
|
+
})).annotate({
|
|
1793
|
+
identifier: "ListConfigEncryptionKeysResponseBodyItem",
|
|
1794
|
+
});
|
|
1795
|
+
export const ListConfigEncryptionKeysResponseBodyList = /*@__PURE__*/ S.Array(ListConfigEncryptionKeysResponseBodyItem);
|
|
1796
|
+
export const ListConfigEncryptionKeysResponse = /*@__PURE__*/ S.suspend(() => ListConfigEncryptionKeysResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1797
|
+
identifier: "ListConfigEncryptionKeysResponse",
|
|
1798
|
+
});
|
|
1799
|
+
export const ListConfigMediaPoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/media-pool", code: 200 }))).annotate({
|
|
1800
|
+
identifier: "ListConfigMediaPoolRequest",
|
|
1801
|
+
});
|
|
1802
|
+
export const ListConfigMediaPoolResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1803
|
+
allocation: S.optional(S.String),
|
|
1804
|
+
comment: S.optional(S.String),
|
|
1805
|
+
encrypt: S.optional(S.String),
|
|
1806
|
+
name: S.String,
|
|
1807
|
+
retention: S.optional(S.String),
|
|
1808
|
+
template: S.optional(S.String),
|
|
1809
|
+
})).annotate({
|
|
1810
|
+
identifier: "ListConfigMediaPoolResponseBodyItem",
|
|
1811
|
+
});
|
|
1812
|
+
export const ListConfigMediaPoolResponseBodyList = /*@__PURE__*/ S.Array(ListConfigMediaPoolResponseBodyItem);
|
|
1813
|
+
export const ListConfigMediaPoolResponse = /*@__PURE__*/ S.suspend(() => ListConfigMediaPoolResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1814
|
+
identifier: "ListConfigMediaPoolResponse",
|
|
1815
|
+
});
|
|
1816
|
+
export const ListConfigMetricsInfluxdbHttpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1817
|
+
method: "GET",
|
|
1818
|
+
uri: "/config/metrics/influxdb-http",
|
|
1819
|
+
code: 200,
|
|
1820
|
+
}))).annotate({
|
|
1821
|
+
identifier: "ListConfigMetricsInfluxdbHttpRequest",
|
|
1822
|
+
});
|
|
1823
|
+
export const ListConfigMetricsInfluxdbHttpResponseBodyItem =
|
|
1824
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1825
|
+
bucket: S.optional(S.String),
|
|
1826
|
+
comment: S.optional(S.String),
|
|
1827
|
+
enable: S.optional(S.Unknown),
|
|
1828
|
+
max_body_size: S.optional(S.Number.pipe(T.Body("max-body-size"))),
|
|
1829
|
+
name: S.String,
|
|
1830
|
+
organization: S.optional(S.String),
|
|
1831
|
+
token: S.optional(S.String),
|
|
1832
|
+
url: S.String,
|
|
1833
|
+
verify_tls: S.optional(S.Unknown.pipe(T.Body("verify-tls"))),
|
|
1834
|
+
})).annotate({
|
|
1835
|
+
identifier: "ListConfigMetricsInfluxdbHttpResponseBodyItem",
|
|
1836
|
+
});
|
|
1837
|
+
export const ListConfigMetricsInfluxdbHttpResponseBodyList =
|
|
1838
|
+
/*@__PURE__*/ S.Array(ListConfigMetricsInfluxdbHttpResponseBodyItem);
|
|
1839
|
+
export const ListConfigMetricsInfluxdbHttpResponse = /*@__PURE__*/ S.suspend(() => ListConfigMetricsInfluxdbHttpResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1840
|
+
identifier: "ListConfigMetricsInfluxdbHttpResponse",
|
|
1841
|
+
});
|
|
1842
|
+
export const ListConfigMetricsInfluxdbUdpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/metrics/influxdb-udp", code: 200 }))).annotate({
|
|
1843
|
+
identifier: "ListConfigMetricsInfluxdbUdpRequest",
|
|
1844
|
+
});
|
|
1845
|
+
export const ListConfigMetricsInfluxdbUdpResponseBodyItem =
|
|
1846
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1847
|
+
comment: S.optional(S.String),
|
|
1848
|
+
enable: S.optional(S.Unknown),
|
|
1849
|
+
host: S.String,
|
|
1850
|
+
mtu: S.optional(S.Number),
|
|
1851
|
+
name: S.String,
|
|
1852
|
+
})).annotate({
|
|
1853
|
+
identifier: "ListConfigMetricsInfluxdbUdpResponseBodyItem",
|
|
1854
|
+
});
|
|
1855
|
+
export const ListConfigMetricsInfluxdbUdpResponseBodyList =
|
|
1856
|
+
/*@__PURE__*/ S.Array(ListConfigMetricsInfluxdbUdpResponseBodyItem);
|
|
1857
|
+
export const ListConfigMetricsInfluxdbUdpResponse = /*@__PURE__*/ S.suspend(() => ListConfigMetricsInfluxdbUdpResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1858
|
+
identifier: "ListConfigMetricsInfluxdbUdpResponse",
|
|
1859
|
+
});
|
|
1860
|
+
export const ListConfigNotificationEndpointGotifyRequest =
|
|
1861
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1862
|
+
method: "GET",
|
|
1863
|
+
uri: "/config/notifications/endpoints/gotify",
|
|
1864
|
+
code: 200,
|
|
1865
|
+
}))).annotate({
|
|
1866
|
+
identifier: "ListConfigNotificationEndpointGotifyRequest",
|
|
1867
|
+
});
|
|
1868
|
+
export const ListConfigNotificationEndpointGotifyResponseBodyItemOrigin = S.String;
|
|
1869
|
+
export const ListConfigNotificationEndpointGotifyResponseBodyItem =
|
|
1870
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1871
|
+
comment: S.optional(S.String),
|
|
1872
|
+
disable: S.optional(S.Unknown),
|
|
1873
|
+
filter: S.optional(S.String),
|
|
1874
|
+
name: S.String,
|
|
1875
|
+
origin: S.optional(ListConfigNotificationEndpointGotifyResponseBodyItemOrigin),
|
|
1876
|
+
server: S.String,
|
|
1877
|
+
})).annotate({
|
|
1878
|
+
identifier: "ListConfigNotificationEndpointGotifyResponseBodyItem",
|
|
1879
|
+
});
|
|
1880
|
+
export const ListConfigNotificationEndpointGotifyResponseBodyList =
|
|
1881
|
+
/*@__PURE__*/ S.Array(ListConfigNotificationEndpointGotifyResponseBodyItem);
|
|
1882
|
+
export const ListConfigNotificationEndpointGotifyResponse =
|
|
1883
|
+
/*@__PURE__*/ S.suspend(() => ListConfigNotificationEndpointGotifyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1884
|
+
identifier: "ListConfigNotificationEndpointGotifyResponse",
|
|
1885
|
+
});
|
|
1886
|
+
export const ListConfigNotificationEndpointSendmailRequest =
|
|
1887
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1888
|
+
method: "GET",
|
|
1889
|
+
uri: "/config/notifications/endpoints/sendmail",
|
|
1890
|
+
code: 200,
|
|
1891
|
+
}))).annotate({
|
|
1892
|
+
identifier: "ListConfigNotificationEndpointSendmailRequest",
|
|
1893
|
+
});
|
|
1894
|
+
export const ListConfigNotificationEndpointSendmailResponseBodyItemMailtoList =
|
|
1895
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1896
|
+
export const ListConfigNotificationEndpointSendmailResponseBodyItemMailtoUserList =
|
|
1897
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1898
|
+
export const ListConfigNotificationEndpointSendmailResponseBodyItemOrigin = S.String;
|
|
1899
|
+
export const ListConfigNotificationEndpointSendmailResponseBodyItem =
|
|
1900
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1901
|
+
author: S.optional(S.String),
|
|
1902
|
+
comment: S.optional(S.String),
|
|
1903
|
+
disable: S.optional(S.Unknown),
|
|
1904
|
+
filter: S.optional(S.String),
|
|
1905
|
+
from_address: S.optional(S.String.pipe(T.Body("from-address"))),
|
|
1906
|
+
mailto: S.optional(ListConfigNotificationEndpointSendmailResponseBodyItemMailtoList),
|
|
1907
|
+
mailto_user: S.optional(ListConfigNotificationEndpointSendmailResponseBodyItemMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
1908
|
+
name: S.String,
|
|
1909
|
+
origin: S.optional(ListConfigNotificationEndpointSendmailResponseBodyItemOrigin),
|
|
1910
|
+
})).annotate({
|
|
1911
|
+
identifier: "ListConfigNotificationEndpointSendmailResponseBodyItem",
|
|
1912
|
+
});
|
|
1913
|
+
export const ListConfigNotificationEndpointSendmailResponseBodyList =
|
|
1914
|
+
/*@__PURE__*/ S.Array(ListConfigNotificationEndpointSendmailResponseBodyItem);
|
|
1915
|
+
export const ListConfigNotificationEndpointSendmailResponse =
|
|
1916
|
+
/*@__PURE__*/ S.suspend(() => ListConfigNotificationEndpointSendmailResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1917
|
+
identifier: "ListConfigNotificationEndpointSendmailResponse",
|
|
1918
|
+
});
|
|
1919
|
+
export const ListConfigNotificationEndpointSmtpRequest =
|
|
1920
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1921
|
+
method: "GET",
|
|
1922
|
+
uri: "/config/notifications/endpoints/smtp",
|
|
1923
|
+
code: 200,
|
|
1924
|
+
}))).annotate({
|
|
1925
|
+
identifier: "ListConfigNotificationEndpointSmtpRequest",
|
|
1926
|
+
});
|
|
1927
|
+
export const ListConfigNotificationEndpointSmtpResponseBodyItemMailtoList =
|
|
1928
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1929
|
+
export const ListConfigNotificationEndpointSmtpResponseBodyItemMailtoUserList =
|
|
1930
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1931
|
+
export const ListConfigNotificationEndpointSmtpResponseBodyItemMode = S.String;
|
|
1932
|
+
export const ListConfigNotificationEndpointSmtpResponseBodyItemOrigin = S.String;
|
|
1933
|
+
export const ListConfigNotificationEndpointSmtpResponseBodyItem =
|
|
1934
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1935
|
+
author: S.optional(S.String),
|
|
1936
|
+
comment: S.optional(S.String),
|
|
1937
|
+
disable: S.optional(S.Unknown),
|
|
1938
|
+
from_address: S.optional(S.String.pipe(T.Body("from-address"))),
|
|
1939
|
+
mailto: S.optional(ListConfigNotificationEndpointSmtpResponseBodyItemMailtoList),
|
|
1940
|
+
mailto_user: S.optional(ListConfigNotificationEndpointSmtpResponseBodyItemMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
1941
|
+
mode: S.optional(ListConfigNotificationEndpointSmtpResponseBodyItemMode),
|
|
1942
|
+
name: S.String,
|
|
1943
|
+
origin: S.optional(ListConfigNotificationEndpointSmtpResponseBodyItemOrigin),
|
|
1944
|
+
port: S.optional(S.Number),
|
|
1945
|
+
server: S.String,
|
|
1946
|
+
username: S.optional(S.String),
|
|
1947
|
+
})).annotate({
|
|
1948
|
+
identifier: "ListConfigNotificationEndpointSmtpResponseBodyItem",
|
|
1949
|
+
});
|
|
1950
|
+
export const ListConfigNotificationEndpointSmtpResponseBodyList =
|
|
1951
|
+
/*@__PURE__*/ S.Array(ListConfigNotificationEndpointSmtpResponseBodyItem);
|
|
1952
|
+
export const ListConfigNotificationEndpointSmtpResponse =
|
|
1953
|
+
/*@__PURE__*/ S.suspend(() => ListConfigNotificationEndpointSmtpResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1954
|
+
identifier: "ListConfigNotificationEndpointSmtpResponse",
|
|
1955
|
+
});
|
|
1956
|
+
export const ListConfigNotificationEndpointWebhookRequest =
|
|
1957
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1958
|
+
method: "GET",
|
|
1959
|
+
uri: "/config/notifications/endpoints/webhook",
|
|
1960
|
+
code: 200,
|
|
1961
|
+
}))).annotate({
|
|
1962
|
+
identifier: "ListConfigNotificationEndpointWebhookRequest",
|
|
1963
|
+
});
|
|
1964
|
+
export const ListConfigNotificationEndpointWebhookResponseBodyItemHeaderList =
|
|
1965
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1966
|
+
export const ListConfigNotificationEndpointWebhookResponseBodyItemMethod = S.String;
|
|
1967
|
+
export const ListConfigNotificationEndpointWebhookResponseBodyItemOrigin = S.String;
|
|
1968
|
+
export const ListConfigNotificationEndpointWebhookResponseBodyItemSecretList =
|
|
1969
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1970
|
+
export const ListConfigNotificationEndpointWebhookResponseBodyItem =
|
|
1971
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1972
|
+
body: S.optional(S.String),
|
|
1973
|
+
comment: S.optional(S.String),
|
|
1974
|
+
disable: S.optional(S.Unknown),
|
|
1975
|
+
header: S.optional(ListConfigNotificationEndpointWebhookResponseBodyItemHeaderList),
|
|
1976
|
+
method: ListConfigNotificationEndpointWebhookResponseBodyItemMethod,
|
|
1977
|
+
name: S.String,
|
|
1978
|
+
origin: S.optional(ListConfigNotificationEndpointWebhookResponseBodyItemOrigin),
|
|
1979
|
+
secret: S.optional(ListConfigNotificationEndpointWebhookResponseBodyItemSecretList),
|
|
1980
|
+
url: S.String,
|
|
1981
|
+
})).annotate({
|
|
1982
|
+
identifier: "ListConfigNotificationEndpointWebhookResponseBodyItem",
|
|
1983
|
+
});
|
|
1984
|
+
export const ListConfigNotificationEndpointWebhookResponseBodyList =
|
|
1985
|
+
/*@__PURE__*/ S.Array(ListConfigNotificationEndpointWebhookResponseBodyItem);
|
|
1986
|
+
export const ListConfigNotificationEndpointWebhookResponse =
|
|
1987
|
+
/*@__PURE__*/ S.suspend(() => ListConfigNotificationEndpointWebhookResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1988
|
+
identifier: "ListConfigNotificationEndpointWebhookResponse",
|
|
1989
|
+
});
|
|
1990
|
+
export const ListConfigNotificationMatcherFieldsRequest =
|
|
1991
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
1992
|
+
method: "GET",
|
|
1993
|
+
uri: "/config/notifications/matcher-fields",
|
|
1994
|
+
code: 200,
|
|
1995
|
+
}))).annotate({
|
|
1996
|
+
identifier: "ListConfigNotificationMatcherFieldsRequest",
|
|
1997
|
+
});
|
|
1998
|
+
export const ListConfigNotificationMatcherFieldsResponseBodyItem = ListConfigAcmeAccountResponseBodyItem;
|
|
1999
|
+
export const ListConfigNotificationMatcherFieldsResponseBodyList =
|
|
2000
|
+
/*@__PURE__*/ S.Array(ListConfigAcmeAccountResponseBodyItem);
|
|
2001
|
+
export const ListConfigNotificationMatcherFieldsResponse =
|
|
2002
|
+
/*@__PURE__*/ S.suspend(() => ListConfigNotificationMatcherFieldsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2003
|
+
identifier: "ListConfigNotificationMatcherFieldsResponse",
|
|
2004
|
+
});
|
|
2005
|
+
export const ListConfigNotificationMatcherFieldValuesRequest =
|
|
2006
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
2007
|
+
method: "GET",
|
|
2008
|
+
uri: "/config/notifications/matcher-field-values",
|
|
2009
|
+
code: 200,
|
|
2010
|
+
}))).annotate({
|
|
2011
|
+
identifier: "ListConfigNotificationMatcherFieldValuesRequest",
|
|
2012
|
+
});
|
|
2013
|
+
export const ListConfigNotificationMatcherFieldValuesResponseBodyItem =
|
|
2014
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2015
|
+
comment: S.optional(S.String),
|
|
2016
|
+
field: S.String,
|
|
2017
|
+
value: S.String,
|
|
2018
|
+
})).annotate({
|
|
2019
|
+
identifier: "ListConfigNotificationMatcherFieldValuesResponseBodyItem",
|
|
2020
|
+
});
|
|
2021
|
+
export const ListConfigNotificationMatcherFieldValuesResponseBodyList =
|
|
2022
|
+
/*@__PURE__*/ S.Array(ListConfigNotificationMatcherFieldValuesResponseBodyItem);
|
|
2023
|
+
export const ListConfigNotificationMatcherFieldValuesResponse =
|
|
2024
|
+
/*@__PURE__*/ S.suspend(() => ListConfigNotificationMatcherFieldValuesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2025
|
+
identifier: "ListConfigNotificationMatcherFieldValuesResponse",
|
|
2026
|
+
});
|
|
2027
|
+
export const ListConfigNotificationMatchersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
2028
|
+
method: "GET",
|
|
2029
|
+
uri: "/config/notifications/matchers",
|
|
2030
|
+
code: 200,
|
|
2031
|
+
}))).annotate({
|
|
2032
|
+
identifier: "ListConfigNotificationMatchersRequest",
|
|
2033
|
+
});
|
|
2034
|
+
export const ListConfigNotificationMatchersResponseBodyItemMatchCalendarList =
|
|
2035
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2036
|
+
export const ListConfigNotificationMatchersResponseBodyItemMatchFieldList =
|
|
2037
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2038
|
+
export const ListConfigNotificationMatchersResponseBodyItemMatchSeverityList =
|
|
2039
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2040
|
+
export const ListConfigNotificationMatchersResponseBodyItemMode = S.String;
|
|
2041
|
+
export const ListConfigNotificationMatchersResponseBodyItemOrigin = S.String;
|
|
2042
|
+
export const ListConfigNotificationMatchersResponseBodyItemTargetList =
|
|
2043
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2044
|
+
export const ListConfigNotificationMatchersResponseBodyItem =
|
|
2045
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2046
|
+
comment: S.optional(S.String),
|
|
2047
|
+
disable: S.optional(S.Unknown),
|
|
2048
|
+
invert_match: S.optional(S.Unknown.pipe(T.Body("invert-match"))),
|
|
2049
|
+
match_calendar: S.optional(ListConfigNotificationMatchersResponseBodyItemMatchCalendarList.pipe(T.Body("match-calendar"))),
|
|
2050
|
+
match_field: S.optional(ListConfigNotificationMatchersResponseBodyItemMatchFieldList.pipe(T.Body("match-field"))),
|
|
2051
|
+
match_severity: S.optional(ListConfigNotificationMatchersResponseBodyItemMatchSeverityList.pipe(T.Body("match-severity"))),
|
|
2052
|
+
mode: S.optional(ListConfigNotificationMatchersResponseBodyItemMode),
|
|
2053
|
+
name: S.String,
|
|
2054
|
+
origin: S.optional(ListConfigNotificationMatchersResponseBodyItemOrigin),
|
|
2055
|
+
target: S.optional(ListConfigNotificationMatchersResponseBodyItemTargetList),
|
|
2056
|
+
})).annotate({
|
|
2057
|
+
identifier: "ListConfigNotificationMatchersResponseBodyItem",
|
|
2058
|
+
});
|
|
2059
|
+
export const ListConfigNotificationMatchersResponseBodyList =
|
|
2060
|
+
/*@__PURE__*/ S.Array(ListConfigNotificationMatchersResponseBodyItem);
|
|
2061
|
+
export const ListConfigNotificationMatchersResponse = /*@__PURE__*/ S.suspend(() => ListConfigNotificationMatchersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2062
|
+
identifier: "ListConfigNotificationMatchersResponse",
|
|
2063
|
+
});
|
|
2064
|
+
export const ListConfigNotificationTargetsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
|
|
2065
|
+
method: "GET",
|
|
2066
|
+
uri: "/config/notifications/targets",
|
|
2067
|
+
code: 200,
|
|
2068
|
+
}))).annotate({
|
|
2069
|
+
identifier: "ListConfigNotificationTargetsRequest",
|
|
2070
|
+
});
|
|
2071
|
+
export const ListConfigNotificationTargetsResponseBodyItemOrigin = S.String;
|
|
2072
|
+
export const ListConfigNotificationTargetsResponseBodyItemType = S.String;
|
|
2073
|
+
export const ListConfigNotificationTargetsResponseBodyItem =
|
|
2074
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2075
|
+
comment: S.optional(S.String),
|
|
2076
|
+
disable: S.optional(S.Unknown),
|
|
2077
|
+
name: S.String,
|
|
2078
|
+
origin: ListConfigNotificationTargetsResponseBodyItemOrigin,
|
|
2079
|
+
type: ListConfigNotificationTargetsResponseBodyItemType,
|
|
2080
|
+
})).annotate({
|
|
2081
|
+
identifier: "ListConfigNotificationTargetsResponseBodyItem",
|
|
2082
|
+
});
|
|
2083
|
+
export const ListConfigNotificationTargetsResponseBodyList =
|
|
2084
|
+
/*@__PURE__*/ S.Array(ListConfigNotificationTargetsResponseBodyItem);
|
|
2085
|
+
export const ListConfigNotificationTargetsResponse = /*@__PURE__*/ S.suspend(() => ListConfigNotificationTargetsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2086
|
+
identifier: "ListConfigNotificationTargetsResponse",
|
|
2087
|
+
});
|
|
2088
|
+
export const ListConfigPruneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/prune", code: 200 }))).annotate({
|
|
2089
|
+
identifier: "ListConfigPruneRequest",
|
|
2090
|
+
});
|
|
2091
|
+
export const ListConfigPruneResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2092
|
+
comment: S.optional(S.String),
|
|
2093
|
+
disable: S.optional(S.Unknown),
|
|
2094
|
+
id: S.String,
|
|
2095
|
+
keep_daily: S.optional(S.Number.pipe(T.Body("keep-daily"))),
|
|
2096
|
+
keep_hourly: S.optional(S.Number.pipe(T.Body("keep-hourly"))),
|
|
2097
|
+
keep_last: S.optional(S.Number.pipe(T.Body("keep-last"))),
|
|
2098
|
+
keep_monthly: S.optional(S.Number.pipe(T.Body("keep-monthly"))),
|
|
2099
|
+
keep_weekly: S.optional(S.Number.pipe(T.Body("keep-weekly"))),
|
|
2100
|
+
keep_yearly: S.optional(S.Number.pipe(T.Body("keep-yearly"))),
|
|
2101
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
2102
|
+
ns: S.optional(S.String),
|
|
2103
|
+
schedule: S.String,
|
|
2104
|
+
store: S.String,
|
|
2105
|
+
})).annotate({
|
|
2106
|
+
identifier: "ListConfigPruneResponseBodyItem",
|
|
2107
|
+
});
|
|
2108
|
+
export const ListConfigPruneResponseBodyList = /*@__PURE__*/ S.Array(ListConfigPruneResponseBodyItem);
|
|
2109
|
+
export const ListConfigPruneResponse = /*@__PURE__*/ S.suspend(() => ListConfigPruneResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2110
|
+
identifier: "ListConfigPruneResponse",
|
|
2111
|
+
});
|
|
2112
|
+
export const ListConfigRemoteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/remote", code: 200 }))).annotate({
|
|
2113
|
+
identifier: "ListConfigRemoteRequest",
|
|
2114
|
+
});
|
|
2115
|
+
export const ListConfigRemoteResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2116
|
+
auth_id: S.optional(S.String.pipe(T.Body("auth-id"))),
|
|
2117
|
+
comment: S.optional(S.String),
|
|
2118
|
+
fingerprint: S.optional(S.String),
|
|
2119
|
+
host: S.String,
|
|
2120
|
+
name: S.String,
|
|
2121
|
+
port: S.optional(S.Number),
|
|
2122
|
+
use_node_proxy: S.optional(S.Unknown.pipe(T.Body("use-node-proxy"))),
|
|
2123
|
+
})).annotate({
|
|
2124
|
+
identifier: "ListConfigRemoteResponseBodyItem",
|
|
2125
|
+
});
|
|
2126
|
+
export const ListConfigRemoteResponseBodyList = /*@__PURE__*/ S.Array(ListConfigRemoteResponseBodyItem);
|
|
2127
|
+
export const ListConfigRemoteResponse = /*@__PURE__*/ S.suspend(() => ListConfigRemoteResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2128
|
+
identifier: "ListConfigRemoteResponse",
|
|
2129
|
+
});
|
|
2130
|
+
export const ListConfigRemoteScanRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2131
|
+
name: S.String.pipe(T.Label()),
|
|
2132
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/remote/{name}/scan", code: 200 }))).annotate({
|
|
2133
|
+
identifier: "ListConfigRemoteScanRequest",
|
|
2134
|
+
});
|
|
2135
|
+
export const ListConfigRemoteScanResponseBodyItemBackendType = S.String;
|
|
2136
|
+
export const ListConfigRemoteScanResponseBodyItemMountStatus = S.String;
|
|
2137
|
+
export const ListConfigRemoteScanResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2138
|
+
backend_type: S.optional(ListConfigRemoteScanResponseBodyItemBackendType.pipe(T.Body("backend-type"))),
|
|
2139
|
+
comment: S.optional(S.String),
|
|
2140
|
+
maintenance: S.optional(S.String),
|
|
2141
|
+
mount_status: S.optional(ListConfigRemoteScanResponseBodyItemMountStatus.pipe(T.Body("mount-status"))),
|
|
2142
|
+
store: S.String,
|
|
2143
|
+
})).annotate({
|
|
2144
|
+
identifier: "ListConfigRemoteScanResponseBodyItem",
|
|
2145
|
+
});
|
|
2146
|
+
export const ListConfigRemoteScanResponseBodyList = /*@__PURE__*/ S.Array(ListConfigRemoteScanResponseBodyItem);
|
|
2147
|
+
export const ListConfigRemoteScanResponse = /*@__PURE__*/ S.suspend(() => ListConfigRemoteScanResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2148
|
+
identifier: "ListConfigRemoteScanResponse",
|
|
2149
|
+
});
|
|
2150
|
+
export const ListConfigRemoteScanGroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2151
|
+
name: S.String.pipe(T.Label()),
|
|
2152
|
+
store: S.String.pipe(T.Label()),
|
|
2153
|
+
namespace: S.optional(S.String.pipe(T.Query())),
|
|
2154
|
+
}).pipe(T.Http({
|
|
2155
|
+
method: "GET",
|
|
2156
|
+
uri: "/config/remote/{name}/scan/{store}/groups",
|
|
2157
|
+
code: 200,
|
|
2158
|
+
}))).annotate({
|
|
2159
|
+
identifier: "ListConfigRemoteScanGroupsRequest",
|
|
2160
|
+
});
|
|
2161
|
+
export const ListConfigRemoteScanGroupsResponseBodyItemBackupType = S.String;
|
|
2162
|
+
export const ListConfigRemoteScanGroupsResponseBodyItemFilesList =
|
|
2163
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2164
|
+
export const ListConfigRemoteScanGroupsResponseBodyItem =
|
|
2165
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2166
|
+
backup_count: S.optional(S.Number.pipe(T.Body("backup-count"))),
|
|
2167
|
+
backup_id: S.optional(S.String.pipe(T.Body("backup-id"))),
|
|
2168
|
+
backup_type: S.optional(ListConfigRemoteScanGroupsResponseBodyItemBackupType.pipe(T.Body("backup-type"))),
|
|
2169
|
+
comment: S.optional(S.String),
|
|
2170
|
+
files: ListConfigRemoteScanGroupsResponseBodyItemFilesList,
|
|
2171
|
+
last_backup: S.optional(S.Number.pipe(T.Body("last-backup"))),
|
|
2172
|
+
owner: S.optional(S.String),
|
|
2173
|
+
})).annotate({
|
|
2174
|
+
identifier: "ListConfigRemoteScanGroupsResponseBodyItem",
|
|
2175
|
+
});
|
|
2176
|
+
export const ListConfigRemoteScanGroupsResponseBodyList = /*@__PURE__*/ S.Array(ListConfigRemoteScanGroupsResponseBodyItem);
|
|
2177
|
+
export const ListConfigRemoteScanGroupsResponse = /*@__PURE__*/ S.suspend(() => ListConfigRemoteScanGroupsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2178
|
+
identifier: "ListConfigRemoteScanGroupsResponse",
|
|
2179
|
+
});
|
|
2180
|
+
export const ListConfigRemoteScanNamespacesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2181
|
+
name: S.String.pipe(T.Label()),
|
|
2182
|
+
store: S.String.pipe(T.Label()),
|
|
2183
|
+
}).pipe(T.Http({
|
|
2184
|
+
method: "GET",
|
|
2185
|
+
uri: "/config/remote/{name}/scan/{store}/namespaces",
|
|
2186
|
+
code: 200,
|
|
2187
|
+
}))).annotate({
|
|
2188
|
+
identifier: "ListConfigRemoteScanNamespacesRequest",
|
|
2189
|
+
});
|
|
2190
|
+
export const ListConfigRemoteScanNamespacesResponseBodyItem =
|
|
2191
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2192
|
+
comment: S.optional(S.String),
|
|
2193
|
+
ns: S.String,
|
|
2194
|
+
})).annotate({
|
|
2195
|
+
identifier: "ListConfigRemoteScanNamespacesResponseBodyItem",
|
|
2196
|
+
});
|
|
2197
|
+
export const ListConfigRemoteScanNamespacesResponseBodyList =
|
|
2198
|
+
/*@__PURE__*/ S.Array(ListConfigRemoteScanNamespacesResponseBodyItem);
|
|
2199
|
+
export const ListConfigRemoteScanNamespacesResponse = /*@__PURE__*/ S.suspend(() => ListConfigRemoteScanNamespacesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2200
|
+
identifier: "ListConfigRemoteScanNamespacesResponse",
|
|
2201
|
+
});
|
|
2202
|
+
export const ListConfigS3Request = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/s3", code: 200 }))).annotate({
|
|
2203
|
+
identifier: "ListConfigS3Request",
|
|
2204
|
+
});
|
|
2205
|
+
export const ListConfigS3ResponseBodyItemProviderQuirksItem = S.String;
|
|
2206
|
+
export const ListConfigS3ResponseBodyItemProviderQuirksList =
|
|
2207
|
+
/*@__PURE__*/ S.Array(ListConfigS3ResponseBodyItemProviderQuirksItem);
|
|
2208
|
+
export const ListConfigS3ResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2209
|
+
access_key: S.optional(S.String.pipe(T.Body("access-key"))),
|
|
2210
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
2211
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
2212
|
+
endpoint: S.String,
|
|
2213
|
+
fingerprint: S.optional(S.String),
|
|
2214
|
+
id: S.String,
|
|
2215
|
+
path_style: S.optional(S.Unknown.pipe(T.Body("path-style"))),
|
|
2216
|
+
port: S.optional(S.Number),
|
|
2217
|
+
provider_quirks: S.optional(ListConfigS3ResponseBodyItemProviderQuirksList.pipe(T.Body("provider-quirks"))),
|
|
2218
|
+
put_rate_limit: S.optional(S.Number.pipe(T.Body("put-rate-limit"))),
|
|
2219
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
2220
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
2221
|
+
region: S.optional(S.String),
|
|
2222
|
+
})).annotate({
|
|
2223
|
+
identifier: "ListConfigS3ResponseBodyItem",
|
|
2224
|
+
});
|
|
2225
|
+
export const ListConfigS3ResponseBodyList = /*@__PURE__*/ S.Array(ListConfigS3ResponseBodyItem);
|
|
2226
|
+
export const ListConfigS3Response = /*@__PURE__*/ S.suspend(() => ListConfigS3ResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2227
|
+
identifier: "ListConfigS3Response",
|
|
2228
|
+
});
|
|
2229
|
+
export const ListConfigSyncRequestSyncDirection = S.String;
|
|
2230
|
+
export const ListConfigSyncRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2231
|
+
sync_direction: S.optional(ListConfigSyncRequestSyncDirection.pipe(T.Query("sync-direction"))),
|
|
2232
|
+
}).pipe(T.Http({ method: "GET", uri: "/config/sync", code: 200 }))).annotate({
|
|
2233
|
+
identifier: "ListConfigSyncRequest",
|
|
2234
|
+
});
|
|
2235
|
+
export const ListConfigSyncResponseBodyItemAssociatedKeyList =
|
|
2236
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2237
|
+
export const ListConfigSyncResponseBodyItemGroupFilterList =
|
|
2238
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2239
|
+
export const ListConfigSyncResponseBodyItemSyncDirection = S.String;
|
|
2240
|
+
export const ListConfigSyncResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2241
|
+
active_encryption_key: S.optional(S.String.pipe(T.Body("active-encryption-key"))),
|
|
2242
|
+
associated_key: S.optional(ListConfigSyncResponseBodyItemAssociatedKeyList.pipe(T.Body("associated-key"))),
|
|
2243
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
2244
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
2245
|
+
comment: S.optional(S.String),
|
|
2246
|
+
encrypted_only: S.optional(S.Unknown.pipe(T.Body("encrypted-only"))),
|
|
2247
|
+
group_filter: S.optional(ListConfigSyncResponseBodyItemGroupFilterList.pipe(T.Body("group-filter"))),
|
|
2248
|
+
id: S.String,
|
|
2249
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
2250
|
+
ns: S.optional(S.String),
|
|
2251
|
+
owner: S.optional(S.String),
|
|
2252
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
2253
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
2254
|
+
remote: S.optional(S.String),
|
|
2255
|
+
remote_ns: S.optional(S.String.pipe(T.Body("remote-ns"))),
|
|
2256
|
+
remote_store: S.optional(S.String.pipe(T.Body("remote-store"))),
|
|
2257
|
+
remove_vanished: S.optional(S.Unknown.pipe(T.Body("remove-vanished"))),
|
|
2258
|
+
resync_corrupt: S.optional(S.Unknown.pipe(T.Body("resync-corrupt"))),
|
|
2259
|
+
run_on_mount: S.optional(S.Unknown.pipe(T.Body("run-on-mount"))),
|
|
2260
|
+
schedule: S.optional(S.String),
|
|
2261
|
+
store: S.String,
|
|
2262
|
+
sync_direction: S.optional(ListConfigSyncResponseBodyItemSyncDirection.pipe(T.Body("sync-direction"))),
|
|
2263
|
+
transfer_last: S.optional(S.Number.pipe(T.Body("transfer-last"))),
|
|
2264
|
+
unmount_on_done: S.optional(S.Unknown.pipe(T.Body("unmount-on-done"))),
|
|
2265
|
+
verified_only: S.optional(S.Unknown.pipe(T.Body("verified-only"))),
|
|
2266
|
+
worker_threads: S.optional(S.Number.pipe(T.Body("worker-threads"))),
|
|
2267
|
+
})).annotate({
|
|
2268
|
+
identifier: "ListConfigSyncResponseBodyItem",
|
|
2269
|
+
});
|
|
2270
|
+
export const ListConfigSyncResponseBodyList = /*@__PURE__*/ S.Array(ListConfigSyncResponseBodyItem);
|
|
2271
|
+
export const ListConfigSyncResponse = /*@__PURE__*/ S.suspend(() => ListConfigSyncResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2272
|
+
identifier: "ListConfigSyncResponse",
|
|
2273
|
+
});
|
|
2274
|
+
export const ListConfigTapeBackupJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/tape-backup-job", code: 200 }))).annotate({
|
|
2275
|
+
identifier: "ListConfigTapeBackupJobRequest",
|
|
2276
|
+
});
|
|
2277
|
+
export const ListConfigTapeBackupJobResponseBodyItemGroupFilterList =
|
|
2278
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2279
|
+
export const ListConfigTapeBackupJobResponseBodyItemNotificationMode = S.String;
|
|
2280
|
+
export const ListConfigTapeBackupJobResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2281
|
+
comment: S.optional(S.String),
|
|
2282
|
+
drive: S.String,
|
|
2283
|
+
eject_media: S.optional(S.Unknown.pipe(T.Body("eject-media"))),
|
|
2284
|
+
export_media_set: S.optional(S.Unknown.pipe(T.Body("export-media-set"))),
|
|
2285
|
+
group_filter: S.optional(ListConfigTapeBackupJobResponseBodyItemGroupFilterList.pipe(T.Body("group-filter"))),
|
|
2286
|
+
id: S.String,
|
|
2287
|
+
latest_only: S.optional(S.Unknown.pipe(T.Body("latest-only"))),
|
|
2288
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
2289
|
+
notification_mode: S.optional(ListConfigTapeBackupJobResponseBodyItemNotificationMode.pipe(T.Body("notification-mode"))),
|
|
2290
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
2291
|
+
ns: S.optional(S.String),
|
|
2292
|
+
pool: S.String,
|
|
2293
|
+
schedule: S.optional(S.String),
|
|
2294
|
+
store: S.String,
|
|
2295
|
+
worker_threads: S.optional(S.Number.pipe(T.Body("worker-threads"))),
|
|
2296
|
+
})).annotate({
|
|
2297
|
+
identifier: "ListConfigTapeBackupJobResponseBodyItem",
|
|
2298
|
+
});
|
|
2299
|
+
export const ListConfigTapeBackupJobResponseBodyList = /*@__PURE__*/ S.Array(ListConfigTapeBackupJobResponseBodyItem);
|
|
2300
|
+
export const ListConfigTapeBackupJobResponse = /*@__PURE__*/ S.suspend(() => ListConfigTapeBackupJobResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2301
|
+
identifier: "ListConfigTapeBackupJobResponse",
|
|
2302
|
+
});
|
|
2303
|
+
export const ListConfigTapeEncryptionKeysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/tape-encryption-keys", code: 200 }))).annotate({
|
|
2304
|
+
identifier: "ListConfigTapeEncryptionKeysRequest",
|
|
2305
|
+
});
|
|
2306
|
+
export const ListConfigTapeEncryptionKeysResponseBodyItemKdf = S.String;
|
|
2307
|
+
export const ListConfigTapeEncryptionKeysResponseBodyItem =
|
|
2308
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2309
|
+
created: S.Number,
|
|
2310
|
+
fingerprint: S.optional(S.String),
|
|
2311
|
+
hint: S.optional(S.String),
|
|
2312
|
+
kdf: ListConfigTapeEncryptionKeysResponseBodyItemKdf,
|
|
2313
|
+
modified: S.Number,
|
|
2314
|
+
path: S.optional(S.String),
|
|
2315
|
+
})).annotate({
|
|
2316
|
+
identifier: "ListConfigTapeEncryptionKeysResponseBodyItem",
|
|
2317
|
+
});
|
|
2318
|
+
export const ListConfigTapeEncryptionKeysResponseBodyList =
|
|
2319
|
+
/*@__PURE__*/ S.Array(ListConfigTapeEncryptionKeysResponseBodyItem);
|
|
2320
|
+
export const ListConfigTapeEncryptionKeysResponse = /*@__PURE__*/ S.suspend(() => ListConfigTapeEncryptionKeysResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2321
|
+
identifier: "ListConfigTapeEncryptionKeysResponse",
|
|
2322
|
+
});
|
|
2323
|
+
export const ListConfigTrafficControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/traffic-control", code: 200 }))).annotate({
|
|
2324
|
+
identifier: "ListConfigTrafficControlRequest",
|
|
2325
|
+
});
|
|
2326
|
+
export const ListConfigTrafficControlResponseBodyItemNetworkList =
|
|
2327
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2328
|
+
export const ListConfigTrafficControlResponseBodyItemTimeframeList =
|
|
2329
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2330
|
+
export const ListConfigTrafficControlResponseBodyItemUsersList =
|
|
2331
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2332
|
+
export const ListConfigTrafficControlResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2333
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
2334
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
2335
|
+
comment: S.optional(S.String),
|
|
2336
|
+
name: S.String,
|
|
2337
|
+
network: ListConfigTrafficControlResponseBodyItemNetworkList,
|
|
2338
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
2339
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
2340
|
+
timeframe: S.optional(ListConfigTrafficControlResponseBodyItemTimeframeList),
|
|
2341
|
+
users: S.optional(ListConfigTrafficControlResponseBodyItemUsersList),
|
|
2342
|
+
})).annotate({
|
|
2343
|
+
identifier: "ListConfigTrafficControlResponseBodyItem",
|
|
2344
|
+
});
|
|
2345
|
+
export const ListConfigTrafficControlResponseBodyList = /*@__PURE__*/ S.Array(ListConfigTrafficControlResponseBodyItem);
|
|
2346
|
+
export const ListConfigTrafficControlResponse = /*@__PURE__*/ S.suspend(() => ListConfigTrafficControlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2347
|
+
identifier: "ListConfigTrafficControlResponse",
|
|
2348
|
+
});
|
|
2349
|
+
export const ListConfigVerifyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/config/verify", code: 200 }))).annotate({
|
|
2350
|
+
identifier: "ListConfigVerifyRequest",
|
|
2351
|
+
});
|
|
2352
|
+
export const ListConfigVerifyResponseBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2353
|
+
comment: S.optional(S.String),
|
|
2354
|
+
id: S.String,
|
|
2355
|
+
ignore_verified: S.optional(S.Unknown.pipe(T.Body("ignore-verified"))),
|
|
2356
|
+
max_depth: S.optional(S.Number.pipe(T.Body("max-depth"))),
|
|
2357
|
+
ns: S.optional(S.String),
|
|
2358
|
+
outdated_after: S.optional(S.Number.pipe(T.Body("outdated-after"))),
|
|
2359
|
+
read_threads: S.optional(S.Number.pipe(T.Body("read-threads"))),
|
|
2360
|
+
schedule: S.optional(S.String),
|
|
2361
|
+
store: S.String,
|
|
2362
|
+
verify_threads: S.optional(S.Number.pipe(T.Body("verify-threads"))),
|
|
2363
|
+
})).annotate({
|
|
2364
|
+
identifier: "ListConfigVerifyResponseBodyItem",
|
|
2365
|
+
});
|
|
2366
|
+
export const ListConfigVerifyResponseBodyList = /*@__PURE__*/ S.Array(ListConfigVerifyResponseBodyItem);
|
|
2367
|
+
export const ListConfigVerifyResponse = /*@__PURE__*/ S.suspend(() => ListConfigVerifyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
2368
|
+
identifier: "ListConfigVerifyResponse",
|
|
2369
|
+
});
|
|
2370
|
+
export const PutConfigAccessAdRequestDeleteItem = S.String;
|
|
2371
|
+
export const PutConfigAccessAdRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigAccessAdRequestDeleteItem);
|
|
2372
|
+
export const PutConfigAccessAdRequestMode = S.String;
|
|
2373
|
+
export const PutConfigAccessAdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2374
|
+
realm: S.String.pipe(T.Label()),
|
|
2375
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
2376
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
2377
|
+
capath: S.optional(S.String),
|
|
2378
|
+
comment: S.optional(S.String),
|
|
2379
|
+
default: S.optional(S.String),
|
|
2380
|
+
delete: S.optional(PutConfigAccessAdRequestDeleteList),
|
|
2381
|
+
digest: S.optional(S.String),
|
|
2382
|
+
filter: S.optional(S.String),
|
|
2383
|
+
mode: S.optional(PutConfigAccessAdRequestMode),
|
|
2384
|
+
password: S.optional(S.String),
|
|
2385
|
+
port: S.optional(S.String),
|
|
2386
|
+
server1: S.optional(S.String),
|
|
2387
|
+
server2: S.optional(S.String),
|
|
2388
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
2389
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
2390
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
2391
|
+
verify: S.optional(S.String),
|
|
2392
|
+
}).pipe(T.Http({
|
|
2393
|
+
method: "PUT",
|
|
2394
|
+
uri: "/config/access/ad/{realm}",
|
|
2395
|
+
code: 200,
|
|
2396
|
+
contentType: "form-urlencoded",
|
|
2397
|
+
}))).annotate({
|
|
2398
|
+
identifier: "PutConfigAccessAdRequest",
|
|
2399
|
+
});
|
|
2400
|
+
export const PutConfigAccessAdResponseMode = S.String;
|
|
2401
|
+
export const PutConfigAccessAdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2402
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
2403
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
2404
|
+
capath: S.optional(S.String),
|
|
2405
|
+
comment: S.optional(S.String),
|
|
2406
|
+
default: S.optional(S.Unknown),
|
|
2407
|
+
filter: S.optional(S.String),
|
|
2408
|
+
mode: S.optional(PutConfigAccessAdResponseMode),
|
|
2409
|
+
port: S.optional(S.Number),
|
|
2410
|
+
realm: S.String,
|
|
2411
|
+
server1: S.String,
|
|
2412
|
+
server2: S.optional(S.String),
|
|
2413
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
2414
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
2415
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
2416
|
+
verify: S.optional(S.Unknown),
|
|
2417
|
+
})).annotate({
|
|
2418
|
+
identifier: "PutConfigAccessAdResponse",
|
|
2419
|
+
});
|
|
2420
|
+
export const PutConfigAccessLdapRequestDeleteItem = S.String;
|
|
2421
|
+
export const PutConfigAccessLdapRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigAccessLdapRequestDeleteItem);
|
|
2422
|
+
export const PutConfigAccessLdapRequestMode = S.String;
|
|
2423
|
+
export const PutConfigAccessLdapRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2424
|
+
realm: S.String.pipe(T.Label()),
|
|
2425
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
2426
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
2427
|
+
capath: S.optional(S.String),
|
|
2428
|
+
comment: S.optional(S.String),
|
|
2429
|
+
default: S.optional(S.String),
|
|
2430
|
+
delete: S.optional(PutConfigAccessLdapRequestDeleteList),
|
|
2431
|
+
digest: S.optional(S.String),
|
|
2432
|
+
filter: S.optional(S.String),
|
|
2433
|
+
mode: S.optional(PutConfigAccessLdapRequestMode),
|
|
2434
|
+
password: S.optional(S.String),
|
|
2435
|
+
port: S.optional(S.String),
|
|
2436
|
+
server1: S.optional(S.String),
|
|
2437
|
+
server2: S.optional(S.String),
|
|
2438
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
2439
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
2440
|
+
user_attr: S.optional(S.String.pipe(T.Body("user-attr"))),
|
|
2441
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
2442
|
+
verify: S.optional(S.String),
|
|
2443
|
+
}).pipe(T.Http({
|
|
2444
|
+
method: "PUT",
|
|
2445
|
+
uri: "/config/access/ldap/{realm}",
|
|
2446
|
+
code: 200,
|
|
2447
|
+
contentType: "form-urlencoded",
|
|
2448
|
+
}))).annotate({
|
|
2449
|
+
identifier: "PutConfigAccessLdapRequest",
|
|
2450
|
+
});
|
|
2451
|
+
export const PutConfigAccessLdapResponseMode = S.String;
|
|
2452
|
+
export const PutConfigAccessLdapResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2453
|
+
base_dn: S.optional(S.String.pipe(T.Body("base-dn"))),
|
|
2454
|
+
bind_dn: S.optional(S.String.pipe(T.Body("bind-dn"))),
|
|
2455
|
+
capath: S.optional(S.String),
|
|
2456
|
+
comment: S.optional(S.String),
|
|
2457
|
+
default: S.optional(S.Unknown),
|
|
2458
|
+
filter: S.optional(S.String),
|
|
2459
|
+
mode: S.optional(PutConfigAccessLdapResponseMode),
|
|
2460
|
+
port: S.optional(S.Number),
|
|
2461
|
+
realm: S.String,
|
|
2462
|
+
server1: S.String,
|
|
2463
|
+
server2: S.optional(S.String),
|
|
2464
|
+
sync_attributes: S.optional(S.String.pipe(T.Body("sync-attributes"))),
|
|
2465
|
+
sync_defaults_options: S.optional(S.String.pipe(T.Body("sync-defaults-options"))),
|
|
2466
|
+
user_attr: S.optional(S.String.pipe(T.Body("user-attr"))),
|
|
2467
|
+
user_classes: S.optional(S.String.pipe(T.Body("user-classes"))),
|
|
2468
|
+
verify: S.optional(S.Unknown),
|
|
2469
|
+
})).annotate({
|
|
2470
|
+
identifier: "PutConfigAccessLdapResponse",
|
|
2471
|
+
});
|
|
2472
|
+
export const PutConfigAccessOpenidRequestDeleteItem = S.String;
|
|
2473
|
+
export const PutConfigAccessOpenidRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigAccessOpenidRequestDeleteItem);
|
|
2474
|
+
export const PutConfigAccessOpenidRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2475
|
+
realm: S.String.pipe(T.Label()),
|
|
2476
|
+
acr_values: S.optional(S.String.pipe(T.Body("acr-values"))),
|
|
2477
|
+
audiences: S.optional(S.String),
|
|
2478
|
+
autocreate: S.optional(S.String),
|
|
2479
|
+
client_id: S.optional(S.String.pipe(T.Body("client-id"))),
|
|
2480
|
+
client_key: S.optional(S.String.pipe(T.Body("client-key"))),
|
|
2481
|
+
comment: S.optional(S.String),
|
|
2482
|
+
default: S.optional(S.String),
|
|
2483
|
+
delete: S.optional(PutConfigAccessOpenidRequestDeleteList),
|
|
2484
|
+
digest: S.optional(S.String),
|
|
2485
|
+
issuer_url: S.optional(S.String.pipe(T.Body("issuer-url"))),
|
|
2486
|
+
prompt: S.optional(S.String),
|
|
2487
|
+
scopes: S.optional(S.String),
|
|
2488
|
+
}).pipe(T.Http({
|
|
2489
|
+
method: "PUT",
|
|
2490
|
+
uri: "/config/access/openid/{realm}",
|
|
2491
|
+
code: 200,
|
|
2492
|
+
contentType: "form-urlencoded",
|
|
2493
|
+
}))).annotate({
|
|
2494
|
+
identifier: "PutConfigAccessOpenidRequest",
|
|
2495
|
+
});
|
|
2496
|
+
export const PutConfigAccessOpenidResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2497
|
+
acr_values: S.optional(S.String.pipe(T.Body("acr-values"))),
|
|
2498
|
+
audiences: S.optional(S.String),
|
|
2499
|
+
autocreate: S.optional(S.Unknown),
|
|
2500
|
+
client_id: S.optional(S.String.pipe(T.Body("client-id"))),
|
|
2501
|
+
client_key: S.optional(S.String.pipe(T.Body("client-key"))),
|
|
2502
|
+
comment: S.optional(S.String),
|
|
2503
|
+
default: S.optional(S.Unknown),
|
|
2504
|
+
issuer_url: S.optional(S.String.pipe(T.Body("issuer-url"))),
|
|
2505
|
+
prompt: S.optional(S.String),
|
|
2506
|
+
realm: S.String,
|
|
2507
|
+
scopes: S.optional(S.String),
|
|
2508
|
+
username_claim: S.optional(S.String.pipe(T.Body("username-claim"))),
|
|
2509
|
+
})).annotate({
|
|
2510
|
+
identifier: "PutConfigAccessOpenidResponse",
|
|
2511
|
+
});
|
|
2512
|
+
export const PutConfigAccessPamRequestDeleteItem = S.String;
|
|
2513
|
+
export const PutConfigAccessPamRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigAccessPamRequestDeleteItem);
|
|
2514
|
+
export const PutConfigAccessPamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2515
|
+
comment: S.optional(S.String),
|
|
2516
|
+
default: S.optional(S.String),
|
|
2517
|
+
delete: S.optional(PutConfigAccessPamRequestDeleteList),
|
|
2518
|
+
digest: S.optional(S.String),
|
|
2519
|
+
}).pipe(T.Http({
|
|
2520
|
+
method: "PUT",
|
|
2521
|
+
uri: "/config/access/pam",
|
|
2522
|
+
code: 200,
|
|
2523
|
+
contentType: "form-urlencoded",
|
|
2524
|
+
}))).annotate({
|
|
2525
|
+
identifier: "PutConfigAccessPamRequest",
|
|
2526
|
+
});
|
|
2527
|
+
export const PutConfigAccessPamResponseType = S.String;
|
|
2528
|
+
export const PutConfigAccessPamResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2529
|
+
comment: S.optional(S.String),
|
|
2530
|
+
default: S.optional(S.Unknown),
|
|
2531
|
+
realm: S.String,
|
|
2532
|
+
type: PutConfigAccessPamResponseType,
|
|
2533
|
+
})).annotate({
|
|
2534
|
+
identifier: "PutConfigAccessPamResponse",
|
|
2535
|
+
});
|
|
2536
|
+
export const PutConfigAccessPbsRequestDeleteItem = S.String;
|
|
2537
|
+
export const PutConfigAccessPbsRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigAccessPbsRequestDeleteItem);
|
|
2538
|
+
export const PutConfigAccessPbsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2539
|
+
comment: S.optional(S.String),
|
|
2540
|
+
default: S.optional(S.String),
|
|
2541
|
+
delete: S.optional(PutConfigAccessPbsRequestDeleteList),
|
|
2542
|
+
digest: S.optional(S.String),
|
|
2543
|
+
}).pipe(T.Http({
|
|
2544
|
+
method: "PUT",
|
|
2545
|
+
uri: "/config/access/pbs",
|
|
2546
|
+
code: 200,
|
|
2547
|
+
contentType: "form-urlencoded",
|
|
2548
|
+
}))).annotate({
|
|
2549
|
+
identifier: "PutConfigAccessPbsRequest",
|
|
2550
|
+
});
|
|
2551
|
+
export const PutConfigAccessPbsResponseType = S.String;
|
|
2552
|
+
export const PutConfigAccessPbsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2553
|
+
comment: S.optional(S.String),
|
|
2554
|
+
default: S.optional(S.Unknown),
|
|
2555
|
+
realm: S.String,
|
|
2556
|
+
type: PutConfigAccessPbsResponseType,
|
|
2557
|
+
})).annotate({
|
|
2558
|
+
identifier: "PutConfigAccessPbsResponse",
|
|
2559
|
+
});
|
|
2560
|
+
export const PutConfigAccessTfaWebauthnRequestDeleteItem = S.String;
|
|
2561
|
+
export const PutConfigAccessTfaWebauthnRequestDeleteList =
|
|
2562
|
+
/*@__PURE__*/ S.Array(PutConfigAccessTfaWebauthnRequestDeleteItem);
|
|
2563
|
+
export const PutConfigAccessTfaWebauthnRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2564
|
+
allow_subdomains: S.optional(S.String.pipe(T.Body("allow-subdomains"))),
|
|
2565
|
+
delete: S.optional(PutConfigAccessTfaWebauthnRequestDeleteList),
|
|
2566
|
+
digest: S.optional(S.String),
|
|
2567
|
+
id: S.optional(S.String),
|
|
2568
|
+
origin: S.optional(S.String),
|
|
2569
|
+
rp: S.optional(S.String),
|
|
2570
|
+
}).pipe(T.Http({
|
|
2571
|
+
method: "PUT",
|
|
2572
|
+
uri: "/config/access/tfa/webauthn",
|
|
2573
|
+
code: 200,
|
|
2574
|
+
contentType: "form-urlencoded",
|
|
2575
|
+
}))).annotate({
|
|
2576
|
+
identifier: "PutConfigAccessTfaWebauthnRequest",
|
|
2577
|
+
});
|
|
2578
|
+
export const PutConfigAccessTfaWebauthnResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2579
|
+
identifier: "PutConfigAccessTfaWebauthnResponse",
|
|
2580
|
+
});
|
|
2581
|
+
export const PutConfigAcmeAccountRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2582
|
+
name: S.String.pipe(T.Label()),
|
|
2583
|
+
contact: S.optional(S.String),
|
|
2584
|
+
}).pipe(T.Http({
|
|
2585
|
+
method: "PUT",
|
|
2586
|
+
uri: "/config/acme/account/{name}",
|
|
2587
|
+
code: 200,
|
|
2588
|
+
contentType: "form-urlencoded",
|
|
2589
|
+
}))).annotate({
|
|
2590
|
+
identifier: "PutConfigAcmeAccountRequest",
|
|
2591
|
+
});
|
|
2592
|
+
export const PutConfigAcmeAccountResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2593
|
+
identifier: "PutConfigAcmeAccountResponse",
|
|
2594
|
+
});
|
|
2595
|
+
export const PutConfigAcmePluginRequestDeleteItem = S.String;
|
|
2596
|
+
export const PutConfigAcmePluginRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigAcmePluginRequestDeleteItem);
|
|
2597
|
+
export const PutConfigAcmePluginRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2598
|
+
id: S.String.pipe(T.Label()),
|
|
2599
|
+
api: S.optional(S.String),
|
|
2600
|
+
data: S.optional(S.String),
|
|
2601
|
+
delete: S.optional(PutConfigAcmePluginRequestDeleteList),
|
|
2602
|
+
digest: S.optional(S.String),
|
|
2603
|
+
disable: S.optional(S.String),
|
|
2604
|
+
validation_delay: S.optional(S.String.pipe(T.Body("validation-delay"))),
|
|
2605
|
+
}).pipe(T.Http({
|
|
2606
|
+
method: "PUT",
|
|
2607
|
+
uri: "/config/acme/plugins/{id}",
|
|
2608
|
+
code: 200,
|
|
2609
|
+
contentType: "form-urlencoded",
|
|
2610
|
+
}))).annotate({
|
|
2611
|
+
identifier: "PutConfigAcmePluginRequest",
|
|
2612
|
+
});
|
|
2613
|
+
export const PutConfigAcmePluginResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2614
|
+
identifier: "PutConfigAcmePluginResponse",
|
|
2615
|
+
});
|
|
2616
|
+
export const PutConfigChangerRequestDeleteItem = S.String;
|
|
2617
|
+
export const PutConfigChangerRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigChangerRequestDeleteItem);
|
|
2618
|
+
export const PutConfigChangerRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2619
|
+
name: S.String.pipe(T.Label()),
|
|
2620
|
+
delete: S.optional(PutConfigChangerRequestDeleteList),
|
|
2621
|
+
digest: S.optional(S.String),
|
|
2622
|
+
eject_before_unload: S.optional(S.String.pipe(T.Body("eject-before-unload"))),
|
|
2623
|
+
export_slots: S.optional(S.String.pipe(T.Body("export-slots"))),
|
|
2624
|
+
path: S.optional(S.String),
|
|
2625
|
+
}).pipe(T.Http({
|
|
2626
|
+
method: "PUT",
|
|
2627
|
+
uri: "/config/changer/{name}",
|
|
2628
|
+
code: 200,
|
|
2629
|
+
contentType: "form-urlencoded",
|
|
2630
|
+
}))).annotate({
|
|
2631
|
+
identifier: "PutConfigChangerRequest",
|
|
2632
|
+
});
|
|
2633
|
+
export const PutConfigChangerResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2634
|
+
identifier: "PutConfigChangerResponse",
|
|
2635
|
+
});
|
|
2636
|
+
export const PutConfigDatastoreRequestDeleteItem = S.String;
|
|
2637
|
+
export const PutConfigDatastoreRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigDatastoreRequestDeleteItem);
|
|
2638
|
+
export const PutConfigDatastoreRequestNotificationMode = S.String;
|
|
2639
|
+
export const PutConfigDatastoreRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2640
|
+
name: S.String.pipe(T.Label()),
|
|
2641
|
+
comment: S.optional(S.String),
|
|
2642
|
+
counter_reset_schedule: S.optional(S.String.pipe(T.Body("counter-reset-schedule"))),
|
|
2643
|
+
delete: S.optional(PutConfigDatastoreRequestDeleteList),
|
|
2644
|
+
digest: S.optional(S.String),
|
|
2645
|
+
gc_on_unmount: S.optional(S.String.pipe(T.Body("gc-on-unmount"))),
|
|
2646
|
+
gc_schedule: S.optional(S.String.pipe(T.Body("gc-schedule"))),
|
|
2647
|
+
keep_daily: S.optional(S.String.pipe(T.Body("keep-daily"))),
|
|
2648
|
+
keep_hourly: S.optional(S.String.pipe(T.Body("keep-hourly"))),
|
|
2649
|
+
keep_last: S.optional(S.String.pipe(T.Body("keep-last"))),
|
|
2650
|
+
keep_monthly: S.optional(S.String.pipe(T.Body("keep-monthly"))),
|
|
2651
|
+
keep_weekly: S.optional(S.String.pipe(T.Body("keep-weekly"))),
|
|
2652
|
+
keep_yearly: S.optional(S.String.pipe(T.Body("keep-yearly"))),
|
|
2653
|
+
maintenance_mode: S.optional(S.String.pipe(T.Body("maintenance-mode"))),
|
|
2654
|
+
notification_mode: S.optional(PutConfigDatastoreRequestNotificationMode.pipe(T.Body("notification-mode"))),
|
|
2655
|
+
notification_thresholds: S.optional(S.String.pipe(T.Body("notification-thresholds"))),
|
|
2656
|
+
notify: S.optional(S.String),
|
|
2657
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
2658
|
+
prune_schedule: S.optional(S.String.pipe(T.Body("prune-schedule"))),
|
|
2659
|
+
tuning: S.optional(S.String),
|
|
2660
|
+
verify_new: S.optional(S.String.pipe(T.Body("verify-new"))),
|
|
2661
|
+
}).pipe(T.Http({
|
|
2662
|
+
method: "PUT",
|
|
2663
|
+
uri: "/config/datastore/{name}",
|
|
2664
|
+
code: 200,
|
|
2665
|
+
contentType: "form-urlencoded",
|
|
2666
|
+
}))).annotate({
|
|
2667
|
+
identifier: "PutConfigDatastoreRequest",
|
|
2668
|
+
});
|
|
2669
|
+
export const PutConfigDatastoreResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2670
|
+
identifier: "PutConfigDatastoreResponse",
|
|
2671
|
+
});
|
|
2672
|
+
export const PutConfigDriveRequestDeleteItem = S.String;
|
|
2673
|
+
export const PutConfigDriveRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigDriveRequestDeleteItem);
|
|
2674
|
+
export const PutConfigDriveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2675
|
+
name: S.String.pipe(T.Label()),
|
|
2676
|
+
changer: S.optional(S.String),
|
|
2677
|
+
changer_drivenum: S.optional(S.String.pipe(T.Body("changer-drivenum"))),
|
|
2678
|
+
delete: S.optional(PutConfigDriveRequestDeleteList),
|
|
2679
|
+
digest: S.optional(S.String),
|
|
2680
|
+
path: S.optional(S.String),
|
|
2681
|
+
}).pipe(T.Http({
|
|
2682
|
+
method: "PUT",
|
|
2683
|
+
uri: "/config/drive/{name}",
|
|
2684
|
+
code: 200,
|
|
2685
|
+
contentType: "form-urlencoded",
|
|
2686
|
+
}))).annotate({
|
|
2687
|
+
identifier: "PutConfigDriveRequest",
|
|
2688
|
+
});
|
|
2689
|
+
export const PutConfigDriveResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2690
|
+
identifier: "PutConfigDriveResponse",
|
|
2691
|
+
});
|
|
2692
|
+
export const PutConfigMediaPoolRequestDeleteItem = S.String;
|
|
2693
|
+
export const PutConfigMediaPoolRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigMediaPoolRequestDeleteItem);
|
|
2694
|
+
export const PutConfigMediaPoolRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2695
|
+
name: S.String.pipe(T.Label()),
|
|
2696
|
+
allocation: S.optional(S.String),
|
|
2697
|
+
comment: S.optional(S.String),
|
|
2698
|
+
delete: S.optional(PutConfigMediaPoolRequestDeleteList),
|
|
2699
|
+
encrypt: S.optional(S.String),
|
|
2700
|
+
retention: S.optional(S.String),
|
|
2701
|
+
template: S.optional(S.String),
|
|
2702
|
+
}).pipe(T.Http({
|
|
2703
|
+
method: "PUT",
|
|
2704
|
+
uri: "/config/media-pool/{name}",
|
|
2705
|
+
code: 200,
|
|
2706
|
+
contentType: "form-urlencoded",
|
|
2707
|
+
}))).annotate({
|
|
2708
|
+
identifier: "PutConfigMediaPoolRequest",
|
|
2709
|
+
});
|
|
2710
|
+
export const PutConfigMediaPoolResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2711
|
+
identifier: "PutConfigMediaPoolResponse",
|
|
2712
|
+
});
|
|
2713
|
+
export const PutConfigMetricsInfluxdbHttpRequestDeleteItem = S.String;
|
|
2714
|
+
export const PutConfigMetricsInfluxdbHttpRequestDeleteList =
|
|
2715
|
+
/*@__PURE__*/ S.Array(PutConfigMetricsInfluxdbHttpRequestDeleteItem);
|
|
2716
|
+
export const PutConfigMetricsInfluxdbHttpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2717
|
+
name: S.String.pipe(T.Label()),
|
|
2718
|
+
bucket: S.optional(S.String),
|
|
2719
|
+
comment: S.optional(S.String),
|
|
2720
|
+
delete: S.optional(PutConfigMetricsInfluxdbHttpRequestDeleteList),
|
|
2721
|
+
digest: S.optional(S.String),
|
|
2722
|
+
enable: S.optional(S.String),
|
|
2723
|
+
max_body_size: S.optional(S.String.pipe(T.Body("max-body-size"))),
|
|
2724
|
+
organization: S.optional(S.String),
|
|
2725
|
+
token: S.optional(S.String),
|
|
2726
|
+
url: S.optional(S.String),
|
|
2727
|
+
verify_tls: S.optional(S.String.pipe(T.Body("verify-tls"))),
|
|
2728
|
+
}).pipe(T.Http({
|
|
2729
|
+
method: "PUT",
|
|
2730
|
+
uri: "/config/metrics/influxdb-http/{name}",
|
|
2731
|
+
code: 200,
|
|
2732
|
+
contentType: "form-urlencoded",
|
|
2733
|
+
}))).annotate({
|
|
2734
|
+
identifier: "PutConfigMetricsInfluxdbHttpRequest",
|
|
2735
|
+
});
|
|
2736
|
+
export const PutConfigMetricsInfluxdbHttpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2737
|
+
identifier: "PutConfigMetricsInfluxdbHttpResponse",
|
|
2738
|
+
});
|
|
2739
|
+
export const PutConfigMetricsInfluxdbUdpRequestDeleteItem = S.String;
|
|
2740
|
+
export const PutConfigMetricsInfluxdbUdpRequestDeleteList =
|
|
2741
|
+
/*@__PURE__*/ S.Array(PutConfigMetricsInfluxdbUdpRequestDeleteItem);
|
|
2742
|
+
export const PutConfigMetricsInfluxdbUdpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2743
|
+
name: S.String.pipe(T.Label()),
|
|
2744
|
+
comment: S.optional(S.String),
|
|
2745
|
+
delete: S.optional(PutConfigMetricsInfluxdbUdpRequestDeleteList),
|
|
2746
|
+
digest: S.optional(S.String),
|
|
2747
|
+
enable: S.optional(S.String),
|
|
2748
|
+
host: S.optional(S.String),
|
|
2749
|
+
mtu: S.optional(S.String),
|
|
2750
|
+
}).pipe(T.Http({
|
|
2751
|
+
method: "PUT",
|
|
2752
|
+
uri: "/config/metrics/influxdb-udp/{name}",
|
|
2753
|
+
code: 200,
|
|
2754
|
+
contentType: "form-urlencoded",
|
|
2755
|
+
}))).annotate({
|
|
2756
|
+
identifier: "PutConfigMetricsInfluxdbUdpRequest",
|
|
2757
|
+
});
|
|
2758
|
+
export const PutConfigMetricsInfluxdbUdpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2759
|
+
identifier: "PutConfigMetricsInfluxdbUdpResponse",
|
|
2760
|
+
});
|
|
2761
|
+
export const PutConfigNotificationEndpointGotifyRequestDeleteItem = S.String;
|
|
2762
|
+
export const PutConfigNotificationEndpointGotifyRequestDeleteList =
|
|
2763
|
+
/*@__PURE__*/ S.Array(PutConfigNotificationEndpointGotifyRequestDeleteItem);
|
|
2764
|
+
export const PutConfigNotificationEndpointGotifyRequest =
|
|
2765
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2766
|
+
name: S.String.pipe(T.Label()),
|
|
2767
|
+
comment: S.optional(S.String),
|
|
2768
|
+
delete: S.optional(PutConfigNotificationEndpointGotifyRequestDeleteList),
|
|
2769
|
+
digest: S.optional(S.String),
|
|
2770
|
+
disable: S.optional(S.String),
|
|
2771
|
+
server: S.optional(S.String),
|
|
2772
|
+
token: S.optional(S.String),
|
|
2773
|
+
}).pipe(T.Http({
|
|
2774
|
+
method: "PUT",
|
|
2775
|
+
uri: "/config/notifications/endpoints/gotify/{name}",
|
|
2776
|
+
code: 200,
|
|
2777
|
+
contentType: "form-urlencoded",
|
|
2778
|
+
}))).annotate({
|
|
2779
|
+
identifier: "PutConfigNotificationEndpointGotifyRequest",
|
|
2780
|
+
});
|
|
2781
|
+
export const PutConfigNotificationEndpointGotifyResponse =
|
|
2782
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2783
|
+
identifier: "PutConfigNotificationEndpointGotifyResponse",
|
|
2784
|
+
});
|
|
2785
|
+
export const PutConfigNotificationEndpointSendmailRequestDeleteItem = S.String;
|
|
2786
|
+
export const PutConfigNotificationEndpointSendmailRequestDeleteList =
|
|
2787
|
+
/*@__PURE__*/ S.Array(PutConfigNotificationEndpointSendmailRequestDeleteItem);
|
|
2788
|
+
export const PutConfigNotificationEndpointSendmailRequestMailtoList =
|
|
2789
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2790
|
+
export const PutConfigNotificationEndpointSendmailRequestMailtoUserList =
|
|
2791
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2792
|
+
export const PutConfigNotificationEndpointSendmailRequest =
|
|
2793
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2794
|
+
name: S.String.pipe(T.Label()),
|
|
2795
|
+
author: S.optional(S.String),
|
|
2796
|
+
comment: S.optional(S.String),
|
|
2797
|
+
delete: S.optional(PutConfigNotificationEndpointSendmailRequestDeleteList),
|
|
2798
|
+
digest: S.optional(S.String),
|
|
2799
|
+
disable: S.optional(S.String),
|
|
2800
|
+
from_address: S.optional(S.String.pipe(T.Body("from-address"))),
|
|
2801
|
+
mailto: S.optional(PutConfigNotificationEndpointSendmailRequestMailtoList),
|
|
2802
|
+
mailto_user: S.optional(PutConfigNotificationEndpointSendmailRequestMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
2803
|
+
}).pipe(T.Http({
|
|
2804
|
+
method: "PUT",
|
|
2805
|
+
uri: "/config/notifications/endpoints/sendmail/{name}",
|
|
2806
|
+
code: 200,
|
|
2807
|
+
contentType: "form-urlencoded",
|
|
2808
|
+
}))).annotate({
|
|
2809
|
+
identifier: "PutConfigNotificationEndpointSendmailRequest",
|
|
2810
|
+
});
|
|
2811
|
+
export const PutConfigNotificationEndpointSendmailResponse =
|
|
2812
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2813
|
+
identifier: "PutConfigNotificationEndpointSendmailResponse",
|
|
2814
|
+
});
|
|
2815
|
+
export const PutConfigNotificationEndpointSmtpRequestDeleteItem = S.String;
|
|
2816
|
+
export const PutConfigNotificationEndpointSmtpRequestDeleteList =
|
|
2817
|
+
/*@__PURE__*/ S.Array(PutConfigNotificationEndpointSmtpRequestDeleteItem);
|
|
2818
|
+
export const PutConfigNotificationEndpointSmtpRequestMailtoList =
|
|
2819
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2820
|
+
export const PutConfigNotificationEndpointSmtpRequestMailtoUserList =
|
|
2821
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2822
|
+
export const PutConfigNotificationEndpointSmtpRequestMode = S.String;
|
|
2823
|
+
export const PutConfigNotificationEndpointSmtpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2824
|
+
name: S.String.pipe(T.Label()),
|
|
2825
|
+
author: S.optional(S.String),
|
|
2826
|
+
comment: S.optional(S.String),
|
|
2827
|
+
delete: S.optional(PutConfigNotificationEndpointSmtpRequestDeleteList),
|
|
2828
|
+
digest: S.optional(S.String),
|
|
2829
|
+
disable: S.optional(S.String),
|
|
2830
|
+
from_address: S.optional(S.String.pipe(T.Body("from-address"))),
|
|
2831
|
+
mailto: S.optional(PutConfigNotificationEndpointSmtpRequestMailtoList),
|
|
2832
|
+
mailto_user: S.optional(PutConfigNotificationEndpointSmtpRequestMailtoUserList.pipe(T.Body("mailto-user"))),
|
|
2833
|
+
mode: S.optional(PutConfigNotificationEndpointSmtpRequestMode),
|
|
2834
|
+
password: S.optional(S.String),
|
|
2835
|
+
port: S.optional(S.String),
|
|
2836
|
+
server: S.optional(S.String),
|
|
2837
|
+
username: S.optional(S.String),
|
|
2838
|
+
}).pipe(T.Http({
|
|
2839
|
+
method: "PUT",
|
|
2840
|
+
uri: "/config/notifications/endpoints/smtp/{name}",
|
|
2841
|
+
code: 200,
|
|
2842
|
+
contentType: "form-urlencoded",
|
|
2843
|
+
}))).annotate({
|
|
2844
|
+
identifier: "PutConfigNotificationEndpointSmtpRequest",
|
|
2845
|
+
});
|
|
2846
|
+
export const PutConfigNotificationEndpointSmtpResponse =
|
|
2847
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2848
|
+
identifier: "PutConfigNotificationEndpointSmtpResponse",
|
|
2849
|
+
});
|
|
2850
|
+
export const PutConfigNotificationEndpointWebhookRequestDeleteItem = S.String;
|
|
2851
|
+
export const PutConfigNotificationEndpointWebhookRequestDeleteList =
|
|
2852
|
+
/*@__PURE__*/ S.Array(PutConfigNotificationEndpointWebhookRequestDeleteItem);
|
|
2853
|
+
export const PutConfigNotificationEndpointWebhookRequestHeaderList =
|
|
2854
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2855
|
+
export const PutConfigNotificationEndpointWebhookRequestMethod = S.String;
|
|
2856
|
+
export const PutConfigNotificationEndpointWebhookRequestSecretList =
|
|
2857
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2858
|
+
export const PutConfigNotificationEndpointWebhookRequest =
|
|
2859
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2860
|
+
name: S.String.pipe(T.Label()),
|
|
2861
|
+
body: S.optional(S.String),
|
|
2862
|
+
comment: S.optional(S.String),
|
|
2863
|
+
delete: S.optional(PutConfigNotificationEndpointWebhookRequestDeleteList),
|
|
2864
|
+
digest: S.optional(S.String),
|
|
2865
|
+
disable: S.optional(S.String),
|
|
2866
|
+
header: S.optional(PutConfigNotificationEndpointWebhookRequestHeaderList),
|
|
2867
|
+
method: S.optional(PutConfigNotificationEndpointWebhookRequestMethod),
|
|
2868
|
+
secret: S.optional(PutConfigNotificationEndpointWebhookRequestSecretList),
|
|
2869
|
+
url: S.optional(S.String),
|
|
2870
|
+
}).pipe(T.Http({
|
|
2871
|
+
method: "PUT",
|
|
2872
|
+
uri: "/config/notifications/endpoints/webhook/{name}",
|
|
2873
|
+
code: 200,
|
|
2874
|
+
contentType: "form-urlencoded",
|
|
2875
|
+
}))).annotate({
|
|
2876
|
+
identifier: "PutConfigNotificationEndpointWebhookRequest",
|
|
2877
|
+
});
|
|
2878
|
+
export const PutConfigNotificationEndpointWebhookResponse =
|
|
2879
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2880
|
+
identifier: "PutConfigNotificationEndpointWebhookResponse",
|
|
2881
|
+
});
|
|
2882
|
+
export const PutConfigNotificationMatcherRequestDeleteItem = S.String;
|
|
2883
|
+
export const PutConfigNotificationMatcherRequestDeleteList =
|
|
2884
|
+
/*@__PURE__*/ S.Array(PutConfigNotificationMatcherRequestDeleteItem);
|
|
2885
|
+
export const PutConfigNotificationMatcherRequestMatchCalendarList =
|
|
2886
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2887
|
+
export const PutConfigNotificationMatcherRequestMatchFieldList =
|
|
2888
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2889
|
+
export const PutConfigNotificationMatcherRequestMatchSeverityList =
|
|
2890
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2891
|
+
export const PutConfigNotificationMatcherRequestMode = S.String;
|
|
2892
|
+
export const PutConfigNotificationMatcherRequestTargetList =
|
|
2893
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
2894
|
+
export const PutConfigNotificationMatcherRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2895
|
+
name: S.String.pipe(T.Label()),
|
|
2896
|
+
comment: S.optional(S.String),
|
|
2897
|
+
delete: S.optional(PutConfigNotificationMatcherRequestDeleteList),
|
|
2898
|
+
digest: S.optional(S.String),
|
|
2899
|
+
disable: S.optional(S.String),
|
|
2900
|
+
invert_match: S.optional(S.String.pipe(T.Body("invert-match"))),
|
|
2901
|
+
match_calendar: S.optional(PutConfigNotificationMatcherRequestMatchCalendarList.pipe(T.Body("match-calendar"))),
|
|
2902
|
+
match_field: S.optional(PutConfigNotificationMatcherRequestMatchFieldList.pipe(T.Body("match-field"))),
|
|
2903
|
+
match_severity: S.optional(PutConfigNotificationMatcherRequestMatchSeverityList.pipe(T.Body("match-severity"))),
|
|
2904
|
+
mode: S.optional(PutConfigNotificationMatcherRequestMode),
|
|
2905
|
+
target: S.optional(PutConfigNotificationMatcherRequestTargetList),
|
|
2906
|
+
}).pipe(T.Http({
|
|
2907
|
+
method: "PUT",
|
|
2908
|
+
uri: "/config/notifications/matchers/{name}",
|
|
2909
|
+
code: 200,
|
|
2910
|
+
contentType: "form-urlencoded",
|
|
2911
|
+
}))).annotate({
|
|
2912
|
+
identifier: "PutConfigNotificationMatcherRequest",
|
|
2913
|
+
});
|
|
2914
|
+
export const PutConfigNotificationMatcherResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2915
|
+
identifier: "PutConfigNotificationMatcherResponse",
|
|
2916
|
+
});
|
|
2917
|
+
export const PutConfigPruneRequestDeleteItem = S.String;
|
|
2918
|
+
export const PutConfigPruneRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigPruneRequestDeleteItem);
|
|
2919
|
+
export const PutConfigPruneRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2920
|
+
id: S.String.pipe(T.Label()),
|
|
2921
|
+
comment: S.optional(S.String),
|
|
2922
|
+
delete: S.optional(PutConfigPruneRequestDeleteList),
|
|
2923
|
+
digest: S.optional(S.String),
|
|
2924
|
+
disable: S.optional(S.String),
|
|
2925
|
+
keep_daily: S.optional(S.String.pipe(T.Body("keep-daily"))),
|
|
2926
|
+
keep_hourly: S.optional(S.String.pipe(T.Body("keep-hourly"))),
|
|
2927
|
+
keep_last: S.optional(S.String.pipe(T.Body("keep-last"))),
|
|
2928
|
+
keep_monthly: S.optional(S.String.pipe(T.Body("keep-monthly"))),
|
|
2929
|
+
keep_weekly: S.optional(S.String.pipe(T.Body("keep-weekly"))),
|
|
2930
|
+
keep_yearly: S.optional(S.String.pipe(T.Body("keep-yearly"))),
|
|
2931
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
2932
|
+
ns: S.optional(S.String),
|
|
2933
|
+
schedule: S.optional(S.String),
|
|
2934
|
+
store: S.optional(S.String),
|
|
2935
|
+
}).pipe(T.Http({
|
|
2936
|
+
method: "PUT",
|
|
2937
|
+
uri: "/config/prune/{id}",
|
|
2938
|
+
code: 200,
|
|
2939
|
+
contentType: "form-urlencoded",
|
|
2940
|
+
}))).annotate({
|
|
2941
|
+
identifier: "PutConfigPruneRequest",
|
|
2942
|
+
});
|
|
2943
|
+
export const PutConfigPruneResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2944
|
+
identifier: "PutConfigPruneResponse",
|
|
2945
|
+
});
|
|
2946
|
+
export const PutConfigRemoteRequestDeleteItem = S.String;
|
|
2947
|
+
export const PutConfigRemoteRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigRemoteRequestDeleteItem);
|
|
2948
|
+
export const PutConfigRemoteRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2949
|
+
name: S.String.pipe(T.Label()),
|
|
2950
|
+
auth_id: S.optional(S.String.pipe(T.Body("auth-id"))),
|
|
2951
|
+
comment: S.optional(S.String),
|
|
2952
|
+
delete: S.optional(PutConfigRemoteRequestDeleteList),
|
|
2953
|
+
digest: S.optional(S.String),
|
|
2954
|
+
fingerprint: S.optional(S.String),
|
|
2955
|
+
host: S.optional(S.String),
|
|
2956
|
+
password: S.optional(S.String),
|
|
2957
|
+
port: S.optional(S.String),
|
|
2958
|
+
use_node_proxy: S.optional(S.String.pipe(T.Body("use-node-proxy"))),
|
|
2959
|
+
}).pipe(T.Http({
|
|
2960
|
+
method: "PUT",
|
|
2961
|
+
uri: "/config/remote/{name}",
|
|
2962
|
+
code: 200,
|
|
2963
|
+
contentType: "form-urlencoded",
|
|
2964
|
+
}))).annotate({
|
|
2965
|
+
identifier: "PutConfigRemoteRequest",
|
|
2966
|
+
});
|
|
2967
|
+
export const PutConfigRemoteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2968
|
+
identifier: "PutConfigRemoteResponse",
|
|
2969
|
+
});
|
|
2970
|
+
export const PutConfigS3RequestDeleteItem = S.String;
|
|
2971
|
+
export const PutConfigS3RequestDeleteList = /*@__PURE__*/ S.Array(PutConfigS3RequestDeleteItem);
|
|
2972
|
+
export const PutConfigS3RequestProviderQuirksItem = S.String;
|
|
2973
|
+
export const PutConfigS3RequestProviderQuirksList = /*@__PURE__*/ S.Array(PutConfigS3RequestProviderQuirksItem);
|
|
2974
|
+
export const PutConfigS3Request = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
2975
|
+
id: S.String.pipe(T.Label()),
|
|
2976
|
+
access_key: S.optional(S.String.pipe(T.Body("access-key"))),
|
|
2977
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
2978
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
2979
|
+
delete: S.optional(PutConfigS3RequestDeleteList),
|
|
2980
|
+
digest: S.optional(S.String),
|
|
2981
|
+
endpoint: S.optional(S.String),
|
|
2982
|
+
fingerprint: S.optional(S.String),
|
|
2983
|
+
path_style: S.optional(S.String.pipe(T.Body("path-style"))),
|
|
2984
|
+
port: S.optional(S.String),
|
|
2985
|
+
provider_quirks: S.optional(PutConfigS3RequestProviderQuirksList.pipe(T.Body("provider-quirks"))),
|
|
2986
|
+
put_rate_limit: S.optional(S.String.pipe(T.Body("put-rate-limit"))),
|
|
2987
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
2988
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
2989
|
+
region: S.optional(S.String),
|
|
2990
|
+
secret_key: S.optional(S.String.pipe(T.Body("secret-key"))),
|
|
2991
|
+
}).pipe(T.Http({
|
|
2992
|
+
method: "PUT",
|
|
2993
|
+
uri: "/config/s3/{id}",
|
|
2994
|
+
code: 200,
|
|
2995
|
+
contentType: "form-urlencoded",
|
|
2996
|
+
}))).annotate({
|
|
2997
|
+
identifier: "PutConfigS3Request",
|
|
2998
|
+
});
|
|
2999
|
+
export const PutConfigS3Response = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3000
|
+
identifier: "PutConfigS3Response",
|
|
3001
|
+
});
|
|
3002
|
+
export const PutConfigSyncRequestAssociatedKeyList = /*@__PURE__*/ S.Array(S.String);
|
|
3003
|
+
export const PutConfigSyncRequestDeleteItem = S.String;
|
|
3004
|
+
export const PutConfigSyncRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigSyncRequestDeleteItem);
|
|
3005
|
+
export const PutConfigSyncRequestGroupFilterList = /*@__PURE__*/ S.Array(S.String);
|
|
3006
|
+
export const PutConfigSyncRequestSyncDirection = S.String;
|
|
3007
|
+
export const PutConfigSyncRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3008
|
+
id: S.String.pipe(T.Label()),
|
|
3009
|
+
active_encryption_key: S.optional(S.String.pipe(T.Body("active-encryption-key"))),
|
|
3010
|
+
associated_key: S.optional(PutConfigSyncRequestAssociatedKeyList.pipe(T.Body("associated-key"))),
|
|
3011
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
3012
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
3013
|
+
comment: S.optional(S.String),
|
|
3014
|
+
delete: S.optional(PutConfigSyncRequestDeleteList),
|
|
3015
|
+
digest: S.optional(S.String),
|
|
3016
|
+
encrypted_only: S.optional(S.String.pipe(T.Body("encrypted-only"))),
|
|
3017
|
+
group_filter: S.optional(PutConfigSyncRequestGroupFilterList.pipe(T.Body("group-filter"))),
|
|
3018
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
3019
|
+
ns: S.optional(S.String),
|
|
3020
|
+
owner: S.optional(S.String),
|
|
3021
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
3022
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
3023
|
+
remote: S.optional(S.String),
|
|
3024
|
+
remote_ns: S.optional(S.String.pipe(T.Body("remote-ns"))),
|
|
3025
|
+
remote_store: S.optional(S.String.pipe(T.Body("remote-store"))),
|
|
3026
|
+
remove_vanished: S.optional(S.String.pipe(T.Body("remove-vanished"))),
|
|
3027
|
+
resync_corrupt: S.optional(S.String.pipe(T.Body("resync-corrupt"))),
|
|
3028
|
+
run_on_mount: S.optional(S.String.pipe(T.Body("run-on-mount"))),
|
|
3029
|
+
schedule: S.optional(S.String),
|
|
3030
|
+
store: S.optional(S.String),
|
|
3031
|
+
sync_direction: S.optional(PutConfigSyncRequestSyncDirection.pipe(T.Body("sync-direction"))),
|
|
3032
|
+
transfer_last: S.optional(S.String.pipe(T.Body("transfer-last"))),
|
|
3033
|
+
unmount_on_done: S.optional(S.String.pipe(T.Body("unmount-on-done"))),
|
|
3034
|
+
verified_only: S.optional(S.String.pipe(T.Body("verified-only"))),
|
|
3035
|
+
worker_threads: S.optional(S.String.pipe(T.Body("worker-threads"))),
|
|
3036
|
+
}).pipe(T.Http({
|
|
3037
|
+
method: "PUT",
|
|
3038
|
+
uri: "/config/sync/{id}",
|
|
3039
|
+
code: 200,
|
|
3040
|
+
contentType: "form-urlencoded",
|
|
3041
|
+
}))).annotate({
|
|
3042
|
+
identifier: "PutConfigSyncRequest",
|
|
3043
|
+
});
|
|
3044
|
+
export const PutConfigSyncResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3045
|
+
identifier: "PutConfigSyncResponse",
|
|
3046
|
+
});
|
|
3047
|
+
export const PutConfigTapeBackupJobRequestDeleteItem = S.String;
|
|
3048
|
+
export const PutConfigTapeBackupJobRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigTapeBackupJobRequestDeleteItem);
|
|
3049
|
+
export const PutConfigTapeBackupJobRequestGroupFilterList =
|
|
3050
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
3051
|
+
export const PutConfigTapeBackupJobRequestNotificationMode = S.String;
|
|
3052
|
+
export const PutConfigTapeBackupJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3053
|
+
id: S.String.pipe(T.Label()),
|
|
3054
|
+
comment: S.optional(S.String),
|
|
3055
|
+
delete: S.optional(PutConfigTapeBackupJobRequestDeleteList),
|
|
3056
|
+
digest: S.optional(S.String),
|
|
3057
|
+
drive: S.optional(S.String),
|
|
3058
|
+
eject_media: S.optional(S.String.pipe(T.Body("eject-media"))),
|
|
3059
|
+
export_media_set: S.optional(S.String.pipe(T.Body("export-media-set"))),
|
|
3060
|
+
group_filter: S.optional(PutConfigTapeBackupJobRequestGroupFilterList.pipe(T.Body("group-filter"))),
|
|
3061
|
+
latest_only: S.optional(S.String.pipe(T.Body("latest-only"))),
|
|
3062
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
3063
|
+
notification_mode: S.optional(PutConfigTapeBackupJobRequestNotificationMode.pipe(T.Body("notification-mode"))),
|
|
3064
|
+
notify_user: S.optional(S.String.pipe(T.Body("notify-user"))),
|
|
3065
|
+
ns: S.optional(S.String),
|
|
3066
|
+
pool: S.optional(S.String),
|
|
3067
|
+
schedule: S.optional(S.String),
|
|
3068
|
+
store: S.optional(S.String),
|
|
3069
|
+
worker_threads: S.optional(S.String.pipe(T.Body("worker-threads"))),
|
|
3070
|
+
}).pipe(T.Http({
|
|
3071
|
+
method: "PUT",
|
|
3072
|
+
uri: "/config/tape-backup-job/{id}",
|
|
3073
|
+
code: 200,
|
|
3074
|
+
contentType: "form-urlencoded",
|
|
3075
|
+
}))).annotate({
|
|
3076
|
+
identifier: "PutConfigTapeBackupJobRequest",
|
|
3077
|
+
});
|
|
3078
|
+
export const PutConfigTapeBackupJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3079
|
+
identifier: "PutConfigTapeBackupJobResponse",
|
|
3080
|
+
});
|
|
3081
|
+
export const PutConfigTapeEncryptionKeyRequestKdf = S.String;
|
|
3082
|
+
export const PutConfigTapeEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3083
|
+
fingerprint: S.String.pipe(T.Label()),
|
|
3084
|
+
digest: S.optional(S.String),
|
|
3085
|
+
force: S.optional(S.String),
|
|
3086
|
+
hint: S.String,
|
|
3087
|
+
kdf: S.optional(PutConfigTapeEncryptionKeyRequestKdf),
|
|
3088
|
+
new_password: S.String.pipe(T.Body("new-password")),
|
|
3089
|
+
password: S.optional(S.String),
|
|
3090
|
+
}).pipe(T.Http({
|
|
3091
|
+
method: "PUT",
|
|
3092
|
+
uri: "/config/tape-encryption-keys/{fingerprint}",
|
|
3093
|
+
code: 200,
|
|
3094
|
+
contentType: "form-urlencoded",
|
|
3095
|
+
}))).annotate({
|
|
3096
|
+
identifier: "PutConfigTapeEncryptionKeyRequest",
|
|
3097
|
+
});
|
|
3098
|
+
export const PutConfigTapeEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3099
|
+
identifier: "PutConfigTapeEncryptionKeyResponse",
|
|
3100
|
+
});
|
|
3101
|
+
export const PutConfigTrafficControlRequestDeleteItem = S.String;
|
|
3102
|
+
export const PutConfigTrafficControlRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigTrafficControlRequestDeleteItem);
|
|
3103
|
+
export const PutConfigTrafficControlRequestNetworkList = /*@__PURE__*/ S.Array(S.String);
|
|
3104
|
+
export const PutConfigTrafficControlRequestTimeframeList =
|
|
3105
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
3106
|
+
export const PutConfigTrafficControlRequestUsersList = /*@__PURE__*/ S.Array(S.String);
|
|
3107
|
+
export const PutConfigTrafficControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3108
|
+
name: S.String.pipe(T.Label()),
|
|
3109
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
3110
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
3111
|
+
comment: S.optional(S.String),
|
|
3112
|
+
delete: S.optional(PutConfigTrafficControlRequestDeleteList),
|
|
3113
|
+
digest: S.optional(S.String),
|
|
3114
|
+
network: S.optional(PutConfigTrafficControlRequestNetworkList),
|
|
3115
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
3116
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
3117
|
+
timeframe: S.optional(PutConfigTrafficControlRequestTimeframeList),
|
|
3118
|
+
users: S.optional(PutConfigTrafficControlRequestUsersList),
|
|
3119
|
+
}).pipe(T.Http({
|
|
3120
|
+
method: "PUT",
|
|
3121
|
+
uri: "/config/traffic-control/{name}",
|
|
3122
|
+
code: 200,
|
|
3123
|
+
contentType: "form-urlencoded",
|
|
3124
|
+
}))).annotate({
|
|
3125
|
+
identifier: "PutConfigTrafficControlRequest",
|
|
3126
|
+
});
|
|
3127
|
+
export const PutConfigTrafficControlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3128
|
+
identifier: "PutConfigTrafficControlResponse",
|
|
3129
|
+
});
|
|
3130
|
+
export const PutConfigVerifyRequestDeleteItem = S.String;
|
|
3131
|
+
export const PutConfigVerifyRequestDeleteList = /*@__PURE__*/ S.Array(PutConfigVerifyRequestDeleteItem);
|
|
3132
|
+
export const PutConfigVerifyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3133
|
+
id: S.String.pipe(T.Label()),
|
|
3134
|
+
comment: S.optional(S.String),
|
|
3135
|
+
delete: S.optional(PutConfigVerifyRequestDeleteList),
|
|
3136
|
+
digest: S.optional(S.String),
|
|
3137
|
+
ignore_verified: S.optional(S.String.pipe(T.Body("ignore-verified"))),
|
|
3138
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
3139
|
+
ns: S.optional(S.String),
|
|
3140
|
+
outdated_after: S.optional(S.String.pipe(T.Body("outdated-after"))),
|
|
3141
|
+
read_threads: S.optional(S.String.pipe(T.Body("read-threads"))),
|
|
3142
|
+
schedule: S.optional(S.String),
|
|
3143
|
+
store: S.optional(S.String),
|
|
3144
|
+
verify_threads: S.optional(S.String.pipe(T.Body("verify-threads"))),
|
|
3145
|
+
}).pipe(T.Http({
|
|
3146
|
+
method: "PUT",
|
|
3147
|
+
uri: "/config/verify/{id}",
|
|
3148
|
+
code: 200,
|
|
3149
|
+
contentType: "form-urlencoded",
|
|
3150
|
+
}))).annotate({
|
|
3151
|
+
identifier: "PutConfigVerifyRequest",
|
|
3152
|
+
});
|
|
3153
|
+
export const PutConfigVerifyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3154
|
+
identifier: "PutConfigVerifyResponse",
|
|
3155
|
+
});
|
|
3156
|
+
export const SyncConfigRequestAssociatedKeyList = /*@__PURE__*/ S.Array(S.String);
|
|
3157
|
+
export const SyncConfigRequestGroupFilterList = /*@__PURE__*/ S.Array(S.String);
|
|
3158
|
+
export const SyncConfigRequestSyncDirection = S.String;
|
|
3159
|
+
export const SyncConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3160
|
+
active_encryption_key: S.optional(S.String.pipe(T.Body("active-encryption-key"))),
|
|
3161
|
+
associated_key: S.optional(SyncConfigRequestAssociatedKeyList.pipe(T.Body("associated-key"))),
|
|
3162
|
+
burst_in: S.optional(S.String.pipe(T.Body("burst-in"))),
|
|
3163
|
+
burst_out: S.optional(S.String.pipe(T.Body("burst-out"))),
|
|
3164
|
+
comment: S.optional(S.String),
|
|
3165
|
+
encrypted_only: S.optional(S.String.pipe(T.Body("encrypted-only"))),
|
|
3166
|
+
group_filter: S.optional(SyncConfigRequestGroupFilterList.pipe(T.Body("group-filter"))),
|
|
3167
|
+
id: S.String,
|
|
3168
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
3169
|
+
ns: S.optional(S.String),
|
|
3170
|
+
owner: S.optional(S.String),
|
|
3171
|
+
rate_in: S.optional(S.String.pipe(T.Body("rate-in"))),
|
|
3172
|
+
rate_out: S.optional(S.String.pipe(T.Body("rate-out"))),
|
|
3173
|
+
remote: S.optional(S.String),
|
|
3174
|
+
remote_ns: S.optional(S.String.pipe(T.Body("remote-ns"))),
|
|
3175
|
+
remote_store: S.String.pipe(T.Body("remote-store")),
|
|
3176
|
+
remove_vanished: S.optional(S.String.pipe(T.Body("remove-vanished"))),
|
|
3177
|
+
resync_corrupt: S.optional(S.String.pipe(T.Body("resync-corrupt"))),
|
|
3178
|
+
run_on_mount: S.optional(S.String.pipe(T.Body("run-on-mount"))),
|
|
3179
|
+
schedule: S.optional(S.String),
|
|
3180
|
+
store: S.String,
|
|
3181
|
+
sync_direction: S.optional(SyncConfigRequestSyncDirection.pipe(T.Body("sync-direction"))),
|
|
3182
|
+
transfer_last: S.optional(S.String.pipe(T.Body("transfer-last"))),
|
|
3183
|
+
unmount_on_done: S.optional(S.String.pipe(T.Body("unmount-on-done"))),
|
|
3184
|
+
verified_only: S.optional(S.String.pipe(T.Body("verified-only"))),
|
|
3185
|
+
worker_threads: S.optional(S.String.pipe(T.Body("worker-threads"))),
|
|
3186
|
+
}).pipe(T.Http({
|
|
3187
|
+
method: "POST",
|
|
3188
|
+
uri: "/config/sync",
|
|
3189
|
+
code: 200,
|
|
3190
|
+
contentType: "form-urlencoded",
|
|
3191
|
+
}))).annotate({
|
|
3192
|
+
identifier: "SyncConfigRequest",
|
|
3193
|
+
});
|
|
3194
|
+
export const SyncConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3195
|
+
identifier: "SyncConfigResponse",
|
|
3196
|
+
});
|
|
3197
|
+
export const TestConfigNotificationsTargetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3198
|
+
name: S.String.pipe(T.Label()),
|
|
3199
|
+
}).pipe(T.Http({
|
|
3200
|
+
method: "POST",
|
|
3201
|
+
uri: "/config/notifications/targets/{name}/test",
|
|
3202
|
+
code: 200,
|
|
3203
|
+
}))).annotate({
|
|
3204
|
+
identifier: "TestConfigNotificationsTargetRequest",
|
|
3205
|
+
});
|
|
3206
|
+
export const TestConfigNotificationsTargetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3207
|
+
identifier: "TestConfigNotificationsTargetResponse",
|
|
3208
|
+
});
|
|
3209
|
+
export const UpdateConfigEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3210
|
+
id: S.String.pipe(T.Label()),
|
|
3211
|
+
digest: S.optional(S.String),
|
|
3212
|
+
}).pipe(T.Http({
|
|
3213
|
+
method: "POST",
|
|
3214
|
+
uri: "/config/encryption-keys/{id}",
|
|
3215
|
+
code: 200,
|
|
3216
|
+
contentType: "form-urlencoded",
|
|
3217
|
+
}))).annotate({
|
|
3218
|
+
identifier: "UpdateConfigEncryptionKeyRequest",
|
|
3219
|
+
});
|
|
3220
|
+
export const UpdateConfigEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3221
|
+
identifier: "UpdateConfigEncryptionKeyResponse",
|
|
3222
|
+
});
|
|
3223
|
+
export const VerifyConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
3224
|
+
comment: S.optional(S.String),
|
|
3225
|
+
id: S.String,
|
|
3226
|
+
ignore_verified: S.optional(S.String.pipe(T.Body("ignore-verified"))),
|
|
3227
|
+
max_depth: S.optional(S.String.pipe(T.Body("max-depth"))),
|
|
3228
|
+
ns: S.optional(S.String),
|
|
3229
|
+
outdated_after: S.optional(S.String.pipe(T.Body("outdated-after"))),
|
|
3230
|
+
read_threads: S.optional(S.String.pipe(T.Body("read-threads"))),
|
|
3231
|
+
schedule: S.optional(S.String),
|
|
3232
|
+
store: S.String,
|
|
3233
|
+
verify_threads: S.optional(S.String.pipe(T.Body("verify-threads"))),
|
|
3234
|
+
}).pipe(T.Http({
|
|
3235
|
+
method: "POST",
|
|
3236
|
+
uri: "/config/verify",
|
|
3237
|
+
code: 200,
|
|
3238
|
+
contentType: "form-urlencoded",
|
|
3239
|
+
}))).annotate({
|
|
3240
|
+
identifier: "VerifyConfigRequest",
|
|
3241
|
+
});
|
|
3242
|
+
export const VerifyConfigResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
3243
|
+
identifier: "VerifyConfigResponse",
|
|
3244
|
+
});
|
|
3245
|
+
/** Create a new AD realm */
|
|
3246
|
+
export const createConfigAccessAd = /*@__PURE__*/ API.make(() => ({
|
|
3247
|
+
input: CreateConfigAccessAdRequest,
|
|
3248
|
+
output: CreateConfigAccessAdResponse,
|
|
3249
|
+
errors: [],
|
|
3250
|
+
protocol: ProxmoxBackupProtocol,
|
|
3251
|
+
retry: Retry.Retry,
|
|
3252
|
+
}));
|
|
3253
|
+
/** Create a new LDAP realm */
|
|
3254
|
+
export const createConfigAccessLdap = /*@__PURE__*/ API.make(() => ({
|
|
3255
|
+
input: CreateConfigAccessLdapRequest,
|
|
3256
|
+
output: CreateConfigAccessLdapResponse,
|
|
3257
|
+
errors: [],
|
|
3258
|
+
protocol: ProxmoxBackupProtocol,
|
|
3259
|
+
retry: Retry.Retry,
|
|
3260
|
+
}));
|
|
3261
|
+
/** Create a new OpenId realm */
|
|
3262
|
+
export const createConfigAccessOpenid = /*@__PURE__*/ API.make(() => ({
|
|
3263
|
+
input: CreateConfigAccessOpenidRequest,
|
|
3264
|
+
output: CreateConfigAccessOpenidResponse,
|
|
3265
|
+
errors: [],
|
|
3266
|
+
protocol: ProxmoxBackupProtocol,
|
|
3267
|
+
retry: Retry.Retry,
|
|
3268
|
+
}));
|
|
3269
|
+
/** Register an ACME account. */
|
|
3270
|
+
export const createConfigAcmeAccount = /*@__PURE__*/ API.make(() => ({
|
|
3271
|
+
input: CreateConfigAcmeAccountRequest,
|
|
3272
|
+
output: CreateConfigAcmeAccountResponse,
|
|
3273
|
+
errors: [],
|
|
3274
|
+
protocol: ProxmoxBackupProtocol,
|
|
3275
|
+
retry: Retry.Retry,
|
|
3276
|
+
}));
|
|
3277
|
+
/** Add ACME plugin configuration. */
|
|
3278
|
+
export const createConfigAcmePlugin = /*@__PURE__*/ API.make(() => ({
|
|
3279
|
+
input: CreateConfigAcmePluginRequest,
|
|
3280
|
+
output: CreateConfigAcmePluginResponse,
|
|
3281
|
+
errors: [],
|
|
3282
|
+
protocol: ProxmoxBackupProtocol,
|
|
3283
|
+
retry: Retry.Retry,
|
|
3284
|
+
}));
|
|
3285
|
+
/** Create a new changer device */
|
|
3286
|
+
export const createConfigChanger = /*@__PURE__*/ API.make(() => ({
|
|
3287
|
+
input: CreateConfigChangerRequest,
|
|
3288
|
+
output: CreateConfigChangerResponse,
|
|
3289
|
+
errors: [],
|
|
3290
|
+
protocol: ProxmoxBackupProtocol,
|
|
3291
|
+
retry: Retry.Retry,
|
|
3292
|
+
}));
|
|
3293
|
+
/** Create new datastore config. */
|
|
3294
|
+
export const createConfigDatastore = /*@__PURE__*/ API.make(() => ({
|
|
3295
|
+
input: CreateConfigDatastoreRequest,
|
|
3296
|
+
output: CreateConfigDatastoreResponse,
|
|
3297
|
+
errors: [],
|
|
3298
|
+
protocol: ProxmoxBackupProtocol,
|
|
3299
|
+
retry: Retry.Retry,
|
|
3300
|
+
}));
|
|
3301
|
+
/** Create a new drive */
|
|
3302
|
+
export const createConfigDrive = /*@__PURE__*/ API.make(() => ({
|
|
3303
|
+
input: CreateConfigDriveRequest,
|
|
3304
|
+
output: CreateConfigDriveResponse,
|
|
3305
|
+
errors: [],
|
|
3306
|
+
protocol: ProxmoxBackupProtocol,
|
|
3307
|
+
retry: Retry.Retry,
|
|
3308
|
+
}));
|
|
3309
|
+
/** Create new encryption key instance or use the provided one. */
|
|
3310
|
+
export const createConfigEncryptionKey = /*@__PURE__*/ API.make(() => ({
|
|
3311
|
+
input: CreateConfigEncryptionKeyRequest,
|
|
3312
|
+
output: CreateConfigEncryptionKeyResponse,
|
|
3313
|
+
errors: [],
|
|
3314
|
+
protocol: ProxmoxBackupProtocol,
|
|
3315
|
+
retry: Retry.Retry,
|
|
3316
|
+
}));
|
|
3317
|
+
/** Create a new media pool */
|
|
3318
|
+
export const createConfigMediaPool = /*@__PURE__*/ API.make(() => ({
|
|
3319
|
+
input: CreateConfigMediaPoolRequest,
|
|
3320
|
+
output: CreateConfigMediaPoolResponse,
|
|
3321
|
+
errors: [],
|
|
3322
|
+
protocol: ProxmoxBackupProtocol,
|
|
3323
|
+
retry: Retry.Retry,
|
|
3324
|
+
}));
|
|
3325
|
+
/** Create a new InfluxDB http server configuration */
|
|
3326
|
+
export const createConfigMetricsInfluxdbHttp = /*@__PURE__*/ API.make(() => ({
|
|
3327
|
+
input: CreateConfigMetricsInfluxdbHttpRequest,
|
|
3328
|
+
output: CreateConfigMetricsInfluxdbHttpResponse,
|
|
3329
|
+
errors: [],
|
|
3330
|
+
protocol: ProxmoxBackupProtocol,
|
|
3331
|
+
retry: Retry.Retry,
|
|
3332
|
+
}));
|
|
3333
|
+
/** Create a new InfluxDB udp server configuration */
|
|
3334
|
+
export const createConfigMetricsInfluxdbUdp = /*@__PURE__*/ API.make(() => ({
|
|
3335
|
+
input: CreateConfigMetricsInfluxdbUdpRequest,
|
|
3336
|
+
output: CreateConfigMetricsInfluxdbUdpResponse,
|
|
3337
|
+
errors: [],
|
|
3338
|
+
protocol: ProxmoxBackupProtocol,
|
|
3339
|
+
retry: Retry.Retry,
|
|
3340
|
+
}));
|
|
3341
|
+
/** Add a new gotify endpoint. */
|
|
3342
|
+
export const createConfigNotificationEndpointGotify = /*@__PURE__*/ API.make(() => ({
|
|
3343
|
+
input: CreateConfigNotificationEndpointGotifyRequest,
|
|
3344
|
+
output: CreateConfigNotificationEndpointGotifyResponse,
|
|
3345
|
+
errors: [],
|
|
3346
|
+
protocol: ProxmoxBackupProtocol,
|
|
3347
|
+
retry: Retry.Retry,
|
|
3348
|
+
}));
|
|
3349
|
+
/** Add a new sendmail endpoint. */
|
|
3350
|
+
export const createConfigNotificationEndpointSendmail = /*@__PURE__*/ API.make(() => ({
|
|
3351
|
+
input: CreateConfigNotificationEndpointSendmailRequest,
|
|
3352
|
+
output: CreateConfigNotificationEndpointSendmailResponse,
|
|
3353
|
+
errors: [],
|
|
3354
|
+
protocol: ProxmoxBackupProtocol,
|
|
3355
|
+
retry: Retry.Retry,
|
|
3356
|
+
}));
|
|
3357
|
+
/** Add a new smtp endpoint. */
|
|
3358
|
+
export const createConfigNotificationEndpointSmtp = /*@__PURE__*/ API.make(() => ({
|
|
3359
|
+
input: CreateConfigNotificationEndpointSmtpRequest,
|
|
3360
|
+
output: CreateConfigNotificationEndpointSmtpResponse,
|
|
3361
|
+
errors: [],
|
|
3362
|
+
protocol: ProxmoxBackupProtocol,
|
|
3363
|
+
retry: Retry.Retry,
|
|
3364
|
+
}));
|
|
3365
|
+
/** Add a new webhook endpoint. */
|
|
3366
|
+
export const createConfigNotificationEndpointWebhook = /*@__PURE__*/ API.make(() => ({
|
|
3367
|
+
input: CreateConfigNotificationEndpointWebhookRequest,
|
|
3368
|
+
output: CreateConfigNotificationEndpointWebhookResponse,
|
|
3369
|
+
errors: [],
|
|
3370
|
+
protocol: ProxmoxBackupProtocol,
|
|
3371
|
+
retry: Retry.Retry,
|
|
3372
|
+
}));
|
|
3373
|
+
/** Add a new notification matcher. */
|
|
3374
|
+
export const createConfigNotificationMatcher = /*@__PURE__*/ API.make(() => ({
|
|
3375
|
+
input: CreateConfigNotificationMatcherRequest,
|
|
3376
|
+
output: CreateConfigNotificationMatcherResponse,
|
|
3377
|
+
errors: [],
|
|
3378
|
+
protocol: ProxmoxBackupProtocol,
|
|
3379
|
+
retry: Retry.Retry,
|
|
3380
|
+
}));
|
|
3381
|
+
/** Create a new prune job. */
|
|
3382
|
+
export const createConfigPrune = /*@__PURE__*/ API.make(() => ({
|
|
3383
|
+
input: CreateConfigPruneRequest,
|
|
3384
|
+
output: CreateConfigPruneResponse,
|
|
3385
|
+
errors: [],
|
|
3386
|
+
protocol: ProxmoxBackupProtocol,
|
|
3387
|
+
retry: Retry.Retry,
|
|
3388
|
+
}));
|
|
3389
|
+
/** Create new remote. */
|
|
3390
|
+
export const createConfigRemote = /*@__PURE__*/ API.make(() => ({
|
|
3391
|
+
input: CreateConfigRemoteRequest,
|
|
3392
|
+
output: CreateConfigRemoteResponse,
|
|
3393
|
+
errors: [],
|
|
3394
|
+
protocol: ProxmoxBackupProtocol,
|
|
3395
|
+
retry: Retry.Retry,
|
|
3396
|
+
}));
|
|
3397
|
+
/** Create a new s3 client configuration. */
|
|
3398
|
+
export const createConfigS3 = /*@__PURE__*/ API.make(() => ({
|
|
3399
|
+
input: CreateConfigS3Request,
|
|
3400
|
+
output: CreateConfigS3Response,
|
|
3401
|
+
errors: [],
|
|
3402
|
+
protocol: ProxmoxBackupProtocol,
|
|
3403
|
+
retry: Retry.Retry,
|
|
3404
|
+
}));
|
|
3405
|
+
/** Create a new tape backup job. */
|
|
3406
|
+
export const createConfigTapeBackupJob = /*@__PURE__*/ API.make(() => ({
|
|
3407
|
+
input: CreateConfigTapeBackupJobRequest,
|
|
3408
|
+
output: CreateConfigTapeBackupJobResponse,
|
|
3409
|
+
errors: [],
|
|
3410
|
+
protocol: ProxmoxBackupProtocol,
|
|
3411
|
+
retry: Retry.Retry,
|
|
3412
|
+
}));
|
|
3413
|
+
/** Create a new encryption key */
|
|
3414
|
+
export const createConfigTapeEncryptionKey = /*@__PURE__*/ API.make(() => ({
|
|
3415
|
+
input: CreateConfigTapeEncryptionKeyRequest,
|
|
3416
|
+
output: CreateConfigTapeEncryptionKeyResponse,
|
|
3417
|
+
errors: [],
|
|
3418
|
+
protocol: ProxmoxBackupProtocol,
|
|
3419
|
+
retry: Retry.Retry,
|
|
3420
|
+
}));
|
|
3421
|
+
/** Create new traffic control rule. */
|
|
3422
|
+
export const createConfigTrafficControl = /*@__PURE__*/ API.make(() => ({
|
|
3423
|
+
input: CreateConfigTrafficControlRequest,
|
|
3424
|
+
output: CreateConfigTrafficControlResponse,
|
|
3425
|
+
errors: [],
|
|
3426
|
+
protocol: ProxmoxBackupProtocol,
|
|
3427
|
+
retry: Retry.Retry,
|
|
3428
|
+
}));
|
|
3429
|
+
/** Remove an LDAP realm configuration */
|
|
3430
|
+
export const deleteConfigAccessAd = /*@__PURE__*/ API.make(() => ({
|
|
3431
|
+
input: DeleteConfigAccessAdRequest,
|
|
3432
|
+
output: DeleteConfigAccessAdResponse,
|
|
3433
|
+
errors: [],
|
|
3434
|
+
protocol: ProxmoxBackupProtocol,
|
|
3435
|
+
retry: Retry.Retry,
|
|
3436
|
+
}));
|
|
3437
|
+
/** Remove an LDAP realm configuration */
|
|
3438
|
+
export const deleteConfigAccessLdap = /*@__PURE__*/ API.make(() => ({
|
|
3439
|
+
input: DeleteConfigAccessLdapRequest,
|
|
3440
|
+
output: DeleteConfigAccessLdapResponse,
|
|
3441
|
+
errors: [],
|
|
3442
|
+
protocol: ProxmoxBackupProtocol,
|
|
3443
|
+
retry: Retry.Retry,
|
|
3444
|
+
}));
|
|
3445
|
+
/** Remove a OpenID realm configuration */
|
|
3446
|
+
export const deleteConfigAccessOpenid = /*@__PURE__*/ API.make(() => ({
|
|
3447
|
+
input: DeleteConfigAccessOpenidRequest,
|
|
3448
|
+
output: DeleteConfigAccessOpenidResponse,
|
|
3449
|
+
errors: [],
|
|
3450
|
+
protocol: ProxmoxBackupProtocol,
|
|
3451
|
+
retry: Retry.Retry,
|
|
3452
|
+
}));
|
|
3453
|
+
/** Deactivate an ACME account. */
|
|
3454
|
+
export const deleteConfigAcmeAccount = /*@__PURE__*/ API.make(() => ({
|
|
3455
|
+
input: DeleteConfigAcmeAccountRequest,
|
|
3456
|
+
output: DeleteConfigAcmeAccountResponse,
|
|
3457
|
+
errors: [],
|
|
3458
|
+
protocol: ProxmoxBackupProtocol,
|
|
3459
|
+
retry: Retry.Retry,
|
|
3460
|
+
}));
|
|
3461
|
+
/** Delete an ACME plugin configuration. */
|
|
3462
|
+
export const deleteConfigAcmePlugin = /*@__PURE__*/ API.make(() => ({
|
|
3463
|
+
input: DeleteConfigAcmePluginRequest,
|
|
3464
|
+
output: DeleteConfigAcmePluginResponse,
|
|
3465
|
+
errors: [],
|
|
3466
|
+
protocol: ProxmoxBackupProtocol,
|
|
3467
|
+
retry: Retry.Retry,
|
|
3468
|
+
}));
|
|
3469
|
+
/** Delete a tape changer configuration */
|
|
3470
|
+
export const deleteConfigChanger = /*@__PURE__*/ API.make(() => ({
|
|
3471
|
+
input: DeleteConfigChangerRequest,
|
|
3472
|
+
output: DeleteConfigChangerResponse,
|
|
3473
|
+
errors: [],
|
|
3474
|
+
protocol: ProxmoxBackupProtocol,
|
|
3475
|
+
retry: Retry.Retry,
|
|
3476
|
+
}));
|
|
3477
|
+
/** Remove a datastore configuration and optionally delete all its contents. */
|
|
3478
|
+
export const deleteConfigDatastore = /*@__PURE__*/ API.make(() => ({
|
|
3479
|
+
input: DeleteConfigDatastoreRequest,
|
|
3480
|
+
output: DeleteConfigDatastoreResponse,
|
|
3481
|
+
errors: [],
|
|
3482
|
+
protocol: ProxmoxBackupProtocol,
|
|
3483
|
+
retry: Retry.Retry,
|
|
3484
|
+
}));
|
|
3485
|
+
/** Delete a drive configuration */
|
|
3486
|
+
export const deleteConfigDrive = /*@__PURE__*/ API.make(() => ({
|
|
3487
|
+
input: DeleteConfigDriveRequest,
|
|
3488
|
+
output: DeleteConfigDriveResponse,
|
|
3489
|
+
errors: [],
|
|
3490
|
+
protocol: ProxmoxBackupProtocol,
|
|
3491
|
+
retry: Retry.Retry,
|
|
3492
|
+
}));
|
|
3493
|
+
/** Remove encryption key. */
|
|
3494
|
+
export const deleteConfigEncryptionKey = /*@__PURE__*/ API.make(() => ({
|
|
3495
|
+
input: DeleteConfigEncryptionKeyRequest,
|
|
3496
|
+
output: DeleteConfigEncryptionKeyResponse,
|
|
3497
|
+
errors: [],
|
|
3498
|
+
protocol: ProxmoxBackupProtocol,
|
|
3499
|
+
retry: Retry.Retry,
|
|
3500
|
+
}));
|
|
3501
|
+
/** Delete a media pool configuration */
|
|
3502
|
+
export const deleteConfigMediaPool = /*@__PURE__*/ API.make(() => ({
|
|
3503
|
+
input: DeleteConfigMediaPoolRequest,
|
|
3504
|
+
output: DeleteConfigMediaPoolResponse,
|
|
3505
|
+
errors: [],
|
|
3506
|
+
protocol: ProxmoxBackupProtocol,
|
|
3507
|
+
retry: Retry.Retry,
|
|
3508
|
+
}));
|
|
3509
|
+
/** Remove a InfluxDB http server configuration */
|
|
3510
|
+
export const deleteConfigMetricsInfluxdbHttp = /*@__PURE__*/ API.make(() => ({
|
|
3511
|
+
input: DeleteConfigMetricsInfluxdbHttpRequest,
|
|
3512
|
+
output: DeleteConfigMetricsInfluxdbHttpResponse,
|
|
3513
|
+
errors: [],
|
|
3514
|
+
protocol: ProxmoxBackupProtocol,
|
|
3515
|
+
retry: Retry.Retry,
|
|
3516
|
+
}));
|
|
3517
|
+
/** Remove a InfluxDB udp server configuration */
|
|
3518
|
+
export const deleteConfigMetricsInfluxdbUdp = /*@__PURE__*/ API.make(() => ({
|
|
3519
|
+
input: DeleteConfigMetricsInfluxdbUdpRequest,
|
|
3520
|
+
output: DeleteConfigMetricsInfluxdbUdpResponse,
|
|
3521
|
+
errors: [],
|
|
3522
|
+
protocol: ProxmoxBackupProtocol,
|
|
3523
|
+
retry: Retry.Retry,
|
|
3524
|
+
}));
|
|
3525
|
+
/** Delete gotify endpoint. */
|
|
3526
|
+
export const deleteConfigNotificationEndpointGotify = /*@__PURE__*/ API.make(() => ({
|
|
3527
|
+
input: DeleteConfigNotificationEndpointGotifyRequest,
|
|
3528
|
+
output: DeleteConfigNotificationEndpointGotifyResponse,
|
|
3529
|
+
errors: [],
|
|
3530
|
+
protocol: ProxmoxBackupProtocol,
|
|
3531
|
+
retry: Retry.Retry,
|
|
3532
|
+
}));
|
|
3533
|
+
/** Delete sendmail endpoint. */
|
|
3534
|
+
export const deleteConfigNotificationEndpointSendmail = /*@__PURE__*/ API.make(() => ({
|
|
3535
|
+
input: DeleteConfigNotificationEndpointSendmailRequest,
|
|
3536
|
+
output: DeleteConfigNotificationEndpointSendmailResponse,
|
|
3537
|
+
errors: [],
|
|
3538
|
+
protocol: ProxmoxBackupProtocol,
|
|
3539
|
+
retry: Retry.Retry,
|
|
3540
|
+
}));
|
|
3541
|
+
/** Delete smtp endpoint. */
|
|
3542
|
+
export const deleteConfigNotificationEndpointSmtp = /*@__PURE__*/ API.make(() => ({
|
|
3543
|
+
input: DeleteConfigNotificationEndpointSmtpRequest,
|
|
3544
|
+
output: DeleteConfigNotificationEndpointSmtpResponse,
|
|
3545
|
+
errors: [],
|
|
3546
|
+
protocol: ProxmoxBackupProtocol,
|
|
3547
|
+
retry: Retry.Retry,
|
|
3548
|
+
}));
|
|
3549
|
+
/** Delete webhook endpoint. */
|
|
3550
|
+
export const deleteConfigNotificationEndpointWebhook = /*@__PURE__*/ API.make(() => ({
|
|
3551
|
+
input: DeleteConfigNotificationEndpointWebhookRequest,
|
|
3552
|
+
output: DeleteConfigNotificationEndpointWebhookResponse,
|
|
3553
|
+
errors: [],
|
|
3554
|
+
protocol: ProxmoxBackupProtocol,
|
|
3555
|
+
retry: Retry.Retry,
|
|
3556
|
+
}));
|
|
3557
|
+
/** Delete notification matcher. */
|
|
3558
|
+
export const deleteConfigNotificationMatcher = /*@__PURE__*/ API.make(() => ({
|
|
3559
|
+
input: DeleteConfigNotificationMatcherRequest,
|
|
3560
|
+
output: DeleteConfigNotificationMatcherResponse,
|
|
3561
|
+
errors: [],
|
|
3562
|
+
protocol: ProxmoxBackupProtocol,
|
|
3563
|
+
retry: Retry.Retry,
|
|
3564
|
+
}));
|
|
3565
|
+
/** Remove a prune job configuration */
|
|
3566
|
+
export const deleteConfigPrune = /*@__PURE__*/ API.make(() => ({
|
|
3567
|
+
input: DeleteConfigPruneRequest,
|
|
3568
|
+
output: DeleteConfigPruneResponse,
|
|
3569
|
+
errors: [],
|
|
3570
|
+
protocol: ProxmoxBackupProtocol,
|
|
3571
|
+
retry: Retry.Retry,
|
|
3572
|
+
}));
|
|
3573
|
+
/** Remove a remote from the configuration file. */
|
|
3574
|
+
export const deleteConfigRemote = /*@__PURE__*/ API.make(() => ({
|
|
3575
|
+
input: DeleteConfigRemoteRequest,
|
|
3576
|
+
output: DeleteConfigRemoteResponse,
|
|
3577
|
+
errors: [],
|
|
3578
|
+
protocol: ProxmoxBackupProtocol,
|
|
3579
|
+
retry: Retry.Retry,
|
|
3580
|
+
}));
|
|
3581
|
+
/** Remove an s3 client configuration. */
|
|
3582
|
+
export const deleteConfigS3 = /*@__PURE__*/ API.make(() => ({
|
|
3583
|
+
input: DeleteConfigS3Request,
|
|
3584
|
+
output: DeleteConfigS3Response,
|
|
3585
|
+
errors: [],
|
|
3586
|
+
protocol: ProxmoxBackupProtocol,
|
|
3587
|
+
retry: Retry.Retry,
|
|
3588
|
+
}));
|
|
3589
|
+
/** Remove a sync job configuration */
|
|
3590
|
+
export const deleteConfigSync = /*@__PURE__*/ API.make(() => ({
|
|
3591
|
+
input: DeleteConfigSyncRequest,
|
|
3592
|
+
output: DeleteConfigSyncResponse,
|
|
3593
|
+
errors: [],
|
|
3594
|
+
protocol: ProxmoxBackupProtocol,
|
|
3595
|
+
retry: Retry.Retry,
|
|
3596
|
+
}));
|
|
3597
|
+
/** Remove a tape backup job configuration */
|
|
3598
|
+
export const deleteConfigTapeBackupJob = /*@__PURE__*/ API.make(() => ({
|
|
3599
|
+
input: DeleteConfigTapeBackupJobRequest,
|
|
3600
|
+
output: DeleteConfigTapeBackupJobResponse,
|
|
3601
|
+
errors: [],
|
|
3602
|
+
protocol: ProxmoxBackupProtocol,
|
|
3603
|
+
retry: Retry.Retry,
|
|
3604
|
+
}));
|
|
3605
|
+
/** Remove a encryption key from the database Please note that you can no longer access tapes using this key. */
|
|
3606
|
+
export const deleteConfigTapeEncryptionKey = /*@__PURE__*/ API.make(() => ({
|
|
3607
|
+
input: DeleteConfigTapeEncryptionKeyRequest,
|
|
3608
|
+
output: DeleteConfigTapeEncryptionKeyResponse,
|
|
3609
|
+
errors: [],
|
|
3610
|
+
protocol: ProxmoxBackupProtocol,
|
|
3611
|
+
retry: Retry.Retry,
|
|
3612
|
+
}));
|
|
3613
|
+
/** Remove a traffic control rule from the configuration file. */
|
|
3614
|
+
export const deleteConfigTrafficControl = /*@__PURE__*/ API.make(() => ({
|
|
3615
|
+
input: DeleteConfigTrafficControlRequest,
|
|
3616
|
+
output: DeleteConfigTrafficControlResponse,
|
|
3617
|
+
errors: [],
|
|
3618
|
+
protocol: ProxmoxBackupProtocol,
|
|
3619
|
+
retry: Retry.Retry,
|
|
3620
|
+
}));
|
|
3621
|
+
/** Remove a verification job configuration */
|
|
3622
|
+
export const deleteConfigVerify = /*@__PURE__*/ API.make(() => ({
|
|
3623
|
+
input: DeleteConfigVerifyRequest,
|
|
3624
|
+
output: DeleteConfigVerifyResponse,
|
|
3625
|
+
errors: [],
|
|
3626
|
+
protocol: ProxmoxBackupProtocol,
|
|
3627
|
+
retry: Retry.Retry,
|
|
3628
|
+
}));
|
|
3629
|
+
/** Directory index. */
|
|
3630
|
+
export const getConfig = /*@__PURE__*/ API.make(() => ({
|
|
3631
|
+
input: GetConfigRequest,
|
|
3632
|
+
output: GetConfigResponse,
|
|
3633
|
+
errors: [],
|
|
3634
|
+
protocol: ProxmoxBackupProtocol,
|
|
3635
|
+
retry: Retry.Retry,
|
|
3636
|
+
}));
|
|
3637
|
+
/** Directory index. */
|
|
3638
|
+
export const getConfigAccess = /*@__PURE__*/ API.make(() => ({
|
|
3639
|
+
input: GetConfigAccessRequest,
|
|
3640
|
+
output: GetConfigAccessResponse,
|
|
3641
|
+
errors: [],
|
|
3642
|
+
protocol: ProxmoxBackupProtocol,
|
|
3643
|
+
retry: Retry.Retry,
|
|
3644
|
+
}));
|
|
3645
|
+
/** Read the AD realm configuration */
|
|
3646
|
+
export const getConfigAccessAd = /*@__PURE__*/ API.make(() => ({
|
|
3647
|
+
input: GetConfigAccessAdRequest,
|
|
3648
|
+
output: GetConfigAccessAdResponse,
|
|
3649
|
+
errors: [],
|
|
3650
|
+
protocol: ProxmoxBackupProtocol,
|
|
3651
|
+
retry: Retry.Retry,
|
|
3652
|
+
}));
|
|
3653
|
+
/** Read the LDAP realm configuration */
|
|
3654
|
+
export const getConfigAccessLdap = /*@__PURE__*/ API.make(() => ({
|
|
3655
|
+
input: GetConfigAccessLdapRequest,
|
|
3656
|
+
output: GetConfigAccessLdapResponse,
|
|
3657
|
+
errors: [],
|
|
3658
|
+
protocol: ProxmoxBackupProtocol,
|
|
3659
|
+
retry: Retry.Retry,
|
|
3660
|
+
}));
|
|
3661
|
+
/** Read the OpenID realm configuration */
|
|
3662
|
+
export const getConfigAccessOpenid = /*@__PURE__*/ API.make(() => ({
|
|
3663
|
+
input: GetConfigAccessOpenidRequest,
|
|
3664
|
+
output: GetConfigAccessOpenidResponse,
|
|
3665
|
+
errors: [],
|
|
3666
|
+
protocol: ProxmoxBackupProtocol,
|
|
3667
|
+
retry: Retry.Retry,
|
|
3668
|
+
}));
|
|
3669
|
+
/** Read the PAM realm configuration */
|
|
3670
|
+
export const getConfigAccessPam = /*@__PURE__*/ API.make(() => ({
|
|
3671
|
+
input: GetConfigAccessPamRequest,
|
|
3672
|
+
output: GetConfigAccessPamResponse,
|
|
3673
|
+
errors: [],
|
|
3674
|
+
protocol: ProxmoxBackupProtocol,
|
|
3675
|
+
retry: Retry.Retry,
|
|
3676
|
+
}));
|
|
3677
|
+
/** Read the Proxmox Backup authentication server realm configuration */
|
|
3678
|
+
export const getConfigAccessPbs = /*@__PURE__*/ API.make(() => ({
|
|
3679
|
+
input: GetConfigAccessPbsRequest,
|
|
3680
|
+
output: GetConfigAccessPbsResponse,
|
|
3681
|
+
errors: [],
|
|
3682
|
+
protocol: ProxmoxBackupProtocol,
|
|
3683
|
+
retry: Retry.Retry,
|
|
3684
|
+
}));
|
|
3685
|
+
/** Directory index. */
|
|
3686
|
+
export const getConfigAccessTfa = /*@__PURE__*/ API.make(() => ({
|
|
3687
|
+
input: GetConfigAccessTfaRequest,
|
|
3688
|
+
output: GetConfigAccessTfaResponse,
|
|
3689
|
+
errors: [],
|
|
3690
|
+
protocol: ProxmoxBackupProtocol,
|
|
3691
|
+
retry: Retry.Retry,
|
|
3692
|
+
}));
|
|
3693
|
+
/** Get the TFA configuration. */
|
|
3694
|
+
export const getConfigAccessTfaWebauthn = /*@__PURE__*/ API.make(() => ({
|
|
3695
|
+
input: GetConfigAccessTfaWebauthnRequest,
|
|
3696
|
+
output: GetConfigAccessTfaWebauthnResponse,
|
|
3697
|
+
errors: [],
|
|
3698
|
+
protocol: ProxmoxBackupProtocol,
|
|
3699
|
+
retry: Retry.Retry,
|
|
3700
|
+
}));
|
|
3701
|
+
/** Directory index. */
|
|
3702
|
+
export const getConfigAcme = /*@__PURE__*/ API.make(() => ({
|
|
3703
|
+
input: GetConfigAcmeRequest,
|
|
3704
|
+
output: GetConfigAcmeResponse,
|
|
3705
|
+
errors: [],
|
|
3706
|
+
protocol: ProxmoxBackupProtocol,
|
|
3707
|
+
retry: Retry.Retry,
|
|
3708
|
+
}));
|
|
3709
|
+
/** Return existing ACME account information. */
|
|
3710
|
+
export const getConfigAcmeAccount = /*@__PURE__*/ API.make(() => ({
|
|
3711
|
+
input: GetConfigAcmeAccountRequest,
|
|
3712
|
+
output: GetConfigAcmeAccountResponse,
|
|
3713
|
+
errors: [],
|
|
3714
|
+
protocol: ProxmoxBackupProtocol,
|
|
3715
|
+
retry: Retry.Retry,
|
|
3716
|
+
}));
|
|
3717
|
+
/** List ACME challenge plugins. */
|
|
3718
|
+
export const getConfigAcmePlugin = /*@__PURE__*/ API.make(() => ({
|
|
3719
|
+
input: GetConfigAcmePluginRequest,
|
|
3720
|
+
output: GetConfigAcmePluginResponse,
|
|
3721
|
+
errors: [],
|
|
3722
|
+
protocol: ProxmoxBackupProtocol,
|
|
3723
|
+
retry: Retry.Retry,
|
|
3724
|
+
}));
|
|
3725
|
+
/** Get the Terms of Service URL for an ACME directory. */
|
|
3726
|
+
export const getConfigAcmeTos = /*@__PURE__*/ API.make(() => ({
|
|
3727
|
+
input: GetConfigAcmeTosRequest,
|
|
3728
|
+
output: GetConfigAcmeTosResponse,
|
|
3729
|
+
errors: [],
|
|
3730
|
+
protocol: ProxmoxBackupProtocol,
|
|
3731
|
+
retry: Retry.Retry,
|
|
3732
|
+
}));
|
|
3733
|
+
/** Get tape changer configuration */
|
|
3734
|
+
export const getConfigChanger = /*@__PURE__*/ API.make(() => ({
|
|
3735
|
+
input: GetConfigChangerRequest,
|
|
3736
|
+
output: GetConfigChangerResponse,
|
|
3737
|
+
errors: [],
|
|
3738
|
+
protocol: ProxmoxBackupProtocol,
|
|
3739
|
+
retry: Retry.Retry,
|
|
3740
|
+
}));
|
|
3741
|
+
/** Read a datastore configuration. */
|
|
3742
|
+
export const getConfigDatastore = /*@__PURE__*/ API.make(() => ({
|
|
3743
|
+
input: GetConfigDatastoreRequest,
|
|
3744
|
+
output: GetConfigDatastoreResponse,
|
|
3745
|
+
errors: [],
|
|
3746
|
+
protocol: ProxmoxBackupProtocol,
|
|
3747
|
+
retry: Retry.Retry,
|
|
3748
|
+
}));
|
|
3749
|
+
/** Get drive configuration */
|
|
3750
|
+
export const getConfigDrive = /*@__PURE__*/ API.make(() => ({
|
|
3751
|
+
input: GetConfigDriveRequest,
|
|
3752
|
+
output: GetConfigDriveResponse,
|
|
3753
|
+
errors: [],
|
|
3754
|
+
protocol: ProxmoxBackupProtocol,
|
|
3755
|
+
retry: Retry.Retry,
|
|
3756
|
+
}));
|
|
3757
|
+
/** Get media pool configuration */
|
|
3758
|
+
export const getConfigMediaPool = /*@__PURE__*/ API.make(() => ({
|
|
3759
|
+
input: GetConfigMediaPoolRequest,
|
|
3760
|
+
output: GetConfigMediaPoolResponse,
|
|
3761
|
+
errors: [],
|
|
3762
|
+
protocol: ProxmoxBackupProtocol,
|
|
3763
|
+
retry: Retry.Retry,
|
|
3764
|
+
}));
|
|
3765
|
+
/** Directory index. */
|
|
3766
|
+
export const getConfigMetrics = /*@__PURE__*/ API.make(() => ({
|
|
3767
|
+
input: GetConfigMetricsRequest,
|
|
3768
|
+
output: GetConfigMetricsResponse,
|
|
3769
|
+
errors: [],
|
|
3770
|
+
protocol: ProxmoxBackupProtocol,
|
|
3771
|
+
retry: Retry.Retry,
|
|
3772
|
+
}));
|
|
3773
|
+
/** Read the InfluxDB http server configuration */
|
|
3774
|
+
export const getConfigMetricsInfluxdbHttp = /*@__PURE__*/ API.make(() => ({
|
|
3775
|
+
input: GetConfigMetricsInfluxdbHttpRequest,
|
|
3776
|
+
output: GetConfigMetricsInfluxdbHttpResponse,
|
|
3777
|
+
errors: [],
|
|
3778
|
+
protocol: ProxmoxBackupProtocol,
|
|
3779
|
+
retry: Retry.Retry,
|
|
3780
|
+
}));
|
|
3781
|
+
/** Read the InfluxDB udp server configuration */
|
|
3782
|
+
export const getConfigMetricsInfluxdbUdp = /*@__PURE__*/ API.make(() => ({
|
|
3783
|
+
input: GetConfigMetricsInfluxdbUdpRequest,
|
|
3784
|
+
output: GetConfigMetricsInfluxdbUdpResponse,
|
|
3785
|
+
errors: [],
|
|
3786
|
+
protocol: ProxmoxBackupProtocol,
|
|
3787
|
+
retry: Retry.Retry,
|
|
3788
|
+
}));
|
|
3789
|
+
/** Get a gotify endpoint. */
|
|
3790
|
+
export const getConfigNotificationEndpointGotify = /*@__PURE__*/ API.make(() => ({
|
|
3791
|
+
input: GetConfigNotificationEndpointGotifyRequest,
|
|
3792
|
+
output: GetConfigNotificationEndpointGotifyResponse,
|
|
3793
|
+
errors: [],
|
|
3794
|
+
protocol: ProxmoxBackupProtocol,
|
|
3795
|
+
retry: Retry.Retry,
|
|
3796
|
+
}));
|
|
3797
|
+
/** Directory index. */
|
|
3798
|
+
export const getConfigNotificationEndpoints = /*@__PURE__*/ API.make(() => ({
|
|
3799
|
+
input: GetConfigNotificationEndpointsRequest,
|
|
3800
|
+
output: GetConfigNotificationEndpointsResponse,
|
|
3801
|
+
errors: [],
|
|
3802
|
+
protocol: ProxmoxBackupProtocol,
|
|
3803
|
+
retry: Retry.Retry,
|
|
3804
|
+
}));
|
|
3805
|
+
/** Get a sendmail endpoint. */
|
|
3806
|
+
export const getConfigNotificationEndpointSendmail = /*@__PURE__*/ API.make(() => ({
|
|
3807
|
+
input: GetConfigNotificationEndpointSendmailRequest,
|
|
3808
|
+
output: GetConfigNotificationEndpointSendmailResponse,
|
|
3809
|
+
errors: [],
|
|
3810
|
+
protocol: ProxmoxBackupProtocol,
|
|
3811
|
+
retry: Retry.Retry,
|
|
3812
|
+
}));
|
|
3813
|
+
/** Get a smtp endpoint. */
|
|
3814
|
+
export const getConfigNotificationEndpointSmtp = /*@__PURE__*/ API.make(() => ({
|
|
3815
|
+
input: GetConfigNotificationEndpointSmtpRequest,
|
|
3816
|
+
output: GetConfigNotificationEndpointSmtpResponse,
|
|
3817
|
+
errors: [],
|
|
3818
|
+
protocol: ProxmoxBackupProtocol,
|
|
3819
|
+
retry: Retry.Retry,
|
|
3820
|
+
}));
|
|
3821
|
+
/** Get a webhook endpoint. */
|
|
3822
|
+
export const getConfigNotificationEndpointWebhook = /*@__PURE__*/ API.make(() => ({
|
|
3823
|
+
input: GetConfigNotificationEndpointWebhookRequest,
|
|
3824
|
+
output: GetConfigNotificationEndpointWebhookResponse,
|
|
3825
|
+
errors: [],
|
|
3826
|
+
protocol: ProxmoxBackupProtocol,
|
|
3827
|
+
retry: Retry.Retry,
|
|
3828
|
+
}));
|
|
3829
|
+
/** Get a notification matcher. */
|
|
3830
|
+
export const getConfigNotificationMatcher = /*@__PURE__*/ API.make(() => ({
|
|
3831
|
+
input: GetConfigNotificationMatcherRequest,
|
|
3832
|
+
output: GetConfigNotificationMatcherResponse,
|
|
3833
|
+
errors: [],
|
|
3834
|
+
protocol: ProxmoxBackupProtocol,
|
|
3835
|
+
retry: Retry.Retry,
|
|
3836
|
+
}));
|
|
3837
|
+
/** Directory index. */
|
|
3838
|
+
export const getConfigNotifications = /*@__PURE__*/ API.make(() => ({
|
|
3839
|
+
input: GetConfigNotificationsRequest,
|
|
3840
|
+
output: GetConfigNotificationsResponse,
|
|
3841
|
+
errors: [],
|
|
3842
|
+
protocol: ProxmoxBackupProtocol,
|
|
3843
|
+
retry: Retry.Retry,
|
|
3844
|
+
}));
|
|
3845
|
+
/** Directory index. */
|
|
3846
|
+
export const getConfigNotificationTarget = /*@__PURE__*/ API.make(() => ({
|
|
3847
|
+
input: GetConfigNotificationTargetRequest,
|
|
3848
|
+
output: GetConfigNotificationTargetResponse,
|
|
3849
|
+
errors: [],
|
|
3850
|
+
protocol: ProxmoxBackupProtocol,
|
|
3851
|
+
retry: Retry.Retry,
|
|
3852
|
+
}));
|
|
3853
|
+
/** Read a prune job configuration. */
|
|
3854
|
+
export const getConfigPrune = /*@__PURE__*/ API.make(() => ({
|
|
3855
|
+
input: GetConfigPruneRequest,
|
|
3856
|
+
output: GetConfigPruneResponse,
|
|
3857
|
+
errors: [],
|
|
3858
|
+
protocol: ProxmoxBackupProtocol,
|
|
3859
|
+
retry: Retry.Retry,
|
|
3860
|
+
}));
|
|
3861
|
+
/** Read remote configuration data. */
|
|
3862
|
+
export const getConfigRemote = /*@__PURE__*/ API.make(() => ({
|
|
3863
|
+
input: GetConfigRemoteRequest,
|
|
3864
|
+
output: GetConfigRemoteResponse,
|
|
3865
|
+
errors: [],
|
|
3866
|
+
protocol: ProxmoxBackupProtocol,
|
|
3867
|
+
retry: Retry.Retry,
|
|
3868
|
+
}));
|
|
3869
|
+
/** Directory index. */
|
|
3870
|
+
export const getConfigRemoteScan = /*@__PURE__*/ API.make(() => ({
|
|
3871
|
+
input: GetConfigRemoteScanRequest,
|
|
3872
|
+
output: GetConfigRemoteScanResponse,
|
|
3873
|
+
errors: [],
|
|
3874
|
+
protocol: ProxmoxBackupProtocol,
|
|
3875
|
+
retry: Retry.Retry,
|
|
3876
|
+
}));
|
|
3877
|
+
/** Read an s3 client configuration. */
|
|
3878
|
+
export const getConfigS3 = /*@__PURE__*/ API.make(() => ({
|
|
3879
|
+
input: GetConfigS3Request,
|
|
3880
|
+
output: GetConfigS3Response,
|
|
3881
|
+
errors: [],
|
|
3882
|
+
protocol: ProxmoxBackupProtocol,
|
|
3883
|
+
retry: Retry.Retry,
|
|
3884
|
+
}));
|
|
3885
|
+
/** List buckets accessible by given s3 client configuration */
|
|
3886
|
+
export const getConfigS3ListBuckets = /*@__PURE__*/ API.make(() => ({
|
|
3887
|
+
input: GetConfigS3ListBucketsRequest,
|
|
3888
|
+
output: GetConfigS3ListBucketsResponse,
|
|
3889
|
+
errors: [],
|
|
3890
|
+
protocol: ProxmoxBackupProtocol,
|
|
3891
|
+
retry: Retry.Retry,
|
|
3892
|
+
}));
|
|
3893
|
+
/** Read a sync job configuration. */
|
|
3894
|
+
export const getConfigSync = /*@__PURE__*/ API.make(() => ({
|
|
3895
|
+
input: GetConfigSyncRequest,
|
|
3896
|
+
output: GetConfigSyncResponse,
|
|
3897
|
+
errors: [],
|
|
3898
|
+
protocol: ProxmoxBackupProtocol,
|
|
3899
|
+
retry: Retry.Retry,
|
|
3900
|
+
}));
|
|
3901
|
+
/** Read a tape backup job configuration. */
|
|
3902
|
+
export const getConfigTapeBackupJob = /*@__PURE__*/ API.make(() => ({
|
|
3903
|
+
input: GetConfigTapeBackupJobRequest,
|
|
3904
|
+
output: GetConfigTapeBackupJobResponse,
|
|
3905
|
+
errors: [],
|
|
3906
|
+
protocol: ProxmoxBackupProtocol,
|
|
3907
|
+
retry: Retry.Retry,
|
|
3908
|
+
}));
|
|
3909
|
+
/** Get key config (public key part) */
|
|
3910
|
+
export const getConfigTapeEncryptionKey = /*@__PURE__*/ API.make(() => ({
|
|
3911
|
+
input: GetConfigTapeEncryptionKeyRequest,
|
|
3912
|
+
output: GetConfigTapeEncryptionKeyResponse,
|
|
3913
|
+
errors: [],
|
|
3914
|
+
protocol: ProxmoxBackupProtocol,
|
|
3915
|
+
retry: Retry.Retry,
|
|
3916
|
+
}));
|
|
3917
|
+
/** Read traffic control configuration data. */
|
|
3918
|
+
export const getConfigTrafficControl = /*@__PURE__*/ API.make(() => ({
|
|
3919
|
+
input: GetConfigTrafficControlRequest,
|
|
3920
|
+
output: GetConfigTrafficControlResponse,
|
|
3921
|
+
errors: [],
|
|
3922
|
+
protocol: ProxmoxBackupProtocol,
|
|
3923
|
+
retry: Retry.Retry,
|
|
3924
|
+
}));
|
|
3925
|
+
/** Read a verification job configuration. */
|
|
3926
|
+
export const getConfigVerify = /*@__PURE__*/ API.make(() => ({
|
|
3927
|
+
input: GetConfigVerifyRequest,
|
|
3928
|
+
output: GetConfigVerifyResponse,
|
|
3929
|
+
errors: [],
|
|
3930
|
+
protocol: ProxmoxBackupProtocol,
|
|
3931
|
+
retry: Retry.Retry,
|
|
3932
|
+
}));
|
|
3933
|
+
/** List configured AD realms */
|
|
3934
|
+
export const listConfigAccessAd = /*@__PURE__*/ API.make(() => ({
|
|
3935
|
+
input: ListConfigAccessAdRequest,
|
|
3936
|
+
output: ListConfigAccessAdResponse,
|
|
3937
|
+
errors: [],
|
|
3938
|
+
protocol: ProxmoxBackupProtocol,
|
|
3939
|
+
retry: Retry.Retry,
|
|
3940
|
+
}));
|
|
3941
|
+
/** List configured LDAP realms */
|
|
3942
|
+
export const listConfigAccessLdap = /*@__PURE__*/ API.make(() => ({
|
|
3943
|
+
input: ListConfigAccessLdapRequest,
|
|
3944
|
+
output: ListConfigAccessLdapResponse,
|
|
3945
|
+
errors: [],
|
|
3946
|
+
protocol: ProxmoxBackupProtocol,
|
|
3947
|
+
retry: Retry.Retry,
|
|
3948
|
+
}));
|
|
3949
|
+
/** List configured OpenId realms */
|
|
3950
|
+
export const listConfigAccessOpenid = /*@__PURE__*/ API.make(() => ({
|
|
3951
|
+
input: ListConfigAccessOpenidRequest,
|
|
3952
|
+
output: ListConfigAccessOpenidResponse,
|
|
3953
|
+
errors: [],
|
|
3954
|
+
protocol: ProxmoxBackupProtocol,
|
|
3955
|
+
retry: Retry.Retry,
|
|
3956
|
+
}));
|
|
3957
|
+
/** List ACME accounts. */
|
|
3958
|
+
export const listConfigAcmeAccount = /*@__PURE__*/ API.make(() => ({
|
|
3959
|
+
input: ListConfigAcmeAccountRequest,
|
|
3960
|
+
output: ListConfigAcmeAccountResponse,
|
|
3961
|
+
errors: [],
|
|
3962
|
+
protocol: ProxmoxBackupProtocol,
|
|
3963
|
+
retry: Retry.Retry,
|
|
3964
|
+
}));
|
|
3965
|
+
/** Get named known ACME directory endpoints. */
|
|
3966
|
+
export const listConfigAcmeChallengeSchema = /*@__PURE__*/ API.make(() => ({
|
|
3967
|
+
input: ListConfigAcmeChallengeSchemaRequest,
|
|
3968
|
+
output: ListConfigAcmeChallengeSchemaResponse,
|
|
3969
|
+
errors: [],
|
|
3970
|
+
protocol: ProxmoxBackupProtocol,
|
|
3971
|
+
retry: Retry.Retry,
|
|
3972
|
+
}));
|
|
3973
|
+
/** Get named known ACME directory endpoints. */
|
|
3974
|
+
export const listConfigAcmeDirectories = /*@__PURE__*/ API.make(() => ({
|
|
3975
|
+
input: ListConfigAcmeDirectoriesRequest,
|
|
3976
|
+
output: ListConfigAcmeDirectoriesResponse,
|
|
3977
|
+
errors: [],
|
|
3978
|
+
protocol: ProxmoxBackupProtocol,
|
|
3979
|
+
retry: Retry.Retry,
|
|
3980
|
+
}));
|
|
3981
|
+
/** List ACME challenge plugins. */
|
|
3982
|
+
export const listConfigAcmePlugins = /*@__PURE__*/ API.make(() => ({
|
|
3983
|
+
input: ListConfigAcmePluginsRequest,
|
|
3984
|
+
output: ListConfigAcmePluginsResponse,
|
|
3985
|
+
errors: [],
|
|
3986
|
+
protocol: ProxmoxBackupProtocol,
|
|
3987
|
+
retry: Retry.Retry,
|
|
3988
|
+
}));
|
|
3989
|
+
/** List changers */
|
|
3990
|
+
export const listConfigChanger = /*@__PURE__*/ API.make(() => ({
|
|
3991
|
+
input: ListConfigChangerRequest,
|
|
3992
|
+
output: ListConfigChangerResponse,
|
|
3993
|
+
errors: [],
|
|
3994
|
+
protocol: ProxmoxBackupProtocol,
|
|
3995
|
+
retry: Retry.Retry,
|
|
3996
|
+
}));
|
|
3997
|
+
/** List all datastores */
|
|
3998
|
+
export const listConfigDatastore = /*@__PURE__*/ API.make(() => ({
|
|
3999
|
+
input: ListConfigDatastoreRequest,
|
|
4000
|
+
output: ListConfigDatastoreResponse,
|
|
4001
|
+
errors: [],
|
|
4002
|
+
protocol: ProxmoxBackupProtocol,
|
|
4003
|
+
retry: Retry.Retry,
|
|
4004
|
+
}));
|
|
4005
|
+
/** List drives */
|
|
4006
|
+
export const listConfigDrive = /*@__PURE__*/ API.make(() => ({
|
|
4007
|
+
input: ListConfigDriveRequest,
|
|
4008
|
+
output: ListConfigDriveResponse,
|
|
4009
|
+
errors: [],
|
|
4010
|
+
protocol: ProxmoxBackupProtocol,
|
|
4011
|
+
retry: Retry.Retry,
|
|
4012
|
+
}));
|
|
4013
|
+
/** List configured encryption keys. */
|
|
4014
|
+
export const listConfigEncryptionKeys = /*@__PURE__*/ API.make(() => ({
|
|
4015
|
+
input: ListConfigEncryptionKeysRequest,
|
|
4016
|
+
output: ListConfigEncryptionKeysResponse,
|
|
4017
|
+
errors: [],
|
|
4018
|
+
protocol: ProxmoxBackupProtocol,
|
|
4019
|
+
retry: Retry.Retry,
|
|
4020
|
+
}));
|
|
4021
|
+
/** List media pools */
|
|
4022
|
+
export const listConfigMediaPool = /*@__PURE__*/ API.make(() => ({
|
|
4023
|
+
input: ListConfigMediaPoolRequest,
|
|
4024
|
+
output: ListConfigMediaPoolResponse,
|
|
4025
|
+
errors: [],
|
|
4026
|
+
protocol: ProxmoxBackupProtocol,
|
|
4027
|
+
retry: Retry.Retry,
|
|
4028
|
+
}));
|
|
4029
|
+
/** List configured InfluxDB http metric servers. */
|
|
4030
|
+
export const listConfigMetricsInfluxdbHttp = /*@__PURE__*/ API.make(() => ({
|
|
4031
|
+
input: ListConfigMetricsInfluxdbHttpRequest,
|
|
4032
|
+
output: ListConfigMetricsInfluxdbHttpResponse,
|
|
4033
|
+
errors: [],
|
|
4034
|
+
protocol: ProxmoxBackupProtocol,
|
|
4035
|
+
retry: Retry.Retry,
|
|
4036
|
+
}));
|
|
4037
|
+
/** List configured InfluxDB udp metric servers. */
|
|
4038
|
+
export const listConfigMetricsInfluxdbUdp = /*@__PURE__*/ API.make(() => ({
|
|
4039
|
+
input: ListConfigMetricsInfluxdbUdpRequest,
|
|
4040
|
+
output: ListConfigMetricsInfluxdbUdpResponse,
|
|
4041
|
+
errors: [],
|
|
4042
|
+
protocol: ProxmoxBackupProtocol,
|
|
4043
|
+
retry: Retry.Retry,
|
|
4044
|
+
}));
|
|
4045
|
+
/** List all gotify endpoints. */
|
|
4046
|
+
export const listConfigNotificationEndpointGotify = /*@__PURE__*/ API.make(() => ({
|
|
4047
|
+
input: ListConfigNotificationEndpointGotifyRequest,
|
|
4048
|
+
output: ListConfigNotificationEndpointGotifyResponse,
|
|
4049
|
+
errors: [],
|
|
4050
|
+
protocol: ProxmoxBackupProtocol,
|
|
4051
|
+
retry: Retry.Retry,
|
|
4052
|
+
}));
|
|
4053
|
+
/** List all sendmail endpoints. */
|
|
4054
|
+
export const listConfigNotificationEndpointSendmail = /*@__PURE__*/ API.make(() => ({
|
|
4055
|
+
input: ListConfigNotificationEndpointSendmailRequest,
|
|
4056
|
+
output: ListConfigNotificationEndpointSendmailResponse,
|
|
4057
|
+
errors: [],
|
|
4058
|
+
protocol: ProxmoxBackupProtocol,
|
|
4059
|
+
retry: Retry.Retry,
|
|
4060
|
+
}));
|
|
4061
|
+
/** List all smtp endpoints. */
|
|
4062
|
+
export const listConfigNotificationEndpointSmtp = /*@__PURE__*/ API.make(() => ({
|
|
4063
|
+
input: ListConfigNotificationEndpointSmtpRequest,
|
|
4064
|
+
output: ListConfigNotificationEndpointSmtpResponse,
|
|
4065
|
+
errors: [],
|
|
4066
|
+
protocol: ProxmoxBackupProtocol,
|
|
4067
|
+
retry: Retry.Retry,
|
|
4068
|
+
}));
|
|
4069
|
+
/** List all webhook endpoints. */
|
|
4070
|
+
export const listConfigNotificationEndpointWebhook = /*@__PURE__*/ API.make(() => ({
|
|
4071
|
+
input: ListConfigNotificationEndpointWebhookRequest,
|
|
4072
|
+
output: ListConfigNotificationEndpointWebhookResponse,
|
|
4073
|
+
errors: [],
|
|
4074
|
+
protocol: ProxmoxBackupProtocol,
|
|
4075
|
+
retry: Retry.Retry,
|
|
4076
|
+
}));
|
|
4077
|
+
/** Get all known metadata fields. */
|
|
4078
|
+
export const listConfigNotificationMatcherFields = /*@__PURE__*/ API.make(() => ({
|
|
4079
|
+
input: ListConfigNotificationMatcherFieldsRequest,
|
|
4080
|
+
output: ListConfigNotificationMatcherFieldsResponse,
|
|
4081
|
+
errors: [],
|
|
4082
|
+
protocol: ProxmoxBackupProtocol,
|
|
4083
|
+
retry: Retry.Retry,
|
|
4084
|
+
}));
|
|
4085
|
+
/** List all known, matchable metadata field values. */
|
|
4086
|
+
export const listConfigNotificationMatcherFieldValues = /*@__PURE__*/ API.make(() => ({
|
|
4087
|
+
input: ListConfigNotificationMatcherFieldValuesRequest,
|
|
4088
|
+
output: ListConfigNotificationMatcherFieldValuesResponse,
|
|
4089
|
+
errors: [],
|
|
4090
|
+
protocol: ProxmoxBackupProtocol,
|
|
4091
|
+
retry: Retry.Retry,
|
|
4092
|
+
}));
|
|
4093
|
+
/** List all notification matchers. */
|
|
4094
|
+
export const listConfigNotificationMatchers = /*@__PURE__*/ API.make(() => ({
|
|
4095
|
+
input: ListConfigNotificationMatchersRequest,
|
|
4096
|
+
output: ListConfigNotificationMatchersResponse,
|
|
4097
|
+
errors: [],
|
|
4098
|
+
protocol: ProxmoxBackupProtocol,
|
|
4099
|
+
retry: Retry.Retry,
|
|
4100
|
+
}));
|
|
4101
|
+
/** List all notification targets. */
|
|
4102
|
+
export const listConfigNotificationTargets = /*@__PURE__*/ API.make(() => ({
|
|
4103
|
+
input: ListConfigNotificationTargetsRequest,
|
|
4104
|
+
output: ListConfigNotificationTargetsResponse,
|
|
4105
|
+
errors: [],
|
|
4106
|
+
protocol: ProxmoxBackupProtocol,
|
|
4107
|
+
retry: Retry.Retry,
|
|
4108
|
+
}));
|
|
4109
|
+
/** List all scheduled prune jobs. */
|
|
4110
|
+
export const listConfigPrune = /*@__PURE__*/ API.make(() => ({
|
|
4111
|
+
input: ListConfigPruneRequest,
|
|
4112
|
+
output: ListConfigPruneResponse,
|
|
4113
|
+
errors: [],
|
|
4114
|
+
protocol: ProxmoxBackupProtocol,
|
|
4115
|
+
retry: Retry.Retry,
|
|
4116
|
+
}));
|
|
4117
|
+
/** List all remotes */
|
|
4118
|
+
export const listConfigRemote = /*@__PURE__*/ API.make(() => ({
|
|
4119
|
+
input: ListConfigRemoteRequest,
|
|
4120
|
+
output: ListConfigRemoteResponse,
|
|
4121
|
+
errors: [],
|
|
4122
|
+
protocol: ProxmoxBackupProtocol,
|
|
4123
|
+
retry: Retry.Retry,
|
|
4124
|
+
}));
|
|
4125
|
+
/** List datastores of a remote.cfg entry */
|
|
4126
|
+
export const listConfigRemoteScan = /*@__PURE__*/ API.make(() => ({
|
|
4127
|
+
input: ListConfigRemoteScanRequest,
|
|
4128
|
+
output: ListConfigRemoteScanResponse,
|
|
4129
|
+
errors: [],
|
|
4130
|
+
protocol: ProxmoxBackupProtocol,
|
|
4131
|
+
retry: Retry.Retry,
|
|
4132
|
+
}));
|
|
4133
|
+
/** List groups of a remote.cfg entry's datastore */
|
|
4134
|
+
export const listConfigRemoteScanGroups = /*@__PURE__*/ API.make(() => ({
|
|
4135
|
+
input: ListConfigRemoteScanGroupsRequest,
|
|
4136
|
+
output: ListConfigRemoteScanGroupsResponse,
|
|
4137
|
+
errors: [],
|
|
4138
|
+
protocol: ProxmoxBackupProtocol,
|
|
4139
|
+
retry: Retry.Retry,
|
|
4140
|
+
}));
|
|
4141
|
+
/** List namespaces of a datastore of a remote.cfg entry */
|
|
4142
|
+
export const listConfigRemoteScanNamespaces = /*@__PURE__*/ API.make(() => ({
|
|
4143
|
+
input: ListConfigRemoteScanNamespacesRequest,
|
|
4144
|
+
output: ListConfigRemoteScanNamespacesResponse,
|
|
4145
|
+
errors: [],
|
|
4146
|
+
protocol: ProxmoxBackupProtocol,
|
|
4147
|
+
retry: Retry.Retry,
|
|
4148
|
+
}));
|
|
4149
|
+
/** List all s3 client configurations. */
|
|
4150
|
+
export const listConfigS3 = /*@__PURE__*/ API.make(() => ({
|
|
4151
|
+
input: ListConfigS3Request,
|
|
4152
|
+
output: ListConfigS3Response,
|
|
4153
|
+
errors: [],
|
|
4154
|
+
protocol: ProxmoxBackupProtocol,
|
|
4155
|
+
retry: Retry.Retry,
|
|
4156
|
+
}));
|
|
4157
|
+
/** List all sync jobs */
|
|
4158
|
+
export const listConfigSync = /*@__PURE__*/ API.make(() => ({
|
|
4159
|
+
input: ListConfigSyncRequest,
|
|
4160
|
+
output: ListConfigSyncResponse,
|
|
4161
|
+
errors: [],
|
|
4162
|
+
protocol: ProxmoxBackupProtocol,
|
|
4163
|
+
retry: Retry.Retry,
|
|
4164
|
+
}));
|
|
4165
|
+
/** List all tape backup jobs */
|
|
4166
|
+
export const listConfigTapeBackupJob = /*@__PURE__*/ API.make(() => ({
|
|
4167
|
+
input: ListConfigTapeBackupJobRequest,
|
|
4168
|
+
output: ListConfigTapeBackupJobResponse,
|
|
4169
|
+
errors: [],
|
|
4170
|
+
protocol: ProxmoxBackupProtocol,
|
|
4171
|
+
retry: Retry.Retry,
|
|
4172
|
+
}));
|
|
4173
|
+
/** List existing keys */
|
|
4174
|
+
export const listConfigTapeEncryptionKeys = /*@__PURE__*/ API.make(() => ({
|
|
4175
|
+
input: ListConfigTapeEncryptionKeysRequest,
|
|
4176
|
+
output: ListConfigTapeEncryptionKeysResponse,
|
|
4177
|
+
errors: [],
|
|
4178
|
+
protocol: ProxmoxBackupProtocol,
|
|
4179
|
+
retry: Retry.Retry,
|
|
4180
|
+
}));
|
|
4181
|
+
/** List traffic control rules */
|
|
4182
|
+
export const listConfigTrafficControl = /*@__PURE__*/ API.make(() => ({
|
|
4183
|
+
input: ListConfigTrafficControlRequest,
|
|
4184
|
+
output: ListConfigTrafficControlResponse,
|
|
4185
|
+
errors: [],
|
|
4186
|
+
protocol: ProxmoxBackupProtocol,
|
|
4187
|
+
retry: Retry.Retry,
|
|
4188
|
+
}));
|
|
4189
|
+
/** List all verification jobs */
|
|
4190
|
+
export const listConfigVerify = /*@__PURE__*/ API.make(() => ({
|
|
4191
|
+
input: ListConfigVerifyRequest,
|
|
4192
|
+
output: ListConfigVerifyResponse,
|
|
4193
|
+
errors: [],
|
|
4194
|
+
protocol: ProxmoxBackupProtocol,
|
|
4195
|
+
retry: Retry.Retry,
|
|
4196
|
+
}));
|
|
4197
|
+
/** Update an AD realm configuration */
|
|
4198
|
+
export const putConfigAccessAd = /*@__PURE__*/ API.make(() => ({
|
|
4199
|
+
input: PutConfigAccessAdRequest,
|
|
4200
|
+
output: PutConfigAccessAdResponse,
|
|
4201
|
+
errors: [],
|
|
4202
|
+
protocol: ProxmoxBackupProtocol,
|
|
4203
|
+
retry: Retry.Retry,
|
|
4204
|
+
}));
|
|
4205
|
+
/** Update an LDAP realm configuration */
|
|
4206
|
+
export const putConfigAccessLdap = /*@__PURE__*/ API.make(() => ({
|
|
4207
|
+
input: PutConfigAccessLdapRequest,
|
|
4208
|
+
output: PutConfigAccessLdapResponse,
|
|
4209
|
+
errors: [],
|
|
4210
|
+
protocol: ProxmoxBackupProtocol,
|
|
4211
|
+
retry: Retry.Retry,
|
|
4212
|
+
}));
|
|
4213
|
+
/** Update an OpenID realm configuration */
|
|
4214
|
+
export const putConfigAccessOpenid = /*@__PURE__*/ API.make(() => ({
|
|
4215
|
+
input: PutConfigAccessOpenidRequest,
|
|
4216
|
+
output: PutConfigAccessOpenidResponse,
|
|
4217
|
+
errors: [],
|
|
4218
|
+
protocol: ProxmoxBackupProtocol,
|
|
4219
|
+
retry: Retry.Retry,
|
|
4220
|
+
}));
|
|
4221
|
+
/** Update the PAM realm configuration */
|
|
4222
|
+
export const putConfigAccessPam = /*@__PURE__*/ API.make(() => ({
|
|
4223
|
+
input: PutConfigAccessPamRequest,
|
|
4224
|
+
output: PutConfigAccessPamResponse,
|
|
4225
|
+
errors: [],
|
|
4226
|
+
protocol: ProxmoxBackupProtocol,
|
|
4227
|
+
retry: Retry.Retry,
|
|
4228
|
+
}));
|
|
4229
|
+
/** Update the Proxmox Backup authentication server realm configuration */
|
|
4230
|
+
export const putConfigAccessPbs = /*@__PURE__*/ API.make(() => ({
|
|
4231
|
+
input: PutConfigAccessPbsRequest,
|
|
4232
|
+
output: PutConfigAccessPbsResponse,
|
|
4233
|
+
errors: [],
|
|
4234
|
+
protocol: ProxmoxBackupProtocol,
|
|
4235
|
+
retry: Retry.Retry,
|
|
4236
|
+
}));
|
|
4237
|
+
/** Update the TFA configuration. */
|
|
4238
|
+
export const putConfigAccessTfaWebauthn = /*@__PURE__*/ API.make(() => ({
|
|
4239
|
+
input: PutConfigAccessTfaWebauthnRequest,
|
|
4240
|
+
output: PutConfigAccessTfaWebauthnResponse,
|
|
4241
|
+
errors: [],
|
|
4242
|
+
protocol: ProxmoxBackupProtocol,
|
|
4243
|
+
retry: Retry.Retry,
|
|
4244
|
+
}));
|
|
4245
|
+
/** Update an ACME account. */
|
|
4246
|
+
export const putConfigAcmeAccount = /*@__PURE__*/ API.make(() => ({
|
|
4247
|
+
input: PutConfigAcmeAccountRequest,
|
|
4248
|
+
output: PutConfigAcmeAccountResponse,
|
|
4249
|
+
errors: [],
|
|
4250
|
+
protocol: ProxmoxBackupProtocol,
|
|
4251
|
+
retry: Retry.Retry,
|
|
4252
|
+
}));
|
|
4253
|
+
/** Update an ACME plugin configuration. */
|
|
4254
|
+
export const putConfigAcmePlugin = /*@__PURE__*/ API.make(() => ({
|
|
4255
|
+
input: PutConfigAcmePluginRequest,
|
|
4256
|
+
output: PutConfigAcmePluginResponse,
|
|
4257
|
+
errors: [],
|
|
4258
|
+
protocol: ProxmoxBackupProtocol,
|
|
4259
|
+
retry: Retry.Retry,
|
|
4260
|
+
}));
|
|
4261
|
+
/** Update a tape changer configuration */
|
|
4262
|
+
export const putConfigChanger = /*@__PURE__*/ API.make(() => ({
|
|
4263
|
+
input: PutConfigChangerRequest,
|
|
4264
|
+
output: PutConfigChangerResponse,
|
|
4265
|
+
errors: [],
|
|
4266
|
+
protocol: ProxmoxBackupProtocol,
|
|
4267
|
+
retry: Retry.Retry,
|
|
4268
|
+
}));
|
|
4269
|
+
/** Update datastore config. */
|
|
4270
|
+
export const putConfigDatastore = /*@__PURE__*/ API.make(() => ({
|
|
4271
|
+
input: PutConfigDatastoreRequest,
|
|
4272
|
+
output: PutConfigDatastoreResponse,
|
|
4273
|
+
errors: [],
|
|
4274
|
+
protocol: ProxmoxBackupProtocol,
|
|
4275
|
+
retry: Retry.Retry,
|
|
4276
|
+
}));
|
|
4277
|
+
/** Update a drive configuration */
|
|
4278
|
+
export const putConfigDrive = /*@__PURE__*/ API.make(() => ({
|
|
4279
|
+
input: PutConfigDriveRequest,
|
|
4280
|
+
output: PutConfigDriveResponse,
|
|
4281
|
+
errors: [],
|
|
4282
|
+
protocol: ProxmoxBackupProtocol,
|
|
4283
|
+
retry: Retry.Retry,
|
|
4284
|
+
}));
|
|
4285
|
+
/** Update media pool settings */
|
|
4286
|
+
export const putConfigMediaPool = /*@__PURE__*/ API.make(() => ({
|
|
4287
|
+
input: PutConfigMediaPoolRequest,
|
|
4288
|
+
output: PutConfigMediaPoolResponse,
|
|
4289
|
+
errors: [],
|
|
4290
|
+
protocol: ProxmoxBackupProtocol,
|
|
4291
|
+
retry: Retry.Retry,
|
|
4292
|
+
}));
|
|
4293
|
+
/** Update an InfluxDB http server configuration */
|
|
4294
|
+
export const putConfigMetricsInfluxdbHttp = /*@__PURE__*/ API.make(() => ({
|
|
4295
|
+
input: PutConfigMetricsInfluxdbHttpRequest,
|
|
4296
|
+
output: PutConfigMetricsInfluxdbHttpResponse,
|
|
4297
|
+
errors: [],
|
|
4298
|
+
protocol: ProxmoxBackupProtocol,
|
|
4299
|
+
retry: Retry.Retry,
|
|
4300
|
+
}));
|
|
4301
|
+
/** Update an InfluxDB udp server configuration */
|
|
4302
|
+
export const putConfigMetricsInfluxdbUdp = /*@__PURE__*/ API.make(() => ({
|
|
4303
|
+
input: PutConfigMetricsInfluxdbUdpRequest,
|
|
4304
|
+
output: PutConfigMetricsInfluxdbUdpResponse,
|
|
4305
|
+
errors: [],
|
|
4306
|
+
protocol: ProxmoxBackupProtocol,
|
|
4307
|
+
retry: Retry.Retry,
|
|
4308
|
+
}));
|
|
4309
|
+
/** Update gotify endpoint. */
|
|
4310
|
+
export const putConfigNotificationEndpointGotify = /*@__PURE__*/ API.make(() => ({
|
|
4311
|
+
input: PutConfigNotificationEndpointGotifyRequest,
|
|
4312
|
+
output: PutConfigNotificationEndpointGotifyResponse,
|
|
4313
|
+
errors: [],
|
|
4314
|
+
protocol: ProxmoxBackupProtocol,
|
|
4315
|
+
retry: Retry.Retry,
|
|
4316
|
+
}));
|
|
4317
|
+
/** Update sendmail endpoint. */
|
|
4318
|
+
export const putConfigNotificationEndpointSendmail = /*@__PURE__*/ API.make(() => ({
|
|
4319
|
+
input: PutConfigNotificationEndpointSendmailRequest,
|
|
4320
|
+
output: PutConfigNotificationEndpointSendmailResponse,
|
|
4321
|
+
errors: [],
|
|
4322
|
+
protocol: ProxmoxBackupProtocol,
|
|
4323
|
+
retry: Retry.Retry,
|
|
4324
|
+
}));
|
|
4325
|
+
/** Update smtp endpoint. */
|
|
4326
|
+
export const putConfigNotificationEndpointSmtp = /*@__PURE__*/ API.make(() => ({
|
|
4327
|
+
input: PutConfigNotificationEndpointSmtpRequest,
|
|
4328
|
+
output: PutConfigNotificationEndpointSmtpResponse,
|
|
4329
|
+
errors: [],
|
|
4330
|
+
protocol: ProxmoxBackupProtocol,
|
|
4331
|
+
retry: Retry.Retry,
|
|
4332
|
+
}));
|
|
4333
|
+
/** Update webhook endpoint. */
|
|
4334
|
+
export const putConfigNotificationEndpointWebhook = /*@__PURE__*/ API.make(() => ({
|
|
4335
|
+
input: PutConfigNotificationEndpointWebhookRequest,
|
|
4336
|
+
output: PutConfigNotificationEndpointWebhookResponse,
|
|
4337
|
+
errors: [],
|
|
4338
|
+
protocol: ProxmoxBackupProtocol,
|
|
4339
|
+
retry: Retry.Retry,
|
|
4340
|
+
}));
|
|
4341
|
+
/** Update notification matcher. */
|
|
4342
|
+
export const putConfigNotificationMatcher = /*@__PURE__*/ API.make(() => ({
|
|
4343
|
+
input: PutConfigNotificationMatcherRequest,
|
|
4344
|
+
output: PutConfigNotificationMatcherResponse,
|
|
4345
|
+
errors: [],
|
|
4346
|
+
protocol: ProxmoxBackupProtocol,
|
|
4347
|
+
retry: Retry.Retry,
|
|
4348
|
+
}));
|
|
4349
|
+
/** Update prune job config. */
|
|
4350
|
+
export const putConfigPrune = /*@__PURE__*/ API.make(() => ({
|
|
4351
|
+
input: PutConfigPruneRequest,
|
|
4352
|
+
output: PutConfigPruneResponse,
|
|
4353
|
+
errors: [],
|
|
4354
|
+
protocol: ProxmoxBackupProtocol,
|
|
4355
|
+
retry: Retry.Retry,
|
|
4356
|
+
}));
|
|
4357
|
+
/** Update remote configuration. */
|
|
4358
|
+
export const putConfigRemote = /*@__PURE__*/ API.make(() => ({
|
|
4359
|
+
input: PutConfigRemoteRequest,
|
|
4360
|
+
output: PutConfigRemoteResponse,
|
|
4361
|
+
errors: [],
|
|
4362
|
+
protocol: ProxmoxBackupProtocol,
|
|
4363
|
+
retry: Retry.Retry,
|
|
4364
|
+
}));
|
|
4365
|
+
/** Update an s3 client configuration. */
|
|
4366
|
+
export const putConfigS3 = /*@__PURE__*/ API.make(() => ({
|
|
4367
|
+
input: PutConfigS3Request,
|
|
4368
|
+
output: PutConfigS3Response,
|
|
4369
|
+
errors: [],
|
|
4370
|
+
protocol: ProxmoxBackupProtocol,
|
|
4371
|
+
retry: Retry.Retry,
|
|
4372
|
+
}));
|
|
4373
|
+
/** Update sync job config. */
|
|
4374
|
+
export const putConfigSync = /*@__PURE__*/ API.make(() => ({
|
|
4375
|
+
input: PutConfigSyncRequest,
|
|
4376
|
+
output: PutConfigSyncResponse,
|
|
4377
|
+
errors: [],
|
|
4378
|
+
protocol: ProxmoxBackupProtocol,
|
|
4379
|
+
retry: Retry.Retry,
|
|
4380
|
+
}));
|
|
4381
|
+
/** Update the tape backup job */
|
|
4382
|
+
export const putConfigTapeBackupJob = /*@__PURE__*/ API.make(() => ({
|
|
4383
|
+
input: PutConfigTapeBackupJobRequest,
|
|
4384
|
+
output: PutConfigTapeBackupJobResponse,
|
|
4385
|
+
errors: [],
|
|
4386
|
+
protocol: ProxmoxBackupProtocol,
|
|
4387
|
+
retry: Retry.Retry,
|
|
4388
|
+
}));
|
|
4389
|
+
/** Change the encryption key's password (and password hint). */
|
|
4390
|
+
export const putConfigTapeEncryptionKey = /*@__PURE__*/ API.make(() => ({
|
|
4391
|
+
input: PutConfigTapeEncryptionKeyRequest,
|
|
4392
|
+
output: PutConfigTapeEncryptionKeyResponse,
|
|
4393
|
+
errors: [],
|
|
4394
|
+
protocol: ProxmoxBackupProtocol,
|
|
4395
|
+
retry: Retry.Retry,
|
|
4396
|
+
}));
|
|
4397
|
+
/** Update traffic control configuration. */
|
|
4398
|
+
export const putConfigTrafficControl = /*@__PURE__*/ API.make(() => ({
|
|
4399
|
+
input: PutConfigTrafficControlRequest,
|
|
4400
|
+
output: PutConfigTrafficControlResponse,
|
|
4401
|
+
errors: [],
|
|
4402
|
+
protocol: ProxmoxBackupProtocol,
|
|
4403
|
+
retry: Retry.Retry,
|
|
4404
|
+
}));
|
|
4405
|
+
/** Update verification job config. */
|
|
4406
|
+
export const putConfigVerify = /*@__PURE__*/ API.make(() => ({
|
|
4407
|
+
input: PutConfigVerifyRequest,
|
|
4408
|
+
output: PutConfigVerifyResponse,
|
|
4409
|
+
errors: [],
|
|
4410
|
+
protocol: ProxmoxBackupProtocol,
|
|
4411
|
+
retry: Retry.Retry,
|
|
4412
|
+
}));
|
|
4413
|
+
/** Create a new sync job. */
|
|
4414
|
+
export const syncConfig = /*@__PURE__*/ API.make(() => ({
|
|
4415
|
+
input: SyncConfigRequest,
|
|
4416
|
+
output: SyncConfigResponse,
|
|
4417
|
+
errors: [],
|
|
4418
|
+
protocol: ProxmoxBackupProtocol,
|
|
4419
|
+
retry: Retry.Retry,
|
|
4420
|
+
}));
|
|
4421
|
+
/** Test a given notification target. */
|
|
4422
|
+
export const testConfigNotificationsTarget = /*@__PURE__*/ API.make(() => ({
|
|
4423
|
+
input: TestConfigNotificationsTargetRequest,
|
|
4424
|
+
output: TestConfigNotificationsTargetResponse,
|
|
4425
|
+
errors: [],
|
|
4426
|
+
protocol: ProxmoxBackupProtocol,
|
|
4427
|
+
retry: Retry.Retry,
|
|
4428
|
+
}));
|
|
4429
|
+
/** Toggle the archive state for the key by given id, archived keys are no longer usable to encrypt contents. */
|
|
4430
|
+
export const updateConfigEncryptionKey = /*@__PURE__*/ API.make(() => ({
|
|
4431
|
+
input: UpdateConfigEncryptionKeyRequest,
|
|
4432
|
+
output: UpdateConfigEncryptionKeyResponse,
|
|
4433
|
+
errors: [],
|
|
4434
|
+
protocol: ProxmoxBackupProtocol,
|
|
4435
|
+
retry: Retry.Retry,
|
|
4436
|
+
}));
|
|
4437
|
+
/** Create a new verification job. */
|
|
4438
|
+
export const verifyConfig = /*@__PURE__*/ API.make(() => ({
|
|
4439
|
+
input: VerifyConfigRequest,
|
|
4440
|
+
output: VerifyConfigResponse,
|
|
4441
|
+
errors: [],
|
|
4442
|
+
protocol: ProxmoxBackupProtocol,
|
|
4443
|
+
retry: Retry.Retry,
|
|
4444
|
+
}));
|
|
4445
|
+
//# sourceMappingURL=config.js.map
|