diff --git a/packages/clients/src/api/tem/v1alpha1/api.gen.ts b/packages/clients/src/api/tem/v1alpha1/api.gen.ts index bf17dfc74..cdc6c5936 100644 --- a/packages/clients/src/api/tem/v1alpha1/api.gen.ts +++ b/packages/clients/src/api/tem/v1alpha1/api.gen.ts @@ -3,12 +3,11 @@ import { API as ParentAPI, enrichForPagination, - unmarshalServiceInfo, urlParams, validatePathParam, waitForResource, } from '../../../bridge' -import type { Region, ServiceInfo, WaitForOptions } from '../../../bridge' +import type { Region, WaitForOptions } from '../../../bridge' import { DOMAIN_TRANSIENT_STATUSES, EMAIL_TRANSIENT_STATUSES, @@ -33,7 +32,6 @@ import type { Email, GetDomainRequest, GetEmailRequest, - GetServiceInfoRequest, GetStatisticsRequest, ListDomainsRequest, ListDomainsResponse, @@ -56,18 +54,6 @@ export class API extends ParentAPI { /** Lists the available regions of the API. */ public static readonly LOCALITIES: Region[] = ['fr-par'] - getServiceInfo = (request: Readonly = {}) => - this.client.fetch( - { - method: 'GET', - path: `/transactional-email/v1alpha1/regions/${validatePathParam( - 'region', - request.region ?? this.client.settings.defaultRegion, - )}`, - }, - unmarshalServiceInfo, - ) - /** * Send an email * diff --git a/packages/clients/src/api/tem/v1alpha1/index.gen.ts b/packages/clients/src/api/tem/v1alpha1/index.gen.ts index 4c8d88fb4..ac4202d07 100644 --- a/packages/clients/src/api/tem/v1alpha1/index.gen.ts +++ b/packages/clients/src/api/tem/v1alpha1/index.gen.ts @@ -19,7 +19,6 @@ export type { EmailTry, GetDomainRequest, GetEmailRequest, - GetServiceInfoRequest, GetStatisticsRequest, ListDomainsRequest, ListDomainsResponse, diff --git a/packages/clients/src/api/tem/v1alpha1/types.gen.ts b/packages/clients/src/api/tem/v1alpha1/types.gen.ts index d70dd3004..a654672a2 100644 --- a/packages/clients/src/api/tem/v1alpha1/types.gen.ts +++ b/packages/clients/src/api/tem/v1alpha1/types.gen.ts @@ -178,11 +178,6 @@ export interface Statistics { canceledCount: number } -export type GetServiceInfoRequest = { - /** Region to target. If none is passed will use default region from the config */ - region?: Region -} - export type CreateEmailRequest = { /** Region to target. If none is passed will use default region from the config */ region?: Region