@opusdns/api 1.10.0 → 1.12.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/openapi.yaml CHANGED
@@ -2842,6 +2842,18 @@ components:
2842
2842
  format: date-time
2843
2843
  title: Updated On
2844
2844
  type: string
2845
+ vanity_nameserver_set_id:
2846
+ anyOf:
2847
+ - examples:
2848
+ - vns_01h45ytscbebyvny4gc8cr8ma2
2849
+ format: typeid
2850
+ pattern: ^vns_[0-7][0-9a-hjkmnpq-tv-z]{25}$
2851
+ type: string
2852
+ x-typeid-prefix: vns
2853
+ - type: 'null'
2854
+ description: Vanity NS set whose apex NS + SOA brand this zone, or null
2855
+ when the zone uses the system default nameservers.
2856
+ title: Vanity Nameserver Set Id
2845
2857
  required:
2846
2858
  - name
2847
2859
  - dns_zone_id
@@ -3747,6 +3759,99 @@ components:
3747
3759
  - results
3748
3760
  title: DomainForwardBrowserStatsResponse
3749
3761
  type: object
3762
+ DomainForwardCreateBulkCommand:
3763
+ properties:
3764
+ command:
3765
+ const: domain_forward_create_bulk
3766
+ default: domain_forward_create_bulk
3767
+ title: Command
3768
+ type: string
3769
+ idempotency_key:
3770
+ anyOf:
3771
+ - type: string
3772
+ - type: 'null'
3773
+ description: Idempotency key for this bulk command
3774
+ title: Idempotency Key
3775
+ payload:
3776
+ $ref: '#/components/schemas/DomainForwardCreateBulkPayload'
3777
+ description: Bulk domain forward create payload
3778
+ version:
3779
+ default: v1
3780
+ description: Command version
3781
+ title: Version
3782
+ type: string
3783
+ required:
3784
+ - payload
3785
+ title: DomainForwardCreateBulkCommand
3786
+ type: object
3787
+ DomainForwardCreateBulkInstance:
3788
+ properties:
3789
+ enabled:
3790
+ anyOf:
3791
+ - type: boolean
3792
+ - type: 'null'
3793
+ description: Override enabled setting for this hostname
3794
+ title: Enabled
3795
+ hostname:
3796
+ description: Hostname to create forward for
3797
+ title: Hostname
3798
+ type: string
3799
+ http:
3800
+ anyOf:
3801
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
3802
+ - type: 'null'
3803
+ description: Override HTTP redirects
3804
+ https:
3805
+ anyOf:
3806
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
3807
+ - type: 'null'
3808
+ description: Override HTTPS redirects
3809
+ required:
3810
+ - hostname
3811
+ title: DomainForwardCreateBulkInstance
3812
+ type: object
3813
+ DomainForwardCreateBulkPayload:
3814
+ properties:
3815
+ instances:
3816
+ description: List of domain forwards to create (1-1000)
3817
+ items:
3818
+ $ref: '#/components/schemas/DomainForwardCreateBulkInstance'
3819
+ maxItems: 1000
3820
+ minItems: 1
3821
+ title: Instances
3822
+ type: array
3823
+ template:
3824
+ $ref: '#/components/schemas/DomainForwardCreateBulkTemplate'
3825
+ description: Shared settings for all domain forwards
3826
+ required:
3827
+ - template
3828
+ - instances
3829
+ title: DomainForwardCreateBulkPayload
3830
+ type: object
3831
+ DomainForwardCreateBulkTemplate:
3832
+ properties:
3833
+ auto_create_zone:
3834
+ default: false
3835
+ description: Create apex DNS zone automatically when missing
3836
+ title: Auto Create Zone
3837
+ type: boolean
3838
+ enabled:
3839
+ default: false
3840
+ description: Whether domain forward should be enabled
3841
+ title: Enabled
3842
+ type: boolean
3843
+ http:
3844
+ anyOf:
3845
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
3846
+ - type: 'null'
3847
+ description: HTTP redirect definitions
3848
+ https:
3849
+ anyOf:
3850
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
3851
+ - type: 'null'
3852
+ description: HTTPS redirect definitions
3853
+ title: DomainForwardCreateBulkTemplate
3854
+ type: object
3750
3855
  DomainForwardCreateRequest:
3751
3856
  properties:
