@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.
- package/dist/cli.js +643 -643
- package/dist/cli.js.map +1 -1
- package/dist/generated/operations.d.ts +504 -504
- package/dist/generated/operations.js +643 -643
- package/dist/generated/operations.js.map +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.js +643 -643
- package/dist/index.js.map +1 -1
- package/docs/operations/README.md +6 -6
- package/docs/operations/{commentWorkspaceCalendarItem.md → commentCalendarItem.md} +2 -2
- package/docs/operations/{createWorkspaceCalendarItem.md → createCalendarItem.md} +2 -2
- package/docs/operations/{deleteWorkspaceCalendarItem.md → deleteCalendarItem.md} +2 -2
- package/docs/operations/index.json +643 -643
- package/docs/operations/{workspaceCalendar.md → listCalendar.md} +2 -2
- package/docs/operations/{showWorkspaceCalendarItem.md → showCalendarItem.md} +2 -2
- package/docs/operations/{updateWorkspaceCalendarItem.md → updateCalendarItem.md} +2 -2
- package/examples/http/{commentWorkspaceCalendarItem.ts → commentCalendarItem.ts} +1 -1
- package/examples/http/{createWorkspaceCalendarItem.ts → createCalendarItem.ts} +1 -1
- package/examples/http/{showWorkspaceCalendarItem.ts → deleteCalendarItem.ts} +1 -1
- package/examples/http/{workspaceCalendar.ts → listCalendar.ts} +1 -1
- package/examples/http/{deleteWorkspaceCalendarItem.ts → showCalendarItem.ts} +1 -1
- package/examples/http/{updateWorkspaceCalendarItem.ts → updateCalendarItem.ts} +1 -1
- package/package.json +1 -1
- package/spec/openapi.filtered.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
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.
|
|
156
|
+
const result = await client.operations.listCalendar({
|
|
157
157
|
"params": {
|
|
158
158
|
"query": {
|
|
159
159
|
"view": "month",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
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.
|
|
144
|
+
const result = await client.operations.showCalendarItem({
|
|
145
145
|
"params": {
|
|
146
146
|
"path": {
|
|
147
147
|
"item": 1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
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.
|
|
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.
|
|
7
|
+
const result = await client.operations.createCalendarItem({
|
|
8
8
|
"body": {
|
|
9
9
|
"type": "task",
|
|
10
10
|
"title": "Review outage timeline",
|
package/package.json
CHANGED
|
@@ -3581,7 +3581,7 @@
|
|
|
3581
3581
|
"Calendar"
|
|
3582
3582
|
],
|
|
3583
3583
|
"summary": "List calendar items.",
|
|
3584
|
-
"operationId": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
4184
|
+
"operationId": "commentCalendarItem",
|
|
4185
4185
|
"parameters": [
|
|
4186
4186
|
{
|
|
4187
4187
|
"name": "item",
|