@routr/ctl 2.13.13 → 2.13.20
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/README.md +36 -36
- package/dist/commands/acl/create.js +18 -8
- package/dist/commands/acl/delete.js +1 -1
- package/dist/commands/acl/describe.js +1 -1
- package/dist/commands/acl/get.js +18 -8
- package/dist/commands/acl/update.js +1 -1
- package/dist/commands/agents/create.js +18 -8
- package/dist/commands/agents/delete.js +1 -1
- package/dist/commands/agents/describe.js +1 -1
- package/dist/commands/agents/get.js +18 -8
- package/dist/commands/agents/update.js +1 -1
- package/dist/commands/credentials/create.js +18 -8
- package/dist/commands/credentials/delete.js +1 -1
- package/dist/commands/credentials/describe.js +1 -1
- package/dist/commands/credentials/get.js +18 -8
- package/dist/commands/credentials/update.js +1 -1
- package/dist/commands/domains/create.js +18 -8
- package/dist/commands/domains/delete.js +1 -1
- package/dist/commands/domains/describe.js +1 -1
- package/dist/commands/domains/get.js +18 -8
- package/dist/commands/domains/update.js +1 -1
- package/dist/commands/numbers/create.js +18 -8
- package/dist/commands/numbers/delete.js +1 -1
- package/dist/commands/numbers/describe.js +1 -1
- package/dist/commands/numbers/get.js +18 -8
- package/dist/commands/numbers/update.js +1 -1
- package/dist/commands/peers/create.js +18 -8
- package/dist/commands/peers/delete.js +1 -1
- package/dist/commands/peers/describe.js +1 -1
- package/dist/commands/peers/get.js +18 -8
- package/dist/commands/peers/update.js +1 -1
- package/dist/commands/trunks/create.js +18 -8
- package/dist/commands/trunks/delete.js +1 -1
- package/dist/commands/trunks/describe.js +1 -1
- package/dist/commands/trunks/get.js +18 -8
- package/dist/commands/trunks/update.js +1 -1
- package/dist/delete.js +1 -1
- package/dist/help.js +17 -7
- package/dist/index.js +0 -1
- package/dist/utils.js +6 -6
- package/dist/validators.js +17 -18
- package/oclif.manifest.json +1 -1
- package/package.json +10 -10
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
/*
|
|
27
37
|
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|
|
@@ -87,7 +97,6 @@ class GetCommand extends base_1.BaseCommand {
|
|
|
87
97
|
throw new errors_1.CLIError(error.message);
|
|
88
98
|
}
|
|
89
99
|
}
|
|
90
|
-
exports.default = GetCommand;
|
|
91
100
|
GetCommand.description = "Shows a list of paginated Credentials or a single set if ref is provided";
|
|
92
101
|
GetCommand.examples = [
|
|
93
102
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -113,3 +122,4 @@ GetCommand.args = [
|
|
|
113
122
|
description: "optional reference to a set of Credentials"
|
|
114
123
|
}
|
|
115
124
|
];
|
|
125
|
+
exports.default = GetCommand;
|
|
@@ -81,7 +81,6 @@ class UpdateCommand extends base_1.BaseCommand {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
exports.default = UpdateCommand;
|
|
85
84
|
UpdateCommand.description = "Updates an existing set of Credentials";
|
|
86
85
|
UpdateCommand.examples = [
|
|
87
86
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -95,3 +94,4 @@ UpdateCommand.args = [
|
|
|
95
94
|
description: "reference to an existing set of Credentials"
|
|
96
95
|
}
|
|
97
96
|
];
|
|
97
|
+
exports.default = UpdateCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -184,10 +194,10 @@ class CreateCommand extends base_1.BaseCommand {
|
|
|
184
194
|
}
|
|
185
195
|
}
|
|
186
196
|
}
|
|
187
|
-
exports.default = CreateCommand;
|
|
188
197
|
CreateCommand.description = "Creates a new set Domain";
|
|
189
198
|
CreateCommand.examples = [
|
|
190
199
|
`<%= config.bin %> <%= command.id %>
|
|
191
200
|
Creating Domain Local Domain... b148b4b4-6884-4c06-bb7e-bd098f5fe793
|
|
192
201
|
`
|
|
193
202
|
];
|
|
203
|
+
exports.default = CreateCommand;
|
|
@@ -31,10 +31,10 @@ class DeleteDomainCommand extends delete_1.default {
|
|
|
31
31
|
await super.deleteResource(new sdk_1.default.Domains({ endpoint, insecure, cacert }), "deleteDomain");
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
exports.default = DeleteDomainCommand;
|
|
35
34
|
DeleteDomainCommand.description = "Deletes a Domain";
|
|
36
35
|
DeleteDomainCommand.examples = [
|
|
37
36
|
`<%= config.bin %> <%= command.id %>
|
|
38
37
|
Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
|
|
39
38
|
`
|
|
40
39
|
];
|
|
40
|
+
exports.default = DeleteDomainCommand;
|
|
@@ -68,7 +68,6 @@ class DescribeCommand extends base_1.BaseCommand {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
exports.default = DescribeCommand;
|
|
72
71
|
DescribeCommand.description = "show details of a Domain";
|
|
73
72
|
DescribeCommand.args = [
|
|
74
73
|
{
|
|
@@ -77,3 +76,4 @@ DescribeCommand.args = [
|
|
|
77
76
|
description: "reference to the Domain"
|
|
78
77
|
}
|
|
79
78
|
];
|
|
79
|
+
exports.default = DescribeCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
/*
|
|
27
37
|
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|
|
@@ -94,7 +104,6 @@ class GetDomainsCommand extends base_1.BaseCommand {
|
|
|
94
104
|
throw new errors_1.CLIError(error.message);
|
|
95
105
|
}
|
|
96
106
|
}
|
|
97
|
-
exports.default = GetDomainsCommand;
|
|
98
107
|
GetDomainsCommand.description = "Shows a list of paginated Domains or a single Domain if ref is provided";
|
|
99
108
|
GetDomainsCommand.examples = [
|
|
100
109
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -120,3 +129,4 @@ GetDomainsCommand.args = [
|
|
|
120
129
|
description: "optional reference to a Domain"
|
|
121
130
|
}
|
|
122
131
|
];
|
|
132
|
+
exports.default = GetDomainsCommand;
|
|
@@ -153,7 +153,6 @@ class UpdateCommand extends base_1.BaseCommand {
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
exports.default = UpdateCommand;
|
|
157
156
|
UpdateCommand.description = "Updates an existing Domain";
|
|
158
157
|
UpdateCommand.examples = [
|
|
159
158
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -167,3 +166,4 @@ UpdateCommand.args = [
|
|
|
167
166
|
description: "reference to an existing Domain"
|
|
168
167
|
}
|
|
169
168
|
];
|
|
169
|
+
exports.default = UpdateCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -167,10 +177,10 @@ class CreateNumberCommand extends base_1.BaseCommand {
|
|
|
167
177
|
}
|
|
168
178
|
}
|
|
169
179
|
}
|
|
170
|
-
exports.default = CreateNumberCommand;
|
|
171
180
|
CreateNumberCommand.description = "Creates a new Number";
|
|
172
181
|
CreateNumberCommand.examples = [
|
|
173
182
|
`<%= config.bin %> <%= command.id %>
|
|
174
183
|
Creating Number (784) 317-8170... a134487f-a668-4509-9ddd-dcbc98175468
|
|
175
184
|
`
|
|
176
185
|
];
|
|
186
|
+
exports.default = CreateNumberCommand;
|
|
@@ -31,10 +31,10 @@ class DeleteNumberCommand extends delete_1.default {
|
|
|
31
31
|
await super.deleteResource(new sdk_1.default.Numbers({ endpoint, insecure, cacert }), "deleteNumber");
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
exports.default = DeleteNumberCommand;
|
|
35
34
|
DeleteNumberCommand.description = "Deletes a Number";
|
|
36
35
|
DeleteNumberCommand.examples = [
|
|
37
36
|
`<%= config.bin %> <%= command.id %>
|
|
38
37
|
Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
|
|
39
38
|
`
|
|
40
39
|
];
|
|
40
|
+
exports.default = DeleteNumberCommand;
|
|
@@ -61,7 +61,6 @@ class DescribeCommand extends base_1.BaseCommand {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
exports.default = DescribeCommand;
|
|
65
64
|
DescribeCommand.description = "shows details for a Number";
|
|
66
65
|
DescribeCommand.args = [
|
|
67
66
|
{
|
|
@@ -70,3 +69,4 @@ DescribeCommand.args = [
|
|
|
70
69
|
description: "reference to the Number"
|
|
71
70
|
}
|
|
72
71
|
];
|
|
72
|
+
exports.default = DescribeCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
/*
|
|
27
37
|
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|
|
@@ -99,7 +109,6 @@ class GetNumbersCommand extends base_1.BaseCommand {
|
|
|
99
109
|
throw new errors_1.CLIError(error.message);
|
|
100
110
|
}
|
|
101
111
|
}
|
|
102
|
-
exports.default = GetNumbersCommand;
|
|
103
112
|
GetNumbersCommand.description = "Shows a list of paginated Numbers or a single Number if ref is provided";
|
|
104
113
|
GetNumbersCommand.examples = [
|
|
105
114
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -125,3 +134,4 @@ GetNumbersCommand.args = [
|
|
|
125
134
|
description: "optional reference to a Number"
|
|
126
135
|
}
|
|
127
136
|
];
|
|
137
|
+
exports.default = GetNumbersCommand;
|
|
@@ -117,7 +117,6 @@ class UpdateCommand extends base_1.BaseCommand {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
exports.default = UpdateCommand;
|
|
121
120
|
UpdateCommand.description = "Updates an existing set of Credentials";
|
|
122
121
|
UpdateCommand.examples = [
|
|
123
122
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -131,3 +130,4 @@ UpdateCommand.args = [
|
|
|
131
130
|
description: "reference to an existing Number"
|
|
132
131
|
}
|
|
133
132
|
];
|
|
133
|
+
exports.default = UpdateCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -188,10 +198,10 @@ class CreateCommand extends base_1.BaseCommand {
|
|
|
188
198
|
}
|
|
189
199
|
}
|
|
190
200
|
}
|
|
191
|
-
exports.default = CreateCommand;
|
|
192
201
|
CreateCommand.description = "Creates a new Peer";
|
|
193
202
|
CreateCommand.examples = [
|
|
194
203
|
`<%= config.bin %> <%= command.id %>
|
|
195
204
|
Creating Peer Asterisk Conference... b148b4b4-6884-4c06-bb7e-bd098f5fe793
|
|
196
205
|
`
|
|
197
206
|
];
|
|
207
|
+
exports.default = CreateCommand;
|
|
@@ -31,10 +31,10 @@ class DeletePeerCommand extends delete_1.default {
|
|
|
31
31
|
await super.deleteResource(new sdk_1.default.Peers({ endpoint, insecure, cacert }), "deletePeer");
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
exports.default = DeletePeerCommand;
|
|
35
34
|
DeletePeerCommand.description = "Deletes a Peer";
|
|
36
35
|
DeletePeerCommand.examples = [
|
|
37
36
|
`<%= config.bin %> <%= command.id %>
|
|
38
37
|
Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
|
|
39
38
|
`
|
|
40
39
|
];
|
|
40
|
+
exports.default = DeletePeerCommand;
|
|
@@ -71,7 +71,6 @@ class DescribeCommand extends base_1.BaseCommand {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
exports.default = DescribeCommand;
|
|
75
74
|
DescribeCommand.description = "shows details for a Peer";
|
|
76
75
|
DescribeCommand.args = [
|
|
77
76
|
{
|
|
@@ -80,3 +79,4 @@ DescribeCommand.args = [
|
|
|
80
79
|
description: "reference to the Peer"
|
|
81
80
|
}
|
|
82
81
|
];
|
|
82
|
+
exports.default = DescribeCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
/*
|
|
27
37
|
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|
|
@@ -102,7 +112,6 @@ class GetCommand extends base_1.BaseCommand {
|
|
|
102
112
|
throw new errors_1.CLIError(error.message);
|
|
103
113
|
}
|
|
104
114
|
}
|
|
105
|
-
exports.default = GetCommand;
|
|
106
115
|
GetCommand.description = "Shows a list of paginated Peers or a single Peer if ref is provided";
|
|
107
116
|
GetCommand.examples = [
|
|
108
117
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -128,3 +137,4 @@ GetCommand.args = [
|
|
|
128
137
|
description: "optional reference to a Peer"
|
|
129
138
|
}
|
|
130
139
|
];
|
|
140
|
+
exports.default = GetCommand;
|
|
@@ -157,7 +157,6 @@ class UpdatePeerCommand extends base_1.BaseCommand {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
exports.default = UpdatePeerCommand;
|
|
161
160
|
UpdatePeerCommand.description = "Updates an existing Peer";
|
|
162
161
|
UpdatePeerCommand.examples = [
|
|
163
162
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -171,3 +170,4 @@ UpdatePeerCommand.args = [
|
|
|
171
170
|
description: "reference to an existing Peer"
|
|
172
171
|
}
|
|
173
172
|
];
|
|
173
|
+
exports.default = UpdatePeerCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -226,10 +236,10 @@ class CreateTrunkCommand extends base_1.BaseCommand {
|
|
|
226
236
|
}
|
|
227
237
|
}
|
|
228
238
|
}
|
|
229
|
-
exports.default = CreateTrunkCommand;
|
|
230
239
|
CreateTrunkCommand.description = "Creates a new Trunk";
|
|
231
240
|
CreateTrunkCommand.examples = [
|
|
232
241
|
`<%= config.bin %> <%= command.id %>
|
|
233
242
|
Creating Trunk T01... b148b4b4-6884-4c06-bb7e-bd098f5fe793
|
|
234
243
|
`
|
|
235
244
|
];
|
|
245
|
+
exports.default = CreateTrunkCommand;
|
|
@@ -31,10 +31,10 @@ class DeleteTrunkCommand extends delete_1.default {
|
|
|
31
31
|
await super.deleteResource(new sdk_1.default.Trunks({ endpoint, insecure, cacert }), "deleteTrunk");
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
exports.default = DeleteTrunkCommand;
|
|
35
34
|
DeleteTrunkCommand.description = "Deletes a Trunk";
|
|
36
35
|
DeleteTrunkCommand.examples = [
|
|
37
36
|
`<%= config.bin %> <%= command.id %>
|
|
38
37
|
Deleting item 80181ca6-d4aa-4575-9375-8f72b071111... Done
|
|
39
38
|
`
|
|
40
39
|
];
|
|
40
|
+
exports.default = DeleteTrunkCommand;
|
|
@@ -74,7 +74,6 @@ class DescribeCommand extends base_1.BaseCommand {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
exports.default = DescribeCommand;
|
|
78
77
|
DescribeCommand.description = "shows details for a Trunk";
|
|
79
78
|
DescribeCommand.args = [
|
|
80
79
|
{
|
|
@@ -83,3 +82,4 @@ DescribeCommand.args = [
|
|
|
83
82
|
description: "reference to the Trunk"
|
|
84
83
|
}
|
|
85
84
|
];
|
|
85
|
+
exports.default = DescribeCommand;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
/*
|
|
27
37
|
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|
|
@@ -90,7 +100,6 @@ class GetTrunksCommand extends base_1.BaseCommand {
|
|
|
90
100
|
throw new errors_1.CLIError(error.message);
|
|
91
101
|
}
|
|
92
102
|
}
|
|
93
|
-
exports.default = GetTrunksCommand;
|
|
94
103
|
GetTrunksCommand.description = "Shows a list of paginated Trunks or a single Trunk if ref is provided";
|
|
95
104
|
GetTrunksCommand.examples = [
|
|
96
105
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -116,3 +125,4 @@ GetTrunksCommand.args = [
|
|
|
116
125
|
description: "optional reference to a Trunk"
|
|
117
126
|
}
|
|
118
127
|
];
|
|
128
|
+
exports.default = GetTrunksCommand;
|
|
@@ -205,7 +205,6 @@ class UpdateCommand extends base_1.BaseCommand {
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
exports.default = UpdateCommand;
|
|
209
208
|
UpdateCommand.description = "Updates an existing Trunk";
|
|
210
209
|
UpdateCommand.examples = [
|
|
211
210
|
`<%= config.bin %> <%= command.id %>
|
|
@@ -219,3 +218,4 @@ UpdateCommand.args = [
|
|
|
219
218
|
description: "reference to an existing Trunk"
|
|
220
219
|
}
|
|
221
220
|
];
|
|
221
|
+
exports.default = UpdateCommand;
|
package/dist/delete.js
CHANGED
package/dist/help.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
/*
|
|
27
37
|
* Copyright (C) 2024 by Fonoster Inc (https://fonoster.com)
|