From 2557e0d539a4c952ea66187d6ab7c8f10682cdfa Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 7 Oct 2025 13:16:42 +0000 Subject: [PATCH] feat: update generated APIs --- packages_generated/account/src/index.gen.ts | 2 +- packages_generated/account/src/v3/api.gen.ts | 4 +- .../account/src/v3/index.gen.ts | 8 +- .../account/src/v3/marshalling.gen.ts | 2 +- .../applesilicon/src/index.gen.ts | 2 +- .../applesilicon/src/v1alpha1/api.gen.ts | 6 +- .../applesilicon/src/v1alpha1/content.gen.ts | 2 +- .../applesilicon/src/v1alpha1/index.gen.ts | 8 +- .../src/v1alpha1/marshalling.gen.ts | 2 +- .../audit_trail/src/index.gen.ts | 2 +- .../audit_trail/src/v1alpha1/api.gen.ts | 44 ++++++- .../audit_trail/src/v1alpha1/index.gen.ts | 11 +- .../src/v1alpha1/marshalling.gen.ts | 18 ++- .../audit_trail/src/v1alpha1/types.gen.ts | 115 ++++++++++++------ .../autoscaling/src/index.gen.ts | 2 +- .../autoscaling/src/v1alpha1/api.gen.ts | 4 +- .../autoscaling/src/v1alpha1/index.gen.ts | 8 +- .../src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/baremetal/src/index.gen.ts | 4 +- .../baremetal/src/v1/api.gen.ts | 6 +- .../baremetal/src/v1/content.gen.ts | 2 +- .../baremetal/src/v1/index.gen.ts | 10 +- .../baremetal/src/v1/marshalling.gen.ts | 2 +- .../baremetal/src/v3/api.gen.ts | 4 +- .../baremetal/src/v3/content.gen.ts | 2 +- .../baremetal/src/v3/index.gen.ts | 8 +- .../baremetal/src/v3/marshalling.gen.ts | 2 +- packages_generated/billing/src/index.gen.ts | 2 +- .../billing/src/v2beta1/api.gen.ts | 4 +- .../billing/src/v2beta1/index.gen.ts | 6 +- .../billing/src/v2beta1/marshalling.gen.ts | 2 +- packages_generated/block/src/index.gen.ts | 4 +- packages_generated/block/src/v1/api.gen.ts | 6 +- .../block/src/v1/content.gen.ts | 6 +- packages_generated/block/src/v1/index.gen.ts | 10 +- .../block/src/v1/marshalling.gen.ts | 2 +- .../block/src/v1alpha1/api.gen.ts | 6 +- .../block/src/v1alpha1/content.gen.ts | 6 +- .../block/src/v1alpha1/index.gen.ts | 10 +- .../block/src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/cockpit/src/index.gen.ts | 2 +- packages_generated/cockpit/src/v1/api.gen.ts | 4 +- .../cockpit/src/v1/index.gen.ts | 8 +- .../cockpit/src/v1/marshalling.gen.ts | 2 +- packages_generated/container/src/index.gen.ts | 2 +- .../container/src/v1beta1/api.gen.ts | 6 +- .../container/src/v1beta1/content.gen.ts | 2 +- .../container/src/v1beta1/index.gen.ts | 10 +- .../container/src/v1beta1/marshalling.gen.ts | 2 +- .../datawarehouse/src/index.gen.ts | 2 +- .../datawarehouse/src/v1beta1/api.gen.ts | 6 +- .../datawarehouse/src/v1beta1/content.gen.ts | 2 +- .../datawarehouse/src/v1beta1/index.gen.ts | 10 +- .../src/v1beta1/marshalling.gen.ts | 2 +- packages_generated/dedibox/src/index.gen.ts | 2 +- packages_generated/dedibox/src/v1/api.gen.ts | 6 +- .../dedibox/src/v1/content.gen.ts | 2 +- .../dedibox/src/v1/index.gen.ts | 10 +- .../dedibox/src/v1/marshalling.gen.ts | 2 +- packages_generated/domain/src/index.gen.ts | 2 +- .../domain/src/v2beta1/api.gen.ts | 6 +- .../domain/src/v2beta1/content.gen.ts | 2 +- .../domain/src/v2beta1/index.gen.ts | 8 +- .../domain/src/v2beta1/marshalling.gen.ts | 2 +- .../edge_services/src/index.gen.ts | 2 +- .../edge_services/src/v1beta1/api.gen.ts | 6 +- .../edge_services/src/v1beta1/content.gen.ts | 2 +- .../edge_services/src/v1beta1/index.gen.ts | 10 +- .../src/v1beta1/marshalling.gen.ts | 2 +- .../edge_services/src/v1beta1/types.gen.ts | 1 + .../environmental_footprint/src/index.gen.ts | 2 +- .../src/v1alpha1/api.gen.ts | 4 +- .../src/v1alpha1/index.gen.ts | 6 +- .../src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/file/src/index.gen.ts | 2 +- .../file/src/v1alpha1/api.gen.ts | 6 +- .../file/src/v1alpha1/content.gen.ts | 2 +- .../file/src/v1alpha1/index.gen.ts | 10 +- .../file/src/v1alpha1/marshalling.gen.ts | 2 +- .../flexibleip/src/index.gen.ts | 2 +- .../flexibleip/src/v1alpha1/api.gen.ts | 6 +- .../flexibleip/src/v1alpha1/content.gen.ts | 2 +- .../flexibleip/src/v1alpha1/index.gen.ts | 10 +- .../src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/function/src/index.gen.ts | 2 +- .../function/src/v1beta1/api.gen.ts | 6 +- .../function/src/v1beta1/content.gen.ts | 2 +- .../function/src/v1beta1/index.gen.ts | 10 +- .../function/src/v1beta1/marshalling.gen.ts | 2 +- packages_generated/iam/src/index.gen.ts | 2 +- .../iam/src/v1alpha1/api.gen.ts | 4 +- .../iam/src/v1alpha1/index.gen.ts | 8 +- .../iam/src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/inference/src/index.gen.ts | 4 +- .../inference/src/v1/api.gen.ts | 6 +- .../inference/src/v1/content.gen.ts | 2 +- .../inference/src/v1/index.gen.ts | 10 +- .../inference/src/v1/marshalling.gen.ts | 2 +- .../inference/src/v1beta1/api.gen.ts | 6 +- .../inference/src/v1beta1/content.gen.ts | 2 +- .../inference/src/v1beta1/index.gen.ts | 10 +- .../inference/src/v1beta1/marshalling.gen.ts | 2 +- packages_generated/instance/src/index.gen.ts | 2 +- packages_generated/instance/src/v1/api.gen.ts | 6 +- .../instance/src/v1/content.gen.ts | 2 +- .../instance/src/v1/index.gen.ts | 10 +- .../instance/src/v1/marshalling.gen.ts | 4 +- .../instance/src/v1/types.private.gen.ts | 2 +- packages_generated/interlink/src/index.gen.ts | 2 +- .../interlink/src/v1beta1/api.gen.ts | 6 +- .../interlink/src/v1beta1/content.gen.ts | 2 +- .../interlink/src/v1beta1/index.gen.ts | 10 +- .../interlink/src/v1beta1/marshalling.gen.ts | 2 +- packages_generated/iot/src/index.gen.ts | 2 +- packages_generated/iot/src/v1/api.gen.ts | 6 +- packages_generated/iot/src/v1/content.gen.ts | 2 +- packages_generated/iot/src/v1/index.gen.ts | 8 +- .../iot/src/v1/marshalling.gen.ts | 2 +- packages_generated/ipam/src/index.gen.ts | 2 +- packages_generated/ipam/src/v1/api.gen.ts | 4 +- packages_generated/ipam/src/v1/index.gen.ts | 8 +- .../ipam/src/v1/marshalling.gen.ts | 2 +- packages_generated/jobs/src/index.gen.ts | 2 +- .../jobs/src/v1alpha1/api.gen.ts | 4 +- .../jobs/src/v1alpha1/content.gen.ts | 2 +- .../jobs/src/v1alpha1/index.gen.ts | 10 +- .../jobs/src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/k8s/src/index.gen.ts | 2 +- packages_generated/k8s/src/v1/api.gen.ts | 6 +- packages_generated/k8s/src/v1/content.gen.ts | 2 +- packages_generated/k8s/src/v1/index.gen.ts | 10 +- .../k8s/src/v1/marshalling.gen.ts | 2 +- .../key_manager/src/index.gen.ts | 2 +- .../key_manager/src/v1alpha1/api.gen.ts | 4 +- .../key_manager/src/v1alpha1/index.gen.ts | 6 +- .../src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/lb/src/index.gen.ts | 2 +- packages_generated/lb/src/v1/api.gen.ts | 6 +- packages_generated/lb/src/v1/content.gen.ts | 2 +- packages_generated/lb/src/v1/index.gen.ts | 10 +- .../lb/src/v1/marshalling.gen.ts | 2 +- .../lb/src/v1/validation-rules.gen.ts | 6 - .../marketplace/src/index.gen.ts | 2 +- .../marketplace/src/v2/api.gen.ts | 4 +- .../marketplace/src/v2/index.gen.ts | 6 +- .../marketplace/src/v2/marshalling.gen.ts | 2 +- packages_generated/mnq/src/index.gen.ts | 2 +- packages_generated/mnq/src/v1beta1/api.gen.ts | 4 +- .../mnq/src/v1beta1/index.gen.ts | 8 +- .../mnq/src/v1beta1/marshalling.gen.ts | 2 +- packages_generated/mongodb/src/index.gen.ts | 4 +- packages_generated/mongodb/src/v1/api.gen.ts | 6 +- .../mongodb/src/v1/content.gen.ts | 2 +- .../mongodb/src/v1/index.gen.ts | 10 +- .../mongodb/src/v1/marshalling.gen.ts | 2 +- .../mongodb/src/v1alpha1/api.gen.ts | 6 +- .../mongodb/src/v1alpha1/content.gen.ts | 2 +- .../mongodb/src/v1alpha1/index.gen.ts | 10 +- .../mongodb/src/v1alpha1/marshalling.gen.ts | 2 +- .../product_catalog/src/index.gen.ts | 2 +- .../product_catalog/src/v2alpha1/api.gen.ts | 4 +- .../product_catalog/src/v2alpha1/index.gen.ts | 8 +- .../src/v2alpha1/marshalling.gen.ts | 2 +- packages_generated/qaas/src/index.gen.ts | 2 +- .../qaas/src/v1alpha1/api.gen.ts | 6 +- .../qaas/src/v1alpha1/content.gen.ts | 2 +- .../qaas/src/v1alpha1/index.gen.ts | 10 +- .../qaas/src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/rdb/src/index.gen.ts | 2 +- packages_generated/rdb/src/v1/api.gen.ts | 6 +- packages_generated/rdb/src/v1/content.gen.ts | 2 +- packages_generated/rdb/src/v1/index.gen.ts | 10 +- .../rdb/src/v1/marshalling.gen.ts | 2 +- packages_generated/redis/src/index.gen.ts | 2 +- packages_generated/redis/src/v1/api.gen.ts | 6 +- .../redis/src/v1/content.gen.ts | 2 +- packages_generated/redis/src/v1/index.gen.ts | 8 +- .../redis/src/v1/marshalling.gen.ts | 2 +- packages_generated/registry/src/index.gen.ts | 2 +- packages_generated/registry/src/v1/api.gen.ts | 6 +- .../registry/src/v1/content.gen.ts | 2 +- .../registry/src/v1/index.gen.ts | 8 +- .../registry/src/v1/marshalling.gen.ts | 2 +- packages_generated/s2s_vpn/src/index.gen.ts | 2 +- .../s2s_vpn/src/v1alpha1/api.gen.ts | 6 +- .../s2s_vpn/src/v1alpha1/content.gen.ts | 2 +- .../s2s_vpn/src/v1alpha1/index.gen.ts | 10 +- .../s2s_vpn/src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/secret/src/index.gen.ts | 2 +- .../secret/src/v1beta1/api.gen.ts | 4 +- .../secret/src/v1beta1/index.gen.ts | 8 +- .../secret/src/v1beta1/marshalling.gen.ts | 2 +- .../serverless_sqldb/src/index.gen.ts | 2 +- .../serverless_sqldb/src/v1alpha1/api.gen.ts | 6 +- .../src/v1alpha1/content.gen.ts | 2 +- .../src/v1alpha1/index.gen.ts | 10 +- .../src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/std/src/index.gen.ts | 2 +- packages_generated/tem/src/index.gen.ts | 2 +- .../tem/src/v1alpha1/api.gen.ts | 6 +- .../tem/src/v1alpha1/content.gen.ts | 2 +- .../tem/src/v1alpha1/index.gen.ts | 10 +- .../tem/src/v1alpha1/marshalling.gen.ts | 2 +- packages_generated/test/src/index.gen.ts | 2 +- packages_generated/test/src/v1/api.gen.ts | 6 +- packages_generated/test/src/v1/content.gen.ts | 2 +- packages_generated/test/src/v1/index.gen.ts | 8 +- .../test/src/v1/marshalling.gen.ts | 2 +- packages_generated/vpc/src/index.gen.ts | 2 +- packages_generated/vpc/src/v2/api.gen.ts | 4 +- packages_generated/vpc/src/v2/index.gen.ts | 8 +- .../vpc/src/v2/marshalling.gen.ts | 2 +- packages_generated/vpcgw/src/index.gen.ts | 4 +- packages_generated/vpcgw/src/v1/api.gen.ts | 6 +- .../vpcgw/src/v1/content.gen.ts | 2 +- packages_generated/vpcgw/src/v1/index.gen.ts | 8 +- .../vpcgw/src/v1/marshalling.gen.ts | 2 +- packages_generated/vpcgw/src/v2/api.gen.ts | 6 +- .../vpcgw/src/v2/content.gen.ts | 2 +- packages_generated/vpcgw/src/v2/index.gen.ts | 8 +- .../vpcgw/src/v2/marshalling.gen.ts | 2 +- .../webhosting/src/index.gen.ts | 2 +- .../webhosting/src/v1/api.gen.ts | 6 +- .../webhosting/src/v1/content.gen.ts | 2 +- .../webhosting/src/v1/index.gen.ts | 10 +- .../webhosting/src/v1/marshalling.gen.ts | 3 +- .../webhosting/src/v1/types.gen.ts | 4 + 227 files changed, 624 insertions(+), 518 deletions(-) diff --git a/packages_generated/account/src/index.gen.ts b/packages_generated/account/src/index.gen.ts index 0f3d97ae0..154753398 100644 --- a/packages_generated/account/src/index.gen.ts +++ b/packages_generated/account/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Accountv3 from './v3/index.gen' +export * as Accountv3 from './v3/index.gen.js' diff --git a/packages_generated/account/src/v3/api.gen.ts b/packages_generated/account/src/v3/api.gen.ts index 0f755310b..3bea8e95e 100644 --- a/packages_generated/account/src/v3/api.gen.ts +++ b/packages_generated/account/src/v3/api.gen.ts @@ -18,7 +18,7 @@ import { unmarshalListProjectsResponse, unmarshalProject, unmarshalProjectQualification, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CheckContractSignatureResponse, ContractApiCheckContractSignatureRequest, @@ -37,7 +37,7 @@ import type { ProjectApiSetProjectQualificationRequest, ProjectApiUpdateProjectRequest, ProjectQualification, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/account/src/v3/index.gen.ts b/packages_generated/account/src/v3/index.gen.ts index a7e6ba2d5..663def78a 100644 --- a/packages_generated/account/src/v3/index.gen.ts +++ b/packages_generated/account/src/v3/index.gen.ts @@ -3,8 +3,8 @@ export { ContractAPI, ProjectAPI, -} from './api.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './marshalling.gen.js' export type { CheckContractSignatureResponse, Contract, @@ -47,5 +47,5 @@ export type { QualificationSetScalewayEnvironmentSubUseCase, QualificationShareData, QualificationShareDataSubUseCase, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/account/src/v3/marshalling.gen.ts b/packages_generated/account/src/v3/marshalling.gen.ts index 67ddda4a3..a25886d07 100644 --- a/packages_generated/account/src/v3/marshalling.gen.ts +++ b/packages_generated/account/src/v3/marshalling.gen.ts @@ -31,7 +31,7 @@ import type { QualificationOtherUseCase, QualificationSetScalewayEnvironment, QualificationShareData, -} from './types.gen' +} from './types.gen.js' const unmarshalContract = (data: unknown): Contract => { if (!isJSONObject(data)) { diff --git a/packages_generated/applesilicon/src/index.gen.ts b/packages_generated/applesilicon/src/index.gen.ts index b1e66d2b5..bdfd38cc7 100644 --- a/packages_generated/applesilicon/src/index.gen.ts +++ b/packages_generated/applesilicon/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Applesiliconv1alpha1 from './v1alpha1/index.gen' +export * as Applesiliconv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/applesilicon/src/v1alpha1/api.gen.ts b/packages_generated/applesilicon/src/v1alpha1/api.gen.ts index 8b3de5642..e541a4c6e 100644 --- a/packages_generated/applesilicon/src/v1alpha1/api.gen.ts +++ b/packages_generated/applesilicon/src/v1alpha1/api.gen.ts @@ -13,7 +13,7 @@ import { import { SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES_APPLESILICON, SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_APPLESILICON, -} from './content.gen' +} from './content.gen.js' import { marshalBatchCreateServersRequest, marshalCreateServerRequest, @@ -34,7 +34,7 @@ import { unmarshalServerType, unmarshalSetServerPrivateNetworksResponse, unmarshalStartConnectivityDiagnosticResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { BatchCreateServersRequest, BatchCreateServersResponse, @@ -67,7 +67,7 @@ import type { StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/applesilicon/src/v1alpha1/content.gen.ts b/packages_generated/applesilicon/src/v1alpha1/content.gen.ts index 32e6d1259..59af5589e 100644 --- a/packages_generated/applesilicon/src/v1alpha1/content.gen.ts +++ b/packages_generated/applesilicon/src/v1alpha1/content.gen.ts @@ -4,7 +4,7 @@ import type { ServerPrivateNetworkServerStatus, ServerPrivateNetworkStatus, ServerStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link ServerPrivateNetworkServerStatus}. */ export const SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES: ServerPrivateNetworkServerStatus[] = diff --git a/packages_generated/applesilicon/src/v1alpha1/index.gen.ts b/packages_generated/applesilicon/src/v1alpha1/index.gen.ts index 94d27c335..e150a3cc6 100644 --- a/packages_generated/applesilicon/src/v1alpha1/index.gen.ts +++ b/packages_generated/applesilicon/src/v1alpha1/index.gen.ts @@ -3,9 +3,9 @@ export { API, PrivateNetworkAPI, -} from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { BatchCreateServersRequest, BatchCreateServersRequestBatchInnerCreateServerRequest, @@ -60,4 +60,4 @@ export type { StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/applesilicon/src/v1alpha1/marshalling.gen.ts b/packages_generated/applesilicon/src/v1alpha1/marshalling.gen.ts index 2a0ca5474..9b2af09a6 100644 --- a/packages_generated/applesilicon/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/applesilicon/src/v1alpha1/marshalling.gen.ts @@ -39,7 +39,7 @@ import type { StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalOSSupportedServerType = ( data: unknown, diff --git a/packages_generated/audit_trail/src/index.gen.ts b/packages_generated/audit_trail/src/index.gen.ts index d3be480c3..9934379b0 100644 --- a/packages_generated/audit_trail/src/index.gen.ts +++ b/packages_generated/audit_trail/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as AuditTrailv1alpha1 from './v1alpha1/index.gen' +export * as AuditTrailv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/audit_trail/src/v1alpha1/api.gen.ts b/packages_generated/audit_trail/src/v1alpha1/api.gen.ts index e69acd475..762f9a09e 100644 --- a/packages_generated/audit_trail/src/v1alpha1/api.gen.ts +++ b/packages_generated/audit_trail/src/v1alpha1/api.gen.ts @@ -3,6 +3,7 @@ import type { ApiLocality } from '@scaleway/sdk-client' import { + enrichForPagination, API as ParentAPI, toApiLocality, urlParams, @@ -14,8 +15,9 @@ import { unmarshalListAuthenticationEventsResponse, unmarshalListCombinedEventsResponse, unmarshalListEventsResponse, + unmarshalListExportJobsResponse, unmarshalListProductsResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateExportJobRequest, DeleteExportJobRequest, @@ -26,9 +28,11 @@ import type { ListCombinedEventsResponse, ListEventsRequest, ListEventsResponse, + ListExportJobsRequest, + ListExportJobsResponse, ListProductsRequest, ListProductsResponse, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', @@ -193,4 +197,40 @@ export class API extends ParentAPI { method: 'DELETE', path: `/audit-trail/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/export-jobs/${validatePathParam('exportJobId', request.exportJobId)}`, }) + + protected pageOfListExportJobs = ( + request: Readonly = {}, + ) => + this.client.fetch( + { + method: 'GET', + path: `/audit-trail/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/export-jobs`, + urlParams: urlParams( + ['name', request.name], + ['order_by', request.orderBy], + [ + 'organization_id', + request.organizationId ?? + this.client.settings.defaultOrganizationId, + ], + ['page', request.page], + [ + 'page_size', + request.pageSize ?? this.client.settings.defaultPageSize, + ], + [ + 'tags', + request.tags + ? Object.entries(request.tags).map( + ([key, value]) => `${key}:${value}`, + ) + : undefined, + ], + ), + }, + unmarshalListExportJobsResponse, + ) + + listExportJobs = (request: Readonly = {}) => + enrichForPagination('exportJobs', this.pageOfListExportJobs, request) } diff --git a/packages_generated/audit_trail/src/v1alpha1/index.gen.ts b/packages_generated/audit_trail/src/v1alpha1/index.gen.ts index e95b832dd..77edc3dfe 100644 --- a/packages_generated/audit_trail/src/v1alpha1/index.gen.ts +++ b/packages_generated/audit_trail/src/v1alpha1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { AccountOrganizationInfo, AccountProjectInfo, @@ -38,6 +38,9 @@ export type { ListEventsRequest, ListEventsRequestOrderBy, ListEventsResponse, + ListExportJobsRequest, + ListExportJobsRequestOrderBy, + ListExportJobsResponse, ListProductsRequest, ListProductsResponse, LoadBalancerAclInfo, @@ -55,5 +58,5 @@ export type { SecretManagerSecretVersionInfo, SystemEvent, SystemEventKind, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/audit_trail/src/v1alpha1/marshalling.gen.ts b/packages_generated/audit_trail/src/v1alpha1/marshalling.gen.ts index 7bc90e6b4..67783f906 100644 --- a/packages_generated/audit_trail/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/audit_trail/src/v1alpha1/marshalling.gen.ts @@ -32,6 +32,7 @@ import type { ListCombinedEventsResponse, ListCombinedEventsResponseCombinedEvent, ListEventsResponse, + ListExportJobsResponse, ListProductsResponse, LoadBalancerAclInfo, LoadBalancerBackendInfo, @@ -46,7 +47,7 @@ import type { SecretManagerSecretInfo, SecretManagerSecretVersionInfo, SystemEvent, -} from './types.gen' +} from './types.gen.js' const unmarshalExportJobS3 = (data: unknown): ExportJobS3 => { if (!isJSONObject(data)) { @@ -610,6 +611,21 @@ export const unmarshalListEventsResponse = ( } as ListEventsResponse } +export const unmarshalListExportJobsResponse = ( + data: unknown, +): ListExportJobsResponse => { + if (!isJSONObject(data)) { + throw new TypeError( + `Unmarshalling the type 'ListExportJobsResponse' failed as data isn't a dictionary.`, + ) + } + + return { + exportJobs: unmarshalArrayOfObject(data.export_jobs, unmarshalExportJob), + totalCount: data.total_count, + } as ListExportJobsResponse +} + const unmarshalProductService = (data: unknown): ProductService => { if (!isJSONObject(data)) { throw new TypeError( diff --git a/packages_generated/audit_trail/src/v1alpha1/types.gen.ts b/packages_generated/audit_trail/src/v1alpha1/types.gen.ts index 1c1c1c4bb..381bb294d 100644 --- a/packages_generated/audit_trail/src/v1alpha1/types.gen.ts +++ b/packages_generated/audit_trail/src/v1alpha1/types.gen.ts @@ -34,6 +34,12 @@ export type ListCombinedEventsRequestOrderBy = export type ListEventsRequestOrderBy = 'recorded_at_desc' | 'recorded_at_asc' +export type ListExportJobsRequestOrderBy = + | 'name_asc' + | 'name_desc' + | 'created_at_asc' + | 'created_at_desc' + export type ResourceType = | 'unknown_type' | 'secm_secret' @@ -444,11 +450,6 @@ export interface SystemEvent { productName: string } -export interface ProductService { - name: string - methods: string[] -} - export interface ExportJobS3 { bucket: string /** @@ -459,6 +460,11 @@ export interface ExportJobS3 { projectId?: string } +export interface ProductService { + name: string + methods: string[] +} + export interface ListCombinedEventsResponseCombinedEvent { /** * @@ -477,6 +483,39 @@ export interface ListCombinedEventsResponseCombinedEvent { system?: SystemEvent } +export interface ExportJob { + /** + * ID of the export job. + */ + id: string + /** + * ID of the targeted Organization. + */ + organizationId: string + /** + * Name of the export. + */ + name: string + /** + * Destination in an S3 storage. + * + * One-of ('destination'): at most one of 's3' could be set. + */ + s3?: ExportJobS3 + /** + * Export job creation date. + */ + createdAt?: Date + /** + * Last export date. + */ + lastRunAt?: Date + /** + * Tags of the export. + */ + tags: Record +} + export interface Product { /** * Product title. @@ -528,39 +567,6 @@ export type DeleteExportJobRequest = { exportJobId: string } -export interface ExportJob { - /** - * ID of the export job. - */ - id: string - /** - * ID of the targeted Organization. - */ - organizationId: string - /** - * Name of the export. - */ - name: string - /** - * Destination in an S3 storage. - * - * One-of ('destination'): at most one of 's3' could be set. - */ - s3?: ExportJobS3 - /** - * Export job creation date. - */ - createdAt?: Date - /** - * Last export date. - */ - lastRunAt?: Date - /** - * Tags of the export. - */ - tags: Record -} - export type ListAuthenticationEventsRequest = { /** * Region to target. If none is passed will use default region from the config. @@ -668,6 +674,39 @@ export interface ListEventsResponse { nextPageToken?: string } +export type ListExportJobsRequest = { + /** + * Region to target. If none is passed will use default region from the config. + */ + region?: ScwRegion + /** + * Filter by Organization ID. + */ + organizationId?: string + /** + * (Optional) Filter by export name. + */ + name?: string + /** + * (Optional) List of tags to filter on. + */ + tags?: Record + page?: number + pageSize?: number + orderBy?: ListExportJobsRequestOrderBy +} + +export interface ListExportJobsResponse { + /** + * Single page of export jobs matching the requested criteria. + */ + exportJobs: ExportJob[] + /** + * Total count of export jobs matching the requested criteria. + */ + totalCount: number +} + export type ListProductsRequest = { /** * Region to target. If none is passed will use default region from the config. diff --git a/packages_generated/autoscaling/src/index.gen.ts b/packages_generated/autoscaling/src/index.gen.ts index c61fe2e8f..28dbc1477 100644 --- a/packages_generated/autoscaling/src/index.gen.ts +++ b/packages_generated/autoscaling/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Autoscalingv1alpha1 from './v1alpha1/index.gen' +export * as Autoscalingv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/autoscaling/src/v1alpha1/api.gen.ts b/packages_generated/autoscaling/src/v1alpha1/api.gen.ts index d43beb7ac..09da1d2e0 100644 --- a/packages_generated/autoscaling/src/v1alpha1/api.gen.ts +++ b/packages_generated/autoscaling/src/v1alpha1/api.gen.ts @@ -20,7 +20,7 @@ import { unmarshalListInstanceGroupsResponse, unmarshalListInstancePoliciesResponse, unmarshalListInstanceTemplatesResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateInstanceGroupRequest, CreateInstancePolicyRequest, @@ -45,7 +45,7 @@ import type { UpdateInstanceGroupRequest, UpdateInstancePolicyRequest, UpdateInstanceTemplateRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/autoscaling/src/v1alpha1/index.gen.ts b/packages_generated/autoscaling/src/v1alpha1/index.gen.ts index b18005d87..16d2e1053 100644 --- a/packages_generated/autoscaling/src/v1alpha1/index.gen.ts +++ b/packages_generated/autoscaling/src/v1alpha1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { Capacity, CreateInstanceGroupRequest, @@ -52,5 +52,5 @@ export type { VolumeInstanceTemplateFromEmpty, VolumeInstanceTemplateFromSnapshot, VolumeInstanceTemplateVolumeType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/autoscaling/src/v1alpha1/marshalling.gen.ts b/packages_generated/autoscaling/src/v1alpha1/marshalling.gen.ts index 68f06d7c2..9ee7d19dc 100644 --- a/packages_generated/autoscaling/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/autoscaling/src/v1alpha1/marshalling.gen.ts @@ -33,7 +33,7 @@ import type { VolumeInstanceTemplate, VolumeInstanceTemplateFromEmpty, VolumeInstanceTemplateFromSnapshot, -} from './types.gen' +} from './types.gen.js' const unmarshalCapacity = (data: unknown): Capacity => { if (!isJSONObject(data)) { diff --git a/packages_generated/baremetal/src/index.gen.ts b/packages_generated/baremetal/src/index.gen.ts index 12455ea36..4a17f533e 100644 --- a/packages_generated/baremetal/src/index.gen.ts +++ b/packages_generated/baremetal/src/index.gen.ts @@ -3,5 +3,5 @@ * PLEASE DO NOT EDIT HERE */ -export * as Baremetalv1 from './v1/index.gen' -export * as Baremetalv3 from './v3/index.gen' +export * as Baremetalv1 from './v1/index.gen.js' +export * as Baremetalv3 from './v3/index.gen.js' diff --git a/packages_generated/baremetal/src/v1/api.gen.ts b/packages_generated/baremetal/src/v1/api.gen.ts index d9cd13009..059c9031b 100644 --- a/packages_generated/baremetal/src/v1/api.gen.ts +++ b/packages_generated/baremetal/src/v1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_BAREMETAL } from './content.gen' +import { SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_BAREMETAL } from './content.gen.js' import { marshalAddOptionServerRequest, marshalCreateServerRequest, @@ -42,7 +42,7 @@ import { unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddOptionServerRequest, BMCAccess, @@ -94,7 +94,7 @@ import type { UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/baremetal/src/v1/content.gen.ts b/packages_generated/baremetal/src/v1/content.gen.ts index 18e62b262..329ac1451 100644 --- a/packages_generated/baremetal/src/v1/content.gen.ts +++ b/packages_generated/baremetal/src/v1/content.gen.ts @@ -4,7 +4,7 @@ import type { ServerInstallStatus, ServerPrivateNetworkStatus, ServerStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link ServerInstallStatus}. */ export const SERVER_INSTALL_TRANSIENT_STATUSES: ServerInstallStatus[] = [ diff --git a/packages_generated/baremetal/src/v1/index.gen.ts b/packages_generated/baremetal/src/v1/index.gen.ts index cecff9d78..c95477ecc 100644 --- a/packages_generated/baremetal/src/v1/index.gen.ts +++ b/packages_generated/baremetal/src/v1/index.gen.ts @@ -3,9 +3,9 @@ export { API, PrivateNetworkAPI, -} from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AddOptionServerRequest, BMCAccess, @@ -100,5 +100,5 @@ export type { UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/baremetal/src/v1/marshalling.gen.ts b/packages_generated/baremetal/src/v1/marshalling.gen.ts index e6853688b..986247627 100644 --- a/packages_generated/baremetal/src/v1/marshalling.gen.ts +++ b/packages_generated/baremetal/src/v1/marshalling.gen.ts @@ -65,7 +65,7 @@ import type { UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalSchemaPartition = (data: unknown): SchemaPartition => { if (!isJSONObject(data)) { diff --git a/packages_generated/baremetal/src/v3/api.gen.ts b/packages_generated/baremetal/src/v3/api.gen.ts index c8acc954b..8f13f5207 100644 --- a/packages_generated/baremetal/src/v3/api.gen.ts +++ b/packages_generated/baremetal/src/v3/api.gen.ts @@ -15,7 +15,7 @@ import { unmarshalListServerPrivateNetworksResponse, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { ListServerPrivateNetworksResponse, PrivateNetworkApiAddServerPrivateNetworkRequest, @@ -24,7 +24,7 @@ import type { PrivateNetworkApiSetServerPrivateNetworksRequest, ServerPrivateNetwork, SetServerPrivateNetworksResponse, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/baremetal/src/v3/content.gen.ts b/packages_generated/baremetal/src/v3/content.gen.ts index 2bd1607cf..1c5a0149e 100644 --- a/packages_generated/baremetal/src/v3/content.gen.ts +++ b/packages_generated/baremetal/src/v3/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { ServerPrivateNetworkStatus } from './types.gen' +import type { ServerPrivateNetworkStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link ServerPrivateNetworkStatus}. */ export const SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: ServerPrivateNetworkStatus[] = diff --git a/packages_generated/baremetal/src/v3/index.gen.ts b/packages_generated/baremetal/src/v3/index.gen.ts index b38e74e52..dfd59465d 100644 --- a/packages_generated/baremetal/src/v3/index.gen.ts +++ b/packages_generated/baremetal/src/v3/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { PrivateNetworkAPI } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { PrivateNetworkAPI } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { ListServerPrivateNetworksRequestOrderBy, ListServerPrivateNetworksResponse, @@ -13,4 +13,4 @@ export type { ServerPrivateNetwork, ServerPrivateNetworkStatus, SetServerPrivateNetworksResponse, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/baremetal/src/v3/marshalling.gen.ts b/packages_generated/baremetal/src/v3/marshalling.gen.ts index 76d5565e5..29ac8f391 100644 --- a/packages_generated/baremetal/src/v3/marshalling.gen.ts +++ b/packages_generated/baremetal/src/v3/marshalling.gen.ts @@ -13,7 +13,7 @@ import type { PrivateNetworkApiSetServerPrivateNetworksRequest, ServerPrivateNetwork, SetServerPrivateNetworksResponse, -} from './types.gen' +} from './types.gen.js' export const unmarshalServerPrivateNetwork = ( data: unknown, diff --git a/packages_generated/billing/src/index.gen.ts b/packages_generated/billing/src/index.gen.ts index 76148d596..055895d36 100644 --- a/packages_generated/billing/src/index.gen.ts +++ b/packages_generated/billing/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Billingv2beta1 from './v2beta1/index.gen' +export * as Billingv2beta1 from './v2beta1/index.gen.js' diff --git a/packages_generated/billing/src/v2beta1/api.gen.ts b/packages_generated/billing/src/v2beta1/api.gen.ts index 2254f7b78..6cbe9fd2a 100644 --- a/packages_generated/billing/src/v2beta1/api.gen.ts +++ b/packages_generated/billing/src/v2beta1/api.gen.ts @@ -14,7 +14,7 @@ import { unmarshalListDiscountsResponse, unmarshalListInvoicesResponse, unmarshalListTaxesResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { Discount, DownloadInvoiceRequest, @@ -30,7 +30,7 @@ import type { ListTaxesRequest, ListTaxesResponse, RedeemCouponRequest, -} from './types.gen' +} from './types.gen.js' /** * Billing API. diff --git a/packages_generated/billing/src/v2beta1/index.gen.ts b/packages_generated/billing/src/v2beta1/index.gen.ts index fb74b2fb3..13fdfc316 100644 --- a/packages_generated/billing/src/v2beta1/index.gen.ts +++ b/packages_generated/billing/src/v2beta1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { Discount, DiscountCoupon, @@ -31,4 +31,4 @@ export type { ListTaxesResponse, ListTaxesResponseTax, RedeemCouponRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/billing/src/v2beta1/marshalling.gen.ts b/packages_generated/billing/src/v2beta1/marshalling.gen.ts index 91a5ffcd8..d2a6f498b 100644 --- a/packages_generated/billing/src/v2beta1/marshalling.gen.ts +++ b/packages_generated/billing/src/v2beta1/marshalling.gen.ts @@ -17,7 +17,7 @@ import type { ListInvoicesResponse, ListTaxesResponse, ListTaxesResponseTax, -} from './types.gen' +} from './types.gen.js' const unmarshalDiscountCoupon = (data: unknown): DiscountCoupon => { if (!isJSONObject(data)) { diff --git a/packages_generated/block/src/index.gen.ts b/packages_generated/block/src/index.gen.ts index f95649231..dfcf9eb3d 100644 --- a/packages_generated/block/src/index.gen.ts +++ b/packages_generated/block/src/index.gen.ts @@ -3,5 +3,5 @@ * PLEASE DO NOT EDIT HERE */ -export * as Blockv1 from './v1/index.gen' -export * as Blockv1alpha1 from './v1alpha1/index.gen' +export * as Blockv1 from './v1/index.gen.js' +export * as Blockv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/block/src/v1/api.gen.ts b/packages_generated/block/src/v1/api.gen.ts index d52e36318..957844e67 100644 --- a/packages_generated/block/src/v1/api.gen.ts +++ b/packages_generated/block/src/v1/api.gen.ts @@ -13,7 +13,7 @@ import { import { SNAPSHOT_TRANSIENT_STATUSES as SNAPSHOT_TRANSIENT_STATUSES_BLOCK, VOLUME_TRANSIENT_STATUSES as VOLUME_TRANSIENT_STATUSES_BLOCK, -} from './content.gen' +} from './content.gen.js' import { marshalCreateSnapshotRequest, marshalCreateVolumeRequest, @@ -26,7 +26,7 @@ import { unmarshalListVolumeTypesResponse, unmarshalSnapshot, unmarshalVolume, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateSnapshotRequest, CreateVolumeRequest, @@ -46,7 +46,7 @@ import type { UpdateSnapshotRequest, UpdateVolumeRequest, Volume, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/block/src/v1/content.gen.ts b/packages_generated/block/src/v1/content.gen.ts index 2e3e5f343..843940551 100644 --- a/packages_generated/block/src/v1/content.gen.ts +++ b/packages_generated/block/src/v1/content.gen.ts @@ -1,6 +1,10 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { ReferenceStatus, SnapshotStatus, VolumeStatus } from './types.gen' +import type { + ReferenceStatus, + SnapshotStatus, + VolumeStatus, +} from './types.gen.js' /** Lists transient statutes of the enum {@link ReferenceStatus}. */ export const REFERENCE_TRANSIENT_STATUSES: ReferenceStatus[] = [ diff --git a/packages_generated/block/src/v1/index.gen.ts b/packages_generated/block/src/v1/index.gen.ts index 37b21764e..7b816e456 100644 --- a/packages_generated/block/src/v1/index.gen.ts +++ b/packages_generated/block/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateSnapshotRequest, CreateVolumeRequest, @@ -35,5 +35,5 @@ export type { VolumeSpecifications, VolumeStatus, VolumeType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/block/src/v1/marshalling.gen.ts b/packages_generated/block/src/v1/marshalling.gen.ts index dd77688d7..3727e7e8f 100644 --- a/packages_generated/block/src/v1/marshalling.gen.ts +++ b/packages_generated/block/src/v1/marshalling.gen.ts @@ -27,7 +27,7 @@ import type { Volume, VolumeSpecifications, VolumeType, -} from './types.gen' +} from './types.gen.js' export const unmarshalReference = (data: unknown): Reference => { if (!isJSONObject(data)) { diff --git a/packages_generated/block/src/v1alpha1/api.gen.ts b/packages_generated/block/src/v1alpha1/api.gen.ts index 1d69b296a..2fe095b38 100644 --- a/packages_generated/block/src/v1alpha1/api.gen.ts +++ b/packages_generated/block/src/v1alpha1/api.gen.ts @@ -13,7 +13,7 @@ import { import { SNAPSHOT_TRANSIENT_STATUSES as SNAPSHOT_TRANSIENT_STATUSES_BLOCK, VOLUME_TRANSIENT_STATUSES as VOLUME_TRANSIENT_STATUSES_BLOCK, -} from './content.gen' +} from './content.gen.js' import { marshalCreateSnapshotRequest, marshalCreateVolumeRequest, @@ -27,7 +27,7 @@ import { unmarshalListVolumeTypesResponse, unmarshalSnapshot, unmarshalVolume, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateSnapshotRequest, CreateVolumeRequest, @@ -48,7 +48,7 @@ import type { UpdateSnapshotRequest, UpdateVolumeRequest, Volume, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/block/src/v1alpha1/content.gen.ts b/packages_generated/block/src/v1alpha1/content.gen.ts index 2e3e5f343..843940551 100644 --- a/packages_generated/block/src/v1alpha1/content.gen.ts +++ b/packages_generated/block/src/v1alpha1/content.gen.ts @@ -1,6 +1,10 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { ReferenceStatus, SnapshotStatus, VolumeStatus } from './types.gen' +import type { + ReferenceStatus, + SnapshotStatus, + VolumeStatus, +} from './types.gen.js' /** Lists transient statutes of the enum {@link ReferenceStatus}. */ export const REFERENCE_TRANSIENT_STATUSES: ReferenceStatus[] = [ diff --git a/packages_generated/block/src/v1alpha1/index.gen.ts b/packages_generated/block/src/v1alpha1/index.gen.ts index 94c93e3d8..8382eab82 100644 --- a/packages_generated/block/src/v1alpha1/index.gen.ts +++ b/packages_generated/block/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateSnapshotRequest, CreateVolumeRequest, @@ -36,5 +36,5 @@ export type { VolumeSpecifications, VolumeStatus, VolumeType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/block/src/v1alpha1/marshalling.gen.ts b/packages_generated/block/src/v1alpha1/marshalling.gen.ts index 5249c88e1..fa6c3c8a0 100644 --- a/packages_generated/block/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/block/src/v1alpha1/marshalling.gen.ts @@ -28,7 +28,7 @@ import type { Volume, VolumeSpecifications, VolumeType, -} from './types.gen' +} from './types.gen.js' const unmarshalReference = (data: unknown): Reference => { if (!isJSONObject(data)) { diff --git a/packages_generated/cockpit/src/index.gen.ts b/packages_generated/cockpit/src/index.gen.ts index 6642878e0..f5fccc920 100644 --- a/packages_generated/cockpit/src/index.gen.ts +++ b/packages_generated/cockpit/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Cockpitv1 from './v1/index.gen' +export * as Cockpitv1 from './v1/index.gen.js' diff --git a/packages_generated/cockpit/src/v1/api.gen.ts b/packages_generated/cockpit/src/v1/api.gen.ts index d9dffb7c0..202618ed2 100644 --- a/packages_generated/cockpit/src/v1/api.gen.ts +++ b/packages_generated/cockpit/src/v1/api.gen.ts @@ -47,7 +47,7 @@ import { unmarshalPlan, unmarshalToken, unmarshalUsageOverview, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AlertManager, ContactPoint, @@ -105,7 +105,7 @@ import type { RegionalApiUpdateDataSourceRequest, Token, UsageOverview, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/cockpit/src/v1/index.gen.ts b/packages_generated/cockpit/src/v1/index.gen.ts index fafab1999..3a649a231 100644 --- a/packages_generated/cockpit/src/v1/index.gen.ts +++ b/packages_generated/cockpit/src/v1/index.gen.ts @@ -3,8 +3,8 @@ export { GlobalAPI, RegionalAPI, -} from './api.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './marshalling.gen.js' export type { Alert, AlertManager, @@ -80,5 +80,5 @@ export type { Usage, UsageOverview, UsageUnit, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/cockpit/src/v1/marshalling.gen.ts b/packages_generated/cockpit/src/v1/marshalling.gen.ts index bcfa5c52a..8734b8e5d 100644 --- a/packages_generated/cockpit/src/v1/marshalling.gen.ts +++ b/packages_generated/cockpit/src/v1/marshalling.gen.ts @@ -52,7 +52,7 @@ import type { Token, Usage, UsageOverview, -} from './types.gen' +} from './types.gen.js' const unmarshalContactPointEmail = (data: unknown): ContactPointEmail => { if (!isJSONObject(data)) { diff --git a/packages_generated/container/src/index.gen.ts b/packages_generated/container/src/index.gen.ts index 93197a626..39498a86d 100644 --- a/packages_generated/container/src/index.gen.ts +++ b/packages_generated/container/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Containerv1beta1 from './v1beta1/index.gen' +export * as Containerv1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/container/src/v1beta1/api.gen.ts b/packages_generated/container/src/v1beta1/api.gen.ts index b04b5c200..a410b7559 100644 --- a/packages_generated/container/src/v1beta1/api.gen.ts +++ b/packages_generated/container/src/v1beta1/api.gen.ts @@ -18,7 +18,7 @@ import { NAMESPACE_TRANSIENT_STATUSES as NAMESPACE_TRANSIENT_STATUSES_CONTAINER, TOKEN_TRANSIENT_STATUSES as TOKEN_TRANSIENT_STATUSES_CONTAINER, TRIGGER_TRANSIENT_STATUSES as TRIGGER_TRANSIENT_STATUSES_CONTAINER, -} from './content.gen' +} from './content.gen.js' import { marshalCreateContainerRequest, marshalCreateCronRequest, @@ -42,7 +42,7 @@ import { unmarshalNamespace, unmarshalToken, unmarshalTrigger, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { Container, CreateContainerRequest, @@ -85,7 +85,7 @@ import type { UpdateCronRequest, UpdateNamespaceRequest, UpdateTriggerRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/container/src/v1beta1/content.gen.ts b/packages_generated/container/src/v1beta1/content.gen.ts index d3c4b5f5e..6f832c6ab 100644 --- a/packages_generated/container/src/v1beta1/content.gen.ts +++ b/packages_generated/container/src/v1beta1/content.gen.ts @@ -7,7 +7,7 @@ import type { NamespaceStatus, TokenStatus, TriggerStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link ContainerStatus}. */ export const CONTAINER_TRANSIENT_STATUSES: ContainerStatus[] = [ diff --git a/packages_generated/container/src/v1beta1/index.gen.ts b/packages_generated/container/src/v1beta1/index.gen.ts index 9ccbc725f..ba2ab7a1b 100644 --- a/packages_generated/container/src/v1beta1/index.gen.ts +++ b/packages_generated/container/src/v1beta1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { Container, ContainerHealthCheckSpec, @@ -75,5 +75,5 @@ export type { UpdateNamespaceRequest, UpdateTriggerRequest, UpdateTriggerRequestSqsClientConfig, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/container/src/v1beta1/marshalling.gen.ts b/packages_generated/container/src/v1beta1/marshalling.gen.ts index 262ae9e1e..fb8c024a8 100644 --- a/packages_generated/container/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/container/src/v1beta1/marshalling.gen.ts @@ -44,7 +44,7 @@ import type { UpdateNamespaceRequest, UpdateTriggerRequest, UpdateTriggerRequestSqsClientConfig, -} from './types.gen' +} from './types.gen.js' const unmarshalContainerHealthCheckSpecHTTPProbe = ( data: unknown, diff --git a/packages_generated/datawarehouse/src/index.gen.ts b/packages_generated/datawarehouse/src/index.gen.ts index 863917fac..63eddcacc 100644 --- a/packages_generated/datawarehouse/src/index.gen.ts +++ b/packages_generated/datawarehouse/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Datawarehousev1beta1 from './v1beta1/index.gen' +export * as Datawarehousev1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/datawarehouse/src/v1beta1/api.gen.ts b/packages_generated/datawarehouse/src/v1beta1/api.gen.ts index be7844c68..2c91aad78 100644 --- a/packages_generated/datawarehouse/src/v1beta1/api.gen.ts +++ b/packages_generated/datawarehouse/src/v1beta1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { DEPLOYMENT_TRANSIENT_STATUSES as DEPLOYMENT_TRANSIENT_STATUSES_DATAWAREHOUSE } from './content.gen' +import { DEPLOYMENT_TRANSIENT_STATUSES as DEPLOYMENT_TRANSIENT_STATUSES_DATAWAREHOUSE } from './content.gen.js' import { marshalCreateDatabaseRequest, marshalCreateDeploymentRequest, @@ -27,7 +27,7 @@ import { unmarshalListUsersResponse, unmarshalListVersionsResponse, unmarshalUser, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateDatabaseRequest, CreateDeploymentRequest, @@ -55,7 +55,7 @@ import type { UpdateDeploymentRequest, UpdateUserRequest, User, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/datawarehouse/src/v1beta1/content.gen.ts b/packages_generated/datawarehouse/src/v1beta1/content.gen.ts index 0ce2aadd7..c82b23725 100644 --- a/packages_generated/datawarehouse/src/v1beta1/content.gen.ts +++ b/packages_generated/datawarehouse/src/v1beta1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { DeploymentStatus } from './types.gen' +import type { DeploymentStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link DeploymentStatus}. */ export const DEPLOYMENT_TRANSIENT_STATUSES: DeploymentStatus[] = [ diff --git a/packages_generated/datawarehouse/src/v1beta1/index.gen.ts b/packages_generated/datawarehouse/src/v1beta1/index.gen.ts index 003058cfc..eb4cec2aa 100644 --- a/packages_generated/datawarehouse/src/v1beta1/index.gen.ts +++ b/packages_generated/datawarehouse/src/v1beta1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateDatabaseRequest, CreateDeploymentRequest, @@ -43,5 +43,5 @@ export type { UpdateUserRequest, User, Version, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/datawarehouse/src/v1beta1/marshalling.gen.ts b/packages_generated/datawarehouse/src/v1beta1/marshalling.gen.ts index 415fb3cf8..853a9ce9c 100644 --- a/packages_generated/datawarehouse/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/datawarehouse/src/v1beta1/marshalling.gen.ts @@ -32,7 +32,7 @@ import type { UpdateUserRequest, User, Version, -} from './types.gen' +} from './types.gen.js' const unmarshalEndpointPrivateNetworkDetails = ( data: unknown, diff --git a/packages_generated/dedibox/src/index.gen.ts b/packages_generated/dedibox/src/index.gen.ts index c4d9aa75a..0ce5740dc 100644 --- a/packages_generated/dedibox/src/index.gen.ts +++ b/packages_generated/dedibox/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Dediboxv1 from './v1/index.gen' +export * as Dediboxv1 from './v1/index.gen.js' diff --git a/packages_generated/dedibox/src/v1/api.gen.ts b/packages_generated/dedibox/src/v1/api.gen.ts index 76dd756b9..b810d6a91 100644 --- a/packages_generated/dedibox/src/v1/api.gen.ts +++ b/packages_generated/dedibox/src/v1/api.gen.ts @@ -16,7 +16,7 @@ import { RPN_V2_GROUP_TRANSIENT_STATUSES as RPN_V2_GROUP_TRANSIENT_STATUSES_DEDIBOX, SERVER_INSTALL_TRANSIENT_STATUSES as SERVER_INSTALL_TRANSIENT_STATUSES_DEDIBOX, SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_DEDIBOX, -} from './content.gen' +} from './content.gen.js' import { marshalAttachFailoverIPsRequest, marshalAttachFailoverIPToMacAddressRequest, @@ -98,7 +98,7 @@ import { unmarshalServerInstall, unmarshalService, unmarshalSubscribeStorageOptionsResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AttachFailoverIPsRequest, AttachFailoverIPToMacAddressRequest, @@ -245,7 +245,7 @@ import type { UpdateServerBackupRequest, UpdateServerRequest, UpdateServerTagsRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/dedibox/src/v1/content.gen.ts b/packages_generated/dedibox/src/v1/content.gen.ts index 3cd46d9b8..627afc52c 100644 --- a/packages_generated/dedibox/src/v1/content.gen.ts +++ b/packages_generated/dedibox/src/v1/content.gen.ts @@ -10,7 +10,7 @@ import type { ServerInstallStatus, ServerStatus, ServiceProvisioningStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link BMCAccessStatus}. */ export const BMC_ACCESS_TRANSIENT_STATUSES: BMCAccessStatus[] = [ diff --git a/packages_generated/dedibox/src/v1/index.gen.ts b/packages_generated/dedibox/src/v1/index.gen.ts index 227c7aacd..51c619a20 100644 --- a/packages_generated/dedibox/src/v1/index.gen.ts +++ b/packages_generated/dedibox/src/v1/index.gen.ts @@ -8,9 +8,9 @@ export { RpnSanAPI, RpnV1API, RpnV2API, -} from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AttachFailoverIPsRequest, AttachFailoverIPToMacAddressRequest, @@ -264,5 +264,5 @@ export type { UpdateServerBackupRequest, UpdateServerRequest, UpdateServerTagsRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/dedibox/src/v1/marshalling.gen.ts b/packages_generated/dedibox/src/v1/marshalling.gen.ts index 45323fcff..750714e0e 100644 --- a/packages_generated/dedibox/src/v1/marshalling.gen.ts +++ b/packages_generated/dedibox/src/v1/marshalling.gen.ts @@ -131,7 +131,7 @@ import type { UpdateServerBackupRequest, UpdateServerRequest, UpdateServerTagsRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalIP = (data: unknown): IP => { if (!isJSONObject(data)) { diff --git a/packages_generated/domain/src/index.gen.ts b/packages_generated/domain/src/index.gen.ts index 816457c95..ca8038538 100644 --- a/packages_generated/domain/src/index.gen.ts +++ b/packages_generated/domain/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Domainv2beta1 from './v2beta1/index.gen' +export * as Domainv2beta1 from './v2beta1/index.gen.js' diff --git a/packages_generated/domain/src/v2beta1/api.gen.ts b/packages_generated/domain/src/v2beta1/api.gen.ts index 5eef06b91..f7e67d228 100644 --- a/packages_generated/domain/src/v2beta1/api.gen.ts +++ b/packages_generated/domain/src/v2beta1/api.gen.ts @@ -12,7 +12,7 @@ import { import { DOMAIN_TRANSIENT_STATUSES as DOMAIN_TRANSIENT_STATUSES_DOMAIN, SSL_CERTIFICATE_TRANSIENT_STATUSES as SSL_CERTIFICATE_TRANSIENT_STATUSES_DOMAIN, -} from './content.gen' +} from './content.gen.js' import { marshalCloneDNSZoneRequest, marshalCreateDNSZoneRequest, @@ -71,7 +71,7 @@ import { unmarshalSSLCertificate, unmarshalUpdateDNSZoneNameserversResponse, unmarshalUpdateDNSZoneRecordsResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CheckContactsCompatibilityResponse, ClearDNSZoneRecordsRequest, @@ -163,7 +163,7 @@ import type { UpdateDNSZoneRecordsRequest, UpdateDNSZoneRecordsResponse, UpdateDNSZoneRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/domain/src/v2beta1/content.gen.ts b/packages_generated/domain/src/v2beta1/content.gen.ts index 2ed040f14..6e0b5a6f6 100644 --- a/packages_generated/domain/src/v2beta1/content.gen.ts +++ b/packages_generated/domain/src/v2beta1/content.gen.ts @@ -8,7 +8,7 @@ import type { HostStatus, SSLCertificateStatus, TaskStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link DNSZoneStatus}. */ export const DNS_ZONE_TRANSIENT_STATUSES: DNSZoneStatus[] = ['pending'] diff --git a/packages_generated/domain/src/v2beta1/index.gen.ts b/packages_generated/domain/src/v2beta1/index.gen.ts index 4e868054e..bdbd0d1a6 100644 --- a/packages_generated/domain/src/v2beta1/index.gen.ts +++ b/packages_generated/domain/src/v2beta1/index.gen.ts @@ -3,9 +3,9 @@ export { API, RegistrarAPI, -} from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AvailableDomain, CheckContactsCompatibilityResponse, @@ -173,4 +173,4 @@ export type { UpdateDNSZoneRecordsRequest, UpdateDNSZoneRecordsResponse, UpdateDNSZoneRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/domain/src/v2beta1/marshalling.gen.ts b/packages_generated/domain/src/v2beta1/marshalling.gen.ts index ddc170b95..f7041b6bb 100644 --- a/packages_generated/domain/src/v2beta1/marshalling.gen.ts +++ b/packages_generated/domain/src/v2beta1/marshalling.gen.ts @@ -116,7 +116,7 @@ import type { UpdateDNSZoneRecordsRequest, UpdateDNSZoneRecordsResponse, UpdateDNSZoneRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalContactExtensionFRAssociationInfo = ( data: unknown, diff --git a/packages_generated/edge_services/src/index.gen.ts b/packages_generated/edge_services/src/index.gen.ts index de81b2d41..5cfa3b821 100644 --- a/packages_generated/edge_services/src/index.gen.ts +++ b/packages_generated/edge_services/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as EdgeServicesv1beta1 from './v1beta1/index.gen' +export * as EdgeServicesv1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/edge_services/src/v1beta1/api.gen.ts b/packages_generated/edge_services/src/v1beta1/api.gen.ts index f7dfb2f25..1d83a500a 100644 --- a/packages_generated/edge_services/src/v1beta1/api.gen.ts +++ b/packages_generated/edge_services/src/v1beta1/api.gen.ts @@ -12,7 +12,7 @@ import { import { PIPELINE_TRANSIENT_STATUSES as PIPELINE_TRANSIENT_STATUSES_EDGE_SERVICES, PURGE_REQUEST_TRANSIENT_STATUSES as PURGE_REQUEST_TRANSIENT_STATUSES_EDGE_SERVICES, -} from './content.gen' +} from './content.gen.js' import { marshalAddRouteRulesRequest, marshalCheckDomainRequest, @@ -64,7 +64,7 @@ import { unmarshalSetRouteRulesResponse, unmarshalTLSStage, unmarshalWafStage, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddRouteRulesRequest, AddRouteRulesResponse, @@ -148,7 +148,7 @@ import type { UpdateTLSStageRequest, UpdateWafStageRequest, WafStage, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/edge_services/src/v1beta1/content.gen.ts b/packages_generated/edge_services/src/v1beta1/content.gen.ts index fc2747c15..79f1155ec 100644 --- a/packages_generated/edge_services/src/v1beta1/content.gen.ts +++ b/packages_generated/edge_services/src/v1beta1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { PipelineStatus, PurgeRequestStatus } from './types.gen' +import type { PipelineStatus, PurgeRequestStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link PipelineStatus}. */ export const PIPELINE_TRANSIENT_STATUSES: PipelineStatus[] = ['pending'] diff --git a/packages_generated/edge_services/src/v1beta1/index.gen.ts b/packages_generated/edge_services/src/v1beta1/index.gen.ts index ce761084a..03d91e4d6 100644 --- a/packages_generated/edge_services/src/v1beta1/index.gen.ts +++ b/packages_generated/edge_services/src/v1beta1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AddRouteRulesRequest, AddRouteRulesResponse, @@ -129,5 +129,5 @@ export type { UpdateWafStageRequest, WafStage, WafStageMode, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/edge_services/src/v1beta1/marshalling.gen.ts b/packages_generated/edge_services/src/v1beta1/marshalling.gen.ts index 1b7204f27..327e12281 100644 --- a/packages_generated/edge_services/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/edge_services/src/v1beta1/marshalling.gen.ts @@ -80,7 +80,7 @@ import type { UpdateTLSStageRequest, UpdateWafStageRequest, WafStage, -} from './types.gen' +} from './types.gen.js' const unmarshalScalewayLb = (data: unknown): ScalewayLb => { if (!isJSONObject(data)) { diff --git a/packages_generated/edge_services/src/v1beta1/types.gen.ts b/packages_generated/edge_services/src/v1beta1/types.gen.ts index 9652add5b..ffc11f6e5 100644 --- a/packages_generated/edge_services/src/v1beta1/types.gen.ts +++ b/packages_generated/edge_services/src/v1beta1/types.gen.ts @@ -72,6 +72,7 @@ export type PipelineErrorCode = | 'tls_root_missing' | 'tls_san_mismatch' | 'tls_self_signed' + | 'tls_caa_malfunction' | 'pipeline_invalid_workflow' | 'pipeline_missing_head_stage' diff --git a/packages_generated/environmental_footprint/src/index.gen.ts b/packages_generated/environmental_footprint/src/index.gen.ts index 0ea3ca009..03f559b8b 100644 --- a/packages_generated/environmental_footprint/src/index.gen.ts +++ b/packages_generated/environmental_footprint/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as EnvironmentalFootprintv1alpha1 from './v1alpha1/index.gen' +export * as EnvironmentalFootprintv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/environmental_footprint/src/v1alpha1/api.gen.ts b/packages_generated/environmental_footprint/src/v1alpha1/api.gen.ts index 6bdca646e..4f0117faa 100644 --- a/packages_generated/environmental_footprint/src/v1alpha1/api.gen.ts +++ b/packages_generated/environmental_footprint/src/v1alpha1/api.gen.ts @@ -5,14 +5,14 @@ import { marshalUserApiDownloadImpactReportRequest, unmarshalImpactDataResponse, unmarshalImpactReportAvailability, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { ImpactDataResponse, ImpactReportAvailability, UserApiDownloadImpactReportRequest, UserApiGetImpactDataRequest, UserApiGetImpactReportAvailabilityRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts b/packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts index 709a03504..dbcd9e5cb 100644 --- a/packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts +++ b/packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { UserAPI } from './api.gen' -export * from './marshalling.gen' +export { UserAPI } from './api.gen.js' +export * from './marshalling.gen.js' export type { Impact, ImpactDataResponse, @@ -16,4 +16,4 @@ export type { UserApiGetImpactDataRequest, UserApiGetImpactReportAvailabilityRequest, ZoneImpact, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/environmental_footprint/src/v1alpha1/marshalling.gen.ts b/packages_generated/environmental_footprint/src/v1alpha1/marshalling.gen.ts index 7de93b2c9..149e8fb95 100644 --- a/packages_generated/environmental_footprint/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/environmental_footprint/src/v1alpha1/marshalling.gen.ts @@ -16,7 +16,7 @@ import type { SkuImpact, UserApiDownloadImpactReportRequest, ZoneImpact, -} from './types.gen' +} from './types.gen.js' const unmarshalImpact = (data: unknown): Impact => { if (!isJSONObject(data)) { diff --git a/packages_generated/file/src/index.gen.ts b/packages_generated/file/src/index.gen.ts index 05ad2677c..18f7d4ec2 100644 --- a/packages_generated/file/src/index.gen.ts +++ b/packages_generated/file/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Filev1alpha1 from './v1alpha1/index.gen' +export * as Filev1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/file/src/v1alpha1/api.gen.ts b/packages_generated/file/src/v1alpha1/api.gen.ts index 85b07e8c1..4065cba2b 100644 --- a/packages_generated/file/src/v1alpha1/api.gen.ts +++ b/packages_generated/file/src/v1alpha1/api.gen.ts @@ -10,14 +10,14 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { FILE_SYSTEM_TRANSIENT_STATUSES as FILE_SYSTEM_TRANSIENT_STATUSES_FILE } from './content.gen' +import { FILE_SYSTEM_TRANSIENT_STATUSES as FILE_SYSTEM_TRANSIENT_STATUSES_FILE } from './content.gen.js' import { marshalCreateFileSystemRequest, marshalUpdateFileSystemRequest, unmarshalFileSystem, unmarshalListAttachmentsResponse, unmarshalListFileSystemsResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateFileSystemRequest, DeleteFileSystemRequest, @@ -28,7 +28,7 @@ import type { ListFileSystemsRequest, ListFileSystemsResponse, UpdateFileSystemRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/file/src/v1alpha1/content.gen.ts b/packages_generated/file/src/v1alpha1/content.gen.ts index f7330db6f..7f1f89c59 100644 --- a/packages_generated/file/src/v1alpha1/content.gen.ts +++ b/packages_generated/file/src/v1alpha1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { FileSystemStatus } from './types.gen' +import type { FileSystemStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link FileSystemStatus}. */ export const FILE_SYSTEM_TRANSIENT_STATUSES: FileSystemStatus[] = [ diff --git a/packages_generated/file/src/v1alpha1/index.gen.ts b/packages_generated/file/src/v1alpha1/index.gen.ts index 3be92a216..200c87c4e 100644 --- a/packages_generated/file/src/v1alpha1/index.gen.ts +++ b/packages_generated/file/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { Attachment, AttachmentResourceType, @@ -17,5 +17,5 @@ export type { ListFileSystemsRequestOrderBy, ListFileSystemsResponse, UpdateFileSystemRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/file/src/v1alpha1/marshalling.gen.ts b/packages_generated/file/src/v1alpha1/marshalling.gen.ts index 4035dda06..77d070c2a 100644 --- a/packages_generated/file/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/file/src/v1alpha1/marshalling.gen.ts @@ -14,7 +14,7 @@ import type { ListAttachmentsResponse, ListFileSystemsResponse, UpdateFileSystemRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalFileSystem = (data: unknown): FileSystem => { if (!isJSONObject(data)) { diff --git a/packages_generated/flexibleip/src/index.gen.ts b/packages_generated/flexibleip/src/index.gen.ts index 504b5ede0..6c570cd57 100644 --- a/packages_generated/flexibleip/src/index.gen.ts +++ b/packages_generated/flexibleip/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Flexibleipv1alpha1 from './v1alpha1/index.gen' +export * as Flexibleipv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/flexibleip/src/v1alpha1/api.gen.ts b/packages_generated/flexibleip/src/v1alpha1/api.gen.ts index 3a7b8e096..58aa1312e 100644 --- a/packages_generated/flexibleip/src/v1alpha1/api.gen.ts +++ b/packages_generated/flexibleip/src/v1alpha1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { FLEXIBLE_IP_TRANSIENT_STATUSES as FLEXIBLE_IP_TRANSIENT_STATUSES_FLEXIBLEIP } from './content.gen' +import { FLEXIBLE_IP_TRANSIENT_STATUSES as FLEXIBLE_IP_TRANSIENT_STATUSES_FLEXIBLEIP } from './content.gen.js' import { marshalAttachFlexibleIPRequest, marshalCreateFlexibleIPRequest, @@ -23,7 +23,7 @@ import { unmarshalDetachFlexibleIPsResponse, unmarshalFlexibleIP, unmarshalListFlexibleIPsResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AttachFlexibleIPRequest, AttachFlexibleIPsResponse, @@ -40,7 +40,7 @@ import type { ListFlexibleIPsResponse, MoveMACAddrRequest, UpdateFlexibleIPRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/flexibleip/src/v1alpha1/content.gen.ts b/packages_generated/flexibleip/src/v1alpha1/content.gen.ts index 7408f29a3..bb0da0a45 100644 --- a/packages_generated/flexibleip/src/v1alpha1/content.gen.ts +++ b/packages_generated/flexibleip/src/v1alpha1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { FlexibleIPStatus, MACAddressStatus } from './types.gen' +import type { FlexibleIPStatus, MACAddressStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link FlexibleIPStatus}. */ export const FLEXIBLE_IP_TRANSIENT_STATUSES: FlexibleIPStatus[] = [ diff --git a/packages_generated/flexibleip/src/v1alpha1/index.gen.ts b/packages_generated/flexibleip/src/v1alpha1/index.gen.ts index 8d48d530d..30b0d385f 100644 --- a/packages_generated/flexibleip/src/v1alpha1/index.gen.ts +++ b/packages_generated/flexibleip/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AttachFlexibleIPRequest, AttachFlexibleIPsResponse, @@ -24,5 +24,5 @@ export type { MACAddressType, MoveMACAddrRequest, UpdateFlexibleIPRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/flexibleip/src/v1alpha1/marshalling.gen.ts b/packages_generated/flexibleip/src/v1alpha1/marshalling.gen.ts index d531c7e3d..36af7e4fc 100644 --- a/packages_generated/flexibleip/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/flexibleip/src/v1alpha1/marshalling.gen.ts @@ -20,7 +20,7 @@ import type { MACAddress, MoveMACAddrRequest, UpdateFlexibleIPRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalMACAddress = (data: unknown): MACAddress => { if (!isJSONObject(data)) { diff --git a/packages_generated/function/src/index.gen.ts b/packages_generated/function/src/index.gen.ts index e7879f7cf..212ed985c 100644 --- a/packages_generated/function/src/index.gen.ts +++ b/packages_generated/function/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Functionv1beta1 from './v1beta1/index.gen' +export * as Functionv1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/function/src/v1beta1/api.gen.ts b/packages_generated/function/src/v1beta1/api.gen.ts index 08a72efb3..142c50809 100644 --- a/packages_generated/function/src/v1beta1/api.gen.ts +++ b/packages_generated/function/src/v1beta1/api.gen.ts @@ -18,7 +18,7 @@ import { NAMESPACE_TRANSIENT_STATUSES as NAMESPACE_TRANSIENT_STATUSES_FUNCTION, TOKEN_TRANSIENT_STATUSES as TOKEN_TRANSIENT_STATUSES_FUNCTION, TRIGGER_TRANSIENT_STATUSES as TRIGGER_TRANSIENT_STATUSES_FUNCTION, -} from './content.gen' +} from './content.gen.js' import { marshalCreateCronRequest, marshalCreateDomainRequest, @@ -45,7 +45,7 @@ import { unmarshalToken, unmarshalTrigger, unmarshalUploadURL, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateCronRequest, CreateDomainRequest, @@ -94,7 +94,7 @@ import type { UpdateNamespaceRequest, UpdateTriggerRequest, UploadURL, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/function/src/v1beta1/content.gen.ts b/packages_generated/function/src/v1beta1/content.gen.ts index 66e8ce5c1..f1d0457df 100644 --- a/packages_generated/function/src/v1beta1/content.gen.ts +++ b/packages_generated/function/src/v1beta1/content.gen.ts @@ -7,7 +7,7 @@ import type { NamespaceStatus, TokenStatus, TriggerStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link CronStatus}. */ export const CRON_TRANSIENT_STATUSES: CronStatus[] = [ diff --git a/packages_generated/function/src/v1beta1/index.gen.ts b/packages_generated/function/src/v1beta1/index.gen.ts index bcc25c008..9e50b015a 100644 --- a/packages_generated/function/src/v1beta1/index.gen.ts +++ b/packages_generated/function/src/v1beta1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateCronRequest, CreateDomainRequest, @@ -79,5 +79,5 @@ export type { UpdateTriggerRequest, UpdateTriggerRequestSqsClientConfig, UploadURL, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/function/src/v1beta1/marshalling.gen.ts b/packages_generated/function/src/v1beta1/marshalling.gen.ts index f9a153280..b7550a96e 100644 --- a/packages_generated/function/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/function/src/v1beta1/marshalling.gen.ts @@ -44,7 +44,7 @@ import type { UpdateTriggerRequest, UpdateTriggerRequestSqsClientConfig, UploadURL, -} from './types.gen' +} from './types.gen.js' export const unmarshalCron = (data: unknown): Cron => { if (!isJSONObject(data)) { diff --git a/packages_generated/iam/src/index.gen.ts b/packages_generated/iam/src/index.gen.ts index 4680efc46..1e5c8200d 100644 --- a/packages_generated/iam/src/index.gen.ts +++ b/packages_generated/iam/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Iamv1alpha1 from './v1alpha1/index.gen' +export * as Iamv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/iam/src/v1alpha1/api.gen.ts b/packages_generated/iam/src/v1alpha1/api.gen.ts index 7ad301374..281195af6 100644 --- a/packages_generated/iam/src/v1alpha1/api.gen.ts +++ b/packages_generated/iam/src/v1alpha1/api.gen.ts @@ -67,7 +67,7 @@ import { unmarshalSSHKey, unmarshalUser, unmarshalValidateUserMFAOTPResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddGroupMemberRequest, AddGroupMembersRequest, @@ -171,7 +171,7 @@ import type { User, ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/iam/src/v1alpha1/index.gen.ts b/packages_generated/iam/src/v1alpha1/index.gen.ts index a68e58893..8022dc2da 100644 --- a/packages_generated/iam/src/v1alpha1/index.gen.ts +++ b/packages_generated/iam/src/v1alpha1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { AddGroupMemberRequest, AddGroupMembersRequest, @@ -136,5 +136,5 @@ export type { UserType, ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/iam/src/v1alpha1/marshalling.gen.ts b/packages_generated/iam/src/v1alpha1/marshalling.gen.ts index 1428ded0f..cb26cdbe8 100644 --- a/packages_generated/iam/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/iam/src/v1alpha1/marshalling.gen.ts @@ -78,7 +78,7 @@ import type { User, ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse, -} from './types.gen' +} from './types.gen.js' export const unmarshalJWT = (data: unknown): JWT => { if (!isJSONObject(data)) { diff --git a/packages_generated/inference/src/index.gen.ts b/packages_generated/inference/src/index.gen.ts index 427d020ee..5074a9b1b 100644 --- a/packages_generated/inference/src/index.gen.ts +++ b/packages_generated/inference/src/index.gen.ts @@ -3,5 +3,5 @@ * PLEASE DO NOT EDIT HERE */ -export * as Inferencev1 from './v1/index.gen' -export * as Inferencev1beta1 from './v1beta1/index.gen' +export * as Inferencev1 from './v1/index.gen.js' +export * as Inferencev1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/inference/src/v1/api.gen.ts b/packages_generated/inference/src/v1/api.gen.ts index 8ea312cc1..8144dca29 100644 --- a/packages_generated/inference/src/v1/api.gen.ts +++ b/packages_generated/inference/src/v1/api.gen.ts @@ -13,7 +13,7 @@ import { import { DEPLOYMENT_TRANSIENT_STATUSES as DEPLOYMENT_TRANSIENT_STATUSES_INFERENCE, MODEL_TRANSIENT_STATUSES as MODEL_TRANSIENT_STATUSES_INFERENCE, -} from './content.gen' +} from './content.gen.js' import { marshalCreateDeploymentRequest, marshalCreateEndpointRequest, @@ -26,7 +26,7 @@ import { unmarshalListModelsResponse, unmarshalListNodeTypesResponse, unmarshalModel, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateDeploymentRequest, CreateEndpointRequest, @@ -48,7 +48,7 @@ import type { Model, UpdateDeploymentRequest, UpdateEndpointRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/inference/src/v1/content.gen.ts b/packages_generated/inference/src/v1/content.gen.ts index d3b58c5b0..7870b14cd 100644 --- a/packages_generated/inference/src/v1/content.gen.ts +++ b/packages_generated/inference/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { DeploymentStatus, ModelStatus } from './types.gen' +import type { DeploymentStatus, ModelStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link DeploymentStatus}. */ export const DEPLOYMENT_TRANSIENT_STATUSES: DeploymentStatus[] = [ diff --git a/packages_generated/inference/src/v1/index.gen.ts b/packages_generated/inference/src/v1/index.gen.ts index cd396c4f8..b27beccf1 100644 --- a/packages_generated/inference/src/v1/index.gen.ts +++ b/packages_generated/inference/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateDeploymentRequest, CreateEndpointRequest, @@ -38,5 +38,5 @@ export type { NodeTypeStock, UpdateDeploymentRequest, UpdateEndpointRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/inference/src/v1/marshalling.gen.ts b/packages_generated/inference/src/v1/marshalling.gen.ts index 9fb63c57a..6c517ac0e 100644 --- a/packages_generated/inference/src/v1/marshalling.gen.ts +++ b/packages_generated/inference/src/v1/marshalling.gen.ts @@ -29,7 +29,7 @@ import type { NodeType, UpdateDeploymentRequest, UpdateEndpointRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalEndpointPrivateNetworkDetails = ( data: unknown, diff --git a/packages_generated/inference/src/v1beta1/api.gen.ts b/packages_generated/inference/src/v1beta1/api.gen.ts index ca5a55143..91e319dc5 100644 --- a/packages_generated/inference/src/v1beta1/api.gen.ts +++ b/packages_generated/inference/src/v1beta1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { DEPLOYMENT_TRANSIENT_STATUSES as DEPLOYMENT_TRANSIENT_STATUSES_INFERENCE } from './content.gen' +import { DEPLOYMENT_TRANSIENT_STATUSES as DEPLOYMENT_TRANSIENT_STATUSES_INFERENCE } from './content.gen.js' import { marshalAddDeploymentACLRulesRequest, marshalCreateDeploymentRequest, @@ -28,7 +28,7 @@ import { unmarshalListNodeTypesResponse, unmarshalModel, unmarshalSetDeploymentACLRulesResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddDeploymentACLRulesRequest, AddDeploymentACLRulesResponse, @@ -57,7 +57,7 @@ import type { SetDeploymentACLRulesResponse, UpdateDeploymentRequest, UpdateEndpointRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/inference/src/v1beta1/content.gen.ts b/packages_generated/inference/src/v1beta1/content.gen.ts index ae5b71e73..da4ef1834 100644 --- a/packages_generated/inference/src/v1beta1/content.gen.ts +++ b/packages_generated/inference/src/v1beta1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { DeploymentStatus } from './types.gen' +import type { DeploymentStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link DeploymentStatus}. */ export const DEPLOYMENT_TRANSIENT_STATUSES: DeploymentStatus[] = [ diff --git a/packages_generated/inference/src/v1beta1/index.gen.ts b/packages_generated/inference/src/v1beta1/index.gen.ts index e2e1ec879..b9a1f2e6e 100644 --- a/packages_generated/inference/src/v1beta1/index.gen.ts +++ b/packages_generated/inference/src/v1beta1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { ACLRule, ACLRuleRequest, @@ -44,5 +44,5 @@ export type { SetDeploymentACLRulesResponse, UpdateDeploymentRequest, UpdateEndpointRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/inference/src/v1beta1/marshalling.gen.ts b/packages_generated/inference/src/v1beta1/marshalling.gen.ts index cc178dad8..12eba1f16 100644 --- a/packages_generated/inference/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/inference/src/v1beta1/marshalling.gen.ts @@ -34,7 +34,7 @@ import type { SetDeploymentACLRulesResponse, UpdateDeploymentRequest, UpdateEndpointRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalEndpointPrivateNetworkDetails = ( data: unknown, diff --git a/packages_generated/instance/src/index.gen.ts b/packages_generated/instance/src/index.gen.ts index 71463cd03..468a1a153 100644 --- a/packages_generated/instance/src/index.gen.ts +++ b/packages_generated/instance/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Instancev1 from './v1/index' +export * as Instancev1 from './v1/index.js' diff --git a/packages_generated/instance/src/v1/api.gen.ts b/packages_generated/instance/src/v1/api.gen.ts index 10e5ed16e..8adb3eb98 100644 --- a/packages_generated/instance/src/v1/api.gen.ts +++ b/packages_generated/instance/src/v1/api.gen.ts @@ -106,7 +106,7 @@ import { unmarshalUpdateServerResponse, unmarshalUpdateSnapshotResponse, unmarshalUpdateVolumeResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { ApplyBlockMigrationRequest, AttachServerFileSystemRequest, @@ -233,7 +233,7 @@ import type { UpdateSnapshotResponse, UpdateVolumeRequest, UpdateVolumeResponse, -} from './types.gen' +} from './types.gen.js' import type { SetImageResponse, SetSecurityGroupRequest, @@ -244,7 +244,7 @@ import type { SetServerResponse, SetSnapshotRequest, SetSnapshotResponse, -} from './types.private.gen' +} from './types.private.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/instance/src/v1/content.gen.ts b/packages_generated/instance/src/v1/content.gen.ts index 06d168769..e36ea263c 100644 --- a/packages_generated/instance/src/v1/content.gen.ts +++ b/packages_generated/instance/src/v1/content.gen.ts @@ -12,7 +12,7 @@ import type { TaskStatus, VolumeServerState, VolumeState, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link ImageState}. */ export const IMAGE_TRANSIENT_STATUSES: ImageState[] = ['creating'] diff --git a/packages_generated/instance/src/v1/index.gen.ts b/packages_generated/instance/src/v1/index.gen.ts index 98e1b077a..99ad902f4 100644 --- a/packages_generated/instance/src/v1/index.gen.ts +++ b/packages_generated/instance/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { ApplyBlockMigrationRequest, Arch, @@ -197,5 +197,5 @@ export type { VolumeTypeCapabilities, VolumeTypeConstraints, VolumeVolumeType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/instance/src/v1/marshalling.gen.ts b/packages_generated/instance/src/v1/marshalling.gen.ts index c999c053d..b7bfb10f4 100644 --- a/packages_generated/instance/src/v1/marshalling.gen.ts +++ b/packages_generated/instance/src/v1/marshalling.gen.ts @@ -136,7 +136,7 @@ import type { VolumeType, VolumeTypeCapabilities, VolumeTypeConstraints, -} from './types.gen' +} from './types.gen.js' import type { SetImageResponse, SetSecurityGroupRequest, @@ -147,7 +147,7 @@ import type { SetServerResponse, SetSnapshotRequest, SetSnapshotResponse, -} from './types.private.gen' +} from './types.private.gen.js' export const unmarshalPrivateNIC = (data: unknown): PrivateNIC => { if (!isJSONObject(data)) { diff --git a/packages_generated/instance/src/v1/types.private.gen.ts b/packages_generated/instance/src/v1/types.private.gen.ts index 4551ab627..4799bfa9f 100644 --- a/packages_generated/instance/src/v1/types.private.gen.ts +++ b/packages_generated/instance/src/v1/types.private.gen.ts @@ -27,7 +27,7 @@ import type { SnapshotState, Volume, VolumeVolumeType, -} from './types.gen' +} from './types.gen.js' export interface SetImageResponse { image?: Image diff --git a/packages_generated/interlink/src/index.gen.ts b/packages_generated/interlink/src/index.gen.ts index 7d850c77f..629d03714 100644 --- a/packages_generated/interlink/src/index.gen.ts +++ b/packages_generated/interlink/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Interlinkv1beta1 from './v1beta1/index.gen' +export * as Interlinkv1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/interlink/src/v1beta1/api.gen.ts b/packages_generated/interlink/src/v1beta1/api.gen.ts index 70ab5fb5f..5b0a03478 100644 --- a/packages_generated/interlink/src/v1beta1/api.gen.ts +++ b/packages_generated/interlink/src/v1beta1/api.gen.ts @@ -13,7 +13,7 @@ import { import { DEDICATED_CONNECTION_TRANSIENT_STATUSES as DEDICATED_CONNECTION_TRANSIENT_STATUSES_INTERLINK, LINK_TRANSIENT_STATUSES as LINK_TRANSIENT_STATUSES_INTERLINK, -} from './content.gen' +} from './content.gen.js' import { marshalAttachRoutingPolicyRequest, marshalAttachVpcRequest, @@ -33,7 +33,7 @@ import { unmarshalPartner, unmarshalPop, unmarshalRoutingPolicy, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AttachRoutingPolicyRequest, AttachVpcRequest, @@ -68,7 +68,7 @@ import type { SetRoutingPolicyRequest, UpdateLinkRequest, UpdateRoutingPolicyRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/interlink/src/v1beta1/content.gen.ts b/packages_generated/interlink/src/v1beta1/content.gen.ts index f22227890..686935e79 100644 --- a/packages_generated/interlink/src/v1beta1/content.gen.ts +++ b/packages_generated/interlink/src/v1beta1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { DedicatedConnectionStatus, LinkStatus } from './types.gen' +import type { DedicatedConnectionStatus, LinkStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link DedicatedConnectionStatus}. */ export const DEDICATED_CONNECTION_TRANSIENT_STATUSES: DedicatedConnectionStatus[] = diff --git a/packages_generated/interlink/src/v1beta1/index.gen.ts b/packages_generated/interlink/src/v1beta1/index.gen.ts index 9a10688bc..51f56a350 100644 --- a/packages_generated/interlink/src/v1beta1/index.gen.ts +++ b/packages_generated/interlink/src/v1beta1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AttachRoutingPolicyRequest, AttachVpcRequest, @@ -49,5 +49,5 @@ export type { SetRoutingPolicyRequest, UpdateLinkRequest, UpdateRoutingPolicyRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/interlink/src/v1beta1/marshalling.gen.ts b/packages_generated/interlink/src/v1beta1/marshalling.gen.ts index 82e2fa066..5a3d88c6f 100644 --- a/packages_generated/interlink/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/interlink/src/v1beta1/marshalling.gen.ts @@ -30,7 +30,7 @@ import type { SetRoutingPolicyRequest, UpdateLinkRequest, UpdateRoutingPolicyRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalDedicatedConnection = ( data: unknown, diff --git a/packages_generated/iot/src/index.gen.ts b/packages_generated/iot/src/index.gen.ts index 21d0cd268..f977f9244 100644 --- a/packages_generated/iot/src/index.gen.ts +++ b/packages_generated/iot/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Iotv1 from './v1/index.gen' +export * as Iotv1 from './v1/index.gen.js' diff --git a/packages_generated/iot/src/v1/api.gen.ts b/packages_generated/iot/src/v1/api.gen.ts index 08e98e581..981cce404 100644 --- a/packages_generated/iot/src/v1/api.gen.ts +++ b/packages_generated/iot/src/v1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { HUB_TRANSIENT_STATUSES as HUB_TRANSIENT_STATUSES_IOT } from './content.gen' +import { HUB_TRANSIENT_STATUSES as HUB_TRANSIENT_STATUSES_IOT } from './content.gen.js' import { marshalCreateDeviceRequest, marshalCreateHubRequest, @@ -41,7 +41,7 @@ import { unmarshalRoute, unmarshalSetDeviceCertificateResponse, unmarshalTwinDocument, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateDeviceRequest, CreateDeviceResponse, @@ -97,7 +97,7 @@ import type { UpdateDeviceRequest, UpdateHubRequest, UpdateRouteRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/iot/src/v1/content.gen.ts b/packages_generated/iot/src/v1/content.gen.ts index ecf7809d8..79a84cde8 100644 --- a/packages_generated/iot/src/v1/content.gen.ts +++ b/packages_generated/iot/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { HubStatus } from './types.gen' +import type { HubStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link HubStatus}. */ export const HUB_TRANSIENT_STATUSES: HubStatus[] = ['enabling', 'disabling'] diff --git a/packages_generated/iot/src/v1/index.gen.ts b/packages_generated/iot/src/v1/index.gen.ts index 34733693e..4fcbd71c0 100644 --- a/packages_generated/iot/src/v1/index.gen.ts +++ b/packages_generated/iot/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { Certificate, CreateDeviceRequest, @@ -86,4 +86,4 @@ export type { UpdateRouteRequestDatabaseConfig, UpdateRouteRequestRestConfig, UpdateRouteRequestS3Config, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/iot/src/v1/marshalling.gen.ts b/packages_generated/iot/src/v1/marshalling.gen.ts index dba8872fe..2ccfe7814 100644 --- a/packages_generated/iot/src/v1/marshalling.gen.ts +++ b/packages_generated/iot/src/v1/marshalling.gen.ts @@ -54,7 +54,7 @@ import type { UpdateRouteRequestDatabaseConfig, UpdateRouteRequestRestConfig, UpdateRouteRequestS3Config, -} from './types.gen' +} from './types.gen.js' const unmarshalDeviceMessageFiltersRule = ( data: unknown, diff --git a/packages_generated/ipam/src/index.gen.ts b/packages_generated/ipam/src/index.gen.ts index 2eb1850e7..6a978db3a 100644 --- a/packages_generated/ipam/src/index.gen.ts +++ b/packages_generated/ipam/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Ipamv1 from './v1/index.gen' +export * as Ipamv1 from './v1/index.gen.js' diff --git a/packages_generated/ipam/src/v1/api.gen.ts b/packages_generated/ipam/src/v1/api.gen.ts index a28765e22..eac69d0c2 100644 --- a/packages_generated/ipam/src/v1/api.gen.ts +++ b/packages_generated/ipam/src/v1/api.gen.ts @@ -19,7 +19,7 @@ import { marshalUpdateIPRequest, unmarshalIP, unmarshalListIPsResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AttachIPRequest, BookIPRequest, @@ -32,7 +32,7 @@ import type { ReleaseIPRequest, ReleaseIPSetRequest, UpdateIPRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/ipam/src/v1/index.gen.ts b/packages_generated/ipam/src/v1/index.gen.ts index eeadb21dd..c00dada34 100644 --- a/packages_generated/ipam/src/v1/index.gen.ts +++ b/packages_generated/ipam/src/v1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { AttachIPRequest, BookIPRequest, @@ -20,5 +20,5 @@ export type { Reverse, Source, UpdateIPRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/ipam/src/v1/marshalling.gen.ts b/packages_generated/ipam/src/v1/marshalling.gen.ts index 7269872f0..4d57df909 100644 --- a/packages_generated/ipam/src/v1/marshalling.gen.ts +++ b/packages_generated/ipam/src/v1/marshalling.gen.ts @@ -21,7 +21,7 @@ import type { Reverse, Source, UpdateIPRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalResource = (data: unknown): Resource => { if (!isJSONObject(data)) { diff --git a/packages_generated/jobs/src/index.gen.ts b/packages_generated/jobs/src/index.gen.ts index e07afcf1f..08f70cb5b 100644 --- a/packages_generated/jobs/src/index.gen.ts +++ b/packages_generated/jobs/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Jobsv1alpha1 from './v1alpha1/index.gen' +export * as Jobsv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/jobs/src/v1alpha1/api.gen.ts b/packages_generated/jobs/src/v1alpha1/api.gen.ts index 957744476..88e3d089f 100644 --- a/packages_generated/jobs/src/v1alpha1/api.gen.ts +++ b/packages_generated/jobs/src/v1alpha1/api.gen.ts @@ -25,7 +25,7 @@ import { unmarshalListJobsResourcesResponse, unmarshalSecret, unmarshalStartJobDefinitionResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateJobDefinitionRequest, CreateJobDefinitionSecretsRequest, @@ -53,7 +53,7 @@ import type { StopJobRunRequest, UpdateJobDefinitionRequest, UpdateJobDefinitionSecretRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/jobs/src/v1alpha1/content.gen.ts b/packages_generated/jobs/src/v1alpha1/content.gen.ts index 704b4c53a..59ed63fd3 100644 --- a/packages_generated/jobs/src/v1alpha1/content.gen.ts +++ b/packages_generated/jobs/src/v1alpha1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { JobRunState } from './types.gen' +import type { JobRunState } from './types.gen.js' /** Lists transient statutes of the enum {@link JobRunState}. */ export const JOB_RUN_TRANSIENT_STATUSES: JobRunState[] = [ diff --git a/packages_generated/jobs/src/v1alpha1/index.gen.ts b/packages_generated/jobs/src/v1alpha1/index.gen.ts index b061a3d56..9b3f0117b 100644 --- a/packages_generated/jobs/src/v1alpha1/index.gen.ts +++ b/packages_generated/jobs/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateJobDefinitionRequest, CreateJobDefinitionRequestCronScheduleConfig, @@ -40,5 +40,5 @@ export type { UpdateJobDefinitionRequest, UpdateJobDefinitionRequestCronScheduleConfig, UpdateJobDefinitionSecretRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/jobs/src/v1alpha1/marshalling.gen.ts b/packages_generated/jobs/src/v1alpha1/marshalling.gen.ts index a8325f94f..2681c46f9 100644 --- a/packages_generated/jobs/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/jobs/src/v1alpha1/marshalling.gen.ts @@ -31,7 +31,7 @@ import type { UpdateJobDefinitionRequest, UpdateJobDefinitionRequestCronScheduleConfig, UpdateJobDefinitionSecretRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalSecretEnvVar = (data: unknown): SecretEnvVar => { if (!isJSONObject(data)) { diff --git a/packages_generated/k8s/src/index.gen.ts b/packages_generated/k8s/src/index.gen.ts index ae7759ec8..c6543a090 100644 --- a/packages_generated/k8s/src/index.gen.ts +++ b/packages_generated/k8s/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as K8sv1 from './v1/index' +export * as K8Sv1 from './v1/index.js' diff --git a/packages_generated/k8s/src/v1/api.gen.ts b/packages_generated/k8s/src/v1/api.gen.ts index d51dfb98d..00bf2af7a 100644 --- a/packages_generated/k8s/src/v1/api.gen.ts +++ b/packages_generated/k8s/src/v1/api.gen.ts @@ -14,7 +14,7 @@ import { CLUSTER_TRANSIENT_STATUSES as CLUSTER_TRANSIENT_STATUSES_K8S, NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES_K8S, POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES_K8S, -} from './content.gen' +} from './content.gen.js' import { marshalAddClusterACLRulesRequest, marshalCreateClusterRequest, @@ -43,7 +43,7 @@ import { unmarshalPool, unmarshalSetClusterACLRulesResponse, unmarshalVersion, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddClusterACLRulesRequest, AddClusterACLRulesResponse, @@ -95,7 +95,7 @@ import type { UpgradeClusterRequest, UpgradePoolRequest, Version, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/k8s/src/v1/content.gen.ts b/packages_generated/k8s/src/v1/content.gen.ts index 89bbdf5d8..83f81cf6b 100644 --- a/packages_generated/k8s/src/v1/content.gen.ts +++ b/packages_generated/k8s/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { ClusterStatus, NodeStatus, PoolStatus } from './types.gen' +import type { ClusterStatus, NodeStatus, PoolStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link ClusterStatus}. */ export const CLUSTER_TRANSIENT_STATUSES: ClusterStatus[] = [ diff --git a/packages_generated/k8s/src/v1/index.gen.ts b/packages_generated/k8s/src/v1/index.gen.ts index f1d134b7d..6e56cfcc7 100644 --- a/packages_generated/k8s/src/v1/index.gen.ts +++ b/packages_generated/k8s/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { ACLRule, ACLRuleRequest, @@ -88,5 +88,5 @@ export type { UpgradeClusterRequest, UpgradePoolRequest, Version, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/k8s/src/v1/marshalling.gen.ts b/packages_generated/k8s/src/v1/marshalling.gen.ts index 01e91c146..186bd2728 100644 --- a/packages_generated/k8s/src/v1/marshalling.gen.ts +++ b/packages_generated/k8s/src/v1/marshalling.gen.ts @@ -56,7 +56,7 @@ import type { UpgradeClusterRequest, UpgradePoolRequest, Version, -} from './types.gen' +} from './types.gen.js' const unmarshalPoolUpgradePolicy = (data: unknown): PoolUpgradePolicy => { if (!isJSONObject(data)) { diff --git a/packages_generated/key_manager/src/index.gen.ts b/packages_generated/key_manager/src/index.gen.ts index fe467282f..2733d9d3c 100644 --- a/packages_generated/key_manager/src/index.gen.ts +++ b/packages_generated/key_manager/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as KeyManagerv1alpha1 from './v1alpha1/index.gen' +export * as KeyManagerv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/key_manager/src/v1alpha1/api.gen.ts b/packages_generated/key_manager/src/v1alpha1/api.gen.ts index fa2cb29f8..08dc38ead 100644 --- a/packages_generated/key_manager/src/v1alpha1/api.gen.ts +++ b/packages_generated/key_manager/src/v1alpha1/api.gen.ts @@ -27,7 +27,7 @@ import { unmarshalPublicKey, unmarshalSignResponse, unmarshalVerifyResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateKeyRequest, DataKey, @@ -58,7 +58,7 @@ import type { UpdateKeyRequest, VerifyRequest, VerifyResponse, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/key_manager/src/v1alpha1/index.gen.ts b/packages_generated/key_manager/src/v1alpha1/index.gen.ts index 90e2bbc52..b4dbc71ea 100644 --- a/packages_generated/key_manager/src/v1alpha1/index.gen.ts +++ b/packages_generated/key_manager/src/v1alpha1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { CreateKeyRequest, DataKey, @@ -44,4 +44,4 @@ export type { UpdateKeyRequest, VerifyRequest, VerifyResponse, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/key_manager/src/v1alpha1/marshalling.gen.ts b/packages_generated/key_manager/src/v1alpha1/marshalling.gen.ts index 95f756aea..1d79fbcea 100644 --- a/packages_generated/key_manager/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/key_manager/src/v1alpha1/marshalling.gen.ts @@ -29,7 +29,7 @@ import type { UpdateKeyRequest, VerifyRequest, VerifyResponse, -} from './types.gen' +} from './types.gen.js' const unmarshalKeyRotationPolicy = (data: unknown): KeyRotationPolicy => { if (!isJSONObject(data)) { diff --git a/packages_generated/lb/src/index.gen.ts b/packages_generated/lb/src/index.gen.ts index 5e950876a..e66609137 100644 --- a/packages_generated/lb/src/index.gen.ts +++ b/packages_generated/lb/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Lbv1 from './v1/index.gen' +export * as Lbv1 from './v1/index.gen.js' diff --git a/packages_generated/lb/src/v1/api.gen.ts b/packages_generated/lb/src/v1/api.gen.ts index c0cf7f29c..619ba9d9b 100644 --- a/packages_generated/lb/src/v1/api.gen.ts +++ b/packages_generated/lb/src/v1/api.gen.ts @@ -13,7 +13,7 @@ import { import { CERTIFICATE_TRANSIENT_STATUSES as CERTIFICATE_TRANSIENT_STATUSES_LB, LB_TRANSIENT_STATUSES as LB_TRANSIENT_STATUSES_LB, -} from './content.gen' +} from './content.gen.js' import { marshalAddBackendServersRequest, marshalAttachPrivateNetworkRequest, @@ -86,7 +86,7 @@ import { unmarshalRoute, unmarshalSetAclsResponse, unmarshalSubscriber, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { Acl, AddBackendServersRequest, @@ -218,7 +218,7 @@ import type { ZonedApiUpdateLbRequest, ZonedApiUpdateRouteRequest, ZonedApiUpdateSubscriberRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/lb/src/v1/content.gen.ts b/packages_generated/lb/src/v1/content.gen.ts index 61604bfe0..c07735bc0 100644 --- a/packages_generated/lb/src/v1/content.gen.ts +++ b/packages_generated/lb/src/v1/content.gen.ts @@ -5,7 +5,7 @@ import type { InstanceStatus, LbStatus, PrivateNetworkStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link CertificateStatus}. */ export const CERTIFICATE_TRANSIENT_STATUSES: CertificateStatus[] = ['pending'] diff --git a/packages_generated/lb/src/v1/index.gen.ts b/packages_generated/lb/src/v1/index.gen.ts index 4287dc628..8bb140c6f 100644 --- a/packages_generated/lb/src/v1/index.gen.ts +++ b/packages_generated/lb/src/v1/index.gen.ts @@ -3,9 +3,9 @@ export { API, ZonedAPI, -} from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { Acl, AclAction, @@ -185,5 +185,5 @@ export type { ZonedApiUpdateLbRequest, ZonedApiUpdateRouteRequest, ZonedApiUpdateSubscriberRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/lb/src/v1/marshalling.gen.ts b/packages_generated/lb/src/v1/marshalling.gen.ts index 08333a335..e9d0f5d7f 100644 --- a/packages_generated/lb/src/v1/marshalling.gen.ts +++ b/packages_generated/lb/src/v1/marshalling.gen.ts @@ -102,7 +102,7 @@ import type { ZonedApiUpdateLbRequest, ZonedApiUpdateRouteRequest, ZonedApiUpdateSubscriberRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalIp = (data: unknown): Ip => { if (!isJSONObject(data)) { diff --git a/packages_generated/lb/src/v1/validation-rules.gen.ts b/packages_generated/lb/src/v1/validation-rules.gen.ts index 2f0743c33..c6d38da8b 100644 --- a/packages_generated/lb/src/v1/validation-rules.gen.ts +++ b/packages_generated/lb/src/v1/validation-rules.gen.ts @@ -5,16 +5,10 @@ export const HealthCheckHttpConfig = { hostHeader: { pattern: /^[^\s]+$/, }, - uri: { - pattern: /^[^\s]+$/, - }, } export const HealthCheckHttpsConfig = { hostHeader: { pattern: /^[^\s]+$/, }, - uri: { - pattern: /^[^\s]+$/, - }, } diff --git a/packages_generated/marketplace/src/index.gen.ts b/packages_generated/marketplace/src/index.gen.ts index 43ffad017..784ef5115 100644 --- a/packages_generated/marketplace/src/index.gen.ts +++ b/packages_generated/marketplace/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Marketplacev2 from './v2/index.gen' +export * as Marketplacev2 from './v2/index.gen.js' diff --git a/packages_generated/marketplace/src/v2/api.gen.ts b/packages_generated/marketplace/src/v2/api.gen.ts index 4662d2123..99f2848d4 100644 --- a/packages_generated/marketplace/src/v2/api.gen.ts +++ b/packages_generated/marketplace/src/v2/api.gen.ts @@ -16,7 +16,7 @@ import { unmarshalListVersionsResponse, unmarshalLocalImage, unmarshalVersion, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { Category, GetCategoryRequest, @@ -34,7 +34,7 @@ import type { ListVersionsResponse, LocalImage, Version, -} from './types.gen' +} from './types.gen.js' /** * Marketplace API. diff --git a/packages_generated/marketplace/src/v2/index.gen.ts b/packages_generated/marketplace/src/v2/index.gen.ts index 5428863da..fc530d006 100644 --- a/packages_generated/marketplace/src/v2/index.gen.ts +++ b/packages_generated/marketplace/src/v2/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { Category, GetCategoryRequest, @@ -23,4 +23,4 @@ export type { LocalImage, LocalImageType, Version, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/marketplace/src/v2/marshalling.gen.ts b/packages_generated/marketplace/src/v2/marshalling.gen.ts index 86125e4a1..d8a8bc418 100644 --- a/packages_generated/marketplace/src/v2/marshalling.gen.ts +++ b/packages_generated/marketplace/src/v2/marshalling.gen.ts @@ -14,7 +14,7 @@ import type { ListVersionsResponse, LocalImage, Version, -} from './types.gen' +} from './types.gen.js' export const unmarshalCategory = (data: unknown): Category => { if (!isJSONObject(data)) { diff --git a/packages_generated/mnq/src/index.gen.ts b/packages_generated/mnq/src/index.gen.ts index 93bf293b3..a458abc93 100644 --- a/packages_generated/mnq/src/index.gen.ts +++ b/packages_generated/mnq/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Mnqv1beta1 from './v1beta1/index.gen' +export * as Mnqv1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/mnq/src/v1beta1/api.gen.ts b/packages_generated/mnq/src/v1beta1/api.gen.ts index 3a9099888..adcd83fed 100644 --- a/packages_generated/mnq/src/v1beta1/api.gen.ts +++ b/packages_generated/mnq/src/v1beta1/api.gen.ts @@ -31,7 +31,7 @@ import { unmarshalSnsInfo, unmarshalSqsCredentials, unmarshalSqsInfo, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { ListNatsAccountsResponse, ListNatsCredentialsResponse, @@ -68,7 +68,7 @@ import type { SqsApiUpdateSqsCredentialsRequest, SqsCredentials, SqsInfo, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/mnq/src/v1beta1/index.gen.ts b/packages_generated/mnq/src/v1beta1/index.gen.ts index 39d5ca375..04355237e 100644 --- a/packages_generated/mnq/src/v1beta1/index.gen.ts +++ b/packages_generated/mnq/src/v1beta1/index.gen.ts @@ -4,8 +4,8 @@ export { NatsAPI, SnsAPI, SqsAPI, -} from './api.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './marshalling.gen.js' export type { File, ListNatsAccountsRequestOrderBy, @@ -51,5 +51,5 @@ export type { SqsInfo, SqsInfoStatus, SqsPermissions, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/mnq/src/v1beta1/marshalling.gen.ts b/packages_generated/mnq/src/v1beta1/marshalling.gen.ts index 58fe90d46..824d4c78f 100644 --- a/packages_generated/mnq/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/mnq/src/v1beta1/marshalling.gen.ts @@ -32,7 +32,7 @@ import type { SqsCredentials, SqsInfo, SqsPermissions, -} from './types.gen' +} from './types.gen.js' export const unmarshalNatsAccount = (data: unknown): NatsAccount => { if (!isJSONObject(data)) { diff --git a/packages_generated/mongodb/src/index.gen.ts b/packages_generated/mongodb/src/index.gen.ts index bb4cb5db0..4dca62375 100644 --- a/packages_generated/mongodb/src/index.gen.ts +++ b/packages_generated/mongodb/src/index.gen.ts @@ -3,5 +3,5 @@ * PLEASE DO NOT EDIT HERE */ -export * as Mongodbv1 from './v1/index.gen' -export * as Mongodbv1alpha1 from './v1alpha1/index.gen' +export * as Mongodbv1 from './v1/index.gen.js' +export * as Mongodbv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/mongodb/src/v1/api.gen.ts b/packages_generated/mongodb/src/v1/api.gen.ts index 3039bc542..e89d35ae0 100644 --- a/packages_generated/mongodb/src/v1/api.gen.ts +++ b/packages_generated/mongodb/src/v1/api.gen.ts @@ -13,7 +13,7 @@ import { import { INSTANCE_TRANSIENT_STATUSES as INSTANCE_TRANSIENT_STATUSES_MONGODB, SNAPSHOT_TRANSIENT_STATUSES as SNAPSHOT_TRANSIENT_STATUSES_MONGODB, -} from './content.gen' +} from './content.gen.js' import { marshalCreateEndpointRequest, marshalCreateInstanceRequest, @@ -35,7 +35,7 @@ import { unmarshalListVersionsResponse, unmarshalSnapshot, unmarshalUser, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateEndpointRequest, CreateInstanceRequest, @@ -70,7 +70,7 @@ import type { UpdateUserRequest, UpgradeInstanceRequest, User, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/mongodb/src/v1/content.gen.ts b/packages_generated/mongodb/src/v1/content.gen.ts index 9b9df80fd..aba79fb49 100644 --- a/packages_generated/mongodb/src/v1/content.gen.ts +++ b/packages_generated/mongodb/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { InstanceStatus, SnapshotStatus } from './types.gen' +import type { InstanceStatus, SnapshotStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link InstanceStatus}. */ export const INSTANCE_TRANSIENT_STATUSES: InstanceStatus[] = [ diff --git a/packages_generated/mongodb/src/v1/index.gen.ts b/packages_generated/mongodb/src/v1/index.gen.ts index 4e7951caa..aaf4f84ca 100644 --- a/packages_generated/mongodb/src/v1/index.gen.ts +++ b/packages_generated/mongodb/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateEndpointRequest, CreateInstanceRequest, @@ -58,5 +58,5 @@ export type { Version, Volume, VolumeType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/mongodb/src/v1/marshalling.gen.ts b/packages_generated/mongodb/src/v1/marshalling.gen.ts index 730830eff..2dc835eb5 100644 --- a/packages_generated/mongodb/src/v1/marshalling.gen.ts +++ b/packages_generated/mongodb/src/v1/marshalling.gen.ts @@ -41,7 +41,7 @@ import type { UserRole, Version, Volume, -} from './types.gen' +} from './types.gen.js' const unmarshalEndpointPrivateNetworkDetails = ( data: unknown, diff --git a/packages_generated/mongodb/src/v1alpha1/api.gen.ts b/packages_generated/mongodb/src/v1alpha1/api.gen.ts index 1c6345c96..adf1bed30 100644 --- a/packages_generated/mongodb/src/v1alpha1/api.gen.ts +++ b/packages_generated/mongodb/src/v1alpha1/api.gen.ts @@ -13,7 +13,7 @@ import { import { INSTANCE_TRANSIENT_STATUSES as INSTANCE_TRANSIENT_STATUSES_MONGODB, SNAPSHOT_TRANSIENT_STATUSES as SNAPSHOT_TRANSIENT_STATUSES_MONGODB, -} from './content.gen' +} from './content.gen.js' import { marshalCreateEndpointRequest, marshalCreateInstanceRequest, @@ -34,7 +34,7 @@ import { unmarshalListVersionsResponse, unmarshalSnapshot, unmarshalUser, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateEndpointRequest, CreateInstanceRequest, @@ -67,7 +67,7 @@ import type { UpdateUserRequest, UpgradeInstanceRequest, User, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/mongodb/src/v1alpha1/content.gen.ts b/packages_generated/mongodb/src/v1alpha1/content.gen.ts index 9b9df80fd..aba79fb49 100644 --- a/packages_generated/mongodb/src/v1alpha1/content.gen.ts +++ b/packages_generated/mongodb/src/v1alpha1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { InstanceStatus, SnapshotStatus } from './types.gen' +import type { InstanceStatus, SnapshotStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link InstanceStatus}. */ export const INSTANCE_TRANSIENT_STATUSES: InstanceStatus[] = [ diff --git a/packages_generated/mongodb/src/v1alpha1/index.gen.ts b/packages_generated/mongodb/src/v1alpha1/index.gen.ts index 926c5b2e3..b606177a3 100644 --- a/packages_generated/mongodb/src/v1alpha1/index.gen.ts +++ b/packages_generated/mongodb/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateEndpointRequest, CreateInstanceRequest, @@ -60,5 +60,5 @@ export type { Version, Volume, VolumeType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/mongodb/src/v1alpha1/marshalling.gen.ts b/packages_generated/mongodb/src/v1alpha1/marshalling.gen.ts index bc769fcc7..3bd393aab 100644 --- a/packages_generated/mongodb/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/mongodb/src/v1alpha1/marshalling.gen.ts @@ -44,7 +44,7 @@ import type { UserRole, Version, Volume, -} from './types.gen' +} from './types.gen.js' const unmarshalEndpointPrivateNetworkDetails = ( data: unknown, diff --git a/packages_generated/product_catalog/src/index.gen.ts b/packages_generated/product_catalog/src/index.gen.ts index dbe781ffb..0d929daa9 100644 --- a/packages_generated/product_catalog/src/index.gen.ts +++ b/packages_generated/product_catalog/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as ProductCatalogv2alpha1 from './v2alpha1/index.gen' +export * as ProductCatalogv2alpha1 from './v2alpha1/index.gen.js' diff --git a/packages_generated/product_catalog/src/v2alpha1/api.gen.ts b/packages_generated/product_catalog/src/v2alpha1/api.gen.ts index a32c93540..6a912bdf6 100644 --- a/packages_generated/product_catalog/src/v2alpha1/api.gen.ts +++ b/packages_generated/product_catalog/src/v2alpha1/api.gen.ts @@ -8,11 +8,11 @@ import { resolveOneOf, urlParams, } from '@scaleway/sdk-client' -import { unmarshalListPublicCatalogProductsResponse } from './marshalling.gen' +import { unmarshalListPublicCatalogProductsResponse } from './marshalling.gen.js' import type { ListPublicCatalogProductsResponse, PublicCatalogApiListPublicCatalogProductsRequest, -} from './types.gen' +} from './types.gen.js' /** * Product Catalog API. diff --git a/packages_generated/product_catalog/src/v2alpha1/index.gen.ts b/packages_generated/product_catalog/src/v2alpha1/index.gen.ts index 3cbd6adbd..8ae903c9f 100644 --- a/packages_generated/product_catalog/src/v2alpha1/index.gen.ts +++ b/packages_generated/product_catalog/src/v2alpha1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { PublicCatalogAPI } from './api.gen' -export * from './marshalling.gen' +export { PublicCatalogAPI } from './api.gen.js' +export * from './marshalling.gen.js' export type { ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsResponse, @@ -29,5 +29,5 @@ export type { PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/product_catalog/src/v2alpha1/marshalling.gen.ts b/packages_generated/product_catalog/src/v2alpha1/marshalling.gen.ts index 5501a249d..9634d7be0 100644 --- a/packages_generated/product_catalog/src/v2alpha1/marshalling.gen.ts +++ b/packages_generated/product_catalog/src/v2alpha1/marshalling.gen.ts @@ -28,7 +28,7 @@ import type { PublicCatalogProductPropertiesInstance, PublicCatalogProductPropertiesObjectStorage, PublicCatalogProductUnitOfMeasure, -} from './types.gen' +} from './types.gen.js' const unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical = ( data: unknown, diff --git a/packages_generated/qaas/src/index.gen.ts b/packages_generated/qaas/src/index.gen.ts index 01bf14932..2b16bf0b6 100644 --- a/packages_generated/qaas/src/index.gen.ts +++ b/packages_generated/qaas/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Qaasv1alpha1 from './v1alpha1/index.gen' +export * as Qaasv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/qaas/src/v1alpha1/api.gen.ts b/packages_generated/qaas/src/v1alpha1/api.gen.ts index cac7929b4..a1d5ac413 100644 --- a/packages_generated/qaas/src/v1alpha1/api.gen.ts +++ b/packages_generated/qaas/src/v1alpha1/api.gen.ts @@ -15,7 +15,7 @@ import { JOB_TRANSIENT_STATUSES as JOB_TRANSIENT_STATUSES_QAAS, PROCESS_TRANSIENT_STATUSES as PROCESS_TRANSIENT_STATUSES_QAAS, SESSION_TRANSIENT_STATUSES as SESSION_TRANSIENT_STATUSES_QAAS, -} from './content.gen' +} from './content.gen.js' import { marshalCreateJobRequest, marshalCreateModelRequest, @@ -43,7 +43,7 @@ import { unmarshalPlatform, unmarshalProcess, unmarshalSession, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { Application, Booking, @@ -95,7 +95,7 @@ import type { UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/qaas/src/v1alpha1/content.gen.ts b/packages_generated/qaas/src/v1alpha1/content.gen.ts index 903da1b20..67ac37543 100644 --- a/packages_generated/qaas/src/v1alpha1/content.gen.ts +++ b/packages_generated/qaas/src/v1alpha1/content.gen.ts @@ -5,7 +5,7 @@ import type { JobStatus, ProcessStatus, SessionStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link BookingStatus}. */ export const BOOKING_TRANSIENT_STATUSES: BookingStatus[] = [ diff --git a/packages_generated/qaas/src/v1alpha1/index.gen.ts b/packages_generated/qaas/src/v1alpha1/index.gen.ts index 9936b8875..2e3715dd2 100644 --- a/packages_generated/qaas/src/v1alpha1/index.gen.ts +++ b/packages_generated/qaas/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { Application, ApplicationType, @@ -79,5 +79,5 @@ export type { UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts b/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts index 2a9259506..730a52517 100644 --- a/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts @@ -41,7 +41,7 @@ import type { UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalJobCircuit = (data: unknown): JobCircuit => { if (!isJSONObject(data)) { diff --git a/packages_generated/rdb/src/index.gen.ts b/packages_generated/rdb/src/index.gen.ts index df0e2e628..f44e1670a 100644 --- a/packages_generated/rdb/src/index.gen.ts +++ b/packages_generated/rdb/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Rdbv1 from './v1/index.gen' +export * as Rdbv1 from './v1/index.gen.js' diff --git a/packages_generated/rdb/src/v1/api.gen.ts b/packages_generated/rdb/src/v1/api.gen.ts index f1a6743e9..569880138 100644 --- a/packages_generated/rdb/src/v1/api.gen.ts +++ b/packages_generated/rdb/src/v1/api.gen.ts @@ -16,7 +16,7 @@ import { INSTANCE_TRANSIENT_STATUSES as INSTANCE_TRANSIENT_STATUSES_RDB, READ_REPLICA_TRANSIENT_STATUSES as READ_REPLICA_TRANSIENT_STATUSES_RDB, SNAPSHOT_TRANSIENT_STATUSES as SNAPSHOT_TRANSIENT_STATUSES_RDB, -} from './content.gen' +} from './content.gen.js' import { marshalAddInstanceACLRulesRequest, marshalAddInstanceSettingsRequest, @@ -73,7 +73,7 @@ import { unmarshalSetInstanceSettingsResponse, unmarshalSnapshot, unmarshalUser, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddInstanceACLRulesRequest, AddInstanceACLRulesResponse, @@ -162,7 +162,7 @@ import type { UpdateUserRequest, UpgradeInstanceRequest, User, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/rdb/src/v1/content.gen.ts b/packages_generated/rdb/src/v1/content.gen.ts index 231b71dc2..d0e0f5efa 100644 --- a/packages_generated/rdb/src/v1/content.gen.ts +++ b/packages_generated/rdb/src/v1/content.gen.ts @@ -7,7 +7,7 @@ import type { MaintenanceStatus, ReadReplicaStatus, SnapshotStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link DatabaseBackupStatus}. */ export const DATABASE_BACKUP_TRANSIENT_STATUSES: DatabaseBackupStatus[] = [ diff --git a/packages_generated/rdb/src/v1/index.gen.ts b/packages_generated/rdb/src/v1/index.gen.ts index c64843267..a2847b9bd 100644 --- a/packages_generated/rdb/src/v1/index.gen.ts +++ b/packages_generated/rdb/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { ACLRule, ACLRuleAction, @@ -142,5 +142,5 @@ export type { User, Volume, VolumeType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/rdb/src/v1/marshalling.gen.ts b/packages_generated/rdb/src/v1/marshalling.gen.ts index 63027b30a..d44b7fecd 100644 --- a/packages_generated/rdb/src/v1/marshalling.gen.ts +++ b/packages_generated/rdb/src/v1/marshalling.gen.ts @@ -93,7 +93,7 @@ import type { UpgradeInstanceRequestMajorUpgradeWorkflow, User, Volume, -} from './types.gen' +} from './types.gen.js' const unmarshalEndpointDirectAccessDetails = ( data: unknown, diff --git a/packages_generated/redis/src/index.gen.ts b/packages_generated/redis/src/index.gen.ts index f6c21994d..9e05d8fc2 100644 --- a/packages_generated/redis/src/index.gen.ts +++ b/packages_generated/redis/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Redisv1 from './v1/index.gen' +export * as Redisv1 from './v1/index.gen.js' diff --git a/packages_generated/redis/src/v1/api.gen.ts b/packages_generated/redis/src/v1/api.gen.ts index 959bdac63..09330bfb8 100644 --- a/packages_generated/redis/src/v1/api.gen.ts +++ b/packages_generated/redis/src/v1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { CLUSTER_TRANSIENT_STATUSES as CLUSTER_TRANSIENT_STATUSES_REDIS } from './content.gen' +import { CLUSTER_TRANSIENT_STATUSES as CLUSTER_TRANSIENT_STATUSES_REDIS } from './content.gen.js' import { marshalAddAclRulesRequest, marshalAddClusterSettingsRequest, @@ -34,7 +34,7 @@ import { unmarshalListNodeTypesResponse, unmarshalSetAclRulesResponse, unmarshalSetEndpointsResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { ACLRule, AddAclRulesRequest, @@ -71,7 +71,7 @@ import type { SetEndpointsResponse, UpdateClusterRequest, UpdateEndpointRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/redis/src/v1/content.gen.ts b/packages_generated/redis/src/v1/content.gen.ts index 29e34e152..82f6d2ab6 100644 --- a/packages_generated/redis/src/v1/content.gen.ts +++ b/packages_generated/redis/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { ClusterStatus } from './types.gen' +import type { ClusterStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link ClusterStatus}. */ export const CLUSTER_TRANSIENT_STATUSES: ClusterStatus[] = [ diff --git a/packages_generated/redis/src/v1/index.gen.ts b/packages_generated/redis/src/v1/index.gen.ts index 0754eaef0..99c8396c2 100644 --- a/packages_generated/redis/src/v1/index.gen.ts +++ b/packages_generated/redis/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { ACLRule, ACLRuleSpec, @@ -55,4 +55,4 @@ export type { SetEndpointsResponse, UpdateClusterRequest, UpdateEndpointRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/redis/src/v1/marshalling.gen.ts b/packages_generated/redis/src/v1/marshalling.gen.ts index 3c41c43b1..5abf6c474 100644 --- a/packages_generated/redis/src/v1/marshalling.gen.ts +++ b/packages_generated/redis/src/v1/marshalling.gen.ts @@ -43,7 +43,7 @@ import type { SetEndpointsResponse, UpdateClusterRequest, UpdateEndpointRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalACLRule = (data: unknown): ACLRule => { if (!isJSONObject(data)) { diff --git a/packages_generated/registry/src/index.gen.ts b/packages_generated/registry/src/index.gen.ts index 13442903a..6b5cafc61 100644 --- a/packages_generated/registry/src/index.gen.ts +++ b/packages_generated/registry/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Registryv1 from './v1/index.gen' +export * as Registryv1 from './v1/index.gen.js' diff --git a/packages_generated/registry/src/v1/api.gen.ts b/packages_generated/registry/src/v1/api.gen.ts index 39154d3c9..d8b35b82e 100644 --- a/packages_generated/registry/src/v1/api.gen.ts +++ b/packages_generated/registry/src/v1/api.gen.ts @@ -14,7 +14,7 @@ import { IMAGE_TRANSIENT_STATUSES as IMAGE_TRANSIENT_STATUSES_REGISTRY, NAMESPACE_TRANSIENT_STATUSES as NAMESPACE_TRANSIENT_STATUSES_REGISTRY, TAG_TRANSIENT_STATUSES as TAG_TRANSIENT_STATUSES_REGISTRY, -} from './content.gen' +} from './content.gen.js' import { marshalCreateNamespaceRequest, marshalUpdateImageRequest, @@ -25,7 +25,7 @@ import { unmarshalListTagsResponse, unmarshalNamespace, unmarshalTag, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateNamespaceRequest, DeleteImageRequest, @@ -45,7 +45,7 @@ import type { Tag, UpdateImageRequest, UpdateNamespaceRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/registry/src/v1/content.gen.ts b/packages_generated/registry/src/v1/content.gen.ts index b9a47d235..7fb07f7cc 100644 --- a/packages_generated/registry/src/v1/content.gen.ts +++ b/packages_generated/registry/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { ImageStatus, NamespaceStatus, TagStatus } from './types.gen' +import type { ImageStatus, NamespaceStatus, TagStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link ImageStatus}. */ export const IMAGE_TRANSIENT_STATUSES: ImageStatus[] = ['deleting'] diff --git a/packages_generated/registry/src/v1/index.gen.ts b/packages_generated/registry/src/v1/index.gen.ts index eef5ef5fc..d670570cc 100644 --- a/packages_generated/registry/src/v1/index.gen.ts +++ b/packages_generated/registry/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateNamespaceRequest, DeleteImageRequest, @@ -29,4 +29,4 @@ export type { TagStatus, UpdateImageRequest, UpdateNamespaceRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/registry/src/v1/marshalling.gen.ts b/packages_generated/registry/src/v1/marshalling.gen.ts index 2a07cb86b..bdfb22a45 100644 --- a/packages_generated/registry/src/v1/marshalling.gen.ts +++ b/packages_generated/registry/src/v1/marshalling.gen.ts @@ -18,7 +18,7 @@ import type { Tag, UpdateImageRequest, UpdateNamespaceRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalImage = (data: unknown): Image => { if (!isJSONObject(data)) { diff --git a/packages_generated/s2s_vpn/src/index.gen.ts b/packages_generated/s2s_vpn/src/index.gen.ts index b98c2003d..e572b5c63 100644 --- a/packages_generated/s2s_vpn/src/index.gen.ts +++ b/packages_generated/s2s_vpn/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as S2sVpnv1alpha1 from './v1alpha1/index.gen' +export * as S2SVpnv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts index 5d73319d4..a7ecab187 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { VPN_GATEWAY_TRANSIENT_STATUSES as VPN_GATEWAY_TRANSIENT_STATUSES_S2S_VPN } from './content.gen' +import { VPN_GATEWAY_TRANSIENT_STATUSES as VPN_GATEWAY_TRANSIENT_STATUSES_S2S_VPN } from './content.gen.js' import { marshalCreateConnectionRequest, marshalCreateCustomerGatewayRequest, @@ -33,7 +33,7 @@ import { unmarshalRenewConnectionPskResponse, unmarshalRoutingPolicy, unmarshalVpnGateway, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { Connection, CreateConnectionRequest, @@ -72,7 +72,7 @@ import type { UpdateRoutingPolicyRequest, UpdateVpnGatewayRequest, VpnGateway, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/s2s_vpn/src/v1alpha1/content.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/content.gen.ts index 5b1ea7320..9064c9a00 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/content.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { VpnGatewayStatus } from './types.gen' +import type { VpnGatewayStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link VpnGatewayStatus}. */ export const VPN_GATEWAY_TRANSIENT_STATUSES: VpnGatewayStatus[] = [ diff --git a/packages_generated/s2s_vpn/src/v1alpha1/index.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/index.gen.ts index 60026aa42..e1355d11b 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/index.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { BgpSession, BgpSessionStatus, @@ -61,5 +61,5 @@ export type { VpnGatewayPrivateConfig, VpnGatewayPublicConfig, VpnGatewayStatus, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts index 60895cb49..7a1aeaca5 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts @@ -37,7 +37,7 @@ import type { VpnGateway, VpnGatewayPrivateConfig, VpnGatewayPublicConfig, -} from './types.gen' +} from './types.gen.js' const unmarshalBgpSession = (data: unknown): BgpSession => { if (!isJSONObject(data)) { diff --git a/packages_generated/secret/src/index.gen.ts b/packages_generated/secret/src/index.gen.ts index 314b39d79..0e977a22d 100644 --- a/packages_generated/secret/src/index.gen.ts +++ b/packages_generated/secret/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Secretv1beta1 from './v1beta1/index.gen' +export * as Secretv1beta1 from './v1beta1/index.gen.js' diff --git a/packages_generated/secret/src/v1beta1/api.gen.ts b/packages_generated/secret/src/v1beta1/api.gen.ts index 8ddca4d34..d5a2249cf 100644 --- a/packages_generated/secret/src/v1beta1/api.gen.ts +++ b/packages_generated/secret/src/v1beta1/api.gen.ts @@ -23,7 +23,7 @@ import { unmarshalListTagsResponse, unmarshalSecret, unmarshalSecretVersion, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AccessSecretVersionByPathRequest, AccessSecretVersionRequest, @@ -55,7 +55,7 @@ import type { UnprotectSecretRequest, UpdateSecretRequest, UpdateSecretVersionRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/secret/src/v1beta1/index.gen.ts b/packages_generated/secret/src/v1beta1/index.gen.ts index cc7ccece4..b1b96e3bd 100644 --- a/packages_generated/secret/src/v1beta1/index.gen.ts +++ b/packages_generated/secret/src/v1beta1/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { AccessSecretVersionByPathRequest, AccessSecretVersionRequest, @@ -48,5 +48,5 @@ export type { UnprotectSecretRequest, UpdateSecretRequest, UpdateSecretVersionRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/secret/src/v1beta1/marshalling.gen.ts b/packages_generated/secret/src/v1beta1/marshalling.gen.ts index ba71e5794..7a7c0af02 100644 --- a/packages_generated/secret/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/secret/src/v1beta1/marshalling.gen.ts @@ -26,7 +26,7 @@ import type { SecretVersion, UpdateSecretRequest, UpdateSecretVersionRequest, -} from './types.gen' +} from './types.gen.js' const unmarshalEphemeralProperties = (data: unknown): EphemeralProperties => { if (!isJSONObject(data)) { diff --git a/packages_generated/serverless_sqldb/src/index.gen.ts b/packages_generated/serverless_sqldb/src/index.gen.ts index 35933240a..bd25bc0cd 100644 --- a/packages_generated/serverless_sqldb/src/index.gen.ts +++ b/packages_generated/serverless_sqldb/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as ServerlessSqldbv1alpha1 from './v1alpha1/index.gen' +export * as ServerlessSqldbv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/serverless_sqldb/src/v1alpha1/api.gen.ts b/packages_generated/serverless_sqldb/src/v1alpha1/api.gen.ts index 35aa1712f..9c6508628 100644 --- a/packages_generated/serverless_sqldb/src/v1alpha1/api.gen.ts +++ b/packages_generated/serverless_sqldb/src/v1alpha1/api.gen.ts @@ -10,7 +10,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { DATABASE_TRANSIENT_STATUSES as DATABASE_TRANSIENT_STATUSES_SERVERLESS_SQLDB } from './content.gen' +import { DATABASE_TRANSIENT_STATUSES as DATABASE_TRANSIENT_STATUSES_SERVERLESS_SQLDB } from './content.gen.js' import { marshalCreateDatabaseRequest, marshalRestoreDatabaseFromBackupRequest, @@ -19,7 +19,7 @@ import { unmarshalDatabaseBackup, unmarshalListDatabaseBackupsResponse, unmarshalListDatabasesResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateDatabaseRequest, Database, @@ -34,7 +34,7 @@ import type { ListDatabasesResponse, RestoreDatabaseFromBackupRequest, UpdateDatabaseRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/serverless_sqldb/src/v1alpha1/content.gen.ts b/packages_generated/serverless_sqldb/src/v1alpha1/content.gen.ts index b89350238..62ecfc1fa 100644 --- a/packages_generated/serverless_sqldb/src/v1alpha1/content.gen.ts +++ b/packages_generated/serverless_sqldb/src/v1alpha1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { DatabaseStatus } from './types.gen' +import type { DatabaseStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link DatabaseStatus}. */ export const DATABASE_TRANSIENT_STATUSES: DatabaseStatus[] = [ diff --git a/packages_generated/serverless_sqldb/src/v1alpha1/index.gen.ts b/packages_generated/serverless_sqldb/src/v1alpha1/index.gen.ts index ec78fb898..515a68121 100644 --- a/packages_generated/serverless_sqldb/src/v1alpha1/index.gen.ts +++ b/packages_generated/serverless_sqldb/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateDatabaseRequest, Database, @@ -21,5 +21,5 @@ export type { ListDatabasesResponse, RestoreDatabaseFromBackupRequest, UpdateDatabaseRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/serverless_sqldb/src/v1alpha1/marshalling.gen.ts b/packages_generated/serverless_sqldb/src/v1alpha1/marshalling.gen.ts index 0b1ab6310..a4134bde8 100644 --- a/packages_generated/serverless_sqldb/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/serverless_sqldb/src/v1alpha1/marshalling.gen.ts @@ -15,7 +15,7 @@ import type { ListDatabasesResponse, RestoreDatabaseFromBackupRequest, UpdateDatabaseRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalDatabaseBackup = (data: unknown): DatabaseBackup => { if (!isJSONObject(data)) { diff --git a/packages_generated/std/src/index.gen.ts b/packages_generated/std/src/index.gen.ts index 63c6940eb..e2aa4746d 100644 --- a/packages_generated/std/src/index.gen.ts +++ b/packages_generated/std/src/index.gen.ts @@ -3,4 +3,4 @@ export type { CountryCode, LanguageCode, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/tem/src/index.gen.ts b/packages_generated/tem/src/index.gen.ts index e00a91697..a4c603dca 100644 --- a/packages_generated/tem/src/index.gen.ts +++ b/packages_generated/tem/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Temv1alpha1 from './v1alpha1/index.gen' +export * as Temv1alpha1 from './v1alpha1/index.gen.js' diff --git a/packages_generated/tem/src/v1alpha1/api.gen.ts b/packages_generated/tem/src/v1alpha1/api.gen.ts index 0695c3da7..be6bf0552 100644 --- a/packages_generated/tem/src/v1alpha1/api.gen.ts +++ b/packages_generated/tem/src/v1alpha1/api.gen.ts @@ -13,7 +13,7 @@ import { import { DOMAIN_TRANSIENT_STATUSES as DOMAIN_TRANSIENT_STATUSES_TEM, EMAIL_TRANSIENT_STATUSES as EMAIL_TRANSIENT_STATUSES_TEM, -} from './content.gen' +} from './content.gen.js' import { marshalBulkCreateBlocklistsRequest, marshalCreateDomainRequest, @@ -41,7 +41,7 @@ import { unmarshalProjectSettings, unmarshalStatistics, unmarshalWebhook, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { BulkCreateBlocklistsRequest, BulkCreateBlocklistsResponse, @@ -89,7 +89,7 @@ import type { UpdateProjectSettingsRequest, UpdateWebhookRequest, Webhook, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/tem/src/v1alpha1/content.gen.ts b/packages_generated/tem/src/v1alpha1/content.gen.ts index 167941124..adabcbea0 100644 --- a/packages_generated/tem/src/v1alpha1/content.gen.ts +++ b/packages_generated/tem/src/v1alpha1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { DomainStatus, EmailStatus } from './types.gen' +import type { DomainStatus, EmailStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link DomainStatus}. */ export const DOMAIN_TRANSIENT_STATUSES: DomainStatus[] = [ diff --git a/packages_generated/tem/src/v1alpha1/index.gen.ts b/packages_generated/tem/src/v1alpha1/index.gen.ts index 803bb5a88..39bc3aa21 100644 --- a/packages_generated/tem/src/v1alpha1/index.gen.ts +++ b/packages_generated/tem/src/v1alpha1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { Blocklist, BlocklistType, @@ -89,5 +89,5 @@ export type { WebhookEvent, WebhookEventStatus, WebhookEventType, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/tem/src/v1alpha1/marshalling.gen.ts b/packages_generated/tem/src/v1alpha1/marshalling.gen.ts index 319b82669..4a10f2030 100644 --- a/packages_generated/tem/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/tem/src/v1alpha1/marshalling.gen.ts @@ -56,7 +56,7 @@ import type { UpdateWebhookRequest, Webhook, WebhookEvent, -} from './types.gen' +} from './types.gen.js' const unmarshalEmailTry = (data: unknown): EmailTry => { if (!isJSONObject(data)) { diff --git a/packages_generated/test/src/index.gen.ts b/packages_generated/test/src/index.gen.ts index 0db017ea2..6150a4a86 100644 --- a/packages_generated/test/src/index.gen.ts +++ b/packages_generated/test/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Testv1 from './v1/index.gen' +export * as Testv1 from './v1/index.gen.js' diff --git a/packages_generated/test/src/v1/api.gen.ts b/packages_generated/test/src/v1/api.gen.ts index f0043c99e..b718339f1 100644 --- a/packages_generated/test/src/v1/api.gen.ts +++ b/packages_generated/test/src/v1/api.gen.ts @@ -9,7 +9,7 @@ import { validatePathParam, waitForResource, } from '@scaleway/sdk-client' -import { HUMAN_TRANSIENT_STATUSES as HUMAN_TRANSIENT_STATUSES_TEST } from './content.gen' +import { HUMAN_TRANSIENT_STATUSES as HUMAN_TRANSIENT_STATUSES_TEST } from './content.gen.js' import { marshalCreateHumanRequest, marshalRegisterRequest, @@ -17,7 +17,7 @@ import { unmarshalHuman, unmarshalListHumansResponse, unmarshalRegisterResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateHumanRequest, DeleteHumanRequest, @@ -30,7 +30,7 @@ import type { RunHumanRequest, SmokeHumanRequest, UpdateHumanRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/test/src/v1/content.gen.ts b/packages_generated/test/src/v1/content.gen.ts index 10ce38264..c4e373c49 100644 --- a/packages_generated/test/src/v1/content.gen.ts +++ b/packages_generated/test/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { HumanStatus } from './types.gen' +import type { HumanStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link HumanStatus}. */ export const HUMAN_TRANSIENT_STATUSES: HumanStatus[] = ['running'] diff --git a/packages_generated/test/src/v1/index.gen.ts b/packages_generated/test/src/v1/index.gen.ts index d87787f54..dbf0d42a4 100644 --- a/packages_generated/test/src/v1/index.gen.ts +++ b/packages_generated/test/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateHumanRequest, DeleteHumanRequest, @@ -18,4 +18,4 @@ export type { RunHumanRequest, SmokeHumanRequest, UpdateHumanRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/test/src/v1/marshalling.gen.ts b/packages_generated/test/src/v1/marshalling.gen.ts index 7c4c901cf..91c17455d 100644 --- a/packages_generated/test/src/v1/marshalling.gen.ts +++ b/packages_generated/test/src/v1/marshalling.gen.ts @@ -15,7 +15,7 @@ import type { RegisterRequest, RegisterResponse, UpdateHumanRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalHuman = (data: unknown): Human => { if (!isJSONObject(data)) { diff --git a/packages_generated/vpc/src/index.gen.ts b/packages_generated/vpc/src/index.gen.ts index 605f6c3cf..9f64a78b9 100644 --- a/packages_generated/vpc/src/index.gen.ts +++ b/packages_generated/vpc/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Vpcv2 from './v2/index.gen' +export * as Vpcv2 from './v2/index.gen.js' diff --git a/packages_generated/vpc/src/v2/api.gen.ts b/packages_generated/vpc/src/v2/api.gen.ts index 3a3dcabc8..fccc5b2c6 100644 --- a/packages_generated/vpc/src/v2/api.gen.ts +++ b/packages_generated/vpc/src/v2/api.gen.ts @@ -29,7 +29,7 @@ import { unmarshalRoute, unmarshalSetAclResponse, unmarshalVPC, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddSubnetsRequest, AddSubnetsResponse, @@ -63,7 +63,7 @@ import type { UpdateRouteRequest, UpdateVPCRequest, VPC, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/vpc/src/v2/index.gen.ts b/packages_generated/vpc/src/v2/index.gen.ts index 5eb2e18df..153493590 100644 --- a/packages_generated/vpc/src/v2/index.gen.ts +++ b/packages_generated/vpc/src/v2/index.gen.ts @@ -1,7 +1,7 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './marshalling.gen.js' export type { AclRule, AclRuleProtocol, @@ -42,5 +42,5 @@ export type { UpdateRouteRequest, UpdateVPCRequest, VPC, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/vpc/src/v2/marshalling.gen.ts b/packages_generated/vpc/src/v2/marshalling.gen.ts index ce68b2536..00843e5f8 100644 --- a/packages_generated/vpc/src/v2/marshalling.gen.ts +++ b/packages_generated/vpc/src/v2/marshalling.gen.ts @@ -29,7 +29,7 @@ import type { UpdateRouteRequest, UpdateVPCRequest, VPC, -} from './types.gen' +} from './types.gen.js' const unmarshalSubnet = (data: unknown): Subnet => { if (!isJSONObject(data)) { diff --git a/packages_generated/vpcgw/src/index.gen.ts b/packages_generated/vpcgw/src/index.gen.ts index 43ca1cb97..7f1aff3f1 100644 --- a/packages_generated/vpcgw/src/index.gen.ts +++ b/packages_generated/vpcgw/src/index.gen.ts @@ -3,5 +3,5 @@ * PLEASE DO NOT EDIT HERE */ -export * as Vpcgwv1 from './v1/index.gen' -export * as Vpcgwv2 from './v2/index.gen' +export * as Vpcgwv1 from './v1/index.gen.js' +export * as Vpcgwv2 from './v2/index.gen.js' diff --git a/packages_generated/vpcgw/src/v1/api.gen.ts b/packages_generated/vpcgw/src/v1/api.gen.ts index 5f7379ed1..aec8b2493 100644 --- a/packages_generated/vpcgw/src/v1/api.gen.ts +++ b/packages_generated/vpcgw/src/v1/api.gen.ts @@ -13,7 +13,7 @@ import { import { GATEWAY_NETWORK_TRANSIENT_STATUSES as GATEWAY_NETWORK_TRANSIENT_STATUSES_VPCGW, GATEWAY_TRANSIENT_STATUSES as GATEWAY_TRANSIENT_STATUSES_VPCGW, -} from './content.gen' +} from './content.gen.js' import { marshalCreateDHCPEntryRequest, marshalCreateDHCPRequest, @@ -45,7 +45,7 @@ import { unmarshalPATRule, unmarshalSetDHCPEntriesResponse, unmarshalSetPATRulesResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { CreateDHCPEntryRequest, CreateDHCPRequest, @@ -99,7 +99,7 @@ import type { UpdateIPRequest, UpdatePATRuleRequest, UpgradeGatewayRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/vpcgw/src/v1/content.gen.ts b/packages_generated/vpcgw/src/v1/content.gen.ts index dac6b7029..1a02cadc5 100644 --- a/packages_generated/vpcgw/src/v1/content.gen.ts +++ b/packages_generated/vpcgw/src/v1/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { GatewayNetworkStatus, GatewayStatus } from './types.gen' +import type { GatewayNetworkStatus, GatewayStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link GatewayNetworkStatus}. */ export const GATEWAY_NETWORK_TRANSIENT_STATUSES: GatewayNetworkStatus[] = [ diff --git a/packages_generated/vpcgw/src/v1/index.gen.ts b/packages_generated/vpcgw/src/v1/index.gen.ts index b840897b5..a4eaf8f68 100644 --- a/packages_generated/vpcgw/src/v1/index.gen.ts +++ b/packages_generated/vpcgw/src/v1/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { CreateDHCPEntryRequest, CreateDHCPRequest, @@ -72,4 +72,4 @@ export type { UpdateIPRequest, UpdatePATRuleRequest, UpgradeGatewayRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/vpcgw/src/v1/marshalling.gen.ts b/packages_generated/vpcgw/src/v1/marshalling.gen.ts index 1715e7589..59eeabbd9 100644 --- a/packages_generated/vpcgw/src/v1/marshalling.gen.ts +++ b/packages_generated/vpcgw/src/v1/marshalling.gen.ts @@ -45,7 +45,7 @@ import type { UpdateIPRequest, UpdatePATRuleRequest, UpgradeGatewayRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalDHCP = (data: unknown): DHCP => { if (!isJSONObject(data)) { diff --git a/packages_generated/vpcgw/src/v2/api.gen.ts b/packages_generated/vpcgw/src/v2/api.gen.ts index 1cb2dbe31..e2f93d9b3 100644 --- a/packages_generated/vpcgw/src/v2/api.gen.ts +++ b/packages_generated/vpcgw/src/v2/api.gen.ts @@ -13,7 +13,7 @@ import { import { GATEWAY_NETWORK_TRANSIENT_STATUSES as GATEWAY_NETWORK_TRANSIENT_STATUSES_VPCGW, GATEWAY_TRANSIENT_STATUSES as GATEWAY_TRANSIENT_STATUSES_VPCGW, -} from './content.gen' +} from './content.gen.js' import { marshalAddBastionAllowedIPsRequest, marshalCreateGatewayNetworkRequest, @@ -39,7 +39,7 @@ import { unmarshalPatRule, unmarshalSetBastionAllowedIPsResponse, unmarshalSetPatRulesResponse, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, @@ -80,7 +80,7 @@ import type { UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/vpcgw/src/v2/content.gen.ts b/packages_generated/vpcgw/src/v2/content.gen.ts index dac6b7029..1a02cadc5 100644 --- a/packages_generated/vpcgw/src/v2/content.gen.ts +++ b/packages_generated/vpcgw/src/v2/content.gen.ts @@ -1,6 +1,6 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -import type { GatewayNetworkStatus, GatewayStatus } from './types.gen' +import type { GatewayNetworkStatus, GatewayStatus } from './types.gen.js' /** Lists transient statutes of the enum {@link GatewayNetworkStatus}. */ export const GATEWAY_NETWORK_TRANSIENT_STATUSES: GatewayNetworkStatus[] = [ diff --git a/packages_generated/vpcgw/src/v2/index.gen.ts b/packages_generated/vpcgw/src/v2/index.gen.ts index 999dd5566..8aee63ae9 100644 --- a/packages_generated/vpcgw/src/v2/index.gen.ts +++ b/packages_generated/vpcgw/src/v2/index.gen.ts @@ -1,8 +1,8 @@ // This file was automatically generated. DO NOT EDIT. // If you have any remark or suggestion do not hesitate to open an issue. -export { API } from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +export { API } from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AddBastionAllowedIPsRequest, AddBastionAllowedIPsResponse, @@ -52,4 +52,4 @@ export type { UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest, -} from './types.gen' +} from './types.gen.js' diff --git a/packages_generated/vpcgw/src/v2/marshalling.gen.ts b/packages_generated/vpcgw/src/v2/marshalling.gen.ts index 1bccc1ca0..f6c958395 100644 --- a/packages_generated/vpcgw/src/v2/marshalling.gen.ts +++ b/packages_generated/vpcgw/src/v2/marshalling.gen.ts @@ -34,7 +34,7 @@ import type { UpdateIPRequest, UpdatePatRuleRequest, UpgradeGatewayRequest, -} from './types.gen' +} from './types.gen.js' export const unmarshalGatewayNetwork = (data: unknown): GatewayNetwork => { if (!isJSONObject(data)) { diff --git a/packages_generated/webhosting/src/index.gen.ts b/packages_generated/webhosting/src/index.gen.ts index 4c55be274..6fec88463 100644 --- a/packages_generated/webhosting/src/index.gen.ts +++ b/packages_generated/webhosting/src/index.gen.ts @@ -3,4 +3,4 @@ * PLEASE DO NOT EDIT HERE */ -export * as Webhostingv1 from './v1/index.gen' +export * as Webhostingv1 from './v1/index.gen.js' diff --git a/packages_generated/webhosting/src/v1/api.gen.ts b/packages_generated/webhosting/src/v1/api.gen.ts index 6f70343f0..0fee3d4ee 100644 --- a/packages_generated/webhosting/src/v1/api.gen.ts +++ b/packages_generated/webhosting/src/v1/api.gen.ts @@ -14,7 +14,7 @@ import { BACKUP_TRANSIENT_STATUSES as BACKUP_TRANSIENT_STATUSES_WEBHOSTING, DOMAIN_TRANSIENT_STATUSES as DOMAIN_TRANSIENT_STATUSES_WEBHOSTING, HOSTING_TRANSIENT_STATUSES as HOSTING_TRANSIENT_STATUSES_WEBHOSTING, -} from './content.gen' +} from './content.gen.js' import { marshalBackupApiRestoreBackupItemsRequest, marshalDatabaseApiAssignDatabaseUserRequest, @@ -62,7 +62,7 @@ import { unmarshalRestoreBackupResponse, unmarshalSearchDomainsResponse, unmarshalSession, -} from './marshalling.gen' +} from './marshalling.gen.js' import type { Backup, BackupApiGetBackupRequest, @@ -136,7 +136,7 @@ import type { SearchDomainsResponse, Session, WebsiteApiListWebsitesRequest, -} from './types.gen' +} from './types.gen.js' const jsonContentHeaders = { 'Content-Type': 'application/json; charset=utf-8', diff --git a/packages_generated/webhosting/src/v1/content.gen.ts b/packages_generated/webhosting/src/v1/content.gen.ts index f98399bec..f98f27138 100644 --- a/packages_generated/webhosting/src/v1/content.gen.ts +++ b/packages_generated/webhosting/src/v1/content.gen.ts @@ -5,7 +5,7 @@ import type { DomainAvailabilityStatus, DomainStatus, HostingStatus, -} from './types.gen' +} from './types.gen.js' /** Lists transient statutes of the enum {@link BackupStatus}. */ export const BACKUP_TRANSIENT_STATUSES: BackupStatus[] = ['restoring'] diff --git a/packages_generated/webhosting/src/v1/index.gen.ts b/packages_generated/webhosting/src/v1/index.gen.ts index c09415f93..c729cfb96 100644 --- a/packages_generated/webhosting/src/v1/index.gen.ts +++ b/packages_generated/webhosting/src/v1/index.gen.ts @@ -11,9 +11,9 @@ export { MailAccountAPI, OfferAPI, WebsiteAPI, -} from './api.gen' -export * from './content.gen' -export * from './marshalling.gen' +} from './api.gen.js' +export * from './content.gen.js' +export * from './marshalling.gen.js' export type { AutoConfigDomainDns, Backup, @@ -133,5 +133,5 @@ export type { SyncDomainDnsRecordsRequestRecord, Website, WebsiteApiListWebsitesRequest, -} from './types.gen' -export * as ValidationRules from './validation-rules.gen' +} from './types.gen.js' +export * as ValidationRules from './validation-rules.gen.js' diff --git a/packages_generated/webhosting/src/v1/marshalling.gen.ts b/packages_generated/webhosting/src/v1/marshalling.gen.ts index 8ecd185dc..4e5b04b3f 100644 --- a/packages_generated/webhosting/src/v1/marshalling.gen.ts +++ b/packages_generated/webhosting/src/v1/marshalling.gen.ts @@ -77,7 +77,7 @@ import type { Session, SyncDomainDnsRecordsRequestRecord, Website, -} from './types.gen' +} from './types.gen.js' export const unmarshalBackup = (data: unknown): Backup => { if (!isJSONObject(data)) { @@ -418,6 +418,7 @@ const unmarshalOffer = (data: unknown): Offer => { options: unmarshalArrayOfObject(data.options, unmarshalOfferOption), price: data.price ? unmarshalMoney(data.price) : undefined, quotaWarning: data.quota_warning, + region: data.region, } as Offer } diff --git a/packages_generated/webhosting/src/v1/types.gen.ts b/packages_generated/webhosting/src/v1/types.gen.ts index 69a751832..3a6291ccd 100644 --- a/packages_generated/webhosting/src/v1/types.gen.ts +++ b/packages_generated/webhosting/src/v1/types.gen.ts @@ -420,6 +420,10 @@ export interface Offer { * Defines a warning if the maximum value for an option in the offer is exceeded. */ quotaWarning: OfferOptionWarning + /** + * Region where the offer is hosted. + */ + region: ScwRegion } export interface Platform {