@opusdns/api 0.67.0 → 0.69.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 +55 -1
- package/src/helpers/keys.ts +310 -0
- package/src/helpers/requests.d.ts +91 -66
- package/src/helpers/responses.d.ts +114 -77
- package/src/helpers/schemas-arrays.d.ts +43 -1
- package/src/helpers/schemas.d.ts +64 -0
- package/src/openapi.yaml +172 -81
- package/src/schema.d.ts +215 -82
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataArray, OrganizationAttribute2Array, CustomerCreditCardPaymentMethodArray, 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, DomainRestore, DomainCheck, DomainSummary, Pagination_EmailForwardAlias, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, CheckoutSession, WalletCreditResponseWithBalance, GetCurrentAvailablePlans, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
|
|
37
|
+
import { Pagination_OrganizationCredential, Problem, HTTPValidationError, OrganizationCredentialCreated, Signup, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DnsZoneSummary, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, Pagination_EmailForwardAlias, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, CheckoutSession, WalletCreditResponseWithBalance, GetCurrentAvailablePlans, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Response types for GET AuthClientCredentials endpoint
|
|
41
41
|
*
|
|
42
|
-
* List
|
|
42
|
+
* List all API keys
|
|
43
43
|
*
|
|
44
44
|
* @remarks
|
|
45
45
|
* This type defines all possible response structures for the GET AuthClientCredentials endpoint.
|
|
@@ -116,7 +116,7 @@ export type GET_AuthClientCredentials_Response_422 = HTTPValidationError
|
|
|
116
116
|
/**
|
|
117
117
|
* Response types for POST AuthClientCredentials endpoint
|
|
118
118
|
*
|
|
119
|
-
* Issue
|
|
119
|
+
* Issue an API key
|
|
120
120
|
*
|
|
121
121
|
* @remarks
|
|
122
122
|
* This type defines all possible response structures for the POST AuthClientCredentials endpoint.
|
|
@@ -189,7 +189,7 @@ export type POST_AuthClientCredentials_Response_422 = HTTPValidationError
|
|
|
189
189
|
/**
|
|
190
190
|
* Response types for DELETE AuthClientCredentialsByApiKeyId endpoint
|
|
191
191
|
*
|
|
192
|
-
* Delete
|
|
192
|
+
* Delete an API key
|
|
193
193
|
*
|
|
194
194
|
* @remarks
|
|
195
195
|
* This type defines all possible response structures for the DELETE AuthClientCredentialsByApiKeyId endpoint.
|
|
@@ -310,12 +310,30 @@ export type POST_AuthLogout_Response_401 = Problem
|
|
|
310
310
|
*
|
|
311
311
|
* @path /v1/auth/signup
|
|
312
312
|
*
|
|
313
|
+
* @see {@link POST_AuthSignup_Response_200} - 200 response type
|
|
313
314
|
* @see {@link POST_AuthSignup_Response_409} - 409 response type
|
|
314
315
|
* @see {@link POST_AuthSignup_Response_422} - 422 response type
|
|
315
316
|
*
|
|
316
317
|
|
|
317
318
|
*/
|
|
318
|
-
export type POST_AuthSignup_Response = POST_AuthSignup_Response_409 | POST_AuthSignup_Response_422;
|
|
319
|
+
export type POST_AuthSignup_Response = POST_AuthSignup_Response_200 | POST_AuthSignup_Response_409 | POST_AuthSignup_Response_422;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* 200 response for POST AuthSignup endpoint
|
|
323
|
+
*
|
|
324
|
+
* @remarks
|
|
325
|
+
* This type defines the response structure for the 200 status code
|
|
326
|
+
* of the POST AuthSignup endpoint.
|
|
327
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
328
|
+
*
|
|
329
|
+
|
|
330
|
+
*
|
|
331
|
+
* @path /v1/auth/signup
|
|
332
|
+
*
|
|
333
|
+
* @see {@link POST_AuthSignup_Response} - The main response type definition
|
|
334
|
+
* @see {@link Signup} - The actual schema type definition
|
|
335
|
+
*/
|
|
336
|
+
export type POST_AuthSignup_Response_200 = Signup
|
|
319
337
|
|
|
320
338
|
/**
|
|
321
339
|
* 409 response for POST AuthSignup endpoint
|
|
@@ -409,7 +427,7 @@ export type POST_AuthToken_Response_422 = HTTPValidationError
|
|
|
409
427
|
/**
|
|
410
428
|
* Response types for GET Availability endpoint
|
|
411
429
|
*
|
|
412
|
-
*
|
|
430
|
+
* Check domain availability
|
|
413
431
|
* Check the availability of one or more domains.
|
|
414
432
|
*
|
|
415
433
|
* @remarks
|
|
@@ -516,7 +534,7 @@ export type GET_Availability_Response_502 = Problem
|
|
|
516
534
|
/**
|
|
517
535
|
* Response types for GET AvailabilityStream endpoint
|
|
518
536
|
*
|
|
519
|
-
* Stream
|
|
537
|
+
* Stream domain availability results
|
|
520
538
|
* Stream domain availability results using Server-Sent Events (SSE) until the `done` event is received.
|
|
521
539
|
*
|
|
522
540
|
* @remarks
|
|
@@ -602,8 +620,8 @@ export type GET_AvailabilityStream_Response_502 = Problem
|
|
|
602
620
|
/**
|
|
603
621
|
* Response types for GET Contacts endpoint
|
|
604
622
|
*
|
|
605
|
-
* Get Contacts
|
|
606
623
|
* List all contacts
|
|
624
|
+
* Retrieves a paginated list of all contacts
|
|
607
625
|
*
|
|
608
626
|
* @remarks
|
|
609
627
|
* This type defines all possible response structures for the GET Contacts endpoint.
|
|
@@ -658,8 +676,8 @@ export type GET_Contacts_Response_422 = HTTPValidationError
|
|
|
658
676
|
/**
|
|
659
677
|
* Response types for POST Contacts endpoint
|
|
660
678
|
*
|
|
661
|
-
* Create Contact
|
|
662
679
|
* Create a contact
|
|
680
|
+
* Create a new contact object to use for domain registration
|
|
663
681
|
*
|
|
664
682
|
* @remarks
|
|
665
683
|
* This type defines all possible response structures for the POST Contacts endpoint.
|
|
@@ -714,8 +732,8 @@ export type POST_Contacts_Response_422 = HTTPValidationError
|
|
|
714
732
|
/**
|
|
715
733
|
* Response types for DELETE ContactsByContactId endpoint
|
|
716
734
|
*
|
|
717
|
-
* Delete Contact
|
|
718
735
|
* Delete a contact
|
|
736
|
+
* Deletes a contact object; only possible if the contact is not in use
|
|
719
737
|
*
|
|
720
738
|
* @remarks
|
|
721
739
|
* This type defines all possible response structures for the DELETE ContactsByContactId endpoint.
|
|
@@ -788,8 +806,8 @@ export type DELETE_ContactsByContactId_Response_422 = HTTPValidationError
|
|
|
788
806
|
/**
|
|
789
807
|
* Response types for GET ContactsByContactId endpoint
|
|
790
808
|
*
|
|
791
|
-
* Get Contact
|
|
792
809
|
* Retrieve a contact
|
|
810
|
+
* Retrieves a contact object
|
|
793
811
|
*
|
|
794
812
|
* @remarks
|
|
795
813
|
* This type defines all possible response structures for the GET ContactsByContactId endpoint.
|
|
@@ -862,7 +880,6 @@ export type GET_ContactsByContactId_Response_422 = HTTPValidationError
|
|
|
862
880
|
/**
|
|
863
881
|
* Response types for DELETE ContactsByContactIdVerification endpoint
|
|
864
882
|
*
|
|
865
|
-
* Cancel Verification
|
|
866
883
|
* Delete contact verification
|
|
867
884
|
*
|
|
868
885
|
* @remarks
|
|
@@ -936,8 +953,7 @@ export type DELETE_ContactsByContactIdVerification_Response_422 = HTTPValidation
|
|
|
936
953
|
/**
|
|
937
954
|
* Response types for GET ContactsByContactIdVerification endpoint
|
|
938
955
|
*
|
|
939
|
-
*
|
|
940
|
-
* Retrieve contact verification
|
|
956
|
+
* Retrieve contact verification by contact ID
|
|
941
957
|
*
|
|
942
958
|
* @remarks
|
|
943
959
|
* This type defines all possible response structures for the GET ContactsByContactIdVerification endpoint.
|
|
@@ -1028,7 +1044,6 @@ export type GET_ContactsByContactIdVerification_Response_422 = HTTPValidationErr
|
|
|
1028
1044
|
/**
|
|
1029
1045
|
* Response types for POST ContactsByContactIdVerification endpoint
|
|
1030
1046
|
*
|
|
1031
|
-
* Start Contact Verification
|
|
1032
1047
|
* Start contact verification
|
|
1033
1048
|
*
|
|
1034
1049
|
* @remarks
|
|
@@ -1120,8 +1135,7 @@ export type POST_ContactsByContactIdVerification_Response_422 = HTTPValidationEr
|
|
|
1120
1135
|
/**
|
|
1121
1136
|
* Response types for PUT ContactsByContactIdVerification endpoint
|
|
1122
1137
|
*
|
|
1123
|
-
*
|
|
1124
|
-
* Complete contact verification
|
|
1138
|
+
* Complete contact verification by contact ID
|
|
1125
1139
|
*
|
|
1126
1140
|
* @remarks
|
|
1127
1141
|
* This type defines all possible response structures for the PUT ContactsByContactIdVerification endpoint.
|
|
@@ -1230,8 +1244,7 @@ export type PUT_ContactsByContactIdVerification_Response_422 = HTTPValidationErr
|
|
|
1230
1244
|
/**
|
|
1231
1245
|
* Response types for GET ContactsVerification endpoint
|
|
1232
1246
|
*
|
|
1233
|
-
*
|
|
1234
|
-
* Retrieve contact verification
|
|
1247
|
+
* Retrieve contact verification by token
|
|
1235
1248
|
*
|
|
1236
1249
|
* @remarks
|
|
1237
1250
|
* This type defines all possible response structures for the GET ContactsVerification endpoint.
|
|
@@ -1322,8 +1335,7 @@ export type GET_ContactsVerification_Response_422 = HTTPValidationError
|
|
|
1322
1335
|
/**
|
|
1323
1336
|
* Response types for PUT ContactsVerification endpoint
|
|
1324
1337
|
*
|
|
1325
|
-
*
|
|
1326
|
-
* Complete contact verification
|
|
1338
|
+
* Complete contact verification with token
|
|
1327
1339
|
*
|
|
1328
1340
|
* @remarks
|
|
1329
1341
|
* This type defines all possible response structures for the PUT ContactsVerification endpoint.
|
|
@@ -1985,7 +1997,8 @@ export type GET_DnsSummary_Response_200 = DnsZoneSummary
|
|
|
1985
1997
|
/**
|
|
1986
1998
|
* Response types for GET DomainSearchSuggest endpoint
|
|
1987
1999
|
*
|
|
1988
|
-
* Suggest
|
|
2000
|
+
* Suggest domains
|
|
2001
|
+
* Get a list of domain suggestions based on a search query
|
|
1989
2002
|
*
|
|
1990
2003
|
* @remarks
|
|
1991
2004
|
* This type defines all possible response structures for the GET DomainSearchSuggest endpoint.
|
|
@@ -1996,9 +2009,7 @@ export type GET_DnsSummary_Response_200 = DnsZoneSummary
|
|
|
1996
2009
|
*
|
|
1997
2010
|
* @path /v1/domain-search/suggest
|
|
1998
2011
|
* @param query (query) - The primary keyword or phrase for the domain search
|
|
1999
|
-
* @param tlds (query) -
|
|
2000
|
-
Specify one or more TLDs to include in the search.
|
|
2001
|
-
|
|
2012
|
+
* @param tlds (query) - The TLDs to include in the search
|
|
2002
2013
|
* @param limit (query) - The maximum number of domain suggestions to return
|
|
2003
2014
|
* @param premium (query) - Whether to include premium domains in the suggestions
|
|
2004
2015
|
*
|
|
@@ -2023,9 +2034,7 @@ export type GET_DomainSearchSuggest_Response = GET_DomainSearchSuggest_Response_
|
|
|
2023
2034
|
*
|
|
2024
2035
|
* @path /v1/domain-search/suggest
|
|
2025
2036
|
* @param query (query) - The primary keyword or phrase for the domain search
|
|
2026
|
-
* @param tlds (query) -
|
|
2027
|
-
Specify one or more TLDs to include in the search.
|
|
2028
|
-
|
|
2037
|
+
* @param tlds (query) - The TLDs to include in the search
|
|
2029
2038
|
* @param limit (query) - The maximum number of domain suggestions to return
|
|
2030
2039
|
* @param premium (query) - Whether to include premium domains in the suggestions
|
|
2031
2040
|
*
|
|
@@ -2046,9 +2055,7 @@ export type GET_DomainSearchSuggest_Response_200 = DomainSearch
|
|
|
2046
2055
|
*
|
|
2047
2056
|
* @path /v1/domain-search/suggest
|
|
2048
2057
|
* @param query (query) - The primary keyword or phrase for the domain search
|
|
2049
|
-
* @param tlds (query) -
|
|
2050
|
-
Specify one or more TLDs to include in the search.
|
|
2051
|
-
|
|
2058
|
+
* @param tlds (query) - The TLDs to include in the search
|
|
2052
2059
|
* @param limit (query) - The maximum number of domain suggestions to return
|
|
2053
2060
|
* @param premium (query) - Whether to include premium domains in the suggestions
|
|
2054
2061
|
*
|
|
@@ -2069,9 +2076,7 @@ export type GET_DomainSearchSuggest_Response_401 = Problem
|
|
|
2069
2076
|
*
|
|
2070
2077
|
* @path /v1/domain-search/suggest
|
|
2071
2078
|
* @param query (query) - The primary keyword or phrase for the domain search
|
|
2072
|
-
* @param tlds (query) -
|
|
2073
|
-
Specify one or more TLDs to include in the search.
|
|
2074
|
-
|
|
2079
|
+
* @param tlds (query) - The TLDs to include in the search
|
|
2075
2080
|
* @param limit (query) - The maximum number of domain suggestions to return
|
|
2076
2081
|
* @param premium (query) - Whether to include premium domains in the suggestions
|
|
2077
2082
|
*
|
|
@@ -2092,9 +2097,7 @@ export type GET_DomainSearchSuggest_Response_422 = HTTPValidationError
|
|
|
2092
2097
|
*
|
|
2093
2098
|
* @path /v1/domain-search/suggest
|
|
2094
2099
|
* @param query (query) - The primary keyword or phrase for the domain search
|
|
2095
|
-
* @param tlds (query) -
|
|
2096
|
-
Specify one or more TLDs to include in the search.
|
|
2097
|
-
|
|
2100
|
+
* @param tlds (query) - The TLDs to include in the search
|
|
2098
2101
|
* @param limit (query) - The maximum number of domain suggestions to return
|
|
2099
2102
|
* @param premium (query) - Whether to include premium domains in the suggestions
|
|
2100
2103
|
*
|
|
@@ -2886,7 +2889,7 @@ export type POST_DomainsByDomainReferenceRenew_Response_422 = HTTPValidationErro
|
|
|
2886
2889
|
/**
|
|
2887
2890
|
* Response types for POST DomainsByDomainReferenceRestore endpoint
|
|
2888
2891
|
*
|
|
2889
|
-
* Restore
|
|
2892
|
+
* Restore an eligible domain (during redemption period)
|
|
2890
2893
|
*
|
|
2891
2894
|
* @remarks
|
|
2892
2895
|
* This type defines all possible response structures for the POST DomainsByDomainReferenceRestore endpoint.
|
|
@@ -3579,7 +3582,8 @@ export type PATCH_EmailForwardsByZoneNameEnable_Response_422 = HTTPValidationErr
|
|
|
3579
3582
|
/**
|
|
3580
3583
|
* Response types for GET Events endpoint
|
|
3581
3584
|
*
|
|
3582
|
-
* Get
|
|
3585
|
+
* Get pending events
|
|
3586
|
+
* Retrieves a paginated list of pending events for the organization
|
|
3583
3587
|
*
|
|
3584
3588
|
* @remarks
|
|
3585
3589
|
* This type defines all possible response structures for the GET Events endpoint.
|
|
@@ -3652,7 +3656,8 @@ export type GET_Events_Response_422 = HTTPValidationError
|
|
|
3652
3656
|
/**
|
|
3653
3657
|
* Response types for GET EventsByEventId endpoint
|
|
3654
3658
|
*
|
|
3655
|
-
* Get
|
|
3659
|
+
* Get event
|
|
3660
|
+
* Get an event by its ID
|
|
3656
3661
|
*
|
|
3657
3662
|
* @remarks
|
|
3658
3663
|
* This type defines all possible response structures for the GET EventsByEventId endpoint.
|
|
@@ -3743,7 +3748,8 @@ export type GET_EventsByEventId_Response_422 = HTTPValidationError
|
|
|
3743
3748
|
/**
|
|
3744
3749
|
* Response types for PATCH EventsByEventId endpoint
|
|
3745
3750
|
*
|
|
3746
|
-
* Acknowledge
|
|
3751
|
+
* Acknowledge event
|
|
3752
|
+
* Acknowledge an event
|
|
3747
3753
|
*
|
|
3748
3754
|
* @remarks
|
|
3749
3755
|
* This type defines all possible response structures for the PATCH EventsByEventId endpoint.
|
|
@@ -3816,7 +3822,8 @@ export type PATCH_EventsByEventId_Response_422 = HTTPValidationError
|
|
|
3816
3822
|
/**
|
|
3817
3823
|
* Response types for GET Organizations endpoint
|
|
3818
3824
|
*
|
|
3819
|
-
* List
|
|
3825
|
+
* List all organizations
|
|
3826
|
+
* Retrieves a paginated list of organizations under the current organization
|
|
3820
3827
|
*
|
|
3821
3828
|
* @remarks
|
|
3822
3829
|
* This type defines all possible response structures for the GET Organizations endpoint.
|
|
@@ -3871,7 +3878,8 @@ export type GET_Organizations_Response_422 = HTTPValidationError
|
|
|
3871
3878
|
/**
|
|
3872
3879
|
* Response types for POST Organizations endpoint
|
|
3873
3880
|
*
|
|
3874
|
-
* Create
|
|
3881
|
+
* Create an organization
|
|
3882
|
+
* Create a new organization under the current organization
|
|
3875
3883
|
*
|
|
3876
3884
|
* @remarks
|
|
3877
3885
|
* This type defines all possible response structures for the POST Organizations endpoint.
|
|
@@ -3926,7 +3934,8 @@ export type POST_Organizations_Response_422 = HTTPValidationError
|
|
|
3926
3934
|
/**
|
|
3927
3935
|
* Response types for GET OrganizationsAttributes endpoint
|
|
3928
3936
|
*
|
|
3929
|
-
*
|
|
3937
|
+
* List organization attributes
|
|
3938
|
+
* Retrieves a list of organization attributes for the current organization
|
|
3930
3939
|
*
|
|
3931
3940
|
* @remarks
|
|
3932
3941
|
* This type defines all possible response structures for the GET OrganizationsAttributes endpoint.
|
|
@@ -3984,7 +3993,8 @@ export type GET_OrganizationsAttributes_Response_422 = HTTPValidationError
|
|
|
3984
3993
|
/**
|
|
3985
3994
|
* Response types for PATCH OrganizationsAttributes endpoint
|
|
3986
3995
|
*
|
|
3987
|
-
* Update
|
|
3996
|
+
* Update organization attributes
|
|
3997
|
+
* Updates one or more organization attributes for the current organization
|
|
3988
3998
|
*
|
|
3989
3999
|
* @remarks
|
|
3990
4000
|
* This type defines all possible response structures for the PATCH OrganizationsAttributes endpoint.
|
|
@@ -4039,7 +4049,8 @@ export type PATCH_OrganizationsAttributes_Response_422 = HTTPValidationError
|
|
|
4039
4049
|
/**
|
|
4040
4050
|
* Response types for GET OrganizationsAttributesByOrganizationId endpoint
|
|
4041
4051
|
*
|
|
4042
|
-
*
|
|
4052
|
+
* List organization attributes
|
|
4053
|
+
* Retrieves a list of organization attributes for the specified organization
|
|
4043
4054
|
*
|
|
4044
4055
|
* @remarks
|
|
4045
4056
|
* This type defines all possible response structures for the GET OrganizationsAttributesByOrganizationId endpoint.
|
|
@@ -4097,7 +4108,8 @@ export type GET_OrganizationsAttributesByOrganizationId_Response_422 = HTTPValid
|
|
|
4097
4108
|
/**
|
|
4098
4109
|
* Response types for PATCH OrganizationsAttributesByOrganizationId endpoint
|
|
4099
4110
|
*
|
|
4100
|
-
* Update
|
|
4111
|
+
* Update organization attributes
|
|
4112
|
+
* Updates one or more organization attributes for the specified organization
|
|
4101
4113
|
*
|
|
4102
4114
|
* @remarks
|
|
4103
4115
|
* This type defines all possible response structures for the PATCH OrganizationsAttributesByOrganizationId endpoint.
|
|
@@ -4152,7 +4164,8 @@ export type PATCH_OrganizationsAttributesByOrganizationId_Response_422 = HTTPVal
|
|
|
4152
4164
|
/**
|
|
4153
4165
|
* Response types for DELETE OrganizationsByOrganizationId endpoint
|
|
4154
4166
|
*
|
|
4155
|
-
* Delete
|
|
4167
|
+
* Delete an organization
|
|
4168
|
+
* Permanently deletes an organization
|
|
4156
4169
|
*
|
|
4157
4170
|
* @remarks
|
|
4158
4171
|
* This type defines all possible response structures for the DELETE OrganizationsByOrganizationId endpoint.
|
|
@@ -4189,7 +4202,8 @@ export type DELETE_OrganizationsByOrganizationId_Response_422 = HTTPValidationEr
|
|
|
4189
4202
|
/**
|
|
4190
4203
|
* Response types for GET OrganizationsByOrganizationId endpoint
|
|
4191
4204
|
*
|
|
4192
|
-
* Get
|
|
4205
|
+
* Get organization details
|
|
4206
|
+
* Retrieves details for a specific organization
|
|
4193
4207
|
*
|
|
4194
4208
|
* @remarks
|
|
4195
4209
|
* This type defines all possible response structures for the GET OrganizationsByOrganizationId endpoint.
|
|
@@ -4244,7 +4258,8 @@ export type GET_OrganizationsByOrganizationId_Response_422 = HTTPValidationError
|
|
|
4244
4258
|
/**
|
|
4245
4259
|
* Response types for PATCH OrganizationsByOrganizationId endpoint
|
|
4246
4260
|
*
|
|
4247
|
-
* Update
|
|
4261
|
+
* Update an organization
|
|
4262
|
+
* Updates details for a specific organization
|
|
4248
4263
|
*
|
|
4249
4264
|
* @remarks
|
|
4250
4265
|
* This type defines all possible response structures for the PATCH OrganizationsByOrganizationId endpoint.
|
|
@@ -4299,7 +4314,8 @@ export type PATCH_OrganizationsByOrganizationId_Response_422 = HTTPValidationErr
|
|
|
4299
4314
|
/**
|
|
4300
4315
|
* Response types for POST OrganizationsByOrganizationIdBillingCheckoutSessions endpoint
|
|
4301
4316
|
*
|
|
4302
|
-
*
|
|
4317
|
+
* Create checkout session
|
|
4318
|
+
* Create a checkout session for the organization
|
|
4303
4319
|
*
|
|
4304
4320
|
* @remarks
|
|
4305
4321
|
* This type defines all possible response structures for the POST OrganizationsByOrganizationIdBillingCheckoutSessions endpoint.
|
|
@@ -4354,7 +4370,8 @@ export type POST_OrganizationsByOrganizationIdBillingCheckoutSessions_Response_4
|
|
|
4354
4370
|
/**
|
|
4355
4371
|
* Response types for GET OrganizationsByOrganizationIdBillingPaymentMethods endpoint
|
|
4356
4372
|
*
|
|
4357
|
-
* List
|
|
4373
|
+
* List all payment methods
|
|
4374
|
+
* List all available payment methods for the organization
|
|
4358
4375
|
*
|
|
4359
4376
|
* @remarks
|
|
4360
4377
|
* This type defines all possible response structures for the GET OrganizationsByOrganizationIdBillingPaymentMethods endpoint.
|
|
@@ -4409,7 +4426,8 @@ export type GET_OrganizationsByOrganizationIdBillingPaymentMethods_Response_422
|
|
|
4409
4426
|
/**
|
|
4410
4427
|
* Response types for DELETE OrganizationsByOrganizationIdBillingPaymentMethodsByPaymentMethodId endpoint
|
|
4411
4428
|
*
|
|
4412
|
-
* Delete
|
|
4429
|
+
* Delete a payment method
|
|
4430
|
+
* Delete a payment method for the organization
|
|
4413
4431
|
*
|
|
4414
4432
|
* @remarks
|
|
4415
4433
|
* This type defines all possible response structures for the DELETE OrganizationsByOrganizationIdBillingPaymentMethodsByPaymentMethodId endpoint.
|
|
@@ -4446,7 +4464,8 @@ export type DELETE_OrganizationsByOrganizationIdBillingPaymentMethodsByPaymentMe
|
|
|
4446
4464
|
/**
|
|
4447
4465
|
* Response types for PATCH OrganizationsByOrganizationIdBillingPaymentMethodsByPaymentMethodIdDefault endpoint
|
|
4448
4466
|
*
|
|
4449
|
-
*
|
|
4467
|
+
* Set payment method as default
|
|
4468
|
+
* Set the provided payment method as default for the specified organization
|
|
4450
4469
|
*
|
|
4451
4470
|
* @remarks
|
|
4452
4471
|
* This type defines all possible response structures for the PATCH OrganizationsByOrganizationIdBillingPaymentMethodsByPaymentMethodIdDefault endpoint.
|
|
@@ -4501,7 +4520,8 @@ export type PATCH_OrganizationsByOrganizationIdBillingPaymentMethodsByPaymentMet
|
|
|
4501
4520
|
/**
|
|
4502
4521
|
* Response types for POST OrganizationsByOrganizationIdBillingWalletCredits endpoint
|
|
4503
4522
|
*
|
|
4504
|
-
* Credit
|
|
4523
|
+
* Credit wallet
|
|
4524
|
+
* Credit the organization's wallet using the provided amount and payment method
|
|
4505
4525
|
*
|
|
4506
4526
|
* @remarks
|
|
4507
4527
|
* This type defines all possible response structures for the POST OrganizationsByOrganizationIdBillingWalletCredits endpoint.
|
|
@@ -4556,7 +4576,8 @@ export type POST_OrganizationsByOrganizationIdBillingWalletCredits_Response_422
|
|
|
4556
4576
|
/**
|
|
4557
4577
|
* Response types for PATCH OrganizationsByOrganizationIdPlan endpoint
|
|
4558
4578
|
*
|
|
4559
|
-
*
|
|
4579
|
+
* Update organization plan
|
|
4580
|
+
* Changes the plan for an organization
|
|
4560
4581
|
*
|
|
4561
4582
|
* @remarks
|
|
4562
4583
|
* This type defines all possible response structures for the PATCH OrganizationsByOrganizationIdPlan endpoint.
|
|
@@ -4611,7 +4632,8 @@ export type PATCH_OrganizationsByOrganizationIdPlan_Response_422 = HTTPValidatio
|
|
|
4611
4632
|
/**
|
|
4612
4633
|
* Response types for GET OrganizationsByOrganizationIdPlans endpoint
|
|
4613
4634
|
*
|
|
4614
|
-
* Get
|
|
4635
|
+
* Get plans for an organization
|
|
4636
|
+
* Retrieves a list of plans for an organization
|
|
4615
4637
|
*
|
|
4616
4638
|
* @remarks
|
|
4617
4639
|
* This type defines all possible response structures for the GET OrganizationsByOrganizationIdPlans endpoint.
|
|
@@ -4666,7 +4688,8 @@ export type GET_OrganizationsByOrganizationIdPlans_Response_422 = HTTPValidation
|
|
|
4666
4688
|
/**
|
|
4667
4689
|
* Response types for GET OrganizationsByOrganizationIdPricingProductTypeByProductType endpoint
|
|
4668
4690
|
*
|
|
4669
|
-
*
|
|
4691
|
+
* List product prices
|
|
4692
|
+
* Retrieves pricing data for a specific product type. If a product action/class are specified, only prices for those are returned, if any.
|
|
4670
4693
|
*
|
|
4671
4694
|
* @remarks
|
|
4672
4695
|
* This type defines all possible response structures for the GET OrganizationsByOrganizationIdPricingProductTypeByProductType endpoint.
|
|
@@ -4721,7 +4744,8 @@ export type GET_OrganizationsByOrganizationIdPricingProductTypeByProductType_Res
|
|
|
4721
4744
|
/**
|
|
4722
4745
|
* Response types for GET OrganizationsByOrganizationIdTransactions endpoint
|
|
4723
4746
|
*
|
|
4724
|
-
*
|
|
4747
|
+
* List all transactions
|
|
4748
|
+
* Retrieves a paginated list of transactions for an organization
|
|
4725
4749
|
*
|
|
4726
4750
|
* @remarks
|
|
4727
4751
|
* This type defines all possible response structures for the GET OrganizationsByOrganizationIdTransactions endpoint.
|
|
@@ -4776,7 +4800,8 @@ export type GET_OrganizationsByOrganizationIdTransactions_Response_422 = HTTPVal
|
|
|
4776
4800
|
/**
|
|
4777
4801
|
* Response types for GET OrganizationsByOrganizationIdTransactionsByTransactionId endpoint
|
|
4778
4802
|
*
|
|
4779
|
-
* Get a specific transaction
|
|
4803
|
+
* Get a specific transaction
|
|
4804
|
+
* Retrieves details for a specific transaction for an organization
|
|
4780
4805
|
*
|
|
4781
4806
|
* @remarks
|
|
4782
4807
|
* This type defines all possible response structures for the GET OrganizationsByOrganizationIdTransactionsByTransactionId endpoint.
|
|
@@ -4831,7 +4856,7 @@ export type GET_OrganizationsByOrganizationIdTransactionsByTransactionId_Respons
|
|
|
4831
4856
|
/**
|
|
4832
4857
|
* Response types for GET OrganizationsIpRestrictions endpoint
|
|
4833
4858
|
*
|
|
4834
|
-
* List
|
|
4859
|
+
* List IP restrictions
|
|
4835
4860
|
* List all IP restrictions for the organization.
|
|
4836
4861
|
|
|
4837
4862
|
Returns a list of all IP restrictions configured for your organization.
|
|
@@ -4872,7 +4897,7 @@ export type GET_OrganizationsIpRestrictions_Response_200 = IpRestrictionArray
|
|
|
4872
4897
|
/**
|
|
4873
4898
|
* Response types for POST OrganizationsIpRestrictions endpoint
|
|
4874
4899
|
*
|
|
4875
|
-
* Create
|
|
4900
|
+
* Create an IP restriction
|
|
4876
4901
|
* Create a new IP restriction for the organization.
|
|
4877
4902
|
|
|
4878
4903
|
Accepts either a single IP address or a CIDR network range.
|
|
@@ -4931,7 +4956,7 @@ export type POST_OrganizationsIpRestrictions_Response_422 = HTTPValidationError
|
|
|
4931
4956
|
/**
|
|
4932
4957
|
* Response types for DELETE OrganizationsIpRestrictionsByIpRestrictionId endpoint
|
|
4933
4958
|
*
|
|
4934
|
-
* Delete
|
|
4959
|
+
* Delete an IP restriction
|
|
4935
4960
|
* Delete an IP restriction.
|
|
4936
4961
|
|
|
4937
4962
|
Permanently removes the specified IP restriction from your organization.
|
|
@@ -4971,7 +4996,7 @@ export type DELETE_OrganizationsIpRestrictionsByIpRestrictionId_Response_422 = H
|
|
|
4971
4996
|
/**
|
|
4972
4997
|
* Response types for GET OrganizationsIpRestrictionsByIpRestrictionId endpoint
|
|
4973
4998
|
*
|
|
4974
|
-
* Get
|
|
4999
|
+
* Get an IP restriction
|
|
4975
5000
|
* Get a specific IP restriction by ID.
|
|
4976
5001
|
|
|
4977
5002
|
Returns the details of a specific IP restriction if it exists and belongs to your organization.
|
|
@@ -5030,7 +5055,7 @@ export type GET_OrganizationsIpRestrictionsByIpRestrictionId_Response_422 = HTTP
|
|
|
5030
5055
|
/**
|
|
5031
5056
|
* Response types for PATCH OrganizationsIpRestrictionsByIpRestrictionId endpoint
|
|
5032
5057
|
*
|
|
5033
|
-
* Update
|
|
5058
|
+
* Update an IP restriction
|
|
5034
5059
|
* Update an existing IP restriction.
|
|
5035
5060
|
|
|
5036
5061
|
You can update the IP network range or the last usage timestamp.
|
|
@@ -5089,7 +5114,8 @@ export type PATCH_OrganizationsIpRestrictionsByIpRestrictionId_Response_422 = HT
|
|
|
5089
5114
|
/**
|
|
5090
5115
|
* Response types for GET OrganizationsRoles endpoint
|
|
5091
5116
|
*
|
|
5092
|
-
* List
|
|
5117
|
+
* List all roles
|
|
5118
|
+
* Retrieves a list of roles for the current organization
|
|
5093
5119
|
*
|
|
5094
5120
|
* @remarks
|
|
5095
5121
|
* This type defines all possible response structures for the GET OrganizationsRoles endpoint.
|
|
@@ -5109,7 +5135,8 @@ export type GET_OrganizationsRoles_Response = unknown;
|
|
|
5109
5135
|
/**
|
|
5110
5136
|
* Response types for GET OrganizationsUsers endpoint
|
|
5111
5137
|
*
|
|
5112
|
-
* List
|
|
5138
|
+
* List all users
|
|
5139
|
+
* Retrieves a paginated list of users under the current organization
|
|
5113
5140
|
*
|
|
5114
5141
|
* @remarks
|
|
5115
5142
|
* This type defines all possible response structures for the GET OrganizationsUsers endpoint.
|
|
@@ -5164,7 +5191,8 @@ export type GET_OrganizationsUsers_Response_422 = HTTPValidationError
|
|
|
5164
5191
|
/**
|
|
5165
5192
|
* Response types for GET TldsByTld endpoint
|
|
5166
5193
|
*
|
|
5167
|
-
* Get
|
|
5194
|
+
* Get the TLD specification
|
|
5195
|
+
* Retrieves the TLD specification for a given TLD
|
|
5168
5196
|
*
|
|
5169
5197
|
* @remarks
|
|
5170
5198
|
* This type defines all possible response structures for the GET TldsByTld endpoint.
|
|
@@ -5237,7 +5265,8 @@ export type GET_TldsByTld_Response_422 = HTTPValidationError
|
|
|
5237
5265
|
/**
|
|
5238
5266
|
* Response types for GET TldsPortfolio endpoint
|
|
5239
5267
|
*
|
|
5240
|
-
* Get
|
|
5268
|
+
* Get the list of TLDs we support
|
|
5269
|
+
* Retrieves a list of TLDs we have support for
|
|
5241
5270
|
*
|
|
5242
5271
|
* @remarks
|
|
5243
5272
|
* This type defines all possible response structures for the GET TldsPortfolio endpoint.
|
|
@@ -5274,7 +5303,8 @@ export type GET_TldsPortfolio_Response_200 = TldResponseShortArray
|
|
|
5274
5303
|
/**
|
|
5275
5304
|
* Response types for POST Users endpoint
|
|
5276
5305
|
*
|
|
5277
|
-
* Create
|
|
5306
|
+
* Create a user
|
|
5307
|
+
* Create a new user
|
|
5278
5308
|
*
|
|
5279
5309
|
* @remarks
|
|
5280
5310
|
* This type defines all possible response structures for the POST Users endpoint.
|
|
@@ -5329,7 +5359,8 @@ export type POST_Users_Response_422 = HTTPValidationError
|
|
|
5329
5359
|
/**
|
|
5330
5360
|
* Response types for DELETE UsersByUserId endpoint
|
|
5331
5361
|
*
|
|
5332
|
-
* Delete
|
|
5362
|
+
* Delete a user
|
|
5363
|
+
* Delete a user by ID
|
|
5333
5364
|
*
|
|
5334
5365
|
* @remarks
|
|
5335
5366
|
* This type defines all possible response structures for the DELETE UsersByUserId endpoint.
|
|
@@ -5384,7 +5415,8 @@ export type DELETE_UsersByUserId_Response_422 = HTTPValidationError
|
|
|
5384
5415
|
/**
|
|
5385
5416
|
* Response types for GET UsersByUserId endpoint
|
|
5386
5417
|
*
|
|
5387
|
-
* Get
|
|
5418
|
+
* Get a user
|
|
5419
|
+
* Get a user by ID
|
|
5388
5420
|
*
|
|
5389
5421
|
* @remarks
|
|
5390
5422
|
* This type defines all possible response structures for the GET UsersByUserId endpoint.
|
|
@@ -5439,7 +5471,8 @@ export type GET_UsersByUserId_Response_422 = HTTPValidationError
|
|
|
5439
5471
|
/**
|
|
5440
5472
|
* Response types for PATCH UsersByUserId endpoint
|
|
5441
5473
|
*
|
|
5442
|
-
* Update
|
|
5474
|
+
* Update a user
|
|
5475
|
+
* Update a user by ID
|
|
5443
5476
|
*
|
|
5444
5477
|
* @remarks
|
|
5445
5478
|
* This type defines all possible response structures for the PATCH UsersByUserId endpoint.
|
|
@@ -5494,7 +5527,8 @@ export type PATCH_UsersByUserId_Response_422 = HTTPValidationError
|
|
|
5494
5527
|
/**
|
|
5495
5528
|
* Response types for GET UsersByUserIdPermissions endpoint
|
|
5496
5529
|
*
|
|
5497
|
-
* Get
|
|
5530
|
+
* Get user permissions
|
|
5531
|
+
* Get the permissions for a user
|
|
5498
5532
|
*
|
|
5499
5533
|
* @remarks
|
|
5500
5534
|
* This type defines all possible response structures for the GET UsersByUserIdPermissions endpoint.
|
|
@@ -5549,7 +5583,8 @@ export type GET_UsersByUserIdPermissions_Response_422 = HTTPValidationError
|
|
|
5549
5583
|
/**
|
|
5550
5584
|
* Response types for GET UsersByUserIdRoles endpoint
|
|
5551
5585
|
*
|
|
5552
|
-
*
|
|
5586
|
+
* Get user roles
|
|
5587
|
+
* Get the roles for a user
|
|
5553
5588
|
*
|
|
5554
5589
|
* @remarks
|
|
5555
5590
|
* This type defines all possible response structures for the GET UsersByUserIdRoles endpoint.
|
|
@@ -5604,7 +5639,8 @@ export type GET_UsersByUserIdRoles_Response_422 = HTTPValidationError
|
|
|
5604
5639
|
/**
|
|
5605
5640
|
* Response types for PATCH UsersByUserIdRoles endpoint
|
|
5606
5641
|
*
|
|
5607
|
-
* Update
|
|
5642
|
+
* Update user roles
|
|
5643
|
+
* Update the roles for a user
|
|
5608
5644
|
*
|
|
5609
5645
|
* @remarks
|
|
5610
5646
|
* This type defines all possible response structures for the PATCH UsersByUserIdRoles endpoint.
|
|
@@ -5659,7 +5695,8 @@ export type PATCH_UsersByUserIdRoles_Response_422 = HTTPValidationError
|
|
|
5659
5695
|
/**
|
|
5660
5696
|
* Response types for GET UsersMe endpoint
|
|
5661
5697
|
*
|
|
5662
|
-
* Get
|
|
5698
|
+
* Get current user
|
|
5699
|
+
* Get the current user
|
|
5663
5700
|
*
|
|
5664
5701
|
* @remarks
|
|
5665
5702
|
* This type defines all possible response structures for the GET UsersMe endpoint.
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* This file is auto-generated from the OpenAPI specification.
|
|
22
22
|
* Do not edit manually.
|
|
23
23
|
*/
|
|
24
|
-
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, CustomerCreditCardPaymentMethod, TldResponseShort, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PlanInfo, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, OrganizationCredential, Organization, Period, Permission, PremiumAffectsType, Relation, UserAgreementAcceptance, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
24
|
+
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, CustomerCreditCardPaymentMethod, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PlanInfo, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, OrganizationCredential, Organization, Period, Permission, PremiumAffectsType, Relation, UserAgreementAcceptance, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* DomainDnssecDataResponse
|
|
@@ -121,6 +121,48 @@ export type CustomerCreditCardPaymentMethodArray = CustomerCreditCardPaymentMeth
|
|
|
121
121
|
* @see {@link TldResponseShort} - The individual TldResponseShort type definition
|
|
122
122
|
*/
|
|
123
123
|
export type TldResponseShortArray = TldResponseShort[];
|
|
124
|
+
/**
|
|
125
|
+
* RegistryHandleAttributeType. Registry handle attribute types for type-safe attribute key access.
|
|
126
|
+
*
|
|
127
|
+
* @remarks
|
|
128
|
+
* Array type for RegistryHandleAttributeType objects. Used when the API returns a collection of RegistryHandleAttributeType instances.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* ```typescript
|
|
132
|
+
* const items: RegistryHandleAttributeTypeArray = await api.getRegistryHandleAttributeTypes();
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* @see {@link RegistryHandleAttributeType} - The individual RegistryHandleAttributeType type definition
|
|
136
|
+
*/
|
|
137
|
+
export type RegistryHandleAttributeTypeArray = RegistryHandleAttributeType[];
|
|
138
|
+
/**
|
|
139
|
+
* ContactAttributeDefinition. Definition of a possible attribute for a TLD.
|
|
140
|
+
*
|
|
141
|
+
* @remarks
|
|
142
|
+
* Array type for ContactAttributeDefinition objects. Used when the API returns a collection of ContactAttributeDefinition instances.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* ```typescript
|
|
146
|
+
* const items: ContactAttributeDefinitionArray = await api.getContactAttributeDefinitions();
|
|
147
|
+
* ```
|
|
148
|
+
*
|
|
149
|
+
* @see {@link ContactAttributeDefinition} - The individual ContactAttributeDefinition type definition
|
|
150
|
+
*/
|
|
151
|
+
export type ContactAttributeDefinitionArray = ContactAttributeDefinition[];
|
|
152
|
+
/**
|
|
153
|
+
* ContactRoleAttributeRequirement. Attribute requirements for a specific contact role.
|
|
154
|
+
*
|
|
155
|
+
* @remarks
|
|
156
|
+
* Array type for ContactRoleAttributeRequirement objects. Used when the API returns a collection of ContactRoleAttributeRequirement instances.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* ```typescript
|
|
160
|
+
* const items: ContactRoleAttributeRequirementArray = await api.getContactRoleAttributeRequirements();
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @see {@link ContactRoleAttributeRequirement} - The individual ContactRoleAttributeRequirement type definition
|
|
164
|
+
*/
|
|
165
|
+
export type ContactRoleAttributeRequirementArray = ContactRoleAttributeRequirement[];
|
|
124
166
|
/**
|
|
125
167
|
* PostalAddressType
|
|
126
168
|
*
|