File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
packages/clients/src/api/tem/v1alpha1 Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ import {
2525} from './marshalling.gen'
2626import type {
2727 CancelEmailRequest ,
28- CheckDomainLastStatusRequest ,
2928 CheckDomainRequest ,
3029 CreateDomainRequest ,
3130 CreateEmailRequest ,
3231 CreateEmailResponse ,
3332 Domain ,
3433 DomainLastStatus ,
3534 Email ,
35+ GetDomainLastStatusRequest ,
3636 GetDomainRequest ,
3737 GetEmailRequest ,
3838 GetStatisticsRequest ,
@@ -348,15 +348,13 @@ export class API extends ParentAPI {
348348 * DKIM records status and potential errors, including the found records to
349349 * make debugging easier.
350350 *
351- * @param request - The request {@link CheckDomainLastStatusRequest }
351+ * @param request - The request {@link GetDomainLastStatusRequest }
352352 * @returns A Promise of DomainLastStatus
353353 */
354- checkDomainLastStatus = ( request : Readonly < CheckDomainLastStatusRequest > ) =>
354+ getDomainLastStatus = ( request : Readonly < GetDomainLastStatusRequest > ) =>
355355 this . client . fetch < DomainLastStatus > (
356356 {
357- body : '{}' ,
358- headers : jsonContentHeaders ,
359- method : 'POST' ,
357+ method : 'GET' ,
360358 path : `/transactional-email/v1alpha1/regions/${ validatePathParam (
361359 'region' ,
362360 request . region ?? this . client . settings . defaultRegion ,
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ export { API } from './api.gen'
44export * from './content.gen'
55export type {
66 CancelEmailRequest ,
7- CheckDomainLastStatusRequest ,
87 CheckDomainRequest ,
98 CreateDomainRequest ,
109 CreateEmailRequest ,
@@ -22,6 +21,7 @@ export type {
2221 EmailRcptType ,
2322 EmailStatus ,
2423 EmailTry ,
24+ GetDomainLastStatusRequest ,
2525 GetDomainRequest ,
2626 GetEmailRequest ,
2727 GetStatisticsRequest ,
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ export type CheckDomainRequest = {
394394 domainId : string
395395}
396396
397- export type CheckDomainLastStatusRequest = {
397+ export type GetDomainLastStatusRequest = {
398398 /**
399399 * Region to target. If none is passed will use default region from the
400400 * config.
You can’t perform that action at this time.
0 commit comments