@truenas/api-client 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2,7 +2,11 @@ import { switchMap, map, toArray, concat, from, defer, throwError, firstValueFro
2
2
  import { webSocket } from 'rxjs/webSocket';
3
3
  import { map as map$1, catchError, shareReplay } from 'rxjs/operators';
4
4
 
5
- // src/factory.ts
5
+ var __defProp = Object.defineProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
6
10
 
7
11
  // src/enums/truenas-endpoint.enum.ts
8
12
  var TrueNasEndpoint = /* @__PURE__ */ ((TrueNasEndpoint2) => {
@@ -861,16 +865,1924 @@ var makeConnectionError = (message, hostname) => ({
861
865
  });
862
866
  var closedConnection = { state: "closed" };
863
867
 
868
+ // src/generated/v25_10_0/index.ts
869
+ var v25_10_0_exports = {};
870
+ __export(v25_10_0_exports, {
871
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
872
+ Aclmode: () => Aclmode,
873
+ Acltype: () => Acltype,
874
+ Action: () => Action,
875
+ Advpowermgmt: () => Advpowermgmt,
876
+ Algorithm: () => Algorithm,
877
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
878
+ Atime: () => Atime,
879
+ Authenticator: () => Authenticator,
880
+ Authmethod: () => Authmethod,
881
+ Autotrim: () => Autotrim,
882
+ Basic: () => Basic,
883
+ Blocksize: () => Blocksize,
884
+ Bootloader: () => Bootloader,
885
+ Casesensitivity: () => Casesensitivity,
886
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
887
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
888
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
889
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
890
+ Code: () => Code,
891
+ Compression: () => Compression,
892
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
893
+ Credentials: () => Credentials,
894
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
895
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
896
+ DiskWipeModeInput: () => DiskWipeModeInput,
897
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
898
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
899
+ Encryption: () => Encryption,
900
+ Endpoint: () => Endpoint,
901
+ Exec: () => Exec,
902
+ Feature: () => Feature,
903
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
904
+ Function: () => Function,
905
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
906
+ Hddstandby: () => Hddstandby,
907
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
908
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
909
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
910
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
911
+ Iotype: () => Iotype,
912
+ IpmiChassisIdentifyVerb: () => IpmiChassisIdentifyVerb,
913
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
914
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
915
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
916
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
917
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
918
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
919
+ Level: () => Level,
920
+ NFS4ACEType: () => NFS4ACEType,
921
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
922
+ Name: () => Name,
923
+ Policy: () => Policy,
924
+ PoolCreateChecksum: () => PoolCreateChecksum,
925
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
926
+ PoolCreateTopologyDataVdevDRAIDTypeInput: () => PoolCreateTopologyDataVdevDRAIDTypeInput,
927
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
928
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
929
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
930
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
931
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
932
+ PoolScanStateInput: () => PoolScanStateInput,
933
+ Protocol: () => Protocol,
934
+ Purpose: () => Purpose,
935
+ Readonly: () => Readonly,
936
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
937
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
938
+ Resolution: () => Resolution,
939
+ Rpm: () => Rpm,
940
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
941
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
942
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
943
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
944
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
945
+ STIGType: () => STIGType,
946
+ Schema: () => Schema,
947
+ Security: () => Security,
948
+ Serialspeed: () => Serialspeed,
949
+ ServiceControlVerb: () => ServiceControlVerb,
950
+ SharingSMBEntryPurposeInput: () => SharingSMBEntryPurposeInput,
951
+ SharingSMBEntryPurposeInput2: () => SharingSMBEntryPurposeInput2,
952
+ Shutdown: () => Shutdown,
953
+ Snapdev: () => Snapdev,
954
+ Snapdir: () => Snapdir,
955
+ Source: () => Source,
956
+ SourceInput: () => SourceInput,
957
+ State: () => State,
958
+ Status: () => Status,
959
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
960
+ Sync: () => Sync,
961
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
962
+ Sysloglevel: () => Sysloglevel,
963
+ SystemProductTypeResult: () => SystemProductTypeResult,
964
+ SystemStateResult: () => SystemStateResult,
965
+ Tag: () => Tag,
966
+ Target: () => Target,
967
+ Time: () => Time,
968
+ Transport: () => Transport,
969
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
970
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
971
+ TunableCreateType: () => TunableCreateType,
972
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
973
+ UPSEntryMode: () => UPSEntryMode,
974
+ UPSEntryModeInput: () => UPSEntryModeInput,
975
+ Unixcharset: () => Unixcharset,
976
+ Username: () => Username,
977
+ VMDiskDeviceType: () => VMDiskDeviceType,
978
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
979
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
980
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
981
+ Vendor: () => Vendor,
982
+ Volblocksize: () => Volblocksize,
983
+ When: () => When,
984
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput
985
+ });
986
+
987
+ // src/generated/v25_10_0/api-types.ts
988
+ var Aclmode = {
989
+ Passthrough: "PASSTHROUGH",
990
+ Restricted: "RESTRICTED",
991
+ Discard: "DISCARD",
992
+ Inherit: "INHERIT"
993
+ };
994
+ var ACLTemplateEntryAcltypeInput = {
995
+ Nfs4: "NFS4",
996
+ Posix1e: "POSIX1E"
997
+ };
998
+ var Acltype = {
999
+ Nfs4: "NFS4",
1000
+ Posix1e: "POSIX1E"
1001
+ };
1002
+ var Action = {
1003
+ Start: "START",
1004
+ Stop: "STOP",
1005
+ Pause: "PAUSE"
1006
+ };
1007
+ var Advpowermgmt = {
1008
+ Disabled: "DISABLED",
1009
+ "1": "1",
1010
+ "64": "64",
1011
+ "127": "127",
1012
+ "128": "128",
1013
+ "192": "192",
1014
+ "254": "254"
1015
+ };
1016
+ var Algorithm = {
1017
+ Aes128Ccm: "AES-128-CCM",
1018
+ Aes192Ccm: "AES-192-CCM",
1019
+ Aes256Ccm: "AES-256-CCM",
1020
+ Aes128Gcm: "AES-128-GCM",
1021
+ Aes192Gcm: "AES-192-GCM",
1022
+ Aes256Gcm: "AES-256-GCM"
1023
+ };
1024
+ var AppContainerDetailsStateInput = {
1025
+ Crashed: "crashed",
1026
+ Created: "created",
1027
+ Exited: "exited",
1028
+ Running: "running",
1029
+ Starting: "starting"
1030
+ };
1031
+ var Atime = {
1032
+ On: "ON",
1033
+ Off: "OFF",
1034
+ Inherit: "INHERIT"
1035
+ };
1036
+ var Authenticator = {
1037
+ Level1: "LEVEL_1",
1038
+ Level2: "LEVEL_2"
1039
+ };
1040
+ var Authmethod = {
1041
+ None: "NONE",
1042
+ Chap: "CHAP",
1043
+ ChapMutual: "CHAP_MUTUAL"
1044
+ };
1045
+ var Autotrim = {
1046
+ On: "ON",
1047
+ Off: "OFF"
1048
+ };
1049
+ var Basic = {
1050
+ Inherit: "INHERIT",
1051
+ Noinherit: "NOINHERIT"
1052
+ };
1053
+ var Blocksize = {
1054
+ "512": 512,
1055
+ "1024": 1024,
1056
+ "2048": 2048,
1057
+ "4096": 4096
1058
+ };
1059
+ var Bootloader = {
1060
+ UefiCsm: "UEFI_CSM",
1061
+ Uefi: "UEFI"
1062
+ };
1063
+ var Casesensitivity = {
1064
+ Sensitive: "SENSITIVE",
1065
+ Insensitive: "INSENSITIVE",
1066
+ Inherit: "INHERIT"
1067
+ };
1068
+ var CloudBackupSnapshotItemType = {
1069
+ Dir: "dir",
1070
+ File: "file"
1071
+ };
1072
+ var CloudSyncCreateDirection = {
1073
+ Push: "PUSH",
1074
+ Pull: "PULL"
1075
+ };
1076
+ var CloudSyncCreateDirectionInput = {
1077
+ Push: "PUSH",
1078
+ Pull: "PULL"
1079
+ };
1080
+ var CloudTaskAttributesEncryptionInput = {
1081
+ Null: null,
1082
+ Aes256: "AES256"
1083
+ };
1084
+ var Code = {
1085
+ Normal: "NORMAL",
1086
+ Error: "ERROR"
1087
+ };
1088
+ var Compression = {
1089
+ On: "ON",
1090
+ Off: "OFF",
1091
+ Lz4: "LZ4",
1092
+ Gzip: "GZIP",
1093
+ Gzip1: "GZIP-1",
1094
+ Gzip9: "GZIP-9",
1095
+ Zstd: "ZSTD",
1096
+ ZstdFast: "ZSTD-FAST",
1097
+ Zle: "ZLE",
1098
+ Lzjb: "LZJB",
1099
+ Zstd1: "ZSTD-1",
1100
+ Zstd2: "ZSTD-2",
1101
+ Zstd3: "ZSTD-3",
1102
+ Zstd4: "ZSTD-4",
1103
+ Zstd5: "ZSTD-5",
1104
+ Zstd6: "ZSTD-6",
1105
+ Zstd7: "ZSTD-7",
1106
+ Zstd8: "ZSTD-8",
1107
+ Zstd9: "ZSTD-9",
1108
+ Zstd10: "ZSTD-10",
1109
+ Zstd11: "ZSTD-11",
1110
+ Zstd12: "ZSTD-12",
1111
+ Zstd13: "ZSTD-13",
1112
+ Zstd14: "ZSTD-14",
1113
+ Zstd15: "ZSTD-15",
1114
+ Zstd16: "ZSTD-16",
1115
+ Zstd17: "ZSTD-17",
1116
+ Zstd18: "ZSTD-18",
1117
+ Zstd19: "ZSTD-19",
1118
+ ZstdFast1: "ZSTD-FAST-1",
1119
+ ZstdFast2: "ZSTD-FAST-2",
1120
+ ZstdFast3: "ZSTD-FAST-3",
1121
+ ZstdFast4: "ZSTD-FAST-4",
1122
+ ZstdFast5: "ZSTD-FAST-5",
1123
+ ZstdFast6: "ZSTD-FAST-6",
1124
+ ZstdFast7: "ZSTD-FAST-7",
1125
+ ZstdFast8: "ZSTD-FAST-8",
1126
+ ZstdFast9: "ZSTD-FAST-9",
1127
+ ZstdFast10: "ZSTD-FAST-10",
1128
+ ZstdFast20: "ZSTD-FAST-20",
1129
+ ZstdFast30: "ZSTD-FAST-30",
1130
+ ZstdFast40: "ZSTD-FAST-40",
1131
+ ZstdFast50: "ZSTD-FAST-50",
1132
+ ZstdFast60: "ZSTD-FAST-60",
1133
+ ZstdFast70: "ZSTD-FAST-70",
1134
+ ZstdFast80: "ZSTD-FAST-80",
1135
+ ZstdFast90: "ZSTD-FAST-90",
1136
+ ZstdFast100: "ZSTD-FAST-100",
1137
+ ZstdFast500: "ZSTD-FAST-500",
1138
+ ZstdFast1000: "ZSTD-FAST-1000",
1139
+ Inherit: "INHERIT"
1140
+ };
1141
+ var CorePingRemoteTypeInput = {
1142
+ Icmp: "ICMP",
1143
+ Icmpv4: "ICMPV4",
1144
+ Icmpv6: "ICMPV6"
1145
+ };
1146
+ var Credentials = {
1147
+ UnixSocket: "UNIX_SOCKET",
1148
+ LoginPassword: "LOGIN_PASSWORD",
1149
+ LoginTwofactor: "LOGIN_TWOFACTOR",
1150
+ LoginOnetimePassword: "LOGIN_ONETIME_PASSWORD",
1151
+ ApiKey: "API_KEY",
1152
+ Token: "TOKEN",
1153
+ TruenasNode: "TRUENAS_NODE"
1154
+ };
1155
+ var DeviceGetInfoOtherTypeInput = {
1156
+ Serial: "SERIAL",
1157
+ Gpu: "GPU"
1158
+ };
1159
+ var DiskDetailsTypeInput = {
1160
+ Used: "USED",
1161
+ Unused: "UNUSED",
1162
+ Both: "BOTH"
1163
+ };
1164
+ var DiskWipeModeInput = {
1165
+ Quick: "QUICK",
1166
+ Full: "FULL",
1167
+ FullRandom: "FULL_RANDOM"
1168
+ };
1169
+ var DockerStatusInfoStatusInput = {
1170
+ Pending: "PENDING",
1171
+ Running: "RUNNING",
1172
+ Stopped: "STOPPED",
1173
+ Initializing: "INITIALIZING",
1174
+ Stopping: "STOPPING",
1175
+ Unconfigured: "UNCONFIGURED",
1176
+ Failed: "FAILED",
1177
+ Migrating: "MIGRATING",
1178
+ MigrationFailed: "MIGRATION_FAILED"
1179
+ };
1180
+ var Enclosure2SetSlotStatusStatusInput = {
1181
+ Clear: "CLEAR",
1182
+ On: "ON",
1183
+ Off: "OFF"
1184
+ };
1185
+ var Encryption = {
1186
+ Default: "DEFAULT",
1187
+ Negotiate: "NEGOTIATE",
1188
+ Desired: "DESIRED",
1189
+ Required: "REQUIRED"
1190
+ };
1191
+ var Endpoint = {
1192
+ OvhEu: "ovh-eu",
1193
+ OvhCa: "ovh-ca",
1194
+ OvhUs: "ovh-us",
1195
+ KimsufiEu: "kimsufi-eu",
1196
+ KimsufiCa: "kimsufi-ca",
1197
+ SoyoustartEu: "soyoustart-eu",
1198
+ SoyoustartCa: "soyoustart-ca"
1199
+ };
1200
+ var Exec = {
1201
+ On: "ON",
1202
+ Off: "OFF",
1203
+ Inherit: "INHERIT"
1204
+ };
1205
+ var Feature = {
1206
+ Dedup: "DEDUP",
1207
+ Fibrechannel: "FIBRECHANNEL",
1208
+ Vm: "VM"
1209
+ };
1210
+ var FilesystemDirEntryType = {
1211
+ Directory: "DIRECTORY",
1212
+ File: "FILE",
1213
+ Symlink: "SYMLINK",
1214
+ Other: "OTHER"
1215
+ };
1216
+ var Function = {
1217
+ Resilver: "RESILVER",
1218
+ Scrub: "SCRUB"
1219
+ };
1220
+ var GetDisplayDeviceType = {
1221
+ Spice: "SPICE",
1222
+ Vnc: "VNC"
1223
+ };
1224
+ var Hddstandby = {
1225
+ AlwaysOn: "ALWAYS ON",
1226
+ "5": "5",
1227
+ "10": "10",
1228
+ "20": "20",
1229
+ "30": "30",
1230
+ "60": "60",
1231
+ "120": "120",
1232
+ "180": "180",
1233
+ "240": "240",
1234
+ "300": "300",
1235
+ "330": "330"
1236
+ };
1237
+ var InitShutdownScriptCreateType = {
1238
+ Command: "COMMAND",
1239
+ Script: "SCRIPT"
1240
+ };
1241
+ var InitShutdownScriptCreateTypeInput = {
1242
+ Command: "COMMAND",
1243
+ Script: "SCRIPT"
1244
+ };
1245
+ var InterfaceCreateAliasTypeInput = {
1246
+ Inet: "INET",
1247
+ Inet6: "INET6"
1248
+ };
1249
+ var InterfaceCreateTypeInput = {
1250
+ Bridge: "BRIDGE",
1251
+ LinkAggregation: "LINK_AGGREGATION",
1252
+ Vlan: "VLAN"
1253
+ };
1254
+ var Iotype = {
1255
+ Native: "NATIVE",
1256
+ Threads: "THREADS",
1257
+ IoUring: "IO_URING"
1258
+ };
1259
+ var IpmiChassisIdentifyVerb = {
1260
+ On: "ON",
1261
+ Off: "OFF"
1262
+ };
1263
+ var IscsiExtentCreateType = {
1264
+ Disk: "DISK",
1265
+ File: "FILE"
1266
+ };
1267
+ var IscsiExtentCreateTypeInput = {
1268
+ Disk: "DISK",
1269
+ File: "FILE"
1270
+ };
1271
+ var IscsiTargetCreateMode = {
1272
+ Iscsi: "ISCSI",
1273
+ Fc: "FC",
1274
+ Both: "BOTH"
1275
+ };
1276
+ var IscsiTargetCreateModeInput = {
1277
+ Iscsi: "ISCSI",
1278
+ Fc: "FC",
1279
+ Both: "BOTH"
1280
+ };
1281
+ var KeychainCredentialEntryType = {
1282
+ SshKeyPair: "SSH_KEY_PAIR",
1283
+ SshCredentials: "SSH_CREDENTIALS"
1284
+ };
1285
+ var KeychainCredentialEntryTypeInput = {
1286
+ SshKeyPair: "SSH_KEY_PAIR",
1287
+ SshCredentials: "SSH_CREDENTIALS"
1288
+ };
1289
+ var Level = {
1290
+ Info: "INFO",
1291
+ Notice: "NOTICE",
1292
+ Warning: "WARNING",
1293
+ Error: "ERROR",
1294
+ Critical: "CRITICAL",
1295
+ Alert: "ALERT",
1296
+ Emergency: "EMERGENCY"
1297
+ };
1298
+ var Name = {
1299
+ Cpu: "cpu",
1300
+ Cputemp: "cputemp",
1301
+ Disk: "disk",
1302
+ Interface: "interface",
1303
+ Load: "load",
1304
+ Processes: "processes",
1305
+ Memory: "memory",
1306
+ Uptime: "uptime",
1307
+ Arcactualrate: "arcactualrate",
1308
+ Arcrate: "arcrate",
1309
+ Arcsize: "arcsize",
1310
+ Arcresult: "arcresult",
1311
+ Disktemp: "disktemp",
1312
+ Upscharge: "upscharge",
1313
+ Upsruntime: "upsruntime",
1314
+ Upsvoltage: "upsvoltage",
1315
+ Upscurrent: "upscurrent",
1316
+ Upsfrequency: "upsfrequency",
1317
+ Upsload: "upsload",
1318
+ Upstemperature: "upstemperature"
1319
+ };
1320
+ var NFS4ACEType = {
1321
+ Allow: "ALLOW",
1322
+ Deny: "DENY"
1323
+ };
1324
+ var NFS4ACETypeInput = {
1325
+ Allow: "ALLOW",
1326
+ Deny: "DENY"
1327
+ };
1328
+ var Policy = {
1329
+ Immediately: "IMMEDIATELY",
1330
+ Hourly: "HOURLY",
1331
+ Daily: "DAILY",
1332
+ Never: "NEVER"
1333
+ };
1334
+ var PoolCreateChecksum = {
1335
+ On: "ON",
1336
+ Off: "OFF",
1337
+ Fletcher2: "FLETCHER2",
1338
+ Fletcher4: "FLETCHER4",
1339
+ Sha256: "SHA256",
1340
+ Sha512: "SHA512",
1341
+ Skein: "SKEIN",
1342
+ Edonr: "EDONR",
1343
+ Blake3: "BLAKE3",
1344
+ Null: null
1345
+ };
1346
+ var PoolCreateDeduplication = {
1347
+ On: "ON",
1348
+ Verify: "VERIFY",
1349
+ Off: "OFF",
1350
+ Null: null
1351
+ };
1352
+ var PoolCreateTopologyDataVdevDRAIDTypeInput = {
1353
+ Draid1: "DRAID1",
1354
+ Draid2: "DRAID2",
1355
+ Draid3: "DRAID3"
1356
+ };
1357
+ var PoolDatasetCreateFilesystemAcltypeInput = {
1358
+ Off: "OFF",
1359
+ Nfsv4: "NFSV4",
1360
+ Posix: "POSIX",
1361
+ Inherit: "INHERIT"
1362
+ };
1363
+ var PoolDatasetCreateFilesystemChecksum = {
1364
+ On: "ON",
1365
+ Off: "OFF",
1366
+ Fletcher2: "FLETCHER2",
1367
+ Fletcher4: "FLETCHER4",
1368
+ Sha256: "SHA256",
1369
+ Sha512: "SHA512",
1370
+ Skein: "SKEIN",
1371
+ Edonr: "EDONR",
1372
+ Blake3: "BLAKE3",
1373
+ Inherit: "INHERIT"
1374
+ };
1375
+ var PoolDatasetCreateFilesystemDeduplication = {
1376
+ On: "ON",
1377
+ Verify: "VERIFY",
1378
+ Off: "OFF",
1379
+ Inherit: "INHERIT"
1380
+ };
1381
+ var PoolDatasetCreateFilesystemReadonlyInput = {
1382
+ On: "ON",
1383
+ Off: "OFF",
1384
+ Inherit: "INHERIT"
1385
+ };
1386
+ var PoolDatasetDeleteResult = {
1387
+ Null: null,
1388
+ True: true
1389
+ };
1390
+ var PoolScanStateInput = {
1391
+ Scanning: "SCANNING",
1392
+ Finished: "FINISHED",
1393
+ Canceled: "CANCELED"
1394
+ };
1395
+ var Protocol = {
1396
+ Http: "HTTP",
1397
+ Https: "HTTPS"
1398
+ };
1399
+ var Purpose = {
1400
+ DefaultShare: "DEFAULT_SHARE",
1401
+ LegacyShare: "LEGACY_SHARE",
1402
+ TimemachineShare: "TIMEMACHINE_SHARE",
1403
+ MultiprotocolShare: "MULTIPROTOCOL_SHARE",
1404
+ TimeLockedShare: "TIME_LOCKED_SHARE",
1405
+ PrivateDatasetsShare: "PRIVATE_DATASETS_SHARE",
1406
+ ExternalShare: "EXTERNAL_SHARE",
1407
+ VeeamRepositoryShare: "VEEAM_REPOSITORY_SHARE"
1408
+ };
1409
+ var Readonly = {
1410
+ Set: "SET",
1411
+ Require: "REQUIRE",
1412
+ Ignore: "IGNORE"
1413
+ };
1414
+ var ReplicationCountEligibleManualSnapshotsTransportInput = {
1415
+ Ssh: "SSH",
1416
+ SshNetcat: "SSH+NETCAT",
1417
+ Local: "LOCAL"
1418
+ };
1419
+ var ReplicationCreateReadonlyInput = {
1420
+ Set: "SET",
1421
+ Require: "REQUIRE",
1422
+ Ignore: "IGNORE"
1423
+ };
1424
+ var Resolution = {
1425
+ "1920x1200": "1920x1200",
1426
+ "1920x1080": "1920x1080",
1427
+ "1600x1200": "1600x1200",
1428
+ "1600x900": "1600x900",
1429
+ "1400x1050": "1400x1050",
1430
+ "1280x1024": "1280x1024",
1431
+ "1280x720": "1280x720",
1432
+ "1024x768": "1024x768",
1433
+ "800x600": "800x600",
1434
+ "640x480": "640x480"
1435
+ };
1436
+ var Rpm = {
1437
+ Unknown: "UNKNOWN",
1438
+ Ssd: "SSD",
1439
+ "5400": "5400",
1440
+ "7200": "7200",
1441
+ "10000": "10000",
1442
+ "15000": "15000"
1443
+ };
1444
+ var RsyncTaskCreateDirection = {
1445
+ Pull: "PULL",
1446
+ Push: "PUSH"
1447
+ };
1448
+ var RsyncTaskCreateDirectionInput = {
1449
+ Pull: "PULL",
1450
+ Push: "PUSH"
1451
+ };
1452
+ var RsyncTaskCreateMode = {
1453
+ Module: "MODULE",
1454
+ Ssh: "SSH"
1455
+ };
1456
+ var RsyncTaskCreateModeInput = {
1457
+ Module: "MODULE",
1458
+ Ssh: "SSH"
1459
+ };
1460
+ var Schema = {
1461
+ Rfc2307: "RFC2307",
1462
+ Rfc2307bis: "RFC2307BIS"
1463
+ };
1464
+ var Security = {
1465
+ Plain: "PLAIN",
1466
+ Ssl: "SSL",
1467
+ Tls: "TLS"
1468
+ };
1469
+ var Serialspeed = {
1470
+ "9600": "9600",
1471
+ "19200": "19200",
1472
+ "38400": "38400",
1473
+ "57600": "57600",
1474
+ "115200": "115200"
1475
+ };
1476
+ var ServiceControlVerb = {
1477
+ Start: "START",
1478
+ Stop: "STOP",
1479
+ Restart: "RESTART",
1480
+ Reload: "RELOAD"
1481
+ };
1482
+ var SharingSMBEntryPurposeInput = {
1483
+ DefaultShare: "DEFAULT_SHARE",
1484
+ LegacyShare: "LEGACY_SHARE",
1485
+ TimemachineShare: "TIMEMACHINE_SHARE",
1486
+ MultiprotocolShare: "MULTIPROTOCOL_SHARE",
1487
+ TimeLockedShare: "TIME_LOCKED_SHARE",
1488
+ PrivateDatasetsShare: "PRIVATE_DATASETS_SHARE",
1489
+ ExternalShare: "EXTERNAL_SHARE",
1490
+ VeeamRepositoryShare: "VEEAM_REPOSITORY_SHARE",
1491
+ FcpShare: "FCP_SHARE"
1492
+ };
1493
+ var SharingSMBEntryPurposeInput2 = {
1494
+ DefaultShare: "DEFAULT_SHARE",
1495
+ LegacyShare: "LEGACY_SHARE",
1496
+ TimemachineShare: "TIMEMACHINE_SHARE",
1497
+ MultiprotocolShare: "MULTIPROTOCOL_SHARE",
1498
+ TimeLockedShare: "TIME_LOCKED_SHARE",
1499
+ PrivateDatasetsShare: "PRIVATE_DATASETS_SHARE",
1500
+ ExternalShare: "EXTERNAL_SHARE",
1501
+ VeeamRepositoryShare: "VEEAM_REPOSITORY_SHARE"
1502
+ };
1503
+ var Shutdown = {
1504
+ Lowbatt: "LOWBATT",
1505
+ Batt: "BATT"
1506
+ };
1507
+ var SMBEntryEncryptionInput = {
1508
+ Default: "DEFAULT",
1509
+ Negotiate: "NEGOTIATE",
1510
+ Desired: "DESIRED",
1511
+ Required: "REQUIRED"
1512
+ };
1513
+ var Snapdev = {
1514
+ Hidden: "HIDDEN",
1515
+ Visible: "VISIBLE",
1516
+ Inherit: "INHERIT"
1517
+ };
1518
+ var Snapdir = {
1519
+ Disabled: "DISABLED",
1520
+ Visible: "VISIBLE",
1521
+ Hidden: "HIDDEN",
1522
+ Inherit: "INHERIT"
1523
+ };
1524
+ var Source = {
1525
+ Local: "LOCAL",
1526
+ Activedirectory: "ACTIVEDIRECTORY",
1527
+ Ldap: "LDAP"
1528
+ };
1529
+ var SourceInput = {
1530
+ None: "NONE",
1531
+ Default: "DEFAULT",
1532
+ Local: "LOCAL",
1533
+ Temporary: "TEMPORARY",
1534
+ Inherited: "INHERITED",
1535
+ Received: "RECEIVED"
1536
+ };
1537
+ var State = {
1538
+ Crashed: "crashed",
1539
+ Created: "created",
1540
+ Exited: "exited",
1541
+ Running: "running",
1542
+ Starting: "starting"
1543
+ };
1544
+ var Status = {
1545
+ Pending: "PENDING",
1546
+ Running: "RUNNING",
1547
+ Stopped: "STOPPED",
1548
+ Initializing: "INITIALIZING",
1549
+ Stopping: "STOPPING",
1550
+ Unconfigured: "UNCONFIGURED",
1551
+ Failed: "FAILED"
1552
+ };
1553
+ var STIGType = {
1554
+ "0": 0,
1555
+ "1": 1
1556
+ };
1557
+ var SupportNewTicketCommunityTypeInput = {
1558
+ Bug: "BUG",
1559
+ Feature: "FEATURE"
1560
+ };
1561
+ var Sync = {
1562
+ Standard: "STANDARD",
1563
+ Always: "ALWAYS",
1564
+ Disabled: "DISABLED",
1565
+ Inherit: "INHERIT"
1566
+ };
1567
+ var Sysloglevel = {
1568
+ FEmerg: "F_EMERG",
1569
+ FAlert: "F_ALERT",
1570
+ FCrit: "F_CRIT",
1571
+ FErr: "F_ERR",
1572
+ FWarning: "F_WARNING",
1573
+ FNotice: "F_NOTICE",
1574
+ FInfo: "F_INFO",
1575
+ FDebug: "F_DEBUG"
1576
+ };
1577
+ var SyslogServerTransportInput = {
1578
+ Udp: "UDP",
1579
+ Tcp: "TCP",
1580
+ Tls: "TLS"
1581
+ };
1582
+ var SystemProductTypeResult = {
1583
+ CommunityEdition: "COMMUNITY_EDITION",
1584
+ Enterprise: "ENTERPRISE"
1585
+ };
1586
+ var SystemStateResult = {
1587
+ Booting: "BOOTING",
1588
+ Ready: "READY",
1589
+ ShuttingDown: "SHUTTING_DOWN"
1590
+ };
1591
+ var Tag = {
1592
+ Owner: "owner@",
1593
+ Group: "group@",
1594
+ Everyone: "everyone@",
1595
+ User: "USER",
1596
+ "GROUP": "GROUP"
1597
+ };
1598
+ var Target = {
1599
+ Ws: "WS",
1600
+ Cli: "CLI",
1601
+ Rest: "REST"
1602
+ };
1603
+ var Time = {
1604
+ Local: "LOCAL",
1605
+ Utc: "UTC"
1606
+ };
1607
+ var Transport = {
1608
+ Ssh: "SSH",
1609
+ SshNetcat: "SSH+NETCAT",
1610
+ Local: "LOCAL"
1611
+ };
1612
+ var TruecommandConfigChangedEventFieldsStatus = {
1613
+ Connected: "CONNECTED",
1614
+ Connecting: "CONNECTING",
1615
+ Disabled: "DISABLED",
1616
+ Failed: "FAILED"
1617
+ };
1618
+ var TruecommandConfigChangedEventFieldsStatusInput = {
1619
+ Connected: "CONNECTED",
1620
+ Connecting: "CONNECTING",
1621
+ Disabled: "DISABLED",
1622
+ Failed: "FAILED"
1623
+ };
1624
+ var TunableCreateType = {
1625
+ Sysctl: "SYSCTL",
1626
+ Udev: "UDEV",
1627
+ Zfs: "ZFS"
1628
+ };
1629
+ var TunableCreateTypeInput = {
1630
+ Sysctl: "SYSCTL",
1631
+ Udev: "UDEV",
1632
+ Zfs: "ZFS"
1633
+ };
1634
+ var Unixcharset = {
1635
+ Utf8: "UTF-8",
1636
+ Gb2312: "GB2312",
1637
+ HzGb2312: "HZ-GB-2312",
1638
+ Cp1361: "CP1361",
1639
+ Big5: "BIG5",
1640
+ Big5hkscs: "BIG5HKSCS",
1641
+ Cp037: "CP037",
1642
+ Cp273: "CP273",
1643
+ Cp424: "CP424",
1644
+ Cp437: "CP437",
1645
+ Cp500: "CP500",
1646
+ Cp775: "CP775",
1647
+ Cp850: "CP850",
1648
+ Cp852: "CP852",
1649
+ Cp855: "CP855",
1650
+ Cp857: "CP857",
1651
+ Cp858: "CP858",
1652
+ Cp860: "CP860",
1653
+ Cp861: "CP861",
1654
+ Cp862: "CP862",
1655
+ Cp863: "CP863",
1656
+ Cp864: "CP864",
1657
+ Cp865: "CP865",
1658
+ Cp866: "CP866",
1659
+ Cp869: "CP869",
1660
+ Cp932: "CP932",
1661
+ Cp949: "CP949",
1662
+ Cp950: "CP950",
1663
+ Cp1026: "CP1026",
1664
+ Cp1125: "CP1125",
1665
+ Cp1140: "CP1140",
1666
+ Cp1250: "CP1250",
1667
+ Cp1251: "CP1251",
1668
+ Cp1252: "CP1252",
1669
+ Cp1253: "CP1253",
1670
+ Cp1254: "CP1254",
1671
+ Cp1255: "CP1255",
1672
+ Cp1256: "CP1256",
1673
+ Cp1257: "CP1257",
1674
+ Cp1258: "CP1258",
1675
+ EucJis2004: "EUC_JIS_2004",
1676
+ EucJisx0213: "EUC_JISX0213",
1677
+ EucJp: "EUC_JP",
1678
+ EucKr: "EUC_KR",
1679
+ Gb18030: "GB18030",
1680
+ Gbk: "GBK",
1681
+ Hz: "HZ",
1682
+ Iso2022Jp: "ISO2022_JP",
1683
+ Iso2022Jp1: "ISO2022_JP_1",
1684
+ Iso2022Jp2: "ISO2022_JP_2",
1685
+ Iso2022Jp2004: "ISO2022_JP_2004",
1686
+ Iso2022Jp3: "ISO2022_JP_3",
1687
+ Iso2022JpExt: "ISO2022_JP_EXT",
1688
+ Iso2022Kr: "ISO2022_KR",
1689
+ Iso88591: "ISO8859_1",
1690
+ Iso88592: "ISO8859_2",
1691
+ Iso88593: "ISO8859_3",
1692
+ Iso88594: "ISO8859_4",
1693
+ Iso88595: "ISO8859_5",
1694
+ Iso88596: "ISO8859_6",
1695
+ Iso88597: "ISO8859_7",
1696
+ Iso88598: "ISO8859_8",
1697
+ Iso88599: "ISO8859_9",
1698
+ Iso885910: "ISO8859_10",
1699
+ Iso885911: "ISO8859_11",
1700
+ Iso885913: "ISO8859_13",
1701
+ Iso885914: "ISO8859_14",
1702
+ Iso885915: "ISO8859_15",
1703
+ Iso885916: "ISO8859_16",
1704
+ Johab: "JOHAB",
1705
+ Koi8R: "KOI8_R",
1706
+ Kz1048: "KZ1048",
1707
+ Latin1: "LATIN_1",
1708
+ MacCyrillic: "MAC_CYRILLIC",
1709
+ MacGreek: "MAC_GREEK",
1710
+ MacIceland: "MAC_ICELAND",
1711
+ MacLatin2: "MAC_LATIN2",
1712
+ MacRoman: "MAC_ROMAN",
1713
+ MacTurkish: "MAC_TURKISH",
1714
+ Ptcp154: "PTCP154",
1715
+ ShiftJis: "SHIFT_JIS",
1716
+ ShiftJis2004: "SHIFT_JIS_2004",
1717
+ ShiftJisx0213: "SHIFT_JISX0213",
1718
+ Tis620: "TIS_620",
1719
+ Utf16: "UTF_16",
1720
+ Utf16Be: "UTF_16_BE",
1721
+ Utf16Le: "UTF_16_LE"
1722
+ };
1723
+ var UPSEntryMode = {
1724
+ Master: "MASTER",
1725
+ Slave: "SLAVE"
1726
+ };
1727
+ var UPSEntryModeInput = {
1728
+ Master: "MASTER",
1729
+ Slave: "SLAVE"
1730
+ };
1731
+ var Username = {
1732
+ Root: "root",
1733
+ TruenasAdmin: "truenas_admin"
1734
+ };
1735
+ var Vendor = {
1736
+ Nextcloud: "NEXTCLOUD",
1737
+ Owncloud: "OWNCLOUD",
1738
+ Sharepoint: "SHAREPOINT",
1739
+ Other: "OTHER"
1740
+ };
1741
+ var VMDiskDeviceType = {
1742
+ Ahci: "AHCI",
1743
+ Virtio: "VIRTIO"
1744
+ };
1745
+ var VMDiskDeviceTypeInput = {
1746
+ Ahci: "AHCI",
1747
+ Virtio: "VIRTIO"
1748
+ };
1749
+ var VMWareEntryStateStateInput = {
1750
+ Pending: "PENDING",
1751
+ Success: "SUCCESS",
1752
+ Error: "ERROR",
1753
+ Blocked: "BLOCKED"
1754
+ };
1755
+ var VMWareMatchDatastoresWithDatasetsResultFilesystemType = {
1756
+ Filesystem: "FILESYSTEM",
1757
+ Volume: "VOLUME"
1758
+ };
1759
+ var Volblocksize = {
1760
+ "512": "512",
1761
+ "512B": "512B",
1762
+ "1K": "1K",
1763
+ "2K": "2K",
1764
+ "4K": "4K",
1765
+ "8K": "8K",
1766
+ "16K": "16K",
1767
+ "32K": "32K",
1768
+ "64K": "64K",
1769
+ "128K": "128K"
1770
+ };
1771
+ var When = {
1772
+ Preinit: "PREINIT",
1773
+ Postinit: "POSTINIT",
1774
+ Shutdown: "SHUTDOWN"
1775
+ };
1776
+ var ZfsTierRewriteJobEntryStatusInput = {
1777
+ Complete: "COMPLETE",
1778
+ Running: "RUNNING",
1779
+ Queued: "QUEUED",
1780
+ Cancelled: "CANCELLED",
1781
+ Stopped: "STOPPED",
1782
+ Error: "ERROR"
1783
+ };
1784
+
1785
+ // src/generated/v25_10_1/index.ts
1786
+ var v25_10_1_exports = {};
1787
+ __export(v25_10_1_exports, {
1788
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
1789
+ Aclmode: () => Aclmode,
1790
+ Acltype: () => Acltype,
1791
+ Action: () => Action,
1792
+ Advpowermgmt: () => Advpowermgmt,
1793
+ Algorithm: () => Algorithm,
1794
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
1795
+ Atime: () => Atime,
1796
+ Authenticator: () => Authenticator,
1797
+ Authmethod: () => Authmethod,
1798
+ Autotrim: () => Autotrim,
1799
+ Basic: () => Basic,
1800
+ Blocksize: () => Blocksize,
1801
+ Bootloader: () => Bootloader,
1802
+ Casesensitivity: () => Casesensitivity,
1803
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
1804
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
1805
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
1806
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
1807
+ Code: () => Code,
1808
+ Compression: () => Compression,
1809
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
1810
+ Credentials: () => Credentials,
1811
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
1812
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
1813
+ DiskWipeModeInput: () => DiskWipeModeInput,
1814
+ DockerStatusInfoStatus: () => DockerStatusInfoStatus,
1815
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
1816
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
1817
+ Encryption: () => Encryption,
1818
+ Endpoint: () => Endpoint,
1819
+ Exec: () => Exec,
1820
+ Feature: () => Feature,
1821
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
1822
+ Function: () => Function,
1823
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
1824
+ Hddstandby: () => Hddstandby,
1825
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
1826
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
1827
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
1828
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
1829
+ Iotype: () => Iotype,
1830
+ IpmiChassisIdentifyVerb: () => IpmiChassisIdentifyVerb,
1831
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
1832
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
1833
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
1834
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
1835
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
1836
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
1837
+ Level: () => Level,
1838
+ NFS4ACEType: () => NFS4ACEType,
1839
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
1840
+ Name: () => Name,
1841
+ Policy: () => Policy,
1842
+ PoolCreateChecksum: () => PoolCreateChecksum,
1843
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
1844
+ PoolCreateTopologyDataVdevDRAIDTypeInput: () => PoolCreateTopologyDataVdevDRAIDTypeInput,
1845
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
1846
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
1847
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
1848
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
1849
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
1850
+ PoolScanStateInput: () => PoolScanStateInput,
1851
+ Protocol: () => Protocol,
1852
+ Purpose: () => Purpose2,
1853
+ Readonly: () => Readonly,
1854
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
1855
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
1856
+ Resolution: () => Resolution,
1857
+ Rpm: () => Rpm,
1858
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
1859
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
1860
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
1861
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
1862
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
1863
+ STIGType: () => STIGType,
1864
+ Schema: () => Schema,
1865
+ Security: () => Security,
1866
+ Serialspeed: () => Serialspeed,
1867
+ ServiceControlVerb: () => ServiceControlVerb,
1868
+ Shutdown: () => Shutdown,
1869
+ Snapdev: () => Snapdev,
1870
+ Snapdir: () => Snapdir,
1871
+ Source: () => Source,
1872
+ SourceInput: () => SourceInput,
1873
+ State: () => State,
1874
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
1875
+ Sync: () => Sync,
1876
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
1877
+ Sysloglevel: () => Sysloglevel,
1878
+ SystemProductTypeResult: () => SystemProductTypeResult,
1879
+ SystemStateResult: () => SystemStateResult,
1880
+ Tag: () => Tag,
1881
+ Target: () => Target,
1882
+ Time: () => Time,
1883
+ Transport: () => Transport,
1884
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
1885
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
1886
+ TunableCreateType: () => TunableCreateType,
1887
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
1888
+ UPSEntryMode: () => UPSEntryMode,
1889
+ UPSEntryModeInput: () => UPSEntryModeInput,
1890
+ Unixcharset: () => Unixcharset,
1891
+ Username: () => Username,
1892
+ VMDiskDeviceType: () => VMDiskDeviceType,
1893
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
1894
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
1895
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
1896
+ Vendor: () => Vendor,
1897
+ Volblocksize: () => Volblocksize,
1898
+ When: () => When,
1899
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput
1900
+ });
1901
+
1902
+ // src/generated/v25_10_1/api-types.ts
1903
+ var DockerStatusInfoStatus = {
1904
+ Pending: "PENDING",
1905
+ Running: "RUNNING",
1906
+ Stopped: "STOPPED",
1907
+ Initializing: "INITIALIZING",
1908
+ Stopping: "STOPPING",
1909
+ Unconfigured: "UNCONFIGURED",
1910
+ Failed: "FAILED",
1911
+ Migrating: "MIGRATING",
1912
+ MigrationFailed: "MIGRATION_FAILED"
1913
+ };
1914
+ var Purpose2 = {
1915
+ DefaultShare: "DEFAULT_SHARE",
1916
+ LegacyShare: "LEGACY_SHARE",
1917
+ TimemachineShare: "TIMEMACHINE_SHARE",
1918
+ MultiprotocolShare: "MULTIPROTOCOL_SHARE",
1919
+ TimeLockedShare: "TIME_LOCKED_SHARE",
1920
+ PrivateDatasetsShare: "PRIVATE_DATASETS_SHARE",
1921
+ ExternalShare: "EXTERNAL_SHARE",
1922
+ VeeamRepositoryShare: "VEEAM_REPOSITORY_SHARE",
1923
+ FcpShare: "FCP_SHARE"
1924
+ };
1925
+
1926
+ // src/generated/v25_10_2/index.ts
1927
+ var v25_10_2_exports = {};
1928
+ __export(v25_10_2_exports, {
1929
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
1930
+ Aclmode: () => Aclmode,
1931
+ Acltype: () => Acltype,
1932
+ Action: () => Action,
1933
+ Advpowermgmt: () => Advpowermgmt,
1934
+ Algorithm: () => Algorithm,
1935
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
1936
+ Atime: () => Atime,
1937
+ Authenticator: () => Authenticator,
1938
+ Authmethod: () => Authmethod,
1939
+ Autotrim: () => Autotrim,
1940
+ Basic: () => Basic,
1941
+ Blocksize: () => Blocksize,
1942
+ Bootloader: () => Bootloader,
1943
+ Casesensitivity: () => Casesensitivity,
1944
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
1945
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
1946
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
1947
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
1948
+ Code: () => Code,
1949
+ Compression: () => Compression,
1950
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
1951
+ Credentials: () => Credentials,
1952
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
1953
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
1954
+ DiskWipeModeInput: () => DiskWipeModeInput,
1955
+ DockerStatusInfoStatus: () => DockerStatusInfoStatus,
1956
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
1957
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
1958
+ Encryption: () => Encryption,
1959
+ Endpoint: () => Endpoint,
1960
+ Exec: () => Exec,
1961
+ Feature: () => Feature,
1962
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
1963
+ Function: () => Function,
1964
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
1965
+ Hddstandby: () => Hddstandby,
1966
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
1967
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
1968
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
1969
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
1970
+ Iotype: () => Iotype,
1971
+ IpmiChassisIdentifyRequestVerb: () => IpmiChassisIdentifyRequestVerb,
1972
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
1973
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
1974
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
1975
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
1976
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
1977
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
1978
+ Level: () => Level,
1979
+ NFS4ACEType: () => NFS4ACEType,
1980
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
1981
+ Name: () => Name,
1982
+ Policy: () => Policy,
1983
+ PoolCreateChecksum: () => PoolCreateChecksum,
1984
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
1985
+ PoolCreateTopologyDataVdevDRAIDTypeInput: () => PoolCreateTopologyDataVdevDRAIDTypeInput,
1986
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
1987
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
1988
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
1989
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
1990
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
1991
+ PoolScanStateInput: () => PoolScanStateInput,
1992
+ Protocol: () => Protocol,
1993
+ Purpose: () => Purpose2,
1994
+ Readonly: () => Readonly,
1995
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
1996
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
1997
+ Resolution: () => Resolution,
1998
+ Rpm: () => Rpm,
1999
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
2000
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
2001
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
2002
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
2003
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
2004
+ STIGType: () => STIGType,
2005
+ Schema: () => Schema,
2006
+ Security: () => Security,
2007
+ Serialspeed: () => Serialspeed,
2008
+ ServiceControlVerb: () => ServiceControlVerb,
2009
+ Shutdown: () => Shutdown,
2010
+ Snapdev: () => Snapdev,
2011
+ Snapdir: () => Snapdir,
2012
+ Source: () => Source,
2013
+ SourceInput: () => SourceInput,
2014
+ State: () => State,
2015
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
2016
+ Sync: () => Sync,
2017
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
2018
+ Sysloglevel: () => Sysloglevel,
2019
+ SystemProductTypeResult: () => SystemProductTypeResult,
2020
+ SystemStateResult: () => SystemStateResult,
2021
+ Tag: () => Tag,
2022
+ Target: () => Target,
2023
+ Time: () => Time,
2024
+ Transport: () => Transport,
2025
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
2026
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
2027
+ TunableCreateType: () => TunableCreateType,
2028
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
2029
+ UPSEntryMode: () => UPSEntryMode,
2030
+ UPSEntryModeInput: () => UPSEntryModeInput,
2031
+ Unixcharset: () => Unixcharset,
2032
+ Username: () => Username,
2033
+ VMDiskDeviceType: () => VMDiskDeviceType,
2034
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
2035
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
2036
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
2037
+ Vendor: () => Vendor,
2038
+ Volblocksize: () => Volblocksize,
2039
+ When: () => When,
2040
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput
2041
+ });
2042
+
2043
+ // src/generated/v25_10_2/api-types.ts
2044
+ var IpmiChassisIdentifyRequestVerb = {
2045
+ On: "ON",
2046
+ Off: "OFF"
2047
+ };
2048
+
2049
+ // src/generated/v25_10_3/index.ts
2050
+ var v25_10_3_exports = {};
2051
+ __export(v25_10_3_exports, {
2052
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
2053
+ Aclmode: () => Aclmode,
2054
+ Acltype: () => Acltype,
2055
+ Action: () => Action,
2056
+ Advpowermgmt: () => Advpowermgmt,
2057
+ Algorithm: () => Algorithm,
2058
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
2059
+ Atime: () => Atime,
2060
+ Authenticator: () => Authenticator,
2061
+ Authmethod: () => Authmethod,
2062
+ Autotrim: () => Autotrim,
2063
+ Basic: () => Basic,
2064
+ Blocksize: () => Blocksize,
2065
+ Bootloader: () => Bootloader,
2066
+ Casesensitivity: () => Casesensitivity,
2067
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
2068
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
2069
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
2070
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
2071
+ Code: () => Code,
2072
+ Compression: () => Compression,
2073
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
2074
+ Credentials: () => Credentials,
2075
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
2076
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
2077
+ DiskWipeModeInput: () => DiskWipeModeInput,
2078
+ DockerStatusInfoStatus: () => DockerStatusInfoStatus,
2079
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
2080
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
2081
+ Encryption: () => Encryption,
2082
+ Endpoint: () => Endpoint,
2083
+ Exec: () => Exec,
2084
+ Feature: () => Feature,
2085
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
2086
+ Function: () => Function,
2087
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
2088
+ Hddstandby: () => Hddstandby,
2089
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
2090
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
2091
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
2092
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
2093
+ Iotype: () => Iotype,
2094
+ IpmiChassisIdentifyRequestVerb: () => IpmiChassisIdentifyRequestVerb,
2095
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
2096
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
2097
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
2098
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
2099
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
2100
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
2101
+ Level: () => Level,
2102
+ NFS4ACEType: () => NFS4ACEType,
2103
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
2104
+ Name: () => Name,
2105
+ Policy: () => Policy,
2106
+ PoolCreateChecksum: () => PoolCreateChecksum,
2107
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
2108
+ PoolCreateTopologyDataVdevDRAIDTypeInput: () => PoolCreateTopologyDataVdevDRAIDTypeInput,
2109
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
2110
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
2111
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
2112
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
2113
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
2114
+ PoolScanStateInput: () => PoolScanStateInput,
2115
+ Protocol: () => Protocol,
2116
+ Purpose: () => Purpose2,
2117
+ Readonly: () => Readonly,
2118
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
2119
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
2120
+ Resolution: () => Resolution,
2121
+ Rpm: () => Rpm,
2122
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
2123
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
2124
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
2125
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
2126
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
2127
+ STIGType: () => STIGType,
2128
+ Schema: () => Schema,
2129
+ Security: () => Security,
2130
+ Serialspeed: () => Serialspeed,
2131
+ ServiceControlVerb: () => ServiceControlVerb,
2132
+ Shutdown: () => Shutdown,
2133
+ Snapdev: () => Snapdev,
2134
+ Snapdir: () => Snapdir,
2135
+ Source: () => Source,
2136
+ SourceInput: () => SourceInput,
2137
+ State: () => State,
2138
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
2139
+ Sync: () => Sync,
2140
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
2141
+ Sysloglevel: () => Sysloglevel,
2142
+ SystemProductTypeResult: () => SystemProductTypeResult,
2143
+ SystemStateResult: () => SystemStateResult,
2144
+ Tag: () => Tag,
2145
+ Target: () => Target,
2146
+ Time: () => Time,
2147
+ Transport: () => Transport,
2148
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
2149
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
2150
+ TunableCreateType: () => TunableCreateType,
2151
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
2152
+ UPSEntryMode: () => UPSEntryMode,
2153
+ UPSEntryModeInput: () => UPSEntryModeInput,
2154
+ Unixcharset: () => Unixcharset,
2155
+ Username: () => Username,
2156
+ VMDiskDeviceType: () => VMDiskDeviceType,
2157
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
2158
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
2159
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
2160
+ Vendor: () => Vendor,
2161
+ Volblocksize: () => Volblocksize,
2162
+ When: () => When,
2163
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput
2164
+ });
2165
+
2166
+ // src/generated/v25_10_4/index.ts
2167
+ var v25_10_4_exports = {};
2168
+ __export(v25_10_4_exports, {
2169
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
2170
+ Aclmode: () => Aclmode,
2171
+ Acltype: () => Acltype,
2172
+ Action: () => Action,
2173
+ Advpowermgmt: () => Advpowermgmt,
2174
+ Algorithm: () => Algorithm,
2175
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
2176
+ Atime: () => Atime,
2177
+ Authenticator: () => Authenticator,
2178
+ Authmethod: () => Authmethod,
2179
+ Autotrim: () => Autotrim,
2180
+ Basic: () => Basic,
2181
+ Blocksize: () => Blocksize,
2182
+ Bootloader: () => Bootloader,
2183
+ Casesensitivity: () => Casesensitivity,
2184
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
2185
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
2186
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
2187
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
2188
+ Code: () => Code,
2189
+ Compression: () => Compression,
2190
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
2191
+ Credentials: () => Credentials,
2192
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
2193
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
2194
+ DiskWipeModeInput: () => DiskWipeModeInput,
2195
+ DockerStatusInfoStatus: () => DockerStatusInfoStatus,
2196
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
2197
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
2198
+ Encryption: () => Encryption,
2199
+ Endpoint: () => Endpoint,
2200
+ Exec: () => Exec,
2201
+ Feature: () => Feature,
2202
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
2203
+ Function: () => Function,
2204
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
2205
+ Hddstandby: () => Hddstandby,
2206
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
2207
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
2208
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
2209
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
2210
+ Iotype: () => Iotype,
2211
+ IpmiChassisIdentifyRequestVerb: () => IpmiChassisIdentifyRequestVerb,
2212
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
2213
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
2214
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
2215
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
2216
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
2217
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
2218
+ Level: () => Level,
2219
+ NFS4ACEType: () => NFS4ACEType,
2220
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
2221
+ Name: () => Name,
2222
+ Policy: () => Policy,
2223
+ PoolCreateChecksum: () => PoolCreateChecksum,
2224
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
2225
+ PoolCreateTopologyDataVdevDRAIDTypeInput: () => PoolCreateTopologyDataVdevDRAIDTypeInput,
2226
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
2227
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
2228
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
2229
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
2230
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
2231
+ PoolScanStateInput: () => PoolScanStateInput,
2232
+ Protocol: () => Protocol,
2233
+ Purpose: () => Purpose2,
2234
+ Readonly: () => Readonly,
2235
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
2236
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
2237
+ Resolution: () => Resolution,
2238
+ Rpm: () => Rpm,
2239
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
2240
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
2241
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
2242
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
2243
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
2244
+ STIGType: () => STIGType,
2245
+ Schema: () => Schema,
2246
+ Security: () => Security,
2247
+ Serialspeed: () => Serialspeed,
2248
+ ServiceControlVerb: () => ServiceControlVerb,
2249
+ Shutdown: () => Shutdown,
2250
+ Snapdev: () => Snapdev,
2251
+ Snapdir: () => Snapdir,
2252
+ Source: () => Source,
2253
+ SourceInput: () => SourceInput,
2254
+ State: () => State,
2255
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
2256
+ Sync: () => Sync,
2257
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
2258
+ Sysloglevel: () => Sysloglevel,
2259
+ SystemProductTypeResult: () => SystemProductTypeResult,
2260
+ SystemStateResult: () => SystemStateResult,
2261
+ Tag: () => Tag,
2262
+ Target: () => Target,
2263
+ Time: () => Time,
2264
+ Transport: () => Transport,
2265
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
2266
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
2267
+ TunableCreateType: () => TunableCreateType,
2268
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
2269
+ UPSEntryMode: () => UPSEntryMode,
2270
+ UPSEntryModeInput: () => UPSEntryModeInput,
2271
+ Unixcharset: () => Unixcharset,
2272
+ Username: () => Username,
2273
+ VMDiskDeviceType: () => VMDiskDeviceType,
2274
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
2275
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
2276
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
2277
+ Vendor: () => Vendor,
2278
+ Volblocksize: () => Volblocksize,
2279
+ When: () => When,
2280
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput
2281
+ });
2282
+
2283
+ // src/generated/v25_10_5/index.ts
2284
+ var v25_10_5_exports = {};
2285
+ __export(v25_10_5_exports, {
2286
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
2287
+ Aclmode: () => Aclmode,
2288
+ Acltype: () => Acltype,
2289
+ Action: () => Action,
2290
+ Advpowermgmt: () => Advpowermgmt,
2291
+ Algorithm: () => Algorithm,
2292
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
2293
+ Atime: () => Atime,
2294
+ Authenticator: () => Authenticator,
2295
+ Authmethod: () => Authmethod,
2296
+ Autotrim: () => Autotrim,
2297
+ Basic: () => Basic,
2298
+ Blocksize: () => Blocksize,
2299
+ Bootloader: () => Bootloader,
2300
+ Casesensitivity: () => Casesensitivity,
2301
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
2302
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
2303
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
2304
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
2305
+ Code: () => Code,
2306
+ Compression: () => Compression,
2307
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
2308
+ Credentials: () => Credentials,
2309
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
2310
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
2311
+ DiskWipeModeInput: () => DiskWipeModeInput,
2312
+ DockerStatusInfoStatus: () => DockerStatusInfoStatus,
2313
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
2314
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
2315
+ Encryption: () => Encryption,
2316
+ Endpoint: () => Endpoint,
2317
+ Exec: () => Exec,
2318
+ Feature: () => Feature,
2319
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
2320
+ Function: () => Function,
2321
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
2322
+ Hddstandby: () => Hddstandby,
2323
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
2324
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
2325
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
2326
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
2327
+ Iotype: () => Iotype,
2328
+ IpmiChassisIdentifyRequestVerb: () => IpmiChassisIdentifyRequestVerb,
2329
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
2330
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
2331
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
2332
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
2333
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
2334
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
2335
+ Level: () => Level,
2336
+ NFS4ACEType: () => NFS4ACEType,
2337
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
2338
+ Name: () => Name,
2339
+ Policy: () => Policy,
2340
+ PoolCreateChecksum: () => PoolCreateChecksum,
2341
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
2342
+ PoolCreateTopologyDataVdevDRAIDTypeInput: () => PoolCreateTopologyDataVdevDRAIDTypeInput,
2343
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
2344
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
2345
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
2346
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
2347
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
2348
+ PoolScanStateInput: () => PoolScanStateInput,
2349
+ Protocol: () => Protocol,
2350
+ Purpose: () => Purpose2,
2351
+ Readonly: () => Readonly,
2352
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
2353
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
2354
+ Resolution: () => Resolution,
2355
+ Rpm: () => Rpm,
2356
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
2357
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
2358
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
2359
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
2360
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
2361
+ STIGType: () => STIGType,
2362
+ Schema: () => Schema,
2363
+ Security: () => Security,
2364
+ Serialspeed: () => Serialspeed,
2365
+ ServiceControlVerb: () => ServiceControlVerb,
2366
+ Shutdown: () => Shutdown,
2367
+ Snapdev: () => Snapdev,
2368
+ Snapdir: () => Snapdir,
2369
+ Source: () => Source,
2370
+ SourceInput: () => SourceInput,
2371
+ State: () => State,
2372
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
2373
+ Sync: () => Sync,
2374
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
2375
+ Sysloglevel: () => Sysloglevel,
2376
+ SystemProductTypeResult: () => SystemProductTypeResult,
2377
+ SystemStateResult: () => SystemStateResult,
2378
+ Tag: () => Tag,
2379
+ Target: () => Target,
2380
+ Time: () => Time,
2381
+ Transport: () => Transport,
2382
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
2383
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
2384
+ TunableCreateType: () => TunableCreateType,
2385
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
2386
+ UPSEntryMode: () => UPSEntryMode,
2387
+ UPSEntryModeInput: () => UPSEntryModeInput,
2388
+ Unixcharset: () => Unixcharset,
2389
+ Username: () => Username,
2390
+ VMDiskDeviceType: () => VMDiskDeviceType,
2391
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
2392
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
2393
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
2394
+ Vendor: () => Vendor,
2395
+ Volblocksize: () => Volblocksize,
2396
+ When: () => When,
2397
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput
2398
+ });
2399
+
2400
+ // src/generated/v26_0_0/index.ts
2401
+ var v26_0_0_exports = {};
2402
+ __export(v26_0_0_exports, {
2403
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
2404
+ Aclmode: () => Aclmode,
2405
+ Acltype: () => Acltype,
2406
+ Advpowermgmt: () => Advpowermgmt,
2407
+ Algorithm: () => Algorithm,
2408
+ AppContainerDetailsState: () => AppContainerDetailsState,
2409
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
2410
+ Atime: () => Atime,
2411
+ Authenticator: () => Authenticator,
2412
+ Authmethod: () => Authmethod,
2413
+ Autotrim: () => Autotrim,
2414
+ Basic: () => Basic,
2415
+ Blocksize: () => Blocksize,
2416
+ Bootloader: () => Bootloader,
2417
+ Casesensitivity: () => Casesensitivity,
2418
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
2419
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
2420
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
2421
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
2422
+ Code: () => Code,
2423
+ Compression: () => Compression,
2424
+ ContainerNICDeviceType: () => ContainerNICDeviceType,
2425
+ ContainerNICDeviceTypeInput: () => ContainerNICDeviceTypeInput,
2426
+ ContainerStatusState: () => ContainerStatusState,
2427
+ ContainerStatusStateInput: () => ContainerStatusStateInput,
2428
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
2429
+ Credentials: () => Credentials,
2430
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
2431
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
2432
+ DiskWipeModeInput: () => DiskWipeModeInput,
2433
+ DockerStatusInfoStatus: () => DockerStatusInfoStatus,
2434
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
2435
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
2436
+ Encryption: () => Encryption,
2437
+ Endpoint: () => Endpoint,
2438
+ Exec: () => Exec,
2439
+ Feature: () => Feature2,
2440
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
2441
+ Function: () => Function,
2442
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
2443
+ Hddstandby: () => Hddstandby,
2444
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
2445
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
2446
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
2447
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
2448
+ Interval: () => Interval,
2449
+ Iotype: () => Iotype,
2450
+ IpmiChassisIdentifyRequestVerb: () => IpmiChassisIdentifyRequestVerb,
2451
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
2452
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
2453
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
2454
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
2455
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
2456
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
2457
+ Level: () => Level,
2458
+ NFS4ACEType: () => NFS4ACEType,
2459
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
2460
+ Name: () => Name2,
2461
+ Passkey: () => Passkey,
2462
+ Policy: () => Policy,
2463
+ PoolCreateChecksum: () => PoolCreateChecksum,
2464
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
2465
+ PoolCreateTopologyDedupVdevTypeInput: () => PoolCreateTopologyDedupVdevTypeInput,
2466
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
2467
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
2468
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
2469
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
2470
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
2471
+ PoolScanState: () => PoolScanState,
2472
+ PoolScanStateInput: () => PoolScanStateInput,
2473
+ PoolScrubAction: () => PoolScrubAction,
2474
+ Protocol: () => Protocol,
2475
+ Purpose: () => Purpose2,
2476
+ Readonly: () => Readonly,
2477
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
2478
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
2479
+ Resolution: () => Resolution,
2480
+ Rpm: () => Rpm,
2481
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
2482
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
2483
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
2484
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
2485
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
2486
+ STIGType: () => STIGType,
2487
+ Schema: () => Schema,
2488
+ Security: () => Security,
2489
+ Serialspeed: () => Serialspeed,
2490
+ Service: () => Service,
2491
+ ServiceControlVerb: () => ServiceControlVerb,
2492
+ Shutdown: () => Shutdown,
2493
+ Snapdev: () => Snapdev,
2494
+ Snapdir: () => Snapdir,
2495
+ Source: () => Source,
2496
+ SourceInput: () => SourceInput,
2497
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
2498
+ Sync: () => Sync,
2499
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
2500
+ Sysloglevel: () => Sysloglevel,
2501
+ SystemProductTypeResult: () => SystemProductTypeResult,
2502
+ SystemStateResult: () => SystemStateResult,
2503
+ Tag: () => Tag,
2504
+ Target: () => Target,
2505
+ Time: () => Time,
2506
+ Transport: () => Transport,
2507
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
2508
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
2509
+ TunableCreateType: () => TunableCreateType,
2510
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
2511
+ UPSEntryMode: () => UPSEntryMode,
2512
+ UPSEntryModeInput: () => UPSEntryModeInput,
2513
+ Unixcharset: () => Unixcharset,
2514
+ Username: () => Username,
2515
+ VMDiskDeviceType: () => VMDiskDeviceType,
2516
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
2517
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
2518
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
2519
+ Vendor: () => Vendor,
2520
+ Volblocksize: () => Volblocksize,
2521
+ When: () => When,
2522
+ ZfsTierRewriteJobEntryStatus: () => ZfsTierRewriteJobEntryStatus,
2523
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput,
2524
+ ZpoolScrubRunAction: () => ZpoolScrubRunAction
2525
+ });
2526
+
2527
+ // src/generated/v26_0_0/api-types.ts
2528
+ var AppContainerDetailsState = {
2529
+ Crashed: "crashed",
2530
+ Created: "created",
2531
+ Exited: "exited",
2532
+ Running: "running",
2533
+ Starting: "starting"
2534
+ };
2535
+ var ContainerNICDeviceType = {
2536
+ E1000: "E1000",
2537
+ Virtio: "VIRTIO"
2538
+ };
2539
+ var ContainerNICDeviceTypeInput = {
2540
+ E1000: "E1000",
2541
+ Virtio: "VIRTIO"
2542
+ };
2543
+ var ContainerStatusState = {
2544
+ Running: "RUNNING",
2545
+ Stopped: "STOPPED"
2546
+ };
2547
+ var ContainerStatusStateInput = {
2548
+ Running: "RUNNING",
2549
+ Stopped: "STOPPED"
2550
+ };
2551
+ var Feature2 = {
2552
+ Apps: "APPS",
2553
+ Dedup: "DEDUP",
2554
+ Fibrechannel: "FIBRECHANNEL",
2555
+ Sed: "SED",
2556
+ Support: "SUPPORT",
2557
+ Vms: "VMS",
2558
+ Zfstier: "ZFSTIER"
2559
+ };
2560
+ var Interval = {
2561
+ "30": 30,
2562
+ "60": 60
2563
+ };
2564
+ var Name2 = {
2565
+ Cpu: "cpu",
2566
+ Cputemp: "cputemp",
2567
+ Disk: "disk",
2568
+ Interface: "interface",
2569
+ Load: "load",
2570
+ Processes: "processes",
2571
+ Memory: "memory",
2572
+ Uptime: "uptime",
2573
+ Arcsize: "arcsize",
2574
+ Disktemp: "disktemp",
2575
+ Upscharge: "upscharge",
2576
+ Upsruntime: "upsruntime",
2577
+ Upsvoltage: "upsvoltage",
2578
+ Upscurrent: "upscurrent",
2579
+ Upsfrequency: "upsfrequency",
2580
+ Upsload: "upsload",
2581
+ Upstemperature: "upstemperature"
2582
+ };
2583
+ var Passkey = {
2584
+ Enabled: "ENABLED",
2585
+ Disabled: "DISABLED",
2586
+ Required: "REQUIRED"
2587
+ };
2588
+ var PoolCreateTopologyDedupVdevTypeInput = {
2589
+ Mirror: "MIRROR",
2590
+ Stripe: "STRIPE"
2591
+ };
2592
+ var PoolScanState = {
2593
+ Scanning: "SCANNING",
2594
+ Finished: "FINISHED",
2595
+ Canceled: "CANCELED"
2596
+ };
2597
+ var PoolScrubAction = {
2598
+ Start: "START",
2599
+ Stop: "STOP",
2600
+ Pause: "PAUSE"
2601
+ };
2602
+ var Service = {
2603
+ Middleware: "MIDDLEWARE",
2604
+ Smb: "SMB",
2605
+ Sudo: "SUDO",
2606
+ System: "SYSTEM"
2607
+ };
2608
+ var ZfsTierRewriteJobEntryStatus = {
2609
+ Complete: "COMPLETE",
2610
+ Running: "RUNNING",
2611
+ Queued: "QUEUED",
2612
+ Cancelled: "CANCELLED",
2613
+ Stopped: "STOPPED",
2614
+ Error: "ERROR"
2615
+ };
2616
+ var ZpoolScrubRunAction = {
2617
+ Start: "START",
2618
+ Pause: "PAUSE",
2619
+ Cancel: "CANCEL"
2620
+ };
2621
+
2622
+ // src/generated/v27_0_0/index.ts
2623
+ var v27_0_0_exports = {};
2624
+ __export(v27_0_0_exports, {
2625
+ ACLTemplateEntryAcltypeInput: () => ACLTemplateEntryAcltypeInput,
2626
+ Aclmode: () => Aclmode,
2627
+ Acltype: () => Acltype,
2628
+ Advpowermgmt: () => Advpowermgmt,
2629
+ Algorithm: () => Algorithm,
2630
+ AppContainerDetailsState: () => AppContainerDetailsState,
2631
+ AppContainerDetailsStateInput: () => AppContainerDetailsStateInput,
2632
+ Atime: () => Atime,
2633
+ Authenticator: () => Authenticator,
2634
+ Authmethod: () => Authmethod,
2635
+ Autotrim: () => Autotrim,
2636
+ Basic: () => Basic,
2637
+ Blocksize: () => Blocksize,
2638
+ Bootloader: () => Bootloader,
2639
+ Casesensitivity: () => Casesensitivity,
2640
+ CloudBackupSnapshotItemType: () => CloudBackupSnapshotItemType,
2641
+ CloudSyncCreateDirection: () => CloudSyncCreateDirection,
2642
+ CloudSyncCreateDirectionInput: () => CloudSyncCreateDirectionInput,
2643
+ CloudTaskAttributesEncryptionInput: () => CloudTaskAttributesEncryptionInput,
2644
+ Code: () => Code,
2645
+ Compression: () => Compression,
2646
+ ContainerNICDeviceType: () => ContainerNICDeviceType,
2647
+ ContainerNICDeviceTypeInput: () => ContainerNICDeviceTypeInput,
2648
+ ContainerStatusState: () => ContainerStatusState,
2649
+ ContainerStatusStateInput: () => ContainerStatusStateInput,
2650
+ CorePingRemoteTypeInput: () => CorePingRemoteTypeInput,
2651
+ Credentials: () => Credentials,
2652
+ DeviceGetInfoOtherTypeInput: () => DeviceGetInfoOtherTypeInput,
2653
+ DiskDetailsTypeInput: () => DiskDetailsTypeInput,
2654
+ DiskWipeModeInput: () => DiskWipeModeInput,
2655
+ DockerStatusInfoStatus: () => DockerStatusInfoStatus,
2656
+ DockerStatusInfoStatusInput: () => DockerStatusInfoStatusInput,
2657
+ Enclosure2SetSlotStatusStatusInput: () => Enclosure2SetSlotStatusStatusInput,
2658
+ Encryption: () => Encryption,
2659
+ Endpoint: () => Endpoint,
2660
+ Exec: () => Exec,
2661
+ Feature: () => Feature2,
2662
+ FilesystemDirEntryType: () => FilesystemDirEntryType,
2663
+ Function: () => Function,
2664
+ GetDisplayDeviceType: () => GetDisplayDeviceType,
2665
+ Hddstandby: () => Hddstandby,
2666
+ InitShutdownScriptCreateType: () => InitShutdownScriptCreateType,
2667
+ InitShutdownScriptCreateTypeInput: () => InitShutdownScriptCreateTypeInput,
2668
+ InterfaceCreateAliasTypeInput: () => InterfaceCreateAliasTypeInput,
2669
+ InterfaceCreateTypeInput: () => InterfaceCreateTypeInput,
2670
+ Interval: () => Interval,
2671
+ Iotype: () => Iotype,
2672
+ IpmiChassisIdentifyRequestVerb: () => IpmiChassisIdentifyRequestVerb,
2673
+ IscsiExtentCreateType: () => IscsiExtentCreateType,
2674
+ IscsiExtentCreateTypeInput: () => IscsiExtentCreateTypeInput,
2675
+ IscsiTargetCreateMode: () => IscsiTargetCreateMode,
2676
+ IscsiTargetCreateModeInput: () => IscsiTargetCreateModeInput,
2677
+ KeychainCredentialEntryType: () => KeychainCredentialEntryType,
2678
+ KeychainCredentialEntryTypeInput: () => KeychainCredentialEntryTypeInput,
2679
+ Level: () => Level,
2680
+ NFS4ACEType: () => NFS4ACEType,
2681
+ NFS4ACETypeInput: () => NFS4ACETypeInput,
2682
+ Name: () => Name2,
2683
+ Passkey: () => Passkey,
2684
+ Policy: () => Policy,
2685
+ PoolCreateChecksum: () => PoolCreateChecksum,
2686
+ PoolCreateDeduplication: () => PoolCreateDeduplication,
2687
+ PoolCreateTopologyDedupVdevTypeInput: () => PoolCreateTopologyDedupVdevTypeInput,
2688
+ PoolDatasetCreateFilesystemAcltypeInput: () => PoolDatasetCreateFilesystemAcltypeInput,
2689
+ PoolDatasetCreateFilesystemChecksum: () => PoolDatasetCreateFilesystemChecksum,
2690
+ PoolDatasetCreateFilesystemDeduplication: () => PoolDatasetCreateFilesystemDeduplication,
2691
+ PoolDatasetCreateFilesystemReadonlyInput: () => PoolDatasetCreateFilesystemReadonlyInput,
2692
+ PoolDatasetDeleteResult: () => PoolDatasetDeleteResult,
2693
+ PoolScanState: () => PoolScanState,
2694
+ PoolScanStateInput: () => PoolScanStateInput,
2695
+ PoolScrubAction: () => PoolScrubAction,
2696
+ Protocol: () => Protocol,
2697
+ Purpose: () => Purpose2,
2698
+ Readonly: () => Readonly,
2699
+ ReplicationCountEligibleManualSnapshotsTransportInput: () => ReplicationCountEligibleManualSnapshotsTransportInput,
2700
+ ReplicationCreateReadonlyInput: () => ReplicationCreateReadonlyInput,
2701
+ Resolution: () => Resolution,
2702
+ Rpm: () => Rpm,
2703
+ RsyncTaskCreateDirection: () => RsyncTaskCreateDirection,
2704
+ RsyncTaskCreateDirectionInput: () => RsyncTaskCreateDirectionInput,
2705
+ RsyncTaskCreateMode: () => RsyncTaskCreateMode,
2706
+ RsyncTaskCreateModeInput: () => RsyncTaskCreateModeInput,
2707
+ SMBEntryEncryptionInput: () => SMBEntryEncryptionInput,
2708
+ STIGType: () => STIGType,
2709
+ Schema: () => Schema,
2710
+ Security: () => Security,
2711
+ Serialspeed: () => Serialspeed,
2712
+ Service: () => Service,
2713
+ ServiceControlVerb: () => ServiceControlVerb,
2714
+ Shutdown: () => Shutdown,
2715
+ Snapdev: () => Snapdev,
2716
+ Snapdir: () => Snapdir,
2717
+ Source: () => Source,
2718
+ SourceInput: () => SourceInput,
2719
+ SupportNewTicketCommunityTypeInput: () => SupportNewTicketCommunityTypeInput,
2720
+ Sync: () => Sync,
2721
+ SyslogServerTransportInput: () => SyslogServerTransportInput,
2722
+ Sysloglevel: () => Sysloglevel,
2723
+ SystemProductTypeResult: () => SystemProductTypeResult,
2724
+ SystemStateResult: () => SystemStateResult,
2725
+ Tag: () => Tag,
2726
+ Target: () => Target,
2727
+ Time: () => Time,
2728
+ Transport: () => Transport,
2729
+ TruecommandConfigChangedEventFieldsStatus: () => TruecommandConfigChangedEventFieldsStatus,
2730
+ TruecommandConfigChangedEventFieldsStatusInput: () => TruecommandConfigChangedEventFieldsStatusInput,
2731
+ TunableCreateType: () => TunableCreateType,
2732
+ TunableCreateTypeInput: () => TunableCreateTypeInput,
2733
+ UPSEntryMode: () => UPSEntryMode,
2734
+ UPSEntryModeInput: () => UPSEntryModeInput,
2735
+ Unixcharset: () => Unixcharset,
2736
+ Username: () => Username,
2737
+ VMDiskDeviceType: () => VMDiskDeviceType,
2738
+ VMDiskDeviceTypeInput: () => VMDiskDeviceTypeInput,
2739
+ VMWareEntryStateStateInput: () => VMWareEntryStateStateInput,
2740
+ VMWareMatchDatastoresWithDatasetsResultFilesystemType: () => VMWareMatchDatastoresWithDatasetsResultFilesystemType,
2741
+ Vendor: () => Vendor,
2742
+ Volblocksize: () => Volblocksize,
2743
+ When: () => When,
2744
+ ZfsTierRewriteJobEntryStatus: () => ZfsTierRewriteJobEntryStatus,
2745
+ ZfsTierRewriteJobEntryStatusInput: () => ZfsTierRewriteJobEntryStatusInput,
2746
+ ZpoolScrubRunAction: () => ZpoolScrubRunAction
2747
+ });
2748
+
2749
+ // src/generated/index.ts
2750
+ var SUPPORTED_API_VERSIONS = [
2751
+ "v25.10.0",
2752
+ "v25.10.1",
2753
+ "v25.10.2",
2754
+ "v25.10.3",
2755
+ "v25.10.4",
2756
+ "v25.10.5",
2757
+ "v26.0.0",
2758
+ "v27.0.0"
2759
+ ];
2760
+
864
2761
  // src/config/api-version.config.ts
865
2762
  var apiVersionConfig = {
866
2763
  /**
867
- * Minimum supported API version.
868
- * Systems with older API versions will be rejected.
2764
+ * Minimum supported API version. Systems below it are rejected.
2765
+ *
2766
+ * DERIVED, not declared. The client supports exactly the versions it ships
2767
+ * types for, so the oldest generated version *is* the minimum — there is no
2768
+ * second decision to make, and therefore nothing to keep in sync.
2769
+ *
2770
+ * To move the floor, change `--min-version` in the `generate:api` script in
2771
+ * package.json and regenerate; this follows on its own. Written as a literal
2772
+ * it would duplicate that value with nothing enforcing agreement, so raising
2773
+ * one and forgetting the other would silently keep generating types for
2774
+ * versions the client rejects.
869
2775
  */
870
- MIN_SUPPORTED_VERSION: "v25.10.0",
2776
+ MIN_SUPPORTED_VERSION: SUPPORTED_API_VERSIONS[0],
871
2777
  /**
872
- * Maximum supported API version.
873
- * Systems with newer API versions will be rejected.
2778
+ * Maximum supported API version. Systems above it are rejected.
2779
+ *
2780
+ * NOT derived, deliberately. This should be the newest generated version by
2781
+ * the same argument as MIN, but `instantiateClientForVersion` only maps
2782
+ * `25.10` and `26` — a v27 system would pass the range check and then throw
2783
+ * on client selection. It moves to the newest generated version once a v27
2784
+ * client exists. Until then it lags on purpose, and the `satisfies` clause
2785
+ * below still pins it to a version that was actually generated.
874
2786
  */
875
2787
  MAX_SUPPORTED_VERSION: "v26.0.0",
876
2788
  /**
@@ -1486,54 +3398,36 @@ async function createTrueNasClient(opts) {
1486
3398
  }
1487
3399
  return instantiateClientForVersion(version, opts, logger);
1488
3400
  }
3401
+ var CLIENT_BY_VERSION_KEY = {
3402
+ "25.10": TrueNasApiClientV2510,
3403
+ "26": TrueNasApiClientV26
3404
+ };
3405
+ function clientVersionKey(version) {
3406
+ if (version.year <= legacyCutoffYear) {
3407
+ return `${version.year.toString()}.${version.minor.toString().padStart(2, "0")}`;
3408
+ }
3409
+ return version.year.toString();
3410
+ }
1489
3411
  function instantiateClientForVersion(version, opts, logger) {
1490
3412
  const { uuid, hostnames, enabled, systemName } = opts;
1491
- let versionKey;
1492
- if (version.year <= legacyCutoffYear) {
1493
- const monthPadded = version.minor.toString().padStart(2, "0");
1494
- versionKey = `${version.year.toString()}.${monthPadded}`;
1495
- } else {
1496
- versionKey = version.year.toString();
1497
- }
1498
- switch (versionKey) {
1499
- case "25.10":
1500
- logger.info("Instantiating TrueNasApiClientV2510", {
1501
- uuid: uuid.slice(0, 8),
1502
- version: version.version,
1503
- versionKey
1504
- });
1505
- return new TrueNasApiClientV2510(
1506
- uuid,
1507
- hostnames,
1508
- version,
1509
- enabled,
1510
- systemName,
1511
- logger
1512
- );
1513
- case "26":
1514
- logger.info("Instantiating TrueNasApiClientV26", {
1515
- uuid: uuid.slice(0, 8),
1516
- version: version.version,
1517
- versionKey
1518
- });
1519
- return new TrueNasApiClientV26(
1520
- uuid,
1521
- hostnames,
1522
- version,
1523
- enabled,
1524
- systemName,
1525
- logger
1526
- );
1527
- default:
1528
- logger.error("No client implementation for version", {
1529
- uuid: uuid.slice(0, 8),
1530
- version: version.version,
1531
- versionKey
1532
- });
1533
- throw new Error(
1534
- `No client implementation for API version ${version.version}. Supported versions: v25.10.x, v26.x.y. Version key: ${versionKey}`
1535
- );
3413
+ const versionKey = clientVersionKey(version);
3414
+ const Client = CLIENT_BY_VERSION_KEY[versionKey];
3415
+ if (!Client) {
3416
+ logger.error("No client implementation for version", {
3417
+ uuid: uuid.slice(0, 8),
3418
+ version: version.version,
3419
+ versionKey
3420
+ });
3421
+ throw new Error(
3422
+ `No client implementation for API version ${version.version}. Version keys with a client: ${Object.keys(CLIENT_BY_VERSION_KEY).join(", ")}. Version key: ${versionKey}`
3423
+ );
1536
3424
  }
3425
+ logger.info(`Instantiating ${Client.name}`, {
3426
+ uuid: uuid.slice(0, 8),
3427
+ version: version.version,
3428
+ versionKey
3429
+ });
3430
+ return new Client(uuid, hostnames, version, enabled, systemName, logger);
1537
3431
  }
1538
3432
  function errorMessageOrDefault(error, fallback) {
1539
3433
  if (error instanceof Error) {
@@ -1545,6 +3439,6 @@ function errorMessageOrDefault(error, fallback) {
1545
3439
  return fallback;
1546
3440
  }
1547
3441
 
1548
- export { AuthError, AuthErrorCode, InvalidVersionResponseError, JobState, NoCompatibleVersionsError, TrueNasApiClient, TrueNasApiClientV2510, TrueNasApiClientV26, TrueNasAuthMechanism, TrueNasEndpoint, VersionCompatibility, VersionDiscovery, VersionDiscoveryError, VersionDiscoveryNetworkError, VersionDiscoveryTimeoutError, VersionEndpointNotFoundError, VersionTooNewError, VersionTooOldError, consoleLogger, createTrueNasClient, getApiErrorMessage, noopLogger };
3442
+ export { AuthError, AuthErrorCode, InvalidVersionResponseError, JobState, NoCompatibleVersionsError, SUPPORTED_API_VERSIONS, TrueNasApiClient, TrueNasApiClientV2510, TrueNasApiClientV26, TrueNasAuthMechanism, TrueNasEndpoint, VersionCompatibility, VersionDiscovery, VersionDiscoveryError, VersionDiscoveryNetworkError, VersionDiscoveryTimeoutError, VersionEndpointNotFoundError, VersionTooNewError, VersionTooOldError, consoleLogger, createTrueNasClient, getApiErrorMessage, noopLogger, v25_10_0_exports as v25_10_0, v25_10_1_exports as v25_10_1, v25_10_2_exports as v25_10_2, v25_10_3_exports as v25_10_3, v25_10_4_exports as v25_10_4, v25_10_5_exports as v25_10_5, v26_0_0_exports as v26_0_0, v27_0_0_exports as v27_0_0 };
1549
3443
  //# sourceMappingURL=index.js.map
1550
3444
  //# sourceMappingURL=index.js.map