@opusdns/api 0.32.0 → 0.34.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
@@ -1042,6 +1042,40 @@ export interface paths {
1042
1042
  patch?: never;
1043
1043
  trace?: never;
1044
1044
  };
1045
+ "/v1/users/email/password-reset": {
1046
+ parameters: {
1047
+ query?: never;
1048
+ header?: never;
1049
+ path?: never;
1050
+ cookie?: never;
1051
+ };
1052
+ get?: never;
1053
+ put?: never;
1054
+ /** Create User Password Reset */
1055
+ post: operations["create_user_password_reset_v1_users_email_password_reset_post"];
1056
+ delete?: never;
1057
+ options?: never;
1058
+ head?: never;
1059
+ patch?: never;
1060
+ trace?: never;
1061
+ };
1062
+ "/v1/users/email/verify": {
1063
+ parameters: {
1064
+ query?: never;
1065
+ header?: never;
1066
+ path?: never;
1067
+ cookie?: never;
1068
+ };
1069
+ /** Redirect Verify User */
1070
+ get: operations["redirect_verify_user_v1_users_email_verify_get"];
1071
+ put?: never;
1072
+ post?: never;
1073
+ delete?: never;
1074
+ options?: never;
1075
+ head?: never;
1076
+ patch?: never;
1077
+ trace?: never;
1078
+ };
1045
1079
  "/v1/users/me": {
1046
1080
  parameters: {
1047
1081
  query?: never;
@@ -1059,6 +1093,43 @@ export interface paths {
1059
1093
  patch?: never;
1060
1094
  trace?: never;
1061
1095
  };
1096
+ "/v1/users/me/password-reset": {
1097
+ parameters: {
1098
+ query?: never;
1099
+ header?: never;
1100
+ path?: never;
1101
+ cookie?: never;
1102
+ };
1103
+ get?: never;
1104
+ put?: never;
1105
+ post?: never;
1106
+ delete?: never;
1107
+ options?: never;
1108
+ head?: never;
1109
+ /** Confirm User Password Reset Me */
1110
+ patch: operations["confirm_user_password_reset_me_v1_users_me_password_reset_patch"];
1111
+ trace?: never;
1112
+ };
1113
+ "/v1/users/me/verification": {
1114
+ parameters: {
1115
+ query?: never;
1116
+ header?: never;
1117
+ path?: never;
1118
+ cookie?: never;
1119
+ };
1120
+ /** Get Verification Status Me */
1121
+ get: operations["get_verification_status_me_v1_users_me_verification_get"];
1122
+ put?: never;
1123
+ /** Create Verification Me */
1124
+ post: operations["create_verification_me_v1_users_me_verification_post"];
1125
+ /** Cancel Verification Me */
1126
+ delete: operations["cancel_verification_me_v1_users_me_verification_delete"];
1127
+ options?: never;
1128
+ head?: never;
1129
+ /** Update Verification Me */
1130
+ patch: operations["update_verification_me_v1_users_me_verification_patch"];
1131
+ trace?: never;
1132
+ };
1062
1133
  "/v1/users/{user_id}": {
1063
1134
  parameters: {
1064
1135
  query?: never;
@@ -1113,6 +1184,26 @@ export interface paths {
1113
1184
  patch: operations["update_user_relations_v1_users__user_id__roles_patch"];
1114
1185
  trace?: never;
1115
1186
  };
1187
+ "/v1/users/{user_id}/verification": {
1188
+ parameters: {
1189
+ query?: never;
1190
+ header?: never;
1191
+ path?: never;
1192
+ cookie?: never;
1193
+ };
1194
+ /** Get Verification Status */
1195
+ get: operations["get_verification_status_v1_users__user_id__verification_get"];
1196
+ put?: never;
1197
+ /** Create Verification */
1198
+ post: operations["create_verification_v1_users__user_id__verification_post"];
1199
+ /** Cancel Verification */
1200
+ delete: operations["cancel_verification_v1_users__user_id__verification_delete"];
1201
+ options?: never;
1202
+ head?: never;
1203
+ /** Update Verification */
1204
+ patch: operations["update_verification_v1_users__user_id__verification_patch"];
1205
+ trace?: never;
1206
+ };
1116
1207
  }
1117
1208
  export type webhooks = Record<string, never>;
1118
1209
  export interface components {
@@ -1135,6 +1226,45 @@ export interface components {
1135
1226
  */
1136
1227
  min: number;
1137
1228
  };
1229
+ /** BillingMetadata */
1230
+ BillingMetadata: {
1231
+ /**
1232
+ * Billing Model
1233
+ * @description Payment terms for the organization.
1234
+ */
1235
+ billing_model?: string | null;
1236
+ /**
1237
+ * Customer Number
1238
+ * @description Customer account number for the organization.
1239
+ */
1240
+ customer_number?: number | null;
1241
+ };
1242
+ /** BillingPlan */
1243
+ BillingPlan: {
1244
+ /**
1245
+ * Amount
1246
+ * @description Price of the billing plan.
1247
+ * @default 0.00
1248
+ */
1249
+ amount: string;
1250
+ /** @description Currency of the billing plan. */
1251
+ currency?: components["schemas"]["Currency"] | null;
1252
+ /**
1253
+ * Name
1254
+ * @description Name of the billing plan.
1255
+ */
1256
+ name?: string | null;
1257
+ /**
1258
+ * Plan Id
1259
+ * @description Billing plan ID for the organization.
1260
+ */
1261
+ plan_id?: string | null;
1262
+ /**
1263
+ * Type
1264
+ * @description Plan type or billing interval.
1265
+ */
1266
+ type?: string | null;
1267
+ };
1138
1268
  /**
1139
1269
  * BillingTransactionAction
1140
1270
  * @enum {string}
@@ -3326,8 +3456,11 @@ export interface components {
3326
3456
  */
3327
3457
  tax_rate?: number | string | null;
3328
3458
  };
3329
- /** OrganizationWithPlan */
3330
- OrganizationWithPlan: {
3459
+ /** OrganizationWithBillingData */
3460
+ OrganizationWithBillingData: {
3461
+ /** Account Balance */
3462
+ account_balance?: string | null;
3463
+ active_plan?: components["schemas"]["BillingPlan"];
3331
3464
  /**
3332
3465
  * Address 1
3333
3466
  * @description First line of the organization's address.
@@ -3340,6 +3473,7 @@ export interface components {
3340
3473
  address_2?: string | null;
3341
3474
  /** Attributes */
3342
3475
  attributes?: components["schemas"]["OrganizationAttribute"][];
3476
+ billing_metadata?: components["schemas"]["BillingMetadata"];
3343
3477
  /**
3344
3478
  * Business Number
3345
3479
  * @description Government issued business identifier for the organization issued.
@@ -3389,8 +3523,6 @@ export interface components {
3389
3523
  * @description ID of the parent organization.
3390
3524
  */
3391
3525
  parent_organization_id?: TypeID<"organization"> | null;
3392
- /** @default basic_plan */
3393
- plan: components["schemas"]["PlanRelation"];
3394
3526
  /**
3395
3527
  * Postal Code
3396
3528
  * @description Postal code of the organization's address.
@@ -3493,6 +3625,11 @@ export interface components {
3493
3625
  /** Results */
3494
3626
  results: components["schemas"]["User"][];
3495
3627
  };
3628
+ /** PasswordUpdate */
3629
+ PasswordUpdate: {
3630
+ /** New Password */
3631
+ new_password: string;
3632
+ };
3496
3633
  /**
3497
3634
  * PatchOp
3498
3635
  * @enum {string}
@@ -3746,6 +3883,14 @@ export interface components {
3746
3883
  /** Remove */
3747
3884
  remove?: components["schemas"]["Relation"][] | null;
3748
3885
  };
3886
+ /** StartPasswordReset */
3887
+ StartPasswordReset: {
3888
+ /**
3889
+ * Email
3890
+ * Format: email
3891
+ */
3892
+ email: string;
3893
+ };
3749
3894
  /**
3750
3895
  * SyncOperationType
3751
3896
  * @enum {string}
@@ -4086,6 +4231,15 @@ export interface components {
4086
4231
  */
4087
4232
  user_notification_id?: TypeID<"user_notification">;
4088
4233
  };
4234
+ /** UserPasswordResetEmailResponse */
4235
+ UserPasswordResetEmailResponse: {
4236
+ /**
4237
+ * Message
4238
+ * @description Message to the user. This message is always displayed regarding the password reset process to prevent leaking information.
4239
+ * @default A password reset link will be sent to this email if an account is registered under it.
4240
+ */
4241
+ message: string;
4242
+ };
4089
4243
  /**
4090
4244
  * UserStatus
4091
4245
  * @enum {string}
@@ -4145,6 +4299,143 @@ export interface components {
4145
4299
  */
4146
4300
  username?: string | null;
4147
4301
  };
4302
+ /** UserVerificationApiResponse */
4303
+ UserVerificationApiResponse: {
4304
+ /**
4305
+ * Canceled On
4306
+ * @description The date the verification was cancelled
4307
+ */
4308
+ canceled_on?: Date | null;
4309
+ /**
4310
+ * Created On
4311
+ * Format: date-time
4312
+ * @description The date/time the entry was created on
4313
+ */
4314
+ created_on?: Date;
4315
+ /**
4316
+ * @description Current status of the email verification
4317
+ * @default pending
4318
+ */
4319
+ status: components["schemas"]["EmailVerificationStatus"];
4320
+ /**
4321
+ * Token
4322
+ * @description The token to verify the email address
4323
+ */
4324
+ token: string;
4325
+ /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4326
+ type: components["schemas"]["VerificationType"];
4327
+ /**
4328
+ * Updated On
4329
+ * Format: date-time
4330
+ * @description The date/time the entry was last updated on
4331
+ */
4332
+ updated_on?: Date;
4333
+ /**
4334
+ * User Id
4335
+ * Format: typeid
4336
+ * @description The user's id
4337
+ * @default None
4338
+ */
4339
+ user_id: TypeID<"user">;
4340
+ /**
4341
+ * User Verification Id
4342
+ * Format: typeid
4343
+ */
4344
+ user_verification_id?: TypeID<"user_verification">;
4345
+ /**
4346
+ * Verified On
4347
+ * @description The date the verification was verified
4348
+ */
4349
+ verified_on?: Date | null;
4350
+ };
4351
+ /** UserVerificationEmailResponse */
4352
+ UserVerificationEmailResponse: {
4353
+ /**
4354
+ * Canceled On
4355
+ * @description The date the verification was cancelled
4356
+ */
4357
+ canceled_on?: Date | null;
4358
+ /**
4359
+ * Created On
4360
+ * Format: date-time
4361
+ * @description The date/time the entry was created on
4362
+ */
4363
+ created_on?: Date;
4364
+ /**
4365
+ * @description Current status of the email verification
4366
+ * @default pending
4367
+ */
4368
+ status: components["schemas"]["EmailVerificationStatus"];
4369
+ /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4370
+ type: components["schemas"]["VerificationType"];
4371
+ /**
4372
+ * Updated On
4373
+ * Format: date-time
4374
+ * @description The date/time the entry was last updated on
4375
+ */
4376
+ updated_on?: Date;
4377
+ /**
4378
+ * User Id
4379
+ * Format: typeid
4380
+ * @description The user's id
4381
+ * @default None
4382
+ */
4383
+ user_id: TypeID<"user">;
4384
+ /**
4385
+ * User Verification Id
4386
+ * Format: typeid
4387
+ */
4388
+ user_verification_id?: TypeID<"user_verification">;
4389
+ /**
4390
+ * Verified On
4391
+ * @description The date the verification was verified
4392
+ */
4393
+ verified_on?: Date | null;
4394
+ };
4395
+ /** UserVerificationResponse */
4396
+ UserVerificationResponse: {
4397
+ /**
4398
+ * Canceled On
4399
+ * @description The date the verification was cancelled
4400
+ */
4401
+ canceled_on?: Date | null;
4402
+ /**
4403
+ * Created On
4404
+ * Format: date-time
4405
+ * @description The date/time the entry was created on
4406
+ */
4407
+ created_on?: Date;
4408
+ /**
4409
+ * @description Current status of the email verification
4410
+ * @default pending
4411
+ */
4412
+ status: components["schemas"]["EmailVerificationStatus"];
4413
+ /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4414
+ type: components["schemas"]["VerificationType"];
4415
+ /**
4416
+ * Updated On
4417
+ * Format: date-time
4418
+ * @description The date/time the entry was last updated on
4419
+ */
4420
+ updated_on?: Date;
4421
+ /**
4422
+ * User Id
4423
+ * Format: typeid
4424
+ * @description The user's id
4425
+ * @default None
4426
+ */
4427
+ user_id: TypeID<"user">;
4428
+ /**
4429
+ * User Verification Id
4430
+ * Format: typeid
4431
+ */
4432
+ user_verification_id?: TypeID<"user_verification">;
4433
+ /**
4434
+ * Verified On
4435
+ * @description The date the verification was verified
4436
+ */
4437
+ verified_on?: Date | null;
4438
+ };
4148
4439
  /** UserWithAttributes */
4149
4440
  UserWithAttributes: {
4150
4441
  /**
@@ -7679,7 +7970,7 @@ export interface operations {
7679
7970
  [name: string]: unknown;
7680
7971
  };
7681
7972
  content: {
7682
- "application/json": components["schemas"]["OrganizationWithPlan"];
7973
+ "application/json": components["schemas"]["OrganizationWithBillingData"];
7683
7974
  };
7684
7975
  };
7685
7976
  /** @description Validation Error */
@@ -7778,7 +8069,7 @@ export interface operations {
7778
8069
  [name: string]: unknown;
7779
8070
  };
7780
8071
  content: {
7781
- "application/json": components["schemas"]["OrganizationWithPlan"];
8072
+ "application/json": components["schemas"]["OrganizationWithBillingData"];
7782
8073
  };
7783
8074
  };
7784
8075
  /** @description Validation Error */
@@ -7958,24 +8249,26 @@ export interface operations {
7958
8249
  };
7959
8250
  };
