@opusdns/api 0.57.0 → 0.59.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 +1 -37
- package/src/helpers/responses.d.ts +1 -56
- package/src/openapi.yaml +3 -30
- package/src/schema.d.ts +3 -53
package/package.json
CHANGED
|
@@ -150,42 +150,6 @@ export type DELETE_AuthClientCredentialsApiKeyId_Request = {
|
|
|
150
150
|
*/
|
|
151
151
|
export type DELETE_AuthClientCredentialsApiKeyId_Request_Path = DELETE_AuthClientCredentialsApiKeyId_Request['parameters']['path'];
|
|
152
152
|
|
|
153
|
-
/**
|
|
154
|
-
* Request type for POST AuthInternalClientCredentials endpoint
|
|
155
|
-
*
|
|
156
|
-
* Issue Opusdns Internal Api Key
|
|
157
|
-
*
|
|
158
|
-
* @remarks
|
|
159
|
-
* This type defines the complete request structure for the POST AuthInternalClientCredentials endpoint.
|
|
160
|
-
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
161
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
162
|
-
*
|
|
163
|
-
* @example
|
|
164
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
165
|
-
*
|
|
166
|
-
* @path /v1/auth/internal_client_credentials
|
|
167
|
-
*
|
|
168
|
-
* @see {@link POST_AuthInternalClientCredentials_Request_Query} - Query parameters type
|
|
169
|
-
* @see {@link POST_AuthInternalClientCredentials_Request_Path} - Path parameters type
|
|
170
|
-
* @see {@link POST_AuthInternalClientCredentials_Request_Body} - Request body type
|
|
171
|
-
*/
|
|
172
|
-
export type POST_AuthInternalClientCredentials_Request = {
|
|
173
|
-
requestBody: OrganizationCredentialExtra;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Request body for POST /v1/auth/internal_client_credentials
|
|
177
|
-
*
|
|
178
|
-
* @remarks
|
|
179
|
-
* This type defines the request body structure for the POST /v1/auth/internal_client_credentials endpoint.
|
|
180
|
-
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
181
|
-
*
|
|
182
|
-
* @example
|
|
183
|
-
* Use this type to ensure type safety for request body structure.
|
|
184
|
-
*
|
|
185
|
-
* @path /v1/auth/internal_client_credentials
|
|
186
|
-
*/
|
|
187
|
-
export type POST_AuthInternalClientCredentials_Request_Body = POST_AuthInternalClientCredentials_Request['requestBody'];
|
|
188
|
-
|
|
189
153
|
/**
|
|
190
154
|
* Request type for POST AuthLogout endpoint
|
|
191
155
|
*
|
|
@@ -3366,7 +3330,7 @@ export type GET_UsersMe_Request_Query = GET_UsersMe_Request['parameters']['query
|
|
|
3366
3330
|
/**
|
|
3367
3331
|
* Request type for PATCH UsersMePasswordReset endpoint
|
|
3368
3332
|
*
|
|
3369
|
-
*
|
|
3333
|
+
* Change Password
|
|
3370
3334
|
*
|
|
3371
3335
|
* @remarks
|
|
3372
3336
|
* This type defines the complete request structure for the PATCH UsersMePasswordReset endpoint.
|
|
@@ -259,61 +259,6 @@ export type DELETE_AuthClientCredentialsByApiKeyId_Response_404 = Problem
|
|
|
259
259
|
*/
|
|
260
260
|
export type DELETE_AuthClientCredentialsByApiKeyId_Response_422 = HTTPValidationError
|
|
261
261
|
|
|
262
|
-
/**
|
|
263
|
-
* Response types for POST AuthInternalClientCredentials endpoint
|
|
264
|
-
*
|
|
265
|
-
* Issue Opusdns Internal Api Key
|
|
266
|
-
*
|
|
267
|
-
* @remarks
|
|
268
|
-
* This type defines all possible response structures for the POST AuthInternalClientCredentials endpoint.
|
|
269
|
-
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
270
|
-
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
271
|
-
*
|
|
272
|
-
|
|
273
|
-
*
|
|
274
|
-
* @path /v1/auth/internal_client_credentials
|
|
275
|
-
*
|
|
276
|
-
* @see {@link POST_AuthInternalClientCredentials_Response_200} - 200 response type
|
|
277
|
-
* @see {@link POST_AuthInternalClientCredentials_Response_422} - 422 response type
|
|
278
|
-
*
|
|
279
|
-
|
|
280
|
-
*/
|
|
281
|
-
export type POST_AuthInternalClientCredentials_Response = POST_AuthInternalClientCredentials_Response_200 | POST_AuthInternalClientCredentials_Response_422;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* 200 response for POST AuthInternalClientCredentials endpoint
|
|
285
|
-
*
|
|
286
|
-
* @remarks
|
|
287
|
-
* This type defines the response structure for the 200 status code
|
|
288
|
-
* of the POST AuthInternalClientCredentials endpoint.
|
|
289
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
290
|
-
*
|
|
291
|
-
|
|
292
|
-
*
|
|
293
|
-
* @path /v1/auth/internal_client_credentials
|
|
294
|
-
*
|
|
295
|
-
* @see {@link POST_AuthInternalClientCredentials_Response} - The main response type definition
|
|
296
|
-
* @see {@link OrganizationCredentialCreated} - The actual schema type definition
|
|
297
|
-
*/
|
|
298
|
-
export type POST_AuthInternalClientCredentials_Response_200 = OrganizationCredentialCreated
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* 422 response for POST AuthInternalClientCredentials endpoint
|
|
302
|
-
*
|
|
303
|
-
* @remarks
|
|
304
|
-
* This type defines the response structure for the 422 status code
|
|
305
|
-
* of the POST AuthInternalClientCredentials endpoint.
|
|
306
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
307
|
-
*
|
|
308
|
-
|
|
309
|
-
*
|
|
310
|
-
* @path /v1/auth/internal_client_credentials
|
|
311
|
-
*
|
|
312
|
-
* @see {@link POST_AuthInternalClientCredentials_Response} - The main response type definition
|
|
313
|
-
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
314
|
-
*/
|
|
315
|
-
export type POST_AuthInternalClientCredentials_Response_422 = HTTPValidationError
|
|
316
|
-
|
|
317
262
|
/**
|
|
318
263
|
* Response types for POST AuthLogout endpoint
|
|
319
264
|
*
|
|
@@ -5402,7 +5347,7 @@ export type GET_UsersMe_Response_422 = HTTPValidationError
|
|
|
5402
5347
|
/**
|
|
5403
5348
|
* Response types for PATCH UsersMePasswordReset endpoint
|
|
5404
5349
|
*
|
|
5405
|
-
*
|
|
5350
|
+
* Change Password
|
|
5406
5351
|
*
|
|
5407
5352
|
* @remarks
|
|
5408
5353
|
* This type defines all possible response structures for the PATCH UsersMePasswordReset endpoint.
|
package/src/openapi.yaml
CHANGED
|
@@ -4908,7 +4908,7 @@ info:
|
|
|
4908
4908
|
'
|
|
4909
4909
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
4910
4910
|
title: OpusDNS API
|
|
4911
|
-
version: 2025-09-
|
|
4911
|
+
version: 2025-09-22-083231
|
|
4912
4912
|
x-logo:
|
|
4913
4913
|
altText: OpusDNS API Reference
|
|
4914
4914
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -5068,33 +5068,6 @@ paths:
|
|
|
5068
5068
|
summary: Delete Api Key
|
|
5069
5069
|
tags:
|
|
5070
5070
|
- authentication
|
|
5071
|
-
/v1/auth/internal_client_credentials:
|
|
5072
|
-
post:
|
|
5073
|
-
operationId: issue_opusdns_internal_api_key_v1_auth_internal_client_credentials_post
|
|
5074
|
-
requestBody:
|
|
5075
|
-
content:
|
|
5076
|
-
application/json:
|
|
5077
|
-
schema:
|
|
5078
|
-
$ref: '#/components/schemas/OrganizationCredentialExtra'
|
|
5079
|
-
required: true
|
|
5080
|
-
responses:
|
|
5081
|
-
'200':
|
|
5082
|
-
content:
|
|
5083
|
-
application/json:
|
|
5084
|
-
schema:
|
|
5085
|
-
$ref: '#/components/schemas/OrganizationCredentialCreated'
|
|
5086
|
-
description: Successful Response
|
|
5087
|
-
'422':
|
|
5088
|
-
content:
|
|
5089
|
-
application/problem+json:
|
|
5090
|
-
schema:
|
|
5091
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
5092
|
-
description: Validation Error
|
|
5093
|
-
security:
|
|
5094
|
-
- OAuth2PasswordBearer: []
|
|
5095
|
-
summary: Issue Opusdns Internal Api Key
|
|
5096
|
-
tags:
|
|
5097
|
-
- authentication
|
|
5098
5071
|
/v1/auth/logout:
|
|
5099
5072
|
post:
|
|
5100
5073
|
operationId: logout_v1_auth_logout_post
|
|
@@ -8788,7 +8761,7 @@ paths:
|
|
|
8788
8761
|
- user
|
|
8789
8762
|
/v1/users/me/password-reset:
|
|
8790
8763
|
patch:
|
|
8791
|
-
operationId:
|
|
8764
|
+
operationId: change_password_v1_users_me_password_reset_patch
|
|
8792
8765
|
requestBody:
|
|
8793
8766
|
content:
|
|
8794
8767
|
application/json:
|
|
@@ -8818,7 +8791,7 @@ paths:
|
|
|
8818
8791
|
description: Validation Error
|
|
8819
8792
|
security:
|
|
8820
8793
|
- OAuth2PasswordBearer: []
|
|
8821
|
-
summary:
|
|
8794
|
+
summary: Change Password
|
|
8822
8795
|
tags:
|
|
8823
8796
|
- user
|
|
8824
8797
|
/v1/users/{user_id}:
|
package/src/schema.d.ts
CHANGED
|
@@ -35,23 +35,6 @@ export interface paths {
|
|
|
35
35
|
patch?: never;
|
|
36
36
|
trace?: never;
|
|
37
37
|
};
|
|
38
|
-
"/v1/auth/internal_client_credentials": {
|
|
39
|
-
parameters: {
|
|
40
|
-
query?: never;
|
|
41
|
-
header?: never;
|
|
42
|
-
path?: never;
|
|
43
|
-
cookie?: never;
|
|
44
|
-
};
|
|
45
|
-
get?: never;
|
|
46
|
-
put?: never;
|
|
47
|
-
/** Issue Opusdns Internal Api Key */
|
|
48
|
-
post: operations["issue_opusdns_internal_api_key_v1_auth_internal_client_credentials_post"];
|
|
49
|
-
delete?: never;
|
|
50
|
-
options?: never;
|
|
51
|
-
head?: never;
|
|
52
|
-
patch?: never;
|
|
53
|
-
trace?: never;
|
|
54
|
-
};
|
|
55
38
|
"/v1/auth/logout": {
|
|
56
39
|
parameters: {
|
|
57
40
|
query?: never;
|
|
@@ -1049,8 +1032,8 @@ export interface paths {
|
|
|
1049
1032
|
delete?: never;
|
|
1050
1033
|
options?: never;
|
|
1051
1034
|
head?: never;
|
|
1052
|
-
/**
|
|
1053
|
-
patch: operations["
|
|
1035
|
+
/** Change Password */
|
|
1036
|
+
patch: operations["change_password_v1_users_me_password_reset_patch"];
|
|
1054
1037
|
trace?: never;
|
|
1055
1038
|
};
|
|
1056
1039
|
"/v1/users/{user_id}": {
|
|
@@ -4435,39 +4418,6 @@ export interface operations {
|
|
|
4435
4418
|
};
|
|
4436
4419
|
};
|
|
4437
4420
|
};
|
|
4438
|
-
issue_opusdns_internal_api_key_v1_auth_internal_client_credentials_post: {
|
|
4439
|
-
parameters: {
|
|
4440
|
-
query?: never;
|
|
4441
|
-
header?: never;
|
|
4442
|
-
path?: never;
|
|
4443
|
-
cookie?: never;
|
|
4444
|
-
};
|
|
4445
|
-
requestBody: {
|
|
4446
|
-
content: {
|
|
4447
|
-
"application/json": components["schemas"]["OrganizationCredentialExtra"];
|
|
4448
|
-
};
|
|
4449
|
-
};
|
|
4450
|
-
responses: {
|
|
4451
|
-
/** @description Successful Response */
|
|
4452
|
-
200: {
|
|
4453
|
-
headers: {
|
|
4454
|
-
[name: string]: unknown;
|
|
4455
|
-
};
|
|
4456
|
-
content: {
|
|
4457
|
-
"application/json": components["schemas"]["OrganizationCredentialCreated"];
|
|
4458
|
-
};
|
|
4459
|
-
};
|
|
4460
|
-
/** @description Validation Error */
|
|
4461
|
-
422: {
|
|
4462
|
-
headers: {
|
|
4463
|
-
[name: string]: unknown;
|
|
4464
|
-
};
|
|
4465
|
-
content: {
|
|
4466
|
-
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
4467
|
-
};
|
|
4468
|
-
};
|
|
4469
|
-
};
|
|
4470
|
-
};
|
|
4471
4421
|
logout_v1_auth_logout_post: {
|
|
4472
4422
|
parameters: {
|
|
4473
4423
|
query?: never;
|
|
@@ -7833,7 +7783,7 @@ export interface operations {
|
|
|
7833
7783
|
};
|
|
7834
7784
|
};
|
|
7835
7785
|
};
|
|
7836
|
-
|
|
7786
|
+
change_password_v1_users_me_password_reset_patch: {
|
|
7837
7787
|
parameters: {
|
|
7838
7788
|
query?: never;
|
|
7839
7789
|
header?: never;
|