@opusdns/api 0.15.0 → 0.16.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
@@ -59,49 +59,6 @@ components:
59
59
  title: Username
60
60
  title: Body_issue_organization_token_v1_auth_token_post
61
61
  type: object
62
- BulkOperationResponse_EmailForwardBulkDeleteResult_:
63
- properties:
64
- results:
65
- items:
66
- $ref: '#/components/schemas/BulkOperationResult'
67
- title: Results
68
- type: array
69
- required:
70
- - results
71
- title: BulkOperationResponse[EmailForwardBulkDeleteResult]
72
- type: object
73
- BulkOperationResponse_EmailForwardBulkUpdateResult_:
74
- properties:
75
- results:
76
- items:
77
- $ref: '#/components/schemas/BulkOperationResult'
78
- title: Results
79
- type: array
80
- required:
81
- - results
82
- title: BulkOperationResponse[EmailForwardBulkUpdateResult]
83
- type: object
84
- BulkOperationResult:
85
- properties:
86
- error_message:
87
- anyOf:
88
- - type: string
89
- - type: 'null'
90
- description: Error message if operation failed
91
- title: Error Message
92
- status:
93
- $ref: '#/components/schemas/BulkOperationStatus'
94
- description: Status of performed operation
95
- required:
96
- - status
97
- title: BulkOperationResult
98
- type: object
99
- BulkOperationStatus:
100
- enum:
101
- - success
102
- - failed
103
- title: BulkOperationStatus
104
- type: string
105
62
  ContactConfigBase:
106
63
  properties:
107
64
  max:
@@ -1920,162 +1877,29 @@ components:
1920
1877
  - next_90_days
1921
1878
  title: DomainsExpiringSoon
1922
1879
  type: object
1923
- EmailForward:
1880
+ EmailForwardAlias:
1924
1881
  properties:
1925
- created_on:
1926
- description: The date/time the entry was created on
1927
- format: date-time
1928
- title: Created On
1929
- type: string
1930
- email_forward_id:
1931
- examples:
1932
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
1933
- format: typeid
1934
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
1935
- title: Email Forward Id
1936
- type: string
1937
- x-typeid-prefix: email_forward
1938
- source_address:
1939
- description: The source email address to forward from
1940
- format: email
1941
- title: Source Address
1882
+ alias:
1883
+ title: Alias
1942
1884
  type: string
1943
- status:
1944
- $ref: '#/components/schemas/EmailForwardStatus'
1945
- default: active
1946
- description: Current status of the email forward rule
1947
- target_address:
1948
- description: The target email address to forward to
1885
+ forward_to:
1949
1886
  format: email
1950
- title: Target Address
1951
- type: string
1952
- updated_on:
1953
- description: The date/time the entry was last updated on
1954
- format: date-time
1955
- title: Updated On
1887
+ title: Forward To
1956
1888
  type: string
1957
1889
  required:
1958
- - source_address
1959
- - target_address
1960
- title: EmailForward
1961
- type: object
1962
- EmailForwardBulkDelete:
1963
- properties:
1964
- email_forward_ids:
1965
- description: List of email forward ids to delete
1966
- items:
1967
- examples:
1968
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
1969
- format: typeid
1970
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
1971
- type: string
1972
- x-typeid-prefix: email_forward
1973
- maxItems: 50
1974
- minItems: 1
1975
- title: Email Forward Ids
1976
- type: array
1977
- uniqueItems: true
1978
- required:
1979
- - email_forward_ids
1980
- title: EmailForwardBulkDelete
1981
- type: object
1982
- EmailForwardBulkUpdate:
1983
- properties:
1984
- email_forwards:
1985
- description: List of email forwards data to update
1986
- items:
1987
- $ref: '#/components/schemas/EmailForwardBulkUpdateItem'
1988
- maxItems: 50
1989
- minItems: 1
1990
- title: Email Forwards
1991
- type: array
1992
- required:
1993
- - email_forwards
1994
- title: EmailForwardBulkUpdate
1995
- type: object
1996
- EmailForwardBulkUpdateItem:
1997
- properties:
1998
- email_forward_id:
1999
- description: Unique identifier for the email forward
2000
- examples:
2001
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
2002
- format: typeid
2003
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
2004
- title: Email Forward Id
2005
- type: string
2006
- x-typeid-prefix: email_forward
2007
- source_address:
2008
- anyOf:
2009
- - format: email
2010
- type: string
2011
- - type: 'null'
2012
- description: The source email address to forward from
2013
- title: Source Address
2014
- status:
2015
- anyOf:
2016
- - $ref: '#/components/schemas/EmailForwardStatus'
2017
- - type: 'null'
2018
- description: Current status of the email forward rule
2019
- target_address:
2020
- anyOf:
2021
- - format: email
2022
- type: string
2023
- - type: 'null'
2024
- description: The target email address to forward to
2025
- title: Target Address
2026
- required:
2027
- - email_forward_id
2028
- title: EmailForwardBulkUpdateItem
1890
+ - forward_to
1891
+ - alias
1892
+ title: EmailForwardAlias
2029
1893
  type: object