7960
8251
  };
7961
- get_current_user_v1_users_me_get: {
8252
+ create_user_password_reset_v1_users_email_password_reset_post: {
7962
8253
  parameters: {
7963
- query?: {
7964
- attributes?: string[] | null;
7965
- };
8254
+ query?: never;
7966
8255
  header?: never;
7967
8256
  path?: never;
7968
8257
  cookie?: never;
7969
8258
  };
7970
- requestBody?: never;
8259
+ requestBody: {
8260
+ content: {
8261
+ "application/json": components["schemas"]["StartPasswordReset"];
8262
+ };
8263
+ };
7971
8264
  responses: {
7972
8265
  /** @description Successful Response */
7973
- 200: {
8266
+ 201: {
7974
8267
  headers: {
7975
8268
  [name: string]: unknown;
7976
8269
  };
7977
8270
  content: {
7978
- "application/json": components["schemas"]["UserWithRelationPermissions"];
8271
+ "application/json": components["schemas"]["UserPasswordResetEmailResponse"];
7979
8272
  };
7980
8273
  };
7981
8274
  /** @description Validation Error */
@@ -7989,15 +8282,13 @@ export interface operations {
7989
8282
  };
7990
8283
  };
7991
8284
  };
7992
- get_user_v1_users__user_id__get: {
8285
+ redirect_verify_user_v1_users_email_verify_get: {
7993
8286
  parameters: {
7994
- query?: {
7995
- attributes?: string[] | null;
8287
+ query: {
8288
+ token: string;
7996
8289
  };
7997
8290
  header?: never;
7998
- path: {
7999
- user_id: TypeID<"user">;
8000
- };
8291
+ path?: never;
8001
8292
  cookie?: never;
8002
8293
  };
8003
8294
  requestBody?: never;
@@ -8008,7 +8299,7 @@ export interface operations {
8008
8299
  [name: string]: unknown;
8009
8300
  };
8010
8301
  content: {
8011
- "application/json": components["schemas"]["UserWithAttributes"];
8302
+ "application/json": unknown;
8012
8303
  };
8013
8304
  };
8014
8305
  /** @description Validation Error */
@@ -8022,19 +8313,349 @@ export interface operations {
8022
8313
  };
8023
8314
  };
8024
8315
  };
8025
- delete_user_v1_users__user_id__delete: {
8316
+ get_current_user_v1_users_me_get: {
8026
8317
  parameters: {
8027
- query?: never;
8028
- header?: never;
8029
- path: {
8030
- user_id: TypeID<"user">;
8318
+ query?: {
8319
+ attributes?: string[] | null;
8031
8320
  };
8321
+ header?: never;
8322
+ path?: never;
8032
8323
  cookie?: never;
8033
8324
  };
8034
8325
  requestBody?: never;
8035
8326
  responses: {
8036
8327
  /** @description Successful Response */
8037
- 204: {
8328
+ 200: {
8329
+ headers: {
8330
+ [name: string]: unknown;
8331
+ };
8332
+ content: {
8333
+ "application/json": components["schemas"]["UserWithRelationPermissions"];
8334
+ };
8335
+ };
8336
+ /** @description Validation Error */
8337
+ 422: {
8338
+ headers: {
8339
+ [name: string]: unknown;
8340
+ };
8341
+ content: {
8342
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8343
+ };
8344
+ };
8345
+ };
8346
+ };
8347
+ confirm_user_password_reset_me_v1_users_me_password_reset_patch: {
8348
+ parameters: {
8349
+ query?: never;
8350
+ header?: never;
8351
+ path?: never;
8352
+ cookie?: never;
8353
+ };
8354
+ requestBody: {
8355
+ content: {
8356
+ "application/json": components["schemas"]["PasswordUpdate"];
8357
+ };
8358
+ };
8359
+ responses: {
8360
+ /** @description Successful Response */
8361
+ 204: {
8362
+ headers: {
8363
+ [name: string]: unknown;
8364
+ };
8365
+ content?: never;
8366
+ };
8367
+ /** @description Unauthorized */
8368
+ 401: {
8369
+ headers: {
8370
+ [name: string]: unknown;
8371
+ };
8372
+ content: {
8373
+ /** @example {
8374
+ * "code": "ERROR_AUTHENTICATION",
8375
+ * "detail": "Additional error context.",
8376
+ * "status": 401,
8377
+ * "title": "Authentication Error",
8378
+ * "type": "authentication"
8379
+ * } */
8380
+ "application/problem+json": components["schemas"]["Problem"];
8381
+ };
8382
+ };
8383
+ /** @description Validation Error */
8384
+ 422: {
8385
+ headers: {
8386
+ [name: string]: unknown;
8387
+ };
8388
+ content: {
8389
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8390
+ };
8391
+ };
8392
+ };
8393
+ };
8394
+ get_verification_status_me_v1_users_me_verification_get: {
8395
+ parameters: {
8396
+ query?: never;
8397
+ header?: never;
8398
+ path?: never;
8399
+ cookie?: never;
8400
+ };
8401
+ requestBody?: never;
8402
+ responses: {
8403
+ /** @description Successful Response */
8404
+ 200: {
8405
+ headers: {
8406
+ [name: string]: unknown;
8407
+ };
8408
+ content: {
8409
+ "application/json": components["schemas"]["UserVerificationResponse"];
8410
+ };
8411
+ };
8412
+ /** @description Unauthorized */
8413
+ 401: {
8414
+ headers: {
8415
+ [name: string]: unknown;
8416
+ };
8417
+ content: {
8418
+ /** @example {
8419
+ * "code": "ERROR_AUTHENTICATION",
8420
+ * "detail": "Additional error context.",
8421
+ * "status": 401,
8422
+ * "title": "Authentication Error",
8423
+ * "type": "authentication"
8424
+ * } */
8425
+ "application/problem+json": components["schemas"]["Problem"];
8426
+ };
8427
+ };
8428
+ };
8429
+ };
8430
+ create_verification_me_v1_users_me_verification_post: {
8431
+ parameters: {
8432
+ query: {
8433
+ type: components["schemas"]["VerificationType"];
8434
+ };
8435
+ header?: never;
8436
+ path?: never;
8437
+ cookie?: never;
8438
+ };
8439
+ requestBody?: never;
8440
+ responses: {
8441
+ /** @description Successful Response */
8442
+ 201: {
8443
+ headers: {
8444
+ [name: string]: unknown;
8445
+ };
8446
+ content: {
8447
+ "application/json": components["schemas"]["UserVerificationEmailResponse"] | components["schemas"]["UserVerificationApiResponse"];
8448
+ };
8449
+ };
8450
+ /** @description Unauthorized */
8451
+ 401: {
8452
+ headers: {
8453
+ [name: string]: unknown;
8454
+ };
8455
+ content: {
8456
+ /** @example {
8457
+ * "code": "ERROR_AUTHENTICATION",
8458
+ * "detail": "Additional error context.",
8459
+ * "status": 401,
8460
+ * "title": "Authentication Error",
8461
+ * "type": "authentication"
8462
+ * } */
8463
+ "application/problem+json": components["schemas"]["Problem"];
8464
+ };
8465
+ };
8466
+ /** @description Not Found */
8467
+ 404: {
8468
+ headers: {
8469
+ [name: string]: unknown;
8470
+ };
8471
+ content: {
8472
+ /** @example {
8473
+ * "code": "ERROR_USER_NOT_FOUND",
8474
+ * "detail": "Additional error context.",
8475
+ * "status": 404,
8476
+ * "title": "User Management Error",
8477
+ * "type": "user-not-found"
8478
+ * } */
8479
+ "application/problem+json": components["schemas"]["Problem"];
8480
+ };
8481
+ };
8482
+ /** @description Method Not Allowed */
8483
+ 405: {
8484
+ headers: {
8485
+ [name: string]: unknown;
8486
+ };
8487
+ content: {
8488
+ /** @example {
8489
+ * "code": "ERROR_USER_VERIFICATION_INVALID_TYPE",
8490
+ * "detail": "Invalid verification type: Additional error context.",
8491
+ * "status": 405,
8492
+ * "title": "User Management Error",
8493
+ * "type": "user-verification-type-invalid"
8494
+ * } */
8495
+ "application/problem+json": components["schemas"]["Problem"];
8496
+ };
8497
+ };
8498
+ /** @description Validation Error */
8499
+ 422: {
8500
+ headers: {
8501
+ [name: string]: unknown;
8502
+ };
8503
+ content: {
8504
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8505
+ };
8506
+ };
8507
+ };
8508
+ };
8509
+ cancel_verification_me_v1_users_me_verification_delete: {
8510
+ parameters: {
8511
+ query?: never;
8512
+ header?: never;
8513
+ path?: never;
8514
+ cookie?: never;
8515
+ };
8516
+ requestBody?: never;
8517
+ responses: {
8518
+ /** @description Successful Response */
8519
+ 204: {
8520
+ headers: {
8521
+ [name: string]: unknown;
8522
+ };
8523
+ content?: never;
8524
+ };
8525
+ /** @description Unauthorized */
8526
+ 401: {
8527
+ headers: {
8528
+ [name: string]: unknown;
8529
+ };
8530
+ content: {
8531
+ /** @example {
8532
+ * "code": "ERROR_AUTHENTICATION",
8533
+ * "detail": "Additional error context.",
8534
+ * "status": 401,
8535
+ * "title": "Authentication Error",
8536
+ * "type": "authentication"
8537
+ * } */
8538
+ "application/problem+json": components["schemas"]["Problem"];
8539
+ };
8540
+ };
8541
+ };
8542
+ };
8543
+ update_verification_me_v1_users_me_verification_patch: {
8544
+ parameters: {
8545
+ query: {
8546
+ token: string;
8547
+ };
8548
+ header?: never;
8549
+ path?: never;
8550
+ cookie?: never;
8551
+ };
8552
+ requestBody?: never;
8553
+ responses: {
8554
+ /** @description Successful Response */
8555
+ 204: {
8556
+ headers: {
8557
+ [name: string]: unknown;
8558
+ };
8559
+ content?: never;
8560
+ };
8561
+ /** @description Bad Request */
8562
+ 400: {
8563
+ headers: {
8564
+ [name: string]: unknown;
8565
+ };
8566
+ content: {
8567
+ "application/problem+json": components["schemas"]["Problem"];
8568
+ };
8569
+ };
8570
+ /** @description Unauthorized */
8571
+ 401: {
8572
+ headers: {
8573
+ [name: string]: unknown;
8574
+ };
8575
+ content: {
8576
+ /** @example {
8577
+ * "code": "ERROR_AUTHENTICATION",
8578
+ * "detail": "Additional error context.",
8579
+ * "status": 401,
8580
+ * "title": "Authentication Error",
8581
+ * "type": "authentication"
8582
+ * } */
8583
+ "application/problem+json": components["schemas"]["Problem"];
8584
+ };
8585
+ };
8586
+ /** @description Not Found */
8587
+ 404: {
8588
+ headers: {
8589
+ [name: string]: unknown;
8590
+ };
8591
+ content: {
8592
+ /** @example {
8593
+ * "code": "ERROR_USER_VERIFICATION_NOT_FOUND",
8594
+ * "detail": "No user verification found for user: user_id=Additional error context.",
8595
+ * "status": 404,
8596
+ * "title": "User Management Error",
8597
+ * "type": "user-verification-not-found"
8598
+ * } */
8599
+ "application/problem+json": components["schemas"]["Problem"];
8600
+ };
8601
+ };
8602
+ /** @description Validation Error */
8603
+ 422: {
8604
+ headers: {
8605
+ [name: string]: unknown;
8606
+ };
8607
+ content: {
8608
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8609
+ };
8610
+ };
8611
+ };
8612
+ };
8613
+ get_user_v1_users__user_id__get: {
8614
+ parameters: {
8615
+ query?: {
8616
+ attributes?: string[] | null;
8617
+ };
8618
+ header?: never;
8619
+ path: {
8620
+ user_id: TypeID<"user">;
8621
+ };
8622
+ cookie?: never;
8623
+ };
8624
+ requestBody?: never;
8625
+ responses: {
8626
+ /** @description Successful Response */
8627
+ 200: {
8628
+ headers: {
8629
+ [name: string]: unknown;
8630
+ };
8631
+ content: {
8632
+ "application/json": components["schemas"]["UserWithAttributes"];
8633
+ };
8634
+ };
8635
+ /** @description Validation Error */
8636
+ 422: {
8637
+ headers: {
8638
+ [name: string]: unknown;
8639
+ };
8640
+ content: {
8641
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8642
+ };
8643
+ };
8644
+ };
8645
+ };
8646
+ delete_user_v1_users__user_id__delete: {
8647
+ parameters: {
8648
+ query?: never;
8649
+ header?: never;
8650
+ path: {
8651
+ user_id: TypeID<"user">;
8652
+ };
8653
+ cookie?: never;
8654
+ };
8655
+ requestBody?: never;
8656
+ responses: {
8657
+ /** @description Successful Response */
8658
+ 204: {
8038
8659
  headers: {
8039
8660
  [name: string]: unknown;
8040
8661
  };
@@ -8199,4 +8820,249 @@ export interface operations {
8199
8820
  };
8200
8821
  };
8201
8822
  };
8823
+ get_verification_status_v1_users__user_id__verification_get: {
8824
+ parameters: {
8825
+ query?: never;
8826
+ header?: never;
8827
+ path: {
8828
+ user_id: TypeID<"user">;
8829
+ };
8830
+ cookie?: never;
8831
+ };
8832
+ requestBody?: never;
8833
+ responses: {
8834
+ /** @description Successful Response */
8835
+ 200: {
8836
+ headers: {
8837
+ [name: string]: unknown;
8838
+ };
8839
+ content: {
8840
+ "application/json": components["schemas"]["UserVerificationResponse"];
8841
+ };
8842
+ };
8843
+ /** @description Unauthorized */
8844
+ 401: {
8845
+ headers: {
8846
+ [name: string]: unknown;
8847
+ };
8848
+ content: {
8849
+ /** @example {
8850
+ * "code": "ERROR_AUTHENTICATION",
8851
+ * "detail": "Additional error context.",
8852
+ * "status": 401,
8853
+ * "title": "Authentication Error",
8854
+ * "type": "authentication"
8855
+ * } */
8856
+ "application/problem+json": components["schemas"]["Problem"];
8857
+ };
8858
+ };
8859
+ /** @description Validation Error */
8860
+ 422: {
8861
+ headers: {
8862
+ [name: string]: unknown;
8863
+ };
8864
+ content: {
8865
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8866
+ };
8867
+ };
8868
+ };
8869
+ };
8870
+ create_verification_v1_users__user_id__verification_post: {
8871
+ parameters: {
8872
+ query: {
8873
+ type: components["schemas"]["VerificationType"];
8874
+ };
8875
+ header?: never;
8876
+ path: {
8877
+ user_id: TypeID<"user">;
8878
+ };
8879
+ cookie?: never;
8880
+ };
8881
+ requestBody?: never;
8882
+ responses: {
8883
+ /** @description Successful Response */
8884
+ 201: {
8885
+ headers: {
8886
+ [name: string]: unknown;
8887
+ };
8888
+ content: {
8889
+ "application/json": components["schemas"]["UserVerificationEmailResponse"] | components["schemas"]["UserVerificationApiResponse"];
8890
+ };
8891
+ };
8892
+ /** @description Unauthorized */
8893
+ 401: {
8894
+ headers: {
8895
+ [name: string]: unknown;
8896
+ };
8897
+ content: {
8898
+ /** @example {
8899
+ * "code": "ERROR_AUTHENTICATION",
8900
+ * "detail": "Additional error context.",
8901
+ * "status": 401,
8902
+ * "title": "Authentication Error",
8903
+ * "type": "authentication"
8904
+ * } */
8905
+ "application/problem+json": components["schemas"]["Problem"];
8906
+ };
8907
+ };
8908
+ /** @description Not Found */
8909
+ 404: {
8910
+ headers: {
8911
+ [name: string]: unknown;
8912
+ };
8913
+ content: {
8914
+ /** @example {
8915
+ * "code": "ERROR_USER_NOT_FOUND",
8916
+ * "detail": "Additional error context.",
8917
+ * "status": 404,
8918
+ * "title": "User Management Error",
8919
+ * "type": "user-not-found"
8920
+ * } */
8921
+ "application/problem+json": components["schemas"]["Problem"];
8922
+ };
8923
+ };
8924
+ /** @description Method Not Allowed */
8925
+ 405: {
8926
+ headers: {
8927
+ [name: string]: unknown;
8928
+ };
8929
+ content: {
8930
+ /** @example {
8931
+ * "code": "ERROR_USER_VERIFICATION_INVALID_TYPE",
8932
+ * "detail": "Invalid verification type: Additional error context.",
8933
+ * "status": 405,
8934
+ * "title": "User Management Error",
8935
+ * "type": "user-verification-type-invalid"
8936
+ * } */
8937
+ "application/problem+json": components["schemas"]["Problem"];
8938
+ };
8939
+ };
8940
+ /** @description Validation Error */
8941
+ 422: {
8942
+ headers: {
8943
+ [name: string]: unknown;
8944
+ };
8945
+ content: {
8946
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8947
+ };
8948
+ };
8949
+ };
8950
+ };
8951
+ cancel_verification_v1_users__user_id__verification_delete: {
8952
+ parameters: {
8953
+ query?: never;
8954
+ header?: never;
8955
+ path: {
8956
+ user_id: TypeID<"user">;
8957
+ };
8958
+ cookie?: never;
8959
+ };
8960
+ requestBody?: never;
8961
+ responses: {
8962
+ /** @description Successful Response */
8963
+ 204: {
8964
+ headers: {
8965
+ [name: string]: unknown;
8966
+ };
8967
+ content?: never;
8968
+ };
8969
+ /** @description Unauthorized */
8970
+ 401: {
8971
+ headers: {
8972
+ [name: string]: unknown;
8973
+ };
8974
+ content: {
8975
+ /** @example {
8976
+ * "code": "ERROR_AUTHENTICATION",
8977
+ * "detail": "Additional error context.",
8978
+ * "status": 401,
8979
+ * "title": "Authentication Error",
8980
+ * "type": "authentication"
8981
+ * } */
8982
+ "application/problem+json": components["schemas"]["Problem"];
8983
+ };
8984
+ };
8985
+ /** @description Validation Error */
8986
+ 422: {
8987
+ headers: {
8988
+ [name: string]: unknown;
8989
+ };
8990
+ content: {
8991
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
8992
+ };
8993
+ };
8994
+ };
8995
+ };
8996
+ update_verification_v1_users__user_id__verification_patch: {
8997
+ parameters: {
8998
+ query: {
8999
+ token: string;
9000
+ };
9001
+ header?: never;
9002
+ path: {
9003
+ user_id: TypeID<"user">;
9004
+ };
9005
+ cookie?: never;
9006
+ };
9007
+ requestBody?: never;
9008
+ responses: {
9009
+ /** @description Successful Response */
9010
+ 204: {
9011
+ headers: {
9012
+ [name: string]: unknown;
9013
+ };
9014
+ content?: never;
9015
+ };
9016
+ /** @description Bad Request */
9017
+ 400: {
9018
+ headers: {
9019
+ [name: string]: unknown;
9020
+ };
9021
+ content: {
9022
+ "application/problem+json": components["schemas"]["Problem"];
9023
+ };
9024
+ };
9025
+ /** @description Unauthorized */
9026
+ 401: {
9027
+ headers: {
9028
+ [name: string]: unknown;
9029
+ };
9030
+ content: {
9031
+ /** @example {
9032
+ * "code": "ERROR_AUTHENTICATION",
9033
+ * "detail": "Additional error context.",
9034
+ * "status": 401,
9035
+ * "title": "Authentication Error",
9036
+ * "type": "authentication"
9037
+ * } */
9038
+ "application/problem+json": components["schemas"]["Problem"];
9039
+ };
9040
+ };
9041
+ /** @description Not Found */
9042
+ 404: {
9043
+ headers: {
9044
+ [name: string]: unknown;
9045
+ };
9046
+ content: {
9047
+ /** @example {
9048
+ * "code": "ERROR_USER_VERIFICATION_NOT_FOUND",
9049
+ * "detail": "No user verification found for user: user_id=Additional error context.",
9050
+ * "status": 404,
9051
+ * "title": "User Management Error",
9052
+ * "type": "user-verification-not-found"
9053
+ * } */
9054
+ "application/problem+json": components["schemas"]["Problem"];
9055
+ };
9056
+ };
9057
+ /** @description Validation Error */
9058
+ 422: {
9059
+ headers: {
9060
+ [name: string]: unknown;
9061
+ };
9062
+ content: {
9063
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
9064
+ };
9065
+ };
9066
+ };
9067
+ };
8202
9068
  }