@suveren/gateway 0.33.0 → 0.35.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.
- package/content/integrations/erp.json +151 -2
- package/content/integrations/gmail.json +8 -1
- package/content/integrations/mail.json +9 -2
- package/content/integrations/mollie.json +344 -80
- package/dist/control-plane/index.mjs +79 -0
- package/dist/mcp-server/http.mjs +915 -124
- package/dist/ui/assets/index-M1sLTJjt.js +123 -0
- package/dist/ui/assets/{index-BiGnI2Tk.css → index-c8cmIEPx.css} +1 -1
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/profiles/charge/0.7.profile.json +232 -0
- package/profiles/email/0.9.profile.json +252 -0
- package/profiles/index.json +4 -1
- package/profiles/invoicing/0.1.profile.json +259 -0
- package/dist/ui/assets/index-Bev2H2zu.js +0 -123
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "github.com/humanagencyprotocol/hap-profiles/invoicing@0.1",
|
|
3
|
+
"name": "Invoicing",
|
|
4
|
+
"version": "0.1",
|
|
5
|
+
"description": "Invoicing authority — governs issuing invoices and credit notes in the invoicing system (ERP). An issued invoice is never changed or deleted: a cancellation or correction is a credit note with its own number, as German and Austrian law require. No payments, reminders or master data.",
|
|
6
|
+
"whatsNew": "First version: invoices and credit notes, each with its own net limits.",
|
|
7
|
+
"boundsSchema": {
|
|
8
|
+
"actionTypes": [
|
|
9
|
+
"invoice",
|
|
10
|
+
"credit"
|
|
11
|
+
],
|
|
12
|
+
"keyOrder": [
|
|
13
|
+
"profile",
|
|
14
|
+
"read_access",
|
|
15
|
+
"invoice_net_max",
|
|
16
|
+
"credit_net_max",
|
|
17
|
+
"invoice_net_monthly_max",
|
|
18
|
+
"credit_net_monthly_max",
|
|
19
|
+
"invoice_daily_max",
|
|
20
|
+
"credit_daily_max"
|
|
21
|
+
],
|
|
22
|
+
"fields": {
|
|
23
|
+
"profile": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"required": true
|
|
26
|
+
},
|
|
27
|
+
"read_access": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"required": true,
|
|
30
|
+
"displayName": "Read access",
|
|
31
|
+
"description": "Allow the agent to look up invoices and credit notes, and the orders and customers they are issued for.",
|
|
32
|
+
"boundType": {
|
|
33
|
+
"kind": "enum",
|
|
34
|
+
"values": [
|
|
35
|
+
"unlimited",
|
|
36
|
+
"none"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"toolsDescription": "list_invoices, get_invoice, list_credit_notes, get_credit_note",
|
|
40
|
+
"default": "unlimited"
|
|
41
|
+
},
|
|
42
|
+
"invoice_net_max": {
|
|
43
|
+
"type": "number",
|
|
44
|
+
"required": true,
|
|
45
|
+
"displayName": "Max net per invoice",
|
|
46
|
+
"description": "Maximum net total of a single invoice, in currency units. The connector recalculates the total from the lines and refuses a call whose declared total does not match.",
|
|
47
|
+
"unit": "currency:EUR",
|
|
48
|
+
"boundType": {
|
|
49
|
+
"kind": "per_transaction",
|
|
50
|
+
"of": "net_total",
|
|
51
|
+
"requiredFor": [
|
|
52
|
+
"invoice"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"credit_net_max": {
|
|
57
|
+
"type": "number",
|
|
58
|
+
"required": true,
|
|
59
|
+
"displayName": "Max net per credit note",
|
|
60
|
+
"description": "Maximum net total of a single credit note (cancellation or correction of an issued invoice), in currency units. Recalculated by the connector like an invoice.",
|
|
61
|
+
"unit": "currency:EUR",
|
|
62
|
+
"boundType": {
|
|
63
|
+
"kind": "per_transaction",
|
|
64
|
+
"of": "credit_total",
|
|
65
|
+
"requiredFor": [
|
|
66
|
+
"credit"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"invoice_net_monthly_max": {
|
|
71
|
+
"type": "number",
|
|
72
|
+
"required": true,
|
|
73
|
+
"displayName": "Invoiced per month",
|
|
74
|
+
"description": "Maximum cumulative net total of invoices issued per month, in currency units.",
|
|
75
|
+
"unit": "currency:EUR",
|
|
76
|
+
"boundType": {
|
|
77
|
+
"kind": "cumulative_sum",
|
|
78
|
+
"of": "net_total",
|
|
79
|
+
"window": "monthly"
|
|
80
|
+
},
|
|
81
|
+
"appliesTo": [
|
|
82
|
+
"invoice"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"credit_net_monthly_max": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"required": true,
|
|
88
|
+
"displayName": "Credited per month",
|
|
89
|
+
"description": "Maximum cumulative net total of credit notes issued per month, in currency units.",
|
|
90
|
+
"unit": "currency:EUR",
|
|
91
|
+
"boundType": {
|
|
92
|
+
"kind": "cumulative_sum",
|
|
93
|
+
"of": "credit_total",
|
|
94
|
+
"window": "monthly"
|
|
95
|
+
},
|
|
96
|
+
"appliesTo": [
|
|
97
|
+
"credit"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"invoice_daily_max": {
|
|
101
|
+
"type": "number",
|
|
102
|
+
"required": true,
|
|
103
|
+
"displayName": "Invoices per day",
|
|
104
|
+
"description": "Maximum invoices issued per day. An issued invoice is a legal document and cannot be withdrawn, only credited.",
|
|
105
|
+
"unit": "count",
|
|
106
|
+
"boundType": {
|
|
107
|
+
"kind": "cumulative_count",
|
|
108
|
+
"window": "daily"
|
|
109
|
+
},
|
|
110
|
+
"appliesTo": [
|
|
111
|
+
"invoice"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"credit_daily_max": {
|
|
115
|
+
"type": "number",
|
|
116
|
+
"required": true,
|
|
117
|
+
"displayName": "Credit notes per day",
|
|
118
|
+
"description": "Maximum credit notes issued per day.",
|
|
119
|
+
"unit": "count",
|
|
120
|
+
"boundType": {
|
|
121
|
+
"kind": "cumulative_count",
|
|
122
|
+
"window": "daily"
|
|
123
|
+
},
|
|
124
|
+
"appliesTo": [
|
|
125
|
+
"credit"
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"scopeSchema": {
|
|
131
|
+
"keyOrder": [
|
|
132
|
+
"currency"
|
|
133
|
+
],
|
|
134
|
+
"fields": {
|
|
135
|
+
"currency": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"required": true,
|
|
138
|
+
"displayName": "Currency",
|
|
139
|
+
"description": "Permitted invoice currency",
|
|
140
|
+
"constraint": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enforceable": [
|
|
143
|
+
"enum"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"enum": [
|
|
147
|
+
"EUR",
|
|
148
|
+
"CHF",
|
|
149
|
+
"USD",
|
|
150
|
+
"GBP"
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"executionContextSchema": {
|
|
156
|
+
"fields": {
|
|
157
|
+
"net_total": {
|
|
158
|
+
"source": "declared",
|
|
159
|
+
"description": "Net total of the invoice in currency units (verified by the connector against the lines)",
|
|
160
|
+
"required": true,
|
|
161
|
+
"constraint": {
|
|
162
|
+
"type": "number",
|
|
163
|
+
"enforceable": [
|
|
164
|
+
"max"
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"credit_total": {
|
|
169
|
+
"source": "declared",
|
|
170
|
+
"description": "Net total of the credit note in currency units (verified by the connector against the lines). Kept apart from net_total so an invoice limit never applies to a credit note, and the other way round.",
|
|
171
|
+
"required": true,
|
|
172
|
+
"constraint": {
|
|
173
|
+
"type": "number",
|
|
174
|
+
"enforceable": [
|
|
175
|
+
"max"
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"currency": {
|
|
180
|
+
"source": "declared",
|
|
181
|
+
"description": "Document currency",
|
|
182
|
+
"required": true,
|
|
183
|
+
"constraint": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"enforceable": [
|
|
186
|
+
"enum"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"invoice_net_monthly": {
|
|
191
|
+
"source": "cumulative",
|
|
192
|
+
"description": "Running monthly net total invoiced",
|
|
193
|
+
"required": true,
|
|
194
|
+
"constraint": {
|
|
195
|
+
"type": "number",
|
|
196
|
+
"enforceable": [
|
|
197
|
+
"max"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"cumulativeField": "net_total",
|
|
201
|
+
"window": "monthly"
|
|
202
|
+
},
|
|
203
|
+
"credit_net_monthly": {
|
|
204
|
+
"source": "cumulative",
|
|
205
|
+
"description": "Running monthly net total credited",
|
|
206
|
+
"required": true,
|
|
207
|
+
"constraint": {
|
|
208
|
+
"type": "number",
|
|
209
|
+
"enforceable": [
|
|
210
|
+
"max"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"cumulativeField": "credit_total",
|
|
214
|
+
"window": "monthly"
|
|
215
|
+
},
|
|
216
|
+
"invoice_count_daily": {
|
|
217
|
+
"source": "cumulative",
|
|
218
|
+
"description": "Running daily invoice count",
|
|
219
|
+
"required": true,
|
|
220
|
+
"constraint": {
|
|
221
|
+
"type": "number",
|
|
222
|
+
"enforceable": [
|
|
223
|
+
"max"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"cumulativeField": "_count",
|
|
227
|
+
"window": "daily"
|
|
228
|
+
},
|
|
229
|
+
"credit_count_daily": {
|
|
230
|
+
"source": "cumulative",
|
|
231
|
+
"description": "Running daily credit note count",
|
|
232
|
+
"required": true,
|
|
233
|
+
"constraint": {
|
|
234
|
+
"type": "number",
|
|
235
|
+
"enforceable": [
|
|
236
|
+
"max"
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"cumulativeField": "_count",
|
|
240
|
+
"window": "daily"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"requiredGates": [
|
|
245
|
+
"bounds",
|
|
246
|
+
"intent",
|
|
247
|
+
"commitment",
|
|
248
|
+
"mandate_owner"
|
|
249
|
+
],
|
|
250
|
+
"ttl": {
|
|
251
|
+
"default": 86400,
|
|
252
|
+
"max": 2592000
|
|
253
|
+
},
|
|
254
|
+
"retention_minimum": 7776000,
|
|
255
|
+
"content_binding": {
|
|
256
|
+
"version": "1",
|
|
257
|
+
"kind": "jcs"
|
|
258
|
+
}
|
|
259
|
+
}
|