@opusdns/api 0.48.0 → 0.50.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/requests.d.ts +0 -60
- package/src/helpers/responses.d.ts +2 -94
- package/src/openapi.yaml +8 -65
- package/src/schema.d.ts +10 -85
package/package.json
CHANGED
|
@@ -3661,28 +3661,6 @@ export type PATCH_UsersMePasswordReset_Request = {
|
|
|
3661
3661
|
*/
|
|
3662
3662
|
export type PATCH_UsersMePasswordReset_Request_Body = PATCH_UsersMePasswordReset_Request['requestBody'];
|
|
3663
3663
|
|
|
3664
|
-
/**
|
|
3665
|
-
* Request type for DELETE UsersMeVerification endpoint
|
|
3666
|
-
*
|
|
3667
|
-
* Cancel Verification Me
|
|
3668
|
-
*
|
|
3669
|
-
* @remarks
|
|
3670
|
-
* This type defines the complete request structure for the DELETE UsersMeVerification endpoint.
|
|
3671
|
-
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
3672
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
3673
|
-
*
|
|
3674
|
-
* @example
|
|
3675
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
3676
|
-
*
|
|
3677
|
-
* @path /v1/users/me/verification
|
|
3678
|
-
*
|
|
3679
|
-
* @see {@link DELETE_UsersMeVerification_Request_Query} - Query parameters type
|
|
3680
|
-
* @see {@link DELETE_UsersMeVerification_Request_Path} - Path parameters type
|
|
3681
|
-
* @see {@link DELETE_UsersMeVerification_Request_Body} - Request body type
|
|
3682
|
-
*/
|
|
3683
|
-
export type DELETE_UsersMeVerification_Request = {
|
|
3684
|
-
}
|
|
3685
|
-
|
|
3686
3664
|
/**
|
|
3687
3665
|
* Request type for GET UsersMeVerification endpoint
|
|
3688
3666
|
*
|
|
@@ -4051,44 +4029,6 @@ export type PATCH_UsersUserIdRoles_Request_Path = PATCH_UsersUserIdRoles_Request
|
|
|
4051
4029
|
*/
|
|
4052
4030
|
export type PATCH_UsersUserIdRoles_Request_Body = PATCH_UsersUserIdRoles_Request['requestBody'];
|
|
4053
4031
|
|
|
4054
|
-
/**
|
|
4055
|
-
* Request type for DELETE UsersUserIdVerification endpoint
|
|
4056
|
-
*
|
|
4057
|
-
* Cancel Verification
|
|
4058
|
-
*
|
|
4059
|
-
* @remarks
|
|
4060
|
-
* This type defines the complete request structure for the DELETE UsersUserIdVerification endpoint.
|
|
4061
|
-
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
4062
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
4063
|
-
*
|
|
4064
|
-
* @example
|
|
4065
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
4066
|
-
*
|
|
4067
|
-
* @path /v1/users/{user_id}/verification
|
|
4068
|
-
*
|
|
4069
|
-
* @see {@link DELETE_UsersUserIdVerification_Request_Query} - Query parameters type
|
|
4070
|
-
* @see {@link DELETE_UsersUserIdVerification_Request_Path} - Path parameters type
|
|
4071
|
-
* @see {@link DELETE_UsersUserIdVerification_Request_Body} - Request body type
|
|
4072
|
-
*/
|
|
4073
|
-
export type DELETE_UsersUserIdVerification_Request = {
|
|
4074
|
-
parameters: {
|
|
4075
|
-
path: operations['cancel_verification_v1_users__user_id__verification_delete']['parameters']['path'];
|
|
4076
|
-
};
|
|
4077
|
-
}
|
|
4078
|
-
/**
|
|
4079
|
-
* Path parameters for DELETE /v1/users/{user_id}/verification
|
|
4080
|
-
*
|
|
4081
|
-
* @remarks
|
|
4082
|
-
* This type defines the path parameters for the DELETE /v1/users/{user_id}/verification endpoint.
|
|
4083
|
-
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
4084
|
-
*
|
|
4085
|
-
* @example
|
|
4086
|
-
* Use this type to ensure type safety for path parameters.
|
|
4087
|
-
*
|
|
4088
|
-
* @path /v1/users/{user_id}/verification
|
|
4089
|
-
*/
|
|
4090
|
-
export type DELETE_UsersUserIdVerification_Request_Path = DELETE_UsersUserIdVerification_Request['parameters']['path'];
|
|
4091
|
-
|
|
4092
4032
|
/**
|
|
4093
4033
|
* Request type for GET UsersUserIdVerification endpoint
|
|
4094
4034
|
*
|
|
@@ -2674,9 +2674,9 @@ export type PUT_DomainsByDomainReferenceDnssec_Response_404 = Problem
|
|
|
2674
2674
|
* @path /v1/domains/{domain_reference}/dnssec
|
|
2675
2675
|
*
|
|
2676
2676
|
* @see {@link PUT_DomainsByDomainReferenceDnssec_Response} - The main response type definition
|
|
2677
|
-
* @see {@link
|
|
2677
|
+
* @see {@link Problem} - The actual schema type definition
|
|
2678
2678
|
*/
|
|
2679
|
-
export type PUT_DomainsByDomainReferenceDnssec_Response_422 =
|
|
2679
|
+
export type PUT_DomainsByDomainReferenceDnssec_Response_422 = Problem
|
|
2680
2680
|
|
|
2681
2681
|
/**
|
|
2682
2682
|
* Response types for POST DomainsByDomainReferenceDnssecDisable endpoint
|
|
@@ -5494,61 +5494,6 @@ export type PATCH_UsersByUserIdRoles_Response_200 = RelationSet
|
|
|
5494
5494
|
*/
|
|
5495
5495
|
export type PATCH_UsersByUserIdRoles_Response_422 = HTTPValidationError
|
|
5496
5496
|
|
|
5497
|
-
/**
|
|
5498
|
-
* Response types for DELETE UsersByUserIdVerification endpoint
|
|
5499
|
-
*
|
|
5500
|
-
* Cancel Verification
|
|
5501
|
-
*
|
|
5502
|
-
* @remarks
|
|
5503
|
-
* This type defines all possible response structures for the DELETE UsersByUserIdVerification endpoint.
|
|
5504
|
-
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
5505
|
-
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
5506
|
-
*
|
|
5507
|
-
|
|
5508
|
-
*
|
|
5509
|
-
* @path /v1/users/{user_id}/verification
|
|
5510
|
-
*
|
|
5511
|
-
* @see {@link DELETE_UsersByUserIdVerification_Response_401} - 401 response type
|
|
5512
|
-
* @see {@link DELETE_UsersByUserIdVerification_Response_422} - 422 response type
|
|
5513
|
-
*
|
|
5514
|
-
|
|
5515
|
-
*/
|
|
5516
|
-
export type DELETE_UsersByUserIdVerification_Response = DELETE_UsersByUserIdVerification_Response_401 | DELETE_UsersByUserIdVerification_Response_422;
|
|
5517
|
-
|
|
5518
|
-
/**
|
|
5519
|
-
* 401 response for DELETE UsersByUserIdVerification endpoint
|
|
5520
|
-
*
|
|
5521
|
-
* @remarks
|
|
5522
|
-
* This type defines the response structure for the 401 status code
|
|
5523
|
-
* of the DELETE UsersByUserIdVerification endpoint.
|
|
5524
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
5525
|
-
*
|
|
5526
|
-
|
|
5527
|
-
*
|
|
5528
|
-
* @path /v1/users/{user_id}/verification
|
|
5529
|
-
*
|
|
5530
|
-
* @see {@link DELETE_UsersByUserIdVerification_Response} - The main response type definition
|
|
5531
|
-
* @see {@link Problem} - The actual schema type definition
|
|
5532
|
-
*/
|
|
5533
|
-
export type DELETE_UsersByUserIdVerification_Response_401 = Problem
|
|
5534
|
-
|
|
5535
|
-
/**
|
|
5536
|
-
* 422 response for DELETE UsersByUserIdVerification endpoint
|
|
5537
|
-
*
|
|
5538
|
-
* @remarks
|
|
5539
|
-
* This type defines the response structure for the 422 status code
|
|
5540
|
-
* of the DELETE UsersByUserIdVerification endpoint.
|
|
5541
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
5542
|
-
*
|
|
5543
|
-
|
|
5544
|
-
*
|
|
5545
|
-
* @path /v1/users/{user_id}/verification
|
|
5546
|
-
*
|
|
5547
|
-
* @see {@link DELETE_UsersByUserIdVerification_Response} - The main response type definition
|
|
5548
|
-
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
5549
|
-
*/
|
|
5550
|
-
export type DELETE_UsersByUserIdVerification_Response_422 = HTTPValidationError
|
|
5551
|
-
|
|
5552
5497
|
/**
|
|
5553
5498
|
* Response types for GET UsersByUserIdVerification endpoint
|
|
5554
5499
|
*
|
|
@@ -6006,43 +5951,6 @@ export type PATCH_UsersMePasswordReset_Response_401 = Problem
|
|
|
6006
5951
|
*/
|
|
6007
5952
|
export type PATCH_UsersMePasswordReset_Response_422 = HTTPValidationError
|
|
6008
5953
|
|
|
6009
|
-
/**
|
|
6010
|
-
* Response types for DELETE UsersMeVerification endpoint
|
|
6011
|
-
*
|
|
6012
|
-
* Cancel Verification Me
|
|
6013
|
-
*
|
|
6014
|
-
* @remarks
|
|
6015
|
-
* This type defines all possible response structures for the DELETE UsersMeVerification endpoint.
|
|
6016
|
-
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
6017
|
-
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
6018
|
-
*
|
|
6019
|
-
|
|
6020
|
-
*
|
|
6021
|
-
* @path /v1/users/me/verification
|
|
6022
|
-
*
|
|
6023
|
-
* @see {@link DELETE_UsersMeVerification_Response_401} - 401 response type
|
|
6024
|
-
*
|
|
6025
|
-
|
|
6026
|
-
*/
|
|
6027
|
-
export type DELETE_UsersMeVerification_Response = DELETE_UsersMeVerification_Response_401;
|
|
6028
|
-
|
|
6029
|
-
/**
|
|
6030
|
-
* 401 response for DELETE UsersMeVerification endpoint
|
|
6031
|
-
*
|
|
6032
|
-
* @remarks
|
|
6033
|
-
* This type defines the response structure for the 401 status code
|
|
6034
|
-
* of the DELETE UsersMeVerification endpoint.
|
|
6035
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
6036
|
-
*
|
|
6037
|
-
|
|
6038
|
-
*
|
|
6039
|
-
* @path /v1/users/me/verification
|
|
6040
|
-
*
|
|
6041
|
-
* @see {@link DELETE_UsersMeVerification_Response} - The main response type definition
|
|
6042
|
-
* @see {@link Problem} - The actual schema type definition
|
|
6043
|
-
*/
|
|
6044
|
-
export type DELETE_UsersMeVerification_Response_401 = Problem
|
|
6045
|
-
|
|
6046
5954
|
/**
|
|
6047
5955
|
* Response types for GET UsersMeVerification endpoint
|
|
6048
5956
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -5334,7 +5334,7 @@ info:
|
|
|
5334
5334
|
'
|
|
5335
5335
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5336
5336
|
title: OpusDNS API
|
|
5337
|
-
version: 2025-09-
|
|
5337
|
+
version: 2025-09-18-062613
|
|
5338
5338
|
x-logo:
|
|
5339
5339
|
altText: OpusDNS API Reference
|
|
5340
5340
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -7672,9 +7672,14 @@ paths:
|
|
|
7672
7672
|
'422':
|
|
7673
7673
|
content:
|
|
7674
7674
|
application/problem+json:
|
|
7675
|
+
example:
|
|
7676
|
+
detail: Additional error context.
|
|
7677
|
+
status: 422
|
|
7678
|
+
title: Policy Validation Error
|
|
7679
|
+
type: policy-validation-error
|
|
7675
7680
|
schema:
|
|
7676
|
-
$ref: '#/components/schemas/
|
|
7677
|
-
description:
|
|
7681
|
+
$ref: '#/components/schemas/Problem'
|
|
7682
|
+
description: Unprocessable Content
|
|
7678
7683
|
security:
|
|
7679
7684
|
- OAuth2PasswordBearer: []
|
|
7680
7685
|
summary: Update DNSSEC data
|
|
@@ -9399,28 +9404,6 @@ paths:
|
|
|
9399
9404
|
tags:
|
|
9400
9405
|
- user
|
|
9401
9406
|
/v1/users/me/verification:
|
|
9402
|
-
delete:
|
|
9403
|
-
operationId: cancel_verification_me_v1_users_me_verification_delete
|
|
9404
|
-
responses:
|
|
9405
|
-
'204':
|
|
9406
|
-
description: Successful Response
|
|
9407
|
-
'401':
|
|
9408
|
-
content:
|
|
9409
|
-
application/problem+json:
|
|
9410
|
-
example:
|
|
9411
|
-
code: ERROR_AUTHENTICATION
|
|
9412
|
-
detail: Additional error context.
|
|
9413
|
-
status: 401
|
|
9414
|
-
title: Authentication Error
|
|
9415
|
-
type: authentication
|
|
9416
|
-
schema:
|
|
9417
|
-
$ref: '#/components/schemas/Problem'
|
|
9418
|
-
description: Unauthorized
|
|
9419
|
-
security:
|
|
9420
|
-
- OAuth2PasswordBearer: []
|
|
9421
|
-
summary: Cancel Verification Me
|
|
9422
|
-
tags:
|
|
9423
|
-
- user
|
|
9424
9407
|
get:
|
|
9425
9408
|
operationId: get_verification_status_me_v1_users_me_verification_get
|
|
9426
9409
|
responses:
|
|
@@ -9800,46 +9783,6 @@ paths:
|
|
|
9800
9783
|
tags:
|
|
9801
9784
|
- user
|
|
9802
9785
|
/v1/users/{user_id}/verification:
|
|
9803
|
-
delete:
|
|
9804
|
-
operationId: cancel_verification_v1_users__user_id__verification_delete
|
|
9805
|
-
parameters:
|
|
9806
|
-
- in: path
|
|
9807
|
-
name: user_id
|
|
9808
|
-
required: true
|
|
9809
|
-
schema:
|
|
9810
|
-
examples:
|
|
9811
|
-
- user_01h45ytscbebyvny4gc8cr8ma2
|
|
9812
|
-
format: typeid
|
|
9813
|
-
pattern: ^user_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
9814
|
-
title: User Id
|
|
9815
|
-
type: string
|
|
9816
|
-
x-typeid-prefix: user
|
|
9817
|
-
responses:
|
|
9818
|
-
'204':
|
|
9819
|
-
description: Successful Response
|
|
9820
|
-
'401':
|
|
9821
|
-
content:
|
|
9822
|
-
application/problem+json:
|
|
9823
|
-
example:
|
|
9824
|
-
code: ERROR_AUTHENTICATION
|
|
9825
|
-
detail: Additional error context.
|
|
9826
|
-
status: 401
|
|
9827
|
-
title: Authentication Error
|
|
9828
|
-
type: authentication
|
|
9829
|
-
schema:
|
|
9830
|
-
$ref: '#/components/schemas/Problem'
|
|
9831
|
-
description: Unauthorized
|
|
9832
|
-
'422':
|
|
9833
|
-
content:
|
|
9834
|
-
application/problem+json:
|
|
9835
|
-
schema:
|
|
9836
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
9837
|
-
description: Validation Error
|
|
9838
|
-
security:
|
|
9839
|
-
- OAuth2PasswordBearer: []
|
|
9840
|
-
summary: Cancel Verification
|
|
9841
|
-
tags:
|
|
9842
|
-
- user
|
|
9843
9786
|
get:
|
|
9844
9787
|
operationId: get_verification_status_v1_users__user_id__verification_get
|
|
9845
9788
|
parameters:
|
package/src/schema.d.ts
CHANGED
|
@@ -1122,8 +1122,7 @@ export interface paths {
|
|
|
1122
1122
|
put?: never;
|
|
1123
1123
|
/** Create Verification Me */
|
|
1124
1124
|
post: operations["create_verification_me_v1_users_me_verification_post"];
|
|
1125
|
-
|
|
1126
|
-
delete: operations["cancel_verification_me_v1_users_me_verification_delete"];
|
|
1125
|
+
delete?: never;
|
|
1127
1126
|
options?: never;
|
|
1128
1127
|
head?: never;
|
|
1129
1128
|
/** Update Verification Me */
|
|
@@ -1196,8 +1195,7 @@ export interface paths {
|
|
|
1196
1195
|
put?: never;
|
|
1197
1196
|
/** Create Verification */
|
|
1198
1197
|
post: operations["create_verification_v1_users__user_id__verification_post"];
|
|
1199
|
-
|
|
1200
|
-
delete: operations["cancel_verification_v1_users__user_id__verification_delete"];
|
|
1198
|
+
delete?: never;
|
|
1201
1199
|
options?: never;
|
|
1202
1200
|
head?: never;
|
|
1203
1201
|
/** Update Verification */
|
|
@@ -6784,13 +6782,19 @@ export interface operations {
|
|
|
6784
6782
|
"application/problem+json": components["schemas"]["Problem"];
|
|
6785
6783
|
};
|
|
6786
6784
|
};
|
|
6787
|
-
/** @description
|
|
6785
|
+
/** @description Unprocessable Content */
|
|
6788
6786
|
422: {
|
|
6789
6787
|
headers: {
|
|
6790
6788
|
[name: string]: unknown;
|
|
6791
6789
|
};
|
|
6792
6790
|
content: {
|
|
6793
|
-
|
|
6791
|
+
/** @example {
|
|
6792
|
+
* "detail": "Additional error context.",
|
|
6793
|
+
* "status": 422,
|
|
6794
|
+
* "title": "Policy Validation Error",
|
|
6795
|
+
* "type": "policy-validation-error"
|
|
6796
|
+
* } */
|
|
6797
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
6794
6798
|
};
|
|
6795
6799
|
};
|
|
6796
6800
|
};
|
|
@@ -8617,40 +8621,6 @@ export interface operations {
|
|
|
8617
8621
|
};
|
|
8618
8622
|
};
|
|
8619
8623
|
};
|
|
8620
|
-
cancel_verification_me_v1_users_me_verification_delete: {
|
|
8621
|
-
parameters: {
|
|
8622
|
-
query?: never;
|
|
8623
|
-
header?: never;
|
|
8624
|
-
path?: never;
|
|
8625
|
-
cookie?: never;
|
|
8626
|
-
};
|
|
8627
|
-
requestBody?: never;
|
|
8628
|
-
responses: {
|
|
8629
|
-
/** @description Successful Response */
|
|
8630
|
-
204: {
|
|
8631
|
-
headers: {
|
|
8632
|
-
[name: string]: unknown;
|
|
8633
|
-
};
|
|
8634
|
-
content?: never;
|
|
8635
|
-
};
|
|
8636
|
-
/** @description Unauthorized */
|
|
8637
|
-
401: {
|
|
8638
|
-
headers: {
|
|
8639
|
-
[name: string]: unknown;
|
|
8640
|
-
};
|
|
8641
|
-
content: {
|
|
8642
|
-
/** @example {
|
|
8643
|
-
* "code": "ERROR_AUTHENTICATION",
|
|
8644
|
-
* "detail": "Additional error context.",
|
|
8645
|
-
* "status": 401,
|
|
8646
|
-
* "title": "Authentication Error",
|
|
8647
|
-
* "type": "authentication"
|
|
8648
|
-
* } */
|
|
8649
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
8650
|
-
};
|
|
8651
|
-
};
|
|
8652
|
-
};
|
|
8653
|
-
};
|
|
8654
8624
|
update_verification_me_v1_users_me_verification_patch: {
|
|
8655
8625
|
parameters: {
|
|
8656
8626
|
query: {
|
|
@@ -9059,51 +9029,6 @@ export interface operations {
|
|
|
9059
9029
|
};
|
|
9060
9030
|
};
|
|
9061
9031
|
};
|
|
9062
|
-
cancel_verification_v1_users__user_id__verification_delete: {
|
|
9063
|
-
parameters: {
|
|
9064
|
-
query?: never;
|
|
9065
|
-
header?: never;
|
|
9066
|
-
path: {
|
|
9067
|
-
user_id: TypeId<"user">;
|
|
9068
|
-
};
|
|
9069
|
-
cookie?: never;
|
|
9070
|
-
};
|
|
9071
|
-
requestBody?: never;
|
|
9072
|
-
responses: {
|
|
9073
|
-
/** @description Successful Response */
|
|
9074
|
-
204: {
|
|
9075
|
-
headers: {
|
|
9076
|
-
[name: string]: unknown;
|
|
9077
|
-
};
|
|
9078
|
-
content?: never;
|
|
9079
|
-
};
|
|
9080
|
-
/** @description Unauthorized */
|
|
9081
|
-
401: {
|
|
9082
|
-
headers: {
|
|
9083
|
-
[name: string]: unknown;
|
|
9084
|
-
};
|
|
9085
|
-
content: {
|
|
9086
|
-
/** @example {
|
|
9087
|
-
* "code": "ERROR_AUTHENTICATION",
|
|
9088
|
-
* "detail": "Additional error context.",
|
|
9089
|
-
* "status": 401,
|
|
9090
|
-
* "title": "Authentication Error",
|
|
9091
|
-
* "type": "authentication"
|
|
9092
|
-
* } */
|
|
9093
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
9094
|
-
};
|
|
9095
|
-
};
|
|
9096
|
-
/** @description Validation Error */
|
|
9097
|
-
422: {
|
|
9098
|
-
headers: {
|
|
9099
|
-
[name: string]: unknown;
|
|
9100
|
-
};
|
|
9101
|
-
content: {
|
|
9102
|
-
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
9103
|
-
};
|
|
9104
|
-
};
|
|
9105
|
-
};
|
|
9106
|
-
};
|
|
9107
9032
|
update_verification_v1_users__user_id__verification_patch: {
|
|
9108
9033
|
parameters: {
|
|
9109
9034
|
query: {
|