@opusdns/api 0.82.0 → 0.84.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 +798 -0
- package/src/helpers/requests.d.ts +347 -1
- package/src/helpers/responses.d.ts +329 -1
- package/src/helpers/schemas-arrays.d.ts +43 -1
- package/src/helpers/schemas.d.ts +112 -0
- package/src/openapi.yaml +541 -36
- package/src/schema.d.ts +405 -1
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataArray, OrganizationAttribute2Array, IpRestrictionArray, TldResponseShortArray } from './schemas-arrays.d';
|
|
36
36
|
|
|
37
|
-
import { Problem, HTTPValidationError, 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, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
|
|
37
|
+
import { Problem, HTTPValidationError, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DnsZoneSummary, Pagination_Redirect, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, Pagination_EmailForwardAlias, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, 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 POST AuthToken endpoint
|
|
@@ -1661,6 +1661,334 @@ export type GET_DnsSummary_Response = GET_DnsSummary_Response_200;
|
|
|
1661
1661
|
*/
|
|
1662
1662
|
export type GET_DnsSummary_Response_200 = DnsZoneSummary
|
|
1663
1663
|
|
|
1664
|
+
/**
|
|
1665
|
+
* Response types for PATCH DomainForwards endpoint
|
|
1666
|
+
*
|
|
1667
|
+
* Patch Redirects
|
|
1668
|
+
*
|
|
1669
|
+
* @remarks
|
|
1670
|
+
* This type defines all possible response structures for the PATCH DomainForwards endpoint.
|
|
1671
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1672
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1673
|
+
*
|
|
1674
|
+
|
|
1675
|
+
*
|
|
1676
|
+
* @path /v1/domain-forwards
|
|
1677
|
+
*
|
|
1678
|
+
* @see {@link PATCH_DomainForwards_Response_422} - 422 response type
|
|
1679
|
+
*
|
|
1680
|
+
|
|
1681
|
+
*/
|
|
1682
|
+
export type PATCH_DomainForwards_Response = PATCH_DomainForwards_Response_422;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* 422 response for PATCH DomainForwards endpoint
|
|
1686
|
+
*
|
|
1687
|
+
* @remarks
|
|
1688
|
+
* This type defines the response structure for the 422 status code
|
|
1689
|
+
* of the PATCH DomainForwards endpoint.
|
|
1690
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1691
|
+
*
|
|
1692
|
+
|
|
1693
|
+
*
|
|
1694
|
+
* @path /v1/domain-forwards
|
|
1695
|
+
*
|
|
1696
|
+
* @see {@link PATCH_DomainForwards_Response} - The main response type definition
|
|
1697
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1698
|
+
*/
|
|
1699
|
+
export type PATCH_DomainForwards_Response_422 = HTTPValidationError
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Response types for DELETE DomainForwardsByZoneName endpoint
|
|
1703
|
+
*
|
|
1704
|
+
* Delete Redirects
|
|
1705
|
+
*
|
|
1706
|
+
* @remarks
|
|
1707
|
+
* This type defines all possible response structures for the DELETE DomainForwardsByZoneName endpoint.
|
|
1708
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1709
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1710
|
+
*
|
|
1711
|
+
|
|
1712
|
+
*
|
|
1713
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1714
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1715
|
+
*
|
|
1716
|
+
* @see {@link DELETE_DomainForwardsByZoneName_Response_422} - 422 response type
|
|
1717
|
+
*
|
|
1718
|
+
|
|
1719
|
+
*/
|
|
1720
|
+
export type DELETE_DomainForwardsByZoneName_Response = DELETE_DomainForwardsByZoneName_Response_422;
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* 422 response for DELETE DomainForwardsByZoneName endpoint
|
|
1724
|
+
*
|
|
1725
|
+
* @remarks
|
|
1726
|
+
* This type defines the response structure for the 422 status code
|
|
1727
|
+
* of the DELETE DomainForwardsByZoneName endpoint.
|
|
1728
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1729
|
+
*
|
|
1730
|
+
|
|
1731
|
+
*
|
|
1732
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1733
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1734
|
+
*
|
|
1735
|
+
* @see {@link DELETE_DomainForwardsByZoneName_Response} - The main response type definition
|
|
1736
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1737
|
+
*/
|
|
1738
|
+
export type DELETE_DomainForwardsByZoneName_Response_422 = HTTPValidationError
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* Response types for GET DomainForwardsByZoneName endpoint
|
|
1742
|
+
*
|
|
1743
|
+
* Get Redirects
|
|
1744
|
+
*
|
|
1745
|
+
* @remarks
|
|
1746
|
+
* This type defines all possible response structures for the GET DomainForwardsByZoneName endpoint.
|
|
1747
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1748
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1749
|
+
*
|
|
1750
|
+
|
|
1751
|
+
*
|
|
1752
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1753
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1754
|
+
*
|
|
1755
|
+
* @see {@link GET_DomainForwardsByZoneName_Response_200} - 200 response type
|
|
1756
|
+
* @see {@link GET_DomainForwardsByZoneName_Response_422} - 422 response type
|
|
1757
|
+
*
|
|
1758
|
+
|
|
1759
|
+
*/
|
|
1760
|
+
export type GET_DomainForwardsByZoneName_Response = GET_DomainForwardsByZoneName_Response_200 | GET_DomainForwardsByZoneName_Response_422;
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* 200 response for GET DomainForwardsByZoneName endpoint
|
|
1764
|
+
*
|
|
1765
|
+
* @remarks
|
|
1766
|
+
* This type defines the response structure for the 200 status code
|
|
1767
|
+
* of the GET DomainForwardsByZoneName endpoint.
|
|
1768
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1769
|
+
*
|
|
1770
|
+
|
|
1771
|
+
*
|
|
1772
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1773
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1774
|
+
*
|
|
1775
|
+
* @see {@link GET_DomainForwardsByZoneName_Response} - The main response type definition
|
|
1776
|
+
* @see {@link Pagination_Redirect} - The actual schema type definition
|
|
1777
|
+
*/
|
|
1778
|
+
export type GET_DomainForwardsByZoneName_Response_200 = Pagination_Redirect
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* 422 response for GET DomainForwardsByZoneName endpoint
|
|
1782
|
+
*
|
|
1783
|
+
* @remarks
|
|
1784
|
+
* This type defines the response structure for the 422 status code
|
|
1785
|
+
* of the GET DomainForwardsByZoneName endpoint.
|
|
1786
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1787
|
+
*
|
|
1788
|
+
|
|
1789
|
+
*
|
|
1790
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1791
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1792
|
+
*
|
|
1793
|
+
* @see {@link GET_DomainForwardsByZoneName_Response} - The main response type definition
|
|
1794
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1795
|
+
*/
|
|
1796
|
+
export type GET_DomainForwardsByZoneName_Response_422 = HTTPValidationError
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* Response types for POST DomainForwardsByZoneName endpoint
|
|
1800
|
+
*
|
|
1801
|
+
* Create Redirects
|
|
1802
|
+
*
|
|
1803
|
+
* @remarks
|
|
1804
|
+
* This type defines all possible response structures for the POST DomainForwardsByZoneName endpoint.
|
|
1805
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1806
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1807
|
+
*
|
|
1808
|
+
|
|
1809
|
+
*
|
|
1810
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1811
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1812
|
+
*
|
|
1813
|
+
* @see {@link POST_DomainForwardsByZoneName_Response_409} - 409 response type
|
|
1814
|
+
* @see {@link POST_DomainForwardsByZoneName_Response_422} - 422 response type
|
|
1815
|
+
*
|
|
1816
|
+
|
|
1817
|
+
*/
|
|
1818
|
+
export type POST_DomainForwardsByZoneName_Response = POST_DomainForwardsByZoneName_Response_409 | POST_DomainForwardsByZoneName_Response_422;
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* 409 response for POST DomainForwardsByZoneName endpoint
|
|
1822
|
+
*
|
|
1823
|
+
* @remarks
|
|
1824
|
+
* This type defines the response structure for the 409 status code
|
|
1825
|
+
* of the POST DomainForwardsByZoneName endpoint.
|
|
1826
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1827
|
+
*
|
|
1828
|
+
|
|
1829
|
+
*
|
|
1830
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1831
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1832
|
+
*
|
|
1833
|
+
* @see {@link POST_DomainForwardsByZoneName_Response} - The main response type definition
|
|
1834
|
+
* @see {@link Problem} - The actual schema type definition
|
|
1835
|
+
*/
|
|
1836
|
+
export type POST_DomainForwardsByZoneName_Response_409 = Problem
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* 422 response for POST DomainForwardsByZoneName endpoint
|
|
1840
|
+
*
|
|
1841
|
+
* @remarks
|
|
1842
|
+
* This type defines the response structure for the 422 status code
|
|
1843
|
+
* of the POST DomainForwardsByZoneName endpoint.
|
|
1844
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1845
|
+
*
|
|
1846
|
+
|
|
1847
|
+
*
|
|
1848
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1849
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1850
|
+
*
|
|
1851
|
+
* @see {@link POST_DomainForwardsByZoneName_Response} - The main response type definition
|
|
1852
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1853
|
+
*/
|
|
1854
|
+
export type POST_DomainForwardsByZoneName_Response_422 = HTTPValidationError
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* Response types for PUT DomainForwardsByZoneName endpoint
|
|
1858
|
+
*
|
|
1859
|
+
* Update Redirects
|
|
1860
|
+
*
|
|
1861
|
+
* @remarks
|
|
1862
|
+
* This type defines all possible response structures for the PUT DomainForwardsByZoneName endpoint.
|
|
1863
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1864
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1865
|
+
*
|
|
1866
|
+
|
|
1867
|
+
*
|
|
1868
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1869
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1870
|
+
*
|
|
1871
|
+
* @see {@link PUT_DomainForwardsByZoneName_Response_409} - 409 response type
|
|
1872
|
+
* @see {@link PUT_DomainForwardsByZoneName_Response_422} - 422 response type
|
|
1873
|
+
*
|
|
1874
|
+
|
|
1875
|
+
*/
|
|
1876
|
+
export type PUT_DomainForwardsByZoneName_Response = PUT_DomainForwardsByZoneName_Response_409 | PUT_DomainForwardsByZoneName_Response_422;
|
|
1877
|
+
|
|
1878
|
+
/**
|
|
1879
|
+
* 409 response for PUT DomainForwardsByZoneName endpoint
|
|
1880
|
+
*
|
|
1881
|
+
* @remarks
|
|
1882
|
+
* This type defines the response structure for the 409 status code
|
|
1883
|
+
* of the PUT DomainForwardsByZoneName endpoint.
|
|
1884
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1885
|
+
*
|
|
1886
|
+
|
|
1887
|
+
*
|
|
1888
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1889
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1890
|
+
*
|
|
1891
|
+
* @see {@link PUT_DomainForwardsByZoneName_Response} - The main response type definition
|
|
1892
|
+
* @see {@link Problem} - The actual schema type definition
|
|
1893
|
+
*/
|
|
1894
|
+
export type PUT_DomainForwardsByZoneName_Response_409 = Problem
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* 422 response for PUT DomainForwardsByZoneName endpoint
|
|
1898
|
+
*
|
|
1899
|
+
* @remarks
|
|
1900
|
+
* This type defines the response structure for the 422 status code
|
|
1901
|
+
* of the PUT DomainForwardsByZoneName endpoint.
|
|
1902
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1903
|
+
*
|
|
1904
|
+
|
|
1905
|
+
*
|
|
1906
|
+
* @path /v1/domain-forwards/{zone_name}
|
|
1907
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1908
|
+
*
|
|
1909
|
+
* @see {@link PUT_DomainForwardsByZoneName_Response} - The main response type definition
|
|
1910
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1911
|
+
*/
|
|
1912
|
+
export type PUT_DomainForwardsByZoneName_Response_422 = HTTPValidationError
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* Response types for PATCH DomainForwardsByZoneNameDisable endpoint
|
|
1916
|
+
*
|
|
1917
|
+
* Disable Domain Forward
|
|
1918
|
+
*
|
|
1919
|
+
* @remarks
|
|
1920
|
+
* This type defines all possible response structures for the PATCH DomainForwardsByZoneNameDisable endpoint.
|
|
1921
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1922
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1923
|
+
*
|
|
1924
|
+
|
|
1925
|
+
*
|
|
1926
|
+
* @path /v1/domain-forwards/{zone_name}/disable
|
|
1927
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1928
|
+
*
|
|
1929
|
+
* @see {@link PATCH_DomainForwardsByZoneNameDisable_Response_422} - 422 response type
|
|
1930
|
+
*
|
|
1931
|
+
|
|
1932
|
+
*/
|
|
1933
|
+
export type PATCH_DomainForwardsByZoneNameDisable_Response = PATCH_DomainForwardsByZoneNameDisable_Response_422;
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* 422 response for PATCH DomainForwardsByZoneNameDisable endpoint
|
|
1937
|
+
*
|
|
1938
|
+
* @remarks
|
|
1939
|
+
* This type defines the response structure for the 422 status code
|
|
1940
|
+
* of the PATCH DomainForwardsByZoneNameDisable endpoint.
|
|
1941
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1942
|
+
*
|
|
1943
|
+
|
|
1944
|
+
*
|
|
1945
|
+
* @path /v1/domain-forwards/{zone_name}/disable
|
|
1946
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1947
|
+
*
|
|
1948
|
+
* @see {@link PATCH_DomainForwardsByZoneNameDisable_Response} - The main response type definition
|
|
1949
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1950
|
+
*/
|
|
1951
|
+
export type PATCH_DomainForwardsByZoneNameDisable_Response_422 = HTTPValidationError
|
|
1952
|
+
|
|
1953
|
+
/**
|
|
1954
|
+
* Response types for PATCH DomainForwardsByZoneNameEnable endpoint
|
|
1955
|
+
*
|
|
1956
|
+
* Enable Domain Forward
|
|
1957
|
+
*
|
|
1958
|
+
* @remarks
|
|
1959
|
+
* This type defines all possible response structures for the PATCH DomainForwardsByZoneNameEnable endpoint.
|
|
1960
|
+
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
1961
|
+
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
1962
|
+
*
|
|
1963
|
+
|
|
1964
|
+
*
|
|
1965
|
+
* @path /v1/domain-forwards/{zone_name}/enable
|
|
1966
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1967
|
+
*
|
|
1968
|
+
* @see {@link PATCH_DomainForwardsByZoneNameEnable_Response_422} - 422 response type
|
|
1969
|
+
*
|
|
1970
|
+
|
|
1971
|
+
*/
|
|
1972
|
+
export type PATCH_DomainForwardsByZoneNameEnable_Response = PATCH_DomainForwardsByZoneNameEnable_Response_422;
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* 422 response for PATCH DomainForwardsByZoneNameEnable endpoint
|
|
1976
|
+
*
|
|
1977
|
+
* @remarks
|
|
1978
|
+
* This type defines the response structure for the 422 status code
|
|
1979
|
+
* of the PATCH DomainForwardsByZoneNameEnable endpoint.
|
|
1980
|
+
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
1981
|
+
*
|
|
1982
|
+
|
|
1983
|
+
*
|
|
1984
|
+
* @path /v1/domain-forwards/{zone_name}/enable
|
|
1985
|
+
* @param zone_name (path) - DNS zone name (trailing dot optional)
|
|
1986
|
+
*
|
|
1987
|
+
* @see {@link PATCH_DomainForwardsByZoneNameEnable_Response} - The main response type definition
|
|
1988
|
+
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
1989
|
+
*/
|
|
1990
|
+
export type PATCH_DomainForwardsByZoneNameEnable_Response_422 = HTTPValidationError
|
|
1991
|
+
|
|
1664
1992
|
/**
|
|
1665
1993
|
* Response types for GET DomainSearchSuggest endpoint
|
|
1666
1994
|
*
|
|
@@ -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, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, Organization, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
24
|
+
import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, Organization, Redirect, Period, Permission, PremiumAffectsType, RedirectPatchOp, RedirectUpdate, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* DomainDnssecDataResponse
|
|
@@ -625,6 +625,20 @@ export type EventResponseArray = EventResponse[];
|
|
|
625
625
|
* @see {@link Organization} - The individual Organization type definition
|
|
626
626
|
*/
|
|
627
627
|
export type OrganizationArray = Organization[];
|
|
628
|
+
/**
|
|
629
|
+
* Redirect
|
|
630
|
+
*
|
|
631
|
+
* @remarks
|
|
632
|
+
* Array type for Redirect objects. Used when the API returns a collection of Redirect instances.
|
|
633
|
+
*
|
|
634
|
+
* @example
|
|
635
|
+
* ```typescript
|
|
636
|
+
* const items: RedirectArray = await api.getRedirects();
|
|
637
|
+
* ```
|
|
638
|
+
*
|
|
639
|
+
* @see {@link Redirect} - The individual Redirect type definition
|
|
640
|
+
*/
|
|
641
|
+
export type RedirectArray = Redirect[];
|
|
628
642
|
/**
|
|
629
643
|
* Period
|
|
630
644
|
*
|
|
@@ -667,6 +681,34 @@ export type PermissionArray = Permission[];
|
|
|
667
681
|
* @see {@link PremiumAffectsType} - The individual PremiumAffectsType type definition
|
|
668
682
|
*/
|
|
669
683
|
export type PremiumAffectsTypeArray = PremiumAffectsType[];
|
|
684
|
+
/**
|
|
685
|
+
* RedirectPatchOp
|
|
686
|
+
*
|
|
687
|
+
* @remarks
|
|
688
|
+
* Array type for RedirectPatchOp objects. Used when the API returns a collection of RedirectPatchOp instances.
|
|
689
|
+
*
|
|
690
|
+
* @example
|
|
691
|
+
* ```typescript
|
|
692
|
+
* const items: RedirectPatchOpArray = await api.getRedirectPatchOps();
|
|
693
|
+
* ```
|
|
694
|
+
*
|
|
695
|
+
* @see {@link RedirectPatchOp} - The individual RedirectPatchOp type definition
|
|
696
|
+
*/
|
|
697
|
+
export type RedirectPatchOpArray = RedirectPatchOp[];
|
|
698
|
+
/**
|
|
699
|
+
* RedirectUpdate
|
|
700
|
+
*
|
|
701
|
+
* @remarks
|
|
702
|
+
* Array type for RedirectUpdate objects. Used when the API returns a collection of RedirectUpdate instances.
|
|
703
|
+
*
|
|
704
|
+
* @example
|
|
705
|
+
* ```typescript
|
|
706
|
+
* const items: RedirectUpdateArray = await api.getRedirectUpdates();
|
|
707
|
+
* ```
|
|
708
|
+
*
|
|
709
|
+
* @see {@link RedirectUpdate} - The individual RedirectUpdate type definition
|
|
710
|
+
*/
|
|
711
|
+
export type RedirectUpdateArray = RedirectUpdate[];
|
|
670
712
|
/**
|
|
671
713
|
* Relation
|
|
672
714
|
*
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -2015,6 +2015,22 @@ export type Pagination_Event = components['schemas']['Pagination_EventResponse_'
|
|
|
2015
2015
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2016
2016
|
*/
|
|
2017
2017
|
export type Pagination_Organization = components['schemas']['Pagination_Organization_'];
|
|
2018
|
+
/**
|
|
2019
|
+
* Pagination[Redirect]
|
|
2020
|
+
*
|
|
2021
|
+
* @remarks
|
|
2022
|
+
* Type alias for the `Pagination_Redirect_` OpenAPI schema.
|
|
2023
|
+
* This type represents pagination[redirect] data structures used in API requests and responses.
|
|
2024
|
+
*
|
|
2025
|
+
* @example
|
|
2026
|
+
* ```typescript
|
|
2027
|
+
* const response = await api.getPagination_Redirect();
|
|
2028
|
+
* const item: Pagination_Redirect = response.results;
|
|
2029
|
+
* ```
|
|
2030
|
+
*
|
|
2031
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2032
|
+
*/
|
|
2033
|
+
export type Pagination_Redirect = components['schemas']['Pagination_Redirect_'];
|
|
2018
2034
|
/**
|
|
2019
2035
|
* Pagination[User]
|
|
2020
2036
|
*
|
|
@@ -2303,6 +2319,102 @@ export type PublicAuthRequestForm = components['schemas']['PublicAuthRequestForm
|
|
|
2303
2319
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2304
2320
|
*/
|
|
2305
2321
|
export type RdapBase = components['schemas']['RdapBase'];
|
|
2322
|
+
/**
|
|
2323
|
+
* Redirect
|
|
2324
|
+
*
|
|
2325
|
+
* @remarks
|
|
2326
|
+
* Type alias for the `Redirect` OpenAPI schema.
|
|
2327
|
+
* This type represents redirect data structures used in API requests and responses.
|
|
2328
|
+
*
|
|
2329
|
+
* @example
|
|
2330
|
+
* ```typescript
|
|
2331
|
+
* const response = await api.getRedirect();
|
|
2332
|
+
* const item: Redirect = response.results;
|
|
2333
|
+
* ```
|
|
2334
|
+
*
|
|
2335
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2336
|
+
*/
|
|
2337
|
+
export type Redirect = components['schemas']['Redirect'];
|
|
2338
|
+
/**
|
|
2339
|
+
* RedirectPatchOp
|
|
2340
|
+
*
|
|
2341
|
+
* @remarks
|
|
2342
|
+
* Type alias for the `RedirectPatchOp` OpenAPI schema.
|
|
2343
|
+
* This type represents redirectpatchop data structures used in API requests and responses.
|
|
2344
|
+
*
|
|
2345
|
+
* @example
|
|
2346
|
+
* ```typescript
|
|
2347
|
+
* const response = await api.getRedirectPatchOp();
|
|
2348
|
+
* const item: RedirectPatchOp = response.results;
|
|
2349
|
+
* ```
|
|
2350
|
+
*
|
|
2351
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2352
|
+
*/
|
|
2353
|
+
export type RedirectPatchOp = components['schemas']['RedirectPatchOp'];
|
|
2354
|
+
/**
|
|
2355
|
+
* RedirectPatchOps
|
|
2356
|
+
*
|
|
2357
|
+
* @remarks
|
|
2358
|
+
* Type alias for the `RedirectPatchOps` OpenAPI schema.
|
|
2359
|
+
* This type represents redirectpatchops data structures used in API requests and responses.
|
|
2360
|
+
*
|
|
2361
|
+
* @example
|
|
2362
|
+
* ```typescript
|
|
2363
|
+
* const response = await api.getRedirectPatchOps();
|
|
2364
|
+
* const item: RedirectPatchOps = response.results;
|
|
2365
|
+
* ```
|
|
2366
|
+
*
|
|
2367
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2368
|
+
*/
|
|
2369
|
+
export type RedirectPatchOps = components['schemas']['RedirectPatchOps'];
|
|
2370
|
+
/**
|
|
2371
|
+
* RedirectRemove
|
|
2372
|
+
*
|
|
2373
|
+
* @remarks
|
|
2374
|
+
* Type alias for the `RedirectRemove` OpenAPI schema.
|
|
2375
|
+
* This type represents redirectremove data structures used in API requests and responses.
|
|
2376
|
+
*
|
|
2377
|
+
* @example
|
|
2378
|
+
* ```typescript
|
|
2379
|
+
* const response = await api.getRedirectRemove();
|
|
2380
|
+
* const item: RedirectRemove = response.results;
|
|
2381
|
+
* ```
|
|
2382
|
+
*
|
|
2383
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2384
|
+
*/
|
|
2385
|
+
export type RedirectRemove = components['schemas']['RedirectRemove'];
|
|
2386
|
+
/**
|
|
2387
|
+
* RedirectSet
|
|
2388
|
+
*
|
|
2389
|
+
* @remarks
|
|
2390
|
+
* Type alias for the `RedirectSet` OpenAPI schema.
|
|
2391
|
+
* This type represents redirectset data structures used in API requests and responses.
|
|
2392
|
+
*
|
|
2393
|
+
* @example
|
|
2394
|
+
* ```typescript
|
|
2395
|
+
* const response = await api.getRedirectSet();
|
|
2396
|
+
* const item: RedirectSet = response.results;
|
|
2397
|
+
* ```
|
|
2398
|
+
*
|
|
2399
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2400
|
+
*/
|
|
2401
|
+
export type RedirectSet = components['schemas']['RedirectSet'];
|
|
2402
|
+
/**
|
|
2403
|
+
* RedirectUpdate
|
|
2404
|
+
*
|
|
2405
|
+
* @remarks
|
|
2406
|
+
* Type alias for the `RedirectUpdate` OpenAPI schema.
|
|
2407
|
+
* This type represents redirectupdate data structures used in API requests and responses.
|
|
2408
|
+
*
|
|
2409
|
+
* @example
|
|
2410
|
+
* ```typescript
|
|
2411
|
+
* const response = await api.getRedirectUpdate();
|
|
2412
|
+
* const item: RedirectUpdate = response.results;
|
|
2413
|
+
* ```
|
|
2414
|
+
*
|
|
2415
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
2416
|
+
*/
|
|
2417
|
+
export type RedirectUpdate = components['schemas']['RedirectUpdate'];
|
|
2306
2418
|
/**
|
|
2307
2419
|
* RegistrantChangeType
|
|
2308
2420
|
*
|