@truenas/api-client 6.0.2 → 7.0.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/dist/index.cjs CHANGED
@@ -1,148 +1,148 @@
1
1
  'use strict';
2
2
 
3
- var chunkPQIVBXN3_cjs = require('./chunk-PQIVBXN3.cjs');
3
+ var chunkQJRF5DK4_cjs = require('./chunk-QJRF5DK4.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "AppState", {
8
8
  enumerable: true,
9
- get: function () { return chunkPQIVBXN3_cjs.AppState; }
9
+ get: function () { return chunkQJRF5DK4_cjs.AppState; }
10
10
  });
11
11
  Object.defineProperty(exports, "AuthError", {
12
12
  enumerable: true,
13
- get: function () { return chunkPQIVBXN3_cjs.AuthError; }
13
+ get: function () { return chunkQJRF5DK4_cjs.AuthError; }
14
14
  });
15
15
  Object.defineProperty(exports, "AuthErrorCode", {
16
16
  enumerable: true,
17
- get: function () { return chunkPQIVBXN3_cjs.AuthErrorCode; }
17
+ get: function () { return chunkQJRF5DK4_cjs.AuthErrorCode; }
18
18
  });
19
19
  Object.defineProperty(exports, "AuthResponseType", {
20
20
  enumerable: true,
21
- get: function () { return chunkPQIVBXN3_cjs.AuthResponseType; }
21
+ get: function () { return chunkQJRF5DK4_cjs.AuthResponseType; }
22
22
  });
23
23
  Object.defineProperty(exports, "InvalidVersionResponseError", {
24
24
  enumerable: true,
25
- get: function () { return chunkPQIVBXN3_cjs.InvalidVersionResponseError; }
25
+ get: function () { return chunkQJRF5DK4_cjs.InvalidVersionResponseError; }
26
26
  });
27
27
  Object.defineProperty(exports, "JobState", {
28
28
  enumerable: true,
29
- get: function () { return chunkPQIVBXN3_cjs.JobState; }
29
+ get: function () { return chunkQJRF5DK4_cjs.JobState; }
30
30
  });
31
31
  Object.defineProperty(exports, "NoCompatibleVersionsError", {
32
32
  enumerable: true,
33
- get: function () { return chunkPQIVBXN3_cjs.NoCompatibleVersionsError; }
33
+ get: function () { return chunkQJRF5DK4_cjs.NoCompatibleVersionsError; }
34
34
  });
35
35
  Object.defineProperty(exports, "SUPPORTED_API_VERSIONS", {
36
36
  enumerable: true,
37
- get: function () { return chunkPQIVBXN3_cjs.SUPPORTED_API_VERSIONS; }
37
+ get: function () { return chunkQJRF5DK4_cjs.SUPPORTED_API_VERSIONS; }
38
38
  });
39
39
  Object.defineProperty(exports, "TrueNasApiClient", {
40
40
  enumerable: true,
41
- get: function () { return chunkPQIVBXN3_cjs.TrueNasApiClient; }
41
+ get: function () { return chunkQJRF5DK4_cjs.TrueNasApiClient; }
42
42
  });
43
43
  Object.defineProperty(exports, "TrueNasApiClientV2510", {
44
44
  enumerable: true,
45
- get: function () { return chunkPQIVBXN3_cjs.TrueNasApiClientV2510; }
45
+ get: function () { return chunkQJRF5DK4_cjs.TrueNasApiClientV2510; }
46
46
  });
47
47
  Object.defineProperty(exports, "TrueNasApiClientV26", {
48
48
  enumerable: true,
49
- get: function () { return chunkPQIVBXN3_cjs.TrueNasApiClientV26; }
49
+ get: function () { return chunkQJRF5DK4_cjs.TrueNasApiClientV26; }
50
50
  });
51
51
  Object.defineProperty(exports, "TrueNasApiClientV27", {
52
52
  enumerable: true,
53
- get: function () { return chunkPQIVBXN3_cjs.TrueNasApiClientV27; }
53
+ get: function () { return chunkQJRF5DK4_cjs.TrueNasApiClientV27; }
54
54
  });
55
55
  Object.defineProperty(exports, "TrueNasAuthMechanism", {
56
56
  enumerable: true,
57
- get: function () { return chunkPQIVBXN3_cjs.TrueNasAuthMechanism; }
57
+ get: function () { return chunkQJRF5DK4_cjs.TrueNasAuthMechanism; }
58
58
  });
