@opusdns/api 0.245.0 → 0.247.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 +26 -0
- package/src/openapi.yaml +107 -1
- package/src/schema.d.ts +5 -0
package/package.json
CHANGED
package/src/helpers/keys.ts
CHANGED
|
@@ -24821,6 +24821,31 @@ export const KEY_JOB_CREATED_ON: keyof Job = 'created_on';
|
|
|
24821
24821
|
* @see {@link KEYS_JOB} - Array of all keys for this type
|
|
24822
24822
|
*/
|
|
24823
24823
|
export const KEY_JOB_DISPLAY: keyof Job = 'display';
|
|
24824
|
+
/**
|
|
24825
|
+
* Domain Name
|
|
24826
|
+
*
|
|
24827
|
+
* Domain name associated with this job
|
|
24828
|
+
*
|
|
24829
|
+
*
|
|
24830
|
+
*
|
|
24831
|
+
* @remarks
|
|
24832
|
+
* This key constant provides type-safe access to the `domain_name` property of Job objects.
|
|
24833
|
+
* Use this constant when you need to access properties dynamically or ensure type safety.
|
|
24834
|
+
*
|
|
24835
|
+
* @example
|
|
24836
|
+
* ```typescript
|
|
24837
|
+
* // Direct property access
|
|
24838
|
+
* const value = job[KEY_JOB_DOMAIN_NAME];
|
|
24839
|
+
*
|
|
24840
|
+
* // Dynamic property access
|
|
24841
|
+
* const propertyName = KEY_JOB_DOMAIN_NAME;
|
|
24842
|
+
* const value = job[propertyName];
|
|
24843
|
+
* ```
|
|
24844
|
+
*
|
|
24845
|
+
* @see {@link Job} - The TypeScript type definition
|
|
24846
|
+
* @see {@link KEYS_JOB} - Array of all keys for this type
|
|
24847
|
+
*/
|
|
24848
|
+
export const KEY_JOB_DOMAIN_NAME: keyof Job = 'domain_name';
|
|
24824
24849
|
/**
|
|
24825
24850
|
* Error Class
|
|
24826
24851
|
*
|
|
@@ -25098,6 +25123,7 @@ export const KEYS_JOB = [
|
|
|
25098
25123
|
KEY_JOB_COMMAND,
|
|
25099
25124
|
KEY_JOB_CREATED_ON,
|
|
25100
25125
|
KEY_JOB_DISPLAY,
|
|
25126
|
+
KEY_JOB_DOMAIN_NAME,
|
|
25101
25127
|
KEY_JOB_ERROR_CLASS,
|
|
25102
25128
|
KEY_JOB_ERROR_MESSAGE,
|
|
25103
25129
|
KEY_JOB_FINISHED_AT,
|
package/src/openapi.yaml
CHANGED
|
@@ -5892,6 +5892,12 @@ components:
|
|
|
5892
5892
|
- type: 'null'
|
|
5893
5893
|
description: Human-readable description of this job
|
|
5894
5894
|
title: Display
|
|
5895
|
+
domain_name:
|
|
5896
|
+
anyOf:
|
|
5897
|
+
- type: string
|
|
5898
|
+
- type: 'null'
|
|
5899
|
+
description: Domain name associated with this job
|
|
5900
|
+
title: Domain Name
|
|
5895
5901
|
error_class:
|
|
5896
5902
|
anyOf:
|
|
5897
5903
|
- type: string
|
|
@@ -9756,7 +9762,7 @@ info:
|
|
|
9756
9762
|
\n\n"
|
|
9757
9763
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
9758
9764
|
title: OpusDNS API
|
|
9759
|
-
version: 2026-04-
|
|
9765
|
+
version: 2026-04-11-180046
|
|
9760
9766
|
x-logo:
|
|
9761
9767
|
altText: OpusDNS API Reference
|
|
9762
9768
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -18632,19 +18638,50 @@ paths:
|
|
|
18632
18638
|
total_pages: 1
|
|
18633
18639
|
results:
|
|
18634
18640
|
- attempts: 1
|
|
18641
|
+
command: domain_create_bulk
|
|
18635
18642
|
created_on: '2025-01-15T10:00:00Z'
|
|
18643
|
+
display: Create Domain 'invalid-domain.com'
|
|
18644
|
+
domain_name: invalid-domain.com
|
|
18636
18645
|
error_class: ValidationError
|
|
18637
18646
|
error_message: Domain name contains invalid characters
|
|
18638
18647
|
finished_at: '2025-01-15T10:00:06Z'
|
|
18639
18648
|
job_id: job_01h45ytscbebyvny4gc8cr8ma6
|
|
18649
|
+
operation: create
|
|
18650
|
+
payload:
|
|
18651
|
+
domain:
|
|
18652
|
+
contacts:
|
|
18653
|
+
admin:
|
|
18654
|
+
- contact_id: contact_01h45ytscbebyvny4gc8ab1
|
|
18655
|
+
name: invalid-domain.com
|
|
18656
|
+
period:
|
|
18657
|
+
unit: y
|
|
18658
|
+
value: 1
|
|
18659
|
+
renewal_mode: renew
|
|
18660
|
+
operation: create
|
|
18661
|
+
type: domain_create_bulk
|
|
18662
|
+
resource_key: invalid-domain.com
|
|
18640
18663
|
started_at: '2025-01-15T10:00:05Z'
|
|
18641
18664
|
status: failed
|
|
18642
18665
|
- attempts: 5
|
|
18666
|
+
command: domain_update_bulk
|
|
18643
18667
|
created_on: '2025-01-15T10:00:00Z'
|
|
18668
|
+
display: Update Domain 'flaky-domain.com'
|
|
18669
|
+
domain_name: flaky-domain.com
|
|
18644
18670
|
error_class: RegistryError
|
|
18645
18671
|
error_message: Registry unavailable after 5 retry attempts
|
|
18646
18672
|
finished_at: '2025-01-15T10:15:30Z'
|
|
18647
18673
|
job_id: job_01h45ytscbebyvny4gc8cr8ma7
|
|
18674
|
+
operation: update
|
|
18675
|
+
payload:
|
|
18676
|
+
domain:
|
|
18677
|
+
domain_id: domain_01h45ytscbebyvny4gc8cr8x3
|
|
18678
|
+
nameservers:
|
|
18679
|
+
- hostname: ns1.example.com
|
|
18680
|
+
- hostname: ns2.example.com
|
|
18681
|
+
renewal_mode: renew
|
|
18682
|
+
operation: update
|
|
18683
|
+
type: domain_update_bulk
|
|
18684
|
+
resource_key: domain_01h45ytscbebyvny4gc8cr8x3
|
|
18648
18685
|
started_at: '2025-01-15T10:05:00Z'
|
|
18649
18686
|
status: dead_letter
|
|
18650
18687
|
mixed_status:
|
|
@@ -18660,25 +18697,94 @@ paths:
|
|
|
18660
18697
|
total_pages: 1
|
|
18661
18698
|
results:
|
|
18662
18699
|
- attempts: 1
|
|
18700
|
+
command: domain_update_bulk
|
|
18663
18701
|
created_on: '2025-01-15T10:00:00Z'
|
|
18702
|
+
display: Update Domain 'example.com'
|
|
18703
|
+
domain_name: example.com
|
|
18664
18704
|
finished_at: '2025-01-15T10:00:12Z'
|
|
18665
18705
|
job_id: job_01h45ytscbebyvny4gc8cr8ma2
|
|
18706
|
+
operation: update
|
|
18707
|
+
payload:
|
|
18708
|
+
domain:
|
|
18709
|
+
contacts:
|
|
18710
|
+
admin:
|
|
18711
|
+
- contact_id: contact_01h45ytscbebyvny4gc8ab1
|
|
18712
|
+
tech:
|
|
18713
|
+
- contact_id: contact_01h45ytscbebyvny4gc8ab1
|
|
18714
|
+
domain_id: domain_01h45ytscbebyvny4gc8cr8x1
|
|
18715
|
+
nameservers:
|
|
18716
|
+
- hostname: ns1.example.com
|
|
18717
|
+
- hostname: ns2.example.com
|
|
18718
|
+
renewal_mode: renew
|
|
18719
|
+
operation: update
|
|
18720
|
+
type: domain_update_bulk
|
|
18721
|
+
resource_key: domain_01h45ytscbebyvny4gc8cr8x1
|
|
18666
18722
|
started_at: '2025-01-15T10:00:05Z'
|
|
18667
18723
|
status: succeeded
|
|
18668
18724
|
- attempts: 1
|
|
18725
|
+
command: domain_update_bulk
|
|
18669
18726
|
created_on: '2025-01-15T10:00:00Z'
|
|
18727
|
+
display: Update Domain 'example.org'
|
|
18728
|
+
domain_name: example.org
|
|
18670
18729
|
finished_at: '2025-01-15T10:00:15Z'
|
|
18671
18730
|
job_id: job_01h45ytscbebyvny4gc8cr8ma3
|
|
18731
|
+
operation: update
|
|
18732
|
+
payload:
|
|
18733
|
+
domain:
|
|
18734
|
+
domain_id: domain_01h45ytscbebyvny4gc8cr8x2
|
|
18735
|
+
renewal_mode: expire
|
|
18736
|
+
status_changes:
|
|
18737
|
+
add:
|
|
18738
|
+
- clientHold
|
|
18739
|
+
remove: []
|
|
18740
|
+
operation: update
|
|
18741
|
+
type: domain_update_bulk
|
|
18742
|
+
resource_key: domain_01h45ytscbebyvny4gc8cr8x2
|
|
18672
18743
|
started_at: '2025-01-15T10:00:06Z'
|
|
18673
18744
|
status: succeeded
|
|
18674
18745
|
- attempts: 1
|
|
18746
|
+
command: domain_create_bulk
|
|
18675
18747
|
created_on: '2025-01-15T10:00:00Z'
|
|
18748
|
+
display: Create Domain 'newdomain.com'
|
|
18749
|
+
domain_name: newdomain.com
|
|
18676
18750
|
job_id: job_01h45ytscbebyvny4gc8cr8ma4
|
|
18751
|
+
operation: create
|
|
18752
|
+
payload:
|
|
18753
|
+
domain:
|
|
18754
|
+
contacts:
|
|
18755
|
+
admin:
|
|
18756
|
+
- contact_id: contact_01h45ytscbebyvny4gc8ab1
|
|
18757
|
+
registrant:
|
|
18758
|
+
- contact_id: contact_01h45ytscbebyvny4gc8ab1
|
|
18759
|
+
tech:
|
|
18760
|
+
- contact_id: contact_01h45ytscbebyvny4gc8ab1
|
|
18761
|
+
create_zone: false
|
|
18762
|
+
name: newdomain.com
|
|
18763
|
+
nameservers:
|
|
18764
|
+
- hostname: ns1.example.com
|
|
18765
|
+
- hostname: ns2.example.com
|
|
18766
|
+
period:
|
|
18767
|
+
unit: y
|
|
18768
|
+
value: 1
|
|
18769
|
+
renewal_mode: renew
|
|
18770
|
+
operation: create
|
|
18771
|
+
type: domain_create_bulk
|
|
18772
|
+
resource_key: newdomain.com
|
|
18677
18773
|
started_at: '2025-01-15T10:00:07Z'
|
|
18678
18774
|
status: running
|
|
18679
18775
|
- attempts: 0
|
|
18776
|
+
command: dns_zone_create_bulk
|
|
18680
18777
|
created_on: '2025-01-15T10:00:00Z'
|
|
18778
|
+
display: Create DNS Zone 'example.net'
|
|
18681
18779
|
job_id: job_01h45ytscbebyvny4gc8cr8ma5
|
|
18780
|
+
operation: create
|
|
18781
|
+
payload:
|
|
18782
|
+
operation: create
|
|
18783
|
+
type: dns_zone_create_bulk
|
|
18784
|
+
zone:
|
|
18785
|
+
name: example.net
|
|
18786
|
+
rrsets: []
|
|
18787
|
+
resource_key: example.net
|
|
18682
18788
|
status: queued
|
|
18683
18789
|
schema:
|
|
18684
18790
|
$ref: '#/components/schemas/Pagination_JobResponse_'
|
package/src/schema.d.ts
CHANGED
|
@@ -6163,6 +6163,11 @@ export interface components {
|
|
|
6163
6163
|
* @description Human-readable description of this job
|
|
6164
6164
|
*/
|
|
6165
6165
|
display?: string | null;
|
|
6166
|
+
/**
|
|
6167
|
+
* Domain Name
|
|
6168
|
+
* @description Domain name associated with this job
|
|
6169
|
+
*/
|
|
6170
|
+
domain_name?: string | null;
|
|
6166
6171
|
/**
|
|
6167
6172
|
* Error Class
|
|
6168
6173
|
* @description Error type if the job failed (e.g., ValidationError, TimeoutError)
|