@opusdns/api 0.9.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 +12 -3
- package/src/schema.d.ts +396 -0
- package/src/types/constants.ts +109 -0
- package/src/types/keys.ts +1526 -4
- package/src/types/types.ts +470 -4
package/src/schema.d.ts
CHANGED
|
@@ -3672,6 +3672,13 @@ export interface operations {
|
|
|
3672
3672
|
[name: string]: unknown;
|
|
3673
3673
|
};
|
|
3674
3674
|
content: {
|
|
3675
|
+
/** @example {
|
|
3676
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3677
|
+
* "detail": "Additional error context.",
|
|
3678
|
+
* "status": 401,
|
|
3679
|
+
* "title": "Authentication Error",
|
|
3680
|
+
* "type": "authentication"
|
|
3681
|
+
* } */
|
|
3675
3682
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3676
3683
|
};
|
|
3677
3684
|
};
|
|
@@ -3714,6 +3721,13 @@ export interface operations {
|
|
|
3714
3721
|
[name: string]: unknown;
|
|
3715
3722
|
};
|
|
3716
3723
|
content: {
|
|
3724
|
+
/** @example {
|
|
3725
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3726
|
+
* "detail": "Additional error context.",
|
|
3727
|
+
* "status": 401,
|
|
3728
|
+
* "title": "Authentication Error",
|
|
3729
|
+
* "type": "authentication"
|
|
3730
|
+
* } */
|
|
3717
3731
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3718
3732
|
};
|
|
3719
3733
|
};
|
|
@@ -3752,6 +3766,13 @@ export interface operations {
|
|
|
3752
3766
|
[name: string]: unknown;
|
|
3753
3767
|
};
|
|
3754
3768
|
content: {
|
|
3769
|
+
/** @example {
|
|
3770
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3771
|
+
* "detail": "Additional error context.",
|
|
3772
|
+
* "status": 401,
|
|
3773
|
+
* "title": "Authentication Error",
|
|
3774
|
+
* "type": "authentication"
|
|
3775
|
+
* } */
|
|
3755
3776
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3756
3777
|
};
|
|
3757
3778
|
};
|
|
@@ -3761,6 +3782,14 @@ export interface operations {
|
|
|
3761
3782
|
[name: string]: unknown;
|
|
3762
3783
|
};
|
|
3763
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
|
+
* } */
|
|
3764
3793
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3765
3794
|
};
|
|
3766
3795
|
};
|
|
@@ -3797,6 +3826,13 @@ export interface operations {
|
|
|
3797
3826
|
[name: string]: unknown;
|
|
3798
3827
|
};
|
|
3799
3828
|
content: {
|
|
3829
|
+
/** @example {
|
|
3830
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3831
|
+
* "detail": "Additional error context.",
|
|
3832
|
+
* "status": 401,
|
|
3833
|
+
* "title": "Authentication Error",
|
|
3834
|
+
* "type": "authentication"
|
|
3835
|
+
* } */
|
|
3800
3836
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3801
3837
|
};
|
|
3802
3838
|
};
|
|
@@ -3830,6 +3866,14 @@ export interface operations {
|
|
|
3830
3866
|
[name: string]: unknown;
|
|
3831
3867
|
};
|
|
3832
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
|
+
* } */
|
|
3833
3877
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3834
3878
|
};
|
|
3835
3879
|
};
|
|
@@ -3872,6 +3916,13 @@ export interface operations {
|
|
|
3872
3916
|
[name: string]: unknown;
|
|
3873
3917
|
};
|
|
3874
3918
|
content: {
|
|
3919
|
+
/** @example {
|
|
3920
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3921
|
+
* "detail": "Additional error context.",
|
|
3922
|
+
* "status": 401,
|
|
3923
|
+
* "title": "Authentication Error",
|
|
3924
|
+
* "type": "authentication"
|
|
3925
|
+
* } */
|
|
3875
3926
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3876
3927
|
};
|
|
3877
3928
|
};
|
|
@@ -3915,6 +3966,13 @@ export interface operations {
|
|
|
3915
3966
|
[name: string]: unknown;
|
|
3916
3967
|
};
|
|
3917
3968
|
content: {
|
|
3969
|
+
/** @example {
|
|
3970
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
3971
|
+
* "detail": "Additional error context.",
|
|
3972
|
+
* "status": 401,
|
|
3973
|
+
* "title": "Authentication Error",
|
|
3974
|
+
* "type": "authentication"
|
|
3975
|
+
* } */
|
|
3918
3976
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3919
3977
|
};
|
|
3920
3978
|
};
|
|
@@ -3933,6 +3991,13 @@ export interface operations {
|
|
|
3933
3991
|
[name: string]: unknown;
|
|
3934
3992
|
};
|
|
3935
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
|
+
* } */
|
|
3936
4001
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3937
4002
|
};
|
|
3938
4003
|
};
|
|
@@ -3967,6 +4032,13 @@ export interface operations {
|
|
|
3967
4032
|
[name: string]: unknown;
|
|
3968
4033
|
};
|
|
3969
4034
|
content: {
|
|
4035
|
+
/** @example {
|
|
4036
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4037
|
+
* "detail": "Additional error context.",
|
|
4038
|
+
* "status": 401,
|
|
4039
|
+
* "title": "Authentication Error",
|
|
4040
|
+
* "type": "authentication"
|
|
4041
|
+
* } */
|
|
3970
4042
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3971
4043
|
};
|
|
3972
4044
|
};
|
|
@@ -3985,6 +4057,13 @@ export interface operations {
|
|
|
3985
4057
|
[name: string]: unknown;
|
|
3986
4058
|
};
|
|
3987
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
|
+
* } */
|
|
3988
4067
|
"application/problem+json": components["schemas"]["Problem"];
|
|
3989
4068
|
};
|
|
3990
4069
|
};
|
|
@@ -4090,6 +4169,13 @@ export interface operations {
|
|
|
4090
4169
|
[name: string]: unknown;
|
|
4091
4170
|
};
|
|
4092
4171
|
content: {
|
|
4172
|
+
/** @example {
|
|
4173
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4174
|
+
* "detail": "Additional error context.",
|
|
4175
|
+
* "status": 401,
|
|
4176
|
+
* "title": "Authentication Error",
|
|
4177
|
+
* "type": "authentication"
|
|
4178
|
+
* } */
|
|
4093
4179
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4094
4180
|
};
|
|
4095
4181
|
};
|
|
@@ -4099,6 +4185,14 @@ export interface operations {
|
|
|
4099
4185
|
[name: string]: unknown;
|
|
4100
4186
|
};
|
|
4101
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
|
+
* } */
|
|
4102
4196
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4103
4197
|
};
|
|
4104
4198
|
};
|
|
@@ -4146,6 +4240,13 @@ export interface operations {
|
|
|
4146
4240
|
[name: string]: unknown;
|
|
4147
4241
|
};
|
|
4148
4242
|
content: {
|
|
4243
|
+
/** @example {
|
|
4244
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4245
|
+
* "detail": "Additional error context.",
|
|
4246
|
+
* "status": 401,
|
|
4247
|
+
* "title": "Authentication Error",
|
|
4248
|
+
* "type": "authentication"
|
|
4249
|
+
* } */
|
|
4149
4250
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4150
4251
|
};
|
|
4151
4252
|
};
|
|
@@ -4155,6 +4256,14 @@ export interface operations {
|
|
|
4155
4256
|
[name: string]: unknown;
|
|
4156
4257
|
};
|
|
4157
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
|
+
* } */
|
|
4158
4267
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4159
4268
|
};
|
|
4160
4269
|
};
|
|
@@ -4226,6 +4335,14 @@ export interface operations {
|
|
|
4226
4335
|
[name: string]: unknown;
|
|
4227
4336
|
};
|
|
4228
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
|
+
* } */
|
|
4229
4346
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4230
4347
|
};
|
|
4231
4348
|
};
|
|
@@ -4264,6 +4381,14 @@ export interface operations {
|
|
|
4264
4381
|
[name: string]: unknown;
|
|
4265
4382
|
};
|
|
4266
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
|
+
* } */
|
|
4267
4392
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4268
4393
|
};
|
|
4269
4394
|
};
|
|
@@ -4273,6 +4398,40 @@ export interface operations {
|
|
|
4273
4398
|
[name: string]: unknown;
|
|
4274
4399
|
};
|
|
4275
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
|
+
* } */
|
|
4276
4435
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4277
4436
|
};
|
|
4278
4437
|
};
|
|
@@ -4313,6 +4472,13 @@ export interface operations {
|
|
|
4313
4472
|
[name: string]: unknown;
|
|
4314
4473
|
};
|
|
4315
4474
|
content: {
|
|
4475
|
+
/** @example {
|
|
4476
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4477
|
+
* "detail": "Additional error context.",
|
|
4478
|
+
* "status": 401,
|
|
4479
|
+
* "title": "Authentication Error",
|
|
4480
|
+
* "type": "authentication"
|
|
4481
|
+
* } */
|
|
4316
4482
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4317
4483
|
};
|
|
4318
4484
|
};
|
|
@@ -4322,6 +4488,14 @@ export interface operations {
|
|
|
4322
4488
|
[name: string]: unknown;
|
|
4323
4489
|
};
|
|
4324
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
|
+
* } */
|
|
4325
4499
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4326
4500
|
};
|
|
4327
4501
|
};
|
|
@@ -4371,6 +4545,13 @@ export interface operations {
|
|
|
4371
4545
|
[name: string]: unknown;
|
|
4372
4546
|
};
|
|
4373
4547
|
content: {
|
|
4548
|
+
/** @example {
|
|
4549
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4550
|
+
* "detail": "Additional error context.",
|
|
4551
|
+
* "status": 401,
|
|
4552
|
+
* "title": "Authentication Error",
|
|
4553
|
+
* "type": "authentication"
|
|
4554
|
+
* } */
|
|
4374
4555
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4375
4556
|
};
|
|
4376
4557
|
};
|
|
@@ -4380,6 +4561,13 @@ export interface operations {
|
|
|
4380
4561
|
[name: string]: unknown;
|
|
4381
4562
|
};
|
|
4382
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
|
+
* } */
|
|
4383
4571
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4384
4572
|
};
|
|
4385
4573
|
};
|
|
@@ -4389,6 +4577,14 @@ export interface operations {
|
|
|
4389
4577
|
[name: string]: unknown;
|
|
4390
4578
|
};
|
|
4391
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
|
+
* } */
|
|
4392
4588
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4393
4589
|
};
|
|
4394
4590
|
};
|
|
@@ -4431,6 +4627,13 @@ export interface operations {
|
|
|
4431
4627
|
[name: string]: unknown;
|
|
4432
4628
|
};
|
|
4433
4629
|
content: {
|
|
4630
|
+
/** @example {
|
|
4631
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4632
|
+
* "detail": "Additional error context.",
|
|
4633
|
+
* "status": 401,
|
|
4634
|
+
* "title": "Authentication Error",
|
|
4635
|
+
* "type": "authentication"
|
|
4636
|
+
* } */
|
|
4434
4637
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4435
4638
|
};
|
|
4436
4639
|
};
|
|
@@ -4440,6 +4643,14 @@ export interface operations {
|
|
|
4440
4643
|
[name: string]: unknown;
|
|
4441
4644
|
};
|
|
4442
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
|
+
* } */
|
|
4443
4654
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4444
4655
|
};
|
|
4445
4656
|
};
|
|
@@ -4449,6 +4660,13 @@ export interface operations {
|
|
|
4449
4660
|
[name: string]: unknown;
|
|
4450
4661
|
};
|
|
4451
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
|
+
* } */
|
|
4452
4670
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4453
4671
|
};
|
|
4454
4672
|
};
|
|
@@ -4487,6 +4705,13 @@ export interface operations {
|
|
|
4487
4705
|
[name: string]: unknown;
|
|
4488
4706
|
};
|
|
4489
4707
|
content: {
|
|
4708
|
+
/** @example {
|
|
4709
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
4710
|
+
* "detail": "Additional error context.",
|
|
4711
|
+
* "status": 401,
|
|
4712
|
+
* "title": "Authentication Error",
|
|
4713
|
+
* "type": "authentication"
|
|
4714
|
+
* } */
|
|
4490
4715
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4491
4716
|
};
|
|
4492
4717
|
};
|
|
@@ -4496,6 +4721,14 @@ export interface operations {
|
|
|
4496
4721
|
[name: string]: unknown;
|
|
4497
4722
|
};
|
|
4498
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
|
+
* } */
|
|
4499
4732
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4500
4733
|
};
|
|
4501
4734
|
};
|
|
@@ -4848,6 +5081,13 @@ export interface operations {
|
|
|
4848
5081
|
[name: string]: unknown;
|
|
4849
5082
|
};
|
|
4850
5083
|
content: {
|
|
5084
|
+
/** @example {
|
|
5085
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
5086
|
+
* "detail": "Additional error context.",
|
|
5087
|
+
* "status": 401,
|
|
5088
|
+
* "title": "Authentication Error",
|
|
5089
|
+
* "type": "authentication"
|
|
5090
|
+
* } */
|
|
4851
5091
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4852
5092
|
};
|
|
4853
5093
|
};
|
|
@@ -4866,6 +5106,13 @@ export interface operations {
|
|
|
4866
5106
|
[name: string]: unknown;
|
|
4867
5107
|
};
|
|
4868
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
|
+
* } */
|
|
4869
5116
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4870
5117
|
};
|
|
4871
5118
|
};
|
|
@@ -4946,6 +5193,14 @@ export interface operations {
|
|
|
4946
5193
|
[name: string]: unknown;
|
|
4947
5194
|
};
|
|
4948
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
|
+
* } */
|
|
4949
5204
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4950
5205
|
};
|
|
4951
5206
|
};
|
|
@@ -4955,6 +5210,14 @@ export interface operations {
|
|
|
4955
5210
|
[name: string]: unknown;
|
|
4956
5211
|
};
|
|
4957
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
|
+
* } */
|
|
4958
5221
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4959
5222
|
};
|
|
4960
5223
|
};
|
|
@@ -4964,6 +5227,14 @@ export interface operations {
|
|
|
4964
5227
|
[name: string]: unknown;
|
|
4965
5228
|
};
|
|
4966
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
|
+
* } */
|
|
4967
5238
|
"application/problem+json": components["schemas"]["Problem"];
|
|
4968
5239
|
};
|
|
4969
5240
|
};
|
|
@@ -5069,6 +5340,14 @@ export interface operations {
|
|
|
5069
5340
|
[name: string]: unknown;
|
|
5070
5341
|
};
|
|
5071
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
|
+
* } */
|
|
5072
5351
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5073
5352
|
};
|
|
5074
5353
|
};
|
|
@@ -5078,6 +5357,14 @@ export interface operations {
|
|
|
5078
5357
|
[name: string]: unknown;
|
|
5079
5358
|
};
|
|
5080
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
|
+
* } */
|
|
5081
5368
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5082
5369
|
};
|
|
5083
5370
|
};
|
|
@@ -5087,6 +5374,12 @@ export interface operations {
|
|
|
5087
5374
|
[name: string]: unknown;
|
|
5088
5375
|
};
|
|
5089
5376
|
content: {
|
|
5377
|
+
/** @example {
|
|
5378
|
+
* "detail": "Additional error context.",
|
|
5379
|
+
* "status": 422,
|
|
5380
|
+
* "title": "Policy Validation Error",
|
|
5381
|
+
* "type": "policy-validation-error"
|
|
5382
|
+
* } */
|
|
5090
5383
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5091
5384
|
};
|
|
5092
5385
|
};
|
|
@@ -5118,6 +5411,14 @@ export interface operations {
|
|
|
5118
5411
|
[name: string]: unknown;
|
|
5119
5412
|
};
|
|
5120
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
|
+
* } */
|
|
5121
5422
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5122
5423
|
};
|
|
5123
5424
|
};
|
|
@@ -5156,6 +5457,14 @@ export interface operations {
|
|
|
5156
5457
|
[name: string]: unknown;
|
|
5157
5458
|
};
|
|
5158
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
|
+
* } */
|
|
5159
5468
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5160
5469
|
};
|
|
5161
5470
|
};
|
|
@@ -5165,6 +5474,15 @@ export interface operations {
|
|
|
5165
5474
|
[name: string]: unknown;
|
|
5166
5475
|
};
|
|
5167
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
|
+
* } */
|
|
5168
5486
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5169
5487
|
};
|
|
5170
5488
|
};
|
|
@@ -5249,6 +5567,14 @@ export interface operations {
|
|
|
5249
5567
|
[name: string]: unknown;
|
|
5250
5568
|
};
|
|
5251
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
|
+
* } */
|
|
5252
5578
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5253
5579
|
};
|
|
5254
5580
|
};
|
|
@@ -5293,6 +5619,14 @@ export interface operations {
|
|
|
5293
5619
|
[name: string]: unknown;
|
|
5294
5620
|
};
|
|
5295
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
|
+
* } */
|
|
5296
5630
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5297
5631
|
};
|
|
5298
5632
|
};
|
|
@@ -5331,6 +5665,14 @@ export interface operations {
|
|
|
5331
5665
|
[name: string]: unknown;
|
|
5332
5666
|
};
|
|
5333
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
|
+
* } */
|
|
5334
5676
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5335
5677
|
};
|
|
5336
5678
|
};
|
|
@@ -5404,6 +5746,14 @@ export interface operations {
|
|
|
5404
5746
|
[name: string]: unknown;
|
|
5405
5747
|
};
|
|
5406
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
|
+
* } */
|
|
5407
5757
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5408
5758
|
};
|
|
5409
5759
|
};
|
|
@@ -5413,6 +5763,15 @@ export interface operations {
|
|
|
5413
5763
|
[name: string]: unknown;
|
|
5414
5764
|
};
|
|
5415
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
|
+
* } */
|
|
5416
5775
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5417
5776
|
};
|
|
5418
5777
|
};
|
|
@@ -5686,6 +6045,13 @@ export interface operations {
|
|
|
5686
6045
|
[name: string]: unknown;
|
|
5687
6046
|
};
|
|
5688
6047
|
content: {
|
|
6048
|
+
/** @example {
|
|
6049
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6050
|
+
* "detail": "Additional error context.",
|
|
6051
|
+
* "status": 401,
|
|
6052
|
+
* "title": "Authentication Error",
|
|
6053
|
+
* "type": "authentication"
|
|
6054
|
+
* } */
|
|
5689
6055
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5690
6056
|
};
|
|
5691
6057
|
};
|
|
@@ -5726,6 +6092,13 @@ export interface operations {
|
|
|
5726
6092
|
[name: string]: unknown;
|
|
5727
6093
|
};
|
|
5728
6094
|
content: {
|
|
6095
|
+
/** @example {
|
|
6096
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6097
|
+
* "detail": "Additional error context.",
|
|
6098
|
+
* "status": 401,
|
|
6099
|
+
* "title": "Authentication Error",
|
|
6100
|
+
* "type": "authentication"
|
|
6101
|
+
* } */
|
|
5729
6102
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5730
6103
|
};
|
|
5731
6104
|
};
|
|
@@ -5735,6 +6108,14 @@ export interface operations {
|
|
|
5735
6108
|
[name: string]: unknown;
|
|
5736
6109
|
};
|
|
5737
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
|
+
* } */
|
|
5738
6119
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5739
6120
|
};
|
|
5740
6121
|
};
|
|
@@ -5773,6 +6154,13 @@ export interface operations {
|
|
|
5773
6154
|
[name: string]: unknown;
|
|
5774
6155
|
};
|
|
5775
6156
|
content: {
|
|
6157
|
+
/** @example {
|
|
6158
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
6159
|
+
* "detail": "Additional error context.",
|
|
6160
|
+
* "status": 401,
|
|
6161
|
+
* "title": "Authentication Error",
|
|
6162
|
+
* "type": "authentication"
|
|
6163
|
+
* } */
|
|
5776
6164
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5777
6165
|
};
|
|
5778
6166
|
};
|
|
@@ -5782,6 +6170,14 @@ export interface operations {
|
|
|
5782
6170
|
[name: string]: unknown;
|
|
5783
6171
|
};
|
|
5784
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
|
+
* } */
|
|
5785
6181
|
"application/problem+json": components["schemas"]["Problem"];
|
|
5786
6182
|
};
|
|
5787
6183
|
};
|