@opusdns/api 0.274.0 → 0.275.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 +4 -20
- package/src/openapi.yaml +25 -54
- package/src/schema.d.ts +11 -14
package/package.json
CHANGED
|
@@ -4618,7 +4618,7 @@ export type POST_Organizations_Request_Body = POST_Organizations_Request['reques
|
|
|
4618
4618
|
*/
|
|
4619
4619
|
export type GET_OrganizationsAttributes_Request = {
|
|
4620
4620
|
parameters: {
|
|
4621
|
-
query: operations['
|
|
4621
|
+
query: operations['get_current_organization_attributes_v1_organizations_attributes_get']['parameters']['query'];
|
|
4622
4622
|
};
|
|
4623
4623
|
}
|
|
4624
4624
|
/**
|
|
@@ -4657,24 +4657,8 @@ export type GET_OrganizationsAttributes_Request_Query = GET_OrganizationsAttribu
|
|
|
4657
4657
|
* @see {@link PATCH_OrganizationsAttributes_Request_Body} - Request body type
|
|
4658
4658
|
*/
|
|
4659
4659
|
export type PATCH_OrganizationsAttributes_Request = {
|
|
4660
|
-
parameters: {
|
|
4661
|
-
query: operations['update_attributes_v1_organizations_attributes_patch']['parameters']['query'];
|
|
4662
|
-
};
|
|
4663
4660
|
requestBody: OrganizationAttributeUpdateArray;
|
|
4664
4661
|
}
|
|
4665
|
-
/**
|
|
4666
|
-
* Query parameters for PATCH /v1/organizations/attributes
|
|
4667
|
-
*
|
|
4668
|
-
* @remarks
|
|
4669
|
-
* This type defines the query parameters for the PATCH /v1/organizations/attributes endpoint.
|
|
4670
|
-
* It provides type safety for all query parameters as defined in the OpenAPI specification.
|
|
4671
|
-
*
|
|
4672
|
-
* @example
|
|
4673
|
-
* Use this type to ensure type safety for query parameters.
|
|
4674
|
-
*
|
|
4675
|
-
* @path /v1/organizations/attributes
|
|
4676
|
-
*/
|
|
4677
|
-
export type PATCH_OrganizationsAttributes_Request_Query = PATCH_OrganizationsAttributes_Request['parameters']['query'];
|
|
4678
4662
|
/**
|
|
4679
4663
|
* Request body for PATCH /v1/organizations/attributes
|
|
4680
4664
|
*
|
|
@@ -5048,8 +5032,8 @@ export type PATCH_OrganizationsOrganizationId_Request_Body = PATCH_Organizations
|
|
|
5048
5032
|
*/
|
|
5049
5033
|
export type GET_OrganizationsOrganizationIdAttributes_Request = {
|
|
5050
5034
|
parameters: {
|
|
5051
|
-
query: operations['
|
|
5052
|
-
path: operations['
|
|
5035
|
+
query: operations['get_organization_attributes_v1_organizations__organization_id__attributes_get']['parameters']['query'];
|
|
5036
|
+
path: operations['get_organization_attributes_v1_organizations__organization_id__attributes_get']['parameters']['path'];
|
|
5053
5037
|
};
|
|
5054
5038
|
}
|
|
5055
5039
|
/**
|
|
@@ -5102,7 +5086,7 @@ export type GET_OrganizationsOrganizationIdAttributes_Request_Path = GET_Organiz
|
|
|
5102
5086
|
*/
|
|
5103
5087
|
export type PATCH_OrganizationsOrganizationIdAttributes_Request = {
|
|
5104
5088
|
parameters: {
|
|
5105
|
-
path: operations['
|
|
5089
|
+
path: operations['update_organization_attributes_v1_organizations__organization_id__attributes_patch']['parameters']['path'];
|
|
5106
5090
|
};
|
|
5107
5091
|
requestBody: OrganizationAttributeUpdateArray;
|
|
5108
5092
|
}
|
package/src/openapi.yaml
CHANGED
|
@@ -10199,7 +10199,7 @@ info:
|
|
|
10199
10199
|
\n\n"
|
|
10200
10200
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
10201
10201
|
title: OpusDNS API
|
|
10202
|
-
version: 2026-04-27-
|
|
10202
|
+
version: 2026-04-27-193424
|
|
10203
10203
|
x-logo:
|
|
10204
10204
|
altText: OpusDNS API Reference
|
|
10205
10205
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -19712,21 +19712,8 @@ paths:
|
|
|
19712
19712
|
/v1/organizations/attributes:
|
|
19713
19713
|
get:
|
|
19714
19714
|
description: Retrieves a list of organization attributes for the current organization
|
|
19715
|
-
operationId:
|
|
19715
|
+
operationId: get_current_organization_attributes_v1_organizations_attributes_get
|
|
19716
19716
|
parameters:
|
|
19717
|
-
- in: query
|
|
19718
|
-
name: organization_id
|
|
19719
|
-
required: false
|
|
19720
|
-
schema:
|
|
19721
|
-
anyOf:
|
|
19722
|
-
- examples:
|
|
19723
|
-
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
19724
|
-
format: typeid
|
|
19725
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
19726
|
-
type: string
|
|
19727
|
-
x-typeid-prefix: organization
|
|
19728
|
-
- type: 'null'
|
|
19729
|
-
title: Organization Id
|
|
19730
19717
|
- description: Optional list of attribute keys to filter
|
|
19731
19718
|
in: query
|
|
19732
19719
|
name: keys
|
|
@@ -19746,7 +19733,8 @@ paths:
|
|
|
19746
19733
|
schema:
|
|
19747
19734
|
items:
|
|
19748
19735
|
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
19749
|
-
title: Response Get Attributes V1 Organizations
|
|
19736
|
+
title: Response Get Current Organization Attributes V1 Organizations
|
|
19737
|
+
Attributes Get
|
|
19750
19738
|
type: array
|
|
19751
19739
|
description: Successful Response
|
|
19752
19740
|
'401':
|
|
@@ -19787,21 +19775,7 @@ paths:
|
|
|
19787
19775
|
- organization
|
|
19788
19776
|
patch:
|
|
19789
19777
|
description: Updates one or more organization attributes for the current organization
|
|
19790
|
-
operationId:
|
|
19791
|
-
parameters:
|
|
19792
|
-
- in: query
|
|
19793
|
-
name: organization_id
|
|
19794
|
-
required: false
|
|
19795
|
-
schema:
|
|
19796
|
-
anyOf:
|
|
19797
|
-
- examples:
|
|
19798
|
-
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
19799
|
-
format: typeid
|
|
19800
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
19801
|
-
type: string
|
|
19802
|
-
x-typeid-prefix: organization
|
|
19803
|
-
- type: 'null'
|
|
19804
|
-
title: Organization Id
|
|
19778
|
+
operationId: update_current_organization_attributes_v1_organizations_attributes_patch
|
|
19805
19779
|
requestBody:
|
|
19806
19780
|
content:
|
|
19807
19781
|
application/json:
|
|
@@ -19818,7 +19792,8 @@ paths:
|
|
|
19818
19792
|
schema:
|
|
19819
19793
|
items:
|
|
19820
19794
|
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
19821
|
-
title: Response Update Attributes V1 Organizations
|
|
19795
|
+
title: Response Update Current Organization Attributes V1 Organizations
|
|
19796
|
+
Attributes Patch
|
|
19822
19797
|
type: array
|
|
19823
19798
|
description: Successful Response
|
|
19824
19799
|
'401':
|
|
@@ -20462,21 +20437,19 @@ paths:
|
|
|
20462
20437
|
/v1/organizations/{organization_id}/attributes:
|
|
20463
20438
|
get:
|
|
20464
20439
|
description: Retrieves a list of organization attributes for the specified organization
|
|
20465
|
-
operationId:
|
|
20440
|
+
operationId: get_organization_attributes_v1_organizations__organization_id__attributes_get
|
|
20466
20441
|
parameters:
|
|
20467
20442
|
- in: path
|
|
20468
20443
|
name: organization_id
|
|
20469
20444
|
required: true
|
|
20470
20445
|
schema:
|
|
20471
|
-
|
|
20472
|
-
-
|
|
20473
|
-
|
|
20474
|
-
|
|
20475
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
20476
|
-
type: string
|
|
20477
|
-
x-typeid-prefix: organization
|
|
20478
|
-
- type: 'null'
|
|
20446
|
+
examples:
|
|
20447
|
+
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
20448
|
+
format: typeid
|
|
20449
|
+
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
20479
20450
|
title: Organization Id
|
|
20451
|
+
type: string
|
|
20452
|
+
x-typeid-prefix: organization
|
|
20480
20453
|
- description: Optional list of attribute keys to filter
|
|
20481
20454
|
in: query
|
|
20482
20455
|
name: keys
|
|
@@ -20496,8 +20469,8 @@ paths:
|
|
|
20496
20469
|
schema:
|
|
20497
20470
|
items:
|
|
20498
20471
|
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
20499
|
-
title: Response Get Attributes V1 Organizations Organization
|
|
20500
|
-
Get
|
|
20472
|
+
title: Response Get Organization Attributes V1 Organizations Organization
|
|
20473
|
+
Id Attributes Get
|
|
20501
20474
|
type: array
|
|
20502
20475
|
description: Successful Response
|
|
20503
20476
|
'401':
|
|
@@ -20538,21 +20511,19 @@ paths:
|
|
|
20538
20511
|
- organization
|
|
20539
20512
|
patch:
|
|
20540
20513
|
description: Updates one or more organization attributes for the specified organization
|
|
20541
|
-
operationId:
|
|
20514
|
+
operationId: update_organization_attributes_v1_organizations__organization_id__attributes_patch
|
|
20542
20515
|
parameters:
|
|
20543
20516
|
- in: path
|
|
20544
20517
|
name: organization_id
|
|
20545
20518
|
required: true
|
|
20546
20519
|
schema:
|
|
20547
|
-
|
|
20548
|
-
-
|
|
20549
|
-
|
|
20550
|
-
|
|
20551
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
20552
|
-
type: string
|
|
20553
|
-
x-typeid-prefix: organization
|
|
20554
|
-
- type: 'null'
|
|
20520
|
+
examples:
|
|
20521
|
+
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
20522
|
+
format: typeid
|
|
20523
|
+
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
20555
20524
|
title: Organization Id
|
|
20525
|
+
type: string
|
|
20526
|
+
x-typeid-prefix: organization
|
|
20556
20527
|
requestBody:
|
|
20557
20528
|
content:
|
|
20558
20529
|
application/json:
|
|
@@ -20569,8 +20540,8 @@ paths:
|
|
|
20569
20540
|
schema:
|
|
20570
20541
|
items:
|
|
20571
20542
|
$ref: '#/components/schemas/OrganizationAttributeResponse'
|
|
20572
|
-
title: Response Update Attributes V1 Organizations Organization
|
|
20573
|
-
Patch
|
|
20543
|
+
title: Response Update Organization Attributes V1 Organizations Organization
|
|
20544
|
+
Id Attributes Patch
|
|
20574
20545
|
type: array
|
|
20575
20546
|
description: Successful Response
|
|
20576
20547
|
'401':
|
package/src/schema.d.ts
CHANGED
|
@@ -1514,7 +1514,7 @@ export interface paths {
|
|
|
1514
1514
|
* List organization attributes
|
|
1515
1515
|
* @description Retrieves a list of organization attributes for the current organization
|
|
1516
1516
|
*/
|
|
1517
|
-
get: operations["
|
|
1517
|
+
get: operations["get_current_organization_attributes_v1_organizations_attributes_get"];
|
|
1518
1518
|
put?: never;
|
|
1519
1519
|
post?: never;
|
|
1520
1520
|
delete?: never;
|
|
@@ -1524,7 +1524,7 @@ export interface paths {
|
|
|
1524
1524
|
* Update organization attributes
|
|
1525
1525
|
* @description Updates one or more organization attributes for the current organization
|
|
1526
1526
|
*/
|
|
1527
|
-
patch: operations["
|
|
1527
|
+
patch: operations["update_current_organization_attributes_v1_organizations_attributes_patch"];
|
|
1528
1528
|
trace?: never;
|
|
1529
1529
|
};
|
|
1530
1530
|
"/v1/organizations/ip-restrictions": {
|
|
@@ -1672,7 +1672,7 @@ export interface paths {
|
|
|
1672
1672
|
* List organization attributes
|
|
1673
1673
|
* @description Retrieves a list of organization attributes for the specified organization
|
|
1674
1674
|
*/
|
|
1675
|
-
get: operations["
|
|
1675
|
+
get: operations["get_organization_attributes_v1_organizations__organization_id__attributes_get"];
|
|
1676
1676
|
put?: never;
|
|
1677
1677
|
post?: never;
|
|
1678
1678
|
delete?: never;
|
|
@@ -1682,7 +1682,7 @@ export interface paths {
|
|
|
1682
1682
|
* Update organization attributes
|
|
1683
1683
|
* @description Updates one or more organization attributes for the specified organization
|
|
1684
1684
|
*/
|
|
1685
|
-
patch: operations["
|
|
1685
|
+
patch: operations["update_organization_attributes_v1_organizations__organization_id__attributes_patch"];
|
|
1686
1686
|
trace?: never;
|
|
1687
1687
|
};
|
|
1688
1688
|
"/v1/organizations/{organization_id}/billing/invoices": {
|
|
@@ -15555,10 +15555,9 @@ export interface operations {
|
|
|
15555
15555
|
};
|
|
15556
15556
|
};
|
|
15557
15557
|
};
|
|
15558
|
-
|
|
15558
|
+
get_current_organization_attributes_v1_organizations_attributes_get: {
|
|
15559
15559
|
parameters: {
|
|
15560
15560
|
query?: {
|
|
15561
|
-
organization_id?: TypeId<"organization"> | null;
|
|
15562
15561
|
/** @description Optional list of attribute keys to filter */
|
|
15563
15562
|
keys?: string[] | null;
|
|
15564
15563
|
};
|
|
@@ -15620,11 +15619,9 @@ export interface operations {
|
|
|
15620
15619
|
};
|
|
15621
15620
|
};
|
|
15622
15621
|
};
|
|
15623
|
-
|
|
15622
|
+
update_current_organization_attributes_v1_organizations_attributes_patch: {
|
|
15624
15623
|
parameters: {
|
|
15625
|
-
query?:
|
|
15626
|
-
organization_id?: TypeId<"organization"> | null;
|
|
15627
|
-
};
|
|
15624
|
+
query?: never;
|
|
15628
15625
|
header?: never;
|
|
15629
15626
|
path?: never;
|
|
15630
15627
|
cookie?: never;
|
|
@@ -16323,7 +16320,7 @@ export interface operations {
|
|
|
16323
16320
|
};
|
|
16324
16321
|
};
|
|
16325
16322
|
};
|
|
16326
|
-
|
|
16323
|
+
get_organization_attributes_v1_organizations__organization_id__attributes_get: {
|
|
16327
16324
|
parameters: {
|
|
16328
16325
|
query?: {
|
|
16329
16326
|
/** @description Optional list of attribute keys to filter */
|
|
@@ -16331,7 +16328,7 @@ export interface operations {
|
|
|
16331
16328
|
};
|
|
16332
16329
|
header?: never;
|
|
16333
16330
|
path: {
|
|
16334
|
-
organization_id: TypeId<"organization"
|
|
16331
|
+
organization_id: TypeId<"organization">;
|
|
16335
16332
|
};
|
|
16336
16333
|
cookie?: never;
|
|
16337
16334
|
};
|
|
@@ -16389,12 +16386,12 @@ export interface operations {
|
|
|
16389
16386
|
};
|
|
16390
16387
|
};
|
|
16391
16388
|
};
|
|
16392
|
-
|
|
16389
|
+
update_organization_attributes_v1_organizations__organization_id__attributes_patch: {
|
|
16393
16390
|
parameters: {
|
|
16394
16391
|
query?: never;
|
|
16395
16392
|
header?: never;
|
|
16396
16393
|
path: {
|
|
16397
|
-
organization_id: TypeId<"organization"
|
|
16394
|
+
organization_id: TypeId<"organization">;
|
|
16398
16395
|
};
|
|
16399
16396
|
cookie?: never;
|
|
16400
16397
|
};
|