@greatwait/contracts 0.1.0-alpha.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/LICENSE +21 -0
- package/README.md +77 -0
- package/dist/authority.d.ts +217 -0
- package/dist/authority.js +261 -0
- package/dist/callback-ownership.d.ts +58 -0
- package/dist/callback-ownership.js +71 -0
- package/dist/callback-safety.d.ts +38 -0
- package/dist/callback-safety.js +403 -0
- package/dist/compatibility.d.ts +82 -0
- package/dist/compatibility.js +115 -0
- package/dist/delivery.d.ts +401 -0
- package/dist/delivery.js +311 -0
- package/dist/endpoints.d.ts +305 -0
- package/dist/endpoints.js +179 -0
- package/dist/events.d.ts +62 -0
- package/dist/events.js +38 -0
- package/dist/first-value-journey.d.ts +305 -0
- package/dist/first-value-journey.js +466 -0
- package/dist/forecast.d.ts +443 -0
- package/dist/forecast.js +729 -0
- package/dist/identifiers.d.ts +109 -0
- package/dist/identifiers.js +131 -0
- package/dist/identity.d.ts +196 -0
- package/dist/identity.js +182 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +27 -0
- package/dist/mcp.d.ts +51 -0
- package/dist/mcp.js +56 -0
- package/dist/oauth.d.ts +796 -0
- package/dist/oauth.js +708 -0
- package/dist/operations.d.ts +3985 -0
- package/dist/operations.js +1837 -0
- package/dist/partition.d.ts +771 -0
- package/dist/partition.js +206 -0
- package/dist/policy.d.ts +93 -0
- package/dist/policy.js +180 -0
- package/dist/problems.d.ts +158 -0
- package/dist/problems.js +104 -0
- package/dist/protocol.d.ts +308 -0
- package/dist/protocol.js +515 -0
- package/dist/scheduling-records.d.ts +395 -0
- package/dist/scheduling-records.js +284 -0
- package/dist/scheduling.d.ts +1098 -0
- package/dist/scheduling.js +1116 -0
- package/dist/secrets.d.ts +383 -0
- package/dist/secrets.js +272 -0
- package/dist/signatures.d.ts +704 -0
- package/dist/signatures.js +867 -0
- package/dist/tenancy.d.ts +178 -0
- package/dist/tenancy.js +145 -0
- package/dist/test-sink.d.ts +986 -0
- package/dist/test-sink.js +755 -0
- package/dist/time.d.ts +45 -0
- package/dist/time.js +128 -0
- package/dist/usage.d.ts +121 -0
- package/dist/usage.js +200 -0
- package/dist/webhooks.d.ts +116 -0
- package/dist/webhooks.js +161 -0
- package/dist/workspace.d.ts +92 -0
- package/dist/workspace.js +59 -0
- package/generated/v1/callback-delivery-signature.json +467 -0
- package/generated/v1/callback-endpoint-verification.json +59 -0
- package/generated/v1/callback-receiver.json +241 -0
- package/generated/v1/examples/attempts.list.response.json +24 -0
- package/generated/v1/examples/attempts.read.response.json +20 -0
- package/generated/v1/examples/credentials.create.request.json +5 -0
- package/generated/v1/examples/credentials.create.response.json +10 -0
- package/generated/v1/examples/credentials.list.response.json +17 -0
- package/generated/v1/examples/credentials.revoke.response.json +11 -0
- package/generated/v1/examples/credentials.rotate.request.json +3 -0
- package/generated/v1/examples/credentials.rotate.response.json +22 -0
- package/generated/v1/examples/endpoints.create.request.json +3 -0
- package/generated/v1/examples/endpoints.create.response.json +16 -0
- package/generated/v1/examples/endpoints.disable.response.json +15 -0
- package/generated/v1/examples/endpoints.list.response.json +21 -0
- package/generated/v1/examples/endpoints.read.response.json +14 -0
- package/generated/v1/examples/endpoints.rotateSigningKey.request.json +3 -0
- package/generated/v1/examples/endpoints.rotateSigningKey.response.json +23 -0
- package/generated/v1/examples/endpoints.update.request.json +3 -0
- package/generated/v1/examples/endpoints.update.response.json +13 -0
- package/generated/v1/examples/endpoints.verify.response.json +15 -0
- package/generated/v1/examples/forecast.read.response.json +28 -0
- package/generated/v1/examples/forecast.windows.response.json +21 -0
- package/generated/v1/examples/grants.list.response.json +17 -0
- package/generated/v1/examples/grants.revoke.response.json +16 -0
- package/generated/v1/examples/meta.scaffold.response.json +5 -0
- package/generated/v1/examples/meta.version.response.json +5 -0
- package/generated/v1/examples/occurrences.list.response.json +17 -0
- package/generated/v1/examples/occurrences.read.response.json +15 -0
- package/generated/v1/examples/occurrences.redeliver.response.json +16 -0
- package/generated/v1/examples/projects.create.request.json +3 -0
- package/generated/v1/examples/projects.create.response.json +5 -0
- package/generated/v1/examples/projects.list.response.json +9 -0
- package/generated/v1/examples/schedules.archive.response.json +25 -0
- package/generated/v1/examples/schedules.cancel.response.json +24 -0
- package/generated/v1/examples/schedules.create.request.json +9 -0
- package/generated/v1/examples/schedules.create.response.json +25 -0
- package/generated/v1/examples/schedules.list.response.json +23 -0
- package/generated/v1/examples/schedules.pause.response.json +23 -0
- package/generated/v1/examples/schedules.read.response.json +25 -0
- package/generated/v1/examples/schedules.replace.request.json +8 -0
- package/generated/v1/examples/schedules.replace.response.json +25 -0
- package/generated/v1/examples/schedules.resume.response.json +23 -0
- package/generated/v1/examples/sinkdeliveries.list.response.json +19 -0
- package/generated/v1/examples/sinkdeliveries.read.response.json +16 -0
- package/generated/v1/examples/testsinks.configure.request.json +3 -0
- package/generated/v1/examples/testsinks.configure.response.json +13 -0
- package/generated/v1/examples/testsinks.create.request.json +8 -0
- package/generated/v1/examples/testsinks.create.response.json +13 -0
- package/generated/v1/examples/testsinks.delete.response.json +13 -0
- package/generated/v1/examples/testsinks.list.response.json +20 -0
- package/generated/v1/examples/testsinks.read.response.json +14 -0
- package/generated/v1/examples/usage.read.response.json +20 -0
- package/generated/v1/first-value-journey.json +436 -0
- package/generated/v1/manifest.json +1037 -0
- package/generated/v1/openapi.json +23665 -0
- package/generated/v1/policy-matrix.json +305 -0
- package/generated/v1/schemas/attempts.list.query.json +16 -0
- package/generated/v1/schemas/attempts.list.response.json +175 -0
- package/generated/v1/schemas/attempts.read.response.json +168 -0
- package/generated/v1/schemas/credentials.create.request.json +39 -0
- package/generated/v1/schemas/credentials.create.response.json +88 -0
- package/generated/v1/schemas/credentials.list.query.json +16 -0
- package/generated/v1/schemas/credentials.list.response.json +124 -0
- package/generated/v1/schemas/credentials.revoke.response.json +84 -0
- package/generated/v1/schemas/credentials.rotate.request.json +11 -0
- package/generated/v1/schemas/credentials.rotate.response.json +171 -0
- package/generated/v1/schemas/endpoints.create.request.json +12 -0
- package/generated/v1/schemas/endpoints.create.response.json +115 -0
- package/generated/v1/schemas/endpoints.disable.response-headers.json +11 -0
- package/generated/v1/schemas/endpoints.disable.response.json +100 -0
- package/generated/v1/schemas/endpoints.list.query.json +16 -0
- package/generated/v1/schemas/endpoints.list.response.json +146 -0
- package/generated/v1/schemas/endpoints.read.response-headers.json +11 -0
- package/generated/v1/schemas/endpoints.read.response.json +100 -0
- package/generated/v1/schemas/endpoints.rotateSigningKey.request-headers.json +10 -0
- package/generated/v1/schemas/endpoints.rotateSigningKey.request.json +11 -0
- package/generated/v1/schemas/endpoints.rotateSigningKey.response-headers.json +11 -0
- package/generated/v1/schemas/endpoints.rotateSigningKey.response.json +118 -0
- package/generated/v1/schemas/endpoints.update.request-headers.json +10 -0
- package/generated/v1/schemas/endpoints.update.request.json +12 -0
- package/generated/v1/schemas/endpoints.update.response-headers.json +11 -0
- package/generated/v1/schemas/endpoints.update.response.json +100 -0
- package/generated/v1/schemas/endpoints.verify.request-headers.json +10 -0
- package/generated/v1/schemas/endpoints.verify.response-headers.json +11 -0
- package/generated/v1/schemas/endpoints.verify.response.json +100 -0
- package/generated/v1/schemas/forecast.read.query.json +26 -0
- package/generated/v1/schemas/forecast.read.response.json +100 -0
- package/generated/v1/schemas/forecast.windows.query.json +26 -0
- package/generated/v1/schemas/forecast.windows.response.json +94 -0
- package/generated/v1/schemas/grants.list.response.json +98 -0
- package/generated/v1/schemas/grants.revoke.response.json +95 -0
- package/generated/v1/schemas/meta.scaffold.response.json +36 -0
- package/generated/v1/schemas/meta.version.response.json +19 -0
- package/generated/v1/schemas/occurrences.list.query.json +16 -0
- package/generated/v1/schemas/occurrences.list.response.json +83 -0
- package/generated/v1/schemas/occurrences.read.response.json +76 -0
- package/generated/v1/schemas/occurrences.redeliver.request-headers.json +13 -0
- package/generated/v1/schemas/occurrences.redeliver.response-headers.json +10 -0
- package/generated/v1/schemas/occurrences.redeliver.response.json +168 -0
- package/generated/v1/schemas/projects.create.request.json +12 -0
- package/generated/v1/schemas/projects.create.response.json +25 -0
- package/generated/v1/schemas/projects.list.response.json +35 -0
- package/generated/v1/schemas/schedules.archive.request-headers.json +10 -0
- package/generated/v1/schemas/schedules.archive.response-headers.json +11 -0
- package/generated/v1/schemas/schedules.archive.response.json +189 -0
- package/generated/v1/schemas/schedules.cancel.request-headers.json +10 -0
- package/generated/v1/schemas/schedules.cancel.response-headers.json +11 -0
- package/generated/v1/schemas/schedules.cancel.response.json +189 -0
- package/generated/v1/schemas/schedules.create.request-headers.json +12 -0
- package/generated/v1/schemas/schedules.create.request.json +99 -0
- package/generated/v1/schemas/schedules.create.response-headers.json +15 -0
- package/generated/v1/schemas/schedules.create.response.json +189 -0
- package/generated/v1/schemas/schedules.list.query.json +16 -0
- package/generated/v1/schemas/schedules.list.response.json +170 -0
- package/generated/v1/schemas/schedules.pause.request-headers.json +10 -0
- package/generated/v1/schemas/schedules.pause.response-headers.json +11 -0
- package/generated/v1/schemas/schedules.pause.response.json +189 -0
- package/generated/v1/schemas/schedules.read.response-headers.json +11 -0
- package/generated/v1/schemas/schedules.read.response.json +189 -0
- package/generated/v1/schemas/schedules.replace.request-headers.json +10 -0
- package/generated/v1/schemas/schedules.replace.request.json +99 -0
- package/generated/v1/schemas/schedules.replace.response-headers.json +11 -0
- package/generated/v1/schemas/schedules.replace.response.json +189 -0
- package/generated/v1/schemas/schedules.resume.request-headers.json +10 -0
- package/generated/v1/schemas/schedules.resume.response-headers.json +11 -0
- package/generated/v1/schemas/schedules.resume.response.json +189 -0
- package/generated/v1/schemas/sinkdeliveries.list.query.json +16 -0
- package/generated/v1/schemas/sinkdeliveries.list.response.json +126 -0
- package/generated/v1/schemas/sinkdeliveries.read.response.json +98 -0
- package/generated/v1/schemas/testsinks.configure.request.json +66 -0
- package/generated/v1/schemas/testsinks.configure.response.json +115 -0
- package/generated/v1/schemas/testsinks.create.request.json +76 -0
- package/generated/v1/schemas/testsinks.create.response.json +115 -0
- package/generated/v1/schemas/testsinks.delete.response.json +115 -0
- package/generated/v1/schemas/testsinks.list.query.json +16 -0
- package/generated/v1/schemas/testsinks.list.response.json +161 -0
- package/generated/v1/schemas/testsinks.read.response.json +115 -0
- package/generated/v1/schemas/usage.read.query.json +15 -0
- package/generated/v1/schemas/usage.read.response.json +71 -0
- package/generated/v1/snippets/attempts.list.json +5 -0
- package/generated/v1/snippets/attempts.read.json +5 -0
- package/generated/v1/snippets/credentials.create.json +5 -0
- package/generated/v1/snippets/credentials.list.json +5 -0
- package/generated/v1/snippets/credentials.revoke.json +5 -0
- package/generated/v1/snippets/credentials.rotate.json +5 -0
- package/generated/v1/snippets/endpoints.create.json +5 -0
- package/generated/v1/snippets/endpoints.disable.json +5 -0
- package/generated/v1/snippets/endpoints.list.json +5 -0
- package/generated/v1/snippets/endpoints.read.json +5 -0
- package/generated/v1/snippets/endpoints.rotateSigningKey.json +5 -0
- package/generated/v1/snippets/endpoints.update.json +5 -0
- package/generated/v1/snippets/endpoints.verify.json +5 -0
- package/generated/v1/snippets/forecast.read.json +5 -0
- package/generated/v1/snippets/forecast.windows.json +5 -0
- package/generated/v1/snippets/grants.list.json +5 -0
- package/generated/v1/snippets/grants.revoke.json +5 -0
- package/generated/v1/snippets/meta.scaffold.json +5 -0
- package/generated/v1/snippets/meta.version.json +5 -0
- package/generated/v1/snippets/occurrences.list.json +5 -0
- package/generated/v1/snippets/occurrences.read.json +5 -0
- package/generated/v1/snippets/occurrences.redeliver.json +5 -0
- package/generated/v1/snippets/projects.create.json +5 -0
- package/generated/v1/snippets/projects.list.json +5 -0
- package/generated/v1/snippets/schedules.archive.json +5 -0
- package/generated/v1/snippets/schedules.cancel.json +5 -0
- package/generated/v1/snippets/schedules.create.json +5 -0
- package/generated/v1/snippets/schedules.list.json +5 -0
- package/generated/v1/snippets/schedules.pause.json +5 -0
- package/generated/v1/snippets/schedules.read.json +5 -0
- package/generated/v1/snippets/schedules.replace.json +5 -0
- package/generated/v1/snippets/schedules.resume.json +5 -0
- package/generated/v1/snippets/sinkdeliveries.list.json +5 -0
- package/generated/v1/snippets/sinkdeliveries.read.json +5 -0
- package/generated/v1/snippets/testsinks.configure.json +5 -0
- package/generated/v1/snippets/testsinks.create.json +5 -0
- package/generated/v1/snippets/testsinks.delete.json +5 -0
- package/generated/v1/snippets/testsinks.list.json +5 -0
- package/generated/v1/snippets/testsinks.read.json +5 -0
- package/generated/v1/snippets/usage.read.json +5 -0
- package/package.json +153 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"createdAt": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
8
|
+
},
|
|
9
|
+
"deliveryCount": {
|
|
10
|
+
"type": "integer",
|
|
11
|
+
"minimum": 0,
|
|
12
|
+
"maximum": 9007199254740991
|
|
13
|
+
},
|
|
14
|
+
"endpoint": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"pattern": "^ep_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
17
|
+
},
|
|
18
|
+
"environmentKind": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "test"
|
|
21
|
+
},
|
|
22
|
+
"id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"pattern": "^tsk_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
25
|
+
},
|
|
26
|
+
"program": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"behavior": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"client_error",
|
|
33
|
+
"defer_abandon",
|
|
34
|
+
"defer_fail",
|
|
35
|
+
"defer_succeed",
|
|
36
|
+
"delay",
|
|
37
|
+
"disconnect",
|
|
38
|
+
"duplicate",
|
|
39
|
+
"invalid_signature",
|
|
40
|
+
"rate_limited",
|
|
41
|
+
"server_error",
|
|
42
|
+
"success",
|
|
43
|
+
"timeout"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"completionDelayMs": {
|
|
47
|
+
"type": "integer",
|
|
48
|
+
"exclusiveMinimum": 0,
|
|
49
|
+
"maximum": 5000
|
|
50
|
+
},
|
|
51
|
+
"delayMs": {
|
|
52
|
+
"type": "integer",
|
|
53
|
+
"exclusiveMinimum": 0,
|
|
54
|
+
"maximum": 10000
|
|
55
|
+
},
|
|
56
|
+
"forDeliveries": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"exclusiveMinimum": 0,
|
|
59
|
+
"maximum": 100
|
|
60
|
+
},
|
|
61
|
+
"retryAfterSeconds": {
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"exclusiveMinimum": 0,
|
|
64
|
+
"maximum": 300
|
|
65
|
+
},
|
|
66
|
+
"status": {
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"minimum": 400,
|
|
69
|
+
"maximum": 599
|
|
70
|
+
},
|
|
71
|
+
"then": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"enum": [
|
|
74
|
+
"client_error",
|
|
75
|
+
"defer_abandon",
|
|
76
|
+
"defer_fail",
|
|
77
|
+
"defer_succeed",
|
|
78
|
+
"delay",
|
|
79
|
+
"disconnect",
|
|
80
|
+
"duplicate",
|
|
81
|
+
"invalid_signature",
|
|
82
|
+
"rate_limited",
|
|
83
|
+
"server_error",
|
|
84
|
+
"success",
|
|
85
|
+
"timeout"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"required": ["behavior"]
|
|
90
|
+
},
|
|
91
|
+
"project": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"pattern": "^proj_[0-9abcdefghjkmnpqrstvwxyz]{26}$"
|
|
94
|
+
},
|
|
95
|
+
"updatedAt": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
98
|
+
},
|
|
99
|
+
"url": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"format": "uri"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": [
|
|
105
|
+
"createdAt",
|
|
106
|
+
"deliveryCount",
|
|
107
|
+
"endpoint",
|
|
108
|
+
"environmentKind",
|
|
109
|
+
"id",
|
|
110
|
+
"program",
|
|
111
|
+
"project",
|
|
112
|
+
"updatedAt",
|
|
113
|
+
"url"
|
|
114
|
+
]
|
|
115
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"from": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
8
|
+
},
|
|
9
|
+
"to": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"days": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"billableOccurrences": {
|
|
11
|
+
"type": "integer",
|
|
12
|
+
"exclusiveMinimum": 0,
|
|
13
|
+
"maximum": 9007199254740991
|
|
14
|
+
},
|
|
15
|
+
"byTerminalState": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"propertyNames": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"cancelled",
|
|
21
|
+
"skipped_stale",
|
|
22
|
+
"succeeded",
|
|
23
|
+
"terminal_failed"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"exclusiveMinimum": 0,
|
|
29
|
+
"maximum": 9007199254740991
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"start": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": ["billableOccurrences", "byTerminalState", "start"]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"freshness": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"kind": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"const": "authoritative"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": ["kind"]
|
|
49
|
+
},
|
|
50
|
+
"totalBillableOccurrences": {
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"minimum": 0,
|
|
53
|
+
"maximum": 9007199254740991
|
|
54
|
+
},
|
|
55
|
+
"window": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"from": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
61
|
+
},
|
|
62
|
+
"to": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": ["from", "to"]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": ["days", "freshness", "totalBillableOccurrences", "window"]
|
|
71
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/occurrences/$GREATWAIT_OCCURRENCEID/attempts\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\nconst occurrenceId = process.env.GREATWAIT_OCCURRENCEID;\n\nconst result = await greatwait.request(\"attempts_list\", scheduleId, occurrenceId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"occurrenceId\": \"$OCCURRENCEID\",\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"attempts_list\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/occurrences/$GREATWAIT_OCCURRENCEID/attempts/$GREATWAIT_ATTEMPTID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\nconst occurrenceId = process.env.GREATWAIT_OCCURRENCEID;\nconst attemptId = process.env.GREATWAIT_ATTEMPTID;\n\nconst result = await greatwait.request(\"attempts_read\", scheduleId, occurrenceId, attemptId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"attemptId\": \"$ATTEMPTID\",\n \"occurrenceId\": \"$OCCURRENCEID\",\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"attempts_read\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/credentials\" \\\n --variable %GREATWAIT_SESSION_TOKEN \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_SESSION_TOKEN}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"environmentKind\":\"test\",\"project\":\"proj_01h8xyz9k2m4n6p8r0t2v4w6y8\",\"scopes\":[\"schedules:write\"]}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_SESSION_TOKEN,\n fetch,\n});\n\nconst body = {\n \"environmentKind\": \"test\",\n \"project\": \"proj_01h8xyz9k2m4n6p8r0t2v4w6y8\",\n \"scopes\": [\n \"schedules:write\"\n ]\n};\n\nconst result = await greatwait.request(\"credentials_create\", body);",
|
|
4
|
+
"mcp": "// credentials.create is not on the MCP surface.\n// Issuance is authenticated by a signed-in member. MCP carries API credentials and OAuth tokens, and `POST /v1/credentials` refuses both."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/credentials\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst result = await greatwait.request(\"credentials_list\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {},\n \"name\": \"credentials_list\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X DELETE \"$GREATWAIT_API_URL/v1/credentials/$GREATWAIT_CREDENTIALID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst credentialId = process.env.GREATWAIT_CREDENTIALID;\n\nconst result = await greatwait.request(\"credentials_revoke\", credentialId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"credentialId\": \"$CREDENTIALID\"\n },\n \"name\": \"credentials_revoke\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/credentials/$GREATWAIT_CREDENTIALID/rotate\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"overlapSeconds\":3600}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst credentialId = process.env.GREATWAIT_CREDENTIALID;\n\nconst body = {\n \"overlapSeconds\": 3600\n};\n\nconst result = await greatwait.request(\"credentials_rotate\", credentialId, body);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"credentialId\": \"$CREDENTIALID\",\n \"overlapSeconds\": 3600\n },\n \"name\": \"credentials_rotate\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/endpoints\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"url\":\"https://hooks.example.com/greatwait\"}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst body = {\n \"url\": \"https://hooks.example.com/greatwait\"\n};\n\nconst result = await greatwait.request(\"endpoints_create\", body);",
|
|
4
|
+
"mcp": "// endpoints.create is not on the MCP surface.\n// Creation returns a one-time endpoint signing secret, and MCP has no negotiated secure-result channel that can keep it out of ordinary tool history."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X DELETE \"$GREATWAIT_API_URL/v1/endpoints/$GREATWAIT_ENDPOINTID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst endpointId = process.env.GREATWAIT_ENDPOINTID;\n\nconst result = await greatwait.request(\"endpoints_disable\", endpointId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"endpointId\": \"$ENDPOINTID\"\n },\n \"name\": \"endpoints_disable\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/endpoints\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst result = await greatwait.request(\"endpoints_list\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {},\n \"name\": \"endpoints_list\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/endpoints/$GREATWAIT_ENDPOINTID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst endpointId = process.env.GREATWAIT_ENDPOINTID;\n\nconst result = await greatwait.request(\"endpoints_read\", endpointId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"endpointId\": \"$ENDPOINTID\"\n },\n \"name\": \"endpoints_read\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/endpoints/$GREATWAIT_ENDPOINTID/signing-keys/rotate\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"overlapSeconds\":3600}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst endpointId = process.env.GREATWAIT_ENDPOINTID;\n\nconst body = {\n \"overlapSeconds\": 3600\n};\n\nconst result = await greatwait.request(\"endpoints_rotateSigningKey\", endpointId, body);",
|
|
4
|
+
"mcp": "// endpoints.rotateSigningKey is not on the MCP surface.\n// Rotation returns a one-time endpoint signing secret, and MCP has no negotiated secure-result channel that can keep it out of ordinary tool history."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X PUT \"$GREATWAIT_API_URL/v1/endpoints/$GREATWAIT_ENDPOINTID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"url\":\"https://hooks.example.com/replacement\"}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst endpointId = process.env.GREATWAIT_ENDPOINTID;\n\nconst body = {\n \"url\": \"https://hooks.example.com/replacement\"\n};\n\nconst result = await greatwait.request(\"endpoints_update\", endpointId, body);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"endpointId\": \"$ENDPOINTID\",\n \"url\": \"https://hooks.example.com/replacement\"\n },\n \"name\": \"endpoints_update\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/endpoints/$GREATWAIT_ENDPOINTID/verify\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst endpointId = process.env.GREATWAIT_ENDPOINTID;\n\nconst result = await greatwait.request(\"endpoints_verify\", endpointId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"endpointId\": \"$ENDPOINTID\"\n },\n \"name\": \"endpoints_verify\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/forecast\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst result = await greatwait.request(\"forecast_read\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {},\n \"name\": \"forecast_read\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/forecast/windows\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst result = await greatwait.request(\"forecast_windows\");",
|
|
4
|
+
"mcp": "// forecast.windows is not on the MCP surface.\n// A transitional shape for the autoscaler migration, scheduled for withdrawal once W6-02 has cut over. forecast.read is the same data in the shape this product publishes, and it is the tool an agent should reach for."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/grants\" \\\n --variable %GREATWAIT_SESSION_TOKEN \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_SESSION_TOKEN}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_SESSION_TOKEN,\n fetch,\n});\n\nconst result = await greatwait.request(\"grants_list\");",
|
|
4
|
+
"mcp": "// grants.list is not on the MCP surface.\n// A member's own connected applications. MCP carries API credentials and OAuth tokens, and an application holding a grant must not be able to enumerate its rivals — still less disconnect them — so this operation accepts neither."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X DELETE \"$GREATWAIT_API_URL/v1/grants/$GREATWAIT_GRANTID\" \\\n --variable %GREATWAIT_SESSION_TOKEN \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_SESSION_TOKEN}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_SESSION_TOKEN,\n fetch,\n});\n\nconst grantId = process.env.GREATWAIT_GRANTID;\n\nconst result = await greatwait.request(\"grants_revoke\", grantId);",
|
|
4
|
+
"mcp": "// grants.revoke is not on the MCP surface.\n// Disconnecting an application is the member's own act. MCP carries API credentials and OAuth tokens, and an application able to disconnect a grant could disconnect the ones belonging to every other application the member has connected."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/_scaffold\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n fetch,\n});\n\nconst result = await greatwait.request(\"meta_scaffold\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n// A resource rather than a tool: read it by URI, with no arguments.\n{\n \"uri\": \"greatwait://meta/scaffold\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/__greatwait/version\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n fetch,\n});\n\nconst result = await greatwait.request(\"meta_version\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n// A resource rather than a tool: read it by URI, with no arguments.\n{\n \"uri\": \"greatwait://meta/version\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/occurrences\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\n\nconst result = await greatwait.request(\"occurrences_list\", scheduleId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"occurrences_list\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/occurrences/$GREATWAIT_OCCURRENCEID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\nconst occurrenceId = process.env.GREATWAIT_OCCURRENCEID;\n\nconst result = await greatwait.request(\"occurrences_read\", scheduleId, occurrenceId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"occurrenceId\": \"$OCCURRENCEID\",\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"occurrences_read\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/occurrences/$GREATWAIT_OCCURRENCEID/redeliver\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Idempotency-Key: $GREATWAIT_IDEMPOTENCY_KEY'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\nconst occurrenceId = process.env.GREATWAIT_OCCURRENCEID;\n\nconst result = await greatwait.request(\"occurrences_redeliver\", scheduleId, occurrenceId, { \"Idempotency-Key\": process.env.GREATWAIT_IDEMPOTENCY_KEY });",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"Idempotency-Key\": \"$IDEMPOTENCY_KEY\",\n \"occurrenceId\": \"$OCCURRENCEID\",\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"occurrences_redeliver\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/projects\" \\\n --variable %GREATWAIT_SESSION_TOKEN \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_SESSION_TOKEN}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"name\":\"Billing reminders\"}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_SESSION_TOKEN,\n fetch,\n});\n\nconst body = {\n \"name\": \"Billing reminders\"\n};\n\nconst result = await greatwait.request(\"projects_create\", body);",
|
|
4
|
+
"mcp": "// projects.create is not on the MCP surface.\n// Creating a project is a signed-in member's act. MCP carries API credentials and OAuth tokens, whose authority already is one project — so this operation accepts neither, and an agent that somehow created one could not act in it."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/projects\" \\\n --variable %GREATWAIT_SESSION_TOKEN \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_SESSION_TOKEN}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_SESSION_TOKEN,\n fetch,\n});\n\nconst result = await greatwait.request(\"projects_list\");",
|
|
4
|
+
"mcp": "// projects.list is not on the MCP surface.\n// Enumerating an organization's projects is a signed-in member's question. MCP carries API credentials and OAuth tokens, whose authority already is one project, and this operation accepts neither."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/archive\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\n\nconst result = await greatwait.request(\"schedules_archive\", scheduleId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"schedules_archive\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X DELETE \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\n\nconst result = await greatwait.request(\"schedules_cancel\", scheduleId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"schedules_cancel\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/schedules\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"cron\":\"0 9 * * 1-5\",\"data\":{\"report\":\"daily\"},\"endpoint\":\"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\"partitionKey\":\"campaign.spring\",\"timeZone\":\"Europe/London\"}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst body = {\n \"cron\": \"0 9 * * 1-5\",\n \"data\": {\n \"report\": \"daily\"\n },\n \"endpoint\": \"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\n \"partitionKey\": \"campaign.spring\",\n \"timeZone\": \"Europe/London\"\n};\n\nconst result = await greatwait.request(\"schedules_create\", body);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"cron\": \"0 9 * * 1-5\",\n \"data\": {\n \"report\": \"daily\"\n },\n \"endpoint\": \"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\n \"partitionKey\": \"campaign.spring\",\n \"timeZone\": \"Europe/London\"\n },\n \"name\": \"schedules_create\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/schedules\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst result = await greatwait.request(\"schedules_list\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {},\n \"name\": \"schedules_list\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/pause\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\n\nconst result = await greatwait.request(\"schedules_pause\", scheduleId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"schedules_pause\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\n\nconst result = await greatwait.request(\"schedules_read\", scheduleId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"schedules_read\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X PUT \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"data\":{\"report\":\"weekly\"},\"everySeconds\":86400,\"endpoint\":\"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\"partitionKey\":\"campaign.spring\"}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\n\nconst body = {\n \"data\": {\n \"report\": \"weekly\"\n },\n \"everySeconds\": 86400,\n \"endpoint\": \"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\n \"partitionKey\": \"campaign.spring\"\n};\n\nconst result = await greatwait.request(\"schedules_replace\", scheduleId, body);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"scheduleId\": \"$SCHEDULEID\",\n \"data\": {\n \"report\": \"weekly\"\n },\n \"everySeconds\": 86400,\n \"endpoint\": \"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\n \"partitionKey\": \"campaign.spring\"\n },\n \"name\": \"schedules_replace\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/schedules/$GREATWAIT_SCHEDULEID/resume\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst scheduleId = process.env.GREATWAIT_SCHEDULEID;\n\nconst result = await greatwait.request(\"schedules_resume\", scheduleId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"scheduleId\": \"$SCHEDULEID\"\n },\n \"name\": \"schedules_resume\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/test-sinks/$GREATWAIT_SINKID/deliveries\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst sinkId = process.env.GREATWAIT_SINKID;\n\nconst result = await greatwait.request(\"sinkdeliveries_list\", sinkId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"sinkId\": \"$SINKID\"\n },\n \"name\": \"sinkdeliveries_list\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/test-sinks/$GREATWAIT_SINKID/deliveries/$GREATWAIT_DELIVERYRECORDID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst sinkId = process.env.GREATWAIT_SINKID;\nconst deliveryRecordId = process.env.GREATWAIT_DELIVERYRECORDID;\n\nconst result = await greatwait.request(\"sinkdeliveries_read\", sinkId, deliveryRecordId);",
|
|
4
|
+
"mcp": "// sinkdeliveries.read is not on the MCP surface.\n// The only operation that returns a delivered callback body. An agent handed it would put customer payload into ordinary tool history, which is the disclosure the narrow exception was written to avoid."
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X PUT \"$GREATWAIT_API_URL/v1/test-sinks/$GREATWAIT_SINKID/program\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"behavior\":\"timeout\"}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst sinkId = process.env.GREATWAIT_SINKID;\n\nconst body = {\n \"behavior\": \"timeout\"\n};\n\nconst result = await greatwait.request(\"testsinks_configure\", sinkId, body);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"behavior\": \"timeout\",\n \"sinkId\": \"$SINKID\"\n },\n \"name\": \"testsinks_configure\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X POST \"$GREATWAIT_API_URL/v1/test-sinks\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\" \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\"endpoint\":\"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\"program\":{\"behavior\":\"server_error\",\"forDeliveries\":2,\"then\":\"success\"}}'",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst body = {\n \"endpoint\": \"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\n \"program\": {\n \"behavior\": \"server_error\",\n \"forDeliveries\": 2,\n \"then\": \"success\"\n }\n};\n\nconst result = await greatwait.request(\"testsinks_create\", body);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"endpoint\": \"ep_01h8xyz9k2m4n6p8r0t2v4w6y8\",\n \"program\": {\n \"behavior\": \"server_error\",\n \"forDeliveries\": 2,\n \"then\": \"success\"\n }\n },\n \"name\": \"testsinks_create\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X DELETE \"$GREATWAIT_API_URL/v1/test-sinks/$GREATWAIT_SINKID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst sinkId = process.env.GREATWAIT_SINKID;\n\nconst result = await greatwait.request(\"testsinks_delete\", sinkId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"sinkId\": \"$SINKID\"\n },\n \"name\": \"testsinks_delete\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/test-sinks\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst result = await greatwait.request(\"testsinks_list\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {},\n \"name\": \"testsinks_list\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/test-sinks/$GREATWAIT_SINKID\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst sinkId = process.env.GREATWAIT_SINKID;\n\nconst result = await greatwait.request(\"testsinks_read\", sinkId);",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {\n \"sinkId\": \"$SINKID\"\n },\n \"name\": \"testsinks_read\"\n}"
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"curl": "curl -sS -X GET \"$GREATWAIT_API_URL/v1/usage\" \\\n --variable %GREATWAIT_API_KEY \\\n --expand-header \"Authorization: Bearer {{GREATWAIT_API_KEY}}\"",
|
|
3
|
+
"javascript": "import { createGreatwaitClient } from \"@greatwait/api-client\";\n\nconst greatwait = createGreatwaitClient({\n baseUrl: process.env.GREATWAIT_API_URL,\n credential: process.env.GREATWAIT_API_KEY,\n fetch,\n});\n\nconst result = await greatwait.request(\"usage_read\");",
|
|
4
|
+
"mcp": "// Any MCP client, against $GREATWAIT_API_URL/mcp.\n{\n \"arguments\": {},\n \"name\": \"usage_read\"\n}"
|
|
5
|
+
}
|