@opusdns/api 0.81.0 → 0.83.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 +319 -1
- package/src/helpers/responses.d.ts +1062 -47
- package/src/helpers/schemas-arrays.d.ts +43 -1
- package/src/helpers/schemas.d.ts +112 -0
- package/src/openapi.yaml +917 -77
- package/src/schema.d.ts +1135 -127
|
@@ -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
|
*
|