@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.
@@ -34,7 +34,7 @@
34
34
 
35
35
  import { DomainDnssecDataArray, OrganizationAttribute2Array, IpRestrictionArray, TldResponseShortArray } from './schemas-arrays.d';
36
36
 
37
- import { Pagination_EmailForwardLog, HTTPValidationError, Pagination_ObjectLog, Pagination_RequestHistory, Problem, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DomainForwardZone, EmailForwardZone, Pagination_DomainForwardZone, Pagination_EmailForwardZone, DnsZoneSummary, Pagination_DomainForward, DomainForward, DomainForwardSet, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, DomainWithdraw, RequestAuthcode, DomainTransit, RequestAuthcode2, Pagination_EmailForward, EmailForward, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
37
+ import { Pagination_EmailForwardLog, HTTPValidationError, Pagination_ObjectLog, Pagination_RequestHistory, Problem, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DomainForwardZone, EmailForwardZone, Pagination_DomainForwardZone, Pagination_EmailForwardZone, DnsZoneSummary, Pagination_DomainForward, DomainForward, DomainForwardSet, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, DomainWithdraw, RequestAuthcode, DomainTransit, RequestAuthcode2, Pagination_EmailForward, EmailForward, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_UserPublic, TldSpecification, UserPublic, UserPublicWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
38
38
 
39
39
  /**
40
40
  * Response types for GET ArchiveEmailForwardLogsAliasesByEmailForwardAliasId endpoint
@@ -8135,9 +8135,9 @@ export type GET_OrganizationsUsers_Response = GET_OrganizationsUsers_Response_20
8135
8135
  * @path /v1/organizations/users
8136
8136
  *
8137
8137
  * @see {@link GET_OrganizationsUsers_Response} - The main response type definition
8138
- * @see {@link Pagination_User} - The actual schema type definition
8138
+ * @see {@link Pagination_UserPublic} - The actual schema type definition
8139
8139
  */
8140
- export type GET_OrganizationsUsers_Response_200 = Pagination_User
8140
+ export type GET_OrganizationsUsers_Response_200 = Pagination_UserPublic
8141
8141
 
8142
8142
  /**
8143
8143
  * 401 response for GET OrganizationsUsers endpoint
@@ -8393,9 +8393,9 @@ export type POST_Users_Response = POST_Users_Response_200 | POST_Users_Response_
8393
8393
  * @path /v1/users
8394
8394
  *
8395
8395
  * @see {@link POST_Users_Response} - The main response type definition
8396
- * @see {@link User} - The actual schema type definition
8396
+ * @see {@link UserPublic} - The actual schema type definition
8397
8397
  */
8398
- export type POST_Users_Response_200 = User
8398
+ export type POST_Users_Response_200 = UserPublic
8399
8399
 
8400
8400
  /**
8401
8401
  * 422 response for POST Users endpoint
@@ -8505,9 +8505,9 @@ export type GET_UsersByUserId_Response = GET_UsersByUserId_Response_200 | GET_Us
8505
8505
  * @path /v1/users/{user_id}
8506
8506
  *
8507
8507
  * @see {@link GET_UsersByUserId_Response} - The main response type definition
8508
- * @see {@link UserWithAttributes} - The actual schema type definition
8508
+ * @see {@link UserPublicWithAttributes} - The actual schema type definition
8509
8509
  */
8510
- export type GET_UsersByUserId_Response_200 = UserWithAttributes
8510
+ export type GET_UsersByUserId_Response_200 = UserPublicWithAttributes
8511
8511
 
8512
8512
  /**
8513
8513
  * 422 response for GET UsersByUserId endpoint
@@ -8561,9 +8561,9 @@ export type PATCH_UsersByUserId_Response = PATCH_UsersByUserId_Response_200 | PA
8561
8561
  * @path /v1/users/{user_id}
8562
8562
  *
8563
8563
  * @see {@link PATCH_UsersByUserId_Response} - The main response type definition
8564
- * @see {@link UserWithAttributes} - The actual schema type definition
8564
+ * @see {@link UserPublicWithAttributes} - The actual schema type definition
8565
8565
  */
8566
- export type PATCH_UsersByUserId_Response_200 = UserWithAttributes
8566
+ export type PATCH_UsersByUserId_Response_200 = UserPublicWithAttributes
8567
8567
 
8568
8568
  /**
8569
8569
  * 422 response for PATCH UsersByUserId endpoint
@@ -21,7 +21,7 @@
21
21
  * This file is auto-generated from the OpenAPI specification.
22
22
  * Do not edit manually.
23
23
  */
24
- import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DomainForwardPatchOp, HttpRedirectList, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, DomainContactType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, RequestHistory, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
24
+ import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DomainForwardPatchOp, HttpRedirectList, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, DomainContactType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
25
25
 
26
26
  /**
27
27
  * DomainDnssecDataResponse
@@ -807,6 +807,20 @@ export type OrganizationArray = Organization[];
807
807
  * @see {@link RequestHistory} - The individual RequestHistory type definition
808
808
  */
809
809
  export type RequestHistoryArray = RequestHistory[];
810
+ /**
811
+ * UserPublic
812
+ *
813
+ * @remarks
814
+ * Array type for UserPublic objects. Used when the API returns a collection of UserPublic instances.
815
+ *
816
+ * @example
817
+ * ```typescript
818
+ * const items: UserPublicArray = await api.getUserPublics();
819
+ * ```
820
+ *
821
+ * @see {@link UserPublic} - The individual UserPublic type definition
822
+ */
823
+ export type UserPublicArray = UserPublic[];
810
824
  /**
811
825
  * Period
812
826
  *
@@ -2816,21 +2816,21 @@ export type Pagination_Organization = components['schemas']['Pagination_Organiza
2816
2816
  */
2817
2817
  export type Pagination_RequestHistory = components['schemas']['Pagination_RequestHistory_'];
2818
2818
  /**
2819
- * Pagination[User]
2819
+ * Pagination[UserPublic]
2820
2820
  *
2821
2821
  * @remarks
2822
- * Type alias for the `Pagination_User_` OpenAPI schema.
2823
- * This type represents pagination[user] data structures used in API requests and responses.
2822
+ * Type alias for the `Pagination_UserPublic_` OpenAPI schema.
2823
+ * This type represents pagination[userpublic] data structures used in API requests and responses.
2824
2824
  *
2825
2825
  * @example
2826
2826
  * ```typescript
2827
- * const response = await api.getPagination_User();
2828
- * const item: Pagination_User = response.results;
2827
+ * const response = await api.getPagination_UserPublic();
2828
+ * const item: Pagination_UserPublic = response.results;
2829
2829
  * ```
2830
2830
  *
2831
2831
  * @see {@link components} - The OpenAPI components schema definition
2832
2832
  */
2833
- export type Pagination_User = components['schemas']['Pagination_User_'];
2833
+ export type Pagination_UserPublic = components['schemas']['Pagination_UserPublic_'];
2834
2834
  /**
2835
2835
  * PasswordUpdate
2836
2836
  *
@@ -3583,6 +3583,38 @@ export type UserAttribute = components['schemas']['UserAttributeResponse'];
3583
3583
  * @see {@link components} - The OpenAPI components schema definition
3584
3584
  */
3585
3585
  export type UserCreate = components['schemas']['UserCreate'];
3586
+ /**
3587
+ * UserPublic
3588
+ *
3589
+ * @remarks
3590
+ * Type alias for the `UserPublic` OpenAPI schema.
3591
+ * This type represents userpublic data structures used in API requests and responses.
3592
+ *
3593
+ * @example
3594
+ * ```typescript
3595
+ * const response = await api.getUserPublic();
3596
+ * const item: UserPublic = response.results;
3597
+ * ```
3598
+ *
3599
+ * @see {@link components} - The OpenAPI components schema definition
3600
+ */
3601
+ export type UserPublic = components['schemas']['UserPublic'];
3602
+ /**
3603
+ * UserPublicWithAttributes
3604
+ *
3605
+ * @remarks
3606
+ * Type alias for the `UserPublicWithAttributes` OpenAPI schema.
3607
+ * This type represents userpublicwithattributes data structures used in API requests and responses.
3608
+ *
3609
+ * @example
3610
+ * ```typescript
3611
+ * const response = await api.getUserPublicWithAttributes();
3612
+ * const item: UserPublicWithAttributes = response.results;
3613
+ * ```
3614
+ *
3615
+ * @see {@link components} - The OpenAPI components schema definition
3616
+ */
3617
+ export type UserPublicWithAttributes = components['schemas']['UserPublicWithAttributes'];
3586
3618
  /**
3587
3619
  * UserStatus
3588
3620
  *
@@ -3631,22 +3663,6 @@ export type UserToken = components['schemas']['UserTokenResponse'];
3631
3663
  * @see {@link components} - The OpenAPI components schema definition
3632
3664
  */
3633
3665
  export type UserUpdate = components['schemas']['UserUpdate'];
3634
- /**
3635
- * UserWithAttributes
3636
- *
3637
- * @remarks
3638
- * Type alias for the `UserWithAttributes` OpenAPI schema.
3639
- * This type represents userwithattributes data structures used in API requests and responses.
3640
- *
3641
- * @example
3642
- * ```typescript
3643
- * const response = await api.getUserWithAttributes();
3644
- * const item: UserWithAttributes = response.results;
3645
- * ```
3646
- *
3647
- * @see {@link components} - The OpenAPI components schema definition
3648
- */
3649
- export type UserWithAttributes = components['schemas']['UserWithAttributes'];
3650
3666
  /**
3651
3667
  * UserWithRelationPermissions
3652
3668
  *
package/src/openapi.yaml CHANGED
@@ -4569,19 +4569,19 @@ components:
4569
4569
  - pagination
4570
4570
  title: Pagination[RequestHistory]
4571
4571
  type: object
4572
- Pagination_User_:
4572
+ Pagination_UserPublic_:
4573
4573
  properties:
4574
4574
  pagination:
4575
4575
  $ref: '#/components/schemas/PaginationMetadata'
4576
4576
  results:
4577
4577
  items:
4578
- $ref: '#/components/schemas/User'
4578
+ $ref: '#/components/schemas/UserPublic'
4579
4579
  title: Results
4580
4580
  type: array
4581
4581
  required:
4582
4582
  - results
4583
4583
  - pagination
4584
- title: Pagination[User]
4584
+ title: Pagination[UserPublic]
4585
4585
  type: object
4586
4586
  PasswordUpdate:
4587
4587
  properties:
@@ -5472,6 +5472,12 @@ components:
5472
5472
  minLength: 1
5473
5473
  title: First Name
5474
5474
  type: string
5475
+ keycloak_user_id:
5476
+ anyOf:
5477
+ - type: string
5478
+ - type: 'null'
5479
+ description: Keycloak user id
5480
+ title: Keycloak User Id
5475
5481
  last_name:
5476
5482
  description: The user's last name
5477
5483
  minLength: 1
@@ -5626,93 +5632,92 @@ components:
5626
5632
  - password
5627
5633
  title: UserCreate
5628
5634
  type: object
5629
- UserStatus:
5630
- enum:
5631
- - active
5632
- - inactive
5633
- title: UserStatus
5634
- type: string
5635
- UserTokenResponse:
5635
+ UserPublic:
5636
5636
  properties:
5637
- access_token:
5638
- title: Access Token
5639
- type: string
5640
- expires_in:
5641
- title: Expires In
5642
- type: integer
5643
- refresh_expires_in:
5644
- title: Refresh Expires In
5645
- type: integer
5646
- refresh_token:
5647
- title: Refresh Token
5648
- type: string
5649
- token_type:
5650
- default: Bearer
5651
- title: Token Type
5637
+ created_on:
5638
+ description: The date/time the entry was created on
5639
+ format: date-time
5640
+ title: Created On
5652
5641
  type: string
5653
- required:
5654
- - access_token
5655
- - expires_in
5656
- - refresh_token
5657
- - refresh_expires_in
5658
- title: UserTokenResponse
5659
- type: object
5660
- UserUpdate:
5661
- properties:
5662
- email:
5642
+ deleted_on:
5663
5643
  anyOf:
5664
- - format: email
5644
+ - format: date-time
5665
5645
  type: string
5666
5646
  - type: 'null'
5647
+ description: The date/time the entry was deleted on
5648
+ title: Deleted On
5649
+ email:
5667
5650
  description: The user's email address
5651
+ format: email
5668
5652
  title: Email
5653
+ type: string
5669
5654
  first_name:
5670
- anyOf:
5671
- - minLength: 1
5672
- type: string
5673
- - type: 'null'
5674
5655
  description: The user's first name
5656
+ minLength: 1
5675
5657
  title: First Name
5658
+ type: string
5676
5659
  last_name:
5677
- anyOf:
5678
- - minLength: 1
5679
- type: string
5680
- - type: 'null'
5681
5660
  description: The user's last name
5661
+ minLength: 1
5682
5662
  title: Last Name
5663
+ type: string
5683
5664
  locale:
5684
- anyOf:
5685
- - examples:
5686
- - en_US
5687
- type: string
5688
- - type: 'null'
5689
- description: The user's locale
5665
+ examples:
5666
+ - en_US
5690
5667
  title: Locale
5668
+ type: string
5669
+ organization_id:
5670
+ default: None
5671
+ description: The user's organization id
5672
+ examples:
5673
+ - organization_01h45ytscbebyvny4gc8cr8ma2
5674
+ format: typeid
5675
+ pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
5676
+ title: Organization Id
5677
+ type: string
5678
+ x-typeid-prefix: organization
5691
5679
  phone:
5692
5680
  anyOf:
5693
5681
  - format: phone
5694
5682
  type: string
5695
5683
  - type: 'null'
5696
5684
  description: The user's phone number
5685
+ examples:
5686
+ - '+1.2125552368'
5697
5687
  title: Phone
5698
- user_attributes:
5699
- anyOf:
5700
- - items:
5701
- $ref: '#/components/schemas/UserAttributeBase'
5702
- type: array
5703
- - type: 'null'
5704
- description: User attributes
5705
- title: User Attributes
5688
+ status:
5689
+ $ref: '#/components/schemas/UserStatus'
5690
+ readOnly: true
5691
+ updated_on:
5692
+ description: The date/time the entry was last updated on
5693
+ format: date-time
5694
+ title: Updated On
5695
+ type: string
5696
+ user_id:
5697
+ examples:
5698
+ - user_01h45ytscbebyvny4gc8cr8ma2
5699
+ format: typeid
5700
+ pattern: ^user_[0-7][0-9a-hjkmnpq-tv-z]{25}$
5701
+ title: User Id
5702
+ type: string
5703
+ x-typeid-prefix: user
5706
5704
  username:
5707
- anyOf:
5708
- - minLength: 1
5709
- type: string
5710
- - type: 'null'
5711
5705
  description: The user's unique username
5706
+ maxLength: 128
5707
+ minLength: 3
5708
+ pattern: ^[a-zA-Z0-9\-+_@.]+$
5712
5709
  title: Username
5713
- title: UserUpdate
5710
+ type: string
5711
+ required:
5712
+ - username
5713
+ - first_name
5714
+ - last_name
5715
+ - email
5716
+ - locale
5717
+ - status
5718
+ title: UserPublic
5714
5719
  type: object
5715
- UserWithAttributes:
5720
+ UserPublicWithAttributes:
5716
5721
  properties:
5717
5722
  created_on:
5718
5723
  description: The date/time the entry was created on
@@ -5809,7 +5814,93 @@ components:
5809
5814
  - email
5810
5815
  - locale
5811
5816
  - status
5812
- title: UserWithAttributes
5817
+ title: UserPublicWithAttributes
5818
+ type: object
5819
+ UserStatus:
5820
+ enum:
5821
+ - active
5822
+ - inactive
5823
+ title: UserStatus
5824
+ type: string
5825
+ UserTokenResponse:
5826
+ properties:
5827
+ access_token:
5828
+ title: Access Token
5829
+ type: string
5830
+ expires_in:
5831
+ title: Expires In
5832
+ type: integer
5833
+ refresh_expires_in:
5834
+ title: Refresh Expires In
5835
+ type: integer
5836
+ refresh_token:
5837
+ title: Refresh Token
5838
+ type: string
5839
+ token_type:
5840
+ default: Bearer
5841
+ title: Token Type
5842
+ type: string
5843
+ required:
5844
+ - access_token
5845
+ - expires_in
5846
+ - refresh_token
5847
+ - refresh_expires_in
5848
+ title: UserTokenResponse
5849
+ type: object
5850
+ UserUpdate:
5851
+ properties:
5852
+ email:
5853
+ anyOf:
5854
+ - format: email
5855
+ type: string
5856
+ - type: 'null'
5857
+ description: The user's email address
5858
+ title: Email
5859
+ first_name:
5860
+ anyOf:
5861
+ - minLength: 1
5862
+ type: string
5863
+ - type: 'null'
5864
+ description: The user's first name
5865
+ title: First Name
5866
+ last_name:
5867
+ anyOf:
5868
+ - minLength: 1
5869
+ type: string
5870
+ - type: 'null'
5871
+ description: The user's last name
5872
+ title: Last Name
5873
+ locale:
5874
+ anyOf:
5875
+ - examples:
5876
+ - en_US
5877
+ type: string
5878
+ - type: 'null'
5879
+ description: The user's locale
5880
+ title: Locale
5881
+ phone:
5882
+ anyOf:
5883
+ - format: phone
5884
+ type: string
5885
+ - type: 'null'
5886
+ description: The user's phone number
5887
+ title: Phone
5888
+ user_attributes:
5889
+ anyOf:
5890
+ - items:
5891
+ $ref: '#/components/schemas/UserAttributeBase'
5892
+ type: array
5893
+ - type: 'null'
5894
+ description: User attributes
5895
+ title: User Attributes
5896
+ username:
5897
+ anyOf:
5898
+ - minLength: 1
5899
+ type: string
5900
+ - type: 'null'
5901
+ description: The user's unique username
5902
+ title: Username
5903
+ title: UserUpdate
5813
5904
  type: object
5814
5905
  UserWithRelationPermissions:
5815
5906
  properties:
@@ -6162,7 +6253,7 @@ info:
6162
6253
  '
6163
6254
  summary: OpusDNS - your gateway to a seamless domain management experience.
6164
6255
  title: OpusDNS API
6165
- version: 2025-12-30-174755
6256
+ version: 2025-12-30-205837
6166
6257
  x-logo:
6167
6258
  altText: OpusDNS API Reference
6168
6259
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -12962,7 +13053,7 @@ paths:
12962
13053
  content:
12963
13054
  application/json:
12964
13055
  schema:
12965
- $ref: '#/components/schemas/Pagination_User_'
13056
+ $ref: '#/components/schemas/Pagination_UserPublic_'
12966
13057
  description: Successful Response
12967
13058
  '401':
12968
13059
  content:
@@ -13655,7 +13746,7 @@ paths:
13655
13746
  content:
13656
13747
  application/json:
13657
13748
  schema:
13658
- $ref: '#/components/schemas/User'
13749
+ $ref: '#/components/schemas/UserPublic'
13659
13750
  description: Successful Response
13660
13751
  '422':
13661
13752
  content:
@@ -13808,7 +13899,7 @@ paths:
13808
13899
  content:
13809
13900
  application/json:
13810
13901
  schema:
13811
- $ref: '#/components/schemas/UserWithAttributes'
13902
+ $ref: '#/components/schemas/UserPublicWithAttributes'
13812
13903
  description: Successful Response
13813
13904
  '422':
13814
13905
  content:
@@ -13847,7 +13938,7 @@ paths:
13847
13938
  content:
13848
13939
  application/json:
13849
13940
  schema:
13850
- $ref: '#/components/schemas/UserWithAttributes'
13941
+ $ref: '#/components/schemas/UserPublicWithAttributes'
13851
13942
  description: Successful Response
13852
13943
  '422':
13853
13944
  content: