@opusdns/api 0.55.0 → 0.56.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/src/schema.d.ts CHANGED
@@ -1019,40 +1019,6 @@ export interface paths {
1019
1019
  patch?: never;
1020
1020
  trace?: never;
1021
1021
  };
1022
- "/v1/users/email/password-reset": {
1023
- parameters: {
1024
- query?: never;
1025
- header?: never;
1026
- path?: never;
1027
- cookie?: never;
1028
- };
1029
- get?: never;
1030
- put?: never;
1031
- /** Create User Password Reset */
1032
- post: operations["create_user_password_reset_v1_users_email_password_reset_post"];
1033
- delete?: never;
1034
- options?: never;
1035
- head?: never;
1036
- patch?: never;
1037
- trace?: never;
1038
- };
1039
- "/v1/users/email/verify": {
1040
- parameters: {
1041
- query?: never;
1042
- header?: never;
1043
- path?: never;
1044
- cookie?: never;
1045
- };
1046
- /** Redirect Verify User */
1047
- get: operations["redirect_verify_user_v1_users_email_verify_get"];
1048
- put?: never;
1049
- post?: never;
1050
- delete?: never;
1051
- options?: never;
1052
- head?: never;
1053
- patch?: never;
1054
- trace?: never;
1055
- };
1056
1022
  "/v1/users/me": {
1057
1023
  parameters: {
1058
1024
  query?: never;
@@ -1087,25 +1053,6 @@ export interface paths {
1087
1053
  patch: operations["confirm_user_password_reset_me_v1_users_me_password_reset_patch"];
1088
1054
  trace?: never;
1089
1055
  };
1090
- "/v1/users/me/verification": {
1091
- parameters: {
1092
- query?: never;
1093
- header?: never;
1094
- path?: never;
1095
- cookie?: never;
1096
- };
1097
- /** Get Verification Status Me */
1098
- get: operations["get_verification_status_me_v1_users_me_verification_get"];
1099
- put?: never;
1100
- /** Create Verification Me */
1101
- post: operations["create_verification_me_v1_users_me_verification_post"];
1102
- delete?: never;
1103
- options?: never;
1104
- head?: never;
1105
- /** Update Verification Me */
1106
- patch: operations["update_verification_me_v1_users_me_verification_patch"];
1107
- trace?: never;
1108
- };
1109
1056
  "/v1/users/{user_id}": {
1110
1057
  parameters: {
1111
1058
  query?: never;
@@ -1160,25 +1107,6 @@ export interface paths {
1160
1107
  patch: operations["update_user_relations_v1_users__user_id__roles_patch"];
1161
1108
  trace?: never;
1162
1109
  };
1163
- "/v1/users/{user_id}/verification": {
1164
- parameters: {
1165
- query?: never;
1166
- header?: never;
1167
- path?: never;
1168
- cookie?: never;
1169
- };
1170
- /** Get Verification Status */
1171
- get: operations["get_verification_status_v1_users__user_id__verification_get"];
1172
- put?: never;
1173
- /** Create Verification */
1174
- post: operations["create_verification_v1_users__user_id__verification_post"];
1175
- delete?: never;
1176
- options?: never;
1177
- head?: never;
1178
- /** Update Verification */
1179
- patch: operations["update_verification_v1_users__user_id__verification_patch"];
1180
- trace?: never;
1181
- };
1182
1110
  }
1183
1111
  export type webhooks = Record<string, never>;
1184
1112
  export interface components {
@@ -3780,14 +3708,6 @@ export interface components {
3780
3708
  /** Remove */
3781
3709
  remove?: components["schemas"]["Relation"][] | null;
3782
3710
  };
3783
- /** StartPasswordReset */
3784
- StartPasswordReset: {
3785
- /**
3786
- * Email
3787
- * Format: email
3788
- */
3789
- email: string;
3790
- };
3791
3711
  /**
3792
3712
  * SyncOperationType
3793
3713
  * @enum {string}
@@ -4096,15 +4016,6 @@ export interface components {
4096
4016
  */
4097
4017
  username: string;
4098
4018
  };
4099
- /** UserPasswordResetEmailResponse */
4100
- UserPasswordResetEmailResponse: {
4101
- /**
4102
- * Message
4103
- * @description Message to the user. This message is always displayed regarding the password reset process to prevent leaking information.
4104
- * @default A password reset link will be sent to this email if an account is registered under it.
4105
- */
4106
- message: string;
4107
- };
4108
4019
  /**
4109
4020
  * UserStatus
4110
4021
  * @enum {string}
@@ -4164,143 +4075,6 @@ export interface components {
4164
4075
  */
4165
4076
  username?: string | null;
4166
4077
  };
4167
- /** UserVerificationApiResponse */
4168
- UserVerificationApiResponse: {
4169
- /**
4170
- * Canceled On
4171
- * @description The date the verification was cancelled
4172
- */
4173
- canceled_on?: Date | null;
4174
- /**
4175
- * Created On
4176
- * Format: date-time
4177
- * @description The date/time the entry was created on
4178
- */
4179
- created_on?: Date;
4180
- /**
4181
- * @description Current status of the email verification
4182
- * @default pending
4183
- */
4184
- status: components["schemas"]["EmailVerificationStatus"];
4185
- /**
4186
- * Token
4187
- * @description The token to verify the email address
4188
- */
4189
- token: string;
4190
- /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4191
- type: components["schemas"]["VerificationType"];
4192
- /**
4193
- * Updated On
4194
- * Format: date-time
4195
- * @description The date/time the entry was last updated on
4196
- */
4197
- updated_on?: Date;
4198
- /**
4199
- * User Id
4200
- * Format: typeid
4201
- * @description The user's id
4202
- * @default None
4203
- */
4204
- user_id: TypeId<"user">;
4205
- /**
4206
- * User Verification Id
4207
- * Format: typeid
4208
- */
4209
- user_verification_id?: TypeId<"user_verification">;
4210
- /**
4211
- * Verified On
4212
- * @description The date the verification was verified
4213
- */
4214
- verified_on?: Date | null;
4215
- };
4216
- /** UserVerificationEmailResponse */
4217
- UserVerificationEmailResponse: {
4218
- /**
4219
- * Canceled On
4220
- * @description The date the verification was cancelled
4221
- */
4222
- canceled_on?: Date | null;
4223
- /**
4224
- * Created On
4225
- * Format: date-time
4226
- * @description The date/time the entry was created on
4227
- */
4228
- created_on?: Date;
4229
- /**
4230
- * @description Current status of the email verification
4231
- * @default pending
4232
- */
4233
- status: components["schemas"]["EmailVerificationStatus"];
4234
- /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4235
- type: components["schemas"]["VerificationType"];
4236
- /**
4237
- * Updated On
4238
- * Format: date-time
4239
- * @description The date/time the entry was last updated on
4240
- */
4241
- updated_on?: Date;
4242
- /**
4243
- * User Id
4244
- * Format: typeid
4245
- * @description The user's id
4246
- * @default None
4247
- */
4248
- user_id: TypeId<"user">;
4249
- /**
4250
- * User Verification Id
4251
- * Format: typeid
4252
- */
4253
- user_verification_id?: TypeId<"user_verification">;
4254
- /**
4255
- * Verified On
4256
- * @description The date the verification was verified
4257
- */
4258
- verified_on?: Date | null;
4259
- };
4260
- /** UserVerificationResponse */
4261
- UserVerificationResponse: {
4262
- /**
4263
- * Canceled On
4264
- * @description The date the verification was cancelled
4265
- */
4266
- canceled_on?: Date | null;
4267
- /**
4268
- * Created On
4269
- * Format: date-time
4270
- * @description The date/time the entry was created on
4271
- */
4272
- created_on?: Date;
4273
- /**
4274
- * @description Current status of the email verification
4275
- * @default pending
4276
- */
4277
- status: components["schemas"]["EmailVerificationStatus"];
4278
- /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4279
- type: components["schemas"]["VerificationType"];
4280
- /**
4281
- * Updated On
4282
- * Format: date-time
4283
- * @description The date/time the entry was last updated on
4284
- */
4285
- updated_on?: Date;
4286
- /**
4287
- * User Id
4288
- * Format: typeid
4289
- * @description The user's id
4290
- * @default None
4291
- */
4292
- user_id: TypeId<"user">;
4293
- /**
4294
- * User Verification Id
4295
- * Format: typeid
4296
- */
4297
- user_verification_id?: TypeId<"user_verification">;
4298
- /**
4299
- * Verified On
4300
- * @description The date the verification was verified
4301
- */
4302
- verified_on?: Date | null;
4303
- };
4304
4078
  /** UserWithAttributes */
4305
4079
  UserWithAttributes: {
4306
4080
  /**
@@ -8023,26 +7797,24 @@ export interface operations {
8023
7797
  };
8024
7798
  };
8025
7799
  };
8026
- create_user_password_reset_v1_users_email_password_reset_post: {
7800
+ get_current_user_v1_users_me_get: {
8027
7801
  parameters: {
8028
- query?: never;
7802
+ query?: {
7803
+ attributes?: string[] | null;
7804
+ };
8029
7805
  header?: never;
8030
7806
  path?: never;
8031
7807
  cookie?: never;
8032
7808
  };
8033
- requestBody: {
8034
- content: {
8035
- "application/json": components["schemas"]["StartPasswordReset"];
8036
- };
8037
- };
7809
+ requestBody?: never;
8038
7810
  responses: {
8039
7811
  /** @description Successful Response */
8040
- 201: {
7812
+ 200: {
8041
7813
  headers: {
8042
7814
  [name: string]: unknown;
8043
7815
  };
8044
7816
  content: {
8045
- "application/json": components["schemas"]["UserPasswordResetEmailResponse"];
7817
+ "application/json": components["schemas"]["UserWithRelationPermissions"];
8046
7818
  };
8047
7819
  };
8048
7820
  /** @description Validation Error */
@@ -8056,24 +7828,40 @@ export interface operations {
8056
7828
  };
8057
7829
  };
8058
7830
  };
8059
- redirect_verify_user_v1_users_email_verify_get: {
7831
+ confirm_user_password_reset_me_v1_users_me_password_reset_patch: {
8060
7832
  parameters: {
8061
- query: {
8062
- token: string;
8063
- };
7833
+ query?: never;
8064
7834
  header?: never;
8065
7835
  path?: never;
8066
7836
  cookie?: never;
8067
7837
  };
8068
- requestBody?: never;
7838
+ requestBody: {
7839
+ content: {
7840
+ "application/json": components["schemas"]["PasswordUpdate"];
7841
+ };
7842
+ };
8069
7843
  responses: {
8070
7844
  /** @description Successful Response */
8071
- 200: {
7845
+ 204: {
7846
+ headers: {
7847
+ [name: string]: unknown;
7848
+ };
7849
+ content?: never;
7850
+ };
7851
+ /** @description Unauthorized */
7852
+ 401: {
8072
7853
  headers: {
8073
7854
  [name: string]: unknown;
8074
7855
  };
8075
7856
  content: {
8076
- "application/json": unknown;
7857
+ /** @example {
7858
+ * "code": "ERROR_AUTHENTICATION",
7859
+ * "detail": "Additional error context.",
7860
+ * "status": 401,
7861
+ * "title": "Authentication Error",
7862
+ * "type": "authentication"
7863
+ * } */
7864
+ "application/problem+json": components["schemas"]["Problem"];
8077
7865
  };
8078
7866
  };
8079
7867
  /** @description Validation Error */
@@ -8087,13 +7875,15 @@ export interface operations {
8087
7875
  };
8088
7876
  };
8089
7877
  };
8090
- get_current_user_v1_users_me_get: {
7878
+ get_user_v1_users__user_id__get: {
8091
7879
  parameters: {
8092
7880
  query?: {
8093
7881
  attributes?: string[] | null;
8094
7882
  };
8095
7883
  header?: never;
8096
- path?: never;
7884
+ path: {
7885
+ user_id: TypeId<"user">;
7886
+ };
8097
7887
  cookie?: never;
8098
7888
  };
8099
7889
  requestBody?: never;
@@ -8104,7 +7894,7 @@ export interface operations {
8104
7894
  [name: string]: unknown;
8105
7895
  };
8106
7896
  content: {
8107
- "application/json": components["schemas"]["UserWithRelationPermissions"];
7897
+ "application/json": components["schemas"]["UserWithAttributes"];
8108
7898
  };
8109
7899
  };
8110
7900
  /** @description Validation Error */
@@ -8118,18 +7908,16 @@ export interface operations {
8118
7908
  };
8119
7909
  };
8120
7910
  };
8121
- confirm_user_password_reset_me_v1_users_me_password_reset_patch: {
7911
+ delete_user_v1_users__user_id__delete: {
8122
7912
  parameters: {
8123
7913
  query?: never;
8124
7914
  header?: never;
8125
- path?: never;
8126
- cookie?: never;
8127
- };
8128
- requestBody: {
8129
- content: {
8130
- "application/json": components["schemas"]["PasswordUpdate"];
7915
+ path: {
7916
+ user_id: TypeId<"user">;
8131
7917
  };
7918
+ cookie?: never;
8132
7919
  };
7920
+ requestBody?: never;
8133
7921
  responses: {
8134
7922
  /** @description Successful Response */
8135
7923
  204: {
@@ -8138,281 +7926,18 @@ export interface operations {
8138
7926
  };
8139
7927
  content?: never;
8140
7928
  };
8141
- /** @description Unauthorized */
8142
- 401: {
7929
+ /** @description Conflict */
7930
+ 409: {
8143
7931
  headers: {
8144
7932
  [name: string]: unknown;
8145
7933
  };
8146
7934
  content: {
8147
7935
  /** @example {
8148
- * "code": "ERROR_AUTHENTICATION",
8149
- * "detail": "Additional error context.",
8150
- * "status": 401,
8151
- * "title": "Authentication Error",
8152
- * "type": "authentication"
8153
- * } */
8154
- "application/problem+json": components["schemas"]["Problem"];
8155
- };
8156
- };
8157
- /** @description Validation Error */
8158
- 422: {
8159
- headers: {
8160
- [name: string]: unknown;
8161
- };
8162
- content: {
8163
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8164
- };
8165
- };
8166
- };
8167
- };
8168
- get_verification_status_me_v1_users_me_verification_get: {
8169
- parameters: {
8170
- query?: never;
8171
- header?: never;
8172
- path?: never;
8173
- cookie?: never;
8174
- };
8175
- requestBody?: never;
8176
- responses: {
8177
- /** @description Successful Response */
8178
- 200: {
8179
- headers: {
8180
- [name: string]: unknown;
8181
- };
8182
- content: {
8183
- "application/json": components["schemas"]["UserVerificationResponse"];
8184
- };
8185
- };
8186
- /** @description Unauthorized */
8187
- 401: {
8188
- headers: {
8189
- [name: string]: unknown;
8190
- };
8191
- content: {
8192
- /** @example {
8193
- * "code": "ERROR_AUTHENTICATION",
8194
- * "detail": "Additional error context.",
8195
- * "status": 401,
8196
- * "title": "Authentication Error",
8197
- * "type": "authentication"
8198
- * } */
8199
- "application/problem+json": components["schemas"]["Problem"];
8200
- };
8201
- };
8202
- };
8203
- };
8204
- create_verification_me_v1_users_me_verification_post: {
8205
- parameters: {
8206
- query: {
8207
- type: components["schemas"]["VerificationType"];
8208
- };
8209
- header?: never;
8210
- path?: never;
8211
- cookie?: never;
8212
- };
8213
- requestBody?: never;
8214
- responses: {
8215
- /** @description Successful Response */
8216
- 201: {
8217
- headers: {
8218
- [name: string]: unknown;
8219
- };
8220
- content: {
8221
- "application/json": components["schemas"]["UserVerificationEmailResponse"] | components["schemas"]["UserVerificationApiResponse"];
8222
- };
8223
- };
8224
- /** @description Unauthorized */
8225
- 401: {
8226
- headers: {
8227
- [name: string]: unknown;
8228
- };
8229
- content: {
8230
- /** @example {
8231
- * "code": "ERROR_AUTHENTICATION",
8232
- * "detail": "Additional error context.",
8233
- * "status": 401,
8234
- * "title": "Authentication Error",
8235
- * "type": "authentication"
8236
- * } */
8237
- "application/problem+json": components["schemas"]["Problem"];
8238
- };
8239
- };
8240
- /** @description Not Found */
8241
- 404: {
8242
- headers: {
8243
- [name: string]: unknown;
8244
- };
8245
- content: {
8246
- /** @example {
8247
- * "code": "ERROR_USER_NOT_FOUND",
8248
- * "detail": "Additional error context.",
8249
- * "status": 404,
8250
- * "title": "User Management Error",
8251
- * "type": "user-not-found"
8252
- * } */
8253
- "application/problem+json": components["schemas"]["Problem"];
8254
- };
8255
- };
8256
- /** @description Method Not Allowed */
8257
- 405: {
8258
- headers: {
8259
- [name: string]: unknown;
8260
- };
8261
- content: {
8262
- /** @example {
8263
- * "code": "ERROR_USER_VERIFICATION_INVALID_TYPE",
8264
- * "detail": "Invalid verification type: Additional error context.",
8265
- * "status": 405,
8266
- * "title": "User Management Error",
8267
- * "type": "user-verification-type-invalid"
8268
- * } */
8269
- "application/problem+json": components["schemas"]["Problem"];
8270
- };
8271
- };
8272
- /** @description Validation Error */
8273
- 422: {
8274
- headers: {
8275
- [name: string]: unknown;
8276
- };
8277
- content: {
8278
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8279
- };
8280
- };
8281
- };
8282
- };
8283
- update_verification_me_v1_users_me_verification_patch: {
8284
- parameters: {
8285
- query: {
8286
- token: string;
8287
- };
8288
- header?: never;
8289
- path?: never;
8290
- cookie?: never;
8291
- };
8292
- requestBody?: never;
8293
- responses: {
8294
- /** @description Successful Response */
8295
- 204: {
8296
- headers: {
8297
- [name: string]: unknown;
8298
- };
8299
- content?: never;
8300
- };
8301
- /** @description Bad Request */
8302
- 400: {
8303
- headers: {
8304
- [name: string]: unknown;
8305
- };
8306
- content: {
8307
- "application/problem+json": components["schemas"]["Problem"];
8308
- };
8309
- };
8310
- /** @description Unauthorized */
8311
- 401: {
8312
- headers: {
8313
- [name: string]: unknown;
8314
- };
8315
- content: {
8316
- /** @example {
8317
- * "code": "ERROR_AUTHENTICATION",
8318
- * "detail": "Additional error context.",
8319
- * "status": 401,
8320
- * "title": "Authentication Error",
8321
- * "type": "authentication"
8322
- * } */
8323
- "application/problem+json": components["schemas"]["Problem"];
8324
- };
8325
- };
8326
- /** @description Not Found */
8327
- 404: {
8328
- headers: {
8329
- [name: string]: unknown;
8330
- };
8331
- content: {
8332
- /** @example {
8333
- * "code": "ERROR_USER_VERIFICATION_NOT_FOUND",
8334
- * "detail": "No user verification found for user: user_id=Additional error context.",
8335
- * "status": 404,
8336
- * "title": "User Management Error",
8337
- * "type": "user-verification-not-found"
8338
- * } */
8339
- "application/problem+json": components["schemas"]["Problem"];
8340
- };
8341
- };
8342
- /** @description Validation Error */
8343
- 422: {
8344
- headers: {
8345
- [name: string]: unknown;
8346
- };
8347
- content: {
8348
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8349
- };
8350
- };
8351
- };
8352
- };
8353
- get_user_v1_users__user_id__get: {
8354
- parameters: {
8355
- query?: {
8356
- attributes?: string[] | null;
8357
- };
8358
- header?: never;
8359
- path: {
8360
- user_id: TypeId<"user">;
8361
- };
8362
- cookie?: never;
8363
- };
8364
- requestBody?: never;
8365
- responses: {
8366
- /** @description Successful Response */
8367
- 200: {
8368
- headers: {
8369
- [name: string]: unknown;
8370
- };
8371
- content: {
8372
- "application/json": components["schemas"]["UserWithAttributes"];
8373
- };
8374
- };
8375
- /** @description Validation Error */
8376
- 422: {
8377
- headers: {
8378
- [name: string]: unknown;
8379
- };
8380
- content: {
8381
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8382
- };
8383
- };
8384
- };
8385
- };
8386
- delete_user_v1_users__user_id__delete: {
8387
- parameters: {
8388
- query?: never;
8389
- header?: never;
8390
- path: {
8391
- user_id: TypeId<"user">;
8392
- };
8393
- cookie?: never;
8394
- };
8395
- requestBody?: never;
8396
- responses: {
8397
- /** @description Successful Response */
8398
- 204: {
8399
- headers: {
8400
- [name: string]: unknown;
8401
- };
8402
- content?: never;
8403
- };
8404
- /** @description Conflict */
8405
- 409: {
8406
- headers: {
8407
- [name: string]: unknown;
8408
- };
8409
- content: {
8410
- /** @example {
8411
- * "code": "ERROR_USER_IS_LAST_ADMIN",
8412
- * "detail": "User is the last admin for the organization",
8413
- * "status": 409,
8414
- * "title": "User Management Error",
8415
- * "type": "user-is-last-admin"
7936
+ * "code": "ERROR_USER_IS_LAST_ADMIN",
7937
+ * "detail": "User is the last admin for the organization",
7938
+ * "status": 409,
7939
+ * "title": "User Management Error",
7940
+ * "type": "user-is-last-admin"
8416
7941
  * } */
8417
7942
  "application/problem+json": components["schemas"]["Problem"];
8418
7943
  };
@@ -8560,204 +8085,4 @@ export interface operations {
8560
8085
  };
8561
8086
  };
8562
8087
  };
8563
- get_verification_status_v1_users__user_id__verification_get: {
8564
- parameters: {
8565
- query?: never;
8566
- header?: never;
8567
- path: {
8568
- user_id: TypeId<"user">;
8569
- };
8570
- cookie?: never;
8571
- };
8572
- requestBody?: never;
8573
- responses: {
8574
- /** @description Successful Response */
8575
- 200: {
8576
- headers: {
8577
- [name: string]: unknown;
8578
- };
8579
- content: {
8580
- "application/json": components["schemas"]["UserVerificationResponse"];
8581
- };
8582
- };
8583
- /** @description Unauthorized */
8584
- 401: {
8585
- headers: {
8586
- [name: string]: unknown;
8587
- };
8588
- content: {
8589
- /** @example {
8590
- * "code": "ERROR_AUTHENTICATION",
8591
- * "detail": "Additional error context.",
8592
- * "status": 401,
8593
- * "title": "Authentication Error",
8594
- * "type": "authentication"
8595
- * } */
8596
- "application/problem+json": components["schemas"]["Problem"];
8597
- };
8598
- };
8599
- /** @description Validation Error */
8600
- 422: {
8601
- headers: {
8602
- [name: string]: unknown;
8603
- };
8604
- content: {
8605
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8606
- };
8607
- };
8608
- };
8609
- };
8610
- create_verification_v1_users__user_id__verification_post: {
8611
- parameters: {
8612
- query: {
8613
- type: components["schemas"]["VerificationType"];
8614
- };
8615
- header?: never;
8616
- path: {
8617
- user_id: TypeId<"user">;
8618
- };
8619
- cookie?: never;
8620
- };
8621
- requestBody?: never;
8622
- responses: {
8623
- /** @description Successful Response */
8624
- 201: {
8625
- headers: {
8626
- [name: string]: unknown;
8627
- };
8628
- content: {
8629
- "application/json": components["schemas"]["UserVerificationEmailResponse"] | components["schemas"]["UserVerificationApiResponse"];
8630
- };
8631
- };
8632
- /** @description Unauthorized */
8633
- 401: {
8634
- headers: {
8635
- [name: string]: unknown;
8636
- };
8637
- content: {
8638
- /** @example {
8639
- * "code": "ERROR_AUTHENTICATION",
8640
- * "detail": "Additional error context.",
8641
- * "status": 401,
8642
- * "title": "Authentication Error",
8643
- * "type": "authentication"
8644
- * } */
8645
- "application/problem+json": components["schemas"]["Problem"];
8646
- };
8647
- };
8648
- /** @description Not Found */
8649
- 404: {
8650
- headers: {
8651
- [name: string]: unknown;
8652
- };
8653
- content: {
8654
- /** @example {
8655
- * "code": "ERROR_USER_NOT_FOUND",
8656
- * "detail": "Additional error context.",
8657
- * "status": 404,
8658
- * "title": "User Management Error",
8659
- * "type": "user-not-found"
8660
- * } */
8661
- "application/problem+json": components["schemas"]["Problem"];
8662
- };
8663
- };
8664
- /** @description Method Not Allowed */
8665
- 405: {
8666
- headers: {
8667
- [name: string]: unknown;
8668
- };
8669
- content: {
8670
- /** @example {
8671
- * "code": "ERROR_USER_VERIFICATION_INVALID_TYPE",
8672
- * "detail": "Invalid verification type: Additional error context.",
8673
- * "status": 405,
8674
- * "title": "User Management Error",
8675
- * "type": "user-verification-type-invalid"
8676
- * } */
8677
- "application/problem+json": components["schemas"]["Problem"];
8678
- };
8679
- };
8680
- /** @description Validation Error */
8681
- 422: {
8682
- headers: {
8683
- [name: string]: unknown;
8684
- };
8685
- content: {
8686
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8687
- };
8688
- };
8689
- };
8690
- };
8691
- update_verification_v1_users__user_id__verification_patch: {
8692
- parameters: {
8693
- query: {
8694
- token: string;
8695
- };
8696
- header?: never;
8697
- path: {
8698
- user_id: TypeId<"user">;
8699
- };
8700
- cookie?: never;
8701
- };
8702
- requestBody?: never;
8703
- responses: {
8704
- /** @description Successful Response */
8705
- 204: {
8706
- headers: {
8707
- [name: string]: unknown;
8708
- };
8709
- content?: never;
8710
- };
8711
- /** @description Bad Request */
8712
- 400: {
8713
- headers: {
8714
- [name: string]: unknown;
8715
- };
8716
- content: {
8717
- "application/problem+json": components["schemas"]["Problem"];
8718
- };
8719
- };
8720
- /** @description Unauthorized */
8721
- 401: {
8722
- headers: {
8723
- [name: string]: unknown;
8724
- };
8725
- content: {
8726
- /** @example {
8727
- * "code": "ERROR_AUTHENTICATION",
8728
- * "detail": "Additional error context.",
8729
- * "status": 401,
8730
- * "title": "Authentication Error",
8731
- * "type": "authentication"
8732
- * } */
8733
- "application/problem+json": components["schemas"]["Problem"];
8734
- };
8735
- };
8736
- /** @description Not Found */
8737
- 404: {
8738
- headers: {
8739
- [name: string]: unknown;
8740
- };
8741
- content: {
8742
- /** @example {
8743
- * "code": "ERROR_USER_VERIFICATION_NOT_FOUND",
8744
- * "detail": "No user verification found for user: user_id=Additional error context.",
8745
- * "status": 404,
8746
- * "title": "User Management Error",
8747
- * "type": "user-verification-not-found"
8748
- * } */
8749
- "application/problem+json": components["schemas"]["Problem"];
8750
- };
8751
- };
8752
- /** @description Validation Error */
8753
- 422: {
8754
- headers: {
8755
- [name: string]: unknown;
8756
- };
8757
- content: {
8758
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8759
- };
8760
- };
8761
- };
8762
- };
8763
8088
  }