File tree 2 files changed +8
-23
lines changed
packages/clients/src/api/tem/v1alpha1
2 files changed +8
-23
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ export class API extends ParentAPI {
135
135
request . pageSize ?? this . client . settings . defaultPageSize ,
136
136
] ,
137
137
[ 'project_id' , request . projectId ] ,
138
+ [ 'search' , request . search ] ,
138
139
[ 'since' , request . since ] ,
139
140
[ 'statuses' , request . statuses ] ,
140
141
[ 'subject' , request . subject ] ,
@@ -146,15 +147,7 @@ export class API extends ParentAPI {
146
147
147
148
/**
148
149
* List emails. Retrieve the list of emails sent from a specific domain or for
149
- * a specific Project or Organization. You must specify the `region`. You can
150
- * filter your emails in ascending or descending order using:
151
- *
152
- * - Created_at
153
- * - Updated_at
154
- * - Status
155
- * - Mail_from
156
- * - Mail_rcpt
157
- * - Subject
150
+ * a specific Project or Organization. You must specify the `region`.
158
151
*
159
152
* @param request - The request {@link ListEmailsRequest}
160
153
* @returns A Promise of ListEmailsResponse
Original file line number Diff line number Diff line change @@ -201,11 +201,11 @@ export type CreateEmailRequest = {
201
201
region ?: Region
202
202
/** Sender information. Must be from a checked domain declared in the Project. */
203
203
from ?: CreateEmailRequestAddress
204
- /** Array of recipient information (limited to 1 recipient) . */
204
+ /** An array of the primary recipient's information . */
205
205
to ?: CreateEmailRequestAddress [ ]
206
- /** Array of recipient information (unimplemented) . */
206
+ /** An array of the carbon copy recipient's information. */
207
207
cc ?: CreateEmailRequestAddress [ ]
208
- /** Array of recipient information (unimplemented) . */
208
+ /** An array of the blind carbon copy recipient's information. */
209
209
bcc ?: CreateEmailRequestAddress [ ]
210
210
/** Subject of the email. */
211
211
subject : string
@@ -262,17 +262,9 @@ export type ListEmailsRequest = {
262
262
statuses ?: EmailStatus [ ]
263
263
/** (Optional) List emails with this subject. */
264
264
subject ?: string
265
- /**
266
- * (Optional) List emails corresponding to specific criteria. You can filter
267
- * your emails in ascending or descending order using:
268
- *
269
- * - Created_at
270
- * - Updated_at
271
- * - Status
272
- * - Mail_from
273
- * - Mail_rcpt
274
- * - Subject.
275
- */
265
+ /** (Optional) List emails by searching to all fields. */
266
+ search ?: string
267
+ /** (Optional) List emails corresponding to specific criteria. */
276
268
orderBy ?: ListEmailsRequestOrderBy
277
269
}
278
270
You can’t perform that action at this time.
0 commit comments