@opusdns/api 1.142.0 → 1.144.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 +15 -0
- package/src/helpers/permissions.ts +8 -0
- package/src/helpers/requests.d.ts +5 -0
- package/src/helpers/responses.d.ts +13 -5
- package/src/helpers/schemas.d.ts +6 -5
- package/src/openapi.yaml +103 -1
- package/src/schema.d.ts +118 -1
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -241,6 +241,7 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE = {
|
|
|
241
241
|
VANITY_NAMESERVER: "vanity_nameserver",
|
|
242
242
|
WHITELABEL_BRANDING: "whitelabel_branding",
|
|
243
243
|
WHITELABEL_BRANDING_PLUS: "whitelabel_branding_plus",
|
|
244
|
+
RAS_DOMAIN_LIFECYCLE: "ras_domain_lifecycle",
|
|
244
245
|
} as const satisfies Record<string, BillingTransactionProductType>;
|
|
245
246
|
|
|
246
247
|
export const BILLING_TRANSACTION_PRODUCT_TYPE_VALUES = [
|
|
@@ -252,6 +253,7 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE_VALUES = [
|
|
|
252
253
|
'vanity_nameserver',
|
|
253
254
|
'whitelabel_branding',
|
|
254
255
|
'whitelabel_branding_plus',
|
|
256
|
+
'ras_domain_lifecycle',
|
|
255
257
|
] as const satisfies ReadonlyArray<BillingTransactionProductType>;
|
|
256
258
|
|
|
257
259
|
export const BILLING_TRANSACTION_SORT_FIELD = {
|
package/src/helpers/endpoints.ts
CHANGED
|
@@ -61,6 +61,7 @@ export const DOMAINS_TLD_SPECIFIC_BE_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPO
|
|
|
61
61
|
export const DOMAINS_TLD_SPECIFIC_CYMRU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/cymru/{domain_reference}/auth_code/request';
|
|
62
62
|
export const DOMAINS_TLD_SPECIFIC_CZ_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/cz/{domain_reference}/auth_code/request';
|
|
63
63
|
export const DOMAINS_TLD_SPECIFIC_DE_BY_DOMAIN_REFERENCE_TRANSIT_ENDPOINT = '/v1/domains/tld-specific/de/{domain_reference}/transit';
|
|
64
|
+
export const DOMAINS_TLD_SPECIFIC_DK_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/dk/{domain_reference}/auth_code/request';
|
|
64
65
|
export const DOMAINS_TLD_SPECIFIC_EU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/eu/{domain_reference}/auth_code/request';
|
|
65
66
|
export const DOMAINS_TLD_SPECIFIC_LT_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT = '/v1/domains/tld-specific/lt/{domain_reference}/auth_code/request';
|
|
66
67
|
export const DOMAINS_TLD_SPECIFIC_NO_APPLICANT_DECLARATION_ENDPOINT = '/v1/domains/tld-specific/no/applicant-declaration';
|
|
@@ -215,6 +216,7 @@ export type Endpoint =
|
|
|
215
216
|
| typeof DOMAINS_TLD_SPECIFIC_CYMRU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
216
217
|
| typeof DOMAINS_TLD_SPECIFIC_CZ_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
217
218
|
| typeof DOMAINS_TLD_SPECIFIC_DE_BY_DOMAIN_REFERENCE_TRANSIT_ENDPOINT
|
|
219
|
+
| typeof DOMAINS_TLD_SPECIFIC_DK_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
218
220
|
| typeof DOMAINS_TLD_SPECIFIC_EU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
219
221
|
| typeof DOMAINS_TLD_SPECIFIC_LT_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT
|
|
220
222
|
| typeof DOMAINS_TLD_SPECIFIC_NO_APPLICANT_DECLARATION_ENDPOINT
|
package/src/helpers/keys.ts
CHANGED
|
@@ -453,6 +453,7 @@ import type {
|
|
|
453
453
|
RequestAuthcode6,
|
|
454
454
|
RequestAuthcode7,
|
|
455
455
|
RequestAuthcode8,
|
|
456
|
+
RequestAuthcode9,
|
|
456
457
|
DomainAvailabilityList,
|
|
457
458
|
DomainAvailabilityCheck,
|
|
458
459
|
} from './schemas';
|
|
@@ -6110,12 +6111,14 @@ export const KEYS_REQUEST_AUTHCODE5 = [
|
|
|
6110
6111
|
] as const satisfies (keyof RequestAuthcode5)[];
|
|
6111
6112
|
|
|
6112
6113
|
export const KEY_REQUEST_AUTHCODE6_AUTH_CODE = 'auth_code' satisfies keyof RequestAuthcode6;
|
|
6114
|
+
export const KEY_REQUEST_AUTHCODE6_AUTH_CODE_EXPIRES_ON = 'auth_code_expires_on' satisfies keyof RequestAuthcode6;
|
|
6113
6115
|
export const KEY_REQUEST_AUTHCODE6_DETAIL = 'detail' satisfies keyof RequestAuthcode6;
|
|
6114
6116
|
export const KEY_REQUEST_AUTHCODE6_NAME = 'name' satisfies keyof RequestAuthcode6;
|
|
6115
6117
|
export const KEY_REQUEST_AUTHCODE6_SUCCESS = 'success' satisfies keyof RequestAuthcode6;
|
|
6116
6118
|
|
|
6117
6119
|
export const KEYS_REQUEST_AUTHCODE6 = [
|
|
6118
6120
|
KEY_REQUEST_AUTHCODE6_AUTH_CODE,
|
|
6121
|
+
KEY_REQUEST_AUTHCODE6_AUTH_CODE_EXPIRES_ON,
|
|
6119
6122
|
KEY_REQUEST_AUTHCODE6_DETAIL,
|
|
6120
6123
|
KEY_REQUEST_AUTHCODE6_NAME,
|
|
6121
6124
|
KEY_REQUEST_AUTHCODE6_SUCCESS,
|
|
@@ -6145,6 +6148,18 @@ export const KEYS_REQUEST_AUTHCODE8 = [
|
|
|
6145
6148
|
KEY_REQUEST_AUTHCODE8_SUCCESS,
|
|
6146
6149
|
] as const satisfies (keyof RequestAuthcode8)[];
|
|
6147
6150
|
|
|
6151
|
+
export const KEY_REQUEST_AUTHCODE9_AUTH_CODE = 'auth_code' satisfies keyof RequestAuthcode9;
|
|
6152
|
+
export const KEY_REQUEST_AUTHCODE9_DETAIL = 'detail' satisfies keyof RequestAuthcode9;
|
|
6153
|
+
export const KEY_REQUEST_AUTHCODE9_NAME = 'name' satisfies keyof RequestAuthcode9;
|
|
6154
|
+
export const KEY_REQUEST_AUTHCODE9_SUCCESS = 'success' satisfies keyof RequestAuthcode9;
|
|
6155
|
+
|
|
6156
|
+
export const KEYS_REQUEST_AUTHCODE9 = [
|
|
6157
|
+
KEY_REQUEST_AUTHCODE9_AUTH_CODE,
|
|
6158
|
+
KEY_REQUEST_AUTHCODE9_DETAIL,
|
|
6159
|
+
KEY_REQUEST_AUTHCODE9_NAME,
|
|
6160
|
+
KEY_REQUEST_AUTHCODE9_SUCCESS,
|
|
6161
|
+
] as const satisfies (keyof RequestAuthcode9)[];
|
|
6162
|
+
|
|
6148
6163
|
export const KEY_DOMAIN_AVAILABILITY_LIST_META = 'meta' satisfies keyof DomainAvailabilityList;
|
|
6149
6164
|
export const KEY_DOMAIN_AVAILABILITY_LIST_RESULTS = 'results' satisfies keyof DomainAvailabilityList;
|
|
6150
6165
|
|
|
@@ -73,6 +73,7 @@ import {
|
|
|
73
73
|
DOMAINS_TLD_SPECIFIC_CYMRU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
74
74
|
DOMAINS_TLD_SPECIFIC_CZ_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
75
75
|
DOMAINS_TLD_SPECIFIC_DE_BY_DOMAIN_REFERENCE_TRANSIT_ENDPOINT,
|
|
76
|
+
DOMAINS_TLD_SPECIFIC_DK_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
76
77
|
DOMAINS_TLD_SPECIFIC_EU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
77
78
|
DOMAINS_TLD_SPECIFIC_LT_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT,
|
|
78
79
|
DOMAINS_TLD_SPECIFIC_NO_APPLICANT_DECLARATION_ENDPOINT,
|
|
@@ -719,6 +720,13 @@ export const REQUIRED_PERMISSIONS = {
|
|
|
719
720
|
patch: [],
|
|
720
721
|
delete: [],
|
|
721
722
|
},
|
|
723
|
+
[DOMAINS_TLD_SPECIFIC_DK_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT]: {
|
|
724
|
+
get: [],
|
|
725
|
+
post: [PUBLIC_PERMISSION.DOMAINS_MANAGE],
|
|
726
|
+
put: [],
|
|
727
|
+
patch: [],
|
|
728
|
+
delete: [],
|
|
729
|
+
},
|
|
722
730
|
[DOMAINS_TLD_SPECIFIC_EU_BY_DOMAIN_REFERENCE_AUTH_CODE_REQUEST_ENDPOINT]: {
|
|
723
731
|
get: [],
|
|
724
732
|
post: [PUBLIC_PERMISSION.DOMAINS_MANAGE],
|
|
@@ -611,6 +611,11 @@ export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Request = {
|
|
|
611
611
|
export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Request_Path = POST_DomainsTldSpecificDeByDomainReferenceTransit_Request['parameters']['path'];
|
|
612
612
|
export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Request_Body = POST_DomainsTldSpecificDeByDomainReferenceTransit_Request['requestBody'];
|
|
613
613
|
|
|
614
|
+
export type POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Request = {
|
|
615
|
+
parameters: operations['request_auth_code_v1_domains_tld_specific_dk__domain_reference__auth_code_request_post']['parameters'];
|
|
616
|
+
};
|
|
617
|
+
export type POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Request_Path = POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Request['parameters']['path'];
|
|
618
|
+
|
|
614
619
|
export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Request = {
|
|
615
620
|
parameters: operations['request_auth_code_v1_domains_tld_specific_eu__domain_reference__auth_code_request_post']['parameters'];
|
|
616
621
|
};
|
|
@@ -105,6 +105,7 @@ import type {
|
|
|
105
105
|
RequestAuthcode6,
|
|
106
106
|
RequestAuthcode7,
|
|
107
107
|
RequestAuthcode8,
|
|
108
|
+
RequestAuthcode9,
|
|
108
109
|
SetVanityNameserverSetDefaultRes,
|
|
109
110
|
Tag,
|
|
110
111
|
TldResponseShort,
|
|
@@ -1216,16 +1217,23 @@ export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_200 = Dom
|
|
|
1216
1217
|
export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_404 = Problem;
|
|
1217
1218
|
export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_422 = HTTPValidationError;
|
|
1218
1219
|
|
|
1220
|
+
export type POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_422;
|
|
1221
|
+
|
|
1222
|
+
export type POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode4;
|
|
1223
|
+
export type POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1224
|
+
export type POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1225
|
+
export type POST_DomainsTldSpecificDkByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
1226
|
+
|
|
1219
1227
|
export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_422;
|
|
1220
1228
|
|
|
1221
|
-
export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_200 =
|
|
1229
|
+
export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode5;
|
|
1222
1230
|
export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1223
1231
|
export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1224
1232
|
export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
1225
1233
|
|
|
1226
1234
|
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_422;
|
|
1227
1235
|
|
|
1228
|
-
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 =
|
|
1236
|
+
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode6;
|
|
1229
1237
|
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1230
1238
|
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1231
1239
|
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
@@ -1246,21 +1254,21 @@ export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Res
|
|
|
1246
1254
|
|
|
1247
1255
|
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_422;
|
|
1248
1256
|
|
|
1249
|
-
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_200 =
|
|
1257
|
+
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode7;
|
|
1250
1258
|
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1251
1259
|
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1252
1260
|
export type POST_DomainsTldSpecificNuByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
1253
1261
|
|
|
1254
1262
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_422;
|
|
1255
1263
|
|
|
1256
|
-
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_200 =
|
|
1264
|
+
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode8;
|
|
1257
1265
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1258
1266
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1259
1267
|
export type POST_DomainsTldSpecificSeByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
1260
1268
|
|
|
1261
1269
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_422;
|
|
1262
1270
|
|
|
1263
|
-
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_200 =
|
|
1271
|
+
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode9;
|
|
1264
1272
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_400 = Problem;
|
|
1265
1273
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1266
1274
|
export type POST_DomainsTldSpecificWalesByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -599,10 +599,11 @@ export type ZonesContextCreate = components['schemas']['ZonesContextCreate'];
|
|
|
599
599
|
export type RequestAuthcode = components['schemas']['api__domain__tld_specific__be__models__RequestAuthcodeResponse'];
|
|
600
600
|
export type RequestAuthcode2 = components['schemas']['api__domain__tld_specific__cymru__models__RequestAuthcodeResponse'];
|
|
601
601
|
export type RequestAuthcode3 = components['schemas']['api__domain__tld_specific__cz__models__RequestAuthcodeResponse'];
|
|
602
|
-
export type RequestAuthcode4 = components['schemas']['
|
|
603
|
-
export type RequestAuthcode5 = components['schemas']['
|
|
604
|
-
export type RequestAuthcode6 = components['schemas']['
|
|
605
|
-
export type RequestAuthcode7 = components['schemas']['
|
|
606
|
-
export type RequestAuthcode8 = components['schemas']['
|
|
602
|
+
export type RequestAuthcode4 = components['schemas']['api__domain__tld_specific__dk__models__RequestAuthcodeResponse'];
|
|
603
|
+
export type RequestAuthcode5 = components['schemas']['api__domain__tld_specific__eu__models__RequestAuthcodeResponse'];
|
|
604
|
+
export type RequestAuthcode6 = components['schemas']['api__domain__tld_specific__lt__models__RequestAuthcodeResponse'];
|
|
605
|
+
export type RequestAuthcode7 = components['schemas']['api__domain__tld_specific__nu__models__RequestAuthcodeResponse'];
|
|
606
|
+
export type RequestAuthcode8 = components['schemas']['api__domain__tld_specific__se__models__RequestAuthcodeResponse'];
|
|
607
|
+
export type RequestAuthcode9 = components['schemas']['api__domain__tld_specific__wales__models__RequestAuthcodeResponse'];
|
|
607
608
|
export type DomainAvailabilityList = components['schemas']['common__models__availability__datasource__DomainAvailabilityResponse'];
|
|
608
609
|
export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
|
package/src/openapi.yaml
CHANGED
|
@@ -414,6 +414,7 @@ components:
|
|
|
414
414
|
- vanity_nameserver
|
|
415
415
|
- whitelabel_branding
|
|
416
416
|
- whitelabel_branding_plus
|
|
417
|
+
- ras_domain_lifecycle
|
|
417
418
|
title: BillingTransactionProductType
|
|
418
419
|
type: string
|
|
419
420
|
BillingTransactionResponse:
|
|
@@ -15488,6 +15489,40 @@ components:
|
|
|
15488
15489
|
- success
|
|
15489
15490
|
title: RequestAuthcodeResponse
|
|
15490
15491
|
type: object
|
|
15492
|
+
api__domain__tld_specific__dk__models__RequestAuthcodeResponse:
|
|
15493
|
+
properties:
|
|
15494
|
+
auth_code:
|
|
15495
|
+
anyOf:
|
|
15496
|
+
- type: string
|
|
15497
|
+
- type: 'null'
|
|
15498
|
+
description: The auth code returned by Punktum dk
|
|
15499
|
+
title: Auth Code
|
|
15500
|
+
auth_code_expires_on:
|
|
15501
|
+
anyOf:
|
|
15502
|
+
- format: date-time
|
|
15503
|
+
type: string
|
|
15504
|
+
- type: 'null'
|
|
15505
|
+
description: The expiry date of the auth code
|
|
15506
|
+
title: Auth Code Expires On
|
|
15507
|
+
detail:
|
|
15508
|
+
anyOf:
|
|
15509
|
+
- type: string
|
|
15510
|
+
- type: 'null'
|
|
15511
|
+
description: Additional information about the result in case of failure
|
|
15512
|
+
title: Detail
|
|
15513
|
+
name:
|
|
15514
|
+
description: The domain name that had the auth code requested
|
|
15515
|
+
title: Name
|
|
15516
|
+
type: string
|
|
15517
|
+
success:
|
|
15518
|
+
description: Whether the request had a successful result from Punktum dk
|
|
15519
|
+
title: Success
|
|
15520
|
+
type: boolean
|
|
15521
|
+
required:
|
|
15522
|
+
- name
|
|
15523
|
+
- success
|
|
15524
|
+
title: RequestAuthcodeResponse
|
|
15525
|
+
type: object
|
|
15491
15526
|
api__domain__tld_specific__eu__models__RequestAuthcodeResponse:
|
|
15492
15527
|
properties:
|
|
15493
15528
|
auth_code:
|
|
@@ -15779,7 +15814,7 @@ info:
|
|
|
15779
15814
|
\n\n"
|
|
15780
15815
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
15781
15816
|
title: OpusDNS API
|
|
15782
|
-
version: 2026-08-
|
|
15817
|
+
version: 2026-08-31-144454
|
|
15783
15818
|
x-logo:
|
|
15784
15819
|
altText: OpusDNS API Reference
|
|
15785
15820
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -24491,6 +24526,73 @@ paths:
|
|
|
24491
24526
|
- domain_tld_specific
|
|
24492
24527
|
x-required-permissions:
|
|
24493
24528
|
- domains:manage
|
|
24529
|
+
/v1/domains/tld-specific/dk/{domain_reference}/auth_code/request:
|
|
24530
|
+
post:
|
|
24531
|
+
operationId: request_auth_code_v1_domains_tld_specific_dk__domain_reference__auth_code_request_post
|
|
24532
|
+
parameters:
|
|
24533
|
+
- in: path
|
|
24534
|
+
name: domain_reference
|
|
24535
|
+
required: true
|
|
24536
|
+
schema:
|
|
24537
|
+
anyOf:
|
|
24538
|
+
- examples:
|
|
24539
|
+
- domain_01h45ytscbebyvny4gc8cr8ma2
|
|
24540
|
+
format: typeid
|
|
24541
|
+
pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
24542
|
+
type: string
|
|
24543
|
+
x-typeid-prefix: domain
|
|
24544
|
+
- type: string
|
|
24545
|
+
title: Domain Reference
|
|
24546
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
24547
|
+
responses:
|
|
24548
|
+
'200':
|
|
24549
|
+
content:
|
|
24550
|
+
application/json:
|
|
24551
|
+
schema:
|
|
24552
|
+
$ref: '#/components/schemas/api__domain__tld_specific__dk__models__RequestAuthcodeResponse'
|
|
24553
|
+
description: Successful Response
|
|
24554
|
+
'400':
|
|
24555
|
+
content:
|
|
24556
|
+
application/problem+json:
|
|
24557
|
+
example:
|
|
24558
|
+
code: ERROR_DOMAIN_TRANSFER
|
|
24559
|
+
detail: There was an error transferring the domain
|
|
24560
|
+
domain_name: Additional error context.
|
|
24561
|
+
reason: An unspecified error occurred
|
|
24562
|
+
status: 400
|
|
24563
|
+
title: Domain Transfer Error
|
|
24564
|
+
type: domain-transfer
|
|
24565
|
+
schema:
|
|
24566
|
+
$ref: '#/components/schemas/Problem'
|
|
24567
|
+
description: Bad Request
|
|
24568
|
+
'404':
|
|
24569
|
+
content:
|
|
24570
|
+
application/problem+json:
|
|
24571
|
+
example:
|
|
24572
|
+
code: ERROR_DOMAIN_NOT_FOUND
|
|
24573
|
+
detail: Domain not found
|
|
24574
|
+
domain_name: Additional error context.
|
|
24575
|
+
status: 404
|
|
24576
|
+
title: Domain Management Error
|
|
24577
|
+
type: domain-not-found
|
|
24578
|
+
schema:
|
|
24579
|
+
$ref: '#/components/schemas/Problem'
|
|
24580
|
+
description: Not Found
|
|
24581
|
+
'422':
|
|
24582
|
+
content:
|
|
24583
|
+
application/problem+json:
|
|
24584
|
+
schema:
|
|
24585
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
24586
|
+
description: Validation Error
|
|
24587
|
+
security:
|
|
24588
|
+
- OAuth2PasswordBearer: []
|
|
24589
|
+
- APIKeyHeader: []
|
|
24590
|
+
summary: Requests your auth code directly from Punktum dk (registry)
|
|
24591
|
+
tags:
|
|
24592
|
+
- domain
|
|
24593
|
+
- domain_tld_specific
|
|
24594
|
+
x-required-permissions:
|
|
24595
|
+
- domains:manage
|
|
24494
24596
|
/v1/domains/tld-specific/eu/{domain_reference}/auth_code/request:
|
|
24495
24597
|
post:
|
|
24496
24598
|
operationId: request_auth_code_v1_domains_tld_specific_eu__domain_reference__auth_code_request_post
|
package/src/schema.d.ts
CHANGED
|
@@ -1267,6 +1267,23 @@ export interface paths {
|
|
|
1267
1267
|
patch?: never;
|
|
1268
1268
|
trace?: never;
|
|
1269
1269
|
};
|
|
1270
|
+
"/v1/domains/tld-specific/dk/{domain_reference}/auth_code/request": {
|
|
1271
|
+
parameters: {
|
|
1272
|
+
query?: never;
|
|
1273
|
+
header?: never;
|
|
1274
|
+
path?: never;
|
|
1275
|
+
cookie?: never;
|
|
1276
|
+
};
|
|
1277
|
+
get?: never;
|
|
1278
|
+
put?: never;
|
|
1279
|
+
/** Requests your auth code directly from Punktum dk (registry) */
|
|
1280
|
+
post: operations["request_auth_code_v1_domains_tld_specific_dk__domain_reference__auth_code_request_post"];
|
|
1281
|
+
delete?: never;
|
|
1282
|
+
options?: never;
|
|
1283
|
+
head?: never;
|
|
1284
|
+
patch?: never;
|
|
1285
|
+
trace?: never;
|
|
1286
|
+
};
|
|
1270
1287
|
"/v1/domains/tld-specific/eu/{domain_reference}/auth_code/request": {
|
|
1271
1288
|
parameters: {
|
|
1272
1289
|
query?: never;
|
|
@@ -3334,7 +3351,7 @@ export interface components {
|
|
|
3334
3351
|
* BillingTransactionProductType
|
|
3335
3352
|
* @enum {string}
|
|
3336
3353
|
*/
|
|
3337
|
-
BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward" | "account_wallet" | "vanity_nameserver" | "whitelabel_branding" | "whitelabel_branding_plus";
|
|
3354
|
+
BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward" | "account_wallet" | "vanity_nameserver" | "whitelabel_branding" | "whitelabel_branding_plus" | "ras_domain_lifecycle";
|
|
3338
3355
|
/** BillingTransactionResponse */
|
|
3339
3356
|
BillingTransactionResponse: {
|
|
3340
3357
|
/** @description The action performed in the transaction */
|
|
@@ -13214,6 +13231,34 @@ export interface components {
|
|
|
13214
13231
|
success: boolean;
|
|
13215
13232
|
};
|
|
13216
13233
|
/** RequestAuthcodeResponse */
|
|
13234
|
+
api__domain__tld_specific__dk__models__RequestAuthcodeResponse: {
|
|
13235
|
+
/**
|
|
13236
|
+
* Auth Code
|
|
13237
|
+
* @description The auth code returned by Punktum dk
|
|
13238
|
+
*/
|
|
13239
|
+
auth_code?: string | null;
|
|
13240
|
+
/**
|
|
13241
|
+
* Auth Code Expires On
|
|
13242
|
+
* @description The expiry date of the auth code
|
|
13243
|
+
*/
|
|
13244
|
+
auth_code_expires_on?: Date | null;
|
|
13245
|
+
/**
|
|
13246
|
+
* Detail
|
|
13247
|
+
* @description Additional information about the result in case of failure
|
|
13248
|
+
*/
|
|
13249
|
+
detail?: string | null;
|
|
13250
|
+
/**
|
|
13251
|
+
* Name
|
|
13252
|
+
* @description The domain name that had the auth code requested
|
|
13253
|
+
*/
|
|
13254
|
+
name: string;
|
|
13255
|
+
/**
|
|
13256
|
+
* Success
|
|
13257
|
+
* @description Whether the request had a successful result from Punktum dk
|
|
13258
|
+
*/
|
|
13259
|
+
success: boolean;
|
|
13260
|
+
};
|
|
13261
|
+
/** RequestAuthcodeResponse */
|
|
13217
13262
|
api__domain__tld_specific__eu__models__RequestAuthcodeResponse: {
|
|
13218
13263
|
/**
|
|
13219
13264
|
* Auth Code
|
|
@@ -19935,6 +19980,78 @@ export interface operations {
|
|
|
19935
19980
|
};
|
|
19936
19981
|
};
|
|
19937
19982
|
};
|
|
19983
|
+
request_auth_code_v1_domains_tld_specific_dk__domain_reference__auth_code_request_post: {
|
|
19984
|
+
parameters: {
|
|
19985
|
+
query?: never;
|
|
19986
|
+
header?: {
|
|
19987
|
+
/**
|
|
19988
|
+
* @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.
|
|
19989
|
+
* @example rfc3339
|
|
19990
|
+
*/
|
|
19991
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
19992
|
+
};
|
|
19993
|
+
path: {
|
|
19994
|
+
domain_reference: TypeId<"domain"> | string;
|
|
19995
|
+
};
|
|
19996
|
+
cookie?: never;
|
|
19997
|
+
};
|
|
19998
|
+
requestBody?: never;
|
|
19999
|
+
responses: {
|
|
20000
|
+
/** @description Successful Response */
|
|
20001
|
+
200: {
|
|
20002
|
+
headers: {
|
|
20003
|
+
[name: string]: unknown;
|
|
20004
|
+
};
|
|
20005
|
+
content: {
|
|
20006
|
+
"application/json": components["schemas"]["api__domain__tld_specific__dk__models__RequestAuthcodeResponse"];
|
|
20007
|
+
};
|
|
20008
|
+
};
|
|
20009
|
+
/** @description Bad Request */
|
|
20010
|
+
400: {
|
|
20011
|
+
headers: {
|
|
20012
|
+
[name: string]: unknown;
|
|
20013
|
+
};
|
|
20014
|
+
content: {
|
|
20015
|
+
/** @example {
|
|
20016
|
+
* "code": "ERROR_DOMAIN_TRANSFER",
|
|
20017
|
+
* "detail": "There was an error transferring the domain",
|
|
20018
|
+
* "domain_name": "Additional error context.",
|
|
20019
|
+
* "reason": "An unspecified error occurred",
|
|
20020
|
+
* "status": 400,
|
|
20021
|
+
* "title": "Domain Transfer Error",
|
|
20022
|
+
* "type": "domain-transfer"
|
|
20023
|
+
* } */
|
|
20024
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20025
|
+
};
|
|
20026
|
+
};
|
|
20027
|
+
/** @description Not Found */
|
|
20028
|
+
404: {
|
|
20029
|
+
headers: {
|
|
20030
|
+
[name: string]: unknown;
|
|
20031
|
+
};
|
|
20032
|
+
content: {
|
|
20033
|
+
/** @example {
|
|
20034
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
20035
|
+
* "detail": "Domain not found",
|
|
20036
|
+
* "domain_name": "Additional error context.",
|
|
20037
|
+
* "status": 404,
|
|
20038
|
+
* "title": "Domain Management Error",
|
|
20039
|
+
* "type": "domain-not-found"
|
|
20040
|
+
* } */
|
|
20041
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
20042
|
+
};
|
|
20043
|
+
};
|
|
20044
|
+
/** @description Validation Error */
|
|
20045
|
+
422: {
|
|
20046
|
+
headers: {
|
|
20047
|
+
[name: string]: unknown;
|
|
20048
|
+
};
|
|
20049
|
+
content: {
|
|
20050
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
20051
|
+
};
|
|
20052
|
+
};
|
|
20053
|
+
};
|
|
20054
|
+
};
|
|
19938
20055
|
request_auth_code_v1_domains_tld_specific_eu__domain_reference__auth_code_request_post: {
|
|
19939
20056
|
parameters: {
|
|
19940
20057
|
query?: never;
|