@opusdns/api 0.55.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helpers/keys.ts +26 -838
- package/src/helpers/requests.d.ts +1 -315
- package/src/helpers/responses.d.ts +1 -585
- package/src/helpers/schemas.d.ts +0 -80
- package/src/openapi.yaml +39 -628
- package/src/schema.d.ts +47 -717
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 {
|
|
@@ -1238,6 +1166,11 @@ export interface components {
|
|
|
1238
1166
|
* @description Billing plan ID for the organization.
|
|
1239
1167
|
*/
|
|
1240
1168
|
plan_id?: string | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* Plan Level
|
|
1171
|
+
* @description Plan level such as 'basic', 'premium' or 'enterprise'.
|
|
1172
|
+
*/
|
|
1173
|
+
plan_level?: string | null;
|
|
1241
1174
|
/**
|
|
1242
1175
|
* Type
|
|
1243
1176
|
* @description Plan type or billing interval.
|
|
@@ -3780,14 +3713,6 @@ export interface components {
|
|
|
3780
3713
|
/** Remove */
|
|
3781
3714
|
remove?: components["schemas"]["Relation"][] | null;
|
|
3782
3715
|
};
|
|
3783
|
-
/** StartPasswordReset */
|
|
3784
|
-
StartPasswordReset: {
|
|
3785
|
-
/**
|
|
3786
|
-
* Email
|
|
3787
|
-
* Format: email
|
|
3788
|
-
*/
|
|
3789
|
-
email: string;
|
|
3790
|
-
};
|
|
3791
3716
|
/**
|
|
3792
3717
|
* SyncOperationType
|
|
3793
3718
|
* @enum {string}
|
|
@@ -4096,15 +4021,6 @@ export interface components {
|
|
|
4096
4021
|
*/
|
|
4097
4022
|
username: string;
|
|
4098
4023
|
};
|
|
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
4024
|
/**
|
|
4109
4025
|
* UserStatus
|
|
4110
4026
|
* @enum {string}
|
|
@@ -4164,143 +4080,6 @@ export interface components {
|
|
|
4164
4080
|
*/
|
|
4165
4081
|
username?: string | null;
|
|
4166
4082
|
};
|
|
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
4083
|
/** UserWithAttributes */
|
|
4305
4084
|
UserWithAttributes: {
|
|
4306
4085
|
/**
|
|
@@ -8023,26 +7802,24 @@ export interface operations {
|
|
|
8023
7802
|
};
|
|
8024
7803
|
};
|
|
8025
7804
|
};
|
|
8026
|
-
|
|
7805
|
+
get_current_user_v1_users_me_get: {
|
|
8027
7806
|
parameters: {
|
|
8028
|
-
query?:
|
|
7807
|
+
query?: {
|
|
7808
|
+
attributes?: string[] | null;
|
|
7809
|
+
};
|
|
8029
7810
|
header?: never;
|
|
8030
7811
|
path?: never;
|
|
8031
7812
|
cookie?: never;
|
|
8032
7813
|
};
|
|
8033
|
-
requestBody
|
|
8034
|
-
content: {
|
|
8035
|
-
"application/json": components["schemas"]["StartPasswordReset"];
|
|
8036
|
-
};
|
|
8037
|
-
};
|
|
7814
|
+
requestBody?: never;
|
|
8038
7815
|
responses: {
|
|
8039
7816
|
/** @description Successful Response */
|
|
8040
|
-
|
|
7817
|
+
200: {
|
|
8041
7818
|
headers: {
|
|
8042
7819
|
[name: string]: unknown;
|
|
8043
7820
|
};
|
|
8044
7821
|
content: {
|
|
8045
|
-
"application/json": components["schemas"]["
|
|
7822
|
+
"application/json": components["schemas"]["UserWithRelationPermissions"];
|
|
8046
7823
|
};
|
|
8047
7824
|
};
|
|
8048
7825
|
/** @description Validation Error */
|
|
@@ -8056,24 +7833,40 @@ export interface operations {
|
|
|
8056
7833
|
};
|
|
8057
7834
|
};
|
|
8058
7835
|
};
|
|
8059
|
-
|
|
7836
|
+
confirm_user_password_reset_me_v1_users_me_password_reset_patch: {
|
|
8060
7837
|
parameters: {
|
|
8061
|
-
query
|
|
8062
|
-
token: string;
|
|
8063
|
-
};
|
|
7838
|
+
query?: never;
|
|
8064
7839
|
header?: never;
|
|
8065
7840
|
path?: never;
|
|
8066
7841
|
cookie?: never;
|
|
8067
7842
|
};
|
|
8068
|
-
requestBody
|
|
7843
|
+
requestBody: {
|
|
7844
|
+
content: {
|
|
7845
|
+
"application/json": components["schemas"]["PasswordUpdate"];
|
|
7846
|
+
};
|
|
7847
|
+
};
|
|
8069
7848
|
responses: {
|
|
8070
7849
|
/** @description Successful Response */
|
|
8071
|
-
|
|
7850
|
+
204: {
|
|
7851
|
+
headers: {
|
|
7852
|
+
[name: string]: unknown;
|
|
7853
|
+
};
|
|
7854
|
+
content?: never;
|
|
7855
|
+
};
|
|
7856
|
+
/** @description Unauthorized */
|
|
7857
|
+
401: {
|
|
8072
7858
|
headers: {
|
|
8073
7859
|
[name: string]: unknown;
|
|
8074
7860
|
};
|
|
8075
7861
|
content: {
|
|
8076
|
-
|
|
7862
|
+
/** @example {
|
|
7863
|
+
* "code": "ERROR_AUTHENTICATION",
|
|
7864
|
+
* "detail": "Additional error context.",
|
|
7865
|
+
* "status": 401,
|
|
7866
|
+
* "title": "Authentication Error",
|
|
7867
|
+
* "type": "authentication"
|
|
7868
|
+
* } */
|
|
7869
|
+
"application/problem+json": components["schemas"]["Problem"];
|
|
8077
7870
|
};
|
|
8078
7871
|
};
|
|
8079
7872
|
/** @description Validation Error */
|
|
@@ -8087,13 +7880,15 @@ export interface operations {
|
|
|
8087
7880
|
};
|
|
8088
7881
|
};
|
|
8089
7882
|
};
|
|
8090
|
-
|
|
7883
|
+
get_user_v1_users__user_id__get: {
|
|
8091
7884
|
parameters: {
|
|
8092
7885
|
query?: {
|
|
8093
7886
|
attributes?: string[] | null;
|
|
8094
7887
|
};
|
|
8095
7888
|
header?: never;
|
|
8096
|
-
path
|
|
7889
|
+
path: {
|
|
7890
|
+
user_id: TypeId<"user">;
|
|
7891
|
+
};
|
|
8097
7892
|
cookie?: never;
|
|
8098
7893
|
};
|
|
8099
7894
|
requestBody?: never;
|
|
@@ -8104,7 +7899,7 @@ export interface operations {
|
|
|
8104
7899
|
[name: string]: unknown;
|
|
8105
7900
|
};
|
|
8106
7901
|
content: {
|
|
8107
|
-
"application/json": components["schemas"]["
|
|
7902
|
+
"application/json": components["schemas"]["UserWithAttributes"];
|
|
8108
7903
|
};
|
|
8109
7904
|
};
|
|
8110
7905
|
/** @description Validation Error */
|
|
@@ -8118,18 +7913,16 @@ export interface operations {
|
|
|
8118
7913
|
};
|
|
8119
7914
|
};
|
|
8120
7915
|
};
|
|
8121
|
-
|
|
7916
|
+
delete_user_v1_users__user_id__delete: {
|
|
8122
7917
|
parameters: {
|
|
8123
7918
|
query?: never;
|
|
8124
7919
|
header?: never;
|
|
8125
|
-
path
|
|
8126
|
-
|
|
8127
|
-
};
|
|
8128
|
-
requestBody: {
|
|
8129
|
-
content: {
|
|
8130
|
-
"application/json": components["schemas"]["PasswordUpdate"];
|
|
7920
|
+
path: {
|
|
7921
|
+
user_id: TypeId<"user">;
|
|
8131
7922
|
};
|
|
7923
|
+
cookie?: never;
|
|
8132
7924
|
};
|
|
7925
|
+
requestBody?: never;
|
|
8133
7926
|
responses: {
|
|
8134
7927
|
/** @description Successful Response */
|
|
8135
7928
|
204: {
|
|
@@ -8138,271 +7931,8 @@ export interface operations {
|
|
|
8138
7931
|
};
|
|
8139
7932
|
content?: never;
|
|
8140
7933
|
};
|
|
8141
|
-
/** @description
|
|
8142
|
-
|
|
8143
|
-
headers: {
|
|
8144
|
-
[name: string]: unknown;
|
|
8145
|
-
};
|
|
8146
|
-
content: {
|
|
8147
|
-
/** @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: {
|
|
7934
|
+
/** @description Conflict */
|
|
7935
|
+
409: {
|
|
8406
7936
|
headers: {
|
|
8407
7937
|
[name: string]: unknown;
|
|
8408
7938
|
};
|
|
@@ -8560,204 +8090,4 @@ export interface operations {
|
|
|
8560
8090
|
};
|
|
8561
8091
|
};
|
|
8562
8092
|
};
|
|
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
8093
|
}
|