@opusdns/api 0.87.0 → 0.89.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 +240 -1
- package/src/helpers/keys.ts +2508 -2474
- package/src/helpers/requests.d.ts +161 -158
- package/src/helpers/responses.d.ts +157 -100
- package/src/helpers/schemas-arrays.d.ts +25 -39
- package/src/helpers/schemas.d.ts +146 -98
- package/src/openapi.yaml +331 -239
- package/src/schema.d.ts +250 -181
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -1018,6 +1018,38 @@ export type DomainDnssecDataCreate = components['schemas']['DomainDnssecDataCrea
|
|
|
1018
1018
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1019
1019
|
*/
|
|
1020
1020
|
export type DomainDnssecData = components['schemas']['DomainDnssecDataResponse'];
|
|
1021
|
+
/**
|
|
1022
|
+
* DomainForward
|
|
1023
|
+
*
|
|
1024
|
+
* @remarks
|
|
1025
|
+
* Type alias for the `DomainForward` OpenAPI schema.
|
|
1026
|
+
* This type represents domainforward data structures used in API requests and responses.
|
|
1027
|
+
*
|
|
1028
|
+
* @example
|
|
1029
|
+
* ```typescript
|
|
1030
|
+
* const response = await api.getDomainForward();
|
|
1031
|
+
* const item: DomainForward = response.results;
|
|
1032
|
+
* ```
|
|
1033
|
+
*
|
|
1034
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1035
|
+
*/
|
|
1036
|
+
export type DomainForward = components['schemas']['DomainForward'];
|
|
1037
|
+
/**
|
|
1038
|
+
* DomainForwardRequest
|
|
1039
|
+
*
|
|
1040
|
+
* @remarks
|
|
1041
|
+
* Type alias for the `DomainForwardRequest` OpenAPI schema.
|
|
1042
|
+
* This type represents domainforwardrequest data structures used in API requests and responses.
|
|
1043
|
+
*
|
|
1044
|
+
* @example
|
|
1045
|
+
* ```typescript
|
|
1046
|
+
* const response = await api.getDomainForwardRequest();
|
|
1047
|
+
* const item: DomainForwardRequest = response.results;
|
|
1048
|
+
* ```
|
|
1049
|
+
*
|
|
1050
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1051
|
+
*/
|
|
1052
|
+
export type DomainForwardRequest = components['schemas']['DomainForwardRequest'];
|
|
1021
1053
|
/**
|
|
1022
1054
|
* DomainLifecycleBase
|
|
1023
1055
|
*
|
|
@@ -1562,6 +1594,38 @@ export type GrantType = components['schemas']['GrantType'];
|
|
|
1562
1594
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1563
1595
|
*/
|
|
1564
1596
|
export type HTTPValidationError = components['schemas']['HTTPValidationError'];
|
|
1597
|
+
/**
|
|
1598
|
+
* HttpProtocol
|
|
1599
|
+
*
|
|
1600
|
+
* @remarks
|
|
1601
|
+
* Type alias for the `HttpProtocol` OpenAPI schema.
|
|
1602
|
+
* This type represents httpprotocol data structures used in API requests and responses.
|
|
1603
|
+
*
|
|
1604
|
+
* @example
|
|
1605
|
+
* ```typescript
|
|
1606
|
+
* const response = await api.getHttpProtocol();
|
|
1607
|
+
* const item: HttpProtocol = response.results;
|
|
1608
|
+
* ```
|
|
1609
|
+
*
|
|
1610
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1611
|
+
*/
|
|
1612
|
+
export type HttpProtocol = components['schemas']['HttpProtocol'];
|
|
1613
|
+
/**
|
|
1614
|
+
* HttpRedirect
|
|
1615
|
+
*
|
|
1616
|
+
* @remarks
|
|
1617
|
+
* Type alias for the `HttpRedirect` OpenAPI schema.
|
|
1618
|
+
* This type represents httpredirect data structures used in API requests and responses.
|
|
1619
|
+
*
|
|
1620
|
+
* @example
|
|
1621
|
+
* ```typescript
|
|
1622
|
+
* const response = await api.getHttpRedirect();
|
|
1623
|
+
* const item: HttpRedirect = response.results;
|
|
1624
|
+
* ```
|
|
1625
|
+
*
|
|
1626
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1627
|
+
*/
|
|
1628
|
+
export type HttpRedirect = components['schemas']['HttpRedirect'];
|
|
1565
1629
|
/**
|
|
1566
1630
|
* IdnBase
|
|
1567
1631
|
*
|
|
@@ -1578,6 +1642,70 @@ export type HTTPValidationError = components['schemas']['HTTPValidationError'];
|
|
|
1578
1642
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1579
1643
|
*/
|
|
1580
1644
|
export type IdnBase = components['schemas']['IdnBase'];
|
|
1645
|
+
/**
|
|
1646
|
+
* InvoiceResponse
|
|
1647
|
+
*
|
|
1648
|
+
* @remarks
|
|
1649
|
+
* Type alias for the `InvoiceResponse` OpenAPI schema.
|
|
1650
|
+
* This type represents invoiceresponse data structures used in API requests and responses.
|
|
1651
|
+
*
|
|
1652
|
+
* @example
|
|
1653
|
+
* ```typescript
|
|
1654
|
+
* const response = await api.getInvoice();
|
|
1655
|
+
* const item: Invoice = response.results;
|
|
1656
|
+
* ```
|
|
1657
|
+
*
|
|
1658
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1659
|
+
*/
|
|
1660
|
+
export type Invoice = components['schemas']['InvoiceResponse'];
|
|
1661
|
+
/**
|
|
1662
|
+
* InvoiceResponsePaymentStatus
|
|
1663
|
+
*
|
|
1664
|
+
* @remarks
|
|
1665
|
+
* Type alias for the `InvoiceResponsePaymentStatus` OpenAPI schema.
|
|
1666
|
+
* This type represents invoiceresponsepaymentstatus data structures used in API requests and responses.
|
|
1667
|
+
*
|
|
1668
|
+
* @example
|
|
1669
|
+
* ```typescript
|
|
1670
|
+
* const response = await api.getInvoiceResponsePaymentStatus();
|
|
1671
|
+
* const item: InvoiceResponsePaymentStatus = response.results;
|
|
1672
|
+
* ```
|
|
1673
|
+
*
|
|
1674
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1675
|
+
*/
|
|
1676
|
+
export type InvoiceResponsePaymentStatus = components['schemas']['InvoiceResponsePaymentStatus'];
|
|
1677
|
+
/**
|
|
1678
|
+
* InvoiceResponseStatus
|
|
1679
|
+
*
|
|
1680
|
+
* @remarks
|
|
1681
|
+
* Type alias for the `InvoiceResponseStatus` OpenAPI schema.
|
|
1682
|
+
* This type represents invoiceresponsestatus data structures used in API requests and responses.
|
|
1683
|
+
*
|
|
1684
|
+
* @example
|
|
1685
|
+
* ```typescript
|
|
1686
|
+
* const response = await api.getInvoiceResponseStatus();
|
|
1687
|
+
* const item: InvoiceResponseStatus = response.results;
|
|
1688
|
+
* ```
|
|
1689
|
+
*
|
|
1690
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1691
|
+
*/
|
|
1692
|
+
export type InvoiceResponseStatus = components['schemas']['InvoiceResponseStatus'];
|
|
1693
|
+
/**
|
|
1694
|
+
* InvoiceResponseType
|
|
1695
|
+
*
|
|
1696
|
+
* @remarks
|
|
1697
|
+
* Type alias for the `InvoiceResponseType` OpenAPI schema.
|
|
1698
|
+
* This type represents invoiceresponsetype data structures used in API requests and responses.
|
|
1699
|
+
*
|
|
1700
|
+
* @example
|
|
1701
|
+
* ```typescript
|
|
1702
|
+
* const response = await api.getInvoiceResponseType();
|
|
1703
|
+
* const item: InvoiceResponseType = response.results;
|
|
1704
|
+
* ```
|
|
1705
|
+
*
|
|
1706
|
+
* @see {@link components} - The OpenAPI components schema definition
|
|
1707
|
+
*/
|
|
1708
|
+
export type InvoiceResponseType = components['schemas']['InvoiceResponseType'];
|
|
1581
1709
|
/**
|
|
1582
1710
|
* IpRestrictionCreate. Create an IP restriction for an organization.
|
|
1583
1711
|
|
|
@@ -2016,37 +2144,37 @@ export type Pagination_EmailForwardAlias = components['schemas']['Pagination_Ema
|
|
|
2016
2144
|
*/
|
|
2017
2145
|
export type Pagination_Event = components['schemas']['Pagination_EventResponse_'];
|
|
2018
2146
|
/**
|
|
2019
|
-
* Pagination[
|
|
2147
|
+
* Pagination[InvoiceResponse]
|
|
2020
2148
|
*
|
|
2021
2149
|
* @remarks
|
|
2022
|
-
* Type alias for the `
|
|
2023
|
-
* This type represents pagination[
|
|
2150
|
+
* Type alias for the `Pagination_InvoiceResponse_` OpenAPI schema.
|
|
2151
|
+
* This type represents pagination[invoiceresponse] data structures used in API requests and responses.
|
|
2024
2152
|
*
|
|
2025
2153
|
* @example
|
|
2026
2154
|
* ```typescript
|
|
2027
|
-
* const response = await api.
|
|
2028
|
-
* const item:
|
|
2155
|
+
* const response = await api.getPagination_Invoice();
|
|
2156
|
+
* const item: Pagination_Invoice = response.results;
|
|
2029
2157
|
* ```
|
|
2030
2158
|
*
|
|
2031
2159
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2032
2160
|
*/
|
|
2033
|
-
export type
|
|
2161
|
+
export type Pagination_Invoice = components['schemas']['Pagination_InvoiceResponse_'];
|
|
2034
2162
|
/**
|
|
2035
|
-
* Pagination[
|
|
2163
|
+
* Pagination[Organization]
|
|
2036
2164
|
*
|
|
2037
2165
|
* @remarks
|
|
2038
|
-
* Type alias for the `
|
|
2039
|
-
* This type represents pagination[
|
|
2166
|
+
* Type alias for the `Pagination_Organization_` OpenAPI schema.
|
|
2167
|
+
* This type represents pagination[organization] data structures used in API requests and responses.
|
|
2040
2168
|
*
|
|
2041
2169
|
* @example
|
|
2042
2170
|
* ```typescript
|
|
2043
|
-
* const response = await api.
|
|
2044
|
-
* const item:
|
|
2171
|
+
* const response = await api.getPagination_Organization();
|
|
2172
|
+
* const item: Pagination_Organization = response.results;
|
|
2045
2173
|
* ```
|
|
2046
2174
|
*
|
|
2047
2175
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2048
2176
|
*/
|
|
2049
|
-
export type
|
|
2177
|
+
export type Pagination_Organization = components['schemas']['Pagination_Organization_'];
|
|
2050
2178
|
/**
|
|
2051
2179
|
* Pagination[User]
|
|
2052
2180
|
*
|
|
@@ -2336,101 +2464,21 @@ export type PublicAuthRequestForm = components['schemas']['PublicAuthRequestForm
|
|
|
2336
2464
|
*/
|
|
2337
2465
|
export type RdapBase = components['schemas']['RdapBase'];
|
|
2338
2466
|
/**
|
|
2339
|
-
*
|
|
2340
|
-
*
|
|
2341
|
-
* @remarks
|
|
2342
|
-
* Type alias for the `Redirect` OpenAPI schema.
|
|
2343
|
-
* This type represents redirect data structures used in API requests and responses.
|
|
2344
|
-
*
|
|
2345
|
-
* @example
|
|
2346
|
-
* ```typescript
|
|
2347
|
-
* const response = await api.getRedirect();
|
|
2348
|
-
* const item: Redirect = response.results;
|
|
2349
|
-
* ```
|
|
2350
|
-
*
|
|
2351
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2352
|
-
*/
|
|
2353
|
-
export type Redirect = components['schemas']['Redirect'];
|
|
2354
|
-
/**
|
|
2355
|
-
* RedirectPatchOp
|
|
2356
|
-
*
|
|
2357
|
-
* @remarks
|
|
2358
|
-
* Type alias for the `RedirectPatchOp` OpenAPI schema.
|
|
2359
|
-
* This type represents redirectpatchop data structures used in API requests and responses.
|
|
2360
|
-
*
|
|
2361
|
-
* @example
|
|
2362
|
-
* ```typescript
|
|
2363
|
-
* const response = await api.getRedirectPatchOp();
|
|
2364
|
-
* const item: RedirectPatchOp = response.results;
|
|
2365
|
-
* ```
|
|
2366
|
-
*
|
|
2367
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2368
|
-
*/
|
|
2369
|
-
export type RedirectPatchOp = components['schemas']['RedirectPatchOp'];
|
|
2370
|
-
/**
|
|
2371
|
-
* RedirectPatchOps
|
|
2372
|
-
*
|
|
2373
|
-
* @remarks
|
|
2374
|
-
* Type alias for the `RedirectPatchOps` OpenAPI schema.
|
|
2375
|
-
* This type represents redirectpatchops data structures used in API requests and responses.
|
|
2376
|
-
*
|
|
2377
|
-
* @example
|
|
2378
|
-
* ```typescript
|
|
2379
|
-
* const response = await api.getRedirectPatchOps();
|
|
2380
|
-
* const item: RedirectPatchOps = response.results;
|
|
2381
|
-
* ```
|
|
2382
|
-
*
|
|
2383
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2384
|
-
*/
|
|
2385
|
-
export type RedirectPatchOps = components['schemas']['RedirectPatchOps'];
|
|
2386
|
-
/**
|
|
2387
|
-
* RedirectRemove
|
|
2388
|
-
*
|
|
2389
|
-
* @remarks
|
|
2390
|
-
* Type alias for the `RedirectRemove` OpenAPI schema.
|
|
2391
|
-
* This type represents redirectremove data structures used in API requests and responses.
|
|
2392
|
-
*
|
|
2393
|
-
* @example
|
|
2394
|
-
* ```typescript
|
|
2395
|
-
* const response = await api.getRedirectRemove();
|
|
2396
|
-
* const item: RedirectRemove = response.results;
|
|
2397
|
-
* ```
|
|
2398
|
-
*
|
|
2399
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2400
|
-
*/
|
|
2401
|
-
export type RedirectRemove = components['schemas']['RedirectRemove'];
|
|
2402
|
-
/**
|
|
2403
|
-
* RedirectSet
|
|
2404
|
-
*
|
|
2405
|
-
* @remarks
|
|
2406
|
-
* Type alias for the `RedirectSet` OpenAPI schema.
|
|
2407
|
-
* This type represents redirectset data structures used in API requests and responses.
|
|
2408
|
-
*
|
|
2409
|
-
* @example
|
|
2410
|
-
* ```typescript
|
|
2411
|
-
* const response = await api.getRedirectSet();
|
|
2412
|
-
* const item: RedirectSet = response.results;
|
|
2413
|
-
* ```
|
|
2414
|
-
*
|
|
2415
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2416
|
-
*/
|
|
2417
|
-
export type RedirectSet = components['schemas']['RedirectSet'];
|
|
2418
|
-
/**
|
|
2419
|
-
* RedirectUpdate
|
|
2467
|
+
* RedirectCode
|
|
2420
2468
|
*
|
|
2421
2469
|
* @remarks
|
|
2422
|
-
* Type alias for the `
|
|
2423
|
-
* This type represents
|
|
2470
|
+
* Type alias for the `RedirectCode` OpenAPI schema.
|
|
2471
|
+
* This type represents redirectcode data structures used in API requests and responses.
|
|
2424
2472
|
*
|
|
2425
2473
|
* @example
|
|
2426
2474
|
* ```typescript
|
|
2427
|
-
* const response = await api.
|
|
2428
|
-
* const item:
|
|
2475
|
+
* const response = await api.getRedirectCode();
|
|
2476
|
+
* const item: RedirectCode = response.results;
|
|
2429
2477
|
* ```
|
|
2430
2478
|
*
|
|
2431
2479
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2432
2480
|
*/
|
|
2433
|
-
export type
|
|
2481
|
+
export type RedirectCode = components['schemas']['RedirectCode'];
|
|
2434
2482
|
/**
|
|
2435
2483
|
* RegistrantChangeType
|
|
2436
2484
|
*
|