@scaleway/sdk 1.29.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/api/account/v2/marshalling.gen.js +1 -1
  2. package/dist/api/account/v3/marshalling.gen.js +1 -1
  3. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -1
  4. package/dist/api/cockpit/v1beta1/marshalling.gen.js +7 -3
  5. package/dist/api/container/v1beta1/marshalling.gen.js +1 -1
  6. package/dist/api/function/v1beta1/marshalling.gen.js +1 -1
  7. package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -1
  8. package/dist/api/instance/v1/api.gen.js +45 -3
  9. package/dist/api/instance/v1/marshalling.gen.js +31 -2
  10. package/dist/api/iot/v1/marshalling.gen.js +1 -1
  11. package/dist/api/ipfs/v1alpha1/api.gen.js +51 -1
  12. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +8 -7
  13. package/dist/api/k8s/v1/marshalling.gen.js +1 -1
  14. package/dist/api/lb/v1/marshalling.gen.js +1 -1
  15. package/dist/api/mnq/v1alpha1/marshalling.gen.js +1 -1
  16. package/dist/api/rdb/v1/marshalling.gen.js +1 -1
  17. package/dist/api/redis/v1/marshalling.gen.js +1 -1
  18. package/dist/api/registry/v1/marshalling.gen.js +1 -1
  19. package/dist/api/vpc/v1/marshalling.gen.js +1 -1
  20. package/dist/api/vpc/v2/marshalling.gen.js +1 -1
  21. package/dist/api/vpcgw/v1/marshalling.gen.js +1 -1
  22. package/dist/api/webhosting/v1alpha1/marshalling.gen.js +1 -0
  23. package/dist/index.cjs +132 -13
  24. package/dist/index.d.ts +175 -14
  25. package/dist/scw/constants.js +1 -1
  26. package/node_modules/@scaleway/random-name/CHANGELOG.md +11 -13
  27. package/node_modules/@scaleway/random-name/package.json +7 -7
  28. package/package.json +3 -3
  29. /package/dist/node_modules/.pnpm/{@scaleway_random-name@4.0.1 → @scaleway_random-name@4.0.2}/node_modules/@scaleway/random-name/dist/index.js +0 -0
package/dist/index.d.ts CHANGED
@@ -3126,10 +3126,14 @@ interface TokenScopes {
3126
3126
  queryLogs: boolean;
3127
3127
  /** Permission to write logs. */
3128
3128
  writeLogs: boolean;
3129
- /** Permission to setup logs rules. */
3129
+ /** Permission to set up logs rules. */
3130
3130
  setupLogsRules: boolean;
3131
- /** Permission to setup alerts. */
3131
+ /** Permission to set up alerts. */
3132
3132
  setupAlerts: boolean;
3133
+ /** Permission to fetch traces. */
3134
+ queryTraces: boolean;
3135
+ /** Permission to write traces. */
3136
+ writeTraces: boolean;
3133
3137
  }
