@opusdns/api 0.99.0 → 0.101.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
@@ -1708,6 +1708,7 @@ components:
1708
1708
  - hostname
1709
1709
  - enabled
1710
1710
  - created_on
1711
+ - updated_on
1711
1712
  title: DomainForwardSortField
1712
1713
  type: string
1713
1714
  DomainForwardZone:
@@ -1738,6 +1739,7 @@ components:
1738
1739
  enum:
1739
1740
  - name
1740
1741
  - created_on
1742
+ - updated_on
1741
1743
  title: DomainForwardZoneSortField
1742
1744
  type: string
1743
1745
  DomainLifecycleBase:
@@ -3132,6 +3134,89 @@ components:
3132
3134
  - hostname
3133
3135
  title: Nameserver
3134
3136
  type: object
3137
+ ObjectEventType:
3138
+ enum:
3139
+ - CREATED
3140
+ - UPDATED
3141
+ - DELETED
3142
+ - TRANSFER_STARTED
3143
+ - TRANSFER_COMPLETED
3144
+ - TRANSFER_OUT_STARTED
3145
+ - TRANSFER_OUT_COMPLETED
3146
+ - RENEWED
3147
+ - RESTORED
3148
+ - BILLING_TRANSACTION_RESERVED
3149
+ - BILLING_TRANSACTION_SUCCEEDED
3150
+ - BILLING_TRANSACTION_FAILED
3151
+ - BILLING_TRANSACTION_CANCELLED
3152
+ title: ObjectEventType
3153
+ type: string
3154
+ ObjectLog:
3155
+ properties:
3156
+ action:
3157
+ $ref: '#/components/schemas/ObjectEventType'
3158
+ description: Action performed
3159
+ created_on:
3160
+ description: Timestamp when the log was created
3161
+ format: date-time
3162
+ title: Created On
3163
+ type: string
3164
+ details:
3165
+ anyOf:
3166
+ - type: object
3167
+ - type: 'null'
3168
+ description: Changes made to the object
3169
+ title: Details
3170
+ object_id:
3171
+ description: ID of the object
3172
+ title: Object Id
3173
+ type: string
3174
+ object_log_id:
3175
+ description: Unique ID of the log
3176
+ title: Object Log Id
3177
+ type: string
3178
+ object_type:
3179
+ description: Type of the object
3180
+ title: Object Type
3181
+ type: string
3182
+ performed_by_id:
3183
+ anyOf:
3184
+ - type: string
3185
+ - type: 'null'
3186
+ description: ID of the actor who performed the action
3187
+ title: Performed By Id
3188
+ performed_by_type:
3189
+ anyOf:
3190
+ - type: string
3191
+ - type: 'null'
3192
+ description: Type of the actor who performed the action
3193
+ title: Performed By Type
3194
+ server_request_id:
3195
+ anyOf:
3196
+ - type: string
3197
+ - type: 'null'
3198
+ description: Server request ID
3199
+ title: Server Request Id
3200
+ required:
3201
+ - object_log_id
3202
+ - object_id
3203
+ - object_type
3204
+ - action
3205
+ - created_on
3206
+ title: ObjectLog
3207
+ type: object
3208
+ ObjectLogSortField:
3209
+ enum:
3210
+ - object_log_id
3211
+ - object_id
3212
+ - object_type
3213
+ - action
3214
+ - created_on
3215
+ - server_request_id
3216
+ - performed_by_type
3217
+ - performed_by_id
3218
+ title: ObjectLogSortField
3219
+ type: string
3135
3220
  Organization:
3136
3221
  properties:
3137
3222
  address_1:
@@ -3956,6 +4041,20 @@ components:
3956
4041
  - pagination
3957
4042
  title: Pagination[InvoiceResponse]
3958
4043
  type: object
4044
+ Pagination_ObjectLog_:
4045
+ properties:
4046
+ pagination:
4047
+ $ref: '#/components/schemas/PaginationMetadata'
4048
+ results:
4049
+ items:
4050
+ $ref: '#/components/schemas/ObjectLog'
4051
+ title: Results
4052
+ type: array
4053
+ required:
4054
+ - results
4055
+ - pagination
4056
+ title: Pagination[ObjectLog]
4057
+ type: object
3959
4058
  Pagination_Organization_:
3960
4059
  properties:
3961
4060
  pagination:
@@ -3970,6 +4069,20 @@ components:
3970
4069
  - pagination
3971
4070
  title: Pagination[Organization]
3972
4071
  type: object
4072
+ Pagination_RequestHistory_:
4073
+ properties:
4074
+ pagination:
4075
+ $ref: '#/components/schemas/PaginationMetadata'
4076
+ results:
4077
+ items:
4078
+ $ref: '#/components/schemas/RequestHistory'
4079
+ title: Results
4080
+ type: array
4081
+ required:
4082
+ - results
4083
+ - pagination
4084
+ title: Pagination[RequestHistory]
4085
+ type: object
3973
4086
  Pagination_User_:
3974
4087
  properties:
3975
4088
  pagination:
@@ -4325,6 +4438,91 @@ components:
4325
4438
  - delete
4326
4439
  title: RenewalMode
4327
4440
  type: string
4441
+ RequestHistory:
4442
+ properties:
4443
+ client_ip:
4444
+ description: Client IP address
4445
+ title: Client Ip
4446
+ type: string
4447
+ duration:
4448
+ description: Request duration in milliseconds
4449
+ title: Duration
4450
+ type: number
4451
+ method:
4452
+ description: HTTP method
4453
+ title: Method
4454
+ type: string
4455
+ path:
4456
+ description: Request path
4457
+ title: Path
4458
+ type: string
4459
+ performed_by_id:
4460
+ anyOf:
4461
+ - type: string
4462
+ - type: 'null'
4463
+ description: ID of the actor who performed the request
4464
+ title: Performed By Id
4465
+ performed_by_type:
4466
+ anyOf:
4467
+ - type: string
4468
+ - type: 'null'
4469
+ description: Type of the actor who performed the request
4470
+ title: Performed By Type
4471
+ request_body:
4472
+ anyOf:
4473
+ - type: object
4474
+ - type: 'null'
4475
+ description: Request body
4476
+ title: Request Body
4477
+ request_completed_at:
4478
+ description: Timestamp when the request completed
4479
+ format: date-time
4480
+ title: Request Completed At
4481
+ type: string
4482
+ request_started_at:
4483
+ description: Timestamp when the request started
4484
+ format: date-time
4485
+ title: Request Started At
4486
+ type: string
4487
+ response_body:
4488
+ anyOf:
4489
+ - type: object
4490
+ - type: 'null'
4491
+ description: Response body
4492
+ title: Response Body
4493
+ server_request_id:
4494
+ description: Unique ID of the request
4495
+ title: Server Request Id
4496
+ type: string
4497
+ status_code:
4498
+ description: HTTP status code
4499
+ title: Status Code
4500
+ type: integer
4501
+ required:
4502
+ - server_request_id
4503
+ - method
4504
+ - path
4505
+ - status_code
4506
+ - duration
4507
+ - client_ip
4508
+ - request_started_at
4509
+ - request_completed_at
4510
+ title: RequestHistory
4511
+ type: object
4512
+ RequestHistorySortField:
4513
+ enum:
4514
+ - method
4515
+ - path
4516
+ - status_code
4517
+ - duration
4518
+ - server_request_id
4519
+ - performed_by_type
4520
+ - performed_by_id
4521
+ - created_on
4522
+ - request_started_at
4523
+ - request_completed_at
4524
+ title: RequestHistorySortField
4525
+ type: string
4328
4526
  ReservedDomainsBase:
4329
4527
  properties:
4330
4528
  source:
@@ -5331,12 +5529,422 @@ info:
5331
5529
  '
5332
5530
  summary: OpusDNS - your gateway to a seamless domain management experience.
5333
5531
  title: OpusDNS API
5334
- version: 2025-11-24-120310
5532
+ version: 2025-11-25-131913
5335
5533
  x-logo:
5336
5534
  altText: OpusDNS API Reference
5337
5535
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
5338
5536
  openapi: 3.1.0
5339
5537
  paths:
5538
+ /v1/archive/object-logs:
5539
+ get:
5540
+ description: Retrieve paginated audit logs for a specific organization with
5541
+ optional filtering and sorting
5542
+ operationId: get_object_logs_v1_archive_object_logs_get
5543
+ parameters:
5544
+ - in: query
5545
+ name: sort_by
5546
+ required: false
5547
+ schema:
5548
+ $ref: '#/components/schemas/ObjectLogSortField'
5549
+ default: created_on
5550
+ - in: query
5551
+ name: sort_order
5552
+ required: false
5553
+ schema:
5554
+ $ref: '#/components/schemas/SortOrder'
5555
+ default: desc
5556
+ - in: query
5557
+ name: page_size
5558
+ required: false
5559
+ schema:
5560
+ default: 10
5561
+ maximum: 100
5562
+ minimum: 1
5563
+ title: Page Size
5564
+ type: integer
5565
+ - in: query
5566
+ name: page
5567
+ required: false
5568
+ schema:
5569
+ default: 1
5570
+ minimum: 1
5571
+ title: Page
5572
+ type: integer
5573
+ - in: query
5574
+ name: object_log_id
5575
+ required: false
5576
+ schema:
5577
+ anyOf:
5578
+ - type: string
5579
+ - type: 'null'
5580
+ title: Object Log Id
5581
+ - in: query
5582
+ name: object_type
5583
+ required: false
5584
+ schema:
5585
+ anyOf:
5586
+ - type: string
5587
+ - type: 'null'
5588
+ title: Object Type
5589
+ - in: query
5590
+ name: action
5591
+ required: false
5592
+ schema:
5593
+ anyOf:
5594
+ - $ref: '#/components/schemas/ObjectEventType'
5595
+ - type: 'null'
5596
+ title: Action
5597
+ - in: query
5598
+ name: server_request_id
5599
+ required: false
5600
+ schema:
5601
+ anyOf:
5602
+ - type: string
5603
+ - type: 'null'
5604
+ title: Server Request Id
5605
+ - in: query
5606
+ name: performed_by_type
5607
+ required: false
5608
+ schema:
5609
+ anyOf:
5610
+ - type: string
5611
+ - type: 'null'
5612
+ title: Performed By Type
5613
+ - in: query
5614
+ name: performed_by_id
5615
+ required: false
5616
+ schema:
5617
+ anyOf:
5618
+ - type: string
5619
+ - type: 'null'
5620
+ title: Performed By Id
5621
+ - in: query
5622
+ name: start_time
5623
+ required: false
5624
+ schema:
5625
+ anyOf:
5626
+ - format: date-time
5627
+ type: string
5628
+ - type: 'null'
5629
+ title: Start Time
5630
+ - in: query
5631
+ name: end_time
5632
+ required: false
5633
+ schema:
5634
+ anyOf:
5635
+ - format: date-time
5636
+ type: string
5637
+ - type: 'null'
5638
+ title: End Time
5639
+ - in: query
5640
+ name: object_id
5641
+ required: false
5642
+ schema:
5643
+ anyOf:
5644
+ - type: string
5645
+ - type: 'null'
5646
+ title: Object Id
5647
+ responses:
5648
+ '200':
5649
+ content:
5650
+ application/json:
5651
+ schema:
5652
+ $ref: '#/components/schemas/Pagination_ObjectLog_'
5653
+ description: Successful Response
5654
+ '422':
5655
+ content:
5656
+ application/problem+json:
5657
+ schema:
5658
+ $ref: '#/components/schemas/HTTPValidationError'
5659
+ description: Validation Error
5660
+ security:
5661
+ - OAuth2PasswordBearer: []
5662
+ summary: Get organization logs
5663
+ tags:
5664
+ - archive
5665
+ /v1/archive/object-logs/{object_id}:
5666
+ get:
5667
+ description: Retrieve paginated audit logs for a specific organization with
5668
+ optional filtering and sorting
5669
+ operationId: get_object_logs_by_object_id_v1_archive_object_logs__object_id__get
5670
+ parameters:
5671
+ - in: path
5672
+ name: object_id
5673
+ required: true
5674
+ schema:
5675
+ title: Object Id
5676
+ type: string
5677
+ - in: query
5678
+ name: sort_by
5679
+ required: false
5680
+ schema:
5681
+ $ref: '#/components/schemas/ObjectLogSortField'
5682
+ default: created_on
5683
+ - in: query
5684
+ name: sort_order
5685
+ required: false
5686
+ schema:
5687
+ $ref: '#/components/schemas/SortOrder'
5688
+ default: desc
5689
+ - in: query
5690
+ name: page_size
5691
+ required: false
5692
+ schema:
5693
+ default: 10
5694
+ maximum: 100
5695
+ minimum: 1
5696
+ title: Page Size
5697
+ type: integer
5698
+ - in: query
5699
+ name: page
5700
+ required: false
5701
+ schema:
5702
+ default: 1
5703
+ minimum: 1
5704
+ title: Page
5705
+ type: integer
5706
+ - in: query
5707
+ name: object_log_id
5708
+ required: false
5709
+ schema:
5710
+ anyOf:
5711
+ - type: string
5712
+ - type: 'null'
5713
+ title: Object Log Id
5714
+ - in: query
5715
+ name: object_type
5716
+ required: false
5717
+ schema:
5718
+ anyOf:
5719
+ - type: string
5720
+ - type: 'null'
5721
+ title: Object Type
5722
+ - in: query
5723
+ name: action
5724
+ required: false
5725
+ schema:
5726
+ anyOf:
5727
+ - $ref: '#/components/schemas/ObjectEventType'
5728
+ - type: 'null'
5729
+ title: Action
5730
+ - in: query
5731
+ name: server_request_id
5732
+ required: false
5733
+ schema:
5734
+ anyOf:
5735
+ - type: string
5736
+ - type: 'null'
5737
+ title: Server Request Id
5738
+ - in: query
5739
+ name: performed_by_type
5740
+ required: false
5741
+ schema:
5742
+ anyOf:
5743
+ - type: string
5744
+ - type: 'null'
5745
+ title: Performed By Type
5746
+ - in: query
5747
+ name: performed_by_id
5748
+ required: false
5749
+ schema:
5750
+ anyOf:
5751
+ - type: string
5752
+ - type: 'null'
5753
+ title: Performed By Id
5754
+ - in: query
5755
+ name: start_time
5756
+ required: false
5757
+ schema:
5758
+ anyOf:
5759
+ - format: date-time
5760
+ type: string
5761
+ - type: 'null'
5762
+ title: Start Time
5763
+ - in: query
5764
+ name: end_time
5765
+ required: false
5766
+ schema:
5767
+ anyOf:
5768
+ - format: date-time
5769
+ type: string
5770
+ - type: 'null'
5771
+ title: End Time
5772
+ responses:
5773
+ '200':
5774
+ content:
5775
+ application/json:
5776
+ schema:
5777
+ $ref: '#/components/schemas/Pagination_ObjectLog_'
5778
+ description: Successful Response
5779
+ '422':
5780
+ content:
5781
+ application/problem+json:
5782
+ schema:
5783
+ $ref: '#/components/schemas/HTTPValidationError'
5784
+ description: Validation Error
5785
+ security:
5786
+ - OAuth2PasswordBearer: []
5787
+ summary: Get organization logs
5788
+ tags:
5789
+ - archive
5790
+ /v1/archive/request-history:
5791
+ get:
5792
+ description: Retrieves a paginated list of request history logs
5793
+ operationId: get_request_history_v1_archive_request_history_get
5794
+ parameters:
5795
+ - in: query
5796
+ name: sort_by
5797
+ required: false
5798
+ schema:
5799
+ $ref: '#/components/schemas/RequestHistorySortField'
5800
+ default: created_on
5801
+ - in: query
5802
+ name: sort_order
5803
+ required: false
5804
+ schema:
5805
+ $ref: '#/components/schemas/SortOrder'
5806
+ default: desc
5807
+ - in: query
5808
+ name: page_size
5809
+ required: false
5810
+ schema:
5811
+ default: 10
5812
+ maximum: 100
5813
+ minimum: 1
5814
+ title: Page Size
5815
+ type: integer
5816
+ - in: query
5817
+ name: page
5818
+ required: false
5819
+ schema:
5820
+ default: 1
5821
+ minimum: 1
5822
+ title: Page
5823
+ type: integer
5824
+ - in: query
5825
+ name: method
5826
+ required: false
5827
+ schema:
5828
+ anyOf:
5829
+ - type: string
5830
+ - type: 'null'
5831
+ title: Method
5832
+ - in: query
5833
+ name: path
5834
+ required: false
5835
+ schema:
5836
+ anyOf:
5837
+ - type: string
5838
+ - type: 'null'
5839
+ title: Path
5840
+ - in: query
5841
+ name: status_code
5842
+ required: false
5843
+ schema:
5844
+ anyOf:
5845
+ - type: integer
5846
+ - type: 'null'
5847
+ title: Status Code
5848
+ - in: query
5849
+ name: min_status_code
5850
+ required: false
5851
+ schema:
5852
+ anyOf:
5853
+ - type: integer
5854
+ - type: 'null'
5855
+ title: Min Status Code
5856
+ - in: query
5857
+ name: max_status_code
5858
+ required: false
5859
+ schema:
5860
+ anyOf:
5861
+ - type: integer
5862
+ - type: 'null'
5863
+ title: Max Status Code
5864
+ - in: query
5865
+ name: min_duration
5866
+ required: false
5867
+ schema:
5868
+ anyOf:
5869
+ - type: number
5870
+ - type: 'null'
5871
+ title: Min Duration
5872
+ - in: query
5873
+ name: max_duration
5874
+ required: false
5875
+ schema:
5876
+ anyOf:
5877
+ - type: number
5878
+ - type: 'null'
5879
+ title: Max Duration
5880
+ - in: query
5881
+ name: client_ip
5882
+ required: false
5883
+ schema:
5884
+ anyOf:
5885
+ - type: string
5886
+ - type: 'null'
5887
+ title: Client Ip
5888
+ - in: query
5889
+ name: server_request_id
5890
+ required: false
5891
+ schema:
5892
+ anyOf:
5893
+ - type: string
5894
+ - type: 'null'
5895
+ title: Server Request Id
5896
+ - in: query
5897
+ name: performed_by_type
5898
+ required: false
5899
+ schema:
5900
+ anyOf:
5901
+ - type: string
5902
+ - type: 'null'
5903
+ title: Performed By Type
5904
+ - in: query
5905
+ name: performed_by_id
5906
+ required: false
5907
+ schema:
5908
+ anyOf:
5909
+ - type: string
5910
+ - type: 'null'
5911
+ title: Performed By Id
5912
+ - in: query
5913
+ name: start_time
5914
+ required: false
5915
+ schema:
5916
+ anyOf:
5917
+ - format: date-time
5918
+ type: string
5919
+ - type: 'null'
5920
+ title: Start Time
5921
+ - in: query
5922
+ name: end_time
5923
+ required: false
5924
+ schema:
5925
+ anyOf:
5926
+ - format: date-time
5927
+ type: string
5928
+ - type: 'null'
5929
+ title: End Time
5930
+ responses:
5931
+ '200':
5932
+ content:
5933
+ application/json:
5934
+ schema:
5935
+ $ref: '#/components/schemas/Pagination_RequestHistory_'
5936
+ description: Successful Response
5937
+ '422':
5938
+ content:
5939
+ application/problem+json:
5940
+ schema:
5941
+ $ref: '#/components/schemas/HTTPValidationError'
5942
+ description: Validation Error
5943
+ security:
5944
+ - OAuth2PasswordBearer: []
5945
+ summary: Get request history logs
5946
+ tags:
5947
+ - archive
5340
5948
  /v1/auth/token:
5341
5949
  post:
5342
5950
  operationId: issue_organization_token_v1_auth_token_post
@@ -11187,6 +11795,9 @@ tags:
11187
11795
  '
11188
11796
  name: authentication
11189
11797
  x-displayName: Authentication
11798
+ - description: "Endpoints for fetching historical data for objects and requests \n"
11799
+ name: archive
11800
+ x-displayName: Archive
11190
11801
  - description: 'Endpoints for checking domain availability.
11191
11802
 
11192
11803
  '
@@ -11271,3 +11882,4 @@ x-tagGroups:
11271
11882
  - domain_forward
11272
11883
  - rdap
11273
11884
  - domain_search
11885
+ - archive