@fonoster/ctl 0.9.21 → 0.9.22

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.
Files changed (99) hide show
  1. package/README.md +57 -57
  2. package/dist/AuthenticatedCommand.d.ts +18 -0
  3. package/dist/AuthenticatedCommand.js +1 -2
  4. package/dist/BaseCommand.d.ts +18 -0
  5. package/dist/BaseCommand.js +1 -2
  6. package/dist/Help.d.ts +18 -0
  7. package/dist/Help.js +1 -2
  8. package/dist/commands/apikeys/create.js +1 -2
  9. package/dist/commands/apikeys/delete.js +1 -2
  10. package/dist/commands/apikeys/list.js +1 -2
  11. package/dist/commands/apikeys/regenerate.js +1 -2
  12. package/dist/commands/applications/create.js +2 -3
  13. package/dist/commands/applications/delete.js +1 -2
  14. package/dist/commands/applications/get.js +1 -2
  15. package/dist/commands/applications/list.js +1 -2
  16. package/dist/commands/applications/update.js +1 -2
  17. package/dist/commands/bug.d.ts +18 -0
  18. package/dist/commands/bug.js +1 -2
  19. package/dist/commands/feedback.d.ts +18 -0
  20. package/dist/commands/feedback.js +1 -2
  21. package/dist/commands/secrets/create.js +1 -2
  22. package/dist/commands/secrets/delete.js +1 -2
  23. package/dist/commands/secrets/get.js +1 -2
  24. package/dist/commands/secrets/list.js +1 -2
  25. package/dist/commands/secrets/update.js +1 -2
  26. package/dist/commands/sipnet/acls/create.js +1 -2
  27. package/dist/commands/sipnet/acls/delete.js +1 -2
  28. package/dist/commands/sipnet/acls/get.js +1 -2
  29. package/dist/commands/sipnet/acls/list.js +1 -2
  30. package/dist/commands/sipnet/acls/update.js +1 -2
  31. package/dist/commands/sipnet/agents/create.js +1 -2
  32. package/dist/commands/sipnet/agents/delete.js +1 -2
  33. package/dist/commands/sipnet/agents/get.js +1 -2
  34. package/dist/commands/sipnet/agents/list.js +1 -2
  35. package/dist/commands/sipnet/agents/update.js +2 -3
  36. package/dist/commands/sipnet/calls/create.js +3 -4
  37. package/dist/commands/sipnet/calls/get.js +1 -2
  38. package/dist/commands/sipnet/calls/list.js +2 -3
  39. package/dist/commands/sipnet/credentials/create.js +1 -2
  40. package/dist/commands/sipnet/credentials/delete.js +1 -2
  41. package/dist/commands/sipnet/credentials/get.js +1 -2
  42. package/dist/commands/sipnet/credentials/list.js +1 -2
  43. package/dist/commands/sipnet/credentials/update.js +1 -2
  44. package/dist/commands/sipnet/domains/create.js +1 -2
  45. package/dist/commands/sipnet/domains/delete.js +1 -2
  46. package/dist/commands/sipnet/domains/get.js +1 -2
  47. package/dist/commands/sipnet/domains/list.js +1 -2
  48. package/dist/commands/sipnet/domains/update.js +1 -2
  49. package/dist/commands/sipnet/numbers/create.js +2 -3
  50. package/dist/commands/sipnet/numbers/delete.js +1 -2
  51. package/dist/commands/sipnet/numbers/get.js +1 -2
  52. package/dist/commands/sipnet/numbers/linkTwilioNumber.js +1 -2
  53. package/dist/commands/sipnet/numbers/list.js +1 -2
  54. package/dist/commands/sipnet/numbers/update.js +2 -3
  55. package/dist/commands/sipnet/trunks/create.js +1 -2
  56. package/dist/commands/sipnet/trunks/delete.js +1 -2
  57. package/dist/commands/sipnet/trunks/get.js +1 -2
  58. package/dist/commands/sipnet/trunks/list.js +1 -2
  59. package/dist/commands/sipnet/trunks/update.js +1 -2
  60. package/dist/commands/utils/autopilotTestsCases.js +5 -6
  61. package/dist/commands/workspaces/active.d.ts +18 -0
  62. package/dist/commands/workspaces/active.js +2 -3
  63. package/dist/commands/workspaces/list.d.ts +18 -0
  64. package/dist/commands/workspaces/list.js +1 -2
  65. package/dist/commands/workspaces/login.js +1 -2
  66. package/dist/commands/workspaces/logout.d.ts +18 -0
  67. package/dist/commands/workspaces/logout.js +1 -2
  68. package/dist/commands/workspaces/use.d.ts +18 -0
  69. package/dist/commands/workspaces/use.js +1 -2
  70. package/dist/config/addWorkspace.d.ts +18 -0
  71. package/dist/config/getActiveWorkspace.d.ts +18 -0
  72. package/dist/config/getConfig.js +1 -1
  73. package/dist/config/index.d.ts +18 -0
  74. package/dist/config/index.js +1 -1
  75. package/dist/config/removeWorkspace.d.ts +18 -0
  76. package/dist/config/saveConfig.js +1 -1
  77. package/dist/config/setActiveWorkspace.d.ts +18 -0
  78. package/dist/config/types.d.ts +18 -0
  79. package/dist/config/validations.d.ts +18 -0
  80. package/dist/config/validations.js +1 -1
  81. package/dist/constants.js +1 -1
  82. package/dist/errorHandler.d.ts +18 -0
  83. package/dist/errorHandler.js +1 -1
  84. package/dist/utils/assignTwilioNumberToTrunk.d.ts +18 -0
  85. package/dist/utils/calculateFutureDate.js +1 -1
  86. package/dist/utils/createTwilioTrunk.d.ts +18 -0
  87. package/dist/utils/getFonosterNumberByTelUrl.d.ts +18 -0
  88. package/dist/utils/getFonosterNumberByTelUrl.js +1 -1
  89. package/dist/utils/getFonosterTrunkByInboundUri.d.ts +18 -0
  90. package/dist/utils/getFonosterTrunkByInboundUri.js +1 -1
  91. package/dist/utils/getOutboundUri.d.ts +18 -0
  92. package/dist/utils/getTwilioNumber.d.ts +18 -0
  93. package/dist/utils/getTwilioTrunk.d.ts +18 -0
  94. package/dist/utils/index.d.ts +18 -0
  95. package/dist/utils/index.js +1 -1
  96. package/dist/utils/linkTwilioNumberToApplication.d.ts +18 -0
  97. package/dist/utils/linkTwilioNumberToApplication.js +1 -1
  98. package/dist/utils/types.d.ts +18 -0
  99. 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
  *
@@ -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.21",
3
+ "version": "0.9.22",
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": "73c14b4b4e2772e5eb367014f85100605efa5e02",
35
+ "gitHead": "3c393362218ebfdd7ec672f18553953edf37e9e3",
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.21",
57
- "@fonoster/sdk": "^0.9.20",
56
+ "@fonoster/autopilot": "^0.9.22",
57
+ "@fonoster/sdk": "^0.9.22",
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",