3134
3138
  type ActivateCockpitRequest = {
3135
3139
  /** ID of the Project the Cockpit belongs to. */
@@ -9443,9 +9447,9 @@ type SnapshotState = 'available' | 'snapshotting' | 'error' | 'invalid_data' | '
9443
9447
  type SnapshotVolumeType = 'unknown_volume_type' | 'l_ssd' | 'b_ssd' | 'unified';
9444
9448
  type TaskStatus = 'pending' | 'started' | 'success' | 'failure' | 'retry';
9445
9449
  type VolumeServerState = 'available' | 'snapshotting' | 'error' | 'fetching' | 'resizing' | 'saving' | 'hotsyncing';
9446
- type VolumeServerVolumeType = 'l_ssd' | 'b_ssd';
9450
+ type VolumeServerVolumeType = 'l_ssd' | 'b_ssd' | 'sbs_volume' | 'scratch';
9447
9451
  type VolumeState = 'available' | 'snapshotting' | 'error' | 'fetching' | 'resizing' | 'saving' | 'hotsyncing';
9448
- type VolumeVolumeType = 'l_ssd' | 'b_ssd' | 'unified' | 'scratch';
9452
+ type VolumeVolumeType = 'l_ssd' | 'b_ssd' | 'unified' | 'scratch' | 'sbs_volume';
9449
9453
  /** Bootscript. */
9450
9454
  interface Bootscript {
9451
9455
  /** Bootscript arguments. */
@@ -9692,6 +9696,24 @@ interface ListVolumesTypesResponse {
9692
9696
  /** Map of volume types. */
9693
9697
  volumes: Record<string, VolumeType$1>;
9694
9698
  }
9699
+ /** Migration plan. */
9700
+ interface MigrationPlan {
9701
+ /**
9702
+ * A volume which will be migrated to SBS together with the snapshots, if
9703
+ * present.
9704
+ */
9705
+ volume?: Volume$2;
9706
+ /**
9707
+ * A list of snapshots which will be migrated to SBS together and with the
9708
+ * volume, if present.
9709
+ */
9710
+ snapshots: Snapshot$1[];
9711
+ /**
9712
+ * A value to be passed to ApplyBlockMigrationRequest, to confirm that the
9713
+ * execution of the plan is being requested.
9714
+ */
9715
+ validationKey: string;
9716
+ }
9695
9717
  /** Placement group. */
9696
9718
  interface PlacementGroup {
9697
9719
  /** Placement group unique ID. */
@@ -10283,6 +10305,8 @@ type ListServersRequest = {
10283
10305
  * them).
10284
10306
  */
10285
10307
  privateNetworks?: string[];
10308
+ /** List Instances associated with the given private NIC MAC address. */
10309
+ privateNicMacAddress?: string;
10286
10310
  };
10287
10311
  type DeleteServerRequest = {
10288
10312
  /** Zone to target. If none is passed will use default zone from the config. */
@@ -10826,6 +10850,11 @@ type ListIpsRequest = {
10826
10850
  perPage?: number;
10827
10851
  /** A positive integer to choose the page to return. */
10828
10852
  page?: number;
10853
+ /**
10854
+ * Filter on the IP Mobility IP type (whose value should be either 'nat',
10855
+ * 'routed_ipv4' or 'routed_ipv6').
10856
+ */
10857
+ type?: string;
10829
10858
  };
10830
10859
  type CreateIpRequest$1 = {
10831
10860
  /** Zone to target. If none is passed will use default zone from the config. */
@@ -10950,6 +10979,45 @@ type GetDashboardRequest = {
10950
10979
  organization?: string;
10951
10980
  project?: string;
10952
10981
  };
10982
+ type PlanBlockMigrationRequest = {
10983
+ /** Zone to target. If none is passed will use default zone from the config. */
10984
+ zone?: Zone;
10985
+ /**
10986
+ * The volume for which the migration plan will be generated.
10987
+ *
10988
+ * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
10989
+ */
10990
+ volumeId?: string;
10991
+ /**
10992
+ * The snapshot for which the migration plan will be generated.
10993
+ *
10994
+ * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
10995
+ */
10996
+ snapshotId?: string;
10997
+ };
10998
+ type ApplyBlockMigrationRequest = {
10999
+ /** Zone to target. If none is passed will use default zone from the config. */
11000
+ zone?: Zone;
11001
+ /**
11002
+ * The volume to migrate, along with potentially other resources, according to
11003
+ * the migration plan generated with a call to PlanBlockMigration.
11004
+ *
11005
+ * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
11006
+ */
11007
+ volumeId?: string;
11008
+ /**
11009
+ * The snapshot to migrate, along with potentially other resources, according
11010
+ * to the migration plan generated with a call to PlanBlockMigration.
11011
+ *
11012
+ * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
11013
+ */
11014
+ snapshotId?: string;
11015
+ /**
11016
+ * A value to be retrieved from a call to PlanBlockMigration, to confirm that
11017
+ * the volume and/or snapshots specified in said plan should be migrated.
11018
+ */
11019
+ validationKey: string;
11020
+ };
10953
11021
 
10954
11022
  /** Set image response. */
10955
11023
  interface SetImageResponse {
@@ -11684,6 +11752,28 @@ declare class API$h extends API$s {
11684
11752
  */
11685
11753
  getBootscript: (request: Readonly<GetBootscriptRequest>) => Promise<GetBootscriptResponse>;
11686
11754
  getDashboard: (request?: Readonly<GetDashboardRequest>) => Promise<GetDashboardResponse>;
11755
+ /**
11756
+ * Get a volume or snapshot's migration plan. Given a volume or snapshot,
11757
+ * returns the migration plan for a call to the RPC ApplyBlockMigration. This
11758
+ * plan will include zero or one volume, and zero or more snapshots, which
11759
+ * will need to be migrated together. This RPC does not perform the actual
11760
+ * migration itself, ApplyBlockMigration must be used. The validation_key
11761
+ * value returned by this call must be provided to the ApplyBlockMigration
11762
+ * call to confirm that all resources listed in the plan should be migrated.
11763
+ *
11764
+ * @param request - The request {@link PlanBlockMigrationRequest}
11765
+ * @returns A Promise of MigrationPlan
11766
+ */
11767
+ planBlockMigration: (request?: Readonly<PlanBlockMigrationRequest>) => Promise<MigrationPlan>;
11768
+ /**
11769
+ * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
11770
+ * used, this RPC must be preceded by a call to PlanBlockMigration. To migrate
11771
+ * all resources mentioned in the MigrationPlan, the validation_key returned
11772
+ * in the MigrationPlan must be provided.
11773
+ *
11774
+ * @param request - The request {@link ApplyBlockMigrationRequest}
11775
+ */
11776
+ applyBlockMigration: (request: Readonly<ApplyBlockMigrationRequest>) => Promise<void>;
11687
11777
  }
11688
11778
 
11689
11779
  type UpdateSnapshotRequest$1 = {
@@ -11925,6 +12015,7 @@ declare const VOLUME_SERVER_TRANSIENT_STATUSES: VolumeServerState[];
11925
12015
  /** Lists transient statutes of the enum {@link VolumeState}. */
11926
12016
  declare const VOLUME_TRANSIENT_STATUSES: VolumeState[];
11927
12017
 
12018
+ type index$i_ApplyBlockMigrationRequest = ApplyBlockMigrationRequest;
11928
12019
  type index$i_Arch = Arch;
11929
12020
  type index$i_AttachVolumeRequest = AttachVolumeRequest;
11930
12021
  type index$i_AttachVolumeResponse = AttachVolumeResponse;
@@ -12007,11 +12098,13 @@ type index$i_ListServersTypesRequest = ListServersTypesRequest;
12007
12098
  type index$i_ListServersTypesResponse = ListServersTypesResponse;
12008
12099
  type index$i_ListVolumesTypesRequest = ListVolumesTypesRequest;
12009
12100
  type index$i_ListVolumesTypesResponse = ListVolumesTypesResponse;
12101
+ type index$i_MigrationPlan = MigrationPlan;
12010
12102
  declare const index$i_PRIVATE_NIC_TRANSIENT_STATUSES: typeof PRIVATE_NIC_TRANSIENT_STATUSES;
12011
12103
  type index$i_PlacementGroup = PlacementGroup;
12012
12104
  type index$i_PlacementGroupPolicyMode = PlacementGroupPolicyMode;
12013
12105
  type index$i_PlacementGroupPolicyType = PlacementGroupPolicyType;
12014
12106
  type index$i_PlacementGroupServer = PlacementGroupServer;
12107
+ type index$i_PlanBlockMigrationRequest = PlanBlockMigrationRequest;
12015
12108
  type index$i_PrivateNIC = PrivateNIC;
12016
12109
  type index$i_PrivateNICState = PrivateNICState;
12017
12110
  declare const index$i_SECURITY_GROUP_TRANSIENT_STATUSES: typeof SECURITY_GROUP_TRANSIENT_STATUSES;
@@ -12087,7 +12180,7 @@ type index$i_VolumeTypeCapabilities = VolumeTypeCapabilities;
12087
12180
  type index$i_VolumeTypeConstraints = VolumeTypeConstraints;
12088
12181
  type index$i_VolumeVolumeType = VolumeVolumeType;
12089
12182
  declare namespace index$i {
12090
- export { InstanceV1UtilsAPI as API, type index$i_Arch as Arch, type index$i_AttachVolumeRequest as AttachVolumeRequest, type index$i_AttachVolumeResponse as AttachVolumeResponse, type index$i_BootType as BootType, type index$i_Bootscript as Bootscript, type index$i_CreateImageRequest as CreateImageRequest, type index$i_CreateImageResponse as CreateImageResponse, type CreateIpRequest$1 as CreateIpRequest, type index$i_CreateIpResponse as CreateIpResponse, type index$i_CreatePlacementGroupRequest as CreatePlacementGroupRequest, type index$i_CreatePlacementGroupResponse as CreatePlacementGroupResponse, type index$i_CreatePrivateNICRequest as CreatePrivateNICRequest, type index$i_CreatePrivateNICResponse as CreatePrivateNICResponse, type index$i_CreateSecurityGroupRequest as CreateSecurityGroupRequest, type index$i_CreateSecurityGroupResponse as CreateSecurityGroupResponse, type index$i_CreateSecurityGroupRuleRequest as CreateSecurityGroupRuleRequest, type index$i_CreateSecurityGroupRuleResponse as CreateSecurityGroupRuleResponse, type index$i_CreateServerRequest as CreateServerRequest, type index$i_CreateServerResponse as CreateServerResponse, type CreateSnapshotRequest$1 as CreateSnapshotRequest, type index$i_CreateSnapshotResponse as CreateSnapshotResponse, type CreateVolumeRequest$1 as CreateVolumeRequest, type index$i_CreateVolumeResponse as CreateVolumeResponse, type index$i_Dashboard as Dashboard, type DeleteImageRequest$1 as DeleteImageRequest, type index$i_DeleteIpRequest as DeleteIpRequest, type index$i_DeletePlacementGroupRequest as DeletePlacementGroupRequest, type index$i_DeletePrivateNICRequest as DeletePrivateNICRequest, type index$i_DeleteSecurityGroupRequest as DeleteSecurityGroupRequest, type index$i_DeleteSecurityGroupRuleRequest as DeleteSecurityGroupRuleRequest, type index$i_DeleteServerRequest as DeleteServerRequest, type index$i_DeleteServerUserDataRequest as DeleteServerUserDataRequest, type DeleteSnapshotRequest$1 as DeleteSnapshotRequest, type DeleteVolumeRequest$1 as DeleteVolumeRequest, type index$i_DetachVolumeRequest as DetachVolumeRequest, type index$i_DetachVolumeResponse as DetachVolumeResponse, type index$i_ExportSnapshotRequest as ExportSnapshotRequest, type index$i_ExportSnapshotResponse as ExportSnapshotResponse, type index$i_GetBootscriptRequest as GetBootscriptRequest, type index$i_GetBootscriptResponse as GetBootscriptResponse, type index$i_GetDashboardRequest as GetDashboardRequest, type index$i_GetDashboardResponse as GetDashboardResponse, type GetImageRequest$3 as GetImageRequest, type GetImageResponse$1 as GetImageResponse, type GetIpRequest$1 as GetIpRequest, type index$i_GetIpResponse as GetIpResponse, type index$i_GetPlacementGroupRequest as GetPlacementGroupRequest, type index$i_GetPlacementGroupResponse as GetPlacementGroupResponse, type index$i_GetPlacementGroupServersRequest as GetPlacementGroupServersRequest, type index$i_GetPlacementGroupServersResponse as GetPlacementGroupServersResponse, type index$i_GetPrivateNICRequest as GetPrivateNICRequest, type index$i_GetPrivateNICResponse as GetPrivateNICResponse, type index$i_GetSecurityGroupRequest as GetSecurityGroupRequest, type index$i_GetSecurityGroupResponse as GetSecurityGroupResponse, type index$i_GetSecurityGroupRuleRequest as GetSecurityGroupRuleRequest, type index$i_GetSecurityGroupRuleResponse as GetSecurityGroupRuleResponse, type index$i_GetServerRequest as GetServerRequest, type index$i_GetServerResponse as GetServerResponse, type index$i_GetServerTypesAvailabilityRequest as GetServerTypesAvailabilityRequest, type index$i_GetServerTypesAvailabilityResponse as GetServerTypesAvailabilityResponse, type index$i_GetServerTypesAvailabilityResponseAvailability as GetServerTypesAvailabilityResponseAvailability, type index$i_GetServerUserDataRequest as GetServerUserDataRequest, type GetSnapshotRequest$1 as GetSnapshotRequest, type index$i_GetSnapshotResponse as GetSnapshotResponse, type GetVolumeRequest$1 as GetVolumeRequest, type index$i_GetVolumeResponse as GetVolumeResponse, IMAGE_TRANSIENT_STATUSES$1 as IMAGE_TRANSIENT_STATUSES, index$i_IP_TRANSIENT_STATUSES as IP_TRANSIENT_STATUSES, type Image$3 as Image, type index$i_ImageState as ImageState, type Ip$1 as Ip, type index$i_IpState as IpState, type index$i_IpType as IpType, type index$i_ListBootscriptsRequest as ListBootscriptsRequest, type index$i_ListBootscriptsResponse as ListBootscriptsResponse, type index$i_ListDefaultSecurityGroupRulesRequest as ListDefaultSecurityGroupRulesRequest, type ListImagesRequest$3 as ListImagesRequest, type ListImagesResponse$3 as ListImagesResponse, type index$i_ListIpsRequest as ListIpsRequest, type ListIpsResponse$1 as ListIpsResponse, type index$i_ListPlacementGroupsRequest as ListPlacementGroupsRequest, type index$i_ListPlacementGroupsResponse as ListPlacementGroupsResponse, type index$i_ListPrivateNICsRequest as ListPrivateNICsRequest, type index$i_ListPrivateNICsResponse as ListPrivateNICsResponse, type index$i_ListSecurityGroupRulesRequest as ListSecurityGroupRulesRequest, type index$i_ListSecurityGroupRulesResponse as ListSecurityGroupRulesResponse, type index$i_ListSecurityGroupsRequest as ListSecurityGroupsRequest, type index$i_ListSecurityGroupsResponse as ListSecurityGroupsResponse, type index$i_ListServerActionsRequest as ListServerActionsRequest, type index$i_ListServerActionsResponse as ListServerActionsResponse, type index$i_ListServerUserDataRequest as ListServerUserDataRequest, type index$i_ListServerUserDataResponse as ListServerUserDataResponse, type index$i_ListServersRequest as ListServersRequest, type index$i_ListServersRequestOrder as ListServersRequestOrder, type index$i_ListServersResponse as ListServersResponse, type index$i_ListServersTypesRequest as ListServersTypesRequest, type index$i_ListServersTypesResponse as ListServersTypesResponse, type ListSnapshotsRequest$1 as ListSnapshotsRequest, type ListSnapshotsResponse$1 as ListSnapshotsResponse, type ListVolumesRequest$1 as ListVolumesRequest, type ListVolumesResponse$1 as ListVolumesResponse, type index$i_ListVolumesTypesRequest as ListVolumesTypesRequest, type index$i_ListVolumesTypesResponse as ListVolumesTypesResponse, index$i_PRIVATE_NIC_TRANSIENT_STATUSES as PRIVATE_NIC_TRANSIENT_STATUSES, type index$i_PlacementGroup as PlacementGroup, type index$i_PlacementGroupPolicyMode as PlacementGroupPolicyMode, type index$i_PlacementGroupPolicyType as PlacementGroupPolicyType, type index$i_PlacementGroupServer as PlacementGroupServer, type index$i_PrivateNIC as PrivateNIC, type index$i_PrivateNICState as PrivateNICState, index$i_SECURITY_GROUP_TRANSIENT_STATUSES as SECURITY_GROUP_TRANSIENT_STATUSES, index$i_SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES$1 as SNAPSHOT_TRANSIENT_STATUSES, type index$i_SecurityGroup as SecurityGroup, type index$i_SecurityGroupPolicy as SecurityGroupPolicy, type index$i_SecurityGroupRule as SecurityGroupRule, type index$i_SecurityGroupRuleAction as SecurityGroupRuleAction, type index$i_SecurityGroupRuleDirection as SecurityGroupRuleDirection, type index$i_SecurityGroupRuleProtocol as SecurityGroupRuleProtocol, type index$i_SecurityGroupState as SecurityGroupState, type index$i_SecurityGroupSummary as SecurityGroupSummary, type index$i_SecurityGroupTemplate as SecurityGroupTemplate, type index$i_Server as Server, type index$i_ServerAction as ServerAction, type index$i_ServerActionRequest as ServerActionRequest, type index$i_ServerActionRequestVolumeBackupTemplate as ServerActionRequestVolumeBackupTemplate, type index$i_ServerActionResponse as ServerActionResponse, type index$i_ServerIp as ServerIp, type index$i_ServerIpIpFamily as ServerIpIpFamily, type index$i_ServerIpProvisioningMode as ServerIpProvisioningMode, type index$i_ServerIpv6 as ServerIpv6, type index$i_ServerLocation as ServerLocation, type index$i_ServerMaintenance as ServerMaintenance, type index$i_ServerState as ServerState, type index$i_ServerSummary as ServerSummary, type index$i_ServerType as ServerType, type index$i_ServerTypeCapabilities as ServerTypeCapabilities, type index$i_ServerTypeNetwork as ServerTypeNetwork, type index$i_ServerTypeNetworkInterface as ServerTypeNetworkInterface, type index$i_ServerTypeVolumeConstraintSizes as ServerTypeVolumeConstraintSizes, type index$i_ServerTypeVolumeConstraintsByType as ServerTypeVolumeConstraintsByType, type index$i_ServerTypesAvailability as ServerTypesAvailability, type index$i_SetPlacementGroupRequest as SetPlacementGroupRequest, type index$i_SetPlacementGroupResponse as SetPlacementGroupResponse, type index$i_SetPlacementGroupServersRequest as SetPlacementGroupServersRequest, type index$i_SetPlacementGroupServersResponse as SetPlacementGroupServersResponse, type index$i_SetSecurityGroupRulesRequest as SetSecurityGroupRulesRequest, type index$i_SetSecurityGroupRulesRequestRule as SetSecurityGroupRulesRequestRule, type index$i_SetSecurityGroupRulesResponse as SetSecurityGroupRulesResponse, type index$i_SetServerUserDataRequest as SetServerUserDataRequest, type Snapshot$1 as Snapshot, type index$i_SnapshotBaseVolume as SnapshotBaseVolume, type index$i_SnapshotState as SnapshotState, type index$i_SnapshotVolumeType as SnapshotVolumeType, index$i_TASK_TRANSIENT_STATUSES as TASK_TRANSIENT_STATUSES, type index$i_Task as Task, type index$i_TaskStatus as TaskStatus, type UpdateImageRequest$1 as UpdateImageRequest, type index$i_UpdateImageResponse as UpdateImageResponse, type UpdateIpRequest$1 as UpdateIpRequest, type index$i_UpdateIpResponse as UpdateIpResponse, type index$i_UpdatePlacementGroupRequest as UpdatePlacementGroupRequest, type index$i_UpdatePlacementGroupResponse as UpdatePlacementGroupResponse, type index$i_UpdatePlacementGroupServersRequest as UpdatePlacementGroupServersRequest, type index$i_UpdatePlacementGroupServersResponse as UpdatePlacementGroupServersResponse, type index$i_UpdatePrivateNICRequest as UpdatePrivateNICRequest, type index$i_UpdateSecurityGroupRequest as UpdateSecurityGroupRequest, type index$i_UpdateSecurityGroupResponse as UpdateSecurityGroupResponse, type index$i_UpdateSecurityGroupRuleRequest as UpdateSecurityGroupRuleRequest, type index$i_UpdateSecurityGroupRuleResponse as UpdateSecurityGroupRuleResponse, type index$i_UpdateServerRequest as UpdateServerRequest, type index$i_UpdateServerResponse as UpdateServerResponse, type UpdateSnapshotRequest$1 as UpdateSnapshotRequest, type index$i_UpdateSnapshotResponse as UpdateSnapshotResponse, type UpdateVolumeRequest$1 as UpdateVolumeRequest, type index$i_UpdateVolumeResponse as UpdateVolumeResponse, index$i_VOLUME_SERVER_TRANSIENT_STATUSES as VOLUME_SERVER_TRANSIENT_STATUSES, index$i_VOLUME_TRANSIENT_STATUSES as VOLUME_TRANSIENT_STATUSES, type Volume$2 as Volume, type index$i_VolumeServer as VolumeServer, type index$i_VolumeServerState as VolumeServerState, type index$i_VolumeServerTemplate as VolumeServerTemplate, type index$i_VolumeServerVolumeType as VolumeServerVolumeType, type index$i_VolumeState as VolumeState, type index$i_VolumeSummary as VolumeSummary, type index$i_VolumeTemplate as VolumeTemplate, type VolumeType$1 as VolumeType, type index$i_VolumeTypeCapabilities as VolumeTypeCapabilities, type index$i_VolumeTypeConstraints as VolumeTypeConstraints, type index$i_VolumeVolumeType as VolumeVolumeType };
12183
+ export { InstanceV1UtilsAPI as API, type index$i_ApplyBlockMigrationRequest as ApplyBlockMigrationRequest, type index$i_Arch as Arch, type index$i_AttachVolumeRequest as AttachVolumeRequest, type index$i_AttachVolumeResponse as AttachVolumeResponse, type index$i_BootType as BootType, type index$i_Bootscript as Bootscript, type index$i_CreateImageRequest as CreateImageRequest, type index$i_CreateImageResponse as CreateImageResponse, type CreateIpRequest$1 as CreateIpRequest, type index$i_CreateIpResponse as CreateIpResponse, type index$i_CreatePlacementGroupRequest as CreatePlacementGroupRequest, type index$i_CreatePlacementGroupResponse as CreatePlacementGroupResponse, type index$i_CreatePrivateNICRequest as CreatePrivateNICRequest, type index$i_CreatePrivateNICResponse as CreatePrivateNICResponse, type index$i_CreateSecurityGroupRequest as CreateSecurityGroupRequest, type index$i_CreateSecurityGroupResponse as CreateSecurityGroupResponse, type index$i_CreateSecurityGroupRuleRequest as CreateSecurityGroupRuleRequest, type index$i_CreateSecurityGroupRuleResponse as CreateSecurityGroupRuleResponse, type index$i_CreateServerRequest as CreateServerRequest, type index$i_CreateServerResponse as CreateServerResponse, type CreateSnapshotRequest$1 as CreateSnapshotRequest, type index$i_CreateSnapshotResponse as CreateSnapshotResponse, type CreateVolumeRequest$1 as CreateVolumeRequest, type index$i_CreateVolumeResponse as CreateVolumeResponse, type index$i_Dashboard as Dashboard, type DeleteImageRequest$1 as DeleteImageRequest, type index$i_DeleteIpRequest as DeleteIpRequest, type index$i_DeletePlacementGroupRequest as DeletePlacementGroupRequest, type index$i_DeletePrivateNICRequest as DeletePrivateNICRequest, type index$i_DeleteSecurityGroupRequest as DeleteSecurityGroupRequest, type index$i_DeleteSecurityGroupRuleRequest as DeleteSecurityGroupRuleRequest, type index$i_DeleteServerRequest as DeleteServerRequest, type index$i_DeleteServerUserDataRequest as DeleteServerUserDataRequest, type DeleteSnapshotRequest$1 as DeleteSnapshotRequest, type DeleteVolumeRequest$1 as DeleteVolumeRequest, type index$i_DetachVolumeRequest as DetachVolumeRequest, type index$i_DetachVolumeResponse as DetachVolumeResponse, type index$i_ExportSnapshotRequest as ExportSnapshotRequest, type index$i_ExportSnapshotResponse as ExportSnapshotResponse, type index$i_GetBootscriptRequest as GetBootscriptRequest, type index$i_GetBootscriptResponse as GetBootscriptResponse, type index$i_GetDashboardRequest as GetDashboardRequest, type index$i_GetDashboardResponse as GetDashboardResponse, type GetImageRequest$3 as GetImageRequest, type GetImageResponse$1 as GetImageResponse, type GetIpRequest$1 as GetIpRequest, type index$i_GetIpResponse as GetIpResponse, type index$i_GetPlacementGroupRequest as GetPlacementGroupRequest, type index$i_GetPlacementGroupResponse as GetPlacementGroupResponse, type index$i_GetPlacementGroupServersRequest as GetPlacementGroupServersRequest, type index$i_GetPlacementGroupServersResponse as GetPlacementGroupServersResponse, type index$i_GetPrivateNICRequest as GetPrivateNICRequest, type index$i_GetPrivateNICResponse as GetPrivateNICResponse, type index$i_GetSecurityGroupRequest as GetSecurityGroupRequest, type index$i_GetSecurityGroupResponse as GetSecurityGroupResponse, type index$i_GetSecurityGroupRuleRequest as GetSecurityGroupRuleRequest, type index$i_GetSecurityGroupRuleResponse as GetSecurityGroupRuleResponse, type index$i_GetServerRequest as GetServerRequest, type index$i_GetServerResponse as GetServerResponse, type index$i_GetServerTypesAvailabilityRequest as GetServerTypesAvailabilityRequest, type index$i_GetServerTypesAvailabilityResponse as GetServerTypesAvailabilityResponse, type index$i_GetServerTypesAvailabilityResponseAvailability as GetServerTypesAvailabilityResponseAvailability, type index$i_GetServerUserDataRequest as GetServerUserDataRequest, type GetSnapshotRequest$1 as GetSnapshotRequest, type index$i_GetSnapshotResponse as GetSnapshotResponse, type GetVolumeRequest$1 as GetVolumeRequest, type index$i_GetVolumeResponse as GetVolumeResponse, IMAGE_TRANSIENT_STATUSES$1 as IMAGE_TRANSIENT_STATUSES, index$i_IP_TRANSIENT_STATUSES as IP_TRANSIENT_STATUSES, type Image$3 as Image, type index$i_ImageState as ImageState, type Ip$1 as Ip, type index$i_IpState as IpState, type index$i_IpType as IpType, type index$i_ListBootscriptsRequest as ListBootscriptsRequest, type index$i_ListBootscriptsResponse as ListBootscriptsResponse, type index$i_ListDefaultSecurityGroupRulesRequest as ListDefaultSecurityGroupRulesRequest, type ListImagesRequest$3 as ListImagesRequest, type ListImagesResponse$3 as ListImagesResponse, type index$i_ListIpsRequest as ListIpsRequest, type ListIpsResponse$1 as ListIpsResponse, type index$i_ListPlacementGroupsRequest as ListPlacementGroupsRequest, type index$i_ListPlacementGroupsResponse as ListPlacementGroupsResponse, type index$i_ListPrivateNICsRequest as ListPrivateNICsRequest, type index$i_ListPrivateNICsResponse as ListPrivateNICsResponse, type index$i_ListSecurityGroupRulesRequest as ListSecurityGroupRulesRequest, type index$i_ListSecurityGroupRulesResponse as ListSecurityGroupRulesResponse, type index$i_ListSecurityGroupsRequest as ListSecurityGroupsRequest, type index$i_ListSecurityGroupsResponse as ListSecurityGroupsResponse, type index$i_ListServerActionsRequest as ListServerActionsRequest, type index$i_ListServerActionsResponse as ListServerActionsResponse, type index$i_ListServerUserDataRequest as ListServerUserDataRequest, type index$i_ListServerUserDataResponse as ListServerUserDataResponse, type index$i_ListServersRequest as ListServersRequest, type index$i_ListServersRequestOrder as ListServersRequestOrder, type index$i_ListServersResponse as ListServersResponse, type index$i_ListServersTypesRequest as ListServersTypesRequest, type index$i_ListServersTypesResponse as ListServersTypesResponse, type ListSnapshotsRequest$1 as ListSnapshotsRequest, type ListSnapshotsResponse$1 as ListSnapshotsResponse, type ListVolumesRequest$1 as ListVolumesRequest, type ListVolumesResponse$1 as ListVolumesResponse, type index$i_ListVolumesTypesRequest as ListVolumesTypesRequest, type index$i_ListVolumesTypesResponse as ListVolumesTypesResponse, type index$i_MigrationPlan as MigrationPlan, index$i_PRIVATE_NIC_TRANSIENT_STATUSES as PRIVATE_NIC_TRANSIENT_STATUSES, type index$i_PlacementGroup as PlacementGroup, type index$i_PlacementGroupPolicyMode as PlacementGroupPolicyMode, type index$i_PlacementGroupPolicyType as PlacementGroupPolicyType, type index$i_PlacementGroupServer as PlacementGroupServer, type index$i_PlanBlockMigrationRequest as PlanBlockMigrationRequest, type index$i_PrivateNIC as PrivateNIC, type index$i_PrivateNICState as PrivateNICState, index$i_SECURITY_GROUP_TRANSIENT_STATUSES as SECURITY_GROUP_TRANSIENT_STATUSES, index$i_SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES$1 as SNAPSHOT_TRANSIENT_STATUSES, type index$i_SecurityGroup as SecurityGroup, type index$i_SecurityGroupPolicy as SecurityGroupPolicy, type index$i_SecurityGroupRule as SecurityGroupRule, type index$i_SecurityGroupRuleAction as SecurityGroupRuleAction, type index$i_SecurityGroupRuleDirection as SecurityGroupRuleDirection, type index$i_SecurityGroupRuleProtocol as SecurityGroupRuleProtocol, type index$i_SecurityGroupState as SecurityGroupState, type index$i_SecurityGroupSummary as SecurityGroupSummary, type index$i_SecurityGroupTemplate as SecurityGroupTemplate, type index$i_Server as Server, type index$i_ServerAction as ServerAction, type index$i_ServerActionRequest as ServerActionRequest, type index$i_ServerActionRequestVolumeBackupTemplate as ServerActionRequestVolumeBackupTemplate, type index$i_ServerActionResponse as ServerActionResponse, type index$i_ServerIp as ServerIp, type index$i_ServerIpIpFamily as ServerIpIpFamily, type index$i_ServerIpProvisioningMode as ServerIpProvisioningMode, type index$i_ServerIpv6 as ServerIpv6, type index$i_ServerLocation as ServerLocation, type index$i_ServerMaintenance as ServerMaintenance, type index$i_ServerState as ServerState, type index$i_ServerSummary as ServerSummary, type index$i_ServerType as ServerType, type index$i_ServerTypeCapabilities as ServerTypeCapabilities, type index$i_ServerTypeNetwork as ServerTypeNetwork, type index$i_ServerTypeNetworkInterface as ServerTypeNetworkInterface, type index$i_ServerTypeVolumeConstraintSizes as ServerTypeVolumeConstraintSizes, type index$i_ServerTypeVolumeConstraintsByType as ServerTypeVolumeConstraintsByType, type index$i_ServerTypesAvailability as ServerTypesAvailability, type index$i_SetPlacementGroupRequest as SetPlacementGroupRequest, type index$i_SetPlacementGroupResponse as SetPlacementGroupResponse, type index$i_SetPlacementGroupServersRequest as SetPlacementGroupServersRequest, type index$i_SetPlacementGroupServersResponse as SetPlacementGroupServersResponse, type index$i_SetSecurityGroupRulesRequest as SetSecurityGroupRulesRequest, type index$i_SetSecurityGroupRulesRequestRule as SetSecurityGroupRulesRequestRule, type index$i_SetSecurityGroupRulesResponse as SetSecurityGroupRulesResponse, type index$i_SetServerUserDataRequest as SetServerUserDataRequest, type Snapshot$1 as Snapshot, type index$i_SnapshotBaseVolume as SnapshotBaseVolume, type index$i_SnapshotState as SnapshotState, type index$i_SnapshotVolumeType as SnapshotVolumeType, index$i_TASK_TRANSIENT_STATUSES as TASK_TRANSIENT_STATUSES, type index$i_Task as Task, type index$i_TaskStatus as TaskStatus, type UpdateImageRequest$1 as UpdateImageRequest, type index$i_UpdateImageResponse as UpdateImageResponse, type UpdateIpRequest$1 as UpdateIpRequest, type index$i_UpdateIpResponse as UpdateIpResponse, type index$i_UpdatePlacementGroupRequest as UpdatePlacementGroupRequest, type index$i_UpdatePlacementGroupResponse as UpdatePlacementGroupResponse, type index$i_UpdatePlacementGroupServersRequest as UpdatePlacementGroupServersRequest, type index$i_UpdatePlacementGroupServersResponse as UpdatePlacementGroupServersResponse, type index$i_UpdatePrivateNICRequest as UpdatePrivateNICRequest, type index$i_UpdateSecurityGroupRequest as UpdateSecurityGroupRequest, type index$i_UpdateSecurityGroupResponse as UpdateSecurityGroupResponse, type index$i_UpdateSecurityGroupRuleRequest as UpdateSecurityGroupRuleRequest, type index$i_UpdateSecurityGroupRuleResponse as UpdateSecurityGroupRuleResponse, type index$i_UpdateServerRequest as UpdateServerRequest, type index$i_UpdateServerResponse as UpdateServerResponse, type UpdateSnapshotRequest$1 as UpdateSnapshotRequest, type index$i_UpdateSnapshotResponse as UpdateSnapshotResponse, type UpdateVolumeRequest$1 as UpdateVolumeRequest, type index$i_UpdateVolumeResponse as UpdateVolumeResponse, index$i_VOLUME_SERVER_TRANSIENT_STATUSES as VOLUME_SERVER_TRANSIENT_STATUSES, index$i_VOLUME_TRANSIENT_STATUSES as VOLUME_TRANSIENT_STATUSES, type Volume$2 as Volume, type index$i_VolumeServer as VolumeServer, type index$i_VolumeServerState as VolumeServerState, type index$i_VolumeServerTemplate as VolumeServerTemplate, type index$i_VolumeServerVolumeType as VolumeServerVolumeType, type index$i_VolumeState as VolumeState, type index$i_VolumeSummary as VolumeSummary, type index$i_VolumeTemplate as VolumeTemplate, type VolumeType$1 as VolumeType, type index$i_VolumeTypeCapabilities as VolumeTypeCapabilities, type index$i_VolumeTypeConstraints as VolumeTypeConstraints, type index$i_VolumeVolumeType as VolumeVolumeType };
12091
12184
  }
12092
12185
 
12093
12186
  declare namespace index$h {
@@ -13487,8 +13580,8 @@ interface Name {
13487
13580
  tags: string[];
13488
13581
  name: string;
13489
13582
  key: string;
13490
- cid: string;
13491
13583
  status: NameStatus;
13584
+ value: string;
13492
13585
  }
13493
13586
  interface Pin {
13494
13587
  pinId: string;
@@ -13654,7 +13747,7 @@ type CreateNameRequest = {
13654
13747
  region?: Region;
13655
13748
  projectId?: string;
13656
13749
  name: string;
13657
- cid: string;
13750
+ value: string;
13658
13751
  };
13659
13752
  type GetNameRequest = {
13660
13753
  /**
@@ -13693,7 +13786,7 @@ type UpdateNameRequest = {
13693
13786
  nameId: string;
13694
13787
  name?: string;
13695
13788
  tags?: string[];
13696
- cid?: string;
13789
+ value?: string;
13697
13790
  };
13698
13791
  type ExportKeyNameRequest = {
13699
13792
  /**
@@ -13712,6 +13805,7 @@ type ImportKeyNameRequest = {
13712
13805
  projectId?: string;
13713
13806
  name: string;
13714
13807
  privateKey: string;
13808
+ value: string;
13715
13809
  };
13716
13810
 
13717
13811
  /** IPFS Pinning service API. */
@@ -13809,7 +13903,7 @@ declare class API$f extends API$s {
13809
13903
  waitForPin: (request: Readonly<GetPinRequest>, options?: Readonly<WaitForOptions<Pin>>) => Promise<Pin>;
13810
13904
  protected pageOfListPins: (request: Readonly<ListPinsRequest>) => Promise<ListPinsResponse>;
13811
13905
  /**
13812
- * List all pins within a volume. Retrieve information about all pins into a
13906
+ * List all pins within a volume. Retrieve information about all pins within a
13813
13907
  * volume.
13814
13908
  *
13815
13909
  * @param request - The request {@link ListPinsRequest}
@@ -13827,7 +13921,20 @@ declare class API$f extends API$s {
13827
13921
  * @param request - The request {@link DeletePinRequest}
13828
13922
  */
13829
13923
  deletePin: (request: Readonly<DeletePinRequest>) => Promise<void>;
13924
+ /**
13925
+ * Create a new name. You can use the `ipfs key` command to list and generate
13926
+ * more names and their respective keys.
13927
+ *
13928
+ * @param request - The request {@link CreateNameRequest}
13929
+ * @returns A Promise of Name
13930
+ */
13830
13931
  createName: (request: Readonly<CreateNameRequest>) => Promise<Name>;
13932
+ /**
13933
+ * Get information about a name. Retrieve information about a specific name.
13934
+ *
13935
+ * @param request - The request {@link GetNameRequest}
13936
+ * @returns A Promise of Name
13937
+ */
13831
13938
  getName: (request: Readonly<GetNameRequest>) => Promise<Name>;
13832
13939
  /**
13833
13940
  * Waits for {@link Name} to be in a final state.
@@ -13837,14 +13944,44 @@ declare class API$f extends API$s {
13837
13944
  * @returns A Promise of Name
13838
13945
  */
13839
13946
  waitForName: (request: Readonly<GetNameRequest>, options?: Readonly<WaitForOptions<Name>>) => Promise<Name>;
13947
+ /**
13948
+ * Delete an existing name. Delete a name by its ID.
13949
+ *
13950
+ * @param request - The request {@link DeleteNameRequest}
13951
+ */
13840
13952
  deleteName: (request: Readonly<DeleteNameRequest>) => Promise<void>;
13841
13953
  protected pageOfListNames: (request?: Readonly<ListNamesRequest>) => Promise<ListNamesResponse>;
13954
+ /**
13955
+ * List all names by a Project ID. Retrieve information about all names from a
13956
+ * Project ID.
13957
+ *
13958
+ * @param request - The request {@link ListNamesRequest}
13959
+ * @returns A Promise of ListNamesResponse
13960
+ */
13842
13961
  listNames: (request?: Readonly<ListNamesRequest>) => Promise<ListNamesResponse> & {
13843
13962
  all: () => Promise<Name[]>;
13844
13963
  [Symbol.asyncIterator]: () => AsyncGenerator<Name[], void, void>;
13845
13964
  };
13965
+ /**
13966
+ * Update name information. Update name information (CID, tag, name...).
13967
+ *
13968
+ * @param request - The request {@link UpdateNameRequest}
13969
+ * @returns A Promise of Name
13970
+ */
13846
13971
  updateName: (request: Readonly<UpdateNameRequest>) => Promise<Name>;
13972
+ /**
13973
+ * Export your private key. Export a private key by its ID.
13974
+ *
13975
+ * @param request - The request {@link ExportKeyNameRequest}
13976
+ * @returns A Promise of ExportKeyNameResponse
13977
+ */
13847
13978
  exportKeyName: (request: Readonly<ExportKeyNameRequest>) => Promise<ExportKeyNameResponse>;
13979
+ /**
13980
+ * Import your private key. Import a private key.
13981
+ *
13982
+ * @param request - The request {@link ImportKeyNameRequest}
13983
+ * @returns A Promise of Name
13984
+ */
13848
13985
  importKeyName: (request: Readonly<ImportKeyNameRequest>) => Promise<Name>;
13849
13986
  }
13850
13987
 
@@ -26321,12 +26458,16 @@ type CreateGatewayNetworkRequest = {
26321
26458
  gatewayId: string;
26322
26459
  /** Private Network to connect. */
26323
26460
  privateNetworkId: string;
26324
- /** Defines whether to enable masquerade (dynamic NAT) on this network. */
26461
+ /**
26462
+ * Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
26463
+ * Note: this setting is ignored when passing `ipam_config`.
26464
+ */
26325
26465
  enableMasquerade: boolean;
26326
26466
  /**
26327
26467
  * Defines whether to enable DHCP on this Private Network. Defaults to `true`
26328
26468
  * if either `dhcp_id` or `dhcp` are present. If set to `true`, either
26329
- * `dhcp_id` or `dhcp` must be present.
26469
+ * `dhcp_id` or `dhcp` must be present. Note: this setting is ignored when
26470
+ * passing `ipam_config`.
26330
26471
  */
26331
26472
  enableDhcp?: boolean;
26332
26473
  /**
@@ -26367,9 +26508,16 @@ type UpdateGatewayNetworkRequest = {
26367
26508
  zone?: Zone;
26368
26509
  /** ID of the GatewayNetwork to update. */
26369
26510
  gatewayNetworkId: string;
26370
- /** Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork. */
26511
+ /**
26512
+ * Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
26513
+ * Note: this setting is ignored when passing `ipam_config`.
26514
+ */
26371
26515
  enableMasquerade?: boolean;
26372
- /** Defines whether to enable DHCP on the connected Private Network. */
26516
+ /**
26517
+ * Defines whether to enable DHCP on this Private Network. Defaults to `true`
26518
+ * if `dhcp_id` is present. If set to `true`, `dhcp_id` must be present. Note:
26519
+ * this setting is ignored when passing `ipam_config`.
26520
+ */
26373
26521
  enableDhcp?: boolean;
26374
26522
  /**
26375
26523
  * ID of the new DHCP configuration object to use with this GatewayNetwork.
@@ -26386,7 +26534,11 @@ type UpdateGatewayNetworkRequest = {
26386
26534
  */
26387
26535
  address?: string;
26388
26536
  /**
26389
- * New IPAM configuration to use for this GatewayNetwork.
26537
+ * Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address
26538
+ * management service). Note: all or none of the GatewayNetworks for a single
26539
+ * gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed.
26540
+ * Some products may require that the Public Gateway uses the IPAM, to ensure
26541
+ * correct functionality.
26390
26542
  *
26391
26543
  * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
26392
26544
  * be set.
@@ -27339,13 +27491,22 @@ interface OfferProduct {
27339
27491
  name: string;
27340
27492
  /** Product option. */
27341
27493
  option: boolean;
27494
+ /** Limit number of email accounts. */
27342
27495
  emailAccountsQuota: number;
27496
+ /** Limit quantity of email storage in gigabytes. */
27343
27497
  emailStorageQuota: number;
27498
+ /** Limit number of databases. */
27344
27499
  databasesQuota: number;
27500
+ /** Limit quantity of hosting storage in gigabytes. */
27345
27501
  hostingStorageQuota: number;
27502
+ /** Whether or not support is included. */
27346
27503
  supportIncluded: boolean;
27504
+ /** Limit number of virtual CPU. */
27347
27505
  vCpu: number;
27506
+ /** Limit quantity of memory in gigabytes. */
27348
27507
  ram: number;
27508
+ /** Limit number of add-on domains. */
27509
+ maxAddonDomains: number;
27349
27510
  }
27350
27511
  type CreateHostingRequest = {
27351
27512
  /**
@@ -1,4 +1,4 @@
1
- const version = 'v1.28.0';
1
+ const version = 'v1.30.0';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
@@ -1,39 +1,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1380](https://github.com/scaleway/scaleway-lib/pull/1380) [`c0e0d51`](https://github.com/scaleway/scaleway-lib/commit/c0e0d5104680149f9b38ae509b17d14a66c4d733) Thanks [@QuiiBz](https://github.com/QuiiBz)! - Add `exports` field & fix package lint errors
8
+
3
9
  All notable changes to this project will be documented in this file.
4
10
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
11
 
6
12
  ## 4.0.1 (2023-01-13)
7
13
 
8
-
9
14
  ### :package: Chore
10
15
 
11
- * **release:** publish ([9d6de7b](https://github.com/scaleway/scaleway-lib/commit/9d6de7b63065f53774cb64b0e5a46a868dc9933a))
12
-
16
+ - **release:** publish ([9d6de7b](https://github.com/scaleway/scaleway-lib/commit/9d6de7b63065f53774cb64b0e5a46a868dc9933a))
13
17
 
14
18
  ### :bug: Bug Fixes
15
19
 
16
- * harden ts code ([#1158](https://github.com/scaleway/scaleway-lib/issues/1158)) ([7e2130e](https://github.com/scaleway/scaleway-lib/commit/7e2130ea4c2a079c69ec49b27444daa8f6076d03))
17
-
18
-
20
+ - harden ts code ([#1158](https://github.com/scaleway/scaleway-lib/issues/1158)) ([7e2130e](https://github.com/scaleway/scaleway-lib/commit/7e2130ea4c2a079c69ec49b27444daa8f6076d03))
19
21
 
20
22
  ## 4.0.0 (2023-01-06)
21
23
 
22
-
23
24
  ### ⚠ BREAKING CHANGES
24
25
 
25
- * packages are ESM only
26
+ - packages are ESM only
26
27
 
27
28
  ### :package: Chore
28
29
 
29
- * **release:** publish ([20c9d4f](https://github.com/scaleway/scaleway-lib/commit/20c9d4fb39822245252bf362bc7a8d26127e511d))
30
-
30
+ - **release:** publish ([20c9d4f](https://github.com/scaleway/scaleway-lib/commit/20c9d4fb39822245252bf362bc7a8d26127e511d))
31
31
 
32
32
  ### :gear: Features
33
33
 
34
- * publish packages as ESM only ([#1145](https://github.com/scaleway/scaleway-lib/issues/1145)) ([4c25097](https://github.com/scaleway/scaleway-lib/commit/4c25097254a5ba7f0a5dbb6fdf5d6578a75f777a))
35
-
36
-
34
+ - publish packages as ESM only ([#1145](https://github.com/scaleway/scaleway-lib/issues/1145)) ([4c25097](https://github.com/scaleway/scaleway-lib/commit/4c25097254a5ba7f0a5dbb6fdf5d6578a75f777a))
37
35
 
38
36
  ## 3.0.3 (2022-12-29)
39
37
 
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@scaleway/random-name",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "A small utility to generate a random name",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=14.x"
8
8
  },
9
9
  "sideEffects": false,
10
- "main": "dist/index.js",
11
- "module": "dist/index.js",
12
- "types": "dist/index.d.ts",
10
+ "exports": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
13
+ },
13
14
  "publishConfig": {
14
15
  "access": "public"
15
16
  },
@@ -18,6 +19,5 @@
18
19
  "url": "https://github.com/scaleway/scaleway-lib",
19
20
  "directory": "packages/random-name"
20
21
  },
21
- "license": "MIT",
22
- "gitHead": "4f0be52e1cf86895150e66c1206ee1e7fd7a72e7"
23
- }
22
+ "license": "MIT"
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "1.29.0",
3
+ "version": "1.31.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -30,10 +30,10 @@
30
30
  },
31
31
  "type": "module",
32
32
  "dependencies": {
33
- "@scaleway/random-name": "^4.0.1"
33
+ "@scaleway/random-name": "^4.0.2"
34
34
  },
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "e013092926ce4f0c69f7d59c040037584c1e422b"
38
+ "gitHead": "b7c2a612ee260de6c3424d22c5e9f9004d987934"
39
39
  }