3752
3857
  enabled:
@@ -3768,6 +3873,153 @@ components:
3768
3873
  - hostname
3769
3874
  title: DomainForwardCreateRequest
3770
3875
  type: object
3876
+ DomainForwardDeleteBulkCommand:
3877
+ properties:
3878
+ command:
3879
+ const: domain_forward_delete_bulk
3880
+ default: domain_forward_delete_bulk
3881
+ title: Command
3882
+ type: string
3883
+ idempotency_key:
3884
+ anyOf:
3885
+ - type: string
3886
+ - type: 'null'
3887
+ description: Idempotency key for this bulk command
3888
+ title: Idempotency Key
3889
+ payload:
3890
+ $ref: '#/components/schemas/DomainForwardDeleteBulkPayload'
3891
+ description: Bulk domain forward delete payload
3892
+ version:
3893
+ default: v1
3894
+ description: Command version
3895
+ title: Version
3896
+ type: string
3897
+ required:
3898
+ - payload
3899
+ title: DomainForwardDeleteBulkCommand
3900
+ type: object
3901
+ DomainForwardDeleteBulkInstance:
3902
+ properties:
3903
+ hostname:
3904
+ description: Hostname to delete forwarding for
3905
+ title: Hostname
3906
+ type: string
3907
+ required:
3908
+ - hostname
3909
+ title: DomainForwardDeleteBulkInstance
3910
+ type: object
3911
+ DomainForwardDeleteBulkPayload:
3912
+ properties:
3913
+ instances:
3914
+ description: List of hostnames to delete forwarding for (1-1000)
3915
+ items:
3916
+ $ref: '#/components/schemas/DomainForwardDeleteBulkInstance'
3917
+ maxItems: 1000
3918
+ minItems: 1
3919
+ title: Instances
3920
+ type: array
3921
+ required:
3922
+ - instances
3923
+ title: DomainForwardDeleteBulkPayload
3924
+ type: object
3925
+ DomainForwardDisableBulkCommand:
3926
+ properties:
3927
+ command:
3928
+ const: domain_forward_disable_bulk
3929
+ default: domain_forward_disable_bulk
3930
+ title: Command
3931
+ type: string
3932
+ idempotency_key:
3933
+ anyOf:
3934
+ - type: string
3935
+ - type: 'null'
3936
+ description: Idempotency key for this bulk command
3937
+ title: Idempotency Key
3938
+ payload:
3939
+ $ref: '#/components/schemas/DomainForwardDisableBulkPayload'
3940
+ description: Bulk domain forward disable payload
3941
+ version:
3942
+ default: v1
3943
+ description: Command version
3944
+ title: Version
3945
+ type: string
3946
+ required:
3947
+ - payload
3948
+ title: DomainForwardDisableBulkCommand
3949
+ type: object
3950
+ DomainForwardDisableBulkInstance:
3951
+ properties:
3952
+ hostname:
3953
+ description: Hostname to disable forwarding for
3954
+ title: Hostname
3955
+ type: string
3956
+ required:
3957
+ - hostname
3958
+ title: DomainForwardDisableBulkInstance
3959
+ type: object
3960
+ DomainForwardDisableBulkPayload:
3961
+ properties:
3962
+ instances:
3963
+ description: List of hostnames to disable forwarding for (1-1000)
3964
+ items:
3965
+ $ref: '#/components/schemas/DomainForwardDisableBulkInstance'
3966
+ maxItems: 1000
3967
+ minItems: 1
3968
+ title: Instances
3969
+ type: array
3970
+ required:
3971
+ - instances
3972
+ title: DomainForwardDisableBulkPayload
3973
+ type: object
3974
+ DomainForwardEnableBulkCommand:
3975
+ properties:
3976
+ command:
3977
+ const: domain_forward_enable_bulk
3978
+ default: domain_forward_enable_bulk
3979
+ title: Command
3980
+ type: string
3981
+ idempotency_key:
3982
+ anyOf:
3983
+ - type: string
3984
+ - type: 'null'
3985
+ description: Idempotency key for this bulk command
3986
+ title: Idempotency Key
3987
+ payload:
3988
+ $ref: '#/components/schemas/DomainForwardEnableBulkPayload'
3989
+ description: Bulk domain forward enable payload
3990
+ version:
3991
+ default: v1
3992
+ description: Command version
3993
+ title: Version
3994
+ type: string
3995
+ required:
3996
+ - payload
3997
+ title: DomainForwardEnableBulkCommand
3998
+ type: object
3999
+ DomainForwardEnableBulkInstance:
4000
+ properties:
4001
+ hostname:
4002
+ description: Hostname to enable forwarding for
4003
+ title: Hostname
4004
+ type: string
4005
+ required:
4006
+ - hostname
4007
+ title: DomainForwardEnableBulkInstance
4008
+ type: object
4009
+ DomainForwardEnableBulkPayload:
4010
+ properties:
4011
+ instances:
4012
+ description: List of hostnames to enable forwarding for (1-1000)
4013
+ items:
4014
+ $ref: '#/components/schemas/DomainForwardEnableBulkInstance'
4015
+ maxItems: 1000
4016
+ minItems: 1
4017
+ title: Instances
4018
+ type: array
4019
+ required:
4020
+ - instances
4021
+ title: DomainForwardEnableBulkPayload
4022
+ type: object
3771
4023
  DomainForwardGeoStatsResponse:
