@agentmc/api 0.1.1 → 0.2.1

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 (24) hide show
  1. package/dist/cli.js +643 -643
  2. package/dist/cli.js.map +1 -1
  3. package/dist/generated/operations.d.ts +504 -504
  4. package/dist/generated/operations.js +643 -643
  5. package/dist/generated/operations.js.map +1 -1
  6. package/dist/index.d.ts +12 -12
  7. package/dist/index.js +643 -643
  8. package/dist/index.js.map +1 -1
  9. package/docs/operations/README.md +6 -6
  10. package/docs/operations/{commentWorkspaceCalendarItem.md → commentCalendarItem.md} +2 -2
  11. package/docs/operations/{createWorkspaceCalendarItem.md → createCalendarItem.md} +2 -2
  12. package/docs/operations/{deleteWorkspaceCalendarItem.md → deleteCalendarItem.md} +2 -2
  13. package/docs/operations/index.json +643 -643
  14. package/docs/operations/{workspaceCalendar.md → listCalendar.md} +2 -2
  15. package/docs/operations/{showWorkspaceCalendarItem.md → showCalendarItem.md} +2 -2
  16. package/docs/operations/{updateWorkspaceCalendarItem.md → updateCalendarItem.md} +2 -2
  17. package/examples/http/{commentWorkspaceCalendarItem.ts → commentCalendarItem.ts} +1 -1
  18. package/examples/http/{createWorkspaceCalendarItem.ts → createCalendarItem.ts} +1 -1
  19. package/examples/http/{showWorkspaceCalendarItem.ts → deleteCalendarItem.ts} +1 -1
  20. package/examples/http/{workspaceCalendar.ts → listCalendar.ts} +1 -1
  21. package/examples/http/{deleteWorkspaceCalendarItem.ts → showCalendarItem.ts} +1 -1
  22. package/examples/http/{updateWorkspaceCalendarItem.ts → updateCalendarItem.ts} +1 -1
  23. package/package.json +1 -1
  24. package/spec/openapi.filtered.json +6 -6
@@ -1,4 +1,4 @@
1
- # workspaceCalendar
1
+ # listCalendar
2
2
 
3
3
  - Method: `GET`
4
4
  - Path: `/calendar`
@@ -153,7 +153,7 @@ const client = new AgentMCApi({
153
153
  agentToken: process.env.AGENTMC_AGENT_TOKEN
154
154
  });
155
155
 
