@opusdns/api 1.134.0 → 1.136.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
|
@@ -982,6 +982,7 @@ export const EVENT_TYPE = {
|
|
|
982
982
|
VANITY_NS_SUSPENSION: "VANITY_NS_SUSPENSION",
|
|
983
983
|
VANITY_NS_RESTORATION: "VANITY_NS_RESTORATION",
|
|
984
984
|
VANITY_NS_TERMINATION: "VANITY_NS_TERMINATION",
|
|
985
|
+
CLONE: "CLONE",
|
|
985
986
|
} as const satisfies Record<string, EventType>;
|
|
986
987
|
|
|
987
988
|
export const EVENT_TYPE_VALUES = [
|
|
@@ -999,6 +1000,7 @@ export const EVENT_TYPE_VALUES = [
|
|
|
999
1000
|
'VANITY_NS_SUSPENSION',
|
|
1000
1001
|
'VANITY_NS_RESTORATION',
|
|
1001
1002
|
'VANITY_NS_TERMINATION',
|
|
1003
|
+
'CLONE',
|
|
1002
1004
|
] as const satisfies ReadonlyArray<EventType>;
|
|
1003
1005
|
|
|
1004
1006
|
export const EVENT_VERSION = {
|
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
|
@@ -7845,6 +7845,7 @@ components:
|
|
|
7845
7845
|
- VANITY_NS_SUSPENSION
|
|
7846
7846
|
- VANITY_NS_RESTORATION
|
|
7847
7847
|
- VANITY_NS_TERMINATION
|
|
7848
|
+
- CLONE
|
|
7848
7849
|
title: EventType
|
|
7849
7850
|
type: string
|
|
7850
7851
|
EventVersion:
|
|
@@ -15540,6 +15541,33 @@ components:
|
|
|
15540
15541
|
- success
|
|
15541
15542
|
title: RequestAuthcodeResponse
|
|
15542
15543
|
type: object
|
|
15544
|
+
api__domain__tld_specific__nu__models__RequestAuthcodeResponse:
|
|
15545
|
+
properties:
|
|
15546
|
+
auth_code:
|
|
15547
|
+
anyOf:
|
|
15548
|
+
- type: string
|
|
15549
|
+
- type: 'null'
|
|
15550
|
+
description: The auth code generated by the registry
|
|
15551
|
+
title: Auth Code
|
|
15552
|
+
detail:
|
|
15553
|
+
anyOf:
|
|
15554
|
+
- type: string
|
|
15555
|
+
- type: 'null'
|
|
15556
|
+
description: Additional information about the result in case of failure
|
|
15557
|
+
title: Detail
|
|
15558
|
+
name:
|
|
15559
|
+
description: The domain name that had the auth code requested
|
|
15560
|
+
title: Name
|
|
15561
|
+
type: string
|
|
15562
|
+
success:
|
|
15563
|
+
description: Whether the registry generated a fresh auth code
|
|
15564
|
+
title: Success
|
|
15565
|
+
type: boolean
|
|
15566
|
+
required:
|
|
15567
|
+
- name
|
|
15568
|
+
- success
|
|
15569
|
+
title: RequestAuthcodeResponse
|
|
15570
|
+
type: object
|
|
15543
15571
|
api__domain__tld_specific__se__models__RequestAuthcodeResponse:
|
|
15544
15572
|
properties:
|
|
15545
15573
|
auth_code:
|
|
@@ -15736,7 +15764,7 @@ info:
|
|
|
15736
15764
|
\n\n"
|
|
15737
15765
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
15738
15766
|
title: OpusDNS API
|
|
15739
|
-
version: 2026-08-25-
|
|
15767
|
+
version: 2026-08-25-212358
|
|
15740
15768
|
x-logo:
|
|
15741
15769
|
altText: OpusDNS API Reference
|
|
15742
15770
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -24816,10 +24844,81 @@ paths:
|
|
|
24816
24844
|
- domain_tld_specific
|
|
24817
24845
|
x-required-permissions:
|
|
24818
24846
|
- domains:manage
|
|
24847
|
+
/v1/domains/tld-specific/nu/{domain_reference}/auth_code/request:
|
|
24848
|
+
post:
|
|
24849
|
+
description: '`.nu` auth codes are owned by the registry: registrars can only
|
|
24850
|
+
send the literal `auto`, and the generated code is returned in the `iis:updData`
|
|
24851
|
+
extension of a `domain:update`. This endpoint runs that update and stores
|
|
24852
|
+
the fresh code, invalidating any previous one.'
|
|
24853
|
+
operationId: request_auth_code_v1_domains_tld_specific_nu__domain_reference__auth_code_request_post
|
|
24854
|
+
parameters:
|
|
24855
|
+
- in: path
|
|
24856
|
+
name: domain_reference
|
|
24857
|
+
required: true
|
|
24858
|
+
schema:
|
|
24859
|
+
anyOf:
|
|
24860
|
+
- examples:
|
|
24861
|
+
- domain_01h45ytscbebyvny4gc8cr8ma2
|
|
24862
|
+
format: typeid
|
|
24863
|
+
pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
24864
|
+
type: string
|
|
24865
|
+
x-typeid-prefix: domain
|
|
24866
|
+
- type: string
|
|
24867
|
+
title: Domain Reference
|
|
24868
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
24869
|
+
responses:
|
|
24870
|
+
'200':
|
|
24871
|
+
content:
|
|
24872
|
+
application/json:
|
|
24873
|
+
schema:
|
|
24874
|
+
$ref: '#/components/schemas/api__domain__tld_specific__nu__models__RequestAuthcodeResponse'
|
|
24875
|
+
description: Successful Response
|
|
24876
|
+
'400':
|
|
24877
|
+
content:
|
|
24878
|
+
application/problem+json:
|
|
24879
|
+
example:
|
|
24880
|
+
code: ERROR_DOMAIN_TRANSFER
|
|
24881
|
+
detail: There was an error transferring the domain
|
|
24882
|
+
domain_name: Additional error context.
|
|
24883
|
+
reason: An unspecified error occurred
|
|
24884
|
+
status: 400
|
|
24885
|
+
title: Domain Transfer Error
|
|
24886
|
+
type: domain-transfer
|
|
24887
|
+
schema:
|
|
24888
|
+
$ref: '#/components/schemas/Problem'
|
|
24889
|
+
description: Bad Request
|
|
24890
|
+
'404':
|
|
24891
|
+
content:
|
|
24892
|
+
application/problem+json:
|
|
24893
|
+
example:
|
|
24894
|
+
code: ERROR_DOMAIN_NOT_FOUND
|
|
24895
|
+
detail: Domain not found
|
|
24896
|
+
domain_name: Additional error context.
|
|
24897
|
+
status: 404
|
|
24898
|
+
title: Domain Management Error
|
|
24899
|
+
type: domain-not-found
|
|
24900
|
+
schema:
|
|
24901
|
+
$ref: '#/components/schemas/Problem'
|
|
24902
|
+
description: Not Found
|
|
24903
|
+
'422':
|
|
24904
|
+
content:
|
|
24905
|
+
application/problem+json:
|
|
24906
|
+
schema:
|
|
24907
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
24908
|
+
description: Validation Error
|
|
24909
|
+
security:
|
|
24910
|
+
- OAuth2PasswordBearer: []
|
|
24911
|
+
- APIKeyHeader: []
|
|
24912
|
+
summary: Generates a fresh auth code at Internetstiftelsen (.nu)
|
|
24913
|
+
tags:
|
|
24914
|
+
- domain
|
|
24915
|
+
- domain_tld_specific
|
|
24916
|
+
x-required-permissions:
|
|
24917
|
+
- domains:manage
|
|
24819
24918
|
/v1/domains/tld-specific/se/{domain_reference}/auth_code/request:
|
|
24820
24919
|
post:
|
|
24821
|
-
description: '`.se
|
|
24822
|
-
|
|
24920
|
+
description: '`.se` auth codes are owned by the registry: registrars can only
|
|
24921
|
+
send the literal `auto`, and the generated code is returned in the `iis:updData`
|
|
24823
24922
|
extension of a `domain:update`. This endpoint runs that update and stores
|
|
24824
24923
|
the fresh code, invalidating any previous one.'
|
|
24825
24924
|
operationId: request_auth_code_v1_domains_tld_specific_se__domain_reference__auth_code_request_post
|
|
@@ -24881,7 +24980,7 @@ paths:
|
|
|
24881
24980
|
security:
|
|
24882
24981
|
- OAuth2PasswordBearer: []
|
|
24883
24982
|
- APIKeyHeader: []
|
|
24884
|
-
summary: Generates a fresh auth code at Internetstiftelsen (.se
|
|
24983
|
+
summary: Generates a fresh auth code at Internetstiftelsen (.se)
|
|
24885
24984
|
tags:
|
|
24886
24985
|
- domain
|
|
24887
24986
|
- 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;
|
|
@@ -8141,7 +8161,7 @@ export interface components {
|
|
|
8141
8161
|
* EventType
|
|
8142
8162
|
* @enum {string}
|
|
8143
8163
|
*/
|
|
8144
|
-
EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "TRANSIT" | "WITHDRAW" | "VERIFICATION" | "BALANCE" | "VANITY_NS_PROVISION" | "VANITY_NS_SUSPENSION" | "VANITY_NS_RESTORATION" | "VANITY_NS_TERMINATION";
|
|
8164
|
+
EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "TRANSIT" | "WITHDRAW" | "VERIFICATION" | "BALANCE" | "VANITY_NS_PROVISION" | "VANITY_NS_SUSPENSION" | "VANITY_NS_RESTORATION" | "VANITY_NS_TERMINATION" | "CLONE";
|
|
8145
8165
|
/**
|
|
8146
8166
|
* EventVersion
|
|
8147
8167
|
* @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;
|