@opusdns/api 0.157.0 → 0.159.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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^0.19.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "0.157.0",
6
+ "version": "0.159.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -21,7 +21,7 @@
21
21
  * ```
22
22
  */
23
23
 
24
- import { AllocationMethodType, AttributeType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAttributeKey, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainForwardSortField, DomainForwardZoneSortField, DomainSortField, DomainStatus, EmailForwardLogFinalStatus, EmailForwardLogSortField, EmailForwardSortField, EmailForwardZoneSortField, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, GrantType, HostStatus, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LocalPresenceRequirementType, MetricsGrouping, ObjectEventType, ObjectLogSortField, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, Protocol, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, RequestHistorySortField, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TimeRange, TransferAckType, UserStatus, VerificationType, ZoneSortField } from './schemas';
24
+ import { AllocationMethodType, AttributeType, BillingTransactionAction, BillingTransactionProductType, BillingTransactionSortField, BillingTransactionStatus, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAttributeKey, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainForwardSortField, DomainForwardZoneSortField, DomainSortField, DomainStatus, EmailForwardLogSortField, EmailForwardLogStatus, EmailForwardSortField, EmailForwardZoneSortField, EmailVerificationStatus, EventObjectType, EventSortField, EventSubtype, EventType, GrantType, HostStatus, HttpProtocol, InvoiceResponsePaymentStatus, InvoiceResponseStatus, InvoiceResponseType, LaunchPhaseType, LocalPresenceRequirementType, MetricsGrouping, ObjectEventType, ObjectLogSortField, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, Protocol, RedirectCode, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, RequestHistorySortField, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TimeRange, TransferAckType, UserStatus, VerificationType, ZoneSortField } from './schemas';
25
25
 
26
26
  /**
27
27
  * AllocationMethodType. Auto-generated enum for AllocationMethodType
@@ -1340,120 +1340,120 @@ export const DOMAIN_STATUS_VALUES = [
1340
1340
  ] as const satisfies [string, ...string[]] | DomainStatus[];
1341
1341
 
1342
1342
  /**
1343
- * EmailForwardLogFinalStatus. Auto-generated enum for EmailForwardLogFinalStatus
1343
+ * EmailForwardLogSortField. Auto-generated enum for EmailForwardLogSortField
1344
1344
  *
1345
1345
  * @remarks
1346
- * This constant provides both object and array forms for the EmailForwardLogFinalStatus enum.
1346
+ * This constant provides both object and array forms for the EmailForwardLogSortField enum.
1347
1347
  * The object form allows key-value access, while the array form enables iteration and validation.
1348
1348
  *
1349
1349
  * @example
1350
1350
  * ```typescript
1351
1351
  * // Using the object form for key-value access
1352
- * const status = EMAIL_FORWARD_LOG_FINAL_STATUS.SUCCESS;
1352
+ * const status = EMAIL_FORWARD_LOG_SORT_FIELD.SUCCESS;
1353
1353
  *
1354
1354
  * // Using the array form for iteration
1355
- * const allStatuses = EMAIL_FORWARD_LOG_FINAL_STATUS_VALUES;
1355
+ * const allStatuses = EMAIL_FORWARD_LOG_SORT_FIELD_VALUES;
1356
1356
  * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1357
1357
  * ```
1358
1358
  *
1359
- * @see {@link EmailForwardLogFinalStatus} - The TypeScript type definition
1359
+ * @see {@link EmailForwardLogSortField} - The TypeScript type definition
1360
1360
  */
1361
- export const EMAIL_FORWARD_LOG_FINAL_STATUS = {
1362
- QUEUED: "QUEUED",
1363
- DELIVERED: "DELIVERED",
1364
- REFUSED: "REFUSED",
1365
- SOFT_BOUNCE: "SOFT-BOUNCE",
1366
- HARD_BOUNCE: "HARD-BOUNCE",
1367
- } as const satisfies Record<string, EmailForwardLogFinalStatus>;
1361
+ export const EMAIL_FORWARD_LOG_SORT_FIELD = {
1362
+ LOG_ID: "log_id",
1363
+ SENDER_EMAIL: "sender_email",
1364
+ RECIPIENT_EMAIL: "recipient_email",
1365
+ FORWARD_EMAIL: "forward_email",
1366
+ FINAL_STATUS: "final_status",
1367
+ CREATED_ON: "created_on",
1368
+ SYNCED_ON: "synced_on",
1369
+ } as const satisfies Record<string, EmailForwardLogSortField>;
1368
1370
 
1369
1371
  /**
1370
- * Array of all EmailForwardLogFinalStatus enum values
1372
+ * Array of all EmailForwardLogSortField enum values
1371
1373
  *
1372
1374
  * @remarks
1373
- * This constant provides a array containing all valid EmailForwardLogFinalStatus enum values.
1375
+ * This constant provides a array containing all valid EmailForwardLogSortField enum values.
1374
1376
  * Useful for iteration, validation, and generating dynamic UI components.
1375
1377
  *
1376
1378
  * @example
1377
1379
  * ```typescript
1378
1380
  * // Iterating through all values
