@bussolabs/closeyourit-cli 0.0.16 → 0.0.18

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 (176) hide show
  1. package/README.md +81 -2
  2. package/dist/commands/agents/assign.d.ts +13 -0
  3. package/dist/commands/agents/assign.js +25 -0
  4. package/dist/commands/agents/create.d.ts +22 -0
  5. package/dist/commands/agents/create.js +58 -0
  6. package/dist/commands/agents/delete.d.ts +12 -0
  7. package/dist/commands/agents/delete.js +25 -0
  8. package/dist/commands/agents/list.d.ts +10 -0
  9. package/dist/commands/agents/list.js +34 -0
  10. package/dist/commands/agents/runs/list.d.ts +12 -0
  11. package/dist/commands/agents/runs/list.js +32 -0
  12. package/dist/commands/agents/runs/show.d.ts +10 -0
  13. package/dist/commands/agents/runs/show.js +21 -0
  14. package/dist/commands/agents/show.d.ts +9 -0
  15. package/dist/commands/agents/show.js +20 -0
  16. package/dist/commands/agents/update.d.ts +23 -0
  17. package/dist/commands/agents/update.js +59 -0
  18. package/dist/commands/alerts/notifications/delete.d.ts +12 -0
  19. package/dist/commands/alerts/notifications/delete.js +25 -0
  20. package/dist/commands/alerts/notifications/list.d.ts +9 -0
  21. package/dist/commands/alerts/notifications/list.js +29 -0
  22. package/dist/commands/alerts/notifications/read-all.d.ts +6 -0
  23. package/dist/commands/alerts/notifications/read-all.js +15 -0
  24. package/dist/commands/alerts/notifications/read.d.ts +9 -0
  25. package/dist/commands/alerts/notifications/read.js +22 -0
  26. package/dist/commands/alerts/preferences/show.d.ts +6 -0
  27. package/dist/commands/alerts/preferences/show.js +16 -0
  28. package/dist/commands/alerts/preferences/update.d.ts +20 -0
  29. package/dist/commands/alerts/preferences/update.js +63 -0
  30. package/dist/commands/analytics/goals/create.d.ts +13 -0
  31. package/dist/commands/analytics/goals/create.js +35 -0
  32. package/dist/commands/analytics/goals/delete.d.ts +13 -0
  33. package/dist/commands/analytics/goals/delete.js +27 -0
  34. package/dist/commands/analytics/goals/list.d.ts +9 -0
  35. package/dist/commands/analytics/goals/list.js +25 -0
  36. package/dist/commands/analytics/share.d.ts +10 -0
  37. package/dist/commands/analytics/share.js +30 -0
  38. package/dist/commands/analytics/show.d.ts +11 -0
  39. package/dist/commands/analytics/show.js +32 -0
  40. package/dist/commands/analytics/unshare.d.ts +10 -0
  41. package/dist/commands/analytics/unshare.js +24 -0
  42. package/dist/commands/cron-monitors/list.d.ts +11 -0
  43. package/dist/commands/cron-monitors/list.js +38 -0
  44. package/dist/commands/cron-monitors/show.d.ts +9 -0
  45. package/dist/commands/cron-monitors/show.js +20 -0
  46. package/dist/commands/groups/create.d.ts +1 -0
  47. package/dist/commands/groups/create.js +7 -0
  48. package/dist/commands/groups/update.d.ts +1 -0
  49. package/dist/commands/groups/update.js +8 -1
  50. package/dist/commands/ideas/archive.d.ts +12 -0
  51. package/dist/commands/ideas/archive.js +24 -0
  52. package/dist/commands/ideas/case-delete.d.ts +14 -0
  53. package/dist/commands/ideas/case-delete.js +30 -0
  54. package/dist/commands/ideas/case-update.d.ts +15 -0
  55. package/dist/commands/ideas/case-update.js +41 -0
  56. package/dist/commands/ideas/delete.d.ts +13 -0
  57. package/dist/commands/ideas/delete.js +27 -0
  58. package/dist/commands/ideas/unarchive.d.ts +12 -0
  59. package/dist/commands/ideas/unarchive.js +24 -0
  60. package/dist/commands/logs/link.d.ts +12 -0
  61. package/dist/commands/logs/link.js +33 -0
  62. package/dist/commands/logs/show.d.ts +9 -0
  63. package/dist/commands/logs/show.js +21 -0
  64. package/dist/commands/logs/unlink.d.ts +13 -0
  65. package/dist/commands/logs/unlink.js +26 -0
  66. package/dist/commands/members/remove.d.ts +12 -0
  67. package/dist/commands/members/remove.js +27 -0
  68. package/dist/commands/members/set-access.d.ts +4 -0
  69. package/dist/commands/members/set-access.js +38 -4
  70. package/dist/commands/members/update.d.ts +14 -0
  71. package/dist/commands/members/update.js +40 -0
  72. package/dist/commands/monitors/announcements/clear.d.ts +13 -0
  73. package/dist/commands/monitors/announcements/clear.js +27 -0
  74. package/dist/commands/monitors/announcements/set.d.ts +17 -0
  75. package/dist/commands/monitors/announcements/set.js +45 -0
  76. package/dist/commands/monitors/announcements/show.d.ts +12 -0
  77. package/dist/commands/monitors/announcements/show.js +24 -0
  78. package/dist/commands/monitors/create.d.ts +1 -0
  79. package/dist/commands/monitors/create.js +3 -0
  80. package/dist/commands/monitors/incidents/delete.d.ts +14 -0
  81. package/dist/commands/monitors/incidents/delete.js +28 -0
  82. package/dist/commands/monitors/incidents/group.d.ts +15 -0
  83. package/dist/commands/monitors/incidents/group.js +38 -0
  84. package/dist/commands/monitors/incidents/ungroup.d.ts +14 -0
  85. package/dist/commands/monitors/incidents/ungroup.js +31 -0
  86. package/dist/commands/monitors/incidents/update-add.d.ts +15 -0
  87. package/dist/commands/monitors/incidents/update-add.js +38 -0
  88. package/dist/commands/monitors/incidents/update-delete.d.ts +15 -0
  89. package/dist/commands/monitors/incidents/update-delete.js +31 -0
  90. package/dist/commands/monitors/publish.d.ts +12 -0
  91. package/dist/commands/monitors/publish.js +21 -0
  92. package/dist/commands/monitors/unpublish.d.ts +12 -0
  93. package/dist/commands/monitors/unpublish.js +21 -0
  94. package/dist/commands/monitors/update.d.ts +1 -0
  95. package/dist/commands/monitors/update.js +3 -0
  96. package/dist/commands/org/update.d.ts +2 -0
  97. package/dist/commands/org/update.js +10 -0
  98. package/dist/commands/platforms/create.d.ts +1 -0
  99. package/dist/commands/platforms/create.js +7 -0
  100. package/dist/commands/platforms/update.d.ts +1 -0
  101. package/dist/commands/platforms/update.js +8 -1
  102. package/dist/commands/projects/create.d.ts +2 -0
  103. package/dist/commands/projects/create.js +13 -0
  104. package/dist/commands/projects/link-server.d.ts +11 -0
  105. package/dist/commands/projects/link-server.js +33 -0
  106. package/dist/commands/projects/settings/show.d.ts +9 -0
  107. package/dist/commands/projects/settings/show.js +23 -0
  108. package/dist/commands/projects/settings/update.d.ts +14 -0
  109. package/dist/commands/projects/settings/update.js +50 -0
  110. package/dist/commands/projects/unlink-server.d.ts +13 -0
  111. package/dist/commands/projects/unlink-server.js +29 -0
  112. package/dist/commands/projects/update.d.ts +2 -0
  113. package/dist/commands/projects/update.js +14 -1
  114. package/dist/commands/releases/list.d.ts +10 -0
  115. package/dist/commands/releases/list.js +29 -0
  116. package/dist/commands/tickets/links.d.ts +12 -0
  117. package/dist/commands/tickets/links.js +33 -0
  118. package/dist/commands/tickets/reviewer.d.ts +13 -0
  119. package/dist/commands/tickets/reviewer.js +29 -0
  120. package/dist/commands/tickets/unlink.d.ts +14 -0
  121. package/dist/commands/tickets/unlink.js +29 -0
  122. package/dist/commands/tickets/unreviewer.d.ts +12 -0
  123. package/dist/commands/tickets/unreviewer.js +25 -0
  124. package/dist/commands/tickets/unwatch.d.ts +12 -0
  125. package/dist/commands/tickets/unwatch.js +25 -0
  126. package/dist/commands/tickets/watch.d.ts +12 -0
  127. package/dist/commands/tickets/watch.js +26 -0
  128. package/dist/commands/todos/complete.d.ts +10 -0
  129. package/dist/commands/todos/complete.js +23 -0
  130. package/dist/commands/todos/create.d.ts +10 -0
  131. package/dist/commands/todos/create.js +29 -0
  132. package/dist/commands/todos/delete.d.ts +12 -0
  133. package/dist/commands/todos/delete.js +25 -0
  134. package/dist/commands/todos/items/add.d.ts +14 -0
  135. package/dist/commands/todos/items/add.js +35 -0
  136. package/dist/commands/todos/items/delete.d.ts +13 -0
  137. package/dist/commands/todos/items/delete.js +26 -0
  138. package/dist/commands/todos/items/list.d.ts +12 -0
  139. package/dist/commands/todos/items/list.js +28 -0
  140. package/dist/commands/todos/items/update.d.ts +15 -0
  141. package/dist/commands/todos/items/update.js +38 -0
  142. package/dist/commands/todos/list.d.ts +9 -0
  143. package/dist/commands/todos/list.js +24 -0
  144. package/dist/commands/todos/reorder.d.ts +9 -0
  145. package/dist/commands/todos/reorder.js +19 -0
  146. package/dist/commands/todos/share.d.ts +12 -0
  147. package/dist/commands/todos/share.js +33 -0
  148. package/dist/commands/todos/shared-show.d.ts +9 -0
  149. package/dist/commands/todos/shared-show.js +20 -0
  150. package/dist/commands/todos/shared.d.ts +9 -0
  151. package/dist/commands/todos/shared.js +25 -0
  152. package/dist/commands/todos/shares.d.ts +9 -0
  153. package/dist/commands/todos/shares.js +26 -0
  154. package/dist/commands/todos/show.d.ts +9 -0
  155. package/dist/commands/todos/show.js +20 -0
  156. package/dist/commands/todos/uncomplete.d.ts +10 -0
  157. package/dist/commands/todos/uncomplete.js +23 -0
  158. package/dist/commands/todos/update.d.ts +13 -0
  159. package/dist/commands/todos/update.js +34 -0
  160. package/dist/commands/uptime-groups/create.d.ts +12 -0
  161. package/dist/commands/uptime-groups/create.js +35 -0
  162. package/dist/commands/uptime-groups/delete.d.ts +12 -0
  163. package/dist/commands/uptime-groups/delete.js +25 -0
  164. package/dist/commands/uptime-groups/list.d.ts +9 -0
  165. package/dist/commands/uptime-groups/list.js +24 -0
  166. package/dist/commands/uptime-groups/publish.d.ts +9 -0
  167. package/dist/commands/uptime-groups/publish.js +22 -0
  168. package/dist/commands/uptime-groups/show.d.ts +9 -0
  169. package/dist/commands/uptime-groups/show.js +20 -0
  170. package/dist/commands/uptime-groups/unpublish.d.ts +9 -0
  171. package/dist/commands/uptime-groups/unpublish.js +22 -0
  172. package/dist/commands/uptime-groups/update.d.ts +15 -0
  173. package/dist/commands/uptime-groups/update.js +37 -0
  174. package/oclif.manifest.json +6389 -2226
  175. package/opencli.json +3003 -83
  176. package/package.json +16 -1
@@ -0,0 +1,9 @@
1
+ import { BaseCommand } from '../../base';
2
+ export default class UptimeGroupsShow extends BaseCommand {
3
+ static description: string;
4
+ static examples: string[];
5
+ static args: {
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
+ };
8
+ run(): Promise<unknown>;
9
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ const base_1 = require("../../base");
5
+ const output_1 = require("../../lib/output");
6
+ class UptimeGroupsShow extends base_1.BaseCommand {
7
+ static description = 'Show an uptime monitor group';
8
+ static examples = ['<%= config.bin %> uptime-groups show <group-id>'];
9
+ static args = {
10
+ id: core_1.Args.string({ description: 'Uptime group id', required: true }),
11
+ };
12
+ async run() {
13
+ const { args } = await this.parse(UptimeGroupsShow);
14
+ const res = await this.api.get(`/cli/v1/uptime_groups/${args.id}`);
15
+ if (!this.jsonEnabled())
16
+ this.log((0, output_1.renderRecord)(res.data ?? {}));
17
+ return res;
18
+ }
19
+ }
20
+ exports.default = UptimeGroupsShow;
@@ -0,0 +1,9 @@
1
+ import { BaseCommand } from '../../base';
2
+ export default class UptimeGroupsUnpublish extends BaseCommand {
3
+ static description: string;
4
+ static examples: string[];
5
+ static args: {
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
+ };
8
+ run(): Promise<unknown>;
9
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ const base_1 = require("../../base");
5
+ const output_1 = require("../../lib/output");
6
+ class UptimeGroupsUnpublish extends base_1.BaseCommand {
7
+ static description = 'Unpublish (retract) the public status page for an uptime group';
8
+ static examples = ['<%= config.bin %> uptime-groups unpublish <group-id>'];
9
+ static args = {
10
+ id: core_1.Args.string({ description: 'Uptime group id', required: true }),
11
+ };
12
+ async run() {
13
+ const { args } = await this.parse(UptimeGroupsUnpublish);
14
+ const res = await this.api.delete(`/cli/v1/uptime_groups/${args.id}/publication`);
15
+ if (!this.jsonEnabled()) {
16
+ this.log(`Unpublished the public status page for uptime group ${args.id}:`);
17
+ this.log((0, output_1.renderRecord)(res.data ?? {}));
18
+ }
19
+ return res;
20
+ }
21
+ }
22
+ exports.default = UptimeGroupsUnpublish;
@@ -0,0 +1,15 @@
1
+ import { BaseCommand } from '../../base';
2
+ export default class UptimeGroupsUpdate extends BaseCommand {
3
+ static description: string;
4
+ static examples: string[];
5
+ static args: {
6
+ id: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
7
+ };
8
+ static flags: {
9
+ name: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
10
+ color: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
11
+ icon: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
12
+ description: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
13
+ };
14
+ run(): Promise<unknown>;
15
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ const base_1 = require("../../base");
5
+ const output_1 = require("../../lib/output");
6
+ class UptimeGroupsUpdate extends base_1.BaseCommand {
7
+ static description = 'Update an uptime monitor group (only the provided fields)';
8
+ static examples = ['<%= config.bin %> uptime-groups update <group-id> --name "New name" --color emerald'];
9
+ static args = {
10
+ id: core_1.Args.string({ description: 'Uptime group id', required: true }),
11
+ };
12
+ static flags = {
13
+ name: core_1.Flags.string({ description: 'Group name' }),
14
+ color: core_1.Flags.string({ description: 'Accent color (Tailwind palette name)' }),
15
+ icon: core_1.Flags.string({ description: 'Icon name' }),
16
+ description: core_1.Flags.string({ description: 'Group description' }),
17
+ };
18
+ async run() {
19
+ const { args, flags } = await this.parse(UptimeGroupsUpdate);
20
+ const body = {};
21
+ if (flags.name !== undefined)
22
+ body.name = flags.name;
23
+ if (flags.color !== undefined)
24
+ body.color = flags.color;
25
+ if (flags.icon !== undefined)
26
+ body.icon = flags.icon;
27
+ if (flags.description !== undefined)
28
+ body.description = flags.description;
29
+ const res = await this.api.put(`/cli/v1/uptime_groups/${args.id}`, body);
30
+ if (!this.jsonEnabled()) {
31
+ this.log(`Updated uptime group ${args.id}:`);
32
+ this.log((0, output_1.renderRecord)(res.data ?? {}));
33
+ }
34
+ return res;
35
+ }
36
+ }
37
+ exports.default = UptimeGroupsUpdate;