Skip to content

Commit 92b50de

Browse files
feat(api): api update
1 parent c0fc7b8 commit 92b50de

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 12
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-6a9d3b677dcfb856dc571865c34b3fe401e4d7f0d799edfc743acb9a55800bd0.yml
3-
openapi_spec_hash: 037703a6c741e4310fda3f57c22fa51e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-e6762e83ef7cdff129d03d0ab8c130db2fb5d1d820142847c27d72b40a0e9f53.yml
3+
openapi_spec_hash: f38fb40a2b28bae4b0c9c4228c1c0e0d
44
config_hash: 41c337f5cda03b13880617490f82bad0

src/Inbox/InboxListCasFilesResponse/File.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* messageDate?: string|null,
2020
* messageID?: string|null,
2121
* originalFilename?: string|null,
22+
* senderEmail?: string|null,
2223
* size?: int|null,
2324
* url?: string|null,
2425
* }
@@ -66,6 +67,12 @@ final class File implements BaseModel
6667
#[Optional('original_filename')]
6768
public ?string $originalFilename;
6869

70+
/**
71+
* Email address of the CAS authority who sent this.
72+
*/
73+
#[Optional('sender_email')]
74+
public ?string $senderEmail;
75+
6976
/**
7077
* File size in bytes.
7178
*/
@@ -97,6 +104,7 @@ public static function with(
97104
?string $messageDate = null,
98105
?string $messageID = null,
99106
?string $originalFilename = null,
107+
?string $senderEmail = null,
100108
?int $size = null,
101109
?string $url = null,
102110
): self {
@@ -108,6 +116,7 @@ public static function with(
108116
null !== $messageDate && $self['messageDate'] = $messageDate;
109117
null !== $messageID && $self['messageID'] = $messageID;
110118
null !== $originalFilename && $self['originalFilename'] = $originalFilename;
119+
null !== $senderEmail && $self['senderEmail'] = $senderEmail;
111120
null !== $size && $self['size'] = $size;
112121
null !== $url && $self['url'] = $url;
113122

@@ -182,6 +191,17 @@ public function withOriginalFilename(string $originalFilename): self
182191
return $self;
183192
}
184193

194+
/**
195+
* Email address of the CAS authority who sent this.
196+
*/
197+
public function withSenderEmail(string $senderEmail): self
198+
{
199+
$self = clone $this;
200+
$self['senderEmail'] = $senderEmail;
201+
202+
return $self;
203+
}
204+
185205
/**
186206
* File size in bytes.
187207
*/

0 commit comments

Comments
 (0)