@klevar/portal-cli 0.1.13 → 0.1.14

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.
@@ -536,6 +536,7 @@ export declare const COMMAND_GROUPS: {
536
536
  auth: "apiKey";
537
537
  description: string;
538
538
  body: string[];
539
+ supportsFiles: true;
539
540
  };
540
541
  'notes.update': {
541
542
  method: "PATCH";
@@ -556,6 +557,7 @@ export declare const COMMAND_GROUPS: {
556
557
  auth: "apiKey";
557
558
  description: string;
558
559
  body: string[];
560
+ supportsFiles: true;
559
561
  };
560
562
  'portal.notes': {
561
563
  method: "GET";
@@ -575,6 +577,7 @@ export declare const COMMAND_GROUPS: {
575
577
  auth: "portalToken";
576
578
  description: string;
577
579
  body: string[];
580
+ supportsFiles: true;
578
581
  };
579
582
  'portal.notes.comments': {
580
583
  method: "GET";
@@ -588,6 +591,7 @@ export declare const COMMAND_GROUPS: {
588
591
  auth: "portalToken";
589
592
  description: string;
590
593
  body: string[];
594
+ supportsFiles: true;
591
595
  };
592
596
  };
593
597
  metrics: {
@@ -12,6 +12,7 @@ export declare const noteCommands: {
12
12
  auth: "apiKey";
13
13
  description: string;
14
14
  body: string[];
15
+ supportsFiles: true;
15
16
  };
16
17
  'notes.update': {
17
18
  method: "PATCH";
@@ -32,6 +33,7 @@ export declare const noteCommands: {
32
33
  auth: "apiKey";
33
34
  description: string;
34
35
  body: string[];
36
+ supportsFiles: true;
35
37
  };
36
38
  'portal.notes': {
37
39
  method: "GET";
@@ -51,6 +53,7 @@ export declare const noteCommands: {
51
53
  auth: "portalToken";
52
54
  description: string;
53
55
  body: string[];
56
+ supportsFiles: true;
54
57
  };
55
58
  'portal.notes.comments': {
56
59
  method: "GET";
@@ -64,5 +67,6 @@ export declare const noteCommands: {
64
67
  auth: "portalToken";
65
68
  description: string;
66
69
  body: string[];
70
+ supportsFiles: true;
67
71
  };
68
72
  };
@@ -1,13 +1,13 @@
1
1
  export const noteCommands = {
2
2
  'notes.list': { method: 'GET', path: '/api/admin/notes', auth: 'apiKey', description: 'List client notes', queryParams: ['clientId', 'projectId', 'status'] },
3
- 'notes.create': { method: 'POST', path: '/api/admin/notes', auth: 'apiKey', description: 'Create client note (--clientId --title --content/--content-file/--stdin --projectIds)', body: ['clientId', 'title', 'content', 'projectIds'] },
3
+ 'notes.create': { method: 'POST', path: '/api/admin/notes', auth: 'apiKey', description: 'Create client note (--clientId --content/--content-file/--stdin --projectIds --file screenshot.png; --title optional)', body: ['clientId', 'title', 'content', 'projectIds'], supportsFiles: true },
4
4
  'notes.update': { method: 'PATCH', path: '/api/admin/notes/:noteId', auth: 'apiKey', description: 'Update client note', body: ['title', 'content', 'status', 'projectIds'] },
5
5
  'notes.comments': { method: 'GET', path: '/api/admin/notes/:noteId/comments', auth: 'apiKey', description: 'List note comments' },
6
- 'notes.reply': { method: 'POST', path: '/api/admin/notes/:noteId/comments', auth: 'apiKey', description: 'Reply to client note (--content, --content-file, or --stdin)', body: ['content'] },
6
+ 'notes.reply': { method: 'POST', path: '/api/admin/notes/:noteId/comments', auth: 'apiKey', description: 'Reply to client note (--content, --content-file, --stdin, --file screenshot.png)', body: ['content'], supportsFiles: true },
7
7
  'portal.notes': { method: 'GET', path: '/api/portal/notes', auth: 'portalToken', description: 'List portal notes' },
8
8
  'portal.notes.project': { method: 'GET', path: '/api/portal/projects/:id/notes', auth: 'portalToken', description: 'List portal notes for a project' },
9
- 'portal.notes.create': { method: 'POST', path: '/api/portal/notes', auth: 'portalToken', description: 'Create portal note (--title --content/--content-file/--stdin --projectIds)', body: ['title', 'content', 'projectIds'] },
9
+ 'portal.notes.create': { method: 'POST', path: '/api/portal/notes', auth: 'portalToken', description: 'Create portal note (--content/--content-file/--stdin --projectIds --file screenshot.png; --title optional)', body: ['title', 'content', 'projectIds'], supportsFiles: true },
10
10
  'portal.notes.comments': { method: 'GET', path: '/api/portal/notes/:noteId/comments', auth: 'portalToken', description: 'List portal note comments' },
11
- 'portal.notes.reply': { method: 'POST', path: '/api/portal/notes/:noteId/comments', auth: 'portalToken', description: 'Reply to portal note (--content, --content-file, or --stdin)', body: ['content'] },
11
+ 'portal.notes.reply': { method: 'POST', path: '/api/portal/notes/:noteId/comments', auth: 'portalToken', description: 'Reply to portal note (--content, --content-file, --stdin, --file screenshot.png)', body: ['content'], supportsFiles: true },
12
12
  };
13
13
  //# sourceMappingURL=notes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notes.js","sourceRoot":"","sources":["../../commands/notes.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mBAAmB,EAAE,WAAW,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE;IAC7J,cAAc,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,uFAAuF,EAAE,IAAI,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,CAAC,EAAE;IACxO,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,CAAC,EAAE;IAC5K,gBAAgB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,mCAAmC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE;IACjI,aAAa,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mCAAmC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,8DAA8D,EAAE,IAAI,EAAE,CAAC,SAAS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AE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,kFAAkF,EAAE,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE;CAC5N,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klevar/portal-cli",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "First-class npm CLI for the Klevar Client Management Portal",
5
5
  "type": "module",
6
6
  "bin": {