@opusdns/api 1.135.0 → 1.137.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.
- package/package.json +1 -1
- package/src/helpers/constants.ts +2 -0
- package/src/helpers/endpoints.ts +2 -0
- package/src/helpers/keys.ts +13 -0
- package/src/helpers/permissions.ts +8 -0
- package/src/helpers/requests.d.ts +5 -0
- package/src/helpers/responses.d.ts +10 -2
- package/src/helpers/schemas.d.ts +3 -2
- package/src/openapi.yaml +103 -4
- package/src/schema.d.ts +118 -3
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1769,6 +1769,7 @@ export const REGISTRY_SERVICE_BACKEND = {
|
|
|
1769
1769
|
RYCE: "ryce",
|
|
1770
1770
|
COCCA: "cocca",
|
|
1771
1771
|
AMAZON: "amazon",
|
|
1772
|
+
TANGO: "tango",
|
|
1772
1773
|
} as const satisfies Record<string, RegistryServiceBackend>;
|
|
1773
1774
|
|
|
1774
1775
|
export const REGISTRY_SERVICE_BACKEND_VALUES = [
|
|
@@ -1832,6 +1833,7 @@ export const REGISTRY_SERVICE_BACKEND_VALUES = [
|
|
|
1832
1833
|
'ryce',
|
|
1833
1834
|
'cocca',
|
|
1834
1835
|
'amazon',
|
|
1836
|
+
'tango',
|
|
1835
1837
|
] as const satisfies ReadonlyArray<RegistryServiceBackend>;
|
|
1836
1838
|
|
|
1837
1839
|
export const RENEWAL_MODE = {
|
package/src/helpers/endpoints.ts
CHANGED
|
@@ -66,6 +66,7 @@ export const DOMAINS_TLD_SPECIFIC_LT_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPO
|
|
|
66
66
|
export const DOMAINS_TLD_SPECIFIC_NO_APPLICANT_DECLARATION_ENDPOINT = '/v1/domains/tld-specific/no/applicant-declaration';
|
|
67
67
|
export const DOMAINS_TLD_SPECIFIC_NO_BY_DOMAIN_REFERENCE_APPLICANT_DECLARATION_ENDPOINT = '/v1/domains/tld-specific/no/{domain_reference}/applicant-declaration';
|
|
68
68
|
export const DOMAINS_TLD_SPECIFIC_NO_BY_DOMAIN_REFERENCE_RESEND_DECLARATION_EMAIL_ENDPOINT = '/v1/domains/tld-specific/no/{domain_reference}/resend-declaration-email';
|
|
69
|
+
export const DOMAINS_TLD_SPECIFIC_NU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/nu/{domain_reference}/auth_code/request';
|
|
69
70
|
export const DOMAINS_TLD_SPECIFIC_SE_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/se/{domain_reference}/auth_code/request';
|
|
70
71
|
export const DOMAINS_TLD_SPECIFIC_WALES_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/wales/{domain_reference}/auth_code/request';
|
|
71
72
|
export const DOMAINS_TRANSFER_ENDPOINT = '/v1/domains/transfer';
|
|
@@ -218,6 +219,7 @@ export type Endpoint =
|
|
|
218
219
|
| typeof DOMAINS_TLD_SPECIFIC_NO_APPLICANT_DECLARATION_ENDPOINT
|
|
219
220
|
| typeof DOMAINS_TLD_SPECIFIC_NO_BY_DOMAIN_REFERENCE_APPLICANT_DECLARATION_ENDPOINT
|
|
220
221
|
| typeof DOMAINS_TLD_SPECIFIC_NO_BY_DOMAIN_REFERENCE_RESEND_DECLARATION_EMAIL_ENDPOINT
|
|
222
|
+
| typeof DOMAINS_TLD_SPECIFIC_NU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
221
223
|
| typeof DOMAINS_TLD_SPECIFIC_SE_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
222
224
|
| typeof DOMAINS_TLD_SPECIFIC_WALES_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
223
225
|
| typeof DOMAINS_TRANSFER_ENDPOINT
|
package/src/helpers/keys.ts
CHANGED
|
@@ -452,6 +452,7 @@ import type {
|
|
|
452
452
|
RequestAuthcode5,
|
|
453
453
|
RequestAuthcode6,
|
|
454
454
|
RequestAuthcode7,
|
|
455
|
+
RequestAuthcode8,
|
|
455
456
|
DomainAvailabilityList,
|
|
456
457
|
DomainAvailabilityCheck,
|
|
457
458
|
} from './schemas';
|
|
@@ -6130,6 +6131,18 @@ export const KEYS_REQUEST_AUTHCODE7 = [
|
|
|
6130
6131
|
KEY_REQUEST_AUTHCODE7_SUCCESS,
|
|
6131
6132
|
] as const satisfies (keyof RequestAuthcode7)[];
|
|
6132
6133
|
|
|
6134
|
+
export const KEY_REQUEST_AUTHCODE8_AUTH_CODE = 'auth_code' satisfies keyof RequestAuthcode8;
|
|
6135
|
+
export const KEY_REQUEST_AUTHCODE8_DETAIL = 'detail' satisfies keyof RequestAuthcode8;
|
|
6136
|
+
export const KEY_REQUEST_AUTHCODE8_NAME = 'name' satisfies keyof RequestAuthcode8;
|
|
6137
|
+
export const KEY_REQUEST_AUTHCODE8_SUCCESS = 'success' satisfies keyof RequestAuthcode8;
|
|
6138
|
+
|
|
6139
|
+
export const KEYS_REQUEST_AUTHCODE8 = [
|
|
6140
|
+
KEY_REQUEST_AUTHCODE8_AUTH_CODE,
|
|
6141
|
+
KEY_REQUEST_AUTHCODE8_DETAIL,
|
|
6142
|
+
KEY_REQUEST_AUTHCODE8_NAME,
|
|
6143
|
+
KEY_REQUEST_AUTHCODE8_SUCCESS,
|
|
6144
|
+
] as const satisfies (keyof RequestAuthcode8)[];
|
|
6145
|
+
|
|
6133
6146
|
export const KEY_DOMAIN_AVAILABILITY_LIST_META = 'meta' satisfies keyof DomainAvailabilityList;
|
|
6134
6147
|
export const KEY_DOMAIN_AVAILABILITY_LIST_RESULTS = 'results' satisfies keyof DomainAvailabilityList;
|
|
6135
6148
|
|
|
@@ -78,6 +78,7 @@ import {
|
|
|
78
78
|
DOMAINS_TLD_SPECIFIC_NO_APPLICANT_DECLARATION_ENDPOINT,
|
|
79
79
|
DOMAINS_TLD_SPECIFIC_NO_BY_DOMAIN_REFERENCE_APPLICANT_DECLARATION_ENDPOINT,
|
|
80
80
|
DOMAINS_TLD_SPECIFIC_NO_BY_DOMAIN_REFERENCE_RESEND_DECLARATION_EMAIL_ENDPOINT,
|
|
81
|
+
DOMAINS_TLD_SPECIFIC_NU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
81
82
|
DOMAINS_TLD_SPECIFIC_SE_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
82
83
|
DOMAINS_TLD_SPECIFIC_WALES_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
83
84
|
DOMAINS_TRANSFER_ENDPOINT,
|
|
@@ -752,6 +753,13 @@ export const REQUIRED_PERMISSIONS = {
|
|
|
752
753
|
patch: [],
|
|
753
754
|
delete: [],
|
|
754
755
|
},
|
|
756
|
+
[DOMAINS_TLD_SPECIFIC_NU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT]: {
|
|
757
|
+
get: [],
|
|
758
|
+
post: [PUBLIC_PERMISSION.DOMAINS_MANAGE],
|
|
759
|
+
put: [],
|
|
760
|
+
patch: [],
|
|
761
|
+
delete: [],
|
|
762
|
+
},
|
|
755
763
|
[DOMAINS_TLD_SPECIFIC_SE_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT]: {
|
|
756
764
|
get: [],
|
|
757
765
|
post: [PUBLIC_PERMISSION.DOMAINS_MANAGE],
|
|
@@ -645,6 +645,11 @@ export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Req
|
|
|
645
645
|
};
|
|
646
646
|
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Request_Path = POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Request['parameters']['path'];
|
|
647
647
|
|
|
648
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Request = {
|
|
649
|
+
parameters: operations['request_auth_code_v1_domains_tld_specific_nu__domain_reference__auth_code_request_post']['parameters'];
|
|
650
|
+
};
|
|
651
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Request_Path = POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Request['parameters']['path'];
|
|
652
|
+
|
|
648
653
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Request = {
|
|
649
654
|
parameters: operations['request_auth_code_v1_domains_tld_specific_se__domain_reference__auth_code_request_post']['parameters'];
|
|
650
655
|
};
|
|
@@ -104,6 +104,7 @@ import type {
|
|
|
104
104
|
RequestAuthcode5,
|
|
105
105
|
RequestAuthcode6,
|
|
106
106
|
RequestAuthcode7,
|
|
107
|
+
RequestAuthcode8,
|
|
107
108
|
SetVanityNameserverSetDefaultRes,
|
|
108
109
|
Tag,
|
|
109
110
|
TldResponseShort,
|
|
@@ -1238,16 +1239,23 @@ export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Res
|
|
|
1238
1239
|
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_409 = Problem;
|
|
1239
1240
|
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_422 = HTTPValidationError;
|
|
1240
1241
|
|
|
1242
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_422;
|
|
1243
|
+
|
|
1244
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode6;
|
|
1245
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1246
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1247
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
1248
|
+
|
|
1241
1249
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_422;
|
|
1242
1250
|
|
|
1243
|
-
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_200 =
|
|
1251
|
+
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode7;
|
|
1244
1252
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1245
1253
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1246
1254
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
1247
1255
|
|
|
1248
1256
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_422;
|
|
1249
1257
|
|
|
1250
|
-
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_200 =
|
|
1258
|
+
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode8;
|
|
1251
1259
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1252
1260
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1253
1261
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -600,7 +600,8 @@ export type RequestAuthcode2 = components['schemas']['api__domain__tld_specific_
|
|
|
600
600
|
export type RequestAuthcode3 = components['schemas']['api__domain__tld_specific__cz__models__RequestAuthcodeResponse'];
|
|
601
601
|
export type RequestAuthcode4 = components['schemas']['api__domain__tld_specific__eu__models__RequestAuthcodeResponse'];
|
|
602
602
|
export type RequestAuthcode5 = components['schemas']['api__domain__tld_specific__lt__models__RequestAuthcodeResponse'];
|
|
603
|
-
export type RequestAuthcode6 = components['schemas']['
|
|
604
|
-
export type RequestAuthcode7 = components['schemas']['
|
|
603
|
+
export type RequestAuthcode6 = components['schemas']['api__domain__tld_specific__nu__models__RequestAuthcodeResponse'];
|
|
604
|
+
export type RequestAuthcode7 = components['schemas']['api__domain__tld_specific__se__models__RequestAuthcodeResponse'];
|
|
605
|
+
export type RequestAuthcode8 = components['schemas']['api__domain__tld_specific__wales__models__RequestAuthcodeResponse'];
|
|
605
606
|
export type DomainAvailabilityList = components['schemas']['common__models__availability__datasource__DomainAvailabilityResponse'];
|
|
606
607
|
export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
|
package/src/openapi.yaml
CHANGED
|
@@ -12595,6 +12595,7 @@ components:
|
|
|
12595
12595
|
- ryce
|
|
12596
12596
|
- cocca
|
|
12597
12597
|
- amazon
|
|
12598
|
+
- tango
|
|
12598
12599
|
title: RegistryServiceBackend
|
|
12599
12600
|
type: string
|
|
12600
12601
|
RenewalMode:
|
|
@@ -15541,6 +15542,33 @@ components:
|
|
|
15541
15542
|
- success
|
|
15542
15543
|
title: RequestAuthcodeResponse
|
|
15543
15544
|
type: object
|
|
15545
|
+
api__domain__tld_specific__nu__models__RequestAuthcodeResponse:
|
|
15546
|
+
properties:
|
|
15547
|
+
auth_code:
|
|
15548
|
+
anyOf:
|
|
15549
|
+
- type: string
|
|
15550
|
+
- type: 'null'
|
|
15551
|
+
description: The auth code generated by the registry
|
|
15552
|
+
title: Auth Code
|
|
15553
|
+
detail:
|
|
15554
|
+
anyOf:
|
|
15555
|
+
- type: string
|
|
15556
|
+
- type: 'null'
|
|
15557
|
+
description: Additional information about the result in case of failure
|
|
15558
|
+
title: Detail
|
|
15559
|
+
name:
|
|
15560
|
+
description: The domain name that had the auth code requested
|
|
15561
|
+
title: Name
|
|
15562
|
+
type: string
|
|
15563
|
+
success:
|
|
15564
|
+
description: Whether the registry generated a fresh auth code
|
|
15565
|
+
title: Success
|
|
15566
|
+
type: boolean
|
|
15567
|
+
required:
|
|
15568
|
+
- name
|
|
15569
|
+
- success
|
|
15570
|
+
title: RequestAuthcodeResponse
|
|
15571
|
+
type: object
|
|
15544
15572
|
api__domain__tld_specific__se__models__RequestAuthcodeResponse:
|
|
15545
15573
|
properties:
|
|
15546
15574
|
auth_code:
|
|
@@ -15737,7 +15765,7 @@ info:
|
|
|
15737
15765
|
\n\n"
|
|
15738
15766
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
15739
15767
|
title: OpusDNS API
|
|
15740
|
-
version: 2026-08-
|
|
15768
|
+
version: 2026-08-26-021624
|
|
15741
15769
|
x-logo:
|
|
15742
15770
|
altText: OpusDNS API Reference
|
|
15743
15771
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -24817,10 +24845,81 @@ paths:
|
|
|
24817
24845
|
- domain_tld_specific
|
|
24818
24846
|
x-required-permissions:
|
|
24819
24847
|
- domains:manage
|
|
24848
|
+
/v1/domains/tld-specific/nu/{domain_reference}/auth_code/request:
|
|
24849
|
+
post:
|
|
24850
|
+
description: '`.nu` auth codes are owned by the registry: registrars can only
|
|
24851
|
+
send the literal `auto`, and the generated code is returned in the `iis:updData`
|
|
24852
|
+
extension of a `domain:update`. This endpoint runs that update and stores
|
|
24853
|
+
the fresh code, invalidating any previous one.'
|
|
24854
|
+
operationId: request_auth_code_v1_domains_tld_specific_nu__domain_reference__auth_code_request_post
|
|
24855
|
+
parameters:
|
|
24856
|
+
- in: path
|
|
24857
|
+
name: domain_reference
|
|
24858
|
+
required: true
|
|
24859
|
+
schema:
|
|
24860
|
+
anyOf:
|
|
24861
|
+
- examples:
|
|
24862
|
+
- domain_01h45ytscbebyvny4gc8cr8ma2
|
|
24863
|
+
format: typeid
|
|
24864
|
+
pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
24865
|
+
type: string
|
|
24866
|
+
x-typeid-prefix: domain
|
|
24867
|
+
- type: string
|
|
24868
|
+
title: Domain Reference
|
|
24869
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
24870
|
+
responses:
|
|
24871
|
+
'200':
|
|
24872
|
+
content:
|
|
24873
|
+
application/json:
|
|
24874
|
+
schema:
|
|
24875
|
+
$ref: '#/components/schemas/api__domain__tld_specific__nu__models__RequestAuthcodeResponse'
|
|
24876
|
+
description: Successful Response
|
|
24877
|
+
'400':
|
|
24878
|
+
content:
|
|
24879
|
+
application/problem+json:
|
|
24880
|
+
example:
|
|
24881
|
+
code: ERROR_DOMAIN_TRANSFER
|
|
24882
|
+
detail: There was an error transferring the domain
|
|
24883
|
+
domain_name: Additional error context.
|
|
24884
|
+
reason: An unspecified error occurred
|
|
24885
|
+
status: 400
|
|
24886
|
+
title: Domain Transfer Error
|
|
24887
|
+
type: domain-transfer
|
|
24888
|
+
schema:
|
|
24889
|
+
$ref: '#/components/schemas/Problem'
|
|
24890
|
+
description: Bad Request
|
|
24891
|
+
'404':
|
|
24892
|
+
content:
|
|
24893
|
+
application/problem+json:
|
|
24894
|
+
example:
|
|
24895
|
+
code: ERROR_DOMAIN_NOT_FOUND
|
|
24896
|
+
detail: Domain not found
|
|
24897
|
+
domain_name: Additional error context.
|
|
24898
|
+
status: 404
|
|
24899
|
+
title: Domain Management Error
|
|
24900
|
+
type: domain-not-found
|
|
24901
|
+
schema:
|
|
24902
|
+
$ref: '#/components/schemas/Problem'
|
|
24903
|
+
description: Not Found
|
|
24904
|
+
'422':
|
|
24905
|
+
content:
|
|
24906
|
+
application/problem+json:
|
|
24907
|
+
schema:
|
|
24908
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
24909
|
+
description: Validation Error
|
|
24910
|
+
security:
|
|
24911
|
+
- OAuth2PasswordBearer: []
|
|
24912
|
+
- APIKeyHeader: []
|
|
24913
|
+
summary: Generates a fresh auth code at Internetstiftelsen (.nu)
|
|
24914
|
+
tags:
|
|
24915
|
+
- domain
|
|
24916
|
+
- domain_tld_specific
|
|
24917
|
+
x-required-permissions:
|
|
24918
|
+
- domains:manage
|
|
24820
24919
|
/v1/domains/tld-specific/se/{domain_reference}/auth_code/request:
|
|
24821
24920
|
post:
|
|
24822
|
-
description: '`.se
|
|
24823
|
-
|
|
24921
|
+
description: '`.se` auth codes are owned by the registry: registrars can only
|
|
24922
|
+
send the literal `auto`, and the generated code is returned in the `iis:updData`
|
|
24824
24923
|
extension of a `domain:update`. This endpoint runs that update and stores
|
|
24825
24924
|
the fresh code, invalidating any previous one.'
|
|
24826
24925
|
operationId: request_auth_code_v1_domains_tld_specific_se__domain_reference__auth_code_request_post
|
|
@@ -24882,7 +24981,7 @@ paths:
|
|
|
24882
24981
|
security:
|
|
24883
24982
|
- OAuth2PasswordBearer: []
|
|
24884
24983
|
- APIKeyHeader: []
|
|
24885
|
-
summary: Generates a fresh auth code at Internetstiftelsen (.se
|
|
24984
|
+
summary: Generates a fresh auth code at Internetstiftelsen (.se)
|
|
24886
24985
|
tags:
|
|
24887
24986
|
- domain
|
|
24888
24987
|
- domain_tld_specific
|
package/src/schema.d.ts
CHANGED
|
@@ -1348,6 +1348,26 @@ export interface paths {
|
|
|
1348
1348
|
patch?: never;
|
|
1349
1349
|
trace?: never;
|
|
1350
1350
|
};
|
|
1351
|
+
"/v1/domains/tld-specific/nu/{domain_reference}/auth_code/request": {
|
|
1352
|
+
parameters: {
|
|
1353
|
+
query?: never;
|
|
1354
|
+
header?: never;
|
|
1355
|
+
path?: never;
|
|
1356
|
+
cookie?: never;
|
|
1357
|
+
};
|
|
1358
|
+
get?: never;
|
|
1359
|
+
put?: never;
|
|
1360
|
+
/**
|
|
1361
|
+
* Generates a fresh auth code at Internetstiftelsen (.nu)
|
|
1362
|
+
* @description `.nu` auth codes are owned by the registry: registrars can only send the literal `auto`, and the generated code is returned in the `iis:updData` extension of a `domain:update`. This endpoint runs that update and stores the fresh code, invalidating any previous one.
|
|
1363
|
+
*/
|
|
1364
|
+
post: operations["request_auth_code_v1_domains_tld_specific_nu__domain_reference__auth_code_request_post"];
|
|
1365
|
+
delete?: never;
|
|
1366
|
+
options?: never;
|
|
1367
|
+
head?: never;
|
|
1368
|
+
patch?: never;
|
|
1369
|
+
trace?: never;
|
|
1370
|
+
};
|
|
1351
1371
|
"/v1/domains/tld-specific/se/{domain_reference}/auth_code/request": {
|
|
1352
1372
|
parameters: {
|
|
1353
1373
|
query?: never;
|
|
@@ -1358,8 +1378,8 @@ export interface paths {
|
|
|
1358
1378
|
get?: never;
|
|
1359
1379
|
put?: never;
|
|
1360
1380
|
/**
|
|
1361
|
-
* Generates a fresh auth code at Internetstiftelsen (.se
|
|
1362
|
-
* @description `.se
|
|
1381
|
+
* Generates a fresh auth code at Internetstiftelsen (.se)
|
|
1382
|
+
* @description `.se` auth codes are owned by the registry: registrars can only send the literal `auto`, and the generated code is returned in the `iis:updData` extension of a `domain:update`. This endpoint runs that update and stores the fresh code, invalidating any previous one.
|
|
1363
1383
|
*/
|
|
1364
1384
|
post: operations["request_auth_code_v1_domains_tld_specific_se__domain_reference__auth_code_request_post"];
|
|
1365
1385
|
delete?: never;
|
|
@@ -11156,7 +11176,7 @@ export interface components {
|
|
|
11156
11176
|
* RegistryServiceBackend
|
|
11157
11177
|
* @enum {string}
|
|
11158
11178
|
*/
|
|
11159
|
-
RegistryServiceBackend: "afnic" | "centralnic" | "cira" | "switch" | "nicat" | "verisign" | "pir" | "gmo" | "google" | "denic" | "identity_digital" | "godaddy" | "dns_belgium" | "eurid" | "rotld" | "nominet_uk" | "radix" | "sidn" | "sidn_hello" | "tucows" | "dot_ua" | "nic_it" | "dns_lu" | "restena_lu" | "cz_nic" | "ras_manual" | "ras_external" | "register_si" | "sk_nic" | "dot_blog" | "nic_lv" | "domreg_lt" | "nor_id" | "website_ws" | "dns_pt" | "punktum_dk" | "nic_mexico" | "internet_ee" | "channel_isles" | "registry_se" | "nask" | "dns_belgium_gtld" | "nominet_dragon" | "red_es" | "internet_nz" | "zacr" | "traficom" | "ie_registry" | "nic_im" | "cn_nic" | "forth" | "dns_hr" | "nixi" | "is_nic" | "sg_nic" | "ke_nic" | "tld_box" | "ryce" | "cocca" | "amazon";
|
|
11179
|
+
RegistryServiceBackend: "afnic" | "centralnic" | "cira" | "switch" | "nicat" | "verisign" | "pir" | "gmo" | "google" | "denic" | "identity_digital" | "godaddy" | "dns_belgium" | "eurid" | "rotld" | "nominet_uk" | "radix" | "sidn" | "sidn_hello" | "tucows" | "dot_ua" | "nic_it" | "dns_lu" | "restena_lu" | "cz_nic" | "ras_manual" | "ras_external" | "register_si" | "sk_nic" | "dot_blog" | "nic_lv" | "domreg_lt" | "nor_id" | "website_ws" | "dns_pt" | "punktum_dk" | "nic_mexico" | "internet_ee" | "channel_isles" | "registry_se" | "nask" | "dns_belgium_gtld" | "nominet_dragon" | "red_es" | "internet_nz" | "zacr" | "traficom" | "ie_registry" | "nic_im" | "cn_nic" | "forth" | "dns_hr" | "nixi" | "is_nic" | "sg_nic" | "ke_nic" | "tld_box" | "ryce" | "cocca" | "amazon" | "tango";
|
|
11160
11180
|
/**
|
|
11161
11181
|
* RenewalMode
|
|
11162
11182
|
* @enum {string}
|
|
@@ -13210,6 +13230,29 @@ export interface components {
|
|
|
13210
13230
|
success: boolean;
|
|
13211
13231
|
};
|
|
13212
13232
|
/** RequestAuthcodeResponse */
|
|
13233
|
+
api__domain__tld_specific__nu__models__RequestAuthcodeResponse: {
|
|
13234
|
+
/**
|
|
13235
|
+
* Auth Code
|
|
13236
|
+
* @description The auth code generated by the registry
|
|
13237
|
+
*/
|
|
13238
|
+
auth_code?: string | null;
|
|
13239
|
+
/**
|
|
13240
|
+
* Detail
|
|
13241
|
+
* @description Additional information about the result in case of failure
|
|
13242
|
+
*/
|
|
13243
|
+
detail?: string | null;
|
|
13244
|
+
/**
|
|
13245
|
+
* Name
|
|
13246
|
+
* @description The domain name that had the auth code requested
|
|
13247
|
+
*/
|
|
13248
|
+
name: string;
|
|
13249
|
+
/**
|
|
13250
|
+
* Success
|
|
13251
|
+
* @description Whether the registry generated a fresh auth code
|
|
13252
|
+
*/
|
|
13253
|
+
success: boolean;
|
|
13254
|
+
};
|
|
13255
|
+
/** RequestAuthcodeResponse */
|
|
13213
13256
|
api__domain__tld_specific__se__models__RequestAuthcodeResponse: {
|
|
13214
13257
|
/**
|
|
13215
13258
|
* Auth Code
|
|
@@ -20282,6 +20325,78 @@ export interface operations {
|
|
|
20282
20325
|
};
|
|
20283
20326
|
};
|
|
20284
20327
|
};
|
|
20328
|
+
request_auth_code_v1_domains_tld_specific_nu__domain_reference__auth_code_request_post: {
|
|
20329
|
+
parameters: {
|
|
20330
|
+
query?: never;
|
|
20331
|
+
header?: {
|
|
20332
|
+
/**
|
|
20333
|
+
* @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
|
|
20334
|
+
* @example rfc3339
|
|
20335
|
+
*/
|
|
20336
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
20337
|
+
};
|
|
20338
|
+
path: {
|
|
20339
|
+
domain_reference: TypeId<"domain"> | string;
|
|
20340
|
+
};
|
|
20341
|
+
cookie?: never;
|
|
20342
|
+
};
|
|
20343
|
+
requestBody?: never;
|
|
20344
|
+
responses: {
|
|
20345
|
+
/** @description Successful Response */
|
|
20346
|
+
200: {
|
|
20347
|
+
headers: {
|
|
20348
|
+
[name: string]: unknown;
|
|
20349
|
+
};
|
|
20350
|
+
content: {
|
|
20351
|
+
"application/json": components["schemas"]["api__domain__tld_specific__nu__models__RequestAuthcodeResponse"];
|
|
20352
|
+
};
|
|
20353
|
+
};
|
|
20354
|
+
/** @description Bad Request */
|
|
20355
|
+
400: {
|
|
20356
|
+
headers: {
|
|
20357
|
+
[name: string]: unknown;
|
|
20358
|
+
};
|
|
20359
|
+
content: {
|
|
20360
|
+
/** @example {
|
|
20361
|
+
* "code": "ERROR_DOMAIN_TRANSFER",
|
|
20362
|
+
* "detail": "There was an error transferring the domain",
|
|
20363
|
+
* "domain_name": "Additional error context.",
|
|
20364
|
+
* "reason": "An unspecified error occurred",
|
|
20365
|
+
* "status": 400,
|
|
20366
|
+
* "title": "Domain Transfer Error",
|
|
20367
|
+
* "type": "domain-transfer"
|
|
20368
|
+
* } */
|
|
20369
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20370
|
+
};
|
|
20371
|
+
};
|
|
20372
|
+
/** @description Not Found */
|
|
20373
|
+
404: {
|
|
20374
|
+
headers: {
|
|
20375
|
+
[name: string]: unknown;
|
|
20376
|
+
};
|
|
20377
|
+
content: {
|
|
20378
|
+
/** @example {
|
|
20379
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
20380
|
+
* "detail": "Domain not found",
|
|
20381
|
+
* "domain_name": "Additional error context.",
|
|
20382
|
+
* "status": 404,
|
|
20383
|
+
* "title": "Domain Management Error",
|
|
20384
|
+
* "type": "domain-not-found"
|
|
20385
|
+
* } */
|
|
20386
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20387
|
+
};
|
|
20388
|
+
};
|
|
20389
|
+
/** @description Validation Error */
|
|
20390
|
+
422: {
|
|
20391
|
+
headers: {
|
|
20392
|
+
[name: string]: unknown;
|
|
20393
|
+
};
|
|
20394
|
+
content: {
|
|
20395
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
20396
|
+
};
|
|
20397
|
+
};
|
|
20398
|
+
};
|
|
20399
|
+
};
|
|
20285
20400
|
request_auth_code_v1_domains_tld_specific_se__domain_reference__auth_code_request_post: {
|
|
20286
20401
|
parameters: {
|
|
20287
20402
|
query?: never;
|