File tree Expand file tree Collapse file tree 3 files changed +1
-21
lines changed
packages/clients/src/api/tem/v1alpha1 Expand file tree Collapse file tree 3 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 33import {
44 API as ParentAPI ,
55 enrichForPagination ,
6- unmarshalServiceInfo ,
76 urlParams ,
87 validatePathParam ,
98 waitForResource ,
109} from '../../../bridge'
11- import type { Region , ServiceInfo , WaitForOptions } from '../../../bridge'
10+ import type { Region , WaitForOptions } from '../../../bridge'
1211import {
1312 DOMAIN_TRANSIENT_STATUSES ,
1413 EMAIL_TRANSIENT_STATUSES ,
@@ -33,7 +32,6 @@ import type {
3332 Email ,
3433 GetDomainRequest ,
3534 GetEmailRequest ,
36- GetServiceInfoRequest ,
3735 GetStatisticsRequest ,
3836 ListDomainsRequest ,
3937 ListDomainsResponse ,
@@ -56,18 +54,6 @@ export class API extends ParentAPI {
5654 /** Lists the available regions of the API. */
5755 public static readonly LOCALITIES : Region [ ] = [ 'fr-par' ]
5856
59- getServiceInfo = ( request : Readonly < GetServiceInfoRequest > = { } ) =>
60- this . client . fetch < ServiceInfo > (
61- {
62- method : 'GET' ,
63- path : `/transactional-email/v1alpha1/regions/${ validatePathParam (
64- 'region' ,
65- request . region ?? this . client . settings . defaultRegion ,
66- ) } `,
67- } ,
68- unmarshalServiceInfo ,
69- )
70-
7157 /**
7258 * Send an email
7359 *
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ export type {
1919 EmailTry ,
2020 GetDomainRequest ,
2121 GetEmailRequest ,
22- GetServiceInfoRequest ,
2322 GetStatisticsRequest ,
2423 ListDomainsRequest ,
2524 ListDomainsResponse ,
Original file line number Diff line number Diff line change @@ -178,11 +178,6 @@ export interface Statistics {
178178 canceledCount : number
179179}
180180
181- export type GetServiceInfoRequest = {
182- /** Region to target. If none is passed will use default region from the config */
183- region ?: Region
184- }
185-
186181export type CreateEmailRequest = {
187182 /** Region to target. If none is passed will use default region from the config */
188183 region ?: Region
You can’t perform that action at this time.
0 commit comments