@opusdns/api 1.67.0 → 1.68.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 +21 -0
- package/src/helpers/keys.ts +41 -0
- package/src/helpers/requests.d.ts +26 -0
- package/src/helpers/responses.d.ts +28 -0
- package/src/helpers/schemas.d.ts +4 -0
- package/src/openapi.yaml +367 -1
- package/src/schema.d.ts +423 -1
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -65,6 +65,7 @@ import type {
|
|
|
65
65
|
MemoryFactKind,
|
|
66
66
|
MessageRole,
|
|
67
67
|
MetricsGrouping,
|
|
68
|
+
NorIdDeclarationStatus,
|
|
68
69
|
ObjectEventType,
|
|
69
70
|
ObjectLogSortField,
|
|
70
71
|
OrganizationCredentialStatus,
|
|
@@ -611,6 +612,8 @@ export const DOMAIN_ATTRIBUTE_KEY = {
|
|
|
611
612
|
NOR_ID_APPLICANT_VERSION: "nor_id_applicant_version",
|
|
612
613
|
NOR_ID_APPLICANT_ACCEPT_NAME: "nor_id_applicant_accept_name",
|
|
613
614
|
NOR_ID_APPLICANT_ACCEPT_DATE: "nor_id_applicant_accept_date",
|
|
615
|
+
NOR_ID_DECLARATION: "nor_id_declaration",
|
|
616
|
+
NOR_ID_DECLARATION_TOKEN: "nor_id_declaration_token",
|
|
614
617
|
} as const satisfies Record<string, DomainAttributeKey>;
|
|
615
618
|
|
|
616
619
|
export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
|
|
@@ -624,6 +627,8 @@ export const DOMAIN_ATTRIBUTE_KEY_VALUES = [
|
|
|
624
627
|
'nor_id_applicant_version',
|
|
625
628
|
'nor_id_applicant_accept_name',
|
|
626
629
|
'nor_id_applicant_accept_date',
|
|
630
|
+
'nor_id_declaration',
|
|
631
|
+
'nor_id_declaration_token',
|
|
627
632
|
] as const satisfies ReadonlyArray<DomainAttributeKey>;
|
|
628
633
|
|
|
629
634
|
export const DOMAIN_AVAILABILITY_STATUS = {
|
|
@@ -1190,6 +1195,22 @@ export const METRICS_GROUPING_VALUES = [
|
|
|
1190
1195
|
'rule',
|
|
1191
1196
|
] as const satisfies ReadonlyArray<MetricsGrouping>;
|
|
1192
1197
|
|
|
1198
|
+
export const NOR_ID_DECLARATION_STATUS = {
|
|
1199
|
+
PENDING: "pending",
|
|
1200
|
+
CONFIRMED: "confirmed",
|
|
1201
|
+
COMPLETED: "completed",
|
|
1202
|
+
EXPIRED: "expired",
|
|
1203
|
+
FAILED: "failed",
|
|
1204
|
+
} as const satisfies Record<string, NorIdDeclarationStatus>;
|
|
1205
|
+
|
|
1206
|
+
export const NOR_ID_DECLARATION_STATUS_VALUES = [
|
|
1207
|
+
'pending',
|
|
1208
|
+
'confirmed',
|
|
1209
|
+
'completed',
|
|
1210
|
+
'expired',
|
|
1211
|
+
'failed',
|
|
1212
|
+
] as const satisfies ReadonlyArray<NorIdDeclarationStatus>;
|
|
1213
|
+
|
|
1193
1214
|
export const OBJECT_EVENT_TYPE = {
|
|
1194
1215
|
CREATED: "CREATED",
|
|
1195
1216
|
UPDATED: "UPDATED",
|
package/src/helpers/keys.ts
CHANGED
|
@@ -274,6 +274,9 @@ import type {
|
|
|
274
274
|
MessageCreateRequest,
|
|
275
275
|
MessageList,
|
|
276
276
|
Nameserver,
|
|
277
|
+
NorIdDeclarationConfirmRequest,
|
|
278
|
+
NorIdDeclaration,
|
|
279
|
+
NorIdResellerDeclarationRequest,
|
|
277
280
|
ObjectLog,
|
|
278
281
|
ObjectTagChanges,
|
|
279
282
|
ObjectTagChanges2,
|
|
@@ -3750,6 +3753,44 @@ export const KEYS_NAMESERVER = [
|
|
|
3750
3753
|
KEY_NAMESERVER_IP_ADDRESSES,
|
|
3751
3754
|
] as const satisfies (keyof Nameserver)[];
|
|
3752
3755
|
|
|
3756
|
+
export const KEY_NOR_ID_DECLARATION_CONFIRM_REQUEST_ACCEPT_NAME = 'accept_name' satisfies keyof NorIdDeclarationConfirmRequest;
|
|
3757
|
+
|
|
3758
|
+
export const KEYS_NOR_ID_DECLARATION_CONFIRM_REQUEST = [
|
|
3759
|
+
KEY_NOR_ID_DECLARATION_CONFIRM_REQUEST_ACCEPT_NAME,
|
|
3760
|
+
] as const satisfies (keyof NorIdDeclarationConfirmRequest)[];
|
|
3761
|
+
|
|
3762
|
+
export const KEY_NOR_ID_DECLARATION_DECLARATION_CONTRACT_TEXT = 'declaration_contract_text' satisfies keyof NorIdDeclaration;
|
|
3763
|
+
export const KEY_NOR_ID_DECLARATION_DECLARATION_HEADER = 'declaration_header' satisfies keyof NorIdDeclaration;
|
|
3764
|
+
export const KEY_NOR_ID_DECLARATION_DECLARATION_INTRODUCTION = 'declaration_introduction' satisfies keyof NorIdDeclaration;
|
|
3765
|
+
export const KEY_NOR_ID_DECLARATION_DECLARATION_VERSION = 'declaration_version' satisfies keyof NorIdDeclaration;
|
|
3766
|
+
export const KEY_NOR_ID_DECLARATION_DOMAIN_NAME = 'domain_name' satisfies keyof NorIdDeclaration;
|
|
3767
|
+
export const KEY_NOR_ID_DECLARATION_EXPIRES_ON = 'expires_on' satisfies keyof NorIdDeclaration;
|
|
3768
|
+
export const KEY_NOR_ID_DECLARATION_IDENTITY_TYPE = 'identity_type' satisfies keyof NorIdDeclaration;
|
|
3769
|
+
export const KEY_NOR_ID_DECLARATION_IDENTITY_VALUE = 'identity_value' satisfies keyof NorIdDeclaration;
|
|
3770
|
+
export const KEY_NOR_ID_DECLARATION_STATUS = 'status' satisfies keyof NorIdDeclaration;
|
|
3771
|
+
export const KEY_NOR_ID_DECLARATION_SUBSCRIBER_NAME = 'subscriber_name' satisfies keyof NorIdDeclaration;
|
|
3772
|
+
|
|
3773
|
+
export const KEYS_NOR_ID_DECLARATION = [
|
|
3774
|
+
KEY_NOR_ID_DECLARATION_DECLARATION_CONTRACT_TEXT,
|
|
3775
|
+
KEY_NOR_ID_DECLARATION_DECLARATION_HEADER,
|
|
3776
|
+
KEY_NOR_ID_DECLARATION_DECLARATION_INTRODUCTION,
|
|
3777
|
+
KEY_NOR_ID_DECLARATION_DECLARATION_VERSION,
|
|
3778
|
+
KEY_NOR_ID_DECLARATION_DOMAIN_NAME,
|
|
3779
|
+
KEY_NOR_ID_DECLARATION_EXPIRES_ON,
|
|
3780
|
+
KEY_NOR_ID_DECLARATION_IDENTITY_TYPE,
|
|
3781
|
+
KEY_NOR_ID_DECLARATION_IDENTITY_VALUE,
|
|
3782
|
+
KEY_NOR_ID_DECLARATION_STATUS,
|
|
3783
|
+
KEY_NOR_ID_DECLARATION_SUBSCRIBER_NAME,
|
|
3784
|
+
] as const satisfies (keyof NorIdDeclaration)[];
|
|
3785
|
+
|
|
3786
|
+
export const KEY_NOR_ID_RESELLER_DECLARATION_REQUEST_ACCEPT_DATE = 'accept_date' satisfies keyof NorIdResellerDeclarationRequest;
|
|
3787
|
+
export const KEY_NOR_ID_RESELLER_DECLARATION_REQUEST_ACCEPT_NAME = 'accept_name' satisfies keyof NorIdResellerDeclarationRequest;
|
|
3788
|
+
|
|
3789
|
+
export const KEYS_NOR_ID_RESELLER_DECLARATION_REQUEST = [
|
|
3790
|
+
KEY_NOR_ID_RESELLER_DECLARATION_REQUEST_ACCEPT_DATE,
|
|
3791
|
+
KEY_NOR_ID_RESELLER_DECLARATION_REQUEST_ACCEPT_NAME,
|
|
3792
|
+
] as const satisfies (keyof NorIdResellerDeclarationRequest)[];
|
|
3793
|
+
|
|
3753
3794
|
export const KEY_OBJECT_LOG_ACTION = 'action' satisfies keyof ObjectLog;
|
|
3754
3795
|
export const KEY_OBJECT_LOG_CREATED_ON = 'created_on' satisfies keyof ObjectLog;
|
|
3755
3796
|
export const KEY_OBJECT_LOG_DETAILS = 'details' satisfies keyof ObjectLog;
|
|
@@ -38,6 +38,8 @@ import type {
|
|
|
38
38
|
MemoryFactCreateRequest,
|
|
39
39
|
MemoryFactPatchRequest,
|
|
40
40
|
MessageCreateRequest,
|
|
41
|
+
NorIdDeclarationConfirmRequest,
|
|
42
|
+
NorIdResellerDeclarationRequest,
|
|
41
43
|
ObjectTagChanges,
|
|
42
44
|
OrganizationAttributeUpdate,
|
|
43
45
|
OrganizationCreate,
|
|
@@ -597,6 +599,30 @@ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Request =
|
|
|
597
599
|
};
|
|
598
600
|
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Request_Path = POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Request['parameters']['path'];
|
|
599
601
|
|
|
602
|
+
export type GET_DomainsTldSpecificNoApplicantDeclaration_Request = {
|
|
603
|
+
parameters: operations['get_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_get']['parameters'];
|
|
604
|
+
};
|
|
605
|
+
export type GET_DomainsTldSpecificNoApplicantDeclaration_Request_Query = GET_DomainsTldSpecificNoApplicantDeclaration_Request['parameters']['query'];
|
|
606
|
+
|
|
607
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Request = {
|
|
608
|
+
parameters: operations['confirm_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_put']['parameters'];
|
|
609
|
+
requestBody: NorIdDeclarationConfirmRequest;
|
|
610
|
+
};
|
|
611
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Request_Query = PUT_DomainsTldSpecificNoApplicantDeclaration_Request['parameters']['query'];
|
|
612
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Request_Body = PUT_DomainsTldSpecificNoApplicantDeclaration_Request['requestBody'];
|
|
613
|
+
|
|
614
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Request = {
|
|
615
|
+
parameters: operations['submit_norid_declaration_v1_domains_tld_specific_no__domain_reference__applicant_declaration_post']['parameters'];
|
|
616
|
+
requestBody: NorIdResellerDeclarationRequest;
|
|
617
|
+
};
|
|
618
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Request_Path = POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Request['parameters']['path'];
|
|
619
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Request_Body = POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Request['requestBody'];
|
|
620
|
+
|
|
621
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Request = {
|
|
622
|
+
parameters: operations['resend_norid_declaration_email_v1_domains_tld_specific_no__domain_reference__resend_declaration_email_post']['parameters'];
|
|
623
|
+
};
|
|
624
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Request_Path = POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Request['parameters']['path'];
|
|
625
|
+
|
|
600
626
|
export type POST_DomainsTransfer_Request = {
|
|
601
627
|
requestBody: DomainTransferIn;
|
|
602
628
|
};
|
|
@@ -55,6 +55,7 @@ import type {
|
|
|
55
55
|
MemoryFactList,
|
|
56
56
|
Message,
|
|
57
57
|
MessageList,
|
|
58
|
+
NorIdDeclaration,
|
|
58
59
|
ObjectTagChanges2,
|
|
59
60
|
Organization,
|
|
60
61
|
OrganizationAttribute2,
|
|
@@ -558,6 +559,12 @@ export type GET_DomainsSummary_Response = GET_DomainsSummary_Response_200 | GET_
|
|
|
558
559
|
export type GET_DomainsSummary_Response_200 = DomainSummary;
|
|
559
560
|
export type GET_DomainsSummary_Response_422 = HTTPValidationError;
|
|
560
561
|
|
|
562
|
+
export type GET_DomainsTldSpecificNoApplicantDeclaration_Response = GET_DomainsTldSpecificNoApplicantDeclaration_Response_200 | GET_DomainsTldSpecificNoApplicantDeclaration_Response_404 | GET_DomainsTldSpecificNoApplicantDeclaration_Response_422;
|
|
563
|
+
|
|
564
|
+
export type GET_DomainsTldSpecificNoApplicantDeclaration_Response_200 = NorIdDeclaration;
|
|
565
|
+
export type GET_DomainsTldSpecificNoApplicantDeclaration_Response_404 = Problem;
|
|
566
|
+
export type GET_DomainsTldSpecificNoApplicantDeclaration_Response_422 = HTTPValidationError;
|
|
567
|
+
|
|
561
568
|
export type GET_EmailForwards_Response = GET_EmailForwards_Response_200 | GET_EmailForwards_Response_401 | GET_EmailForwards_Response_403 | GET_EmailForwards_Response_422;
|
|
562
569
|
|
|
563
570
|
export type GET_EmailForwards_Response_200 = Pagination_EmailForward;
|
|
@@ -1148,6 +1155,20 @@ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_4
|
|
|
1148
1155
|
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_404 = Problem;
|
|
1149
1156
|
export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
|
|
1150
1157
|
|
|
1158
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response = POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_202 | POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_400 | POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_404 | POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_409 | POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_422;
|
|
1159
|
+
|
|
1160
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_202 = NorIdDeclaration;
|
|
1161
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_400 = Problem;
|
|
1162
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_404 = Problem;
|
|
1163
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_409 = Problem;
|
|
1164
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceApplicantDeclaration_Response_422 = HTTPValidationError;
|
|
1165
|
+
|
|
1166
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response = POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_404 | POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_409 | POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_422;
|
|
1167
|
+
|
|
1168
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_404 = Problem;
|
|
1169
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_409 = Problem;
|
|
1170
|
+
export type POST_DomainsTldSpecificNoByDomainReferenceResendDeclarationEmail_Response_422 = HTTPValidationError;
|
|
1171
|
+
|
|
1151
1172
|
export type POST_DomainsTransfer_Response = POST_DomainsTransfer_Response_201 | POST_DomainsTransfer_Response_400 | POST_DomainsTransfer_Response_403 | POST_DomainsTransfer_Response_404 | POST_DomainsTransfer_Response_409 | POST_DomainsTransfer_Response_422;
|
|
1152
1173
|
|
|
1153
1174
|
export type POST_DomainsTransfer_Response_201 = Domain;
|
|
@@ -1339,6 +1360,13 @@ export type PUT_DomainsByDomainReferenceDnssec_Response_200 = DomainDnssecData[]
|
|
|
1339
1360
|
export type PUT_DomainsByDomainReferenceDnssec_Response_404 = Problem;
|
|
1340
1361
|
export type PUT_DomainsByDomainReferenceDnssec_Response_422 = Problem;
|
|
1341
1362
|
|
|
1363
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Response = PUT_DomainsTldSpecificNoApplicantDeclaration_Response_400 | PUT_DomainsTldSpecificNoApplicantDeclaration_Response_404 | PUT_DomainsTldSpecificNoApplicantDeclaration_Response_409 | PUT_DomainsTldSpecificNoApplicantDeclaration_Response_422;
|
|
1364
|
+
|
|
1365
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Response_400 = Problem;
|
|
1366
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Response_404 = Problem;
|
|
1367
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Response_409 = Problem;
|
|
1368
|
+
export type PUT_DomainsTldSpecificNoApplicantDeclaration_Response_422 = HTTPValidationError;
|
|
1369
|
+
|
|
1342
1370
|
export type PUT_EmailForwardsByEmailForwardIdAliasesByAliasId_Response = PUT_EmailForwardsByEmailForwardIdAliasesByAliasId_Response_200 | PUT_EmailForwardsByEmailForwardIdAliasesByAliasId_Response_401 | PUT_EmailForwardsByEmailForwardIdAliasesByAliasId_Response_403 | PUT_EmailForwardsByEmailForwardIdAliasesByAliasId_Response_404 | PUT_EmailForwardsByEmailForwardIdAliasesByAliasId_Response_422;
|
|
1343
1371
|
|
|
1344
1372
|
export type PUT_EmailForwardsByEmailForwardIdAliasesByAliasId_Response_200 = EmailForwardAlias;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -345,6 +345,10 @@ export type MessageList = components['schemas']['MessageListResponse'];
|
|
|
345
345
|
export type MessageRole = components['schemas']['MessageRole'];
|
|
346
346
|
export type MetricsGrouping = components['schemas']['MetricsGrouping'];
|
|
347
347
|
export type Nameserver = components['schemas']['Nameserver'];
|
|
348
|
+
export type NorIdDeclarationConfirmRequest = components['schemas']['NorIdDeclarationConfirmRequest'];
|
|
349
|
+
export type NorIdDeclaration = components['schemas']['NorIdDeclarationResponse'];
|
|
350
|
+
export type NorIdDeclarationStatus = components['schemas']['NorIdDeclarationStatus'];
|
|
351
|
+
export type NorIdResellerDeclarationRequest = components['schemas']['NorIdResellerDeclarationRequest'];
|
|
348
352
|
export type ObjectEventType = components['schemas']['ObjectEventType'];
|
|
349
353
|
export type ObjectLog = components['schemas']['ObjectLog'];
|
|
350
354
|
export type ObjectLogSortField = components['schemas']['ObjectLogSortField'];
|
package/src/openapi.yaml
CHANGED
|
@@ -3415,6 +3415,8 @@ components:
|
|
|
3415
3415
|
- nor_id_applicant_version
|
|
3416
3416
|
- nor_id_applicant_accept_name
|
|
3417
3417
|
- nor_id_applicant_accept_date
|
|
3418
|
+
- nor_id_declaration
|
|
3419
|
+
- nor_id_declaration_token
|
|
3418
3420
|
title: DomainAttributeKey
|
|
3419
3421
|
type: string
|
|
3420
3422
|
DomainAvailability:
|
|
@@ -8814,6 +8816,109 @@ components:
|
|
|
8814
8816
|
- hostname
|
|
8815
8817
|
title: Nameserver
|
|
8816
8818
|
type: object
|
|
8819
|
+
NorIdDeclarationConfirmRequest:
|
|
8820
|
+
properties:
|
|
8821
|
+
accept_name:
|
|
8822
|
+
description: The full name of the person signing the applicant declaration.
|
|
8823
|
+
For private individuals this is the subscriber personally; for organizations
|
|
8824
|
+
it must be an authorized representative.
|
|
8825
|
+
maxLength: 255
|
|
8826
|
+
minLength: 1
|
|
8827
|
+
title: Accept Name
|
|
8828
|
+
type: string
|
|
8829
|
+
required:
|
|
8830
|
+
- accept_name
|
|
8831
|
+
title: NorIdDeclarationConfirmRequest
|
|
8832
|
+
type: object
|
|
8833
|
+
NorIdDeclarationResponse:
|
|
8834
|
+
properties:
|
|
8835
|
+
declaration_contract_text:
|
|
8836
|
+
description: The fixed Norwegian declaration contract text
|
|
8837
|
+
title: Declaration Contract Text
|
|
8838
|
+
type: string
|
|
8839
|
+
declaration_header:
|
|
8840
|
+
description: The fixed Norwegian declaration header
|
|
8841
|
+
title: Declaration Header
|
|
8842
|
+
type: string
|
|
8843
|
+
declaration_introduction:
|
|
8844
|
+
description: The fixed Norwegian declaration introduction
|
|
8845
|
+
title: Declaration Introduction
|
|
8846
|
+
type: string
|
|
8847
|
+
declaration_version:
|
|
8848
|
+
description: The applicant declaration text version
|
|
8849
|
+
title: Declaration Version
|
|
8850
|
+
type: string
|
|
8851
|
+
domain_name:
|
|
8852
|
+
description: The domain name the declaration applies to
|
|
8853
|
+
title: Domain Name
|
|
8854
|
+
type: string
|
|
8855
|
+
expires_on:
|
|
8856
|
+
description: When the unconfirmed create request expires
|
|
8857
|
+
format: date-time
|
|
8858
|
+
title: Expires On
|
|
8859
|
+
type: string
|
|
8860
|
+
identity_type:
|
|
8861
|
+
anyOf:
|
|
8862
|
+
- type: string
|
|
8863
|
+
- type: 'null'
|
|
8864
|
+
description: The subscriber identity type
|
|
8865
|
+
title: Identity Type
|
|
8866
|
+
identity_value:
|
|
8867
|
+
anyOf:
|
|
8868
|
+
- type: string
|
|
8869
|
+
- type: 'null'
|
|
8870
|
+
description: The subscriber identity (organization number or Person-ID)
|
|
8871
|
+
title: Identity Value
|
|
8872
|
+
status:
|
|
8873
|
+
$ref: '#/components/schemas/NorIdDeclarationStatus'
|
|
8874
|
+
description: The declaration status
|
|
8875
|
+
subscriber_name:
|
|
8876
|
+
description: The domain name subscriber (registrant)
|
|
8877
|
+
title: Subscriber Name
|
|
8878
|
+
type: string
|
|
8879
|
+
required:
|
|
8880
|
+
- domain_name
|
|
8881
|
+
- subscriber_name
|
|
8882
|
+
- declaration_version
|
|
8883
|
+
- declaration_header
|
|
8884
|
+
- declaration_introduction
|
|
8885
|
+
- declaration_contract_text
|
|
8886
|
+
- status
|
|
8887
|
+
- expires_on
|
|
8888
|
+
title: NorIdDeclarationResponse
|
|
8889
|
+
type: object
|
|
8890
|
+
NorIdDeclarationStatus:
|
|
8891
|
+
enum:
|
|
8892
|
+
- pending
|
|
8893
|
+
- confirmed
|
|
8894
|
+
- completed
|
|
8895
|
+
- expired
|
|
8896
|
+
- failed
|
|
8897
|
+
title: NorIdDeclarationStatus
|
|
8898
|
+
type: string
|
|
8899
|
+
NorIdResellerDeclarationRequest:
|
|
8900
|
+
properties:
|
|
8901
|
+
accept_date:
|
|
8902
|
+
anyOf:
|
|
8903
|
+
- format: date-time
|
|
8904
|
+
type: string
|
|
8905
|
+
- type: 'null'
|
|
8906
|
+
description: UTC timestamp of the declaration signature. Only provide it
|
|
8907
|
+
when the declaration was signed out-of-band (e.g. via Norid's own tool);
|
|
8908
|
+
defaults to the submission time.
|
|
8909
|
+
title: Accept Date
|
|
8910
|
+
accept_name:
|
|
8911
|
+
description: The full name of the person signing the applicant declaration.
|
|
8912
|
+
For private individuals this is the subscriber personally; for organizations
|
|
8913
|
+
it must be an authorized representative.
|
|
8914
|
+
maxLength: 255
|
|
8915
|
+
minLength: 1
|
|
8916
|
+
title: Accept Name
|
|
8917
|
+
type: string
|
|
8918
|
+
required:
|
|
8919
|
+
- accept_name
|
|
8920
|
+
title: NorIdResellerDeclarationRequest
|
|
8921
|
+
type: object
|
|
8817
8922
|
ObjectEventType:
|
|
8818
8923
|
enum:
|
|
8819
8924
|
- CREATED
|
|
@@ -13902,7 +14007,7 @@ info:
|
|
|
13902
14007
|
\n\n"
|
|
13903
14008
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
13904
14009
|
title: OpusDNS API
|
|
13905
|
-
version: 2026-07-17-
|
|
14010
|
+
version: 2026-07-17-222747
|
|
13906
14011
|
x-logo:
|
|
13907
14012
|
altText: OpusDNS API Reference
|
|
13908
14013
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -22412,6 +22517,267 @@ paths:
|
|
|
22412
22517
|
- domain_tld_specific
|
|
22413
22518
|
x-required-permissions:
|
|
22414
22519
|
- domains:manage
|
|
22520
|
+
/v1/domains/tld-specific/no/applicant-declaration:
|
|
22521
|
+
get:
|
|
22522
|
+
operationId: get_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_get
|
|
22523
|
+
parameters:
|
|
22524
|
+
- in: query
|
|
22525
|
+
name: token
|
|
22526
|
+
required: true
|
|
22527
|
+
schema:
|
|
22528
|
+
title: Token
|
|
22529
|
+
type: string
|
|
22530
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
22531
|
+
responses:
|
|
22532
|
+
'200':
|
|
22533
|
+
content:
|
|
22534
|
+
application/json:
|
|
22535
|
+
schema:
|
|
22536
|
+
$ref: '#/components/schemas/NorIdDeclarationResponse'
|
|
22537
|
+
description: Successful Response
|
|
22538
|
+
'404':
|
|
22539
|
+
content:
|
|
22540
|
+
application/problem+json:
|
|
22541
|
+
example:
|
|
22542
|
+
code: ERROR_NORID_DECLARATION_NOT_FOUND
|
|
22543
|
+
detail: Additional error context.
|
|
22544
|
+
status: 404
|
|
22545
|
+
title: Domain Management Error
|
|
22546
|
+
type: nor-id-declaration-not-found
|
|
22547
|
+
schema:
|
|
22548
|
+
$ref: '#/components/schemas/Problem'
|
|
22549
|
+
description: Not Found
|
|
22550
|
+
'422':
|
|
22551
|
+
content:
|
|
22552
|
+
application/problem+json:
|
|
22553
|
+
schema:
|
|
22554
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
22555
|
+
description: Validation Error
|
|
22556
|
+
summary: Retrieve the .no applicant declaration by token
|
|
22557
|
+
tags:
|
|
22558
|
+
- domain
|
|
22559
|
+
- domain_tld_specific
|
|
22560
|
+
put:
|
|
22561
|
+
description: Records the applicant declaration signature (`acceptName` + `acceptDate`)
|
|
22562
|
+
and queues the actual registration at Norid.
|
|
22563
|
+
operationId: confirm_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_put
|
|
22564
|
+
parameters:
|
|
22565
|
+
- in: query
|
|
22566
|
+
name: token
|
|
22567
|
+
required: true
|
|
22568
|
+
schema:
|
|
22569
|
+
title: Token
|
|
22570
|
+
type: string
|
|
22571
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
22572
|
+
requestBody:
|
|
22573
|
+
content:
|
|
22574
|
+
application/json:
|
|
22575
|
+
schema:
|
|
22576
|
+
$ref: '#/components/schemas/NorIdDeclarationConfirmRequest'
|
|
22577
|
+
required: true
|
|
22578
|
+
responses:
|
|
22579
|
+
'204':
|
|
22580
|
+
description: Successful Response
|
|
22581
|
+
'400':
|
|
22582
|
+
content:
|
|
22583
|
+
application/problem+json:
|
|
22584
|
+
example:
|
|
22585
|
+
code: ERROR_NORID_DECLARATION_EXPIRED
|
|
22586
|
+
detail: The applicant declaration request has expired
|
|
22587
|
+
domain_name: Additional error context.
|
|
22588
|
+
status: 400
|
|
22589
|
+
title: Domain Management Error
|
|
22590
|
+
type: nor-id-declaration-expired
|
|
22591
|
+
schema:
|
|
22592
|
+
$ref: '#/components/schemas/Problem'
|
|
22593
|
+
description: Bad Request
|
|
22594
|
+
'404':
|
|
22595
|
+
content:
|
|
22596
|
+
application/problem+json:
|
|
22597
|
+
example:
|
|
22598
|
+
code: ERROR_NORID_DECLARATION_NOT_FOUND
|
|
22599
|
+
detail: Additional error context.
|
|
22600
|
+
status: 404
|
|
22601
|
+
title: Domain Management Error
|
|
22602
|
+
type: nor-id-declaration-not-found
|
|
22603
|
+
schema:
|
|
22604
|
+
$ref: '#/components/schemas/Problem'
|
|
22605
|
+
description: Not Found
|
|
22606
|
+
'409':
|
|
22607
|
+
content:
|
|
22608
|
+
application/problem+json:
|
|
22609
|
+
example:
|
|
22610
|
+
code: ERROR_NORID_DECLARATION_STATE
|
|
22611
|
+
detail: The applicant declaration is not in a valid state
|
|
22612
|
+
domain_name: Additional error context.
|
|
22613
|
+
status: 409
|
|
22614
|
+
title: Domain Management Error
|
|
22615
|
+
type: nor-id-declaration-state
|
|
22616
|
+
schema:
|
|
22617
|
+
$ref: '#/components/schemas/Problem'
|
|
22618
|
+
description: Conflict
|
|
22619
|
+
'422':
|
|
22620
|
+
content:
|
|
22621
|
+
application/problem+json:
|
|
22622
|
+
schema:
|
|
22623
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
22624
|
+
description: Validation Error
|
|
22625
|
+
summary: Sign the .no applicant declaration with token
|
|
22626
|
+
tags:
|
|
22627
|
+
- domain
|
|
22628
|
+
- domain_tld_specific
|
|
22629
|
+
/v1/domains/tld-specific/no/{domain_reference}/applicant-declaration:
|
|
22630
|
+
post:
|
|
22631
|
+
description: Records the applicant declaration signature collected by the registrar
|
|
22632
|
+
(e.g. via Norid's own signing tool) and queues the actual registration at
|
|
22633
|
+
Norid, without the registrant email round-trip.
|
|
22634
|
+
operationId: submit_norid_declaration_v1_domains_tld_specific_no__domain_reference__applicant_declaration_post
|
|
22635
|
+
parameters:
|
|
22636
|
+
- in: path
|
|
22637
|
+
name: domain_reference
|
|
22638
|
+
required: true
|
|
22639
|
+
schema:
|
|
22640
|
+
anyOf:
|
|
22641
|
+
- examples:
|
|
22642
|
+
- domain_01h45ytscbebyvny4gc8cr8ma2
|
|
22643
|
+
format: typeid
|
|
22644
|
+
pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
22645
|
+
type: string
|
|
22646
|
+
x-typeid-prefix: domain
|
|
22647
|
+
- type: string
|
|
22648
|
+
title: Domain Reference
|
|
22649
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
22650
|
+
requestBody:
|
|
22651
|
+
content:
|
|
22652
|
+
application/json:
|
|
22653
|
+
schema:
|
|
22654
|
+
$ref: '#/components/schemas/NorIdResellerDeclarationRequest'
|
|
22655
|
+
required: true
|
|
22656
|
+
responses:
|
|
22657
|
+
'202':
|
|
22658
|
+
content:
|
|
22659
|
+
application/json:
|
|
22660
|
+
schema:
|
|
22661
|
+
$ref: '#/components/schemas/NorIdDeclarationResponse'
|
|
22662
|
+
description: Successful Response
|
|
22663
|
+
'400':
|
|
22664
|
+
content:
|
|
22665
|
+
application/problem+json:
|
|
22666
|
+
example:
|
|
22667
|
+
code: ERROR_NORID_DECLARATION_EXPIRED
|
|
22668
|
+
detail: The applicant declaration request has expired
|
|
22669
|
+
domain_name: Additional error context.
|
|
22670
|
+
status: 400
|
|
22671
|
+
title: Domain Management Error
|
|
22672
|
+
type: nor-id-declaration-expired
|
|
22673
|
+
schema:
|
|
22674
|
+
$ref: '#/components/schemas/Problem'
|
|
22675
|
+
description: Bad Request
|
|
22676
|
+
'404':
|
|
22677
|
+
content:
|
|
22678
|
+
application/problem+json:
|
|
22679
|
+
examples:
|
|
22680
|
+
Domain Management Error:
|
|
22681
|
+
value:
|
|
22682
|
+
code: ERROR_NORID_DECLARATION_NOT_FOUND
|
|
22683
|
+
detail: Additional error context.
|
|
22684
|
+
status: 404
|
|
22685
|
+
title: Domain Management Error
|
|
22686
|
+
type: nor-id-declaration-not-found
|
|
22687
|
+
schema:
|
|
22688
|
+
$ref: '#/components/schemas/Problem'
|
|
22689
|
+
description: Not Found
|
|
22690
|
+
'409':
|
|
22691
|
+
content:
|
|
22692
|
+
application/problem+json:
|
|
22693
|
+
example:
|
|
22694
|
+
code: ERROR_NORID_DECLARATION_STATE
|
|
22695
|
+
detail: The applicant declaration is not in a valid state
|
|
22696
|
+
domain_name: Additional error context.
|
|
22697
|
+
status: 409
|
|
22698
|
+
title: Domain Management Error
|
|
22699
|
+
type: nor-id-declaration-state
|
|
22700
|
+
schema:
|
|
22701
|
+
$ref: '#/components/schemas/Problem'
|
|
22702
|
+
description: Conflict
|
|
22703
|
+
'422':
|
|
22704
|
+
content:
|
|
22705
|
+
application/problem+json:
|
|
22706
|
+
schema:
|
|
22707
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
22708
|
+
description: Validation Error
|
|
22709
|
+
security:
|
|
22710
|
+
- OAuth2PasswordBearer: []
|
|
22711
|
+
- APIKeyHeader: []
|
|
22712
|
+
summary: Submit the .no applicant declaration on behalf of the subscriber
|
|
22713
|
+
tags:
|
|
22714
|
+
- domain
|
|
22715
|
+
- domain_tld_specific
|
|
22716
|
+
x-required-permissions:
|
|
22717
|
+
- domains:manage
|
|
22718
|
+
/v1/domains/tld-specific/no/{domain_reference}/resend-declaration-email:
|
|
22719
|
+
post:
|
|
22720
|
+
operationId: resend_norid_declaration_email_v1_domains_tld_specific_no__domain_reference__resend_declaration_email_post
|
|
22721
|
+
parameters:
|
|
22722
|
+
- in: path
|
|
22723
|
+
name: domain_reference
|
|
22724
|
+
required: true
|
|
22725
|
+
schema:
|
|
22726
|
+
anyOf:
|
|
22727
|
+
- examples:
|
|
22728
|
+
- domain_01h45ytscbebyvny4gc8cr8ma2
|
|
22729
|
+
format: typeid
|
|
22730
|
+
pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
22731
|
+
type: string
|
|
22732
|
+
x-typeid-prefix: domain
|
|
22733
|
+
- type: string
|
|
22734
|
+
title: Domain Reference
|
|
22735
|
+
- $ref: '#/components/parameters/DatetimeFormatHeader'
|
|
22736
|
+
responses:
|
|
22737
|
+
'204':
|
|
22738
|
+
description: Successful Response
|
|
22739
|
+
'404':
|
|
22740
|
+
content:
|
|
22741
|
+
application/problem+json:
|
|
22742
|
+
examples:
|
|
22743
|
+
Domain Management Error:
|
|
22744
|
+
value:
|
|
22745
|
+
code: ERROR_NORID_DECLARATION_NOT_FOUND
|
|
22746
|
+
detail: Additional error context.
|
|
22747
|
+
status: 404
|
|
22748
|
+
title: Domain Management Error
|
|
22749
|
+
type: nor-id-declaration-not-found
|
|
22750
|
+
schema:
|
|
22751
|
+
$ref: '#/components/schemas/Problem'
|
|
22752
|
+
description: Not Found
|
|
22753
|
+
'409':
|
|
22754
|
+
content:
|
|
22755
|
+
application/problem+json:
|
|
22756
|
+
example:
|
|
22757
|
+
code: ERROR_NORID_DECLARATION_STATE
|
|
22758
|
+
detail: The applicant declaration is not in a valid state
|
|
22759
|
+
domain_name: Additional error context.
|
|
22760
|
+
status: 409
|
|
22761
|
+
title: Domain Management Error
|
|
22762
|
+
type: nor-id-declaration-state
|
|
22763
|
+
schema:
|
|
22764
|
+
$ref: '#/components/schemas/Problem'
|
|
22765
|
+
description: Conflict
|
|
22766
|
+
'422':
|
|
22767
|
+
content:
|
|
22768
|
+
application/problem+json:
|
|
22769
|
+
schema:
|
|
22770
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
22771
|
+
description: Validation Error
|
|
22772
|
+
security:
|
|
22773
|
+
- OAuth2PasswordBearer: []
|
|
22774
|
+
- APIKeyHeader: []
|
|
22775
|
+
summary: Resend the .no applicant declaration email to the registrant
|
|
22776
|
+
tags:
|
|
22777
|
+
- domain
|
|
22778
|
+
- domain_tld_specific
|
|
22779
|
+
x-required-permissions:
|
|
22780
|
+
- domains:manage
|
|
22415
22781
|
/v1/domains/transfer:
|
|
22416
22782
|
post:
|
|
22417
22783
|
description: 'Start the transfer process for a domain <br>
|
package/src/schema.d.ts
CHANGED
|
@@ -1253,6 +1253,64 @@ export interface paths {
|
|
|
1253
1253
|
patch?: never;
|
|
1254
1254
|
trace?: never;
|
|
1255
1255
|
};
|
|
1256
|
+
"/v1/domains/tld-specific/no/applicant-declaration": {
|
|
1257
|
+
parameters: {
|
|
1258
|
+
query?: never;
|
|
1259
|
+
header?: never;
|
|
1260
|
+
path?: never;
|
|
1261
|
+
cookie?: never;
|
|
1262
|
+
};
|
|
1263
|
+
/** Retrieve the .no applicant declaration by token */
|
|
1264
|
+
get: operations["get_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_get"];
|
|
1265
|
+
/**
|
|
1266
|
+
* Sign the .no applicant declaration with token
|
|
1267
|
+
* @description Records the applicant declaration signature (`acceptName` + `acceptDate`) and queues the actual registration at Norid.
|
|
1268
|
+
*/
|
|
1269
|
+
put: operations["confirm_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_put"];
|
|
1270
|
+
post?: never;
|
|
1271
|
+
delete?: never;
|
|
1272
|
+
options?: never;
|
|
1273
|
+
head?: never;
|
|
1274
|
+
patch?: never;
|
|
1275
|
+
trace?: never;
|
|
1276
|
+
};
|
|
1277
|
+
"/v1/domains/tld-specific/no/{domain_reference}/applicant-declaration": {
|
|
1278
|
+
parameters: {
|
|
1279
|
+
query?: never;
|
|
1280
|
+
header?: never;
|
|
1281
|
+
path?: never;
|
|
1282
|
+
cookie?: never;
|
|
1283
|
+
};
|
|
1284
|
+
get?: never;
|
|
1285
|
+
put?: never;
|
|
1286
|
+
/**
|
|
1287
|
+
* Submit the .no applicant declaration on behalf of the subscriber
|
|
1288
|
+
* @description Records the applicant declaration signature collected by the registrar (e.g. via Norid's own signing tool) and queues the actual registration at Norid, without the registrant email round-trip.
|
|
1289
|
+
*/
|
|
1290
|
+
post: operations["submit_norid_declaration_v1_domains_tld_specific_no__domain_reference__applicant_declaration_post"];
|
|
1291
|
+
delete?: never;
|
|
1292
|
+
options?: never;
|
|
1293
|
+
head?: never;
|
|
1294
|
+
patch?: never;
|
|
1295
|
+
trace?: never;
|
|
1296
|
+
};
|
|
1297
|
+
"/v1/domains/tld-specific/no/{domain_reference}/resend-declaration-email": {
|
|
1298
|
+
parameters: {
|
|
1299
|
+
query?: never;
|
|
1300
|
+
header?: never;
|
|
1301
|
+
path?: never;
|
|
1302
|
+
cookie?: never;
|
|
1303
|
+
};
|
|
1304
|
+
get?: never;
|
|
1305
|
+
put?: never;
|
|
1306
|
+
/** Resend the .no applicant declaration email to the registrant */
|
|
1307
|
+
post: operations["resend_norid_declaration_email_v1_domains_tld_specific_no__domain_reference__resend_declaration_email_post"];
|
|
1308
|
+
delete?: never;
|
|
1309
|
+
options?: never;
|
|
1310
|
+
head?: never;
|
|
1311
|
+
patch?: never;
|
|
1312
|
+
trace?: never;
|
|
1313
|
+
};
|
|
1256
1314
|
"/v1/domains/transfer": {
|
|
1257
1315
|
parameters: {
|
|
1258
1316
|
query?: never;
|
|
@@ -4945,7 +5003,7 @@ export interface components {
|
|
|
4945
5003
|
* DomainAttributeKey
|
|
4946
5004
|
* @enum {string}
|
|
4947
5005
|
*/
|
|
4948
|
-
DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation" | "nic_it_compliance_confirmation" | "travel_industry_acknowledgement" | "verification_required" | "de_general_request_contact" | "de_abuse_contact" | "nor_id_applicant_version" | "nor_id_applicant_accept_name" | "nor_id_applicant_accept_date";
|
|
5006
|
+
DomainAttributeKey: "auto_renew_period" | "music_registrant_attestation" | "nic_it_compliance_confirmation" | "travel_industry_acknowledgement" | "verification_required" | "de_general_request_contact" | "de_abuse_contact" | "nor_id_applicant_version" | "nor_id_applicant_accept_name" | "nor_id_applicant_accept_date" | "nor_id_declaration" | "nor_id_declaration_token";
|
|
4949
5007
|
/** DomainAvailability */
|
|
4950
5008
|
DomainAvailability: {
|
|
4951
5009
|
/** Domain */
|
|
@@ -8559,6 +8617,83 @@ export interface components {
|
|
|
8559
8617
|
*/
|
|
8560
8618
|
ip_addresses?: string[];
|
|
8561
8619
|
};
|
|
8620
|
+
/** NorIdDeclarationConfirmRequest */
|
|
8621
|
+
NorIdDeclarationConfirmRequest: {
|
|
8622
|
+
/**
|
|
8623
|
+
* Accept Name
|
|
8624
|
+
* @description The full name of the person signing the applicant declaration. For private individuals this is the subscriber personally; for organizations it must be an authorized representative.
|
|
8625
|
+
*/
|
|
8626
|
+
accept_name: string;
|
|
8627
|
+
};
|
|
8628
|
+
/** NorIdDeclarationResponse */
|
|
8629
|
+
NorIdDeclarationResponse: {
|
|
8630
|
+
/**
|
|
8631
|
+
* Declaration Contract Text
|
|
8632
|
+
* @description The fixed Norwegian declaration contract text
|
|
8633
|
+
*/
|
|
8634
|
+
declaration_contract_text: string;
|
|
8635
|
+
/**
|
|
8636
|
+
* Declaration Header
|
|
8637
|
+
* @description The fixed Norwegian declaration header
|
|
8638
|
+
*/
|
|
8639
|
+
declaration_header: string;
|
|
8640
|
+
/**
|
|
8641
|
+
* Declaration Introduction
|
|
8642
|
+
* @description The fixed Norwegian declaration introduction
|
|
8643
|
+
*/
|
|
8644
|
+
declaration_introduction: string;
|
|
8645
|
+
/**
|
|
8646
|
+
* Declaration Version
|
|
8647
|
+
* @description The applicant declaration text version
|
|
8648
|
+
*/
|
|
8649
|
+
declaration_version: string;
|
|
8650
|
+
/**
|
|
8651
|
+
* Domain Name
|
|
8652
|
+
* @description The domain name the declaration applies to
|
|
8653
|
+
*/
|
|
8654
|
+
domain_name: string;
|
|
8655
|
+
/**
|
|
8656
|
+
* Expires On
|
|
8657
|
+
* Format: date-time
|
|
8658
|
+
* @description When the unconfirmed create request expires
|
|
8659
|
+
*/
|
|
8660
|
+
expires_on: Date;
|
|
8661
|
+
/**
|
|
8662
|
+
* Identity Type
|
|
8663
|
+
* @description The subscriber identity type
|
|
8664
|
+
*/
|
|
8665
|
+
identity_type?: string | null;
|
|
8666
|
+
/**
|
|
8667
|
+
* Identity Value
|
|
8668
|
+
* @description The subscriber identity (organization number or Person-ID)
|
|
8669
|
+
*/
|
|
8670
|
+
identity_value?: string | null;
|
|
8671
|
+
/** @description The declaration status */
|
|
8672
|
+
status: components["schemas"]["NorIdDeclarationStatus"];
|
|
8673
|
+
/**
|
|
8674
|
+
* Subscriber Name
|
|
8675
|
+
* @description The domain name subscriber (registrant)
|
|
8676
|
+
*/
|
|
8677
|
+
subscriber_name: string;
|
|
8678
|
+
};
|
|
8679
|
+
/**
|
|
8680
|
+
* NorIdDeclarationStatus
|
|
8681
|
+
* @enum {string}
|
|
8682
|
+
*/
|
|
8683
|
+
NorIdDeclarationStatus: "pending" | "confirmed" | "completed" | "expired" | "failed";
|
|
8684
|
+
/** NorIdResellerDeclarationRequest */
|
|
8685
|
+
NorIdResellerDeclarationRequest: {
|
|
8686
|
+
/**
|
|
8687
|
+
* Accept Date
|
|
8688
|
+
* @description UTC timestamp of the declaration signature. Only provide it when the declaration was signed out-of-band (e.g. via Norid's own tool); defaults to the submission time.
|
|
8689
|
+
*/
|
|
8690
|
+
accept_date?: Date | null;
|
|
8691
|
+
/**
|
|
8692
|
+
* Accept Name
|
|
8693
|
+
* @description The full name of the person signing the applicant declaration. For private individuals this is the subscriber personally; for organizations it must be an authorized representative.
|
|
8694
|
+
*/
|
|
8695
|
+
accept_name: string;
|
|
8696
|
+
};
|
|
8562
8697
|
/**
|
|
8563
8698
|
* ObjectEventType
|
|
8564
8699
|
* @enum {string}
|
|
@@ -18472,6 +18607,293 @@ export interface operations {
|
|
|
18472
18607
|
};
|
|
18473
18608
|
};
|
|
18474
18609
|
};
|
|
18610
|
+
get_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_get: {
|
|
18611
|
+
parameters: {
|
|
18612
|
+
query: {
|
|
18613
|
+
token: string;
|
|
18614
|
+
};
|
|
18615
|
+
header?: {
|
|
18616
|
+
/**
|
|
18617
|
+
* @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.
|
|
18618
|
+
* @example rfc3339
|
|
18619
|
+
*/
|
|
18620
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
18621
|
+
};
|
|
18622
|
+
path?: never;
|
|
18623
|
+
cookie?: never;
|
|
18624
|
+
};
|
|
18625
|
+
requestBody?: never;
|
|
18626
|
+
responses: {
|
|
18627
|
+
/** @description Successful Response */
|
|
18628
|
+
200: {
|
|
18629
|
+
headers: {
|
|
18630
|
+
[name: string]: unknown;
|
|
18631
|
+
};
|
|
18632
|
+
content: {
|
|
18633
|
+
"application/json": components["schemas"]["NorIdDeclarationResponse"];
|
|
18634
|
+
};
|
|
18635
|
+
};
|
|
18636
|
+
/** @description Not Found */
|
|
18637
|
+
404: {
|
|
18638
|
+
headers: {
|
|
18639
|
+
[name: string]: unknown;
|
|
18640
|
+
};
|
|
18641
|
+
content: {
|
|
18642
|
+
/** @example {
|
|
18643
|
+
* "code": "ERROR_NORID_DECLARATION_NOT_FOUND",
|
|
18644
|
+
* "detail": "Additional error context.",
|
|
18645
|
+
* "status": 404,
|
|
18646
|
+
* "title": "Domain Management Error",
|
|
18647
|
+
* "type": "nor-id-declaration-not-found"
|
|
18648
|
+
* } */
|
|
18649
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18650
|
+
};
|
|
18651
|
+
};
|
|
18652
|
+
/** @description Validation Error */
|
|
18653
|
+
422: {
|
|
18654
|
+
headers: {
|
|
18655
|
+
[name: string]: unknown;
|
|
18656
|
+
};
|
|
18657
|
+
content: {
|
|
18658
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
18659
|
+
};
|
|
18660
|
+
};
|
|
18661
|
+
};
|
|
18662
|
+
};
|
|
18663
|
+
confirm_norid_declaration_by_token_v1_domains_tld_specific_no_applicant_declaration_put: {
|
|
18664
|
+
parameters: {
|
|
18665
|
+
query: {
|
|
18666
|
+
token: string;
|
|
18667
|
+
};
|
|
18668
|
+
header?: {
|
|
18669
|
+
/**
|
|
18670
|
+
* @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.
|
|
18671
|
+
* @example rfc3339
|
|
18672
|
+
*/
|
|
18673
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
18674
|
+
};
|
|
18675
|
+
path?: never;
|
|
18676
|
+
cookie?: never;
|
|
18677
|
+
};
|
|
18678
|
+
requestBody: {
|
|
18679
|
+
content: {
|
|
18680
|
+
"application/json": components["schemas"]["NorIdDeclarationConfirmRequest"];
|
|
18681
|
+
};
|
|
18682
|
+
};
|
|
18683
|
+
responses: {
|
|
18684
|
+
/** @description Successful Response */
|
|
18685
|
+
204: {
|
|
18686
|
+
headers: {
|
|
18687
|
+
[name: string]: unknown;
|
|
18688
|
+
};
|
|
18689
|
+
content?: never;
|
|
18690
|
+
};
|
|
18691
|
+
/** @description Bad Request */
|
|
18692
|
+
400: {
|
|
18693
|
+
headers: {
|
|
18694
|
+
[name: string]: unknown;
|
|
18695
|
+
};
|
|
18696
|
+
content: {
|
|
18697
|
+
/** @example {
|
|
18698
|
+
* "code": "ERROR_NORID_DECLARATION_EXPIRED",
|
|
18699
|
+
* "detail": "The applicant declaration request has expired",
|
|
18700
|
+
* "domain_name": "Additional error context.",
|
|
18701
|
+
* "status": 400,
|
|
18702
|
+
* "title": "Domain Management Error",
|
|
18703
|
+
* "type": "nor-id-declaration-expired"
|
|
18704
|
+
* } */
|
|
18705
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18706
|
+
};
|
|
18707
|
+
};
|
|
18708
|
+
/** @description Not Found */
|
|
18709
|
+
404: {
|
|
18710
|
+
headers: {
|
|
18711
|
+
[name: string]: unknown;
|
|
18712
|
+
};
|
|
18713
|
+
content: {
|
|
18714
|
+
/** @example {
|
|
18715
|
+
* "code": "ERROR_NORID_DECLARATION_NOT_FOUND",
|
|
18716
|
+
* "detail": "Additional error context.",
|
|
18717
|
+
* "status": 404,
|
|
18718
|
+
* "title": "Domain Management Error",
|
|
18719
|
+
* "type": "nor-id-declaration-not-found"
|
|
18720
|
+
* } */
|
|
18721
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18722
|
+
};
|
|
18723
|
+
};
|
|
18724
|
+
/** @description Conflict */
|
|
18725
|
+
409: {
|
|
18726
|
+
headers: {
|
|
18727
|
+
[name: string]: unknown;
|
|
18728
|
+
};
|
|
18729
|
+
content: {
|
|
18730
|
+
/** @example {
|
|
18731
|
+
* "code": "ERROR_NORID_DECLARATION_STATE",
|
|
18732
|
+
* "detail": "The applicant declaration is not in a valid state",
|
|
18733
|
+
* "domain_name": "Additional error context.",
|
|
18734
|
+
* "status": 409,
|
|
18735
|
+
* "title": "Domain Management Error",
|
|
18736
|
+
* "type": "nor-id-declaration-state"
|
|
18737
|
+
* } */
|
|
18738
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18739
|
+
};
|
|
18740
|
+
};
|
|
18741
|
+
/** @description Validation Error */
|
|
18742
|
+
422: {
|
|
18743
|
+
headers: {
|
|
18744
|
+
[name: string]: unknown;
|
|
18745
|
+
};
|
|
18746
|
+
content: {
|
|
18747
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
18748
|
+
};
|
|
18749
|
+
};
|
|
18750
|
+
};
|
|
18751
|
+
};
|
|
18752
|
+
submit_norid_declaration_v1_domains_tld_specific_no__domain_reference__applicant_declaration_post: {
|
|
18753
|
+
parameters: {
|
|
18754
|
+
query?: never;
|
|
18755
|
+
header?: {
|
|
18756
|
+
/**
|
|
18757
|
+
* @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.
|
|
18758
|
+
* @example rfc3339
|
|
18759
|
+
*/
|
|
18760
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
18761
|
+
};
|
|
18762
|
+
path: {
|
|
18763
|
+
domain_reference: TypeId<"domain"> | string;
|
|
18764
|
+
};
|
|
18765
|
+
cookie?: never;
|
|
18766
|
+
};
|
|
18767
|
+
requestBody: {
|
|
18768
|
+
content: {
|
|
18769
|
+
"application/json": components["schemas"]["NorIdResellerDeclarationRequest"];
|
|
18770
|
+
};
|
|
18771
|
+
};
|
|
18772
|
+
responses: {
|
|
18773
|
+
/** @description Successful Response */
|
|
18774
|
+
202: {
|
|
18775
|
+
headers: {
|
|
18776
|
+
[name: string]: unknown;
|
|
18777
|
+
};
|
|
18778
|
+
content: {
|
|
18779
|
+
"application/json": components["schemas"]["NorIdDeclarationResponse"];
|
|
18780
|
+
};
|
|
18781
|
+
};
|
|
18782
|
+
/** @description Bad Request */
|
|
18783
|
+
400: {
|
|
18784
|
+
headers: {
|
|
18785
|
+
[name: string]: unknown;
|
|
18786
|
+
};
|
|
18787
|
+
content: {
|
|
18788
|
+
/** @example {
|
|
18789
|
+
* "code": "ERROR_NORID_DECLARATION_EXPIRED",
|
|
18790
|
+
* "detail": "The applicant declaration request has expired",
|
|
18791
|
+
* "domain_name": "Additional error context.",
|
|
18792
|
+
* "status": 400,
|
|
18793
|
+
* "title": "Domain Management Error",
|
|
18794
|
+
* "type": "nor-id-declaration-expired"
|
|
18795
|
+
* } */
|
|
18796
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18797
|
+
};
|
|
18798
|
+
};
|
|
18799
|
+
/** @description Not Found */
|
|
18800
|
+
404: {
|
|
18801
|
+
headers: {
|
|
18802
|
+
[name: string]: unknown;
|
|
18803
|
+
};
|
|
18804
|
+
content: {
|
|
18805
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18806
|
+
};
|
|
18807
|
+
};
|
|
18808
|
+
/** @description Conflict */
|
|
18809
|
+
409: {
|
|
18810
|
+
headers: {
|
|
18811
|
+
[name: string]: unknown;
|
|
18812
|
+
};
|
|
18813
|
+
content: {
|
|
18814
|
+
/** @example {
|
|
18815
|
+
* "code": "ERROR_NORID_DECLARATION_STATE",
|
|
18816
|
+
* "detail": "The applicant declaration is not in a valid state",
|
|
18817
|
+
* "domain_name": "Additional error context.",
|
|
18818
|
+
* "status": 409,
|
|
18819
|
+
* "title": "Domain Management Error",
|
|
18820
|
+
* "type": "nor-id-declaration-state"
|
|
18821
|
+
* } */
|
|
18822
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18823
|
+
};
|
|
18824
|
+
};
|
|
18825
|
+
/** @description Validation Error */
|
|
18826
|
+
422: {
|
|
18827
|
+
headers: {
|
|
18828
|
+
[name: string]: unknown;
|
|
18829
|
+
};
|
|
18830
|
+
content: {
|
|
18831
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
18832
|
+
};
|
|
18833
|
+
};
|
|
18834
|
+
};
|
|
18835
|
+
};
|
|
18836
|
+
resend_norid_declaration_email_v1_domains_tld_specific_no__domain_reference__resend_declaration_email_post: {
|
|
18837
|
+
parameters: {
|
|
18838
|
+
query?: never;
|
|
18839
|
+
header?: {
|
|
18840
|
+
/**
|
|
18841
|
+
* @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.
|
|
18842
|
+
* @example rfc3339
|
|
18843
|
+
*/
|
|
18844
|
+
"X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
|
|
18845
|
+
};
|
|
18846
|
+
path: {
|
|
18847
|
+
domain_reference: TypeId<"domain"> | string;
|
|
18848
|
+
};
|
|
18849
|
+
cookie?: never;
|
|
18850
|
+
};
|
|
18851
|
+
requestBody?: never;
|
|
18852
|
+
responses: {
|
|
18853
|
+
/** @description Successful Response */
|
|
18854
|
+
204: {
|
|
18855
|
+
headers: {
|
|
18856
|
+
[name: string]: unknown;
|
|
18857
|
+
};
|
|
18858
|
+
content?: never;
|
|
18859
|
+
};
|
|
18860
|
+
/** @description Not Found */
|
|
18861
|
+
404: {
|
|
18862
|
+
headers: {
|
|
18863
|
+
[name: string]: unknown;
|
|
18864
|
+
};
|
|
18865
|
+
content: {
|
|
18866
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18867
|
+
};
|
|
18868
|
+
};
|
|
18869
|
+
/** @description Conflict */
|
|
18870
|
+
409: {
|
|
18871
|
+
headers: {
|
|
18872
|
+
[name: string]: unknown;
|
|
18873
|
+
};
|
|
18874
|
+
content: {
|
|
18875
|
+
/** @example {
|
|
18876
|
+
* "code": "ERROR_NORID_DECLARATION_STATE",
|
|
18877
|
+
* "detail": "The applicant declaration is not in a valid state",
|
|
18878
|
+
* "domain_name": "Additional error context.",
|
|
18879
|
+
* "status": 409,
|
|
18880
|
+
* "title": "Domain Management Error",
|
|
18881
|
+
* "type": "nor-id-declaration-state"
|
|
18882
|
+
* } */
|
|
18883
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
18884
|
+
};
|
|
18885
|
+
};
|
|
18886
|
+
/** @description Validation Error */
|
|
18887
|
+
422: {
|
|
18888
|
+
headers: {
|
|
18889
|
+
[name: string]: unknown;
|
|
18890
|
+
};
|
|
18891
|
+
content: {
|
|
18892
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
18893
|
+
};
|
|
18894
|
+
};
|
|
18895
|
+
};
|
|
18896
|
+
};
|
|
18475
18897
|
transfer_domain_v1_domains_transfer_post: {
|
|
18476
18898
|
parameters: {
|
|
18477
18899
|
query?: never;
|