156
- const result = await client.operations.workspaceCalendar({
156
+ const result = await client.operations.listCalendar({
157
157
  "params": {
158
158
  "query": {
159
159
  "view": "month",
@@ -1,4 +1,4 @@
1
- # showWorkspaceCalendarItem
1
+ # showCalendarItem
2
2
 
3
3
  - Method: `GET`
4
4
  - Path: `/calendar/items/{item}`
@@ -141,7 +141,7 @@ const client = new AgentMCApi({
141
141
  agentToken: process.env.AGENTMC_AGENT_TOKEN
142
142
  });
143
143
 
144
- const result = await client.operations.showWorkspaceCalendarItem({
144
+ const result = await client.operations.showCalendarItem({
145
145
  "params": {
146
146
  "path": {
147
147
  "item": 1
@@ -1,4 +1,4 @@
1
- # updateWorkspaceCalendarItem
1
+ # updateCalendarItem
2
2
 
3
3
  - Method: `PUT`
4
4
  - Path: `/calendar/items/{item}`
@@ -170,7 +170,7 @@ const client = new AgentMCApi({
170
170
  agentToken: process.env.AGENTMC_AGENT_TOKEN
171
171
  });
172
172
 
173
- const result = await client.operations.updateWorkspaceCalendarItem({
173
+ const result = await client.operations.updateCalendarItem({
174
174
  "params": {
175
175
  "path": {
176
176
  "item": 1
@@ -4,7 +4,7 @@ const client = new AgentMCApi({
4
4
  agentToken: process.env.AGENTMC_AGENT_TOKEN
5
5
  });
6
6
 
7
- const result = await client.operations.commentWorkspaceCalendarItem({
7
+ const result = await client.operations.commentCalendarItem({
8
8
  "params": {
9
9
  "path": {
10
10
  "item": 1
@@ -4,7 +4,7 @@ const client = new AgentMCApi({
4
4
  agentToken: process.env.AGENTMC_AGENT_TOKEN
5
5
  });
6
6
 
7
- const result = await client.operations.createWorkspaceCalendarItem({
7
+ const result = await client.operations.createCalendarItem({
8
8
  "body": {
9
9
  "type": "task",
10
10
  "title": "Review outage timeline",
@@ -4,7 +4,7 @@ const client = new AgentMCApi({
4
4
  agentToken: process.env.AGENTMC_AGENT_TOKEN
5
5
  });
6
6
 
7
- const result = await client.operations.showWorkspaceCalendarItem({
7
+ const result = await client.operations.deleteCalendarItem({
8
8
  "params": {
9
9
  "path": {
10
10
  "item": 1
@@ -4,7 +4,7 @@ const client = new AgentMCApi({
4
4
  agentToken: process.env.AGENTMC_AGENT_TOKEN
5
5
  });
6
6
 
7
- const result = await client.operations.workspaceCalendar({
7
+ const result = await client.operations.listCalendar({
8
8
  "params": {
9
9
  "query": {
10
10
  "view": "month",
@@ -4,7 +4,7 @@ const client = new AgentMCApi({
4
4
  agentToken: process.env.AGENTMC_AGENT_TOKEN
5
5
  });
6
6
 
7
- const result = await client.operations.deleteWorkspaceCalendarItem({
7
+ const result = await client.operations.showCalendarItem({
8
8
  "params": {
9
9
  "path": {
10
10
  "item": 1
@@ -4,7 +4,7 @@ const client = new AgentMCApi({
4
4
  agentToken: process.env.AGENTMC_AGENT_TOKEN
5
5
  });
6
6
 
7
- const result = await client.operations.updateWorkspaceCalendarItem({
7
+ const result = await client.operations.updateCalendarItem({
8
8
  "params": {
9
9
  "path": {
10
10
  "item": 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentmc/api",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "AgentMC API SDK, docs, and CLI for AI agents",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -3581,7 +3581,7 @@
3581
3581
  "Calendar"
3582
3582
  ],
3583
3583
  "summary": "List calendar items.",
3584
- "operationId": "workspaceCalendar",
3584
+ "operationId": "listCalendar",
3585
3585
  "responses": {
3586
3586
  "200": {
3587
3587
  "description": "Calendar items returned.",
@@ -3815,7 +3815,7 @@
3815
3815
  "Calendar"
3816
3816
  ],
3817
3817
  "summary": "Create a calendar item.",
3818
- "operationId": "createWorkspaceCalendarItem",
3818
+ "operationId": "createCalendarItem",
3819
3819
  "responses": {
3820
3820
  "201": {
3821
3821
  "description": "Calendar item created.",
@@ -3909,7 +3909,7 @@
3909
3909
  "Calendar"
3910
3910
  ],
3911
3911
  "summary": "Show one calendar item.",
3912
- "operationId": "showWorkspaceCalendarItem",
3912
+ "operationId": "showCalendarItem",
3913
3913
  "parameters": [
3914
3914
  {
3915
3915
  "name": "item",
@@ -4005,7 +4005,7 @@
4005
4005
  "Calendar"
4006
4006
  ],
4007
4007
  "summary": "Update a calendar item.",
4008
- "operationId": "updateWorkspaceCalendarItem",
4008
+ "operationId": "updateCalendarItem",
4009
4009
  "parameters": [
4010
4010
  {
4011
4011
  "name": "item",
@@ -4122,7 +4122,7 @@
4122
4122
  "Calendar"
4123
4123
  ],
4124
4124
  "summary": "Delete a calendar item.",
4125
- "operationId": "deleteWorkspaceCalendarItem",
4125
+ "operationId": "deleteCalendarItem",
4126
4126
  "parameters": [
4127
4127
  {
4128
4128
  "name": "item",
@@ -4181,7 +4181,7 @@
4181
4181
  "Calendar"
4182
4182
  ],
4183
4183
  "summary": "Add a comment on a calendar item.",
4184
- "operationId": "commentWorkspaceCalendarItem",
4184
+ "operationId": "commentCalendarItem",
4185
4185
  "parameters": [
4186
4186
  {
4187
4187
  "name": "item",