@opusdns/api 0.138.0 → 0.139.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
@@ -4644,11 +4644,11 @@ export interface components {
4644
4644
  /** Results */
4645
4645
  results: components["schemas"]["RequestHistory"][];
4646
4646
  };
4647
- /** Pagination[User] */
4648
- Pagination_User_: {
4647
+ /** Pagination[UserPublic] */
4648
+ Pagination_UserPublic_: {
4649
4649
  pagination: components["schemas"]["PaginationMetadata"];
4650
4650
  /** Results */
4651
- results: components["schemas"]["User"][];
4651
+ results: components["schemas"]["UserPublic"][];
4652
4652
  };
4653
4653
  /** PasswordUpdate */
4654
4654
  PasswordUpdate: {
@@ -5207,6 +5207,11 @@ export interface components {
5207
5207
  * @description The user's first name
5208
5208
  */
5209
5209
  first_name: string;
5210
+ /**
5211
+ * Keycloak User Id
5212
+ * @description Keycloak user id
5213
+ */
5214
+ keycloak_user_id?: string | null;
5210
5215
  /**
5211
5216
  * Last Name
5212
5217
  * @description The user's last name
@@ -5316,67 +5321,75 @@ export interface components {
5316
5321
  */
5317
5322
  username: string;
5318
5323
  };
5319
- /**
5320
- * UserStatus
5321
- * @enum {string}
5322
- */
5323
- UserStatus: "active" | "inactive";
5324
- /** UserTokenResponse */
5325
- UserTokenResponse: {
5326
- /** Access Token */
5327
- access_token: string;
5328
- /** Expires In */
5329
- expires_in: number;
5330
- /** Refresh Expires In */
5331
- refresh_expires_in: number;
5332
- /** Refresh Token */
5333
- refresh_token: string;
5324
+ /** UserPublic */
5325
+ UserPublic: {
5334
5326
  /**
5335
- * Token Type
5336
- * @default Bearer
5327
+ * Created On
5328
+ * Format: date-time
5329
+ * @description The date/time the entry was created on
5337
5330
  */
5338
- token_type: string;
5339
- };
5340
- /** UserUpdate */
5341
- UserUpdate: {
5331
+ created_on?: Date;
5332
+ /**
5333
+ * Deleted On
5334
+ * @description The date/time the entry was deleted on
5335
+ */
5336
+ deleted_on?: Date | null;
5342
5337
  /**
5343
5338
  * Email
5339
+ * Format: email
5344
5340
  * @description The user's email address
5345
5341
  */
5346
- email?: string | null;
5342
+ email: string;
5347
5343
  /**
5348
5344
  * First Name
5349
5345
  * @description The user's first name
5350
5346
  */
5351
- first_name?: string | null;
5347
+ first_name: string;
5352
5348
  /**
5353
5349
  * Last Name
5354
5350
  * @description The user's last name
5355
5351
  */
5356
- last_name?: string | null;
5352
+ last_name: string;
5357
5353
  /**
5358
5354
  * Locale
5359
- * @description The user's locale
5355
+ * @example en_US
5360
5356
  */
5361
- locale?: string | null;
5357
+ locale: string;
5358
+ /**
5359
+ * Organization Id
5360
+ * Format: typeid
5361
+ * @description The user's organization id
5362
+ * @default None
5363
+ * @example organization_01h45ytscbebyvny4gc8cr8ma2
5364
+ */
5365
+ organization_id: TypeId<"organization">;
5362
5366
  /**
5363
5367
  * Phone
5364
5368
  * @description The user's phone number
5369
+ * @example +1.2125552368
5365
5370
  */
5366
5371
  phone?: string | null;
5372
+ readonly status: components["schemas"]["UserStatus"];
5367
5373
  /**
5368
- * User Attributes
5369
- * @description User attributes
5374
+ * Updated On
5375
+ * Format: date-time
5376
+ * @description The date/time the entry was last updated on
5370
5377
  */
5371
- user_attributes?: components["schemas"]["UserAttributeBase"][] | null;
5378
+ updated_on?: Date;
5379
+ /**
5380
+ * User Id
5381
+ * Format: typeid
5382
+ * @example user_01h45ytscbebyvny4gc8cr8ma2
5383
+ */
5384
+ user_id?: TypeId<"user">;
5372
5385
  /**
5373
5386
  * Username
5374
5387
  * @description The user's unique username
5375
5388
  */
5376
- username?: string | null;
5389
+ username: string;
5377
5390
  };
5378
- /** UserWithAttributes */
5379
- UserWithAttributes: {
5391
+ /** UserPublicWithAttributes */
5392
+ UserPublicWithAttributes: {
5380
5393
  /**
5381
5394
  * Created On
5382
5395
  * Format: date-time
@@ -5459,6 +5472,65 @@ export interface components {
5459
5472
  */
5460
5473
  username: string;
5461
5474
  };
5475
+ /**
5476
+ * UserStatus
5477
+ * @enum {string}
5478
+ */
5479
+ UserStatus: "active" | "inactive";
5480
+ /** UserTokenResponse */
5481
+ UserTokenResponse: {
5482
+ /** Access Token */
5483
+ access_token: string;
5484
+ /** Expires In */
5485
+ expires_in: number;
5486
+ /** Refresh Expires In */
5487
+ refresh_expires_in: number;
5488
+ /** Refresh Token */
5489
+ refresh_token: string;
5490
+ /**
5491
+ * Token Type
5492
+ * @default Bearer
5493
+ */
5494
+ token_type: string;
5495
+ };
5496
+ /** UserUpdate */
5497
+ UserUpdate: {
5498
+ /**
5499
+ * Email
5500
+ * @description The user's email address
5501
+ */
5502
+ email?: string | null;
5503
+ /**
5504
+ * First Name
5505
+ * @description The user's first name
5506
+ */
5507
+ first_name?: string | null;
5508
+ /**
5509
+ * Last Name
5510
+ * @description The user's last name
5511
+ */
5512
+ last_name?: string | null;
5513
+ /**
5514
+ * Locale
5515
+ * @description The user's locale
5516
+ */
5517
+ locale?: string | null;
5518
+ /**
5519
+ * Phone
5520
+ * @description The user's phone number
5521
+ */
5522
+ phone?: string | null;
5523
+ /**
5524
+ * User Attributes
5525
+ * @description User attributes
5526
+ */
5527
+ user_attributes?: components["schemas"]["UserAttributeBase"][] | null;
5528
+ /**
5529
+ * Username
5530
+ * @description The user's unique username
5531
+ */
5532
+ username?: string | null;
5533
+ };
5462
5534
  /** UserWithRelationPermissions */
5463
5535
  UserWithRelationPermissions: {
5464
5536
  /**
@@ -11221,7 +11293,7 @@ export interface operations {
11221
11293
  [name: string]: unknown;
11222
11294
  };
11223
11295
  content: {
11224
- "application/json": components["schemas"]["Pagination_User_"];
11296
+ "application/json": components["schemas"]["Pagination_UserPublic_"];
11225
11297
  };
11226
11298
  };
11227
11299
  /** @description Unauthorized */
@@ -11830,7 +11902,7 @@ export interface operations {
11830
11902
  [name: string]: unknown;
11831
11903
  };
11832
11904
  content: {
11833
- "application/json": components["schemas"]["User"];
11905
+ "application/json": components["schemas"]["UserPublic"];
11834
11906
  };
11835
11907
  };
11836
11908
  /** @description Validation Error */
@@ -11941,7 +12013,7 @@ export interface operations {
11941
12013
  [name: string]: unknown;
11942
12014
  };
11943
12015
  content: {
11944
- "application/json": components["schemas"]["UserWithAttributes"];
12016
+ "application/json": components["schemas"]["UserPublicWithAttributes"];
11945
12017
  };
11946
12018
  };
11947
12019
  /** @description Validation Error */
@@ -12021,7 +12093,7 @@ export interface operations {
12021
12093
  [name: string]: unknown;
12022
12094
  };
12023
12095
  content: {
12024
- "application/json": components["schemas"]["UserWithAttributes"];
12096
+ "application/json": components["schemas"]["UserPublicWithAttributes"];
12025
12097
  };
12026
12098
  };
12027
12099
  /** @description Validation Error */