@opusdns/api 0.290.0 → 0.292.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 +153 -1
- package/src/helpers/keys.ts +565 -291
- package/src/helpers/responses.d.ts +3 -3
- package/src/helpers/schemas-arrays.d.ts +43 -1
- package/src/helpers/schemas.d.ts +144 -16
- package/src/openapi.yaml +147 -102
- package/src/schema.d.ts +85 -65
package/src/schema.d.ts
CHANGED
|
@@ -5085,6 +5085,19 @@ export interface components {
|
|
|
5085
5085
|
/** @description The period by which the domain was extended */
|
|
5086
5086
|
period_extended: components["schemas"]["DomainPeriod"];
|
|
5087
5087
|
};
|
|
5088
|
+
/** DomainRenewalDetails */
|
|
5089
|
+
DomainRenewalDetails: {
|
|
5090
|
+
/**
|
|
5091
|
+
* @description discriminator enum property added by openapi-typescript
|
|
5092
|
+
* @enum {string}
|
|
5093
|
+
*/
|
|
5094
|
+
detail_type: "domain_renewal";
|
|
5095
|
+
/**
|
|
5096
|
+
* Expires On
|
|
5097
|
+
* Format: date-time
|
|
5098
|
+
*/
|
|
5099
|
+
expires_on: Date;
|
|
5100
|
+
};
|
|
5088
5101
|
/** DomainResponse */
|
|
5089
5102
|
DomainResponse: {
|
|
5090
5103
|
/**
|
|
@@ -5795,6 +5808,22 @@ export interface components {
|
|
|
5795
5808
|
*/
|
|
5796
5809
|
type: "domain_update" | "domain_update_bulk";
|
|
5797
5810
|
};
|
|
5811
|
+
/** DomainVerificationDetails */
|
|
5812
|
+
DomainVerificationDetails: {
|
|
5813
|
+
/**
|
|
5814
|
+
* @description discriminator enum property added by openapi-typescript
|
|
5815
|
+
* @enum {string}
|
|
5816
|
+
*/
|
|
5817
|
+
detail_type: "domain_verification";
|
|
5818
|
+
/** Domain Id */
|
|
5819
|
+
domain_id: string;
|
|
5820
|
+
/** Registrants */
|
|
5821
|
+
registrants?: components["schemas"]["VerificationRegistrantDetails"][];
|
|
5822
|
+
/** Verification Claims */
|
|
5823
|
+
verification_claims?: components["schemas"]["VerificationClaimType"][];
|
|
5824
|
+
/** Verification Deadlines */
|
|
5825
|
+
verification_deadlines?: components["schemas"]["VerificationDeadline"][];
|
|
5826
|
+
};
|
|
5798
5827
|
/** DomainWithdrawRequest */
|
|
5799
5828
|
DomainWithdrawRequest: {
|
|
5800
5829
|
/**
|
|
@@ -6183,6 +6212,23 @@ export interface components {
|
|
|
6183
6212
|
* @enum {string}
|
|
6184
6213
|
*/
|
|
6185
6214
|
EmailVerificationStatus: "verified" | "pending" | "canceled";
|
|
6215
|
+
/** EventData */
|
|
6216
|
+
EventData: {
|
|
6217
|
+
/** Details */
|
|
6218
|
+
details?: (components["schemas"]["DomainRenewalDetails"] | components["schemas"]["DomainVerificationDetails"]) | null;
|
|
6219
|
+
error?: components["schemas"]["EventError"] | null;
|
|
6220
|
+
/** Message */
|
|
6221
|
+
message: string;
|
|
6222
|
+
/** @default 1.0 */
|
|
6223
|
+
version: components["schemas"]["EventVersion"];
|
|
6224
|
+
};
|
|
6225
|
+
/** EventError */
|
|
6226
|
+
EventError: {
|
|
6227
|
+
/** Code */
|
|
6228
|
+
code: string;
|
|
6229
|
+
/** Detail */
|
|
6230
|
+
detail: string;
|
|
6231
|
+
};
|
|
6186
6232
|
/**
|
|
6187
6233
|
* EventObjectType
|
|
6188
6234
|
* @enum {string}
|
|
@@ -6201,16 +6247,13 @@ export interface components {
|
|
|
6201
6247
|
* @description When the event was created
|
|
6202
6248
|
*/
|
|
6203
6249
|
created_on: Date;
|
|
6204
|
-
|
|
6205
|
-
event_data?: {
|
|
6206
|
-
[key: string]: unknown;
|
|
6207
|
-
};
|
|
6250
|
+
event_data: components["schemas"]["EventData"];
|
|
6208
6251
|
/**
|
|
6209
6252
|
* Event Id
|
|
6210
6253
|
* Format: typeid
|
|
6211
|
-
* @example
|
|
6254
|
+
* @example event_01h45ytscbebyvny4gc8cr8ma2
|
|
6212
6255
|
*/
|
|
6213
|
-
event_id?: TypeId<"
|
|
6256
|
+
event_id?: TypeId<"event">;
|
|
6214
6257
|
/**
|
|
6215
6258
|
* Object Id
|
|
6216
6259
|
* @description The id of the object that the event is about
|
|
@@ -6226,62 +6269,6 @@ export interface components {
|
|
|
6226
6269
|
/** @description The type of the event - indicates the kind of operation occurring (e.g., 'ACCOUNT_CREATE', 'DOMAIN_MODIFICATION') */
|
|
6227
6270
|
type?: components["schemas"]["EventType"] | null;
|
|
6228
6271
|
};
|
|
6229
|
-
/** EventSchema */
|
|
6230
|
-
EventSchema: {
|
|
6231
|
-
/**
|
|
6232
|
-
* Acknowledged On
|
|
6233
|
-
* @description The date/time the event was acknowledged
|
|
6234
|
-
*/
|
|
6235
|
-
acknowledged_on?: Date | null;
|
|
6236
|
-
/**
|
|
6237
|
-
* Created On
|
|
6238
|
-
* Format: date-time
|
|
6239
|
-
* @description The date/time the entry was created on
|
|
6240
|
-
*/
|
|
6241
|
-
created_on?: Date;
|
|
6242
|
-
/** @description Additional details about the action */
|
|
6243
|
-
event_data: components["schemas"]["JsonValue"];
|
|
6244
|
-
/**
|
|
6245
|
-
* Event Id
|
|
6246
|
-
* Format: typeid
|
|
6247
|
-
* @example epp_event_01h45ytscbebyvny4gc8cr8ma2
|
|
6248
|
-
*/
|
|
6249
|
-
event_id?: TypeId<"epp_event">;
|
|
6250
|
-
/**
|
|
6251
|
-
* Message Queue Id
|
|
6252
|
-
* @description A composite key with the registry account + message queue ID from the poll operation.
|
|
6253
|
-
*/
|
|
6254
|
-
message_queue_id?: string | null;
|
|
6255
|
-
/**
|
|
6256
|
-
* Object Id
|
|
6257
|
-
* @description The id of the object that the event is about
|
|
6258
|
-
*/
|
|
6259
|
-
object_id?: string | null;
|
|
6260
|
-
/**
|
|
6261
|
-
* @description The type of object that the event is about
|
|
6262
|
-
* @default RAW
|
|
6263
|
-
*/
|
|
6264
|
-
object_type: components["schemas"]["EventObjectType"];
|
|
6265
|
-
/**
|
|
6266
|
-
* Source
|
|
6267
|
-
* @description The source of the event
|
|
6268
|
-
*/
|
|
6269
|
-
source: string;
|
|
6270
|
-
/**
|
|
6271
|
-
* Source Event Id
|
|
6272
|
-
* @description The reference of the original registry event (if any) that triggered this customer-facing event
|
|
6273
|
-
*/
|
|
6274
|
-
source_event_id?: TypeId<"epp_event"> | null;
|
|
6275
|
-
/** @description The specific type/result of operation (considering the type property), more detailed (e.g., 'NOTIFICATION' with the 'DOMAIN_MODIFICATION' class) */
|
|
6276
|
-
subtype?: components["schemas"]["EventSubtype"] | null;
|
|
6277
|
-
/**
|
|
6278
|
-
* Target
|
|
6279
|
-
* @description The target of the event
|
|
6280
|
-
*/
|
|
6281
|
-
target?: TypeId<"organization"> | null;
|
|
6282
|
-
/** @description The type of the event - indicates the kind of operation occurring (e.g., 'ACCOUNT_CREATE', 'DOMAIN_MODIFICATION') */
|
|
6283
|
-
type?: components["schemas"]["EventType"] | null;
|
|
6284
|
-
};
|
|
6285
6272
|
/**
|
|
6286
6273
|
* EventSortField
|
|
6287
6274
|
* @enum {string}
|
|
@@ -6297,6 +6284,11 @@ export interface components {
|
|
|
6297
6284
|
* @enum {string}
|
|
6298
6285
|
*/
|
|
6299
6286
|
EventType: "REGISTRATION" | "RENEWAL" | "MODIFICATION" | "DELETION" | "INBOUND_TRANSFER" | "OUTBOUND_TRANSFER" | "TRANSIT" | "WITHDRAW" | "VERIFICATION";
|
|
6287
|
+
/**
|
|
6288
|
+
* EventVersion
|
|
6289
|
+
* @enum {string}
|
|
6290
|
+
*/
|
|
6291
|
+
EventVersion: "1.0";
|
|
6300
6292
|
/**
|
|
6301
6293
|
* ExecutingEntity
|
|
6302
6294
|
* @enum {string}
|
|
@@ -9726,6 +9718,34 @@ export interface components {
|
|
|
9726
9718
|
/** Error Type */
|
|
9727
9719
|
type: string;
|
|
9728
9720
|
};
|
|
9721
|
+
/**
|
|
9722
|
+
* VerificationClaimType
|
|
9723
|
+
* @enum {string}
|
|
9724
|
+
*/
|
|
9725
|
+
VerificationClaimType: "name" | "address" | "email" | "phone";
|
|
9726
|
+
/** VerificationDeadline */
|
|
9727
|
+
VerificationDeadline: {
|
|
9728
|
+
/**
|
|
9729
|
+
* Date
|
|
9730
|
+
* Format: date-time
|
|
9731
|
+
*/
|
|
9732
|
+
date: Date;
|
|
9733
|
+
type: components["schemas"]["VerificationDeadlineType"];
|
|
9734
|
+
};
|
|
9735
|
+
/**
|
|
9736
|
+
* VerificationDeadlineType
|
|
9737
|
+
* @enum {string}
|
|
9738
|
+
*/
|
|
9739
|
+
VerificationDeadlineType: "dedelegation" | "deletion";
|
|
9740
|
+
/** VerificationRegistrantDetails */
|
|
9741
|
+
VerificationRegistrantDetails: {
|
|
9742
|
+
/** Contact Id */
|
|
9743
|
+
contact_id: string;
|
|
9744
|
+
/** Email */
|
|
9745
|
+
email: string;
|
|
9746
|
+
/** Name */
|
|
9747
|
+
name: string;
|
|
9748
|
+
};
|
|
9729
9749
|
/**
|
|
9730
9750
|
* VerificationType
|
|
9731
9751
|
* @enum {string}
|
|
@@ -16825,7 +16845,7 @@ export interface operations {
|
|
|
16825
16845
|
query?: never;
|
|
16826
16846
|
header?: never;
|
|
16827
16847
|
path: {
|
|
16828
|
-
event_id: TypeId<"
|
|
16848
|
+
event_id: TypeId<"event">;
|
|
16829
16849
|
};
|
|
16830
16850
|
cookie?: never;
|
|
16831
16851
|
};
|
|
@@ -16837,7 +16857,7 @@ export interface operations {
|
|
|
16837
16857
|
[name: string]: unknown;
|
|
16838
16858
|
};
|
|
16839
16859
|
content: {
|
|
16840
|
-
"application/json": components["schemas"]["
|
|
16860
|
+
"application/json": components["schemas"]["EventResponse"];
|
|
16841
16861
|
};
|
|
16842
16862
|
};
|
|
16843
16863
|
/** @description Unauthorized */
|
|
@@ -16889,7 +16909,7 @@ export interface operations {
|
|
|
16889
16909
|
query?: never;
|
|
16890
16910
|
header?: never;
|
|
16891
16911
|
path: {
|
|
16892
|
-
event_id: TypeId<"
|
|
16912
|
+
event_id: TypeId<"event">;
|
|
16893
16913
|
};
|
|
16894
16914
|
cookie?: never;
|
|
16895
16915
|
};
|