@opusdns/api 0.47.0 → 0.49.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 +2 -2
- package/src/helpers/requests.d.ts +0 -60
- package/src/helpers/responses.d.ts +0 -92
- package/src/openapi.yaml +2 -64
- package/src/schema.d.ts +3 -84
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -206,7 +206,7 @@ export const BILLING_TRANSACTION_ACTION_VALUES = [
|
|
|
206
206
|
*/
|
|
207
207
|
export const BILLING_TRANSACTION_PRODUCT_TYPE = {
|
|
208
208
|
DOMAIN: "domain",
|
|
209
|
-
|
|
209
|
+
ZONES: "zones",
|
|
210
210
|
EMAIL_FORWARD: "email_forward",
|
|
211
211
|
DOMAIN_FORWARD: "domain_forward",
|
|
212
212
|
} as const satisfies Record<string, BillingTransactionProductType>;
|
|
@@ -234,7 +234,7 @@ export const BILLING_TRANSACTION_PRODUCT_TYPE = {
|
|
|
234
234
|
*/
|
|
235
235
|
export const BILLING_TRANSACTION_PRODUCT_TYPE_VALUES = [
|
|
236
236
|
'domain',
|
|
237
|
-
'
|
|
237
|
+
'zones',
|
|
238
238
|
'email_forward',
|
|
239
239
|
'domain_forward'
|
|
240
240
|
] as const satisfies [string, ...string[]] | BillingTransactionProductType[];
|
|
@@ -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
|
*
|
|
@@ -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
|
@@ -90,7 +90,7 @@ components:
|
|
|
90
90
|
BillingTransactionProductType:
|
|
91
91
|
enum:
|
|
92
92
|
- domain
|
|
93
|
-
-
|
|
93
|
+
- zones
|
|
94
94
|
- email_forward
|
|
95
95
|
- domain_forward
|
|
96
96
|
title: BillingTransactionProductType
|
|
@@ -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-17-104252
|
|
5338
5338
|
x-logo:
|
|
5339
5339
|
altText: OpusDNS API Reference
|
|
5340
5340
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -9399,28 +9399,6 @@ paths:
|
|
|
9399
9399
|
tags:
|
|
9400
9400
|
- user
|
|
9401
9401
|
/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
9402
|
get:
|
|
9425
9403
|
operationId: get_verification_status_me_v1_users_me_verification_get
|
|
9426
9404
|
responses:
|
|
@@ -9800,46 +9778,6 @@ paths:
|
|
|
9800
9778
|
tags:
|
|
9801
9779
|
- user
|
|
9802
9780
|
/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
9781
|
get:
|
|
9844
9782
|
operationId: get_verification_status_v1_users__user_id__verification_get
|
|
9845
9783
|
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 */
|
|
@@ -1278,7 +1276,7 @@ export interface components {
|
|
|
1278
1276
|
* BillingTransactionProductType
|
|
1279
1277
|
* @enum {string}
|
|
1280
1278
|
*/
|
|
1281
|
-
BillingTransactionProductType: "domain" | "
|
|
1279
|
+
BillingTransactionProductType: "domain" | "zones" | "email_forward" | "domain_forward";
|
|
1282
1280
|
/** Body_issue_organization_token_v1_auth_token_post */
|
|
1283
1281
|
Body_issue_organization_token_v1_auth_token_post: {
|
|
1284
1282
|
/**
|
|
@@ -8617,40 +8615,6 @@ export interface operations {
|
|
|
8617
8615
|
};
|
|
8618
8616
|
};
|
|
8619
8617
|
};
|
|
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
8618
|
update_verification_me_v1_users_me_verification_patch: {
|
|
8655
8619
|
parameters: {
|
|
8656
8620
|
query: {
|
|
@@ -9059,51 +9023,6 @@ export interface operations {
|
|
|
9059
9023
|
};
|
|
9060
9024
|
};
|
|
9061
9025
|
};
|
|
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
9026
|
update_verification_v1_users__user_id__verification_patch: {
|
|
9108
9027
|
parameters: {
|
|
9109
9028
|
query: {
|