@opusdns/api 0.33.0 → 0.35.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/constants.ts +9 -63
- package/src/helpers/keys.ts +480 -247
- package/src/helpers/requests.d.ts +1 -53
- package/src/helpers/responses.d.ts +3 -58
- package/src/helpers/schemas.d.ts +38 -38
- package/src/openapi.yaml +65 -76
- package/src/schema.d.ts +47 -68
|
@@ -34,7 +34,7 @@ import { operations } from '../schema';
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataCreateArray, OrganizationAttributeUpdateArray } from './schemas-arrays.d';
|
|
36
36
|
|
|
37
|
-
import { OrganizationCredentialExtra, SignupCreate, ContactCreate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainCreate, DomainUpdate, DomainRenewRequest, DomainTransferIn, EmailForwardAlias, EmailForwardAliasUpdate, NotificationCreate, NotificationUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate,
|
|
37
|
+
import { OrganizationCredentialExtra, SignupCreate, ContactCreate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainCreate, DomainUpdate, DomainRenewRequest, DomainTransferIn, EmailForwardAlias, EmailForwardAliasUpdate, NotificationCreate, NotificationUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, UserCreate, StartPasswordReset, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Request type for GET AuthClientCredentials endpoint
|
|
@@ -3215,58 +3215,6 @@ export type PATCH_OrganizationsOrganizationId_Request_Path = PATCH_Organizations
|
|
|
3215
3215
|
*/
|
|
3216
3216
|
export type PATCH_OrganizationsOrganizationId_Request_Body = PATCH_OrganizationsOrganizationId_Request['requestBody'];
|
|
3217
3217
|
|
|
3218
|
-
/**
|
|
3219
|
-
* Request type for PATCH OrganizationsOrganizationIdPlan endpoint
|
|
3220
|
-
*
|
|
3221
|
-
* Change Plan
|
|
3222
|
-
*
|
|
3223
|
-
* @remarks
|
|
3224
|
-
* This type defines the complete request structure for the PATCH OrganizationsOrganizationIdPlan endpoint.
|
|
3225
|
-
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
3226
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
3227
|
-
*
|
|
3228
|
-
* @example
|
|
3229
|
-
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
3230
|
-
*
|
|
3231
|
-
* @path /v1/organizations/{organization_id}/plan
|
|
3232
|
-
*
|
|
3233
|
-
* @see {@link PATCH_OrganizationsOrganizationIdPlan_Request_Query} - Query parameters type
|
|
3234
|
-
* @see {@link PATCH_OrganizationsOrganizationIdPlan_Request_Path} - Path parameters type
|
|
3235
|
-
* @see {@link PATCH_OrganizationsOrganizationIdPlan_Request_Body} - Request body type
|
|
3236
|
-
*/
|
|
3237
|
-
export type PATCH_OrganizationsOrganizationIdPlan_Request = {
|
|
3238
|
-
parameters: {
|
|
3239
|
-
path: operations['change_plan_v1_organizations__organization_id__plan_patch']['parameters']['path'];
|
|
3240
|
-
};
|
|
3241
|
-
requestBody: PlanUpdate;
|
|
3242
|
-
}
|
|
3243
|
-
/**
|
|
3244
|
-
* Path parameters for PATCH /v1/organizations/{organization_id}/plan
|
|
3245
|
-
*
|
|
3246
|
-
* @remarks
|
|
3247
|
-
* This type defines the path parameters for the PATCH /v1/organizations/{organization_id}/plan endpoint.
|
|
3248
|
-
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
3249
|
-
*
|
|
3250
|
-
* @example
|
|
3251
|
-
* Use this type to ensure type safety for path parameters.
|
|
3252
|
-
*
|
|
3253
|
-
* @path /v1/organizations/{organization_id}/plan
|
|
3254
|
-
*/
|
|
3255
|
-
export type PATCH_OrganizationsOrganizationIdPlan_Request_Path = PATCH_OrganizationsOrganizationIdPlan_Request['parameters']['path'];
|
|
3256
|
-
/**
|
|
3257
|
-
* Request body for PATCH /v1/organizations/{organization_id}/plan
|
|
3258
|
-
*
|
|
3259
|
-
* @remarks
|
|
3260
|
-
* This type defines the request body structure for the PATCH /v1/organizations/{organization_id}/plan endpoint.
|
|
3261
|
-
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
3262
|
-
*
|
|
3263
|
-
* @example
|
|
3264
|
-
* Use this type to ensure type safety for request body structure.
|
|
3265
|
-
*
|
|
3266
|
-
* @path /v1/organizations/{organization_id}/plan
|
|
3267
|
-
*/
|
|
3268
|
-
export type PATCH_OrganizationsOrganizationIdPlan_Request_Body = PATCH_OrganizationsOrganizationIdPlan_Request['requestBody'];
|
|
3269
|
-
|
|
3270
3218
|
/**
|
|
3271
3219
|
* Request type for GET OrganizationsOrganizationIdPlans endpoint
|
|
3272
3220
|
*
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataArray, OrganizationAttribute2Array, IpRestrictionArray, TldResponseShortArray } from './schemas-arrays.d';
|
|
36
36
|
|
|
37
|
-
import { Pagination_OrganizationCredential, Problem, HTTPValidationError, OrganizationCredentialCreated, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DnsZoneSummary, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainCheck, DomainSummary, Pagination_EmailForwardAlias, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_UserNotificationSummary, Notification, UserNotification, Pagination_Organization, Organization,
|
|
37
|
+
import { Pagination_OrganizationCredential, Problem, HTTPValidationError, OrganizationCredentialCreated, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DnsZoneSummary, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainCheck, DomainSummary, Pagination_EmailForwardAlias, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_UserNotificationSummary, Notification, UserNotification, Pagination_Organization, Organization, OrganizationWithBillingData, GetCurrentAvailablePlans, GetPrices, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserVerification, UserPasswordResetEmail, UserWithRelationPermissions } from './schemas.d';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Response types for GET AuthClientCredentials endpoint
|
|
@@ -4439,9 +4439,9 @@ export type GET_OrganizationsByOrganizationId_Response = GET_OrganizationsByOrga
|
|
|
4439
4439
|
* @path /v1/organizations/{organization_id}
|
|
4440
4440
|
*
|
|
4441
4441
|
* @see {@link GET_OrganizationsByOrganizationId_Response} - The main response type definition
|
|
4442
|
-
* @see {@link
|
|
4442
|
+
* @see {@link OrganizationWithBillingData} - The actual schema type definition
|
|
4443
4443
|
*/
|
|
4444
|
-
export type GET_OrganizationsByOrganizationId_Response_200 =
|
|
4444
|
+
export type GET_OrganizationsByOrganizationId_Response_200 = OrganizationWithBillingData
|
|
4445
4445
|
|
|
4446
4446
|
/**
|
|
4447
4447
|
* 422 response for GET OrganizationsByOrganizationId endpoint
|
|
@@ -4515,61 +4515,6 @@ export type PATCH_OrganizationsByOrganizationId_Response_200 = Organization
|
|
|
4515
4515
|
*/
|
|
4516
4516
|
export type PATCH_OrganizationsByOrganizationId_Response_422 = HTTPValidationError
|
|
4517
4517
|
|
|
4518
|
-
/**
|
|
4519
|
-
* Response types for PATCH OrganizationsByOrganizationIdPlan endpoint
|
|
4520
|
-
*
|
|
4521
|
-
* Change Plan
|
|
4522
|
-
*
|
|
4523
|
-
* @remarks
|
|
4524
|
-
* This type defines all possible response structures for the PATCH OrganizationsByOrganizationIdPlan endpoint.
|
|
4525
|
-
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
4526
|
-
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
4527
|
-
*
|
|
4528
|
-
|
|
4529
|
-
*
|
|
4530
|
-
* @path /v1/organizations/{organization_id}/plan
|
|
4531
|
-
*
|
|
4532
|
-
* @see {@link PATCH_OrganizationsByOrganizationIdPlan_Response_200} - 200 response type
|
|
4533
|
-
* @see {@link PATCH_OrganizationsByOrganizationIdPlan_Response_422} - 422 response type
|
|
4534
|
-
*
|
|
4535
|
-
|
|
4536
|
-
*/
|
|
4537
|
-
export type PATCH_OrganizationsByOrganizationIdPlan_Response = PATCH_OrganizationsByOrganizationIdPlan_Response_200 | PATCH_OrganizationsByOrganizationIdPlan_Response_422;
|
|
4538
|
-
|
|
4539
|
-
/**
|
|
4540
|
-
* 200 response for PATCH OrganizationsByOrganizationIdPlan endpoint
|
|
4541
|
-
*
|
|
4542
|
-
* @remarks
|
|
4543
|
-
* This type defines the response structure for the 200 status code
|
|
4544
|
-
* of the PATCH OrganizationsByOrganizationIdPlan endpoint.
|
|
4545
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
4546
|
-
*
|
|
4547
|
-
|
|
4548
|
-
*
|
|
4549
|
-
* @path /v1/organizations/{organization_id}/plan
|
|
4550
|
-
*
|
|
4551
|
-
* @see {@link PATCH_OrganizationsByOrganizationIdPlan_Response} - The main response type definition
|
|
4552
|
-
* @see {@link OrganizationWithPlan} - The actual schema type definition
|
|
4553
|
-
*/
|
|
4554
|
-
export type PATCH_OrganizationsByOrganizationIdPlan_Response_200 = OrganizationWithPlan
|
|
4555
|
-
|
|
4556
|
-
/**
|
|
4557
|
-
* 422 response for PATCH OrganizationsByOrganizationIdPlan endpoint
|
|
4558
|
-
*
|
|
4559
|
-
* @remarks
|
|
4560
|
-
* This type defines the response structure for the 422 status code
|
|
4561
|
-
* of the PATCH OrganizationsByOrganizationIdPlan endpoint.
|
|
4562
|
-
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
4563
|
-
*
|
|
4564
|
-
|
|
4565
|
-
*
|
|
4566
|
-
* @path /v1/organizations/{organization_id}/plan
|
|
4567
|
-
*
|
|
4568
|
-
* @see {@link PATCH_OrganizationsByOrganizationIdPlan_Response} - The main response type definition
|
|
4569
|
-
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
4570
|
-
*/
|
|
4571
|
-
export type PATCH_OrganizationsByOrganizationIdPlan_Response_422 = HTTPValidationError
|
|
4572
|
-
|
|
4573
4518
|
/**
|
|
4574
4519
|
* Response types for GET OrganizationsByOrganizationIdPlans endpoint
|
|
4575
4520
|
*
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -58,6 +58,38 @@ export type AllocationMethodType = components['schemas']['AllocationMethodType']
|
|
|
58
58
|
* @see {@link components} - The OpenAPI components schema definition
|
|
59
59
|
*/
|
|
60
60
|
export type AllowedNumberOfNameserverBase = components['schemas']['AllowedNumberOfNameserverBase'];
|
|
61
|
+
/**
|
|
62
|
+
* BillingMetadata
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
* Type alias for the `BillingMetadata` OpenAPI schema.
|
|
66
|
+
* This type represents billingmetadata data structures used in API requests and responses.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```typescript
|
|
70
|
+
* const response = await api.getBillingMetadata();
|
|
71
|
+
* const item: BillingMetadata = response.results;
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
75
|
+
*/
|
|
76
|
+
export type BillingMetadata = components['schemas']['BillingMetadata'];
|
|
77
|
+
/**
|
|
78
|
+
* BillingPlan
|
|
79
|
+
*
|
|
80
|
+
* @remarks
|
|
81
|
+
* Type alias for the `BillingPlan` OpenAPI schema.
|
|
82
|
+
* This type represents billingplan data structures used in API requests and responses.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```typescript
|
|
86
|
+
* const response = await api.getBillingPlan();
|
|
87
|
+
* const item: BillingPlan = response.results;
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
91
|
+
*/
|
|
92
|
+
export type BillingPlan = components['schemas']['BillingPlan'];
|
|
61
93
|
/**
|
|
62
94
|
* BillingTransactionAction
|
|
63
95
|
*
|
|
@@ -1819,21 +1851,21 @@ export type OrganizationToken = components['schemas']['OrganizationTokenResponse
|
|
|
1819
1851
|
*/
|
|
1820
1852
|
export type OrganizationUpdate = components['schemas']['OrganizationUpdate'];
|
|
1821
1853
|
/**
|
|
1822
|
-
*
|
|
1854
|
+
* OrganizationWithBillingData
|
|
1823
1855
|
*
|
|
1824
1856
|
* @remarks
|
|
1825
|
-
* Type alias for the `
|
|
1826
|
-
* This type represents
|
|
1857
|
+
* Type alias for the `OrganizationWithBillingData` OpenAPI schema.
|
|
1858
|
+
* This type represents organizationwithbillingdata data structures used in API requests and responses.
|
|
1827
1859
|
*
|
|
1828
1860
|
* @example
|
|
1829
1861
|
* ```typescript
|
|
1830
|
-
* const response = await api.
|
|
1831
|
-
* const item:
|
|
1862
|
+
* const response = await api.getOrganizationWithBillingData();
|
|
1863
|
+
* const item: OrganizationWithBillingData = response.results;
|
|
1832
1864
|
* ```
|
|
1833
1865
|
*
|
|
1834
1866
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1835
1867
|
*/
|
|
1836
|
-
export type
|
|
1868
|
+
export type OrganizationWithBillingData = components['schemas']['OrganizationWithBillingData'];
|
|
1837
1869
|
/**
|
|
1838
1870
|
* PaginationMetadata
|
|
1839
1871
|
*
|
|
@@ -2122,38 +2154,6 @@ export type PermissionSet = components['schemas']['PermissionSet'];
|
|
|
2122
2154
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2123
2155
|
*/
|
|
2124
2156
|
export type PlanInfo = components['schemas']['PlanInfo'];
|
|
2125
|
-
/**
|
|
2126
|
-
* PlanRelation
|
|
2127
|
-
*
|
|
2128
|
-
* @remarks
|
|
2129
|
-
* Type alias for the `PlanRelation` OpenAPI schema.
|
|
2130
|
-
* This type represents planrelation data structures used in API requests and responses.
|
|
2131
|
-
*
|
|
2132
|
-
* @example
|
|
2133
|
-
* ```typescript
|
|
2134
|
-
* const response = await api.getPlanRelation();
|
|
2135
|
-
* const item: PlanRelation = response.results;
|
|
2136
|
-
* ```
|
|
2137
|
-
*
|
|
2138
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2139
|
-
*/
|
|
2140
|
-
export type PlanRelation = components['schemas']['PlanRelation'];
|
|
2141
|
-
/**
|
|
2142
|
-
* PlanUpdate
|
|
2143
|
-
*
|
|
2144
|
-
* @remarks
|
|
2145
|
-
* Type alias for the `PlanUpdate` OpenAPI schema.
|
|
2146
|
-
* This type represents planupdate data structures used in API requests and responses.
|
|
2147
|
-
*
|
|
2148
|
-
* @example
|
|
2149
|
-
* ```typescript
|
|
2150
|
-
* const response = await api.getPlanUpdate();
|
|
2151
|
-
* const item: PlanUpdate = response.results;
|
|
2152
|
-
* ```
|
|
2153
|
-
*
|
|
2154
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2155
|
-
*/
|
|
2156
|
-
export type PlanUpdate = components['schemas']['PlanUpdate'];
|
|
2157
2157
|
/**
|
|
2158
2158
|
* PostTransferRequirements
|
|
2159
2159
|
*
|
package/src/openapi.yaml
CHANGED
|
@@ -23,6 +23,54 @@ components:
|
|
|
23
23
|
- max
|
|
24
24
|
title: AllowedNumberOfNameserverBase
|
|
25
25
|
type: object
|
|
26
|
+
BillingMetadata:
|
|
27
|
+
properties:
|
|
28
|
+
billing_model:
|
|
29
|
+
anyOf:
|
|
30
|
+
- type: string
|
|
31
|
+
- type: 'null'
|
|
32
|
+
description: Payment terms for the organization.
|
|
33
|
+
title: Billing Model
|
|
34
|
+
customer_number:
|
|
35
|
+
anyOf:
|
|
36
|
+
- type: integer
|
|
37
|
+
- type: 'null'
|
|
38
|
+
description: Customer account number for the organization.
|
|
39
|
+
title: Customer Number
|
|
40
|
+
title: BillingMetadata
|
|
41
|
+
type: object
|
|
42
|
+
BillingPlan:
|
|
43
|
+
properties:
|
|
44
|
+
amount:
|
|
45
|
+
default: '0.00'
|
|
46
|
+
description: Price of the billing plan.
|
|
47
|
+
title: Amount
|
|
48
|
+
type: string
|
|
49
|
+
currency:
|
|
50
|
+
anyOf:
|
|
51
|
+
- $ref: '#/components/schemas/Currency'
|
|
52
|
+
- type: 'null'
|
|
53
|
+
description: Currency of the billing plan.
|
|
54
|
+
name:
|
|
55
|
+
anyOf:
|
|
56
|
+
- type: string
|
|
57
|
+
- type: 'null'
|
|
58
|
+
description: Name of the billing plan.
|
|
59
|
+
title: Name
|
|
60
|
+
plan_id:
|
|
61
|
+
anyOf:
|
|
62
|
+
- type: string
|
|
63
|
+
- type: 'null'
|
|
64
|
+
description: Billing plan ID for the organization.
|
|
65
|
+
title: Plan Id
|
|
66
|
+
type:
|
|
67
|
+
anyOf:
|
|
68
|
+
- type: string
|
|
69
|
+
- type: 'null'
|
|
70
|
+
description: Plan type or billing interval.
|
|
71
|
+
title: Type
|
|
72
|
+
title: BillingPlan
|
|
73
|
+
type: object
|
|
26
74
|
BillingTransactionAction:
|
|
27
75
|
enum:
|
|
28
76
|
- create
|
|
@@ -3268,8 +3316,15 @@ components:
|
|
|
3268
3316
|
title: Tax Rate
|
|
3269
3317
|
title: OrganizationUpdate
|
|
3270
3318
|
type: object
|
|
3271
|
-
|
|
3319
|
+
OrganizationWithBillingData:
|
|
3272
3320
|
properties:
|
|
3321
|
+
account_balance:
|
|
3322
|
+
anyOf:
|
|
3323
|
+
- type: string
|
|
3324
|
+
- type: 'null'
|
|
3325
|
+
title: Account Balance
|
|
3326
|
+
active_plan:
|
|
3327
|
+
$ref: '#/components/schemas/BillingPlan'
|
|
3273
3328
|
address_1:
|
|
3274
3329
|
anyOf:
|
|
3275
3330
|
- minLength: 1
|
|
@@ -3289,6 +3344,8 @@ components:
|
|
|
3289
3344
|
$ref: '#/components/schemas/OrganizationAttribute'
|
|
3290
3345
|
title: Attributes
|
|
3291
3346
|
type: array
|
|
3347
|
+
billing_metadata:
|
|
3348
|
+
$ref: '#/components/schemas/BillingMetadata'
|
|
3292
3349
|
business_number:
|
|
3293
3350
|
anyOf:
|
|
3294
3351
|
- maxLength: 100
|
|
@@ -3363,9 +3420,6 @@ components:
|
|
|
3363
3420
|
- type: 'null'
|
|
3364
3421
|
description: ID of the parent organization.
|
|
3365
3422
|
title: Parent Organization Id
|
|
3366
|
-
plan:
|
|
3367
|
-
$ref: '#/components/schemas/PlanRelation'
|
|
3368
|
-
default: basic_plan
|
|
3369
3423
|
postal_code:
|
|
3370
3424
|
anyOf:
|
|
3371
3425
|
- maxLength: 20
|
|
@@ -3414,7 +3468,7 @@ components:
|
|
|
3414
3468
|
type: array
|
|
3415
3469
|
required:
|
|
3416
3470
|
- name
|
|
3417
|
-
title:
|
|
3471
|
+
title: OrganizationWithBillingData
|
|
3418
3472
|
type: object
|
|
3419
3473
|
PaginationMetadata:
|
|
3420
3474
|
properties:
|
|
@@ -3624,9 +3678,10 @@ components:
|
|
|
3624
3678
|
- bulk_renew_expire
|
|
3625
3679
|
- bulk_transfer_trade
|
|
3626
3680
|
- bulk_update
|
|
3681
|
+
- corporate_plan
|
|
3627
3682
|
- create
|
|
3628
3683
|
- delete
|
|
3629
|
-
-
|
|
3684
|
+
- enterprise_plan
|
|
3630
3685
|
- has_accepted_tos
|
|
3631
3686
|
- manage_api_keys
|
|
3632
3687
|
- manage_billing
|
|
@@ -3641,10 +3696,9 @@ components:
|
|
|
3641
3696
|
- manage_user_relations
|
|
3642
3697
|
- manage_users
|
|
3643
3698
|
- plan_manager
|
|
3644
|
-
-
|
|
3645
|
-
- premium_reseller
|
|
3699
|
+
- premium_plan
|
|
3646
3700
|
- renew_expire
|
|
3647
|
-
-
|
|
3701
|
+
- starter_plan
|
|
3648
3702
|
- transfer_trade
|
|
3649
3703
|
- update
|
|
3650
3704
|
- verify
|
|
@@ -3699,21 +3753,6 @@ components:
|
|
|
3699
3753
|
- amount
|
|
3700
3754
|
title: PlanInfo
|
|
3701
3755
|
type: object
|
|
3702
|
-
PlanRelation:
|
|
3703
|
-
enum:
|
|
3704
|
-
- basic_plan
|
|
3705
|
-
- enterprise_plan
|
|
3706
|
-
- premium_plan
|
|
3707
|
-
- starter_plan
|
|
3708
|
-
title: PlanRelation
|
|
3709
|
-
type: string
|
|
3710
|
-
PlanUpdate:
|
|
3711
|
-
properties:
|
|
3712
|
-
plan:
|
|
3713
|
-
$ref: '#/components/schemas/PlanRelation'
|
|
3714
|
-
default: basic_plan
|
|
3715
|
-
title: PlanUpdate
|
|
3716
|
-
type: object
|
|
3717
3756
|
PostTransferRequirements:
|
|
3718
3757
|
enum:
|
|
3719
3758
|
- update_contacts
|
|
@@ -5138,7 +5177,7 @@ info:
|
|
|
5138
5177
|
'
|
|
5139
5178
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5140
5179
|
title: OpusDNS API
|
|
5141
|
-
version: 2025-09-
|
|
5180
|
+
version: 2025-09-10-232127
|
|
5142
5181
|
x-logo:
|
|
5143
5182
|
altText: OpusDNS API Reference
|
|
5144
5183
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -8821,7 +8860,7 @@ paths:
|
|
|
8821
8860
|
content:
|
|
8822
8861
|
application/json:
|
|
8823
8862
|
schema:
|
|
8824
|
-
$ref: '#/components/schemas/
|
|
8863
|
+
$ref: '#/components/schemas/OrganizationWithBillingData'
|
|
8825
8864
|
description: Successful Response
|
|
8826
8865
|
'422':
|
|
8827
8866
|
content:
|
|
@@ -8872,45 +8911,6 @@ paths:
|
|
|
8872
8911
|
summary: Update Organization
|
|
8873
8912
|
tags:
|
|
8874
8913
|
- organization
|
|
8875
|
-
/v1/organizations/{organization_id}/plan:
|
|
8876
|
-
patch:
|
|
8877
|
-
operationId: change_plan_v1_organizations__organization_id__plan_patch
|
|
8878
|
-
parameters:
|
|
8879
|
-
- in: path
|
|
8880
|
-
name: organization_id
|
|
8881
|
-
required: true
|
|
8882
|
-
schema:
|
|
8883
|
-
examples:
|
|
8884
|
-
- organization_01h45ytscbebyvny4gc8cr8ma2
|
|
8885
|
-
format: typeid
|
|
8886
|
-
pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
8887
|
-
title: Organization Id
|
|
8888
|
-
type: string
|
|
8889
|
-
x-typeid-prefix: organization
|
|
8890
|
-
requestBody:
|
|
8891
|
-
content:
|
|
8892
|
-
application/json:
|
|
8893
|
-
schema:
|
|
8894
|
-
$ref: '#/components/schemas/PlanUpdate'
|
|
8895
|
-
required: true
|
|
8896
|
-
responses:
|
|
8897
|
-
'200':
|
|
8898
|
-
content:
|
|
8899
|
-
application/json:
|
|
8900
|
-
schema:
|
|
8901
|
-
$ref: '#/components/schemas/OrganizationWithPlan'
|
|
8902
|
-
description: Successful Response
|
|
8903
|
-
'422':
|
|
8904
|
-
content:
|
|
8905
|
-
application/problem+json:
|
|
8906
|
-
schema:
|
|
8907
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
8908
|
-
description: Validation Error
|
|
8909
|
-
security:
|
|
8910
|
-
- OAuth2PasswordBearer: []
|
|
8911
|
-
summary: Change Plan
|
|
8912
|
-
tags:
|
|
8913
|
-
- organization
|
|
8914
8914
|
/v1/organizations/{organization_id}/plans:
|
|
8915
8915
|
get:
|
|
8916
8916
|
operationId: get_current_available_plans_v1_organizations__organization_id__plans_get
|
|
@@ -9108,7 +9108,6 @@ paths:
|
|
|
9108
9108
|
summary: Create User Password Reset
|
|
9109
9109
|
tags:
|
|
9110
9110
|
- user
|
|
9111
|
-
- user
|
|
9112
9111
|
/v1/users/email/verify:
|
|
9113
9112
|
get:
|
|
9114
9113
|
operationId: redirect_verify_user_v1_users_email_verify_get
|
|
@@ -9134,7 +9133,6 @@ paths:
|
|
|
9134
9133
|
summary: Redirect Verify User
|
|
9135
9134
|
tags:
|
|
9136
9135
|
- user
|
|
9137
|
-
- user
|
|
9138
9136
|
/v1/users/me:
|
|
9139
9137
|
get:
|
|
9140
9138
|
operationId: get_current_user_v1_users_me_get
|
|
@@ -9202,7 +9200,6 @@ paths:
|
|
|
9202
9200
|
summary: Confirm User Password Reset Me
|
|
9203
9201
|
tags:
|
|
9204
9202
|
- user
|
|
9205
|
-
- user
|
|
9206
9203
|
/v1/users/me/verification:
|
|
9207
9204
|
delete:
|
|
9208
9205
|
operationId: cancel_verification_me_v1_users_me_verification_delete
|
|
@@ -9226,7 +9223,6 @@ paths:
|
|
|
9226
9223
|
summary: Cancel Verification Me
|
|
9227
9224
|
tags:
|
|
9228
9225
|
- user
|
|
9229
|
-
- user
|
|
9230
9226
|
get:
|
|
9231
9227
|
operationId: get_verification_status_me_v1_users_me_verification_get
|
|
9232
9228
|
responses:
|
|
@@ -9253,7 +9249,6 @@ paths:
|
|
|
9253
9249
|
summary: Get Verification Status Me
|
|
9254
9250
|
tags:
|
|
9255
9251
|
- user
|
|
9256
|
-
- user
|
|
9257
9252
|
patch:
|
|
9258
9253
|
operationId: update_verification_me_v1_users_me_verification_patch
|
|
9259
9254
|
parameters:
|
|
@@ -9316,7 +9311,6 @@ paths:
|
|
|
9316
9311
|
summary: Update Verification Me
|
|
9317
9312
|
tags:
|
|
9318
9313
|
- user
|
|
9319
|
-
- user
|
|
9320
9314
|
post:
|
|
9321
9315
|
operationId: create_verification_me_v1_users_me_verification_post
|
|
9322
9316
|
parameters:
|
|
@@ -9382,7 +9376,6 @@ paths:
|
|
|
9382
9376
|
summary: Create Verification Me
|
|
9383
9377
|
tags:
|
|
9384
9378
|
- user
|
|
9385
|
-
- user
|
|
9386
9379
|
/v1/users/{user_id}:
|
|
9387
9380
|
delete:
|
|
9388
9381
|
operationId: delete_user_v1_users__user_id__delete
|
|
@@ -9649,7 +9642,6 @@ paths:
|
|
|
9649
9642
|
summary: Cancel Verification
|
|
9650
9643
|
tags:
|
|
9651
9644
|
- user
|
|
9652
|
-
- user
|
|
9653
9645
|
get:
|
|
9654
9646
|
operationId: get_verification_status_v1_users__user_id__verification_get
|
|
9655
9647
|
parameters:
|
|
@@ -9694,7 +9686,6 @@ paths:
|
|
|
9694
9686
|
summary: Get Verification Status
|
|
9695
9687
|
tags:
|
|
9696
9688
|
- user
|
|
9697
|
-
- user
|
|
9698
9689
|
patch:
|
|
9699
9690
|
operationId: update_verification_v1_users__user_id__verification_patch
|
|
9700
9691
|
parameters:
|
|
@@ -9768,7 +9759,6 @@ paths:
|
|
|
9768
9759
|
summary: Update Verification
|
|
9769
9760
|
tags:
|
|
9770
9761
|
- user
|
|
9771
|
-
- user
|
|
9772
9762
|
post:
|
|
9773
9763
|
operationId: create_verification_v1_users__user_id__verification_post
|
|
9774
9764
|
parameters:
|
|
@@ -9846,7 +9836,6 @@ paths:
|
|
|
9846
9836
|
summary: Create Verification
|
|
9847
9837
|
tags:
|
|
9848
9838
|
- user
|
|
9849
|
-
- user
|
|
9850
9839
|
servers:
|
|
9851
9840
|
- description: Production environment
|
|
9852
9841
|
url: https://api.opusdns.com
|