@opusdns/api 0.271.0 → 0.272.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/helpers/requests.d.ts +108 -108
- package/src/helpers/responses.d.ts +160 -160
- package/src/openapi.yaml +151 -151
- package/src/schema.d.ts +100 -100
package/src/openapi.yaml
CHANGED
|
@@ -10153,7 +10153,7 @@ info:
|
|
|
10153
10153
|
\n\n"
|
|
10154
10154
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
10155
10155
|
title: OpusDNS API
|
|
10156
|
-
version: 2026-04-27-
|
|
10156
|
+
version: 2026-04-27-163825
|
|
10157
10157
|
x-logo:
|
|
10158
10158
|
altText: OpusDNS API Reference
|
|
10159
10159
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -19811,156 +19811,6 @@ paths:
|
|
|
19811
19811
|
summary: Update organization attributes
|
|
19812
19812
|
tags:
|
|
19813
19813
|
- organization
|
|
19814
|
-
/v1/organizations/attributes/{organization_id}:
|
|
19815
|
-
get:
|
|
19816
|
-
description: Retrieves a list of organization attributes for the specified organization
|
|
19817
|
-
operationId: get_attributes_v1_organizations_attributes__organization_id__get
|
|
19818
|
-
parameters:
|
|
19819
|
-
- in: path
|
|
19820
|
-
name: organization_id
|
|
19821
|
-
required: true
|
|
19822
|
-
schema:
|
|
19823
|
-
anyOf:
|
|
19824
|
-
- examples:
|
|
19825
|
-
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
19826
|
-
format: typeid
|
|
19827
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
19828
|
-
type: string
|
|
19829
|
-
x-typeid-prefix: organization
|
|
19830
|
-
- type: 'null'
|
|
19831
|
-
title: Organization Id
|
|
19832
|
-
- description: Optional list of attribute keys to filter
|
|
19833
|
-
in: query
|
|
19834
|
-
name: keys
|
|
19835
|
-
required: false
|
|
19836
|
-
schema:
|
|
19837
|
-
anyOf:
|
|
19838
|
-
- items:
|
|
19839
|
-
type: string
|
|
19840
|
-
type: array
|
|
19841
|
-
- type: 'null'
|
|
19842
|
-
description: Optional list of attribute keys to filter
|
|
19843
|
-
title: Keys
|
|
19844
|
-
responses:
|
|
19845
|
-
'200':
|
|
19846
|
-
content:
|
|
19847
|
-
application/json:
|
|
19848
|
-
schema:
|
|
19849
|
-
items:
|
|
19850
|
-
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
19851
|
-
title: Response Get Attributes V1 Organizations Attributes Organization
|
|
19852
|
-
Id Get
|
|
19853
|
-
type: array
|
|
19854
|
-
description: Successful Response
|
|
19855
|
-
'401':
|
|
19856
|
-
content:
|
|
19857
|
-
application/problem+json:
|
|
19858
|
-
example:
|
|
19859
|
-
code: ERROR_AUTHENTICATION
|
|
19860
|
-
detail: Additional error context.
|
|
19861
|
-
status: 401
|
|
19862
|
-
title: Authentication Error
|
|
19863
|
-
type: authentication
|
|
19864
|
-
schema:
|
|
19865
|
-
$ref: '#/components/schemas/Problem'
|
|
19866
|
-
description: Unauthorized
|
|
19867
|
-
'403':
|
|
19868
|
-
content:
|
|
19869
|
-
application/problem+json:
|
|
19870
|
-
example:
|
|
19871
|
-
code: ERROR_PERMISSION_DENIED
|
|
19872
|
-
detail: Insufficient permissions to perform this action
|
|
19873
|
-
status: 403
|
|
19874
|
-
title: Permission Denied
|
|
19875
|
-
type: permission-denied
|
|
19876
|
-
schema:
|
|
19877
|
-
$ref: '#/components/schemas/Problem'
|
|
19878
|
-
description: Forbidden
|
|
19879
|
-
'422':
|
|
19880
|
-
content:
|
|
19881
|
-
application/problem+json:
|
|
19882
|
-
schema:
|
|
19883
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
19884
|
-
description: Validation Error
|
|
19885
|
-
security:
|
|
19886
|
-
- OAuth2PasswordBearer: []
|
|
19887
|
-
- APIKeyHeader: []
|
|
19888
|
-
summary: List organization attributes
|
|
19889
|
-
tags:
|
|
19890
|
-
- organization
|
|
19891
|
-
patch:
|
|
19892
|
-
description: Updates one or more organization attributes for the specified organization
|
|
19893
|
-
operationId: update_attributes_v1_organizations_attributes__organization_id__patch
|
|
19894
|
-
parameters:
|
|
19895
|
-
- in: path
|
|
19896
|
-
name: organization_id
|
|
19897
|
-
required: true
|
|
19898
|
-
schema:
|
|
19899
|
-
anyOf:
|
|
19900
|
-
- examples:
|
|
19901
|
-
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
19902
|
-
format: typeid
|
|
19903
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
19904
|
-
type: string
|
|
19905
|
-
x-typeid-prefix: organization
|
|
19906
|
-
- type: 'null'
|
|
19907
|
-
title: Organization Id
|
|
19908
|
-
requestBody:
|
|
19909
|
-
content:
|
|
19910
|
-
application/json:
|
|
19911
|
-
schema:
|
|
19912
|
-
items:
|
|
19913
|
-
$ref: '#/components/schemas/OrganizationAttributeUpdate'
|
|
19914
|
-
title: Attributes
|
|
19915
|
-
type: array
|
|
19916
|
-
required: true
|
|
19917
|
-
responses:
|
|
19918
|
-
'200':
|
|
19919
|
-
content:
|
|
19920
|
-
application/json:
|
|
19921
|
-
schema:
|
|
19922
|
-
items:
|
|
19923
|
-
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
19924
|
-
title: Response Update Attributes V1 Organizations Attributes Organization
|
|
19925
|
-
Id Patch
|
|
19926
|
-
type: array
|
|
19927
|
-
description: Successful Response
|
|
19928
|
-
'401':
|
|
19929
|
-
content:
|
|
19930
|
-
application/problem+json:
|
|
19931
|
-
example:
|
|
19932
|
-
code: ERROR_AUTHENTICATION
|
|
19933
|
-
detail: Additional error context.
|
|
19934
|
-
status: 401
|
|
19935
|
-
title: Authentication Error
|
|
19936
|
-
type: authentication
|
|
19937
|
-
schema:
|
|
19938
|
-
$ref: '#/components/schemas/Problem'
|
|
19939
|
-
description: Unauthorized
|
|
19940
|
-
'403':
|
|
19941
|
-
content:
|
|
19942
|
-
application/problem+json:
|
|
19943
|
-
example:
|
|
19944
|
-
code: ERROR_PERMISSION_DENIED
|
|
19945
|
-
detail: Insufficient permissions to perform this action
|
|
19946
|
-
status: 403
|
|
19947
|
-
title: Permission Denied
|
|
19948
|
-
type: permission-denied
|
|
19949
|
-
schema:
|
|
19950
|
-
$ref: '#/components/schemas/Problem'
|
|
19951
|
-
description: Forbidden
|
|
19952
|
-
'422':
|
|
19953
|
-
content:
|
|
19954
|
-
application/problem+json:
|
|
19955
|
-
schema:
|
|
19956
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
19957
|
-
description: Validation Error
|
|
19958
|
-
security:
|
|
19959
|
-
- OAuth2PasswordBearer: []
|
|
19960
|
-
- APIKeyHeader: []
|
|
19961
|
-
summary: Update organization attributes
|
|
19962
|
-
tags:
|
|
19963
|
-
- organization
|
|
19964
19814
|
/v1/organizations/ip-restrictions:
|
|
19965
19815
|
get:
|
|
19966
19816
|
description: 'List all IP restrictions for the organization.
|
|
@@ -20563,6 +20413,156 @@ paths:
|
|
|
20563
20413
|
summary: Update an organization
|
|
20564
20414
|
tags:
|
|
20565
20415
|
- organization
|
|
20416
|
+
/v1/organizations/{organization_id}/attributes:
|
|
20417
|
+
get:
|
|
20418
|
+
description: Retrieves a list of organization attributes for the specified organization
|
|
20419
|
+
operationId: get_attributes_v1_organizations__organization_id__attributes_get
|
|
20420
|
+
parameters:
|
|
20421
|
+
- in: path
|
|
20422
|
+
name: organization_id
|
|
20423
|
+
required: true
|
|
20424
|
+
schema:
|
|
20425
|
+
anyOf:
|
|
20426
|
+
- examples:
|
|
20427
|
+
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
20428
|
+
format: typeid
|
|
20429
|
+
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
20430
|
+
type: string
|
|
20431
|
+
x-typeid-prefix: organization
|
|
20432
|
+
- type: 'null'
|
|
20433
|
+
title: Organization Id
|
|
20434
|
+
- description: Optional list of attribute keys to filter
|
|
20435
|
+
in: query
|
|
20436
|
+
name: keys
|
|
20437
|
+
required: false
|
|
20438
|
+
schema:
|
|
20439
|
+
anyOf:
|
|
20440
|
+
- items:
|
|
20441
|
+
type: string
|
|
20442
|
+
type: array
|
|
20443
|
+
- type: 'null'
|
|
20444
|
+
description: Optional list of attribute keys to filter
|
|
20445
|
+
title: Keys
|
|
20446
|
+
responses:
|
|
20447
|
+
'200':
|
|
20448
|
+
content:
|
|
20449
|
+
application/json:
|
|
20450
|
+
schema:
|
|
20451
|
+
items:
|
|
20452
|
+
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
20453
|
+
title: Response Get Attributes V1 Organizations Organization Id Attributes
|
|
20454
|
+
Get
|
|
20455
|
+
type: array
|
|
20456
|
+
description: Successful Response
|
|
20457
|
+
'401':
|
|
20458
|
+
content:
|
|
20459
|
+
application/problem+json:
|
|
20460
|
+
example:
|
|
20461
|
+
code: ERROR_AUTHENTICATION
|
|
20462
|
+
detail: Additional error context.
|
|
20463
|
+
status: 401
|
|
20464
|
+
title: Authentication Error
|
|
20465
|
+
type: authentication
|
|
20466
|
+
schema:
|
|
20467
|
+
$ref: '#/components/schemas/Problem'
|
|
20468
|
+
description: Unauthorized
|
|
20469
|
+
'403':
|
|
20470
|
+
content:
|
|
20471
|
+
application/problem+json:
|
|
20472
|
+
example:
|
|
20473
|
+
code: ERROR_PERMISSION_DENIED
|
|
20474
|
+
detail: Insufficient permissions to perform this action
|
|
20475
|
+
status: 403
|
|
20476
|
+
title: Permission Denied
|
|
20477
|
+
type: permission-denied
|
|
20478
|
+
schema:
|
|
20479
|
+
$ref: '#/components/schemas/Problem'
|
|
20480
|
+
description: Forbidden
|
|
20481
|
+
'422':
|
|
20482
|
+
content:
|
|
20483
|
+
application/problem+json:
|
|
20484
|
+
schema:
|
|
20485
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
20486
|
+
description: Validation Error
|
|
20487
|
+
security:
|
|
20488
|
+
- OAuth2PasswordBearer: []
|
|
20489
|
+
- APIKeyHeader: []
|
|
20490
|
+
summary: List organization attributes
|
|
20491
|
+
tags:
|
|
20492
|
+
- organization
|
|
20493
|
+
patch:
|
|
20494
|
+
description: Updates one or more organization attributes for the specified organization
|
|
20495
|
+
operationId: update_attributes_v1_organizations__organization_id__attributes_patch
|
|
20496
|
+
parameters:
|
|
20497
|
+
- in: path
|
|
20498
|
+
name: organization_id
|
|
20499
|
+
required: true
|
|
20500
|
+
schema:
|
|
20501
|
+
anyOf:
|
|
20502
|
+
- examples:
|
|
20503
|
+
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
20504
|
+
format: typeid
|
|
20505
|
+
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
20506
|
+
type: string
|
|
20507
|
+
x-typeid-prefix: organization
|
|
20508
|
+
- type: 'null'
|
|
20509
|
+
title: Organization Id
|
|
20510
|
+
requestBody:
|
|
20511
|
+
content:
|
|
20512
|
+
application/json:
|
|
20513
|
+
schema:
|
|
20514
|
+
items:
|
|
20515
|
+
$ref: '#/components/schemas/OrganizationAttributeUpdate'
|
|
20516
|
+
title: Attributes
|
|
20517
|
+
type: array
|
|
20518
|
+
required: true
|
|
20519
|
+
responses:
|
|
20520
|
+
'200':
|
|
20521
|
+
content:
|
|
20522
|
+
application/json:
|
|
20523
|
+
schema:
|
|
20524
|
+
items:
|
|
20525
|
+
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
20526
|
+
title: Response Update Attributes V1 Organizations Organization Id Attributes
|
|
20527
|
+
Patch
|
|
20528
|
+
type: array
|
|
20529
|
+
description: Successful Response
|
|
20530
|
+
'401':
|
|
20531
|
+
content:
|
|
20532
|
+
application/problem+json:
|
|
20533
|
+
example:
|
|
20534
|
+
code: ERROR_AUTHENTICATION
|
|
20535
|
+
detail: Additional error context.
|
|
20536
|
+
status: 401
|
|
20537
|
+
title: Authentication Error
|
|
20538
|
+
type: authentication
|
|
20539
|
+
schema:
|
|
20540
|
+
$ref: '#/components/schemas/Problem'
|
|
20541
|
+
description: Unauthorized
|
|
20542
|
+
'403':
|
|
20543
|
+
content:
|
|
20544
|
+
application/problem+json:
|
|
20545
|
+
example:
|
|
20546
|
+
code: ERROR_PERMISSION_DENIED
|
|
20547
|
+
detail: Insufficient permissions to perform this action
|
|
20548
|
+
status: 403
|
|
20549
|
+
title: Permission Denied
|
|
20550
|
+
type: permission-denied
|
|
20551
|
+
schema:
|
|
20552
|
+
$ref: '#/components/schemas/Problem'
|
|
20553
|
+
description: Forbidden
|
|
20554
|
+
'422':
|
|
20555
|
+
content:
|
|
20556
|
+
application/problem+json:
|
|
20557
|
+
schema:
|
|
20558
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
20559
|
+
description: Validation Error
|
|
20560
|
+
security:
|
|
20561
|
+
- OAuth2PasswordBearer: []
|
|
20562
|
+
- APIKeyHeader: []
|
|
20563
|
+
summary: Update organization attributes
|
|
20564
|
+
tags:
|
|
20565
|
+
- organization
|
|
20566
20566
|
/v1/organizations/{organization_id}/billing/invoices:
|
|
20567
20567
|
get:
|
|
20568
20568
|
description: Retrieves a paginated list of all invoices for the organization
|