@aws-sdk/client-backup 3.54.1 → 3.58.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/CHANGELOG.md +24 -0
- package/dist-cjs/BackupClient.js +13 -13
- package/dist-cjs/commands/CreateBackupPlanCommand.js +3 -3
- package/dist-cjs/commands/CreateBackupSelectionCommand.js +3 -3
- package/dist-cjs/commands/CreateBackupVaultCommand.js +3 -3
- package/dist-cjs/commands/CreateFrameworkCommand.js +3 -3
- package/dist-cjs/commands/CreateReportPlanCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupPlanCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupSelectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupVaultAccessPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupVaultCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupVaultLockConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupVaultNotificationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteFrameworkCommand.js +3 -3
- package/dist-cjs/commands/DeleteRecoveryPointCommand.js +3 -3
- package/dist-cjs/commands/DeleteReportPlanCommand.js +3 -3
- package/dist-cjs/commands/DescribeBackupJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeBackupVaultCommand.js +3 -3
- package/dist-cjs/commands/DescribeCopyJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeFrameworkCommand.js +3 -3
- package/dist-cjs/commands/DescribeGlobalSettingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeProtectedResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeRecoveryPointCommand.js +3 -3
- package/dist-cjs/commands/DescribeRegionSettingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeReportJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeReportPlanCommand.js +3 -3
- package/dist-cjs/commands/DescribeRestoreJobCommand.js +3 -3
- package/dist-cjs/commands/DisassociateRecoveryPointCommand.js +3 -3
- package/dist-cjs/commands/ExportBackupPlanTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetBackupPlanCommand.js +3 -3
- package/dist-cjs/commands/GetBackupPlanFromJSONCommand.js +3 -3
- package/dist-cjs/commands/GetBackupPlanFromTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetBackupSelectionCommand.js +3 -3
- package/dist-cjs/commands/GetBackupVaultAccessPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetBackupVaultNotificationsCommand.js +3 -3
- package/dist-cjs/commands/GetRecoveryPointRestoreMetadataCommand.js +3 -3
- package/dist-cjs/commands/GetSupportedResourceTypesCommand.js +3 -3
- package/dist-cjs/commands/ListBackupJobsCommand.js +3 -3
- package/dist-cjs/commands/ListBackupPlanTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListBackupPlanVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListBackupPlansCommand.js +3 -3
- package/dist-cjs/commands/ListBackupSelectionsCommand.js +3 -3
- package/dist-cjs/commands/ListBackupVaultsCommand.js +3 -3
- package/dist-cjs/commands/ListCopyJobsCommand.js +3 -3
- package/dist-cjs/commands/ListFrameworksCommand.js +3 -3
- package/dist-cjs/commands/ListProtectedResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListRecoveryPointsByBackupVaultCommand.js +3 -3
- package/dist-cjs/commands/ListRecoveryPointsByResourceCommand.js +3 -3
- package/dist-cjs/commands/ListReportJobsCommand.js +3 -3
- package/dist-cjs/commands/ListReportPlansCommand.js +3 -3
- package/dist-cjs/commands/ListRestoreJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsCommand.js +3 -3
- package/dist-cjs/commands/PutBackupVaultAccessPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutBackupVaultLockConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutBackupVaultNotificationsCommand.js +3 -3
- package/dist-cjs/commands/StartBackupJobCommand.js +3 -3
- package/dist-cjs/commands/StartCopyJobCommand.js +3 -3
- package/dist-cjs/commands/StartReportJobCommand.js +3 -3
- package/dist-cjs/commands/StartRestoreJobCommand.js +3 -3
- package/dist-cjs/commands/StopBackupJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateBackupPlanCommand.js +3 -3
- package/dist-cjs/commands/UpdateFrameworkCommand.js +3 -3
- package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateRecoveryPointLifecycleCommand.js +3 -3
- package/dist-cjs/commands/UpdateRegionSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateReportPlanCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +527 -527
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Backup.js +66 -66
- package/dist-es/pagination/ListBackupJobsPaginator.js +4 -4
- package/dist-es/pagination/ListBackupPlanTemplatesPaginator.js +4 -4
- package/dist-es/pagination/ListBackupPlanVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListBackupPlansPaginator.js +4 -4
- package/dist-es/pagination/ListBackupSelectionsPaginator.js +4 -4
- package/dist-es/pagination/ListBackupVaultsPaginator.js +4 -4
- package/dist-es/pagination/ListCopyJobsPaginator.js +4 -4
- package/dist-es/pagination/ListFrameworksPaginator.js +4 -4
- package/dist-es/pagination/ListProtectedResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListRecoveryPointsByBackupVaultPaginator.js +4 -4
- package/dist-es/pagination/ListRecoveryPointsByResourcePaginator.js +4 -4
- package/dist-es/pagination/ListReportJobsPaginator.js +4 -4
- package/dist-es/pagination/ListReportPlansPaginator.js +4 -4
- package/dist-es/pagination/ListRestoreJobsPaginator.js +4 -4
- package/dist-es/pagination/ListTagsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +66 -66
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
package/dist-es/Backup.js
CHANGED
|
@@ -78,7 +78,7 @@ var Backup = (function (_super) {
|
|
|
78
78
|
}
|
|
79
79
|
else if (typeof cb === "function") {
|
|
80
80
|
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error("Expect http options but get "
|
|
81
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
82
82
|
this.send(command, optionsOrCb || {}, cb);
|
|
83
83
|
}
|
|
84
84
|
else {
|
|
@@ -92,7 +92,7 @@ var Backup = (function (_super) {
|
|
|
92
92
|
}
|
|
93
93
|
else if (typeof cb === "function") {
|
|
94
94
|
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error("Expect http options but get "
|
|
95
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
96
96
|
this.send(command, optionsOrCb || {}, cb);
|
|
97
97
|
}
|
|
98
98
|
else {
|
|
@@ -106,7 +106,7 @@ var Backup = (function (_super) {
|
|
|
106
106
|
}
|
|
107
107
|
else if (typeof cb === "function") {
|
|
108
108
|
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error("Expect http options but get "
|
|
109
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
110
110
|
this.send(command, optionsOrCb || {}, cb);
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
@@ -120,7 +120,7 @@ var Backup = (function (_super) {
|
|
|
120
120
|
}
|
|
121
121
|
else if (typeof cb === "function") {
|
|
122
122
|
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error("Expect http options but get "
|
|
123
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
124
124
|
this.send(command, optionsOrCb || {}, cb);
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
@@ -134,7 +134,7 @@ var Backup = (function (_super) {
|
|
|
134
134
|
}
|
|
135
135
|
else if (typeof cb === "function") {
|
|
136
136
|
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error("Expect http options but get "
|
|
137
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
138
138
|
this.send(command, optionsOrCb || {}, cb);
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
@@ -148,7 +148,7 @@ var Backup = (function (_super) {
|
|
|
148
148
|
}
|
|
149
149
|
else if (typeof cb === "function") {
|
|
150
150
|
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error("Expect http options but get "
|
|
151
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
152
152
|
this.send(command, optionsOrCb || {}, cb);
|
|
153
153
|
}
|
|
154
154
|
else {
|
|
@@ -162,7 +162,7 @@ var Backup = (function (_super) {
|
|
|
162
162
|
}
|
|
163
163
|
else if (typeof cb === "function") {
|
|
164
164
|
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error("Expect http options but get "
|
|
165
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
166
166
|
this.send(command, optionsOrCb || {}, cb);
|
|
167
167
|
}
|
|
168
168
|
else {
|
|
@@ -176,7 +176,7 @@ var Backup = (function (_super) {
|
|
|
176
176
|
}
|
|
177
177
|
else if (typeof cb === "function") {
|
|
178
178
|
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error("Expect http options but get "
|
|
179
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
180
180
|
this.send(command, optionsOrCb || {}, cb);
|
|
181
181
|
}
|
|
182
182
|
else {
|
|
@@ -190,7 +190,7 @@ var Backup = (function (_super) {
|
|
|
190
190
|
}
|
|
191
191
|
else if (typeof cb === "function") {
|
|
192
192
|
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error("Expect http options but get "
|
|
193
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
194
194
|
this.send(command, optionsOrCb || {}, cb);
|
|
195
195
|
}
|
|
196
196
|
else {
|
|
@@ -204,7 +204,7 @@ var Backup = (function (_super) {
|
|
|
204
204
|
}
|
|
205
205
|
else if (typeof cb === "function") {
|
|
206
206
|
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error("Expect http options but get "
|
|
207
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
208
208
|
this.send(command, optionsOrCb || {}, cb);
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
@@ -218,7 +218,7 @@ var Backup = (function (_super) {
|
|
|
218
218
|
}
|
|
219
219
|
else if (typeof cb === "function") {
|
|
220
220
|
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error("Expect http options but get "
|
|
221
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
222
222
|
this.send(command, optionsOrCb || {}, cb);
|
|
223
223
|
}
|
|
224
224
|
else {
|
|
@@ -232,7 +232,7 @@ var Backup = (function (_super) {
|
|
|
232
232
|
}
|
|
233
233
|
else if (typeof cb === "function") {
|
|
234
234
|
if (typeof optionsOrCb !== "object")
|
|
235
|
-
throw new Error("Expect http options but get "
|
|
235
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
236
236
|
this.send(command, optionsOrCb || {}, cb);
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
@@ -246,7 +246,7 @@ var Backup = (function (_super) {
|
|
|
246
246
|
}
|
|
247
247
|
else if (typeof cb === "function") {
|
|
248
248
|
if (typeof optionsOrCb !== "object")
|
|
249
|
-
throw new Error("Expect http options but get "
|
|
249
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
250
250
|
this.send(command, optionsOrCb || {}, cb);
|
|
251
251
|
}
|
|
252
252
|
else {
|
|
@@ -260,7 +260,7 @@ var Backup = (function (_super) {
|
|
|
260
260
|
}
|
|
261
261
|
else if (typeof cb === "function") {
|
|
262
262
|
if (typeof optionsOrCb !== "object")
|
|
263
|
-
throw new Error("Expect http options but get "
|
|
263
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
264
264
|
this.send(command, optionsOrCb || {}, cb);
|
|
265
265
|
}
|
|
266
266
|
else {
|
|
@@ -274,7 +274,7 @@ var Backup = (function (_super) {
|
|
|
274
274
|
}
|
|
275
275
|
else if (typeof cb === "function") {
|
|
276
276
|
if (typeof optionsOrCb !== "object")
|
|
277
|
-
throw new Error("Expect http options but get "
|
|
277
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
278
278
|
this.send(command, optionsOrCb || {}, cb);
|
|
279
279
|
}
|
|
280
280
|
else {
|
|
@@ -288,7 +288,7 @@ var Backup = (function (_super) {
|
|
|
288
288
|
}
|
|
289
289
|
else if (typeof cb === "function") {
|
|
290
290
|
if (typeof optionsOrCb !== "object")
|
|
291
|
-
throw new Error("Expect http options but get "
|
|
291
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
292
292
|
this.send(command, optionsOrCb || {}, cb);
|
|
293
293
|
}
|
|
294
294
|
else {
|
|
@@ -302,7 +302,7 @@ var Backup = (function (_super) {
|
|
|
302
302
|
}
|
|
303
303
|
else if (typeof cb === "function") {
|
|
304
304
|
if (typeof optionsOrCb !== "object")
|
|
305
|
-
throw new Error("Expect http options but get "
|
|
305
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
306
306
|
this.send(command, optionsOrCb || {}, cb);
|
|
307
307
|
}
|
|
308
308
|
else {
|
|
@@ -316,7 +316,7 @@ var Backup = (function (_super) {
|
|
|
316
316
|
}
|
|
317
317
|
else if (typeof cb === "function") {
|
|
318
318
|
if (typeof optionsOrCb !== "object")
|
|
319
|
-
throw new Error("Expect http options but get "
|
|
319
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
320
320
|
this.send(command, optionsOrCb || {}, cb);
|
|
321
321
|
}
|
|
322
322
|
else {
|
|
@@ -330,7 +330,7 @@ var Backup = (function (_super) {
|
|
|
330
330
|
}
|
|
331
331
|
else if (typeof cb === "function") {
|
|
332
332
|
if (typeof optionsOrCb !== "object")
|
|
333
|
-
throw new Error("Expect http options but get "
|
|
333
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
334
334
|
this.send(command, optionsOrCb || {}, cb);
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
@@ -344,7 +344,7 @@ var Backup = (function (_super) {
|
|
|
344
344
|
}
|
|
345
345
|
else if (typeof cb === "function") {
|
|
346
346
|
if (typeof optionsOrCb !== "object")
|
|
347
|
-
throw new Error("Expect http options but get "
|
|
347
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
348
348
|
this.send(command, optionsOrCb || {}, cb);
|
|
349
349
|
}
|
|
350
350
|
else {
|
|
@@ -358,7 +358,7 @@ var Backup = (function (_super) {
|
|
|
358
358
|
}
|
|
359
359
|
else if (typeof cb === "function") {
|
|
360
360
|
if (typeof optionsOrCb !== "object")
|
|
361
|
-
throw new Error("Expect http options but get "
|
|
361
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
362
362
|
this.send(command, optionsOrCb || {}, cb);
|
|
363
363
|
}
|
|
364
364
|
else {
|
|
@@ -372,7 +372,7 @@ var Backup = (function (_super) {
|
|
|
372
372
|
}
|
|
373
373
|
else if (typeof cb === "function") {
|
|
374
374
|
if (typeof optionsOrCb !== "object")
|
|
375
|
-
throw new Error("Expect http options but get "
|
|
375
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
376
376
|
this.send(command, optionsOrCb || {}, cb);
|
|
377
377
|
}
|
|
378
378
|
else {
|
|
@@ -386,7 +386,7 @@ var Backup = (function (_super) {
|
|
|
386
386
|
}
|
|
387
387
|
else if (typeof cb === "function") {
|
|
388
388
|
if (typeof optionsOrCb !== "object")
|
|
389
|
-
throw new Error("Expect http options but get "
|
|
389
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
390
390
|
this.send(command, optionsOrCb || {}, cb);
|
|
391
391
|
}
|
|
392
392
|
else {
|
|
@@ -400,7 +400,7 @@ var Backup = (function (_super) {
|
|
|
400
400
|
}
|
|
401
401
|
else if (typeof cb === "function") {
|
|
402
402
|
if (typeof optionsOrCb !== "object")
|
|
403
|
-
throw new Error("Expect http options but get "
|
|
403
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
404
404
|
this.send(command, optionsOrCb || {}, cb);
|
|
405
405
|
}
|
|
406
406
|
else {
|
|
@@ -414,7 +414,7 @@ var Backup = (function (_super) {
|
|
|
414
414
|
}
|
|
415
415
|
else if (typeof cb === "function") {
|
|
416
416
|
if (typeof optionsOrCb !== "object")
|
|
417
|
-
throw new Error("Expect http options but get "
|
|
417
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
418
418
|
this.send(command, optionsOrCb || {}, cb);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
@@ -428,7 +428,7 @@ var Backup = (function (_super) {
|
|
|
428
428
|
}
|
|
429
429
|
else if (typeof cb === "function") {
|
|
430
430
|
if (typeof optionsOrCb !== "object")
|
|
431
|
-
throw new Error("Expect http options but get "
|
|
431
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
432
432
|
this.send(command, optionsOrCb || {}, cb);
|
|
433
433
|
}
|
|
434
434
|
else {
|
|
@@ -442,7 +442,7 @@ var Backup = (function (_super) {
|
|
|
442
442
|
}
|
|
443
443
|
else if (typeof cb === "function") {
|
|
444
444
|
if (typeof optionsOrCb !== "object")
|
|
445
|
-
throw new Error("Expect http options but get "
|
|
445
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
446
446
|
this.send(command, optionsOrCb || {}, cb);
|
|
447
447
|
}
|
|
448
448
|
else {
|
|
@@ -456,7 +456,7 @@ var Backup = (function (_super) {
|
|
|
456
456
|
}
|
|
457
457
|
else if (typeof cb === "function") {
|
|
458
458
|
if (typeof optionsOrCb !== "object")
|
|
459
|
-
throw new Error("Expect http options but get "
|
|
459
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
460
460
|
this.send(command, optionsOrCb || {}, cb);
|
|
461
461
|
}
|
|
462
462
|
else {
|
|
@@ -470,7 +470,7 @@ var Backup = (function (_super) {
|
|
|
470
470
|
}
|
|
471
471
|
else if (typeof cb === "function") {
|
|
472
472
|
if (typeof optionsOrCb !== "object")
|
|
473
|
-
throw new Error("Expect http options but get "
|
|
473
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
474
474
|
this.send(command, optionsOrCb || {}, cb);
|
|
475
475
|
}
|
|
476
476
|
else {
|
|
@@ -484,7 +484,7 @@ var Backup = (function (_super) {
|
|
|
484
484
|
}
|
|
485
485
|
else if (typeof cb === "function") {
|
|
486
486
|
if (typeof optionsOrCb !== "object")
|
|
487
|
-
throw new Error("Expect http options but get "
|
|
487
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
488
488
|
this.send(command, optionsOrCb || {}, cb);
|
|
489
489
|
}
|
|
490
490
|
else {
|
|
@@ -498,7 +498,7 @@ var Backup = (function (_super) {
|
|
|
498
498
|
}
|
|
499
499
|
else if (typeof cb === "function") {
|
|
500
500
|
if (typeof optionsOrCb !== "object")
|
|
501
|
-
throw new Error("Expect http options but get "
|
|
501
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
502
502
|
this.send(command, optionsOrCb || {}, cb);
|
|
503
503
|
}
|
|
504
504
|
else {
|
|
@@ -512,7 +512,7 @@ var Backup = (function (_super) {
|
|
|
512
512
|
}
|
|
513
513
|
else if (typeof cb === "function") {
|
|
514
514
|
if (typeof optionsOrCb !== "object")
|
|
515
|
-
throw new Error("Expect http options but get "
|
|
515
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
516
516
|
this.send(command, optionsOrCb || {}, cb);
|
|
517
517
|
}
|
|
518
518
|
else {
|
|
@@ -526,7 +526,7 @@ var Backup = (function (_super) {
|
|
|
526
526
|
}
|
|
527
527
|
else if (typeof cb === "function") {
|
|
528
528
|
if (typeof optionsOrCb !== "object")
|
|
529
|
-
throw new Error("Expect http options but get "
|
|
529
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
530
530
|
this.send(command, optionsOrCb || {}, cb);
|
|
531
531
|
}
|
|
532
532
|
else {
|
|
@@ -540,7 +540,7 @@ var Backup = (function (_super) {
|
|
|
540
540
|
}
|
|
541
541
|
else if (typeof cb === "function") {
|
|
542
542
|
if (typeof optionsOrCb !== "object")
|
|
543
|
-
throw new Error("Expect http options but get "
|
|
543
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
544
544
|
this.send(command, optionsOrCb || {}, cb);
|
|
545
545
|
}
|
|
546
546
|
else {
|
|
@@ -554,7 +554,7 @@ var Backup = (function (_super) {
|
|
|
554
554
|
}
|
|
555
555
|
else if (typeof cb === "function") {
|
|
556
556
|
if (typeof optionsOrCb !== "object")
|
|
557
|
-
throw new Error("Expect http options but get "
|
|
557
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
558
558
|
this.send(command, optionsOrCb || {}, cb);
|
|
559
559
|
}
|
|
560
560
|
else {
|
|
@@ -568,7 +568,7 @@ var Backup = (function (_super) {
|
|
|
568
568
|
}
|
|
569
569
|
else if (typeof cb === "function") {
|
|
570
570
|
if (typeof optionsOrCb !== "object")
|
|
571
|
-
throw new Error("Expect http options but get "
|
|
571
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
572
572
|
this.send(command, optionsOrCb || {}, cb);
|
|
573
573
|
}
|
|
574
574
|
else {
|
|
@@ -582,7 +582,7 @@ var Backup = (function (_super) {
|
|
|
582
582
|
}
|
|
583
583
|
else if (typeof cb === "function") {
|
|
584
584
|
if (typeof optionsOrCb !== "object")
|
|
585
|
-
throw new Error("Expect http options but get "
|
|
585
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
586
586
|
this.send(command, optionsOrCb || {}, cb);
|
|
587
587
|
}
|
|
588
588
|
else {
|
|
@@ -596,7 +596,7 @@ var Backup = (function (_super) {
|
|
|
596
596
|
}
|
|
597
597
|
else if (typeof cb === "function") {
|
|
598
598
|
if (typeof optionsOrCb !== "object")
|
|
599
|
-
throw new Error("Expect http options but get "
|
|
599
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
600
600
|
this.send(command, optionsOrCb || {}, cb);
|
|
601
601
|
}
|
|
602
602
|
else {
|
|
@@ -610,7 +610,7 @@ var Backup = (function (_super) {
|
|
|
610
610
|
}
|
|
611
611
|
else if (typeof cb === "function") {
|
|
612
612
|
if (typeof optionsOrCb !== "object")
|
|
613
|
-
throw new Error("Expect http options but get "
|
|
613
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
614
614
|
this.send(command, optionsOrCb || {}, cb);
|
|
615
615
|
}
|
|
616
616
|
else {
|
|
@@ -624,7 +624,7 @@ var Backup = (function (_super) {
|
|
|
624
624
|
}
|
|
625
625
|
else if (typeof cb === "function") {
|
|
626
626
|
if (typeof optionsOrCb !== "object")
|
|
627
|
-
throw new Error("Expect http options but get "
|
|
627
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
628
628
|
this.send(command, optionsOrCb || {}, cb);
|
|
629
629
|
}
|
|
630
630
|
else {
|
|
@@ -638,7 +638,7 @@ var Backup = (function (_super) {
|
|
|
638
638
|
}
|
|
639
639
|
else if (typeof cb === "function") {
|
|
640
640
|
if (typeof optionsOrCb !== "object")
|
|
641
|
-
throw new Error("Expect http options but get "
|
|
641
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
642
642
|
this.send(command, optionsOrCb || {}, cb);
|
|
643
643
|
}
|
|
644
644
|
else {
|
|
@@ -652,7 +652,7 @@ var Backup = (function (_super) {
|
|
|
652
652
|
}
|
|
653
653
|
else if (typeof cb === "function") {
|
|
654
654
|
if (typeof optionsOrCb !== "object")
|
|
655
|
-
throw new Error("Expect http options but get "
|
|
655
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
656
656
|
this.send(command, optionsOrCb || {}, cb);
|
|
657
657
|
}
|
|
658
658
|
else {
|
|
@@ -666,7 +666,7 @@ var Backup = (function (_super) {
|
|
|
666
666
|
}
|
|
667
667
|
else if (typeof cb === "function") {
|
|
668
668
|
if (typeof optionsOrCb !== "object")
|
|
669
|
-
throw new Error("Expect http options but get "
|
|
669
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
670
670
|
this.send(command, optionsOrCb || {}, cb);
|
|
671
671
|
}
|
|
672
672
|
else {
|
|
@@ -680,7 +680,7 @@ var Backup = (function (_super) {
|
|
|
680
680
|
}
|
|
681
681
|
else if (typeof cb === "function") {
|
|
682
682
|
if (typeof optionsOrCb !== "object")
|
|
683
|
-
throw new Error("Expect http options but get "
|
|
683
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
684
684
|
this.send(command, optionsOrCb || {}, cb);
|
|
685
685
|
}
|
|
686
686
|
else {
|
|
@@ -694,7 +694,7 @@ var Backup = (function (_super) {
|
|
|
694
694
|
}
|
|
695
695
|
else if (typeof cb === "function") {
|
|
696
696
|
if (typeof optionsOrCb !== "object")
|
|
697
|
-
throw new Error("Expect http options but get "
|
|
697
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
698
698
|
this.send(command, optionsOrCb || {}, cb);
|
|
699
699
|
}
|
|
700
700
|
else {
|
|
@@ -708,7 +708,7 @@ var Backup = (function (_super) {
|
|
|
708
708
|
}
|
|
709
709
|
else if (typeof cb === "function") {
|
|
710
710
|
if (typeof optionsOrCb !== "object")
|
|
711
|
-
throw new Error("Expect http options but get "
|
|
711
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
712
712
|
this.send(command, optionsOrCb || {}, cb);
|
|
713
713
|
}
|
|
714
714
|
else {
|
|
@@ -722,7 +722,7 @@ var Backup = (function (_super) {
|
|
|
722
722
|
}
|
|
723
723
|
else if (typeof cb === "function") {
|
|
724
724
|
if (typeof optionsOrCb !== "object")
|
|
725
|
-
throw new Error("Expect http options but get "
|
|
725
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
726
726
|
this.send(command, optionsOrCb || {}, cb);
|
|
727
727
|
}
|
|
728
728
|
else {
|
|
@@ -736,7 +736,7 @@ var Backup = (function (_super) {
|
|
|
736
736
|
}
|
|
737
737
|
else if (typeof cb === "function") {
|
|
738
738
|
if (typeof optionsOrCb !== "object")
|
|
739
|
-
throw new Error("Expect http options but get "
|
|
739
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
740
740
|
this.send(command, optionsOrCb || {}, cb);
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
@@ -750,7 +750,7 @@ var Backup = (function (_super) {
|
|
|
750
750
|
}
|
|
751
751
|
else if (typeof cb === "function") {
|
|
752
752
|
if (typeof optionsOrCb !== "object")
|
|
753
|
-
throw new Error("Expect http options but get "
|
|
753
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
754
754
|
this.send(command, optionsOrCb || {}, cb);
|
|
755
755
|
}
|
|
756
756
|
else {
|
|
@@ -764,7 +764,7 @@ var Backup = (function (_super) {
|
|
|
764
764
|
}
|
|
765
765
|
else if (typeof cb === "function") {
|
|
766
766
|
if (typeof optionsOrCb !== "object")
|
|
767
|
-
throw new Error("Expect http options but get "
|
|
767
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
768
768
|
this.send(command, optionsOrCb || {}, cb);
|
|
769
769
|
}
|
|
770
770
|
else {
|
|
@@ -778,7 +778,7 @@ var Backup = (function (_super) {
|
|
|
778
778
|
}
|
|
779
779
|
else if (typeof cb === "function") {
|
|
780
780
|
if (typeof optionsOrCb !== "object")
|
|
781
|
-
throw new Error("Expect http options but get "
|
|
781
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
782
782
|
this.send(command, optionsOrCb || {}, cb);
|
|
783
783
|
}
|
|
784
784
|
else {
|
|
@@ -792,7 +792,7 @@ var Backup = (function (_super) {
|
|
|
792
792
|
}
|
|
793
793
|
else if (typeof cb === "function") {
|
|
794
794
|
if (typeof optionsOrCb !== "object")
|
|
795
|
-
throw new Error("Expect http options but get "
|
|
795
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
796
796
|
this.send(command, optionsOrCb || {}, cb);
|
|
797
797
|
}
|
|
798
798
|
else {
|
|
@@ -806,7 +806,7 @@ var Backup = (function (_super) {
|
|
|
806
806
|
}
|
|
807
807
|
else if (typeof cb === "function") {
|
|
808
808
|
if (typeof optionsOrCb !== "object")
|
|
809
|
-
throw new Error("Expect http options but get "
|
|
809
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
810
810
|
this.send(command, optionsOrCb || {}, cb);
|
|
811
811
|
}
|
|
812
812
|
else {
|
|
@@ -820,7 +820,7 @@ var Backup = (function (_super) {
|
|
|
820
820
|
}
|
|
821
821
|
else if (typeof cb === "function") {
|
|
822
822
|
if (typeof optionsOrCb !== "object")
|
|
823
|
-
throw new Error("Expect http options but get "
|
|
823
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
824
824
|
this.send(command, optionsOrCb || {}, cb);
|
|
825
825
|
}
|
|
826
826
|
else {
|
|
@@ -834,7 +834,7 @@ var Backup = (function (_super) {
|
|
|
834
834
|
}
|
|
835
835
|
else if (typeof cb === "function") {
|
|
836
836
|
if (typeof optionsOrCb !== "object")
|
|
837
|
-
throw new Error("Expect http options but get "
|
|
837
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
838
838
|
this.send(command, optionsOrCb || {}, cb);
|
|
839
839
|
}
|
|
840
840
|
else {
|
|
@@ -848,7 +848,7 @@ var Backup = (function (_super) {
|
|
|
848
848
|
}
|
|
849
849
|
else if (typeof cb === "function") {
|
|
850
850
|
if (typeof optionsOrCb !== "object")
|
|
851
|
-
throw new Error("Expect http options but get "
|
|
851
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
852
852
|
this.send(command, optionsOrCb || {}, cb);
|
|
853
853
|
}
|
|
854
854
|
else {
|
|
@@ -862,7 +862,7 @@ var Backup = (function (_super) {
|
|
|
862
862
|
}
|
|
863
863
|
else if (typeof cb === "function") {
|
|
864
864
|
if (typeof optionsOrCb !== "object")
|
|
865
|
-
throw new Error("Expect http options but get "
|
|
865
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
866
866
|
this.send(command, optionsOrCb || {}, cb);
|
|
867
867
|
}
|
|
868
868
|
else {
|
|
@@ -876,7 +876,7 @@ var Backup = (function (_super) {
|
|
|
876
876
|
}
|
|
877
877
|
else if (typeof cb === "function") {
|
|
878
878
|
if (typeof optionsOrCb !== "object")
|
|
879
|
-
throw new Error("Expect http options but get "
|
|
879
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
880
880
|
this.send(command, optionsOrCb || {}, cb);
|
|
881
881
|
}
|
|
882
882
|
else {
|
|
@@ -890,7 +890,7 @@ var Backup = (function (_super) {
|
|
|
890
890
|
}
|
|
891
891
|
else if (typeof cb === "function") {
|
|
892
892
|
if (typeof optionsOrCb !== "object")
|
|
893
|
-
throw new Error("Expect http options but get "
|
|
893
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
894
894
|
this.send(command, optionsOrCb || {}, cb);
|
|
895
895
|
}
|
|
896
896
|
else {
|
|
@@ -904,7 +904,7 @@ var Backup = (function (_super) {
|
|
|
904
904
|
}
|
|
905
905
|
else if (typeof cb === "function") {
|
|
906
906
|
if (typeof optionsOrCb !== "object")
|
|
907
|
-
throw new Error("Expect http options but get "
|
|
907
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
908
908
|
this.send(command, optionsOrCb || {}, cb);
|
|
909
909
|
}
|
|
910
910
|
else {
|
|
@@ -918,7 +918,7 @@ var Backup = (function (_super) {
|
|
|
918
918
|
}
|
|
919
919
|
else if (typeof cb === "function") {
|
|
920
920
|
if (typeof optionsOrCb !== "object")
|
|
921
|
-
throw new Error("Expect http options but get "
|
|
921
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
922
922
|
this.send(command, optionsOrCb || {}, cb);
|
|
923
923
|
}
|
|
924
924
|
else {
|
|
@@ -932,7 +932,7 @@ var Backup = (function (_super) {
|
|
|
932
932
|
}
|
|
933
933
|
else if (typeof cb === "function") {
|
|
934
934
|
if (typeof optionsOrCb !== "object")
|
|
935
|
-
throw new Error("Expect http options but get "
|
|
935
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
936
936
|
this.send(command, optionsOrCb || {}, cb);
|
|
937
937
|
}
|
|
938
938
|
else {
|
|
@@ -946,7 +946,7 @@ var Backup = (function (_super) {
|
|
|
946
946
|
}
|
|
947
947
|
else if (typeof cb === "function") {
|
|
948
948
|
if (typeof optionsOrCb !== "object")
|
|
949
|
-
throw new Error("Expect http options but get "
|
|
949
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
950
950
|
this.send(command, optionsOrCb || {}, cb);
|
|
951
951
|
}
|
|
952
952
|
else {
|
|
@@ -960,7 +960,7 @@ var Backup = (function (_super) {
|
|
|
960
960
|
}
|
|
961
961
|
else if (typeof cb === "function") {
|
|
962
962
|
if (typeof optionsOrCb !== "object")
|
|
963
|
-
throw new Error("Expect http options but get "
|
|
963
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
964
964
|
this.send(command, optionsOrCb || {}, cb);
|
|
965
965
|
}
|
|
966
966
|
else {
|
|
@@ -974,7 +974,7 @@ var Backup = (function (_super) {
|
|
|
974
974
|
}
|
|
975
975
|
else if (typeof cb === "function") {
|
|
976
976
|
if (typeof optionsOrCb !== "object")
|
|
977
|
-
throw new Error("Expect http options but get "
|
|
977
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
978
978
|
this.send(command, optionsOrCb || {}, cb);
|
|
979
979
|
}
|
|
980
980
|
else {
|
|
@@ -988,7 +988,7 @@ var Backup = (function (_super) {
|
|
|
988
988
|
}
|
|
989
989
|
else if (typeof cb === "function") {
|
|
990
990
|
if (typeof optionsOrCb !== "object")
|
|
991
|
-
throw new Error("Expect http options but get "
|
|
991
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
992
992
|
this.send(command, optionsOrCb || {}, cb);
|
|
993
993
|
}
|
|
994
994
|
else {
|