@opusdns/api 1.8.0 → 1.10.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.8.0",
6
+ "version": "1.10.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -303,10 +303,9 @@ import type {
303
303
  UserCreate,
304
304
  UserPublic,
305
305
  UserPublicWithAttributes,
306
- UserPublicWithRole,
307
306
  UserToken,
308
307
  UserUpdate,
309
- UserWithAuthorization,
308
+ UserWithPermissions,
310
309
  ValidationError,
311
310
  VerificationDeadline,
312
311
  VerificationRegistrantDetails,
@@ -4265,36 +4264,6 @@ export const KEYS_USER_PUBLIC_WITH_ATTRIBUTES = [
4265
4264
  KEY_USER_PUBLIC_WITH_ATTRIBUTES_USERNAME,
4266
4265
  ] as const satisfies (keyof UserPublicWithAttributes)[];
4267
4266
 
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
-
4298
4267
  export const KEY_USER_TOKEN_ACCESS_TOKEN = 'access_token' satisfies keyof UserToken;
4299
4268
  export const KEY_USER_TOKEN_EXPIRES_IN = 'expires_in' satisfies keyof UserToken;
4300
4269
  export const KEY_USER_TOKEN_REFRESH_EXPIRES_IN = 'refresh_expires_in' satisfies keyof UserToken;
@@ -4327,39 +4296,37 @@ export const KEYS_USER_UPDATE = [
4327
4296
  KEY_USER_UPDATE_USERNAME,
4328
4297
  ] as const satisfies (keyof UserUpdate)[];
4329
4298
 
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)[];
4299
+ export const KEY_USER_WITH_PERMISSIONS_CREATED_ON = 'created_on' satisfies keyof UserWithPermissions;
4300
+ export const KEY_USER_WITH_PERMISSIONS_DELETED_ON = 'deleted_on' satisfies keyof UserWithPermissions;
4301
+ export const KEY_USER_WITH_PERMISSIONS_EMAIL = 'email' satisfies keyof UserWithPermissions;
4302
+ export const KEY_USER_WITH_PERMISSIONS_FIRST_NAME = 'first_name' satisfies keyof UserWithPermissions;
4303
+ export const KEY_USER_WITH_PERMISSIONS_LAST_NAME = 'last_name' satisfies keyof UserWithPermissions;
4304
+ export const KEY_USER_WITH_PERMISSIONS_LOCALE = 'locale' satisfies keyof UserWithPermissions;
4305
+ export const KEY_USER_WITH_PERMISSIONS_ORGANIZATION_ID = 'organization_id' satisfies keyof UserWithPermissions;
4306
+ export const KEY_USER_WITH_PERMISSIONS_PERMISSIONS = 'permissions' satisfies keyof UserWithPermissions;
4307
+ export const KEY_USER_WITH_PERMISSIONS_PHONE = 'phone' satisfies keyof UserWithPermissions;
4308
+ export const KEY_USER_WITH_PERMISSIONS_STATUS = 'status' satisfies keyof UserWithPermissions;
4309
+ export const KEY_USER_WITH_PERMISSIONS_UPDATED_ON = 'updated_on' satisfies keyof UserWithPermissions;
4310
+ export const KEY_USER_WITH_PERMISSIONS_USER_ATTRIBUTES = 'user_attributes' satisfies keyof UserWithPermissions;
4311
+ export const KEY_USER_WITH_PERMISSIONS_USER_ID = 'user_id' satisfies keyof UserWithPermissions;
4312
+ export const KEY_USER_WITH_PERMISSIONS_USERNAME = 'username' satisfies keyof UserWithPermissions;
4313
+
4314
+ export const KEYS_USER_WITH_PERMISSIONS = [
4315
+ KEY_USER_WITH_PERMISSIONS_CREATED_ON,
4316
+ KEY_USER_WITH_PERMISSIONS_DELETED_ON,
4317
+ KEY_USER_WITH_PERMISSIONS_EMAIL,
4318
+ KEY_USER_WITH_PERMISSIONS_FIRST_NAME,
4319
+ KEY_USER_WITH_PERMISSIONS_LAST_NAME,
4320
+ KEY_USER_WITH_PERMISSIONS_LOCALE,
4321
+ KEY_USER_WITH_PERMISSIONS_ORGANIZATION_ID,
4322
+ KEY_USER_WITH_PERMISSIONS_PERMISSIONS,
4323
+ KEY_USER_WITH_PERMISSIONS_PHONE,
4324
+ KEY_USER_WITH_PERMISSIONS_STATUS,
4325
+ KEY_USER_WITH_PERMISSIONS_UPDATED_ON,
4326
+ KEY_USER_WITH_PERMISSIONS_USER_ATTRIBUTES,
4327
+ KEY_USER_WITH_PERMISSIONS_USER_ID,
4328
+ KEY_USER_WITH_PERMISSIONS_USERNAME,
4329
+ ] as const satisfies (keyof UserWithPermissions)[];
4363
4330
 
4364
4331
  export const KEY_VALIDATION_ERROR_CTX = 'ctx' satisfies keyof ValidationError;
4365
4332
  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
- Pagination_UserPublicWithRole,
78
+ Pagination_UserPublic,
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
- UserWithAuthorization,
95
+ UserWithPermissions,
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 = Pagination_UserPublicWithRole;
645
+ export type GET_OrganizationsUsers_Response_200 = Pagination_UserPublic;
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 = UserWithAuthorization;
738
+ export type GET_UsersMe_Response_200 = UserWithPermissions;
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;
@@ -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 Pagination_UserPublicWithRole = components['schemas']['Pagination_UserPublicWithRole_'];
317
+ export type Pagination_UserPublic = components['schemas']['Pagination_UserPublic_'];
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,12 +430,11 @@ 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'];
434
433
  export type UserSortField = components['schemas']['UserSortField'];
435
434
  export type UserStatus = components['schemas']['UserStatus'];
436
435
  export type UserToken = components['schemas']['UserTokenResponse'];
437
436
  export type UserUpdate = components['schemas']['UserUpdate'];
438
- export type UserWithAuthorization = components['schemas']['UserWithAuthorization'];
437
+ export type UserWithPermissions = components['schemas']['UserWithPermissions'];
439
438
  export type ValidationError = components['schemas']['ValidationError'];
440
439
  export type VerificationClaimType = components['schemas']['VerificationClaimType'];
441
440
  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
- Pagination_UserPublicWithRole_:
8496
+ Pagination_UserPublic_:
8497
8497
  properties:
8498
8498
  pagination:
8499
8499
  $ref: '#/components/schemas/PaginationMetadata'
8500
8500
  results:
8501
8501
  items:
8502
- $ref: '#/components/schemas/UserPublicWithRole'
8502
+ $ref: '#/components/schemas/UserPublic'
8503
8503
  title: Results
8504
8504
  type: array
8505
8505
  required:
8506
8506
  - results
8507
8507
  - pagination
8508
- title: Pagination[UserPublicWithRole]
8508
+ title: Pagination[UserPublic]
8509
8509
  type: object
8510
8510
  ParkingActionPayloadData:
8511
8511
  properties:
@@ -11017,97 +11017,6 @@ 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
11111
11020
  UserSortField:
11112
11021
  enum:
11113
11022
  - created_on
@@ -11214,7 +11123,7 @@ components:
11214
11123
  title: Username
11215
11124
  title: UserUpdate
11216
11125
  type: object
11217
- UserWithAuthorization:
11126
+ UserWithPermissions:
11218
11127
  properties:
11219
11128
  created_on:
11220
11129
  description: The date/time the entry was created on
@@ -11276,10 +11185,6 @@ components:
11276
11185
  examples:
11277
11186
  - '+1.2125552368'
11278
11187
  title: Phone