2030
- EmailForwardCreate:
1894
+ EmailForwardAliasUpdate:
2031
1895
  properties:
2032
- source_address:
2033
- description: The source email address to forward from
2034
- format: email
2035
- title: Source Address
2036
- type: string
2037
- status:
2038
- $ref: '#/components/schemas/EmailForwardStatus'
2039
- default: active
2040
- description: Current status of the email forward rule
2041
- target_address:
2042
- description: The target email address to forward to
1896
+ forward_to:
2043
1897
  format: email
2044
- title: Target Address
1898
+ title: Forward To
2045
1899
  type: string
2046
1900
  required:
2047
- - source_address
2048
- - target_address
2049
- title: EmailForwardCreate
2050
- type: object
2051
- EmailForwardStatus:
2052
- enum:
2053
- - active
2054
- - inactive
2055
- title: EmailForwardStatus
2056
- type: string
2057
- EmailForwardUpdate:
2058
- properties:
2059
- source_address:
2060
- anyOf:
2061
- - format: email
2062
- type: string
2063
- - type: 'null'
2064
- description: The source email address to forward from
2065
- title: Source Address
2066
- status:
2067
- anyOf:
2068
- - $ref: '#/components/schemas/EmailForwardStatus'
2069
- - type: 'null'
2070
- description: Current status of the email forward rule
2071
- target_address:
2072
- anyOf:
2073
- - format: email
2074
- type: string
2075
- - type: 'null'
2076
- description: The target email address to forward to
2077
- title: Target Address
2078
- title: EmailForwardUpdate
1901
+ - forward_to
1902
+ title: EmailForwardAliasUpdate
2079
1903
  type: object
2080
1904
  EmailVerificationStatus:
2081
1905
  enum:
@@ -3589,19 +3413,19 @@ components:
3589
3413
  - pagination
3590
3414
  title: Pagination[DomainResponse]
3591
3415
  type: object
3592
- Pagination_EmailForward_:
3416
+ Pagination_EmailForwardAlias_:
3593
3417
  properties:
3594
3418
  pagination:
3595
3419
  $ref: '#/components/schemas/PaginationMetadata'
3596
3420
  results:
3597
3421
  items:
3598
- $ref: '#/components/schemas/EmailForward'
3422
+ $ref: '#/components/schemas/EmailForwardAlias'
3599
3423
  title: Results
3600
3424
  type: array
3601
3425
  required:
3602
3426
  - results
3603
3427
  - pagination
3604
- title: Pagination[EmailForward]
3428
+ title: Pagination[EmailForwardAlias]
3605
3429
  type: object
3606
3430
  Pagination_EventResponse_:
3607
3431
  properties:
@@ -4995,7 +4819,7 @@ info:
4995
4819
  '
4996
4820
  summary: OpusDNS - your gateway to a seamless domain management experience.
4997
4821
  title: OpusDNS API
4998
- version: 2025-08-02-000200
4822
+ version: 2025-08-04-073353
4999
4823
  x-logo:
5000
4824
  altText: OpusDNS API Reference
5001
4825
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -7446,40 +7270,43 @@ paths:
7446
7270
  summary: Cancel a domain transfer
7447
7271
  tags:
7448
7272
  - domain
7449
- /v1/email-forwards:
7450
- get:
7451
- operationId: list_email_forwards_v1_email_forwards_get
7273
+ /v1/email-forwards/{zone_name}/aliases:
7274
+ delete:
7275
+ operationId: delete_email_forward_aliases_v1_email_forwards__zone_name__aliases_delete
7452
7276
  parameters:
7453
- - description: Optional status to filter the results
7454
- in: query
7455
- name: status
7456
- required: false
7457
- schema:
7458
- anyOf:
7459
- - $ref: '#/components/schemas/EmailForwardStatus'
7460
- - type: 'null'
7461
- description: Optional status to filter the results
7462
- title: Status
7463
- - description: Optional source address to filter the results
7464
- in: query
7465
- name: source_address
7466
- required: false
7277
+ - description: DNS zone name (trailing dot optional)
7278
+ in: path
7279
+ name: zone_name
7280
+ required: true
7467
7281
  schema:
7468
- anyOf:
7469
- - type: string
7470
- - type: 'null'
7471
- description: Optional source address to filter the results
7472
- title: Source Address
7473
- - description: Optional target address to filter the results
7474
- in: query
7475
- name: target_address
7476
- required: false
7282
+ description: DNS zone name (trailing dot optional)
7283
+ title: Zone Name
7284
+ type: string
7285
+ responses:
7286
+ '204':
7287
+ description: Successful Response
7288
+ '422':
7289
+ content:
7290
+ application/problem+json:
7291
+ schema:
7292
+ $ref: '#/components/schemas/HTTPValidationError'
7293
+ description: Validation Error
7294
+ security:
7295
+ - OAuth2PasswordBearer: []
7296
+ summary: Delete Email Forward Aliases
7297
+ tags:
7298
+ - email_forward
7299
+ get:
7300
+ operationId: get_email_forward_aliases_v1_email_forwards__zone_name__aliases_get
7301
+ parameters:
7302
+ - description: DNS zone name (trailing dot optional)
7303
+ in: path
7304
+ name: zone_name
7305
+ required: true
7477
7306
  schema:
7478
- anyOf:
7479
- - type: string
7480
- - type: 'null'
7481
- description: Optional target address to filter the results
7482
- title: Target Address
7307
+ description: DNS zone name (trailing dot optional)
7308
+ title: Zone Name
7309
+ type: string
7483
7310
  - in: query
7484
7311
  name: page
7485
7312
  required: false
@@ -7502,7 +7329,7 @@ paths:
7502
7329
  content:
7503
7330
  application/json:
7504
7331
  schema:
7505
- $ref: '#/components/schemas/Pagination_EmailForward_'
7332
+ $ref: '#/components/schemas/Pagination_EmailForwardAlias_'
7506
7333
  description: Successful Response
7507
7334
  '422':
7508
7335
  content:
@@ -7512,23 +7339,28 @@ paths:
7512
7339
  description: Validation Error
7513
7340
  security:
7514
7341
  - OAuth2PasswordBearer: []
7515
- summary: List Email Forwards
7342
+ summary: Get Email Forward Aliases
7516
7343
  tags:
7517
7344
  - email_forward
7518
7345
  post:
7519
- operationId: create_email_forward_v1_email_forwards_post
7346
+ operationId: create_email_forward_alias_v1_email_forwards__zone_name__aliases_post
7347
+ parameters:
7348
+ - description: DNS zone name (trailing dot optional)
7349
+ in: path
7350
+ name: zone_name
7351
+ required: true
7352
+ schema:
7353
+ description: DNS zone name (trailing dot optional)
7354
+ title: Zone Name
7355
+ type: string
7520
7356
  requestBody:
7521
7357
  content:
7522
7358
  application/json:
7523
7359
  schema:
7524
- $ref: '#/components/schemas/EmailForwardCreate'
7360
+ $ref: '#/components/schemas/EmailForwardAlias'
7525
7361
  required: true
7526
7362
  responses:
7527
7363
  '201':
7528
- content:
7529
- application/json:
7530
- schema:
7531
- $ref: '#/components/schemas/EmailForward'
7532
7364
  description: Successful Response
7533
7365
  '422':
7534
7366
  content:
@@ -7538,24 +7370,29 @@ paths:
7538
7370
  description: Validation Error
7539
7371
  security:
7540
7372
  - OAuth2PasswordBearer: []
7541
- summary: Create Email Forward
7373
+ summary: Create Email Forward Alias
7542
7374
  tags:
7543
7375
  - email_forward
7544
- /v1/email-forwards/bulk-delete:
7545
- post:
7546
- operationId: bulk_delete_email_forwards_v1_email_forwards_bulk_delete_post
7547
- requestBody:
7548
- content:
7549
- application/json:
7550
- schema:
7551
- $ref: '#/components/schemas/EmailForwardBulkDelete'
7376
+ /v1/email-forwards/{zone_name}/aliases/{alias}:
7377
+ delete:
7378
+ operationId: delete_email_forward_alias_v1_email_forwards__zone_name__aliases__alias__delete
7379
+ parameters:
7380
+ - in: path
7381
+ name: alias
7552
7382
  required: true
7383
+ schema:
7384
+ title: Alias
7385
+ type: string
7386
+ - description: DNS zone name (trailing dot optional)
7387
+ in: path
7388
+ name: zone_name
7389
+ required: true
7390
+ schema:
7391
+ description: DNS zone name (trailing dot optional)
7392
+ title: Zone Name
7393
+ type: string
7553
7394
  responses:
7554
- '200':
7555
- content:
7556
- application/json:
7557
- schema:
7558
- $ref: '#/components/schemas/BulkOperationResponse_EmailForwardBulkDeleteResult_'
7395
+ '204':
7559
7396
  description: Successful Response
7560
7397
  '422':
7561
7398
  content:
@@ -7565,24 +7402,32 @@ paths:
7565
7402
  description: Validation Error
7566
7403
  security:
7567
7404
  - OAuth2PasswordBearer: []
7568
- summary: Bulk Delete Email Forwards
7405
+ summary: Delete Email Forward Alias
7569
7406
  tags:
7570
7407
  - email_forward
7571
- /v1/email-forwards/bulk-update:
7572
- patch:
7573
- operationId: bulk_update_email_forwards_v1_email_forwards_bulk_update_patch
7574
- requestBody:
7575
- content:
7576
- application/json:
7577
- schema:
7578
- $ref: '#/components/schemas/EmailForwardBulkUpdate'
7408
+ get:
7409
+ operationId: get_email_forward_alias_v1_email_forwards__zone_name__aliases__alias__get
7410
+ parameters:
7411
+ - in: path
7412
+ name: alias
7579
7413
  required: true
7414
+ schema:
7415
+ title: Alias
7416
+ type: string
7417
+ - description: DNS zone name (trailing dot optional)
7418
+ in: path
7419
+ name: zone_name
7420
+ required: true
7421
+ schema:
7422
+ description: DNS zone name (trailing dot optional)
7423
+ title: Zone Name
7424
+ type: string
7580
7425
  responses:
7581
7426
  '200':
7582
7427
  content:
7583
7428
  application/json:
7584
7429
  schema:
7585
- $ref: '#/components/schemas/BulkOperationResponse_EmailForwardBulkUpdateResult_'
7430
+ $ref: '#/components/schemas/EmailForwardAlias'
7586
7431
  description: Successful Response
7587
7432
  '422':
7588
7433
  content:
@@ -7592,26 +7437,34 @@ paths:
7592
7437
  description: Validation Error
7593
7438
  security:
7594
7439
  - OAuth2PasswordBearer: []
7595
- summary: Bulk Update Email Forwards
7440
+ summary: Get Email Forward Alias
7596
7441
  tags:
7597
7442
  - email_forward
7598
- /v1/email-forwards/{email_forward_id}:
7599
- delete:
7600
- operationId: delete_email_forward_v1_email_forwards__email_forward_id__delete
7443
+ put:
7444
+ operationId: update_email_forward_alias_v1_email_forwards__zone_name__aliases__alias__put
7601
7445
  parameters:
7602
7446
  - in: path
7603
- name: email_forward_id
7447
+ name: alias
7604
7448
  required: true
7605
7449
  schema:
7606
- examples:
7607
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
7608
- format: typeid
7609
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
7610
- title: Email Forward Id
7450
+ title: Alias
7611
7451
  type: string
7612
- x-typeid-prefix: email_forward
7452
+ - description: DNS zone name (trailing dot optional)
7453
+ in: path
7454
+ name: zone_name
7455
+ required: true
7456
+ schema:
7457
+ description: DNS zone name (trailing dot optional)
7458
+ title: Zone Name
7459
+ type: string
7460
+ requestBody:
7461
+ content:
7462
+ application/json:
7463
+ schema:
7464
+ $ref: '#/components/schemas/EmailForwardAliasUpdate'
7465
+ required: true
7613
7466
  responses:
7614
- '204':
7467
+ '201':
7615
7468
  description: Successful Response
7616
7469
  '422':
7617
7470
  content:
@@ -7621,29 +7474,23 @@ paths:
7621
7474
  description: Validation Error
7622
7475
  security:
7623
7476
  - OAuth2PasswordBearer: []
7624
- summary: Delete Email Forward
7477
+ summary: Update Email Forward Alias
7625
7478
  tags:
7626
7479
  - email_forward
7627
- get:
7628
- operationId: get_email_forward_v1_email_forwards__email_forward_id__get
7480
+ /v1/email-forwards/{zone_name}/disable:
7481
+ patch:
7482
+ operationId: disable_email_forward_v1_email_forwards__zone_name__disable_patch
7629
7483
  parameters:
7630
- - in: path
7631
- name: email_forward_id
7484
+ - description: DNS zone name (trailing dot optional)
7485
+ in: path
7486
+ name: zone_name
7632
7487
  required: true
7633
7488
  schema:
7634
- examples:
7635
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
7636
- format: typeid
7637
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
7638
- title: Email Forward Id
7489
+ description: DNS zone name (trailing dot optional)
7490
+ title: Zone Name
7639
7491
  type: string
7640
- x-typeid-prefix: email_forward
7641
7492
  responses:
7642
- '200':
7643
- content:
7644
- application/json:
7645
- schema:
7646
- $ref: '#/components/schemas/EmailForward'
7493
+ '204':
7647
7494
  description: Successful Response
7648
7495
  '422':
7649
7496
  content:
@@ -7653,35 +7500,23 @@ paths:
7653
7500
  description: Validation Error
7654
7501
  security:
7655
7502
  - OAuth2PasswordBearer: []
7656
- summary: Get Email Forward
7503
+ summary: Disable Email Forward
7657
7504
  tags:
7658
7505
  - email_forward
7506
+ /v1/email-forwards/{zone_name}/enable:
7659
7507
  patch:
7660
- operationId: update_email_forward_v1_email_forwards__email_forward_id__patch
7508
+ operationId: enable_email_forward_v1_email_forwards__zone_name__enable_patch
7661
7509
  parameters:
7662
- - in: path
7663
- name: email_forward_id
7510
+ - description: DNS zone name (trailing dot optional)
7511
+ in: path
7512
+ name: zone_name
7664
7513
  required: true
7665
7514
  schema:
7666
- examples:
7667
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
7668
- format: typeid
7669
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
7670
- title: Email Forward Id
7515
+ description: DNS zone name (trailing dot optional)
7516
+ title: Zone Name
7671
7517
  type: string
7672
- x-typeid-prefix: email_forward
7673
- requestBody:
7674
- content:
7675
- application/json:
7676
- schema:
7677
- $ref: '#/components/schemas/EmailForwardUpdate'
7678
- required: true
7679
7518
  responses:
7680
- '200':
7681
- content:
7682
- application/json:
7683
- schema:
7684
- $ref: '#/components/schemas/EmailForward'
7519
+ '204':
7685
7520
  description: Successful Response
7686
7521
  '422':
7687
7522
  content:
@@ -7691,7 +7526,7 @@ paths:
7691
7526
  description: Validation Error
7692
7527
  security:
7693
7528
  - OAuth2PasswordBearer: []
7694
- summary: Update Email Forward
7529
+ summary: Enable Email Forward
7695
7530
  tags:
7696
7531
  - email_forward
7697
7532
  /v1/event: