taggor 0.0.0-stage → 0.2.0

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.
@@ -0,0 +1,102 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "ok": {
8
+ "type": "boolean",
9
+ "const": true
10
+ },
11
+ "command": {
12
+ "type": "string",
13
+ "const": "sites server-keys create"
14
+ },
15
+ "data": {
16
+ "type": "object",
17
+ "properties": {
18
+ "id": {
19
+ "type": "string"
20
+ },
21
+ "display_prefix": {
22
+ "type": "string"
23
+ },
24
+ "created_by": {
25
+ "type": "string"
26
+ },
27
+ "created_at": {
28
+ "type": "string"
29
+ },
30
+ "site_id": {
31
+ "type": "string"
32
+ },
33
+ "site_key": {
34
+ "type": "string"
35
+ },
36
+ "env_name": {
37
+ "type": "string",
38
+ "const": "TAGGOR_SERVER_KEY"
39
+ },
40
+ "secret": {
41
+ "type": ["string", "null"]
42
+ },
43
+ "out": {
44
+ "type": ["string", "null"]
45
+ }
46
+ },
47
+ "required": [
48
+ "id",
49
+ "display_prefix",
50
+ "created_by",
51
+ "created_at",
52
+ "site_id",
53
+ "site_key",
54
+ "env_name",
55
+ "secret",
56
+ "out"
57
+ ],
58
+ "additionalProperties": false
59
+ }
60
+ },
61
+ "required": ["ok", "command", "data"],
62
+ "additionalProperties": false
63
+ },
64
+ {
65
+ "type": "object",
66
+ "properties": {
67
+ "ok": {
68
+ "type": "boolean",
69
+ "const": false
70
+ },
71
+ "command": {
72
+ "type": "string",
73
+ "const": "sites server-keys create"
74
+ },
75
+ "error": {
76
+ "type": "object",
77
+ "properties": {
78
+ "code": {
79
+ "type": "string"
80
+ },
81
+ "message": {
82
+ "type": "string"
83
+ },
84
+ "request_id": {
85
+ "type": ["string", "null"]
86
+ },
87
+ "exit_code": {
88
+ "type": "integer",
89
+ "minimum": -9007199254740991,
90
+ "maximum": 9007199254740991
91
+ }
92
+ },
93
+ "required": ["code", "message", "request_id", "exit_code"],
94
+ "additionalProperties": false
95
+ }
96
+ },
97
+ "required": ["ok", "command", "error"],
98
+ "additionalProperties": false
99
+ }
100
+ ],
101
+ "title": "taggor sites server-keys create --json"
102
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "ok": {
8
+ "type": "boolean",
9
+ "const": true
10
+ },
11
+ "command": {
12
+ "type": "string",
13
+ "const": "sites server-keys list"
14
+ },
15
+ "data": {
16
+ "type": "object",
17
+ "properties": {
18
+ "site_id": {
19
+ "type": "string"
20
+ },
21
+ "site_key": {
22
+ "type": "string"
23
+ },
24
+ "server_keys": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "object",
28
+ "properties": {
29
+ "id": {
30
+ "type": "string"
31
+ },
32
+ "display_prefix": {
33
+ "type": "string"
34
+ },
35
+ "created_by": {
36
+ "type": "string"
37
+ },
38
+ "created_at": {
39
+ "type": "string"
40
+ }
41
+ },
42
+ "required": ["id", "display_prefix", "created_by", "created_at"],
43
+ "additionalProperties": false
44
+ }
45
+ }
46
+ },
47
+ "required": ["site_id", "site_key", "server_keys"],
48
+ "additionalProperties": false
49
+ }
50
+ },
51
+ "required": ["ok", "command", "data"],
52
+ "additionalProperties": false
53
+ },
54
+ {
55
+ "type": "object",
56
+ "properties": {
57
+ "ok": {
58
+ "type": "boolean",
59
+ "const": false
60
+ },
61
+ "command": {
62
+ "type": "string",
63
+ "const": "sites server-keys list"
64
+ },
65
+ "error": {
66
+ "type": "object",
67
+ "properties": {
68
+ "code": {
69
+ "type": "string"
70
+ },
71
+ "message": {
72
+ "type": "string"
73
+ },
74
+ "request_id": {
75
+ "type": ["string", "null"]
76
+ },
77
+ "exit_code": {
78
+ "type": "integer",
79
+ "minimum": -9007199254740991,
80
+ "maximum": 9007199254740991
81
+ }
82
+ },
83
+ "required": ["code", "message", "request_id", "exit_code"],
84
+ "additionalProperties": false
85
+ }
86
+ },
87
+ "required": ["ok", "command", "error"],
88
+ "additionalProperties": false
89
+ }
90
+ ],
91
+ "title": "taggor sites server-keys list --json"
92
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "ok": {
8
+ "type": "boolean",
9
+ "const": true
10
+ },
11
+ "command": {
12
+ "type": "string",
13
+ "const": "sites server-keys revoke"
14
+ },
15
+ "data": {
16
+ "type": "object",
17
+ "properties": {
18
+ "id": {
19
+ "type": "string"
20
+ },
21
+ "display_prefix": {
22
+ "type": "string"
23
+ },
24
+ "created_by": {
25
+ "type": "string"
26
+ },
27
+ "created_at": {
28
+ "type": "string"
29
+ },
30
+ "site_id": {
31
+ "type": "string"
32
+ },
33
+ "site_key": {
34
+ "type": "string"
35
+ },
36
+ "revoked_at": {
37
+ "type": ["string", "null"]
38
+ },
39
+ "remaining": {
40
+ "anyOf": [
41
+ {
42
+ "type": "integer",
43
+ "minimum": -9007199254740991,
44
+ "maximum": 9007199254740991
45
+ },
46
+ {
47
+ "type": "null"
48
+ }
49
+ ]
50
+ }
51
+ },
52
+ "required": [
53
+ "id",
54
+ "display_prefix",
55
+ "created_by",
56
+ "created_at",
57
+ "site_id",
58
+ "site_key",
59
+ "revoked_at",
60
+ "remaining"
61
+ ],
62
+ "additionalProperties": false
63
+ }
64
+ },
65
+ "required": ["ok", "command", "data"],
66
+ "additionalProperties": false
67
+ },
68
+ {
69
+ "type": "object",
70
+ "properties": {
71
+ "ok": {
72
+ "type": "boolean",
73
+ "const": false
74
+ },
75
+ "command": {
76
+ "type": "string",
77
+ "const": "sites server-keys revoke"
78
+ },
79
+ "error": {
80
+ "type": "object",
81
+ "properties": {
82
+ "code": {
83
+ "type": "string"
84
+ },
85
+ "message": {
86
+ "type": "string"
87
+ },
88
+ "request_id": {
89
+ "type": ["string", "null"]
90
+ },
91
+ "exit_code": {
92
+ "type": "integer",
93
+ "minimum": -9007199254740991,
94
+ "maximum": 9007199254740991
95
+ }
96
+ },
97
+ "required": ["code", "message", "request_id", "exit_code"],
98
+ "additionalProperties": false
99
+ }
100
+ },
101
+ "required": ["ok", "command", "error"],
102
+ "additionalProperties": false
103
+ }
104
+ ],
105
+ "title": "taggor sites server-keys revoke --json"
106
+ }
@@ -0,0 +1,76 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "ok": {
8
+ "type": "boolean",
9
+ "const": true
10
+ },
11
+ "command": {
12
+ "type": "string",
13
+ "const": "sites snippet"
14
+ },
15
+ "data": {
16
+ "type": "object",
17
+ "properties": {
18
+ "site_id": {
19
+ "type": "string"
20
+ },
21
+ "site_key": {
22
+ "type": "string"
23
+ },
24
+ "html": {
25
+ "type": "string"
26
+ },
27
+ "src": {
28
+ "type": "string"
29
+ }
30
+ },
31
+ "required": ["site_id", "site_key", "html", "src"],
32
+ "additionalProperties": false
33
+ }
34
+ },
35
+ "required": ["ok", "command", "data"],
36
+ "additionalProperties": false
37
+ },
38
+ {
39
+ "type": "object",
40
+ "properties": {
41
+ "ok": {
42
+ "type": "boolean",
43
+ "const": false
44
+ },
45
+ "command": {
46
+ "type": "string",
47
+ "const": "sites snippet"
48
+ },
49
+ "error": {
50
+ "type": "object",
51
+ "properties": {
52
+ "code": {
53
+ "type": "string"
54
+ },
55
+ "message": {
56
+ "type": "string"
57
+ },
58
+ "request_id": {
59
+ "type": ["string", "null"]
60
+ },
61
+ "exit_code": {
62
+ "type": "integer",
63
+ "minimum": -9007199254740991,
64
+ "maximum": 9007199254740991
65
+ }
66
+ },
67
+ "required": ["code", "message", "request_id", "exit_code"],
68
+ "additionalProperties": false
69
+ }
70
+ },
71
+ "required": ["ok", "command", "error"],
72
+ "additionalProperties": false
73
+ }
74
+ ],
75
+ "title": "taggor sites snippet --json"
76
+ }
@@ -0,0 +1,227 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "ok": {
8
+ "type": "boolean",
9
+ "const": true
10
+ },
11
+ "command": {
12
+ "type": "string",
13
+ "const": "usage"
14
+ },
15
+ "data": {
16
+ "type": "object",
17
+ "properties": {
18
+ "plan_id": {
19
+ "type": "string"
20
+ },
21
+ "as_of": {
22
+ "type": "string"
23
+ },
24
+ "limits": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "object",
28
+ "properties": {
29
+ "name": {
30
+ "type": "string"
31
+ },
32
+ "unit": {
33
+ "type": "string"
34
+ },
35
+ "window": {
36
+ "type": "string"
37
+ },
38
+ "notice": {
39
+ "type": "string"
40
+ },
41
+ "limit": {
42
+ "type": "integer",
43
+ "minimum": -9007199254740991,
44
+ "maximum": 9007199254740991
45
+ },
46
+ "used": {
47
+ "anyOf": [
48
+ {
49
+ "type": "integer",
50
+ "minimum": -9007199254740991,
51
+ "maximum": 9007199254740991
52
+ },
53
+ {
54
+ "type": "null"
55
+ }
56
+ ]
57
+ },
58
+ "percent": {
59
+ "anyOf": [
60
+ {
61
+ "type": "integer",
62
+ "minimum": -9007199254740991,
63
+ "maximum": 9007199254740991
64
+ },
65
+ {
66
+ "type": "null"
67
+ }
68
+ ]
69
+ },
70
+ "level": {
71
+ "type": ["string", "null"]
72
+ },
73
+ "resets_at": {
74
+ "type": ["string", "null"]
75
+ },
76
+ "detail": {
77
+ "type": ["string", "null"]
78
+ },
79
+ "policy": {
80
+ "type": "string"
81
+ },
82
+ "overage_quantity": {
83
+ "anyOf": [
84
+ {
85
+ "type": "integer",
86
+ "minimum": -9007199254740991,
87
+ "maximum": 9007199254740991
88
+ },
89
+ {
90
+ "type": "null"
91
+ }
92
+ ]
93
+ }
94
+ },
95
+ "required": [
96
+ "name",
97
+ "unit",
98
+ "window",
99
+ "notice",
100
+ "limit",
101
+ "used",
102
+ "percent",
103
+ "level",
104
+ "resets_at",
105
+ "detail",
106
+ "policy",
107
+ "overage_quantity"
108
+ ],
109
+ "additionalProperties": false
110
+ }
111
+ },
112
+ "overage": {
113
+ "type": "object",
114
+ "properties": {
115
+ "mode": {
116
+ "type": "string"
117
+ },
118
+ "enabled": {
119
+ "type": "boolean"
120
+ },
121
+ "spend_cap_usd_cents": {
122
+ "anyOf": [
123
+ {
124
+ "type": "integer",
125
+ "minimum": -9007199254740991,
126
+ "maximum": 9007199254740991
127
+ },
128
+ {
129
+ "type": "null"
130
+ }
131
+ ]
132
+ },
133
+ "spend_cap_used_percent": {
134
+ "type": "integer",
135
+ "minimum": -9007199254740991,
136
+ "maximum": 9007199254740991
137
+ },
138
+ "spend_cap_reached": {
139
+ "type": "boolean"
140
+ },
141
+ "estimated_cost_usd_micros": {
142
+ "type": "integer",
143
+ "minimum": -9007199254740991,
144
+ "maximum": 9007199254740991
145
+ },
146
+ "items": {
147
+ "type": "array",
148
+ "items": {
149
+ "type": "object",
150
+ "properties": {
151
+ "metric": {
152
+ "type": "string"
153
+ },
154
+ "quantity": {
155
+ "type": "integer",
156
+ "minimum": -9007199254740991,
157
+ "maximum": 9007199254740991
158
+ },
159
+ "estimated_cost_usd_micros": {
160
+ "type": "integer",
161
+ "minimum": -9007199254740991,
162
+ "maximum": 9007199254740991
163
+ }
164
+ },
165
+ "required": ["metric", "quantity", "estimated_cost_usd_micros"],
166
+ "additionalProperties": false
167
+ }
168
+ }
169
+ },
170
+ "required": [
171
+ "mode",
172
+ "enabled",
173
+ "spend_cap_usd_cents",
174
+ "spend_cap_used_percent",
175
+ "spend_cap_reached",
176
+ "estimated_cost_usd_micros",
177
+ "items"
178
+ ],
179
+ "additionalProperties": false
180
+ }
181
+ },
182
+ "required": ["plan_id", "as_of", "limits", "overage"],
183
+ "additionalProperties": false
184
+ }
185
+ },
186
+ "required": ["ok", "command", "data"],
187
+ "additionalProperties": false
188
+ },
189
+ {
190
+ "type": "object",
191
+ "properties": {
192
+ "ok": {
193
+ "type": "boolean",
194
+ "const": false
195
+ },
196
+ "command": {
197
+ "type": "string",
198
+ "const": "usage"
199
+ },
200
+ "error": {
201
+ "type": "object",
202
+ "properties": {
203
+ "code": {
204
+ "type": "string"
205
+ },
206
+ "message": {
207
+ "type": "string"
208
+ },
209
+ "request_id": {
210
+ "type": ["string", "null"]
211
+ },
212
+ "exit_code": {
213
+ "type": "integer",
214
+ "minimum": -9007199254740991,
215
+ "maximum": 9007199254740991
216
+ }
217
+ },
218
+ "required": ["code", "message", "request_id", "exit_code"],
219
+ "additionalProperties": false
220
+ }
221
+ },
222
+ "required": ["ok", "command", "error"],
223
+ "additionalProperties": false
224
+ }
225
+ ],
226
+ "title": "taggor usage --json"
227
+ }