@opusdns/api 0.58.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 CHANGED
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.8.2"
9
9
  },
10
10
  "name": "@opusdns/api",
11
- "version": "0.58.0",
11
+ "version": "0.59.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -3328,41 +3328,40 @@ export type GET_UsersMe_Request = {
3328
3328
  export type GET_UsersMe_Request_Query = GET_UsersMe_Request['parameters']['query'];
3329
3329
 
3330
3330
  /**
3331
- * Request type for PATCH UsersMeChangePassword endpoint
3331
+ * Request type for PATCH UsersMePasswordReset endpoint
3332
3332
  *
3333
- * Change password
3334
- * Change the password of the current user.
3333
+ * Change Password
3335
3334
  *
3336
3335
  * @remarks
3337
- * This type defines the complete request structure for the PATCH UsersMeChangePassword endpoint.
3336
+ * This type defines the complete request structure for the PATCH UsersMePasswordReset endpoint.
3338
3337
  * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
3339
3338
  * Use this type to ensure type safety when making API requests to this endpoint.
3340
3339
  *
3341
3340
  * @example
3342
3341
  * Use this type to ensure type safety when making API requests to this endpoint.
3343
3342
  *
3344
- * @path /v1/users/me/change_password
3343
+ * @path /v1/users/me/password-reset
3345
3344
  *
3346
- * @see {@link PATCH_UsersMeChangePassword_Request_Query} - Query parameters type
3347
- * @see {@link PATCH_UsersMeChangePassword_Request_Path} - Path parameters type
3348
- * @see {@link PATCH_UsersMeChangePassword_Request_Body} - Request body type
3345
+ * @see {@link PATCH_UsersMePasswordReset_Request_Query} - Query parameters type
3346
+ * @see {@link PATCH_UsersMePasswordReset_Request_Path} - Path parameters type
3347
+ * @see {@link PATCH_UsersMePasswordReset_Request_Body} - Request body type
3349
3348
  */
3350
- export type PATCH_UsersMeChangePassword_Request = {
3349
+ export type PATCH_UsersMePasswordReset_Request = {
3351
3350
  requestBody: PasswordUpdate;
3352
3351
  }
3353
3352
  /**
3354
- * Request body for PATCH /v1/users/me/change_password
3353
+ * Request body for PATCH /v1/users/me/password-reset
3355
3354
  *
3356
3355
  * @remarks
3357
- * This type defines the request body structure for the PATCH /v1/users/me/change_password endpoint.
3356
+ * This type defines the request body structure for the PATCH /v1/users/me/password-reset endpoint.
3358
3357
  * It provides type safety for the request body as defined in the OpenAPI specification.
3359
3358
  *
3360
3359
  * @example
3361
3360
  * Use this type to ensure type safety for request body structure.
3362
3361
  *
3363
- * @path /v1/users/me/change_password
3362
+ * @path /v1/users/me/password-reset
3364
3363
  */
3365
- export type PATCH_UsersMeChangePassword_Request_Body = PATCH_UsersMeChangePassword_Request['requestBody'];
3364
+ export type PATCH_UsersMePasswordReset_Request_Body = PATCH_UsersMePasswordReset_Request['requestBody'];
3366
3365
 
3367
3366
  /**
3368
3367
  * Request type for DELETE UsersUserId endpoint
@@ -5345,58 +5345,57 @@ export type GET_UsersMe_Response_200 = UserWithRelationPermissions
5345
5345
  export type GET_UsersMe_Response_422 = HTTPValidationError
5346
5346
 
5347
5347
  /**
5348
- * Response types for PATCH UsersMeChangePassword endpoint
5348
+ * Response types for PATCH UsersMePasswordReset endpoint
5349
5349
  *
5350
- * Change password
5351
- * Change the password of the current user.
5350
+ * Change Password
5352
5351
  *
5353
5352
  * @remarks
5354
- * This type defines all possible response structures for the PATCH UsersMeChangePassword endpoint.
5353
+ * This type defines all possible response structures for the PATCH UsersMePasswordReset endpoint.
5355
5354
  * Each response code maps to a specific response type as defined in the OpenAPI specification.
5356
5355
  * Use this type to ensure type safety when handling API responses from this endpoint.
5357
5356
  *
5358
5357
 
5359
5358
  *
5360
- * @path /v1/users/me/change_password
5359
+ * @path /v1/users/me/password-reset
5361
5360
  *
5362
- * @see {@link PATCH_UsersMeChangePassword_Response_401} - 401 response type
5363
- * @see {@link PATCH_UsersMeChangePassword_Response_422} - 422 response type
5361
+ * @see {@link PATCH_UsersMePasswordReset_Response_401} - 401 response type
5362
+ * @see {@link PATCH_UsersMePasswordReset_Response_422} - 422 response type
5364
5363
  *
5365
5364
 
5366
5365
  */
5367
- export type PATCH_UsersMeChangePassword_Response = PATCH_UsersMeChangePassword_Response_401 | PATCH_UsersMeChangePassword_Response_422;
5366
+ export type PATCH_UsersMePasswordReset_Response = PATCH_UsersMePasswordReset_Response_401 | PATCH_UsersMePasswordReset_Response_422;
5368
5367
 
5369
5368
  /**
5370
- * 401 response for PATCH UsersMeChangePassword endpoint
5369
+ * 401 response for PATCH UsersMePasswordReset endpoint
5371
5370
  *
5372
5371
  * @remarks
5373
5372
  * This type defines the response structure for the 401 status code
5374
- * of the PATCH UsersMeChangePassword endpoint.
5373
+ * of the PATCH UsersMePasswordReset endpoint.
5375
5374
  * It provides type safety for handling this specific response as defined in the OpenAPI specification.
5376
5375
  *
5377
5376
 
5378
5377
  *
5379
- * @path /v1/users/me/change_password
5378
+ * @path /v1/users/me/password-reset
5380
5379
  *
5381
- * @see {@link PATCH_UsersMeChangePassword_Response} - The main response type definition
5380
+ * @see {@link PATCH_UsersMePasswordReset_Response} - The main response type definition
5382
5381
  * @see {@link Problem} - The actual schema type definition
5383
5382
  */
5384
- export type PATCH_UsersMeChangePassword_Response_401 = Problem
5383
+ export type PATCH_UsersMePasswordReset_Response_401 = Problem
5385
5384
 
5386
5385
  /**
5387
- * 422 response for PATCH UsersMeChangePassword endpoint
5386
+ * 422 response for PATCH UsersMePasswordReset endpoint
5388
5387
  *
5389
5388
  * @remarks
5390
5389
  * This type defines the response structure for the 422 status code
5391
- * of the PATCH UsersMeChangePassword endpoint.
5390
+ * of the PATCH UsersMePasswordReset endpoint.
5392
5391
  * It provides type safety for handling this specific response as defined in the OpenAPI specification.
5393
5392
  *
5394
5393
 
5395
5394
  *
5396
- * @path /v1/users/me/change_password
5395
+ * @path /v1/users/me/password-reset
5397
5396
  *
5398
- * @see {@link PATCH_UsersMeChangePassword_Response} - The main response type definition
5397
+ * @see {@link PATCH_UsersMePasswordReset_Response} - The main response type definition
5399
5398
  * @see {@link HTTPValidationError} - The actual schema type definition
5400
5399
  */
5401
- export type PATCH_UsersMeChangePassword_Response_422 = HTTPValidationError
5400
+ export type PATCH_UsersMePasswordReset_Response_422 = HTTPValidationError
5402
5401
 
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-22-074729
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
@@ -8759,10 +8759,9 @@ paths:
8759
8759
  summary: Get Current User
8760
8760
  tags:
8761
8761
  - user
8762
- /v1/users/me/change_password:
8762
+ /v1/users/me/password-reset:
8763
8763
  patch:
8764
- description: Change the password of the current user.
8765
- operationId: change_password_v1_users_me_change_password_patch
8764
+ operationId: change_password_v1_users_me_password_reset_patch
8766
8765
  requestBody:
8767
8766
  content:
8768
8767
  application/json:
@@ -8792,7 +8791,7 @@ paths:
8792
8791
  description: Validation Error
8793
8792
  security:
8794
8793
  - OAuth2PasswordBearer: []
8795
- summary: Change password
8794
+ summary: Change Password
8796
8795
  tags:
8797
8796
  - user
8798
8797
  /v1/users/{user_id}:
package/src/schema.d.ts CHANGED
@@ -1019,7 +1019,7 @@ export interface paths {
1019
1019
  patch?: never;
1020
1020
  trace?: never;
1021
1021
  };
1022
- "/v1/users/me/change_password": {
1022
+ "/v1/users/me/password-reset": {
1023
1023
  parameters: {
1024
1024
  query?: never;
1025
1025
  header?: never;
@@ -1032,11 +1032,8 @@ export interface paths {
1032
1032
  delete?: never;
1033
1033
  options?: never;
1034
1034
  head?: never;
1035
- /**
1036
- * Change password
1037
- * @description Change the password of the current user.
1038
- */
1039
- patch: operations["change_password_v1_users_me_change_password_patch"];
1035
+ /** Change Password */
1036
+ patch: operations["change_password_v1_users_me_password_reset_patch"];
1040
1037
  trace?: never;
1041
1038
  };
1042
1039
  "/v1/users/{user_id}": {
@@ -7786,7 +7783,7 @@ export interface operations {
7786
7783
  };
7787
7784
  };
7788
7785
  };
7789
- change_password_v1_users_me_change_password_patch: {
7786
+ change_password_v1_users_me_password_reset_patch: {
7790
7787
  parameters: {
7791
7788
  query?: never;
7792
7789
  header?: never;