@opusdns/api 0.270.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/keys.ts +2 -3
- package/src/helpers/requests.d.ts +108 -108
- package/src/helpers/responses.d.ts +160 -160
- package/src/openapi.yaml +201 -186
- package/src/schema.d.ts +103 -103
package/src/schema.d.ts
CHANGED
|
@@ -1527,30 +1527,6 @@ export interface paths {
|
|
|
1527
1527
|
patch: operations["update_attributes_v1_organizations_attributes_patch"];
|
|
1528
1528
|
trace?: never;
|
|
1529
1529
|
};
|
|
1530
|
-
"/v1/organizations/attributes/{organization_id}": {
|
|
1531
|
-
parameters: {
|
|
1532
|
-
query?: never;
|
|
1533
|
-
header?: never;
|
|
1534
|
-
path?: never;
|
|
1535
|
-
cookie?: never;
|
|
1536
|
-
};
|
|
1537
|
-
/**
|
|
1538
|
-
* List organization attributes
|
|
1539
|
-
* @description Retrieves a list of organization attributes for the specified organization
|
|
1540
|
-
*/
|
|
1541
|
-
get: operations["get_attributes_v1_organizations_attributes__organization_id__get"];
|
|
1542
|
-
put?: never;
|
|
1543
|
-
post?: never;
|
|
1544
|
-
delete?: never;
|
|
1545
|
-
options?: never;
|
|
1546
|
-
head?: never;
|
|
1547
|
-
/**
|
|
1548
|
-
* Update organization attributes
|
|
1549
|
-
* @description Updates one or more organization attributes for the specified organization
|
|
1550
|
-
*/
|
|
1551
|
-
patch: operations["update_attributes_v1_organizations_attributes__organization_id__patch"];
|
|
1552
|
-
trace?: never;
|
|
1553
|
-
};
|
|
1554
1530
|
"/v1/organizations/ip-restrictions": {
|
|
1555
1531
|
parameters: {
|
|
1556
1532
|
query?: never;
|
|
@@ -1685,6 +1661,30 @@ export interface paths {
|
|
|
1685
1661
|
patch: operations["update_organization_v1_organizations__organization_id__patch"];
|
|
1686
1662
|
trace?: never;
|
|
1687
1663
|
};
|
|
1664
|
+
"/v1/organizations/{organization_id}/attributes": {
|
|
1665
|
+
parameters: {
|
|
1666
|
+
query?: never;
|
|
1667
|
+
header?: never;
|
|
1668
|
+
path?: never;
|
|
1669
|
+
cookie?: never;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* List organization attributes
|
|
1673
|
+
* @description Retrieves a list of organization attributes for the specified organization
|
|
1674
|
+
*/
|
|
1675
|
+
get: operations["get_attributes_v1_organizations__organization_id__attributes_get"];
|
|
1676
|
+
put?: never;
|
|
1677
|
+
post?: never;
|
|
1678
|
+
delete?: never;
|
|
1679
|
+
options?: never;
|
|
1680
|
+
head?: never;
|
|
1681
|
+
/**
|
|
1682
|
+
* Update organization attributes
|
|
1683
|
+
* @description Updates one or more organization attributes for the specified organization
|
|
1684
|
+
*/
|
|
1685
|
+
patch: operations["update_attributes_v1_organizations__organization_id__attributes_patch"];
|
|
1686
|
+
trace?: never;
|
|
1687
|
+
};
|
|
1688
1688
|
"/v1/organizations/{organization_id}/billing/invoices": {
|
|
1689
1689
|
parameters: {
|
|
1690
1690
|
query?: never;
|
|
@@ -3849,7 +3849,7 @@ export interface components {
|
|
|
3849
3849
|
name: string;
|
|
3850
3850
|
/**
|
|
3851
3851
|
* Rrsets
|
|
3852
|
-
* @description Override RRsets for this zone
|
|
3852
|
+
* @description Override RRsets for this zone. Omit to inherit the template (or leave records unchanged if the template also omits rrsets). Provide an empty list to delete all records.
|
|
3853
3853
|
*/
|
|
3854
3854
|
rrsets?: components["schemas"]["DnsRrsetCreate"][] | null;
|
|
3855
3855
|
};
|
|
@@ -3869,9 +3869,9 @@ export interface components {
|
|
|
3869
3869
|
dnssec_status?: components["schemas"]["DnssecStatus"] | null;
|
|
3870
3870
|
/**
|
|
3871
3871
|
* Rrsets
|
|
3872
|
-
* @description DNS record sets to
|
|
3872
|
+
* @description DNS record sets to apply to every zone. Omit to leave each zone's RRsets unchanged (useful for bulk DNSSEC toggles). Provide an empty list to delete all records.
|
|
3873
3873
|
*/
|
|
3874
|
-
rrsets?: components["schemas"]["DnsRrsetCreate"][];
|
|
3874
|
+
rrsets?: components["schemas"]["DnsRrsetCreate"][] | null;
|
|
3875
3875
|
};
|
|
3876
3876
|
/** DnsZoneUpdateCommand */
|
|
3877
3877
|
DnsZoneUpdateCommand: {
|
|
@@ -15657,16 +15657,11 @@ export interface operations {
|
|
|
15657
15657
|
};
|
|
15658
15658
|
};
|
|
15659
15659
|
};
|
|
15660
|
-
|
|
15660
|
+
list_ip_restrictions_v1_organizations_ip_restrictions_get: {
|
|
15661
15661
|
parameters: {
|
|
15662
|
-
query?:
|
|
15663
|
-
/** @description Optional list of attribute keys to filter */
|
|
15664
|
-
keys?: string[] | null;
|
|
15665
|
-
};
|
|
15662
|
+
query?: never;
|
|
15666
15663
|
header?: never;
|
|
15667
|
-
path
|
|
15668
|
-
organization_id: TypeId<"organization"> | null;
|
|
15669
|
-
};
|
|
15664
|
+
path?: never;
|
|
15670
15665
|
cookie?: never;
|
|
15671
15666
|
};
|
|
15672
15667
|
requestBody?: never;
|
|
@@ -15677,7 +15672,7 @@ export interface operations {
|
|
|
15677
15672
|
[name: string]: unknown;
|
|
15678
15673
|
};
|
|
15679
15674
|
content: {
|
|
15680
|
-
"application/json": components["schemas"]["
|
|
15675
|
+
"application/json": components["schemas"]["IpRestrictionResponse"][];
|
|
15681
15676
|
};
|
|
15682
15677
|
};
|
|
15683
15678
|
/** @description Unauthorized */
|
|
@@ -15723,18 +15718,16 @@ export interface operations {
|
|
|
15723
15718
|
};
|
|
15724
15719
|
};
|
|
15725
15720
|
};
|
|
15726
|
-
|
|
15721
|
+
create_ip_restriction_v1_organizations_ip_restrictions_post: {
|
|
15727
15722
|
parameters: {
|
|
15728
15723
|
query?: never;
|
|
15729
15724
|
header?: never;
|
|
15730
|
-
path
|
|
15731
|
-
organization_id: TypeId<"organization"> | null;
|
|
15732
|
-
};
|
|
15725
|
+
path?: never;
|
|
15733
15726
|
cookie?: never;
|
|
15734
15727
|
};
|
|
15735
15728
|
requestBody: {
|
|
15736
15729
|
content: {
|
|
15737
|
-
"application/json": components["schemas"]["
|
|
15730
|
+
"application/json": components["schemas"]["IpRestrictionCreate"];
|
|
15738
15731
|
};
|
|
15739
15732
|
};
|
|
15740
15733
|
responses: {
|
|
@@ -15744,7 +15737,7 @@ export interface operations {
|
|
|
15744
15737
|
[name: string]: unknown;
|
|
15745
15738
|
};
|
|
15746
15739
|
content: {
|
|
15747
|
-
"application/json": components["schemas"]["
|
|
15740
|
+
"application/json": components["schemas"]["IpRestrictionResponse"];
|
|
15748
15741
|
};
|
|
15749
15742
|
};
|
|
15750
15743
|
/** @description Unauthorized */
|
|
@@ -15790,11 +15783,13 @@ export interface operations {
|
|
|
15790
15783
|
};
|
|
15791
15784
|
};
|
|
15792
15785
|
};
|
|
15793
|
-
|
|
15786
|
+
get_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__get: {
|
|
15794
15787
|
parameters: {
|
|
15795
15788
|
query?: never;
|
|
15796
15789
|
header?: never;
|
|
15797
|
-
path
|
|
15790
|
+
path: {
|
|
15791
|
+
ip_restriction_id: number;
|
|
15792
|
+
};
|
|
15798
15793
|
cookie?: never;
|
|
15799
15794
|
};
|
|
15800
15795
|
requestBody?: never;
|
|
@@ -15805,7 +15800,7 @@ export interface operations {
|
|
|
15805
15800
|
[name: string]: unknown;
|
|
15806
15801
|
};
|
|
15807
15802
|
content: {
|
|
15808
|
-
"application/json": components["schemas"]["IpRestrictionResponse"]
|
|
15803
|
+
"application/json": components["schemas"]["IpRestrictionResponse"];
|
|
15809
15804
|
};
|
|
15810
15805
|
};
|
|
15811
15806
|
/** @description Unauthorized */
|
|
@@ -15851,27 +15846,23 @@ export interface operations {
|
|
|
15851
15846
|
};
|
|
15852
15847
|
};
|
|
15853
15848
|
};
|
|
15854
|
-
|
|
15849
|
+
delete_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__delete: {
|
|
15855
15850
|
parameters: {
|
|
15856
15851
|
query?: never;
|
|
15857
15852
|
header?: never;
|
|
15858
|
-
path
|
|
15859
|
-
|
|
15860
|
-
};
|
|
15861
|
-
requestBody: {
|
|
15862
|
-
content: {
|
|
15863
|
-
"application/json": components["schemas"]["IpRestrictionCreate"];
|
|
15853
|
+
path: {
|
|
15854
|
+
ip_restriction_id: number;
|
|
15864
15855
|
};
|
|
15856
|
+
cookie?: never;
|
|
15865
15857
|
};
|
|
15858
|
+
requestBody?: never;
|
|
15866
15859
|
responses: {
|
|
15867
15860
|
/** @description Successful Response */
|
|
15868
|
-
|
|
15861
|
+
204: {
|
|
15869
15862
|
headers: {
|
|
15870
15863
|
[name: string]: unknown;
|
|
15871
15864
|
};
|
|
15872
|
-
content
|
|
15873
|
-
"application/json": components["schemas"]["IpRestrictionResponse"];
|
|
15874
|
-
};
|
|
15865
|
+
content?: never;
|
|
15875
15866
|
};
|
|
15876
15867
|
/** @description Unauthorized */
|
|
15877
15868
|
401: {
|
|
@@ -15916,7 +15907,7 @@ export interface operations {
|
|
|
15916
15907
|
};
|
|
15917
15908
|
};
|
|
15918
15909
|
};
|
|
15919
|
-
|
|
15910
|
+
update_ip_restriction_v1_organizations_ip_restrictions__ip_restriction_id__patch: {
|
|
15920
15911
|
parameters: {
|
|
15921
15912
|
query?: never;
|
|
15922
15913
|
header?: never;
|
|
@@ -15925,7 +15916,11 @@ export interface operations {
|
|
|
15925
15916
|
};
|
|
15926
15917
|
cookie?: never;
|
|
15927
15918
|
};
|
|
15928
|
-
requestBody
|
|
15919
|
+
requestBody: {
|
|
15920
|
+
content: {
|
|
15921
|
+
"application/json": components["schemas"]["IpRestrictionUpdate"];
|
|
15922
|
+
};
|
|
15923
|
+
};
|
|
15929
15924
|
responses: {
|
|
15930
15925
|
/** @description Successful Response */
|
|
15931
15926
|
200: {
|
|
@@ -15979,23 +15974,23 @@ export interface operations {
|
|
|
15979
15974
|
};
|
|
15980
15975
|
};
|
|
15981
15976
|
};
|
|
15982
|
-
|
|
15977
|
+
list_roles_v1_organizations_roles_get: {
|
|
15983
15978
|
parameters: {
|
|
15984
15979
|
query?: never;
|
|
15985
15980
|
header?: never;
|
|
15986
|
-
path
|
|
15987
|
-
ip_restriction_id: number;
|
|
15988
|
-
};
|
|
15981
|
+
path?: never;
|
|
15989
15982
|
cookie?: never;
|
|
15990
15983
|
};
|
|
15991
15984
|
requestBody?: never;
|
|
15992
15985
|
responses: {
|
|
15993
15986
|
/** @description Successful Response */
|
|
15994
|
-
|
|
15987
|
+
200: {
|
|
15995
15988
|
headers: {
|
|
15996
15989
|
[name: string]: unknown;
|
|
15997
15990
|
};
|
|
15998
|
-
content
|
|
15991
|
+
content: {
|
|
15992
|
+
"application/json": unknown;
|
|
15993
|
+
};
|
|
15999
15994
|
};
|
|
16000
15995
|
/** @description Unauthorized */
|
|
16001
15996
|
401: {
|
|
@@ -16040,20 +16035,20 @@ export interface operations {
|
|
|
16040
16035
|
};
|
|
16041
16036
|
};
|
|
16042
16037
|
};
|
|
16043
|
-
|
|
16038
|
+
list_users_v1_organizations_users_get: {
|
|
16044
16039
|
parameters: {
|
|
16045
|
-
query?:
|
|
16046
|
-
|
|
16047
|
-
|
|
16048
|
-
|
|
16040
|
+
query?: {
|
|
16041
|
+
sort_by?: components["schemas"]["UserSortField"];
|
|
16042
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
16043
|
+
search?: string | null;
|
|
16044
|
+
page?: number;
|
|
16045
|
+
page_size?: number;
|
|
16049
16046
|
};
|
|
16047
|
+
header?: never;
|
|
16048
|
+
path?: never;
|
|
16050
16049
|
cookie?: never;
|
|
16051
16050
|
};
|
|
16052
|
-
requestBody
|
|
16053
|
-
content: {
|
|
16054
|
-
"application/json": components["schemas"]["IpRestrictionUpdate"];
|
|
16055
|
-
};
|
|
16056
|
-
};
|
|
16051
|
+
requestBody?: never;
|
|
16057
16052
|
responses: {
|
|
16058
16053
|
/** @description Successful Response */
|
|
16059
16054
|
200: {
|
|
@@ -16061,7 +16056,7 @@ export interface operations {
|
|
|
16061
16056
|
[name: string]: unknown;
|
|
16062
16057
|
};
|
|
16063
16058
|
content: {
|
|
16064
|
-
"application/json": components["schemas"]["
|
|
16059
|
+
"application/json": components["schemas"]["Pagination_UserPublic_"];
|
|
16065
16060
|
};
|
|
16066
16061
|
};
|
|
16067
16062
|
/** @description Unauthorized */
|
|
@@ -16107,11 +16102,13 @@ export interface operations {
|
|
|
16107
16102
|
};
|
|
16108
16103
|
};
|
|
16109
16104
|
};
|
|
16110
|
-
|
|
16105
|
+
get_organization_v1_organizations__organization_id__get: {
|
|
16111
16106
|
parameters: {
|
|
16112
16107
|
query?: never;
|
|
16113
16108
|
header?: never;
|
|
16114
|
-
path
|
|
16109
|
+
path: {
|
|
16110
|
+
organization_id: TypeId<"organization">;
|
|
16111
|
+
};
|
|
16115
16112
|
cookie?: never;
|
|
16116
16113
|
};
|
|
16117
16114
|
requestBody?: never;
|
|
@@ -16122,7 +16119,7 @@ export interface operations {
|
|
|
16122
16119
|
[name: string]: unknown;
|
|
16123
16120
|
};
|
|
16124
16121
|
content: {
|
|
16125
|
-
"application/json":
|
|
16122
|
+
"application/json": components["schemas"]["OrganizationWithBillingData"];
|
|
16126
16123
|
};
|
|
16127
16124
|
};
|
|
16128
16125
|
/** @description Unauthorized */
|
|
@@ -16168,29 +16165,23 @@ export interface operations {
|
|
|
16168
16165
|
};
|
|
16169
16166
|
};
|
|
16170
16167
|
};
|
|
16171
|
-
|
|
16168
|
+
delete_organization_v1_organizations__organization_id__delete: {
|
|
16172
16169
|
parameters: {
|
|
16173
|
-
query?:
|
|
16174
|
-
sort_by?: components["schemas"]["UserSortField"];
|
|
16175
|
-
sort_order?: components["schemas"]["SortOrder"];
|
|
16176
|
-
search?: string | null;
|
|
16177
|
-
page?: number;
|
|
16178
|
-
page_size?: number;
|
|
16179
|
-
};
|
|
16170
|
+
query?: never;
|
|
16180
16171
|
header?: never;
|
|
16181
|
-
path
|
|
16172
|
+
path: {
|
|
16173
|
+
organization_id: TypeId<"organization">;
|
|
16174
|
+
};
|
|
16182
16175
|
cookie?: never;
|
|
16183
16176
|
};
|
|
16184
16177
|
requestBody?: never;
|
|
16185
16178
|
responses: {
|
|
16186
16179
|
/** @description Successful Response */
|
|
16187
|
-
|
|
16180
|
+
204: {
|
|
16188
16181
|
headers: {
|
|
16189
16182
|
[name: string]: unknown;
|
|
16190
16183
|
};
|
|
16191
|
-
content
|
|
16192
|
-
"application/json": components["schemas"]["Pagination_UserPublic_"];
|
|
16193
|
-
};
|
|
16184
|
+
content?: never;
|
|
16194
16185
|
};
|
|
16195
16186
|
/** @description Unauthorized */
|
|
16196
16187
|
401: {
|
|
@@ -16235,7 +16226,7 @@ export interface operations {
|
|
|
16235
16226
|
};
|
|
16236
16227
|
};
|
|
16237
16228
|
};
|
|
16238
|
-
|
|
16229
|
+
update_organization_v1_organizations__organization_id__patch: {
|
|
16239
16230
|
parameters: {
|
|
16240
16231
|
query?: never;
|
|
16241
16232
|
header?: never;
|
|
@@ -16244,7 +16235,11 @@ export interface operations {
|
|
|
16244
16235
|
};
|
|
16245
16236
|
cookie?: never;
|
|
16246
16237
|
};
|
|
16247
|
-
requestBody
|
|
16238
|
+
requestBody: {
|
|
16239
|
+
content: {
|
|
16240
|
+
"application/json": components["schemas"]["OrganizationUpdate"];
|
|
16241
|
+
};
|
|
16242
|
+
};
|
|
16248
16243
|
responses: {
|
|
16249
16244
|
/** @description Successful Response */
|
|
16250
16245
|
200: {
|
|
@@ -16252,7 +16247,7 @@ export interface operations {
|
|
|
16252
16247
|
[name: string]: unknown;
|
|
16253
16248
|
};
|
|
16254
16249
|
content: {
|
|
16255
|
-
"application/json": components["schemas"]["
|
|
16250
|
+
"application/json": components["schemas"]["Organization"];
|
|
16256
16251
|
};
|
|
16257
16252
|
};
|
|
16258
16253
|
/** @description Unauthorized */
|
|
@@ -16298,23 +16293,28 @@ export interface operations {
|
|
|
16298
16293
|
};
|
|
16299
16294
|
};
|
|
16300
16295
|
};
|
|
16301
|
-
|
|
16296
|
+
get_attributes_v1_organizations__organization_id__attributes_get: {
|
|
16302
16297
|
parameters: {
|
|
16303
|
-
query?:
|
|
16298
|
+
query?: {
|
|
16299
|
+
/** @description Optional list of attribute keys to filter */
|
|
16300
|
+
keys?: string[] | null;
|
|
16301
|
+
};
|
|
16304
16302
|
header?: never;
|
|
16305
16303
|
path: {
|
|
16306
|
-
organization_id: TypeId<"organization"
|
|
16304
|
+
organization_id: TypeId<"organization"> | null;
|
|
16307
16305
|
};
|
|
16308
16306
|
cookie?: never;
|
|
16309
16307
|
};
|
|
16310
16308
|
requestBody?: never;
|
|
16311
16309
|
responses: {
|
|
16312
16310
|
/** @description Successful Response */
|
|
16313
|
-
|
|
16311
|
+
200: {
|
|
16314
16312
|
headers: {
|
|
16315
16313
|
[name: string]: unknown;
|
|
16316
16314
|
};
|
|
16317
|
-
content
|
|
16315
|
+
content: {
|
|
16316
|
+
"application/json": components["schemas"]["OrganizationAttributeResponse"][];
|
|
16317
|
+
};
|
|
16318
16318
|
};
|
|
16319
16319
|
/** @description Unauthorized */
|
|
16320
16320
|
401: {
|
|
@@ -16359,18 +16359,18 @@ export interface operations {
|
|
|
16359
16359
|
};
|
|
16360
16360
|
};
|
|
16361
16361
|
};
|
|
16362
|
-
|
|
16362
|
+
update_attributes_v1_organizations__organization_id__attributes_patch: {
|
|
16363
16363
|
parameters: {
|
|
16364
16364
|
query?: never;
|
|
16365
16365
|
header?: never;
|
|
16366
16366
|
path: {
|
|
16367
|
-
organization_id: TypeId<"organization"
|
|
16367
|
+
organization_id: TypeId<"organization"> | null;
|
|
16368
16368
|
};
|
|
16369
16369
|
cookie?: never;
|
|
16370
16370
|
};
|
|
16371
16371
|
requestBody: {
|
|
16372
16372
|
content: {
|
|
16373
|
-
"application/json": components["schemas"]["
|
|
16373
|
+
"application/json": components["schemas"]["OrganizationAttributeUpdate"][];
|
|
16374
16374
|
};
|
|
16375
16375
|
};
|
|
16376
16376
|
responses: {
|
|
@@ -16380,7 +16380,7 @@ export interface operations {
|
|
|
16380
16380
|
[name: string]: unknown;
|
|
16381
16381
|
};
|
|
16382
16382
|
content: {
|
|
16383
|
-
"application/json": components["schemas"]["
|
|
16383
|
+
"application/json": components["schemas"]["OrganizationAttributeResponse"][];
|
|
16384
16384
|
};
|
|
16385
16385
|
};
|
|
16386
16386
|
/** @description Unauthorized */
|