@opusdns/api 0.90.0 → 0.91.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/keys.ts +507 -0
- package/src/helpers/requests.d.ts +75 -1
- package/src/helpers/responses.d.ts +111 -1
- package/src/helpers/schemas-arrays.d.ts +29 -1
- package/src/helpers/schemas.d.ts +112 -0
- package/src/openapi.yaml +264 -1
- package/src/schema.d.ts +155 -0
package/src/schema.d.ts
CHANGED
|
@@ -282,6 +282,24 @@ export interface paths {
|
|
|
282
282
|
patch: operations["patch_zone_rrsets_v1_dns__zone_name__rrsets_patch"];
|
|
283
283
|
trace?: never;
|
|
284
284
|
};
|
|
285
|
+
"/v1/domain-forwards": {
|
|
286
|
+
parameters: {
|
|
287
|
+
query?: never;
|
|
288
|
+
header?: never;
|
|
289
|
+
path?: never;
|
|
290
|
+
cookie?: never;
|
|
291
|
+
};
|
|
292
|
+
/** List Domain Forwards */
|
|
293
|
+
get: operations["list_domain_forwards_v1_domain_forwards_get"];
|
|
294
|
+
put?: never;
|
|
295
|
+
post?: never;
|
|
296
|
+
delete?: never;
|
|
297
|
+
options?: never;
|
|
298
|
+
head?: never;
|
|
299
|
+
/** Patch Redirects */
|
|
300
|
+
patch: operations["patch_redirects_v1_domain_forwards_patch"];
|
|
301
|
+
trace?: never;
|
|
302
|
+
};
|
|
285
303
|
"/v1/domain-forwards/{zone_name}/disable": {
|
|
286
304
|
parameters: {
|
|
287
305
|
query?: never;
|
|
@@ -2271,6 +2289,25 @@ export interface components {
|
|
|
2271
2289
|
/** Zone Name */
|
|
2272
2290
|
zone_name: string;
|
|
2273
2291
|
};
|
|
2292
|
+
/** DomainForwardPatchOp */
|
|
2293
|
+
DomainForwardPatchOp: {
|
|
2294
|
+
op: components["schemas"]["PatchOp"];
|
|
2295
|
+
/** Redirect */
|
|
2296
|
+
redirect: components["schemas"]["HttpRedirect"] | components["schemas"]["HttpRedirectRemove"];
|
|
2297
|
+
request_protocol: components["schemas"]["HttpProtocol"];
|
|
2298
|
+
/** Zone Name */
|
|
2299
|
+
zone_name: string;
|
|
2300
|
+
};
|
|
2301
|
+
/** DomainForwardPatchOps */
|
|
2302
|
+
DomainForwardPatchOps: {
|
|
2303
|
+
/** Ops */
|
|
2304
|
+
ops: components["schemas"]["DomainForwardPatchOp"][];
|
|
2305
|
+
};
|
|
2306
|
+
/** DomainForwardProtocols */
|
|
2307
|
+
DomainForwardProtocols: {
|
|
2308
|
+
http?: components["schemas"]["ProtocolRedirects"] | null;
|
|
2309
|
+
https?: components["schemas"]["ProtocolRedirects"] | null;
|
|
2310
|
+
};
|
|
2274
2311
|
/** DomainForwardRequest */
|
|
2275
2312
|
DomainForwardRequest: {
|
|
2276
2313
|
/** Redirects */
|
|
@@ -2278,6 +2315,16 @@ export interface components {
|
|
|
2278
2315
|
/** Wildcard */
|
|
2279
2316
|
wildcard: boolean;
|
|
2280
2317
|
};
|
|
2318
|
+
/** DomainForwardZone */
|
|
2319
|
+
DomainForwardZone: {
|
|
2320
|
+
/** Enabled */
|
|
2321
|
+
enabled: boolean;
|
|
2322
|
+
protocols: components["schemas"]["DomainForwardProtocols"];
|
|
2323
|
+
/** Wildcard */
|
|
2324
|
+
wildcard: boolean;
|
|
2325
|
+
/** Zone Name */
|
|
2326
|
+
zone_name: string;
|
|
2327
|
+
};
|
|
2281
2328
|
/** DomainLifecycleBase */
|
|
2282
2329
|
DomainLifecycleBase: {
|
|
2283
2330
|
/**
|
|
@@ -2914,6 +2961,13 @@ export interface components {
|
|
|
2914
2961
|
/** Target Subdomain */
|
|
2915
2962
|
target_subdomain?: string | null;
|
|
2916
2963
|
};
|
|
2964
|
+
/** HttpRedirectRemove */
|
|
2965
|
+
HttpRedirectRemove: {
|
|
2966
|
+
/** Request Path */
|
|
2967
|
+
request_path: string;
|
|
2968
|
+
/** Request Subdomain */
|
|
2969
|
+
request_subdomain?: string | null;
|
|
2970
|
+
};
|
|
2917
2971
|
/** IdnBase */
|
|
2918
2972
|
IdnBase: {
|
|
2919
2973
|
/**
|
|
@@ -3666,6 +3720,12 @@ export interface components {
|
|
|
3666
3720
|
/** Results */
|
|
3667
3721
|
results: components["schemas"]["DnsZoneResponse"][];
|
|
3668
3722
|
};
|
|
3723
|
+
/** Pagination[DomainForwardZone] */
|
|
3724
|
+
Pagination_DomainForwardZone_: {
|
|
3725
|
+
pagination: components["schemas"]["PaginationMetadata"];
|
|
3726
|
+
/** Results */
|
|
3727
|
+
results: components["schemas"]["DomainForwardZone"][];
|
|
3728
|
+
};
|
|
3669
3729
|
/** Pagination[DomainResponse] */
|
|
3670
3730
|
Pagination_DomainResponse_: {
|
|
3671
3731
|
pagination: components["schemas"]["PaginationMetadata"];
|
|
@@ -3812,6 +3872,11 @@ export interface components {
|
|
|
3812
3872
|
/** Problem type */
|
|
3813
3873
|
type: string;
|
|
3814
3874
|
};
|
|
3875
|
+
/** ProtocolRedirects */
|
|
3876
|
+
ProtocolRedirects: {
|
|
3877
|
+
/** Redirects */
|
|
3878
|
+
redirects: components["schemas"]["HttpRedirect"][];
|
|
3879
|
+
};
|
|
3815
3880
|
/** PublicAuthRequestForm */
|
|
3816
3881
|
PublicAuthRequestForm: {
|
|
3817
3882
|
/**
|
|
@@ -5782,6 +5847,95 @@ export interface operations {
|
|
|
5782
5847
|
};
|
|
5783
5848
|
};
|
|
5784
5849
|
};
|
|
5850
|
+
list_domain_forwards_v1_domain_forwards_get: {
|
|
5851
|
+
parameters: {
|
|
5852
|
+
query?: {
|
|
5853
|
+
sort_by?: components["schemas"]["ZoneSortField"];
|
|
5854
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
5855
|
+
dnssec_status?: components["schemas"]["DnssecStatus"] | null;
|
|
5856
|
+
name?: string | null;
|
|
5857
|
+
search?: string | null;
|
|
5858
|
+
suffix?: string | null;
|
|
5859
|
+
created_after?: Date | null;
|
|
5860
|
+
created_before?: Date | null;
|
|
5861
|
+
updated_after?: Date | null;
|
|
5862
|
+
updated_before?: Date | null;
|
|
5863
|
+
page?: number;
|
|
5864
|
+
page_size?: number;
|
|
5865
|
+
};
|
|
5866
|
+
header?: never;
|
|
5867
|
+
path?: never;
|
|
5868
|
+
cookie?: never;
|
|
5869
|
+
};
|
|
5870
|
+
requestBody?: never;
|
|
5871
|
+
responses: {
|
|
5872
|
+
/** @description Successful Response */
|
|
5873
|
+
200: {
|
|
5874
|
+
headers: {
|
|
5875
|
+
[name: string]: unknown;
|
|
5876
|
+
};
|
|
5877
|
+
content: {
|
|
5878
|
+
"application/json": components["schemas"]["Pagination_DomainForwardZone_"];
|
|
5879
|
+
};
|
|
5880
|
+
};
|
|
5881
|
+
/** @description Validation Error */
|
|
5882
|
+
422: {
|
|
5883
|
+
headers: {
|
|
5884
|
+
[name: string]: unknown;
|
|
5885
|
+
};
|
|
5886
|
+
content: {
|
|
5887
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
5888
|
+
};
|
|
5889
|
+
};
|
|
5890
|
+
};
|
|
5891
|
+
};
|
|
5892
|
+
patch_redirects_v1_domain_forwards_patch: {
|
|
5893
|
+
parameters: {
|
|
5894
|
+
query?: never;
|
|
5895
|
+
header?: never;
|
|
5896
|
+
path?: never;
|
|
5897
|
+
cookie?: never;
|
|
5898
|
+
};
|
|
5899
|
+
requestBody: {
|
|
5900
|
+
content: {
|
|
5901
|
+
"application/json": components["schemas"]["DomainForwardPatchOps"];
|
|
5902
|
+
};
|
|
5903
|
+
};
|
|
5904
|
+
responses: {
|
|
5905
|
+
/** @description Successful Response */
|
|
5906
|
+
204: {
|
|
5907
|
+
headers: {
|
|
5908
|
+
[name: string]: unknown;
|
|
5909
|
+
};
|
|
5910
|
+
content?: never;
|
|
5911
|
+
};
|
|
5912
|
+
/** @description Not Found */
|
|
5913
|
+
404: {
|
|
5914
|
+
headers: {
|
|
5915
|
+
[name: string]: unknown;
|
|
5916
|
+
};
|
|
5917
|
+
content: {
|
|
5918
|
+
/** @example {
|
|
5919
|
+
* "code": "ERROR_DOMAIN_FORWARD_NOT_EXISTS",
|
|
5920
|
+
* "detail": "Domain forward not found",
|
|
5921
|
+
* "status": 404,
|
|
5922
|
+
* "title": "Domain Forward Error",
|
|
5923
|
+
* "type": "domain-forward-not-found"
|
|
5924
|
+
* } */
|
|
5925
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
5926
|
+
};
|
|
5927
|
+
};
|
|
5928
|
+
/** @description Validation Error */
|
|
5929
|
+
422: {
|
|
5930
|
+
headers: {
|
|
5931
|
+
[name: string]: unknown;
|
|
5932
|
+
};
|
|
5933
|
+
content: {
|
|
5934
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
5935
|
+
};
|
|
5936
|
+
};
|
|
5937
|
+
};
|
|
5938
|
+
};
|
|
5785
5939
|
disable_domain_forward_v1_domain_forwards__zone_name__disable_patch: {
|
|
5786
5940
|
parameters: {
|
|
5787
5941
|
query?: never;
|
|
@@ -5816,6 +5970,7 @@ export interface operations {
|
|
|
5816
5970
|
parameters: {
|
|
5817
5971
|
query?: {
|
|
5818
5972
|
auto_create_zone?: boolean;
|
|
5973
|
+
wildcard?: boolean;
|
|
5819
5974
|
};
|
|
5820
5975
|
header?: never;
|
|
5821
5976
|
path: {
|