@opusdns/api 0.80.0 → 0.82.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 +1 -53
- package/src/helpers/keys.ts +29 -870
- package/src/helpers/requests.d.ts +2 -317
- package/src/helpers/responses.d.ts +668 -355
- package/src/helpers/schemas-arrays.d.ts +1 -29
- package/src/helpers/schemas.d.ts +0 -144
- package/src/openapi.yaml +474 -465
- package/src/schema.d.ts +566 -474
|
@@ -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,
|
|
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';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* DomainDnssecDataResponse
|
|
@@ -93,20 +93,6 @@ export type OrganizationAttributeUpdateArray = OrganizationAttributeUpdate[];
|
|
|
93
93
|
* @see {@link IpRestriction} - The individual IpRestrictionResponse type definition
|
|
94
94
|
*/
|
|
95
95
|
export type IpRestrictionArray = IpRestriction[];
|
|
96
|
-
/**
|
|
97
|
-
* CustomerCreditCardPaymentMethod
|
|
98
|
-
*
|
|
99
|
-
* @remarks
|
|
100
|
-
* Array type for CustomerCreditCardPaymentMethod objects. Used when the API returns a collection of CustomerCreditCardPaymentMethod instances.
|
|
101
|
-
*
|
|
102
|
-
* @example
|
|
103
|
-
* ```typescript
|
|
104
|
-
* const items: CustomerCreditCardPaymentMethodArray = await api.getCustomerCreditCardPaymentMethods();
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
|
-
* @see {@link CustomerCreditCardPaymentMethod} - The individual CustomerCreditCardPaymentMethod type definition
|
|
108
|
-
*/
|
|
109
|
-
export type CustomerCreditCardPaymentMethodArray = CustomerCreditCardPaymentMethod[];
|
|
110
96
|
/**
|
|
111
97
|
* TldResponseShort
|
|
112
98
|
*
|
|
@@ -415,20 +401,6 @@ export type DomainStatusArray = DomainStatus[];
|
|
|
415
401
|
* @see {@link DomainClientStatus} - The individual DomainClientStatus type definition
|
|
416
402
|
*/
|
|
417
403
|
export type DomainClientStatusArray = DomainClientStatus[];
|
|
418
|
-
/**
|
|
419
|
-
* PlanInfo
|
|
420
|
-
*
|
|
421
|
-
* @remarks
|
|
422
|
-
* Array type for PlanInfo objects. Used when the API returns a collection of PlanInfo instances.
|
|
423
|
-
*
|
|
424
|
-
* @example
|
|
425
|
-
* ```typescript
|
|
426
|
-
* const items: PlanInfoArray = await api.getPlanInfos();
|
|
427
|
-
* ```
|
|
428
|
-
*
|
|
429
|
-
* @see {@link PlanInfo} - The individual PlanInfo type definition
|
|
430
|
-
*/
|
|
431
|
-
export type PlanInfoArray = PlanInfo[];
|
|
432
404
|
/**
|
|
433
405
|
* PriceInfo
|
|
434
406
|
*
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -186,38 +186,6 @@ export type BillingTransactionSortField = components['schemas']['BillingTransact
|
|
|
186
186
|
* @see {@link components} - The OpenAPI components schema definition
|
|
187
187
|
*/
|
|
188
188
|
export type BillingTransactionStatus = components['schemas']['BillingTransactionStatus'];
|
|
189
|
-
/**
|
|
190
|
-
* CheckoutSessionRequest
|
|
191
|
-
*
|
|
192
|
-
* @remarks
|
|
193
|
-
* Type alias for the `CheckoutSessionRequest` OpenAPI schema.
|
|
194
|
-
* This type represents checkoutsessionrequest data structures used in API requests and responses.
|
|
195
|
-
*
|
|
196
|
-
* @example
|
|
197
|
-
* ```typescript
|
|
198
|
-
* const response = await api.getCheckoutSessionRequest();
|
|
199
|
-
* const item: CheckoutSessionRequest = response.results;
|
|
200
|
-
* ```
|
|
201
|
-
*
|
|
202
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
203
|
-
*/
|
|
204
|
-
export type CheckoutSessionRequest = components['schemas']['CheckoutSessionRequest'];
|
|
205
|
-
/**
|
|
206
|
-
* CheckoutSessionResponse
|
|
207
|
-
*
|
|
208
|
-
* @remarks
|
|
209
|
-
* Type alias for the `CheckoutSessionResponse` OpenAPI schema.
|
|
210
|
-
* This type represents checkoutsessionresponse data structures used in API requests and responses.
|
|
211
|
-
*
|
|
212
|
-
* @example
|
|
213
|
-
* ```typescript
|
|
214
|
-
* const response = await api.getCheckoutSession();
|
|
215
|
-
* const item: CheckoutSession = response.results;
|
|
216
|
-
* ```
|
|
217
|
-
*
|
|
218
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
219
|
-
*/
|
|
220
|
-
export type CheckoutSession = components['schemas']['CheckoutSessionResponse'];
|
|
221
189
|
/**
|
|
222
190
|
* ContactAttributeDefinition. Definition of a possible attribute for a TLD.
|
|
223
191
|
*
|
|
@@ -458,22 +426,6 @@ export type ContactsBase = components['schemas']['ContactsBase'];
|
|
|
458
426
|
* @see {@link components} - The OpenAPI components schema definition
|
|
459
427
|
*/
|
|
460
428
|
export type Currency = components['schemas']['Currency'];
|
|
461
|
-
/**
|
|
462
|
-
* CustomerCreditCardPaymentMethod
|
|
463
|
-
*
|
|
464
|
-
* @remarks
|
|
465
|
-
* Type alias for the `CustomerCreditCardPaymentMethod` OpenAPI schema.
|
|
466
|
-
* This type represents customercreditcardpaymentmethod data structures used in API requests and responses.
|
|
467
|
-
*
|
|
468
|
-
* @example
|
|
469
|
-
* ```typescript
|
|
470
|
-
* const response = await api.getCustomerCreditCardPaymentMethod();
|
|
471
|
-
* const item: CustomerCreditCardPaymentMethod = response.results;
|
|
472
|
-
* ```
|
|
473
|
-
*
|
|
474
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
475
|
-
*/
|
|
476
|
-
export type CustomerCreditCardPaymentMethod = components['schemas']['CustomerCreditCardPaymentMethod'];
|
|
477
429
|
/**
|
|
478
430
|
* DeletePolicyType
|
|
479
431
|
*
|
|
@@ -1546,22 +1498,6 @@ export type EventType = components['schemas']['EventType'];
|
|
|
1546
1498
|
* @see {@link components} - The OpenAPI components schema definition
|
|
1547
1499
|
*/
|
|
1548
1500
|
export type GeneralAvailabilityBase = components['schemas']['GeneralAvailabilityBase'];
|
|
1549
|
-
/**
|
|
1550
|
-
* GetCurrentAvailablePlansResponse
|
|
1551
|
-
*
|
|
1552
|
-
* @remarks
|
|
1553
|
-
* Type alias for the `GetCurrentAvailablePlansResponse` OpenAPI schema.
|
|
1554
|
-
* This type represents getcurrentavailableplansresponse data structures used in API requests and responses.
|
|
1555
|
-
*
|
|
1556
|
-
* @example
|
|
1557
|
-
* ```typescript
|
|
1558
|
-
* const response = await api.getGetCurrentAvailablePlans();
|
|
1559
|
-
* const item: GetCurrentAvailablePlans = response.results;
|
|
1560
|
-
* ```
|
|
1561
|
-
*
|
|
1562
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
1563
|
-
*/
|
|
1564
|
-
export type GetCurrentAvailablePlans = components['schemas']['GetCurrentAvailablePlansResponse'];
|
|
1565
1501
|
/**
|
|
1566
1502
|
* GetPricesResponse
|
|
1567
1503
|
*
|
|
@@ -2207,38 +2143,6 @@ export type Permission = components['schemas']['Permission'];
|
|
|
2207
2143
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2208
2144
|
*/
|
|
2209
2145
|
export type PermissionSet = components['schemas']['PermissionSet'];
|
|
2210
|
-
/**
|
|
2211
|
-
* PlanIdRequest
|
|
2212
|
-
*
|
|
2213
|
-
* @remarks
|
|
2214
|
-
* Type alias for the `PlanIdRequest` OpenAPI schema.
|
|
2215
|
-
* This type represents planidrequest data structures used in API requests and responses.
|
|
2216
|
-
*
|
|
2217
|
-
* @example
|
|
2218
|
-
* ```typescript
|
|
2219
|
-
* const response = await api.getPlanIdRequest();
|
|
2220
|
-
* const item: PlanIdRequest = response.results;
|
|
2221
|
-
* ```
|
|
2222
|
-
*
|
|
2223
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2224
|
-
*/
|
|
2225
|
-
export type PlanIdRequest = components['schemas']['PlanIdRequest'];
|
|
2226
|
-
/**
|
|
2227
|
-
* PlanInfo
|
|
2228
|
-
*
|
|
2229
|
-
* @remarks
|
|
2230
|
-
* Type alias for the `PlanInfo` OpenAPI schema.
|
|
2231
|
-
* This type represents planinfo data structures used in API requests and responses.
|
|
2232
|
-
*
|
|
2233
|
-
* @example
|
|
2234
|
-
* ```typescript
|
|
2235
|
-
* const response = await api.getPlanInfo();
|
|
2236
|
-
* const item: PlanInfo = response.results;
|
|
2237
|
-
* ```
|
|
2238
|
-
*
|
|
2239
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2240
|
-
*/
|
|
2241
|
-
export type PlanInfo = components['schemas']['PlanInfo'];
|
|
2242
2146
|
/**
|
|
2243
2147
|
* PostTransferRequirements
|
|
2244
2148
|
*
|
|
@@ -2879,54 +2783,6 @@ export type ValidationError = components['schemas']['ValidationError'];
|
|
|
2879
2783
|
* @see {@link components} - The OpenAPI components schema definition
|
|
2880
2784
|
*/
|
|
2881
2785
|
export type VerificationType = components['schemas']['VerificationType'];
|
|
2882
|
-
/**
|
|
2883
|
-
* WalletCreditRequest
|
|
2884
|
-
*
|
|
2885
|
-
* @remarks
|
|
2886
|
-
* Type alias for the `WalletCreditRequest` OpenAPI schema.
|
|
2887
|
-
* This type represents walletcreditrequest data structures used in API requests and responses.
|
|
2888
|
-
*
|
|
2889
|
-
* @example
|
|
2890
|
-
* ```typescript
|
|
2891
|
-
* const response = await api.getWalletCreditRequest();
|
|
2892
|
-
* const item: WalletCreditRequest = response.results;
|
|
2893
|
-
* ```
|
|
2894
|
-
*
|
|
2895
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2896
|
-
*/
|
|
2897
|
-
export type WalletCreditRequest = components['schemas']['WalletCreditRequest'];
|
|
2898
|
-
/**
|
|
2899
|
-
* WalletCreditResponseStatus
|
|
2900
|
-
*
|
|
2901
|
-
* @remarks
|
|
2902
|
-
* Type alias for the `WalletCreditResponseStatus` OpenAPI schema.
|
|
2903
|
-
* This type represents walletcreditresponsestatus data structures used in API requests and responses.
|
|
2904
|
-
*
|
|
2905
|
-
* @example
|
|
2906
|
-
* ```typescript
|
|
2907
|
-
* const response = await api.getWalletCreditResponseStatus();
|
|
2908
|
-
* const item: WalletCreditResponseStatus = response.results;
|
|
2909
|
-
* ```
|
|
2910
|
-
*
|
|
2911
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2912
|
-
*/
|
|
2913
|
-
export type WalletCreditResponseStatus = components['schemas']['WalletCreditResponseStatus'];
|
|
2914
|
-
/**
|
|
2915
|
-
* WalletCreditResponseWithBalance
|
|
2916
|
-
*
|
|
2917
|
-
* @remarks
|
|
2918
|
-
* Type alias for the `WalletCreditResponseWithBalance` OpenAPI schema.
|
|
2919
|
-
* This type represents walletcreditresponsewithbalance data structures used in API requests and responses.
|
|
2920
|
-
*
|
|
2921
|
-
* @example
|
|
2922
|
-
* ```typescript
|
|
2923
|
-
* const response = await api.getWalletCreditResponseWithBalance();
|
|
2924
|
-
* const item: WalletCreditResponseWithBalance = response.results;
|
|
2925
|
-
* ```
|
|
2926
|
-
*
|
|
2927
|
-
* @see {@link components} - The OpenAPI components schema definition
|
|
2928
|
-
*/
|
|
2929
|
-
export type WalletCreditResponseWithBalance = components['schemas']['WalletCreditResponseWithBalance'];
|
|
2930
2786
|
/**
|
|
2931
2787
|
* WhoisBase
|
|
2932
2788
|
*
|