59
59
  Object.defineProperty(exports, "UserRole", {
60
60
  enumerable: true,
61
- get: function () { return chunkPQIVBXN3_cjs.UserRole; }
61
+ get: function () { return chunkQJRF5DK4_cjs.UserRole; }
62
62
  });
63
63
  Object.defineProperty(exports, "VersionCompatibility", {
64
64
  enumerable: true,
65
- get: function () { return chunkPQIVBXN3_cjs.VersionCompatibility; }
65
+ get: function () { return chunkQJRF5DK4_cjs.VersionCompatibility; }
66
66
  });
67
67
  Object.defineProperty(exports, "VersionDiscovery", {
68
68
  enumerable: true,
69
- get: function () { return chunkPQIVBXN3_cjs.VersionDiscovery; }
69
+ get: function () { return chunkQJRF5DK4_cjs.VersionDiscovery; }
70
70
  });
71
71
  Object.defineProperty(exports, "VersionDiscoveryError", {
72
72
  enumerable: true,
73
- get: function () { return chunkPQIVBXN3_cjs.VersionDiscoveryError; }
73
+ get: function () { return chunkQJRF5DK4_cjs.VersionDiscoveryError; }
74
74
  });
75
75
  Object.defineProperty(exports, "VersionDiscoveryNetworkError", {
76
76
  enumerable: true,
77
- get: function () { return chunkPQIVBXN3_cjs.VersionDiscoveryNetworkError; }
77
+ get: function () { return chunkQJRF5DK4_cjs.VersionDiscoveryNetworkError; }
78
78
  });
79
79
  Object.defineProperty(exports, "VersionDiscoveryTimeoutError", {
80
80
  enumerable: true,
81
- get: function () { return chunkPQIVBXN3_cjs.VersionDiscoveryTimeoutError; }
81
+ get: function () { return chunkQJRF5DK4_cjs.VersionDiscoveryTimeoutError; }
82
82
  });
83
83
  Object.defineProperty(exports, "VersionEndpointNotFoundError", {
84
84
  enumerable: true,
85
- get: function () { return chunkPQIVBXN3_cjs.VersionEndpointNotFoundError; }
85
+ get: function () { return chunkQJRF5DK4_cjs.VersionEndpointNotFoundError; }
86
86
  });
87
87
  Object.defineProperty(exports, "VersionTooNewError", {
88
88
  enumerable: true,
89
- get: function () { return chunkPQIVBXN3_cjs.VersionTooNewError; }
89
+ get: function () { return chunkQJRF5DK4_cjs.VersionTooNewError; }
90
90
  });
91
91
  Object.defineProperty(exports, "VersionTooOldError", {
92
92
  enumerable: true,
93
- get: function () { return chunkPQIVBXN3_cjs.VersionTooOldError; }
93
+ get: function () { return chunkQJRF5DK4_cjs.VersionTooOldError; }
94
94
  });
95
95
  Object.defineProperty(exports, "consoleLogger", {
96
96
  enumerable: true,
97
- get: function () { return chunkPQIVBXN3_cjs.consoleLogger; }
97
+ get: function () { return chunkQJRF5DK4_cjs.consoleLogger; }
98
98
  });
99
99
  Object.defineProperty(exports, "createTrueNasClient", {
100
100
  enumerable: true,
101
- get: function () { return chunkPQIVBXN3_cjs.createTrueNasClient; }
101
+ get: function () { return chunkQJRF5DK4_cjs.createTrueNasClient; }
102
102
  });
103
103
  Object.defineProperty(exports, "getApiErrorMessage", {
104
104
  enumerable: true,
105
- get: function () { return chunkPQIVBXN3_cjs.getApiErrorMessage; }
105
+ get: function () { return chunkQJRF5DK4_cjs.getApiErrorMessage; }
106
106
  });
107
107
  Object.defineProperty(exports, "isJobFinished", {
108
108
  enumerable: true,
109
- get: function () { return chunkPQIVBXN3_cjs.isJobFinished; }
109
+ get: function () { return chunkQJRF5DK4_cjs.isJobFinished; }
110
110
  });
111
111
  Object.defineProperty(exports, "noopLogger", {
112
112
  enumerable: true,
113
- get: function () { return chunkPQIVBXN3_cjs.noopLogger; }
113
+ get: function () { return chunkQJRF5DK4_cjs.noopLogger; }
114
114
  });
