@opusdns/api 0.118.0 → 0.120.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": "^0.9.1"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.118.0",
6
+ "version": "0.120.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -1669,7 +1669,7 @@ export type PATCH_DomainForwardsHostnameDisable_Request_Path = PATCH_DomainForwa
1669
1669
  * Request type for PATCH DomainForwardsHostnameEnable endpoint
1670
1670
  *
1671
1671
  * Enable domain forward
1672
- * Enables domain forwarding by creating necessary DNS records. Optionally auto-creates the zone and domain forward if they don't exist.
1672
+ * Enables domain forwarding by creating necessary DNS records
1673
1673
  *
1674
1674
  * @remarks
1675
1675
  * This type defines the complete request structure for the PATCH DomainForwardsHostnameEnable endpoint.
@@ -3435,7 +3435,7 @@ export type PATCH_DomainForwardsByHostnameDisable_Response_422 = HTTPValidationE
3435
3435
  * Response types for PATCH DomainForwardsByHostnameEnable endpoint
3436
3436
  *
3437
3437
  * Enable domain forward
3438
- * Enables domain forwarding by creating necessary DNS records. Optionally auto-creates the zone and domain forward if they don't exist.
3438
+ * Enables domain forwarding by creating necessary DNS records
3439
3439
  *
3440
3440
  * @remarks
3441
3441
  * This type defines all possible response structures for the PATCH DomainForwardsByHostnameEnable endpoint.
package/src/openapi.yaml CHANGED
@@ -5922,7 +5922,7 @@ info:
5922
5922
  '
5923
5923
  summary: OpusDNS - your gateway to a seamless domain management experience.
5924
5924
  title: OpusDNS API
5925
- version: 2025-12-09-194737
5925
+ version: 2025-12-10-084326
5926
5926
  x-logo:
5927
5927
  altText: OpusDNS API Reference
5928
5928
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -9162,8 +9162,7 @@ paths:
9162
9162
  - domain_forward
9163
9163
  /v1/domain-forwards/{hostname}/enable:
9164
9164
  patch:
9165
- description: Enables domain forwarding by creating necessary DNS records. Optionally
9166
- auto-creates the zone and domain forward if they don't exist.
9165
+ description: Enables domain forwarding by creating necessary DNS records
9167
9166
  operationId: enable_domain_forward_v1_domain_forwards__hostname__enable_patch
9168
9167
  parameters:
9169
9168
  - description: Hostname
@@ -13488,8 +13487,78 @@ tags:
13488
13487
  '
13489
13488
  name: availability
13490
13489
  x-displayName: Availability
13491
- - description: 'Endpoints for submitting and tracking batch command execution (internal
13492
- preview).
13490
+ - description: 'Endpoints for submitting and tracking batch command execution.
13491
+
13492
+
13493
+ The Jobs API enables asynchronous execution of bulk operations through batches.
13494
+ Submit multiple commands in a single request and poll for completion status.
13495
+
13496
+
13497
+ ## Supported Commands
13498
+
13499
+
13500
+ | Command | Description |
13501
+
13502
+ |---------|-------------|
13503
+
13504
+ | `domain_create` | Register a new domain |
13505
+
13506
+ | `domain_update` | Modify domain settings (contacts, nameservers, renewal mode)
13507
+ |
13508
+
13509
+ | `domain_transfer` | Initiate an inbound domain transfer |
13510
+
13511
+ | `dns_zone_create` | Create a new DNS zone with optional records |
13512
+
13513
+
13514
+ ## Batch Lifecycle
13515
+
13516
+
13517
+ Each job within a batch transitions through states:
13518
+
13519
+
13520
+ 1. **queued** - Awaiting processing
13521
+
13522
+ 2. **running** - Currently being executed
13523
+
13524
+ 3. **succeeded** - Completed successfully
13525
+
13526
+ 4. **failed** - Execution failed (check `error_class` and `error_message`)
13527
+
13528
+ 5. **canceled** - Job was canceled before completion
13529
+
13530
+ 6. **dead_letter** - Permanently failed after exhausting retries
13531
+
13532
+
13533
+ ## Usage Pattern
13534
+
13535
+
13536
+ 1. **Submit a batch** - `POST /v1/jobs` with an array of commands
13537
+
13538
+ 2. **Poll for status** - `GET /v1/jobs/{batch_id}` to check progress
13539
+
13540
+ 3. **Review results** - `GET /v1/jobs/{batch_id}/jobs` to see individual job outcomes
13541
+
13542
+
13543
+ ## Limits
13544
+
13545
+
13546
+ - Maximum **50,000 commands** per batch
13547
+
13548
+
13549
+ ## Scheduling
13550
+
13551
+
13552
+ Use `not_before` to schedule batch execution for a future time (UTC timestamp).
13553
+ If not provided, processing begins immediately.
13554
+
13555
+
13556
+ ## Idempotency
13557
+
13558
+
13559
+ Each command can include an optional `idempotency_key` to prevent duplicate execution.
13560
+ If a command with the same idempotency key has already been processed, it will
13561
+ be skipped.
13493
13562
 
13494
13563
  '
13495
13564
  name: jobs
@@ -13578,3 +13647,4 @@ x-tagGroups:
13578
13647
  - rdap
13579
13648
  - domain_search
13580
13649
  - archive
13650
+ - jobs
package/src/schema.d.ts CHANGED
@@ -549,7 +549,7 @@ export interface paths {
549
549
  head?: never;
550
550
  /**
551
551
  * Enable domain forward
552
- * @description Enables domain forwarding by creating necessary DNS records. Optionally auto-creates the zone and domain forward if they don't exist.
552
+ * @description Enables domain forwarding by creating necessary DNS records
553
553
  */
554
554
  patch: operations["enable_domain_forward_v1_domain_forwards__hostname__enable_patch"];
555
555
  trace?: never;