@suveren/gateway 0.36.2 → 0.38.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 +360 -19
- package/dist/mcp-server/http.mjs +606 -41
- package/dist/ui/assets/index--GktkOfY.js +123 -0
- package/dist/ui/assets/{index-XiOgY6b5.css → index-7tDbGQbQ.css} +1 -1
- package/dist/ui/index.html +2 -2
- package/node_modules/jose/README.md +2 -2
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +4 -4
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +5 -5
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +5 -4
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +5 -5
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +5 -4
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +5 -5
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -4
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +6 -5
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +9 -6
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +7 -5
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +7 -6
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/sign.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +1 -1
- package/node_modules/jose/dist/types/jwt/verify.d.ts +3 -5
- package/node_modules/jose/dist/types/key/export.d.ts +1 -1
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +1 -1
- package/node_modules/jose/dist/types/key/import.d.ts +2 -2
- package/node_modules/jose/dist/types/types.d.ts +165 -107
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +2 -2
- package/node_modules/jose/dist/types/util/errors.d.ts +1 -1
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +3 -3
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +8 -8
- package/node_modules/jose/dist/webapi/jwks/local.js +2 -1
- package/node_modules/jose/dist/webapi/jwks/remote.js +4 -4
- package/node_modules/jose/dist/webapi/jws/general/sign.js +3 -3
- package/node_modules/jose/dist/webapi/jws/general/verify.js +3 -3
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +2 -2
- package/node_modules/jose/dist/webapi/jwt/sign.js +2 -2
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +3 -3
- package/node_modules/jose/dist/webapi/key/generate_secret.js +4 -4
- package/node_modules/jose/dist/webapi/lib/asn1.js +2 -2
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +4 -4
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +8 -8
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +14 -14
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +3 -3
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +2 -2
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +11 -11
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +19 -16
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +44 -43
- package/node_modules/jose/dist/webapi/lib/key.js +4 -4
- package/node_modules/jose/dist/webapi/lib/key_management.js +17 -17
- package/node_modules/jose/dist/webapi/lib/validate.js +10 -10
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +12 -12
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +5 -5
- package/node_modules/jose/package.json +1 -1
- package/package.json +1 -1
- package/profiles/delegation/0.6.profile.json +183 -0
- package/profiles/index.json +3 -1
- package/profiles/master-data/0.1.profile.json +311 -0
- package/dist/ui/assets/index-BQ5Pr6As.js +0 -123
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "github.com/humanagencyprotocol/hap-profiles/master-data@0.1",
|
|
3
|
+
"name": "Master data",
|
|
4
|
+
"version": "0.1",
|
|
5
|
+
"description": "Master data authority — governs the customer records and the catalogue that quotes and invoices are built from: creating and changing customers, and creating and changing catalogue items. A change to a customer's tax data (name, address, country, VAT ID) and a change to an item's price or VAT rate are each a decision of their own. Kept apart from invoicing and sales so that the people who issue documents are not the ones who change the data behind them. A change to a customer's payment data (bank account / IBAN, payment terms, credit limit, dunning or payment method) is its own decision too — the classic entry point for payment fraud; it is governed here wherever a connector offers such a change (ERP Local offers none). Every action in this area is reviewed by a person. No invoices, quotes or payments.",
|
|
6
|
+
"whatsNew": "New area. Customers and catalogue items are created and changed here, each kind of change with its own daily limit; changes to a customer's bank and payment data (for connectors that offer them) have their own daily limit and a cap on the credit limit. Every action is reviewed by a person (no automatic mode).",
|
|
7
|
+
"commitment_modes": [
|
|
8
|
+
"review"
|
|
9
|
+
],
|
|
10
|
+
"boundsSchema": {
|
|
11
|
+
"actionTypes": [
|
|
12
|
+
"customer_create",
|
|
13
|
+
"customer_update",
|
|
14
|
+
"customer_tax",
|
|
15
|
+
"customer_payment",
|
|
16
|
+
"item_create",
|
|
17
|
+
"item_update",
|
|
18
|
+
"item_price"
|
|
19
|
+
],
|
|
20
|
+
"keyOrder": [
|
|
21
|
+
"profile",
|
|
22
|
+
"read_access",
|
|
23
|
+
"customer_create_daily_max",
|
|
24
|
+
"customer_update_daily_max",
|
|
25
|
+
"customer_tax_daily_max",
|
|
26
|
+
"customer_payment_daily_max",
|
|
27
|
+
"item_create_daily_max",
|
|
28
|
+
"item_update_daily_max",
|
|
29
|
+
"item_price_daily_max",
|
|
30
|
+
"list_price_max",
|
|
31
|
+
"credit_limit_max"
|
|
32
|
+
],
|
|
33
|
+
"fields": {
|
|
34
|
+
"profile": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"required": true
|
|
37
|
+
},
|
|
38
|
+
"read_access": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"required": true,
|
|
41
|
+
"displayName": "Read access",
|
|
42
|
+
"description": "Allow the agent to look up customers and catalogue items.",
|
|
43
|
+
"boundType": {
|
|
44
|
+
"kind": "enum",
|
|
45
|
+
"values": [
|
|
46
|
+
"unlimited",
|
|
47
|
+
"none"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"toolsDescription": "find_customers, get_customer, list_items, get_item",
|
|
51
|
+
"default": "unlimited"
|
|
52
|
+
},
|
|
53
|
+
"customer_create_daily_max": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"required": true,
|
|
56
|
+
"displayName": "New customers per day",
|
|
57
|
+
"description": "Maximum customers created per day. A new customer's name, address, country and VAT ID decide how invoices to them are taxed.",
|
|
58
|
+
"unit": "count",
|
|
59
|
+
"boundType": {
|
|
60
|
+
"kind": "cumulative_count",
|
|
61
|
+
"window": "daily"
|
|
62
|
+
},
|
|
63
|
+
"appliesTo": [
|
|
64
|
+
"customer_create"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"customer_update_daily_max": {
|
|
68
|
+
"type": "number",
|
|
69
|
+
"required": true,
|
|
70
|
+
"displayName": "Customer contact changes per day",
|
|
71
|
+
"description": "Maximum changes per day to a customer's contact data (email, CRM link). Tax data is its own limit.",
|
|
72
|
+
"unit": "count",
|
|
73
|
+
"boundType": {
|
|
74
|
+
"kind": "cumulative_count",
|
|
75
|
+
"window": "daily"
|
|
76
|
+
},
|
|
77
|
+
"appliesTo": [
|
|
78
|
+
"customer_update"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"customer_tax_daily_max": {
|
|
82
|
+
"type": "number",
|
|
83
|
+
"required": true,
|
|
84
|
+
"displayName": "Customer tax-data changes per day",
|
|
85
|
+
"description": "Maximum changes per day to a customer's tax data: name, address, country or VAT ID. These decide how future invoices to that customer are taxed.",
|
|
86
|
+
"unit": "count",
|
|
87
|
+
"boundType": {
|
|
88
|
+
"kind": "cumulative_count",
|
|
89
|
+
"window": "daily"
|
|
90
|
+
},
|
|
91
|
+
"appliesTo": [
|
|
92
|
+
"customer_tax"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"customer_payment_daily_max": {
|
|
96
|
+
"type": "number",
|
|
97
|
+
"required": true,
|
|
98
|
+
"displayName": "Customer payment-data changes per day",
|
|
99
|
+
"description": "Maximum changes per day to a customer's payment data: bank account / IBAN, payment terms, credit limit, dunning or payment method. A changed bank account is the classic way payments are diverted.",
|
|
100
|
+
"unit": "count",
|
|
101
|
+
"boundType": {
|
|
102
|
+
"kind": "cumulative_count",
|
|
103
|
+
"window": "daily"
|
|
104
|
+
},
|
|
105
|
+
"appliesTo": [
|
|
106
|
+
"customer_payment"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"item_create_daily_max": {
|
|
110
|
+
"type": "number",
|
|
111
|
+
"required": true,
|
|
112
|
+
"displayName": "New items per day",
|
|
113
|
+
"description": "Maximum catalogue items created per day.",
|
|
114
|
+
"unit": "count",
|
|
115
|
+
"boundType": {
|
|
116
|
+
"kind": "cumulative_count",
|
|
117
|
+
"window": "daily"
|
|
118
|
+
},
|
|
119
|
+
"appliesTo": [
|
|
120
|
+
"item_create"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"item_update_daily_max": {
|
|
124
|
+
"type": "number",
|
|
125
|
+
"required": true,
|
|
126
|
+
"displayName": "Item changes per day",
|
|
127
|
+
"description": "Maximum changes per day to catalogue items other than price and VAT rate (name, SKU, unit, kind, description, active).",
|
|
128
|
+
"unit": "count",
|
|
129
|
+
"boundType": {
|
|
130
|
+
"kind": "cumulative_count",
|
|
131
|
+
"window": "daily"
|
|
132
|
+
},
|
|
133
|
+
"appliesTo": [
|
|
134
|
+
"item_update"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"item_price_daily_max": {
|
|
138
|
+
"type": "number",
|
|
139
|
+
"required": true,
|
|
140
|
+
"displayName": "Price changes per day",
|
|
141
|
+
"description": "Maximum price or VAT-rate changes to existing catalogue items per day.",
|
|
142
|
+
"unit": "count",
|
|
143
|
+
"boundType": {
|
|
144
|
+
"kind": "cumulative_count",
|
|
145
|
+
"window": "daily"
|
|
146
|
+
},
|
|
147
|
+
"appliesTo": [
|
|
148
|
+
"item_price"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"list_price_max": {
|
|
152
|
+
"type": "number",
|
|
153
|
+
"required": true,
|
|
154
|
+
"displayName": "Max list price per item",
|
|
155
|
+
"description": "Highest net list price a catalogue item may be given, when it is created or its price is changed, in currency units.",
|
|
156
|
+
"unit": "currency:EUR",
|
|
157
|
+
"boundType": {
|
|
158
|
+
"kind": "per_transaction",
|
|
159
|
+
"of": "list_price",
|
|
160
|
+
"requiredFor": [
|
|
161
|
+
"item_create",
|
|
162
|
+
"item_price"
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"credit_limit_max": {
|
|
167
|
+
"type": "number",
|
|
168
|
+
"required": true,
|
|
169
|
+
"displayName": "Max credit limit per customer",
|
|
170
|
+
"description": "Highest credit limit a customer may be given in one payment-data change, in currency units. Applies whenever the change sets a credit limit; a bank or payment-terms change that sets none is limited by the daily count only.",
|
|
171
|
+
"unit": "currency:EUR",
|
|
172
|
+
"boundType": {
|
|
173
|
+
"kind": "per_transaction",
|
|
174
|
+
"of": "credit_limit"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"executionContextSchema": {
|
|
180
|
+
"fields": {
|
|
181
|
+
"list_price": {
|
|
182
|
+
"source": "declared",
|
|
183
|
+
"description": "Net list price of the item in currency units (create_item, update_item_price)",
|
|
184
|
+
"required": false,
|
|
185
|
+
"constraint": {
|
|
186
|
+
"type": "number",
|
|
187
|
+
"enforceable": [
|
|
188
|
+
"max"
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"credit_limit": {
|
|
193
|
+
"source": "declared",
|
|
194
|
+
"description": "Credit limit a payment-data change sets for the customer, in currency units (only when the change sets one)",
|
|
195
|
+
"required": false,
|
|
196
|
+
"constraint": {
|
|
197
|
+
"type": "number",
|
|
198
|
+
"enforceable": [
|
|
199
|
+
"max"
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"customer_create_count_daily": {
|
|
204
|
+
"source": "cumulative",
|
|
205
|
+
"description": "Running daily count of customers created",
|
|
206
|
+
"required": true,
|
|
207
|
+
"constraint": {
|
|
208
|
+
"type": "number",
|
|
209
|
+
"enforceable": [
|
|
210
|
+
"max"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"cumulativeField": "_count",
|
|
214
|
+
"window": "daily"
|
|
215
|
+
},
|
|
216
|
+
"customer_update_count_daily": {
|
|
217
|
+
"source": "cumulative",
|
|
218
|
+
"description": "Running daily count of customer contact-data changes",
|
|
219
|
+
"required": true,
|
|
220
|
+
"constraint": {
|
|
221
|
+
"type": "number",
|
|
222
|
+
"enforceable": [
|
|
223
|
+
"max"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"cumulativeField": "_count",
|
|
227
|
+
"window": "daily"
|
|
228
|
+
},
|
|
229
|
+
"customer_tax_count_daily": {
|
|
230
|
+
"source": "cumulative",
|
|
231
|
+
"description": "Running daily count of customer tax-data changes",
|
|
232
|
+
"required": true,
|
|
233
|
+
"constraint": {
|
|
234
|
+
"type": "number",
|
|
235
|
+
"enforceable": [
|
|
236
|
+
"max"
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"cumulativeField": "_count",
|
|
240
|
+
"window": "daily"
|
|
241
|
+
},
|
|
242
|
+
"customer_payment_count_daily": {
|
|
243
|
+
"source": "cumulative",
|
|
244
|
+
"description": "Running daily count of customer payment-data changes",
|
|
245
|
+
"required": true,
|
|
246
|
+
"constraint": {
|
|
247
|
+
"type": "number",
|
|
248
|
+
"enforceable": [
|
|
249
|
+
"max"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"cumulativeField": "_count",
|
|
253
|
+
"window": "daily"
|
|
254
|
+
},
|
|
255
|
+
"item_create_count_daily": {
|
|
256
|
+
"source": "cumulative",
|
|
257
|
+
"description": "Running daily count of catalogue items created",
|
|
258
|
+
"required": true,
|
|
259
|
+
"constraint": {
|
|
260
|
+
"type": "number",
|
|
261
|
+
"enforceable": [
|
|
262
|
+
"max"
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
"cumulativeField": "_count",
|
|
266
|
+
"window": "daily"
|
|
267
|
+
},
|
|
268
|
+
"item_update_count_daily": {
|
|
269
|
+
"source": "cumulative",
|
|
270
|
+
"description": "Running daily count of catalogue item changes (not price)",
|
|
271
|
+
"required": true,
|
|
272
|
+
"constraint": {
|
|
273
|
+
"type": "number",
|
|
274
|
+
"enforceable": [
|
|
275
|
+
"max"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"cumulativeField": "_count",
|
|
279
|
+
"window": "daily"
|
|
280
|
+
},
|
|
281
|
+
"item_price_count_daily": {
|
|
282
|
+
"source": "cumulative",
|
|
283
|
+
"description": "Running daily count of item price or VAT-rate changes",
|
|
284
|
+
"required": true,
|
|
285
|
+
"constraint": {
|
|
286
|
+
"type": "number",
|
|
287
|
+
"enforceable": [
|
|
288
|
+
"max"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"cumulativeField": "_count",
|
|
292
|
+
"window": "daily"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"requiredGates": [
|
|
297
|
+
"bounds",
|
|
298
|
+
"intent",
|
|
299
|
+
"commitment",
|
|
300
|
+
"mandate_owner"
|
|
301
|
+
],
|
|
302
|
+
"ttl": {
|
|
303
|
+
"default": 86400,
|
|
304
|
+
"max": 2592000
|
|
305
|
+
},
|
|
306
|
+
"retention_minimum": 7776000,
|
|
307
|
+
"content_binding": {
|
|
308
|
+
"version": "1",
|
|
309
|
+
"kind": "jcs"
|
|
310
|
+
}
|
|
311
|
+
}
|