115
115
  Object.defineProperty(exports, "v25_10_0", {
116
116
  enumerable: true,
117
- get: function () { return chunkPQIVBXN3_cjs.v25_10_0_exports; }
117
+ get: function () { return chunkQJRF5DK4_cjs.v25_10_0_exports; }
118
118
  });
119
119
  Object.defineProperty(exports, "v25_10_1", {
120
120
  enumerable: true,
121
- get: function () { return chunkPQIVBXN3_cjs.v25_10_1_exports; }
121
+ get: function () { return chunkQJRF5DK4_cjs.v25_10_1_exports; }
122
122
  });
123
123
  Object.defineProperty(exports, "v25_10_2", {
124
124
  enumerable: true,
125
- get: function () { return chunkPQIVBXN3_cjs.v25_10_2_exports; }
125
+ get: function () { return chunkQJRF5DK4_cjs.v25_10_2_exports; }
126
126
  });
127
127
  Object.defineProperty(exports, "v25_10_3", {
128
128
  enumerable: true,
129
- get: function () { return chunkPQIVBXN3_cjs.v25_10_3_exports; }
129
+ get: function () { return chunkQJRF5DK4_cjs.v25_10_3_exports; }
130
130
  });
131
131
  Object.defineProperty(exports, "v25_10_4", {
132
132
  enumerable: true,
133
- get: function () { return chunkPQIVBXN3_cjs.v25_10_4_exports; }
133
+ get: function () { return chunkQJRF5DK4_cjs.v25_10_4_exports; }
134
134
  });
135
135
  Object.defineProperty(exports, "v25_10_5", {
136
136
  enumerable: true,
137
- get: function () { return chunkPQIVBXN3_cjs.v25_10_5_exports; }
137
+ get: function () { return chunkQJRF5DK4_cjs.v25_10_5_exports; }
138
138
  });
139
139
  Object.defineProperty(exports, "v26_0_0", {
140
140
  enumerable: true,
141
- get: function () { return chunkPQIVBXN3_cjs.v26_0_0_exports; }
141
+ get: function () { return chunkQJRF5DK4_cjs.v26_0_0_exports; }
142
142
  });
143
143
  Object.defineProperty(exports, "v27_0_0", {
144
144
  enumerable: true,
145
- get: function () { return chunkPQIVBXN3_cjs.v27_0_0_exports; }
145
+ get: function () { return chunkQJRF5DK4_cjs.v27_0_0_exports; }
146
146
  });
147
147
  //# sourceMappingURL=index.cjs.map
