@opusdns/api 0.8.0 → 0.10.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 +3 -3
- package/src/helpers/constants.ts +1863 -0
- package/src/helpers/index.ts +19 -0
- package/src/helpers/keys.ts +15719 -0
- package/src/helpers/requests.ts +3493 -0
- package/src/helpers/responses.ts +5428 -0
- package/src/helpers/schemas-arrays.ts +543 -0
- package/src/helpers/schemas.ts +2284 -0
- package/src/index.ts +2 -0
- package/src/openapi.yaml +96 -3
- package/src/schema.d.ts +489 -0
- package/src/types/constants.ts +110 -1
- package/src/types/keys.ts +1547 -7
- package/src/types/types.ts +472 -4
package/src/schema.d.ts
CHANGED
|
@@ -410,6 +410,26 @@ export interface paths {
|
|
|
410
410
|
patch?: never;
|
|
411
411
|
trace?: never;
|
|
412
412
|
};
|
|
413
|
+
"/v1/domains/summary": {
|
|
414
|
+
parameters: {
|
|
415
|
+
query?: never;
|
|
416
|
+
header?: never;
|
|
417
|
+
path?: never;
|
|
418
|
+
cookie?: never;
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Get domain summary
|
|
422
|
+
* @description Retrieves a summary of domains including counts by status, TLD, and expiration timeframes
|
|
423
|
+
*/
|
|
424
|
+
get: operations["get_domain_summary_v1_domains_summary_get"];
|
|
425
|
+
put?: never;
|
|
426
|
+
post?: never;
|
|
427
|
+
delete?: never;
|
|
428
|
+
options?: never;
|
|
429
|
+
head?: never;
|
|
430
|
+
patch?: never;
|
|
431
|
+
trace?: never;
|
|
432
|
+
};
|
|
413
433
|
"/v1/domains/transfer": {
|
|
414
434
|
parameters: {
|
|
415
435
|
query?: never;
|
|
@@ -1904,6 +1924,41 @@ export interface components {
|
|
|
1904
1924
|
* @enum {string}
|
|
1905
1925
|
*/
|
|
1906
1926
|
DomainStatus: "ok" | "serverTransferProhibited" | "serverUpdateProhibited" | "serverDeleteProhibited" | "serverRenewProhibited" | "serverHold" | "transferPeriod" | "renewPeriod" | "redemptionPeriod" | "pendingUpdate" | "pendingTransfer" | "pendingRestore" | "pendingRenew" | "pendingDelete" | "pendingCreate" | "inactive" | "autoRenewPeriod" | "addPeriod" | "deleted" | "clientTransferProhibited" | "clientUpdateProhibited" | "clientDeleteProhibited" | "clientRenewProhibited" | "clientHold";
|
|
1927
|
+
/** DomainSummaryData */
|
|
1928
|
+
DomainSummaryData: {
|
|
1929
|
+
/**
|
|
1930
|
+
* By Status
|
|
1931
|
+
* @description Domain counts by status (status: count)
|
|
1932
|
+
*/
|
|
1933
|
+
by_status: {
|
|
1934
|
+
[key: string]: number;
|
|
1935
|
+
};
|
|
1936
|
+
/**
|
|
1937
|
+
* By Tld
|
|
1938
|
+
* @description Domain counts by TLD (tld: count)
|
|
1939
|
+
*/
|
|
1940
|
+
by_tld: {
|
|
1941
|
+
[key: string]: number;
|
|
1942
|
+
};
|
|
1943
|
+
/** @description Domains expiring soon */
|
|
1944
|
+
expiring_soon: components["schemas"]["DomainsExpiringSoon"];
|
|
1945
|
+
/**
|
|
1946
|
+
* Total Count
|
|
1947
|
+
* @description Total number of domains
|
|
1948
|
+
*/
|
|
1949
|
+
total_count: number;
|
|
1950
|
+
};
|
|
1951
|
+
/** DomainSummaryResponse */
|
|
1952
|
+
DomainSummaryResponse: {
|
|
1953
|
+
/** @description Domain summary data */
|
|
1954
|
+
domains: components["schemas"]["DomainSummaryData"];
|
|
1955
|
+
/**
|
|
1956
|
+
* Organization Id
|
|
1957
|
+
* Format: typeid
|
|
1958
|
+
* @description The organization ID
|
|
1959
|
+
*/
|
|
1960
|
+
organization_id: TypeID<"organization">;
|
|
1961
|
+
};
|
|
1907
1962
|
/** DomainTransferIn */
|
|
1908
1963
|
DomainTransferIn: {
|
|
1909
1964
|
/**
|
|
@@ -1952,6 +2007,24 @@ export interface components {
|
|
|
1952
2007
|
*/
|
|
1953
2008
|
statuses?: components["schemas"]["DomainClientStatus"][] | null;
|
|
1954
2009
|
};
|
|
2010
|
+
/** DomainsExpiringSoon */
|
|
2011
|
+
DomainsExpiringSoon: {
|
|
2012
|
+
/**
|
|
2013
|
+
* Next 30 Days
|
|
2014
|
+
* @description Number of domains expiring in the next 30 days
|
|
2015
|
+
*/
|
|
2016
|
+
next_30_days: number;
|
|
2017
|
+
/**
|
|
2018
|
+
* Next 60 Days
|
|
2019
|
+
* @description Number of domains expiring in the next 60 days
|
|
2020
|
+
*/
|
|
2021
|
+
next_60_days: number;
|
|
2022
|
+
/**
|
|
2023
|
+
* Next 90 Days
|
|
2024
|
+
* @description Number of domains expiring in the next 90 days
|
|
2025
|
+
*/
|
|
2026
|
+
next_90_days: number;
|
|
2027
|
+
};
|
|
1955
2028
|
/** EmailForward */
|
|
1956
2029
|
EmailForward: {
|
|
1957
2030
|
/**
|
|
@@ -3599,6 +3672,13 @@ export interface operations {
|
|
|
3599
3672
|
[name: string]: unknown;
|
|
3600
3673
|
};
|
|
3601
3674
|
content: {
|
|
3675
|
+
/** @example {
|
|
3676
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3677
|
+
* "detail": "Additional error context.",
|
|
3678
|
+
* "status": 401,
|
|
3679
|
+
* "title": "Authentication Error",
|
|
3680
|
+
* "type": "authentication"
|
|
3681
|
+
* } */
|
|
3602
3682
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3603
3683
|
};
|
|
3604
3684
|
};
|
|
@@ -3641,6 +3721,13 @@ export interface operations {
|
|
|
3641
3721
|
[name: string]: unknown;
|
|
3642
3722
|
};
|
|
3643
3723
|
content: {
|
|
3724
|
+
/** @example {
|
|
3725
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3726
|
+
* "detail": "Additional error context.",
|
|
3727
|
+
* "status": 401,
|
|
3728
|
+
* "title": "Authentication Error",
|
|
3729
|
+
* "type": "authentication"
|
|
3730
|
+
* } */
|
|
3644
3731
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3645
3732
|
};
|
|
3646
3733
|
};
|
|
@@ -3679,6 +3766,13 @@ export interface operations {
|
|
|
3679
3766
|
[name: string]: unknown;
|
|
3680
3767
|
};
|
|
3681
3768
|
content: {
|
|
3769
|
+
/** @example {
|
|
3770
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3771
|
+
* "detail": "Additional error context.",
|
|
3772
|
+
* "status": 401,
|
|
3773
|
+
* "title": "Authentication Error",
|
|
3774
|
+
* "type": "authentication"
|
|
3775
|
+
* } */
|
|
3682
3776
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3683
3777
|
};
|
|
3684
3778
|
};
|
|
@@ -3688,6 +3782,14 @@ export interface operations {
|
|
|
3688
3782
|
[name: string]: unknown;
|
|
3689
3783
|
};
|
|
3690
3784
|
content: {
|
|
3785
|
+
/** @example {
|
|
3786
|
+
* "code": "ERROR_ORGANIZATION_CREDENTIAL_NOT_FOUND",
|
|
3787
|
+
* "credential_id": "Additional error context.",
|
|
3788
|
+
* "detail": "Organization credential with ID Additional error context. not found",
|
|
3789
|
+
* "status": 404,
|
|
3790
|
+
* "title": "Organization Management Error",
|
|
3791
|
+
* "type": "organization-credential-not-found"
|
|
3792
|
+
* } */
|
|
3691
3793
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3692
3794
|
};
|
|
3693
3795
|
};
|
|
@@ -3724,6 +3826,13 @@ export interface operations {
|
|
|
3724
3826
|
[name: string]: unknown;
|
|
3725
3827
|
};
|
|
3726
3828
|
content: {
|
|
3829
|
+
/** @example {
|
|
3830
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3831
|
+
* "detail": "Additional error context.",
|
|
3832
|
+
* "status": 401,
|
|
3833
|
+
* "title": "Authentication Error",
|
|
3834
|
+
* "type": "authentication"
|
|
3835
|
+
* } */
|
|
3727
3836
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3728
3837
|
};
|
|
3729
3838
|
};
|
|
@@ -3757,6 +3866,14 @@ export interface operations {
|
|
|
3757
3866
|
[name: string]: unknown;
|
|
3758
3867
|
};
|
|
3759
3868
|
content: {
|
|
3869
|
+
/** @example {
|
|
3870
|
+
* "code": "ERROR_USER_EXISTS",
|
|
3871
|
+
* "detail": "User with username or email already exists",
|
|
3872
|
+
* "status": 409,
|
|
3873
|
+
* "title": "User Management Error",
|
|
3874
|
+
* "type": "user-already-present",
|
|
3875
|
+
* "user": "Additional error context."
|
|
3876
|
+
* } */
|
|
3760
3877
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3761
3878
|
};
|
|
3762
3879
|
};
|
|
@@ -3799,6 +3916,13 @@ export interface operations {
|
|
|
3799
3916
|
[name: string]: unknown;
|
|
3800
3917
|
};
|
|
3801
3918
|
content: {
|
|
3919
|
+
/** @example {
|
|
3920
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3921
|
+
* "detail": "Additional error context.",
|
|
3922
|
+
* "status": 401,
|
|
3923
|
+
* "title": "Authentication Error",
|
|
3924
|
+
* "type": "authentication"
|
|
3925
|
+
* } */
|
|
3802
3926
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3803
3927
|
};
|
|
3804
3928
|
};
|
|
@@ -3842,6 +3966,13 @@ export interface operations {
|
|
|
3842
3966
|
[name: string]: unknown;
|
|
3843
3967
|
};
|
|
3844
3968
|
content: {
|
|
3969
|
+
/** @example {
|
|
3970
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3971
|
+
* "detail": "Additional error context.",
|
|
3972
|
+
* "status": 401,
|
|
3973
|
+
* "title": "Authentication Error",
|
|
3974
|
+
* "type": "authentication"
|
|
3975
|
+
* } */
|
|
3845
3976
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3846
3977
|
};
|
|
3847
3978
|
};
|
|
@@ -3860,6 +3991,13 @@ export interface operations {
|
|
|
3860
3991
|
[name: string]: unknown;
|
|
3861
3992
|
};
|
|
3862
3993
|
content: {
|
|
3994
|
+
/** @example {
|
|
3995
|
+
* "code": "ERROR_AVAILABILITY_PROVIDER",
|
|
3996
|
+
* "detail": "Additional error context.",
|
|
3997
|
+
* "status": 502,
|
|
3998
|
+
* "title": "Availability Error",
|
|
3999
|
+
* "type": "availability-provider"
|
|
4000
|
+
* } */
|
|
3863
4001
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3864
4002
|
};
|
|
3865
4003
|
};
|
|
@@ -3894,6 +4032,13 @@ export interface operations {
|
|
|
3894
4032
|
[name: string]: unknown;
|
|
3895
4033
|
};
|
|
3896
4034
|
content: {
|
|
4035
|
+
/** @example {
|
|
4036
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4037
|
+
* "detail": "Additional error context.",
|
|
4038
|
+
* "status": 401,
|
|
4039
|
+
* "title": "Authentication Error",
|
|
4040
|
+
* "type": "authentication"
|
|
4041
|
+
* } */
|
|
3897
4042
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3898
4043
|
};
|
|
3899
4044
|
};
|
|
@@ -3912,6 +4057,13 @@ export interface operations {
|
|
|
3912
4057
|
[name: string]: unknown;
|
|
3913
4058
|
};
|
|
3914
4059
|
content: {
|
|
4060
|
+
/** @example {
|
|
4061
|
+
* "code": "ERROR_AVAILABILITY_PROVIDER",
|
|
4062
|
+
* "detail": "Additional error context.",
|
|
4063
|
+
* "status": 502,
|
|
4064
|
+
* "title": "Availability Error",
|
|
4065
|
+
* "type": "availability-provider"
|
|
4066
|
+
* } */
|
|
3915
4067
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3916
4068
|
};
|
|
3917
4069
|
};
|
|
@@ -4017,6 +4169,13 @@ export interface operations {
|
|
|
4017
4169
|
[name: string]: unknown;
|
|
4018
4170
|
};
|
|
4019
4171
|
content: {
|
|
4172
|
+
/** @example {
|
|
4173
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4174
|
+
* "detail": "Additional error context.",
|
|
4175
|
+
* "status": 401,
|
|
4176
|
+
* "title": "Authentication Error",
|
|
4177
|
+
* "type": "authentication"
|
|
4178
|
+
* } */
|
|
4020
4179
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4021
4180
|
};
|
|
4022
4181
|
};
|
|
@@ -4026,6 +4185,14 @@ export interface operations {
|
|
|
4026
4185
|
[name: string]: unknown;
|
|
4027
4186
|
};
|
|
4028
4187
|
content: {
|
|
4188
|
+
/** @example {
|
|
4189
|
+
* "code": "ERROR_CONTACT_VERIFICATION_NOT_FOUND",
|
|
4190
|
+
* "detail": "No contact verification found",
|
|
4191
|
+
* "status": 404,
|
|
4192
|
+
* "title": "Contact Management Error",
|
|
4193
|
+
* "token": "Additional error context.",
|
|
4194
|
+
* "type": "contact-verification-not-found"
|
|
4195
|
+
* } */
|
|
4029
4196
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4030
4197
|
};
|
|
4031
4198
|
};
|
|
@@ -4073,6 +4240,13 @@ export interface operations {
|
|
|
4073
4240
|
[name: string]: unknown;
|
|
4074
4241
|
};
|
|
4075
4242
|
content: {
|
|
4243
|
+
/** @example {
|
|
4244
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4245
|
+
* "detail": "Additional error context.",
|
|
4246
|
+
* "status": 401,
|
|
4247
|
+
* "title": "Authentication Error",
|
|
4248
|
+
* "type": "authentication"
|
|
4249
|
+
* } */
|
|
4076
4250
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4077
4251
|
};
|
|
4078
4252
|
};
|
|
@@ -4082,6 +4256,14 @@ export interface operations {
|
|
|
4082
4256
|
[name: string]: unknown;
|
|
4083
4257
|
};
|
|
4084
4258
|
content: {
|
|
4259
|
+
/** @example {
|
|
4260
|
+
* "code": "ERROR_CONTACT_VERIFICATION_NOT_FOUND",
|
|
4261
|
+
* "detail": "No contact verification found",
|
|
4262
|
+
* "status": 404,
|
|
4263
|
+
* "title": "Contact Management Error",
|
|
4264
|
+
* "token": "Additional error context.",
|
|
4265
|
+
* "type": "contact-verification-not-found"
|
|
4266
|
+
* } */
|
|
4085
4267
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4086
4268
|
};
|
|
4087
4269
|
};
|
|
@@ -4153,6 +4335,14 @@ export interface operations {
|
|
|
4153
4335
|
[name: string]: unknown;
|
|
4154
4336
|
};
|
|
4155
4337
|
content: {
|
|
4338
|
+
/** @example {
|
|
4339
|
+
* "code": "ERROR_CONTACT_NOT_FOUND",
|
|
4340
|
+
* "contact_id": "Additional error context.",
|
|
4341
|
+
* "detail": "Contact not found",
|
|
4342
|
+
* "status": 404,
|
|
4343
|
+
* "title": "Contact Management Error",
|
|
4344
|
+
* "type": "contact-not-found"
|
|
4345
|
+
* } */
|
|
4156
4346
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4157
4347
|
};
|
|
4158
4348
|
};
|
|
@@ -4191,6 +4381,14 @@ export interface operations {
|
|
|
4191
4381
|
[name: string]: unknown;
|
|
4192
4382
|
};
|
|
4193
4383
|
content: {
|
|
4384
|
+
/** @example {
|
|
4385
|
+
* "code": "ERROR_CONTACT_NOT_FOUND",
|
|
4386
|
+
* "contact_id": "Additional error context.",
|
|
4387
|
+
* "detail": "Contact not found",
|
|
4388
|
+
* "status": 404,
|
|
4389
|
+
* "title": "Contact Management Error",
|
|
4390
|
+
* "type": "contact-not-found"
|
|
4391
|
+
* } */
|
|
4194
4392
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4195
4393
|
};
|
|
4196
4394
|
};
|
|
@@ -4200,6 +4398,40 @@ export interface operations {
|
|
|
4200
4398
|
[name: string]: unknown;
|
|
4201
4399
|
};
|
|
4202
4400
|
content: {
|
|
4401
|
+
/** @example {
|
|
4402
|
+
* "code": "ERROR_CONTACT_IN_USE",
|
|
4403
|
+
* "detail": "Contact is linked to one or more domains",
|
|
4404
|
+
* "domain_ids": [
|
|
4405
|
+
* "A",
|
|
4406
|
+
* "d",
|
|
4407
|
+
* "d",
|
|
4408
|
+
* "i",
|
|
4409
|
+
* "t",
|
|
4410
|
+
* "i",
|
|
4411
|
+
* "o",
|
|
4412
|
+
* "n",
|
|
4413
|
+
* "a",
|
|
4414
|
+
* "l",
|
|
4415
|
+
* " ",
|
|
4416
|
+
* "e",
|
|
4417
|
+
* "r",
|
|
4418
|
+
* "r",
|
|
4419
|
+
* "o",
|
|
4420
|
+
* "r",
|
|
4421
|
+
* " ",
|
|
4422
|
+
* "c",
|
|
4423
|
+
* "o",
|
|
4424
|
+
* "n",
|
|
4425
|
+
* "t",
|
|
4426
|
+
* "e",
|
|
4427
|
+
* "x",
|
|
4428
|
+
* "t",
|
|
4429
|
+
* "."
|
|
4430
|
+
* ],
|
|
4431
|
+
* "status": 409,
|
|
4432
|
+
* "title": "Contact Management Error",
|
|
4433
|
+
* "type": "contact-in-use"
|
|
4434
|
+
* } */
|
|
4203
4435
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4204
4436
|
};
|
|
4205
4437
|
};
|
|
@@ -4240,6 +4472,13 @@ export interface operations {
|
|
|
4240
4472
|
[name: string]: unknown;
|
|
4241
4473
|
};
|
|
4242
4474
|
content: {
|
|
4475
|
+
/** @example {
|
|
4476
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4477
|
+
* "detail": "Additional error context.",
|
|
4478
|
+
* "status": 401,
|
|
4479
|
+
* "title": "Authentication Error",
|
|
4480
|
+
* "type": "authentication"
|
|
4481
|
+
* } */
|
|
4243
4482
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4244
4483
|
};
|
|
4245
4484
|
};
|
|
@@ -4249,6 +4488,14 @@ export interface operations {
|
|
|
4249
4488
|
[name: string]: unknown;
|
|
4250
4489
|
};
|
|
4251
4490
|
content: {
|
|
4491
|
+
/** @example {
|
|
4492
|
+
* "code": "ERROR_CONTACT_VERIFICATION_NOT_FOUND",
|
|
4493
|
+
* "detail": "No contact verification found",
|
|
4494
|
+
* "status": 404,
|
|
4495
|
+
* "title": "Contact Management Error",
|
|
4496
|
+
* "token": "Additional error context.",
|
|
4497
|
+
* "type": "contact-verification-not-found"
|
|
4498
|
+
* } */
|
|
4252
4499
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4253
4500
|
};
|
|
4254
4501
|
};
|
|
@@ -4298,6 +4545,13 @@ export interface operations {
|
|
|
4298
4545
|
[name: string]: unknown;
|
|
4299
4546
|
};
|
|
4300
4547
|
content: {
|
|
4548
|
+
/** @example {
|
|
4549
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4550
|
+
* "detail": "Additional error context.",
|
|
4551
|
+
* "status": 401,
|
|
4552
|
+
* "title": "Authentication Error",
|
|
4553
|
+
* "type": "authentication"
|
|
4554
|
+
* } */
|
|
4301
4555
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4302
4556
|
};
|
|
4303
4557
|
};
|
|
@@ -4307,6 +4561,13 @@ export interface operations {
|
|
|
4307
4561
|
[name: string]: unknown;
|
|
4308
4562
|
};
|
|
4309
4563
|
content: {
|
|
4564
|
+
/** @example {
|
|
4565
|
+
* "code": "ERROR_CONTACT_VERIFICATION_MISSING_PERMISSIONS",
|
|
4566
|
+
* "detail": "Missing permissions to verify contact as type Additional error context.",
|
|
4567
|
+
* "status": 403,
|
|
4568
|
+
* "title": "Contact Management Error",
|
|
4569
|
+
* "type": "contact-verification-type-missing-permissions"
|
|
4570
|
+
* } */
|
|
4310
4571
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4311
4572
|
};
|
|
4312
4573
|
};
|
|
@@ -4316,6 +4577,14 @@ export interface operations {
|
|
|
4316
4577
|
[name: string]: unknown;
|
|
4317
4578
|
};
|
|
4318
4579
|
content: {
|
|
4580
|
+
/** @example {
|
|
4581
|
+
* "code": "ERROR_CONTACT_VERIFICATION_NOT_FOUND",
|
|
4582
|
+
* "detail": "No contact verification found",
|
|
4583
|
+
* "status": 404,
|
|
4584
|
+
* "title": "Contact Management Error",
|
|
4585
|
+
* "token": "Additional error context.",
|
|
4586
|
+
* "type": "contact-verification-not-found"
|
|
4587
|
+
* } */
|
|
4319
4588
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4320
4589
|
};
|
|
4321
4590
|
};
|
|
@@ -4358,6 +4627,13 @@ export interface operations {
|
|
|
4358
4627
|
[name: string]: unknown;
|
|
4359
4628
|
};
|
|
4360
4629
|
content: {
|
|
4630
|
+
/** @example {
|
|
4631
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4632
|
+
* "detail": "Additional error context.",
|
|
4633
|
+
* "status": 401,
|
|
4634
|
+
* "title": "Authentication Error",
|
|
4635
|
+
* "type": "authentication"
|
|
4636
|
+
* } */
|
|
4361
4637
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4362
4638
|
};
|
|
4363
4639
|
};
|
|
@@ -4367,6 +4643,14 @@ export interface operations {
|
|
|
4367
4643
|
[name: string]: unknown;
|
|
4368
4644
|
};
|
|
4369
4645
|
content: {
|
|
4646
|
+
/** @example {
|
|
4647
|
+
* "code": "ERROR_CONTACT_NOT_FOUND",
|
|
4648
|
+
* "contact_id": "Additional error context.",
|
|
4649
|
+
* "detail": "Contact not found",
|
|
4650
|
+
* "status": 404,
|
|
4651
|
+
* "title": "Contact Management Error",
|
|
4652
|
+
* "type": "contact-not-found"
|
|
4653
|
+
* } */
|
|
4370
4654
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4371
4655
|
};
|
|
4372
4656
|
};
|
|
@@ -4376,6 +4660,13 @@ export interface operations {
|
|
|
4376
4660
|
[name: string]: unknown;
|
|
4377
4661
|
};
|
|
4378
4662
|
content: {
|
|
4663
|
+
/** @example {
|
|
4664
|
+
* "code": "ERROR_CONTACT_VERIFICATION_INVALID_TYPE",
|
|
4665
|
+
* "detail": "Invalid verification type: Additional error context.",
|
|
4666
|
+
* "status": 405,
|
|
4667
|
+
* "title": "Contact Management Error",
|
|
4668
|
+
* "type": "contact-verification-type-invalid"
|
|
4669
|
+
* } */
|
|
4379
4670
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4380
4671
|
};
|
|
4381
4672
|
};
|
|
@@ -4414,6 +4705,13 @@ export interface operations {
|
|
|
4414
4705
|
[name: string]: unknown;
|
|
4415
4706
|
};
|
|
4416
4707
|
content: {
|
|
4708
|
+
/** @example {
|
|
4709
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4710
|
+
* "detail": "Additional error context.",
|
|
4711
|
+
* "status": 401,
|
|
4712
|
+
* "title": "Authentication Error",
|
|
4713
|
+
* "type": "authentication"
|
|
4714
|
+
* } */
|
|
4417
4715
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4418
4716
|
};
|
|
4419
4717
|
};
|
|
@@ -4423,6 +4721,14 @@ export interface operations {
|
|
|
4423
4721
|
[name: string]: unknown;
|
|
4424
4722
|
};
|
|
4425
4723
|
content: {
|
|
4724
|
+
/** @example {
|
|
4725
|
+
* "code": "ERROR_CONTACT_VERIFICATION_NOT_FOUND",
|
|
4726
|
+
* "detail": "No contact verification found",
|
|
4727
|
+
* "status": 404,
|
|
4728
|
+
* "title": "Contact Management Error",
|
|
4729
|
+
* "token": "Additional error context.",
|
|
4730
|
+
* "type": "contact-verification-not-found"
|
|
4731
|
+
* } */
|
|
4426
4732
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4427
4733
|
};
|
|
4428
4734
|
};
|
|
@@ -4775,6 +5081,13 @@ export interface operations {
|
|
|
4775
5081
|
[name: string]: unknown;
|
|
4776
5082
|
};
|
|
4777
5083
|
content: {
|
|
5084
|
+
/** @example {
|
|
5085
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
5086
|
+
* "detail": "Additional error context.",
|
|
5087
|
+
* "status": 401,
|
|
5088
|
+
* "title": "Authentication Error",
|
|
5089
|
+
* "type": "authentication"
|
|
5090
|
+
* } */
|
|
4778
5091
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4779
5092
|
};
|
|
4780
5093
|
};
|
|
@@ -4793,6 +5106,13 @@ export interface operations {
|
|
|
4793
5106
|
[name: string]: unknown;
|
|
4794
5107
|
};
|
|
4795
5108
|
content: {
|
|
5109
|
+
/** @example {
|
|
5110
|
+
* "code": "ERROR_DOMAIN_SEARCH_PROVIDER",
|
|
5111
|
+
* "detail": "Additional error context.",
|
|
5112
|
+
* "status": 502,
|
|
5113
|
+
* "title": "Domain Search Error",
|
|
5114
|
+
* "type": "domain-search-provider"
|
|
5115
|
+
* } */
|
|
4796
5116
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4797
5117
|
};
|
|
4798
5118
|
};
|
|
@@ -4873,6 +5193,14 @@ export interface operations {
|
|
|
4873
5193
|
[name: string]: unknown;
|
|
4874
5194
|
};
|
|
4875
5195
|
content: {
|
|
5196
|
+
/** @example {
|
|
5197
|
+
* "code": "ERROR_TLD_NOT_AVAILABLE",
|
|
5198
|
+
* "detail": "This TLD is not available",
|
|
5199
|
+
* "status": 400,
|
|
5200
|
+
* "title": "Domain Management Error",
|
|
5201
|
+
* "tld": "Additional error context.",
|
|
5202
|
+
* "type": "domain-tld-not-available"
|
|
5203
|
+
* } */
|
|
4876
5204
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4877
5205
|
};
|
|
4878
5206
|
};
|
|
@@ -4882,6 +5210,14 @@ export interface operations {
|
|
|
4882
5210
|
[name: string]: unknown;
|
|
4883
5211
|
};
|
|
4884
5212
|
content: {
|
|
5213
|
+
/** @example {
|
|
5214
|
+
* "code": "ERROR_CONTACT_NOT_FOUND",
|
|
5215
|
+
* "contact_id": "Additional error context.",
|
|
5216
|
+
* "detail": "Contact not found",
|
|
5217
|
+
* "status": 404,
|
|
5218
|
+
* "title": "Contact Management Error",
|
|
5219
|
+
* "type": "contact-not-found"
|
|
5220
|
+
* } */
|
|
4885
5221
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4886
5222
|
};
|
|
4887
5223
|
};
|
|
@@ -4891,6 +5227,14 @@ export interface operations {
|
|
|
4891
5227
|
[name: string]: unknown;
|
|
4892
5228
|
};
|
|
4893
5229
|
content: {
|
|
5230
|
+
/** @example {
|
|
5231
|
+
* "code": "ERROR_DOMAIN_EXISTS",
|
|
5232
|
+
* "detail": "Domain already exists",
|
|
5233
|
+
* "domain_name": "Additional error context.",
|
|
5234
|
+
* "status": 409,
|
|
5235
|
+
* "title": "Domain Management Error",
|
|
5236
|
+
* "type": "domain-exists"
|
|
5237
|
+
* } */
|
|
4894
5238
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4895
5239
|
};
|
|
4896
5240
|
};
|
|
@@ -4939,6 +5283,26 @@ export interface operations {
|
|
|
4939
5283
|
};
|
|
4940
5284
|
};
|
|
4941
5285
|
};
|
|
5286
|
+
get_domain_summary_v1_domains_summary_get: {
|
|
5287
|
+
parameters: {
|
|
5288
|
+
query?: never;
|
|
5289
|
+
header?: never;
|
|
5290
|
+
path?: never;
|
|
5291
|
+
cookie?: never;
|
|
5292
|
+
};
|
|
5293
|
+
requestBody?: never;
|
|
5294
|
+
responses: {
|
|
5295
|
+
/** @description Successful Response */
|
|
5296
|
+
200: {
|
|
5297
|
+
headers: {
|
|
5298
|
+
[name: string]: unknown;
|
|
5299
|
+
};
|
|
5300
|
+
content: {
|
|
5301
|
+
"application/json": components["schemas"]["DomainSummaryResponse"];
|
|
5302
|
+
};
|
|
5303
|
+
};
|
|
5304
|
+
};
|
|
5305
|
+
};
|
|
4942
5306
|
transfer_domain_v1_domains_transfer_post: {
|
|
4943
5307
|
parameters: {
|
|
4944
5308
|
query?: never;
|
|
@@ -4976,6 +5340,14 @@ export interface operations {
|
|
|
4976
5340
|
[name: string]: unknown;
|
|
4977
5341
|
};
|
|
4978
5342
|
content: {
|
|
5343
|
+
/** @example {
|
|
5344
|
+
* "code": "ERROR_CONTACT_NOT_FOUND",
|
|
5345
|
+
* "contact_id": "Additional error context.",
|
|
5346
|
+
* "detail": "Contact not found",
|
|
5347
|
+
* "status": 404,
|
|
5348
|
+
* "title": "Contact Management Error",
|
|
5349
|
+
* "type": "contact-not-found"
|
|
5350
|
+
* } */
|
|
4979
5351
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4980
5352
|
};
|
|
4981
5353
|
};
|
|
@@ -4985,6 +5357,14 @@ export interface operations {
|
|
|
4985
5357
|
[name: string]: unknown;
|
|
4986
5358
|
};
|
|
4987
5359
|
content: {
|
|
5360
|
+
/** @example {
|
|
5361
|
+
* "code": "ERROR_DOMAIN_EXISTS",
|
|
5362
|
+
* "detail": "Domain already exists",
|
|
5363
|
+
* "domain_name": "Additional error context.",
|
|
5364
|
+
* "status": 409,
|
|
5365
|
+
* "title": "Domain Management Error",
|
|
5366
|
+
* "type": "domain-exists"
|
|
5367
|
+
* } */
|
|
4988
5368
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4989
5369
|
};
|
|
4990
5370
|
};
|
|
@@ -4994,6 +5374,12 @@ export interface operations {
|
|
|
4994
5374
|
[name: string]: unknown;
|
|
4995
5375
|
};
|
|
4996
5376
|
content: {
|
|
5377
|
+
/** @example {
|
|
5378
|
+
* "detail": "Additional error context.",
|
|
5379
|
+
* "status": 422,
|
|
5380
|
+
* "title": "Policy Validation Error",
|
|
5381
|
+
* "type": "policy-validation-error"
|
|
5382
|
+
* } */
|
|
4997
5383
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4998
5384
|
};
|
|
4999
5385
|
};
|
|
@@ -5025,6 +5411,14 @@ export interface operations {
|
|
|
5025
5411
|
[name: string]: unknown;
|
|
5026
5412
|
};
|
|
5027
5413
|
content: {
|
|
5414
|
+
/** @example {
|
|
5415
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
5416
|
+
* "detail": "Domain not found",
|
|
5417
|
+
* "domain_name": "Additional error context.",
|
|
5418
|
+
* "status": 404,
|
|
5419
|
+
* "title": "Domain Management Error",
|
|
5420
|
+
* "type": "domain-not-found"
|
|
5421
|
+
* } */
|
|
5028
5422
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5029
5423
|
};
|
|
5030
5424
|
};
|
|
@@ -5063,6 +5457,14 @@ export interface operations {
|
|
|
5063
5457
|
[name: string]: unknown;
|
|
5064
5458
|
};
|
|
5065
5459
|
content: {
|
|
5460
|
+
/** @example {
|
|
5461
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
5462
|
+
* "detail": "Domain not found",
|
|
5463
|
+
* "domain_name": "Additional error context.",
|
|
5464
|
+
* "status": 404,
|
|
5465
|
+
* "title": "Domain Management Error",
|
|
5466
|
+
* "type": "domain-not-found"
|
|
5467
|
+
* } */
|
|
5066
5468
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5067
5469
|
};
|
|
5068
5470
|
};
|
|
@@ -5072,6 +5474,15 @@ export interface operations {
|
|
|
5072
5474
|
[name: string]: unknown;
|
|
5073
5475
|
};
|
|
5074
5476
|
content: {
|
|
5477
|
+
/** @example {
|
|
5478
|
+
* "code": "ERROR_DOMAIN_DELETE_PROHIBITED",
|
|
5479
|
+
* "detail": "Domain deletion is prohibited due to current status: ",
|
|
5480
|
+
* "domain_name": "Additional error context.",
|
|
5481
|
+
* "prohibiting_statuses": [],
|
|
5482
|
+
* "status": 409,
|
|
5483
|
+
* "title": "Domain Management Error",
|
|
5484
|
+
* "type": "domain-delete-prohibited"
|
|
5485
|
+
* } */
|
|
5075
5486
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5076
5487
|
};
|
|
5077
5488
|
};
|
|
@@ -5156,6 +5567,14 @@ export interface operations {
|
|
|
5156
5567
|
[name: string]: unknown;
|
|
5157
5568
|
};
|
|
5158
5569
|
content: {
|
|
5570
|
+
/** @example {
|
|
5571
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
5572
|
+
* "detail": "Domain not found",
|
|
5573
|
+
* "domain_name": "Additional error context.",
|
|
5574
|
+
* "status": 404,
|
|
5575
|
+
* "title": "Domain Management Error",
|
|
5576
|
+
* "type": "domain-not-found"
|
|
5577
|
+
* } */
|
|
5159
5578
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5160
5579
|
};
|
|
5161
5580
|
};
|
|
@@ -5200,6 +5619,14 @@ export interface operations {
|
|
|
5200
5619
|
[name: string]: unknown;
|
|
5201
5620
|
};
|
|
5202
5621
|
content: {
|
|
5622
|
+
/** @example {
|
|
5623
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
5624
|
+
* "detail": "Domain not found",
|
|
5625
|
+
* "domain_name": "Additional error context.",
|
|
5626
|
+
* "status": 404,
|
|
5627
|
+
* "title": "Domain Management Error",
|
|
5628
|
+
* "type": "domain-not-found"
|
|
5629
|
+
* } */
|
|
5203
5630
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5204
5631
|
};
|
|
5205
5632
|
};
|
|
@@ -5238,6 +5665,14 @@ export interface operations {
|
|
|
5238
5665
|
[name: string]: unknown;
|
|
5239
5666
|
};
|
|
5240
5667
|
content: {
|
|
5668
|
+
/** @example {
|
|
5669
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
5670
|
+
* "detail": "Domain not found",
|
|
5671
|
+
* "domain_name": "Additional error context.",
|
|
5672
|
+
* "status": 404,
|
|
5673
|
+
* "title": "Domain Management Error",
|
|
5674
|
+
* "type": "domain-not-found"
|
|
5675
|
+
* } */
|
|
5241
5676
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5242
5677
|
};
|
|
5243
5678
|
};
|
|
@@ -5311,6 +5746,14 @@ export interface operations {
|
|
|
5311
5746
|
[name: string]: unknown;
|
|
5312
5747
|
};
|
|
5313
5748
|
content: {
|
|
5749
|
+
/** @example {
|
|
5750
|
+
* "code": "ERROR_DOMAIN_NOT_FOUND",
|
|
5751
|
+
* "detail": "Domain not found",
|
|
5752
|
+
* "domain_name": "Additional error context.",
|
|
5753
|
+
* "status": 404,
|
|
5754
|
+
* "title": "Domain Management Error",
|
|
5755
|
+
* "type": "domain-not-found"
|
|
5756
|
+
* } */
|
|
5314
5757
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5315
5758
|
};
|
|
5316
5759
|
};
|
|
@@ -5320,6 +5763,15 @@ export interface operations {
|
|
|
5320
5763
|
[name: string]: unknown;
|
|
5321
5764
|
};
|
|
5322
5765
|
content: {
|
|
5766
|
+
/** @example {
|
|
5767
|
+
* "code": "ERROR_DOMAIN_TRANSFER",
|
|
5768
|
+
* "detail": "An unspecified error occurred",
|
|
5769
|
+
* "domain_name": "Additional error context.",
|
|
5770
|
+
* "reason": "There was an error transferring the domain",
|
|
5771
|
+
* "status": 400,
|
|
5772
|
+
* "title": "Domain Transfer Error",
|
|
5773
|
+
* "type": "domain-transfer"
|
|
5774
|
+
* } */
|
|
5323
5775
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5324
5776
|
};
|
|
5325
5777
|
};
|
|
@@ -5593,6 +6045,13 @@ export interface operations {
|
|
|
5593
6045
|
[name: string]: unknown;
|
|
5594
6046
|
};
|
|
5595
6047
|
content: {
|
|
6048
|
+
/** @example {
|
|
6049
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6050
|
+
* "detail": "Additional error context.",
|
|
6051
|
+
* "status": 401,
|
|
6052
|
+
* "title": "Authentication Error",
|
|
6053
|
+
* "type": "authentication"
|
|
6054
|
+
* } */
|
|
5596
6055
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5597
6056
|
};
|
|
5598
6057
|
};
|
|
@@ -5633,6 +6092,13 @@ export interface operations {
|
|
|
5633
6092
|
[name: string]: unknown;
|
|
5634
6093
|
};
|
|
5635
6094
|
content: {
|
|
6095
|
+
/** @example {
|
|
6096
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6097
|
+
* "detail": "Additional error context.",
|
|
6098
|
+
* "status": 401,
|
|
6099
|
+
* "title": "Authentication Error",
|
|
6100
|
+
* "type": "authentication"
|
|
6101
|
+
* } */
|
|
5636
6102
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5637
6103
|
};
|
|
5638
6104
|
};
|
|
@@ -5642,6 +6108,14 @@ export interface operations {
|
|
|
5642
6108
|
[name: string]: unknown;
|
|
5643
6109
|
};
|
|
5644
6110
|
content: {
|
|
6111
|
+
/** @example {
|
|
6112
|
+
* "code": "ERROR_EVENT_NOT_FOUND",
|
|
6113
|
+
* "detail": "Event not found",
|
|
6114
|
+
* "event_id": "Additional error context.",
|
|
6115
|
+
* "status": 404,
|
|
6116
|
+
* "title": "Event Error",
|
|
6117
|
+
* "type": "event-not-found"
|
|
6118
|
+
* } */
|
|
5645
6119
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5646
6120
|
};
|
|
5647
6121
|
};
|
|
@@ -5680,6 +6154,13 @@ export interface operations {
|
|
|
5680
6154
|
[name: string]: unknown;
|
|
5681
6155
|
};
|
|
5682
6156
|
content: {
|
|
6157
|
+
/** @example {
|
|
6158
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6159
|
+
* "detail": "Additional error context.",
|
|
6160
|
+
* "status": 401,
|
|
6161
|
+
* "title": "Authentication Error",
|
|
6162
|
+
* "type": "authentication"
|
|
6163
|
+
* } */
|
|
5683
6164
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5684
6165
|
};
|
|
5685
6166
|
};
|
|
@@ -5689,6 +6170,14 @@ export interface operations {
|
|
|
5689
6170
|
[name: string]: unknown;
|
|
5690
6171
|
};
|
|
5691
6172
|
content: {
|
|
6173
|
+
/** @example {
|
|
6174
|
+
* "code": "ERROR_EVENT_NOT_FOUND",
|
|
6175
|
+
* "detail": "Event not found",
|
|
6176
|
+
* "event_id": "Additional error context.",
|
|
6177
|
+
* "status": 404,
|
|
6178
|
+
* "title": "Event Error",
|
|
6179
|
+
* "type": "event-not-found"
|
|
6180
|
+
* } */
|
|
5692
6181
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5693
6182
|
};
|
|
5694
6183
|
};
|