Commit de7ca09
fix(dataEvents): widen event metadata typing beyond string
Event metadata accepts string, number, date, link, rich link, and monetary
amount values (per public docs and server-side handling), but the OpenAPI
schemas restrict it to additionalProperties.type: string, generating metadata
as Record<string, string> in the SDKs. Widen create_data_event_request.metadata
and data_event.metadata to additionalProperties: true in both the stable (2.14)
and preview overrides so generated SDKs type it as Record<string, unknown>.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 194be75 commit de7ca09
2 files changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1418 | 1418 | | |
1419 | 1419 | | |
1420 | 1420 | | |
1421 | | - | |
1422 | | - | |
| 1421 | + | |
1423 | 1422 | | |
1424 | 1423 | | |
1425 | 1424 | | |
| |||
1451 | 1450 | | |
1452 | 1451 | | |
1453 | 1452 | | |
1454 | | - | |
1455 | | - | |
| 1453 | + | |
1456 | 1454 | | |
1457 | 1455 | | |
1458 | 1456 | | |
| |||
1486 | 1484 | | |
1487 | 1485 | | |
1488 | 1486 | | |
1489 | | - | |
1490 | | - | |
| 1487 | + | |
1491 | 1488 | | |
1492 | 1489 | | |
1493 | 1490 | | |
| |||
1886 | 1883 | | |
1887 | 1884 | | |
1888 | 1885 | | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
1889 | 1889 | | |
1890 | 1890 | | |
1891 | 1891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
117 | 125 | | |
118 | 126 | | |
119 | 127 | | |
| |||
0 commit comments