@fonoster/ctl 0.9.21 → 0.9.23
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 +57 -57
- package/dist/AuthenticatedCommand.d.ts +18 -0
- package/dist/AuthenticatedCommand.js +1 -2
- package/dist/BaseCommand.d.ts +18 -0
- package/dist/BaseCommand.js +1 -2
- package/dist/Help.d.ts +18 -0
- package/dist/Help.js +1 -2
- package/dist/commands/apikeys/create.js +1 -2
- package/dist/commands/apikeys/delete.js +1 -2
- package/dist/commands/apikeys/list.js +1 -2
- package/dist/commands/apikeys/regenerate.js +1 -2
- package/dist/commands/applications/create.js +2 -3
- package/dist/commands/applications/delete.js +1 -2
- package/dist/commands/applications/get.js +1 -2
- package/dist/commands/applications/list.js +1 -2
- package/dist/commands/applications/update.js +1 -2
- package/dist/commands/bug.d.ts +18 -0
- package/dist/commands/bug.js +1 -2
- package/dist/commands/feedback.d.ts +18 -0
- package/dist/commands/feedback.js +1 -2
- package/dist/commands/secrets/create.js +1 -2
- package/dist/commands/secrets/delete.js +1 -2
- package/dist/commands/secrets/get.js +1 -2
- package/dist/commands/secrets/list.js +1 -2
- package/dist/commands/secrets/update.js +1 -2
- package/dist/commands/sipnet/acls/create.js +1 -2
- package/dist/commands/sipnet/acls/delete.js +1 -2
- package/dist/commands/sipnet/acls/get.js +1 -2
- package/dist/commands/sipnet/acls/list.js +1 -2
- package/dist/commands/sipnet/acls/update.js +1 -2
- package/dist/commands/sipnet/agents/create.js +1 -2
- package/dist/commands/sipnet/agents/delete.js +1 -2
- package/dist/commands/sipnet/agents/get.js +1 -2
- package/dist/commands/sipnet/agents/list.js +1 -2
- package/dist/commands/sipnet/agents/update.js +2 -3
- package/dist/commands/sipnet/calls/create.js +3 -4
- package/dist/commands/sipnet/calls/get.js +1 -2
- package/dist/commands/sipnet/calls/list.js +2 -3
- package/dist/commands/sipnet/credentials/create.js +1 -2
- package/dist/commands/sipnet/credentials/delete.js +1 -2
- package/dist/commands/sipnet/credentials/get.js +1 -2
- package/dist/commands/sipnet/credentials/list.js +1 -2
- package/dist/commands/sipnet/credentials/update.js +1 -2
- package/dist/commands/sipnet/domains/create.js +1 -2
- package/dist/commands/sipnet/domains/delete.js +1 -2
- package/dist/commands/sipnet/domains/get.js +1 -2
- package/dist/commands/sipnet/domains/list.js +1 -2
- package/dist/commands/sipnet/domains/update.js +1 -2
- package/dist/commands/sipnet/numbers/create.js +2 -3
- package/dist/commands/sipnet/numbers/delete.js +1 -2
- package/dist/commands/sipnet/numbers/get.js +1 -2
- package/dist/commands/sipnet/numbers/linkTwilioNumber.js +1 -2
- package/dist/commands/sipnet/numbers/list.js +1 -2
- package/dist/commands/sipnet/numbers/update.js +2 -3
- package/dist/commands/sipnet/trunks/create.js +1 -2
- package/dist/commands/sipnet/trunks/delete.js +1 -2
- package/dist/commands/sipnet/trunks/get.js +1 -2
- package/dist/commands/sipnet/trunks/list.js +1 -2
- package/dist/commands/sipnet/trunks/update.js +1 -2
- package/dist/commands/utils/autopilotTestsCases.js +5 -6
- package/dist/commands/workspaces/active.d.ts +18 -0
- package/dist/commands/workspaces/active.js +2 -3
- package/dist/commands/workspaces/list.d.ts +18 -0
- package/dist/commands/workspaces/list.js +1 -2
- package/dist/commands/workspaces/login.js +1 -2
- package/dist/commands/workspaces/logout.d.ts +18 -0
- package/dist/commands/workspaces/logout.js +1 -2
- package/dist/commands/workspaces/use.d.ts +18 -0
- package/dist/commands/workspaces/use.js +1 -2
- package/dist/config/addWorkspace.d.ts +18 -0
- package/dist/config/getActiveWorkspace.d.ts +18 -0
- package/dist/config/getConfig.js +1 -1
- package/dist/config/index.d.ts +18 -0
- package/dist/config/index.js +1 -1
- package/dist/config/removeWorkspace.d.ts +18 -0
- package/dist/config/saveConfig.js +1 -1
- package/dist/config/setActiveWorkspace.d.ts +18 -0
- package/dist/config/types.d.ts +18 -0
- package/dist/config/validations.d.ts +18 -0
- package/dist/config/validations.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/errorHandler.d.ts +18 -0
- package/dist/errorHandler.js +1 -1
- package/dist/utils/assignTwilioNumberToTrunk.d.ts +18 -0
- package/dist/utils/calculateFutureDate.js +1 -1
- package/dist/utils/createTwilioTrunk.d.ts +18 -0
- package/dist/utils/getFonosterNumberByTelUrl.d.ts +18 -0
- package/dist/utils/getFonosterNumberByTelUrl.js +1 -1
- package/dist/utils/getFonosterTrunkByInboundUri.d.ts +18 -0
- package/dist/utils/getFonosterTrunkByInboundUri.js +1 -1
- package/dist/utils/getOutboundUri.d.ts +18 -0
- package/dist/utils/getTwilioNumber.d.ts +18 -0
- package/dist/utils/getTwilioTrunk.d.ts +18 -0
- package/dist/utils/index.d.ts +18 -0
- package/dist/utils/index.js +1 -1
- package/dist/utils/linkTwilioNumberToApplication.d.ts +18 -0
- package/dist/utils/linkTwilioNumberToApplication.js +1 -1
- package/dist/utils/types.d.ts +18 -0
- package/package.json +4 -4
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
3
|
+
* http://github.com/fonoster/fonoster
|
|
4
|
+
*
|
|
5
|
+
* This file is part of Fonoster
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the MIT License (the "License");
|
|
8
|
+
* you may not use this file except in compliance with
|
|
9
|
+
* the License. You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://opensource.org/licenses/MIT
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
import * as Fonoster from "@fonoster/sdk";
|
|
2
20
|
import { Twilio } from "twilio";
|
|
3
21
|
import { LinkTwilioNumberToApplicationParams } from ".";
|
|
@@ -46,7 +46,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
48
|
exports.linkTwilioNumberToApplication = linkTwilioNumberToApplication;
|
|
49
|
-
|
|
49
|
+
/**
|
|
50
50
|
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
51
51
|
* http://github.com/fonoster/fonoster
|
|
52
52
|
*
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
3
|
+
* http://github.com/fonoster/fonoster
|
|
4
|
+
*
|
|
5
|
+
* This file is part of Fonoster
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the MIT License (the "License");
|
|
8
|
+
* you may not use this file except in compliance with
|
|
9
|
+
* the License. You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* https://opensource.org/licenses/MIT
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
1
19
|
type LinkTwilioNumberToApplicationParams = {
|
|
2
20
|
phoneNumber: string;
|
|
3
21
|
accessKeyId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.23",
|
|
4
4
|
"description": "Fonoster Control Tool",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "32d7a9e95172b4e6e10cc549aec6bc5894f09ee7",
|
|
36
36
|
"bin": {
|
|
37
37
|
"fonoster": "./bin/run.js"
|
|
38
38
|
},
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@fonoster/autopilot": "^0.9.
|
|
57
|
-
"@fonoster/sdk": "^0.9.
|
|
56
|
+
"@fonoster/autopilot": "^0.9.23",
|
|
57
|
+
"@fonoster/sdk": "^0.9.23",
|
|
58
58
|
"@inquirer/prompts": "^7.1.0",
|
|
59
59
|
"@oclif/core": "^4.0.34",
|
|
60
60
|
"@oclif/plugin-warn-if-update-available": "^3.1.28",
|