@opusdns/api 0.126.0 → 0.128.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 +2 -2
- package/src/helpers/constants.ts +107 -51
- package/src/helpers/keys.ts +1288 -744
- package/src/helpers/schemas.d.ts +131 -19
- package/src/openapi.yaml +168 -23
- package/src/schema.d.ts +113 -16
package/src/schema.d.ts
CHANGED
|
@@ -1839,6 +1839,7 @@ export interface components {
|
|
|
1839
1839
|
*/
|
|
1840
1840
|
contact_id: TypeId<"contact">;
|
|
1841
1841
|
};
|
|
1842
|
+
/** @description The contacts of the domain */
|
|
1842
1843
|
ContactIdList: {
|
|
1843
1844
|
[key: string]: TypeId<"contact">;
|
|
1844
1845
|
};
|
|
@@ -2240,6 +2241,10 @@ export interface components {
|
|
|
2240
2241
|
* @enum {string}
|
|
2241
2242
|
*/
|
|
2242
2243
|
DeletePolicyType: "immediate" | "expiration";
|
|
2244
|
+
/** DeletedEvent */
|
|
2245
|
+
DeletedEvent: {
|
|
2246
|
+
date: components["schemas"]["EppDateTime"];
|
|
2247
|
+
};
|
|
2243
2248
|
/**
|
|
2244
2249
|
* DnsChangeAction
|
|
2245
2250
|
* @enum {string}
|
|
@@ -2315,7 +2320,7 @@ export interface components {
|
|
|
2315
2320
|
};
|
|
2316
2321
|
/** DnsRecordPatchOp */
|
|
2317
2322
|
DnsRecordPatchOp: {
|
|
2318
|
-
op: components["schemas"]["
|
|
2323
|
+
op: components["schemas"]["common__schemas__dns__PatchOp"];
|
|
2319
2324
|
record: components["schemas"]["DnsRrsetWithOneRecordPatch"];
|
|
2320
2325
|
};
|
|
2321
2326
|
/** DnsRecordResponse */
|
|
@@ -2345,7 +2350,7 @@ export interface components {
|
|
|
2345
2350
|
};
|
|
2346
2351
|
/** DnsRrsetPatchOp */
|
|
2347
2352
|
DnsRrsetPatchOp: {
|
|
2348
|
-
op: components["schemas"]["
|
|
2353
|
+
op: components["schemas"]["common__schemas__dns__PatchOp"];
|
|
2349
2354
|
rrset: components["schemas"]["DnsRrsetPatch"];
|
|
2350
2355
|
};
|
|
2351
2356
|
/** DnsRrsetResponse */
|
|
@@ -2492,6 +2497,7 @@ export interface components {
|
|
|
2492
2497
|
* @enum {string}
|
|
2493
2498
|
*/
|
|
2494
2499
|
DomainClientStatus: "clientTransferProhibited" | "clientUpdateProhibited" | "clientDeleteProhibited" | "clientRenewProhibited" | "clientHold";
|
|
2500
|
+
/** @description The contacts of the domain */
|
|
2495
2501
|
DomainContactHandles: {
|
|
2496
2502
|
[key: string]: components["schemas"]["ContactHandle"][];
|
|
2497
2503
|
};
|
|
@@ -2674,7 +2680,7 @@ export interface components {
|
|
|
2674
2680
|
};
|
|
2675
2681
|
/** DomainForwardPatchOp */
|
|
2676
2682
|
DomainForwardPatchOp: {
|
|
2677
|
-
op: components["schemas"]["
|
|
2683
|
+
op: components["schemas"]["common__schemas__dns__PatchOp"];
|
|
2678
2684
|
/** Redirect */
|
|
2679
2685
|
redirect: components["schemas"]["HttpRedirectUpsert"] | components["schemas"]["HttpRedirectRemove"];
|
|
2680
2686
|
};
|
|
@@ -3514,6 +3520,8 @@ export interface components {
|
|
|
3514
3520
|
* @enum {string}
|
|
3515
3521
|
*/
|
|
3516
3522
|
EmailVerificationStatus: "verified" | "pending" | "canceled";
|
|
3523
|
+
/** EmptyEvent */
|
|
3524
|
+
EmptyEvent: Record<string, never>;
|
|
3517
3525
|
EppDateTime: Date | string;
|
|
3518
3526
|
/**
|
|
3519
3527
|
* EventObjectType
|
|
@@ -3523,7 +3531,9 @@ export interface components {
|
|
|
3523
3531
|
/** EventResponse */
|
|
3524
3532
|
EventResponse: {
|
|
3525
3533
|
/** Event Data */
|
|
3526
|
-
event_data:
|
|
3534
|
+
event_data: {
|
|
3535
|
+
[key: string]: unknown;
|
|
3536
|
+
};
|
|
3527
3537
|
/**
|
|
3528
3538
|
* Event Id
|
|
3529
3539
|
* Format: typeid
|
|
@@ -3643,11 +3653,60 @@ export interface components {
|
|
|
3643
3653
|
errors: components["schemas"]["ValidationError"][];
|
|
3644
3654
|
/** Status code */
|
|
3645
3655
|
status: number;
|
|
3646
|
-
/** Problem
|
|
3656
|
+
/** Problem title */
|
|
3647
3657
|
title: string;
|
|
3648
3658
|
/** Problem type */
|
|
3649
3659
|
type: string;
|
|
3650
3660
|
};
|
|
3661
|
+
/** HostSchema */
|
|
3662
|
+
HostSchema: {
|
|
3663
|
+
/**
|
|
3664
|
+
* Created On
|
|
3665
|
+
* Format: date-time
|
|
3666
|
+
* @description The date/time the entry was created on
|
|
3667
|
+
*/
|
|
3668
|
+
created_on?: Date;
|
|
3669
|
+
/**
|
|
3670
|
+
* Domain Id
|
|
3671
|
+
* Format: typeid
|
|
3672
|
+
* @description The domain that the host object belongs to
|
|
3673
|
+
* @default None
|
|
3674
|
+
* @example domain_01h45ytscbebyvny4gc8cr8ma2
|
|
3675
|
+
*/
|
|
3676
|
+
domain_id: TypeId<"domain">;
|
|
3677
|
+
/**
|
|
3678
|
+
* Host Id
|
|
3679
|
+
* Format: typeid
|
|
3680
|
+
* @example host_01h45ytscbebyvny4gc8cr8ma2
|
|
3681
|
+
*/
|
|
3682
|
+
host_id?: TypeId<"host">;
|
|
3683
|
+
/**
|
|
3684
|
+
* Hostname
|
|
3685
|
+
* @description Hostname of the host object
|
|
3686
|
+
*/
|
|
3687
|
+
hostname: string;
|
|
3688
|
+
/**
|
|
3689
|
+
* Registry Account Id
|
|
3690
|
+
* @description The registry account that the host object belongs to
|
|
3691
|
+
*/
|
|
3692
|
+
registry_account_id?: TypeId<"registry_account"> | null;
|
|
3693
|
+
/**
|
|
3694
|
+
* @description Status of the host object
|
|
3695
|
+
* @default inactive
|
|
3696
|
+
*/
|
|
3697
|
+
status: components["schemas"]["HostStatus"];
|
|
3698
|
+
/**
|
|
3699
|
+
* Updated On
|
|
3700
|
+
* Format: date-time
|
|
3701
|
+
* @description The date/time the entry was last updated on
|
|
3702
|
+
*/
|
|
3703
|
+
updated_on?: Date;
|
|
3704
|
+
};
|
|
3705
|
+
/**
|
|
3706
|
+
* HostStatus
|
|
3707
|
+
* @enum {string}
|
|
3708
|
+
*/
|
|
3709
|
+
HostStatus: "requested_create" | "pending_create" | "active" | "inactive" | "pending_delete";
|
|
3651
3710
|
/**
|
|
3652
3711
|
* HttpProtocol
|
|
3653
3712
|
* @enum {string}
|
|
@@ -3979,7 +4038,9 @@ export interface components {
|
|
|
3979
4038
|
* Details
|
|
3980
4039
|
* @description Changes made to the object
|
|
3981
4040
|
*/
|
|
3982
|
-
details?:
|
|
4041
|
+
details?: {
|
|
4042
|
+
[key: string]: unknown;
|
|
4043
|
+
} | null;
|
|
3983
4044
|
/**
|
|
3984
4045
|
* Object Id
|
|
3985
4046
|
* @description ID of the object
|
|
@@ -4594,11 +4655,6 @@ export interface components {
|
|
|
4594
4655
|
*/
|
|
4595
4656
|
new_password: string;
|
|
4596
4657
|
};
|
|
4597
|
-
/**
|
|
4598
|
-
* PatchOp
|
|
4599
|
-
* @enum {string}
|
|
4600
|
-
*/
|
|
4601
|
-
PatchOp: "upsert" | "remove";
|
|
4602
4658
|
/** Period */
|
|
4603
4659
|
Period: {
|
|
4604
4660
|
/** @description The unit of the period */
|
|
@@ -4688,10 +4744,10 @@ export interface components {
|
|
|
4688
4744
|
/** Problem */
|
|
4689
4745
|
Problem: {
|
|
4690
4746
|
/** Problem detail */
|
|
4691
|
-
detail
|
|
4747
|
+
detail?: string | null;
|
|
4692
4748
|
/** Status code */
|
|
4693
4749
|
status: number;
|
|
4694
|
-
/** Problem
|
|
4750
|
+
/** Problem title */
|
|
4695
4751
|
title: string;
|
|
4696
4752
|
/** Problem type */
|
|
4697
4753
|
type: string;
|
|
@@ -4773,6 +4829,15 @@ export interface components {
|
|
|
4773
4829
|
/** Relations */
|
|
4774
4830
|
relations?: components["schemas"]["Relation"][];
|
|
4775
4831
|
};
|
|
4832
|
+
/** RenewalEvent */
|
|
4833
|
+
RenewalEvent: {
|
|
4834
|
+
/**
|
|
4835
|
+
* Registration Expiration Date
|
|
4836
|
+
* Format: date-time
|
|
4837
|
+
* @description The new expiration date/time after the domain has been renewed
|
|
4838
|
+
*/
|
|
4839
|
+
registration_expiration_date: Date;
|
|
4840
|
+
};
|
|
4776
4841
|
/**
|
|
4777
4842
|
* RenewalMode
|
|
4778
4843
|
* @enum {string}
|
|
@@ -4814,7 +4879,9 @@ export interface components {
|
|
|
4814
4879
|
* Request Body
|
|
4815
4880
|
* @description Request body
|
|
4816
4881
|
*/
|
|
4817
|
-
request_body?:
|
|
4882
|
+
request_body?: {
|
|
4883
|
+
[key: string]: unknown;
|
|
4884
|
+
} | null;
|
|
4818
4885
|
/**
|
|
4819
4886
|
* Request Completed At
|
|
4820
4887
|
* Format: date-time
|
|
@@ -4831,7 +4898,9 @@ export interface components {
|
|
|
4831
4898
|
* Response Body
|
|
4832
4899
|
* @description Response body
|
|
4833
4900
|
*/
|
|
4834
|
-
response_body?:
|
|
4901
|
+
response_body?: {
|
|
4902
|
+
[key: string]: unknown;
|
|
4903
|
+
} | null;
|
|
4835
4904
|
/**
|
|
4836
4905
|
* Server Request Id
|
|
4837
4906
|
* @description Unique ID of the request
|
|
@@ -5013,6 +5082,17 @@ export interface components {
|
|
|
5013
5082
|
* @enum {string}
|
|
5014
5083
|
*/
|
|
5015
5084
|
TransferAckType: "none" | "registrar" | "registrant" | "both";
|
|
5085
|
+
/** TransferEvent */
|
|
5086
|
+
TransferEvent: {
|
|
5087
|
+
/** Current Registrar */
|
|
5088
|
+
current_registrar: string;
|
|
5089
|
+
execution_date: components["schemas"]["EppDateTime"];
|
|
5090
|
+
expiration_date: components["schemas"]["EppDateTime"] | null;
|
|
5091
|
+
/** Message */
|
|
5092
|
+
message: string;
|
|
5093
|
+
/** Requesting Registrar */
|
|
5094
|
+
requesting_registrar: string;
|
|
5095
|
+
};
|
|
5016
5096
|
/** TransferLockPolicyBase */
|
|
5017
5097
|
TransferLockPolicyBase: {
|
|
5018
5098
|
/**
|
|
@@ -5172,6 +5252,16 @@ export interface components {
|
|
|
5172
5252
|
/** @description Value of the attribute. */
|
|
5173
5253
|
value?: components["schemas"]["JsonValue"] | null;
|
|
5174
5254
|
};
|
|
5255
|
+
/** UserAttributeResponse */
|
|
5256
|
+
UserAttributeResponse: {
|
|
5257
|
+
/**
|
|
5258
|
+
* Key
|
|
5259
|
+
* @description Key of the attribute.
|
|
5260
|
+
*/
|
|
5261
|
+
key: string;
|
|
5262
|
+
/** @description Value of the attribute. */
|
|
5263
|
+
value?: components["schemas"]["JsonValue"] | null;
|
|
5264
|
+
};
|
|
5175
5265
|
/** UserCreate */
|
|
5176
5266
|
UserCreate: {
|
|
5177
5267
|
/**
|
|
@@ -5554,6 +5644,11 @@ export interface components {
|
|
|
5554
5644
|
/** Reason */
|
|
5555
5645
|
reason: string | null;
|
|
5556
5646
|
};
|
|
5647
|
+
/**
|
|
5648
|
+
* PatchOp
|
|
5649
|
+
* @enum {string}
|
|
5650
|
+
*/
|
|
5651
|
+
common__schemas__dns__PatchOp: "upsert" | "remove";
|
|
5557
5652
|
};
|
|
5558
5653
|
responses: never;
|
|
5559
5654
|
parameters: never;
|
|
@@ -11620,7 +11715,9 @@ export interface operations {
|
|
|
11620
11715
|
};
|
|
11621
11716
|
content: {
|
|
11622
11717
|
"application/json": {
|
|
11623
|
-
[key: string]:
|
|
11718
|
+
[key: string]: {
|
|
11719
|
+
[key: string]: unknown;
|
|
11720
|
+
}[];
|
|
11624
11721
|
};
|
|
11625
11722
|
};
|
|
11626
11723
|
};
|