148
148
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TrueNasApiClient, A as ApiDirectory, O as OperationMappings, a as ApiDirectory$1, b as ApiDirectory$2, L as Logger, c as ApplianceProtocol, d as ApiVersion } from './truenas-auth-mechanism.enum-DikfjVxa.cjs';
2
- export { e as ApiCallDirectoryV25_10_0, f as ApiCallDirectoryV25_10_1, g as ApiCallDirectoryV25_10_2, h as ApiCallDirectoryV25_10_3, i as ApiCallDirectoryV25_10_4, j as ApiCallDirectoryV25_10_5, k as ApiCallDirectoryV26_0_0, l as ApiCallDirectoryV27_0_0, m as ApiDirectoryByVersion, n as ApiDirectoryShape, o as ApiDirectoryV25_10_1, p as ApiDirectoryV25_10_2, q as ApiDirectoryV25_10_3, r as ApiDirectoryV25_10_4, s as ApiDirectoryV25_10_5, t as ApiError, u as ApiEventDirectoryV25_10_0, v as ApiEventDirectoryV25_10_1, w as ApiEventDirectoryV25_10_2, x as ApiEventDirectoryV25_10_3, y as ApiEventDirectoryV25_10_4, z as ApiEventDirectoryV25_10_5, B as ApiEventDirectoryV26_0_0, C as ApiEventDirectoryV27_0_0, D as ApiJobDirectoryV25_10_0, E as ApiJobDirectoryV25_10_1, F as ApiJobDirectoryV25_10_2, G as ApiJobDirectoryV25_10_3, H as ApiJobDirectoryV25_10_4, I as ApiJobDirectoryV25_10_5, J as ApiJobDirectoryV26_0_0, K as ApiJobDirectoryV27_0_0, M as ApiKeyCreate, N as ApiVersionResponse, P as AppState, Q as ArgsOf, R as AuthResponse, S as AuthResponseType, U as BaseApiDirectory, V as CallMethod, W as CallParams, X as CallResponse, Y as Container, Z as CreateClientOptions, _ as DefaultApiDirectory, $ as EventKind, a0 as EventName, a1 as EventUnion, a2 as Job, a3 as JobMethod, a4 as JobParams, a5 as JobProgress, a6 as JobResult, a7 as JobState, a8 as QueryDirectory, a9 as QueryEntity, aa as QueryListOptions, ab as QueryMethod, ac as QuerySingleOptions, ad as SUPPORTED_API_VERSIONS, ae as SmbStatusInfoLevel, af as SmbStatusOptions, ag as SmbStatusRequest, ah as SmbStatusResponse, ai as SmbStatusRow, aj as SupportedApiVersion, ak as TrueNasAuthMechanism, al as TrueNasDate, am as TrueNasErrorData, an as TrueNasErrorFrame, ao as UserRole, ap as UserRoleName, aq as VersionCompatibility, ar as consoleLogger, as as createTrueNasClient, at as getApiErrorMessage, au as isJobFinished, av as noopLogger, aw as v25_10_0, ax as v25_10_1, ay as v25_10_2, az as v25_10_3, aA as v25_10_4, aB as v25_10_5, aC as v26_0_0, aD as v27_0_0 } from './truenas-auth-mechanism.enum-DikfjVxa.cjs';
1
+ import { T as TrueNasApiClient, A as ApiDirectory, O as OperationMappings, a as ApiDirectory$1, b as ApiDirectory$2, L as Logger, c as ApplianceProtocol, d as ApiVersion } from './truenas-auth-mechanism.enum-CHo_zr2p.cjs';
2
+ export { e as ApiCallDirectoryV25_10_0, f as ApiCallDirectoryV25_10_1, g as ApiCallDirectoryV25_10_2, h as ApiCallDirectoryV25_10_3, i as ApiCallDirectoryV25_10_4, j as ApiCallDirectoryV25_10_5, k as ApiCallDirectoryV26_0_0, l as ApiCallDirectoryV27_0_0, m as ApiDirectoryByVersion, n as ApiDirectoryShape, o as ApiDirectoryV25_10_1, p as ApiDirectoryV25_10_2, q as ApiDirectoryV25_10_3, r as ApiDirectoryV25_10_4, s as ApiDirectoryV25_10_5, t as ApiError, u as ApiEventDirectoryV25_10_0, v as ApiEventDirectoryV25_10_1, w as ApiEventDirectoryV25_10_2, x as ApiEventDirectoryV25_10_3, y as ApiEventDirectoryV25_10_4, z as ApiEventDirectoryV25_10_5, B as ApiEventDirectoryV26_0_0, C as ApiEventDirectoryV27_0_0, D as ApiJobDirectoryV25_10_0, E as ApiJobDirectoryV25_10_1, F as ApiJobDirectoryV25_10_2, G as ApiJobDirectoryV25_10_3, H as ApiJobDirectoryV25_10_4, I as ApiJobDirectoryV25_10_5, J as ApiJobDirectoryV26_0_0, K as ApiJobDirectoryV27_0_0, M as ApiKeyCreate, N as ApiVersionResponse, P as AppState, Q as ArgsOf, R as AuthResponse, S as AuthResponseType, U as BaseApiDirectory, V as CallMethod, W as CallParams, X as CallResponse, Y as Container, Z as CreateClientOptions, _ as DefaultApiDirectory, $ as EventKind, a0 as EventName, a1 as EventUnion, a2 as Job, a3 as JobMethod, a4 as JobParams, a5 as JobProgress, a6 as JobResult, a7 as JobState, a8 as QueryDirectory, a9 as QueryEntity, aa as QueryListOptions, ab as QueryMethod, ac as QuerySingleOptions, ad as SUPPORTED_API_VERSIONS, ae as SmbStatusInfoLevel, af as SmbStatusOptions, ag as SmbStatusRequest, ah as SmbStatusResponse, ai as SmbStatusRow, aj as SupportedApiVersion, ak as TrueNasAuthMechanism, al as TrueNasDate, am as TrueNasErrorData, an as TrueNasErrorFrame, ao as UserRole, ap as UserRoleName, aq as VersionCompatibility, ar as consoleLogger, as as createTrueNasClient, at as getApiErrorMessage, au as isJobFinished, av as noopLogger, aw as v25_10_0, ax as v25_10_1, ay as v25_10_2, az as v25_10_3, aA as v25_10_4, aB as v25_10_5, aC as v26_0_0, aD as v27_0_0 } from './truenas-auth-mechanism.enum-CHo_zr2p.cjs';
3
3
  import { Observable } from 'rxjs';
4
4
  import 'rxjs/webSocket';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TrueNasApiClient, A as ApiDirectory, O as OperationMappings, a as ApiDirectory$1, b as ApiDirectory$2, L as Logger, c as ApplianceProtocol, d as ApiVersion } from './truenas-auth-mechanism.enum-DikfjVxa.js';
2
- export { e as ApiCallDirectoryV25_10_0, f as ApiCallDirectoryV25_10_1, g as ApiCallDirectoryV25_10_2, h as ApiCallDirectoryV25_10_3, i as ApiCallDirectoryV25_10_4, j as ApiCallDirectoryV25_10_5, k as ApiCallDirectoryV26_0_0, l as ApiCallDirectoryV27_0_0, m as ApiDirectoryByVersion, n as ApiDirectoryShape, o as ApiDirectoryV25_10_1, p as ApiDirectoryV25_10_2, q as ApiDirectoryV25_10_3, r as ApiDirectoryV25_10_4, s as ApiDirectoryV25_10_5, t as ApiError, u as ApiEventDirectoryV25_10_0, v as ApiEventDirectoryV25_10_1, w as ApiEventDirectoryV25_10_2, x as ApiEventDirectoryV25_10_3, y as ApiEventDirectoryV25_10_4, z as ApiEventDirectoryV25_10_5, B as ApiEventDirectoryV26_0_0, C as ApiEventDirectoryV27_0_0, D as ApiJobDirectoryV25_10_0, E as ApiJobDirectoryV25_10_1, F as ApiJobDirectoryV25_10_2, G as ApiJobDirectoryV25_10_3, H as ApiJobDirectoryV25_10_4, I as ApiJobDirectoryV25_10_5, J as ApiJobDirectoryV26_0_0, K as ApiJobDirectoryV27_0_0, M as ApiKeyCreate, N as ApiVersionResponse, P as AppState, Q as ArgsOf, R as AuthResponse, S as AuthResponseType, U as BaseApiDirectory, V as CallMethod, W as CallParams, X as CallResponse, Y as Container, Z as CreateClientOptions, _ as DefaultApiDirectory, $ as EventKind, a0 as EventName, a1 as EventUnion, a2 as Job, a3 as JobMethod, a4 as JobParams, a5 as JobProgress, a6 as JobResult, a7 as JobState, a8 as QueryDirectory, a9 as QueryEntity, aa as QueryListOptions, ab as QueryMethod, ac as QuerySingleOptions, ad as SUPPORTED_API_VERSIONS, ae as SmbStatusInfoLevel, af as SmbStatusOptions, ag as SmbStatusRequest, ah as SmbStatusResponse, ai as SmbStatusRow, aj as SupportedApiVersion, ak as TrueNasAuthMechanism, al as TrueNasDate, am as TrueNasErrorData, an as TrueNasErrorFrame, ao as UserRole, ap as UserRoleName, aq as VersionCompatibility, ar as consoleLogger, as as createTrueNasClient, at as getApiErrorMessage, au as isJobFinished, av as noopLogger, aw as v25_10_0, ax as v25_10_1, ay as v25_10_2, az as v25_10_3, aA as v25_10_4, aB as v25_10_5, aC as v26_0_0, aD as v27_0_0 } from './truenas-auth-mechanism.enum-DikfjVxa.js';
1
+ import { T as TrueNasApiClient, A as ApiDirectory, O as OperationMappings, a as ApiDirectory$1, b as ApiDirectory$2, L as Logger, c as ApplianceProtocol, d as ApiVersion } from './truenas-auth-mechanism.enum-CHo_zr2p.js';
2
+ export { e as ApiCallDirectoryV25_10_0, f as ApiCallDirectoryV25_10_1, g as ApiCallDirectoryV25_10_2, h as ApiCallDirectoryV25_10_3, i as ApiCallDirectoryV25_10_4, j as ApiCallDirectoryV25_10_5, k as ApiCallDirectoryV26_0_0, l as ApiCallDirectoryV27_0_0, m as ApiDirectoryByVersion, n as ApiDirectoryShape, o as ApiDirectoryV25_10_1, p as ApiDirectoryV25_10_2, q as ApiDirectoryV25_10_3, r as ApiDirectoryV25_10_4, s as ApiDirectoryV25_10_5, t as ApiError, u as ApiEventDirectoryV25_10_0, v as ApiEventDirectoryV25_10_1, w as ApiEventDirectoryV25_10_2, x as ApiEventDirectoryV25_10_3, y as ApiEventDirectoryV25_10_4, z as ApiEventDirectoryV25_10_5, B as ApiEventDirectoryV26_0_0, C as ApiEventDirectoryV27_0_0, D as ApiJobDirectoryV25_10_0, E as ApiJobDirectoryV25_10_1, F as ApiJobDirectoryV25_10_2, G as ApiJobDirectoryV25_10_3, H as ApiJobDirectoryV25_10_4, I as ApiJobDirectoryV25_10_5, J as ApiJobDirectoryV26_0_0, K as ApiJobDirectoryV27_0_0, M as ApiKeyCreate, N as ApiVersionResponse, P as AppState, Q as ArgsOf, R as AuthResponse, S as AuthResponseType, U as BaseApiDirectory, V as CallMethod, W as CallParams, X as CallResponse, Y as Container, Z as CreateClientOptions, _ as DefaultApiDirectory, $ as EventKind, a0 as EventName, a1 as EventUnion, a2 as Job, a3 as JobMethod, a4 as JobParams, a5 as JobProgress, a6 as JobResult, a7 as JobState, a8 as QueryDirectory, a9 as QueryEntity, aa as QueryListOptions, ab as QueryMethod, ac as QuerySingleOptions, ad as SUPPORTED_API_VERSIONS, ae as SmbStatusInfoLevel, af as SmbStatusOptions, ag as SmbStatusRequest, ah as SmbStatusResponse, ai as SmbStatusRow, aj as SupportedApiVersion, ak as TrueNasAuthMechanism, al as TrueNasDate, am as TrueNasErrorData, an as TrueNasErrorFrame, ao as UserRole, ap as UserRoleName, aq as VersionCompatibility, ar as consoleLogger, as as createTrueNasClient, at as getApiErrorMessage, au as isJobFinished, av as noopLogger, aw as v25_10_0, ax as v25_10_1, ay as v25_10_2, az as v25_10_3, aA as v25_10_4, aB as v25_10_5, aC as v26_0_0, aD as v27_0_0 } from './truenas-auth-mechanism.enum-CHo_zr2p.js';
3
3
  import { Observable } from 'rxjs';
4
4
  import 'rxjs/webSocket';
5
5
 
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { AppState, AuthError, AuthErrorCode, AuthResponseType, InvalidVersionResponseError, JobState, NoCompatibleVersionsError, SUPPORTED_API_VERSIONS, TrueNasApiClient, TrueNasApiClientV2510, TrueNasApiClientV26, TrueNasApiClientV27, TrueNasAuthMechanism, UserRole, VersionCompatibility, VersionDiscovery, VersionDiscoveryError, VersionDiscoveryNetworkError, VersionDiscoveryTimeoutError, VersionEndpointNotFoundError, VersionTooNewError, VersionTooOldError, consoleLogger, createTrueNasClient, getApiErrorMessage, isJobFinished, 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 } from './chunk-7QVRLQIZ.js';
1
+ export { AppState, AuthError, AuthErrorCode, AuthResponseType, InvalidVersionResponseError, JobState, NoCompatibleVersionsError, SUPPORTED_API_VERSIONS, TrueNasApiClient, TrueNasApiClientV2510, TrueNasApiClientV26, TrueNasApiClientV27, TrueNasAuthMechanism, UserRole, VersionCompatibility, VersionDiscovery, VersionDiscoveryError, VersionDiscoveryNetworkError, VersionDiscoveryTimeoutError, VersionEndpointNotFoundError, VersionTooNewError, VersionTooOldError, consoleLogger, createTrueNasClient, getApiErrorMessage, isJobFinished, 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 } from './chunk-SAJ5HZHK.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkPQIVBXN3_cjs = require('../chunk-PQIVBXN3.cjs');
3
+ var chunkQJRF5DK4_cjs = require('../chunk-QJRF5DK4.cjs');
4
4
  var rxjs = require('rxjs');
5
5
 
6
6
  // src/testing/unmocked-call-error.ts
@@ -17,7 +17,7 @@ var UnmockedCallError = class extends Error {
17
17
 
18
18
  // src/testing/fake-connection.ts
19
19
  var CLIENT_HOUSEKEEPING = /* @__PURE__ */ new Set(["core.subscribe"]);
20
- var FakeConnection = class extends chunkPQIVBXN3_cjs.TrueNasConnection {
20
+ var FakeConnection = class extends chunkQJRF5DK4_cjs.TrueNasConnection {
21
21
  constructor(options = {}) {
22
22
  super(
23
23
  // Disabled: `connection$` derives from this, so no socket is ever built
@@ -29,7 +29,7 @@ var FakeConnection = class extends chunkPQIVBXN3_cjs.TrueNasConnection {
29
29
  void 0,
30
30
  0,
31
31
  0,
32
- chunkPQIVBXN3_cjs.noopLogger
32
+ chunkQJRF5DK4_cjs.noopLogger
33
33
  );
34
34
  this.incoming = new rxjs.Subject();
35
35
  this.frames = [];
@@ -203,7 +203,7 @@ var FakeConnection = class extends chunkPQIVBXN3_cjs.TrueNasConnection {
203
203
  };
204
204
 
205
205
  // src/testing/fake-authenticator.ts
206
- var FakeAuthenticator = class extends chunkPQIVBXN3_cjs.TrueNasAuthenticator {
206
+ var FakeAuthenticator = class extends chunkQJRF5DK4_cjs.TrueNasAuthenticator {
207
207
  constructor(fakeConnection, version) {
208
208
  super(fakeConnection, version);
209
209
  this.fakeConnection = fakeConnection;
@@ -553,12 +553,12 @@ function withFakeCollaborators(Base, options) {
553
553
  };
554
554
  }
555
555
  function createFakeClient(options = {}) {
556
- const versionString = options.version ?? chunkPQIVBXN3_cjs.SUPPORTED_API_VERSIONS[0];
557
- const version = chunkPQIVBXN3_cjs.parseApiVersion(versionString);
556
+ const versionString = options.version ?? chunkQJRF5DK4_cjs.SUPPORTED_API_VERSIONS[0];
557
+ const version = chunkQJRF5DK4_cjs.parseApiVersion(versionString);
558
558
  if (!version) {
559
559
  throw new Error(`'${versionString}' is not a version this package parses.`);
560
560
  }
561
- const Base = chunkPQIVBXN3_cjs.clientClassFor(version);
561
+ const Base = chunkQJRF5DK4_cjs.clientClassFor(version);
562
562
  if (!Base) {
563
563
  throw new Error(
564
564
  `No client implementation for '${versionString}'. The real factory would have refused it too.`
@@ -644,8 +644,8 @@ function withSpies(client, spy) {
644
644
  }
645
645
 
646
646
  // src/testing/fake-api-version.ts
647
- function fakeApiVersion(version = chunkPQIVBXN3_cjs.SUPPORTED_API_VERSIONS[0], overrides = {}) {
648
- const parsed = chunkPQIVBXN3_cjs.parseApiVersion(version);
647
+ function fakeApiVersion(version = chunkQJRF5DK4_cjs.SUPPORTED_API_VERSIONS[0], overrides = {}) {
648
+ const parsed = chunkQJRF5DK4_cjs.parseApiVersion(version);
649
649
  if (!parsed) {
650
650
  throw new Error(
651
651
  `fakeApiVersion('${version}'): not a version this package parses. Expected vYY.MINOR.PATCH \u2014 v25.10.0, v27.0.0. For a version the parser rejects, pass one it accepts and override its fields.`
@@ -714,7 +714,7 @@ function fakeAuthResponse(overrides = {}) {
714
714
 
715
715
  Object.defineProperty(exports, "AuthResponseType", {
716
716
  enumerable: true,
717
- get: function () { return chunkPQIVBXN3_cjs.AuthResponseType; }
717
+ get: function () { return chunkQJRF5DK4_cjs.AuthResponseType; }
718
718
  });
719
719
  exports.FakeAuthenticator = FakeAuthenticator;
720
720
  exports.FakeConnection = FakeConnection;