Skip to content

Commit 4e44aa7

Browse files
authored
Merge branch 'main' into v1.7079.0
2 parents decc05a + 3b6457d commit 4e44aa7

File tree

7 files changed

+78
-5
lines changed

7 files changed

+78
-5
lines changed

packages_generated/dedibox/src/v1/marshalling.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,6 @@ export const marshalRpnV1ApiLeaveRpnGroupRequest = (
18161816
defaults: DefaultValues,
18171817
): Record<string, unknown> => ({
18181818
member_ids: request.memberIds,
1819-
project_id: request.projectId ?? defaults.defaultProjectId,
18201819
})
18211820

18221821
export const marshalRpnV1ApiRpnGroupInviteRequest = (

packages_generated/dedibox/src/v1/types.gen.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,10 +2907,6 @@ export type RpnV1ApiLeaveRpnGroupRequest = {
29072907
* The RPN V1 group ID.
29082908
*/
29092909
groupId: number
2910-
/**
2911-
* A project ID.
2912-
*/
2913-
projectId?: string
29142910
/**
29152911
* A collection of rpn v1 group members IDs.
29162912
*/

packages_generated/domain/src/v2beta1/api.gen.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
marshalRegistrarApiEnableDomainDNSSECRequest,
2727
marshalRegistrarApiRegisterExternalDomainRequest,
2828
marshalRegistrarApiRenewDomainsRequest,
29+
marshalRegistrarApiRetryInboundTransferRequest,
2930
marshalRegistrarApiTradeDomainRequest,
3031
marshalRegistrarApiTransferInDomainRequest,
3132
marshalRegistrarApiUpdateContactRequest,
@@ -65,6 +66,7 @@ import {
6566
unmarshalRefreshDNSZoneResponse,
6667
unmarshalRegisterExternalDomainResponse,
6768
unmarshalRestoreDNSZoneVersionResponse,
69+
unmarshalRetryInboundTransferResponse,
6870
unmarshalSearchAvailableDomainsResponse,
6971
unmarshalSSLCertificate,
7072
unmarshalUpdateDNSZoneNameserversResponse,
@@ -143,6 +145,7 @@ import type {
143145
RegistrarApiLockDomainTransferRequest,
144146
RegistrarApiRegisterExternalDomainRequest,
145147
RegistrarApiRenewDomainsRequest,
148+
RegistrarApiRetryInboundTransferRequest,
146149
RegistrarApiSearchAvailableDomainsRequest,
147150
RegistrarApiTradeDomainRequest,
148151
RegistrarApiTransferInDomainRequest,
@@ -152,6 +155,7 @@ import type {
152155
RegistrarApiUpdateDomainRequest,
153156
RestoreDNSZoneVersionRequest,
154157
RestoreDNSZoneVersionResponse,
158+
RetryInboundTransferResponse,
155159
SearchAvailableDomainsResponse,
156160
SSLCertificate,
157161
UpdateDNSZoneNameserversRequest,
@@ -764,6 +768,30 @@ You can filter the list of tasks by domain name.
764768
request,
765769
)
766770

771+
/**
772+
* Retry the inbound transfer of a domain. Request a retry for the transfer of a domain from another registrar to Scaleway Domains and DNS.
773+
*
774+
* @param request - The request {@link RegistrarApiRetryInboundTransferRequest}
775+
* @returns A Promise of RetryInboundTransferResponse
776+
*/
777+
retryInboundTransfer = (
778+
request: Readonly<RegistrarApiRetryInboundTransferRequest>,
779+
) =>
780+
this.client.fetch<RetryInboundTransferResponse>(
781+
{
782+
body: JSON.stringify(
783+
marshalRegistrarApiRetryInboundTransferRequest(
784+
request,
785+
this.client.settings,
786+
),
787+
),
788+
headers: jsonContentHeaders,
789+
method: 'POST',
790+
path: `/domain/v2beta1/retry-inbound-transfer`,
791+
},
792+
unmarshalRetryInboundTransferResponse,
793+
)
794+
767795
/**
768796
* Purchase domains. Request the registration of domain names.
769797
You can provide a domain's already existing contact or a new contact.

packages_generated/domain/src/v2beta1/marshalling.gen.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,15 @@ import type {
9595
RegistrarApiEnableDomainDNSSECRequest,
9696
RegistrarApiRegisterExternalDomainRequest,
9797
RegistrarApiRenewDomainsRequest,
98+
RegistrarApiRetryInboundTransferRequest,
9899
RegistrarApiTradeDomainRequest,
99100
RegistrarApiTransferInDomainRequest,
100101
RegistrarApiUpdateContactRequest,
101102
RegistrarApiUpdateDomainHostRequest,
102103
RegistrarApiUpdateDomainRequest,
103104
RenewableDomain,
104105
RestoreDNSZoneVersionResponse,
106+
RetryInboundTransferResponse,
105107
SearchAvailableDomainsResponse,
106108
SSLCertificate,
107109
Task,
@@ -1316,6 +1318,18 @@ export const unmarshalRestoreDNSZoneVersionResponse = (
13161318
return {} as RestoreDNSZoneVersionResponse
13171319
}
13181320

1321+
export const unmarshalRetryInboundTransferResponse = (
1322+
data: unknown,
1323+
): RetryInboundTransferResponse => {
1324+
if (!isJSONObject(data)) {
1325+
throw new TypeError(
1326+
`Unmarshalling the type 'RetryInboundTransferResponse' failed as data isn't a dictionary.`,
1327+
)
1328+
}
1329+
1330+
return {} as RetryInboundTransferResponse
1331+
}
1332+
13191333
const unmarshalAvailableDomain = (data: unknown): AvailableDomain => {
13201334
if (!isJSONObject(data)) {
13211335
throw new TypeError(
@@ -1810,6 +1824,15 @@ export const marshalRegistrarApiRenewDomainsRequest = (
18101824
force_late_renewal: request.forceLateRenewal,
18111825
})
18121826

1827+
export const marshalRegistrarApiRetryInboundTransferRequest = (
1828+
request: RegistrarApiRetryInboundTransferRequest,
1829+
defaults: DefaultValues,
1830+
): Record<string, unknown> => ({
1831+
auth_code: request.authCode,
1832+
domain: request.domain,
1833+
project_id: request.projectId ?? defaults.defaultProjectId,
1834+
})
1835+
18131836
export const marshalRegistrarApiTradeDomainRequest = (
18141837
request: RegistrarApiTradeDomainRequest,
18151838
defaults: DefaultValues,

packages_generated/domain/src/v2beta1/types.gen.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,21 @@ export type RegistrarApiRenewDomainsRequest = {
14531453
forceLateRenewal?: boolean
14541454
}
14551455

1456+
export type RegistrarApiRetryInboundTransferRequest = {
1457+
/**
1458+
* The domain being transfered.
1459+
*/
1460+
domain: string
1461+
/**
1462+
* The project ID to associated with the inbound transfer.
1463+
*/
1464+
projectId?: string
1465+
/**
1466+
* An optional new auth code to replace the previous one for the retry.
1467+
*/
1468+
authCode?: string
1469+
}
1470+
14561471
export type RegistrarApiSearchAvailableDomainsRequest = {
14571472
/**
14581473
* A list of domain to search, TLD is optional.
@@ -1596,6 +1611,8 @@ export type RestoreDNSZoneVersionRequest = {
15961611

15971612
export interface RestoreDNSZoneVersionResponse {}
15981613

1614+
export interface RetryInboundTransferResponse {}
1615+
15991616
export interface SearchAvailableDomainsResponse {
16001617
/**
16011618
* Array of available domains.

packages_generated/k8s/src/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ export const unmarshalVersion = (data: unknown): Version => {
122122
availableContainerRuntimes: data.available_container_runtimes,
123123
availableFeatureGates: data.available_feature_gates,
124124
availableKubeletArgs: data.available_kubelet_args,
125+
deprecatedAt: unmarshalDate(data.deprecated_at),
126+
endOfLifeAt: unmarshalDate(data.end_of_life_at),
125127
label: data.label,
126128
name: data.name,
127129
region: data.region,

packages_generated/k8s/src/v1/types.gen.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,14 @@ export interface Version {
624624
* Supported kubelet arguments for this version.
625625
*/
626626
availableKubeletArgs: Record<string, string>
627+
/**
628+
* Date from which this version will no longer be available for provisioning.
629+
*/
630+
deprecatedAt?: Date
631+
/**
632+
* Date from which any remaining clusters on this version will begin to be forcibly upgraded to the next minor version.
633+
*/
634+
endOfLifeAt?: Date
627635
}
628636

629637
export interface Cluster {

0 commit comments

Comments
 (0)