11279
- role:
11280
- anyOf:
11281
- - $ref: '#/components/schemas/PublicRole'
11282
- - type: 'null'
11283
11188
  status:
11284
11189
  $ref: '#/components/schemas/UserStatus'
11285
11190
  readOnly: true
@@ -11324,7 +11229,7 @@ components:
11324
11229
  - email
11325
11230
  - locale
11326
11231
  - status
11327
- title: UserWithAuthorization
11232
+ title: UserWithPermissions
11328
11233
  type: object
11329
11234
  ValidationError:
11330
11235
  properties:
@@ -11650,7 +11555,7 @@ info:
11650
11555
  \n\n"
11651
11556
  summary: OpusDNS - your gateway to a seamless domain management experience.
11652
11557
  title: OpusDNS API
11653
- version: 2026-06-11-084702
11558
+ version: 2026-06-11-130907
11654
11559
  x-logo:
11655
11560
  altText: OpusDNS API Reference
11656
11561
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -23610,7 +23515,7 @@ paths:
23610
23515
  content:
23611
23516
  application/json:
23612
23517
  schema:
23613
- $ref: '#/components/schemas/Pagination_UserPublicWithRole_'
23518
+ $ref: '#/components/schemas/Pagination_UserPublic_'
23614
23519
  description: Successful Response
23615
23520
  '401':
23616
23521
  content:
@@ -25519,7 +25424,7 @@ paths:
25519
25424
  content:
25520
25425
  application/json:
25521
25426
  schema:
25522
- $ref: '#/components/schemas/UserWithAuthorization'
25427
+ $ref: '#/components/schemas/UserWithPermissions'
25523
25428
  description: Successful Response
25524
25429
  '422':
25525
25430
  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[UserPublicWithRole] */
8017
- Pagination_UserPublicWithRole_: {
8016
+ /** Pagination[UserPublic] */
8017
+ Pagination_UserPublic_: {
8018
8018
  pagination: components["schemas"]["PaginationMetadata"];
8019
8019
  /** Results */
8020
- results: components["schemas"]["UserPublicWithRole"][];
8020
+ results: components["schemas"]["UserPublic"][];
8021
8021
  };
8022
8022
  /** ParkingActionPayloadData */
8023
8023
  ParkingActionPayloadData: {
@@ -9749,74 +9749,6 @@ 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
- };
9820
9752
  /**
9821
9753
  * UserSortField
9822
9754
  * @enum {string}
@@ -9894,8 +9826,8 @@ export interface components {
9894
9826
  */
9895
9827
  username?: string | null;
9896
9828
  };
9897
- /** UserWithAuthorization */
9898
- UserWithAuthorization: {
9829
+ /** UserWithPermissions */
9830
+ UserWithPermissions: {
9899
9831
  /**
9900
9832
  * Created On
9901
9833
  * Format: date-time
@@ -9944,7 +9876,6 @@ export interface components {
9944
9876
  * @example +1.2125552368
9945
9877
  */
9946
9878
  phone?: string | null;
9947
- role?: components["schemas"]["PublicRole"] | null;
9948
9879
  readonly status: components["schemas"]["UserStatus"];
9949
9880
  /**
9950
9881
  * Updated On
@@ -18737,7 +18668,7 @@ export interface operations {
18737
18668
  [name: string]: unknown;
18738
18669
  };
18739
18670
  content: {
18740
- "application/json": components["schemas"]["Pagination_UserPublicWithRole_"];
18671
+ "application/json": components["schemas"]["Pagination_UserPublic_"];
18741
18672
  };
18742
18673
  };
18743
18674
  /** @description Unauthorized */
@@ -20464,7 +20395,7 @@ export interface operations {
20464
20395
  [name: string]: unknown;
20465
20396
  };
20466
20397
  content: {
20467
- "application/json": components["schemas"]["UserWithAuthorization"];
20398
+ "application/json": components["schemas"]["UserWithPermissions"];
20468
20399
  };
20469
20400
  };
20470
20401
  /** @description Validation Error */