3772
4024
  properties:
3773
4025
  results:
@@ -3962,6 +4214,95 @@ components:
3962
4214
  - results
3963
4215
  title: DomainForwardStatusCodeStatsResponse
3964
4216
  type: object
4217
+ DomainForwardUpdateBulkCommand:
4218
+ properties:
4219
+ command:
4220
+ const: domain_forward_update_bulk
4221
+ default: domain_forward_update_bulk
4222
+ title: Command
4223
+ type: string
4224
+ idempotency_key:
4225
+ anyOf:
4226
+ - type: string
4227
+ - type: 'null'
4228
+ description: Idempotency key for this bulk command
4229
+ title: Idempotency Key
4230
+ payload:
4231
+ $ref: '#/components/schemas/DomainForwardUpdateBulkPayload'
4232
+ description: Bulk domain forward update payload
4233
+ version:
4234
+ default: v1
4235
+ description: Command version
4236
+ title: Version
4237
+ type: string
4238
+ required:
4239
+ - payload
4240
+ title: DomainForwardUpdateBulkCommand
4241
+ type: object
4242
+ DomainForwardUpdateBulkInstance:
4243
+ properties:
4244
+ enabled:
4245
+ anyOf:
4246
+ - type: boolean
4247
+ - type: 'null'
4248
+ description: Override enabled setting for this hostname
4249
+ title: Enabled
4250
+ hostname:
4251
+ description: Hostname to update forward for
4252
+ title: Hostname
4253
+ type: string
4254
+ http:
4255
+ anyOf:
4256
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
4257
+ - type: 'null'
4258
+ description: Override HTTP redirects
4259
+ https:
4260
+ anyOf:
4261
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
4262
+ - type: 'null'
4263
+ description: Override HTTPS redirects
4264
+ required:
4265
+ - hostname
4266
+ title: DomainForwardUpdateBulkInstance
4267
+ type: object
4268
+ DomainForwardUpdateBulkPayload:
4269
+ properties:
4270
+ instances:
4271
+ description: List of domain forwards to update (1-1000)
4272
+ items:
4273
+ $ref: '#/components/schemas/DomainForwardUpdateBulkInstance'
4274
+ maxItems: 1000
4275
+ minItems: 1
4276
+ title: Instances
4277
+ type: array
4278
+ template:
4279
+ $ref: '#/components/schemas/DomainForwardUpdateBulkTemplate'
4280
+ description: Shared settings for all domain forwards
4281
+ required:
4282
+ - template
4283
+ - instances
4284
+ title: DomainForwardUpdateBulkPayload
4285
+ type: object
4286
+ DomainForwardUpdateBulkTemplate:
4287
+ properties:
4288
+ enabled:
4289
+ description: Whether domain forward should be enabled
4290
+ title: Enabled
4291
+ type: boolean
4292
+ http:
4293
+ anyOf:
4294
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
4295
+ - type: 'null'
4296
+ description: HTTP redirect definitions
4297
+ https:
4298
+ anyOf:
4299
+ - $ref: '#/components/schemas/DomainForwardProtocolSetRequest'
4300
+ - type: 'null'
4301
+ description: HTTPS redirect definitions
4302
+ required:
4303
+ - enabled
4304
+ title: DomainForwardUpdateBulkTemplate
4305
+ type: object
3965
4306
  DomainForwardUserAgentStatsResponse:
3966
4307
  properties:
3967
4308
  results:
@@ -6570,6 +6911,11 @@ components:
6570
6911
  dns_zone_update_bulk: '#/components/schemas/DnsZoneUpdateBulkCommand'
6571
6912
  domain_create: '#/components/schemas/DomainCreateCommand'
6572
6913
  domain_create_bulk: '#/components/schemas/DomainCreateBulkCommand'
6914
+ domain_forward_create_bulk: '#/components/schemas/DomainForwardCreateBulkCommand'
6915
+ domain_forward_delete_bulk: '#/components/schemas/DomainForwardDeleteBulkCommand'
6916
+ domain_forward_disable_bulk: '#/components/schemas/DomainForwardDisableBulkCommand'
6917
+ domain_forward_enable_bulk: '#/components/schemas/DomainForwardEnableBulkCommand'
6918
+ domain_forward_update_bulk: '#/components/schemas/DomainForwardUpdateBulkCommand'
6573
6919
  domain_transfer: '#/components/schemas/DomainTransferCommand'
6574
6920
  domain_transfer_bulk: '#/components/schemas/DomainTransferBulkCommand'
6575
6921
  domain_update: '#/components/schemas/DomainUpdateCommand'
@@ -6598,6 +6944,11 @@ components:
6598
6944
  - $ref: '#/components/schemas/ParkingEnableBulkCommand'
6599
6945
  - $ref: '#/components/schemas/ParkingDisableBulkCommand'
6600
6946
  - $ref: '#/components/schemas/ParkingDeleteBulkCommand'
6947
+ - $ref: '#/components/schemas/DomainForwardCreateBulkCommand'
6948
+ - $ref: '#/components/schemas/DomainForwardUpdateBulkCommand'
6949
+ - $ref: '#/components/schemas/DomainForwardEnableBulkCommand'
6950
+ - $ref: '#/components/schemas/DomainForwardDisableBulkCommand'
6951
+ - $ref: '#/components/schemas/DomainForwardDeleteBulkCommand'
6601
6952
  maxItems: 50000
6602
6953
  title: Commands
6603
6954
  type: array
@@ -8493,19 +8844,19 @@ components:
8493
8844
  - pagination
8494
8845
  title: Pagination[TagResponse]
8495
8846
  type: object
8496
- Pagination_UserPublic_:
8847
+ Pagination_UserPublicWithRole_:
8497
8848
  properties:
8498
8849
  pagination:
8499
8850
  $ref: '#/components/schemas/PaginationMetadata'
8500
8851
  results:
8501
8852
  items:
8502
- $ref: '#/components/schemas/UserPublic'
8853
+ $ref: '#/components/schemas/UserPublicWithRole'
8503
8854
  title: Results
8504
8855
  type: array
8505
8856
  required:
8506
8857
  - results
8507
8858
  - pagination
8508
- title: Pagination[UserPublic]
8859
+ title: Pagination[UserPublicWithRole]
8509
8860
  type: object
8510
8861
  ParkingActionPayloadData:
8511
8862
  properties:
@@ -11017,6 +11368,97 @@ components:
11017
11368
  - status
11018
11369
  title: UserPublicWithAttributes
11019
11370
  type: object