1379
- * for (const value of EMAIL_FORWARD_LOG_FINAL_STATUS_VALUES) {
1381
+ * for (const value of EMAIL_FORWARD_LOG_SORT_FIELD_VALUES) {
1380
1382
  * console.log(`Processing: ${value}`);
1381
1383
  * }
1382
1384
  *
1383
1385
  * // Validation
1384
- * const isValid = EMAIL_FORWARD_LOG_FINAL_STATUS_VALUES.includes(someValue);
1386
+ * const isValid = EMAIL_FORWARD_LOG_SORT_FIELD_VALUES.includes(someValue);
1385
1387
  * ```
1386
1388
  *
1387
- * @see {@link EmailForwardLogFinalStatus} - The TypeScript type definition
1388
- * @see {@link EMAIL_FORWARD_LOG_FINAL_STATUS} - The object form of this enum
1389
+ * @see {@link EmailForwardLogSortField} - The TypeScript type definition
1390
+ * @see {@link EMAIL_FORWARD_LOG_SORT_FIELD} - The object form of this enum
1389
1391
  */
1390
- export const EMAIL_FORWARD_LOG_FINAL_STATUS_VALUES = [
1391
- 'QUEUED',
1392
- 'DELIVERED',
1393
- 'REFUSED',
1394
- 'SOFT-BOUNCE',
1395
- 'HARD-BOUNCE'
1396
- ] as const satisfies [string, ...string[]] | EmailForwardLogFinalStatus[];
1392
+ export const EMAIL_FORWARD_LOG_SORT_FIELD_VALUES = [
1393
+ 'log_id',
1394
+ 'sender_email',
1395
+ 'recipient_email',
1396
+ 'forward_email',
1397
+ 'final_status',
1398
+ 'created_on',
1399
+ 'synced_on'
1400
+ ] as const satisfies [string, ...string[]] | EmailForwardLogSortField[];
1397
1401
 
1398
1402
  /**
1399
- * EmailForwardLogSortField. Auto-generated enum for EmailForwardLogSortField
1403
+ * EmailForwardLogStatus. Auto-generated enum for EmailForwardLogStatus
1400
1404
  *
1401
1405
  * @remarks
1402
- * This constant provides both object and array forms for the EmailForwardLogSortField enum.
1406
+ * This constant provides both object and array forms for the EmailForwardLogStatus enum.
1403
1407
  * The object form allows key-value access, while the array form enables iteration and validation.
1404
1408
  *
1405
1409
  * @example
1406
1410
  * ```typescript
1407
1411
  * // Using the object form for key-value access
1408
- * const status = EMAIL_FORWARD_LOG_SORT_FIELD.SUCCESS;
1412
+ * const status = EMAIL_FORWARD_LOG_STATUS.SUCCESS;
1409
1413
  *
1410
1414
  * // Using the array form for iteration
1411
- * const allStatuses = EMAIL_FORWARD_LOG_SORT_FIELD_VALUES;
1415
+ * const allStatuses = EMAIL_FORWARD_LOG_STATUS_VALUES;
1412
1416
  * console.log(`Available statuses: ${allStatuses.join(', ')}`);
1413
1417
  * ```
1414
1418
  *
1415
- * @see {@link EmailForwardLogSortField} - The TypeScript type definition
1419
+ * @see {@link EmailForwardLogStatus} - The TypeScript type definition
1416
1420
  */
1417
- export const EMAIL_FORWARD_LOG_SORT_FIELD = {
1418
- LOG_ID: "log_id",
1419
- SENDER_EMAIL: "sender_email",
1420
- RECIPIENT_EMAIL: "recipient_email",
1421
- FORWARD_EMAIL: "forward_email",
1422
- FINAL_STATUS: "final_status",
1423
- CREATED_ON: "created_on",
1424
- SYNCED_ON: "synced_on",
1425
- } as const satisfies Record<string, EmailForwardLogSortField>;
1421
+ export const EMAIL_FORWARD_LOG_STATUS = {
1422
+ QUEUED: "QUEUED",
1423
+ DELIVERED: "DELIVERED",
1424
+ REFUSED: "REFUSED",
1425
+ SOFT_BOUNCE: "SOFT-BOUNCE",
1426
+ HARD_BOUNCE: "HARD-BOUNCE",
1427
+ } as const satisfies Record<string, EmailForwardLogStatus>;
1426
1428
 
1427
1429
  /**
1428
- * Array of all EmailForwardLogSortField enum values
1430
+ * Array of all EmailForwardLogStatus enum values
1429
1431
  *
1430
1432
  * @remarks
1431
- * This constant provides a array containing all valid EmailForwardLogSortField enum values.
1433
+ * This constant provides a array containing all valid EmailForwardLogStatus enum values.
1432
1434
  * Useful for iteration, validation, and generating dynamic UI components.
1433
1435
  *
1434
1436
  * @example
1435
1437
  * ```typescript
1436
1438
  * // Iterating through all values
1437
- * for (const value of EMAIL_FORWARD_LOG_SORT_FIELD_VALUES) {
1439
+ * for (const value of EMAIL_FORWARD_LOG_STATUS_VALUES) {
1438
1440
  * console.log(`Processing: ${value}`);
1439
1441
  * }
1440
1442
  *
1441
1443
  * // Validation
1442
- * const isValid = EMAIL_FORWARD_LOG_SORT_FIELD_VALUES.includes(someValue);
1444
+ * const isValid = EMAIL_FORWARD_LOG_STATUS_VALUES.includes(someValue);
1443
1445
  * ```
1444
1446
  *
1445
- * @see {@link EmailForwardLogSortField} - The TypeScript type definition
1446
- * @see {@link EMAIL_FORWARD_LOG_SORT_FIELD} - The object form of this enum
1447
+ * @see {@link EmailForwardLogStatus} - The TypeScript type definition
1448
+ * @see {@link EMAIL_FORWARD_LOG_STATUS} - The object form of this enum
1447
1449
  */
1448
- export const EMAIL_FORWARD_LOG_SORT_FIELD_VALUES = [
1449
- 'log_id',
1450
- 'sender_email',
1451
- 'recipient_email',
1452
- 'forward_email',
1453
- 'final_status',
1454
- 'created_on',
1455
- 'synced_on'
1456
- ] as const satisfies [string, ...string[]] | EmailForwardLogSortField[];
1450
+ export const EMAIL_FORWARD_LOG_STATUS_VALUES = [
1451
+ 'QUEUED',
1452
+ 'DELIVERED',
1453
+ 'REFUSED',
1454
+ 'SOFT-BOUNCE',
1455
+ 'HARD-BOUNCE'
1456
+ ] as const satisfies [string, ...string[]] | EmailForwardLogStatus[];
1457
1457
 
1458
1458
  /**
1459
1459
  * EmailForwardSortField. Auto-generated enum for EmailForwardSortField