Commit 7aa888d
Fern bot/2026 02 02 t19 11 z (#358)
* SDK regeneration
* Update tests for required field changes in SDK
Remove .orElseThrow() calls from tests where the SDK now returns
non-optional types for id and conversation_id fields:
- ContactsCreateResponse.getId() now returns String
- Conversation.getId() now returns String
- Message.getConversationId() now returns String
- Note.getId() now returns String
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix remaining test files for required field changes
Update MessagesTest, IntegrationTest, and CompaniesTest to remove
.orElseThrow() calls that are no longer needed since the SDK now
returns non-optional types.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 95b6cb4 commit 7aa888d
File tree
3 files changed
+5
-10
lines changed- src/test/java/com/intercom/api/integration
3 files changed
+5
-10
lines changedLines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 45 | + | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
| 129 | + | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments