@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.
- package/LICENSE +21 -0
- package/README.md +41 -0
- package/contracts/audit/.dist/contract.json +56 -0
- package/contracts/auth/.dist/contract.json +252 -0
- package/contracts/calendar/.dist/contract.json +141 -0
- package/contracts/chat/.dist/contract.json +229 -0
- package/contracts/crm/.dist/contract.json +239 -0
- package/contracts/design/.dist/contract.json +85 -0
- package/contracts/dns/.dist/contract.json +123 -0
- package/contracts/email/.dist/contract.json +267 -0
- package/contracts/embed/.dist/contract.json +137 -0
- package/contracts/ingest/.dist/contract.json +86 -0
- package/contracts/notifications/.dist/contract.json +133 -0
- package/contracts/phone/.dist/contract.json +168 -0
- package/contracts/registry/.dist/contract.json +49 -0
- package/contracts/workflows/.dist/contract.json +106 -0
- package/dist/nbt.js +3521 -0
- package/package.json +40 -0
- package/vendor/linux-x64/console +0 -0
- package/vendor/linux-x64/nbt +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cartridge": "design",
|
|
3
|
+
"version": "0.1",
|
|
4
|
+
"owns": {
|
|
5
|
+
"Design": {
|
|
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": "description", "type": "string", "kind": "scalar" },
|
|
13
|
+
{ "name": "headVersionId", "type": "string", "kind": "scalar" },
|
|
14
|
+
{ "name": "headVersion", "type": "u32", "kind": "scalar" }
|
|
15
|
+
],
|
|
16
|
+
"indices": [["slug"]],
|
|
17
|
+
"searchFields": [],
|
|
18
|
+
"methods": [
|
|
19
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Design" } ] },
|
|
20
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Design>" } ] },
|
|
21
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
22
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "name", "type": "string" }, { "name": "slug", "type": "string" }, { "name": "description", "type": "string" }, { "name": "headVersionId", "type": "string" }, { "name": "headVersion", "type": "u32" }], "outputs": [ { "name": "out", "type": "Design" } ] },
|
|
23
|
+
{ "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": "description", "type": "string", "optional": true }, { "name": "headVersionId", "type": "string", "optional": true }, { "name": "headVersion", "type": "u32", "optional": true }], "outputs": [ { "name": "out", "type": "Design" } ] },
|
|
24
|
+
{ "name": "find_by_slug", "inputs": [ { "name": "slug", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Design>" } ] }
|
|
25
|
+
],
|
|
26
|
+
"routes": [
|
|
27
|
+
{ "op": "list", "method": "GET", "path": "/api/design/design" },
|
|
28
|
+
{ "op": "create", "method": "POST", "path": "/api/design/design" },
|
|
29
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/design/design" },
|
|
30
|
+
{ "op": "count", "method": "GET", "path": "/api/design/design/count" },
|
|
31
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/design/design/_batch" },
|
|
32
|
+
{ "op": "get", "method": "GET", "path": "/api/design/design/:id" },
|
|
33
|
+
{ "op": "update", "method": "PUT", "path": "/api/design/design/:id" },
|
|
34
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/design/design/:id" }
|
|
35
|
+
],
|
|
36
|
+
"exported": false
|
|
37
|
+
},
|
|
38
|
+
"DesignVersion": {
|
|
39
|
+
"fields": [
|
|
40
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
41
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
42
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
43
|
+
{ "name": "designId", "type": "string", "kind": "scalar" },
|
|
44
|
+
{ "name": "version", "type": "u32", "kind": "scalar" },
|
|
45
|
+
{ "name": "body", "type": "document", "kind": "document", "doc_schema_id": 1178861568, "scope_field": "designId", "domain_base": 1178861569 },
|
|
46
|
+
{ "name": "source", "type": "string", "kind": "scalar" },
|
|
47
|
+
{ "name": "note", "type": "string", "kind": "scalar" },
|
|
48
|
+
{ "name": "createdBy", "type": "string", "kind": "scalar" },
|
|
49
|
+
{ "name": "parseErrors", "type": "string", "kind": "scalar" }
|
|
50
|
+
],
|
|
51
|
+
"indices": [["designId"], ["designId", "version"]],
|
|
52
|
+
"searchFields": [],
|
|
53
|
+
"methods": [
|
|
54
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "DesignVersion" } ] },
|
|
55
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<DesignVersion>" } ] },
|
|
56
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
57
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "designId", "type": "string" }, { "name": "version", "type": "u32" }, { "name": "body", "type": "document" }, { "name": "source", "type": "string" }, { "name": "note", "type": "string" }, { "name": "createdBy", "type": "string" }, { "name": "parseErrors", "type": "string" }], "outputs": [ { "name": "out", "type": "DesignVersion" } ] },
|
|
58
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "designId", "type": "string", "optional": true }, { "name": "version", "type": "u32", "optional": true }, { "name": "body", "type": "document", "optional": true }, { "name": "source", "type": "string", "optional": true }, { "name": "note", "type": "string", "optional": true }, { "name": "createdBy", "type": "string", "optional": true }, { "name": "parseErrors", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "DesignVersion" } ] },
|
|
59
|
+
{ "name": "find_by_designId", "inputs": [ { "name": "designId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<DesignVersion>" } ] }
|
|
60
|
+
],
|
|
61
|
+
"routes": [
|
|
62
|
+
{ "op": "list", "method": "GET", "path": "/api/design/designversion" },
|
|
63
|
+
{ "op": "create", "method": "POST", "path": "/api/design/designversion" },
|
|
64
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/design/designversion" },
|
|
65
|
+
{ "op": "count", "method": "GET", "path": "/api/design/designversion/count" },
|
|
66
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/design/designversion/_batch" },
|
|
67
|
+
{ "op": "get", "method": "GET", "path": "/api/design/designversion/:id" },
|
|
68
|
+
{ "op": "update", "method": "PUT", "path": "/api/design/designversion/:id" },
|
|
69
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/design/designversion/:id" }
|
|
70
|
+
],
|
|
71
|
+
"exported": false
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"structs": [],
|
|
75
|
+
"enums": [],
|
|
76
|
+
"imports": {
|
|
77
|
+
},
|
|
78
|
+
"actions": [],
|
|
79
|
+
"middleware": [],
|
|
80
|
+
"workflows": [],
|
|
81
|
+
"schedules": [],
|
|
82
|
+
"tasks": [],
|
|
83
|
+
"tools": [],
|
|
84
|
+
"widgets": []
|
|
85
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cartridge": "dns",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"owns": {
|
|
5
|
+
"DnsProvider": {
|
|
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": "type", "type": "string", "kind": "scalar" },
|
|
11
|
+
{ "name": "label", "type": "string", "kind": "scalar" },
|
|
12
|
+
{ "name": "apiToken", "type": "string", "kind": "scalar" },
|
|
13
|
+
{ "name": "accountId", "type": "string", "kind": "scalar" },
|
|
14
|
+
{ "name": "status", "type": "string", "kind": "scalar" },
|
|
15
|
+
{ "name": "lastCheckedAt", "type": "u64", "kind": "scalar" }
|
|
16
|
+
],
|
|
17
|
+
"indices": [["type", "label"]],
|
|
18
|
+
"searchFields": [],
|
|
19
|
+
"methods": [
|
|
20
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "DnsProvider" } ] },
|
|
21
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<DnsProvider>" } ] },
|
|
22
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
23
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "type", "type": "string" }, { "name": "label", "type": "string" }, { "name": "apiToken", "type": "string" }, { "name": "accountId", "type": "string" }, { "name": "status", "type": "string" }, { "name": "lastCheckedAt", "type": "u64" }], "outputs": [ { "name": "out", "type": "DnsProvider" } ] },
|
|
24
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "type", "type": "string", "optional": true }, { "name": "label", "type": "string", "optional": true }, { "name": "apiToken", "type": "string", "optional": true }, { "name": "accountId", "type": "string", "optional": true }, { "name": "status", "type": "string", "optional": true }, { "name": "lastCheckedAt", "type": "u64", "optional": true }], "outputs": [ { "name": "out", "type": "DnsProvider" } ] }
|
|
25
|
+
],
|
|
26
|
+
"routes": [
|
|
27
|
+
{ "op": "list", "method": "GET", "path": "/api/dns/dnsprovider" },
|
|
28
|
+
{ "op": "create", "method": "POST", "path": "/api/dns/dnsprovider" },
|
|
29
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/dns/dnsprovider" },
|
|
30
|
+
{ "op": "count", "method": "GET", "path": "/api/dns/dnsprovider/count" },
|
|
31
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/dns/dnsprovider/_batch" },
|
|
32
|
+
{ "op": "get", "method": "GET", "path": "/api/dns/dnsprovider/:id" },
|
|
33
|
+
{ "op": "update", "method": "PUT", "path": "/api/dns/dnsprovider/:id" },
|
|
34
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/dns/dnsprovider/:id" }
|
|
35
|
+
],
|
|
36
|
+
"exported": false
|
|
37
|
+
},
|
|
38
|
+
"Domain": {
|
|
39
|
+
"fields": [
|
|
40
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
41
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
42
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
43
|
+
{ "name": "name", "type": "string", "kind": "scalar" },
|
|
44
|
+
{ "name": "providerId", "type": "string", "kind": "scalar" },
|
|
45
|
+
{ "name": "providerZoneId", "type": "string", "kind": "scalar" },
|
|
46
|
+
{ "name": "registrarStatus", "type": "string", "kind": "scalar" },
|
|
47
|
+
{ "name": "nameservers", "type": "string", "kind": "scalar" },
|
|
48
|
+
{ "name": "addedAt", "type": "u64", "kind": "scalar" }
|
|
49
|
+
],
|
|
50
|
+
"indices": [["name"], ["providerId"]],
|
|
51
|
+
"searchFields": [],
|
|
52
|
+
"methods": [
|
|
53
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Domain" } ] },
|
|
54
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Domain>" } ] },
|
|
55
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
56
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "name", "type": "string" }, { "name": "providerId", "type": "string" }, { "name": "providerZoneId", "type": "string" }, { "name": "registrarStatus", "type": "string" }, { "name": "nameservers", "type": "string" }, { "name": "addedAt", "type": "u64" }], "outputs": [ { "name": "out", "type": "Domain" } ] },
|
|
57
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "name", "type": "string", "optional": true }, { "name": "providerId", "type": "string", "optional": true }, { "name": "providerZoneId", "type": "string", "optional": true }, { "name": "registrarStatus", "type": "string", "optional": true }, { "name": "nameservers", "type": "string", "optional": true }, { "name": "addedAt", "type": "u64", "optional": true }], "outputs": [ { "name": "out", "type": "Domain" } ] },
|
|
58
|
+
{ "name": "find_by_name", "inputs": [ { "name": "name", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Domain>" } ] },
|
|
59
|
+
{ "name": "find_by_providerId", "inputs": [ { "name": "providerId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Domain>" } ] }
|
|
60
|
+
],
|
|
61
|
+
"routes": [
|
|
62
|
+
{ "op": "list", "method": "GET", "path": "/api/dns/domain" },
|
|
63
|
+
{ "op": "create", "method": "POST", "path": "/api/dns/domain" },
|
|
64
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/dns/domain" },
|
|
65
|
+
{ "op": "count", "method": "GET", "path": "/api/dns/domain/count" },
|
|
66
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/dns/domain/_batch" },
|
|
67
|
+
{ "op": "get", "method": "GET", "path": "/api/dns/domain/:id" },
|
|
68
|
+
{ "op": "update", "method": "PUT", "path": "/api/dns/domain/:id" },
|
|
69
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/dns/domain/:id" }
|
|
70
|
+
],
|
|
71
|
+
"exported": false
|
|
72
|
+
},
|
|
73
|
+
"DnsRecord": {
|
|
74
|
+
"fields": [
|
|
75
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
76
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
77
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
78
|
+
{ "name": "domainId", "type": "string", "kind": "scalar" },
|
|
79
|
+
{ "name": "providerRecordId", "type": "string", "kind": "scalar" },
|
|
80
|
+
{ "name": "type", "type": "string", "kind": "scalar" },
|
|
81
|
+
{ "name": "name", "type": "string", "kind": "scalar" },
|
|
82
|
+
{ "name": "value", "type": "string", "kind": "scalar" },
|
|
83
|
+
{ "name": "priority", "type": "s32", "kind": "scalar" },
|
|
84
|
+
{ "name": "ttl", "type": "s32", "kind": "scalar" },
|
|
85
|
+
{ "name": "proxied", "type": "bool", "kind": "scalar" },
|
|
86
|
+
{ "name": "managedByCart", "type": "string", "kind": "scalar" },
|
|
87
|
+
{ "name": "managedByRef", "type": "string", "kind": "scalar" }
|
|
88
|
+
],
|
|
89
|
+
"indices": [["domainId"], ["managedByCart", "managedByRef"]],
|
|
90
|
+
"searchFields": [],
|
|
91
|
+
"methods": [
|
|
92
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "DnsRecord" } ] },
|
|
93
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<DnsRecord>" } ] },
|
|
94
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
95
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "domainId", "type": "string" }, { "name": "providerRecordId", "type": "string" }, { "name": "type", "type": "string" }, { "name": "name", "type": "string" }, { "name": "value", "type": "string" }, { "name": "priority", "type": "s32" }, { "name": "ttl", "type": "s32" }, { "name": "proxied", "type": "bool" }, { "name": "managedByCart", "type": "string" }, { "name": "managedByRef", "type": "string" }], "outputs": [ { "name": "out", "type": "DnsRecord" } ] },
|
|
96
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "domainId", "type": "string", "optional": true }, { "name": "providerRecordId", "type": "string", "optional": true }, { "name": "type", "type": "string", "optional": true }, { "name": "name", "type": "string", "optional": true }, { "name": "value", "type": "string", "optional": true }, { "name": "priority", "type": "s32", "optional": true }, { "name": "ttl", "type": "s32", "optional": true }, { "name": "proxied", "type": "bool", "optional": true }, { "name": "managedByCart", "type": "string", "optional": true }, { "name": "managedByRef", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "DnsRecord" } ] },
|
|
97
|
+
{ "name": "find_by_domainId", "inputs": [ { "name": "domainId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<DnsRecord>" } ] }
|
|
98
|
+
],
|
|
99
|
+
"routes": [
|
|
100
|
+
{ "op": "list", "method": "GET", "path": "/api/dns/dnsrecord" },
|
|
101
|
+
{ "op": "create", "method": "POST", "path": "/api/dns/dnsrecord" },
|
|
102
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/dns/dnsrecord" },
|
|
103
|
+
{ "op": "count", "method": "GET", "path": "/api/dns/dnsrecord/count" },
|
|
104
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/dns/dnsrecord/_batch" },
|
|
105
|
+
{ "op": "get", "method": "GET", "path": "/api/dns/dnsrecord/:id" },
|
|
106
|
+
{ "op": "update", "method": "PUT", "path": "/api/dns/dnsrecord/:id" },
|
|
107
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/dns/dnsrecord/:id" }
|
|
108
|
+
],
|
|
109
|
+
"exported": false
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"structs": [],
|
|
113
|
+
"enums": [],
|
|
114
|
+
"imports": {
|
|
115
|
+
},
|
|
116
|
+
"actions": [],
|
|
117
|
+
"middleware": [],
|
|
118
|
+
"workflows": [],
|
|
119
|
+
"schedules": [],
|
|
120
|
+
"tasks": [],
|
|
121
|
+
"tools": [],
|
|
122
|
+
"widgets": []
|
|
123
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cartridge": "email",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"owns": {
|
|
5
|
+
"MailDomain": {
|
|
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": "hostname", "type": "string", "kind": "scalar" },
|
|
11
|
+
{ "name": "isDefault", "type": "bool", "kind": "scalar" },
|
|
12
|
+
{ "name": "domainId", "type": "string", "kind": "scalar" },
|
|
13
|
+
{ "name": "sendgridParseId", "type": "string", "kind": "scalar" },
|
|
14
|
+
{ "name": "sendgridDomainAuthId", "type": "string", "kind": "scalar" },
|
|
15
|
+
{ "name": "verificationToken", "type": "string", "kind": "scalar" },
|
|
16
|
+
{ "name": "verificationState", "type": "string", "kind": "scalar" },
|
|
17
|
+
{ "name": "dkimState", "type": "string", "kind": "scalar" },
|
|
18
|
+
{ "name": "spfState", "type": "string", "kind": "scalar" },
|
|
19
|
+
{ "name": "verifiedAt", "type": "u64", "kind": "scalar" }
|
|
20
|
+
],
|
|
21
|
+
"indices": [["hostname"]],
|
|
22
|
+
"searchFields": [],
|
|
23
|
+
"methods": [
|
|
24
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "MailDomain" } ] },
|
|
25
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<MailDomain>" } ] },
|
|
26
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
27
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "hostname", "type": "string" }, { "name": "isDefault", "type": "bool" }, { "name": "domainId", "type": "string" }, { "name": "sendgridParseId", "type": "string" }, { "name": "sendgridDomainAuthId", "type": "string" }, { "name": "verificationToken", "type": "string" }, { "name": "verificationState", "type": "string" }, { "name": "dkimState", "type": "string" }, { "name": "spfState", "type": "string" }, { "name": "verifiedAt", "type": "u64" }], "outputs": [ { "name": "out", "type": "MailDomain" } ] },
|
|
28
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "hostname", "type": "string", "optional": true }, { "name": "isDefault", "type": "bool", "optional": true }, { "name": "domainId", "type": "string", "optional": true }, { "name": "sendgridParseId", "type": "string", "optional": true }, { "name": "sendgridDomainAuthId", "type": "string", "optional": true }, { "name": "verificationToken", "type": "string", "optional": true }, { "name": "verificationState", "type": "string", "optional": true }, { "name": "dkimState", "type": "string", "optional": true }, { "name": "spfState", "type": "string", "optional": true }, { "name": "verifiedAt", "type": "u64", "optional": true }], "outputs": [ { "name": "out", "type": "MailDomain" } ] },
|
|
29
|
+
{ "name": "find_by_hostname", "inputs": [ { "name": "hostname", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<MailDomain>" } ] }
|
|
30
|
+
],
|
|
31
|
+
"routes": [
|
|
32
|
+
{ "op": "list", "method": "GET", "path": "/api/email/maildomain" },
|
|
33
|
+
{ "op": "create", "method": "POST", "path": "/api/email/maildomain" },
|
|
34
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/email/maildomain" },
|
|
35
|
+
{ "op": "count", "method": "GET", "path": "/api/email/maildomain/count" },
|
|
36
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/email/maildomain/_batch" },
|
|
37
|
+
{ "op": "get", "method": "GET", "path": "/api/email/maildomain/:id" },
|
|
38
|
+
{ "op": "update", "method": "PUT", "path": "/api/email/maildomain/:id" },
|
|
39
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/email/maildomain/:id" }
|
|
40
|
+
],
|
|
41
|
+
"exported": false
|
|
42
|
+
},
|
|
43
|
+
"Inbox": {
|
|
44
|
+
"fields": [
|
|
45
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
46
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
47
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
48
|
+
{ "name": "name", "type": "string", "kind": "scalar" },
|
|
49
|
+
{ "name": "ownerType", "type": "string", "kind": "scalar" },
|
|
50
|
+
{ "name": "ownerRef", "type": "string", "kind": "scalar" }
|
|
51
|
+
],
|
|
52
|
+
"indices": [["ownerType", "ownerRef"]],
|
|
53
|
+
"searchFields": [],
|
|
54
|
+
"methods": [
|
|
55
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Inbox" } ] },
|
|
56
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Inbox>" } ] },
|
|
57
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
58
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "name", "type": "string" }, { "name": "ownerType", "type": "string" }, { "name": "ownerRef", "type": "string" }], "outputs": [ { "name": "out", "type": "Inbox" } ] },
|
|
59
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "name", "type": "string", "optional": true }, { "name": "ownerType", "type": "string", "optional": true }, { "name": "ownerRef", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "Inbox" } ] }
|
|
60
|
+
],
|
|
61
|
+
"routes": [
|
|
62
|
+
{ "op": "list", "method": "GET", "path": "/api/email/inbox" },
|
|
63
|
+
{ "op": "create", "method": "POST", "path": "/api/email/inbox" },
|
|
64
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/email/inbox" },
|
|
65
|
+
{ "op": "count", "method": "GET", "path": "/api/email/inbox/count" },
|
|
66
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/email/inbox/_batch" },
|
|
67
|
+
{ "op": "get", "method": "GET", "path": "/api/email/inbox/:id" },
|
|
68
|
+
{ "op": "update", "method": "PUT", "path": "/api/email/inbox/:id" },
|
|
69
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/email/inbox/:id" }
|
|
70
|
+
],
|
|
71
|
+
"exported": false
|
|
72
|
+
},
|
|
73
|
+
"MailAddress": {
|
|
74
|
+
"fields": [
|
|
75
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
76
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
77
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
78
|
+
{ "name": "mailDomainId", "type": "string", "kind": "scalar" },
|
|
79
|
+
{ "name": "localPart", "type": "string", "kind": "scalar" },
|
|
80
|
+
{ "name": "inboxId", "type": "string", "kind": "scalar" },
|
|
81
|
+
{ "name": "enabled", "type": "bool", "kind": "scalar" }
|
|
82
|
+
],
|
|
83
|
+
"indices": [["mailDomainId", "localPart"], ["mailDomainId"], ["inboxId"]],
|
|
84
|
+
"searchFields": [],
|
|
85
|
+
"methods": [
|
|
86
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "MailAddress" } ] },
|
|
87
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<MailAddress>" } ] },
|
|
88
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
89
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "mailDomainId", "type": "string" }, { "name": "localPart", "type": "string" }, { "name": "inboxId", "type": "string" }, { "name": "enabled", "type": "bool" }], "outputs": [ { "name": "out", "type": "MailAddress" } ] },
|
|
90
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "mailDomainId", "type": "string", "optional": true }, { "name": "localPart", "type": "string", "optional": true }, { "name": "inboxId", "type": "string", "optional": true }, { "name": "enabled", "type": "bool", "optional": true }], "outputs": [ { "name": "out", "type": "MailAddress" } ] },
|
|
91
|
+
{ "name": "find_by_mailDomainId", "inputs": [ { "name": "mailDomainId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<MailAddress>" } ] },
|
|
92
|
+
{ "name": "find_by_inboxId", "inputs": [ { "name": "inboxId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<MailAddress>" } ] }
|
|
93
|
+
],
|
|
94
|
+
"routes": [
|
|
95
|
+
{ "op": "list", "method": "GET", "path": "/api/email/mailaddress" },
|
|
96
|
+
{ "op": "create", "method": "POST", "path": "/api/email/mailaddress" },
|
|
97
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/email/mailaddress" },
|
|
98
|
+
{ "op": "count", "method": "GET", "path": "/api/email/mailaddress/count" },
|
|
99
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/email/mailaddress/_batch" },
|
|
100
|
+
{ "op": "get", "method": "GET", "path": "/api/email/mailaddress/:id" },
|
|
101
|
+
{ "op": "update", "method": "PUT", "path": "/api/email/mailaddress/:id" },
|
|
102
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/email/mailaddress/:id" }
|
|
103
|
+
],
|
|
104
|
+
"exported": false
|
|
105
|
+
},
|
|
106
|
+
"Email": {
|
|
107
|
+
"fields": [
|
|
108
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
109
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
110
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
111
|
+
{ "name": "inboxId", "type": "string", "kind": "scalar" },
|
|
112
|
+
{ "name": "direction", "type": "string", "kind": "scalar" },
|
|
113
|
+
{ "name": "messageId", "type": "string", "kind": "scalar" },
|
|
114
|
+
{ "name": "sendgridMessageId", "type": "string", "kind": "scalar" },
|
|
115
|
+
{ "name": "inReplyTo", "type": "string", "kind": "scalar" },
|
|
116
|
+
{ "name": "referencesJson", "type": "string", "kind": "scalar" },
|
|
117
|
+
{ "name": "fromAddr", "type": "string", "kind": "scalar" },
|
|
118
|
+
{ "name": "fromName", "type": "string", "kind": "scalar" },
|
|
119
|
+
{ "name": "toAddrsJson", "type": "string", "kind": "scalar" },
|
|
120
|
+
{ "name": "ccAddrsJson", "type": "string", "kind": "scalar" },
|
|
121
|
+
{ "name": "bccAddrsJson", "type": "string", "kind": "scalar" },
|
|
122
|
+
{ "name": "subject", "type": "string", "kind": "scalar" },
|
|
123
|
+
{ "name": "textBody", "type": "string", "kind": "scalar" },
|
|
124
|
+
{ "name": "htmlBody", "type": "string", "kind": "scalar" },
|
|
125
|
+
{ "name": "headersRaw", "type": "string", "kind": "scalar" },
|
|
126
|
+
{ "name": "spamScore", "type": "string", "kind": "scalar" },
|
|
127
|
+
{ "name": "receivedAt", "type": "u64", "kind": "scalar" },
|
|
128
|
+
{ "name": "sentAt", "type": "u64", "kind": "scalar" },
|
|
129
|
+
{ "name": "status", "type": "string", "kind": "scalar" }
|
|
130
|
+
],
|
|
131
|
+
"indices": [["inboxId", "receivedAt"], ["sendgridMessageId"], ["messageId"]],
|
|
132
|
+
"searchFields": [],
|
|
133
|
+
"methods": [
|
|
134
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "Email" } ] },
|
|
135
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<Email>" } ] },
|
|
136
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
137
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "inboxId", "type": "string" }, { "name": "direction", "type": "string" }, { "name": "messageId", "type": "string" }, { "name": "sendgridMessageId", "type": "string" }, { "name": "inReplyTo", "type": "string" }, { "name": "referencesJson", "type": "string" }, { "name": "fromAddr", "type": "string" }, { "name": "fromName", "type": "string" }, { "name": "toAddrsJson", "type": "string" }, { "name": "ccAddrsJson", "type": "string" }, { "name": "bccAddrsJson", "type": "string" }, { "name": "subject", "type": "string" }, { "name": "textBody", "type": "string" }, { "name": "htmlBody", "type": "string" }, { "name": "headersRaw", "type": "string" }, { "name": "spamScore", "type": "string" }, { "name": "receivedAt", "type": "u64" }, { "name": "sentAt", "type": "u64" }, { "name": "status", "type": "string" }], "outputs": [ { "name": "out", "type": "Email" } ] },
|
|
138
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "inboxId", "type": "string", "optional": true }, { "name": "direction", "type": "string", "optional": true }, { "name": "messageId", "type": "string", "optional": true }, { "name": "sendgridMessageId", "type": "string", "optional": true }, { "name": "inReplyTo", "type": "string", "optional": true }, { "name": "referencesJson", "type": "string", "optional": true }, { "name": "fromAddr", "type": "string", "optional": true }, { "name": "fromName", "type": "string", "optional": true }, { "name": "toAddrsJson", "type": "string", "optional": true }, { "name": "ccAddrsJson", "type": "string", "optional": true }, { "name": "bccAddrsJson", "type": "string", "optional": true }, { "name": "subject", "type": "string", "optional": true }, { "name": "textBody", "type": "string", "optional": true }, { "name": "htmlBody", "type": "string", "optional": true }, { "name": "headersRaw", "type": "string", "optional": true }, { "name": "spamScore", "type": "string", "optional": true }, { "name": "receivedAt", "type": "u64", "optional": true }, { "name": "sentAt", "type": "u64", "optional": true }, { "name": "status", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "Email" } ] },
|
|
139
|
+
{ "name": "find_by_sendgridMessageId", "inputs": [ { "name": "sendgridMessageId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Email>" } ] },
|
|
140
|
+
{ "name": "find_by_messageId", "inputs": [ { "name": "messageId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<Email>" } ] }
|
|
141
|
+
],
|
|
142
|
+
"routes": [
|
|
143
|
+
{ "op": "list", "method": "GET", "path": "/api/email/email" },
|
|
144
|
+
{ "op": "create", "method": "POST", "path": "/api/email/email" },
|
|
145
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/email/email" },
|
|
146
|
+
{ "op": "count", "method": "GET", "path": "/api/email/email/count" },
|
|
147
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/email/email/_batch" },
|
|
148
|
+
{ "op": "get", "method": "GET", "path": "/api/email/email/:id" },
|
|
149
|
+
{ "op": "update", "method": "PUT", "path": "/api/email/email/:id" },
|
|
150
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/email/email/:id" }
|
|
151
|
+
],
|
|
152
|
+
"exported": false
|
|
153
|
+
},
|
|
154
|
+
"EmailAttachment": {
|
|
155
|
+
"fields": [
|
|
156
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
157
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
158
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
159
|
+
{ "name": "emailId", "type": "string", "kind": "scalar" },
|
|
160
|
+
{ "name": "filename", "type": "string", "kind": "scalar" },
|
|
161
|
+
{ "name": "contentType", "type": "string", "kind": "scalar" },
|
|
162
|
+
{ "name": "sizeBytes", "type": "u64", "kind": "scalar" },
|
|
163
|
+
{ "name": "contentB64", "type": "string", "kind": "scalar" },
|
|
164
|
+
{ "name": "contentId", "type": "string", "kind": "scalar" }
|
|
165
|
+
],
|
|
166
|
+
"indices": [["emailId"]],
|
|
167
|
+
"searchFields": [],
|
|
168
|
+
"methods": [
|
|
169
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "EmailAttachment" } ] },
|
|
170
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<EmailAttachment>" } ] },
|
|
171
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
172
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "emailId", "type": "string" }, { "name": "filename", "type": "string" }, { "name": "contentType", "type": "string" }, { "name": "sizeBytes", "type": "u64" }, { "name": "contentB64", "type": "string" }, { "name": "contentId", "type": "string" }], "outputs": [ { "name": "out", "type": "EmailAttachment" } ] },
|
|
173
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "emailId", "type": "string", "optional": true }, { "name": "filename", "type": "string", "optional": true }, { "name": "contentType", "type": "string", "optional": true }, { "name": "sizeBytes", "type": "u64", "optional": true }, { "name": "contentB64", "type": "string", "optional": true }, { "name": "contentId", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "EmailAttachment" } ] },
|
|
174
|
+
{ "name": "find_by_emailId", "inputs": [ { "name": "emailId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<EmailAttachment>" } ] }
|
|
175
|
+
],
|
|
176
|
+
"routes": [
|
|
177
|
+
{ "op": "list", "method": "GET", "path": "/api/email/emailattachment" },
|
|
178
|
+
{ "op": "create", "method": "POST", "path": "/api/email/emailattachment" },
|
|
179
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/email/emailattachment" },
|
|
180
|
+
{ "op": "count", "method": "GET", "path": "/api/email/emailattachment/count" },
|
|
181
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/email/emailattachment/_batch" },
|
|
182
|
+
{ "op": "get", "method": "GET", "path": "/api/email/emailattachment/:id" },
|
|
183
|
+
{ "op": "update", "method": "PUT", "path": "/api/email/emailattachment/:id" },
|
|
184
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/email/emailattachment/:id" }
|
|
185
|
+
],
|
|
186
|
+
"exported": false
|
|
187
|
+
},
|
|
188
|
+
"EmailTemplate": {
|
|
189
|
+
"fields": [
|
|
190
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
191
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
192
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
193
|
+
{ "name": "name", "type": "string", "kind": "scalar" },
|
|
194
|
+
{ "name": "subjectTmpl", "type": "string", "kind": "scalar" },
|
|
195
|
+
{ "name": "textTmpl", "type": "string", "kind": "scalar" },
|
|
196
|
+
{ "name": "htmlTmpl", "type": "string", "kind": "scalar" }
|
|
197
|
+
],
|
|
198
|
+
"indices": [["name"]],
|
|
199
|
+
"searchFields": [],
|
|
200
|
+
"methods": [
|
|
201
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "EmailTemplate" } ] },
|
|
202
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<EmailTemplate>" } ] },
|
|
203
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
204
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "name", "type": "string" }, { "name": "subjectTmpl", "type": "string" }, { "name": "textTmpl", "type": "string" }, { "name": "htmlTmpl", "type": "string" }], "outputs": [ { "name": "out", "type": "EmailTemplate" } ] },
|
|
205
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "name", "type": "string", "optional": true }, { "name": "subjectTmpl", "type": "string", "optional": true }, { "name": "textTmpl", "type": "string", "optional": true }, { "name": "htmlTmpl", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "EmailTemplate" } ] },
|
|
206
|
+
{ "name": "find_by_name", "inputs": [ { "name": "name", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<EmailTemplate>" } ] }
|
|
207
|
+
],
|
|
208
|
+
"routes": [
|
|
209
|
+
{ "op": "list", "method": "GET", "path": "/api/email/emailtemplate" },
|
|
210
|
+
{ "op": "create", "method": "POST", "path": "/api/email/emailtemplate" },
|
|
211
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/email/emailtemplate" },
|
|
212
|
+
{ "op": "count", "method": "GET", "path": "/api/email/emailtemplate/count" },
|
|
213
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/email/emailtemplate/_batch" },
|
|
214
|
+
{ "op": "get", "method": "GET", "path": "/api/email/emailtemplate/:id" },
|
|
215
|
+
{ "op": "update", "method": "PUT", "path": "/api/email/emailtemplate/:id" },
|
|
216
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/email/emailtemplate/:id" }
|
|
217
|
+
],
|
|
218
|
+
"exported": false
|
|
219
|
+
},
|
|
220
|
+
"EmailEvent": {
|
|
221
|
+
"fields": [
|
|
222
|
+
{ "name": "id", "type": "ULID", "kind": "scalar" },
|
|
223
|
+
{ "name": "createdAt", "type": "DateTime", "kind": "scalar" },
|
|
224
|
+
{ "name": "updatedAt", "type": "DateTime", "kind": "scalar" },
|
|
225
|
+
{ "name": "emailId", "type": "string", "kind": "scalar" },
|
|
226
|
+
{ "name": "sendgridMessageId", "type": "string", "kind": "scalar" },
|
|
227
|
+
{ "name": "type", "type": "string", "kind": "scalar" },
|
|
228
|
+
{ "name": "timestamp", "type": "u64", "kind": "scalar" },
|
|
229
|
+
{ "name": "reason", "type": "string", "kind": "scalar" },
|
|
230
|
+
{ "name": "rawJson", "type": "string", "kind": "scalar" }
|
|
231
|
+
],
|
|
232
|
+
"indices": [["emailId"], ["sendgridMessageId"]],
|
|
233
|
+
"searchFields": [],
|
|
234
|
+
"methods": [
|
|
235
|
+
{ "name": "find_by_id", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [ { "name": "out", "type": "EmailEvent" } ] },
|
|
236
|
+
{ "name": "list", "inputs": [], "outputs": [ { "name": "out", "type": "list<EmailEvent>" } ] },
|
|
237
|
+
{ "name": "delete", "inputs": [ { "name": "id", "type": "string" } ], "outputs": [] },
|
|
238
|
+
{ "name": "create", "inputs": [{ "name": "id", "type": "ULID" }, { "name": "emailId", "type": "string" }, { "name": "sendgridMessageId", "type": "string" }, { "name": "type", "type": "string" }, { "name": "timestamp", "type": "u64" }, { "name": "reason", "type": "string" }, { "name": "rawJson", "type": "string" }], "outputs": [ { "name": "out", "type": "EmailEvent" } ] },
|
|
239
|
+
{ "name": "update", "inputs": [{ "name": "id", "type": "string" }, { "name": "id", "type": "ULID", "optional": true }, { "name": "emailId", "type": "string", "optional": true }, { "name": "sendgridMessageId", "type": "string", "optional": true }, { "name": "type", "type": "string", "optional": true }, { "name": "timestamp", "type": "u64", "optional": true }, { "name": "reason", "type": "string", "optional": true }, { "name": "rawJson", "type": "string", "optional": true }], "outputs": [ { "name": "out", "type": "EmailEvent" } ] },
|
|
240
|
+
{ "name": "find_by_emailId", "inputs": [ { "name": "emailId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<EmailEvent>" } ] },
|
|
241
|
+
{ "name": "find_by_sendgridMessageId", "inputs": [ { "name": "sendgridMessageId", "type": "string" } ], "outputs": [ { "name": "out", "type": "list<EmailEvent>" } ] }
|
|
242
|
+
],
|
|
243
|
+
"routes": [
|
|
244
|
+
{ "op": "list", "method": "GET", "path": "/api/email/emailevent" },
|
|
245
|
+
{ "op": "create", "method": "POST", "path": "/api/email/emailevent" },
|
|
246
|
+
{ "op": "delete_by_query", "method": "DELETE", "path": "/api/email/emailevent" },
|
|
247
|
+
{ "op": "count", "method": "GET", "path": "/api/email/emailevent/count" },
|
|
248
|
+
{ "op": "batch_get", "method": "POST", "path": "/api/email/emailevent/_batch" },
|
|
249
|
+
{ "op": "get", "method": "GET", "path": "/api/email/emailevent/:id" },
|
|
250
|
+
{ "op": "update", "method": "PUT", "path": "/api/email/emailevent/:id" },
|
|
251
|
+
{ "op": "delete", "method": "DELETE", "path": "/api/email/emailevent/:id" }
|
|
252
|
+
],
|
|
253
|
+
"exported": false
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"structs": [],
|
|
257
|
+
"enums": [],
|
|
258
|
+
"imports": {
|
|
259
|
+
},
|
|
260
|
+
"actions": [],
|
|
261
|
+
"middleware": [],
|
|
262
|
+
"workflows": [],
|
|
263
|
+
"schedules": [],
|
|
264
|
+
"tasks": [],
|
|
265
|
+
"tools": [],
|
|
266
|
+
"widgets": []
|
|
267
|
+
}
|