@opusdns/api 0.114.0 → 0.115.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.
@@ -36,6 +36,112 @@ import { DomainDnssecDataCreateArray, OrganizationAttributeUpdateArray } from '.
36
36
 
37
37
  import { ContactCreate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainForwardPatchOps, DomainForwardRequest, DomainForwardSetRequest, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainWithdrawRequest, DomainTransitRequest, DomainTransferIn, EmailForwardCreate, EmailForwardAliasCreate, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
38
38
 
39
+ /**
40
+ * Request type for GET ArchiveEmailForwardLogsAliasEmailForwardAliasId endpoint
41
+ *
42
+ * Retrieve email forward logs by alias
43
+ * Retrieves a paginated list of email forward logs for a specific email forward alias. Only returns logs created after the email forward was created.
44
+ *
45
+ * @remarks
46
+ * This type defines the complete request structure for the GET ArchiveEmailForwardLogsAliasEmailForwardAliasId endpoint.
47
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
48
+ * Use this type to ensure type safety when making API requests to this endpoint.
49
+ *
50
+ * @example
51
+ * Use this type to ensure type safety when making API requests to this endpoint.
52
+ *
53
+ * @path /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
54
+ *
55
+ * @see {@link GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request_Query} - Query parameters type
56
+ * @see {@link GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request_Path} - Path parameters type
57
+ * @see {@link GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request_Body} - Request body type
58
+ */
59
+ export type GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request = {
60
+ parameters: {
61
+ query: operations['get_email_forward_logs_by_alias_v1_archive_email_forward_logs_alias__email_forward_alias_id__get']['parameters']['query'];
62
+ path: operations['get_email_forward_logs_by_alias_v1_archive_email_forward_logs_alias__email_forward_alias_id__get']['parameters']['path'];
63
+ };
64
+ }
65
+ /**
66
+ * Query parameters for GET /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
67
+ *
68
+ * @remarks
69
+ * This type defines the query parameters for the GET /v1/archive/email-forward-logs/alias/{email_forward_alias_id} endpoint.
70
+ * It provides type safety for all query parameters as defined in the OpenAPI specification.
71
+ *
72
+ * @example
73
+ * Use this type to ensure type safety for query parameters.
74
+ *
75
+ * @path /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
76
+ */
77
+ export type GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request_Query = GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request['parameters']['query'];
78
+ /**
79
+ * Path parameters for GET /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
80
+ *
81
+ * @remarks
82
+ * This type defines the path parameters for the GET /v1/archive/email-forward-logs/alias/{email_forward_alias_id} endpoint.
83
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
84
+ *
85
+ * @example
86
+ * Use this type to ensure type safety for path parameters.
87
+ *
88
+ * @path /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
89
+ */
90
+ export type GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request_Path = GET_ArchiveEmailForwardLogsAliasEmailForwardAliasId_Request['parameters']['path'];
91
+
92
+ /**
93
+ * Request type for GET ArchiveEmailForwardLogsEmailForwardId endpoint
94
+ *
95
+ * Retrieve email forward logs
96
+ * Retrieves a paginated list of email forward logs for a specific email forward. Only returns logs created after the email forward was created.
97
+ *
98
+ * @remarks
99
+ * This type defines the complete request structure for the GET ArchiveEmailForwardLogsEmailForwardId endpoint.
100
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
101
+ * Use this type to ensure type safety when making API requests to this endpoint.
102
+ *
103
+ * @example
104
+ * Use this type to ensure type safety when making API requests to this endpoint.
105
+ *
106
+ * @path /v1/archive/email-forward-logs/{email_forward_id}
107
+ *
108
+ * @see {@link GET_ArchiveEmailForwardLogsEmailForwardId_Request_Query} - Query parameters type
109
+ * @see {@link GET_ArchiveEmailForwardLogsEmailForwardId_Request_Path} - Path parameters type
110
+ * @see {@link GET_ArchiveEmailForwardLogsEmailForwardId_Request_Body} - Request body type
111
+ */
112
+ export type GET_ArchiveEmailForwardLogsEmailForwardId_Request = {
113
+ parameters: {
114
+ query: operations['get_email_forward_logs_v1_archive_email_forward_logs__email_forward_id__get']['parameters']['query'];
115
+ path: operations['get_email_forward_logs_v1_archive_email_forward_logs__email_forward_id__get']['parameters']['path'];
116
+ };
117
+ }
118
+ /**
119
+ * Query parameters for GET /v1/archive/email-forward-logs/{email_forward_id}
120
+ *
121
+ * @remarks
122
+ * This type defines the query parameters for the GET /v1/archive/email-forward-logs/{email_forward_id} endpoint.
123
+ * It provides type safety for all query parameters as defined in the OpenAPI specification.
124
+ *
125
+ * @example
126
+ * Use this type to ensure type safety for query parameters.
127
+ *
128
+ * @path /v1/archive/email-forward-logs/{email_forward_id}
129
+ */
130
+ export type GET_ArchiveEmailForwardLogsEmailForwardId_Request_Query = GET_ArchiveEmailForwardLogsEmailForwardId_Request['parameters']['query'];
131
+ /**
132
+ * Path parameters for GET /v1/archive/email-forward-logs/{email_forward_id}
133
+ *
134
+ * @remarks
135
+ * This type defines the path parameters for the GET /v1/archive/email-forward-logs/{email_forward_id} endpoint.
136
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
137
+ *
138
+ * @example
139
+ * Use this type to ensure type safety for path parameters.
140
+ *
141
+ * @path /v1/archive/email-forward-logs/{email_forward_id}
142
+ */
143
+ export type GET_ArchiveEmailForwardLogsEmailForwardId_Request_Path = GET_ArchiveEmailForwardLogsEmailForwardId_Request['parameters']['path'];
144
+
39
145
  /**
40
146
  * Request type for GET ArchiveObjectLogs endpoint
41
147
  *
@@ -34,7 +34,119 @@
34
34
 
35
35
  import { DomainDnssecDataArray, OrganizationAttribute2Array, IpRestrictionArray, TldResponseShortArray } from './schemas-arrays.d';
36
36
 
37
- import { Pagination_ObjectLog, HTTPValidationError, Pagination_RequestHistory, Problem, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DomainForwardZone, EmailForwardZone, Pagination_DomainForwardZone, Pagination_EmailForwardZone, DnsZoneSummary, Pagination_DomainForward, DomainForward, DomainForwardSet, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, DomainWithdraw, RequestAuthcode, DomainTransit, Pagination_EmailForward, EmailForward, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
37
+ import { Pagination_EmailForwardLog, HTTPValidationError, Pagination_ObjectLog, Pagination_RequestHistory, Problem, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DomainForwardZone, EmailForwardZone, Pagination_DomainForwardZone, Pagination_EmailForwardZone, DnsZoneSummary, Pagination_DomainForward, DomainForward, DomainForwardSet, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, DomainWithdraw, RequestAuthcode, DomainTransit, Pagination_EmailForward, EmailForward, EmailForwardAlias, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_User, TldSpecification, User, UserWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
38
+
39
+ /**
40
+ * Response types for GET ArchiveEmailForwardLogsAliasByEmailForwardAliasId endpoint
41
+ *
42
+ * Retrieve email forward logs by alias
43
+ * Retrieves a paginated list of email forward logs for a specific email forward alias. Only returns logs created after the email forward was created.
44
+ *
45
+ * @remarks
46
+ * This type defines all possible response structures for the GET ArchiveEmailForwardLogsAliasByEmailForwardAliasId endpoint.
47
+ * Each response code maps to a specific response type as defined in the OpenAPI specification.
48
+ * Use this type to ensure type safety when handling API responses from this endpoint.
49
+ *
50
+
51
+ *
52
+ * @path /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
53
+ *
54
+ * @see {@link GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response_200} - 200 response type
55
+ * @see {@link GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response_422} - 422 response type
56
+ *
57
+
58
+ */
59
+ export type GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response = GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response_200 | GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response_422;
60
+
61
+ /**
62
+ * 200 response for GET ArchiveEmailForwardLogsAliasByEmailForwardAliasId endpoint
63
+ *
64
+ * @remarks
65
+ * This type defines the response structure for the 200 status code
66
+ * of the GET ArchiveEmailForwardLogsAliasByEmailForwardAliasId endpoint.
67
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
68
+ *
69
+
70
+ *
71
+ * @path /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
72
+ *
73
+ * @see {@link GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response} - The main response type definition
74
+ * @see {@link Pagination_EmailForwardLog} - The actual schema type definition
75
+ */
76
+ export type GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response_200 = Pagination_EmailForwardLog
77
+
78
+ /**
79
+ * 422 response for GET ArchiveEmailForwardLogsAliasByEmailForwardAliasId endpoint
80
+ *
81
+ * @remarks
82
+ * This type defines the response structure for the 422 status code
83
+ * of the GET ArchiveEmailForwardLogsAliasByEmailForwardAliasId endpoint.
84
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
85
+ *
86
+
87
+ *
88
+ * @path /v1/archive/email-forward-logs/alias/{email_forward_alias_id}
89
+ *
90
+ * @see {@link GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response} - The main response type definition
91
+ * @see {@link HTTPValidationError} - The actual schema type definition
92
+ */
93
+ export type GET_ArchiveEmailForwardLogsAliasByEmailForwardAliasId_Response_422 = HTTPValidationError
94
+
95
+ /**
96
+ * Response types for GET ArchiveEmailForwardLogsByEmailForwardId endpoint
97
+ *
98
+ * Retrieve email forward logs
99
+ * Retrieves a paginated list of email forward logs for a specific email forward. Only returns logs created after the email forward was created.
100
+ *
101
+ * @remarks
102
+ * This type defines all possible response structures for the GET ArchiveEmailForwardLogsByEmailForwardId endpoint.
103
+ * Each response code maps to a specific response type as defined in the OpenAPI specification.
104
+ * Use this type to ensure type safety when handling API responses from this endpoint.
105
+ *
106
+
107
+ *
108
+ * @path /v1/archive/email-forward-logs/{email_forward_id}
109
+ *
110
+ * @see {@link GET_ArchiveEmailForwardLogsByEmailForwardId_Response_200} - 200 response type
111
+ * @see {@link GET_ArchiveEmailForwardLogsByEmailForwardId_Response_422} - 422 response type
112
+ *
113
+
114
+ */
115
+ export type GET_ArchiveEmailForwardLogsByEmailForwardId_Response = GET_ArchiveEmailForwardLogsByEmailForwardId_Response_200 | GET_ArchiveEmailForwardLogsByEmailForwardId_Response_422;
116
+
117
+ /**
118
+ * 200 response for GET ArchiveEmailForwardLogsByEmailForwardId endpoint
119
+ *
120
+ * @remarks
121
+ * This type defines the response structure for the 200 status code
122
+ * of the GET ArchiveEmailForwardLogsByEmailForwardId endpoint.
123
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
124
+ *
125
+
126
+ *
127
+ * @path /v1/archive/email-forward-logs/{email_forward_id}
128
+ *
129
+ * @see {@link GET_ArchiveEmailForwardLogsByEmailForwardId_Response} - The main response type definition
130
+ * @see {@link Pagination_EmailForwardLog} - The actual schema type definition
131
+ */
132
+ export type GET_ArchiveEmailForwardLogsByEmailForwardId_Response_200 = Pagination_EmailForwardLog
133
+
134
+ /**
135
+ * 422 response for GET ArchiveEmailForwardLogsByEmailForwardId endpoint
136
+ *
137
+ * @remarks
138
+ * This type defines the response structure for the 422 status code
139
+ * of the GET ArchiveEmailForwardLogsByEmailForwardId endpoint.
140
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
141
+ *
142
+
143
+ *
144
+ * @path /v1/archive/email-forward-logs/{email_forward_id}
145
+ *
146
+ * @see {@link GET_ArchiveEmailForwardLogsByEmailForwardId_Response} - The main response type definition
147
+ * @see {@link HTTPValidationError} - The actual schema type definition
148
+ */
149
+ export type GET_ArchiveEmailForwardLogsByEmailForwardId_Response_422 = HTTPValidationError
38
150
 
39
151
  /**
40
152
  * Response types for GET ArchiveObjectLogs endpoint
@@ -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, DomainForwardPatchOp, HttpRedirectList, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, RequestHistory, 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, DomainForwardPatchOp, HttpRedirectList, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, RequestHistory, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
25
25
 
26
26
  /**
27
27
  * DomainDnssecDataResponse
@@ -457,6 +457,20 @@ export type DomainClientStatusArray = DomainClientStatus[];
457
457
  * @see {@link EmailForwardAliasCreate} - The individual EmailForwardAliasCreate type definition
458
458
  */
459
459
  export type EmailForwardAliasCreateArray = EmailForwardAliasCreate[];
460
+ /**
461
+ * EmailForwardLogEvent
462
+ *
463
+ * @remarks
464
+ * Array type for EmailForwardLogEvent objects. Used when the API returns a collection of EmailForwardLogEvent instances.
465
+ *
466
+ * @example
467
+ * ```typescript
468
+ * const items: EmailForwardLogEventArray = await api.getEmailForwardLogEvents();
469
+ * ```
470
+ *
471
+ * @see {@link EmailForwardLogEvent} - The individual EmailForwardLogEvent type definition
472
+ */
473
+ export type EmailForwardLogEventArray = EmailForwardLogEvent[];
460
474
  /**
461
475
  * EmailForwardAlias
462
476
  *
@@ -681,6 +695,20 @@ export type DomainForwardZoneArray = DomainForwardZone[];
681
695
  * @see {@link Domain} - The individual DomainResponse type definition
682
696
  */
683
697
  export type DomainArray = Domain[];
698
+ /**
699
+ * EmailForwardLog
700
+ *
701
+ * @remarks
702
+ * Array type for EmailForwardLog objects. Used when the API returns a collection of EmailForwardLog instances.
703
+ *
704
+ * @example
705
+ * ```typescript
706
+ * const items: EmailForwardLogArray = await api.getEmailForwardLogs();
707
+ * ```
708
+ *
709
+ * @see {@link EmailForwardLog} - The individual EmailForwardLog type definition
710
+ */
711
+ export type EmailForwardLogArray = EmailForwardLog[];
684
712
  /**
685
713
  * EmailForwardZone
686
714
  *
@@ -1642,6 +1642,54 @@ export type EmailForwardAliasUpdate = components['schemas']['EmailForwardAliasUp
1642
1642
  * @see {@link components} - The OpenAPI components schema definition
1643
1643
  */
1644
1644
  export type EmailForwardCreate = components['schemas']['EmailForwardCreate'];
1645
+ /**
1646
+ * EmailForwardLog
1647
+ *
1648
+ * @remarks
1649
+ * Type alias for the `EmailForwardLog` OpenAPI schema.
1650
+ * This type represents emailforwardlog data structures used in API requests and responses.
1651
+ *
1652
+ * @example
1653
+ * ```typescript
1654
+ * const response = await api.getEmailForwardLog();
1655
+ * const item: EmailForwardLog = response.results;
1656
+ * ```
1657
+ *
1658
+ * @see {@link components} - The OpenAPI components schema definition
1659
+ */
1660
+ export type EmailForwardLog = components['schemas']['EmailForwardLog'];
1661
+ /**
1662
+ * EmailForwardLogEvent
1663
+ *
1664
+ * @remarks
1665
+ * Type alias for the `EmailForwardLogEvent` OpenAPI schema.
1666
+ * This type represents emailforwardlogevent data structures used in API requests and responses.
1667
+ *
1668
+ * @example
1669
+ * ```typescript
1670
+ * const response = await api.getEmailForwardLogEvent();
1671
+ * const item: EmailForwardLogEvent = response.results;
1672
+ * ```
1673
+ *
1674
+ * @see {@link components} - The OpenAPI components schema definition
1675
+ */
1676
+ export type EmailForwardLogEvent = components['schemas']['EmailForwardLogEvent'];
1677
+ /**
1678
+ * EmailForwardLogSortField
1679
+ *
1680
+ * @remarks
1681
+ * Type alias for the `EmailForwardLogSortField` OpenAPI schema.
1682
+ * This type represents emailforwardlogsortfield data structures used in API requests and responses.
1683
+ *
1684
+ * @example
1685
+ * ```typescript
1686
+ * const response = await api.getEmailForwardLogSortField();
1687
+ * const item: EmailForwardLogSortField = response.results;
1688
+ * ```
1689
+ *
1690
+ * @see {@link components} - The OpenAPI components schema definition
1691
+ */
1692
+ export type EmailForwardLogSortField = components['schemas']['EmailForwardLogSortField'];
1645
1693
  /**
1646
1694
  * EmailForwardResponse
1647
1695
  *
@@ -2543,6 +2591,22 @@ export type Pagination_DomainForward = components['schemas']['Pagination_DomainF
2543
2591
  * @see {@link components} - The OpenAPI components schema definition
2544
2592
  */
2545
2593
  export type Pagination_Domain = components['schemas']['Pagination_DomainResponse_'];
2594
+ /**
2595
+ * Pagination[EmailForwardLog]
2596
+ *
2597
+ * @remarks
2598
+ * Type alias for the `Pagination_EmailForwardLog_` OpenAPI schema.
2599
+ * This type represents pagination[emailforwardlog] data structures used in API requests and responses.
2600
+ *
2601
+ * @example
2602
+ * ```typescript
2603
+ * const response = await api.getPagination_EmailForwardLog();
2604
+ * const item: Pagination_EmailForwardLog = response.results;
2605
+ * ```
2606
+ *
2607
+ * @see {@link components} - The OpenAPI components schema definition
2608
+ */
2609
+ export type Pagination_EmailForwardLog = components['schemas']['Pagination_EmailForwardLog_'];
2546
2610
  /**
2547
2611
  * Pagination[EmailForwardResponse]
2548
2612
  *