@nbt-dev/nbt 0.0.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.
@@ -0,0 +1,137 @@
1
+ {
2
+ "cartridge": "embed",
3
+ "version": "0.0.1",
4
+ "owns": {
5
+ "Embedding_Model": {
6
+ "fields": [
7
+ { "name": "id", "type": "ULID", "kind": "scalar" },
8
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
9
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
10
+ { "name": "qualified_name", "type": "string", "kind": "scalar" },
11
+ { "name": "provider_name", "type": "string", "kind": "scalar" },
12
+ { "name": "model_name", "type": "string", "kind": "scalar" },
13
+ { "name": "endpoint", "type": "string", "kind": "scalar" },
14
+ { "name": "api_key_env", "type": "string", "kind": "scalar" },
15
+ { "name": "dim", "type": "u32", "kind": "scalar" },
16
+ { "name": "supports", "type": "u32", "kind": "scalar" },
17
+ { "name": "unified_space", "type": "bool", "kind": "scalar" },
18
+ { "name": "price_per_1m", "type": "float", "kind": "scalar" },
19
+ { "name": "retired", "type": "bool", "kind": "scalar" },
20
+ { "name": "created_at", "type": "DateTime", "kind": "scalar" }
21
+ ],
22
+ "indices": [["qualified_name"], ["provider_name"]],
23
+ "searchFields": [],
24
+ "methods": [
25
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Embedding_Model" } ] },
26
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Embedding_Model>" } ] },
27
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
28
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "qualified_name", "type": "string" }, { "name": "provider_name", "type": "string" }, { "name": "model_name", "type": "string" }, { "name": "endpoint", "type": "string" }, { "name": "api_key_env", "type": "string" }, { "name": "dim", "type": "u32" }, { "name": "supports", "type": "u32" }, { "name": "unified_space", "type": "bool" }, { "name": "price_per_1m", "type": "float" }, { "name": "retired", "type": "bool" }], "outputs": [ { "name": "out", "type": "Embedding_Model" } ] },
29
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "qualified_name", "type": "string", "optional": true }, { "name": "provider_name", "type": "string", "optional": true }, { "name": "model_name", "type": "string", "optional": true }, { "name": "endpoint", "type": "string", "optional": true }, { "name": "api_key_env", "type": "string", "optional": true }, { "name": "dim", "type": "u32", "optional": true }, { "name": "supports", "type": "u32", "optional": true }, { "name": "unified_space", "type": "bool", "optional": true }, { "name": "price_per_1m", "type": "float", "optional": true }, { "name": "retired", "type": "bool", "optional": true }], "outputs": [ { "name": "out", "type": "Embedding_Model" } ] },
30
+ { "name": "find_by_qualified_name", "inputs": [ { "name": "qualified_name", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Embedding_Model>" } ] },
31
+ { "name": "find_by_provider_name", "inputs": [ { "name": "provider_name", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Embedding_Model>" } ] }
32
+ ],
33
+ "routes": [
34
+ { "op": "list", "method": "GET", "path": "/api/embed/embedding_model" },
35
+ { "op": "create", "method": "POST", "path": "/api/embed/embedding_model" },
36
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/embed/embedding_model" },
37
+ { "op": "count", "method": "GET", "path": "/api/embed/embedding_model/count" },
38
+ { "op": "batch_get", "method": "POST", "path": "/api/embed/embedding_model/_batch" },
39
+ { "op": "get", "method": "GET", "path": "/api/embed/embedding_model/:id" },
40
+ { "op": "update", "method": "PUT", "path": "/api/embed/embedding_model/:id" },
41
+ { "op": "delete", "method": "DELETE", "path": "/api/embed/embedding_model/:id" }
42
+ ],
43
+ "exported": false
44
+ },
45
+ "Embedding_Set": {
46
+ "fields": [
47
+ { "name": "id", "type": "ULID", "kind": "scalar" },
48
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
49
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
50
+ { "name": "name", "type": "string", "kind": "scalar" },
51
+ { "name": "description", "type": "string", "kind": "scalar" },
52
+ { "name": "root_entity_ref", "type": "string", "kind": "scalar" },
53
+ { "name": "template_html", "type": "string", "kind": "scalar" },
54
+ { "name": "template_text", "type": "string", "kind": "scalar" },
55
+ { "name": "query_template", "type": "string", "kind": "scalar" },
56
+ { "name": "model_qname", "type": "string", "kind": "scalar" },
57
+ { "name": "chunk_size", "type": "u32", "kind": "scalar" },
58
+ { "name": "active", "type": "bool", "kind": "scalar" },
59
+ { "name": "entity_type_id", "type": "u32", "kind": "scalar" },
60
+ { "name": "created_at", "type": "DateTime", "kind": "scalar" },
61
+ { "name": "updated_at", "type": "DateTime", "kind": "scalar" },
62
+ { "name": "template_version", "type": "u32", "kind": "scalar" }
63
+ ],
64
+ "indices": [["name"], ["root_entity_ref"]],
65
+ "searchFields": [],
66
+ "methods": [
67
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Embedding_Set" } ] },
68
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Embedding_Set>" } ] },
69
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
70
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "name", "type": "string" }, { "name": "description", "type": "string" }, { "name": "root_entity_ref", "type": "string" }, { "name": "template_html", "type": "string" }, { "name": "template_text", "type": "string" }, { "name": "query_template", "type": "string" }, { "name": "model_qname", "type": "string" }, { "name": "chunk_size", "type": "u32" }, { "name": "active", "type": "bool" }, { "name": "entity_type_id", "type": "u32" }, { "name": "template_version", "type": "u32" }], "outputs": [ { "name": "out", "type": "Embedding_Set" } ] },
71
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "name", "type": "string", "optional": true }, { "name": "description", "type": "string", "optional": true }, { "name": "root_entity_ref", "type": "string", "optional": true }, { "name": "template_html", "type": "string", "optional": true }, { "name": "template_text", "type": "string", "optional": true }, { "name": "query_template", "type": "string", "optional": true }, { "name": "model_qname", "type": "string", "optional": true }, { "name": "chunk_size", "type": "u32", "optional": true }, { "name": "active", "type": "bool", "optional": true }, { "name": "entity_type_id", "type": "u32", "optional": true }, { "name": "template_version", "type": "u32", "optional": true }], "outputs": [ { "name": "out", "type": "Embedding_Set" } ] },
72
+ { "name": "find_by_name", "inputs": [ { "name": "name", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Embedding_Set>" } ] },
73
+ { "name": "find_by_root_entity_ref", "inputs": [ { "name": "root_entity_ref", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Embedding_Set>" } ] }
74
+ ],
75
+ "routes": [
76
+ { "op": "list", "method": "GET", "path": "/api/embed/embedding_set" },
77
+ { "op": "create", "method": "POST", "path": "/api/embed/embedding_set" },
78
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/embed/embedding_set" },
79
+ { "op": "count", "method": "GET", "path": "/api/embed/embedding_set/count" },
80
+ { "op": "batch_get", "method": "POST", "path": "/api/embed/embedding_set/_batch" },
81
+ { "op": "get", "method": "GET", "path": "/api/embed/embedding_set/:id" },
82
+ { "op": "update", "method": "PUT", "path": "/api/embed/embedding_set/:id" },
83
+ { "op": "delete", "method": "DELETE", "path": "/api/embed/embedding_set/:id" }
84
+ ],
85
+ "exported": false
86
+ },
87
+ "Embedding_Run": {
88
+ "fields": [
89
+ { "name": "id", "type": "ULID", "kind": "scalar" },
90
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
91
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
92
+ { "name": "set_id", "type": "string", "kind": "scalar" },
93
+ { "name": "kind", "type": "string", "kind": "scalar" },
94
+ { "name": "status", "type": "string", "kind": "scalar" },
95
+ { "name": "total", "type": "u64", "kind": "scalar" },
96
+ { "name": "processed", "type": "u64", "kind": "scalar" },
97
+ { "name": "cancelled", "type": "u64", "kind": "scalar" },
98
+ { "name": "error", "type": "string", "kind": "scalar" },
99
+ { "name": "template_version", "type": "u32", "kind": "scalar" },
100
+ { "name": "started_at", "type": "DateTime", "kind": "scalar" },
101
+ { "name": "finished_at", "type": "DateTime", "kind": "scalar" }
102
+ ],
103
+ "indices": [["set_id"]],
104
+ "searchFields": [],
105
+ "methods": [
106
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Embedding_Run" } ] },
107
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Embedding_Run>" } ] },
108
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
109
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "set_id", "type": "string" }, { "name": "kind", "type": "string" }, { "name": "status", "type": "string" }, { "name": "total", "type": "u64" }, { "name": "processed", "type": "u64" }, { "name": "cancelled", "type": "u64" }, { "name": "error", "type": "string" }, { "name": "template_version", "type": "u32" }, { "name": "finished_at", "type": "DateTime" }], "outputs": [ { "name": "out", "type": "Embedding_Run" } ] },
110
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "set_id", "type": "string", "optional": true }, { "name": "kind", "type": "string", "optional": true }, { "name": "status", "type": "string", "optional": true }, { "name": "total", "type": "u64", "optional": true }, { "name": "processed", "type": "u64", "optional": true }, { "name": "cancelled", "type": "u64", "optional": true }, { "name": "error", "type": "string", "optional": true }, { "name": "template_version", "type": "u32", "optional": true }, { "name": "finished_at", "type": "DateTime", "optional": true }], "outputs": [ { "name": "out", "type": "Embedding_Run" } ] },
111
+ { "name": "find_by_set_id", "inputs": [ { "name": "set_id", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Embedding_Run>" } ] }
112
+ ],
113
+ "routes": [
114
+ { "op": "list", "method": "GET", "path": "/api/embed/embedding_run" },
115
+ { "op": "create", "method": "POST", "path": "/api/embed/embedding_run" },
116
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/embed/embedding_run" },
117
+ { "op": "count", "method": "GET", "path": "/api/embed/embedding_run/count" },
118
+ { "op": "batch_get", "method": "POST", "path": "/api/embed/embedding_run/_batch" },
119
+ { "op": "get", "method": "GET", "path": "/api/embed/embedding_run/:id" },
120
+ { "op": "update", "method": "PUT", "path": "/api/embed/embedding_run/:id" },
121
+ { "op": "delete", "method": "DELETE", "path": "/api/embed/embedding_run/:id" }
122
+ ],
123
+ "exported": false
124
+ }
125
+ },
126
+ "structs": [],
127
+ "enums": [],
128
+ "imports": {
129
+ },
130
+ "actions": [],
131
+ "middleware": [],
132
+ "workflows": [],
133
+ "schedules": [],
134
+ "tasks": [],
135
+ "tools": [],
136
+ "widgets": []
137
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "cartridge": "ingest",
3
+ "version": "1.0.0",
4
+ "owns": {
5
+ "Endpoint": {
6
+ "fields": [
7
+ { "name": "id", "type": "ULID", "kind": "scalar" },
8
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
9
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
10
+ { "name": "name", "type": "string", "kind": "scalar" },
11
+ { "name": "slug", "type": "string", "kind": "scalar" },
12
+ { "name": "status", "type": "string", "kind": "scalar" },
13
+ { "name": "secret", "type": "string", "kind": "scalar" },
14
+ { "name": "payloadCount", "type": "u64", "kind": "scalar" },
15
+ { "name": "errorCount", "type": "u64", "kind": "scalar" },
16
+ { "name": "systemId", "type": "string", "optional": true, "kind": "scalar" }
17
+ ],
18
+ "indices": [["slug"]],
19
+ "searchFields": [],
20
+ "methods": [
21
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Endpoint" } ] },
22
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Endpoint>" } ] },
23
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
24
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "name", "type": "string" }, { "name": "slug", "type": "string" }, { "name": "status", "type": "string" }, { "name": "secret", "type": "string" }, { "name": "payloadCount", "type": "u64" }, { "name": "errorCount", "type": "u64" }, { "name": "systemId", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "Endpoint" } ] },
25
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "name", "type": "string", "optional": true }, { "name": "slug", "type": "string", "optional": true }, { "name": "status", "type": "string", "optional": true }, { "name": "secret", "type": "string", "optional": true }, { "name": "payloadCount", "type": "u64", "optional": true }, { "name": "errorCount", "type": "u64", "optional": true }, { "name": "systemId", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "Endpoint" } ] },
26
+ { "name": "find_by_slug", "inputs": [ { "name": "slug", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Endpoint>" } ] }
27
+ ],
28
+ "routes": [
29
+ { "op": "list", "method": "GET", "path": "/api/ingest/endpoint" },
30
+ { "op": "create", "method": "POST", "path": "/api/ingest/endpoint" },
31
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/ingest/endpoint" },
32
+ { "op": "count", "method": "GET", "path": "/api/ingest/endpoint/count" },
33
+ { "op": "batch_get", "method": "POST", "path": "/api/ingest/endpoint/_batch" },
34
+ { "op": "get", "method": "GET", "path": "/api/ingest/endpoint/:id" },
35
+ { "op": "update", "method": "PUT", "path": "/api/ingest/endpoint/:id" },
36
+ { "op": "delete", "method": "DELETE", "path": "/api/ingest/endpoint/:id" }
37
+ ],
38
+ "exported": false
39
+ },
40
+ "Payload": {
41
+ "fields": [
42
+ { "name": "id", "type": "ULID", "kind": "scalar" },
43
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
44
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
45
+ { "name": "endpointId", "type": "string", "kind": "scalar" },
46
+ { "name": "headers", "type": "string", "kind": "scalar" },
47
+ { "name": "body", "type": "document", "kind": "document", "doc_schema_id": 1178861568, "scope_field": "endpointId", "domain_base": 1178861569 },
48
+ { "name": "status", "type": "string", "kind": "scalar" },
49
+ { "name": "sourceIp", "type": "string", "kind": "scalar" },
50
+ { "name": "errorMessage", "type": "string", "kind": "scalar" }
51
+ ],
52
+ "indices": [["endpointId"]],
53
+ "searchFields": [],
54
+ "methods": [
55
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Payload" } ] },
56
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Payload>" } ] },
57
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
58
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "endpointId", "type": "string" }, { "name": "headers", "type": "string" }, { "name": "body", "type": "document" }, { "name": "status", "type": "string" }, { "name": "sourceIp", "type": "string" }, { "name": "errorMessage", "type": "string" }], "outputs": [ { "name": "out", "type": "Payload" } ] },
59
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "endpointId", "type": "string", "optional": true }, { "name": "headers", "type": "string", "optional": true }, { "name": "body", "type": "document", "optional": true }, { "name": "status", "type": "string", "optional": true }, { "name": "sourceIp", "type": "string", "optional": true }, { "name": "errorMessage", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "Payload" } ] },
60
+ { "name": "find_by_endpointId", "inputs": [ { "name": "endpointId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Payload>" } ] }
61
+ ],
62
+ "routes": [
63
+ { "op": "list", "method": "GET", "path": "/api/ingest/payload" },
64
+ { "op": "create", "method": "POST", "path": "/api/ingest/payload" },
65
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/ingest/payload" },
66
+ { "op": "count", "method": "GET", "path": "/api/ingest/payload/count" },
67
+ { "op": "batch_get", "method": "POST", "path": "/api/ingest/payload/_batch" },
68
+ { "op": "get", "method": "GET", "path": "/api/ingest/payload/:id" },
69
+ { "op": "update", "method": "PUT", "path": "/api/ingest/payload/:id" },
70
+ { "op": "delete", "method": "DELETE", "path": "/api/ingest/payload/:id" }
71
+ ],
72
+ "exported": false
73
+ }
74
+ },
75
+ "structs": [],
76
+ "enums": [],
77
+ "imports": {
78
+ },
79
+ "actions": [],
80
+ "middleware": [],
81
+ "workflows": [],
82
+ "schedules": [],
83
+ "tasks": [],
84
+ "tools": [],
85
+ "widgets": []
86
+ }
@@ -0,0 +1,133 @@
1
+ {
2
+ "cartridge": "notifications",
3
+ "version": "0.1.0",
4
+ "owns": {
5
+ "Notification": {
6
+ "fields": [
7
+ { "name": "id", "type": "ULID", "kind": "scalar" },
8
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
9
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
10
+ { "name": "userId", "type": "string", "kind": "scalar" },
11
+ { "name": "projectId", "type": "string", "optional": true, "kind": "scalar" },
12
+ { "name": "sourceCart", "type": "string", "optional": true, "kind": "scalar" },
13
+ { "name": "sourceId", "type": "string", "optional": true, "kind": "scalar" },
14
+ { "name": "kind", "type": "string", "kind": "scalar" },
15
+ { "name": "title", "type": "string", "kind": "scalar" },
16
+ { "name": "body", "type": "string", "optional": true, "kind": "scalar" },
17
+ { "name": "url", "type": "string", "optional": true, "kind": "scalar" },
18
+ { "name": "payloadJson", "type": "string", "optional": true, "kind": "scalar" },
19
+ { "name": "readAt", "type": "DateTime", "optional": true, "kind": "scalar" },
20
+ { "name": "archivedAt", "type": "DateTime", "optional": true, "kind": "scalar" }
21
+ ],
22
+ "indices": [["userId"], ["projectId"], ["sourceCart", "sourceId"]],
23
+ "searchFields": [],
24
+ "methods": [
25
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Notification" } ] },
26
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Notification>" } ] },
27
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
28
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "userId", "type": "string" }, { "name": "kind", "type": "string" }, { "name": "title", "type": "string" }, { "name": "projectId", "type": "string", "optional": true }, { "name": "sourceCart", "type": "string", "optional": true }, { "name": "sourceId", "type": "string", "optional": true }, { "name": "body", "type": "string", "optional": true }, { "name": "url", "type": "string", "optional": true }, { "name": "payloadJson", "type": "string", "optional": true }, { "name": "readAt", "type": "DateTime", "optional": true }, { "name": "archivedAt", "type": "DateTime", "optional": true }], "outputs": [ { "name": "out", "type": "Notification" } ] },
29
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "userId", "type": "string", "optional": true }, { "name": "projectId", "type": "string", "optional": true }, { "name": "sourceCart", "type": "string", "optional": true }, { "name": "sourceId", "type": "string", "optional": true }, { "name": "kind", "type": "string", "optional": true }, { "name": "title", "type": "string", "optional": true }, { "name": "body", "type": "string", "optional": true }, { "name": "url", "type": "string", "optional": true }, { "name": "payloadJson", "type": "string", "optional": true }, { "name": "readAt", "type": "DateTime", "optional": true }, { "name": "archivedAt", "type": "DateTime", "optional": true }], "outputs": [ { "name": "out", "type": "Notification" } ] },
30
+ { "name": "find_by_userId", "inputs": [ { "name": "userId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Notification>" } ] },
31
+ { "name": "find_by_projectId", "inputs": [ { "name": "projectId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Notification>" } ] }
32
+ ],
33
+ "routes": [
34
+ { "op": "list", "method": "GET", "path": "/api/notifications/notification" },
35
+ { "op": "create", "method": "POST", "path": "/api/notifications/notification" },
36
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/notifications/notification" },
37
+ { "op": "count", "method": "GET", "path": "/api/notifications/notification/count" },
38
+ { "op": "batch_get", "method": "POST", "path": "/api/notifications/notification/_batch" },
39
+ { "op": "get", "method": "GET", "path": "/api/notifications/notification/:id" },
40
+ { "op": "update", "method": "PUT", "path": "/api/notifications/notification/:id" },
41
+ { "op": "delete", "method": "DELETE", "path": "/api/notifications/notification/:id" }
42
+ ],
43
+ "exported": false
44
+ },
45
+ "NotificationDelivery": {
46
+ "fields": [
47
+ { "name": "id", "type": "ULID", "kind": "scalar" },
48
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
49
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
50
+ { "name": "notificationId", "type": "string", "kind": "scalar" },
51
+ { "name": "userId", "type": "string", "kind": "scalar" },
52
+ { "name": "channel", "type": "string", "kind": "scalar" },
53
+ { "name": "status", "type": "string", "kind": "scalar" },
54
+ { "name": "attempts", "type": "u32", "kind": "scalar" },
55
+ { "name": "lastError", "type": "string", "optional": true, "kind": "scalar" },
56
+ { "name": "providerMessageId", "type": "string", "optional": true, "kind": "scalar" },
57
+ { "name": "lastAttemptAt", "type": "DateTime", "optional": true, "kind": "scalar" },
58
+ { "name": "sentAt", "type": "DateTime", "optional": true, "kind": "scalar" }
59
+ ],
60
+ "indices": [["notificationId"], ["userId"], ["channel", "status"]],
61
+ "searchFields": [],
62
+ "methods": [
63
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "NotificationDelivery" } ] },
64
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<NotificationDelivery>" } ] },
65
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
66
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "notificationId", "type": "string" }, { "name": "userId", "type": "string" }, { "name": "channel", "type": "string" }, { "name": "status", "type": "string" }, { "name": "attempts", "type": "u32" }, { "name": "lastError", "type": "string", "optional": true }, { "name": "providerMessageId", "type": "string", "optional": true }, { "name": "lastAttemptAt", "type": "DateTime", "optional": true }, { "name": "sentAt", "type": "DateTime", "optional": true }], "outputs": [ { "name": "out", "type": "NotificationDelivery" } ] },
67
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "notificationId", "type": "string", "optional": true }, { "name": "userId", "type": "string", "optional": true }, { "name": "channel", "type": "string", "optional": true }, { "name": "status", "type": "string", "optional": true }, { "name": "attempts", "type": "u32", "optional": true }, { "name": "lastError", "type": "string", "optional": true }, { "name": "providerMessageId", "type": "string", "optional": true }, { "name": "lastAttemptAt", "type": "DateTime", "optional": true }, { "name": "sentAt", "type": "DateTime", "optional": true }], "outputs": [ { "name": "out", "type": "NotificationDelivery" } ] },
68
+ { "name": "find_by_notificationId", "inputs": [ { "name": "notificationId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<NotificationDelivery>" } ] },
69
+ { "name": "find_by_userId", "inputs": [ { "name": "userId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<NotificationDelivery>" } ] }
70
+ ],
71
+ "routes": [
72
+ { "op": "list", "method": "GET", "path": "/api/notifications/notificationdelivery" },
73
+ { "op": "create", "method": "POST", "path": "/api/notifications/notificationdelivery" },
74
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/notifications/notificationdelivery" },
75
+ { "op": "count", "method": "GET", "path": "/api/notifications/notificationdelivery/count" },
76
+ { "op": "batch_get", "method": "POST", "path": "/api/notifications/notificationdelivery/_batch" },
77
+ { "op": "get", "method": "GET", "path": "/api/notifications/notificationdelivery/:id" },
78
+ { "op": "update", "method": "PUT", "path": "/api/notifications/notificationdelivery/:id" },
79
+ { "op": "delete", "method": "DELETE", "path": "/api/notifications/notificationdelivery/:id" }
80
+ ],
81
+ "exported": false
82
+ },
83
+ "BrowserPushSubscription": {
84
+ "fields": [
85
+ { "name": "id", "type": "ULID", "kind": "scalar" },
86
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
87
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
88
+ { "name": "userId", "type": "string", "kind": "scalar" },
89
+ { "name": "endpoint", "type": "string", "kind": "scalar" },
90
+ { "name": "p256dh", "type": "string", "kind": "scalar" },
91
+ { "name": "auth", "type": "string", "kind": "scalar" },
92
+ { "name": "expirationTimeMs", "type": "u64", "optional": true, "kind": "scalar" },
93
+ { "name": "userAgent", "type": "string", "optional": true, "kind": "scalar" },
94
+ { "name": "deviceLabel", "type": "string", "optional": true, "kind": "scalar" },
95
+ { "name": "lastSeenAt", "type": "DateTime", "kind": "scalar" },
96
+ { "name": "disabledAt", "type": "DateTime", "optional": true, "kind": "scalar" }
97
+ ],
98
+ "indices": [["endpoint"], ["userId"]],
99
+ "searchFields": [],
100
+ "methods": [
101
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "BrowserPushSubscription" } ] },
102
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<BrowserPushSubscription>" } ] },
103
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
104
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "userId", "type": "string" }, { "name": "endpoint", "type": "string" }, { "name": "p256dh", "type": "string" }, { "name": "auth", "type": "string" }, { "name": "expirationTimeMs", "type": "u64", "optional": true }, { "name": "userAgent", "type": "string", "optional": true }, { "name": "deviceLabel", "type": "string", "optional": true }, { "name": "disabledAt", "type": "DateTime", "optional": true }], "outputs": [ { "name": "out", "type": "BrowserPushSubscription" } ] },
105
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "userId", "type": "string", "optional": true }, { "name": "endpoint", "type": "string", "optional": true }, { "name": "p256dh", "type": "string", "optional": true }, { "name": "auth", "type": "string", "optional": true }, { "name": "expirationTimeMs", "type": "u64", "optional": true }, { "name": "userAgent", "type": "string", "optional": true }, { "name": "deviceLabel", "type": "string", "optional": true }, { "name": "disabledAt", "type": "DateTime", "optional": true }], "outputs": [ { "name": "out", "type": "BrowserPushSubscription" } ] },
106
+ { "name": "find_by_endpoint", "inputs": [ { "name": "endpoint", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<BrowserPushSubscription>" } ] },
107
+ { "name": "find_by_userId", "inputs": [ { "name": "userId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<BrowserPushSubscription>" } ] }
108
+ ],
109
+ "routes": [
110
+ { "op": "list", "method": "GET", "path": "/api/notifications/browserpushsubscription" },
111
+ { "op": "create", "method": "POST", "path": "/api/notifications/browserpushsubscription" },
112
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/notifications/browserpushsubscription" },
113
+ { "op": "count", "method": "GET", "path": "/api/notifications/browserpushsubscription/count" },
114
+ { "op": "batch_get", "method": "POST", "path": "/api/notifications/browserpushsubscription/_batch" },
115
+ { "op": "get", "method": "GET", "path": "/api/notifications/browserpushsubscription/:id" },
116
+ { "op": "update", "method": "PUT", "path": "/api/notifications/browserpushsubscription/:id" },
117
+ { "op": "delete", "method": "DELETE", "path": "/api/notifications/browserpushsubscription/:id" }
118
+ ],
119
+ "exported": false
120
+ }
121
+ },
122
+ "structs": [],
123
+ "enums": [],
124
+ "imports": {
125
+ },
126
+ "actions": [],
127
+ "middleware": [],
128
+ "workflows": [],
129
+ "schedules": [],
130
+ "tasks": [],
131
+ "tools": [],
132
+ "widgets": []
133
+ }
@@ -0,0 +1,168 @@
1
+ {
2
+ "cartridge": "phone",
3
+ "version": "0.1.0",
4
+ "owns": {
5
+ "TwilioAccount": {
6
+ "fields": [
7
+ { "name": "id", "type": "ULID", "kind": "scalar" },
8
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
9
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
10
+ { "name": "name", "type": "string", "kind": "scalar" },
11
+ { "name": "subAccountSid", "type": "string", "kind": "scalar" },
12
+ { "name": "authToken", "type": "string", "kind": "scalar" },
13
+ { "name": "publicUrlBase", "type": "string", "kind": "scalar" },
14
+ { "name": "status", "type": "string", "kind": "scalar" },
15
+ { "name": "retentionDays", "type": "s32", "kind": "scalar" }
16
+ ],
17
+ "indices": [["name"], ["subAccountSid"]],
18
+ "searchFields": [],
19
+ "methods": [
20
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "TwilioAccount" } ] },
21
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<TwilioAccount>" } ] },
22
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
23
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "name", "type": "string" }, { "name": "subAccountSid", "type": "string" }, { "name": "authToken", "type": "string" }, { "name": "publicUrlBase", "type": "string" }, { "name": "status", "type": "string" }, { "name": "retentionDays", "type": "s32" }], "outputs": [ { "name": "out", "type": "TwilioAccount" } ] },
24
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "name", "type": "string", "optional": true }, { "name": "subAccountSid", "type": "string", "optional": true }, { "name": "authToken", "type": "string", "optional": true }, { "name": "publicUrlBase", "type": "string", "optional": true }, { "name": "status", "type": "string", "optional": true }, { "name": "retentionDays", "type": "s32", "optional": true }], "outputs": [ { "name": "out", "type": "TwilioAccount" } ] },
25
+ { "name": "find_by_name", "inputs": [ { "name": "name", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<TwilioAccount>" } ] },
26
+ { "name": "find_by_subAccountSid", "inputs": [ { "name": "subAccountSid", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<TwilioAccount>" } ] }
27
+ ],
28
+ "routes": [
29
+ { "op": "list", "method": "GET", "path": "/api/phone/twilioaccount" },
30
+ { "op": "create", "method": "POST", "path": "/api/phone/twilioaccount" },
31
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/phone/twilioaccount" },
32
+ { "op": "count", "method": "GET", "path": "/api/phone/twilioaccount/count" },
33
+ { "op": "batch_get", "method": "POST", "path": "/api/phone/twilioaccount/_batch" },
34
+ { "op": "get", "method": "GET", "path": "/api/phone/twilioaccount/:id" },
35
+ { "op": "update", "method": "PUT", "path": "/api/phone/twilioaccount/:id" },
36
+ { "op": "delete", "method": "DELETE", "path": "/api/phone/twilioaccount/:id" }
37
+ ],
38
+ "exported": false
39
+ },
40
+ "PhoneNumber": {
41
+ "fields": [
42
+ { "name": "id", "type": "ULID", "kind": "scalar" },
43
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
44
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
45
+ { "name": "accountId", "type": "string", "kind": "scalar" },
46
+ { "name": "phoneNumber", "type": "string", "kind": "scalar" },
47
+ { "name": "numberSid", "type": "string", "kind": "scalar" },
48
+ { "name": "friendlyName", "type": "string", "kind": "scalar" },
49
+ { "name": "capabilities", "type": "string", "kind": "scalar" }
50
+ ],
51
+ "indices": [["accountId"], ["phoneNumber"], ["numberSid"]],
52
+ "searchFields": [],
53
+ "methods": [
54
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "PhoneNumber" } ] },
55
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<PhoneNumber>" } ] },
56
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
57
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "accountId", "type": "string" }, { "name": "phoneNumber", "type": "string" }, { "name": "numberSid", "type": "string" }, { "name": "friendlyName", "type": "string" }, { "name": "capabilities", "type": "string" }], "outputs": [ { "name": "out", "type": "PhoneNumber" } ] },
58
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "accountId", "type": "string", "optional": true }, { "name": "phoneNumber", "type": "string", "optional": true }, { "name": "numberSid", "type": "string", "optional": true }, { "name": "friendlyName", "type": "string", "optional": true }, { "name": "capabilities", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "PhoneNumber" } ] },
59
+ { "name": "find_by_accountId", "inputs": [ { "name": "accountId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<PhoneNumber>" } ] },
60
+ { "name": "find_by_phoneNumber", "inputs": [ { "name": "phoneNumber", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<PhoneNumber>" } ] },
61
+ { "name": "find_by_numberSid", "inputs": [ { "name": "numberSid", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<PhoneNumber>" } ] }
62
+ ],
63
+ "routes": [
64
+ { "op": "list", "method": "GET", "path": "/api/phone/phonenumber" },
65
+ { "op": "create", "method": "POST", "path": "/api/phone/phonenumber" },
66
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/phone/phonenumber" },
67
+ { "op": "count", "method": "GET", "path": "/api/phone/phonenumber/count" },
68
+ { "op": "batch_get", "method": "POST", "path": "/api/phone/phonenumber/_batch" },
69
+ { "op": "get", "method": "GET", "path": "/api/phone/phonenumber/:id" },
70
+ { "op": "update", "method": "PUT", "path": "/api/phone/phonenumber/:id" },
71
+ { "op": "delete", "method": "DELETE", "path": "/api/phone/phonenumber/:id" }
72
+ ],
73
+ "exported": false
74
+ },
75
+ "SmsMessage": {
76
+ "fields": [
77
+ { "name": "id", "type": "ULID", "kind": "scalar" },
78
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
79
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
80
+ { "name": "accountId", "type": "string", "kind": "scalar" },
81
+ { "name": "numberId", "type": "string", "kind": "scalar" },
82
+ { "name": "direction", "type": "string", "kind": "scalar" },
83
+ { "name": "fromE164", "type": "string", "kind": "scalar" },
84
+ { "name": "toE164", "type": "string", "kind": "scalar" },
85
+ { "name": "body", "type": "string", "kind": "scalar" },
86
+ { "name": "twilioSid", "type": "string", "kind": "scalar" },
87
+ { "name": "status", "type": "string", "kind": "scalar" },
88
+ { "name": "errorCode", "type": "s32", "kind": "scalar" },
89
+ { "name": "errorMessage", "type": "string", "kind": "scalar" },
90
+ { "name": "priceMicros", "type": "s64", "kind": "scalar" },
91
+ { "name": "priceCurrency", "type": "string", "kind": "scalar" },
92
+ { "name": "numSegments", "type": "s32", "kind": "scalar" },
93
+ { "name": "numMedia", "type": "s32", "kind": "scalar" },
94
+ { "name": "mediaUrls", "type": "string", "kind": "scalar" },
95
+ { "name": "senderUserId", "type": "string", "kind": "scalar" },
96
+ { "name": "dateSentMs", "type": "u64", "kind": "scalar" },
97
+ { "name": "dateDeliveredMs", "type": "u64", "kind": "scalar" }
98
+ ],
99
+ "indices": [["accountId"], ["numberId"], ["twilioSid"]],
100
+ "searchFields": [],
101
+ "methods": [
102
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "SmsMessage" } ] },
103
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<SmsMessage>" } ] },
104
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
105
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "accountId", "type": "string" }, { "name": "numberId", "type": "string" }, { "name": "direction", "type": "string" }, { "name": "fromE164", "type": "string" }, { "name": "toE164", "type": "string" }, { "name": "body", "type": "string" }, { "name": "twilioSid", "type": "string" }, { "name": "status", "type": "string" }, { "name": "errorCode", "type": "s32" }, { "name": "errorMessage", "type": "string" }, { "name": "priceMicros", "type": "s64" }, { "name": "priceCurrency", "type": "string" }, { "name": "numSegments", "type": "s32" }, { "name": "numMedia", "type": "s32" }, { "name": "mediaUrls", "type": "string" }, { "name": "senderUserId", "type": "string" }, { "name": "dateSentMs", "type": "u64" }, { "name": "dateDeliveredMs", "type": "u64" }], "outputs": [ { "name": "out", "type": "SmsMessage" } ] },
106
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "accountId", "type": "string", "optional": true }, { "name": "numberId", "type": "string", "optional": true }, { "name": "direction", "type": "string", "optional": true }, { "name": "fromE164", "type": "string", "optional": true }, { "name": "toE164", "type": "string", "optional": true }, { "name": "body", "type": "string", "optional": true }, { "name": "twilioSid", "type": "string", "optional": true }, { "name": "status", "type": "string", "optional": true }, { "name": "errorCode", "type": "s32", "optional": true }, { "name": "errorMessage", "type": "string", "optional": true }, { "name": "priceMicros", "type": "s64", "optional": true }, { "name": "priceCurrency", "type": "string", "optional": true }, { "name": "numSegments", "type": "s32", "optional": true }, { "name": "numMedia", "type": "s32", "optional": true }, { "name": "mediaUrls", "type": "string", "optional": true }, { "name": "senderUserId", "type": "string", "optional": true }, { "name": "dateSentMs", "type": "u64", "optional": true }, { "name": "dateDeliveredMs", "type": "u64", "optional": true }], "outputs": [ { "name": "out", "type": "SmsMessage" } ] },
107
+ { "name": "find_by_accountId", "inputs": [ { "name": "accountId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<SmsMessage>" } ] },
108
+ { "name": "find_by_numberId", "inputs": [ { "name": "numberId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<SmsMessage>" } ] },
109
+ { "name": "find_by_twilioSid", "inputs": [ { "name": "twilioSid", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<SmsMessage>" } ] }
110
+ ],
111
+ "routes": [
112
+ { "op": "list", "method": "GET", "path": "/api/phone/smsmessage" },
113
+ { "op": "create", "method": "POST", "path": "/api/phone/smsmessage" },
114
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/phone/smsmessage" },
115
+ { "op": "count", "method": "GET", "path": "/api/phone/smsmessage/count" },
116
+ { "op": "batch_get", "method": "POST", "path": "/api/phone/smsmessage/_batch" },
117
+ { "op": "get", "method": "GET", "path": "/api/phone/smsmessage/:id" },
118
+ { "op": "update", "method": "PUT", "path": "/api/phone/smsmessage/:id" },
119
+ { "op": "delete", "method": "DELETE", "path": "/api/phone/smsmessage/:id" }
120
+ ],
121
+ "exported": false
122
+ },
123
+ "PhoneUsageDaily": {
124
+ "fields": [
125
+ { "name": "id", "type": "ULID", "kind": "scalar" },
126
+ { "name": "createdAt", "type": "DateTime", "kind": "scalar" },
127
+ { "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
128
+ { "name": "accountId", "type": "string", "kind": "scalar" },
129
+ { "name": "date", "type": "string", "kind": "scalar" },
130
+ { "name": "smsCount", "type": "s64", "kind": "scalar" },
131
+ { "name": "smsSegmentsTotal", "type": "s64", "kind": "scalar" },
132
+ { "name": "smsPriceMicros", "type": "s64", "kind": "scalar" }
133
+ ],
134
+ "indices": [["accountId", "date"], ["accountId"]],
135
+ "searchFields": [],
136
+ "methods": [
137
+ { "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "PhoneUsageDaily" } ] },
138
+ { "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<PhoneUsageDaily>" } ] },
139
+ { "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
140
+ { "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "accountId", "type": "string" }, { "name": "date", "type": "string" }, { "name": "smsCount", "type": "s64" }, { "name": "smsSegmentsTotal", "type": "s64" }, { "name": "smsPriceMicros", "type": "s64" }], "outputs": [ { "name": "out", "type": "PhoneUsageDaily" } ] },
141
+ { "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "accountId", "type": "string", "optional": true }, { "name": "date", "type": "string", "optional": true }, { "name": "smsCount", "type": "s64", "optional": true }, { "name": "smsSegmentsTotal", "type": "s64", "optional": true }, { "name": "smsPriceMicros", "type": "s64", "optional": true }], "outputs": [ { "name": "out", "type": "PhoneUsageDaily" } ] },
142
+ { "name": "find_by_accountId", "inputs": [ { "name": "accountId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<PhoneUsageDaily>" } ] }
143
+ ],
144
+ "routes": [
145
+ { "op": "list", "method": "GET", "path": "/api/phone/phoneusagedaily" },
146
+ { "op": "create", "method": "POST", "path": "/api/phone/phoneusagedaily" },
147
+ { "op": "delete_by_query", "method": "DELETE", "path": "/api/phone/phoneusagedaily" },
148
+ { "op": "count", "method": "GET", "path": "/api/phone/phoneusagedaily/count" },
149
+ { "op": "batch_get", "method": "POST", "path": "/api/phone/phoneusagedaily/_batch" },
150
+ { "op": "get", "method": "GET", "path": "/api/phone/phoneusagedaily/:id" },
151
+ { "op": "update", "method": "PUT", "path": "/api/phone/phoneusagedaily/:id" },
152
+ { "op": "delete", "method": "DELETE", "path": "/api/phone/phoneusagedaily/:id" }
153
+ ],
154
+ "exported": false
155
+ }
156
+ },
157
+ "structs": [],
158
+ "enums": [],
159
+ "imports": {
160
+ },
161
+ "actions": [],
162
+ "middleware": [],
163
+ "workflows": [],
164
+ "schedules": [],
165
+ "tasks": [],
166
+ "tools": [],
167
+ "widgets": []
168
+ }