@opusdns/api 0.265.0 → 0.267.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 +49 -1
- package/src/helpers/keys.ts +158 -360
- package/src/helpers/requests.d.ts +18 -0
- package/src/helpers/responses.d.ts +6 -0
- package/src/helpers/schemas-arrays.d.ts +29 -15
- package/src/helpers/schemas.d.ts +32 -96
- package/src/openapi.yaml +99 -81
- package/src/schema.d.ts +46 -47
package/src/schema.d.ts
CHANGED
|
@@ -3396,10 +3396,6 @@ export interface components {
|
|
|
3396
3396
|
* @enum {string}
|
|
3397
3397
|
*/
|
|
3398
3398
|
DeletePolicyType: "immediate" | "expiration";
|
|
3399
|
-
/** DeletedEvent */
|
|
3400
|
-
DeletedEvent: {
|
|
3401
|
-
date: components["schemas"]["EppDateTime"];
|
|
3402
|
-
};
|
|
3403
3399
|
/**
|
|
3404
3400
|
* DnsChangeAction
|
|
3405
3401
|
* @enum {string}
|
|
@@ -3770,6 +3766,13 @@ export interface components {
|
|
|
3770
3766
|
* @description The date/time the entry was created on
|
|
3771
3767
|
*/
|
|
3772
3768
|
created_on?: Date;
|
|
3769
|
+
/**
|
|
3770
|
+
* Dns Zone Id
|
|
3771
|
+
* Format: typeid
|
|
3772
|
+
* @description The unique identifier of the zone
|
|
3773
|
+
* @example zone_01h45ytscbebyvny4gc8cr8ma2
|
|
3774
|
+
*/
|
|
3775
|
+
dns_zone_id: TypeId<"zone">;
|
|
3773
3776
|
/** @default disabled */
|
|
3774
3777
|
dnssec_status: components["schemas"]["DnssecStatus"];
|
|
3775
3778
|
domain_parts?: components["schemas"]["DomainNameParts"];
|
|
@@ -3777,6 +3780,11 @@ export interface components {
|
|
|
3777
3780
|
name: string;
|
|
3778
3781
|
/** Rrsets */
|
|
3779
3782
|
rrsets?: components["schemas"]["DnsRrsetResponse"][];
|
|
3783
|
+
/**
|
|
3784
|
+
* Tags
|
|
3785
|
+
* @description Tags assigned to this zone. Only included when ?include=tags is specified.
|
|
3786
|
+
*/
|
|
3787
|
+
tags?: components["schemas"]["TagEnrichedResponse"][] | null;
|
|
3780
3788
|
/**
|
|
3781
3789
|
* Updated On
|
|
3782
3790
|
* Format: date-time
|
|
@@ -4704,7 +4712,7 @@ export interface components {
|
|
|
4704
4712
|
* Tags
|
|
4705
4713
|
* @description Tags assigned to this domain. Only included when ?include=tags is specified.
|
|
4706
4714
|
*/
|
|
4707
|
-
tags?: components["schemas"]["
|
|
4715
|
+
tags?: components["schemas"]["TagEnrichedResponse"][] | null;
|
|
4708
4716
|
/**
|
|
4709
4717
|
* Tld
|
|
4710
4718
|
* @description The top level domain of the domain
|
|
@@ -4868,23 +4876,6 @@ export interface components {
|
|
|
4868
4876
|
*/
|
|
4869
4877
|
organization_id: TypeId<"organization">;
|
|
4870
4878
|
};
|
|
4871
|
-
/** DomainTagEnrichedResponse */
|
|
4872
|
-
DomainTagEnrichedResponse: {
|
|
4873
|
-
/** @description The color of the tag */
|
|
4874
|
-
color: components["schemas"]["TagColor"];
|
|
4875
|
-
/**
|
|
4876
|
-
* Label
|
|
4877
|
-
* @description The label of the tag
|
|
4878
|
-
*/
|
|
4879
|
-
label: string;
|
|
4880
|
-
/**
|
|
4881
|
-
* Tag Id
|
|
4882
|
-
* Format: typeid
|
|
4883
|
-
* @description The unique identifier of the tag
|
|
4884
|
-
* @example tag_01h45ytscbebyvny4gc8cr8ma2
|
|
4885
|
-
*/
|
|
4886
|
-
tag_id: TypeId<"tag">;
|
|
4887
|
-
};
|
|
4888
4879
|
/** DomainTransferBulkCommand */
|
|
4889
4880
|
DomainTransferBulkCommand: {
|
|
4890
4881
|
/**
|
|
@@ -5679,9 +5670,6 @@ export interface components {
|
|
|
5679
5670
|
* @enum {string}
|
|
5680
5671
|
*/
|
|
5681
5672
|
EmailVerificationStatus: "verified" | "pending" | "canceled";
|
|
5682
|
-
/** EmptyEvent */
|
|
5683
|
-
EmptyEvent: Record<string, never>;
|
|
5684
|
-
EppDateTime: Date | string;
|
|
5685
5673
|
/**
|
|
5686
5674
|
* EventObjectType
|
|
5687
5675
|
* @enum {string}
|
|
@@ -5701,7 +5689,7 @@ export interface components {
|
|
|
5701
5689
|
*/
|
|
5702
5690
|
created_on: Date;
|
|
5703
5691
|
/** Event Data */
|
|
5704
|
-
event_data
|
|
5692
|
+
event_data?: {
|
|
5705
5693
|
[key: string]: unknown;
|
|
5706
5694
|
};
|
|
5707
5695
|
/**
|
|
@@ -7927,15 +7915,6 @@ export interface components {
|
|
|
7927
7915
|
/** Relations */
|
|
7928
7916
|
relations?: components["schemas"]["Relation"][];
|
|
7929
7917
|
};
|
|
7930
|
-
/** RenewalEvent */
|
|
7931
|
-
RenewalEvent: {
|
|
7932
|
-
/**
|
|
7933
|
-
* Registration Expiration Date
|
|
7934
|
-
* Format: date-time
|
|
7935
|
-
* @description The new expiration date/time after the domain has been renewed
|
|
7936
|
-
*/
|
|
7937
|
-
registration_expiration_date: Date;
|
|
7938
|
-
};
|
|
7939
7918
|
/**
|
|
7940
7919
|
* RenewalMode
|
|
7941
7920
|
* @enum {string}
|
|
@@ -8142,6 +8121,23 @@ export interface components {
|
|
|
8142
8121
|
/** @description Which category a tag applies to, cannot be changed once created */
|
|
8143
8122
|
type: components["schemas"]["TagType"];
|
|
8144
8123
|
};
|
|
8124
|
+
/** TagEnrichedResponse */
|
|
8125
|
+
TagEnrichedResponse: {
|
|
8126
|
+
/** @description The color of the tag */
|
|
8127
|
+
color: components["schemas"]["TagColor"];
|
|
8128
|
+
/**
|
|
8129
|
+
* Label
|
|
8130
|
+
* @description The label of the tag
|
|
8131
|
+
*/
|
|
8132
|
+
label: string;
|
|
8133
|
+
/**
|
|
8134
|
+
* Tag Id
|
|
8135
|
+
* Format: typeid
|
|
8136
|
+
* @description The unique identifier of the tag
|
|
8137
|
+
* @example tag_01h45ytscbebyvny4gc8cr8ma2
|
|
8138
|
+
*/
|
|
8139
|
+
tag_id: TypeId<"tag">;
|
|
8140
|
+
};
|
|
8145
8141
|
/**
|
|
8146
8142
|
* TagFilterMode
|
|
8147
8143
|
* @enum {string}
|
|
@@ -8335,17 +8331,6 @@ export interface components {
|
|
|
8335
8331
|
* @enum {string}
|
|
8336
8332
|
*/
|
|
8337
8333
|
TransferAckType: "none" | "registrar" | "registrant" | "both";
|
|
8338
|
-
/** TransferEvent */
|
|
8339
|
-
TransferEvent: {
|
|
8340
|
-
/** Current Registrar */
|
|
8341
|
-
current_registrar: string;
|
|
8342
|
-
execution_date: components["schemas"]["EppDateTime"];
|
|
8343
|
-
expiration_date: components["schemas"]["EppDateTime"] | null;
|
|
8344
|
-
/** Message */
|
|
8345
|
-
message: string;
|
|
8346
|
-
/** Requesting Registrar */
|
|
8347
|
-
requesting_registrar: string;
|
|
8348
|
-
};
|
|
8349
8334
|
/** TransferLockPolicyBase */
|
|
8350
8335
|
TransferLockPolicyBase: {
|
|
8351
8336
|
/**
|
|
@@ -8932,6 +8917,11 @@ export interface components {
|
|
|
8932
8917
|
*/
|
|
8933
8918
|
whois_server?: string | null;
|
|
8934
8919
|
};
|
|
8920
|
+
/**
|
|
8921
|
+
* ZoneIncludeField
|
|
8922
|
+
* @enum {string}
|
|
8923
|
+
*/
|
|
8924
|
+
ZoneIncludeField: "tags";
|
|
8935
8925
|
/**
|
|
8936
8926
|
* ZoneSortField
|
|
8937
8927
|
* @enum {string}
|
|
@@ -10387,6 +10377,9 @@ export interface operations {
|
|
|
10387
10377
|
query?: {
|
|
10388
10378
|
sort_by?: components["schemas"]["ZoneSortField"];
|
|
10389
10379
|
sort_order?: components["schemas"]["SortOrder"];
|
|
10380
|
+
/** @description Filter by tag IDs. Can be specified multiple times. */
|
|
10381
|
+
tag_ids?: TypeId<"tag">[] | null;
|
|
10382
|
+
tag_mode?: components["schemas"]["TagFilterMode"];
|
|
10390
10383
|
dnssec_status?: components["schemas"]["DnssecStatus"] | null;
|
|
10391
10384
|
name?: string | null;
|
|
10392
10385
|
search?: string | null;
|
|
@@ -10395,6 +10388,8 @@ export interface operations {
|
|
|
10395
10388
|
created_before?: Date | null;
|
|
10396
10389
|
updated_after?: Date | null;
|
|
10397
10390
|
updated_before?: Date | null;
|
|
10391
|
+
/** @description Include additional data in the response. Can be specified multiple times. */
|
|
10392
|
+
include?: components["schemas"]["ZoneIncludeField"][] | null;
|
|
10398
10393
|
page?: number;
|
|
10399
10394
|
page_size?: number;
|
|
10400
10395
|
};
|
|
@@ -10646,7 +10641,11 @@ export interface operations {
|
|
|
10646
10641
|
};
|
|
10647
10642
|
cookie?: never;
|
|
10648
10643
|
};
|
|
10649
|
-
requestBody?:
|
|
10644
|
+
requestBody?: {
|
|
10645
|
+
content: {
|
|
10646
|
+
"application/json": components["schemas"]["ZoneIncludeField"][] | null;
|
|
10647
|
+
};
|
|
10648
|
+
};
|
|
10650
10649
|
responses: {
|
|
10651
10650
|
/** @description Successful Response */
|
|
10652
10651
|
200: {
|