@opusdns/api 0.54.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
@@ -744,60 +744,6 @@ export interface paths {
744
744
  patch: operations["acknowledge_event_v1_events__event_id__patch"];
745
745
  trace?: never;
746
746
  };
747
- "/v1/notifications": {
748
- parameters: {
749
- query?: never;
750
- header?: never;
751
- path?: never;
752
- cookie?: never;
753
- };
754
- /** List Notifications */
755
- get: operations["list_notifications_v1_notifications_get"];
756
- put?: never;
757
- /** Create Notification */
758
- post: operations["create_notification_v1_notifications_post"];
759
- delete?: never;
760
- options?: never;
761
- head?: never;
762
- patch?: never;
763
- trace?: never;
764
- };
765
- "/v1/notifications/{notification_id}": {
766
- parameters: {
767
- query?: never;
768
- header?: never;
769
- path?: never;
770
- cookie?: never;
771
- };
772
- /** Get Notification */
773
- get: operations["get_notification_v1_notifications__notification_id__get"];
774
- /** Update Notification */
775
- put: operations["update_notification_v1_notifications__notification_id__put"];
776
- post?: never;
777
- /** Delete Notification */
778
- delete: operations["delete_notification_v1_notifications__notification_id__delete"];
779
- options?: never;
780
- head?: never;
781
- patch?: never;
782
- trace?: never;
783
- };
784
- "/v1/notifications/{notification_id}/read": {
785
- parameters: {
786
- query?: never;
787
- header?: never;
788
- path?: never;
789
- cookie?: never;
790
- };
791
- get?: never;
792
- put?: never;
793
- post?: never;
794
- delete?: never;
795
- options?: never;
796
- head?: never;
797
- /** Update Notification Read */
798
- patch: operations["update_notification_read_v1_notifications__notification_id__read_patch"];
799
- trace?: never;
800
- };
801
747
  "/v1/organizations": {
802
748
  parameters: {
803
749
  query?: never;
@@ -1073,40 +1019,6 @@ export interface paths {
1073
1019
  patch?: never;
1074
1020
  trace?: never;
1075
1021
  };
1076
- "/v1/users/email/password-reset": {
1077
- parameters: {
1078
- query?: never;
1079
- header?: never;
1080
- path?: never;
1081
- cookie?: never;
1082
- };
1083
- get?: never;
1084
- put?: never;
1085
- /** Create User Password Reset */
1086
- post: operations["create_user_password_reset_v1_users_email_password_reset_post"];
1087
- delete?: never;
1088
- options?: never;
1089
- head?: never;
1090
- patch?: never;
1091
- trace?: never;
1092
- };
1093
- "/v1/users/email/verify": {
1094
- parameters: {
1095
- query?: never;
1096
- header?: never;
1097
- path?: never;
1098
- cookie?: never;
1099
- };
1100
- /** Redirect Verify User */
1101
- get: operations["redirect_verify_user_v1_users_email_verify_get"];
1102
- put?: never;
1103
- post?: never;
1104
- delete?: never;
1105
- options?: never;
1106
- head?: never;
1107
- patch?: never;
1108
- trace?: never;
1109
- };
1110
1022
  "/v1/users/me": {
1111
1023
  parameters: {
1112
1024
  query?: never;
@@ -1141,25 +1053,6 @@ export interface paths {
1141
1053
  patch: operations["confirm_user_password_reset_me_v1_users_me_password_reset_patch"];
1142
1054
  trace?: never;
1143
1055
  };
1144
- "/v1/users/me/verification": {
1145
- parameters: {
1146
- query?: never;
1147
- header?: never;
1148
- path?: never;
1149
- cookie?: never;
1150
- };
1151
- /** Get Verification Status Me */
1152
- get: operations["get_verification_status_me_v1_users_me_verification_get"];
1153
- put?: never;
1154
- /** Create Verification Me */
1155
- post: operations["create_verification_me_v1_users_me_verification_post"];
1156
- delete?: never;
1157
- options?: never;
1158
- head?: never;
1159
- /** Update Verification Me */
1160
- patch: operations["update_verification_me_v1_users_me_verification_patch"];
1161
- trace?: never;
1162
- };
1163
1056
  "/v1/users/{user_id}": {
1164
1057
  parameters: {
1165
1058
  query?: never;
@@ -1214,25 +1107,6 @@ export interface paths {
1214
1107
  patch: operations["update_user_relations_v1_users__user_id__roles_patch"];
1215
1108
  trace?: never;
1216
1109
  };
1217
- "/v1/users/{user_id}/verification": {
1218
- parameters: {
1219
- query?: never;
1220
- header?: never;
1221
- path?: never;
1222
- cookie?: never;
1223
- };
1224
- /** Get Verification Status */
1225
- get: operations["get_verification_status_v1_users__user_id__verification_get"];
1226
- put?: never;
1227
- /** Create Verification */
1228
- post: operations["create_verification_v1_users__user_id__verification_post"];
1229
- delete?: never;
1230
- options?: never;
1231
- head?: never;
1232
- /** Update Verification */
1233
- patch: operations["update_verification_v1_users__user_id__verification_patch"];
1234
- trace?: never;
1235
- };
1236
1110
  }
1237
1111
  export type webhooks = Record<string, never>;
1238
1112
  export interface components {
@@ -2925,184 +2799,6 @@ export interface components {
2925
2799
  */
2926
2800
  ip_addresses?: string[];
2927
2801
  };
2928
- /** Notification */
2929
- Notification: {
2930
- /**
2931
- * Author
2932
- * @description The user or system that created the notification
2933
- */
2934
- author: string;
2935
- /**
2936
- * Created On
2937
- * Format: date-time
2938
- * @description The date/time the entry was created on
2939
- */
2940
- created_on?: Date;
2941
- /**
2942
- * Message
2943
- * @description The message content of the notification
2944
- */
2945
- message: string;
2946
- /**
2947
- * Notification Id
2948
- * Format: typeid
2949
- */
2950
- notification_id?: TypeId<"notification">;
2951
- /**
2952
- * Publish Date
2953
- * Format: date-time
2954
- * @description The date/time the notification is to be published
2955
- */
2956
- publish_date?: Date;
2957
- /**
2958
- * Source
2959
- * @description Source of the notification
2960
- */
2961
- source: string;
2962
- /**
2963
- * Subject
2964
- * @description The subject of the notification
2965
- */
2966
- subject: string;
2967
- /**
2968
- * Target
2969
- * @description Target audience (broadcast, account, user)
2970
- */
2971
- target: string;
2972
- /**
2973
- * Type
2974
- * @description The type of notification
2975
- */
2976
- type: string;
2977
- /**
2978
- * Updated On
2979
- * Format: date-time
2980
- * @description The date/time the entry was last updated on
2981
- */
2982
- updated_on?: Date;
2983
- };
2984
- /** NotificationCreate */
2985
- NotificationCreate: {
2986
- /**
2987
- * Author
2988
- * @description The user or system that created the notification
2989
- */
2990
- author: string;
2991
- /**
2992
- * Message
2993
- * @description The message content of the notification
2994
- */
2995
- message: string;
2996
- /**
2997
- * Publish Date
2998
- * Format: date-time
2999
- * @description The date/time the notification is to be published
3000
- */
3001
- publish_date?: Date;
3002
- /**
3003
- * Source
3004
- * @description Source of the notification
3005
- */
3006
- source: string;
3007
- /**
3008
- * Subject
3009
- * @description The subject of the notification
3010
- */
3011
- subject: string;
3012
- /**
3013
- * Target
3014
- * @description Target audience (broadcast, account, user)
3015
- */
3016
- target: string;
3017
- /**
3018
- * Type
3019
- * @description The type of notification
3020
- */
3021
- type: string;
3022
- };
3023
- /** NotificationSummary */
3024
- NotificationSummary: {
3025
- /**
3026
- * Author
3027
- * @description The user or system that created the notification
3028
- */
3029
- author: string;
3030
- /**
3031
- * Message
3032
- * @description The message content of the notification
3033
- */
3034
- message: string;
3035
- /**
3036
- * Notification Id
3037
- * Format: typeid
3038
- */
3039
- notification_id?: TypeId<"notification">;
3040
- /**
3041
- * Publish Date
3042
- * Format: date-time
3043
- * @description The date/time the notification is to be published
3044
- */
3045
- publish_date?: Date;
3046
- /**
3047
- * Source
3048
- * @description Source of the notification
3049
- */
3050
- source: string;
3051
- /**
3052
- * Subject
3053
- * @description The subject of the notification
3054
- */
3055
- subject: string;
3056
- /**
3057
- * Target
3058
- * @description Target audience (broadcast, account, user)
3059
- */
3060
- target: string;
3061
- /**
3062
- * Type
3063
- * @description The type of notification
3064
- */
3065
- type: string;
3066
- };
3067
- /** NotificationUpdate */
3068
- NotificationUpdate: {
3069
- /**
3070
- * Author
3071
- * @description The user or system that created the notification
3072
- */
3073
- author: string;
3074
- /**
3075
- * Message
3076
- * @description The message content of the notification
3077
- */
3078
- message: string;
3079
- /**
3080
- * Publish Date
3081
- * Format: date-time
3082
- * @description The date/time the notification is to be published
3083
- */
3084
- publish_date?: Date;
3085
- /**
3086
- * Source
3087
- * @description Source of the notification
3088
- */
3089
- source: string;
3090
- /**
3091
- * Subject
3092
- * @description The subject of the notification
3093
- */
3094
- subject: string;
3095
- /**
3096
- * Target
3097
- * @description Target audience (broadcast, account, user)
3098
- */
3099
- target: string;
3100
- /**
3101
- * Type
3102
- * @description The type of notification
3103
- */
3104
- type: string;
3105
- };
3106
2802
  /** Organization */
3107
2803
  Organization: {
3108
2804
  /**
@@ -3737,12 +3433,6 @@ export interface components {
3737
3433
  /** Results */
3738
3434
  results: components["schemas"]["Organization"][];
3739
3435
  };
3740
- /** Pagination[UserNotificationSummary] */
3741
- Pagination_UserNotificationSummary_: {
3742
- pagination: components["schemas"]["PaginationMetadata"];
3743
- /** Results */
3744
- results: components["schemas"]["UserNotificationSummary"][];
3745
- };
3746
3436
  /** Pagination[User] */
3747
3437
  Pagination_User_: {
3748
3438
  pagination: components["schemas"]["PaginationMetadata"];
@@ -4018,14 +3708,6 @@ export interface components {
4018
3708
  /** Remove */
4019
3709
  remove?: components["schemas"]["Relation"][] | null;
4020
3710
  };
4021
- /** StartPasswordReset */
4022
- StartPasswordReset: {
4023
- /**
4024
- * Email
4025
- * Format: email
4026
- */
4027
- email: string;
4028
- };
4029
3711
  /**
4030
3712
  * SyncOperationType
4031
3713
  * @enum {string}
@@ -4334,73 +4016,6 @@ export interface components {
4334
4016
  */
4335
4017
  username: string;
4336
4018
  };
4337
- /** UserNotification */
4338
- UserNotification: {
4339
- /**
4340
- * Created On
4341
- * Format: date-time
4342
- * @description The date/time the entry was created on
4343
- */
4344
- created_on?: Date;
4345
- notification: components["schemas"]["Notification"];
4346
- /**
4347
- * Notification Id
4348
- * Format: typeid
4349
- * @description Unique identifier for the notification
4350
- * @default None
4351
- */
4352
- notification_id: TypeId<"notification">;
4353
- /**
4354
- * @description Whether the user has read the notification
4355
- * @default unread
4356
- */
4357
- status: components["schemas"]["UserNotificationStatus"];
4358
- /**
4359
- * Updated On
4360
- * Format: date-time
4361
- * @description The date/time the entry was last updated on
4362
- */
4363
- updated_on?: Date;
4364
- /**
4365
- * User Id
4366
- * Format: typeid
4367
- * @default None
4368
- */
4369
- user_id: TypeId<"user">;
4370
- /**
4371
- * User Notification Id
4372
- * Format: typeid
4373
- */
4374
- user_notification_id?: TypeId<"user_notification">;
4375
- };
4376
- /**
4377
- * UserNotificationStatus
4378
- * @enum {string}
4379
- */
4380
- UserNotificationStatus: "read" | "unread";
4381
- /** UserNotificationSummary */
4382
- UserNotificationSummary: {
4383
- notification: components["schemas"]["NotificationSummary"];
4384
- /**
4385
- * @description Whether the user has read the notification
4386
- * @default unread
4387
- */
4388
- status: components["schemas"]["UserNotificationStatus"];
4389
- /**
4390
- * User Notification Id
4391
- * Format: typeid
4392
- */
4393
- user_notification_id?: TypeId<"user_notification">;
4394
- };
4395
- /** UserPasswordResetEmailResponse */
4396
- UserPasswordResetEmailResponse: {
4397
- /**
4398
- * Message
4399
- * @description Message to the user. This message is always displayed regarding the password reset process to prevent leaking information.
4400
- * @default A password reset link will be sent to this email if an account is registered under it.
4401
- */
4402
- message: string;
4403
- };
4404
4019
  /**
4405
4020
  * UserStatus
4406
4021
  * @enum {string}
@@ -4460,13 +4075,8 @@ export interface components {
4460
4075
  */
4461
4076
  username?: string | null;
4462
4077
  };
4463
- /** UserVerificationApiResponse */
4464
- UserVerificationApiResponse: {
4465
- /**
4466
- * Canceled On
4467
- * @description The date the verification was cancelled
4468
- */
4469
- canceled_on?: Date | null;
4078
+ /** UserWithAttributes */
4079
+ UserWithAttributes: {
4470
4080
  /**
4471
4081
  * Created On
4472
4082
  * Format: date-time
@@ -4474,142 +4084,10 @@ export interface components {
4474
4084
  */
4475
4085
  created_on?: Date;
4476
4086
  /**
4477
- * @description Current status of the email verification
4478
- * @default pending
4087
+ * Deleted On
4088
+ * @description The date/time the entry was deleted on
4479
4089
  */
4480
- status: components["schemas"]["EmailVerificationStatus"];
4481
- /**
4482
- * Token
4483
- * @description The token to verify the email address
4484
- */
4485
- token: string;
4486
- /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4487
- type: components["schemas"]["VerificationType"];
4488
- /**
4489
- * Updated On
4490
- * Format: date-time
4491
- * @description The date/time the entry was last updated on
4492
- */
4493
- updated_on?: Date;
4494
- /**
4495
- * User Id
4496
- * Format: typeid
4497
- * @description The user's id
4498
- * @default None
4499
- */
4500
- user_id: TypeId<"user">;
4501
- /**
4502
- * User Verification Id
4503
- * Format: typeid
4504
- */
4505
- user_verification_id?: TypeId<"user_verification">;
4506
- /**
4507
- * Verified On
4508
- * @description The date the verification was verified
4509
- */
4510
- verified_on?: Date | null;
4511
- };
4512
- /** UserVerificationEmailResponse */
4513
- UserVerificationEmailResponse: {
4514
- /**
4515
- * Canceled On
4516
- * @description The date the verification was cancelled
4517
- */
4518
- canceled_on?: Date | null;
4519
- /**
4520
- * Created On
4521
- * Format: date-time
4522
- * @description The date/time the entry was created on
4523
- */
4524
- created_on?: Date;
4525
- /**
4526
- * @description Current status of the email verification
4527
- * @default pending
4528
- */
4529
- status: components["schemas"]["EmailVerificationStatus"];
4530
- /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4531
- type: components["schemas"]["VerificationType"];
4532
- /**
4533
- * Updated On
4534
- * Format: date-time
4535
- * @description The date/time the entry was last updated on
4536
- */
4537
- updated_on?: Date;
4538
- /**
4539
- * User Id
4540
- * Format: typeid
4541
- * @description The user's id
4542
- * @default None
4543
- */
4544
- user_id: TypeId<"user">;
4545
- /**
4546
- * User Verification Id
4547
- * Format: typeid
4548
- */
4549
- user_verification_id?: TypeId<"user_verification">;
4550
- /**
4551
- * Verified On
4552
- * @description The date the verification was verified
4553
- */
4554
- verified_on?: Date | null;
4555
- };
4556
- /** UserVerificationResponse */
4557
- UserVerificationResponse: {
4558
- /**
4559
- * Canceled On
4560
- * @description The date the verification was cancelled
4561
- */
4562
- canceled_on?: Date | null;
4563
- /**
4564
- * Created On
4565
- * Format: date-time
4566
- * @description The date/time the entry was created on
4567
- */
4568
- created_on?: Date;
4569
- /**
4570
- * @description Current status of the email verification
4571
- * @default pending
4572
- */
4573
- status: components["schemas"]["EmailVerificationStatus"];
4574
- /** @description The type of verification: 'api' for retrieving token via API, 'email' for retrieving via email */
4575
- type: components["schemas"]["VerificationType"];
4576
- /**
4577
- * Updated On
4578
- * Format: date-time
4579
- * @description The date/time the entry was last updated on
4580
- */
4581
- updated_on?: Date;
4582
- /**
4583
- * User Id
4584
- * Format: typeid
4585
- * @description The user's id
4586
- * @default None
4587
- */
4588
- user_id: TypeId<"user">;
4589
- /**
4590
- * User Verification Id
4591
- * Format: typeid
4592
- */
4593
- user_verification_id?: TypeId<"user_verification">;
4594
- /**
4595
- * Verified On
4596
- * @description The date the verification was verified
4597
- */
4598
- verified_on?: Date | null;
4599
- };
4600
- /** UserWithAttributes */
4601
- UserWithAttributes: {
4602
- /**
4603
- * Created On
4604
- * Format: date-time
4605
- * @description The date/time the entry was created on
4606
- */
4607
- created_on?: Date;
4608
- /**
4609
- * Deleted On
4610
- * @description The date/time the entry was deleted on
4611
- */
4612
- deleted_on?: Date | null;
4090
+ deleted_on?: Date | null;
4613
4091
  /**
4614
4092
  * Email
4615
4093
  * Format: email
@@ -7621,10 +7099,9 @@ export interface operations {
7621
7099
  };
7622
7100
  };
7623
7101
  };
7624
- list_notifications_v1_notifications_get: {
7102
+ list_organizations_v1_organizations_get: {
7625
7103
  parameters: {
7626
- query: {
7627
- user_id: TypeId<"user">;
7104
+ query?: {
7628
7105
  page?: number;
7629
7106
  page_size?: number;
7630
7107
  };
@@ -7640,7 +7117,7 @@ export interface operations {
7640
7117
  [name: string]: unknown;
7641
7118
  };
7642
7119
  content: {
7643
- "application/json": components["schemas"]["Pagination_UserNotificationSummary_"];
7120
+ "application/json": components["schemas"]["Pagination_Organization_"];
7644
7121
  };
7645
7122
  };
7646
7123
  /** @description Validation Error */
@@ -7654,7 +7131,7 @@ export interface operations {
7654
7131
  };
7655
7132
  };
7656
7133
  };
7657
- create_notification_v1_notifications_post: {
7134
+ create_organization_v1_organizations_post: {
7658
7135
  parameters: {
7659
7136
  query?: never;
7660
7137
  header?: never;
@@ -7663,17 +7140,17 @@ export interface operations {
7663
7140
  };
7664
7141
  requestBody: {
7665
7142
  content: {
7666
- "application/json": components["schemas"]["NotificationCreate"];
7143
+ "application/json": components["schemas"]["OrganizationCreate"];
7667
7144
  };
7668
7145
  };
7669
7146
  responses: {
7670
7147
  /** @description Successful Response */
7671
- 201: {
7148
+ 200: {
7672
7149
  headers: {
7673
7150
  [name: string]: unknown;
7674
7151
  };
7675
7152
  content: {
7676
- "application/json": components["schemas"]["Notification"];
7153
+ "application/json": components["schemas"]["Organization"];
7677
7154
  };
7678
7155
  };
7679
7156
  /** @description Validation Error */
@@ -7687,15 +7164,15 @@ export interface operations {
7687
7164
  };
7688
7165
  };
7689
7166
  };
7690
- get_notification_v1_notifications__notification_id__get: {
7167
+ get_attributes_v1_organizations_attributes_get: {
7691
7168
  parameters: {
7692
- query: {
7693
- user_id: TypeId<"user">;
7169
+ query?: {
7170
+ organization_id?: TypeId<"organization"> | null;
7171
+ /** @description Optional list of attribute keys to filter */
7172
+ keys?: string[] | null;
7694
7173
  };
7695
7174
  header?: never;
7696
- path: {
7697
- notification_id: TypeId<"notification">;
7698
- };
7175
+ path?: never;
7699
7176
  cookie?: never;
7700
7177
  };
7701
7178
  requestBody?: never;
@@ -7706,7 +7183,7 @@ export interface operations {
7706
7183
  [name: string]: unknown;
7707
7184
  };
7708
7185
  content: {
7709
- "application/json": components["schemas"]["UserNotification"];
7186
+ "application/json": components["schemas"]["OrganizationAttributeResponse"][];
7710
7187
  };
7711
7188
  };
7712
7189
  /** @description Validation Error */
@@ -7720,18 +7197,18 @@ export interface operations {
7720
7197
  };
7721
7198
  };
7722
7199
  };
7723
- update_notification_v1_notifications__notification_id__put: {
7200
+ update_attributes_v1_organizations_attributes_patch: {
7724
7201
  parameters: {
7725
- query?: never;
7726
- header?: never;
7727
- path: {
7728
- notification_id: TypeId<"notification">;
7202
+ query?: {
7203
+ organization_id?: TypeId<"organization"> | null;
7729
7204
  };
7205
+ header?: never;
7206
+ path?: never;
7730
7207
  cookie?: never;
7731
7208
  };
7732
7209
  requestBody: {
7733
7210
  content: {
7734
- "application/json": components["schemas"]["NotificationUpdate"];
7211
+ "application/json": components["schemas"]["OrganizationAttributeUpdate"][];
7735
7212
  };
7736
7213
  };
7737
7214
  responses: {
@@ -7741,7 +7218,7 @@ export interface operations {
7741
7218
  [name: string]: unknown;
7742
7219
  };
7743
7220
  content: {
7744
- "application/json": components["schemas"]["Notification"];
7221
+ "application/json": components["schemas"]["OrganizationAttributeResponse"][];
7745
7222
  };
7746
7223
  };
7747
7224
  /** @description Validation Error */
@@ -7755,12 +7232,15 @@ export interface operations {
7755
7232
  };
7756
7233
  };
7757
7234
  };
7758
- delete_notification_v1_notifications__notification_id__delete: {
7235
+ get_attributes_v1_organizations_attributes__organization_id__get: {
7759
7236
  parameters: {
7760
- query?: never;
7237
+ query?: {
7238
+ /** @description Optional list of attribute keys to filter */
7239
+ keys?: string[] | null;
7240
+ };
7761
7241
  header?: never;
7762
7242
  path: {
7763
- notification_id: TypeId<"notification">;
7243
+ organization_id: TypeId<"organization"> | null;
7764
7244
  };
7765
7245
  cookie?: never;
7766
7246
  };
@@ -7772,7 +7252,7 @@ export interface operations {
7772
7252
  [name: string]: unknown;
7773
7253
  };
7774
7254
  content: {
7775
- "application/json": unknown;
7255
+ "application/json": components["schemas"]["OrganizationAttributeResponse"][];
7776
7256
  };
7777
7257
  };
7778
7258
  /** @description Validation Error */
@@ -7786,16 +7266,20 @@ export interface operations {
7786
7266
  };
7787
7267
  };
7788
7268
  };
7789
- update_notification_read_v1_notifications__notification_id__read_patch: {
7269
+ update_attributes_v1_organizations_attributes__organization_id__patch: {
7790
7270
  parameters: {
7791
7271
  query?: never;
7792
7272
  header?: never;
7793
7273
  path: {
7794
- notification_id: TypeId<"notification">;
7274
+ organization_id: TypeId<"organization"> | null;
7795
7275
  };
7796
7276
  cookie?: never;
7797
7277
  };
7798
- requestBody?: never;
7278
+ requestBody: {
7279
+ content: {
7280
+ "application/json": components["schemas"]["OrganizationAttributeUpdate"][];
7281
+ };
7282
+ };
7799
7283
  responses: {
7800
7284
  /** @description Successful Response */
7801
7285
  200: {
@@ -7803,7 +7287,7 @@ export interface operations {
7803
7287
  [name: string]: unknown;
7804
7288
  };
7805
7289
  content: {
7806
- "application/json": unknown;
7290
+ "application/json": components["schemas"]["OrganizationAttributeResponse"][];
7807
7291
  };
7808
7292
  };
7809
7293
  /** @description Validation Error */
@@ -7817,12 +7301,9 @@ export interface operations {
7817
7301
  };
7818
7302
  };
7819
7303
  };
7820
- list_organizations_v1_organizations_get: {
7304
+ list_ip_restrictions_v1_organizations_ip_restrictions_get: {
7821
7305
  parameters: {
7822
- query?: {
7823
- page?: number;
7824
- page_size?: number;
7825
- };
7306
+ query?: never;
7826
7307
  header?: never;
7827
7308
  path?: never;
7828
7309
  cookie?: never;
@@ -7835,21 +7316,12 @@ export interface operations {
7835
7316
  [name: string]: unknown;
7836
7317
  };
7837
7318
  content: {
7838
- "application/json": components["schemas"]["Pagination_Organization_"];
7839
- };
7840
- };
7841
- /** @description Validation Error */
7842
- 422: {
7843
- headers: {
7844
- [name: string]: unknown;
7845
- };
7846
- content: {
7847
- "application/problem+json": components["schemas"]["HTTPValidationError"];
7319
+ "application/json": components["schemas"]["IpRestrictionResponse"][];
7848
7320
  };
7849
7321
  };
7850
7322
  };
7851
7323
  };
7852
- create_organization_v1_organizations_post: {
7324
+ create_ip_restriction_v1_organizations_ip_restrictions_post: {
7853
7325
  parameters: {
7854
7326
  query?: never;
7855
7327
  header?: never;
@@ -7858,7 +7330,7 @@ export interface operations {
7858
7330
  };
7859
7331
  requestBody: {
7860
7332
  content: {
7861
- "application/json": components["schemas"]["OrganizationCreate"];
7333
+ "application/json": components["schemas"]["IpRestrictionCreate"];
7862
7334
  };
7863
7335
  };
7864
7336
  responses: {
@@ -7868,7 +7340,7 @@ export interface operations {
7868
7340
  [name: string]: unknown;
7869
7341
  };
7870
7342
  content: {
7871
- "application/json": components["schemas"]["Organization"];
7343
+ "application/json": components["schemas"]["IpRestrictionResponse"];
7872
7344
  };
7873
7345
  };
7874
7346
  /** @description Validation Error */
@@ -7882,15 +7354,13 @@ export interface operations {
7882
7354
  };
7883
7355
  };
7884
7356
  };
7885
- get_attributes_v1_organizations_attributes_get: {
7357
+ get_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__get: {
7886
7358
  parameters: {
7887
- query?: {
7888
- organization_id?: TypeId<"organization"> | null;
7889
- /** @description Optional list of attribute keys to filter */
7890
- keys?: string[] | null;
7891
- };
7359
+ query?: never;
7892
7360
  header?: never;
7893
- path?: never;
7361
+ path: {
7362
+ ip_restriction_id: number;
7363
+ };
7894
7364
  cookie?: never;
7895
7365
  };
7896
7366
  requestBody?: never;
@@ -7901,7 +7371,7 @@ export interface operations {
7901
7371
  [name: string]: unknown;
7902
7372
  };
7903
7373
  content: {
7904
- "application/json": components["schemas"]["OrganizationAttributeResponse"][];
7374
+ "application/json": components["schemas"]["IpRestrictionResponse"];
7905
7375
  };
7906
7376
  };
7907
7377
  /** @description Validation Error */
@@ -7915,29 +7385,23 @@ export interface operations {
7915
7385
  };
7916
7386
  };
7917
7387
  };
7918
- update_attributes_v1_organizations_attributes_patch: {
7388
+ delete_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__delete: {
7919
7389
  parameters: {
7920
- query?: {
7921
- organization_id?: TypeId<"organization"> | null;
7922
- };
7390
+ query?: never;
7923
7391
  header?: never;
7924
- path?: never;
7925
- cookie?: never;
7926
- };
7927
- requestBody: {
7928
- content: {
7929
- "application/json": components["schemas"]["OrganizationAttributeUpdate"][];
7392
+ path: {
7393
+ ip_restriction_id: number;
7930
7394
  };
7395
+ cookie?: never;
7931
7396
  };
7397
+ requestBody?: never;
7932
7398
  responses: {
7933
7399
  /** @description Successful Response */
7934
- 200: {
7400
+ 204: {
7935
7401
  headers: {
7936
7402
  [name: string]: unknown;
7937
7403
  };
7938
- content: {
7939
- "application/json": components["schemas"]["OrganizationAttributeResponse"][];
7940
- };
7404
+ content?: never;
7941
7405
  };
7942
7406
  /** @description Validation Error */
7943
7407
  422: {
@@ -7950,19 +7414,20 @@ export interface operations {
7950
7414
  };
7951
7415
  };
7952
7416
  };
7953
- get_attributes_v1_organizations_attributes__organization_id__get: {
7417
+ update_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__patch: {
7954
7418
  parameters: {
7955
- query?: {
7956
- /** @description Optional list of attribute keys to filter */
7957
- keys?: string[] | null;
7958
- };
7419
+ query?: never;
7959
7420
  header?: never;
7960
7421
  path: {
7961
- organization_id: TypeId<"organization"> | null;
7422
+ ip_restriction_id: number;
7962
7423
  };
7963
7424
  cookie?: never;
7964
7425
  };
7965
- requestBody?: never;
7426
+ requestBody: {
7427
+ content: {
7428
+ "application/json": components["schemas"]["IpRestrictionUpdate"];
7429
+ };
7430
+ };
7966
7431
  responses: {
7967
7432
  /** @description Successful Response */
7968
7433
  200: {
@@ -7970,7 +7435,7 @@ export interface operations {
7970
7435
  [name: string]: unknown;
7971
7436
  };
7972
7437
  content: {
7973
- "application/json": components["schemas"]["OrganizationAttributeResponse"][];
7438
+ "application/json": components["schemas"]["IpRestrictionResponse"];
7974
7439
  };
7975
7440
  };
7976
7441
  /** @description Validation Error */
@@ -7984,20 +7449,14 @@ export interface operations {
7984
7449
  };
7985
7450
  };
7986
7451
  };
7987
- update_attributes_v1_organizations_attributes__organization_id__patch: {
7452
+ list_roles_v1_organizations_roles_get: {
7988
7453
  parameters: {
7989
7454
  query?: never;
7990
7455
  header?: never;
7991
- path: {
7992
- organization_id: TypeId<"organization"> | null;
7993
- };
7456
+ path?: never;
7994
7457
  cookie?: never;
7995
7458
  };
7996
- requestBody: {
7997
- content: {
7998
- "application/json": components["schemas"]["OrganizationAttributeUpdate"][];
7999
- };
8000
- };
7459
+ requestBody?: never;
8001
7460
  responses: {
8002
7461
  /** @description Successful Response */
8003
7462
  200: {
@@ -8005,184 +7464,7 @@ export interface operations {
8005
7464
  [name: string]: unknown;
8006
7465
  };
8007
7466
  content: {
8008
- "application/json": components["schemas"]["OrganizationAttributeResponse"][];
8009
- };
8010
- };
8011
- /** @description Validation Error */
8012
- 422: {
8013
- headers: {
8014
- [name: string]: unknown;
8015
- };
8016
- content: {
8017
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8018
- };
8019
- };
8020
- };
8021
- };
8022
- list_ip_restrictions_v1_organizations_ip_restrictions_get: {
8023
- parameters: {
8024
- query?: never;
8025
- header?: never;
8026
- path?: never;
8027
- cookie?: never;
8028
- };
8029
- requestBody?: never;
8030
- responses: {
8031
- /** @description Successful Response */
8032
- 200: {
8033
- headers: {
8034
- [name: string]: unknown;
8035
- };
8036
- content: {
8037
- "application/json": components["schemas"]["IpRestrictionResponse"][];
8038
- };
8039
- };
8040
- };
8041
- };
8042
- create_ip_restriction_v1_organizations_ip_restrictions_post: {
8043
- parameters: {
8044
- query?: never;
8045
- header?: never;
8046
- path?: never;
8047
- cookie?: never;
8048
- };
8049
- requestBody: {
8050
- content: {
8051
- "application/json": components["schemas"]["IpRestrictionCreate"];
8052
- };
8053
- };
8054
- responses: {
8055
- /** @description Successful Response */
8056
- 200: {
8057
- headers: {
8058
- [name: string]: unknown;
8059
- };
8060
- content: {
8061
- "application/json": components["schemas"]["IpRestrictionResponse"];
8062
- };
8063
- };
8064
- /** @description Validation Error */
8065
- 422: {
8066
- headers: {
8067
- [name: string]: unknown;
8068
- };
8069
- content: {
8070
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8071
- };
8072
- };
8073
- };
8074
- };
8075
- get_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__get: {
8076
- parameters: {
8077
- query?: never;
8078
- header?: never;
8079
- path: {
8080
- ip_restriction_id: number;
8081
- };
8082
- cookie?: never;
8083
- };
8084
- requestBody?: never;
8085
- responses: {
8086
- /** @description Successful Response */
8087
- 200: {
8088
- headers: {
8089
- [name: string]: unknown;
8090
- };
8091
- content: {
8092
- "application/json": components["schemas"]["IpRestrictionResponse"];
8093
- };
8094
- };
8095
- /** @description Validation Error */
8096
- 422: {
8097
- headers: {
8098
- [name: string]: unknown;
8099
- };
8100
- content: {
8101
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8102
- };
8103
- };
8104
- };
8105
- };
8106
- delete_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__delete: {
8107
- parameters: {
8108
- query?: never;
8109
- header?: never;
8110
- path: {
8111
- ip_restriction_id: number;
8112
- };
8113
- cookie?: never;
8114
- };
8115
- requestBody?: never;
8116
- responses: {
8117
- /** @description Successful Response */
8118
- 204: {
8119
- headers: {
8120
- [name: string]: unknown;
8121
- };
8122
- content?: never;
8123
- };
8124
- /** @description Validation Error */
8125
- 422: {
8126
- headers: {
8127
- [name: string]: unknown;
8128
- };
8129
- content: {
8130
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8131
- };
8132
- };
8133
- };
8134
- };
8135
- update_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__patch: {
8136
- parameters: {
8137
- query?: never;
8138
- header?: never;
8139
- path: {
8140
- ip_restriction_id: number;
8141
- };
8142
- cookie?: never;
8143
- };
8144
- requestBody: {
8145
- content: {
8146
- "application/json": components["schemas"]["IpRestrictionUpdate"];
8147
- };
8148
- };
8149
- responses: {
8150
- /** @description Successful Response */
8151
- 200: {
8152
- headers: {
8153
- [name: string]: unknown;
8154
- };
8155
- content: {
8156
- "application/json": components["schemas"]["IpRestrictionResponse"];
8157
- };
8158
- };
8159
- /** @description Validation Error */
8160
- 422: {
8161
- headers: {
8162
- [name: string]: unknown;
8163
- };
8164
- content: {
8165
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8166
- };
8167
- };
8168
- };
8169
- };
8170
- list_roles_v1_organizations_roles_get: {
8171
- parameters: {
8172
- query?: never;
8173
- header?: never;
8174
- path?: never;
8175
- cookie?: never;
8176
- };
8177
- requestBody?: never;
8178
- responses: {
8179
- /** @description Successful Response */
8180
- 200: {
8181
- headers: {
8182
- [name: string]: unknown;
8183
- };
8184
- content: {
8185
- "application/json": unknown;
7467
+ "application/json": unknown;
8186
7468
  };
8187
7469
  };
8188
7470
  };
@@ -8515,26 +7797,24 @@ export interface operations {
8515
7797
  };
8516
7798
  };
8517
7799
  };
8518
- create_user_password_reset_v1_users_email_password_reset_post: {
7800
+ get_current_user_v1_users_me_get: {
8519
7801
  parameters: {
8520
- query?: never;
7802
+ query?: {
7803
+ attributes?: string[] | null;
7804
+ };
8521
7805
  header?: never;
8522
7806
  path?: never;
8523
7807
  cookie?: never;
8524
7808
  };
8525
- requestBody: {
8526
- content: {
8527
- "application/json": components["schemas"]["StartPasswordReset"];
8528
- };
8529
- };
7809
+ requestBody?: never;
8530
7810
  responses: {
8531
7811
  /** @description Successful Response */
8532
- 201: {
7812
+ 200: {
8533
7813
  headers: {
8534
7814
  [name: string]: unknown;
8535
7815
  };
8536
7816
  content: {
8537
- "application/json": components["schemas"]["UserPasswordResetEmailResponse"];
7817
+ "application/json": components["schemas"]["UserWithRelationPermissions"];
8538
7818
  };
8539
7819
  };
8540
7820
  /** @description Validation Error */
@@ -8548,24 +7828,40 @@ export interface operations {
8548
7828
  };
8549
7829
  };
8550
7830
  };
8551
- redirect_verify_user_v1_users_email_verify_get: {
7831
+ confirm_user_password_reset_me_v1_users_me_password_reset_patch: {
8552
7832
  parameters: {
8553
- query: {
8554
- token: string;
8555
- };
7833
+ query?: never;
8556
7834
  header?: never;
8557
7835
  path?: never;
8558
7836
  cookie?: never;
8559
7837
  };
8560
- requestBody?: never;
7838
+ requestBody: {
7839
+ content: {
7840
+ "application/json": components["schemas"]["PasswordUpdate"];
7841
+ };
7842
+ };
8561
7843
  responses: {
8562
7844
  /** @description Successful Response */
8563
- 200: {
7845
+ 204: {
7846
+ headers: {
7847
+ [name: string]: unknown;
7848
+ };
7849
+ content?: never;
7850
+ };
7851
+ /** @description Unauthorized */
7852
+ 401: {
8564
7853
  headers: {
8565
7854
  [name: string]: unknown;
8566
7855
  };
8567
7856
  content: {
8568
- "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"];
8569
7865
  };
8570
7866
  };
8571
7867
  /** @description Validation Error */
@@ -8579,13 +7875,15 @@ export interface operations {
8579
7875
  };
8580
7876
  };
8581
7877
  };
8582
- get_current_user_v1_users_me_get: {
7878
+ get_user_v1_users__user_id__get: {
8583
7879
  parameters: {
8584
7880
  query?: {
8585
7881
  attributes?: string[] | null;
8586
7882
  };
8587
7883
  header?: never;
8588
- path?: never;
7884
+ path: {
7885
+ user_id: TypeId<"user">;
7886
+ };
8589
7887
  cookie?: never;
8590
7888
  };
8591
7889
  requestBody?: never;
@@ -8596,7 +7894,7 @@ export interface operations {
8596
7894
  [name: string]: unknown;
8597
7895
  };
8598
7896
  content: {
8599
- "application/json": components["schemas"]["UserWithRelationPermissions"];
7897
+ "application/json": components["schemas"]["UserWithAttributes"];
8600
7898
  };
8601
7899
  };
8602
7900
  /** @description Validation Error */
@@ -8610,18 +7908,16 @@ export interface operations {
8610
7908
  };
8611
7909
  };
8612
7910
  };
8613
- confirm_user_password_reset_me_v1_users_me_password_reset_patch: {
7911
+ delete_user_v1_users__user_id__delete: {
8614
7912
  parameters: {
8615
7913
  query?: never;
8616
7914
  header?: never;
8617
- path?: never;
8618
- cookie?: never;
8619
- };
8620
- requestBody: {
8621
- content: {
8622
- "application/json": components["schemas"]["PasswordUpdate"];
7915
+ path: {
7916
+ user_id: TypeId<"user">;
8623
7917
  };
7918
+ cookie?: never;
8624
7919
  };
7920
+ requestBody?: never;
8625
7921
  responses: {
8626
7922
  /** @description Successful Response */
8627
7923
  204: {
@@ -8630,18 +7926,18 @@ export interface operations {
8630
7926
  };
8631
7927
  content?: never;
8632
7928
  };
8633
- /** @description Unauthorized */
8634
- 401: {
7929
+ /** @description Conflict */
7930
+ 409: {
8635
7931
  headers: {
8636
7932
  [name: string]: unknown;
8637
7933
  };
8638
7934
  content: {
8639
7935
  /** @example {
8640
- * "code": "ERROR_AUTHENTICATION",
8641
- * "detail": "Additional error context.",
8642
- * "status": 401,
8643
- * "title": "Authentication Error",
8644
- * "type": "authentication"
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"
8645
7941
  * } */
8646
7942
  "application/problem+json": components["schemas"]["Problem"];
8647
7943
  };
@@ -8657,270 +7953,7 @@ export interface operations {
8657
7953
  };
8658
7954
  };
8659
7955
  };
8660
- get_verification_status_me_v1_users_me_verification_get: {
8661
- parameters: {
8662
- query?: never;
8663
- header?: never;
8664
- path?: never;
8665
- cookie?: never;
8666
- };
8667
- requestBody?: never;
8668
- responses: {
8669
- /** @description Successful Response */
8670
- 200: {
8671
- headers: {
8672
- [name: string]: unknown;
8673
- };
8674
- content: {
8675
- "application/json": components["schemas"]["UserVerificationResponse"];
8676
- };
8677
- };
8678
- /** @description Unauthorized */
8679
- 401: {
8680
- headers: {
8681
- [name: string]: unknown;
8682
- };
8683
- content: {
8684
- /** @example {
8685
- * "code": "ERROR_AUTHENTICATION",
8686
- * "detail": "Additional error context.",
8687
- * "status": 401,
8688
- * "title": "Authentication Error",
8689
- * "type": "authentication"
8690
- * } */
8691
- "application/problem+json": components["schemas"]["Problem"];
8692
- };
8693
- };
8694
- };
8695
- };
8696
- create_verification_me_v1_users_me_verification_post: {
8697
- parameters: {
8698
- query: {
8699
- type: components["schemas"]["VerificationType"];
8700
- };
8701
- header?: never;
8702
- path?: never;
8703
- cookie?: never;
8704
- };
8705
- requestBody?: never;
8706
- responses: {
8707
- /** @description Successful Response */
8708
- 201: {
8709
- headers: {
8710
- [name: string]: unknown;
8711
- };
8712
- content: {
8713
- "application/json": components["schemas"]["UserVerificationEmailResponse"] | components["schemas"]["UserVerificationApiResponse"];
8714
- };
8715
- };
8716
- /** @description Unauthorized */
8717
- 401: {
8718
- headers: {
8719
- [name: string]: unknown;
8720
- };
8721
- content: {
8722
- /** @example {
8723
- * "code": "ERROR_AUTHENTICATION",
8724
- * "detail": "Additional error context.",
8725
- * "status": 401,
8726
- * "title": "Authentication Error",
8727
- * "type": "authentication"
8728
- * } */
8729
- "application/problem+json": components["schemas"]["Problem"];
8730
- };
8731
- };
8732
- /** @description Not Found */
8733
- 404: {
8734
- headers: {
8735
- [name: string]: unknown;
8736
- };
8737
- content: {
8738
- /** @example {
8739
- * "code": "ERROR_USER_NOT_FOUND",
8740
- * "detail": "Additional error context.",
8741
- * "status": 404,
8742
- * "title": "User Management Error",
8743
- * "type": "user-not-found"
8744
- * } */
8745
- "application/problem+json": components["schemas"]["Problem"];
8746
- };
8747
- };
8748
- /** @description Method Not Allowed */
8749
- 405: {
8750
- headers: {
8751
- [name: string]: unknown;
8752
- };
8753
- content: {
8754
- /** @example {
8755
- * "code": "ERROR_USER_VERIFICATION_INVALID_TYPE",
8756
- * "detail": "Invalid verification type: Additional error context.",
8757
- * "status": 405,
8758
- * "title": "User Management Error",
8759
- * "type": "user-verification-type-invalid"
8760
- * } */
8761
- "application/problem+json": components["schemas"]["Problem"];
8762
- };
8763
- };
8764
- /** @description Validation Error */
8765
- 422: {
8766
- headers: {
8767
- [name: string]: unknown;
8768
- };
8769
- content: {
8770
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8771
- };
8772
- };
8773
- };
8774
- };
8775
- update_verification_me_v1_users_me_verification_patch: {
8776
- parameters: {
8777
- query: {
8778
- token: string;
8779
- };
8780
- header?: never;
8781
- path?: never;
8782
- cookie?: never;
8783
- };
8784
- requestBody?: never;
8785
- responses: {
8786
- /** @description Successful Response */
8787
- 204: {
8788
- headers: {
8789
- [name: string]: unknown;
8790
- };
8791
- content?: never;
8792
- };
8793
- /** @description Bad Request */
8794
- 400: {
8795
- headers: {
8796
- [name: string]: unknown;
8797
- };
8798
- content: {
8799
- "application/problem+json": components["schemas"]["Problem"];
8800
- };
8801
- };
8802
- /** @description Unauthorized */
8803
- 401: {
8804
- headers: {
8805
- [name: string]: unknown;
8806
- };
8807
- content: {
8808
- /** @example {
8809
- * "code": "ERROR_AUTHENTICATION",
8810
- * "detail": "Additional error context.",
8811
- * "status": 401,
8812
- * "title": "Authentication Error",
8813
- * "type": "authentication"
8814
- * } */
8815
- "application/problem+json": components["schemas"]["Problem"];
8816
- };
8817
- };
8818
- /** @description Not Found */
8819
- 404: {
8820
- headers: {
8821
- [name: string]: unknown;
8822
- };
8823
- content: {
8824
- /** @example {
8825
- * "code": "ERROR_USER_VERIFICATION_NOT_FOUND",
8826
- * "detail": "No user verification found for user: user_id=Additional error context.",
8827
- * "status": 404,
8828
- * "title": "User Management Error",
8829
- * "type": "user-verification-not-found"
8830
- * } */
8831
- "application/problem+json": components["schemas"]["Problem"];
8832
- };
8833
- };
8834
- /** @description Validation Error */
8835
- 422: {
8836
- headers: {
8837
- [name: string]: unknown;
8838
- };
8839
- content: {
8840
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8841
- };
8842
- };
8843
- };
8844
- };
8845
- get_user_v1_users__user_id__get: {
8846
- parameters: {
8847
- query?: {
8848
- attributes?: string[] | null;
8849
- };
8850
- header?: never;
8851
- path: {
8852
- user_id: TypeId<"user">;
8853
- };
8854
- cookie?: never;
8855
- };
8856
- requestBody?: never;
8857
- responses: {
8858
- /** @description Successful Response */
8859
- 200: {
8860
- headers: {
8861
- [name: string]: unknown;
8862
- };
8863
- content: {
8864
- "application/json": components["schemas"]["UserWithAttributes"];
8865
- };
8866
- };
8867
- /** @description Validation Error */
8868
- 422: {
8869
- headers: {
8870
- [name: string]: unknown;
8871
- };
8872
- content: {
8873
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8874
- };
8875
- };
8876
- };
8877
- };
8878
- delete_user_v1_users__user_id__delete: {
8879
- parameters: {
8880
- query?: never;
8881
- header?: never;
8882
- path: {
8883
- user_id: TypeId<"user">;
8884
- };
8885
- cookie?: never;
8886
- };
8887
- requestBody?: never;
8888
- responses: {
8889
- /** @description Successful Response */
8890
- 204: {
8891
- headers: {
8892
- [name: string]: unknown;
8893
- };
8894
- content?: never;
8895
- };
8896
- /** @description Conflict */
8897
- 409: {
8898
- headers: {
8899
- [name: string]: unknown;
8900
- };
8901
- content: {
8902
- /** @example {
8903
- * "code": "ERROR_USER_IS_LAST_ADMIN",
8904
- * "detail": "User is the last admin for the organization",
8905
- * "status": 409,
8906
- * "title": "User Management Error",
8907
- * "type": "user-is-last-admin"
8908
- * } */
8909
- "application/problem+json": components["schemas"]["Problem"];
8910
- };
8911
- };
8912
- /** @description Validation Error */
8913
- 422: {
8914
- headers: {
8915
- [name: string]: unknown;
8916
- };
8917
- content: {
8918
- "application/problem+json": components["schemas"]["HTTPValidationError"];
8919
- };
8920
- };
8921
- };
8922
- };
8923
- update_user_v1_users__user_id__patch: {
7956
+ update_user_v1_users__user_id__patch: {
8924
7957
  parameters: {
8925
7958
  query?: never;
8926
7959
  header?: never;
@@ -9052,204 +8085,4 @@ export interface operations {
9052
8085
  };
9053
8086
  };
9054
8087
  };
9055
- get_verification_status_v1_users__user_id__verification_get: {
9056
- parameters: {
9057
- query?: never;
9058
- header?: never;
9059
- path: {
9060
- user_id: TypeId<"user">;
9061
- };
9062
- cookie?: never;
9063
- };
9064
- requestBody?: never;
9065
- responses: {
9066
- /** @description Successful Response */
9067
- 200: {
9068
- headers: {
9069
- [name: string]: unknown;
9070
- };
9071
- content: {
9072
- "application/json": components["schemas"]["UserVerificationResponse"];
9073
- };
9074
- };
9075
- /** @description Unauthorized */
9076
- 401: {
9077
- headers: {
9078
- [name: string]: unknown;
9079
- };
9080
- content: {
9081
- /** @example {
9082
- * "code": "ERROR_AUTHENTICATION",
9083
- * "detail": "Additional error context.",
9084
- * "status": 401,
9085
- * "title": "Authentication Error",
9086
- * "type": "authentication"
9087
- * } */
9088
- "application/problem+json": components["schemas"]["Problem"];
9089
- };
9090
- };
9091
- /** @description Validation Error */
9092
- 422: {
9093
- headers: {
9094
- [name: string]: unknown;
9095
- };
9096
- content: {
9097
- "application/problem+json": components["schemas"]["HTTPValidationError"];
9098
- };
9099
- };
9100
- };
9101
- };
9102
- create_verification_v1_users__user_id__verification_post: {
9103
- parameters: {
9104
- query: {
9105
- type: components["schemas"]["VerificationType"];
9106
- };
9107
- header?: never;
9108
- path: {
9109
- user_id: TypeId<"user">;
9110
- };
9111
- cookie?: never;
9112
- };
9113
- requestBody?: never;
9114
- responses: {
9115
- /** @description Successful Response */
9116
- 201: {
9117
- headers: {
9118
- [name: string]: unknown;
9119
- };
9120
- content: {
9121
- "application/json": components["schemas"]["UserVerificationEmailResponse"] | components["schemas"]["UserVerificationApiResponse"];
9122
- };
9123
- };
9124
- /** @description Unauthorized */
9125
- 401: {
9126
- headers: {
9127
- [name: string]: unknown;
9128
- };
9129
- content: {
9130
- /** @example {
9131
- * "code": "ERROR_AUTHENTICATION",
9132
- * "detail": "Additional error context.",
9133
- * "status": 401,
9134
- * "title": "Authentication Error",
9135
- * "type": "authentication"
9136
- * } */
9137
- "application/problem+json": components["schemas"]["Problem"];
9138
- };
9139
- };
9140
- /** @description Not Found */
9141
- 404: {
9142
- headers: {
9143
- [name: string]: unknown;
9144
- };
9145
- content: {
9146
- /** @example {
9147
- * "code": "ERROR_USER_NOT_FOUND",
9148
- * "detail": "Additional error context.",
9149
- * "status": 404,
9150
- * "title": "User Management Error",
9151
- * "type": "user-not-found"
9152
- * } */
9153
- "application/problem+json": components["schemas"]["Problem"];
9154
- };
9155
- };
9156
- /** @description Method Not Allowed */
9157
- 405: {
9158
- headers: {
9159
- [name: string]: unknown;
9160
- };
9161
- content: {
9162
- /** @example {
9163
- * "code": "ERROR_USER_VERIFICATION_INVALID_TYPE",
9164
- * "detail": "Invalid verification type: Additional error context.",
9165
- * "status": 405,
9166
- * "title": "User Management Error",
9167
- * "type": "user-verification-type-invalid"
9168
- * } */
9169
- "application/problem+json": components["schemas"]["Problem"];
9170
- };
9171
- };
9172
- /** @description Validation Error */
9173
- 422: {
9174
- headers: {
9175
- [name: string]: unknown;
9176
- };
9177
- content: {
9178
- "application/problem+json": components["schemas"]["HTTPValidationError"];
9179
- };
9180
- };
9181
- };
9182
- };
9183
- update_verification_v1_users__user_id__verification_patch: {
9184
- parameters: {
9185
- query: {
9186
- token: string;
9187
- };
9188
- header?: never;
9189
- path: {
9190
- user_id: TypeId<"user">;
9191
- };
9192
- cookie?: never;
9193
- };
9194
- requestBody?: never;
9195
- responses: {
9196
- /** @description Successful Response */
9197
- 204: {
9198
- headers: {
9199
- [name: string]: unknown;
9200
- };
9201
- content?: never;
9202
- };
9203
- /** @description Bad Request */
9204
- 400: {
9205
- headers: {
9206
- [name: string]: unknown;
9207
- };
9208
- content: {
9209
- "application/problem+json": components["schemas"]["Problem"];
9210
- };
9211
- };
9212
- /** @description Unauthorized */
9213
- 401: {
9214
- headers: {
9215
- [name: string]: unknown;
9216
- };
9217
- content: {
9218
- /** @example {
9219
- * "code": "ERROR_AUTHENTICATION",
9220
- * "detail": "Additional error context.",
9221
- * "status": 401,
9222
- * "title": "Authentication Error",
9223
- * "type": "authentication"
9224
- * } */
9225
- "application/problem+json": components["schemas"]["Problem"];
9226
- };
9227
- };
9228
- /** @description Not Found */
9229
- 404: {
9230
- headers: {
9231
- [name: string]: unknown;
9232
- };
9233
- content: {
9234
- /** @example {
9235
- * "code": "ERROR_USER_VERIFICATION_NOT_FOUND",
9236
- * "detail": "No user verification found for user: user_id=Additional error context.",
9237
- * "status": 404,
9238
- * "title": "User Management Error",
9239
- * "type": "user-verification-not-found"
9240
- * } */
9241
- "application/problem+json": components["schemas"]["Problem"];
9242
- };
9243
- };
9244
- /** @description Validation Error */
9245
- 422: {
9246
- headers: {
9247
- [name: string]: unknown;
9248
- };
9249
- content: {
9250
- "application/problem+json": components["schemas"]["HTTPValidationError"];
9251
- };
9252
- };
9253
- };
9254
- };
9255
8088
  }