@opusdns/api 1.7.0 → 1.8.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 +65 -32
- package/src/helpers/responses.d.ts +4 -4
- package/src/helpers/schemas.d.ts +3 -2
- package/src/openapi.yaml +103 -8
- package/src/schema.d.ts +76 -7
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -303,9 +303,10 @@ import type {
|
|
|
303
303
|
UserCreate,
|
|
304
304
|
UserPublic,
|
|
305
305
|
UserPublicWithAttributes,
|
|
306
|
+
UserPublicWithRole,
|
|
306
307
|
UserToken,
|
|
307
308
|
UserUpdate,
|
|
308
|
-
|
|
309
|
+
UserWithAuthorization,
|
|
309
310
|
ValidationError,
|
|
310
311
|
VerificationDeadline,
|
|
311
312
|
VerificationRegistrantDetails,
|
|
@@ -4264,6 +4265,36 @@ export const KEYS_USER_PUBLIC_WITH_ATTRIBUTES = [
|
|
|
4264
4265
|
KEY_USER_PUBLIC_WITH_ATTRIBUTES_USERNAME,
|
|
4265
4266
|
] as const satisfies (keyof UserPublicWithAttributes)[];
|
|
4266
4267
|
|
|
4268
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_CREATED_ON = 'created_on' satisfies keyof UserPublicWithRole;
|
|
4269
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_DELETED_ON = 'deleted_on' satisfies keyof UserPublicWithRole;
|
|
4270
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_EMAIL = 'email' satisfies keyof UserPublicWithRole;
|
|
4271
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_FIRST_NAME = 'first_name' satisfies keyof UserPublicWithRole;
|
|
4272
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_LAST_NAME = 'last_name' satisfies keyof UserPublicWithRole;
|
|
4273
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_LOCALE = 'locale' satisfies keyof UserPublicWithRole;
|
|
4274
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_ORGANIZATION_ID = 'organization_id' satisfies keyof UserPublicWithRole;
|
|
4275
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_PHONE = 'phone' satisfies keyof UserPublicWithRole;
|
|
4276
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_ROLE = 'role' satisfies keyof UserPublicWithRole;
|
|
4277
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_STATUS = 'status' satisfies keyof UserPublicWithRole;
|
|
4278
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_UPDATED_ON = 'updated_on' satisfies keyof UserPublicWithRole;
|
|
4279
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_USER_ID = 'user_id' satisfies keyof UserPublicWithRole;
|
|
4280
|
+
export const KEY_USER_PUBLIC_WITH_ROLE_USERNAME = 'username' satisfies keyof UserPublicWithRole;
|
|
4281
|
+
|
|
4282
|
+
export const KEYS_USER_PUBLIC_WITH_ROLE = [
|
|
4283
|
+
KEY_USER_PUBLIC_WITH_ROLE_CREATED_ON,
|
|
4284
|
+
KEY_USER_PUBLIC_WITH_ROLE_DELETED_ON,
|
|
4285
|
+
KEY_USER_PUBLIC_WITH_ROLE_EMAIL,
|
|
4286
|
+
KEY_USER_PUBLIC_WITH_ROLE_FIRST_NAME,
|
|
4287
|
+
KEY_USER_PUBLIC_WITH_ROLE_LAST_NAME,
|
|
4288
|
+
KEY_USER_PUBLIC_WITH_ROLE_LOCALE,
|
|
4289
|
+
KEY_USER_PUBLIC_WITH_ROLE_ORGANIZATION_ID,
|
|
4290
|
+
KEY_USER_PUBLIC_WITH_ROLE_PHONE,
|
|
4291
|
+
KEY_USER_PUBLIC_WITH_ROLE_ROLE,
|
|
4292
|
+
KEY_USER_PUBLIC_WITH_ROLE_STATUS,
|
|
4293
|
+
KEY_USER_PUBLIC_WITH_ROLE_UPDATED_ON,
|
|
4294
|
+
KEY_USER_PUBLIC_WITH_ROLE_USER_ID,
|
|
4295
|
+
KEY_USER_PUBLIC_WITH_ROLE_USERNAME,
|
|
4296
|
+
] as const satisfies (keyof UserPublicWithRole)[];
|
|
4297
|
+
|
|
4267
4298
|
export const KEY_USER_TOKEN_ACCESS_TOKEN = 'access_token' satisfies keyof UserToken;
|
|
4268
4299
|
export const KEY_USER_TOKEN_EXPIRES_IN = 'expires_in' satisfies keyof UserToken;
|
|
4269
4300
|
export const KEY_USER_TOKEN_REFRESH_EXPIRES_IN = 'refresh_expires_in' satisfies keyof UserToken;
|
|
@@ -4296,37 +4327,39 @@ export const KEYS_USER_UPDATE = [
|
|
|
4296
4327
|
KEY_USER_UPDATE_USERNAME,
|
|
4297
4328
|
] as const satisfies (keyof UserUpdate)[];
|
|
4298
4329
|
|
|
4299
|
-
export const
|
|
4300
|
-
export const
|
|
4301
|
-
export const
|
|
4302
|
-
export const
|
|
4303
|
-
export const
|
|
4304
|
-
export const
|
|
4305
|
-
export const
|
|
4306
|
-
export const
|
|
4307
|
-
export const
|
|
4308
|
-
export const
|
|
4309
|
-
export const
|
|
4310
|
-
export const
|
|
4311
|
-
export const
|
|
4312
|
-
export const
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
+
export const KEY_USER_WITH_AUTHORIZATION_CREATED_ON = 'created_on' satisfies keyof UserWithAuthorization;
|
|
4331
|
+
export const KEY_USER_WITH_AUTHORIZATION_DELETED_ON = 'deleted_on' satisfies keyof UserWithAuthorization;
|
|
4332
|
+
export const KEY_USER_WITH_AUTHORIZATION_EMAIL = 'email' satisfies keyof UserWithAuthorization;
|
|
4333
|
+
export const KEY_USER_WITH_AUTHORIZATION_FIRST_NAME = 'first_name' satisfies keyof UserWithAuthorization;
|
|
4334
|
+
export const KEY_USER_WITH_AUTHORIZATION_LAST_NAME = 'last_name' satisfies keyof UserWithAuthorization;
|
|
4335
|
+
export const KEY_USER_WITH_AUTHORIZATION_LOCALE = 'locale' satisfies keyof UserWithAuthorization;
|
|
4336
|
+
export const KEY_USER_WITH_AUTHORIZATION_ORGANIZATION_ID = 'organization_id' satisfies keyof UserWithAuthorization;
|
|
4337
|
+
export const KEY_USER_WITH_AUTHORIZATION_PERMISSIONS = 'permissions' satisfies keyof UserWithAuthorization;
|
|
4338
|
+
export const KEY_USER_WITH_AUTHORIZATION_PHONE = 'phone' satisfies keyof UserWithAuthorization;
|
|
4339
|
+
export const KEY_USER_WITH_AUTHORIZATION_ROLE = 'role' satisfies keyof UserWithAuthorization;
|
|
4340
|
+
export const KEY_USER_WITH_AUTHORIZATION_STATUS = 'status' satisfies keyof UserWithAuthorization;
|
|
4341
|
+
export const KEY_USER_WITH_AUTHORIZATION_UPDATED_ON = 'updated_on' satisfies keyof UserWithAuthorization;
|
|
4342
|
+
export const KEY_USER_WITH_AUTHORIZATION_USER_ATTRIBUTES = 'user_attributes' satisfies keyof UserWithAuthorization;
|
|
4343
|
+
export const KEY_USER_WITH_AUTHORIZATION_USER_ID = 'user_id' satisfies keyof UserWithAuthorization;
|
|
4344
|
+
export const KEY_USER_WITH_AUTHORIZATION_USERNAME = 'username' satisfies keyof UserWithAuthorization;
|
|
4345
|
+
|
|
4346
|
+
export const KEYS_USER_WITH_AUTHORIZATION = [
|
|
4347
|
+
KEY_USER_WITH_AUTHORIZATION_CREATED_ON,
|
|
4348
|
+
KEY_USER_WITH_AUTHORIZATION_DELETED_ON,
|
|
4349
|
+
KEY_USER_WITH_AUTHORIZATION_EMAIL,
|
|
4350
|
+
KEY_USER_WITH_AUTHORIZATION_FIRST_NAME,
|
|
4351
|
+
KEY_USER_WITH_AUTHORIZATION_LAST_NAME,
|
|
4352
|
+
KEY_USER_WITH_AUTHORIZATION_LOCALE,
|
|
4353
|
+
KEY_USER_WITH_AUTHORIZATION_ORGANIZATION_ID,
|
|
4354
|
+
KEY_USER_WITH_AUTHORIZATION_PERMISSIONS,
|
|
4355
|
+
KEY_USER_WITH_AUTHORIZATION_PHONE,
|
|
4356
|
+
KEY_USER_WITH_AUTHORIZATION_ROLE,
|
|
4357
|
+
KEY_USER_WITH_AUTHORIZATION_STATUS,
|
|
4358
|
+
KEY_USER_WITH_AUTHORIZATION_UPDATED_ON,
|
|
4359
|
+
KEY_USER_WITH_AUTHORIZATION_USER_ATTRIBUTES,
|
|
4360
|
+
KEY_USER_WITH_AUTHORIZATION_USER_ID,
|
|
4361
|
+
KEY_USER_WITH_AUTHORIZATION_USERNAME,
|
|
4362
|
+
] as const satisfies (keyof UserWithAuthorization)[];
|
|
4330
4363
|
|
|
4331
4364
|
export const KEY_VALIDATION_ERROR_CTX = 'ctx' satisfies keyof ValidationError;
|
|
4332
4365
|
export const KEY_VALIDATION_ERROR_INPUT = 'input' satisfies keyof ValidationError;
|
|
@@ -75,7 +75,7 @@ import type {
|
|
|
75
75
|
Pagination_Parking,
|
|
76
76
|
Pagination_RequestHistory,
|
|
77
77
|
Pagination_Tag,
|
|
78
|
-
|
|
78
|
+
Pagination_UserPublicWithRole,
|
|
79
79
|
ParkingMetrics,
|
|
80
80
|
ParkingSignup,
|
|
81
81
|
ParkingSignupStatus,
|
|
@@ -92,7 +92,7 @@ import type {
|
|
|
92
92
|
TldSpecification,
|
|
93
93
|
UserPublic,
|
|
94
94
|
UserPublicWithAttributes,
|
|
95
|
-
|
|
95
|
+
UserWithAuthorization,
|
|
96
96
|
} from './schemas';
|
|
97
97
|
|
|
98
98
|
export type DELETE_AiConciergeConversationsByConversationId_Response = DELETE_AiConciergeConversationsByConversationId_Response_401 | DELETE_AiConciergeConversationsByConversationId_Response_404 | DELETE_AiConciergeConversationsByConversationId_Response_422 | DELETE_AiConciergeConversationsByConversationId_Response_502;
|
|
@@ -642,7 +642,7 @@ export type GET_OrganizationsIpRestrictionsByIpRestrictionId_Response_422 = HTTP
|
|
|
642
642
|
|
|
643
643
|
export type GET_OrganizationsUsers_Response = GET_OrganizationsUsers_Response_200 | GET_OrganizationsUsers_Response_401 | GET_OrganizationsUsers_Response_403 | GET_OrganizationsUsers_Response_422;
|
|
644
644
|
|
|
645
|
-
export type GET_OrganizationsUsers_Response_200 =
|
|
645
|
+
export type GET_OrganizationsUsers_Response_200 = Pagination_UserPublicWithRole;
|
|
646
646
|
export type GET_OrganizationsUsers_Response_401 = Problem;
|
|
647
647
|
export type GET_OrganizationsUsers_Response_403 = Problem;
|
|
648
648
|
export type GET_OrganizationsUsers_Response_422 = HTTPValidationError;
|
|
@@ -735,7 +735,7 @@ export type GET_UsersByUserIdRole_Response_422 = HTTPValidationError;
|
|
|
735
735
|
|
|
736
736
|
export type GET_UsersMe_Response = GET_UsersMe_Response_200 | GET_UsersMe_Response_422;
|
|
737
737
|
|
|
738
|
-
export type GET_UsersMe_Response_200 =
|
|
738
|
+
export type GET_UsersMe_Response_200 = UserWithAuthorization;
|
|
739
739
|
export type GET_UsersMe_Response_422 = HTTPValidationError;
|
|
740
740
|
|
|
741
741
|
export type PATCH_AiConciergeConversationsByConversationId_Response = PATCH_AiConciergeConversationsByConversationId_Response_200 | PATCH_AiConciergeConversationsByConversationId_Response_401 | PATCH_AiConciergeConversationsByConversationId_Response_404 | PATCH_AiConciergeConversationsByConversationId_Response_422 | PATCH_AiConciergeConversationsByConversationId_Response_502;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -314,7 +314,7 @@ export type Pagination_Organization = components['schemas']['Pagination_Organiza
|
|
|
314
314
|
export type Pagination_Parking = components['schemas']['Pagination_ParkingResponse_'];
|
|
315
315
|
export type Pagination_RequestHistory = components['schemas']['Pagination_RequestHistory_'];
|
|
316
316
|
export type Pagination_Tag = components['schemas']['Pagination_TagResponse_'];
|
|
317
|
-
export type
|
|
317
|
+
export type Pagination_UserPublicWithRole = components['schemas']['Pagination_UserPublicWithRole_'];
|
|
318
318
|
export type ParkingActionPayloadData = components['schemas']['ParkingActionPayloadData'];
|
|
319
319
|
export type ParkingAgreementAcceptance = components['schemas']['ParkingAgreementAcceptance'];
|
|
320
320
|
export type ParkingCreateBulkCommand = components['schemas']['ParkingCreateBulkCommand'];
|
|
@@ -430,11 +430,12 @@ export type UserAttribute = components['schemas']['UserAttributeResponse'];
|
|
|
430
430
|
export type UserCreate = components['schemas']['UserCreate'];
|
|
431
431
|
export type UserPublic = components['schemas']['UserPublic'];
|
|
432
432
|
export type UserPublicWithAttributes = components['schemas']['UserPublicWithAttributes'];
|
|
433
|
+
export type UserPublicWithRole = components['schemas']['UserPublicWithRole'];
|
|
433
434
|
export type UserSortField = components['schemas']['UserSortField'];
|
|
434
435
|
export type UserStatus = components['schemas']['UserStatus'];
|
|
435
436
|
export type UserToken = components['schemas']['UserTokenResponse'];
|
|
436
437
|
export type UserUpdate = components['schemas']['UserUpdate'];
|
|
437
|
-
export type
|
|
438
|
+
export type UserWithAuthorization = components['schemas']['UserWithAuthorization'];
|
|
438
439
|
export type ValidationError = components['schemas']['ValidationError'];
|
|
439
440
|
export type VerificationClaimType = components['schemas']['VerificationClaimType'];
|
|
440
441
|
export type VerificationDeadline = components['schemas']['VerificationDeadline'];
|
package/src/openapi.yaml
CHANGED
|
@@ -8493,19 +8493,19 @@ components:
|
|
|
8493
8493
|
- pagination
|
|
8494
8494
|
title: Pagination[TagResponse]
|
|
8495
8495
|
type: object
|
|
8496
|
-
|
|
8496
|
+
Pagination_UserPublicWithRole_:
|
|
8497
8497
|
properties:
|
|
8498
8498
|
pagination:
|
|
8499
8499
|
$ref: '#/components/schemas/PaginationMetadata'
|
|
8500
8500
|
results:
|
|
8501
8501
|
items:
|
|
8502
|
-
$ref: '#/components/schemas/
|
|
8502
|
+
$ref: '#/components/schemas/UserPublicWithRole'
|
|
8503
8503
|
title: Results
|
|
8504
8504
|
type: array
|
|
8505
8505
|
required:
|
|
8506
8506
|
- results
|
|
8507
8507
|
- pagination
|
|
8508
|
-
title: Pagination[
|
|
8508
|
+
title: Pagination[UserPublicWithRole]
|
|
8509
8509
|
type: object
|
|
8510
8510
|
ParkingActionPayloadData:
|
|
8511
8511
|
properties:
|
|
@@ -11017,6 +11017,97 @@ components:
|
|
|
11017
11017
|
- status
|
|
11018
11018
|
title: UserPublicWithAttributes
|
|
11019
11019
|
type: object
|
|
11020
|
+
UserPublicWithRole:
|
|
11021
|
+
properties:
|
|
11022
|
+
created_on:
|
|
11023
|
+
description: The date/time the entry was created on
|
|
11024
|
+
format: date-time
|
|
11025
|
+
title: Created On
|
|
11026
|
+
type: string
|
|
11027
|
+
deleted_on:
|
|
11028
|
+
anyOf:
|
|
11029
|
+
- format: date-time
|
|
11030
|
+
type: string
|
|
11031
|
+
- type: 'null'
|
|
11032
|
+
description: The date/time the entry was deleted on
|
|
11033
|
+
title: Deleted On
|
|
11034
|
+
email:
|
|
11035
|
+
description: The user's email address
|
|
11036
|
+
format: email
|
|
11037
|
+
title: Email
|
|
11038
|
+
type: string
|
|
11039
|
+
first_name:
|
|
11040
|
+
description: The user's first name
|
|
11041
|
+
maxLength: 255
|
|
11042
|
+
minLength: 1
|
|
11043
|
+
title: First Name
|
|
11044
|
+
type: string
|
|
11045
|
+
last_name:
|
|
11046
|
+
description: The user's last name
|
|
11047
|
+
maxLength: 255
|
|
11048
|
+
minLength: 1
|
|
11049
|
+
title: Last Name
|
|
11050
|
+
type: string
|
|
11051
|
+
locale:
|
|
11052
|
+
examples:
|
|
11053
|
+
- en_US
|
|
11054
|
+
title: Locale
|
|
11055
|
+
type: string
|
|
11056
|
+
organization_id:
|
|
11057
|
+
default: None
|
|
11058
|
+
description: The user's organization id
|
|
11059
|
+
examples:
|
|
11060
|
+
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
11061
|
+
format: typeid
|
|
11062
|
+
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
11063
|
+
title: Organization Id
|
|
11064
|
+
type: string
|
|
11065
|
+
x-typeid-prefix: organization
|
|
11066
|
+
phone:
|
|
11067
|
+
anyOf:
|
|
11068
|
+
- format: phone
|
|
11069
|
+
type: string
|
|
11070
|
+
- type: 'null'
|
|
11071
|
+
description: The user's phone number
|
|
11072
|
+
examples:
|
|
11073
|
+
- '+1.2125552368'
|
|
11074
|
+
title: Phone
|
|
11075
|
+
role:
|
|
11076
|
+
anyOf:
|
|
11077
|
+
- $ref: '#/components/schemas/PublicRole'
|
|
11078
|
+
- type: 'null'
|
|
11079
|
+
status:
|
|
11080
|
+
$ref: '#/components/schemas/UserStatus'
|
|
11081
|
+
readOnly: true
|
|
11082
|
+
updated_on:
|
|
11083
|
+
description: The date/time the entry was last updated on
|
|
11084
|
+
format: date-time
|
|
11085
|
+
title: Updated On
|
|
11086
|
+
type: string
|
|
11087
|
+
user_id:
|
|
11088
|
+
examples:
|
|
11089
|
+
- user_01h45ytscbebyvny4gc8cr8ma2
|
|
11090
|
+
format: typeid
|
|
11091
|
+
pattern: ^user_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
11092
|
+
title: User Id
|
|
11093
|
+
type: string
|
|
11094
|
+
x-typeid-prefix: user
|
|
11095
|
+
username:
|
|
11096
|
+
description: The user's unique username
|
|
11097
|
+
maxLength: 128
|
|
11098
|
+
minLength: 3
|
|
11099
|
+
pattern: ^[a-zA-Z0-9\-+_@.]+$
|
|
11100
|
+
title: Username
|
|
11101
|
+
type: string
|
|
11102
|
+
required:
|
|
11103
|
+
- username
|
|
11104
|
+
- first_name
|
|
11105
|
+
- last_name
|
|
11106
|
+
- email
|
|
11107
|
+
- locale
|
|
11108
|
+
- status
|
|
11109
|
+
title: UserPublicWithRole
|
|
11110
|
+
type: object
|
|
11020
11111
|
UserSortField:
|
|
11021
11112
|
enum:
|
|
11022
11113
|
- created_on
|
|
@@ -11123,7 +11214,7 @@ components:
|
|
|
11123
11214
|
title: Username
|
|
11124
11215
|
title: UserUpdate
|
|
11125
11216
|
type: object
|
|
11126
|
-
|
|
11217
|
+
UserWithAuthorization:
|
|
11127
11218
|
properties:
|
|
11128
11219
|
created_on:
|
|
11129
11220
|
description: The date/time the entry was created on
|
|
@@ -11185,6 +11276,10 @@ components:
|
|
|
11185
11276
|
examples:
|
|
11186
11277
|
- '+1.2125552368'
|
|
11187
11278
|
title: Phone
|
|
11279
|
+
role:
|
|
11280
|
+
anyOf:
|
|
11281
|
+
- $ref: '#/components/schemas/PublicRole'
|
|
11282
|
+
- type: 'null'
|
|
11188
11283
|
status:
|
|
11189
11284
|
$ref: '#/components/schemas/UserStatus'
|
|
11190
11285
|
readOnly: true
|
|
@@ -11229,7 +11324,7 @@ components:
|
|
|
11229
11324
|
- email
|
|
11230
11325
|
- locale
|
|
11231
11326
|
- status
|
|
11232
|
-
title:
|
|
11327
|
+
title: UserWithAuthorization
|
|
11233
11328
|
type: object
|
|
11234
11329
|
ValidationError:
|
|
11235
11330
|
properties:
|
|
@@ -11555,7 +11650,7 @@ info:
|
|
|
11555
11650
|
\n\n"
|
|
11556
11651
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
11557
11652
|
title: OpusDNS API
|
|
11558
|
-
version: 2026-06-
|
|
11653
|
+
version: 2026-06-11-084702
|
|
11559
11654
|
x-logo:
|
|
11560
11655
|
altText: OpusDNS API Reference
|
|
11561
11656
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -23515,7 +23610,7 @@ paths:
|
|
|
23515
23610
|
content:
|
|
23516
23611
|
application/json:
|
|
23517
23612
|
schema:
|
|
23518
|
-
$ref: '#/components/schemas/
|
|
23613
|
+
$ref: '#/components/schemas/Pagination_UserPublicWithRole_'
|
|
23519
23614
|
description: Successful Response
|
|
23520
23615
|
'401':
|
|
23521
23616
|
content:
|
|
@@ -25424,7 +25519,7 @@ paths:
|
|
|
25424
25519
|
content:
|
|
25425
25520
|
application/json:
|
|
25426
25521
|
schema:
|
|
25427
|
-
$ref: '#/components/schemas/
|
|
25522
|
+
$ref: '#/components/schemas/UserWithAuthorization'
|
|
25428
25523
|
description: Successful Response
|
|
25429
25524
|
'422':
|
|
25430
25525
|
content:
|
package/src/schema.d.ts
CHANGED
|
@@ -8013,11 +8013,11 @@ export interface components {
|
|
|
8013
8013
|
/** Results */
|
|
8014
8014
|
results: components["schemas"]["TagResponse"][];
|
|
8015
8015
|
};
|
|
8016
|
-
/** Pagination[
|
|
8017
|
-
|
|
8016
|
+
/** Pagination[UserPublicWithRole] */
|
|
8017
|
+
Pagination_UserPublicWithRole_: {
|
|
8018
8018
|
pagination: components["schemas"]["PaginationMetadata"];
|
|
8019
8019
|
/** Results */
|
|
8020
|
-
results: components["schemas"]["
|
|
8020
|
+
results: components["schemas"]["UserPublicWithRole"][];
|
|
8021
8021
|
};
|
|
8022
8022
|
/** ParkingActionPayloadData */
|
|
8023
8023
|
ParkingActionPayloadData: {
|
|
@@ -9749,6 +9749,74 @@ export interface components {
|
|
|
9749
9749
|
*/
|
|
9750
9750
|
username: string;
|
|
9751
9751
|
};
|
|
9752
|
+
/** UserPublicWithRole */
|
|
9753
|
+
UserPublicWithRole: {
|
|
9754
|
+
/**
|
|
9755
|
+
* Created On
|
|
9756
|
+
* Format: date-time
|
|
9757
|
+
* @description The date/time the entry was created on
|
|
9758
|
+
*/
|
|
9759
|
+
created_on?: Date;
|
|
9760
|
+
/**
|
|
9761
|
+
* Deleted On
|
|
9762
|
+
* @description The date/time the entry was deleted on
|
|
9763
|
+
*/
|
|
9764
|
+
deleted_on?: Date | null;
|
|
9765
|
+
/**
|
|
9766
|
+
* Email
|
|
9767
|
+
* Format: email
|
|
9768
|
+
* @description The user's email address
|
|
9769
|
+
*/
|
|
9770
|
+
email: string;
|
|
9771
|
+
/**
|
|
9772
|
+
* First Name
|
|
9773
|
+
* @description The user's first name
|
|
9774
|
+
*/
|
|
9775
|
+
first_name: string;
|
|
9776
|
+
/**
|
|
9777
|
+
* Last Name
|
|
9778
|
+
* @description The user's last name
|
|
9779
|
+
*/
|
|
9780
|
+
last_name: string;
|
|
9781
|
+
/**
|
|
9782
|
+
* Locale
|
|
9783
|
+
* @example en_US
|
|
9784
|
+
*/
|
|
9785
|
+
locale: string;
|
|
9786
|
+
/**
|
|
9787
|
+
* Organization Id
|
|
9788
|
+
* Format: typeid
|
|
9789
|
+
* @description The user's organization id
|
|
9790
|
+
* @default None
|
|
9791
|
+
* @example organization_01h45ytscbebyvny4gc8cr8ma2
|
|
9792
|
+
*/
|
|
9793
|
+
organization_id: TypeId<"organization">;
|
|
9794
|
+
/**
|
|
9795
|
+
* Phone
|
|
9796
|
+
* @description The user's phone number
|
|
9797
|
+
* @example +1.2125552368
|
|
9798
|
+
*/
|
|
9799
|
+
phone?: string | null;
|
|
9800
|
+
role?: components["schemas"]["PublicRole"] | null;
|
|
9801
|
+
readonly status: components["schemas"]["UserStatus"];
|
|
9802
|
+
/**
|
|
9803
|
+
* Updated On
|
|
9804
|
+
* Format: date-time
|
|
9805
|
+
* @description The date/time the entry was last updated on
|
|
9806
|
+
*/
|
|
9807
|
+
updated_on?: Date;
|
|
9808
|
+
/**
|
|
9809
|
+
* User Id
|
|
9810
|
+
* Format: typeid
|
|
9811
|
+
* @example user_01h45ytscbebyvny4gc8cr8ma2
|
|
9812
|
+
*/
|
|
9813
|
+
user_id?: TypeId<"user">;
|
|
9814
|
+
/**
|
|
9815
|
+
* Username
|
|
9816
|
+
* @description The user's unique username
|
|
9817
|
+
*/
|
|
9818
|
+
username: string;
|
|
9819
|
+
};
|
|
9752
9820
|
/**
|
|
9753
9821
|
* UserSortField
|
|
9754
9822
|
* @enum {string}
|
|
@@ -9826,8 +9894,8 @@ export interface components {
|
|
|
9826
9894
|
*/
|
|
9827
9895
|
username?: string | null;
|
|
9828
9896
|
};
|
|
9829
|
-
/**
|
|
9830
|
-
|
|
9897
|
+
/** UserWithAuthorization */
|
|
9898
|
+
UserWithAuthorization: {
|
|
9831
9899
|
/**
|
|
9832
9900
|
* Created On
|
|
9833
9901
|
* Format: date-time
|
|
@@ -9876,6 +9944,7 @@ export interface components {
|
|
|
9876
9944
|
* @example +1.2125552368
|
|
9877
9945
|
*/
|
|
9878
9946
|
phone?: string | null;
|
|
9947
|
+
role?: components["schemas"]["PublicRole"] | null;
|
|
9879
9948
|
readonly status: components["schemas"]["UserStatus"];
|
|
9880
9949
|
/**
|
|
9881
9950
|
* Updated On
|
|
@@ -18668,7 +18737,7 @@ export interface operations {
|
|
|
18668
18737
|
[name: string]: unknown;
|
|
18669
18738
|
};
|
|
18670
18739
|
content: {
|
|
18671
|
-
"application/json": components["schemas"]["
|
|
18740
|
+
"application/json": components["schemas"]["Pagination_UserPublicWithRole_"];
|
|
18672
18741
|
};
|
|
18673
18742
|
};
|
|
18674
18743
|
/** @description Unauthorized */
|
|
@@ -20395,7 +20464,7 @@ export interface operations {
|
|
|
20395
20464
|
[name: string]: unknown;
|
|
20396
20465
|
};
|
|
20397
20466
|
content: {
|
|
20398
|
-
"application/json": components["schemas"]["
|
|
20467
|
+
"application/json": components["schemas"]["UserWithAuthorization"];
|
|
20399
20468
|
};
|
|
20400
20469
|
};
|
|
20401
20470
|
/** @description Validation Error */
|