11371
+ UserPublicWithRole:
11372
+ properties:
11373
+ created_on:
11374
+ description: The date/time the entry was created on
11375
+ format: date-time
11376
+ title: Created On
11377
+ type: string
11378
+ deleted_on:
11379
+ anyOf:
11380
+ - format: date-time
11381
+ type: string
11382
+ - type: 'null'
11383
+ description: The date/time the entry was deleted on
11384
+ title: Deleted On
11385
+ email:
11386
+ description: The user's email address
11387
+ format: email
11388
+ title: Email
11389
+ type: string
11390
+ first_name:
11391
+ description: The user's first name
11392
+ maxLength: 255
11393
+ minLength: 1
11394
+ title: First Name
11395
+ type: string
11396
+ last_name:
11397
+ description: The user's last name
11398
+ maxLength: 255
11399
+ minLength: 1
11400
+ title: Last Name
11401
+ type: string
11402
+ locale:
11403
+ examples:
11404
+ - en_US
11405
+ title: Locale
11406
+ type: string
11407
+ organization_id:
11408
+ default: None
11409
+ description: The user's organization id
11410
+ examples:
11411
+ - organization_01h45ytscbebyvny4gc8cr8ma2
11412
+ format: typeid
11413
+ pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
11414
+ title: Organization Id
11415
+ type: string
11416
+ x-typeid-prefix: organization
11417
+ phone:
11418
+ anyOf:
11419
+ - format: phone
11420
+ type: string
11421
+ - type: 'null'
11422
+ description: The user's phone number
11423
+ examples:
11424
+ - '+1.2125552368'
11425
+ title: Phone
11426
+ role:
11427
+ anyOf:
11428
+ - $ref: '#/components/schemas/PublicRole'
11429
+ - type: 'null'
11430
+ status:
11431
+ $ref: '#/components/schemas/UserStatus'
11432
+ readOnly: true
11433
+ updated_on:
11434
+ description: The date/time the entry was last updated on
11435
+ format: date-time
11436
+ title: Updated On
11437
+ type: string
11438
+ user_id:
11439
+ examples:
11440
+ - user_01h45ytscbebyvny4gc8cr8ma2
11441
+ format: typeid
11442
+ pattern: ^user_[0-7][0-9a-hjkmnpq-tv-z]{25}$
11443
+ title: User Id
11444
+ type: string
11445
+ x-typeid-prefix: user
11446
+ username:
11447
+ description: The user's unique username
11448
+ maxLength: 128
11449
+ minLength: 3
11450
+ pattern: ^[a-zA-Z0-9\-+_@.]+$
11451
+ title: Username
11452
+ type: string
11453
+ required:
11454
+ - username
11455
+ - first_name
11456
+ - last_name
11457
+ - email
11458
+ - locale
11459
+ - status
11460
+ title: UserPublicWithRole
11461
+ type: object
11020
11462
  UserSortField:
11021
11463
  enum:
11022
11464
  - created_on
@@ -11123,7 +11565,7 @@ components:
11123
11565
  title: Username
11124
11566
  title: UserUpdate
11125
11567
  type: object
11126
- UserWithPermissions:
11568
+ UserWithAuthorization:
11127
11569
  properties:
11128
11570
  created_on:
11129
11571
  description: The date/time the entry was created on
@@ -11185,6 +11627,10 @@ components:
11185
11627
  examples:
11186
11628
  - '+1.2125552368'
11187
11629
  title: Phone
11630
+ role:
11631
+ anyOf:
11632
+ - $ref: '#/components/schemas/PublicRole'
11633
+ - type: 'null'
11188
11634
  status:
11189
11635
  $ref: '#/components/schemas/UserStatus'
11190
11636
  readOnly: true
@@ -11229,7 +11675,7 @@ components:
11229
11675
  - email
11230
11676
  - locale
11231
11677
  - status
11232
- title: UserWithPermissions
11678
+ title: UserWithAuthorization
11233
11679
  type: object
11234
11680
  ValidationError:
11235
11681
  properties:
@@ -11555,7 +12001,7 @@ info:
11555
12001
  \n\n"
11556
12002
  summary: OpusDNS - your gateway to a seamless domain management experience.
11557
12003
  title: OpusDNS API
11558
- version: 2026-06-11-130907
12004
+ version: 2026-06-11-173831
11559
12005
  x-logo:
11560
12006
  altText: OpusDNS API Reference
11561
12007
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -23515,7 +23961,7 @@ paths:
23515
23961
  content:
23516
23962
  application/json:
23517
23963
  schema:
23518
- $ref: '#/components/schemas/Pagination_UserPublic_'
23964
+ $ref: '#/components/schemas/Pagination_UserPublicWithRole_'
23519
23965
  description: Successful Response
23520
23966
  '401':
23521
23967
  content:
@@ -25424,7 +25870,7 @@ paths:
25424
25870
  content:
25425
25871
  application/json:
25426
25872
  schema:
25427
- $ref: '#/components/schemas/UserWithPermissions'
25873
+ $ref: '#/components/schemas/UserWithAuthorization'
25428
25874
  description: Successful Response
25429
25875
  '422':
25430
25876
  content: