@opusdns/api 0.14.1 → 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
1887
+ title: Forward To
1951
1888
  type: string
1952
- updated_on:
1953
- description: The date/time the entry was last updated on
1954
- format: date-time
1955
- title: Updated On
1956
- type: string
1957
- 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
1889
  required:
1993
- - email_forwards
1994
- title: EmailForwardBulkUpdate
1890
+ - forward_to
1891
+ - alias
1892
+ title: EmailForwardAlias
1995
1893
  type: object
1996
- EmailForwardBulkUpdateItem:
1894
+ EmailForwardAliasUpdate:
1997
1895
  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
2029
- type: object
2030
- EmailForwardCreate:
2031
- properties:
2032
- source_address:
2033
- description: The source email address to forward from
1896
+ forward_to:
2034
1897
  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
2043
- 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:
@@ -4404,6 +4228,22 @@ components:
4404
4228
  - status
4405
4229
  title: User
4406
4230
  type: object
4231
+ UserAttributeBase:
4232
+ properties:
4233
+ key:
4234
+ description: Key of the attribute.
4235
+ minLength: 1
4236
+ title: Key
4237
+ type: string
4238
+ value:
4239
+ anyOf:
4240
+ - $ref: '#/components/schemas/JsonValue'
4241
+ - type: 'null'
4242
+ description: Value of the attribute.
4243
+ required:
4244
+ - key
4245
+ title: UserAttributeBase
4246
+ type: object
4407
4247
  UserAttributeUpdate:
4408
4248
  properties:
4409
4249
  key:
@@ -4457,6 +4297,14 @@ components:
4457
4297
  examples:
4458
4298
  - '+1.2125552368'
4459
4299
  title: Phone
4300
+ user_attributes:
4301
+ anyOf:
4302
+ - items:
4303
+ $ref: '#/components/schemas/UserAttributeBase'
4304
+ type: array
4305
+ - type: 'null'
4306
+ description: User attributes
4307
+ title: User Attributes
4460
4308
  username:
4461
4309
  description: The user's unique username
4462
4310
  minLength: 1
@@ -4971,7 +4819,7 @@ info:
4971
4819
  '
4972
4820
  summary: OpusDNS - your gateway to a seamless domain management experience.
4973
4821
  title: OpusDNS API
4974
- version: 2025-08-01-163639
4822
+ version: 2025-08-04-073353
4975
4823
  x-logo:
4976
4824
  altText: OpusDNS API Reference
4977
4825
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -7422,40 +7270,43 @@ paths:
7422
7270
  summary: Cancel a domain transfer
7423
7271
  tags:
7424
7272
  - domain
7425
- /v1/email-forwards:
7426
- get:
7427
- 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
7428
7276
  parameters:
7429
- - description: Optional status to filter the results
7430
- in: query
7431
- name: status
7432
- required: false
7433
- schema:
7434
- anyOf:
7435
- - $ref: '#/components/schemas/EmailForwardStatus'
7436
- - type: 'null'
7437
- description: Optional status to filter the results
7438
- title: Status
7439
- - description: Optional source address to filter the results
7440
- in: query
7441
- name: source_address
7442
- required: false
7277
+ - description: DNS zone name (trailing dot optional)
7278
+ in: path
7279
+ name: zone_name
7280
+ required: true
7443
7281
  schema:
7444
- anyOf:
7445
- - type: string
7446
- - type: 'null'
7447
- description: Optional source address to filter the results
7448
- title: Source Address
7449
- - description: Optional target address to filter the results
7450
- in: query
7451
- name: target_address
7452
- 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
7453
7306
  schema:
7454
- anyOf:
7455
- - type: string
7456
- - type: 'null'
7457
- description: Optional target address to filter the results
7458
- title: Target Address
7307
+ description: DNS zone name (trailing dot optional)
7308
+ title: Zone Name
7309
+ type: string
7459
7310
  - in: query
7460
7311
  name: page
7461
7312
  required: false
@@ -7478,7 +7329,7 @@ paths:
7478
7329
  content:
7479
7330
  application/json:
7480
7331
  schema:
7481
- $ref: '#/components/schemas/Pagination_EmailForward_'
7332
+ $ref: '#/components/schemas/Pagination_EmailForwardAlias_'
7482
7333
  description: Successful Response
7483
7334
  '422':
7484
7335
  content:
@@ -7488,23 +7339,28 @@ paths:
7488
7339
  description: Validation Error
7489
7340
  security:
7490
7341
  - OAuth2PasswordBearer: []
7491
- summary: List Email Forwards
7342
+ summary: Get Email Forward Aliases
7492
7343
  tags:
7493
7344
  - email_forward
7494
7345
  post:
7495
- 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
7496
7356
  requestBody:
7497
7357
  content:
7498
7358
  application/json:
7499
7359
  schema:
7500
- $ref: '#/components/schemas/EmailForwardCreate'
7360
+ $ref: '#/components/schemas/EmailForwardAlias'
7501
7361
  required: true
7502
7362
  responses:
7503
7363
  '201':
7504
- content:
7505
- application/json:
7506
- schema:
7507
- $ref: '#/components/schemas/EmailForward'
7508
7364
  description: Successful Response
7509
7365
  '422':
7510
7366
  content:
@@ -7514,24 +7370,29 @@ paths:
7514
7370
  description: Validation Error
7515
7371
  security:
7516
7372
  - OAuth2PasswordBearer: []
7517
- summary: Create Email Forward
7373
+ summary: Create Email Forward Alias
7518
7374
  tags:
7519
7375
  - email_forward
7520
- /v1/email-forwards/bulk-delete:
7521
- post:
7522
- operationId: bulk_delete_email_forwards_v1_email_forwards_bulk_delete_post
7523
- requestBody:
7524
- content:
7525
- application/json:
7526
- schema:
7527
- $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
7528
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
7529
7394
  responses:
7530
- '200':
7531
- content:
7532
- application/json:
7533
- schema:
7534
- $ref: '#/components/schemas/BulkOperationResponse_EmailForwardBulkDeleteResult_'
7395
+ '204':
7535
7396
  description: Successful Response
7536
7397
  '422':
7537
7398
  content:
@@ -7541,24 +7402,32 @@ paths:
7541
7402
  description: Validation Error
7542
7403
  security:
7543
7404
  - OAuth2PasswordBearer: []
7544
- summary: Bulk Delete Email Forwards
7405
+ summary: Delete Email Forward Alias
7545
7406
  tags:
7546
7407
  - email_forward
7547
- /v1/email-forwards/bulk-update:
7548
- patch:
7549
- operationId: bulk_update_email_forwards_v1_email_forwards_bulk_update_patch
7550
- requestBody:
7551
- content:
7552
- application/json:
7553
- schema:
7554
- $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
7555
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
7556
7425
  responses:
7557
7426
  '200':
7558
7427
  content:
7559
7428
  application/json:
7560
7429
  schema:
7561
- $ref: '#/components/schemas/BulkOperationResponse_EmailForwardBulkUpdateResult_'
7430
+ $ref: '#/components/schemas/EmailForwardAlias'
7562
7431
  description: Successful Response
7563
7432
  '422':
7564
7433
  content:
@@ -7568,26 +7437,34 @@ paths:
7568
7437
  description: Validation Error
7569
7438
  security:
7570
7439
  - OAuth2PasswordBearer: []
7571
- summary: Bulk Update Email Forwards
7440
+ summary: Get Email Forward Alias
7572
7441
  tags:
7573
7442
  - email_forward
7574
- /v1/email-forwards/{email_forward_id}:
7575
- delete:
7576
- 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
7577
7445
  parameters:
7578
7446
  - in: path
7579
- name: email_forward_id
7447
+ name: alias
7580
7448
  required: true
7581
7449
  schema:
7582
- examples:
7583
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
7584
- format: typeid
7585
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
7586
- title: Email Forward Id
7450
+ title: Alias
7587
7451
  type: string
7588
- 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
7589
7466
  responses:
7590
- '204':
7467
+ '201':
7591
7468
  description: Successful Response
7592
7469
  '422':
7593
7470
  content:
@@ -7597,29 +7474,23 @@ paths:
7597
7474
  description: Validation Error
7598
7475
  security:
7599
7476
  - OAuth2PasswordBearer: []
7600
- summary: Delete Email Forward
7477
+ summary: Update Email Forward Alias
7601
7478
  tags:
7602
7479
  - email_forward
7603
- get:
7604
- 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
7605
7483
  parameters:
7606
- - in: path
7607
- name: email_forward_id
7484
+ - description: DNS zone name (trailing dot optional)
7485
+ in: path
7486
+ name: zone_name
7608
7487
  required: true
7609
7488
  schema:
7610
- examples:
7611
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
7612
- format: typeid
7613
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
7614
- title: Email Forward Id
7489
+ description: DNS zone name (trailing dot optional)
7490
+ title: Zone Name
7615
7491
  type: string
7616
- x-typeid-prefix: email_forward
7617
7492
  responses:
7618
- '200':
7619
- content:
7620
- application/json:
7621
- schema:
7622
- $ref: '#/components/schemas/EmailForward'
7493
+ '204':
7623
7494
  description: Successful Response
7624
7495
  '422':
7625
7496
  content:
@@ -7629,35 +7500,23 @@ paths:
7629
7500
  description: Validation Error
7630
7501
  security:
7631
7502
  - OAuth2PasswordBearer: []
7632
- summary: Get Email Forward
7503
+ summary: Disable Email Forward
7633
7504
  tags:
7634
7505
  - email_forward
7506
+ /v1/email-forwards/{zone_name}/enable:
7635
7507
  patch:
7636
- operationId: update_email_forward_v1_email_forwards__email_forward_id__patch
7508
+ operationId: enable_email_forward_v1_email_forwards__zone_name__enable_patch
7637
7509
  parameters:
7638
- - in: path
7639
- name: email_forward_id
7510
+ - description: DNS zone name (trailing dot optional)
7511
+ in: path
7512
+ name: zone_name
7640
7513
  required: true
7641
7514
  schema:
7642
- examples:
7643
- - email_forward_01h45ytscbebyvny4gc8cr8ma2
7644
- format: typeid
7645
- pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
7646
- title: Email Forward Id
7515
+ description: DNS zone name (trailing dot optional)
7516
+ title: Zone Name
7647
7517
  type: string
7648
- x-typeid-prefix: email_forward
7649
- requestBody:
7650
- content:
7651
- application/json:
7652
- schema:
7653
- $ref: '#/components/schemas/EmailForwardUpdate'
7654
- required: true
7655
7518
  responses:
7656
- '200':
7657
- content:
7658
- application/json:
7659
- schema:
7660
- $ref: '#/components/schemas/EmailForward'
7519
+ '204':
7661
7520
  description: Successful Response
7662
7521
  '422':
7663
7522
  content:
@@ -7667,7 +7526,7 @@ paths:
7667
7526
  description: Validation Error
7668
7527
  security:
7669
7528
  - OAuth2PasswordBearer: []
7670
- summary: Update Email Forward
7529
+ summary: Enable Email Forward
7671
7530
  tags:
7672
7531
  - email_forward
7673
7532
  /v1/event: