@opusdns/api 0.6.0 → 0.8.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/openapi.yaml +293 -7
- package/src/schema.d.ts +156 -7
- package/src/types/constants.ts +20 -1
- package/src/types/types.ts +3 -1
package/package.json
CHANGED
package/src/openapi.yaml
CHANGED
|
@@ -657,6 +657,17 @@ components:
|
|
|
657
657
|
- rdata
|
|
658
658
|
title: DnsRecordCreate
|
|
659
659
|
type: object
|
|
660
|
+
DnsRecordPatchOp:
|
|
661
|
+
properties:
|
|
662
|
+
op:
|
|
663
|
+
$ref: '#/components/schemas/PatchOp'
|
|
664
|
+
record:
|
|
665
|
+
$ref: '#/components/schemas/DnsRrsetWithOneRecordPatch'
|
|
666
|
+
required:
|
|
667
|
+
- op
|
|
668
|
+
- record
|
|
669
|
+
title: DnsRecordPatchOp
|
|
670
|
+
type: object
|
|
660
671
|
DnsRecordResponse:
|
|
661
672
|
properties:
|
|
662
673
|
rdata:
|
|
@@ -685,8 +696,42 @@ components:
|
|
|
685
696
|
- name
|
|
686
697
|
- type
|
|
687
698
|
- ttl
|
|
699
|
+
- records
|
|
688
700
|
title: DnsRrsetCreate
|
|
689
701
|
type: object
|
|
702
|
+
DnsRrsetPatch:
|
|
703
|
+
properties:
|
|
704
|
+
name:
|
|
705
|
+
title: Name
|
|
706
|
+
type: string
|
|
707
|
+
records:
|
|
708
|
+
items:
|
|
709
|
+
$ref: '#/components/schemas/DnsRecordCreate'
|
|
710
|
+
title: Records
|
|
711
|
+
type: array
|
|
712
|
+
ttl:
|
|
713
|
+
title: Ttl
|
|
714
|
+
type: integer
|
|
715
|
+
type:
|
|
716
|
+
$ref: '#/components/schemas/DnsRrsetType'
|
|
717
|
+
required:
|
|
718
|
+
- name
|
|
719
|
+
- type
|
|
720
|
+
- ttl
|
|
721
|
+
- records
|
|
722
|
+
title: DnsRrsetPatch
|
|
723
|
+
type: object
|
|
724
|
+
DnsRrsetPatchOp:
|
|
725
|
+
properties:
|
|
726
|
+
op:
|
|
727
|
+
$ref: '#/components/schemas/PatchOp'
|
|
728
|
+
rrset:
|
|
729
|
+
$ref: '#/components/schemas/DnsRrsetPatch'
|
|
730
|
+
required:
|
|
731
|
+
- op
|
|
732
|
+
- rrset
|
|
733
|
+
title: DnsRrsetPatchOp
|
|
734
|
+
type: object
|
|
690
735
|
DnsRrsetResponse:
|
|
691
736
|
properties:
|
|
692
737
|
name:
|
|
@@ -725,6 +770,26 @@ components:
|
|
|
725
770
|
- SRV
|
|
726
771
|
title: DnsRrsetType
|
|
727
772
|
type: string
|
|
773
|
+
DnsRrsetWithOneRecordPatch:
|
|
774
|
+
properties:
|
|
775
|
+
name:
|
|
776
|
+
title: Name
|
|
777
|
+
type: string
|
|
778
|
+
rdata:
|
|
779
|
+
title: Rdata
|
|
780
|
+
type: string
|
|
781
|
+
ttl:
|
|
782
|
+
title: Ttl
|
|
783
|
+
type: integer
|
|
784
|
+
type:
|
|
785
|
+
$ref: '#/components/schemas/DnsRrsetType'
|
|
786
|
+
required:
|
|
787
|
+
- rdata
|
|
788
|
+
- name
|
|
789
|
+
- type
|
|
790
|
+
- ttl
|
|
791
|
+
title: DnsRrsetWithOneRecordPatch
|
|
792
|
+
type: object
|
|
728
793
|
DnsZoneCreate:
|
|
729
794
|
properties:
|
|
730
795
|
dnssec_status:
|
|
@@ -742,6 +807,17 @@ components:
|
|
|
742
807
|
- name
|
|
743
808
|
title: DnsZoneCreate
|
|
744
809
|
type: object
|
|
810
|
+
DnsZoneRecordsPatchOps:
|
|
811
|
+
properties:
|
|
812
|
+
ops:
|
|
813
|
+
items:
|
|
814
|
+
$ref: '#/components/schemas/DnsRecordPatchOp'
|
|
815
|
+
title: Ops
|
|
816
|
+
type: array
|
|
817
|
+
required:
|
|
818
|
+
- ops
|
|
819
|
+
title: DnsZoneRecordsPatchOps
|
|
820
|
+
type: object
|
|
745
821
|
DnsZoneResponse:
|
|
746
822
|
properties:
|
|
747
823
|
dnssec_status:
|
|
@@ -770,6 +846,17 @@ components:
|
|
|
770
846
|
type: array
|
|
771
847
|
title: DnsZoneRrsetsCreate
|
|
772
848
|
type: object
|
|
849
|
+
DnsZoneRrsetsPatchOps:
|
|
850
|
+
properties:
|
|
851
|
+
ops:
|
|
852
|
+
items:
|
|
853
|
+
$ref: '#/components/schemas/DnsRrsetPatchOp'
|
|
854
|
+
title: Ops
|
|
855
|
+
type: array
|
|
856
|
+
required:
|
|
857
|
+
- ops
|
|
858
|
+
title: DnsZoneRrsetsPatchOps
|
|
859
|
+
type: object
|
|
773
860
|
DnssecAlgorithm:
|
|
774
861
|
enum:
|
|
775
862
|
- 1
|
|
@@ -1314,6 +1401,15 @@ components:
|
|
|
1314
1401
|
- premium
|
|
1315
1402
|
title: DomainSearchSuggestion
|
|
1316
1403
|
type: object
|
|
1404
|
+
DomainSortField:
|
|
1405
|
+
enum:
|
|
1406
|
+
- name
|
|
1407
|
+
- created_on
|
|
1408
|
+
- updated_on
|
|
1409
|
+
- expires_on
|
|
1410
|
+
- registered_on
|
|
1411
|
+
title: DomainSortField
|
|
1412
|
+
type: string
|
|
1317
1413
|
DomainStatus:
|
|
1318
1414
|
enum:
|
|
1319
1415
|
- ok
|
|
@@ -3050,6 +3146,12 @@ components:
|
|
|
3050
3146
|
- pagination
|
|
3051
3147
|
title: Pagination[User]
|
|
3052
3148
|
type: object
|
|
3149
|
+
PatchOp:
|
|
3150
|
+
enum:
|
|
3151
|
+
- upsert
|
|
3152
|
+
- remove
|
|
3153
|
+
title: PatchOp
|
|
3154
|
+
type: string
|
|
3053
3155
|
PeriodUnit:
|
|
3054
3156
|
enum:
|
|
3055
3157
|
- y
|
|
@@ -3895,7 +3997,7 @@ info:
|
|
|
3895
3997
|
'
|
|
3896
3998
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
3897
3999
|
title: OpusDNS API
|
|
3898
|
-
version: 2025-07-
|
|
4000
|
+
version: 2025-07-24-074916
|
|
3899
4001
|
x-logo:
|
|
3900
4002
|
altText: OpusDNS API Reference
|
|
3901
4003
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -5259,9 +5361,72 @@ paths:
|
|
|
5259
5361
|
summary: Enable Dnssec
|
|
5260
5362
|
tags:
|
|
5261
5363
|
- dns
|
|
5364
|
+
/v1/dns/{zone_name}/records:
|
|
5365
|
+
patch:
|
|
5366
|
+
operationId: patch_zone_records_v1_dns__zone_name__records_patch
|
|
5367
|
+
parameters:
|
|
5368
|
+
- description: DNS zone name (trailing dot optional)
|
|
5369
|
+
in: path
|
|
5370
|
+
name: zone_name
|
|
5371
|
+
required: true
|
|
5372
|
+
schema:
|
|
5373
|
+
description: DNS zone name (trailing dot optional)
|
|
5374
|
+
title: Zone Name
|
|
5375
|
+
type: string
|
|
5376
|
+
requestBody:
|
|
5377
|
+
content:
|
|
5378
|
+
application/json:
|
|
5379
|
+
schema:
|
|
5380
|
+
$ref: '#/components/schemas/DnsZoneRecordsPatchOps'
|
|
5381
|
+
required: true
|
|
5382
|
+
responses:
|
|
5383
|
+
'204':
|
|
5384
|
+
description: Successful Response
|
|
5385
|
+
'422':
|
|
5386
|
+
content:
|
|
5387
|
+
application/problem+json:
|
|
5388
|
+
schema:
|
|
5389
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
5390
|
+
description: Validation Error
|
|
5391
|
+
security:
|
|
5392
|
+
- OAuth2PasswordBearer: []
|
|
5393
|
+
summary: Patch Zone Records
|
|
5394
|
+
tags:
|
|
5395
|
+
- dns
|
|
5262
5396
|
/v1/dns/{zone_name}/rrsets:
|
|
5397
|
+
patch:
|
|
5398
|
+
operationId: patch_zone_rrsets_v1_dns__zone_name__rrsets_patch
|
|
5399
|
+
parameters:
|
|
5400
|
+
- description: DNS zone name (trailing dot optional)
|
|
5401
|
+
in: path
|
|
5402
|
+
name: zone_name
|
|
5403
|
+
required: true
|
|
5404
|
+
schema:
|
|
5405
|
+
description: DNS zone name (trailing dot optional)
|
|
5406
|
+
title: Zone Name
|
|
5407
|
+
type: string
|
|
5408
|
+
requestBody:
|
|
5409
|
+
content:
|
|
5410
|
+
application/json:
|
|
5411
|
+
schema:
|
|
5412
|
+
$ref: '#/components/schemas/DnsZoneRrsetsPatchOps'
|
|
5413
|
+
required: true
|
|
5414
|
+
responses:
|
|
5415
|
+
'204':
|
|
5416
|
+
description: Successful Response
|
|
5417
|
+
'422':
|
|
5418
|
+
content:
|
|
5419
|
+
application/problem+json:
|
|
5420
|
+
schema:
|
|
5421
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
5422
|
+
description: Validation Error
|
|
5423
|
+
security:
|
|
5424
|
+
- OAuth2PasswordBearer: []
|
|
5425
|
+
summary: Patch Zone Rrsets
|
|
5426
|
+
tags:
|
|
5427
|
+
- dns
|
|
5263
5428
|
put:
|
|
5264
|
-
operationId:
|
|
5429
|
+
operationId: update_zone_rrsets_v1_dns__zone_name__rrsets_put
|
|
5265
5430
|
parameters:
|
|
5266
5431
|
- description: DNS zone name (trailing dot optional)
|
|
5267
5432
|
in: path
|
|
@@ -5278,10 +5443,7 @@ paths:
|
|
|
5278
5443
|
$ref: '#/components/schemas/DnsZoneRrsetsCreate'
|
|
5279
5444
|
required: true
|
|
5280
5445
|
responses:
|
|
5281
|
-
'
|
|
5282
|
-
content:
|
|
5283
|
-
application/json:
|
|
5284
|
-
schema: {}
|
|
5446
|
+
'204':
|
|
5285
5447
|
description: Successful Response
|
|
5286
5448
|
'422':
|
|
5287
5449
|
content:
|
|
@@ -5291,7 +5453,7 @@ paths:
|
|
|
5291
5453
|
description: Validation Error
|
|
5292
5454
|
security:
|
|
5293
5455
|
- OAuth2PasswordBearer: []
|
|
5294
|
-
summary: Update Zone
|
|
5456
|
+
summary: Update Zone Rrsets
|
|
5295
5457
|
tags:
|
|
5296
5458
|
- dns
|
|
5297
5459
|
/v1/domain-search/suggest:
|
|
@@ -5419,6 +5581,130 @@ paths:
|
|
|
5419
5581
|
minimum: 1
|
|
5420
5582
|
title: Page Size
|
|
5421
5583
|
type: integer
|
|
5584
|
+
- in: query
|
|
5585
|
+
name: sort_by
|
|
5586
|
+
required: false
|
|
5587
|
+
schema:
|
|
5588
|
+
$ref: '#/components/schemas/DomainSortField'
|
|
5589
|
+
default: created_on
|
|
5590
|
+
- in: query
|
|
5591
|
+
name: sort_order
|
|
5592
|
+
required: false
|
|
5593
|
+
schema:
|
|
5594
|
+
$ref: '#/components/schemas/SortOrder'
|
|
5595
|
+
default: desc
|
|
5596
|
+
- in: query
|
|
5597
|
+
name: name
|
|
5598
|
+
required: false
|
|
5599
|
+
schema:
|
|
5600
|
+
anyOf:
|
|
5601
|
+
- type: string
|
|
5602
|
+
- type: 'null'
|
|
5603
|
+
title: Name
|
|
5604
|
+
- in: query
|
|
5605
|
+
name: search
|
|
5606
|
+
required: false
|
|
5607
|
+
schema:
|
|
5608
|
+
anyOf:
|
|
5609
|
+
- type: string
|
|
5610
|
+
- type: 'null'
|
|
5611
|
+
title: Search
|
|
5612
|
+
- in: query
|
|
5613
|
+
name: tld
|
|
5614
|
+
required: false
|
|
5615
|
+
schema:
|
|
5616
|
+
anyOf:
|
|
5617
|
+
- type: string
|
|
5618
|
+
- type: 'null'
|
|
5619
|
+
title: Tld
|
|
5620
|
+
- in: query
|
|
5621
|
+
name: sld
|
|
5622
|
+
required: false
|
|
5623
|
+
schema:
|
|
5624
|
+
anyOf:
|
|
5625
|
+
- type: string
|
|
5626
|
+
- type: 'null'
|
|
5627
|
+
title: Sld
|
|
5628
|
+
- in: query
|
|
5629
|
+
name: transfer_lock
|
|
5630
|
+
required: false
|
|
5631
|
+
schema:
|
|
5632
|
+
anyOf:
|
|
5633
|
+
- type: boolean
|
|
5634
|
+
- type: 'null'
|
|
5635
|
+
title: Transfer Lock
|
|
5636
|
+
- in: query
|
|
5637
|
+
name: created_after
|
|
5638
|
+
required: false
|
|
5639
|
+
schema:
|
|
5640
|
+
anyOf:
|
|
5641
|
+
- format: date-time
|
|
5642
|
+
type: string
|
|
5643
|
+
- type: 'null'
|
|
5644
|
+
title: Created After
|
|
5645
|
+
- in: query
|
|
5646
|
+
name: created_before
|
|
5647
|
+
required: false
|
|
5648
|
+
schema:
|
|
5649
|
+
anyOf:
|
|
5650
|
+
- format: date-time
|
|
5651
|
+
type: string
|
|
5652
|
+
- type: 'null'
|
|
5653
|
+
title: Created Before
|
|
5654
|
+
- in: query
|
|
5655
|
+
name: updated_after
|
|
5656
|
+
required: false
|
|
5657
|
+
schema:
|
|
5658
|
+
anyOf:
|
|
5659
|
+
- format: date-time
|
|
5660
|
+
type: string
|
|
5661
|
+
- type: 'null'
|
|
5662
|
+
title: Updated After
|
|
5663
|
+
- in: query
|
|
5664
|
+
name: updated_before
|
|
5665
|
+
required: false
|
|
5666
|
+
schema:
|
|
5667
|
+
anyOf:
|
|
5668
|
+
- format: date-time
|
|
5669
|
+
type: string
|
|
5670
|
+
- type: 'null'
|
|
5671
|
+
title: Updated Before
|
|
5672
|
+
- in: query
|
|
5673
|
+
name: expires_after
|
|
5674
|
+
required: false
|
|
5675
|
+
schema:
|
|
5676
|
+
anyOf:
|
|
5677
|
+
- format: date-time
|
|
5678
|
+
type: string
|
|
5679
|
+
- type: 'null'
|
|
5680
|
+
title: Expires After
|
|
5681
|
+
- in: query
|
|
5682
|
+
name: expires_before
|
|
5683
|
+
required: false
|
|
5684
|
+
schema:
|
|
5685
|
+
anyOf:
|
|
5686
|
+
- format: date-time
|
|
5687
|
+
type: string
|
|
5688
|
+
- type: 'null'
|
|
5689
|
+
title: Expires Before
|
|
5690
|
+
- in: query
|
|
5691
|
+
name: registered_after
|
|
5692
|
+
required: false
|
|
5693
|
+
schema:
|
|
5694
|
+
anyOf:
|
|
5695
|
+
- format: date-time
|
|
5696
|
+
type: string
|
|
5697
|
+
- type: 'null'
|
|
5698
|
+
title: Registered After
|
|
5699
|
+
- in: query
|
|
5700
|
+
name: registered_before
|
|
5701
|
+
required: false
|
|
5702
|
+
schema:
|
|
5703
|
+
anyOf:
|
|
5704
|
+
- format: date-time
|
|
5705
|
+
type: string
|
|
5706
|
+
- type: 'null'
|
|
5707
|
+
title: Registered Before
|
|
5422
5708
|
responses:
|
|
5423
5709
|
'200':
|
|
5424
5710
|
content:
|
package/src/schema.d.ts
CHANGED
|
@@ -317,6 +317,23 @@ export interface paths {
|
|
|
317
317
|
patch?: never;
|
|
318
318
|
trace?: never;
|
|
319
319
|
};
|
|
320
|
+
"/v1/dns/{zone_name}/records": {
|
|
321
|
+
parameters: {
|
|
322
|
+
query?: never;
|
|
323
|
+
header?: never;
|
|
324
|
+
path?: never;
|
|
325
|
+
cookie?: never;
|
|
326
|
+
};
|
|
327
|
+
get?: never;
|
|
328
|
+
put?: never;
|
|
329
|
+
post?: never;
|
|
330
|
+
delete?: never;
|
|
331
|
+
options?: never;
|
|
332
|
+
head?: never;
|
|
333
|
+
/** Patch Zone Records */
|
|
334
|
+
patch: operations["patch_zone_records_v1_dns__zone_name__records_patch"];
|
|
335
|
+
trace?: never;
|
|
336
|
+
};
|
|
320
337
|
"/v1/dns/{zone_name}/rrsets": {
|
|
321
338
|
parameters: {
|
|
322
339
|
query?: never;
|
|
@@ -325,13 +342,14 @@ export interface paths {
|
|
|
325
342
|
cookie?: never;
|
|
326
343
|
};
|
|
327
344
|
get?: never;
|
|
328
|
-
/** Update Zone */
|
|
329
|
-
put: operations["
|
|
345
|
+
/** Update Zone Rrsets */
|
|
346
|
+
put: operations["update_zone_rrsets_v1_dns__zone_name__rrsets_put"];
|
|
330
347
|
post?: never;
|
|
331
348
|
delete?: never;
|
|
332
349
|
options?: never;
|
|
333
350
|
head?: never;
|
|
334
|
-
|
|
351
|
+
/** Patch Zone Rrsets */
|
|
352
|
+
patch: operations["patch_zone_rrsets_v1_dns__zone_name__rrsets_patch"];
|
|
335
353
|
trace?: never;
|
|
336
354
|
};
|
|
337
355
|
"/v1/domain-search/suggest": {
|
|
@@ -1428,6 +1446,11 @@ export interface components {
|
|
|
1428
1446
|
/** Rdata */
|
|
1429
1447
|
rdata: string;
|
|
1430
1448
|
};
|
|
1449
|
+
/** DnsRecordPatchOp */
|
|
1450
|
+
DnsRecordPatchOp: {
|
|
1451
|
+
op: components["schemas"]["PatchOp"];
|
|
1452
|
+
record: components["schemas"]["DnsRrsetWithOneRecordPatch"];
|
|
1453
|
+
};
|
|
1431
1454
|
/** DnsRecordResponse */
|
|
1432
1455
|
DnsRecordResponse: {
|
|
1433
1456
|
/** Rdata */
|
|
@@ -1438,11 +1461,26 @@ export interface components {
|
|
|
1438
1461
|
/** Name */
|
|
1439
1462
|
name: string;
|
|
1440
1463
|
/** Records */
|
|
1441
|
-
records
|
|
1464
|
+
records: components["schemas"]["DnsRecordCreate"][];
|
|
1465
|
+
/** Ttl */
|
|
1466
|
+
ttl: number;
|
|
1467
|
+
type: components["schemas"]["DnsRrsetType"];
|
|
1468
|
+
};
|
|
1469
|
+
/** DnsRrsetPatch */
|
|
1470
|
+
DnsRrsetPatch: {
|
|
1471
|
+
/** Name */
|
|
1472
|
+
name: string;
|
|
1473
|
+
/** Records */
|
|
1474
|
+
records: components["schemas"]["DnsRecordCreate"][];
|
|
1442
1475
|
/** Ttl */
|
|
1443
1476
|
ttl: number;
|
|
1444
1477
|
type: components["schemas"]["DnsRrsetType"];
|
|
1445
1478
|
};
|
|
1479
|
+
/** DnsRrsetPatchOp */
|
|
1480
|
+
DnsRrsetPatchOp: {
|
|
1481
|
+
op: components["schemas"]["PatchOp"];
|
|
1482
|
+
rrset: components["schemas"]["DnsRrsetPatch"];
|
|
1483
|
+
};
|
|
1446
1484
|
/** DnsRrsetResponse */
|
|
1447
1485
|
DnsRrsetResponse: {
|
|
1448
1486
|
/** Name */
|
|
@@ -1458,6 +1496,16 @@ export interface components {
|
|
|
1458
1496
|
* @enum {string}
|
|
1459
1497
|
*/
|
|
1460
1498
|
DnsRrsetType: "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "DNSKEY" | "DS" | "MX" | "NS" | "PTR" | "TXT" | "SOA" | "SRV";
|
|
1499
|
+
/** DnsRrsetWithOneRecordPatch */
|
|
1500
|
+
DnsRrsetWithOneRecordPatch: {
|
|
1501
|
+
/** Name */
|
|
1502
|
+
name: string;
|
|
1503
|
+
/** Rdata */
|
|
1504
|
+
rdata: string;
|
|
1505
|
+
/** Ttl */
|
|
1506
|
+
ttl: number;
|
|
1507
|
+
type: components["schemas"]["DnsRrsetType"];
|
|
1508
|
+
};
|
|
1461
1509
|
/** DnsZoneCreate */
|
|
1462
1510
|
DnsZoneCreate: {
|
|
1463
1511
|
/** @default disabled */
|
|
@@ -1467,6 +1515,11 @@ export interface components {
|
|
|
1467
1515
|
/** Rrsets */
|
|
1468
1516
|
rrsets?: components["schemas"]["DnsRrsetCreate"][];
|
|
1469
1517
|
};
|
|
1518
|
+
/** DnsZoneRecordsPatchOps */
|
|
1519
|
+
DnsZoneRecordsPatchOps: {
|
|
1520
|
+
/** Ops */
|
|
1521
|
+
ops: components["schemas"]["DnsRecordPatchOp"][];
|
|
1522
|
+
};
|
|
1470
1523
|
/** DnsZoneResponse */
|
|
1471
1524
|
DnsZoneResponse: {
|
|
1472
1525
|
/** @default disabled */
|
|
@@ -1482,6 +1535,11 @@ export interface components {
|
|
|
1482
1535
|
/** Rrsets */
|
|
1483
1536
|
rrsets?: components["schemas"]["DnsRrsetCreate"][];
|
|
1484
1537
|
};
|
|
1538
|
+
/** DnsZoneRrsetsPatchOps */
|
|
1539
|
+
DnsZoneRrsetsPatchOps: {
|
|
1540
|
+
/** Ops */
|
|
1541
|
+
ops: components["schemas"]["DnsRrsetPatchOp"][];
|
|
1542
|
+
};
|
|
1485
1543
|
/**
|
|
1486
1544
|
* DnssecAlgorithm
|
|
1487
1545
|
* @enum {integer}
|
|
@@ -1836,6 +1894,11 @@ export interface components {
|
|
|
1836
1894
|
/** Premium */
|
|
1837
1895
|
premium: boolean;
|
|
1838
1896
|
};
|
|
1897
|
+
/**
|
|
1898
|
+
* DomainSortField
|
|
1899
|
+
* @enum {string}
|
|
1900
|
+
*/
|
|
1901
|
+
DomainSortField: "name" | "created_on" | "updated_on" | "expires_on" | "registered_on";
|
|
1839
1902
|
/**
|
|
1840
1903
|
* DomainStatus
|
|
1841
1904
|
* @enum {string}
|
|
@@ -3004,6 +3067,11 @@ export interface components {
|
|
|
3004
3067
|
/** Results */
|
|
3005
3068
|
results: components["schemas"]["User"][];
|
|
3006
3069
|
};
|
|
3070
|
+
/**
|
|
3071
|
+
* PatchOp
|
|
3072
|
+
* @enum {string}
|
|
3073
|
+
*/
|
|
3074
|
+
PatchOp: "upsert" | "remove";
|
|
3007
3075
|
/**
|
|
3008
3076
|
* PeriodUnit
|
|
3009
3077
|
* @enum {string}
|
|
@@ -4570,7 +4638,41 @@ export interface operations {
|
|
|
4570
4638
|
};
|
|
4571
4639
|
};
|
|
4572
4640
|
};
|
|
4573
|
-
|
|
4641
|
+
patch_zone_records_v1_dns__zone_name__records_patch: {
|
|
4642
|
+
parameters: {
|
|
4643
|
+
query?: never;
|
|
4644
|
+
header?: never;
|
|
4645
|
+
path: {
|
|
4646
|
+
/** @description DNS zone name (trailing dot optional) */
|
|
4647
|
+
zone_name: string;
|
|
4648
|
+
};
|
|
4649
|
+
cookie?: never;
|
|
4650
|
+
};
|
|
4651
|
+
requestBody: {
|
|
4652
|
+
content: {
|
|
4653
|
+
"application/json": components["schemas"]["DnsZoneRecordsPatchOps"];
|
|
4654
|
+
};
|
|
4655
|
+
};
|
|
4656
|
+
responses: {
|
|
4657
|
+
/** @description Successful Response */
|
|
4658
|
+
204: {
|
|
4659
|
+
headers: {
|
|
4660
|
+
[name: string]: unknown;
|
|
4661
|
+
};
|
|
4662
|
+
content?: never;
|
|
4663
|
+
};
|
|
4664
|
+
/** @description Validation Error */
|
|
4665
|
+
422: {
|
|
4666
|
+
headers: {
|
|
4667
|
+
[name: string]: unknown;
|
|
4668
|
+
};
|
|
4669
|
+
content: {
|
|
4670
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
};
|
|
4675
|
+
update_zone_rrsets_v1_dns__zone_name__rrsets_put: {
|
|
4574
4676
|
parameters: {
|
|
4575
4677
|
query?: never;
|
|
4576
4678
|
header?: never;
|
|
@@ -4587,13 +4689,45 @@ export interface operations {
|
|
|
4587
4689
|
};
|
|
4588
4690
|
responses: {
|
|
4589
4691
|
/** @description Successful Response */
|
|
4590
|
-
|
|
4692
|
+
204: {
|
|
4693
|
+
headers: {
|
|
4694
|
+
[name: string]: unknown;
|
|
4695
|
+
};
|
|
4696
|
+
content?: never;
|
|
4697
|
+
};
|
|
4698
|
+
/** @description Validation Error */
|
|
4699
|
+
422: {
|
|
4591
4700
|
headers: {
|
|
4592
4701
|
[name: string]: unknown;
|
|
4593
4702
|
};
|
|
4594
4703
|
content: {
|
|
4595
|
-
"application/json":
|
|
4704
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
4705
|
+
};
|
|
4706
|
+
};
|
|
4707
|
+
};
|
|
4708
|
+
};
|
|
4709
|
+
patch_zone_rrsets_v1_dns__zone_name__rrsets_patch: {
|
|
4710
|
+
parameters: {
|
|
4711
|
+
query?: never;
|
|
4712
|
+
header?: never;
|
|
4713
|
+
path: {
|
|
4714
|
+
/** @description DNS zone name (trailing dot optional) */
|
|
4715
|
+
zone_name: string;
|
|
4716
|
+
};
|
|
4717
|
+
cookie?: never;
|
|
4718
|
+
};
|
|
4719
|
+
requestBody: {
|
|
4720
|
+
content: {
|
|
4721
|
+
"application/json": components["schemas"]["DnsZoneRrsetsPatchOps"];
|
|
4722
|
+
};
|
|
4723
|
+
};
|
|
4724
|
+
responses: {
|
|
4725
|
+
/** @description Successful Response */
|
|
4726
|
+
204: {
|
|
4727
|
+
headers: {
|
|
4728
|
+
[name: string]: unknown;
|
|
4596
4729
|
};
|
|
4730
|
+
content?: never;
|
|
4597
4731
|
};
|
|
4598
4732
|
/** @description Validation Error */
|
|
4599
4733
|
422: {
|
|
@@ -4669,6 +4803,21 @@ export interface operations {
|
|
|
4669
4803
|
query?: {
|
|
4670
4804
|
page?: number;
|
|
4671
4805
|
page_size?: number;
|
|
4806
|
+
sort_by?: components["schemas"]["DomainSortField"];
|
|
4807
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
4808
|
+
name?: string | null;
|
|
4809
|
+
search?: string | null;
|
|
4810
|
+
tld?: string | null;
|
|
4811
|
+
sld?: string | null;
|
|
4812
|
+
transfer_lock?: boolean | null;
|
|
4813
|
+
created_after?: Date | null;
|
|
4814
|
+
created_before?: Date | null;
|
|
4815
|
+
updated_after?: Date | null;
|
|
4816
|
+
updated_before?: Date | null;
|
|
4817
|
+
expires_after?: Date | null;
|
|
4818
|
+
expires_before?: Date | null;
|
|
4819
|
+
registered_after?: Date | null;
|
|
4820
|
+
registered_before?: Date | null;
|
|
4672
4821
|
};
|
|
4673
4822
|
header?: never;
|
|
4674
4823
|
path?: never;
|
package/src/types/constants.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Auto-generated enums from OpenAPI schema
|
|
3
|
-
* Generated on: 2025-07-
|
|
3
|
+
* Generated on: 2025-07-24T07:50:32.358Z
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -122,6 +122,17 @@ export enum DOMAIN_CONTACT_TYPE {
|
|
|
122
122
|
BILLING = "billing",
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
/**
|
|
126
|
+
* DOMAIN_SORT_FIELD
|
|
127
|
+
*/
|
|
128
|
+
export enum DOMAIN_SORT_FIELD {
|
|
129
|
+
NAME = "name",
|
|
130
|
+
CREATED_ON = "created_on",
|
|
131
|
+
UPDATED_ON = "updated_on",
|
|
132
|
+
EXPIRES_ON = "expires_on",
|
|
133
|
+
REGISTERED_ON = "registered_on",
|
|
134
|
+
}
|
|
135
|
+
|
|
125
136
|
/**
|
|
126
137
|
* DOMAIN_STATUS
|
|
127
138
|
*/
|
|
@@ -227,6 +238,14 @@ export enum ORGANIZATION_STATUS {
|
|
|
227
238
|
INACTIVE = "inactive",
|
|
228
239
|
}
|
|
229
240
|
|
|
241
|
+
/**
|
|
242
|
+
* PATCH_OP
|
|
243
|
+
*/
|
|
244
|
+
export enum PATCH_OP {
|
|
245
|
+
UPSERT = "upsert",
|
|
246
|
+
REMOVE = "remove",
|
|
247
|
+
}
|
|
248
|
+
|
|
230
249
|
/**
|
|
231
250
|
* PERIOD_UNIT
|
|
232
251
|
*/
|
package/src/types/types.ts
CHANGED
|
@@ -83,7 +83,9 @@ export type Get_DnsByzoneName_ParamsPath_V1 = operations['get_zone_v1_dns__zone_
|
|
|
83
83
|
export type Delete_DnsByzoneName_ParamsPath_V1 = operations['delete_zone_v1_dns__zone_name__delete']['parameters']['path'];
|
|
84
84
|
export type Post_DnsByzoneNameDnssecDisable_ParamsPath_V1 = operations['disable_dnssec_v1_dns__zone_name__dnssec_disable_post']['parameters']['path'];
|
|
85
85
|
export type Post_DnsByzoneNameDnssecEnable_ParamsPath_V1 = operations['enable_dnssec_v1_dns__zone_name__dnssec_enable_post']['parameters']['path'];
|
|
86
|
-
export type
|
|
86
|
+
export type Patch_DnsByzoneNameRecords_ParamsPath_V1 = operations['patch_zone_records_v1_dns__zone_name__records_patch']['parameters']['path'];
|
|
87
|
+
export type Put_DnsByzoneNameRrsets_ParamsPath_V1 = operations['update_zone_rrsets_v1_dns__zone_name__rrsets_put']['parameters']['path'];
|
|
88
|
+
export type Patch_DnsByzoneNameRrsets_ParamsPath_V1 = operations['patch_zone_rrsets_v1_dns__zone_name__rrsets_patch']['parameters']['path'];
|
|
87
89
|
export type Get_DomainSearchSuggest_ParamsQuery_V1 = operations['suggest_v1_domain_search_suggest_get']['parameters']['query'];
|
|
88
90
|
export type Get_Domains_ParamsQuery_V1 = operations['get_domains_v1_domains_get']['parameters']['query'];
|
|
89
91
|
export type Get_DomainsCheck_ParamsQuery_V1 = operations['epp_check_domain_v1_domains_check_get']['parameters']['query'];
|